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AAmC,8BAA8BkX,MAAK,IAAM,IAAS/E,EAAoB,oDAErI,8BAA+B,IACvBA,EAAoBnS,EAAkC,6BAA6BkX,MAAK,IAAM,IAAS/E,EAAoB,uDAEnI,yBAA0B,IAClBA,EAAoBnS,EAA6B,wBAAwBkX,MAAK,IAAM,IAAS/E,EAAoB,kDAEzH,wBAAyB,IACjBA,EAAoBnS,EAA4B,uBAAuBkX,MAAK,IAAM,IAAS/E,EAAoB,yDAEvH,gCAAiC,IACzBA,EAAoBnS,EAAoC,+BAA+BkX,MAAK,IAAM,IAAS/E,EAAoB,yDAEvI,gBAAiB,IACTc,QAAQC,IAAqB,CAACf,EAAoBnS,EAAE,wGAAyGmS,EAAoBnS,EAAE,wGAAyGmS,EAAoBnS,EAAE,iBAAiBkX,MAAK,IAAM,IAAS/E,EAAoB,0CAGhXjR,EAAM,CAACyH,EAAQwO,KAClBhF,EAAoBiF,EAAID,EACxBA,EACChF,EAAoBW,EAAEmE,EAAWtO,GAC9BsO,EAAUtO,KACVsK,QAAQ4C,UAAUqB,MAAK,KACxB,MAAM,IAAIvY,MAAM,WAAagK,EAAS,qCAGzCwJ,EAAoBiF,OAAI9E,EACjB6E,GAEJ/K,EAAO,CAACiL,EAAYC,KACvB,GAAKnF,EAAoBoF,EAAzB,CACA,IAAIC,EAAWrF,EAAoBoF,EAAW,QAC1CrV,EAAO,UACX,GAAGsV,GAAYA,IAAaH,EAAY,MAAM,IAAI1Y,MAAM,mGAExD,OADAwT,EAAoBoF,EAAErV,GAAQmV,EACvBlF,EAAoBsF,EAAEvV,EAAMoV,KAIpCnF,EAAoBvE,EAAErF,EAAS,CAC9BrH,IAAK,IAAM,EACXkL,KAAM,IAAM,K","sources":["webpack://elc-service-prodcat/webpack/runtime/load script","webpack://elc-service-prodcat/./node_modules/@estee/elc-service-view-names/src/index.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-service/node_modules/@estee/elc-logging/src/ELCLoggerValidations.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-service/node_modules/@estee/elc-logging/src/LoggerApiSDK.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-service/node_modules/@estee/elc-logging/src/ELCLogger.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-service/src/Service/ServiceManager/ServiceManager.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-universal-utils/src/UniversalUtils.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-universal-utils/src/Service/ServiceUtils.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-universal-utils/src/BrowserStorage.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-universal-utils/src/Service/ServiceVersion.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-service/src/Service/BaseService.ts","webpack://elc-service-prodcat/./src/service-setup/ProductService.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-service/node_modules/debug/src/browser.js","webpack://elc-service-prodcat/./node_modules/@estee/elc-service/node_modules/debug/src/common.js","webpack://elc-service-prodcat/./node_modules/@estee/elc-service/node_modules/ms/index.js","webpack://elc-service-prodcat/./node_modules/process/browser.js","webpack://elc-service-prodcat/external var \"ElcServiceBus\"","webpack://elc-service-prodcat/external var [\"ElcRuntime\",\"HypoContainer\"]","webpack://elc-service-prodcat/external var [\"ElcRuntime\",\"React\"]","webpack://elc-service-prodcat/external var [\"ElcRuntime\",\"ReactDom\"]","webpack://elc-service-prodcat/external var [\"ElcRuntime\",\"mobx\"]","webpack://elc-service-prodcat/external var [\"ElcRuntime\",\"mobxReact\"]","webpack://elc-service-prodcat/external var [\"ElcRuntime\",\"styled5\"]","webpack://elc-service-prodcat/webpack/bootstrap","webpack://elc-service-prodcat/webpack/runtime/compat get default export","webpack://elc-service-prodcat/webpack/runtime/define property getters","webpack://elc-service-prodcat/webpack/runtime/ensure chunk","webpack://elc-service-prodcat/webpack/runtime/get javascript chunk filename","webpack://elc-service-prodcat/webpack/runtime/global","webpack://elc-service-prodcat/webpack/runtime/hasOwnProperty shorthand","webpack://elc-service-prodcat/webpack/runtime/make namespace object","webpack://elc-service-prodcat/webpack/runtime/node module decorator","webpack://elc-service-prodcat/webpack/runtime/publicPath","webpack://elc-service-prodcat/webpack/runtime/jsonp chunk loading","webpack://elc-service-prodcat/./src/service-setup/ServiceBus.ts","webpack://elc-service-prodcat/./node_modules/@estee/elc-service/src/Service/ServiceBusController.ts","webpack://elc-service-prodcat/./src/index.ts","webpack://elc-service-prodcat/webpack/container-entry"],"sourcesContent":["var inProgress = {};\nvar dataWebpackPrefix = \"elc-service-prodcat:\";\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\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};","export const OFFERS_TO_DISPLAY = 'offers-to-display';\nexport const ORDER_ERROR_MESSAGE = 'order-error-message';\nexport const PAYMENT_METHODS = 'payment-methods';\nexport const PAYMENT_INFORMATION = 'payment-information';\nexport const FORGOT_PASSWORD = 'forgot-password';\nexport const RESET_PASSWORD = 'reset-password';\nexport const AUTOMATIC_OFFERS = 'automatic-offers';\nexport const THRESHOLD_MESSAGES = 'threshold-messages';\nexport const MANUAL_OFFER = 'manual-offer';\nexport const ORDER_CONFIRMATION_COMPONENT = 'order-confirmation-component';\nexport const PASSWORD_STRENGTH = 'password-strength';\nexport const SAVE_FOR_LATER_LIST = 'save-for-later-list';\nexport const SIGN_IN_FORM = 'sign-in-form';\n\nexport const SIGN_UP_FORM = 'sign-up-form';\nexport const CHANGE_PASSWORD = 'change-password';\nexport const CHANGE_EMAIL = 'change-email';\nexport const EMAIL_VERIFICATION = 'email-verification';\nexport const CONFIRM_REGISTRATION = 'confirm-registration';\n\nexport const ACCOUNT_OVERLAY = 'account-overlay';\nexport const ACCOUNT_SIDEBAR = 'account-sidebar';\nexport const ACCOUNT_LANDING_SCREEN = 'account-landing-screen';\n\nexport const USER_PROFILE = 'user-profile';\nexport const USER_PROFILE_WELCOME = 'user-profile-welcome';\n\nexport const ADDRESS_FORM = 'address-form';\nexport const ADDRESS_LIST = 'address-list';\nexport const FORMATTED_ADDRESS = 'formatted-address';\nexport const RETURN_USER_EMAIL = 'return-user-email';\nexport const USER_EMAIL = 'user-email';\nexport const USER_EMAIL_WITH_OPT_IN = 'user-email-with-opt-in';\nexport const SIGN_OUT_LINK = 'sign-out-link';\nexport const CART_ITEMS = 'cart-items';\nexport const CART_ORDER_SUMMARY = 'cart-order-summary';\nexport const CART_MERGE = 'cart-merge';\nexport const ACCOUNT_INFO = 'account-info';\nexport const PRODUCT_GRID = 'product-grid';\nexport const PRODUCT_FULL = 'product-full';\nexport const PRODUCT_FULL_ORDERABLE = 'product-full-orderable';\nexport const CART_OVERLAY = 'cart-overlay';\nexport const CART_ICON_BUTTON = 'cart-icon-button';\nexport const ORDER_HISTORY = 'order-history';\nexport const ORDER_DETAILS = 'order-details';\nexport const ORDER_HISTORY_COUNTER_BUTTONS = 'order-history-counter-buttons';\nexport const ORDER_HISTORY_TEMPORARY_MODULE = 'order-history-temporary-module';\nexport const ACCOUNT_INFO_LINK = 'account-info-link';\nexport const SIGN_IN_NAV_LINK = 'sign-in-nav-link';\n\nexport const EMAIL_OPT_IN = 'email-opt-in';\nexport const VIEW_EMAIL_OPT_IN = 'view-email-opt-in';\nexport const HELPFUL_LINKS = 'helpful-links';\n\nexport const SIGN_UP_SCREEN = 'sign-up-screen';\nexport const SIGN_IN_SCREEN = 'sign-in-screen';\nexport const ORDER_CONFIRMATION_SCREEN = 'order-confirmation-screen';\nexport const ORDER_ASSOCIATION_SCREEN = 'order-association-screen';\nexport const EXTERNAL_PAYMENT_ERROR_SCREEN = 'external-payment-error-screen';\nexport const PAYMENT_SCREEN = 'payment-screen';\nexport const PAYMENT_NAME = 'payment-name';\nexport const PAYMENT_ICON = 'payment-icon';\nexport const CHECKOUT_HEADER = 'checkout-header';\nexport const CHECKOUT_FOOTER = 'checkout-footer';\nexport const SHIPPING_SCREEN = 'shipping-screen';\nexport const SHOPPING_BAG_PAGE = 'shopping-bag-page';\nexport const PRODUCT_BRIEF = 'product-brief';\nexport const PRODUCT_QUICKVIEW = 'product-quickview';\nexport const SHIPPING_METHODS = 'shipping-methods';\nexport const HOME_DELIVERY_OPTIONS = 'home-delivery-options';\nexport const DELIVERY_TOUT = 'delivery-tout';\nexport const ELC_CHECKOUT = 'elc-checkout';\nexport const ELC_ACCOUNT = 'elc-account';\nexport const STYLEGUIDE = 'style-guide';\nexport const PRODUCT_NOTIFY_ME = 'product-notify-me';\nexport const CHOICE_OF_SKUS_LIST = 'choice-of-skus-list';\nexport const PRODUCT_CROSS_SELL = 'product-cross-sell';\nexport const PRODUCT_ADD_TO_BAG = 'product-add-to-bag';\nexport const PRODUCT_SHADESVIEW = 'product-shadesview';\nexport const PRODUCT_SIZE_PICKER = 'product-size-picker';\nexport const PRODUCT_QUANTITY_SELECTOR = 'product-quantity-selector';\nexport const PRODUCT_SHADE_PICKER = 'product-shade-picker';\nexport const PRODUCT_MEDIA_CAROUSEL_NAV = 'product-media-carousel-nav';\nexport const PRODUCT_SHADE_PICKER_BUTTON = 'product-shade-picker-button';\nexport const PRODUCT_RATING = 'product-rating';\nexport const PRODUCT_RATING_WRAPPER = 'product-rating-wrapper';\nexport const PRODUCT_REVIEWS = 'product-reviews';\nexport const REVIEW_DETAILS = 'review-details';\nexport const PRODUCT_CTA = 'product-cta';\nexport const PRODUCT_SHADES_SIDEBAR = 'product-shades-sidebar';\nexport const PRODUCT_BASIC_INFO = 'product-basic-info';\nexport const PRODUCT_BASIC_CTA = 'product-basic-cta';\nexport const PRODUCT_COMPARISON_MODULE = 'product-comparison-module';\n\nexport const CONTENT_BLOCK = 'content-block';\nexport const BASIC_TOUT = 'elc-basic-tout-v1';\nexport const VIDEO_TOUT_YOUTUBE = 'elc-video-tout-youtube-v1';\nexport const VIDEO_TOUT_MP4_FILE = 'elc-video-tout-mp4-file-v1';\nexport const THIRD_PARTY_TOUT = 'elc-third-party-tout-v1';\nexport const VTO_FOUNDATION_OVERLAY = 'elc-vto-foundation-overlay-v1';\n\nexport const OLAPIC_WIDGET = 'ugc-olapic-widget';\n\nexport const VTO = 'vto';\nexport const VTO_CTA_BUTTON = 'vto-cta-button';\nexport const VTO_SKIN_CARE = 'vto-skin-care';\n\nexport const SMARTGIFT = 'smartgift';\n\nexport const STORES = 'stores';\nexport const STORES_DIRECTORY = 'stores-directory';\nexport const SEARCH_RESULTS = 'search-results';\nexport const SEARCH_GNAV_INPUT_FIELD = 'search-gnav-input-field';\nexport const VOICE_SEARCH = 'voice-search';\nexport const STORE_DETAILS = 'store-details';\nexport const FIND_IN_STORE_BUTTON = 'find-in-store-button';\nexport const FIND_IN_STORE_MODAL = 'find-in-store-modal';\nexport const PICK_UP_IN_STORE = 'pick-up-in-store';\n\nexport const STYLEGUIDE_TYPOGRAPHY = 'styleguide-typography';\nexport const STYLEGUIDE_BUTTONS = 'styleguide-buttons';\nexport const STYLEGUIDE_INPUTS = 'styleguide-inputs';\nexport const STYLEGUIDE_COMPONENTS = 'styleguide-components';\n\nexport const ELC_RAMP = 'elc-ramp';\n\nexport const CARE_LANDING = 'elc-care-landing';\nexport const ORDER_TRACKING = 'order-tracking';\nexport const AUTO_REPLENISH = 'auto-replenish';\n","const isString: Function = (value: unknown) => typeof value === 'string';\n\nconst VALIDATORS: { [key: string]: Function[] } = {\n buid: [Boolean],\n context: [Boolean],\n environment: [Boolean, isString],\n level: [Boolean, isString],\n message: [Boolean, isString],\n serviceName: [Boolean, isString],\n serviceVersion: [Boolean, isString],\n triggerType: [Boolean, isString],\n userAgent: [Boolean, isString]\n};\n\nexport const validate = (requestBody: { [key: string]: unknown }) => {\n const result = Object.keys(VALIDATORS).reduce((acc: boolean[], key) => {\n VALIDATORS[key].forEach((validator: (value: unknown) => boolean) => {\n const requestValue = requestBody[key];\n acc.push(validator(requestValue));\n });\n\n return acc;\n }, []);\n\n return result.every(Boolean);\n};\n","import { root, IFrontendLogger } from '@estee/elc-universal-utils';\nimport { validate } from './ELCLoggerValidations';\nimport { ILogData, IFullData } from './ELCLogger';\n\nexport class LoggerApiSDK {\n private loggingServiceUrl: string = '/stardust-fe-logging-v0/logMessage';\n private queue: ILogData[] = [];\n private isRequestIdleCallbackScheduled: boolean;\n private lastTimeExecuted: number = Date.now();\n private frontendLogger: IFrontendLogger = root.site ? root.site.frontendLogger || {} : {};\n\n private generateRequestBody(fullData: IFullData) {\n const { config, level, logdata } = fullData;\n\n const { payload = {}, message, triggerType } = logdata;\n const {\n serviceName: payloadServiceName,\n serviceVersion: payloadServiceVersion,\n context,\n error\n } = payload;\n\n const {\n serviceName: configServiceName,\n serviceVersion: configServiceVersion,\n buid: configBuid,\n environment: configEnvironment\n } = config;\n const stringifiedError = error && JSON.stringify(error, Object.getOwnPropertyNames(error));\n\n return {\n context: {\n ...context,\n date: new Date().toUTCString(),\n error: stringifiedError\n },\n environment: configEnvironment || root.env,\n level: level,\n message,\n serviceName: payloadServiceName || configServiceName,\n serviceVersion: payloadServiceVersion || configServiceVersion,\n siteUrl: root.location.href,\n buid: configBuid || root.buid,\n triggerType,\n userAgent: root.navigator.userAgent\n };\n }\n\n public sendLog(fullData: IFullData) {\n const requestBody = this.generateRequestBody(fullData);\n const loggedServices = this.frontendLogger.loggedServices || {};\n const serviceConfig = loggedServices[requestBody.serviceName] || {};\n const isServiceEnabled = serviceConfig.isEnabled;\n\n if (this.frontendLogger.isEnabled && isServiceEnabled) {\n if (!validate(requestBody)) {\n throw new Error(`Request body for error logging did not validate`);\n }\n\n this.addLogToQueue(requestBody);\n }\n }\n\n public addLogToQueue = (log: ILogData) => {\n this.queue.push(log);\n this.schedulePendingEvents();\n };\n\n private schedulePendingEvents = () => {\n if (this.isRequestIdleCallbackScheduled) {\n return;\n }\n\n this.isRequestIdleCallbackScheduled = true;\n root.requestIdleCallback(this.processPendingLogs);\n };\n\n private processPendingLogs = () => {\n this.isRequestIdleCallbackScheduled = false;\n\n if (this.queue.length > 0 && Date.now() - this.lastTimeExecuted > 2000) {\n root.HttpTransport.post({\n url: this.loggingServiceUrl,\n body: this.queue\n }).catch(() => console.error('Errors failed to be sent to sumoLogic', this.queue));\n\n this.queue = [];\n this.lastTimeExecuted = Date.now();\n }\n\n if (this.queue.length > 0) {\n this.schedulePendingEvents();\n }\n };\n}\n","import { debug, Debugger } from 'debug';\nimport { LoggerApiSDK } from './LoggerApiSDK';\nimport { getSandboxEnvironment, root, ISandboxEnvironment } from '@estee/elc-universal-utils';\n\nexport interface IFullData {\n logdata: ILogData;\n level: string;\n config: IELCLogger;\n}\n\nexport interface IPayload {\n error?: Error;\n context?: object;\n serviceName?: string;\n serviceVersion?: string;\n}\n\nexport interface ILogData {\n triggerType: TriggerType;\n message: string;\n payload?: IPayload;\n}\n\nexport enum TriggerType {\n runtimeError = 'runtimeError',\n api = 'api',\n graphqlApi = 'graphqlApi',\n render = 'render',\n serviceBus = 'serviceBus',\n config = 'config',\n translation = 'translation',\n other = 'other'\n}\n\nexport interface IELCLogger {\n serviceName: string;\n serviceVersion?: string;\n environment?: string;\n buid?: string;\n}\n\nexport class ELCLogger {\n private config: IELCLogger;\n\n private errorDebugger?: Debugger;\n private infoDebugger?: Debugger;\n private warningDebugger?: Debugger;\n private eventDebugger?: Debugger;\n private queryDebugger?: Debugger;\n private commandDebugger?: Debugger;\n\n constructor(config: IELCLogger) {\n this.config = config;\n const logger = debug(this.config.serviceName);\n root.loggerApiSDK = root.loggerApiSDK || new LoggerApiSDK();\n\n this.errorDebugger = logger.extend('error');\n this.infoDebugger = logger.extend('info');\n this.warningDebugger = logger.extend('warning');\n this.eventDebugger = logger.extend('event');\n this.queryDebugger = logger.extend('query');\n this.commandDebugger = logger.extend('command');\n }\n\n public error = async (logdata: ILogData) => {\n if (this.errorDebugger) {\n this.errorDebugger(this.enhanceLogData(logdata));\n }\n\n const isProd =\n this.config.environment === ISandboxEnvironment.PRODUCTION ||\n root.env === ISandboxEnvironment.PRODUCTION;\n\n if ((isProd && getSandboxEnvironment() === ISandboxEnvironment.LIVE) || !isProd) {\n return this.sendLog(logdata, 'error');\n }\n };\n\n public info = (logdata: ILogData) => {\n if (this.infoDebugger) {\n this.infoDebugger(this.enhanceLogData(logdata));\n }\n };\n\n public warning = (logdata: ILogData) => {\n if (this.warningDebugger) {\n this.warningDebugger(this.enhanceLogData(logdata));\n }\n };\n\n public event = (logdata: ILogData) => {\n if (this.eventDebugger) {\n this.eventDebugger(this.enhanceLogData(logdata));\n }\n };\n\n public query = (logdata: ILogData) => {\n if (this.queryDebugger) {\n this.queryDebugger(this.enhanceLogData(logdata));\n }\n };\n\n public command = (logdata: ILogData) => {\n if (this.commandDebugger) {\n this.commandDebugger(this.enhanceLogData(logdata));\n }\n };\n\n private enhanceLogData = (logdata: ILogData) => ({\n ...logdata,\n triggerSource: this.config.serviceName,\n date: new Date().toUTCString()\n });\n // @ts-ignore\n private async sendLog(logdata: ILogData, level: string) {\n try {\n root.loggerApiSDK.sendLog({ logdata, level, config: this.config });\n } catch (e) {\n if (this.errorDebugger) {\n this.errorDebugger(\n this.enhanceLogData({\n message: 'Could not send log',\n triggerType: TriggerType.api,\n payload: {\n error: e,\n context: logdata\n }\n })\n );\n }\n }\n }\n}\n","import { ViewController } from '../../ViewController';\nimport { ServiceBusController } from '../ServiceBusController';\nimport {\n ServiceQueries,\n query,\n serviceQueries,\n ServiceEvents,\n ServiceCommands\n} from '@estee/elc-service-bus';\nimport { BaseService } from '../BaseService';\n\ntype diContainerType = { get(key: string): T };\nexport type ContainerImport = () => Promise<{ diContainer: diContainerType }>;\n\nexport type ServiceBusControllerBody = {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n [key: string]: Promise<(...args: any[]) => any> | Function;\n};\n\nexport class ServiceManagerClass {\n public serviceName: string;\n private containerImport: ContainerImport;\n private diContainer: diContainerType;\n private serviceKey: string;\n private service: BaseService;\n private serviceBusControllerKey: string;\n private serviceBusBaseClass: ServiceBusController & ServiceBusControllerBody;\n\n get serviceHasStarted(): boolean {\n return Boolean(this.service && this.service.isStarted);\n }\n\n private async getContainer() {\n if (!this.diContainer) {\n this.diContainer = (await this.containerImport()).diContainer;\n }\n\n return this.diContainer;\n }\n\n public setServiceStartParams({\n serviceName,\n diContainerImport,\n serviceKey,\n serviceBusControllerKey,\n serviceBusBaseClass\n }: {\n serviceName: string;\n diContainerImport: ContainerImport;\n serviceKey: string;\n serviceBusControllerKey: string;\n serviceBusBaseClass: ServiceBusController & ServiceBusControllerBody;\n }) {\n this.containerImport = diContainerImport;\n this.serviceName = serviceName;\n this.serviceKey = serviceKey;\n this.serviceBusControllerKey = serviceBusControllerKey;\n this.serviceBusBaseClass = serviceBusBaseClass;\n }\n\n public getServiceBusControllerMethod(functionName: string) {\n // eslint-disable-next-line @typescript-eslint/no-explicit-any\n return async (...args: any[]) => {\n await this.startService();\n const diContainer = await this.getContainer();\n const srvBusController = diContainer.get(\n this.serviceBusControllerKey\n );\n const method = (srvBusController as ServiceBusControllerBody)[functionName] as Function;\n\n return method.call(null, ...args);\n };\n }\n public setDecoratorOnFunction(decorator: Function) {\n return ([trigger, functionName]: [\n trigger: keyof ServiceQueries | keyof ServiceEvents | keyof ServiceCommands,\n functionName: string\n ]) => {\n decorator(trigger)(this.serviceBusBaseClass.__proto__, functionName);\n this.serviceBusBaseClass[functionName] = this.getServiceBusControllerMethod(\n functionName\n );\n };\n }\n\n public async startService() {\n await this.getContainer();\n this.service = this.diContainer.get(this.serviceKey);\n const config = await query(serviceQueries.GET_CONFIG, ['ecommConfig']);\n if (!config || !config.ecommConfig) {\n throw new Error('EcommConfig not found');\n }\n\n await this.service.start(config.ecommConfig);\n }\n\n public getController(controllerKey?: string): ViewController | undefined {\n if (!this.diContainer) {\n throw new Error(\"Can't request controller without starting the service first\");\n }\n\n const controller = controllerKey\n ? this.diContainer.get(controllerKey)\n : undefined;\n\n return controller;\n }\n}\n\nexport const ServiceManager = new ServiceManagerClass();\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { ServiceBus } from '@estee/elc-service-bus';\nimport {\n IServiceRegistry,\n IComponentViewController,\n AllServicesTypes\n} from './Service/ServiceUtils';\n\nexport const MOBILE_VERSION_SELECTOR = 'js-mobile-version';\nexport const DESKTOP_VERSION_SELECTOR = 'js-desktop-version';\n\nexport interface ISingleServiceInfo {\n [key: string]: string;\n}\n\nexport interface IServiceInfo {\n [name: string]: ISingleServiceInfo;\n}\n\nexport type ArrayMinOne = {\n 0: T;\n} & T[];\n\ninterface IObjectOfStrings {\n [key: string]: string;\n}\n\ninterface IServiceBusTopics {\n commands: IObjectOfStrings;\n events: IObjectOfStrings;\n queries: IObjectOfStrings;\n}\n\nexport interface IPayload {\n url: string;\n body?: {};\n options?: {};\n headers?: {};\n}\n\nexport interface IGetPayload {\n url: string;\n options?: {};\n headers?: {};\n params?: {};\n}\n\nexport interface IRequestOptions {\n debounceInterval?: number;\n}\n\nexport type HeaderType = 'Business-Unit' | 'Authorization' | 'AuthorizationToken' | 'ClientId';\nexport type HeaderObject = { [key in HeaderType]?: string };\nexport type IHeaderSetter = () => Promise;\nexport type IRequestTransformerConfig = { url: string } & RequestInit;\nexport type IRequestTransformer = (config: IRequestTransformerConfig) => Promise;\n\nexport interface IHttpTransport {\n getStaticGlobalHeaders(): HeaderObject;\n setBaseUrl(baseUrl: string): void;\n addGlobalHeaders(headers: HeaderObject): void;\n removeGlobalHeader(headerName: string): void;\n addGlobalHeaderSetter(setter: IHeaderSetter): void;\n removeGlobalHeaderSetter(setter: IHeaderSetter): void;\n addRequestTransformer(transformer: IRequestTransformer): void;\n removeRequestTransformer(transformer: IRequestTransformer): void;\n delete(payload: string | IPayload): Promise;\n post(payload: IPayload): Promise;\n patch(payload: IPayload): Promise;\n put(payload: IPayload): Promise;\n get(payload: string | IGetPayload, IRequestOptions?: IRequestOptions): Promise;\n readonly isAuthFailureHandlingEnabled: boolean;\n setAuthFailureHandlingEnabled(enabled: boolean): void;\n}\n\nexport interface IUtagData {\n [key: string]: string | string[] | undefined | boolean | number | null | number[];\n}\nexport interface IUtagCfgOvrd {\n noview: boolean;\n dom_complete?: boolean;\n lowerqp?: boolean;\n noload?: boolean | number;\n nocookie?: boolean;\n readywait?: boolean | number;\n waittimer?: number;\n}\nexport interface IUtag {\n link(data: IUtagData, cb?: Function): void;\n view(data: IUtagData, cb?: Function): void;\n}\n\nexport interface IFrontendLogger {\n isEnabled?: boolean;\n loggedServices?: {\n [key: string]: {\n isEnabled?: boolean;\n };\n };\n}\n\ninterface ILoggerApiSDK {\n sendLog: Function;\n}\ninterface IDrupalSite {\n translations?: any;\n trackingDataLayer?: any;\n client?: {\n subdomain?: string;\n isMobile?: number;\n };\n frontendLogger?: IFrontendLogger;\n}\nexport type AnyObject = { [key: string]: any };\ntype ITranslationsCollection = { [key: string]: string | IObjectOfStrings };\ntype ViewDataPreloader = {\n addConfigs(configs: AnyObject): void;\n addTranslations(translations: ITranslationsCollection): void;\n getPreloadedConfigs(arg: string[]): AnyObject | null;\n getPreloadedTranslations(arg: string[]): ITranslationsCollection | null;\n preload(): Promise;\n registerTranslationFieldsToPreload(fields?: string[]): void;\n registerConfigFieldsToPreload(fields?: string[]): void;\n};\ninterface IComponentRenderer {\n init(): Promise;\n getDataPreloader(): ViewDataPreloader | null;\n setDataPreloader(arg: ViewDataPreloader): void;\n}\n\ntype IObjectLike = { [key: string]: any } | null;\nexport interface IViewManager {\n loadComponent(): Promise;\n module: React.ComponentType | null;\n controllerFromView: IComponentViewController | null;\n}\nexport interface IViewsManager {\n lazyServicesStarted: boolean;\n getViewManager(viewName: string): IViewManager;\n startService(service: AllServicesTypes): Promise;\n startLazyServices(): Promise;\n}\ndeclare global {\n // Augment Node.js `global`\n namespace NodeJS {\n interface Global {\n ServiceBusTopics: IServiceBusTopics;\n ServiceRegistry: IServiceRegistry;\n GlobalServiceBus: ServiceBus;\n HttpTransport: IHttpTransport;\n __translationsCache__: { [key: string]: string };\n __configsCache__: { [key: string]: any };\n getPreloadedConfigs(fields?: string[]): IObjectLike;\n addConfigs(configs: object): void;\n getPreloadedTranslations(fields?: string[]): IObjectLike;\n addTranslations(translations: object): void;\n replaceSrc(originalSrc: string): string;\n utag_data: IUtagData;\n utag_cfg_ovrd: IUtagCfgOvrd;\n utag: IUtag;\n site?: IDrupalSite;\n location: Location;\n navigator: Navigator;\n ComponentRenderer: IComponentRenderer;\n ViewsManager: IViewsManager;\n registerTranslationFieldsToPreload: Function;\n registerConfigFieldsToPreload: Function;\n serviceInfo: IServiceInfo;\n getServiceVersions(): void;\n __ssr: boolean;\n onerror(\n message: string,\n url: string,\n line: number,\n column: number,\n error: Error\n ): boolean;\n env: string;\n buid: string;\n loggerApiSDK: ILoggerApiSDK;\n requestIdleCallback: Function;\n cancelIdleCallback: Function;\n }\n }\n\n // Augment Browser `window`\n interface Window {\n ServiceBusTopics: IServiceBusTopics;\n __translationsCache__: { [key: string]: string };\n __configsCache__: { [key: string]: any };\n getPreloadedConfigs(fields?: string[]): IObjectLike;\n addConfigs(configs: object): void;\n getPreloadedTranslations(fields?: string[]): IObjectLike;\n addTranslations(translations: object): void;\n ServiceRegistry: IServiceRegistry;\n GlobalServiceBus: ServiceBus;\n HttpTransport: IHttpTransport;\n replaceSrc(originalSrc: string): string;\n utag_data: any;\n utag_cfg_ovrd: IUtagCfgOvrd;\n utag: IUtag;\n location: Location;\n site?: IDrupalSite;\n addEventListener(a: string, b: Function): void;\n ComponentRenderer: IComponentRenderer;\n ViewsManager: IViewsManager;\n registerTranslationFieldsToPreload: Function;\n registerConfigFieldsToPreload: Function;\n getServiceVersions(): void;\n __ssr: boolean;\n onerror(message: string, url: string, line: number, column: number, error: Error): boolean;\n env: string;\n buid: string;\n serviceInfo: IServiceInfo;\n loggerApiSDK: ILoggerApiSDK;\n requestIdleCallback: Function;\n cancelIdleCallback: Function;\n }\n\n // Augment Web Worker `self`\n interface WorkerGlobalScope {\n ServiceBusTopics: IServiceBusTopics;\n ServiceRegistry: IServiceRegistry;\n GlobalServiceBus: ServiceBus;\n HttpTransport: IHttpTransport;\n __translationsCache__: { [key: string]: string };\n __configsCache__: { [key: string]: any };\n getPreloadedConfigs(fields?: string[]): IObjectLike;\n addConfigs(configs: object): void;\n getPreloadedTranslations(fields?: string[]): IObjectLike;\n addTranslations(translations: object): void;\n replaceSrc(originalSrc: string): string;\n utag_data: IUtagData;\n utag_cfg_ovrd: IUtagCfgOvrd;\n utag: IUtag;\n location: Location;\n addEventListener(a: string, b: Function): void;\n ComponentRenderer: IComponentRenderer;\n ViewsManager: IViewsManager;\n registerTranslationFieldsToPreload: Function;\n registerConfigFieldsToPreload: Function;\n }\n}\n\nexport const isWebRendered = typeof self === 'object' && self.self === self;\n\nexport const root: NodeJS.Global | Window = typeof window === 'undefined' ? global : window;\n\nexport const setupServiceInfo = (serviceInfo: ISingleServiceInfo) => {\n const { name, ...rest } = serviceInfo;\n\n root.serviceInfo = root.serviceInfo || {};\n root.serviceInfo[name] = rest;\n};\n\nexport enum ISandboxEnvironment {\n LIVE = 'live',\n FEATURE = 'feature',\n DEV = 'dev',\n STAGE = 'stage',\n CMS = 'cms',\n PERSONAL = 'personal',\n PRODUCTION = 'production'\n}\n\nexport const getSandboxEnvironment: () => string = () => {\n let urlParts = root.location.hostname.split('.');\n const { LIVE, FEATURE, DEV, STAGE, CMS, PERSONAL } = ISandboxEnvironment;\n\n urlParts = urlParts.filter(part => !['www', 'm'].includes(part));\n const isLive = !(urlParts[0] === 'c') && !(urlParts[0] === 'e');\n\n return isLive\n ? LIVE\n : urlParts.includes(FEATURE)\n ? FEATURE\n : urlParts.includes(DEV)\n ? DEV\n : urlParts.includes(STAGE)\n ? STAGE\n : urlParts.includes(CMS)\n ? CMS\n : PERSONAL;\n};\n","/* eslint-disable @typescript-eslint/no-explicit-any */\nimport { LoadableComponent } from '@loadable/component';\n\nexport const SERVICE_VIEW_CLASSNAME = 'elc-service-view-renderer';\nexport const SERVICE_VIEW_RENDERED_ATTRIBUTE = 'data-rendered-view';\n\nexport interface ICachedComponentsRegistry {\n [key: string]: React.ComponentType;\n}\n\nexport type RegisteredComponent = () => Promise<{\n ['default']: React.ComponentType;\n}>;\n\ntype AnyObject = { [key: string]: any };\n\nexport interface IAppConfig extends AnyObject {\n env?: string;\n businessUnitId?: string;\n}\n\nexport type ServiceInitializer = (config: IAppConfig) => Promise | void;\n\nexport interface IViewControllerData {\n [key: string]: any;\n}\n\nexport type ViewControllerLoadedMethod = (...args: any[]) => Promise;\n\nexport interface IComponentViewController {\n id?: string;\n loaded?: ViewControllerLoadedMethod;\n data?: IViewControllerData;\n dataState?: IViewControllerData;\n configMergeStrategy?: Function;\n initialize?(...args: any[]): void;\n handleState?(...args: any[]): void;\n setSSRState(data: IViewControllerData): void;\n setId(id: string): void;\n isLoading: boolean;\n}\n\nexport interface IComponent {\n componentName: string;\n component: LoadableComponent;\n viewController?(): IComponentViewController;\n}\n\nexport interface IComponentRegistry {\n [key: string]: IComponent;\n}\n\nexport interface IFederatedService {\n isStarted: true;\n name: string;\n version: string;\n views: string[];\n}\ninterface IBaseServiceRegistryComp {\n isStarted: boolean;\n name: string;\n isLazy?: boolean;\n start(appConfig: IAppConfig): Promise;\n startPromise?: Promise;\n version: string;\n views: string[];\n}\n\nexport type IManifestService = {\n events: string[];\n queries: string[];\n};\n\ntype BaseServiceRegistryComponent = {\n cachedComponentsRegistry: ICachedComponentsRegistry;\n componentsRegistry: IComponentRegistry;\n getView(componentName: string): IComponent | null;\n getViewFromCache(componentName: string): React.ComponentType | null;\n registerView(\n componentName: string,\n component: RegisteredComponent,\n viewController?: () => IComponentViewController\n ): void;\n serviceInitializer: ServiceInitializer;\n serviceBusController?: any;\n setViewInCache(componentName: string, component: React.ComponentType): void;\n};\n// Exported object by the createServiceManifest method\nexport type IManifestServiceRegistryComp = IBaseServiceRegistryComp & IManifestService;\n// Service exported by the register method after applying the manifest\nexport type ILazyServiceRegistryComponent = BaseServiceRegistryComponent &\n IManifestServiceRegistryComp;\n// Service exported by the register method if manifest is not applied (non lazy service)\nexport type IServiceRegistryComponent = BaseServiceRegistryComponent & IBaseServiceRegistryComp;\n\n// Remove after SDFEFND-1853\n// Exported from older versions of the register method (elc-service < v7)\nexport interface IOlderServiceRegistryComponent\n extends Omit<\n IServiceRegistryComponent,\n 'getView' | 'start' | 'views' | 'isLazy' | 'startPromise'\n > {\n getView(componentName: string): IComponent | undefined;\n start(appConfig: IAppConfig): Promise;\n // These keys doesn't exist but this will avoid TS errors\n views?: string[];\n isLazy?: boolean;\n}\n\nexport type AllUpdatedServicesTypes =\n | ILazyServiceRegistryComponent\n | IManifestServiceRegistryComp\n | IServiceRegistryComponent;\n\nexport type AllServicesTypes =\n | AllUpdatedServicesTypes\n | IFederatedService\n | IOlderServiceRegistryComponent;\n\nexport interface IServiceRegistry {\n [key: string]: AllServicesTypes;\n}\n","export type storageKeyType = 'localStorage' | 'sessionStorage';\nexport namespace BrowserStorage {\n export function eraseCookie(name: string) {\n document.cookie = `${name}=; Max-Age=-99999999;`;\n }\n\n export function setCookie(name: string, value: string, daysOrDate: number | Date) {\n let expires = '';\n if (daysOrDate) {\n const expirationDate =\n typeof daysOrDate === 'number'\n ? new Date(Date.now() + daysOrDate * 24 * 60 * 60 * 1000)\n : daysOrDate;\n expires = `; expires=${expirationDate.toUTCString()}`;\n }\n document.cookie = `${name}=${value || ''}${expires};path=/`;\n }\n\n export function getCookie(name: string) {\n const nameEQ = `${name}=`;\n const ca = document.cookie.split(';');\n // eslint-disable-next-line @typescript-eslint/prefer-for-of\n for (let i = 0; i < ca.length; i++) {\n let c = ca[i];\n while (c.charAt(0) === ' ') {\n c = c.substring(1, c.length);\n }\n if (c.indexOf(nameEQ) === 0) {\n return c.substring(nameEQ.length, c.length);\n }\n }\n\n return null;\n }\n\n export function getItem(key: string, storageKey: storageKeyType = 'localStorage') {\n try {\n if (window[storageKey].getItem(key) !== null) {\n return window[storageKey].getItem(key);\n }\n } catch (e) {\n console.error(e);\n\n return getCookie(key);\n }\n }\n\n export function setItem(\n key: string,\n value: string,\n storageKey: storageKeyType = 'localStorage'\n ) {\n try {\n window[storageKey].setItem(key, value);\n } catch (e) {\n console.error(e);\n setCookie(key, value, 20);\n }\n }\n\n export function removeItem(key: string, storageKey: storageKeyType = 'localStorage') {\n try {\n window[storageKey].removeItem(key);\n } catch (e) {\n console.error(e);\n eraseCookie(key);\n }\n }\n\n export function storagePolling(key: string, callBack: Function) {\n let storageValue = getItem(key);\n\n const checkForKeyChange = () => {\n const latestValue = getItem(key);\n\n if (storageValue !== latestValue) {\n storageValue = latestValue;\n callBack(latestValue);\n }\n };\n\n return setInterval(checkForKeyChange, 2000);\n }\n}\n","import { root, ISingleServiceInfo } from '../UniversalUtils';\n\nconst extractServiceVersion = (serviceInfo: ISingleServiceInfo) =>\n serviceInfo && serviceInfo.version;\n\nconst searchForServiceInfo = (serviceName: string) => {\n root.serviceInfo = root.serviceInfo || {};\n root.ServiceRegistry = root.ServiceRegistry || {};\n\n return root.serviceInfo[serviceName] || root.ServiceRegistry[serviceName];\n};\n\nexport const getServiceVersion = (serviceName: string, fallback: string = '') =>\n extractServiceVersion(searchForServiceInfo(serviceName)) || fallback;\n","import {\n IAppConfig,\n IFederatedService,\n ServiceInitializer,\n root\n} from '@estee/elc-universal-utils';\nimport { ELCLogger, TriggerType } from '@estee/elc-logging';\n\nroot.ServiceRegistry = root.ServiceRegistry || {};\n\nexport abstract class BaseService {\n private startPromise: Promise;\n public isStarted: boolean = false;\n protected logger: ELCLogger;\n\n static setViews(serviceName: string, name: string, version: string, views: string[]) {\n root.ServiceRegistry[serviceName] = {\n name,\n version,\n views,\n isStarted: true\n } as IFederatedService;\n }\n\n constructor(\n public name: string,\n private version: string,\n private serviceInitializer: ServiceInitializer\n ) {}\n\n private async initializeService(appConfig: IAppConfig): Promise {\n try {\n await this.serviceInitializer(appConfig);\n this.isStarted = true;\n } catch (error) {\n this.logger.error({\n message: `Could not start service ${this.name}`,\n triggerType: TriggerType.render,\n payload: {\n error,\n context: {\n serviceRegistry: root.ServiceRegistry\n }\n }\n });\n } finally {\n this.isStarted = true;\n }\n }\n\n public start = (appConfig: IAppConfig): Promise => {\n if (!this.startPromise && !this.isStarted) {\n this.logger =\n this.logger ||\n new ELCLogger({\n serviceName: this.name,\n environment: appConfig.env || root.env,\n buid: appConfig.businessUnitId || root.buid,\n serviceVersion: this.version\n });\n\n this.startPromise = this.initializeService(appConfig);\n }\n\n return this.startPromise as Promise;\n };\n}\n","import { BaseService } from '@estee/elc-service';\nimport { ServiceInitializer } from '@estee/elc-universal-utils';\n\nconst { name, version } = __serviceInfo__;\n\nexport class ProductService extends BaseService {\n constructor(serviceInitializer: ServiceInitializer) {\n super(name, version, serviceInitializer);\n }\n}\n\nexport default {\n pubSub: 'PUB_SUB_CLIENT',\n prodcatApiSdk: 'PRODCAT_API_SDK',\n serviceBusController: 'SERVICE_BUS_CONTROLLER',\n productService: 'PRODUCT_SERVICE',\n productSkuRepository: 'PRODUCT_SKU_REPOSITORY',\n productCTAViewController: 'PRODUCT_CTA_VIEW_CONTROLLER',\n productFullViewController: 'PRODUCT_FULL_VIEW_CONTROLLER',\n zoomViewBaseController: 'ZOOM_VIEW_BASE_CONTROLLER',\n productZoomButtonViewController: 'PRODUCT_ZOOM_BUTTON_VIEW_CONTROLLER',\n productBriefViewController: 'PRODUCT_BRIEF_VIEW_CONTROLLER',\n productGridViewController: 'PRODUCT_GRID_VIEW_CONTROLLER',\n productRepository: 'PRODUCT_REPOSITORY',\n inventoryRepository: 'INVENTORY_REPOSITORY',\n productCrossSellViewController: 'PRODUCT_CROSS_SELL_VIEW_CONTROLLER',\n cartLimitReachedModalController: 'CART_LIMIT_REACHED_MODAL_CONTROLLER',\n productQuickViewController: 'PRODUCT_QUICK_VIEW_CONTROLLER',\n productFiltersViewController: 'PRODUCT_FILTERS_VIEW_CONTROLLER',\n productShadesSidebarViewController: 'PRODUCT_SHADES_SIDEBAR_VIEW_CONTROLLER',\n productZoomViewController: 'PRODUCT_ZOOM_VIEW_CONTROLLER',\n filterService: 'FILTER_SERVICE',\n businessUnitIdParser: 'BUSINESS_UNIT_ID_PARSER',\n config: 'CONFIG',\n configRepository: 'CONFIG_REPOSITORY',\n productGridSettings: 'MPP_SETTINGS',\n productSelectionRepository: 'PRODUCT_SELECTION_REPOSITORY',\n queryFragments: 'QUERY_FRAGMENTS',\n dateFormatter: 'DATE_FORMATTER',\n priceFormatter: 'PRICE_FORMATTER',\n productInstallmentsPriceViewController: 'PRODUCT_INSTALLMENTS_PRICE_VIEW_CONTROLLER',\n productEngravingViewController: 'PRODUCT_ENGRAVING_VIEW_CONTROLLER',\n productFullService: 'PRODUCT_FULL_SERVICE',\n productGridService: 'PRODUCT_GRID_SERVICE',\n productSortingService: 'PRODUCT_SORTING_SERVICE',\n productShadePickerViewController: 'PRODUCT_SHADE_PICKER_VIEW_CONTROLLER',\n productShadePickerComponentViewController: 'PRODUCT_SHADE_PICKER_CONMPONENT_VIEW_CONTROLLER',\n productBasicInfoViewController: 'PRODUCT_BASIC_INFO_VIEW_CONTROLLER',\n productImagesSliderViewController: 'PRODUCT_IMAGES_SLIDER_VIEW_CONTROLLER',\n productSizePickerViewController: 'PRODUCT_SIZE_PICKER_VIEW_CONTROLLER',\n comparisonItemViewController: 'COMPARISON_ITEM_VIEW_CONTROLLER',\n productComparisonModuleViewController: 'PRODUCT_COMPARISON_MODULE_VIEW_CONTROLLER',\n urlFormatter: 'URL_FORMATTER',\n stickyContainerFeatureViewController: 'STICKY_CONTAINER_FEATURE_VIEW_CONTROLLER',\n skuPickerViewController: 'SKU_PICKER_VIEW_CONTROLLER',\n shadeFiltersViewController: 'SHADE_FILTERS_VIEW_CONTROLLER'\n};\n","/* eslint-env browser */\n\n/**\n * This is the web browser implementation of `debug()`.\n */\n\nexports.formatArgs = formatArgs;\nexports.save = save;\nexports.load = load;\nexports.useColors = useColors;\nexports.storage = localstorage();\nexports.destroy = (() => {\n\tlet warned = false;\n\n\treturn () => {\n\t\tif (!warned) {\n\t\t\twarned = true;\n\t\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t\t}\n\t};\n})();\n\n/**\n * Colors.\n */\n\nexports.colors = [\n\t'#0000CC',\n\t'#0000FF',\n\t'#0033CC',\n\t'#0033FF',\n\t'#0066CC',\n\t'#0066FF',\n\t'#0099CC',\n\t'#0099FF',\n\t'#00CC00',\n\t'#00CC33',\n\t'#00CC66',\n\t'#00CC99',\n\t'#00CCCC',\n\t'#00CCFF',\n\t'#3300CC',\n\t'#3300FF',\n\t'#3333CC',\n\t'#3333FF',\n\t'#3366CC',\n\t'#3366FF',\n\t'#3399CC',\n\t'#3399FF',\n\t'#33CC00',\n\t'#33CC33',\n\t'#33CC66',\n\t'#33CC99',\n\t'#33CCCC',\n\t'#33CCFF',\n\t'#6600CC',\n\t'#6600FF',\n\t'#6633CC',\n\t'#6633FF',\n\t'#66CC00',\n\t'#66CC33',\n\t'#9900CC',\n\t'#9900FF',\n\t'#9933CC',\n\t'#9933FF',\n\t'#99CC00',\n\t'#99CC33',\n\t'#CC0000',\n\t'#CC0033',\n\t'#CC0066',\n\t'#CC0099',\n\t'#CC00CC',\n\t'#CC00FF',\n\t'#CC3300',\n\t'#CC3333',\n\t'#CC3366',\n\t'#CC3399',\n\t'#CC33CC',\n\t'#CC33FF',\n\t'#CC6600',\n\t'#CC6633',\n\t'#CC9900',\n\t'#CC9933',\n\t'#CCCC00',\n\t'#CCCC33',\n\t'#FF0000',\n\t'#FF0033',\n\t'#FF0066',\n\t'#FF0099',\n\t'#FF00CC',\n\t'#FF00FF',\n\t'#FF3300',\n\t'#FF3333',\n\t'#FF3366',\n\t'#FF3399',\n\t'#FF33CC',\n\t'#FF33FF',\n\t'#FF6600',\n\t'#FF6633',\n\t'#FF9900',\n\t'#FF9933',\n\t'#FFCC00',\n\t'#FFCC33'\n];\n\n/**\n * Currently only WebKit-based Web Inspectors, Firefox >= v31,\n * and the Firebug extension (any Firefox version) are known\n * to support \"%c\" CSS customizations.\n *\n * TODO: add a `localStorage` variable to explicitly enable/disable colors\n */\n\n// eslint-disable-next-line complexity\nfunction useColors() {\n\t// NB: In an Electron preload script, document will be defined but not fully\n\t// initialized. Since we know we're in Chrome, we'll just detect this case\n\t// explicitly\n\tif (typeof window !== 'undefined' && window.process && (window.process.type === 'renderer' || window.process.__nwjs)) {\n\t\treturn true;\n\t}\n\n\t// Internet Explorer and Edge do not support colors.\n\tif (typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/(edge|trident)\\/(\\d+)/)) {\n\t\treturn false;\n\t}\n\n\t// Is webkit? http://stackoverflow.com/a/16459606/376773\n\t// document is undefined in react-native: https://github.com/facebook/react-native/pull/1632\n\treturn (typeof document !== 'undefined' && document.documentElement && document.documentElement.style && document.documentElement.style.WebkitAppearance) ||\n\t\t// Is firebug? http://stackoverflow.com/a/398120/376773\n\t\t(typeof window !== 'undefined' && window.console && (window.console.firebug || (window.console.exception && window.console.table))) ||\n\t\t// Is firefox >= v31?\n\t\t// https://developer.mozilla.org/en-US/docs/Tools/Web_Console#Styling_messages\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/firefox\\/(\\d+)/) && parseInt(RegExp.$1, 10) >= 31) ||\n\t\t// Double check webkit in userAgent just in case we are in a worker\n\t\t(typeof navigator !== 'undefined' && navigator.userAgent && navigator.userAgent.toLowerCase().match(/applewebkit\\/(\\d+)/));\n}\n\n/**\n * Colorize log arguments if enabled.\n *\n * @api public\n */\n\nfunction formatArgs(args) {\n\targs[0] = (this.useColors ? '%c' : '') +\n\t\tthis.namespace +\n\t\t(this.useColors ? ' %c' : ' ') +\n\t\targs[0] +\n\t\t(this.useColors ? '%c ' : ' ') +\n\t\t'+' + module.exports.humanize(this.diff);\n\n\tif (!this.useColors) {\n\t\treturn;\n\t}\n\n\tconst c = 'color: ' + this.color;\n\targs.splice(1, 0, c, 'color: inherit');\n\n\t// The final \"%c\" is somewhat tricky, because there could be other\n\t// arguments passed either before or after the %c, so we need to\n\t// figure out the correct index to insert the CSS into\n\tlet index = 0;\n\tlet lastC = 0;\n\targs[0].replace(/%[a-zA-Z%]/g, match => {\n\t\tif (match === '%%') {\n\t\t\treturn;\n\t\t}\n\t\tindex++;\n\t\tif (match === '%c') {\n\t\t\t// We only are interested in the *last* %c\n\t\t\t// (the user may have provided their own)\n\t\t\tlastC = index;\n\t\t}\n\t});\n\n\targs.splice(lastC, 0, c);\n}\n\n/**\n * Invokes `console.debug()` when available.\n * No-op when `console.debug` is not a \"function\".\n * If `console.debug` is not available, falls back\n * to `console.log`.\n *\n * @api public\n */\nexports.log = console.debug || console.log || (() => {});\n\n/**\n * Save `namespaces`.\n *\n * @param {String} namespaces\n * @api private\n */\nfunction save(namespaces) {\n\ttry {\n\t\tif (namespaces) {\n\t\t\texports.storage.setItem('debug', namespaces);\n\t\t} else {\n\t\t\texports.storage.removeItem('debug');\n\t\t}\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\n/**\n * Load `namespaces`.\n *\n * @return {String} returns the previously persisted debug modes\n * @api private\n */\nfunction load() {\n\tlet r;\n\ttry {\n\t\tr = exports.storage.getItem('debug');\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n\n\t// If debug isn't set in LS, and we're in Electron, try to load $DEBUG\n\tif (!r && typeof process !== 'undefined' && 'env' in process) {\n\t\tr = process.env.DEBUG;\n\t}\n\n\treturn r;\n}\n\n/**\n * Localstorage attempts to return the localstorage.\n *\n * This is necessary because safari throws\n * when a user disables cookies/localstorage\n * and you attempt to access it.\n *\n * @return {LocalStorage}\n * @api private\n */\n\nfunction localstorage() {\n\ttry {\n\t\t// TVMLKit (Apple TV JS Runtime) does not have a window object, just localStorage in the global context\n\t\t// The Browser also has localStorage in the global context.\n\t\treturn localStorage;\n\t} catch (error) {\n\t\t// Swallow\n\t\t// XXX (@Qix-) should we be logging these?\n\t}\n}\n\nmodule.exports = require('./common')(exports);\n\nconst {formatters} = module.exports;\n\n/**\n * Map %j to `JSON.stringify()`, since no Web Inspectors do that by default.\n */\n\nformatters.j = function (v) {\n\ttry {\n\t\treturn JSON.stringify(v);\n\t} catch (error) {\n\t\treturn '[UnexpectedJSONParseError]: ' + error.message;\n\t}\n};\n","\n/**\n * This is the common logic for both the Node.js and web browser\n * implementations of `debug()`.\n */\n\nfunction setup(env) {\n\tcreateDebug.debug = createDebug;\n\tcreateDebug.default = createDebug;\n\tcreateDebug.coerce = coerce;\n\tcreateDebug.disable = disable;\n\tcreateDebug.enable = enable;\n\tcreateDebug.enabled = enabled;\n\tcreateDebug.humanize = require('ms');\n\tcreateDebug.destroy = destroy;\n\n\tObject.keys(env).forEach(key => {\n\t\tcreateDebug[key] = env[key];\n\t});\n\n\t/**\n\t* The currently active debug mode names, and names to skip.\n\t*/\n\n\tcreateDebug.names = [];\n\tcreateDebug.skips = [];\n\n\t/**\n\t* Map of special \"%n\" handling functions, for the debug \"format\" argument.\n\t*\n\t* Valid key names are a single, lower or upper-case letter, i.e. \"n\" and \"N\".\n\t*/\n\tcreateDebug.formatters = {};\n\n\t/**\n\t* Selects a color for a debug namespace\n\t* @param {String} namespace The namespace string for the for the debug instance to be colored\n\t* @return {Number|String} An ANSI color code for the given namespace\n\t* @api private\n\t*/\n\tfunction selectColor(namespace) {\n\t\tlet hash = 0;\n\n\t\tfor (let i = 0; i < namespace.length; i++) {\n\t\t\thash = ((hash << 5) - hash) + namespace.charCodeAt(i);\n\t\t\thash |= 0; // Convert to 32bit integer\n\t\t}\n\n\t\treturn createDebug.colors[Math.abs(hash) % createDebug.colors.length];\n\t}\n\tcreateDebug.selectColor = selectColor;\n\n\t/**\n\t* Create a debugger with the given `namespace`.\n\t*\n\t* @param {String} namespace\n\t* @return {Function}\n\t* @api public\n\t*/\n\tfunction createDebug(namespace) {\n\t\tlet prevTime;\n\t\tlet enableOverride = null;\n\n\t\tfunction debug(...args) {\n\t\t\t// Disabled?\n\t\t\tif (!debug.enabled) {\n\t\t\t\treturn;\n\t\t\t}\n\n\t\t\tconst self = debug;\n\n\t\t\t// Set `diff` timestamp\n\t\t\tconst curr = Number(new Date());\n\t\t\tconst ms = curr - (prevTime || curr);\n\t\t\tself.diff = ms;\n\t\t\tself.prev = prevTime;\n\t\t\tself.curr = curr;\n\t\t\tprevTime = curr;\n\n\t\t\targs[0] = createDebug.coerce(args[0]);\n\n\t\t\tif (typeof args[0] !== 'string') {\n\t\t\t\t// Anything else let's inspect with %O\n\t\t\t\targs.unshift('%O');\n\t\t\t}\n\n\t\t\t// Apply any `formatters` transformations\n\t\t\tlet index = 0;\n\t\t\targs[0] = args[0].replace(/%([a-zA-Z%])/g, (match, format) => {\n\t\t\t\t// If we encounter an escaped % then don't increase the array index\n\t\t\t\tif (match === '%%') {\n\t\t\t\t\treturn '%';\n\t\t\t\t}\n\t\t\t\tindex++;\n\t\t\t\tconst formatter = createDebug.formatters[format];\n\t\t\t\tif (typeof formatter === 'function') {\n\t\t\t\t\tconst val = args[index];\n\t\t\t\t\tmatch = formatter.call(self, val);\n\n\t\t\t\t\t// Now we need to remove `args[index]` since it's inlined in the `format`\n\t\t\t\t\targs.splice(index, 1);\n\t\t\t\t\tindex--;\n\t\t\t\t}\n\t\t\t\treturn match;\n\t\t\t});\n\n\t\t\t// Apply env-specific formatting (colors, etc.)\n\t\t\tcreateDebug.formatArgs.call(self, args);\n\n\t\t\tconst logFn = self.log || createDebug.log;\n\t\t\tlogFn.apply(self, args);\n\t\t}\n\n\t\tdebug.namespace = namespace;\n\t\tdebug.useColors = createDebug.useColors();\n\t\tdebug.color = createDebug.selectColor(namespace);\n\t\tdebug.extend = extend;\n\t\tdebug.destroy = createDebug.destroy; // XXX Temporary. Will be removed in the next major release.\n\n\t\tObject.defineProperty(debug, 'enabled', {\n\t\t\tenumerable: true,\n\t\t\tconfigurable: false,\n\t\t\tget: () => enableOverride === null ? createDebug.enabled(namespace) : enableOverride,\n\t\t\tset: v => {\n\t\t\t\tenableOverride = v;\n\t\t\t}\n\t\t});\n\n\t\t// Env-specific initialization logic for debug instances\n\t\tif (typeof createDebug.init === 'function') {\n\t\t\tcreateDebug.init(debug);\n\t\t}\n\n\t\treturn debug;\n\t}\n\n\tfunction extend(namespace, delimiter) {\n\t\tconst newDebug = createDebug(this.namespace + (typeof delimiter === 'undefined' ? ':' : delimiter) + namespace);\n\t\tnewDebug.log = this.log;\n\t\treturn newDebug;\n\t}\n\n\t/**\n\t* Enables a debug mode by namespaces. This can include modes\n\t* separated by a colon and wildcards.\n\t*\n\t* @param {String} namespaces\n\t* @api public\n\t*/\n\tfunction enable(namespaces) {\n\t\tcreateDebug.save(namespaces);\n\n\t\tcreateDebug.names = [];\n\t\tcreateDebug.skips = [];\n\n\t\tlet i;\n\t\tconst split = (typeof namespaces === 'string' ? namespaces : '').split(/[\\s,]+/);\n\t\tconst len = split.length;\n\n\t\tfor (i = 0; i < len; i++) {\n\t\t\tif (!split[i]) {\n\t\t\t\t// ignore empty strings\n\t\t\t\tcontinue;\n\t\t\t}\n\n\t\t\tnamespaces = split[i].replace(/\\*/g, '.*?');\n\n\t\t\tif (namespaces[0] === '-') {\n\t\t\t\tcreateDebug.skips.push(new RegExp('^' + namespaces.substr(1) + '$'));\n\t\t\t} else {\n\t\t\t\tcreateDebug.names.push(new RegExp('^' + namespaces + '$'));\n\t\t\t}\n\t\t}\n\t}\n\n\t/**\n\t* Disable debug output.\n\t*\n\t* @return {String} namespaces\n\t* @api public\n\t*/\n\tfunction disable() {\n\t\tconst namespaces = [\n\t\t\t...createDebug.names.map(toNamespace),\n\t\t\t...createDebug.skips.map(toNamespace).map(namespace => '-' + namespace)\n\t\t].join(',');\n\t\tcreateDebug.enable('');\n\t\treturn namespaces;\n\t}\n\n\t/**\n\t* Returns true if the given mode name is enabled, false otherwise.\n\t*\n\t* @param {String} name\n\t* @return {Boolean}\n\t* @api public\n\t*/\n\tfunction enabled(name) {\n\t\tif (name[name.length - 1] === '*') {\n\t\t\treturn true;\n\t\t}\n\n\t\tlet i;\n\t\tlet len;\n\n\t\tfor (i = 0, len = createDebug.skips.length; i < len; i++) {\n\t\t\tif (createDebug.skips[i].test(name)) {\n\t\t\t\treturn false;\n\t\t\t}\n\t\t}\n\n\t\tfor (i = 0, len = createDebug.names.length; i < len; i++) {\n\t\t\tif (createDebug.names[i].test(name)) {\n\t\t\t\treturn true;\n\t\t\t}\n\t\t}\n\n\t\treturn false;\n\t}\n\n\t/**\n\t* Convert regexp to namespace\n\t*\n\t* @param {RegExp} regxep\n\t* @return {String} namespace\n\t* @api private\n\t*/\n\tfunction toNamespace(regexp) {\n\t\treturn regexp.toString()\n\t\t\t.substring(2, regexp.toString().length - 2)\n\t\t\t.replace(/\\.\\*\\?$/, '*');\n\t}\n\n\t/**\n\t* Coerce `val`.\n\t*\n\t* @param {Mixed} val\n\t* @return {Mixed}\n\t* @api private\n\t*/\n\tfunction coerce(val) {\n\t\tif (val instanceof Error) {\n\t\t\treturn val.stack || val.message;\n\t\t}\n\t\treturn val;\n\t}\n\n\t/**\n\t* XXX DO NOT USE. This is a temporary stub function.\n\t* XXX It WILL be removed in the next major release.\n\t*/\n\tfunction destroy() {\n\t\tconsole.warn('Instance method `debug.destroy()` is deprecated and no longer does anything. It will be removed in the next major version of `debug`.');\n\t}\n\n\tcreateDebug.enable(createDebug.load());\n\n\treturn createDebug;\n}\n\nmodule.exports = setup;\n","/**\n * Helpers.\n */\n\nvar s = 1000;\nvar m = s * 60;\nvar h = m * 60;\nvar d = h * 24;\nvar w = d * 7;\nvar y = d * 365.25;\n\n/**\n * Parse or format the given `val`.\n *\n * Options:\n *\n * - `long` verbose formatting [false]\n *\n * @param {String|Number} val\n * @param {Object} [options]\n * @throws {Error} throw an error if val is not a non-empty string or a number\n * @return {String|Number}\n * @api public\n */\n\nmodule.exports = function(val, options) {\n options = options || {};\n var type = typeof val;\n if (type === 'string' && val.length > 0) {\n return parse(val);\n } else if (type === 'number' && isFinite(val)) {\n return options.long ? fmtLong(val) : fmtShort(val);\n }\n throw new Error(\n 'val is not a non-empty string or a valid number. val=' +\n JSON.stringify(val)\n );\n};\n\n/**\n * Parse the given `str` and return milliseconds.\n *\n * @param {String} str\n * @return {Number}\n * @api private\n */\n\nfunction parse(str) {\n str = String(str);\n if (str.length > 100) {\n return;\n }\n var match = /^(-?(?:\\d+)?\\.?\\d+) *(milliseconds?|msecs?|ms|seconds?|secs?|s|minutes?|mins?|m|hours?|hrs?|h|days?|d|weeks?|w|years?|yrs?|y)?$/i.exec(\n str\n );\n if (!match) {\n return;\n }\n var n = parseFloat(match[1]);\n var type = (match[2] || 'ms').toLowerCase();\n switch (type) {\n case 'years':\n case 'year':\n case 'yrs':\n case 'yr':\n case 'y':\n return n * y;\n case 'weeks':\n case 'week':\n case 'w':\n return n * w;\n case 'days':\n case 'day':\n case 'd':\n return n * d;\n case 'hours':\n case 'hour':\n case 'hrs':\n case 'hr':\n case 'h':\n return n * h;\n case 'minutes':\n case 'minute':\n case 'mins':\n case 'min':\n case 'm':\n return n * m;\n case 'seconds':\n case 'second':\n case 'secs':\n case 'sec':\n case 's':\n return n * s;\n case 'milliseconds':\n case 'millisecond':\n case 'msecs':\n case 'msec':\n case 'ms':\n return n;\n default:\n return undefined;\n }\n}\n\n/**\n * Short format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtShort(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return Math.round(ms / d) + 'd';\n }\n if (msAbs >= h) {\n return Math.round(ms / h) + 'h';\n }\n if (msAbs >= m) {\n return Math.round(ms / m) + 'm';\n }\n if (msAbs >= s) {\n return Math.round(ms / s) + 's';\n }\n return ms + 'ms';\n}\n\n/**\n * Long format for `ms`.\n *\n * @param {Number} ms\n * @return {String}\n * @api private\n */\n\nfunction fmtLong(ms) {\n var msAbs = Math.abs(ms);\n if (msAbs >= d) {\n return plural(ms, msAbs, d, 'day');\n }\n if (msAbs >= h) {\n return plural(ms, msAbs, h, 'hour');\n }\n if (msAbs >= m) {\n return plural(ms, msAbs, m, 'minute');\n }\n if (msAbs >= s) {\n return plural(ms, msAbs, s, 'second');\n }\n return ms + ' ms';\n}\n\n/**\n * Pluralization helper.\n */\n\nfunction plural(ms, msAbs, n, name) {\n var isPlural = msAbs >= n * 1.5;\n return Math.round(ms / n) + ' ' + name + (isPlural ? 's' : '');\n}\n","// shim for using process in browser\nvar process = module.exports = {};\n\n// cached from whatever global is present so that test runners that stub it\n// don't break things. But we need to wrap it in a try catch in case it is\n// wrapped in strict mode code which doesn't define any globals. It's inside a\n// function because try/catches deoptimize in certain engines.\n\nvar cachedSetTimeout;\nvar cachedClearTimeout;\n\nfunction defaultSetTimout() {\n throw new Error('setTimeout has not been defined');\n}\nfunction defaultClearTimeout () {\n throw new Error('clearTimeout has not been defined');\n}\n(function () {\n try {\n if (typeof setTimeout === 'function') {\n cachedSetTimeout = setTimeout;\n } else {\n cachedSetTimeout = defaultSetTimout;\n }\n } catch (e) {\n cachedSetTimeout = defaultSetTimout;\n }\n try {\n if (typeof clearTimeout === 'function') {\n cachedClearTimeout = clearTimeout;\n } else {\n cachedClearTimeout = defaultClearTimeout;\n }\n } catch (e) {\n cachedClearTimeout = defaultClearTimeout;\n }\n} ())\nfunction runTimeout(fun) {\n if (cachedSetTimeout === setTimeout) {\n //normal enviroments in sane situations\n return setTimeout(fun, 0);\n }\n // if setTimeout wasn't available but was latter defined\n if ((cachedSetTimeout === defaultSetTimout || !cachedSetTimeout) && setTimeout) {\n cachedSetTimeout = setTimeout;\n return setTimeout(fun, 0);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedSetTimeout(fun, 0);\n } catch(e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedSetTimeout.call(null, fun, 0);\n } catch(e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error\n return cachedSetTimeout.call(this, fun, 0);\n }\n }\n\n\n}\nfunction runClearTimeout(marker) {\n if (cachedClearTimeout === clearTimeout) {\n //normal enviroments in sane situations\n return clearTimeout(marker);\n }\n // if clearTimeout wasn't available but was latter defined\n if ((cachedClearTimeout === defaultClearTimeout || !cachedClearTimeout) && clearTimeout) {\n cachedClearTimeout = clearTimeout;\n return clearTimeout(marker);\n }\n try {\n // when when somebody has screwed with setTimeout but no I.E. maddness\n return cachedClearTimeout(marker);\n } catch (e){\n try {\n // When we are in I.E. but the script has been evaled so I.E. doesn't trust the global object when called normally\n return cachedClearTimeout.call(null, marker);\n } catch (e){\n // same as above but when it's a version of I.E. that must have the global object for 'this', hopfully our context correct otherwise it will throw a global error.\n // Some versions of I.E. have different rules for clearTimeout vs setTimeout\n return cachedClearTimeout.call(this, marker);\n }\n }\n\n\n\n}\nvar queue = [];\nvar draining = false;\nvar currentQueue;\nvar queueIndex = -1;\n\nfunction cleanUpNextTick() {\n if (!draining || !currentQueue) {\n return;\n }\n draining = false;\n if (currentQueue.length) {\n queue = currentQueue.concat(queue);\n } else {\n queueIndex = -1;\n }\n if (queue.length) {\n drainQueue();\n }\n}\n\nfunction drainQueue() {\n if (draining) {\n return;\n }\n var timeout = runTimeout(cleanUpNextTick);\n draining = true;\n\n var len = queue.length;\n while(len) {\n currentQueue = queue;\n queue = [];\n while (++queueIndex < len) {\n if (currentQueue) {\n currentQueue[queueIndex].run();\n }\n }\n queueIndex = -1;\n len = queue.length;\n }\n currentQueue = null;\n draining = false;\n runClearTimeout(timeout);\n}\n\nprocess.nextTick = function (fun) {\n var args = new Array(arguments.length - 1);\n if (arguments.length > 1) {\n for (var i = 1; i < arguments.length; i++) {\n args[i - 1] = arguments[i];\n }\n }\n queue.push(new Item(fun, args));\n if (queue.length === 1 && !draining) {\n runTimeout(drainQueue);\n }\n};\n\n// v8 likes predictible objects\nfunction Item(fun, array) {\n this.fun = fun;\n this.array = array;\n}\nItem.prototype.run = function () {\n this.fun.apply(null, this.array);\n};\nprocess.title = 'browser';\nprocess.browser = true;\nprocess.env = {};\nprocess.argv = [];\nprocess.version = ''; // empty string to avoid regexp issues\nprocess.versions = {};\n\nfunction noop() {}\n\nprocess.on = noop;\nprocess.addListener = noop;\nprocess.once = noop;\nprocess.off = noop;\nprocess.removeListener = noop;\nprocess.removeAllListeners = noop;\nprocess.emit = noop;\nprocess.prependListener = noop;\nprocess.prependOnceListener = noop;\n\nprocess.listeners = function (name) { return [] }\n\nprocess.binding = function (name) {\n throw new Error('process.binding is not supported');\n};\n\nprocess.cwd = function () { return '/' };\nprocess.chdir = function (dir) {\n throw new Error('process.chdir is not supported');\n};\nprocess.umask = function() { return 0; };\n","module.exports = ElcServiceBus;","module.exports = ElcRuntime.HypoContainer;","module.exports = ElcRuntime.React;","module.exports = ElcRuntime.ReactDom;","module.exports = ElcRuntime.mobx;","module.exports = ElcRuntime.mobxReact;","module.exports = ElcRuntime.styled5;","// 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\tloaded: false,\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// Flag the module as loaded\n\tmodule.loaded = true;\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 + \".\" + {\"vendors-node_modules_estee_elc-base-theme_src_ContentSpacing_ts-node_modules_estee_elc-servic-0cebfb\":\"08fc2d0c17d35d47495f\",\"vendors-node_modules_estee_elc-formatters_src_business-unit-id-parser_BusinessUnitIdParser_ts-aad9ca\":\"0ea1302dc20500626659\",\"diContainer\":\"2ade3f6bd70c0b8e3d4e\",\"product-grid\":\"d256b6e2842c53d704be\",\"product-basic-info\":\"4bbcda48fa520b5bace7\",\"product-brief\":\"b93da9f1c3d090d781f0\",\"product-comparison-module\":\"308dd567e32539cf5678\",\"product-cross-sell\":\"a90ad507bc6c5f0df43c\",\"product-cta\":\"edfd9b521f6dfe6e3199\",\"product-full\":\"7bf8551954bee64ac91a\",\"product-media-carousel-nav\":\"e9b292c86049d9c66550\",\"product-quantity-selector\":\"149b41b8d6cadeb30a7c\",\"product-shade-picker\":\"7b481813fc593c4cd0d9\",\"product-size-picker\":\"3086578596234be5a14c\",\"product-shade-picker-button\":\"fd8addec884018796271\",\"vendors-node_modules_estee_elc-dropdown_src_views_Dropdown_tsx-node_modules_estee_elc-grid_sr-4f9255\":\"6ccf7796a57e66117647\",\"vendors-node_modules_estee_elc-buttons_src_views_Button_tsx-node_modules_estee_elc-service_sr-205228\":\"f3b620aa31a935b04206\",\"vendors-node_modules_estee_elc-checkbox_src_views_CheckBox_tsx-node_modules_estee_elc-floater-8ed5f1\":\"3eb7afb4048123dba56a\",\"src_exported_product-cta_ProductCTA_tsx\":\"b3dd6d6c3f1704e1b770\",\"src_internal_views_shade-filters_ShadeFilters_tsx\":\"fff553c200b6df43c875\",\"src_internal_views_product-carousel_ProductCarousel_tsx\":\"c828dcfcb46335668971\",\"src_exported_product-grid-wrapper_ProductGridWrapper_tsx\":\"d02fb38a4ac229c85d20\",\"src_exported_product-basic-info_ProductBasicInfo_tsx\":\"7d89cd3019919f8c5694\",\"src_exported_product-brief_ProductBrief_tsx\":\"e85ceb252a9be0eff12a\",\"src_exported_product-comparison-module_ProductComparisonModule_tsx\":\"0908025ad3f786d7e0de\",\"src_exported_product-cross-sell_ProductCrossSell_tsx\":\"4a9e7fcccf39d6c915d3\",\"src_internal_constants_CTATypes_ts-src_internal_constants_DataTestIdAttributes_ts-src_interna-71f307\":\"9721b1fc49ec2a8b4dae\",\"src_exported_product-full_ProductFull_tsx\":\"0c2bb9daf50243d7c6cd\",\"src_exported_product-image-nav-menu_ProductImageNavMenu_tsx\":\"44e8f0f2649faf4fd1a0\",\"src_exported_product-quantity-selector_ProductQuantitySelector_tsx\":\"c824ab19b47898173b34\",\"src_exported_product-size-picker-wrapper_ProductSizePickerWrapper_tsx\":\"3fb0c906183703155c4e\",\"src_internal_views_product-shade-picker_ProductShadePickerButtonWrapper_tsx\":\"8921901b18fef00fff9c\"}[chunkId] + \".bundle.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__.nmd = (module) => {\n\tmodule.paths = [];\n\tif (!module.children) module.children = [];\n\treturn module;\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\t\"elc_service_prodcat\": 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[chunkIds[i]] = 0;\n\t}\n\n}\n\nvar chunkLoadingGlobal = self[\"webpackChunkelc_service_prodcat\"] = self[\"webpackChunkelc_service_prodcat\"] || [];\nchunkLoadingGlobal.forEach(webpackJsonpCallback.bind(null, 0));\nchunkLoadingGlobal.push = webpackJsonpCallback.bind(null, chunkLoadingGlobal.push.bind(chunkLoadingGlobal));","import { ServiceManager, ServiceBusController } from '@estee/elc-service';\nimport { events, on, queryProvider, serviceQueries } from '@estee/elc-service-bus';\n\nconst queries = [\n [serviceQueries.GET_PRODUCT_DATA, 'getProductData'],\n [serviceQueries.GET_PRODUCTS, 'getProductSkus'],\n [serviceQueries.GET_PRODUCTS_V2, 'getProductsV2'],\n [serviceQueries.GET_PRODUCTS_V3, 'getProductsV3'],\n // @todo remove on MPPFIND-4454\n [serviceQueries.PAGE_VIEW_TRACK_PRODUCT_GRID, 'getAnalyticsDataForProductGrid'],\n // @todo remove on MPPFIND-4454\n [serviceQueries.PAGE_VIEW_TRACK_PRODUCT_FULL, 'getAnalyticsDataForProductFull'],\n [serviceQueries.GET_SKUS, 'getSkus'],\n [serviceQueries.GET_REVIEW_PRODUCT, 'getReviewProduct'],\n [serviceQueries.GET_SORTBY_VALUE, 'getSortbyValue']\n];\n\nconst onEvents = [[events.NAVIGATE, 'productRouting']];\nexport class ServiceBus extends ServiceBusController {\n @on(events.ECOMM_STARTED, { replay: true })\n public onEcommStarted = () => {\n queries.forEach(ServiceManager.setDecoratorOnFunction(queryProvider));\n onEvents.forEach(ServiceManager.setDecoratorOnFunction(on));\n };\n}\n\n/* eslint-disable @typescript-eslint/no-explicit-any */\ntype ServiceBusControllerBody = { [key: string]: Promise<(...args: any[]) => any> | Function };\n// @ts-ignore\nexport const serviceBusBaseClass = new ServiceBus() as ServiceBusController &\n ServiceBusControllerBody;\n","/* eslint-disable @typescript-eslint/no-empty-function */\n// eslint-disable-next-line @typescript-eslint/no-extraneous-class\nexport abstract class ServiceBusController {\n constructor() {}\n}\n","import { setupServiceInfo } from '@estee/elc-universal-utils';\nimport { ServiceManager } from '@estee/elc-service';\nimport serviceNames, { ProductService } from '~setup/ProductService';\nimport {\n PRODUCT_CTA,\n PRODUCT_FULL,\n PRODUCT_GRID,\n PRODUCT_CROSS_SELL,\n PRODUCT_MEDIA_CAROUSEL_NAV,\n PRODUCT_QUANTITY_SELECTOR,\n PRODUCT_RATING_WRAPPER,\n PRODUCT_SIZE_PICKER,\n PRODUCT_SHADE_PICKER,\n PRODUCT_SHADE_PICKER_BUTTON,\n PRODUCT_BASIC_INFO,\n PRODUCT_FULL_ORDERABLE, // @todo - remove in MPPFIND-4088\n PRODUCT_COMPARISON_MODULE,\n PRODUCT_BRIEF\n} from '@estee/elc-service-view-names';\nimport { serviceBusBaseClass } from './service-setup/ServiceBus';\n\nsetupServiceInfo(__serviceInfo__);\n\nconst { name, version } = __serviceInfo__;\n\nProductService.setViews(name, name.replace(/-/g, '_'), version, [\n PRODUCT_CTA,\n PRODUCT_BRIEF,\n PRODUCT_FULL,\n PRODUCT_GRID,\n PRODUCT_CROSS_SELL,\n PRODUCT_MEDIA_CAROUSEL_NAV,\n PRODUCT_QUANTITY_SELECTOR,\n PRODUCT_RATING_WRAPPER,\n PRODUCT_SIZE_PICKER,\n PRODUCT_SHADE_PICKER,\n PRODUCT_SHADE_PICKER_BUTTON,\n PRODUCT_BASIC_INFO,\n PRODUCT_FULL_ORDERABLE, // @todo - remove in MPPFIND-4088\n PRODUCT_COMPARISON_MODULE\n]);\n\nServiceManager.setServiceStartParams({\n serviceName: name,\n diContainerImport: () => import('~setup/diContainer'),\n serviceKey: serviceNames.productService,\n serviceBusControllerKey: serviceNames.serviceBusController,\n serviceBusBaseClass\n});\n","var moduleMap = {\n\t\"./product-grid\": () => {\n\t\treturn __webpack_require__.e(/* product-grid */ \"product-grid\").then(() => (() => ((__webpack_require__(\"./src/exported/product-grid-wrapper/index.ts\")))));\n\t},\n\t\"./product-basic-info\": () => {\n\t\treturn __webpack_require__.e(/* product-basic-info */ \"product-basic-info\").then(() => (() => ((__webpack_require__(\"./src/exported/product-basic-info/index.ts\")))));\n\t},\n\t\"./product-brief\": () => {\n\t\treturn __webpack_require__.e(/* product-brief */ \"product-brief\").then(() => (() => ((__webpack_require__(\"./src/exported/product-brief/index.ts\")))));\n\t},\n\t\"./product-comparison-module\": () => {\n\t\treturn __webpack_require__.e(/* product-comparison-module */ \"product-comparison-module\").then(() => (() => ((__webpack_require__(\"./src/exported/product-comparison-module/index.ts\")))));\n\t},\n\t\"./product-cross-sell\": () => {\n\t\treturn __webpack_require__.e(/* product-cross-sell */ \"product-cross-sell\").then(() => (() => ((__webpack_require__(\"./src/exported/product-cross-sell/index.ts\")))));\n\t},\n\t\"./product-cta\": () => {\n\t\treturn __webpack_require__.e(/* product-cta */ \"product-cta\").then(() => (() => ((__webpack_require__(\"./src/exported/product-cta/index.ts\")))));\n\t},\n\t\"./product-full\": () => {\n\t\treturn __webpack_require__.e(/* product-full */ \"product-full\").then(() => (() => ((__webpack_require__(\"./src/exported/product-full/index.ts\")))));\n\t},\n\t\"./product-full-orderable\": () => {\n\t\treturn __webpack_require__.e(/* product-full-orderable */ \"product-full\").then(() => (() => ((__webpack_require__(\"./src/exported/product-full/index.ts\")))));\n\t},\n\t\"./product-media-carousel-nav\": () => {\n\t\treturn __webpack_require__.e(/* product-media-carousel-nav */ \"product-media-carousel-nav\").then(() => (() => ((__webpack_require__(\"./src/exported/product-image-nav-menu/index.ts\")))));\n\t},\n\t\"./product-quantity-selector\": () => {\n\t\treturn __webpack_require__.e(/* product-quantity-selector */ \"product-quantity-selector\").then(() => (() => ((__webpack_require__(\"./src/exported/product-quantity-selector/index.ts\")))));\n\t},\n\t\"./product-shade-picker\": () => {\n\t\treturn __webpack_require__.e(/* product-shade-picker */ \"product-shade-picker\").then(() => (() => ((__webpack_require__(\"./src/exported/product-shade-picker/index.ts\")))));\n\t},\n\t\"./product-size-picker\": () => {\n\t\treturn __webpack_require__.e(/* product-size-picker */ \"product-size-picker\").then(() => (() => ((__webpack_require__(\"./src/exported/product-size-picker-wrapper/index.ts\")))));\n\t},\n\t\"./product-shade-picker-button\": () => {\n\t\treturn __webpack_require__.e(/* product-shade-picker-button */ \"product-shade-picker-button\").then(() => (() => ((__webpack_require__(\"./src/exported/product-shade-picker-button/index.ts\")))));\n\t},\n\t\"./diContainer\": () => {\n\t\treturn Promise.all(/* diContainer */[__webpack_require__.e(\"vendors-node_modules_estee_elc-base-theme_src_ContentSpacing_ts-node_modules_estee_elc-servic-0cebfb\"), __webpack_require__.e(\"vendors-node_modules_estee_elc-formatters_src_business-unit-id-parser_BusinessUnitIdParser_ts-aad9ca\"), __webpack_require__.e(\"diContainer\")]).then(() => (() => ((__webpack_require__(\"./src/service-setup/diContainer.tsx\")))));\n\t}\n};\nvar get = (module, getScope) => {\n\t__webpack_require__.R = getScope;\n\tgetScope = (\n\t\t__webpack_require__.o(moduleMap, module)\n\t\t\t? moduleMap[module]()\n\t\t\t: Promise.resolve().then(() => {\n\t\t\t\tthrow new Error('Module \"' + module + '\" does not exist in container.');\n\t\t\t})\n\t);\n\t__webpack_require__.R = undefined;\n\treturn getScope;\n};\nvar init = (shareScope, initScope) => {\n\tif (!__webpack_require__.S) return;\n\tvar oldScope = __webpack_require__.S[\"default\"];\n\tvar name = \"default\"\n\tif(oldScope && oldScope !== shareScope) throw new Error(\"Container initialization failed as it has already been initialized with a different share scope\");\n\t__webpack_require__.S[name] = shareScope;\n\treturn __webpack_require__.I(name, initScope);\n};\n\n// This exports getters to disallow modifications\n__webpack_require__.d(exports, {\n\tget: () => (get),\n\tinit: () => (init)\n});"],"names":["inProgress","dataWebpackPrefix","PRODUCT_GRID","PRODUCT_FULL","PRODUCT_FULL_ORDERABLE","PRODUCT_BRIEF","PRODUCT_NOTIFY_ME","PRODUCT_CROSS_SELL","PRODUCT_SIZE_PICKER","PRODUCT_QUANTITY_SELECTOR","PRODUCT_SHADE_PICKER","PRODUCT_MEDIA_CAROUSEL_NAV","PRODUCT_SHADE_PICKER_BUTTON","PRODUCT_RATING","PRODUCT_RATING_WRAPPER","PRODUCT_CTA","PRODUCT_BASIC_INFO","PRODUCT_COMPARISON_MODULE","CONTENT_BLOCK","VTO","VTO_CTA_BUTTON","SMARTGIFT","FIND_IN_STORE_BUTTON","PICK_UP_IN_STORE","AUTO_REPLENISH","isString","value","VALIDATORS","buid","Boolean","context","environment","level","message","serviceName","serviceVersion","triggerType","userAgent","LoggerApiSDK","loggingServiceUrl","queue","lastTimeExecuted","Date","now","frontendLogger","addLogToQueue","log","this","push","schedulePendingEvents","isRequestIdleCallbackScheduled","processPendingLogs","length","url","body","catch","console","error","generateRequestBody","fullData","config","logdata","payload","payloadServiceName","payloadServiceVersion","configServiceName","configServiceVersion","configBuid","configEnvironment","stringifiedError","JSON","stringify","Object","getOwnPropertyNames","date","toUTCString","siteUrl","sendLog","requestBody","isServiceEnabled","loggedServices","isEnabled","keys","reduce","acc","key","forEach","validator","requestValue","every","validate","Error","TriggerType","ELCLogger","constructor","errorDebugger","enhanceLogData","isProd","info","infoDebugger","warning","warningDebugger","event","eventDebugger","query","queryDebugger","command","commandDebugger","triggerSource","logger","debug","extend","e","api","ServiceManager","serviceHasStarted","service","isStarted","getContainer","diContainer","containerImport","setServiceStartParams","diContainerImport","serviceKey","serviceBusControllerKey","serviceBusBaseClass","getServiceBusControllerMethod","functionName","args","startService","get","call","setDecoratorOnFunction","decorator","trigger","__proto__","serviceQueries","ecommConfig","start","getController","controllerKey","self","window","g","setupServiceInfo","serviceInfo","name","rest","ISandboxEnvironment","getSandboxEnvironment","urlParts","location","hostname","split","LIVE","FEATURE","DEV","STAGE","CMS","PERSONAL","filter","part","includes","SERVICE_VIEW_CLASSNAME","SERVICE_VIEW_RENDERED_ATTRIBUTE","BrowserStorage","document","cookie","daysOrDate","expires","nameEQ","ca","i","c","charAt","substring","indexOf","storageKey","getItem","getCookie","eraseCookie","setCookie","setItem","removeItem","storagePolling","callBack","storageValue","setInterval","latestValue","getServiceVersion","fallback","extractServiceVersion","searchForServiceInfo","version","ProductService","serviceInitializer","appConfig","startPromise","env","businessUnitId","initializeService","views","serviceRegistry","super","pubSub","prodcatApiSdk","serviceBusController","productService","productSkuRepository","productCTAViewController","productFullViewController","zoomViewBaseController","productZoomButtonViewController","productBriefViewController","productGridViewController","productRepository","inventoryRepository","productCrossSellViewController","cartLimitReachedModalController","productQuickViewController","productFiltersViewController","productShadesSidebarViewController","productZoomViewController","filterService","businessUnitIdParser","configRepository","productGridSettings","productSelectionRepository","queryFragments","dateFormatter","priceFormatter","productInstallmentsPriceViewController","productEngravingViewController","productFullService","productGridService","productSortingService","productShadePickerViewController","productShadePickerComponentViewController","productBasicInfoViewController","productImagesSliderViewController","productSizePickerViewController","comparisonItemViewController","productComparisonModuleViewController","urlFormatter","stickyContainerFeatureViewController","skuPickerViewController","shadeFiltersViewController","exports","formatArgs","useColors","namespace","module","humanize","diff","color","splice","index","lastC","replace","match","save","namespaces","storage","load","r","process","DEBUG","type","__nwjs","navigator","toLowerCase","documentElement","style","WebkitAppearance","firebug","exception","table","parseInt","RegExp","$1","localStorage","localstorage","destroy","warned","warn","colors","formatters","j","v","createDebug","prevTime","enableOverride","enabled","curr","Number","ms","prev","coerce","unshift","format","formatter","val","apply","selectColor","defineProperty","enumerable","configurable","set","init","delimiter","newDebug","toNamespace","regexp","toString","default","stack","disable","names","map","skips","join","enable","len","substr","test","hash","charCodeAt","Math","abs","s","m","h","d","w","y","plural","msAbs","n","isPlural","round","options","str","String","exec","parseFloat","parse","isFinite","long","fmtLong","fmtShort","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","setTimeout","clearTimeout","currentQueue","draining","queueIndex","cleanUpNextTick","concat","drainQueue","timeout","run","marker","runClearTimeout","Item","array","noop","nextTick","Array","arguments","prototype","title","browser","argv","versions","on","addListener","once","off","removeListener","removeAllListeners","emit","prependListener","prependOnceListener","listeners","binding","cwd","chdir","dir","umask","ElcServiceBus","ElcRuntime","HypoContainer","React","ReactDom","mobx","mobxReact","styled5","__webpack_module_cache__","__webpack_require__","moduleId","cachedModule","undefined","id","loaded","__webpack_modules__","getter","__esModule","a","definition","o","f","chunkId","Promise","all","promises","u","globalThis","Function","obj","prop","hasOwnProperty","l","done","script","needAttach","scripts","getElementsByTagName","getAttribute","createElement","charset","nc","setAttribute","src","onScriptComplete","onerror","onload","doneFns","parentNode","removeChild","fn","bind","target","head","appendChild","Symbol","toStringTag","nmd","paths","children","scriptUrl","importScripts","currentScript","p","installedChunks","installedChunkData","promise","resolve","reject","errorType","realSrc","request","webpackJsonpCallback","parentChunkLoadingFunction","data","chunkIds","moreModules","runtime","some","chunkLoadingGlobal","queries","onEvents","events","ServiceBus","onEcommStarted","queryProvider","replay","moduleMap","then","getScope","R","shareScope","initScope","S","oldScope","I"],"sourceRoot":""}