{"version":3,"sources":["webpack:///./node_modules/@reactiveonline/frontend_shared_components/components/layout/footer/Footer_v1.js","webpack:///./node_modules/@reactiveonline/frontend_shared_components/components/layout/footer/FooterNavigationStyles.js","webpack:///./node_modules/@reactiveonline/frontend_shared_components/components/layout/shared/SocialIcons.js","webpack:///./node_modules/@reactiveonline/frontend_shared_components/components/layout/footer/FooterNavigation.js","webpack:///./node_modules/@reactiveonline/frontend_shared_components/components/layout/footer/Copyrights.js"],"names":["_typeof","o","Symbol","iterator","constructor","prototype","ownKeys","e","r","t","Object","keys","getOwnPropertySymbols","filter","getOwnPropertyDescriptor","enumerable","push","apply","_objectSpread","arguments","length","forEach","_defineProperty","getOwnPropertyDescriptors","defineProperties","defineProperty","obj","key","value","arg","input","hint","prim","toPrimitive","undefined","res","call","TypeError","String","Number","_toPrimitive","_toPropertyKey","configurable","writable","Footer","_ref","appProps","errorScreen","frontendStyles","createElement","Fragment","id","className","style","footer","backgroundColor","footerNavigation","background","borderColor","border","navigation","footer_menu","social","FooterNavigationStyles","borderStyle","borderTopWidth","borderBottomWidth","borderLeftWidth","borderRightWidth","paddingBottom","SocialIcons","map","pref","index","concat","href","url","target","_slicedToArray","arr","i","Array","isArray","_arrayWithHoles","l","n","u","a","f","next","done","return","_iterableToArrayLimit","minLen","_arrayLikeToArray","toString","slice","name","from","test","_unsupportedIterableToArray","_nonIterableRest","len","arr2","FooterNavigation","_useState2","mainNavHover","setMainNavHover","_useState4","subNavItemHover","setSubNavItemHover","currentPath","window","location","pathname","navigationItemHrefClass","item","children","recursivelyRenderChildren","navigationClass","child","childTranslation","translations","find","locale","currentLocale","link","currentChildNavigationLink","linkStyles","width","fontFamily","textStyles","fontSize","fontWeight","letterSpacing","lineHeight","textTransform","paddingTop","paddingRight","footerColumns","paddingLeft","color","colorHover","navWithLink","onMouseEnter","onMouseLeave","rel","openNewPage","dangerouslySetInnerHTML","__html","title","navNoLink","requiresLogin","currentUserEmail","renderedNavigation","items","itemTranslation","currentNavigationLink","Copyrights","footerVersion","general","copyright","tenantCreated","currentYear","storeName","all_rights_reserved","whiteLabel","powered_by","platformUrl","platformName","paymentMethods"],"mappings":"sGAAA,gHAASA,EAAQC,GAAgC,OAAOD,EAAU,mBAAqBE,QAAU,iBAAmBA,OAAOC,SAAW,SAAUF,GAAK,cAAcA,CAAG,EAAI,SAAUA,GAAK,OAAOA,GAAK,mBAAqBC,QAAUD,EAAEG,cAAgBF,QAAUD,IAAMC,OAAOG,UAAY,gBAAkBJ,CAAG,EAAGD,EAAQC,EAAI,CAC7T,SAASK,EAAQC,EAAGC,GAAK,IAAIC,EAAIC,OAAOC,KAAKJ,GAAI,GAAIG,OAAOE,sBAAuB,CAAE,IAAIX,EAAIS,OAAOE,sBAAsBL,GAAIC,IAAMP,EAAIA,EAAEY,QAAO,SAAUL,GAAK,OAAOE,OAAOI,yBAAyBP,EAAGC,GAAGO,UAAY,KAAKN,EAAEO,KAAKC,MAAMR,EAAGR,EAAI,CAAE,OAAOQ,CAAG,CAC9P,SAASS,EAAcX,GAAK,IAAK,IAAIC,EAAI,EAAGA,EAAIW,UAAUC,OAAQZ,IAAK,CAAE,IAAIC,EAAI,MAAQU,UAAUX,GAAKW,UAAUX,GAAK,CAAC,EAAGA,EAAI,EAAIF,EAAQI,OAAOD,IAAI,GAAIY,SAAQ,SAAUb,GAAKc,EAAgBf,EAAGC,EAAGC,EAAED,GAAK,IAAKE,OAAOa,0BAA4Bb,OAAOc,iBAAiBjB,EAAGG,OAAOa,0BAA0Bd,IAAMH,EAAQI,OAAOD,IAAIY,SAAQ,SAAUb,GAAKE,OAAOe,eAAelB,EAAGC,EAAGE,OAAOI,yBAAyBL,EAAGD,GAAK,GAAI,CAAE,OAAOD,CAAG,CACtb,SAASe,EAAgBI,EAAKC,EAAKC,GAA4L,OAAnLD,EAC5C,SAAwBE,GAAO,IAAIF,EACnC,SAAsBG,EAAOC,GAAQ,GAAuB,WAAnB/B,EAAQ8B,IAAiC,OAAVA,EAAgB,OAAOA,E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sBACVsG,GACL,C,mCCvJA,4EAEe,SAASI,EAAWjH,GACjC,IAAIC,EAAWD,EAAKC,SAClBE,EAAiBH,EAAKG,eACtBD,EAAcF,EAAKE,YACjB2E,EAAe5E,EAAS4E,aAC5B,OAAoB,IAAMzE,cAAc,IAAMC,SAAU,KAAmB,IAAMD,cAAc,MAAO,CACpGG,UAAW,iBACXC,MAAO,CACLE,gBAAiBP,EAAeQ,iBAAiBC,WACjDoF,MAAO7F,EAAeQ,iBAAiBqF,QAE3B,IAAM5F,cAAc,MAAO,CACzCG,UAAW,IAAIsB,QAAO5B,EAASiH,cAA8B,iCAAsC,MACrF,IAAM9G,cAAc,MAAO,CACzCG,UAAW,eACG,IAAMH,cAAc,MAAO,CACzCG,UAAW,cACG,IAAMH,cAAc,MAAO,CACzCI,MAAO,CACLwF,MAAO7F,EAAeQ,iBAAiBqF,QAExCnB,EAAasC,QAAQC,UAAW,kBAAmBnH,EAASoH,cAAe,MAAOpH,EAASqH,YAAa,QAASrH,EAASsH,UAAW,SAAU1C,EAAasC,QAAQK,sBAAuBvH,EAASwH,YAA2B,IAAMrH,cAAc,MAAO,CAC3PG,UAAW,WACXC,MAAO,CACLwF,MAAO7F,EAAeQ,iBAAiBqF,QAExC,QAAS,IAAInE,OAAOgD,EAAasC,QAAQO,WAAY,KAAM,QAAsB,IAAMtH,cAAc,IAAK,CAC3G0B,KAAM,WAAWD,OAAO5B,EAAS0H,aACjC3F,OAAQ,SACRqE,IAAK,8BACL7F,MAAO,CACLwF,MAAO7F,EAAeQ,iBAAiBsF,aAExChG,EAAS2H,kBAAmB1H,GAA4B,IAAME,cAAc,MAAO,CACpFG,UAAW,gBACG,IAAMH,cAAc,UAAc,CAChDyH,eAAgB5H,EAAS4H,oBAE7B,C","file":"js/9-1f0aae2cbe5207e1e749.chunk.js","sourcesContent":["function _typeof(o) { \"@babel/helpers - typeof\"; return _typeof = \"function\" == typeof Symbol && \"symbol\" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && \"function\" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? \"symbol\" : typeof o; }, _typeof(o); }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }\nfunction _toPropertyKey(arg) { var key = _toPrimitive(arg, \"string\"); return _typeof(key) === \"symbol\" ? key : String(key); }\nfunction _toPrimitive(input, hint) { if (_typeof(input) !== \"object\" || input === null) return input; var prim = input[Symbol.toPrimitive]; if (prim !== undefined) { var res = prim.call(input, hint || \"default\"); if (_typeof(res) !== \"object\") return res; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (hint === \"string\" ? String : Number)(input); }\nimport React from 'react';\nimport SocialIcons from '../shared/SocialIcons';\nimport FooterNavigation from './FooterNavigation';\nimport { FooterNavigationStyles } from './FooterNavigationStyles';\nimport Copyrights from './Copyrights';\nexport default function Footer(_ref) {\n var appProps = _ref.appProps,\n errorScreen = _ref.errorScreen;\n var frontendStyles = appProps.frontendStyles;\n return /*#__PURE__*/React.createElement(React.Fragment, null, !errorScreen && /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n id: \"above_footer\"\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"footer\",\n style: _objectSpread(_objectSpread({}, FooterNavigationStyles.footer), {\n backgroundColor: frontendStyles.footerNavigation.background,\n borderColor: frontendStyles.footerNavigation.border\n })\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"main-container\"\n }, appProps.navigation.footer_menu && /*#__PURE__*/React.createElement(FooterNavigation, {\n appProps: appProps,\n navigation: appProps.navigation.footer_menu\n }), appProps.social.length > 0 && /*#__PURE__*/React.createElement(SocialIcons, {\n social: appProps.social\n }))), /*#__PURE__*/React.createElement(\"div\", {\n id: \"above_copyright_footer\"\n })), /*#__PURE__*/React.createElement(Copyrights, {\n appProps: appProps,\n frontendStyles: appProps.frontendStyles,\n errorScreen: errorScreen\n }), !errorScreen && /*#__PURE__*/React.createElement(\"div\", {\n id: \"below_footer\"\n }));\n}","export var FooterNavigationStyles = {\n footer: {\n borderStyle: 'solid',\n borderTopWidth: 3,\n borderBottomWidth: 0,\n borderLeftWidth: 0,\n borderRightWidth: 0,\n paddingBottom: 40\n }\n};","import React from 'react';\nexport default function SocialIcons(_ref) {\n var social = _ref.social;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: \"social-icons-wrapper footer\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"social-icons\"\n }, social.map(function (pref, index) {\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"social-item\",\n key: index\n }, /*#__PURE__*/React.createElement(\"a\", {\n className: \"fa-brands fa-\".concat(pref.social == 'twitter' ? 'x-twitter' : pref.social),\n href: pref.url,\n target: \"_blank\"\n }), /*#__PURE__*/React.createElement(\"div\", {\n className: \"social-icon-text\"\n }, pref.social));\n }))));\n}","function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }\nfunction _nonIterableRest() { throw new TypeError(\"Invalid attempt to destructure non-iterable instance.\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.\"); }\nfunction _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === \"string\") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === \"Object\" && o.constructor) n = o.constructor.name; if (n === \"Map\" || n === \"Set\") return Array.from(o); if (n === \"Arguments\" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }\nfunction _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }\nfunction _iterableToArrayLimit(r, l) { var t = null == r ? null : \"undefined\" != typeof Symbol && r[Symbol.iterator] || r[\"@@iterator\"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }\nfunction _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }\nimport React, { useState, useEffect } from 'react';\nimport { FooterNavigationStyles } from './FooterNavigationStyles';\nimport { prefixLink } from '../../../utils';\nexport default function FooterNavigation(_ref) {\n var appProps = _ref.appProps,\n navigation = _ref.navigation;\n var _useState = useState(null),\n _useState2 = _slicedToArray(_useState, 2),\n mainNavHover = _useState2[0],\n setMainNavHover = _useState2[1];\n var _useState3 = useState(null),\n _useState4 = _slicedToArray(_useState3, 2),\n subNavItemHover = _useState4[0],\n setSubNavItemHover = _useState4[1];\n var frontendStyles = appProps.frontendStyles;\n var currentPath = window.location.pathname;\n function navigationItemHrefClass(item) {\n return item.children.length > 0 ? 'has_submenu' : '';\n }\n function recursivelyRenderChildren(item, navigationClass) {\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: \"flex-box flex-column \".concat(navigationClass === 'child-submenu' ? '' : navigationClass, \" \")\n }, /*#__PURE__*/React.createElement(React.Fragment, null, item.children.map(function (child, index) {\n var childTranslation = child.translations.find(function (t) {\n return t.locale === appProps.currentLocale;\n });\n var link = prefixLink(child, appProps);\n var currentChildNavigationLink = '/' + appProps.currentLocale + childTranslation.link;\n var linkStyles = {\n width: '100%',\n fontFamily: frontendStyles.textStyles.fontFamily,\n fontSize: frontendStyles.textStyles.fontSize,\n fontWeight: frontendStyles.textStyles.fontWeight,\n letterSpacing: frontendStyles.textStyles.letterSpacing,\n lineHeight: frontendStyles.textStyles.lineHeight,\n textTransform: frontendStyles.textStyles.textTransform,\n paddingTop: frontendStyles.footerNavigation.paddingTop,\n paddingRight: \"calc(4% / \".concat(frontendStyles.footerNavigation.footerColumns, \")\"),\n paddingBottom: frontendStyles.footerNavigation.footerColumns,\n paddingLeft: \"calc(4% / \".concat(frontendStyles.footerNavigation.footerColumns, \")\"),\n color: currentPath === currentChildNavigationLink || subNavItemHover === child.id ? frontendStyles.footerNavigation.colorHover : frontendStyles.footerNavigation.color\n };\n var navWithLink = /*#__PURE__*/React.createElement(\"a\", {\n className: 'sub-nav-item',\n onMouseEnter: function onMouseEnter() {\n setSubNavItemHover(child.id);\n },\n onMouseLeave: function onMouseLeave() {\n setSubNavItemHover(null);\n },\n style: linkStyles,\n href: link,\n rel: \"nofollow noindex noreferrer\",\n target: child.openNewPage ? '_blank' : '_self',\n dangerouslySetInnerHTML: {\n __html: childTranslation.title\n }\n });\n var navNoLink = /*#__PURE__*/React.createElement(\"div\", {\n className: \"pointer sub-nav-item\",\n onMouseEnter: function onMouseEnter() {\n setSubNavItemHover(child.id);\n },\n onMouseLeave: function onMouseLeave() {\n setSubNavItemHover(null);\n },\n style: linkStyles,\n dangerouslySetInnerHTML: {\n __html: childTranslation.title\n }\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n key: index,\n className: \"flex-box flex-column\"\n }, !child.requiresLogin ? /*#__PURE__*/React.createElement(React.Fragment, null, \" \", link ? navWithLink : navNoLink, \" \") : /*#__PURE__*/React.createElement(React.Fragment, null, appProps.currentUserEmail && /*#__PURE__*/React.createElement(React.Fragment, null, \" \", link ? navWithLink : navNoLink, \" \")), child.children.length > 0 ? recursivelyRenderChildren(child, 'child-submenu') : null);\n }))));\n }\n var renderedNavigation = navigation && navigation.items.map(function (item, index) {\n var link = prefixLink(item, appProps);\n if (link !== null) {\n var itemTranslation = item.translations.find(function (t) {\n return t.locale === appProps.currentLocale;\n });\n var currentNavigationLink = '/' + appProps.currentLocale + itemTranslation.link;\n var linkStyles = {\n fontFamily: frontendStyles.textStyles.fontFamily,\n fontSize: frontendStyles.textStyles.fontSize,\n fontWeight: frontendStyles.textStyles.fontWeight,\n letterSpacing: frontendStyles.textStyles.letterSpacing,\n lineHeight: frontendStyles.textStyles.lineHeight,\n textTransform: frontendStyles.textStyles.textTransform,\n width: frontendStyles.footerNavigation.footerColumns,\n paddingTop: frontendStyles.footerNavigation.paddingTop,\n paddingRight: \"calc(2% / \".concat(frontendStyles.footerNavigation.footerColumns, \")\"),\n paddingBottom: frontendStyles.footerNavigation.footerColumns,\n paddingLeft: \"calc(2% / \".concat(frontendStyles.footerNavigation.footerColumns, \")\"),\n color: currentPath === currentNavigationLink || mainNavHover === item.id ? frontendStyles.footerNavigation.colorHover : frontendStyles.footerNavigation.color\n };\n var navWithLink = /*#__PURE__*/React.createElement(\"a\", {\n className: \"flex-box items-center \".concat(navigationItemHrefClass(item), \" \").concat(mainNavHover ? 'active' : '', \" \"),\n onMouseEnter: function onMouseEnter() {\n setMainNavHover(item.id);\n },\n onMouseLeave: function onMouseLeave() {\n setMainNavHover(null);\n },\n style: linkStyles,\n href: link,\n rel: \"nofollow noindex noreferrer\",\n target: item.openNewPage ? '_blank' : '_self',\n dangerouslySetInnerHTML: {\n __html: itemTranslation.title\n }\n });\n var navNoLink = /*#__PURE__*/React.createElement(\"div\", {\n className: \"flex-box items-center pointer \".concat(navigationItemHrefClass(item), \" \"),\n onMouseEnter: function onMouseEnter() {\n setMainNavHover(item.id);\n },\n onMouseLeave: function onMouseLeave() {\n setMainNavHover(null);\n },\n style: linkStyles,\n dangerouslySetInnerHTML: {\n __html: itemTranslation.title\n }\n });\n return /*#__PURE__*/React.createElement(React.Fragment, {\n key: index\n }, item.children.length >= 0 && /*#__PURE__*/React.createElement(React.Fragment, null, !item.requiresLogin ? /*#__PURE__*/React.createElement(\"div\", {\n className: \"navigation-item flex-box flex-column\",\n key: index\n }, itemTranslation && /*#__PURE__*/React.createElement(React.Fragment, null, \" \", link ? navWithLink : navNoLink, \" \"), recursivelyRenderChildren(item, 'submenu')) : /*#__PURE__*/React.createElement(React.Fragment, null, appProps.currentUserEmail && /*#__PURE__*/React.createElement(\"div\", {\n className: \"navigation-item flex-box flex-column\",\n key: index\n }, itemTranslation && /*#__PURE__*/React.createElement(React.Fragment, null, \" \", link ? navWithLink : navNoLink, \" \"), recursivelyRenderChildren(item, 'submenu')))));\n } else {\n return null;\n }\n });\n return /*#__PURE__*/React.createElement(\"div\", {\n className: \"footer-navigation flex-1\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"flex-box flex-wrap\"\n }, renderedNavigation));\n}","import React from 'react';\nimport PaymentIcons from '../payment_processors/PaymentIcons';\nexport default function Copyrights(_ref) {\n var appProps = _ref.appProps,\n frontendStyles = _ref.frontendStyles,\n errorScreen = _ref.errorScreen;\n var translations = appProps.translations;\n return /*#__PURE__*/React.createElement(React.Fragment, null, /*#__PURE__*/React.createElement(\"div\", {\n className: \"bottom-section\",\n style: {\n backgroundColor: frontendStyles.footerNavigation.background,\n color: frontendStyles.footerNavigation.color\n }\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \" \".concat(appProps.footerVersion == '4' || '5' ? 'bottom-section main-container' : '', \" \")\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"left-column\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n className: \"copyrights\"\n }, /*#__PURE__*/React.createElement(\"div\", {\n style: {\n color: frontendStyles.footerNavigation.color\n }\n }, translations.general.copyright, \" \\xA0 \\xA9 \\xA0\", appProps.tenantCreated, \" - \", appProps.currentYear, \" \\xA0\", appProps.storeName, \". \\xA0\", translations.general.all_rights_reserved), !appProps.whiteLabel && /*#__PURE__*/React.createElement(\"div\", {\n className: \"branding\",\n style: {\n color: frontendStyles.footerNavigation.color\n }\n }, \"\\xA0 \", \" \".concat(translations.general.powered_by, \" \"), \" \\xA0\", /*#__PURE__*/React.createElement(\"a\", {\n href: \"https://\".concat(appProps.platformUrl),\n target: \"_blank\",\n rel: \"nofollow noindex noreferrer\",\n style: {\n color: frontendStyles.footerNavigation.colorHover\n }\n }, appProps.platformName)))), !errorScreen && /*#__PURE__*/React.createElement(\"div\", {\n className: \"right-column\"\n }, /*#__PURE__*/React.createElement(PaymentIcons, {\n paymentMethods: appProps.paymentMethods\n })))));\n}"],"sourceRoot":""}