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AAIA,KAA2C,sCAAK,GACxHD,EAAmBpF,QAAQ6E,EAAqBzB,KAAK,KAAM,IAC3DgC,EAAmB1D,KAAOmD,EAAqBzB,KAAK,KAAMgC,EAAmB1D,KAAK0B,KAAKgC,G,eChF1EE,iBACX,IAAMC,EAAczD,SAAS0D,eAAe9I,EAAAA,IAC5C,IAAI6I,EAIF,MAAM,IAAIxB,MAAM,YAAD,OAAarH,EAAAA,GAAe,oBAH3C,IAAM+I,QAAkB,0DAClBA,EAAUC,OAAOH,EAI3B,CAEAI,GAAOC,OAAM,SAACpI,GACZ,MAAMA,CACR,G","sources":["webpack://orinovageskincareadvisor/webpack/runtime/create fake namespace object","webpack://orinovageskincareadvisor/webpack/runtime/load script","webpack://orinovageskincareadvisor/./node_modules/@ori/testid-generator/esm/Team.js","webpack://orinovageskincareadvisor/./src/constants/app.ts","webpack://orinovageskincareadvisor/./src/constants/defaultTranslations.ts","webpack://orinovageskincareadvisor/./src/constants/swrConfig.ts","webpack://orinovageskincareadvisor/webpack/bootstrap","webpack://orinovageskincareadvisor/webpack/runtime/compat get default export","webpack://orinovageskincareadvisor/webpack/runtime/define property getters","webpack://orinovageskincareadvisor/webpack/runtime/ensure chunk","webpack://orinovageskincareadvisor/webpack/runtime/get javascript chunk filename","webpack://orinovageskincareadvisor/webpack/runtime/global","webpack://orinovageskincareadvisor/webpack/runtime/hasOwnProperty shorthand","webpack://orinovageskincareadvisor/webpack/runtime/make namespace object","webpack://orinovageskincareadvisor/webpack/runtime/publicPath","webpack://orinovageskincareadvisor/webpack/runtime/jsonp chunk loading","webpack://orinovageskincareadvisor/./src/appLoader.ts"],"sourcesContent":["var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n\t__webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; typeof current == 'object' && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => (def[key] = () => (value[key])));\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","var inProgress = {};\nvar dataWebpackPrefix = \"orinovageskincareadvisor:\";\n// loadScript function to load a script via script tag\n__webpack_require__.l = (url, done, key, chunkId) => {\n\tif(inProgress[url]) { inProgress[url].push(done); return; }\n\tvar script, needAttach;\n\tif(key !== undefined) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tfor(var i = 0; i < scripts.length; i++) {\n\t\t\tvar s = scripts[i];\n\t\t\tif(s.getAttribute(\"src\") == url || s.getAttribute(\"data-webpack\") == dataWebpackPrefix + key) { script = s; break; }\n\t\t}\n\t}\n\tif(!script) {\n\t\tneedAttach = true;\n\t\tscript = document.createElement('script');\n\n\t\tscript.charset = 'utf-8';\n\t\tscript.timeout = 120;\n\t\tif (__webpack_require__.nc) {\n\t\t\tscript.setAttribute(\"nonce\", __webpack_require__.nc);\n\t\t}\n\t\tscript.setAttribute(\"data-webpack\", dataWebpackPrefix + key);\n\t\tscript.src = url;\n\t}\n\tinProgress[url] = [done];\n\tvar onScriptComplete = (prev, event) => {\n\t\t// avoid mem leaks in IE.\n\t\tscript.onerror = script.onload = null;\n\t\tclearTimeout(timeout);\n\t\tvar doneFns = inProgress[url];\n\t\tdelete inProgress[url];\n\t\tscript.parentNode && script.parentNode.removeChild(script);\n\t\tdoneFns && doneFns.forEach((fn) => (fn(event)));\n\t\tif(prev) return prev(event);\n\t};\n\tvar timeout = setTimeout(onScriptComplete.bind(null, undefined, { type: 'timeout', target: script }), 120000);\n\tscript.onerror = onScriptComplete.bind(null, script.onerror);\n\tscript.onload = onScriptComplete.bind(null, script.onload);\n\tneedAttach && document.head.appendChild(script);\n};","/**\n * List of team\n * @enum {string}\n */\nexport var Team;\n\n(function (Team) {\n Team[\"Checkout\"] = \"Checkout\";\n Team[\"Growth\"] = \"Growth\";\n Team[\"Presentation\"] = \"Presentation\";\n Team[\"OrderManagement\"] = \"OrderManagement\";\n Team[\"Payment\"] = \"Payment\";\n Team[\"Acquisition\"] = \"Acquisition\";\n Team[\"Framework\"] = \"Framework\";\n Team[\"Backend\"] = \"Backend\";\n Team[\"SellingTools\"] = \"SellingTools\";\n})(Team || (Team = {}));","import { Team } from '@ori/testid-generator';\n\nexport const APP_NAME = 'novage-skincare-advisor';\nexport const APP_TEAM_NAME: Team = Team.Presentation;\nexport const NOT_LOGGED_IN_USER_ID = -1;\nexport const OPEN_HREF_ATTRIBUTE = `#open-${APP_NAME}`;\nexport const OPEN_QUERY_PARAM = 'openNovageSkincareAdvisor';\nexport const OPEN_QUERY_PARAM_ALWAYS = 'always';\nexport const OPEN_QUERY_PARAM_ONCE = 'once';\nexport const OPEN_QUERY_PARAM_VALID_VALUES = [OPEN_QUERY_PARAM_ALWAYS, OPEN_QUERY_PARAM_ONCE];\nexport const REVIEVE_USER_ID_COOKIE = 'revieve-userid';\nexport const ROOT_ELEMENT_ID = `${APP_NAME}-root`;\nexport const TRANSLATIONS_ENDPOINT =\n '/tenants/{tenant}/applications/advisor/novAgeSkincareLocalization';\n","// DO NOT EDIT MANUALLY!\n// This file is generated, edit `resources/Localizations.json` and run `npm run generate-translation-keys` to update.\nimport type { TranslationKey } from '~/models';\n\nexport const defaultTranslations: Record = {\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};\n","import type { Revalidator, RevalidatorOptions, SWRConfiguration } from 'swr';\n\nimport type { ApiError } from '../models';\n\n/**\n * SWR config\n */\nexport const swrConfig: SWRConfiguration = {\n errorRetryCount: 3,\n errorRetryInterval: 10000,\n focusThrottleInterval: 300000,\n shouldRetryOnError: true,\n suspense: false,\n /* eslint-disable max-params -- library requires too many parameters */\n onErrorRetry: (\n error: ApiError,\n key: string,\n config: SWRConfiguration,\n revalidate: Revalidator,\n { retryCount }: RevalidatorOptions,\n ) => {\n const statusCode = Number(error.data.status ?? 200);\n if (statusCode >= 400 && statusCode < 500) {\n return;\n }\n const rCount = retryCount ?? 1;\n if (rCount >= (config.errorRetryCount ?? 0)) {\n return;\n }\n setTimeout(() => void revalidate({ retryCount: rCount }), config.errorRetryInterval);\n },\n /* eslint-enable max-params */\n};\n","// The module cache\nvar __webpack_module_cache__ = {};\n\n// The require function\nfunction __webpack_require__(moduleId) {\n\t// Check if module is in cache\n\tvar cachedModule = __webpack_module_cache__[moduleId];\n\tif (cachedModule !== undefined) {\n\t\treturn cachedModule.exports;\n\t}\n\t// Create a new module (and put it into the cache)\n\tvar module = __webpack_module_cache__[moduleId] = {\n\t\t// no module.id needed\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId](module, module.exports, __webpack_require__);\n\n\t// Return the exports of the module\n\treturn module.exports;\n}\n\n// expose the modules object (__webpack_modules__)\n__webpack_require__.m = __webpack_modules__;\n\n","// getDefaultExport function for compatibility with non-harmony modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};","// define getter functions for harmony exports\n__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n\t\tif(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n\t\t\tObject.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n\t\t}\n\t}\n};","__webpack_require__.f = {};\n// This file contains only the entry chunk.\n// The chunk loading function for additional chunks\n__webpack_require__.e = (chunkId) => {\n\treturn Promise.all(Object.keys(__webpack_require__.f).reduce((promises, key) => {\n\t\t__webpack_require__.f[key](chunkId, promises);\n\t\treturn promises;\n\t}, []));\n};","// This function allow to reference async chunks\n__webpack_require__.u = (chunkId) => {\n\t// return url for filenames based on template\n\treturn \"\" + chunkId + \".chunk.js\";\n};","__webpack_require__.g = (function() {\n\tif (typeof globalThis === 'object') return globalThis;\n\ttry {\n\t\treturn this || new Function('return this')();\n\t} catch (e) {\n\t\tif (typeof window === 'object') return window;\n\t}\n})();","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","var scriptUrl;\nif (__webpack_require__.g.importScripts) scriptUrl = __webpack_require__.g.location + \"\";\nvar document = __webpack_require__.g.document;\nif (!scriptUrl && document) {\n\tif (document.currentScript)\n\t\tscriptUrl = document.currentScript.src\n\tif (!scriptUrl) {\n\t\tvar scripts = document.getElementsByTagName(\"script\");\n\t\tif(scripts.length) scriptUrl = scripts[scripts.length - 1].src\n\t}\n}\n// When supporting browsers where an automatic publicPath is not supported you must specify an output.publicPath manually via configuration\n// or pass an empty string (\"\") and set the __webpack_public_path__ variable from your code to use your own logic.\nif (!scriptUrl) throw new Error(\"Automatic publicPath is not supported in this browser\");\nscriptUrl = scriptUrl.replace(/#.*$/, \"\").replace(/\\?.*$/, \"\").replace(/\\/[^\\/]+$/, \"/\");\n__webpack_require__.p = scriptUrl;","// no baseURI\n\n// object to store loaded and loading chunks\n// undefined = chunk not loaded, null = chunk preloaded/prefetched\n// [resolve, reject, Promise] = chunk loading, 0 = chunk loaded\nvar installedChunks = {\n\t826: 0\n};\n\n__webpack_require__.f.j = (chunkId, promises) => {\n\t\t// JSONP chunk loading for javascript\n\t\tvar installedChunkData = __webpack_require__.o(installedChunks, chunkId) ? installedChunks[chunkId] : undefined;\n\t\tif(installedChunkData !== 0) { // 0 means \"already installed\".\n\n\t\t\t// a Promise means \"currently loading\".\n\t\t\tif(installedChunkData) {\n\t\t\t\tpromises.push(installedChunkData[2]);\n\t\t\t} else {\n\t\t\t\tif(true) { // all chunks have JS\n\t\t\t\t\t// setup Promise in chunk cache\n\t\t\t\t\tvar promise = new Promise((resolve, reject) => (installedChunkData = installedChunks[chunkId] = [resolve, reject]));\n\t\t\t\t\tpromises.push(installedChunkData[2] = promise);\n\n\t\t\t\t\t// start chunk loading\n\t\t\t\t\tvar url = __webpack_require__.p + __webpack_require__.u(chunkId);\n\t\t\t\t\t// create error before stack unwound to get useful stacktrace later\n\t\t\t\t\tvar error = new Error();\n\t\t\t\t\tvar loadingEnded = (event) => {\n\t\t\t\t\t\tif(__webpack_require__.o(installedChunks, chunkId)) {\n\t\t\t\t\t\t\tinstalledChunkData = installedChunks[chunkId];\n\t\t\t\t\t\t\tif(installedChunkData !== 0) installedChunks[chunkId] = undefined;\n\t\t\t\t\t\t\tif(installedChunkData) {\n\t\t\t\t\t\t\t\tvar errorType = event && (event.type === 'load' ? 'missing' : event.type);\n\t\t\t\t\t\t\t\tvar realSrc = event && event.target && event.target.src;\n\t\t\t\t\t\t\t\terror.message = 'Loading chunk ' + chunkId + ' failed.\\n(' + errorType + ': ' + realSrc + ')';\n\t\t\t\t\t\t\t\terror.name = 'ChunkLoadError';\n\t\t\t\t\t\t\t\terror.type = errorType;\n\t\t\t\t\t\t\t\terror.request = realSrc;\n\t\t\t\t\t\t\t\tinstalledChunkData[1](error);\n\t\t\t\t\t\t\t}\n\t\t\t\t\t\t}\n\t\t\t\t\t};\n\t\t\t\t\t__webpack_require__.l(url, loadingEnded, \"chunk-\" + chunkId, chunkId);\n\t\t\t\t} else installedChunks[chunkId] = 0;\n\t\t\t}\n\t\t}\n};\n\n// no prefetching\n\n// no preloaded\n\n// no HMR\n\n// no HMR manifest\n\n// no on chunks loaded\n\n// install a JSONP callback for chunk loading\nvar webpackJsonpCallback = (parentChunkLoadingFunction, data) => {\n\tvar [chunkIds, moreModules, runtime] = data;\n\t// add \"moreModules\" to the modules object,\n\t// then flag all \"chunkIds\" as loaded and fire callback\n\tvar moduleId, chunkId, i = 0;\n\tif(chunkIds.some((id) => (installedChunks[id] !== 0))) {\n\t\tfor(moduleId in moreModules) {\n\t\t\tif(__webpack_require__.o(moreModules, moduleId)) {\n\t\t\t\t__webpack_require__.m[moduleId] = moreModules[moduleId];\n\t\t\t}\n\t\t}\n\t\tif(runtime) var result = runtime(__webpack_require__);\n\t}\n\tif(parentChunkLoadingFunction) parentChunkLoadingFunction(data);\n\tfor(;i < chunkIds.length; i++) {\n\t\tchunkId = chunkIds[i];\n\t\tif(__webpack_require__.o(installedChunks, chunkId) && installedChunks[chunkId]) {\n\t\t\tinstalledChunks[chunkId][0]();\n\t\t}\n\t\tinstalledChunks[chunkId] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkorinovageskincareadvisor\"] = self[\"webpackChunkorinovageskincareadvisor\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","import { ROOT_ELEMENT_ID } from './constants';\n\n/**\n * Entrypoint of this SPA. Checks if exists root element by provided ID and renders.\n */\nconst init = async (): Promise => {\n const rootElement = document.getElementById(ROOT_ELEMENT_ID);\n if (rootElement) {\n const appRender = await import('./AppRender');\n await appRender.render(rootElement);\n } else {\n throw new Error(`Element #${ROOT_ELEMENT_ID} was not found!`);\n }\n};\n\ninit().catch((error) => {\n throw error;\n});\n"],"names":["leafPrototypes","getProto","inProgress","dataWebpackPrefix","Team","APP_NAME","APP_TEAM_NAME","Presentation","NOT_LOGGED_IN_USER_ID","OPEN_HREF_ATTRIBUTE","OPEN_QUERY_PARAM","OPEN_QUERY_PARAM_ALWAYS","OPEN_QUERY_PARAM_ONCE","OPEN_QUERY_PARAM_VALID_VALUES","REVIEVE_USER_ID_COOKIE","ROOT_ELEMENT_ID","TRANSLATIONS_ENDPOINT","defaultTranslations","FindingProduct","GetNewRecommendation","Recommendation","SeeRecommendedProduct","swrConfig","errorRetryCount","errorRetryInterval","focusThrottleInterval","shouldRetryOnError","suspense","onErrorRetry","error","key","config","revalidate","retryCount","statusCode","Number","data","status","rCount","setTimeout","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","__webpack_modules__","m","n","getter","__esModule","d","a","Object","getPrototypeOf","obj","t","value","mode","this","then","ns","create","r","def","current","indexOf","getOwnPropertyNames","forEach","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","keys","reduce","promises","u","g","globalThis","Function","window","prop","prototype","hasOwnProperty","call","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","fn","bind","type","target","head","appendChild","Symbol","toStringTag","scriptUrl","importScripts","location","currentScript","Error","replace","p","installedChunks","j","installedChunkData","promise","resolve","reject","errorType","realSrc","message","name","request","webpackJsonpCallback","parentChunkLoadingFunction","chunkIds","moreModules","runtime","some","id","chunkLoadingGlobal","self","async","rootElement","getElementById","appRender","render","init","catch"],"sourceRoot":""}