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AiBK,EACnB,MAAM,IAAIpC,MAAM,0BACpB,OAAO,oDAAuB,IAE7BnF,MAAK,EAAGwH,mBACSA,IACRC,gBAAkBF,CAAI,GAClC,EAEOG,EAAS3I,IAClBoH,QAAQC,IAAI,UAAWrH,GACvB,gFAA6BiB,MAAK,EAAG2H,iBACjCA,EAAW5I,EAAG,GAChB,EAEO6I,EAAsBC,IAC1BX,MAELf,QAAQC,IAAI,uBAAwByB,GACpC,8BAAgC7H,MAAK,EAAG4H,wBAAyBA,EAAmBC,KAAiB,EAG5FC,EAAwB,KAC5BZ,MAELf,QAAQC,IAAI,2BACZ,8BAAgCpG,MAAK,EAAG8H,2BAA4BA,MAAwB,EAEnFC,EAAU,KACdb,KAEL,yFAAwBlH,MAAK,EAAGgI,mBACVA,IACRD,SAAS,GACrB,EAEOE,EAAc/D,IAClBgD,MAELf,QAAQC,IAAI,eAAgBlC,GAC5B,8BAAgClE,MAAK,EAAGiI,gBAAiBA,EAAW/D,KAAQ,EAEnEgE,EAAc,KAClBhB,MAELf,QAAQC,IAAI,iBACZ,8BAAgCpG,MAAK,EAAGkI,iBAAkBA,MAAc,EAE/DC,EAAkB,EAAGC,kBAC9BjC,QAAQC,IAAI,oBAAqB,CAAEgC,gBACnC,8BAAgCpI,MAAK,EAAGmI,gBAAiBE,KAAyBA,EAAmB,CAAED,iBAAe,E","sources":["webpack://rtrViewerMV/webpack/runtime/create fake namespace object","webpack://rtrViewerMV/webpack/runtime/load script","webpack://rtrViewerMV/webpack/bootstrap","webpack://rtrViewerMV/webpack/runtime/amd options","webpack://rtrViewerMV/webpack/runtime/compat get default export","webpack://rtrViewerMV/webpack/runtime/define property getters","webpack://rtrViewerMV/webpack/runtime/ensure chunk","webpack://rtrViewerMV/webpack/runtime/get javascript chunk filename","webpack://rtrViewerMV/webpack/runtime/global","webpack://rtrViewerMV/webpack/runtime/hasOwnProperty shorthand","webpack://rtrViewerMV/webpack/runtime/make namespace object","webpack://rtrViewerMV/webpack/runtime/publicPath","webpack://rtrViewerMV/webpack/runtime/jsonp chunk loading","webpack://rtrViewerMV/./lib/main.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 = \"rtrViewerMV:\";\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\n\t\tscript.src = url;\n\t\tif (script.src.indexOf(window.location.origin + '/') !== 0) {\n\t\t\tscript.crossOrigin = \"anonymous\";\n\t\t}\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};","// 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\tid: moduleId,\n\t\t// no module.loaded needed\n\t\texports: {}\n\t};\n\n\t// Execute the module function\n\t__webpack_modules__[moduleId].call(module.exports, 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","__webpack_require__.amdO = {};","// 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 \"\" + {\"23\":\"d45058ab4952ad5f934f\",\"37\":\"973d641e0e54d90a7861\",\"70\":\"131ff20971f1a468eb0d\",\"95\":\"5c5953931654ca918db9\",\"184\":\"2be098db42b927a5bc8d\",\"241\":\"73ef510dd76dd2ba72d8\",\"244\":\"551a36bce9c2b6538724\",\"250\":\"460c20f5efa6ca3ca14a\",\"303\":\"a0262e5415191b37efb1\",\"313\":\"98eb062916da278a2ff6\",\"314\":\"dc95c038ac59adbb8109\",\"358\":\"5176e3dc05abeac51a43\",\"415\":\"05059fdc0dd35beea324\",\"476\":\"684b093c1b0286db4be9\",\"477\":\"85511a6a5bdb4ebbf92c\",\"512\":\"db01900617bce90be6da\",\"519\":\"3bb54fe17057ebe374c2\",\"558\":\"b7d1c061619ddd1c09a8\",\"568\":\"79da01a0f27cc3f64946\",\"579\":\"ecbc080e451605c2564b\",\"604\":\"d98d2c9eba2764b60716\",\"650\":\"6efcbeadc1f86084064e\",\"674\":\"bbb3de65fc1e70ce1e5d\",\"675\":\"a89270e445164ce382b3\",\"691\":\"353f6255e746aa089bae\",\"714\":\"b6e9e206b61a446fb47f\",\"750\":\"539ff86620d0e828fee8\",\"784\":\"db0dd43ade7e5834dbed\",\"787\":\"897563c797af73bbeba9\",\"795\":\"1313c75ec68792e53cc7\",\"946\":\"bca223532e00e7efb46b\",\"972\":\"8c8994cb6e83533e5e1f\",\"987\":\"ca0b6dad1165f18f0745\",\"998\":\"890d0d1b2fea12f60762\"}[chunkId] + \".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};","__webpack_require__.p = \"https://rtrmv.essilorluxottica.com/lib/v/3.0.3/\";","__webpack_require__.b = document.baseURI || self.location.href;\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\t792: 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}\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[\"webpackChunkrtrViewerMV\"] = self[\"webpackChunkrtrViewerMV\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","export const init = (initInput) => {\n console.log('[init]', initInput);\n import('@/lazy_load/init').then(({ initAsync }) => {\n initAsync(initInput);\n });\n};\n// GETTERs\nexport const getVersion = () => {\n return VITE_LIB_VERSION;\n};\nexport const isIdAvailable = async (id, { envs: { asset: envAsset = RTR_ENVIRONMENT, catalog: envCatalog = RTR_ENVIRONMENT, ms: envMs = RTR_ENVIRONMENT, } = {}, qa = false, } = {}) => {\n return import('@luxottica/rtr-viewer').then(({ isIdAvailable: isRtrIdAvailable }) => isRtrIdAvailable(id, {\n envs: {\n asset: envAsset,\n catalog: envCatalog,\n ms: envMs,\n },\n qa,\n }));\n};\nexport const isInitialized = async () => {\n return import('@luxottica/rtr-viewer').then(({ isInitialized: isRtrInitialized }) => isRtrInitialized());\n};\nexport const isSupported = async () => {\n return import('@luxottica/rtr-viewer').then(({ isSupported: isRtrSupported }) => isRtrSupported());\n};\n// SETTERs\nexport const setApplicativeZoom = (zoom) => {\n isInitialized()\n .then(isInitialized => {\n if (!(isInitialized && zoom))\n throw new Error('Viewer not initialized');\n return import('@/stores/zoom');\n })\n .then(({ useZoomStore }) => {\n const zoomStore = useZoomStore();\n zoomStore.applicativeZoom = zoom;\n });\n};\nexport const setId = (id) => {\n console.log('[setId]', id);\n import('@/lazy_load/viewer').then(({ setIdAsync }) => {\n setIdAsync(id);\n });\n};\nexport const setPersonalization = (personalization) => {\n if (!isInitialized())\n return;\n console.log('[setPersonalization]', personalization);\n import('@luxottica/rtr-viewer').then(({ setPersonalization }) => setPersonalization(personalization));\n};\n// ACTIONs\nexport const clearPersonalizations = () => {\n if (!isInitialized())\n return;\n console.log('[clearPersonalizations]');\n import('@luxottica/rtr-viewer').then(({ clearPersonalizations }) => clearPersonalizations());\n};\nexport const dispose = () => {\n if (!isInitialized())\n return;\n import('@/stores/root').then(({ useRootStore }) => {\n const rootStore = useRootStore();\n rootStore.dispose();\n });\n};\nexport const moveCamera = (target) => {\n if (!isInitialized())\n return;\n console.log('[moveCamera]', target);\n import('@luxottica/rtr-viewer').then(({ moveCamera }) => moveCamera(target));\n};\nexport const resetCamera = () => {\n if (!isInitialized())\n return;\n console.log('[resetCamera]');\n import('@luxottica/rtr-viewer').then(({ resetCamera }) => resetCamera());\n};\nexport const selectComponent = ({ componentId }) => {\n console.log('[selectComponent]', { componentId });\n import('@luxottica/rtr-viewer').then(({ selectComponent: selectRtrComponent }) => selectRtrComponent({ componentId }));\n};\n"],"names":["leafPrototypes","getProto","inProgress","dataWebpackPrefix","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","exports","module","id","__webpack_modules__","call","m","amdO","n","getter","__esModule","d","a","Object","getPrototypeOf","obj","t","value","mode","this","then","ns","create","r","def","current","indexOf","getOwnPropertyNames","forEach","key","definition","o","defineProperty","enumerable","get","f","e","chunkId","Promise","all","keys","reduce","promises","u","g","globalThis","Function","window","prop","prototype","hasOwnProperty","l","url","done","push","script","needAttach","scripts","document","getElementsByTagName","i","length","s","getAttribute","createElement","charset","timeout","nc","setAttribute","src","location","origin","crossOrigin","onScriptComplete","prev","event","onerror","onload","clearTimeout","doneFns","parentNode","removeChild","fn","setTimeout","bind","type","target","head","appendChild","Symbol","toStringTag","p","b","baseURI","self","href","installedChunks","j","installedChunkData","promise","resolve","reject","error","Error","errorType","realSrc","message","name","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","init","initInput","console","log","initAsync","getVersion","isIdAvailable","async","envs","asset","envAsset","catalog","envCatalog","ms","envMs","qa","isRtrIdAvailable","isInitialized","isRtrInitialized","isSupported","isRtrSupported","setApplicativeZoom","zoom","useZoomStore","applicativeZoom","setId","setIdAsync","setPersonalization","personalization","clearPersonalizations","dispose","useRootStore","moveCamera","resetCamera","selectComponent","componentId","selectRtrComponent"],"sourceRoot":""}