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AsBqN,MACxD,EAAIhR,EAAmBwU,mBAAmBlR,EAC5C,C,+BC7BFrJ,OAAOC,eAAeC,EAAS,aAAc,CAC3CC,OAAO,IAETD,EAAQuX,eAAiBvX,EAAQ0X,YAAc1X,EAAQ+H,0BAA4B/H,EAAQwX,YAAcxX,EAAQyX,YAAczX,EAAQ6Y,sBAAmB,EAC1J,IAAI3U,EAAa,EAAQ,OACrB6V,EAAW,EAAQ,OAIvB/Z,EAAQ6Y,iBADiB,KAAM,EAAIkB,EAASL,WAAWxV,EAAW0L,wBAGlE5P,EAAQyX,YADY,IAAMhO,OAAOxF,SAASqW,IAAIC,OAK9Cva,EAAQwX,YAHY,CAAC3Y,EAAQ2b,IAE7B/Q,OAAOxF,SAASwW,KAAK5b,EAAQ2b,GAQ7Bxa,EAAQ+H,0BAN0B,MAC3B,EAAIgS,EAASL,WAAWxV,EAAW2L,yBAGjC,IAAIgK,OAAO,eAAe3V,EAAW8L,mCAAmCV,MAAK,EAAIyK,EAASL,WAAWxV,EAAW2L,yBAA2B,IAIpJ7P,EAAQ0X,YADY,IAAMjO,OAAOxF,SAASqW,IAAIjY,OAG9CrC,EAAQuX,eADe,IAAM9N,OAAOxF,SAASqW,IAAII,S","sources":["webpack://orinovageskincareadvisorapp/./src/App.tsx","webpack://orinovageskincareadvisorapp/./src/logger.ts","webpack://orinovageskincareadvisorapp/./src/AppRender.tsx","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Dialog/Dialog.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Dialog/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Dialog/types.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Loading/Loading.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Loading/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Loading/types.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Restore/Restore.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Restore/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Restore/styles.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Restore/types.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Revieve/Revieve.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Revieve/constants.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Revieve/hooks.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Revieve/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Revieve/types.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Revieve/utils.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Widget/Widget.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Widget/constants.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Widget/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Widget/styles.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/Widget/utils.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/components/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/constants-generated.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/constants/app.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/constants/defaultTranslations.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/constants/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/containers/ApiProvider.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/containers/NovageSkincareAdvisor.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/containers/NovageSkincareAdvisorController.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/containers/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/contexts/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/contexts/novageSkincareAdvisorContext.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/hooks/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/hooks/useGetNovageSkincareConfiguration.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/hooks/useLocale.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/hooks/useOnHrefClick.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/hooks/useOpenQueryParam.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/hooks/useRedirectToPdp.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/hooks/useRevieveAdvisor.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/hooks/useRevieveScript.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/hooks/useSessionStorage.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/hooks/useTranslations.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/logger.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/models/Revieve.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/models/TranslationKey.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/models/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/utils/cookies.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/utils/index.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/utils/isValidNovageSkincareConfiguration.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/utils/openQueryParam.js","webpack://orinovageskincareadvisorapp/../../packages/novage-skincare-advisor/dist/cjs/utils/revieve.js"],"sourcesContent":["import { ServiceUrlsProvider } from '@ori/configuration-manager';\nimport { EnvironmentProvider } from '@ori/environment';\nimport { TranslationsProvider } from '@ori/i18n';\nimport { NovageSkincareAdvisorController } from '@ori/novage-skincare-advisor';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const App = ({\n currentLanguage,\n tenant,\n staticApiUrl,\n graphqlUrl,\n globalApiUrl\n}) => /*#__PURE__*/_jsx(ServiceUrlsProvider, {\n serviceUrls: {\n staticApiUrl,\n graphQlUrl: graphqlUrl,\n globalApiUrl\n },\n children: /*#__PURE__*/_jsx(EnvironmentProvider, {\n tenant: tenant,\n children: /*#__PURE__*/_jsx(TranslationsProvider, {\n defaultTranslationsWithNamespaces: {},\n language: currentLanguage,\n translationsWithNamespaces: {},\n children: /*#__PURE__*/_jsx(NovageSkincareAdvisorController, {})\n })\n })\n});","import { Logger } from '@ori/logger';\nimport { PACKAGE_NAME, TEAM_NAME } from './constants-generated';\nexport const mainLogger = new Logger(PACKAGE_NAME, {\n teamName: TEAM_NAME\n});","import { ThemeProvider } from '@ori-ui/mui';\nimport { UniversalTokenProvider, doDevelopmentLogin } from '@ori/auth';\nimport { parseClientAppConfig } from '@ori/client-app-config';\nimport { ApplicationInsights, ErrorBoundary, getClientApplicationInsightsConfig } from '@ori/logger';\nimport { createRoot } from 'react-dom/client';\nimport { App } from './App';\nimport { EMOTION_CACHE_KEY } from './constants-generated';\nimport { mainLogger } from './logger';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst localLogger = mainLogger.createChild('appRender');\n\n/**\n * React app renderer that is used when app is used as a standalone app\n */\nexport const render = async rootElement => {\n const {\n config = ''\n } = rootElement.dataset;\n const {\n customerId,\n identityUrl,\n ...appConfig\n } = parseClientAppConfig(config, ['tenant', 'staticApiUrl']);\n const {\n tenant\n } = appConfig;\n\n // Initialize Application Insights in production\n if (process.env.NODE_ENV === 'production') {\n ApplicationInsights.initialize(getClientApplicationInsightsConfig());\n }\n // When using Requestly we do not want to load token\n else if (process.env.REACT_APP_USE_REQUESTLY === '1') {\n localLogger.debug('USING REQUESTLY');\n }\n // Get token for local development\n else if (process.env.REACT_APP_ANONYMOUS_MODE !== '1') {\n if (identityUrl) {\n await doDevelopmentLogin({\n identityUrl,\n tenant\n });\n } else {\n localLogger.error(new Error('Missing Identity URL!', {\n cause: identityUrl\n }));\n }\n }\n createRoot(rootElement).render(/*#__PURE__*/_jsx(ErrorBoundary, {\n logger: localLogger,\n children: /*#__PURE__*/_jsx(UniversalTokenProvider, {\n customerId: customerId,\n initialToken: \"\",\n children: /*#__PURE__*/_jsx(ThemeProvider, {\n enableCacheProvider: true,\n cacheKey: EMOTION_CACHE_KEY,\n children: /*#__PURE__*/_jsx(App, {\n ...appConfig\n })\n })\n })\n }));\n return true;\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Dialog = void 0;\nvar _components = require(\"@ori-ui/components\");\nvar _mui = require(\"@ori-ui/mui\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst Dialog = ({\n children,\n header,\n hideCloseButton,\n onClose,\n open\n}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Dialog, {\n hideCloseButton: hideCloseButton,\n open: open,\n size: \"small\",\n onClose: onClose,\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_mui.Box, {\n alignItems: \"center\",\n display: \"flex\",\n flexDirection: \"column\",\n height: \"100%\",\n justifyContent: \"center\",\n textAlign: \"center\",\n width: \"100%\",\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Typography, {\n fontSize: 22,\n fontWeight: \"bold\",\n pb: 8,\n pt: 10,\n px: 10,\n variant: \"subtitle1\",\n children: header\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Box, {\n pb: 8,\n children: children\n })]\n })\n});\nexports.Dialog = Dialog;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Dialog = require(\"./Dialog\");\nObject.keys(_Dialog).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Dialog[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Dialog[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Loading = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _hooks = require(\"../../hooks\");\nvar _Dialog = require(\"../Dialog\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst Loading = ({\n show = false\n}) => {\n const {\n translations\n } = (0, _hooks.useTranslations)();\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dialog.Dialog, {\n hideCloseButton: true,\n open: show,\n header: translations.FindingProduct,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.CircularProgress, {\n color: \"primary\"\n })\n });\n};\nexports.Loading = Loading;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Loading = require(\"./Loading\");\nObject.keys(_Loading).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Loading[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Loading[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Restore = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nvar _react = require(\"react\");\nvar _hooks = require(\"../../hooks\");\nvar _Dialog = require(\"../Dialog\");\nvar _styles = require(\"./styles\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst Restore = ({\n onClose,\n onContinue,\n onReset,\n show = false\n}) => {\n const [open, setOpen] = (0, _react.useState)(show);\n const {\n translations\n } = (0, _hooks.useTranslations)();\n const handleOnClose = (0, _react.useCallback)(() => {\n setOpen(false);\n onClose();\n }, [onClose]);\n (0, _react.useEffect)(() => {\n setOpen(show);\n }, [show]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_Dialog.Dialog, {\n header: translations.Recommendation,\n open: open,\n onClose: handleOnClose,\n children: /*#__PURE__*/(0, _jsxRuntime.jsxs)(_mui.Box, {\n display: \"flex\",\n flexDirection: _styles.boxFlexDirection,\n gap: 4,\n mx: 8,\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Button, {\n color: \"secondary\",\n variant: \"outlined\",\n size: \"large\",\n onClick: onReset,\n children: translations.GetNewRecommendation\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_mui.Button, {\n color: \"primary\",\n variant: \"contained\",\n size: \"large\",\n onClick: onContinue,\n children: translations.SeeRecommendedProduct\n })]\n })\n });\n};\nexports.Restore = Restore;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Restore = require(\"./Restore\");\nObject.keys(_Restore).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Restore[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Restore[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.boxFlexDirection = void 0;\nconst boxFlexDirection = exports.boxFlexDirection = {\n xs: 'column',\n sm: 'row'\n};","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Revieve = void 0;\nvar _constants = require(\"../../constants\");\nvar _hooks = require(\"../../hooks\");\nvar _Loading = require(\"../Loading\");\nvar _Restore = require(\"../Restore\");\nvar _constants2 = require(\"./constants\");\nvar _hooks2 = require(\"./hooks\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst Revieve = props => {\n const {\n close,\n continueToPdp,\n initConfig,\n onInit,\n open,\n reset,\n state\n } = (0, _hooks2.useRevieve)(props);\n (0, _hooks.useRevieveScript)({\n initConfig,\n onInit\n });\n (0, _hooks.useOnHrefClick)({\n href: _constants.OPEN_HREF_ATTRIBUTE,\n onClick: open\n });\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_jsxRuntime.Fragment, {\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_Loading.Loading, {\n show: state === _constants2.STATE_LOADING\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_Restore.Restore, {\n show: state === _constants2.STATE_RESTORED,\n onClose: close,\n onContinue: continueToPdp,\n onReset: reset\n })]\n });\n};\nexports.Revieve = Revieve;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WITH_SELFIE = exports.WITHOUT_SELFIE = exports.USER_ACTION_DIAGNOSIS_STARTED = exports.USER_ACTION_DIAGNOSIS_COMPLETED = exports.TRACKING_TITLE_SELFIE = exports.TRACKING_TITLE_CONDITIONS = exports.TRACKING_CATEGORY_PRODUCT_RECOMMENDATION = exports.STATE_RESTORED = exports.STATE_LOADING = exports.STATE_DEFAULT = void 0;\nconst STATE_DEFAULT = exports.STATE_DEFAULT = 'state:default';\nconst STATE_LOADING = exports.STATE_LOADING = 'state:loading';\nconst STATE_RESTORED = exports.STATE_RESTORED = 'state:restored';\nconst TRACKING_TITLE_CONDITIONS = exports.TRACKING_TITLE_CONDITIONS = 'Conditions';\nconst TRACKING_TITLE_SELFIE = exports.TRACKING_TITLE_SELFIE = 'Selfie';\nconst TRACKING_CATEGORY_PRODUCT_RECOMMENDATION = exports.TRACKING_CATEGORY_PRODUCT_RECOMMENDATION = 'Product Recommendation';\nconst USER_ACTION_DIAGNOSIS_STARTED = exports.USER_ACTION_DIAGNOSIS_STARTED = ['skin_advisor', 'Skin diagnosis started'];\nconst USER_ACTION_DIAGNOSIS_COMPLETED = exports.USER_ACTION_DIAGNOSIS_COMPLETED = ['skin_advisor', 'Skin diagnosis completed'];\nconst WITH_SELFIE = exports.WITH_SELFIE = 'With selfie';\nconst WITHOUT_SELFIE = exports.WITHOUT_SELFIE = 'Without selfie';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useRevieve = void 0;\nvar _favoritesHeart = require(\"@ori/favorites-heart\");\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _react = require(\"react\");\nvar _constants = require(\"../../constants\");\nvar _hooks = require(\"../../hooks\");\nvar _models = require(\"../../models\");\nvar _utils = require(\"../../utils\");\nvar _constants2 = require(\"./constants\");\nvar _utils2 = require(\"./utils\");\nconst useRevieve = ({\n novageSkincareConfiguration,\n openQueryParam\n}) => {\n const {\n environment,\n partnerId,\n recommendationPageEnabled\n } = novageSkincareConfiguration;\n const canChangeOpenQueryParam = openQueryParam !== _constants.OPEN_QUERY_PARAM_ALWAYS;\n const {\n onFavoritesClick\n } = (0, _favoritesHeart.useFavorites)();\n const redirectToPdp = (0, _hooks.useRedirectToPdp)();\n const locale = (0, _hooks.useLocale)();\n const [state, setState] = (0, _react.useState)(_constants2.STATE_DEFAULT);\n const {\n close,\n open,\n reset\n } = (0, _hooks.useRevieveAdvisor)({\n novageSkincareConfiguration\n });\n const {\n restoreProduct,\n storeProduct\n } = (0, _hooks.useSessionStorage)({\n novageSkincareConfiguration\n });\n const clearOpenQueryParam = (0, _react.useCallback)(() => {\n if (canChangeOpenQueryParam) {\n (0, _utils.removeOpenQueryParam)();\n }\n }, [canChangeOpenQueryParam]);\n const setupOpenQueryParam = (0, _react.useCallback)(() => {\n if (canChangeOpenQueryParam) {\n (0, _utils.setOpenQueryParam)();\n }\n }, [canChangeOpenQueryParam]);\n const continueToPdp = (0, _react.useCallback)(() => {\n const product = restoreProduct();\n if (product) {\n redirectToPdp({\n product\n });\n }\n }, [redirectToPdp, restoreProduct]);\n const handleClose = (0, _react.useCallback)(() => {\n setState(_constants2.STATE_DEFAULT);\n clearOpenQueryParam();\n }, [clearOpenQueryParam]);\n const handleOpen = (0, _react.useCallback)(() => {\n setupOpenQueryParam();\n if (restoreProduct()) {\n setState(_constants2.STATE_RESTORED);\n } else {\n open();\n }\n }, [setupOpenQueryParam, open, restoreProduct]);\n const toggleFavorite = (0, _react.useCallback)(({\n id\n }) => {\n onFavoritesClick({\n productCode: id\n });\n }, [onFavoritesClick]);\n const initConfig = (0, _react.useMemo)(() => {\n const disableAnalytics = !(0, _utils.isAnalyticsConsentGranted)();\n return {\n env: environment,\n locale,\n // eslint-disable-next-line @typescript-eslint/naming-convention -- 3rd party naming\n partner_id: partnerId,\n analytics: {\n disableUsageAnalytics: disableAnalytics,\n disableProductAnalytics: disableAnalytics,\n disableErrorReporting: disableAnalytics\n },\n onClose: handleClose,\n onAddToCart: data => {\n if (Array.isArray(data)) {\n data.forEach(_utils2.addToBasket);\n } else {\n (0, _utils2.addToBasket)(data);\n }\n },\n onAddToFavorites: toggleFavorite,\n onClickProduct: (product, source) => {\n if (source === _models.ClickProductSource.productList || source === _models.ClickProductSource.expandedProductCard) {\n setupOpenQueryParam();\n storeProduct(product);\n redirectToPdp({\n product,\n newTab: true\n });\n }\n },\n onCheckout: () => {\n const url = (0, _presentationUtils.getCurrentUrl)();\n url.pathname = '/shopping/basket';\n url.searchParams.delete(_constants.OPEN_QUERY_PARAM);\n window.location.assign(url);\n },\n onDisplayProducts: (historyId, products) => {\n if (recommendationPageEnabled) {\n return;\n }\n const product = products[0];\n if (product) {\n setupOpenQueryParam();\n storeProduct(product);\n redirectToPdp({\n product,\n delay: 2000\n });\n }\n },\n onTrackingEvent: _utils2.sendUserEvents,\n onFetchProducts: () => {\n if (recommendationPageEnabled) {\n return;\n }\n close();\n setState(_constants2.STATE_LOADING);\n },\n onRemoveFromFavorites: toggleFavorite\n };\n }, [close, environment, handleClose, locale, partnerId, recommendationPageEnabled, redirectToPdp, setupOpenQueryParam, storeProduct, toggleFavorite]);\n const onInit = (0, _react.useCallback)(() => {\n if (openQueryParam) {\n handleOpen();\n }\n }, [handleOpen, openQueryParam]);\n const handleReset = (0, _react.useCallback)(() => {\n setState(_constants2.STATE_DEFAULT);\n reset(initConfig);\n handleOpen();\n }, [handleOpen, initConfig, reset]);\n return (0, _react.useMemo)(() => ({\n close: handleClose,\n continueToPdp,\n initConfig,\n onInit,\n open: handleOpen,\n reset: handleReset,\n state\n }), [continueToPdp, handleClose, handleOpen, handleReset, initConfig, onInit, state]);\n};\nexports.useRevieve = useRevieve;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Revieve = require(\"./Revieve\");\nObject.keys(_Revieve).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Revieve[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Revieve[key];\n }\n });\n});\nvar _types = require(\"./types\");\nObject.keys(_types).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _types[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _types[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.sendUserEvents = exports.addToBasket = void 0;\nvar AddToBasketEvent = _interopRequireWildcard(require(\"@ori-events/add-to-basket\"));\nvar UserAction = _interopRequireWildcard(require(\"@ori-events/user-action\"));\nvar _constants = require(\"./constants\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst addToBasket = ({\n id\n}) => window.dispatchEvent(new CustomEvent(AddToBasketEvent.Name, {\n detail: {\n itemCode: id,\n quantity: 1\n }\n}));\nexports.addToBasket = addToBasket;\nconst sendUserEvents = ({\n payload\n}) => {\n if (payload.payload) {\n const {\n category,\n items\n } = payload.payload;\n if (category === _constants.TRACKING_CATEGORY_PRODUCT_RECOMMENDATION && items) {\n UserAction.dispatch([..._constants.USER_ACTION_DIAGNOSIS_COMPLETED, items.map(p => p.item_id).join(',')]);\n }\n }\n switch (payload.title) {\n case _constants.TRACKING_TITLE_CONDITIONS:\n UserAction.dispatch([..._constants.USER_ACTION_DIAGNOSIS_STARTED, _constants.WITHOUT_SELFIE]);\n break;\n case _constants.TRACKING_TITLE_SELFIE:\n UserAction.dispatch([..._constants.USER_ACTION_DIAGNOSIS_STARTED, _constants.WITH_SELFIE]);\n break;\n default:\n break;\n }\n};\nexports.sendUserEvents = sendUserEvents;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Widget = void 0;\nvar _icons = require(\"@ori-ui/icons\");\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _constants = require(\"../../constants\");\nvar _contexts = require(\"../../contexts\");\nvar _hooks = require(\"../../hooks\");\nvar _constants2 = require(\"./constants\");\nvar _styles = require(\"./styles\");\nvar _utils = require(\"./utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst Widget = () => {\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n const {\n translations\n } = (0, _hooks.useTranslations)();\n const {\n novageSkincareConfiguration\n } = (0, _contexts.useNovageSkincareAdvisor)();\n const {\n open,\n onClose\n } = (0, _presentationHooks.useDisclose)({\n defaultOpen: true\n });\n if (!novageSkincareConfiguration?.recommendationPageEnabled || !open || !(0, _utils.shouldOpenForCurrentUrlPathname)()) {\n return null;\n }\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(_styles.Root, {\n \"data-testid\": getTestId(_constants2.WIDGET),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.Link, {\n href: _constants.OPEN_HREF_ATTRIBUTE,\n underline: \"none\",\n children: translations.scanYourSkin\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_styles.CloseButton, {\n \"aria-label\": translations.closeScanYourSkin,\n onClick: onClose,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_icons.Clear, {})\n })]\n });\n};\nexports.Widget = Widget;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.WIDGET = void 0;\nconst WIDGET = exports.WIDGET = 'widget';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Widget = require(\"./Widget\");\nObject.keys(_Widget).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Widget[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Widget[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.Root = exports.Link = exports.CloseButton = void 0;\nvar _mui = require(\"@ori-ui/mui\");\nconst Root = exports.Root = (0, _mui.styled)('div')(({\n theme\n}) => ({\n alignItems: 'center',\n background: theme.palette.red[50],\n borderRadius: '0px 60px 60px 0px',\n bottom: 15,\n display: 'flex',\n flexDirection: 'row',\n gap: theme.spacing(2),\n paddingRight: theme.spacing(3),\n position: 'fixed',\n zIndex: 100,\n [theme.breakpoints.up('md')]: {\n bottom: 30\n },\n '&:hover, &:focus': {\n background: theme.palette.red[200]\n }\n}));\nconst Link = exports.Link = (0, _mui.styled)(_mui.Link)(({\n theme\n}) => ({\n fontWeight: theme.typography.fontWeightBold,\n padding: theme.spacing(3, 0, 3, 3),\n textTransform: 'uppercase',\n '&:hover, &:focus': {\n color: theme.palette.text.primary\n }\n}));\nconst CloseButton = exports.CloseButton = (0, _mui.styled)('button')(({\n theme\n}) => ({\n background: 'none',\n border: 'none',\n display: 'flex',\n padding: theme.spacing(3, 0),\n svg: {\n fill: 'inherit'\n }\n}));","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.shouldOpenForCurrentUrlPathname = void 0;\nconst ALLOWED_PATHNAME_REGEXES = [/^(\\/[a-z]{2})?\\/?$/i, /^(\\/[a-z]{2})?\\/skincare(\\/.*?)?$/i, /^(\\/[a-z]{2})?\\/brands\\/novage(\\/.*?)?$/i, /^(\\/[a-z]{2})?\\/brands\\/novage-plus(\\/.*?)?$/i];\nconst shouldOpenForCurrentUrlPathname = () => ALLOWED_PATHNAME_REGEXES.some(regex => regex.test(window.location.pathname));\nexports.shouldOpenForCurrentUrlPathname = shouldOpenForCurrentUrlPathname;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Dialog = require(\"./Dialog\");\nObject.keys(_Dialog).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Dialog[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Dialog[key];\n }\n });\n});\nvar _Loading = require(\"./Loading\");\nObject.keys(_Loading).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Loading[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Loading[key];\n }\n });\n});\nvar _Restore = require(\"./Restore\");\nObject.keys(_Restore).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Restore[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Restore[key];\n }\n });\n});\nvar _Revieve = require(\"./Revieve\");\nObject.keys(_Revieve).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Revieve[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Revieve[key];\n }\n });\n});\nvar _Widget = require(\"./Widget\");\nObject.keys(_Widget).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Widget[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Widget[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TEAM_NAME = exports.PACKAGE_NAME = exports.EMOTION_CACHE_KEY = exports.APP_ROOT_ELEMENT_ID = exports.APP_NAME = void 0;\n/* istanbul ignore file */\n//\n// DO NOT EDIT!\n// This file was autogenerated by Eddie.\n// Changes may cause incorrect behavior and will be lost when the file is regenerated.\n//\n// Run `npx eddie update workspace` to regenerate.\n//\n\nconst APP_NAME = exports.APP_NAME = 'novage-skincare-advisor';\nconst PACKAGE_NAME = exports.PACKAGE_NAME = '@ori/novage-skincare-advisor';\nconst TEAM_NAME = exports.TEAM_NAME = 'Presentation';\nconst EMOTION_CACHE_KEY = exports.EMOTION_CACHE_KEY = `${APP_NAME}-emotion-cache-key`;\nconst APP_ROOT_ELEMENT_ID = exports.APP_ROOT_ELEMENT_ID = `${APP_NAME}-root`;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.REVIEVE_USER_ID_COOKIE = exports.OPTANON_CONSENT_COOKIE = exports.OPEN_QUERY_PARAM_VALID_VALUES = exports.OPEN_QUERY_PARAM_ONCE = exports.OPEN_QUERY_PARAM_ALWAYS = exports.OPEN_QUERY_PARAM = exports.OPEN_HREF_ATTRIBUTE = exports.ONE_TRUST_GROUP_PERFORMANCE = void 0;\nvar _constantsGenerated = require(\"../constants-generated\");\n// istanbul ignore file\n\nconst OPEN_HREF_ATTRIBUTE = exports.OPEN_HREF_ATTRIBUTE = `#open-${_constantsGenerated.APP_NAME}`;\nconst OPEN_QUERY_PARAM = exports.OPEN_QUERY_PARAM = 'openNovageSkincareAdvisor';\nconst OPEN_QUERY_PARAM_ALWAYS = exports.OPEN_QUERY_PARAM_ALWAYS = 'always';\nconst OPEN_QUERY_PARAM_ONCE = exports.OPEN_QUERY_PARAM_ONCE = 'once';\nconst OPEN_QUERY_PARAM_VALID_VALUES = exports.OPEN_QUERY_PARAM_VALID_VALUES = [OPEN_QUERY_PARAM_ALWAYS, OPEN_QUERY_PARAM_ONCE];\nconst OPTANON_CONSENT_COOKIE = exports.OPTANON_CONSENT_COOKIE = 'OptanonConsent';\nconst ONE_TRUST_GROUP_PERFORMANCE = exports.ONE_TRUST_GROUP_PERFORMANCE = 'C0002';\nconst REVIEVE_USER_ID_COOKIE = exports.REVIEVE_USER_ID_COOKIE = 'revieve-userid';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.translationsNamespace = exports.defaultTranslations = void 0;\n/* istanbul ignore file */\n\n/**\n * DO NOT EDIT!\n * This file was autogenerated by npm script `localizations-codegen`.\n * Changes may cause incorrect behavior and will be lost when the file is regenerated.\n *\n * Run `npx localizations-codegen` to regenerate.\n */\n\nconst defaultTranslations = exports.defaultTranslations = {\n FindingProduct: 'Finding the best product for you',\n GetNewRecommendation: 'Get new recommendation',\n Recommendation: 'We have a product recommendation for you',\n SeeRecommendedProduct: 'See recommended product',\n closeScanYourSkin: 'Close scan your skin',\n scanYourSkin: 'Scan your skin'\n};\nconst translationsNamespace = exports.translationsNamespace = 'novage-skincare-advisor';","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _app = require(\"./app\");\nObject.keys(_app).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _app[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _app[key];\n }\n });\n});\nvar _defaultTranslations = require(\"./defaultTranslations\");\nObject.keys(_defaultTranslations).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _defaultTranslations[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _defaultTranslations[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ApiProvider = void 0;\nvar _configurationManager = require(\"@ori/configuration-manager\");\nvar _environment = require(\"@ori/environment\");\nvar _i18n = require(\"@ori/i18n\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst ApiProvider = ({\n children\n}) => {\n // istanbul ignore next\n const {\n tenant\n } = (0, _environment.useEnvironment)();\n const {\n language\n } = (0, _i18n.useTranslationsWithNamespaces)();\n const {\n staticApiUrl\n } = (0, _configurationManager.useServiceUrls)(['staticApi']);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_staticApiClientReact.ApiClientProvider, {\n baseUrl: staticApiUrl,\n language: language,\n tenant: tenant,\n children: children\n });\n};\nexports.ApiProvider = ApiProvider;","\"use strict\";\n\nvar _interopRequireDefault = require(\"@babel/runtime/helpers/interopRequireDefault\");\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.NovageSkincareAdvisor = void 0;\nvar _testidGenerator = _interopRequireDefault(require(\"@ori/testid-generator\"));\nvar _react = require(\"react\");\nvar _components = require(\"../components\");\nvar _constantsGenerated = require(\"../constants-generated\");\nvar _contexts = require(\"../contexts\");\nvar _utils = require(\"../utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nfunction _getRequireWildcardCache(e) {\n if (\"function\" != typeof WeakMap) return null;\n var r = new WeakMap(),\n t = new WeakMap();\n return (_getRequireWildcardCache = function (e) {\n return e ? t : r;\n })(e);\n}\nfunction _interopRequireWildcard(e, r) {\n if (!r && e && e.__esModule) return e;\n if (null === e || \"object\" != typeof e && \"function\" != typeof e) return {\n default: e\n };\n var t = _getRequireWildcardCache(r);\n if (t && t.has(e)) return t.get(e);\n var n = {\n __proto__: null\n },\n a = Object.defineProperty && Object.getOwnPropertyDescriptor;\n for (var u in e) if (\"default\" !== u && {}.hasOwnProperty.call(e, u)) {\n var i = a ? Object.getOwnPropertyDescriptor(e, u) : null;\n i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u];\n }\n return n.default = e, t && t.set(e, n), n;\n}\nconst Revieve = /*#__PURE__*/(0, _react.lazy)(async () => Promise.resolve().then(() => _interopRequireWildcard(require(/* webpackChunkName: \"NovageSkincareAdvisor_Revieve\" */'../components/Revieve'))).then(module => ({\n default: module.Revieve\n})));\nconst NovageSkincareAdvisor = () => {\n const {\n initialOpenDone,\n novageSkincareConfiguration,\n openQueryParam\n } = (0, _contexts.useNovageSkincareAdvisor)();\n const {\n getTestId\n } = (0, _testidGenerator.default)();\n return /*#__PURE__*/(0, _jsxRuntime.jsxs)(\"div\", {\n \"data-testid\": getTestId(_constantsGenerated.APP_NAME),\n children: [/*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Suspense, {\n fallback: null,\n children: initialOpenDone && (0, _utils.isValidNovageSkincareConfiguration)(novageSkincareConfiguration) ? /*#__PURE__*/(0, _jsxRuntime.jsx)(Revieve, {\n novageSkincareConfiguration: novageSkincareConfiguration,\n openQueryParam: openQueryParam\n }) : null\n }), /*#__PURE__*/(0, _jsxRuntime.jsx)(_components.Widget, {})]\n });\n};\nexports.NovageSkincareAdvisor = NovageSkincareAdvisor;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.NovageSkincareAdvisorController = void 0;\nvar _logger = require(\"@ori/logger\");\nvar _testidGenerator = require(\"@ori/testid-generator\");\nvar _react = require(\"react\");\nvar _constantsGenerated = require(\"../constants-generated\");\nvar _contexts = require(\"../contexts\");\nvar _logger2 = require(\"../logger\");\nvar _ApiProvider = require(\"./ApiProvider\");\nvar _NovageSkincareAdvisor = require(\"./NovageSkincareAdvisor\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\n/**\n * Accepts config data, renders NovageSkincareAdvisor.\n */\nconst NovageSkincareAdvisorController = ({\n translations\n}) => /*#__PURE__*/(0, _jsxRuntime.jsx)(_react.Suspense, {\n fallback: null,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_testidGenerator.TestIdProvider, {\n team: _testidGenerator.Team.Presentation,\n project: _constantsGenerated.APP_NAME,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_logger.LoggerProvider, {\n logger: _logger2.mainLogger,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_logger.ErrorBoundary, {\n areaName: \"NovageSkincareAdvisorController\",\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_ApiProvider.ApiProvider, {\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_contexts.NovageSkincareAdvisorProvider, {\n translations: translations,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_NovageSkincareAdvisor.NovageSkincareAdvisor, {})\n })\n })\n })\n })\n })\n});\nexports.NovageSkincareAdvisorController = NovageSkincareAdvisorController;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _ApiProvider = require(\"./ApiProvider\");\nObject.keys(_ApiProvider).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _ApiProvider[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _ApiProvider[key];\n }\n });\n});\nvar _NovageSkincareAdvisor = require(\"./NovageSkincareAdvisor\");\nObject.keys(_NovageSkincareAdvisor).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _NovageSkincareAdvisor[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _NovageSkincareAdvisor[key];\n }\n });\n});\nvar _NovageSkincareAdvisorController = require(\"./NovageSkincareAdvisorController\");\nObject.keys(_NovageSkincareAdvisorController).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _NovageSkincareAdvisorController[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _NovageSkincareAdvisorController[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _novageSkincareAdvisorContext = require(\"./novageSkincareAdvisorContext\");\nObject.keys(_novageSkincareAdvisorContext).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _novageSkincareAdvisorContext[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _novageSkincareAdvisorContext[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useNovageSkincareAdvisor = exports.novageSkincareAdvisorContext = exports.defaultNovageSkincareAdvisorContextValue = exports.Provider = exports.NovageSkincareAdvisorProvider = void 0;\nvar _auth = require(\"@ori/auth\");\nvar _configurationManager = require(\"@ori/configuration-manager\");\nvar _environment = require(\"@ori/environment\");\nvar _i18n = require(\"@ori/i18n\");\nvar _react = require(\"react\");\nvar _constants = require(\"../constants\");\nvar _hooks = require(\"../hooks\");\nvar _logger = require(\"../logger\");\nvar _utils = require(\"../utils\");\nvar _jsxRuntime = require(\"react/jsx-runtime\");\nconst localLogger = _logger.mainLogger.createChild('NovageSkincareAdvisorProvider');\nconst onError = error => localLogger.error(new Error('TranslationsProvider fetching failed', {\n cause: error\n}));\nconst defaultNovageSkincareAdvisorContextValue = exports.defaultNovageSkincareAdvisorContextValue = {\n initialOpenDone: false,\n novageSkincareConfiguration: undefined,\n openQueryParam: undefined\n};\nconst novageSkincareAdvisorContext = exports.novageSkincareAdvisorContext = /*#__PURE__*/(0, _react.createContext)(defaultNovageSkincareAdvisorContextValue);\nconst {\n Provider\n} = novageSkincareAdvisorContext;\nexports.Provider = Provider;\nconst NovageSkincareAdvisorProvider = ({\n children,\n translations\n}) => {\n const {\n tenant\n } = (0, _environment.useEnvironment)();\n const {\n language\n } = (0, _i18n.useTranslationsWithNamespaces)();\n const {\n staticApiUrl\n } = (0, _configurationManager.useServiceUrls)(['staticApi']);\n const {\n token\n } = (0, _auth.useToken)();\n const [initialOpenDone, setInitialOpenDone] = (0, _react.useState)(false);\n const [openQueryParam, setOpenQueryParam] = (0, _react.useState)();\n const open = (0, _react.useCallback)(() => {\n if (openQueryParam !== _constants.OPEN_QUERY_PARAM_ALWAYS) {\n (0, _utils.setOpenQueryParam)();\n setOpenQueryParam(_constants.OPEN_QUERY_PARAM_ONCE);\n setInitialOpenDone(true);\n }\n }, [openQueryParam]);\n (0, _hooks.useOnHrefClick)({\n href: _constants.OPEN_HREF_ATTRIBUTE,\n onClick: open\n });\n (0, _react.useEffect)(() => {\n const initialOpenQueryParam = (0, _utils.getValidOpenQueryParam)();\n if (initialOpenQueryParam) {\n setOpenQueryParam(initialOpenQueryParam);\n setInitialOpenDone(true);\n }\n }, []);\n const novageSkincareConfiguration = (0, _hooks.useGetNovageSkincareConfiguration)();\n const value = (0, _react.useMemo)(() => ({\n initialOpenDone,\n novageSkincareConfiguration,\n openQueryParam\n }), [initialOpenDone, novageSkincareConfiguration, openQueryParam]);\n const shouldFetchTranslations = (0, _react.useMemo)(() => initialOpenDone || novageSkincareConfiguration?.recommendationPageEnabled, [initialOpenDone, novageSkincareConfiguration?.recommendationPageEnabled]);\n return /*#__PURE__*/(0, _jsxRuntime.jsx)(_i18n.TranslationsProvider, {\n language: language,\n defaultTranslationsWithNamespaces: {\n [_constants.translationsNamespace]: _constants.defaultTranslations\n },\n translationsWithNamespaces: translations ? {\n [_constants.translationsNamespace]: translations\n } : undefined,\n clientFetchConfiguration: shouldFetchTranslations ? {\n tenant,\n token,\n baseUrl: staticApiUrl,\n onError\n } : undefined,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(_i18n.TranslationsNamespaceProvider, {\n namespace: _constants.translationsNamespace,\n children: /*#__PURE__*/(0, _jsxRuntime.jsx)(Provider, {\n value: value,\n children: children\n })\n })\n });\n};\nexports.NovageSkincareAdvisorProvider = NovageSkincareAdvisorProvider;\nconst useNovageSkincareAdvisor = () => (0, _react.useContext)(novageSkincareAdvisorContext);\nexports.useNovageSkincareAdvisor = useNovageSkincareAdvisor;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _useGetNovageSkincareConfiguration = require(\"./useGetNovageSkincareConfiguration\");\nObject.keys(_useGetNovageSkincareConfiguration).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useGetNovageSkincareConfiguration[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useGetNovageSkincareConfiguration[key];\n }\n });\n});\nvar _useLocale = require(\"./useLocale\");\nObject.keys(_useLocale).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useLocale[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useLocale[key];\n }\n });\n});\nvar _useOnHrefClick = require(\"./useOnHrefClick\");\nObject.keys(_useOnHrefClick).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useOnHrefClick[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useOnHrefClick[key];\n }\n });\n});\nvar _useOpenQueryParam = require(\"./useOpenQueryParam\");\nObject.keys(_useOpenQueryParam).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useOpenQueryParam[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useOpenQueryParam[key];\n }\n });\n});\nvar _useRedirectToPdp = require(\"./useRedirectToPdp\");\nObject.keys(_useRedirectToPdp).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useRedirectToPdp[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useRedirectToPdp[key];\n }\n });\n});\nvar _useRevieveAdvisor = require(\"./useRevieveAdvisor\");\nObject.keys(_useRevieveAdvisor).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useRevieveAdvisor[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useRevieveAdvisor[key];\n }\n });\n});\nvar _useRevieveScript = require(\"./useRevieveScript\");\nObject.keys(_useRevieveScript).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useRevieveScript[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useRevieveScript[key];\n }\n });\n});\nvar _useSessionStorage = require(\"./useSessionStorage\");\nObject.keys(_useSessionStorage).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useSessionStorage[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useSessionStorage[key];\n }\n });\n});\nvar _useTranslations = require(\"./useTranslations\");\nObject.keys(_useTranslations).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _useTranslations[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _useTranslations[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useGetNovageSkincareConfiguration = void 0;\nvar _environment = require(\"@ori/environment\");\nvar _fetching = require(\"@ori/fetching\");\nvar _i18n = require(\"@ori/i18n\");\nvar _staticApiClientReact = require(\"@ori/static-api-client-react\");\nvar _constantsGenerated = require(\"../constants-generated\");\nconst useGetNovageSkincareConfiguration = () => {\n const {\n tenant\n } = (0, _environment.useEnvironment)();\n const {\n language\n } = (0, _i18n.useTranslationsWithNamespaces)();\n const {\n data\n } = (0, _staticApiClientReact.useGetTenantApplicationsAdvisorNovAgeSkincareConfiguration)(tenant, {\n lang: language\n }, {\n request: {\n headers: (0, _fetching.getHeaders)({\n language,\n sourceAppName: _constantsGenerated.PACKAGE_NAME,\n tenant\n })\n },\n swr: {\n revalidateOnFocus: false,\n revalidateOnReconnect: false,\n revalidateIfStale: false\n }\n });\n return data;\n};\nexports.useGetNovageSkincareConfiguration = useGetNovageSkincareConfiguration;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useLocale = void 0;\nvar _i18n = require(\"@ori/i18n\");\nconst useLocale = () => {\n const {\n language\n } = (0, _i18n.useTranslationsWithNamespaces)();\n const [locale] = language.split('-');\n return locale;\n};\nexports.useLocale = useLocale;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useOnHrefClick = void 0;\nvar _presentationHooks = require(\"@ori/presentation-hooks\");\nvar _react = require(\"react\");\nconst shouldOpen = (href, target) => {\n // document.activeElement points to the element that currently has focus,\n // usually it is the most recent thing that was clicked (and can be focused).\n // This is what we actually need when clicking anything wrapped in an Anchor -\n // - image or other passive elements cannot have focus so it goes to the wrapping anchor.\n if (document.activeElement) {\n return document.activeElement instanceof HTMLAnchorElement && document.activeElement.hash === href;\n }\n\n // fallback code for the 0.1% cases where document does not provide activeElement -\n // - pick the event target and if it is not an Anchor, see if any of its parents is.\n // If we don't find one, stop at Body - there's nothing of interest upwards.\n let bubblingTarget = target;\n while (bubblingTarget && !(bubblingTarget instanceof HTMLBodyElement)) {\n if (bubblingTarget instanceof HTMLAnchorElement) {\n return bubblingTarget.hash === href;\n }\n bubblingTarget = bubblingTarget.parentElement;\n }\n return false;\n};\nconst deleteHash = () => {\n window.location.hash = '';\n};\nconst useOnHrefClick = ({\n href,\n onClick\n}) => {\n const onHashChange = (0, _react.useCallback)(event => {\n const newUrl = new URL(event.newURL);\n if (newUrl.hash === href) {\n onClick();\n deleteHash();\n }\n }, [href, onClick]);\n const events = (0, _react.useMemo)(() => [{\n name: 'hashchange',\n listener: onHashChange\n }], [onHashChange]);\n (0, _presentationHooks.useGlobalEvents)(events);\n (0, _react.useEffect)(() => {\n const onOpen = event => {\n if (shouldOpen(href, event.target)) {\n event.preventDefault();\n onClick();\n }\n };\n document.addEventListener('click', onOpen);\n return () => document.removeEventListener('click', onOpen);\n }, [href, onClick, onHashChange]);\n};\nexports.useOnHrefClick = useOnHrefClick;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useOpenQueryParam = void 0;\nvar _react = require(\"react\");\nvar _constants = require(\"../constants\");\nvar _utils = require(\"../utils\");\nconst useOpenQueryParam = () => {\n const [param, setParam] = (0, _react.useState)();\n (0, _react.useEffect)(() => {\n const queryParam = (0, _utils.getOpenQueryParam)() ?? '';\n if (_constants.OPEN_QUERY_PARAM_VALID_VALUES.includes(queryParam)) {\n setParam(queryParam);\n }\n }, []);\n return param;\n};\nexports.useOpenQueryParam = useOpenQueryParam;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useRedirectToPdp = void 0;\nvar _react = require(\"react\");\nconst origin = '&origin=revieve';\nconst getPdpUrl = ({\n id,\n url\n}) => {\n if (url) {\n return `${url}${origin}`;\n }\n return `${window.location.origin}/products/product?code=${id}${origin}`;\n};\nconst useRedirectToPdp = () => {\n const timeout = (0, _react.useRef)();\n (0, _react.useEffect)(() => () => clearTimeout(timeout.current));\n return (0, _react.useCallback)(({\n product,\n delay = 0,\n newTab\n }) => {\n const url = getPdpUrl(product);\n const redirect = () => newTab ? window.open(url, '_blank') : window.location.assign(url);\n timeout.current = setTimeout(redirect, delay);\n }, []);\n};\nexports.useRedirectToPdp = useRedirectToPdp;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useRevieveAdvisor = void 0;\nvar _react = require(\"react\");\nvar _utils = require(\"../utils\");\nvar _useSessionStorage = require(\"./useSessionStorage\");\nconst useRevieveAdvisor = ({\n novageSkincareConfiguration\n}) => {\n const {\n clear\n } = (0, _useSessionStorage.useSessionStorage)({\n novageSkincareConfiguration\n });\n const reset = (0, _react.useCallback)(config => {\n (0, _utils.unmountRevieve)();\n clear();\n (0, _utils.initRevieve)(config);\n }, [clear]);\n return (0, _react.useMemo)(() => ({\n close: _utils.hideRevieve,\n open: _utils.showRevieve,\n reset\n }), [reset]);\n};\nexports.useRevieveAdvisor = useRevieveAdvisor;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useRevieveScript = void 0;\nvar _react = require(\"react\");\nvar _utils = require(\"../utils\");\nconst SCRIPT_ID = 'revieve-plugin-loader';\nconst SCRIPT_URL = 'https://d38knilzwtuys1.cloudfront.net/revieve-plugin-v4/revieve-plugin-loader.js';\nconst getScriptTag = onLoad => {\n let script = document.getElementById(SCRIPT_ID);\n if (script === null) {\n script = document.createElement('script');\n script.async = true;\n script.charset = 'utf8';\n script.id = SCRIPT_ID;\n script.src = SCRIPT_URL;\n script.type = 'text/javascript';\n script.addEventListener('load', onLoad);\n }\n return script;\n};\nconst insertScriptTag = script => {\n const scripts = document.getElementsByTagName('script');\n const firstScript = scripts.item(0);\n if (!firstScript?.parentNode?.contains(script)) {\n firstScript?.parentNode?.insertBefore(script, firstScript);\n }\n};\nconst useRevieveScript = ({\n initConfig,\n onInit\n}) => {\n const onLoad = (0, _react.useCallback)(() => (0, _utils.initRevieve)(initConfig, onInit), [initConfig, onInit]);\n (0, _react.useEffect)(() => {\n const script = getScriptTag(onLoad);\n insertScriptTag(script);\n return () => {\n (0, _utils.unmountRevieve)();\n script.removeEventListener('load', onLoad);\n script.remove();\n };\n }, [onLoad]);\n};\nexports.useRevieveScript = useRevieveScript;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useSessionStorage = void 0;\nvar _react = require(\"react\");\nvar _utils = require(\"../utils\");\nconst getProductKey = () => `persist:${(0, _utils.getRevieveUserId)()}:product`;\nconst useSessionStorage = ({\n novageSkincareConfiguration: {\n environment,\n partnerId\n }\n}) => {\n const advisorKey = `persist:${partnerId}-${environment}`;\n const clear = (0, _react.useCallback)(() => {\n window.sessionStorage.removeItem(advisorKey);\n window.sessionStorage.removeItem(getProductKey());\n }, [advisorKey]);\n const restoreProduct = (0, _react.useCallback)(() => {\n const product = window.sessionStorage.getItem(getProductKey());\n return product ? JSON.parse(product) : undefined;\n }, []);\n const storeProduct = (0, _react.useCallback)(product => window.sessionStorage.setItem(getProductKey(), JSON.stringify(product)), []);\n return (0, _react.useMemo)(() => ({\n clear,\n restoreProduct,\n storeProduct\n }), [clear, restoreProduct, storeProduct]);\n};\nexports.useSessionStorage = useSessionStorage;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.useTranslations = void 0;\nvar _i18n = require(\"@ori/i18n\");\n/* istanbul ignore file */\n\n/**\n * DO NOT EDIT!\n * This file was autogenerated by npm script `localizations-codegen`.\n * Changes may cause incorrect behavior and will be lost when the file is regenerated.\n *\n * Run `npx localizations-codegen` to regenerate.\n */\n\n/**\n * A hook for accessing translations within a specific namespace along with a formatting function.\n *\n * @returns The translations within the specified namespace and a formatting function.\n */\nconst useTranslations = () => (0, _i18n.useTranslationsFromNamespace)();\nexports.useTranslations = useTranslations;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nObject.defineProperty(exports, \"NovageSkincareAdvisorController\", {\n enumerable: true,\n get: function () {\n return _containers.NovageSkincareAdvisorController;\n }\n});\nObject.defineProperty(exports, \"OPEN_HREF_ATTRIBUTE\", {\n enumerable: true,\n get: function () {\n return _constants.OPEN_HREF_ATTRIBUTE;\n }\n});\nObject.defineProperty(exports, \"defaultTranslations\", {\n enumerable: true,\n get: function () {\n return _constants.defaultTranslations;\n }\n});\nObject.defineProperty(exports, \"translationsNamespace\", {\n enumerable: true,\n get: function () {\n return _constants.translationsNamespace;\n }\n});\nvar _containers = require(\"./containers\");\nvar _constants = require(\"./constants\");","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.mainLogger = void 0;\nvar _logger = require(\"@ori/logger\");\nvar _constantsGenerated = require(\"./constants-generated\");\nconst mainLogger = exports.mainLogger = new _logger.Logger(_constantsGenerated.PACKAGE_NAME, {\n teamName: _constantsGenerated.TEAM_NAME\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.ClickProductSource = void 0;\nlet ClickProductSource = exports.ClickProductSource = /*#__PURE__*/function (ClickProductSource) {\n /** If source is `productCard` then it means that user clicked in the areas of the product card in the grid recommended product page. The area is the same as the area that by default will open the expanded product card(product detail modal). */\n ClickProductSource[\"productCard\"] = \"productCard\";\n /** If source is productList then it means that user clicked on a button in the product card that redirects user to another url(moreInfo action). */\n ClickProductSource[\"productList\"] = \"productList\";\n /** If source is `expandedProductCard` then it means that user clicked on a button in the expanded product card(product detail modal) that redirects user to another url(moreInfo action in modal). */\n ClickProductSource[\"expandedProductCard\"] = \"expandedProductCard\";\n /** `other` is the default source and any callbacks from other places will have it as the source. */\n ClickProductSource[\"other\"] = \"other\";\n return ClickProductSource;\n}({});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.TranslationKey = void 0;\n/* istanbul ignore file */\n/**\n * DO NOT EDIT!\n * This file was autogenerated by npm script `localizations-codegen`.\n * Changes may cause incorrect behavior and will be lost when the file is regenerated.\n *\n * Run `npx localizations-codegen` to regenerate.\n */\nlet TranslationKey = exports.TranslationKey = /*#__PURE__*/function (TranslationKey) {\n TranslationKey[\"FindingProduct\"] = \"FindingProduct\";\n TranslationKey[\"GetNewRecommendation\"] = \"GetNewRecommendation\";\n TranslationKey[\"Recommendation\"] = \"Recommendation\";\n TranslationKey[\"SeeRecommendedProduct\"] = \"SeeRecommendedProduct\";\n TranslationKey[\"closeScanYourSkin\"] = \"closeScanYourSkin\";\n TranslationKey[\"scanYourSkin\"] = \"scanYourSkin\";\n return TranslationKey;\n}({});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _Revieve = require(\"./Revieve\");\nObject.keys(_Revieve).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _Revieve[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _Revieve[key];\n }\n });\n});\nvar _TranslationKey = require(\"./TranslationKey\");\nObject.keys(_TranslationKey).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _TranslationKey[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _TranslationKey[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.getCookie = void 0;\nconst createNameRegExp = name => new RegExp(`(^| )${name}=([^;]+)`);\nconst getCookie = name => {\n const match = document.cookie.match(createNameRegExp(name));\n return (match ?? [])[2];\n};\nexports.getCookie = getCookie;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nvar _cookies = require(\"./cookies\");\nObject.keys(_cookies).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _cookies[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _cookies[key];\n }\n });\n});\nvar _isValidNovageSkincareConfiguration = require(\"./isValidNovageSkincareConfiguration\");\nObject.keys(_isValidNovageSkincareConfiguration).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _isValidNovageSkincareConfiguration[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _isValidNovageSkincareConfiguration[key];\n }\n });\n});\nvar _openQueryParam = require(\"./openQueryParam\");\nObject.keys(_openQueryParam).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _openQueryParam[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _openQueryParam[key];\n }\n });\n});\nvar _revieve = require(\"./revieve\");\nObject.keys(_revieve).forEach(function (key) {\n if (key === \"default\" || key === \"__esModule\") return;\n if (key in exports && exports[key] === _revieve[key]) return;\n Object.defineProperty(exports, key, {\n enumerable: true,\n get: function () {\n return _revieve[key];\n }\n });\n});","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.isValidNovageSkincareConfiguration = void 0;\nconst isValidNovageSkincareConfiguration = configuration => Boolean(configuration?.environment && configuration.partnerId);\nexports.isValidNovageSkincareConfiguration = isValidNovageSkincareConfiguration;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.setOpenQueryParam = exports.removeOpenQueryParam = exports.getValidOpenQueryParam = exports.getOpenQueryParam = void 0;\nvar _presentationUtils = require(\"@ori/presentation-utils\");\nvar _constants = require(\"../constants\");\nconst getOpenQueryParam = () => {\n const url = (0, _presentationUtils.getCurrentUrl)();\n return url.searchParams.get(_constants.OPEN_QUERY_PARAM);\n};\nexports.getOpenQueryParam = getOpenQueryParam;\nconst getValidOpenQueryParam = () => {\n const queryParam = getOpenQueryParam();\n return queryParam === _constants.OPEN_QUERY_PARAM_ONCE || queryParam === _constants.OPEN_QUERY_PARAM_ALWAYS ? queryParam : undefined;\n};\nexports.getValidOpenQueryParam = getValidOpenQueryParam;\nconst removeOpenQueryParam = () => {\n if (getOpenQueryParam()) {\n const url = (0, _presentationUtils.getCurrentUrl)();\n url.searchParams.delete(_constants.OPEN_QUERY_PARAM);\n (0, _presentationUtils.replaceCurrentUrl)(url);\n }\n};\nexports.removeOpenQueryParam = removeOpenQueryParam;\nconst setOpenQueryParam = () => {\n const url = (0, _presentationUtils.getCurrentUrl)();\n url.searchParams.set(_constants.OPEN_QUERY_PARAM, _constants.OPEN_QUERY_PARAM_ONCE);\n if (url.searchParams.get(_constants.OPEN_QUERY_PARAM) !== getOpenQueryParam()) {\n (0, _presentationUtils.replaceCurrentUrl)(url);\n }\n};\nexports.setOpenQueryParam = setOpenQueryParam;","\"use strict\";\n\nObject.defineProperty(exports, \"__esModule\", {\n value: true\n});\nexports.unmountRevieve = exports.showRevieve = exports.isAnalyticsConsentGranted = exports.initRevieve = exports.hideRevieve = exports.getRevieveUserId = void 0;\nvar _constants = require(\"../constants\");\nvar _cookies = require(\"./cookies\");\n/* istanbul ignore file */\n\nconst getRevieveUserId = () => (0, _cookies.getCookie)(_constants.REVIEVE_USER_ID_COOKIE);\nexports.getRevieveUserId = getRevieveUserId;\nconst hideRevieve = () => window.Revieve?.API.hide();\nexports.hideRevieve = hideRevieve;\nconst initRevieve = (config, callback) =>\n// eslint-disable-next-line new-cap -- 3rd party naming\nwindow.Revieve?.Init(config, callback);\nexports.initRevieve = initRevieve;\nconst isAnalyticsConsentGranted = () => {\n if (!(0, _cookies.getCookie)(_constants.OPTANON_CONSENT_COOKIE)) {\n return true;\n }\n return new RegExp(`groups=[^;]*${_constants.ONE_TRUST_GROUP_PERFORMANCE}%3A1`).test((0, _cookies.getCookie)(_constants.OPTANON_CONSENT_COOKIE) ?? '');\n};\nexports.isAnalyticsConsentGranted = isAnalyticsConsentGranted;\nconst showRevieve = () => window.Revieve?.API.show();\nexports.showRevieve = showRevieve;\nconst unmountRevieve = () => window.Revieve?.API.unmount();\nexports.unmountRevieve = unmountRevieve;"],"names":["App","currentLanguage","tenant","staticApiUrl","graphqlUrl","globalApiUrl","ServiceUrlsProvider","serviceUrls","graphQlUrl","children","EnvironmentProvider","TranslationsProvider","defaultTranslationsWithNamespaces","language","translationsWithNamespaces","localLogger","Logger","teamName","createChild","render","async","config","rootElement","dataset","customerId","identityUrl","appConfig","parseClientAppConfig","ApplicationInsights","initialize","getClientApplicationInsightsConfig","ErrorBoundary","logger","UniversalTokenProvider","initialToken","ThemeProvider","enableCacheProvider","cacheKey","Object","defineProperty","exports","value","Dialog","_components","_mui","_jsxRuntime","header","hideCloseButton","onClose","open","jsx","size","jsxs","Box","alignItems","display","flexDirection","height","justifyContent","textAlign","width","Typography","fontSize","fontWeight","pb","pt","px","variant","_Dialog","keys","forEach","key","enumerable","get","_types","Loading","_hooks","show","translations","useTranslations","FindingProduct","CircularProgress","color","_Loading","Restore","_react","_styles","onContinue","onReset","setOpen","useState","handleOnClose","useCallback","useEffect","Recommendation","boxFlexDirection","gap","mx","Button","onClick","GetNewRecommendation","SeeRecommendedProduct","_Restore","xs","sm","Revieve","_constants","_constants2","_hooks2","props","close","continueToPdp","initConfig","onInit","reset","state","useRevieve","useRevieveScript","useOnHrefClick","href","OPEN_HREF_ATTRIBUTE","Fragment","STATE_LOADING","STATE_RESTORED","WITH_SELFIE","WITHOUT_SELFIE","USER_ACTION_DIAGNOSIS_STARTED","USER_ACTION_DIAGNOSIS_COMPLETED","TRACKING_TITLE_SELFIE","TRACKING_TITLE_CONDITIONS","TRACKING_CATEGORY_PRODUCT_RECOMMENDATION","STATE_DEFAULT","_favoritesHeart","_presentationUtils","_models","_utils","_utils2","novageSkincareConfiguration","openQueryParam","environment","partnerId","recommendationPageEnabled","canChangeOpenQueryParam","OPEN_QUERY_PARAM_ALWAYS","onFavoritesClick","useFavorites","redirectToPdp","useRedirectToPdp","locale","useLocale","setState","useRevieveAdvisor","restoreProduct","storeProduct","useSessionStorage","clearOpenQueryParam","removeOpenQueryParam","setupOpenQueryParam","setOpenQueryParam","product","handleClose","handleOpen","toggleFavorite","id","productCode","useMemo","disableAnalytics","isAnalyticsConsentGranted","env","partner_id","analytics","disableUsageAnalytics","disableProductAnalytics","disableErrorReporting","onAddToCart","data","Array","isArray","addToBasket","onAddToFavorites","onClickProduct","source","ClickProductSource","productList","expandedProductCard","newTab","onCheckout","url","getCurrentUrl","pathname","searchParams","delete","OPEN_QUERY_PARAM","window","location","assign","onDisplayProducts","historyId","products","delay","onTrackingEvent","sendUserEvents","onFetchProducts","onRemoveFromFavorites","handleReset","_Revieve","AddToBasketEvent","_interopRequireWildcard","UserAction","_getRequireWildcardCache","e","WeakMap","r","t","__esModule","default","has","n","__proto__","a","getOwnPropertyDescriptor","u","hasOwnProperty","call","i","set","dispatchEvent","CustomEvent","Name","detail","itemCode","quantity","payload","category","items","dispatch","map","p","item_id","join","title","_interopRequireDefault","Widget","_icons","_presentationHooks","_testidGenerator","_contexts","getTestId","useNovageSkincareAdvisor","useDisclose","defaultOpen","shouldOpenForCurrentUrlPathname","Root","WIDGET","Link","underline","scanYourSkin","CloseButton","closeScanYourSkin","Clear","_Widget","styled","theme","background","palette","red","borderRadius","bottom","spacing","paddingRight","position","zIndex","breakpoints","up","typography","fontWeightBold","padding","textTransform","text","primary","border","svg","fill","ALLOWED_PATHNAME_REGEXES","some","regex","test","TEAM_NAME","PACKAGE_NAME","EMOTION_CACHE_KEY","APP_ROOT_ELEMENT_ID","APP_NAME","REVIEVE_USER_ID_COOKIE","OPTANON_CONSENT_COOKIE","OPEN_QUERY_PARAM_VALID_VALUES","OPEN_QUERY_PARAM_ONCE","ONE_TRUST_GROUP_PERFORMANCE","_constantsGenerated","translationsNamespace","defaultTranslations","_app","_defaultTranslations","ApiProvider","_configurationManager","_environment","_i18n","_staticApiClientReact","useEnvironment","useTranslationsWithNamespaces","useServiceUrls","ApiClientProvider","baseUrl","NovageSkincareAdvisor","lazy","Promise","resolve","then","module","initialOpenDone","Suspense","fallback","isValidNovageSkincareConfiguration","NovageSkincareAdvisorController","_logger","_logger2","_ApiProvider","_NovageSkincareAdvisor","TestIdProvider","team","Team","Presentation","project","LoggerProvider","mainLogger","areaName","NovageSkincareAdvisorProvider","_NovageSkincareAdvisorController","_novageSkincareAdvisorContext","novageSkincareAdvisorContext","defaultNovageSkincareAdvisorContextValue","Provider","_auth","onError","error","Error","cause","undefined","createContext","token","useToken","setInitialOpenDone","initialOpenQueryParam","getValidOpenQueryParam","useGetNovageSkincareConfiguration","shouldFetchTranslations","clientFetchConfiguration","TranslationsNamespaceProvider","namespace","useContext","_useGetNovageSkincareConfiguration","_useLocale","_useOnHrefClick","_useOpenQueryParam","_useRedirectToPdp","_useRevieveAdvisor","_useRevieveScript","_useSessionStorage","_useTranslations","_fetching","useGetTenantApplicationsAdvisorNovAgeSkincareConfiguration","lang","request","headers","getHeaders","sourceAppName","swr","revalidateOnFocus","revalidateOnReconnect","revalidateIfStale","split","onHashChange","event","URL","newURL","hash","events","name","listener","useGlobalEvents","onOpen","target","document","activeElement","HTMLAnchorElement","bubblingTarget","HTMLBodyElement","parentElement","shouldOpen","preventDefault","addEventListener","removeEventListener","useOpenQueryParam","param","setParam","queryParam","getOpenQueryParam","includes","origin","timeout","useRef","clearTimeout","current","getPdpUrl","setTimeout","clear","unmountRevieve","initRevieve","hideRevieve","showRevieve","SCRIPT_ID","onLoad","script","getElementById","createElement","charset","src","type","getScriptTag","firstScript","getElementsByTagName","item","parentNode","contains","insertBefore","insertScriptTag","remove","getProductKey","getRevieveUserId","advisorKey","sessionStorage","removeItem","getItem","JSON","parse","setItem","stringify","useTranslationsFromNamespace","_containers","TranslationKey","_TranslationKey","getCookie","match","cookie","RegExp","createNameRegExp","_cookies","_isValidNovageSkincareConfiguration","_openQueryParam","_revieve","configuration","Boolean","replaceCurrentUrl","API","hide","callback","Init","unmount"],"sourceRoot":""}