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AAOsC,GAMxFkB,CAAKxD,EAAOiD,KAGjBpB,EAAmB4B,UAAY,CAC7B1B,SAAUvB,EAAWV,QAAQ4D,OAC7BzB,MAAOzB,EAAWV,QAAQ6D,OAAOC,WACjC1B,aAAc1B,EAAWV,QAAQ6D,OACjCxB,UAAW3B,EAAWV,QAAQ4D,OAC9BtB,QAAS5B,EAAWV,QAAQ+D,OAC5BxB,UAAW7B,EAAWV,QAAQ6D,OAC9BrB,KAAM9B,EAAWV,QAAQ4D,OACzBnB,MAAO/B,EAAWV,QAAQ4D,QAE5B,IAAI/D,EAAWkC,EACfpC,EAAAA,QAAkBE","sources":["../node_modules/@micado-digital/react-singleimage/ReactSingleImage01/ReactSingleImage01.styles.js","../node_modules/@micado-digital/react-singleimage/ReactSingleImage01/index.js"],"sourcesContent":["\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _makeStyles = _interopRequireDefault(require(\"@material-ui/styles/makeStyles\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nvar styles = (0, _makeStyles.default)(function (theme) {\n return {\n image: {\n \"& img\": {\n width: \"100%\",\n height: \"100%\"\n }\n },\n content: {\n padding: theme.spacing(1, 2)\n }\n };\n});\nvar _default = styles;\nexports.default = _default;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.default = void 0;\n\nvar _react = _interopRequireDefault(require(\"react\"));\n\nvar _propTypes = _interopRequireDefault(require(\"prop-types\"));\n\nvar _clsx = _interopRequireDefault(require(\"clsx\"));\n\nvar _component = _interopRequireDefault(require(\"@loadable/component\"));\n\nvar _Box = _interopRequireDefault(require(\"@material-ui/core/Box\"));\n\nvar _Typography = _interopRequireDefault(require(\"@material-ui/core/Typography\"));\n\nvar _ReactSingleImage = _interopRequireDefault(require(\"./ReactSingleImage01.styles\"));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }\n\nfunction _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }\n\nvar ReactHTMLPicture = (0, _component.default)(function () {\n return import(\"@micado-digital/react-htmlpicture/ReactHTMLPicture\");\n});\nvar ReactLink = (0, _component.default)(function () {\n return import(\"@micado-digital/react-link/ReactLink\");\n});\n\nvar ReactSingleImage01 = function ReactSingleImage01(_ref) {\n var addition = _ref.addition,\n alt = _ref.alt,\n media = _ref.media,\n mediaFormats = _ref.mediaFormats,\n mediaPath = _ref.mediaPath,\n option2 = _ref.option2,\n reference = _ref.reference,\n text = _ref.text,\n title = _ref.title;\n var css = (0, _ReactSingleImage.default)();\n var htmlTitle = title ? /*#__PURE__*/_react.default.createElement(_Typography.default, {\n className: \"mco-singleimage-01__content-title\",\n component: \"p\",\n dangerouslySetInnerHTML: {\n __html: title\n },\n variant: \"subtitle2\"\n }) : \"\";\n var htmlText = text ? /*#__PURE__*/_react.default.createElement(_Typography.default, {\n className: \"mco-singleimage-01__content-text\",\n component: \"div\",\n dangerouslySetInnerHTML: {\n __html: text\n },\n variant: \"subtitle1\"\n }) : \"\";\n var textBox = htmlTitle || htmlText ? /*#__PURE__*/_react.default.createElement(\"div\", {\n className: (0, _clsx.default)(\"mco-singleimage-01__content\", css.content)\n }, htmlTitle, htmlText) : \"\";\n\n var image = /*#__PURE__*/_react.default.createElement(_Box.default, {\n className: (0, _clsx.default)(\"mco-singleimage-01__image\", css.image)\n }, /*#__PURE__*/_react.default.createElement(ReactHTMLPicture, _extends({\n alt: alt,\n media: media,\n path: mediaPath,\n webpFallback: true\n }, mediaFormats)));\n\n var wrap = function wrap(image, text) {\n if (addition) {\n return /*#__PURE__*/_react.default.createElement(ReactLink, {\n to: addition,\n target: option2 === 1 ? \"_blank\" : \"_self\",\n rel: \"noreferrer\"\n }, image, text);\n } else if (reference && reference !== null && reference !== void 0 && reference.pageName) {\n return /*#__PURE__*/_react.default.createElement(ReactLink, {\n to: reference.pageName\n }, image, text);\n } else {\n return /*#__PURE__*/_react.default.createElement(_react.default.Fragment, null, image, text);\n }\n };\n\n return /*#__PURE__*/_react.default.createElement(_Box.default, {\n className: \"mco-singleimage-01\"\n }, wrap(image, textBox));\n};\n\nReactSingleImage01.propTypes = {\n addition: _propTypes.default.string,\n media: _propTypes.default.object.isRequired,\n mediaFormats: _propTypes.default.object,\n mediaPath: _propTypes.default.string,\n option2: _propTypes.default.number,\n reference: _propTypes.default.object,\n text: _propTypes.default.string,\n title: _propTypes.default.string\n};\nvar _default = ReactSingleImage01;\nexports.default = _default;"],"names":["obj","Object","defineProperty","exports","value","_default","require","__esModule","default","theme","image","width","height","content","padding","spacing","_react","_interopRequireDefault","_propTypes","_clsx","_component","_Box","_Typography","_ReactSingleImage","_extends","assign","target","i","arguments","length","source","key","prototype","hasOwnProperty","call","apply","this","ReactHTMLPicture","ReactLink","ReactSingleImage01","_ref","addition","alt","media","mediaFormats","mediaPath","option2","reference","text","title","css","htmlTitle","createElement","className","component","dangerouslySetInnerHTML","__html","variant","htmlText","textBox","path","webpFallback","to","rel","pageName","Fragment","wrap","propTypes","string","object","isRequired","number"],"sourceRoot":""}