{"version":3,"sources":["webpack:///ordering.js","webpack:///webpack/bootstrap 0e1772e7d04478bcaffc","webpack:///./node_modules/vue-loader/lib/component-normalizer.js","webpack:///./Vue/Src/Services/Services.js","webpack:///./Vue/Src/Services/ShopingCartService.js","webpack:///./node_modules/vue/dist/vue.esm.js","webpack:///./Vue/Src/Components/translate.vue","webpack:///./Vue/Src/Services/TranslateService.js","webpack:///(webpack)/buildin/global.js","webpack:///./node_modules/process/browser.js","webpack:///./Vue/Src/Components/basket-count.vue","webpack:///Vue/Src/Components/order-list.vue","webpack:///Vue/Src/Components/order-item.vue","webpack:///./Vue/Src/Components/Mixins/orderItemMixin.js","webpack:///./Vue/Src/Components/order-item-extra.vue","webpack:///Vue/Src/Components/order-item-extra.vue","webpack:///Vue/Src/Components/order-item-extra-container.vue","webpack:///./Vue/Src/Components/amz-spinner.vue","webpack:///Vue/Src/Components/amz-spinner.vue","webpack:///Vue/Src/Components/translate.vue","webpack:///Vue/Src/Components/autocomplete.vue","webpack:///Vue/Src/Components/mobile-navigation-bar.vue","webpack:///Vue/Src/Components/basket-count.vue","webpack:///Vue/Src/Components/delivery-methods.vue","webpack:///Vue/Src/Components/amz-cart-item.vue","webpack:///./node_modules/timers-browserify/main.js","webpack:///./Vue/Src/Components/delivery-methods.vue","webpack:///./Vue/Src/Components/order-item.vue","webpack:///./Vue/Src/Components/autocomplete.vue","webpack:///./Vue/Src/Services/Filters.js","webpack:///./node_modules/setimmediate/setImmediate.js","webpack:///./Vue/Src/Components/order-list.vue","webpack:///./Vue/Src/Components/order-item.vue?5705","webpack:///./Vue/Src/Components/order-list.vue?712b","webpack:///Vue/Src/Components/order-item-detail-overlay.vue","webpack:///./Vue/Src/Components/order-item-extra.vue?4b29","webpack:///./Vue/Src/Components/order-item-extra-container.vue","webpack:///./Vue/Src/Components/order-item-extra-container.vue?573d","webpack:///./Vue/Src/Components/amz-spinner.vue?dcf9","webpack:///./Vue/Src/Components/translate.vue?155f","webpack:///./Vue/Src/Components/autocomplete.vue?3454","webpack:///./Vue/Src/Components/mobile-navigation-bar.vue","webpack:///./Vue/Src/Components/basket-count.vue?01c6","webpack:///./Vue/Src/Components/mobile-navigation-bar.vue?a0eb","webpack:///./Vue/Src/Components/delivery-methods.vue?5305","webpack:///Vue/Src/Components/amz-cart.vue","webpack:///./Vue/Src/Components/amz-cart-item.vue","webpack:///./Vue/Src/Components/amz-cart-item.vue?4fb2","webpack:///Vue/Src/Components/amz-cart-rewardpoints.vue","webpack:///./Vue/Src/Components/order-item-detail-overlay.vue","webpack:///./Vue/Src/Components/order-item-detail-overlay.vue?1717","webpack:///./Vue/Src/Components/amz-cart.vue","webpack:///./Vue/Src/Components/amz-cart-rewardpoints.vue","webpack:///./Vue/Src/Components/amz-cart-rewardpoints.vue?1ae2","webpack:///./Vue/Src/Components/amz-cart.vue?ca22","webpack:///./Vue/Src/Services/Utils.js","webpack:///./Vue/Src/Areas/Ordering/main.js"],"names":["modules","__webpack_require__","moduleId","installedModules","exports","module","i","l","call","m","c","d","name","getter","o","Object","defineProperty","configurable","enumerable","get","n","__esModule","object","property","prototype","hasOwnProperty","p","s","rawScriptExports","compiledTemplate","functionalTemplate","injectStyles","scopeId","moduleIdentifier","esModule","scriptExports","type","default","options","render","staticRenderFns","_compiled","functional","_scopeId","hook","context","this","$vnode","ssrContext","parent","__VUE_SSR_CONTEXT__","_registeredComponents","add","_ssrRegister","existing","beforeCreate","_injectStyles","h","concat","__webpack_exports__","EventBus","Vue","services","_products","_productExtras","_allergies","_categoryId","_categoryBusy","_allergiesLoaded","_allergiesLoading","_selectedAllergyIds","_shippingMethodsLoading","_allergieCompleteQue","_serviceTimer","_detailProduct","loaded","_getAsyncView","viewName","data","enableCache","callback","complete","response","status","xhr","console","log","responseText","Date","now","error","headers","PwaEnableCache","PwaDisableCache","CultureCode","window","pwa_currentCultureName","StoreId","pwa_storeId","$","ajax","getProducts","categoryId","_complete","responseJSON","products","prepMethods","clearTimeout","setTimeout","getGridHtml","hash","loadProduct","productId","res","url","done","jqXHROrData","textStatus","jqXHROrErrorThrown","a","product","key","detailProduct","getProductExtra","id","getAllergies","allergies","vm","AllergiesLoaded","selectedIds","getSelectedAllergies","allergie","active","Id","length","pop","push","localStorage","getItem","JSON","parse","setSelectedAllergies","ids","setItem","stringify","getAllergy","getPrice","quantity","price","priceInclTax","getDefaultDishPrice","defaultDishPrice","filterProducts","newProducts","filterAllergies","valid","content","allergenen","key1","includes","shippingMethods","shippingmethods","warnings","loadShippingMethods","refresh","result","success","v","_error","err","pwa_settings","shippingMethodApiUrl","__WEBPACK_IMPORTED_MODULE_0__Services__","__WEBPACK_IMPORTED_MODULE_1_vue__","_typeof","Symbol","iterator","obj","constructor","shoppingCartService","updateBasket","html","message","modal","sections","updateaddedtocarthtml","_shoppingCart","dirty","model","items","find","pending","forEach","set","removed","_shoppingbagCalculateTotals","loading","_adjustAllergies","storeToLocalStorage","createShoppingBagItem","contentPriceAlias","shoppingBagItem","discount","subTotal","unitPrice","priceExlTax","FindShoppingBagItem","searchItem","_childrenMatch","itemsSearch","searchParentQuantity","itemsCart","parentQuantity","searchcontentPriceAlias","itemsSearchId","match","cartItem","childKey","searchKey","children","item","itemKey","SyncShoppingBag","_addChildren","sourceItem","amzShoppingbagParent","shoppingBagChildItem","syncItem","ItemID","Quantity","ContentPriceAlias","Children","shoppingBagItemsToSync","navigator","onLine","_pendingSync","_timer","removeAll","Amazilia","sendEmptyBasketItems","amzShoppingbagRootItem","Remove","sending","sendUpdateItemsForm","total","_doChildren","child","allergyId","indexOf","_loadDeliveryTime","fnComplete","fnError","ex","shoppingDisabled","ShoppingDisabled","Message","_loadTimeTable","dateFrom","dateTo","minuteInterval","interval","_posOrderSubmit","_doSubmit","resolve","reject","date","val","sendForm","totalItems","Promise","_getRequestHeaders","_shoppingCartLoading","estimateShipping","shippingRate","continueButtonDisabled","loadFromLocalStorage","e","removeItem","parsed","prepMethod","shoppingBagPrepMethod","_increaseChildren","rootQ","newQ","subQuantity","$on","keyId","addEventListener","shoppingCart","checkoutLink","pwa_checkouturl","loadShoppingCart","cache","removeCartItem","quantitychanged","oldQ","parseInt","key2","prepMethod2","emptyBasket","discountTotal","willEarnRewardPoints","displayRewardPoints","redeemedRewardPointsAmount","compositeTotal","subTotalDiscount","appliedDiscounts","setDisabled","disabled","setMessage","loadDeliveryTime","loadTimeTable","fromDate","toDate","posOrderSubmit","setUseRewardPoints","rewardPoints","_this","isUndef","undefined","isDef","isTrue","isFalse","isPrimitive","value","isFunction","isObject","isPlainObject","_toString","isRegExp","isValidArrayIndex","parseFloat","String","Math","floor","isFinite","isPromise","then","catch","toString","Array","isArray","toNumber","isNaN","makeMap","str","expectsLowerCase","map","create","list","split","toLowerCase","remove$2","arr","len","index","splice","hasOwn","cached","fn","polyfillBind","ctx","boundFn","arguments","apply","_length","nativeBind","bind","toArray","start","ret","extend","to","_from","toObject","noop","b","looseEqual","isObjectA","isObjectB","isArrayA","isArrayB","every","getTime","keysA","keys","keysB","looseIndexOf","once","called","hasChanged","x","y","isReserved","charCodeAt","def","writable","parsePath","path","bailRE","test","segments","isNative","Ctor","setCurrentInstance","currentInstance","_scope","off","on","createTextVNode","VNode","cloneVNode","vnode","cloned","tag","slice","text","elm","componentOptions","asyncFactory","ns","isStatic","isComment","fnContext","fnOptions","fnScopeId","asyncMeta","isCloned","pushTarget","target","targetStack","Dep","popTarget","toggleObserving","shouldObserve","observe","shallow","ssrMockReactivity","__ob__","Observer","isServerRendering","isExtensible","__v_skip","isRef","defineReactive","customSetter","mock","dep","getOwnPropertyDescriptor","setter","NO_INIITIAL_VALUE","childOb","depend","dependArray","newVal","notify","isReadonly","ob","max","_isVue","vmCount","del","shallowReactive","makeReactive","isReactive","isShallow","__v_isShallow","__v_isReadonly","r","__v_isRef","proxyWithRefUnwrap","source","oldValue","createFnInvoker","fns","invoker","invokeWithErrorHandling","updateListeners","oldOn","remove","createOnceHandler","cur","old","event","normalizeEvent","capture","passive","params","mergeVNodeHook","hookKey","wrappedHook","oldHook","merged","extractPropsFromVNodeData","propOptions","props","attrs","altKey","hyphenate","checkProp","preserve","simpleNormalizeChildren","normalizeChildren","normalizeArrayChildren","isTextNode","node","nestedIndex","lastIndex","last","shift","_isVList","createElement$1","normalizationType","alwaysNormalize","ALWAYS_NORMALIZE","_createElement","createEmptyVNode","is","scopedSlots","SIMPLE_NORMALIZE","config","getTagNamespace","isReservedTag","parsePlatformTagName","pre","resolveAsset","$options","createComponent","applyNS","registerDeepBindings","force","style","traverse","class","renderList","hasSymbol","next","renderSlot","fallbackRender","bindObject","nodes","scopedSlotFn","$scopedSlots","$slots","slot","$createElement","resolveFilter","identity","isKeyNotMatch","expect","actual","checkKeyCodes","eventKeyCode","builtInKeyCode","eventKeyName","builtInKeyName","mappedKeyCode","keyCodes","bindObjectProps","asProp","isSync","isReservedAttribute","mustUseProp","domProps","camelizedKey","camelize","hyphenatedKey","$event","renderStatic","isInFor","_staticTrees","tree","_renderProxy","_c","markStatic$1","markOnce","isOnce","markStaticNode","bindObjectListeners","ours","resolveScopedSlots","hasDynamicKeys","contentHashKey","$stable","proxy","$key","bindDynamicKeys","baseObj","values","prependModifier","symbol","installRenderHelpers","_o","_n","_s","_l","_t","_q","_i","_m","_f","_k","_b","_v","_e","_u","_g","_d","_p","resolveSlots","slots","name_1","name_2","isWhitespace","isAsyncPlaceholder","normalizeScopedSlots","ownerVm","normalSlots","prevScopedSlots","hasNormalSlots","isStable","_normalized","emptyObject","$hasNormal","key_1","normalizeScopedSlot","key_2","proxyNormalSlot","normalized","initSetup","setup","_setupContext","createSetupContext","setupResult","_props","_setupState","__sfc","_setupProxy","_attrsProxy","syncSetupProxy","$attrs","_listenersProxy","$listeners","initSlotsProxy","emit","bind$1","$emit","expose","exposed","from","prev","instance","changed","defineProxyAttr","_slotsProxy","syncSetupSlots","initRender","_vnode","parentVnode","_parentVnode","renderContext","_renderChildren","$parent","parentData","_parentListeners","ensureCtor","comp","base","toStringTag","createAsyncPlaceholder","factory","resolveAsyncComponent","baseCtor","errorComp","resolved","owner","currentRenderingInstance","owners","loadingComp","owners_1","sync_1","timerLoading_1","timerTimeout_1","forceRender_1","renderCompleted","$forceUpdate","reject_1","reason","res_1","component","delay","timeout","getFirstComponentChild","initEvents","_events","_hasHookEvent","listeners","updateComponentListeners","add$1","target$1","remove$1","$off","createOnceHandler$1","_target","onceHandler","oldListeners","setActiveInstance","prevActiveInstance","activeInstance","initLifecycle","abstract","$children","$root","$refs","_provided","_watcher","_inactive","_directInactive","_isMounted","_isDestroyed","_isBeingDestroyed","mountComponent","el","hydrating","$el","callHook$1","updateComponent","_update","_render","watcherOptions","before","Watcher","preWatchers","_preWatchers","run","updateChildComponent","propsData","renderChildren","newScopedSlots","oldScopedSlots","hasDynamicScopedSlot","needsForceUpdate","prevVNode","prevListeners","propKeys","_propKeys","validateProp","isInInactiveTree","activateChildComponent","direct","deactivateChildComponent","args","setContext","handlers","info","j","resetSchedulerState","index$1","queue","activatedChildren","has","waiting","flushing","flushSchedulerQueue","currentFlushTimestamp","getNow","watcher","sort","sortCompareFn","activatedQueue","updatedQueue","callActivatedHooks","callUpdatedHooks","cleanupDeps","devtools","queueActivatedComponent","queueWatcher","noRecurse","nextTick","doWatch","cb","_a","immediate","deep","flush","onTrack","onTrigger","forceTrigger","isMultiSource","some","WATCHER_GETTER","cleanup","WATCHER","onCleanup","baseGetter_1","onStop","WATCHER_CLEANUP","WATCHER_CB","lazy","INITIAL_WATCHER_VALUE","newValue","update","post","buffer","$once","teardown","recordEffectScope","effect","scope","activeEffectScope","effects","resolveProvided","parentProvides","handleError","hooks","errorCaptured","globalHandleError","handler","_handled","errorHandler","logError","inBrowser","flushCallbacks","copies","callbacks","_resolve","timerFunc","createLifeCycle","hookName","injectHook","mergeLifecycleHook","_traverse","seenObjects","clear","seen","isA","isFrozen","depId","sourceKey","sharedPropertyDefinition","initState","opts","initProps$1","methods","initMethods","initData","_data","computed","initComputed$1","watch","nativeWatch","initWatch","propsOptions","isRoot","getData","watchers","_computedWatchers","isSSR","userDef","computedWatcherOptions","defineComputed","shouldCache","createComputedGetter","createGetterInvoker","evaluate","createWatcher","expOrFn","$watch","initProvide","provideOption","provide","provided","Reflect","ownKeys","initInjections","resolveInject","inject","provideKey","provideDefault","initInternalComponent","vnodeComponentOptions","_componentTag","resolveConstructorOptions","super","superOptions","modifiedOptions","resolveModifiedOptions","extendOptions","mergeOptions","components","modified","latest","sealed","sealedOptions","FunctionalRenderContext","contextVm","_original","isCompiled","needNormalization","injections","createFunctionalComponent","mergeProps","cloneAndMarkFunctionalResult","vnodes","clone","getComponentName","__name","_base","cid","transformModel","nativeOn","installComponentHooks","createComponentInstanceForVnode","_isComponent","inlineTemplate","hooksToMerge","toMerge","componentVNodeHooks","_merged","mergeHook","f1","f2","prop","mergeData","recursive","toVal","fromVal","mergeDataOrFn","parentVal","childVal","instanceData","defaultData","dedupeHooks","mergeAssets","normalizeProps","normalizeInject","normalizeDirectives$1","dirs","directives","mergeField","strat","strats","defaultStrat","extends","mixins","warnMissing","assets","camelizedId","PascalCaseId","capitalize","absent","booleanIndex","getTypeIndex","Boolean","stringIndex","getPropDefaultValue","prevShouldObserve","getType","functionTypeCheckRE","isSameType","expectedTypes","_init","initUse","use","plugin","installedPlugins","_installedPlugins","unshift","install","initMixin","mixin","initExtend","Super","SuperId","cachedCtors","_Ctor","Sub","initProps","initComputed","ASSET_TYPES","Comp","initAssetRegisters","definition","_getComponentName","matches","pattern","pruneCache","keepAliveInstance","filter","entry","pruneCacheEntry","current","componentInstance","$destroy","genClassForVnode","parentNode","childNode","mergeClassData","renderClass","staticClass","dynamicClass","stringifyClass","stringifyArray","stringifyObject","stringified","isSVG","isUnknownElement","unknownElementCache","document","createElement","HTMLUnknownElement","HTMLElement","query","selected","querySelector","tagName","multiple","setAttribute","createElementNS","namespace","namespaceMap","createTextNode","createComment","insertBefore","newNode","referenceNode","removeChild","appendChild","nextSibling","setTextContent","textContent","setStyleScope","registerRef","isRemoval","ref","refValue","$refsValue","isFor","refInFor","_isString","_isRef","refs","setSetupRef","sameVnode","sameInputType","typeA","typeB","isTextInputType","createKeyToOldIdx","beginIdx","endIdx","updateDirectives","oldVnode","oldDir","dir","isCreate","emptyNode","isDestroy","oldDirs","normalizeDirectives","newDirs","dirsWithInsert","dirsWithPostpatch","oldArg","arg","callHook","componentUpdated","inserted","callInsert","modifiers","emptyModifiers","getRawDirName","setupDef","rawName","join","updateAttrs","inheritAttrs","oldAttrs","_v_attr_proxy","setAttr","isIE","isEdge","isXlink","removeAttributeNS","xlinkNS","getXlinkProp","isEnumeratedAttr","removeAttribute","isInPre","baseSetAttr","isBooleanAttr","isFalsyAttrValue","convertEnumeratedValue","setAttributeNS","isIE9","__ieph","blocker_1","stopImmediatePropagation","removeEventListener","updateClass","oldData","cls","transitionClass","_transitionClasses","_prevClass","parseFilters","exp","pushFilter","filters","lastFilterIndex","trim","expression","inSingle","inDouble","inTemplateString","inRegex","curly","square","paren","charAt","validDivisionCharRE","wrapFilter","baseWarn","msg","range","pluckModuleFunction","_","addProp","dynamic","rangeSetItem","plain","addAttr","dynamicAttrs","addRawAttr","attrsMap","attrsList","addDirective","isDynamicArg","prependModifierMarker","addHandler","important","warn","right","middle","events","native","nativeEvents","newHandler","getRawBindingAttr","rawAttrsMap","getBindingAttr","getStatic","dynamicValue","getAndRemoveAttr","staticValue","removeFromMap","getAndRemoveAttrByRegex","attr","end","genComponentModel","number","valueExpression","assignment","genAssignmentCode","parseModel","lastIndexOf","expressionPos","expressionEndPos","eof","chr","isStringStart","parseString","parseBracket","inBracket","stringQuote","model$1","_warn","warn$1","genSelect","genCheckboxModel","genRadioModel","genDefaultModel","valueBinding","trueValueBinding","falseValueBinding","selectedVal","code","needCompositionGuard","RANGE_TOKEN","normalizeEvents","event_1","CHECKBOX_RADIO_TOKEN","change","useMicrotaskFix","attachedTimestamp_1","original_1","_wrapper","currentTarget","timeStamp","ownerDocument","supportsPassive","updateDOMListeners","updateDOMProps","oldProps","childNodes","_value","strCur","shouldUpdateValue","innerHTML","svgContainer","svg","firstChild","checkVal","composing","isNotInFocusAndDirty","isDirtyWithModifiers","notInFocus","activeElement","_vModifiers","normalizeStyleData","normalizeStyleBinding","staticStyle","bindingStyle","parseStyleText","getStyle","checkChild","styleData","updateStyle","oldStaticStyle","oldStyleBinding","normalizedStyle","oldStyle","newStyle","setProp","addClass","classList","whitespaceRE$1","getAttribute","removeClass","tar","replace","resolveTransition","css","autoCssTransition","nextFrame","raf","addTransitionClass","transitionClasses","removeTransitionClass","whenTransitionEnds","expectedType","getTransitionInfo","propCount","TRANSITION","transitionEndEvent","animationEndEvent","ended","onEnd","styles","getComputedStyle","transitionDelays","transitionProp","transitionDurations","transitionTimeout","getTimeout","animationDelays","animationProp","animationDurations","animationTimeout","ANIMATION","hasTransform","transformRE","delays","durations","toMs","Number","enter","toggleDisplay","_leaveCb","cancelled","transition","_enterCb","nodeType","enterClass","enterToClass","enterActiveClass","appearClass","appearToClass","appearActiveClass","beforeEnter","afterEnter","enterCancelled","beforeAppear","appear","afterAppear","appearCancelled","duration","transitionNode","isAppear","isRootInsert","startClass","activeClass","toClass","beforeEnterHook","enterHook","afterEnterHook","enterCancelledHook","explicitEnterDuration","expectsCSS","userWantsControl","getHookArgumentsLength","show","pendingNode","_pending","isValidDuration","leave","rm","performLeave","beforeLeave","leaveClass","leaveActiveClass","leaveToClass","explicitLeaveDuration","afterLeave","leaveCancelled","delayLeave","invokerFns","_enter","setSelected","binding","actuallySetSelected","isMultiple","option","getValue","selectedIndex","hasNoMatchingOption","onCompositionStart","onCompositionEnd","trigger","createEvent","initEvent","dispatchEvent","locateNode","getRealChild","compOptions","extractTransitionData","placeholder","rawChild","hasParentTransition","isSameChild","oldChild","callPendingCbs","_moveCb","recordPosition","newPos","getBoundingClientRect","applyTranslation","oldPos","pos","dx","left","dy","top","moved","transform","WebkitTransform","transitionDuration","parseText","delimiters","tagRE","buildRegex","defaultTagRE","tokenValue","tokens","rawTokens","exec","transformNode$1","classBinding","genData$2","transformNode","styleBinding","genData$1","decodeAttr","shouldDecodeNewlines","re","encodedAttrWithNewLines","encodedAttr","decodingMap","parseHTML","advance","substring","parseStartTag","startTagOpen","startTagClose","dynamicArgAttribute","attribute","unarySlash","handleStartTag","expectHTML","lastTag","isNonPhrasingTag","parseEndTag","canBeLeftOpenTag","unary","isUnaryTag","shouldDecodeNewlinesForHref","stack","lowerCasedTag","lowerCasedTagName","no","isPlainTextElement","endTagLength_1","stackedTag_1","reStackedTag","reCache","RegExp","rest","all","endTag","shouldIgnoreFirstNewline","chars","textEnd","comment","commentEnd","shouldKeepComment","conditionalComment","conditionalEnd","doctypeMatch","doctype","endTagMatch","curIndex","startTagMatch","createASTElement","makeAttrsMap","template","closeElement","element","trimEndingWhitespace","inVPre","processed","processElement","root","if","elseif","else","addIfCondition","block","currentParent","forbidden","processIfConditions","slotScope","slotTarget","platformIsPreTag","inPre","postTransforms","lastNode","isPreTag","platformMustUseProp","platformGetTagNamespace","maybeComponent","transforms","preTransforms","preserveWhitespace","whitespaceOption","whitespace","comments","outputSourceRange","guardIESVGBug","isForbiddenTag","processPre","processRawAttrs","processFor","processIf","processOnce","isTextTag","decodeHTMLCached","lineBreakRE","whitespaceRE","processKey","processRef","processSlotContent","processSlotOutlet","processComponent","processAttrs","checkInFor","parseFor","inMatch","forAliasRE","for","alias","stripParensRE","iteratorMatch","forIteratorRE","iterator1","iterator2","findPrevElement","condition","ifConditions","slotTargetDynamic","slotBinding","slotRE","getSlotName","emptySlotScopeToken","name_3","slotContainer_1","dynamicArgRE","slotName","syncGen","isDynamic","dirRE","hasBindings","parseModifiers","modifierRE","bindRE","camel","sync","onRE","argMatch","argRE","ret_1","ieNSBug","ieNSPrefix","preTransformNode","typeBinding","ifCondition","ifConditionExtra","hasElse","elseIfCondition","branch0","cloneASTElement","branch1","branch2","optimize","isStaticKey","genStaticKeysCached","staticKeys","isPlatformReservedTag","markStatic","markStaticRoots","genStaticKeys","static","staticInFor","staticRoot","isBuiltInTag","isDirectChildOfTemplateFor","genHandlers","prefix","staticHandlers","dynamicHandlers","handlerCode","genHandler","isMethodPath","simplePathRE","isFunctionExpression","fnExpRE","isFunctionInvocation","fnInvokeRE","genModifierCode","modifierCode","modifiers_1","genGuard","keyModifier","genKeyFilter","genFilterCode","keyVal","keyCode","keyName","keyNames","wrapListeners","wrapData","generate","ast","state","CodegenState","genElement","staticProcessed","genStatic","onceProcessed","genOnce","forProcessed","genFor","ifProcessed","genIf","genSlot","genComponent","genData","bindings","__isScriptSetup","checkBindingType","genChildren","camelName","PascalName","checkType","fromConst","fromMaybeRef","originalPreState","parent_1","onceId","altGen","altEmpty","genIfConditions","conditions","genTernaryExp","altHelper","genDirectives","dataGenFns","genProps","genScopedSlots","genInlineTemplate","needRuntime","hasRuntime","gen","inlineRenderFns","containsSlotChild","needsKey","parent_2","generatedSlots","genScopedSlot","isLegacySyntax","reverseProxy","checkSkip","altGenElement","altGenNode","el_1","normalizationType_1","getNormalizationType","gen_1","genNode","needsNormalization","genComment","genText","transformSpecialNewlines","componentName","staticProps","dynamicProps","createFunction","errors","Function","createCompileToFunctionFn","compile","compiled","fnGenErrors","getShouldDecode","href","div","getOuterHTML","outerHTML","container","cloneNode","freeze","camelizeRE","toUpperCase","hyphenateRE","SSR_ATTR","LIFECYCLE_HOOKS","optionMergeStrategies","silent","productionTip","performance","warnHandler","ignoredElements","isReservedAttr","async","_lifecycleHooks","unicodeRegExp","hasProto","UA","userAgent","isIOS","isFF","_isServer","_Set","global","env","VUE_ENV","__VUE_DEVTOOLS_GLOBAL_HOOK__","Set","raw","uid$2","pendingCleanupDeps","subs","addSub","sub","removeSub","addDep","arrayProto","arrayMethods","method","original","observeArray","arrayKeys","getOwnPropertyNames","mockDep","__proto__","RefFlag","performance_1","EffectScope","detached","cleanups","scopes","currentEffectScope","stop","fromParent","isUsingMicroTask","p_1","MutationObserver","setImmediate","counter_1","observer","textNode_1","characterData","uid$1","isRenderWatcher","_vm","user","deps","newDeps","depIds","newDepIds","tmp","uid","init","keepAlive","mountedNode","prepatch","$mount","insert","destroy","warn$2","_uid","_self","dataDef","propsDef","$set","$delete","hookRE","i_1","cbs","prevEl","prevVnode","restoreActiveInstance","__patch__","__vue__","wrapper","$nextTick","patternTypes","KeepAlive","include","exclude","cacheVNode","vnodeToCache","keyToCache","created","destroyed","mounted","updated","builtInComponents","configDef","util","delete","observable","version","emptyStyle","acceptValue","isValidContentEditableValue","math","isHTMLTag","nodeOps","directives$1","baseModules","klass$1","cssText","listDelimiter","propertyDelimiter","cssVarRE","importantRE","setProperty","normalizedName","normalize","vendorNames","capName","style$1","hasTransition","ontransitionend","onwebkittransitionend","onanimationend","onwebkitanimationend","requestAnimationFrame","activate","platformModules","modules$1","patch","backend","emptyNodeAt","createRmCb","childElm","removeNode","createElm","insertedVnodeQueue","parentElm","refElm","nested","ownerArray","setScope","createChildren","invokeCreateHooks","isReactivated","initComponent","reactivateComponent","pendingInsert","isPatchable","innerNode","i_2","ancestor","addVnodes","startIdx","invokeDestroyHook","removeVnodes","ch","removeAndInvokeRemoveHook","i_3","updateChildren","oldCh","newCh","removeOnly","oldKeyToIdx","idxInOld","vnodeToMove","oldStartIdx","newStartIdx","oldEndIdx","oldStartVnode","oldEndVnode","newEndIdx","newStartVnode","newEndVnode","canMove","patchVnode","findIdxInOld","i_5","hydrate","postpatch","invokeInsertHook","initial","i_6","hasChildNodes","childrenMatch","i_7","fullInvoke","isRenderedModule","isInitialPatch","isRealElement","hasAttribute","oldElm","patchable","i_8","i_9","insert_1","i_10","vmodel","directive","_vOptions","prevOptions_1","curOptions_1","originalDisplay","__vOriginalDisplay","display","unbind","platformDirectives","transitionProps","mode","isNotTextNode","isVShowDirective","Transition","_leaving","oldRawChild","delayedLeave_1","moveClass","TransitionGroup","beforeMount","kept","prevChildren","rawChildren","transitionData","hasMove","_reflow","body","offsetHeight","propertyName","_hasMove","platformComponents","decoder","regexEscapeRE","open","close","klass","he","decode","ncname","qnameCapture","isIgnoreNewlineTag","baseOptions","reduce","esc","tab","space","up","down","prevent","self","ctrl","alt","meta","baseDirectives","cloak","createCompiler","baseCompile","finalOptions","tips","tip","compileToFunctions","idToTemplate","mount","documentElement","normalizeComponent","Component","translationService","_TranslationsDictionary","TranslationsDictionary","getTranslation","fallback","g","eval","defaultSetTimout","Error","defaultClearTimeout","runTimeout","fun","cachedSetTimeout","runClearTimeout","marker","cachedClearTimeout","cleanUpNextTick","draining","currentQueue","queueIndex","drainQueue","Item","array","process","title","browser","argv","versions","addListener","removeListener","removeAllListeners","prependListener","prependOnceListener","cwd","chdir","umask","__WEBPACK_IMPORTED_MODULE_0__order_item_vue__","__WEBPACK_IMPORTED_MODULE_0__Services_Services__","__WEBPACK_IMPORTED_MODULE_1__Mixins_orderItemMixin__","__WEBPACK_IMPORTED_MODULE_2__Services_ShopingCartService__","selectedMainProduct","productExtras","isTotalValid","isValid","toggleCollapse","collapsed","_calculateDishPrice","extraQuantity","extraId","parentId","quantityChanged","extraQuantityChanged","radioGroup","displayOrder","oldSelection","selectionType","productExtraRadioId","quantityModel","childQuantityModel","childPreperationGroup","childpreperationGroups","foundPreselected","childProduct","preperationMethodsSelectType","extraSelectType","_calculateAllergyAdditions","recalculate","extras","extra","prepMethodProduct","that","allergyAdditions","totalPrice","addToBasket","addonproducts","shoppingbagItem","prepItem","buyButtonDisabled","stopPropagation","__WEBPACK_IMPORTED_MODULE_0__order_item_extra_vue__","__WEBPACK_IMPORTED_MODULE_1__Services_TranslateService__","__WEBPACK_IMPORTED_MODULE_0__Services_TranslateService__","__WEBPACK_IMPORTED_MODULE_1__translate__","__WEBPACK_IMPORTED_MODULE_0__Services_ShopingCartService__","__WEBPACK_IMPORTED_MODULE_1__basket_count_vue__","__WEBPACK_IMPORTED_MODULE_2__translate__","__WEBPACK_IMPORTED_MODULE_3__Services_TranslateService__","__WEBPACK_IMPORTED_MODULE_1__Services_ShopingCartService__","__WEBPACK_IMPORTED_MODULE_2__amz_spinner_vue__","__WEBPACK_IMPORTED_MODULE_3__translate__","Timeout","clearFn","_id","_clearFn","setInterval","clearInterval","unref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","_onTimeout","clearImmediate","Intl","NumberFormat","currency","minimumFractionDigits","maximumFractionDigits","format","task","tasksByHandle","nextHandle","registerImmediate","handle","runIfPresent","currentlyRunningATask","doc","attachTo","getPrototypeOf","postMessage","importScripts","postMessageIsAsynchronous","oldOnMessage","onmessage","messagePrefix","random","onGlobalMessage","attachEvent","MessageChannel","channel","port1","port2","script","onreadystatechange","_h","inCart","doOpenInOverlay","orderItemClick","openproduct","quantityInCart","photos","description_web","fontIcon","addproduct","esExports","__WEBPACK_IMPORTED_MODULE_2__order_item_extra_vue__","__WEBPACK_IMPORTED_MODULE_3__order_item_extra_container_vue__","__WEBPACK_IMPORTED_MODULE_4__amz_spinner_vue__","__WEBPACK_IMPORTED_MODULE_5_vue__","__WEBPACK_IMPORTED_MODULE_6__translate__","buybuttonDisabled","inputChange","backgroundImage","addQuantity","maximumReached","useMaximum","className","titel","width","useSly","groupedAmount","quantityAmountLeft","spinnerDown","min","intern_value","spinnerUp","translation","inputValue","searchClick","keydown","cancel","itemSelected","mouseTakesOver","getName","pulse1","pulse","buttonStates","home","navigateHome","eten","navigateCategories","checkout","navigateCart","showDialog","shippingmethod","description","shippingMethodId","shippingRateComputationMethodId","selectShipping","enableFromPrice","dialogChoice","selectDialogChoice","warning","__WEBPACK_IMPORTED_MODULE_2__amz_cart_item_vue__","__WEBPACK_IMPORTED_MODULE_3__amz_cart_rewardpoints_vue__","__WEBPACK_IMPORTED_MODULE_4__delivery_methods_vue__","__WEBPACK_IMPORTED_MODULE_5__basket_count_vue__","__WEBPACK_IMPORTED_MODULE_7__Services_TranslateService__","addedToCart","rewardProductsCount","$$v","dishTotal","productName","child2","index2","nameP2","nameP1","photos_detail","productGroup","validityChanged","choosenProduct","Product_preparationMethods","preperationMethodsView","getProductTitel","extraView","mainProductTitel","mainProductSubTitel","linkToDish","showToDish","loadDish","initQuantity","cart","useRewardPoints","freeProductCounts","rewardPointsRedemptionMethod","toggleRewardPoints","removeDiscount","empyBasket","hideMethods","getshippingroute","taxPrice","discountName","inCheckout","VWA","Utils","GetQueryParameters","location","substr","nameval","require","allergyFilterActive","selectedCategoryId","gridHtml","orderList","amzCart","mobileNavigationBar","orderItemDetailOverlay","processListGroupItemLink","navState","setNavState","history","pushState","reloadProducts","preventDefault","$link","isActive","hasClass","pwa_startCategory","video","each","load","play","onpopstate","onAlergyClick","resetSelectedAllergies","activeAllergies","showGrid","autocomplete","basketCount"],"mappings":"CAAS,SAAUA,GCIjB,QAASC,GAAoBC,GAG5B,GAAGC,EAAiBD,GACnB,MAAOC,GAAiBD,GAAUE,OAGnC,IAAIC,GAASF,EAAiBD,IAC7BI,EAAGJ,EACHK,GAAG,EACHH,WAUD,OANAJ,GAAQE,GAAUM,KAAKH,EAAOD,QAASC,EAAQA,EAAOD,QAASH,GAG/DI,EAAOE,GAAI,EAGJF,EAAOD,QAvBf,GAAID,KA4BJF,GAAoBQ,EAAIT,EAGxBC,EAAoBS,EAAIP,EAGxBF,EAAoBU,EAAI,SAASP,EAASQ,EAAMC,GAC3CZ,EAAoBa,EAAEV,EAASQ,IAClCG,OAAOC,eAAeZ,EAASQ,GAC9BK,cAAc,EACdC,YAAY,EACZC,IAAKN,KAMRZ,EAAoBmB,EAAI,SAASf,GAChC,GAAIQ,GAASR,GAAUA,EAAOgB,WAC7B,WAAwB,MAAOhB,GAAgB,SAC/C,WAA8B,MAAOA,GAEtC,OADAJ,GAAoBU,EAAEE,EAAQ,IAAKA,GAC5BA,GAIRZ,EAAoBa,EAAI,SAASQ,EAAQC,GAAY,MAAOR,QAAOS,UAAUC,eAAejB,KAAKc,EAAQC,IAGzGtB,EAAoByB,EAAI,cAGjBzB,EAAoBA,EAAoB0B,EAAI,MDM/C,SAAUtB,EAAQD,GE7DxBC,EAAOD,QAAU,SACfwB,EACAC,EACAC,EACAC,EACAC,EACAC,GAEA,GAAIC,GACAC,EAAgBP,EAAm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N,aAAc7G,IAAoB6G","file":"ordering.js","sourcesContent":["/******/ (function(modules) { // webpackBootstrap\n/******/ \t// The module cache\n/******/ \tvar installedModules = {};\n/******/\n/******/ \t// The require function\n/******/ \tfunction __webpack_require__(moduleId) {\n/******/\n/******/ \t\t// Check if module is in cache\n/******/ \t\tif(installedModules[moduleId]) {\n/******/ \t\t\treturn installedModules[moduleId].exports;\n/******/ \t\t}\n/******/ \t\t// Create a new module (and put it into the cache)\n/******/ \t\tvar module = installedModules[moduleId] = {\n/******/ \t\t\ti: moduleId,\n/******/ \t\t\tl: false,\n/******/ \t\t\texports: {}\n/******/ \t\t};\n/******/\n/******/ \t\t// Execute the module function\n/******/ \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n/******/\n/******/ \t\t// Flag the module as loaded\n/******/ \t\tmodule.l = true;\n/******/\n/******/ \t\t// Return the exports of the module\n/******/ \t\treturn module.exports;\n/******/ \t}\n/******/\n/******/\n/******/ \t// expose the modules object (__webpack_modules__)\n/******/ \t__webpack_require__.m = modules;\n/******/\n/******/ \t// expose the module cache\n/******/ \t__webpack_require__.c = installedModules;\n/******/\n/******/ \t// define getter function for harmony exports\n/******/ \t__webpack_require__.d = function(exports, name, getter) {\n/******/ \t\tif(!__webpack_require__.o(exports, name)) {\n/******/ \t\t\tObject.defineProperty(exports, name, {\n/******/ \t\t\t\tconfigurable: false,\n/******/ \t\t\t\tenumerable: true,\n/******/ \t\t\t\tget: getter\n/******/ \t\t\t});\n/******/ \t\t}\n/******/ \t};\n/******/\n/******/ \t// getDefaultExport function for compatibility with non-harmony modules\n/******/ \t__webpack_require__.n = function(module) {\n/******/ \t\tvar getter = module && module.__esModule ?\n/******/ \t\t\tfunction getDefault() { return module['default']; } :\n/******/ \t\t\tfunction getModuleExports() { return module; };\n/******/ \t\t__webpack_require__.d(getter, 'a', getter);\n/******/ \t\treturn getter;\n/******/ \t};\n/******/\n/******/ \t// Object.prototype.hasOwnProperty.call\n/******/ \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n/******/\n/******/ \t// __webpack_public_path__\n/******/ \t__webpack_require__.p = \"/Vue/Bundle\";\n/******/\n/******/ \t// Load entry module and return exports\n/******/ \treturn __webpack_require__(__webpack_require__.s = 61);\n/******/ })\n/************************************************************************/\n/******/ ([\n/* 0 */\n/***/ (function(module, exports) {\n\n/* globals __VUE_SSR_CONTEXT__ */\n\n// IMPORTANT: Do NOT use ES2015 features in this file.\n// This module is a runtime utility for cleaner component module output and will\n// be included in the final webpack user bundle.\n\nmodule.exports = function normalizeComponent (\n rawScriptExports,\n compiledTemplate,\n functionalTemplate,\n injectStyles,\n scopeId,\n moduleIdentifier /* server only */\n) {\n var esModule\n var scriptExports = rawScriptExports = rawScriptExports || {}\n\n // ES6 modules interop\n var type = typeof rawScriptExports.default\n if (type === 'object' || type === 'function') {\n esModule = rawScriptExports\n scriptExports = rawScriptExports.default\n }\n\n // Vue.extend constructor export interop\n var options = typeof scriptExports === 'function'\n ? scriptExports.options\n : scriptExports\n\n // render functions\n if (compiledTemplate) {\n options.render = compiledTemplate.render\n options.staticRenderFns = compiledTemplate.staticRenderFns\n options._compiled = true\n }\n\n // functional template\n if (functionalTemplate) {\n options.functional = true\n }\n\n // scopedId\n if (scopeId) {\n options._scopeId = scopeId\n }\n\n var hook\n if (moduleIdentifier) { // server build\n hook = function (context) {\n // 2.3 injection\n context =\n context || // cached call\n (this.$vnode && this.$vnode.ssrContext) || // stateful\n (this.parent && this.parent.$vnode && this.parent.$vnode.ssrContext) // functional\n // 2.2 with runInNewContext: true\n if (!context && typeof __VUE_SSR_CONTEXT__ !== 'undefined') {\n context = __VUE_SSR_CONTEXT__\n }\n // inject component styles\n if (injectStyles) {\n injectStyles.call(this, context)\n }\n // register component module identifier for async chunk inferrence\n if (context && context._registeredComponents) {\n context._registeredComponents.add(moduleIdentifier)\n }\n }\n // used by ssr in case component is cached and beforeCreate\n // never gets called\n options._ssrRegister = hook\n } else if (injectStyles) {\n hook = injectStyles\n }\n\n if (hook) {\n var functional = options.functional\n var existing = functional\n ? options.render\n : options.beforeCreate\n\n if (!functional) {\n // inject component registration as beforeCreate hook\n options.beforeCreate = existing\n ? [].concat(existing, hook)\n : [hook]\n } else {\n // for template-only hot-reload because in that case the render fn doesn't\n // go through the normalizer\n options._injectStyles = hook\n // register for functioal component in vue file\n options.render = function renderWithStyleInjection (h, context) {\n hook.call(context)\n return existing(h, context)\n }\n }\n }\n\n return {\n esModule: esModule,\n exports: scriptExports,\n options: options\n }\n}\n\n\n/***/ }),\n/* 1 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"b\", function() { return services; });\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return EventBus; });\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0_vue__ = __webpack_require__(3);\n/*\r\n *\tservices v1.0.0 \r\n *\t(c) 2019 Henk Salomons\r\n *\t\r\n *\tresponsible for fetching data from and to the amazilia backoffice.\r\n */\n\n\n\n/** \r\n * Eventbus, used to emit an recieve events between components \r\n */\nvar EventBus = new __WEBPACK_IMPORTED_MODULE_0_vue__[\"a\" /* default */]();\n\nvar services = function () {\n //if (shoppingCartService) {\n // console.log(\"services says: \" + shoppingCartService._shoppingCartLoading);\n //}\n\n\n var _products = null;\n var _productExtras = null;\n var _allergies = null;\n var _categoryId = null;\n var _categoryBusy = false;\n var _allergiesLoaded = false;\n var _allergiesLoading = false;\n var _selectedAllergyIds = null;\n var _shippingmethods = null;\n var _shippingMethodsLoading = false;\n var _allergieCompleteQue = [];\n var _serviceTimer = null;\n\n //var _detailProduct = { \"name\" : \"name\" };\n var _detailProduct = {\n name: '',\n loaded: false\n };\n\n /*\r\n Loads the async view from the server\r\n */\n var _getAsyncView = function _getAsyncView(viewName, data, enableCache, callback) {\n data.viewName = viewName;\n var time = Date.now();\n var headers = {};\n\n if (enableCache) {\n headers.PwaEnableCache = 1;\n } else {\n headers.PwaDisableCache = 1;\n }\n\n headers.CultureCode = window.pwa_currentCultureName;\n headers.StoreId = window.pwa_storeId;\n\n $.ajax('/umbraco/vwa/AsyncSurface/GetAsyncView/', { type: 'GET', headers: headers, data: data, complete: complete, error: error });\n\n function complete(response, status, xhr) {\n if (status === \"error\") {\n var msg = \"[GetAsyncView] error loading view: \";\n console.log(msg + response.responseText);\n return;\n }\n var time2 = Date.now();\n\n //\tconsole.log('query took: ' + Math.abs(time - time2) + ' milisecons');\n callback && callback(response.responseText);\n }\n\n function error(response, status) {\n var msg = \"[GetAsyncView] error loading view: \";\n console.log(msg + response.responseText);\n\n callback && callback(response.responseText);\n return;\n }\n };\n\n return {\n\n ///*\n // Loads the async view from the server\n //*/\n //GetAsyncView: function (viewName, data, enableCache, callback) {\n // data.viewName = viewName;\n // var time = Date.now();\n // var headers = {};\n\n // if (enableCache) {\n // headers.PwaEnableCache = 1;\n // } else {\n // headers.PwaDisableCache = 1;\n // }\n\n // $.ajax('/umbraco/vwa/async/GetAsyncView/', { headers: headers, data: data, complete: complete, error: error });\n\n // function complete(response, status, xhr) {\n // if (status === \"error\") {\n // var msg = \"[GetAsyncView] error loading view: \";\n // console.log(msg + response.responseText);\n // return;\n // }\n // var time2 = Date.now();\n\n // console.log('query took: ' + Math.abs(time - time2) + ' milisecons');\n // callback && callback(response.responseText);\n // }\n\n // function error(response, status) {\n // var msg = \"[GetAsyncView] error loading view: \";\n // console.log(msg + response.responseText);\n\n // callback && callback(response.responseText);\n // return;\n // }\n //},\n\n //UpdateWithAction: function (selector, enableCache, callback) {\n // var el = $(selector);\n // this.GetAsyncAction(el, null, enableCache, function (result) {\n // el.html(result);\n // callback && callback();\n // });\n //},\n\n //GetAsyncAction: function (el, data, enableCache, callback) {\n\n // var action = el.data('asyncaction');\n // if (!action) {\n // console.log('[services] element does not contain any asyncaction data');\n // return \"[noaction]\";\n // }\n // var time = Date.now();\n\n // var headers = {};\n // if (enableCache) {\n // headers.PwaEnableCache = 1;\n // } else {\n // headers.PwaDisableCache = 1;\n // }\n\n // $.ajax(action, { headers: headers, data: data, complete: complete, error: error });\n\n // function complete(response, status, xhr) {\n // if (status === \"error\") {\n // var msg = \"[GetAsyncView] error loading view: \";\n // console.log(msg + response.responseText);\n // return;\n // }\n // var time2 = Date.now();\n\n // console.log('query took: ' + Math.abs(time - time2) + ' milisecons');\n // callback && callback(response.responseText);\n // }\n\n // function error(response, status) {\n // var msg = \"[GetAsyncView] error loading view: \";\n // console.log(msg + response.responseText);\n\n // callback && callback(response.responseText);\n // return;\n // }\n //},\n\n /**\r\n * Gets the products of the requested category from cache or api\r\n * @param {number} categoryId - the categoryid\r\n * @param {function} complete - the complete callback\r\n * @param {function} error - the error callback\r\n */\n getProducts: function getProducts(categoryId, complete, error) {\n\n if (!_categoryBusy && _categoryId === categoryId) {\n complete(_products);\n return;\n }\n\n // check for pending requests\n if (_categoryBusy) {\n // cancel any pending request\n if (_serviceTimer) {\n window.clearTimeout(_serviceTimer);\n }\n\n // start new timeout\n _serviceTimer = window.setTimeout(function () {\n services.getProducts(categoryId, complete, error);\n }, 100);\n } else {\n\n var headers = {};\n var enableCache = true;\n\n if (enableCache) {\n headers.PwaEnableCache = 1;\n } else {\n headers.PwaDisableCache = 1;\n }\n headers.CultureCode = window.pwa_currentCultureName;\n headers.StoreId = window.pwa_storeId;\n\n _categoryBusy = true;\n $.ajax('/umbraco/vwa/JsonListSurface/GetList/', { headers: headers, data: { \"categoryId\": categoryId }, complete: _complete, error: error });\n }\n\n function _complete(data) {\n _products = data.responseJSON.products;\n _productExtras = data.responseJSON.prepMethods;\n _categoryId = categoryId;\n _categoryBusy = false;\n complete(_products);\n }\n },\n\n getGridHtml: function getGridHtml(categoryId, complete, error) {\n\n // call naar Asynccontroller controller dmv $.ajax(''')\n _getAsyncView(\"RenderGridHtml\", { viewName: \"RenderGridHtml\", hash: \"#?categoryid=\" + categoryId }, false, complete);\n\n /*\r\n var res = $.ajax('/umbraco/vwa/Async/GetAsyncView/', { viewName: \"RenderGridHtml\", hash: \"#?categoryid=\" + categoryId) }).done(function (result) {\r\n if (typeof complete == 'function') {\r\n complete( result.data);\r\n }\r\n });\r\n */\n\n /*\r\n if (typeof complete == 'function') {\r\n var resultHtml = \"\";\r\n \r\n var res = $.ajax({\r\n type: \"POST\",\r\n url: \"/umbraco/vwa/Async/GetGridFromCategory?categoryId=\"+categoryId,\r\n }).done(function (jqXHROrData, textStatus, jqXHROrErrorThrown) {\r\n resultHtml = res.resultHtml;\r\n });\r\n complete(resultHtml);\r\n }\r\n */\n },\n\n loadProduct: function loadProduct(productId) {\n var _this = this;\n _detailProduct.loaded = false;\n\n var headers = {};\n headers.PwaEnableCache = 1;\n headers.CultureCode = window.pwa_currentCultureName;\n headers.StoreId = window.pwa_storeId;\n\n var res = $.ajax({\n type: \"GET\",\n headers: headers,\n url: \"/umbraco/vwa/JsonListSurface/GetProductById/?id=\" + productId + \"&culturecode=\" + window.pwa_currentCultureName\n }).done(function (jqXHROrData, textStatus, jqXHROrErrorThrown) {\n\n for (var a in res.responseJSON.product) {\n _detailProduct[a] = res.responseJSON.product[a];\n }\n\n // merge the preperation methods with the one we already have\n for (var key in res.responseJSON.prepMethods) {\n _productExtras[key] = res.responseJSON.prepMethods[key];\n }\n\n _detailProduct.loaded = true;\n });\n },\n\n detailProduct: _detailProduct,\n\n /**\r\n * Gets the preperation methods\r\n * @param {any} id - the id of the preperation method\r\n * @returns {object} - The requested preperation method\r\n */\n getProductExtra: function getProductExtra(id) {\n return _productExtras[id];\n },\n\n /**\r\n * Gets the allergies from api\r\n * @param {function} complete - The complete callback\r\n * @param {function} error - the error callback\r\n */\n getAllergies: function getAllergies(complete, error) {\n var vm = this;\n\n if (_allergies) {\n complete(_allergies);\n return;\n }\n\n var headers = {};\n headers.PwaEnableCache = 1;\n headers.CultureCode = window.pwa_currentCultureName;\n headers.StoreId = window.pwa_storeId;\n\n if (typeof complete === 'function') _allergieCompleteQue.push(complete);\n\n if (_allergiesLoading) {\n // already loading from another vue component\n // add complete function to que\n\n } else {\n _allergiesLoading = true;\n $.ajax('/umbraco/vwa/JsonListSurface/GetAllergies', { headers: headers, complete: _complete, error: error });\n }\n\n function _complete(data) {\n _allergies = data.responseJSON.allergies;\n\n vm.AllergiesLoaded = true;\n _allergiesLoaded = true;\n\n // merge active state with local storage\n var selectedIds = vm.getSelectedAllergies();\n\n for (var allergie in _allergies) {\n _allergies[allergie].active = false;\n\n if (selectedIds) {\n for (var i in selectedIds) {\n if (selectedIds[i] === _allergies[allergie].Id) {\n _allergies[allergie].active = true;\n }\n }\n }\n }\n\n // complete funtions\n while (_allergieCompleteQue.length) {\n _allergieCompleteQue.pop()(_allergies);\n };\n }\n },\n\n /** \r\n * Gets the selected allergies from localstorrage as an array if id's\r\n * @returns {array} - the selected allergies \r\n */\n getSelectedAllergies: function getSelectedAllergies() {\n if (_selectedAllergyIds === null) {\n if (window.localStorage && window.localStorage.getItem('selectedAllergies') !== null) {\n _selectedAllergyIds = JSON.parse(window.localStorage.getItem('selectedAllergies'));\n } else {\n _selectedAllergyIds = [];\n }\n }\n\n return _selectedAllergyIds;\n },\n\n /** \r\n * Stores the selected allergie id's to local storrage\r\n * @param {array} ids - An array of selected allergy id's\r\n **/\n setSelectedAllergies: function setSelectedAllergies(ids) {\n _selectedAllergyIds = ids;\n window.localStorage.setItem('selectedAllergies', JSON.stringify(ids));\n },\n\n /**\r\n * Gets the allergy by Id\r\n * @param {array} id - The id of the allergie\r\n * @returns {object} - the requested allergy\r\n **/\n getAllergy: function getAllergy(id) {\n return _allergies[id];\n },\n\n /**\r\n * Are the allergies loaded\r\n */\n AllergiesLoaded: _allergiesLoaded,\n\n /**\r\n * Gets the price of an Amazilia Product, based on the quantity\r\n * @param {any} product - the product\r\n * @param {any} quantity - the requested quantity\r\n * @returns {decimal} the price as a decimal\r\n */\n getPrice: function getPrice(product, quantity) {\n // todo, tierprices\n return product.price.priceInclTax * quantity;\n },\n\n /**\r\n * returns the default dish price, the default preparation methods are added\r\n * @param {any} product - the product\r\n * @param {any} quantity - the requested quantity\r\n * @returns {decimal} the price as a decimal\r\n */\n getDefaultDishPrice: function getDefaultDishPrice(product, quantity) {\n\n if (product.defaultDishPrice) {\n return product.defaultDishPrice.priceInclTax * quantity;\n }\n\n return this.getPrice(product, quantity);\n },\n\n /**\r\n * Returns the product filtered by allergie\r\n * @returns {object} the filtered products as an dictionary\r\n **/\n filterProducts: function filterProducts() {\n\n var newProducts = {};\n var count = 0;\n\n var filterAllergies = this.getSelectedAllergies();\n\n if (!filterAllergies.length) {\n return _products;\n }\n\n for (var key in _products) {\n var valid = true;\n\n var product = _products[key];\n\n if (product.content.allergenen) {\n for (var key1 in filterAllergies) {\n if (product.content.allergenen.includes(filterAllergies[key1])) {\n valid = false;\n break;\n }\n }\n }\n\n if (valid) newProducts[key] = _products[key];\n }\n\n return newProducts;\n },\n\n shippingMethods: {\n shippingmethods: [] // the available shipping methods\n , warnings: [] // the warnings, if any,\n , loaded: false\n },\n\n /**\r\n * Gets the shipping methods\r\n * @param {any} url - the url of the api\r\n * @param {any} complete - Complete callback function\r\n * @param {any} error - Error callback function\r\n */\n loadShippingMethods: function loadShippingMethods(url, complete, error, refresh) {\n var vm = this;\n refresh = !!refresh;\n\n url = url || window.pwa_settings.shippingMethodApiUrl;\n\n if (!url) {\n console.log('loadShippingMethods url not set');\n return;\n }\n\n // asume that the shippingmethods don't depend on cart content, otherwise, remove this check\n if (vm.shippingMethods.loaded && !refresh && vm.shippingMethods.length) {\n complete && complete(vm.shippingMethods);\n return;\n }\n\n if (_shippingMethodsLoading) {\n // previous call is not finished yet.\n setTimeout(function () {\n vm.loadShippingMethods(url, complete, error);\n }, 100);\n } else {\n _shippingMethodsLoading = true;\n var headers = {};\n headers.PwaDisableCache = 1;\n headers.CultureCode = window.pwa_currentCultureName;\n headers.StoreId = window.pwa_storeId;\n\n $.ajax(url, { headers: headers, complete: _complete, error: _error });\n }\n\n function _complete(result) {\n\n _shippingMethodsLoading = false;\n if (result.status == 200 && result.responseJSON && result.responseJSON.success) {\n\n for (var v in result.responseJSON.data) {\n vm.shippingMethods[v] = result.responseJSON.data[v];\n }\n\n vm.shippingMethods.loaded = true;\n complete && complete(vm.shippingMethods);\n } else {\n _error(result);\n }\n }\n\n function _error(err) {\n _shippingMethodsLoading = false;\n if (error) {\n error(err);\n } else {\n console.log('Error retrieving shippingmethods' + err);\n }\n }\n }\n };\n}();\nwindow.services = services;\n\n\n\n/***/ }),\n/* 2 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_0__Services__ = __webpack_require__(1);\n/* harmony import */ var __WEBPACK_IMPORTED_MODULE_1_vue__ = __webpack_require__(3);\nvar _typeof = typeof Symbol === \"function\" && typeof Symbol.iterator === \"symbol\" ? function (obj) { return typeof obj; } : function (obj) { return obj && typeof Symbol === \"function\" && obj.constructor === Symbol && obj !== Symbol.prototype ? \"symbol\" : typeof obj; };\n\n/*\r\n *\tservices v1.0.0 \r\n *\t(c) 2019 Henk Salomons\r\n *\t\r\n *\tresponsible for fetching data from and to the amazilia backoffice.\r\n */\n\n\n\n\nvar shoppingCartService = function () {\n\n var _shoppingCartLoading = false;\n var _timer = null;\n\n var _shoppingCart = {\n model: {\n items: [], // the cart items\n subTotal: {}, // the subtotal as an amazilia price object\n total: {}, // the total as an amazilia price object\n estimateShipping: { shippingRate: null }, // the estimate shipping object\t\t\t\n totalItems: 0 // the calculated total items (items * quantity)\n },\n continueButtonDisabled: false, // is the continue button disabled or not (in case off pending dialog choises)\n shoppingDisabled: false, // a value indicating whether the customer can complete the checkout (no available times for example)\n message: '',\n loading: false, // a value indicating whether the data is being loaded or not\n dirty: false // a value indication if the shopping cart needs synchronisation with the server.\n };\n\n /**\r\n * function syncs the result from the server with the current basket\r\n * @param {any} data The data from the server\r\n */\n function updateBasket(data) {\n\n // $(window.Amazilia).on('addedToBasket', function (e, data) {\n\n //tryMobileAnimation($(\".icon-basket\"), \"pulse1\");\n //setIconCartTogglerQuantity();\n\n // display error message, if any\n var html = '';\n if (!data.success) {\n html = '';\n\n $(html).modal();\n return;\n }\n\n // display message (if any)\n if (data.sections['updateaddedtocarthtml'] && data.sections['updateaddedtocarthtml'].length > 10) {\n html = data.updateaddedtocarthtml;\n $(html).modal();\n }\n\n _shoppingCart.dirty = false;\n\n if (!_shoppingCart.model.items.find(function (a) {\n return a.pending;\n })) {\n\n // shortcut\n _shoppingCart.model = data.data;\n\n // add removed property for reactivenes of vue\n _shoppingCart.model.items.forEach(function (a) {\n __WEBPACK_IMPORTED_MODULE_1_vue__[\"a\" /* default */].set(a, 'removed', !!a.removed);\n });\n } else {\n // still pending, use client cart, roundtrip to server is pending or sceduled\n }\n\n _shoppingbagCalculateTotals(_shoppingCart.model);\n\n // set the new cart items to the model\n // _shoppingCart.model = data.data;\n _shoppingCart.loading = false;\n\n _adjustAllergies();\n\n storeToLocalStorage();\n }\n\n /**\r\n * Creates a new shopping bag item\r\n * @param {any} product the Amazilia product\r\n * @param {any} quantity the quantity\r\n * @param {string} contentPriceAlias the contentpricealias\r\n * @returns {object} the new shopping bag item\r\n */\n function createShoppingBagItem(product, quantity, contentPriceAlias) {\n\n var shoppingBagItem = {\n \"children\": [],\n \"productId\": product.id,\n \"contentPriceAlias\": product.contentPriceAlias,\n \"productName\": product.name,\n \"unitPrice\": product.price,\n \"subTotal\": JSON.parse(JSON.stringify(product.price)),\n \"product\": product,\n \"quantity\": quantity,\n \"addedToCart\": true,\n \"removed\": false,\n \"pending\": true,\n discount: {}\n };\n\n shoppingBagItem.subTotal.priceInclTax = shoppingBagItem.unitPrice.priceInclTax * shoppingBagItem.quantity;\n shoppingBagItem.subTotal.priceExlTax = shoppingBagItem.unitPrice.priceExlTax * shoppingBagItem.quantity;\n\n return shoppingBagItem;\n }\n\n /*\r\n function removeExcludedItems(items) {\r\n items = items.filter(a => {\r\n return !a.product.content.excludeOrder;\r\n });\r\n for (var keyId in items) {\r\n let item = items[keyId];\r\n if (item.children && item.children.length)\r\n item.children = removeExcludedItems(item.children);\r\n }\r\n return items;\r\n }\r\n */\n\n var _init = function _init() {\n\n /**\r\n * Global add-to-basket handler, sent items to api\r\n */\n __WEBPACK_IMPORTED_MODULE_0__Services__[\"a\" /* EventBus */].$on('add-to-basket', function (items) {\n\n _shoppingCart.loading = true;\n\n // items = removeExcludedItems(items);\n\n // add the root items to the shopping bag.\n for (var keyId in items) {\n var item = items[keyId];\n\n // find out if an item with the same children already exists\n var shoppingBagItem = FindShoppingBagItem(item);\n\n if (shoppingBagItem) {\n _increaseChildren(shoppingBagItem, shoppingBagItem.quantity, shoppingBagItem.quantity + item.quantity);\n shoppingBagItem.quantity += item.quantity;\n shoppingBagItem.pending = true;\n shoppingBagItem.removed = false;\n } else {\n // create shopping bag item\n shoppingBagItem = createShoppingBagItem(item.product, item.quantity);\n _shoppingCart.model.items.push(shoppingBagItem);\n\n // add children\n _addChildren(item, shoppingBagItem);\n }\n }\n\n _shoppingbagCalculateTotals(_shoppingCart.model);\n _calculatePrice(_shoppingCart.model);\n\n _shoppingCart.dirty = true;\n\n if (_timer) {\n window.clearTimeout(_timer);\n }\n _timer = window.setTimeout(SyncShoppingBag, 1);\n });\n\n function _addChildren(item, parent) {\n for (var key in item.children) {\n\n var prepMethod = item.children[key];\n\n if (prepMethod.quantity > 0) {\n var shoppingBagPrepMethod = createShoppingBagItem(prepMethod.product, prepMethod.quantity);\n parent.children.push(shoppingBagPrepMethod);\n\n if (prepMethod.children && prepMethod.children.length) {\n _addChildren(prepMethod, shoppingBagPrepMethod);\n }\n }\n }\n }\n\n function _increaseChildren(item, rootQ, newQ) {\n for (var key in item.children) {\n var prepMethod = item.children[key];\n var subQuantity = prepMethod.quantity / rootQ * newQ;\n prepMethod.quantity = subQuantity;\n _increaseChildren(prepMethod, rootQ, subQuantity);\n }\n }\n\n window.addEventListener(\"online\", function (e) {\n // _loadDeliveryTime();\n SyncShoppingBag();\n }, false);\n\n // _loadDeliveryTime();\n\n loadFromLocalStorage();\n };\n\n /**\r\n * Search for an item in the shoppingbag with the same children fingerprint\r\n * @param {any} searchItem the item to search\r\n * @param {any} key the property to search in\r\n * @returns {object} the shoppingbag item or null\r\n */\n function FindShoppingBagItem(searchItem) {\n\n var item, id;\n id = searchItem.productId || searchItem.product.id;\n\n // root items\n for (var itemKey in _shoppingCart.model.items) {\n item = _shoppingCart.model.items[itemKey];\n if (item.productId === id) {\n if (_childrenMatch(searchItem.children, searchItem.quantity, item.children, item.quantity)) {\n return item;\n }\n }\n }\n\n function _childrenMatch(itemsSearch, searchParentQuantity, itemsCart, parentQuantity) {\n\n if ((typeof itemsSearch === 'undefined' ? 'undefined' : _typeof(itemsSearch)) !== (typeof itemsSearch === 'undefined' ? 'undefined' : _typeof(itemsSearch))) {\n return false;\n }\n\n if (!itemsSearch) {\n return true;\n }\n\n if (itemsSearch.length !== itemsCart.length) {\n return false;\n }\n\n if (!itemsSearch.length) {\n return true;\n }\n\n var match = false;\n var cartItem = null;\n var searchcontentPriceAlias;\n var itemsSearchId;\n var searchItem;\n\n for (var childKey in itemsCart) {\n\n cartItem = itemsCart[childKey];\n match = false;\n\n for (var searchKey in itemsSearch) {\n searchItem = itemsSearch[searchKey];\n searchcontentPriceAlias = searchItem.contentPriceAlias || searchItem.product.contentPriceAlias;\n itemsSearchId = searchItem.productId || searchItem.product.id;\n if (cartItem.productId === itemsSearchId && cartItem.contentPriceAlias === searchcontentPriceAlias && cartItem.quantity / parentQuantity === searchItem.quantity / searchParentQuantity) {\n match = _childrenMatch(searchItem.children, searchItem.quantity, cartItem.children, cartItem.quantity);\n }\n }\n if (!match) break;\n }\n\n return match;\n }\n\n return null;\n }\n\n var _pendingSync = false;\n\n /**\r\n * Synchronises the offline shopping bag to the server\r\n * \r\n **/\n function SyncShoppingBag() {\n\n var shoppingBagItemsToSync = [];\n\n if (navigator.onLine) {\n\n // check if roundtrip to server is still pending.\n if (_pendingSync) {\n _timer = window.setTimeout(SyncShoppingBag, 200);\n return;\n }\n\n //EmptyBasketItems\n if (_shoppingCart.removeAll) {\n _shoppingCart.removeAll = false;\n _pendingSync = true;\n _shoppingCart.loading = true;\n window.Amazilia.sendEmptyBasketItems('ShoppingCart', null, function (data) {\n _pendingSync = false;\n updateBasket(data);\n });\n return;\n }\n\n // Create model to sent to Amazia backend api\n for (var key in _shoppingCart.model.items) {\n\n var item = _shoppingCart.model.items[key];\n if (item.pending) {\n // main syncitem item.\n var amzShoppingbagRootItem = { ItemID: item.productId, Quantity: item.quantity, Children: [], ContentPriceAlias: item.contentPriceAlias };\n shoppingBagItemsToSync.push(amzShoppingbagRootItem);\n _addChildren(item, amzShoppingbagRootItem);\n\n if (item.removed) {\n amzShoppingbagRootItem.Remove = true;\n }\n\n item.pending = false;\n item.sending = true;\n }\n }\n\n if (shoppingBagItemsToSync.length) {\n _pendingSync = true;\n _shoppingCart.loading = true;\n window.Amazilia.sendUpdateItemsForm(shoppingBagItemsToSync, null, function (data) {\n _pendingSync = false;\n updateBasket(data);\n });\n }\n } else {}\n //window.addEventListener(\"online\", function (e) {\n // SyncShoppingBag();\n //}, false);\n\n\n /**\r\n * Adds the items children to the model send to the server.\r\n * @param {any} sourceItem the shopping cart item\r\n * @param {any} amzShoppingbagParent the Amazilia shoppingbag model\r\n */\n function _addChildren(sourceItem, amzShoppingbagParent) {\n // add preperation methods\n for (var _key in sourceItem.children) {\n\n var shoppingBagChildItem = sourceItem.children[_key];\n\n if (shoppingBagChildItem && shoppingBagChildItem.quantity > 0) {\n var syncItem = { ItemID: shoppingBagChildItem.productId, Quantity: shoppingBagChildItem.quantity, ContentPriceAlias: shoppingBagChildItem.contentPriceAlias };\n amzShoppingbagParent.Children.push(syncItem);\n if (shoppingBagChildItem.children) {\n syncItem.Children = [];\n _addChildren(shoppingBagChildItem, syncItem);\n }\n //AmaziliaOrderitems.push(prepItem);\n }\n }\n }\n }\n\n /**\r\n * Calculates the total items\r\n * @param {any} model the shopping bag model\r\n */\n function _shoppingbagCalculateTotals(model) {\n var total = 0;\n\n for (var key in model.items) {\n var item = model.items[key];\n item.removed = !!item.removed;\n if (!item.removed) {\n total += item.quantity;\n }\n }\n __WEBPACK_IMPORTED_MODULE_1_vue__[\"a\" /* default */].set(model, \"totalItems\", total);\n }\n\n function _adjustAllergies() {\n\n for (var key in _shoppingCart.model.items) {\n var item = _shoppingCart.model.items[key];\n\n if (!item.removed) {\n item.product.content.allergenen = item.product.content.allergenen || [];\n if (item.children && item.children.length) {\n _doChildren(item, item.children);\n }\n }\n }\n\n function _doChildren(item, children) {\n for (var key in children) {\n var child = children[key];\n if (child) {\n if (child.quantity > 0) {\n\n // get allergies and loop to add to total, merge if needed\n if (child.product.content.allergenen) {\n child.product.content.allergenen.forEach(function (allergyId) {\n\n if (item.product.content.allergenen.indexOf(allergyId) === -1) {\n item.product.content.allergenen.push(allergyId);\n }\n\n //if (item.allergyAdditions.indexOf(allergyId) === -1\n // && (!item.product.content.allergenen || item.product.content.allergenen.indexOf(allergyId) === -1)) {\n // item.allergyAdditions.push(allergyId);\n //}\n });\n }\n }\n if (child.children && child.children.length) {\n _doChildren(child.children);\n }\n }\n }\n }\n }\n\n function _calculatePrice(model) {}\n // do nothing, price calculation is done on the server..\n\n /**\r\n * Calculates the prices for offline modus\r\n * @param {any} model the shopping bag model\r\n */\n function _calculatePrice_offline(model) {\n model.total.priceInclTax = model.estimateShipping && model.estimateShipping.shippingRate ? model.estimateShipping.shippingRate.priceInclTax : 0;\n model.compositeTotal.priceInclTax = 0;\n\n var _loop = function _loop() {\n\n var item = model.items[key];\n item.removed = !!item.removed;\n\n if (!item.removed) {\n\n if (!item.discount.priceInclTax) {\n item.subTotal.priceInclTax = item.unitPrice.priceInclTax * item.quantity;\n }\n\n model.total.priceInclTax += item.subTotal.priceInclTax;\n\n if (item.product.compositeProducts) item.product.compositeProducts.forEach(function (a) {\n model.compositeTotal.priceInclTax += a.price.priceInclTax * item.quantity;\n });\n\n _calculateChildren(model, item);\n }\n };\n\n for (var key in model.items) {\n _loop();\n }\n }\n\n function _calculateChildren(model, item) {\n\n for (var childKey in item.children) {\n var prepmethod = item.children[childKey];\n prepmethod.subTotal.priceInclTax = prepmethod.unitPrice.priceInclTax * prepmethod.quantity;\n model.total.priceInclTax += prepmethod.subTotal.priceInclTax;\n if (prepmethod.children && prepmethod.children.length) {\n _calculateChildren(model, prepmethod);\n }\n }\n }\n\n function _loadDeliveryTime(fnComplete, fnError) {\n\n var headers = {};\n headers.PwaDisableCache = 1;\n headers.CultureCode = window.pwa_currentCultureName;\n headers.StoreId = window.pwa_storeId;\n\n $.ajax({\n type: \"POST\",\n url: \"/umbraco/AmaziliaFoodTheme/foodThemeCheckout/DeliveryTimeAsJson\",\n headers: headers,\n error: function error(ex) {\n if (typeof fnError == 'function') {\n fnError(ex);\n }\n }\n }).done(function (jqXHROrData) {\n\n _shoppingCart.shoppingDisabled = jqXHROrData.ShoppingDisabled;\n _shoppingCart.message = jqXHROrData.Message;\n\n if (typeof fnComplete == 'function') {\n fnComplete(jqXHROrData);\n }\n // _this.dirty = shoppingCartService.shoppingCart.dirty;\n });\n }\n\n function _loadTimeTable(dateFrom, dateTo, minuteInterval, fnComplete, fnError) {\n var headers = {};\n headers.PwaDisableCache = 1;\n headers.CultureCode = window.pwa_currentCultureName;\n headers.StoreId = window.pwa_storeId;\n $.ajax({\n type: \"POST\",\n url: \"/umbraco/AmaziliaFoodTheme/foodThemeCheckout/DeliveryTimeTableAsJson\",\n headers: headers,\n data: {\n dateFrom: dateFrom,\n dateTo: dateTo,\n interval: minuteInterval\n },\n error: function error(ex) {\n if (typeof fnError == 'function') {\n fnError(ex);\n }\n }\n }).done(function (jqXHROrData) {\n\n _shoppingCart.shoppingDisabled = jqXHROrData.ShoppingDisabled;\n _shoppingCart.message = jqXHROrData.Message;\n\n if (typeof fnComplete == 'function') {\n fnComplete(jqXHROrData);\n }\n // _this.dirty = shoppingCartService.shoppingCart.dirty;\n });\n }\n\n var loadFromLocalStorage = function loadFromLocalStorage() {\n\n if (localStorage.getItem('shoppingcart')) {\n try {\n _shoppingCart.model = JSON.parse(localStorage.getItem('shoppingcart'));\n } catch (e) {\n localStorage.removeItem('shoppingcart');\n }\n }\n\n return _shoppingCart;\n };\n\n var storeToLocalStorage = function storeToLocalStorage() {\n var parsed = JSON.stringify(_shoppingCart.model);\n localStorage.setItem('shoppingcart', parsed);\n };\n\n function _posOrderSubmit() {\n\n function _doSubmit(resolve, reject) {\n\n if (_pendingSync) {\n _timer = window.setTimeout(_doSubmit, 500);\n return;\n }\n\n var url = '/umbraco/pos/Poscheckoutsurface/posordersubmit/';\n\n _pendingSync = true;\n\n var date = $('input[name=DesiredTimeDay]').val();\n\n debugger;\n\n window.Amazilia.sendForm({ 'event': 'confirmOrder', 'desiredTimeDay': date }, url, function (data) {\n _pendingSync = false;\n\n _shoppingCart.model.items = [];\n _shoppingCart.model.totalItems = 0;\n _shoppingCart.model.total.priceInclTax = 0;\n _shoppingCart.model.total.priceExlTax = 0;\n storeToLocalStorage();\n resolve(data);\n }, function () {\n reject();\n });\n }\n\n return new Promise(function (resolve, reject) {\n _doSubmit(resolve, reject);\n });\n }\n\n function _getRequestHeaders() {\n var headers = {};\n headers.PwaDisableCache = 1;\n headers.CultureCode = window.pwa_currentCultureName;\n headers.StoreId = window.pwa_storeId;\n return headers;\n }\n\n _init();\n\n return {\n\n // Global shopping cart model\n shoppingCart: _shoppingCart,\n\n // checkout url, set in ordering.cshml\n checkoutLink: window.pwa_checkouturl,\n\n /**\r\n * Gets the shippingcart items\r\n * @param {function} error - error callback\r\n */\n loadShoppingCart: function loadShoppingCart(error) {\n var vm = this;\n\n // first sync!\n if (vm.shoppingCart.dirty) {\n SyncShoppingBag();\n }\n\n var headers = _getRequestHeaders();\n\n if (!_shoppingCartLoading) {\n vm.loading = true;\n _shoppingCartLoading = true;\n $.ajax('/umbraco/Amazilia/BasketSurface/JsonCart', { cache: false, headers: headers, complete: _complete, error: _error });\n }\n\n function _complete(result) {\n\n //console.log('* basket loaded');\n\n _shoppingCartLoading = false;\n vm.loading = false;\n\n if (result.status === 200 && result.responseJSON.success) {\n\n _shoppingbagCalculateTotals(result.responseJSON.data);\n vm.shoppingCart.model = result.responseJSON.data;\n\n _adjustAllergies();\n storeToLocalStorage();\n vm.shoppingCart.dirty = false;\n vm.shoppingCart.loading = false;\n } else {\n error(result);\n }\n }\n\n function _error(err) {\n vm.loading = false;\n _shoppingCartLoading = false;\n error(err);\n }\n },\n\n removeCartItem: function removeCartItem(item) {\n\n __WEBPACK_IMPORTED_MODULE_1_vue__[\"a\" /* default */].set(item, 'removed', true);\n item.pending = true;\n _shoppingCart.dirty = true;\n\n if (_timer) {\n window.clearTimeout(_timer);\n }\n _timer = window.setTimeout(SyncShoppingBag, 1);\n\n _shoppingbagCalculateTotals(_shoppingCart.model);\n _calculatePrice(_shoppingCart.model);\n storeToLocalStorage();\n },\n\n quantitychanged: function quantitychanged(item, oldQ) {\n item.pending = true;\n _shoppingCart.dirty = true;\n\n if (item.quantity <= 0) {\n this.removeCartItem(item);\n return;\n }\n\n // add preperation methods\n for (var key in item.children) {\n var prepMethod = item.children[key];\n // parseint to avoid a double from appearing for some reason\n prepMethod.quantity = parseInt(prepMethod.quantity / oldQ * item.quantity);\n\n // add preperation methods\n for (var key2 in prepMethod.children) {\n var prepMethod2 = prepMethod.children[key2];\n // parseint to avoid a double from appearing for some reason\n prepMethod2.quantity = parseInt(prepMethod2.quantity / oldQ * item.quantity);\n }\n }\n\n if (_timer) {\n window.clearTimeout(_timer);\n }\n _timer = window.setTimeout(SyncShoppingBag, 500);\n\n _shoppingbagCalculateTotals(_shoppingCart.model);\n _calculatePrice(_shoppingCart.model);\n storeToLocalStorage();\n },\n\n /**\r\n * Emptys the shopping basket\r\n */\n emptyBasket: function emptyBasket() {\n _shoppingCart.dirty = true;\n _shoppingCart.removeAll = true;\n\n // set the items to deleted.\n for (var key in _shoppingCart.model.items) {\n var _item = _shoppingCart.model.items[key];\n\n __WEBPACK_IMPORTED_MODULE_1_vue__[\"a\" /* default */].set(_item, 'removed', true);\n __WEBPACK_IMPORTED_MODULE_1_vue__[\"a\" /* default */].set(_item, 'quantity', 0);\n _item.pending = true;\n }\n _shoppingCart.model.totalItems = 0;\n _shoppingCart.model.total.priceInclTax = 0;\n _shoppingCart.model.subTotal.priceInclTax = 0;\n _shoppingCart.model.discountTotal = 0;\n _shoppingCart.model.willEarnRewardPoints = 0;\n _shoppingCart.model.displayRewardPoints = false;\n _shoppingCart.model.redeemedRewardPointsAmount = 0;\n _shoppingCart.model.estimateShipping.shippingRate.priceInclTax = 0;\n _shoppingCart.model.compositeTotal = 0;\n _shoppingCart.model.subTotalDiscount.priceInclTax = 0;\n _shoppingCart.model.appliedDiscounts = [];\n\n storeToLocalStorage();\n SyncShoppingBag();\n },\n\n setDisabled: function setDisabled(disabled) {\n _shoppingCart.shoppingDisabled = disabled;\n },\n setMessage: function setMessage(message) {\n _shoppingCart.message = message;\n },\n\n loadDeliveryTime: function loadDeliveryTime(fnComplete, fnError) {\n return _loadDeliveryTime(fnComplete, fnError);\n },\n\n loadTimeTable: function loadTimeTable(fromDate, toDate, minuteInterval, fnComplete, fnError) {\n return _loadTimeTable(fromDate, toDate, minuteInterval, fnComplete, fnError);\n },\n\n posOrderSubmit: function posOrderSubmit() {\n return _posOrderSubmit();\n },\n\n setUseRewardPoints: function setUseRewardPoints(rewardPoints) {\n\n var headers = _getRequestHeaders();\n var url = '/umbraco/UseRewardPoints/UseRewardPointsApi/UseRewardPoints?rewardPointsToUse=' + rewardPoints;\n _shoppingCart.loading = true;\n var _this = this;\n\n $.ajax(url, {\n headers: headers,\n complete: function complete(result) {\n _this.loadShoppingCart();\n }, error: function error(err) {\n console.error(err);\n }\n });\n }\n\n };\n}();\n\n/* harmony default export */ __webpack_exports__[\"a\"] = (shoppingCartService);\n\n/***/ }),\n/* 3 */\n/***/ (function(module, __webpack_exports__, __webpack_require__) {\n\n\"use strict\";\n/* WEBPACK VAR INJECTION */(function(global, setImmediate) {/* unused harmony export EffectScope */\n/* unused harmony export computed */\n/* unused harmony export customRef */\n/* harmony export (binding) */ __webpack_require__.d(__webpack_exports__, \"a\", function() { return Vue; });\n/* unused harmony export defineAsyncComponent */\n/* unused harmony export defineComponent */\n/* unused harmony export del */\n/* unused harmony export effectScope */\n/* unused harmony export getCurrentInstance */\n/* unused harmony export getCurrentScope */\n/* unused harmony export h */\n/* unused harmony export inject */\n/* unused harmony export isProxy */\n/* unused harmony export isReactive */\n/* unused harmony export isReadonly */\n/* unused harmony export isRef */\n/* unused harmony export isShallow */\n/* unused harmony export markRaw */\n/* unused harmony export mergeDefaults */\n/* unused harmony export nextTick */\n/* unused harmony export onActivated */\n/* unused harmony export onBeforeMount */\n/* unused harmony export onBeforeUnmount */\n/* unused harmony export onBeforeUpdate */\n/* unused harmony export onDeactivated */\n/* unused harmony export onErrorCaptured */\n/* unused harmony export onMounted */\n/* unused harmony export onRenderTracked */\n/* unused harmony export onRenderTriggered */\n/* unused harmony export onScopeDispose */\n/* unused harmony export onServerPrefetch */\n/* unused harmony export onUnmounted */\n/* unused harmony export onUpdated */\n/* unused harmony export provide */\n/* unused harmony export proxyRefs */\n/* unused harmony export reactive */\n/* unused harmony export readonly */\n/* unused harmony export ref */\n/* unused harmony export set */\n/* unused harmony export shallowReactive */\n/* unused harmony export shallowReadonly */\n/* unused harmony export shallowRef */\n/* unused harmony export toRaw */\n/* unused harmony export toRef */\n/* unused harmony export toRefs */\n/* unused harmony export triggerRef */\n/* unused harmony export unref */\n/* unused harmony export useAttrs */\n/* unused harmony export useCssModule */\n/* unused harmony export useCssVars */\n/* unused harmony export useListeners */\n/* unused harmony export useSlots */\n/* unused harmony export version */\n/* unused harmony export watch */\n/* unused harmony export watchEffect */\n/* unused harmony export watchPostEffect */\n/* unused harmony export watchSyncEffect */\n/*!\n * Vue.js v2.7.14\n * (c) 2014-2022 Evan You\n * Released under the MIT License.\n */\nvar emptyObject = Object.freeze({});\nvar isArray = Array.isArray;\n// These helpers produce better VM code in JS engines due to their\n// explicitness and function inlining.\nfunction isUndef(v) {\n return v === undefined || v === null;\n}\nfunction isDef(v) {\n return v !== undefined && v !== null;\n}\nfunction isTrue(v) {\n return v === true;\n}\nfunction isFalse(v) {\n return v === false;\n}\n/**\n * Check if value is primitive.\n */\nfunction isPrimitive(value) {\n return (typeof value === 'string' ||\n typeof value === 'number' ||\n // $flow-disable-line\n typeof value === 'symbol' ||\n typeof value === 'boolean');\n}\nfunction isFunction(value) {\n return typeof value === 'function';\n}\n/**\n * Quick object check - this is primarily used to tell\n * objects from primitive values when we know the value\n * is a JSON-compliant type.\n */\nfunction isObject(obj) {\n return obj !== null && typeof obj === 'object';\n}\n/**\n * Get the raw type string of a value, e.g., [object Object].\n */\nvar _toString = Object.prototype.toString;\nfunction toRawType(value) {\n return _toString.call(value).slice(8, -1);\n}\n/**\n * Strict object type check. Only returns true\n * for plain JavaScript objects.\n */\nfunction isPlainObject(obj) {\n return _toString.call(obj) === '[object Object]';\n}\nfunction isRegExp(v) {\n return _toString.call(v) === '[object RegExp]';\n}\n/**\n * Check if val is a valid array index.\n */\nfunction isValidArrayIndex(val) {\n var n = parseFloat(String(val));\n return n >= 0 && Math.floor(n) === n && isFinite(val);\n}\nfunction isPromise(val) {\n return (isDef(val) &&\n typeof val.then === 'function' &&\n typeof val.catch === 'function');\n}\n/**\n * Convert a value to a string that is actually rendered.\n */\nfunction toString(val) {\n return val == null\n ? ''\n : Array.isArray(val) || (isPlainObject(val) && val.toString === _toString)\n ? JSON.stringify(val, null, 2)\n : String(val);\n}\n/**\n * Convert an input value to a number for persistence.\n * If the conversion fails, return original string.\n */\nfunction toNumber(val) {\n var n = parseFloat(val);\n return isNaN(n) ? val : n;\n}\n/**\n * Make a map and return a function for checking if a key\n * is in that map.\n */\nfunction makeMap(str, expectsLowerCase) {\n var map = Object.create(null);\n var list = str.split(',');\n for (var i = 0; i < list.length; i++) {\n map[list[i]] = true;\n }\n return expectsLowerCase ? function (val) { return map[val.toLowerCase()]; } : function (val) { return map[val]; };\n}\n/**\n * Check if a tag is a built-in tag.\n */\nvar isBuiltInTag = makeMap('slot,component', true);\n/**\n * Check if an attribute is a reserved attribute.\n */\nvar isReservedAttribute = makeMap('key,ref,slot,slot-scope,is');\n/**\n * Remove an item from an array.\n */\nfunction remove$2(arr, item) {\n var len = arr.length;\n if (len) {\n // fast path for the only / last item\n if (item === arr[len - 1]) {\n arr.length = len - 1;\n return;\n }\n var index = arr.indexOf(item);\n if (index > -1) {\n return arr.splice(index, 1);\n }\n }\n}\n/**\n * Check whether an object has the property.\n */\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction hasOwn(obj, key) {\n return hasOwnProperty.call(obj, key);\n}\n/**\n * Create a cached version of a pure function.\n */\nfunction cached(fn) {\n var cache = Object.create(null);\n return function cachedFn(str) {\n var hit = cache[str];\n return hit || (cache[str] = fn(str));\n };\n}\n/**\n * Camelize a hyphen-delimited string.\n */\nvar camelizeRE = /-(\\w)/g;\nvar camelize = cached(function (str) {\n return str.replace(camelizeRE, function (_, c) { return (c ? c.toUpperCase() : ''); });\n});\n/**\n * Capitalize a string.\n */\nvar capitalize = cached(function (str) {\n return str.charAt(0).toUpperCase() + str.slice(1);\n});\n/**\n * Hyphenate a camelCase string.\n */\nvar hyphenateRE = /\\B([A-Z])/g;\nvar hyphenate = cached(function (str) {\n return str.replace(hyphenateRE, '-$1').toLowerCase();\n});\n/**\n * Simple bind polyfill for environments that do not support it,\n * e.g., PhantomJS 1.x. Technically, we don't need this anymore\n * since native bind is now performant enough in most browsers.\n * But removing it would mean breaking code that was able to run in\n * PhantomJS 1.x, so this must be kept for backward compatibility.\n */\n/* istanbul ignore next */\nfunction polyfillBind(fn, ctx) {\n function boundFn(a) {\n var l = arguments.length;\n return l\n ? l > 1\n ? fn.apply(ctx, arguments)\n : fn.call(ctx, a)\n : fn.call(ctx);\n }\n boundFn._length = fn.length;\n return boundFn;\n}\nfunction nativeBind(fn, ctx) {\n return fn.bind(ctx);\n}\n// @ts-expect-error bind cannot be `undefined`\nvar bind$1 = Function.prototype.bind ? nativeBind : polyfillBind;\n/**\n * Convert an Array-like object to a real Array.\n */\nfunction toArray(list, start) {\n start = start || 0;\n var i = list.length - start;\n var ret = new Array(i);\n while (i--) {\n ret[i] = list[i + start];\n }\n return ret;\n}\n/**\n * Mix properties into target object.\n */\nfunction extend(to, _from) {\n for (var key in _from) {\n to[key] = _from[key];\n }\n return to;\n}\n/**\n * Merge an Array of Objects into a single Object.\n */\nfunction toObject(arr) {\n var res = {};\n for (var i = 0; i < arr.length; i++) {\n if (arr[i]) {\n extend(res, arr[i]);\n }\n }\n return res;\n}\n/* eslint-disable no-unused-vars */\n/**\n * Perform no operation.\n * Stubbing args to make Flow happy without leaving useless transpiled code\n * with ...rest (https://flow.org/blog/2017/05/07/Strict-Function-Call-Arity/).\n */\nfunction noop(a, b, c) { }\n/**\n * Always return false.\n */\nvar no = function (a, b, c) { return false; };\n/* eslint-enable no-unused-vars */\n/**\n * Return the same value.\n */\nvar identity = function (_) { return _; };\n/**\n * Generate a string containing static keys from compiler modules.\n */\nfunction genStaticKeys$1(modules) {\n return modules\n .reduce(function (keys, m) {\n return keys.concat(m.staticKeys || []);\n }, [])\n .join(',');\n}\n/**\n * Check if two values are loosely equal - that is,\n * if they are plain objects, do they have the same shape?\n */\nfunction looseEqual(a, b) {\n if (a === b)\n return true;\n var isObjectA = isObject(a);\n var isObjectB = isObject(b);\n if (isObjectA && isObjectB) {\n try {\n var isArrayA = Array.isArray(a);\n var isArrayB = Array.isArray(b);\n if (isArrayA && isArrayB) {\n return (a.length === b.length &&\n a.every(function (e, i) {\n return looseEqual(e, b[i]);\n }));\n }\n else if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime();\n }\n else if (!isArrayA && !isArrayB) {\n var keysA = Object.keys(a);\n var keysB = Object.keys(b);\n return (keysA.length === keysB.length &&\n keysA.every(function (key) {\n return looseEqual(a[key], b[key]);\n }));\n }\n else {\n /* istanbul ignore next */\n return false;\n }\n }\n catch (e) {\n /* istanbul ignore next */\n return false;\n }\n }\n else if (!isObjectA && !isObjectB) {\n return String(a) === String(b);\n }\n else {\n return false;\n }\n}\n/**\n * Return the first index at which a loosely equal value can be\n * found in the array (if value is a plain object, the array must\n * contain an object of the same shape), or -1 if it is not present.\n */\nfunction looseIndexOf(arr, val) {\n for (var i = 0; i < arr.length; i++) {\n if (looseEqual(arr[i], val))\n return i;\n }\n return -1;\n}\n/**\n * Ensure a function is called only once.\n */\nfunction once(fn) {\n var called = false;\n return function () {\n if (!called) {\n called = true;\n fn.apply(this, arguments);\n }\n };\n}\n// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is#polyfill\nfunction hasChanged(x, y) {\n if (x === y) {\n return x === 0 && 1 / x !== 1 / y;\n }\n else {\n return x === x || y === y;\n }\n}\n\nvar SSR_ATTR = 'data-server-rendered';\nvar ASSET_TYPES = ['component', 'directive', 'filter'];\nvar LIFECYCLE_HOOKS = [\n 'beforeCreate',\n 'created',\n 'beforeMount',\n 'mounted',\n 'beforeUpdate',\n 'updated',\n 'beforeDestroy',\n 'destroyed',\n 'activated',\n 'deactivated',\n 'errorCaptured',\n 'serverPrefetch',\n 'renderTracked',\n 'renderTriggered'\n];\n\nvar config = {\n /**\n * Option merge strategies (used in core/util/options)\n */\n // $flow-disable-line\n optionMergeStrategies: Object.create(null),\n /**\n * Whether to suppress warnings.\n */\n silent: false,\n /**\n * Show production mode tip message on boot?\n */\n productionTip: \"production\" !== 'production',\n /**\n * Whether to enable devtools\n */\n devtools: \"production\" !== 'production',\n /**\n * Whether to record perf\n */\n performance: false,\n /**\n * Error handler for watcher errors\n */\n errorHandler: null,\n /**\n * Warn handler for watcher warns\n */\n warnHandler: null,\n /**\n * Ignore certain custom elements\n */\n ignoredElements: [],\n /**\n * Custom user key aliases for v-on\n */\n // $flow-disable-line\n keyCodes: Object.create(null),\n /**\n * Check if a tag is reserved so that it cannot be registered as a\n * component. This is platform-dependent and may be overwritten.\n */\n isReservedTag: no,\n /**\n * Check if an attribute is reserved so that it cannot be used as a component\n * prop. This is platform-dependent and may be overwritten.\n */\n isReservedAttr: no,\n /**\n * Check if a tag is an unknown element.\n * Platform-dependent.\n */\n isUnknownElement: no,\n /**\n * Get the namespace of an element\n */\n getTagNamespace: noop,\n /**\n * Parse the real tag name for the specific platform.\n */\n parsePlatformTagName: identity,\n /**\n * Check if an attribute must be bound using property, e.g. value\n * Platform-dependent.\n */\n mustUseProp: no,\n /**\n * Perform updates asynchronously. Intended to be used by Vue Test Utils\n * This will significantly reduce performance if set to false.\n */\n async: true,\n /**\n * Exposed for legacy reasons\n */\n _lifecycleHooks: LIFECYCLE_HOOKS\n};\n\n/**\n * unicode letters used for parsing html tags, component names and property paths.\n * using https://www.w3.org/TR/html53/semantics-scripting.html#potentialcustomelementname\n * skipping \\u10000-\\uEFFFF due to it freezing up PhantomJS\n */\nvar unicodeRegExp = /a-zA-Z\\u00B7\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u203F-\\u2040\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD/;\n/**\n * Check if a string starts with $ or _\n */\nfunction isReserved(str) {\n var c = (str + '').charCodeAt(0);\n return c === 0x24 || c === 0x5f;\n}\n/**\n * Define a property.\n */\nfunction def(obj, key, val, enumerable) {\n Object.defineProperty(obj, key, {\n value: val,\n enumerable: !!enumerable,\n writable: true,\n configurable: true\n });\n}\n/**\n * Parse simple path.\n */\nvar bailRE = new RegExp(\"[^\".concat(unicodeRegExp.source, \".$_\\\\d]\"));\nfunction parsePath(path) {\n if (bailRE.test(path)) {\n return;\n }\n var segments = path.split('.');\n return function (obj) {\n for (var i = 0; i < segments.length; i++) {\n if (!obj)\n return;\n obj = obj[segments[i]];\n }\n return obj;\n };\n}\n\n// can we use __proto__?\nvar hasProto = '__proto__' in {};\n// Browser environment sniffing\nvar inBrowser = typeof window !== 'undefined';\nvar UA = inBrowser && window.navigator.userAgent.toLowerCase();\nvar isIE = UA && /msie|trident/.test(UA);\nvar isIE9 = UA && UA.indexOf('msie 9.0') > 0;\nvar isEdge = UA && UA.indexOf('edge/') > 0;\nUA && UA.indexOf('android') > 0;\nvar isIOS = UA && /iphone|ipad|ipod|ios/.test(UA);\nUA && /chrome\\/\\d+/.test(UA) && !isEdge;\nUA && /phantomjs/.test(UA);\nvar isFF = UA && UA.match(/firefox\\/(\\d+)/);\n// Firefox has a \"watch\" function on Object.prototype...\n// @ts-expect-error firebox support\nvar nativeWatch = {}.watch;\nvar supportsPassive = false;\nif (inBrowser) {\n try {\n var opts = {};\n Object.defineProperty(opts, 'passive', {\n get: function () {\n /* istanbul ignore next */\n supportsPassive = true;\n }\n }); // https://github.com/facebook/flow/issues/285\n window.addEventListener('test-passive', null, opts);\n }\n catch (e) { }\n}\n// this needs to be lazy-evaled because vue may be required before\n// vue-server-renderer can set VUE_ENV\nvar _isServer;\nvar isServerRendering = function () {\n if (_isServer === undefined) {\n /* istanbul ignore if */\n if (!inBrowser && typeof global !== 'undefined') {\n // detect presence of vue-server-renderer and avoid\n // Webpack shimming the process\n _isServer =\n global['process'] && global['process'].env.VUE_ENV === 'server';\n }\n else {\n _isServer = false;\n }\n }\n return _isServer;\n};\n// detect devtools\nvar devtools = inBrowser && window.__VUE_DEVTOOLS_GLOBAL_HOOK__;\n/* istanbul ignore next */\nfunction isNative(Ctor) {\n return typeof Ctor === 'function' && /native code/.test(Ctor.toString());\n}\nvar hasSymbol = typeof Symbol !== 'undefined' &&\n isNative(Symbol) &&\n typeof Reflect !== 'undefined' &&\n isNative(Reflect.ownKeys);\nvar _Set; // $flow-disable-line\n/* istanbul ignore if */ if (typeof Set !== 'undefined' && isNative(Set)) {\n // use native Set when available.\n _Set = Set;\n}\nelse {\n // a non-standard Set polyfill that only works with primitive keys.\n _Set = /** @class */ (function () {\n function Set() {\n this.set = Object.create(null);\n }\n Set.prototype.has = function (key) {\n return this.set[key] === true;\n };\n Set.prototype.add = function (key) {\n this.set[key] = true;\n };\n Set.prototype.clear = function () {\n this.set = Object.create(null);\n };\n return Set;\n }());\n}\n\nvar currentInstance = null;\n/**\n * This is exposed for compatibility with v3 (e.g. some functions in VueUse\n * relies on it). Do not use this internally, just use `currentInstance`.\n *\n * @internal this function needs manual type declaration because it relies\n * on previously manually authored types from Vue 2\n */\nfunction getCurrentInstance() {\n return currentInstance && { proxy: currentInstance };\n}\n/**\n * @internal\n */\nfunction setCurrentInstance(vm) {\n if (vm === void 0) { vm = null; }\n if (!vm)\n currentInstance && currentInstance._scope.off();\n currentInstance = vm;\n vm && vm._scope.on();\n}\n\n/**\n * @internal\n */\nvar VNode = /** @class */ (function () {\n function VNode(tag, data, children, text, elm, context, componentOptions, asyncFactory) {\n this.tag = tag;\n this.data = data;\n this.children = children;\n this.text = text;\n this.elm = elm;\n this.ns = undefined;\n this.context = context;\n this.fnContext = undefined;\n this.fnOptions = undefined;\n this.fnScopeId = undefined;\n this.key = data && data.key;\n this.componentOptions = componentOptions;\n this.componentInstance = undefined;\n this.parent = undefined;\n this.raw = false;\n this.isStatic = false;\n this.isRootInsert = true;\n this.isComment = false;\n this.isCloned = false;\n this.isOnce = false;\n this.asyncFactory = asyncFactory;\n this.asyncMeta = undefined;\n this.isAsyncPlaceholder = false;\n }\n Object.defineProperty(VNode.prototype, \"child\", {\n // DEPRECATED: alias for componentInstance for backwards compat.\n /* istanbul ignore next */\n get: function () {\n return this.componentInstance;\n },\n enumerable: false,\n configurable: true\n });\n return VNode;\n}());\nvar createEmptyVNode = function (text) {\n if (text === void 0) { text = ''; }\n var node = new VNode();\n node.text = text;\n node.isComment = true;\n return node;\n};\nfunction createTextVNode(val) {\n return new VNode(undefined, undefined, undefined, String(val));\n}\n// optimized shallow clone\n// used for static nodes and slot nodes because they may be reused across\n// multiple renders, cloning them avoids errors when DOM manipulations rely\n// on their elm reference.\nfunction cloneVNode(vnode) {\n var cloned = new VNode(vnode.tag, vnode.data, \n // #7975\n // clone children array to avoid mutating original in case of cloning\n // a child.\n vnode.children && vnode.children.slice(), vnode.text, vnode.elm, vnode.context, vnode.componentOptions, vnode.asyncFactory);\n cloned.ns = vnode.ns;\n cloned.isStatic = vnode.isStatic;\n cloned.key = vnode.key;\n cloned.isComment = vnode.isComment;\n cloned.fnContext = vnode.fnContext;\n cloned.fnOptions = vnode.fnOptions;\n cloned.fnScopeId = vnode.fnScopeId;\n cloned.asyncMeta = vnode.asyncMeta;\n cloned.isCloned = true;\n return cloned;\n}\n\n/* not type checking this file because flow doesn't play well with Proxy */\nvar initProxy;\nif (false) {\n var allowedGlobals_1 = makeMap('Infinity,undefined,NaN,isFinite,isNaN,' +\n 'parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,' +\n 'Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,' +\n 'require' // for Webpack/Browserify\n );\n var warnNonPresent_1 = function (target, key) {\n warn$2(\"Property or method \\\"\".concat(key, \"\\\" is not defined on the instance but \") +\n 'referenced during render. Make sure that this property is reactive, ' +\n 'either in the data option, or for class-based components, by ' +\n 'initializing the property. ' +\n 'See: https://v2.vuejs.org/v2/guide/reactivity.html#Declaring-Reactive-Properties.', target);\n };\n var warnReservedPrefix_1 = function (target, key) {\n warn$2(\"Property \\\"\".concat(key, \"\\\" must be accessed with \\\"$data.\").concat(key, \"\\\" because \") +\n 'properties starting with \"$\" or \"_\" are not proxied in the Vue instance to ' +\n 'prevent conflicts with Vue internals. ' +\n 'See: https://v2.vuejs.org/v2/api/#data', target);\n };\n var hasProxy_1 = typeof Proxy !== 'undefined' && isNative(Proxy);\n if (hasProxy_1) {\n var isBuiltInModifier_1 = makeMap('stop,prevent,self,ctrl,shift,alt,meta,exact');\n config.keyCodes = new Proxy(config.keyCodes, {\n set: function (target, key, value) {\n if (isBuiltInModifier_1(key)) {\n warn$2(\"Avoid overwriting built-in modifier in config.keyCodes: .\".concat(key));\n return false;\n }\n else {\n target[key] = value;\n return true;\n }\n }\n });\n }\n var hasHandler_1 = {\n has: function (target, key) {\n var has = key in target;\n var isAllowed = allowedGlobals_1(key) ||\n (typeof key === 'string' &&\n key.charAt(0) === '_' &&\n !(key in target.$data));\n if (!has && !isAllowed) {\n if (key in target.$data)\n warnReservedPrefix_1(target, key);\n else\n warnNonPresent_1(target, key);\n }\n return has || !isAllowed;\n }\n };\n var getHandler_1 = {\n get: function (target, key) {\n if (typeof key === 'string' && !(key in target)) {\n if (key in target.$data)\n warnReservedPrefix_1(target, key);\n else\n warnNonPresent_1(target, key);\n }\n return target[key];\n }\n };\n initProxy = function initProxy(vm) {\n if (hasProxy_1) {\n // determine which proxy handler to use\n var options = vm.$options;\n var handlers = options.render && options.render._withStripped ? getHandler_1 : hasHandler_1;\n vm._renderProxy = new Proxy(vm, handlers);\n }\n else {\n vm._renderProxy = vm;\n }\n };\n}\n\n/******************************************************************************\r\nCopyright (c) Microsoft Corporation.\r\n\r\nPermission to use, copy, modify, and/or distribute this software for any\r\npurpose with or without fee is hereby granted.\r\n\r\nTHE SOFTWARE IS PROVIDED \"AS IS\" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH\r\nREGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY\r\nAND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,\r\nINDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM\r\nLOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR\r\nOTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR\r\nPERFORMANCE OF THIS SOFTWARE.\r\n***************************************************************************** */\r\n\r\nvar __assign = function() {\r\n __assign = Object.assign || function __assign(t) {\r\n for (var s, i = 1, n = arguments.length; i < n; i++) {\r\n s = arguments[i];\r\n for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p)) t[p] = s[p];\r\n }\r\n return t;\r\n };\r\n return __assign.apply(this, arguments);\r\n};\n\nvar uid$2 = 0;\nvar pendingCleanupDeps = [];\nvar cleanupDeps = function () {\n for (var i = 0; i < pendingCleanupDeps.length; i++) {\n var dep = pendingCleanupDeps[i];\n dep.subs = dep.subs.filter(function (s) { return s; });\n dep._pending = false;\n }\n pendingCleanupDeps.length = 0;\n};\n/**\n * A dep is an observable that can have multiple\n * directives subscribing to it.\n * @internal\n */\nvar Dep = /** @class */ (function () {\n function Dep() {\n // pending subs cleanup\n this._pending = false;\n this.id = uid$2++;\n this.subs = [];\n }\n Dep.prototype.addSub = function (sub) {\n this.subs.push(sub);\n };\n Dep.prototype.removeSub = function (sub) {\n // #12696 deps with massive amount of subscribers are extremely slow to\n // clean up in Chromium\n // to workaround this, we unset the sub for now, and clear them on\n // next scheduler flush.\n this.subs[this.subs.indexOf(sub)] = null;\n if (!this._pending) {\n this._pending = true;\n pendingCleanupDeps.push(this);\n }\n };\n Dep.prototype.depend = function (info) {\n if (Dep.target) {\n Dep.target.addDep(this);\n if (false) {\n Dep.target.onTrack(__assign({ effect: Dep.target }, info));\n }\n }\n };\n Dep.prototype.notify = function (info) {\n // stabilize the subscriber list first\n var subs = this.subs.filter(function (s) { return s; });\n if (false) {\n // subs aren't sorted in scheduler if not running async\n // we need to sort them now to make sure they fire in correct\n // order\n subs.sort(function (a, b) { return a.id - b.id; });\n }\n for (var i = 0, l = subs.length; i < l; i++) {\n var sub = subs[i];\n if (false) {\n sub.onTrigger &&\n sub.onTrigger(__assign({ effect: subs[i] }, info));\n }\n sub.update();\n }\n };\n return Dep;\n}());\n// The current target watcher being evaluated.\n// This is globally unique because only one watcher\n// can be evaluated at a time.\nDep.target = null;\nvar targetStack = [];\nfunction pushTarget(target) {\n targetStack.push(target);\n Dep.target = target;\n}\nfunction popTarget() {\n targetStack.pop();\n Dep.target = targetStack[targetStack.length - 1];\n}\n\n/*\n * not type checking this file because flow doesn't play well with\n * dynamically accessing methods on Array prototype\n */\nvar arrayProto = Array.prototype;\nvar arrayMethods = Object.create(arrayProto);\nvar methodsToPatch = [\n 'push',\n 'pop',\n 'shift',\n 'unshift',\n 'splice',\n 'sort',\n 'reverse'\n];\n/**\n * Intercept mutating methods and emit events\n */\nmethodsToPatch.forEach(function (method) {\n // cache original method\n var original = arrayProto[method];\n def(arrayMethods, method, function mutator() {\n var args = [];\n for (var _i = 0; _i < arguments.length; _i++) {\n args[_i] = arguments[_i];\n }\n var result = original.apply(this, args);\n var ob = this.__ob__;\n var inserted;\n switch (method) {\n case 'push':\n case 'unshift':\n inserted = args;\n break;\n case 'splice':\n inserted = args.slice(2);\n break;\n }\n if (inserted)\n ob.observeArray(inserted);\n // notify change\n if (false) {\n ob.dep.notify({\n type: \"array mutation\" /* TriggerOpTypes.ARRAY_MUTATION */,\n target: this,\n key: method\n });\n }\n else {\n ob.dep.notify();\n }\n return result;\n });\n});\n\nvar arrayKeys = Object.getOwnPropertyNames(arrayMethods);\nvar NO_INIITIAL_VALUE = {};\n/**\n * In some cases we may want to disable observation inside a component's\n * update computation.\n */\nvar shouldObserve = true;\nfunction toggleObserving(value) {\n shouldObserve = value;\n}\n// ssr mock dep\nvar mockDep = {\n notify: noop,\n depend: noop,\n addSub: noop,\n removeSub: noop\n};\n/**\n * Observer class that is attached to each observed\n * object. Once attached, the observer converts the target\n * object's property keys into getter/setters that\n * collect dependencies and dispatch updates.\n */\nvar Observer = /** @class */ (function () {\n function Observer(value, shallow, mock) {\n if (shallow === void 0) { shallow = false; }\n if (mock === void 0) { mock = false; }\n this.value = value;\n this.shallow = shallow;\n this.mock = mock;\n // this.value = value\n this.dep = mock ? mockDep : new Dep();\n this.vmCount = 0;\n def(value, '__ob__', this);\n if (isArray(value)) {\n if (!mock) {\n if (hasProto) {\n value.__proto__ = arrayMethods;\n /* eslint-enable no-proto */\n }\n else {\n for (var i = 0, l = arrayKeys.length; i < l; i++) {\n var key = arrayKeys[i];\n def(value, key, arrayMethods[key]);\n }\n }\n }\n if (!shallow) {\n this.observeArray(value);\n }\n }\n else {\n /**\n * Walk through all properties and convert them into\n * getter/setters. This method should only be called when\n * value type is Object.\n */\n var keys = Object.keys(value);\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n defineReactive(value, key, NO_INIITIAL_VALUE, undefined, shallow, mock);\n }\n }\n }\n /**\n * Observe a list of Array items.\n */\n Observer.prototype.observeArray = function (value) {\n for (var i = 0, l = value.length; i < l; i++) {\n observe(value[i], false, this.mock);\n }\n };\n return Observer;\n}());\n// helpers\n/**\n * Attempt to create an observer instance for a value,\n * returns the new observer if successfully observed,\n * or the existing observer if the value already has one.\n */\nfunction observe(value, shallow, ssrMockReactivity) {\n if (value && hasOwn(value, '__ob__') && value.__ob__ instanceof Observer) {\n return value.__ob__;\n }\n if (shouldObserve &&\n (ssrMockReactivity || !isServerRendering()) &&\n (isArray(value) || isPlainObject(value)) &&\n Object.isExtensible(value) &&\n !value.__v_skip /* ReactiveFlags.SKIP */ &&\n !isRef(value) &&\n !(value instanceof VNode)) {\n return new Observer(value, shallow, ssrMockReactivity);\n }\n}\n/**\n * Define a reactive property on an Object.\n */\nfunction defineReactive(obj, key, val, customSetter, shallow, mock) {\n var dep = new Dep();\n var property = Object.getOwnPropertyDescriptor(obj, key);\n if (property && property.configurable === false) {\n return;\n }\n // cater for pre-defined getter/setters\n var getter = property && property.get;\n var setter = property && property.set;\n if ((!getter || setter) &&\n (val === NO_INIITIAL_VALUE || arguments.length === 2)) {\n val = obj[key];\n }\n var childOb = !shallow && observe(val, false, mock);\n Object.defineProperty(obj, key, {\n enumerable: true,\n configurable: true,\n get: function reactiveGetter() {\n var value = getter ? getter.call(obj) : val;\n if (Dep.target) {\n if (false) {\n dep.depend({\n target: obj,\n type: \"get\" /* TrackOpTypes.GET */,\n key: key\n });\n }\n else {\n dep.depend();\n }\n if (childOb) {\n childOb.dep.depend();\n if (isArray(value)) {\n dependArray(value);\n }\n }\n }\n return isRef(value) && !shallow ? value.value : value;\n },\n set: function reactiveSetter(newVal) {\n var value = getter ? getter.call(obj) : val;\n if (!hasChanged(value, newVal)) {\n return;\n }\n if (false) {\n customSetter();\n }\n if (setter) {\n setter.call(obj, newVal);\n }\n else if (getter) {\n // #7981: for accessor properties without setter\n return;\n }\n else if (!shallow && isRef(value) && !isRef(newVal)) {\n value.value = newVal;\n return;\n }\n else {\n val = newVal;\n }\n childOb = !shallow && observe(newVal, false, mock);\n if (false) {\n dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: obj,\n key: key,\n newValue: newVal,\n oldValue: value\n });\n }\n else {\n dep.notify();\n }\n }\n });\n return dep;\n}\nfunction set(target, key, val) {\n if (false) {\n warn$2(\"Cannot set reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isReadonly(target)) {\n \"production\" !== 'production' && warn$2(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n var ob = target.__ob__;\n if (isArray(target) && isValidArrayIndex(key)) {\n target.length = Math.max(target.length, key);\n target.splice(key, 1, val);\n // when mocking for SSR, array methods are not hijacked\n if (ob && !ob.shallow && ob.mock) {\n observe(val, false, true);\n }\n return val;\n }\n if (key in target && !(key in Object.prototype)) {\n target[key] = val;\n return val;\n }\n if (target._isVue || (ob && ob.vmCount)) {\n \"production\" !== 'production' &&\n warn$2('Avoid adding reactive properties to a Vue instance or its root $data ' +\n 'at runtime - declare it upfront in the data option.');\n return val;\n }\n if (!ob) {\n target[key] = val;\n return val;\n }\n defineReactive(ob.value, key, val, undefined, ob.shallow, ob.mock);\n if (false) {\n ob.dep.notify({\n type: \"add\" /* TriggerOpTypes.ADD */,\n target: target,\n key: key,\n newValue: val,\n oldValue: undefined\n });\n }\n else {\n ob.dep.notify();\n }\n return val;\n}\nfunction del(target, key) {\n if (false) {\n warn$2(\"Cannot delete reactive property on undefined, null, or primitive value: \".concat(target));\n }\n if (isArray(target) && isValidArrayIndex(key)) {\n target.splice(key, 1);\n return;\n }\n var ob = target.__ob__;\n if (target._isVue || (ob && ob.vmCount)) {\n \"production\" !== 'production' &&\n warn$2('Avoid deleting properties on a Vue instance or its root $data ' +\n '- just set it to null.');\n return;\n }\n if (isReadonly(target)) {\n \"production\" !== 'production' &&\n warn$2(\"Delete operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n return;\n }\n if (!hasOwn(target, key)) {\n return;\n }\n delete target[key];\n if (!ob) {\n return;\n }\n if (false) {\n ob.dep.notify({\n type: \"delete\" /* TriggerOpTypes.DELETE */,\n target: target,\n key: key\n });\n }\n else {\n ob.dep.notify();\n }\n}\n/**\n * Collect dependencies on array elements when the array is touched, since\n * we cannot intercept array element access like property getters.\n */\nfunction dependArray(value) {\n for (var e = void 0, i = 0, l = value.length; i < l; i++) {\n e = value[i];\n if (e && e.__ob__) {\n e.__ob__.dep.depend();\n }\n if (isArray(e)) {\n dependArray(e);\n }\n }\n}\n\nfunction reactive(target) {\n makeReactive(target, false);\n return target;\n}\n/**\n * Return a shallowly-reactive copy of the original object, where only the root\n * level properties are reactive. It also does not auto-unwrap refs (even at the\n * root level).\n */\nfunction shallowReactive(target) {\n makeReactive(target, true);\n def(target, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n return target;\n}\nfunction makeReactive(target, shallow) {\n // if trying to observe a readonly proxy, return the readonly version.\n if (!isReadonly(target)) {\n if (false) {\n if (isArray(target)) {\n warn$2(\"Avoid using Array as root value for \".concat(shallow ? \"shallowReactive()\" : \"reactive()\", \" as it cannot be tracked in watch() or watchEffect(). Use \").concat(shallow ? \"shallowRef()\" : \"ref()\", \" instead. This is a Vue-2-only limitation.\"));\n }\n var existingOb = target && target.__ob__;\n if (existingOb && existingOb.shallow !== shallow) {\n warn$2(\"Target is already a \".concat(existingOb.shallow ? \"\" : \"non-\", \"shallow reactive object, and cannot be converted to \").concat(shallow ? \"\" : \"non-\", \"shallow.\"));\n }\n }\n var ob = observe(target, shallow, isServerRendering() /* ssr mock reactivity */);\n if (false) {\n if (target == null || isPrimitive(target)) {\n warn$2(\"value cannot be made reactive: \".concat(String(target)));\n }\n if (isCollectionType(target)) {\n warn$2(\"Vue 2 does not support reactive collection types such as Map or Set.\");\n }\n }\n }\n}\nfunction isReactive(value) {\n if (isReadonly(value)) {\n return isReactive(value[\"__v_raw\" /* ReactiveFlags.RAW */]);\n }\n return !!(value && value.__ob__);\n}\nfunction isShallow(value) {\n return !!(value && value.__v_isShallow);\n}\nfunction isReadonly(value) {\n return !!(value && value.__v_isReadonly);\n}\nfunction isProxy(value) {\n return isReactive(value) || isReadonly(value);\n}\nfunction toRaw(observed) {\n var raw = observed && observed[\"__v_raw\" /* ReactiveFlags.RAW */];\n return raw ? toRaw(raw) : observed;\n}\nfunction markRaw(value) {\n // non-extensible objects won't be observed anyway\n if (Object.isExtensible(value)) {\n def(value, \"__v_skip\" /* ReactiveFlags.SKIP */, true);\n }\n return value;\n}\n/**\n * @internal\n */\nfunction isCollectionType(value) {\n var type = toRawType(value);\n return (type === 'Map' || type === 'WeakMap' || type === 'Set' || type === 'WeakSet');\n}\n\n/**\n * @internal\n */\nvar RefFlag = \"__v_isRef\";\nfunction isRef(r) {\n return !!(r && r.__v_isRef === true);\n}\nfunction ref$1(value) {\n return createRef(value, false);\n}\nfunction shallowRef(value) {\n return createRef(value, true);\n}\nfunction createRef(rawValue, shallow) {\n if (isRef(rawValue)) {\n return rawValue;\n }\n var ref = {};\n def(ref, RefFlag, true);\n def(ref, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, shallow);\n def(ref, 'dep', defineReactive(ref, 'value', rawValue, null, shallow, isServerRendering()));\n return ref;\n}\nfunction triggerRef(ref) {\n if (false) {\n warn$2(\"received object is not a triggerable ref.\");\n }\n if (false) {\n ref.dep &&\n ref.dep.notify({\n type: \"set\" /* TriggerOpTypes.SET */,\n target: ref,\n key: 'value'\n });\n }\n else {\n ref.dep && ref.dep.notify();\n }\n}\nfunction unref(ref) {\n return isRef(ref) ? ref.value : ref;\n}\nfunction proxyRefs(objectWithRefs) {\n if (isReactive(objectWithRefs)) {\n return objectWithRefs;\n }\n var proxy = {};\n var keys = Object.keys(objectWithRefs);\n for (var i = 0; i < keys.length; i++) {\n proxyWithRefUnwrap(proxy, objectWithRefs, keys[i]);\n }\n return proxy;\n}\nfunction proxyWithRefUnwrap(target, source, key) {\n Object.defineProperty(target, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = source[key];\n if (isRef(val)) {\n return val.value;\n }\n else {\n var ob = val && val.__ob__;\n if (ob)\n ob.dep.depend();\n return val;\n }\n },\n set: function (value) {\n var oldValue = source[key];\n if (isRef(oldValue) && !isRef(value)) {\n oldValue.value = value;\n }\n else {\n source[key] = value;\n }\n }\n });\n}\nfunction customRef(factory) {\n var dep = new Dep();\n var _a = factory(function () {\n if (false) {\n dep.depend({\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n else {\n dep.depend();\n }\n }, function () {\n if (false) {\n dep.notify({\n target: ref,\n type: \"set\" /* TriggerOpTypes.SET */,\n key: 'value'\n });\n }\n else {\n dep.notify();\n }\n }), get = _a.get, set = _a.set;\n var ref = {\n get value() {\n return get();\n },\n set value(newVal) {\n set(newVal);\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\nfunction toRefs(object) {\n if (false) {\n warn$2(\"toRefs() expects a reactive object but received a plain one.\");\n }\n var ret = isArray(object) ? new Array(object.length) : {};\n for (var key in object) {\n ret[key] = toRef(object, key);\n }\n return ret;\n}\nfunction toRef(object, key, defaultValue) {\n var val = object[key];\n if (isRef(val)) {\n return val;\n }\n var ref = {\n get value() {\n var val = object[key];\n return val === undefined ? defaultValue : val;\n },\n set value(newVal) {\n object[key] = newVal;\n }\n };\n def(ref, RefFlag, true);\n return ref;\n}\n\nvar rawToReadonlyFlag = \"__v_rawToReadonly\";\nvar rawToShallowReadonlyFlag = \"__v_rawToShallowReadonly\";\nfunction readonly(target) {\n return createReadonly(target, false);\n}\nfunction createReadonly(target, shallow) {\n if (!isPlainObject(target)) {\n if (false) {\n if (isArray(target)) {\n warn$2(\"Vue 2 does not support readonly arrays.\");\n }\n else if (isCollectionType(target)) {\n warn$2(\"Vue 2 does not support readonly collection types such as Map or Set.\");\n }\n else {\n warn$2(\"value cannot be made readonly: \".concat(typeof target));\n }\n }\n return target;\n }\n if (false) {\n warn$2(\"Vue 2 does not support creating readonly proxy for non-extensible object.\");\n }\n // already a readonly object\n if (isReadonly(target)) {\n return target;\n }\n // already has a readonly proxy\n var existingFlag = shallow ? rawToShallowReadonlyFlag : rawToReadonlyFlag;\n var existingProxy = target[existingFlag];\n if (existingProxy) {\n return existingProxy;\n }\n var proxy = Object.create(Object.getPrototypeOf(target));\n def(target, existingFlag, proxy);\n def(proxy, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, true);\n def(proxy, \"__v_raw\" /* ReactiveFlags.RAW */, target);\n if (isRef(target)) {\n def(proxy, RefFlag, true);\n }\n if (shallow || isShallow(target)) {\n def(proxy, \"__v_isShallow\" /* ReactiveFlags.IS_SHALLOW */, true);\n }\n var keys = Object.keys(target);\n for (var i = 0; i < keys.length; i++) {\n defineReadonlyProperty(proxy, target, keys[i], shallow);\n }\n return proxy;\n}\nfunction defineReadonlyProperty(proxy, target, key, shallow) {\n Object.defineProperty(proxy, key, {\n enumerable: true,\n configurable: true,\n get: function () {\n var val = target[key];\n return shallow || !isPlainObject(val) ? val : readonly(val);\n },\n set: function () {\n \"production\" !== 'production' &&\n warn$2(\"Set operation on key \\\"\".concat(key, \"\\\" failed: target is readonly.\"));\n }\n });\n}\n/**\n * Returns a reactive-copy of the original object, where only the root level\n * properties are readonly, and does NOT unwrap refs nor recursively convert\n * returned properties.\n * This is used for creating the props proxy object for stateful components.\n */\nfunction shallowReadonly(target) {\n return createReadonly(target, true);\n}\n\nfunction computed(getterOrOptions, debugOptions) {\n var getter;\n var setter;\n var onlyGetter = isFunction(getterOrOptions);\n if (onlyGetter) {\n getter = getterOrOptions;\n setter = false\n ? function () {\n warn$2('Write operation failed: computed value is readonly');\n }\n : noop;\n }\n else {\n getter = getterOrOptions.get;\n setter = getterOrOptions.set;\n }\n var watcher = isServerRendering()\n ? null\n : new Watcher(currentInstance, getter, noop, { lazy: true });\n if (false) {\n watcher.onTrack = debugOptions.onTrack;\n watcher.onTrigger = debugOptions.onTrigger;\n }\n var ref = {\n // some libs rely on the presence effect for checking computed refs\n // from normal refs, but the implementation doesn't matter\n effect: watcher,\n get value() {\n if (watcher) {\n if (watcher.dirty) {\n watcher.evaluate();\n }\n if (Dep.target) {\n if (false) {\n Dep.target.onTrack({\n effect: Dep.target,\n target: ref,\n type: \"get\" /* TrackOpTypes.GET */,\n key: 'value'\n });\n }\n watcher.depend();\n }\n return watcher.value;\n }\n else {\n return getter();\n }\n },\n set value(newVal) {\n setter(newVal);\n }\n };\n def(ref, RefFlag, true);\n def(ref, \"__v_isReadonly\" /* ReactiveFlags.IS_READONLY */, onlyGetter);\n return ref;\n}\n\nvar mark;\nvar measure;\nif (false) {\n var perf_1 = inBrowser && window.performance;\n /* istanbul ignore if */\n if (perf_1 &&\n // @ts-ignore\n perf_1.mark &&\n // @ts-ignore\n perf_1.measure &&\n // @ts-ignore\n perf_1.clearMarks &&\n // @ts-ignore\n perf_1.clearMeasures) {\n mark = function (tag) { return perf_1.mark(tag); };\n measure = function (name, startTag, endTag) {\n perf_1.measure(name, startTag, endTag);\n perf_1.clearMarks(startTag);\n perf_1.clearMarks(endTag);\n // perf.clearMeasures(name)\n };\n }\n}\n\nvar normalizeEvent = cached(function (name) {\n var passive = name.charAt(0) === '&';\n name = passive ? name.slice(1) : name;\n var once = name.charAt(0) === '~'; // Prefixed last, checked first\n name = once ? name.slice(1) : name;\n var capture = name.charAt(0) === '!';\n name = capture ? name.slice(1) : name;\n return {\n name: name,\n once: once,\n capture: capture,\n passive: passive\n };\n});\nfunction createFnInvoker(fns, vm) {\n function invoker() {\n var fns = invoker.fns;\n if (isArray(fns)) {\n var cloned = fns.slice();\n for (var i = 0; i < cloned.length; i++) {\n invokeWithErrorHandling(cloned[i], null, arguments, vm, \"v-on handler\");\n }\n }\n else {\n // return handler return value for single handlers\n return invokeWithErrorHandling(fns, null, arguments, vm, \"v-on handler\");\n }\n }\n invoker.fns = fns;\n return invoker;\n}\nfunction updateListeners(on, oldOn, add, remove, createOnceHandler, vm) {\n var name, cur, old, event;\n for (name in on) {\n cur = on[name];\n old = oldOn[name];\n event = normalizeEvent(name);\n if (isUndef(cur)) {\n \"production\" !== 'production' &&\n warn$2(\"Invalid handler for event \\\"\".concat(event.name, \"\\\": got \") + String(cur), vm);\n }\n else if (isUndef(old)) {\n if (isUndef(cur.fns)) {\n cur = on[name] = createFnInvoker(cur, vm);\n }\n if (isTrue(event.once)) {\n cur = on[name] = createOnceHandler(event.name, cur, event.capture);\n }\n add(event.name, cur, event.capture, event.passive, event.params);\n }\n else if (cur !== old) {\n old.fns = cur;\n on[name] = old;\n }\n }\n for (name in oldOn) {\n if (isUndef(on[name])) {\n event = normalizeEvent(name);\n remove(event.name, oldOn[name], event.capture);\n }\n }\n}\n\nfunction mergeVNodeHook(def, hookKey, hook) {\n if (def instanceof VNode) {\n def = def.data.hook || (def.data.hook = {});\n }\n var invoker;\n var oldHook = def[hookKey];\n function wrappedHook() {\n hook.apply(this, arguments);\n // important: remove merged hook to ensure it's called only once\n // and prevent memory leak\n remove$2(invoker.fns, wrappedHook);\n }\n if (isUndef(oldHook)) {\n // no existing hook\n invoker = createFnInvoker([wrappedHook]);\n }\n else {\n /* istanbul ignore if */\n if (isDef(oldHook.fns) && isTrue(oldHook.merged)) {\n // already a merged invoker\n invoker = oldHook;\n invoker.fns.push(wrappedHook);\n }\n else {\n // existing plain hook\n invoker = createFnInvoker([oldHook, wrappedHook]);\n }\n }\n invoker.merged = true;\n def[hookKey] = invoker;\n}\n\nfunction extractPropsFromVNodeData(data, Ctor, tag) {\n // we are only extracting raw values here.\n // validation and default values are handled in the child\n // component itself.\n var propOptions = Ctor.options.props;\n if (isUndef(propOptions)) {\n return;\n }\n var res = {};\n var attrs = data.attrs, props = data.props;\n if (isDef(attrs) || isDef(props)) {\n for (var key in propOptions) {\n var altKey = hyphenate(key);\n if (false) {\n var keyInLowerCase = key.toLowerCase();\n if (key !== keyInLowerCase && attrs && hasOwn(attrs, keyInLowerCase)) {\n tip(\"Prop \\\"\".concat(keyInLowerCase, \"\\\" is passed to component \") +\n \"\".concat(formatComponentName(\n // @ts-expect-error tag is string\n tag || Ctor), \", but the declared prop name is\") +\n \" \\\"\".concat(key, \"\\\". \") +\n \"Note that HTML attributes are case-insensitive and camelCased \" +\n \"props need to use their kebab-case equivalents when using in-DOM \" +\n \"templates. You should probably use \\\"\".concat(altKey, \"\\\" instead of \\\"\").concat(key, \"\\\".\"));\n }\n }\n checkProp(res, props, key, altKey, true) ||\n checkProp(res, attrs, key, altKey, false);\n }\n }\n return res;\n}\nfunction checkProp(res, hash, key, altKey, preserve) {\n if (isDef(hash)) {\n if (hasOwn(hash, key)) {\n res[key] = hash[key];\n if (!preserve) {\n delete hash[key];\n }\n return true;\n }\n else if (hasOwn(hash, altKey)) {\n res[key] = hash[altKey];\n if (!preserve) {\n delete hash[altKey];\n }\n return true;\n }\n }\n return false;\n}\n\n// The template compiler attempts to minimize the need for normalization by\n// statically analyzing the template at compile time.\n//\n// For plain HTML markup, normalization can be completely skipped because the\n// generated render function is guaranteed to return Array. There are\n// two cases where extra normalization is needed:\n// 1. When the children contains components - because a functional component\n// may return an Array instead of a single root. In this case, just a simple\n// normalization is needed - if any child is an Array, we flatten the whole\n// thing with Array.prototype.concat. It is guaranteed to be only 1-level deep\n// because functional components already normalize their own children.\nfunction simpleNormalizeChildren(children) {\n for (var i = 0; i < children.length; i++) {\n if (isArray(children[i])) {\n return Array.prototype.concat.apply([], children);\n }\n }\n return children;\n}\n// 2. When the children contains constructs that always generated nested Arrays,\n// e.g.