{"version":3,"file":"vendor-f99803b602d562a9466152be52ec9ff9.js","names":["window","EmberENV","extra","key","EXTEND_PROTOTYPES","FEATURES","_APPLICATION_TEMPLATE_WRAPPER","_DEFAULT_ASYNC_OBSERVERS","_JQUERY_INTEGRATION","_TEMPLATE_ONLY_GLIMMER_COMPONENTS","loader","define","requireModule","require","requirejs","runningTests","o","t","document","documentElement","style","__forceSmoothScrollPolyfill__","l","e","HTMLElement","Element","r","i","scroll","scrollTo","scrollBy","elementScroll","prototype","n","scrollIntoView","s","performance","now","bind","Date","c","navigator","userAgent","RegExp","join","test","arguments","f","h","call","body","left","scrollX","pageXOffset","top","scrollY","pageYOffset","this","scrollLeft","scrollTop","SyntaxError","behavior","p","a","parentNode","host","getBoundingClientRect","getComputedStyle","position","TypeError","clientHeight","scrollHeight","clientWidth","scrollWidth","d","startTime","Math","cos","PI","startX","x","startY","y","method","scrollable","requestAnimationFrame","exports","module","polyfill","IntersectionObserverEntry","Object","defineProperty","get","intersectionRatio","startDoc","doc","frame","getFrameElement","ownerDocument","registry","crossOriginUpdater","crossOriginRect","IntersectionObserver","THROTTLE_TIMEOUT","POLL_INTERVAL","USE_MUTATION_OBSERVER","_setupCrossOriginUpdater","boundingClientRect","intersectionRect","convertFromParentRect","bottom","right","width","height","forEach","observer","_checkForIntersections","_resetCrossOriginUpdater","observe","target","isTargetAlreadyObserved","_observationTargets","some","item","element","nodeType","Error","_registerInstance","push","entry","_monitorIntersections","unobserve","filter","_unmonitorIntersections","length","_unregisterInstance","disconnect","_unmonitorAllIntersections","takeRecords","records","_queuedEntries","slice","_initThresholds","opt_threshold","threshold","Array","isArray","sort","isNaN","_parseRootMargin","opt_rootMargin","marginString","margins","split","map","margin","parts","exec","value","parseFloat","unit","win","defaultView","_monitoringDocuments","indexOf","callback","monitoringInterval","domObserver","setInterval","addEvent","MutationObserver","attributes","childList","characterData","subtree","_monitoringUnsubscribes","clearInterval","removeEvent","rootDoc","root","index","hasDependentTargets","itemDoc","unsubscribe","splice","unsubscribes","rootIsInDom","_rootIsInDom","rootRect","_getRootRect","targetRect","rootContainsTarget","_rootContainsTarget","oldEntry","_computeTargetAndRootIntersection","rootBounds","newEntry","time","_hasCrossedThreshold","isIntersecting","_callback","display","rect1","rect2","parent","getParentNode","atRoot","parentRect","parentComputedStyle","frameRect","frameIntersect","overflow","max","min","isDoc","html","_expandRectByRootMargin","rect","_rootMarginValues","newRect","oldRatio","newRatio","thresholds","containsDeep","frameElement","ensureDOMRect","targetArea","intersectionArea","Number","toFixed","opt_options","fn","timeout","timer","options","setTimeout","rootMargin","node","event","opt_useCapture","addEventListener","attachEvent","removeEventListener","detachEvent","el","err","parentBoundingRect","parentIntersectionRect","child","assignedSlot","global","dict","obj","create","undefined","oldGlobals","id","pending","mod","findModule","noConflict","aliases","oldName","newName","hasOwnProperty","makeDefaultExport","uuid","defaultDeps","Module","deps","alias","hasExportsAsDep","isAlias","reified","state","noop","Alias","referrer","missingModule","findDeps","resolve","charAt","nameParts","parentBase","part","pop","has","isExtensible","wrapModules","reify","result","apply","unsee","_reify","dep","makeRequire","moduleId","unsupportedModule","name","defaultExport","entries","_eak_seen","clear","u","code","_dereq_","flatMap","includes","getOwnPropertyDescriptors","values","Promise","String","padEnd","padStart","trimRight","trimLeft","it","isObject","core","version","__e","aFunction","that","b","is","createElement","ctx","hide","PROTOTYPE","$export","type","source","own","out","IS_FORCED","F","IS_GLOBAL","G","IS_STATIC","S","IS_PROTO","P","IS_BIND","B","IS_WRAP","W","expProto","C","Function","virtual","R","U","self","__g","dP","createDesc","object","anObject","IE8_DOM_DEFINE","toPrimitive","O","Attributes","bitmap","enumerable","configurable","writable","val","toString","valueOf","cof","msg","UNSCOPABLES","ArrayProto","at","unicode","Constructor","forbiddenField","toObject","toAbsoluteIndex","toLength","copyWithin","start","len","to","from","end","count","inc","aLen","endPos","toIObject","IS_INCLUDES","$this","fromIndex","IObject","asc","TYPE","$create","IS_MAP","IS_FILTER","IS_SOME","IS_EVERY","IS_FIND_INDEX","NO_HOLES","callbackfn","res","memo","isRight","SPECIES","original","constructor","speciesConstructor","invoke","arraySlice","factories","partArgs","bound","args","concat","construct","TAG","ARG","T","tryGet","callee","redefineAll","anInstance","forOf","$iterDefine","step","setSpecies","DESCRIPTORS","fastKey","validate","SIZE","getEntry","_i","_f","k","getConstructor","wrapper","NAME","ADDER","iterable","_t","_l","data","delete","next","prev","v","def","setStrong","iterated","kind","_k","getWeak","createArrayMethod","$has","arrayFind","arrayFindIndex","uncaughtFrozenStore","UncaughtFrozenStore","findUncaughtFrozen","store","set","ufstore","redefine","meta","fails","$iterDetect","setToStringTag","inheritIfRequired","methods","common","IS_WEAK","Base","proto","fixMethod","KEY","instance","HASNT_CHAINING","THROWS_ON_PRIMITIVES","ACCEPT_ITERABLES","iter","BUGGY_ZERO","$instance","NEED","$defineProperty","getTime","$toISOString","toISOString","lz","num","NaN","isFinite","RangeError","getUTCFullYear","m","getUTCMilliseconds","abs","getUTCMonth","getUTCDate","getUTCHours","getUTCMinutes","getUTCSeconds","NUMBER","hint","getKeys","gOPS","pIE","getSymbols","symbols","isEnum","exp","MATCH","re","defined","wks","regexpExec","REPLACE_SUPPORTS_NAMED_GROUPS","groups","replace","SPLIT_WORKS_WITH_OVERWRITTEN_EXEC","originalExec","SYMBOL","DELEGATES_TO_SYMBOL","DELEGATES_TO_EXEC","execCalled","nativeRegExpMethod","fns","nativeMethod","regexp","str","arg2","forceStringMethod","done","strfn","rxfn","string","arg","ignoreCase","multiline","sticky","IS_CONCAT_SPREADABLE","flattenIntoArray","sourceLen","depth","mapper","thisArg","spreadable","targetIndex","sourceIndex","mapFn","isArrayIter","getIterFn","BREAK","RETURN","ITERATOR","iterator","iterFn","setPrototypeOf","un","propertyIsEnumerable","Iterators","floor","isRegExp","ret","descriptor","IteratorPrototype","LIBRARY","$iterCreate","getPrototypeOf","BUGGY","keys","KEYS","VALUES","returnThis","DEFAULT","IS_SET","FORCED","getMethod","DEF_VALUES","VALUES_BUG","$native","$default","$entries","$anyNative","SAFE_CLOSING","riter","skipClosing","safe","arr","$expm1","expm1","sign","pow","EPSILON","EPSILON32","MAX32","MIN32","fround","$abs","$sign","Infinity","log1p","log","META","setDesc","FREEZE","preventExtensions","setMeta","w","onFreeze","macrotask","Observer","WebKitMutationObserver","process","isNode","head","last","notify","flush","domain","exit","enter","nextTick","standalone","promise","then","toggle","createTextNode","task","PromiseCapability","reject","$$resolve","$$reject","$assign","assign","A","Symbol","K","j","dPs","enumBugKeys","IE_PROTO","Empty","createDict","iframeDocument","iframe","appendChild","src","contentWindow","open","write","lt","close","Properties","defineProperties","gOPD","getOwnPropertyDescriptor","gOPN","windowNames","getOwnPropertyNames","getWindowNames","$keys","hiddenKeys","getOwnPropertySymbols","ObjectProto","arrayIndexOf","names","isEntries","Reflect","ownKeys","$parseFloat","$trim","trim","$parseInt","parseInt","ws","hex","radix","newPromiseCapability","promiseCapability","SRC","$toString","TO_STRING","TPL","inspectSource","isFunction","classof","builtinExec","re1","re2","regexpFlags","nativeExec","nativeReplace","patchedExec","LAST_INDEX","UPDATES_LAST_INDEX_WRONG","NPCG_INCLUDED","PATCH","lastIndex","reCopy","match","check","buggy","__proto__","tag","stat","shared","uid","SHARED","mode","copyright","D","toInteger","pos","charCodeAt","searchString","quot","createHTML","attribute","p1","toLowerCase","repeat","maxLength","fillString","stringLength","fillStr","intMaxLength","fillLen","stringFiller","ceil","spaces","space","ltrim","rtrim","exporter","ALIAS","FORCE","defer","channel","port","cel","setTask","setImmediate","clearTask","clearImmediate","MessageChannel","Dispatch","counter","queue","ONREADYSTATECHANGE","run","listener","port2","port1","onmessage","postMessage","importScripts","removeChild","number","$typed","$buffer","propertyDesc","toIndex","createArrayIncludes","ArrayIterators","arrayFill","arrayCopyWithin","$DP","$GOPD","Uint8Array","ARRAY_BUFFER","SHARED_BUFFER","BYTES_PER_ELEMENT","$ArrayBuffer","ArrayBuffer","$DataView","DataView","arrayForEach","arrayFilter","arraySome","arrayEvery","arrayIncludes","arrayValues","arrayKeys","arrayEntries","arrayLastIndexOf","lastIndexOf","arrayReduce","reduce","arrayReduceRight","reduceRight","arrayJoin","arraySort","arrayToString","arrayToLocaleString","toLocaleString","TYPED_CONSTRUCTOR","DEF_CONSTRUCTOR","ALL_CONSTRUCTORS","CONSTR","TYPED_ARRAY","TYPED","VIEW","WRONG_LENGTH","$map","allocate","LITTLE_ENDIAN","Uint16Array","buffer","FORCED_SET","toOffset","BYTES","offset","speciesFromList","list","fromList","addGetter","internal","_d","$from","mapfn","mapping","$of","TO_LOCALE_BUG","$toLocaleString","every","fill","find","predicate","findIndex","searchElement","separator","reverse","middle","comparefn","subarray","begin","$begin","byteOffset","$slice","$set","arrayLike","$iterators","isTAIndex","$getDesc","$setDesc","desc","$TypedArrayPrototype$","CLAMPED","GETTER","SETTER","TypedArray","TAC","ABV","TypedArrayPrototype","addElement","getter","round","setter","$offset","$length","byteLength","klass","$len","$nativeIterator","CORRECT_ITER_NAME","$iterator","of","DATA_VIEW","WRONG_INDEX","BaseBuffer","LN2","BUFFER","BYTE_LENGTH","BYTE_OFFSET","$BUFFER","$LENGTH","$OFFSET","packIEEE754","mLen","nBytes","eLen","eMax","eBias","rt","unpackIEEE754","nBits","unpackI32","bytes","packI8","packI16","packI32","packF64","packF32","view","isLittleEndian","numIndex","intIndex","_b","pack","conversion","ArrayBufferProto","$setInt8","setInt8","getInt8","setUint8","bufferLength","getUint8","getInt16","getUint16","getInt32","getUint32","getFloat32","getFloat64","setInt16","setUint16","setInt32","setUint32","setFloat32","setFloat64","Typed","TypedArrayConstructors","px","random","wksExt","$Symbol","USE_SYMBOL","$exports","getIteratorMethod","$every","$filter","$find","forced","$forEach","STRICT","createProperty","$indexOf","NEGATIVE_ZERO","addToUnscopables","Arguments","$reduce","upTo","size","cloned","$some","$sort","toJSON","pv","TO_PRIMITIVE","DateProto","INVALID_DATE","HAS_INSTANCE","FunctionProto","FProto","nameRE","strong","MAP","sqrt","$acosh","acosh","MAX_VALUE","$asinh","asinh","$atanh","atanh","cbrt","clz32","LOG2E","cosh","hypot","value1","value2","div","sum","larg","$imul","imul","UINT16","xn","yn","xl","yl","log10","LOG10E","log2","sinh","E","tanh","trunc","$Number","BROKEN_COF","TRIM","toNumber","argument","third","maxCode","first","digits","_isFinite","isInteger","isSafeInteger","MAX_SAFE_INTEGER","MIN_SAFE_INTEGER","aNumberValue","$toFixed","ERROR","ZERO","multiply","c2","divide","numToString","acc","fractionDigits","z","x2","$fails","$toPrecision","toPrecision","precision","$freeze","$getOwnPropertyDescriptor","$getPrototypeOf","$isExtensible","$isFrozen","$isSealed","$preventExtensions","$seal","Internal","newGenericPromiseCapability","OwnPromiseCapability","Wrapper","microtask","newPromiseCapabilityModule","perform","promiseResolve","PROMISE","versions","v8","$Promise","empty","USE_NATIVE","FakePromise","PromiseRejectionEvent","isThenable","isReject","_n","chain","_c","_v","ok","_s","reaction","exited","handler","fail","_h","onHandleUnhandled","onUnhandled","console","unhandled","isUnhandled","emit","onunhandledrejection","reason","error","_a","onrejectionhandled","$reject","_w","$resolve","executor","onFulfilled","onRejected","catch","capability","all","remaining","$index","alreadyCalled","race","rApply","fApply","thisArgument","argumentsList","L","rConstruct","NEW_TARGET_BUG","ARGS_BUG","Target","newTarget","$args","propertyKey","deleteProperty","Enumerate","enumerate","getProto","receiver","setProto","V","existingDescriptor","ownDesc","$flags","$RegExp","CORRECT_NEW","tiRE","piRE","fiU","proxy","flags","advanceStringIndex","regExpExec","$match","maybeCallNative","rx","fullUnicode","matchStr","SUBSTITUTION_SYMBOLS","SUBSTITUTION_SYMBOLS_NO_NAMED","REPLACE","$replace","searchValue","replaceValue","functionalReplace","results","accumulatedResult","nextSourcePosition","matched","captures","namedCaptures","replacerArgs","replacement","getSubstitution","tailPos","ch","capture","sameValue","SEARCH","$search","previousLastIndex","callRegExpExec","$min","$push","$SPLIT","LENGTH","MAX_UINT32","SUPPORTS_Y","SPLIT","$split","internalSplit","limit","lastLength","output","lastLastIndex","splitLimit","separatorCopy","splitter","unicodeMatching","lim","q","add","$at","codePointAt","context","ENDS_WITH","$endsWith","endsWith","endPosition","search","color","fromCharCode","$fromCodePoint","fromCodePoint","INCLUDES","point","url","raw","callSite","tpl","STARTS_WITH","$startsWith","startsWith","wksDefine","enumKeys","_create","gOPNExt","$GOPS","$JSON","JSON","_stringify","stringify","HIDDEN","SymbolRegistry","AllSymbols","OPSymbols","QObject","findChild","setSymbolDesc","protoDesc","wrap","sym","isSymbol","$defineProperties","$propertyIsEnumerable","$getOwnPropertyNames","$getOwnPropertySymbols","IS_OP","es6Symbols","wellKnownSymbols","for","keyFor","useSetter","useSimple","FAILS_ON_PRIMITIVES","replacer","$replacer","$isView","isView","fin","viewS","viewT","init","InternalMap","each","weak","NATIVE_WEAK_MAP","IS_IE11","ActiveXObject","WEAK_MAP","$WeakMap","WEAK_SET","arraySpeciesCreate","$includes","getDesc","$values","finally","onFinally","$pad","WEBKIT_BUG","TO_STRING_TAG","ArrayValues","DOMIterables","CSSRuleList","CSSStyleDeclaration","CSSValueList","ClientRectList","DOMRectList","DOMStringList","DOMTokenList","DataTransferItemList","FileList","HTMLAllCollection","HTMLCollection","HTMLFormElement","HTMLSelectElement","MediaList","MimeTypeArray","NamedNodeMap","NodeList","PaintRequestList","Plugin","PluginArray","SVGLengthList","SVGNumberList","SVGPathSegList","SVGPointList","SVGStringList","SVGTransformList","SourceBufferList","StyleSheetList","TextTrackCueList","TextTrackList","TouchList","collections","explicit","Collection","$task","MSIE","boundArgs","runtime","Op","hasOwn","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","toStringTag","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","Context","_invoke","GenStateSuspendedStart","GenStateExecuting","GenStateCompleted","doneResult","delegate","delegateResult","maybeInvokeDelegate","ContinueSentinel","sent","_sent","dispatchException","abrupt","record","tryCatch","GenStateSuspendedYield","makeInvokeMethod","GeneratorFunction","GeneratorFunctionPrototype","NativeIteratorPrototype","Gp","defineIteratorMethods","AsyncIterator","PromiseImpl","__await","unwrapped","previousPromise","callInvokeWithMethodAndArg","info","resultName","nextLoc","pushTryEntry","locs","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","reset","iteratorMethod","displayName","isGeneratorFunction","genFun","ctor","mark","awrap","async","skipTempReset","stop","rootEntry","rootRecord","rval","exception","handle","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","_global","__esModule","default","_babelPolyfill","warn","globalObj","globalThis","seen","internalRequire","_name","referrerName","moduleName","Boolean","hasDom","_exports","hasDOM","Window","location","history","isChrome","chrome","opera","isFirefox","INIT_FACTORY","fullName","privateNames","rawName","intern","privateSuffix","Container","owner","cache","dictionary","factoryManagerCache","isDestroyed","isDestroying","lookup","container","normalizedName","singleton","isSingleton","cached","factoryManager","factoryFor","instantiate","isInstantiatable","isSingletonInstance","destroy","isFactoryInstance","isSingletonClass","fullname","isFactoryClass","class","instantiateFactory","normalize","destroyDestroyables","finalizeDestroy","resetCache","member","resetMember","ownerInjection","injection","setOwner","getOption","factory","manager","InternalFactoryManager","setFactoryFor","madeToString","injections","makeToString","props","VALID_FULL_NAME_REGEXP","Registry","fallback","resolver","registrations","_normalizeCache","_resolveCache","_failSet","Set","_options","_typeOptions","register","unregister","_normalizedName","resolved","describe","lookupDescription","normalizeFullName","isValidFullName","optionsForType","getOptionsForType","getOptions","optionName","property","knownForType","fallbackKnown","resolverKnown","localKnown","registeredNames","itemType","checkGlobal","ENV","global$1","mainContext","Ember","imports","ENABLE_OPTIONAL_FEATURES","LOG_STACKTRACE_ON_DEPRECATION","LOG_VERSION","RAISE_ON_DEPRECATION","STRUCTURED_PROFILE","_DEBUG_RENDER_TREE","_RERENDER_LOOP_LIMIT","EMBER_LOAD_HOOKS","flag","defaultValue","hookName","hooks","hook","feature","onerror","dispatchOverride","onErrorTarget","renderers","isHTMLSafe$1","toHTML","possible","badChars","escapeChar","TEMPLATES","SafeString","renderSettledDeferred","RSVP","_getCurrentRunLoop","_backburner","schedule","NO_OP","setComponentManager","template","templates","getOwner","env","_renderMode","serializeBuilder","rehydrationBuilder","clientBuilder","privatize","RootTemplate","Renderer","OutletView","OutletTemplate","Input$1","LinkTo$1","Textarea$1","Component","templateFactory","block","isStrictMode","InputTemplate","NOOP","InternalComponent","caller","guidFor","validateArguments","named","isSupportedArgument","onUnsupportedArgument","ref","valueForRef","positional","listenerFor","OPAQUE_CONSTRUCTOR_MAP","WeakMap","opaquify","_opaque","assert","opaque","setInternalComponentManager","INTERNAL_COMPONENT_MANAGER","setComponentTemplate","CAPABILITIES","dynamicLayout","dynamicTag","prepareArgs","createArgs","attributeHook","elementHook","createCaller","dynamicScope","updateHook","createInstance","wrapped","willDestroy","hasSubOwner","getCapabilities","definition","_env","_dynamicScope","ComponentClass","untrack","didCreate","didUpdate","didRenderLayout","didUpdateLayout","getDebugName","getSelf","createConstRef","getDestroyable","__decorate","decorators","decorate","UNINITIALIZED","freeze","valueForEvent","elementForEvent","valueFrom","reference","LocalValue","isConstRef","isUpdatableRef","UpstreamValue","ForkedValue","tracked","updateRef","lastUpstreamValue","upstream","upstreamValue","local","AbstractInput","super","_value","valueDidChange","change","input","keyUp","isVirtualEventListener","_listener","action","isValidInputType","__decorate$1","INPUT_TYPES","INPUT_ELEMENT","isValid","Input","_checked","isCheckbox","checked","checkedDidChange","LinkToTemplate","__decorate$2","EMPTY_ARRAY$1","EMPTY_QUERY_PARAMS","isMissing","isPresent","isQueryParams","debugFreeze","LinkTo","currentRouteCache","createCache","consumeTag","tagFor","routing","currentRouteName","classes","isActive","classFor","willBeActive","isLoading","isDisabled","href","route","models","query","generateURL","click","isSimpleClick","currentTarget","isSelf","preventDefault","payload","routeName","queryParams","transition","flaggedInstrument","transitionTo","namespaceRoute","currentRoute","getValue","isActiveForState","currentState","current","targetState","model","isEngine","EngineInstance","getEngineParent","engineMountPoint","mountPoint","className","currentWhen","isActiveForRoute","service","descriptorFor","superOnUnsupportedArgument","superModelsDescriptor","superModelsGetter","superQueryDescriptor","superQueryGetter","qp","TextareaTemplate","__decorate$3","Textarea","isTemplateFactory","referenceForParts","rootRef","isAttrs","shift","childRefFor","childRefFromParts","parseAttributeBinding","microsyntax","colonIndex","prop","substring","installAttributeBinding","component","parsed","operations","isSimple","isPath","setAttribute","elementId","elementIdRef","createPrimitiveRef","createClassNameBindingRef","truthy","falsy","isStatic","createSimpleClassNameBindingRef","inner","createComputeRef","createColonClassNameBindingRef","path","dasherizedPath","dasherize","NOOP$1","ComponentStateBucket","argsTag","finalizer","hasWrappedElement","isInteractive","classRef","argsRevision","valueForTag","registerDestructor","beginUntrackFrame","trigger","endUntrackFrame","getViewElement","clearElementView","clearViewElement","renderer","finalize","internalHelper","helper","setInternalHelperManager","ACTIONS","_WeakSet","action$1","fn$$1","action$$1","restArgs","debugKey","debugLabel","processArgs","valuePathRef","actionArgsRef","mergeArgs","readValue","valuePath","NOOP$2","makeArgsProcessor","isInvokableRef","makeClosureAction","invokeRef","targetRef","actionRef","makeDynamicClosureAction","createUnboundRef","actions","label","processComponentArgs","namedArgs","attrs","ARGS","isAction","MutableCell","REF","MUTABLE_CELL","update","__rest","enumerableSymbol","HAS_BLOCK","DIRTY_TAG","IS_DISPATCHING_ATTRS","BOUNDS","EMBER_VIEW_REF","CurlyComponentManager","templateFor","layout","layoutName","_factory","unwrapTemplate","asWrappedLayout","getDynamicLayout","bucket","getTagName","tagName","CURLY_CAPABILITIES","__ARGS__","rest","__args__","prepared","positionalParams","captured","reifyPositional","EMPTY_ARRAY","callerSelfRef","hasBlock","parentView","capturedArgs","beginTrackFrame","endTrackFrame","aliasIdToElementId","_target","_instrumentStart","initialRenderInstrumentDetails","addChildView","_transitionTo","didCreateElement","setViewElement","setElementView","attributeBindings","classNames","classNameBindings","binding","applyAttributeBindings","bounds","rerenderInstrumentDetails","validateTag","setProperties","instrumentDetails","initialRender","CURLY_COMPONENT_MANAGER","isCurlyManager","lazyEventsProcessed","CoreView","extend","ChildViewsSupport","ViewStateSupport","ClassNamesSupport","TargetActionSupport","ActionSupport","ViewMixin","didReceiveAttrs","didRender","didUpdateAttrs","willRender","willUpdate","isComponent","properties","_superRerender","rerender","_rerender","createTag","eventDispatcher","_dispatcher","lazyEventsProcessedForComponentClass","WeakSet","lazyEvents","mappedEventName","setupHandlerForBrowserEvent","__dispatcher","dispatcher","on","setupHandlerForEmberEvent","dirtyTag","PROPERTY_DID_CHANGE","getAttr","readDOMAttr","_element","isSVG","namespaceURI","normalized","normalizeProperty","getAttribute","isComponentFactory","reopenClass","RECOMPUTE_TAG","IS_CLASSIC_HELPER","helperFn","Helper","FrameworkObject","recompute","isHelperFactory","ClassicHelperManager","capabilities","helperCapabilities","hasValue","hasDestroyable","createHelper","compute","setHelperManager","CLASSIC_HELPER_MANAGER","getInternalHelperManager","SIMPLE_CLASSIC_HELPER_MANAGER","__string","escape","chr","instrumentationPayload","outlet","CAPABILITIES$1","OutletComponentManager","_owner","_args","parentStateRef","currentStateRef","controller","debugRenderTree","parentState","parentOwner","render","currentOwner","engine","engineBucket","getDebugCustomRenderTree","nodes","EMPTY_ARGS","OUTLET_MANAGER","OutletComponentDefinition","capabilityFlagsFrom","compilable","asLayout","resolvedName","RootComponentManager","_state","CONSTANT_TAG","ROOT_CAPABILITIES","RootComponentDefinition","getFactoryFor","EachInWrapper","eachIn","tagForObject","isProxy","_contentFor","BoundedIterator","isEmpty","memoFor","valueFor","ArrayIterator","fromForEachable","array$$1","array","EmberArrayIterator","objectAt","ObjectIterator","fromIndexable","isTracking","isMapLike","NativeIterator","ArrayLikeNativeIterator","_result","MapLikeNativeIterator","hasForEach","isNativeIterable","setGlobalContext","DEFAULT_HELPER_MANAGER","scheduleRevalidate","ensureInstance","toBool","tagForProperty","isHTMLSafe","toIterator","isEmberArray","toEachInIterator","toEachIterator","getProp","_getProp","setProp","_setProp","getPath","setPath","scheduleDestroy","destroyable","destructor","scheduleDestroyed","finalizeDestructor","warnIfStyleNotTrusted","deprecate","EmberEnvironmentDelegate","enableDebugTooling","onTransactionCommit","helper$1","disallowDynamicResolution","nameOrValueRef","typeRef","locRef","originalRef","nameOrValue","inElementNullCheckHelper","normalizeClassHelper","classNameArg","valueArg","classNameParts","fullNameRef","trackArray","mut","createInvokableRef","readonly","firstArg","createReadOnlyRef","unbound","uniqueId","MODIFIERS","POINTER_EVENT_TYPE_REGEX","ActionHelper","registeredActions","ActionManager","registerAction","actionState","actionId","unregisterAction","ActionState","actionArgs","positionalArgs","createUpdatableTag","eventName","getEventName","on$$1","getActionArgs","getTarget","implicitTarget","actionName","bubbles","allowedKeys","bubblesVal","preventDefaultVal","allowedKeysVal","shouldBubble","isAllowedEvent","stopPropagation","send","ACTION_MODIFIER_MANAGER","install","actionNameRef","ensureEventSetup","newEventName","getTag","actionModifier","setInternalModifierManager","CAPABILITIES$2","MOUNT_MANAGER","templateFactory$$1","buildChildEngineInstance","boot","modelRef","applicationFactory","controllerFactory","generateControllerFactory","associateDestroyableChild","templateModuleName","MountDefinition","mountHelper","lastName","lastDef","nameRef","createCapturedArgs","EMPTY_POSITIONAL","curry","outletHelper","scope","outletRef","outlets","lastState","outletState","stateFor","instrumentationPayload$1","BUILTIN_KEYWORD_HELPERS","hash","BUILTIN_HELPERS","get$1","BUILTIN_KEYWORD_MODIFIERS","BUILTIN_MODIFIERS","ResolverImpl","componentDefinitionCache","Map","lookupPartial","lookupHelper","helper$$1","lookupBuiltInHelper","lookupModifier","builtin","modifier","lookupBuiltInModifier","lookupComponent","pair","componentFor","isFactory","getComponentTemplate","templateFullName","layoutFor","lookupComponentPair","cachedComponentDefinition","templateOnlyComponent","TEMPLATE_ONLY_COMPONENT_MANAGER","getInternalComponentManager","TOP_LEVEL_NAME","TOP_LEVEL_OUTLET","environment","_environment","application","namespace","outletStateTag","main","into","appendTo","selector","querySelector","setOutletState","DynamicScope","RootState","parentElement","builder","getViewId","destroyed","renderMain","nextSibling","sync","alwaysRevalidate","isFor","possibleRoot","inTransaction","deregister","loops","_scheduleRevalidate","_isValid","resolveRenderPromise","_viewRegistry","rootTemplate","viewRegistry","_inRenderTransaction","_lastRevision","_destroyed","_rootTemplate","_roots","_removedRoots","_builder","_isInteractive","_runtimeResolver","sharedArtifacts","artifacts","_context","programCompilationContext","runtimeEnvironmentDelegate","_runtime","runtimeContext","appendOperations","DOMTreeConstruction","NodeDOMTreeConstruction","updateOperations","DOMChanges","appendOutletView","outletView","WRAPPED_CAPABILITIES","WRAPPED_OUTLET_MANAGER","createRootOutlet","_appendDefinition","UNDEFINED_REFERENCE","rootState","_renderRoot","remove","cleanupRootFor","roots","_clearAllRoots","getElement","getBounds","firstNode","lastNode","getAppendOperations","_renderRootsTransaction","_renderRoots","initialRootsLength","removedRoots","CURRENT_TAG","rootIndex","completedWithoutError","scheduleOnce","_revalidate","componentCapabilities","modifierCapabilities","objectPrototype","UNDEFINED","symbol","currentListenerVersion","Meta","_listenersVersion","_inheritedEnd","_flattenedVersion","_parent","_descriptors","_mixins","_lazyChains","_values","_revisions","_isInit","_listeners","setInitializing","unsetInitializing","isInitializing","isPrototypeMeta","_getOrCreateOwnMap","_getOrCreateOwnSet","_findInheritedMap","subkey","pointer","_hasInInheritedSet","setValueFor","revisionFor","revisions","setRevisionFor","revision","writableLazyChainsFor","lazyChains","chains","readableLazyChainsFor","addMixin","mixin","hasMixin","forEachMixins","writeDescriptors","peekDescriptors","possibleDesc","removeDescriptors","forEachDescriptors","addToListeners","once","pushListener","removeFromListeners","listeners","writableListeners","indexOfListener","flattenedListeners","parentListeners","unshift","matchingListeners","observerEvents","metaStore","peekMeta","maybeMeta","newMeta","addListener","removeListener","targetOrFunction","functionOrName","sendEvent","params","_meta","meta$$1","opts","arrayObserversHelper","unprocessedNamespaces","NAMESPACES","altKey","makeComputedDecorator","AliasedProperty","AliasDecoratorImpl","config","AutoComputedProperty","ComputedDecoratorImpl","deprecatedKey","newKey","idx","removedCnt","addedCnt","eachProxy","EACH_PROXIES","arrayDidChange","arrayWillChange","searchDisabled","processAllNamespaces","NAMESPACES_BY_ID","shouldSchedule","currentRevision","lastKnownRevision","ASYNC_OBSERVERS","activeObservers","lastRevision","sendObserver","getChainTagsForKey","tagMetaFor","propertyNames","elementDescriptor","isElementDescriptor","getInjection","propertyName","decorator","computed","keyName","descriptorForProperty","setClassicDecorator","func","events","setListeners","getName","SYNC_DEFAULT","changeEvent","deactivateObserver","deleteCount","items","replaceInNativeArray","changeProperties","unprocessedMixins","SELF_TAG","AFTER_OBSERVERS","SYNC_OBSERVERS","addObserver","activateObserver","getOrCreateActiveObserversFor","observerMap","destroyObservers","suspended","DEACTIVATE_SUSPENDED","SCHEDULED_DEACTIVATE","revalidateObservers","flushSyncObservers","setObserverSuspended","addMandatorySetter","customTagFor","getCustomTagFor","markObjectAsDirty","dirtyTagFor","deferred","notifyPropertyChange","beginPropertyChanges","endPropertyChanges","resumeObserverDeactivation","arrayContentWillChange","startIdx","removeAmt","addAmt","arrayContentDidChange","addedAmount","removedAmount","delta","previousLength","normalStartIdx","lastAffectedIndex","CHUNK_SIZE","chunk","operation","willChange","didChange","CHAIN_PASS_THROUGH","finishLazyChains","lazyTags","updateTag","getChainTagsForKeys","tagMeta","tags","getChainTags","combine","chainTags","segment","currentTagMeta","currentMeta","pathLength","segmentEnd","lastSegmentEnd","arrLength","propertyTag","unknownProperty","instanceMeta","placeholderTag","maybeTarget","maybeKey","maybeDesc","ComputedDescriptor","_dependentKeys","setup","_obj","_propertyDesc","teardown","DESCRIPTOR_GETTER_FUNCTION","DESCRIPTOR_SETTER_FUNCTION","COMPUTED_SETTERS","DecoratorClass","isClassicDecorator","computedDesc","DECORATOR_DESCRIPTOR_MAP","descriptorForDecorator","dec","END_WITH_EACH_REGEX","expandProperties","pattern","dive","prefix","newStart","arrayLength","tempArr","after","ComputedProperty","_readOnly","_hasConfig","_getter","_setter","maybeConfig","objectConfig","_property","_key","passedArgs","addArg","_throwReadOnlyError","_set","inspect","hadCachedValue","cachedValue","track","readOnly","previousDesc","wasDescriptor","defineDecorator","defineValue","firstDotIndexCache","Cache","PROXY_CONTENT","hasUnknownProperty","_getPath","forSet","fakeProxy","tolerant","newRoot","_setPath","currentValue","lookupDescriptor","setUnknownProperty","setProxy","oneWay","_keyName","AliasedProperty_readOnlySet","AliasedProperty_oneWaySet","Libraries","_registry","_coreLibIndex","_getLibraryByName","libs","lib","isCoreLibrary","registerCoreLibrary","deRegister","LIBRARIES","libraries","initializer","_desc","isClassicDecorator$$1","fieldDesc","descriptorForField","trackedData","newValue","newDesc","isTracked","TrackedDescriptor","VERSION","_get","caches","_unprocessedNamespaces","findNamespaces","tryIsNamespace","setName","processNamespace","_processNamespace","namespaces","paths","isNamespace","glimmerGetOwner","glimmerSetOwner","onerrorDefault","withErrorThrown","errorThrown","unwrapErrorThrown","withName","errorFor","overrideDispatch","getDispatchOverride","configure","cb","_rsvpErrorQueue","contentFor","content","customTagForProxy","ProxyMixin","Mixin","_super","setCustomTagFor","isTruthy","ActionHandler","mergedProperties","Comparable","compare","ContainerProxyMixin","__container__","RegistryProxyMixin","__registry__","resolveRegistration","registryAlias","hasRegistration","registeredOption","registerOptions","registeredOptions","registerOptionsForType","registeredOptionsForType","inject","actionContext","actionContextObject","triggerAction","CLASSIFY_CACHE","STRING_DASHERIZE_CACHE","STRING_DASHERIZE_REGEXP","decamelize","DECAMELIZE_CACHE","STRING_CLASSIFY_REGEXP_1","STRING_CLASSIFY_REGEXP_2","STRING_CLASSIFY_REGEXP_3","replace1","_match","_separator","toUpperCase","replace2","initialChar","STRING_DECAMELIZE_REGEXP","methodName","debugName","GUID_KEY","GUID_PREFIX","guid","OBJECT_GUIDS","NAMES","NON_OBJECT_GUIDS","possibleSymbol","GENERATED_SYMBOLS","PROXIES","OBSERVERS_LISTENERS_MAP","createObserverListenerMetaFor","observers","isNone","objectToString","superFunc","hasSuper","IS_WRAPPED_FUNCTION_SET","_wrap","ROOT","_uuid","sourceAvailable","HAS_SUPER_PATTERN","fnToString","checkHasSuper","HAS_SUPER_MAP","ObserverListenerMeta","superWrapper","orig","misses","hits","purge","EmberObject","childViews","nativeDescDecorator","getChildViews","concatenatedProperties","priorState","_currentState","_states","nearestOfType","isOfType","detect","nearestWithProperty","append","willInsertElement","didInsertElement","willClearRender","willDestroyElement","didDestroyElement","parentViewDidChange","handleEvent","evt","ROOT_ELEMENT_CLASS","EventDispatcher","touchstart","touchmove","touchend","touchcancel","keydown","keyup","keypress","mousedown","mouseup","contextmenu","dblclick","focusin","focusout","submit","dragstart","drag","dragenter","dragleave","dragover","drop","dragend","rootElement","_eventHandlers","_didSetup","finalEventNameMapping","_sanitizedRootElement","_reverseEventNameMapping","addedEvents","_rootElement","specifiedRootElement","classList","setupHandler","viewHandler","getElementView","actionHandler","attr","attrName","cancelBubble","hasAttribute","CHILD_VIEW_IDS","initChildViews","ELEMENT_VIEW","VIEW_ELEMENT","affectedStyle","contains","collectChildViews","rootViews","range","getViewRange","getClientRects","MouseEvent","shiftKey","metaKey","ctrlKey","secondaryClick","which","elMatches","views","getViewBounds","createRange","setStartBefore","setEndAfter","matches","Evented","_superTrigger","_trigger","_superHas","_has","preRender","_debugContainerKey","isViewFactory","states","PRE_RENDER","HAS_ELEMENT","IN_DOM","DESTROYING","inDOM","hasElement","destroying","actualGetOwner","actualSetOwner","Application","Engine","_bootPromise","_bootResolver","buildRegistry","Router","Route","AutoLocation","HashLocation","HistoryLocation","NoneLocation","BucketCache","RouterService","commonSetupRegistry","setupApplicationRegistry","_e","_g","_document","customEvents","autoboot","_globalsMode","_readinessDeferrals","_booted","_applicationInstances","_prepareForGlobalsMode","waitForDOMReady","buildInstance","ApplicationInstance","base","_watchInstance","_unwatchInstance","_buildDeprecatedInstance","__deprecatedInstance__","readyState","domReady","_bootSync","deferReadiness","advanceReadiness","didBecomeReady","_","runInitializers","runLoadHooks","ready","startRouting","_loaded","visit","buildInitializerMethod","instanceInitializer","_BootOptions","setupRegistry","router","runInstanceInitializers","setupEventDispatcher","_router","didCreateRootView","setupRouter","handleURL","applicationCustomEvents","instanceCustomEvents","getURL","bootOptions","handleTransitionResolve","shouldRender","renderSettled","handleTransitionReject","_routerMicrolib","activeTransition","message","setURL","coptions","toEnvironment","isBrowser","loaded","loadHooks","CustomEvent","detail","dispatchEvent","Namespace","addNamespace","existing_name","nameClasses","removeNamespace","processAll","byName","findNamespace","EMBER_ARRAYS","identityFunction","uniqBy","keyOrFunc","valueProvided","startAt","any","withNaNCheck","removeAt","insertAt","EmberArray","typeOf","nonEnumerableComputed","mapBy","Enumerable","setEmberArray","objectsAt","indexes","firstObject","lastObject","beginIndex","endIndex","validatedEndIndex","getEach","setEach","filterBy","rejectBy","findBy","isEvery","isAny","initialValue","toArray","compact","sortBy","sortKeys","propA","propB","compareValue","uniq","without","MutableArray","MutableEnumerable","pushObject","pushObjects","objects","popObject","shiftObject","unshiftObject","unshiftObjects","reverseObjects","setObjects","removeObject","curObject","removeObjects","addObject","included","addObjects","NativeArray","Observable","ignore","ARRAY_OBSERVER_MAPPING","customTagForArrayProxy","_arrTag","_lengthTag","ArrayProxy","_objectsDirtyIndex","_objects","_lengthDirty","_length","_arrangedContent","_arrangedContentIsUpdating","_arrangedContentTag","_arrangedContentRevision","_removeArrangedContentArrayObserver","objectAtContent","arrangedContent","amt","replaceContent","added","removedCount","_invalidate","_updateArrangedContentArray","oldLength","newLength","_addArrangedContentArrayObserver","addArrayObserver","removeArrayObserver","_arrangedContentArrayWillChange","_arrangedContentArrayDidChange","_proxy","dirtyIndex","arrangedContentTag","reopen","DEFAULT_FEATURES","metalInject","MODEL","ControllerMixin","isController","_qpDelegate","_qpChanged","_prop","dotIndex","transitionToRoute","deprecateTransitionMethods","prefixRouteNameArg","replaceRoute","replaceWith","Controller","ContainerDebugAdapter","canCatalogEntriesByType","catalogEntriesByType","types","typeSuffixRegex","classify","iterate","RecordsWatcher","getCacheForItem","recordCache","recordCaches","hasBeenAdded","updated","wrapRecord","recordsAdded","recordsUpdated","recordsRemoved","release","removed","recordArrayCache","_cache","revalidate","TypeWatcher","onChange","hasBeenAccessed","DataAdapter","releaseMethods","emberA","recordsWatchers","typeWatchers","flushWatchers","attributeLimit","acceptsModelName","containerDebugAdapter","getFilters","watchModelTypes","typesAdded","typesUpdated","typesToSend","modelTypes","getModelTypes","wrapModelType","observeModelType","_nameToClass","Factory","watchRecords","modelName","getRecords","recordsWatcher","updateFlushWatchers","watcher","off","_klass","columnsForType","typeWatcher","columns","stringTypes","_getObjectsOnNamespaces","klassTypes","columnValues","getRecordColumnValues","searchKeywords","getRecordKeywords","filterValues","getRecordFilterValues","getRecordColor","_record","deprecateFunc","debug","debugSeal","runInDebug","setDebugFunction","getDebugFunction","app","expect","registerHandler","missingOptionDeprecation","HANDLERS","_type","inspectValue","functionToString","objectKeys","LIST_LIMIT","DEPTH_LIMIT","SAFE_KEY","valueIsArray","inspectArray","inspectKey","inspectObject","testing","ASSIGN","_registerDestructor","_unregisterDestructor","_initializersRan","resolverFor","RoutingService","ComponentLookup","setupEngineRegistry","ensureInitializers","_runInitializer","initialize","bucketName","initializersByName","initializers","graph","DAG","before","topsort","ResolverClass","Resolver","humanName","superclass","instanceInitializers","cloneParentDependencies","engineInstance","setEngineParent","registration","singletons","ENGINE_PARENT","EmberError","_payload","p2","p3","subscribers","withFinalizer","regexes","regex","subscriber","perf","mozNow","webkitNow","msNow","oNow","payloadFunc","payloadArg","populateListeners","timeName","beforeValues","timestamp","constListeners","timeEnd","wrapGetterSetter","originalGet","dependentKeyCompat","wasApplied","prototypeMixinMap","destroyCalled","ensureDestroyCalled","keyNames","isDescriptor","baseValue","makeArray","CoreObject","OWNER","applyMixin","_properties","extension","toStringExtension","mixins","Class","PrototypeMixin","flattenProps","willReopen","detectInstance","metaForProperty","eachComputedProperty","prototypeMixin","ownerConstructor","initProperties","isClass","isMethod","one","hasListeners","dependentKeys","funcOrDef","dependentKey","setObservers","BINDINGS_MAP","setupAction","actionFn","parentActions","bindings","generateComputedWithPredicate","additionalDependentKeys","predicateName","expandedProperties","extractProperty","expandPropertiesToArray","computedFunc","lastIdx","and","or","isNativeOrEmberArray","reduceMacro","arrayMacro","multiArrayMacro","additionalDependentKeysOrCallback","cCallback","arrays","firstArray","candidate","found","setAProperty","setBProperty","setA","setB","itemsKey","additionalDependentKeysOrDefinition","sortDefinition","sortDefinitionOrString","comparator","customSort","sortPropertiesKey","cp","autoComputed","sortProperties","itemsKeyIsAtThis","normalizedSortProperties","direction","normalizeSortProperties","itemA","itemB","sortByNormalizedSortProperties","propertySort","uniqByArray","union","a_concat","concatenatedMixinProperties","concatProp","concats","giveDecoratorSuper","descs","originalGetter","superDesc","superProperty","superGetter","originalSetter","superSetter","newProperty","giveMethodSuper","superMethod","simpleMakeArray","applyConcatenatedProperties","applyMergedProperties","newBase","hasFunction","propValue","mergeMixins","keysWithSuper","currentMixin","MIXINS","mergeProps","_without","mergings","propKeys","updateObserversAndListeners","observerListenerMetaFor","updateObserver","removeObserver","updateListener","_hideKeys","metaFor","extractAccessors","buildMixinsArray","setUnprocessedMixins","applyPartial","_detect","_keys","curMixin","targetMixin","getProperties","hasObserverFor","incrementProperty","increment","decrementProperty","decrement","toggleProperty","cacheFor","PromiseProxyMixin","isPending","isSettled","isRejected","isFulfilled","tap","promiseAlias","ObjectProxy","_ProxyMixin","internalGetOwner","hasPropertyAccessors","implementation","rootURL","documentMode","cancelRouterSetup","currentPath","getFullPath","supportsHistory","historyPath","getHistoryPath","replaceState","replacePath","supportsHashChange","hashPath","getHashPath","detectImplementation","concrete","concreteImplementation","delegateToConcreteImplementation","routeHash","hashParts","getHash","getQuery","routePath","initState","replaceURL","onUpdateURL","formatURL","lastSetURL","_location","_hashchangeHandler","originalPath","outPath","_removeEventListener","_event","popstateFired","baseURL","_popstateHandler","_previousURL","pathname","pushState","bucketKey","stash","controllerName","lookupOptions","isCallback","DSLImpl","explicitIndex","enableLoadingSubstates","dummyErrorRoute","createRoute","resetNamespace","getFullName","dsl","generate","serialize","engineInfo","localFullName","routeInfo","serializeMethod","addRouteForEngine","dslMatches","mount","engineRouteMap","resolveRouteMap","as","instanceId","shouldResetEngineInfo","oldEngineInfo","optionsForChild","childDSL","substateName","canNest","getOrigin","origin","protocol","hostname","emberRouter","routerJsState","isActiveIntent","visibleQueryParams","_prepareQueryParams","shallowEqual","Service","ROUTER","hasRoute","shouldReplace","_doTransition","normalizeQueryParams","_generateURL","_initialTransitionStarted","contexts","routerState","handlers","recognizer","handlersFor","leafName","maximumContexts","handlerName","handlerInfos","req","numberOfContextsAcceptedByHandler","suffixes","cacheValuePrefix","_calculateCacheValuePrefix","partRemovedPrefix","ALL_PERIODS_REGEX","frameworkClass","possibleOptions","qps","isRouteOptions","routeInfos","STATE_SYMBOL","lastRouteInfo","qpMap","queryParam","accumulateQueryParamDescriptors","routable","resemblesURL","aCount","bCount","kA","kB","dynamicParent","targetRouteName","recogHandlers","_stashNames","prefixParts","currPrefix","currPart","accum","_singleDesc","singleDesc","partialVal","implementationClass","implementations","updateCallback","defaultSerialize","ROUTE_CONNECTIONS","RENDER","bucketCache","_bucketCache","_topLevelViewTemplate","_setRouteName","fullRouteName","getEngineRouteName","_names","namePaths","_activeQPChanged","scopedPropertyName","_updatingQPChanged","urlKey","paramsFor","getQueryParamsFor","serializeQueryParamKey","controllerPropertyName","serializeQueryParam","_urlKey","defaultValueType","_serializeQueryParam","deserializeQueryParam","_deserializeQueryParam","_optionsForQueryParam","resetController","_controller","_isExiting","_transition","deactivate","teardownViews","_internalReset","isExiting","inactive","activate","intermediateTransitionTo","preparedArgs","refresh","definedController","controllerFor","generateController","propNames","addQueryParamsObservers","allowOverrides","stashParamNames","PARAMS_SYMBOL","allParams","aQp","cacheKey","calculateCacheKey","undecoratedDefaultValue","qpValues","setupController","flushAsyncObservers","beforeModel","afterModel","_resolvedModel","redirect","_model","contextDidChange","currentModel","sawParams","resolveIndex","findModel","deserialize","_params","_paramsFor","_skipAssert","modelFor","modelLookupName","resolvedModels","renderOptions","nameOrOptions","isDefaultRender","templateName","routeInfoFor","parentRoute","buildRenderOptions","connections","buildRouteInfoMetadata","modelClass","_qp","combinedQueryParameterConfiguration","queryParameterConfiguraton","hasRouterDefinedQueryParams","controllerDefinedQueryParameterConfiguration","normalizedControllerQueryParameterConfiguration","normalizeControllerQueryParams","controllerQP","routeQP","keysAlreadyMergedOrSkippable","cqpName","rqpName","mergeEachQueryParams","propName","copyDefaultValue","defaultValueSerialized","serializedDefaultValue","serializedValue","active","getFullQueryParams","fullQueryParams","haveAllRouteInfosResolved","fullQueryParamsState","_deserializeQueryParams","queryParamsFor","existing","qpValueWasPassedIn","isRouteFactory","isTesting","queryParamsDidChange","changed","_totalPresent","totalChanged","finalizeQueryParamChange","finalParams","replaceUrl","qpMeta","_queryParamsFor","changes","_qpUpdates","qpUpdated","presentKey","svalue","thisQueryParamChanged","queryParamsOnly","replaceConfigValue","thisQueryParamHasDefaultValue","visible","routeQpMeta","finalizedController","cleanURL","_doURLTransition","extractRouteArgs","urlFor","routerMicrolib","hasQueryParams","currentQueryParams","recognize","internalURL","recognizeAndLoad","pivotRouteName","pivotRoute","defaultDidTransition","infos","updatePaths","_cancelSlowTransitionTimer","defaultWillTransition","oldInfos","newInfos","EmberRouter","dslCallbacks","_routePath","oldNameParts","intersectionMatches","a1","a2","_didSetupRouter","currentURL","_qpCache","_queuedQPChanges","_toplevelView","_handledErrors","_engineInstances","_engineInfoByRoute","_slowTransitionTimer","_resetQueuedQueryParameterChanges","routerService","_routerService","_initRouterJs","PrivateRouter","getRoute","routeOwner","_getEngineInstance","DefaultRoute","hasDefaultSerialize","getSerializer","updateURL","didTransition","willTransition","triggerEvent","ignoreFailure","routeWillChange","isIntermediate","routeDidChange","transitionDidError","wasAborted","isAborted","logAbort","_isErrorHandled","rollback","abort","doReplaceURL","_buildDSL","overrideNameAssertion","_hasModuleBasedResolver","DSL","initialURL","initialTransition","_setupLocation","_setOutlets","currentRouteInfos","defaultParentState","liveRoutes","ownState","representEmptyRoute","appended","appendLiveRoute","_url","routerJsMethod","didBeginTransition","instances","instanceMap","queryParameterName","_fireQueryParamTransition","resolvedLocation","EmberLocation","_serializeQueryParams","forEachQueryParam","defaultType","parse","_pruneDefaultQueryParamValues","_targetRouteName","_queryParams","_fromRouterService","getActiveTargetName","_processActiveTransitionQueryParams","unchangedQPs","qpUpdates","_fullyScopeQueryParams","calculatePostTransitionState","_hydrateUnsuppliedQueryParams","_getQPMeta","routeInfoLength","leafRouteName","shouldCache","finalQPMeta","presentProp","appCache","qpLen","_scheduleLoadingEvent","originRoute","_handleSlowTransition","RouterState","cancel","_markErrorAsHandled","_clearHandledError","engineInstances","namedInstances","forEachRouteAbove","defaultActionHandlers","willResolveModel","_routeInfos","routeInfoWithError","errorRouteName","findRouteStateName","errorSubstateName","findRouteSubstateName","_error","initialMessage","errorArgs","stack","logError","targetName","loading","routeInfoWithSlowLoading","loadingRouteName","loadingSubstateName","pivotHandler","substateNameFull","routeHasBeenDefined","stateName","stateNameFull","localName","routerHasRoute","ownerHasRoute","eventWasHandled","defaultHandler","applyIntent","isResolved","qpCache","findLiveRoute","outletName","wasUsed","alreadyAppended","cancelTimers","currentRunLoop","hasTimers","curried","debounce","later","throttle","_queues","Backburner","defaultQueue","onBegin","onEnd","_current","onErrorMethod","queueName","methodOrTarget","methodOrArg","additionalArgs","isServiceFactory","deprecateImportFromInternalString","CAMELIZE_CACHE","CAPITALIZE_CACHE","deprecateImportFromString","internalHtmlSafe","internalIsHtmlSafe","UNDERSCORE_CACHE","STRING_CAMELIZE_REGEXP_1","STRING_CAMELIZE_REGEXP_2","STRING_UNDERSCORE_REGEXP_1","STRING_UNDERSCORE_REGEXP_2","STRING_CAPITALIZE_REGEXP","deprecateEmberStrings","STRINGS","strings","Adapter","Test","registerAsyncHelper","registerHelper","registerWaiter","unregisterHelper","unregisterWaiter","testingNotAvailableMessage","type1","type2","isComparable","spaceship","TYPE_ORDER","localeCompare","vLen","wLen","null","boolean","function","date","filelist","isEqual","isBlank","TYPE_MAP","DESTROYABLE_META","children","parentMeta","getDestroyableMeta","childMeta","parents","eager","destructorsKey","collection","newItem","eagerDestructors","destructors","removeChildFromParent","InstructionEncoderImpl","encode","machine","op","patch","DEBUG","CI","FEATURE_DEFAULT_HELPER_MANAGER","Storage","slot","deref","Stack","vec","clone","sliceFrom","copy","writeRaw","getRaw","managerAPI","buildCapabilities","asyncLifeCycleCallbacks","asyncLifecycleCallbacks","getPrototypeOf$1","CUSTOM_TAG_FOR","isOptional","getManager","COMPONENT_MANAGERS","HELPER_MANAGERS","DEFAULT_MANAGER","MODIFIER_MANAGERS","hasDefaultHelperManager","hasScheduledEffect","_manager","optionalFeatures","disableAutoTracking","CustomComponentManager","CustomHelperManager","CustomModifierManager","argsProxyFor","customTagFn","convertToInt","tagForNamedArg","tagForPositionalArg","NamedArgsProxy","PositionalArgsProxy","HAS_NATIVE_PROXY","namedHandler","positionalHandler","namedTarget","namedProxy","Proxy","positionalProxy","getNamedTag","getPositionalTag","helperManagerDelegates","undefinedDelegate","getDelegateForOwner","getDelegateFor","getHelper","FunctionHelperManager","argsForFn","setManager","hasAsyncLifeCycleCallbacks","hasUpdateHook","componentManagerDelegates","vmArgs","createComponent","CustomComponentState","updateComponent","didCreateComponent","hasAsyncUpdateHook","didUpdateComponent","getContext","hasDestructors","destroyComponent","createModifier","destroyModifier","installModifier","updateModifier","cursor","SerializeBuilder","forInitialRender","createHTMLDocument","setupUselessElement","insertHTMLBefore","createRawHTMLSection","insertBefore","ConcreteBounds","NEEDS_EXTRA_CLOSE","NewElementBuilder","serializeBlockDepth","__openBlock","__appendComment","__closeBlock","__appendHTML","openIndex","tr","__appendText","lastChild","previousSibling","currentNode","closeElement","openElement","constructing","flushElement","pushRemoteElement","cursorId","dom","script","CompileTimeCompilationContextImpl","templateId","parsedBlock","clientId","ownerlessTemplate","templateCache","templateCacheCounters","cacheMiss","TemplateImpl","cacheHit","__id","__meta","NamedBlocksImpl","blocks","with","hasAny","EMPTY_BLOCKS","namedBlocks","labelOperand","stdlibOperand","symbolTableOperand","layoutOperand","makeResolutionTypeVerifier","typeToVerify","opcode","isGetLikeTuple","isGetFreeComponent","isGetFreeModifier","isGetFreeHelper","isGetFreeComponentOrHelper","isGetFreeOptionalComponentOrHelper","expr","constants","upvars","Compilers","funcs","compile","sexp","EXPRESSIONS","withPath","expression","PushPrimitive","SimpleArgs","atNames","CompilePositional","EMPTY_STRING_ARRAY","evalSymbols","scopeValues","hasEval","PushPrimitiveReference","primitive","isSmallInt","encodeImmediate","Call","$v0","CallDynamic","$fp","YieldBlock","PushYieldableBlock","parameters","PushSymbolTable","PushCompilable","InvokeStaticBlock","InvokeStaticBlockWithStack","callerCount","calleeCount","_block","SwitchCases","bootstrap","clauses","clause","Replayable","ReplayableIf","ifTrue","ifFalse","expr$$1","Curry","_path","_handle","ifHelper","condition","ATTRS_BLOCK","InvokeComponent","_elementBlock","_blocks","elementBlock","symbolTable","bailOut","hasCapability","InvokeNonStaticComponent","$s0","$sp","blockSymbols","argSymbols","argNames","blockNames","InvokeStaticComponent","InvokeDynamicComponent","namedBlocks$$1","bindableBlocks","bindableAtNames","CompileArgs","invokePreparedComponent","populateLayout","StdLib","trustingGuardedAppend","cautiousGuardedAppend","trustingNonDynamicAppend","cautiousNonDynamicAppend","getAppend","trusting","templateCompilationContext","program","encoder","EncoderImpl","heap","stdlib","STATEMENTS","INFLATE_ATTR_TABLE","INFLATE_TAG_TABLE","inflateTagName","inflateAttrName","hashToArgs","evalInfo","ifComponent","ifValue","when","destination","inverse","expressions","CompilableTemplateImpl","statements","compiled","compileStatements","maybeCompile","syntaxContext","sCompiler","pushOp","encodeOp","commit","Labels","labels","targets","address","setbyaddr","isBuilderOpcode","operands","startLabels","stopLabels","resolvedComponent","resolveComponent","resolveModifier","resolveHelper","resolveComponentOrHelper","resolveOptionalHelper","resolveOptionalComponentOrHelper","freeVar","andThen","valueIndex","labelsStack","errors","malloc","finishMalloc","isMachineOp","operand","encodeHandle","currentLabels","containing","StdAppend","nonDynamicAppend","InvokeBareComponent","compileStd","mainHandle","build","trustingGuardedNonDynamicAppend","cautiousGuardedNonDynamicAppend","trustingGuardedDynamicAppend","cautiousGuardedDynamicAppend","STDLIB_META","DEFAULT_CAPABILITIES","MINIMAL_CAPABILITIES","WrappedBuilder","attrsBlockIndex","attrsBlockNumber","syntax","WithSavedRegister","$s1","parsedLayout","wrappedLayout","ConstantsImpl","HeapImpl","serializedHeap","RuntimeHeapImpl","DEFAULT_TEMPLATE","WELL_KNOWN_EMPTY_ARRAY","STARTER_CONSTANTS","WELL_KNOWN_EMPTY_ARRAY_POSITION","CompileTimeConstantImpl","indexMap","handles","toPool","RuntimeConstantsImpl","pool","getArray","reifiedArrs","defaultTemplate","helperDefinitionCount","modifierDefinitionCount","componentDefinitionCount","helperDefinitionCache","modifierDefinitionCache","definitionState","_resolvedName","managerOrHelper","getInternalModifierManager","managerHasCapability","resolvedDefinition","RuntimeOpImpl","rawType","getbyaddr","isMachine","op1","op2","op3","PAGE_SIZE","table","Int32Array","getaddr","sizeof","handleTable","handleState","sizeCheck","newHeap","free","compactedSize","RuntimeProgramImpl","constants$$1","_opcode","ReferenceImpl","lastValue","REFERENCE","listRef","uniqueKeyFor","INDEX","IDENTITY","keyForPath","makeKeyFor","maybeIterator","IteratorWrapper","_ref","INITIAL","NULL_REFERENCE","TRUE_REFERENCE","FALSE_REFERENCE","_parentRef","parentRef","isDict","NULL_IDENTITY","WeakMapWithPrimitives","weakMap","_weakMap","primitiveMap","_primitiveMap","IDENTITIES","identities","identity","identityForNthOccurence","nextValue","computeArgs","internalManager","SimpleArgsProxy","nodeValue","SERIALIZATION_FIRST_NODE_STRING","WHITESPACE","RehydrateBuilder","treeBuilder","DynamicScopeImpl","vm","VM","argList","CONSTANTS","pushFrame","layoutHandle","unwrapHandle","invocation","TemplateIteratorImpl","renderInvocation","numSymbols","initial","debugCallback","EnvironmentImpl","TemplateOnlyComponentDefinition","PartialScopeImpl","slots","callerScope","evalScope","partialMap","refs","sized","getSymbol","symbol$$1","getBlock","getEvalScope","getPartialMap","bindSelf","bindSymbol","bindBlock","bindEvalScope","bindPartialMap","bindCallerScope","getCallerScope","INNER_VM","DESTROYABLE_STACK","STACKS","REGISTERS","HEAP","CursorImpl","SingleNodeBounds","move","normalizeStringValue","isSafeString","isString","slotName","lower","ATTR_OVERRIDES","INPUT","form","autocorrect","SELECT","OPTION","TEXTAREA","LABEL","FIELDSET","LEGEND","OBJECT","OUTPUT","BUTTON","protocolForUrl","badProtocols","badTags","badTagsForDataURI","badAttributes","badAttributesForDataURI","checkURI","checkDataURI","requiresSanitization","URL","nodeURL","parsingNode","sanitizeAttributeValue","dynamicAttribute","isTrusting","buildDynamicAttribute","SafeDynamicProperty","isUserInputValue","InputValueDynamicAttribute","isOptionSelected","OptionSelectedDynamicAttribute","DefaultDynamicProperty","buildDynamicProperty","SafeDynamicAttribute","SimpleDynamicAttribute","DynamicAttribute","normalizedValue","normalizeValue","__setAttribute","removeAttribute","__setProperty","removeAttributeNS","sanitized","option","selected","First","Last","CURSOR_STACK","modifierStack","blockStack","pushElement","getDOM","resume","pushLiveBlock","pushSimpleBlock","debugBlocks","hasBlocks","popElement","SimpleLiveBlock","pushUpdatableBlock","UpdatableBlockImpl","pushBlockList","LiveBlockList","isRemote","didAppendBounds","popBlock","__openElement","modifiers","__flushElement","pushModifiers","didOpenElement","willCloseElement","popModifiers","__pushRemoteElement","_guid","RemoteLiveBlock","popRemoteElement","didAppendNode","appendText","text","__appendNode","__appendFragment","fragment","firstChild","appendDynamicHTML","trustedContent","appendDynamicText","untrustedContent","appendDynamicFragment","appendDynamicNode","appendComment","createComment","setStaticAttribute","setDynamicAttribute","nesting","boundList","tail","_node","_bounds","_stack","APPEND_OPCODES","evaluateOpcode","fillNulls","evaluate","syscall","debugBefore","sp","pc","fetchValue","$pc","debugAfter","pre","castToString","INNER","ARGS$1","RESOLVED","CURRIED_VALUES","isCurriedValue","isCurriedType","CurriedValue","resolveCurriedValue","curriedValue","currentWrapper","curriedArgs","curriedNamed","curriedPositional","spec","VMArgumentsImpl","PositionalArgumentsImpl","NamedArgumentsImpl","BlockArgumentsImpl","positionalCount","namedCount","namedBase","positionalBase","blocksCount","blocksBase","realloc","EMPTY_NAMED","EMPTY_REFERENCES","emptyArray","_references","references","prepend","other","additions","_atNames","toSyntheticName","toAtName","merge","newNames","toSymbolName","EMPTY_BLOCK_VALUES","internalValues","_symbolNames","internalTag","CapturedBlockArgumentsImpl","symbolNames","reifyNamed$1","reifyPositional$1","reifyArgs","isUndefinedReference","hasCustomDebugRenderTreeLifecycle","_isStrict","loadValue","curriedDefinition","createCurryRef","helperRef","initialOwner","helperInstanceRef","resolvedDef","_hasDestroyableChildren","helperValueRef","associateDestroyable","referenceForSymbol","locals","pushRootScope","handleOrCompilable","hasBlockParams","partsRefs","pushChildScope","popScope","pushDynamicScope","popDynamicScope","decodeHandle","isHandle","decodeImmediate","dup","load","fetch","bindDynamicScope","_table","pushScope","invokingScope","localsCount","goto","updateWith","Assert","comparison","peek","valueRef","throw","AssertFilter","JumpIfNotModifiedOpcode","didModify","BeginTrackFrameOpcode","EndTrackFrameOpcode","elements","elementRef","insertBeforeRef","guidRef","$t0","scheduleInstallModifier","addModifier","UpdateModifierOpcode","instanceRef","hostDefinition","curriedOwner","UpdateDynamicModifierOpcode","lastUpdated","scheduleUpdateModifier","newInstance","_namespace","_trusting","UpdateDynamicAttributeOpcode","initialized","$t1","_blockNames","resolvedValue","hasDefaultBlock","UpdateComponentOpcode","beginCacheGroup","ComponentElementOperations","setDeferredAttr","mergeClasses","allStringClasses","symbolName","blockName","selfRef","DebugRenderTreeUpdateOpcode","callerNames","atName","DebugRenderTreeDidRenderOpcode","mgr","DidUpdateLayoutOpcode","commitCacheGroup","_vm","DynamicTextContent","textNode","toContentType","shouldCoerce","hasInternalComponentManager","hasInternalHelperManager","isFragment","toDynamicContentType","rawValue","ScopeInspector","_symbols","_evalInfo","inspector","relativeStart","elseTarget","keyRef","keyValue","iteratorRef","createIteratorRef","enterList","exitList","breaks","registerItem","enterItem","TemplateOnlyComponentManager","TemplateOnlyComponent","SVG_INTEGRATION_POINTS","foreignObject","title","BLACKLIST_TABLE","DOMOperations","uselessElement","isElementInSVGNamespace","isHTMLIntegrationPoint","createElementNS","comment","insertAdjacentHTML","SVG_NAMESPACE","applySVGInnerHTMLFix","DOMClass","svgNamespace","svg","childNodes","shouldApplyFix","wrappedHtml","clearElement","moveNodesBefore","fixSVG","applyTextNodeMergingFix","mergingTextDiv","shouldApplyFix$1","uselessComment","didSetUselessComment","nextPrevious","Text","DOM","TreeConstruction","setAttributeNS","appliedTreeConstruction","DOMChangesImpl","insertAfter","IDOMChanges","_a$1","GUID","Ref","DebugRenderTreeImpl","internalNode","nodeFor","captureRefs","captureNode","captureTemplate","captureBounds","_a$2","TRANSACTION","TransactionImpl","scheduledInstallModifiers","scheduledUpdateModifiers","createdComponents","updatedComponents","modifierTag","transaction","LowLevelVM","externs","registers","currentOpSize","fetchRegister","loadRegister","setPc","$ra","popFrame","pushSmallFrame","popSmallFrame","returnTo","return","nextStatement","operationSize","evaluateOuter","evaluateInner","evaluateMachine","evaluateSyscall","UpdatingVMImpl","frameStack","execute","opcodes","_execute","try","ops","UpdatingVMFrame","handleException","UpdatingVM","ResumableVMStateImpl","resumeCallback","BlockOpcode","TryOpcode","destroyChildren","elementStack","updating","pushUpdating","ListItemOpcode","retained","updateReferences","shouldRemove","ListBlockOpcode","iterableRef","opcodeMap","marker","lastIterator","initializeChild","itemMap","currentOpcodeIndex","seenIndex","retainItem","itemOpcode","moveItem","seenUnretained","insertItem","deleteItem","currentSibling","exceptionHandler","RenderResultImpl","EvaluationStackImpl","restore","snapshot","Stacks","s0","s1","t0","t1","v0","initVM","evalStack","isLowLevelRegister","vmState","captureState","guard","tryOpcode","didEnter","createIteratorItemRef","memoRef","listBlock","addr","popUpdating","tryUpdating","RehydratingCursor","startingBlockDepth","injectedOmittedNode","openBlockDepth","unmatchedAttributes","blockDepth","currentCursor","isOpenBlock","startingBlockOffset","getBlockDepth","newBlockDepth","newCandidate","closingNode","isCloseBlock","newClosingBlock","disableRehydration","enableRehydration","clearMismatch","closeBlockDepth","getBlockDepthWithOffset","isRehydrating","candidateBounds","markerBounds","newBounds","possibleEmptyMarker","isEmpty$1","_candidate","isMarker","isSeparator","isElement","isSameNodeType","unmatched","findByName","getMarker","getArgs","argsCache","buildUntouchableThis","callbackRef","invocationArgs","reifyNamed","sourceRef","pathRef","normalizeTextValue","isEmpty$2","untouchableContext","SUPPORTS_EVENT_OPTIONS","Event","createEvent","initEvent","OnModifierState","shouldUpdate","updateFromArgs","passive","userProvidedCallbackReference","userProvidedCallback","needsCustomCallback","adds","removes","counters","LOGGER","sugaryCheck","isDocument","checkNode","LOCAL_LOGGER","ifPresent","otherwise","dynamic","lines","line","leading","stripped","problem","span","vals","EMPTY_NUMBER_ARRAY","nth","HAS_NATIVE_SYMBOL","unreachable","tuple","encodeNegative","decodeNegative","encodePositive","decodePositive","debugToString","_map","isMatch","stringCheckNode","checkError","SVGElement","$REVISION","debuggingLabel","FN","LAST_VALUE","SNAPSHOT","MonomorphicTagImpl","assertCache","assertTag","isConstTag","CURRENT_TRACKER","OPEN_TRACK_FRAMES","hasInitializer","symbolFor","unwrap","CONSTANT","VOLATILE","COMPUTE","lastChecked","isUpdating","subtag","subtagBufferCache","subtagValue","_tag","_subtag","disableConsumptionAssertion","UPDATE_TAG","VolatileTag","VOLATILE_TAG","CurrentTag","tag1","tag2","tag3","TRACKED_TAGS","Tracker","tagsArr","debuggingContext","fnName","GLIMMER_VALIDATOR_REGISTRATION","getGlobal","SavedRegister","TemporaryRegister","variant","isFlushElement","isGet","EMPTY_ATTRS","indexOfAttribute","adjustAttrName","specified","ChildNodes","stale","oldLen","cloneNode","deep","SimpleNodeImpl","nodeName","copyAttrs","nodeFrom","nextChild","newChild","refChild","invalidate","insertFragment","insertBetween","oldChild","removeBetween","_childNodes","getAttributeNS","qualifiedName","parseQualifiedName","doctype","createDocumentFragment","SET_TIMEOUT","buildNext","autorunPromise","iterations","buildPlatform","clearNext","ms","clearTimeout","timerId","isCoercableNumber","suspect","getOnError","onError","findItem","findTimerItem","getQueueItems","queueItemLength","queueItemPositionOffset","queueItems","maybeError","queueItem","binarySearch","timers","Queue","globalOptions","_queueBeingFlushed","targetQueues","_queue","stackFor","errorRecordedForStack","invokeWithOnError","mustYield","hasWork","targetQueueMap","pushUnique","localQueueMap","queueIndex","_getDebugInfo","debugEnabled","debugInfo","DeferredActionQueues","queueNames","queues","queueNameIndex","onceFlag","fromAutorun","numberOfQueues","iteratorDrain","DISABLE_SCHEDULE","parseArgs","argsIndex","methodOrArgs","parseDebounceArgs","isImmediate","wait","UUID","beginCount","endCount","beginEventCount","runCount","joinCount","deferCount","scheduleCount","scheduleIterableCount","deferOnceCount","scheduleOnceCount","setTimeoutCount","laterCount","throttleCount","debounceCount","cancelTimersCount","cancelCount","autorunsCreatedCount","autorunsCompletedCount","deferredActionQueuesCreatedCount","nestedDeferredActionQueuesCreated","currentInstance","instanceStack","_eventCallbacks","_timerTimeoutId","_timers","_autorun","_autorunStack","_defaultQueue","_onBegin","_onEnd","_boundRunExpiredTimers","_runExpiredTimers","_boundAutorunEnd","_end","_buildPlatform","_platform","autoruns","created","completed","scheduleIterable","deferOnce","total","nested","previousInstance","_cancelAutorun","callbacks","callbackFound","_run","_join","_ensureInstance","parseTimerArgs","_later","argIndex","executeAt","_reinstallTimerTimeout","_clearTimerTimeout","timerType","_cancelLaterTimer","getDebugInfo","autorun","deferredActionQueue","nextInstance","finallyAlreadyCalled","plannedNextQueue","_scheduleAutorun","_installTimerTimeout","arg1","_scheduleExpiredTimers","minExpiresAt","_vertices","Vertices","vertices","addEdge","addEdges","walk","IntStack","vertex","msg_1","pushIncoming","incomming","indices","protoProps","staticProps","_defineProperties","minLen","arrayLikeToArray","unsupportedIterableToArray","Derived","Super","hasReflectConstruct","NewTarget","possibleConstructorReturn","subClass","superClass","nativeWrapperCache","assertThisInitialized","arr2","injectController","PartialEmber","_setComponentManager","_componentManagerCapabilities","_modifierManagerCapabilities","_createCache","metal","_cacheGetValue","_cacheIsConst","isConst","_descriptor","_setClassicDecorator","_tracked","_ContainerProxyMixin","_RegistryProxyMixin","_Cache","utils","canInvoke","generateGuid","onLoad","isEnabled","_Input","_captureRenderTree","captureRenderTree","EmberDebug","Debug","registerDeprecationHandler","registerWarnHandler","isComputed","_assertDestroyablesDestroyed","assertDestroyablesDestroyed","_associateDestroyableChild","_enableDestroyableTracking","enableDestroyableTracking","_isDestroying","_isDestroyed","unregisterDestructor","instrument","instrumentation","subscribe","Instrumentation","_action","trySet","_dependentKeyCompat","RouterDSL","Location","camelize","capitalize","underscore","ViewUtils","getRootViews","getViewBoundingClientRect","getViewClientRects","isSerializationFirstNode","_getComponentTemplate","_helperManagerCapabilities","_setComponentTemplate","_setHelperManager","_setModifierManager","setModifierManager","_templateOnlyComponent","glimmerRuntime","_invokeHelper","invokeHelper","_hash","_array","_concat","_on","_fn","_Backburner","platform","__loader","getENV","getLookup","setLookup","getOnerror","setOnerror","setTesting","_getStrings","_setStrings","isNamespaceSearchDisabled","setNamespaceSearchDisabled","getTemplates","setTemplates","htmlSafe","EmberHandlebars","Utils","escapeExpression","EmberHTMLBars","defineEmberTemplateCompilerLazyLoad","templateCompiler","precompile","defineEmberTestingLazyLoad","QUnitAdapter","setupForTesting","createObject","createMap","matcher","willAddRoute","addChild","Matcher","routes","generateMatch","startingPath","fullPath","addRoute","routeArray","substr","eachRoute","baseRoute","contextEntered","normalizePath","normalizeSegment","SEGMENT_RESERVED_CHARS","decodeURIComponent","encodeURIComponent","PATH_SEGMENT_ENCODINGS","encodePathSegment","escapeRegex","getParam","eachChar","put","RouteRecognizer","ENCODE_AND_DECODE_PATH_SEGMENTS","EmptyObject","EmptyArray","segments","shouldDecodes","isEqualCharSpec","char","negate","State","nextStates","_regex","recognizeChar","child$1","returned","RecognizeResults","decodeQueryParamPart","allSegments","generateQueryString","pairs","arrayPair","parseQueryString","queryString","keyLength","isSlashDropped","hashStart","queryStart","decodeURI","pathLen","solutions","i$1","astatics","adynamics","astars","ref$1","bstatics","bdynamics","bstars","sortSolutions","currentCapture","isDynamic","findHandler","Normalizer","addRouteCallback","buildTransitionAborted","throwIfAborted","maybe","maybeAbortable","extractQueryParams","cast","isQueryParamsContainer","coerceQueryParamsToString","sequence","isParam","getChangelist","oldObject","newObject","oldElement","newElement","promiseLabel","QUERY_PARAMS_SYMBOL","Transition","intent","previousTransition","urlMethod","isTransition","isCausedByAbortingTransition","isCausedByInitialTransition","isCausedByAbortingReplaceTransition","_visibleQueryParams","handlerInfo","currentSequence","onRejection","preTransitionState","newTransition","retry","transitionByIntent","followRedirects","InternalTransition","ROUTE_INFOS","toReadOnlyRouteInfo","includeAttributes","paramNames","metadata","attachMetadata","routeInfoWithAttribute","createRouteInfoWithAttributes","publicInfo","InternalRouteInfo","_routePromise","_route","_processRoute","getModel","routePromise","runBeforeModelHook","resolvedModel","runAfterModelHook","becomeResolved","resolvedContext","stashResolvedModel","contextsMatch","ResolvedRouteInfo","shouldSupersede","paramsMatch","fetchRoute","updateRoute","_internalName","UnresolvedRouteInfoByParam","fullParams","UnresolvedRouteInfoByObject","serializer","TransitionIntent","handleError","errorHandlerIndex","TransitionError","resolveOneRouteInfo","proceed","resolvedRouteInfo","wasAlreadyResolved","TransitionState","errorHandler","NamedTransitionIntent","applyToState","oldState","applyToHandlers","parsedHandlers","checkingIfActive","newState","invalidateIndex","oldHandlerInfo","newHandlerInfo","createParamHandlerInfo","getHandlerInfoForDynamicSegment","oldContext","handlerToUse","invalidateChildren","objectToUse","preTransitionHandlerInfo","numNames","missingParams","oldParams","paramName","UnrecognizedURLError","captureStackTrace","URLTransitionIntent","statesDiffer","checkHandlerAccessibility","inaccessibleByURL","newRouteInfo","oldRouteInfo","routeInfosEqual","otherRouteInfos","paramsEqual","otherParams","otherKeys","logger","_lastQueryParams","_changedQueryParams","queryParamsTransition","changelist","wasTransitioning","fireQueryParamDidChange","toReadOnlyInfos","_updateURL","toInfos","getTransitionByIntent","generateNewState","readonlyInfos","routeInfosWithAttributes","queryParamChangelist","setupContexts","routeInfosSameExceptQueryParams","finalizeTransition","notifyExistingHandlers","doTransition","modelsArray","lastArg","partition","partitionRoutes","unchanged","updatedContext","routeEnteredOrUpdated","entered","_routeEnteredOrUpdated","routeChanged","oldRouteInfos","newRouteInfos","contextChanged","replaceAndNotAborting","isQueryParamsRefreshTransition","replacingReplace","resolvedHandlers","newQueryParams","finalQueryParamsArray","finalQueryParams","fromInfos","oldRouteInfoLen","oldHandler","partitionedArgs","suppliedParams","routeParams","targetRouteInfos","targetHandler","recognizerHandlers","testState","routesEqual","activeQPsOnNewHandler","activeQueryParams","callbacksFor","_promiseCallbacks","EventTarget","allCallbacks","_guidKey","_id","childId","_label","timeStamp","childGuid","resolve$$1","resolve$1","PENDING","FULFILLED","REJECTED","handleMaybeThenable","maybeThenable","then$$1","isOwnThenable","thenable","fulfill","_onError","handleOwnThenable","sealed","fulfillmentHandler","rejectionHandler","tryThen","handleForeignThenable","publishRejection","publish","_subscribers","onFulfillment","settled","invokeCallback","hasCallback","succeeded","Enumerator","abortOnReject","_instanceConstructor","_abortOnReject","_isUsingOwnPromise","_isUsingOwnResolve","_init","_remaining","_enumerate","_eachEntry","_checkFullfillment","_settleMaybeThenable","firstPass","_settledAt","_willSettleAt","_setResultAt","setSettledResult","guidKey","needsResolver","initializePromise","needsNew","wrapThenable","onFulFillment","denodeify","nodeFunc","promiseInput","arrayResult","argumentNames","makeObject","handleValueInput","handlePromiseInput","all$1","AllSettled","allSettled","race$1","PromiseHash","HashSettled","hashSettled","rethrow","MapEnumerator","bool","_mapFn","promises","resolve$2","reject$2","EMPTY_OBJECT","FilterEnumerator","filterFn","vertxNext","asap","queue$1","scheduleFlush$1","browserWindow","browserGlobal","BrowserMutationObserver","isWorker","Uint8ClampedArray","useSetTimeout","vertx","runOnLoop","runOnContext","attemptVertex","rsvp","RE_MEDIA_QUERY","RE_MQ_EXPRESSION","RE_MQ_FEATURE","RE_LENGTH_UNIT","RE_RESOLUTION_UNIT","parseQuery","mediaQuery","toDecimal","ratio","numbers","decimal","toDpi","resolution","units","toPx","matchQuery","typeMatch","expressionsMatch","expValue","_serializeIntoHashB9092b","_buildUrlMixin18db8c8b","g","_mixin","_string","_emberInflector","mixinProps","buildURL","requestType","urlForFindRecord","urlForFindAll","urlForQuery","urlForQueryRecord","urlForFindMany","urlForFindHasMany","urlForFindBelongsTo","urlForCreateRecord","urlForUpdateRecord","urlForDeleteRecord","_buildURL","urlPrefix","pathForType","urlString","snapshots","ids","parentURL","camelized","pluralize","_debug","AdapterError","isAdapterError","description","fileName","lineNumber","extendFn","ErrorClass","defaultMessage","ParentErrorClass","UnauthorizedError","TimeoutError","ServerError","NotFoundError","InvalidError","ForbiddenError","ConflictError","AbortError","errorsArrayToHash","SOURCE_POINTER_REGEXP","SOURCE_POINTER_PRIMARY_REGEXP","PRIMARY_ATTRIBUTE_KEY","errorsHashToArray","messages","_object","_service","_applyDecoratedDescriptor","_class","findRecord","findAll","neverSet","snapshotRecordArray","queryRecord","adapterOptions","createRecord","updateRecord","deleteRecord","coalesceFindRequests","_coalesceFindRequests","groupRecordsForFindMany","shouldReloadRecord","shouldReloadAll","shouldBackgroundReloadRecord","Snapshot","shouldBackgroundReloadAll","_indexF54121ea","_rest","JSONAPIAdapter","_defaultContentType","ajaxOptions","headers","findMany","ajax","dasherized","schema","_application","_runloop","_dec","fetchOptions","useFetch","maxURLLength","fastboot","_fastboot","sortQueryParams","sortedKeys","buildQuery","sinceToken","since","findHasMany","relationship","findBelongsTo","_stripIDFromURL","expandedURL","lastSegment","suffix","adapter","baseUrl","groupsArray","group","splitGroups","paramNameLength","idsSize","additionalLength","lastGroupIndex","splitGroupToFitInUrl","splitGroup","handleResponse","status","requestData","isSuccess","isInvalid","normalizeErrorResponse","detailedMessage","generatedDetailedMessage","_headers","response","_fetchRequest","responseData","fetchResponseData","parseErrorResponse","ajaxError","fetchErrorHandler","ajaxSuccess","fetchSuccessHandler","success","textStatus","jqXHR","ajaxResponseData","ajaxSuccessHandler","responseText","ajaxErrorHandler","_ajax","_ajaxRequest","jQuery","fetchFunction","reqOptions","contentType","dataType","beforeSend","xhr","headerValue","setRequestHeader","_ajaxURL","isFastBoot","httpRegex","protocolRelativeRegex","request","fbError","json","shortenedPayload","payloadContentType","requestDescription","payloadDescription","include","handleAbort","statusText","headersToObject","getAllResponseHeaders","headersObject","credentials","queryParamDelimiter","fastBootRequest","REQUEST","includeId","serializerFor","serializeIntoHash","payloadIsEmpty","statusIndicatesEmptyResponse","_determineContent","_fetch","FastBoot","nodeFetch","parseRequest","buildAbsoluteUrl","patchedFetch","headersString","headerPairs","newline","header","foundSep","field","lowerCasedField","queryParamsObject","buildParams","RBRACKET","isPlainObject","_dataAdapter","_observers","_setup","__getResourceCache","_instanceCache","getResourceCache","_releaseMethods","discoveredTypes","typesMapFor","watchTypeIfUnseen","identifier","columnNameToDesc","typeClass","containerKey","peekAll","eachAttribute","keywords","isNew","isModified","hasDirtyAttributes","isClean","observeRecord","recordUpdated","keysToObserve","_store","StoreTypesMap","typesMap","__instanceCache","__createRecordData","_createRecordData","_private","getStore","expandingGet","key1","key2","mainCache","expandingSet","peekCache","isBelongsTo","isImplicit","isHasMany","forAllRelatedIdentifiers","rel","remoteState","localState","inverseIdentifier","localMembers","remoteMembers","removeIdentifierCompletelyFromRelationship","silenceNotifications","notifyChange","canonicalIndex","currentIndex","_removing","graphFor","getWrapper","Graphs","Graph","peekGraph","BelongsToRelationship","transactionRef","links","hasReceivedData","isStale","hasFailedLoadAttempt","shouldForceReload","hasDematerializedInverse","getData","ManyRelationship","BOOL_LATER","IMPLICIT_KEY_RAND","syncMeta","inverseDefinition","inverseKind","inverseKey","inverseType","inverseIsAsync","isAsync","inverseIsCollection","isCollection","inverseIsPolymorphic","isPolymorphic","inverseIsImplicit","upgradeMeta","niceMeta","polymorphic","upgradeDefinition","_definitionCache","storeWrapper","polymorphicLookup","_potentialPolymorphicTypes","relationships","getSchemaDefinitionService","relationshipsDefinitionFor","altTypes","rhs_modelNames","_inverseKey","metaIsRelationshipDefinition","inverseForRelationship","isInitialized","inverseDefinitions","implicitKeyFor","lhs_key","lhs_modelNames","lhs_baseModelName","lhs_relationshipName","lhs_definition","lhs_isPolymorphic","rhs_key","rhs_baseModelName","rhs_relationshipName","rhs_definition","rhs_isPolymorphic","hasInverse","isSelfReferential","isReflexive","baseType","isLHS","modelNames","replaceRelatedRecords","identifiers","_addToTransaction","newValues","identifiersLength","newMembership","canonicalLength","iterationLength","equalLength","adv","registerPolymorphicType","addToInverse","removeFromInverse","flushCanonical","replaceRelatedRecordsRemote","currentLength","replaceRelatedRecordsLocal","_scheduleLocalSync","addRelatedRecord","mergeIdentifier","mergeBelongsTo","mergeHasMany","mergeImplicit","mergeInRelationship","mergeIdentifierForRelationship","removeRelatedRecord","replaceRelatedRecord","existingState","notifyInverseOfPotentialMaterialization","_normalizeLink","link","_willSyncRemote","_willSyncLocal","_pushedUpdates","belongsTo","hasMany","deletions","_updatedRelationships","_transaction","isRelationship","Klass","typeCache","t2","isReleasable","unload","removeCompletelyFromInverse","inverseIdentifer","removeDematerializedInverse","notifyInverseOfDematerialization","clearRelationship","destroyRelationship","_schedule","_flushRemoteQueue","hasRelationshipDataProperty","hasUpdatedLink","identifierCache","getOrCreateRecordIdentifier","originalLinks","related","relatedLink","currentLink","currentLinkHref","relationshipIsEmpty","updateRelationshipOperation","addToRelatedRecords","removeFromRelatedRecords","_flushLocalQueue","_finalize","toSet","newIdentifiers","syncRemoteToLocal","maybeStore","_storeWrapper","EMPTY_ITERATOR","getRemoteState","notifyAttributes","calculateChangedKeys","updates","changedKeys","localAttrs","remoteAttrs","inflightAttrs","cacheIsEmpty","recordIsLoaded","filterDeleted","isDeleted","isDeletionCommitted","setupRelationships","relationshipName","relationshipData","patchLocalAttributes","hasAppliedPatch","mutatedKeys","putOne","resource","peekRecordIdentifier","updateRecordIdentifier","upsert","__storeWrapper","hasRecord","_directlyRelatedIdentifiersIterable","originating","initializedRelationships","initializedRelationshipsArr","relatedIdentifiers","relatedIdentifier","findNext","isErrorDocument","copyLinksAndMeta","__cache","__destroyedCache","__documents","_putDocument","isMetaDocument","jsonApiDoc","resourceDocument","errorDoc","fromStructuredError","fromBaseDocument","getOrCreateDocumentIdentifier","lid","hasExisting","mutate","mutation","peeked","__safePeek","rels","peekRequest","calculateChanges","existed","getRequestStateService","isLoaded","getPendingRequestsForRecord","_isLoading","isUpdate","_isEmpty","fork","diff","dump","hydrate","stream","clientDidCreate","createOptions","attributeDefs","attributesDefinitionFor","relationshipDefs","propertyValue","fieldType","setAttr","willCommit","__peek","didCommit","committedIdentifier","existingId","newCanonicalAttributes","commitWasRejected","unloadRecord","removeFromRecordArray","_allRelatedIdentifiers","areAllModelsUnloaded","disconnectRecord","attrSchema","getDefaultValue","changedAttrs","hasChangedAttrs","rollbackAttrs","dirtyKeys","getRelationship","setIsDeleted","getErrors","allowDestroyed","_fetchManager025964e","_request","normalizeModelName","cacheOptions","SkipCache","idOrOptions","maybeIdentifier","isMaybeIdentifier","normalizedId","ensureStringId","constructResource","saveRecord","storeFor","recordIdentifierFor","instanceCache","_resourceIsFullDeleted","resourceIsFullyDeleted","_esCompat","_objectIsAlive","guarded","assertIdentifierHasId","guardDestroyedStore","normalizeResponseHelper","payloadIsNotBlank","SnapshotRecordArray","__store","_snapshots","_recordArray","_fetchManager","SOURCE","createSnapshot","adapterPayload","normalizedResponse","normalizeResponse","__attributes","_belongsToRelationships","_belongsToIds","_hasManyRelationships","_hasManyIds","_attributes","_changedAttributes","peekRecord","changedAttributes","changedAttributeKeys","returnModeIsId","returnModeIsIds","cachedIds","cachedSnapshots","attrDefs","eachRelationship","SaveOp","rejectFetchedItems","fetchMap","_fetchRecord","fetchItem","_processCoalescedGroup","_findMany","payloads","coalescedPayload","snapshotsById","snapshotGroup","resources","_push","rejected","handleFoundRecords","_pendingFetch","requestCache","scheduleSave","createDeferred","recordIdentifier","queryRequest","pendingSaveItem","monitored","_enqueue","adapterFor","getRecord","_flushPendingSave","scheduleFetch","pendingFetch","getPendingFetch","pendingFetchItem","resolverPromise","isInitialLoad","potentiallyNewIm","reload","_enableAsyncFlush","flushAllPendingFetches","fetchesByType","fetchesById","requestsForIdentifier","pendingFetches","matchingPendingFetch","existingOptions","arrCurrent","arrExisting","includesSatisfies","isSameRequest","pendingFetchMap","shouldCoalesce","pendingFetchItems","totalItems","_flushPendingFetchForType","fetchDataIfNeededForIdentifier","__instances","resourceCache","syncRelationshipDataFromLink","parentIdentifier","parentRelationship","parentType","getInverse","relationshipKind","parentRelationshipData","fixRelationshipData","ensureRelationshipIsSetToParent","relatedDataHash","parentPayload","LegacyNetworkHandler","PotentialLegacyOperations","backgroundReload","maybeRecordArray","recordArrayManager","_live","snapshotArray","shouldReload","_findAll","recordArray","createArray","populateManagedArray","useLink","pendingRequest","_findBelongsTo","_findHasMany","fetches","saveOptions","fetchManagerPromise","extractErrors","errorsHash","jsonApiErrors","adapterDidInvalidate","isAsyncFlush","_hasManyD45aa09e","M","_modelForMixin","normalizedModelName","MaybeMixin","ModelForMixin","__isMixin","__mixin","diffArray","oldArray","newArray","shortestLength","firstChangeIndex","addedCount","unchangedEndBlockLength","_compat","_tracking","_ember","_promiseProxyMixin","_proxy2","_computed","_private2","_internals","computedMacroWithOptionalParams","isAttribute","cleanErrorRequests","_initializerDefineProperty","PromiseObject","deprecatedPromiseObject","promiseObjectProxy","promiseObject","_dec$1","_dec2","_dec3","_dec4","_class$6","_descriptor$5","_descriptor2$2","ArrayProxyWithCustomOverrides","Errors","not","errorsByAttributeName","errorsFor","_findOrCreateMessages","__record","messagesArray","_messages","RelatedCollection","RecordArray","MUTATE","_TAG","mutateReplaceRelatedRecords","prior","operationInfo","mutateReplaceRelatedRecord","unique","newArgs","mutateAddToRelatedRecords","extractIdentifiersFromRecords","mutateRemoveFromRelatedRecords","mutateSortRelatedRecords","IDENTIFIER_ARRAY_TAG","shouldReset","notifyArray","reloadHasMany","extractIdentifierFromRecord$1","recordOrPromiseRecord","addToTransaction","_class$5","_inverseIsAsync","DEPRECATED_CLASS_NAME","Extended","PromiseBelongsTo","legacySupport","_belongsToState","referenceFor","reloadBelongsTo","_class$4","_descriptor$4","_descriptor2$1","_descriptor3","_descriptor4","_descriptor5","PromiseManyArray","_update","tapPromise","EmberObjectMethods","InheritedProxyMethods","_class$3","_descriptor$3","isResourceIdentiferWithRelatedLinks$1","BelongsToReference","belongsToRelationship","___identifier","___token","___relatedToken","notifications","notifiedKey","_resource","remoteType","support","LEGACY_SUPPORT","fetchSyncRel","areAllInverseRecordsLoaded","getBelongsTo","_class$2","_descriptor$2","HasManyReference","hasManyRelationship","___relatedTokenMap","token","resourceIdentifier","objectOrPromise","_isLoaded","getManyArray","getHasMany","LegacySupport","_manyArrayCache","_relationshipPromisesCache","_relationshipProxyCache","_pending","_syncArray","jsonApi","_getCurrentState","fastPush","_findBelongsToByJsonApiResource","handleCompletedRelationshipRequest","loadingPromise","_updatePromiseProxyFor","setDirtyBelongsTo","extractIdentifierFromRecord","manyArray","allowMutation","fetchAsyncHasMany","_findHasManyByJsonApiResource","promiseProxy","allInverseRecordsAreLoaded","shouldFindViaLink","relationshipMeta","preferLocalCache","hasLocalPartialData","attemptLocalCache","hasData","future","localDataIsEmpty","resourceIsLocal","recordExt","_flush","notifyRelationship","hasPromise","notifyAttribute","_class$1","_descriptor$1","_class3","_descriptor2","isInvalidError","Tag","rev","isDirty","consume","Tags","tagged","RecordState","pendingCount","fulfilledCount","rejectedCount","_errorRequests","_lastError","requests","handleRequest","isSaving","notifyErrorsStateChanged","subscribeForRecord","lastRequest","getLastRequestForRecord","updateInvalidErrors","keyMatch","errMsg","isSaved","rd","isError","errorReq","adapterError","isPreloaded","dirtyType","RelationshipDefinition","__inverseKey","__hasCalculatedInverse","parentModelName","singularize","typeForRelationshipMeta","_calculateInverse","shouldFindInverse","inverseFor","_class2","lookupLegacySupport","findPossibleInverses","relationshipsSoFar","possibleRelationships","relationshipMap","relationshipsForType","optionsForRelationship","computeOnce","hasComputed","Model","___private_notifications","createProps","_createProps","_secretInit","___recordState","relationshipsByName","notifyChanges","coerceId","setRecordId","serializeRecord","peekTag","destroyRecord","save","_notifyProperties","rollbackAttributes","_createSnapshot","FetchManager","isReloading","relationshipFor","typeForRelationship","inverseMap","_findInverseFor","isExplicitInverseNull","isAbstractType","doesTypeExist","fieldOnInverse","inverseRelationship","inverseOptions","inverseSchema","explicitRelationship","relationshipNames","relatedTypes","relationshipsObject","relationshipFromMeta","fields","eachRelatedType","relationshipTypes","determineRelationshipType","knownSide","otherKind","knownKey","knownKind","transformedAttributes","eachTransformedAttribute","isModel","normalizeType$1","userEnteredModelName","normalizeType","_classPrivateFieldBase","privateKey","I","isTopLevel","requestId","RequestMap","cloneResponseProperties","_classPrivateFieldKey","executeNextHandler","wares","god","ContextOwner","nextCalled","outcome","isCacheHandler","setRequestResult","cbs","resolveStream","onFinalize","IS_FUTURE","getStream","enhanceReason","createFuture","inbound","outbound","setStream","STRUCTURED","getResponse","curryFuture","signal","aborted","handleOutcome","PromiseCache","BODY_TYPES","IS_CACHE_HANDLER","DOMException","rej","upgradeHeaders","Headers","redirected","isRoot","hasSetStream","hasSetResponse","hasSubscribers","sizeHint","enhancedRequest","hasRequestedStream","setResponse","Response","_contextE36ee","MUTATION_OPS","ERROR_STATUS_CODE_FOR","isRequestError","isMutationOp","toUTCString","overrides","cloneResponse","reader","getReader","decoder","TextDecoder","isStreaming","TransformStream","writer","getWriter","readable","read","decode","TextEncoder","errorPayload","AggregateError","replaceAll","REQ_ID","_handlers","useCache","cacheHandler","use","newHandlers","AbortController","cacheResult","finalPromise","_embeddedRecordsMixinD75385ff","DateTransform","BooleanTransform","StringTransform","NumberTransform","serialized","allowNull","deserialized","isNumber","transformed","normalizedHash","_extractEmbeddedRecords","keyForRelationship","hasSerializeRecordsOption","hasDeserializeRecordsOption","keyForAttribute","serializeBelongsTo","noSerializeOptionSpecified","includeIds","hasSerializeIdsOption","includeRecords","embeddedSnapshot","serializedKey","_getMappedKey","serializePolymorphicType","_serializeEmbeddedBelongsTo","removeEmbeddedForeignKey","serializeHasMany","_serializeEmbeddedHasMany","hasSerializeIdsAndTypesOption","_serializeHasManyAsIdsAndTypes","recordSnapshot","_generateSerializedHasMany","embeddedJson","parentRecord","embeddedSerializer","parentKey","hasEmbeddedAlwaysOption","attrsOption","embedded","alwaysEmbed","partial","_extractEmbeddedHasMany","_extractEmbeddedBelongsTo","relationshipHash","_normalizeEmbeddedRelationship","isEmbeddedRecordsMixin","_json","_normalizeDocumentHelper","documentHash","_normalizeResourceHelper","_normalizeRelationshipDataHelper","relationshipDataHash","modelNameFromPayloadKey","resourceHash","usedLookup","pushPayload","normalizedPayload","_normalizeResponse","primaryModelClass","isSingle","normalizeQueryRecordResponse","extractAttributes","attributeKey","extractRelationship","extractRelationships","relationshipKey","_extractType","payloadKeyFromModelName","normalizeUsingDeclaredMapping","extractId","applyTransforms","serializeAttribute","_canSerialize","transform","transformFor","payloadKey","belongsToIsNotNew","payloadType","shouldSerializeHasMany","nonNewHasMany","_index","primaryKey","transformMeta","normalizeFindRecordResponse","normalizeFindAllResponse","normalizeFindBelongsToResponse","normalizeFindHasManyResponse","normalizeFindManyResponse","normalizeQueryResponse","normalizeCreateRecordResponse","normalizeDeleteRecordResponse","normalizeUpdateRecordResponse","normalizeSingleResponse","normalizeArrayResponse","normalizeSaveResponse","extractMeta","relationshipModelName","extractPolymorphicRelationship","relationshipOptions","linkKey","keyForLink","normalizeRelationships","normalizedKey","mappedKey","_mustSerialize","relationshipType","belongsToId","extracted","attributeType","skipAssertion","keyForPolymorphicType","_normalizeArray","arrayHash","_normalizePolymorphicRecord","primarySerializer","primaryHasTypeAttribute","forcedSecondary","typeName","isPrimary","isPrimaryType","isUpdatedRecord","isFirstCreatedRecord","typeSerializer","normalizedRootKey","typeKey","typeProperty","_indexCc461d","_metal","_utils","_validator","normalizeModelName$1","RecordCache","StoreMap","CacheForIdentifierCache","configuredGenerationMethod","configuredUpdateMethod","configuredForgetMethod","configuredResetMethod","isStableIdentifier","removeRecordDataFor","_store$1","urlFromLink","Document","_request2","maybeUpdateUiObjects","isFromCache","shouldHydrate","_documentCache","copyDocumentProperties","managed","_keyedArrays","isMutation","fetchContentAndHydrate","shouldFetch","shouldBackgroundFetch","EnableHydration","isMut","lifetimes","willRequest","requestManager","isCacheAffecting","didRequest","newError","cloneError","_requestCache","isAggregate","isAggregateError","structuredClone","hasCachedValue","isHardExpired","calcShouldFetch","willFetch","isSoftExpired","calcShouldBackgroundFetch","setCacheFor","isNonEmptyString","IDENTIFIERS","DOCUMENTS","isDocumentIdentifier","_crypto","crypto","defaultGenerationMethod","randomUUID","defaultEmptyCallback","IdentifierCache","lids","documents","_generate","_forget","_reset","_merge","_isDefaultConfig","__configureMerge","_getRecordIdentifier","shouldGenerate","keyOptions","getTypeIndex","newLid","makeStableRecordIdentifier","createIdentifierForNewRecord","identifierObject","newId","existingIdentifier","typesCache","newType","detectMerge","incomingDataResource","generatedIdentifier","_mergeRecordIdentifiers","updateFn","performRecordIdentifierUpdate","kept","abandoned","forgetRecordIdentifier","baseKeyOptions","typeMap","typeIndex","clientOriginated","RecordReference","legacyCachePut","loadData","_identifier","_isDeprecated","NonSingletonCacheManager","managedVersion","_cache2","_isDeprecated2","isResource","addToHasMany","removeFromHasMany","setDirtyHasMany","pushData","getResourceIdentifier","_initRecordCreateOptions","setDirtyAttribute","hasChangedAttributes","trueId","CacheStoreWrapper","_willNotify","_pendingNotifies","_scheduleNotification","_cbs","_flushNotifications","notifyErrorsChange","notifyHasManyChange","notifyBelongsToChange","notifyStateChange","recordDataFor","identifierAdded","isRecordInUse","_peekGraph","__peekGraph","setRecordIdentifier","InstanceCache","__cacheFor","matchedIdentifier","resourceData","keptIdentifier","staleIdentifier","keptHasRecord","staleHasRecord","keptResourceCache","staleResourceCache","instantiateRecord","createRecordDataFor","cacheInstance","getReference","_clearEntries","teardownRecord","oldId","preloadData","preload","jsonPayload","schemas","preloadValue","relatedType","_convertPreloadRelationshipToJSON","preloadRelationship","_found","DSModelSchemaDefinitionService","_relationshipsDefCache","_attributesDefCache","attributeMap","getModelFactory","_modelFactoryCache","hasOwnModelNameSet","AvailableShims","getShimClass","shims","shim","ShimModelClass","mapFromHash","CacheOperations","isCacheOperationValue","runLoopIsFlushing","NotificationManager","_buffered","_hasFlush","_tokens","unsubToken","tokens","_unsubscribe","_scheduleNotify","_onNextFlush","_onFlushCB","asyncFlush","_flushNotification","callbackMap","PromiseArrayProxy","PromiseObjectProxy","PromiseArray","reads","promiseArray","_promiseArray","_promiseObject","ARRAY_GETTER_METHODS","ARRAY_SETTER_METHODS","SYNC_PROPS","isArrayGetter","NOTIFY","IS_COLLECTION","IdentifierArray","_updatingPromise","boundFns","PrivateState","safeForEach","isArraySetter","newIdentifier","assertRecordPassedToHasMany","ArrayMixin","updatingPromise","_managed","objs","arrIndex","newArr","FAKE_ARR","SLICE_BATCH_SIZE","startLength","RecordArrayManager","_staged","_identifiers","_visibilitySet","_subscription","identifierRemoved","identifierChanged","arraySet","liveArrayFor","staged","associate","dirtyArray","addTransactionCB","_getPendingFor","includeManaged","isRemove","liveArray","allPending","pendingLive","old","ArraysCache","disassociateIdentifier","disassociate","changeSets","isClear","Touching","RequestPromise","RequestStateService","_done","_subscriptions","_toFlush","_triggerSubscriptions","_dequeue","finalizedRequest","_addDone","_flushRequest","requestDataOp","Store","_adapterCache","_serializerCache","coalesce","_getAllPending","requestConfig","createRecordArgs","secretInit","_schema","registerSchemaDefinitionService","registerSchema","maybeFactory","_forceShim","inputProperties","generateIdForRecord","isForV1","defs","relationshipValue","normalizeProperties","resultProps","stableIdentifier","hasRecordForId","unloadAll","pushed","inputPayload","isDSModel","adapterName","serializerName","extract","memoTransact","createTransaction","flushTransaction","sub","transact","untracked","_collapseProto","_decorator","decoratorWithParams","parentValue","concattedPropDecorator","decoratorWithRequiredParams","propValues","parentValues","_events","unobserves","observes","expandedPath","isFieldDescriptor","__isComputedDecorator","isClassDescriptor","_classFieldDescriptor","_modifier","_defineProperty","_toPrimitive","_toPropertyKey","getString","getStrings","setStrings","_token","_waiterManager","_resetWaiterNames","WAITER_NAMES","NoopTestWaiter","beginAsync","endAsync","waitUntil","_buildWaiter","_waitForPromise","_waitFor","getPendingWaiterState","getWaiters","hasPendingWaiters","wrapFunction","_test","waiter","isRegistered","WAITERS","HAS_SYMBOL","waiters","packageRoot","runtimeConfig","packages","getGlobalConfig","macroCondition","updaters","_embroider_macros_runtime_config","setConfig","setGlobalConfig","updater","_component","_destroyables","ARGS_SET","_baseComponentManager","destroyables","setDestroyed","setDestroying","EmberGlimmerComponentManager","_emberComponentManager","_component2","GlimmerComponent","_browser","_exportNames","InitSentryForEmber","getActiveTransaction","instrumentRoutePerformance","Sentry","_runtimeConfig","environmentConfig","sentry","initConfig","_metadata","sdk","SDK_VERSION","sentryInitConfig","GLOBAL_OBJ","__sentryEmberConfig","_getSentryInitConfig","getCurrentHub","getScope","getTransaction","BaseRoute","instrumentFunction","startTimestamp","timestampInSeconds","currentTransaction","startChild","_instrumentation","getSentryConfig","browserTracingOptions","appInstance","instrumentForPerformance","getBackburner","backburner","_instrumentEmberRouter","routerMain","startTransaction","startTransactionOnPageLoad","disableRunloopPerformance","activeTransaction","transitionSpan","getLocationURL","toRoute","finishActiveTransaction","fromRoute","getTransitionInformation","processComponentRenderBefore","beforeEntries","processComponentRenderAfter","minComponentDuration","componentRenderDuration","endTimestamp","_instrumentInitialLoad","startName","endName","HAS_PERFORMANCE","HAS_PERFORMANCE_TIMING","_performance","clearMarks","clearMeasures","measure","getEntriesByName","browserPerformanceTimeOrigin","_hasPerformanceSupport","disableInitialLoadInstrumentation","measureName","startMarkExists","endMarkExists","measures","duration","BrowserTracing","emberAutoImportDynamic","idleTimeout","transitionTimeout","browserTracing","routingInstrumentation","customStartTransaction","externalRouter","_hasMountedSentryPerformanceRouting","client","getClient","addIntegration","minimumRunloopQueueDuration","currentQueueStart","currentQueueSpan","instrumentedEmberQueues","minQueueDuration","stillActiveTransaction","_instrumentEmberRunloop","disableInstrumentComponents","minimumComponentRenderDuration","enableComponentDefinitions","beforeComponentDefinitionEntries","_timestamp","_beganIndex","_instrumentComponents","ActiveModelAdapter","decamelized","underscored","_relationshipKind","jsonKey","normalizeLinks","camelizedLink","_keyForIDLessRelationship","idLessKey","_relationshipMeta","polymorphicKey","extractPolymorphicRelationships","polymorphicTypeKey","convertedFromRubyModule","_activeModelAdapter","_activeModelSerializer","ActiveModelSerializer","registered","versionRegExp","versionExtendedRegExp","shaRegExp","deprecationWorkflow","deprecationLog","handleDeprecationWorkflow","deprecationCollector","flushDeprecations","detectWorkflow","LOG_LIMIT","preamble","postamble","matchesWorkflow","workflow","idMatcher","matchMessage","matchId","logs","deprecations","matchingWorkflow","logCounts","throwOnUnhandled","legacyCompat","RequestManager","Fetch","BaseStore","Private","Private$1","Private$2","_interopDefaultLegacy","ArrayProxy__default","PromiseProxyMixin__default","ObjectProxy__default","RequestManager__default","Fetch__default","BaseStore__default","Namespace__default","Ember__default","VERSION__default","DS","CacheHandler","ManyArray","_adapter","_jsonApi","_serializer","_jsonApi2","_rest2","_transform","_setupContainer","Serializer","DebugAdapter","RESTAdapter","BuildURLMixin","RESTSerializer","JSONSerializer","JSONAPISerializer","Transform","EmbeddedRecordsMixin","initializeStore","_system","Inflector","_makeHelper","withoutCount","_inflector","plurals","singular","irregularPairs","uncountable","_inflections","BLANK_REGEX","LAST_WORD_DASHED_REGEX","LAST_WORD_CAMELIZED_REGEX","CAMELIZED_REGEX","CAPITALIZE_REGEX","loadUncountable","rules","loadIrregular","irregular","irregularInverse","ruleSet","makeDictionary","enableCache","purgeCache","word","_cacheUsed","_sCache","_singularize","numberOrWord","_pCache","_pluralize","disableCache","plural","wordOrCount","inflect","typeRules","inflection","substitution","lowercase","wordSplit","lastWord","isCamelized","rule","isUncountable","defaultRules","inflector","_helper","helperFunction","HTMLBars","makeBoundHelper","Handlebars","_intlMessageformat","MISSING_TRANSLATION","MISSING_INTL_API","ErrorCode","FormatterBase","readFormatConfig","filterKnownOptions","readOptions","formatOptions","formatterOptions","namedFormatsOptions","getNamedFormat","format","validateFormatterOptions","locale","_formatterOptions","formats","namedFormatsForType","_fastMemoize","_base","DATE_TIME_OPTIONS","FormatDateTime","locales","Intl","DateTimeFormat","formatterInstance","createNativeFormatter","_formatDatetime","FormatDate","_template","_parse","FormatMessage","ast","formatConfig","ignoreTag","maybeAst","escapedOptions","escapedOpts","escapeOptions","NUMBER_OPTIONS","FormatNumber","NumberFormat","_errorTypes","RELATIVE_TIME_OPTIONS","FormatRelative","RelativeTimeFormat","FormatError","FormatTime","_formatTime","_formatDate","_formatNumber","_formatMessage","_formatRelative","_translation","_translationModels","createTranslationModel","localeName","translationModel","findTranslationModel","addTranslations","_lookup","lookupAst","translationResult","_flatten","_localeName","translations","flatTranslations","translation","asts","_emptyObject","flatten","_dom","documentService","_translations","localeNames","_intlMessageformatParser","normalizeHashtagInPlural","AbstractHelper","intl","allowEmpty","_formatBase","formatDate","formatMessage","formatNumber","formatRelative","formatTime","_intl","_macros","__intlInjectionName","dependentKeysAndGetterFn","getterFn","mapPropertiesByHash","translationKey","dynamicValues","staticValues","Raw","partitionDynamicValuesAndStaticValues","_evented","_formatters","_isArrayEqual","_normalizeLocale","_getDom","_hydrate","_container","proposed","_locale","_timer","_updateDocumentLanguage","primaryLocale","createFormatterProxy","_translationContainer","initialLocale","setLocale","_createFormatters","_localeWithDefault","resilient","missingMessage","validateKeys","exists","translationsFor","formatterConfig","relative","byod","buttons","continue","components","shop","cart","inputs","placeholder","modals","confirmation","leave","order","checkout","email","sms","room","subtitle","summary","cost","subtotal","surcharge","details","headlines","analytics","essential","manage","advanced","basic","_require","resolveInitializer","_endsWith","initializerPrefix","instanceInitializerPrefix","moduleNames","registerInitializers","registerInstanceInitializers","includeKeys","excludedKeys","newOpts","hasOwnProperties","selectors","querySelectorAll","BaseAdapter","uninstall","hasToStringExtension","identify","trackEvent","trackPage","_objectTransforms","_removeFromDom","GoogleAnalyticsFour","send_page_view","_injectScript","dataLayer","gtag","compactedOptions","page","page_location","page_title","Metrics","doNotTrack","metricsAdapters","appEnvironment","activateAdapters","enabled","adaptersForEnv","_adaptersForEnv","activeAdapters","adapterClass","_lookupAdapter","supportsFastBoot","_adapters","_activateAdapter","environments","availableAdapter","localAdapter","selectedAdapterNames","maybeArray","matchesMediaQuery","_screen","_breakpoint","_null","WindowClass","onSizeUpdate","handleResize","stubMediaFeatures","features","_cssMediaquery","resizeListener","_windowDidResize","stubbedMediaFeatures","dimensions","innerWidth","innerHeight","matchMedia","MOST_COMMON_SCREEN_SIZE","_destroyable","Resource","ResourceManager","hasUpdate","hasTeardown","setupInstance","_useResource","_xstate","Statechart","ARGS_STATE_CHANGE_WARNING","useMachine","useResource","_interpretMachine","interpreterOptions","initialState","_start","_restart","restart","onTransition","interpret","newService","_stopOldService","oldService","services","_rememberInterpretedService","useUnproxiedResource","_statechart","debugState","statechartPropertyName","matchesState","statechart","destroyFn","_usables","initialContext","Machine","clock","_sendEventObject","eventData","eventObject","_trackedMapsAndSets","_stepNode","initialStep","currentStep","firstStepName","nodeArray","currentStepNode","stepNode","addStep","stepComponent","removeStep","updateStepNode","pickNext","pickPrevious","TrackedSet","CircularStateMachine","previousValue","LinearStateMachine","sm","hasNext","hasPrevious","_templateFactory","_circular","_linear","__COLOCATED_TEMPLATE__","createTemplateFactory","StepManagerComponent","_watchCurrentStep","startingStep","StateMachine","linear","transitions","_initialRegistrationComplete","hasNextStep","hasPreviousStep","newStep","registerStepComponent","removeStepComponent","transitionToNext","transitionToPrevious","StepComponent","initialName","_hasSetName","_initialName","_rsvp","validateTransition","validator","_makeSvg","getInlineAsset","assetId","svgJar","svgAttrs","xmlns","viewBox","stroke","createAccessibilityElements","createAriaLabel","createSvgAttributes","sanitizeAttrs","generateAccessibilityIds","symbolUseFor","inlineSvgFor","formatAttrs","accessibilityElements","ESC","attrsCopy","asset","_testWaiters","createStorage","tripleEq","TrackedStorageImpl","storage","setValue","_isEqual","_lastValue","_truthConvert","equal","gt","forceNumber","gte","lte","notEqualHelper","xor","getUserAgent","_uaParserJs","_parser","__parser","parser","UAParser","getUA","setUA","browser","getBrowser","isChromeHeadless","isEdge","isIE","isSafari","cpu","getCPU","device","getDevice","isConsole","isDesktop","isMobile","isTablet","getEngine","isWebkit","os","getOS","isAndroid","isIOS","isLinux","isMacOS","isWindows","setupService","_emberTrackedStoragePolyfill","TrackedWeakMap","TrackedMap","storages","readStorageFor","dirtyStorageFor","TrackedWeakSet","storageFor"],"sources":["vendor/ember-cli/vendor-prefix.js","vendor/loader/loader.js","node_modules/smoothscroll-polyfill/dist/smoothscroll.min.js","node_modules/intersection-observer/intersection-observer.js","vendor/babel-polyfill/polyfill.js","loader.js","@ember/-internals/bootstrap/index.js","@ember/-internals/browser-environment/index.js","@ember/-internals/container/index.js","@ember/-internals/environment/index.js","@ember/-internals/error-handling/index.js","@ember/-internals/glimmer/index.js","@ember/-internals/meta/lib/meta.js","@ember/-internals/metal/index.js","@ember/-internals/overrides/index.js","@ember/-internals/owner/index.js","@ember/-internals/runtime/lib/ext/rsvp.js","@ember/-internals/runtime/lib/mixins/-proxy.js","@ember/-internals/runtime/lib/mixins/action_handler.js","@ember/-internals/runtime/lib/mixins/comparable.js","@ember/-internals/runtime/lib/mixins/container_proxy.js","@ember/-internals/runtime/lib/mixins/registry_proxy.js","@ember/-internals/runtime/lib/mixins/target_action_support.js","@ember/-internals/string/index.js","@ember/-internals/utils/index.js","@ember/-internals/views/lib/compat/attrs.js","@ember/-internals/views/lib/compat/fallback-view-registry.js","@ember/-internals/views/lib/component_lookup.js","@ember/-internals/views/lib/mixins/action_support.js","@ember/-internals/views/lib/mixins/child_views_support.js","@ember/-internals/views/lib/mixins/class_names_support.js","@ember/-internals/views/lib/mixins/view_state_support.js","@ember/-internals/views/lib/mixins/view_support.js","@ember/-internals/views/lib/system/action_manager.js","@ember/-internals/views/lib/system/event_dispatcher.js","@ember/-internals/views/lib/system/utils.js","@ember/-internals/views/lib/views/core_view.js","@ember/-internals/views/lib/views/states.js","@ember/application/index.js","@ember/application/instance.js","@ember/application/lib/lazy_load.js","@ember/application/namespace.js","@ember/array/-internals.js","@ember/array/index.js","@ember/array/lib/make-array.js","@ember/array/proxy.js","@ember/canary-features/index.js","@ember/controller/index.js","@ember/debug/container-debug-adapter.js","@ember/debug/data-adapter.js","@ember/debug/index.js","@ember/debug/lib/capture-render-tree.js","@ember/debug/lib/deprecate.js","@ember/debug/lib/handlers.js","@ember/debug/lib/inspect.js","@ember/debug/lib/testing.js","@ember/debug/lib/warn.js","@ember/deprecated-features/index.js","@ember/destroyable/index.js","@ember/engine/index.js","@ember/engine/instance.js","@ember/engine/lib/engine-parent.js","@ember/enumerable/index.js","@ember/enumerable/mutable.js","@ember/error/index.js","@ember/instrumentation/index.js","@ember/object/-internals.js","@ember/object/compat.js","@ember/object/core.js","@ember/object/evented.js","@ember/object/index.js","@ember/object/lib/computed/computed_macros.js","@ember/object/lib/computed/reduce_computed_macros.js","@ember/object/mixin.js","@ember/object/observable.js","@ember/object/promise-proxy-mixin.js","@ember/object/proxy.js","@ember/owner/index.js","@ember/polyfills/index.js","@ember/polyfills/lib/assign.js","@ember/routing/auto-location.js","@ember/routing/hash-location.js","@ember/routing/history-location.js","@ember/routing/lib/cache.js","@ember/routing/lib/controller_for.js","@ember/routing/lib/dsl.js","@ember/routing/lib/generate_controller.js","@ember/routing/lib/location-utils.js","@ember/routing/lib/query_params.js","@ember/routing/lib/router_state.js","@ember/routing/lib/routing-service.js","@ember/routing/lib/utils.js","@ember/routing/location.js","@ember/routing/none-location.js","@ember/routing/route.js","@ember/routing/router-service.js","@ember/routing/router.js","@ember/runloop/index.js","@ember/service/index.js","@ember/string/index.js","@ember/string/lib/string_registry.js","@ember/template-compilation/index.js","@ember/test/adapter.js","@ember/test/index.js","@ember/utils/lib/compare.js","@ember/utils/lib/is-equal.js","@ember/utils/lib/is_blank.js","@ember/utils/lib/is_empty.js","@ember/utils/lib/is_none.js","@ember/utils/lib/is_present.js","@ember/utils/lib/type-of.js","@glimmer/destroyable.js","@glimmer/encoder.js","@glimmer/env.js","@glimmer/global-context.js","@glimmer/low-level.js","@glimmer/manager.js","@glimmer/node.js","@glimmer/opcode-compiler.js","@glimmer/owner.js","@glimmer/program.js","@glimmer/reference.js","@glimmer/runtime.js","@glimmer/util.js","@glimmer/validator.js","@glimmer/vm.js","@glimmer/wire-format.js","@simple-dom/document.js","backburner.js","dag-map.js","ember-babel.js","ember/index.js","ember/version.js","route-recognizer.js","router_js.js","rsvp.js","vendor/shims/css-mediaquery.js","addon-tree-output/@ember-data/adapter/-private.js","addon-tree-output/@ember-data/adapter/build-url-mixin-18db8c8b.js","addon-tree-output/@ember-data/adapter/error.js","addon-tree-output/@ember-data/adapter/index-f54121ea.js","addon-tree-output/@ember-data/adapter/index.js","addon-tree-output/@ember-data/adapter/json-api.js","addon-tree-output/@ember-data/adapter/rest.js","addon-tree-output/@ember-data/adapter/serialize-into-hash-b9092b25.js","addon-tree-output/@ember-data/debug/index.js","addon-tree-output/@ember-data/debug/setup.js","addon-tree-output/@ember-data/graph/-private.js","addon-tree-output/@ember-data/json-api/index.js","addon-tree-output/@ember-data/legacy-compat/-private.js","addon-tree-output/@ember-data/legacy-compat/builders.js","addon-tree-output/@ember-data/legacy-compat/fetch-manager-025964e9.js","addon-tree-output/@ember-data/legacy-compat/index.js","addon-tree-output/@ember-data/model/-private.js","addon-tree-output/@ember-data/model/has-many-d45aa09e.js","addon-tree-output/@ember-data/model/index.js","addon-tree-output/@ember-data/request/context-e36ee987.js","addon-tree-output/@ember-data/request/fetch.js","addon-tree-output/@ember-data/request/index.js","addon-tree-output/@ember-data/serializer/-private.js","addon-tree-output/@ember-data/serializer/embedded-records-mixin-d75385ff.js","addon-tree-output/@ember-data/serializer/index.js","addon-tree-output/@ember-data/serializer/json-api.js","addon-tree-output/@ember-data/serializer/json.js","addon-tree-output/@ember-data/serializer/rest.js","addon-tree-output/@ember-data/serializer/transform.js","addon-tree-output/@ember-data/store/-private.js","addon-tree-output/@ember-data/store/index-cc461d33.js","addon-tree-output/@ember-data/store/index.js","addon-tree-output/@ember-data/tracking/-private.js","addon-tree-output/@ember-data/tracking/index.js","addon-tree-output/@ember-decorators/component/index.js","addon-tree-output/@ember-decorators/object/index.js","addon-tree-output/@ember-decorators/utils/-private/class-field-descriptor.js","addon-tree-output/@ember-decorators/utils/collapse-proto.js","addon-tree-output/@ember-decorators/utils/decorator.js","addon-tree-output/@ember/render-modifiers/modifiers/did-insert.js","addon-tree-output/@ember/render-modifiers/modifiers/did-update.js","addon-tree-output/@ember/render-modifiers/modifiers/will-destroy.js","addon-tree-output/@ember/string/cache.js","addon-tree-output/@ember/string/index.js","addon-tree-output/@ember/test-waiters/build-waiter.js","addon-tree-output/@ember/test-waiters/index.js","addon-tree-output/@ember/test-waiters/token.js","addon-tree-output/@ember/test-waiters/types/index.js","addon-tree-output/@ember/test-waiters/wait-for-promise.js","addon-tree-output/@ember/test-waiters/wait-for.js","addon-tree-output/@ember/test-waiters/waiter-manager.js","addon-tree-output/@embroider/macros/es-compat2.js","addon-tree-output/@embroider/macros/runtime.js","addon-tree-output/@glimmer/component/-private/base-component-manager.js","addon-tree-output/@glimmer/component/-private/component.js","addon-tree-output/@glimmer/component/-private/destroyables.js","addon-tree-output/@glimmer/component/-private/ember-component-manager.js","addon-tree-output/@glimmer/component/-private/owner.js","addon-tree-output/@glimmer/component/index.js","addon-tree-output/@sentry/ember/index.js","addon-tree-output/@sentry/ember/instance-initializers/sentry-performance.js","addon-tree-output/@sentry/ember/types.js","addon-tree-output/active-model-adapter/active-model-adapter.js","addon-tree-output/active-model-adapter/active-model-serializer.js","addon-tree-output/active-model-adapter/index.js","addon-tree-output/active-model-adapter/initializers/active-model-adapter.js","addon-tree-output/ember-cached-decorator-polyfill/index.js","addon-tree-output/ember-cli-app-version/initializer-factory.js","addon-tree-output/ember-cli-app-version/utils/regexp.js","addon-tree-output/ember-cli-deprecation-workflow/index.js","addon-tree-output/ember-data/-private.js","addon-tree-output/ember-data/adapter.js","addon-tree-output/ember-data/adapters/errors.js","addon-tree-output/ember-data/adapters/json-api.js","addon-tree-output/ember-data/adapters/rest.js","addon-tree-output/ember-data/attr.js","addon-tree-output/ember-data/index.js","addon-tree-output/ember-data/model.js","addon-tree-output/ember-data/relationships.js","addon-tree-output/ember-data/serializer.js","addon-tree-output/ember-data/serializers/embedded-records-mixin.js","addon-tree-output/ember-data/serializers/json-api.js","addon-tree-output/ember-data/serializers/json.js","addon-tree-output/ember-data/serializers/rest.js","addon-tree-output/ember-data/setup-container.js","addon-tree-output/ember-data/store.js","addon-tree-output/ember-data/transform.js","addon-tree-output/ember-data/version.js","addon-tree-output/ember-inflector/index.js","addon-tree-output/ember-inflector/lib/helpers/pluralize.js","addon-tree-output/ember-inflector/lib/helpers/singularize.js","addon-tree-output/ember-inflector/lib/system.js","addon-tree-output/ember-inflector/lib/system/inflections.js","addon-tree-output/ember-inflector/lib/system/inflector.js","addon-tree-output/ember-inflector/lib/system/string.js","addon-tree-output/ember-inflector/lib/utils/make-helper.js","addon-tree-output/ember-intl/-private/error-types.js","addon-tree-output/ember-intl/-private/formatters/-base.js","addon-tree-output/ember-intl/-private/formatters/-format-datetime.js","addon-tree-output/ember-intl/-private/formatters/format-date.js","addon-tree-output/ember-intl/-private/formatters/format-message.js","addon-tree-output/ember-intl/-private/formatters/format-number.js","addon-tree-output/ember-intl/-private/formatters/format-relative.js","addon-tree-output/ember-intl/-private/formatters/format-time.js","addon-tree-output/ember-intl/-private/formatters/index.js","addon-tree-output/ember-intl/-private/store/container.js","addon-tree-output/ember-intl/-private/store/translation.js","addon-tree-output/ember-intl/-private/utils/empty-object.js","addon-tree-output/ember-intl/-private/utils/flatten.js","addon-tree-output/ember-intl/-private/utils/get-dom.js","addon-tree-output/ember-intl/-private/utils/hydrate.js","addon-tree-output/ember-intl/-private/utils/is-array-equal.js","addon-tree-output/ember-intl/-private/utils/missing-message.js","addon-tree-output/ember-intl/-private/utils/normalize-locale.js","addon-tree-output/ember-intl/-private/utils/parse.js","addon-tree-output/ember-intl/helpers/-format-base.js","addon-tree-output/ember-intl/helpers/format-date.js","addon-tree-output/ember-intl/helpers/format-message.js","addon-tree-output/ember-intl/helpers/format-number.js","addon-tree-output/ember-intl/helpers/format-relative.js","addon-tree-output/ember-intl/helpers/format-time.js","addon-tree-output/ember-intl/helpers/t.js","addon-tree-output/ember-intl/index.js","addon-tree-output/ember-intl/macros/index.js","addon-tree-output/ember-intl/macros/intl.js","addon-tree-output/ember-intl/macros/t.js","addon-tree-output/ember-intl/services/intl.js","addon-tree-output/ember-intl/translations.js","addon-tree-output/ember-load-initializers/index.js","addon-tree-output/ember-metrics/-private/utils/object-transforms.js","addon-tree-output/ember-metrics/-private/utils/remove-from-dom.js","addon-tree-output/ember-metrics/metrics-adapters/base.js","addon-tree-output/ember-metrics/metrics-adapters/google-analytics-four.js","addon-tree-output/ember-metrics/services/metrics.js","addon-tree-output/ember-screen/breakpoint.js","addon-tree-output/ember-screen/index.js","addon-tree-output/ember-screen/services/screen.js","addon-tree-output/ember-screen/window/browser.js","addon-tree-output/ember-screen/window/null.js","addon-tree-output/ember-statecharts/-private/resource.js","addon-tree-output/ember-statecharts/-private/usables.js","addon-tree-output/ember-statecharts/-private/use-resource.js","addon-tree-output/ember-statecharts/computed.js","addon-tree-output/ember-statecharts/index.js","addon-tree-output/ember-statecharts/utils/statechart.js","addon-tree-output/ember-steps/-private/state-machine/-base.js","addon-tree-output/ember-steps/-private/state-machine/circular.js","addon-tree-output/ember-steps/-private/state-machine/linear.js","addon-tree-output/ember-steps/-private/step-node.js","addon-tree-output/ember-steps/components/step-manager.js","addon-tree-output/ember-steps/components/step-manager/step.js","addon-tree-output/ember-steps/helpers/validate-transition.js","addon-tree-output/ember-svg-jar/helpers/svg-jar.js","addon-tree-output/ember-svg-jar/inlined/bell-alert--outline.js","addon-tree-output/ember-svg-jar/inlined/calendar--outline.js","addon-tree-output/ember-svg-jar/inlined/check-circle--outline.js","addon-tree-output/ember-svg-jar/inlined/cursor-arrow-rays--outline.js","addon-tree-output/ember-svg-jar/inlined/digits--outline.js","addon-tree-output/ember-svg-jar/inlined/envelope--outline.js","addon-tree-output/ember-svg-jar/inlined/exclamation-circle--outline.js","addon-tree-output/ember-svg-jar/inlined/icon-back-arrow.js","addon-tree-output/ember-svg-jar/inlined/icon-checkmark-green.js","addon-tree-output/ember-svg-jar/inlined/icon-checkmark-white.js","addon-tree-output/ember-svg-jar/inlined/icon-chevron-down.js","addon-tree-output/ember-svg-jar/inlined/icon-close-green.js","addon-tree-output/ember-svg-jar/inlined/icon-close-white.js","addon-tree-output/ember-svg-jar/inlined/icon-hamburger-menu-color.js","addon-tree-output/ember-svg-jar/inlined/icon-hamburger-menu-white.js","addon-tree-output/ember-svg-jar/inlined/icon-minus-green.js","addon-tree-output/ember-svg-jar/inlined/icon-minus-white.js","addon-tree-output/ember-svg-jar/inlined/icon-plus-green.js","addon-tree-output/ember-svg-jar/inlined/icon-plus-white.js","addon-tree-output/ember-svg-jar/inlined/minus--outline.js","addon-tree-output/ember-svg-jar/inlined/mobile--outline.js","addon-tree-output/ember-svg-jar/inlined/pencil-square--outline.js","addon-tree-output/ember-svg-jar/inlined/phone--outline.js","addon-tree-output/ember-svg-jar/inlined/plus--outline.js","addon-tree-output/ember-svg-jar/inlined/shopping-cart.js","addon-tree-output/ember-svg-jar/inlined/trash--outline.js","addon-tree-output/ember-svg-jar/inlined/user--outline.js","addon-tree-output/ember-svg-jar/inlined/x-circle--outline.js","addon-tree-output/ember-svg-jar/inlined/x-mark--outline.js","addon-tree-output/ember-svg-jar/utils/make-svg.js","addon-tree-output/ember-test-waiters/index.js","addon-tree-output/ember-tracked-storage-polyfill/index.js","addon-tree-output/ember-truth-helpers/helpers/and.js","addon-tree-output/ember-truth-helpers/helpers/equal.js","addon-tree-output/ember-truth-helpers/helpers/gt.js","addon-tree-output/ember-truth-helpers/helpers/gte.js","addon-tree-output/ember-truth-helpers/helpers/is-array.js","addon-tree-output/ember-truth-helpers/helpers/is-empty.js","addon-tree-output/ember-truth-helpers/helpers/is-equal.js","addon-tree-output/ember-truth-helpers/helpers/lt.js","addon-tree-output/ember-truth-helpers/helpers/lte.js","addon-tree-output/ember-truth-helpers/helpers/not-equal.js","addon-tree-output/ember-truth-helpers/helpers/not.js","addon-tree-output/ember-truth-helpers/helpers/or.js","addon-tree-output/ember-truth-helpers/helpers/xor.js","addon-tree-output/ember-truth-helpers/utils/truth-convert.js","addon-tree-output/ember-useragent/helpers/user-agent.js","addon-tree-output/ember-useragent/instance-initializers/user-agent.js","addon-tree-output/ember-useragent/services/user-agent.js","addon-tree-output/tracked-maps-and-sets/-private/map.js","addon-tree-output/tracked-maps-and-sets/-private/set.js","addon-tree-output/tracked-maps-and-sets/index.js"],"sourcesContent":["window.EmberENV = (function(EmberENV, extra) {\n  for (var key in extra) {\n    EmberENV[key] = extra[key];\n  }\n\n  return EmberENV;\n})(window.EmberENV || {}, {\"EXTEND_PROTOTYPES\":false,\"FEATURES\":{},\"_APPLICATION_TEMPLATE_WRAPPER\":false,\"_DEFAULT_ASYNC_OBSERVERS\":true,\"_JQUERY_INTEGRATION\":false,\"_TEMPLATE_ONLY_GLIMMER_COMPONENTS\":true});\n\n// used to determine if the application should be booted immediately when `app-name.js` is evaluated\n// when `runningTests` the `app-name.js` file will **not** import the applications `app/app.js` and\n// call `Application.create(...)` on it. Additionally, applications can opt-out of this behavior by\n// setting `autoRun` to `false` in their `ember-cli-build.js`\n//\n// The default `test-support.js` file will set this to `true` when it runs (so that Application.create()\n// is not ran when running tests).\nvar runningTests = false;\n\n\n","var loader, define, requireModule, require, requirejs;\n\n(function (global) {\n  'use strict';\n\n  function dict() {\n    var obj = Object.create(null);\n    obj['__'] = undefined;\n    delete obj['__'];\n    return obj;\n  }\n\n  // Save off the original values of these globals, so we can restore them if someone asks us to\n  var oldGlobals = {\n    loader: loader,\n    define: define,\n    requireModule: requireModule,\n    require: require,\n    requirejs: requirejs\n  };\n\n  requirejs = require = requireModule = function (id) {\n    var pending = [];\n    var mod = findModule(id, '(require)', pending);\n\n    for (var i = pending.length - 1; i >= 0; i--) {\n      pending[i].exports();\n    }\n\n    return mod.module.exports;\n  };\n\n  loader = {\n    noConflict: function (aliases) {\n      var oldName, newName;\n\n      for (oldName in aliases) {\n        if (aliases.hasOwnProperty(oldName)) {\n          if (oldGlobals.hasOwnProperty(oldName)) {\n            newName = aliases[oldName];\n\n            global[newName] = global[oldName];\n            global[oldName] = oldGlobals[oldName];\n          }\n        }\n      }\n    },\n    // Option to enable or disable the generation of default exports\n    makeDefaultExport: true\n  };\n\n  var registry = dict();\n  var seen = dict();\n\n  var uuid = 0;\n\n  function unsupportedModule(length) {\n    throw new Error('an unsupported module was defined, expected `define(id, deps, module)` instead got: `' + length + '` arguments to define`');\n  }\n\n  var defaultDeps = ['require', 'exports', 'module'];\n\n  function Module(id, deps, callback, alias) {\n    this.uuid = uuid++;\n    this.id = id;\n    this.deps = !deps.length && callback.length ? defaultDeps : deps;\n    this.module = { exports: {} };\n    this.callback = callback;\n    this.hasExportsAsDep = false;\n    this.isAlias = alias;\n    this.reified = new Array(deps.length);\n\n    /*\n       Each module normally passes through these states, in order:\n         new       : initial state\n         pending   : this module is scheduled to be executed\n         reifying  : this module's dependencies are being executed\n         reified   : this module's dependencies finished executing successfully\n         errored   : this module's dependencies failed to execute\n         finalized : this module executed successfully\n     */\n    this.state = 'new';\n  }\n\n  Module.prototype.makeDefaultExport = function () {\n    var exports = this.module.exports;\n    if (exports !== null && (typeof exports === 'object' || typeof exports === 'function') && exports['default'] === undefined && Object.isExtensible(exports)) {\n      exports['default'] = exports;\n    }\n  };\n\n  Module.prototype.exports = function () {\n    // if finalized, there is no work to do. If reifying, there is a\n    // circular dependency so we must return our (partial) exports.\n    if (this.state === 'finalized' || this.state === 'reifying') {\n      return this.module.exports;\n    }\n\n\n    if (loader.wrapModules) {\n      this.callback = loader.wrapModules(this.id, this.callback);\n    }\n\n    this.reify();\n\n    var result = this.callback.apply(this, this.reified);\n    this.reified.length = 0;\n    this.state = 'finalized';\n\n    if (!(this.hasExportsAsDep && result === undefined)) {\n      this.module.exports = result;\n    }\n    if (loader.makeDefaultExport) {\n      this.makeDefaultExport();\n    }\n    return this.module.exports;\n  };\n\n  Module.prototype.unsee = function () {\n    this.state = 'new';\n    this.module = { exports: {} };\n  };\n\n  Module.prototype.reify = function () {\n    if (this.state === 'reified') {\n      return;\n    }\n    this.state = 'reifying';\n    try {\n      this.reified = this._reify();\n      this.state = 'reified';\n    } finally {\n      if (this.state === 'reifying') {\n        this.state = 'errored';\n      }\n    }\n  };\n\n  Module.prototype._reify = function () {\n    var reified = this.reified.slice();\n    for (var i = 0; i < reified.length; i++) {\n      var mod = reified[i];\n      reified[i] = mod.exports ? mod.exports : mod.module.exports();\n    }\n    return reified;\n  };\n\n  Module.prototype.findDeps = function (pending) {\n    if (this.state !== 'new') {\n      return;\n    }\n\n    this.state = 'pending';\n\n    var deps = this.deps;\n\n    for (var i = 0; i < deps.length; i++) {\n      var dep = deps[i];\n      var entry = this.reified[i] = { exports: undefined, module: undefined };\n      if (dep === 'exports') {\n        this.hasExportsAsDep = true;\n        entry.exports = this.module.exports;\n      } else if (dep === 'require') {\n        entry.exports = this.makeRequire();\n      } else if (dep === 'module') {\n        entry.exports = this.module;\n      } else {\n        entry.module = findModule(resolve(dep, this.id), this.id, pending);\n      }\n    }\n  };\n\n  Module.prototype.makeRequire = function () {\n    var id = this.id;\n    var r = function (dep) {\n      return require(resolve(dep, id));\n    };\n    r['default'] = r;\n    r.moduleId = id;\n    r.has = function (dep) {\n      return has(resolve(dep, id));\n    };\n    return r;\n  };\n\n  define = function (id, deps, callback) {\n    var module = registry[id];\n\n    // If a module for this id has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    if (arguments.length < 2) {\n      unsupportedModule(arguments.length);\n    }\n\n    if (!Array.isArray(deps)) {\n      callback = deps;\n      deps = [];\n    }\n\n    if (callback instanceof Alias) {\n      registry[id] = new Module(callback.id, deps, callback, true);\n    } else {\n      registry[id] = new Module(id, deps, callback, false);\n    }\n  };\n\n  define.exports = function (name, defaultExport) {\n    var module = registry[name];\n\n    // If a module for this name has already been defined and is in any state\n    // other than `new` (meaning it has been or is currently being required),\n    // then we return early to avoid redefinition.\n    if (module && module.state !== 'new') {\n      return;\n    }\n\n    module = new Module(name, [], noop, null);\n    module.module.exports = defaultExport;\n    module.state = 'finalized';\n    registry[name] = module;\n\n    return module;\n  };\n\n  function noop() {}\n  // we don't support all of AMD\n  // define.amd = {};\n\n  function Alias(id) {\n    this.id = id;\n  }\n\n  define.alias = function (id, target) {\n    if (arguments.length === 2) {\n      return define(target, new Alias(id));\n    }\n\n    return new Alias(id);\n  };\n\n  function missingModule(id, referrer) {\n    throw new Error('Could not find module `' + id + '` imported from `' + referrer + '`');\n  }\n\n  function findModule(id, referrer, pending) {\n    var mod = registry[id] || registry[id + '/index'];\n\n    while (mod && mod.isAlias) {\n      mod = registry[mod.id] || registry[mod.id + '/index'];\n    }\n\n    if (!mod) {\n      missingModule(id, referrer);\n    }\n\n    if (pending && mod.state !== 'pending' && mod.state !== 'finalized') {\n      mod.findDeps(pending);\n      pending.push(mod);\n    }\n    return mod;\n  }\n\n  function resolve(child, id) {\n    if (child.charAt(0) !== '.') {\n      return child;\n    }\n\n\n    var parts = child.split('/');\n    var nameParts = id.split('/');\n    var parentBase = nameParts.slice(0, -1);\n\n    for (var i = 0, l = parts.length; i < l; i++) {\n      var part = parts[i];\n\n      if (part === '..') {\n        if (parentBase.length === 0) {\n          throw new Error('Cannot access parent module of root');\n        }\n        parentBase.pop();\n      } else if (part === '.') {\n        continue;\n      } else {\n        parentBase.push(part);\n      }\n    }\n\n    return parentBase.join('/');\n  }\n\n  function has(id) {\n    return !!(registry[id] || registry[id + '/index']);\n  }\n\n  requirejs.entries = requirejs._eak_seen = registry;\n  requirejs.has = has;\n  requirejs.unsee = function (id) {\n    findModule(id, '(unsee)', false).unsee();\n  };\n\n  requirejs.clear = function () {\n    requirejs.entries = requirejs._eak_seen = registry = dict();\n    seen = dict();\n  };\n\n  // This code primes the JS engine for good performance by warming the\n  // JIT compiler for these functions.\n  define('foo', function () {});\n  define('foo/bar', [], function () {});\n  define('foo/asdf', ['module', 'exports', 'require'], function (module, exports, require) {\n    if (require.has('foo/bar')) {\n      require('foo/bar');\n    }\n  });\n  define('foo/baz', [], define.alias('foo'));\n  define('foo/quz', define.alias('foo'));\n  define.alias('foo', 'foo/qux');\n  define('foo/bar', ['foo', './quz', './baz', './asdf', './bar', '../foo'], function () {});\n  define('foo/main', ['foo/bar'], function () {});\n  define.exports('foo/exports', {});\n\n  require('foo/exports');\n  require('foo/main');\n  require.unsee('foo/bar');\n\n  requirejs.clear();\n\n  if (typeof exports === 'object' && typeof module === 'object' && module.exports) {\n    module.exports = { require: require, define: define };\n  }\n})(this);","!function(){\"use strict\";function o(){var o=window,t=document;if(!(\"scrollBehavior\"in t.documentElement.style&&!0!==o.__forceSmoothScrollPolyfill__)){var l,e=o.HTMLElement||o.Element,r=468,i={scroll:o.scroll||o.scrollTo,scrollBy:o.scrollBy,elementScroll:e.prototype.scroll||n,scrollIntoView:e.prototype.scrollIntoView},s=o.performance&&o.performance.now?o.performance.now.bind(o.performance):Date.now,c=(l=o.navigator.userAgent,new RegExp([\"MSIE \",\"Trident/\",\"Edge/\"].join(\"|\")).test(l)?1:0);o.scroll=o.scrollTo=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?h.call(o,t.body,void 0!==arguments[0].left?~~arguments[0].left:o.scrollX||o.pageXOffset,void 0!==arguments[0].top?~~arguments[0].top:o.scrollY||o.pageYOffset):i.scroll.call(o,void 0!==arguments[0].left?arguments[0].left:\"object\"!=typeof arguments[0]?arguments[0]:o.scrollX||o.pageXOffset,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:o.scrollY||o.pageYOffset))},o.scrollBy=function(){void 0!==arguments[0]&&(f(arguments[0])?i.scrollBy.call(o,void 0!==arguments[0].left?arguments[0].left:\"object\"!=typeof arguments[0]?arguments[0]:0,void 0!==arguments[0].top?arguments[0].top:void 0!==arguments[1]?arguments[1]:0):h.call(o,t.body,~~arguments[0].left+(o.scrollX||o.pageXOffset),~~arguments[0].top+(o.scrollY||o.pageYOffset)))},e.prototype.scroll=e.prototype.scrollTo=function(){if(void 0!==arguments[0])if(!0!==f(arguments[0])){var o=arguments[0].left,t=arguments[0].top;h.call(this,this,void 0===o?this.scrollLeft:~~o,void 0===t?this.scrollTop:~~t)}else{if(\"number\"==typeof arguments[0]&&void 0===arguments[1])throw new SyntaxError(\"Value could not be converted\");i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left:\"object\"!=typeof arguments[0]?~~arguments[0]:this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top:void 0!==arguments[1]?~~arguments[1]:this.scrollTop)}},e.prototype.scrollBy=function(){void 0!==arguments[0]&&(!0!==f(arguments[0])?this.scroll({left:~~arguments[0].left+this.scrollLeft,top:~~arguments[0].top+this.scrollTop,behavior:arguments[0].behavior}):i.elementScroll.call(this,void 0!==arguments[0].left?~~arguments[0].left+this.scrollLeft:~~arguments[0]+this.scrollLeft,void 0!==arguments[0].top?~~arguments[0].top+this.scrollTop:~~arguments[1]+this.scrollTop))},e.prototype.scrollIntoView=function(){if(!0!==f(arguments[0])){var l=function(o){for(;o!==t.body&&!1===(e=p(l=o,\"Y\")&&a(l,\"Y\"),r=p(l,\"X\")&&a(l,\"X\"),e||r);)o=o.parentNode||o.host;var l,e,r;return o}(this),e=l.getBoundingClientRect(),r=this.getBoundingClientRect();l!==t.body?(h.call(this,l,l.scrollLeft+r.left-e.left,l.scrollTop+r.top-e.top),\"fixed\"!==o.getComputedStyle(l).position&&o.scrollBy({left:e.left,top:e.top,behavior:\"smooth\"})):o.scrollBy({left:r.left,top:r.top,behavior:\"smooth\"})}else i.scrollIntoView.call(this,void 0===arguments[0]||arguments[0])}}function n(o,t){this.scrollLeft=o,this.scrollTop=t}function f(o){if(null===o||\"object\"!=typeof o||void 0===o.behavior||\"auto\"===o.behavior||\"instant\"===o.behavior)return!0;if(\"object\"==typeof o&&\"smooth\"===o.behavior)return!1;throw new TypeError(\"behavior member of ScrollOptions \"+o.behavior+\" is not a valid value for enumeration ScrollBehavior.\")}function p(o,t){return\"Y\"===t?o.clientHeight+c<o.scrollHeight:\"X\"===t?o.clientWidth+c<o.scrollWidth:void 0}function a(t,l){var e=o.getComputedStyle(t,null)[\"overflow\"+l];return\"auto\"===e||\"scroll\"===e}function d(t){var l,e,i,c,n=(s()-t.startTime)/r;c=n=n>1?1:n,l=.5*(1-Math.cos(Math.PI*c)),e=t.startX+(t.x-t.startX)*l,i=t.startY+(t.y-t.startY)*l,t.method.call(t.scrollable,e,i),e===t.x&&i===t.y||o.requestAnimationFrame(d.bind(o,t))}function h(l,e,r){var c,f,p,a,h=s();l===t.body?(c=o,f=o.scrollX||o.pageXOffset,p=o.scrollY||o.pageYOffset,a=i.scroll):(c=l,f=l.scrollLeft,p=l.scrollTop,a=n),d({scrollable:c,method:a,startTime:h,startX:f,startY:p,x:e,y:r})}}\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports={polyfill:o}:o()}();","/**\n * Copyright 2016 Google Inc. All Rights Reserved.\n *\n * Licensed under the W3C SOFTWARE AND DOCUMENT NOTICE AND LICENSE.\n *\n *  https://www.w3.org/Consortium/Legal/2015/copyright-software-and-document\n *\n */\n(function() {\n'use strict';\n\n// Exit early if we're not running in a browser.\nif (typeof window !== 'object') {\n  return;\n}\n\n// Exit early if all IntersectionObserver and IntersectionObserverEntry\n// features are natively supported.\nif ('IntersectionObserver' in window &&\n    'IntersectionObserverEntry' in window &&\n    'intersectionRatio' in window.IntersectionObserverEntry.prototype) {\n\n  // Minimal polyfill for Edge 15's lack of `isIntersecting`\n  // See: https://github.com/w3c/IntersectionObserver/issues/211\n  if (!('isIntersecting' in window.IntersectionObserverEntry.prototype)) {\n    Object.defineProperty(window.IntersectionObserverEntry.prototype,\n      'isIntersecting', {\n      get: function () {\n        return this.intersectionRatio > 0;\n      }\n    });\n  }\n  return;\n}\n\n/**\n * Returns the embedding frame element, if any.\n * @param {!Document} doc\n * @return {!Element}\n */\nfunction getFrameElement(doc) {\n  try {\n    return doc.defaultView && doc.defaultView.frameElement || null;\n  } catch (e) {\n    // Ignore the error.\n    return null;\n  }\n}\n\n/**\n * A local reference to the root document.\n */\nvar document = (function(startDoc) {\n  var doc = startDoc;\n  var frame = getFrameElement(doc);\n  while (frame) {\n    doc = frame.ownerDocument;\n    frame = getFrameElement(doc);\n  }\n  return doc;\n})(window.document);\n\n/**\n * An IntersectionObserver registry. This registry exists to hold a strong\n * reference to IntersectionObserver instances currently observing a target\n * element. Without this registry, instances without another reference may be\n * garbage collected.\n */\nvar registry = [];\n\n/**\n * The signal updater for cross-origin intersection. When not null, it means\n * that the polyfill is configured to work in a cross-origin mode.\n * @type {function(DOMRect|ClientRect, DOMRect|ClientRect)}\n */\nvar crossOriginUpdater = null;\n\n/**\n * The current cross-origin intersection. Only used in the cross-origin mode.\n * @type {DOMRect|ClientRect}\n */\nvar crossOriginRect = null;\n\n\n/**\n * Creates the global IntersectionObserverEntry constructor.\n * https://w3c.github.io/IntersectionObserver/#intersection-observer-entry\n * @param {Object} entry A dictionary of instance properties.\n * @constructor\n */\nfunction IntersectionObserverEntry(entry) {\n  this.time = entry.time;\n  this.target = entry.target;\n  this.rootBounds = ensureDOMRect(entry.rootBounds);\n  this.boundingClientRect = ensureDOMRect(entry.boundingClientRect);\n  this.intersectionRect = ensureDOMRect(entry.intersectionRect || getEmptyRect());\n  this.isIntersecting = !!entry.intersectionRect;\n\n  // Calculates the intersection ratio.\n  var targetRect = this.boundingClientRect;\n  var targetArea = targetRect.width * targetRect.height;\n  var intersectionRect = this.intersectionRect;\n  var intersectionArea = intersectionRect.width * intersectionRect.height;\n\n  // Sets intersection ratio.\n  if (targetArea) {\n    // Round the intersection ratio to avoid floating point math issues:\n    // https://github.com/w3c/IntersectionObserver/issues/324\n    this.intersectionRatio = Number((intersectionArea / targetArea).toFixed(4));\n  } else {\n    // If area is zero and is intersecting, sets to 1, otherwise to 0\n    this.intersectionRatio = this.isIntersecting ? 1 : 0;\n  }\n}\n\n\n/**\n * Creates the global IntersectionObserver constructor.\n * https://w3c.github.io/IntersectionObserver/#intersection-observer-interface\n * @param {Function} callback The function to be invoked after intersection\n *     changes have queued. The function is not invoked if the queue has\n *     been emptied by calling the `takeRecords` method.\n * @param {Object=} opt_options Optional configuration options.\n * @constructor\n */\nfunction IntersectionObserver(callback, opt_options) {\n\n  var options = opt_options || {};\n\n  if (typeof callback != 'function') {\n    throw new Error('callback must be a function');\n  }\n\n  if (\n    options.root &&\n    options.root.nodeType != 1 &&\n    options.root.nodeType != 9\n  ) {\n    throw new Error('root must be a Document or Element');\n  }\n\n  // Binds and throttles `this._checkForIntersections`.\n  this._checkForIntersections = throttle(\n      this._checkForIntersections.bind(this), this.THROTTLE_TIMEOUT);\n\n  // Private properties.\n  this._callback = callback;\n  this._observationTargets = [];\n  this._queuedEntries = [];\n  this._rootMarginValues = this._parseRootMargin(options.rootMargin);\n\n  // Public properties.\n  this.thresholds = this._initThresholds(options.threshold);\n  this.root = options.root || null;\n  this.rootMargin = this._rootMarginValues.map(function(margin) {\n    return margin.value + margin.unit;\n  }).join(' ');\n\n  /** @private @const {!Array<!Document>} */\n  this._monitoringDocuments = [];\n  /** @private @const {!Array<function()>} */\n  this._monitoringUnsubscribes = [];\n}\n\n\n/**\n * The minimum interval within which the document will be checked for\n * intersection changes.\n */\nIntersectionObserver.prototype.THROTTLE_TIMEOUT = 100;\n\n\n/**\n * The frequency in which the polyfill polls for intersection changes.\n * this can be updated on a per instance basis and must be set prior to\n * calling `observe` on the first target.\n */\nIntersectionObserver.prototype.POLL_INTERVAL = null;\n\n/**\n * Use a mutation observer on the root element\n * to detect intersection changes.\n */\nIntersectionObserver.prototype.USE_MUTATION_OBSERVER = true;\n\n\n/**\n * Sets up the polyfill in the cross-origin mode. The result is the\n * updater function that accepts two arguments: `boundingClientRect` and\n * `intersectionRect` - just as these fields would be available to the\n * parent via `IntersectionObserverEntry`. This function should be called\n * each time the iframe receives intersection information from the parent\n * window, e.g. via messaging.\n * @return {function(DOMRect|ClientRect, DOMRect|ClientRect)}\n */\nIntersectionObserver._setupCrossOriginUpdater = function() {\n  if (!crossOriginUpdater) {\n    /**\n     * @param {DOMRect|ClientRect} boundingClientRect\n     * @param {DOMRect|ClientRect} intersectionRect\n     */\n    crossOriginUpdater = function(boundingClientRect, intersectionRect) {\n      if (!boundingClientRect || !intersectionRect) {\n        crossOriginRect = getEmptyRect();\n      } else {\n        crossOriginRect = convertFromParentRect(boundingClientRect, intersectionRect);\n      }\n      registry.forEach(function(observer) {\n        observer._checkForIntersections();\n      });\n    };\n  }\n  return crossOriginUpdater;\n};\n\n\n/**\n * Resets the cross-origin mode.\n */\nIntersectionObserver._resetCrossOriginUpdater = function() {\n  crossOriginUpdater = null;\n  crossOriginRect = null;\n};\n\n\n/**\n * Starts observing a target element for intersection changes based on\n * the thresholds values.\n * @param {Element} target The DOM element to observe.\n */\nIntersectionObserver.prototype.observe = function(target) {\n  var isTargetAlreadyObserved = this._observationTargets.some(function(item) {\n    return item.element == target;\n  });\n\n  if (isTargetAlreadyObserved) {\n    return;\n  }\n\n  if (!(target && target.nodeType == 1)) {\n    throw new Error('target must be an Element');\n  }\n\n  this._registerInstance();\n  this._observationTargets.push({element: target, entry: null});\n  this._monitorIntersections(target.ownerDocument);\n  this._checkForIntersections();\n};\n\n\n/**\n * Stops observing a target element for intersection changes.\n * @param {Element} target The DOM element to observe.\n */\nIntersectionObserver.prototype.unobserve = function(target) {\n  this._observationTargets =\n      this._observationTargets.filter(function(item) {\n        return item.element != target;\n      });\n  this._unmonitorIntersections(target.ownerDocument);\n  if (this._observationTargets.length == 0) {\n    this._unregisterInstance();\n  }\n};\n\n\n/**\n * Stops observing all target elements for intersection changes.\n */\nIntersectionObserver.prototype.disconnect = function() {\n  this._observationTargets = [];\n  this._unmonitorAllIntersections();\n  this._unregisterInstance();\n};\n\n\n/**\n * Returns any queue entries that have not yet been reported to the\n * callback and clears the queue. This can be used in conjunction with the\n * callback to obtain the absolute most up-to-date intersection information.\n * @return {Array} The currently queued entries.\n */\nIntersectionObserver.prototype.takeRecords = function() {\n  var records = this._queuedEntries.slice();\n  this._queuedEntries = [];\n  return records;\n};\n\n\n/**\n * Accepts the threshold value from the user configuration object and\n * returns a sorted array of unique threshold values. If a value is not\n * between 0 and 1 and error is thrown.\n * @private\n * @param {Array|number=} opt_threshold An optional threshold value or\n *     a list of threshold values, defaulting to [0].\n * @return {Array} A sorted list of unique and valid threshold values.\n */\nIntersectionObserver.prototype._initThresholds = function(opt_threshold) {\n  var threshold = opt_threshold || [0];\n  if (!Array.isArray(threshold)) threshold = [threshold];\n\n  return threshold.sort().filter(function(t, i, a) {\n    if (typeof t != 'number' || isNaN(t) || t < 0 || t > 1) {\n      throw new Error('threshold must be a number between 0 and 1 inclusively');\n    }\n    return t !== a[i - 1];\n  });\n};\n\n\n/**\n * Accepts the rootMargin value from the user configuration object\n * and returns an array of the four margin values as an object containing\n * the value and unit properties. If any of the values are not properly\n * formatted or use a unit other than px or %, and error is thrown.\n * @private\n * @param {string=} opt_rootMargin An optional rootMargin value,\n *     defaulting to '0px'.\n * @return {Array<Object>} An array of margin objects with the keys\n *     value and unit.\n */\nIntersectionObserver.prototype._parseRootMargin = function(opt_rootMargin) {\n  var marginString = opt_rootMargin || '0px';\n  var margins = marginString.split(/\\s+/).map(function(margin) {\n    var parts = /^(-?\\d*\\.?\\d+)(px|%)$/.exec(margin);\n    if (!parts) {\n      throw new Error('rootMargin must be specified in pixels or percent');\n    }\n    return {value: parseFloat(parts[1]), unit: parts[2]};\n  });\n\n  // Handles shorthand.\n  margins[1] = margins[1] || margins[0];\n  margins[2] = margins[2] || margins[0];\n  margins[3] = margins[3] || margins[1];\n\n  return margins;\n};\n\n\n/**\n * Starts polling for intersection changes if the polling is not already\n * happening, and if the page's visibility state is visible.\n * @param {!Document} doc\n * @private\n */\nIntersectionObserver.prototype._monitorIntersections = function(doc) {\n  var win = doc.defaultView;\n  if (!win) {\n    // Already destroyed.\n    return;\n  }\n  if (this._monitoringDocuments.indexOf(doc) != -1) {\n    // Already monitoring.\n    return;\n  }\n\n  // Private state for monitoring.\n  var callback = this._checkForIntersections;\n  var monitoringInterval = null;\n  var domObserver = null;\n\n  // If a poll interval is set, use polling instead of listening to\n  // resize and scroll events or DOM mutations.\n  if (this.POLL_INTERVAL) {\n    monitoringInterval = win.setInterval(callback, this.POLL_INTERVAL);\n  } else {\n    addEvent(win, 'resize', callback, true);\n    addEvent(doc, 'scroll', callback, true);\n    if (this.USE_MUTATION_OBSERVER && 'MutationObserver' in win) {\n      domObserver = new win.MutationObserver(callback);\n      domObserver.observe(doc, {\n        attributes: true,\n        childList: true,\n        characterData: true,\n        subtree: true\n      });\n    }\n  }\n\n  this._monitoringDocuments.push(doc);\n  this._monitoringUnsubscribes.push(function() {\n    // Get the window object again. When a friendly iframe is destroyed, it\n    // will be null.\n    var win = doc.defaultView;\n\n    if (win) {\n      if (monitoringInterval) {\n        win.clearInterval(monitoringInterval);\n      }\n      removeEvent(win, 'resize', callback, true);\n    }\n\n    removeEvent(doc, 'scroll', callback, true);\n    if (domObserver) {\n      domObserver.disconnect();\n    }\n  });\n\n  // Also monitor the parent.\n  var rootDoc =\n    (this.root && (this.root.ownerDocument || this.root)) || document;\n  if (doc != rootDoc) {\n    var frame = getFrameElement(doc);\n    if (frame) {\n      this._monitorIntersections(frame.ownerDocument);\n    }\n  }\n};\n\n\n/**\n * Stops polling for intersection changes.\n * @param {!Document} doc\n * @private\n */\nIntersectionObserver.prototype._unmonitorIntersections = function(doc) {\n  var index = this._monitoringDocuments.indexOf(doc);\n  if (index == -1) {\n    return;\n  }\n\n  var rootDoc =\n    (this.root && (this.root.ownerDocument || this.root)) || document;\n\n  // Check if any dependent targets are still remaining.\n  var hasDependentTargets =\n      this._observationTargets.some(function(item) {\n        var itemDoc = item.element.ownerDocument;\n        // Target is in this context.\n        if (itemDoc == doc) {\n          return true;\n        }\n        // Target is nested in this context.\n        while (itemDoc && itemDoc != rootDoc) {\n          var frame = getFrameElement(itemDoc);\n          itemDoc = frame && frame.ownerDocument;\n          if (itemDoc == doc) {\n            return true;\n          }\n        }\n        return false;\n      });\n  if (hasDependentTargets) {\n    return;\n  }\n\n  // Unsubscribe.\n  var unsubscribe = this._monitoringUnsubscribes[index];\n  this._monitoringDocuments.splice(index, 1);\n  this._monitoringUnsubscribes.splice(index, 1);\n  unsubscribe();\n\n  // Also unmonitor the parent.\n  if (doc != rootDoc) {\n    var frame = getFrameElement(doc);\n    if (frame) {\n      this._unmonitorIntersections(frame.ownerDocument);\n    }\n  }\n};\n\n\n/**\n * Stops polling for intersection changes.\n * @param {!Document} doc\n * @private\n */\nIntersectionObserver.prototype._unmonitorAllIntersections = function() {\n  var unsubscribes = this._monitoringUnsubscribes.slice(0);\n  this._monitoringDocuments.length = 0;\n  this._monitoringUnsubscribes.length = 0;\n  for (var i = 0; i < unsubscribes.length; i++) {\n    unsubscribes[i]();\n  }\n};\n\n\n/**\n * Scans each observation target for intersection changes and adds them\n * to the internal entries queue. If new entries are found, it\n * schedules the callback to be invoked.\n * @private\n */\nIntersectionObserver.prototype._checkForIntersections = function() {\n  if (!this.root && crossOriginUpdater && !crossOriginRect) {\n    // Cross origin monitoring, but no initial data available yet.\n    return;\n  }\n\n  var rootIsInDom = this._rootIsInDom();\n  var rootRect = rootIsInDom ? this._getRootRect() : getEmptyRect();\n\n  this._observationTargets.forEach(function(item) {\n    var target = item.element;\n    var targetRect = getBoundingClientRect(target);\n    var rootContainsTarget = this._rootContainsTarget(target);\n    var oldEntry = item.entry;\n    var intersectionRect = rootIsInDom && rootContainsTarget &&\n        this._computeTargetAndRootIntersection(target, targetRect, rootRect);\n\n    var rootBounds = null;\n    if (!this._rootContainsTarget(target)) {\n      rootBounds = getEmptyRect();\n    } else if (!crossOriginUpdater || this.root) {\n      rootBounds = rootRect;\n    }\n\n    var newEntry = item.entry = new IntersectionObserverEntry({\n      time: now(),\n      target: target,\n      boundingClientRect: targetRect,\n      rootBounds: rootBounds,\n      intersectionRect: intersectionRect\n    });\n\n    if (!oldEntry) {\n      this._queuedEntries.push(newEntry);\n    } else if (rootIsInDom && rootContainsTarget) {\n      // If the new entry intersection ratio has crossed any of the\n      // thresholds, add a new entry.\n      if (this._hasCrossedThreshold(oldEntry, newEntry)) {\n        this._queuedEntries.push(newEntry);\n      }\n    } else {\n      // If the root is not in the DOM or target is not contained within\n      // root but the previous entry for this target had an intersection,\n      // add a new record indicating removal.\n      if (oldEntry && oldEntry.isIntersecting) {\n        this._queuedEntries.push(newEntry);\n      }\n    }\n  }, this);\n\n  if (this._queuedEntries.length) {\n    this._callback(this.takeRecords(), this);\n  }\n};\n\n\n/**\n * Accepts a target and root rect computes the intersection between then\n * following the algorithm in the spec.\n * TODO(philipwalton): at this time clip-path is not considered.\n * https://w3c.github.io/IntersectionObserver/#calculate-intersection-rect-algo\n * @param {Element} target The target DOM element\n * @param {Object} targetRect The bounding rect of the target.\n * @param {Object} rootRect The bounding rect of the root after being\n *     expanded by the rootMargin value.\n * @return {?Object} The final intersection rect object or undefined if no\n *     intersection is found.\n * @private\n */\nIntersectionObserver.prototype._computeTargetAndRootIntersection =\n    function(target, targetRect, rootRect) {\n  // If the element isn't displayed, an intersection can't happen.\n  if (window.getComputedStyle(target).display == 'none') return;\n\n  var intersectionRect = targetRect;\n  var parent = getParentNode(target);\n  var atRoot = false;\n\n  while (!atRoot && parent) {\n    var parentRect = null;\n    var parentComputedStyle = parent.nodeType == 1 ?\n        window.getComputedStyle(parent) : {};\n\n    // If the parent isn't displayed, an intersection can't happen.\n    if (parentComputedStyle.display == 'none') return null;\n\n    if (parent == this.root || parent.nodeType == /* DOCUMENT */ 9) {\n      atRoot = true;\n      if (parent == this.root || parent == document) {\n        if (crossOriginUpdater && !this.root) {\n          if (!crossOriginRect ||\n              crossOriginRect.width == 0 && crossOriginRect.height == 0) {\n            // A 0-size cross-origin intersection means no-intersection.\n            parent = null;\n            parentRect = null;\n            intersectionRect = null;\n          } else {\n            parentRect = crossOriginRect;\n          }\n        } else {\n          parentRect = rootRect;\n        }\n      } else {\n        // Check if there's a frame that can be navigated to.\n        var frame = getParentNode(parent);\n        var frameRect = frame && getBoundingClientRect(frame);\n        var frameIntersect =\n            frame &&\n            this._computeTargetAndRootIntersection(frame, frameRect, rootRect);\n        if (frameRect && frameIntersect) {\n          parent = frame;\n          parentRect = convertFromParentRect(frameRect, frameIntersect);\n        } else {\n          parent = null;\n          intersectionRect = null;\n        }\n      }\n    } else {\n      // If the element has a non-visible overflow, and it's not the <body>\n      // or <html> element, update the intersection rect.\n      // Note: <body> and <html> cannot be clipped to a rect that's not also\n      // the document rect, so no need to compute a new intersection.\n      var doc = parent.ownerDocument;\n      if (parent != doc.body &&\n          parent != doc.documentElement &&\n          parentComputedStyle.overflow != 'visible') {\n        parentRect = getBoundingClientRect(parent);\n      }\n    }\n\n    // If either of the above conditionals set a new parentRect,\n    // calculate new intersection data.\n    if (parentRect) {\n      intersectionRect = computeRectIntersection(parentRect, intersectionRect);\n    }\n    if (!intersectionRect) break;\n    parent = parent && getParentNode(parent);\n  }\n  return intersectionRect;\n};\n\n\n/**\n * Returns the root rect after being expanded by the rootMargin value.\n * @return {ClientRect} The expanded root rect.\n * @private\n */\nIntersectionObserver.prototype._getRootRect = function() {\n  var rootRect;\n  if (this.root && !isDoc(this.root)) {\n    rootRect = getBoundingClientRect(this.root);\n  } else {\n    // Use <html>/<body> instead of window since scroll bars affect size.\n    var doc = isDoc(this.root) ? this.root : document;\n    var html = doc.documentElement;\n    var body = doc.body;\n    rootRect = {\n      top: 0,\n      left: 0,\n      right: html.clientWidth || body.clientWidth,\n      width: html.clientWidth || body.clientWidth,\n      bottom: html.clientHeight || body.clientHeight,\n      height: html.clientHeight || body.clientHeight\n    };\n  }\n  return this._expandRectByRootMargin(rootRect);\n};\n\n\n/**\n * Accepts a rect and expands it by the rootMargin value.\n * @param {DOMRect|ClientRect} rect The rect object to expand.\n * @return {ClientRect} The expanded rect.\n * @private\n */\nIntersectionObserver.prototype._expandRectByRootMargin = function(rect) {\n  var margins = this._rootMarginValues.map(function(margin, i) {\n    return margin.unit == 'px' ? margin.value :\n        margin.value * (i % 2 ? rect.width : rect.height) / 100;\n  });\n  var newRect = {\n    top: rect.top - margins[0],\n    right: rect.right + margins[1],\n    bottom: rect.bottom + margins[2],\n    left: rect.left - margins[3]\n  };\n  newRect.width = newRect.right - newRect.left;\n  newRect.height = newRect.bottom - newRect.top;\n\n  return newRect;\n};\n\n\n/**\n * Accepts an old and new entry and returns true if at least one of the\n * threshold values has been crossed.\n * @param {?IntersectionObserverEntry} oldEntry The previous entry for a\n *    particular target element or null if no previous entry exists.\n * @param {IntersectionObserverEntry} newEntry The current entry for a\n *    particular target element.\n * @return {boolean} Returns true if a any threshold has been crossed.\n * @private\n */\nIntersectionObserver.prototype._hasCrossedThreshold =\n    function(oldEntry, newEntry) {\n\n  // To make comparing easier, an entry that has a ratio of 0\n  // but does not actually intersect is given a value of -1\n  var oldRatio = oldEntry && oldEntry.isIntersecting ?\n      oldEntry.intersectionRatio || 0 : -1;\n  var newRatio = newEntry.isIntersecting ?\n      newEntry.intersectionRatio || 0 : -1;\n\n  // Ignore unchanged ratios\n  if (oldRatio === newRatio) return;\n\n  for (var i = 0; i < this.thresholds.length; i++) {\n    var threshold = this.thresholds[i];\n\n    // Return true if an entry matches a threshold or if the new ratio\n    // and the old ratio are on the opposite sides of a threshold.\n    if (threshold == oldRatio || threshold == newRatio ||\n        threshold < oldRatio !== threshold < newRatio) {\n      return true;\n    }\n  }\n};\n\n\n/**\n * Returns whether or not the root element is an element and is in the DOM.\n * @return {boolean} True if the root element is an element and is in the DOM.\n * @private\n */\nIntersectionObserver.prototype._rootIsInDom = function() {\n  return !this.root || containsDeep(document, this.root);\n};\n\n\n/**\n * Returns whether or not the target element is a child of root.\n * @param {Element} target The target element to check.\n * @return {boolean} True if the target element is a child of root.\n * @private\n */\nIntersectionObserver.prototype._rootContainsTarget = function(target) {\n  var rootDoc =\n    (this.root && (this.root.ownerDocument || this.root)) || document;\n  return (\n    containsDeep(rootDoc, target) &&\n    (!this.root || rootDoc == target.ownerDocument)\n  );\n};\n\n\n/**\n * Adds the instance to the global IntersectionObserver registry if it isn't\n * already present.\n * @private\n */\nIntersectionObserver.prototype._registerInstance = function() {\n  if (registry.indexOf(this) < 0) {\n    registry.push(this);\n  }\n};\n\n\n/**\n * Removes the instance from the global IntersectionObserver registry.\n * @private\n */\nIntersectionObserver.prototype._unregisterInstance = function() {\n  var index = registry.indexOf(this);\n  if (index != -1) registry.splice(index, 1);\n};\n\n\n/**\n * Returns the result of the performance.now() method or null in browsers\n * that don't support the API.\n * @return {number} The elapsed time since the page was requested.\n */\nfunction now() {\n  return window.performance && performance.now && performance.now();\n}\n\n\n/**\n * Throttles a function and delays its execution, so it's only called at most\n * once within a given time period.\n * @param {Function} fn The function to throttle.\n * @param {number} timeout The amount of time that must pass before the\n *     function can be called again.\n * @return {Function} The throttled function.\n */\nfunction throttle(fn, timeout) {\n  var timer = null;\n  return function () {\n    if (!timer) {\n      timer = setTimeout(function() {\n        fn();\n        timer = null;\n      }, timeout);\n    }\n  };\n}\n\n\n/**\n * Adds an event handler to a DOM node ensuring cross-browser compatibility.\n * @param {Node} node The DOM node to add the event handler to.\n * @param {string} event The event name.\n * @param {Function} fn The event handler to add.\n * @param {boolean} opt_useCapture Optionally adds the even to the capture\n *     phase. Note: this only works in modern browsers.\n */\nfunction addEvent(node, event, fn, opt_useCapture) {\n  if (typeof node.addEventListener == 'function') {\n    node.addEventListener(event, fn, opt_useCapture || false);\n  }\n  else if (typeof node.attachEvent == 'function') {\n    node.attachEvent('on' + event, fn);\n  }\n}\n\n\n/**\n * Removes a previously added event handler from a DOM node.\n * @param {Node} node The DOM node to remove the event handler from.\n * @param {string} event The event name.\n * @param {Function} fn The event handler to remove.\n * @param {boolean} opt_useCapture If the event handler was added with this\n *     flag set to true, it should be set to true here in order to remove it.\n */\nfunction removeEvent(node, event, fn, opt_useCapture) {\n  if (typeof node.removeEventListener == 'function') {\n    node.removeEventListener(event, fn, opt_useCapture || false);\n  }\n  else if (typeof node.detachEvent == 'function') {\n    node.detachEvent('on' + event, fn);\n  }\n}\n\n\n/**\n * Returns the intersection between two rect objects.\n * @param {Object} rect1 The first rect.\n * @param {Object} rect2 The second rect.\n * @return {?Object|?ClientRect} The intersection rect or undefined if no\n *     intersection is found.\n */\nfunction computeRectIntersection(rect1, rect2) {\n  var top = Math.max(rect1.top, rect2.top);\n  var bottom = Math.min(rect1.bottom, rect2.bottom);\n  var left = Math.max(rect1.left, rect2.left);\n  var right = Math.min(rect1.right, rect2.right);\n  var width = right - left;\n  var height = bottom - top;\n\n  return (width >= 0 && height >= 0) && {\n    top: top,\n    bottom: bottom,\n    left: left,\n    right: right,\n    width: width,\n    height: height\n  } || null;\n}\n\n\n/**\n * Shims the native getBoundingClientRect for compatibility with older IE.\n * @param {Element} el The element whose bounding rect to get.\n * @return {DOMRect|ClientRect} The (possibly shimmed) rect of the element.\n */\nfunction getBoundingClientRect(el) {\n  var rect;\n\n  try {\n    rect = el.getBoundingClientRect();\n  } catch (err) {\n    // Ignore Windows 7 IE11 \"Unspecified error\"\n    // https://github.com/w3c/IntersectionObserver/pull/205\n  }\n\n  if (!rect) return getEmptyRect();\n\n  // Older IE\n  if (!(rect.width && rect.height)) {\n    rect = {\n      top: rect.top,\n      right: rect.right,\n      bottom: rect.bottom,\n      left: rect.left,\n      width: rect.right - rect.left,\n      height: rect.bottom - rect.top\n    };\n  }\n  return rect;\n}\n\n\n/**\n * Returns an empty rect object. An empty rect is returned when an element\n * is not in the DOM.\n * @return {ClientRect} The empty rect.\n */\nfunction getEmptyRect() {\n  return {\n    top: 0,\n    bottom: 0,\n    left: 0,\n    right: 0,\n    width: 0,\n    height: 0\n  };\n}\n\n\n/**\n * Ensure that the result has all of the necessary fields of the DOMRect.\n * Specifically this ensures that `x` and `y` fields are set.\n *\n * @param {?DOMRect|?ClientRect} rect\n * @return {?DOMRect}\n */\nfunction ensureDOMRect(rect) {\n  // A `DOMRect` object has `x` and `y` fields.\n  if (!rect || 'x' in rect) {\n    return rect;\n  }\n  // A IE's `ClientRect` type does not have `x` and `y`. The same is the case\n  // for internally calculated Rect objects. For the purposes of\n  // `IntersectionObserver`, it's sufficient to simply mirror `left` and `top`\n  // for these fields.\n  return {\n    top: rect.top,\n    y: rect.top,\n    bottom: rect.bottom,\n    left: rect.left,\n    x: rect.left,\n    right: rect.right,\n    width: rect.width,\n    height: rect.height\n  };\n}\n\n\n/**\n * Inverts the intersection and bounding rect from the parent (frame) BCR to\n * the local BCR space.\n * @param {DOMRect|ClientRect} parentBoundingRect The parent's bound client rect.\n * @param {DOMRect|ClientRect} parentIntersectionRect The parent's own intersection rect.\n * @return {ClientRect} The local root bounding rect for the parent's children.\n */\nfunction convertFromParentRect(parentBoundingRect, parentIntersectionRect) {\n  var top = parentIntersectionRect.top - parentBoundingRect.top;\n  var left = parentIntersectionRect.left - parentBoundingRect.left;\n  return {\n    top: top,\n    left: left,\n    height: parentIntersectionRect.height,\n    width: parentIntersectionRect.width,\n    bottom: top + parentIntersectionRect.height,\n    right: left + parentIntersectionRect.width\n  };\n}\n\n\n/**\n * Checks to see if a parent element contains a child element (including inside\n * shadow DOM).\n * @param {Node} parent The parent element.\n * @param {Node} child The child element.\n * @return {boolean} True if the parent node contains the child node.\n */\nfunction containsDeep(parent, child) {\n  var node = child;\n  while (node) {\n    if (node == parent) return true;\n\n    node = getParentNode(node);\n  }\n  return false;\n}\n\n\n/**\n * Gets the parent node of an element or its host element if the parent node\n * is a shadow root.\n * @param {Node} node The node whose parent to get.\n * @return {Node|null} The parent node or null if no parent exists.\n */\nfunction getParentNode(node) {\n  var parent = node.parentNode;\n\n  if (node.nodeType == /* DOCUMENT */ 9 && node != document) {\n    // If this node is a document node, look for the embedding frame.\n    return getFrameElement(node);\n  }\n\n  // If the parent has element that is assigned through shadow root slot\n  if (parent && parent.assignedSlot) {\n    parent = parent.assignedSlot.parentNode\n  }\n\n  if (parent && parent.nodeType == 11 && parent.host) {\n    // If the parent is a shadow root, return the host element.\n    return parent.host;\n  }\n\n  return parent;\n}\n\n/**\n * Returns true if `node` is a Document.\n * @param {!Node} node\n * @returns {boolean}\n */\nfunction isDoc(node) {\n  return node && node.nodeType === 9;\n}\n\n\n// Exposes the constructors globally.\nwindow.IntersectionObserver = IntersectionObserver;\nwindow.IntersectionObserverEntry = IntersectionObserverEntry;\n\n}());\n","(function(){function r(e,n,t){function o(i,f){if(!n[i]){if(!e[i]){var c=\"function\"==typeof require&&require;if(!f&&c)return c(i,!0);if(u)return u(i,!0);var a=new Error(\"Cannot find module '\"+i+\"'\");throw a.code=\"MODULE_NOT_FOUND\",a}var p=n[i]={exports:{}};e[i][0].call(p.exports,function(r){var n=e[i][1][r];return o(n||r)},p,p.exports,r,e,n,t)}return n[i].exports}for(var u=\"function\"==typeof require&&require,i=0;i<t.length;i++)o(t[i]);return o}return r})()({1:[function(_dereq_,module,exports){\n_dereq_(276);\n_dereq_(212);\n_dereq_(214);\n_dereq_(213);\n_dereq_(216);\n_dereq_(218);\n_dereq_(223);\n_dereq_(217);\n_dereq_(215);\n_dereq_(225);\n_dereq_(224);\n_dereq_(220);\n_dereq_(221);\n_dereq_(219);\n_dereq_(211);\n_dereq_(222);\n_dereq_(226);\n_dereq_(227);\n_dereq_(178);\n_dereq_(180);\n_dereq_(179);\n_dereq_(229);\n_dereq_(228);\n_dereq_(199);\n_dereq_(209);\n_dereq_(210);\n_dereq_(200);\n_dereq_(201);\n_dereq_(202);\n_dereq_(203);\n_dereq_(204);\n_dereq_(205);\n_dereq_(206);\n_dereq_(207);\n_dereq_(208);\n_dereq_(182);\n_dereq_(183);\n_dereq_(184);\n_dereq_(185);\n_dereq_(186);\n_dereq_(187);\n_dereq_(188);\n_dereq_(189);\n_dereq_(190);\n_dereq_(191);\n_dereq_(192);\n_dereq_(193);\n_dereq_(194);\n_dereq_(195);\n_dereq_(196);\n_dereq_(197);\n_dereq_(198);\n_dereq_(263);\n_dereq_(268);\n_dereq_(275);\n_dereq_(266);\n_dereq_(258);\n_dereq_(259);\n_dereq_(264);\n_dereq_(269);\n_dereq_(271);\n_dereq_(254);\n_dereq_(255);\n_dereq_(256);\n_dereq_(257);\n_dereq_(260);\n_dereq_(261);\n_dereq_(262);\n_dereq_(265);\n_dereq_(267);\n_dereq_(270);\n_dereq_(272);\n_dereq_(273);\n_dereq_(274);\n_dereq_(173);\n_dereq_(175);\n_dereq_(174);\n_dereq_(177);\n_dereq_(176);\n_dereq_(161);\n_dereq_(159);\n_dereq_(166);\n_dereq_(163);\n_dereq_(169);\n_dereq_(171);\n_dereq_(158);\n_dereq_(165);\n_dereq_(155);\n_dereq_(170);\n_dereq_(153);\n_dereq_(168);\n_dereq_(167);\n_dereq_(160);\n_dereq_(164);\n_dereq_(152);\n_dereq_(154);\n_dereq_(157);\n_dereq_(156);\n_dereq_(172);\n_dereq_(162);\n_dereq_(245);\n_dereq_(246);\n_dereq_(252);\n_dereq_(247);\n_dereq_(248);\n_dereq_(249);\n_dereq_(250);\n_dereq_(251);\n_dereq_(230);\n_dereq_(181);\n_dereq_(253);\n_dereq_(288);\n_dereq_(289);\n_dereq_(277);\n_dereq_(278);\n_dereq_(283);\n_dereq_(286);\n_dereq_(287);\n_dereq_(281);\n_dereq_(284);\n_dereq_(282);\n_dereq_(285);\n_dereq_(279);\n_dereq_(280);\n_dereq_(231);\n_dereq_(232);\n_dereq_(233);\n_dereq_(234);\n_dereq_(235);\n_dereq_(238);\n_dereq_(236);\n_dereq_(237);\n_dereq_(239);\n_dereq_(240);\n_dereq_(241);\n_dereq_(242);\n_dereq_(244);\n_dereq_(243);\nmodule.exports = _dereq_(50);\n\n},{\"152\":152,\"153\":153,\"154\":154,\"155\":155,\"156\":156,\"157\":157,\"158\":158,\"159\":159,\"160\":160,\"161\":161,\"162\":162,\"163\":163,\"164\":164,\"165\":165,\"166\":166,\"167\":167,\"168\":168,\"169\":169,\"170\":170,\"171\":171,\"172\":172,\"173\":173,\"174\":174,\"175\":175,\"176\":176,\"177\":177,\"178\":178,\"179\":179,\"180\":180,\"181\":181,\"182\":182,\"183\":183,\"184\":184,\"185\":185,\"186\":186,\"187\":187,\"188\":188,\"189\":189,\"190\":190,\"191\":191,\"192\":192,\"193\":193,\"194\":194,\"195\":195,\"196\":196,\"197\":197,\"198\":198,\"199\":199,\"200\":200,\"201\":201,\"202\":202,\"203\":203,\"204\":204,\"205\":205,\"206\":206,\"207\":207,\"208\":208,\"209\":209,\"210\":210,\"211\":211,\"212\":212,\"213\":213,\"214\":214,\"215\":215,\"216\":216,\"217\":217,\"218\":218,\"219\":219,\"220\":220,\"221\":221,\"222\":222,\"223\":223,\"224\":224,\"225\":225,\"226\":226,\"227\":227,\"228\":228,\"229\":229,\"230\":230,\"231\":231,\"232\":232,\"233\":233,\"234\":234,\"235\":235,\"236\":236,\"237\":237,\"238\":238,\"239\":239,\"240\":240,\"241\":241,\"242\":242,\"243\":243,\"244\":244,\"245\":245,\"246\":246,\"247\":247,\"248\":248,\"249\":249,\"250\":250,\"251\":251,\"252\":252,\"253\":253,\"254\":254,\"255\":255,\"256\":256,\"257\":257,\"258\":258,\"259\":259,\"260\":260,\"261\":261,\"262\":262,\"263\":263,\"264\":264,\"265\":265,\"266\":266,\"267\":267,\"268\":268,\"269\":269,\"270\":270,\"271\":271,\"272\":272,\"273\":273,\"274\":274,\"275\":275,\"276\":276,\"277\":277,\"278\":278,\"279\":279,\"280\":280,\"281\":281,\"282\":282,\"283\":283,\"284\":284,\"285\":285,\"286\":286,\"287\":287,\"288\":288,\"289\":289,\"50\":50}],2:[function(_dereq_,module,exports){\n_dereq_(290);\nmodule.exports = _dereq_(50).Array.flatMap;\n\n},{\"290\":290,\"50\":50}],3:[function(_dereq_,module,exports){\n_dereq_(291);\nmodule.exports = _dereq_(50).Array.includes;\n\n},{\"291\":291,\"50\":50}],4:[function(_dereq_,module,exports){\n_dereq_(292);\nmodule.exports = _dereq_(50).Object.entries;\n\n},{\"292\":292,\"50\":50}],5:[function(_dereq_,module,exports){\n_dereq_(293);\nmodule.exports = _dereq_(50).Object.getOwnPropertyDescriptors;\n\n},{\"293\":293,\"50\":50}],6:[function(_dereq_,module,exports){\n_dereq_(294);\nmodule.exports = _dereq_(50).Object.values;\n\n},{\"294\":294,\"50\":50}],7:[function(_dereq_,module,exports){\n'use strict';\n_dereq_(230);\n_dereq_(295);\nmodule.exports = _dereq_(50).Promise['finally'];\n\n},{\"230\":230,\"295\":295,\"50\":50}],8:[function(_dereq_,module,exports){\n_dereq_(296);\nmodule.exports = _dereq_(50).String.padEnd;\n\n},{\"296\":296,\"50\":50}],9:[function(_dereq_,module,exports){\n_dereq_(297);\nmodule.exports = _dereq_(50).String.padStart;\n\n},{\"297\":297,\"50\":50}],10:[function(_dereq_,module,exports){\n_dereq_(299);\nmodule.exports = _dereq_(50).String.trimRight;\n\n},{\"299\":299,\"50\":50}],11:[function(_dereq_,module,exports){\n_dereq_(298);\nmodule.exports = _dereq_(50).String.trimLeft;\n\n},{\"298\":298,\"50\":50}],12:[function(_dereq_,module,exports){\n_dereq_(300);\nmodule.exports = _dereq_(149).f('asyncIterator');\n\n},{\"149\":149,\"300\":300}],13:[function(_dereq_,module,exports){\n_dereq_(30);\nmodule.exports = _dereq_(16).global;\n\n},{\"16\":16,\"30\":30}],14:[function(_dereq_,module,exports){\nmodule.exports = function (it) {\n  if (typeof it != 'function') throw TypeError(it + ' is not a function!');\n  return it;\n};\n\n},{}],15:[function(_dereq_,module,exports){\nvar isObject = _dereq_(26);\nmodule.exports = function (it) {\n  if (!isObject(it)) throw TypeError(it + ' is not an object!');\n  return it;\n};\n\n},{\"26\":26}],16:[function(_dereq_,module,exports){\nvar core = module.exports = { version: '2.6.11' };\nif (typeof __e == 'number') __e = core; // eslint-disable-line no-undef\n\n},{}],17:[function(_dereq_,module,exports){\n// optional / simple context binding\nvar aFunction = _dereq_(14);\nmodule.exports = function (fn, that, length) {\n  aFunction(fn);\n  if (that === undefined) return fn;\n  switch (length) {\n    case 1: return function (a) {\n      return fn.call(that, a);\n    };\n    case 2: return function (a, b) {\n      return fn.call(that, a, b);\n    };\n    case 3: return function (a, b, c) {\n      return fn.call(that, a, b, c);\n    };\n  }\n  return function (/* ...args */) {\n    return fn.apply(that, arguments);\n  };\n};\n\n},{\"14\":14}],18:[function(_dereq_,module,exports){\n// Thank's IE8 for his funny defineProperty\nmodule.exports = !_dereq_(21)(function () {\n  return Object.defineProperty({}, 'a', { get: function () { return 7; } }).a != 7;\n});\n\n},{\"21\":21}],19:[function(_dereq_,module,exports){\nvar isObject = _dereq_(26);\nvar document = _dereq_(22).document;\n// typeof document.createElement is 'object' in old IE\nvar is = isObject(document) && isObject(document.createElement);\nmodule.exports = function (it) {\n  return is ? document.createElement(it) : {};\n};\n\n},{\"22\":22,\"26\":26}],20:[function(_dereq_,module,exports){\nvar global = _dereq_(22);\nvar core = _dereq_(16);\nvar ctx = _dereq_(17);\nvar hide = _dereq_(24);\nvar has = _dereq_(23);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n  var IS_FORCED = type & $export.F;\n  var IS_GLOBAL = type & $export.G;\n  var IS_STATIC = type & $export.S;\n  var IS_PROTO = type & $export.P;\n  var IS_BIND = type & $export.B;\n  var IS_WRAP = type & $export.W;\n  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n  var expProto = exports[PROTOTYPE];\n  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] : (global[name] || {})[PROTOTYPE];\n  var key, own, out;\n  if (IS_GLOBAL) source = name;\n  for (key in source) {\n    // contains in native\n    own = !IS_FORCED && target && target[key] !== undefined;\n    if (own && has(exports, key)) continue;\n    // export native or passed\n    out = own ? target[key] : source[key];\n    // prevent global pollution for namespaces\n    exports[key] = IS_GLOBAL && typeof target[key] != 'function' ? source[key]\n    // bind timers to global for call from export context\n    : IS_BIND && own ? ctx(out, global)\n    // wrap global constructors for prevent change them in library\n    : IS_WRAP && target[key] == out ? (function (C) {\n      var F = function (a, b, c) {\n        if (this instanceof C) {\n          switch (arguments.length) {\n            case 0: return new C();\n            case 1: return new C(a);\n            case 2: return new C(a, b);\n          } return new C(a, b, c);\n        } return C.apply(this, arguments);\n      };\n      F[PROTOTYPE] = C[PROTOTYPE];\n      return F;\n    // make static versions for prototype methods\n    })(out) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n    // export proto methods to core.%CONSTRUCTOR%.methods.%NAME%\n    if (IS_PROTO) {\n      (exports.virtual || (exports.virtual = {}))[key] = out;\n      // export proto methods to core.%CONSTRUCTOR%.prototype.%NAME%\n      if (type & $export.R && expProto && !expProto[key]) hide(expProto, key, out);\n    }\n  }\n};\n// type bitmap\n$export.F = 1;   // forced\n$export.G = 2;   // global\n$export.S = 4;   // static\n$export.P = 8;   // proto\n$export.B = 16;  // bind\n$export.W = 32;  // wrap\n$export.U = 64;  // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n},{\"16\":16,\"17\":17,\"22\":22,\"23\":23,\"24\":24}],21:[function(_dereq_,module,exports){\nmodule.exports = function (exec) {\n  try {\n    return !!exec();\n  } catch (e) {\n    return true;\n  }\n};\n\n},{}],22:[function(_dereq_,module,exports){\n// https://github.com/zloirock/core-js/issues/86#issuecomment-115759028\nvar global = module.exports = typeof window != 'undefined' && window.Math == Math\n  ? window : typeof self != 'undefined' && self.Math == Math ? self\n  // eslint-disable-next-line no-new-func\n  : Function('return this')();\nif (typeof __g == 'number') __g = global; // eslint-disable-line no-undef\n\n},{}],23:[function(_dereq_,module,exports){\nvar hasOwnProperty = {}.hasOwnProperty;\nmodule.exports = function (it, key) {\n  return hasOwnProperty.call(it, key);\n};\n\n},{}],24:[function(_dereq_,module,exports){\nvar dP = _dereq_(27);\nvar createDesc = _dereq_(28);\nmodule.exports = _dereq_(18) ? function (object, key, value) {\n  return dP.f(object, key, createDesc(1, value));\n} : function (object, key, value) {\n  object[key] = value;\n  return object;\n};\n\n},{\"18\":18,\"27\":27,\"28\":28}],25:[function(_dereq_,module,exports){\nmodule.exports = !_dereq_(18) && !_dereq_(21)(function () {\n  return Object.defineProperty(_dereq_(19)('div'), 'a', { get: function () { return 7; } }).a != 7;\n});\n\n},{\"18\":18,\"19\":19,\"21\":21}],26:[function(_dereq_,module,exports){\nmodule.exports = function (it) {\n  return typeof it === 'object' ? it !== null : typeof it === 'function';\n};\n\n},{}],27:[function(_dereq_,module,exports){\nvar anObject = _dereq_(15);\nvar IE8_DOM_DEFINE = _dereq_(25);\nvar toPrimitive = _dereq_(29);\nvar dP = Object.defineProperty;\n\nexports.f = _dereq_(18) ? Object.defineProperty : function defineProperty(O, P, Attributes) {\n  anObject(O);\n  P = toPrimitive(P, true);\n  anObject(Attributes);\n  if (IE8_DOM_DEFINE) try {\n    return dP(O, P, Attributes);\n  } catch (e) { /* empty */ }\n  if ('get' in Attributes || 'set' in Attributes) throw TypeError('Accessors not supported!');\n  if ('value' in Attributes) O[P] = Attributes.value;\n  return O;\n};\n\n},{\"15\":15,\"18\":18,\"25\":25,\"29\":29}],28:[function(_dereq_,module,exports){\nmodule.exports = function (bitmap, value) {\n  return {\n    enumerable: !(bitmap & 1),\n    configurable: !(bitmap & 2),\n    writable: !(bitmap & 4),\n    value: value\n  };\n};\n\n},{}],29:[function(_dereq_,module,exports){\n// 7.1.1 ToPrimitive(input [, PreferredType])\nvar isObject = _dereq_(26);\n// instead of the ES6 spec version, we didn't implement @@toPrimitive case\n// and the second argument - flag - preferred type is a string\nmodule.exports = function (it, S) {\n  if (!isObject(it)) return it;\n  var fn, val;\n  if (S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (typeof (fn = it.valueOf) == 'function' && !isObject(val = fn.call(it))) return val;\n  if (!S && typeof (fn = it.toString) == 'function' && !isObject(val = fn.call(it))) return val;\n  throw TypeError(\"Can't convert object to primitive value\");\n};\n\n},{\"26\":26}],30:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-global\nvar $export = _dereq_(20);\n\n$export($export.G, { global: _dereq_(22) });\n\n},{\"20\":20,\"22\":22}],31:[function(_dereq_,module,exports){\narguments[4][14][0].apply(exports,arguments)\n},{\"14\":14}],32:[function(_dereq_,module,exports){\nvar cof = _dereq_(46);\nmodule.exports = function (it, msg) {\n  if (typeof it != 'number' && cof(it) != 'Number') throw TypeError(msg);\n  return +it;\n};\n\n},{\"46\":46}],33:[function(_dereq_,module,exports){\n// 22.1.3.31 Array.prototype[@@unscopables]\nvar UNSCOPABLES = _dereq_(150)('unscopables');\nvar ArrayProto = Array.prototype;\nif (ArrayProto[UNSCOPABLES] == undefined) _dereq_(70)(ArrayProto, UNSCOPABLES, {});\nmodule.exports = function (key) {\n  ArrayProto[UNSCOPABLES][key] = true;\n};\n\n},{\"150\":150,\"70\":70}],34:[function(_dereq_,module,exports){\n'use strict';\nvar at = _dereq_(127)(true);\n\n // `AdvanceStringIndex` abstract operation\n// https://tc39.github.io/ecma262/#sec-advancestringindex\nmodule.exports = function (S, index, unicode) {\n  return index + (unicode ? at(S, index).length : 1);\n};\n\n},{\"127\":127}],35:[function(_dereq_,module,exports){\nmodule.exports = function (it, Constructor, name, forbiddenField) {\n  if (!(it instanceof Constructor) || (forbiddenField !== undefined && forbiddenField in it)) {\n    throw TypeError(name + ': incorrect invocation!');\n  } return it;\n};\n\n},{}],36:[function(_dereq_,module,exports){\narguments[4][15][0].apply(exports,arguments)\n},{\"15\":15,\"79\":79}],37:[function(_dereq_,module,exports){\n// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\n'use strict';\nvar toObject = _dereq_(140);\nvar toAbsoluteIndex = _dereq_(135);\nvar toLength = _dereq_(139);\n\nmodule.exports = [].copyWithin || function copyWithin(target /* = 0 */, start /* = 0, end = @length */) {\n  var O = toObject(this);\n  var len = toLength(O.length);\n  var to = toAbsoluteIndex(target, len);\n  var from = toAbsoluteIndex(start, len);\n  var end = arguments.length > 2 ? arguments[2] : undefined;\n  var count = Math.min((end === undefined ? len : toAbsoluteIndex(end, len)) - from, len - to);\n  var inc = 1;\n  if (from < to && to < from + count) {\n    inc = -1;\n    from += count - 1;\n    to += count - 1;\n  }\n  while (count-- > 0) {\n    if (from in O) O[to] = O[from];\n    else delete O[to];\n    to += inc;\n    from += inc;\n  } return O;\n};\n\n},{\"135\":135,\"139\":139,\"140\":140}],38:[function(_dereq_,module,exports){\n// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\n'use strict';\nvar toObject = _dereq_(140);\nvar toAbsoluteIndex = _dereq_(135);\nvar toLength = _dereq_(139);\nmodule.exports = function fill(value /* , start = 0, end = @length */) {\n  var O = toObject(this);\n  var length = toLength(O.length);\n  var aLen = arguments.length;\n  var index = toAbsoluteIndex(aLen > 1 ? arguments[1] : undefined, length);\n  var end = aLen > 2 ? arguments[2] : undefined;\n  var endPos = end === undefined ? length : toAbsoluteIndex(end, length);\n  while (endPos > index) O[index++] = value;\n  return O;\n};\n\n},{\"135\":135,\"139\":139,\"140\":140}],39:[function(_dereq_,module,exports){\n// false -> Array#indexOf\n// true  -> Array#includes\nvar toIObject = _dereq_(138);\nvar toLength = _dereq_(139);\nvar toAbsoluteIndex = _dereq_(135);\nmodule.exports = function (IS_INCLUDES) {\n  return function ($this, el, fromIndex) {\n    var O = toIObject($this);\n    var length = toLength(O.length);\n    var index = toAbsoluteIndex(fromIndex, length);\n    var value;\n    // Array#includes uses SameValueZero equality algorithm\n    // eslint-disable-next-line no-self-compare\n    if (IS_INCLUDES && el != el) while (length > index) {\n      value = O[index++];\n      // eslint-disable-next-line no-self-compare\n      if (value != value) return true;\n    // Array#indexOf ignores holes, Array#includes - not\n    } else for (;length > index; index++) if (IS_INCLUDES || index in O) {\n      if (O[index] === el) return IS_INCLUDES || index || 0;\n    } return !IS_INCLUDES && -1;\n  };\n};\n\n},{\"135\":135,\"138\":138,\"139\":139}],40:[function(_dereq_,module,exports){\n// 0 -> Array#forEach\n// 1 -> Array#map\n// 2 -> Array#filter\n// 3 -> Array#some\n// 4 -> Array#every\n// 5 -> Array#find\n// 6 -> Array#findIndex\nvar ctx = _dereq_(52);\nvar IObject = _dereq_(75);\nvar toObject = _dereq_(140);\nvar toLength = _dereq_(139);\nvar asc = _dereq_(43);\nmodule.exports = function (TYPE, $create) {\n  var IS_MAP = TYPE == 1;\n  var IS_FILTER = TYPE == 2;\n  var IS_SOME = TYPE == 3;\n  var IS_EVERY = TYPE == 4;\n  var IS_FIND_INDEX = TYPE == 6;\n  var NO_HOLES = TYPE == 5 || IS_FIND_INDEX;\n  var create = $create || asc;\n  return function ($this, callbackfn, that) {\n    var O = toObject($this);\n    var self = IObject(O);\n    var f = ctx(callbackfn, that, 3);\n    var length = toLength(self.length);\n    var index = 0;\n    var result = IS_MAP ? create($this, length) : IS_FILTER ? create($this, 0) : undefined;\n    var val, res;\n    for (;length > index; index++) if (NO_HOLES || index in self) {\n      val = self[index];\n      res = f(val, index, O);\n      if (TYPE) {\n        if (IS_MAP) result[index] = res;   // map\n        else if (res) switch (TYPE) {\n          case 3: return true;             // some\n          case 5: return val;              // find\n          case 6: return index;            // findIndex\n          case 2: result.push(val);        // filter\n        } else if (IS_EVERY) return false; // every\n      }\n    }\n    return IS_FIND_INDEX ? -1 : IS_SOME || IS_EVERY ? IS_EVERY : result;\n  };\n};\n\n},{\"139\":139,\"140\":140,\"43\":43,\"52\":52,\"75\":75}],41:[function(_dereq_,module,exports){\nvar aFunction = _dereq_(31);\nvar toObject = _dereq_(140);\nvar IObject = _dereq_(75);\nvar toLength = _dereq_(139);\n\nmodule.exports = function (that, callbackfn, aLen, memo, isRight) {\n  aFunction(callbackfn);\n  var O = toObject(that);\n  var self = IObject(O);\n  var length = toLength(O.length);\n  var index = isRight ? length - 1 : 0;\n  var i = isRight ? -1 : 1;\n  if (aLen < 2) for (;;) {\n    if (index in self) {\n      memo = self[index];\n      index += i;\n      break;\n    }\n    index += i;\n    if (isRight ? index < 0 : length <= index) {\n      throw TypeError('Reduce of empty array with no initial value');\n    }\n  }\n  for (;isRight ? index >= 0 : length > index; index += i) if (index in self) {\n    memo = callbackfn(memo, self[index], index, O);\n  }\n  return memo;\n};\n\n},{\"139\":139,\"140\":140,\"31\":31,\"75\":75}],42:[function(_dereq_,module,exports){\nvar isObject = _dereq_(79);\nvar isArray = _dereq_(77);\nvar SPECIES = _dereq_(150)('species');\n\nmodule.exports = function (original) {\n  var C;\n  if (isArray(original)) {\n    C = original.constructor;\n    // cross-realm fallback\n    if (typeof C == 'function' && (C === Array || isArray(C.prototype))) C = undefined;\n    if (isObject(C)) {\n      C = C[SPECIES];\n      if (C === null) C = undefined;\n    }\n  } return C === undefined ? Array : C;\n};\n\n},{\"150\":150,\"77\":77,\"79\":79}],43:[function(_dereq_,module,exports){\n// 9.4.2.3 ArraySpeciesCreate(originalArray, length)\nvar speciesConstructor = _dereq_(42);\n\nmodule.exports = function (original, length) {\n  return new (speciesConstructor(original))(length);\n};\n\n},{\"42\":42}],44:[function(_dereq_,module,exports){\n'use strict';\nvar aFunction = _dereq_(31);\nvar isObject = _dereq_(79);\nvar invoke = _dereq_(74);\nvar arraySlice = [].slice;\nvar factories = {};\n\nvar construct = function (F, len, args) {\n  if (!(len in factories)) {\n    for (var n = [], i = 0; i < len; i++) n[i] = 'a[' + i + ']';\n    // eslint-disable-next-line no-new-func\n    factories[len] = Function('F,a', 'return new F(' + n.join(',') + ')');\n  } return factories[len](F, args);\n};\n\nmodule.exports = Function.bind || function bind(that /* , ...args */) {\n  var fn = aFunction(this);\n  var partArgs = arraySlice.call(arguments, 1);\n  var bound = function (/* args... */) {\n    var args = partArgs.concat(arraySlice.call(arguments));\n    return this instanceof bound ? construct(fn, args.length, args) : invoke(fn, args, that);\n  };\n  if (isObject(fn.prototype)) bound.prototype = fn.prototype;\n  return bound;\n};\n\n},{\"31\":31,\"74\":74,\"79\":79}],45:[function(_dereq_,module,exports){\n// getting tag from 19.1.3.6 Object.prototype.toString()\nvar cof = _dereq_(46);\nvar TAG = _dereq_(150)('toStringTag');\n// ES3 wrong here\nvar ARG = cof(function () { return arguments; }()) == 'Arguments';\n\n// fallback for IE11 Script Access Denied error\nvar tryGet = function (it, key) {\n  try {\n    return it[key];\n  } catch (e) { /* empty */ }\n};\n\nmodule.exports = function (it) {\n  var O, T, B;\n  return it === undefined ? 'Undefined' : it === null ? 'Null'\n    // @@toStringTag case\n    : typeof (T = tryGet(O = Object(it), TAG)) == 'string' ? T\n    // builtinTag case\n    : ARG ? cof(O)\n    // ES3 arguments fallback\n    : (B = cof(O)) == 'Object' && typeof O.callee == 'function' ? 'Arguments' : B;\n};\n\n},{\"150\":150,\"46\":46}],46:[function(_dereq_,module,exports){\nvar toString = {}.toString;\n\nmodule.exports = function (it) {\n  return toString.call(it).slice(8, -1);\n};\n\n},{}],47:[function(_dereq_,module,exports){\n'use strict';\nvar dP = _dereq_(97).f;\nvar create = _dereq_(96);\nvar redefineAll = _dereq_(115);\nvar ctx = _dereq_(52);\nvar anInstance = _dereq_(35);\nvar forOf = _dereq_(66);\nvar $iterDefine = _dereq_(83);\nvar step = _dereq_(85);\nvar setSpecies = _dereq_(121);\nvar DESCRIPTORS = _dereq_(56);\nvar fastKey = _dereq_(92).fastKey;\nvar validate = _dereq_(147);\nvar SIZE = DESCRIPTORS ? '_s' : 'size';\n\nvar getEntry = function (that, key) {\n  // fast case\n  var index = fastKey(key);\n  var entry;\n  if (index !== 'F') return that._i[index];\n  // frozen object case\n  for (entry = that._f; entry; entry = entry.n) {\n    if (entry.k == key) return entry;\n  }\n};\n\nmodule.exports = {\n  getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n    var C = wrapper(function (that, iterable) {\n      anInstance(that, C, NAME, '_i');\n      that._t = NAME;         // collection type\n      that._i = create(null); // index\n      that._f = undefined;    // first entry\n      that._l = undefined;    // last entry\n      that[SIZE] = 0;         // size\n      if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n    });\n    redefineAll(C.prototype, {\n      // 23.1.3.1 Map.prototype.clear()\n      // 23.2.3.2 Set.prototype.clear()\n      clear: function clear() {\n        for (var that = validate(this, NAME), data = that._i, entry = that._f; entry; entry = entry.n) {\n          entry.r = true;\n          if (entry.p) entry.p = entry.p.n = undefined;\n          delete data[entry.i];\n        }\n        that._f = that._l = undefined;\n        that[SIZE] = 0;\n      },\n      // 23.1.3.3 Map.prototype.delete(key)\n      // 23.2.3.4 Set.prototype.delete(value)\n      'delete': function (key) {\n        var that = validate(this, NAME);\n        var entry = getEntry(that, key);\n        if (entry) {\n          var next = entry.n;\n          var prev = entry.p;\n          delete that._i[entry.i];\n          entry.r = true;\n          if (prev) prev.n = next;\n          if (next) next.p = prev;\n          if (that._f == entry) that._f = next;\n          if (that._l == entry) that._l = prev;\n          that[SIZE]--;\n        } return !!entry;\n      },\n      // 23.2.3.6 Set.prototype.forEach(callbackfn, thisArg = undefined)\n      // 23.1.3.5 Map.prototype.forEach(callbackfn, thisArg = undefined)\n      forEach: function forEach(callbackfn /* , that = undefined */) {\n        validate(this, NAME);\n        var f = ctx(callbackfn, arguments.length > 1 ? arguments[1] : undefined, 3);\n        var entry;\n        while (entry = entry ? entry.n : this._f) {\n          f(entry.v, entry.k, this);\n          // revert to the last existing entry\n          while (entry && entry.r) entry = entry.p;\n        }\n      },\n      // 23.1.3.7 Map.prototype.has(key)\n      // 23.2.3.7 Set.prototype.has(value)\n      has: function has(key) {\n        return !!getEntry(validate(this, NAME), key);\n      }\n    });\n    if (DESCRIPTORS) dP(C.prototype, 'size', {\n      get: function () {\n        return validate(this, NAME)[SIZE];\n      }\n    });\n    return C;\n  },\n  def: function (that, key, value) {\n    var entry = getEntry(that, key);\n    var prev, index;\n    // change existing entry\n    if (entry) {\n      entry.v = value;\n    // create new entry\n    } else {\n      that._l = entry = {\n        i: index = fastKey(key, true), // <- index\n        k: key,                        // <- key\n        v: value,                      // <- value\n        p: prev = that._l,             // <- previous entry\n        n: undefined,                  // <- next entry\n        r: false                       // <- removed\n      };\n      if (!that._f) that._f = entry;\n      if (prev) prev.n = entry;\n      that[SIZE]++;\n      // add to index\n      if (index !== 'F') that._i[index] = entry;\n    } return that;\n  },\n  getEntry: getEntry,\n  setStrong: function (C, NAME, IS_MAP) {\n    // add .keys, .values, .entries, [@@iterator]\n    // 23.1.3.4, 23.1.3.8, 23.1.3.11, 23.1.3.12, 23.2.3.5, 23.2.3.8, 23.2.3.10, 23.2.3.11\n    $iterDefine(C, NAME, function (iterated, kind) {\n      this._t = validate(iterated, NAME); // target\n      this._k = kind;                     // kind\n      this._l = undefined;                // previous\n    }, function () {\n      var that = this;\n      var kind = that._k;\n      var entry = that._l;\n      // revert to the last existing entry\n      while (entry && entry.r) entry = entry.p;\n      // get next entry\n      if (!that._t || !(that._l = entry = entry ? entry.n : that._t._f)) {\n        // or finish the iteration\n        that._t = undefined;\n        return step(1);\n      }\n      // return step by kind\n      if (kind == 'keys') return step(0, entry.k);\n      if (kind == 'values') return step(0, entry.v);\n      return step(0, [entry.k, entry.v]);\n    }, IS_MAP ? 'entries' : 'values', !IS_MAP, true);\n\n    // add [@@species], 23.1.2.2, 23.2.2.2\n    setSpecies(NAME);\n  }\n};\n\n},{\"115\":115,\"121\":121,\"147\":147,\"35\":35,\"52\":52,\"56\":56,\"66\":66,\"83\":83,\"85\":85,\"92\":92,\"96\":96,\"97\":97}],48:[function(_dereq_,module,exports){\n'use strict';\nvar redefineAll = _dereq_(115);\nvar getWeak = _dereq_(92).getWeak;\nvar anObject = _dereq_(36);\nvar isObject = _dereq_(79);\nvar anInstance = _dereq_(35);\nvar forOf = _dereq_(66);\nvar createArrayMethod = _dereq_(40);\nvar $has = _dereq_(69);\nvar validate = _dereq_(147);\nvar arrayFind = createArrayMethod(5);\nvar arrayFindIndex = createArrayMethod(6);\nvar id = 0;\n\n// fallback for uncaught frozen keys\nvar uncaughtFrozenStore = function (that) {\n  return that._l || (that._l = new UncaughtFrozenStore());\n};\nvar UncaughtFrozenStore = function () {\n  this.a = [];\n};\nvar findUncaughtFrozen = function (store, key) {\n  return arrayFind(store.a, function (it) {\n    return it[0] === key;\n  });\n};\nUncaughtFrozenStore.prototype = {\n  get: function (key) {\n    var entry = findUncaughtFrozen(this, key);\n    if (entry) return entry[1];\n  },\n  has: function (key) {\n    return !!findUncaughtFrozen(this, key);\n  },\n  set: function (key, value) {\n    var entry = findUncaughtFrozen(this, key);\n    if (entry) entry[1] = value;\n    else this.a.push([key, value]);\n  },\n  'delete': function (key) {\n    var index = arrayFindIndex(this.a, function (it) {\n      return it[0] === key;\n    });\n    if (~index) this.a.splice(index, 1);\n    return !!~index;\n  }\n};\n\nmodule.exports = {\n  getConstructor: function (wrapper, NAME, IS_MAP, ADDER) {\n    var C = wrapper(function (that, iterable) {\n      anInstance(that, C, NAME, '_i');\n      that._t = NAME;      // collection type\n      that._i = id++;      // collection id\n      that._l = undefined; // leak store for uncaught frozen objects\n      if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n    });\n    redefineAll(C.prototype, {\n      // 23.3.3.2 WeakMap.prototype.delete(key)\n      // 23.4.3.3 WeakSet.prototype.delete(value)\n      'delete': function (key) {\n        if (!isObject(key)) return false;\n        var data = getWeak(key);\n        if (data === true) return uncaughtFrozenStore(validate(this, NAME))['delete'](key);\n        return data && $has(data, this._i) && delete data[this._i];\n      },\n      // 23.3.3.4 WeakMap.prototype.has(key)\n      // 23.4.3.4 WeakSet.prototype.has(value)\n      has: function has(key) {\n        if (!isObject(key)) return false;\n        var data = getWeak(key);\n        if (data === true) return uncaughtFrozenStore(validate(this, NAME)).has(key);\n        return data && $has(data, this._i);\n      }\n    });\n    return C;\n  },\n  def: function (that, key, value) {\n    var data = getWeak(anObject(key), true);\n    if (data === true) uncaughtFrozenStore(that).set(key, value);\n    else data[that._i] = value;\n    return that;\n  },\n  ufstore: uncaughtFrozenStore\n};\n\n},{\"115\":115,\"147\":147,\"35\":35,\"36\":36,\"40\":40,\"66\":66,\"69\":69,\"79\":79,\"92\":92}],49:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(68);\nvar $export = _dereq_(60);\nvar redefine = _dereq_(116);\nvar redefineAll = _dereq_(115);\nvar meta = _dereq_(92);\nvar forOf = _dereq_(66);\nvar anInstance = _dereq_(35);\nvar isObject = _dereq_(79);\nvar fails = _dereq_(62);\nvar $iterDetect = _dereq_(84);\nvar setToStringTag = _dereq_(122);\nvar inheritIfRequired = _dereq_(73);\n\nmodule.exports = function (NAME, wrapper, methods, common, IS_MAP, IS_WEAK) {\n  var Base = global[NAME];\n  var C = Base;\n  var ADDER = IS_MAP ? 'set' : 'add';\n  var proto = C && C.prototype;\n  var O = {};\n  var fixMethod = function (KEY) {\n    var fn = proto[KEY];\n    redefine(proto, KEY,\n      KEY == 'delete' ? function (a) {\n        return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'has' ? function has(a) {\n        return IS_WEAK && !isObject(a) ? false : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'get' ? function get(a) {\n        return IS_WEAK && !isObject(a) ? undefined : fn.call(this, a === 0 ? 0 : a);\n      } : KEY == 'add' ? function add(a) { fn.call(this, a === 0 ? 0 : a); return this; }\n        : function set(a, b) { fn.call(this, a === 0 ? 0 : a, b); return this; }\n    );\n  };\n  if (typeof C != 'function' || !(IS_WEAK || proto.forEach && !fails(function () {\n    new C().entries().next();\n  }))) {\n    // create collection constructor\n    C = common.getConstructor(wrapper, NAME, IS_MAP, ADDER);\n    redefineAll(C.prototype, methods);\n    meta.NEED = true;\n  } else {\n    var instance = new C();\n    // early implementations not supports chaining\n    var HASNT_CHAINING = instance[ADDER](IS_WEAK ? {} : -0, 1) != instance;\n    // V8 ~  Chromium 40- weak-collections throws on primitives, but should return false\n    var THROWS_ON_PRIMITIVES = fails(function () { instance.has(1); });\n    // most early implementations doesn't supports iterables, most modern - not close it correctly\n    var ACCEPT_ITERABLES = $iterDetect(function (iter) { new C(iter); }); // eslint-disable-line no-new\n    // for early implementations -0 and +0 not the same\n    var BUGGY_ZERO = !IS_WEAK && fails(function () {\n      // V8 ~ Chromium 42- fails only with 5+ elements\n      var $instance = new C();\n      var index = 5;\n      while (index--) $instance[ADDER](index, index);\n      return !$instance.has(-0);\n    });\n    if (!ACCEPT_ITERABLES) {\n      C = wrapper(function (target, iterable) {\n        anInstance(target, C, NAME);\n        var that = inheritIfRequired(new Base(), target, C);\n        if (iterable != undefined) forOf(iterable, IS_MAP, that[ADDER], that);\n        return that;\n      });\n      C.prototype = proto;\n      proto.constructor = C;\n    }\n    if (THROWS_ON_PRIMITIVES || BUGGY_ZERO) {\n      fixMethod('delete');\n      fixMethod('has');\n      IS_MAP && fixMethod('get');\n    }\n    if (BUGGY_ZERO || HASNT_CHAINING) fixMethod(ADDER);\n    // weak collections should not contains .clear method\n    if (IS_WEAK && proto.clear) delete proto.clear;\n  }\n\n  setToStringTag(C, NAME);\n\n  O[NAME] = C;\n  $export($export.G + $export.W + $export.F * (C != Base), O);\n\n  if (!IS_WEAK) common.setStrong(C, NAME, IS_MAP);\n\n  return C;\n};\n\n},{\"115\":115,\"116\":116,\"122\":122,\"35\":35,\"60\":60,\"62\":62,\"66\":66,\"68\":68,\"73\":73,\"79\":79,\"84\":84,\"92\":92}],50:[function(_dereq_,module,exports){\narguments[4][16][0].apply(exports,arguments)\n},{\"16\":16}],51:[function(_dereq_,module,exports){\n'use strict';\nvar $defineProperty = _dereq_(97);\nvar createDesc = _dereq_(114);\n\nmodule.exports = function (object, index, value) {\n  if (index in object) $defineProperty.f(object, index, createDesc(0, value));\n  else object[index] = value;\n};\n\n},{\"114\":114,\"97\":97}],52:[function(_dereq_,module,exports){\narguments[4][17][0].apply(exports,arguments)\n},{\"17\":17,\"31\":31}],53:[function(_dereq_,module,exports){\n'use strict';\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar fails = _dereq_(62);\nvar getTime = Date.prototype.getTime;\nvar $toISOString = Date.prototype.toISOString;\n\nvar lz = function (num) {\n  return num > 9 ? num : '0' + num;\n};\n\n// PhantomJS / old WebKit has a broken implementations\nmodule.exports = (fails(function () {\n  return $toISOString.call(new Date(-5e13 - 1)) != '0385-07-25T07:06:39.999Z';\n}) || !fails(function () {\n  $toISOString.call(new Date(NaN));\n})) ? function toISOString() {\n  if (!isFinite(getTime.call(this))) throw RangeError('Invalid time value');\n  var d = this;\n  var y = d.getUTCFullYear();\n  var m = d.getUTCMilliseconds();\n  var s = y < 0 ? '-' : y > 9999 ? '+' : '';\n  return s + ('00000' + Math.abs(y)).slice(s ? -6 : -4) +\n    '-' + lz(d.getUTCMonth() + 1) + '-' + lz(d.getUTCDate()) +\n    'T' + lz(d.getUTCHours()) + ':' + lz(d.getUTCMinutes()) +\n    ':' + lz(d.getUTCSeconds()) + '.' + (m > 99 ? m : '0' + lz(m)) + 'Z';\n} : $toISOString;\n\n},{\"62\":62}],54:[function(_dereq_,module,exports){\n'use strict';\nvar anObject = _dereq_(36);\nvar toPrimitive = _dereq_(141);\nvar NUMBER = 'number';\n\nmodule.exports = function (hint) {\n  if (hint !== 'string' && hint !== NUMBER && hint !== 'default') throw TypeError('Incorrect hint');\n  return toPrimitive(anObject(this), hint != NUMBER);\n};\n\n},{\"141\":141,\"36\":36}],55:[function(_dereq_,module,exports){\n// 7.2.1 RequireObjectCoercible(argument)\nmodule.exports = function (it) {\n  if (it == undefined) throw TypeError(\"Can't call method on  \" + it);\n  return it;\n};\n\n},{}],56:[function(_dereq_,module,exports){\narguments[4][18][0].apply(exports,arguments)\n},{\"18\":18,\"62\":62}],57:[function(_dereq_,module,exports){\narguments[4][19][0].apply(exports,arguments)\n},{\"19\":19,\"68\":68,\"79\":79}],58:[function(_dereq_,module,exports){\n// IE 8- don't enum bug keys\nmodule.exports = (\n  'constructor,hasOwnProperty,isPrototypeOf,propertyIsEnumerable,toLocaleString,toString,valueOf'\n).split(',');\n\n},{}],59:[function(_dereq_,module,exports){\n// all enumerable object keys, includes symbols\nvar getKeys = _dereq_(105);\nvar gOPS = _dereq_(102);\nvar pIE = _dereq_(106);\nmodule.exports = function (it) {\n  var result = getKeys(it);\n  var getSymbols = gOPS.f;\n  if (getSymbols) {\n    var symbols = getSymbols(it);\n    var isEnum = pIE.f;\n    var i = 0;\n    var key;\n    while (symbols.length > i) if (isEnum.call(it, key = symbols[i++])) result.push(key);\n  } return result;\n};\n\n},{\"102\":102,\"105\":105,\"106\":106}],60:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar core = _dereq_(50);\nvar hide = _dereq_(70);\nvar redefine = _dereq_(116);\nvar ctx = _dereq_(52);\nvar PROTOTYPE = 'prototype';\n\nvar $export = function (type, name, source) {\n  var IS_FORCED = type & $export.F;\n  var IS_GLOBAL = type & $export.G;\n  var IS_STATIC = type & $export.S;\n  var IS_PROTO = type & $export.P;\n  var IS_BIND = type & $export.B;\n  var target = IS_GLOBAL ? global : IS_STATIC ? global[name] || (global[name] = {}) : (global[name] || {})[PROTOTYPE];\n  var exports = IS_GLOBAL ? core : core[name] || (core[name] = {});\n  var expProto = exports[PROTOTYPE] || (exports[PROTOTYPE] = {});\n  var key, own, out, exp;\n  if (IS_GLOBAL) source = name;\n  for (key in source) {\n    // contains in native\n    own = !IS_FORCED && target && target[key] !== undefined;\n    // export native or passed\n    out = (own ? target : source)[key];\n    // bind timers to global for call from export context\n    exp = IS_BIND && own ? ctx(out, global) : IS_PROTO && typeof out == 'function' ? ctx(Function.call, out) : out;\n    // extend global\n    if (target) redefine(target, key, out, type & $export.U);\n    // export\n    if (exports[key] != out) hide(exports, key, exp);\n    if (IS_PROTO && expProto[key] != out) expProto[key] = out;\n  }\n};\nglobal.core = core;\n// type bitmap\n$export.F = 1;   // forced\n$export.G = 2;   // global\n$export.S = 4;   // static\n$export.P = 8;   // proto\n$export.B = 16;  // bind\n$export.W = 32;  // wrap\n$export.U = 64;  // safe\n$export.R = 128; // real proto method for `library`\nmodule.exports = $export;\n\n},{\"116\":116,\"50\":50,\"52\":52,\"68\":68,\"70\":70}],61:[function(_dereq_,module,exports){\nvar MATCH = _dereq_(150)('match');\nmodule.exports = function (KEY) {\n  var re = /./;\n  try {\n    '/./'[KEY](re);\n  } catch (e) {\n    try {\n      re[MATCH] = false;\n      return !'/./'[KEY](re);\n    } catch (f) { /* empty */ }\n  } return true;\n};\n\n},{\"150\":150}],62:[function(_dereq_,module,exports){\narguments[4][21][0].apply(exports,arguments)\n},{\"21\":21}],63:[function(_dereq_,module,exports){\n'use strict';\n_dereq_(246);\nvar redefine = _dereq_(116);\nvar hide = _dereq_(70);\nvar fails = _dereq_(62);\nvar defined = _dereq_(55);\nvar wks = _dereq_(150);\nvar regexpExec = _dereq_(118);\n\nvar SPECIES = wks('species');\n\nvar REPLACE_SUPPORTS_NAMED_GROUPS = !fails(function () {\n  // #replace needs built-in support for named groups.\n  // #match works fine because it just return the exec results, even if it has\n  // a \"grops\" property.\n  var re = /./;\n  re.exec = function () {\n    var result = [];\n    result.groups = { a: '7' };\n    return result;\n  };\n  return ''.replace(re, '$<a>') !== '7';\n});\n\nvar SPLIT_WORKS_WITH_OVERWRITTEN_EXEC = (function () {\n  // Chrome 51 has a buggy \"split\" implementation when RegExp#exec !== nativeExec\n  var re = /(?:)/;\n  var originalExec = re.exec;\n  re.exec = function () { return originalExec.apply(this, arguments); };\n  var result = 'ab'.split(re);\n  return result.length === 2 && result[0] === 'a' && result[1] === 'b';\n})();\n\nmodule.exports = function (KEY, length, exec) {\n  var SYMBOL = wks(KEY);\n\n  var DELEGATES_TO_SYMBOL = !fails(function () {\n    // String methods call symbol-named RegEp methods\n    var O = {};\n    O[SYMBOL] = function () { return 7; };\n    return ''[KEY](O) != 7;\n  });\n\n  var DELEGATES_TO_EXEC = DELEGATES_TO_SYMBOL ? !fails(function () {\n    // Symbol-named RegExp methods call .exec\n    var execCalled = false;\n    var re = /a/;\n    re.exec = function () { execCalled = true; return null; };\n    if (KEY === 'split') {\n      // RegExp[@@split] doesn't call the regex's exec method, but first creates\n      // a new one. We need to return the patched regex when creating the new one.\n      re.constructor = {};\n      re.constructor[SPECIES] = function () { return re; };\n    }\n    re[SYMBOL]('');\n    return !execCalled;\n  }) : undefined;\n\n  if (\n    !DELEGATES_TO_SYMBOL ||\n    !DELEGATES_TO_EXEC ||\n    (KEY === 'replace' && !REPLACE_SUPPORTS_NAMED_GROUPS) ||\n    (KEY === 'split' && !SPLIT_WORKS_WITH_OVERWRITTEN_EXEC)\n  ) {\n    var nativeRegExpMethod = /./[SYMBOL];\n    var fns = exec(\n      defined,\n      SYMBOL,\n      ''[KEY],\n      function maybeCallNative(nativeMethod, regexp, str, arg2, forceStringMethod) {\n        if (regexp.exec === regexpExec) {\n          if (DELEGATES_TO_SYMBOL && !forceStringMethod) {\n            // The native String method already delegates to @@method (this\n            // polyfilled function), leasing to infinite recursion.\n            // We avoid it by directly calling the native @@method method.\n            return { done: true, value: nativeRegExpMethod.call(regexp, str, arg2) };\n          }\n          return { done: true, value: nativeMethod.call(str, regexp, arg2) };\n        }\n        return { done: false };\n      }\n    );\n    var strfn = fns[0];\n    var rxfn = fns[1];\n\n    redefine(String.prototype, KEY, strfn);\n    hide(RegExp.prototype, SYMBOL, length == 2\n      // 21.2.5.8 RegExp.prototype[@@replace](string, replaceValue)\n      // 21.2.5.11 RegExp.prototype[@@split](string, limit)\n      ? function (string, arg) { return rxfn.call(string, this, arg); }\n      // 21.2.5.6 RegExp.prototype[@@match](string)\n      // 21.2.5.9 RegExp.prototype[@@search](string)\n      : function (string) { return rxfn.call(string, this); }\n    );\n  }\n};\n\n},{\"116\":116,\"118\":118,\"150\":150,\"246\":246,\"55\":55,\"62\":62,\"70\":70}],64:[function(_dereq_,module,exports){\n'use strict';\n// 21.2.5.3 get RegExp.prototype.flags\nvar anObject = _dereq_(36);\nmodule.exports = function () {\n  var that = anObject(this);\n  var result = '';\n  if (that.global) result += 'g';\n  if (that.ignoreCase) result += 'i';\n  if (that.multiline) result += 'm';\n  if (that.unicode) result += 'u';\n  if (that.sticky) result += 'y';\n  return result;\n};\n\n},{\"36\":36}],65:[function(_dereq_,module,exports){\n'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-FlattenIntoArray\nvar isArray = _dereq_(77);\nvar isObject = _dereq_(79);\nvar toLength = _dereq_(139);\nvar ctx = _dereq_(52);\nvar IS_CONCAT_SPREADABLE = _dereq_(150)('isConcatSpreadable');\n\nfunction flattenIntoArray(target, original, source, sourceLen, start, depth, mapper, thisArg) {\n  var targetIndex = start;\n  var sourceIndex = 0;\n  var mapFn = mapper ? ctx(mapper, thisArg, 3) : false;\n  var element, spreadable;\n\n  while (sourceIndex < sourceLen) {\n    if (sourceIndex in source) {\n      element = mapFn ? mapFn(source[sourceIndex], sourceIndex, original) : source[sourceIndex];\n\n      spreadable = false;\n      if (isObject(element)) {\n        spreadable = element[IS_CONCAT_SPREADABLE];\n        spreadable = spreadable !== undefined ? !!spreadable : isArray(element);\n      }\n\n      if (spreadable && depth > 0) {\n        targetIndex = flattenIntoArray(target, original, element, toLength(element.length), targetIndex, depth - 1) - 1;\n      } else {\n        if (targetIndex >= 0x1fffffffffffff) throw TypeError();\n        target[targetIndex] = element;\n      }\n\n      targetIndex++;\n    }\n    sourceIndex++;\n  }\n  return targetIndex;\n}\n\nmodule.exports = flattenIntoArray;\n\n},{\"139\":139,\"150\":150,\"52\":52,\"77\":77,\"79\":79}],66:[function(_dereq_,module,exports){\nvar ctx = _dereq_(52);\nvar call = _dereq_(81);\nvar isArrayIter = _dereq_(76);\nvar anObject = _dereq_(36);\nvar toLength = _dereq_(139);\nvar getIterFn = _dereq_(151);\nvar BREAK = {};\nvar RETURN = {};\nvar exports = module.exports = function (iterable, entries, fn, that, ITERATOR) {\n  var iterFn = ITERATOR ? function () { return iterable; } : getIterFn(iterable);\n  var f = ctx(fn, that, entries ? 2 : 1);\n  var index = 0;\n  var length, step, iterator, result;\n  if (typeof iterFn != 'function') throw TypeError(iterable + ' is not iterable!');\n  // fast case for arrays with default iterator\n  if (isArrayIter(iterFn)) for (length = toLength(iterable.length); length > index; index++) {\n    result = entries ? f(anObject(step = iterable[index])[0], step[1]) : f(iterable[index]);\n    if (result === BREAK || result === RETURN) return result;\n  } else for (iterator = iterFn.call(iterable); !(step = iterator.next()).done;) {\n    result = call(iterator, f, step.value, entries);\n    if (result === BREAK || result === RETURN) return result;\n  }\n};\nexports.BREAK = BREAK;\nexports.RETURN = RETURN;\n\n},{\"139\":139,\"151\":151,\"36\":36,\"52\":52,\"76\":76,\"81\":81}],67:[function(_dereq_,module,exports){\nmodule.exports = _dereq_(124)('native-function-to-string', Function.toString);\n\n},{\"124\":124}],68:[function(_dereq_,module,exports){\narguments[4][22][0].apply(exports,arguments)\n},{\"22\":22}],69:[function(_dereq_,module,exports){\narguments[4][23][0].apply(exports,arguments)\n},{\"23\":23}],70:[function(_dereq_,module,exports){\narguments[4][24][0].apply(exports,arguments)\n},{\"114\":114,\"24\":24,\"56\":56,\"97\":97}],71:[function(_dereq_,module,exports){\nvar document = _dereq_(68).document;\nmodule.exports = document && document.documentElement;\n\n},{\"68\":68}],72:[function(_dereq_,module,exports){\narguments[4][25][0].apply(exports,arguments)\n},{\"25\":25,\"56\":56,\"57\":57,\"62\":62}],73:[function(_dereq_,module,exports){\nvar isObject = _dereq_(79);\nvar setPrototypeOf = _dereq_(120).set;\nmodule.exports = function (that, target, C) {\n  var S = target.constructor;\n  var P;\n  if (S !== C && typeof S == 'function' && (P = S.prototype) !== C.prototype && isObject(P) && setPrototypeOf) {\n    setPrototypeOf(that, P);\n  } return that;\n};\n\n},{\"120\":120,\"79\":79}],74:[function(_dereq_,module,exports){\n// fast apply, http://jsperf.lnkit.com/fast-apply/5\nmodule.exports = function (fn, args, that) {\n  var un = that === undefined;\n  switch (args.length) {\n    case 0: return un ? fn()\n                      : fn.call(that);\n    case 1: return un ? fn(args[0])\n                      : fn.call(that, args[0]);\n    case 2: return un ? fn(args[0], args[1])\n                      : fn.call(that, args[0], args[1]);\n    case 3: return un ? fn(args[0], args[1], args[2])\n                      : fn.call(that, args[0], args[1], args[2]);\n    case 4: return un ? fn(args[0], args[1], args[2], args[3])\n                      : fn.call(that, args[0], args[1], args[2], args[3]);\n  } return fn.apply(that, args);\n};\n\n},{}],75:[function(_dereq_,module,exports){\n// fallback for non-array-like ES3 and non-enumerable old V8 strings\nvar cof = _dereq_(46);\n// eslint-disable-next-line no-prototype-builtins\nmodule.exports = Object('z').propertyIsEnumerable(0) ? Object : function (it) {\n  return cof(it) == 'String' ? it.split('') : Object(it);\n};\n\n},{\"46\":46}],76:[function(_dereq_,module,exports){\n// check on default Array iterator\nvar Iterators = _dereq_(86);\nvar ITERATOR = _dereq_(150)('iterator');\nvar ArrayProto = Array.prototype;\n\nmodule.exports = function (it) {\n  return it !== undefined && (Iterators.Array === it || ArrayProto[ITERATOR] === it);\n};\n\n},{\"150\":150,\"86\":86}],77:[function(_dereq_,module,exports){\n// 7.2.2 IsArray(argument)\nvar cof = _dereq_(46);\nmodule.exports = Array.isArray || function isArray(arg) {\n  return cof(arg) == 'Array';\n};\n\n},{\"46\":46}],78:[function(_dereq_,module,exports){\n// 20.1.2.3 Number.isInteger(number)\nvar isObject = _dereq_(79);\nvar floor = Math.floor;\nmodule.exports = function isInteger(it) {\n  return !isObject(it) && isFinite(it) && floor(it) === it;\n};\n\n},{\"79\":79}],79:[function(_dereq_,module,exports){\narguments[4][26][0].apply(exports,arguments)\n},{\"26\":26}],80:[function(_dereq_,module,exports){\n// 7.2.8 IsRegExp(argument)\nvar isObject = _dereq_(79);\nvar cof = _dereq_(46);\nvar MATCH = _dereq_(150)('match');\nmodule.exports = function (it) {\n  var isRegExp;\n  return isObject(it) && ((isRegExp = it[MATCH]) !== undefined ? !!isRegExp : cof(it) == 'RegExp');\n};\n\n},{\"150\":150,\"46\":46,\"79\":79}],81:[function(_dereq_,module,exports){\n// call something on iterator step with safe closing on error\nvar anObject = _dereq_(36);\nmodule.exports = function (iterator, fn, value, entries) {\n  try {\n    return entries ? fn(anObject(value)[0], value[1]) : fn(value);\n  // 7.4.6 IteratorClose(iterator, completion)\n  } catch (e) {\n    var ret = iterator['return'];\n    if (ret !== undefined) anObject(ret.call(iterator));\n    throw e;\n  }\n};\n\n},{\"36\":36}],82:[function(_dereq_,module,exports){\n'use strict';\nvar create = _dereq_(96);\nvar descriptor = _dereq_(114);\nvar setToStringTag = _dereq_(122);\nvar IteratorPrototype = {};\n\n// 25.1.2.1.1 %IteratorPrototype%[@@iterator]()\n_dereq_(70)(IteratorPrototype, _dereq_(150)('iterator'), function () { return this; });\n\nmodule.exports = function (Constructor, NAME, next) {\n  Constructor.prototype = create(IteratorPrototype, { next: descriptor(1, next) });\n  setToStringTag(Constructor, NAME + ' Iterator');\n};\n\n},{\"114\":114,\"122\":122,\"150\":150,\"70\":70,\"96\":96}],83:[function(_dereq_,module,exports){\n'use strict';\nvar LIBRARY = _dereq_(87);\nvar $export = _dereq_(60);\nvar redefine = _dereq_(116);\nvar hide = _dereq_(70);\nvar Iterators = _dereq_(86);\nvar $iterCreate = _dereq_(82);\nvar setToStringTag = _dereq_(122);\nvar getPrototypeOf = _dereq_(103);\nvar ITERATOR = _dereq_(150)('iterator');\nvar BUGGY = !([].keys && 'next' in [].keys()); // Safari has buggy iterators w/o `next`\nvar FF_ITERATOR = '@@iterator';\nvar KEYS = 'keys';\nvar VALUES = 'values';\n\nvar returnThis = function () { return this; };\n\nmodule.exports = function (Base, NAME, Constructor, next, DEFAULT, IS_SET, FORCED) {\n  $iterCreate(Constructor, NAME, next);\n  var getMethod = function (kind) {\n    if (!BUGGY && kind in proto) return proto[kind];\n    switch (kind) {\n      case KEYS: return function keys() { return new Constructor(this, kind); };\n      case VALUES: return function values() { return new Constructor(this, kind); };\n    } return function entries() { return new Constructor(this, kind); };\n  };\n  var TAG = NAME + ' Iterator';\n  var DEF_VALUES = DEFAULT == VALUES;\n  var VALUES_BUG = false;\n  var proto = Base.prototype;\n  var $native = proto[ITERATOR] || proto[FF_ITERATOR] || DEFAULT && proto[DEFAULT];\n  var $default = $native || getMethod(DEFAULT);\n  var $entries = DEFAULT ? !DEF_VALUES ? $default : getMethod('entries') : undefined;\n  var $anyNative = NAME == 'Array' ? proto.entries || $native : $native;\n  var methods, key, IteratorPrototype;\n  // Fix native\n  if ($anyNative) {\n    IteratorPrototype = getPrototypeOf($anyNative.call(new Base()));\n    if (IteratorPrototype !== Object.prototype && IteratorPrototype.next) {\n      // Set @@toStringTag to native iterators\n      setToStringTag(IteratorPrototype, TAG, true);\n      // fix for some old engines\n      if (!LIBRARY && typeof IteratorPrototype[ITERATOR] != 'function') hide(IteratorPrototype, ITERATOR, returnThis);\n    }\n  }\n  // fix Array#{values, @@iterator}.name in V8 / FF\n  if (DEF_VALUES && $native && $native.name !== VALUES) {\n    VALUES_BUG = true;\n    $default = function values() { return $native.call(this); };\n  }\n  // Define iterator\n  if ((!LIBRARY || FORCED) && (BUGGY || VALUES_BUG || !proto[ITERATOR])) {\n    hide(proto, ITERATOR, $default);\n  }\n  // Plug for library\n  Iterators[NAME] = $default;\n  Iterators[TAG] = returnThis;\n  if (DEFAULT) {\n    methods = {\n      values: DEF_VALUES ? $default : getMethod(VALUES),\n      keys: IS_SET ? $default : getMethod(KEYS),\n      entries: $entries\n    };\n    if (FORCED) for (key in methods) {\n      if (!(key in proto)) redefine(proto, key, methods[key]);\n    } else $export($export.P + $export.F * (BUGGY || VALUES_BUG), NAME, methods);\n  }\n  return methods;\n};\n\n},{\"103\":103,\"116\":116,\"122\":122,\"150\":150,\"60\":60,\"70\":70,\"82\":82,\"86\":86,\"87\":87}],84:[function(_dereq_,module,exports){\nvar ITERATOR = _dereq_(150)('iterator');\nvar SAFE_CLOSING = false;\n\ntry {\n  var riter = [7][ITERATOR]();\n  riter['return'] = function () { SAFE_CLOSING = true; };\n  // eslint-disable-next-line no-throw-literal\n  Array.from(riter, function () { throw 2; });\n} catch (e) { /* empty */ }\n\nmodule.exports = function (exec, skipClosing) {\n  if (!skipClosing && !SAFE_CLOSING) return false;\n  var safe = false;\n  try {\n    var arr = [7];\n    var iter = arr[ITERATOR]();\n    iter.next = function () { return { done: safe = true }; };\n    arr[ITERATOR] = function () { return iter; };\n    exec(arr);\n  } catch (e) { /* empty */ }\n  return safe;\n};\n\n},{\"150\":150}],85:[function(_dereq_,module,exports){\nmodule.exports = function (done, value) {\n  return { value: value, done: !!done };\n};\n\n},{}],86:[function(_dereq_,module,exports){\nmodule.exports = {};\n\n},{}],87:[function(_dereq_,module,exports){\nmodule.exports = false;\n\n},{}],88:[function(_dereq_,module,exports){\n// 20.2.2.14 Math.expm1(x)\nvar $expm1 = Math.expm1;\nmodule.exports = (!$expm1\n  // Old FF bug\n  || $expm1(10) > 22025.465794806719 || $expm1(10) < 22025.4657948067165168\n  // Tor Browser bug\n  || $expm1(-2e-17) != -2e-17\n) ? function expm1(x) {\n  return (x = +x) == 0 ? x : x > -1e-6 && x < 1e-6 ? x + x * x / 2 : Math.exp(x) - 1;\n} : $expm1;\n\n},{}],89:[function(_dereq_,module,exports){\n// 20.2.2.16 Math.fround(x)\nvar sign = _dereq_(91);\nvar pow = Math.pow;\nvar EPSILON = pow(2, -52);\nvar EPSILON32 = pow(2, -23);\nvar MAX32 = pow(2, 127) * (2 - EPSILON32);\nvar MIN32 = pow(2, -126);\n\nvar roundTiesToEven = function (n) {\n  return n + 1 / EPSILON - 1 / EPSILON;\n};\n\nmodule.exports = Math.fround || function fround(x) {\n  var $abs = Math.abs(x);\n  var $sign = sign(x);\n  var a, result;\n  if ($abs < MIN32) return $sign * roundTiesToEven($abs / MIN32 / EPSILON32) * MIN32 * EPSILON32;\n  a = (1 + EPSILON32 / EPSILON) * $abs;\n  result = a - (a - $abs);\n  // eslint-disable-next-line no-self-compare\n  if (result > MAX32 || result != result) return $sign * Infinity;\n  return $sign * result;\n};\n\n},{\"91\":91}],90:[function(_dereq_,module,exports){\n// 20.2.2.20 Math.log1p(x)\nmodule.exports = Math.log1p || function log1p(x) {\n  return (x = +x) > -1e-8 && x < 1e-8 ? x - x * x / 2 : Math.log(1 + x);\n};\n\n},{}],91:[function(_dereq_,module,exports){\n// 20.2.2.28 Math.sign(x)\nmodule.exports = Math.sign || function sign(x) {\n  // eslint-disable-next-line no-self-compare\n  return (x = +x) == 0 || x != x ? x : x < 0 ? -1 : 1;\n};\n\n},{}],92:[function(_dereq_,module,exports){\nvar META = _dereq_(145)('meta');\nvar isObject = _dereq_(79);\nvar has = _dereq_(69);\nvar setDesc = _dereq_(97).f;\nvar id = 0;\nvar isExtensible = Object.isExtensible || function () {\n  return true;\n};\nvar FREEZE = !_dereq_(62)(function () {\n  return isExtensible(Object.preventExtensions({}));\n});\nvar setMeta = function (it) {\n  setDesc(it, META, { value: {\n    i: 'O' + ++id, // object ID\n    w: {}          // weak collections IDs\n  } });\n};\nvar fastKey = function (it, create) {\n  // return primitive with prefix\n  if (!isObject(it)) return typeof it == 'symbol' ? it : (typeof it == 'string' ? 'S' : 'P') + it;\n  if (!has(it, META)) {\n    // can't set metadata to uncaught frozen object\n    if (!isExtensible(it)) return 'F';\n    // not necessary to add metadata\n    if (!create) return 'E';\n    // add missing metadata\n    setMeta(it);\n  // return object ID\n  } return it[META].i;\n};\nvar getWeak = function (it, create) {\n  if (!has(it, META)) {\n    // can't set metadata to uncaught frozen object\n    if (!isExtensible(it)) return true;\n    // not necessary to add metadata\n    if (!create) return false;\n    // add missing metadata\n    setMeta(it);\n  // return hash weak collections IDs\n  } return it[META].w;\n};\n// add metadata on freeze-family methods calling\nvar onFreeze = function (it) {\n  if (FREEZE && meta.NEED && isExtensible(it) && !has(it, META)) setMeta(it);\n  return it;\n};\nvar meta = module.exports = {\n  KEY: META,\n  NEED: false,\n  fastKey: fastKey,\n  getWeak: getWeak,\n  onFreeze: onFreeze\n};\n\n},{\"145\":145,\"62\":62,\"69\":69,\"79\":79,\"97\":97}],93:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar macrotask = _dereq_(134).set;\nvar Observer = global.MutationObserver || global.WebKitMutationObserver;\nvar process = global.process;\nvar Promise = global.Promise;\nvar isNode = _dereq_(46)(process) == 'process';\n\nmodule.exports = function () {\n  var head, last, notify;\n\n  var flush = function () {\n    var parent, fn;\n    if (isNode && (parent = process.domain)) parent.exit();\n    while (head) {\n      fn = head.fn;\n      head = head.next;\n      try {\n        fn();\n      } catch (e) {\n        if (head) notify();\n        else last = undefined;\n        throw e;\n      }\n    } last = undefined;\n    if (parent) parent.enter();\n  };\n\n  // Node.js\n  if (isNode) {\n    notify = function () {\n      process.nextTick(flush);\n    };\n  // browsers with MutationObserver, except iOS Safari - https://github.com/zloirock/core-js/issues/339\n  } else if (Observer && !(global.navigator && global.navigator.standalone)) {\n    var toggle = true;\n    var node = document.createTextNode('');\n    new Observer(flush).observe(node, { characterData: true }); // eslint-disable-line no-new\n    notify = function () {\n      node.data = toggle = !toggle;\n    };\n  // environments with maybe non-completely correct, but existent Promise\n  } else if (Promise && Promise.resolve) {\n    // Promise.resolve without an argument throws an error in LG WebOS 2\n    var promise = Promise.resolve(undefined);\n    notify = function () {\n      promise.then(flush);\n    };\n  // for other environments - macrotask based on:\n  // - setImmediate\n  // - MessageChannel\n  // - window.postMessag\n  // - onreadystatechange\n  // - setTimeout\n  } else {\n    notify = function () {\n      // strange IE + webpack dev server bug - use .call(global)\n      macrotask.call(global, flush);\n    };\n  }\n\n  return function (fn) {\n    var task = { fn: fn, next: undefined };\n    if (last) last.next = task;\n    if (!head) {\n      head = task;\n      notify();\n    } last = task;\n  };\n};\n\n},{\"134\":134,\"46\":46,\"68\":68}],94:[function(_dereq_,module,exports){\n'use strict';\n// 25.4.1.5 NewPromiseCapability(C)\nvar aFunction = _dereq_(31);\n\nfunction PromiseCapability(C) {\n  var resolve, reject;\n  this.promise = new C(function ($$resolve, $$reject) {\n    if (resolve !== undefined || reject !== undefined) throw TypeError('Bad Promise constructor');\n    resolve = $$resolve;\n    reject = $$reject;\n  });\n  this.resolve = aFunction(resolve);\n  this.reject = aFunction(reject);\n}\n\nmodule.exports.f = function (C) {\n  return new PromiseCapability(C);\n};\n\n},{\"31\":31}],95:[function(_dereq_,module,exports){\n'use strict';\n// 19.1.2.1 Object.assign(target, source, ...)\nvar DESCRIPTORS = _dereq_(56);\nvar getKeys = _dereq_(105);\nvar gOPS = _dereq_(102);\nvar pIE = _dereq_(106);\nvar toObject = _dereq_(140);\nvar IObject = _dereq_(75);\nvar $assign = Object.assign;\n\n// should work with symbols and should have deterministic property order (V8 bug)\nmodule.exports = !$assign || _dereq_(62)(function () {\n  var A = {};\n  var B = {};\n  // eslint-disable-next-line no-undef\n  var S = Symbol();\n  var K = 'abcdefghijklmnopqrst';\n  A[S] = 7;\n  K.split('').forEach(function (k) { B[k] = k; });\n  return $assign({}, A)[S] != 7 || Object.keys($assign({}, B)).join('') != K;\n}) ? function assign(target, source) { // eslint-disable-line no-unused-vars\n  var T = toObject(target);\n  var aLen = arguments.length;\n  var index = 1;\n  var getSymbols = gOPS.f;\n  var isEnum = pIE.f;\n  while (aLen > index) {\n    var S = IObject(arguments[index++]);\n    var keys = getSymbols ? getKeys(S).concat(getSymbols(S)) : getKeys(S);\n    var length = keys.length;\n    var j = 0;\n    var key;\n    while (length > j) {\n      key = keys[j++];\n      if (!DESCRIPTORS || isEnum.call(S, key)) T[key] = S[key];\n    }\n  } return T;\n} : $assign;\n\n},{\"102\":102,\"105\":105,\"106\":106,\"140\":140,\"56\":56,\"62\":62,\"75\":75}],96:[function(_dereq_,module,exports){\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\nvar anObject = _dereq_(36);\nvar dPs = _dereq_(98);\nvar enumBugKeys = _dereq_(58);\nvar IE_PROTO = _dereq_(123)('IE_PROTO');\nvar Empty = function () { /* empty */ };\nvar PROTOTYPE = 'prototype';\n\n// Create object with fake `null` prototype: use iframe Object with cleared prototype\nvar createDict = function () {\n  // Thrash, waste and sodomy: IE GC bug\n  var iframe = _dereq_(57)('iframe');\n  var i = enumBugKeys.length;\n  var lt = '<';\n  var gt = '>';\n  var iframeDocument;\n  iframe.style.display = 'none';\n  _dereq_(71).appendChild(iframe);\n  iframe.src = 'javascript:'; // eslint-disable-line no-script-url\n  // createDict = iframe.contentWindow.Object;\n  // html.removeChild(iframe);\n  iframeDocument = iframe.contentWindow.document;\n  iframeDocument.open();\n  iframeDocument.write(lt + 'script' + gt + 'document.F=Object' + lt + '/script' + gt);\n  iframeDocument.close();\n  createDict = iframeDocument.F;\n  while (i--) delete createDict[PROTOTYPE][enumBugKeys[i]];\n  return createDict();\n};\n\nmodule.exports = Object.create || function create(O, Properties) {\n  var result;\n  if (O !== null) {\n    Empty[PROTOTYPE] = anObject(O);\n    result = new Empty();\n    Empty[PROTOTYPE] = null;\n    // add \"__proto__\" for Object.getPrototypeOf polyfill\n    result[IE_PROTO] = O;\n  } else result = createDict();\n  return Properties === undefined ? result : dPs(result, Properties);\n};\n\n},{\"123\":123,\"36\":36,\"57\":57,\"58\":58,\"71\":71,\"98\":98}],97:[function(_dereq_,module,exports){\narguments[4][27][0].apply(exports,arguments)\n},{\"141\":141,\"27\":27,\"36\":36,\"56\":56,\"72\":72}],98:[function(_dereq_,module,exports){\nvar dP = _dereq_(97);\nvar anObject = _dereq_(36);\nvar getKeys = _dereq_(105);\n\nmodule.exports = _dereq_(56) ? Object.defineProperties : function defineProperties(O, Properties) {\n  anObject(O);\n  var keys = getKeys(Properties);\n  var length = keys.length;\n  var i = 0;\n  var P;\n  while (length > i) dP.f(O, P = keys[i++], Properties[P]);\n  return O;\n};\n\n},{\"105\":105,\"36\":36,\"56\":56,\"97\":97}],99:[function(_dereq_,module,exports){\nvar pIE = _dereq_(106);\nvar createDesc = _dereq_(114);\nvar toIObject = _dereq_(138);\nvar toPrimitive = _dereq_(141);\nvar has = _dereq_(69);\nvar IE8_DOM_DEFINE = _dereq_(72);\nvar gOPD = Object.getOwnPropertyDescriptor;\n\nexports.f = _dereq_(56) ? gOPD : function getOwnPropertyDescriptor(O, P) {\n  O = toIObject(O);\n  P = toPrimitive(P, true);\n  if (IE8_DOM_DEFINE) try {\n    return gOPD(O, P);\n  } catch (e) { /* empty */ }\n  if (has(O, P)) return createDesc(!pIE.f.call(O, P), O[P]);\n};\n\n},{\"106\":106,\"114\":114,\"138\":138,\"141\":141,\"56\":56,\"69\":69,\"72\":72}],100:[function(_dereq_,module,exports){\n// fallback for IE11 buggy Object.getOwnPropertyNames with iframe and window\nvar toIObject = _dereq_(138);\nvar gOPN = _dereq_(101).f;\nvar toString = {}.toString;\n\nvar windowNames = typeof window == 'object' && window && Object.getOwnPropertyNames\n  ? Object.getOwnPropertyNames(window) : [];\n\nvar getWindowNames = function (it) {\n  try {\n    return gOPN(it);\n  } catch (e) {\n    return windowNames.slice();\n  }\n};\n\nmodule.exports.f = function getOwnPropertyNames(it) {\n  return windowNames && toString.call(it) == '[object Window]' ? getWindowNames(it) : gOPN(toIObject(it));\n};\n\n},{\"101\":101,\"138\":138}],101:[function(_dereq_,module,exports){\n// 19.1.2.7 / 15.2.3.4 Object.getOwnPropertyNames(O)\nvar $keys = _dereq_(104);\nvar hiddenKeys = _dereq_(58).concat('length', 'prototype');\n\nexports.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {\n  return $keys(O, hiddenKeys);\n};\n\n},{\"104\":104,\"58\":58}],102:[function(_dereq_,module,exports){\nexports.f = Object.getOwnPropertySymbols;\n\n},{}],103:[function(_dereq_,module,exports){\n// 19.1.2.9 / 15.2.3.2 Object.getPrototypeOf(O)\nvar has = _dereq_(69);\nvar toObject = _dereq_(140);\nvar IE_PROTO = _dereq_(123)('IE_PROTO');\nvar ObjectProto = Object.prototype;\n\nmodule.exports = Object.getPrototypeOf || function (O) {\n  O = toObject(O);\n  if (has(O, IE_PROTO)) return O[IE_PROTO];\n  if (typeof O.constructor == 'function' && O instanceof O.constructor) {\n    return O.constructor.prototype;\n  } return O instanceof Object ? ObjectProto : null;\n};\n\n},{\"123\":123,\"140\":140,\"69\":69}],104:[function(_dereq_,module,exports){\nvar has = _dereq_(69);\nvar toIObject = _dereq_(138);\nvar arrayIndexOf = _dereq_(39)(false);\nvar IE_PROTO = _dereq_(123)('IE_PROTO');\n\nmodule.exports = function (object, names) {\n  var O = toIObject(object);\n  var i = 0;\n  var result = [];\n  var key;\n  for (key in O) if (key != IE_PROTO) has(O, key) && result.push(key);\n  // Don't enum bug & hidden keys\n  while (names.length > i) if (has(O, key = names[i++])) {\n    ~arrayIndexOf(result, key) || result.push(key);\n  }\n  return result;\n};\n\n},{\"123\":123,\"138\":138,\"39\":39,\"69\":69}],105:[function(_dereq_,module,exports){\n// 19.1.2.14 / 15.2.3.14 Object.keys(O)\nvar $keys = _dereq_(104);\nvar enumBugKeys = _dereq_(58);\n\nmodule.exports = Object.keys || function keys(O) {\n  return $keys(O, enumBugKeys);\n};\n\n},{\"104\":104,\"58\":58}],106:[function(_dereq_,module,exports){\nexports.f = {}.propertyIsEnumerable;\n\n},{}],107:[function(_dereq_,module,exports){\n// most Object methods by ES6 should accept primitives\nvar $export = _dereq_(60);\nvar core = _dereq_(50);\nvar fails = _dereq_(62);\nmodule.exports = function (KEY, exec) {\n  var fn = (core.Object || {})[KEY] || Object[KEY];\n  var exp = {};\n  exp[KEY] = exec(fn);\n  $export($export.S + $export.F * fails(function () { fn(1); }), 'Object', exp);\n};\n\n},{\"50\":50,\"60\":60,\"62\":62}],108:[function(_dereq_,module,exports){\nvar DESCRIPTORS = _dereq_(56);\nvar getKeys = _dereq_(105);\nvar toIObject = _dereq_(138);\nvar isEnum = _dereq_(106).f;\nmodule.exports = function (isEntries) {\n  return function (it) {\n    var O = toIObject(it);\n    var keys = getKeys(O);\n    var length = keys.length;\n    var i = 0;\n    var result = [];\n    var key;\n    while (length > i) {\n      key = keys[i++];\n      if (!DESCRIPTORS || isEnum.call(O, key)) {\n        result.push(isEntries ? [key, O[key]] : O[key]);\n      }\n    }\n    return result;\n  };\n};\n\n},{\"105\":105,\"106\":106,\"138\":138,\"56\":56}],109:[function(_dereq_,module,exports){\n// all object keys, includes non-enumerable and symbols\nvar gOPN = _dereq_(101);\nvar gOPS = _dereq_(102);\nvar anObject = _dereq_(36);\nvar Reflect = _dereq_(68).Reflect;\nmodule.exports = Reflect && Reflect.ownKeys || function ownKeys(it) {\n  var keys = gOPN.f(anObject(it));\n  var getSymbols = gOPS.f;\n  return getSymbols ? keys.concat(getSymbols(it)) : keys;\n};\n\n},{\"101\":101,\"102\":102,\"36\":36,\"68\":68}],110:[function(_dereq_,module,exports){\nvar $parseFloat = _dereq_(68).parseFloat;\nvar $trim = _dereq_(132).trim;\n\nmodule.exports = 1 / $parseFloat(_dereq_(133) + '-0') !== -Infinity ? function parseFloat(str) {\n  var string = $trim(String(str), 3);\n  var result = $parseFloat(string);\n  return result === 0 && string.charAt(0) == '-' ? -0 : result;\n} : $parseFloat;\n\n},{\"132\":132,\"133\":133,\"68\":68}],111:[function(_dereq_,module,exports){\nvar $parseInt = _dereq_(68).parseInt;\nvar $trim = _dereq_(132).trim;\nvar ws = _dereq_(133);\nvar hex = /^[-+]?0[xX]/;\n\nmodule.exports = $parseInt(ws + '08') !== 8 || $parseInt(ws + '0x16') !== 22 ? function parseInt(str, radix) {\n  var string = $trim(String(str), 3);\n  return $parseInt(string, (radix >>> 0) || (hex.test(string) ? 16 : 10));\n} : $parseInt;\n\n},{\"132\":132,\"133\":133,\"68\":68}],112:[function(_dereq_,module,exports){\nmodule.exports = function (exec) {\n  try {\n    return { e: false, v: exec() };\n  } catch (e) {\n    return { e: true, v: e };\n  }\n};\n\n},{}],113:[function(_dereq_,module,exports){\nvar anObject = _dereq_(36);\nvar isObject = _dereq_(79);\nvar newPromiseCapability = _dereq_(94);\n\nmodule.exports = function (C, x) {\n  anObject(C);\n  if (isObject(x) && x.constructor === C) return x;\n  var promiseCapability = newPromiseCapability.f(C);\n  var resolve = promiseCapability.resolve;\n  resolve(x);\n  return promiseCapability.promise;\n};\n\n},{\"36\":36,\"79\":79,\"94\":94}],114:[function(_dereq_,module,exports){\narguments[4][28][0].apply(exports,arguments)\n},{\"28\":28}],115:[function(_dereq_,module,exports){\nvar redefine = _dereq_(116);\nmodule.exports = function (target, src, safe) {\n  for (var key in src) redefine(target, key, src[key], safe);\n  return target;\n};\n\n},{\"116\":116}],116:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar hide = _dereq_(70);\nvar has = _dereq_(69);\nvar SRC = _dereq_(145)('src');\nvar $toString = _dereq_(67);\nvar TO_STRING = 'toString';\nvar TPL = ('' + $toString).split(TO_STRING);\n\n_dereq_(50).inspectSource = function (it) {\n  return $toString.call(it);\n};\n\n(module.exports = function (O, key, val, safe) {\n  var isFunction = typeof val == 'function';\n  if (isFunction) has(val, 'name') || hide(val, 'name', key);\n  if (O[key] === val) return;\n  if (isFunction) has(val, SRC) || hide(val, SRC, O[key] ? '' + O[key] : TPL.join(String(key)));\n  if (O === global) {\n    O[key] = val;\n  } else if (!safe) {\n    delete O[key];\n    hide(O, key, val);\n  } else if (O[key]) {\n    O[key] = val;\n  } else {\n    hide(O, key, val);\n  }\n// add fake Function#toString for correct work wrapped methods / constructors with methods like LoDash isNative\n})(Function.prototype, TO_STRING, function toString() {\n  return typeof this == 'function' && this[SRC] || $toString.call(this);\n});\n\n},{\"145\":145,\"50\":50,\"67\":67,\"68\":68,\"69\":69,\"70\":70}],117:[function(_dereq_,module,exports){\n'use strict';\n\nvar classof = _dereq_(45);\nvar builtinExec = RegExp.prototype.exec;\n\n // `RegExpExec` abstract operation\n// https://tc39.github.io/ecma262/#sec-regexpexec\nmodule.exports = function (R, S) {\n  var exec = R.exec;\n  if (typeof exec === 'function') {\n    var result = exec.call(R, S);\n    if (typeof result !== 'object') {\n      throw new TypeError('RegExp exec method returned something other than an Object or null');\n    }\n    return result;\n  }\n  if (classof(R) !== 'RegExp') {\n    throw new TypeError('RegExp#exec called on incompatible receiver');\n  }\n  return builtinExec.call(R, S);\n};\n\n},{\"45\":45}],118:[function(_dereq_,module,exports){\n'use strict';\n\nvar regexpFlags = _dereq_(64);\n\nvar nativeExec = RegExp.prototype.exec;\n// This always refers to the native implementation, because the\n// String#replace polyfill uses ./fix-regexp-well-known-symbol-logic.js,\n// which loads this file before patching the method.\nvar nativeReplace = String.prototype.replace;\n\nvar patchedExec = nativeExec;\n\nvar LAST_INDEX = 'lastIndex';\n\nvar UPDATES_LAST_INDEX_WRONG = (function () {\n  var re1 = /a/,\n      re2 = /b*/g;\n  nativeExec.call(re1, 'a');\n  nativeExec.call(re2, 'a');\n  return re1[LAST_INDEX] !== 0 || re2[LAST_INDEX] !== 0;\n})();\n\n// nonparticipating capturing group, copied from es5-shim's String#split patch.\nvar NPCG_INCLUDED = /()??/.exec('')[1] !== undefined;\n\nvar PATCH = UPDATES_LAST_INDEX_WRONG || NPCG_INCLUDED;\n\nif (PATCH) {\n  patchedExec = function exec(str) {\n    var re = this;\n    var lastIndex, reCopy, match, i;\n\n    if (NPCG_INCLUDED) {\n      reCopy = new RegExp('^' + re.source + '$(?!\\\\s)', regexpFlags.call(re));\n    }\n    if (UPDATES_LAST_INDEX_WRONG) lastIndex = re[LAST_INDEX];\n\n    match = nativeExec.call(re, str);\n\n    if (UPDATES_LAST_INDEX_WRONG && match) {\n      re[LAST_INDEX] = re.global ? match.index + match[0].length : lastIndex;\n    }\n    if (NPCG_INCLUDED && match && match.length > 1) {\n      // Fix browsers whose `exec` methods don't consistently return `undefined`\n      // for NPCG, like IE8. NOTE: This doesn' work for /(.?)?/\n      // eslint-disable-next-line no-loop-func\n      nativeReplace.call(match[0], reCopy, function () {\n        for (i = 1; i < arguments.length - 2; i++) {\n          if (arguments[i] === undefined) match[i] = undefined;\n        }\n      });\n    }\n\n    return match;\n  };\n}\n\nmodule.exports = patchedExec;\n\n},{\"64\":64}],119:[function(_dereq_,module,exports){\n// 7.2.9 SameValue(x, y)\nmodule.exports = Object.is || function is(x, y) {\n  // eslint-disable-next-line no-self-compare\n  return x === y ? x !== 0 || 1 / x === 1 / y : x != x && y != y;\n};\n\n},{}],120:[function(_dereq_,module,exports){\n// Works with __proto__ only. Old v8 can't work with null proto objects.\n/* eslint-disable no-proto */\nvar isObject = _dereq_(79);\nvar anObject = _dereq_(36);\nvar check = function (O, proto) {\n  anObject(O);\n  if (!isObject(proto) && proto !== null) throw TypeError(proto + \": can't set as prototype!\");\n};\nmodule.exports = {\n  set: Object.setPrototypeOf || ('__proto__' in {} ? // eslint-disable-line\n    function (test, buggy, set) {\n      try {\n        set = _dereq_(52)(Function.call, _dereq_(99).f(Object.prototype, '__proto__').set, 2);\n        set(test, []);\n        buggy = !(test instanceof Array);\n      } catch (e) { buggy = true; }\n      return function setPrototypeOf(O, proto) {\n        check(O, proto);\n        if (buggy) O.__proto__ = proto;\n        else set(O, proto);\n        return O;\n      };\n    }({}, false) : undefined),\n  check: check\n};\n\n},{\"36\":36,\"52\":52,\"79\":79,\"99\":99}],121:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(68);\nvar dP = _dereq_(97);\nvar DESCRIPTORS = _dereq_(56);\nvar SPECIES = _dereq_(150)('species');\n\nmodule.exports = function (KEY) {\n  var C = global[KEY];\n  if (DESCRIPTORS && C && !C[SPECIES]) dP.f(C, SPECIES, {\n    configurable: true,\n    get: function () { return this; }\n  });\n};\n\n},{\"150\":150,\"56\":56,\"68\":68,\"97\":97}],122:[function(_dereq_,module,exports){\nvar def = _dereq_(97).f;\nvar has = _dereq_(69);\nvar TAG = _dereq_(150)('toStringTag');\n\nmodule.exports = function (it, tag, stat) {\n  if (it && !has(it = stat ? it : it.prototype, TAG)) def(it, TAG, { configurable: true, value: tag });\n};\n\n},{\"150\":150,\"69\":69,\"97\":97}],123:[function(_dereq_,module,exports){\nvar shared = _dereq_(124)('keys');\nvar uid = _dereq_(145);\nmodule.exports = function (key) {\n  return shared[key] || (shared[key] = uid(key));\n};\n\n},{\"124\":124,\"145\":145}],124:[function(_dereq_,module,exports){\nvar core = _dereq_(50);\nvar global = _dereq_(68);\nvar SHARED = '__core-js_shared__';\nvar store = global[SHARED] || (global[SHARED] = {});\n\n(module.exports = function (key, value) {\n  return store[key] || (store[key] = value !== undefined ? value : {});\n})('versions', []).push({\n  version: core.version,\n  mode: _dereq_(87) ? 'pure' : 'global',\n  copyright: '© 2019 Denis Pushkarev (zloirock.ru)'\n});\n\n},{\"50\":50,\"68\":68,\"87\":87}],125:[function(_dereq_,module,exports){\n// 7.3.20 SpeciesConstructor(O, defaultConstructor)\nvar anObject = _dereq_(36);\nvar aFunction = _dereq_(31);\nvar SPECIES = _dereq_(150)('species');\nmodule.exports = function (O, D) {\n  var C = anObject(O).constructor;\n  var S;\n  return C === undefined || (S = anObject(C)[SPECIES]) == undefined ? D : aFunction(S);\n};\n\n},{\"150\":150,\"31\":31,\"36\":36}],126:[function(_dereq_,module,exports){\n'use strict';\nvar fails = _dereq_(62);\n\nmodule.exports = function (method, arg) {\n  return !!method && fails(function () {\n    // eslint-disable-next-line no-useless-call\n    arg ? method.call(null, function () { /* empty */ }, 1) : method.call(null);\n  });\n};\n\n},{\"62\":62}],127:[function(_dereq_,module,exports){\nvar toInteger = _dereq_(137);\nvar defined = _dereq_(55);\n// true  -> String#at\n// false -> String#codePointAt\nmodule.exports = function (TO_STRING) {\n  return function (that, pos) {\n    var s = String(defined(that));\n    var i = toInteger(pos);\n    var l = s.length;\n    var a, b;\n    if (i < 0 || i >= l) return TO_STRING ? '' : undefined;\n    a = s.charCodeAt(i);\n    return a < 0xd800 || a > 0xdbff || i + 1 === l || (b = s.charCodeAt(i + 1)) < 0xdc00 || b > 0xdfff\n      ? TO_STRING ? s.charAt(i) : a\n      : TO_STRING ? s.slice(i, i + 2) : (a - 0xd800 << 10) + (b - 0xdc00) + 0x10000;\n  };\n};\n\n},{\"137\":137,\"55\":55}],128:[function(_dereq_,module,exports){\n// helper for String#{startsWith, endsWith, includes}\nvar isRegExp = _dereq_(80);\nvar defined = _dereq_(55);\n\nmodule.exports = function (that, searchString, NAME) {\n  if (isRegExp(searchString)) throw TypeError('String#' + NAME + \" doesn't accept regex!\");\n  return String(defined(that));\n};\n\n},{\"55\":55,\"80\":80}],129:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar fails = _dereq_(62);\nvar defined = _dereq_(55);\nvar quot = /\"/g;\n// B.2.3.2.1 CreateHTML(string, tag, attribute, value)\nvar createHTML = function (string, tag, attribute, value) {\n  var S = String(defined(string));\n  var p1 = '<' + tag;\n  if (attribute !== '') p1 += ' ' + attribute + '=\"' + String(value).replace(quot, '&quot;') + '\"';\n  return p1 + '>' + S + '</' + tag + '>';\n};\nmodule.exports = function (NAME, exec) {\n  var O = {};\n  O[NAME] = exec(createHTML);\n  $export($export.P + $export.F * fails(function () {\n    var test = ''[NAME]('\"');\n    return test !== test.toLowerCase() || test.split('\"').length > 3;\n  }), 'String', O);\n};\n\n},{\"55\":55,\"60\":60,\"62\":62}],130:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-string-pad-start-end\nvar toLength = _dereq_(139);\nvar repeat = _dereq_(131);\nvar defined = _dereq_(55);\n\nmodule.exports = function (that, maxLength, fillString, left) {\n  var S = String(defined(that));\n  var stringLength = S.length;\n  var fillStr = fillString === undefined ? ' ' : String(fillString);\n  var intMaxLength = toLength(maxLength);\n  if (intMaxLength <= stringLength || fillStr == '') return S;\n  var fillLen = intMaxLength - stringLength;\n  var stringFiller = repeat.call(fillStr, Math.ceil(fillLen / fillStr.length));\n  if (stringFiller.length > fillLen) stringFiller = stringFiller.slice(0, fillLen);\n  return left ? stringFiller + S : S + stringFiller;\n};\n\n},{\"131\":131,\"139\":139,\"55\":55}],131:[function(_dereq_,module,exports){\n'use strict';\nvar toInteger = _dereq_(137);\nvar defined = _dereq_(55);\n\nmodule.exports = function repeat(count) {\n  var str = String(defined(this));\n  var res = '';\n  var n = toInteger(count);\n  if (n < 0 || n == Infinity) throw RangeError(\"Count can't be negative\");\n  for (;n > 0; (n >>>= 1) && (str += str)) if (n & 1) res += str;\n  return res;\n};\n\n},{\"137\":137,\"55\":55}],132:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar defined = _dereq_(55);\nvar fails = _dereq_(62);\nvar spaces = _dereq_(133);\nvar space = '[' + spaces + ']';\nvar non = '\\u200b\\u0085';\nvar ltrim = RegExp('^' + space + space + '*');\nvar rtrim = RegExp(space + space + '*$');\n\nvar exporter = function (KEY, exec, ALIAS) {\n  var exp = {};\n  var FORCE = fails(function () {\n    return !!spaces[KEY]() || non[KEY]() != non;\n  });\n  var fn = exp[KEY] = FORCE ? exec(trim) : spaces[KEY];\n  if (ALIAS) exp[ALIAS] = fn;\n  $export($export.P + $export.F * FORCE, 'String', exp);\n};\n\n// 1 -> String#trimLeft\n// 2 -> String#trimRight\n// 3 -> String#trim\nvar trim = exporter.trim = function (string, TYPE) {\n  string = String(defined(string));\n  if (TYPE & 1) string = string.replace(ltrim, '');\n  if (TYPE & 2) string = string.replace(rtrim, '');\n  return string;\n};\n\nmodule.exports = exporter;\n\n},{\"133\":133,\"55\":55,\"60\":60,\"62\":62}],133:[function(_dereq_,module,exports){\nmodule.exports = '\\x09\\x0A\\x0B\\x0C\\x0D\\x20\\xA0\\u1680\\u180E\\u2000\\u2001\\u2002\\u2003' +\n  '\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200A\\u202F\\u205F\\u3000\\u2028\\u2029\\uFEFF';\n\n},{}],134:[function(_dereq_,module,exports){\nvar ctx = _dereq_(52);\nvar invoke = _dereq_(74);\nvar html = _dereq_(71);\nvar cel = _dereq_(57);\nvar global = _dereq_(68);\nvar process = global.process;\nvar setTask = global.setImmediate;\nvar clearTask = global.clearImmediate;\nvar MessageChannel = global.MessageChannel;\nvar Dispatch = global.Dispatch;\nvar counter = 0;\nvar queue = {};\nvar ONREADYSTATECHANGE = 'onreadystatechange';\nvar defer, channel, port;\nvar run = function () {\n  var id = +this;\n  // eslint-disable-next-line no-prototype-builtins\n  if (queue.hasOwnProperty(id)) {\n    var fn = queue[id];\n    delete queue[id];\n    fn();\n  }\n};\nvar listener = function (event) {\n  run.call(event.data);\n};\n// Node.js 0.9+ & IE10+ has setImmediate, otherwise:\nif (!setTask || !clearTask) {\n  setTask = function setImmediate(fn) {\n    var args = [];\n    var i = 1;\n    while (arguments.length > i) args.push(arguments[i++]);\n    queue[++counter] = function () {\n      // eslint-disable-next-line no-new-func\n      invoke(typeof fn == 'function' ? fn : Function(fn), args);\n    };\n    defer(counter);\n    return counter;\n  };\n  clearTask = function clearImmediate(id) {\n    delete queue[id];\n  };\n  // Node.js 0.8-\n  if (_dereq_(46)(process) == 'process') {\n    defer = function (id) {\n      process.nextTick(ctx(run, id, 1));\n    };\n  // Sphere (JS game engine) Dispatch API\n  } else if (Dispatch && Dispatch.now) {\n    defer = function (id) {\n      Dispatch.now(ctx(run, id, 1));\n    };\n  // Browsers with MessageChannel, includes WebWorkers\n  } else if (MessageChannel) {\n    channel = new MessageChannel();\n    port = channel.port2;\n    channel.port1.onmessage = listener;\n    defer = ctx(port.postMessage, port, 1);\n  // Browsers with postMessage, skip WebWorkers\n  // IE8 has postMessage, but it's sync & typeof its postMessage is 'object'\n  } else if (global.addEventListener && typeof postMessage == 'function' && !global.importScripts) {\n    defer = function (id) {\n      global.postMessage(id + '', '*');\n    };\n    global.addEventListener('message', listener, false);\n  // IE8-\n  } else if (ONREADYSTATECHANGE in cel('script')) {\n    defer = function (id) {\n      html.appendChild(cel('script'))[ONREADYSTATECHANGE] = function () {\n        html.removeChild(this);\n        run.call(id);\n      };\n    };\n  // Rest old browsers\n  } else {\n    defer = function (id) {\n      setTimeout(ctx(run, id, 1), 0);\n    };\n  }\n}\nmodule.exports = {\n  set: setTask,\n  clear: clearTask\n};\n\n},{\"46\":46,\"52\":52,\"57\":57,\"68\":68,\"71\":71,\"74\":74}],135:[function(_dereq_,module,exports){\nvar toInteger = _dereq_(137);\nvar max = Math.max;\nvar min = Math.min;\nmodule.exports = function (index, length) {\n  index = toInteger(index);\n  return index < 0 ? max(index + length, 0) : min(index, length);\n};\n\n},{\"137\":137}],136:[function(_dereq_,module,exports){\n// https://tc39.github.io/ecma262/#sec-toindex\nvar toInteger = _dereq_(137);\nvar toLength = _dereq_(139);\nmodule.exports = function (it) {\n  if (it === undefined) return 0;\n  var number = toInteger(it);\n  var length = toLength(number);\n  if (number !== length) throw RangeError('Wrong length!');\n  return length;\n};\n\n},{\"137\":137,\"139\":139}],137:[function(_dereq_,module,exports){\n// 7.1.4 ToInteger\nvar ceil = Math.ceil;\nvar floor = Math.floor;\nmodule.exports = function (it) {\n  return isNaN(it = +it) ? 0 : (it > 0 ? floor : ceil)(it);\n};\n\n},{}],138:[function(_dereq_,module,exports){\n// to indexed object, toObject with fallback for non-array-like ES3 strings\nvar IObject = _dereq_(75);\nvar defined = _dereq_(55);\nmodule.exports = function (it) {\n  return IObject(defined(it));\n};\n\n},{\"55\":55,\"75\":75}],139:[function(_dereq_,module,exports){\n// 7.1.15 ToLength\nvar toInteger = _dereq_(137);\nvar min = Math.min;\nmodule.exports = function (it) {\n  return it > 0 ? min(toInteger(it), 0x1fffffffffffff) : 0; // pow(2, 53) - 1 == 9007199254740991\n};\n\n},{\"137\":137}],140:[function(_dereq_,module,exports){\n// 7.1.13 ToObject(argument)\nvar defined = _dereq_(55);\nmodule.exports = function (it) {\n  return Object(defined(it));\n};\n\n},{\"55\":55}],141:[function(_dereq_,module,exports){\narguments[4][29][0].apply(exports,arguments)\n},{\"29\":29,\"79\":79}],142:[function(_dereq_,module,exports){\n'use strict';\nif (_dereq_(56)) {\n  var LIBRARY = _dereq_(87);\n  var global = _dereq_(68);\n  var fails = _dereq_(62);\n  var $export = _dereq_(60);\n  var $typed = _dereq_(144);\n  var $buffer = _dereq_(143);\n  var ctx = _dereq_(52);\n  var anInstance = _dereq_(35);\n  var propertyDesc = _dereq_(114);\n  var hide = _dereq_(70);\n  var redefineAll = _dereq_(115);\n  var toInteger = _dereq_(137);\n  var toLength = _dereq_(139);\n  var toIndex = _dereq_(136);\n  var toAbsoluteIndex = _dereq_(135);\n  var toPrimitive = _dereq_(141);\n  var has = _dereq_(69);\n  var classof = _dereq_(45);\n  var isObject = _dereq_(79);\n  var toObject = _dereq_(140);\n  var isArrayIter = _dereq_(76);\n  var create = _dereq_(96);\n  var getPrototypeOf = _dereq_(103);\n  var gOPN = _dereq_(101).f;\n  var getIterFn = _dereq_(151);\n  var uid = _dereq_(145);\n  var wks = _dereq_(150);\n  var createArrayMethod = _dereq_(40);\n  var createArrayIncludes = _dereq_(39);\n  var speciesConstructor = _dereq_(125);\n  var ArrayIterators = _dereq_(162);\n  var Iterators = _dereq_(86);\n  var $iterDetect = _dereq_(84);\n  var setSpecies = _dereq_(121);\n  var arrayFill = _dereq_(38);\n  var arrayCopyWithin = _dereq_(37);\n  var $DP = _dereq_(97);\n  var $GOPD = _dereq_(99);\n  var dP = $DP.f;\n  var gOPD = $GOPD.f;\n  var RangeError = global.RangeError;\n  var TypeError = global.TypeError;\n  var Uint8Array = global.Uint8Array;\n  var ARRAY_BUFFER = 'ArrayBuffer';\n  var SHARED_BUFFER = 'Shared' + ARRAY_BUFFER;\n  var BYTES_PER_ELEMENT = 'BYTES_PER_ELEMENT';\n  var PROTOTYPE = 'prototype';\n  var ArrayProto = Array[PROTOTYPE];\n  var $ArrayBuffer = $buffer.ArrayBuffer;\n  var $DataView = $buffer.DataView;\n  var arrayForEach = createArrayMethod(0);\n  var arrayFilter = createArrayMethod(2);\n  var arraySome = createArrayMethod(3);\n  var arrayEvery = createArrayMethod(4);\n  var arrayFind = createArrayMethod(5);\n  var arrayFindIndex = createArrayMethod(6);\n  var arrayIncludes = createArrayIncludes(true);\n  var arrayIndexOf = createArrayIncludes(false);\n  var arrayValues = ArrayIterators.values;\n  var arrayKeys = ArrayIterators.keys;\n  var arrayEntries = ArrayIterators.entries;\n  var arrayLastIndexOf = ArrayProto.lastIndexOf;\n  var arrayReduce = ArrayProto.reduce;\n  var arrayReduceRight = ArrayProto.reduceRight;\n  var arrayJoin = ArrayProto.join;\n  var arraySort = ArrayProto.sort;\n  var arraySlice = ArrayProto.slice;\n  var arrayToString = ArrayProto.toString;\n  var arrayToLocaleString = ArrayProto.toLocaleString;\n  var ITERATOR = wks('iterator');\n  var TAG = wks('toStringTag');\n  var TYPED_CONSTRUCTOR = uid('typed_constructor');\n  var DEF_CONSTRUCTOR = uid('def_constructor');\n  var ALL_CONSTRUCTORS = $typed.CONSTR;\n  var TYPED_ARRAY = $typed.TYPED;\n  var VIEW = $typed.VIEW;\n  var WRONG_LENGTH = 'Wrong length!';\n\n  var $map = createArrayMethod(1, function (O, length) {\n    return allocate(speciesConstructor(O, O[DEF_CONSTRUCTOR]), length);\n  });\n\n  var LITTLE_ENDIAN = fails(function () {\n    // eslint-disable-next-line no-undef\n    return new Uint8Array(new Uint16Array([1]).buffer)[0] === 1;\n  });\n\n  var FORCED_SET = !!Uint8Array && !!Uint8Array[PROTOTYPE].set && fails(function () {\n    new Uint8Array(1).set({});\n  });\n\n  var toOffset = function (it, BYTES) {\n    var offset = toInteger(it);\n    if (offset < 0 || offset % BYTES) throw RangeError('Wrong offset!');\n    return offset;\n  };\n\n  var validate = function (it) {\n    if (isObject(it) && TYPED_ARRAY in it) return it;\n    throw TypeError(it + ' is not a typed array!');\n  };\n\n  var allocate = function (C, length) {\n    if (!(isObject(C) && TYPED_CONSTRUCTOR in C)) {\n      throw TypeError('It is not a typed array constructor!');\n    } return new C(length);\n  };\n\n  var speciesFromList = function (O, list) {\n    return fromList(speciesConstructor(O, O[DEF_CONSTRUCTOR]), list);\n  };\n\n  var fromList = function (C, list) {\n    var index = 0;\n    var length = list.length;\n    var result = allocate(C, length);\n    while (length > index) result[index] = list[index++];\n    return result;\n  };\n\n  var addGetter = function (it, key, internal) {\n    dP(it, key, { get: function () { return this._d[internal]; } });\n  };\n\n  var $from = function from(source /* , mapfn, thisArg */) {\n    var O = toObject(source);\n    var aLen = arguments.length;\n    var mapfn = aLen > 1 ? arguments[1] : undefined;\n    var mapping = mapfn !== undefined;\n    var iterFn = getIterFn(O);\n    var i, length, values, result, step, iterator;\n    if (iterFn != undefined && !isArrayIter(iterFn)) {\n      for (iterator = iterFn.call(O), values = [], i = 0; !(step = iterator.next()).done; i++) {\n        values.push(step.value);\n      } O = values;\n    }\n    if (mapping && aLen > 2) mapfn = ctx(mapfn, arguments[2], 2);\n    for (i = 0, length = toLength(O.length), result = allocate(this, length); length > i; i++) {\n      result[i] = mapping ? mapfn(O[i], i) : O[i];\n    }\n    return result;\n  };\n\n  var $of = function of(/* ...items */) {\n    var index = 0;\n    var length = arguments.length;\n    var result = allocate(this, length);\n    while (length > index) result[index] = arguments[index++];\n    return result;\n  };\n\n  // iOS Safari 6.x fails here\n  var TO_LOCALE_BUG = !!Uint8Array && fails(function () { arrayToLocaleString.call(new Uint8Array(1)); });\n\n  var $toLocaleString = function toLocaleString() {\n    return arrayToLocaleString.apply(TO_LOCALE_BUG ? arraySlice.call(validate(this)) : validate(this), arguments);\n  };\n\n  var proto = {\n    copyWithin: function copyWithin(target, start /* , end */) {\n      return arrayCopyWithin.call(validate(this), target, start, arguments.length > 2 ? arguments[2] : undefined);\n    },\n    every: function every(callbackfn /* , thisArg */) {\n      return arrayEvery(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    fill: function fill(value /* , start, end */) { // eslint-disable-line no-unused-vars\n      return arrayFill.apply(validate(this), arguments);\n    },\n    filter: function filter(callbackfn /* , thisArg */) {\n      return speciesFromList(this, arrayFilter(validate(this), callbackfn,\n        arguments.length > 1 ? arguments[1] : undefined));\n    },\n    find: function find(predicate /* , thisArg */) {\n      return arrayFind(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    findIndex: function findIndex(predicate /* , thisArg */) {\n      return arrayFindIndex(validate(this), predicate, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    forEach: function forEach(callbackfn /* , thisArg */) {\n      arrayForEach(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    indexOf: function indexOf(searchElement /* , fromIndex */) {\n      return arrayIndexOf(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    includes: function includes(searchElement /* , fromIndex */) {\n      return arrayIncludes(validate(this), searchElement, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    join: function join(separator) { // eslint-disable-line no-unused-vars\n      return arrayJoin.apply(validate(this), arguments);\n    },\n    lastIndexOf: function lastIndexOf(searchElement /* , fromIndex */) { // eslint-disable-line no-unused-vars\n      return arrayLastIndexOf.apply(validate(this), arguments);\n    },\n    map: function map(mapfn /* , thisArg */) {\n      return $map(validate(this), mapfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    reduce: function reduce(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n      return arrayReduce.apply(validate(this), arguments);\n    },\n    reduceRight: function reduceRight(callbackfn /* , initialValue */) { // eslint-disable-line no-unused-vars\n      return arrayReduceRight.apply(validate(this), arguments);\n    },\n    reverse: function reverse() {\n      var that = this;\n      var length = validate(that).length;\n      var middle = Math.floor(length / 2);\n      var index = 0;\n      var value;\n      while (index < middle) {\n        value = that[index];\n        that[index++] = that[--length];\n        that[length] = value;\n      } return that;\n    },\n    some: function some(callbackfn /* , thisArg */) {\n      return arraySome(validate(this), callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n    },\n    sort: function sort(comparefn) {\n      return arraySort.call(validate(this), comparefn);\n    },\n    subarray: function subarray(begin, end) {\n      var O = validate(this);\n      var length = O.length;\n      var $begin = toAbsoluteIndex(begin, length);\n      return new (speciesConstructor(O, O[DEF_CONSTRUCTOR]))(\n        O.buffer,\n        O.byteOffset + $begin * O.BYTES_PER_ELEMENT,\n        toLength((end === undefined ? length : toAbsoluteIndex(end, length)) - $begin)\n      );\n    }\n  };\n\n  var $slice = function slice(start, end) {\n    return speciesFromList(this, arraySlice.call(validate(this), start, end));\n  };\n\n  var $set = function set(arrayLike /* , offset */) {\n    validate(this);\n    var offset = toOffset(arguments[1], 1);\n    var length = this.length;\n    var src = toObject(arrayLike);\n    var len = toLength(src.length);\n    var index = 0;\n    if (len + offset > length) throw RangeError(WRONG_LENGTH);\n    while (index < len) this[offset + index] = src[index++];\n  };\n\n  var $iterators = {\n    entries: function entries() {\n      return arrayEntries.call(validate(this));\n    },\n    keys: function keys() {\n      return arrayKeys.call(validate(this));\n    },\n    values: function values() {\n      return arrayValues.call(validate(this));\n    }\n  };\n\n  var isTAIndex = function (target, key) {\n    return isObject(target)\n      && target[TYPED_ARRAY]\n      && typeof key != 'symbol'\n      && key in target\n      && String(+key) == String(key);\n  };\n  var $getDesc = function getOwnPropertyDescriptor(target, key) {\n    return isTAIndex(target, key = toPrimitive(key, true))\n      ? propertyDesc(2, target[key])\n      : gOPD(target, key);\n  };\n  var $setDesc = function defineProperty(target, key, desc) {\n    if (isTAIndex(target, key = toPrimitive(key, true))\n      && isObject(desc)\n      && has(desc, 'value')\n      && !has(desc, 'get')\n      && !has(desc, 'set')\n      // TODO: add validation descriptor w/o calling accessors\n      && !desc.configurable\n      && (!has(desc, 'writable') || desc.writable)\n      && (!has(desc, 'enumerable') || desc.enumerable)\n    ) {\n      target[key] = desc.value;\n      return target;\n    } return dP(target, key, desc);\n  };\n\n  if (!ALL_CONSTRUCTORS) {\n    $GOPD.f = $getDesc;\n    $DP.f = $setDesc;\n  }\n\n  $export($export.S + $export.F * !ALL_CONSTRUCTORS, 'Object', {\n    getOwnPropertyDescriptor: $getDesc,\n    defineProperty: $setDesc\n  });\n\n  if (fails(function () { arrayToString.call({}); })) {\n    arrayToString = arrayToLocaleString = function toString() {\n      return arrayJoin.call(this);\n    };\n  }\n\n  var $TypedArrayPrototype$ = redefineAll({}, proto);\n  redefineAll($TypedArrayPrototype$, $iterators);\n  hide($TypedArrayPrototype$, ITERATOR, $iterators.values);\n  redefineAll($TypedArrayPrototype$, {\n    slice: $slice,\n    set: $set,\n    constructor: function () { /* noop */ },\n    toString: arrayToString,\n    toLocaleString: $toLocaleString\n  });\n  addGetter($TypedArrayPrototype$, 'buffer', 'b');\n  addGetter($TypedArrayPrototype$, 'byteOffset', 'o');\n  addGetter($TypedArrayPrototype$, 'byteLength', 'l');\n  addGetter($TypedArrayPrototype$, 'length', 'e');\n  dP($TypedArrayPrototype$, TAG, {\n    get: function () { return this[TYPED_ARRAY]; }\n  });\n\n  // eslint-disable-next-line max-statements\n  module.exports = function (KEY, BYTES, wrapper, CLAMPED) {\n    CLAMPED = !!CLAMPED;\n    var NAME = KEY + (CLAMPED ? 'Clamped' : '') + 'Array';\n    var GETTER = 'get' + KEY;\n    var SETTER = 'set' + KEY;\n    var TypedArray = global[NAME];\n    var Base = TypedArray || {};\n    var TAC = TypedArray && getPrototypeOf(TypedArray);\n    var FORCED = !TypedArray || !$typed.ABV;\n    var O = {};\n    var TypedArrayPrototype = TypedArray && TypedArray[PROTOTYPE];\n    var getter = function (that, index) {\n      var data = that._d;\n      return data.v[GETTER](index * BYTES + data.o, LITTLE_ENDIAN);\n    };\n    var setter = function (that, index, value) {\n      var data = that._d;\n      if (CLAMPED) value = (value = Math.round(value)) < 0 ? 0 : value > 0xff ? 0xff : value & 0xff;\n      data.v[SETTER](index * BYTES + data.o, value, LITTLE_ENDIAN);\n    };\n    var addElement = function (that, index) {\n      dP(that, index, {\n        get: function () {\n          return getter(this, index);\n        },\n        set: function (value) {\n          return setter(this, index, value);\n        },\n        enumerable: true\n      });\n    };\n    if (FORCED) {\n      TypedArray = wrapper(function (that, data, $offset, $length) {\n        anInstance(that, TypedArray, NAME, '_d');\n        var index = 0;\n        var offset = 0;\n        var buffer, byteLength, length, klass;\n        if (!isObject(data)) {\n          length = toIndex(data);\n          byteLength = length * BYTES;\n          buffer = new $ArrayBuffer(byteLength);\n        } else if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n          buffer = data;\n          offset = toOffset($offset, BYTES);\n          var $len = data.byteLength;\n          if ($length === undefined) {\n            if ($len % BYTES) throw RangeError(WRONG_LENGTH);\n            byteLength = $len - offset;\n            if (byteLength < 0) throw RangeError(WRONG_LENGTH);\n          } else {\n            byteLength = toLength($length) * BYTES;\n            if (byteLength + offset > $len) throw RangeError(WRONG_LENGTH);\n          }\n          length = byteLength / BYTES;\n        } else if (TYPED_ARRAY in data) {\n          return fromList(TypedArray, data);\n        } else {\n          return $from.call(TypedArray, data);\n        }\n        hide(that, '_d', {\n          b: buffer,\n          o: offset,\n          l: byteLength,\n          e: length,\n          v: new $DataView(buffer)\n        });\n        while (index < length) addElement(that, index++);\n      });\n      TypedArrayPrototype = TypedArray[PROTOTYPE] = create($TypedArrayPrototype$);\n      hide(TypedArrayPrototype, 'constructor', TypedArray);\n    } else if (!fails(function () {\n      TypedArray(1);\n    }) || !fails(function () {\n      new TypedArray(-1); // eslint-disable-line no-new\n    }) || !$iterDetect(function (iter) {\n      new TypedArray(); // eslint-disable-line no-new\n      new TypedArray(null); // eslint-disable-line no-new\n      new TypedArray(1.5); // eslint-disable-line no-new\n      new TypedArray(iter); // eslint-disable-line no-new\n    }, true)) {\n      TypedArray = wrapper(function (that, data, $offset, $length) {\n        anInstance(that, TypedArray, NAME);\n        var klass;\n        // `ws` module bug, temporarily remove validation length for Uint8Array\n        // https://github.com/websockets/ws/pull/645\n        if (!isObject(data)) return new Base(toIndex(data));\n        if (data instanceof $ArrayBuffer || (klass = classof(data)) == ARRAY_BUFFER || klass == SHARED_BUFFER) {\n          return $length !== undefined\n            ? new Base(data, toOffset($offset, BYTES), $length)\n            : $offset !== undefined\n              ? new Base(data, toOffset($offset, BYTES))\n              : new Base(data);\n        }\n        if (TYPED_ARRAY in data) return fromList(TypedArray, data);\n        return $from.call(TypedArray, data);\n      });\n      arrayForEach(TAC !== Function.prototype ? gOPN(Base).concat(gOPN(TAC)) : gOPN(Base), function (key) {\n        if (!(key in TypedArray)) hide(TypedArray, key, Base[key]);\n      });\n      TypedArray[PROTOTYPE] = TypedArrayPrototype;\n      if (!LIBRARY) TypedArrayPrototype.constructor = TypedArray;\n    }\n    var $nativeIterator = TypedArrayPrototype[ITERATOR];\n    var CORRECT_ITER_NAME = !!$nativeIterator\n      && ($nativeIterator.name == 'values' || $nativeIterator.name == undefined);\n    var $iterator = $iterators.values;\n    hide(TypedArray, TYPED_CONSTRUCTOR, true);\n    hide(TypedArrayPrototype, TYPED_ARRAY, NAME);\n    hide(TypedArrayPrototype, VIEW, true);\n    hide(TypedArrayPrototype, DEF_CONSTRUCTOR, TypedArray);\n\n    if (CLAMPED ? new TypedArray(1)[TAG] != NAME : !(TAG in TypedArrayPrototype)) {\n      dP(TypedArrayPrototype, TAG, {\n        get: function () { return NAME; }\n      });\n    }\n\n    O[NAME] = TypedArray;\n\n    $export($export.G + $export.W + $export.F * (TypedArray != Base), O);\n\n    $export($export.S, NAME, {\n      BYTES_PER_ELEMENT: BYTES\n    });\n\n    $export($export.S + $export.F * fails(function () { Base.of.call(TypedArray, 1); }), NAME, {\n      from: $from,\n      of: $of\n    });\n\n    if (!(BYTES_PER_ELEMENT in TypedArrayPrototype)) hide(TypedArrayPrototype, BYTES_PER_ELEMENT, BYTES);\n\n    $export($export.P, NAME, proto);\n\n    setSpecies(NAME);\n\n    $export($export.P + $export.F * FORCED_SET, NAME, { set: $set });\n\n    $export($export.P + $export.F * !CORRECT_ITER_NAME, NAME, $iterators);\n\n    if (!LIBRARY && TypedArrayPrototype.toString != arrayToString) TypedArrayPrototype.toString = arrayToString;\n\n    $export($export.P + $export.F * fails(function () {\n      new TypedArray(1).slice();\n    }), NAME, { slice: $slice });\n\n    $export($export.P + $export.F * (fails(function () {\n      return [1, 2].toLocaleString() != new TypedArray([1, 2]).toLocaleString();\n    }) || !fails(function () {\n      TypedArrayPrototype.toLocaleString.call([1, 2]);\n    })), NAME, { toLocaleString: $toLocaleString });\n\n    Iterators[NAME] = CORRECT_ITER_NAME ? $nativeIterator : $iterator;\n    if (!LIBRARY && !CORRECT_ITER_NAME) hide(TypedArrayPrototype, ITERATOR, $iterator);\n  };\n} else module.exports = function () { /* empty */ };\n\n},{\"101\":101,\"103\":103,\"114\":114,\"115\":115,\"121\":121,\"125\":125,\"135\":135,\"136\":136,\"137\":137,\"139\":139,\"140\":140,\"141\":141,\"143\":143,\"144\":144,\"145\":145,\"150\":150,\"151\":151,\"162\":162,\"35\":35,\"37\":37,\"38\":38,\"39\":39,\"40\":40,\"45\":45,\"52\":52,\"56\":56,\"60\":60,\"62\":62,\"68\":68,\"69\":69,\"70\":70,\"76\":76,\"79\":79,\"84\":84,\"86\":86,\"87\":87,\"96\":96,\"97\":97,\"99\":99}],143:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(68);\nvar DESCRIPTORS = _dereq_(56);\nvar LIBRARY = _dereq_(87);\nvar $typed = _dereq_(144);\nvar hide = _dereq_(70);\nvar redefineAll = _dereq_(115);\nvar fails = _dereq_(62);\nvar anInstance = _dereq_(35);\nvar toInteger = _dereq_(137);\nvar toLength = _dereq_(139);\nvar toIndex = _dereq_(136);\nvar gOPN = _dereq_(101).f;\nvar dP = _dereq_(97).f;\nvar arrayFill = _dereq_(38);\nvar setToStringTag = _dereq_(122);\nvar ARRAY_BUFFER = 'ArrayBuffer';\nvar DATA_VIEW = 'DataView';\nvar PROTOTYPE = 'prototype';\nvar WRONG_LENGTH = 'Wrong length!';\nvar WRONG_INDEX = 'Wrong index!';\nvar $ArrayBuffer = global[ARRAY_BUFFER];\nvar $DataView = global[DATA_VIEW];\nvar Math = global.Math;\nvar RangeError = global.RangeError;\n// eslint-disable-next-line no-shadow-restricted-names\nvar Infinity = global.Infinity;\nvar BaseBuffer = $ArrayBuffer;\nvar abs = Math.abs;\nvar pow = Math.pow;\nvar floor = Math.floor;\nvar log = Math.log;\nvar LN2 = Math.LN2;\nvar BUFFER = 'buffer';\nvar BYTE_LENGTH = 'byteLength';\nvar BYTE_OFFSET = 'byteOffset';\nvar $BUFFER = DESCRIPTORS ? '_b' : BUFFER;\nvar $LENGTH = DESCRIPTORS ? '_l' : BYTE_LENGTH;\nvar $OFFSET = DESCRIPTORS ? '_o' : BYTE_OFFSET;\n\n// IEEE754 conversions based on https://github.com/feross/ieee754\nfunction packIEEE754(value, mLen, nBytes) {\n  var buffer = new Array(nBytes);\n  var eLen = nBytes * 8 - mLen - 1;\n  var eMax = (1 << eLen) - 1;\n  var eBias = eMax >> 1;\n  var rt = mLen === 23 ? pow(2, -24) - pow(2, -77) : 0;\n  var i = 0;\n  var s = value < 0 || value === 0 && 1 / value < 0 ? 1 : 0;\n  var e, m, c;\n  value = abs(value);\n  // eslint-disable-next-line no-self-compare\n  if (value != value || value === Infinity) {\n    // eslint-disable-next-line no-self-compare\n    m = value != value ? 1 : 0;\n    e = eMax;\n  } else {\n    e = floor(log(value) / LN2);\n    if (value * (c = pow(2, -e)) < 1) {\n      e--;\n      c *= 2;\n    }\n    if (e + eBias >= 1) {\n      value += rt / c;\n    } else {\n      value += rt * pow(2, 1 - eBias);\n    }\n    if (value * c >= 2) {\n      e++;\n      c /= 2;\n    }\n    if (e + eBias >= eMax) {\n      m = 0;\n      e = eMax;\n    } else if (e + eBias >= 1) {\n      m = (value * c - 1) * pow(2, mLen);\n      e = e + eBias;\n    } else {\n      m = value * pow(2, eBias - 1) * pow(2, mLen);\n      e = 0;\n    }\n  }\n  for (; mLen >= 8; buffer[i++] = m & 255, m /= 256, mLen -= 8);\n  e = e << mLen | m;\n  eLen += mLen;\n  for (; eLen > 0; buffer[i++] = e & 255, e /= 256, eLen -= 8);\n  buffer[--i] |= s * 128;\n  return buffer;\n}\nfunction unpackIEEE754(buffer, mLen, nBytes) {\n  var eLen = nBytes * 8 - mLen - 1;\n  var eMax = (1 << eLen) - 1;\n  var eBias = eMax >> 1;\n  var nBits = eLen - 7;\n  var i = nBytes - 1;\n  var s = buffer[i--];\n  var e = s & 127;\n  var m;\n  s >>= 7;\n  for (; nBits > 0; e = e * 256 + buffer[i], i--, nBits -= 8);\n  m = e & (1 << -nBits) - 1;\n  e >>= -nBits;\n  nBits += mLen;\n  for (; nBits > 0; m = m * 256 + buffer[i], i--, nBits -= 8);\n  if (e === 0) {\n    e = 1 - eBias;\n  } else if (e === eMax) {\n    return m ? NaN : s ? -Infinity : Infinity;\n  } else {\n    m = m + pow(2, mLen);\n    e = e - eBias;\n  } return (s ? -1 : 1) * m * pow(2, e - mLen);\n}\n\nfunction unpackI32(bytes) {\n  return bytes[3] << 24 | bytes[2] << 16 | bytes[1] << 8 | bytes[0];\n}\nfunction packI8(it) {\n  return [it & 0xff];\n}\nfunction packI16(it) {\n  return [it & 0xff, it >> 8 & 0xff];\n}\nfunction packI32(it) {\n  return [it & 0xff, it >> 8 & 0xff, it >> 16 & 0xff, it >> 24 & 0xff];\n}\nfunction packF64(it) {\n  return packIEEE754(it, 52, 8);\n}\nfunction packF32(it) {\n  return packIEEE754(it, 23, 4);\n}\n\nfunction addGetter(C, key, internal) {\n  dP(C[PROTOTYPE], key, { get: function () { return this[internal]; } });\n}\n\nfunction get(view, bytes, index, isLittleEndian) {\n  var numIndex = +index;\n  var intIndex = toIndex(numIndex);\n  if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n  var store = view[$BUFFER]._b;\n  var start = intIndex + view[$OFFSET];\n  var pack = store.slice(start, start + bytes);\n  return isLittleEndian ? pack : pack.reverse();\n}\nfunction set(view, bytes, index, conversion, value, isLittleEndian) {\n  var numIndex = +index;\n  var intIndex = toIndex(numIndex);\n  if (intIndex + bytes > view[$LENGTH]) throw RangeError(WRONG_INDEX);\n  var store = view[$BUFFER]._b;\n  var start = intIndex + view[$OFFSET];\n  var pack = conversion(+value);\n  for (var i = 0; i < bytes; i++) store[start + i] = pack[isLittleEndian ? i : bytes - i - 1];\n}\n\nif (!$typed.ABV) {\n  $ArrayBuffer = function ArrayBuffer(length) {\n    anInstance(this, $ArrayBuffer, ARRAY_BUFFER);\n    var byteLength = toIndex(length);\n    this._b = arrayFill.call(new Array(byteLength), 0);\n    this[$LENGTH] = byteLength;\n  };\n\n  $DataView = function DataView(buffer, byteOffset, byteLength) {\n    anInstance(this, $DataView, DATA_VIEW);\n    anInstance(buffer, $ArrayBuffer, DATA_VIEW);\n    var bufferLength = buffer[$LENGTH];\n    var offset = toInteger(byteOffset);\n    if (offset < 0 || offset > bufferLength) throw RangeError('Wrong offset!');\n    byteLength = byteLength === undefined ? bufferLength - offset : toLength(byteLength);\n    if (offset + byteLength > bufferLength) throw RangeError(WRONG_LENGTH);\n    this[$BUFFER] = buffer;\n    this[$OFFSET] = offset;\n    this[$LENGTH] = byteLength;\n  };\n\n  if (DESCRIPTORS) {\n    addGetter($ArrayBuffer, BYTE_LENGTH, '_l');\n    addGetter($DataView, BUFFER, '_b');\n    addGetter($DataView, BYTE_LENGTH, '_l');\n    addGetter($DataView, BYTE_OFFSET, '_o');\n  }\n\n  redefineAll($DataView[PROTOTYPE], {\n    getInt8: function getInt8(byteOffset) {\n      return get(this, 1, byteOffset)[0] << 24 >> 24;\n    },\n    getUint8: function getUint8(byteOffset) {\n      return get(this, 1, byteOffset)[0];\n    },\n    getInt16: function getInt16(byteOffset /* , littleEndian */) {\n      var bytes = get(this, 2, byteOffset, arguments[1]);\n      return (bytes[1] << 8 | bytes[0]) << 16 >> 16;\n    },\n    getUint16: function getUint16(byteOffset /* , littleEndian */) {\n      var bytes = get(this, 2, byteOffset, arguments[1]);\n      return bytes[1] << 8 | bytes[0];\n    },\n    getInt32: function getInt32(byteOffset /* , littleEndian */) {\n      return unpackI32(get(this, 4, byteOffset, arguments[1]));\n    },\n    getUint32: function getUint32(byteOffset /* , littleEndian */) {\n      return unpackI32(get(this, 4, byteOffset, arguments[1])) >>> 0;\n    },\n    getFloat32: function getFloat32(byteOffset /* , littleEndian */) {\n      return unpackIEEE754(get(this, 4, byteOffset, arguments[1]), 23, 4);\n    },\n    getFloat64: function getFloat64(byteOffset /* , littleEndian */) {\n      return unpackIEEE754(get(this, 8, byteOffset, arguments[1]), 52, 8);\n    },\n    setInt8: function setInt8(byteOffset, value) {\n      set(this, 1, byteOffset, packI8, value);\n    },\n    setUint8: function setUint8(byteOffset, value) {\n      set(this, 1, byteOffset, packI8, value);\n    },\n    setInt16: function setInt16(byteOffset, value /* , littleEndian */) {\n      set(this, 2, byteOffset, packI16, value, arguments[2]);\n    },\n    setUint16: function setUint16(byteOffset, value /* , littleEndian */) {\n      set(this, 2, byteOffset, packI16, value, arguments[2]);\n    },\n    setInt32: function setInt32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packI32, value, arguments[2]);\n    },\n    setUint32: function setUint32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packI32, value, arguments[2]);\n    },\n    setFloat32: function setFloat32(byteOffset, value /* , littleEndian */) {\n      set(this, 4, byteOffset, packF32, value, arguments[2]);\n    },\n    setFloat64: function setFloat64(byteOffset, value /* , littleEndian */) {\n      set(this, 8, byteOffset, packF64, value, arguments[2]);\n    }\n  });\n} else {\n  if (!fails(function () {\n    $ArrayBuffer(1);\n  }) || !fails(function () {\n    new $ArrayBuffer(-1); // eslint-disable-line no-new\n  }) || fails(function () {\n    new $ArrayBuffer(); // eslint-disable-line no-new\n    new $ArrayBuffer(1.5); // eslint-disable-line no-new\n    new $ArrayBuffer(NaN); // eslint-disable-line no-new\n    return $ArrayBuffer.name != ARRAY_BUFFER;\n  })) {\n    $ArrayBuffer = function ArrayBuffer(length) {\n      anInstance(this, $ArrayBuffer);\n      return new BaseBuffer(toIndex(length));\n    };\n    var ArrayBufferProto = $ArrayBuffer[PROTOTYPE] = BaseBuffer[PROTOTYPE];\n    for (var keys = gOPN(BaseBuffer), j = 0, key; keys.length > j;) {\n      if (!((key = keys[j++]) in $ArrayBuffer)) hide($ArrayBuffer, key, BaseBuffer[key]);\n    }\n    if (!LIBRARY) ArrayBufferProto.constructor = $ArrayBuffer;\n  }\n  // iOS Safari 7.x bug\n  var view = new $DataView(new $ArrayBuffer(2));\n  var $setInt8 = $DataView[PROTOTYPE].setInt8;\n  view.setInt8(0, 2147483648);\n  view.setInt8(1, 2147483649);\n  if (view.getInt8(0) || !view.getInt8(1)) redefineAll($DataView[PROTOTYPE], {\n    setInt8: function setInt8(byteOffset, value) {\n      $setInt8.call(this, byteOffset, value << 24 >> 24);\n    },\n    setUint8: function setUint8(byteOffset, value) {\n      $setInt8.call(this, byteOffset, value << 24 >> 24);\n    }\n  }, true);\n}\nsetToStringTag($ArrayBuffer, ARRAY_BUFFER);\nsetToStringTag($DataView, DATA_VIEW);\nhide($DataView[PROTOTYPE], $typed.VIEW, true);\nexports[ARRAY_BUFFER] = $ArrayBuffer;\nexports[DATA_VIEW] = $DataView;\n\n},{\"101\":101,\"115\":115,\"122\":122,\"136\":136,\"137\":137,\"139\":139,\"144\":144,\"35\":35,\"38\":38,\"56\":56,\"62\":62,\"68\":68,\"70\":70,\"87\":87,\"97\":97}],144:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar hide = _dereq_(70);\nvar uid = _dereq_(145);\nvar TYPED = uid('typed_array');\nvar VIEW = uid('view');\nvar ABV = !!(global.ArrayBuffer && global.DataView);\nvar CONSTR = ABV;\nvar i = 0;\nvar l = 9;\nvar Typed;\n\nvar TypedArrayConstructors = (\n  'Int8Array,Uint8Array,Uint8ClampedArray,Int16Array,Uint16Array,Int32Array,Uint32Array,Float32Array,Float64Array'\n).split(',');\n\nwhile (i < l) {\n  if (Typed = global[TypedArrayConstructors[i++]]) {\n    hide(Typed.prototype, TYPED, true);\n    hide(Typed.prototype, VIEW, true);\n  } else CONSTR = false;\n}\n\nmodule.exports = {\n  ABV: ABV,\n  CONSTR: CONSTR,\n  TYPED: TYPED,\n  VIEW: VIEW\n};\n\n},{\"145\":145,\"68\":68,\"70\":70}],145:[function(_dereq_,module,exports){\nvar id = 0;\nvar px = Math.random();\nmodule.exports = function (key) {\n  return 'Symbol('.concat(key === undefined ? '' : key, ')_', (++id + px).toString(36));\n};\n\n},{}],146:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar navigator = global.navigator;\n\nmodule.exports = navigator && navigator.userAgent || '';\n\n},{\"68\":68}],147:[function(_dereq_,module,exports){\nvar isObject = _dereq_(79);\nmodule.exports = function (it, TYPE) {\n  if (!isObject(it) || it._t !== TYPE) throw TypeError('Incompatible receiver, ' + TYPE + ' required!');\n  return it;\n};\n\n},{\"79\":79}],148:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar core = _dereq_(50);\nvar LIBRARY = _dereq_(87);\nvar wksExt = _dereq_(149);\nvar defineProperty = _dereq_(97).f;\nmodule.exports = function (name) {\n  var $Symbol = core.Symbol || (core.Symbol = LIBRARY ? {} : global.Symbol || {});\n  if (name.charAt(0) != '_' && !(name in $Symbol)) defineProperty($Symbol, name, { value: wksExt.f(name) });\n};\n\n},{\"149\":149,\"50\":50,\"68\":68,\"87\":87,\"97\":97}],149:[function(_dereq_,module,exports){\nexports.f = _dereq_(150);\n\n},{\"150\":150}],150:[function(_dereq_,module,exports){\nvar store = _dereq_(124)('wks');\nvar uid = _dereq_(145);\nvar Symbol = _dereq_(68).Symbol;\nvar USE_SYMBOL = typeof Symbol == 'function';\n\nvar $exports = module.exports = function (name) {\n  return store[name] || (store[name] =\n    USE_SYMBOL && Symbol[name] || (USE_SYMBOL ? Symbol : uid)('Symbol.' + name));\n};\n\n$exports.store = store;\n\n},{\"124\":124,\"145\":145,\"68\":68}],151:[function(_dereq_,module,exports){\nvar classof = _dereq_(45);\nvar ITERATOR = _dereq_(150)('iterator');\nvar Iterators = _dereq_(86);\nmodule.exports = _dereq_(50).getIteratorMethod = function (it) {\n  if (it != undefined) return it[ITERATOR]\n    || it['@@iterator']\n    || Iterators[classof(it)];\n};\n\n},{\"150\":150,\"45\":45,\"50\":50,\"86\":86}],152:[function(_dereq_,module,exports){\n// 22.1.3.3 Array.prototype.copyWithin(target, start, end = this.length)\nvar $export = _dereq_(60);\n\n$export($export.P, 'Array', { copyWithin: _dereq_(37) });\n\n_dereq_(33)('copyWithin');\n\n},{\"33\":33,\"37\":37,\"60\":60}],153:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $every = _dereq_(40)(4);\n\n$export($export.P + $export.F * !_dereq_(126)([].every, true), 'Array', {\n  // 22.1.3.5 / 15.4.4.16 Array.prototype.every(callbackfn [, thisArg])\n  every: function every(callbackfn /* , thisArg */) {\n    return $every(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"40\":40,\"60\":60}],154:[function(_dereq_,module,exports){\n// 22.1.3.6 Array.prototype.fill(value, start = 0, end = this.length)\nvar $export = _dereq_(60);\n\n$export($export.P, 'Array', { fill: _dereq_(38) });\n\n_dereq_(33)('fill');\n\n},{\"33\":33,\"38\":38,\"60\":60}],155:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $filter = _dereq_(40)(2);\n\n$export($export.P + $export.F * !_dereq_(126)([].filter, true), 'Array', {\n  // 22.1.3.7 / 15.4.4.20 Array.prototype.filter(callbackfn [, thisArg])\n  filter: function filter(callbackfn /* , thisArg */) {\n    return $filter(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"40\":40,\"60\":60}],156:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.9 Array.prototype.findIndex(predicate, thisArg = undefined)\nvar $export = _dereq_(60);\nvar $find = _dereq_(40)(6);\nvar KEY = 'findIndex';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n  findIndex: function findIndex(callbackfn /* , that = undefined */) {\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n_dereq_(33)(KEY);\n\n},{\"33\":33,\"40\":40,\"60\":60}],157:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.8 Array.prototype.find(predicate, thisArg = undefined)\nvar $export = _dereq_(60);\nvar $find = _dereq_(40)(5);\nvar KEY = 'find';\nvar forced = true;\n// Shouldn't skip holes\nif (KEY in []) Array(1)[KEY](function () { forced = false; });\n$export($export.P + $export.F * forced, 'Array', {\n  find: function find(callbackfn /* , that = undefined */) {\n    return $find(this, callbackfn, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n_dereq_(33)(KEY);\n\n},{\"33\":33,\"40\":40,\"60\":60}],158:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $forEach = _dereq_(40)(0);\nvar STRICT = _dereq_(126)([].forEach, true);\n\n$export($export.P + $export.F * !STRICT, 'Array', {\n  // 22.1.3.10 / 15.4.4.18 Array.prototype.forEach(callbackfn [, thisArg])\n  forEach: function forEach(callbackfn /* , thisArg */) {\n    return $forEach(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"40\":40,\"60\":60}],159:[function(_dereq_,module,exports){\n'use strict';\nvar ctx = _dereq_(52);\nvar $export = _dereq_(60);\nvar toObject = _dereq_(140);\nvar call = _dereq_(81);\nvar isArrayIter = _dereq_(76);\nvar toLength = _dereq_(139);\nvar createProperty = _dereq_(51);\nvar getIterFn = _dereq_(151);\n\n$export($export.S + $export.F * !_dereq_(84)(function (iter) { Array.from(iter); }), 'Array', {\n  // 22.1.2.1 Array.from(arrayLike, mapfn = undefined, thisArg = undefined)\n  from: function from(arrayLike /* , mapfn = undefined, thisArg = undefined */) {\n    var O = toObject(arrayLike);\n    var C = typeof this == 'function' ? this : Array;\n    var aLen = arguments.length;\n    var mapfn = aLen > 1 ? arguments[1] : undefined;\n    var mapping = mapfn !== undefined;\n    var index = 0;\n    var iterFn = getIterFn(O);\n    var length, result, step, iterator;\n    if (mapping) mapfn = ctx(mapfn, aLen > 2 ? arguments[2] : undefined, 2);\n    // if object isn't iterable or it's array with default iterator - use simple case\n    if (iterFn != undefined && !(C == Array && isArrayIter(iterFn))) {\n      for (iterator = iterFn.call(O), result = new C(); !(step = iterator.next()).done; index++) {\n        createProperty(result, index, mapping ? call(iterator, mapfn, [step.value, index], true) : step.value);\n      }\n    } else {\n      length = toLength(O.length);\n      for (result = new C(length); length > index; index++) {\n        createProperty(result, index, mapping ? mapfn(O[index], index) : O[index]);\n      }\n    }\n    result.length = index;\n    return result;\n  }\n});\n\n},{\"139\":139,\"140\":140,\"151\":151,\"51\":51,\"52\":52,\"60\":60,\"76\":76,\"81\":81,\"84\":84}],160:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $indexOf = _dereq_(39)(false);\nvar $native = [].indexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].indexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(126)($native)), 'Array', {\n  // 22.1.3.11 / 15.4.4.14 Array.prototype.indexOf(searchElement [, fromIndex])\n  indexOf: function indexOf(searchElement /* , fromIndex = 0 */) {\n    return NEGATIVE_ZERO\n      // convert -0 to +0\n      ? $native.apply(this, arguments) || 0\n      : $indexOf(this, searchElement, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"39\":39,\"60\":60}],161:[function(_dereq_,module,exports){\n// 22.1.2.2 / 15.4.3.2 Array.isArray(arg)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Array', { isArray: _dereq_(77) });\n\n},{\"60\":60,\"77\":77}],162:[function(_dereq_,module,exports){\n'use strict';\nvar addToUnscopables = _dereq_(33);\nvar step = _dereq_(85);\nvar Iterators = _dereq_(86);\nvar toIObject = _dereq_(138);\n\n// 22.1.3.4 Array.prototype.entries()\n// 22.1.3.13 Array.prototype.keys()\n// 22.1.3.29 Array.prototype.values()\n// 22.1.3.30 Array.prototype[@@iterator]()\nmodule.exports = _dereq_(83)(Array, 'Array', function (iterated, kind) {\n  this._t = toIObject(iterated); // target\n  this._i = 0;                   // next index\n  this._k = kind;                // kind\n// 22.1.5.2.1 %ArrayIteratorPrototype%.next()\n}, function () {\n  var O = this._t;\n  var kind = this._k;\n  var index = this._i++;\n  if (!O || index >= O.length) {\n    this._t = undefined;\n    return step(1);\n  }\n  if (kind == 'keys') return step(0, index);\n  if (kind == 'values') return step(0, O[index]);\n  return step(0, [index, O[index]]);\n}, 'values');\n\n// argumentsList[@@iterator] is %ArrayProto_values% (9.4.4.6, 9.4.4.7)\nIterators.Arguments = Iterators.Array;\n\naddToUnscopables('keys');\naddToUnscopables('values');\naddToUnscopables('entries');\n\n},{\"138\":138,\"33\":33,\"83\":83,\"85\":85,\"86\":86}],163:[function(_dereq_,module,exports){\n'use strict';\n// 22.1.3.13 Array.prototype.join(separator)\nvar $export = _dereq_(60);\nvar toIObject = _dereq_(138);\nvar arrayJoin = [].join;\n\n// fallback for not array-like strings\n$export($export.P + $export.F * (_dereq_(75) != Object || !_dereq_(126)(arrayJoin)), 'Array', {\n  join: function join(separator) {\n    return arrayJoin.call(toIObject(this), separator === undefined ? ',' : separator);\n  }\n});\n\n},{\"126\":126,\"138\":138,\"60\":60,\"75\":75}],164:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar toIObject = _dereq_(138);\nvar toInteger = _dereq_(137);\nvar toLength = _dereq_(139);\nvar $native = [].lastIndexOf;\nvar NEGATIVE_ZERO = !!$native && 1 / [1].lastIndexOf(1, -0) < 0;\n\n$export($export.P + $export.F * (NEGATIVE_ZERO || !_dereq_(126)($native)), 'Array', {\n  // 22.1.3.14 / 15.4.4.15 Array.prototype.lastIndexOf(searchElement [, fromIndex])\n  lastIndexOf: function lastIndexOf(searchElement /* , fromIndex = @[*-1] */) {\n    // convert -0 to +0\n    if (NEGATIVE_ZERO) return $native.apply(this, arguments) || 0;\n    var O = toIObject(this);\n    var length = toLength(O.length);\n    var index = length - 1;\n    if (arguments.length > 1) index = Math.min(index, toInteger(arguments[1]));\n    if (index < 0) index = length + index;\n    for (;index >= 0; index--) if (index in O) if (O[index] === searchElement) return index || 0;\n    return -1;\n  }\n});\n\n},{\"126\":126,\"137\":137,\"138\":138,\"139\":139,\"60\":60}],165:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $map = _dereq_(40)(1);\n\n$export($export.P + $export.F * !_dereq_(126)([].map, true), 'Array', {\n  // 22.1.3.15 / 15.4.4.19 Array.prototype.map(callbackfn [, thisArg])\n  map: function map(callbackfn /* , thisArg */) {\n    return $map(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"40\":40,\"60\":60}],166:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar createProperty = _dereq_(51);\n\n// WebKit Array.of isn't generic\n$export($export.S + $export.F * _dereq_(62)(function () {\n  function F() { /* empty */ }\n  return !(Array.of.call(F) instanceof F);\n}), 'Array', {\n  // 22.1.2.3 Array.of( ...items)\n  of: function of(/* ...args */) {\n    var index = 0;\n    var aLen = arguments.length;\n    var result = new (typeof this == 'function' ? this : Array)(aLen);\n    while (aLen > index) createProperty(result, index, arguments[index++]);\n    result.length = aLen;\n    return result;\n  }\n});\n\n},{\"51\":51,\"60\":60,\"62\":62}],167:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $reduce = _dereq_(41);\n\n$export($export.P + $export.F * !_dereq_(126)([].reduceRight, true), 'Array', {\n  // 22.1.3.19 / 15.4.4.22 Array.prototype.reduceRight(callbackfn [, initialValue])\n  reduceRight: function reduceRight(callbackfn /* , initialValue */) {\n    return $reduce(this, callbackfn, arguments.length, arguments[1], true);\n  }\n});\n\n},{\"126\":126,\"41\":41,\"60\":60}],168:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $reduce = _dereq_(41);\n\n$export($export.P + $export.F * !_dereq_(126)([].reduce, true), 'Array', {\n  // 22.1.3.18 / 15.4.4.21 Array.prototype.reduce(callbackfn [, initialValue])\n  reduce: function reduce(callbackfn /* , initialValue */) {\n    return $reduce(this, callbackfn, arguments.length, arguments[1], false);\n  }\n});\n\n},{\"126\":126,\"41\":41,\"60\":60}],169:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar html = _dereq_(71);\nvar cof = _dereq_(46);\nvar toAbsoluteIndex = _dereq_(135);\nvar toLength = _dereq_(139);\nvar arraySlice = [].slice;\n\n// fallback for not array-like ES3 strings and DOM objects\n$export($export.P + $export.F * _dereq_(62)(function () {\n  if (html) arraySlice.call(html);\n}), 'Array', {\n  slice: function slice(begin, end) {\n    var len = toLength(this.length);\n    var klass = cof(this);\n    end = end === undefined ? len : end;\n    if (klass == 'Array') return arraySlice.call(this, begin, end);\n    var start = toAbsoluteIndex(begin, len);\n    var upTo = toAbsoluteIndex(end, len);\n    var size = toLength(upTo - start);\n    var cloned = new Array(size);\n    var i = 0;\n    for (; i < size; i++) cloned[i] = klass == 'String'\n      ? this.charAt(start + i)\n      : this[start + i];\n    return cloned;\n  }\n});\n\n},{\"135\":135,\"139\":139,\"46\":46,\"60\":60,\"62\":62,\"71\":71}],170:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $some = _dereq_(40)(3);\n\n$export($export.P + $export.F * !_dereq_(126)([].some, true), 'Array', {\n  // 22.1.3.23 / 15.4.4.17 Array.prototype.some(callbackfn [, thisArg])\n  some: function some(callbackfn /* , thisArg */) {\n    return $some(this, callbackfn, arguments[1]);\n  }\n});\n\n},{\"126\":126,\"40\":40,\"60\":60}],171:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar aFunction = _dereq_(31);\nvar toObject = _dereq_(140);\nvar fails = _dereq_(62);\nvar $sort = [].sort;\nvar test = [1, 2, 3];\n\n$export($export.P + $export.F * (fails(function () {\n  // IE8-\n  test.sort(undefined);\n}) || !fails(function () {\n  // V8 bug\n  test.sort(null);\n  // Old WebKit\n}) || !_dereq_(126)($sort)), 'Array', {\n  // 22.1.3.25 Array.prototype.sort(comparefn)\n  sort: function sort(comparefn) {\n    return comparefn === undefined\n      ? $sort.call(toObject(this))\n      : $sort.call(toObject(this), aFunction(comparefn));\n  }\n});\n\n},{\"126\":126,\"140\":140,\"31\":31,\"60\":60,\"62\":62}],172:[function(_dereq_,module,exports){\n_dereq_(121)('Array');\n\n},{\"121\":121}],173:[function(_dereq_,module,exports){\n// 20.3.3.1 / 15.9.4.4 Date.now()\nvar $export = _dereq_(60);\n\n$export($export.S, 'Date', { now: function () { return new Date().getTime(); } });\n\n},{\"60\":60}],174:[function(_dereq_,module,exports){\n// 20.3.4.36 / 15.9.5.43 Date.prototype.toISOString()\nvar $export = _dereq_(60);\nvar toISOString = _dereq_(53);\n\n// PhantomJS / old WebKit has a broken implementations\n$export($export.P + $export.F * (Date.prototype.toISOString !== toISOString), 'Date', {\n  toISOString: toISOString\n});\n\n},{\"53\":53,\"60\":60}],175:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar toObject = _dereq_(140);\nvar toPrimitive = _dereq_(141);\n\n$export($export.P + $export.F * _dereq_(62)(function () {\n  return new Date(NaN).toJSON() !== null\n    || Date.prototype.toJSON.call({ toISOString: function () { return 1; } }) !== 1;\n}), 'Date', {\n  // eslint-disable-next-line no-unused-vars\n  toJSON: function toJSON(key) {\n    var O = toObject(this);\n    var pv = toPrimitive(O);\n    return typeof pv == 'number' && !isFinite(pv) ? null : O.toISOString();\n  }\n});\n\n},{\"140\":140,\"141\":141,\"60\":60,\"62\":62}],176:[function(_dereq_,module,exports){\nvar TO_PRIMITIVE = _dereq_(150)('toPrimitive');\nvar proto = Date.prototype;\n\nif (!(TO_PRIMITIVE in proto)) _dereq_(70)(proto, TO_PRIMITIVE, _dereq_(54));\n\n},{\"150\":150,\"54\":54,\"70\":70}],177:[function(_dereq_,module,exports){\nvar DateProto = Date.prototype;\nvar INVALID_DATE = 'Invalid Date';\nvar TO_STRING = 'toString';\nvar $toString = DateProto[TO_STRING];\nvar getTime = DateProto.getTime;\nif (new Date(NaN) + '' != INVALID_DATE) {\n  _dereq_(116)(DateProto, TO_STRING, function toString() {\n    var value = getTime.call(this);\n    // eslint-disable-next-line no-self-compare\n    return value === value ? $toString.call(this) : INVALID_DATE;\n  });\n}\n\n},{\"116\":116}],178:[function(_dereq_,module,exports){\n// 19.2.3.2 / 15.3.4.5 Function.prototype.bind(thisArg, args...)\nvar $export = _dereq_(60);\n\n$export($export.P, 'Function', { bind: _dereq_(44) });\n\n},{\"44\":44,\"60\":60}],179:[function(_dereq_,module,exports){\n'use strict';\nvar isObject = _dereq_(79);\nvar getPrototypeOf = _dereq_(103);\nvar HAS_INSTANCE = _dereq_(150)('hasInstance');\nvar FunctionProto = Function.prototype;\n// 19.2.3.6 Function.prototype[@@hasInstance](V)\nif (!(HAS_INSTANCE in FunctionProto)) _dereq_(97).f(FunctionProto, HAS_INSTANCE, { value: function (O) {\n  if (typeof this != 'function' || !isObject(O)) return false;\n  if (!isObject(this.prototype)) return O instanceof this;\n  // for environment w/o native `@@hasInstance` logic enough `instanceof`, but add this:\n  while (O = getPrototypeOf(O)) if (this.prototype === O) return true;\n  return false;\n} });\n\n},{\"103\":103,\"150\":150,\"79\":79,\"97\":97}],180:[function(_dereq_,module,exports){\nvar dP = _dereq_(97).f;\nvar FProto = Function.prototype;\nvar nameRE = /^\\s*function ([^ (]*)/;\nvar NAME = 'name';\n\n// 19.2.4.2 name\nNAME in FProto || _dereq_(56) && dP(FProto, NAME, {\n  configurable: true,\n  get: function () {\n    try {\n      return ('' + this).match(nameRE)[1];\n    } catch (e) {\n      return '';\n    }\n  }\n});\n\n},{\"56\":56,\"97\":97}],181:[function(_dereq_,module,exports){\n'use strict';\nvar strong = _dereq_(47);\nvar validate = _dereq_(147);\nvar MAP = 'Map';\n\n// 23.1 Map Objects\nmodule.exports = _dereq_(49)(MAP, function (get) {\n  return function Map() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.1.3.6 Map.prototype.get(key)\n  get: function get(key) {\n    var entry = strong.getEntry(validate(this, MAP), key);\n    return entry && entry.v;\n  },\n  // 23.1.3.9 Map.prototype.set(key, value)\n  set: function set(key, value) {\n    return strong.def(validate(this, MAP), key === 0 ? 0 : key, value);\n  }\n}, strong, true);\n\n},{\"147\":147,\"47\":47,\"49\":49}],182:[function(_dereq_,module,exports){\n// 20.2.2.3 Math.acosh(x)\nvar $export = _dereq_(60);\nvar log1p = _dereq_(90);\nvar sqrt = Math.sqrt;\nvar $acosh = Math.acosh;\n\n$export($export.S + $export.F * !($acosh\n  // V8 bug: https://code.google.com/p/v8/issues/detail?id=3509\n  && Math.floor($acosh(Number.MAX_VALUE)) == 710\n  // Tor Browser bug: Math.acosh(Infinity) -> NaN\n  && $acosh(Infinity) == Infinity\n), 'Math', {\n  acosh: function acosh(x) {\n    return (x = +x) < 1 ? NaN : x > 94906265.62425156\n      ? Math.log(x) + Math.LN2\n      : log1p(x - 1 + sqrt(x - 1) * sqrt(x + 1));\n  }\n});\n\n},{\"60\":60,\"90\":90}],183:[function(_dereq_,module,exports){\n// 20.2.2.5 Math.asinh(x)\nvar $export = _dereq_(60);\nvar $asinh = Math.asinh;\n\nfunction asinh(x) {\n  return !isFinite(x = +x) || x == 0 ? x : x < 0 ? -asinh(-x) : Math.log(x + Math.sqrt(x * x + 1));\n}\n\n// Tor Browser bug: Math.asinh(0) -> -0\n$export($export.S + $export.F * !($asinh && 1 / $asinh(0) > 0), 'Math', { asinh: asinh });\n\n},{\"60\":60}],184:[function(_dereq_,module,exports){\n// 20.2.2.7 Math.atanh(x)\nvar $export = _dereq_(60);\nvar $atanh = Math.atanh;\n\n// Tor Browser bug: Math.atanh(-0) -> 0\n$export($export.S + $export.F * !($atanh && 1 / $atanh(-0) < 0), 'Math', {\n  atanh: function atanh(x) {\n    return (x = +x) == 0 ? x : Math.log((1 + x) / (1 - x)) / 2;\n  }\n});\n\n},{\"60\":60}],185:[function(_dereq_,module,exports){\n// 20.2.2.9 Math.cbrt(x)\nvar $export = _dereq_(60);\nvar sign = _dereq_(91);\n\n$export($export.S, 'Math', {\n  cbrt: function cbrt(x) {\n    return sign(x = +x) * Math.pow(Math.abs(x), 1 / 3);\n  }\n});\n\n},{\"60\":60,\"91\":91}],186:[function(_dereq_,module,exports){\n// 20.2.2.11 Math.clz32(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', {\n  clz32: function clz32(x) {\n    return (x >>>= 0) ? 31 - Math.floor(Math.log(x + 0.5) * Math.LOG2E) : 32;\n  }\n});\n\n},{\"60\":60}],187:[function(_dereq_,module,exports){\n// 20.2.2.12 Math.cosh(x)\nvar $export = _dereq_(60);\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n  cosh: function cosh(x) {\n    return (exp(x = +x) + exp(-x)) / 2;\n  }\n});\n\n},{\"60\":60}],188:[function(_dereq_,module,exports){\n// 20.2.2.14 Math.expm1(x)\nvar $export = _dereq_(60);\nvar $expm1 = _dereq_(88);\n\n$export($export.S + $export.F * ($expm1 != Math.expm1), 'Math', { expm1: $expm1 });\n\n},{\"60\":60,\"88\":88}],189:[function(_dereq_,module,exports){\n// 20.2.2.16 Math.fround(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', { fround: _dereq_(89) });\n\n},{\"60\":60,\"89\":89}],190:[function(_dereq_,module,exports){\n// 20.2.2.17 Math.hypot([value1[, value2[, … ]]])\nvar $export = _dereq_(60);\nvar abs = Math.abs;\n\n$export($export.S, 'Math', {\n  hypot: function hypot(value1, value2) { // eslint-disable-line no-unused-vars\n    var sum = 0;\n    var i = 0;\n    var aLen = arguments.length;\n    var larg = 0;\n    var arg, div;\n    while (i < aLen) {\n      arg = abs(arguments[i++]);\n      if (larg < arg) {\n        div = larg / arg;\n        sum = sum * div * div + 1;\n        larg = arg;\n      } else if (arg > 0) {\n        div = arg / larg;\n        sum += div * div;\n      } else sum += arg;\n    }\n    return larg === Infinity ? Infinity : larg * Math.sqrt(sum);\n  }\n});\n\n},{\"60\":60}],191:[function(_dereq_,module,exports){\n// 20.2.2.18 Math.imul(x, y)\nvar $export = _dereq_(60);\nvar $imul = Math.imul;\n\n// some WebKit versions fails with big numbers, some has wrong arity\n$export($export.S + $export.F * _dereq_(62)(function () {\n  return $imul(0xffffffff, 5) != -5 || $imul.length != 2;\n}), 'Math', {\n  imul: function imul(x, y) {\n    var UINT16 = 0xffff;\n    var xn = +x;\n    var yn = +y;\n    var xl = UINT16 & xn;\n    var yl = UINT16 & yn;\n    return 0 | xl * yl + ((UINT16 & xn >>> 16) * yl + xl * (UINT16 & yn >>> 16) << 16 >>> 0);\n  }\n});\n\n},{\"60\":60,\"62\":62}],192:[function(_dereq_,module,exports){\n// 20.2.2.21 Math.log10(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', {\n  log10: function log10(x) {\n    return Math.log(x) * Math.LOG10E;\n  }\n});\n\n},{\"60\":60}],193:[function(_dereq_,module,exports){\n// 20.2.2.20 Math.log1p(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', { log1p: _dereq_(90) });\n\n},{\"60\":60,\"90\":90}],194:[function(_dereq_,module,exports){\n// 20.2.2.22 Math.log2(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', {\n  log2: function log2(x) {\n    return Math.log(x) / Math.LN2;\n  }\n});\n\n},{\"60\":60}],195:[function(_dereq_,module,exports){\n// 20.2.2.28 Math.sign(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', { sign: _dereq_(91) });\n\n},{\"60\":60,\"91\":91}],196:[function(_dereq_,module,exports){\n// 20.2.2.30 Math.sinh(x)\nvar $export = _dereq_(60);\nvar expm1 = _dereq_(88);\nvar exp = Math.exp;\n\n// V8 near Chromium 38 has a problem with very small numbers\n$export($export.S + $export.F * _dereq_(62)(function () {\n  return !Math.sinh(-2e-17) != -2e-17;\n}), 'Math', {\n  sinh: function sinh(x) {\n    return Math.abs(x = +x) < 1\n      ? (expm1(x) - expm1(-x)) / 2\n      : (exp(x - 1) - exp(-x - 1)) * (Math.E / 2);\n  }\n});\n\n},{\"60\":60,\"62\":62,\"88\":88}],197:[function(_dereq_,module,exports){\n// 20.2.2.33 Math.tanh(x)\nvar $export = _dereq_(60);\nvar expm1 = _dereq_(88);\nvar exp = Math.exp;\n\n$export($export.S, 'Math', {\n  tanh: function tanh(x) {\n    var a = expm1(x = +x);\n    var b = expm1(-x);\n    return a == Infinity ? 1 : b == Infinity ? -1 : (a - b) / (exp(x) + exp(-x));\n  }\n});\n\n},{\"60\":60,\"88\":88}],198:[function(_dereq_,module,exports){\n// 20.2.2.34 Math.trunc(x)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Math', {\n  trunc: function trunc(it) {\n    return (it > 0 ? Math.floor : Math.ceil)(it);\n  }\n});\n\n},{\"60\":60}],199:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(68);\nvar has = _dereq_(69);\nvar cof = _dereq_(46);\nvar inheritIfRequired = _dereq_(73);\nvar toPrimitive = _dereq_(141);\nvar fails = _dereq_(62);\nvar gOPN = _dereq_(101).f;\nvar gOPD = _dereq_(99).f;\nvar dP = _dereq_(97).f;\nvar $trim = _dereq_(132).trim;\nvar NUMBER = 'Number';\nvar $Number = global[NUMBER];\nvar Base = $Number;\nvar proto = $Number.prototype;\n// Opera ~12 has broken Object#toString\nvar BROKEN_COF = cof(_dereq_(96)(proto)) == NUMBER;\nvar TRIM = 'trim' in String.prototype;\n\n// 7.1.3 ToNumber(argument)\nvar toNumber = function (argument) {\n  var it = toPrimitive(argument, false);\n  if (typeof it == 'string' && it.length > 2) {\n    it = TRIM ? it.trim() : $trim(it, 3);\n    var first = it.charCodeAt(0);\n    var third, radix, maxCode;\n    if (first === 43 || first === 45) {\n      third = it.charCodeAt(2);\n      if (third === 88 || third === 120) return NaN; // Number('+0x1') should be NaN, old V8 fix\n    } else if (first === 48) {\n      switch (it.charCodeAt(1)) {\n        case 66: case 98: radix = 2; maxCode = 49; break; // fast equal /^0b[01]+$/i\n        case 79: case 111: radix = 8; maxCode = 55; break; // fast equal /^0o[0-7]+$/i\n        default: return +it;\n      }\n      for (var digits = it.slice(2), i = 0, l = digits.length, code; i < l; i++) {\n        code = digits.charCodeAt(i);\n        // parseInt parses a string to a first unavailable symbol\n        // but ToNumber should return NaN if a string contains unavailable symbols\n        if (code < 48 || code > maxCode) return NaN;\n      } return parseInt(digits, radix);\n    }\n  } return +it;\n};\n\nif (!$Number(' 0o1') || !$Number('0b1') || $Number('+0x1')) {\n  $Number = function Number(value) {\n    var it = arguments.length < 1 ? 0 : value;\n    var that = this;\n    return that instanceof $Number\n      // check on 1..constructor(foo) case\n      && (BROKEN_COF ? fails(function () { proto.valueOf.call(that); }) : cof(that) != NUMBER)\n        ? inheritIfRequired(new Base(toNumber(it)), that, $Number) : toNumber(it);\n  };\n  for (var keys = _dereq_(56) ? gOPN(Base) : (\n    // ES3:\n    'MAX_VALUE,MIN_VALUE,NaN,NEGATIVE_INFINITY,POSITIVE_INFINITY,' +\n    // ES6 (in case, if modules with ES6 Number statics required before):\n    'EPSILON,isFinite,isInteger,isNaN,isSafeInteger,MAX_SAFE_INTEGER,' +\n    'MIN_SAFE_INTEGER,parseFloat,parseInt,isInteger'\n  ).split(','), j = 0, key; keys.length > j; j++) {\n    if (has(Base, key = keys[j]) && !has($Number, key)) {\n      dP($Number, key, gOPD(Base, key));\n    }\n  }\n  $Number.prototype = proto;\n  proto.constructor = $Number;\n  _dereq_(116)(global, NUMBER, $Number);\n}\n\n},{\"101\":101,\"116\":116,\"132\":132,\"141\":141,\"46\":46,\"56\":56,\"62\":62,\"68\":68,\"69\":69,\"73\":73,\"96\":96,\"97\":97,\"99\":99}],200:[function(_dereq_,module,exports){\n// 20.1.2.1 Number.EPSILON\nvar $export = _dereq_(60);\n\n$export($export.S, 'Number', { EPSILON: Math.pow(2, -52) });\n\n},{\"60\":60}],201:[function(_dereq_,module,exports){\n// 20.1.2.2 Number.isFinite(number)\nvar $export = _dereq_(60);\nvar _isFinite = _dereq_(68).isFinite;\n\n$export($export.S, 'Number', {\n  isFinite: function isFinite(it) {\n    return typeof it == 'number' && _isFinite(it);\n  }\n});\n\n},{\"60\":60,\"68\":68}],202:[function(_dereq_,module,exports){\n// 20.1.2.3 Number.isInteger(number)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Number', { isInteger: _dereq_(78) });\n\n},{\"60\":60,\"78\":78}],203:[function(_dereq_,module,exports){\n// 20.1.2.4 Number.isNaN(number)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Number', {\n  isNaN: function isNaN(number) {\n    // eslint-disable-next-line no-self-compare\n    return number != number;\n  }\n});\n\n},{\"60\":60}],204:[function(_dereq_,module,exports){\n// 20.1.2.5 Number.isSafeInteger(number)\nvar $export = _dereq_(60);\nvar isInteger = _dereq_(78);\nvar abs = Math.abs;\n\n$export($export.S, 'Number', {\n  isSafeInteger: function isSafeInteger(number) {\n    return isInteger(number) && abs(number) <= 0x1fffffffffffff;\n  }\n});\n\n},{\"60\":60,\"78\":78}],205:[function(_dereq_,module,exports){\n// 20.1.2.6 Number.MAX_SAFE_INTEGER\nvar $export = _dereq_(60);\n\n$export($export.S, 'Number', { MAX_SAFE_INTEGER: 0x1fffffffffffff });\n\n},{\"60\":60}],206:[function(_dereq_,module,exports){\n// 20.1.2.10 Number.MIN_SAFE_INTEGER\nvar $export = _dereq_(60);\n\n$export($export.S, 'Number', { MIN_SAFE_INTEGER: -0x1fffffffffffff });\n\n},{\"60\":60}],207:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar $parseFloat = _dereq_(110);\n// 20.1.2.12 Number.parseFloat(string)\n$export($export.S + $export.F * (Number.parseFloat != $parseFloat), 'Number', { parseFloat: $parseFloat });\n\n},{\"110\":110,\"60\":60}],208:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar $parseInt = _dereq_(111);\n// 20.1.2.13 Number.parseInt(string, radix)\n$export($export.S + $export.F * (Number.parseInt != $parseInt), 'Number', { parseInt: $parseInt });\n\n},{\"111\":111,\"60\":60}],209:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar toInteger = _dereq_(137);\nvar aNumberValue = _dereq_(32);\nvar repeat = _dereq_(131);\nvar $toFixed = 1.0.toFixed;\nvar floor = Math.floor;\nvar data = [0, 0, 0, 0, 0, 0];\nvar ERROR = 'Number.toFixed: incorrect invocation!';\nvar ZERO = '0';\n\nvar multiply = function (n, c) {\n  var i = -1;\n  var c2 = c;\n  while (++i < 6) {\n    c2 += n * data[i];\n    data[i] = c2 % 1e7;\n    c2 = floor(c2 / 1e7);\n  }\n};\nvar divide = function (n) {\n  var i = 6;\n  var c = 0;\n  while (--i >= 0) {\n    c += data[i];\n    data[i] = floor(c / n);\n    c = (c % n) * 1e7;\n  }\n};\nvar numToString = function () {\n  var i = 6;\n  var s = '';\n  while (--i >= 0) {\n    if (s !== '' || i === 0 || data[i] !== 0) {\n      var t = String(data[i]);\n      s = s === '' ? t : s + repeat.call(ZERO, 7 - t.length) + t;\n    }\n  } return s;\n};\nvar pow = function (x, n, acc) {\n  return n === 0 ? acc : n % 2 === 1 ? pow(x, n - 1, acc * x) : pow(x * x, n / 2, acc);\n};\nvar log = function (x) {\n  var n = 0;\n  var x2 = x;\n  while (x2 >= 4096) {\n    n += 12;\n    x2 /= 4096;\n  }\n  while (x2 >= 2) {\n    n += 1;\n    x2 /= 2;\n  } return n;\n};\n\n$export($export.P + $export.F * (!!$toFixed && (\n  0.00008.toFixed(3) !== '0.000' ||\n  0.9.toFixed(0) !== '1' ||\n  1.255.toFixed(2) !== '1.25' ||\n  1000000000000000128.0.toFixed(0) !== '1000000000000000128'\n) || !_dereq_(62)(function () {\n  // V8 ~ Android 4.3-\n  $toFixed.call({});\n})), 'Number', {\n  toFixed: function toFixed(fractionDigits) {\n    var x = aNumberValue(this, ERROR);\n    var f = toInteger(fractionDigits);\n    var s = '';\n    var m = ZERO;\n    var e, z, j, k;\n    if (f < 0 || f > 20) throw RangeError(ERROR);\n    // eslint-disable-next-line no-self-compare\n    if (x != x) return 'NaN';\n    if (x <= -1e21 || x >= 1e21) return String(x);\n    if (x < 0) {\n      s = '-';\n      x = -x;\n    }\n    if (x > 1e-21) {\n      e = log(x * pow(2, 69, 1)) - 69;\n      z = e < 0 ? x * pow(2, -e, 1) : x / pow(2, e, 1);\n      z *= 0x10000000000000;\n      e = 52 - e;\n      if (e > 0) {\n        multiply(0, z);\n        j = f;\n        while (j >= 7) {\n          multiply(1e7, 0);\n          j -= 7;\n        }\n        multiply(pow(10, j, 1), 0);\n        j = e - 1;\n        while (j >= 23) {\n          divide(1 << 23);\n          j -= 23;\n        }\n        divide(1 << j);\n        multiply(1, 1);\n        divide(2);\n        m = numToString();\n      } else {\n        multiply(0, z);\n        multiply(1 << -e, 0);\n        m = numToString() + repeat.call(ZERO, f);\n      }\n    }\n    if (f > 0) {\n      k = m.length;\n      m = s + (k <= f ? '0.' + repeat.call(ZERO, f - k) + m : m.slice(0, k - f) + '.' + m.slice(k - f));\n    } else {\n      m = s + m;\n    } return m;\n  }\n});\n\n},{\"131\":131,\"137\":137,\"32\":32,\"60\":60,\"62\":62}],210:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $fails = _dereq_(62);\nvar aNumberValue = _dereq_(32);\nvar $toPrecision = 1.0.toPrecision;\n\n$export($export.P + $export.F * ($fails(function () {\n  // IE7-\n  return $toPrecision.call(1, undefined) !== '1';\n}) || !$fails(function () {\n  // V8 ~ Android 4.3-\n  $toPrecision.call({});\n})), 'Number', {\n  toPrecision: function toPrecision(precision) {\n    var that = aNumberValue(this, 'Number#toPrecision: incorrect invocation!');\n    return precision === undefined ? $toPrecision.call(that) : $toPrecision.call(that, precision);\n  }\n});\n\n},{\"32\":32,\"60\":60,\"62\":62}],211:[function(_dereq_,module,exports){\n// 19.1.3.1 Object.assign(target, source)\nvar $export = _dereq_(60);\n\n$export($export.S + $export.F, 'Object', { assign: _dereq_(95) });\n\n},{\"60\":60,\"95\":95}],212:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\n// 19.1.2.2 / 15.2.3.5 Object.create(O [, Properties])\n$export($export.S, 'Object', { create: _dereq_(96) });\n\n},{\"60\":60,\"96\":96}],213:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\n// 19.1.2.3 / 15.2.3.7 Object.defineProperties(O, Properties)\n$export($export.S + $export.F * !_dereq_(56), 'Object', { defineProperties: _dereq_(98) });\n\n},{\"56\":56,\"60\":60,\"98\":98}],214:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\n// 19.1.2.4 / 15.2.3.6 Object.defineProperty(O, P, Attributes)\n$export($export.S + $export.F * !_dereq_(56), 'Object', { defineProperty: _dereq_(97).f });\n\n},{\"56\":56,\"60\":60,\"97\":97}],215:[function(_dereq_,module,exports){\n// 19.1.2.5 Object.freeze(O)\nvar isObject = _dereq_(79);\nvar meta = _dereq_(92).onFreeze;\n\n_dereq_(107)('freeze', function ($freeze) {\n  return function freeze(it) {\n    return $freeze && isObject(it) ? $freeze(meta(it)) : it;\n  };\n});\n\n},{\"107\":107,\"79\":79,\"92\":92}],216:[function(_dereq_,module,exports){\n// 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\nvar toIObject = _dereq_(138);\nvar $getOwnPropertyDescriptor = _dereq_(99).f;\n\n_dereq_(107)('getOwnPropertyDescriptor', function () {\n  return function getOwnPropertyDescriptor(it, key) {\n    return $getOwnPropertyDescriptor(toIObject(it), key);\n  };\n});\n\n},{\"107\":107,\"138\":138,\"99\":99}],217:[function(_dereq_,module,exports){\n// 19.1.2.7 Object.getOwnPropertyNames(O)\n_dereq_(107)('getOwnPropertyNames', function () {\n  return _dereq_(100).f;\n});\n\n},{\"100\":100,\"107\":107}],218:[function(_dereq_,module,exports){\n// 19.1.2.9 Object.getPrototypeOf(O)\nvar toObject = _dereq_(140);\nvar $getPrototypeOf = _dereq_(103);\n\n_dereq_(107)('getPrototypeOf', function () {\n  return function getPrototypeOf(it) {\n    return $getPrototypeOf(toObject(it));\n  };\n});\n\n},{\"103\":103,\"107\":107,\"140\":140}],219:[function(_dereq_,module,exports){\n// 19.1.2.11 Object.isExtensible(O)\nvar isObject = _dereq_(79);\n\n_dereq_(107)('isExtensible', function ($isExtensible) {\n  return function isExtensible(it) {\n    return isObject(it) ? $isExtensible ? $isExtensible(it) : true : false;\n  };\n});\n\n},{\"107\":107,\"79\":79}],220:[function(_dereq_,module,exports){\n// 19.1.2.12 Object.isFrozen(O)\nvar isObject = _dereq_(79);\n\n_dereq_(107)('isFrozen', function ($isFrozen) {\n  return function isFrozen(it) {\n    return isObject(it) ? $isFrozen ? $isFrozen(it) : false : true;\n  };\n});\n\n},{\"107\":107,\"79\":79}],221:[function(_dereq_,module,exports){\n// 19.1.2.13 Object.isSealed(O)\nvar isObject = _dereq_(79);\n\n_dereq_(107)('isSealed', function ($isSealed) {\n  return function isSealed(it) {\n    return isObject(it) ? $isSealed ? $isSealed(it) : false : true;\n  };\n});\n\n},{\"107\":107,\"79\":79}],222:[function(_dereq_,module,exports){\n// 19.1.3.10 Object.is(value1, value2)\nvar $export = _dereq_(60);\n$export($export.S, 'Object', { is: _dereq_(119) });\n\n},{\"119\":119,\"60\":60}],223:[function(_dereq_,module,exports){\n// 19.1.2.14 Object.keys(O)\nvar toObject = _dereq_(140);\nvar $keys = _dereq_(105);\n\n_dereq_(107)('keys', function () {\n  return function keys(it) {\n    return $keys(toObject(it));\n  };\n});\n\n},{\"105\":105,\"107\":107,\"140\":140}],224:[function(_dereq_,module,exports){\n// 19.1.2.15 Object.preventExtensions(O)\nvar isObject = _dereq_(79);\nvar meta = _dereq_(92).onFreeze;\n\n_dereq_(107)('preventExtensions', function ($preventExtensions) {\n  return function preventExtensions(it) {\n    return $preventExtensions && isObject(it) ? $preventExtensions(meta(it)) : it;\n  };\n});\n\n},{\"107\":107,\"79\":79,\"92\":92}],225:[function(_dereq_,module,exports){\n// 19.1.2.17 Object.seal(O)\nvar isObject = _dereq_(79);\nvar meta = _dereq_(92).onFreeze;\n\n_dereq_(107)('seal', function ($seal) {\n  return function seal(it) {\n    return $seal && isObject(it) ? $seal(meta(it)) : it;\n  };\n});\n\n},{\"107\":107,\"79\":79,\"92\":92}],226:[function(_dereq_,module,exports){\n// 19.1.3.19 Object.setPrototypeOf(O, proto)\nvar $export = _dereq_(60);\n$export($export.S, 'Object', { setPrototypeOf: _dereq_(120).set });\n\n},{\"120\":120,\"60\":60}],227:[function(_dereq_,module,exports){\n'use strict';\n// 19.1.3.6 Object.prototype.toString()\nvar classof = _dereq_(45);\nvar test = {};\ntest[_dereq_(150)('toStringTag')] = 'z';\nif (test + '' != '[object z]') {\n  _dereq_(116)(Object.prototype, 'toString', function toString() {\n    return '[object ' + classof(this) + ']';\n  }, true);\n}\n\n},{\"116\":116,\"150\":150,\"45\":45}],228:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar $parseFloat = _dereq_(110);\n// 18.2.4 parseFloat(string)\n$export($export.G + $export.F * (parseFloat != $parseFloat), { parseFloat: $parseFloat });\n\n},{\"110\":110,\"60\":60}],229:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar $parseInt = _dereq_(111);\n// 18.2.5 parseInt(string, radix)\n$export($export.G + $export.F * (parseInt != $parseInt), { parseInt: $parseInt });\n\n},{\"111\":111,\"60\":60}],230:[function(_dereq_,module,exports){\n'use strict';\nvar LIBRARY = _dereq_(87);\nvar global = _dereq_(68);\nvar ctx = _dereq_(52);\nvar classof = _dereq_(45);\nvar $export = _dereq_(60);\nvar isObject = _dereq_(79);\nvar aFunction = _dereq_(31);\nvar anInstance = _dereq_(35);\nvar forOf = _dereq_(66);\nvar speciesConstructor = _dereq_(125);\nvar task = _dereq_(134).set;\nvar microtask = _dereq_(93)();\nvar newPromiseCapabilityModule = _dereq_(94);\nvar perform = _dereq_(112);\nvar userAgent = _dereq_(146);\nvar promiseResolve = _dereq_(113);\nvar PROMISE = 'Promise';\nvar TypeError = global.TypeError;\nvar process = global.process;\nvar versions = process && process.versions;\nvar v8 = versions && versions.v8 || '';\nvar $Promise = global[PROMISE];\nvar isNode = classof(process) == 'process';\nvar empty = function () { /* empty */ };\nvar Internal, newGenericPromiseCapability, OwnPromiseCapability, Wrapper;\nvar newPromiseCapability = newGenericPromiseCapability = newPromiseCapabilityModule.f;\n\nvar USE_NATIVE = !!function () {\n  try {\n    // correct subclassing with @@species support\n    var promise = $Promise.resolve(1);\n    var FakePromise = (promise.constructor = {})[_dereq_(150)('species')] = function (exec) {\n      exec(empty, empty);\n    };\n    // unhandled rejections tracking support, NodeJS Promise without it fails @@species test\n    return (isNode || typeof PromiseRejectionEvent == 'function')\n      && promise.then(empty) instanceof FakePromise\n      // v8 6.6 (Node 10 and Chrome 66) have a bug with resolving custom thenables\n      // https://bugs.chromium.org/p/chromium/issues/detail?id=830565\n      // we can't detect it synchronously, so just check versions\n      && v8.indexOf('6.6') !== 0\n      && userAgent.indexOf('Chrome/66') === -1;\n  } catch (e) { /* empty */ }\n}();\n\n// helpers\nvar isThenable = function (it) {\n  var then;\n  return isObject(it) && typeof (then = it.then) == 'function' ? then : false;\n};\nvar notify = function (promise, isReject) {\n  if (promise._n) return;\n  promise._n = true;\n  var chain = promise._c;\n  microtask(function () {\n    var value = promise._v;\n    var ok = promise._s == 1;\n    var i = 0;\n    var run = function (reaction) {\n      var handler = ok ? reaction.ok : reaction.fail;\n      var resolve = reaction.resolve;\n      var reject = reaction.reject;\n      var domain = reaction.domain;\n      var result, then, exited;\n      try {\n        if (handler) {\n          if (!ok) {\n            if (promise._h == 2) onHandleUnhandled(promise);\n            promise._h = 1;\n          }\n          if (handler === true) result = value;\n          else {\n            if (domain) domain.enter();\n            result = handler(value); // may throw\n            if (domain) {\n              domain.exit();\n              exited = true;\n            }\n          }\n          if (result === reaction.promise) {\n            reject(TypeError('Promise-chain cycle'));\n          } else if (then = isThenable(result)) {\n            then.call(result, resolve, reject);\n          } else resolve(result);\n        } else reject(value);\n      } catch (e) {\n        if (domain && !exited) domain.exit();\n        reject(e);\n      }\n    };\n    while (chain.length > i) run(chain[i++]); // variable length - can't use forEach\n    promise._c = [];\n    promise._n = false;\n    if (isReject && !promise._h) onUnhandled(promise);\n  });\n};\nvar onUnhandled = function (promise) {\n  task.call(global, function () {\n    var value = promise._v;\n    var unhandled = isUnhandled(promise);\n    var result, handler, console;\n    if (unhandled) {\n      result = perform(function () {\n        if (isNode) {\n          process.emit('unhandledRejection', value, promise);\n        } else if (handler = global.onunhandledrejection) {\n          handler({ promise: promise, reason: value });\n        } else if ((console = global.console) && console.error) {\n          console.error('Unhandled promise rejection', value);\n        }\n      });\n      // Browsers should not trigger `rejectionHandled` event if it was handled here, NodeJS - should\n      promise._h = isNode || isUnhandled(promise) ? 2 : 1;\n    } promise._a = undefined;\n    if (unhandled && result.e) throw result.v;\n  });\n};\nvar isUnhandled = function (promise) {\n  return promise._h !== 1 && (promise._a || promise._c).length === 0;\n};\nvar onHandleUnhandled = function (promise) {\n  task.call(global, function () {\n    var handler;\n    if (isNode) {\n      process.emit('rejectionHandled', promise);\n    } else if (handler = global.onrejectionhandled) {\n      handler({ promise: promise, reason: promise._v });\n    }\n  });\n};\nvar $reject = function (value) {\n  var promise = this;\n  if (promise._d) return;\n  promise._d = true;\n  promise = promise._w || promise; // unwrap\n  promise._v = value;\n  promise._s = 2;\n  if (!promise._a) promise._a = promise._c.slice();\n  notify(promise, true);\n};\nvar $resolve = function (value) {\n  var promise = this;\n  var then;\n  if (promise._d) return;\n  promise._d = true;\n  promise = promise._w || promise; // unwrap\n  try {\n    if (promise === value) throw TypeError(\"Promise can't be resolved itself\");\n    if (then = isThenable(value)) {\n      microtask(function () {\n        var wrapper = { _w: promise, _d: false }; // wrap\n        try {\n          then.call(value, ctx($resolve, wrapper, 1), ctx($reject, wrapper, 1));\n        } catch (e) {\n          $reject.call(wrapper, e);\n        }\n      });\n    } else {\n      promise._v = value;\n      promise._s = 1;\n      notify(promise, false);\n    }\n  } catch (e) {\n    $reject.call({ _w: promise, _d: false }, e); // wrap\n  }\n};\n\n// constructor polyfill\nif (!USE_NATIVE) {\n  // 25.4.3.1 Promise(executor)\n  $Promise = function Promise(executor) {\n    anInstance(this, $Promise, PROMISE, '_h');\n    aFunction(executor);\n    Internal.call(this);\n    try {\n      executor(ctx($resolve, this, 1), ctx($reject, this, 1));\n    } catch (err) {\n      $reject.call(this, err);\n    }\n  };\n  // eslint-disable-next-line no-unused-vars\n  Internal = function Promise(executor) {\n    this._c = [];             // <- awaiting reactions\n    this._a = undefined;      // <- checked in isUnhandled reactions\n    this._s = 0;              // <- state\n    this._d = false;          // <- done\n    this._v = undefined;      // <- value\n    this._h = 0;              // <- rejection state, 0 - default, 1 - handled, 2 - unhandled\n    this._n = false;          // <- notify\n  };\n  Internal.prototype = _dereq_(115)($Promise.prototype, {\n    // 25.4.5.3 Promise.prototype.then(onFulfilled, onRejected)\n    then: function then(onFulfilled, onRejected) {\n      var reaction = newPromiseCapability(speciesConstructor(this, $Promise));\n      reaction.ok = typeof onFulfilled == 'function' ? onFulfilled : true;\n      reaction.fail = typeof onRejected == 'function' && onRejected;\n      reaction.domain = isNode ? process.domain : undefined;\n      this._c.push(reaction);\n      if (this._a) this._a.push(reaction);\n      if (this._s) notify(this, false);\n      return reaction.promise;\n    },\n    // 25.4.5.1 Promise.prototype.catch(onRejected)\n    'catch': function (onRejected) {\n      return this.then(undefined, onRejected);\n    }\n  });\n  OwnPromiseCapability = function () {\n    var promise = new Internal();\n    this.promise = promise;\n    this.resolve = ctx($resolve, promise, 1);\n    this.reject = ctx($reject, promise, 1);\n  };\n  newPromiseCapabilityModule.f = newPromiseCapability = function (C) {\n    return C === $Promise || C === Wrapper\n      ? new OwnPromiseCapability(C)\n      : newGenericPromiseCapability(C);\n  };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Promise: $Promise });\n_dereq_(122)($Promise, PROMISE);\n_dereq_(121)(PROMISE);\nWrapper = _dereq_(50)[PROMISE];\n\n// statics\n$export($export.S + $export.F * !USE_NATIVE, PROMISE, {\n  // 25.4.4.5 Promise.reject(r)\n  reject: function reject(r) {\n    var capability = newPromiseCapability(this);\n    var $$reject = capability.reject;\n    $$reject(r);\n    return capability.promise;\n  }\n});\n$export($export.S + $export.F * (LIBRARY || !USE_NATIVE), PROMISE, {\n  // 25.4.4.6 Promise.resolve(x)\n  resolve: function resolve(x) {\n    return promiseResolve(LIBRARY && this === Wrapper ? $Promise : this, x);\n  }\n});\n$export($export.S + $export.F * !(USE_NATIVE && _dereq_(84)(function (iter) {\n  $Promise.all(iter)['catch'](empty);\n})), PROMISE, {\n  // 25.4.4.1 Promise.all(iterable)\n  all: function all(iterable) {\n    var C = this;\n    var capability = newPromiseCapability(C);\n    var resolve = capability.resolve;\n    var reject = capability.reject;\n    var result = perform(function () {\n      var values = [];\n      var index = 0;\n      var remaining = 1;\n      forOf(iterable, false, function (promise) {\n        var $index = index++;\n        var alreadyCalled = false;\n        values.push(undefined);\n        remaining++;\n        C.resolve(promise).then(function (value) {\n          if (alreadyCalled) return;\n          alreadyCalled = true;\n          values[$index] = value;\n          --remaining || resolve(values);\n        }, reject);\n      });\n      --remaining || resolve(values);\n    });\n    if (result.e) reject(result.v);\n    return capability.promise;\n  },\n  // 25.4.4.4 Promise.race(iterable)\n  race: function race(iterable) {\n    var C = this;\n    var capability = newPromiseCapability(C);\n    var reject = capability.reject;\n    var result = perform(function () {\n      forOf(iterable, false, function (promise) {\n        C.resolve(promise).then(capability.resolve, reject);\n      });\n    });\n    if (result.e) reject(result.v);\n    return capability.promise;\n  }\n});\n\n},{\"112\":112,\"113\":113,\"115\":115,\"121\":121,\"122\":122,\"125\":125,\"134\":134,\"146\":146,\"150\":150,\"31\":31,\"35\":35,\"45\":45,\"50\":50,\"52\":52,\"60\":60,\"66\":66,\"68\":68,\"79\":79,\"84\":84,\"87\":87,\"93\":93,\"94\":94}],231:[function(_dereq_,module,exports){\n// 26.1.1 Reflect.apply(target, thisArgument, argumentsList)\nvar $export = _dereq_(60);\nvar aFunction = _dereq_(31);\nvar anObject = _dereq_(36);\nvar rApply = (_dereq_(68).Reflect || {}).apply;\nvar fApply = Function.apply;\n// MS Edge argumentsList argument is optional\n$export($export.S + $export.F * !_dereq_(62)(function () {\n  rApply(function () { /* empty */ });\n}), 'Reflect', {\n  apply: function apply(target, thisArgument, argumentsList) {\n    var T = aFunction(target);\n    var L = anObject(argumentsList);\n    return rApply ? rApply(T, thisArgument, L) : fApply.call(T, thisArgument, L);\n  }\n});\n\n},{\"31\":31,\"36\":36,\"60\":60,\"62\":62,\"68\":68}],232:[function(_dereq_,module,exports){\n// 26.1.2 Reflect.construct(target, argumentsList [, newTarget])\nvar $export = _dereq_(60);\nvar create = _dereq_(96);\nvar aFunction = _dereq_(31);\nvar anObject = _dereq_(36);\nvar isObject = _dereq_(79);\nvar fails = _dereq_(62);\nvar bind = _dereq_(44);\nvar rConstruct = (_dereq_(68).Reflect || {}).construct;\n\n// MS Edge supports only 2 arguments and argumentsList argument is optional\n// FF Nightly sets third argument as `new.target`, but does not create `this` from it\nvar NEW_TARGET_BUG = fails(function () {\n  function F() { /* empty */ }\n  return !(rConstruct(function () { /* empty */ }, [], F) instanceof F);\n});\nvar ARGS_BUG = !fails(function () {\n  rConstruct(function () { /* empty */ });\n});\n\n$export($export.S + $export.F * (NEW_TARGET_BUG || ARGS_BUG), 'Reflect', {\n  construct: function construct(Target, args /* , newTarget */) {\n    aFunction(Target);\n    anObject(args);\n    var newTarget = arguments.length < 3 ? Target : aFunction(arguments[2]);\n    if (ARGS_BUG && !NEW_TARGET_BUG) return rConstruct(Target, args, newTarget);\n    if (Target == newTarget) {\n      // w/o altered newTarget, optimization for 0-4 arguments\n      switch (args.length) {\n        case 0: return new Target();\n        case 1: return new Target(args[0]);\n        case 2: return new Target(args[0], args[1]);\n        case 3: return new Target(args[0], args[1], args[2]);\n        case 4: return new Target(args[0], args[1], args[2], args[3]);\n      }\n      // w/o altered newTarget, lot of arguments case\n      var $args = [null];\n      $args.push.apply($args, args);\n      return new (bind.apply(Target, $args))();\n    }\n    // with altered newTarget, not support built-in constructors\n    var proto = newTarget.prototype;\n    var instance = create(isObject(proto) ? proto : Object.prototype);\n    var result = Function.apply.call(Target, instance, args);\n    return isObject(result) ? result : instance;\n  }\n});\n\n},{\"31\":31,\"36\":36,\"44\":44,\"60\":60,\"62\":62,\"68\":68,\"79\":79,\"96\":96}],233:[function(_dereq_,module,exports){\n// 26.1.3 Reflect.defineProperty(target, propertyKey, attributes)\nvar dP = _dereq_(97);\nvar $export = _dereq_(60);\nvar anObject = _dereq_(36);\nvar toPrimitive = _dereq_(141);\n\n// MS Edge has broken Reflect.defineProperty - throwing instead of returning false\n$export($export.S + $export.F * _dereq_(62)(function () {\n  // eslint-disable-next-line no-undef\n  Reflect.defineProperty(dP.f({}, 1, { value: 1 }), 1, { value: 2 });\n}), 'Reflect', {\n  defineProperty: function defineProperty(target, propertyKey, attributes) {\n    anObject(target);\n    propertyKey = toPrimitive(propertyKey, true);\n    anObject(attributes);\n    try {\n      dP.f(target, propertyKey, attributes);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});\n\n},{\"141\":141,\"36\":36,\"60\":60,\"62\":62,\"97\":97}],234:[function(_dereq_,module,exports){\n// 26.1.4 Reflect.deleteProperty(target, propertyKey)\nvar $export = _dereq_(60);\nvar gOPD = _dereq_(99).f;\nvar anObject = _dereq_(36);\n\n$export($export.S, 'Reflect', {\n  deleteProperty: function deleteProperty(target, propertyKey) {\n    var desc = gOPD(anObject(target), propertyKey);\n    return desc && !desc.configurable ? false : delete target[propertyKey];\n  }\n});\n\n},{\"36\":36,\"60\":60,\"99\":99}],235:[function(_dereq_,module,exports){\n'use strict';\n// 26.1.5 Reflect.enumerate(target)\nvar $export = _dereq_(60);\nvar anObject = _dereq_(36);\nvar Enumerate = function (iterated) {\n  this._t = anObject(iterated); // target\n  this._i = 0;                  // next index\n  var keys = this._k = [];      // keys\n  var key;\n  for (key in iterated) keys.push(key);\n};\n_dereq_(82)(Enumerate, 'Object', function () {\n  var that = this;\n  var keys = that._k;\n  var key;\n  do {\n    if (that._i >= keys.length) return { value: undefined, done: true };\n  } while (!((key = keys[that._i++]) in that._t));\n  return { value: key, done: false };\n});\n\n$export($export.S, 'Reflect', {\n  enumerate: function enumerate(target) {\n    return new Enumerate(target);\n  }\n});\n\n},{\"36\":36,\"60\":60,\"82\":82}],236:[function(_dereq_,module,exports){\n// 26.1.7 Reflect.getOwnPropertyDescriptor(target, propertyKey)\nvar gOPD = _dereq_(99);\nvar $export = _dereq_(60);\nvar anObject = _dereq_(36);\n\n$export($export.S, 'Reflect', {\n  getOwnPropertyDescriptor: function getOwnPropertyDescriptor(target, propertyKey) {\n    return gOPD.f(anObject(target), propertyKey);\n  }\n});\n\n},{\"36\":36,\"60\":60,\"99\":99}],237:[function(_dereq_,module,exports){\n// 26.1.8 Reflect.getPrototypeOf(target)\nvar $export = _dereq_(60);\nvar getProto = _dereq_(103);\nvar anObject = _dereq_(36);\n\n$export($export.S, 'Reflect', {\n  getPrototypeOf: function getPrototypeOf(target) {\n    return getProto(anObject(target));\n  }\n});\n\n},{\"103\":103,\"36\":36,\"60\":60}],238:[function(_dereq_,module,exports){\n// 26.1.6 Reflect.get(target, propertyKey [, receiver])\nvar gOPD = _dereq_(99);\nvar getPrototypeOf = _dereq_(103);\nvar has = _dereq_(69);\nvar $export = _dereq_(60);\nvar isObject = _dereq_(79);\nvar anObject = _dereq_(36);\n\nfunction get(target, propertyKey /* , receiver */) {\n  var receiver = arguments.length < 3 ? target : arguments[2];\n  var desc, proto;\n  if (anObject(target) === receiver) return target[propertyKey];\n  if (desc = gOPD.f(target, propertyKey)) return has(desc, 'value')\n    ? desc.value\n    : desc.get !== undefined\n      ? desc.get.call(receiver)\n      : undefined;\n  if (isObject(proto = getPrototypeOf(target))) return get(proto, propertyKey, receiver);\n}\n\n$export($export.S, 'Reflect', { get: get });\n\n},{\"103\":103,\"36\":36,\"60\":60,\"69\":69,\"79\":79,\"99\":99}],239:[function(_dereq_,module,exports){\n// 26.1.9 Reflect.has(target, propertyKey)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Reflect', {\n  has: function has(target, propertyKey) {\n    return propertyKey in target;\n  }\n});\n\n},{\"60\":60}],240:[function(_dereq_,module,exports){\n// 26.1.10 Reflect.isExtensible(target)\nvar $export = _dereq_(60);\nvar anObject = _dereq_(36);\nvar $isExtensible = Object.isExtensible;\n\n$export($export.S, 'Reflect', {\n  isExtensible: function isExtensible(target) {\n    anObject(target);\n    return $isExtensible ? $isExtensible(target) : true;\n  }\n});\n\n},{\"36\":36,\"60\":60}],241:[function(_dereq_,module,exports){\n// 26.1.11 Reflect.ownKeys(target)\nvar $export = _dereq_(60);\n\n$export($export.S, 'Reflect', { ownKeys: _dereq_(109) });\n\n},{\"109\":109,\"60\":60}],242:[function(_dereq_,module,exports){\n// 26.1.12 Reflect.preventExtensions(target)\nvar $export = _dereq_(60);\nvar anObject = _dereq_(36);\nvar $preventExtensions = Object.preventExtensions;\n\n$export($export.S, 'Reflect', {\n  preventExtensions: function preventExtensions(target) {\n    anObject(target);\n    try {\n      if ($preventExtensions) $preventExtensions(target);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});\n\n},{\"36\":36,\"60\":60}],243:[function(_dereq_,module,exports){\n// 26.1.14 Reflect.setPrototypeOf(target, proto)\nvar $export = _dereq_(60);\nvar setProto = _dereq_(120);\n\nif (setProto) $export($export.S, 'Reflect', {\n  setPrototypeOf: function setPrototypeOf(target, proto) {\n    setProto.check(target, proto);\n    try {\n      setProto.set(target, proto);\n      return true;\n    } catch (e) {\n      return false;\n    }\n  }\n});\n\n},{\"120\":120,\"60\":60}],244:[function(_dereq_,module,exports){\n// 26.1.13 Reflect.set(target, propertyKey, V [, receiver])\nvar dP = _dereq_(97);\nvar gOPD = _dereq_(99);\nvar getPrototypeOf = _dereq_(103);\nvar has = _dereq_(69);\nvar $export = _dereq_(60);\nvar createDesc = _dereq_(114);\nvar anObject = _dereq_(36);\nvar isObject = _dereq_(79);\n\nfunction set(target, propertyKey, V /* , receiver */) {\n  var receiver = arguments.length < 4 ? target : arguments[3];\n  var ownDesc = gOPD.f(anObject(target), propertyKey);\n  var existingDescriptor, proto;\n  if (!ownDesc) {\n    if (isObject(proto = getPrototypeOf(target))) {\n      return set(proto, propertyKey, V, receiver);\n    }\n    ownDesc = createDesc(0);\n  }\n  if (has(ownDesc, 'value')) {\n    if (ownDesc.writable === false || !isObject(receiver)) return false;\n    if (existingDescriptor = gOPD.f(receiver, propertyKey)) {\n      if (existingDescriptor.get || existingDescriptor.set || existingDescriptor.writable === false) return false;\n      existingDescriptor.value = V;\n      dP.f(receiver, propertyKey, existingDescriptor);\n    } else dP.f(receiver, propertyKey, createDesc(0, V));\n    return true;\n  }\n  return ownDesc.set === undefined ? false : (ownDesc.set.call(receiver, V), true);\n}\n\n$export($export.S, 'Reflect', { set: set });\n\n},{\"103\":103,\"114\":114,\"36\":36,\"60\":60,\"69\":69,\"79\":79,\"97\":97,\"99\":99}],245:[function(_dereq_,module,exports){\nvar global = _dereq_(68);\nvar inheritIfRequired = _dereq_(73);\nvar dP = _dereq_(97).f;\nvar gOPN = _dereq_(101).f;\nvar isRegExp = _dereq_(80);\nvar $flags = _dereq_(64);\nvar $RegExp = global.RegExp;\nvar Base = $RegExp;\nvar proto = $RegExp.prototype;\nvar re1 = /a/g;\nvar re2 = /a/g;\n// \"new\" creates a new object, old webkit buggy here\nvar CORRECT_NEW = new $RegExp(re1) !== re1;\n\nif (_dereq_(56) && (!CORRECT_NEW || _dereq_(62)(function () {\n  re2[_dereq_(150)('match')] = false;\n  // RegExp constructor can alter flags and IsRegExp works correct with @@match\n  return $RegExp(re1) != re1 || $RegExp(re2) == re2 || $RegExp(re1, 'i') != '/a/i';\n}))) {\n  $RegExp = function RegExp(p, f) {\n    var tiRE = this instanceof $RegExp;\n    var piRE = isRegExp(p);\n    var fiU = f === undefined;\n    return !tiRE && piRE && p.constructor === $RegExp && fiU ? p\n      : inheritIfRequired(CORRECT_NEW\n        ? new Base(piRE && !fiU ? p.source : p, f)\n        : Base((piRE = p instanceof $RegExp) ? p.source : p, piRE && fiU ? $flags.call(p) : f)\n      , tiRE ? this : proto, $RegExp);\n  };\n  var proxy = function (key) {\n    key in $RegExp || dP($RegExp, key, {\n      configurable: true,\n      get: function () { return Base[key]; },\n      set: function (it) { Base[key] = it; }\n    });\n  };\n  for (var keys = gOPN(Base), i = 0; keys.length > i;) proxy(keys[i++]);\n  proto.constructor = $RegExp;\n  $RegExp.prototype = proto;\n  _dereq_(116)(global, 'RegExp', $RegExp);\n}\n\n_dereq_(121)('RegExp');\n\n},{\"101\":101,\"116\":116,\"121\":121,\"150\":150,\"56\":56,\"62\":62,\"64\":64,\"68\":68,\"73\":73,\"80\":80,\"97\":97}],246:[function(_dereq_,module,exports){\n'use strict';\nvar regexpExec = _dereq_(118);\n_dereq_(60)({\n  target: 'RegExp',\n  proto: true,\n  forced: regexpExec !== /./.exec\n}, {\n  exec: regexpExec\n});\n\n},{\"118\":118,\"60\":60}],247:[function(_dereq_,module,exports){\n// 21.2.5.3 get RegExp.prototype.flags()\nif (_dereq_(56) && /./g.flags != 'g') _dereq_(97).f(RegExp.prototype, 'flags', {\n  configurable: true,\n  get: _dereq_(64)\n});\n\n},{\"56\":56,\"64\":64,\"97\":97}],248:[function(_dereq_,module,exports){\n'use strict';\n\nvar anObject = _dereq_(36);\nvar toLength = _dereq_(139);\nvar advanceStringIndex = _dereq_(34);\nvar regExpExec = _dereq_(117);\n\n// @@match logic\n_dereq_(63)('match', 1, function (defined, MATCH, $match, maybeCallNative) {\n  return [\n    // `String.prototype.match` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.match\n    function match(regexp) {\n      var O = defined(this);\n      var fn = regexp == undefined ? undefined : regexp[MATCH];\n      return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[MATCH](String(O));\n    },\n    // `RegExp.prototype[@@match]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@match\n    function (regexp) {\n      var res = maybeCallNative($match, regexp, this);\n      if (res.done) return res.value;\n      var rx = anObject(regexp);\n      var S = String(this);\n      if (!rx.global) return regExpExec(rx, S);\n      var fullUnicode = rx.unicode;\n      rx.lastIndex = 0;\n      var A = [];\n      var n = 0;\n      var result;\n      while ((result = regExpExec(rx, S)) !== null) {\n        var matchStr = String(result[0]);\n        A[n] = matchStr;\n        if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n        n++;\n      }\n      return n === 0 ? null : A;\n    }\n  ];\n});\n\n},{\"117\":117,\"139\":139,\"34\":34,\"36\":36,\"63\":63}],249:[function(_dereq_,module,exports){\n'use strict';\n\nvar anObject = _dereq_(36);\nvar toObject = _dereq_(140);\nvar toLength = _dereq_(139);\nvar toInteger = _dereq_(137);\nvar advanceStringIndex = _dereq_(34);\nvar regExpExec = _dereq_(117);\nvar max = Math.max;\nvar min = Math.min;\nvar floor = Math.floor;\nvar SUBSTITUTION_SYMBOLS = /\\$([$&`']|\\d\\d?|<[^>]*>)/g;\nvar SUBSTITUTION_SYMBOLS_NO_NAMED = /\\$([$&`']|\\d\\d?)/g;\n\nvar maybeToString = function (it) {\n  return it === undefined ? it : String(it);\n};\n\n// @@replace logic\n_dereq_(63)('replace', 2, function (defined, REPLACE, $replace, maybeCallNative) {\n  return [\n    // `String.prototype.replace` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.replace\n    function replace(searchValue, replaceValue) {\n      var O = defined(this);\n      var fn = searchValue == undefined ? undefined : searchValue[REPLACE];\n      return fn !== undefined\n        ? fn.call(searchValue, O, replaceValue)\n        : $replace.call(String(O), searchValue, replaceValue);\n    },\n    // `RegExp.prototype[@@replace]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@replace\n    function (regexp, replaceValue) {\n      var res = maybeCallNative($replace, regexp, this, replaceValue);\n      if (res.done) return res.value;\n\n      var rx = anObject(regexp);\n      var S = String(this);\n      var functionalReplace = typeof replaceValue === 'function';\n      if (!functionalReplace) replaceValue = String(replaceValue);\n      var global = rx.global;\n      if (global) {\n        var fullUnicode = rx.unicode;\n        rx.lastIndex = 0;\n      }\n      var results = [];\n      while (true) {\n        var result = regExpExec(rx, S);\n        if (result === null) break;\n        results.push(result);\n        if (!global) break;\n        var matchStr = String(result[0]);\n        if (matchStr === '') rx.lastIndex = advanceStringIndex(S, toLength(rx.lastIndex), fullUnicode);\n      }\n      var accumulatedResult = '';\n      var nextSourcePosition = 0;\n      for (var i = 0; i < results.length; i++) {\n        result = results[i];\n        var matched = String(result[0]);\n        var position = max(min(toInteger(result.index), S.length), 0);\n        var captures = [];\n        // NOTE: This is equivalent to\n        //   captures = result.slice(1).map(maybeToString)\n        // but for some reason `nativeSlice.call(result, 1, result.length)` (called in\n        // the slice polyfill when slicing native arrays) \"doesn't work\" in safari 9 and\n        // causes a crash (https://pastebin.com/N21QzeQA) when trying to debug it.\n        for (var j = 1; j < result.length; j++) captures.push(maybeToString(result[j]));\n        var namedCaptures = result.groups;\n        if (functionalReplace) {\n          var replacerArgs = [matched].concat(captures, position, S);\n          if (namedCaptures !== undefined) replacerArgs.push(namedCaptures);\n          var replacement = String(replaceValue.apply(undefined, replacerArgs));\n        } else {\n          replacement = getSubstitution(matched, S, position, captures, namedCaptures, replaceValue);\n        }\n        if (position >= nextSourcePosition) {\n          accumulatedResult += S.slice(nextSourcePosition, position) + replacement;\n          nextSourcePosition = position + matched.length;\n        }\n      }\n      return accumulatedResult + S.slice(nextSourcePosition);\n    }\n  ];\n\n    // https://tc39.github.io/ecma262/#sec-getsubstitution\n  function getSubstitution(matched, str, position, captures, namedCaptures, replacement) {\n    var tailPos = position + matched.length;\n    var m = captures.length;\n    var symbols = SUBSTITUTION_SYMBOLS_NO_NAMED;\n    if (namedCaptures !== undefined) {\n      namedCaptures = toObject(namedCaptures);\n      symbols = SUBSTITUTION_SYMBOLS;\n    }\n    return $replace.call(replacement, symbols, function (match, ch) {\n      var capture;\n      switch (ch.charAt(0)) {\n        case '$': return '$';\n        case '&': return matched;\n        case '`': return str.slice(0, position);\n        case \"'\": return str.slice(tailPos);\n        case '<':\n          capture = namedCaptures[ch.slice(1, -1)];\n          break;\n        default: // \\d\\d?\n          var n = +ch;\n          if (n === 0) return match;\n          if (n > m) {\n            var f = floor(n / 10);\n            if (f === 0) return match;\n            if (f <= m) return captures[f - 1] === undefined ? ch.charAt(1) : captures[f - 1] + ch.charAt(1);\n            return match;\n          }\n          capture = captures[n - 1];\n      }\n      return capture === undefined ? '' : capture;\n    });\n  }\n});\n\n},{\"117\":117,\"137\":137,\"139\":139,\"140\":140,\"34\":34,\"36\":36,\"63\":63}],250:[function(_dereq_,module,exports){\n'use strict';\n\nvar anObject = _dereq_(36);\nvar sameValue = _dereq_(119);\nvar regExpExec = _dereq_(117);\n\n// @@search logic\n_dereq_(63)('search', 1, function (defined, SEARCH, $search, maybeCallNative) {\n  return [\n    // `String.prototype.search` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.search\n    function search(regexp) {\n      var O = defined(this);\n      var fn = regexp == undefined ? undefined : regexp[SEARCH];\n      return fn !== undefined ? fn.call(regexp, O) : new RegExp(regexp)[SEARCH](String(O));\n    },\n    // `RegExp.prototype[@@search]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@search\n    function (regexp) {\n      var res = maybeCallNative($search, regexp, this);\n      if (res.done) return res.value;\n      var rx = anObject(regexp);\n      var S = String(this);\n      var previousLastIndex = rx.lastIndex;\n      if (!sameValue(previousLastIndex, 0)) rx.lastIndex = 0;\n      var result = regExpExec(rx, S);\n      if (!sameValue(rx.lastIndex, previousLastIndex)) rx.lastIndex = previousLastIndex;\n      return result === null ? -1 : result.index;\n    }\n  ];\n});\n\n},{\"117\":117,\"119\":119,\"36\":36,\"63\":63}],251:[function(_dereq_,module,exports){\n'use strict';\n\nvar isRegExp = _dereq_(80);\nvar anObject = _dereq_(36);\nvar speciesConstructor = _dereq_(125);\nvar advanceStringIndex = _dereq_(34);\nvar toLength = _dereq_(139);\nvar callRegExpExec = _dereq_(117);\nvar regexpExec = _dereq_(118);\nvar fails = _dereq_(62);\nvar $min = Math.min;\nvar $push = [].push;\nvar $SPLIT = 'split';\nvar LENGTH = 'length';\nvar LAST_INDEX = 'lastIndex';\nvar MAX_UINT32 = 0xffffffff;\n\n// babel-minify transpiles RegExp('x', 'y') -> /x/y and it causes SyntaxError\nvar SUPPORTS_Y = !fails(function () { RegExp(MAX_UINT32, 'y'); });\n\n// @@split logic\n_dereq_(63)('split', 2, function (defined, SPLIT, $split, maybeCallNative) {\n  var internalSplit;\n  if (\n    'abbc'[$SPLIT](/(b)*/)[1] == 'c' ||\n    'test'[$SPLIT](/(?:)/, -1)[LENGTH] != 4 ||\n    'ab'[$SPLIT](/(?:ab)*/)[LENGTH] != 2 ||\n    '.'[$SPLIT](/(.?)(.?)/)[LENGTH] != 4 ||\n    '.'[$SPLIT](/()()/)[LENGTH] > 1 ||\n    ''[$SPLIT](/.?/)[LENGTH]\n  ) {\n    // based on es5-shim implementation, need to rework it\n    internalSplit = function (separator, limit) {\n      var string = String(this);\n      if (separator === undefined && limit === 0) return [];\n      // If `separator` is not a regex, use native split\n      if (!isRegExp(separator)) return $split.call(string, separator, limit);\n      var output = [];\n      var flags = (separator.ignoreCase ? 'i' : '') +\n                  (separator.multiline ? 'm' : '') +\n                  (separator.unicode ? 'u' : '') +\n                  (separator.sticky ? 'y' : '');\n      var lastLastIndex = 0;\n      var splitLimit = limit === undefined ? MAX_UINT32 : limit >>> 0;\n      // Make `global` and avoid `lastIndex` issues by working with a copy\n      var separatorCopy = new RegExp(separator.source, flags + 'g');\n      var match, lastIndex, lastLength;\n      while (match = regexpExec.call(separatorCopy, string)) {\n        lastIndex = separatorCopy[LAST_INDEX];\n        if (lastIndex > lastLastIndex) {\n          output.push(string.slice(lastLastIndex, match.index));\n          if (match[LENGTH] > 1 && match.index < string[LENGTH]) $push.apply(output, match.slice(1));\n          lastLength = match[0][LENGTH];\n          lastLastIndex = lastIndex;\n          if (output[LENGTH] >= splitLimit) break;\n        }\n        if (separatorCopy[LAST_INDEX] === match.index) separatorCopy[LAST_INDEX]++; // Avoid an infinite loop\n      }\n      if (lastLastIndex === string[LENGTH]) {\n        if (lastLength || !separatorCopy.test('')) output.push('');\n      } else output.push(string.slice(lastLastIndex));\n      return output[LENGTH] > splitLimit ? output.slice(0, splitLimit) : output;\n    };\n  // Chakra, V8\n  } else if ('0'[$SPLIT](undefined, 0)[LENGTH]) {\n    internalSplit = function (separator, limit) {\n      return separator === undefined && limit === 0 ? [] : $split.call(this, separator, limit);\n    };\n  } else {\n    internalSplit = $split;\n  }\n\n  return [\n    // `String.prototype.split` method\n    // https://tc39.github.io/ecma262/#sec-string.prototype.split\n    function split(separator, limit) {\n      var O = defined(this);\n      var splitter = separator == undefined ? undefined : separator[SPLIT];\n      return splitter !== undefined\n        ? splitter.call(separator, O, limit)\n        : internalSplit.call(String(O), separator, limit);\n    },\n    // `RegExp.prototype[@@split]` method\n    // https://tc39.github.io/ecma262/#sec-regexp.prototype-@@split\n    //\n    // NOTE: This cannot be properly polyfilled in engines that don't support\n    // the 'y' flag.\n    function (regexp, limit) {\n      var res = maybeCallNative(internalSplit, regexp, this, limit, internalSplit !== $split);\n      if (res.done) return res.value;\n\n      var rx = anObject(regexp);\n      var S = String(this);\n      var C = speciesConstructor(rx, RegExp);\n\n      var unicodeMatching = rx.unicode;\n      var flags = (rx.ignoreCase ? 'i' : '') +\n                  (rx.multiline ? 'm' : '') +\n                  (rx.unicode ? 'u' : '') +\n                  (SUPPORTS_Y ? 'y' : 'g');\n\n      // ^(? + rx + ) is needed, in combination with some S slicing, to\n      // simulate the 'y' flag.\n      var splitter = new C(SUPPORTS_Y ? rx : '^(?:' + rx.source + ')', flags);\n      var lim = limit === undefined ? MAX_UINT32 : limit >>> 0;\n      if (lim === 0) return [];\n      if (S.length === 0) return callRegExpExec(splitter, S) === null ? [S] : [];\n      var p = 0;\n      var q = 0;\n      var A = [];\n      while (q < S.length) {\n        splitter.lastIndex = SUPPORTS_Y ? q : 0;\n        var z = callRegExpExec(splitter, SUPPORTS_Y ? S : S.slice(q));\n        var e;\n        if (\n          z === null ||\n          (e = $min(toLength(splitter.lastIndex + (SUPPORTS_Y ? 0 : q)), S.length)) === p\n        ) {\n          q = advanceStringIndex(S, q, unicodeMatching);\n        } else {\n          A.push(S.slice(p, q));\n          if (A.length === lim) return A;\n          for (var i = 1; i <= z.length - 1; i++) {\n            A.push(z[i]);\n            if (A.length === lim) return A;\n          }\n          q = p = e;\n        }\n      }\n      A.push(S.slice(p));\n      return A;\n    }\n  ];\n});\n\n},{\"117\":117,\"118\":118,\"125\":125,\"139\":139,\"34\":34,\"36\":36,\"62\":62,\"63\":63,\"80\":80}],252:[function(_dereq_,module,exports){\n'use strict';\n_dereq_(247);\nvar anObject = _dereq_(36);\nvar $flags = _dereq_(64);\nvar DESCRIPTORS = _dereq_(56);\nvar TO_STRING = 'toString';\nvar $toString = /./[TO_STRING];\n\nvar define = function (fn) {\n  _dereq_(116)(RegExp.prototype, TO_STRING, fn, true);\n};\n\n// 21.2.5.14 RegExp.prototype.toString()\nif (_dereq_(62)(function () { return $toString.call({ source: 'a', flags: 'b' }) != '/a/b'; })) {\n  define(function toString() {\n    var R = anObject(this);\n    return '/'.concat(R.source, '/',\n      'flags' in R ? R.flags : !DESCRIPTORS && R instanceof RegExp ? $flags.call(R) : undefined);\n  });\n// FF44- RegExp#toString has a wrong name\n} else if ($toString.name != TO_STRING) {\n  define(function toString() {\n    return $toString.call(this);\n  });\n}\n\n},{\"116\":116,\"247\":247,\"36\":36,\"56\":56,\"62\":62,\"64\":64}],253:[function(_dereq_,module,exports){\n'use strict';\nvar strong = _dereq_(47);\nvar validate = _dereq_(147);\nvar SET = 'Set';\n\n// 23.2 Set Objects\nmodule.exports = _dereq_(49)(SET, function (get) {\n  return function Set() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.2.3.1 Set.prototype.add(value)\n  add: function add(value) {\n    return strong.def(validate(this, SET), value = value === 0 ? 0 : value, value);\n  }\n}, strong);\n\n},{\"147\":147,\"47\":47,\"49\":49}],254:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.2 String.prototype.anchor(name)\n_dereq_(129)('anchor', function (createHTML) {\n  return function anchor(name) {\n    return createHTML(this, 'a', 'name', name);\n  };\n});\n\n},{\"129\":129}],255:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.3 String.prototype.big()\n_dereq_(129)('big', function (createHTML) {\n  return function big() {\n    return createHTML(this, 'big', '', '');\n  };\n});\n\n},{\"129\":129}],256:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.4 String.prototype.blink()\n_dereq_(129)('blink', function (createHTML) {\n  return function blink() {\n    return createHTML(this, 'blink', '', '');\n  };\n});\n\n},{\"129\":129}],257:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.5 String.prototype.bold()\n_dereq_(129)('bold', function (createHTML) {\n  return function bold() {\n    return createHTML(this, 'b', '', '');\n  };\n});\n\n},{\"129\":129}],258:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $at = _dereq_(127)(false);\n$export($export.P, 'String', {\n  // 21.1.3.3 String.prototype.codePointAt(pos)\n  codePointAt: function codePointAt(pos) {\n    return $at(this, pos);\n  }\n});\n\n},{\"127\":127,\"60\":60}],259:[function(_dereq_,module,exports){\n// 21.1.3.6 String.prototype.endsWith(searchString [, endPosition])\n'use strict';\nvar $export = _dereq_(60);\nvar toLength = _dereq_(139);\nvar context = _dereq_(128);\nvar ENDS_WITH = 'endsWith';\nvar $endsWith = ''[ENDS_WITH];\n\n$export($export.P + $export.F * _dereq_(61)(ENDS_WITH), 'String', {\n  endsWith: function endsWith(searchString /* , endPosition = @length */) {\n    var that = context(this, searchString, ENDS_WITH);\n    var endPosition = arguments.length > 1 ? arguments[1] : undefined;\n    var len = toLength(that.length);\n    var end = endPosition === undefined ? len : Math.min(toLength(endPosition), len);\n    var search = String(searchString);\n    return $endsWith\n      ? $endsWith.call(that, search, end)\n      : that.slice(end - search.length, end) === search;\n  }\n});\n\n},{\"128\":128,\"139\":139,\"60\":60,\"61\":61}],260:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.6 String.prototype.fixed()\n_dereq_(129)('fixed', function (createHTML) {\n  return function fixed() {\n    return createHTML(this, 'tt', '', '');\n  };\n});\n\n},{\"129\":129}],261:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.7 String.prototype.fontcolor(color)\n_dereq_(129)('fontcolor', function (createHTML) {\n  return function fontcolor(color) {\n    return createHTML(this, 'font', 'color', color);\n  };\n});\n\n},{\"129\":129}],262:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.8 String.prototype.fontsize(size)\n_dereq_(129)('fontsize', function (createHTML) {\n  return function fontsize(size) {\n    return createHTML(this, 'font', 'size', size);\n  };\n});\n\n},{\"129\":129}],263:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar toAbsoluteIndex = _dereq_(135);\nvar fromCharCode = String.fromCharCode;\nvar $fromCodePoint = String.fromCodePoint;\n\n// length should be 1, old FF problem\n$export($export.S + $export.F * (!!$fromCodePoint && $fromCodePoint.length != 1), 'String', {\n  // 21.1.2.2 String.fromCodePoint(...codePoints)\n  fromCodePoint: function fromCodePoint(x) { // eslint-disable-line no-unused-vars\n    var res = [];\n    var aLen = arguments.length;\n    var i = 0;\n    var code;\n    while (aLen > i) {\n      code = +arguments[i++];\n      if (toAbsoluteIndex(code, 0x10ffff) !== code) throw RangeError(code + ' is not a valid code point');\n      res.push(code < 0x10000\n        ? fromCharCode(code)\n        : fromCharCode(((code -= 0x10000) >> 10) + 0xd800, code % 0x400 + 0xdc00)\n      );\n    } return res.join('');\n  }\n});\n\n},{\"135\":135,\"60\":60}],264:[function(_dereq_,module,exports){\n// 21.1.3.7 String.prototype.includes(searchString, position = 0)\n'use strict';\nvar $export = _dereq_(60);\nvar context = _dereq_(128);\nvar INCLUDES = 'includes';\n\n$export($export.P + $export.F * _dereq_(61)(INCLUDES), 'String', {\n  includes: function includes(searchString /* , position = 0 */) {\n    return !!~context(this, searchString, INCLUDES)\n      .indexOf(searchString, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n},{\"128\":128,\"60\":60,\"61\":61}],265:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.9 String.prototype.italics()\n_dereq_(129)('italics', function (createHTML) {\n  return function italics() {\n    return createHTML(this, 'i', '', '');\n  };\n});\n\n},{\"129\":129}],266:[function(_dereq_,module,exports){\n'use strict';\nvar $at = _dereq_(127)(true);\n\n// 21.1.3.27 String.prototype[@@iterator]()\n_dereq_(83)(String, 'String', function (iterated) {\n  this._t = String(iterated); // target\n  this._i = 0;                // next index\n// 21.1.5.2.1 %StringIteratorPrototype%.next()\n}, function () {\n  var O = this._t;\n  var index = this._i;\n  var point;\n  if (index >= O.length) return { value: undefined, done: true };\n  point = $at(O, index);\n  this._i += point.length;\n  return { value: point, done: false };\n});\n\n},{\"127\":127,\"83\":83}],267:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.10 String.prototype.link(url)\n_dereq_(129)('link', function (createHTML) {\n  return function link(url) {\n    return createHTML(this, 'a', 'href', url);\n  };\n});\n\n},{\"129\":129}],268:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar toIObject = _dereq_(138);\nvar toLength = _dereq_(139);\n\n$export($export.S, 'String', {\n  // 21.1.2.4 String.raw(callSite, ...substitutions)\n  raw: function raw(callSite) {\n    var tpl = toIObject(callSite.raw);\n    var len = toLength(tpl.length);\n    var aLen = arguments.length;\n    var res = [];\n    var i = 0;\n    while (len > i) {\n      res.push(String(tpl[i++]));\n      if (i < aLen) res.push(String(arguments[i]));\n    } return res.join('');\n  }\n});\n\n},{\"138\":138,\"139\":139,\"60\":60}],269:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\n\n$export($export.P, 'String', {\n  // 21.1.3.13 String.prototype.repeat(count)\n  repeat: _dereq_(131)\n});\n\n},{\"131\":131,\"60\":60}],270:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.11 String.prototype.small()\n_dereq_(129)('small', function (createHTML) {\n  return function small() {\n    return createHTML(this, 'small', '', '');\n  };\n});\n\n},{\"129\":129}],271:[function(_dereq_,module,exports){\n// 21.1.3.18 String.prototype.startsWith(searchString [, position ])\n'use strict';\nvar $export = _dereq_(60);\nvar toLength = _dereq_(139);\nvar context = _dereq_(128);\nvar STARTS_WITH = 'startsWith';\nvar $startsWith = ''[STARTS_WITH];\n\n$export($export.P + $export.F * _dereq_(61)(STARTS_WITH), 'String', {\n  startsWith: function startsWith(searchString /* , position = 0 */) {\n    var that = context(this, searchString, STARTS_WITH);\n    var index = toLength(Math.min(arguments.length > 1 ? arguments[1] : undefined, that.length));\n    var search = String(searchString);\n    return $startsWith\n      ? $startsWith.call(that, search, index)\n      : that.slice(index, index + search.length) === search;\n  }\n});\n\n},{\"128\":128,\"139\":139,\"60\":60,\"61\":61}],272:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.12 String.prototype.strike()\n_dereq_(129)('strike', function (createHTML) {\n  return function strike() {\n    return createHTML(this, 'strike', '', '');\n  };\n});\n\n},{\"129\":129}],273:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.13 String.prototype.sub()\n_dereq_(129)('sub', function (createHTML) {\n  return function sub() {\n    return createHTML(this, 'sub', '', '');\n  };\n});\n\n},{\"129\":129}],274:[function(_dereq_,module,exports){\n'use strict';\n// B.2.3.14 String.prototype.sup()\n_dereq_(129)('sup', function (createHTML) {\n  return function sup() {\n    return createHTML(this, 'sup', '', '');\n  };\n});\n\n},{\"129\":129}],275:[function(_dereq_,module,exports){\n'use strict';\n// 21.1.3.25 String.prototype.trim()\n_dereq_(132)('trim', function ($trim) {\n  return function trim() {\n    return $trim(this, 3);\n  };\n});\n\n},{\"132\":132}],276:[function(_dereq_,module,exports){\n'use strict';\n// ECMAScript 6 symbols shim\nvar global = _dereq_(68);\nvar has = _dereq_(69);\nvar DESCRIPTORS = _dereq_(56);\nvar $export = _dereq_(60);\nvar redefine = _dereq_(116);\nvar META = _dereq_(92).KEY;\nvar $fails = _dereq_(62);\nvar shared = _dereq_(124);\nvar setToStringTag = _dereq_(122);\nvar uid = _dereq_(145);\nvar wks = _dereq_(150);\nvar wksExt = _dereq_(149);\nvar wksDefine = _dereq_(148);\nvar enumKeys = _dereq_(59);\nvar isArray = _dereq_(77);\nvar anObject = _dereq_(36);\nvar isObject = _dereq_(79);\nvar toObject = _dereq_(140);\nvar toIObject = _dereq_(138);\nvar toPrimitive = _dereq_(141);\nvar createDesc = _dereq_(114);\nvar _create = _dereq_(96);\nvar gOPNExt = _dereq_(100);\nvar $GOPD = _dereq_(99);\nvar $GOPS = _dereq_(102);\nvar $DP = _dereq_(97);\nvar $keys = _dereq_(105);\nvar gOPD = $GOPD.f;\nvar dP = $DP.f;\nvar gOPN = gOPNExt.f;\nvar $Symbol = global.Symbol;\nvar $JSON = global.JSON;\nvar _stringify = $JSON && $JSON.stringify;\nvar PROTOTYPE = 'prototype';\nvar HIDDEN = wks('_hidden');\nvar TO_PRIMITIVE = wks('toPrimitive');\nvar isEnum = {}.propertyIsEnumerable;\nvar SymbolRegistry = shared('symbol-registry');\nvar AllSymbols = shared('symbols');\nvar OPSymbols = shared('op-symbols');\nvar ObjectProto = Object[PROTOTYPE];\nvar USE_NATIVE = typeof $Symbol == 'function' && !!$GOPS.f;\nvar QObject = global.QObject;\n// Don't use setters in Qt Script, https://github.com/zloirock/core-js/issues/173\nvar setter = !QObject || !QObject[PROTOTYPE] || !QObject[PROTOTYPE].findChild;\n\n// fallback for old Android, https://code.google.com/p/v8/issues/detail?id=687\nvar setSymbolDesc = DESCRIPTORS && $fails(function () {\n  return _create(dP({}, 'a', {\n    get: function () { return dP(this, 'a', { value: 7 }).a; }\n  })).a != 7;\n}) ? function (it, key, D) {\n  var protoDesc = gOPD(ObjectProto, key);\n  if (protoDesc) delete ObjectProto[key];\n  dP(it, key, D);\n  if (protoDesc && it !== ObjectProto) dP(ObjectProto, key, protoDesc);\n} : dP;\n\nvar wrap = function (tag) {\n  var sym = AllSymbols[tag] = _create($Symbol[PROTOTYPE]);\n  sym._k = tag;\n  return sym;\n};\n\nvar isSymbol = USE_NATIVE && typeof $Symbol.iterator == 'symbol' ? function (it) {\n  return typeof it == 'symbol';\n} : function (it) {\n  return it instanceof $Symbol;\n};\n\nvar $defineProperty = function defineProperty(it, key, D) {\n  if (it === ObjectProto) $defineProperty(OPSymbols, key, D);\n  anObject(it);\n  key = toPrimitive(key, true);\n  anObject(D);\n  if (has(AllSymbols, key)) {\n    if (!D.enumerable) {\n      if (!has(it, HIDDEN)) dP(it, HIDDEN, createDesc(1, {}));\n      it[HIDDEN][key] = true;\n    } else {\n      if (has(it, HIDDEN) && it[HIDDEN][key]) it[HIDDEN][key] = false;\n      D = _create(D, { enumerable: createDesc(0, false) });\n    } return setSymbolDesc(it, key, D);\n  } return dP(it, key, D);\n};\nvar $defineProperties = function defineProperties(it, P) {\n  anObject(it);\n  var keys = enumKeys(P = toIObject(P));\n  var i = 0;\n  var l = keys.length;\n  var key;\n  while (l > i) $defineProperty(it, key = keys[i++], P[key]);\n  return it;\n};\nvar $create = function create(it, P) {\n  return P === undefined ? _create(it) : $defineProperties(_create(it), P);\n};\nvar $propertyIsEnumerable = function propertyIsEnumerable(key) {\n  var E = isEnum.call(this, key = toPrimitive(key, true));\n  if (this === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return false;\n  return E || !has(this, key) || !has(AllSymbols, key) || has(this, HIDDEN) && this[HIDDEN][key] ? E : true;\n};\nvar $getOwnPropertyDescriptor = function getOwnPropertyDescriptor(it, key) {\n  it = toIObject(it);\n  key = toPrimitive(key, true);\n  if (it === ObjectProto && has(AllSymbols, key) && !has(OPSymbols, key)) return;\n  var D = gOPD(it, key);\n  if (D && has(AllSymbols, key) && !(has(it, HIDDEN) && it[HIDDEN][key])) D.enumerable = true;\n  return D;\n};\nvar $getOwnPropertyNames = function getOwnPropertyNames(it) {\n  var names = gOPN(toIObject(it));\n  var result = [];\n  var i = 0;\n  var key;\n  while (names.length > i) {\n    if (!has(AllSymbols, key = names[i++]) && key != HIDDEN && key != META) result.push(key);\n  } return result;\n};\nvar $getOwnPropertySymbols = function getOwnPropertySymbols(it) {\n  var IS_OP = it === ObjectProto;\n  var names = gOPN(IS_OP ? OPSymbols : toIObject(it));\n  var result = [];\n  var i = 0;\n  var key;\n  while (names.length > i) {\n    if (has(AllSymbols, key = names[i++]) && (IS_OP ? has(ObjectProto, key) : true)) result.push(AllSymbols[key]);\n  } return result;\n};\n\n// 19.4.1.1 Symbol([description])\nif (!USE_NATIVE) {\n  $Symbol = function Symbol() {\n    if (this instanceof $Symbol) throw TypeError('Symbol is not a constructor!');\n    var tag = uid(arguments.length > 0 ? arguments[0] : undefined);\n    var $set = function (value) {\n      if (this === ObjectProto) $set.call(OPSymbols, value);\n      if (has(this, HIDDEN) && has(this[HIDDEN], tag)) this[HIDDEN][tag] = false;\n      setSymbolDesc(this, tag, createDesc(1, value));\n    };\n    if (DESCRIPTORS && setter) setSymbolDesc(ObjectProto, tag, { configurable: true, set: $set });\n    return wrap(tag);\n  };\n  redefine($Symbol[PROTOTYPE], 'toString', function toString() {\n    return this._k;\n  });\n\n  $GOPD.f = $getOwnPropertyDescriptor;\n  $DP.f = $defineProperty;\n  _dereq_(101).f = gOPNExt.f = $getOwnPropertyNames;\n  _dereq_(106).f = $propertyIsEnumerable;\n  $GOPS.f = $getOwnPropertySymbols;\n\n  if (DESCRIPTORS && !_dereq_(87)) {\n    redefine(ObjectProto, 'propertyIsEnumerable', $propertyIsEnumerable, true);\n  }\n\n  wksExt.f = function (name) {\n    return wrap(wks(name));\n  };\n}\n\n$export($export.G + $export.W + $export.F * !USE_NATIVE, { Symbol: $Symbol });\n\nfor (var es6Symbols = (\n  // 19.4.2.2, 19.4.2.3, 19.4.2.4, 19.4.2.6, 19.4.2.8, 19.4.2.9, 19.4.2.10, 19.4.2.11, 19.4.2.12, 19.4.2.13, 19.4.2.14\n  'hasInstance,isConcatSpreadable,iterator,match,replace,search,species,split,toPrimitive,toStringTag,unscopables'\n).split(','), j = 0; es6Symbols.length > j;)wks(es6Symbols[j++]);\n\nfor (var wellKnownSymbols = $keys(wks.store), k = 0; wellKnownSymbols.length > k;) wksDefine(wellKnownSymbols[k++]);\n\n$export($export.S + $export.F * !USE_NATIVE, 'Symbol', {\n  // 19.4.2.1 Symbol.for(key)\n  'for': function (key) {\n    return has(SymbolRegistry, key += '')\n      ? SymbolRegistry[key]\n      : SymbolRegistry[key] = $Symbol(key);\n  },\n  // 19.4.2.5 Symbol.keyFor(sym)\n  keyFor: function keyFor(sym) {\n    if (!isSymbol(sym)) throw TypeError(sym + ' is not a symbol!');\n    for (var key in SymbolRegistry) if (SymbolRegistry[key] === sym) return key;\n  },\n  useSetter: function () { setter = true; },\n  useSimple: function () { setter = false; }\n});\n\n$export($export.S + $export.F * !USE_NATIVE, 'Object', {\n  // 19.1.2.2 Object.create(O [, Properties])\n  create: $create,\n  // 19.1.2.4 Object.defineProperty(O, P, Attributes)\n  defineProperty: $defineProperty,\n  // 19.1.2.3 Object.defineProperties(O, Properties)\n  defineProperties: $defineProperties,\n  // 19.1.2.6 Object.getOwnPropertyDescriptor(O, P)\n  getOwnPropertyDescriptor: $getOwnPropertyDescriptor,\n  // 19.1.2.7 Object.getOwnPropertyNames(O)\n  getOwnPropertyNames: $getOwnPropertyNames,\n  // 19.1.2.8 Object.getOwnPropertySymbols(O)\n  getOwnPropertySymbols: $getOwnPropertySymbols\n});\n\n// Chrome 38 and 39 `Object.getOwnPropertySymbols` fails on primitives\n// https://bugs.chromium.org/p/v8/issues/detail?id=3443\nvar FAILS_ON_PRIMITIVES = $fails(function () { $GOPS.f(1); });\n\n$export($export.S + $export.F * FAILS_ON_PRIMITIVES, 'Object', {\n  getOwnPropertySymbols: function getOwnPropertySymbols(it) {\n    return $GOPS.f(toObject(it));\n  }\n});\n\n// 24.3.2 JSON.stringify(value [, replacer [, space]])\n$JSON && $export($export.S + $export.F * (!USE_NATIVE || $fails(function () {\n  var S = $Symbol();\n  // MS Edge converts symbol values to JSON as {}\n  // WebKit converts symbol values to JSON as null\n  // V8 throws on boxed symbols\n  return _stringify([S]) != '[null]' || _stringify({ a: S }) != '{}' || _stringify(Object(S)) != '{}';\n})), 'JSON', {\n  stringify: function stringify(it) {\n    var args = [it];\n    var i = 1;\n    var replacer, $replacer;\n    while (arguments.length > i) args.push(arguments[i++]);\n    $replacer = replacer = args[1];\n    if (!isObject(replacer) && it === undefined || isSymbol(it)) return; // IE8 returns string on undefined\n    if (!isArray(replacer)) replacer = function (key, value) {\n      if (typeof $replacer == 'function') value = $replacer.call(this, key, value);\n      if (!isSymbol(value)) return value;\n    };\n    args[1] = replacer;\n    return _stringify.apply($JSON, args);\n  }\n});\n\n// 19.4.3.4 Symbol.prototype[@@toPrimitive](hint)\n$Symbol[PROTOTYPE][TO_PRIMITIVE] || _dereq_(70)($Symbol[PROTOTYPE], TO_PRIMITIVE, $Symbol[PROTOTYPE].valueOf);\n// 19.4.3.5 Symbol.prototype[@@toStringTag]\nsetToStringTag($Symbol, 'Symbol');\n// 20.2.1.9 Math[@@toStringTag]\nsetToStringTag(Math, 'Math', true);\n// 24.3.3 JSON[@@toStringTag]\nsetToStringTag(global.JSON, 'JSON', true);\n\n},{\"100\":100,\"101\":101,\"102\":102,\"105\":105,\"106\":106,\"114\":114,\"116\":116,\"122\":122,\"124\":124,\"138\":138,\"140\":140,\"141\":141,\"145\":145,\"148\":148,\"149\":149,\"150\":150,\"36\":36,\"56\":56,\"59\":59,\"60\":60,\"62\":62,\"68\":68,\"69\":69,\"70\":70,\"77\":77,\"79\":79,\"87\":87,\"92\":92,\"96\":96,\"97\":97,\"99\":99}],277:[function(_dereq_,module,exports){\n'use strict';\nvar $export = _dereq_(60);\nvar $typed = _dereq_(144);\nvar buffer = _dereq_(143);\nvar anObject = _dereq_(36);\nvar toAbsoluteIndex = _dereq_(135);\nvar toLength = _dereq_(139);\nvar isObject = _dereq_(79);\nvar ArrayBuffer = _dereq_(68).ArrayBuffer;\nvar speciesConstructor = _dereq_(125);\nvar $ArrayBuffer = buffer.ArrayBuffer;\nvar $DataView = buffer.DataView;\nvar $isView = $typed.ABV && ArrayBuffer.isView;\nvar $slice = $ArrayBuffer.prototype.slice;\nvar VIEW = $typed.VIEW;\nvar ARRAY_BUFFER = 'ArrayBuffer';\n\n$export($export.G + $export.W + $export.F * (ArrayBuffer !== $ArrayBuffer), { ArrayBuffer: $ArrayBuffer });\n\n$export($export.S + $export.F * !$typed.CONSTR, ARRAY_BUFFER, {\n  // 24.1.3.1 ArrayBuffer.isView(arg)\n  isView: function isView(it) {\n    return $isView && $isView(it) || isObject(it) && VIEW in it;\n  }\n});\n\n$export($export.P + $export.U + $export.F * _dereq_(62)(function () {\n  return !new $ArrayBuffer(2).slice(1, undefined).byteLength;\n}), ARRAY_BUFFER, {\n  // 24.1.4.3 ArrayBuffer.prototype.slice(start, end)\n  slice: function slice(start, end) {\n    if ($slice !== undefined && end === undefined) return $slice.call(anObject(this), start); // FF fix\n    var len = anObject(this).byteLength;\n    var first = toAbsoluteIndex(start, len);\n    var fin = toAbsoluteIndex(end === undefined ? len : end, len);\n    var result = new (speciesConstructor(this, $ArrayBuffer))(toLength(fin - first));\n    var viewS = new $DataView(this);\n    var viewT = new $DataView(result);\n    var index = 0;\n    while (first < fin) {\n      viewT.setUint8(index++, viewS.getUint8(first++));\n    } return result;\n  }\n});\n\n_dereq_(121)(ARRAY_BUFFER);\n\n},{\"121\":121,\"125\":125,\"135\":135,\"139\":139,\"143\":143,\"144\":144,\"36\":36,\"60\":60,\"62\":62,\"68\":68,\"79\":79}],278:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\n$export($export.G + $export.W + $export.F * !_dereq_(144).ABV, {\n  DataView: _dereq_(143).DataView\n});\n\n},{\"143\":143,\"144\":144,\"60\":60}],279:[function(_dereq_,module,exports){\n_dereq_(142)('Float32', 4, function (init) {\n  return function Float32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],280:[function(_dereq_,module,exports){\n_dereq_(142)('Float64', 8, function (init) {\n  return function Float64Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],281:[function(_dereq_,module,exports){\n_dereq_(142)('Int16', 2, function (init) {\n  return function Int16Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],282:[function(_dereq_,module,exports){\n_dereq_(142)('Int32', 4, function (init) {\n  return function Int32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],283:[function(_dereq_,module,exports){\n_dereq_(142)('Int8', 1, function (init) {\n  return function Int8Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],284:[function(_dereq_,module,exports){\n_dereq_(142)('Uint16', 2, function (init) {\n  return function Uint16Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],285:[function(_dereq_,module,exports){\n_dereq_(142)('Uint32', 4, function (init) {\n  return function Uint32Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],286:[function(_dereq_,module,exports){\n_dereq_(142)('Uint8', 1, function (init) {\n  return function Uint8Array(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n});\n\n},{\"142\":142}],287:[function(_dereq_,module,exports){\n_dereq_(142)('Uint8', 1, function (init) {\n  return function Uint8ClampedArray(data, byteOffset, length) {\n    return init(this, data, byteOffset, length);\n  };\n}, true);\n\n},{\"142\":142}],288:[function(_dereq_,module,exports){\n'use strict';\nvar global = _dereq_(68);\nvar each = _dereq_(40)(0);\nvar redefine = _dereq_(116);\nvar meta = _dereq_(92);\nvar assign = _dereq_(95);\nvar weak = _dereq_(48);\nvar isObject = _dereq_(79);\nvar validate = _dereq_(147);\nvar NATIVE_WEAK_MAP = _dereq_(147);\nvar IS_IE11 = !global.ActiveXObject && 'ActiveXObject' in global;\nvar WEAK_MAP = 'WeakMap';\nvar getWeak = meta.getWeak;\nvar isExtensible = Object.isExtensible;\nvar uncaughtFrozenStore = weak.ufstore;\nvar InternalMap;\n\nvar wrapper = function (get) {\n  return function WeakMap() {\n    return get(this, arguments.length > 0 ? arguments[0] : undefined);\n  };\n};\n\nvar methods = {\n  // 23.3.3.3 WeakMap.prototype.get(key)\n  get: function get(key) {\n    if (isObject(key)) {\n      var data = getWeak(key);\n      if (data === true) return uncaughtFrozenStore(validate(this, WEAK_MAP)).get(key);\n      return data ? data[this._i] : undefined;\n    }\n  },\n  // 23.3.3.5 WeakMap.prototype.set(key, value)\n  set: function set(key, value) {\n    return weak.def(validate(this, WEAK_MAP), key, value);\n  }\n};\n\n// 23.3 WeakMap Objects\nvar $WeakMap = module.exports = _dereq_(49)(WEAK_MAP, wrapper, methods, weak, true, true);\n\n// IE11 WeakMap frozen keys fix\nif (NATIVE_WEAK_MAP && IS_IE11) {\n  InternalMap = weak.getConstructor(wrapper, WEAK_MAP);\n  assign(InternalMap.prototype, methods);\n  meta.NEED = true;\n  each(['delete', 'has', 'get', 'set'], function (key) {\n    var proto = $WeakMap.prototype;\n    var method = proto[key];\n    redefine(proto, key, function (a, b) {\n      // store frozen objects on internal weakmap shim\n      if (isObject(a) && !isExtensible(a)) {\n        if (!this._f) this._f = new InternalMap();\n        var result = this._f[key](a, b);\n        return key == 'set' ? this : result;\n      // store all the rest on native weakmap\n      } return method.call(this, a, b);\n    });\n  });\n}\n\n},{\"116\":116,\"147\":147,\"40\":40,\"48\":48,\"49\":49,\"68\":68,\"79\":79,\"92\":92,\"95\":95}],289:[function(_dereq_,module,exports){\n'use strict';\nvar weak = _dereq_(48);\nvar validate = _dereq_(147);\nvar WEAK_SET = 'WeakSet';\n\n// 23.4 WeakSet Objects\n_dereq_(49)(WEAK_SET, function (get) {\n  return function WeakSet() { return get(this, arguments.length > 0 ? arguments[0] : undefined); };\n}, {\n  // 23.4.3.1 WeakSet.prototype.add(value)\n  add: function add(value) {\n    return weak.def(validate(this, WEAK_SET), value, true);\n  }\n}, weak, false, true);\n\n},{\"147\":147,\"48\":48,\"49\":49}],290:[function(_dereq_,module,exports){\n'use strict';\n// https://tc39.github.io/proposal-flatMap/#sec-Array.prototype.flatMap\nvar $export = _dereq_(60);\nvar flattenIntoArray = _dereq_(65);\nvar toObject = _dereq_(140);\nvar toLength = _dereq_(139);\nvar aFunction = _dereq_(31);\nvar arraySpeciesCreate = _dereq_(43);\n\n$export($export.P, 'Array', {\n  flatMap: function flatMap(callbackfn /* , thisArg */) {\n    var O = toObject(this);\n    var sourceLen, A;\n    aFunction(callbackfn);\n    sourceLen = toLength(O.length);\n    A = arraySpeciesCreate(O, 0);\n    flattenIntoArray(A, O, O, sourceLen, 0, 1, callbackfn, arguments[1]);\n    return A;\n  }\n});\n\n_dereq_(33)('flatMap');\n\n},{\"139\":139,\"140\":140,\"31\":31,\"33\":33,\"43\":43,\"60\":60,\"65\":65}],291:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/tc39/Array.prototype.includes\nvar $export = _dereq_(60);\nvar $includes = _dereq_(39)(true);\n\n$export($export.P, 'Array', {\n  includes: function includes(el /* , fromIndex = 0 */) {\n    return $includes(this, el, arguments.length > 1 ? arguments[1] : undefined);\n  }\n});\n\n_dereq_(33)('includes');\n\n},{\"33\":33,\"39\":39,\"60\":60}],292:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-object-values-entries\nvar $export = _dereq_(60);\nvar $entries = _dereq_(108)(true);\n\n$export($export.S, 'Object', {\n  entries: function entries(it) {\n    return $entries(it);\n  }\n});\n\n},{\"108\":108,\"60\":60}],293:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-object-getownpropertydescriptors\nvar $export = _dereq_(60);\nvar ownKeys = _dereq_(109);\nvar toIObject = _dereq_(138);\nvar gOPD = _dereq_(99);\nvar createProperty = _dereq_(51);\n\n$export($export.S, 'Object', {\n  getOwnPropertyDescriptors: function getOwnPropertyDescriptors(object) {\n    var O = toIObject(object);\n    var getDesc = gOPD.f;\n    var keys = ownKeys(O);\n    var result = {};\n    var i = 0;\n    var key, desc;\n    while (keys.length > i) {\n      desc = getDesc(O, key = keys[i++]);\n      if (desc !== undefined) createProperty(result, key, desc);\n    }\n    return result;\n  }\n});\n\n},{\"109\":109,\"138\":138,\"51\":51,\"60\":60,\"99\":99}],294:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-object-values-entries\nvar $export = _dereq_(60);\nvar $values = _dereq_(108)(false);\n\n$export($export.S, 'Object', {\n  values: function values(it) {\n    return $values(it);\n  }\n});\n\n},{\"108\":108,\"60\":60}],295:[function(_dereq_,module,exports){\n// https://github.com/tc39/proposal-promise-finally\n'use strict';\nvar $export = _dereq_(60);\nvar core = _dereq_(50);\nvar global = _dereq_(68);\nvar speciesConstructor = _dereq_(125);\nvar promiseResolve = _dereq_(113);\n\n$export($export.P + $export.R, 'Promise', { 'finally': function (onFinally) {\n  var C = speciesConstructor(this, core.Promise || global.Promise);\n  var isFunction = typeof onFinally == 'function';\n  return this.then(\n    isFunction ? function (x) {\n      return promiseResolve(C, onFinally()).then(function () { return x; });\n    } : onFinally,\n    isFunction ? function (e) {\n      return promiseResolve(C, onFinally()).then(function () { throw e; });\n    } : onFinally\n  );\n} });\n\n},{\"113\":113,\"125\":125,\"50\":50,\"60\":60,\"68\":68}],296:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = _dereq_(60);\nvar $pad = _dereq_(130);\nvar userAgent = _dereq_(146);\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n  padEnd: function padEnd(maxLength /* , fillString = ' ' */) {\n    return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, false);\n  }\n});\n\n},{\"130\":130,\"146\":146,\"60\":60}],297:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/tc39/proposal-string-pad-start-end\nvar $export = _dereq_(60);\nvar $pad = _dereq_(130);\nvar userAgent = _dereq_(146);\n\n// https://github.com/zloirock/core-js/issues/280\nvar WEBKIT_BUG = /Version\\/10\\.\\d+(\\.\\d+)?( Mobile\\/\\w+)? Safari\\//.test(userAgent);\n\n$export($export.P + $export.F * WEBKIT_BUG, 'String', {\n  padStart: function padStart(maxLength /* , fillString = ' ' */) {\n    return $pad(this, maxLength, arguments.length > 1 ? arguments[1] : undefined, true);\n  }\n});\n\n},{\"130\":130,\"146\":146,\"60\":60}],298:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n_dereq_(132)('trimLeft', function ($trim) {\n  return function trimLeft() {\n    return $trim(this, 1);\n  };\n}, 'trimStart');\n\n},{\"132\":132}],299:[function(_dereq_,module,exports){\n'use strict';\n// https://github.com/sebmarkbage/ecmascript-string-left-right-trim\n_dereq_(132)('trimRight', function ($trim) {\n  return function trimRight() {\n    return $trim(this, 2);\n  };\n}, 'trimEnd');\n\n},{\"132\":132}],300:[function(_dereq_,module,exports){\n_dereq_(148)('asyncIterator');\n\n},{\"148\":148}],301:[function(_dereq_,module,exports){\nvar $iterators = _dereq_(162);\nvar getKeys = _dereq_(105);\nvar redefine = _dereq_(116);\nvar global = _dereq_(68);\nvar hide = _dereq_(70);\nvar Iterators = _dereq_(86);\nvar wks = _dereq_(150);\nvar ITERATOR = wks('iterator');\nvar TO_STRING_TAG = wks('toStringTag');\nvar ArrayValues = Iterators.Array;\n\nvar DOMIterables = {\n  CSSRuleList: true, // TODO: Not spec compliant, should be false.\n  CSSStyleDeclaration: false,\n  CSSValueList: false,\n  ClientRectList: false,\n  DOMRectList: false,\n  DOMStringList: false,\n  DOMTokenList: true,\n  DataTransferItemList: false,\n  FileList: false,\n  HTMLAllCollection: false,\n  HTMLCollection: false,\n  HTMLFormElement: false,\n  HTMLSelectElement: false,\n  MediaList: true, // TODO: Not spec compliant, should be false.\n  MimeTypeArray: false,\n  NamedNodeMap: false,\n  NodeList: true,\n  PaintRequestList: false,\n  Plugin: false,\n  PluginArray: false,\n  SVGLengthList: false,\n  SVGNumberList: false,\n  SVGPathSegList: false,\n  SVGPointList: false,\n  SVGStringList: false,\n  SVGTransformList: false,\n  SourceBufferList: false,\n  StyleSheetList: true, // TODO: Not spec compliant, should be false.\n  TextTrackCueList: false,\n  TextTrackList: false,\n  TouchList: false\n};\n\nfor (var collections = getKeys(DOMIterables), i = 0; i < collections.length; i++) {\n  var NAME = collections[i];\n  var explicit = DOMIterables[NAME];\n  var Collection = global[NAME];\n  var proto = Collection && Collection.prototype;\n  var key;\n  if (proto) {\n    if (!proto[ITERATOR]) hide(proto, ITERATOR, ArrayValues);\n    if (!proto[TO_STRING_TAG]) hide(proto, TO_STRING_TAG, NAME);\n    Iterators[NAME] = ArrayValues;\n    if (explicit) for (key in $iterators) if (!proto[key]) redefine(proto, key, $iterators[key], true);\n  }\n}\n\n},{\"105\":105,\"116\":116,\"150\":150,\"162\":162,\"68\":68,\"70\":70,\"86\":86}],302:[function(_dereq_,module,exports){\nvar $export = _dereq_(60);\nvar $task = _dereq_(134);\n$export($export.G + $export.B, {\n  setImmediate: $task.set,\n  clearImmediate: $task.clear\n});\n\n},{\"134\":134,\"60\":60}],303:[function(_dereq_,module,exports){\n// ie9- setTimeout & setInterval additional parameters fix\nvar global = _dereq_(68);\nvar $export = _dereq_(60);\nvar userAgent = _dereq_(146);\nvar slice = [].slice;\nvar MSIE = /MSIE .\\./.test(userAgent); // <- dirty ie9- check\nvar wrap = function (set) {\n  return function (fn, time /* , ...args */) {\n    var boundArgs = arguments.length > 2;\n    var args = boundArgs ? slice.call(arguments, 2) : false;\n    return set(boundArgs ? function () {\n      // eslint-disable-next-line no-new-func\n      (typeof fn == 'function' ? fn : Function(fn)).apply(this, args);\n    } : fn, time);\n  };\n};\n$export($export.G + $export.B + $export.F * MSIE, {\n  setTimeout: wrap(global.setTimeout),\n  setInterval: wrap(global.setInterval)\n});\n\n},{\"146\":146,\"60\":60,\"68\":68}],304:[function(_dereq_,module,exports){\n_dereq_(303);\n_dereq_(302);\n_dereq_(301);\nmodule.exports = _dereq_(50);\n\n},{\"301\":301,\"302\":302,\"303\":303,\"50\":50}],305:[function(_dereq_,module,exports){\n/**\n * Copyright (c) 2014-present, Facebook, Inc.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\nvar runtime = (function (exports) {\n  \"use strict\";\n\n  var Op = Object.prototype;\n  var hasOwn = Op.hasOwnProperty;\n  var undefined; // More compressible than void 0.\n  var $Symbol = typeof Symbol === \"function\" ? Symbol : {};\n  var iteratorSymbol = $Symbol.iterator || \"@@iterator\";\n  var asyncIteratorSymbol = $Symbol.asyncIterator || \"@@asyncIterator\";\n  var toStringTagSymbol = $Symbol.toStringTag || \"@@toStringTag\";\n\n  function wrap(innerFn, outerFn, self, tryLocsList) {\n    // If outerFn provided and outerFn.prototype is a Generator, then outerFn.prototype instanceof Generator.\n    var protoGenerator = outerFn && outerFn.prototype instanceof Generator ? outerFn : Generator;\n    var generator = Object.create(protoGenerator.prototype);\n    var context = new Context(tryLocsList || []);\n\n    // The ._invoke method unifies the implementations of the .next,\n    // .throw, and .return methods.\n    generator._invoke = makeInvokeMethod(innerFn, self, context);\n\n    return generator;\n  }\n  exports.wrap = wrap;\n\n  // Try/catch helper to minimize deoptimizations. Returns a completion\n  // record like context.tryEntries[i].completion. This interface could\n  // have been (and was previously) designed to take a closure to be\n  // invoked without arguments, but in all the cases we care about we\n  // already have an existing method we want to call, so there's no need\n  // to create a new function object. We can even get away with assuming\n  // the method takes exactly one argument, since that happens to be true\n  // in every case, so we don't have to touch the arguments object. The\n  // only additional allocation required is the completion record, which\n  // has a stable shape and so hopefully should be cheap to allocate.\n  function tryCatch(fn, obj, arg) {\n    try {\n      return { type: \"normal\", arg: fn.call(obj, arg) };\n    } catch (err) {\n      return { type: \"throw\", arg: err };\n    }\n  }\n\n  var GenStateSuspendedStart = \"suspendedStart\";\n  var GenStateSuspendedYield = \"suspendedYield\";\n  var GenStateExecuting = \"executing\";\n  var GenStateCompleted = \"completed\";\n\n  // Returning this object from the innerFn has the same effect as\n  // breaking out of the dispatch switch statement.\n  var ContinueSentinel = {};\n\n  // Dummy constructor functions that we use as the .constructor and\n  // .constructor.prototype properties for functions that return Generator\n  // objects. For full spec compliance, you may wish to configure your\n  // minifier not to mangle the names of these two functions.\n  function Generator() {}\n  function GeneratorFunction() {}\n  function GeneratorFunctionPrototype() {}\n\n  // This is a polyfill for %IteratorPrototype% for environments that\n  // don't natively support it.\n  var IteratorPrototype = {};\n  IteratorPrototype[iteratorSymbol] = function () {\n    return this;\n  };\n\n  var getProto = Object.getPrototypeOf;\n  var NativeIteratorPrototype = getProto && getProto(getProto(values([])));\n  if (NativeIteratorPrototype &&\n      NativeIteratorPrototype !== Op &&\n      hasOwn.call(NativeIteratorPrototype, iteratorSymbol)) {\n    // This environment has a native %IteratorPrototype%; use it instead\n    // of the polyfill.\n    IteratorPrototype = NativeIteratorPrototype;\n  }\n\n  var Gp = GeneratorFunctionPrototype.prototype =\n    Generator.prototype = Object.create(IteratorPrototype);\n  GeneratorFunction.prototype = Gp.constructor = GeneratorFunctionPrototype;\n  GeneratorFunctionPrototype.constructor = GeneratorFunction;\n  GeneratorFunctionPrototype[toStringTagSymbol] =\n    GeneratorFunction.displayName = \"GeneratorFunction\";\n\n  // Helper for defining the .next, .throw, and .return methods of the\n  // Iterator interface in terms of a single ._invoke method.\n  function defineIteratorMethods(prototype) {\n    [\"next\", \"throw\", \"return\"].forEach(function(method) {\n      prototype[method] = function(arg) {\n        return this._invoke(method, arg);\n      };\n    });\n  }\n\n  exports.isGeneratorFunction = function(genFun) {\n    var ctor = typeof genFun === \"function\" && genFun.constructor;\n    return ctor\n      ? ctor === GeneratorFunction ||\n        // For the native GeneratorFunction constructor, the best we can\n        // do is to check its .name property.\n        (ctor.displayName || ctor.name) === \"GeneratorFunction\"\n      : false;\n  };\n\n  exports.mark = function(genFun) {\n    if (Object.setPrototypeOf) {\n      Object.setPrototypeOf(genFun, GeneratorFunctionPrototype);\n    } else {\n      genFun.__proto__ = GeneratorFunctionPrototype;\n      if (!(toStringTagSymbol in genFun)) {\n        genFun[toStringTagSymbol] = \"GeneratorFunction\";\n      }\n    }\n    genFun.prototype = Object.create(Gp);\n    return genFun;\n  };\n\n  // Within the body of any async function, `await x` is transformed to\n  // `yield regeneratorRuntime.awrap(x)`, so that the runtime can test\n  // `hasOwn.call(value, \"__await\")` to determine if the yielded value is\n  // meant to be awaited.\n  exports.awrap = function(arg) {\n    return { __await: arg };\n  };\n\n  function AsyncIterator(generator, PromiseImpl) {\n    function invoke(method, arg, resolve, reject) {\n      var record = tryCatch(generator[method], generator, arg);\n      if (record.type === \"throw\") {\n        reject(record.arg);\n      } else {\n        var result = record.arg;\n        var value = result.value;\n        if (value &&\n            typeof value === \"object\" &&\n            hasOwn.call(value, \"__await\")) {\n          return PromiseImpl.resolve(value.__await).then(function(value) {\n            invoke(\"next\", value, resolve, reject);\n          }, function(err) {\n            invoke(\"throw\", err, resolve, reject);\n          });\n        }\n\n        return PromiseImpl.resolve(value).then(function(unwrapped) {\n          // When a yielded Promise is resolved, its final value becomes\n          // the .value of the Promise<{value,done}> result for the\n          // current iteration.\n          result.value = unwrapped;\n          resolve(result);\n        }, function(error) {\n          // If a rejected Promise was yielded, throw the rejection back\n          // into the async generator function so it can be handled there.\n          return invoke(\"throw\", error, resolve, reject);\n        });\n      }\n    }\n\n    var previousPromise;\n\n    function enqueue(method, arg) {\n      function callInvokeWithMethodAndArg() {\n        return new PromiseImpl(function(resolve, reject) {\n          invoke(method, arg, resolve, reject);\n        });\n      }\n\n      return previousPromise =\n        // If enqueue has been called before, then we want to wait until\n        // all previous Promises have been resolved before calling invoke,\n        // so that results are always delivered in the correct order. If\n        // enqueue has not been called before, then it is important to\n        // call invoke immediately, without waiting on a callback to fire,\n        // so that the async generator function has the opportunity to do\n        // any necessary setup in a predictable way. This predictability\n        // is why the Promise constructor synchronously invokes its\n        // executor callback, and why async functions synchronously\n        // execute code before the first await. Since we implement simple\n        // async functions in terms of async generators, it is especially\n        // important to get this right, even though it requires care.\n        previousPromise ? previousPromise.then(\n          callInvokeWithMethodAndArg,\n          // Avoid propagating failures to Promises returned by later\n          // invocations of the iterator.\n          callInvokeWithMethodAndArg\n        ) : callInvokeWithMethodAndArg();\n    }\n\n    // Define the unified helper method that is used to implement .next,\n    // .throw, and .return (see defineIteratorMethods).\n    this._invoke = enqueue;\n  }\n\n  defineIteratorMethods(AsyncIterator.prototype);\n  AsyncIterator.prototype[asyncIteratorSymbol] = function () {\n    return this;\n  };\n  exports.AsyncIterator = AsyncIterator;\n\n  // Note that simple async functions are implemented on top of\n  // AsyncIterator objects; they just return a Promise for the value of\n  // the final result produced by the iterator.\n  exports.async = function(innerFn, outerFn, self, tryLocsList, PromiseImpl) {\n    if (PromiseImpl === void 0) PromiseImpl = Promise;\n\n    var iter = new AsyncIterator(\n      wrap(innerFn, outerFn, self, tryLocsList),\n      PromiseImpl\n    );\n\n    return exports.isGeneratorFunction(outerFn)\n      ? iter // If outerFn is a generator, return the full iterator.\n      : iter.next().then(function(result) {\n          return result.done ? result.value : iter.next();\n        });\n  };\n\n  function makeInvokeMethod(innerFn, self, context) {\n    var state = GenStateSuspendedStart;\n\n    return function invoke(method, arg) {\n      if (state === GenStateExecuting) {\n        throw new Error(\"Generator is already running\");\n      }\n\n      if (state === GenStateCompleted) {\n        if (method === \"throw\") {\n          throw arg;\n        }\n\n        // Be forgiving, per 25.3.3.3.3 of the spec:\n        // https://people.mozilla.org/~jorendorff/es6-draft.html#sec-generatorresume\n        return doneResult();\n      }\n\n      context.method = method;\n      context.arg = arg;\n\n      while (true) {\n        var delegate = context.delegate;\n        if (delegate) {\n          var delegateResult = maybeInvokeDelegate(delegate, context);\n          if (delegateResult) {\n            if (delegateResult === ContinueSentinel) continue;\n            return delegateResult;\n          }\n        }\n\n        if (context.method === \"next\") {\n          // Setting context._sent for legacy support of Babel's\n          // function.sent implementation.\n          context.sent = context._sent = context.arg;\n\n        } else if (context.method === \"throw\") {\n          if (state === GenStateSuspendedStart) {\n            state = GenStateCompleted;\n            throw context.arg;\n          }\n\n          context.dispatchException(context.arg);\n\n        } else if (context.method === \"return\") {\n          context.abrupt(\"return\", context.arg);\n        }\n\n        state = GenStateExecuting;\n\n        var record = tryCatch(innerFn, self, context);\n        if (record.type === \"normal\") {\n          // If an exception is thrown from innerFn, we leave state ===\n          // GenStateExecuting and loop back for another invocation.\n          state = context.done\n            ? GenStateCompleted\n            : GenStateSuspendedYield;\n\n          if (record.arg === ContinueSentinel) {\n            continue;\n          }\n\n          return {\n            value: record.arg,\n            done: context.done\n          };\n\n        } else if (record.type === \"throw\") {\n          state = GenStateCompleted;\n          // Dispatch the exception by looping back around to the\n          // context.dispatchException(context.arg) call above.\n          context.method = \"throw\";\n          context.arg = record.arg;\n        }\n      }\n    };\n  }\n\n  // Call delegate.iterator[context.method](context.arg) and handle the\n  // result, either by returning a { value, done } result from the\n  // delegate iterator, or by modifying context.method and context.arg,\n  // setting context.delegate to null, and returning the ContinueSentinel.\n  function maybeInvokeDelegate(delegate, context) {\n    var method = delegate.iterator[context.method];\n    if (method === undefined) {\n      // A .throw or .return when the delegate iterator has no .throw\n      // method always terminates the yield* loop.\n      context.delegate = null;\n\n      if (context.method === \"throw\") {\n        // Note: [\"return\"] must be used for ES3 parsing compatibility.\n        if (delegate.iterator[\"return\"]) {\n          // If the delegate iterator has a return method, give it a\n          // chance to clean up.\n          context.method = \"return\";\n          context.arg = undefined;\n          maybeInvokeDelegate(delegate, context);\n\n          if (context.method === \"throw\") {\n            // If maybeInvokeDelegate(context) changed context.method from\n            // \"return\" to \"throw\", let that override the TypeError below.\n            return ContinueSentinel;\n          }\n        }\n\n        context.method = \"throw\";\n        context.arg = new TypeError(\n          \"The iterator does not provide a 'throw' method\");\n      }\n\n      return ContinueSentinel;\n    }\n\n    var record = tryCatch(method, delegate.iterator, context.arg);\n\n    if (record.type === \"throw\") {\n      context.method = \"throw\";\n      context.arg = record.arg;\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    var info = record.arg;\n\n    if (! info) {\n      context.method = \"throw\";\n      context.arg = new TypeError(\"iterator result is not an object\");\n      context.delegate = null;\n      return ContinueSentinel;\n    }\n\n    if (info.done) {\n      // Assign the result of the finished delegate to the temporary\n      // variable specified by delegate.resultName (see delegateYield).\n      context[delegate.resultName] = info.value;\n\n      // Resume execution at the desired location (see delegateYield).\n      context.next = delegate.nextLoc;\n\n      // If context.method was \"throw\" but the delegate handled the\n      // exception, let the outer generator proceed normally. If\n      // context.method was \"next\", forget context.arg since it has been\n      // \"consumed\" by the delegate iterator. If context.method was\n      // \"return\", allow the original .return call to continue in the\n      // outer generator.\n      if (context.method !== \"return\") {\n        context.method = \"next\";\n        context.arg = undefined;\n      }\n\n    } else {\n      // Re-yield the result returned by the delegate method.\n      return info;\n    }\n\n    // The delegate iterator is finished, so forget it and continue with\n    // the outer generator.\n    context.delegate = null;\n    return ContinueSentinel;\n  }\n\n  // Define Generator.prototype.{next,throw,return} in terms of the\n  // unified ._invoke helper method.\n  defineIteratorMethods(Gp);\n\n  Gp[toStringTagSymbol] = \"Generator\";\n\n  // A Generator should always return itself as the iterator object when the\n  // @@iterator function is called on it. Some browsers' implementations of the\n  // iterator prototype chain incorrectly implement this, causing the Generator\n  // object to not be returned from this call. This ensures that doesn't happen.\n  // See https://github.com/facebook/regenerator/issues/274 for more details.\n  Gp[iteratorSymbol] = function() {\n    return this;\n  };\n\n  Gp.toString = function() {\n    return \"[object Generator]\";\n  };\n\n  function pushTryEntry(locs) {\n    var entry = { tryLoc: locs[0] };\n\n    if (1 in locs) {\n      entry.catchLoc = locs[1];\n    }\n\n    if (2 in locs) {\n      entry.finallyLoc = locs[2];\n      entry.afterLoc = locs[3];\n    }\n\n    this.tryEntries.push(entry);\n  }\n\n  function resetTryEntry(entry) {\n    var record = entry.completion || {};\n    record.type = \"normal\";\n    delete record.arg;\n    entry.completion = record;\n  }\n\n  function Context(tryLocsList) {\n    // The root entry object (effectively a try statement without a catch\n    // or a finally block) gives us a place to store values thrown from\n    // locations where there is no enclosing try statement.\n    this.tryEntries = [{ tryLoc: \"root\" }];\n    tryLocsList.forEach(pushTryEntry, this);\n    this.reset(true);\n  }\n\n  exports.keys = function(object) {\n    var keys = [];\n    for (var key in object) {\n      keys.push(key);\n    }\n    keys.reverse();\n\n    // Rather than returning an object with a next method, we keep\n    // things simple and return the next function itself.\n    return function next() {\n      while (keys.length) {\n        var key = keys.pop();\n        if (key in object) {\n          next.value = key;\n          next.done = false;\n          return next;\n        }\n      }\n\n      // To avoid creating an additional object, we just hang the .value\n      // and .done properties off the next function object itself. This\n      // also ensures that the minifier will not anonymize the function.\n      next.done = true;\n      return next;\n    };\n  };\n\n  function values(iterable) {\n    if (iterable) {\n      var iteratorMethod = iterable[iteratorSymbol];\n      if (iteratorMethod) {\n        return iteratorMethod.call(iterable);\n      }\n\n      if (typeof iterable.next === \"function\") {\n        return iterable;\n      }\n\n      if (!isNaN(iterable.length)) {\n        var i = -1, next = function next() {\n          while (++i < iterable.length) {\n            if (hasOwn.call(iterable, i)) {\n              next.value = iterable[i];\n              next.done = false;\n              return next;\n            }\n          }\n\n          next.value = undefined;\n          next.done = true;\n\n          return next;\n        };\n\n        return next.next = next;\n      }\n    }\n\n    // Return an iterator with no values.\n    return { next: doneResult };\n  }\n  exports.values = values;\n\n  function doneResult() {\n    return { value: undefined, done: true };\n  }\n\n  Context.prototype = {\n    constructor: Context,\n\n    reset: function(skipTempReset) {\n      this.prev = 0;\n      this.next = 0;\n      // Resetting context._sent for legacy support of Babel's\n      // function.sent implementation.\n      this.sent = this._sent = undefined;\n      this.done = false;\n      this.delegate = null;\n\n      this.method = \"next\";\n      this.arg = undefined;\n\n      this.tryEntries.forEach(resetTryEntry);\n\n      if (!skipTempReset) {\n        for (var name in this) {\n          // Not sure about the optimal order of these conditions:\n          if (name.charAt(0) === \"t\" &&\n              hasOwn.call(this, name) &&\n              !isNaN(+name.slice(1))) {\n            this[name] = undefined;\n          }\n        }\n      }\n    },\n\n    stop: function() {\n      this.done = true;\n\n      var rootEntry = this.tryEntries[0];\n      var rootRecord = rootEntry.completion;\n      if (rootRecord.type === \"throw\") {\n        throw rootRecord.arg;\n      }\n\n      return this.rval;\n    },\n\n    dispatchException: function(exception) {\n      if (this.done) {\n        throw exception;\n      }\n\n      var context = this;\n      function handle(loc, caught) {\n        record.type = \"throw\";\n        record.arg = exception;\n        context.next = loc;\n\n        if (caught) {\n          // If the dispatched exception was caught by a catch block,\n          // then let that catch block handle the exception normally.\n          context.method = \"next\";\n          context.arg = undefined;\n        }\n\n        return !! caught;\n      }\n\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        var record = entry.completion;\n\n        if (entry.tryLoc === \"root\") {\n          // Exception thrown outside of any try block that could handle\n          // it, so set the completion value of the entire function to\n          // throw the exception.\n          return handle(\"end\");\n        }\n\n        if (entry.tryLoc <= this.prev) {\n          var hasCatch = hasOwn.call(entry, \"catchLoc\");\n          var hasFinally = hasOwn.call(entry, \"finallyLoc\");\n\n          if (hasCatch && hasFinally) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            } else if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else if (hasCatch) {\n            if (this.prev < entry.catchLoc) {\n              return handle(entry.catchLoc, true);\n            }\n\n          } else if (hasFinally) {\n            if (this.prev < entry.finallyLoc) {\n              return handle(entry.finallyLoc);\n            }\n\n          } else {\n            throw new Error(\"try statement without catch or finally\");\n          }\n        }\n      }\n    },\n\n    abrupt: function(type, arg) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc <= this.prev &&\n            hasOwn.call(entry, \"finallyLoc\") &&\n            this.prev < entry.finallyLoc) {\n          var finallyEntry = entry;\n          break;\n        }\n      }\n\n      if (finallyEntry &&\n          (type === \"break\" ||\n           type === \"continue\") &&\n          finallyEntry.tryLoc <= arg &&\n          arg <= finallyEntry.finallyLoc) {\n        // Ignore the finally entry if control is not jumping to a\n        // location outside the try/catch block.\n        finallyEntry = null;\n      }\n\n      var record = finallyEntry ? finallyEntry.completion : {};\n      record.type = type;\n      record.arg = arg;\n\n      if (finallyEntry) {\n        this.method = \"next\";\n        this.next = finallyEntry.finallyLoc;\n        return ContinueSentinel;\n      }\n\n      return this.complete(record);\n    },\n\n    complete: function(record, afterLoc) {\n      if (record.type === \"throw\") {\n        throw record.arg;\n      }\n\n      if (record.type === \"break\" ||\n          record.type === \"continue\") {\n        this.next = record.arg;\n      } else if (record.type === \"return\") {\n        this.rval = this.arg = record.arg;\n        this.method = \"return\";\n        this.next = \"end\";\n      } else if (record.type === \"normal\" && afterLoc) {\n        this.next = afterLoc;\n      }\n\n      return ContinueSentinel;\n    },\n\n    finish: function(finallyLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.finallyLoc === finallyLoc) {\n          this.complete(entry.completion, entry.afterLoc);\n          resetTryEntry(entry);\n          return ContinueSentinel;\n        }\n      }\n    },\n\n    \"catch\": function(tryLoc) {\n      for (var i = this.tryEntries.length - 1; i >= 0; --i) {\n        var entry = this.tryEntries[i];\n        if (entry.tryLoc === tryLoc) {\n          var record = entry.completion;\n          if (record.type === \"throw\") {\n            var thrown = record.arg;\n            resetTryEntry(entry);\n          }\n          return thrown;\n        }\n      }\n\n      // The context.catch method must only be called with a location\n      // argument that corresponds to a known catch block.\n      throw new Error(\"illegal catch attempt\");\n    },\n\n    delegateYield: function(iterable, resultName, nextLoc) {\n      this.delegate = {\n        iterator: values(iterable),\n        resultName: resultName,\n        nextLoc: nextLoc\n      };\n\n      if (this.method === \"next\") {\n        // Deliberately forget the last sent value so that we don't\n        // accidentally pass it on to the delegate.\n        this.arg = undefined;\n      }\n\n      return ContinueSentinel;\n    }\n  };\n\n  // Regardless of whether this script is executing as a CommonJS module\n  // or not, return the runtime object so that we can declare the variable\n  // regeneratorRuntime in the outer scope, which allows this module to be\n  // injected easily by `bin/regenerator --include-runtime script.js`.\n  return exports;\n\n}(\n  // If this script is executing as a CommonJS module, use module.exports\n  // as the regeneratorRuntime namespace. Otherwise create a new empty\n  // object. Either way, the resulting object will be used to initialize\n  // the regeneratorRuntime variable at the top of this file.\n  typeof module === \"object\" ? module.exports : {}\n));\n\ntry {\n  regeneratorRuntime = runtime;\n} catch (accidentalStrictMode) {\n  // This module should not be running in strict mode, so the above\n  // assignment should always work unless something is misconfigured. Just\n  // in case runtime.js accidentally runs in strict mode, we can escape\n  // strict mode using a global Function call. This could conceivably fail\n  // if a Content Security Policy forbids using Function, but in that case\n  // the proper solution is to fix the accidental strict mode problem. If\n  // you've misconfigured your bundler to force strict mode and applied a\n  // CSP to forbid Function, and you're not willing to fix either of those\n  // problems, please detail your unique predicament in a GitHub issue.\n  Function(\"r\", \"regeneratorRuntime = r\")(runtime);\n}\n\n},{}],306:[function(_dereq_,module,exports){\n\"use strict\";\n\n_dereq_(307);\n\nvar _global = _interopRequireDefault(_dereq_(13));\n\nfunction _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { \"default\": obj }; }\n\nif (_global[\"default\"]._babelPolyfill && typeof console !== \"undefined\" && console.warn) {\n  console.warn(\"@babel/polyfill is loaded more than once on this page. This is probably not desirable/intended \" + \"and may have consequences if different versions of the polyfills are applied sequentially. \" + \"If you do need to load the polyfill more than once, use @babel/polyfill/noConflict \" + \"instead to bypass the warning.\");\n}\n\n_global[\"default\"]._babelPolyfill = true;\n},{\"13\":13,\"307\":307}],307:[function(_dereq_,module,exports){\n\"use strict\";\n\n_dereq_(1);\n\n_dereq_(3);\n\n_dereq_(2);\n\n_dereq_(9);\n\n_dereq_(8);\n\n_dereq_(11);\n\n_dereq_(10);\n\n_dereq_(12);\n\n_dereq_(5);\n\n_dereq_(6);\n\n_dereq_(4);\n\n_dereq_(7);\n\n_dereq_(304);\n\n_dereq_(305);\n},{\"1\":1,\"10\":10,\"11\":11,\"12\":12,\"2\":2,\"3\":3,\"304\":304,\"305\":305,\"4\":4,\"5\":5,\"6\":6,\"7\":7,\"8\":8,\"9\":9}]},{},[306]);\n","/* eslint-disable no-var */\n/* globals global globalThis self */\n/* eslint-disable-next-line no-unused-vars */\nvar define, require;\n\n(function () {\n  var globalObj =\n    typeof globalThis !== 'undefined'\n      ? globalThis\n      : typeof self !== 'undefined'\n      ? self\n      : typeof window !== 'undefined'\n      ? window\n      : typeof global !== 'undefined'\n      ? global\n      : null;\n\n  if (globalObj === null) {\n    throw new Error('unable to locate global object');\n  }\n\n  if (typeof globalObj.define === 'function' && typeof globalObj.require === 'function') {\n    define = globalObj.define;\n    require = globalObj.require;\n\n    return;\n  }\n\n  var registry = Object.create(null);\n  var seen = Object.create(null);\n\n  function missingModule(name, referrerName) {\n    if (referrerName) {\n      throw new Error('Could not find module ' + name + ' required by: ' + referrerName);\n    } else {\n      throw new Error('Could not find module ' + name);\n    }\n  }\n\n  function internalRequire(_name, referrerName) {\n    var name = _name;\n    var mod = registry[name];\n\n    if (!mod) {\n      name = name + '/index';\n      mod = registry[name];\n    }\n\n    var exports = seen[name];\n\n    if (exports !== undefined) {\n      return exports;\n    }\n\n    exports = seen[name] = {};\n\n    if (!mod) {\n      missingModule(_name, referrerName);\n    }\n\n    var deps = mod.deps;\n    var callback = mod.callback;\n    var reified = new Array(deps.length);\n\n    for (var i = 0; i < deps.length; i++) {\n      if (deps[i] === 'exports') {\n        reified[i] = exports;\n      } else if (deps[i] === 'require') {\n        reified[i] = require;\n      } else {\n        reified[i] = require(deps[i], name);\n      }\n    }\n\n    callback.apply(this, reified);\n\n    return exports;\n  }\n\n  require = function (name) {\n    return internalRequire(name, null);\n  };\n\n  define = function (name, deps, callback) {\n    registry[name] = { deps: deps, callback: callback };\n  };\n\n  // setup `require` module\n  require['default'] = require;\n\n  require.has = function registryHas(moduleName) {\n    return Boolean(registry[moduleName]) || Boolean(registry[moduleName + '/index']);\n  };\n\n  require._eak_seen = require.entries = registry;\n})();\n","import require from 'require';\n(function bootstrap() {\n  // Bootstrap Node module\n  if (typeof module === 'object' && typeof module.require === 'function') {\n    module.exports = require('ember').default;\n  }\n})();","// check if window exists and actually is the global\nvar hasDom = typeof self === 'object' && self !== null && self.Object === Object && typeof Window !== 'undefined' && self.constructor === Window && typeof document === 'object' && document !== null && self.document === document && typeof location === 'object' && location !== null && self.location === location && typeof history === 'object' && history !== null && self.history === history && typeof navigator === 'object' && navigator !== null && self.navigator === navigator && typeof navigator.userAgent === 'string';\n\nconst window = hasDom ? self : null;\nconst location$1 = hasDom ? self.location : null;\nconst history$1 = hasDom ? self.history : null;\nconst userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\nconst isChrome = hasDom ? typeof chrome === 'object' && !(typeof opera === 'object') : false;\nconst isFirefox = hasDom ? /Firefox|FxiOS/.test(userAgent) : false;\n\nexport { window, location$1 as location, history$1 as history, userAgent, isChrome, isFirefox, hasDom as hasDOM };\n","import { setOwner } from '@ember/-internals/owner';\nimport { dictionary, intern } from '@ember/-internals/utils';\nimport { assert, deprecate } from '@ember/debug';\nimport { DEBUG } from '@glimmer/env';\n\nlet leakTracking;\nlet containers;\nif (DEBUG) {\n  // requires v8\n  // chrome --js-flags=\"--allow-natives-syntax --expose-gc\"\n  // node --allow-natives-syntax --expose-gc\n  try {\n    if (typeof gc === 'function') {\n      leakTracking = (() => {\n        // avoid syntax errors when --allow-natives-syntax not present\n        let GetWeakSetValues = new Function('weakSet', 'return %GetWeakSetValues(weakSet, 0)');\n        containers = new WeakSet();\n        return {\n          hasContainers() {\n            // @ts-expect-error We just checked if it is definied\n            gc();\n            return GetWeakSetValues(containers).length > 0;\n          },\n          reset() {\n            let values = GetWeakSetValues(containers);\n            for (let i = 0; i < values.length; i++) {\n              containers.delete(values[i]);\n            }\n          }\n        };\n      })();\n    }\n  } catch (e) {\n    // ignore\n  }\n}\n/**\n A container used to instantiate and cache objects.\n\n Every `Container` must be associated with a `Registry`, which is referenced\n to determine the factory and options that should be used to instantiate\n objects.\n\n The public API for `Container` is still in flux and should not be considered\n stable.\n\n @private\n @class Container\n */\nclass Container {\n  constructor(registry, options = {}) {\n    this.registry = registry;\n    this.owner = options.owner || null;\n    this.cache = dictionary(options.cache || null);\n    this.factoryManagerCache = dictionary(options.factoryManagerCache || null);\n    this.isDestroyed = false;\n    this.isDestroying = false;\n    if (DEBUG) {\n      this.validationCache = dictionary(options.validationCache || null);\n      if (containers !== undefined) {\n        containers.add(this);\n      }\n    }\n  }\n  /**\n   @private\n   @property registry\n   @type Registry\n   @since 1.11.0\n   */\n  /**\n   @private\n   @property cache\n   @type InheritingDict\n   */\n  /**\n   @private\n   @property validationCache\n   @type InheritingDict\n   */\n  /**\n   Given a fullName return a corresponding instance.\n    The default behavior is for lookup to return a singleton instance.\n   The singleton is scoped to the container, allowing multiple containers\n   to all have their own locally scoped singletons.\n    ```javascript\n   let registry = new Registry();\n   let container = registry.container();\n    registry.register('api:twitter', Twitter);\n    let twitter = container.lookup('api:twitter');\n    twitter instanceof Twitter; // => true\n    // by default the container will return singletons\n   let twitter2 = container.lookup('api:twitter');\n   twitter2 instanceof Twitter; // => true\n    twitter === twitter2; //=> true\n   ```\n    If singletons are not wanted, an optional flag can be provided at lookup.\n    ```javascript\n   let registry = new Registry();\n   let container = registry.container();\n    registry.register('api:twitter', Twitter);\n    let twitter = container.lookup('api:twitter', { singleton: false });\n   let twitter2 = container.lookup('api:twitter', { singleton: false });\n    twitter === twitter2; //=> false\n   ```\n    @private\n   @method lookup\n   @param {String} fullName\n   @param {RegisterOptions} [options]\n   @return {any}\n   */\n  lookup(fullName, options) {\n    if (this.isDestroyed) {\n      throw new Error(`Cannot call \\`.lookup('${fullName}')\\` after the owner has been destroyed`);\n    }\n    assert('fullName must be a proper full name', this.registry.isValidFullName(fullName));\n    return lookup(this, this.registry.normalize(fullName), options);\n  }\n  /**\n   A depth first traversal, destroying the container, its descendant containers and all\n   their managed objects.\n    @private\n   @method destroy\n   */\n  destroy() {\n    this.isDestroying = true;\n    destroyDestroyables(this);\n  }\n  finalizeDestroy() {\n    resetCache(this);\n    this.isDestroyed = true;\n  }\n  /**\n   Clear either the entire cache or just the cache for a particular key.\n      @private\n   @method reset\n   @param {String} fullName optional key to reset; if missing, resets everything\n  */\n  reset(fullName) {\n    if (this.isDestroyed) return;\n    if (fullName === undefined) {\n      destroyDestroyables(this);\n      resetCache(this);\n    } else {\n      resetMember(this, this.registry.normalize(fullName));\n    }\n  }\n  /**\n   Returns an object that can be used to provide an owner to a\n   manually created instance.\n    @private\n   @method ownerInjection\n   @returns { Object }\n  */\n  ownerInjection() {\n    let injection = {};\n    setOwner(injection, this.owner);\n    return injection;\n  }\n  /**\n   Given a fullName, return the corresponding factory. The consumer of the factory\n   is responsible for the destruction of any factory instances, as there is no\n   way for the container to ensure instances are destroyed when it itself is\n   destroyed.\n    @public\n   @method factoryFor\n   @param {String} fullName\n   @return {any}\n   */\n  factoryFor(fullName) {\n    if (this.isDestroyed) {\n      throw new Error(`Cannot call \\`.factoryFor('${fullName}')\\` after the owner has been destroyed`);\n    }\n    let normalizedName = this.registry.normalize(fullName);\n    assert('fullName must be a proper full name', this.registry.isValidFullName(normalizedName));\n    return factoryFor(this, normalizedName, fullName);\n  }\n}\nif (DEBUG) {\n  Container._leakTracking = leakTracking;\n}\n/*\n * Wrap a factory manager in a proxy which will not permit properties to be\n * set on the manager.\n */\nfunction wrapManagerInDeprecationProxy(manager) {\n  let validator = {\n    set(_obj, prop) {\n      throw new Error(`You attempted to set \"${String(prop)}\" on a factory manager created by container#factoryFor. A factory manager is a read-only construct.`);\n    }\n  };\n  // Note:\n  // We have to proxy access to the manager here so that private property\n  // access doesn't cause the above errors to occur.\n  let m = manager;\n  let proxiedManager = {\n    class: m.class,\n    create(props) {\n      return m.create(props);\n    }\n  };\n  return new Proxy(proxiedManager, validator);\n}\nfunction isSingleton(container, fullName) {\n  return container.registry.getOption(fullName, 'singleton') !== false;\n}\nfunction isInstantiatable(container, fullName) {\n  return container.registry.getOption(fullName, 'instantiate') !== false;\n}\nfunction lookup(container, fullName, options = {}) {\n  let normalizedName = fullName;\n  if (options.singleton === true || options.singleton === undefined && isSingleton(container, fullName)) {\n    let cached = container.cache[normalizedName];\n    if (cached !== undefined) {\n      return cached;\n    }\n  }\n  return instantiateFactory(container, normalizedName, fullName, options);\n}\nfunction factoryFor(container, normalizedName, fullName) {\n  let cached = container.factoryManagerCache[normalizedName];\n  if (cached !== undefined) {\n    return cached;\n  }\n  let factory = container.registry.resolve(normalizedName);\n  if (factory === undefined) {\n    return;\n  }\n  if (DEBUG && factory && typeof factory._onLookup === 'function') {\n    factory._onLookup(fullName);\n  }\n  let manager = new InternalFactoryManager(container, factory, fullName, normalizedName);\n  if (DEBUG) {\n    manager = wrapManagerInDeprecationProxy(manager);\n  }\n  container.factoryManagerCache[normalizedName] = manager;\n  return manager;\n}\nfunction isSingletonClass(container, fullName, {\n  instantiate,\n  singleton\n}) {\n  return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n}\nfunction isSingletonInstance(container, fullName, {\n  instantiate,\n  singleton\n}) {\n  return singleton !== false && instantiate !== false && (singleton === true || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n}\nfunction isFactoryClass(container, fullname, {\n  instantiate,\n  singleton\n}) {\n  return instantiate === false && (singleton === false || !isSingleton(container, fullname)) && !isInstantiatable(container, fullname);\n}\nfunction isFactoryInstance(container, fullName, {\n  instantiate,\n  singleton\n}) {\n  return instantiate !== false && (singleton === false || !isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n}\nfunction instantiateFactory(container, normalizedName, fullName, options) {\n  let factoryManager = factoryFor(container, normalizedName, fullName);\n  if (factoryManager === undefined) {\n    return;\n  }\n  // SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n  // By default majority of objects fall into this case\n  if (isSingletonInstance(container, fullName, options)) {\n    let instance = container.cache[normalizedName] = factoryManager.create();\n    // if this lookup happened _during_ destruction (emits a deprecation, but\n    // is still possible) ensure that it gets destroyed\n    if (container.isDestroying) {\n      if (typeof instance.destroy === 'function') {\n        instance.destroy();\n      }\n    }\n    return instance;\n  }\n  // SomeClass { singleton: false, instantiate: true }\n  if (isFactoryInstance(container, fullName, options)) {\n    return factoryManager.create();\n  }\n  // SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\n  if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n    return factoryManager.class;\n  }\n  throw new Error('Could not create factory');\n}\nfunction destroyDestroyables(container) {\n  let cache = container.cache;\n  let keys = Object.keys(cache);\n  for (let key of keys) {\n    let value = cache[key];\n    assert('has cached value', value);\n    if (value.destroy) {\n      value.destroy();\n    }\n  }\n}\nfunction resetCache(container) {\n  container.cache = dictionary(null);\n  container.factoryManagerCache = dictionary(null);\n}\nfunction resetMember(container, fullName) {\n  let member = container.cache[fullName];\n  delete container.factoryManagerCache[fullName];\n  if (member) {\n    delete container.cache[fullName];\n    if (member.destroy) {\n      member.destroy();\n    }\n  }\n}\nconst INIT_FACTORY = Symbol('INIT_FACTORY');\nfunction getFactoryFor(obj) {\n  // SAFETY: since we know `obj` is an `object`, we also know we can safely ask\n  // whether a key is set on it.\n  return obj[INIT_FACTORY];\n}\nfunction setFactoryFor(obj, factory) {\n  // SAFETY: since we know `obj` is an `object`, we also know we can safely set\n  // a key it safely at this location. (The only way this could be blocked is if\n  // someone has gone out of their way to use `Object.defineProperty()` with our\n  // internal-only symbol and made it `writable: false`.)\n  obj[INIT_FACTORY] = factory;\n}\nclass InternalFactoryManager {\n  constructor(container, factory, fullName, normalizedName) {\n    this.container = container;\n    this.owner = container.owner;\n    this.class = factory;\n    this.fullName = fullName;\n    this.normalizedName = normalizedName;\n    this.madeToString = undefined;\n    this.injections = undefined;\n  }\n  toString() {\n    if (this.madeToString === undefined) {\n      this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n    }\n    return this.madeToString;\n  }\n  create(options) {\n    let {\n      container\n    } = this;\n    if (container.isDestroyed) {\n      throw new Error(`Cannot create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);\n    }\n    let props = options ? Object.assign({}, options) : {};\n    setOwner(props, container.owner);\n    setFactoryFor(props, this);\n    if (DEBUG) {\n      let lazyInjections;\n      let validationCache = this.container.validationCache;\n      // Ensure that all lazy injections are valid at instantiation time\n      if (!validationCache[this.fullName] && this.class && typeof this.class._lazyInjections === 'function') {\n        lazyInjections = this.class._lazyInjections();\n        lazyInjections = this.container.registry.normalizeInjectionsHash(lazyInjections);\n        this.container.registry.validateInjections(lazyInjections);\n      }\n      validationCache[this.fullName] = true;\n      assert(`Failed to create an instance of '${this.normalizedName}'. Most likely an improperly defined class or an invalid module export.`, typeof this.class.create === 'function');\n    }\n    return this.class.create(props);\n  }\n}\n\nconst VALID_FULL_NAME_REGEXP = /^[^:]+:[^:]+$/;\n/**\n A registry used to store factory and option information keyed\n by type.\n\n A `Registry` stores the factory and option information needed by a\n `Container` to instantiate and cache objects.\n\n The API for `Registry` is still in flux and should not be considered stable.\n\n @private\n @class Registry\n @since 1.11.0\n*/\nclass Registry {\n  constructor(options = {}) {\n    this.fallback = options.fallback || null;\n    this.resolver = options.resolver || null;\n    this.registrations = dictionary(options.registrations || null);\n    this._normalizeCache = dictionary(null);\n    this._resolveCache = dictionary(null);\n    this._failSet = new Set();\n    this._options = dictionary(null);\n    this._typeOptions = dictionary(null);\n  }\n  /**\n   A backup registry for resolving registrations when no matches can be found.\n      @private\n   @property fallback\n   @type Registry\n   */\n  /**\n   An object that has a `resolve` method that resolves a name.\n      @private\n   @property resolver\n   @type Resolver\n   */\n  /**\n   @private\n   @property registrations\n   @type InheritingDict\n   */\n  /**\n   @private\n      @property _normalizeCache\n   @type InheritingDict\n   */\n  /**\n   @private\n      @property _resolveCache\n   @type InheritingDict\n   */\n  /**\n   @private\n      @property _options\n   @type InheritingDict\n   */\n  /**\n   @private\n      @property _typeOptions\n   @type InheritingDict\n   */\n  /**\n   Creates a container based on this registry.\n      @private\n   @method container\n   @param {Object} options\n   @return {Container} created container\n   */\n  container(options) {\n    return new Container(this, options);\n  }\n  register(fullName, factory, options = {}) {\n    assert('fullName must be a proper full name', this.isValidFullName(fullName));\n    assert(`Attempting to register an unknown factory: '${fullName}'`, factory !== undefined);\n    let normalizedName = this.normalize(fullName);\n    assert(`Cannot re-register: '${fullName}', as it has already been resolved.`, !this._resolveCache[normalizedName]);\n    this._failSet.delete(normalizedName);\n    this.registrations[normalizedName] = factory;\n    this._options[normalizedName] = options;\n  }\n  /**\n   Unregister a fullName\n      ```javascript\n   let registry = new Registry();\n   registry.register('model:user', User);\n      registry.resolve('model:user').create() instanceof User //=> true\n      registry.unregister('model:user')\n   registry.resolve('model:user') === undefined //=> true\n   ```\n      @private\n   @method unregister\n   @param {String} fullName\n   */\n  unregister(fullName) {\n    assert('fullName must be a proper full name', this.isValidFullName(fullName));\n    let normalizedName = this.normalize(fullName);\n    delete this.registrations[normalizedName];\n    delete this._resolveCache[normalizedName];\n    delete this._options[normalizedName];\n    this._failSet.delete(normalizedName);\n  }\n  /**\n   Given a fullName return the corresponding factory.\n      By default `resolve` will retrieve the factory from\n   the registry.\n      ```javascript\n   let registry = new Registry();\n   registry.register('api:twitter', Twitter);\n      registry.resolve('api:twitter') // => Twitter\n   ```\n      Optionally the registry can be provided with a custom resolver.\n   If provided, `resolve` will first provide the custom resolver\n   the opportunity to resolve the fullName, otherwise it will fallback\n   to the registry.\n      ```javascript\n   let registry = new Registry();\n   registry.resolver = function(fullName) {\n      // lookup via the module system of choice\n    };\n      // the twitter factory is added to the module system\n   registry.resolve('api:twitter') // => Twitter\n   ```\n      @private\n   @method resolve\n   @param {String} fullName\n   @return {Function} fullName's factory\n   */\n  resolve(fullName) {\n    let factory = resolve(this, this.normalize(fullName));\n    if (factory === undefined && this.fallback !== null) {\n      factory = this.fallback.resolve(fullName);\n    }\n    return factory;\n  }\n  /**\n   A hook that can be used to describe how the resolver will\n   attempt to find the factory.\n      For example, the default Ember `.describe` returns the full\n   class name (including namespace) where Ember's resolver expects\n   to find the `fullName`.\n      @private\n   @method describe\n   @param {String} fullName\n   @return {string} described fullName\n   */\n  describe(fullName) {\n    if (this.resolver !== null && this.resolver.lookupDescription) {\n      return this.resolver.lookupDescription(fullName);\n    } else if (this.fallback !== null) {\n      return this.fallback.describe(fullName);\n    } else {\n      return fullName;\n    }\n  }\n  /**\n   A hook to enable custom fullName normalization behavior\n      @private\n   @method normalizeFullName\n   @param {String} fullName\n   @return {string} normalized fullName\n   */\n  normalizeFullName(fullName) {\n    if (this.resolver !== null && this.resolver.normalize) {\n      return this.resolver.normalize(fullName);\n    } else if (this.fallback !== null) {\n      return this.fallback.normalizeFullName(fullName);\n    } else {\n      return fullName;\n    }\n  }\n  /**\n   Normalize a fullName based on the application's conventions\n      @private\n   @method normalize\n   @param {String} fullName\n   @return {string} normalized fullName\n   */\n  normalize(fullName) {\n    return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this.normalizeFullName(fullName));\n  }\n  /**\n   @method makeToString\n      @private\n   @param {any} factory\n   @param {string} fullName\n   @return {function} toString function\n   */\n  makeToString(factory, fullName) {\n    var _a;\n    if (this.resolver !== null && this.resolver.makeToString) {\n      return this.resolver.makeToString(factory, fullName);\n    } else if (this.fallback !== null) {\n      return this.fallback.makeToString(factory, fullName);\n    } else {\n      return typeof factory === 'string' ? factory : (_a = factory.name) !== null && _a !== void 0 ? _a : '(unknown class)';\n    }\n  }\n  /**\n   Given a fullName check if the container is aware of its factory\n   or singleton instance.\n      @private\n   @method has\n   @param {String} fullName\n   @param {Object} [options]\n   @param {String} [options.source] the fullname of the request source (used for local lookups)\n   @return {Boolean}\n   */\n  has(fullName) {\n    if (!this.isValidFullName(fullName)) {\n      return false;\n    }\n    return has(this, this.normalize(fullName));\n  }\n  /**\n   Allow registering options for all factories of a type.\n      ```javascript\n   let registry = new Registry();\n   let container = registry.container();\n      // if all of type `connection` must not be singletons\n   registry.optionsForType('connection', { singleton: false });\n      registry.register('connection:twitter', TwitterConnection);\n   registry.register('connection:facebook', FacebookConnection);\n      let twitter = container.lookup('connection:twitter');\n   let twitter2 = container.lookup('connection:twitter');\n      twitter === twitter2; // => false\n      let facebook = container.lookup('connection:facebook');\n   let facebook2 = container.lookup('connection:facebook');\n      facebook === facebook2; // => false\n   ```\n      @private\n   @method optionsForType\n   @param {String} type\n   @param {Object} options\n   */\n  optionsForType(type, options) {\n    this._typeOptions[type] = options;\n  }\n  getOptionsForType(type) {\n    let optionsForType = this._typeOptions[type];\n    if (optionsForType === undefined && this.fallback !== null) {\n      optionsForType = this.fallback.getOptionsForType(type);\n    }\n    return optionsForType;\n  }\n  /**\n   @private\n   @method options\n   @param {String} fullName\n   @param {Object} options\n   */\n  options(fullName, options) {\n    let normalizedName = this.normalize(fullName);\n    this._options[normalizedName] = options;\n  }\n  getOptions(fullName) {\n    let normalizedName = this.normalize(fullName);\n    let options = this._options[normalizedName];\n    if (options === undefined && this.fallback !== null) {\n      options = this.fallback.getOptions(fullName);\n    }\n    return options;\n  }\n  getOption(fullName, optionName) {\n    let options = this._options[fullName];\n    if (options !== undefined && options[optionName] !== undefined) {\n      return options[optionName];\n    }\n    let type = fullName.split(':')[0];\n    assert('has type', type); // split always will have at least one value\n    options = this._typeOptions[type];\n    if (options && options[optionName] !== undefined) {\n      return options[optionName];\n    } else if (this.fallback !== null) {\n      return this.fallback.getOption(fullName, optionName);\n    }\n    return undefined;\n  }\n  /**\n   This is deprecated in favor of explicit injection of dependencies.\n      Reference: https://deprecations.emberjs.com/v3.x#toc_implicit-injections\n   ```\n      @private\n   @method injection\n   @param {String} fullName\n   @param {String} property\n   @deprecated\n   */\n  injection(fullName, property) {\n    deprecate(`As of Ember 4.0.0, owner.inject no longer injects values into resolved instances, and calling the method has been deprecated. Since this method no longer does anything, it is fully safe to remove this injection. As an alternative to this API, you can refactor to explicitly inject \\`${property}\\` on \\`${fullName}\\`, or look it up directly using the \\`getOwner\\` API.`, false, {\n      id: 'remove-owner-inject',\n      until: '5.0.0',\n      url: 'https://deprecations.emberjs.com/v4.x#toc_implicit-injections',\n      for: 'ember-source',\n      since: {\n        available: '4.0.0',\n        enabled: '4.0.0'\n      }\n    });\n  }\n  /**\n   @private\n   @method knownForType\n   @param {String} type the type to iterate over\n  */\n  knownForType(type) {\n    let localKnown = dictionary(null);\n    let registeredNames = Object.keys(this.registrations);\n    for (let fullName of registeredNames) {\n      let itemType = fullName.split(':')[0];\n      if (itemType === type) {\n        localKnown[fullName] = true;\n      }\n    }\n    let fallbackKnown, resolverKnown;\n    if (this.fallback !== null) {\n      fallbackKnown = this.fallback.knownForType(type);\n    }\n    if (this.resolver !== null && this.resolver.knownForType) {\n      resolverKnown = this.resolver.knownForType(type);\n    }\n    return Object.assign({}, fallbackKnown, localKnown, resolverKnown);\n  }\n  isValidFullName(fullName) {\n    return VALID_FULL_NAME_REGEXP.test(fullName);\n  }\n}\nif (DEBUG) {\n  const proto = Registry.prototype;\n  proto.normalizeInjectionsHash = function (hash) {\n    let injections = [];\n    for (let key in hash) {\n      if (Object.prototype.hasOwnProperty.call(hash, key)) {\n        let value = hash[key];\n        assert('has value', value);\n        let {\n          specifier\n        } = value;\n        assert(`Expected a proper full name, given '${specifier}'`, this.isValidFullName(specifier));\n        injections.push({\n          property: key,\n          specifier\n        });\n      }\n    }\n    return injections;\n  };\n  proto.validateInjections = function (injections) {\n    if (!injections) {\n      return;\n    }\n    for (let injection of injections) {\n      let {\n        specifier\n      } = injection;\n      assert(`Attempting to inject an unknown injection: '${specifier}'`, this.has(specifier));\n    }\n  };\n}\nfunction resolve(registry, _normalizedName) {\n  let normalizedName = _normalizedName;\n  let cached = registry._resolveCache[normalizedName];\n  if (cached !== undefined) {\n    return cached;\n  }\n  if (registry._failSet.has(normalizedName)) {\n    return;\n  }\n  let resolved;\n  if (registry.resolver) {\n    resolved = registry.resolver.resolve(normalizedName);\n  }\n  if (resolved === undefined) {\n    resolved = registry.registrations[normalizedName];\n  }\n  if (resolved === undefined) {\n    registry._failSet.add(normalizedName);\n  } else {\n    registry._resolveCache[normalizedName] = resolved;\n  }\n  return resolved;\n}\nfunction has(registry, fullName) {\n  return registry.resolve(fullName) !== undefined;\n}\nconst privateNames = dictionary(null);\nconst privateSuffix = `${Math.random()}${Date.now()}`.replace('.', '');\nfunction privatize([fullName]) {\n  assert('has a single string argument', arguments.length === 1 && fullName);\n  let name = privateNames[fullName];\n  if (name) {\n    return name;\n  }\n  let [type, rawName] = fullName.split(':');\n  return privateNames[fullName] = intern(`${type}:${rawName}-${privateSuffix}`);\n}\n\n/*\nPublic API for the container is still in flux.\nThe public API, specified on the application namespace should be considered the stable API.\n// @module container\n  @private\n*/\n\nexport { Registry, privatize, Container, getFactoryFor, setFactoryFor, INIT_FACTORY };\n","import { DEBUG } from '@glimmer/env';\n\n// from lodash to catch fake globals\nfunction checkGlobal(value) {\n  return value && value.Object === Object ? value : undefined;\n}\n// element ids can ruin global miss checks\nfunction checkElementIdShadowing(value) {\n  return value && value.nodeType === undefined ? value : undefined;\n}\n// export real global\nvar global$1 = checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || typeof mainContext !== 'undefined' && mainContext ||\n// set before strict mode in Ember loader/wrapper\nnew Function('return this')(); // eval outside of strict mode\n\n// legacy imports/exports/lookup stuff (should we keep this??)\nconst context = function (global, Ember) {\n  return Ember === undefined ? {\n    imports: global,\n    exports: global,\n    lookup: global\n  } : {\n    // import jQuery\n    imports: Ember.imports || global,\n    // export Ember\n    exports: Ember.exports || global,\n    // search for Namespaces\n    lookup: Ember.lookup || global\n  };\n}(global$1, global$1.Ember);\nfunction getLookup() {\n  return context.lookup;\n}\nfunction setLookup(value) {\n  context.lookup = value;\n}\n\n/**\n  The hash of environment variables used to control various configuration\n  settings. To specify your own or override default settings, add the\n  desired properties to a global hash named `EmberENV` (or `ENV` for\n  backwards compatibility with earlier versions of Ember). The `EmberENV`\n  hash must be created before loading Ember.\n\n  @class EmberENV\n  @type Object\n  @public\n*/\nconst ENV = {\n  ENABLE_OPTIONAL_FEATURES: false,\n  /**\n    Determines whether Ember should add to `Array`\n    native object prototypes, a few extra methods in order to provide a more\n    friendly API.\n       We generally recommend leaving this option set to true however, if you need\n    to turn it off, you can add the configuration property\n    `EXTEND_PROTOTYPES` to `EmberENV` and set it to `false`.\n       Note, when disabled (the default configuration for Ember Addons), you will\n    instead have to access all methods and functions from the Ember\n    namespace.\n       @property EXTEND_PROTOTYPES\n    @type Boolean\n    @default true\n    @for EmberENV\n    @public\n  */\n  EXTEND_PROTOTYPES: {\n    Array: true\n  },\n  /**\n    The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n    a full stack trace during deprecation warnings.\n       @property LOG_STACKTRACE_ON_DEPRECATION\n    @type Boolean\n    @default true\n    @for EmberENV\n    @public\n  */\n  LOG_STACKTRACE_ON_DEPRECATION: true,\n  /**\n    The `LOG_VERSION` property, when true, tells Ember to log versions of all\n    dependent libraries in use.\n       @property LOG_VERSION\n    @type Boolean\n    @default true\n    @for EmberENV\n    @public\n  */\n  LOG_VERSION: true,\n  RAISE_ON_DEPRECATION: false,\n  STRUCTURED_PROFILE: false,\n  /**\n    Whether to insert a `<div class=\"ember-view\" />` wrapper around the\n    application template. See RFC #280.\n       This is not intended to be set directly, as the implementation may change in\n    the future. Use `@ember/optional-features` instead.\n       @property _APPLICATION_TEMPLATE_WRAPPER\n    @for EmberENV\n    @type Boolean\n    @default true\n    @private\n  */\n  _APPLICATION_TEMPLATE_WRAPPER: true,\n  /**\n    Whether to use Glimmer Component semantics (as opposed to the classic \"Curly\"\n    components semantics) for template-only components. See RFC #278.\n       This is not intended to be set directly, as the implementation may change in\n    the future. Use `@ember/optional-features` instead.\n       @property _TEMPLATE_ONLY_GLIMMER_COMPONENTS\n    @for EmberENV\n    @type Boolean\n    @default false\n    @private\n  */\n  _TEMPLATE_ONLY_GLIMMER_COMPONENTS: false,\n  /**\n    Whether to perform extra bookkeeping needed to make the `captureRenderTree`\n    API work.\n       This has to be set before the ember JavaScript code is evaluated. This is\n    usually done by setting `window.EmberENV = { _DEBUG_RENDER_TREE: true };`\n    before the \"vendor\" `<script>` tag in `index.html`.\n       Setting the flag after Ember is already loaded will not work correctly. It\n    may appear to work somewhat, but fundamentally broken.\n       This is not intended to be set directly. Ember Inspector will enable the\n    flag on behalf of the user as needed.\n       This flag is always on in development mode.\n       The flag is off by default in production mode, due to the cost associated\n    with the the bookkeeping work.\n       The expected flow is that Ember Inspector will ask the user to refresh the\n    page after enabling the feature. It could also offer a feature where the\n    user add some domains to the \"always on\" list. In either case, Ember\n    Inspector will inject the code on the page to set the flag if needed.\n       @property _DEBUG_RENDER_TREE\n    @for EmberENV\n    @type Boolean\n    @default false\n    @private\n  */\n  _DEBUG_RENDER_TREE: DEBUG,\n  /**\n    Whether the app defaults to using async observers.\n       This is not intended to be set directly, as the implementation may change in\n    the future. Use `@ember/optional-features` instead.\n       @property _DEFAULT_ASYNC_OBSERVERS\n    @for EmberENV\n    @type Boolean\n    @default false\n    @private\n  */\n  _DEFAULT_ASYNC_OBSERVERS: false,\n  /**\n    Controls the maximum number of scheduled rerenders without \"settling\". In general,\n    applications should not need to modify this environment variable, but please\n    open an issue so that we can determine if a better default value is needed.\n       @property _RERENDER_LOOP_LIMIT\n    @for EmberENV\n    @type number\n    @default 1000\n    @private\n   */\n  _RERENDER_LOOP_LIMIT: 1000,\n  EMBER_LOAD_HOOKS: {},\n  FEATURES: {}\n};\n(EmberENV => {\n  if (typeof EmberENV !== 'object' || EmberENV === null) return;\n  for (let flag in EmberENV) {\n    if (!Object.prototype.hasOwnProperty.call(EmberENV, flag) || flag === 'EXTEND_PROTOTYPES' || flag === 'EMBER_LOAD_HOOKS') continue;\n    let defaultValue = ENV[flag];\n    if (defaultValue === true) {\n      ENV[flag] = EmberENV[flag] !== false;\n    } else if (defaultValue === false) {\n      ENV[flag] = EmberENV[flag] === true;\n    }\n  }\n  let {\n    EXTEND_PROTOTYPES\n  } = EmberENV;\n  if (EXTEND_PROTOTYPES !== undefined) {\n    if (typeof EXTEND_PROTOTYPES === 'object' && EXTEND_PROTOTYPES !== null) {\n      ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES.Array !== false;\n    } else {\n      ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES !== false;\n    }\n  }\n  // TODO this does not seem to be used by anything,\n  //      can we remove it? do we need to deprecate it?\n  let {\n    EMBER_LOAD_HOOKS\n  } = EmberENV;\n  if (typeof EMBER_LOAD_HOOKS === 'object' && EMBER_LOAD_HOOKS !== null) {\n    for (let hookName in EMBER_LOAD_HOOKS) {\n      if (!Object.prototype.hasOwnProperty.call(EMBER_LOAD_HOOKS, hookName)) continue;\n      let hooks = EMBER_LOAD_HOOKS[hookName];\n      if (Array.isArray(hooks)) {\n        ENV.EMBER_LOAD_HOOKS[hookName] = hooks.filter(hook => typeof hook === 'function');\n      }\n    }\n  }\n  let {\n    FEATURES\n  } = EmberENV;\n  if (typeof FEATURES === 'object' && FEATURES !== null) {\n    for (let feature in FEATURES) {\n      if (!Object.prototype.hasOwnProperty.call(FEATURES, feature)) continue;\n      ENV.FEATURES[feature] = FEATURES[feature] === true;\n    }\n  }\n  if (DEBUG) {\n    ENV._DEBUG_RENDER_TREE = true;\n  }\n})(global$1.EmberENV);\nfunction getENV() {\n  return ENV;\n}\n\nexport { global$1 as global, context, getLookup, setLookup, ENV, getENV };\n","let onerror;\nexport const onErrorTarget = {\n  get onerror() {\n    return onerror;\n  }\n};\n// Ember.onerror getter\nexport function getOnerror() {\n  return onerror;\n}\n// Ember.onerror setter\nexport function setOnerror(handler) {\n  onerror = handler;\n}\nlet dispatchOverride = null;\n// allows testing adapter to override dispatch\nexport function getDispatchOverride() {\n  return dispatchOverride;\n}\nexport function setDispatchOverride(handler) {\n  dispatchOverride = handler;\n}","import { templateFactory, programCompilationContext } from '@glimmer/opcode-compiler';\nexport { templateFactory as template, templateCacheCounters } from '@glimmer/opcode-compiler';\nimport { setOwner, getOwner, isFactory } from '@ember/-internals/owner';\nimport { guidFor, enumerableSymbol, getDebugName, isProxy, isObject, uuid } from '@ember/-internals/utils';\nimport { assert, warn, debugFreeze, inspect, deprecate } from '@ember/debug';\nimport { setComponentTemplate, setInternalComponentManager, setInternalHelperManager, getInternalHelperManager, helperCapabilities, setHelperManager, capabilityFlagsFrom, setInternalModifierManager, getComponentTemplate, getInternalComponentManager, componentCapabilities, modifierCapabilities, setComponentManager } from '@glimmer/manager';\nimport { createConstRef, isConstRef, valueForRef, isUpdatableRef, updateRef, childRefFor, childRefFromParts, createComputeRef, createPrimitiveRef, createUnboundRef, isInvokableRef, createInvokableRef, createReadOnlyRef, createDebugAliasRef, UNDEFINED_REFERENCE } from '@glimmer/reference';\nimport { untrack, consumeTag, createCache, getValue, tagFor, beginUntrackFrame, endUntrackFrame, valueForTag, beginTrackFrame, endTrackFrame, validateTag, createTag, dirtyTag, CONSTANT_TAG, isTracking, setTrackingTransactionEnv, createUpdatableTag, CURRENT_TAG } from '@glimmer/validator';\nimport { tracked, get, PROPERTY_DID_CHANGE, tagForObject, objectAt, tagForProperty, set, _getProp, _setProp } from '@ember/-internals/metal';\nimport { action } from '@ember/object';\nimport { hasDOM } from '@ember/-internals/browser-environment';\nimport { isSimpleClick, clearElementView, clearViewElement, getViewElement, MUTABLE_CELL, addChildView, setElementView, setViewElement, ActionSupport, ChildViewsSupport, ClassNamesSupport, CoreView, EventDispatcher, ViewMixin, ViewStateSupport, constructStyleDeprecationMessage, ActionManager, getViewId } from '@ember/-internals/views';\nimport { getEngineParent } from '@ember/engine';\nimport EngineInstance from '@ember/engine/instance';\nimport { flaggedInstrument, _instrumentStart } from '@ember/instrumentation';\nimport { service } from '@ember/service';\nimport { DEBUG } from '@glimmer/env';\nimport { dasherize } from '@ember/-internals/string';\nimport { registerDestructor, associateDestroyableChild, destroy } from '@glimmer/destroyable';\nimport { join, schedule, _backburner, _getCurrentRunLoop } from '@ember/runloop';\nimport { _WeakSet, EMPTY_ARRAY, unwrapTemplate, dict } from '@glimmer/util';\nimport { reifyPositional, normalizeProperty, EMPTY_ARGS, createCapturedArgs, curry, EMPTY_POSITIONAL, array, concat, fn, get as get$1, hash, on, templateOnlyComponent, TEMPLATE_ONLY_COMPONENT_MANAGER, clientBuilder, DOMChanges, DOMTreeConstruction, inTransaction, renderMain, runtimeContext, rehydrationBuilder } from '@glimmer/runtime';\nexport { DOMChanges, DOMTreeConstruction, isSerializationFirstNode } from '@glimmer/runtime';\nimport { TargetActionSupport, _contentFor } from '@ember/-internals/runtime';\nimport { FrameworkObject } from '@ember/object/-internals';\nimport { ENV } from '@ember/-internals/environment';\nimport { getFactoryFor, privatize } from '@ember/-internals/container';\nimport { NodeDOMTreeConstruction, serializeBuilder } from '@glimmer/node';\nexport { NodeDOMTreeConstruction } from '@glimmer/node';\nimport { isEmberArray } from '@ember/array/-internals';\nimport { isHTMLSafe } from '@ember/-internals/glimmer';\nimport { isArray } from '@ember/array';\nimport setGlobalContext from '@glimmer/global-context';\nimport { generateControllerFactory } from '@ember/routing/-internals';\nimport { artifacts } from '@glimmer/program';\nimport RSVP from 'rsvp';\n\nvar RootTemplate = templateFactory({\n  \"id\": \"9BtKrod8\",\n  \"block\": \"[[[46,[30,0],null,null,null]],[],false,[\\\"component\\\"]]\",\n  \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/root.hbs\",\n  \"isStrictMode\": false\n});\n\nvar InputTemplate = templateFactory({\n  \"id\": \"OGSIkgXP\",\n  \"block\": \"[[[11,\\\"input\\\"],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[17,1],[16,4,[30,0,[\\\"type\\\"]]],[16,\\\"checked\\\",[30,0,[\\\"checked\\\"]]],[16,2,[30,0,[\\\"value\\\"]]],[4,[38,0],[\\\"change\\\",[30,0,[\\\"change\\\"]]],null],[4,[38,0],[\\\"input\\\",[30,0,[\\\"input\\\"]]],null],[4,[38,0],[\\\"keyup\\\",[30,0,[\\\"keyUp\\\"]]],null],[4,[38,0],[\\\"paste\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[38,0],[\\\"cut\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[12],[13]],[\\\"&attrs\\\"],false,[\\\"on\\\"]]\",\n  \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/input.hbs\",\n  \"isStrictMode\": false\n});\n\nfunction NOOP() {}\nclass InternalComponent {\n  // Override this\n  static toString() {\n    return 'internal component';\n  }\n  constructor(owner, args, caller) {\n    this.owner = owner;\n    this.args = args;\n    this.caller = caller;\n    setOwner(this, owner);\n  }\n  /**\n   * The default HTML id attribute. We don't really _need_ one, this is just\n   * added for compatibility as it's hard to tell if people rely on it being\n   * present, and it doens't really hurt.\n   *\n   * However, don't rely on this internally, like passing it to `getElementId`.\n   * This can be (and often is) overriden by passing an `id` attribute on the\n   * invocation, which shadows this default id via `...attributes`.\n   */\n  get id() {\n    return guidFor(this);\n  }\n  /**\n   * The default HTML class attribute. Similar to the above, we don't _need_\n   * them, they are just added for compatibility as it's similarly hard to tell\n   * if people rely on it in their CSS etc, and it doens't really hurt.\n   */\n  get class() {\n    return 'ember-view';\n  }\n  validateArguments() {\n    for (let name of Object.keys(this.args.named)) {\n      if (!this.isSupportedArgument(name)) {\n        this.onUnsupportedArgument(name);\n      }\n    }\n  }\n  named(name) {\n    let ref = this.args.named[name];\n    return ref ? valueForRef(ref) : undefined;\n  }\n  positional(index) {\n    let ref = this.args.positional[index];\n    return ref ? valueForRef(ref) : undefined;\n  }\n  listenerFor(name) {\n    let listener = this.named(name);\n    if (listener) {\n      assert(`The \\`@${name}\\` argument to the <${this.constructor}> component must be a function`, typeof listener === 'function');\n      return listener;\n    } else {\n      return NOOP;\n    }\n  }\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  isSupportedArgument(_name) {\n    return false;\n  }\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  onUnsupportedArgument(_name) {}\n  toString() {\n    return `<${this.constructor}:${guidFor(this)}>`;\n  }\n}\nconst OPAQUE_CONSTRUCTOR_MAP = new WeakMap();\nfunction opaquify(constructor, template) {\n  let _opaque = {\n    // Factory interface\n    create() {\n      throw assert('Use constructor instead of create');\n    },\n    toString() {\n      return constructor.toString();\n    }\n  };\n  let opaque = _opaque;\n  OPAQUE_CONSTRUCTOR_MAP.set(opaque, constructor);\n  setInternalComponentManager(INTERNAL_COMPONENT_MANAGER, opaque);\n  setComponentTemplate(template, opaque);\n  return opaque;\n}\nfunction deopaquify(opaque) {\n  let constructor = OPAQUE_CONSTRUCTOR_MAP.get(opaque);\n  assert(`[BUG] Invalid internal component constructor: ${opaque}`, constructor);\n  return constructor;\n}\nconst CAPABILITIES = {\n  dynamicLayout: false,\n  dynamicTag: false,\n  prepareArgs: false,\n  createArgs: true,\n  attributeHook: false,\n  elementHook: false,\n  createCaller: true,\n  dynamicScope: false,\n  updateHook: false,\n  createInstance: true,\n  wrapped: false,\n  willDestroy: false,\n  hasSubOwner: false\n};\nclass InternalManager {\n  getCapabilities() {\n    return CAPABILITIES;\n  }\n  create(owner, definition, args, _env, _dynamicScope, caller) {\n    assert('caller must be const', isConstRef(caller));\n    let ComponentClass = deopaquify(definition);\n    let instance = new ComponentClass(owner, args.capture(), valueForRef(caller));\n    untrack(instance['validateArguments'].bind(instance));\n    return instance;\n  }\n  didCreate() {}\n  didUpdate() {}\n  didRenderLayout() {}\n  didUpdateLayout() {}\n  getDebugName(definition) {\n    return definition.toString();\n  }\n  getSelf(instance) {\n    return createConstRef(instance, 'this');\n  }\n  getDestroyable(instance) {\n    return instance;\n  }\n}\nconst INTERNAL_COMPONENT_MANAGER = new InternalManager();\n\nvar __decorate = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n  var c = arguments.length,\n    r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n    d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nconst UNINITIALIZED = Object.freeze({});\nfunction elementForEvent(event) {\n  assert('[BUG] event target must be an <input> or <textarea> element', event.target instanceof HTMLInputElement || event.target instanceof HTMLTextAreaElement);\n  return event.target;\n}\nfunction valueForEvent(event) {\n  return elementForEvent(event).value;\n}\nfunction devirtualize(callback) {\n  return event => callback(valueForEvent(event), event);\n}\nfunction valueFrom(reference) {\n  if (reference === undefined) {\n    return new LocalValue(undefined);\n  } else if (isConstRef(reference)) {\n    return new LocalValue(valueForRef(reference));\n  } else if (isUpdatableRef(reference)) {\n    return new UpstreamValue(reference);\n  } else {\n    return new ForkedValue(reference);\n  }\n}\nclass LocalValue {\n  constructor(value) {\n    this.value = value;\n  }\n  get() {\n    return this.value;\n  }\n  set(value) {\n    this.value = value;\n  }\n}\n__decorate([tracked], LocalValue.prototype, \"value\", void 0);\nclass UpstreamValue {\n  constructor(reference) {\n    this.reference = reference;\n  }\n  get() {\n    return valueForRef(this.reference);\n  }\n  set(value) {\n    updateRef(this.reference, value);\n  }\n}\nclass ForkedValue {\n  constructor(reference) {\n    this.lastUpstreamValue = UNINITIALIZED;\n    this.upstream = new UpstreamValue(reference);\n  }\n  get() {\n    let upstreamValue = this.upstream.get();\n    if (upstreamValue !== this.lastUpstreamValue) {\n      this.lastUpstreamValue = upstreamValue;\n      this.local = new LocalValue(upstreamValue);\n    }\n    assert('[BUG] this.local must have been initialized at this point', this.local);\n    return this.local.get();\n  }\n  set(value) {\n    assert('[BUG] this.local must have been initialized at this point', this.local);\n    this.local.set(value);\n  }\n}\nclass AbstractInput extends InternalComponent {\n  constructor() {\n    super(...arguments);\n    this._value = valueFrom(this.args.named['value']);\n  }\n  validateArguments() {\n    assert(`The ${this.constructor} component does not take any positional arguments`, this.args.positional.length === 0);\n    super.validateArguments();\n  }\n  get value() {\n    return this._value.get();\n  }\n  set value(value) {\n    this._value.set(value);\n  }\n  valueDidChange(event) {\n    this.value = valueForEvent(event);\n  }\n  /**\n   * The `change` and `input` actions need to be overridden in the `Input`\n   * subclass. Unfortunately, some ember-source builds currently uses babel\n   * loose mode to transpile its classes. Having the `@action` decorator on the\n   * super class creates a getter on the prototype, and when the subclass\n   * overrides the method, the loose mode transpilation would emit something\n   * like `Subclass.prototype['change'] = function change() { ... }`, which\n   * fails because `prototype['change']` is getter-only/readonly. The correct\n   * solution is to use `Object.defineProperty(prototype, 'change', ...)` but\n   * that requires disabling loose mode. For now, the workaround is to add the\n   * decorator only on the subclass. This is more of a configuration issue on\n   * our own builds and doesn't really affect apps.\n   */\n  /* @action */\n  change(event) {\n    this.valueDidChange(event);\n  }\n  /* @action */\n  input(event) {\n    this.valueDidChange(event);\n  }\n  keyUp(event) {\n    switch (event.key) {\n      case 'Enter':\n        this.listenerFor('enter')(event);\n        this.listenerFor('insert-newline')(event);\n        break;\n      case 'Escape':\n        this.listenerFor('escape-press')(event);\n        break;\n    }\n  }\n  listenerFor(name) {\n    let listener = super.listenerFor(name);\n    if (this.isVirtualEventListener(name, listener)) {\n      return devirtualize(listener);\n    } else {\n      return listener;\n    }\n  }\n  isVirtualEventListener(name, _listener) {\n    let virtualEvents = ['enter', 'insert-newline', 'escape-press'];\n    return virtualEvents.indexOf(name) !== -1;\n  }\n}\n__decorate([action], AbstractInput.prototype, \"valueDidChange\", null);\n__decorate([action], AbstractInput.prototype, \"keyUp\", null);\n\nvar __decorate$1 = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n  var c = arguments.length,\n    r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n    d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nlet isValidInputType;\nif (hasDOM) {\n  const INPUT_TYPES = Object.create(null);\n  const INPUT_ELEMENT = document.createElement('input');\n  INPUT_TYPES[''] = false;\n  INPUT_TYPES['text'] = true;\n  INPUT_TYPES['checkbox'] = true;\n  isValidInputType = type => {\n    let isValid = INPUT_TYPES[type];\n    if (isValid === undefined) {\n      try {\n        INPUT_ELEMENT.type = type;\n        isValid = INPUT_ELEMENT.type === type;\n      } catch (e) {\n        isValid = false;\n      } finally {\n        INPUT_ELEMENT.type = 'text';\n      }\n      INPUT_TYPES[type] = isValid;\n    }\n    return isValid;\n  };\n} else {\n  isValidInputType = type => type !== '';\n}\n/**\n  See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).\n\n  @method input\n  @for Ember.Templates.helpers\n  @param {Hash} options\n  @public\n  */\n/**\n  An opaque interface which can be imported and used in strict-mode\n  templates to call <Input>.\n\n  See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input).\n\n  @for @ember/component\n  @method Input\n  @see {Ember.Templates.components.Input}\n  @public\n**/\n/**\n  The `Input` component lets you create an HTML `<input>` element.\n\n  ```handlebars\n  <Input @value=\"987\" />\n  ```\n\n  creates an `<input>` element with `type=\"text\"` and value set to 987.\n\n  ### Text field\n\n  If no `type` argument is specified, a default of type 'text' is used.\n\n  ```handlebars\n  Search:\n  <Input @value={{this.searchWord}} />\n  ```\n\n  In this example, the initial value in the `<input>` will be set to the value of\n  `this.searchWord`. If the user changes the text, the value of `this.searchWord` will also be\n  updated.\n\n  ### Actions\n\n  The `Input` component takes a number of arguments with callbacks that are invoked in response to\n  user events.\n\n  * `enter`\n  * `insert-newline`\n  * `escape-press`\n  * `focus-in`\n  * `focus-out`\n  * `key-down`\n  * `key-press`\n  * `key-up`\n\n  These callbacks are passed to `Input` like this:\n\n  ```handlebars\n  <Input @value={{this.searchWord}} @enter={{this.query}} />\n  ```\n\n  Starting with Ember Octane, we recommend using the `{{on}}` modifier to call actions\n  on specific events, such as the input event.\n\n  ```handlebars\n  <label for=\"input-name\">Name:</label>\n  <Input\n    @id=\"input-name\"\n    @value={{this.name}}\n    {{on \"input\" this.validateName}}\n  />\n  ```\n\n  The event name (e.g. `focusout`, `input`, `keydown`) always follows the casing\n  that the HTML standard uses.\n\n  ### `<input>` HTML Attributes to Avoid\n\n  In most cases, if you want to pass an attribute to the underlying HTML `<input>` element, you\n  can pass the attribute directly, just like any other Ember component.\n\n  ```handlebars\n  <Input @type=\"text\" size=\"10\" />\n  ```\n\n  In this example, the `size` attribute will be applied to the underlying `<input>` element in the\n  outputted HTML.\n\n  However, there are a few attributes where you **must** use the `@` version.\n\n  * `@type`: This argument is used to control which Ember component is used under the hood\n  * `@value`: The `@value` argument installs a two-way binding onto the element. If you wanted a\n    one-way binding, use `<input>` with the `value` property and the `input` event instead.\n  * `@checked` (for checkboxes): like `@value`, the `@checked` argument installs a two-way binding\n    onto the element. If you wanted a one-way binding, use `<input type=\"checkbox\">` with\n    `checked` and the `input` event instead.\n\n  ### Checkbox\n\n  To create an `<input type=\"checkbox\">`:\n\n  ```handlebars\n  Emberize Everything:\n  <Input @type=\"checkbox\" @checked={{this.isEmberized}} name=\"isEmberized\" />\n  ```\n\n  This will bind the checked state of this checkbox to the value of `isEmberized` -- if either one\n  changes, it will be reflected in the other.\n\n  @method Input\n  @for Ember.Templates.components\n  @param {Hash} options\n  @public\n*/\nclass Input extends AbstractInput {\n  constructor() {\n    super(...arguments);\n    this._checked = valueFrom(this.args.named['checked']);\n  }\n  static toString() {\n    return 'Input';\n  }\n  /**\n   * The HTML class attribute.\n   */\n  get class() {\n    if (this.isCheckbox) {\n      return 'ember-checkbox ember-view';\n    } else {\n      return 'ember-text-field ember-view';\n    }\n  }\n  /**\n   * The HTML type attribute.\n   */\n  get type() {\n    let type = this.named('type');\n    if (type === null || type === undefined) {\n      return 'text';\n    }\n    assert('The `@type` argument to the <Input> component must be a string', typeof type === 'string');\n    return isValidInputType(type) ? type : 'text';\n  }\n  get isCheckbox() {\n    return this.named('type') === 'checkbox';\n  }\n  get checked() {\n    if (this.isCheckbox) {\n      warn('`<Input @type=\"checkbox\" />` reflects its checked state via the `@checked` argument. ' + 'You wrote `<Input @type=\"checkbox\" @value={{...}} />` which is likely not what you intended. ' + 'Did you mean `<Input @type=\"checkbox\" @checked={{...}} />`?', untrack(() => this.args.named['checked'] !== undefined || this.args.named['value'] === undefined || typeof valueForRef(this.args.named['value']) === 'string'), {\n        id: 'ember.built-in-components.input-checkbox-value'\n      });\n      return this._checked.get();\n    } else {\n      return undefined;\n    }\n  }\n  set checked(checked) {\n    warn('`<Input @type=\"checkbox\" />` reflects its checked state via the `@checked` argument. ' + 'You wrote `<Input @type=\"checkbox\" @value={{...}} />` which is likely not what you intended. ' + 'Did you mean `<Input @type=\"checkbox\" @checked={{...}} />`?', untrack(() => this.args.named['checked'] !== undefined || this.args.named['value'] === undefined || typeof valueForRef(this.args.named['value']) === 'string'), {\n      id: 'ember.built-in-components.input-checkbox-value'\n    });\n    this._checked.set(checked);\n  }\n  change(event) {\n    if (this.isCheckbox) {\n      this.checkedDidChange(event);\n    } else {\n      super.change(event);\n    }\n  }\n  input(event) {\n    if (!this.isCheckbox) {\n      super.input(event);\n    }\n  }\n  checkedDidChange(event) {\n    let element = event.target;\n    assert('[BUG] element must be an <input>', element instanceof HTMLInputElement);\n    this.checked = element.checked;\n  }\n  isSupportedArgument(name) {\n    let supportedArguments = ['type', 'value', 'checked', 'enter', 'insert-newline', 'escape-press'];\n    return supportedArguments.indexOf(name) !== -1 || super.isSupportedArgument(name);\n  }\n}\n__decorate$1([action], Input.prototype, \"change\", null);\n__decorate$1([action], Input.prototype, \"input\", null);\n__decorate$1([action], Input.prototype, \"checkedDidChange\", null);\nvar Input$1 = opaquify(Input, InputTemplate);\n\nvar LinkToTemplate = templateFactory({\n  \"id\": \"CVwkBtGh\",\n  \"block\": \"[[[11,3],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[16,\\\"role\\\",[30,0,[\\\"role\\\"]]],[16,\\\"title\\\",[30,0,[\\\"title\\\"]]],[16,\\\"rel\\\",[30,0,[\\\"rel\\\"]]],[16,\\\"tabindex\\\",[30,0,[\\\"tabindex\\\"]]],[16,\\\"target\\\",[30,0,[\\\"target\\\"]]],[17,1],[16,6,[30,0,[\\\"href\\\"]]],[4,[38,0],[\\\"click\\\",[30,0,[\\\"click\\\"]]],null],[12],[18,2,null],[13]],[\\\"&attrs\\\",\\\"&default\\\"],false,[\\\"on\\\",\\\"yield\\\"]]\",\n  \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs\",\n  \"isStrictMode\": false\n});\n\nvar __decorate$2 = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n  var c = arguments.length,\n    r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n    d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nconst EMPTY_ARRAY$1 = [];\nconst EMPTY_QUERY_PARAMS = {};\ndebugFreeze(EMPTY_ARRAY$1);\ndebugFreeze(EMPTY_QUERY_PARAMS);\nfunction isMissing(value) {\n  return value === null || value === undefined;\n}\nfunction isPresent(value) {\n  return !isMissing(value);\n}\nfunction isQueryParams(value) {\n  return typeof value === 'object' && value !== null && value['isQueryParams'] === true;\n}\n/**\n  The `LinkTo` component renders a link to the supplied `routeName` passing an optionally\n  supplied model to the route as its `model` context of the route. The block for `LinkTo`\n  becomes the contents of the rendered element:\n\n  ```handlebars\n  <LinkTo @route='photoGallery'>\n    Great Hamster Photos\n  </LinkTo>\n  ```\n\n  This will result in:\n\n  ```html\n  <a href=\"/hamster-photos\">\n    Great Hamster Photos\n  </a>\n  ```\n\n  ### Disabling the `LinkTo` component\n\n  The `LinkTo` component can be disabled by using the `disabled` argument. A disabled link\n  doesn't result in a transition when activated, and adds the `disabled` class to the `<a>`\n  element.\n\n  (The class name to apply to the element can be overridden by using the `disabledClass`\n  argument)\n\n  ```handlebars\n  <LinkTo @route='photoGallery' @disabled={{true}}>\n    Great Hamster Photos\n  </LinkTo>\n  ```\n\n  ### Handling `href`\n\n  `<LinkTo>` will use your application's Router to fill the element's `href` property with a URL\n  that matches the path to the supplied `routeName`.\n\n  ### Handling current route\n\n  The `LinkTo` component will apply a CSS class name of 'active' when the application's current\n  route matches the supplied routeName. For example, if the application's current route is\n  'photoGallery.recent', then the following invocation of `LinkTo`:\n\n  ```handlebars\n  <LinkTo @route='photoGallery.recent'>\n    Great Hamster Photos\n  </LinkTo>\n  ```\n\n  will result in\n\n  ```html\n  <a href=\"/hamster-photos/this-week\" class=\"active\">\n    Great Hamster Photos\n  </a>\n  ```\n\n  The CSS class used for active classes can be customized by passing an `activeClass` argument:\n\n  ```handlebars\n  <LinkTo @route='photoGallery.recent' @activeClass=\"current-url\">\n    Great Hamster Photos\n  </LinkTo>\n  ```\n\n  ```html\n  <a href=\"/hamster-photos/this-week\" class=\"current-url\">\n    Great Hamster Photos\n  </a>\n  ```\n\n  ### Keeping a link active for other routes\n\n  If you need a link to be 'active' even when it doesn't match the current route, you can use the\n  `current-when` argument.\n\n  ```handlebars\n  <LinkTo @route='photoGallery' @current-when='photos'>\n    Photo Gallery\n  </LinkTo>\n  ```\n\n  This may be helpful for keeping links active for:\n\n  * non-nested routes that are logically related\n  * some secondary menu approaches\n  * 'top navigation' with 'sub navigation' scenarios\n\n  A link will be active if `current-when` is `true` or the current\n  route is the route this link would transition to.\n\n  To match multiple routes 'space-separate' the routes:\n\n  ```handlebars\n  <LinkTo @route='gallery' @current-when='photos drawings paintings'>\n    Art Gallery\n  </LinkTo>\n  ```\n\n  ### Supplying a model\n\n  An optional `model` argument can be used for routes whose\n  paths contain dynamic segments. This argument will become\n  the model context of the linked route:\n\n  ```javascript\n  Router.map(function() {\n    this.route(\"photoGallery\", {path: \"hamster-photos/:photo_id\"});\n  });\n  ```\n\n  ```handlebars\n  <LinkTo @route='photoGallery' @model={{this.aPhoto}}>\n    {{aPhoto.title}}\n  </LinkTo>\n  ```\n\n  ```html\n  <a href=\"/hamster-photos/42\">\n    Tomster\n  </a>\n  ```\n\n  ### Supplying multiple models\n\n  For deep-linking to route paths that contain multiple\n  dynamic segments, the `models` argument can be used.\n\n  As the router transitions through the route path, each\n  supplied model argument will become the context for the\n  route with the dynamic segments:\n\n  ```javascript\n  Router.map(function() {\n    this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" }, function() {\n      this.route(\"comment\", {path: \"comments/:comment_id\"});\n    });\n  });\n  ```\n\n  This argument will become the model context of the linked route:\n\n  ```handlebars\n  <LinkTo @route='photoGallery.comment' @models={{array this.aPhoto this.comment}}>\n    {{comment.body}}\n  </LinkTo>\n  ```\n\n  ```html\n  <a href=\"/hamster-photos/42/comments/718\">\n    A+++ would snuggle again.\n  </a>\n  ```\n\n  ### Supplying an explicit dynamic segment value\n\n  If you don't have a model object available to pass to `LinkTo`,\n  an optional string or integer argument can be passed for routes whose\n  paths contain dynamic segments. This argument will become the value\n  of the dynamic segment:\n\n  ```javascript\n  Router.map(function() {\n    this.route(\"photoGallery\", { path: \"hamster-photos/:photo_id\" });\n  });\n  ```\n\n  ```handlebars\n  <LinkTo @route='photoGallery' @model={{aPhotoId}}>\n    {{this.aPhoto.title}}\n  </LinkTo>\n  ```\n\n  ```html\n  <a href=\"/hamster-photos/42\">\n    Tomster\n  </a>\n  ```\n\n  When transitioning into the linked route, the `model` hook will\n  be triggered with parameters including this passed identifier.\n\n  ### Supplying query parameters\n\n  If you need to add optional key-value pairs that appear to the right of the ? in a URL,\n  you can use the `query` argument.\n\n  ```handlebars\n  <LinkTo @route='photoGallery' @query={{hash page=1 per_page=20}}>\n    Great Hamster Photos\n  </LinkTo>\n  ```\n\n  This will result in:\n\n  ```html\n  <a href=\"/hamster-photos?page=1&per_page=20\">\n    Great Hamster Photos\n  </a>\n  ```\n\n  @for Ember.Templates.components\n  @method LinkTo\n  @public\n*/\n/**\n  @module @ember/routing\n*/\n/**\n  See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).\n\n  @for Ember.Templates.helpers\n  @method link-to\n  @see {Ember.Templates.components.LinkTo}\n  @public\n**/\n/**\n  An opaque interface which can be imported and used in strict-mode\n  templates to call <LinkTo>.\n\n  See [Ember.Templates.components.LinkTo](/ember/release/classes/Ember.Templates.components/methods/input?anchor=LinkTo).\n\n  @for @ember/routing\n  @method LinkTo\n  @see {Ember.Templates.components.LinkTo}\n  @public\n**/\nclass LinkTo extends InternalComponent {\n  constructor() {\n    super(...arguments);\n    // GH #17963\n    this.currentRouteCache = createCache(() => {\n      consumeTag(tagFor(this.routing, 'currentState'));\n      return untrack(() => this.routing.currentRouteName);\n    });\n  }\n  static toString() {\n    return 'LinkTo';\n  }\n  validateArguments() {\n    assert('You attempted to use the <LinkTo> component within a routeless engine, this is not supported. ' + 'If you are using the ember-engines addon, use the <LinkToExternal> component instead. ' + 'See https://ember-engines.com/docs/links for more info.', !this.isEngine || this.engineMountPoint !== undefined);\n    assert('You must provide at least one of the `@route`, `@model`, `@models` or `@query` arguments to `<LinkTo>`.', 'route' in this.args.named || 'model' in this.args.named || 'models' in this.args.named || 'query' in this.args.named);\n    assert('You cannot provide both the `@model` and `@models` arguments to the <LinkTo> component.', !('model' in this.args.named && 'models' in this.args.named));\n    super.validateArguments();\n  }\n  get class() {\n    let classes = 'ember-view';\n    if (this.isActive) {\n      classes += this.classFor('active');\n      if (this.willBeActive === false) {\n        classes += ' ember-transitioning-out';\n      }\n    } else if (this.willBeActive) {\n      classes += ' ember-transitioning-in';\n    }\n    if (this.isLoading) {\n      classes += this.classFor('loading');\n    }\n    if (this.isDisabled) {\n      classes += this.classFor('disabled');\n    }\n    return classes;\n  }\n  get href() {\n    if (this.isLoading) {\n      return '#';\n    }\n    let {\n      routing,\n      route,\n      models,\n      query\n    } = this;\n    assert('[BUG] route can only be missing if isLoading is true', isPresent(route));\n    // consume the current router state so we invalidate when QP changes\n    // TODO: can we narrow this down to QP changes only?\n    consumeTag(tagFor(routing, 'currentState'));\n    if (DEBUG) {\n      try {\n        return routing.generateURL(route, models, query);\n      } catch (e) {\n        let details = e instanceof Error ? e.message : inspect(e);\n        let message = `While generating link to route \"${route}\": ${details}`;\n        if (e instanceof Error) {\n          e.message = message;\n          throw e;\n        } else {\n          throw message;\n        }\n      }\n    } else {\n      return routing.generateURL(route, models, query);\n    }\n  }\n  click(event) {\n    if (!isSimpleClick(event)) {\n      return;\n    }\n    let element = event.currentTarget;\n    assert('[BUG] must be an <a> element', element instanceof HTMLAnchorElement);\n    let isSelf = element.target === '' || element.target === '_self';\n    if (isSelf) {\n      this.preventDefault(event);\n    } else {\n      return;\n    }\n    if (this.isDisabled) {\n      return;\n    }\n    if (this.isLoading) {\n      warn('This link is in an inactive loading state because at least one of its models ' + 'currently has a null/undefined value, or the provided route name is invalid.', false, {\n        id: 'ember-glimmer.link-to.inactive-loading-state'\n      });\n      return;\n    }\n    let {\n      routing,\n      route,\n      models,\n      query,\n      replace\n    } = this;\n    let payload = {\n      routeName: route,\n      queryParams: query,\n      transition: undefined\n    };\n    flaggedInstrument('interaction.link-to', payload, () => {\n      assert('[BUG] route can only be missing if isLoading is true', isPresent(route));\n      payload.transition = routing.transitionTo(route, models, query, replace);\n    });\n  }\n  get route() {\n    if ('route' in this.args.named) {\n      let route = this.named('route');\n      assert('The `@route` argument to the <LinkTo> component must be a string', isMissing(route) || typeof route === 'string');\n      return route && this.namespaceRoute(route);\n    } else {\n      return this.currentRoute;\n    }\n  }\n  get currentRoute() {\n    return getValue(this.currentRouteCache);\n  }\n  // TODO: not sure why generateURL takes {}[] instead of unknown[]\n  get models() {\n    if ('models' in this.args.named) {\n      let models = this.named('models');\n      assert('The `@models` argument to the <LinkTo> component must be an array.', Array.isArray(models));\n      return models;\n    } else if ('model' in this.args.named) {\n      return [this.named('model')];\n    } else {\n      return EMPTY_ARRAY$1;\n    }\n  }\n  get query() {\n    if ('query' in this.args.named) {\n      let query = this.named('query');\n      assert('The `@query` argument to the <LinkTo> component must be an object.', query !== null && typeof query === 'object');\n      return Object.assign({}, query);\n    } else {\n      return EMPTY_QUERY_PARAMS;\n    }\n  }\n  get replace() {\n    return this.named('replace') === true;\n  }\n  get isActive() {\n    return this.isActiveForState(this.routing.currentState);\n  }\n  get willBeActive() {\n    let current = this.routing.currentState;\n    let target = this.routing.targetState;\n    if (current === target) {\n      return null;\n    } else {\n      return this.isActiveForState(target);\n    }\n  }\n  get isLoading() {\n    return isMissing(this.route) || this.models.some(model => isMissing(model));\n  }\n  get isDisabled() {\n    return Boolean(this.named('disabled'));\n  }\n  get isEngine() {\n    let owner = this.owner;\n    return owner instanceof EngineInstance && getEngineParent(owner) !== undefined;\n  }\n  get engineMountPoint() {\n    let owner = this.owner;\n    return owner instanceof EngineInstance ? owner.mountPoint : undefined;\n  }\n  classFor(state) {\n    let className = this.named(`${state}Class`);\n    assert(`The \\`@${state}Class\\` argument to the <LinkTo> component must be a string or boolean`, isMissing(className) || typeof className === 'string' || typeof className === 'boolean');\n    if (className === true || isMissing(className)) {\n      return ` ${state}`;\n    } else if (className) {\n      return ` ${className}`;\n    } else {\n      return '';\n    }\n  }\n  namespaceRoute(route) {\n    let {\n      engineMountPoint\n    } = this;\n    if (engineMountPoint === undefined) {\n      return route;\n    } else if (route === 'application') {\n      return engineMountPoint;\n    } else {\n      return `${engineMountPoint}.${route}`;\n    }\n  }\n  isActiveForState(state) {\n    if (!isPresent(state)) {\n      return false;\n    }\n    if (this.isLoading) {\n      return false;\n    }\n    let currentWhen = this.named('current-when');\n    if (typeof currentWhen === 'boolean') {\n      return currentWhen;\n    } else if (typeof currentWhen === 'string') {\n      let {\n        models,\n        routing\n      } = this;\n      return currentWhen.split(' ').some(route => routing.isActiveForRoute(models, undefined, this.namespaceRoute(route), state));\n    } else {\n      let {\n        route,\n        models,\n        query,\n        routing\n      } = this;\n      assert('[BUG] route can only be missing if isLoading is true', isPresent(route));\n      return routing.isActiveForRoute(models, query, route, state);\n    }\n  }\n  preventDefault(event) {\n    event.preventDefault();\n  }\n  isSupportedArgument(name) {\n    let supportedArguments = ['route', 'model', 'models', 'query', 'replace', 'disabled', 'current-when', 'activeClass', 'loadingClass', 'disabledClass'];\n    return supportedArguments.indexOf(name) !== -1 || super.isSupportedArgument(name);\n  }\n}\n__decorate$2([service('-routing')], LinkTo.prototype, \"routing\", void 0);\n__decorate$2([action], LinkTo.prototype, \"click\", null);\nlet {\n  prototype\n} = LinkTo;\nlet descriptorFor = (target, property) => {\n  if (target) {\n    return Object.getOwnPropertyDescriptor(target, property) || descriptorFor(Object.getPrototypeOf(target), property);\n  } else {\n    return null;\n  }\n};\n// @href\n{\n  let superOnUnsupportedArgument = prototype['onUnsupportedArgument'];\n  Object.defineProperty(prototype, 'onUnsupportedArgument', {\n    configurable: true,\n    enumerable: false,\n    value: function onUnsupportedArgument(name) {\n      if (name === 'href') {\n        assert(`Passing the \\`@href\\` argument to <LinkTo> is not supported.`);\n      } else {\n        superOnUnsupportedArgument.call(this, name);\n      }\n    }\n  });\n}\n// QP\n{\n  let superModelsDescriptor = descriptorFor(prototype, 'models');\n  assert(`[BUG] expecting models to be a getter on <LinkTo>`, superModelsDescriptor && typeof superModelsDescriptor.get === 'function');\n  let superModelsGetter = superModelsDescriptor.get;\n  Object.defineProperty(prototype, 'models', {\n    configurable: true,\n    enumerable: false,\n    get: function models() {\n      let models = superModelsGetter.call(this);\n      if (models.length > 0 && !('query' in this.args.named)) {\n        if (isQueryParams(models[models.length - 1])) {\n          models = models.slice(0, -1);\n        }\n      }\n      return models;\n    }\n  });\n  let superQueryDescriptor = descriptorFor(prototype, 'query');\n  assert(`[BUG] expecting query to be a getter on <LinkTo>`, superQueryDescriptor && typeof superQueryDescriptor.get === 'function');\n  let superQueryGetter = superQueryDescriptor.get;\n  Object.defineProperty(prototype, 'query', {\n    configurable: true,\n    enumerable: false,\n    get: function query() {\n      var _a;\n      if ('query' in this.args.named) {\n        let qp = superQueryGetter.call(this);\n        if (isQueryParams(qp)) {\n          return (_a = qp.values) !== null && _a !== void 0 ? _a : EMPTY_QUERY_PARAMS;\n        } else {\n          return qp;\n        }\n      } else {\n        let models = superModelsGetter.call(this);\n        if (models.length > 0) {\n          let qp = models[models.length - 1];\n          if (isQueryParams(qp) && qp.values !== null) {\n            return qp.values;\n          }\n        }\n        return EMPTY_QUERY_PARAMS;\n      }\n    }\n  });\n}\n// Positional Arguments\n{\n  let superOnUnsupportedArgument = prototype['onUnsupportedArgument'];\n  Object.defineProperty(prototype, 'onUnsupportedArgument', {\n    configurable: true,\n    enumerable: false,\n    value: function onUnsupportedArgument(name) {\n      if (name !== 'params') {\n        superOnUnsupportedArgument.call(this, name);\n      }\n    }\n  });\n}\nvar LinkTo$1 = opaquify(LinkTo, LinkToTemplate);\n\nvar TextareaTemplate = templateFactory({\n  \"id\": \"OpzctQXz\",\n  \"block\": \"[[[11,\\\"textarea\\\"],[16,1,[30,0,[\\\"id\\\"]]],[16,0,[30,0,[\\\"class\\\"]]],[17,1],[16,2,[30,0,[\\\"value\\\"]]],[4,[38,0],[\\\"change\\\",[30,0,[\\\"change\\\"]]],null],[4,[38,0],[\\\"input\\\",[30,0,[\\\"input\\\"]]],null],[4,[38,0],[\\\"keyup\\\",[30,0,[\\\"keyUp\\\"]]],null],[4,[38,0],[\\\"paste\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[4,[38,0],[\\\"cut\\\",[30,0,[\\\"valueDidChange\\\"]]],null],[12],[13]],[\\\"&attrs\\\"],false,[\\\"on\\\"]]\",\n  \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/textarea.hbs\",\n  \"isStrictMode\": false\n});\n\nvar __decorate$3 = undefined && undefined.__decorate || function (decorators, target, key, desc) {\n  var c = arguments.length,\n    r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n    d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n/**\n  The `Textarea` component inserts a new instance of `<textarea>` tag into the template.\n\n  The `@value` argument provides the content of the `<textarea>`.\n\n  This template:\n\n  ```handlebars\n  <Textarea @value=\"A bunch of text\" />\n  ```\n\n  Would result in the following HTML:\n\n  ```html\n  <textarea class=\"ember-text-area\">\n    A bunch of text\n  </textarea>\n  ```\n\n  The `@value` argument is two-way bound. If the user types text into the textarea, the `@value`\n  argument is updated. If the `@value` argument is updated, the text in the textarea is updated.\n\n  In the following example, the `writtenWords` property on the component will be updated as the user\n  types 'Lots of text' into the text area of their browser's window.\n\n  ```app/components/word-editor.js\n  import Component from '@glimmer/component';\n  import { tracked } from '@glimmer/tracking';\n\n  export default class WordEditorComponent extends Component {\n    @tracked writtenWords = \"Lots of text that IS bound\";\n  }\n  ```\n\n  ```handlebars\n  <Textarea @value={{writtenWords}} />\n  ```\n\n  Would result in the following HTML:\n\n  ```html\n  <textarea class=\"ember-text-area\">\n    Lots of text that IS bound\n  </textarea>\n  ```\n\n  If you wanted a one way binding, you could use the `<textarea>` element directly, and use the\n  `value` DOM property and the `input` event.\n\n  ### Actions\n\n  The `Textarea` component takes a number of arguments with callbacks that are invoked in\n  response to user events.\n\n  * `enter`\n  * `insert-newline`\n  * `escape-press`\n  * `focus-in`\n  * `focus-out`\n  * `key-press`\n\n  These callbacks are passed to `Textarea` like this:\n\n  ```handlebars\n  <Textarea @value={{this.searchWord}} @enter={{this.query}} />\n  ```\n\n  ## Classic Invocation Syntax\n\n  The `Textarea` component can also be invoked using curly braces, just like any other Ember\n  component.\n\n  For example, this is an invocation using angle-bracket notation:\n\n  ```handlebars\n  <Textarea @value={{this.searchWord}} @enter={{this.query}} />\n  ```\n\n  You could accomplish the same thing using classic invocation:\n\n  ```handlebars\n  {{textarea value=this.searchWord enter=this.query}}\n  ```\n\n  The main difference is that angle-bracket invocation supports any HTML attribute using HTML\n  attribute syntax, because attributes and arguments have different syntax when using angle-bracket\n  invocation. Curly brace invocation, on the other hand, only has a single syntax for arguments,\n  and components must manually map attributes onto component arguments.\n\n  When using classic invocation with `{{textarea}}`, only the following attributes are mapped onto\n  arguments:\n\n  * rows\n  * cols\n  * name\n  * selectionEnd\n  * selectionStart\n  * autocomplete\n  * wrap\n  * lang\n  * dir\n  * value\n\n  ## Classic `layout` and `layoutName` properties\n\n  Because HTML `textarea` elements do not contain inner HTML the `layout` and\n  `layoutName` properties will not be applied.\n\n  @method Textarea\n  @for Ember.Templates.components\n  @public\n*/\n/**\n  See Ember.Templates.components.Textarea.\n\n  @method textarea\n  @for Ember.Templates.helpers\n  @see {Ember.Templates.components.Textarea}\n  @public\n*/\n/**\n  An opaque interface which can be imported and used in strict-mode\n  templates to call <Textarea>.\n\n  See [Ember.Templates.components.Textarea](/ember/release/classes/Ember.Templates.components/methods/Textarea?anchor=Input).\n\n  @for @ember/component\n  @method Textarea\n  @see {Ember.Templates.components.Textarea}\n  @public\n**/\nclass Textarea extends AbstractInput {\n  static toString() {\n    return 'Textarea';\n  }\n  get class() {\n    return 'ember-text-area ember-view';\n  }\n  // See abstract-input.ts for why these are needed\n  change(event) {\n    super.change(event);\n  }\n  input(event) {\n    super.input(event);\n  }\n  isSupportedArgument(name) {\n    let supportedArguments = ['type', 'value', 'enter', 'insert-newline', 'escape-press'];\n    return supportedArguments.indexOf(name) !== -1 || super.isSupportedArgument(name);\n  }\n}\n__decorate$3([action], Textarea.prototype, \"change\", null);\n__decorate$3([action], Textarea.prototype, \"input\", null);\nvar Textarea$1 = opaquify(Textarea, TextareaTemplate);\n\nfunction isTemplateFactory(template) {\n  return typeof template === 'function';\n}\n\nfunction referenceForParts(rootRef, parts) {\n  let isAttrs = parts[0] === 'attrs';\n  // TODO deprecate this\n  if (isAttrs) {\n    parts.shift();\n    if (parts.length === 1) {\n      return childRefFor(rootRef, parts[0]);\n    }\n  }\n  return childRefFromParts(rootRef, parts);\n}\nfunction parseAttributeBinding(microsyntax) {\n  let colonIndex = microsyntax.indexOf(':');\n  if (colonIndex === -1) {\n    assert('You cannot use class as an attributeBinding, use classNameBindings instead.', microsyntax !== 'class');\n    return [microsyntax, microsyntax, true];\n  } else {\n    let prop = microsyntax.substring(0, colonIndex);\n    let attribute = microsyntax.substring(colonIndex + 1);\n    assert('You cannot use class as an attributeBinding, use classNameBindings instead.', attribute !== 'class');\n    return [prop, attribute, false];\n  }\n}\nfunction installAttributeBinding(component, rootRef, parsed, operations) {\n  let [prop, attribute, isSimple] = parsed;\n  if (attribute === 'id') {\n    let elementId = get(component, prop);\n    if (elementId === undefined || elementId === null) {\n      elementId = component.elementId;\n    }\n    let elementIdRef = createPrimitiveRef(elementId);\n    operations.setAttribute('id', elementIdRef, true, null);\n    return;\n  }\n  let isPath = prop.indexOf('.') > -1;\n  let reference = isPath ? referenceForParts(rootRef, prop.split('.')) : childRefFor(rootRef, prop);\n  assert(`Illegal attributeBinding: '${prop}' is not a valid attribute name.`, !(isSimple && isPath));\n  operations.setAttribute(attribute, reference, false, null);\n}\nfunction createClassNameBindingRef(rootRef, microsyntax, operations) {\n  let parts = microsyntax.split(':');\n  let [prop, truthy, falsy] = parts;\n  // NOTE: This could be an empty string\n  assert('has prop', prop !== undefined); // Will always have at least one part\n  let isStatic = prop === '';\n  if (isStatic) {\n    operations.setAttribute('class', createPrimitiveRef(truthy), true, null);\n  } else {\n    let isPath = prop.indexOf('.') > -1;\n    let parts = isPath ? prop.split('.') : [];\n    let value = isPath ? referenceForParts(rootRef, parts) : childRefFor(rootRef, prop);\n    let ref;\n    if (truthy === undefined) {\n      ref = createSimpleClassNameBindingRef(value, isPath ? parts[parts.length - 1] : prop);\n    } else {\n      ref = createColonClassNameBindingRef(value, truthy, falsy);\n    }\n    operations.setAttribute('class', ref, false, null);\n  }\n}\nfunction createSimpleClassNameBindingRef(inner, path) {\n  let dasherizedPath;\n  return createComputeRef(() => {\n    let value = valueForRef(inner);\n    if (value === true) {\n      assert('You must pass a path when binding a to a class name using classNameBindings', path !== undefined);\n      return dasherizedPath || (dasherizedPath = dasherize(path));\n    } else if (value || value === 0) {\n      return String(value);\n    } else {\n      return null;\n    }\n  });\n}\nfunction createColonClassNameBindingRef(inner, truthy, falsy) {\n  return createComputeRef(() => {\n    return valueForRef(inner) ? truthy : falsy;\n  });\n}\n\nfunction NOOP$1() {}\n/**\n  @module ember\n*/\n/**\n  Represents the internal state of the component.\n\n  @class ComponentStateBucket\n  @private\n*/\nclass ComponentStateBucket {\n  constructor(component, args, argsTag, finalizer, hasWrappedElement, isInteractive) {\n    this.component = component;\n    this.args = args;\n    this.argsTag = argsTag;\n    this.finalizer = finalizer;\n    this.hasWrappedElement = hasWrappedElement;\n    this.isInteractive = isInteractive;\n    this.classRef = null;\n    this.classRef = null;\n    this.argsRevision = args === null ? 0 : valueForTag(argsTag);\n    this.rootRef = createConstRef(component, 'this');\n    registerDestructor(this, () => this.willDestroy(), true);\n    registerDestructor(this, () => this.component.destroy());\n  }\n  willDestroy() {\n    let {\n      component,\n      isInteractive\n    } = this;\n    if (isInteractive) {\n      beginUntrackFrame();\n      component.trigger('willDestroyElement');\n      component.trigger('willClearRender');\n      endUntrackFrame();\n      let element = getViewElement(component);\n      if (element) {\n        clearElementView(element);\n        clearViewElement(component);\n      }\n    }\n    component.renderer.unregister(component);\n  }\n  finalize() {\n    let {\n      finalizer\n    } = this;\n    finalizer();\n    this.finalizer = NOOP$1;\n  }\n}\n\nfunction internalHelper(helper) {\n  return setInternalHelperManager(helper, {});\n}\n\n/**\n@module ember\n*/\nconst ACTIONS = new _WeakSet();\n/**\n  The `{{action}}` helper provides a way to pass triggers for behavior (usually\n  just a function) between components, and into components from controllers.\n\n  ### Passing functions with the action helper\n\n  There are three contexts an action helper can be used in. The first two\n  contexts to discuss are attribute context, and Handlebars value context.\n\n  ```handlebars\n  {{! An example of attribute context }}\n  <div onclick={{action \"save\"}}></div>\n  {{! Examples of Handlebars value context }}\n  {{input on-input=(action \"save\")}}\n  {{yield (action \"refreshData\") andAnotherParam}}\n  ```\n\n  In these contexts,\n  the helper is called a \"closure action\" helper. Its behavior is simple:\n  If passed a function name, read that function off the `actions` property\n  of the current context. Once that function is read, or immediately if a function was\n  passed, create a closure over that function and any arguments.\n  The resulting value of an action helper used this way is simply a function.\n\n  For example, in the attribute context:\n\n  ```handlebars\n  {{! An example of attribute context }}\n  <div onclick={{action \"save\"}}></div>\n  ```\n\n  The resulting template render logic would be:\n\n  ```js\n  var div = document.createElement('div');\n  var actionFunction = (function(context){\n    return function() {\n      return context.actions.save.apply(context, arguments);\n    };\n  })(context);\n  div.onclick = actionFunction;\n  ```\n\n  Thus when the div is clicked, the action on that context is called.\n  Because the `actionFunction` is just a function, closure actions can be\n  passed between components and still execute in the correct context.\n\n  Here is an example action handler on a component:\n\n  ```app/components/my-component.js\n  import Component from '@glimmer/component';\n  import { action } from '@ember/object';\n\n  export default class extends Component {\n    @action\n    save() {\n      this.model.save();\n    }\n  }\n  ```\n\n  Actions are always looked up on the `actions` property of the current context.\n  This avoids collisions in the naming of common actions, such as `destroy`.\n  Two options can be passed to the `action` helper when it is used in this way.\n\n  * `target=someProperty` will look to `someProperty` instead of the current\n    context for the `actions` hash. This can be useful when targeting a\n    service for actions.\n  * `value=\"target.value\"` will read the path `target.value` off the first\n    argument to the action when it is called and rewrite the first argument\n    to be that value. This is useful when attaching actions to event listeners.\n\n  ### Invoking an action\n\n  Closure actions curry both their scope and any arguments. When invoked, any\n  additional arguments are added to the already curried list.\n  Actions are presented in JavaScript as callbacks, and are\n  invoked like any other JavaScript function.\n\n  For example\n\n  ```app/components/update-name.js\n  import Component from '@glimmer/component';\n  import { action } from '@ember/object';\n\n  export default class extends Component {\n    @action\n    setName(model, name) {\n      model.set('name', name);\n    }\n  }\n  ```\n\n  ```app/components/update-name.hbs\n  {{input on-input=(action (action 'setName' @model) value=\"target.value\")}}\n  ```\n\n  The first argument (`@model`) was curried over, and the run-time argument (`event`)\n  becomes a second argument. Action calls can be nested this way because each simply\n  returns a function. Any function can be passed to the `{{action}}` helper, including\n  other actions.\n\n  Actions invoked with `sendAction` have the same currying behavior as demonstrated\n  with `on-input` above. For example:\n\n  ```app/components/my-input.js\n  import Component from '@glimmer/component';\n  import { action } from '@ember/object';\n\n  export default class extends Component {\n    @action\n    setName(model, name) {\n      model.set('name', name);\n    }\n  }\n  ```\n\n  ```handlebars\n  <MyInput @submit={{action 'setName' @model}} />\n  ```\n\n  or\n\n  ```handlebars\n  {{my-input submit=(action 'setName' @model)}}\n  ```\n\n  ```app/components/my-component.js\n  import Component from '@ember/component';\n\n  export default Component.extend({\n    click() {\n      // Note that model is not passed, it was curried in the template\n      this.submit('bob');\n    }\n  });\n  ```\n\n  ### Attaching actions to DOM elements\n\n  The third context of the `{{action}}` helper can be called \"element space\".\n  For example:\n\n  ```handlebars\n  {{! An example of element space }}\n  <div {{action \"save\"}}></div>\n  ```\n\n  Used this way, the `{{action}}` helper provides a useful shortcut for\n  registering an HTML element in a template for a single DOM event and\n  forwarding that interaction to the template's context (controller or component).\n  If the context of a template is a controller, actions used this way will\n  bubble to routes when the controller does not implement the specified action.\n  Once an action hits a route, it will bubble through the route hierarchy.\n\n  ### Event Propagation\n\n  `{{action}}` helpers called in element space can control event bubbling. Note\n  that the closure style actions cannot.\n\n  Events triggered through the action helper will automatically have\n  `.preventDefault()` called on them. You do not need to do so in your event\n  handlers. If you need to allow event propagation (to handle file inputs for\n  example) you can supply the `preventDefault=false` option to the `{{action}}` helper:\n\n  ```handlebars\n  <div {{action \"sayHello\" preventDefault=false}}>\n    <input type=\"file\" />\n    <input type=\"checkbox\" />\n  </div>\n  ```\n\n  To disable bubbling, pass `bubbles=false` to the helper:\n\n  ```handlebars\n  <button {{action 'edit' post bubbles=false}}>Edit</button>\n  ```\n\n  To disable bubbling with closure style actions you must create your own\n  wrapper helper that makes use of `event.stopPropagation()`:\n\n  ```handlebars\n  <div onclick={{disable-bubbling (action \"sayHello\")}}>Hello</div>\n  ```\n\n  ```app/helpers/disable-bubbling.js\n  import { helper } from '@ember/component/helper';\n\n  export function disableBubbling([action]) {\n    return function(event) {\n      event.stopPropagation();\n      return action(event);\n    };\n  }\n  export default helper(disableBubbling);\n  ```\n\n  If you need the default handler to trigger you should either register your\n  own event handler, or use event methods on your view class. See\n  [\"Responding to Browser Events\"](/ember/release/classes/Component)\n  in the documentation for `Component` for more information.\n\n  ### Specifying DOM event type\n\n  `{{action}}` helpers called in element space can specify an event type.\n  By default the `{{action}}` helper registers for DOM `click` events. You can\n  supply an `on` option to the helper to specify a different DOM event name:\n\n  ```handlebars\n  <div {{action \"anActionName\" on=\"doubleClick\"}}>\n    click me\n  </div>\n  ```\n\n  See [\"Event Names\"](/ember/release/classes/Component) for a list of\n  acceptable DOM event names.\n\n  ### Specifying whitelisted modifier keys\n\n  `{{action}}` helpers called in element space can specify modifier keys.\n  By default the `{{action}}` helper will ignore click events with pressed modifier\n  keys. You can supply an `allowedKeys` option to specify which keys should not be ignored.\n\n  ```handlebars\n  <div {{action \"anActionName\" allowedKeys=\"alt\"}}>\n    click me\n  </div>\n  ```\n\n  This way the action will fire when clicking with the alt key pressed down.\n  Alternatively, supply \"any\" to the `allowedKeys` option to accept any combination of modifier keys.\n\n  ```handlebars\n  <div {{action \"anActionName\" allowedKeys=\"any\"}}>\n    click me with any key pressed\n  </div>\n  ```\n\n  ### Specifying a Target\n\n  A `target` option can be provided to the helper to change\n  which object will receive the method call. This option must be a path\n  to an object, accessible in the current context:\n\n  ```app/templates/application.hbs\n  <div {{action \"anActionName\" target=someService}}>\n    click me\n  </div>\n  ```\n\n  ```app/controllers/application.js\n  import Controller from '@ember/controller';\n  import { service } from '@ember/service';\n\n  export default class extends Controller {\n    @service someService;\n  }\n  ```\n\n  @method action\n  @for Ember.Templates.helpers\n  @public\n*/\nvar action$1 = internalHelper(args => {\n  let {\n    named,\n    positional\n  } = args;\n  // The first two argument slots are reserved.\n  // pos[0] is the context (or `this`)\n  // pos[1] is the action name or function\n  // Anything else is an action argument.\n  let [context, action$$1, ...restArgs] = positional;\n  assert('hash position arguments', context && action$$1);\n  let debugKey = action$$1.debugLabel;\n  let target = 'target' in named ? named['target'] : context;\n  let processArgs = makeArgsProcessor('value' in named && named['value'] || false, restArgs);\n  let fn$$1;\n  if (isInvokableRef(action$$1)) {\n    fn$$1 = makeClosureAction(action$$1, action$$1, invokeRef, processArgs, debugKey);\n  } else {\n    fn$$1 = makeDynamicClosureAction(valueForRef(context), target, action$$1, processArgs, debugKey);\n  }\n  ACTIONS.add(fn$$1);\n  return createUnboundRef(fn$$1, '(result of an `action` helper)');\n});\nfunction NOOP$2(args) {\n  return args;\n}\nfunction makeArgsProcessor(valuePathRef, actionArgsRef) {\n  let mergeArgs;\n  if (actionArgsRef.length > 0) {\n    mergeArgs = args => {\n      return actionArgsRef.map(valueForRef).concat(args);\n    };\n  }\n  let readValue;\n  if (valuePathRef) {\n    readValue = args => {\n      let valuePath = valueForRef(valuePathRef);\n      if (valuePath && args.length > 0) {\n        args[0] = get(args[0], valuePath);\n      }\n      return args;\n    };\n  }\n  if (mergeArgs && readValue) {\n    return args => {\n      return readValue(mergeArgs(args));\n    };\n  } else {\n    return mergeArgs || readValue || NOOP$2;\n  }\n}\nfunction makeDynamicClosureAction(context, targetRef, actionRef, processArgs, debugKey) {\n  // We don't allow undefined/null values, so this creates a throw-away action to trigger the assertions\n  if (DEBUG) {\n    makeClosureAction(context, valueForRef(targetRef), valueForRef(actionRef), processArgs, debugKey);\n  }\n  return (...args) => {\n    return makeClosureAction(context, valueForRef(targetRef), valueForRef(actionRef), processArgs, debugKey)(...args);\n  };\n}\nfunction makeClosureAction(context, target, action$$1, processArgs, debugKey) {\n  let self;\n  let fn$$1;\n  assert(`Action passed is null or undefined in (action) from ${target}.`, action$$1 !== undefined && action$$1 !== null);\n  if (typeof action$$1 === 'string') {\n    self = target;\n    fn$$1 = target.actions && target.actions[action$$1];\n    assert(`An action named '${action$$1}' was not found in ${target}`, Boolean(fn$$1));\n  } else if (typeof action$$1 === 'function') {\n    self = context;\n    fn$$1 = action$$1;\n  } else {\n    assert(`An action could not be made for \\`${debugKey || action$$1}\\` in ${target}. Please confirm that you are using either a quoted action name (i.e. \\`(action '${debugKey || 'myAction'}')\\`) or a function available in ${target}.`, false);\n  }\n  return (...args) => {\n    let payload = {\n      target: self,\n      args,\n      label: '@glimmer/closure-action'\n    };\n    return flaggedInstrument('interaction.ember-action', payload, () => {\n      return join(self, fn$$1, ...processArgs(args));\n    });\n  };\n}\n// The code above:\n// 1. Finds an action function, usually on the `actions` hash\n// 2. Calls it with the target as the correct `this` context\n// Previously, `UPDATE_REFERENCED_VALUE` was a method on the reference itself,\n// so this made a bit more sense. Now, it isn't, and so we need to create a\n// function that can have `this` bound to it when called. This allows us to use\n// the same codepath to call `updateRef` on the reference.\nfunction invokeRef(value) {\n  updateRef(this, value);\n}\n\n// ComponentArgs takes EvaluatedNamedArgs and converts them into the\n// inputs needed by CurlyComponents (attrs and props, with mutable\n// cells, etc).\nfunction processComponentArgs(namedArgs) {\n  let attrs = Object.create(null);\n  let props = Object.create(null);\n  props[ARGS] = namedArgs;\n  for (let name in namedArgs) {\n    let ref = namedArgs[name];\n    assert('expected ref', ref);\n    let value = valueForRef(ref);\n    let isAction = typeof value === 'function' && ACTIONS.has(value);\n    if (isUpdatableRef(ref) && !isAction) {\n      attrs[name] = new MutableCell(ref, value);\n    } else {\n      attrs[name] = value;\n    }\n    props[name] = value;\n  }\n  props.attrs = attrs;\n  return props;\n}\nconst REF = Symbol('REF');\nclass MutableCell {\n  constructor(ref, value) {\n    this[MUTABLE_CELL] = true;\n    this[REF] = ref;\n    this.value = value;\n  }\n  update(val) {\n    updateRef(this[REF], val);\n  }\n}\n\nvar __rest = undefined && undefined.__rest || function (s, e) {\n  var t = {};\n  for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n  if (s != null && typeof Object.getOwnPropertySymbols === \"function\") for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {\n    if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i])) t[p[i]] = s[p[i]];\n  }\n  return t;\n};\nconst ARGS = enumerableSymbol('ARGS');\nconst HAS_BLOCK = enumerableSymbol('HAS_BLOCK');\nconst DIRTY_TAG = Symbol('DIRTY_TAG');\nconst IS_DISPATCHING_ATTRS = Symbol('IS_DISPATCHING_ATTRS');\nconst BOUNDS = Symbol('BOUNDS');\nconst EMBER_VIEW_REF = createPrimitiveRef('ember-view');\nfunction aliasIdToElementId(args, props) {\n  if (args.named.has('id')) {\n    assert(`You cannot invoke a component with both 'id' and 'elementId' at the same time.`, !args.named.has('elementId'));\n    props.elementId = props.id;\n  }\n}\n// We must traverse the attributeBindings in reverse keeping track of\n// what has already been applied. This is essentially refining the concatenated\n// properties applying right to left.\nfunction applyAttributeBindings(attributeBindings, component, rootRef, operations) {\n  let seen = [];\n  let i = attributeBindings.length - 1;\n  while (i !== -1) {\n    let binding = attributeBindings[i];\n    assert('has binding', binding);\n    let parsed = parseAttributeBinding(binding);\n    let attribute = parsed[1];\n    if (seen.indexOf(attribute) === -1) {\n      seen.push(attribute);\n      installAttributeBinding(component, rootRef, parsed, operations);\n    }\n    i--;\n  }\n  if (seen.indexOf('id') === -1) {\n    let id = component.elementId ? component.elementId : guidFor(component);\n    operations.setAttribute('id', createPrimitiveRef(id), false, null);\n  }\n}\nconst EMPTY_POSITIONAL_ARGS = [];\ndebugFreeze(EMPTY_POSITIONAL_ARGS);\nclass CurlyComponentManager {\n  templateFor(component) {\n    let {\n      layout,\n      layoutName\n    } = component;\n    let owner = getOwner(component);\n    assert('Component is unexpectedly missing an owner', owner);\n    let factory;\n    if (layout === undefined) {\n      if (layoutName !== undefined) {\n        let _factory = owner.lookup(`template:${layoutName}`);\n        assert(`Layout \\`${layoutName}\\` not found!`, _factory !== undefined);\n        factory = _factory;\n      } else {\n        return null;\n      }\n    } else if (isTemplateFactory(layout)) {\n      factory = layout;\n    } else {\n      // no layout was found, use the default layout\n      return null;\n    }\n    return unwrapTemplate(factory(owner)).asWrappedLayout();\n  }\n  getDynamicLayout(bucket) {\n    return this.templateFor(bucket.component);\n  }\n  getTagName(state) {\n    let {\n      component,\n      hasWrappedElement\n    } = state;\n    if (!hasWrappedElement) {\n      return null;\n    }\n    return component && component.tagName || 'div';\n  }\n  getCapabilities() {\n    return CURLY_CAPABILITIES;\n  }\n  prepareArgs(ComponentClass, args) {\n    var _a;\n    if (args.named.has('__ARGS__')) {\n      assert('[BUG] cannot pass both __ARGS__ and positional arguments', args.positional.length === 0);\n      let _b = args.named.capture(),\n        {\n          __ARGS__\n        } = _b,\n        rest = __rest(_b, [\"__ARGS__\"]);\n      assert('[BUG] unexpectedly missing __ARGS__ after check', __ARGS__);\n      // does this need to be untracked?\n      let __args__ = valueForRef(__ARGS__);\n      let prepared = {\n        positional: __args__.positional,\n        named: Object.assign(Object.assign({}, rest), __args__.named)\n      };\n      return prepared;\n    }\n    const {\n      positionalParams\n    } = (_a = ComponentClass.class) !== null && _a !== void 0 ? _a : ComponentClass;\n    // early exits\n    if (positionalParams === undefined || positionalParams === null || args.positional.length === 0) {\n      return null;\n    }\n    let named;\n    if (typeof positionalParams === 'string') {\n      assert(`You cannot specify positional parameters and the hash argument \\`${positionalParams}\\`.`, !args.named.has(positionalParams));\n      let captured = args.positional.capture();\n      named = {\n        [positionalParams]: createComputeRef(() => reifyPositional(captured))\n      };\n      Object.assign(named, args.named.capture());\n    } else if (Array.isArray(positionalParams) && positionalParams.length > 0) {\n      const count = Math.min(positionalParams.length, args.positional.length);\n      named = {};\n      Object.assign(named, args.named.capture());\n      for (let i = 0; i < count; i++) {\n        let name = positionalParams[i];\n        assert('Expected at least one positional param', name);\n        assert(`You cannot specify both a positional param (at position ${i}) and the hash argument \\`${name}\\`.`, !args.named.has(name));\n        named[name] = args.positional.at(i);\n      }\n    } else {\n      return null;\n    }\n    return {\n      positional: EMPTY_ARRAY,\n      named\n    };\n  }\n  /*\n   * This hook is responsible for actually instantiating the component instance.\n   * It also is where we perform additional bookkeeping to support legacy\n   * features like exposed by view mixins like ChildViewSupport, ActionSupport,\n   * etc.\n   */\n  create(owner, ComponentClass, args, {\n    isInteractive\n  }, dynamicScope, callerSelfRef, hasBlock) {\n    // Get the nearest concrete component instance from the scope. \"Virtual\"\n    // components will be skipped.\n    let parentView = dynamicScope.view;\n    // Capture the arguments, which tells Glimmer to give us our own, stable\n    // copy of the Arguments object that is safe to hold on to between renders.\n    let capturedArgs = args.named.capture();\n    beginTrackFrame();\n    let props = processComponentArgs(capturedArgs);\n    let argsTag = endTrackFrame();\n    // Alias `id` argument to `elementId` property on the component instance.\n    aliasIdToElementId(args, props);\n    // Set component instance's parentView property to point to nearest concrete\n    // component.\n    props.parentView = parentView;\n    // Set whether this component was invoked with a block\n    // (`{{#my-component}}{{/my-component}}`) or without one\n    // (`{{my-component}}`).\n    props[HAS_BLOCK] = hasBlock;\n    // Save the current `this` context of the template as the component's\n    // `_target`, so bubbled actions are routed to the right place.\n    props._target = valueForRef(callerSelfRef);\n    setOwner(props, owner);\n    // caller:\n    // <FaIcon @name=\"bug\" />\n    //\n    // callee:\n    // <i class=\"fa-{{@name}}\"></i>\n    // Now that we've built up all of the properties to set on the component instance,\n    // actually create it.\n    beginUntrackFrame();\n    let component = ComponentClass.create(props);\n    let finalizer = _instrumentStart('render.component', initialRenderInstrumentDetails, component);\n    // We become the new parentView for downstream components, so save our\n    // component off on the dynamic scope.\n    dynamicScope.view = component;\n    // Unless we're the root component, we need to add ourselves to our parent\n    // component's childViews array.\n    if (parentView !== null && parentView !== undefined) {\n      addChildView(parentView, component);\n    }\n    component.trigger('didReceiveAttrs');\n    let hasWrappedElement = component.tagName !== '';\n    // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n    if (!hasWrappedElement) {\n      if (isInteractive) {\n        component.trigger('willRender');\n      }\n      component._transitionTo('hasElement');\n      if (isInteractive) {\n        component.trigger('willInsertElement');\n      }\n    }\n    // Track additional lifecycle metadata about this component in a state bucket.\n    // Essentially we're saving off all the state we'll need in the future.\n    let bucket = new ComponentStateBucket(component, capturedArgs, argsTag, finalizer, hasWrappedElement, isInteractive);\n    if (args.named.has('class')) {\n      bucket.classRef = args.named.get('class');\n    }\n    if (DEBUG) {\n      processComponentInitializationAssertions(component, props);\n    }\n    if (isInteractive && hasWrappedElement) {\n      component.trigger('willRender');\n    }\n    endUntrackFrame();\n    // consume every argument so we always run again\n    consumeTag(bucket.argsTag);\n    consumeTag(component[DIRTY_TAG]);\n    return bucket;\n  }\n  getDebugName(definition) {\n    var _a;\n    return definition.fullName || definition.normalizedName || ((_a = definition.class) === null || _a === void 0 ? void 0 : _a.name) || definition.name;\n  }\n  getSelf({\n    rootRef\n  }) {\n    return rootRef;\n  }\n  didCreateElement({\n    component,\n    classRef,\n    isInteractive,\n    rootRef\n  }, element, operations) {\n    setViewElement(component, element);\n    setElementView(element, component);\n    let {\n      attributeBindings,\n      classNames,\n      classNameBindings\n    } = component;\n    if (attributeBindings && attributeBindings.length) {\n      applyAttributeBindings(attributeBindings, component, rootRef, operations);\n    } else {\n      let id = component.elementId ? component.elementId : guidFor(component);\n      operations.setAttribute('id', createPrimitiveRef(id), false, null);\n    }\n    if (classRef) {\n      const ref = createSimpleClassNameBindingRef(classRef);\n      operations.setAttribute('class', ref, false, null);\n    }\n    if (classNames && classNames.length) {\n      classNames.forEach(name => {\n        operations.setAttribute('class', createPrimitiveRef(name), false, null);\n      });\n    }\n    if (classNameBindings && classNameBindings.length) {\n      classNameBindings.forEach(binding => {\n        createClassNameBindingRef(rootRef, binding, operations);\n      });\n    }\n    operations.setAttribute('class', EMBER_VIEW_REF, false, null);\n    if ('ariaRole' in component) {\n      operations.setAttribute('role', childRefFor(rootRef, 'ariaRole'), false, null);\n    }\n    component._transitionTo('hasElement');\n    if (isInteractive) {\n      beginUntrackFrame();\n      component.trigger('willInsertElement');\n      endUntrackFrame();\n    }\n  }\n  didRenderLayout(bucket, bounds) {\n    bucket.component[BOUNDS] = bounds;\n    bucket.finalize();\n  }\n  didCreate({\n    component,\n    isInteractive\n  }) {\n    if (isInteractive) {\n      component._transitionTo('inDOM');\n      component.trigger('didInsertElement');\n      component.trigger('didRender');\n    }\n  }\n  update(bucket) {\n    let {\n      component,\n      args,\n      argsTag,\n      argsRevision,\n      isInteractive\n    } = bucket;\n    bucket.finalizer = _instrumentStart('render.component', rerenderInstrumentDetails, component);\n    beginUntrackFrame();\n    if (args !== null && !validateTag(argsTag, argsRevision)) {\n      beginTrackFrame();\n      let props = processComponentArgs(args);\n      argsTag = bucket.argsTag = endTrackFrame();\n      bucket.argsRevision = valueForTag(argsTag);\n      component[IS_DISPATCHING_ATTRS] = true;\n      component.setProperties(props);\n      component[IS_DISPATCHING_ATTRS] = false;\n      component.trigger('didUpdateAttrs');\n      component.trigger('didReceiveAttrs');\n    }\n    if (isInteractive) {\n      component.trigger('willUpdate');\n      component.trigger('willRender');\n    }\n    endUntrackFrame();\n    consumeTag(argsTag);\n    consumeTag(component[DIRTY_TAG]);\n  }\n  didUpdateLayout(bucket) {\n    bucket.finalize();\n  }\n  didUpdate({\n    component,\n    isInteractive\n  }) {\n    if (isInteractive) {\n      component.trigger('didUpdate');\n      component.trigger('didRender');\n    }\n  }\n  getDestroyable(bucket) {\n    return bucket;\n  }\n}\nfunction processComponentInitializationAssertions(component, props) {\n  assert(`classNameBindings must be non-empty strings: ${component}`, (() => {\n    let {\n      classNameBindings\n    } = component;\n    for (let i = 0; i < classNameBindings.length; i++) {\n      let binding = classNameBindings[i];\n      if (typeof binding !== 'string' || binding.length === 0) {\n        return false;\n      }\n    }\n    return true;\n  })());\n  assert(`classNameBindings must not have spaces in them: ${component}`, (() => {\n    let {\n      classNameBindings\n    } = component;\n    for (let binding of classNameBindings) {\n      if (binding.split(' ').length > 1) {\n        return false;\n      }\n    }\n    return true;\n  })());\n  assert(`You cannot use \\`classNameBindings\\` on a tag-less component: ${component}`, component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0);\n  assert(`You cannot use \\`elementId\\` on a tag-less component: ${component}`, component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '');\n  assert(`You cannot use \\`attributeBindings\\` on a tag-less component: ${component}`, component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0);\n}\nfunction initialRenderInstrumentDetails(component) {\n  return component.instrumentDetails({\n    initialRender: true\n  });\n}\nfunction rerenderInstrumentDetails(component) {\n  return component.instrumentDetails({\n    initialRender: false\n  });\n}\nconst CURLY_CAPABILITIES = {\n  dynamicLayout: true,\n  dynamicTag: true,\n  prepareArgs: true,\n  createArgs: true,\n  attributeHook: true,\n  elementHook: true,\n  createCaller: true,\n  dynamicScope: true,\n  updateHook: true,\n  createInstance: true,\n  wrapped: true,\n  willDestroy: true,\n  hasSubOwner: false\n};\nconst CURLY_COMPONENT_MANAGER = new CurlyComponentManager();\nfunction isCurlyManager(manager) {\n  return manager === CURLY_COMPONENT_MANAGER;\n}\n\n// Keep track of which component classes have already been processed for lazy event setup.\nlet lazyEventsProcessed = new WeakMap();\nclass Component extends CoreView.extend(ChildViewsSupport, ViewStateSupport, ClassNamesSupport, TargetActionSupport, ActionSupport, ViewMixin, {\n  // These need to be overridable via extend/create but should still\n  // have a default. Defining them here is the best way to achieve that.\n  didReceiveAttrs() {},\n  didRender() {},\n  didUpdate() {},\n  didUpdateAttrs() {},\n  willRender() {},\n  willUpdate() {}\n}) {\n  constructor() {\n    super(...arguments);\n    this.isComponent = true;\n  }\n  init(properties) {\n    super.init(properties);\n    // Handle methods from ViewMixin.\n    // The native class inheritance will not work for mixins. To work around this,\n    // we copy the existing rerender method provided by the mixin and swap in the\n    // new rerender method from our class.\n    this._superRerender = this.rerender;\n    this.rerender = this._rerender;\n    this[IS_DISPATCHING_ATTRS] = false;\n    this[DIRTY_TAG] = createTag();\n    this[BOUNDS] = null;\n    const eventDispatcher = this._dispatcher;\n    if (eventDispatcher) {\n      let lazyEventsProcessedForComponentClass = lazyEventsProcessed.get(eventDispatcher);\n      if (!lazyEventsProcessedForComponentClass) {\n        lazyEventsProcessedForComponentClass = new WeakSet();\n        lazyEventsProcessed.set(eventDispatcher, lazyEventsProcessedForComponentClass);\n      }\n      let proto = Object.getPrototypeOf(this);\n      if (!lazyEventsProcessedForComponentClass.has(proto)) {\n        let lazyEvents = eventDispatcher.lazyEvents;\n        lazyEvents.forEach((mappedEventName, event) => {\n          if (mappedEventName !== null && typeof this[mappedEventName] === 'function') {\n            eventDispatcher.setupHandlerForBrowserEvent(event);\n          }\n        });\n        lazyEventsProcessedForComponentClass.add(proto);\n      }\n    }\n    if (DEBUG && eventDispatcher && this.renderer._isInteractive && this.tagName === '') {\n      let eventNames = [];\n      let events = eventDispatcher.finalEventNameMapping;\n      for (let key in events) {\n        let methodName = events[key];\n        if (methodName && typeof this[methodName] === 'function') {\n          eventNames.push(methodName);\n        }\n      }\n      // If in a tagless component, assert that no event handlers are defined\n      assert(`You can not define \\`${eventNames}\\` function(s) to handle DOM event in the \\`${this}\\` tagless component since it doesn't have any DOM element.`, !eventNames.length);\n    }\n  }\n  get _dispatcher() {\n    if (this.__dispatcher === undefined) {\n      let owner = getOwner(this);\n      assert('Component is unexpectedly missing an owner', owner);\n      if (owner.lookup('-environment:main').isInteractive) {\n        let dispatcher = owner.lookup('event_dispatcher:main');\n        assert('Expected dispatcher to be an EventDispatcher', dispatcher instanceof EventDispatcher);\n        this.__dispatcher = dispatcher;\n      } else {\n        // In FastBoot we have no EventDispatcher. Set to null to not try again to look it up.\n        this.__dispatcher = null;\n      }\n    }\n    return this.__dispatcher;\n  }\n  on(name, target, method) {\n    var _a;\n    (_a = this._dispatcher) === null || _a === void 0 ? void 0 : _a.setupHandlerForEmberEvent(name);\n    // The `on` method here comes from the Evented mixin. Since this mixin\n    // is applied to the parent of this class, however, we are still able\n    // to use `super`.\n    return super.on(name, target, method);\n  }\n  // Changed to `rerender` on init\n  _rerender() {\n    dirtyTag(this[DIRTY_TAG]);\n    this._superRerender();\n  }\n  [PROPERTY_DID_CHANGE](key, value) {\n    if (this[IS_DISPATCHING_ATTRS]) {\n      return;\n    }\n    let args = this[ARGS];\n    let reference = args !== undefined ? args[key] : undefined;\n    if (reference !== undefined && isUpdatableRef(reference)) {\n      updateRef(reference, arguments.length === 2 ? value : get(this, key));\n    }\n  }\n  getAttr(key) {\n    // TODO Intimate API should be deprecated\n    return this.get(key);\n  }\n  /**\n    Normally, Ember's component model is \"write-only\". The component takes a\n    bunch of attributes that it got passed in, and uses them to render its\n    template.\n       One nice thing about this model is that if you try to set a value to the\n    same thing as last time, Ember (through HTMLBars) will avoid doing any\n    work on the DOM.\n       This is not just a performance optimization. If an attribute has not\n    changed, it is important not to clobber the element's \"hidden state\".\n    For example, if you set an input's `value` to the same value as before,\n    it will clobber selection state and cursor position. In other words,\n    setting an attribute is not **always** idempotent.\n       This method provides a way to read an element's attribute and also\n    update the last value Ember knows about at the same time. This makes\n    setting an attribute idempotent.\n       In particular, what this means is that if you get an `<input>` element's\n    `value` attribute and then re-render the template with the same value,\n    it will avoid clobbering the cursor and selection position.\n    Since most attribute sets are idempotent in the browser, you typically\n    can get away with reading attributes using jQuery, but the most reliable\n    way to do so is through this method.\n    @method readDOMAttr\n       @param {String} name the name of the attribute\n    @return String\n    @public\n    */\n  readDOMAttr(name) {\n    // TODO revisit this\n    let _element = getViewElement(this);\n    assert(`Cannot call \\`readDOMAttr\\` on ${this} which does not have an element`, _element !== null);\n    let element = _element;\n    let isSVG = element.namespaceURI === \"http://www.w3.org/2000/svg\" /* Namespace.SVG */;\n    let {\n      type,\n      normalized\n    } = normalizeProperty(element, name);\n    if (isSVG || type === 'attr') {\n      return element.getAttribute(normalized);\n    }\n    return element[normalized];\n  }\n  static toString() {\n    return '@ember/component';\n  }\n}\nComponent.isComponentFactory = true;\n// We continue to use reopenClass here so that positionalParams can be overridden with reopenClass in subclasses.\nComponent.reopenClass({\n  /**\n   Enables components to take a list of parameters as arguments.\n    For example, a component that takes two parameters with the names\n    `name` and `age`:\n       ```app/components/my-component.js\n    import Component from '@ember/component';\n       let MyComponent = Component.extend();\n       MyComponent.reopenClass({\n      positionalParams: ['name', 'age']\n    });\n       export default MyComponent;\n    ```\n       It can then be invoked like this:\n       ```hbs\n    {{my-component \"John\" 38}}\n    ```\n       The parameters can be referred to just like named parameters:\n       ```hbs\n    Name: {{name}}, Age: {{age}}.\n    ```\n       Using a string instead of an array allows for an arbitrary number of\n    parameters:\n       ```app/components/my-component.js\n    import Component from '@ember/component';\n       let MyComponent = Component.extend();\n       MyComponent.reopenClass({\n      positionalParams: 'names'\n    });\n       export default MyComponent;\n    ```\n       It can then be invoked like this:\n       ```hbs\n    {{my-component \"John\" \"Michael\" \"Scott\"}}\n    ```\n    The parameters can then be referred to by enumerating over the list:\n       ```hbs\n    {{#each names as |name|}}{{name}}{{/each}}\n    ```\n       @static\n    @public\n    @property positionalParams\n    @since 1.13.0\n    */\n  positionalParams: []\n});\nsetInternalComponentManager(CURLY_COMPONENT_MANAGER, Component);\n\n/**\n@module @ember/component\n*/\nvar _a;\nconst RECOMPUTE_TAG = Symbol('RECOMPUTE_TAG');\nconst IS_CLASSIC_HELPER = Symbol('IS_CLASSIC_HELPER');\n/**\n  In many cases it is not necessary to use the full `Helper` class.\n  The `helper` method create pure-function helpers without instances.\n  For example:\n\n  ```app/helpers/format-currency.js\n  import { helper } from '@ember/component/helper';\n\n  export default helper(function([cents], {currency}) {\n    return `${currency}${cents * 0.01}`;\n  });\n  ```\n\n  @static\n  @param {Function} helper The helper function\n  @method helper\n  @for @ember/component/helper\n  @public\n  @since 1.13.0\n*/\nfunction helper(helperFn) {\n  return new Wrapper(helperFn);\n}\nclass Helper extends FrameworkObject {\n  init(properties) {\n    super.init(properties);\n    this[RECOMPUTE_TAG] = createTag();\n    assert('expected compute to be defined', this.compute);\n  }\n  /**\n    On a class-based helper, it may be useful to force a recomputation of that\n    helpers value. This is akin to `rerender` on a component.\n       For example, this component will rerender when the `currentUser` on a\n    session service changes:\n       ```app/helpers/current-user-email.js\n    import Helper from '@ember/component/helper'\n    import { service } from '@ember/service'\n    import { observer } from '@ember/object'\n       export default Helper.extend({\n      session: service(),\n         onNewUser: observer('session.currentUser', function() {\n        this.recompute();\n      }),\n         compute() {\n        return this.get('session.currentUser.email');\n      }\n    });\n    ```\n       @method recompute\n    @public\n    @since 1.13.0\n  */\n  recompute() {\n    join(() => dirtyTag(this[RECOMPUTE_TAG]));\n  }\n}\n_a = IS_CLASSIC_HELPER;\nHelper.isHelperFactory = true;\nHelper[_a] = true;\n// `packages/ember/index.js` was setting `Helper.helper`. This seems like\n// a bad idea and probably not something we want. We've moved that definition\n// here, but it should definitely be reviewed and probably removed.\n/** @deprecated */\nHelper.helper = helper;\nfunction isClassicHelper(obj) {\n  return obj[IS_CLASSIC_HELPER] === true;\n}\nclass ClassicHelperManager {\n  constructor(owner) {\n    this.capabilities = helperCapabilities('3.23', {\n      hasValue: true,\n      hasDestroyable: true\n    });\n    let ownerInjection = {};\n    setOwner(ownerInjection, owner);\n    this.ownerInjection = ownerInjection;\n  }\n  createHelper(definition, args) {\n    let instance = isFactoryManager(definition) ? definition.create() : definition.create(this.ownerInjection);\n    assert('expected HelperInstance', function (instance) {\n      if (instance !== null && typeof instance === 'object') {\n        let cast = instance;\n        return typeof cast.compute === 'function' && typeof cast.destroy === 'function';\n      }\n      return false;\n    }(instance));\n    return {\n      instance,\n      args\n    };\n  }\n  getDestroyable({\n    instance\n  }) {\n    return instance;\n  }\n  getValue({\n    instance,\n    args\n  }) {\n    let {\n      positional,\n      named\n    } = args;\n    let ret = instance.compute(positional, named);\n    consumeTag(instance[RECOMPUTE_TAG]);\n    return ret;\n  }\n  getDebugName(definition) {\n    return getDebugName((definition.class || definition)['prototype']);\n  }\n}\nfunction isFactoryManager(obj) {\n  return obj != null && 'class' in obj;\n}\nsetHelperManager(owner => {\n  return new ClassicHelperManager(owner);\n}, Helper);\nconst CLASSIC_HELPER_MANAGER = getInternalHelperManager(Helper);\n///////////\nclass Wrapper {\n  constructor(compute) {\n    this.compute = compute;\n    this.isHelperFactory = true;\n  }\n  create() {\n    // needs new instance or will leak containers\n    return {\n      compute: this.compute\n    };\n  }\n}\nclass SimpleClassicHelperManager {\n  constructor() {\n    this.capabilities = helperCapabilities('3.23', {\n      hasValue: true\n    });\n  }\n  createHelper(definition, args) {\n    let {\n      compute\n    } = definition;\n    return () => compute.call(null, args.positional, args.named);\n  }\n  getValue(fn$$1) {\n    return fn$$1();\n  }\n  getDebugName(definition) {\n    return getDebugName(definition.compute);\n  }\n}\nconst SIMPLE_CLASSIC_HELPER_MANAGER = new SimpleClassicHelperManager();\nsetHelperManager(() => SIMPLE_CLASSIC_HELPER_MANAGER, Wrapper.prototype);\n\n/**\n@module @ember/template\n*/\n/**\n  A wrapper around a string that has been marked as safe (\"trusted\"). **When\n  rendered in HTML, Ember will not perform any escaping.**\n\n  Note:\n\n  1. This does not *make* the string safe; it means that some code in your\n     application has *marked* it as safe using the `htmlSafe()` function.\n\n  2. The only public API for getting a `SafeString` is calling `htmlSafe()`. It\n     is *not* user-constructible.\n\n  If a string contains user inputs or other untrusted data, you must sanitize\n  the string before using the `htmlSafe` method. Otherwise your code is\n  vulnerable to [Cross-Site Scripting][xss]. There are many open source\n  sanitization libraries to choose from, both for front end and server-side\n  sanitization.\n\n  [xss]: https://owasp.org/www-community/attacks/DOM_Based_XSS\n\n  ```javascript\n  import { htmlSafe } from '@ember/template';\n\n  let someTrustedOrSanitizedString = \"<div>Hello!</div>\"\n\n  htmlSafe(someTrustedorSanitizedString);\n  ```\n\n  @for @ember/template\n  @class SafeString\n  @since 4.12.0\n  @public\n */\nclass SafeString {\n  constructor(string) {\n    this.__string = string;\n  }\n  /**\n    Get the string back to use as a string.\n       @public\n    @method toString\n    @returns {String} The string marked as trusted\n   */\n  toString() {\n    return `${this.__string}`;\n  }\n  /**\n    Get the wrapped string as HTML to use without escaping.\n       @public\n    @method toHTML\n    @returns {String} the trusted string, without any escaping applied\n   */\n  toHTML() {\n    return this.toString();\n  }\n}\nconst escape = {\n  '&': '&amp;',\n  '<': '&lt;',\n  '>': '&gt;',\n  '\"': '&quot;',\n  \"'\": '&#x27;',\n  '`': '&#x60;',\n  '=': '&#x3D;'\n};\nconst possible = /[&<>\"'`=]/;\nconst badChars = /[&<>\"'`=]/g;\nfunction escapeChar(chr) {\n  return escape[chr];\n}\nfunction escapeExpression(string) {\n  let s;\n  if (typeof string !== 'string') {\n    // don't escape SafeStrings, since they're already safe\n    if (isHTMLSafe$1(string)) {\n      return string.toHTML();\n    } else if (string === null || string === undefined) {\n      return '';\n    } else if (!string) {\n      return String(string);\n    }\n    // Force a string conversion as this will be done by the append regardless and\n    // the regex test will do this transparently behind the scenes, causing issues if\n    // an object's to string has escaped characters in it.\n    s = String(string);\n  } else {\n    s = string;\n  }\n  if (!possible.test(s)) {\n    return s;\n  }\n  // SAFETY: this is technically a lie, but it's a true lie as long as the\n  // invariant it depends on is upheld: `escapeChar` will always return a string\n  // as long as its input is one of the characters in `escape`, and it will only\n  // be called if it matches one of the characters in the `badChar` regex, which\n  // is hand-maintained to match the set escaped. (It would be nice if TS could\n  // \"see\" into the regex to see how this works, but that'd be quite a lot of\n  // extra fanciness.)\n  return s.replace(badChars, escapeChar);\n}\n/**\n  Use this method to indicate that a string should be rendered as HTML\n  when the string is used in a template. To say this another way,\n  strings marked with `htmlSafe` will not be HTML escaped.\n\n  A word of warning -   The `htmlSafe` method does not make the string safe;\n  it only tells the framework to treat the string as if it is safe to render\n  as HTML. If a string contains user inputs or other untrusted\n  data, you must sanitize the string before using the `htmlSafe` method.\n  Otherwise your code is vulnerable to\n  [Cross-Site Scripting](https://owasp.org/www-community/attacks/DOM_Based_XSS).\n  There are many open source sanitization libraries to choose from,\n  both for front end and server-side sanitization.\n\n  ```javascript\n  import { htmlSafe } from '@ember/template';\n\n  const someTrustedOrSanitizedString = \"<div>Hello!</div>\"\n\n  htmlSafe(someTrustedorSanitizedString)\n  ```\n\n  @method htmlSafe\n  @for @ember/template\n  @param str {String} The string to treat as trusted.\n  @static\n  @return {SafeString} A string that will not be HTML escaped by Handlebars.\n  @public\n*/\nfunction htmlSafe(str) {\n  if (str === null || str === undefined) {\n    str = '';\n  } else if (typeof str !== 'string') {\n    str = String(str);\n  }\n  return new SafeString(str);\n}\n/**\n  Detects if a string was decorated using `htmlSafe`.\n\n  ```javascript\n  import { htmlSafe, isHTMLSafe } from '@ember/template';\n\n  let plainString = 'plain string';\n  let safeString = htmlSafe('<div>someValue</div>');\n\n  isHTMLSafe(plainString); // false\n  isHTMLSafe(safeString);  // true\n  ```\n\n  @method isHTMLSafe\n  @for @ember/template\n  @static\n  @return {Boolean} `true` if the string was decorated with `htmlSafe`, `false` otherwise.\n  @public\n*/\nfunction isHTMLSafe$1(str) {\n  return str !== null && typeof str === 'object' && 'toHTML' in str && typeof str.toHTML === 'function';\n}\n\nfunction instrumentationPayload(def) {\n  return {\n    object: `${def.name}:${def.outlet}`\n  };\n}\nconst CAPABILITIES$1 = {\n  dynamicLayout: false,\n  dynamicTag: false,\n  prepareArgs: false,\n  createArgs: false,\n  attributeHook: false,\n  elementHook: false,\n  createCaller: false,\n  dynamicScope: true,\n  updateHook: false,\n  createInstance: true,\n  wrapped: false,\n  willDestroy: false,\n  hasSubOwner: false\n};\nclass OutletComponentManager {\n  create(_owner, definition, _args, env, dynamicScope) {\n    let parentStateRef = dynamicScope.get('outletState');\n    let currentStateRef = definition.ref;\n    dynamicScope.set('outletState', currentStateRef);\n    let state = {\n      self: createConstRef(definition.controller, 'this'),\n      finalize: _instrumentStart('render.outlet', instrumentationPayload, definition)\n    };\n    if (env.debugRenderTree !== undefined) {\n      state.outlet = {\n        name: definition.outlet\n      };\n      let parentState = valueForRef(parentStateRef);\n      let parentOwner = parentState && parentState.render && parentState.render.owner;\n      let currentOwner = valueForRef(currentStateRef).render.owner;\n      if (parentOwner && parentOwner !== currentOwner) {\n        assert('Expected currentOwner to be an EngineInstance', currentOwner instanceof EngineInstance);\n        let mountPoint = currentOwner.mountPoint;\n        state.engine = currentOwner;\n        if (mountPoint) {\n          state.engineBucket = {\n            mountPoint\n          };\n        }\n      }\n    }\n    return state;\n  }\n  getDebugName({\n    name\n  }) {\n    return name;\n  }\n  getDebugCustomRenderTree(definition, state, args) {\n    let nodes = [];\n    if (state.outlet) {\n      nodes.push({\n        bucket: state.outlet,\n        type: 'outlet',\n        name: state.outlet.name,\n        args: EMPTY_ARGS,\n        instance: undefined,\n        template: undefined\n      });\n    }\n    if (state.engineBucket) {\n      nodes.push({\n        bucket: state.engineBucket,\n        type: 'engine',\n        name: state.engineBucket.mountPoint,\n        args: EMPTY_ARGS,\n        instance: state.engine,\n        template: undefined\n      });\n    }\n    nodes.push({\n      bucket: state,\n      type: 'route-template',\n      name: definition.name,\n      args: args,\n      instance: definition.controller,\n      template: unwrapTemplate(definition.template).moduleName\n    });\n    return nodes;\n  }\n  getCapabilities() {\n    return CAPABILITIES$1;\n  }\n  getSelf({\n    self\n  }) {\n    return self;\n  }\n  didCreate() {}\n  didUpdate() {}\n  didRenderLayout(state) {\n    state.finalize();\n  }\n  didUpdateLayout() {}\n  getDestroyable() {\n    return null;\n  }\n}\nconst OUTLET_MANAGER = new OutletComponentManager();\nclass OutletComponentDefinition {\n  constructor(state, manager = OUTLET_MANAGER) {\n    this.state = state;\n    this.manager = manager;\n    // handle is not used by this custom definition\n    this.handle = -1;\n    let capabilities = manager.getCapabilities();\n    this.capabilities = capabilityFlagsFrom(capabilities);\n    this.compilable = capabilities.wrapped ? unwrapTemplate(state.template).asWrappedLayout() : unwrapTemplate(state.template).asLayout();\n    this.resolvedName = state.name;\n  }\n}\nfunction createRootOutlet(outletView) {\n  if (ENV._APPLICATION_TEMPLATE_WRAPPER) {\n    const WRAPPED_CAPABILITIES = Object.assign({}, CAPABILITIES$1, {\n      dynamicTag: true,\n      elementHook: true,\n      wrapped: true\n    });\n    const WrappedOutletComponentManager = class extends OutletComponentManager {\n      getTagName() {\n        return 'div';\n      }\n      getCapabilities() {\n        return WRAPPED_CAPABILITIES;\n      }\n      didCreateElement(component, element) {\n        // to add GUID id and class\n        element.setAttribute('class', 'ember-view');\n        element.setAttribute('id', guidFor(component));\n      }\n    };\n    const WRAPPED_OUTLET_MANAGER = new WrappedOutletComponentManager();\n    return new OutletComponentDefinition(outletView.state, WRAPPED_OUTLET_MANAGER);\n  } else {\n    return new OutletComponentDefinition(outletView.state);\n  }\n}\n\nclass RootComponentManager extends CurlyComponentManager {\n  constructor(component) {\n    super();\n    this.component = component;\n  }\n  create(_owner, _state, _args, {\n    isInteractive\n  }, dynamicScope) {\n    let component = this.component;\n    let finalizer = _instrumentStart('render.component', initialRenderInstrumentDetails, component);\n    dynamicScope.view = component;\n    let hasWrappedElement = component.tagName !== '';\n    // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n    if (!hasWrappedElement) {\n      if (isInteractive) {\n        component.trigger('willRender');\n      }\n      component._transitionTo('hasElement');\n      if (isInteractive) {\n        component.trigger('willInsertElement');\n      }\n    }\n    if (DEBUG) {\n      processComponentInitializationAssertions(component, {});\n    }\n    let bucket = new ComponentStateBucket(component, null, CONSTANT_TAG, finalizer, hasWrappedElement, isInteractive);\n    consumeTag(component[DIRTY_TAG]);\n    return bucket;\n  }\n}\n// ROOT is the top-level template it has nothing but one yield.\n// it is supposed to have a dummy element\nconst ROOT_CAPABILITIES = {\n  dynamicLayout: true,\n  dynamicTag: true,\n  prepareArgs: false,\n  createArgs: false,\n  attributeHook: true,\n  elementHook: true,\n  createCaller: true,\n  dynamicScope: true,\n  updateHook: true,\n  createInstance: true,\n  wrapped: true,\n  willDestroy: false,\n  hasSubOwner: false\n};\nclass RootComponentDefinition {\n  constructor(component) {\n    // handle is not used by this custom definition\n    this.handle = -1;\n    this.resolvedName = '-top-level';\n    this.capabilities = capabilityFlagsFrom(ROOT_CAPABILITIES);\n    this.compilable = null;\n    this.manager = new RootComponentManager(component);\n    let factory = getFactoryFor(component);\n    assert('missing factory for component', factory !== undefined);\n    this.state = factory;\n  }\n}\n\n/**\n@module ember\n*/\n/**\n  The `{{#each}}` helper loops over elements in a collection. It is an extension\n  of the base Handlebars `{{#each}}` helper.\n\n  The default behavior of `{{#each}}` is to yield its inner block once for every\n  item in an array passing the item as the first block parameter.\n\n  Assuming the `@developers` argument contains this array:\n\n  ```javascript\n  [{ name: 'Yehuda' },{ name: 'Tom' }, { name: 'Paul' }];\n  ```\n\n  ```handlebars\n  <ul>\n    {{#each @developers as |person|}}\n      <li>Hello, {{person.name}}!</li>\n    {{/each}}\n  </ul>\n  ```\n\n  The same rules apply to arrays of primitives.\n\n  ```javascript\n  ['Yehuda', 'Tom', 'Paul']\n  ```\n\n  ```handlebars\n  <ul>\n    {{#each @developerNames as |name|}}\n      <li>Hello, {{name}}!</li>\n    {{/each}}\n  </ul>\n  ```\n\n  During iteration, the index of each item in the array is provided as a second block\n  parameter.\n\n  ```handlebars\n  <ul>\n    {{#each @developers as |person index|}}\n      <li>Hello, {{person.name}}! You're number {{index}} in line</li>\n    {{/each}}\n  </ul>\n  ```\n\n  ### Specifying Keys\n\n  In order to improve rendering speed, Ember will try to reuse the DOM elements\n  where possible. Specifically, if the same item is present in the array both\n  before and after the change, its DOM output will be reused.\n\n  The `key` option is used to tell Ember how to determine if the items in the\n  array being iterated over with `{{#each}}` has changed between renders. By\n  default the item's object identity is used.\n\n  This is usually sufficient, so in most cases, the `key` option is simply not\n  needed. However, in some rare cases, the objects' identities may change even\n  though they represent the same underlying data.\n\n  For example:\n\n  ```javascript\n  people.map(person => {\n    return { ...person, type: 'developer' };\n  });\n  ```\n\n  In this case, each time the `people` array is `map`-ed over, it will produce\n  an new array with completely different objects between renders. In these cases,\n  you can help Ember determine how these objects related to each other with the\n  `key` option:\n\n  ```handlebars\n  <ul>\n    {{#each @developers key=\"name\" as |person|}}\n      <li>Hello, {{person.name}}!</li>\n    {{/each}}\n  </ul>\n  ```\n\n  By doing so, Ember will use the value of the property specified (`person.name`\n  in the example) to find a \"match\" from the previous render. That is, if Ember\n  has previously seen an object from the `@developers` array with a matching\n  name, its DOM elements will be re-used.\n\n  There are two special values for `key`:\n\n    * `@index` - The index of the item in the array.\n    * `@identity` - The item in the array itself.\n\n  ### {{else}} condition\n\n  `{{#each}}` can have a matching `{{else}}`. The contents of this block will render\n  if the collection is empty.\n\n  ```handlebars\n  <ul>\n    {{#each @developers as |person|}}\n      <li>{{person.name}} is available!</li>\n    {{else}}\n      <li>Sorry, nobody is available for this task.</li>\n    {{/each}}\n  </ul>\n  ```\n\n  @method each\n  @for Ember.Templates.helpers\n  @public\n */\n/**\n  The `{{each-in}}` helper loops over properties on an object.\n\n  For example, given this component definition:\n\n  ```app/components/developer-details.js\n  import Component from '@glimmer/component';\n  import { tracked } from '@glimmer/tracking';\n\n  export default class extends Component {\n    @tracked developer = {\n      \"name\": \"Shelly Sails\",\n      \"age\": 42\n    };\n  }\n  ```\n\n  This template would display all properties on the `developer`\n  object in a list:\n\n  ```app/components/developer-details.hbs\n  <ul>\n    {{#each-in this.developer as |key value|}}\n      <li>{{key}}: {{value}}</li>\n    {{/each-in}}\n  </ul>\n  ```\n\n  Outputting their name and age:\n\n  ```html\n  <ul>\n    <li>name: Shelly Sails</li>\n    <li>age: 42</li>\n  </ul>\n  ```\n\n  @method each-in\n  @for Ember.Templates.helpers\n  @public\n  @since 2.1.0\n*/\nclass EachInWrapper {\n  constructor(inner) {\n    this.inner = inner;\n  }\n}\nvar eachIn = internalHelper(({\n  positional\n}) => {\n  const inner = positional[0];\n  assert('expected at least one positional arg', inner);\n  return createComputeRef(() => {\n    let iterable = valueForRef(inner);\n    consumeTag(tagForObject(iterable));\n    if (isProxy(iterable)) {\n      // this is because the each-in doesn't actually get(proxy, 'key') but bypasses it\n      // and the proxy's tag is lazy updated on access\n      iterable = _contentFor(iterable);\n    }\n    return new EachInWrapper(iterable);\n  });\n});\n\nfunction toIterator(iterable) {\n  if (iterable instanceof EachInWrapper) {\n    return toEachInIterator(iterable.inner);\n  } else {\n    return toEachIterator(iterable);\n  }\n}\nfunction toEachInIterator(iterable) {\n  if (!isIndexable(iterable)) {\n    return null;\n  }\n  if (Array.isArray(iterable) || isEmberArray(iterable)) {\n    return ObjectIterator.fromIndexable(iterable);\n  } else if (isNativeIterable(iterable)) {\n    return MapLikeNativeIterator.from(iterable);\n  } else if (hasForEach(iterable)) {\n    return ObjectIterator.fromForEachable(iterable);\n  } else {\n    return ObjectIterator.fromIndexable(iterable);\n  }\n}\nfunction toEachIterator(iterable) {\n  if (!isObject(iterable)) {\n    return null;\n  }\n  if (Array.isArray(iterable)) {\n    return ArrayIterator.from(iterable);\n  } else if (isEmberArray(iterable)) {\n    return EmberArrayIterator.from(iterable);\n  } else if (isNativeIterable(iterable)) {\n    return ArrayLikeNativeIterator.from(iterable);\n  } else if (hasForEach(iterable)) {\n    return ArrayIterator.fromForEachable(iterable);\n  } else {\n    return null;\n  }\n}\nclass BoundedIterator {\n  constructor(length) {\n    this.length = length;\n    this.position = 0;\n  }\n  isEmpty() {\n    return false;\n  }\n  memoFor(position) {\n    return position;\n  }\n  next() {\n    let {\n      length,\n      position\n    } = this;\n    if (position >= length) {\n      return null;\n    }\n    let value = this.valueFor(position);\n    let memo = this.memoFor(position);\n    this.position++;\n    return {\n      value,\n      memo\n    };\n  }\n}\nclass ArrayIterator extends BoundedIterator {\n  static from(iterable) {\n    return iterable.length > 0 ? new this(iterable) : null;\n  }\n  static fromForEachable(object) {\n    let array$$1 = [];\n    object.forEach(item => array$$1.push(item));\n    return this.from(array$$1);\n  }\n  constructor(array$$1) {\n    super(array$$1.length);\n    this.array = array$$1;\n  }\n  valueFor(position) {\n    return this.array[position];\n  }\n}\nclass EmberArrayIterator extends BoundedIterator {\n  static from(iterable) {\n    return iterable.length > 0 ? new this(iterable) : null;\n  }\n  constructor(array$$1) {\n    super(array$$1.length);\n    this.array = array$$1;\n  }\n  valueFor(position) {\n    return objectAt(this.array, position);\n  }\n}\nclass ObjectIterator extends BoundedIterator {\n  static fromIndexable(obj) {\n    let keys = Object.keys(obj);\n    if (keys.length === 0) {\n      return null;\n    } else {\n      let values = [];\n      for (let key of keys) {\n        let value;\n        value = obj[key];\n        // Add the tag of the returned value if it is an array, since arrays\n        // should always cause updates if they are consumed and then changed\n        if (isTracking()) {\n          consumeTag(tagFor(obj, key));\n          if (Array.isArray(value)) {\n            consumeTag(tagFor(value, '[]'));\n          }\n        }\n        values.push(value);\n      }\n      return new this(keys, values);\n    }\n  }\n  static fromForEachable(obj) {\n    let keys = [];\n    let values = [];\n    let length = 0;\n    let isMapLike = false;\n    // Not using an arrow function here so we can get an accurate `arguments`\n    obj.forEach(function (value, key) {\n      isMapLike = isMapLike || arguments.length >= 2;\n      if (isMapLike) {\n        keys.push(key);\n      }\n      values.push(value);\n      length++;\n    });\n    if (length === 0) {\n      return null;\n    } else if (isMapLike) {\n      return new this(keys, values);\n    } else {\n      return new ArrayIterator(values);\n    }\n  }\n  constructor(keys, values) {\n    super(values.length);\n    this.keys = keys;\n    this.values = values;\n  }\n  valueFor(position) {\n    return this.values[position];\n  }\n  memoFor(position) {\n    return this.keys[position];\n  }\n}\nclass NativeIterator {\n  static from(iterable) {\n    let iterator = iterable[Symbol.iterator]();\n    let result = iterator.next();\n    let {\n      done\n    } = result;\n    if (done) {\n      return null;\n    } else {\n      return new this(iterator, result);\n    }\n  }\n  constructor(iterable, result) {\n    this.iterable = iterable;\n    this.result = result;\n    this.position = 0;\n  }\n  isEmpty() {\n    return false;\n  }\n  next() {\n    let {\n      iterable,\n      result,\n      position\n    } = this;\n    if (result.done) {\n      return null;\n    }\n    let value = this.valueFor(result, position);\n    let memo = this.memoFor(result, position);\n    this.position++;\n    this.result = iterable.next();\n    return {\n      value,\n      memo\n    };\n  }\n}\nclass ArrayLikeNativeIterator extends NativeIterator {\n  valueFor(result) {\n    return result.value;\n  }\n  memoFor(_result, position) {\n    return position;\n  }\n}\nclass MapLikeNativeIterator extends NativeIterator {\n  valueFor(result) {\n    return result.value[1];\n  }\n  memoFor(result) {\n    return result.value[0];\n  }\n}\nfunction hasForEach(value) {\n  return value != null && typeof value['forEach'] === 'function';\n}\nfunction isNativeIterable(value) {\n  return value != null && typeof value[Symbol.iterator] === 'function';\n}\nfunction isIndexable(value) {\n  return value !== null && (typeof value === 'object' || typeof value === 'function');\n}\n\nfunction toBool(predicate) {\n  if (isProxy(predicate)) {\n    consumeTag(tagForProperty(predicate, 'content'));\n    return Boolean(get(predicate, 'isTruthy'));\n  } else if (isArray(predicate)) {\n    consumeTag(tagForProperty(predicate, '[]'));\n    return predicate.length !== 0;\n  } else if (isHTMLSafe(predicate)) {\n    return Boolean(predicate.toString());\n  } else {\n    return Boolean(predicate);\n  }\n}\n\n///////////\n// Setup global context\nsetGlobalContext({\n  FEATURES: {\n    DEFAULT_HELPER_MANAGER: true\n  },\n  scheduleRevalidate() {\n    _backburner.ensureInstance();\n  },\n  toBool,\n  toIterator,\n  getProp: _getProp,\n  setProp: _setProp,\n  getPath: get,\n  setPath: set,\n  scheduleDestroy(destroyable, destructor) {\n    schedule('actions', null, destructor, destroyable);\n  },\n  scheduleDestroyed(finalizeDestructor) {\n    schedule('destroy', null, finalizeDestructor);\n  },\n  warnIfStyleNotTrusted(value) {\n    warn(constructStyleDeprecationMessage(String(value)), (() => {\n      if (value === null || value === undefined || isHTMLSafe$1(value)) {\n        return true;\n      }\n      return false;\n    })(), {\n      id: 'ember-htmlbars.style-xss-warning'\n    });\n  },\n  assert(test, msg, options) {\n    var _a;\n    if (DEBUG) {\n      let id = options === null || options === void 0 ? void 0 : options.id;\n      let override = VM_ASSERTION_OVERRIDES.filter(o => o.id === id)[0];\n      assert((_a = override === null || override === void 0 ? void 0 : override.message) !== null && _a !== void 0 ? _a : msg, test);\n    }\n  },\n  deprecate(msg, test, options) {\n    var _a;\n    if (DEBUG) {\n      let {\n        id\n      } = options;\n      if (id === 'argument-less-helper-paren-less-invocation') {\n        throw new Error(`A resolved helper cannot be passed as a named argument as the syntax is ` + `ambiguously a pass-by-reference or invocation. Use the ` + `\\`{{helper 'foo-helper}}\\` helper to pass by reference or explicitly ` + `invoke the helper with parens: \\`{{(fooHelper)}}\\`.`);\n      }\n      let override = VM_DEPRECATION_OVERRIDES.filter(o => o.id === id)[0];\n      if (!override) throw new Error(`deprecation override for ${id} not found`);\n      // allow deprecations to be disabled in the VM_DEPRECATION_OVERRIDES array below\n      if (!override.disabled) {\n        deprecate((_a = override.message) !== null && _a !== void 0 ? _a : msg, Boolean(test), override);\n      }\n    }\n  }\n});\nif (DEBUG) {\n  setTrackingTransactionEnv === null || setTrackingTransactionEnv === void 0 ? void 0 : setTrackingTransactionEnv({\n    debugMessage(obj, keyName) {\n      let dirtyString = keyName ? `\\`${keyName}\\` on \\`${getDebugName === null || getDebugName === void 0 ? void 0 : getDebugName(obj)}\\`` : `\\`${getDebugName === null || getDebugName === void 0 ? void 0 : getDebugName(obj)}\\``;\n      return `You attempted to update ${dirtyString}, but it had already been used previously in the same computation.  Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.`;\n    }\n  });\n}\n///////////\n// VM Assertion/Deprecation overrides\nconst VM_DEPRECATION_OVERRIDES = [{\n  id: 'setting-on-hash',\n  until: '4.4.0',\n  for: 'ember-source',\n  since: {\n    available: '3.28.0',\n    enabled: '3.28.0'\n  }\n}];\nconst VM_ASSERTION_OVERRIDES = [];\n///////////\n// Define environment delegate\nclass EmberEnvironmentDelegate {\n  constructor(owner, isInteractive) {\n    this.owner = owner;\n    this.isInteractive = isInteractive;\n    this.enableDebugTooling = ENV._DEBUG_RENDER_TREE;\n  }\n  onTransactionCommit() {}\n}\n\n/**\n@module ember\n*/\nvar disallowDynamicResolution = internalHelper(({\n  positional,\n  named\n}) => {\n  const nameOrValueRef = positional[0];\n  assert(`[BUG] wrong number of positional arguments, expecting 1, got ${positional.length}`, positional.length === 1 && nameOrValueRef);\n  let typeRef = named['type'];\n  let locRef = named['loc'];\n  let originalRef = named['original'];\n  assert(`[BUG] expecting \\`type\\` named argument`, typeRef);\n  assert(`[BUG] expecting \\`loc\\` named argument`, locRef);\n  assert(`[BUG] expecting \\`original\\` named argument`, originalRef);\n  // Bug: why do these fail?\n  // assert('[BUG] expecting a string literal for the `type` argument', isConstRef(typeRef));\n  // assert('[BUG] expecting a string literal for the `loc` argument', isConstRef(locRef));\n  // assert('[BUG] expecting a string literal for the `original` argument', isConstRef(originalRef));\n  const type = valueForRef(typeRef);\n  const loc = valueForRef(locRef);\n  const original = valueForRef(originalRef);\n  assert('[BUG] expecting a string literal for the `type` argument', typeof type === 'string');\n  assert('[BUG] expecting a string literal for the `loc` argument', typeof loc === 'string');\n  assert('[BUG] expecting a string literal for the `original` argument', typeof original === 'string');\n  return createComputeRef(() => {\n    let nameOrValue = valueForRef(nameOrValueRef);\n    assert(`Passing a dynamic string to the \\`(${type})\\` keyword is disallowed. ` + `(You specified \\`(${type} ${original})\\` and \\`${original}\\` evaluated into \"${nameOrValue}\".) ` + `This ensures we can statically analyze the template and determine which ${type}s are used. ` + `If the ${type} name is always the same, use a string literal instead, i.e. \\`(${type} \"${nameOrValue}\")\\`. ` + `Otherwise, import the ${type}s into JavaScript and pass them directly. ` + 'See https://github.com/emberjs/rfcs/blob/master/text/0496-handlebars-strict-mode.md#4-no-dynamic-resolution for details. ' + loc, typeof nameOrValue !== 'string');\n    return nameOrValue;\n  });\n});\n\nlet helper$1;\nif (DEBUG) {\n  helper$1 = args => {\n    const inner = args.positional[0];\n    assert('expected at least one positional arg', inner);\n    return createComputeRef(() => {\n      let value = valueForRef(inner);\n      assert('You cannot pass a null or undefined destination element to in-element', value !== null && value !== undefined);\n      return value;\n    });\n  };\n} else {\n  helper$1 = args => {\n    let arg = args.positional[0];\n    assert('expected at least one positional arg', arg);\n    return arg;\n  };\n}\nvar inElementNullCheckHelper = internalHelper(helper$1);\n\nvar normalizeClassHelper = internalHelper(({\n  positional\n}) => {\n  return createComputeRef(() => {\n    let classNameArg = positional[0];\n    let valueArg = positional[1];\n    assert('expected at least two positional args', classNameArg && valueArg);\n    let classNameParts = valueForRef(classNameArg).split('.');\n    let className = classNameParts[classNameParts.length - 1];\n    assert('has className', className); // Always at least one split result\n    let value = valueForRef(valueArg);\n    if (value === true) {\n      return dasherize(className);\n    } else if (!value && value !== 0) {\n      return '';\n    } else {\n      return String(value);\n    }\n  });\n});\n\nvar resolve = internalHelper(({\n  positional\n}, owner) => {\n  var _a;\n  // why is this allowed to be undefined in the first place?\n  assert('[BUG] missing owner', owner);\n  assert(`[BUG] wrong number of positional arguments, expecting 1, got ${positional.length}`, positional.length === 1);\n  let fullNameRef = positional[0];\n  assert('[BUG] expecting a string literal as argument', fullNameRef && isConstRef(fullNameRef));\n  let fullName = valueForRef(fullNameRef);\n  assert('[BUG] expecting a string literal as argument', typeof fullName === 'string');\n  assert('[BUG] expecting a valid full name', (s => s.split(':').length === 2)(fullName));\n  if (DEBUG) {\n    let [type, name] = fullName.split(':');\n    assert(`Attempted to invoke \\`(-resolve \"${fullName}\")\\`, but ${name} was not a valid ${type} name.`, owner.hasRegistration(fullName));\n  }\n  return createConstRef((_a = owner.factoryFor(fullName)) === null || _a === void 0 ? void 0 : _a.class, `(-resolve \"${fullName}\")`);\n});\n\n/**\n@module ember\n*/\n/**\n  This reference is used to get the `[]` tag of iterables, so we can trigger\n  updates to `{{each}}` when it changes. It is put into place by a template\n  transform at build time, similar to the (-each-in) helper\n*/\nvar trackArray = internalHelper(({\n  positional\n}) => {\n  const inner = positional[0];\n  assert('expected at least one positional arg', inner);\n  return createComputeRef(() => {\n    let iterable = valueForRef(inner);\n    if (isObject(iterable)) {\n      consumeTag(tagForProperty(iterable, '[]'));\n    }\n    return iterable;\n  });\n});\n\n/**\n@module ember\n*/\n/**\n  The `mut` helper lets you __clearly specify__ that a child `Component` can update the\n  (mutable) value passed to it, which will __change the value of the parent component__.\n\n  To specify that a parameter is mutable, when invoking the child `Component`:\n\n  ```handlebars\n  <MyChild @childClickCount={{fn (mut totalClicks)}} />\n  ```\n\n   or\n\n  ```handlebars\n  {{my-child childClickCount=(mut totalClicks)}}\n  ```\n\n  The child `Component` can then modify the parent's value just by modifying its own\n  property:\n\n  ```javascript\n  // my-child.js\n  export default Component.extend({\n    click() {\n      this.incrementProperty('childClickCount');\n    }\n  });\n  ```\n\n  Note that for curly components (`{{my-component}}`) the bindings are already mutable,\n  making the `mut` unnecessary.\n\n  Additionally, the `mut` helper can be combined with the `fn` helper to\n  mutate a value. For example:\n\n  ```handlebars\n  <MyChild @childClickCount={{this.totalClicks}} @click-count-change={{fn (mut totalClicks))}} />\n  ```\n\n  or\n\n  ```handlebars\n  {{my-child childClickCount=totalClicks click-count-change=(fn (mut totalClicks))}}\n  ```\n\n  The child `Component` would invoke the function with the new click value:\n\n  ```javascript\n  // my-child.js\n  export default Component.extend({\n    click() {\n      this.get('click-count-change')(this.get('childClickCount') + 1);\n    }\n  });\n  ```\n\n  The `mut` helper changes the `totalClicks` value to what was provided as the `fn` argument.\n\n  The `mut` helper, when used with `fn`, will return a function that\n  sets the value passed to `mut` to its first argument. As an example, we can create a\n  button that increments a value passing the value directly to the `fn`:\n\n  ```handlebars\n  {{! inc helper is not provided by Ember }}\n  <button onclick={{fn (mut count) (inc count)}}>\n    Increment count\n  </button>\n  ```\n\n  @method mut\n  @param {Object} [attr] the \"two-way\" attribute that can be modified.\n  @for Ember.Templates.helpers\n  @public\n*/\nvar mut = internalHelper(({\n  positional\n}) => {\n  let ref = positional[0];\n  assert('expected at least one positional arg', ref);\n  // TODO: Improve this error message. This covers at least two distinct\n  // cases:\n  //\n  // 1. (mut \"not a path\") – passing a literal, result from a helper\n  //    invocation, etc\n  //\n  // 2. (mut receivedValue) – passing a value received from the caller\n  //    that was originally derived from a literal, result from a helper\n  //    invocation, etc\n  //\n  // This message is alright for the first case, but could be quite\n  // confusing for the second case.\n  assert('You can only pass a path to mut', isUpdatableRef(ref));\n  return createInvokableRef(ref);\n});\n\n/**\n  The `readonly` helper let's you specify that a binding is one-way only,\n  instead of two-way.\n  When you pass a `readonly` binding from an outer context (e.g. parent component),\n  to to an inner context (e.g. child component), you are saying that changing that\n  property in the inner context does not change the value in the outer context.\n\n  To specify that a binding is read-only, when invoking the child `Component`:\n\n  ```app/components/my-parent.js\n  export default Component.extend({\n    totalClicks: 3\n  });\n  ```\n\n  ```app/templates/components/my-parent.hbs\n  {{log totalClicks}} // -> 3\n  <MyChild @childClickCount={{readonly totalClicks}} />\n  ```\n  ```\n  {{my-child childClickCount=(readonly totalClicks)}}\n  ```\n\n  Now, when you update `childClickCount`:\n\n  ```app/components/my-child.js\n  export default Component.extend({\n    click() {\n      this.incrementProperty('childClickCount');\n    }\n  });\n  ```\n\n  The value updates in the child component, but not the parent component:\n\n  ```app/templates/components/my-child.hbs\n  {{log childClickCount}} //-> 4\n  ```\n\n  ```app/templates/components/my-parent.hbs\n  {{log totalClicks}} //-> 3\n  <MyChild @childClickCount={{readonly totalClicks}} />\n  ```\n  or\n  ```app/templates/components/my-parent.hbs\n  {{log totalClicks}} //-> 3\n  {{my-child childClickCount=(readonly totalClicks)}}\n  ```\n\n  ### Objects and Arrays\n\n  When passing a property that is a complex object (e.g. object, array) instead of a primitive object (e.g. number, string),\n  only the reference to the object is protected using the readonly helper.\n  This means that you can change properties of the object both on the parent component, as well as the child component.\n  The `readonly` binding behaves similar to the `const` keyword in JavaScript.\n\n  Let's look at an example:\n\n  First let's set up the parent component:\n\n  ```app/components/my-parent.js\n  import Component from '@ember/component';\n\n  export default Component.extend({\n    clicks: null,\n\n    init() {\n      this._super(...arguments);\n      this.set('clicks', { total: 3 });\n    }\n  });\n  ```\n\n  ```app/templates/components/my-parent.hbs\n  {{log clicks.total}} //-> 3\n  <MyChild @childClicks={{readonly clicks}} />\n  ```\n  ```app/templates/components/my-parent.hbs\n  {{log clicks.total}} //-> 3\n  {{my-child childClicks=(readonly clicks)}}\n  ```\n\n  Now, if you update the `total` property of `childClicks`:\n\n  ```app/components/my-child.js\n  import Component from '@ember/component';\n\n  export default Component.extend({\n    click() {\n      this.get('clicks').incrementProperty('total');\n    }\n  });\n  ```\n\n  You will see the following happen:\n\n  ```app/templates/components/my-parent.hbs\n  {{log clicks.total}} //-> 4\n  <MyChild @childClicks={{readonly clicks}} />\n  ```\n  or\n  ```app/templates/components/my-parent.hbs\n  {{log clicks.total}} //-> 4\n  {{my-child childClicks=(readonly clicks)}}\n  ```\n\n  ```app/templates/components/my-child.hbs\n  {{log childClicks.total}} //-> 4\n  ```\n\n  @method readonly\n  @param {Object} [attr] the read-only attribute.\n  @for Ember.Templates.helpers\n  @private\n*/\nvar readonly = internalHelper(({\n  positional\n}) => {\n  let firstArg = positional[0];\n  assert('has first arg', firstArg);\n  return createReadOnlyRef(firstArg);\n});\n\n/**\n@module ember\n*/\n/**\n  The `{{unbound}}` helper disconnects the one-way binding of a property,\n  essentially freezing its value at the moment of rendering. For example,\n  in this example the display of the variable `name` will not change even\n  if it is set with a new value:\n\n  ```handlebars\n  {{unbound this.name}}\n  ```\n\n  Like any helper, the `unbound` helper can accept a nested helper expression.\n  This allows for custom helpers to be rendered unbound:\n\n  ```handlebars\n  {{unbound (some-custom-helper)}}\n  {{unbound (capitalize this.name)}}\n  {{! You can use any helper, including unbound, in a nested expression }}\n  {{capitalize (unbound this.name)}}\n  ```\n\n  The `unbound` helper only accepts a single argument, and it return an\n  unbound value.\n\n  @method unbound\n  @for Ember.Templates.helpers\n  @public\n*/\nvar unbound = internalHelper(({\n  positional,\n  named\n}) => {\n  assert('unbound helper cannot be called with multiple params or hash params', positional.length === 1 && Object.keys(named).length === 0);\n  return createUnboundRef(valueForRef(positional[0]), '(result of an `unbound` helper)');\n});\n\n/**\n@module ember\n*/\nvar uniqueId = internalHelper(() => {\n  return createConstRef(uniqueId$1(), 'unique-id');\n});\n// From https://gist.github.com/selfish/fef2c0ba6cdfe07af76e64cecd74888b\n//\n// This code should be reasonably fast, and provide a unique value every time\n// it's called, which is what we need here. It produces a string formatted as a\n// standard UUID, which avoids accidentally turning Ember-specific\n// implementation details into an intimate API. It also ensures that the UUID\n// always starts with a letter, to avoid creating invalid IDs with a numeric\n// digit at the start.\nfunction uniqueId$1() {\n  // @ts-expect-error this one-liner abuses weird JavaScript semantics that\n  // TypeScript (legitimately) doesn't like, but they're nonetheless valid and\n  // specced.\n  return ([3e7] + -1e3 + -4e3 + -2e3 + -1e11).replace(/[0-3]/g, a => (a * 4 ^ Math.random() * 16 >> (a & 2)).toString(16));\n}\n\nconst MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\nconst POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\nfunction isAllowedEvent(event, allowedKeys) {\n  if (allowedKeys === null || allowedKeys === undefined) {\n    if (POINTER_EVENT_TYPE_REGEX.test(event.type)) {\n      return isSimpleClick(event);\n    } else {\n      allowedKeys = '';\n    }\n  }\n  if (allowedKeys.indexOf('any') >= 0) {\n    return true;\n  }\n  for (let i = 0; i < MODIFIERS.length; i++) {\n    if (event[MODIFIERS[i] + 'Key'] && allowedKeys.indexOf(MODIFIERS[i]) === -1) {\n      return false;\n    }\n  }\n  return true;\n}\nlet ActionHelper = {\n  // registeredActions is re-exported for compatibility with older plugins\n  // that were using this undocumented API.\n  registeredActions: ActionManager.registeredActions,\n  registerAction(actionState) {\n    let {\n      actionId\n    } = actionState;\n    ActionManager.registeredActions[actionId] = actionState;\n    return actionId;\n  },\n  unregisterAction(actionState) {\n    let {\n      actionId\n    } = actionState;\n    delete ActionManager.registeredActions[actionId];\n  }\n};\nclass ActionState {\n  constructor(element, owner, actionId, actionArgs, namedArgs, positionalArgs) {\n    this.tag = createUpdatableTag();\n    this.element = element;\n    this.owner = owner;\n    this.actionId = actionId;\n    this.actionArgs = actionArgs;\n    this.namedArgs = namedArgs;\n    this.positional = positionalArgs;\n    this.eventName = this.getEventName();\n    registerDestructor(this, () => ActionHelper.unregisterAction(this));\n  }\n  getEventName() {\n    let {\n      on: on$$1\n    } = this.namedArgs;\n    return on$$1 !== undefined ? valueForRef(on$$1) : 'click';\n  }\n  getActionArgs() {\n    let result = new Array(this.actionArgs.length);\n    for (let i = 0; i < this.actionArgs.length; i++) {\n      result[i] = valueForRef(this.actionArgs[i]);\n    }\n    return result;\n  }\n  getTarget() {\n    let {\n      implicitTarget,\n      namedArgs\n    } = this;\n    let {\n      target\n    } = namedArgs;\n    return target !== undefined ? valueForRef(target) : valueForRef(implicitTarget);\n  }\n  handler(event) {\n    let {\n      actionName,\n      namedArgs\n    } = this;\n    let {\n      bubbles,\n      preventDefault,\n      allowedKeys\n    } = namedArgs;\n    let bubblesVal = bubbles !== undefined ? valueForRef(bubbles) : undefined;\n    let preventDefaultVal = preventDefault !== undefined ? valueForRef(preventDefault) : undefined;\n    let allowedKeysVal = allowedKeys !== undefined ? valueForRef(allowedKeys) : undefined;\n    let target = this.getTarget();\n    let shouldBubble = bubblesVal !== false;\n    if (!isAllowedEvent(event, allowedKeysVal)) {\n      return true;\n    }\n    if (preventDefaultVal !== false) {\n      event.preventDefault();\n    }\n    if (!shouldBubble) {\n      event.stopPropagation();\n    }\n    join(() => {\n      let args = this.getActionArgs();\n      let payload = {\n        args,\n        target,\n        name: null\n      };\n      if (isInvokableRef(actionName)) {\n        flaggedInstrument('interaction.ember-action', payload, () => {\n          updateRef(actionName, args[0]);\n        });\n        return;\n      }\n      if (typeof actionName === 'function') {\n        flaggedInstrument('interaction.ember-action', payload, () => {\n          actionName.apply(target, args);\n        });\n        return;\n      }\n      payload.name = actionName;\n      if (target.send) {\n        flaggedInstrument('interaction.ember-action', payload, () => {\n          target.send.apply(target, [actionName, ...args]);\n        });\n      } else {\n        assert(`The action '${actionName}' did not exist on ${target}`, typeof target[actionName] === 'function');\n        flaggedInstrument('interaction.ember-action', payload, () => {\n          target[actionName].apply(target, args);\n        });\n      }\n    });\n    return shouldBubble;\n  }\n}\nclass ActionModifierManager {\n  create(owner, element, _state, {\n    named,\n    positional\n  }) {\n    let actionArgs = [];\n    // The first two arguments are (1) `this` and (2) the action name.\n    // Everything else is a param.\n    for (let i = 2; i < positional.length; i++) {\n      actionArgs.push(positional[i]);\n    }\n    let actionId = uuid();\n    return new ActionState(element, owner, actionId, actionArgs, named, positional);\n  }\n  getDebugName() {\n    return 'action';\n  }\n  install(actionState) {\n    let {\n      element,\n      actionId,\n      positional\n    } = actionState;\n    let actionName;\n    let actionNameRef;\n    let implicitTarget;\n    if (positional.length > 1) {\n      implicitTarget = positional[0];\n      actionNameRef = positional[1];\n      if (isInvokableRef(actionNameRef)) {\n        actionName = actionNameRef;\n      } else {\n        actionName = valueForRef(actionNameRef);\n        if (DEBUG) {\n          let actionPath = actionNameRef.debugLabel;\n          let actionPathParts = actionPath.split('.');\n          let actionLabel = actionPathParts[actionPathParts.length - 1];\n          assert('You specified a quoteless path, `' + actionPath + '`, to the ' + '{{action}} helper which did not resolve to an action name (a ' + 'string). Perhaps you meant to use a quoted actionName? (e.g. ' + '{{action \"' + actionLabel + '\"}}).', typeof actionName === 'string' || typeof actionName === 'function');\n        }\n      }\n    }\n    actionState.actionName = actionName;\n    actionState.implicitTarget = implicitTarget;\n    this.ensureEventSetup(actionState);\n    ActionHelper.registerAction(actionState);\n    element.setAttribute('data-ember-action', '');\n    element.setAttribute(`data-ember-action-${actionId}`, String(actionId));\n  }\n  update(actionState) {\n    let {\n      positional\n    } = actionState;\n    let actionNameRef = positional[1];\n    assert('Expected at least one positional arg', actionNameRef);\n    if (!isInvokableRef(actionNameRef)) {\n      actionState.actionName = valueForRef(actionNameRef);\n    }\n    let newEventName = actionState.getEventName();\n    if (newEventName !== actionState.eventName) {\n      this.ensureEventSetup(actionState);\n      actionState.eventName = actionState.getEventName();\n    }\n  }\n  ensureEventSetup(actionState) {\n    let dispatcher = actionState.owner.lookup('event_dispatcher:main');\n    assert('Expected dispatcher to be an EventDispatcher', dispatcher instanceof EventDispatcher);\n    dispatcher === null || dispatcher === void 0 ? void 0 : dispatcher.setupHandlerForEmberEvent(actionState.eventName);\n  }\n  getTag(actionState) {\n    return actionState.tag;\n  }\n  getDestroyable(actionState) {\n    return actionState;\n  }\n}\nconst ACTION_MODIFIER_MANAGER = new ActionModifierManager();\nvar actionModifier = setInternalModifierManager(ACTION_MODIFIER_MANAGER, {});\n\nconst CAPABILITIES$2 = {\n  dynamicLayout: true,\n  dynamicTag: false,\n  prepareArgs: false,\n  createArgs: true,\n  attributeHook: false,\n  elementHook: false,\n  createCaller: true,\n  dynamicScope: true,\n  updateHook: true,\n  createInstance: true,\n  wrapped: false,\n  willDestroy: false,\n  hasSubOwner: true\n};\nclass MountManager {\n  getDynamicLayout(state) {\n    let templateFactory$$1 = state.engine.lookup('template:application');\n    return unwrapTemplate(templateFactory$$1(state.engine)).asLayout();\n  }\n  getCapabilities() {\n    return CAPABILITIES$2;\n  }\n  getOwner(state) {\n    return state.engine;\n  }\n  create(owner, {\n    name\n  }, args, env) {\n    // TODO\n    // mount is a runtime helper, this shouldn't use dynamic layout\n    // we should resolve the engine app template in the helper\n    // it also should use the owner that looked up the mount helper.\n    assert('Expected owner to be an EngineInstance', owner instanceof EngineInstance);\n    let engine = owner.buildChildEngineInstance(name);\n    engine.boot();\n    let applicationFactory = engine.factoryFor(`controller:application`);\n    let controllerFactory = applicationFactory || generateControllerFactory(engine, 'application');\n    let controller;\n    let self;\n    let bucket;\n    let modelRef;\n    if (args.named.has('model')) {\n      modelRef = args.named.get('model');\n    }\n    if (modelRef === undefined) {\n      controller = controllerFactory.create();\n      self = createConstRef(controller, 'this');\n      bucket = {\n        engine,\n        controller,\n        self,\n        modelRef\n      };\n    } else {\n      let model = valueForRef(modelRef);\n      controller = controllerFactory.create({\n        model\n      });\n      self = createConstRef(controller, 'this');\n      bucket = {\n        engine,\n        controller,\n        self,\n        modelRef\n      };\n    }\n    if (env.debugRenderTree) {\n      associateDestroyableChild(engine, controller);\n    }\n    return bucket;\n  }\n  getDebugName({\n    name\n  }) {\n    return name;\n  }\n  getDebugCustomRenderTree(definition, state, args, templateModuleName) {\n    return [{\n      bucket: state.engine,\n      instance: state.engine,\n      type: 'engine',\n      name: definition.name,\n      args\n    }, {\n      bucket: state.controller,\n      instance: state.controller,\n      type: 'route-template',\n      name: 'application',\n      args,\n      template: templateModuleName\n    }];\n  }\n  getSelf({\n    self\n  }) {\n    return self;\n  }\n  getDestroyable(bucket) {\n    return bucket.engine;\n  }\n  didCreate() {}\n  didUpdate() {}\n  didRenderLayout() {}\n  didUpdateLayout() {}\n  update(bucket) {\n    let {\n      controller,\n      modelRef\n    } = bucket;\n    if (modelRef !== undefined) {\n      controller.set('model', valueForRef(modelRef));\n    }\n  }\n}\nconst MOUNT_MANAGER = new MountManager();\nclass MountDefinition {\n  constructor(resolvedName) {\n    this.resolvedName = resolvedName;\n    // handle is not used by this custom definition\n    this.handle = -1;\n    this.manager = MOUNT_MANAGER;\n    this.compilable = null;\n    this.capabilities = capabilityFlagsFrom(CAPABILITIES$2);\n    this.state = {\n      name: resolvedName\n    };\n  }\n}\n\n/**\n  The `{{mount}}` helper lets you embed a routeless engine in a template.\n  Mounting an engine will cause an instance to be booted and its `application`\n  template to be rendered.\n\n  For example, the following template mounts the `ember-chat` engine:\n\n  ```handlebars\n  {{! application.hbs }}\n  {{mount \"ember-chat\"}}\n  ```\n\n  Additionally, you can also pass in a `model` argument that will be\n  set as the engines model. This can be an existing object:\n\n  ```\n  <div>\n    {{mount 'admin' model=userSettings}}\n  </div>\n  ```\n\n  Or an inline `hash`, and you can even pass components:\n\n  ```\n  <div>\n    <h1>Application template!</h1>\n    {{mount 'admin' model=(hash\n        title='Secret Admin'\n        signInButton=(component 'sign-in-button')\n    )}}\n  </div>\n  ```\n\n  @method mount\n  @param {String} name Name of the engine to mount.\n  @param {Object} [model] Object that will be set as\n                          the model of the engine.\n  @for Ember.Templates.helpers\n  @public\n*/\nconst mountHelper = internalHelper((args, owner) => {\n  assert('{{mount}} must be used within a component that has an owner', owner);\n  let nameRef = args.positional[0];\n  let captured;\n  assert('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', args.positional.length === 1);\n  if (DEBUG && args.named) {\n    let keys = Object.keys(args.named);\n    let extra = keys.filter(k => k !== 'model');\n    assert('You can only pass a `model` argument to the {{mount}} helper, ' + 'e.g. {{mount \"profile-engine\" model=this.profile}}. ' + `You passed ${extra.join(',')}.`, extra.length === 0);\n  }\n  captured = createCapturedArgs(args.named, EMPTY_POSITIONAL);\n  let lastName, lastDef;\n  return createComputeRef(() => {\n    let name = valueForRef(nameRef);\n    if (typeof name === 'string') {\n      if (lastName === name) {\n        return lastDef;\n      }\n      assert(`You used \\`{{mount '${name}'}}\\`, but the engine '${name}' can not be found.`, owner.hasRegistration(`engine:${name}`));\n      lastName = name;\n      lastDef = curry(0 /* CurriedType.Component */, new MountDefinition(name), owner, captured, true);\n      return lastDef;\n    } else {\n      assert(`Invalid engine name '${name}' specified, engine name must be either a string, null or undefined.`, name === null || name === undefined);\n      lastDef = null;\n      lastName = null;\n      return null;\n    }\n  });\n});\n\n/**\n  The `{{outlet}}` helper lets you specify where a child route will render in\n  your template. An important use of the `{{outlet}}` helper is in your\n  application's `application.hbs` file:\n\n  ```app/templates/application.hbs\n  <MyHeader />\n\n  <div class=\"my-dynamic-content\">\n    <!-- this content will change based on the current route, which depends on the current URL -->\n    {{outlet}}\n  </div>\n\n  <MyFooter />\n  ```\n\n  See the [routing guide](https://guides.emberjs.com/release/routing/rendering-a-template/) for more\n  information on how your `route` interacts with the `{{outlet}}` helper.\n  Note: Your content __will not render__ if there isn't an `{{outlet}}` for it.\n\n  @method outlet\n  @for Ember.Templates.helpers\n  @public\n*/\nconst outletHelper = internalHelper((_args, owner, scope) => {\n  assert('Expected owner to be present, {{outlet}} requires an owner', owner);\n  assert('Expected dynamic scope to be present. You may have attempted to use the {{outlet}} keyword dynamically. This keyword cannot be used dynamically.', scope);\n  let outletRef = createComputeRef(() => {\n    let state = valueForRef(scope.get('outletState'));\n    let outlets = state !== undefined ? state.outlets : undefined;\n    return outlets !== undefined ? outlets['main'] : undefined;\n  });\n  let lastState = null;\n  let definition = null;\n  return createComputeRef(() => {\n    var _a, _b;\n    let outletState = valueForRef(outletRef);\n    let state = stateFor(outletRef, outletState);\n    if (!validate(state, lastState)) {\n      lastState = state;\n      if (state !== null) {\n        let named = dict();\n        // Create a ref for the model\n        let modelRef = childRefFromParts(outletRef, ['render', 'model']);\n        // Store the value of the model\n        let model = valueForRef(modelRef);\n        // Create a compute ref which we pass in as the `{{@model}}` reference\n        // for the outlet. This ref will update and return the value of the\n        // model _until_ the outlet itself changes. Once the outlet changes,\n        // dynamic scope also changes, and so the original model ref would not\n        // provide the correct updated value. So we stop updating and return\n        // the _last_ model value for that outlet.\n        named['model'] = createComputeRef(() => {\n          if (lastState === state) {\n            model = valueForRef(modelRef);\n          }\n          return model;\n        });\n        if (DEBUG) {\n          named['model'] = createDebugAliasRef('@model', named['model']);\n        }\n        let args = createCapturedArgs(named, EMPTY_POSITIONAL);\n        definition = curry(0 /* CurriedType.Component */, new OutletComponentDefinition(state), (_b = (_a = outletState === null || outletState === void 0 ? void 0 : outletState.render) === null || _a === void 0 ? void 0 : _a.owner) !== null && _b !== void 0 ? _b : owner, args, true);\n      } else {\n        definition = null;\n      }\n    }\n    return definition;\n  });\n});\nfunction stateFor(ref, outlet) {\n  if (outlet === undefined) return null;\n  let render = outlet.render;\n  if (render === undefined) return null;\n  let template = render.template;\n  if (template === undefined) return null;\n  // this guard can be removed once @ember/test-helpers@1.6.0 has \"aged out\"\n  // and is no longer considered supported\n  if (isTemplateFactory(template)) {\n    template = template(render.owner);\n  }\n  return {\n    ref,\n    name: render.name,\n    outlet: render.outlet,\n    template,\n    controller: render.controller,\n    model: render.model\n  };\n}\nfunction validate(state, lastState) {\n  if (state === null) {\n    return lastState === null;\n  }\n  if (lastState === null) {\n    return false;\n  }\n  return state.template === lastState.template && state.controller === lastState.controller;\n}\n\nfunction instrumentationPayload$1(name) {\n  return {\n    object: `component:${name}`\n  };\n}\nfunction componentFor(name, owner) {\n  let fullName = `component:${name}`;\n  return owner.factoryFor(fullName) || null;\n}\nfunction layoutFor(name, owner, options) {\n  let templateFullName = `template:components/${name}`;\n  return owner.lookup(templateFullName, options) || null;\n}\nfunction lookupComponentPair(owner, name, options) {\n  let component = componentFor(name, owner);\n  if (isFactory(component) && component.class) {\n    let layout = getComponentTemplate(component.class);\n    if (layout !== undefined) {\n      return {\n        component,\n        layout\n      };\n    }\n  }\n  let layout = layoutFor(name, owner, options);\n  if (component === null && layout === null) {\n    return null;\n  } else {\n    return {\n      component,\n      layout\n    };\n  }\n}\nconst BUILTIN_KEYWORD_HELPERS = {\n  action: action$1,\n  mut,\n  readonly,\n  unbound,\n  '-hash': hash,\n  '-each-in': eachIn,\n  '-normalize-class': normalizeClassHelper,\n  '-resolve': resolve,\n  '-track-array': trackArray,\n  '-mount': mountHelper,\n  '-outlet': outletHelper,\n  '-in-el-null': inElementNullCheckHelper\n};\nconst BUILTIN_HELPERS = Object.assign(Object.assign({}, BUILTIN_KEYWORD_HELPERS), {\n  array,\n  concat,\n  fn,\n  get: get$1,\n  hash,\n  'unique-id': uniqueId\n});\nif (DEBUG) {\n  BUILTIN_HELPERS['-disallow-dynamic-resolution'] = disallowDynamicResolution;\n} else {\n  // Bug: this may be a quirk of our test setup?\n  // In prod builds, this is a no-op helper and is unused in practice. We shouldn't need\n  // to add it at all, but the current test build doesn't produce a \"prod compiler\", so\n  // we ended up running the debug-build for the template compliler in prod tests. Once\n  // that is fixed, this can be removed. For now, this allows the test to work and does\n  // not really harm anything, since it's just a no-op pass-through helper and the bytes\n  // has to be included anyway. In the future, perhaps we can avoid the latter by using\n  // `import(...)`?\n  BUILTIN_HELPERS['-disallow-dynamic-resolution'] = disallowDynamicResolution;\n}\nconst BUILTIN_KEYWORD_MODIFIERS = {\n  action: actionModifier\n};\nconst BUILTIN_MODIFIERS = Object.assign(Object.assign({}, BUILTIN_KEYWORD_MODIFIERS), {\n  on\n});\nconst CLASSIC_HELPER_MANAGER_ASSOCIATED = new _WeakSet();\nclass ResolverImpl {\n  constructor() {\n    this.componentDefinitionCache = new Map();\n  }\n  lookupPartial() {\n    return null;\n  }\n  lookupHelper(name, owner) {\n    assert(`You attempted to overwrite the built-in helper \"${name}\" which is not allowed. Please rename the helper.`, !(BUILTIN_HELPERS[name] && owner.hasRegistration(`helper:${name}`)));\n    let helper$$1 = BUILTIN_HELPERS[name];\n    if (helper$$1 !== undefined) {\n      return helper$$1;\n    }\n    let factory = owner.factoryFor(`helper:${name}`);\n    if (factory === undefined) {\n      return null;\n    }\n    let definition = factory.class;\n    if (definition === undefined) {\n      return null;\n    }\n    if (typeof definition === 'function' && isClassicHelper(definition)) {\n      // For classic class based helpers, we need to pass the factoryFor result itself rather\n      // than the raw value (`factoryFor(...).class`). This is because injections are already\n      // bound in the factoryFor result, including type-based injections\n      if (DEBUG) {\n        // In DEBUG we need to only set the associated value once, otherwise\n        // we'll trigger an assertion\n        if (!CLASSIC_HELPER_MANAGER_ASSOCIATED.has(factory)) {\n          CLASSIC_HELPER_MANAGER_ASSOCIATED.add(factory);\n          setInternalHelperManager(CLASSIC_HELPER_MANAGER, factory);\n        }\n      } else {\n        setInternalHelperManager(CLASSIC_HELPER_MANAGER, factory);\n      }\n      return factory;\n    }\n    return definition;\n  }\n  lookupBuiltInHelper(name) {\n    var _a;\n    return (_a = BUILTIN_KEYWORD_HELPERS[name]) !== null && _a !== void 0 ? _a : null;\n  }\n  lookupModifier(name, owner) {\n    let builtin = BUILTIN_MODIFIERS[name];\n    if (builtin !== undefined) {\n      return builtin;\n    }\n    let modifier = owner.factoryFor(`modifier:${name}`);\n    if (modifier === undefined) {\n      return null;\n    }\n    return modifier.class || null;\n  }\n  lookupBuiltInModifier(name) {\n    var _a;\n    return (_a = BUILTIN_KEYWORD_MODIFIERS[name]) !== null && _a !== void 0 ? _a : null;\n  }\n  lookupComponent(name, owner) {\n    let pair = lookupComponentPair(owner, name);\n    if (pair === null) {\n      assert('Could not find component `<TextArea />` (did you mean `<Textarea />`?)', name !== 'text-area');\n      return null;\n    }\n    let template = null;\n    let key;\n    if (pair.component === null) {\n      key = template = pair.layout(owner);\n    } else {\n      key = pair.component;\n    }\n    let cachedComponentDefinition = this.componentDefinitionCache.get(key);\n    if (cachedComponentDefinition !== undefined) {\n      return cachedComponentDefinition;\n    }\n    if (template === null && pair.layout !== null) {\n      template = pair.layout(owner);\n    }\n    let finalizer = _instrumentStart('render.getComponentDefinition', instrumentationPayload$1, name);\n    let definition = null;\n    if (pair.component === null) {\n      if (ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n        definition = {\n          state: templateOnlyComponent(undefined, name),\n          manager: TEMPLATE_ONLY_COMPONENT_MANAGER,\n          template\n        };\n      } else {\n        let factory = owner.factoryFor(privatize`component:-default`);\n        let manager = getInternalComponentManager(factory.class);\n        definition = {\n          state: factory,\n          manager,\n          template\n        };\n      }\n    } else {\n      let factory = pair.component;\n      assert(`missing component class ${name}`, factory.class !== undefined);\n      let ComponentClass = factory.class;\n      let manager = getInternalComponentManager(ComponentClass);\n      definition = {\n        state: isCurlyManager(manager) ? factory : ComponentClass,\n        manager,\n        template\n      };\n    }\n    finalizer();\n    this.componentDefinitionCache.set(key, definition);\n    assert('Could not find component `<TextArea />` (did you mean `<Textarea />`?)', !(definition === null && name === 'text-area'));\n    return definition;\n  }\n}\n\n// We use the `InternalOwner` notion here because we actually need all of its\nconst TOP_LEVEL_NAME = '-top-level';\nconst TOP_LEVEL_OUTLET = 'main';\nclass OutletView {\n  static extend(injections) {\n    return class extends OutletView {\n      static create(options) {\n        if (options) {\n          return super.create(Object.assign({}, injections, options));\n        } else {\n          return super.create(injections);\n        }\n      }\n    };\n  }\n  static reopenClass(injections) {\n    Object.assign(this, injections);\n  }\n  static create(options) {\n    let {\n      environment: _environment,\n      application: namespace,\n      template: templateFactory$$1\n    } = options;\n    let owner = getOwner(options);\n    assert('OutletView is unexpectedly missing an owner', owner);\n    let template = templateFactory$$1(owner);\n    return new OutletView(_environment, owner, template, namespace);\n  }\n  constructor(_environment, owner, template, namespace) {\n    this._environment = _environment;\n    this.owner = owner;\n    this.template = template;\n    this.namespace = namespace;\n    let outletStateTag = createTag();\n    let outletState = {\n      outlets: {\n        main: undefined\n      },\n      render: {\n        owner: owner,\n        into: undefined,\n        outlet: TOP_LEVEL_OUTLET,\n        name: TOP_LEVEL_NAME,\n        controller: undefined,\n        model: undefined,\n        template\n      }\n    };\n    let ref = this.ref = createComputeRef(() => {\n      consumeTag(outletStateTag);\n      return outletState;\n    }, state => {\n      dirtyTag(outletStateTag);\n      outletState.outlets['main'] = state;\n    });\n    this.state = {\n      ref,\n      name: TOP_LEVEL_NAME,\n      outlet: TOP_LEVEL_OUTLET,\n      template,\n      controller: undefined,\n      model: undefined\n    };\n  }\n  appendTo(selector) {\n    let target;\n    if (this._environment.hasDOM) {\n      target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n    } else {\n      target = selector;\n    }\n    let renderer = this.owner.lookup('renderer:-dom');\n    // SAFETY: It's not clear that this cast is safe.\n    // The types for appendOutletView may be incorrect or this is a potential bug.\n    schedule('render', renderer, 'appendOutletView', this, target);\n  }\n  rerender() {\n    /**/\n  }\n  setOutletState(state) {\n    updateRef(this.ref, state);\n  }\n  destroy() {\n    /**/\n  }\n}\n\nclass DynamicScope {\n  constructor(view, outletState) {\n    this.view = view;\n    this.outletState = outletState;\n  }\n  child() {\n    return new DynamicScope(this.view, this.outletState);\n  }\n  get(key) {\n    assert(`Using \\`-get-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`, key === 'outletState');\n    return this.outletState;\n  }\n  set(key, value) {\n    assert(`Using \\`-with-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`, key === 'outletState');\n    this.outletState = value;\n    return value;\n  }\n}\nconst NO_OP = () => {};\n// This wrapper logic prevents us from rerendering in case of a hard failure\n// during render. This prevents infinite revalidation type loops from occuring,\n// and ensures that errors are not swallowed by subsequent follow on failures.\nfunction errorLoopTransaction(fn$$1) {\n  if (DEBUG) {\n    return () => {\n      let didError = true;\n      try {\n        fn$$1();\n        didError = false;\n      } finally {\n        if (didError) {\n          // Noop the function so that we won't keep calling it and causing\n          // infinite looping failures;\n          fn$$1 = () => {\n            // eslint-disable-next-line no-console\n            console.warn('Attempted to rerender, but the Ember application has had an unrecoverable error occur during render. You should reload the application after fixing the cause of the error.');\n          };\n        }\n      }\n    };\n  } else {\n    return fn$$1;\n  }\n}\nclass RootState {\n  constructor(root, runtime, context, owner, template, self, parentElement, dynamicScope, builder) {\n    this.root = root;\n    this.runtime = runtime;\n    assert(`You cannot render \\`${valueForRef(self)}\\` without a template.`, template !== undefined);\n    this.id = root instanceof OutletView ? guidFor(root) : getViewId(root);\n    this.result = undefined;\n    this.destroyed = false;\n    this.render = errorLoopTransaction(() => {\n      let layout = unwrapTemplate(template).asLayout();\n      let iterator = renderMain(runtime, context, owner, self, builder(runtime.env, {\n        element: parentElement,\n        nextSibling: null\n      }), layout, dynamicScope);\n      let result = this.result = iterator.sync();\n      // override .render function after initial render\n      this.render = errorLoopTransaction(() => result.rerender({\n        alwaysRevalidate: false\n      }));\n    });\n  }\n  isFor(possibleRoot) {\n    return this.root === possibleRoot;\n  }\n  destroy() {\n    let {\n      result,\n      runtime: {\n        env\n      }\n    } = this;\n    this.destroyed = true;\n    this.runtime = undefined;\n    this.root = null;\n    this.result = undefined;\n    this.render = undefined;\n    if (result !== undefined) {\n      /*\n       Handles these scenarios:\n              * When roots are removed during standard rendering process, a transaction exists already\n         `.begin()` / `.commit()` are not needed.\n       * When roots are being destroyed manually (`component.append(); component.destroy() case), no\n         transaction exists already.\n       * When roots are being destroyed during `Renderer#destroy`, no transaction exists\n              */\n      inTransaction(env, () => destroy(result));\n    }\n  }\n}\nconst renderers = [];\nfunction _resetRenderers() {\n  renderers.length = 0;\n}\nfunction register(renderer) {\n  assert('Cannot register the same renderer twice', renderers.indexOf(renderer) === -1);\n  renderers.push(renderer);\n}\nfunction deregister(renderer) {\n  let index = renderers.indexOf(renderer);\n  assert('Cannot deregister unknown unregistered renderer', index !== -1);\n  renderers.splice(index, 1);\n}\nfunction loopBegin() {\n  for (let renderer of renderers) {\n    renderer._scheduleRevalidate();\n  }\n}\nlet renderSettledDeferred = null;\n/*\n  Returns a promise which will resolve when rendering has settled. Settled in\n  this context is defined as when all of the tags in use are \"current\" (e.g.\n  `renderers.every(r => r._isValid())`). When this is checked at the _end_ of\n  the run loop, this essentially guarantees that all rendering is completed.\n\n  @method renderSettled\n  @returns {Promise<void>} a promise which fulfills when rendering has settled\n*/\nfunction renderSettled() {\n  if (renderSettledDeferred === null) {\n    renderSettledDeferred = RSVP.defer();\n    // if there is no current runloop, the promise created above will not have\n    // a chance to resolve (because its resolved in backburner's \"end\" event)\n    if (!_getCurrentRunLoop()) {\n      // ensure a runloop has been kicked off\n      _backburner.schedule('actions', null, NO_OP);\n    }\n  }\n  return renderSettledDeferred.promise;\n}\nfunction resolveRenderPromise() {\n  if (renderSettledDeferred !== null) {\n    let resolve = renderSettledDeferred.resolve;\n    renderSettledDeferred = null;\n    _backburner.join(null, resolve);\n  }\n}\nlet loops = 0;\nfunction loopEnd() {\n  for (let renderer of renderers) {\n    if (!renderer._isValid()) {\n      if (loops > ENV._RERENDER_LOOP_LIMIT) {\n        loops = 0;\n        // TODO: do something better\n        renderer.destroy();\n        throw new Error('infinite rendering invalidation detected');\n      }\n      loops++;\n      return _backburner.join(null, NO_OP);\n    }\n  }\n  loops = 0;\n  resolveRenderPromise();\n}\n_backburner.on('begin', loopBegin);\n_backburner.on('end', loopEnd);\nclass Renderer {\n  static create(props) {\n    let {\n      _viewRegistry\n    } = props;\n    let owner = getOwner(props);\n    assert('Renderer is unexpectedly missing an owner', owner);\n    let document = owner.lookup('service:-document');\n    let env = owner.lookup('-environment:main');\n    let rootTemplate = owner.lookup(privatize`template:-root`);\n    let builder = owner.lookup('service:-dom-builder');\n    return new this(owner, document, env, rootTemplate, _viewRegistry, builder);\n  }\n  constructor(owner, document, env, rootTemplate, viewRegistry, builder = clientBuilder) {\n    this._inRenderTransaction = false;\n    this._lastRevision = -1;\n    this._destroyed = false;\n    this._owner = owner;\n    this._rootTemplate = rootTemplate(owner);\n    this._viewRegistry = viewRegistry || owner.lookup('-view-registry:main');\n    this._roots = [];\n    this._removedRoots = [];\n    this._builder = builder;\n    this._isInteractive = env.isInteractive;\n    // resolver is exposed for tests\n    let resolver = this._runtimeResolver = new ResolverImpl();\n    let sharedArtifacts = artifacts();\n    this._context = programCompilationContext(sharedArtifacts, resolver);\n    let runtimeEnvironmentDelegate = new EmberEnvironmentDelegate(owner, env.isInteractive);\n    this._runtime = runtimeContext({\n      appendOperations: env.hasDOM ? new DOMTreeConstruction(document) : new NodeDOMTreeConstruction(document),\n      updateOperations: new DOMChanges(document)\n    }, runtimeEnvironmentDelegate, sharedArtifacts, resolver);\n  }\n  get debugRenderTree() {\n    let {\n      debugRenderTree\n    } = this._runtime.env;\n    assert('Attempted to access the DebugRenderTree, but it did not exist. Is the Ember Inspector open?', debugRenderTree);\n    return debugRenderTree;\n  }\n  // renderer HOOKS\n  appendOutletView(view, target) {\n    let definition = createRootOutlet(view);\n    this._appendDefinition(view, curry(0 /* CurriedType.Component */, definition, view.owner, null, true), target);\n  }\n  appendTo(view, target) {\n    let definition = new RootComponentDefinition(view);\n    this._appendDefinition(view, curry(0 /* CurriedType.Component */, definition, this._owner, null, true), target);\n  }\n  _appendDefinition(root, definition, target) {\n    let self = createConstRef(definition, 'this');\n    let dynamicScope = new DynamicScope(null, UNDEFINED_REFERENCE);\n    let rootState = new RootState(root, this._runtime, this._context, this._owner, this._rootTemplate, self, target, dynamicScope, this._builder);\n    this._renderRoot(rootState);\n  }\n  rerender() {\n    this._scheduleRevalidate();\n  }\n  register(view) {\n    let id = getViewId(view);\n    assert('Attempted to register a view with an id already in use: ' + id, !this._viewRegistry[id]);\n    this._viewRegistry[id] = view;\n  }\n  unregister(view) {\n    delete this._viewRegistry[getViewId(view)];\n  }\n  remove(view) {\n    view._transitionTo('destroying');\n    this.cleanupRootFor(view);\n    if (this._isInteractive) {\n      view.trigger('didDestroyElement');\n    }\n  }\n  cleanupRootFor(view) {\n    // no need to cleanup roots if we have already been destroyed\n    if (this._destroyed) {\n      return;\n    }\n    let roots = this._roots;\n    // traverse in reverse so we can remove items\n    // without mucking up the index\n    let i = this._roots.length;\n    while (i--) {\n      let root = roots[i];\n      assert('has root', root);\n      if (root.isFor(view)) {\n        root.destroy();\n        roots.splice(i, 1);\n      }\n    }\n  }\n  destroy() {\n    if (this._destroyed) {\n      return;\n    }\n    this._destroyed = true;\n    this._clearAllRoots();\n  }\n  getElement(view) {\n    if (this._isInteractive) {\n      return getViewElement(view);\n    } else {\n      throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');\n    }\n  }\n  getBounds(view) {\n    let bounds = view[BOUNDS];\n    assert('object passed to getBounds must have the BOUNDS symbol as a property', bounds);\n    let parentElement = bounds.parentElement();\n    let firstNode = bounds.firstNode();\n    let lastNode = bounds.lastNode();\n    return {\n      parentElement,\n      firstNode,\n      lastNode\n    };\n  }\n  createElement(tagName) {\n    return this._runtime.env.getAppendOperations().createElement(tagName);\n  }\n  _renderRoot(root) {\n    let {\n      _roots: roots\n    } = this;\n    roots.push(root);\n    if (roots.length === 1) {\n      register(this);\n    }\n    this._renderRootsTransaction();\n  }\n  _renderRoots() {\n    let {\n      _roots: roots,\n      _runtime: runtime,\n      _removedRoots: removedRoots\n    } = this;\n    let initialRootsLength;\n    do {\n      initialRootsLength = roots.length;\n      inTransaction(runtime.env, () => {\n        // ensure that for the first iteration of the loop\n        // each root is processed\n        for (let i = 0; i < roots.length; i++) {\n          let root = roots[i];\n          assert('has root', root);\n          if (root.destroyed) {\n            // add to the list of roots to be removed\n            // they will be removed from `this._roots` later\n            removedRoots.push(root);\n            // skip over roots that have been marked as destroyed\n            continue;\n          }\n          // when processing non-initial reflush loops,\n          // do not process more roots than needed\n          if (i >= initialRootsLength) {\n            continue;\n          }\n          root.render();\n        }\n        this._lastRevision = valueForTag(CURRENT_TAG);\n      });\n    } while (roots.length > initialRootsLength);\n    // remove any roots that were destroyed during this transaction\n    while (removedRoots.length) {\n      let root = removedRoots.pop();\n      let rootIndex = roots.indexOf(root);\n      roots.splice(rootIndex, 1);\n    }\n    if (this._roots.length === 0) {\n      deregister(this);\n    }\n  }\n  _renderRootsTransaction() {\n    if (this._inRenderTransaction) {\n      // currently rendering roots, a new root was added and will\n      // be processed by the existing _renderRoots invocation\n      return;\n    }\n    // used to prevent calling _renderRoots again (see above)\n    // while we are actively rendering roots\n    this._inRenderTransaction = true;\n    let completedWithoutError = false;\n    try {\n      this._renderRoots();\n      completedWithoutError = true;\n    } finally {\n      if (!completedWithoutError) {\n        this._lastRevision = valueForTag(CURRENT_TAG);\n      }\n      this._inRenderTransaction = false;\n    }\n  }\n  _clearAllRoots() {\n    let roots = this._roots;\n    for (let root of roots) {\n      root.destroy();\n    }\n    this._removedRoots.length = 0;\n    this._roots = [];\n    // if roots were present before destroying\n    // deregister this renderer instance\n    if (roots.length) {\n      deregister(this);\n    }\n  }\n  _scheduleRevalidate() {\n    _backburner.scheduleOnce('render', this, this._revalidate);\n  }\n  _isValid() {\n    return this._destroyed || this._roots.length === 0 || validateTag(CURRENT_TAG, this._lastRevision);\n  }\n  _revalidate() {\n    if (this._isValid()) {\n      return;\n    }\n    this._renderRootsTransaction();\n  }\n}\n\nlet TEMPLATES = {};\nfunction setTemplates(templates) {\n  TEMPLATES = templates;\n}\nfunction getTemplates() {\n  return TEMPLATES;\n}\nfunction getTemplate(name) {\n  if (Object.prototype.hasOwnProperty.call(TEMPLATES, name)) {\n    return TEMPLATES[name];\n  }\n}\nfunction hasTemplate(name) {\n  return Object.prototype.hasOwnProperty.call(TEMPLATES, name);\n}\nfunction setTemplate(name, template) {\n  return TEMPLATES[name] = template;\n}\n\nvar OutletTemplate = templateFactory({\n  \"id\": \"3jT+eJpe\",\n  \"block\": \"[[[46,[28,[37,1],null,null],null,null,null]],[],false,[\\\"component\\\",\\\"-outlet\\\"]]\",\n  \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs\",\n  \"isStrictMode\": false\n});\n\nfunction setupApplicationRegistry(registry) {\n  // because we are using injections we can't use instantiate false\n  // we need to use bind() to copy the function so factory for\n  // association won't leak\n  registry.register('service:-dom-builder', {\n    // Additionally, we *must* constrain this to require `props` on create, else\n    // we *know* it cannot have an owner.\n    create(props) {\n      let owner = getOwner(props);\n      assert('DomBuilderService is unexpectedly missing an owner', owner);\n      let env = owner.lookup('-environment:main');\n      switch (env._renderMode) {\n        case 'serialize':\n          return serializeBuilder.bind(null);\n        case 'rehydrate':\n          return rehydrationBuilder.bind(null);\n        default:\n          return clientBuilder.bind(null);\n      }\n    }\n  });\n  registry.register(privatize`template:-root`, RootTemplate);\n  registry.register('renderer:-dom', Renderer);\n}\nfunction setupEngineRegistry(registry) {\n  registry.optionsForType('template', {\n    instantiate: false\n  });\n  registry.register('view:-outlet', OutletView);\n  registry.register('template:-outlet', OutletTemplate);\n  registry.optionsForType('helper', {\n    instantiate: false\n  });\n  registry.register('component:input', Input$1);\n  registry.register('component:link-to', LinkTo$1);\n  registry.register('component:textarea', Textarea$1);\n  if (!ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n    registry.register(privatize`component:-default`, Component);\n  }\n}\n\n/**\n   Associate a class with a component manager (an object that is responsible for\n   coordinating the lifecycle events that occurs when invoking, rendering and\n   re-rendering a component).\n\n   @method setComponentManager\n   @param {Function} factory a function to create the owner for an object\n   @param {Object} obj the object to associate with the componetn manager\n   @return {Object} the same object passed in\n   @public\n  */\nfunction setComponentManager$1(manager, obj) {\n  return setComponentManager(manager, obj);\n}\nlet componentCapabilities$1 = componentCapabilities;\nlet modifierCapabilities$1 = modifierCapabilities;\n\n/**\n  [Glimmer](https://github.com/tildeio/glimmer) is a templating engine used by Ember.js that is compatible with a subset of the [Handlebars](http://handlebarsjs.com/) syntax.\n\n  ### Showing a property\n\n  Templates manage the flow of an application's UI, and display state (through\n  the DOM) to a user. For example, given a component with the property \"name\",\n  that component's template can use the name in several ways:\n\n  ```app/components/person-profile.js\n  import Component from '@ember/component';\n\n  export default Component.extend({\n    name: 'Jill'\n  });\n  ```\n\n  ```app/components/person-profile.hbs\n  {{this.name}}\n  <div>{{this.name}}</div>\n  <span data-name={{this.name}}></span>\n  ```\n\n  Any time the \"name\" property on the component changes, the DOM will be\n  updated.\n\n  Properties can be chained as well:\n\n  ```handlebars\n  {{@aUserModel.name}}\n  <div>{{@listOfUsers.firstObject.name}}</div>\n  ```\n\n  ### Using Ember helpers\n\n  When content is passed in mustaches `{{}}`, Ember will first try to find a helper\n  or component with that name. For example, the `if` helper:\n\n  ```app/components/person-profile.hbs\n  {{if this.name \"I have a name\" \"I have no name\"}}\n  <span data-has-name={{if this.name true}}></span>\n  ```\n\n  The returned value is placed where the `{{}}` is called. The above style is\n  called \"inline\". A second style of helper usage is called \"block\". For example:\n\n  ```handlebars\n  {{#if this.name}}\n    I have a name\n  {{else}}\n    I have no name\n  {{/if}}\n  ```\n\n  The block form of helpers allows you to control how the UI is created based\n  on the values of properties.\n  A third form of helper is called \"nested\". For example here the concat\n  helper will add \" Doe\" to a displayed name if the person has no last name:\n\n  ```handlebars\n  <span data-name={{concat this.firstName (\n    if this.lastName (concat \" \" this.lastName) \"Doe\"\n  )}}></span>\n  ```\n\n  Ember's built-in helpers are described under the [Ember.Templates.helpers](/ember/release/classes/Ember.Templates.helpers)\n  namespace. Documentation on creating custom helpers can be found under\n  [helper](/ember/release/functions/@ember%2Fcomponent%2Fhelper/helper) (or\n  under [Helper](/ember/release/classes/Helper) if a helper requires access to\n  dependency injection).\n\n  ### Invoking a Component\n\n  Ember components represent state to the UI of an application. Further\n  reading on components can be found under [Component](/ember/release/classes/Component).\n\n  @module @ember/component\n  @main @ember/component\n  @public\n */\n\nexport { RootTemplate, Input$1 as Input, LinkTo$1 as LinkTo, Textarea$1 as Textarea, Component, Helper, helper, SafeString, escapeExpression, htmlSafe, isHTMLSafe$1 as isHTMLSafe, Renderer, _resetRenderers, renderSettled, getTemplate, setTemplate, hasTemplate, getTemplates, setTemplates, setupEngineRegistry, setupApplicationRegistry, OutletView, componentCapabilities$1 as componentCapabilities, modifierCapabilities$1 as modifierCapabilities, setComponentManager$1 as setComponentManager };\n","import { symbol, toString } from '@ember/-internals/utils';\nimport { assert } from '@ember/debug';\nimport { isDestroyed } from '@glimmer/destroyable';\nimport { DEBUG } from '@glimmer/env';\nconst objectPrototype = Object.prototype;\nlet counters;\nif (DEBUG) {\n  counters = {\n    peekCalls: 0,\n    peekPrototypeWalks: 0,\n    setCalls: 0,\n    deleteCalls: 0,\n    metaCalls: 0,\n    metaInstantiated: 0,\n    matchingListenersCalls: 0,\n    observerEventsCalls: 0,\n    addToListenersCalls: 0,\n    removeFromListenersCalls: 0,\n    removeAllListenersCalls: 0,\n    listenersInherited: 0,\n    listenersFlattened: 0,\n    parentListenersUsed: 0,\n    flattenedListenersCalls: 0,\n    reopensAfterFlatten: 0,\n    readableLazyChainsCalls: 0,\n    writableLazyChainsCalls: 0\n  };\n}\n/**\n@module ember\n*/\nexport const UNDEFINED = symbol('undefined');\nlet currentListenerVersion = 1;\nexport class Meta {\n  // DEBUG\n  /** @internal */\n  constructor(obj) {\n    /** @internal */\n    this._listenersVersion = 1;\n    /** @internal */\n    this._inheritedEnd = -1;\n    /** @internal */\n    this._flattenedVersion = 0;\n    if (DEBUG) {\n      counters.metaInstantiated++;\n    }\n    this._parent = undefined;\n    this._descriptors = undefined;\n    this._mixins = undefined;\n    this._lazyChains = undefined;\n    this._values = undefined;\n    this._revisions = undefined;\n    // initial value for all flags right now is false\n    // see FLAGS const for detailed list of flags used\n    this._isInit = false;\n    // used only internally\n    this.source = obj;\n    this.proto = obj.constructor === undefined ? undefined : obj.constructor.prototype;\n    this._listeners = undefined;\n  }\n  /** @internal */\n  get parent() {\n    let parent = this._parent;\n    if (parent === undefined) {\n      let proto = getPrototypeOf(this.source);\n      this._parent = parent = proto === null || proto === objectPrototype ? null : meta(proto);\n    }\n    return parent;\n  }\n  setInitializing() {\n    this._isInit = true;\n  }\n  /** @internal */\n  unsetInitializing() {\n    this._isInit = false;\n  }\n  /** @internal */\n  isInitializing() {\n    return this._isInit;\n  }\n  /** @internal */\n  isPrototypeMeta(obj) {\n    return this.proto === this.source && this.source === obj;\n  }\n  /** @internal */\n  _getOrCreateOwnMap(key) {\n    return this[key] || (this[key] = Object.create(null));\n  }\n  /** @internal */\n  _getOrCreateOwnSet(key) {\n    return this[key] || (this[key] = new Set());\n  }\n  /** @internal */\n  _findInheritedMap(key, subkey) {\n    let pointer = this;\n    while (pointer !== null) {\n      let map = pointer[key];\n      if (map !== undefined) {\n        let value = map.get(subkey);\n        if (value !== undefined) {\n          return value;\n        }\n      }\n      pointer = pointer.parent;\n    }\n  }\n  /** @internal */\n  _hasInInheritedSet(key, value) {\n    let pointer = this;\n    while (pointer !== null) {\n      let set = pointer[key];\n      if (set !== undefined && set.has(value)) {\n        return true;\n      }\n      pointer = pointer.parent;\n    }\n    return false;\n  }\n  /** @internal */\n  valueFor(key) {\n    let values = this._values;\n    return values !== undefined ? values[key] : undefined;\n  }\n  /** @internal */\n  setValueFor(key, value) {\n    let values = this._getOrCreateOwnMap('_values');\n    values[key] = value;\n  }\n  /** @internal */\n  revisionFor(key) {\n    let revisions = this._revisions;\n    return revisions !== undefined ? revisions[key] : undefined;\n  }\n  /** @internal */\n  setRevisionFor(key, revision) {\n    let revisions = this._getOrCreateOwnMap('_revisions');\n    revisions[key] = revision;\n  }\n  /** @internal */\n  writableLazyChainsFor(key) {\n    if (DEBUG) {\n      counters.writableLazyChainsCalls++;\n    }\n    let lazyChains = this._getOrCreateOwnMap('_lazyChains');\n    let chains = lazyChains[key];\n    if (chains === undefined) {\n      chains = lazyChains[key] = [];\n    }\n    return chains;\n  }\n  /** @internal */\n  readableLazyChainsFor(key) {\n    if (DEBUG) {\n      counters.readableLazyChainsCalls++;\n    }\n    let lazyChains = this._lazyChains;\n    if (lazyChains !== undefined) {\n      return lazyChains[key];\n    }\n    return undefined;\n  }\n  /** @internal */\n  addMixin(mixin) {\n    assert(isDestroyed(this.source) ? `Cannot add mixins of \\`${toString(mixin)}\\` on \\`${toString(this.source)}\\` call addMixin after it has been destroyed.` : '', !isDestroyed(this.source));\n    let set = this._getOrCreateOwnSet('_mixins');\n    set.add(mixin);\n  }\n  /** @internal */\n  hasMixin(mixin) {\n    return this._hasInInheritedSet('_mixins', mixin);\n  }\n  /** @internal */\n  forEachMixins(fn) {\n    let pointer = this;\n    let seen;\n    while (pointer !== null) {\n      let set = pointer._mixins;\n      if (set !== undefined) {\n        seen = seen === undefined ? new Set() : seen;\n        // TODO cleanup typing here\n        set.forEach(mixin => {\n          if (!seen.has(mixin)) {\n            seen.add(mixin);\n            fn(mixin);\n          }\n        });\n      }\n      pointer = pointer.parent;\n    }\n  }\n  /** @internal */\n  writeDescriptors(subkey, value) {\n    assert(isDestroyed(this.source) ? `Cannot update descriptors for \\`${subkey}\\` on \\`${toString(this.source)}\\` after it has been destroyed.` : '', !isDestroyed(this.source));\n    let map = this._descriptors || (this._descriptors = new Map());\n    map.set(subkey, value);\n  }\n  /** @internal */\n  peekDescriptors(subkey) {\n    let possibleDesc = this._findInheritedMap('_descriptors', subkey);\n    return possibleDesc === UNDEFINED ? undefined : possibleDesc;\n  }\n  /** @internal */\n  removeDescriptors(subkey) {\n    this.writeDescriptors(subkey, UNDEFINED);\n  }\n  /** @internal */\n  forEachDescriptors(fn) {\n    let pointer = this;\n    let seen;\n    while (pointer !== null) {\n      let map = pointer._descriptors;\n      if (map !== undefined) {\n        seen = seen === undefined ? new Set() : seen;\n        map.forEach((value, key) => {\n          if (!seen.has(key)) {\n            seen.add(key);\n            if (value !== UNDEFINED) {\n              fn(key, value);\n            }\n          }\n        });\n      }\n      pointer = pointer.parent;\n    }\n  }\n  /** @internal */\n  addToListeners(eventName, target, method, once, sync) {\n    if (DEBUG) {\n      counters.addToListenersCalls++;\n    }\n    this.pushListener(eventName, target, method, once ? 1 /* ListenerKind.ONCE */ : 0 /* ListenerKind.ADD */, sync);\n  }\n  /** @internal */\n  removeFromListeners(eventName, target, method) {\n    if (DEBUG) {\n      counters.removeFromListenersCalls++;\n    }\n    this.pushListener(eventName, target, method, 2 /* ListenerKind.REMOVE */);\n  }\n\n  pushListener(event, target, method, kind, sync = false) {\n    let listeners = this.writableListeners();\n    let i = indexOfListener(listeners, event, target, method);\n    // remove if found listener was inherited\n    if (i !== -1 && i < this._inheritedEnd) {\n      listeners.splice(i, 1);\n      this._inheritedEnd--;\n      i = -1;\n    }\n    // if not found, push. Note that we must always push if a listener is not\n    // found, even in the case of a function listener remove, because we may be\n    // attempting to add or remove listeners _before_ flattening has occurred.\n    if (i === -1) {\n      assert('You cannot add function listeners to prototypes. Convert the listener to a string listener, or add it to the instance instead.', !(this.isPrototypeMeta(this.source) && typeof method === 'function'));\n      assert('You attempted to remove a function listener which did not exist on the instance, which means you may have attempted to remove it before it was added.', !(!this.isPrototypeMeta(this.source) && typeof method === 'function' && kind === 2 /* ListenerKind.REMOVE */));\n      listeners.push({\n        event,\n        target,\n        method,\n        kind,\n        sync\n      });\n    } else {\n      let listener = listeners[i];\n      assert('has listener', listener);\n      // If the listener is our own listener and we are trying to remove it, we\n      // want to splice it out entirely so we don't hold onto a reference.\n      if (kind === 2 /* ListenerKind.REMOVE */ && listener.kind !== 2 /* ListenerKind.REMOVE */) {\n        listeners.splice(i, 1);\n      } else {\n        assert(`You attempted to add an observer for the same method on '${event.split(':')[0]}' twice to ${target} as both sync and async. Observers must be either sync or async, they cannot be both. This is likely a mistake, you should either remove the code that added the observer a second time, or update it to always be sync or async. The method was ${String(method)}.`, !(listener.kind === 0 /* ListenerKind.ADD */ && kind === 0 /* ListenerKind.ADD */ && listener.sync !== sync));\n        // update own listener\n        listener.kind = kind;\n        listener.sync = sync;\n      }\n    }\n  }\n  writableListeners() {\n    // Check if we need to invalidate and reflatten. We need to do this if we\n    // have already flattened (flattened version is the current version) and\n    // we are either writing to a prototype meta OR we have never inherited, and\n    // may have cached the parent's listeners.\n    if (this._flattenedVersion === currentListenerVersion && (this.source === this.proto || this._inheritedEnd === -1)) {\n      if (DEBUG) {\n        counters.reopensAfterFlatten++;\n      }\n      currentListenerVersion++;\n    }\n    // Inherited end has not been set, then we have never created our own\n    // listeners, but may have cached the parent's\n    if (this._inheritedEnd === -1) {\n      this._inheritedEnd = 0;\n      this._listeners = [];\n    }\n    return this._listeners;\n  }\n  /**\n    Flattening is based on a global revision counter. If the revision has\n    bumped it means that somewhere in a class inheritance chain something has\n    changed, so we need to reflatten everything. This can only happen if:\n       1. A meta has been flattened (listener has been called)\n    2. The meta is a prototype meta with children who have inherited its\n       listeners\n    3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n       This is a very rare occurrence, so while the counter is global it shouldn't\n    be updated very often in practice.\n  */\n  flattenedListeners() {\n    if (DEBUG) {\n      counters.flattenedListenersCalls++;\n    }\n    if (this._flattenedVersion < currentListenerVersion) {\n      if (DEBUG) {\n        counters.listenersFlattened++;\n      }\n      let parent = this.parent;\n      if (parent !== null) {\n        // compute\n        let parentListeners = parent.flattenedListeners();\n        if (parentListeners !== undefined) {\n          if (this._listeners === undefined) {\n            // If this instance doesn't have any of its own listeners (writableListeners\n            // has never been called) then we don't need to do any flattening, return\n            // the parent's listeners instead.\n            if (DEBUG) {\n              counters.parentListenersUsed++;\n            }\n            this._listeners = parentListeners;\n          } else {\n            let listeners = this._listeners;\n            if (this._inheritedEnd > 0) {\n              listeners.splice(0, this._inheritedEnd);\n              this._inheritedEnd = 0;\n            }\n            for (let listener of parentListeners) {\n              let index = indexOfListener(listeners, listener.event, listener.target, listener.method);\n              if (index === -1) {\n                if (DEBUG) {\n                  counters.listenersInherited++;\n                }\n                listeners.unshift(listener);\n                this._inheritedEnd++;\n              }\n            }\n          }\n        }\n      }\n      this._flattenedVersion = currentListenerVersion;\n    }\n    return this._listeners;\n  }\n  /** @internal */\n  matchingListeners(eventName) {\n    let listeners = this.flattenedListeners();\n    let result;\n    if (DEBUG) {\n      counters.matchingListenersCalls++;\n    }\n    if (listeners !== undefined) {\n      for (let listener of listeners) {\n        // REMOVE listeners are placeholders that tell us not to\n        // inherit, so they never match. Only ADD and ONCE can match.\n        if (listener.event === eventName && (listener.kind === 0 /* ListenerKind.ADD */ || listener.kind === 1 /* ListenerKind.ONCE */)) {\n          if (result === undefined) {\n            // we create this array only after we've found a listener that\n            // matches to avoid allocations when no matches are found.\n            result = [];\n          }\n          result.push(listener.target, listener.method, listener.kind === 1 /* ListenerKind.ONCE */);\n        }\n      }\n    }\n\n    return result;\n  }\n  /** @internal */\n  observerEvents() {\n    let listeners = this.flattenedListeners();\n    let result;\n    if (DEBUG) {\n      counters.observerEventsCalls++;\n    }\n    if (listeners !== undefined) {\n      for (let listener of listeners) {\n        // REMOVE listeners are placeholders that tell us not to\n        // inherit, so they never match. Only ADD and ONCE can match.\n        if ((listener.kind === 0 /* ListenerKind.ADD */ || listener.kind === 1 /* ListenerKind.ONCE */) && listener.event.indexOf(':change') !== -1) {\n          if (result === undefined) {\n            // we create this array only after we've found a listener that\n            // matches to avoid allocations when no matches are found.\n            result = [];\n          }\n          result.push(listener);\n        }\n      }\n    }\n    return result;\n  }\n}\nconst getPrototypeOf = Object.getPrototypeOf;\nconst metaStore = new WeakMap();\nexport function setMeta(obj, meta) {\n  assert('Cannot call `setMeta` on null', obj !== null);\n  assert('Cannot call `setMeta` on undefined', obj !== undefined);\n  assert(`Cannot call \\`setMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function');\n  if (DEBUG) {\n    counters.setCalls++;\n  }\n  metaStore.set(obj, meta);\n}\nexport function peekMeta(obj) {\n  assert('Cannot call `peekMeta` on null', obj !== null);\n  assert('Cannot call `peekMeta` on undefined', obj !== undefined);\n  assert(`Cannot call \\`peekMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function');\n  if (DEBUG) {\n    counters.peekCalls++;\n  }\n  let meta = metaStore.get(obj);\n  if (meta !== undefined) {\n    return meta;\n  }\n  let pointer = getPrototypeOf(obj);\n  while (pointer !== null) {\n    if (DEBUG) {\n      counters.peekPrototypeWalks++;\n    }\n    meta = metaStore.get(pointer);\n    if (meta !== undefined) {\n      if (meta.proto !== pointer) {\n        // The meta was a prototype meta which was not marked as initializing.\n        // This can happen when a prototype chain was created manually via\n        // Object.create() and the source object does not have a constructor.\n        meta.proto = pointer;\n      }\n      return meta;\n    }\n    pointer = getPrototypeOf(pointer);\n  }\n  return null;\n}\n/**\n  Retrieves the meta hash for an object. If `writable` is true ensures the\n  hash is writable for this object as well.\n\n  The meta object contains information about computed property descriptors as\n  well as any watched properties and other information. You generally will\n  not access this information directly but instead work with higher level\n  methods that manipulate this hash indirectly.\n\n  @method meta\n  @for Ember\n  @private\n\n  @param {Object} obj The object to retrieve meta for\n  @param {Boolean} [writable=true] Pass `false` if you do not intend to modify\n    the meta hash, allowing the method to avoid making an unnecessary copy.\n  @return {Object} the meta hash for an object\n*/\nexport const meta = function meta(obj) {\n  assert('Cannot call `meta` on null', obj !== null);\n  assert('Cannot call `meta` on undefined', obj !== undefined);\n  assert(`Cannot call \\`meta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function');\n  if (DEBUG) {\n    counters.metaCalls++;\n  }\n  let maybeMeta = peekMeta(obj);\n  // remove this code, in-favor of explicit parent\n  if (maybeMeta !== null && maybeMeta.source === obj) {\n    return maybeMeta;\n  }\n  let newMeta = new Meta(obj);\n  setMeta(obj, newMeta);\n  return newMeta;\n};\nif (DEBUG) {\n  meta._counters = counters;\n}\nexport { counters };\nfunction indexOfListener(listeners, event, target, method) {\n  for (let i = listeners.length - 1; i >= 0; i--) {\n    let listener = listeners[i];\n    assert('has listener', listener);\n    if (listener.event === event && listener.target === target && listener.method === method) {\n      return i;\n    }\n  }\n  return -1;\n}","import { meta, peekMeta } from '@ember/-internals/meta';\nimport { setListeners, isObject, setupMandatorySetter, symbol, toString, setWithMandatorySetter, Cache, setProxy, lookupDescriptor, getName, setName } from '@ember/-internals/utils';\nimport { assert, inspect, deprecate, debug, warn } from '@ember/debug';\nimport { ENV, context } from '@ember/-internals/environment';\nimport { schedule } from '@ember/runloop';\nimport { registerDestructor, isDestroyed } from '@glimmer/destroyable';\nimport { CURRENT_TAG, tagMetaFor, validateTag, valueForTag, CONSTANT_TAG, dirtyTagFor, tagFor, combine, createUpdatableTag, updateTag, ALLOW_CYCLES, consumeTag, track, untrack, isTracking, trackedData, createCache, getValue } from '@glimmer/validator';\nexport { createCache, getValue, isConst } from '@glimmer/validator';\nimport { DEBUG } from '@glimmer/env';\nimport { getCustomTagFor } from '@glimmer/manager';\nimport { _WeakSet } from '@glimmer/util';\nimport { isEmberArray } from '@ember/array/-internals';\nimport VERSION from 'ember/version';\nimport { getOwner } from '@ember/-internals/owner';\n\n/*\n  The event system uses a series of nested hashes to store listeners on an\n  object. When a listener is registered, or when an event arrives, these\n  hashes are consulted to determine which target and action pair to invoke.\n\n  The hashes are stored in the object's meta hash, and look like this:\n\n      // Object's meta hash\n      {\n        listeners: {       // variable name: `listenerSet`\n          \"foo:change\": [ // variable name: `actions`\n            target, method, once\n          ]\n        }\n      }\n\n*/\n/**\n  Add an event listener\n\n  @method addListener\n  @static\n  @for @ember/object/events\n  @param obj\n  @param {String} eventName\n  @param {Object|Function} target A target object or a function\n  @param {Function|String} method A function or the name of a function to be called on `target`\n  @param {Boolean} once A flag whether a function should only be called once\n  @public\n*/\nfunction addListener(obj, eventName, target, method, once, sync = true) {\n  assert('You must pass at least an object and event name to addListener', Boolean(obj) && Boolean(eventName));\n  if (!method && 'function' === typeof target) {\n    method = target;\n    target = null;\n  }\n  meta(obj).addToListeners(eventName, target, method, once === true, sync);\n}\n/**\n  Remove an event listener\n\n  Arguments should match those passed to `addListener`.\n\n  @method removeListener\n  @static\n  @for @ember/object/events\n  @param obj\n  @param {String} eventName\n  @param {Object|Function} target A target object or a function\n  @param {Function|String} method A function or the name of a function to be called on `target`\n  @public\n*/\nfunction removeListener(obj, eventName, targetOrFunction, functionOrName) {\n  assert('You must pass at least an object, event name, and method or target and method/method name to removeListener', Boolean(obj) && Boolean(eventName) && (typeof targetOrFunction === 'function' || typeof targetOrFunction === 'object' && Boolean(functionOrName)));\n  let target, method;\n  if (typeof targetOrFunction === 'object') {\n    target = targetOrFunction;\n    method = functionOrName;\n  } else {\n    target = null;\n    method = targetOrFunction;\n  }\n  let m = meta(obj);\n  m.removeFromListeners(eventName, target, method);\n}\n/**\n  Send an event. The execution of suspended listeners\n  is skipped, and once listeners are removed. A listener without\n  a target is executed on the passed object. If an array of actions\n  is not passed, the actions stored on the passed object are invoked.\n\n  @method sendEvent\n  @static\n  @for @ember/object/events\n  @param obj\n  @param {String} eventName\n  @param {Array} params Optional parameters for each listener.\n  @return {Boolean} if the event was delivered to one or more actions\n  @public\n*/\nfunction sendEvent(obj, eventName, params, actions, _meta) {\n  if (actions === undefined) {\n    let meta$$1 = _meta === undefined ? peekMeta(obj) : _meta;\n    actions = meta$$1 !== null ? meta$$1.matchingListeners(eventName) : undefined;\n  }\n  if (actions === undefined || actions.length === 0) {\n    return false;\n  }\n  for (let i = actions.length - 3; i >= 0; i -= 3) {\n    // looping in reverse for once listeners\n    let target = actions[i];\n    let method = actions[i + 1];\n    let once = actions[i + 2];\n    if (!method) {\n      continue;\n    }\n    if (once) {\n      removeListener(obj, eventName, target, method);\n    }\n    if (!target) {\n      target = obj;\n    }\n    let type = typeof method;\n    if (type === 'string' || type === 'symbol') {\n      method = target[method];\n    }\n    method.apply(target, params);\n  }\n  return true;\n}\n/**\n  @public\n  @method hasListeners\n  @static\n  @for @ember/object/events\n  @param obj\n  @param {String} eventName\n  @return {Boolean} if `obj` has listeners for event `eventName`\n*/\nfunction hasListeners(obj, eventName) {\n  let meta$$1 = peekMeta(obj);\n  if (meta$$1 === null) {\n    return false;\n  }\n  let matched = meta$$1.matchingListeners(eventName);\n  return matched !== undefined && matched.length > 0;\n}\n/**\n  Define a property as a function that should be executed when\n  a specified event or events are triggered.\n\n  ``` javascript\n  import EmberObject from '@ember/object';\n  import { on } from '@ember/object/evented';\n  import { sendEvent } from '@ember/object/events';\n\n  let Job = EmberObject.extend({\n    logCompleted: on('completed', function() {\n      console.log('Job completed!');\n    })\n  });\n\n  let job = Job.create();\n\n  sendEvent(job, 'completed'); // Logs 'Job completed!'\n ```\n\n  @method on\n  @static\n  @for @ember/object/evented\n  @param {String} eventNames*\n  @param {Function} func\n  @return {Function} the listener function, passed as last argument to on(...)\n  @public\n*/\nfunction on(...args) {\n  let func = args.pop();\n  let events = args;\n  assert('on expects function as last argument', typeof func === 'function');\n  assert('on called without valid event names', events.length > 0 && events.every(p => typeof p === 'string' && p.length > 0));\n  setListeners(func, events);\n  return func;\n}\n\nconst AFTER_OBSERVERS = ':change';\nfunction changeEvent(keyName) {\n  return keyName + AFTER_OBSERVERS;\n}\n\nconst SYNC_DEFAULT = !ENV._DEFAULT_ASYNC_OBSERVERS;\nconst SYNC_OBSERVERS = new Map();\nconst ASYNC_OBSERVERS = new Map();\n/**\n@module @ember/object\n*/\n/**\n  @method addObserver\n  @static\n  @for @ember/object/observers\n  @param obj\n  @param {String} path\n  @param {Object|Function} target\n  @param {Function|String} [method]\n  @public\n*/\nfunction addObserver(obj, path, target, method, sync = SYNC_DEFAULT) {\n  let eventName = changeEvent(path);\n  addListener(obj, eventName, target, method, false, sync);\n  let meta$$1 = peekMeta(obj);\n  if (meta$$1 === null || !(meta$$1.isPrototypeMeta(obj) || meta$$1.isInitializing())) {\n    activateObserver(obj, eventName, sync);\n  }\n}\n/**\n  @method removeObserver\n  @static\n  @for @ember/object/observers\n  @param obj\n  @param {String} path\n  @param {Object|Function} target\n  @param {Function|String} [method]\n  @public\n*/\nfunction removeObserver(obj, path, target, method, sync = SYNC_DEFAULT) {\n  let eventName = changeEvent(path);\n  let meta$$1 = peekMeta(obj);\n  if (meta$$1 === null || !(meta$$1.isPrototypeMeta(obj) || meta$$1.isInitializing())) {\n    deactivateObserver(obj, eventName, sync);\n  }\n  removeListener(obj, eventName, target, method);\n}\nfunction getOrCreateActiveObserversFor(target, sync) {\n  let observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n  if (!observerMap.has(target)) {\n    observerMap.set(target, new Map());\n    registerDestructor(target, () => destroyObservers(target), true);\n  }\n  return observerMap.get(target);\n}\nfunction activateObserver(target, eventName, sync = false) {\n  let activeObservers = getOrCreateActiveObserversFor(target, sync);\n  if (activeObservers.has(eventName)) {\n    activeObservers.get(eventName).count++;\n  } else {\n    let path = eventName.substring(0, eventName.lastIndexOf(':'));\n    let tag = getChainTagsForKey(target, path, tagMetaFor(target), peekMeta(target));\n    activeObservers.set(eventName, {\n      count: 1,\n      path,\n      tag,\n      lastRevision: valueForTag(tag),\n      suspended: false\n    });\n  }\n}\nlet DEACTIVATE_SUSPENDED = false;\nlet SCHEDULED_DEACTIVATE = [];\nfunction deactivateObserver(target, eventName, sync = false) {\n  if (DEACTIVATE_SUSPENDED === true) {\n    SCHEDULED_DEACTIVATE.push([target, eventName, sync]);\n    return;\n  }\n  let observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n  let activeObservers = observerMap.get(target);\n  if (activeObservers !== undefined) {\n    let observer = activeObservers.get(eventName);\n    observer.count--;\n    if (observer.count === 0) {\n      activeObservers.delete(eventName);\n      if (activeObservers.size === 0) {\n        observerMap.delete(target);\n      }\n    }\n  }\n}\nfunction suspendedObserverDeactivation() {\n  DEACTIVATE_SUSPENDED = true;\n}\nfunction resumeObserverDeactivation() {\n  DEACTIVATE_SUSPENDED = false;\n  for (let [target, eventName, sync] of SCHEDULED_DEACTIVATE) {\n    deactivateObserver(target, eventName, sync);\n  }\n  SCHEDULED_DEACTIVATE = [];\n}\n/**\n * Primarily used for cases where we are redefining a class, e.g. mixins/reopen\n * being applied later. Revalidates all the observers, resetting their tags.\n *\n * @private\n * @param target\n */\nfunction revalidateObservers(target) {\n  if (ASYNC_OBSERVERS.has(target)) {\n    ASYNC_OBSERVERS.get(target).forEach(observer => {\n      observer.tag = getChainTagsForKey(target, observer.path, tagMetaFor(target), peekMeta(target));\n      observer.lastRevision = valueForTag(observer.tag);\n    });\n  }\n  if (SYNC_OBSERVERS.has(target)) {\n    SYNC_OBSERVERS.get(target).forEach(observer => {\n      observer.tag = getChainTagsForKey(target, observer.path, tagMetaFor(target), peekMeta(target));\n      observer.lastRevision = valueForTag(observer.tag);\n    });\n  }\n}\nlet lastKnownRevision = 0;\nfunction flushAsyncObservers(shouldSchedule = true) {\n  let currentRevision = valueForTag(CURRENT_TAG);\n  if (lastKnownRevision === currentRevision) {\n    return;\n  }\n  lastKnownRevision = currentRevision;\n  ASYNC_OBSERVERS.forEach((activeObservers, target) => {\n    let meta$$1 = peekMeta(target);\n    activeObservers.forEach((observer, eventName) => {\n      if (!validateTag(observer.tag, observer.lastRevision)) {\n        let sendObserver = () => {\n          try {\n            sendEvent(target, eventName, [target, observer.path], undefined, meta$$1);\n          } finally {\n            observer.tag = getChainTagsForKey(target, observer.path, tagMetaFor(target), peekMeta(target));\n            observer.lastRevision = valueForTag(observer.tag);\n          }\n        };\n        if (shouldSchedule) {\n          schedule('actions', sendObserver);\n        } else {\n          sendObserver();\n        }\n      }\n    });\n  });\n}\nfunction flushSyncObservers() {\n  // When flushing synchronous observers, we know that something has changed (we\n  // only do this during a notifyPropertyChange), so there's no reason to check\n  // a global revision.\n  SYNC_OBSERVERS.forEach((activeObservers, target) => {\n    let meta$$1 = peekMeta(target);\n    activeObservers.forEach((observer, eventName) => {\n      if (!observer.suspended && !validateTag(observer.tag, observer.lastRevision)) {\n        try {\n          observer.suspended = true;\n          sendEvent(target, eventName, [target, observer.path], undefined, meta$$1);\n        } finally {\n          observer.tag = getChainTagsForKey(target, observer.path, tagMetaFor(target), peekMeta(target));\n          observer.lastRevision = valueForTag(observer.tag);\n          observer.suspended = false;\n        }\n      }\n    });\n  });\n}\nfunction setObserverSuspended(target, property, suspended) {\n  let activeObservers = SYNC_OBSERVERS.get(target);\n  if (!activeObservers) {\n    return;\n  }\n  let observer = activeObservers.get(changeEvent(property));\n  if (observer) {\n    observer.suspended = suspended;\n  }\n}\nfunction destroyObservers(target) {\n  if (SYNC_OBSERVERS.size > 0) SYNC_OBSERVERS.delete(target);\n  if (ASYNC_OBSERVERS.size > 0) ASYNC_OBSERVERS.delete(target);\n}\n\n// This is exported for `@tracked`, but should otherwise be avoided. Use `tagForObject`.\nconst SELF_TAG = symbol('SELF_TAG');\nfunction tagForProperty(obj, propertyKey, addMandatorySetter = false, meta$$1) {\n  let customTagFor = getCustomTagFor(obj);\n  if (customTagFor !== undefined) {\n    return customTagFor(obj, propertyKey, addMandatorySetter);\n  }\n  let tag = tagFor(obj, propertyKey, meta$$1);\n  if (DEBUG && addMandatorySetter) {\n    setupMandatorySetter(tag, obj, propertyKey);\n  }\n  return tag;\n}\nfunction tagForObject(obj) {\n  if (isObject(obj)) {\n    if (DEBUG) {\n      assert(isDestroyed(obj) ? `Cannot create a new tag for \\`${toString(obj)}\\` after it has been destroyed.` : '', !isDestroyed(obj));\n    }\n    return tagFor(obj, SELF_TAG);\n  }\n  return CONSTANT_TAG;\n}\nfunction markObjectAsDirty(obj, propertyKey) {\n  dirtyTagFor(obj, propertyKey);\n  dirtyTagFor(obj, SELF_TAG);\n}\n\n/**\n @module ember\n @private\n */\nconst PROPERTY_DID_CHANGE = Symbol('PROPERTY_DID_CHANGE');\nfunction hasPropertyDidChange(obj) {\n  return obj != null && typeof obj === 'object' && typeof obj[PROPERTY_DID_CHANGE] === 'function';\n}\nlet deferred = 0;\n/**\n  This function is called just after an object property has changed.\n  It will notify any observers and clear caches among other things.\n\n  Normally you will not need to call this method directly but if for some\n  reason you can't directly watch a property you can invoke this method\n  manually.\n\n  @method notifyPropertyChange\n  @for @ember/object\n  @param {Object} obj The object with the property that will change\n  @param {String} keyName The property key (or path) that will change.\n  @param {Meta} [_meta] The objects meta.\n  @param {unknown} [value] The new value to set for the property\n  @return {void}\n  @since 3.1.0\n  @public\n*/\nfunction notifyPropertyChange(obj, keyName, _meta, value) {\n  let meta$$1 = _meta === undefined ? peekMeta(obj) : _meta;\n  if (meta$$1 !== null && (meta$$1.isInitializing() || meta$$1.isPrototypeMeta(obj))) {\n    return;\n  }\n  markObjectAsDirty(obj, keyName);\n  if (deferred <= 0) {\n    flushSyncObservers();\n  }\n  if (PROPERTY_DID_CHANGE in obj) {\n    // It's redundant to do this here, but we don't want to check above so we can avoid an extra function call in prod.\n    assert('property did change hook is invalid', hasPropertyDidChange(obj));\n    // we need to check the arguments length here; there's a check in Component's `PROPERTY_DID_CHANGE`\n    // that checks its arguments length, so we have to explicitly not call this with `value`\n    // if it is not passed to `notifyPropertyChange`\n    if (arguments.length === 4) {\n      obj[PROPERTY_DID_CHANGE](keyName, value);\n    } else {\n      obj[PROPERTY_DID_CHANGE](keyName);\n    }\n  }\n}\n/**\n  @method beginPropertyChanges\n  @chainable\n  @private\n*/\nfunction beginPropertyChanges() {\n  deferred++;\n  suspendedObserverDeactivation();\n}\n/**\n  @method endPropertyChanges\n  @private\n*/\nfunction endPropertyChanges() {\n  deferred--;\n  if (deferred <= 0) {\n    flushSyncObservers();\n    resumeObserverDeactivation();\n  }\n}\n/**\n  Make a series of property changes together in an\n  exception-safe way.\n\n  ```javascript\n  Ember.changeProperties(function() {\n    obj1.set('foo', mayBlowUpWhenSet);\n    obj2.set('bar', baz);\n  });\n  ```\n\n  @method changeProperties\n  @param {Function} callback\n  @private\n*/\nfunction changeProperties(callback) {\n  beginPropertyChanges();\n  try {\n    callback();\n  } finally {\n    endPropertyChanges();\n  }\n}\n\nfunction arrayContentWillChange(array, startIdx, removeAmt, addAmt) {\n  // if no args are passed assume everything changes\n  if (startIdx === undefined) {\n    startIdx = 0;\n    removeAmt = addAmt = -1;\n  } else {\n    if (removeAmt === undefined) {\n      removeAmt = -1;\n    }\n    if (addAmt === undefined) {\n      addAmt = -1;\n    }\n  }\n  sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n  return array;\n}\nfunction arrayContentDidChange(array, startIdx, removeAmt, addAmt, notify = true) {\n  // if no args are passed assume everything changes\n  if (startIdx === undefined) {\n    startIdx = 0;\n    removeAmt = addAmt = -1;\n  } else {\n    if (removeAmt === undefined) {\n      removeAmt = -1;\n    }\n    if (addAmt === undefined) {\n      addAmt = -1;\n    }\n  }\n  let meta$$1 = peekMeta(array);\n  if (notify) {\n    if (addAmt < 0 || removeAmt < 0 || addAmt - removeAmt !== 0) {\n      notifyPropertyChange(array, 'length', meta$$1);\n    }\n    notifyPropertyChange(array, '[]', meta$$1);\n  }\n  sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n  if (meta$$1 !== null) {\n    let length = array.length;\n    let addedAmount = addAmt === -1 ? 0 : addAmt;\n    let removedAmount = removeAmt === -1 ? 0 : removeAmt;\n    let delta = addedAmount - removedAmount;\n    let previousLength = length - delta;\n    let normalStartIdx = startIdx < 0 ? previousLength + startIdx : startIdx;\n    if (meta$$1.revisionFor('firstObject') !== undefined && normalStartIdx === 0) {\n      notifyPropertyChange(array, 'firstObject', meta$$1);\n    }\n    if (meta$$1.revisionFor('lastObject') !== undefined) {\n      let previousLastIndex = previousLength - 1;\n      let lastAffectedIndex = normalStartIdx + removedAmount;\n      if (previousLastIndex < lastAffectedIndex) {\n        notifyPropertyChange(array, 'lastObject', meta$$1);\n      }\n    }\n  }\n  return array;\n}\n\nconst EMPTY_ARRAY = Object.freeze([]);\nfunction objectAt(array, index) {\n  if (Array.isArray(array)) {\n    return array[index];\n  } else {\n    return array.objectAt(index);\n  }\n}\n// Ideally, we'd use MutableArray.detect but for unknown reasons this causes\n// the node tests to fail strangely.\nfunction isMutableArray(obj) {\n  return obj != null && typeof obj.replace === 'function';\n}\nfunction replace(array, start, deleteCount, items = EMPTY_ARRAY) {\n  if (isMutableArray(array)) {\n    array.replace(start, deleteCount, items);\n  } else {\n    assert('Can only replace content of a native array or MutableArray', Array.isArray(array));\n    replaceInNativeArray(array, start, deleteCount, items);\n  }\n}\nconst CHUNK_SIZE = 60000;\n// To avoid overflowing the stack, we splice up to CHUNK_SIZE items at a time.\n// See https://code.google.com/p/chromium/issues/detail?id=56588 for more details.\nfunction replaceInNativeArray(array, start, deleteCount, items) {\n  arrayContentWillChange(array, start, deleteCount, items.length);\n  if (items.length <= CHUNK_SIZE) {\n    array.splice(start, deleteCount, ...items);\n  } else {\n    array.splice(start, deleteCount);\n    for (let i = 0; i < items.length; i += CHUNK_SIZE) {\n      let chunk = items.slice(i, i + CHUNK_SIZE);\n      array.splice(start + i, 0, ...chunk);\n    }\n  }\n  arrayContentDidChange(array, start, deleteCount, items.length);\n}\nfunction arrayObserversHelper(obj, target, opts, operation) {\n  var _a;\n  let {\n    willChange,\n    didChange\n  } = opts;\n  operation(obj, '@array:before', target, willChange);\n  operation(obj, '@array:change', target, didChange);\n  /*\n   * Array proxies have a `_revalidate` method which must be called to set\n   * up their internal array observation systems.\n   */\n  (_a = obj._revalidate) === null || _a === void 0 ? void 0 : _a.call(obj);\n  return obj;\n}\nfunction addArrayObserver(array, target, opts) {\n  return arrayObserversHelper(array, target, opts, addListener);\n}\nfunction removeArrayObserver(array, target, opts) {\n  return arrayObserversHelper(array, target, opts, removeListener);\n}\n\nconst CHAIN_PASS_THROUGH = new _WeakSet();\nfunction finishLazyChains(meta$$1, key, value) {\n  let lazyTags = meta$$1.readableLazyChainsFor(key);\n  if (lazyTags === undefined) {\n    return;\n  }\n  if (isObject(value)) {\n    for (let [tag, deps] of lazyTags) {\n      updateTag(tag, getChainTagsForKey(value, deps, tagMetaFor(value), peekMeta(value)));\n    }\n  }\n  lazyTags.length = 0;\n}\nfunction getChainTagsForKeys(obj, keys, tagMeta, meta$$1) {\n  let tags = [];\n  for (let key of keys) {\n    getChainTags(tags, obj, key, tagMeta, meta$$1);\n  }\n  return combine(tags);\n}\nfunction getChainTagsForKey(obj, key, tagMeta, meta$$1) {\n  return combine(getChainTags([], obj, key, tagMeta, meta$$1));\n}\nfunction getChainTags(chainTags, obj, path, tagMeta, meta$$1) {\n  let current = obj;\n  let currentTagMeta = tagMeta;\n  let currentMeta = meta$$1;\n  let pathLength = path.length;\n  let segmentEnd = -1;\n  // prevent closures\n  let segment, descriptor;\n  // eslint-disable-next-line no-constant-condition\n  while (true) {\n    let lastSegmentEnd = segmentEnd + 1;\n    segmentEnd = path.indexOf('.', lastSegmentEnd);\n    if (segmentEnd === -1) {\n      segmentEnd = pathLength;\n    }\n    segment = path.slice(lastSegmentEnd, segmentEnd);\n    // If the segment is an @each, we can process it and then break\n    if (segment === '@each' && segmentEnd !== pathLength) {\n      lastSegmentEnd = segmentEnd + 1;\n      segmentEnd = path.indexOf('.', lastSegmentEnd);\n      let arrLength = current.length;\n      if (typeof arrLength !== 'number' ||\n      // TODO: should the second test be `isEmberArray` instead?\n      !(Array.isArray(current) || 'objectAt' in current)) {\n        // If the current object isn't an array, there's nothing else to do,\n        // we don't watch individual properties. Break out of the loop.\n        break;\n      } else if (arrLength === 0) {\n        // Fast path for empty arrays\n        chainTags.push(tagForProperty(current, '[]'));\n        break;\n      }\n      if (segmentEnd === -1) {\n        segment = path.slice(lastSegmentEnd);\n      } else {\n        // Deprecated, remove once we turn the deprecation into an assertion\n        segment = path.slice(lastSegmentEnd, segmentEnd);\n      }\n      // Push the tags for each item's property\n      for (let i = 0; i < arrLength; i++) {\n        let item = objectAt(current, i);\n        if (item) {\n          assert(`When using @each to observe the array \\`${current.toString()}\\`, the items in the array must be objects`, typeof item === 'object');\n          chainTags.push(tagForProperty(item, segment, true));\n          currentMeta = peekMeta(item);\n          descriptor = currentMeta !== null ? currentMeta.peekDescriptors(segment) : undefined;\n          // If the key is an alias, we need to bootstrap it\n          if (descriptor !== undefined && typeof descriptor.altKey === 'string') {\n            item[segment];\n          }\n        }\n      }\n      // Push the tag for the array length itself\n      chainTags.push(tagForProperty(current, '[]', true, currentTagMeta));\n      break;\n    }\n    let propertyTag = tagForProperty(current, segment, true, currentTagMeta);\n    descriptor = currentMeta !== null ? currentMeta.peekDescriptors(segment) : undefined;\n    chainTags.push(propertyTag);\n    // If we're at the end of the path, processing the last segment, and it's\n    // not an alias, we should _not_ get the last value, since we already have\n    // its tag. There's no reason to access it and do more work.\n    if (segmentEnd === pathLength) {\n      // If the key was an alias, we should always get the next value in order to\n      // bootstrap the alias. This is because aliases, unlike other CPs, should\n      // always be in sync with the aliased value.\n      if (CHAIN_PASS_THROUGH.has(descriptor)) {\n        current[segment];\n      }\n      break;\n    }\n    if (descriptor === undefined) {\n      // If the descriptor is undefined, then its a normal property, so we should\n      // lookup the value to chain off of like normal.\n      if (!(segment in current) && typeof current.unknownProperty === 'function') {\n        current = current.unknownProperty(segment);\n      } else {\n        current = current[segment];\n      }\n    } else if (CHAIN_PASS_THROUGH.has(descriptor)) {\n      current = current[segment];\n    } else {\n      // If the descriptor is defined, then its a normal CP (not an alias, which\n      // would have been handled earlier). We get the last revision to check if\n      // the CP is still valid, and if so we use the cached value. If not, then\n      // we create a lazy chain lookup, and the next time the CP is calculated,\n      // it will update that lazy chain.\n      let instanceMeta = currentMeta.source === current ? currentMeta : meta(current);\n      let lastRevision = instanceMeta.revisionFor(segment);\n      if (lastRevision !== undefined && validateTag(propertyTag, lastRevision)) {\n        current = instanceMeta.valueFor(segment);\n      } else {\n        // use metaFor here to ensure we have the meta for the instance\n        let lazyChains = instanceMeta.writableLazyChainsFor(segment);\n        let rest = path.substring(segmentEnd + 1);\n        let placeholderTag = createUpdatableTag();\n        lazyChains.push([placeholderTag, rest]);\n        chainTags.push(placeholderTag);\n        break;\n      }\n    }\n    if (!isObject(current)) {\n      // we've hit the end of the chain for now, break out\n      break;\n    }\n    currentTagMeta = tagMetaFor(current);\n    currentMeta = peekMeta(current);\n  }\n  return chainTags;\n}\n\nfunction isElementDescriptor(args) {\n  let [maybeTarget, maybeKey, maybeDesc] = args;\n  return (\n    // Ensure we have the right number of args\n    args.length === 3 && (\n    // Make sure the target is a class or object (prototype)\n    typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) &&\n    // Make sure the key is a string\n    typeof maybeKey === 'string' && (\n    // Make sure the descriptor is the right shape\n    typeof maybeDesc === 'object' && maybeDesc !== null || maybeDesc === undefined)\n  );\n}\nfunction nativeDescDecorator(propertyDesc) {\n  let decorator = function () {\n    return propertyDesc;\n  };\n  setClassicDecorator(decorator);\n  return decorator;\n}\n/**\n  Objects of this type can implement an interface to respond to requests to\n  get and set. The default implementation handles simple properties.\n\n  @class Descriptor\n  @private\n*/\nclass ComputedDescriptor {\n  constructor() {\n    this.enumerable = true;\n    this.configurable = true;\n    this._dependentKeys = undefined;\n    this._meta = undefined;\n  }\n  setup(_obj, keyName, _propertyDesc, meta$$1) {\n    meta$$1.writeDescriptors(keyName, this);\n  }\n  teardown(_obj, keyName, meta$$1) {\n    meta$$1.removeDescriptors(keyName);\n  }\n}\nlet COMPUTED_GETTERS;\nif (DEBUG) {\n  COMPUTED_GETTERS = new _WeakSet();\n}\nfunction DESCRIPTOR_GETTER_FUNCTION(name, descriptor) {\n  function getter() {\n    return descriptor.get(this, name);\n  }\n  if (DEBUG) {\n    COMPUTED_GETTERS.add(getter);\n  }\n  return getter;\n}\nfunction DESCRIPTOR_SETTER_FUNCTION(name, descriptor) {\n  let set = function CPSETTER_FUNCTION(value) {\n    return descriptor.set(this, name, value);\n  };\n  COMPUTED_SETTERS.add(set);\n  return set;\n}\nconst COMPUTED_SETTERS = new _WeakSet();\nfunction makeComputedDecorator(desc, DecoratorClass) {\n  let decorator = function COMPUTED_DECORATOR(target, key, propertyDesc, maybeMeta, isClassicDecorator) {\n    assert(`Only one computed property decorator can be applied to a class field or accessor, but '${key}' was decorated twice. You may have added the decorator to both a getter and setter, which is unnecessary.`, isClassicDecorator || !propertyDesc || !propertyDesc.get || !COMPUTED_GETTERS.has(propertyDesc.get));\n    let meta$$1 = arguments.length === 3 ? meta(target) : maybeMeta;\n    desc.setup(target, key, propertyDesc, meta$$1);\n    let computedDesc = {\n      enumerable: desc.enumerable,\n      configurable: desc.configurable,\n      get: DESCRIPTOR_GETTER_FUNCTION(key, desc),\n      set: DESCRIPTOR_SETTER_FUNCTION(key, desc)\n    };\n    return computedDesc;\n  };\n  setClassicDecorator(decorator, desc);\n  Object.setPrototypeOf(decorator, DecoratorClass.prototype);\n  return decorator;\n}\n/////////////\nconst DECORATOR_DESCRIPTOR_MAP = new WeakMap();\n/**\n  Returns the CP descriptor associated with `obj` and `keyName`, if any.\n\n  @method descriptorForProperty\n  @param {Object} obj the object to check\n  @param {String} keyName the key to check\n  @return {Descriptor}\n  @private\n*/\nfunction descriptorForProperty(obj, keyName, _meta) {\n  assert('Cannot call `descriptorForProperty` on null', obj !== null);\n  assert('Cannot call `descriptorForProperty` on undefined', obj !== undefined);\n  assert(`Cannot call \\`descriptorForProperty\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function');\n  let meta$$1 = _meta === undefined ? peekMeta(obj) : _meta;\n  if (meta$$1 !== null) {\n    return meta$$1.peekDescriptors(keyName);\n  }\n}\nfunction descriptorForDecorator(dec) {\n  return DECORATOR_DESCRIPTOR_MAP.get(dec);\n}\n/**\n  Check whether a value is a decorator\n\n  @method isClassicDecorator\n  @param {any} possibleDesc the value to check\n  @return {boolean}\n  @private\n*/\nfunction isClassicDecorator(dec) {\n  return typeof dec === 'function' && DECORATOR_DESCRIPTOR_MAP.has(dec);\n}\n/**\n  Set a value as a decorator\n\n  @method setClassicDecorator\n  @param {function} decorator the value to mark as a decorator\n  @private\n*/\nfunction setClassicDecorator(dec, value = true) {\n  DECORATOR_DESCRIPTOR_MAP.set(dec, value);\n}\n\n/**\n@module @ember/object\n*/\nconst END_WITH_EACH_REGEX = /\\.@each$/;\n/**\n  Expands `pattern`, invoking `callback` for each expansion.\n\n  The only pattern supported is brace-expansion, anything else will be passed\n  once to `callback` directly.\n\n  Example\n\n  ```js\n  import { expandProperties } from '@ember/object/computed';\n\n  function echo(arg){ console.log(arg); }\n\n  expandProperties('foo.bar', echo);              //=> 'foo.bar'\n  expandProperties('{foo,bar}', echo);            //=> 'foo', 'bar'\n  expandProperties('foo.{bar,baz}', echo);        //=> 'foo.bar', 'foo.baz'\n  expandProperties('{foo,bar}.baz', echo);        //=> 'foo.baz', 'bar.baz'\n  expandProperties('foo.{bar,baz}.[]', echo)      //=> 'foo.bar.[]', 'foo.baz.[]'\n  expandProperties('{foo,bar}.{spam,eggs}', echo) //=> 'foo.spam', 'foo.eggs', 'bar.spam', 'bar.eggs'\n  expandProperties('{foo}.bar.{baz}')             //=> 'foo.bar.baz'\n  ```\n\n  @method expandProperties\n  @static\n  @for @ember/object/computed\n  @public\n  @param {String} pattern The property pattern to expand.\n  @param {Function} callback The callback to invoke.  It is invoked once per\n  expansion, and is passed the expansion.\n*/\nfunction expandProperties(pattern, callback) {\n  assert(`A computed property key must be a string, you passed ${typeof pattern} ${pattern}`, typeof pattern === 'string');\n  assert('Brace expanded properties cannot contain spaces, e.g. \"user.{firstName, lastName}\" should be \"user.{firstName,lastName}\"', pattern.indexOf(' ') === -1);\n  // regex to look for double open, double close, or unclosed braces\n  assert(`Brace expanded properties have to be balanced and cannot be nested, pattern: ${pattern}`, pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g) === null);\n  let start = pattern.indexOf('{');\n  if (start < 0) {\n    callback(pattern.replace(END_WITH_EACH_REGEX, '.[]'));\n  } else {\n    dive('', pattern, start, callback);\n  }\n}\nfunction dive(prefix, pattern, start, callback) {\n  let end = pattern.indexOf('}'),\n    i = 0,\n    newStart,\n    arrayLength;\n  let tempArr = pattern.substring(start + 1, end).split(',');\n  let after = pattern.substring(end + 1);\n  prefix = prefix + pattern.substring(0, start);\n  arrayLength = tempArr.length;\n  while (i < arrayLength) {\n    newStart = after.indexOf('{');\n    if (newStart < 0) {\n      callback((prefix + tempArr[i++] + after).replace(END_WITH_EACH_REGEX, '.[]'));\n    } else {\n      dive(prefix + tempArr[i++], after, newStart, callback);\n    }\n  }\n}\n\n/**\n@module @ember/object\n*/\nconst DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\nfunction noop() {}\n/**\n  `@computed` is a decorator that turns a JavaScript getter and setter into a\n  computed property, which is a _cached, trackable value_. By default the getter\n  will only be called once and the result will be cached. You can specify\n  various properties that your computed property depends on. This will force the\n  cached result to be cleared if the dependencies are modified, and lazily recomputed the next time something asks for it.\n\n  In the following example we decorate a getter - `fullName` -  by calling\n  `computed` with the property dependencies (`firstName` and `lastName`) as\n  arguments. The `fullName` getter will be called once (regardless of how many\n  times it is accessed) as long as its dependencies do not change. Once\n  `firstName` or `lastName` are updated any future calls to `fullName` will\n  incorporate the new values, and any watchers of the value such as templates\n  will be updated:\n\n  ```javascript\n  import { computed, set } from '@ember/object';\n\n  class Person {\n    constructor(firstName, lastName) {\n      set(this, 'firstName', firstName);\n      set(this, 'lastName', lastName);\n    }\n\n    @computed('firstName', 'lastName')\n    get fullName() {\n      return `${this.firstName} ${this.lastName}`;\n    }\n  });\n\n  let tom = new Person('Tom', 'Dale');\n\n  tom.fullName; // 'Tom Dale'\n  ```\n\n  You can also provide a setter, which will be used when updating the computed\n  property. Ember's `set` function must be used to update the property\n  since it will also notify observers of the property:\n\n  ```javascript\n  import { computed, set } from '@ember/object';\n\n  class Person {\n    constructor(firstName, lastName) {\n      set(this, 'firstName', firstName);\n      set(this, 'lastName', lastName);\n    }\n\n    @computed('firstName', 'lastName')\n    get fullName() {\n      return `${this.firstName} ${this.lastName}`;\n    }\n\n    set fullName(value) {\n      let [firstName, lastName] = value.split(' ');\n\n      set(this, 'firstName', firstName);\n      set(this, 'lastName', lastName);\n    }\n  });\n\n  let person = new Person();\n\n  set(person, 'fullName', 'Peter Wagenet');\n  person.firstName; // 'Peter'\n  person.lastName;  // 'Wagenet'\n  ```\n\n  You can also pass a getter function or object with `get` and `set` functions\n  as the last argument to the computed decorator. This allows you to define\n  computed property _macros_:\n\n  ```js\n  import { computed } from '@ember/object';\n\n  function join(...keys) {\n    return computed(...keys, function() {\n      return keys.map(key => this[key]).join(' ');\n    });\n  }\n\n  class Person {\n    @join('firstName', 'lastName')\n    fullName;\n  }\n  ```\n\n  Note that when defined this way, getters and setters receive the _key_ of the\n  property they are decorating as the first argument. Setters receive the value\n  they are setting to as the second argument instead. Additionally, setters must\n  _return_ the value that should be cached:\n\n  ```javascript\n  import { computed, set } from '@ember/object';\n\n  function fullNameMacro(firstNameKey, lastNameKey) {\n    return computed(firstNameKey, lastNameKey, {\n      get() {\n        return `${this[firstNameKey]} ${this[lastNameKey]}`;\n      }\n\n      set(key, value) {\n        let [firstName, lastName] = value.split(' ');\n\n        set(this, firstNameKey, firstName);\n        set(this, lastNameKey, lastName);\n\n        return value;\n      }\n    });\n  }\n\n  class Person {\n    constructor(firstName, lastName) {\n      set(this, 'firstName', firstName);\n      set(this, 'lastName', lastName);\n    }\n\n    @fullNameMacro('firstName', 'lastName') fullName;\n  });\n\n  let person = new Person();\n\n  set(person, 'fullName', 'Peter Wagenet');\n  person.firstName; // 'Peter'\n  person.lastName;  // 'Wagenet'\n  ```\n\n  Computed properties can also be used in classic classes. To do this, we\n  provide the getter and setter as the last argument like we would for a macro,\n  and we assign it to a property on the class definition. This is an _anonymous_\n  computed macro:\n\n  ```javascript\n  import EmberObject, { computed, set } from '@ember/object';\n\n  let Person = EmberObject.extend({\n    // these will be supplied by `create`\n    firstName: null,\n    lastName: null,\n\n    fullName: computed('firstName', 'lastName', {\n      get() {\n        return `${this.firstName} ${this.lastName}`;\n      }\n\n      set(key, value) {\n        let [firstName, lastName] = value.split(' ');\n\n        set(this, 'firstName', firstName);\n        set(this, 'lastName', lastName);\n\n        return value;\n      }\n    })\n  });\n\n  let tom = Person.create({\n    firstName: 'Tom',\n    lastName: 'Dale'\n  });\n\n  tom.get('fullName') // 'Tom Dale'\n  ```\n\n  You can overwrite computed property without setters with a normal property (no\n  longer computed) that won't change if dependencies change. You can also mark\n  computed property as `.readOnly()` and block all attempts to set it.\n\n  ```javascript\n  import { computed, set } from '@ember/object';\n\n  class Person {\n    constructor(firstName, lastName) {\n      set(this, 'firstName', firstName);\n      set(this, 'lastName', lastName);\n    }\n\n    @computed('firstName', 'lastName').readOnly()\n    get fullName() {\n      return `${this.firstName} ${this.lastName}`;\n    }\n  });\n\n  let person = new Person();\n  person.set('fullName', 'Peter Wagenet'); // Uncaught Error: Cannot set read-only property \"fullName\" on object: <(...):emberXXX>\n  ```\n\n  Additional resources:\n  - [Decorators RFC](https://github.com/emberjs/rfcs/blob/master/text/0408-decorators.md)\n  - [New CP syntax RFC](https://github.com/emberjs/rfcs/blob/master/text/0011-improved-cp-syntax.md)\n  - [New computed syntax explained in \"Ember 1.12 released\" ](https://emberjs.com/blog/2015/05/13/ember-1-12-released.html#toc_new-computed-syntax)\n\n  @class ComputedProperty\n  @public\n*/\nclass ComputedProperty extends ComputedDescriptor {\n  constructor(args) {\n    super();\n    this._readOnly = false;\n    this._hasConfig = false;\n    this._getter = undefined;\n    this._setter = undefined;\n    let maybeConfig = args[args.length - 1];\n    if (typeof maybeConfig === 'function' || maybeConfig !== null && typeof maybeConfig === 'object') {\n      this._hasConfig = true;\n      let config = args.pop();\n      if (typeof config === 'function') {\n        assert(`You attempted to pass a computed property instance to computed(). Computed property instances are decorator functions, and cannot be passed to computed() because they cannot be turned into decorators twice`, !isClassicDecorator(config));\n        this._getter = config;\n      } else {\n        const objectConfig = config;\n        assert('computed expects a function or an object as last argument.', typeof objectConfig === 'object' && !Array.isArray(objectConfig));\n        assert('Config object passed to computed can only contain `get` and `set` keys.', Object.keys(objectConfig).every(key => key === 'get' || key === 'set'));\n        assert('Computed properties must receive a getter or a setter, you passed none.', Boolean(objectConfig.get) || Boolean(objectConfig.set));\n        this._getter = objectConfig.get || noop;\n        this._setter = objectConfig.set;\n      }\n    }\n    if (args.length > 0) {\n      this._property(...args);\n    }\n  }\n  setup(obj, keyName, propertyDesc, meta$$1) {\n    super.setup(obj, keyName, propertyDesc, meta$$1);\n    assert(`@computed can only be used on accessors or fields, attempted to use it with ${keyName} but that was a method. Try converting it to a getter (e.g. \\`get ${keyName}() {}\\`)`, !(propertyDesc && typeof propertyDesc.value === 'function'));\n    assert(`@computed can only be used on empty fields. ${keyName} has an initial value (e.g. \\`${keyName} = someValue\\`)`, !propertyDesc || !propertyDesc.initializer);\n    assert(`Attempted to apply a computed property that already has a getter/setter to a ${keyName}, but it is a method or an accessor. If you passed @computed a function or getter/setter (e.g. \\`@computed({ get() { ... } })\\`), then it must be applied to a field`, !(this._hasConfig && propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function')));\n    if (this._hasConfig === false) {\n      assert(`Attempted to use @computed on ${keyName}, but it did not have a getter or a setter. You must either pass a get a function or getter/setter to @computed directly (e.g. \\`@computed({ get() { ... } })\\`) or apply @computed directly to a getter/setter`, propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function'));\n      let {\n        get,\n        set\n      } = propertyDesc;\n      if (get !== undefined) {\n        this._getter = get;\n      }\n      if (set !== undefined) {\n        this._setter = function setterWrapper(_key, value) {\n          let ret = set.call(this, value);\n          if (get !== undefined) {\n            return typeof ret === 'undefined' ? get.call(this) : ret;\n          }\n          return ret;\n        };\n      }\n    }\n  }\n  _property(...passedArgs) {\n    let args = [];\n    function addArg(property) {\n      assert(`Dependent keys containing @each only work one level deep. ` + `You used the key \"${property}\" which is invalid. ` + `Please create an intermediary computed property or ` + `switch to using tracked properties.`, DEEP_EACH_REGEX.test(property) === false);\n      args.push(property);\n    }\n    for (let arg of passedArgs) {\n      expandProperties(arg, addArg);\n    }\n    this._dependentKeys = args;\n  }\n  get(obj, keyName) {\n    let meta$$1 = meta(obj);\n    let tagMeta = tagMetaFor(obj);\n    let propertyTag = tagFor(obj, keyName, tagMeta);\n    let ret;\n    let revision = meta$$1.revisionFor(keyName);\n    if (revision !== undefined && validateTag(propertyTag, revision)) {\n      ret = meta$$1.valueFor(keyName);\n    } else {\n      // For backwards compatibility, we only throw if the CP has any dependencies. CPs without dependencies\n      // should be allowed, even after the object has been destroyed, which is why we check _dependentKeys.\n      assert(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, this._dependentKeys === undefined || !isDestroyed(obj));\n      let {\n        _getter,\n        _dependentKeys\n      } = this;\n      // Create a tracker that absorbs any trackable actions inside the CP\n      untrack(() => {\n        ret = _getter.call(obj, keyName);\n      });\n      if (_dependentKeys !== undefined) {\n        updateTag(propertyTag, getChainTagsForKeys(obj, _dependentKeys, tagMeta, meta$$1));\n        if (DEBUG) {\n          ALLOW_CYCLES.set(propertyTag, true);\n        }\n      }\n      meta$$1.setValueFor(keyName, ret);\n      meta$$1.setRevisionFor(keyName, valueForTag(propertyTag));\n      finishLazyChains(meta$$1, keyName, ret);\n    }\n    consumeTag(propertyTag);\n    // Add the tag of the returned value if it is an array, since arrays\n    // should always cause updates if they are consumed and then changed\n    if (Array.isArray(ret)) {\n      consumeTag(tagFor(ret, '[]'));\n    }\n    return ret;\n  }\n  set(obj, keyName, value) {\n    if (this._readOnly) {\n      this._throwReadOnlyError(obj, keyName);\n    }\n    assert(`Cannot override the computed property \\`${keyName}\\` on ${toString(obj)}.`, this._setter !== undefined);\n    let meta$$1 = meta(obj);\n    // ensure two way binding works when the component has defined a computed\n    // property with both a setter and dependent keys, in that scenario without\n    // the sync observer added below the caller's value will never be updated\n    //\n    // See GH#18147 / GH#19028 for details.\n    if (\n    // ensure that we only run this once, while the component is being instantiated\n    meta$$1.isInitializing() && this._dependentKeys !== undefined && this._dependentKeys.length > 0 && typeof obj[PROPERTY_DID_CHANGE] === 'function' && obj.isComponent) {\n      // It's redundant to do this here, but we don't want to check above so we can avoid an extra function call in prod.\n      assert('property did change hook is invalid', hasPropertyDidChange(obj));\n      addObserver(obj, keyName, () => {\n        obj[PROPERTY_DID_CHANGE](keyName);\n      }, undefined, true);\n    }\n    let ret;\n    try {\n      beginPropertyChanges();\n      ret = this._set(obj, keyName, value, meta$$1);\n      finishLazyChains(meta$$1, keyName, ret);\n      let tagMeta = tagMetaFor(obj);\n      let propertyTag = tagFor(obj, keyName, tagMeta);\n      let {\n        _dependentKeys\n      } = this;\n      if (_dependentKeys !== undefined) {\n        updateTag(propertyTag, getChainTagsForKeys(obj, _dependentKeys, tagMeta, meta$$1));\n        if (DEBUG) {\n          ALLOW_CYCLES.set(propertyTag, true);\n        }\n      }\n      meta$$1.setRevisionFor(keyName, valueForTag(propertyTag));\n    } finally {\n      endPropertyChanges();\n    }\n    return ret;\n  }\n  _throwReadOnlyError(obj, keyName) {\n    throw new Error(`Cannot set read-only property \"${keyName}\" on object: ${inspect(obj)}`);\n  }\n  _set(obj, keyName, value, meta$$1) {\n    let hadCachedValue = meta$$1.revisionFor(keyName) !== undefined;\n    let cachedValue = meta$$1.valueFor(keyName);\n    let ret;\n    let {\n      _setter\n    } = this;\n    setObserverSuspended(obj, keyName, true);\n    try {\n      ret = _setter.call(obj, keyName, value, cachedValue);\n    } finally {\n      setObserverSuspended(obj, keyName, false);\n    }\n    // allows setter to return the same value that is cached already\n    if (hadCachedValue && cachedValue === ret) {\n      return ret;\n    }\n    meta$$1.setValueFor(keyName, ret);\n    notifyPropertyChange(obj, keyName, meta$$1, value);\n    return ret;\n  }\n  /* called before property is overridden */\n  teardown(obj, keyName, meta$$1) {\n    if (meta$$1.revisionFor(keyName) !== undefined) {\n      meta$$1.setRevisionFor(keyName, undefined);\n      meta$$1.setValueFor(keyName, undefined);\n    }\n    super.teardown(obj, keyName, meta$$1);\n  }\n}\nclass AutoComputedProperty extends ComputedProperty {\n  get(obj, keyName) {\n    let meta$$1 = meta(obj);\n    let tagMeta = tagMetaFor(obj);\n    let propertyTag = tagFor(obj, keyName, tagMeta);\n    let ret;\n    let revision = meta$$1.revisionFor(keyName);\n    if (revision !== undefined && validateTag(propertyTag, revision)) {\n      ret = meta$$1.valueFor(keyName);\n    } else {\n      assert(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, !isDestroyed(obj));\n      let {\n        _getter\n      } = this;\n      // Create a tracker that absorbs any trackable actions inside the CP\n      let tag = track(() => {\n        ret = _getter.call(obj, keyName);\n      });\n      updateTag(propertyTag, tag);\n      meta$$1.setValueFor(keyName, ret);\n      meta$$1.setRevisionFor(keyName, valueForTag(propertyTag));\n      finishLazyChains(meta$$1, keyName, ret);\n    }\n    consumeTag(propertyTag);\n    // Add the tag of the returned value if it is an array, since arrays\n    // should always cause updates if they are consumed and then changed\n    if (Array.isArray(ret)) {\n      consumeTag(tagFor(ret, '[]', tagMeta));\n    }\n    return ret;\n  }\n}\n// TODO: This class can be svelted once `meta` has been deprecated\nclass ComputedDecoratorImpl extends Function {\n  /**\n    Call on a computed property to set it into read-only mode. When in this\n    mode the computed property will throw an error when set.\n       Example:\n       ```javascript\n    import { computed, set } from '@ember/object';\n       class Person {\n      @computed().readOnly()\n      get guid() {\n        return 'guid-guid-guid';\n      }\n    }\n       let person = new Person();\n    set(person, 'guid', 'new-guid'); // will throw an exception\n    ```\n       Classic Class Example:\n       ```javascript\n    import EmberObject, { computed } from '@ember/object';\n       let Person = EmberObject.extend({\n      guid: computed(function() {\n        return 'guid-guid-guid';\n      }).readOnly()\n    });\n       let person = Person.create();\n    person.set('guid', 'new-guid'); // will throw an exception\n    ```\n       @method readOnly\n    @return {ComputedProperty} this\n    @chainable\n    @public\n  */\n  readOnly() {\n    let desc = descriptorForDecorator(this);\n    assert('Computed properties that define a setter using the new syntax cannot be read-only', !(desc._setter && desc._setter !== desc._getter));\n    desc._readOnly = true;\n    return this;\n  }\n  /**\n    In some cases, you may want to annotate computed properties with additional\n    metadata about how they function or what values they operate on. For example,\n    computed property functions may close over variables that are then no longer\n    available for introspection. You can pass a hash of these values to a\n    computed property.\n       Example:\n       ```javascript\n    import { computed } from '@ember/object';\n    import Person from 'my-app/utils/person';\n       class Store {\n      @computed().meta({ type: Person })\n      get person() {\n        let personId = this.personId;\n        return Person.create({ id: personId });\n      }\n    }\n    ```\n       Classic Class Example:\n       ```javascript\n    import { computed } from '@ember/object';\n    import Person from 'my-app/utils/person';\n       const Store = EmberObject.extend({\n      person: computed(function() {\n        let personId = this.get('personId');\n        return Person.create({ id: personId });\n      }).meta({ type: Person })\n    });\n    ```\n       The hash that you pass to the `meta()` function will be saved on the\n    computed property descriptor under the `_meta` key. Ember runtime\n    exposes a public API for retrieving these values from classes,\n    via the `metaForProperty()` function.\n       @method meta\n    @param {Object} meta\n    @chainable\n    @public\n  */\n  meta(meta$$1) {\n    let prop = descriptorForDecorator(this);\n    if (arguments.length === 0) {\n      return prop._meta || {};\n    } else {\n      prop._meta = meta$$1;\n      return this;\n    }\n  }\n  // TODO: Remove this when we can provide alternatives in the ecosystem to\n  // addons such as ember-macro-helpers that use it.\n  /** @internal */\n  get _getter() {\n    return descriptorForDecorator(this)._getter;\n  }\n  // TODO: Refactor this, this is an internal API only\n  /** @internal */\n  set enumerable(value) {\n    descriptorForDecorator(this).enumerable = value;\n  }\n}\nfunction computed(...args) {\n  assert(`@computed can only be used directly as a native decorator. If you're using tracked in classic classes, add parenthesis to call it like a function: computed()`, !(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true));\n  if (isElementDescriptor(args)) {\n    // SAFETY: We passed in the impl for this class\n    let decorator = makeComputedDecorator(new ComputedProperty([]), ComputedDecoratorImpl);\n    return decorator(args[0], args[1], args[2]);\n  }\n  // SAFETY: We passed in the impl for this class\n  return makeComputedDecorator(new ComputedProperty(args), ComputedDecoratorImpl);\n}\nfunction autoComputed(...config) {\n  // SAFETY: We passed in the impl for this class\n  return makeComputedDecorator(new AutoComputedProperty(config), ComputedDecoratorImpl);\n}\n/**\n  Allows checking if a given property on an object is a computed property. For the most part,\n  this doesn't matter (you would normally just access the property directly and use its value),\n  but for some tooling specific scenarios (e.g. the ember-inspector) it is important to\n  differentiate if a property is a computed property or a \"normal\" property.\n\n  This will work on either a class's prototype or an instance itself.\n\n  @static\n  @method isComputed\n  @for @ember/debug\n  @private\n */\nfunction isComputed(obj, key) {\n  return Boolean(descriptorForProperty(obj, key));\n}\n\nfunction getCachedValueFor(obj, key) {\n  let meta$$1 = peekMeta(obj);\n  if (meta$$1) {\n    return meta$$1.valueFor(key);\n  } else {\n    return undefined;\n  }\n}\n\n/**\n@module @ember/object\n*/\n/**\n  NOTE: This is a low-level method used by other parts of the API. You almost\n  never want to call this method directly. Instead you should use\n  `mixin()` to define new properties.\n\n  Defines a property on an object. This method works much like the ES5\n  `Object.defineProperty()` method except that it can also accept computed\n  properties and other special descriptors.\n\n  Normally this method takes only three parameters. However if you pass an\n  instance of `Descriptor` as the third param then you can pass an\n  optional value as the fourth parameter. This is often more efficient than\n  creating new descriptor hashes for each property.\n\n  ## Examples\n\n  ```javascript\n  import { defineProperty, computed } from '@ember/object';\n\n  // ES5 compatible mode\n  defineProperty(contact, 'firstName', {\n    writable: true,\n    configurable: false,\n    enumerable: true,\n    value: 'Charles'\n  });\n\n  // define a simple property\n  defineProperty(contact, 'lastName', undefined, 'Jolley');\n\n  // define a computed property\n  defineProperty(contact, 'fullName', computed('firstName', 'lastName', function() {\n    return this.firstName+' '+this.lastName;\n  }));\n  ```\n\n  @public\n  @method defineProperty\n  @static\n  @for @ember/object\n  @param {Object} obj the object to define this property on. This may be a prototype.\n  @param {String} keyName the name of the property\n  @param {Descriptor} [desc] an instance of `Descriptor` (typically a\n    computed property) or an ES5 descriptor.\n    You must provide this or `data` but not both.\n  @param {*} [data] something other than a descriptor, that will\n    become the explicit value of this property.\n*/\nfunction defineProperty(obj, keyName, desc, data, _meta) {\n  let meta$$1 = _meta === undefined ? meta(obj) : _meta;\n  let previousDesc = descriptorForProperty(obj, keyName, meta$$1);\n  let wasDescriptor = previousDesc !== undefined;\n  if (wasDescriptor) {\n    previousDesc.teardown(obj, keyName, meta$$1);\n  }\n  if (isClassicDecorator(desc)) {\n    defineDecorator(obj, keyName, desc, meta$$1);\n  } else if (desc === null || desc === undefined) {\n    defineValue(obj, keyName, data, wasDescriptor, true);\n  } else {\n    // fallback to ES5\n    Object.defineProperty(obj, keyName, desc);\n  }\n  // if key is being watched, override chains that\n  // were initialized with the prototype\n  if (!meta$$1.isPrototypeMeta(obj)) {\n    revalidateObservers(obj);\n  }\n}\nfunction defineDecorator(obj, keyName, desc, meta$$1) {\n  let propertyDesc;\n  if (DEBUG) {\n    propertyDesc = desc(obj, keyName, undefined, meta$$1, true);\n  } else {\n    propertyDesc = desc(obj, keyName, undefined, meta$$1);\n  }\n  Object.defineProperty(obj, keyName, propertyDesc);\n  // pass the decorator function forward for backwards compat\n  return desc;\n}\nfunction defineValue(obj, keyName, value, wasDescriptor, enumerable = true) {\n  if (wasDescriptor === true || enumerable === false) {\n    Object.defineProperty(obj, keyName, {\n      configurable: true,\n      enumerable,\n      writable: true,\n      value\n    });\n  } else {\n    if (DEBUG) {\n      setWithMandatorySetter(obj, keyName, value);\n    } else {\n      obj[keyName] = value;\n    }\n  }\n  return value;\n}\n\nconst firstDotIndexCache = new Cache(1000, key => key.indexOf('.'));\nfunction isPath(path) {\n  return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;\n}\n\nconst PROXY_CONTENT = symbol('PROXY_CONTENT');\nlet getPossibleMandatoryProxyValue;\nif (DEBUG) {\n  getPossibleMandatoryProxyValue = function getPossibleMandatoryProxyValue(obj, keyName) {\n    let content = obj[PROXY_CONTENT];\n    if (content === undefined) {\n      return obj[keyName];\n    } else {\n      /* global Reflect */\n      return Reflect.get(content, keyName, obj);\n    }\n  };\n}\nfunction hasUnknownProperty(val) {\n  return typeof val === 'object' && val !== null && typeof val.unknownProperty === 'function';\n}\nfunction get(obj, keyName) {\n  assert(`Get must be called with two arguments; an object and a property key`, arguments.length === 2);\n  assert(`Cannot call get with '${keyName}' on an undefined object.`, obj !== undefined && obj !== null);\n  assert(`The key provided to get must be a string or number, you passed ${keyName}`, typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName));\n  assert(`'this' in paths is not supported`, typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0);\n  return isPath(keyName) ? _getPath(obj, keyName) : _getProp(obj, keyName);\n}\nfunction _getProp(obj, keyName) {\n  if (obj == null) {\n    return;\n  }\n  let value;\n  if (typeof obj === 'object' || typeof obj === 'function') {\n    if (DEBUG) {\n      value = getPossibleMandatoryProxyValue(obj, keyName);\n    } else {\n      value = obj[keyName];\n    }\n    if (value === undefined && typeof obj === 'object' && !(keyName in obj) && hasUnknownProperty(obj)) {\n      value = obj.unknownProperty(keyName);\n    }\n    if (isTracking()) {\n      consumeTag(tagFor(obj, keyName));\n      if (Array.isArray(value) || isEmberArray(value)) {\n        // Add the tag of the returned value if it is an array, since arrays\n        // should always cause updates if they are consumed and then changed\n        consumeTag(tagFor(value, '[]'));\n      }\n    }\n  } else {\n    // SAFETY: It should be ok to access properties on any non-nullish value\n    value = obj[keyName];\n  }\n  return value;\n}\nfunction _getPath(obj, path, forSet) {\n  let parts = typeof path === 'string' ? path.split('.') : path;\n  for (let part of parts) {\n    if (obj === undefined || obj === null || obj.isDestroyed) {\n      return undefined;\n    }\n    if (forSet && (part === '__proto__' || part === 'constructor')) {\n      return;\n    }\n    obj = _getProp(obj, part);\n  }\n  return obj;\n}\n// Warm it up\n_getProp('foo', 'a');\n_getProp('foo', 1);\n_getProp({}, 'a');\n_getProp({}, 1);\n_getProp({\n  unknownProperty() {}\n}, 'a');\n_getProp({\n  unknownProperty() {}\n}, 1);\nget({}, 'foo');\nget({}, 'foo.bar');\nlet fakeProxy = {};\nsetProxy(fakeProxy);\ntrack(() => _getProp({}, 'a'));\ntrack(() => _getProp({}, 1));\ntrack(() => _getProp({\n  a: []\n}, 'a'));\ntrack(() => _getProp({\n  a: fakeProxy\n}, 'a'));\n\n/**\n @module @ember/object\n*/\n/**\n  Sets the value of a property on an object, respecting computed properties\n  and notifying observers and other listeners of the change.\n  If the specified property is not defined on the object and the object\n  implements the `setUnknownProperty` method, then instead of setting the\n  value of the property on the object, its `setUnknownProperty` handler\n  will be invoked with the two parameters `keyName` and `value`.\n\n  ```javascript\n  import { set } from '@ember/object';\n  set(obj, \"name\", value);\n  ```\n\n  @method set\n  @static\n  @for @ember/object\n  @param {Object} obj The object to modify.\n  @param {String} keyName The property key to set\n  @param {Object} value The value to set\n  @return {Object} the passed value.\n  @public\n*/\nfunction set(obj, keyName, value, tolerant) {\n  assert(`Set must be called with three or four arguments; an object, a property key, a value and tolerant true/false`, arguments.length === 3 || arguments.length === 4);\n  assert(`Cannot call set with '${keyName}' on an undefined object.`, obj && typeof obj === 'object' || typeof obj === 'function');\n  assert(`The key provided to set must be a string or number, you passed ${keyName}`, typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName));\n  assert(`'this' in paths is not supported`, typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0);\n  if (obj.isDestroyed) {\n    assert(`calling set on destroyed object: ${toString(obj)}.${keyName} = ${toString(value)}`, tolerant);\n    return value;\n  }\n  return isPath(keyName) ? _setPath(obj, keyName, value, tolerant) : _setProp(obj, keyName, value);\n}\nfunction _setProp(obj, keyName, value) {\n  let descriptor = lookupDescriptor(obj, keyName);\n  if (descriptor !== null && COMPUTED_SETTERS.has(descriptor.set)) {\n    obj[keyName] = value;\n    return value;\n  }\n  let currentValue;\n  if (DEBUG) {\n    currentValue = getPossibleMandatoryProxyValue(obj, keyName);\n  } else {\n    currentValue = obj[keyName];\n  }\n  if (currentValue === undefined && 'object' === typeof obj && !(keyName in obj) && typeof obj.setUnknownProperty === 'function') {\n    /* unknown property */\n    obj.setUnknownProperty(keyName, value);\n  } else {\n    if (DEBUG) {\n      setWithMandatorySetter(obj, keyName, value);\n    } else {\n      obj[keyName] = value;\n    }\n    if (currentValue !== value) {\n      notifyPropertyChange(obj, keyName);\n    }\n  }\n  return value;\n}\nfunction _setPath(root, path, value, tolerant) {\n  let parts = path.split('.');\n  let keyName = parts.pop();\n  assert('Property set failed: You passed an empty path', keyName.trim().length > 0);\n  let newRoot = _getPath(root, parts, true);\n  if (newRoot !== null && newRoot !== undefined) {\n    return set(newRoot, keyName, value);\n  } else if (!tolerant) {\n    throw new Error(`Property set failed: object in path \"${parts.join('.')}\" could not be found.`);\n  }\n}\n/**\n  Error-tolerant form of `set`. Will not blow up if any part of the\n  chain is `undefined`, `null`, or destroyed.\n\n  This is primarily used when syncing bindings, which may try to update after\n  an object has been destroyed.\n\n  ```javascript\n  import { trySet } from '@ember/object';\n\n  let obj = { name: \"Zoey\" };\n  trySet(obj, \"contacts.twitter\", \"@emberjs\");\n  ```\n\n  @method trySet\n  @static\n  @for @ember/object\n  @param {Object} root The object to modify.\n  @param {String} path The property path to set\n  @param {Object} value The value to set\n  @public\n*/\nfunction trySet(root, path, value) {\n  return set(root, path, value, true);\n}\n\nfunction alias(altKey) {\n  assert('You attempted to use @alias as a decorator directly, but it requires a `altKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  // SAFETY: We passed in the impl for this class\n  return makeComputedDecorator(new AliasedProperty(altKey), AliasDecoratorImpl);\n}\n// TODO: This class can be svelted once `meta` has been deprecated\nclass AliasDecoratorImpl extends Function {\n  readOnly() {\n    descriptorForDecorator(this).readOnly();\n    return this;\n  }\n  oneWay() {\n    descriptorForDecorator(this).oneWay();\n    return this;\n  }\n  meta(meta$$1) {\n    let prop = descriptorForDecorator(this);\n    if (arguments.length === 0) {\n      return prop._meta || {};\n    } else {\n      prop._meta = meta$$1;\n    }\n  }\n}\nclass AliasedProperty extends ComputedDescriptor {\n  constructor(altKey) {\n    super();\n    this.altKey = altKey;\n  }\n  setup(obj, keyName, propertyDesc, meta$$1) {\n    assert(`Setting alias '${keyName}' on self`, this.altKey !== keyName);\n    super.setup(obj, keyName, propertyDesc, meta$$1);\n    CHAIN_PASS_THROUGH.add(this);\n  }\n  get(obj, keyName) {\n    let ret;\n    let meta$$1 = meta(obj);\n    let tagMeta = tagMetaFor(obj);\n    let propertyTag = tagFor(obj, keyName, tagMeta);\n    // We don't use the tag since CPs are not automatic, we just want to avoid\n    // anything tracking while we get the altKey\n    untrack(() => {\n      ret = get(obj, this.altKey);\n    });\n    let lastRevision = meta$$1.revisionFor(keyName);\n    if (lastRevision === undefined || !validateTag(propertyTag, lastRevision)) {\n      updateTag(propertyTag, getChainTagsForKey(obj, this.altKey, tagMeta, meta$$1));\n      meta$$1.setRevisionFor(keyName, valueForTag(propertyTag));\n      finishLazyChains(meta$$1, keyName, ret);\n    }\n    consumeTag(propertyTag);\n    return ret;\n  }\n  set(obj, _keyName, value) {\n    return set(obj, this.altKey, value);\n  }\n  readOnly() {\n    this.set = AliasedProperty_readOnlySet;\n  }\n  oneWay() {\n    this.set = AliasedProperty_oneWaySet;\n  }\n}\nfunction AliasedProperty_readOnlySet(obj, keyName) {\n  throw new Error(`Cannot set read-only property '${keyName}' on object: ${inspect(obj)}`);\n}\nfunction AliasedProperty_oneWaySet(obj, keyName, value) {\n  defineProperty(obj, keyName, null);\n  return set(obj, keyName, value);\n}\n\n/**\n@module ember\n*/\n/**\n  Used internally to allow changing properties in a backwards compatible way, and print a helpful\n  deprecation warning.\n\n  @method deprecateProperty\n  @param {Object} object The object to add the deprecated property to.\n  @param {String} deprecatedKey The property to add (and print deprecation warnings upon accessing).\n  @param {String} newKey The property that will be aliased.\n  @private\n  @since 1.7.0\n*/\nfunction deprecateProperty(object, deprecatedKey, newKey, options) {\n  function _deprecate() {\n    deprecate(`Usage of \\`${deprecatedKey}\\` is deprecated, use \\`${newKey}\\` instead.`, false, options);\n  }\n  Object.defineProperty(object, deprecatedKey, {\n    configurable: true,\n    enumerable: false,\n    set(value) {\n      _deprecate();\n      set(this, newKey, value);\n    },\n    get() {\n      _deprecate();\n      return get(this, newKey);\n    }\n  });\n}\n\nconst EACH_PROXIES = new WeakMap();\nfunction eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n  let eachProxy = EACH_PROXIES.get(array);\n  if (eachProxy !== undefined) {\n    eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n  }\n}\nfunction eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n  let eachProxy = EACH_PROXIES.get(array);\n  if (eachProxy !== undefined) {\n    eachProxy.arrayDidChange(array, idx, removedCnt, addedCnt);\n  }\n}\n\n/**\n @module ember\n*/\n/**\n  Helper class that allows you to register your library with Ember.\n\n  Singleton created at `Ember.libraries`.\n\n  @class Libraries\n  @constructor\n  @private\n*/\nclass Libraries {\n  constructor() {\n    this._registry = [];\n    this._coreLibIndex = 0;\n  }\n  _getLibraryByName(name) {\n    let libs = this._registry;\n    for (let lib of libs) {\n      if (lib.name === name) {\n        return lib;\n      }\n    }\n    return undefined;\n  }\n  register(name, version, isCoreLibrary) {\n    let index = this._registry.length;\n    if (!this._getLibraryByName(name)) {\n      if (isCoreLibrary) {\n        index = this._coreLibIndex++;\n      }\n      this._registry.splice(index, 0, {\n        name,\n        version\n      });\n    } else {\n      warn(`Library \"${name}\" is already registered with Ember.`, false, {\n        id: 'ember-metal.libraries-register'\n      });\n    }\n  }\n  registerCoreLibrary(name, version) {\n    this.register(name, version, true);\n  }\n  deRegister(name) {\n    let lib = this._getLibraryByName(name);\n    let index;\n    if (lib) {\n      index = this._registry.indexOf(lib);\n      this._registry.splice(index, 1);\n    }\n  }\n}\nif (DEBUG) {\n  Libraries.prototype.logVersions = function () {\n    let libs = this._registry;\n    let nameLengths = libs.map(item => get(item, 'name.length'));\n    assert('nameLengths is number array', nameLengths instanceof Array && nameLengths.every(n => typeof n === 'number'));\n    let maxNameLength = Math.max.apply(null, nameLengths);\n    debug('-------------------------------');\n    for (let lib of libs) {\n      let spaces = new Array(maxNameLength - lib.name.length + 1).join(' ');\n      debug([lib.name, spaces, ' : ', lib.version].join(''));\n    }\n    debug('-------------------------------');\n  };\n}\nconst LIBRARIES = new Libraries();\nLIBRARIES.registerCoreLibrary('Ember', VERSION);\n\nfunction getProperties(obj, keys) {\n  let ret = {};\n  let propertyNames;\n  let i = 1;\n  if (arguments.length === 2 && Array.isArray(keys)) {\n    i = 0;\n    propertyNames = arguments[1];\n  } else {\n    propertyNames = Array.from(arguments);\n  }\n  for (; i < propertyNames.length; i++) {\n    ret[propertyNames[i]] = get(obj, propertyNames[i]);\n  }\n  return ret;\n}\n\n/**\n @module @ember/object\n*/\n/**\n  Set a list of properties on an object. These properties are set inside\n  a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n  observers will be buffered.\n\n  ```javascript\n  import EmberObject from '@ember/object';\n  let anObject = EmberObject.create();\n\n  anObject.setProperties({\n    firstName: 'Stanley',\n    lastName: 'Stuart',\n    age: 21\n  });\n  ```\n\n  @method setProperties\n  @static\n  @for @ember/object\n  @param obj\n  @param {Object} properties\n  @return properties\n  @public\n*/\nfunction setProperties(obj, properties) {\n  if (properties === null || typeof properties !== 'object') {\n    return properties;\n  }\n  changeProperties(() => {\n    let props = Object.keys(properties);\n    for (let propertyName of props) {\n      set(obj, propertyName, properties[propertyName]);\n    }\n  });\n  return properties;\n}\n\nlet DEBUG_INJECTION_FUNCTIONS;\nif (DEBUG) {\n  DEBUG_INJECTION_FUNCTIONS = new WeakMap();\n}\nfunction inject(type, ...args) {\n  assert('a string type must be provided to inject', typeof type === 'string');\n  let elementDescriptor;\n  let name;\n  if (isElementDescriptor(args)) {\n    elementDescriptor = args;\n  } else if (typeof args[0] === 'string') {\n    name = args[0];\n  }\n  let getInjection = function (propertyName) {\n    let owner = getOwner(this) || this.container; // fallback to `container` for backwards compat\n    assert(`Attempting to lookup an injected property on an object without a container, ensure that the object was instantiated via a container.`, Boolean(owner));\n    return owner.lookup(`${type}:${name || propertyName}`);\n  };\n  if (DEBUG) {\n    DEBUG_INJECTION_FUNCTIONS.set(getInjection, {\n      type,\n      name\n    });\n  }\n  let decorator = computed({\n    get: getInjection,\n    set(keyName, value) {\n      defineProperty(this, keyName, null, value);\n    }\n  });\n  if (elementDescriptor) {\n    return decorator(elementDescriptor[0], elementDescriptor[1], elementDescriptor[2]);\n  } else {\n    return decorator;\n  }\n}\n\nfunction tracked(...args) {\n  assert(`@tracked can only be used directly as a native decorator. If you're using tracked in classic classes, add parenthesis to call it like a function: tracked()`, !(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true));\n  if (!isElementDescriptor(args)) {\n    let propertyDesc = args[0];\n    assert(`tracked() may only receive an options object containing 'value' or 'initializer', received ${propertyDesc}`, args.length === 0 || typeof propertyDesc === 'object' && propertyDesc !== null);\n    if (DEBUG && propertyDesc) {\n      let keys = Object.keys(propertyDesc);\n      assert(`The options object passed to tracked() may only contain a 'value' or 'initializer' property, not both. Received: [${keys}]`, keys.length <= 1 && (keys[0] === undefined || keys[0] === 'value' || keys[0] === 'initializer'));\n      assert(`The initializer passed to tracked must be a function. Received ${propertyDesc.initializer}`, !('initializer' in propertyDesc) || typeof propertyDesc.initializer === 'function');\n    }\n    let initializer = propertyDesc ? propertyDesc.initializer : undefined;\n    let value = propertyDesc ? propertyDesc.value : undefined;\n    let decorator = function (target, key, _desc, _meta, isClassicDecorator$$1) {\n      assert(`You attempted to set a default value for ${key} with the @tracked({ value: 'default' }) syntax. You can only use this syntax with classic classes. For native classes, you can use class initializers: @tracked field = 'default';`, isClassicDecorator$$1);\n      let fieldDesc = {\n        initializer: initializer || (() => value)\n      };\n      return descriptorForField([target, key, fieldDesc]);\n    };\n    setClassicDecorator(decorator);\n    return decorator;\n  }\n  return descriptorForField(args);\n}\nif (DEBUG) {\n  // Normally this isn't a classic decorator, but we want to throw a helpful\n  // error in development so we need it to treat it like one\n  setClassicDecorator(tracked);\n}\nfunction descriptorForField([target, key, desc]) {\n  assert(`You attempted to use @tracked on ${key}, but that element is not a class field. @tracked is only usable on class fields. Native getters and setters will autotrack add any tracked fields they encounter, so there is no need mark getters and setters with @tracked.`, !desc || !desc.value && !desc.get && !desc.set);\n  let {\n    getter,\n    setter\n  } = trackedData(key, desc ? desc.initializer : undefined);\n  function get() {\n    let value = getter(this);\n    // Add the tag of the returned value if it is an array, since arrays\n    // should always cause updates if they are consumed and then changed\n    if (Array.isArray(value) || isEmberArray(value)) {\n      consumeTag(tagFor(value, '[]'));\n    }\n    return value;\n  }\n  function set(newValue) {\n    setter(this, newValue);\n    dirtyTagFor(this, SELF_TAG);\n  }\n  let newDesc = {\n    enumerable: true,\n    configurable: true,\n    isTracked: true,\n    get,\n    set\n  };\n  COMPUTED_SETTERS.add(set);\n  meta(target).writeDescriptors(key, new TrackedDescriptor(get, set));\n  return newDesc;\n}\nclass TrackedDescriptor {\n  constructor(_get, _set) {\n    this._get = _get;\n    this._set = _set;\n    CHAIN_PASS_THROUGH.add(this);\n  }\n  get(obj) {\n    return this._get.call(obj);\n  }\n  set(obj, _key, value) {\n    this._set.call(obj, value);\n  }\n}\n\n// NOTE: copied from: https://github.com/glimmerjs/glimmer.js/pull/358\n// eslint-disable-next-line @typescript-eslint/no-explicit-any\nconst cached = (...args) => {\n  const [target, key, descriptor] = args;\n  // Error on `@cached()`, `@cached(...args)`, and `@cached propName = value;`\n  if (DEBUG && target === undefined) throwCachedExtraneousParens();\n  if (DEBUG && (typeof target !== 'object' || typeof key !== 'string' || typeof descriptor !== 'object' || args.length !== 3)) {\n    throwCachedInvalidArgsError(args);\n  }\n  if (DEBUG && (!('get' in descriptor) || typeof descriptor.get !== 'function')) {\n    throwCachedGetterOnlyError(key);\n  }\n  const caches = new WeakMap();\n  const getter = descriptor.get;\n  descriptor.get = function () {\n    if (!caches.has(this)) {\n      caches.set(this, createCache(getter.bind(this)));\n    }\n    return getValue(caches.get(this));\n  };\n};\nfunction throwCachedExtraneousParens() {\n  throw new Error('You attempted to use @cached(), which is not necessary nor supported. Remove the parentheses and you will be good to go!');\n}\nfunction throwCachedGetterOnlyError(key) {\n  throw new Error(`The @cached decorator must be applied to getters. '${key}' is not a getter.`);\n}\nfunction throwCachedInvalidArgsError(args = []) {\n  throw new Error(`You attempted to use @cached on with ${args.length > 1 ? 'arguments' : 'an argument'} ( @cached(${args.map(d => `'${d}'`).join(', ')}), which is not supported. Dependencies are automatically tracked, so you can just use ${'`@cached`'}`);\n}\n\n/**\n  Ember uses caching based on trackable values to avoid updating large portions\n  of the application. This caching is exposed via a cache primitive that can be\n  used to cache a specific computation, so that it will not update and will\n  return the cached value until a tracked value used in its computation has\n  updated.\n\n  @module @glimmer/tracking/primitives/cache\n  @public\n*/\n/**\n  Receives a function, and returns a wrapped version of it that memoizes based on\n  _autotracking_. The function will only rerun whenever any tracked values used\n  within it have changed. Otherwise, it will return the previous value.\n\n  ```js\n  import { tracked } from '@glimmer/tracking';\n  import { createCache, getValue } from '@glimmer/tracking/primitives/cache';\n\n  class State {\n    @tracked value;\n  }\n\n  let state = new State();\n  let computeCount = 0;\n\n  let counter = createCache(() => {\n    // consume the state. Now, `counter` will\n    // only rerun if `state.value` changes.\n    state.value;\n\n    return ++computeCount;\n  });\n\n  getValue(counter); // 1\n\n  // returns the same value because no tracked state has changed\n  getValue(counter); // 1\n\n  state.value = 'foo';\n\n  // reruns because a tracked value used in the function has changed,\n  // incermenting the counter\n  getValue(counter); // 2\n  ```\n\n  @method createCache\n  @static\n  @for @glimmer/tracking/primitives/cache\n  @public\n*/\n/**\n  Gets the value of a cache created with `createCache`.\n\n  ```js\n  import { tracked } from '@glimmer/tracking';\n  import { createCache, getValue } from '@glimmer/tracking/primitives/cache';\n\n  let computeCount = 0;\n\n  let counter = createCache(() => {\n    return ++computeCount;\n  });\n\n  getValue(counter); // 1\n  ```\n\n  @method getValue\n  @static\n  @for @glimmer/tracking/primitives/cache\n  @public\n*/\n/**\n  Can be used to check if a memoized function is _constant_. If no tracked state\n  was used while running a memoized function, it will never rerun, because nothing\n  can invalidate its result. `isConst` can be used to determine if a memoized\n  function is constant or not, in order to optimize code surrounding that\n  function.\n\n  ```js\n  import { tracked } from '@glimmer/tracking';\n  import { createCache, getValue, isConst } from '@glimmer/tracking/primitives/cache';\n\n  class State {\n    @tracked value;\n  }\n\n  let state = new State();\n  let computeCount = 0;\n\n  let counter = createCache(() => {\n    // consume the state\n    state.value;\n\n    return computeCount++;\n  });\n\n  let constCounter = createCache(() => {\n    return computeCount++;\n  });\n\n  getValue(counter);\n  getValue(constCounter);\n\n  isConst(counter); // false\n  isConst(constCounter); // true\n  ```\n\n  If called on a cache that hasn't been accessed yet, it will throw an\n  error. This is because there's no way to know if the function will be constant\n  or not yet, and so this helps prevent missing an optimization opportunity on\n  accident.\n\n  @method isConst\n  @static\n  @for @glimmer/tracking/primitives/cache\n  @public\n*/\n\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\nlet searchDisabled = false;\nconst flags = {\n  _set: 0,\n  _unprocessedNamespaces: false,\n  get unprocessedNamespaces() {\n    return this._unprocessedNamespaces;\n  },\n  set unprocessedNamespaces(v) {\n    this._set++;\n    this._unprocessedNamespaces = v;\n  }\n};\nlet unprocessedMixins = false;\nconst NAMESPACES = [];\nconst NAMESPACES_BY_ID = Object.create(null);\nfunction addNamespace(namespace) {\n  flags.unprocessedNamespaces = true;\n  NAMESPACES.push(namespace);\n}\nfunction removeNamespace(namespace) {\n  let name = getName(namespace);\n  delete NAMESPACES_BY_ID[name];\n  NAMESPACES.splice(NAMESPACES.indexOf(namespace), 1);\n  if (name in context.lookup && namespace === context.lookup[name]) {\n    context.lookup[name] = undefined;\n  }\n}\nfunction findNamespaces() {\n  if (!flags.unprocessedNamespaces) {\n    return;\n  }\n  let lookup = context.lookup;\n  let keys = Object.keys(lookup);\n  for (let key of keys) {\n    // Only process entities that start with uppercase A-Z\n    if (!isUppercase(key.charCodeAt(0))) {\n      continue;\n    }\n    let obj = tryIsNamespace(lookup, key);\n    if (obj) {\n      setName(obj, key);\n    }\n  }\n}\nfunction findNamespace(name) {\n  if (!searchDisabled) {\n    processAllNamespaces();\n  }\n  return NAMESPACES_BY_ID[name];\n}\nfunction processNamespace(namespace) {\n  _processNamespace([namespace.toString()], namespace, new Set());\n}\nfunction processAllNamespaces() {\n  let unprocessedNamespaces = flags.unprocessedNamespaces;\n  if (unprocessedNamespaces) {\n    findNamespaces();\n    flags.unprocessedNamespaces = false;\n  }\n  if (unprocessedNamespaces || unprocessedMixins) {\n    let namespaces = NAMESPACES;\n    for (let namespace of namespaces) {\n      processNamespace(namespace);\n    }\n    unprocessedMixins = false;\n  }\n}\nfunction isSearchDisabled() {\n  return searchDisabled;\n}\nfunction setSearchDisabled(flag) {\n  searchDisabled = Boolean(flag);\n}\nfunction setUnprocessedMixins() {\n  unprocessedMixins = true;\n}\nfunction _processNamespace(paths, root, seen) {\n  let idx = paths.length;\n  let id = paths.join('.');\n  NAMESPACES_BY_ID[id] = root;\n  setName(root, id);\n  // Loop over all of the keys in the namespace, looking for classes\n  for (let key in root) {\n    if (!hasOwnProperty.call(root, key)) {\n      continue;\n    }\n    let obj = root[key];\n    // If we are processing the `Ember` namespace, for example, the\n    // `paths` will start with `[\"Ember\"]`. Every iteration through\n    // the loop will update the **second** element of this list with\n    // the key, so processing `Ember.View` will make the Array\n    // `['Ember', 'View']`.\n    paths[idx] = key;\n    // If we have found an unprocessed class\n    if (obj && getName(obj) === void 0) {\n      // Replace the class' `toString` with the dot-separated path\n      setName(obj, paths.join('.'));\n      // Support nested namespaces\n    } else if (obj && isNamespace(obj)) {\n      // Skip aliased namespaces\n      if (seen.has(obj)) {\n        continue;\n      }\n      seen.add(obj);\n      // Process the child namespace\n      _processNamespace(paths, obj, seen);\n    }\n  }\n  paths.length = idx; // cut out last item\n}\n\nfunction isNamespace(obj) {\n  return obj != null && typeof obj === 'object' && obj.isNamespace;\n}\nfunction isUppercase(code) {\n  return code >= 65 && code <= 90 // A\n  ; // Z\n}\n\nfunction tryIsNamespace(lookup, prop) {\n  try {\n    let obj = lookup[prop];\n    return (obj !== null && typeof obj === 'object' || typeof obj === 'function') && obj.isNamespace && obj;\n  } catch (e) {\n    // continue\n  }\n}\n\nexport { computed, autoComputed, isComputed, ComputedProperty, getCachedValueFor, alias, deprecateProperty, PROXY_CONTENT, _getPath, get, _getProp, hasUnknownProperty, set, _setProp, trySet, objectAt, replace, replaceInNativeArray, addArrayObserver, removeArrayObserver, arrayContentWillChange, arrayContentDidChange, eachProxyArrayWillChange, eachProxyArrayDidChange, addListener, hasListeners, on, removeListener, sendEvent, beginPropertyChanges, changeProperties, endPropertyChanges, notifyPropertyChange, PROPERTY_DID_CHANGE, defineProperty, defineDecorator, defineValue, ComputedDescriptor, isElementDescriptor, nativeDescDecorator, descriptorForDecorator, descriptorForProperty, isClassicDecorator, setClassicDecorator, makeComputedDecorator, LIBRARIES as libraries, Libraries, getProperties, setProperties, expandProperties, ASYNC_OBSERVERS, SYNC_OBSERVERS, addObserver, activateObserver, removeObserver, flushAsyncObservers, revalidateObservers, inject, DEBUG_INJECTION_FUNCTIONS, tagForProperty, tagForObject, markObjectAsDirty, tracked, TrackedDescriptor, cached, NAMESPACES, NAMESPACES_BY_ID, addNamespace, findNamespace, findNamespaces, processNamespace, processAllNamespaces, removeNamespace, isSearchDisabled as isNamespaceSearchDisabled, setSearchDisabled as setNamespaceSearchDisabled, setUnprocessedMixins };\n","export let onEmberGlobalAccess;","import { getOwner as glimmerGetOwner, setOwner as glimmerSetOwner } from '@glimmer/owner';\n/**\n  @private\n  @method isFactory\n  @param {Object} obj\n  @return {Boolean}\n  @static\n */\nexport function isFactory(obj) {\n  return obj != null && typeof obj.create === 'function';\n}\n// NOTE: For docs, see the definition at the public API site in `@ember/owner`;\n// we document it there for the sake of public API docs and for TS consumption,\n// while having the richer `InternalOwner` representation for Ember itself.\nexport function getOwner(object) {\n  return glimmerGetOwner(object);\n}\n/**\n  `setOwner` forces a new owner on a given object instance. This is primarily\n  useful in some testing cases.\n\n  @method setOwner\n  @static\n  @for @ember/owner\n  @param {Object} object An object instance.\n  @param {Owner} object The new owner object of the object instance.\n  @since 2.3.0\n  @public\n*/\nexport function setOwner(object, owner) {\n  glimmerSetOwner(object, owner);\n}","import * as RSVP from 'rsvp';\nimport { _backburner, _rsvpErrorQueue } from '@ember/runloop';\nimport { getDispatchOverride } from '@ember/-internals/error-handling';\nimport { assert } from '@ember/debug';\nRSVP.configure('async', (callback, promise) => {\n  _backburner.schedule('actions', null, callback, promise);\n});\nRSVP.configure('after', cb => {\n  _backburner.schedule(_rsvpErrorQueue, null, cb);\n});\nRSVP.on('error', onerrorDefault);\nexport function onerrorDefault(reason) {\n  let error = errorFor(reason);\n  if (error) {\n    let overrideDispatch = getDispatchOverride();\n    if (overrideDispatch) {\n      overrideDispatch(error);\n    } else {\n      throw error;\n    }\n  }\n}\nfunction errorFor(reason) {\n  if (!reason) return;\n  let withErrorThrown = reason;\n  if (withErrorThrown.errorThrown) {\n    return unwrapErrorThrown(withErrorThrown);\n  }\n  let withName = reason;\n  if (withName.name === 'UnrecognizedURLError') {\n    assert(`The URL '${withName.message}' did not match any routes in your application`, false);\n    // @ts-expect-error We'll hit this if the assert is stripped\n    return;\n  }\n  if (reason.name === 'TransitionAborted') {\n    return;\n  }\n  return reason;\n}\nfunction unwrapErrorThrown(reason) {\n  let error = reason.errorThrown;\n  if (typeof error === 'string') {\n    error = new Error(error);\n  }\n  Object.defineProperty(error, '__reason_with_error_thrown__', {\n    value: reason,\n    enumerable: false\n  });\n  return error;\n}\nexport default RSVP;","/**\n@module ember\n*/\nimport { meta } from '@ember/-internals/meta';\nimport Mixin from '@ember/object/mixin';\nimport { get, set, defineProperty, tagForObject, computed, tagForProperty } from '@ember/-internals/metal';\nimport { setProxy, setupMandatorySetter, isObject, isProxy } from '@ember/-internals/utils';\nimport { assert } from '@ember/debug';\nimport { DEBUG } from '@glimmer/env';\nimport { setCustomTagFor } from '@glimmer/manager';\nimport { combine, updateTag, tagFor, tagMetaFor } from '@glimmer/validator';\nexport function contentFor(proxy) {\n  let content = get(proxy, 'content');\n  // SAFETY: Ideally we'd assert instead of casting, but @glimmer/validator doesn't give us\n  // sufficient public types for this. Previously this code was .js and worked correctly so\n  // hopefully this is sufficiently reliable.\n  updateTag(tagForObject(proxy), tagForObject(content));\n  return content;\n}\nfunction customTagForProxy(proxy, key, addMandatorySetter) {\n  assert('Expected a proxy', isProxy(proxy));\n  let meta = tagMetaFor(proxy);\n  let tag = tagFor(proxy, key, meta);\n  if (DEBUG) {\n    // TODO: Replace this with something more first class for tracking tags in DEBUG\n    // SAFETY: This is not an officially supported property but setting shouldn't cause issues.\n    tag._propertyKey = key;\n  }\n  if (key in proxy) {\n    if (DEBUG && addMandatorySetter) {\n      assert('[BUG] setupMandatorySetter should be set when debugging', setupMandatorySetter);\n      setupMandatorySetter(tag, proxy, key);\n    }\n    return tag;\n  } else {\n    let tags = [tag, tagFor(proxy, 'content', meta)];\n    let content = contentFor(proxy);\n    if (isObject(content)) {\n      tags.push(tagForProperty(content, key, addMandatorySetter));\n    }\n    return combine(tags);\n  }\n}\nconst ProxyMixin = Mixin.create({\n  /**\n    The object whose properties will be forwarded.\n       @property content\n    @type {unknown}\n    @default null\n    @public\n  */\n  content: null,\n  init() {\n    this._super(...arguments);\n    setProxy(this);\n    tagForObject(this);\n    setCustomTagFor(this, customTagForProxy);\n  },\n  willDestroy() {\n    this.set('content', null);\n    this._super(...arguments);\n  },\n  isTruthy: computed('content', function () {\n    return Boolean(get(this, 'content'));\n  }),\n  unknownProperty(key) {\n    let content = contentFor(this);\n    if (content) {\n      return get(content, key);\n    }\n  },\n  setUnknownProperty(key, value) {\n    let m = meta(this);\n    if (m.isInitializing() || m.isPrototypeMeta(this)) {\n      // if marked as prototype or object is initializing then just\n      // defineProperty rather than delegate\n      defineProperty(this, key, null, value);\n      return value;\n    }\n    let content = contentFor(this);\n    assert(`Cannot delegate set('${key}', ${value}) to the 'content' property of object proxy ${this}: its 'content' is undefined.`, content);\n    // SAFETY: We don't actually guarantee that this is an object, so this isn't necessarily safe :(\n    return set(content, key, value);\n  }\n});\nexport default ProxyMixin;","/**\n@module ember\n*/\nimport Mixin from '@ember/object/mixin';\nimport { get } from '@ember/-internals/metal';\nimport { assert } from '@ember/debug';\nconst ActionHandler = Mixin.create({\n  mergedProperties: ['actions'],\n  /**\n    The collection of functions, keyed by name, available on this\n    `ActionHandler` as action targets.\n       These functions will be invoked when a matching `{{action}}` is triggered\n    from within a template and the application's current route is this route.\n       Actions can also be invoked from other parts of your application\n    via `ActionHandler#send`.\n       The `actions` hash will inherit action handlers from\n    the `actions` hash defined on extended parent classes\n    or mixins rather than just replace the entire hash, e.g.:\n       ```app/mixins/can-display-banner.js\n    import Mixin from '@ember/object/mixin';\n       export default Mixin.create({\n      actions: {\n        displayBanner(msg) {\n          // ...\n        }\n      }\n    });\n    ```\n       ```app/routes/welcome.js\n    import Route from '@ember/routing/route';\n    import CanDisplayBanner from '../mixins/can-display-banner';\n       export default Route.extend(CanDisplayBanner, {\n      actions: {\n        playMusic() {\n          // ...\n        }\n      }\n    });\n       // `WelcomeRoute`, when active, will be able to respond\n    // to both actions, since the actions hash is merged rather\n    // then replaced when extending mixins / parent classes.\n    this.send('displayBanner');\n    this.send('playMusic');\n    ```\n       Within a Controller, Route or Component's action handler,\n    the value of the `this` context is the Controller, Route or\n    Component object:\n       ```app/routes/song.js\n    import Route from '@ember/routing/route';\n       export default Route.extend({\n      actions: {\n        myAction() {\n          this.controllerFor(\"song\");\n          this.transitionTo(\"other.route\");\n          ...\n        }\n      }\n    });\n    ```\n       It is also possible to call `this._super(...arguments)` from within an\n    action handler if it overrides a handler defined on a parent\n    class or mixin:\n       Take for example the following routes:\n       ```app/mixins/debug-route.js\n    import Mixin from '@ember/object/mixin';\n       export default Mixin.create({\n      actions: {\n        debugRouteInformation() {\n          console.debug(\"It's a-me, console.debug!\");\n        }\n      }\n    });\n    ```\n       ```app/routes/annoying-debug.js\n    import Route from '@ember/routing/route';\n    import DebugRoute from '../mixins/debug-route';\n       export default Route.extend(DebugRoute, {\n      actions: {\n        debugRouteInformation() {\n          // also call the debugRouteInformation of mixed in DebugRoute\n          this._super(...arguments);\n             // show additional annoyance\n          window.alert(...);\n        }\n      }\n    });\n    ```\n       ## Bubbling\n       By default, an action will stop bubbling once a handler defined\n    on the `actions` hash handles it. To continue bubbling the action,\n    you must return `true` from the handler:\n       ```app/router.js\n    Router.map(function() {\n      this.route(\"album\", function() {\n        this.route(\"song\");\n      });\n    });\n    ```\n       ```app/routes/album.js\n    import Route from '@ember/routing/route';\n       export default Route.extend({\n      actions: {\n        startPlaying: function() {\n        }\n      }\n    });\n    ```\n       ```app/routes/album-song.js\n    import Route from '@ember/routing/route';\n       export default Route.extend({\n      actions: {\n        startPlaying() {\n          // ...\n             if (actionShouldAlsoBeTriggeredOnParentRoute) {\n            return true;\n          }\n        }\n      }\n    });\n    ```\n       @property actions\n    @type Object\n    @default null\n    @public\n  */\n  /**\n    Triggers a named action on the `ActionHandler`. Any parameters\n    supplied after the `actionName` string will be passed as arguments\n    to the action target function.\n       If the `ActionHandler` has its `target` property set, actions may\n    bubble to the `target`. Bubbling happens when an `actionName` can\n    not be found in the `ActionHandler`'s `actions` hash or if the\n    action target function returns `true`.\n       Example\n       ```app/routes/welcome.js\n    import Route from '@ember/routing/route';\n       export default Route.extend({\n      actions: {\n        playTheme() {\n          this.send('playMusic', 'theme.mp3');\n        },\n        playMusic(track) {\n          // ...\n        }\n      }\n    });\n    ```\n       @method send\n    @param {String} actionName The action to trigger\n    @param {*} context a context to send with the action\n    @public\n  */\n  send(actionName, ...args) {\n    assert(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed);\n    if (this.actions && this.actions[actionName]) {\n      let shouldBubble = this.actions[actionName].apply(this, args) === true;\n      if (!shouldBubble) {\n        return;\n      }\n    }\n    let target = get(this, 'target');\n    if (target) {\n      assert(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`, typeof target.send === 'function');\n      target.send(...arguments);\n    }\n  }\n});\nexport default ActionHandler;","import Mixin from '@ember/object/mixin';\nconst Comparable = Mixin.create({\n  /**\n    __Required.__ You must implement this method to apply this mixin.\n       Override to return the result of the comparison of the two parameters. The\n    compare method should return:\n       - `-1` if `a < b`\n    - `0` if `a == b`\n    - `1` if `a > b`\n       Default implementation raises an exception.\n       @method compare\n    @param a {Object} the first object to compare\n    @param b {Object} the second object to compare\n    @return {Number} the result of the comparison\n    @private\n  */\n  compare: null\n});\nexport default Comparable;","import { schedule, join } from '@ember/runloop';\nimport Mixin from '@ember/object/mixin';\nconst ContainerProxyMixin = Mixin.create({\n  /**\n   The container stores state.\n      @private\n   @property {Ember.Container} __container__\n   */\n  __container__: null,\n  ownerInjection() {\n    return this.__container__.ownerInjection();\n  },\n  lookup(fullName, options) {\n    return this.__container__.lookup(fullName, options);\n  },\n  destroy() {\n    let container = this.__container__;\n    if (container) {\n      join(() => {\n        container.destroy();\n        schedule('destroy', container, 'finalizeDestroy');\n      });\n    }\n    this._super();\n  },\n  factoryFor(fullName) {\n    return this.__container__.factoryFor(fullName);\n  }\n});\nexport default ContainerProxyMixin;","/**\n@module ember\n*/\nimport { assert } from '@ember/debug';\nimport Mixin from '@ember/object/mixin';\nconst RegistryProxyMixin = Mixin.create({\n  __registry__: null,\n  resolveRegistration(fullName) {\n    assert('fullName must be a proper full name', this.__registry__.isValidFullName(fullName));\n    return this.__registry__.resolve(fullName);\n  },\n  register: registryAlias('register'),\n  unregister: registryAlias('unregister'),\n  hasRegistration: registryAlias('has'),\n  registeredOption: registryAlias('getOption'),\n  registerOptions: registryAlias('options'),\n  registeredOptions: registryAlias('getOptions'),\n  registerOptionsForType: registryAlias('optionsForType'),\n  registeredOptionsForType: registryAlias('getOptionsForType'),\n  /**\n    Define a dependency injection onto a specific factory or all factories\n    of a type.\n       When Ember instantiates a controller, view, or other framework component\n    it can attach a dependency to that component. This is often used to\n    provide services to a set of framework components.\n       An example of providing a session object to all controllers:\n       ```javascript\n    import { alias } from '@ember/object/computed';\n    import Application from '@ember/application';\n    import Controller from '@ember/controller';\n    import EmberObject from '@ember/object';\n       let App = Application.create();\n    let Session = EmberObject.extend({ isAuthenticated: false });\n       // A factory must be registered before it can be injected\n    App.register('session:main', Session);\n       // Inject 'session:main' onto all factories of the type 'controller'\n    // with the name 'session'\n    App.inject('controller', 'session', 'session:main');\n       App.IndexController = Controller.extend({\n      isLoggedIn: alias('session.isAuthenticated')\n    });\n    ```\n       Injections can also be performed on specific factories.\n       ```javascript\n    App.inject(<full_name or type>, <property name>, <full_name>)\n    App.inject('route', 'source', 'source:main')\n    App.inject('route:application', 'email', 'model:email')\n    ```\n       It is important to note that injections can only be performed on\n    classes that are instantiated by Ember itself. Instantiating a class\n    directly (via `create` or `new`) bypasses the dependency injection\n    system.\n       @public\n    @method inject\n    @param  factoryNameOrType {String}\n    @param  property {String}\n    @param  injectionName {String}\n    @deprecated\n  **/\n  inject: registryAlias('injection')\n});\nfunction registryAlias(name) {\n  return function (...args) {\n    // We need this cast because `Parameters` is deferred so that it is not\n    // possible for TS to see it will always produce the right type. However,\n    // since `AnyFn` has a rest type, it is allowed. See discussion on [this\n    // issue](https://github.com/microsoft/TypeScript/issues/47615).\n    return this.__registry__[name](...args);\n  };\n}\nexport default RegistryProxyMixin;","/**\n@module ember\n*/\nimport { context } from '@ember/-internals/environment';\nimport { get, computed } from '@ember/-internals/metal';\nimport Mixin from '@ember/object/mixin';\nimport { assert } from '@ember/debug';\nimport { DEBUG } from '@glimmer/env';\nconst TargetActionSupport = Mixin.create({\n  target: null,\n  action: null,\n  actionContext: null,\n  actionContextObject: computed('actionContext', function () {\n    let actionContext = get(this, 'actionContext');\n    if (typeof actionContext === 'string') {\n      let value = get(this, actionContext);\n      if (value === undefined) {\n        value = get(context.lookup, actionContext);\n      }\n      return value;\n    } else {\n      return actionContext;\n    }\n  }),\n  /**\n  Send an `action` with an `actionContext` to a `target`. The action, actionContext\n  and target will be retrieved from properties of the object. For example:\n     ```javascript\n  import { alias } from '@ember/object/computed';\n     App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n    target: alias('controller'),\n    action: 'save',\n    actionContext: alias('context'),\n    click() {\n      this.triggerAction(); // Sends the `save` action, along with the current context\n                            // to the current controller\n    }\n  });\n  ```\n     The `target`, `action`, and `actionContext` can be provided as properties of\n  an optional object argument to `triggerAction` as well.\n     ```javascript\n  App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n    click() {\n      this.triggerAction({\n        action: 'save',\n        target: this.get('controller'),\n        actionContext: this.get('context')\n      }); // Sends the `save` action, along with the current context\n          // to the current controller\n    }\n  });\n  ```\n     The `actionContext` defaults to the object you are mixing `TargetActionSupport` into.\n  But `target` and `action` must be specified either as properties or with the argument\n  to `triggerAction`, or a combination:\n     ```javascript\n  import { alias } from '@ember/object/computed';\n     App.SaveButtonView = Ember.View.extend(Ember.TargetActionSupport, {\n    target: alias('controller'),\n    click() {\n      this.triggerAction({\n        action: 'save'\n      }); // Sends the `save` action, along with a reference to `this`,\n          // to the current controller\n    }\n  });\n  ```\n     @method triggerAction\n  @param opts {Object} (optional, with the optional keys action, target and/or actionContext)\n  @return {Boolean} true if the action was sent successfully and did not return false\n  @private\n  */\n  triggerAction(opts = {}) {\n    let {\n      action,\n      target,\n      actionContext\n    } = opts;\n    action = action || get(this, 'action');\n    target = target || getTarget(this);\n    if (actionContext === undefined) {\n      actionContext = get(this, 'actionContextObject') || this;\n    }\n    let context = Array.isArray(actionContext) ? actionContext : [actionContext];\n    if (target && action) {\n      let ret;\n      if (isSendable(target)) {\n        ret = target.send(action, ...context);\n      } else {\n        assert(`The action '${action}' did not exist on ${target}`, typeof target[action] === 'function');\n        ret = target[action](...context);\n      }\n      if (ret !== false) {\n        return true;\n      }\n    }\n    return false;\n  }\n});\nfunction isSendable(obj) {\n  return obj != null && typeof obj === 'object' && typeof obj.send === 'function';\n}\nfunction getTarget(instance) {\n  let target = get(instance, 'target');\n  if (target) {\n    if (typeof target === 'string') {\n      let value = get(instance, target);\n      if (value === undefined) {\n        value = get(context.lookup, target);\n      }\n      return value;\n    } else {\n      return target;\n    }\n  }\n  if (instance._target) {\n    return instance._target;\n  }\n  return null;\n}\nif (DEBUG) {\n  Object.seal(TargetActionSupport);\n}\nexport default TargetActionSupport;","/*\n  This module exists to separate the @ember/string methods used\n  internally in ember-source, from those public methods that are\n  now deprecated and to be removed.\n*/\nimport { Cache } from '@ember/-internals/utils';\nconst STRING_DASHERIZE_REGEXP = /[ _]/g;\nconst STRING_DASHERIZE_CACHE = new Cache(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\nconst STRING_CLASSIFY_REGEXP_1 = /^(-|_)+(.)?/;\nconst STRING_CLASSIFY_REGEXP_2 = /(.)(-|_|\\.|\\s)+(.)?/g;\nconst STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\nconst CLASSIFY_CACHE = new Cache(1000, str => {\n  let replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n  let replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n  let parts = str.split('/');\n  for (let i = 0; i < parts.length; i++) {\n    parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n  }\n  return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match /*, separator, chr */) => match.toUpperCase());\n});\nconst STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\nconst DECAMELIZE_CACHE = new Cache(1000, str => str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase());\n/**\n Defines string helper methods used internally in ember-source.\n\n @class String\n @private\n */\n/**\n Replaces underscores, spaces, or camelCase with dashes.\n\n ```javascript\n import { dasherize } from '@ember/-internals/string';\n\n dasherize('innerHTML');                // 'inner-html'\n dasherize('action_name');              // 'action-name'\n dasherize('css-class-name');           // 'css-class-name'\n dasherize('my favorite items');        // 'my-favorite-items'\n dasherize('privateDocs/ownerInvoice';  // 'private-docs/owner-invoice'\n ```\n\n @method dasherize\n @param {String} str The string to dasherize.\n @return {String} the dasherized string.\n @private\n */\nexport function dasherize(str) {\n  return STRING_DASHERIZE_CACHE.get(str);\n}\n/**\n Returns the UpperCamelCase form of a string.\n\n ```javascript\n import { classify } from '@ember/string';\n\n classify('innerHTML');                   // 'InnerHTML'\n classify('action_name');                 // 'ActionName'\n classify('css-class-name');              // 'CssClassName'\n classify('my favorite items');           // 'MyFavoriteItems'\n classify('private-docs/owner-invoice');  // 'PrivateDocs/OwnerInvoice'\n ```\n\n @method classify\n @param {String} str the string to classify\n @return {String} the classified string\n @private\n */\nexport function classify(str) {\n  return CLASSIFY_CACHE.get(str);\n}\n/**\n Converts a camelized string into all lower case separated by underscores.\n\n ```javascript\n decamelize('innerHTML');          // 'inner_html'\n decamelize('action_name');        // 'action_name'\n decamelize('css-class-name');     // 'css-class-name'\n decamelize('my favorite items');  // 'my favorite items'\n ```\n */\nfunction decamelize(str) {\n  return DECAMELIZE_CACHE.get(str);\n}","import { DEBUG } from '@glimmer/env';\nimport { _WeakSet } from '@glimmer/util';\nimport { assert } from '@ember/debug';\n\n/**\n  Strongly hint runtimes to intern the provided string.\n\n  When do I need to use this function?\n\n  For the most part, never. Pre-mature optimization is bad, and often the\n  runtime does exactly what you need it to, and more often the trade-off isn't\n  worth it.\n\n  Why?\n\n  Runtimes store strings in at least 2 different representations:\n  Ropes and Symbols (interned strings). The Rope provides a memory efficient\n  data-structure for strings created from concatenation or some other string\n  manipulation like splitting.\n\n  Unfortunately checking equality of different ropes can be quite costly as\n  runtimes must resort to clever string comparison algorithms. These\n  algorithms typically cost in proportion to the length of the string.\n  Luckily, this is where the Symbols (interned strings) shine. As Symbols are\n  unique by their string content, equality checks can be done by pointer\n  comparison.\n\n  How do I know if my string is a rope or symbol?\n\n  Typically (warning general sweeping statement, but truthy in runtimes at\n  present) static strings created as part of the JS source are interned.\n  Strings often used for comparisons can be interned at runtime if some\n  criteria are met.  One of these criteria can be the size of the entire rope.\n  For example, in chrome 38 a rope longer then 12 characters will not\n  intern, nor will segments of that rope.\n\n  Some numbers: http://jsperf.com/eval-vs-keys/8\n\n  Known Trick™\n\n  @private\n  @return {String} interned version of the provided string\n*/\nfunction intern(str) {\n  let obj = Object.create(null);\n  obj[str] = 1;\n  for (let key in obj) {\n    if (key === str) {\n      return key;\n    }\n  }\n  return str;\n}\n\n/**\n  Returns whether Type(value) is Object.\n\n  Useful for checking whether a value is a valid WeakMap key.\n\n  Refs: https://tc39.github.io/ecma262/#sec-typeof-operator-runtime-semantics-evaluation\n        https://tc39.github.io/ecma262/#sec-weakmap.prototype.set\n\n  @private\n  @function isObject\n*/\nfunction isObject(value) {\n  return value !== null && (typeof value === 'object' || typeof value === 'function');\n}\n\n/**\n @module @ember/object\n*/\n/**\n @private\n @return {Number} the uuid\n */\nlet _uuid = 0;\n/**\n Generates a universally unique identifier. This method\n is used internally by Ember for assisting with\n the generation of GUID's and other unique identifiers.\n\n @public\n @return {Number} [description]\n */\nfunction uuid() {\n  return ++_uuid;\n}\n/**\n Prefix used for guids through out Ember.\n @private\n @property GUID_PREFIX\n @for Ember\n @type String\n @final\n */\nconst GUID_PREFIX = 'ember';\n// Used for guid generation...\nconst OBJECT_GUIDS = new WeakMap();\nconst NON_OBJECT_GUIDS = new Map();\n/**\n  A unique key used to assign guids and other private metadata to objects.\n  If you inspect an object in your browser debugger you will often see these.\n  They can be safely ignored.\n\n  On browsers that support it, these properties are added with enumeration\n  disabled so they won't show up when you iterate over your properties.\n\n  @private\n  @property GUID_KEY\n  @for Ember\n  @type String\n  @final\n*/\nconst GUID_KEY = intern(`__ember${Date.now()}`);\n/**\n  Generates a new guid, optionally saving the guid to the object that you\n  pass in. You will rarely need to use this method. Instead you should\n  call `guidFor(obj)`, which return an existing guid if available.\n\n  @private\n  @method generateGuid\n  @static\n  @for @ember/object/internals\n  @param {Object} [obj] Object the guid will be used for. If passed in, the guid will\n    be saved on the object and reused whenever you pass the same object\n    again.\n\n    If no object is passed, just generate a new guid.\n  @param {String} [prefix] Prefix to place in front of the guid. Useful when you want to\n    separate the guid into separate namespaces.\n  @return {String} the guid\n*/\nfunction generateGuid(obj, prefix = GUID_PREFIX) {\n  let guid = prefix + uuid().toString();\n  if (isObject(obj)) {\n    OBJECT_GUIDS.set(obj, guid);\n  }\n  return guid;\n}\n/**\n  Returns a unique id for the object. If the object does not yet have a guid,\n  one will be assigned to it. You can call this on any object,\n  `EmberObject`-based or not.\n\n  You can also use this method on DOM Element objects.\n\n  @public\n  @static\n  @method guidFor\n  @for @ember/object/internals\n  @param {Object} obj any object, string, number, Element, or primitive\n  @return {String} the unique guid for this instance.\n*/\nfunction guidFor(value) {\n  let guid;\n  if (isObject(value)) {\n    guid = OBJECT_GUIDS.get(value);\n    if (guid === undefined) {\n      guid = `${GUID_PREFIX}${uuid()}`;\n      OBJECT_GUIDS.set(value, guid);\n    }\n  } else {\n    guid = NON_OBJECT_GUIDS.get(value);\n    if (guid === undefined) {\n      let type = typeof value;\n      if (type === 'string') {\n        guid = `st${uuid()}`;\n      } else if (type === 'number') {\n        guid = `nu${uuid()}`;\n      } else if (type === 'symbol') {\n        guid = `sy${uuid()}`;\n      } else {\n        guid = `(${value})`;\n      }\n      NON_OBJECT_GUIDS.set(value, guid);\n    }\n  }\n  return guid;\n}\n\nconst GENERATED_SYMBOLS = [];\nfunction isInternalSymbol(possibleSymbol) {\n  return GENERATED_SYMBOLS.indexOf(possibleSymbol) !== -1;\n}\n// Some legacy symbols still need to be enumerable for a variety of reasons.\n// This code exists for that, and as a fallback in IE11. In general, prefer\n// `symbol` below when creating a new symbol.\nfunction enumerableSymbol(debugName) {\n  // TODO: Investigate using platform symbols, but we do not\n  // want to require non-enumerability for this API, which\n  // would introduce a large cost.\n  let id = GUID_KEY + Math.floor(Math.random() * Date.now()).toString();\n  let symbol = intern(`__${debugName}${id}__`);\n  if (DEBUG) {\n    GENERATED_SYMBOLS.push(symbol);\n  }\n  return symbol;\n}\nconst symbol = Symbol;\n\n// the delete is meant to hint at runtimes that this object should remain in\n// dictionary mode. This is clearly a runtime specific hack, but currently it\n// appears worthwhile in some usecases. Please note, these deletes do increase\n// the cost of creation dramatically over a plain Object.create. And as this\n// only makes sense for long-lived dictionaries that aren't instantiated often.\nfunction makeDictionary(parent) {\n  let dict = Object.create(parent);\n  dict['_dict'] = null;\n  delete dict['_dict'];\n  return dict;\n}\n\nlet getDebugName;\nif (DEBUG) {\n  let getFunctionName = fn => {\n    let functionName = fn.name;\n    if (functionName === undefined) {\n      let match = Function.prototype.toString.call(fn).match(/function (\\w+)\\s*\\(/);\n      functionName = match && match[1] || '';\n    }\n    return functionName.replace(/^bound /, '');\n  };\n  let getObjectName = obj => {\n    let name;\n    let className;\n    if (obj.constructor && obj.constructor !== Object) {\n      className = getFunctionName(obj.constructor);\n    }\n    if ('toString' in obj && obj.toString !== Object.prototype.toString && obj.toString !== Function.prototype.toString) {\n      name = obj.toString();\n    }\n    // If the class has a decent looking name, and the `toString` is one of the\n    // default Ember toStrings, replace the constructor portion of the toString\n    // with the class name. We check the length of the class name to prevent doing\n    // this when the value is minified.\n    if (name && name.match(/<.*:ember\\d+>/) && className && className[0] !== '_' && className.length > 2 && className !== 'Class') {\n      return name.replace(/<.*:/, `<${className}:`);\n    }\n    return name || className;\n  };\n  let getPrimitiveName = value => {\n    return String(value);\n  };\n  getDebugName = value => {\n    if (typeof value === 'function') {\n      return getFunctionName(value) || `(unknown function)`;\n    } else if (typeof value === 'object' && value !== null) {\n      return getObjectName(value) || `(unknown object)`;\n    } else {\n      return getPrimitiveName(value);\n    }\n  };\n}\nvar getDebugName$1 = getDebugName;\n\nconst HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\nconst fnToString = Function.prototype.toString;\nconst checkHasSuper = (() => {\n  let sourceAvailable = fnToString.call(function () {\n    return this;\n  }).indexOf('return this') > -1;\n  if (sourceAvailable) {\n    return function checkHasSuper(func) {\n      return HAS_SUPER_PATTERN.test(fnToString.call(func));\n    };\n  }\n  return function checkHasSuper() {\n    return true;\n  };\n})();\nconst HAS_SUPER_MAP = new WeakMap();\nconst ROOT = Object.freeze(function () {});\nHAS_SUPER_MAP.set(ROOT, false);\nfunction hasSuper(func) {\n  let hasSuper = HAS_SUPER_MAP.get(func);\n  if (hasSuper === undefined) {\n    hasSuper = checkHasSuper(func);\n    HAS_SUPER_MAP.set(func, hasSuper);\n  }\n  return hasSuper;\n}\nclass ObserverListenerMeta {\n  constructor() {\n    this.listeners = undefined;\n    this.observers = undefined;\n  }\n}\nconst OBSERVERS_LISTENERS_MAP = new WeakMap();\nfunction createObserverListenerMetaFor(fn) {\n  let meta = OBSERVERS_LISTENERS_MAP.get(fn);\n  if (meta === undefined) {\n    meta = new ObserverListenerMeta();\n    OBSERVERS_LISTENERS_MAP.set(fn, meta);\n  }\n  return meta;\n}\nfunction observerListenerMetaFor(fn) {\n  return OBSERVERS_LISTENERS_MAP.get(fn);\n}\nfunction setObservers(func, observers) {\n  let meta = createObserverListenerMetaFor(func);\n  meta.observers = observers;\n}\nfunction setListeners(func, listeners) {\n  let meta = createObserverListenerMetaFor(func);\n  meta.listeners = listeners;\n}\nconst IS_WRAPPED_FUNCTION_SET = new _WeakSet();\n/**\n  Wraps the passed function so that `this._super` will point to the superFunc\n  when the function is invoked. This is the primitive we use to implement\n  calls to super.\n\n  @private\n  @method wrap\n  @for Ember\n  @param {Function} func The function to call\n  @param {Function} superFunc The super function.\n  @return {Function} wrapped function.\n*/\nfunction wrap(func, superFunc) {\n  if (!hasSuper(func)) {\n    return func;\n  }\n  // ensure an unwrapped super that calls _super is wrapped with a terminal _super\n  if (!IS_WRAPPED_FUNCTION_SET.has(superFunc) && hasSuper(superFunc)) {\n    return _wrap(func, _wrap(superFunc, ROOT));\n  }\n  return _wrap(func, superFunc);\n}\nfunction _wrap(func, superFunc) {\n  function superWrapper() {\n    let orig = this._super;\n    this._super = superFunc;\n    let ret = func.apply(this, arguments);\n    this._super = orig;\n    return ret;\n  }\n  IS_WRAPPED_FUNCTION_SET.add(superWrapper);\n  let meta = OBSERVERS_LISTENERS_MAP.get(func);\n  if (meta !== undefined) {\n    OBSERVERS_LISTENERS_MAP.set(superWrapper, meta);\n  }\n  return superWrapper;\n}\n\nfunction lookupDescriptor(obj, keyName) {\n  let current = obj;\n  do {\n    let descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n    if (descriptor !== undefined) {\n      return descriptor;\n    }\n    current = Object.getPrototypeOf(current);\n  } while (current !== null);\n  return null;\n}\n\n/**\n  Checks to see if the `methodName` exists on the `obj`.\n\n  ```javascript\n  let foo = { bar: function() { return 'bar'; }, baz: null };\n\n  Ember.canInvoke(foo, 'bar'); // true\n  Ember.canInvoke(foo, 'baz'); // false\n  Ember.canInvoke(foo, 'bat'); // false\n  ```\n\n  @method canInvoke\n  @for Ember\n  @param {Object} obj The object to check for the method\n  @param {String} methodName The method name to check for\n  @return {Boolean}\n  @private\n*/\nfunction canInvoke(obj, methodName) {\n  return obj != null && typeof obj[methodName] === 'function';\n}\n/**\n  @module @ember/utils\n*/\n\nconst NAMES = new WeakMap();\nfunction setName(obj, name) {\n  if (isObject(obj)) NAMES.set(obj, name);\n}\nfunction getName(obj) {\n  return NAMES.get(obj);\n}\n\nconst objectToString = Object.prototype.toString;\nfunction isNone(obj) {\n  return obj === null || obj === undefined;\n}\n/*\n A `toString` util function that supports objects without a `toString`\n method, e.g. an object created with `Object.create(null)`.\n*/\nfunction toString(obj) {\n  if (typeof obj === 'string') {\n    return obj;\n  }\n  if (null === obj) return 'null';\n  if (undefined === obj) return 'undefined';\n  if (Array.isArray(obj)) {\n    // Reimplement Array.prototype.join according to spec (22.1.3.13)\n    // Changing ToString(element) with this safe version of ToString.\n    let r = '';\n    for (let k = 0; k < obj.length; k++) {\n      if (k > 0) {\n        r += ',';\n      }\n      if (!isNone(obj[k])) {\n        r += toString(obj[k]);\n      }\n    }\n    return r;\n  }\n  if (typeof obj.toString === 'function') {\n    return obj.toString();\n  }\n  return objectToString.call(obj);\n}\n\nconst PROXIES = new _WeakSet();\nfunction isProxy(value) {\n  if (isObject(value)) {\n    return PROXIES.has(value);\n  }\n  return false;\n}\nfunction setProxy(object) {\n  if (isObject(object)) {\n    PROXIES.add(object);\n  }\n}\n\nclass Cache {\n  constructor(limit, func, store = new Map()) {\n    this.limit = limit;\n    this.func = func;\n    this.store = store;\n    this.size = 0;\n    this.misses = 0;\n    this.hits = 0;\n  }\n  get(key) {\n    if (this.store.has(key)) {\n      this.hits++;\n      // SAFETY: we know the value is present because `.has(key)` was `true`.\n      return this.store.get(key);\n    } else {\n      this.misses++;\n      return this.set(key, this.func(key));\n    }\n  }\n  set(key, value) {\n    if (this.limit > this.size) {\n      this.size++;\n      this.store.set(key, value);\n    }\n    return value;\n  }\n  purge() {\n    this.store.clear();\n    this.size = 0;\n    this.hits = 0;\n    this.misses = 0;\n  }\n}\n\nlet setupMandatorySetter;\nlet teardownMandatorySetter;\nlet setWithMandatorySetter;\nfunction isElementKey(key) {\n  return typeof key === 'number' ? isPositiveInt(key) : isStringInt(key);\n}\nfunction isStringInt(str) {\n  let num = parseInt(str, 10);\n  return isPositiveInt(num) && str === String(num);\n}\nfunction isPositiveInt(num) {\n  return num >= 0 && num % 1 === 0;\n}\nif (DEBUG) {\n  let SEEN_TAGS = new _WeakSet();\n  let MANDATORY_SETTERS = new WeakMap();\n  let propertyIsEnumerable = function (obj, key) {\n    return Object.prototype.propertyIsEnumerable.call(obj, key);\n  };\n  setupMandatorySetter = function (tag, obj, keyName) {\n    if (SEEN_TAGS.has(tag)) {\n      return;\n    }\n    SEEN_TAGS.add(tag);\n    if (Array.isArray(obj) && isElementKey(keyName)) {\n      return;\n    }\n    let desc = lookupDescriptor(obj, keyName) || {};\n    if (desc.get || desc.set) {\n      // if it has a getter or setter, we can't install the mandatory setter.\n      // native setters are allowed, we have to assume that they will resolve\n      // to tracked properties.\n      return;\n    }\n    if (desc && (!desc.configurable || !desc.writable)) {\n      // if it isn't writable anyways, so we shouldn't provide the setter.\n      // if it isn't configurable, we can't overwrite it anyways.\n      return;\n    }\n    let setters = MANDATORY_SETTERS.get(obj);\n    if (setters === undefined) {\n      setters = {};\n      MANDATORY_SETTERS.set(obj, setters);\n    }\n    desc.hadOwnProperty = Object.hasOwnProperty.call(obj, keyName);\n    setters[keyName] = desc;\n    Object.defineProperty(obj, keyName, {\n      configurable: true,\n      enumerable: propertyIsEnumerable(obj, keyName),\n      get() {\n        if (desc.get) {\n          return desc.get.call(this);\n        } else {\n          return desc.value;\n        }\n      },\n      set(value) {\n        assert(`You attempted to update ${this}.${String(keyName)} to \"${String(value)}\", but it is being tracked by a tracking context, such as a template, computed property, or observer. In order to make sure the context updates properly, you must invalidate the property when updating it. You can mark the property as \\`@tracked\\`, or use \\`@ember/object#set\\` to do this.`);\n      }\n    });\n  };\n  teardownMandatorySetter = function (obj, keyName) {\n    let setters = MANDATORY_SETTERS.get(obj);\n    if (setters !== undefined && setters[keyName] !== undefined) {\n      Object.defineProperty(obj, keyName, setters[keyName]);\n      delete setters[keyName];\n    }\n  };\n  setWithMandatorySetter = function (obj, keyName, value) {\n    let setters = MANDATORY_SETTERS.get(obj);\n    if (setters !== undefined && setters[keyName] !== undefined) {\n      let setter = setters[keyName];\n      if (setter.set) {\n        setter.set.call(obj, value);\n      } else {\n        setter.value = value;\n        // If the object didn't have own property before, it would have changed\n        // the enumerability after setting the value the first time.\n        if (!setter.hadOwnProperty) {\n          let desc = lookupDescriptor(obj, keyName);\n          desc.enumerable = true;\n          Object.defineProperty(obj, keyName, desc);\n        }\n      }\n    } else {\n      obj[keyName] = value;\n    }\n  };\n}\n\n/*\n This package will be eagerly parsed and should have no dependencies on external\n packages.\n\n It is intended to be used to share utility methods that will be needed\n by every Ember application (and is **not** a dumping ground of useful utilities).\n\n Utility methods that are needed in < 80% of cases should be placed\n elsewhere (so they can be lazily evaluated / parsed).\n*/\n\nexport { symbol, enumerableSymbol, isInternalSymbol, makeDictionary as dictionary, getDebugName$1 as getDebugName, uuid, GUID_KEY, generateGuid, guidFor, intern, checkHasSuper, ROOT, wrap, observerListenerMetaFor, setObservers, setListeners, lookupDescriptor, canInvoke, getName, setName, toString, isObject, isProxy, setProxy, Cache, setupMandatorySetter, teardownMandatorySetter, setWithMandatorySetter };\n","export const MUTABLE_CELL = Symbol('MUTABLE_CELL');","import { dictionary } from '@ember/-internals/utils';\nexport default dictionary(null);","import EmberObject from '@ember/object';\nexport default EmberObject.extend({\n  componentFor(name, owner) {\n    let fullName = `component:${name}`;\n    return owner.factoryFor(fullName);\n  },\n  layoutFor(name, owner, options) {\n    let templateFullName = `template:components/${name}`;\n    return owner.lookup(templateFullName, options);\n  }\n});","/**\n @module ember\n*/\nimport { get } from '@ember/-internals/metal';\nimport Mixin from '@ember/object/mixin';\nimport { assert, inspect } from '@ember/debug';\nconst ActionSupport = Mixin.create({\n  send(actionName, ...args) {\n    assert(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed);\n    let action = this.actions && this.actions[actionName];\n    if (action) {\n      let shouldBubble = action.apply(this, args) === true;\n      if (!shouldBubble) {\n        return;\n      }\n    }\n    let target = get(this, 'target');\n    if (target) {\n      assert(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`, typeof target.send === 'function');\n      target.send(...arguments);\n    } else {\n      assert(`${inspect(this)} had no action handler for: ${actionName}`, action);\n    }\n  }\n});\nexport default ActionSupport;","import { nativeDescDecorator } from '@ember/-internals/metal';\nimport Mixin from '@ember/object/mixin';\nimport { getChildViews, addChildView } from '../system/utils';\nconst ChildViewsSupport = Mixin.create({\n  /**\n    Array of child views. You should never edit this array directly.\n       @property childViews\n    @type Array\n    @default []\n    @private\n  */\n  childViews: nativeDescDecorator({\n    configurable: false,\n    enumerable: false,\n    get() {\n      return getChildViews(this);\n    }\n  }),\n  appendChild(view) {\n    addChildView(this, view);\n  }\n});\nexport default ChildViewsSupport;","/**\n@module ember\n*/\nimport { descriptorForProperty } from '@ember/-internals/metal';\nimport Mixin from '@ember/object/mixin';\nimport { assert } from '@ember/debug';\nconst EMPTY_ARRAY = Object.freeze([]);\nconst ClassNamesSupport = Mixin.create({\n  concatenatedProperties: ['classNames', 'classNameBindings'],\n  init() {\n    this._super(...arguments);\n    assert(`Only arrays are allowed for 'classNameBindings'`, descriptorForProperty(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings));\n    assert(`Only arrays of static class strings are allowed for 'classNames'. For dynamic classes, use 'classNameBindings'.`, descriptorForProperty(this, 'classNames') === undefined && Array.isArray(this.classNames));\n  },\n  /**\n    Standard CSS class names to apply to the view's outer element. This\n    property automatically inherits any class names defined by the view's\n    superclasses as well.\n       @property classNames\n    @type Array\n    @default ['ember-view']\n    @public\n  */\n  classNames: EMPTY_ARRAY,\n  /**\n    A list of properties of the view to apply as class names. If the property\n    is a string value, the value of that string will be applied as a class\n    name.\n       ```javascript\n    // Applies the 'high' class to the view element\n    import Component from '@ember/component';\n    Component.extend({\n      classNameBindings: ['priority'],\n      priority: 'high'\n    });\n    ```\n       If the value of the property is a Boolean, the name of that property is\n    added as a dasherized class name.\n       ```javascript\n    // Applies the 'is-urgent' class to the view element\n    import Component from '@ember/component';\n    Component.extend({\n      classNameBindings: ['isUrgent'],\n      isUrgent: true\n    });\n    ```\n       If you would prefer to use a custom value instead of the dasherized\n    property name, you can pass a binding like this:\n       ```javascript\n    // Applies the 'urgent' class to the view element\n    import Component from '@ember/component';\n    Component.extend({\n      classNameBindings: ['isUrgent:urgent'],\n      isUrgent: true\n    });\n    ```\n       If you would like to specify a class that should only be added when the\n    property is false, you can declare a binding like this:\n       ```javascript\n    // Applies the 'disabled' class to the view element\n    import Component from '@ember/component';\n    Component.extend({\n      classNameBindings: ['isEnabled::disabled'],\n      isEnabled: false\n    });\n    ```\n       This list of properties is inherited from the component's superclasses as well.\n       @property classNameBindings\n    @type Array\n    @default []\n    @public\n  */\n  classNameBindings: EMPTY_ARRAY\n});\nexport default ClassNamesSupport;","/**\n@module ember\n*/\nimport Mixin from '@ember/object/mixin';\nconst ViewStateSupport = Mixin.create({\n  _transitionTo(state) {\n    let priorState = this._currentState;\n    let currentState = this._currentState = this._states[state];\n    this._state = state;\n    if (priorState && priorState.exit) {\n      priorState.exit(this);\n    }\n    if (currentState.enter) {\n      currentState.enter(this);\n    }\n  }\n});\nexport default ViewStateSupport;","import { guidFor } from '@ember/-internals/utils';\nimport { descriptorForProperty, nativeDescDecorator } from '@ember/-internals/metal';\nimport Mixin from '@ember/object/mixin';\nimport { assert } from '@ember/debug';\nimport { hasDOM } from '@ember/-internals/browser-environment';\nimport { matches } from '../system/utils';\nfunction K() {\n  return this;\n}\nconst ViewMixin = Mixin.create({\n  /**\n   A list of properties of the view to apply as attributes. If the property\n   is a string value, the value of that string will be applied as the value\n   for an attribute of the property's name.\n      The following example creates a tag like `<div priority=\"high\" />`.\n      ```app/components/my-component.js\n   import Component from '@ember/component';\n      export default Component.extend({\n      attributeBindings: ['priority'],\n      priority: 'high'\n    });\n   ```\n      If the value of the property is a Boolean, the attribute is treated as\n   an HTML Boolean attribute. It will be present if the property is `true`\n   and omitted if the property is `false`.\n      The following example creates markup like `<div visible />`.\n      ```app/components/my-component.js\n   import Component from '@ember/component';\n      export default Component.extend({\n      attributeBindings: ['visible'],\n      visible: true\n    });\n   ```\n      If you would prefer to use a custom value instead of the property name,\n   you can create the same markup as the last example with a binding like\n   this:\n      ```app/components/my-component.js\n   import Component from '@ember/component';\n      export default Component.extend({\n      attributeBindings: ['isVisible:visible'],\n      isVisible: true\n    });\n   ```\n      This list of attributes is inherited from the component's superclasses,\n   as well.\n      @property attributeBindings\n   @type Array\n   @default []\n   @public\n   */\n  concatenatedProperties: ['attributeBindings'],\n  // ..........................................................\n  // TEMPLATE SUPPORT\n  //\n  /**\n   Return the nearest ancestor that is an instance of the provided\n   class or mixin.\n      @method nearestOfType\n   @param {Class,Mixin} klass Subclass of Ember.View (or Ember.View itself),\n   or an instance of Mixin.\n   @return Ember.View\n   @deprecated use `yield` and contextual components for composition instead.\n   @private\n   */\n  nearestOfType(klass) {\n    let view = this.parentView;\n    let isOfType = klass instanceof Mixin ? view => klass.detect(view) : view => klass.detect(view.constructor);\n    while (view) {\n      if (isOfType(view)) {\n        return view;\n      }\n      view = view.parentView;\n    }\n    return;\n  },\n  /**\n   Return the nearest ancestor that has a given property.\n      @method nearestWithProperty\n   @param {String} property A property name\n   @return Ember.View\n   @deprecated use `yield` and contextual components for composition instead.\n   @private\n   */\n  nearestWithProperty(property) {\n    let view = this.parentView;\n    while (view) {\n      if (property in view) {\n        return view;\n      }\n      view = view.parentView;\n    }\n  },\n  /**\n   Renders the view again. This will work regardless of whether the\n   view is already in the DOM or not. If the view is in the DOM, the\n   rendering process will be deferred to give bindings a chance\n   to synchronize.\n      If children were added during the rendering process using `appendChild`,\n   `rerender` will remove them, because they will be added again\n   if needed by the next `render`.\n      In general, if the display of your view changes, you should modify\n   the DOM element directly instead of manually calling `rerender`, which can\n   be slow.\n      @method rerender\n   @public\n   */\n  rerender() {\n    return this._currentState.rerender(this);\n  },\n  // ..........................................................\n  // ELEMENT SUPPORT\n  //\n  /**\n   Returns the current DOM element for the view.\n       @property element\n    @type DOMElement\n    @public\n  */\n  element: nativeDescDecorator({\n    configurable: false,\n    enumerable: false,\n    get() {\n      return this.renderer.getElement(this);\n    }\n  }),\n  /**\n   Appends the view's element to the specified parent element.\n      Note that this method just schedules the view to be appended; the DOM\n   element will not be appended to the given element until all bindings have\n   finished synchronizing.\n      This is not typically a function that you will need to call directly when\n   building your application. If you do need to use `appendTo`, be sure that\n   the target element you are providing is associated with an `Application`\n   and does not have an ancestor element that is associated with an Ember view.\n      @method appendTo\n   @param {String|DOMElement} A selector, element, HTML string\n   @return {Ember.View} receiver\n   @private\n   */\n  appendTo(selector) {\n    let target;\n    if (hasDOM) {\n      assert(`Expected a selector or instance of Element`, typeof selector === 'string' || selector instanceof Element);\n      target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n      assert(`You tried to append to (${selector}) but that isn't in the DOM`, target);\n      assert('You cannot append to an existing Ember.View.', !matches(target, '.ember-view'));\n      assert('You cannot append to an existing Ember.View.', (() => {\n        let node = target.parentNode;\n        while (node instanceof Element) {\n          if (matches(node, '.ember-view')) {\n            return false;\n          }\n          node = node.parentNode;\n        }\n        return true;\n      })());\n    } else {\n      target = selector;\n      assert(`You tried to append to a selector string (${selector}) in an environment without a DOM`, typeof target !== 'string');\n      assert(`You tried to append to a non-Element (${selector}) in an environment without a DOM`, typeof target.appendChild === 'function');\n    }\n    // SAFETY: SimpleElement is supposed to be a subset of Element so this _should_ be safe.\n    // However, the types are more specific in some places which necessitates the `as`.\n    this.renderer.appendTo(this, target);\n    return this;\n  },\n  /**\n   Appends the view's element to the document body. If the view does\n   not have an HTML representation yet\n   the element will be generated automatically.\n      If your application uses the `rootElement` property, you must append\n   the view within that element. Rendering views outside of the `rootElement`\n   is not supported.\n      Note that this method just schedules the view to be appended; the DOM\n   element will not be appended to the document body until all bindings have\n   finished synchronizing.\n      @method append\n   @return {Ember.View} receiver\n   @private\n   */\n  append() {\n    return this.appendTo(document.body);\n  },\n  /**\n   The HTML `id` of the view's element in the DOM. You can provide this\n   value yourself but it must be unique (just as in HTML):\n      ```handlebars\n   {{my-component elementId=\"a-really-cool-id\"}}\n   ```\n      If not manually set a default value will be provided by the framework.\n      Once rendered an element's `elementId` is considered immutable and you\n   should never change it. If you need to compute a dynamic value for the\n   `elementId`, you should do this when the component or element is being\n   instantiated:\n      ```app/components/my-component.js\n   import Component from '@ember/component';\n      export default Component.extend({\n      init() {\n        this._super(...arguments);\n        let index = this.get('index');\n        this.set('elementId', 'component-id' + index);\n      }\n    });\n   ```\n      @property elementId\n   @type String\n   @public\n   */\n  elementId: null,\n  /**\n   Called when a view is going to insert an element into the DOM.\n      @event willInsertElement\n   @public\n   */\n  willInsertElement: K,\n  /**\n   Called when the element of the view has been inserted into the DOM.\n   Override this function to do any set up that requires an element\n   in the document body.\n      When a view has children, didInsertElement will be called on the\n   child view(s) first and on itself afterwards.\n      @event didInsertElement\n   @public\n   */\n  didInsertElement: K,\n  /**\n   Called when the view is about to rerender, but before anything has\n   been torn down. This is a good opportunity to tear down any manual\n   observers you have installed based on the DOM state\n      @event willClearRender\n   @public\n   */\n  willClearRender: K,\n  /**\n   You must call `destroy` on a view to destroy the view (and all of its\n   child views). This will remove the view from any parent node, then make\n   sure that the DOM element managed by the view can be released by the\n   memory manager.\n      @method destroy\n   @private\n   */\n  destroy() {\n    this._super(...arguments);\n    this._currentState.destroy(this);\n  },\n  /**\n   Called when the element of the view is going to be destroyed. Override\n   this function to do any teardown that requires an element, like removing\n   event listeners.\n      Please note: any property changes made during this event will have no\n   effect on object observers.\n      @event willDestroyElement\n   @public\n   */\n  willDestroyElement: K,\n  /**\n   Called after the element of the view is destroyed.\n      @event willDestroyElement\n   @public\n   */\n  didDestroyElement: K,\n  /**\n   Called when the parentView property has changed.\n      @event parentViewDidChange\n   @private\n   */\n  parentViewDidChange: K,\n  // ..........................................................\n  // STANDARD RENDER PROPERTIES\n  //\n  /**\n   Tag name for the view's outer element. The tag name is only used when an\n   element is first created. If you change the `tagName` for an element, you\n   must destroy and recreate the view element.\n      By default, the render buffer will use a `<div>` tag for views.\n      If the tagName is `''`, the view will be tagless, with no outer element.\n   Component properties that depend on the presence of an outer element, such\n   as `classNameBindings` and `attributeBindings`, do not work with tagless\n   components. Tagless components cannot implement methods to handle events,\n   and their `element` property has a `null` value.\n      @property tagName\n   @type String\n   @default null\n   @public\n   */\n  // We leave this null by default so we can tell the difference between\n  // the default case and a user-specified tag.\n  tagName: null,\n  // .......................................................\n  // CORE DISPLAY METHODS\n  //\n  /**\n   Setup a view, but do not finish waking it up.\n      * configure `childViews`\n   * register the view with the global views hash, which is used for event\n   dispatch\n      @method init\n   @private\n   */\n  init() {\n    this._super(...arguments);\n    assert(`You cannot use a computed property for the component's \\`elementId\\` (${this}).`, descriptorForProperty(this, 'elementId') === undefined);\n    assert(`You cannot use a computed property for the component's \\`tagName\\` (${this}).`, descriptorForProperty(this, 'tagName') === undefined);\n    if (!this.elementId && this.tagName !== '') {\n      this.elementId = guidFor(this);\n    }\n    assert('Using a custom `.render` function is no longer supported.', !this.render);\n  },\n  // .......................................................\n  // EVENT HANDLING\n  //\n  /**\n   Handle events from `EventDispatcher`\n      @method handleEvent\n   @param eventName {String}\n   @param evt {Event}\n   @private\n   */\n  handleEvent(eventName, evt) {\n    return this._currentState.handleEvent(this, eventName, evt);\n  }\n});\nexport default ViewMixin;","/**\n@module ember\n*/\nexport default function ActionManager() {}\n/**\n  Global action id hash.\n\n  @private\n  @property registeredActions\n  @type Object\n*/\nActionManager.registeredActions = {};","import { getOwner } from '@ember/-internals/owner';\nimport { assert } from '@ember/debug';\nimport { get, set } from '@ember/-internals/metal';\nimport EmberObject from '@ember/object';\nimport { getElementView } from '@ember/-internals/views';\nimport ActionManager from './action_manager';\n/**\n@module ember\n*/\nconst ROOT_ELEMENT_CLASS = 'ember-application';\nconst ROOT_ELEMENT_SELECTOR = `.${ROOT_ELEMENT_CLASS}`;\n/**\n  `Ember.EventDispatcher` handles delegating browser events to their\n  corresponding `Ember.Views.` For example, when you click on a view,\n  `Ember.EventDispatcher` ensures that that view's `mouseDown` method gets\n  called.\n\n  @class EventDispatcher\n  @namespace Ember\n  @private\n  @extends EmberObject\n*/\nexport default class EventDispatcher extends EmberObject {\n  constructor() {\n    super(...arguments);\n    /**\n      The set of events names (and associated handler function names) to be setup\n      and dispatched by the `EventDispatcher`. Modifications to this list can be done\n      at setup time, generally via the `Application.customEvents` hash.\n             To add new events to be listened to:\n             ```javascript\n      import Application from '@ember/application';\n             let App = Application.create({\n        customEvents: {\n          paste: 'paste'\n        }\n      });\n      ```\n             To prevent default events from being listened to:\n             ```javascript\n      import Application from '@ember/application';\n             let App = Application.create({\n        customEvents: {\n          mouseenter: null,\n          mouseleave: null\n        }\n      });\n      ```\n      @property events\n      @type Object\n      @private\n    */\n    this.events = {\n      touchstart: 'touchStart',\n      touchmove: 'touchMove',\n      touchend: 'touchEnd',\n      touchcancel: 'touchCancel',\n      keydown: 'keyDown',\n      keyup: 'keyUp',\n      keypress: 'keyPress',\n      mousedown: 'mouseDown',\n      mouseup: 'mouseUp',\n      contextmenu: 'contextMenu',\n      click: 'click',\n      dblclick: 'doubleClick',\n      focusin: 'focusIn',\n      focusout: 'focusOut',\n      submit: 'submit',\n      input: 'input',\n      change: 'change',\n      dragstart: 'dragStart',\n      drag: 'drag',\n      dragenter: 'dragEnter',\n      dragleave: 'dragLeave',\n      dragover: 'dragOver',\n      drop: 'drop',\n      dragend: 'dragEnd'\n    };\n    /**\n      The root DOM element to which event listeners should be attached. Event\n      listeners will be attached to the document unless this is overridden.\n             Can be specified as a DOMElement or a selector string.\n             The default body is a string since this may be evaluated before document.body\n      exists in the DOM.\n             @private\n      @property rootElement\n      @type DOMElement\n      @default 'body'\n    */\n    this.rootElement = 'body';\n    this._eventHandlers = Object.create(null);\n    this._didSetup = false;\n    this.finalEventNameMapping = null;\n    this._sanitizedRootElement = null;\n    this.lazyEvents = new Map();\n    this._reverseEventNameMapping = null;\n  }\n  /**\n    Sets up event listeners for standard browser events.\n       This will be called after the browser sends a `DOMContentReady` event. By\n    default, it will set up all of the listeners on the document body. If you\n    would like to register the listeners on a different element, set the event\n    dispatcher's `root` property.\n       @private\n    @method setup\n    @param addedEvents {Object}\n  */\n  setup(addedEvents, _rootElement) {\n    var _a;\n    assert('EventDispatcher should never be setup in fastboot mode. Please report this as an Ember bug.', (() => {\n      let owner = getOwner(this);\n      assert('[BUG] Missing owner', owner);\n      // SAFETY: This is not guaranteed to be safe, but this is what we expect to be returned.\n      let environment = owner.lookup('-environment:main');\n      return environment.isInteractive;\n    })());\n    let events = this.finalEventNameMapping = Object.assign(Object.assign({}, get(this, 'events')), addedEvents);\n    this._reverseEventNameMapping = Object.keys(events).reduce((result, key) => {\n      let eventName = events[key];\n      return eventName ? Object.assign(Object.assign({}, result), {\n        [eventName]: key\n      }) : result;\n    }, {});\n    let lazyEvents = this.lazyEvents;\n    if (_rootElement !== undefined && _rootElement !== null) {\n      set(this, 'rootElement', _rootElement);\n    }\n    let specifiedRootElement = get(this, 'rootElement');\n    let rootElement = typeof specifiedRootElement !== 'string' ? specifiedRootElement : document.querySelector(specifiedRootElement);\n    assert(`Could not find rootElement (${specifiedRootElement})`, rootElement);\n    assert(`You cannot use the same root element (${specifiedRootElement}) multiple times in an Ember.Application`, !rootElement.classList.contains(ROOT_ELEMENT_CLASS));\n    assert('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application', (() => {\n      let target = rootElement.parentNode;\n      while (target instanceof Element) {\n        if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n          return false;\n        }\n        target = target.parentNode;\n      }\n      return true;\n    })());\n    assert('You cannot make a new Ember.Application using a root element that is an ancestor of an existing Ember.Application', !rootElement.querySelector(ROOT_ELEMENT_SELECTOR));\n    rootElement.classList.add(ROOT_ELEMENT_CLASS);\n    assert(`Unable to add '${ROOT_ELEMENT_CLASS}' class to root element (${get(this, 'rootElement') || rootElement.tagName}). Make sure you set rootElement to the body or an element in the body.`, rootElement.classList.contains(ROOT_ELEMENT_CLASS));\n    // save off the final sanitized root element (for usage in setupHandler)\n    this._sanitizedRootElement = rootElement;\n    // setup event listeners for the non-lazily setup events\n    for (let event in events) {\n      if (Object.prototype.hasOwnProperty.call(events, event)) {\n        lazyEvents.set(event, (_a = events[event]) !== null && _a !== void 0 ? _a : null);\n      }\n    }\n    this._didSetup = true;\n  }\n  /**\n    Setup event listeners for the given browser event name\n       @private\n    @method setupHandlerForBrowserEvent\n    @param event the name of the event in the browser\n  */\n  setupHandlerForBrowserEvent(event) {\n    var _a;\n    assert('[BUG] Expected finalEventNameMapping to be set', this.finalEventNameMapping);\n    assert('[BUG] Expected _santizedRootElement to be set', this._sanitizedRootElement);\n    this.setupHandler(this._sanitizedRootElement, event, (_a = this.finalEventNameMapping[event]) !== null && _a !== void 0 ? _a : null);\n  }\n  /**\n    Setup event listeners for the given Ember event name (camel case)\n       @private\n    @method setupHandlerForEmberEvent\n    @param eventName\n  */\n  setupHandlerForEmberEvent(eventName) {\n    var _a;\n    assert('[BUG] Expected _sanitizedRootElement to be set', this._sanitizedRootElement);\n    let event = (_a = this._reverseEventNameMapping) === null || _a === void 0 ? void 0 : _a[eventName];\n    if (event) {\n      this.setupHandler(this._sanitizedRootElement, event, eventName);\n    }\n  }\n  /**\n    Registers an event listener on the rootElement. If the given event is\n    triggered, the provided event handler will be triggered on the target view.\n       If the target view does not implement the event handler, or if the handler\n    returns `false`, the parent view will be called. The event will continue to\n    bubble to each successive parent view until it reaches the top.\n       @private\n    @method setupHandler\n    @param {Element} rootElement\n    @param {String} event the name of the event in the browser\n    @param {String} eventName the name of the method to call on the view\n  */\n  setupHandler(rootElement, event, eventName) {\n    if (eventName === null || !this.lazyEvents.has(event)) {\n      return; // nothing to do\n    }\n\n    let viewHandler = (target, event) => {\n      // SAFETY: SimpleElement is supposed to be a subset of Element so this _should_ be safe.\n      // However, the types are more specific in some places which necessitates the `as`.\n      let view = getElementView(target);\n      let result = true;\n      if (view) {\n        // SAFETY: As currently written, this is not safe. Though it seems to always be true.\n        result = view.handleEvent(eventName, event);\n      }\n      return result;\n    };\n    let actionHandler = (target, event) => {\n      let actionId = target.getAttribute('data-ember-action');\n      let actions;\n      // In Glimmer2 this attribute is set to an empty string and an additional\n      // attribute it set for each action on a given element. In this case, the\n      // attributes need to be read so that a proper set of action handlers can\n      // be coalesced.\n      if (actionId === '') {\n        actions = [];\n        for (let attr of target.attributes) {\n          let attrName = attr.name;\n          if (attrName.indexOf('data-ember-action-') === 0) {\n            let action = ActionManager.registeredActions[attr.value];\n            assert('[BUG] Missing action', action);\n            actions.push(action);\n          }\n        }\n      } else if (actionId) {\n        // FIXME: This branch is never called in tests. Improve tests or remove\n        let actionState = ActionManager.registeredActions[actionId];\n        if (actionState) {\n          actions = [actionState];\n        }\n      }\n      // We have to check for actions here since in some cases, jQuery will trigger\n      // an event on `removeChild` (i.e. focusout) after we've already torn down the\n      // action handlers for the view.\n      if (!actions) {\n        // FIXME: This branch is never called in tests. Improve tests or remove\n        return;\n      }\n      let result = true;\n      for (let index = 0; index < actions.length; index++) {\n        let action = actions[index];\n        if (action && action.eventName === eventName) {\n          // return false if any of the action handlers returns false\n          result = action.handler(event) && result;\n        }\n      }\n      return result;\n    };\n    let handleEvent = this._eventHandlers[event] = event => {\n      let target = event.target;\n      assert(`[BUG] Received event without an Element target: ${event.type}, ${target}`, target instanceof Element);\n      do {\n        // SAFETY: SimpleElement is supposed to be a subset of Element so this _should_ be safe.\n        // However, the types are more specific in some places which necessitates the `as`.\n        if (getElementView(target)) {\n          if (viewHandler(target, event) === false) {\n            event.preventDefault();\n            event.stopPropagation();\n            break;\n          } else if (event.cancelBubble === true) {\n            break;\n          }\n        } else if (typeof target.hasAttribute === 'function' && target.hasAttribute('data-ember-action')) {\n          if (actionHandler(target, event) === false) {\n            break;\n          }\n        }\n        target = target.parentNode;\n      } while (target instanceof Element);\n    };\n    rootElement.addEventListener(event, handleEvent);\n    this.lazyEvents.delete(event);\n  }\n  destroy() {\n    if (this._didSetup === false) {\n      return;\n    }\n    let rootElement = this._sanitizedRootElement;\n    if (!rootElement) {\n      return;\n    }\n    for (let event in this._eventHandlers) {\n      rootElement.removeEventListener(event, this._eventHandlers[event]);\n    }\n    rootElement.classList.remove(ROOT_ELEMENT_CLASS);\n    return this._super(...arguments);\n  }\n  toString() {\n    return '(EventDispatcher)';\n  }\n}","import { getOwner } from '@ember/-internals/owner';\nimport { guidFor } from '@ember/-internals/utils';\nimport { assert } from '@ember/debug';\n/**\n@module ember\n*/\nexport function isSimpleClick(event) {\n  if (!(event instanceof MouseEvent)) {\n    return false;\n  }\n  let modifier = event.shiftKey || event.metaKey || event.altKey || event.ctrlKey;\n  let secondaryClick = event.which > 1; // IE9 may return undefined\n  return !modifier && !secondaryClick;\n}\nexport function constructStyleDeprecationMessage(affectedStyle) {\n  return '' + 'Binding style attributes may introduce cross-site scripting vulnerabilities; ' + 'please ensure that values being bound are properly escaped. For more information, ' + 'including how to disable this warning, see ' + 'https://deprecations.emberjs.com/v1.x/#toc_binding-style-attributes. ' + 'Style affected: \"' + affectedStyle + '\"';\n}\n/**\n  @private\n  @method getRootViews\n  @param {Object} owner\n*/\nexport function getRootViews(owner) {\n  let registry = owner.lookup('-view-registry:main');\n  let rootViews = [];\n  Object.keys(registry).forEach(id => {\n    let view = registry[id];\n    assert('expected view', view);\n    if (view.parentView === null) {\n      rootViews.push(view);\n    }\n  });\n  return rootViews;\n}\n/**\n  @private\n  @method getViewId\n  @param {Ember.View} view\n */\nexport function getViewId(view) {\n  if (view.tagName !== '' && view.elementId) {\n    return view.elementId;\n  } else {\n    return guidFor(view);\n  }\n}\nconst ELEMENT_VIEW = new WeakMap();\nconst VIEW_ELEMENT = new WeakMap();\nexport function getElementView(element) {\n  return ELEMENT_VIEW.get(element) || null;\n}\n/**\n  @private\n  @method getViewElement\n  @param {Ember.View} view\n */\nexport function getViewElement(view) {\n  return VIEW_ELEMENT.get(view) || null;\n}\nexport function setElementView(element, view) {\n  ELEMENT_VIEW.set(element, view);\n}\nexport function setViewElement(view, element) {\n  VIEW_ELEMENT.set(view, element);\n}\n// These are not needed for GC, but for correctness. We want to be able to\n// null-out these links while the objects are still live. Specifically, in\n// this case, we want to prevent access to the element (and vice verse) during\n// destruction.\nexport function clearElementView(element) {\n  ELEMENT_VIEW.delete(element);\n}\nexport function clearViewElement(view) {\n  VIEW_ELEMENT.delete(view);\n}\nconst CHILD_VIEW_IDS = new WeakMap();\n/**\n  @private\n  @method getChildViews\n  @param {Ember.View} view\n*/\nexport function getChildViews(view) {\n  let owner = getOwner(view);\n  assert('View is unexpectedly missing an owner', owner);\n  let registry = owner.lookup('-view-registry:main');\n  return collectChildViews(view, registry);\n}\nexport function initChildViews(view) {\n  let childViews = new Set();\n  CHILD_VIEW_IDS.set(view, childViews);\n  return childViews;\n}\nexport function addChildView(parent, child) {\n  let childViews = CHILD_VIEW_IDS.get(parent);\n  if (childViews === undefined) {\n    childViews = initChildViews(parent);\n  }\n  childViews.add(getViewId(child));\n}\nexport function collectChildViews(view, registry) {\n  let views = [];\n  let childViews = CHILD_VIEW_IDS.get(view);\n  if (childViews !== undefined) {\n    childViews.forEach(id => {\n      let view = registry[id];\n      if (view && !view.isDestroying && !view.isDestroyed) {\n        views.push(view);\n      }\n    });\n  }\n  return views;\n}\n/**\n  @private\n  @method getViewBounds\n  @param {Ember.View} view\n*/\nexport function getViewBounds(view) {\n  return view.renderer.getBounds(view);\n}\n/**\n  @private\n  @method getViewRange\n  @param {Ember.View} view\n*/\nexport function getViewRange(view) {\n  let bounds = getViewBounds(view);\n  let range = document.createRange();\n  range.setStartBefore(bounds.firstNode);\n  range.setEndAfter(bounds.lastNode);\n  return range;\n}\n/**\n  `getViewClientRects` provides information about the position of the border\n  box edges of a view relative to the viewport.\n\n  It is only intended to be used by development tools like the Ember Inspector\n  and may not work on older browsers.\n\n  @private\n  @method getViewClientRects\n  @param {Ember.View} view\n*/\nexport function getViewClientRects(view) {\n  let range = getViewRange(view);\n  return range.getClientRects();\n}\n/**\n  `getViewBoundingClientRect` provides information about the position of the\n  bounding border box edges of a view relative to the viewport.\n\n  It is only intended to be used by development tools like the Ember Inspector\n  and may not work on older browsers.\n\n  @private\n  @method getViewBoundingClientRect\n  @param {Ember.View} view\n*/\nexport function getViewBoundingClientRect(view) {\n  let range = getViewRange(view);\n  return range.getBoundingClientRect();\n}\n/**\n  Determines if the element matches the specified selector.\n\n  @private\n  @method matches\n  @param {DOMElement} el\n  @param {String} selector\n*/\nexport const elMatches = typeof Element !== 'undefined' ? Element.prototype.matches : undefined;\nexport function matches(el, selector) {\n  assert('cannot call `matches` in fastboot mode', elMatches !== undefined);\n  return elMatches.call(el, selector);\n}\nexport function contains(a, b) {\n  if (a.contains !== undefined) {\n    return a.contains(b);\n  }\n  let current = b.parentNode;\n  while (current && (current = current.parentNode)) {\n    if (current === a) {\n      return true;\n    }\n  }\n  return false;\n}","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n  var c = arguments.length,\n    r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n    d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { inject } from '@ember/-internals/metal';\nimport { ActionHandler } from '@ember/-internals/runtime';\nimport Evented from '@ember/object/evented';\nimport { FrameworkObject } from '@ember/object/-internals';\nimport states from './states';\nclass CoreView extends FrameworkObject.extend(Evented, ActionHandler) {\n  constructor() {\n    super(...arguments);\n    this.isView = true;\n  }\n  init(properties) {\n    var _a;\n    super.init(properties);\n    // Handle methods from Evented\n    // The native class inheritance will not work for mixins. To work around this,\n    // we copy the existing trigger and has methods provided by the mixin and swap in the\n    // new ones from our class.\n    this._superTrigger = this.trigger;\n    this.trigger = this._trigger;\n    this._superHas = this.has;\n    this.has = this._has;\n    (_a = this.parentView) !== null && _a !== void 0 ? _a : this.parentView = null;\n    this._state = 'preRender';\n    this._currentState = this._states.preRender;\n  }\n  instrumentDetails(hash) {\n    hash['object'] = this.toString();\n    hash['containerKey'] = this._debugContainerKey;\n    hash['view'] = this;\n    return hash;\n  }\n  /**\n    Override the default event firing from `Evented` to\n    also call methods with the given name.\n       @method trigger\n    @param name {String}\n    @private\n  */\n  // Changed to `trigger` on init\n  _trigger(name, ...args) {\n    this._superTrigger(name, ...args);\n    let method = this[name];\n    if (typeof method === 'function') {\n      return method.apply(this, args);\n    }\n  }\n  // Changed to `has` on init\n  _has(name) {\n    return typeof this[name] === 'function' || this._superHas(name);\n  }\n}\nCoreView.isViewFactory = true;\n__decorate([inject('renderer', '-dom')], CoreView.prototype, \"renderer\", void 0);\n// Declare on the prototype to have a single shared value.\nCoreView.prototype._states = states;\nexport default CoreView;","import { teardownMandatorySetter } from '@ember/-internals/utils';\nimport { assert } from '@ember/debug';\nimport { flaggedInstrument } from '@ember/instrumentation';\nimport { join } from '@ember/runloop';\nimport { DEBUG } from '@glimmer/env';\nconst DEFAULT = Object.freeze({\n  // appendChild is only legal while rendering the buffer.\n  appendChild() {\n    throw new Error(\"You can't use appendChild outside of the rendering process\");\n  },\n  // Handle events from `Ember.EventDispatcher`\n  handleEvent() {\n    return true; // continue event propagation\n  },\n\n  rerender() {},\n  destroy() {}\n});\nconst PRE_RENDER = Object.freeze(Object.assign({}, DEFAULT));\nconst HAS_ELEMENT = Object.freeze(Object.assign(Object.assign({}, DEFAULT), {\n  rerender(view) {\n    view.renderer.rerender();\n  },\n  destroy(view) {\n    view.renderer.remove(view);\n  },\n  // Handle events from `Ember.EventDispatcher`\n  handleEvent(view, eventName, event) {\n    if (view.has(eventName)) {\n      // Handler should be able to re-dispatch events, so we don't\n      // preventDefault or stopPropagation.\n      return flaggedInstrument(`interaction.${eventName}`, {\n        event,\n        view\n      }, () => {\n        return join(view, view.trigger, eventName, event);\n      });\n    } else {\n      return true; // continue event propagation\n    }\n  }\n}));\n\nconst IN_DOM = Object.freeze(Object.assign(Object.assign({}, HAS_ELEMENT), {\n  enter(view) {\n    // Register the view for event handling. This hash is used by\n    // Ember.EventDispatcher to dispatch incoming events.\n    view.renderer.register(view);\n    if (DEBUG) {\n      let elementId = view.elementId;\n      assert('[BUG] Expected teardownMandatorySetter to be set in DEBUG mode', teardownMandatorySetter);\n      teardownMandatorySetter(view, 'elementId');\n      Object.defineProperty(view, 'elementId', {\n        configurable: true,\n        enumerable: true,\n        get() {\n          return elementId;\n        },\n        set(value) {\n          if (value !== elementId) {\n            throw new Error(\"Changing a view's elementId after creation is not allowed\");\n          }\n        }\n      });\n    }\n  }\n}));\nconst DESTROYING = Object.freeze(Object.assign(Object.assign({}, DEFAULT), {\n  appendChild() {\n    throw new Error(\"You can't call appendChild on a view being destroyed\");\n  },\n  rerender() {\n    throw new Error(\"You can't call rerender on a view being destroyed\");\n  }\n}));\n/*\n  Describe how the specified actions should behave in the various\n  states that a view can exist in. Possible states:\n\n  * preRender: when a view is first instantiated, and after its\n    element was destroyed, it is in the preRender state\n  * hasElement: the DOM representation of the view is created,\n    and is ready to be inserted\n  * inDOM: once a view has been inserted into the DOM it is in\n    the inDOM state. A view spends the vast majority of its\n    existence in this state.\n  * destroyed: once a view has been destroyed (using the destroy\n    method), it is in this state. No further actions can be invoked\n    on a destroyed view.\n*/\nconst states = Object.freeze({\n  preRender: PRE_RENDER,\n  inDOM: IN_DOM,\n  hasElement: HAS_ELEMENT,\n  destroying: DESTROYING\n});\nexport default states;","/**\n@module @ember/application\n*/\nimport { getOwner as actualGetOwner, setOwner as actualSetOwner } from '@ember/owner';\nimport { dictionary } from '@ember/-internals/utils';\nimport { ENV } from '@ember/-internals/environment';\nimport { hasDOM } from '@ember/-internals/browser-environment';\nimport { assert } from '@ember/debug';\nimport { DEBUG } from '@glimmer/env';\nimport { join, once, run, schedule } from '@ember/runloop';\nimport { libraries } from '@ember/-internals/metal';\nimport { _loaded, onLoad, runLoadHooks } from './lib/lazy_load';\nimport { RSVP } from '@ember/-internals/runtime';\nimport { EventDispatcher } from '@ember/-internals/views';\nimport Route from '@ember/routing/route';\nimport Router from '@ember/routing/router';\nimport AutoLocation from '@ember/routing/auto-location';\nimport HashLocation from '@ember/routing/hash-location';\nimport HistoryLocation from '@ember/routing/history-location';\nimport NoneLocation from '@ember/routing/none-location';\nimport { BucketCache } from '@ember/routing/-internals';\nimport ApplicationInstance from '@ember/application/instance';\nimport Engine, { buildInitializerMethod } from '@ember/engine';\nimport { privatize as P } from '@ember/-internals/container';\nimport { setupApplicationRegistry } from '@ember/-internals/glimmer';\nimport RouterService from '@ember/routing/router-service';\n/**\n * @deprecated Use `import { getOwner } from '@ember/owner';` instead.\n */\nexport const getOwner = actualGetOwner;\n/**\n * @deprecated Use `import { setOwner } from '@ember/owner';` instead.\n */\nexport const setOwner = actualSetOwner;\n/**\n  An instance of `Application` is the starting point for every Ember\n  application. It instantiates, initializes and coordinates the\n  objects that make up your app.\n\n  Each Ember app has one and only one `Application` object. Although\n  Ember CLI creates this object implicitly, the `Application` class\n  is defined in the `app/app.js`. You can define a `ready` method on the\n  `Application` class, which will be run by Ember when the application is\n  initialized.\n\n  ```app/app.js\n  export default class App extends Application {\n    ready() {\n      // your code here\n    }\n  }\n  ```\n\n  Because `Application` ultimately inherits from `Ember.Namespace`, any classes\n  you create will have useful string representations when calling `toString()`.\n  See the `Ember.Namespace` documentation for more information.\n\n  While you can think of your `Application` as a container that holds the\n  other classes in your application, there are several other responsibilities\n  going on under-the-hood that you may want to understand. It is also important\n  to understand that an `Application` is different from an `ApplicationInstance`.\n  Refer to the Guides to understand the difference between these.\n\n  ### Event Delegation\n\n  Ember uses a technique called _event delegation_. This allows the framework\n  to set up a global, shared event listener instead of requiring each view to\n  do it manually. For example, instead of each view registering its own\n  `mousedown` listener on its associated element, Ember sets up a `mousedown`\n  listener on the `body`.\n\n  If a `mousedown` event occurs, Ember will look at the target of the event and\n  start walking up the DOM node tree, finding corresponding views and invoking\n  their `mouseDown` method as it goes.\n\n  `Application` has a number of default events that it listens for, as\n  well as a mapping from lowercase events to camel-cased view method names. For\n  example, the `keypress` event causes the `keyPress` method on the view to be\n  called, the `dblclick` event causes `doubleClick` to be called, and so on.\n\n  If there is a bubbling browser event that Ember does not listen for by\n  default, you can specify custom events and their corresponding view method\n  names by setting the application's `customEvents` property:\n\n  ```app/app.js\n  import Application from '@ember/application';\n\n  export default class App extends Application {\n    customEvents = {\n      // add support for the paste event\n      paste: 'paste'\n    }\n  }\n  ```\n\n  To prevent Ember from setting up a listener for a default event,\n  specify the event name with a `null` value in the `customEvents`\n  property:\n\n  ```app/app.js\n  import Application from '@ember/application';\n\n  export default class App extends Application {\n    customEvents = {\n      // prevent listeners for mouseenter/mouseleave events\n      mouseenter: null,\n      mouseleave: null\n    }\n  }\n  ```\n\n  By default, the application sets up these event listeners on the document\n  body. However, in cases where you are embedding an Ember application inside\n  an existing page, you may want it to set up the listeners on an element\n  inside the body.\n\n  For example, if only events inside a DOM element with the ID of `ember-app`\n  should be delegated, set your application's `rootElement` property:\n\n  ```app/app.js\n  import Application from '@ember/application';\n\n  export default class App extends Application {\n    rootElement = '#ember-app'\n  }\n  ```\n\n  The `rootElement` can be either a DOM element or a CSS selector\n  string. Note that *views appended to the DOM outside the root element will\n  not receive events.* If you specify a custom root element, make sure you only\n  append views inside it!\n\n  To learn more about the events Ember components use, see\n\n  [components/handling-events](https://guides.emberjs.com/release/components/handling-events/#toc_event-names).\n\n  ### Initializers\n\n  To add behavior to the Application's boot process, you can define initializers in\n  the `app/initializers` directory, or with `ember generate initializer` using Ember CLI.\n  These files should export a named `initialize` function which will receive the created `application`\n  object as its first argument.\n\n  ```javascript\n  export function initialize(application) {\n    // application.inject('route', 'foo', 'service:foo');\n  }\n  ```\n\n  Application initializers can be used for a variety of reasons including:\n\n  - setting up external libraries\n  - injecting dependencies\n  - setting up event listeners in embedded apps\n  - deferring the boot process using the `deferReadiness` and `advanceReadiness` APIs.\n\n  ### Routing\n\n  In addition to creating your application's router, `Application` is\n  also responsible for telling the router when to start routing. Transitions\n  between routes can be logged with the `LOG_TRANSITIONS` flag, and more\n  detailed intra-transition logging can be logged with\n  the `LOG_TRANSITIONS_INTERNAL` flag:\n\n  ```javascript\n  import Application from '@ember/application';\n\n  let App = Application.create({\n    LOG_TRANSITIONS: true, // basic logging of successful transitions\n    LOG_TRANSITIONS_INTERNAL: true // detailed logging of all routing steps\n  });\n  ```\n\n  By default, the router will begin trying to translate the current URL into\n  application state once the browser emits the `DOMContentReady` event. If you\n  need to defer routing, you can call the application's `deferReadiness()`\n  method. Once routing can begin, call the `advanceReadiness()` method.\n\n  If there is any setup required before routing begins, you can implement a\n  `ready()` method on your app that will be invoked immediately before routing\n  begins.\n\n  @class Application\n  @extends Engine\n  @public\n*/\nclass Application extends Engine {\n  constructor() {\n    super(...arguments);\n    this._bootPromise = null;\n    this._bootResolver = null;\n  }\n  /**\n    This creates a registry with the default Ember naming conventions.\n       It also configures the registry:\n       * registered views are created every time they are looked up (they are\n      not singletons)\n    * registered templates are not factories; the registered value is\n      returned directly.\n    * the router receives the application as its `namespace` property\n    * all controllers receive the router as their `target` and `controllers`\n      properties\n    * all controllers receive the application as their `namespace` property\n    * the application view receives the application controller as its\n      `controller` property\n    * the application view receives the application template as its\n      `defaultTemplate` property\n       @method buildRegistry\n    @static\n    @param {Application} namespace the application for which to\n      build the registry\n    @return {Ember.Registry} the built registry\n    @private\n  */\n  static buildRegistry(namespace) {\n    let registry = super.buildRegistry(namespace);\n    commonSetupRegistry(registry);\n    setupApplicationRegistry(registry);\n    return registry;\n  }\n  init(properties) {\n    var _a, _b, _c, _d, _e, _f, _g, _h;\n    super.init(properties);\n    (_a = this.rootElement) !== null && _a !== void 0 ? _a : this.rootElement = 'body';\n    (_b = this._document) !== null && _b !== void 0 ? _b : this._document = null;\n    (_c = this.eventDispatcher) !== null && _c !== void 0 ? _c : this.eventDispatcher = null;\n    (_d = this.customEvents) !== null && _d !== void 0 ? _d : this.customEvents = null;\n    (_e = this.autoboot) !== null && _e !== void 0 ? _e : this.autoboot = true;\n    (_f = this._document) !== null && _f !== void 0 ? _f : this._document = hasDOM ? window.document : null;\n    (_g = this._globalsMode) !== null && _g !== void 0 ? _g : this._globalsMode = true;\n    if (DEBUG) {\n      if (ENV.LOG_VERSION) {\n        // we only need to see this once per Application#init\n        ENV.LOG_VERSION = false;\n        (_h = libraries.logVersions) === null || _h === void 0 ? void 0 : _h.call(libraries);\n      }\n    }\n    // Start off the number of deferrals at 1. This will be decremented by\n    // the Application's own `boot` method.\n    this._readinessDeferrals = 1;\n    this._booted = false;\n    this._applicationInstances = new Set();\n    this.autoboot = this._globalsMode = Boolean(this.autoboot);\n    if (this._globalsMode) {\n      this._prepareForGlobalsMode();\n    }\n    if (this.autoboot) {\n      this.waitForDOMReady();\n    }\n  }\n  /**\n    Create an ApplicationInstance for this application.\n       @public\n    @method buildInstance\n    @return {ApplicationInstance} the application instance\n  */\n  buildInstance(options = {}) {\n    assert('You cannot build new instances of this application since it has already been destroyed', !this.isDestroyed);\n    assert('You cannot build new instances of this application since it is being destroyed', !this.isDestroying);\n    return ApplicationInstance.create(Object.assign(Object.assign({}, options), {\n      base: this,\n      application: this\n    }));\n  }\n  /**\n    Start tracking an ApplicationInstance for this application.\n    Used when the ApplicationInstance is created.\n       @private\n    @method _watchInstance\n  */\n  _watchInstance(instance) {\n    this._applicationInstances.add(instance);\n  }\n  /**\n    Stop tracking an ApplicationInstance for this application.\n    Used when the ApplicationInstance is about to be destroyed.\n       @private\n    @method _unwatchInstance\n  */\n  _unwatchInstance(instance) {\n    return this._applicationInstances.delete(instance);\n  }\n  /**\n    Enable the legacy globals mode by allowing this application to act\n    as a global namespace. See the docs on the `_globalsMode` property\n    for details.\n       Most of these features are already deprecated in 1.x, so we can\n    stop using them internally and try to remove them.\n       @private\n    @method _prepareForGlobalsMode\n  */\n  _prepareForGlobalsMode() {\n    // Create subclass of Router for this Application instance.\n    // This is to ensure that someone reopening `App.Router` does not\n    // tamper with the default `Router`.\n    this.Router = (this.Router || Router).extend();\n    this._buildDeprecatedInstance();\n  }\n  /*\n    Build the deprecated instance for legacy globals mode support.\n    Called when creating and resetting the application.\n       This is orthogonal to autoboot: the deprecated instance needs to\n    be created at Application construction (not boot) time to expose\n    App.__container__. If autoboot sees that this instance exists,\n    it will continue booting it to avoid doing unncessary work (as\n    opposed to building a new instance at boot time), but they are\n    otherwise unrelated.\n       @private\n    @method _buildDeprecatedInstance\n  */\n  _buildDeprecatedInstance() {\n    // Build a default instance\n    let instance = this.buildInstance();\n    // Legacy support for App.__container__ and other global methods\n    // on App that rely on a single, default instance.\n    this.__deprecatedInstance__ = instance;\n    this.__container__ = instance.__container__;\n  }\n  /**\n    Automatically kick-off the boot process for the application once the\n    DOM has become ready.\n       The initialization itself is scheduled on the actions queue which\n    ensures that code-loading finishes before booting.\n       If you are asynchronously loading code, you should call `deferReadiness()`\n    to defer booting, and then call `advanceReadiness()` once all of your code\n    has finished loading.\n       @private\n    @method waitForDOMReady\n  */\n  waitForDOMReady() {\n    const document = this._document;\n    // SAFETY: Casting as Document should be safe since we're just reading a property.\n    // If it's not actually a Document then it will evaluate false which is fine for our\n    // purposes.\n    if (document === null || document.readyState !== 'loading') {\n      schedule('actions', this, this.domReady);\n    } else {\n      // Ideally we'd just check `document instanceof Document` but currently some tests pass a fake document.\n      assert('[BUG] Called waitForDOMReady with an invalid document', function (d) {\n        return typeof d.removeEventListener === 'function';\n      }(document));\n      let callback = () => {\n        document.removeEventListener('DOMContentLoaded', callback);\n        run(this, this.domReady);\n      };\n      document.addEventListener('DOMContentLoaded', callback);\n    }\n  }\n  /**\n    This is the autoboot flow:\n       1. Boot the app by calling `this.boot()`\n    2. Create an instance (or use the `__deprecatedInstance__` in globals mode)\n    3. Boot the instance by calling `instance.boot()`\n    4. Invoke the `App.ready()` callback\n    5. Kick-off routing on the instance\n       Ideally, this is all we would need to do:\n       ```javascript\n    _autoBoot() {\n      this.boot().then(() => {\n        let instance = (this._globalsMode) ? this.__deprecatedInstance__ : this.buildInstance();\n        return instance.boot();\n      }).then((instance) => {\n        App.ready();\n        instance.startRouting();\n      });\n    }\n    ```\n       Unfortunately, we cannot actually write this because we need to participate\n    in the \"synchronous\" boot process. While the code above would work fine on\n    the initial boot (i.e. DOM ready), when `App.reset()` is called, we need to\n    boot a new instance synchronously (see the documentation on `_bootSync()`\n    for details).\n       Because of this restriction, the actual logic of this method is located\n    inside `didBecomeReady()`.\n       @private\n    @method domReady\n  */\n  domReady() {\n    if (this.isDestroying || this.isDestroyed) {\n      return;\n    }\n    this._bootSync();\n    // Continues to `didBecomeReady`\n  }\n  /**\n    Use this to defer readiness until some condition is true.\n       Example:\n       ```javascript\n    import Application from '@ember/application';\n       let App = Application.create();\n       App.deferReadiness();\n       fetch('/auth-token')\n    .then(response => response.json())\n    .then(data => {\n      App.token = data.token;\n      App.advanceReadiness();\n    });\n    ```\n       This allows you to perform asynchronous setup logic and defer\n    booting your application until the setup has finished.\n       However, if the setup requires a loading UI, it might be better\n    to use the router for this purpose.\n       @method deferReadiness\n    @public\n  */\n  deferReadiness() {\n    assert('You must call deferReadiness on an instance of Application', this instanceof Application);\n    assert('You cannot defer readiness since application has already destroyed', !this.isDestroyed);\n    assert('You cannot defer readiness since the application is being destroyed', !this.isDestroying);\n    assert('You cannot defer readiness since the `ready()` hook has already been called', this._readinessDeferrals > 0);\n    this._readinessDeferrals++;\n  }\n  /**\n    Call `advanceReadiness` after any asynchronous setup logic has completed.\n    Each call to `deferReadiness` must be matched by a call to `advanceReadiness`\n    or the application will never become ready and routing will not begin.\n       @method advanceReadiness\n    @see {Application#deferReadiness}\n    @public\n  */\n  advanceReadiness() {\n    assert('You must call advanceReadiness on an instance of Application', this instanceof Application);\n    assert('You cannot advance readiness since application has already destroyed', !this.isDestroyed);\n    assert('You cannot advance readiness since the application is being destroyed', !this.isDestroying);\n    assert('You cannot advance readiness since the `ready()` hook has already been called', this._readinessDeferrals > 0);\n    this._readinessDeferrals--;\n    if (this._readinessDeferrals === 0) {\n      once(this, this.didBecomeReady);\n    }\n  }\n  /**\n    Initialize the application and return a promise that resolves with the `Application`\n    object when the boot process is complete.\n       Run any application initializers and run the application load hook. These hooks may\n    choose to defer readiness. For example, an authentication hook might want to defer\n    readiness until the auth token has been retrieved.\n       By default, this method is called automatically on \"DOM ready\"; however, if autoboot\n    is disabled, this is automatically called when the first application instance is\n    created via `visit`.\n       @public\n    @method boot\n    @return {Promise<Application,Error>}\n  */\n  boot() {\n    assert('You cannot boot this application since it has already been destroyed', !this.isDestroyed);\n    assert('You cannot boot this application since it is being destroyed', !this.isDestroying);\n    if (this._bootPromise) {\n      return this._bootPromise;\n    }\n    try {\n      this._bootSync();\n    } catch (_) {\n      // Ignore the error: in the asynchronous boot path, the error is already reflected\n      // in the promise rejection\n    }\n    assert('has boot promise', this._bootPromise);\n    return this._bootPromise;\n  }\n  /**\n    Unfortunately, a lot of existing code assumes the booting process is\n    \"synchronous\". Specifically, a lot of tests assumes the last call to\n    `app.advanceReadiness()` or `app.reset()` will result in the app being\n    fully-booted when the current runloop completes.\n       We would like new code (like the `visit` API) to stop making this assumption,\n    so we created the asynchronous version above that returns a promise. But until\n    we have migrated all the code, we would have to expose this method for use\n    *internally* in places where we need to boot an app \"synchronously\".\n       @private\n  */\n  _bootSync() {\n    if (this._booted || this.isDestroying || this.isDestroyed) {\n      return;\n    }\n    // Even though this returns synchronously, we still need to make sure the\n    // boot promise exists for book-keeping purposes: if anything went wrong in\n    // the boot process, we need to store the error as a rejection on the boot\n    // promise so that a future caller of `boot()` can tell what failed.\n    let defer = this._bootResolver = RSVP.defer();\n    this._bootPromise = defer.promise;\n    try {\n      this.runInitializers();\n      runLoadHooks('application', this);\n      this.advanceReadiness();\n      // Continues to `didBecomeReady`\n    } catch (error) {\n      // For the asynchronous boot path\n      defer.reject(error);\n      // For the synchronous boot path\n      throw error;\n    }\n  }\n  /**\n    Reset the application. This is typically used only in tests. It cleans up\n    the application in the following order:\n       1. Deactivate existing routes\n    2. Destroy all objects in the container\n    3. Create a new application container\n    4. Re-route to the existing url\n       Typical Example:\n       ```javascript\n    import Application from '@ember/application';\n    let App;\n       run(function() {\n      App = Application.create();\n    });\n       module('acceptance test', {\n      setup: function() {\n        App.reset();\n      }\n    });\n       test('first test', function() {\n      // App is freshly reset\n    });\n       test('second test', function() {\n      // App is again freshly reset\n    });\n    ```\n       Advanced Example:\n       Occasionally you may want to prevent the app from initializing during\n    setup. This could enable extra configuration, or enable asserting prior\n    to the app becoming ready.\n       ```javascript\n    import Application from '@ember/application';\n    let App;\n       run(function() {\n      App = Application.create();\n    });\n       module('acceptance test', {\n      setup: function() {\n        run(function() {\n          App.reset();\n          App.deferReadiness();\n        });\n      }\n    });\n       test('first test', function() {\n      ok(true, 'something before app is initialized');\n         run(function() {\n        App.advanceReadiness();\n      });\n         ok(true, 'something after app is initialized');\n    });\n    ```\n       @method reset\n    @public\n  */\n  reset() {\n    assert('You cannot reset this application since it has already been destroyed', !this.isDestroyed);\n    assert('You cannot reset this application since it is being destroyed', !this.isDestroying);\n    assert(`Calling reset() on instances of \\`Application\\` is not\n            supported when globals mode is disabled; call \\`visit()\\` to\n            create new \\`ApplicationInstance\\`s and dispose them\n            via their \\`destroy()\\` method instead.`, this._globalsMode && this.autoboot);\n    let instance = this.__deprecatedInstance__;\n    this._readinessDeferrals = 1;\n    this._bootPromise = null;\n    this._bootResolver = null;\n    this._booted = false;\n    function handleReset() {\n      assert('expected instance', instance);\n      run(instance, 'destroy');\n      this._buildDeprecatedInstance();\n      schedule('actions', this, '_bootSync');\n    }\n    join(this, handleReset);\n  }\n  /**\n    @private\n    @method didBecomeReady\n  */\n  didBecomeReady() {\n    if (this.isDestroying || this.isDestroyed) {\n      return;\n    }\n    assert('expected _bootResolver', this._bootResolver);\n    try {\n      // TODO: Is this still needed for _globalsMode = false?\n      // See documentation on `_autoboot()` for details\n      if (this.autoboot) {\n        let instance;\n        if (this._globalsMode) {\n          // If we already have the __deprecatedInstance__ lying around, boot it to\n          // avoid unnecessary work\n          instance = this.__deprecatedInstance__;\n          assert('expected instance', instance);\n        } else {\n          // Otherwise, build an instance and boot it. This is currently unreachable,\n          // because we forced _globalsMode to === autoboot; but having this branch\n          // allows us to locally toggle that flag for weeding out legacy globals mode\n          // dependencies independently\n          instance = this.buildInstance();\n        }\n        instance._bootSync();\n        // TODO: App.ready() is not called when autoboot is disabled, is this correct?\n        this.ready();\n        instance.startRouting();\n      }\n      // For the asynchronous boot path\n      this._bootResolver.resolve(this);\n      // For the synchronous boot path\n      this._booted = true;\n    } catch (error) {\n      // For the asynchronous boot path\n      this._bootResolver.reject(error);\n      // For the synchronous boot path\n      throw error;\n    }\n  }\n  /**\n    Called when the Application has become ready, immediately before routing\n    begins. The call will be delayed until the DOM has become ready.\n       @event ready\n    @public\n  */\n  ready() {\n    return this;\n  }\n  // This method must be moved to the application instance object\n  willDestroy() {\n    super.willDestroy();\n    if (_loaded['application'] === this) {\n      _loaded['application'] = undefined;\n    }\n    if (this._applicationInstances.size) {\n      this._applicationInstances.forEach(i => i.destroy());\n      this._applicationInstances.clear();\n    }\n  }\n  /**\n    Boot a new instance of `ApplicationInstance` for the current\n    application and navigate it to the given `url`. Returns a `Promise` that\n    resolves with the instance when the initial routing and rendering is\n    complete, or rejects with any error that occurred during the boot process.\n       When `autoboot` is disabled, calling `visit` would first cause the\n    application to boot, which runs the application initializers.\n       This method also takes a hash of boot-time configuration options for\n    customizing the instance's behavior. See the documentation on\n    `ApplicationInstance.BootOptions` for details.\n       `ApplicationInstance.BootOptions` is an interface class that exists\n    purely to document the available options; you do not need to construct it\n    manually. Simply pass a regular JavaScript object containing of the\n    desired options:\n       ```javascript\n    MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n    ```\n       ### Supported Scenarios\n       While the `BootOptions` class exposes a large number of knobs, not all\n    combinations of them are valid; certain incompatible combinations might\n    result in unexpected behavior.\n       For example, booting the instance in the full browser environment\n    while specifying a foreign `document` object (e.g. `{ isBrowser: true,\n    document: iframe.contentDocument }`) does not work correctly today,\n    largely due to Ember's jQuery dependency.\n       Currently, there are three officially supported scenarios/configurations.\n    Usages outside of these scenarios are not guaranteed to work, but please\n    feel free to file bug reports documenting your experience and any issues\n    you encountered to help expand support.\n       #### Browser Applications (Manual Boot)\n       The setup is largely similar to how Ember works out-of-the-box. Normally,\n    Ember will boot a default instance for your Application on \"DOM ready\".\n    However, you can customize this behavior by disabling `autoboot`.\n       For example, this allows you to render a miniture demo of your application\n    into a specific area on your marketing website:\n       ```javascript\n    import MyApp from 'my-app';\n       $(function() {\n      let App = MyApp.create({ autoboot: false });\n         let options = {\n        // Override the router's location adapter to prevent it from updating\n        // the URL in the address bar\n        location: 'none',\n           // Override the default `rootElement` on the app to render into a\n        // specific `div` on the page\n        rootElement: '#demo'\n      };\n         // Start the app at the special demo URL\n      App.visit('/demo', options);\n    });\n    ```\n       Or perhaps you might want to boot two instances of your app on the same\n    page for a split-screen multiplayer experience:\n       ```javascript\n    import MyApp from 'my-app';\n       $(function() {\n      let App = MyApp.create({ autoboot: false });\n         let sessionId = MyApp.generateSessionID();\n         let player1 = App.visit(`/matches/join?name=Player+1&session=${sessionId}`, { rootElement: '#left', location: 'none' });\n      let player2 = App.visit(`/matches/join?name=Player+2&session=${sessionId}`, { rootElement: '#right', location: 'none' });\n         Promise.all([player1, player2]).then(() => {\n        // Both apps have completed the initial render\n        $('#loading').fadeOut();\n      });\n    });\n    ```\n       Do note that each app instance maintains their own registry/container, so\n    they will run in complete isolation by default.\n       #### Server-Side Rendering (also known as FastBoot)\n       This setup allows you to run your Ember app in a server environment using\n    Node.js and render its content into static HTML for SEO purposes.\n       ```javascript\n    const HTMLSerializer = new SimpleDOM.HTMLSerializer(SimpleDOM.voidMap);\n       function renderURL(url) {\n      let dom = new SimpleDOM.Document();\n      let rootElement = dom.body;\n      let options = { isBrowser: false, document: dom, rootElement: rootElement };\n         return MyApp.visit(options).then(instance => {\n        try {\n          return HTMLSerializer.serialize(rootElement.firstChild);\n        } finally {\n          instance.destroy();\n        }\n      });\n    }\n    ```\n       In this scenario, because Ember does not have access to a global `document`\n    object in the Node.js environment, you must provide one explicitly. In practice,\n    in the non-browser environment, the stand-in `document` object only needs to\n    implement a limited subset of the full DOM API. The `SimpleDOM` library is known\n    to work.\n       Since there is no DOM access in the non-browser environment, you must also\n    specify a DOM `Element` object in the same `document` for the `rootElement` option\n    (as opposed to a selector string like `\"body\"`).\n       See the documentation on the `isBrowser`, `document` and `rootElement` properties\n    on `ApplicationInstance.BootOptions` for details.\n       #### Server-Side Resource Discovery\n       This setup allows you to run the routing layer of your Ember app in a server\n    environment using Node.js and completely disable rendering. This allows you\n    to simulate and discover the resources (i.e. AJAX requests) needed to fulfill\n    a given request and eagerly \"push\" these resources to the client.\n       ```app/initializers/network-service.js\n    import BrowserNetworkService from 'app/services/network/browser';\n    import NodeNetworkService from 'app/services/network/node';\n       // Inject a (hypothetical) service for abstracting all AJAX calls and use\n    // the appropriate implementation on the client/server. This also allows the\n    // server to log all the AJAX calls made during a particular request and use\n    // that for resource-discovery purpose.\n       export function initialize(application) {\n      if (window) { // browser\n        application.register('service:network', BrowserNetworkService);\n      } else { // node\n        application.register('service:network', NodeNetworkService);\n      }\n    };\n       export default {\n      name: 'network-service',\n      initialize: initialize\n    };\n    ```\n       ```app/routes/post.js\n    import Route from '@ember/routing/route';\n    import { service } from '@ember/service';\n       // An example of how the (hypothetical) service is used in routes.\n       export default class IndexRoute extends Route {\n      @service network;\n         model(params) {\n        return this.network.fetch(`/api/posts/${params.post_id}.json`);\n      }\n         afterModel(post) {\n        if (post.isExternalContent) {\n          return this.network.fetch(`/api/external/?url=${post.externalURL}`);\n        } else {\n          return post;\n        }\n      }\n    }\n    ```\n       ```javascript\n    // Finally, put all the pieces together\n       function discoverResourcesFor(url) {\n      return MyApp.visit(url, { isBrowser: false, shouldRender: false }).then(instance => {\n        let networkService = instance.lookup('service:network');\n        return networkService.requests; // => { \"/api/posts/123.json\": \"...\" }\n      });\n    }\n    ```\n       @public\n    @method visit\n    @param url {String} The initial URL to navigate to\n    @param options {ApplicationInstance.BootOptions}\n    @return {Promise<ApplicationInstance, Error>}\n  */\n  visit(url, options) {\n    assert('You cannot visit this application since it has already been destroyed', !this.isDestroyed);\n    assert('You cannot visit this application since it is being destroyed', !this.isDestroying);\n    return this.boot().then(() => {\n      let instance = this.buildInstance();\n      return instance.boot(options).then(() => instance.visit(url)).catch(error => {\n        run(instance, 'destroy');\n        throw error;\n      });\n    });\n  }\n}\nApplication.initializer = buildInitializerMethod('initializers', 'initializer');\nApplication.instanceInitializer = buildInitializerMethod('instanceInitializers', 'instance initializer');\nfunction commonSetupRegistry(registry) {\n  registry.register('router:main', Router);\n  registry.register('-view-registry:main', {\n    create() {\n      return dictionary(null);\n    }\n  });\n  registry.register('route:basic', Route);\n  registry.register('event_dispatcher:main', EventDispatcher);\n  registry.register('location:auto', AutoLocation);\n  registry.register('location:hash', HashLocation);\n  registry.register('location:history', HistoryLocation);\n  registry.register('location:none', NoneLocation);\n  registry.register(P`-bucket-cache:main`, {\n    create() {\n      return new BucketCache();\n    }\n  });\n  registry.register('service:router', RouterService);\n}\nexport { Application as default, _loaded, onLoad, runLoadHooks };","/**\n@module @ember/application\n*/\nimport { get, set } from '@ember/object';\nimport * as environment from '@ember/-internals/browser-environment';\nimport EngineInstance from '@ember/engine/instance';\nimport { renderSettled } from '@ember/-internals/glimmer';\nimport { assert } from '@ember/debug';\nimport Router from '@ember/routing/router';\nimport { EventDispatcher } from '@ember/-internals/views';\n/**\n  The `ApplicationInstance` encapsulates all of the stateful aspects of a\n  running `Application`.\n\n  At a high-level, we break application boot into two distinct phases:\n\n  * Definition time, where all of the classes, templates, and other\n    dependencies are loaded (typically in the browser).\n  * Run time, where we begin executing the application once everything\n    has loaded.\n\n  Definition time can be expensive and only needs to happen once since it is\n  an idempotent operation. For example, between test runs and FastBoot\n  requests, the application stays the same. It is only the state that we want\n  to reset.\n\n  That state is what the `ApplicationInstance` manages: it is responsible for\n  creating the container that contains all application state, and disposing of\n  it once the particular test run or FastBoot request has finished.\n\n  @public\n  @class ApplicationInstance\n  @extends EngineInstance\n*/\nclass ApplicationInstance extends EngineInstance {\n  constructor() {\n    super(...arguments);\n    /**\n      The root DOM element of the Application as an element or a\n      CSS selector.\n             @private\n      @property {String|DOMElement} rootElement\n    */\n    this.rootElement = null;\n  }\n  init(properties) {\n    super.init(properties);\n    this.application._watchInstance(this);\n    // Register this instance in the per-instance registry.\n    //\n    // Why do we need to register the instance in the first place?\n    // Because we need a good way for the root route (a.k.a ApplicationRoute)\n    // to notify us when it has created the root-most view. That view is then\n    // appended to the rootElement, in the case of apps, to the fixture harness\n    // in tests, or rendered to a string in the case of FastBoot.\n    this.register('-application-instance:main', this, {\n      instantiate: false\n    });\n  }\n  /**\n    Overrides the base `EngineInstance._bootSync` method with concerns relevant\n    to booting application (instead of engine) instances.\n       This method should only contain synchronous boot concerns. Asynchronous\n    boot concerns should eventually be moved to the `boot` method, which\n    returns a promise.\n       Until all boot code has been made asynchronous, we need to continue to\n    expose this method for use *internally* in places where we need to boot an\n    instance synchronously.\n       @private\n  */\n  _bootSync(options) {\n    if (this._booted) {\n      return this;\n    }\n    options = new _BootOptions(options);\n    this.setupRegistry(options);\n    if (options.rootElement) {\n      this.rootElement = options.rootElement;\n    } else {\n      this.rootElement = this.application.rootElement;\n    }\n    if (options.location) {\n      set(this.router, 'location', options.location);\n    }\n    this.application.runInstanceInitializers(this);\n    if (options.isInteractive) {\n      this.setupEventDispatcher();\n    }\n    this._booted = true;\n    return this;\n  }\n  setupRegistry(options) {\n    this.constructor.setupRegistry(this.__registry__, options);\n  }\n  get router() {\n    if (!this._router) {\n      let router = this.lookup('router:main');\n      assert('expected an instance of Router', router instanceof Router);\n      this._router = router;\n    }\n    return this._router;\n  }\n  /**\n    This hook is called by the root-most Route (a.k.a. the ApplicationRoute)\n    when it has finished creating the root View. By default, we simply take the\n    view and append it to the `rootElement` specified on the Application.\n       In cases like FastBoot and testing, we can override this hook and implement\n    custom behavior, such as serializing to a string and sending over an HTTP\n    socket rather than appending to DOM.\n       @param view {Ember.View} the root-most view\n    @deprecated\n    @private\n  */\n  didCreateRootView(view) {\n    view.appendTo(this.rootElement);\n  }\n  /**\n    Tells the router to start routing. The router will ask the location for the\n    current URL of the page to determine the initial URL to start routing to.\n    To start the app at a specific URL, call `handleURL` instead.\n       @private\n  */\n  startRouting() {\n    this.router.startRouting();\n  }\n  /**\n    Sets up the router, initializing the child router and configuring the\n    location before routing begins.\n       Because setup should only occur once, multiple calls to `setupRouter`\n    beyond the first call have no effect.\n       This is commonly used in order to confirm things that rely on the router\n    are functioning properly from tests that are primarily rendering related.\n       For example, from within [ember-qunit](https://github.com/emberjs/ember-qunit)'s\n    `setupRenderingTest` calling `this.owner.setupRouter()` would allow that\n    rendering test to confirm that any `<LinkTo></LinkTo>`'s that are rendered\n    have the correct URL.\n       @public\n  */\n  setupRouter() {\n    this.router.setupRouter();\n  }\n  /**\n    Directs the router to route to a particular URL. This is useful in tests,\n    for example, to tell the app to start at a particular URL.\n       @param url {String} the URL the router should route to\n    @private\n  */\n  handleURL(url) {\n    this.setupRouter();\n    return this.router.handleURL(url);\n  }\n  /**\n    @private\n  */\n  setupEventDispatcher() {\n    let dispatcher = this.lookup('event_dispatcher:main');\n    assert('expected EventDispatcher', dispatcher instanceof EventDispatcher);\n    let applicationCustomEvents = get(this.application, 'customEvents');\n    let instanceCustomEvents = get(this, 'customEvents');\n    let customEvents = Object.assign({}, applicationCustomEvents, instanceCustomEvents);\n    assert('[BUG] Tried to set up dispatcher with an invalid root element', this.rootElement === null || typeof this.rootElement === 'string' || this.rootElement instanceof Element);\n    dispatcher.setup(customEvents, this.rootElement);\n    return dispatcher;\n  }\n  /**\n    Returns the current URL of the app instance. This is useful when your\n    app does not update the browsers URL bar (i.e. it uses the `'none'`\n    location adapter).\n       @public\n    @return {String} the current URL\n  */\n  getURL() {\n    return this.router.url;\n  }\n  // `instance.visit(url)` should eventually replace `instance.handleURL()`;\n  // the test helpers can probably be switched to use this implementation too\n  /**\n    Navigate the instance to a particular URL. This is useful in tests, for\n    example, or to tell the app to start at a particular URL. This method\n    returns a promise that resolves with the app instance when the transition\n    is complete, or rejects if the transition was aborted due to an error.\n       @public\n    @param url {String} the destination URL\n    @return {Promise<ApplicationInstance>}\n  */\n  visit(url) {\n    this.setupRouter();\n    let bootOptions = this.__container__.lookup('-environment:main');\n    let router = this.router;\n    let handleTransitionResolve = () => {\n      if (!bootOptions.options.shouldRender) {\n        // No rendering is needed, and routing has completed, simply return.\n        return this;\n      } else {\n        // Ensure that the visit promise resolves when all rendering has completed\n        return renderSettled().then(() => this);\n      }\n    };\n    let handleTransitionReject = error => {\n      if (error.error) {\n        throw error.error;\n      } else if (error.name === 'TransitionAborted' && router._routerMicrolib.activeTransition) {\n        return router._routerMicrolib.activeTransition.then(handleTransitionResolve, handleTransitionReject);\n      } else if (error.name === 'TransitionAborted') {\n        throw new Error(error.message);\n      } else {\n        throw error;\n      }\n    };\n    let location = get(router, 'location');\n    assert('location has been initialized', typeof location !== 'string');\n    // Keeps the location adapter's internal URL in-sync\n    location.setURL(url);\n    // getURL returns the set url with the rootURL stripped off\n    return router.handleURL(location.getURL()).then(handleTransitionResolve, handleTransitionReject);\n  }\n  willDestroy() {\n    super.willDestroy();\n    this.application._unwatchInstance(this);\n  }\n  /**\n   @private\n   @method setupRegistry\n   @param {Registry} registry\n   @param {BootOptions} options\n  */\n  static setupRegistry(registry, options = {}) {\n    let coptions = options instanceof _BootOptions ? options : new _BootOptions(options);\n    registry.register('-environment:main', coptions.toEnvironment(), {\n      instantiate: false\n    });\n    registry.register('service:-document', coptions.document, {\n      instantiate: false\n    });\n    super.setupRegistry(registry, coptions);\n  }\n}\n/**\n  A list of boot-time configuration options for customizing the behavior of\n  an `ApplicationInstance`.\n\n  This is an interface class that exists purely to document the available\n  options; you do not need to construct it manually. Simply pass a regular\n  JavaScript object containing the desired options into methods that require\n  one of these options object:\n\n  ```javascript\n  MyApp.visit(\"/\", { location: \"none\", rootElement: \"#container\" });\n  ```\n\n  Not all combinations of the supported options are valid. See the documentation\n  on `Application#visit` for the supported configurations.\n\n  Internal, experimental or otherwise unstable flags are marked as private.\n\n  @class BootOptions\n  @namespace ApplicationInstance\n  @public\n*/\nclass _BootOptions {\n  constructor(options = {}) {\n    /**\n      If present, overrides the router's `location` property with this\n      value. This is useful for environments where trying to modify the\n      URL would be inappropriate.\n             @property location\n      @type string\n      @default null\n      @public\n    */\n    this.location = null;\n    this.isInteractive = Boolean(environment.hasDOM); // This default is overridable below\n    this._renderMode = options._renderMode;\n    if (options.isBrowser !== undefined) {\n      this.isBrowser = Boolean(options.isBrowser);\n    } else {\n      this.isBrowser = Boolean(environment.hasDOM);\n    }\n    if (!this.isBrowser) {\n      this.isInteractive = false;\n      this.location = 'none';\n    }\n    if (options.shouldRender !== undefined) {\n      this.shouldRender = Boolean(options.shouldRender);\n    } else {\n      this.shouldRender = true;\n    }\n    if (!this.shouldRender) {\n      this.isInteractive = false;\n    }\n    if (options.document) {\n      this.document = options.document;\n    } else {\n      this.document = typeof document !== 'undefined' ? document : null;\n    }\n    if (options.rootElement) {\n      this.rootElement = options.rootElement;\n    }\n    // Set these options last to give the user a chance to override the\n    // defaults from the \"combo\" options like `isBrowser` (although in\n    // practice, the resulting combination is probably invalid)\n    if (options.location !== undefined) {\n      this.location = options.location;\n    }\n    if (options.isInteractive !== undefined) {\n      this.isInteractive = Boolean(options.isInteractive);\n    }\n  }\n  toEnvironment() {\n    // Do we really want to assign all of this!?\n    return Object.assign(Object.assign({}, environment), {\n      // For compatibility with existing code\n      hasDOM: this.isBrowser,\n      isInteractive: this.isInteractive,\n      _renderMode: this._renderMode,\n      options: this\n    });\n  }\n}\nexport default ApplicationInstance;","/*globals CustomEvent */\nimport { ENV } from '@ember/-internals/environment';\nimport { window } from '@ember/-internals/browser-environment';\n/**\n  @module @ember/application\n*/\nconst loadHooks = ENV.EMBER_LOAD_HOOKS || {};\nconst loaded = {};\nexport let _loaded = loaded;\n/**\n  Detects when a specific package of Ember (e.g. 'Application')\n  has fully loaded and is available for extension.\n\n  The provided `callback` will be called with the `name` passed\n  resolved from a string into the object:\n\n  ``` javascript\n  import { onLoad } from '@ember/application';\n\n  onLoad('Ember.Application' function(hbars) {\n    hbars.registerHelper(...);\n  });\n  ```\n\n  @method onLoad\n  @static\n  @for @ember/application\n  @param name {String} name of hook\n  @param callback {Function} callback to be called\n  @private\n*/\nexport function onLoad(name, callback) {\n  var _a;\n  let object = loaded[name];\n  let hooks = (_a = loadHooks[name]) !== null && _a !== void 0 ? _a : loadHooks[name] = [];\n  hooks.push(callback);\n  if (object) {\n    callback(object);\n  }\n}\n/**\n  Called when an Ember.js package (e.g Application) has finished\n  loading. Triggers any callbacks registered for this event.\n\n  @method runLoadHooks\n  @static\n  @for @ember/application\n  @param name {String} name of hook\n  @param object {Object} object to pass to callbacks\n  @private\n*/\nexport function runLoadHooks(name, object) {\n  var _a;\n  loaded[name] = object;\n  if (window && typeof CustomEvent === 'function') {\n    let event = new CustomEvent(name, {\n      detail: object\n    });\n    window.dispatchEvent(event);\n  }\n  (_a = loadHooks[name]) === null || _a === void 0 ? void 0 : _a.forEach(callback => callback(object));\n}","/**\n@module @ember/application/namespace\n*/\nimport { NAMESPACES, NAMESPACES_BY_ID, addNamespace, findNamespace, findNamespaces, processNamespace, processAllNamespaces, removeNamespace } from '@ember/-internals/metal'; // Preloaded into namespaces\nimport { get } from '@ember/object';\nimport { getName, guidFor, setName } from '@ember/-internals/utils';\nimport { assert } from '@ember/debug';\nimport EmberObject from '@ember/object';\n/**\n  A Namespace is an object usually used to contain other objects or methods\n  such as an application or framework. Create a namespace anytime you want\n  to define one of these new containers.\n\n  # Example Usage\n\n  ```javascript\n  MyFramework = Ember.Namespace.create({\n    VERSION: '1.0.0'\n  });\n  ```\n\n  @class Namespace\n  @extends EmberObject\n  @public\n*/\nclass Namespace extends EmberObject {\n  init(properties) {\n    super.init(properties);\n    addNamespace(this);\n  }\n  toString() {\n    let existing_name = get(this, 'name') || get(this, 'modulePrefix');\n    if (existing_name) {\n      assert(\"name wasn't a string\", typeof existing_name === 'string');\n      return existing_name;\n    }\n    findNamespaces();\n    let name = getName(this);\n    if (name === undefined) {\n      name = guidFor(this);\n      setName(this, name);\n    }\n    return name;\n  }\n  nameClasses() {\n    processNamespace(this);\n  }\n  destroy() {\n    removeNamespace(this);\n    return super.destroy();\n  }\n}\nNamespace.NAMESPACES = NAMESPACES;\nNamespace.NAMESPACES_BY_ID = NAMESPACES_BY_ID;\nNamespace.processAll = processAllNamespaces;\nNamespace.byName = findNamespace;\n// Declare on the prototype to have a single shared value.\nNamespace.prototype.isNamespace = true;\nexport default Namespace;","import { _WeakSet } from '@glimmer/util';\nconst EMBER_ARRAYS = new _WeakSet();\nexport function setEmberArray(obj) {\n  EMBER_ARRAYS.add(obj);\n}\nexport function isEmberArray(obj) {\n  return EMBER_ARRAYS.has(obj);\n}","/**\n@module @ember/array\n*/\nimport { DEBUG } from '@glimmer/env';\nimport { PROXY_CONTENT } from '@ember/-internals/metal';\nimport { objectAt, replaceInNativeArray, replace, computed, beginPropertyChanges, endPropertyChanges } from '@ember/-internals/metal';\nimport { get, set } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport { assert } from '@ember/debug';\nimport Enumerable from '@ember/enumerable';\nimport MutableEnumerable from '@ember/enumerable/mutable';\nimport { compare, typeOf } from '@ember/utils';\nimport { ENV } from '@ember/-internals/environment';\nimport Observable from '@ember/object/observable';\nimport { isEmberArray, setEmberArray } from '@ember/array/-internals';\nexport { default as makeArray } from './lib/make-array';\nconst EMPTY_ARRAY = Object.freeze([]);\nconst identityFunction = item => item;\nexport function uniqBy(array, keyOrFunc = identityFunction) {\n  assert(`first argument passed to \\`uniqBy\\` should be array`, isArray(array));\n  let ret = A();\n  let seen = new Set();\n  let getter = typeof keyOrFunc === 'function' ? keyOrFunc : item => get(item, keyOrFunc);\n  array.forEach(item => {\n    let val = getter(item);\n    if (!seen.has(val)) {\n      seen.add(val);\n      ret.push(item);\n    }\n  });\n  return ret;\n}\nfunction iter(...args) {\n  let valueProvided = args.length === 2;\n  let [key, value] = args;\n  return valueProvided ? item => value === get(item, key) : item => Boolean(get(item, key));\n}\nfunction findIndex(array, predicate, startAt) {\n  let len = array.length;\n  for (let index = startAt; index < len; index++) {\n    // SAFETY: Because we're checking the index this value should always be set.\n    let item = objectAt(array, index);\n    if (predicate(item, index, array)) {\n      return index;\n    }\n  }\n  return -1;\n}\nfunction find(array, callback, target = null) {\n  let predicate = callback.bind(target);\n  let index = findIndex(array, predicate, 0);\n  return index === -1 ? undefined : objectAt(array, index);\n}\nfunction any(array, callback, target = null) {\n  let predicate = callback.bind(target);\n  return findIndex(array, predicate, 0) !== -1;\n}\nfunction every(array, callback, target = null) {\n  let cb = callback.bind(target);\n  let predicate = (item, index, array) => !cb(item, index, array);\n  return findIndex(array, predicate, 0) === -1;\n}\nfunction indexOf(array, val, startAt = 0, withNaNCheck) {\n  let len = array.length;\n  if (startAt < 0) {\n    startAt += len;\n  }\n  // SameValueZero comparison (NaN !== NaN)\n  let predicate = withNaNCheck && val !== val ? item => item !== item : item => item === val;\n  return findIndex(array, predicate, startAt);\n}\nexport function removeAt(array, index, len) {\n  assert(`\\`removeAt\\` index provided is out of range`, index > -1 && index < array.length);\n  replace(array, index, len !== null && len !== void 0 ? len : 1, EMPTY_ARRAY);\n  return array;\n}\nfunction insertAt(array, index, item) {\n  assert(`\\`insertAt\\` index provided is out of range`, index > -1 && index <= array.length);\n  replace(array, index, 0, [item]);\n  return item;\n}\n/**\n  Returns true if the passed object is an array or Array-like.\n\n  Objects are considered Array-like if any of the following are true:\n\n    - the object is a native Array\n    - the object has an objectAt property\n    - the object is an Object, and has a length property\n\n  Unlike `typeOf` this method returns true even if the passed object is\n  not formally an array but appears to be array-like (i.e. implements `Array`)\n\n  ```javascript\n  import { isArray } from '@ember/array';\n  import ArrayProxy from '@ember/array/proxy';\n\n  isArray();                                      // false\n  isArray([]);                                    // true\n  isArray(ArrayProxy.create({ content: [] }));    // true\n  ```\n\n  @method isArray\n  @static\n  @for @ember/array\n  @param {Object} obj The object to test\n  @return {Boolean} true if the passed object is an array or Array-like\n  @public\n*/\nexport function isArray(obj) {\n  if (DEBUG && typeof obj === 'object' && obj !== null) {\n    // SAFETY: Property read checks are safe if it's an object\n    let possibleProxyContent = obj[PROXY_CONTENT];\n    if (possibleProxyContent !== undefined) {\n      obj = possibleProxyContent;\n    }\n  }\n  // SAFETY: Property read checks are safe if it's an object\n  if (!obj || obj.setInterval) {\n    return false;\n  }\n  if (Array.isArray(obj) || EmberArray.detect(obj)) {\n    return true;\n  }\n  let type = typeOf(obj);\n  if ('array' === type) {\n    return true;\n  }\n  // SAFETY: Property read checks are safe if it's an object\n  let length = obj.length;\n  if (typeof length === 'number' && length === length && 'object' === type) {\n    return true;\n  }\n  return false;\n}\n/*\n  This allows us to define computed properties that are not enumerable.\n  The primary reason this is important is that when `NativeArray` is\n  applied to `Array.prototype` we need to ensure that we do not add _any_\n  new enumerable properties.\n*/\nfunction nonEnumerableComputed(callback) {\n  let property = computed(callback);\n  property.enumerable = false;\n  return property;\n}\nfunction mapBy(key) {\n  return this.map(next => get(next, key));\n}\nconst EmberArray = Mixin.create(Enumerable, {\n  init() {\n    this._super(...arguments);\n    setEmberArray(this);\n  },\n  objectsAt(indexes) {\n    return indexes.map(idx => objectAt(this, idx));\n  },\n  '[]': nonEnumerableComputed({\n    get() {\n      return this;\n    },\n    set(_key, value) {\n      this.replace(0, this.length, value);\n      return this;\n    }\n  }),\n  firstObject: nonEnumerableComputed(function () {\n    return objectAt(this, 0);\n  }).readOnly(),\n  lastObject: nonEnumerableComputed(function () {\n    return objectAt(this, this.length - 1);\n  }).readOnly(),\n  // Add any extra methods to EmberArray that are native to the built-in Array.\n  slice(beginIndex = 0, endIndex) {\n    let ret = A();\n    let length = this.length;\n    if (beginIndex < 0) {\n      beginIndex = length + beginIndex;\n    }\n    let validatedEndIndex;\n    if (endIndex === undefined || endIndex > length) {\n      validatedEndIndex = length;\n    } else if (endIndex < 0) {\n      validatedEndIndex = length + endIndex;\n    } else {\n      validatedEndIndex = endIndex;\n    }\n    while (beginIndex < validatedEndIndex) {\n      ret[ret.length] = objectAt(this, beginIndex++);\n    }\n    return ret;\n  },\n  indexOf(object, startAt) {\n    return indexOf(this, object, startAt, false);\n  },\n  lastIndexOf(object, startAt) {\n    let len = this.length;\n    if (startAt === undefined || startAt >= len) {\n      startAt = len - 1;\n    }\n    if (startAt < 0) {\n      startAt += len;\n    }\n    for (let idx = startAt; idx >= 0; idx--) {\n      if (objectAt(this, idx) === object) {\n        return idx;\n      }\n    }\n    return -1;\n  },\n  forEach(callback, target = null) {\n    assert('`forEach` expects a function as first argument.', typeof callback === 'function');\n    let length = this.length;\n    for (let index = 0; index < length; index++) {\n      let item = this.objectAt(index);\n      callback.call(target, item, index, this);\n    }\n    return this;\n  },\n  getEach: mapBy,\n  setEach(key, value) {\n    return this.forEach(item => set(item, key, value));\n  },\n  map(callback, target = null) {\n    assert('`map` expects a function as first argument.', typeof callback === 'function');\n    let ret = A();\n    this.forEach((x, idx, i) => ret[idx] = callback.call(target, x, idx, i));\n    return ret;\n  },\n  mapBy,\n  filter(callback, target = null) {\n    assert('`filter` expects a function as first argument.', typeof callback === 'function');\n    let ret = A();\n    this.forEach((x, idx, i) => {\n      if (callback.call(target, x, idx, i)) {\n        ret.push(x);\n      }\n    });\n    return ret;\n  },\n  reject(callback, target = null) {\n    assert('`reject` expects a function as first argument.', typeof callback === 'function');\n    return this.filter(function () {\n      // @ts-expect-error TS doesn't like us using arguments like this\n      return !callback.apply(target, arguments);\n    });\n  },\n  filterBy() {\n    // @ts-expect-error TS doesn't like the ...arguments spread here.\n    return this.filter(iter(...arguments));\n  },\n  rejectBy() {\n    // @ts-expect-error TS doesn't like the ...arguments spread here.\n    return this.reject(iter(...arguments));\n  },\n  find(callback, target = null) {\n    assert('`find` expects a function as first argument.', typeof callback === 'function');\n    return find(this, callback, target);\n  },\n  findBy() {\n    // @ts-expect-error TS doesn't like the ...arguments spread here.\n    let callback = iter(...arguments);\n    return find(this, callback);\n  },\n  every(callback, target = null) {\n    assert('`every` expects a function as first argument.', typeof callback === 'function');\n    return every(this, callback, target);\n  },\n  isEvery() {\n    // @ts-expect-error TS doesn't like the ...arguments spread here.\n    let callback = iter(...arguments);\n    return every(this, callback);\n  },\n  any(callback, target = null) {\n    assert('`any` expects a function as first argument.', typeof callback === 'function');\n    return any(this, callback, target);\n  },\n  isAny() {\n    // @ts-expect-error TS doesn't like us using arguments like this\n    let callback = iter(...arguments);\n    return any(this, callback);\n  },\n  // FIXME: When called without initialValue, behavior does not match native behavior\n  reduce(callback, initialValue) {\n    assert('`reduce` expects a function as first argument.', typeof callback === 'function');\n    let ret = initialValue;\n    this.forEach(function (item, i) {\n      ret = callback(ret, item, i, this);\n    }, this);\n    return ret;\n  },\n  invoke(methodName, ...args) {\n    let ret = A();\n    // SAFETY: This is not entirely safe and the code will not work with Ember proxies\n    this.forEach(item => {\n      var _a, _b;\n      return ret.push((_b = (_a = item)[methodName]) === null || _b === void 0 ? void 0 : _b.call(_a, ...args));\n    });\n    return ret;\n  },\n  toArray() {\n    return this.map(item => item);\n  },\n  compact() {\n    return this.filter(value => value != null);\n  },\n  includes(object, startAt) {\n    return indexOf(this, object, startAt, true) !== -1;\n  },\n  sortBy() {\n    let sortKeys = arguments;\n    return this.toArray().sort((a, b) => {\n      for (let i = 0; i < sortKeys.length; i++) {\n        let key = sortKeys[i];\n        let propA = get(a, key);\n        let propB = get(b, key);\n        // return 1 or -1 else continue to the next sortKey\n        let compareValue = compare(propA, propB);\n        if (compareValue) {\n          return compareValue;\n        }\n      }\n      return 0;\n    });\n  },\n  uniq() {\n    return uniqBy(this);\n  },\n  uniqBy(key) {\n    return uniqBy(this, key);\n  },\n  without(value) {\n    if (!this.includes(value)) {\n      return this; // nothing to do\n    }\n    // SameValueZero comparison (NaN !== NaN)\n    let predicate = value === value ? item => item !== value : item => item === item;\n    return this.filter(predicate);\n  }\n});\nconst MutableArray = Mixin.create(EmberArray, MutableEnumerable, {\n  clear() {\n    let len = this.length;\n    if (len === 0) {\n      return this;\n    }\n    this.replace(0, len, EMPTY_ARRAY);\n    return this;\n  },\n  insertAt(idx, object) {\n    insertAt(this, idx, object);\n    return this;\n  },\n  removeAt(start, len) {\n    return removeAt(this, start, len);\n  },\n  pushObject(obj) {\n    return insertAt(this, this.length, obj);\n  },\n  pushObjects(objects) {\n    this.replace(this.length, 0, objects);\n    return this;\n  },\n  popObject() {\n    let len = this.length;\n    if (len === 0) {\n      return null;\n    }\n    let ret = objectAt(this, len - 1);\n    this.removeAt(len - 1, 1);\n    return ret;\n  },\n  shiftObject() {\n    if (this.length === 0) {\n      return null;\n    }\n    let ret = objectAt(this, 0);\n    this.removeAt(0);\n    return ret;\n  },\n  unshiftObject(obj) {\n    return insertAt(this, 0, obj);\n  },\n  unshiftObjects(objects) {\n    this.replace(0, 0, objects);\n    return this;\n  },\n  reverseObjects() {\n    let len = this.length;\n    if (len === 0) {\n      return this;\n    }\n    let objects = this.toArray().reverse();\n    this.replace(0, len, objects);\n    return this;\n  },\n  setObjects(objects) {\n    if (objects.length === 0) {\n      return this.clear();\n    }\n    let len = this.length;\n    this.replace(0, len, objects);\n    return this;\n  },\n  removeObject(obj) {\n    let loc = this.length || 0;\n    while (--loc >= 0) {\n      let curObject = objectAt(this, loc);\n      if (curObject === obj) {\n        this.removeAt(loc);\n      }\n    }\n    return this;\n  },\n  removeObjects(objects) {\n    beginPropertyChanges();\n    for (let i = objects.length - 1; i >= 0; i--) {\n      // SAFETY: Due to the loop structure we know this will always exist.\n      this.removeObject(objects[i]);\n    }\n    endPropertyChanges();\n    return this;\n  },\n  addObject(obj) {\n    let included = this.includes(obj);\n    if (!included) {\n      this.pushObject(obj);\n    }\n    return this;\n  },\n  addObjects(objects) {\n    beginPropertyChanges();\n    objects.forEach(obj => this.addObject(obj));\n    endPropertyChanges();\n    return this;\n  }\n});\nlet NativeArray = Mixin.create(MutableArray, Observable, {\n  objectAt(idx) {\n    return this[idx];\n  },\n  // primitive for array support.\n  replace(start, deleteCount, items = EMPTY_ARRAY) {\n    assert('The third argument to replace needs to be an array.', Array.isArray(items));\n    replaceInNativeArray(this, start, deleteCount, items);\n    return this;\n  }\n});\n// Remove any methods implemented natively so we don't override them\nconst ignore = ['length'];\nNativeArray.keys().forEach(methodName => {\n  // SAFETY: It's safe to read unknown properties from an object\n  if (Array.prototype[methodName]) {\n    ignore.push(methodName);\n  }\n});\nNativeArray = NativeArray.without(...ignore);\nlet A;\nif (ENV.EXTEND_PROTOTYPES.Array) {\n  NativeArray.apply(Array.prototype, true);\n  A = function (arr) {\n    assert('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A));\n    // SAFTEY: Since we are extending prototypes all true native arrays are Ember NativeArrays\n    return arr || [];\n  };\n} else {\n  A = function (arr) {\n    assert('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A));\n    if (isEmberArray(arr)) {\n      // SAFETY: If it's a true native array and it is also an EmberArray then it should be an Ember NativeArray\n      return arr;\n    } else {\n      // SAFETY: This will return an NativeArray but TS can't infer that.\n      return NativeArray.apply(arr !== null && arr !== void 0 ? arr : []);\n    }\n  };\n}\nexport { A, NativeArray, MutableArray };\nexport default EmberArray;","const {\n  isArray\n} = Array;\nfunction makeArray(obj) {\n  if (obj === null || obj === undefined) {\n    return [];\n  }\n  return isArray(obj) ? obj : [obj];\n}\nexport default makeArray;","/**\n@module @ember/array/proxy\n*/\nimport { objectAt, alias, PROPERTY_DID_CHANGE, addArrayObserver, removeArrayObserver, replace, arrayContentDidChange, arrayContentWillChange, tagForProperty } from '@ember/-internals/metal';\nimport { get } from '@ember/object';\nimport { isObject } from '@ember/-internals/utils';\nimport EmberObject from '@ember/object';\nimport EmberArray from '@ember/array';\nimport MutableArray from '@ember/array/mutable';\nimport { assert } from '@ember/debug';\nimport { setCustomTagFor } from '@glimmer/manager';\nimport { combine, consumeTag, validateTag, valueForTag, tagFor } from '@glimmer/validator';\nfunction isMutable(obj) {\n  return Array.isArray(obj) || typeof obj.replace === 'function';\n}\nconst ARRAY_OBSERVER_MAPPING = {\n  willChange: '_arrangedContentArrayWillChange',\n  didChange: '_arrangedContentArrayDidChange'\n};\nfunction customTagForArrayProxy(proxy, key) {\n  assert('[BUG] Expected a proxy', proxy instanceof ArrayProxy);\n  if (key === '[]') {\n    proxy._revalidate();\n    return proxy._arrTag;\n  } else if (key === 'length') {\n    proxy._revalidate();\n    return proxy._lengthTag;\n  }\n  return tagFor(proxy, key);\n}\nclass ArrayProxy extends EmberObject {\n  constructor() {\n    super(...arguments);\n    /*\n      `this._objectsDirtyIndex` determines which indexes in the `this._objects`\n      cache are dirty.\n             If `this._objectsDirtyIndex === -1` then no indexes are dirty.\n      Otherwise, an index `i` is dirty if `i >= this._objectsDirtyIndex`.\n             Calling `objectAt` with a dirty index will cause the `this._objects`\n      cache to be recomputed.\n    */\n    /** @internal */\n    this._objectsDirtyIndex = 0;\n    /** @internal */\n    this._objects = null;\n    /** @internal */\n    this._lengthDirty = true;\n    /** @internal */\n    this._length = 0;\n    /** @internal */\n    this._arrangedContent = null;\n    /** @internal */\n    this._arrangedContentIsUpdating = false;\n    /** @internal */\n    this._arrangedContentTag = null;\n    /** @internal */\n    this._arrangedContentRevision = null;\n    /** @internal */\n    this._lengthTag = null;\n    /** @internal */\n    this._arrTag = null;\n  }\n  init(props) {\n    super.init(props);\n    setCustomTagFor(this, customTagForArrayProxy);\n  }\n  [PROPERTY_DID_CHANGE]() {\n    this._revalidate();\n  }\n  willDestroy() {\n    this._removeArrangedContentArrayObserver();\n  }\n  objectAtContent(idx) {\n    let arrangedContent = get(this, 'arrangedContent');\n    assert('[BUG] Called objectAtContent without content', arrangedContent);\n    return objectAt(arrangedContent, idx);\n  }\n  // See additional docs for `replace` from `MutableArray`:\n  // https://api.emberjs.com/ember/release/classes/MutableArray/methods/replace?anchor=replace\n  replace(idx, amt, objects) {\n    assert('Mutating an arranged ArrayProxy is not allowed', get(this, 'arrangedContent') === get(this, 'content'));\n    this.replaceContent(idx, amt, objects);\n  }\n  replaceContent(idx, amt, objects) {\n    let content = get(this, 'content');\n    assert('[BUG] Called replaceContent without content', content);\n    assert('Mutating a non-mutable array is not allowed', isMutable(content));\n    replace(content, idx, amt, objects);\n  }\n  // Overriding objectAt is not supported.\n  objectAt(idx) {\n    this._revalidate();\n    if (this._objects === null) {\n      this._objects = [];\n    }\n    if (this._objectsDirtyIndex !== -1 && idx >= this._objectsDirtyIndex) {\n      let arrangedContent = get(this, 'arrangedContent');\n      if (arrangedContent) {\n        let length = this._objects.length = get(arrangedContent, 'length');\n        for (let i = this._objectsDirtyIndex; i < length; i++) {\n          // SAFETY: This is expected to only ever return an instance of T. In other words, there should\n          // be no gaps in the array. Unfortunately, we can't actually assert for it since T could include\n          // any types, including null or undefined.\n          this._objects[i] = this.objectAtContent(i);\n        }\n      } else {\n        this._objects.length = 0;\n      }\n      this._objectsDirtyIndex = -1;\n    }\n    return this._objects[idx];\n  }\n  // Overriding length is not supported.\n  get length() {\n    this._revalidate();\n    if (this._lengthDirty) {\n      let arrangedContent = get(this, 'arrangedContent');\n      this._length = arrangedContent ? get(arrangedContent, 'length') : 0;\n      this._lengthDirty = false;\n    }\n    assert('[BUG] _lengthTag is not set', this._lengthTag);\n    consumeTag(this._lengthTag);\n    return this._length;\n  }\n  set length(value) {\n    let length = this.length;\n    let removedCount = length - value;\n    let added;\n    if (removedCount === 0) {\n      return;\n    } else if (removedCount < 0) {\n      added = new Array(-removedCount);\n      removedCount = 0;\n    }\n    let content = get(this, 'content');\n    if (content) {\n      assert('Mutating a non-mutable array is not allowed', isMutable(content));\n      replace(content, value, removedCount, added);\n      this._invalidate();\n    }\n  }\n  _updateArrangedContentArray(arrangedContent) {\n    let oldLength = this._objects === null ? 0 : this._objects.length;\n    let newLength = arrangedContent ? get(arrangedContent, 'length') : 0;\n    this._removeArrangedContentArrayObserver();\n    arrayContentWillChange(this, 0, oldLength, newLength);\n    this._invalidate();\n    arrayContentDidChange(this, 0, oldLength, newLength, false);\n    this._addArrangedContentArrayObserver(arrangedContent);\n  }\n  _addArrangedContentArrayObserver(arrangedContent) {\n    if (arrangedContent && !arrangedContent.isDestroyed) {\n      // @ts-expect-error This check is still good for ensuring correctness\n      assert(\"Can't set ArrayProxy's content to itself\", arrangedContent !== this);\n      assert(`ArrayProxy expects a native Array, EmberArray, or ArrayProxy, but you passed ${typeof arrangedContent}`, function (arr) {\n        return Array.isArray(arr) || EmberArray.detect(arr);\n      }(arrangedContent));\n      assert('ArrayProxy expected its contents to not be destroyed', !arrangedContent.isDestroyed);\n      addArrayObserver(arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n      this._arrangedContent = arrangedContent;\n    }\n  }\n  _removeArrangedContentArrayObserver() {\n    if (this._arrangedContent) {\n      removeArrayObserver(this._arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n    }\n  }\n  _arrangedContentArrayWillChange() {}\n  _arrangedContentArrayDidChange(_proxy, idx, removedCnt, addedCnt) {\n    arrayContentWillChange(this, idx, removedCnt, addedCnt);\n    let dirtyIndex = idx;\n    if (dirtyIndex < 0) {\n      let length = get(this._arrangedContent, 'length');\n      dirtyIndex += length + removedCnt - addedCnt;\n    }\n    if (this._objectsDirtyIndex === -1 || this._objectsDirtyIndex > dirtyIndex) {\n      this._objectsDirtyIndex = dirtyIndex;\n    }\n    this._lengthDirty = true;\n    arrayContentDidChange(this, idx, removedCnt, addedCnt, false);\n  }\n  _invalidate() {\n    this._objectsDirtyIndex = 0;\n    this._lengthDirty = true;\n  }\n  _revalidate() {\n    if (this._arrangedContentIsUpdating === true) return;\n    if (this._arrangedContentTag === null || !validateTag(this._arrangedContentTag, this._arrangedContentRevision)) {\n      let arrangedContent = this.get('arrangedContent');\n      if (this._arrangedContentTag === null) {\n        // This is the first time the proxy has been setup, only add the observer\n        // don't trigger any events\n        this._addArrangedContentArrayObserver(arrangedContent);\n      } else {\n        this._arrangedContentIsUpdating = true;\n        this._updateArrangedContentArray(arrangedContent);\n        this._arrangedContentIsUpdating = false;\n      }\n      let arrangedContentTag = this._arrangedContentTag = tagFor(this, 'arrangedContent');\n      this._arrangedContentRevision = valueForTag(this._arrangedContentTag);\n      if (isObject(arrangedContent)) {\n        this._lengthTag = combine([arrangedContentTag, tagForProperty(arrangedContent, 'length')]);\n        this._arrTag = combine([arrangedContentTag, tagForProperty(arrangedContent, '[]')]);\n      } else {\n        this._lengthTag = this._arrTag = arrangedContentTag;\n      }\n    }\n  }\n}\nArrayProxy.reopen(MutableArray, {\n  arrangedContent: alias('content')\n});\nexport default ArrayProxy;","import { ENV } from '@ember/-internals/environment';\n/**\n  Set `EmberENV.FEATURES` in your application's `config/environment.js` file\n  to enable canary features in your application.\n\n  See the [feature flag guide](https://guides.emberjs.com/release/configuring-ember/feature-flags/)\n  for more details.\n\n  @module @ember/canary-features\n  @public\n*/\nexport const DEFAULT_FEATURES = {\n  // FLAG_NAME: true/false\n};\n/**\n  The hash of enabled Canary features. Add to this, any canary features\n  before creating your application.\n\n  @class FEATURES\n  @static\n  @since 1.1.0\n  @public\n*/\nexport const FEATURES = Object.assign(DEFAULT_FEATURES, ENV.FEATURES);\n/**\n  Determine whether the specified `feature` is enabled. Used by Ember's\n  build tools to exclude experimental features from beta/stable builds.\n\n  You can define the following configuration options:\n\n  * `EmberENV.ENABLE_OPTIONAL_FEATURES` - enable any features that have not been explicitly\n    enabled/disabled.\n\n  @method isEnabled\n  @param {String} feature The feature to check\n  @return {Boolean}\n  @since 1.1.0\n  @public\n*/\nexport function isEnabled(feature) {\n  let value = FEATURES[feature];\n  if (value === true || value === false) {\n    return value;\n  } else if (ENV.ENABLE_OPTIONAL_FEATURES) {\n    return true;\n  } else {\n    return false;\n  }\n}\n// Uncomment the below when features are present:\n// function featureValue(value: null | boolean) {\n//   if (ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n//     return true;\n//   }\n//   return value;\n// }\n// export const FLAG_NAME = featureValue(FEATURES.FLAG_NAME);","import { getOwner } from '@ember/-internals/owner'; // This is imported from -internals to avoid circularity\nimport { computed, get } from '@ember/object';\nimport { FrameworkObject } from '@ember/object/-internals';\nimport { inject as metalInject } from '@ember/-internals/metal';\nimport Mixin from '@ember/object/mixin';\nimport { deprecateTransitionMethods, prefixRouteNameArg } from '@ember/routing/-internals';\nimport { ActionHandler } from '@ember/-internals/runtime';\nimport { symbol } from '@ember/-internals/utils';\nconst MODEL = symbol('MODEL');\nconst ControllerMixin = Mixin.create(ActionHandler, {\n  /* ducktype as a controller */\n  isController: true,\n  concatenatedProperties: ['queryParams'],\n  target: null,\n  store: null,\n  init() {\n    this._super(...arguments);\n    let owner = getOwner(this);\n    if (owner) {\n      this.namespace = owner.lookup('application:main');\n      this.target = owner.lookup('router:main');\n    }\n  },\n  model: computed({\n    get() {\n      return this[MODEL];\n    },\n    set(_key, value) {\n      return this[MODEL] = value;\n    }\n  }),\n  queryParams: null,\n  /**\n   This property is updated to various different callback functions depending on\n   the current \"state\" of the backing route. It is used by\n   `Controller.prototype._qpChanged`.\n      The methods backing each state can be found in the `Route.prototype._qp` computed\n   property return value (the `.states` property). The current values are listed here for\n   the sanity of future travelers:\n      * `inactive` - This state is used when this controller instance is not part of the active\n     route hierarchy. Set in `Route.prototype._reset` (a `router.js` microlib hook) and\n     `Route.prototype.actions.finalizeQueryParamChange`.\n   * `active` - This state is used when this controller instance is part of the active\n     route hierarchy. Set in `Route.prototype.actions.finalizeQueryParamChange`.\n   * `allowOverrides` - This state is used in `Route.prototype.setup` (`route.js` microlib hook).\n       @method _qpDelegate\n    @private\n  */\n  _qpDelegate: null,\n  /**\n   During `Route#setup` observers are created to invoke this method\n   when any of the query params declared in `Controller#queryParams` property\n   are changed.\n      When invoked this method uses the currently active query param update delegate\n   (see `Controller.prototype._qpDelegate` for details) and invokes it with\n   the QP key/value being changed.\n       @method _qpChanged\n    @private\n  */\n  _qpChanged(controller, _prop) {\n    let dotIndex = _prop.indexOf('.[]');\n    let prop = dotIndex === -1 ? _prop : _prop.slice(0, dotIndex);\n    let delegate = controller._qpDelegate;\n    let value = get(controller, prop);\n    delegate(prop, value);\n  },\n  transitionToRoute(...args) {\n    var _a;\n    deprecateTransitionMethods('controller', 'transitionToRoute');\n    // target may be either another controller or a router\n    let target = get(this, 'target');\n    // SAFETY: We can't actually assert that this is a full Controller or Router since some tests\n    // mock out an object that only has the single method. Since this is deprecated, I think it's\n    // ok to be a little less than proper here.\n    let method = (_a = target.transitionToRoute) !== null && _a !== void 0 ? _a : target.transitionTo;\n    return method.apply(target, prefixRouteNameArg(this, args));\n  },\n  replaceRoute(...args) {\n    var _a;\n    deprecateTransitionMethods('controller', 'replaceRoute');\n    // target may be either another controller or a router\n    let target = get(this, 'target');\n    // SAFETY: We can't actually assert that this is a full Controller or Router since some tests\n    // mock out an object that only has the single method. Since this is deprecated, I think it's\n    // ok to be a little less than proper here.\n    let method = (_a = target.replaceRoute) !== null && _a !== void 0 ? _a : target.replaceWith;\n    return method.apply(target, prefixRouteNameArg(this, args));\n  }\n});\nclass Controller extends FrameworkObject.extend(ControllerMixin) {}\nexport function inject(...args) {\n  return metalInject('controller', ...args);\n}\nexport { Controller as default, ControllerMixin };","import { classify, dasherize } from '@ember/-internals/string';\nimport EmberObject from '@ember/object';\nimport { typeOf } from '@ember/utils';\nimport { getOwner } from '@ember/-internals/owner';\nimport Namespace from '@ember/application/namespace';\n/**\n@module @ember/debug/container-debug-adapter\n*/\n/**\n  The `ContainerDebugAdapter` helps the container and resolver interface\n  with tools that debug Ember such as the\n  [Ember Inspector](https://github.com/emberjs/ember-inspector)\n  for Chrome and Firefox.\n\n  This class can be extended by a custom resolver implementer\n  to override some of the methods with library-specific code.\n\n  The methods likely to be overridden are:\n\n  * `canCatalogEntriesByType`\n  * `catalogEntriesByType`\n\n  The adapter will need to be registered\n  in the application's container as `container-debug-adapter:main`.\n\n  Example:\n\n  ```javascript\n  Application.initializer({\n    name: \"containerDebugAdapter\",\n\n    initialize(application) {\n      application.register('container-debug-adapter:main', require('app/container-debug-adapter'));\n    }\n  });\n  ```\n\n  @class ContainerDebugAdapter\n  @extends EmberObject\n  @since 1.5.0\n  @public\n*/\nexport default class ContainerDebugAdapter extends EmberObject {\n  constructor(owner) {\n    super(owner);\n    this.resolver = getOwner(this).lookup('resolver-for-debugging:main');\n  }\n  /**\n    Returns true if it is possible to catalog a list of available\n    classes in the resolver for a given type.\n       @method canCatalogEntriesByType\n    @param {String} type The type. e.g. \"model\", \"controller\", \"route\".\n    @return {boolean} whether a list is available for this type.\n    @public\n  */\n  canCatalogEntriesByType(type) {\n    if (type === 'model' || type === 'template') {\n      return false;\n    }\n    return true;\n  }\n  /**\n    Returns the available classes a given type.\n       @method catalogEntriesByType\n    @param {String} type The type. e.g. \"model\", \"controller\", \"route\".\n    @return {Array} An array of strings.\n    @public\n  */\n  catalogEntriesByType(type) {\n    let namespaces = Namespace.NAMESPACES;\n    let types = [];\n    let typeSuffixRegex = new RegExp(`${classify(type)}$`);\n    namespaces.forEach(namespace => {\n      for (let key in namespace) {\n        if (!Object.prototype.hasOwnProperty.call(namespace, key)) {\n          continue;\n        }\n        if (typeSuffixRegex.test(key)) {\n          let klass = namespace[key];\n          if (typeOf(klass) === 'class') {\n            types.push(dasherize(key.replace(typeSuffixRegex, '')));\n          }\n        }\n      }\n    });\n    return types;\n  }\n}","import { getOwner } from '@ember/-internals/owner';\nimport { _backburner, next } from '@ember/runloop';\nimport { get } from '@ember/object';\nimport { dasherize } from '@ember/-internals/string';\nimport Namespace from '@ember/application/namespace';\nimport EmberObject from '@ember/object';\nimport { A as emberA } from '@ember/array';\nimport { consumeTag, createCache, getValue, tagFor, untrack } from '@glimmer/validator';\nimport { assert } from '.';\nfunction iterate(arr, fn) {\n  if (Symbol.iterator in arr) {\n    for (let item of arr) {\n      fn(item);\n    }\n  } else {\n    // SAFETY: this cast required to work this way to interop between TS 4.8\n    // and 4.9. When we drop support for 4.8, it will narrow correctly via the\n    // use of the `in` operator above. (Preferably we will solve this by just\n    // switching to require `Symbol.iterator` instead.)\n    assert('', typeof arr.forEach === 'function');\n    arr.forEach(fn);\n  }\n}\nclass RecordsWatcher {\n  getCacheForItem(record) {\n    let recordCache = this.recordCaches.get(record);\n    if (!recordCache) {\n      let hasBeenAdded = false;\n      recordCache = createCache(() => {\n        if (!hasBeenAdded) {\n          this.added.push(this.wrapRecord(record));\n          hasBeenAdded = true;\n        } else {\n          this.updated.push(this.wrapRecord(record));\n        }\n      });\n      this.recordCaches.set(record, recordCache);\n    }\n    return recordCache;\n  }\n  constructor(records, recordsAdded, recordsUpdated, recordsRemoved, wrapRecord, release) {\n    this.wrapRecord = wrapRecord;\n    this.release = release;\n    this.recordCaches = new Map();\n    this.added = [];\n    this.updated = [];\n    this.removed = [];\n    this.recordArrayCache = createCache(() => {\n      let seen = new Set();\n      // Track `[]` for legacy support\n      consumeTag(tagFor(records, '[]'));\n      iterate(records, record => {\n        getValue(this.getCacheForItem(record));\n        seen.add(record);\n      });\n      // Untrack this operation because these records are being removed, they\n      // should not be polled again in the future\n      untrack(() => {\n        this.recordCaches.forEach((_cache, record) => {\n          if (!seen.has(record)) {\n            this.removed.push(wrapRecord(record));\n            this.recordCaches.delete(record);\n          }\n        });\n      });\n      if (this.added.length > 0) {\n        recordsAdded(this.added);\n        this.added = [];\n      }\n      if (this.updated.length > 0) {\n        recordsUpdated(this.updated);\n        this.updated = [];\n      }\n      if (this.removed.length > 0) {\n        recordsRemoved(this.removed);\n        this.removed = [];\n      }\n    });\n  }\n  revalidate() {\n    getValue(this.recordArrayCache);\n  }\n}\nclass TypeWatcher {\n  constructor(records, onChange, release) {\n    this.release = release;\n    let hasBeenAccessed = false;\n    this.cache = createCache(() => {\n      // Empty iteration, we're doing this just\n      // to track changes to the records array\n      iterate(records, () => {});\n      // Also track `[]` for legacy support\n      consumeTag(tagFor(records, '[]'));\n      if (hasBeenAccessed === true) {\n        next(onChange);\n      } else {\n        hasBeenAccessed = true;\n      }\n    });\n    this.release = release;\n  }\n  revalidate() {\n    getValue(this.cache);\n  }\n}\n/**\n  The `DataAdapter` helps a data persistence library\n  interface with tools that debug Ember such\n  as the [Ember Inspector](https://github.com/emberjs/ember-inspector)\n  for Chrome and Firefox.\n\n  This class will be extended by a persistence library\n  which will override some of the methods with\n  library-specific code.\n\n  The methods likely to be overridden are:\n\n  * `getFilters`\n  * `detect`\n  * `columnsForType`\n  * `getRecords`\n  * `getRecordColumnValues`\n  * `getRecordKeywords`\n  * `getRecordFilterValues`\n  * `getRecordColor`\n\n  The adapter will need to be registered\n  in the application's container as `dataAdapter:main`.\n\n  Example:\n\n  ```javascript\n  Application.initializer({\n    name: \"data-adapter\",\n\n    initialize: function(application) {\n      application.register('data-adapter:main', DS.DataAdapter);\n    }\n  });\n  ```\n\n  @class DataAdapter\n  @extends EmberObject\n  @public\n*/\nexport default class DataAdapter extends EmberObject {\n  constructor(owner) {\n    super(owner);\n    this.releaseMethods = emberA();\n    this.recordsWatchers = new Map();\n    this.typeWatchers = new Map();\n    this.flushWatchers = null;\n    /**\n      The container-debug-adapter which is used\n      to list all models.\n             @property containerDebugAdapter\n      @default undefined\n      @since 1.5.0\n      @public\n    **/\n    /**\n      The number of attributes to send\n      as columns. (Enough to make the record\n      identifiable).\n             @private\n      @property attributeLimit\n      @default 3\n      @since 1.3.0\n    */\n    this.attributeLimit = 3;\n    /**\n       Ember Data > v1.0.0-beta.18\n       requires string model names to be passed\n       around instead of the actual factories.\n              This is a stamp for the Ember Inspector\n       to differentiate between the versions\n       to be able to support older versions too.\n              @public\n       @property acceptsModelName\n     */\n    this.acceptsModelName = true;\n    this.containerDebugAdapter = getOwner(this).lookup('container-debug-adapter:main');\n  }\n  /**\n     Map from records arrays to RecordsWatcher instances\n        @private\n     @property recordsWatchers\n     @since 3.26.0\n   */\n  /**\n    Map from records arrays to TypeWatcher instances\n       @private\n    @property typeWatchers\n    @since 3.26.0\n   */\n  /**\n    Callback that is currently scheduled on backburner end to flush and check\n    all active watchers.\n       @private\n    @property flushWatchers\n    @since 3.26.0\n      */\n  /**\n    Stores all methods that clear observers.\n    These methods will be called on destruction.\n       @private\n    @property releaseMethods\n    @since 1.3.0\n  */\n  /**\n    Specifies how records can be filtered.\n    Records returned will need to have a `filterValues`\n    property with a key for every name in the returned array.\n       @public\n    @method getFilters\n    @return {Array} List of objects defining filters.\n     The object should have a `name` and `desc` property.\n  */\n  getFilters() {\n    return emberA();\n  }\n  /**\n    Fetch the model types and observe them for changes.\n       @public\n    @method watchModelTypes\n       @param {Function} typesAdded Callback to call to add types.\n    Takes an array of objects containing wrapped types (returned from `wrapModelType`).\n       @param {Function} typesUpdated Callback to call when a type has changed.\n    Takes an array of objects containing wrapped types.\n       @return {Function} Method to call to remove all observers\n  */\n  watchModelTypes(typesAdded, typesUpdated) {\n    let modelTypes = this.getModelTypes();\n    let releaseMethods = emberA();\n    let typesToSend;\n    typesToSend = modelTypes.map(type => {\n      let klass = type.klass;\n      let wrapped = this.wrapModelType(klass, type.name);\n      releaseMethods.push(this.observeModelType(type.name, typesUpdated));\n      return wrapped;\n    });\n    typesAdded(typesToSend);\n    let release = () => {\n      releaseMethods.forEach(fn => fn());\n      this.releaseMethods.removeObject(release);\n    };\n    this.releaseMethods.pushObject(release);\n    return release;\n  }\n  _nameToClass(type) {\n    if (typeof type === 'string') {\n      let owner = getOwner(this);\n      let Factory = owner.factoryFor(`model:${type}`);\n      type = Factory && Factory.class;\n    }\n    return type;\n  }\n  /**\n    Fetch the records of a given type and observe them for changes.\n       @public\n    @method watchRecords\n       @param {String} modelName The model name.\n       @param {Function} recordsAdded Callback to call to add records.\n    Takes an array of objects containing wrapped records.\n    The object should have the following properties:\n      columnValues: {Object} The key and value of a table cell.\n      object: {Object} The actual record object.\n       @param {Function} recordsUpdated Callback to call when a record has changed.\n    Takes an array of objects containing wrapped records.\n       @param {Function} recordsRemoved Callback to call when a record has removed.\n    Takes an array of objects containing wrapped records.\n       @return {Function} Method to call to remove all observers.\n  */\n  watchRecords(modelName, recordsAdded, recordsUpdated, recordsRemoved) {\n    let klass = this._nameToClass(modelName);\n    let records = this.getRecords(klass, modelName);\n    let {\n      recordsWatchers\n    } = this;\n    let recordsWatcher = recordsWatchers.get(records);\n    if (!recordsWatcher) {\n      recordsWatcher = new RecordsWatcher(records, recordsAdded, recordsUpdated, recordsRemoved, record => this.wrapRecord(record), () => {\n        recordsWatchers.delete(records);\n        this.updateFlushWatchers();\n      });\n      recordsWatchers.set(records, recordsWatcher);\n      this.updateFlushWatchers();\n      recordsWatcher.revalidate();\n    }\n    return recordsWatcher.release;\n  }\n  updateFlushWatchers() {\n    if (this.flushWatchers === null) {\n      if (this.typeWatchers.size > 0 || this.recordsWatchers.size > 0) {\n        this.flushWatchers = () => {\n          this.typeWatchers.forEach(watcher => watcher.revalidate());\n          this.recordsWatchers.forEach(watcher => watcher.revalidate());\n        };\n        _backburner.on('end', this.flushWatchers);\n      }\n    } else if (this.typeWatchers.size === 0 && this.recordsWatchers.size === 0) {\n      _backburner.off('end', this.flushWatchers);\n      this.flushWatchers = null;\n    }\n  }\n  /**\n    Clear all observers before destruction\n    @private\n    @method willDestroy\n  */\n  willDestroy() {\n    this._super(...arguments);\n    this.typeWatchers.forEach(watcher => watcher.release());\n    this.recordsWatchers.forEach(watcher => watcher.release());\n    this.releaseMethods.forEach(fn => fn());\n    if (this.flushWatchers) {\n      _backburner.off('end', this.flushWatchers);\n    }\n  }\n  /**\n    Detect whether a class is a model.\n       Test that against the model class\n    of your persistence library.\n       @public\n    @method detect\n    @return boolean Whether the class is a model class or not.\n  */\n  detect(_klass) {\n    return false;\n  }\n  /**\n    Get the columns for a given model type.\n       @public\n    @method columnsForType\n    @return {Array} An array of columns of the following format:\n     name: {String} The name of the column.\n     desc: {String} Humanized description (what would show in a table column name).\n  */\n  columnsForType(_klass) {\n    return emberA();\n  }\n  /**\n    Adds observers to a model type class.\n       @private\n    @method observeModelType\n    @param {String} modelName The model type name.\n    @param {Function} typesUpdated Called when a type is modified.\n    @return {Function} The function to call to remove observers.\n  */\n  observeModelType(modelName, typesUpdated) {\n    let klass = this._nameToClass(modelName);\n    let records = this.getRecords(klass, modelName);\n    let onChange = () => {\n      typesUpdated([this.wrapModelType(klass, modelName)]);\n    };\n    let {\n      typeWatchers\n    } = this;\n    let typeWatcher = typeWatchers.get(records);\n    if (!typeWatcher) {\n      typeWatcher = new TypeWatcher(records, onChange, () => {\n        typeWatchers.delete(records);\n        this.updateFlushWatchers();\n      });\n      typeWatchers.set(records, typeWatcher);\n      this.updateFlushWatchers();\n      typeWatcher.revalidate();\n    }\n    return typeWatcher.release;\n  }\n  /**\n    Wraps a given model type and observes changes to it.\n       @private\n    @method wrapModelType\n    @param {Class} klass A model class.\n    @param {String} modelName Name of the class.\n    @return {Object} The wrapped type has the following format:\n      name: {String} The name of the type.\n      count: {Integer} The number of records available.\n      columns: {Columns} An array of columns to describe the record.\n      object: {Class} The actual Model type class.\n  */\n  wrapModelType(klass, name) {\n    let records = this.getRecords(klass, name);\n    return {\n      name,\n      count: get(records, 'length'),\n      columns: this.columnsForType(klass),\n      object: klass\n    };\n  }\n  /**\n    Fetches all models defined in the application.\n       @private\n    @method getModelTypes\n    @return {Array} Array of model types.\n  */\n  getModelTypes() {\n    let containerDebugAdapter = this.containerDebugAdapter;\n    let stringTypes = containerDebugAdapter.canCatalogEntriesByType('model') ? containerDebugAdapter.catalogEntriesByType('model') : this._getObjectsOnNamespaces();\n    // New adapters return strings instead of classes.\n    let klassTypes = stringTypes.map(name => {\n      return {\n        klass: this._nameToClass(name),\n        name\n      };\n    });\n    return klassTypes.filter(type => this.detect(type.klass));\n  }\n  /**\n    Loops over all namespaces and all objects\n    attached to them.\n       @private\n    @method _getObjectsOnNamespaces\n    @return {Array} Array of model type strings.\n  */\n  _getObjectsOnNamespaces() {\n    let namespaces = Namespace.NAMESPACES;\n    let types = [];\n    namespaces.forEach(namespace => {\n      for (let key in namespace) {\n        if (!Object.prototype.hasOwnProperty.call(namespace, key)) {\n          continue;\n        }\n        // Even though we will filter again in `getModelTypes`,\n        // we should not call `lookupFactory` on non-models\n        if (!this.detect(namespace[key])) {\n          continue;\n        }\n        let name = dasherize(key);\n        types.push(name);\n      }\n    });\n    return types;\n  }\n  /**\n    Fetches all loaded records for a given type.\n       @public\n    @method getRecords\n    @return {Array} An array of records.\n     This array will be observed for changes,\n     so it should update when new records are added/removed.\n  */\n  getRecords(_klass, _name) {\n    return emberA();\n  }\n  /**\n    Wraps a record and observers changes to it.\n       @private\n    @method wrapRecord\n    @param {Object} record The record instance.\n    @return {Object} The wrapped record. Format:\n    columnValues: {Array}\n    searchKeywords: {Array}\n  */\n  wrapRecord(record) {\n    return {\n      object: record,\n      columnValues: this.getRecordColumnValues(record),\n      searchKeywords: this.getRecordKeywords(record),\n      filterValues: this.getRecordFilterValues(record),\n      color: this.getRecordColor(record)\n    };\n  }\n  /**\n    Gets the values for each column.\n       @public\n    @method getRecordColumnValues\n    @return {Object} Keys should match column names defined\n    by the model type.\n  */\n  getRecordColumnValues(_record) {\n    return {};\n  }\n  /**\n    Returns keywords to match when searching records.\n       @public\n    @method getRecordKeywords\n    @return {Array} Relevant keywords for search.\n  */\n  getRecordKeywords(_record) {\n    return emberA();\n  }\n  /**\n    Returns the values of filters defined by `getFilters`.\n       @public\n    @method getRecordFilterValues\n    @param {Object} record The record instance.\n    @return {Object} The filter values.\n  */\n  getRecordFilterValues(_record) {\n    return {};\n  }\n  /**\n    Each record can have a color that represents its state.\n       @public\n    @method getRecordColor\n    @param {Object} record The record instance\n    @return {String} The records color.\n      Possible options: black, red, blue, green.\n  */\n  getRecordColor(_record) {\n    return null;\n  }\n}","import { isChrome, isFirefox } from '@ember/-internals/browser-environment';\nimport { DEBUG } from '@glimmer/env';\nimport _deprecate from './lib/deprecate';\nimport { isTesting } from './lib/testing';\nimport _warn from './lib/warn';\nexport { registerHandler as registerWarnHandler } from './lib/warn';\nexport { registerHandler as registerDeprecationHandler } from './lib/deprecate';\nexport { default as inspect } from './lib/inspect';\nexport { isTesting, setTesting } from './lib/testing';\nexport { default as captureRenderTree } from './lib/capture-render-tree';\n// These are the default production build versions:\nconst noop = () => {};\nlet assert = noop;\nlet info = noop;\nlet warn = noop;\nlet debug = noop;\nlet deprecate = noop;\nlet debugSeal = noop;\nlet debugFreeze = noop;\nlet runInDebug = noop;\nlet setDebugFunction = noop;\nlet getDebugFunction = noop;\nlet deprecateFunc = function () {\n  return arguments[arguments.length - 1];\n};\nif (DEBUG) {\n  setDebugFunction = function (type, callback) {\n    switch (type) {\n      case 'assert':\n        return assert = callback;\n      case 'info':\n        return info = callback;\n      case 'warn':\n        return warn = callback;\n      case 'debug':\n        return debug = callback;\n      case 'deprecate':\n        return deprecate = callback;\n      case 'debugSeal':\n        return debugSeal = callback;\n      case 'debugFreeze':\n        return debugFreeze = callback;\n      case 'runInDebug':\n        return runInDebug = callback;\n      case 'deprecateFunc':\n        return deprecateFunc = callback;\n    }\n  };\n  getDebugFunction = function (type) {\n    switch (type) {\n      case 'assert':\n        return assert;\n      case 'info':\n        return info;\n      case 'warn':\n        return warn;\n      case 'debug':\n        return debug;\n      case 'deprecate':\n        return deprecate;\n      case 'debugSeal':\n        return debugSeal;\n      case 'debugFreeze':\n        return debugFreeze;\n      case 'runInDebug':\n        return runInDebug;\n      case 'deprecateFunc':\n        return deprecateFunc;\n    }\n  };\n}\n/**\n@module @ember/debug\n*/\nif (DEBUG) {\n  /**\n    Verify that a certain expectation is met, or throw a exception otherwise.\n       This is useful for communicating assumptions in the code to other human\n    readers as well as catching bugs that accidentally violates these\n    expectations.\n       Assertions are removed from production builds, so they can be freely added\n    for documentation and debugging purposes without worries of incuring any\n    performance penalty. However, because of that, they should not be used for\n    checks that could reasonably fail during normal usage. Furthermore, care\n    should be taken to avoid accidentally relying on side-effects produced from\n    evaluating the condition itself, since the code will not run in production.\n       ```javascript\n    import { assert } from '@ember/debug';\n       // Test for truthiness\n    assert('Must pass a string', typeof str === 'string');\n       // Fail unconditionally\n    assert('This code path should never be run');\n    ```\n       @method assert\n    @static\n    @for @ember/debug\n    @param {String} description Describes the expectation. This will become the\n      text of the Error thrown if the assertion fails.\n    @param {any} condition Must be truthy for the assertion to pass. If\n      falsy, an exception will be thrown.\n    @public\n    @since 1.0.0\n  */\n  setDebugFunction('assert', function assert(desc, test) {\n    if (!test) {\n      throw new Error(`Assertion Failed: ${desc}`);\n    }\n  });\n  /**\n    Display a debug notice.\n       Calls to this function are not invoked in production builds.\n       ```javascript\n    import { debug } from '@ember/debug';\n       debug('I\\'m a debug notice!');\n    ```\n       @method debug\n    @for @ember/debug\n    @static\n    @param {String} message A debug message to display.\n    @public\n  */\n  setDebugFunction('debug', function debug(message) {\n    console.debug(`DEBUG: ${message}`); /* eslint-disable-line no-console */\n  });\n  /**\n    Display an info notice.\n       Calls to this function are removed from production builds, so they can be\n    freely added for documentation and debugging purposes without worries of\n    incuring any performance penalty.\n       @method info\n    @private\n  */\n  setDebugFunction('info', function info() {\n    console.info(...arguments); /* eslint-disable-line no-console */\n  });\n  /**\n   @module @ember/debug\n   @public\n  */\n  /**\n    Alias an old, deprecated method with its new counterpart.\n       Display a deprecation warning with the provided message and a stack trace\n    (Chrome and Firefox only) when the assigned method is called.\n       Calls to this function are removed from production builds, so they can be\n    freely added for documentation and debugging purposes without worries of\n    incuring any performance penalty.\n       ```javascript\n    import { deprecateFunc } from '@ember/debug';\n       Ember.oldMethod = deprecateFunc('Please use the new, updated method', options, Ember.newMethod);\n    ```\n       @method deprecateFunc\n    @static\n    @for @ember/debug\n    @param {String} message A description of the deprecation.\n    @param {Object} [options] The options object for `deprecate`.\n    @param {Function} func The new function called to replace its deprecated counterpart.\n    @return {Function} A new function that wraps the original function with a deprecation warning\n    @private\n  */\n  setDebugFunction('deprecateFunc', function deprecateFunc(...args) {\n    if (args.length === 3) {\n      let [message, options, func] = args;\n      return function (...args) {\n        deprecate(message, false, options);\n        return func.apply(this, args);\n      };\n    } else {\n      let [message, func] = args;\n      return function () {\n        deprecate(message);\n        return func.apply(this, arguments);\n      };\n    }\n  });\n  /**\n   @module @ember/debug\n   @public\n  */\n  /**\n    Run a function meant for debugging.\n       Calls to this function are removed from production builds, so they can be\n    freely added for documentation and debugging purposes without worries of\n    incuring any performance penalty.\n       ```javascript\n    import Component from '@ember/component';\n    import { runInDebug } from '@ember/debug';\n       runInDebug(() => {\n      Component.reopen({\n        didInsertElement() {\n          console.log(\"I'm happy\");\n        }\n      });\n    });\n    ```\n       @method runInDebug\n    @for @ember/debug\n    @static\n    @param {Function} func The function to be executed.\n    @since 1.5.0\n    @public\n  */\n  setDebugFunction('runInDebug', function runInDebug(func) {\n    func();\n  });\n  setDebugFunction('debugSeal', function debugSeal(obj) {\n    Object.seal(obj);\n  });\n  setDebugFunction('debugFreeze', function debugFreeze(obj) {\n    // re-freezing an already frozen object introduces a significant\n    // performance penalty on Chrome (tested through 59).\n    //\n    // See: https://bugs.chromium.org/p/v8/issues/detail?id=6450\n    if (!Object.isFrozen(obj)) {\n      Object.freeze(obj);\n    }\n  });\n  setDebugFunction('deprecate', _deprecate);\n  setDebugFunction('warn', _warn);\n}\nlet _warnIfUsingStrippedFeatureFlags;\nif (DEBUG && !isTesting()) {\n  if (typeof window !== 'undefined' && (isFirefox || isChrome) && window.addEventListener) {\n    window.addEventListener('load', () => {\n      if (document.documentElement && document.documentElement.dataset && !document.documentElement.dataset['emberExtension']) {\n        let downloadURL;\n        if (isChrome) {\n          downloadURL = 'https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi';\n        } else if (isFirefox) {\n          downloadURL = 'https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/';\n        }\n        debug(`For more advanced debugging, install the Ember Inspector from ${downloadURL}`);\n      }\n    }, false);\n  }\n}\nexport { assert, info, warn, debug, deprecate, debugSeal, debugFreeze, runInDebug, deprecateFunc, setDebugFunction, getDebugFunction, _warnIfUsingStrippedFeatureFlags };","import { expect } from '@glimmer/util';\n/**\n  @module @ember/debug\n*/\n/**\n  Ember Inspector calls this function to capture the current render tree.\n\n  In production mode, this requires turning on `ENV._DEBUG_RENDER_TREE`\n  before loading Ember.\n\n  @private\n  @static\n  @method captureRenderTree\n  @for @ember/debug\n  @param app {ApplicationInstance} An `ApplicationInstance`.\n  @since 3.14.0\n*/\nexport default function captureRenderTree(app) {\n  // SAFETY: Ideally we'd assert here but that causes awkward circular requires since this is also in @ember/debug.\n  // This is only for debug stuff so not very risky.\n  let renderer = expect(app.lookup('renderer:-dom'), `BUG: owner is missing renderer`);\n  return renderer.debugRenderTree.capture();\n}","import { ENV } from '@ember/-internals/environment';\nimport { DEBUG } from '@glimmer/env';\nimport { assert } from '../index';\nimport { invoke, registerHandler as genericRegisterHandler } from './handlers';\n/**\n @module @ember/debug\n @public\n*/\n/**\n  Allows for runtime registration of handler functions that override the default deprecation behavior.\n  Deprecations are invoked by calls to [@ember/debug/deprecate](/ember/release/classes/@ember%2Fdebug/methods/deprecate?anchor=deprecate).\n  The following example demonstrates its usage by registering a handler that throws an error if the\n  message contains the word \"should\", otherwise defers to the default handler.\n\n  ```javascript\n  import { registerDeprecationHandler } from '@ember/debug';\n\n  registerDeprecationHandler((message, options, next) => {\n    if (message.indexOf('should') !== -1) {\n      throw new Error(`Deprecation message with should: ${message}`);\n    } else {\n      // defer to whatever handler was registered before this one\n      next(message, options);\n    }\n  });\n  ```\n\n  The handler function takes the following arguments:\n\n  <ul>\n    <li> <code>message</code> - The message received from the deprecation call.</li>\n    <li> <code>options</code> - An object passed in with the deprecation call containing additional information including:</li>\n      <ul>\n        <li> <code>id</code> - An id of the deprecation in the form of <code>package-name.specific-deprecation</code>.</li>\n        <li> <code>until</code> - The Ember version number the feature and deprecation will be removed in.</li>\n      </ul>\n    <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n  </ul>\n\n  @public\n  @static\n  @method registerDeprecationHandler\n  @for @ember/debug\n  @param handler {Function} A function to handle deprecation calls.\n  @since 2.1.0\n*/\nlet registerHandler = () => {};\nlet missingOptionsDeprecation;\nlet missingOptionsIdDeprecation;\nlet missingOptionDeprecation = () => '';\nlet deprecate = () => {};\nif (DEBUG) {\n  registerHandler = function registerHandler(handler) {\n    genericRegisterHandler('deprecate', handler);\n  };\n  let formatMessage = function formatMessage(_message, options) {\n    let message = _message;\n    if (options === null || options === void 0 ? void 0 : options.id) {\n      message = message + ` [deprecation id: ${options.id}]`;\n    }\n    if (options === null || options === void 0 ? void 0 : options.until) {\n      message = message + ` This will be removed in ${options.for} ${options.until}.`;\n    }\n    if (options === null || options === void 0 ? void 0 : options.url) {\n      message += ` See ${options.url} for more details.`;\n    }\n    return message;\n  };\n  registerHandler(function logDeprecationToConsole(message, options) {\n    let updatedMessage = formatMessage(message, options);\n    console.warn(`DEPRECATION: ${updatedMessage}`); // eslint-disable-line no-console\n  });\n\n  let captureErrorForStack;\n  if (new Error().stack) {\n    captureErrorForStack = () => new Error();\n  } else {\n    captureErrorForStack = () => {\n      try {\n        __fail__.fail();\n      } catch (e) {\n        return e;\n      }\n    };\n  }\n  registerHandler(function logDeprecationStackTrace(message, options, next) {\n    if (ENV.LOG_STACKTRACE_ON_DEPRECATION) {\n      let stackStr = '';\n      let error = captureErrorForStack();\n      let stack;\n      if (error instanceof Error) {\n        if (error.stack) {\n          if (error['arguments']) {\n            // Chrome\n            stack = error.stack.replace(/^\\s+at\\s+/gm, '').replace(/^([^(]+?)([\\n$])/gm, '{anonymous}($1)$2').replace(/^Object.<anonymous>\\s*\\(([^)]+)\\)/gm, '{anonymous}($1)').split('\\n');\n            stack.shift();\n          } else {\n            // Firefox\n            stack = error.stack.replace(/(?:\\n@:0)?\\s+$/m, '').replace(/^\\(/gm, '{anonymous}(').split('\\n');\n          }\n          stackStr = `\\n    ${stack.slice(2).join('\\n    ')}`;\n        }\n      }\n      let updatedMessage = formatMessage(message, options);\n      console.warn(`DEPRECATION: ${updatedMessage}${stackStr}`); // eslint-disable-line no-console\n    } else {\n      next(message, options);\n    }\n  });\n  registerHandler(function raiseOnDeprecation(message, options, next) {\n    if (ENV.RAISE_ON_DEPRECATION) {\n      let updatedMessage = formatMessage(message);\n      throw new Error(updatedMessage);\n    } else {\n      next(message, options);\n    }\n  });\n  missingOptionsDeprecation = 'When calling `deprecate` you ' + 'must provide an `options` hash as the third parameter.  ' + '`options` should include `id` and `until` properties.';\n  missingOptionsIdDeprecation = 'When calling `deprecate` you must provide `id` in options.';\n  missingOptionDeprecation = (id, missingOption) => {\n    return `When calling \\`deprecate\\` you must provide \\`${missingOption}\\` in options. Missing options.${missingOption} in \"${id}\" deprecation`;\n  };\n  /**\n   @module @ember/debug\n   @public\n   */\n  /**\n    Display a deprecation warning with the provided message and a stack trace\n    (Chrome and Firefox only).\n       Ember itself leverages [Semantic Versioning](https://semver.org) to aid\n    projects in keeping up with changes to the framework. Before any\n    functionality or API is removed, it first flows linearly through a\n    deprecation staging process. The staging process currently contains two\n    stages: available and enabled.\n       Deprecations are initially released into the 'available' stage.\n    Deprecations will stay in this stage until the replacement API has been\n    marked as a recommended practice via the RFC process and the addon\n    ecosystem has generally adopted the change.\n       Once a deprecation meets the above criteria, it will move into the\n    'enabled' stage where it will remain until the functionality or API is\n    eventually removed.\n       For application and addon developers, \"available\" deprecations are not\n    urgent and \"enabled\" deprecations require action.\n       * In a production build, this method is defined as an empty function (NOP).\n    Uses of this method in Ember itself are stripped from the ember.prod.js build.\n       ```javascript\n    import { deprecate } from '@ember/debug';\n       deprecate(\n      'Use of `assign` has been deprecated. Please use `Object.assign` or the spread operator instead.',\n      false,\n      {\n        id: 'ember-polyfills.deprecate-assign',\n        until: '5.0.0',\n        url: 'https://deprecations.emberjs.com/v4.x/#toc_ember-polyfills-deprecate-assign',\n        for: 'ember-source',\n        since: {\n          available: '4.0.0',\n          enabled: '4.0.0',\n        },\n      }\n    );\n    ```\n       @method deprecate\n    @for @ember/debug\n    @param {String} message A description of the deprecation.\n    @param {Boolean} test A boolean. If falsy, the deprecation will be displayed.\n    @param {Object} options\n    @param {String} options.id A unique id for this deprecation. The id can be\n      used by Ember debugging tools to change the behavior (raise, log or silence)\n      for that specific deprecation. The id should be namespaced by dots, e.g.\n      \"view.helper.select\".\n    @param {string} options.until The version of Ember when this deprecation\n      warning will be removed.\n    @param {String} options.for A namespace for the deprecation, usually the package name\n    @param {Object} options.since Describes when the deprecation became available and enabled.\n    @param {String} [options.url] An optional url to the transition guide on the\n          emberjs.com website.\n    @static\n    @public\n    @since 1.0.0\n  */\n  deprecate = function deprecate(message, test, options) {\n    assert(missingOptionsDeprecation, Boolean(options && (options.id || options.until)));\n    assert(missingOptionsIdDeprecation, Boolean(options.id));\n    assert(missingOptionDeprecation(options.id, 'until'), Boolean(options.until));\n    assert(missingOptionDeprecation(options.id, 'for'), Boolean(options.for));\n    assert(missingOptionDeprecation(options.id, 'since'), Boolean(options.since));\n    invoke('deprecate', message, test, options);\n  };\n}\nexport default deprecate;\nexport { registerHandler, missingOptionsDeprecation, missingOptionsIdDeprecation, missingOptionDeprecation };","import { DEBUG } from '@glimmer/env';\nexport let HANDLERS = {};\nlet registerHandler = function registerHandler(_type, _callback) {};\nlet invoke = () => {};\nif (DEBUG) {\n  registerHandler = function registerHandler(type, callback) {\n    let nextHandler = HANDLERS[type] || (() => {});\n    HANDLERS[type] = (message, options) => {\n      callback(message, options, nextHandler);\n    };\n  };\n  invoke = function invoke(type, message, test, options) {\n    if (test) {\n      return;\n    }\n    let handlerForType = HANDLERS[type];\n    if (handlerForType) {\n      handlerForType(message, options);\n    }\n  };\n}\nexport { registerHandler, invoke };","import { _WeakSet as WeakSet } from '@glimmer/util';\nimport { assert } from '@ember/debug';\nconst {\n  toString: objectToString\n} = Object.prototype;\nconst {\n  toString: functionToString\n} = Function.prototype;\nconst {\n  isArray\n} = Array;\nconst {\n  keys: objectKeys\n} = Object;\nconst {\n  stringify\n} = JSON;\nconst LIST_LIMIT = 100;\nconst DEPTH_LIMIT = 4;\nconst SAFE_KEY = /^[\\w$]+$/;\n/**\n @module @ember/debug\n*/\n/**\n  Convenience method to inspect an object. This method will attempt to\n  convert the object into a useful string description.\n\n  It is a pretty simple implementation. If you want something more robust,\n  use something like JSDump: https://github.com/NV/jsDump\n\n  @method inspect\n  @static\n  @param {Object} obj The object you want to inspect.\n  @return {String} A description of the object\n  @since 1.4.0\n  @private\n*/\nexport default function inspect(obj) {\n  // detect Node util.inspect call inspect(depth: number, opts: object)\n  if (typeof obj === 'number' && arguments.length === 2) {\n    return this;\n  }\n  return inspectValue(obj, 0);\n}\nfunction inspectValue(value, depth, seen) {\n  let valueIsArray = false;\n  switch (typeof value) {\n    case 'undefined':\n      return 'undefined';\n    case 'object':\n      if (value === null) return 'null';\n      if (isArray(value)) {\n        valueIsArray = true;\n        break;\n      }\n      // is toString Object.prototype.toString or undefined then traverse\n      if (value.toString === objectToString || value.toString === undefined) {\n        break;\n      }\n      // custom toString\n      return value.toString();\n    case 'function':\n      return value.toString === functionToString ? value.name ? `[Function:${value.name}]` : `[Function]` : value.toString();\n    case 'string':\n      return stringify(value);\n    case 'symbol':\n    case 'boolean':\n    case 'number':\n    default:\n      return value.toString();\n  }\n  if (seen === undefined) {\n    seen = new WeakSet();\n  } else {\n    if (seen.has(value)) return `[Circular]`;\n  }\n  seen.add(value);\n  return valueIsArray ? inspectArray(value, depth + 1, seen) : inspectObject(value, depth + 1, seen);\n}\nfunction inspectKey(key) {\n  return SAFE_KEY.test(key) ? key : stringify(key);\n}\nfunction inspectObject(obj, depth, seen) {\n  if (depth > DEPTH_LIMIT) {\n    return '[Object]';\n  }\n  let s = '{';\n  let keys = objectKeys(obj);\n  for (let i = 0; i < keys.length; i++) {\n    s += i === 0 ? ' ' : ', ';\n    if (i >= LIST_LIMIT) {\n      s += `... ${keys.length - LIST_LIMIT} more keys`;\n      break;\n    }\n    let key = keys[i];\n    assert('has key', key); // Looping over array\n    s += `${inspectKey(String(key))}: ${inspectValue(obj[key], depth, seen)}`;\n  }\n  s += ' }';\n  return s;\n}\nfunction inspectArray(arr, depth, seen) {\n  if (depth > DEPTH_LIMIT) {\n    return '[Array]';\n  }\n  let s = '[';\n  for (let i = 0; i < arr.length; i++) {\n    s += i === 0 ? ' ' : ', ';\n    if (i >= LIST_LIMIT) {\n      s += `... ${arr.length - LIST_LIMIT} more items`;\n      break;\n    }\n    s += inspectValue(arr[i], depth, seen);\n  }\n  s += ' ]';\n  return s;\n}","let testing = false;\nexport function isTesting() {\n  return testing;\n}\nexport function setTesting(value) {\n  testing = Boolean(value);\n}","import { DEBUG } from '@glimmer/env';\nimport { assert } from '../index';\nimport { invoke, registerHandler as genericRegisterHandler } from './handlers';\nlet registerHandler = () => {};\nlet warn = () => {};\nlet missingOptionsDeprecation;\nlet missingOptionsIdDeprecation;\n/**\n@module @ember/debug\n*/\nif (DEBUG) {\n  /**\n    Allows for runtime registration of handler functions that override the default warning behavior.\n    Warnings are invoked by calls made to [@ember/debug/warn](/ember/release/classes/@ember%2Fdebug/methods/warn?anchor=warn).\n    The following example demonstrates its usage by registering a handler that does nothing overriding Ember's\n    default warning behavior.\n       ```javascript\n    import { registerWarnHandler } from '@ember/debug';\n       // next is not called, so no warnings get the default behavior\n    registerWarnHandler(() => {});\n    ```\n       The handler function takes the following arguments:\n       <ul>\n      <li> <code>message</code> - The message received from the warn call. </li>\n      <li> <code>options</code> - An object passed in with the warn call containing additional information including:</li>\n        <ul>\n          <li> <code>id</code> - An id of the warning in the form of <code>package-name.specific-warning</code>.</li>\n        </ul>\n      <li> <code>next</code> - A function that calls into the previously registered handler.</li>\n    </ul>\n       @public\n    @static\n    @method registerWarnHandler\n    @for @ember/debug\n    @param handler {Function} A function to handle warnings.\n    @since 2.1.0\n  */\n  registerHandler = function registerHandler(handler) {\n    genericRegisterHandler('warn', handler);\n  };\n  registerHandler(function logWarning(message) {\n    /* eslint-disable no-console */\n    console.warn(`WARNING: ${message}`);\n    /* eslint-enable no-console */\n  });\n\n  missingOptionsDeprecation = 'When calling `warn` you ' + 'must provide an `options` hash as the third parameter.  ' + '`options` should include an `id` property.';\n  missingOptionsIdDeprecation = 'When calling `warn` you must provide `id` in options.';\n  /**\n    Display a warning with the provided message.\n       * In a production build, this method is defined as an empty function (NOP).\n    Uses of this method in Ember itself are stripped from the ember.prod.js build.\n       ```javascript\n    import { warn } from '@ember/debug';\n    import tomsterCount from './tomster-counter'; // a module in my project\n       // Log a warning if we have more than 3 tomsters\n    warn('Too many tomsters!', tomsterCount <= 3, {\n      id: 'ember-debug.too-many-tomsters'\n    });\n    ```\n       @method warn\n    @for @ember/debug\n    @static\n    @param {String} message A warning to display.\n    @param {Boolean} test An optional boolean. If falsy, the warning\n      will be displayed.\n    @param {Object} options An object that can be used to pass a unique\n      `id` for this warning.  The `id` can be used by Ember debugging tools\n      to change the behavior (raise, log, or silence) for that specific warning.\n      The `id` should be namespaced by dots, e.g. \"ember-debug.feature-flag-with-features-stripped\"\n    @public\n    @since 1.0.0\n  */\n  warn = function warn(message, test, options) {\n    if (arguments.length === 2 && typeof test === 'object') {\n      options = test;\n      test = false;\n    }\n    assert(missingOptionsDeprecation, Boolean(options));\n    assert(missingOptionsIdDeprecation, Boolean(options && options.id));\n    invoke('warn', message, test, options);\n  };\n}\nexport default warn;\nexport { registerHandler, missingOptionsIdDeprecation, missingOptionsDeprecation };","/* eslint-disable no-implicit-coercion */\n// These versions should be the version that the deprecation was _introduced_,\n// not the version that the feature will be removed.\nexport const ASSIGN = !!'4.0.0-beta.1';","export { assertDestroyablesDestroyed, associateDestroyableChild, destroy, enableDestroyableTracking, isDestroying, isDestroyed } from '@glimmer/destroyable';\nimport { registerDestructor as _registerDestructor, unregisterDestructor as _unregisterDestructor } from '@glimmer/destroyable';\n/**\n  Ember manages the lifecycles and lifetimes of many built in constructs, such\n  as components, and does so in a hierarchical way - when a parent component is\n  destroyed, all of its children are destroyed as well.\n\n  This destroyables API exposes the basic building blocks for destruction:\n\n  * registering a function to be ran when an object is destroyed\n  * checking if an object is in a destroying state\n  * associate an object as a child of another so that the child object will be destroyed\n    when the associated parent object is destroyed.\n\n  @module @ember/destroyable\n  @public\n*/\n/**\n  This function is used to associate a destroyable object with a parent. When the parent\n  is destroyed, all registered children will also be destroyed.\n\n  ```js\n  class CustomSelect extends Component {\n    constructor(...args) {\n      super(...args);\n\n      // obj is now a child of the component. When the component is destroyed,\n      // obj will also be destroyed, and have all of its destructors triggered.\n      this.obj = associateDestroyableChild(this, {});\n    }\n  }\n  ```\n\n  Returns the associated child for convenience.\n\n  @method associateDestroyableChild\n  @for @ember/destroyable\n  @param {Object|Function} parent the destroyable to entangle the child destroyables lifetime with\n  @param {Object|Function} child the destroyable to be entangled with the parents lifetime\n  @returns {Object|Function} the child argument\n  @static\n  @public\n*/\n/**\n Receives a destroyable, and returns true if the destroyable has begun destroying. Otherwise returns\n false.\n\n  ```js\n  let obj = {};\n  isDestroying(obj); // false\n  destroy(obj);\n  isDestroying(obj); // true\n  // ...sometime later, after scheduled destruction\n  isDestroyed(obj); // true\n  isDestroying(obj); // true\n  ```\n\n  @method isDestroying\n  @for @ember/destroyable\n  @param {Object|Function} destroyable the object to check\n  @returns {Boolean}\n  @static\n  @public\n*/\n/**\n  Receives a destroyable, and returns true if the destroyable has finished destroying. Otherwise\n  returns false.\n\n  ```js\n  let obj = {};\n\n  isDestroyed(obj); // false\n  destroy(obj);\n\n  // ...sometime later, after scheduled destruction\n\n  isDestroyed(obj); // true\n  ```\n\n  @method isDestroyed\n  @for @ember/destroyable\n  @param {Object|Function} destroyable the object to check\n  @returns {Boolean}\n  @static\n  @public\n*/\n/**\n  Initiates the destruction of a destroyable object. It runs all associated destructors, and then\n  destroys all children recursively.\n\n  ```js\n  let obj = {};\n\n  registerDestructor(obj, () => console.log('destroyed!'));\n\n  destroy(obj); // this will schedule the destructor to be called\n\n  // ...some time later, during scheduled destruction\n\n  // destroyed!\n  ```\n\n  Destruction via `destroy()` follows these steps:\n\n  1, Mark the destroyable such that `isDestroying(destroyable)` returns `true`\n  2, Call `destroy()` on each of the destroyable's associated children\n  3, Schedule calling the destroyable's destructors\n  4, Schedule setting destroyable such that `isDestroyed(destroyable)` returns `true`\n\n  This results in the entire tree of destroyables being first marked as destroying,\n  then having all of their destructors called, and finally all being marked as isDestroyed.\n  There won't be any in between states where some items are marked as `isDestroying` while\n  destroying, while others are not.\n\n  @method destroy\n  @for @ember/destroyable\n  @param {Object|Function} destroyable the object to destroy\n  @static\n  @public\n*/\n/**\n  This function asserts that all objects which have associated destructors or associated children\n  have been destroyed at the time it is called. It is meant to be a low level hook that testing\n  frameworks can use to hook into and validate that all destroyables have in fact been destroyed.\n\n  This function requires that `enableDestroyableTracking` was called previously, and is only\n  available in non-production builds.\n\n  @method assertDestroyablesDestroyed\n  @for @ember/destroyable\n  @static\n  @public\n*/\n/**\n  This function instructs the destroyable system to keep track of all destroyables (their\n  children, destructors, etc). This enables a future usage of `assertDestroyablesDestroyed`\n  to be used to ensure that all destroyable tasks (registered destructors and associated children)\n  have completed when `assertDestroyablesDestroyed` is called.\n\n  @method enableDestroyableTracking\n  @for @ember/destroyable\n  @static\n  @public\n*/\n/**\n  Receives a destroyable object and a destructor function, and associates the\n  function with it. When the destroyable is destroyed with destroy, or when its\n  parent is destroyed, the destructor function will be called.\n\n  ```js\n  import Component from '@glimmer/component';\n  import { registerDestructor } from '@ember/destroyable';\n\n  class Modal extends Component {\n    @service resize;\n\n    constructor(...args) {\n      super(...args);\n\n      this.resize.register(this, this.layout);\n\n      registerDestructor(this, () => this.resize.unregister(this));\n    }\n  }\n  ```\n\n  Multiple destructors can be associated with a given destroyable, and they can be\n  associated over time, allowing libraries to dynamically add destructors as needed.\n  `registerDestructor` also returns the associated destructor function, for convenience.\n\n  The destructor function is passed a single argument, which is the destroyable itself.\n  This allows the function to be reused multiple times for many destroyables, rather\n  than creating a closure function per destroyable.\n\n  ```js\n  import Component from '@glimmer/component';\n  import { registerDestructor } from '@ember/destroyable';\n\n  function unregisterResize(instance) {\n    instance.resize.unregister(instance);\n  }\n\n  class Modal extends Component {\n    @service resize;\n\n    constructor(...args) {\n      super(...args);\n\n      this.resize.register(this, this.layout);\n\n      registerDestructor(this, unregisterResize);\n    }\n  }\n  ```\n\n  @method registerDestructor\n  @for @ember/destroyable\n  @param {Object|Function} destroyable the destroyable to register the destructor function with\n  @param {Function} destructor the destructor to run when the destroyable object is destroyed\n  @static\n  @public\n*/\nexport function registerDestructor(destroyable, destructor) {\n  return _registerDestructor(destroyable, destructor);\n}\n/**\n  Receives a destroyable and a destructor function, and de-associates the destructor\n  from the destroyable.\n\n  ```js\n  import Component from '@glimmer/component';\n  import { registerDestructor, unregisterDestructor } from '@ember/destroyable';\n\n  class Modal extends Component {\n    @service modals;\n\n    constructor(...args) {\n      super(...args);\n\n      this.modals.add(this);\n\n      this.modalDestructor = registerDestructor(this, () => this.modals.remove(this));\n    }\n\n    @action pinModal() {\n      unregisterDestructor(this, this.modalDestructor);\n    }\n  }\n  ```\n\n  @method unregisterDestructor\n  @for @ember/destroyable\n  @param {Object|Function} destroyable the destroyable to unregister the destructor function from\n  @param {Function} destructor the destructor to remove from the destroyable\n  @static\n  @public\n*/\nexport function unregisterDestructor(destroyable, destructor) {\n  return _unregisterDestructor(destroyable, destructor);\n}","export { getEngineParent, setEngineParent } from './lib/engine-parent';\nimport { canInvoke } from '@ember/-internals/utils';\nimport Controller from '@ember/controller';\nimport Namespace from '@ember/application/namespace';\nimport { Registry } from '@ember/-internals/container';\nimport DAG from 'dag-map';\nimport { assert } from '@ember/debug';\nimport ContainerDebugAdapter from '@ember/debug/container-debug-adapter';\nimport { get, set } from '@ember/object';\nimport EngineInstance from '@ember/engine/instance';\nimport { RoutingService } from '@ember/routing/-internals';\nimport { ComponentLookup } from '@ember/-internals/views';\nimport { setupEngineRegistry } from '@ember/-internals/glimmer';\nimport { RegistryProxyMixin } from '@ember/-internals/runtime';\nfunction props(obj) {\n  let properties = [];\n  for (let key in obj) {\n    properties.push(key);\n  }\n  return properties;\n}\nclass Engine extends Namespace.extend(RegistryProxyMixin) {\n  constructor() {\n    super(...arguments);\n    /**\n      A private flag indicating whether an engine's initializers have run yet.\n             @private\n      @property _initializersRan\n    */\n    this._initializersRan = false;\n  }\n  /**\n    This creates a registry with the default Ember naming conventions.\n       It also configures the registry:\n       * registered views are created every time they are looked up (they are\n      not singletons)\n    * registered templates are not factories; the registered value is\n      returned directly.\n    * the router receives the application as its `namespace` property\n    * all controllers receive the router as their `target` and `controllers`\n      properties\n    * all controllers receive the application as their `namespace` property\n    * the application view receives the application controller as its\n      `controller` property\n    * the application view receives the application template as its\n      `defaultTemplate` property\n       @method buildRegistry\n    @static\n    @param {Application} namespace the application for which to\n      build the registry\n    @return {Ember.Registry} the built registry\n    @private\n  */\n  static buildRegistry(namespace) {\n    let registry = new Registry({\n      resolver: resolverFor(namespace)\n    });\n    registry.set = set;\n    registry.register('application:main', namespace, {\n      instantiate: false\n    });\n    commonSetupRegistry(registry);\n    setupEngineRegistry(registry);\n    return registry;\n  }\n  init(properties) {\n    super.init(properties);\n    this.buildRegistry();\n  }\n  /**\n    Ensure that initializers are run once, and only once, per engine.\n       @private\n    @method ensureInitializers\n  */\n  ensureInitializers() {\n    if (!this._initializersRan) {\n      this.runInitializers();\n      this._initializersRan = true;\n    }\n  }\n  /**\n    Create an EngineInstance for this engine.\n       @public\n    @method buildInstance\n    @return {EngineInstance} the engine instance\n  */\n  buildInstance(options = {}) {\n    this.ensureInitializers();\n    return EngineInstance.create(Object.assign(Object.assign({}, options), {\n      base: this\n    }));\n  }\n  /**\n    Build and configure the registry for the current engine.\n       @private\n    @method buildRegistry\n    @return {Ember.Registry} the configured registry\n  */\n  buildRegistry() {\n    let registry = this.__registry__ = this.constructor.buildRegistry(this);\n    return registry;\n  }\n  /**\n    @private\n    @method initializer\n  */\n  initializer(initializer) {\n    this.constructor.initializer(initializer);\n  }\n  /**\n    @private\n    @method instanceInitializer\n  */\n  instanceInitializer(initializer) {\n    this.constructor.instanceInitializer(initializer);\n  }\n  /**\n    @private\n    @method runInitializers\n  */\n  runInitializers() {\n    this._runInitializer('initializers', (name, initializer) => {\n      assert(`No application initializer named '${name}'`, initializer);\n      initializer.initialize(this);\n    });\n  }\n  /**\n    @private\n    @since 1.12.0\n    @method runInstanceInitializers\n  */\n  runInstanceInitializers(instance) {\n    this._runInitializer('instanceInitializers', (name, initializer) => {\n      assert(`No instance initializer named '${name}'`, initializer);\n      initializer.initialize(instance);\n    });\n  }\n  _runInitializer(bucketName, cb) {\n    let initializersByName = get(this.constructor, bucketName);\n    let initializers = props(initializersByName);\n    let graph = new DAG();\n    let initializer;\n    for (let name of initializers) {\n      initializer = initializersByName[name];\n      assert(`missing ${bucketName}: ${name}`, initializer);\n      graph.add(initializer.name, initializer, initializer.before, initializer.after);\n    }\n    graph.topsort(cb);\n  }\n}\nEngine.initializers = Object.create(null);\nEngine.instanceInitializers = Object.create(null);\n/**\n  The goal of initializers should be to register dependencies and injections.\n  This phase runs once. Because these initializers may load code, they are\n  allowed to defer application readiness and advance it. If you need to access\n  the container or store you should use an InstanceInitializer that will be run\n  after all initializers and therefore after all code is loaded and the app is\n  ready.\n\n  Initializer receives an object which has the following attributes:\n  `name`, `before`, `after`, `initialize`. The only required attribute is\n  `initialize`, all others are optional.\n\n  * `name` allows you to specify under which name the initializer is registered.\n  This must be a unique name, as trying to register two initializers with the\n  same name will result in an error.\n\n  ```app/initializer/named-initializer.js\n  import { debug } from '@ember/debug';\n\n  export function initialize() {\n    debug('Running namedInitializer!');\n  }\n\n  export default {\n    name: 'named-initializer',\n    initialize\n  };\n  ```\n\n  * `before` and `after` are used to ensure that this initializer is ran prior\n  or after the one identified by the value. This value can be a single string\n  or an array of strings, referencing the `name` of other initializers.\n\n  An example of ordering initializers, we create an initializer named `first`:\n\n  ```app/initializer/first.js\n  import { debug } from '@ember/debug';\n\n  export function initialize() {\n    debug('First initializer!');\n  }\n\n  export default {\n    name: 'first',\n    initialize\n  };\n  ```\n\n  ```bash\n  // DEBUG: First initializer!\n  ```\n\n  We add another initializer named `second`, specifying that it should run\n  after the initializer named `first`:\n\n  ```app/initializer/second.js\n  import { debug } from '@ember/debug';\n\n  export function initialize() {\n    debug('Second initializer!');\n  }\n\n  export default {\n    name: 'second',\n    after: 'first',\n    initialize\n  };\n  ```\n\n  ```\n  // DEBUG: First initializer!\n  // DEBUG: Second initializer!\n  ```\n\n  Afterwards we add a further initializer named `pre`, this time specifying\n  that it should run before the initializer named `first`:\n\n  ```app/initializer/pre.js\n  import { debug } from '@ember/debug';\n\n  export function initialize() {\n    debug('Pre initializer!');\n  }\n\n  export default {\n    name: 'pre',\n    before: 'first',\n    initialize\n  };\n  ```\n\n  ```bash\n  // DEBUG: Pre initializer!\n  // DEBUG: First initializer!\n  // DEBUG: Second initializer!\n  ```\n\n  Finally we add an initializer named `post`, specifying it should run after\n  both the `first` and the `second` initializers:\n\n  ```app/initializer/post.js\n  import { debug } from '@ember/debug';\n\n  export function initialize() {\n    debug('Post initializer!');\n  }\n\n  export default {\n    name: 'post',\n    after: ['first', 'second'],\n    initialize\n  };\n  ```\n\n  ```bash\n  // DEBUG: Pre initializer!\n  // DEBUG: First initializer!\n  // DEBUG: Second initializer!\n  // DEBUG: Post initializer!\n  ```\n\n  * `initialize` is a callback function that receives one argument,\n    `application`, on which you can operate.\n\n  Example of using `application` to register an adapter:\n\n  ```app/initializer/api-adapter.js\n  import ApiAdapter from '../utils/api-adapter';\n\n  export function initialize(application) {\n    application.register('api-adapter:main', ApiAdapter);\n  }\n\n  export default {\n    name: 'post',\n    after: ['first', 'second'],\n    initialize\n  };\n  ```\n\n  @method initializer\n  @param initializer {Object}\n  @public\n*/\nEngine.initializer = buildInitializerMethod('initializers', 'initializer');\n/**\n  Instance initializers run after all initializers have run. Because\n  instance initializers run after the app is fully set up. We have access\n  to the store, container, and other items. However, these initializers run\n  after code has loaded and are not allowed to defer readiness.\n\n  Instance initializer receives an object which has the following attributes:\n  `name`, `before`, `after`, `initialize`. The only required attribute is\n  `initialize`, all others are optional.\n\n  * `name` allows you to specify under which name the instanceInitializer is\n  registered. This must be a unique name, as trying to register two\n  instanceInitializer with the same name will result in an error.\n\n  ```app/initializer/named-instance-initializer.js\n  import { debug } from '@ember/debug';\n\n  export function initialize() {\n    debug('Running named-instance-initializer!');\n  }\n\n  export default {\n    name: 'named-instance-initializer',\n    initialize\n  };\n  ```\n\n  * `before` and `after` are used to ensure that this initializer is ran prior\n  or after the one identified by the value. This value can be a single string\n  or an array of strings, referencing the `name` of other initializers.\n\n  * See Application.initializer for discussion on the usage of before\n  and after.\n\n  Example instanceInitializer to preload data into the store.\n\n  ```app/initializer/preload-data.js\n\n  export function initialize(application) {\n      var userConfig, userConfigEncoded, store;\n      // We have a HTML escaped JSON representation of the user's basic\n      // configuration generated server side and stored in the DOM of the main\n      // index.html file. This allows the app to have access to a set of data\n      // without making any additional remote calls. Good for basic data that is\n      // needed for immediate rendering of the page. Keep in mind, this data,\n      // like all local models and data can be manipulated by the user, so it\n      // should not be relied upon for security or authorization.\n\n      // Grab the encoded data from the meta tag\n      userConfigEncoded = document.querySelector('head meta[name=app-user-config]').attr('content');\n\n      // Unescape the text, then parse the resulting JSON into a real object\n      userConfig = JSON.parse(unescape(userConfigEncoded));\n\n      // Lookup the store\n      store = application.lookup('service:store');\n\n      // Push the encoded JSON into the store\n      store.pushPayload(userConfig);\n  }\n\n  export default {\n    name: 'named-instance-initializer',\n    initialize\n  };\n  ```\n\n  @method instanceInitializer\n  @param instanceInitializer\n  @public\n*/\nEngine.instanceInitializer = buildInitializerMethod('instanceInitializers', 'instance initializer');\n/**\n  This function defines the default lookup rules for container lookups:\n\n  * templates are looked up on `Ember.TEMPLATES`\n  * other names are looked up on the application after classifying the name.\n    For example, `controller:post` looks up `App.PostController` by default.\n  * if the default lookup fails, look for registered classes on the container\n\n  This allows the application to register default injections in the container\n  that could be overridden by the normal naming convention.\n\n  @private\n  @method resolverFor\n  @param {Ember.Enginer} namespace the namespace to look for classes\n  @return {*} the resolved value for a given lookup\n*/\nfunction resolverFor(namespace) {\n  let ResolverClass = namespace.Resolver;\n  let props = {\n    namespace\n  };\n  return ResolverClass.create(props);\n}\n/** @internal */\nexport function buildInitializerMethod(bucketName, humanName) {\n  return function (initializer) {\n    // If this is the first initializer being added to a subclass, we are going to reopen the class\n    // to make sure we have a new `initializers` object, which extends from the parent class' using\n    // prototypal inheritance. Without this, attempting to add initializers to the subclass would\n    // pollute the parent class as well as other subclasses.\n    // SAFETY: The superclass may be an Engine, we don't call unless we confirmed it was ok.\n    let superclass = this.superclass;\n    if (superclass[bucketName] !== undefined && superclass[bucketName] === this[bucketName]) {\n      let attrs = {\n        [bucketName]: Object.create(this[bucketName])\n      };\n      this.reopenClass(attrs);\n    }\n    assert(`The ${humanName} '${initializer.name}' has already been registered`, !this[bucketName][initializer.name]);\n    assert(`An ${humanName} cannot be registered without an initialize function`, canInvoke(initializer, 'initialize'));\n    assert(`An ${humanName} cannot be registered without a name property`, initializer.name !== undefined);\n    let initializers = this[bucketName];\n    initializers[initializer.name] = initializer;\n  };\n}\nfunction commonSetupRegistry(registry) {\n  registry.optionsForType('component', {\n    singleton: false\n  });\n  registry.optionsForType('view', {\n    singleton: false\n  });\n  registry.register('controller:basic', Controller, {\n    instantiate: false\n  });\n  // Register the routing service...\n  registry.register('service:-routing', RoutingService);\n  // DEBUGGING\n  registry.register('resolver-for-debugging:main', registry.resolver, {\n    instantiate: false\n  });\n  registry.register('container-debug-adapter:main', ContainerDebugAdapter);\n  registry.register('component-lookup:main', ComponentLookup);\n}\nexport default Engine;","/**\n@module @ember/engine\n*/\nimport EmberObject from '@ember/object';\nimport { RSVP } from '@ember/-internals/runtime';\nimport { assert } from '@ember/debug';\nimport { Registry, privatize as P } from '@ember/-internals/container';\nimport { guidFor } from '@ember/-internals/utils';\nimport { ENGINE_PARENT, getEngineParent, setEngineParent } from './lib/engine-parent';\nimport { ContainerProxyMixin, RegistryProxyMixin } from '@ember/-internals/runtime';\nimport { isFactory } from '@ember/-internals/owner';\nimport Engine from '@ember/engine';\nconst CEngine = Engine;\nclass EngineInstance extends EmberObject.extend(RegistryProxyMixin, ContainerProxyMixin) {\n  constructor() {\n    super(...arguments);\n    this._booted = false;\n    this._bootPromise = null;\n  }\n  /**\n   @private\n   @method setupRegistry\n   @param {Registry} registry\n   @param {BootOptions} options\n   */\n  // This is effectively an \"abstract\" method: it defines the contract a\n  // subclass (e.g. `ApplicationInstance`) must follow to implement this\n  // behavior, but an `EngineInstance` has no behavior of its own here.\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n  static setupRegistry(_registry, _options) {}\n  init(properties) {\n    var _a;\n    super.init(properties);\n    // Ensure the guid gets setup for this instance\n    guidFor(this);\n    (_a = this.base) !== null && _a !== void 0 ? _a : this.base = this.application;\n    // Create a per-instance registry that will use the application's registry\n    // as a fallback for resolving registrations.\n    let registry = this.__registry__ = new Registry({\n      fallback: this.base.__registry__\n    });\n    // Create a per-instance container from the instance's registry\n    this.__container__ = registry.container({\n      owner: this\n    });\n    this._booted = false;\n  }\n  /**\n    Initialize the `EngineInstance` and return a promise that resolves\n    with the instance itself when the boot process is complete.\n       The primary task here is to run any registered instance initializers.\n       See the documentation on `BootOptions` for the options it takes.\n       @public\n    @method boot\n    @param options {Object}\n    @return {Promise<EngineInstance,Error>}\n  */\n  boot(options) {\n    if (this._bootPromise) {\n      return this._bootPromise;\n    }\n    this._bootPromise = new RSVP.Promise(resolve => {\n      resolve(this._bootSync(options));\n    });\n    return this._bootPromise;\n  }\n  /**\n    Unfortunately, a lot of existing code assumes booting an instance is\n    synchronous – specifically, a lot of tests assume the last call to\n    `app.advanceReadiness()` or `app.reset()` will result in a new instance\n    being fully-booted when the current runloop completes.\n       We would like new code (like the `visit` API) to stop making this\n    assumption, so we created the asynchronous version above that returns a\n    promise. But until we have migrated all the code, we would have to expose\n    this method for use *internally* in places where we need to boot an instance\n    synchronously.\n       @private\n  */\n  _bootSync(options) {\n    if (this._booted) {\n      return this;\n    }\n    assert(\"An engine instance's parent must be set via `setEngineParent(engine, parent)` prior to calling `engine.boot()`.\", getEngineParent(this));\n    this.cloneParentDependencies();\n    this.setupRegistry(options);\n    this.base.runInstanceInitializers(this);\n    this._booted = true;\n    return this;\n  }\n  setupRegistry(options = this.__container__.lookup('-environment:main')) {\n    this.constructor.setupRegistry(this.__registry__, options);\n  }\n  /**\n   Unregister a factory.\n      Overrides `RegistryProxy#unregister` in order to clear any cached instances\n   of the unregistered factory.\n      @public\n   @method unregister\n   @param {String} fullName\n   */\n  unregister(fullName) {\n    this.__container__.reset(fullName);\n    // We overwrote this method from RegistryProxyMixin.\n    this.__registry__.unregister(fullName);\n  }\n  /**\n    Build a new `EngineInstance` that's a child of this instance.\n       Engines must be registered by name with their parent engine\n    (or application).\n       @private\n    @method buildChildEngineInstance\n    @param name {String} the registered name of the engine.\n    @param options {Object} options provided to the engine instance.\n    @return {EngineInstance,Error}\n  */\n  buildChildEngineInstance(name, options = {}) {\n    let Engine = this.lookup(`engine:${name}`);\n    if (!Engine) {\n      throw new Error(`You attempted to mount the engine '${name}', but it is not registered with its parent.`);\n    }\n    assert('expected an Engine', Engine instanceof CEngine);\n    let engineInstance = Engine.buildInstance(options);\n    setEngineParent(engineInstance, this);\n    return engineInstance;\n  }\n  /**\n    Clone dependencies shared between an engine instance and its parent.\n       @private\n    @method cloneParentDependencies\n  */\n  cloneParentDependencies() {\n    const parent = getEngineParent(this);\n    assert('expected parent', parent);\n    let registrations = ['route:basic', 'service:-routing'];\n    registrations.forEach(key => {\n      let registration = parent.resolveRegistration(key);\n      assert('expected registration to be a factory', isFactory(registration));\n      this.register(key, registration);\n    });\n    let env = parent.lookup('-environment:main');\n    this.register('-environment:main', env, {\n      instantiate: false\n    });\n    // The type annotation forces TS to (a) validate that these match and (b)\n    // *notice* that they match, e.g. below on the `singletons.push()`.\n    let singletons = ['router:main', P`-bucket-cache:main`, '-view-registry:main', `renderer:-dom`, 'service:-document'];\n    if (env['isInteractive']) {\n      singletons.push('event_dispatcher:main');\n    }\n    singletons.forEach(key => {\n      // SAFETY: We already expect this to be a singleton\n      let singleton = parent.lookup(key);\n      this.register(key, singleton, {\n        instantiate: false\n      });\n    });\n  }\n}\nexport default EngineInstance;","export const ENGINE_PARENT = Symbol('ENGINE_PARENT');\n/**\n  `getEngineParent` retrieves an engine instance's parent instance.\n\n  @method getEngineParent\n  @param {EngineInstance} engine An engine instance.\n  @return {EngineInstance} The parent engine instance.\n  @for @ember/engine\n  @static\n  @private\n*/\nexport function getEngineParent(engine) {\n  return engine[ENGINE_PARENT];\n}\n/**\n  `setEngineParent` sets an engine instance's parent instance.\n\n  @method setEngineParent\n  @param {EngineInstance} engine An engine instance.\n  @param {EngineInstance} parent The parent engine instance.\n  @private\n*/\nexport function setEngineParent(engine, parent) {\n  engine[ENGINE_PARENT] = parent;\n}","import Mixin from '@ember/object/mixin';\nconst Enumerable = Mixin.create();\nexport default Enumerable;","import Enumerable from '@ember/enumerable';\nimport Mixin from '@ember/object/mixin';\nconst MutableEnumerable = Mixin.create(Enumerable);\nexport default MutableEnumerable;","import { deprecate } from '@ember/debug';\nimport { DEBUG } from '@glimmer/env';\n/**\n  The JavaScript Error object used by Ember.assert.\n\n  @class Error\n  @namespace Ember\n  @extends Error\n  @constructor\n  @public\n  @deprecated\n*/\nlet EmberError;\nif (DEBUG) {\n  // eslint-disable-next-line no-inner-declarations\n  function EmberDebugConstructor(message) {\n    deprecate('The @ember/error package merely re-exported the native Error and is deprecated. Please use a native Error directly instead.', false, {\n      id: 'deprecate-ember-error',\n      until: '5.0.0',\n      url: 'https://deprecations.emberjs.com/v4.x/#toc_deprecate-ember-error',\n      for: 'ember-source',\n      since: {\n        available: '4.10.0',\n        enabled: '4.10.0'\n      }\n    });\n    return new Error(message);\n  }\n  EmberDebugConstructor.prototype = Error.prototype;\n  // SAFETY: We need this cast since our EmberDebugConstructor doesn't define a type for `new` even though it will work with `new`.\n  EmberError = EmberDebugConstructor;\n} else {\n  EmberError = Error;\n}\nexport default EmberError;","/* eslint no-console:off */\n/* global console */\nimport { ENV } from '@ember/-internals/environment';\nimport { assert } from '@ember/debug';\n/**\n@module @ember/instrumentation\n@private\n*/\n/**\n  The purpose of the Ember Instrumentation module is\n  to provide efficient, general-purpose instrumentation\n  for Ember.\n\n  Subscribe to a listener by using `subscribe`:\n\n  ```javascript\n  import { subscribe } from '@ember/instrumentation';\n\n  subscribe(\"render\", {\n    before(name, timestamp, payload) {\n\n    },\n\n    after(name, timestamp, payload) {\n\n    }\n  });\n  ```\n\n  If you return a value from the `before` callback, that same\n  value will be passed as a fourth parameter to the `after`\n  callback.\n\n  Instrument a block of code by using `instrument`:\n\n  ```javascript\n  import { instrument } from '@ember/instrumentation';\n\n  instrument(\"render.handlebars\", payload, function() {\n    // rendering logic\n  }, binding);\n  ```\n\n  Event names passed to `instrument` are namespaced\n  by periods, from more general to more specific. Subscribers\n  can listen for events by whatever level of granularity they\n  are interested in.\n\n  In the above example, the event is `render.handlebars`,\n  and the subscriber listened for all events beginning with\n  `render`. It would receive callbacks for events named\n  `render`, `render.handlebars`, `render.container`, or\n  even `render.handlebars.layout`.\n\n  @class Instrumentation\n  @static\n  @private\n*/\nexport let subscribers = [];\nlet cache = {};\nfunction populateListeners(name) {\n  let listeners = [];\n  for (let subscriber of subscribers) {\n    if (subscriber.regex.test(name)) {\n      listeners.push(subscriber.object);\n    }\n  }\n  cache[name] = listeners;\n  return listeners;\n}\nconst time = (() => {\n  let perf = 'undefined' !== typeof window ? window.performance || {} : {};\n  let fn = perf.now || perf.mozNow || perf.webkitNow || perf.msNow || perf.oNow;\n  return fn ? fn.bind(perf) : Date.now;\n})();\nfunction isCallback(value) {\n  return typeof value === 'function';\n}\nexport function instrument(name, p1, p2, p3) {\n  let _payload;\n  let callback;\n  let binding;\n  if (arguments.length <= 3 && isCallback(p1)) {\n    callback = p1;\n    binding = p2;\n  } else {\n    _payload = p1;\n    callback = p2;\n    binding = p3;\n  }\n  // fast path\n  if (subscribers.length === 0) {\n    return callback.call(binding);\n  }\n  // avoid allocating the payload in fast path\n  let payload = _payload || {};\n  let finalizer = _instrumentStart(name, () => payload);\n  if (finalizer === NOOP) {\n    return callback.call(binding);\n  } else {\n    return withFinalizer(callback, finalizer, payload, binding);\n  }\n}\nexport function flaggedInstrument(_name, _payload, callback) {\n  return callback();\n}\nfunction withFinalizer(callback, finalizer, payload, binding) {\n  try {\n    return callback.call(binding);\n  } catch (e) {\n    payload.exception = e;\n    throw e;\n  } finally {\n    finalizer();\n  }\n}\nfunction NOOP() {}\nexport function _instrumentStart(name, payloadFunc, payloadArg) {\n  if (subscribers.length === 0) {\n    return NOOP;\n  }\n  let listeners = cache[name];\n  if (!listeners) {\n    listeners = populateListeners(name);\n  }\n  if (listeners.length === 0) {\n    return NOOP;\n  }\n  let payload = payloadFunc(payloadArg);\n  let STRUCTURED_PROFILE = ENV.STRUCTURED_PROFILE;\n  let timeName;\n  if (STRUCTURED_PROFILE) {\n    timeName = `${name}: ${payload.object}`;\n    console.time(timeName);\n  }\n  let beforeValues = [];\n  let timestamp = time();\n  for (let listener of listeners) {\n    beforeValues.push(listener.before(name, timestamp, payload));\n  }\n  const constListeners = listeners;\n  return function _instrumentEnd() {\n    let timestamp = time();\n    for (let i = 0; i < constListeners.length; i++) {\n      let listener = constListeners[i];\n      assert('has listener', listener); // Iterating over values\n      if (typeof listener.after === 'function') {\n        listener.after(name, timestamp, payload, beforeValues[i]);\n      }\n    }\n    if (STRUCTURED_PROFILE) {\n      console.timeEnd(timeName);\n    }\n  };\n}\n/**\n  Subscribes to a particular event or instrumented block of code.\n\n  @method subscribe\n  @for @ember/instrumentation\n  @static\n\n  @param {String} [pattern] Namespaced event name.\n  @param {Object} [object] Before and After hooks.\n\n  @return {Subscriber}\n  @private\n*/\nexport function subscribe(pattern, object) {\n  let paths = pattern.split('.');\n  let regexes = [];\n  for (let path of paths) {\n    if (path === '*') {\n      regexes.push('[^\\\\.]*');\n    } else {\n      regexes.push(path);\n    }\n  }\n  let regex = regexes.join('\\\\.');\n  regex = `${regex}(\\\\..*)?`;\n  let subscriber = {\n    pattern,\n    regex: new RegExp(`^${regex}$`),\n    object\n  };\n  subscribers.push(subscriber);\n  cache = {};\n  return subscriber;\n}\n/**\n  Unsubscribes from a particular event or instrumented block of code.\n\n  @method unsubscribe\n  @for @ember/instrumentation\n  @static\n\n  @param {Object} [subscriber]\n  @private\n*/\nexport function unsubscribe(subscriber) {\n  let index = 0;\n  for (let i = 0; i < subscribers.length; i++) {\n    if (subscribers[i] === subscriber) {\n      index = i;\n    }\n  }\n  subscribers.splice(index, 1);\n  cache = {};\n}\n/**\n  Resets `Instrumentation` by flushing list of subscribers.\n\n  @method reset\n  @for @ember/instrumentation\n  @static\n  @private\n*/\nexport function reset() {\n  subscribers.length = 0;\n  cache = {};\n}","var _a;\nexport { getCachedValueFor as cacheFor } from '@ember/-internals/metal';\nexport { guidFor } from '@ember/-internals/utils';\nimport { addListener } from '@ember/-internals/metal';\nimport { assert } from '@ember/debug';\nimport { symbol } from '@ember/-internals/utils';\nimport { DEBUG } from '@glimmer/env';\nimport EmberObject from '.';\nlet FrameworkObject = class FrameworkObject extends EmberObject {};\nif (DEBUG) {\n  const INIT_WAS_CALLED = Symbol('INIT_WAS_CALLED');\n  let ASSERT_INIT_WAS_CALLED = symbol('ASSERT_INIT_WAS_CALLED');\n  FrameworkObject = class DebugFrameworkObject extends EmberObject {\n    constructor() {\n      super(...arguments);\n      this[_a] = false;\n    }\n    init(properties) {\n      super.init(properties);\n      this[INIT_WAS_CALLED] = true;\n    }\n    [(_a = INIT_WAS_CALLED, ASSERT_INIT_WAS_CALLED)]() {\n      assert(`You must call \\`super.init(...arguments);\\` or \\`this._super(...arguments)\\` when overriding \\`init\\` on a framework object. Please update ${this} to call \\`super.init(...arguments);\\` from \\`init\\` when using native classes or \\`this._super(...arguments)\\` when using \\`EmberObject.extend()\\`.`, this[INIT_WAS_CALLED]);\n    }\n  };\n  addListener(FrameworkObject.prototype, 'init', null, ASSERT_INIT_WAS_CALLED);\n}\nexport { FrameworkObject };","import { descriptorForProperty, isElementDescriptor, setClassicDecorator } from '@ember/-internals/metal';\nimport { assert } from '@ember/debug';\nimport { consumeTag, tagFor, track, updateTag } from '@glimmer/validator';\nlet wrapGetterSetter = function (target, key, desc) {\n  let {\n    get: originalGet\n  } = desc;\n  assert('You attempted to use @dependentKeyCompat on a property that already has been decorated with either @computed or @tracked. @dependentKeyCompat is only necessary for native getters that are not decorated with @computed.', descriptorForProperty(target, key) === undefined);\n  if (originalGet !== undefined) {\n    desc.get = function () {\n      let propertyTag = tagFor(this, key);\n      let ret;\n      let tag = track(() => {\n        ret = originalGet.call(this);\n      });\n      updateTag(propertyTag, tag);\n      consumeTag(tag);\n      return ret;\n    };\n  }\n  return desc;\n};\nexport function dependentKeyCompat(...args) {\n  if (isElementDescriptor(args)) {\n    let [target, key, desc] = args;\n    assert('The @dependentKeyCompat decorator must be applied to getters/setters when used in native classes', desc != null && (typeof desc.get === 'function' || typeof desc.set === 'function'));\n    return wrapGetterSetter(target, key, desc);\n  } else {\n    const desc = args[0];\n    assert('expected valid PropertyDescriptor', (value => {\n      if (value && typeof value === 'object') {\n        let cast = value;\n        return (cast.configurable === undefined || cast.configurable === false || cast.configurable === true) && (cast.enumerable === undefined || cast.enumerable === false || cast.enumerable === true) && (cast.writable === undefined || cast.writable === false || cast.writable === true) && (cast.get === undefined || typeof cast.get === 'function') && (cast.set === undefined || typeof cast.set === 'function');\n      }\n      return false;\n    })(desc));\n    let decorator = function (target, key, _desc, _meta, isClassicDecorator) {\n      assert('The @dependentKeyCompat decorator may only be passed a method when used in classic classes. You should decorate getters/setters directly in native classes', isClassicDecorator);\n      assert('The dependentKeyCompat() decorator must be passed a getter or setter when used in classic classes', typeof desc.get === 'function' || typeof desc.set === 'function');\n      return wrapGetterSetter(target, key, desc);\n    };\n    setClassicDecorator(decorator);\n    return decorator;\n  }\n}\nsetClassicDecorator(dependentKeyCompat);","/**\n  @module @ember/object/core\n*/\nimport { getFactoryFor, setFactoryFor } from '@ember/-internals/container';\nimport { getOwner } from '@ember/-internals/owner';\nimport { guidFor, isInternalSymbol } from '@ember/-internals/utils';\nimport { meta } from '@ember/-internals/meta';\nimport { PROXY_CONTENT, sendEvent, activateObserver, defineProperty, descriptorForProperty, isClassicDecorator, DEBUG_INJECTION_FUNCTIONS, hasUnknownProperty } from '@ember/-internals/metal';\nimport Mixin, { applyMixin } from '@ember/object/mixin';\nimport { ActionHandler } from '@ember/-internals/runtime';\nimport { makeArray } from '@ember/array';\nimport { assert } from '@ember/debug';\nimport { DEBUG } from '@glimmer/env';\nimport { _WeakSet as WeakSet } from '@glimmer/util';\nimport { destroy, isDestroying, isDestroyed, registerDestructor } from '@glimmer/destroyable';\nimport { OWNER } from '@glimmer/owner';\nfunction hasSetUnknownProperty(val) {\n  return typeof val === 'object' && val !== null && typeof val.setUnknownProperty === 'function';\n}\nfunction hasToStringExtension(val) {\n  return typeof val === 'object' && val !== null && typeof val.toStringExtension === 'function';\n}\nconst reopen = Mixin.prototype.reopen;\nconst wasApplied = new WeakSet();\nconst prototypeMixinMap = new WeakMap();\nconst initCalled = DEBUG ? new WeakSet() : undefined; // only used in debug builds to enable the proxy trap\nconst destroyCalled = new Set();\nfunction ensureDestroyCalled(instance) {\n  if (!destroyCalled.has(instance)) {\n    instance.destroy();\n  }\n}\nfunction initialize(obj, properties) {\n  let m = meta(obj);\n  if (properties !== undefined) {\n    assert('EmberObject.create only accepts objects.', typeof properties === 'object' && properties !== null);\n    assert('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof Mixin));\n    let concatenatedProperties = obj.concatenatedProperties;\n    let mergedProperties = obj.mergedProperties;\n    let keyNames = Object.keys(properties);\n    for (let keyName of keyNames) {\n      let value = properties[keyName];\n      assert('EmberObject.create no longer supports defining computed ' + 'properties. Define computed properties using extend() or reopen() ' + 'before calling create().', !isClassicDecorator(value));\n      assert('EmberObject.create no longer supports defining methods that call _super.', !(typeof value === 'function' && value.toString().indexOf('._super') !== -1));\n      assert('`actions` must be provided at extend time, not at create time, ' + 'when Ember.ActionHandler is used (i.e. views, controllers & routes).', !(keyName === 'actions' && ActionHandler.detect(obj)));\n      let possibleDesc = descriptorForProperty(obj, keyName, m);\n      let isDescriptor = possibleDesc !== undefined;\n      if (!isDescriptor) {\n        if (concatenatedProperties !== undefined && concatenatedProperties.length > 0 && concatenatedProperties.includes(keyName)) {\n          let baseValue = obj[keyName];\n          if (baseValue) {\n            value = makeArray(baseValue).concat(value);\n          } else {\n            value = makeArray(value);\n          }\n        }\n        if (mergedProperties !== undefined && mergedProperties.length > 0 && mergedProperties.includes(keyName)) {\n          let baseValue = obj[keyName];\n          value = Object.assign({}, baseValue, value);\n        }\n      }\n      if (isDescriptor) {\n        possibleDesc.set(obj, keyName, value);\n      } else if (hasSetUnknownProperty(obj) && !(keyName in obj)) {\n        obj.setUnknownProperty(keyName, value);\n      } else {\n        if (DEBUG) {\n          defineProperty(obj, keyName, null, value, m); // setup mandatory setter\n        } else {\n          obj[keyName] = value;\n        }\n      }\n    }\n  }\n  // using DEBUG here to avoid the extraneous variable when not needed\n  if (DEBUG) {\n    initCalled.add(obj);\n  }\n  obj.init(properties);\n  m.unsetInitializing();\n  let observerEvents = m.observerEvents();\n  if (observerEvents !== undefined) {\n    for (let i = 0; i < observerEvents.length; i++) {\n      activateObserver(obj, observerEvents[i].event, observerEvents[i].sync);\n    }\n  }\n  sendEvent(obj, 'init', undefined, undefined, m);\n}\nclass CoreObject {\n  constructor(owner) {\n    this[OWNER] = owner;\n    // prepare prototype...\n    this.constructor.proto();\n    let self;\n    if (DEBUG && hasUnknownProperty(this)) {\n      let messageFor = (obj, property) => {\n        return `You attempted to access the \\`${String(property)}\\` property (of ${obj}).\\n` + `Since Ember 3.1, this is usually fine as you no longer need to use \\`.get()\\`\\n` + `to access computed properties. However, in this case, the object in question\\n` + `is a special kind of Ember object (a proxy). Therefore, it is still necessary\\n` + `to use \\`.get('${String(property)}')\\` in this case.\\n\\n` + `If you encountered this error because of third-party code that you don't control,\\n` + `there is more information at https://github.com/emberjs/ember.js/issues/16148, and\\n` + `you can help us improve this error message by telling us more about what happened in\\n` + `this situation.`;\n      };\n      /* globals Proxy Reflect */\n      self = new Proxy(this, {\n        get(target, property, receiver) {\n          if (property === PROXY_CONTENT) {\n            return target;\n          } else if (\n          // init called will be set on the proxy, not the target, so get with the receiver\n          !initCalled.has(receiver) || typeof property === 'symbol' || isInternalSymbol(property) || property === 'toJSON' || property === 'toString' || property === 'toStringExtension' || property === 'didDefineProperty' || property === 'willWatchProperty' || property === 'didUnwatchProperty' || property === 'didAddListener' || property === 'didRemoveListener' || property === 'isDescriptor' || property === '_onLookup' || property in target) {\n            return Reflect.get(target, property, receiver);\n          }\n          let value = target.unknownProperty.call(receiver, property);\n          if (typeof value !== 'function') {\n            assert(messageFor(receiver, property), value === undefined || value === null);\n          }\n        }\n      });\n    } else {\n      self = this;\n    }\n    const destroyable = self;\n    registerDestructor(self, ensureDestroyCalled, true);\n    registerDestructor(self, () => destroyable.willDestroy());\n    // disable chains\n    let m = meta(self);\n    m.setInitializing();\n    // only return when in debug builds and `self` is the proxy created above\n    if (DEBUG && self !== this) {\n      return self;\n    }\n  }\n  reopen(...args) {\n    applyMixin(this, args);\n    return this;\n  }\n  /**\n    An overridable method called when objects are instantiated. By default,\n    does nothing unless it is overridden during class definition.\n       Example:\n       ```javascript\n    import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n      init() {\n        alert(`Name is ${this.get('name')}`);\n      }\n    });\n       let steve = Person.create({\n      name: 'Steve'\n    });\n       // alerts 'Name is Steve'.\n    ```\n       NOTE: If you do override `init` for a framework class like `Component`\n    from `@ember/component`, be sure to call `this._super(...arguments)`\n    in your `init` declaration!\n    If you don't, Ember may not have an opportunity to\n    do important setup work, and you'll see strange behavior in your\n    application.\n       @method init\n    @public\n  */\n  init(_properties) {}\n  /**\n    Defines the properties that will be concatenated from the superclass\n    (instead of overridden).\n       By default, when you extend an Ember class a property defined in\n    the subclass overrides a property with the same name that is defined\n    in the superclass. However, there are some cases where it is preferable\n    to build up a property's value by combining the superclass' property\n    value with the subclass' value. An example of this in use within Ember\n    is the `classNames` property of `Component` from `@ember/component`.\n       Here is some sample code showing the difference between a concatenated\n    property and a normal one:\n       ```javascript\n    import EmberObject from '@ember/object';\n       const Bar = EmberObject.extend({\n      // Configure which properties to concatenate\n      concatenatedProperties: ['concatenatedProperty'],\n         someNonConcatenatedProperty: ['bar'],\n      concatenatedProperty: ['bar']\n    });\n       const FooBar = Bar.extend({\n      someNonConcatenatedProperty: ['foo'],\n      concatenatedProperty: ['foo']\n    });\n       let fooBar = FooBar.create();\n    fooBar.get('someNonConcatenatedProperty'); // ['foo']\n    fooBar.get('concatenatedProperty'); // ['bar', 'foo']\n    ```\n       This behavior extends to object creation as well. Continuing the\n    above example:\n       ```javascript\n    let fooBar = FooBar.create({\n      someNonConcatenatedProperty: ['baz'],\n      concatenatedProperty: ['baz']\n    })\n    fooBar.get('someNonConcatenatedProperty'); // ['baz']\n    fooBar.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n    ```\n       Adding a single property that is not an array will just add it in the array:\n       ```javascript\n    let fooBar = FooBar.create({\n      concatenatedProperty: 'baz'\n    })\n    view.get('concatenatedProperty'); // ['bar', 'foo', 'baz']\n    ```\n       Using the `concatenatedProperties` property, we can tell Ember to mix the\n    content of the properties.\n       In `Component` the `classNames`, `classNameBindings` and\n    `attributeBindings` properties are concatenated.\n       This feature is available for you to use throughout the Ember object model,\n    although typical app developers are likely to use it infrequently. Since\n    it changes expectations about behavior of properties, you should properly\n    document its usage in each individual concatenated property (to not\n    mislead your users to think they can override the property in a subclass).\n       @property concatenatedProperties\n    @type Array\n    @default null\n    @public\n  */\n  /**\n    Defines the properties that will be merged from the superclass\n    (instead of overridden).\n       By default, when you extend an Ember class a property defined in\n    the subclass overrides a property with the same name that is defined\n    in the superclass. However, there are some cases where it is preferable\n    to build up a property's value by merging the superclass property value\n    with the subclass property's value. An example of this in use within Ember\n    is the `queryParams` property of routes.\n       Here is some sample code showing the difference between a merged\n    property and a normal one:\n       ```javascript\n    import EmberObject from '@ember/object';\n       const Bar = EmberObject.extend({\n      // Configure which properties are to be merged\n      mergedProperties: ['mergedProperty'],\n         someNonMergedProperty: {\n        nonMerged: 'superclass value of nonMerged'\n      },\n      mergedProperty: {\n        page: { replace: false },\n        limit: { replace: true }\n      }\n    });\n       const FooBar = Bar.extend({\n      someNonMergedProperty: {\n        completelyNonMerged: 'subclass value of nonMerged'\n      },\n      mergedProperty: {\n        limit: { replace: false }\n      }\n    });\n       let fooBar = FooBar.create();\n       fooBar.get('someNonMergedProperty');\n    // => { completelyNonMerged: 'subclass value of nonMerged' }\n    //\n    // Note the entire object, including the nonMerged property of\n    // the superclass object, has been replaced\n       fooBar.get('mergedProperty');\n    // => {\n    //   page: {replace: false},\n    //   limit: {replace: false}\n    // }\n    //\n    // Note the page remains from the superclass, and the\n    // `limit` property's value of `false` has been merged from\n    // the subclass.\n    ```\n       This behavior is not available during object `create` calls. It is only\n    available at `extend` time.\n       In `Route` the `queryParams` property is merged.\n       This feature is available for you to use throughout the Ember object model,\n    although typical app developers are likely to use it infrequently. Since\n    it changes expectations about behavior of properties, you should properly\n    document its usage in each individual merged property (to not\n    mislead your users to think they can override the property in a subclass).\n       @property mergedProperties\n    @type Array\n    @default null\n    @public\n  */\n  /**\n    Destroyed object property flag.\n       if this property is `true` the observers and bindings were already\n    removed by the effect of calling the `destroy()` method.\n       @property isDestroyed\n    @default false\n    @public\n  */\n  get isDestroyed() {\n    return isDestroyed(this);\n  }\n  set isDestroyed(_value) {\n    assert(`You cannot set \\`${this}.isDestroyed\\` directly, please use \\`.destroy()\\`.`, false);\n  }\n  /**\n    Destruction scheduled flag. The `destroy()` method has been called.\n       The object stays intact until the end of the run loop at which point\n    the `isDestroyed` flag is set.\n       @property isDestroying\n    @default false\n    @public\n  */\n  get isDestroying() {\n    return isDestroying(this);\n  }\n  set isDestroying(_value) {\n    assert(`You cannot set \\`${this}.isDestroying\\` directly, please use \\`.destroy()\\`.`, false);\n  }\n  /**\n    Destroys an object by setting the `isDestroyed` flag and removing its\n    metadata, which effectively destroys observers and bindings.\n       If you try to set a property on a destroyed object, an exception will be\n    raised.\n       Note that destruction is scheduled for the end of the run loop and does not\n    happen immediately.  It will set an isDestroying flag immediately.\n       @method destroy\n    @return {EmberObject} receiver\n    @public\n  */\n  destroy() {\n    // Used to ensure that manually calling `.destroy()` does not immediately call destroy again\n    destroyCalled.add(this);\n    try {\n      destroy(this);\n    } finally {\n      destroyCalled.delete(this);\n    }\n    return this;\n  }\n  /**\n    Override to implement teardown.\n       @method willDestroy\n    @public\n  */\n  willDestroy() {}\n  /**\n    Returns a string representation which attempts to provide more information\n    than Javascript's `toString` typically does, in a generic way for all Ember\n    objects.\n       ```javascript\n    import EmberObject from '@ember/object';\n       const Person = EmberObject.extend();\n    person = Person.create();\n    person.toString(); //=> \"<Person:ember1024>\"\n    ```\n       If the object's class is not defined on an Ember namespace, it will\n    indicate it is a subclass of the registered superclass:\n       ```javascript\n    const Student = Person.extend();\n    let student = Student.create();\n    student.toString(); //=> \"<(subclass of Person):ember1025>\"\n    ```\n       If the method `toStringExtension` is defined, its return value will be\n    included in the output.\n       ```javascript\n    const Teacher = Person.extend({\n      toStringExtension() {\n        return this.get('fullName');\n      }\n    });\n    teacher = Teacher.create();\n    teacher.toString(); //=> \"<Teacher:ember1026:Tom Dale>\"\n    ```\n       @method toString\n    @return {String} string representation\n    @public\n  */\n  toString() {\n    let extension = hasToStringExtension(this) ? `:${this.toStringExtension()}` : '';\n    return `<${getFactoryFor(this) || '(unknown)'}:${guidFor(this)}${extension}>`;\n  }\n  static extend(...mixins) {\n    let Class = class extends this {};\n    reopen.apply(Class.PrototypeMixin, mixins);\n    return Class;\n  }\n  static create(...args) {\n    let props = args[0];\n    let instance;\n    if (props !== undefined) {\n      instance = new this(getOwner(props));\n      // TODO(SAFETY): at present, we cannot actually rely on this being set,\n      // because a number of acceptance tests are (incorrectly? Unclear!)\n      // relying on the ability to run through this path with `factory` being\n      // `undefined`. It's *possible* that actually means that the type for\n      // `setFactoryFor()` should allow `undefined`, but we typed it the other\n      // way for good reason! Accordingly, this *casts* `factory`, and the\n      // commented-out `assert()` is here in the hope that we can enable it\n      // after addressing tests *or* updating the call signature here.\n      let factory = getFactoryFor(props);\n      // assert(`missing factory when creating object ${instance}`, factory !== undefined);\n      setFactoryFor(instance, factory);\n    } else {\n      instance = new this();\n    }\n    if (args.length <= 1) {\n      initialize(instance, props);\n    } else {\n      initialize(instance, flattenProps.apply(this, args));\n    }\n    return instance;\n  }\n  /**\n    Augments a constructor's prototype with additional\n    properties and functions:\n       ```javascript\n    import EmberObject from '@ember/object';\n       const MyObject = EmberObject.extend({\n      name: 'an object'\n    });\n       o = MyObject.create();\n    o.get('name'); // 'an object'\n       MyObject.reopen({\n      say(msg) {\n        console.log(msg);\n      }\n    });\n       o2 = MyObject.create();\n    o2.say('hello'); // logs \"hello\"\n       o.say('goodbye'); // logs \"goodbye\"\n    ```\n       To add functions and properties to the constructor itself,\n    see `reopenClass`\n       @method reopen\n    @for @ember/object\n    @static\n    @public\n  */\n  static reopen(...args) {\n    this.willReopen();\n    reopen.apply(this.PrototypeMixin, args);\n    return this;\n  }\n  static willReopen() {\n    let p = this.prototype;\n    if (wasApplied.has(p)) {\n      wasApplied.delete(p);\n      // If the base mixin already exists and was applied, create a new mixin to\n      // make sure that it gets properly applied. Reusing the same mixin after\n      // the first `proto` call will cause it to get skipped.\n      if (prototypeMixinMap.has(this)) {\n        prototypeMixinMap.set(this, Mixin.create(this.PrototypeMixin));\n      }\n    }\n  }\n  /**\n    Augments a constructor's own properties and functions:\n       ```javascript\n    import EmberObject from '@ember/object';\n       const MyObject = EmberObject.extend({\n      name: 'an object'\n    });\n       MyObject.reopenClass({\n      canBuild: false\n    });\n       MyObject.canBuild; // false\n    o = MyObject.create();\n    ```\n       In other words, this creates static properties and functions for the class.\n    These are only available on the class and not on any instance of that class.\n       ```javascript\n    import EmberObject from '@ember/object';\n       const Person = EmberObject.extend({\n      name: '',\n      sayHello() {\n        alert(`Hello. My name is ${this.get('name')}`);\n      }\n    });\n       Person.reopenClass({\n      species: 'Homo sapiens',\n         createPerson(name) {\n        return Person.create({ name });\n      }\n    });\n       let tom = Person.create({\n      name: 'Tom Dale'\n    });\n    let yehuda = Person.createPerson('Yehuda Katz');\n       tom.sayHello(); // \"Hello. My name is Tom Dale\"\n    yehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\n    alert(Person.species); // \"Homo sapiens\"\n    ```\n       Note that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\n    variables. They are only valid on `Person`.\n       To add functions and properties to instances of\n    a constructor by extending the constructor's prototype\n    see `reopen`\n       @method reopenClass\n    @for @ember/object\n    @static\n    @public\n  */\n  static reopenClass(...mixins) {\n    applyMixin(this, mixins);\n    return this;\n  }\n  static detect(obj) {\n    if ('function' !== typeof obj) {\n      return false;\n    }\n    while (obj) {\n      if (obj === this) {\n        return true;\n      }\n      obj = obj.superclass;\n    }\n    return false;\n  }\n  static detectInstance(obj) {\n    return obj instanceof this;\n  }\n  /**\n    In some cases, you may want to annotate computed properties with additional\n    metadata about how they function or what values they operate on. For\n    example, computed property functions may close over variables that are then\n    no longer available for introspection.\n       You can pass a hash of these values to a computed property like this:\n       ```javascript\n    import { computed } from '@ember/object';\n       person: computed(function() {\n      let personId = this.get('personId');\n      return Person.create({ id: personId });\n    }).meta({ type: Person })\n    ```\n       Once you've done this, you can retrieve the values saved to the computed\n    property from your class like this:\n       ```javascript\n    MyClass.metaForProperty('person');\n    ```\n       This will return the original hash that was passed to `meta()`.\n       @static\n    @method metaForProperty\n    @param key {String} property name\n    @private\n  */\n  static metaForProperty(key) {\n    let proto = this.proto(); // ensure prototype is initialized\n    let possibleDesc = descriptorForProperty(proto, key);\n    assert(`metaForProperty() could not find a computed property with key '${key}'.`, possibleDesc !== undefined);\n    return possibleDesc._meta || {};\n  }\n  /**\n    Iterate over each computed property for the class, passing its name\n    and any associated metadata (see `metaForProperty`) to the callback.\n       @static\n    @method eachComputedProperty\n    @param {Function} callback\n    @param {Object} binding\n    @private\n  */\n  static eachComputedProperty(callback, binding = this) {\n    this.proto(); // ensure prototype is initialized\n    let empty = {};\n    meta(this.prototype).forEachDescriptors((name, descriptor) => {\n      if (descriptor.enumerable) {\n        let meta = descriptor._meta || empty;\n        callback.call(binding, name, meta);\n      }\n    });\n  }\n  static get PrototypeMixin() {\n    let prototypeMixin = prototypeMixinMap.get(this);\n    if (prototypeMixin === undefined) {\n      prototypeMixin = Mixin.create();\n      prototypeMixin.ownerConstructor = this;\n      prototypeMixinMap.set(this, prototypeMixin);\n    }\n    return prototypeMixin;\n  }\n  static get superclass() {\n    let c = Object.getPrototypeOf(this);\n    return c !== Function.prototype ? c : undefined;\n  }\n  static proto() {\n    let p = this.prototype;\n    if (!wasApplied.has(p)) {\n      wasApplied.add(p);\n      let parent = this.superclass;\n      if (parent) {\n        parent.proto();\n      }\n      // If the prototype mixin exists, apply it. In the case of native classes,\n      // it will not exist (unless the class has been reopened).\n      if (prototypeMixinMap.has(this)) {\n        this.PrototypeMixin.apply(p);\n      }\n    }\n    return p;\n  }\n  static toString() {\n    return `<${getFactoryFor(this) || '(unknown)'}:constructor>`;\n  }\n}\nCoreObject.isClass = true;\nCoreObject.isMethod = false;\nfunction flattenProps(...props) {\n  let initProperties = {};\n  for (let properties of props) {\n    assert('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof Mixin));\n    let keyNames = Object.keys(properties);\n    for (let j = 0, k = keyNames.length; j < k; j++) {\n      let keyName = keyNames[j];\n      let value = properties[keyName];\n      initProperties[keyName] = value;\n    }\n  }\n  return initProperties;\n}\nif (DEBUG) {\n  /**\n    Provides lookup-time type validation for injected properties.\n       @private\n    @method _onLookup\n  */\n  CoreObject._onLookup = function injectedPropertyAssertion(debugContainerKey) {\n    let [type] = debugContainerKey.split(':');\n    let proto = this.proto();\n    for (let key in proto) {\n      let desc = descriptorForProperty(proto, key);\n      if (desc && DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n        assert(`Defining \\`${key}\\` as an injected controller property on a non-controller (\\`${debugContainerKey}\\`) is not allowed.`, type === 'controller' || DEBUG_INJECTION_FUNCTIONS.get(desc._getter).type !== 'controller');\n      }\n    }\n  };\n  /**\n    Returns a hash of property names and container names that injected\n    properties will lookup on the container lazily.\n       @method _lazyInjections\n    @return {Object} Hash of all lazy injected property keys to container names\n    @private\n  */\n  CoreObject._lazyInjections = function () {\n    let injections = {};\n    let proto = this.proto();\n    let key;\n    let desc;\n    for (key in proto) {\n      desc = descriptorForProperty(proto, key);\n      if (desc && DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n        let {\n          namespace,\n          source,\n          type,\n          name\n        } = DEBUG_INJECTION_FUNCTIONS.get(desc._getter);\n        injections[key] = {\n          namespace,\n          source,\n          specifier: `${type}:${name || key}`\n        };\n      }\n    }\n    return injections;\n  };\n}\nexport default CoreObject;","import { addListener, removeListener, hasListeners, sendEvent } from '@ember/-internals/metal';\nimport Mixin from '@ember/object/mixin';\nexport { on } from '@ember/-internals/metal';\nconst Evented = Mixin.create({\n  on(name, target, method) {\n    addListener(this, name, target, method);\n    return this;\n  },\n  one(name, target, method) {\n    addListener(this, name, target, method, true);\n    return this;\n  },\n  trigger(name, ...args) {\n    sendEvent(this, name, args);\n  },\n  off(name, target, method) {\n    removeListener(this, name, target, method);\n    return this;\n  },\n  has(name) {\n    return hasListeners(this, name);\n  }\n});\nexport default Evented;","import { assert } from '@ember/debug';\nimport { ENV } from '@ember/-internals/environment';\nimport { isElementDescriptor, expandProperties, setClassicDecorator } from '@ember/-internals/metal';\nimport { getFactoryFor } from '@ember/-internals/container';\nimport { setObservers } from '@ember/-internals/utils';\nimport CoreObject from '@ember/object/core';\nimport Observable from '@ember/object/observable';\nexport { notifyPropertyChange, defineProperty, get, set, getProperties, setProperties, computed, trySet } from '@ember/-internals/metal';\nclass EmberObject extends CoreObject.extend(Observable) {\n  get _debugContainerKey() {\n    let factory = getFactoryFor(this);\n    return factory !== undefined && factory.fullName;\n  }\n}\nexport default EmberObject;\n/**\n  Decorator that turns the target function into an Action which can be accessed\n  directly by reference.\n\n  ```js\n  import Component from '@ember/component';\n  import { action, set } from '@ember/object';\n\n  export default class Tooltip extends Component {\n    @action\n    toggleShowing() {\n      set(this, 'isShowing', !this.isShowing);\n    }\n  }\n  ```\n  ```hbs\n  <!-- template.hbs -->\n  <button {{action this.toggleShowing}}>Show tooltip</button>\n\n  {{#if isShowing}}\n    <div class=\"tooltip\">\n      I'm a tooltip!\n    </div>\n  {{/if}}\n  ```\n\n  Decorated actions also interop with the string style template actions:\n\n  ```hbs\n  <!-- template.hbs -->\n  <button {{action \"toggleShowing\"}}>Show tooltip</button>\n\n  {{#if isShowing}}\n    <div class=\"tooltip\">\n      I'm a tooltip!\n    </div>\n  {{/if}}\n  ```\n\n  It also binds the function directly to the instance, so it can be used in any\n  context and will correctly refer to the class it came from:\n\n  ```hbs\n  <!-- template.hbs -->\n  <button\n    {{did-insert this.toggleShowing}}\n    {{on \"click\" this.toggleShowing}}\n  >\n    Show tooltip\n  </button>\n\n  {{#if isShowing}}\n    <div class=\"tooltip\">\n      I'm a tooltip!\n    </div>\n  {{/if}}\n  ```\n\n  This can also be used in JavaScript code directly:\n\n  ```js\n  import Component from '@ember/component';\n  import { action, set } from '@ember/object';\n\n  export default class Tooltip extends Component {\n    constructor() {\n      super(...arguments);\n\n      // this.toggleShowing is still bound correctly when added to\n      // the event listener\n      document.addEventListener('click', this.toggleShowing);\n    }\n\n    @action\n    toggleShowing() {\n      set(this, 'isShowing', !this.isShowing);\n    }\n  }\n  ```\n\n  This is considered best practice, since it means that methods will be bound\n  correctly no matter where they are used. By contrast, the `{{action}}` helper\n  and modifier can also be used to bind context, but it will be required for\n  every usage of the method:\n\n  ```hbs\n  <!-- template.hbs -->\n  <button\n    {{did-insert (action this.toggleShowing)}}\n    {{on \"click\" (action this.toggleShowing)}}\n  >\n    Show tooltip\n  </button>\n\n  {{#if isShowing}}\n    <div class=\"tooltip\">\n      I'm a tooltip!\n    </div>\n  {{/if}}\n  ```\n\n  They also do not have equivalents in JavaScript directly, so they cannot be\n  used for other situations where binding would be useful.\n\n  @public\n  @method action\n  @for @ember/object\n  @static\n  @param {Function|undefined} callback The function to turn into an action,\n                                       when used in classic classes\n  @return {PropertyDecorator} property decorator instance\n*/\nconst BINDINGS_MAP = new WeakMap();\nfunction hasProto(obj) {\n  return obj != null && obj.constructor !== undefined && typeof obj.constructor.proto === 'function';\n}\nfunction setupAction(target, key, actionFn) {\n  if (hasProto(target)) {\n    target.constructor.proto();\n  }\n  if (!Object.prototype.hasOwnProperty.call(target, 'actions')) {\n    let parentActions = target.actions;\n    // we need to assign because of the way mixins copy actions down when inheriting\n    target.actions = parentActions ? Object.assign({}, parentActions) : {};\n  }\n  assert(\"[BUG] Somehow the target doesn't have actions!\", target.actions != null);\n  target.actions[key] = actionFn;\n  return {\n    get() {\n      let bindings = BINDINGS_MAP.get(this);\n      if (bindings === undefined) {\n        bindings = new Map();\n        BINDINGS_MAP.set(this, bindings);\n      }\n      let fn = bindings.get(actionFn);\n      if (fn === undefined) {\n        fn = actionFn.bind(this);\n        bindings.set(actionFn, fn);\n      }\n      return fn;\n    }\n  };\n}\nexport function action(...args) {\n  let actionFn;\n  if (!isElementDescriptor(args)) {\n    actionFn = args[0];\n    let decorator = function (target, key, _desc, _meta, isClassicDecorator) {\n      assert('The @action decorator may only be passed a method when used in classic classes. You should decorate methods directly in native classes', isClassicDecorator);\n      assert('The action() decorator must be passed a method when used in classic classes', typeof actionFn === 'function');\n      return setupAction(target, key, actionFn);\n    };\n    setClassicDecorator(decorator);\n    return decorator;\n  }\n  let [target, key, desc] = args;\n  actionFn = desc === null || desc === void 0 ? void 0 : desc.value;\n  assert('The @action decorator must be applied to methods when used in native classes', typeof actionFn === 'function');\n  // SAFETY: TS types are weird with decorators. This should work.\n  return setupAction(target, key, actionFn);\n}\n// SAFETY: TS types are weird with decorators. This should work.\nsetClassicDecorator(action);\n/**\n  Specify a method that observes property changes.\n\n  ```javascript\n  import EmberObject from '@ember/object';\n  import { observer } from '@ember/object';\n\n  export default EmberObject.extend({\n    valueObserver: observer('value', function() {\n      // Executes whenever the \"value\" property changes\n    })\n  });\n  ```\n\n  Also available as `Function.prototype.observes` if prototype extensions are\n  enabled.\n\n  @method observer\n  @for @ember/object\n  @param {String} propertyNames*\n  @param {Function} func\n  @return func\n  @public\n  @static\n*/\nexport function observer(...args) {\n  let funcOrDef = args.pop();\n  assert('observer must be provided a function or an observer definition', typeof funcOrDef === 'function' || typeof funcOrDef === 'object' && funcOrDef !== null);\n  let func;\n  let dependentKeys;\n  let sync;\n  if (typeof funcOrDef === 'function') {\n    func = funcOrDef;\n    dependentKeys = args;\n    sync = !ENV._DEFAULT_ASYNC_OBSERVERS;\n  } else {\n    func = funcOrDef.fn;\n    dependentKeys = funcOrDef.dependentKeys;\n    sync = funcOrDef.sync;\n  }\n  assert('observer called without a function', typeof func === 'function');\n  assert('observer called without valid path', Array.isArray(dependentKeys) && dependentKeys.length > 0 && dependentKeys.every(p => typeof p === 'string' && Boolean(p.length)));\n  assert('observer called without sync', typeof sync === 'boolean');\n  let paths = [];\n  for (let dependentKey of dependentKeys) {\n    expandProperties(dependentKey, path => paths.push(path));\n  }\n  setObservers(func, {\n    paths,\n    sync\n  });\n  return func;\n}","import { computed, isElementDescriptor, alias, expandProperties } from '@ember/-internals/metal';\nimport { get, set } from '@ember/object';\nimport { assert, deprecate } from '@ember/debug';\nimport { isEmpty, isNone } from '@ember/utils';\n/**\n@module @ember/object\n*/\nfunction expandPropertiesToArray(predicateName, properties) {\n  let expandedProperties = [];\n  function extractProperty(entry) {\n    expandedProperties.push(entry);\n  }\n  for (let property of properties) {\n    assert(`Dependent keys passed to \\`${predicateName}\\` computed macro can't have spaces.`, property.indexOf(' ') < 0);\n    expandProperties(property, extractProperty);\n  }\n  return expandedProperties;\n}\nfunction generateComputedWithPredicate(name, predicate) {\n  return (dependentKey, ...additionalDependentKeys) => {\n    let properties = [dependentKey, ...additionalDependentKeys];\n    assert(`You attempted to use @${name} as a decorator directly, but it requires at least one dependent key parameter`, !isElementDescriptor(properties));\n    let dependentKeys = expandPropertiesToArray(name, properties);\n    let computedFunc = computed(...dependentKeys, function () {\n      let lastIdx = dependentKeys.length - 1;\n      for (let i = 0; i < lastIdx; i++) {\n        // SAFETY: `i` is derived from the length of `dependentKeys`\n        let value = get(this, dependentKeys[i]);\n        if (!predicate(value)) {\n          return value;\n        }\n      }\n      // SAFETY: `lastIdx` is derived from the length of `dependentKeys`\n      return get(this, dependentKeys[lastIdx]);\n    });\n    return computedFunc;\n  };\n}\n/**\n  A computed property macro that returns true if the value of the dependent\n  property is null, an empty string, empty array, or empty function.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { empty } from '@ember/object/computed';\n\n  class ToDoList {\n    constructor(todos) {\n      set(this, 'todos', todos);\n    }\n\n    @empty('todos') isDone;\n  }\n\n  let todoList = new ToDoList(\n    ['Unit Test', 'Documentation', 'Release']\n  );\n\n  todoList.isDone; // false\n  set(todoList, 'todos', []);\n  todoList.isDone; // true\n  ```\n\n  @since 1.6.0\n  @method empty\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @return {ComputedProperty} computed property which returns true if the value\n  of the dependent property is null, an empty string, empty array, or empty\n  function and false if the underlying value is not empty.\n\n  @public\n*/\nexport function empty(dependentKey) {\n  assert('You attempted to use @empty as a decorator directly, but it requires a `dependentKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(`${dependentKey}.length`, function () {\n    return isEmpty(get(this, dependentKey));\n  });\n}\n/**\n  A computed property that returns true if the value of the dependent property\n  is NOT null, an empty string, empty array, or empty function.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { notEmpty } from '@ember/object/computed';\n\n  class Hamster {\n    constructor(backpack) {\n      set(this, 'backpack', backpack);\n    }\n\n    @notEmpty('backpack') hasStuff\n  }\n\n  let hamster = new Hamster(\n    ['Food', 'Sleeping Bag', 'Tent']\n  );\n\n  hamster.hasStuff; // true\n  set(hamster, 'backpack', []);\n  hamster.hasStuff; // false\n  ```\n\n  @method notEmpty\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @return {ComputedProperty} computed property which returns true if original\n  value for property is not empty.\n  @public\n*/\nexport function notEmpty(dependentKey) {\n  assert('You attempted to use @notEmpty as a decorator directly, but it requires a `dependentKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(`${dependentKey}.length`, function () {\n    return !isEmpty(get(this, dependentKey));\n  });\n}\n/**\n  A computed property that returns true if the value of the dependent property\n  is null or undefined. This avoids errors from JSLint complaining about use of\n  ==, which can be technically confusing.\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { none } from '@ember/object/computed';\n\n  class Hamster {\n    @none('food') isHungry;\n  }\n\n  let hamster = new Hamster();\n\n  hamster.isHungry; // true\n\n  set(hamster, 'food', 'Banana');\n  hamster.isHungry; // false\n\n  set(hamster, 'food', null);\n  hamster.isHungry; // true\n  ```\n\n  @method none\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @return {ComputedProperty} computed property which returns true if original\n  value for property is null or undefined.\n  @public\n*/\nexport function none(dependentKey) {\n  assert('You attempted to use @none as a decorator directly, but it requires a `dependentKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(dependentKey, function () {\n    return isNone(get(this, dependentKey));\n  });\n}\n/**\n  A computed property that returns the inverse boolean value of the original\n  value for the dependent property.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { not } from '@ember/object/computed';\n\n  class User {\n    loggedIn = false;\n\n    @not('loggedIn') isAnonymous;\n  }\n\n  let user = new User();\n\n  user.isAnonymous; // true\n  set(user, 'loggedIn', true);\n  user.isAnonymous; // false\n  ```\n\n  @method not\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @return {ComputedProperty} computed property which returns inverse of the\n  original value for property\n  @public\n*/\nexport function not(dependentKey) {\n  assert('You attempted to use @not as a decorator directly, but it requires a `dependentKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(dependentKey, function () {\n    return !get(this, dependentKey);\n  });\n}\n/**\n  A computed property that converts the provided dependent property into a\n  boolean value.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { bool } from '@ember/object/computed';\n\n\n  class Hamster {\n    @bool('numBananas') hasBananas\n  }\n\n  let hamster = new Hamster();\n\n  hamster.hasBananas; // false\n\n  set(hamster, 'numBananas', 0);\n  hamster.hasBananas; // false\n\n  set(hamster, 'numBananas', 1);\n  hamster.hasBananas; // true\n\n  set(hamster, 'numBananas', null);\n  hamster.hasBananas; // false\n  ```\n\n  @method bool\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @return {ComputedProperty} computed property which converts to boolean the\n  original value for property\n  @public\n*/\nexport function bool(dependentKey) {\n  assert('You attempted to use @bool as a decorator directly, but it requires a `dependentKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(dependentKey, function () {\n    return Boolean(get(this, dependentKey));\n  });\n}\n/**\n  A computed property which matches the original value for the dependent\n  property against a given RegExp, returning `true` if the value matches the\n  RegExp and `false` if it does not.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { match } from '@ember/object/computed';\n\n  class User {\n    @match('email', /^.+@.+\\..+$/) hasValidEmail;\n  }\n\n  let user = new User();\n\n  user.hasValidEmail; // false\n\n  set(user, 'email', '');\n  user.hasValidEmail; // false\n\n  set(user, 'email', 'ember_hamster@example.com');\n  user.hasValidEmail; // true\n  ```\n\n  @method match\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @param {RegExp} regexp\n  @return {ComputedProperty} computed property which match the original value\n  for property against a given RegExp\n  @public\n*/\nexport function match(dependentKey, regexp) {\n  assert('You attempted to use @match as a decorator directly, but it requires `dependentKey` and `regexp` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(dependentKey, function () {\n    let value = get(this, dependentKey);\n    return regexp.test(value);\n  });\n}\n/**\n  A computed property that returns true if the provided dependent property is\n  equal to the given value.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { equal } from '@ember/object/computed';\n\n  class Hamster {\n    @equal('percentCarrotsEaten', 100) satisfied;\n  }\n\n  let hamster = new Hamster();\n\n  hamster.satisfied; // false\n\n  set(hamster, 'percentCarrotsEaten', 100);\n  hamster.satisfied; // true\n\n  set(hamster, 'percentCarrotsEaten', 50);\n  hamster.satisfied; // false\n  ```\n\n  @method equal\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @param {String|Number|Object} value\n  @return {ComputedProperty} computed property which returns true if the\n  original value for property is equal to the given value.\n  @public\n*/\nexport function equal(dependentKey, value) {\n  assert('You attempted to use @equal as a decorator directly, but it requires `dependentKey` and `value` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(dependentKey, function () {\n    return get(this, dependentKey) === value;\n  });\n}\n/**\n  A computed property that returns true if the provided dependent property is\n  greater than the provided value.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { gt } from '@ember/object/computed';\n\n  class Hamster {\n    @gt('numBananas', 10) hasTooManyBananas;\n  }\n\n  let hamster = new Hamster();\n\n  hamster.hasTooManyBananas; // false\n\n  set(hamster, 'numBananas', 3);\n  hamster.hasTooManyBananas; // false\n\n  set(hamster, 'numBananas', 11);\n  hamster.hasTooManyBananas; // true\n  ```\n\n  @method gt\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @param {Number} value\n  @return {ComputedProperty} computed property which returns true if the\n  original value for property is greater than given value.\n  @public\n*/\nexport function gt(dependentKey, value) {\n  assert('You attempted to use @gt as a decorator directly, but it requires `dependentKey` and `value` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(dependentKey, function () {\n    return get(this, dependentKey) > value;\n  });\n}\n/**\n  A computed property that returns true if the provided dependent property is\n  greater than or equal to the provided value.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { gte } from '@ember/object/computed';\n\n  class Hamster {\n    @gte('numBananas', 10) hasTooManyBananas;\n  }\n\n  let hamster = new Hamster();\n\n  hamster.hasTooManyBananas; // false\n\n  set(hamster, 'numBananas', 3);\n  hamster.hasTooManyBananas; // false\n\n  set(hamster, 'numBananas', 10);\n  hamster.hasTooManyBananas; // true\n  ```\n\n  @method gte\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @param {Number} value\n  @return {ComputedProperty} computed property which returns true if the\n  original value for property is greater or equal then given value.\n  @public\n*/\nexport function gte(dependentKey, value) {\n  assert('You attempted to use @gte as a decorator directly, but it requires `dependentKey` and `value` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(dependentKey, function () {\n    return get(this, dependentKey) >= value;\n  });\n}\n/**\n  A computed property that returns true if the provided dependent property is\n  less than the provided value.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { lt } from '@ember/object/computed';\n\n  class Hamster {\n    @lt('numBananas', 3) needsMoreBananas;\n  }\n\n  let hamster = new Hamster();\n\n  hamster.needsMoreBananas; // true\n\n  set(hamster, 'numBananas', 3);\n  hamster.needsMoreBananas; // false\n\n  set(hamster, 'numBananas', 2);\n  hamster.needsMoreBananas; // true\n  ```\n\n  @method lt\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @param {Number} value\n  @return {ComputedProperty} computed property which returns true if the\n  original value for property is less then given value.\n  @public\n*/\nexport function lt(dependentKey, value) {\n  assert('You attempted to use @lt as a decorator directly, but it requires `dependentKey` and `value` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(dependentKey, function () {\n    return get(this, dependentKey) < value;\n  });\n}\n/**\n  A computed property that returns true if the provided dependent property is\n  less than or equal to the provided value.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { lte } from '@ember/object/computed';\n\n  class Hamster {\n    @lte('numBananas', 3) needsMoreBananas;\n  }\n\n  let hamster = new Hamster();\n\n  hamster.needsMoreBananas; // true\n\n  set(hamster, 'numBananas', 5);\n  hamster.needsMoreBananas; // false\n\n  set(hamster, 'numBananas', 3);\n  hamster.needsMoreBananas; // true\n  ```\n\n  @method lte\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @param {Number} value\n  @return {ComputedProperty} computed property which returns true if the\n  original value for property is less or equal than given value.\n  @public\n*/\nexport function lte(dependentKey, value) {\n  assert('You attempted to use @lte as a decorator directly, but it requires `dependentKey` and `value` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(dependentKey, function () {\n    return get(this, dependentKey) <= value;\n  });\n}\n/**\n  A computed property that performs a logical `and` on the original values for\n  the provided dependent properties.\n\n  You may pass in more than two properties and even use property brace\n  expansion.  The computed property will return the first falsy value or last\n  truthy value just like JavaScript's `&&` operator.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { and } from '@ember/object/computed';\n\n  class Hamster {\n    @and('hasTent', 'hasBackpack') readyForCamp;\n    @and('hasWalkingStick', 'hasBackpack') readyForHike;\n  }\n\n  let tomster = new Hamster();\n\n  tomster.readyForCamp; // false\n\n  set(tomster, 'hasTent', true);\n  tomster.readyForCamp; // false\n\n  set(tomster, 'hasBackpack', true);\n  tomster.readyForCamp; // true\n\n  set(tomster, 'hasBackpack', 'Yes');\n  tomster.readyForCamp; // 'Yes'\n\n  set(tomster, 'hasWalkingStick', null);\n  tomster.readyForHike; // null\n  ```\n\n  @method and\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey*\n  @return {ComputedProperty} computed property which performs a logical `and` on\n  the values of all the original values for properties.\n  @public\n*/\nexport const and = generateComputedWithPredicate('and', value => value);\n/**\n  A computed property which performs a logical `or` on the original values for\n  the provided dependent properties.\n\n  You may pass in more than two properties and even use property brace\n  expansion.  The computed property will return the first truthy value or last\n  falsy value just like JavaScript's `||` operator.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { or } from '@ember/object/computed';\n\n  class Hamster {\n    @or('hasJacket', 'hasUmbrella') readyForRain;\n    @or('hasSunscreen', 'hasUmbrella') readyForBeach;\n  }\n\n  let tomster = new Hamster();\n\n  tomster.readyForRain; // undefined\n\n  set(tomster, 'hasUmbrella', true);\n  tomster.readyForRain; // true\n\n  set(tomster, 'hasJacket', 'Yes');\n  tomster.readyForRain; // 'Yes'\n\n  set(tomster, 'hasSunscreen', 'Check');\n  tomster.readyForBeach; // 'Check'\n  ```\n\n  @method or\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey*\n  @return {ComputedProperty} computed property which performs a logical `or` on\n  the values of all the original values for properties.\n  @public\n*/\nexport const or = generateComputedWithPredicate('or', value => !value);\n/**\n  Creates a new property that is an alias for another property on an object.\n  Calls to `get` or `set` this property behave as though they were called on the\n  original property.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { alias } from '@ember/object/computed';\n\n  class Person {\n    name = 'Alex Matchneer';\n\n    @alias('name') nomen;\n  }\n\n  let alex = new Person();\n\n  alex.nomen; // 'Alex Matchneer'\n  alex.name;  // 'Alex Matchneer'\n\n  set(alex, 'nomen', '@machty');\n  alex.name;  // '@machty'\n  ```\n\n  @method alias\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @return {ComputedProperty} computed property which creates an alias to the\n  original value for property.\n  @public\n*/\n/**\n  Where the `alias` computed macro aliases `get` and `set`, and allows for\n  bidirectional data flow, the `oneWay` computed macro only provides an aliased\n  `get`. The `set` will not mutate the upstream property, rather causes the\n  current property to become the value set. This causes the downstream property\n  to permanently diverge from the upstream property.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { oneWay }from '@ember/object/computed';\n\n  class User {\n    constructor(firstName, lastName) {\n      set(this, 'firstName', firstName);\n      set(this, 'lastName', lastName);\n    }\n\n    @oneWay('firstName') nickName;\n  }\n\n  let teddy = new User('Teddy', 'Zeenny');\n\n  teddy.nickName; // 'Teddy'\n\n  set(teddy, 'nickName', 'TeddyBear');\n  teddy.firstName; // 'Teddy'\n  teddy.nickName; // 'TeddyBear'\n  ```\n\n  @method oneWay\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @return {ComputedProperty} computed property which creates a one way computed\n  property to the original value for property.\n  @public\n*/\nexport function oneWay(dependentKey) {\n  assert('You attempted to use @oneWay as a decorator directly, but it requires a `dependentKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return alias(dependentKey).oneWay();\n}\n/**\n  This is a more semantically meaningful alias of the `oneWay` computed macro,\n  whose name is somewhat ambiguous as to which direction the data flows.\n\n  @method reads\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @return {ComputedProperty} computed property which creates a one way computed\n    property to the original value for property.\n  @public\n */\n/**\n  Where `oneWay` computed macro provides oneWay bindings, the `readOnly`\n  computed macro provides a readOnly one way binding. Very often when using\n  the `oneWay` macro one does not also want changes to propagate back up, as\n  they will replace the value.\n\n  This prevents the reverse flow, and also throws an exception when it occurs.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { readOnly } from '@ember/object/computed';\n\n  class User {\n    constructor(firstName, lastName) {\n      set(this, 'firstName', firstName);\n      set(this, 'lastName', lastName);\n    }\n\n    @readOnly('firstName') nickName;\n  });\n\n  let teddy = new User('Teddy', 'Zeenny');\n\n  teddy.nickName; // 'Teddy'\n\n  set(teddy, 'nickName', 'TeddyBear'); // throws Exception\n  // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n\n  teddy.firstName; // 'Teddy'\n  ```\n\n  @method readOnly\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @return {ComputedProperty} computed property which creates a one way computed\n  property to the original value for property.\n  @since 1.5.0\n  @public\n*/\nexport function readOnly(dependentKey) {\n  assert('You attempted to use @readOnly as a decorator directly, but it requires a `dependentKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return alias(dependentKey).readOnly();\n}\n/**\n  Creates a new property that is an alias for another property on an object.\n  Calls to `get` or `set` this property behave as though they were called on the\n  original property, but also print a deprecation warning.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { deprecatingAlias } from '@ember/object/computed';\n\n  class Hamster {\n    @deprecatingAlias('cavendishCount', {\n      id: 'hamster.deprecate-banana',\n      until: '3.0.0'\n    })\n    bananaCount;\n  }\n\n  let hamster = new Hamster();\n\n  set(hamster, 'bananaCount', 5); // Prints a deprecation warning.\n  hamster.cavendishCount; // 5\n  ```\n\n  @method deprecatingAlias\n  @static\n  @for @ember/object/computed\n  @param {String} dependentKey\n  @param {Object} options Options for `deprecate`.\n  @return {ComputedProperty} computed property which creates an alias with a\n  deprecation to the original value for property.\n  @since 1.7.0\n  @public\n*/\nexport function deprecatingAlias(dependentKey, options) {\n  assert('You attempted to use @deprecatingAlias as a decorator directly, but it requires `dependentKey` and `options` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return computed(dependentKey, {\n    get(key) {\n      deprecate(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options);\n      return get(this, dependentKey);\n    },\n    set(key, value) {\n      deprecate(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options);\n      set(this, dependentKey, value);\n      return value;\n    }\n  });\n}","/**\n@module @ember/object\n*/\nimport { DEBUG } from '@glimmer/env';\nimport { assert } from '@ember/debug';\nimport { autoComputed, isElementDescriptor } from '@ember/-internals/metal';\nimport { computed, get } from '@ember/object';\nimport { compare } from '@ember/utils';\nimport EmberArray, { A as emberA, uniqBy as uniqByArray } from '@ember/array';\nfunction isNativeOrEmberArray(obj) {\n  return Array.isArray(obj) || EmberArray.detect(obj);\n}\nfunction reduceMacro(dependentKey, callback, initialValue, name) {\n  assert(`Dependent key passed to \\`${name}\\` computed macro shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey));\n  return computed(`${dependentKey}.[]`, function () {\n    let arr = get(this, dependentKey);\n    if (arr === null || typeof arr !== 'object') {\n      return initialValue;\n    }\n    return arr.reduce(callback, initialValue, this);\n  }).readOnly();\n}\nfunction arrayMacro(dependentKey, additionalDependentKeys, callback) {\n  // This is a bit ugly\n  let propertyName;\n  if (/@each/.test(dependentKey)) {\n    propertyName = dependentKey.replace(/\\.@each.*$/, '');\n  } else {\n    propertyName = dependentKey;\n    dependentKey += '.[]';\n  }\n  return computed(dependentKey, ...additionalDependentKeys, function () {\n    let value = get(this, propertyName);\n    if (isNativeOrEmberArray(value)) {\n      return emberA(callback.call(this, value));\n    } else {\n      return emberA();\n    }\n  }).readOnly();\n}\nfunction multiArrayMacro(_dependentKeys, callback, name) {\n  assert(`Dependent keys passed to \\`${name}\\` computed macro shouldn't contain brace expanding pattern.`, _dependentKeys.every(dependentKey => !/[[\\]{}]/g.test(dependentKey)));\n  let dependentKeys = _dependentKeys.map(key => `${key}.[]`);\n  return computed(...dependentKeys, function () {\n    return emberA(callback.call(this, _dependentKeys));\n  }).readOnly();\n}\n/**\n  A computed property that returns the sum of the values in the dependent array.\n\n  Example:\n\n  ```javascript\n  import { sum } from '@ember/object/computed';\n\n  class Invoice {\n    lineItems = [1.00, 2.50, 9.99];\n\n    @sum('lineItems') total;\n  }\n\n  let invoice = new Invoice();\n\n  invoice.total; // 13.49\n  ```\n\n  @method sum\n  @for @ember/object/computed\n  @static\n  @param {String} dependentKey\n  @return {ComputedProperty} computes the sum of all values in the\n  dependentKey's array\n  @since 1.4.0\n  @public\n*/\nexport function sum(dependentKey) {\n  assert('You attempted to use @sum as a decorator directly, but it requires a `dependentKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return reduceMacro(dependentKey, (sum, item) => sum + item, 0, 'sum');\n}\n/**\n  A computed property that calculates the maximum value in the dependent array.\n  This will return `-Infinity` when the dependent array is empty.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { mapBy, max } from '@ember/object/computed';\n\n  class Person {\n    children = [];\n\n    @mapBy('children', 'age') childAges;\n    @max('childAges') maxChildAge;\n  }\n\n  let lordByron = new Person();\n\n  lordByron.maxChildAge; // -Infinity\n\n  set(lordByron, 'children', [\n    {\n      name: 'Augusta Ada Byron',\n      age: 7\n    }\n  ]);\n  lordByron.maxChildAge; // 7\n\n  set(lordByron, 'children', [\n    ...lordByron.children,\n    {\n      name: 'Allegra Byron',\n      age: 5\n    }, {\n      name: 'Elizabeth Medora Leigh',\n      age: 8\n    }\n  ]);\n  lordByron.maxChildAge; // 8\n  ```\n\n  If the types of the arguments are not numbers, they will be converted to\n  numbers and the type of the return value will always be `Number`. For example,\n  the max of a list of Date objects will be the highest timestamp as a `Number`.\n  This behavior is consistent with `Math.max`.\n\n  @method max\n  @for @ember/object/computed\n  @static\n  @param {String} dependentKey\n  @return {ComputedProperty} computes the largest value in the dependentKey's\n  array\n  @public\n*/\nexport function max(dependentKey) {\n  assert('You attempted to use @max as a decorator directly, but it requires a `dependentKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return reduceMacro(dependentKey, (max, item) => Math.max(max, item), -Infinity, 'max');\n}\n/**\n  A computed property that calculates the minimum value in the dependent array.\n  This will return `Infinity` when the dependent array is empty.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { mapBy, min } from '@ember/object/computed';\n\n  class Person {\n    children = [];\n\n    @mapBy('children', 'age') childAges;\n    @min('childAges') minChildAge;\n  }\n\n  let lordByron = Person.create({ children: [] });\n\n  lordByron.minChildAge; // Infinity\n\n  set(lordByron, 'children', [\n    {\n      name: 'Augusta Ada Byron',\n      age: 7\n    }\n  ]);\n  lordByron.minChildAge; // 7\n\n  set(lordByron, 'children', [\n    ...lordByron.children,\n    {\n      name: 'Allegra Byron',\n      age: 5\n    }, {\n      name: 'Elizabeth Medora Leigh',\n      age: 8\n    }\n  ]);\n  lordByron.minChildAge; // 5\n  ```\n\n  If the types of the arguments are not numbers, they will be converted to\n  numbers and the type of the return value will always be `Number`. For example,\n  the min of a list of Date objects will be the lowest timestamp as a `Number`.\n  This behavior is consistent with `Math.min`.\n\n  @method min\n  @for @ember/object/computed\n  @static\n  @param {String} dependentKey\n  @return {ComputedProperty} computes the smallest value in the dependentKey's array\n  @public\n*/\nexport function min(dependentKey) {\n  assert('You attempted to use @min as a decorator directly, but it requires a `dependentKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  return reduceMacro(dependentKey, (min, item) => Math.min(min, item), Infinity, 'min');\n}\nexport function map(dependentKey, additionalDependentKeysOrCallback, callback) {\n  assert('You attempted to use @map as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  assert('The final parameter provided to map must be a callback function', typeof callback === 'function' || callback === undefined && typeof additionalDependentKeysOrCallback === 'function');\n  assert('The second parameter provided to map must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeysOrCallback) || typeof additionalDependentKeysOrCallback === 'function');\n  let additionalDependentKeys;\n  if (typeof additionalDependentKeysOrCallback === 'function') {\n    callback = additionalDependentKeysOrCallback;\n    additionalDependentKeys = [];\n  } else {\n    additionalDependentKeys = additionalDependentKeysOrCallback;\n  }\n  const cCallback = callback;\n  assert('[BUG] Missing callback', cCallback);\n  return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n    // This is so dumb...\n    return Array.isArray(value) ? value.map(cCallback, this) : value.map(cCallback, this);\n  });\n}\n/**\n  Returns an array mapped to the specified key.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { mapBy } from '@ember/object/computed';\n\n  class Person {\n    children = [];\n\n    @mapBy('children', 'age') childAges;\n  }\n\n  let lordByron = new Person();\n\n  lordByron.childAges; // []\n\n  set(lordByron, 'children', [\n    {\n      name: 'Augusta Ada Byron',\n      age: 7\n    }\n  ]);\n  lordByron.childAges; // [7]\n\n  set(lordByron, 'children', [\n    ...lordByron.children,\n    {\n      name: 'Allegra Byron',\n      age: 5\n    }, {\n      name: 'Elizabeth Medora Leigh',\n      age: 8\n    }\n  ]);\n  lordByron.childAges; // [7, 5, 8]\n  ```\n\n  @method mapBy\n  @for @ember/object/computed\n  @static\n  @param {String} dependentKey\n  @param {String} propertyKey\n  @return {ComputedProperty} an array mapped to the specified key\n  @public\n*/\nexport function mapBy(dependentKey, propertyKey) {\n  assert('You attempted to use @mapBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  assert('`mapBy` computed macro expects a property string for its second argument, ' + 'perhaps you meant to use \"map\"', typeof propertyKey === 'string');\n  assert(`Dependent key passed to \\`mapBy\\` computed macro shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey));\n  return map(`${dependentKey}.@each.${propertyKey}`, item => get(item, propertyKey));\n}\nexport function filter(dependentKey, additionalDependentKeysOrCallback, callback) {\n  assert('You attempted to use @filter as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  assert('The final parameter provided to filter must be a callback function', typeof callback === 'function' || callback === undefined && typeof additionalDependentKeysOrCallback === 'function');\n  assert('The second parameter provided to filter must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeysOrCallback) || typeof additionalDependentKeysOrCallback === 'function');\n  let additionalDependentKeys;\n  if (typeof additionalDependentKeysOrCallback === 'function') {\n    callback = additionalDependentKeysOrCallback;\n    additionalDependentKeys = [];\n  } else {\n    additionalDependentKeys = additionalDependentKeysOrCallback;\n  }\n  const cCallback = callback;\n  return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n    // This is a really silly way to keep TS happy\n    return Array.isArray(value) ? value.filter(cCallback, this) : value.filter(cCallback, this);\n  });\n}\n/**\n  Filters the array by the property and value.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { filterBy } from '@ember/object/computed';\n\n  class Hamster {\n    constructor(chores) {\n      set(this, 'chores', chores);\n    }\n\n    @filterBy('chores', 'done', false) remainingChores;\n  }\n\n  let hamster = new Hamster([\n    { name: 'cook', done: true },\n    { name: 'clean', done: true },\n    { name: 'write more unit tests', done: false }\n  ]);\n\n  hamster.remainingChores; // [{ name: 'write more unit tests', done: false }]\n  ```\n\n  @method filterBy\n  @for @ember/object/computed\n  @static\n  @param {String} dependentKey\n  @param {String} propertyKey\n  @param {*} value\n  @return {ComputedProperty} the filtered array\n  @public\n*/\nexport function filterBy(dependentKey, propertyKey, value) {\n  assert('You attempted to use @filterBy as a decorator directly, but it requires atleast `dependentKey` and `propertyKey` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  assert(`Dependent key passed to \\`filterBy\\` computed macro shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey));\n  let callback;\n  if (arguments.length === 2) {\n    callback = item => get(item, propertyKey);\n  } else {\n    callback = item => get(item, propertyKey) === value;\n  }\n  return filter(`${dependentKey}.@each.${propertyKey}`, callback);\n}\n/**\n  A computed property which returns a new array with all the unique elements\n  from one or more dependent arrays.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { uniq } from '@ember/object/computed';\n\n  class Hamster {\n    constructor(fruits) {\n      set(this, 'fruits', fruits);\n    }\n\n    @uniq('fruits') uniqueFruits;\n  }\n\n  let hamster = new Hamster([\n    'banana',\n    'grape',\n    'kale',\n    'banana'\n  ]);\n\n  hamster.uniqueFruits; // ['banana', 'grape', 'kale']\n  ```\n\n  @method uniq\n  @for @ember/object/computed\n  @static\n  @param {String} propertyKey*\n  @return {ComputedProperty} computes a new array with all the\n  unique elements from the dependent array\n  @public\n*/\nexport function uniq(dependentKey, ...additionalDependentKeys) {\n  assert('You attempted to use @uniq/@union as a decorator directly, but it requires atleast one dependent key parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  let args = [dependentKey, ...additionalDependentKeys];\n  return multiArrayMacro(args, function (dependentKeys) {\n    let uniq = emberA();\n    let seen = new Set();\n    dependentKeys.forEach(dependentKey => {\n      let value = get(this, dependentKey);\n      if (isNativeOrEmberArray(value)) {\n        value.forEach(item => {\n          if (!seen.has(item)) {\n            seen.add(item);\n            uniq.push(item);\n          }\n        });\n      }\n    });\n    return uniq;\n  }, 'uniq');\n}\n/**\n  A computed property which returns a new array with all the unique elements\n  from an array, with uniqueness determined by specific key.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { uniqBy } from '@ember/object/computed';\n\n  class Hamster {\n    constructor(fruits) {\n      set(this, 'fruits', fruits);\n    }\n\n    @uniqBy('fruits', 'id') uniqueFruits;\n  }\n\n  let hamster = new Hamster([\n    { id: 1, 'banana' },\n    { id: 2, 'grape' },\n    { id: 3, 'peach' },\n    { id: 1, 'banana' }\n  ]);\n\n  hamster.uniqueFruits; // [ { id: 1, 'banana' }, { id: 2, 'grape' }, { id: 3, 'peach' }]\n  ```\n\n  @method uniqBy\n  @for @ember/object/computed\n  @static\n  @param {String} dependentKey\n  @param {String} propertyKey\n  @return {ComputedProperty} computes a new array with all the\n  unique elements from the dependent array\n  @public\n*/\nexport function uniqBy(dependentKey, propertyKey) {\n  assert('You attempted to use @uniqBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  assert(`Dependent key passed to \\`uniqBy\\` computed macro shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey));\n  return computed(`${dependentKey}.[]`, function () {\n    let list = get(this, dependentKey);\n    return isNativeOrEmberArray(list) ? uniqByArray(list, propertyKey) : emberA();\n  }).readOnly();\n}\n/**\n  A computed property which returns a new array with all the unique elements\n  from one or more dependent arrays.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { union } from '@ember/object/computed';\n\n  class Hamster {\n    constructor(fruits, vegetables) {\n      set(this, 'fruits', fruits);\n      set(this, 'vegetables', vegetables);\n    }\n\n    @union('fruits', 'vegetables') uniqueFruits;\n  });\n\n  let hamster = new, Hamster(\n    [\n      'banana',\n      'grape',\n      'kale',\n      'banana',\n      'tomato'\n    ],\n    [\n      'tomato',\n      'carrot',\n      'lettuce'\n    ]\n  );\n\n  hamster.uniqueFruits; // ['banana', 'grape', 'kale', 'tomato', 'carrot', 'lettuce']\n  ```\n\n  @method union\n  @for @ember/object/computed\n  @static\n  @param {String} propertyKey*\n  @return {ComputedProperty} computes a new array with all the unique elements\n  from one or more dependent arrays.\n  @public\n*/\nexport let union = uniq;\n/**\n  A computed property which returns a new array with all the elements\n  two or more dependent arrays have in common.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { intersect } from '@ember/object/computed';\n\n  class FriendGroups {\n    constructor(adaFriends, charlesFriends) {\n      set(this, 'adaFriends', adaFriends);\n      set(this, 'charlesFriends', charlesFriends);\n    }\n\n    @intersect('adaFriends', 'charlesFriends') friendsInCommon;\n  }\n\n  let groups = new FriendGroups(\n    ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n    ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n  );\n\n  groups.friendsInCommon; // ['William King', 'Mary Somerville']\n  ```\n\n  @method intersect\n  @for @ember/object/computed\n  @static\n  @param {String} propertyKey*\n  @return {ComputedProperty} computes a new array with all the duplicated\n  elements from the dependent arrays\n  @public\n*/\nexport function intersect(dependentKey, ...additionalDependentKeys) {\n  assert('You attempted to use @intersect as a decorator directly, but it requires atleast one dependent key parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  let args = [dependentKey, ...additionalDependentKeys];\n  return multiArrayMacro(args, function (dependentKeys) {\n    let arrays = dependentKeys.map(dependentKey => {\n      let array = get(this, dependentKey);\n      return Array.isArray(array) ? array : [];\n    });\n    let firstArray = arrays.pop();\n    assert('Attempted to apply multiArrayMacro for intersect without any dependentKeys', firstArray);\n    let results = firstArray.filter(candidate => {\n      for (let array of arrays) {\n        let found = false;\n        for (let item of array) {\n          if (item === candidate) {\n            found = true;\n            break;\n          }\n        }\n        if (found === false) {\n          return false;\n        }\n      }\n      return true;\n    });\n    return emberA(results);\n  }, 'intersect');\n}\n/**\n  A computed property which returns a new array with all the properties from the\n  first dependent array that are not in the second dependent array.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { setDiff } from '@ember/object/computed';\n\n  class Hamster {\n    constructor(likes, fruits) {\n      set(this, 'likes', likes);\n      set(this, 'fruits', fruits);\n    }\n\n    @setDiff('likes', 'fruits') wants;\n  }\n\n  let hamster = new Hamster(\n    [\n      'banana',\n      'grape',\n      'kale'\n    ],\n    [\n      'grape',\n      'kale',\n    ]\n  );\n\n  hamster.wants; // ['banana']\n  ```\n\n  @method setDiff\n  @for @ember/object/computed\n  @static\n  @param {String} setAProperty\n  @param {String} setBProperty\n  @return {ComputedProperty} computes a new array with all the items from the\n  first dependent array that are not in the second dependent array\n  @public\n*/\nexport function setDiff(setAProperty, setBProperty) {\n  assert('You attempted to use @setDiff as a decorator directly, but it requires atleast one dependent key parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  assert('`setDiff` computed macro requires exactly two dependent arrays.', arguments.length === 2);\n  assert(`Dependent keys passed to \\`setDiff\\` computed macro shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(setAProperty) && !/[[\\]{}]/g.test(setBProperty));\n  return computed(`${setAProperty}.[]`, `${setBProperty}.[]`, function () {\n    let setA = get(this, setAProperty);\n    let setB = get(this, setBProperty);\n    if (!isNativeOrEmberArray(setA)) {\n      return emberA();\n    }\n    if (!isNativeOrEmberArray(setB)) {\n      return setA;\n    }\n    return setA.filter(x => setB.indexOf(x) === -1);\n  }).readOnly();\n}\n/**\n  A computed property that returns the array of values for the provided\n  dependent properties.\n\n  Example:\n\n  ```javascript\n  import { set } from '@ember/object';\n  import { collect } from '@ember/object/computed';\n\n  class Hamster {\n    @collect('hat', 'shirt') clothes;\n  }\n\n  let hamster = new Hamster();\n\n  hamster.clothes; // [null, null]\n\n  set(hamster, 'hat', 'Camp Hat');\n  set(hamster, 'shirt', 'Camp Shirt');\n  hamster.clothes; // ['Camp Hat', 'Camp Shirt']\n  ```\n\n  @method collect\n  @for @ember/object/computed\n  @static\n  @param {String} dependentKey*\n  @return {ComputedProperty} computed property which maps values of all passed\n  in properties to an array.\n  @public\n*/\nexport function collect(dependentKey, ...additionalDependentKeys) {\n  assert('You attempted to use @collect as a decorator directly, but it requires atleast one dependent key parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  let dependentKeys = [dependentKey, ...additionalDependentKeys];\n  return multiArrayMacro(dependentKeys, function () {\n    let res = dependentKeys.map(key => {\n      let val = get(this, key);\n      return val === undefined ? null : val;\n    });\n    return emberA(res);\n  }, 'collect');\n}\nexport function sort(itemsKey, additionalDependentKeysOrDefinition, sortDefinition) {\n  assert('You attempted to use @sort as a decorator directly, but it requires atleast an `itemsKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments)));\n  if (DEBUG) {\n    let argumentsValid = false;\n    if (arguments.length === 2) {\n      argumentsValid = typeof itemsKey === 'string' && (typeof additionalDependentKeysOrDefinition === 'string' || typeof additionalDependentKeysOrDefinition === 'function');\n    }\n    if (arguments.length === 3) {\n      argumentsValid = typeof itemsKey === 'string' && Array.isArray(additionalDependentKeysOrDefinition) && typeof sortDefinition === 'function';\n    }\n    assert('The `sort` computed macro can either be used with an array of sort properties or with a sort function. If used with an array of sort properties, it must receive exactly two arguments: the key of the array to sort, and the key of the array of sort properties. If used with a sort function, it may receive up to three arguments: the key of the array to sort, an optional additional array of dependent keys for the computed property, and the sort function.', argumentsValid);\n  }\n  let additionalDependentKeys;\n  let sortDefinitionOrString;\n  if (Array.isArray(additionalDependentKeysOrDefinition)) {\n    additionalDependentKeys = additionalDependentKeysOrDefinition;\n    sortDefinitionOrString = sortDefinition;\n  } else {\n    additionalDependentKeys = [];\n    sortDefinitionOrString = additionalDependentKeysOrDefinition;\n  }\n  if (typeof sortDefinitionOrString === 'function') {\n    return customSort(itemsKey, additionalDependentKeys, sortDefinitionOrString);\n  } else {\n    return propertySort(itemsKey, sortDefinitionOrString);\n  }\n}\nfunction customSort(itemsKey, additionalDependentKeys, comparator) {\n  return arrayMacro(itemsKey, additionalDependentKeys, function (value) {\n    return value.slice().sort((x, y) => comparator.call(this, x, y));\n  });\n}\n// This one needs to dynamically set up and tear down observers on the itemsKey\n// depending on the sortProperties\nfunction propertySort(itemsKey, sortPropertiesKey) {\n  let cp = autoComputed(function (key) {\n    let sortProperties = get(this, sortPropertiesKey);\n    assert(`The sort definition for '${key}' on ${this} must be a function or an array of strings`, function (arr) {\n      return isNativeOrEmberArray(arr) && arr.every(s => typeof s === 'string');\n    }(sortProperties));\n    let itemsKeyIsAtThis = itemsKey === '@this';\n    let normalizedSortProperties = normalizeSortProperties(sortProperties);\n    let items = itemsKeyIsAtThis ? this : get(this, itemsKey);\n    if (!isNativeOrEmberArray(items)) {\n      return emberA();\n    }\n    if (normalizedSortProperties.length === 0) {\n      return emberA(items.slice());\n    } else {\n      return sortByNormalizedSortProperties(items, normalizedSortProperties);\n    }\n  }).readOnly();\n  return cp;\n}\nfunction normalizeSortProperties(sortProperties) {\n  let callback = p => {\n    let [prop, direction] = p.split(':');\n    direction = direction || 'asc';\n    // SAFETY: There will always be at least one value returned by split\n    return [prop, direction];\n  };\n  // This nonsense is necessary since technically the two map implementations diverge.\n  return Array.isArray(sortProperties) ? sortProperties.map(callback) : sortProperties.map(callback);\n}\nfunction sortByNormalizedSortProperties(items, normalizedSortProperties) {\n  return emberA(items.slice().sort((itemA, itemB) => {\n    for (let [prop, direction] of normalizedSortProperties) {\n      let result = compare(get(itemA, prop), get(itemB, prop));\n      if (result !== 0) {\n        return direction === 'desc' ? -1 * result : result;\n      }\n    }\n    return 0;\n  }));\n}","/**\n@module @ember/object/mixin\n*/\nimport { INIT_FACTORY } from '@ember/-internals/container';\nimport { meta as metaFor, peekMeta } from '@ember/-internals/meta';\nimport { guidFor, observerListenerMetaFor, ROOT, wrap } from '@ember/-internals/utils';\nimport { assert } from '@ember/debug';\nimport { DEBUG } from '@glimmer/env';\nimport { _WeakSet } from '@glimmer/util';\nimport { isClassicDecorator } from '@ember/-internals/metal';\nimport { ComputedProperty, descriptorForDecorator, makeComputedDecorator, nativeDescDecorator, setUnprocessedMixins, addObserver, removeObserver, revalidateObservers, defineDecorator, defineValue } from '@ember/-internals/metal';\nimport { addListener, removeListener } from '@ember/object/events';\nconst a_concat = Array.prototype.concat;\nconst {\n  isArray\n} = Array;\nfunction extractAccessors(properties) {\n  if (properties !== undefined) {\n    for (let key of Object.keys(properties)) {\n      let desc = Object.getOwnPropertyDescriptor(properties, key);\n      if (desc.get !== undefined || desc.set !== undefined) {\n        Object.defineProperty(properties, key, {\n          value: nativeDescDecorator(desc)\n        });\n      }\n    }\n  }\n  return properties;\n}\nfunction concatenatedMixinProperties(concatProp, props, values, base) {\n  // reset before adding each new mixin to pickup concats from previous\n  let concats = values[concatProp] || base[concatProp];\n  if (props[concatProp]) {\n    concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n  }\n  return concats;\n}\nfunction giveDecoratorSuper(key, decorator, property, descs) {\n  if (property === true) {\n    return decorator;\n  }\n  let originalGetter = property._getter;\n  if (originalGetter === undefined) {\n    return decorator;\n  }\n  let superDesc = descs[key];\n  // Check to see if the super property is a decorator first, if so load its descriptor\n  let superProperty = typeof superDesc === 'function' ? descriptorForDecorator(superDesc) : superDesc;\n  if (superProperty === undefined || superProperty === true) {\n    return decorator;\n  }\n  let superGetter = superProperty._getter;\n  if (superGetter === undefined) {\n    return decorator;\n  }\n  let get = wrap(originalGetter, superGetter);\n  let set;\n  let originalSetter = property._setter;\n  let superSetter = superProperty._setter;\n  if (superSetter !== undefined) {\n    if (originalSetter !== undefined) {\n      set = wrap(originalSetter, superSetter);\n    } else {\n      // If the super property has a setter, we default to using it no matter what.\n      // This is clearly very broken and weird, but it's what was here so we have\n      // to keep it until the next major at least.\n      //\n      // TODO: Add a deprecation here.\n      set = superSetter;\n    }\n  } else {\n    set = originalSetter;\n  }\n  // only create a new CP if we must\n  if (get !== originalGetter || set !== originalSetter) {\n    // Since multiple mixins may inherit from the same parent, we need\n    // to clone the computed property so that other mixins do not receive\n    // the wrapped version.\n    let dependentKeys = property._dependentKeys || [];\n    let newProperty = new ComputedProperty([...dependentKeys, {\n      get,\n      set\n    }]);\n    newProperty._readOnly = property._readOnly;\n    newProperty._meta = property._meta;\n    newProperty.enumerable = property.enumerable;\n    // SAFETY: We passed in the impl for this class\n    return makeComputedDecorator(newProperty, ComputedProperty);\n  }\n  return decorator;\n}\nfunction giveMethodSuper(key, method, values, descs) {\n  // Methods overwrite computed properties, and do not call super to them.\n  if (descs[key] !== undefined) {\n    return method;\n  }\n  // Find the original method in a parent mixin\n  let superMethod = values[key];\n  // Only wrap the new method if the original method was a function\n  if (typeof superMethod === 'function') {\n    return wrap(method, superMethod);\n  }\n  return method;\n}\nfunction simpleMakeArray(value) {\n  if (!value) {\n    return [];\n  } else if (!Array.isArray(value)) {\n    return [value];\n  } else {\n    return value;\n  }\n}\nfunction applyConcatenatedProperties(key, value, values) {\n  let baseValue = values[key];\n  let ret = simpleMakeArray(baseValue).concat(simpleMakeArray(value));\n  if (DEBUG) {\n    // it is possible to use concatenatedProperties with strings (which cannot be frozen)\n    // only freeze objects...\n    if (typeof ret === 'object' && ret !== null) {\n      // prevent mutating `concatenatedProperties` array after it is applied\n      Object.freeze(ret);\n    }\n  }\n  return ret;\n}\nfunction applyMergedProperties(key, value, values) {\n  let baseValue = values[key];\n  assert(`You passed in \\`${JSON.stringify(value)}\\` as the value for \\`${key}\\` but \\`${key}\\` cannot be an Array`, !isArray(value));\n  if (!baseValue) {\n    return value;\n  }\n  let newBase = Object.assign({}, baseValue);\n  let hasFunction = false;\n  let props = Object.keys(value);\n  for (let prop of props) {\n    let propValue = value[prop];\n    if (typeof propValue === 'function') {\n      hasFunction = true;\n      newBase[prop] = giveMethodSuper(prop, propValue, baseValue, {});\n    } else {\n      newBase[prop] = propValue;\n    }\n  }\n  if (hasFunction) {\n    newBase._super = ROOT;\n  }\n  return newBase;\n}\nfunction mergeMixins(mixins, meta, descs, values, base, keys, keysWithSuper) {\n  let currentMixin;\n  for (let i = 0; i < mixins.length; i++) {\n    currentMixin = mixins[i];\n    assert(`Expected hash or Mixin instance, got ${Object.prototype.toString.call(currentMixin)}`, typeof currentMixin === 'object' && currentMixin !== null && Object.prototype.toString.call(currentMixin) !== '[object Array]');\n    if (MIXINS.has(currentMixin)) {\n      if (meta.hasMixin(currentMixin)) {\n        continue;\n      }\n      meta.addMixin(currentMixin);\n      let {\n        properties,\n        mixins\n      } = currentMixin;\n      if (properties !== undefined) {\n        mergeProps(meta, properties, descs, values, base, keys, keysWithSuper);\n      } else if (mixins !== undefined) {\n        mergeMixins(mixins, meta, descs, values, base, keys, keysWithSuper);\n        if (currentMixin instanceof Mixin && currentMixin._without !== undefined) {\n          currentMixin._without.forEach(keyName => {\n            // deleting the key means we won't process the value\n            let index = keys.indexOf(keyName);\n            if (index !== -1) {\n              keys.splice(index, 1);\n            }\n          });\n        }\n      }\n    } else {\n      mergeProps(meta, currentMixin, descs, values, base, keys, keysWithSuper);\n    }\n  }\n}\nfunction mergeProps(meta, props, descs, values, base, keys, keysWithSuper) {\n  let concats = concatenatedMixinProperties('concatenatedProperties', props, values, base);\n  let mergings = concatenatedMixinProperties('mergedProperties', props, values, base);\n  let propKeys = Object.keys(props);\n  for (let key of propKeys) {\n    let value = props[key];\n    if (value === undefined) continue;\n    if (keys.indexOf(key) === -1) {\n      keys.push(key);\n      let desc = meta.peekDescriptors(key);\n      if (desc === undefined) {\n        // If the value is a classic decorator, we don't want to actually\n        // access it, because that will execute the decorator while we're\n        // building the class.\n        if (!isClassicDecorator(value)) {\n          // The superclass did not have a CP, which means it may have\n          // observers or listeners on that property.\n          let prev = values[key] = base[key];\n          if (typeof prev === 'function') {\n            updateObserversAndListeners(base, key, prev, false);\n          }\n        }\n      } else {\n        descs[key] = desc;\n        // The super desc will be overwritten on descs, so save off the fact that\n        // there was a super so we know to Object.defineProperty when writing\n        // the value\n        keysWithSuper.push(key);\n        desc.teardown(base, key, meta);\n      }\n    }\n    let isFunction = typeof value === 'function';\n    if (isFunction) {\n      let desc = descriptorForDecorator(value);\n      if (desc !== undefined) {\n        // Wrap descriptor function to implement _super() if needed\n        descs[key] = giveDecoratorSuper(key, value, desc, descs);\n        values[key] = undefined;\n        continue;\n      }\n    }\n    if (concats && concats.indexOf(key) >= 0 || key === 'concatenatedProperties' || key === 'mergedProperties') {\n      value = applyConcatenatedProperties(key, value, values);\n    } else if (mergings && mergings.indexOf(key) > -1) {\n      value = applyMergedProperties(key, value, values);\n    } else if (isFunction) {\n      value = giveMethodSuper(key, value, values, descs);\n    }\n    values[key] = value;\n    descs[key] = undefined;\n  }\n}\nfunction updateObserversAndListeners(obj, key, fn, add) {\n  let meta = observerListenerMetaFor(fn);\n  if (meta === undefined) return;\n  let {\n    observers,\n    listeners\n  } = meta;\n  if (observers !== undefined) {\n    let updateObserver = add ? addObserver : removeObserver;\n    for (let path of observers.paths) {\n      updateObserver(obj, path, null, key, observers.sync);\n    }\n  }\n  if (listeners !== undefined) {\n    let updateListener = add ? addListener : removeListener;\n    for (let listener of listeners) {\n      updateListener(obj, listener, null, key);\n    }\n  }\n}\nexport function applyMixin(obj, mixins, _hideKeys = false) {\n  let descs = Object.create(null);\n  let values = Object.create(null);\n  let meta = metaFor(obj);\n  let keys = [];\n  let keysWithSuper = [];\n  obj._super = ROOT;\n  // Go through all mixins and hashes passed in, and:\n  //\n  // * Handle concatenated properties\n  // * Handle merged properties\n  // * Set up _super wrapping if necessary\n  // * Set up computed property descriptors\n  // * Copying `toString` in broken browsers\n  mergeMixins(mixins, meta, descs, values, obj, keys, keysWithSuper);\n  for (let key of keys) {\n    let value = values[key];\n    let desc = descs[key];\n    if (value !== undefined) {\n      if (typeof value === 'function') {\n        updateObserversAndListeners(obj, key, value, true);\n      }\n      defineValue(obj, key, value, keysWithSuper.indexOf(key) !== -1, !_hideKeys);\n    } else if (desc !== undefined) {\n      defineDecorator(obj, key, desc, meta);\n    }\n  }\n  if (!meta.isPrototypeMeta(obj)) {\n    revalidateObservers(obj);\n  }\n  return obj;\n}\n/**\n  @method mixin\n  @param obj\n  @param mixins*\n  @return obj\n  @private\n*/\nexport function mixin(obj, ...args) {\n  applyMixin(obj, args);\n  return obj;\n}\nconst MIXINS = new _WeakSet();\n/**\n  The `Mixin` class allows you to create mixins, whose properties can be\n  added to other classes. For instance,\n\n  ```javascript\n  import Mixin from '@ember/object/mixin';\n\n  const EditableMixin = Mixin.create({\n    edit() {\n      console.log('starting to edit');\n      this.set('isEditing', true);\n    },\n    isEditing: false\n  });\n  ```\n\n  ```javascript\n  import EmberObject from '@ember/object';\n  import EditableMixin from '../mixins/editable';\n\n  // Mix mixins into classes by passing them as the first arguments to\n  // `.extend.`\n  const Comment = EmberObject.extend(EditableMixin, {\n    post: null\n  });\n\n  let comment = Comment.create({\n    post: somePost\n  });\n\n  comment.edit(); // outputs 'starting to edit'\n  ```\n\n  Note that Mixins are created with `Mixin.create`, not\n  `Mixin.extend`.\n\n  Note that mixins extend a constructor's prototype so arrays and object literals\n  defined as properties will be shared amongst objects that implement the mixin.\n  If you want to define a property in a mixin that is not shared, you can define\n  it either as a computed property or have it be created on initialization of the object.\n\n  ```javascript\n  // filters array will be shared amongst any object implementing mixin\n  import Mixin from '@ember/object/mixin';\n  import { A } from '@ember/array';\n\n  const FilterableMixin = Mixin.create({\n    filters: A()\n  });\n  ```\n\n  ```javascript\n  import Mixin from '@ember/object/mixin';\n  import { A } from '@ember/array';\n  import { computed } from '@ember/object';\n\n  // filters will be a separate array for every object implementing the mixin\n  const FilterableMixin = Mixin.create({\n    filters: computed(function() {\n      return A();\n    })\n  });\n  ```\n\n  ```javascript\n  import Mixin from '@ember/object/mixin';\n  import { A } from '@ember/array';\n\n  // filters will be created as a separate array during the object's initialization\n  const Filterable = Mixin.create({\n    filters: null,\n\n    init() {\n      this._super(...arguments);\n      this.set(\"filters\", A());\n    }\n  });\n  ```\n\n  @class Mixin\n  @public\n*/\nexport default class Mixin {\n  /** @internal */\n  constructor(mixins, properties) {\n    MIXINS.add(this);\n    this.properties = extractAccessors(properties);\n    this.mixins = buildMixinsArray(mixins);\n    this.ownerConstructor = undefined;\n    this._without = undefined;\n    if (DEBUG) {\n      // Eagerly add INIT_FACTORY to avoid issues in DEBUG as a result of Object.seal(mixin)\n      this[INIT_FACTORY] = null;\n      /*\n        In debug builds, we seal mixins to help avoid performance pitfalls.\n               In IE11 there is a quirk that prevents sealed objects from being added\n        to a WeakMap. Unfortunately, the mixin system currently relies on\n        weak maps in `guidFor`, so we need to prime the guid cache weak map.\n      */\n      guidFor(this);\n      if (Mixin._disableDebugSeal !== true) {\n        Object.seal(this);\n      }\n    }\n  }\n  /**\n    @method create\n    @for @ember/object/mixin\n    @static\n    @param arguments*\n    @public\n  */\n  static create(...args) {\n    setUnprocessedMixins();\n    let M = this;\n    return new M(args, undefined);\n  }\n  // returns the mixins currently applied to the specified object\n  // TODO: Make `mixin`\n  /** @internal */\n  static mixins(obj) {\n    let meta = peekMeta(obj);\n    let ret = [];\n    if (meta === null) {\n      return ret;\n    }\n    meta.forEachMixins(currentMixin => {\n      // skip primitive mixins since these are always anonymous\n      if (!currentMixin.properties) {\n        ret.push(currentMixin);\n      }\n    });\n    return ret;\n  }\n  /**\n    @method reopen\n    @param arguments*\n    @private\n    @internal\n  */\n  reopen(...args) {\n    if (args.length === 0) {\n      return;\n    }\n    if (this.properties) {\n      let currentMixin = new Mixin(undefined, this.properties);\n      this.properties = undefined;\n      this.mixins = [currentMixin];\n    } else if (!this.mixins) {\n      this.mixins = [];\n    }\n    this.mixins = this.mixins.concat(buildMixinsArray(args));\n    return this;\n  }\n  /**\n    @method apply\n    @param obj\n    @return applied object\n    @private\n    @internal\n  */\n  apply(obj, _hideKeys = false) {\n    // Ember.NativeArray is a normal Ember.Mixin that we mix into `Array.prototype` when prototype extensions are enabled\n    // mutating a native object prototype like this should _not_ result in enumerable properties being added (or we have significant\n    // issues with things like deep equality checks from test frameworks, or things like jQuery.extend(true, [], [])).\n    //\n    // _hideKeys disables enumerablity when applying the mixin. This is a hack, and we should stop mutating the array prototype by default 😫\n    return applyMixin(obj, [this], _hideKeys);\n  }\n  /** @internal */\n  applyPartial(obj) {\n    return applyMixin(obj, [this]);\n  }\n  /**\n    @method detect\n    @param obj\n    @return {Boolean}\n    @private\n    @internal\n  */\n  detect(obj) {\n    if (typeof obj !== 'object' || obj === null) {\n      return false;\n    }\n    if (MIXINS.has(obj)) {\n      return _detect(obj, this);\n    }\n    let meta = peekMeta(obj);\n    if (meta === null) {\n      return false;\n    }\n    return meta.hasMixin(this);\n  }\n  /** @internal */\n  without(...args) {\n    let ret = new Mixin([this]);\n    ret._without = args;\n    return ret;\n  }\n  /** @internal */\n  keys() {\n    let keys = _keys(this);\n    assert('[BUG] Missing keys for mixin!', keys);\n    return keys;\n  }\n  /** @internal */\n  toString() {\n    return '(unknown mixin)';\n  }\n}\nif (DEBUG) {\n  Object.defineProperty(Mixin, '_disableDebugSeal', {\n    configurable: true,\n    enumerable: false,\n    writable: true,\n    value: false\n  });\n}\nfunction buildMixinsArray(mixins) {\n  let length = mixins && mixins.length || 0;\n  let m = undefined;\n  if (length > 0) {\n    m = new Array(length);\n    for (let i = 0; i < length; i++) {\n      let x = mixins[i];\n      assert(`Expected hash or Mixin instance, got ${Object.prototype.toString.call(x)}`, typeof x === 'object' && x !== null && Object.prototype.toString.call(x) !== '[object Array]');\n      if (MIXINS.has(x)) {\n        m[i] = x;\n      } else {\n        m[i] = new Mixin(undefined, x);\n      }\n    }\n  }\n  return m;\n}\nif (DEBUG) {\n  Object.seal(Mixin.prototype);\n}\nfunction _detect(curMixin, targetMixin, seen = new Set()) {\n  if (seen.has(curMixin)) {\n    return false;\n  }\n  seen.add(curMixin);\n  if (curMixin === targetMixin) {\n    return true;\n  }\n  let mixins = curMixin.mixins;\n  if (mixins) {\n    return mixins.some(mixin => _detect(mixin, targetMixin, seen));\n  }\n  return false;\n}\nfunction _keys(mixin, ret = new Set(), seen = new Set()) {\n  if (seen.has(mixin)) {\n    return;\n  }\n  seen.add(mixin);\n  if (mixin.properties) {\n    let props = Object.keys(mixin.properties);\n    for (let prop of props) {\n      ret.add(prop);\n    }\n  } else if (mixin.mixins) {\n    mixin.mixins.forEach(x => _keys(x, ret, seen));\n  }\n  return ret;\n}","/**\n@module @ember/object/observable\n*/\nimport { peekMeta } from '@ember/-internals/meta';\nimport { hasListeners, beginPropertyChanges, notifyPropertyChange, endPropertyChanges, addObserver, removeObserver } from '@ember/-internals/metal';\nimport { get, set, getProperties, setProperties } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\nimport { assert } from '@ember/debug';\nconst Observable = Mixin.create({\n  get(keyName) {\n    return get(this, keyName);\n  },\n  getProperties(...args) {\n    return getProperties(this, ...args);\n  },\n  set(keyName, value) {\n    return set(this, keyName, value);\n  },\n  setProperties(hash) {\n    return setProperties(this, hash);\n  },\n  /**\n    Begins a grouping of property changes.\n       You can use this method to group property changes so that notifications\n    will not be sent until the changes are finished. If you plan to make a\n    large number of changes to an object at one time, you should call this\n    method at the beginning of the changes to begin deferring change\n    notifications. When you are done making changes, call\n    `endPropertyChanges()` to deliver the deferred change notifications and end\n    deferring.\n       @method beginPropertyChanges\n    @return {Observable}\n    @private\n  */\n  beginPropertyChanges() {\n    beginPropertyChanges();\n    return this;\n  },\n  /**\n    Ends a grouping of property changes.\n       You can use this method to group property changes so that notifications\n    will not be sent until the changes are finished. If you plan to make a\n    large number of changes to an object at one time, you should call\n    `beginPropertyChanges()` at the beginning of the changes to defer change\n    notifications. When you are done making changes, call this method to\n    deliver the deferred change notifications and end deferring.\n       @method endPropertyChanges\n    @return {Observable}\n    @private\n  */\n  endPropertyChanges() {\n    endPropertyChanges();\n    return this;\n  },\n  notifyPropertyChange(keyName) {\n    notifyPropertyChange(this, keyName);\n    return this;\n  },\n  addObserver(key, target, method, sync) {\n    addObserver(this, key, target, method, sync);\n    return this;\n  },\n  removeObserver(key, target, method, sync) {\n    removeObserver(this, key, target, method, sync);\n    return this;\n  },\n  /**\n    Returns `true` if the object currently has observers registered for a\n    particular key. You can use this method to potentially defer performing\n    an expensive action until someone begins observing a particular property\n    on the object.\n       @method hasObserverFor\n    @param {String} key Key to check\n    @return {Boolean}\n    @private\n  */\n  hasObserverFor(key) {\n    return hasListeners(this, `${key}:change`);\n  },\n  incrementProperty(keyName, increment = 1) {\n    assert('Must pass a numeric value to incrementProperty', !isNaN(parseFloat(String(increment))) && isFinite(increment));\n    return set(this, keyName, (parseFloat(get(this, keyName)) || 0) + increment);\n  },\n  decrementProperty(keyName, decrement = 1) {\n    assert('Must pass a numeric value to decrementProperty', (typeof decrement === 'number' || !isNaN(parseFloat(decrement))) && isFinite(decrement));\n    return set(this, keyName, (get(this, keyName) || 0) - decrement);\n  },\n  toggleProperty(keyName) {\n    return set(this, keyName, !get(this, keyName));\n  },\n  cacheFor(keyName) {\n    let meta = peekMeta(this);\n    if (meta !== null) {\n      return meta.valueFor(keyName);\n    }\n  }\n});\nexport default Observable;","import { get, setProperties, computed } from '@ember/object';\nimport Mixin from '@ember/object/mixin';\n/**\n  @module @ember/object/promise-proxy-mixin\n*/\nfunction tap(proxy, promise) {\n  setProperties(proxy, {\n    isFulfilled: false,\n    isRejected: false\n  });\n  return promise.then(value => {\n    if (!proxy.isDestroyed && !proxy.isDestroying) {\n      setProperties(proxy, {\n        content: value,\n        isFulfilled: true\n      });\n    }\n    return value;\n  }, reason => {\n    if (!proxy.isDestroyed && !proxy.isDestroying) {\n      setProperties(proxy, {\n        reason,\n        isRejected: true\n      });\n    }\n    throw reason;\n  }, 'Ember: PromiseProxy');\n}\nconst PromiseProxyMixin = Mixin.create({\n  reason: null,\n  isPending: computed('isSettled', function () {\n    return !get(this, 'isSettled');\n  }).readOnly(),\n  isSettled: computed('isRejected', 'isFulfilled', function () {\n    return get(this, 'isRejected') || get(this, 'isFulfilled');\n  }).readOnly(),\n  isRejected: false,\n  isFulfilled: false,\n  promise: computed({\n    get() {\n      throw new Error(\"PromiseProxy's promise must be set\");\n    },\n    set(_key, promise) {\n      return tap(this, promise);\n    }\n  }),\n  then: promiseAlias('then'),\n  catch: promiseAlias('catch'),\n  finally: promiseAlias('finally')\n});\nfunction promiseAlias(name) {\n  return function (...args) {\n    let promise = get(this, 'promise');\n    // We need this cast because `Parameters` is deferred so that it is not\n    // possible for TS to see it will always produce the right type. However,\n    // since `AnyFn` has a rest type, it is allowed. See discussion on [this\n    // issue](https://github.com/microsoft/TypeScript/issues/47615).\n    return promise[name](...args);\n  };\n}\nexport default PromiseProxyMixin;","/**\n@module @ember/object/proxy\n*/\nimport { FrameworkObject } from '@ember/object/-internals';\nimport { _ProxyMixin } from '@ember/-internals/runtime';\nclass ObjectProxy extends FrameworkObject {}\nObjectProxy.PrototypeMixin.reopen(_ProxyMixin);\nexport default ObjectProxy;","/**\n  Ember’s dependency injection system is built on the idea of an \"owner\": an\n  object responsible for managing items which can be registered and looked up\n  with the system.\n\n  This module does not provide any concrete instances of owners. Instead, it\n  defines the core type, `Owner`, which specifies the public API contract for an\n  owner. The primary concrete implementations of `Owner` are `EngineInstance`,\n  from `@ember/engine/instance`, and its `ApplicationInstance` subclass, from\n  `@ember/application/instance`.\n\n  Along with `Owner` itself, this module provides a number of supporting types\n  related to Ember's DI system:\n\n  - `Factory`, Ember's primary interface for something which can create class\n    instances registered with the DI system.\n\n  - `FactoryManager`, an interface for inspecting a `Factory`'s class.\n\n  - `Resolver`, an interface defining the contract for the object responsible\n    for mapping string names to the corresponding classes. For example, when you\n    write `@service('session')`, a resolver is responsible to map that back to\n    the `Session` service class in your codebase. Normally, this is handled for\n    you automatically with `ember-resolver`, which is the main implementor of\n    this interface.\n\n  For more details on each, see their per-item docs.\n\n  @module @ember/owner\n  @public\n*/\n// We need to provide a narrower public interface to `getOwner` so that we only\n// expose the `Owner` type, *not* our richer `InternalOwner` type and its\n// various bits of private API.\nimport { getOwner as internalGetOwner } from '@ember/-internals/owner';\n// NOTE: this documentation appears here instead of at the definition site so\n// it can appear correctly in both API docs and for TS, while providing a richer\n// internal representation for Ember's own usage.\n/**\n  Framework objects in an Ember application (components, services, routes, etc.)\n  are created via a factory and dependency injection system. Each of these\n  objects is the responsibility of an \"owner\", which handled its\n  instantiation and manages its lifetime.\n\n  `getOwner` fetches the owner object responsible for an instance. This can\n  be used to lookup or resolve other class instances, or register new factories\n  into the owner.\n\n  For example, this component dynamically looks up a service based on the\n  `audioType` passed as an argument:\n\n  ```app/components/play-audio.js\n  import Component from '@glimmer/component';\n  import { action } from '@ember/object';\n  import { getOwner } from '@ember/application';\n\n  // Usage:\n  //\n  //   <PlayAudio @audioType={{@model.audioType}} @audioFile={{@model.file}}/>\n  //\n  export default class extends Component {\n    get audioService() {\n      return getOwner(this)?.lookup(`service:${this.args.audioType}`);\n    }\n\n    @action\n    onPlay() {\n      this.audioService?.play(this.args.audioFile);\n    }\n  }\n  ```\n\n  @method getOwner\n  @static\n  @for @ember/owner\n  @param {Object} object An object with an owner.\n  @return {Object} An owner object.\n  @since 2.3.0\n  @public\n*/\n// SAFETY: the cast here is necessary, instead of using an assignment, because\n// TS (not incorrectly! Nothing expressly relates them) does not see that the\n// `InternalOwner` and `Owner` do actually have identical constraints on their\n// relations to the `DIRegistry`.\nconst getOwner = internalGetOwner;\nexport { getOwner };\nexport { setOwner } from '@ember/-internals/owner';","export { assign } from './lib/assign';\nexport const hasPropertyAccessors = true;","import { deprecate } from '@ember/debug';\n/**\n  Copy properties from a source object to a target object. Source arguments remain unchanged.\n\n  ```javascript\n  import { assign } from '@ember/polyfills';\n\n  var a = { first: 'Yehuda' };\n  var b = { last: 'Katz' };\n  var c = { company: 'Other Company' };\n  var d = { company: 'Tilde Inc.' };\n  assign(a, b, c, d); // a === { first: 'Yehuda', last: 'Katz', company: 'Tilde Inc.' };\n  ```\n\n  @method assign\n  @for @ember/polyfills\n  @param {Object} target The object to assign into\n  @param {Object} ...args The objects to copy properties from\n  @return {Object}\n  @public\n  @static\n*/\nexport function assign(target, ...rest) {\n  deprecate('Use of `assign` has been deprecated. Please use `Object.assign` or the spread operator instead.', false, {\n    id: 'ember-polyfills.deprecate-assign',\n    until: '5.0.0',\n    url: 'https://deprecations.emberjs.com/v4.x/#toc_ember-polyfills-deprecate-assign',\n    for: 'ember-source',\n    since: {\n      available: '4.0.0',\n      enabled: '4.0.0'\n    }\n  });\n  return Object.assign(target, ...rest);\n}","import { history, location, userAgent, window } from '@ember/-internals/browser-environment';\nimport { getOwner } from '@ember/-internals/owner';\nimport EmberObject, { set } from '@ember/object';\nimport { assert } from '@ember/debug';\nimport { getFullPath, getHash, getPath, getQuery, replacePath, supportsHashChange, supportsHistory } from './lib/location-utils';\n/**\n@module @ember/routing/auto-location\n*/\n/**\n  AutoLocation will select the best location option based off browser\n  support with the priority order: history, hash, none.\n\n  Clean pushState paths accessed by hashchange-only browsers will be redirected\n  to the hash-equivalent and vice versa so future transitions are consistent.\n\n  Keep in mind that since some of your users will use `HistoryLocation`, your\n  server must serve the Ember app at all the routes you define.\n\n  Browsers that support the `history` API will use `HistoryLocation`, those that\n  do not, but still support the `hashchange` event will use `HashLocation`, and\n  in the rare case neither is supported will use `NoneLocation`.\n\n  Example:\n\n  ```app/router.js\n  Router.map(function() {\n    this.route('posts', function() {\n      this.route('new');\n    });\n  });\n\n  Router.reopen({\n    location: 'auto'\n  });\n  ```\n\n  This will result in a posts.new url of `/posts/new` for modern browsers that\n  support the `history` api or `/#/posts/new` for older ones, like Internet\n  Explorer 9 and below.\n\n  When a user visits a link to your application, they will be automatically\n  upgraded or downgraded to the appropriate `Location` class, with the URL\n  transformed accordingly, if needed.\n\n  Keep in mind that since some of your users will use `HistoryLocation`, your\n  server must serve the Ember app at all the routes you define.\n\n  @class AutoLocation\n  @static\n  @protected\n*/\nexport default class AutoLocation extends EmberObject {\n  constructor() {\n    super(...arguments);\n    this.implementation = 'auto';\n  }\n  /**\n   Called by the router to instruct the location to do any feature detection\n   necessary. In the case of AutoLocation, we detect whether to use history\n   or hash concrete implementations.\n      @private\n  */\n  detect() {\n    let rootURL = this.rootURL;\n    assert('rootURL must end with a trailing forward slash e.g. \"/app/\"', rootURL.charAt(rootURL.length - 1) === '/');\n    let implementation = detectImplementation({\n      location: this.location,\n      history: this.history,\n      userAgent: this.userAgent,\n      rootURL,\n      documentMode: this.documentMode,\n      global: this.global\n    });\n    if (implementation === false) {\n      set(this, 'cancelRouterSetup', true);\n      implementation = 'none';\n    }\n    let owner = getOwner(this);\n    assert('AutoLocation is unexpectedly missing an owner', owner);\n    let concrete = owner.lookup(`location:${implementation}`);\n    assert(`Could not find location '${implementation}'.`, concrete !== undefined);\n    set(concrete, 'rootURL', rootURL);\n    set(this, 'concreteImplementation', concrete);\n  }\n  willDestroy() {\n    let {\n      concreteImplementation\n    } = this;\n    if (concreteImplementation) {\n      concreteImplementation.destroy();\n    }\n  }\n}\nAutoLocation.reopen({\n  rootURL: '/',\n  initState: delegateToConcreteImplementation('initState'),\n  getURL: delegateToConcreteImplementation('getURL'),\n  setURL: delegateToConcreteImplementation('setURL'),\n  replaceURL: delegateToConcreteImplementation('replaceURL'),\n  onUpdateURL: delegateToConcreteImplementation('onUpdateURL'),\n  formatURL: delegateToConcreteImplementation('formatURL'),\n  location: location,\n  history: history,\n  global: window,\n  userAgent: userAgent,\n  cancelRouterSetup: false\n});\nfunction delegateToConcreteImplementation(methodName) {\n  return function (...args) {\n    var _a;\n    let {\n      concreteImplementation\n    } = this;\n    assert(\"AutoLocation's detect() method should be called before calling any other hooks.\", concreteImplementation);\n    // We need this cast because `Parameters` is deferred so that it is not\n    // possible for TS to see it will always produce the right type. However,\n    // since `AnyFn` has a rest type, it is allowed. See discussion on [this\n    // issue](https://github.com/microsoft/TypeScript/issues/47615).\n    return (_a = concreteImplementation[methodName]) === null || _a === void 0 ? void 0 : _a.call(concreteImplementation, ...args);\n  };\n}\nfunction detectImplementation(options) {\n  let {\n    location,\n    userAgent,\n    history,\n    documentMode,\n    global,\n    rootURL\n  } = options;\n  let implementation = 'none';\n  let cancelRouterSetup = false;\n  let currentPath = getFullPath(location);\n  if (supportsHistory(userAgent, history)) {\n    let historyPath = getHistoryPath(rootURL, location);\n    // If the browser supports history and we have a history path, we can use\n    // the history location with no redirects.\n    if (currentPath === historyPath) {\n      implementation = 'history';\n    } else if (currentPath.substring(0, 2) === '/#') {\n      history.replaceState({\n        path: historyPath\n      }, '', historyPath);\n      implementation = 'history';\n    } else {\n      cancelRouterSetup = true;\n      replacePath(location, historyPath);\n    }\n  } else if (supportsHashChange(documentMode, global)) {\n    let hashPath = getHashPath(rootURL, location);\n    // Be sure we're using a hashed path, otherwise let's switch over it to so\n    // we start off clean and consistent. We'll count an index path with no\n    // hash as \"good enough\" as well.\n    if (currentPath === hashPath || currentPath === '/' && hashPath === '/#/') {\n      implementation = 'hash';\n    } else {\n      // Our URL isn't in the expected hash-supported format, so we want to\n      // cancel the router setup and replace the URL to start off clean\n      cancelRouterSetup = true;\n      replacePath(location, hashPath);\n    }\n  }\n  if (cancelRouterSetup) {\n    return false;\n  }\n  return implementation;\n}\n/**\n  @private\n\n  Returns the current path as it should appear for HistoryLocation supported\n  browsers. This may very well differ from the real current path (e.g. if it\n  starts off as a hashed URL)\n*/\nexport function getHistoryPath(rootURL, location) {\n  let path = getPath(location);\n  let hash = getHash(location);\n  let query = getQuery(location);\n  let rootURLIndex = path.indexOf(rootURL);\n  let routeHash;\n  let hashParts;\n  assert(`Path ${path} does not start with the provided rootURL ${rootURL}`, rootURLIndex === 0);\n  // By convention, Ember.js routes using HashLocation are required to start\n  // with `#/`. Anything else should NOT be considered a route and should\n  // be passed straight through, without transformation.\n  if (hash.substring(0, 2) === '#/') {\n    // There could be extra hash segments after the route\n    hashParts = hash.substring(1).split('#');\n    // The first one is always the route url\n    routeHash = hashParts.shift();\n    // If the path already has a trailing slash, remove the one\n    // from the hashed route so we don't double up.\n    if (path.charAt(path.length - 1) === '/') {\n      routeHash = routeHash.substring(1);\n    }\n    // This is the \"expected\" final order\n    path += routeHash + query;\n    if (hashParts.length) {\n      path += `#${hashParts.join('#')}`;\n    }\n  } else {\n    path += query + hash;\n  }\n  return path;\n}\n/**\n  @private\n\n  Returns the current path as it should appear for HashLocation supported\n  browsers. This may very well differ from the real current path.\n\n  @method _getHashPath\n*/\nexport function getHashPath(rootURL, location) {\n  let path = rootURL;\n  let historyPath = getHistoryPath(rootURL, location);\n  let routePath = historyPath.substring(rootURL.length);\n  if (routePath !== '') {\n    if (routePath[0] !== '/') {\n      routePath = `/${routePath}`;\n    }\n    path += `#${routePath}`;\n  }\n  return path;\n}","import EmberObject, { set } from '@ember/object';\nimport { bind } from '@ember/runloop';\nimport { getHash } from './lib/location-utils';\n/**\n@module @ember/routing/hash-location\n*/\n/**\n  `HashLocation` implements the location API using the browser's\n  hash. At present, it relies on a `hashchange` event existing in the\n  browser.\n\n  Using `HashLocation` results in URLs with a `#` (hash sign) separating the\n  server side URL portion of the URL from the portion that is used by Ember.\n\n  Example:\n\n  ```app/router.js\n  Router.map(function() {\n    this.route('posts', function() {\n      this.route('new');\n    });\n  });\n\n  Router.reopen({\n    location: 'hash'\n  });\n  ```\n\n  This will result in a posts.new url of `/#/posts/new`.\n\n  @class HashLocation\n  @extends EmberObject\n  @protected\n*/\nexport default class HashLocation extends EmberObject {\n  constructor() {\n    super(...arguments);\n    this.implementation = 'hash';\n    this.lastSetURL = null;\n  }\n  init() {\n    set(this, 'location', this._location || window.location);\n    this._hashchangeHandler = undefined;\n  }\n  /**\n    @private\n       Returns normalized location.hash\n       @since 1.5.1\n    @method getHash\n  */\n  getHash() {\n    return getHash(this.location);\n  }\n  /**\n    Returns the normalized URL, constructed from `location.hash`.\n       e.g. `#/foo` => `/foo` as well as `#/foo#bar` => `/foo#bar`.\n       By convention, hashed paths must begin with a forward slash, otherwise they\n    are not treated as a path so we can distinguish intent.\n       @private\n    @method getURL\n  */\n  getURL() {\n    let originalPath = this.getHash().substring(1);\n    let outPath = originalPath;\n    if (outPath[0] !== '/') {\n      outPath = '/';\n      // Only add the # if the path isn't empty.\n      // We do NOT want `/#` since the ampersand\n      // is only included (conventionally) when\n      // the location.hash has a value\n      if (originalPath) {\n        outPath += `#${originalPath}`;\n      }\n    }\n    return outPath;\n  }\n  /**\n    Set the `location.hash` and remembers what was set. This prevents\n    `onUpdateURL` callbacks from triggering when the hash was set by\n    `HashLocation`.\n       @private\n    @method setURL\n    @param path {String}\n  */\n  setURL(path) {\n    this.location.hash = path;\n    set(this, 'lastSetURL', path);\n  }\n  /**\n    Uses location.replace to update the url without a page reload\n    or history modification.\n       @private\n    @method replaceURL\n    @param path {String}\n  */\n  replaceURL(path) {\n    this.location.replace(`#${path}`);\n    set(this, 'lastSetURL', path);\n  }\n  /**\n    Register a callback to be invoked when the hash changes. These\n    callbacks will execute when the user presses the back or forward\n    button, but not after `setURL` is invoked.\n       @private\n    @method onUpdateURL\n    @param callback {Function}\n  */\n  onUpdateURL(callback) {\n    this._removeEventListener();\n    this._hashchangeHandler = bind(this, function (_event) {\n      let path = this.getURL();\n      if (this.lastSetURL === path) {\n        return;\n      }\n      set(this, 'lastSetURL', null);\n      callback(path);\n    });\n    window.addEventListener('hashchange', this._hashchangeHandler);\n  }\n  /**\n    Given a URL, formats it to be placed into the page as part\n    of an element's `href` attribute.\n       This is used, for example, when using the {{action}} helper\n    to generate a URL based on an event.\n       @private\n    @method formatURL\n    @param url {String}\n  */\n  formatURL(url) {\n    return `#${url}`;\n  }\n  /**\n    Cleans up the HashLocation event listener.\n       @private\n    @method willDestroy\n  */\n  willDestroy() {\n    this._removeEventListener();\n  }\n  _removeEventListener() {\n    if (this._hashchangeHandler) {\n      window.removeEventListener('hashchange', this._hashchangeHandler);\n    }\n  }\n}","import EmberObject, { set } from '@ember/object';\nimport { getHash } from './lib/location-utils';\n/**\n@module @ember/routing/history-location\n*/\nlet popstateFired = false;\nfunction _uuid() {\n  return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n    let r, v;\n    r = Math.random() * 16 | 0;\n    v = c === 'x' ? r : r & 3 | 8;\n    return v.toString(16);\n  });\n}\n/**\n  HistoryLocation implements the location API using the browser's\n  history.pushState API.\n\n  Using `HistoryLocation` results in URLs that are indistinguishable from a\n  standard URL. This relies upon the browser's `history` API.\n\n  Example:\n\n  ```app/router.js\n  Router.map(function() {\n    this.route('posts', function() {\n      this.route('new');\n    });\n  });\n\n  Router.reopen({\n    location: 'history'\n  });\n  ```\n\n  This will result in a posts.new url of `/posts/new`.\n\n  Keep in mind that your server must serve the Ember app at all the routes you\n  define.\n\n  Using `HistoryLocation` will also result in location states being recorded by\n  the browser `history` API with the following schema:\n\n  ```\n  window.history.state -> { path: '/', uuid: '3552e730-b4a6-46bd-b8bf-d8c3c1a97e0a' }\n  ```\n\n  This allows each in-app location state to be tracked uniquely across history\n  state changes via the `uuid` field.\n\n  @class HistoryLocation\n  @extends EmberObject\n  @protected\n*/\nexport default class HistoryLocation extends EmberObject {\n  constructor() {\n    super(...arguments);\n    this.implementation = 'history';\n    /**\n      Will be pre-pended to path upon state change\n             @property rootURL\n      @default '/'\n      @private\n    */\n    this.rootURL = '/';\n  }\n  /**\n    @private\n       Returns normalized location.hash\n       @method getHash\n  */\n  getHash() {\n    return getHash(this.location);\n  }\n  init() {\n    var _a;\n    this._super(...arguments);\n    let base = document.querySelector('base');\n    let baseURL = '';\n    if (base !== null && base.hasAttribute('href')) {\n      baseURL = (_a = base.getAttribute('href')) !== null && _a !== void 0 ? _a : '';\n    }\n    set(this, 'baseURL', baseURL);\n    set(this, 'location', this.location || window.location);\n    this._popstateHandler = undefined;\n  }\n  /**\n    Used to set state on first call to setURL\n       @private\n    @method initState\n  */\n  initState() {\n    let history = this.history || window.history;\n    set(this, 'history', history);\n    let {\n      state\n    } = history;\n    let path = this.formatURL(this.getURL());\n    if (state && state.path === path) {\n      // preserve existing state\n      // used for webkit workaround, since there will be no initial popstate event\n      this._previousURL = this.getURL();\n    } else {\n      this.replaceState(path);\n    }\n  }\n  /**\n    Returns the current `location.pathname` without `rootURL` or `baseURL`\n       @private\n    @method getURL\n    @return url {String}\n  */\n  getURL() {\n    let {\n      location,\n      rootURL,\n      baseURL\n    } = this;\n    let path = location.pathname;\n    // remove trailing slashes if they exists\n    rootURL = rootURL.replace(/\\/$/, '');\n    baseURL = baseURL.replace(/\\/$/, '');\n    // remove baseURL and rootURL from start of path\n    let url = path.replace(new RegExp(`^${baseURL}(?=/|$)`), '').replace(new RegExp(`^${rootURL}(?=/|$)`), '').replace(/\\/\\//g, '/'); // remove extra slashes\n    let search = location.search || '';\n    url += search + this.getHash();\n    return url;\n  }\n  /**\n    Uses `history.pushState` to update the url without a page reload.\n       @private\n    @method setURL\n    @param path {String}\n  */\n  setURL(path) {\n    let {\n      state\n    } = this.history;\n    path = this.formatURL(path);\n    if (!state || state.path !== path) {\n      this.pushState(path);\n    }\n  }\n  /**\n    Uses `history.replaceState` to update the url without a page reload\n    or history modification.\n       @private\n    @method replaceURL\n    @param path {String}\n  */\n  replaceURL(path) {\n    let {\n      state\n    } = this.history;\n    path = this.formatURL(path);\n    if (!state || state.path !== path) {\n      this.replaceState(path);\n    }\n  }\n  /**\n   Pushes a new state.\n      @private\n   @method pushState\n   @param path {String}\n  */\n  pushState(path) {\n    let state = {\n      path,\n      uuid: _uuid()\n    };\n    this.history.pushState(state, null, path);\n    // used for webkit workaround\n    this._previousURL = this.getURL();\n  }\n  /**\n   Replaces the current state.\n      @private\n   @method replaceState\n   @param path {String}\n  */\n  replaceState(path) {\n    let state = {\n      path,\n      uuid: _uuid()\n    };\n    this.history.replaceState(state, null, path);\n    // used for webkit workaround\n    this._previousURL = this.getURL();\n  }\n  /**\n    Register a callback to be invoked whenever the browser\n    history changes, including using forward and back buttons.\n       @private\n    @method onUpdateURL\n    @param callback {Function}\n  */\n  onUpdateURL(callback) {\n    this._removeEventListener();\n    this._popstateHandler = () => {\n      // Ignore initial page load popstate event in Chrome\n      if (!popstateFired) {\n        popstateFired = true;\n        if (this.getURL() === this._previousURL) {\n          return;\n        }\n      }\n      callback(this.getURL());\n    };\n    window.addEventListener('popstate', this._popstateHandler);\n  }\n  /**\n    Used when using `{{action}}` helper.  The url is always appended to the rootURL.\n       @private\n    @method formatURL\n    @param url {String}\n    @return formatted url {String}\n  */\n  formatURL(url) {\n    let {\n      rootURL,\n      baseURL\n    } = this;\n    if (url !== '') {\n      // remove trailing slashes if they exists\n      rootURL = rootURL.replace(/\\/$/, '');\n      baseURL = baseURL.replace(/\\/$/, '');\n    } else if (baseURL[0] === '/' && rootURL[0] === '/') {\n      // if baseURL and rootURL both start with a slash\n      // ... remove trailing slash from baseURL if it exists\n      baseURL = baseURL.replace(/\\/$/, '');\n    }\n    return baseURL + rootURL + url;\n  }\n  /**\n    Cleans up the HistoryLocation event listener.\n       @private\n    @method willDestroy\n  */\n  willDestroy() {\n    this._removeEventListener();\n  }\n  _removeEventListener() {\n    if (this._popstateHandler) {\n      window.removeEventListener('popstate', this._popstateHandler);\n    }\n  }\n}","/**\n  A two-tiered cache with support for fallback values when doing lookups.\n  Uses \"buckets\" and then \"keys\" to cache values.\n\n  @private\n  @class BucketCache\n*/\nexport default class BucketCache {\n  constructor() {\n    this.cache = new Map();\n  }\n  has(bucketKey) {\n    return this.cache.has(bucketKey);\n  }\n  stash(bucketKey, key, value) {\n    let bucket = this.cache.get(bucketKey);\n    if (bucket === undefined) {\n      bucket = new Map();\n      this.cache.set(bucketKey, bucket);\n    }\n    bucket.set(key, value);\n  }\n  lookup(bucketKey, prop, defaultValue) {\n    if (!this.has(bucketKey)) {\n      return defaultValue;\n    }\n    let bucket = this.cache.get(bucketKey);\n    if (bucket.has(prop)) {\n      return bucket.get(prop);\n    } else {\n      return defaultValue;\n    }\n  }\n}","/**\n  @module ember/routing\n*/\n/**\n  Finds a controller instance.\n\n  @for Ember\n  @method controllerFor\n  @private\n*/\nexport default function controllerFor(container, controllerName, lookupOptions) {\n  return container.lookup(`controller:${controllerName}`, lookupOptions);\n}","import { assert } from '@ember/debug';\nlet uuid = 0;\nfunction isCallback(value) {\n  return typeof value === 'function';\n}\nfunction isOptions(value) {\n  return value !== null && typeof value === 'object';\n}\nexport default class DSLImpl {\n  constructor(name = null, options) {\n    this.explicitIndex = false;\n    this.parent = name;\n    this.enableLoadingSubstates = Boolean(options && options.enableLoadingSubstates);\n    this.matches = [];\n    this.options = options;\n  }\n  route(name, _options, _callback) {\n    let options;\n    let callback = null;\n    let dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n    if (isCallback(_options)) {\n      assert('Unexpected arguments', arguments.length === 2);\n      options = {};\n      callback = _options;\n    } else if (isCallback(_callback)) {\n      assert('Unexpected arguments', arguments.length === 3);\n      assert('Unexpected arguments', isOptions(_options));\n      options = _options;\n      callback = _callback;\n    } else {\n      options = _options || {};\n    }\n    assert(`'${name}' cannot be used as a route name.`, (() => {\n      if (options.overrideNameAssertion === true) {\n        return true;\n      }\n      return ['basic', 'application'].indexOf(name) === -1;\n    })());\n    assert(`'${name}' is not a valid route name. It cannot contain a ':'. You may want to use the 'path' option instead.`, name.indexOf(':') === -1);\n    if (this.enableLoadingSubstates) {\n      createRoute(this, `${name}_loading`, {\n        resetNamespace: options.resetNamespace\n      });\n      createRoute(this, `${name}_error`, {\n        resetNamespace: options.resetNamespace,\n        path: dummyErrorRoute\n      });\n    }\n    if (callback) {\n      let fullName = getFullName(this, name, options.resetNamespace);\n      let dsl = new DSLImpl(fullName, this.options);\n      createRoute(dsl, 'loading');\n      createRoute(dsl, 'error', {\n        path: dummyErrorRoute\n      });\n      callback.call(dsl);\n      createRoute(this, name, options, dsl.generate());\n    } else {\n      createRoute(this, name, options);\n    }\n  }\n  push(url, name, callback, serialize) {\n    let parts = name.split('.');\n    if (this.options.engineInfo) {\n      let localFullName = name.slice(this.options.engineInfo.fullName.length + 1);\n      let routeInfo = Object.assign({\n        localFullName\n      }, this.options.engineInfo);\n      if (serialize) {\n        routeInfo.serializeMethod = serialize;\n      }\n      this.options.addRouteForEngine(name, routeInfo);\n    } else if (serialize) {\n      throw new Error(`Defining a route serializer on route '${name}' outside an Engine is not allowed.`);\n    }\n    if (url === '' || url === '/' || parts[parts.length - 1] === 'index') {\n      this.explicitIndex = true;\n    }\n    this.matches.push(url, name, callback);\n  }\n  generate() {\n    let dslMatches = this.matches;\n    if (!this.explicitIndex) {\n      this.route('index', {\n        path: '/'\n      });\n    }\n    return match => {\n      for (let i = 0; i < dslMatches.length; i += 3) {\n        match(dslMatches[i]).to(dslMatches[i + 1], dslMatches[i + 2]);\n      }\n    };\n  }\n  mount(_name, options = {}) {\n    let engineRouteMap = this.options.resolveRouteMap(_name);\n    let name = _name;\n    if (options.as) {\n      name = options.as;\n    }\n    let fullName = getFullName(this, name, options.resetNamespace);\n    let engineInfo = {\n      name: _name,\n      instanceId: uuid++,\n      mountPoint: fullName,\n      fullName\n    };\n    let path = options.path;\n    if (typeof path !== 'string') {\n      path = `/${name}`;\n    }\n    let callback;\n    let dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n    if (engineRouteMap) {\n      let shouldResetEngineInfo = false;\n      let oldEngineInfo = this.options.engineInfo;\n      if (oldEngineInfo) {\n        shouldResetEngineInfo = true;\n        this.options.engineInfo = engineInfo;\n      }\n      let optionsForChild = Object.assign({\n        engineInfo\n      }, this.options);\n      let childDSL = new DSLImpl(fullName, optionsForChild);\n      createRoute(childDSL, 'loading');\n      createRoute(childDSL, 'error', {\n        path: dummyErrorRoute\n      });\n      engineRouteMap.class.call(childDSL);\n      callback = childDSL.generate();\n      if (shouldResetEngineInfo) {\n        this.options.engineInfo = oldEngineInfo;\n      }\n    }\n    let localFullName = 'application';\n    let routeInfo = Object.assign({\n      localFullName\n    }, engineInfo);\n    if (this.enableLoadingSubstates) {\n      // These values are important to register the loading routes under their\n      // proper names for the Router and within the Engine's registry.\n      let substateName = `${name}_loading`;\n      let localFullName = `application_loading`;\n      let routeInfo = Object.assign({\n        localFullName\n      }, engineInfo);\n      createRoute(this, substateName, {\n        resetNamespace: options.resetNamespace\n      });\n      this.options.addRouteForEngine(substateName, routeInfo);\n      substateName = `${name}_error`;\n      localFullName = `application_error`;\n      routeInfo = Object.assign({\n        localFullName\n      }, engineInfo);\n      createRoute(this, substateName, {\n        resetNamespace: options.resetNamespace,\n        path: dummyErrorRoute\n      });\n      this.options.addRouteForEngine(substateName, routeInfo);\n    }\n    this.options.addRouteForEngine(fullName, routeInfo);\n    this.push(path, fullName, callback);\n  }\n}\nfunction canNest(dsl) {\n  return dsl.parent !== 'application';\n}\nfunction getFullName(dsl, name, resetNamespace) {\n  if (canNest(dsl) && resetNamespace !== true) {\n    return `${dsl.parent}.${name}`;\n  } else {\n    return name;\n  }\n}\nfunction createRoute(dsl, name, options = {}, callback) {\n  let fullName = getFullName(dsl, name, options.resetNamespace);\n  if (typeof options.path !== 'string') {\n    options.path = `/${name}`;\n  }\n  dsl.push(options.path, fullName, callback, options.serialize);\n}","import { get } from '@ember/-internals/metal';\nimport Controller from '@ember/controller';\nimport { assert, info } from '@ember/debug';\nimport { DEBUG } from '@glimmer/env';\n/**\n @module ember/routing\n*/\n/**\n  Generates a controller factory\n\n  @for Ember\n  @method generateControllerFactory\n  @private\n*/\nexport function generateControllerFactory(owner, controllerName) {\n  let factoryManager = owner.factoryFor('controller:basic');\n  assert('[BUG] unexpectedly missing a factoryManager for `controller:basic`', factoryManager !== undefined);\n  // SAFETY: This is *not* safe, and the cast should be removed in favor of the\n  // `assert()` below after altering *tests*. It is left in this state for the\n  // moment in the interest of keeping type-only changes separate from changes\n  // to the runtime behavior of the system, even for tests.\n  let Factory = factoryManager.class;\n  // assert(\n  //   '[BUG] factory for `controller:main` is unexpectedly not a Controller',\n  //   ((factory): factory is typeof Controller => factory === Controller)(Factory)\n  // );\n  Factory = Factory.extend({\n    toString() {\n      return `(generated ${controllerName} controller)`;\n    }\n  });\n  let fullName = `controller:${controllerName}`;\n  owner.register(fullName, Factory);\n  return owner.factoryFor(fullName);\n}\n/**\n  Generates and instantiates a controller extending from `controller:basic`\n  if present, or `Controller` if not.\n\n  @for Ember\n  @method generateController\n  @private\n  @since 1.3.0\n*/\nexport default function generateController(owner, controllerName) {\n  generateControllerFactory(owner, controllerName);\n  let fullName = `controller:${controllerName}`;\n  let instance = owner.lookup(fullName);\n  assert('Expected an instance of controller', instance instanceof Controller);\n  if (DEBUG) {\n    if (get(instance, 'namespace.LOG_ACTIVE_GENERATION')) {\n      info(`generated -> ${fullName}`, {\n        fullName\n      });\n    }\n  }\n  return instance;\n}","/**\n  @private\n\n  Returns the current `location.pathname`, normalized for IE inconsistencies.\n*/\nexport function getPath(location) {\n  let pathname = location.pathname;\n  // Various versions of IE/Opera don't always return a leading slash\n  if (pathname[0] !== '/') {\n    pathname = `/${pathname}`;\n  }\n  return pathname;\n}\n/**\n  @private\n\n  Returns the current `location.search`.\n*/\nexport function getQuery(location) {\n  return location.search;\n}\n/**\n  @private\n\n  Returns the hash or empty string\n*/\nexport function getHash(location) {\n  if (location.hash !== undefined) {\n    return location.hash.substring(0);\n  }\n  return '';\n}\nexport function getFullPath(location) {\n  return getPath(location) + getQuery(location) + getHash(location);\n}\nexport function getOrigin(location) {\n  let origin = location.origin;\n  // Older browsers, especially IE, don't have origin\n  if (!origin) {\n    origin = `${location.protocol}//${location.hostname}`;\n    if (location.port) {\n      origin += `:${location.port}`;\n    }\n  }\n  return origin;\n}\n/*\n  `documentMode` only exist in Internet Explorer, and it's tested because IE8 running in\n  IE7 compatibility mode claims to support `onhashchange` but actually does not.\n\n  `global` is an object that may have an `onhashchange` property.\n\n  @private\n  @function supportsHashChange\n*/\nexport function supportsHashChange(documentMode, global) {\n  return Boolean(global && 'onhashchange' in global && (documentMode === undefined || documentMode > 7));\n}\n/*\n  `userAgent` is a user agent string. We use user agent testing here, because\n  the stock Android browser is known to have buggy versions of the History API,\n  in some Android versions.\n\n  @private\n  @function supportsHistory\n*/\nexport function supportsHistory(userAgent, history) {\n  // Boosted from Modernizr: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n  // The stock browser on Android 2.2 & 2.3, and 4.0.x returns positive on history support\n  // Unfortunately support is really buggy and there is no clean way to detect\n  // these bugs, so we fall back to a user agent sniff :(\n  // We only want Android 2 and 4.0, stock browser, and not Chrome which identifies\n  // itself as 'Mobile Safari' as well, nor Windows Phone.\n  if ((userAgent.indexOf('Android 2.') !== -1 || userAgent.indexOf('Android 4.0') !== -1) && userAgent.indexOf('Mobile Safari') !== -1 && userAgent.indexOf('Chrome') === -1 && userAgent.indexOf('Windows Phone') === -1) {\n    return false;\n  }\n  return Boolean(history && 'pushState' in history);\n}\n/**\n  Replaces the current location, making sure we explicitly include the origin\n  to prevent redirecting to a different origin.\n\n  @private\n*/\nexport function replacePath(location, path) {\n  location.replace(getOrigin(location) + path);\n}","export default class QueryParams {\n  constructor(values = null) {\n    this.isQueryParams = true;\n    this.values = values;\n  }\n}","import { shallowEqual } from './utils';\nexport default class RouterState {\n  constructor(emberRouter, router, routerJsState) {\n    this.emberRouter = emberRouter;\n    this.router = router;\n    this.routerJsState = routerJsState;\n  }\n  isActiveIntent(routeName, models, queryParams) {\n    let state = this.routerJsState;\n    if (!this.router.isActiveIntent(routeName, models, undefined, state)) {\n      return false;\n    }\n    if (queryParams !== undefined && Object.keys(queryParams).length > 0) {\n      let visibleQueryParams = Object.assign({}, queryParams);\n      this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\n      return shallowEqual(visibleQueryParams, state.queryParams);\n    }\n    return true;\n  }\n}","/**\n@module ember\n*/\nimport { getOwner } from '@ember/-internals/owner';\nimport { assert } from '@ember/debug';\nimport { readOnly } from '@ember/object/computed';\nimport Service from '@ember/service';\nimport EmberRouter from '@ember/routing/router';\nimport { ROUTER } from '@ember/routing/router-service';\n/**\n  The Routing service is used by LinkTo, and provides facilities for\n  the component/view layer to interact with the router.\n\n  This is a private service for internal usage only. For public usage,\n  refer to the `Router` service.\n\n  @private\n  @class RoutingService\n*/\nexport default class RoutingService extends Service {\n  get router() {\n    let router = this[ROUTER];\n    if (router !== undefined) {\n      return router;\n    }\n    let owner = getOwner(this);\n    assert('RoutingService is unexpectedly missing an owner', owner);\n    let _router = owner.lookup('router:main');\n    assert('ROUTING SERVICE BUG: Expected router to be an instance of EmberRouter', _router instanceof EmberRouter);\n    _router.setupRouter();\n    return this[ROUTER] = _router;\n  }\n  hasRoute(routeName) {\n    return this.router.hasRoute(routeName);\n  }\n  transitionTo(routeName, models, queryParams, shouldReplace) {\n    let transition = this.router._doTransition(routeName, models, queryParams);\n    if (shouldReplace) {\n      transition.method('replace');\n    }\n    return transition;\n  }\n  normalizeQueryParams(routeName, models, queryParams) {\n    this.router._prepareQueryParams(routeName, models, queryParams);\n  }\n  _generateURL(routeName, models, queryParams) {\n    let visibleQueryParams = {};\n    if (queryParams) {\n      Object.assign(visibleQueryParams, queryParams);\n      this.normalizeQueryParams(routeName, models, visibleQueryParams);\n    }\n    return this.router.generate(routeName, ...models, {\n      queryParams: visibleQueryParams\n    });\n  }\n  generateURL(routeName, models, queryParams) {\n    if (this.router._initialTransitionStarted) {\n      return this._generateURL(routeName, models, queryParams);\n    } else {\n      // Swallow error when transition has not started.\n      // When rendering in tests without visit(), we cannot infer the route context which <LinkTo/> needs be aware of\n      try {\n        return this._generateURL(routeName, models, queryParams);\n      } catch (_e) {\n        return;\n      }\n    }\n  }\n  isActiveForRoute(contexts, queryParams, routeName, routerState) {\n    let handlers = this.router._routerMicrolib.recognizer.handlersFor(routeName);\n    let leafName = handlers[handlers.length - 1].handler;\n    let maximumContexts = numberOfContextsAcceptedByHandler(routeName, handlers);\n    // NOTE: any ugliness in the calculation of activeness is largely\n    // due to the fact that we support automatic normalizing of\n    // `resource` -> `resource.index`, even though there might be\n    // dynamic segments / query params defined on `resource.index`\n    // which complicates (and makes somewhat ambiguous) the calculation\n    // of activeness for links that link to `resource` instead of\n    // directly to `resource.index`.\n    // if we don't have enough contexts revert back to full route name\n    // this is because the leaf route will use one of the contexts\n    if (contexts.length > maximumContexts) {\n      routeName = leafName;\n    }\n    return routerState.isActiveIntent(routeName, contexts, queryParams);\n  }\n}\nRoutingService.reopen({\n  targetState: readOnly('router.targetState'),\n  currentState: readOnly('router.currentState'),\n  currentRouteName: readOnly('router.currentRouteName'),\n  currentPath: readOnly('router.currentPath')\n});\nfunction numberOfContextsAcceptedByHandler(handlerName, handlerInfos) {\n  let req = 0;\n  for (let i = 0; i < handlerInfos.length; i++) {\n    req += handlerInfos[i].names.length;\n    if (handlerInfos[i].handler === handlerName) {\n      break;\n    }\n  }\n  return req;\n}","import { get } from '@ember/-internals/metal';\nimport { getOwner } from '@ember/-internals/owner';\nimport { assert, deprecate } from '@ember/debug';\nimport EngineInstance from '@ember/engine/instance';\nimport { STATE_SYMBOL } from 'router_js';\nconst ALL_PERIODS_REGEX = /\\./g;\nexport function extractRouteArgs(args) {\n  // SAFETY: This should just be the same thing\n  args = args.slice();\n  let possibleOptions = args[args.length - 1];\n  let queryParams;\n  if (isRouteOptions(possibleOptions)) {\n    args.pop(); // Remove options\n    queryParams = possibleOptions.queryParams;\n  } else {\n    queryParams = {};\n  }\n  let routeName;\n  if (typeof args[0] === 'string') {\n    routeName = args.shift();\n    // We just checked this!\n    assert('routeName is a string', typeof routeName === 'string');\n  }\n  // SAFTEY: We removed the name and options if they existed, only models left.\n  let models = args;\n  return {\n    routeName,\n    models,\n    queryParams\n  };\n}\nexport function getActiveTargetName(router) {\n  let routeInfos = router.activeTransition ? router.activeTransition[STATE_SYMBOL].routeInfos : router.state.routeInfos;\n  let lastRouteInfo = routeInfos[routeInfos.length - 1];\n  assert('has last route info', lastRouteInfo);\n  return lastRouteInfo.name;\n}\nexport function stashParamNames(router, routeInfos) {\n  if (routeInfos['_namesStashed']) {\n    return;\n  }\n  // This helper exists because router.js/route-recognizer.js awkwardly\n  // keeps separate a routeInfo's list of parameter names depending\n  // on whether a URL transition or named transition is happening.\n  // Hopefully we can remove this in the future.\n  let routeInfo = routeInfos[routeInfos.length - 1];\n  assert('has route info', routeInfo);\n  let targetRouteName = routeInfo.name;\n  let recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n  let dynamicParent;\n  for (let i = 0; i < routeInfos.length; ++i) {\n    let routeInfo = routeInfos[i];\n    assert('has route info', routeInfo);\n    let names = recogHandlers[i].names;\n    if (names.length) {\n      dynamicParent = routeInfo;\n    }\n    routeInfo['_names'] = names;\n    let route = routeInfo.route;\n    // SAFETY: This cast should be idential. I don't understand why it is needed.\n    route._stashNames(routeInfo, dynamicParent);\n  }\n  routeInfos['_namesStashed'] = true;\n}\nfunction _calculateCacheValuePrefix(prefix, part) {\n  // calculates the dot separated sections from prefix that are also\n  // at the start of part - which gives us the route name\n  // given : prefix = site.article.comments, part = site.article.id\n  //      - returns: site.article (use get(values[site.article], 'id') to get the dynamic part - used below)\n  // given : prefix = site.article, part = site.article.id\n  //      - returns: site.article. (use get(values[site.article], 'id') to get the dynamic part - used below)\n  let prefixParts = prefix.split('.');\n  let currPrefix = '';\n  for (let i = 0; i < prefixParts.length; i++) {\n    let currPart = prefixParts.slice(0, i + 1).join('.');\n    if (part.indexOf(currPart) !== 0) {\n      break;\n    }\n    currPrefix = currPart;\n  }\n  return currPrefix;\n}\n/*\n  Stolen from Controller\n*/\nexport function calculateCacheKey(prefix, parts = [], values) {\n  let suffixes = '';\n  for (let part of parts) {\n    let cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n    let value;\n    if (values) {\n      if (cacheValuePrefix && cacheValuePrefix in values) {\n        let partRemovedPrefix = part.indexOf(cacheValuePrefix) === 0 ? part.substring(cacheValuePrefix.length + 1) : part;\n        value = get(values[cacheValuePrefix], partRemovedPrefix);\n      } else {\n        value = get(values, part);\n      }\n    }\n    suffixes += `::${part}:${value}`;\n  }\n  return prefix + suffixes.replace(ALL_PERIODS_REGEX, '-');\n}\n/*\n  Controller-defined query parameters can come in three shapes:\n\n  Array\n    queryParams: ['foo', 'bar']\n  Array of simple objects where value is an alias\n    queryParams: [\n      {\n        'foo': 'rename_foo_to_this'\n      },\n      {\n        'bar': 'call_bar_this_instead'\n      }\n    ]\n  Array of fully defined objects\n    queryParams: [\n      {\n        'foo': {\n          as: 'rename_foo_to_this'\n        },\n      }\n      {\n        'bar': {\n          as: 'call_bar_this_instead',\n          scope: 'controller'\n        }\n      }\n    ]\n\n  This helper normalizes all three possible styles into the\n  'Array of fully defined objects' style.\n*/\nexport function normalizeControllerQueryParams(queryParams) {\n  let qpMap = {};\n  for (let queryParam of queryParams) {\n    accumulateQueryParamDescriptors(queryParam, qpMap);\n  }\n  return qpMap;\n}\nfunction accumulateQueryParamDescriptors(_desc, accum) {\n  let desc = typeof _desc === 'string' ? {\n    [_desc]: {\n      as: null\n    }\n  } : _desc;\n  for (let key in desc) {\n    if (!Object.prototype.hasOwnProperty.call(desc, key)) {\n      return;\n    }\n    let _singleDesc = desc[key];\n    let singleDesc = typeof _singleDesc === 'string' ? {\n      as: _singleDesc\n    } : _singleDesc;\n    let partialVal = accum[key] || {\n      as: null,\n      scope: 'model'\n    };\n    let val = Object.assign(Object.assign({}, partialVal), singleDesc);\n    accum[key] = val;\n  }\n}\n/*\n  Check if a routeName resembles a url instead\n\n  @private\n*/\nexport function resemblesURL(str) {\n  return typeof str === 'string' && (str === '' || str[0] === '/');\n}\n/*\n  Returns an arguments array where the route name arg is prefixed based on the mount point\n\n  @private\n*/\nexport function prefixRouteNameArg(route, args) {\n  let routeName;\n  let owner = getOwner(route);\n  assert('Expected route to have EngineInstance as owner', owner instanceof EngineInstance);\n  let prefix = owner.mountPoint;\n  // only alter the routeName if it's actually referencing a route.\n  if (owner.routable && typeof args[0] === 'string') {\n    routeName = args[0];\n    if (resemblesURL(routeName)) {\n      throw new Error('Programmatic transitions by URL cannot be used within an Engine. Please use the route name instead.');\n    } else {\n      routeName = `${prefix}.${routeName}`;\n      args[0] = routeName;\n    }\n  }\n  return args;\n}\nexport function shallowEqual(a, b) {\n  let aCount = 0;\n  let bCount = 0;\n  for (let kA in a) {\n    if (Object.prototype.hasOwnProperty.call(a, kA)) {\n      if (a[kA] !== b[kA]) {\n        return false;\n      }\n      aCount++;\n    }\n  }\n  for (let kB in b) {\n    if (Object.prototype.hasOwnProperty.call(b, kB)) {\n      bCount++;\n    }\n  }\n  return aCount === bCount;\n}\nexport function deprecateTransitionMethods(frameworkClass, methodName) {\n  deprecate(`Calling ${methodName} on a ${frameworkClass} is deprecated. Use the RouterService instead.`, false, {\n    id: 'routing.transition-methods',\n    for: 'ember-source',\n    since: {\n      available: '3.26.0',\n      enabled: '3.26.0'\n    },\n    until: '5.0.0',\n    url: 'https://deprecations.emberjs.com/v3.x/#toc_routing-transition-methods'\n  });\n}\nfunction isRouteOptions(value) {\n  if (value && typeof value === 'object') {\n    let qps = value.queryParams;\n    if (qps && typeof qps === 'object') {\n      return Object.keys(qps).every(k => typeof k === 'string');\n    }\n  }\n  return false;\n}","import { assert, deprecate } from '@ember/debug';\n/**\n@module @ember/routing/location\n*/\n/**\n  Location returns an instance of the correct implementation of\n  the `location` API.\n\n  ## Implementations\n\n  You can pass an implementation name (`hash`, `history`, `none`, `auto`) to force a\n  particular implementation to be used in your application.\n\n  See [HashLocation](/ember/release/classes/HashLocation).\n  See [HistoryLocation](/ember/release/classes/HistoryLocation).\n  See [NoneLocation](/ember/release/classes/NoneLocation).\n  See [AutoLocation](/ember/release/classes/AutoLocation).\n\n  ## Location API\n\n  Each location implementation must provide the following methods:\n\n  * implementation: returns the string name used to reference the implementation.\n  * getURL: returns the current URL.\n  * setURL(path): sets the current URL.\n  * replaceURL(path): replace the current URL (optional).\n  * onUpdateURL(callback): triggers the callback when the URL changes.\n  * formatURL(url): formats `url` to be placed into `href` attribute.\n  * detect() (optional): instructs the location to do any feature detection\n      necessary. If the location needs to redirect to a different URL, it\n      can cancel routing by setting the `cancelRouterSetup` property on itself\n      to `false`.\n\n  Calling setURL or replaceURL will not trigger onUpdateURL callbacks.\n\n  ## Custom implementation\n\n  Ember scans `app/locations/*` for extending the Location API.\n\n  Example:\n\n  ```javascript\n  import HistoryLocation from '@ember/routing/history-location';\n\n  export default class MyHistory {\n    implementation = 'my-custom-history';\n\n    constructor() {\n      this._history = HistoryLocation.create(...arguments);\n    }\n\n    create() {\n      return new this(...arguments);\n    }\n\n    pushState(path) {\n       this._history.pushState(path);\n    }\n  }\n  ```\n\n  @class Location\n  @private\n*/\nexport default {\n  /**\n   This is deprecated in favor of using the container to lookup the location\n   implementation as desired.\n      For example:\n      ```javascript\n   // Given a location registered as follows:\n   container.register('location:history-test', HistoryTestLocation);\n      // You could create a new instance via:\n   container.lookup('location:history-test');\n   ```\n       @method create\n    @param {Object} options\n    @return {Object} an instance of an implementation of the `location` API\n    @deprecated Use the container to lookup the location implementation that you\n    need.\n    @private\n  */\n  create(options) {\n    let implementation = options === null || options === void 0 ? void 0 : options.implementation;\n    assert(\"Location.create: you must specify a 'implementation' option\", implementation);\n    let implementationClass = this.implementations[implementation];\n    assert(`Location.create: ${implementation} is not a valid implementation`, implementationClass);\n    deprecate(\"Calling `create` on Location class is deprecated. Instead, use `container.lookup('location:my-location')` to lookup the location you need.\", false, {\n      id: 'deprecate-auto-location',\n      until: '5.0.0',\n      url: 'https://emberjs.com/deprecations/v4.x#toc_deprecate-auto-location',\n      for: 'ember-source',\n      since: {\n        available: '4.1.0',\n        enabled: '4.1.0'\n      }\n    });\n    return implementationClass.create(...arguments);\n  },\n  implementations: {}\n};","import EmberObject, { set } from '@ember/object';\nimport { assert } from '@ember/debug';\n/**\n@module @ember/routing/none-location\n*/\n/**\n  NoneLocation does not interact with the browser. It is useful for\n  testing, or when you need to manage state with your Router, but temporarily\n  don't want it to muck with the URL (for example when you embed your\n  application in a larger page).\n\n  Using `NoneLocation` causes Ember to not store the applications URL state\n  in the actual URL. This is generally used for testing purposes, and is one\n  of the changes made when calling `App.setupForTesting()`.\n\n  @class NoneLocation\n  @extends EmberObject\n  @protected\n*/\nexport default class NoneLocation extends EmberObject {\n  constructor() {\n    super(...arguments);\n    this.implementation = 'none';\n  }\n  initState() {\n    this._super(...arguments);\n    let {\n      rootURL\n    } = this;\n    // This assert doesn't have anything to do with state initialization,\n    // but we're hijacking this method since it's called after the route has\n    // set the rootURL property on its Location instance.\n    assert('rootURL must end with a trailing forward slash e.g. \"/app/\"', rootURL.charAt(rootURL.length - 1) === '/');\n  }\n  /**\n    Returns the current path without `rootURL`.\n       @private\n    @method getURL\n    @return {String} path\n  */\n  getURL() {\n    let {\n      path,\n      rootURL\n    } = this;\n    // remove trailing slashes if they exists\n    rootURL = rootURL.replace(/\\/$/, '');\n    // remove rootURL from url\n    return path.replace(new RegExp(`^${rootURL}(?=/|$)`), '');\n  }\n  /**\n    Set the path and remembers what was set. Using this method\n    to change the path will not invoke the `updateURL` callback.\n       @private\n    @method setURL\n    @param path {String}\n  */\n  setURL(path) {\n    set(this, 'path', path);\n  }\n  /**\n    Register a callback to be invoked when the path changes. These\n    callbacks will execute when the user presses the back or forward\n    button, but not after `setURL` is invoked.\n       @private\n    @method onUpdateURL\n    @param callback {Function}\n  */\n  onUpdateURL(callback) {\n    this.updateCallback = callback;\n  }\n  /**\n    Sets the path and calls the `updateURL` callback.\n       @private\n    @method handleURL\n    @param url {String}\n  */\n  handleURL(url) {\n    set(this, 'path', url);\n    this.updateCallback(url);\n  }\n  /**\n    Given a URL, formats it to be placed into the page as part\n    of an element's `href` attribute.\n       This is used, for example, when using the {{action}} helper\n    to generate a URL based on an event.\n       @private\n    @method formatURL\n    @param url {String}\n    @return {String} url\n  */\n  formatURL(url) {\n    let {\n      rootURL\n    } = this;\n    if (url !== '') {\n      // remove trailing slashes if they exists\n      rootURL = rootURL.replace(/\\/$/, '');\n    }\n    return rootURL + url;\n  }\n}\nNoneLocation.reopen({\n  path: '',\n  rootURL: '/'\n});","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n  var c = arguments.length,\n    r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n    d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\nimport { privatize as P } from '@ember/-internals/container';\nimport { addObserver, defineProperty, descriptorForProperty, flushAsyncObservers } from '@ember/-internals/metal';\nimport { getOwner } from '@ember/-internals/owner';\nimport { BucketCache } from '@ember/routing/-internals';\nimport EmberObject, { computed, get, set, getProperties, setProperties } from '@ember/object';\nimport Evented from '@ember/object/evented';\nimport { A as emberA } from '@ember/array';\nimport { ActionHandler } from '@ember/-internals/runtime';\nimport { isEmpty, typeOf } from '@ember/utils';\nimport { isProxy, lookupDescriptor } from '@ember/-internals/utils';\nimport Controller from '@ember/controller';\nimport { assert, info, isTesting } from '@ember/debug';\nimport EngineInstance from '@ember/engine/instance';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport { once } from '@ember/runloop';\nimport { DEBUG } from '@glimmer/env';\nimport { PARAMS_SYMBOL, STATE_SYMBOL } from 'router_js';\nimport EmberRouter from '@ember/routing/router';\nimport { generateController } from '@ember/routing/-internals';\nimport { calculateCacheKey, deprecateTransitionMethods, normalizeControllerQueryParams, prefixRouteNameArg, stashParamNames } from './lib/utils';\nexport const ROUTE_CONNECTIONS = new WeakMap();\nconst RENDER = Symbol('render');\nclass Route extends EmberObject.extend(ActionHandler, Evented) {\n  constructor(owner) {\n    super(owner);\n    this.context = {};\n    if (owner) {\n      let router = owner.lookup('router:main');\n      let bucketCache = owner.lookup(P`-bucket-cache:main`);\n      assert('ROUTER BUG: Expected route injections to be defined on the route. This is an internal bug, please open an issue on Github if you see this message!', router instanceof EmberRouter && bucketCache instanceof BucketCache);\n      this._router = router;\n      this._bucketCache = bucketCache;\n      this._topLevelViewTemplate = owner.lookup('template:-outlet');\n      this._environment = owner.lookup('-environment:main');\n    }\n  }\n  /**\n    A hook you can implement to convert the route's model into parameters\n    for the URL.\n       ```app/router.js\n    // ...\n       Router.map(function() {\n      this.route('post', { path: '/posts/:post_id' });\n    });\n       ```\n       ```app/routes/post.js\n    import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n      model({ post_id }) {\n        // the server returns `{ id: 12 }`\n        return fetch(`/posts/${post_id}`;\n      }\n         serialize(model) {\n        // this will make the URL `/posts/12`\n        return { post_id: model.id };\n      }\n    }\n    ```\n       The default `serialize` method will insert the model's `id` into the\n    route's dynamic segment (in this case, `:post_id`) if the segment contains '_id'.\n    If the route has multiple dynamic segments or does not contain '_id', `serialize`\n    will return `getProperties(model, params)`\n       This method is called when `transitionTo` is called with a context\n    in order to populate the URL.\n       @method serialize\n    @param {Object} model the routes model\n    @param {Array} params an Array of parameter names for the current\n      route (in the example, `['post_id']`.\n    @return {Object} the serialized parameters\n    @since 1.0.0\n    @public\n  */\n  serialize(model, params) {\n    if (params.length < 1 || !model) {\n      return;\n    }\n    let object = {};\n    if (params.length === 1) {\n      let [name] = params;\n      assert('has name', name);\n      if (typeof model === 'object' && name in model) {\n        object[name] = get(model, name);\n      } else if (/_id$/.test(name)) {\n        object[name] = get(model, 'id');\n      } else if (isProxy(model)) {\n        object[name] = get(model, name);\n      }\n    } else {\n      object = getProperties(model, params);\n    }\n    return object;\n  }\n  /**\n    Sets the name for this route, including a fully resolved name for routes\n    inside engines.\n       @private\n    @method _setRouteName\n    @param {String} name\n  */\n  _setRouteName(name) {\n    this.routeName = name;\n    let owner = getOwner(this);\n    assert('Expected route to have EngineInstance as owner', owner instanceof EngineInstance);\n    this.fullRouteName = getEngineRouteName(owner, name);\n  }\n  /**\n    @private\n       @method _stashNames\n  */\n  _stashNames(routeInfo, dynamicParent) {\n    if (this._names) {\n      return;\n    }\n    let names = this._names = routeInfo['_names'];\n    if (!names.length) {\n      routeInfo = dynamicParent;\n      names = routeInfo && routeInfo['_names'] || [];\n    }\n    // SAFETY: Since `_qp` is protected we can't infer the type\n    let qps = get(this, '_qp').qps;\n    let namePaths = new Array(names.length);\n    for (let a = 0; a < names.length; ++a) {\n      namePaths[a] = `${routeInfo.name}.${names[a]}`;\n    }\n    for (let qp of qps) {\n      if (qp.scope === 'model') {\n        qp.parts = namePaths;\n      }\n    }\n  }\n  /**\n    @private\n       @property _activeQPChanged\n  */\n  _activeQPChanged(qp, value) {\n    this._router._activeQPChanged(qp.scopedPropertyName, value);\n  }\n  /**\n    @private\n    @method _updatingQPChanged\n  */\n  _updatingQPChanged(qp) {\n    this._router._updatingQPChanged(qp.urlKey);\n  }\n  /**\n    Returns a hash containing the parameters of an ancestor route.\n       You may notice that `this.paramsFor` sometimes works when referring to a\n    child route, but this behavior should not be relied upon as only ancestor\n    routes are certain to be loaded in time.\n       Example\n       ```app/router.js\n    // ...\n       Router.map(function() {\n      this.route('member', { path: ':name' }, function() {\n        this.route('interest', { path: ':interest' });\n      });\n    });\n    ```\n       ```app/routes/member.js\n    import Route from '@ember/routing/route';\n       export default class MemberRoute extends Route {\n      queryParams = {\n        memberQp: { refreshModel: true }\n      }\n    }\n    ```\n       ```app/routes/member/interest.js\n    import Route from '@ember/routing/route';\n       export default class MemberInterestRoute extends Route {\n      queryParams = {\n        interestQp: { refreshModel: true }\n      }\n         model() {\n        return this.paramsFor('member');\n      }\n    }\n    ```\n       If we visit `/turing/maths?memberQp=member&interestQp=interest` the model for\n    the `member.interest` route is a hash with:\n       * `name`: `turing`\n    * `memberQp`: `member`\n       @method paramsFor\n    @param {String} name\n    @return {Object} hash containing the parameters of the route `name`\n    @since 1.4.0\n    @public\n  */\n  paramsFor(name) {\n    let owner = getOwner(this);\n    assert('Route is unexpectedly missing an owner', owner);\n    let route = owner.lookup(`route:${name}`);\n    if (route === undefined) {\n      return {};\n    }\n    let transition = this._router._routerMicrolib.activeTransition;\n    let state = transition ? transition[STATE_SYMBOL] : this._router._routerMicrolib.state;\n    let fullName = route.fullRouteName;\n    let params = Object.assign({}, state.params[fullName]);\n    let queryParams = getQueryParamsFor(route, state);\n    return Object.entries(queryParams).reduce((params, [key, value]) => {\n      assert(`The route '${this.routeName}' has both a dynamic segment and query param with name '${key}'. Please rename one to avoid collisions.`, !params[key]);\n      params[key] = value;\n      return params;\n    }, params);\n  }\n  /**\n    Serializes the query parameter key\n       @method serializeQueryParamKey\n    @param {String} controllerPropertyName\n    @private\n  */\n  serializeQueryParamKey(controllerPropertyName) {\n    return controllerPropertyName;\n  }\n  /**\n    Serializes value of the query parameter based on defaultValueType\n       @method serializeQueryParam\n    @param {Object} value\n    @param {String} urlKey\n    @param {String} defaultValueType\n    @private\n  */\n  serializeQueryParam(value, _urlKey, defaultValueType) {\n    // urlKey isn't used here, but anyone overriding\n    // can use it to provide serialization specific\n    // to a certain query param.\n    return this._router._serializeQueryParam(value, defaultValueType);\n  }\n  /**\n    Deserializes value of the query parameter based on defaultValueType\n       @method deserializeQueryParam\n    @param {Object} value\n    @param {String} urlKey\n    @param {String} defaultValueType\n    @private\n  */\n  deserializeQueryParam(value, _urlKey, defaultValueType) {\n    // urlKey isn't used here, but anyone overriding\n    // can use it to provide deserialization specific\n    // to a certain query param.\n    return this._router._deserializeQueryParam(value, defaultValueType);\n  }\n  /**\n    @private\n       @property _optionsForQueryParam\n  */\n  _optionsForQueryParam(qp) {\n    const queryParams = get(this, 'queryParams');\n    return get(queryParams, qp.urlKey) || get(queryParams, qp.prop) || queryParams[qp.urlKey] || queryParams[qp.prop] || {};\n  }\n  /**\n    A hook you can use to reset controller values either when the model\n    changes or the route is exiting.\n       ```app/routes/articles.js\n    import Route from '@ember/routing/route';\n       export default class ArticlesRoute extends Route {\n      resetController(controller, isExiting, transition) {\n        if (isExiting && transition.targetName !== 'error') {\n          controller.set('page', 1);\n        }\n      }\n    }\n    ```\n       @method resetController\n    @param {Controller} controller instance\n    @param {Boolean} isExiting\n    @param {Object} transition\n    @since 1.7.0\n    @public\n  */\n  resetController(_controller, _isExiting, _transition) {\n    return this;\n  }\n  /**\n    @private\n       @method exit\n  */\n  exit(transition) {\n    this.deactivate(transition);\n    this.trigger('deactivate', transition);\n    this.teardownViews();\n  }\n  /**\n    @private\n       @method _internalReset\n    @since 3.6.0\n  */\n  _internalReset(isExiting, transition) {\n    let controller = this.controller;\n    // SAFETY: Since `_qp` is protected we can't infer the type\n    controller['_qpDelegate'] = get(this, '_qp').states.inactive;\n    this.resetController(controller, isExiting, transition);\n  }\n  /**\n    @private\n       @method enter\n  */\n  enter(transition) {\n    ROUTE_CONNECTIONS.set(this, []);\n    this.activate(transition);\n    this.trigger('activate', transition);\n  }\n  /**\n    This event is triggered when the router enters the route. It is\n    not executed when the model for the route changes.\n       ```app/routes/application.js\n    import { on } from '@ember/object/evented';\n    import Route from '@ember/routing/route';\n       export default Route.extend({\n      collectAnalytics: on('activate', function(){\n        collectAnalytics();\n      })\n    });\n    ```\n       @event activate\n    @since 1.9.0\n    @public\n  */\n  /**\n    This event is triggered when the router completely exits this\n    route. It is not executed when the model for the route changes.\n       ```app/routes/index.js\n    import { on } from '@ember/object/evented';\n    import Route from '@ember/routing/route';\n       export default Route.extend({\n      trackPageLeaveAnalytics: on('deactivate', function(){\n        trackPageLeaveAnalytics();\n      })\n    });\n    ```\n       @event deactivate\n    @since 1.9.0\n    @public\n  */\n  /**\n    This hook is executed when the router completely exits this route. It is\n    not executed when the model for the route changes.\n       @method deactivate\n    @param {Transition} transition\n    @since 1.0.0\n    @public\n  */\n  deactivate(_transition) {}\n  /**\n    This hook is executed when the router enters the route. It is not executed\n    when the model for the route changes.\n       @method activate\n    @param {Transition} transition\n    @since 1.0.0\n    @public\n  */\n  activate(_transition) {}\n  /**\n    Transition the application into another route. The route may\n    be either a single route or route path:\n       ```javascript\n    this.transitionTo('blogPosts');\n    this.transitionTo('blogPosts.recentEntries');\n    ```\n       Optionally supply a model for the route in question. The model\n    will be serialized into the URL using the `serialize` hook of\n    the route:\n       ```javascript\n    this.transitionTo('blogPost', aPost);\n    ```\n       If a literal is passed (such as a number or a string), it will\n    be treated as an identifier instead. In this case, the `model`\n    hook of the route will be triggered:\n       ```javascript\n    this.transitionTo('blogPost', 1);\n    ```\n       Multiple models will be applied last to first recursively up the\n    route tree.\n       ```app/routes.js\n    // ...\n       Router.map(function() {\n      this.route('blogPost', { path:':blogPostId' }, function() {\n        this.route('blogComment', { path: ':blogCommentId' });\n      });\n    });\n       export default Router;\n    ```\n       ```javascript\n    this.transitionTo('blogComment', aPost, aComment);\n    this.transitionTo('blogComment', 1, 13);\n    ```\n       It is also possible to pass a URL (a string that starts with a\n    `/`).\n       ```javascript\n    this.transitionTo('/');\n    this.transitionTo('/blog/post/1/comment/13');\n    this.transitionTo('/blog/posts?sort=title');\n    ```\n       An options hash with a `queryParams` property may be provided as\n    the final argument to add query parameters to the destination URL.\n       ```javascript\n    this.transitionTo('blogPost', 1, {\n      queryParams: { showComments: 'true' }\n    });\n       // if you just want to transition the query parameters without changing the route\n    this.transitionTo({ queryParams: { sort: 'date' } });\n    ```\n       See also [replaceWith](#method_replaceWith).\n       Simple Transition Example\n       ```app/routes.js\n    // ...\n       Router.map(function() {\n      this.route('index');\n      this.route('secret');\n      this.route('fourOhFour', { path: '*:' });\n    });\n       export default Router;\n    ```\n       ```app/routes/index.js\n    import Route from '@ember/routing/route';\n    import { action } from '@ember/object';\n       export default class IndexRoute extends Route {\n      @action\n      moveToSecret(context) {\n        if (authorized()) {\n          this.transitionTo('secret', context);\n        } else {\n          this.transitionTo('fourOhFour');\n        }\n      }\n    }\n    ```\n       Transition to a nested route\n       ```app/router.js\n    // ...\n       Router.map(function() {\n      this.route('articles', { path: '/articles' }, function() {\n        this.route('new');\n      });\n    });\n       export default Router;\n    ```\n       ```app/routes/index.js\n    import Route from '@ember/routing/route';\n    import { action } from '@ember/object';\n       export default class IndexRoute extends Route {\n      @action\n      transitionToNewArticle() {\n        this.transitionTo('articles.new');\n      }\n    }\n    ```\n       Multiple Models Example\n       ```app/router.js\n    // ...\n       Router.map(function() {\n      this.route('index');\n         this.route('breakfast', { path: ':breakfastId' }, function() {\n        this.route('cereal', { path: ':cerealId' });\n      });\n    });\n       export default Router;\n    ```\n       ```app/routes/index.js\n    import Route from '@ember/routing/route';\n    import { action } from '@ember/object';\n       export default class IndexRoute extends Route {\n      @action\n      moveToChocolateCereal() {\n        let cereal = { cerealId: 'ChocolateYumminess' };\n        let breakfast = { breakfastId: 'CerealAndMilk' };\n           this.transitionTo('breakfast.cereal', breakfast, cereal);\n      }\n    }\n    ```\n       Nested Route with Query String Example\n       ```app/routes.js\n    // ...\n       Router.map(function() {\n      this.route('fruits', function() {\n        this.route('apples');\n      });\n    });\n       export default Router;\n    ```\n       ```app/routes/index.js\n    import Route from '@ember/routing/route';\n       export default class IndexRoute extends Route {\n      @action\n      transitionToApples() {\n        this.transitionTo('fruits.apples', { queryParams: { color: 'red' } });\n      }\n    }\n    ```\n       @method transitionTo\n    @param {String} [name] the name of the route or a URL.\n    @param {...Object} [models] the model(s) or identifier(s) to be used while\n      transitioning to the route.\n    @param {Object} [options] optional hash with a queryParams property\n      containing a mapping of query parameters. May be supplied as the only\n      parameter to trigger a query-parameter-only transition.\n    @return {Transition} the transition object associated with this\n      attempted transition\n    @since 1.0.0\n    @deprecated Use transitionTo from the Router service instead.\n    @public\n  */\n  transitionTo(...args) {\n    deprecateTransitionMethods('route', 'transitionTo');\n    return this._router.transitionTo(...prefixRouteNameArg(this, args));\n  }\n  /**\n    Perform a synchronous transition into another route without attempting\n    to resolve promises, update the URL, or abort any currently active\n    asynchronous transitions (i.e. regular transitions caused by\n    `transitionTo` or URL changes).\n       This method is handy for performing intermediate transitions on the\n    way to a final destination route, and is called internally by the\n    default implementations of the `error` and `loading` handlers.\n       @method intermediateTransitionTo\n    @param {String} name the name of the route\n    @param {...Object} models the model(s) to be used while transitioning\n    to the route.\n    @since 1.2.0\n    @public\n   */\n  intermediateTransitionTo(...args) {\n    let [name, ...preparedArgs] = prefixRouteNameArg(this, args);\n    this._router.intermediateTransitionTo(name, ...preparedArgs);\n  }\n  /**\n    Refresh the model on this route and any child routes, firing the\n    `beforeModel`, `model`, and `afterModel` hooks in a similar fashion\n    to how routes are entered when transitioning in from other route.\n    The current route params (e.g. `article_id`) will be passed in\n    to the respective model hooks, and if a different model is returned,\n    `setupController` and associated route hooks will re-fire as well.\n       An example usage of this method is re-querying the server for the\n    latest information using the same parameters as when the route\n    was first entered.\n       Note that this will cause `model` hooks to fire even on routes\n    that were provided a model object when the route was initially\n    entered.\n       @method refresh\n    @return {Transition} the transition object associated with this\n      attempted transition\n    @since 1.4.0\n    @public\n   */\n  refresh() {\n    return this._router._routerMicrolib.refresh(this);\n  }\n  /**\n    Transition into another route while replacing the current URL, if possible.\n    This will replace the current history entry instead of adding a new one.\n    Beside that, it is identical to `transitionTo` in all other respects. See\n    'transitionTo' for additional information regarding multiple models.\n       Example\n       ```app/router.js\n    // ...\n       Router.map(function() {\n      this.route('index');\n      this.route('secret');\n    });\n       export default Router;\n    ```\n       ```app/routes/secret.js\n    import Route from '@ember/routing/route';\n       export default class SecretRoute Route {\n      afterModel() {\n        if (!authorized()){\n          this.replaceWith('index');\n        }\n      }\n    }\n    ```\n       @method replaceWith\n    @param {String} name the name of the route or a URL\n    @param {...Object} models the model(s) or identifier(s) to be used while\n      transitioning to the route.\n    @param {Object} [options] optional hash with a queryParams property\n      containing a mapping of query parameters\n    @return {Transition} the transition object associated with this\n      attempted transition\n    @since 1.0.0\n    @deprecated Use replaceWith from the Router service instead.\n    @public\n  */\n  replaceWith(...args) {\n    deprecateTransitionMethods('route', 'replaceWith');\n    return this._router.replaceWith(...prefixRouteNameArg(this, args));\n  }\n  /**\n    This hook is the entry point for router.js\n       @private\n    @method setup\n  */\n  setup(context, transition) {\n    let controllerName = this.controllerName || this.routeName;\n    let definedController = this.controllerFor(controllerName, true);\n    let controller = definedController !== null && definedController !== void 0 ? definedController : this.generateController(controllerName);\n    // SAFETY: Since `_qp` is protected we can't infer the type\n    let queryParams = get(this, '_qp');\n    // Assign the route's controller so that it can more easily be\n    // referenced in action handlers. Side effects. Side effects everywhere.\n    if (!this.controller) {\n      let propNames = queryParams.propertyNames;\n      addQueryParamsObservers(controller, propNames);\n      this.controller = controller;\n    }\n    let states = queryParams.states;\n    controller._qpDelegate = states.allowOverrides;\n    if (transition) {\n      // Update the model dep values used to calculate cache keys.\n      stashParamNames(this._router, transition[STATE_SYMBOL].routeInfos);\n      let cache = this._bucketCache;\n      let params = transition[PARAMS_SYMBOL];\n      let allParams = queryParams.propertyNames;\n      allParams.forEach(prop => {\n        let aQp = queryParams.map[prop];\n        assert('expected aQp', aQp);\n        aQp.values = params;\n        let cacheKey = calculateCacheKey(aQp.route.fullRouteName, aQp.parts, aQp.values);\n        let value = cache.lookup(cacheKey, prop, aQp.undecoratedDefaultValue);\n        set(controller, prop, value);\n      });\n      let qpValues = getQueryParamsFor(this, transition[STATE_SYMBOL]);\n      setProperties(controller, qpValues);\n    }\n    this.setupController(controller, context, transition);\n    if (this._environment.options.shouldRender) {\n      this[RENDER]();\n    }\n    // Setup can cause changes to QPs which need to be propogated immediately in\n    // some situations. Eventually, we should work on making these async somehow.\n    flushAsyncObservers(false);\n  }\n  /*\n    Called when a query parameter for this route changes, regardless of whether the route\n    is currently part of the active route hierarchy. This will update the query parameter's\n    value in the cache so if this route becomes active, the cache value has been updated.\n  */\n  _qpChanged(prop, value, qp) {\n    if (!qp) {\n      return;\n    }\n    // Update model-dep cache\n    let cache = this._bucketCache;\n    let cacheKey = calculateCacheKey(qp.route.fullRouteName, qp.parts, qp.values);\n    cache.stash(cacheKey, prop, value);\n  }\n  beforeModel(_transition) {}\n  afterModel(_resolvedModel, _transition) {}\n  /**\n    A hook you can implement to optionally redirect to another route.\n       Calling `this.transitionTo` from inside of the `redirect` hook will\n    abort the current transition (into the route that has implemented `redirect`).\n       `redirect` and `afterModel` behave very similarly and are\n    called almost at the same time, but they have an important\n    distinction when calling `this.transitionTo` to a child route\n    of the current route. From `afterModel`, this new transition\n    invalidates the current transition, causing `beforeModel`,\n    `model`, and `afterModel` hooks to be called again. But the\n    same transition started from `redirect` does _not_ invalidate\n    the current transition. In other words, by the time the `redirect`\n    hook has been called, both the resolved model and the attempted\n    entry into this route are considered fully validated.\n       @method redirect\n    @param {Object} model the model for this route\n    @param {Transition} transition the transition object associated with the current transition\n    @since 1.0.0\n    @public\n  */\n  redirect(_model, _transition) {}\n  /**\n    Called when the context is changed by router.js.\n       @private\n    @method contextDidChange\n  */\n  contextDidChange() {\n    this.currentModel = this.context;\n  }\n  /**\n    A hook you can implement to convert the URL into the model for\n    this route.\n       ```app/router.js\n    // ...\n       Router.map(function() {\n      this.route('post', { path: '/posts/:post_id' });\n    });\n       export default Router;\n    ```\n       The model for the `post` route is `store.findRecord('post', params.post_id)`.\n       By default, if your route has a dynamic segment ending in `_id`:\n       * The model class is determined from the segment (`post_id`'s\n      class is `App.Post`)\n    * The find method is called on the model class with the value of\n      the dynamic segment.\n       Note that for routes with dynamic segments, this hook is not always\n    executed. If the route is entered through a transition (e.g. when\n    using the `link-to` Handlebars helper or the `transitionTo` method\n    of routes), and a model context is already provided this hook\n    is not called.\n       A model context does not include a primitive string or number,\n    which does cause the model hook to be called.\n       Routes without dynamic segments will always execute the model hook.\n       ```javascript\n    // no dynamic segment, model hook always called\n    this.transitionTo('posts');\n       // model passed in, so model hook not called\n    thePost = store.findRecord('post', 1);\n    this.transitionTo('post', thePost);\n       // integer passed in, model hook is called\n    this.transitionTo('post', 1);\n       // model id passed in, model hook is called\n    // useful for forcing the hook to execute\n    thePost = store.findRecord('post', 1);\n    this.transitionTo('post', thePost.id);\n    ```\n       This hook follows the asynchronous/promise semantics\n    described in the documentation for `beforeModel`. In particular,\n    if a promise returned from `model` fails, the error will be\n    handled by the `error` hook on `Route`.\n       Example\n       ```app/routes/post.js\n    import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n      model(params) {\n        return this.store.findRecord('post', params.post_id);\n      }\n    }\n    ```\n       @method model\n    @param {Object} params the parameters extracted from the URL\n    @param {Transition} transition\n    @return {any | Promise<any>} the model for this route. If\n      a promise is returned, the transition will pause until\n      the promise resolves, and the resolved value of the promise\n      will be used as the model for this route.\n    @since 1.0.0\n    @public\n  */\n  model(params, transition) {\n    let name, sawParams, value;\n    // SAFETY: Since `_qp` is protected we can't infer the type\n    let queryParams = get(this, '_qp').map;\n    for (let prop in params) {\n      if (prop === 'queryParams' || queryParams && prop in queryParams) {\n        continue;\n      }\n      let match = prop.match(/^(.*)_id$/);\n      if (match !== null) {\n        name = match[1];\n        value = params[prop];\n      }\n      sawParams = true;\n    }\n    if (!name) {\n      if (sawParams) {\n        // SAFETY: This should be equivalent\n        return Object.assign({}, params);\n      } else {\n        if (transition.resolveIndex < 1) {\n          return;\n        }\n        // SAFETY: This should be correct, but TS is unable to infer this.\n        return transition[STATE_SYMBOL].routeInfos[transition.resolveIndex - 1].context;\n      }\n    }\n    return this.findModel(name, value);\n  }\n  /**\n    @private\n    @method deserialize\n    @param {Object} params the parameters extracted from the URL\n    @param {Transition} transition\n    @return {any | Promise<any>} the model for this route.\n       Router.js hook.\n   */\n  deserialize(_params, transition) {\n    return this.model(this._paramsFor(this.routeName, _params), transition);\n  }\n  /**\n       @method findModel\n    @param {String} type the model type\n    @param {Object} value the value passed to find\n    @private\n  */\n  findModel(...args) {\n    return get(this, 'store').find(...args);\n  }\n  /**\n    A hook you can use to setup the controller for the current route.\n       This method is called with the controller for the current route and the\n    model supplied by the `model` hook.\n       By default, the `setupController` hook sets the `model` property of\n    the controller to the specified `model` when it is not `undefined`.\n       If you implement the `setupController` hook in your Route, it will\n    prevent this default behavior. If you want to preserve that behavior\n    when implementing your `setupController` function, make sure to call\n    `super`:\n       ```app/routes/photos.js\n    import Route from '@ember/routing/route';\n       export default class PhotosRoute extends Route {\n      model() {\n        return this.store.findAll('photo');\n      }\n         setupController(controller, model) {\n        super.setupController(controller, model);\n           this.controllerFor('application').set('showingPhotos', true);\n      }\n    }\n    ```\n       The provided controller will be one resolved based on the name\n    of this route.\n       If no explicit controller is defined, Ember will automatically create one.\n       As an example, consider the router:\n       ```app/router.js\n    // ...\n       Router.map(function() {\n      this.route('post', { path: '/posts/:post_id' });\n    });\n       export default Router;\n    ```\n       If you have defined a file for the post controller,\n    the framework will use it.\n    If it is not defined, a basic `Controller` instance would be used.\n       @example Behavior of a basic Controller\n       ```app/routes/post.js\n    import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n      setupController(controller, model) {\n        controller.set('model', model);\n      }\n    });\n    ```\n       @method setupController\n    @param {Controller} controller instance\n    @param {Object} model\n    @param {Transition} [transition]\n    @since 1.0.0\n    @public\n  */\n  setupController(controller, context, _transition) {\n    if (controller && context !== undefined) {\n      set(controller, 'model', context);\n    }\n  }\n  controllerFor(name, _skipAssert = false) {\n    let owner = getOwner(this);\n    assert('Route is unexpectedly missing an owner', owner);\n    let route = owner.lookup(`route:${name}`);\n    if (route && route.controllerName) {\n      name = route.controllerName;\n    }\n    let controller = owner.lookup(`controller:${name}`);\n    // NOTE: We're specifically checking that skipAssert is true, because according\n    //   to the old API the second parameter was model. We do not want people who\n    //   passed a model to skip the assertion.\n    assert(`The controller named '${name}' could not be found. Make sure that this route exists and has already been entered at least once. If you are accessing a controller not associated with a route, make sure the controller class is explicitly defined.`, controller !== undefined || _skipAssert === true);\n    assert(`Expected controller:${name} to be an instance of Controller`, controller === undefined || controller instanceof Controller);\n    return controller;\n  }\n  /**\n    Generates a controller for a route.\n       Example\n       ```app/routes/post.js\n    import Route from '@ember/routing/route';\n       export default class Post extends Route {\n      setupController(controller, post) {\n        super.setupController(controller, post);\n           this.generateController('posts');\n      }\n    }\n    ```\n       @method generateController\n    @param {String} name the name of the controller\n    @private\n  */\n  generateController(name) {\n    let owner = getOwner(this);\n    assert('Route is unexpectedly missing an owner', owner);\n    return generateController(owner, name);\n  }\n  /**\n    Returns the resolved model of a parent (or any ancestor) route\n    in a route hierarchy.  During a transition, all routes\n    must resolve a model object, and if a route\n    needs access to a parent route's model in order to\n    resolve a model (or just reuse the model from a parent),\n    it can call `this.modelFor(theNameOfParentRoute)` to\n    retrieve it. If the ancestor route's model was a promise,\n    its resolved result is returned.\n       Example\n       ```app/router.js\n    // ...\n       Router.map(function() {\n      this.route('post', { path: '/posts/:post_id' }, function() {\n        this.route('comments');\n      });\n    });\n       export default Router;\n    ```\n       ```app/routes/post/comments.js\n    import Route from '@ember/routing/route';\n       export default class PostCommentsRoute extends Route {\n      model() {\n        let post = this.modelFor('post');\n           return post.comments;\n      }\n    }\n    ```\n       @method modelFor\n    @param {String} name the name of the route\n    @return {Object} the model object\n    @since 1.0.0\n    @public\n  */\n  modelFor(_name) {\n    let name;\n    let owner = getOwner(this);\n    assert('Expected router owner to be an EngineInstance', owner instanceof EngineInstance);\n    let transition = this._router && this._router._routerMicrolib ? this._router._routerMicrolib.activeTransition : undefined;\n    // Only change the route name when there is an active transition.\n    // Otherwise, use the passed in route name.\n    if (owner.routable && transition !== undefined) {\n      name = getEngineRouteName(owner, _name);\n    } else {\n      name = _name;\n    }\n    let route = owner.lookup(`route:${name}`);\n    // If we are mid-transition, we want to try and look up\n    // resolved parent contexts on the current transitionEvent.\n    if (transition !== undefined && transition !== null) {\n      let modelLookupName = route && route.routeName || name;\n      if (Object.prototype.hasOwnProperty.call(transition.resolvedModels, modelLookupName)) {\n        return transition.resolvedModels[modelLookupName];\n      }\n    }\n    return route === null || route === void 0 ? void 0 : route.currentModel;\n  }\n  /**\n    `this[RENDER]` is used to render a template into a region of another template\n    (indicated by an `{{outlet}}`).\n       @method this[RENDER]\n    @param {String} name the name of the template to render\n    @param {Object} [options] the options\n    @param {String} [options.into] the template to render into,\n                    referenced by name. Defaults to the parent template\n    @param {String} [options.outlet] the outlet inside `options.into` to render into.\n                    Defaults to 'main'\n    @param {String|Object} [options.controller] the controller to use for this template,\n                    referenced by name or as a controller instance. Defaults to the Route's paired controller\n    @param {Object} [options.model] the model object to set on `options.controller`.\n                    Defaults to the return value of the Route's model hook\n    @private\n   */\n  [RENDER](name, options) {\n    let renderOptions = buildRenderOptions(this, name, options);\n    ROUTE_CONNECTIONS.get(this).push(renderOptions);\n    once(this._router, '_setOutlets');\n  }\n  willDestroy() {\n    this.teardownViews();\n  }\n  /**\n    @private\n       @method teardownViews\n  */\n  teardownViews() {\n    let connections = ROUTE_CONNECTIONS.get(this);\n    if (connections !== undefined && connections.length > 0) {\n      ROUTE_CONNECTIONS.set(this, []);\n      once(this._router, '_setOutlets');\n    }\n  }\n  buildRouteInfoMetadata() {}\n  _paramsFor(routeName, params) {\n    let transition = this._router._routerMicrolib.activeTransition;\n    if (transition !== undefined) {\n      return this.paramsFor(routeName);\n    }\n    return params;\n  }\n  /**\n    Store property provides a hook for data persistence libraries to inject themselves.\n       By default, this store property provides the exact same functionality previously\n    in the model hook.\n       Currently, the required interface is:\n       `store.find(modelName, findArguments)`\n       @property store\n    @type {Object}\n    @private\n  */\n  get store() {\n    const owner = getOwner(this);\n    assert('Route is unexpectedly missing an owner', owner);\n    let routeName = this.routeName;\n    return {\n      find(name, value) {\n        let modelClass = owner.factoryFor(`model:${name}`);\n        assert(`You used the dynamic segment \\`${name}_id\\` in your route ` + `\\`${routeName}\\` for which Ember requires you provide a ` + `data-loading implementation. Commonly, that is done by ` + `adding a model hook implementation on the route ` + `(\\`model({${name}_id}) {\\`) or by injecting an implemention of ` + `a data store: \\`@service store;\\`.`, Boolean(modelClass));\n        if (!modelClass) {\n          return;\n        }\n        modelClass = modelClass.class;\n        assert(`You used the dynamic segment \\`${name}_id\\` in your route ` + `\\`${routeName}\\` for which Ember requires you provide a ` + `data-loading implementation. Commonly, that is done by ` + `adding a model hook implementation on the route ` + `(\\`model({${name}_id}) {\\`) or by injecting an implemention of ` + `a data store: \\`@service store;\\`.\\n\\n` + `Rarely, applications may attempt to use a legacy behavior where ` + `the model class (in this case \\`${name}\\`) is resolved and the ` + `\\`find\\` method on that class is invoked to load data. In this ` + `application, a model of \\`${name}\\` was found but it did not ` + `provide a \\`find\\` method. You should not add a \\`find\\` ` + `method to your model. Instead, please implement an appropriate ` + `\\`model\\` hook on the \\`${routeName}\\` route.`, typeof modelClass.find === 'function');\n        return modelClass.find(value);\n      }\n    };\n  }\n  set store(value) {\n    defineProperty(this, 'store', null, value);\n  }\n  /**\n    @private\n    @property _qp\n    */\n  get _qp() {\n    let combinedQueryParameterConfiguration = {};\n    let controllerName = this.controllerName || this.routeName;\n    let owner = getOwner(this);\n    assert('Route is unexpectedly missing an owner', owner);\n    let controller = owner.lookup(`controller:${controllerName}`);\n    let queryParameterConfiguraton = get(this, 'queryParams');\n    let hasRouterDefinedQueryParams = Object.keys(queryParameterConfiguraton).length > 0;\n    if (controller) {\n      assert('Expected an instance of controller', controller instanceof Controller);\n      // the developer has authored a controller class in their application for\n      // this route find its query params and normalize their object shape them\n      // merge in the query params for the route. As a mergedProperty,\n      // Route#queryParams is always at least `{}`\n      let controllerDefinedQueryParameterConfiguration = get(controller, 'queryParams') || [];\n      let normalizedControllerQueryParameterConfiguration = normalizeControllerQueryParams(controllerDefinedQueryParameterConfiguration);\n      combinedQueryParameterConfiguration = mergeEachQueryParams(normalizedControllerQueryParameterConfiguration, queryParameterConfiguraton);\n    } else if (hasRouterDefinedQueryParams) {\n      // the developer has not defined a controller but *has* supplied route query params.\n      // Generate a class for them so we can later insert default values\n      controller = generateController(owner, controllerName);\n      combinedQueryParameterConfiguration = queryParameterConfiguraton;\n    }\n    let qps = [];\n    let map = {};\n    let propertyNames = [];\n    for (let propName in combinedQueryParameterConfiguration) {\n      if (!Object.prototype.hasOwnProperty.call(combinedQueryParameterConfiguration, propName)) {\n        continue;\n      }\n      // to support the dubious feature of using unknownProperty\n      // on queryParams configuration\n      if (propName === 'unknownProperty' || propName === '_super') {\n        // possible todo: issue deprecation warning?\n        continue;\n      }\n      let desc = combinedQueryParameterConfiguration[propName];\n      assert(`[BUG] missing query parameter configuration for ${propName}`, desc);\n      let scope = desc.scope || 'model';\n      let parts = undefined;\n      if (scope === 'controller') {\n        parts = [];\n      }\n      let urlKey = desc.as || this.serializeQueryParamKey(propName);\n      let defaultValue = get(controller, propName);\n      defaultValue = copyDefaultValue(defaultValue);\n      let type = desc.type || typeOf(defaultValue);\n      let defaultValueSerialized = this.serializeQueryParam(defaultValue, urlKey, type);\n      let scopedPropertyName = `${controllerName}:${propName}`;\n      let qp = {\n        undecoratedDefaultValue: get(controller, propName),\n        defaultValue,\n        serializedDefaultValue: defaultValueSerialized,\n        serializedValue: defaultValueSerialized,\n        type,\n        urlKey,\n        prop: propName,\n        scopedPropertyName,\n        controllerName,\n        route: this,\n        parts,\n        values: null,\n        scope\n      };\n      map[propName] = map[urlKey] = map[scopedPropertyName] = qp;\n      qps.push(qp);\n      propertyNames.push(propName);\n    }\n    return {\n      qps,\n      map,\n      propertyNames,\n      states: {\n        /*\n          Called when a query parameter changes in the URL, this route cares\n          about that query parameter, but the route is not currently\n          in the active route hierarchy.\n        */\n        inactive: (prop, value) => {\n          let qp = map[prop];\n          assert('expected inactive callback to only be called for registered qps', qp);\n          this._qpChanged(prop, value, qp);\n        },\n        /*\n          Called when a query parameter changes in the URL, this route cares\n          about that query parameter, and the route is currently\n          in the active route hierarchy.\n        */\n        active: (prop, value) => {\n          let qp = map[prop];\n          assert('expected active callback to only be called for registered qps', qp);\n          this._qpChanged(prop, value, qp);\n          return this._activeQPChanged(qp, value);\n        },\n        /*\n          Called when a value of a query parameter this route handles changes in a controller\n          and the route is currently in the active route hierarchy.\n        */\n        allowOverrides: (prop, value) => {\n          let qp = map[prop];\n          assert('expected allowOverrides callback to only be called for registered qps', qp);\n          this._qpChanged(prop, value, qp);\n          return this._updatingQPChanged(qp);\n        }\n      }\n    };\n  }\n}\nRoute.isRouteFactory = true;\n__decorate([computed], Route.prototype, \"store\", null);\n__decorate([computed], Route.prototype, \"_qp\", null);\nfunction parentRoute(route) {\n  let routeInfo = routeInfoFor(route, route._router._routerMicrolib.state.routeInfos, -1);\n  return routeInfo && routeInfo.route;\n}\nfunction routeInfoFor(route, routeInfos, offset = 0) {\n  if (!routeInfos) {\n    return;\n  }\n  let current;\n  for (let i = 0; i < routeInfos.length; i++) {\n    let routeInfo = routeInfos[i];\n    assert('has current routeInfo', routeInfo);\n    current = routeInfo.route;\n    if (current === route) {\n      return routeInfos[i + offset];\n    }\n  }\n  return;\n}\nfunction buildRenderOptions(route, nameOrOptions, options) {\n  let isDefaultRender = !nameOrOptions && !options;\n  let _name;\n  if (!isDefaultRender) {\n    if (typeof nameOrOptions === 'object' && !options) {\n      _name = route.templateName || route.routeName;\n      options = nameOrOptions;\n    } else {\n      assert('The name in the given arguments is undefined or empty string', !isEmpty(nameOrOptions));\n      _name = nameOrOptions;\n    }\n  }\n  assert('You passed undefined as the outlet name.', isDefaultRender || !(options && 'outlet' in options && options.outlet === undefined));\n  let owner = getOwner(route);\n  assert('Route is unexpectedly missing an owner', owner);\n  let name, templateName, into, outlet, model;\n  let controller;\n  if (options) {\n    into = options.into && options.into.replace(/\\//g, '.');\n    outlet = options.outlet;\n    controller = options.controller;\n    model = options.model;\n  }\n  outlet = outlet || 'main';\n  if (isDefaultRender) {\n    name = route.routeName;\n    templateName = route.templateName || name;\n  } else {\n    name = _name.replace(/\\//g, '.');\n    templateName = name;\n  }\n  if (controller === undefined) {\n    if (isDefaultRender) {\n      controller = route.controllerName || owner.lookup(`controller:${name}`);\n    } else {\n      controller = owner.lookup(`controller:${name}`) || route.controllerName || route.routeName;\n    }\n  }\n  if (typeof controller === 'string') {\n    let controllerName = controller;\n    controller = owner.lookup(`controller:${controllerName}`);\n    assert(`You passed \\`controller: '${controllerName}'\\` into the \\`render\\` method, but no such controller could be found.`, isDefaultRender || controller !== undefined);\n  }\n  assert('Expected an instance of controller', controller instanceof Controller);\n  if (model === undefined) {\n    model = route.currentModel;\n  } else {\n    controller.set('model', model);\n  }\n  let template = owner.lookup(`template:${templateName}`);\n  assert(`Could not find \"${templateName}\" template, view, or component.`, isDefaultRender || template !== undefined);\n  let parent;\n  if (into && (parent = parentRoute(route)) && into === parent.routeName) {\n    into = undefined;\n  }\n  let renderOptions = {\n    owner,\n    into,\n    outlet,\n    name,\n    controller,\n    model,\n    template: template !== undefined ? template(owner) : route._topLevelViewTemplate(owner)\n  };\n  if (DEBUG) {\n    let LOG_VIEW_LOOKUPS = get(route._router, 'namespace.LOG_VIEW_LOOKUPS');\n    if (LOG_VIEW_LOOKUPS && !template) {\n      info(`Could not find \"${name}\" template. Nothing will be rendered`, {\n        fullName: `template:${name}`\n      });\n    }\n  }\n  return renderOptions;\n}\nexport function getFullQueryParams(router, state) {\n  if (state.fullQueryParams) {\n    return state.fullQueryParams;\n  }\n  let haveAllRouteInfosResolved = state.routeInfos.every(routeInfo => routeInfo.route);\n  let fullQueryParamsState = Object.assign({}, state.queryParams);\n  router._deserializeQueryParams(state.routeInfos, fullQueryParamsState);\n  // only cache query params state if all routeinfos have resolved; it's possible\n  // for lazy routes to not have resolved when `getFullQueryParams` is called, so\n  // we wait until all routes have resolved prior to caching query params state\n  if (haveAllRouteInfosResolved) {\n    state.fullQueryParams = fullQueryParamsState;\n  }\n  return fullQueryParamsState;\n}\nfunction getQueryParamsFor(route, state) {\n  state.queryParamsFor = state.queryParamsFor || {};\n  let name = route.fullRouteName;\n  let existing = state.queryParamsFor[name];\n  if (existing) {\n    return existing;\n  }\n  let fullQueryParams = getFullQueryParams(route._router, state);\n  let params = state.queryParamsFor[name] = {};\n  // Copy over all the query params for this route/controller into params hash.\n  // SAFETY: Since `_qp` is protected we can't infer the type\n  let qps = get(route, '_qp').qps;\n  for (let qp of qps) {\n    // Put deserialized qp on params hash.\n    let qpValueWasPassedIn = (qp.prop in fullQueryParams);\n    params[qp.prop] = qpValueWasPassedIn ? fullQueryParams[qp.prop] : copyDefaultValue(qp.defaultValue);\n  }\n  return params;\n}\n// FIXME: This should probably actually return a `NativeArray` if the passed in value is an Array.\nfunction copyDefaultValue(value) {\n  if (Array.isArray(value)) {\n    // SAFETY: We lost the type data about the array if we don't cast.\n    return emberA(value.slice());\n  }\n  return value;\n}\n/*\n  Merges all query parameters from a controller with those from\n  a route, returning a new object and avoiding any mutations to\n  the existing objects.\n*/\nfunction mergeEachQueryParams(controllerQP, routeQP) {\n  let qps = {};\n  let keysAlreadyMergedOrSkippable = {\n    defaultValue: true,\n    type: true,\n    scope: true,\n    as: true\n  };\n  // first loop over all controller qps, merging them with any matching route qps\n  // into a new empty object to avoid mutating.\n  for (let cqpName in controllerQP) {\n    if (!Object.prototype.hasOwnProperty.call(controllerQP, cqpName)) {\n      continue;\n    }\n    qps[cqpName] = Object.assign(Object.assign({}, controllerQP[cqpName]), routeQP[cqpName]);\n    // allows us to skip this QP when we check route QPs.\n    keysAlreadyMergedOrSkippable[cqpName] = true;\n  }\n  // loop over all route qps, skipping those that were merged in the first pass\n  // because they also appear in controller qps\n  for (let rqpName in routeQP) {\n    if (!Object.prototype.hasOwnProperty.call(routeQP, rqpName) || keysAlreadyMergedOrSkippable[rqpName]) {\n      continue;\n    }\n    qps[rqpName] = Object.assign(Object.assign({}, routeQP[rqpName]), controllerQP[rqpName]);\n  }\n  return qps;\n}\nfunction addQueryParamsObservers(controller, propNames) {\n  propNames.forEach(prop => {\n    if (descriptorForProperty(controller, prop) === undefined) {\n      let desc = lookupDescriptor(controller, prop);\n      if (desc !== null && (typeof desc.get === 'function' || typeof desc.set === 'function')) {\n        defineProperty(controller, prop, dependentKeyCompat({\n          get: desc.get,\n          set: desc.set\n        }));\n      }\n    }\n    addObserver(controller, `${prop}.[]`, controller, controller._qpChanged, false);\n  });\n}\nfunction getEngineRouteName(engine, routeName) {\n  if (engine.routable) {\n    let prefix = engine.mountPoint;\n    if (routeName === 'application') {\n      return prefix;\n    } else {\n      return `${prefix}.${routeName}`;\n    }\n  }\n  return routeName;\n}\nconst defaultSerialize = Route.prototype.serialize;\nexport { defaultSerialize };\nexport function hasDefaultSerialize(route) {\n  return route.serialize === defaultSerialize;\n}\n// Set these here so they can be overridden with extend\nRoute.reopen({\n  mergedProperties: ['queryParams'],\n  queryParams: {},\n  templateName: null,\n  controllerName: null,\n  send(...args) {\n    assert(`Attempted to call .send() with the action '${args[0]}' on the destroyed route '${this.routeName}'.`, !this.isDestroying && !this.isDestroyed);\n    if (this._router && this._router._routerMicrolib || !isTesting()) {\n      this._router.send(...args);\n    } else {\n      let name = args.shift();\n      let action = this.actions[name];\n      if (action) {\n        return action.apply(this, args);\n      }\n    }\n  },\n  /**\n    The controller associated with this route.\n       Example\n       ```app/routes/form.js\n    import Route from '@ember/routing/route';\n    import { action } from '@ember/object';\n       export default class FormRoute extends Route {\n      @action\n      willTransition(transition) {\n        if (this.controller.get('userHasEnteredData') &&\n            !confirm('Are you sure you want to abandon progress?')) {\n          transition.abort();\n        } else {\n          // Bubble the `willTransition` action so that\n          // parent routes can decide whether or not to abort.\n          return true;\n        }\n      }\n    }\n    ```\n       @property controller\n    @type Controller\n    @since 1.6.0\n    @public\n  */\n  actions: {\n    /**\n    This action is called when one or more query params have changed. Bubbles.\n         @method queryParamsDidChange\n    @param changed {Object} Keys are names of query params that have changed.\n    @param totalPresent {Object} Keys are names of query params that are currently set.\n    @param removed {Object} Keys are names of query params that have been removed.\n    @returns {boolean}\n    @private\n    */\n    queryParamsDidChange(changed, _totalPresent, removed) {\n      // SAFETY: Since `_qp` is protected we can't infer the type\n      let qpMap = get(this, '_qp').map;\n      let totalChanged = Object.keys(changed).concat(Object.keys(removed));\n      for (let change of totalChanged) {\n        let qp = qpMap[change];\n        if (qp) {\n          let options = this._optionsForQueryParam(qp);\n          assert('options exists', options && typeof options === 'object');\n          if (get(options, 'refreshModel') && this._router.currentState) {\n            this.refresh();\n            break;\n          }\n        }\n      }\n      return true;\n    },\n    finalizeQueryParamChange(params, finalParams, transition) {\n      if (this.fullRouteName !== 'application') {\n        return true;\n      }\n      // Transition object is absent for intermediate transitions.\n      if (!transition) {\n        return;\n      }\n      let routeInfos = transition[STATE_SYMBOL].routeInfos;\n      let router = this._router;\n      let qpMeta = router._queryParamsFor(routeInfos);\n      let changes = router._qpUpdates;\n      let qpUpdated = false;\n      let replaceUrl;\n      stashParamNames(router, routeInfos);\n      for (let qp of qpMeta.qps) {\n        let route = qp.route;\n        let controller = route.controller;\n        let presentKey = qp.urlKey in params && qp.urlKey;\n        // Do a reverse lookup to see if the changed query\n        // param URL key corresponds to a QP property on\n        // this controller.\n        let value;\n        let svalue;\n        if (changes.has(qp.urlKey)) {\n          // Value updated in/before setupController\n          value = get(controller, qp.prop);\n          svalue = route.serializeQueryParam(value, qp.urlKey, qp.type);\n        } else {\n          if (presentKey) {\n            svalue = params[presentKey];\n            if (svalue !== undefined) {\n              value = route.deserializeQueryParam(svalue, qp.urlKey, qp.type);\n            }\n          } else {\n            // No QP provided; use default value.\n            svalue = qp.serializedDefaultValue;\n            value = copyDefaultValue(qp.defaultValue);\n          }\n        }\n        // SAFETY: Since `_qp` is protected we can't infer the type\n        controller._qpDelegate = get(route, '_qp').states.inactive;\n        let thisQueryParamChanged = svalue !== qp.serializedValue;\n        if (thisQueryParamChanged) {\n          if (transition.queryParamsOnly && replaceUrl !== false) {\n            let options = route._optionsForQueryParam(qp);\n            let replaceConfigValue = get(options, 'replace');\n            if (replaceConfigValue) {\n              replaceUrl = true;\n            } else if (replaceConfigValue === false) {\n              // Explicit pushState wins over any other replaceStates.\n              replaceUrl = false;\n            }\n          }\n          set(controller, qp.prop, value);\n          qpUpdated = true;\n        }\n        // Stash current serialized value of controller.\n        qp.serializedValue = svalue;\n        let thisQueryParamHasDefaultValue = qp.serializedDefaultValue === svalue;\n        if (!thisQueryParamHasDefaultValue) {\n          finalParams.push({\n            value: svalue,\n            visible: true,\n            key: presentKey || qp.urlKey\n          });\n        }\n      }\n      // Some QPs have been updated, and those changes need to be propogated\n      // immediately. Eventually, we should work on making this async somehow.\n      if (qpUpdated === true) {\n        flushAsyncObservers(false);\n      }\n      if (replaceUrl) {\n        transition.method('replace');\n      }\n      qpMeta.qps.forEach(qp => {\n        // SAFETY: Since `_qp` is protected we can't infer the type\n        let routeQpMeta = get(qp.route, '_qp');\n        let finalizedController = qp.route.controller;\n        finalizedController['_qpDelegate'] = get(routeQpMeta, 'states.active');\n      });\n      router._qpUpdates.clear();\n      return;\n    }\n  }\n});\nexport default Route;","var __decorate = this && this.__decorate || function (decorators, target, key, desc) {\n  var c = arguments.length,\n    r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n    d;\n  if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n  return c > 3 && r && Object.defineProperty(target, key, r), r;\n};\n/**\n * @module @ember/routing/router-service\n */\nimport { getOwner } from '@ember/-internals/owner';\nimport Evented from '@ember/object/evented';\nimport { assert } from '@ember/debug';\nimport { readOnly } from '@ember/object/computed';\nimport Service from '@ember/service';\nimport { consumeTag, tagFor } from '@glimmer/validator';\nimport EmberRouter from '@ember/routing/router';\nimport { extractRouteArgs, resemblesURL, shallowEqual } from './lib/utils';\nexport const ROUTER = Symbol('ROUTER');\nfunction cleanURL(url, rootURL) {\n  if (rootURL === '/') {\n    return url;\n  }\n  return url.substring(rootURL.length);\n}\nclass RouterService extends Service.extend(Evented) {\n  get _router() {\n    let router = this[ROUTER];\n    if (router !== undefined) {\n      return router;\n    }\n    let owner = getOwner(this);\n    assert('RouterService is unexpectedly missing an owner', owner);\n    let _router = owner.lookup('router:main');\n    assert('ROUTER SERVICE BUG: Expected router to be an instance of EmberRouter', _router instanceof EmberRouter);\n    return this[ROUTER] = _router;\n  }\n  willDestroy() {\n    super.willDestroy();\n    this[ROUTER] = undefined;\n  }\n  /**\n     Transition the application into another route. The route may\n     be either a single route or route path:\n        Calling `transitionTo` from the Router service will cause default query parameter values to be included in the URL.\n     This behavior is different from calling `transitionTo` on a route or `transitionToRoute` on a controller.\n     See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n        In the following example we use the Router service to navigate to a route with a\n     specific model from a Component in the first action, and in the second we trigger\n     a query-params only transition.\n        ```app/components/example.js\n     import Component from '@glimmer/component';\n     import { action } from '@ember/object';\n     import { service } from '@ember/service';\n        export default class extends Component {\n       @service router;\n          @action\n       goToComments(post) {\n         this.router.transitionTo('comments', post);\n       }\n          @action\n       fetchMoreComments(latestComment) {\n         this.router.transitionTo({\n           queryParams: { commentsAfter: latestComment }\n         });\n       }\n     }\n     ```\n        @method transitionTo\n     @param {String} [routeNameOrUrl] the name of the route or a URL\n     @param {...Object} [models] the model(s) or identifier(s) to be used while\n       transitioning to the route.\n     @param {Object} [options] optional hash with a queryParams property\n       containing a mapping of query parameters. May be supplied as the only\n      parameter to trigger a query-parameter-only transition.\n     @return {Transition} the transition object associated with this\n       attempted transition\n     @public\n   */\n  transitionTo(...args) {\n    if (resemblesURL(args[0])) {\n      // NOTE: this `args[0] as string` cast is safe and TS correctly infers it\n      // in 3.6+, so it can be removed when TS is upgraded.\n      return this._router._doURLTransition('transitionTo', args[0]);\n    }\n    let {\n      routeName,\n      models,\n      queryParams\n    } = extractRouteArgs(args);\n    let transition = this._router._doTransition(routeName, models, queryParams, true);\n    return transition;\n  }\n  /**\n     Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\n     it replaces the entry for the current route.\n     When the user clicks the \"back\" button in the browser, there will be fewer steps.\n     This is most commonly used to manage redirects in a way that does not cause confusing additions\n     to the user's browsing history.\n        Calling `replaceWith` from the Router service will cause default query parameter values to be included in the URL.\n     This behavior is different from calling `replaceWith` on a route.\n     See the [Router Service RFC](https://github.com/emberjs/rfcs/blob/master/text/0095-router-service.md#query-parameter-semantics) for more info.\n        Usage example:\n        ```app/routes/application.js\n     import Route from '@ember/routing/route';\n        export default class extends Route {\n       beforeModel() {\n         if (!authorized()){\n           this.replaceWith('unauthorized');\n         }\n       }\n     });\n     ```\n        @method replaceWith\n     @param {String} routeNameOrUrl the name of the route or a URL of the desired destination\n     @param {...Object} models the model(s) or identifier(s) to be used while\n       transitioning to the route i.e. an object of params to pass to the destination route\n     @param {Object} [options] optional hash with a queryParams property\n       containing a mapping of query parameters\n     @return {Transition} the transition object associated with this\n       attempted transition\n     @public\n   */\n  replaceWith(...args) {\n    return this.transitionTo(...args).method('replace');\n  }\n  /**\n    Generate a URL based on the supplied route name and optionally a model. The\n    URL is returned as a string that can be used for any purpose.\n       In this example, the URL for the `author.books` route for a given author\n    is copied to the clipboard.\n       ```app/templates/application.hbs\n    <CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n    ```\n       ```app/components/copy-link.js\n    import Component from '@glimmer/component';\n    import { service } from '@ember/service';\n    import { action } from '@ember/object';\n       export default class CopyLinkComponent extends Component {\n      @service router;\n      @service clipboard;\n         @action\n      copyBooksURL() {\n        if (this.author) {\n          const url = this.router.urlFor('author.books', this.args.author);\n          this.clipboard.set(url);\n          // Clipboard now has /author/tomster/books\n        }\n      }\n    }\n    ```\n       Just like with `transitionTo` and `replaceWith`, `urlFor` can also handle\n    query parameters.\n       ```app/templates/application.hbs\n    <CopyLink @author={{hash id=\"tomster\" name=\"Tomster\"}} />\n    ```\n       ```app/components/copy-link.js\n    import Component from '@glimmer/component';\n    import { service } from '@ember/service';\n    import { action } from '@ember/object';\n       export default class CopyLinkComponent extends Component {\n      @service router;\n      @service clipboard;\n         @action\n      copyOnlyEmberBooksURL() {\n        if (this.author) {\n          const url = this.router.urlFor('author.books', this.author, {\n            queryParams: { filter: 'emberjs' }\n          });\n          this.clipboard.set(url);\n          // Clipboard now has /author/tomster/books?filter=emberjs\n        }\n      }\n    }\n    ```\n        @method urlFor\n     @param {String} routeName the name of the route\n     @param {...Object} models the model(s) for the route.\n     @param {Object} [options] optional hash with a queryParams property\n       containing a mapping of query parameters\n     @return {String} the string representing the generated URL\n     @public\n   */\n  urlFor(routeName, ...args) {\n    this._router.setupRouter();\n    return this._router.generate(routeName, ...args);\n  }\n  /**\n     Returns `true` if `routeName/models/queryParams` is the active route, where `models` and `queryParams` are optional.\n     See [model](api/ember/release/classes/Route/methods/model?anchor=model) and\n     [queryParams](/api/ember/3.7/classes/Route/properties/queryParams?anchor=queryParams) for more information about these arguments.\n        In the following example, `isActive` will return `true` if the current route is `/posts`.\n        ```app/components/posts.js\n     import Component from '@glimmer/component';\n     import { service } from '@ember/service';\n        export default class extends Component {\n       @service router;\n          displayComments() {\n         return this.router.isActive('posts');\n       }\n     });\n     ```\n        The next example includes a dynamic segment, and will return `true` if the current route is `/posts/1`,\n     assuming the post has an id of 1:\n        ```app/components/posts.js\n     import Component from '@glimmer/component';\n     import { service } from '@ember/service';\n        export default class extends Component {\n       @service router;\n          displayComments(post) {\n         return this.router.isActive('posts', post.id);\n       }\n     });\n     ```\n        Where `post.id` is the id of a specific post, which is represented in the route as /posts/[post.id].\n     If `post.id` is equal to 1, then isActive will return true if the current route is /posts/1, and false if the route is anything else.\n        @method isActive\n     @param {String} routeName the name of the route\n     @param {...Object} models the model(s) or identifier(s) to be used when determining the active route.\n     @param {Object} [options] optional hash with a queryParams property\n       containing a mapping of query parameters\n     @return {boolean} true if the provided routeName/models/queryParams are active\n     @public\n   */\n  isActive(...args) {\n    let {\n      routeName,\n      models,\n      queryParams\n    } = extractRouteArgs(args);\n    let routerMicrolib = this._router._routerMicrolib;\n    // When using isActive() in a getter, we want to entagle with the auto-tracking system\n    // for example,\n    // in\n    // get isBarActive() {\n    //   return isActive('foo.bar');\n    // }\n    //\n    // you'd expect isBarActive to be dirtied when the route changes.\n    //\n    // https://github.com/emberjs/ember.js/issues/19004\n    consumeTag(tagFor(this._router, 'currentURL'));\n    // UNSAFE: casting `routeName as string` here encodes the existing\n    // assumption but may be wrong: `extractRouteArgs` correctly returns it as\n    // `string | undefined`. There may be bugs if `isActiveIntent` does\n    // not correctly account for `undefined` values for `routeName`. Spoilers:\n    // it *does not* account for this being `undefined`.\n    if (!routerMicrolib.isActiveIntent(routeName, models)) {\n      return false;\n    }\n    let hasQueryParams = Object.keys(queryParams).length > 0;\n    if (hasQueryParams) {\n      // UNSAFE: casting `routeName as string` here encodes the existing\n      // assumption but may be wrong: `extractRouteArgs` correctly returns it\n      // as `string | undefined`. There may be bugs if `_prepareQueryParams`\n      // does not correctly account for `undefined` values for `routeName`.\n      //  Spoilers: under the hood this currently uses router.js APIs which\n      // *do not* account for this being `undefined`.\n      let targetRouteName = routeName;\n      queryParams = Object.assign({}, queryParams);\n      this._router._prepareQueryParams(targetRouteName, models, queryParams, true /* fromRouterService */);\n      let currentQueryParams = Object.assign({}, routerMicrolib.state.queryParams);\n      this._router._prepareQueryParams(targetRouteName, models, currentQueryParams, true /* fromRouterService */);\n      return shallowEqual(queryParams, currentQueryParams);\n    }\n    return true;\n  }\n  /**\n     Takes a string URL and returns a `RouteInfo` for the leafmost route represented\n     by the URL. Returns `null` if the URL is not recognized. This method expects to\n     receive the actual URL as seen by the browser including the app's `rootURL`.\n        See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n        In the following example `recognize` is used to verify if a path belongs to our\n     application before transitioning to it.\n        ```\n     import Component from '@ember/component';\n     import { service } from '@ember/service';\n        export default class extends Component {\n       @service router;\n       path = '/';\n          click() {\n         if (this.router.recognize(this.path)) {\n           this.router.transitionTo(this.path);\n         }\n       }\n     }\n     ```\n         @method recognize\n      @param {String} url\n      @return {RouteInfo | null}\n      @public\n    */\n  recognize(url) {\n    assert(`You must pass a url that begins with the application's rootURL \"${this.rootURL}\"`, url.indexOf(this.rootURL) === 0);\n    this._router.setupRouter();\n    let internalURL = cleanURL(url, this.rootURL);\n    return this._router._routerMicrolib.recognize(internalURL);\n  }\n  /**\n    Takes a string URL and returns a promise that resolves to a\n    `RouteInfoWithAttributes` for the leafmost route represented by the URL.\n    The promise rejects if the URL is not recognized or an unhandled exception\n    is encountered. This method expects to receive the actual URL as seen by\n    the browser including the app's `rootURL`.\n         @method recognizeAndLoad\n      @param {String} url\n      @return {RouteInfo}\n      @public\n   */\n  recognizeAndLoad(url) {\n    assert(`You must pass a url that begins with the application's rootURL \"${this.rootURL}\"`, url.indexOf(this.rootURL) === 0);\n    this._router.setupRouter();\n    let internalURL = cleanURL(url, this.rootURL);\n    return this._router._routerMicrolib.recognizeAndLoad(internalURL);\n  }\n  /**\n    You can register a listener for events emitted by this service with `.on()`:\n       ```app/routes/contact-form.js\n    import Route from '@ember/routing';\n    import { service } from '@ember/service';\n       export default class extends Route {\n      @service router;\n         activate() {\n        this.router.on('routeWillChange', (transition) => {\n          if (!transition.to.find(route => route.name === this.routeName)) {\n            alert(\"Please save or cancel your changes.\");\n            transition.abort();\n          }\n        })\n      }\n    }\n    ```\n       @method on\n    @param {String} eventName\n    @param {Function} callback\n    @public\n  */\n  /**\n    You can unregister a listener for events emitted by this service with `.off()`:\n       ```app/routes/contact-form.js\n    import Route from '@ember/routing';\n    import { service } from '@ember/service';\n       export default class ContactFormRoute extends Route {\n      @service router;\n         callback = (transition) => {\n        if (!transition.to.find(route => route.name === this.routeName)) {\n          alert('Please save or cancel your changes.');\n          transition.abort();\n        }\n      };\n         activate() {\n        this.router.on('routeWillChange', this.callback);\n      }\n         deactivate() {\n        this.router.off('routeWillChange', this.callback);\n      }\n    }\n    ```\n       @method off\n    @param {String} eventName\n    @param {Function} callback\n    @public\n  */\n  /**\n    The `routeWillChange` event is fired at the beginning of any\n    attempted transition with a `Transition` object as the sole\n    argument. This action can be used for aborting, redirecting,\n    or decorating the transition from the currently active routes.\n       A good example is preventing navigation when a form is\n    half-filled out:\n       ```app/routes/contact-form.js\n    import Route from '@ember/routing';\n    import { service } from '@ember/service';\n       export default class extends Route {\n      @service router;\n         activate() {\n        this.router.on('routeWillChange', (transition) => {\n          if (!transition.to.find(route => route.name === this.routeName)) {\n            alert(\"Please save or cancel your changes.\");\n            transition.abort();\n          }\n        })\n      }\n    }\n    ```\n       The `routeWillChange` event fires whenever a new route is chosen as the desired target of a transition. This includes `transitionTo`, `replaceWith`, all redirection for any reason including error handling, and abort. Aborting implies changing the desired target back to where you already were. Once a transition has completed, `routeDidChange` fires.\n       @event routeWillChange\n    @param {Transition} transition\n    @public\n  */\n  /**\n    The `routeDidChange` event only fires once a transition has settled.\n    This includes aborts and error substates. Like the `routeWillChange` event\n    it receives a Transition as the sole argument.\n       A good example is sending some analytics when the route has transitioned:\n       ```app/routes/contact-form.js\n    import Route from '@ember/routing';\n    import { service } from '@ember/service';\n       export default class extends Route {\n      @service router;\n         activate() {\n        this.router.on('routeDidChange', (transition) => {\n          ga.send('pageView', {\n            current: transition.to.name,\n            from: transition.from.name\n          });\n        })\n      }\n    }\n    ```\n       `routeDidChange` will be called after any `Route`'s\n    [didTransition](/ember/release/classes/Route/events/didTransition?anchor=didTransition)\n    action has been fired.\n    The updates of properties\n    [currentURL](/ember/release/classes/RouterService/properties/currentURL?anchor=currentURL),\n    [currentRouteName](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRouteName)\n    and\n    [currentRoute](/ember/release/classes/RouterService/properties/currentURL?anchor=currentRoute)\n    are completed at the time `routeDidChange` is called.\n       @event routeDidChange\n    @param {Transition} transition\n    @public\n  */\n  /**\n   * Refreshes all currently active routes, doing a full transition.\n   * If a route name is provided and refers to a currently active route,\n   * it will refresh only that route and its descendents.\n   * Returns a promise that will be resolved once the refresh is complete.\n   * All resetController, beforeModel, model, afterModel, redirect, and setupController\n   * hooks will be called again. You will get new data from the model hook.\n   *\n   * @method refresh\n   * @param {String} [routeName] the route to refresh (along with all child routes)\n   * @return Transition\n   * @public\n   */\n  refresh(pivotRouteName) {\n    if (!pivotRouteName) {\n      return this._router._routerMicrolib.refresh();\n    }\n    assert(`The route \"${pivotRouteName}\" was not found`, this._router.hasRoute(pivotRouteName));\n    assert(`The route \"${pivotRouteName}\" is currently not active`, this.isActive(pivotRouteName));\n    let owner = getOwner(this);\n    assert('RouterService is unexpectedly missing an owner', owner);\n    let pivotRoute = owner.lookup(`route:${pivotRouteName}`);\n    // R could be instantiated with a different sub-type\n    // @ts-ignore\n    return this._router._routerMicrolib.refresh(pivotRoute);\n  }\n}\n__decorate([readOnly('_router.currentRouteName')], RouterService.prototype, \"currentRouteName\", void 0);\n__decorate([readOnly('_router.currentURL')], RouterService.prototype, \"currentURL\", void 0);\n__decorate([readOnly('_router.location')], RouterService.prototype, \"location\", void 0);\n__decorate([readOnly('_router.rootURL')], RouterService.prototype, \"rootURL\", void 0);\n__decorate([readOnly('_router.currentRoute')], RouterService.prototype, \"currentRoute\", void 0);\nexport { RouterService as default };","import { privatize as P } from '@ember/-internals/container';\nimport { computed, get, set } from '@ember/object';\nimport { getOwner } from '@ember/owner';\nimport { BucketCache, DSL, RouterState } from '@ember/routing/-internals';\nimport { calculateCacheKey, extractRouteArgs, getActiveTargetName, resemblesURL } from './lib/utils';\nimport EmberLocation from '@ember/routing/location';\nimport EmberObject from '@ember/object';\nimport { A as emberA } from '@ember/array';\nimport { typeOf } from '@ember/utils';\nimport Evented from '@ember/object/evented';\nimport { assert, deprecate, info } from '@ember/debug';\nimport { cancel, once, run, scheduleOnce } from '@ember/runloop';\nimport { DEBUG } from '@glimmer/env';\nimport { defaultSerialize, getFullQueryParams, hasDefaultSerialize, ROUTE_CONNECTIONS } from '@ember/routing/route';\nimport Router, { logAbort, STATE_SYMBOL } from 'router_js';\nimport EngineInstance from '@ember/engine/instance';\n/**\n@module @ember/routing/router\n*/\nfunction defaultDidTransition(infos) {\n  updatePaths(this);\n  this._cancelSlowTransitionTimer();\n  this.notifyPropertyChange('url');\n  this.set('currentState', this.targetState);\n  if (DEBUG) {\n    // @ts-expect-error namespace isn't public\n    if (this.namespace.LOG_TRANSITIONS) {\n      // eslint-disable-next-line no-console\n      console.log(`Transitioned into '${EmberRouter._routePath(infos)}'`);\n    }\n  }\n}\nfunction defaultWillTransition(oldInfos, newInfos) {\n  if (DEBUG) {\n    // @ts-expect-error namespace isn't public\n    if (this.namespace.LOG_TRANSITIONS) {\n      // eslint-disable-next-line no-console\n      console.log(`Preparing to transition from '${EmberRouter._routePath(oldInfos)}' to '${EmberRouter._routePath(newInfos)}'`);\n    }\n  }\n}\nlet freezeRouteInfo;\nif (DEBUG) {\n  freezeRouteInfo = transition => {\n    if (transition.from !== null && !Object.isFrozen(transition.from)) {\n      Object.freeze(transition.from);\n    }\n    if (transition.to !== null && !Object.isFrozen(transition.to)) {\n      Object.freeze(transition.to);\n    }\n  };\n}\nfunction K() {\n  return this;\n}\nconst {\n  slice\n} = Array.prototype;\n/**\n  The `EmberRouter` class manages the application state and URLs. Refer to\n  the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n\n  @class EmberRouter\n  @extends EmberObject\n  @uses Evented\n  @public\n*/\nclass EmberRouter extends EmberObject.extend(Evented) {\n  /**\n    The `Router.map` function allows you to define mappings from URLs to routes\n    in your application. These mappings are defined within the\n    supplied callback function using `this.route`.\n       The first parameter is the name of the route which is used by default as the\n    path name as well.\n       The second parameter is the optional options hash. Available options are:\n         * `path`: allows you to provide your own path as well as mark dynamic\n        segments.\n      * `resetNamespace`: false by default; when nesting routes, ember will\n        combine the route names to form the fully-qualified route name, which is\n        used with `{{link-to}}` or manually transitioning to routes. Setting\n        `resetNamespace: true` will cause the route not to inherit from its\n        parent route's names. This is handy for preventing extremely long route names.\n        Keep in mind that the actual URL path behavior is still retained.\n       The third parameter is a function, which can be used to nest routes.\n    Nested routes, by default, will have the parent route tree's route name and\n    path prepended to it's own.\n       ```app/router.js\n    Router.map(function(){\n      this.route('post', { path: '/post/:post_id' }, function() {\n        this.route('edit');\n        this.route('comments', { resetNamespace: true }, function() {\n          this.route('new');\n        });\n      });\n    });\n    ```\n       @method map\n    @param callback\n    @public\n  */\n  static map(callback) {\n    if (!this.dslCallbacks) {\n      this.dslCallbacks = [];\n      // FIXME: Can we remove this?\n      this.reopenClass({\n        dslCallbacks: this.dslCallbacks\n      });\n    }\n    this.dslCallbacks.push(callback);\n    return this;\n  }\n  static _routePath(routeInfos) {\n    let path = [];\n    // We have to handle coalescing resource names that\n    // are prefixed with their parent's names, e.g.\n    // ['foo', 'foo.bar.baz'] => 'foo.bar.baz', not 'foo.foo.bar.baz'\n    function intersectionMatches(a1, a2) {\n      for (let i = 0; i < a1.length; ++i) {\n        if (a1[i] !== a2[i]) {\n          return false;\n        }\n      }\n      return true;\n    }\n    let name, nameParts, oldNameParts;\n    for (let i = 1; i < routeInfos.length; i++) {\n      let routeInfo = routeInfos[i];\n      assert('has routeInfo', routeInfo);\n      name = routeInfo.name;\n      nameParts = name.split('.');\n      oldNameParts = slice.call(path);\n      while (oldNameParts.length) {\n        if (intersectionMatches(oldNameParts, nameParts)) {\n          break;\n        }\n        oldNameParts.shift();\n      }\n      path.push(...nameParts.slice(oldNameParts.length));\n    }\n    return path.join('.');\n  }\n  // Note that owner is actually required in this scenario, but since it is strictly\n  // optional in other contexts trying to make it required here confuses TS.\n  constructor(owner) {\n    super(owner);\n    this._didSetupRouter = false;\n    this._initialTransitionStarted = false;\n    this.currentURL = null;\n    this.currentRouteName = null;\n    this.currentPath = null;\n    this.currentRoute = null;\n    this._qpCache = Object.create(null);\n    // Set of QueryParam['urlKey']\n    this._qpUpdates = new Set();\n    this._queuedQPChanges = {};\n    this._toplevelView = null;\n    this._handledErrors = new Set();\n    this._engineInstances = Object.create(null);\n    this._engineInfoByRoute = Object.create(null);\n    this._slowTransitionTimer = null;\n    this.currentState = null;\n    this.targetState = null;\n    assert('BUG: Missing owner', owner);\n    this._resetQueuedQueryParameterChanges();\n    this.namespace = owner.lookup('application:main');\n    let bucketCache = owner.lookup(P`-bucket-cache:main`);\n    assert('BUG: BucketCache should always be present', bucketCache instanceof BucketCache);\n    this._bucketCache = bucketCache;\n    let routerService = owner.lookup('service:router');\n    assert('BUG: RouterService should always be present', routerService !== undefined);\n    this._routerService = routerService;\n  }\n  _initRouterJs() {\n    let location = get(this, 'location');\n    let router = this;\n    const owner = getOwner(this);\n    assert('Router is unexpectedly missing an owner', owner);\n    let seen = Object.create(null);\n    class PrivateRouter extends Router {\n      getRoute(name) {\n        let routeName = name;\n        let routeOwner = owner;\n        let engineInfo = router._engineInfoByRoute[routeName];\n        if (engineInfo) {\n          let engineInstance = router._getEngineInstance(engineInfo);\n          routeOwner = engineInstance;\n          routeName = engineInfo.localFullName;\n        }\n        let fullRouteName = `route:${routeName}`;\n        assert('Route is unexpectedly missing an owner', routeOwner);\n        let route = routeOwner.lookup(fullRouteName);\n        if (seen[name]) {\n          assert('seen routes should exist', route);\n          return route;\n        }\n        seen[name] = true;\n        if (!route) {\n          // SAFETY: this is configured in `commonSetupRegistry` in the\n          // `@ember/application/lib` package.\n          let DefaultRoute = routeOwner.factoryFor('route:basic').class;\n          routeOwner.register(fullRouteName, DefaultRoute.extend());\n          route = routeOwner.lookup(fullRouteName);\n          if (DEBUG) {\n            if (router.namespace.LOG_ACTIVE_GENERATION) {\n              info(`generated -> ${fullRouteName}`, {\n                fullName: fullRouteName\n              });\n            }\n          }\n        }\n        route._setRouteName(routeName);\n        if (engineInfo && !hasDefaultSerialize(route)) {\n          throw new Error('Defining a custom serialize method on an Engine route is not supported.');\n        }\n        return route;\n      }\n      getSerializer(name) {\n        let engineInfo = router._engineInfoByRoute[name];\n        // If this is not an Engine route, we fall back to the handler for serialization\n        if (!engineInfo) {\n          return;\n        }\n        return engineInfo.serializeMethod || defaultSerialize;\n      }\n      updateURL(path) {\n        once(() => {\n          location.setURL(path);\n          set(router, 'currentURL', path);\n        });\n      }\n      // TODO: merge into routeDidChange\n      didTransition(infos) {\n        assert('You attempted to override the \"didTransition\" method which has been deprecated. Please inject the router service and listen to the \"routeDidChange\" event.', router.didTransition === defaultDidTransition);\n        router.didTransition(infos);\n      }\n      // TODO: merge into routeWillChange\n      willTransition(oldInfos, newInfos) {\n        assert('You attempted to override the \"willTransition\" method which has been deprecated. Please inject the router service and listen to the \"routeWillChange\" event.', router.willTransition === defaultWillTransition);\n        router.willTransition(oldInfos, newInfos);\n      }\n      triggerEvent(routeInfos, ignoreFailure, name, args) {\n        return triggerEvent.bind(router)(routeInfos, ignoreFailure, name, args);\n      }\n      routeWillChange(transition) {\n        router.trigger('routeWillChange', transition);\n        if (DEBUG) {\n          freezeRouteInfo(transition);\n        }\n        router._routerService.trigger('routeWillChange', transition);\n        // in case of intermediate transition we update the current route\n        // to make router.currentRoute.name consistent with router.currentRouteName\n        // see https://github.com/emberjs/ember.js/issues/19449\n        if (transition.isIntermediate) {\n          router.set('currentRoute', transition.to);\n        }\n      }\n      routeDidChange(transition) {\n        router.set('currentRoute', transition.to);\n        once(() => {\n          router.trigger('routeDidChange', transition);\n          if (DEBUG) {\n            freezeRouteInfo(transition);\n          }\n          router._routerService.trigger('routeDidChange', transition);\n        });\n      }\n      transitionDidError(error, transition) {\n        if (error.wasAborted || transition.isAborted) {\n          // If the error was a transition erorr or the transition aborted\n          // log the abort.\n          return logAbort(transition);\n        } else {\n          // Otherwise trigger the \"error\" event to attempt an intermediate\n          // transition into an error substate\n          transition.trigger(false, 'error', error.error, transition, error.route);\n          if (router._isErrorHandled(error.error)) {\n            // If we handled the error with a substate just roll the state back on\n            // the transition and send the \"routeDidChange\" event for landing on\n            // the error substate and return the error.\n            transition.rollback();\n            this.routeDidChange(transition);\n            return error.error;\n          } else {\n            // If it was not handled, abort the transition completely and return\n            // the error.\n            transition.abort();\n            return error.error;\n          }\n        }\n      }\n      replaceURL(url) {\n        if (location.replaceURL) {\n          let doReplaceURL = () => {\n            location.replaceURL(url);\n            set(router, 'currentURL', url);\n          };\n          once(doReplaceURL);\n        } else {\n          this.updateURL(url);\n        }\n      }\n    }\n    let routerMicrolib = this._routerMicrolib = new PrivateRouter();\n    let dslCallbacks = this.constructor.dslCallbacks || [K];\n    let dsl = this._buildDSL();\n    dsl.route('application', {\n      path: '/',\n      resetNamespace: true,\n      overrideNameAssertion: true\n    }, function () {\n      for (let i = 0; i < dslCallbacks.length; i++) {\n        dslCallbacks[i].call(this);\n      }\n    });\n    if (DEBUG) {\n      if (this.namespace.LOG_TRANSITIONS_INTERNAL) {\n        routerMicrolib.log = console.log.bind(console); // eslint-disable-line no-console\n      }\n    }\n\n    routerMicrolib.map(dsl.generate());\n  }\n  _buildDSL() {\n    let enableLoadingSubstates = this._hasModuleBasedResolver();\n    let router = this;\n    const owner = getOwner(this);\n    assert('Router is unexpectedly missing an owner', owner);\n    let options = {\n      enableLoadingSubstates,\n      resolveRouteMap(name) {\n        return owner.factoryFor(`route-map:${name}`);\n      },\n      addRouteForEngine(name, engineInfo) {\n        if (!router._engineInfoByRoute[name]) {\n          router._engineInfoByRoute[name] = engineInfo;\n        }\n      }\n    };\n    return new DSL(null, options);\n  }\n  /*\n    Resets all pending query parameter changes.\n    Called after transitioning to a new route\n    based on query parameter changes.\n  */\n  _resetQueuedQueryParameterChanges() {\n    this._queuedQPChanges = {};\n  }\n  _hasModuleBasedResolver() {\n    let owner = getOwner(this);\n    assert('Router is unexpectedly missing an owner', owner);\n    let resolver = get(owner, 'application.__registry__.resolver.moduleBasedResolver');\n    return Boolean(resolver);\n  }\n  /**\n    Initializes the current router instance and sets up the change handling\n    event listeners used by the instances `location` implementation.\n       A property named `initialURL` will be used to determine the initial URL.\n    If no value is found `/` will be used.\n       @method startRouting\n    @private\n  */\n  startRouting() {\n    if (this.setupRouter()) {\n      let initialURL = get(this, 'initialURL');\n      if (initialURL === undefined) {\n        initialURL = get(this, 'location').getURL();\n      }\n      let initialTransition = this.handleURL(initialURL);\n      if (initialTransition && initialTransition.error) {\n        throw initialTransition.error;\n      }\n    }\n  }\n  setupRouter() {\n    if (this._didSetupRouter) {\n      return false;\n    }\n    this._didSetupRouter = true;\n    this._setupLocation();\n    let location = get(this, 'location');\n    // Allow the Location class to cancel the router setup while it refreshes\n    // the page\n    if (get(location, 'cancelRouterSetup')) {\n      return false;\n    }\n    this._initRouterJs();\n    location.onUpdateURL(url => {\n      this.handleURL(url);\n    });\n    return true;\n  }\n  _setOutlets() {\n    // This is triggered async during Route#willDestroy.\n    // If the router is also being destroyed we do not want to\n    // to create another this._toplevelView (and leak the renderer)\n    if (this.isDestroying || this.isDestroyed) {\n      return;\n    }\n    let routeInfos = this._routerMicrolib.currentRouteInfos;\n    if (!routeInfos) {\n      return;\n    }\n    let defaultParentState;\n    let liveRoutes = null;\n    for (let routeInfo of routeInfos) {\n      let route = routeInfo.route;\n      let connections = ROUTE_CONNECTIONS.get(route);\n      let ownState;\n      if (connections.length === 0) {\n        ownState = representEmptyRoute(liveRoutes, defaultParentState, route);\n      } else {\n        for (let j = 0; j < connections.length; j++) {\n          let appended = appendLiveRoute(liveRoutes, defaultParentState, connections[j]);\n          liveRoutes = appended.liveRoutes;\n          let {\n            name,\n            outlet\n          } = appended.ownState.render;\n          if (name === route.routeName || outlet === 'main') {\n            ownState = appended.ownState;\n          }\n        }\n      }\n      defaultParentState = ownState;\n    }\n    // when a transitionTo happens after the validation phase\n    // during the initial transition _setOutlets is called\n    // when no routes are active. However, it will get called\n    // again with the correct values during the next turn of\n    // the runloop\n    if (!liveRoutes) {\n      return;\n    }\n    if (!this._toplevelView) {\n      let owner = getOwner(this);\n      assert('Router is unexpectedly missing an owner', owner);\n      // SAFETY: we don't presently have any type registries internally to make\n      // this safe, so in each of these cases we assume that nothing *else* is\n      // registered at this `FullName`, and simply check to make sure that\n      // *something* is.\n      let OutletView = owner.factoryFor('view:-outlet');\n      assert('[BUG] unexpectedly missing `view:-outlet`', OutletView !== undefined);\n      let application = owner.lookup('application:main');\n      assert('[BUG] unexpectedly missing `application:-main`', application !== undefined);\n      let environment = owner.lookup('-environment:main');\n      assert('[BUG] unexpectedly missing `-environment:main`', environment !== undefined);\n      let template = owner.lookup('template:-outlet');\n      assert('[BUG] unexpectedly missing `template:-outlet`', template !== undefined);\n      this._toplevelView = OutletView.create({\n        environment,\n        template,\n        application\n      });\n      this._toplevelView.setOutletState(liveRoutes);\n      // TODO(SAFETY): At least one test runs without this set correctly. At a\n      // later time, update the test to configure this correctly. The test ID:\n      // `Router Service - non application test:  RouterService#transitionTo with basic route`\n      let instance = owner.lookup('-application-instance:main');\n      // let instance = owner.lookup('-application-instance:main') as ApplicationInstance | undefined;\n      // assert('[BUG] unexpectedly missing `-application-instance:main`', instance !== undefined);\n      if (instance) {\n        // SAFETY: LOL. This is calling a deprecated API with a type that we\n        // cannot actually confirm at a type level *is* a `ViewMixin`. Seems:\n        // not great on multiple fronts!\n        instance.didCreateRootView(this._toplevelView);\n      }\n    } else {\n      this._toplevelView.setOutletState(liveRoutes);\n    }\n  }\n  handleURL(url) {\n    // Until we have an ember-idiomatic way of accessing #hashes, we need to\n    // remove it because router.js doesn't know how to handle it.\n    let _url = url.split(/#(.+)?/)[0];\n    return this._doURLTransition('handleURL', _url);\n  }\n  _doURLTransition(routerJsMethod, url) {\n    this._initialTransitionStarted = true;\n    let transition = this._routerMicrolib[routerJsMethod](url || '/');\n    didBeginTransition(transition, this);\n    return transition;\n  }\n  /**\n    Transition the application into another route. The route may\n    be either a single route or route path:\n       @method transitionTo\n    @param {String} [name] the name of the route or a URL\n    @param {...Object} models the model(s) or identifier(s) to be used while\n      transitioning to the route.\n    @param {Object} [options] optional hash with a queryParams property\n      containing a mapping of query parameters\n    @return {Transition} the transition object associated with this\n      attempted transition\n    @public\n  */\n  transitionTo(...args) {\n    if (resemblesURL(args[0])) {\n      assert(`A transition was attempted from '${this.currentRouteName}' to '${args[0]}' but the application instance has already been destroyed.`, !this.isDestroying && !this.isDestroyed);\n      return this._doURLTransition('transitionTo', args[0]);\n    }\n    let {\n      routeName,\n      models,\n      queryParams\n    } = extractRouteArgs(args);\n    assert(`A transition was attempted from '${this.currentRouteName}' to '${routeName}' but the application instance has already been destroyed.`, !this.isDestroying && !this.isDestroyed);\n    return this._doTransition(routeName, models, queryParams);\n  }\n  intermediateTransitionTo(name, ...args) {\n    this._routerMicrolib.intermediateTransitionTo(name, ...args);\n    updatePaths(this);\n    if (DEBUG) {\n      let infos = this._routerMicrolib.currentRouteInfos;\n      if (this.namespace.LOG_TRANSITIONS) {\n        assert('expected infos to be set', infos);\n        // eslint-disable-next-line no-console\n        console.log(`Intermediate-transitioned into '${EmberRouter._routePath(infos)}'`);\n      }\n    }\n  }\n  /**\n    Similar to `transitionTo`, but instead of adding the destination to the browser's URL history,\n    it replaces the entry for the current route.\n    When the user clicks the \"back\" button in the browser, there will be fewer steps.\n    This is most commonly used to manage redirects in a way that does not cause confusing additions\n    to the user's browsing history.\n       @method replaceWith\n    @param {String} [name] the name of the route or a URL\n    @param {...Object} models the model(s) or identifier(s) to be used while\n      transitioning to the route.\n    @param {Object} [options] optional hash with a queryParams property\n      containing a mapping of query parameters\n    @return {Transition} the transition object associated with this\n      attempted transition\n    @public\n  */\n  replaceWith(...args) {\n    return this.transitionTo(...args).method('replace');\n  }\n  generate(name, ...args) {\n    let url = this._routerMicrolib.generate(name, ...args);\n    assert('expected non-string location', typeof this.location !== 'string');\n    return this.location.formatURL(url);\n  }\n  /**\n    Determines if the supplied route is currently active.\n       @method isActive\n    @param routeName\n    @return {Boolean}\n    @private\n  */\n  isActive(routeName) {\n    return this._routerMicrolib.isActive(routeName);\n  }\n  /**\n    An alternative form of `isActive` that doesn't require\n    manual concatenation of the arguments into a single\n    array.\n       @method isActiveIntent\n    @param routeName\n    @param models\n    @param queryParams\n    @return {Boolean}\n    @private\n    @since 1.7.0\n  */\n  isActiveIntent(routeName, models, queryParams) {\n    return this.currentState.isActiveIntent(routeName, models, queryParams);\n  }\n  send(name, ...args) {\n    /*name, context*/\n    this._routerMicrolib.trigger(name, ...args);\n  }\n  /**\n    Does this router instance have the given route.\n       @method hasRoute\n    @return {Boolean}\n    @private\n  */\n  hasRoute(route) {\n    return this._routerMicrolib.hasRoute(route);\n  }\n  /**\n    Resets the state of the router by clearing the current route\n    handlers and deactivating them.\n       @private\n    @method reset\n   */\n  reset() {\n    this._didSetupRouter = false;\n    this._initialTransitionStarted = false;\n    if (this._routerMicrolib) {\n      this._routerMicrolib.reset();\n    }\n  }\n  willDestroy() {\n    if (this._toplevelView) {\n      this._toplevelView.destroy();\n      this._toplevelView = null;\n    }\n    super.willDestroy();\n    this.reset();\n    let instances = this._engineInstances;\n    for (let name in instances) {\n      let instanceMap = instances[name];\n      assert('has instanceMap', instanceMap);\n      for (let id in instanceMap) {\n        let instance = instanceMap[id];\n        assert('has instance', instance);\n        run(instance, 'destroy');\n      }\n    }\n  }\n  /*\n    Called when an active route's query parameter has changed.\n    These changes are batched into a runloop run and trigger\n    a single transition.\n  */\n  _activeQPChanged(queryParameterName, newValue) {\n    this._queuedQPChanges[queryParameterName] = newValue;\n    once(this, this._fireQueryParamTransition);\n  }\n  // The queryParameterName is QueryParam['urlKey']\n  _updatingQPChanged(queryParameterName) {\n    this._qpUpdates.add(queryParameterName);\n  }\n  /*\n    Triggers a transition to a route based on query parameter changes.\n    This is called once per runloop, to batch changes.\n       e.g.\n       if these methods are called in succession:\n    this._activeQPChanged('foo', '10');\n      // results in _queuedQPChanges = { foo: '10' }\n    this._activeQPChanged('bar', false);\n      // results in _queuedQPChanges = { foo: '10', bar: false }\n       _queuedQPChanges will represent both of these changes\n    and the transition using `transitionTo` will be triggered\n    once.\n  */\n  _fireQueryParamTransition() {\n    this.transitionTo({\n      queryParams: this._queuedQPChanges\n    });\n    this._resetQueuedQueryParameterChanges();\n  }\n  _setupLocation() {\n    let location = this.location;\n    let rootURL = this.rootURL;\n    let owner = getOwner(this);\n    assert('Router is unexpectedly missing an owner', owner);\n    if ('string' === typeof location) {\n      let resolvedLocation = owner.lookup(`location:${location}`);\n      if (location === 'auto') {\n        deprecate(\"Router location 'auto' is deprecated. Most users will want to set `locationType` to 'history' in config/environment.js for no change in behavior. See deprecation docs for details.\", false, {\n          id: 'deprecate-auto-location',\n          until: '5.0.0',\n          url: 'https://emberjs.com/deprecations/v4.x#toc_deprecate-auto-location',\n          for: 'ember-source',\n          since: {\n            available: '4.1.0',\n            enabled: '4.1.0'\n          }\n        });\n      }\n      if (resolvedLocation !== undefined) {\n        location = set(this, 'location', resolvedLocation);\n      } else {\n        // Allow for deprecated registration of custom location API's\n        let options = {\n          implementation: location\n        };\n        location = set(this, 'location', EmberLocation.create(options));\n      }\n    }\n    if (location !== null && typeof location === 'object') {\n      if (rootURL) {\n        set(location, 'rootURL', rootURL);\n      }\n      // Allow the location to do any feature detection, such as AutoLocation\n      // detecting history support. This gives it a chance to set its\n      // `cancelRouterSetup` property which aborts routing.\n      if (typeof location.detect === 'function') {\n        if (this.location !== 'auto') {\n          deprecate('The `detect` method on the Location object is deprecated. If you need detection you can run your detection code in app.js, before setting the location type.', false, {\n            id: 'deprecate-auto-location',\n            until: '5.0.0',\n            url: 'https://emberjs.com/deprecations/v4.x#toc_deprecate-auto-location',\n            for: 'ember-source',\n            since: {\n              available: '4.1.0',\n              enabled: '4.1.0'\n            }\n          });\n        }\n        location.detect();\n      }\n      // ensure that initState is called AFTER the rootURL is set on\n      // the location instance\n      if (typeof location.initState === 'function') {\n        location.initState();\n      }\n    }\n  }\n  /**\n    Serializes the given query params according to their QP meta information.\n       @private\n    @method _serializeQueryParams\n    @param {Arrray<RouteInfo>} routeInfos\n    @param {Object} queryParams\n    @return {Void}\n  */\n  _serializeQueryParams(routeInfos, queryParams) {\n    forEachQueryParam(this, routeInfos, queryParams, (key, value, qp) => {\n      if (qp) {\n        delete queryParams[key];\n        queryParams[qp.urlKey] = qp.route.serializeQueryParam(value, qp.urlKey, qp.type);\n      } else if (value === undefined) {\n        return; // We don't serialize undefined values\n      } else {\n        queryParams[key] = this._serializeQueryParam(value, typeOf(value));\n      }\n    });\n  }\n  /**\n    Serializes the value of a query parameter based on a type\n       @private\n    @method _serializeQueryParam\n    @param {Object} value\n    @param {String} type\n  */\n  _serializeQueryParam(value, type) {\n    if (value === null || value === undefined) {\n      return value;\n    } else if (type === 'array') {\n      return JSON.stringify(value);\n    }\n    return `${value}`;\n  }\n  /**\n    Deserializes the given query params according to their QP meta information.\n       @private\n    @method _deserializeQueryParams\n    @param {Array<RouteInfo>} routeInfos\n    @param {Object} queryParams\n    @return {Void}\n  */\n  _deserializeQueryParams(routeInfos, queryParams) {\n    forEachQueryParam(this, routeInfos, queryParams, (key, value, qp) => {\n      // If we don't have QP meta info for a given key, then we do nothing\n      // because all values will be treated as strings\n      if (qp) {\n        delete queryParams[key];\n        queryParams[qp.prop] = qp.route.deserializeQueryParam(value, qp.urlKey, qp.type);\n      }\n    });\n  }\n  /**\n    Deserializes the value of a query parameter based on a default type\n       @private\n    @method _deserializeQueryParam\n    @param {Object} value\n    @param {String} defaultType\n  */\n  _deserializeQueryParam(value, defaultType) {\n    if (value === null || value === undefined) {\n      return value;\n    } else if (defaultType === 'boolean') {\n      return value === 'true';\n    } else if (defaultType === 'number') {\n      return Number(value).valueOf();\n    } else if (defaultType === 'array') {\n      return emberA(JSON.parse(value));\n    }\n    return value;\n  }\n  /**\n    Removes (prunes) any query params with default values from the given QP\n    object. Default values are determined from the QP meta information per key.\n       @private\n    @method _pruneDefaultQueryParamValues\n    @param {Array<RouteInfo>} routeInfos\n    @param {Object} queryParams\n    @return {Void}\n  */\n  _pruneDefaultQueryParamValues(routeInfos, queryParams) {\n    let qps = this._queryParamsFor(routeInfos);\n    for (let key in queryParams) {\n      let qp = qps.map[key];\n      if (qp && qp.serializedDefaultValue === queryParams[key]) {\n        delete queryParams[key];\n      }\n    }\n  }\n  _doTransition(_targetRouteName, models, _queryParams, _fromRouterService) {\n    let targetRouteName = _targetRouteName || getActiveTargetName(this._routerMicrolib);\n    assert(`The route ${targetRouteName} was not found`, Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName));\n    this._initialTransitionStarted = true;\n    let queryParams = {};\n    this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);\n    Object.assign(queryParams, _queryParams);\n    this._prepareQueryParams(targetRouteName, models, queryParams, Boolean(_fromRouterService));\n    let transition = this._routerMicrolib.transitionTo(targetRouteName, ...models, {\n      queryParams\n    });\n    didBeginTransition(transition, this);\n    return transition;\n  }\n  _processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams) {\n    // merge in any queryParams from the active transition which could include\n    // queryParams from the url on initial load.\n    if (!this._routerMicrolib.activeTransition) {\n      return;\n    }\n    let unchangedQPs = {};\n    let qpUpdates = this._qpUpdates;\n    let params = getFullQueryParams(this, this._routerMicrolib.activeTransition[STATE_SYMBOL]);\n    for (let key in params) {\n      if (!qpUpdates.has(key)) {\n        unchangedQPs[key] = params[key];\n      }\n    }\n    // We need to fully scope queryParams so that we can create one object\n    // that represents both passed-in queryParams and ones that aren't changed\n    // from the active transition.\n    this._fullyScopeQueryParams(targetRouteName, models, _queryParams);\n    this._fullyScopeQueryParams(targetRouteName, models, unchangedQPs);\n    Object.assign(queryParams, unchangedQPs);\n  }\n  /**\n    Prepares the query params for a URL or Transition. Restores any undefined QP\n    keys/values, serializes all values, and then prunes any default values.\n       @private\n    @method _prepareQueryParams\n    @param {String} targetRouteName\n    @param {Array<Object>} models\n    @param {Object} queryParams\n    @param {boolean} keepDefaultQueryParamValues\n    @return {Void}\n  */\n  _prepareQueryParams(targetRouteName, models, queryParams, _fromRouterService) {\n    let state = calculatePostTransitionState(this, targetRouteName, models);\n    this._hydrateUnsuppliedQueryParams(state, queryParams, Boolean(_fromRouterService));\n    this._serializeQueryParams(state.routeInfos, queryParams);\n    if (!_fromRouterService) {\n      this._pruneDefaultQueryParamValues(state.routeInfos, queryParams);\n    }\n  }\n  /**\n    Returns the meta information for the query params of a given route. This\n    will be overridden to allow support for lazy routes.\n       @private\n    @method _getQPMeta\n    @param {RouteInfo} routeInfo\n    @return {Object}\n  */\n  _getQPMeta(routeInfo) {\n    let route = routeInfo.route;\n    return route && get(route, '_qp');\n  }\n  /**\n    Returns a merged query params meta object for a given set of routeInfos.\n    Useful for knowing what query params are available for a given route hierarchy.\n       @private\n    @method _queryParamsFor\n    @param {Array<RouteInfo>} routeInfos\n    @return {Object}\n   */\n  _queryParamsFor(routeInfos) {\n    let routeInfoLength = routeInfos.length;\n    let leafRouteName = routeInfos[routeInfoLength - 1].name;\n    let cached = this._qpCache[leafRouteName];\n    if (cached !== undefined) {\n      return cached;\n    }\n    let shouldCache = true;\n    let map = {};\n    let qps = [];\n    let qpsByUrlKey = DEBUG ? {} : null;\n    let qpMeta;\n    let urlKey;\n    let qpOther;\n    for (let routeInfo of routeInfos) {\n      qpMeta = this._getQPMeta(routeInfo);\n      if (!qpMeta) {\n        shouldCache = false;\n        continue;\n      }\n      // Loop over each QP to make sure we don't have any collisions by urlKey\n      for (let qp of qpMeta.qps) {\n        if (DEBUG) {\n          urlKey = qp.urlKey;\n          qpOther = qpsByUrlKey[urlKey];\n          if (qpOther && qpOther.controllerName !== qp.controllerName) {\n            assert(`You're not allowed to have more than one controller property map to the same query param key, but both \\`${qpOther.scopedPropertyName}\\` and \\`${qp.scopedPropertyName}\\` map to \\`${urlKey}\\`. You can fix this by mapping one of the controller properties to a different query param key via the \\`as\\` config option, e.g. \\`${qpOther.prop}: { as: 'other-${qpOther.prop}' }\\``, false);\n          }\n          qpsByUrlKey[urlKey] = qp;\n        }\n        qps.push(qp);\n      }\n      Object.assign(map, qpMeta.map);\n    }\n    let finalQPMeta = {\n      qps,\n      map\n    };\n    if (shouldCache) {\n      this._qpCache[leafRouteName] = finalQPMeta;\n    }\n    return finalQPMeta;\n  }\n  /**\n    Maps all query param keys to their fully scoped property name of the form\n    `controllerName:propName`.\n       @private\n    @method _fullyScopeQueryParams\n    @param {String} leafRouteName\n    @param {Array<Object>} contexts\n    @param {Object} queryParams\n    @return {Void}\n  */\n  _fullyScopeQueryParams(leafRouteName, contexts, queryParams) {\n    let state = calculatePostTransitionState(this, leafRouteName, contexts);\n    let routeInfos = state.routeInfos;\n    let qpMeta;\n    for (let routeInfo of routeInfos) {\n      qpMeta = this._getQPMeta(routeInfo);\n      if (!qpMeta) {\n        continue;\n      }\n      for (let qp of qpMeta.qps) {\n        let presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n        if (presentProp) {\n          if (presentProp !== qp.scopedPropertyName) {\n            queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n            delete queryParams[presentProp];\n          }\n        }\n      }\n    }\n  }\n  /**\n    Hydrates (adds/restores) any query params that have pre-existing values into\n    the given queryParams hash. This is what allows query params to be \"sticky\"\n    and restore their last known values for their scope.\n       @private\n    @method _hydrateUnsuppliedQueryParams\n    @param {TransitionState} state\n    @param {Object} queryParams\n    @return {Void}\n  */\n  _hydrateUnsuppliedQueryParams(state, queryParams, _fromRouterService) {\n    let routeInfos = state.routeInfos;\n    let appCache = this._bucketCache;\n    let qpMeta;\n    let qp;\n    let presentProp;\n    for (let routeInfo of routeInfos) {\n      qpMeta = this._getQPMeta(routeInfo);\n      if (!qpMeta) {\n        continue;\n      }\n      // Needs to stay for index loop to avoid throwIfClosureRequired\n      for (let j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n        qp = qpMeta.qps[j];\n        assert('expected qp', qp);\n        presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n        assert(`You passed the \\`${presentProp}\\` query parameter during a transition into ${qp.route.routeName}, please update to ${qp.urlKey}`, function () {\n          if (qp.urlKey === presentProp || qp.scopedPropertyName === presentProp) {\n            return true;\n          }\n          if (_fromRouterService && presentProp !== false && qp.urlKey !== qp.prop) {\n            // assumptions (mainly from current transitionTo_test):\n            // - this is only supposed to be run when there is an alias to a query param and the alias is used to set the param\n            // - when there is no alias: qp.urlKey == qp.prop\n            return false;\n          }\n          return true;\n        }());\n        if (presentProp) {\n          if (presentProp !== qp.scopedPropertyName) {\n            queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n            delete queryParams[presentProp];\n          }\n        } else {\n          let cacheKey = calculateCacheKey(qp.route.fullRouteName, qp.parts, state.params);\n          assert('ROUTER BUG: expected appCache to be defined. This is an internal bug, please open an issue on Github if you see this message!', appCache);\n          queryParams[qp.scopedPropertyName] = appCache.lookup(cacheKey, qp.prop, qp.defaultValue);\n        }\n      }\n    }\n  }\n  _scheduleLoadingEvent(transition, originRoute) {\n    this._cancelSlowTransitionTimer();\n    this._slowTransitionTimer = scheduleOnce('routerTransitions', this, this._handleSlowTransition, transition, originRoute);\n  }\n  _handleSlowTransition(transition, originRoute) {\n    if (!this._routerMicrolib.activeTransition) {\n      // Don't fire an event if we've since moved on from\n      // the transition that put us in a loading state.\n      return;\n    }\n    let targetState = new RouterState(this, this._routerMicrolib, this._routerMicrolib.activeTransition[STATE_SYMBOL]);\n    this.set('targetState', targetState);\n    transition.trigger(true, 'loading', transition, originRoute);\n  }\n  _cancelSlowTransitionTimer() {\n    if (this._slowTransitionTimer) {\n      cancel(this._slowTransitionTimer);\n    }\n    this._slowTransitionTimer = null;\n  }\n  // These three helper functions are used to ensure errors aren't\n  // re-raised if they're handled in a route's error action.\n  _markErrorAsHandled(error) {\n    this._handledErrors.add(error);\n  }\n  _isErrorHandled(error) {\n    return this._handledErrors.has(error);\n  }\n  _clearHandledError(error) {\n    this._handledErrors.delete(error);\n  }\n  _getEngineInstance({\n    name,\n    instanceId,\n    mountPoint\n  }) {\n    let engineInstances = this._engineInstances;\n    let namedInstances = engineInstances[name];\n    if (!namedInstances) {\n      namedInstances = Object.create(null);\n      engineInstances[name] = namedInstances;\n    }\n    // We just set these!\n    assert('has namedInstances', namedInstances);\n    let engineInstance = namedInstances[instanceId];\n    if (!engineInstance) {\n      let owner = getOwner(this);\n      assert('Expected router to have EngineInstance as owner', owner instanceof EngineInstance);\n      assert(`You attempted to mount the engine '${name}' in your router map, but the engine can not be found.`, owner.hasRegistration(`engine:${name}`));\n      engineInstance = owner.buildChildEngineInstance(name, {\n        routable: true,\n        mountPoint\n      });\n      engineInstance.boot();\n      namedInstances[instanceId] = engineInstance;\n    }\n    return engineInstance;\n  }\n}\n/*\n  Helper function for iterating over routes in a set of routeInfos that are\n  at or above the given origin route. Example: if `originRoute` === 'foo.bar'\n  and the routeInfos given were for 'foo.bar.baz', then the given callback\n  will be invoked with the routes for 'foo.bar', 'foo', and 'application'\n  individually.\n\n  If the callback returns anything other than `true`, then iteration will stop.\n\n  @private\n  @param {Route} originRoute\n  @param {Array<RouteInfo>} routeInfos\n  @param {Function} callback\n  @return {Void}\n */\nfunction forEachRouteAbove(routeInfos, callback) {\n  for (let i = routeInfos.length - 1; i >= 0; --i) {\n    let routeInfo = routeInfos[i];\n    assert('has routeInfo', routeInfo);\n    let route = routeInfo.route;\n    // routeInfo.handler being `undefined` generally means either:\n    //\n    // 1. an error occurred during creation of the route in question\n    // 2. the route is across an async boundary (e.g. within an engine)\n    //\n    // In both of these cases, we cannot invoke the callback on that specific\n    // route, because it just doesn't exist...\n    if (route === undefined) {\n      continue;\n    }\n    if (callback(route, routeInfo) !== true) {\n      return;\n    }\n  }\n}\n// These get invoked when an action bubbles above ApplicationRoute\n// and are not meant to be overridable.\nlet defaultActionHandlers = {\n  willResolveModel(_routeInfos, transition, originRoute) {\n    this._scheduleLoadingEvent(transition, originRoute);\n  },\n  // Attempt to find an appropriate error route or substate to enter.\n  error(routeInfos, error, transition) {\n    let router = this;\n    let routeInfoWithError = routeInfos[routeInfos.length - 1];\n    forEachRouteAbove(routeInfos, (route, routeInfo) => {\n      // We don't check the leaf most routeInfo since that would\n      // technically be below where we're at in the route hierarchy.\n      if (routeInfo !== routeInfoWithError) {\n        // Check for the existence of an 'error' route.\n        let errorRouteName = findRouteStateName(route, 'error');\n        if (errorRouteName) {\n          router._markErrorAsHandled(error);\n          router.intermediateTransitionTo(errorRouteName, error);\n          return false;\n        }\n      }\n      // Check for an 'error' substate route\n      let errorSubstateName = findRouteSubstateName(route, 'error');\n      if (errorSubstateName) {\n        router._markErrorAsHandled(error);\n        router.intermediateTransitionTo(errorSubstateName, error);\n        return false;\n      }\n      return true;\n    });\n    logError(error, `Error while processing route: ${transition.targetName}`);\n  },\n  // Attempt to find an appropriate loading route or substate to enter.\n  loading(routeInfos, transition) {\n    let router = this;\n    let routeInfoWithSlowLoading = routeInfos[routeInfos.length - 1];\n    forEachRouteAbove(routeInfos, (route, routeInfo) => {\n      // We don't check the leaf most routeInfos since that would\n      // technically be below where we're at in the route hierarchy.\n      if (routeInfo !== routeInfoWithSlowLoading) {\n        // Check for the existence of a 'loading' route.\n        let loadingRouteName = findRouteStateName(route, 'loading');\n        if (loadingRouteName) {\n          router.intermediateTransitionTo(loadingRouteName);\n          return false;\n        }\n      }\n      // Check for loading substate\n      let loadingSubstateName = findRouteSubstateName(route, 'loading');\n      if (loadingSubstateName) {\n        router.intermediateTransitionTo(loadingSubstateName);\n        return false;\n      }\n      // Don't bubble above pivot route.\n      return transition.pivotHandler !== route;\n    });\n  }\n};\nfunction logError(_error, initialMessage) {\n  let errorArgs = [];\n  let error;\n  if (_error && typeof _error === 'object' && typeof _error.errorThrown === 'object') {\n    error = _error.errorThrown;\n  } else {\n    error = _error;\n  }\n  if (initialMessage) {\n    errorArgs.push(initialMessage);\n  }\n  if (error) {\n    if (error.message) {\n      errorArgs.push(error.message);\n    }\n    if (error.stack) {\n      errorArgs.push(error.stack);\n    }\n    if (typeof error === 'string') {\n      errorArgs.push(error);\n    }\n  }\n  console.error(...errorArgs); //eslint-disable-line no-console\n}\n/**\n  Finds the name of the substate route if it exists for the given route. A\n  substate route is of the form `route_state`, such as `foo_loading`.\n\n  @private\n  @param {Route} route\n  @param {String} state\n  @return {String}\n*/\nfunction findRouteSubstateName(route, state) {\n  let owner = getOwner(route);\n  assert('Route is unexpectedly missing an owner', owner);\n  let {\n    routeName,\n    fullRouteName,\n    _router: router\n  } = route;\n  let substateName = `${routeName}_${state}`;\n  let substateNameFull = `${fullRouteName}_${state}`;\n  return routeHasBeenDefined(owner, router, substateName, substateNameFull) ? substateNameFull : '';\n}\n/**\n  Finds the name of the state route if it exists for the given route. A state\n  route is of the form `route.state`, such as `foo.loading`. Properly Handles\n  `application` named routes.\n\n  @private\n  @param {Route} route\n  @param {String} state\n  @return {String}\n*/\nfunction findRouteStateName(route, state) {\n  let owner = getOwner(route);\n  assert('Route is unexpectedly missing an owner', owner);\n  let {\n    routeName,\n    fullRouteName,\n    _router: router\n  } = route;\n  let stateName = routeName === 'application' ? state : `${routeName}.${state}`;\n  let stateNameFull = fullRouteName === 'application' ? state : `${fullRouteName}.${state}`;\n  return routeHasBeenDefined(owner, router, stateName, stateNameFull) ? stateNameFull : '';\n}\n/**\n  Determines whether or not a route has been defined by checking that the route\n  is in the Router's map and the owner has a registration for that route.\n\n  @private\n  @param {Owner} owner\n  @param {Router} router\n  @param {String} localName\n  @param {String} fullName\n  @return {Boolean}\n*/\nfunction routeHasBeenDefined(owner, router, localName, fullName) {\n  let routerHasRoute = router.hasRoute(fullName);\n  let ownerHasRoute = owner.factoryFor(`template:${localName}`) || owner.factoryFor(`route:${localName}`);\n  return routerHasRoute && ownerHasRoute;\n}\nexport function triggerEvent(routeInfos, ignoreFailure, name, args) {\n  if (!routeInfos) {\n    if (ignoreFailure) {\n      return;\n    }\n    // TODO: update?\n    throw new Error(`Can't trigger action '${name}' because your app hasn't finished transitioning into its first route. To trigger an action on destination routes during a transition, you can call \\`.send()\\` on the \\`Transition\\` object passed to the \\`model/beforeModel/afterModel\\` hooks.`);\n  }\n  let eventWasHandled = false;\n  let routeInfo, handler, actionHandler;\n  for (let i = routeInfos.length - 1; i >= 0; i--) {\n    routeInfo = routeInfos[i];\n    assert('[BUG] Missing routeInfo', routeInfo);\n    handler = routeInfo.route;\n    actionHandler = handler && handler.actions && handler.actions[name];\n    if (actionHandler) {\n      if (actionHandler.apply(handler, args) === true) {\n        eventWasHandled = true;\n      } else {\n        // Should only hit here if a non-bubbling error action is triggered on a route.\n        if (name === 'error') {\n          assert('[BUG] Missing handler', handler);\n          handler._router._markErrorAsHandled(args[0]);\n        }\n        return;\n      }\n    }\n  }\n  let defaultHandler = defaultActionHandlers[name];\n  if (defaultHandler) {\n    defaultHandler.call(this, routeInfos, ...args);\n    return;\n  }\n  if (!eventWasHandled && !ignoreFailure) {\n    throw new Error(`Nothing handled the action '${name}'. If you did handle the action, this error can be caused by returning true from an action handler in a controller, causing the action to bubble.`);\n  }\n}\nfunction calculatePostTransitionState(emberRouter, leafRouteName, contexts) {\n  let state = emberRouter._routerMicrolib.applyIntent(leafRouteName, contexts);\n  let {\n    routeInfos,\n    params\n  } = state;\n  for (let routeInfo of routeInfos) {\n    // If the routeInfo is not resolved, we serialize the context into params\n    if (!routeInfo.isResolved) {\n      params[routeInfo.name] = routeInfo.serialize(routeInfo.context);\n    } else {\n      params[routeInfo.name] = routeInfo.params;\n    }\n  }\n  return state;\n}\nfunction updatePaths(router) {\n  let infos = router._routerMicrolib.currentRouteInfos;\n  if (infos.length === 0) {\n    return;\n  }\n  let path = EmberRouter._routePath(infos);\n  let info = infos[infos.length - 1];\n  assert('expected info', info);\n  let currentRouteName = info.name;\n  let location = router.location;\n  assert('expected location to not be a string', typeof location !== 'string');\n  let currentURL = location.getURL();\n  set(router, 'currentPath', path);\n  set(router, 'currentRouteName', currentRouteName);\n  set(router, 'currentURL', currentURL);\n}\nfunction didBeginTransition(transition, router) {\n  let routerState = new RouterState(router, router._routerMicrolib, transition[STATE_SYMBOL]);\n  if (!router.currentState) {\n    router.set('currentState', routerState);\n  }\n  router.set('targetState', routerState);\n  transition.promise = transition.catch(error => {\n    if (router._isErrorHandled(error)) {\n      router._clearHandledError(error);\n    } else {\n      throw error;\n    }\n  }, 'Transition Error');\n}\nfunction forEachQueryParam(router, routeInfos, queryParams, callback) {\n  let qpCache = router._queryParamsFor(routeInfos);\n  for (let key in queryParams) {\n    if (!Object.prototype.hasOwnProperty.call(queryParams, key)) {\n      continue;\n    }\n    let value = queryParams[key];\n    let qp = qpCache.map[key];\n    callback(key, value, qp);\n  }\n}\nfunction findLiveRoute(liveRoutes, name) {\n  if (!liveRoutes) {\n    return;\n  }\n  let stack = [liveRoutes];\n  while (stack.length > 0) {\n    let test = stack.shift();\n    if (test.render.name === name) {\n      return test;\n    }\n    let outlets = test.outlets;\n    for (let outletName in outlets) {\n      stack.push(outlets[outletName]);\n    }\n  }\n  return;\n}\nfunction appendLiveRoute(liveRoutes, defaultParentState, renderOptions) {\n  let ownState = {\n    render: renderOptions,\n    outlets: Object.create(null),\n    wasUsed: false\n  };\n  let target;\n  if (renderOptions.into) {\n    target = findLiveRoute(liveRoutes, renderOptions.into);\n  } else {\n    target = defaultParentState;\n  }\n  if (target) {\n    set(target.outlets, renderOptions.outlet, ownState);\n  } else {\n    liveRoutes = ownState;\n  }\n  return {\n    liveRoutes,\n    ownState\n  };\n}\nfunction representEmptyRoute(liveRoutes, defaultParentState, {\n  routeName\n}) {\n  // the route didn't render anything\n  let alreadyAppended = findLiveRoute(liveRoutes, routeName);\n  if (alreadyAppended) {\n    // But some other route has already rendered our default\n    // template, so that becomes the default target for any\n    // children we may have.\n    return alreadyAppended;\n  } else {\n    // Create an entry to represent our default template name,\n    // just so other routes can target it and inherit its place\n    // in the outlet hierarchy.\n    defaultParentState.outlets['main'] = {\n      render: {\n        name: routeName,\n        outlet: 'main'\n      },\n      outlets: {}\n    };\n    return defaultParentState;\n  }\n}\nEmberRouter.reopen({\n  didTransition: defaultDidTransition,\n  willTransition: defaultWillTransition,\n  rootURL: '/',\n  location: 'hash',\n  // FIXME: Does this need to be overrideable via extend?\n  url: computed(function () {\n    let location = get(this, 'location');\n    if (typeof location === 'string') {\n      return undefined;\n    }\n    return location.getURL();\n  })\n});\nexport default EmberRouter;","import { assert } from '@ember/debug';\nimport { onErrorTarget } from '@ember/-internals/error-handling';\nimport { flushAsyncObservers } from '@ember/-internals/metal';\nimport Backburner from 'backburner';\nlet currentRunLoop = null;\nexport function _getCurrentRunLoop() {\n  return currentRunLoop;\n}\nfunction onBegin(current) {\n  currentRunLoop = current;\n}\nfunction onEnd(_current, next) {\n  currentRunLoop = next;\n  flushAsyncObservers();\n}\nfunction flush(queueName, next) {\n  if (queueName === 'render' || queueName === _rsvpErrorQueue) {\n    flushAsyncObservers();\n  }\n  next();\n}\nexport const _rsvpErrorQueue = `${Math.random()}${Date.now()}`.replace('.', '');\n/**\n  Array of named queues. This array determines the order in which queues\n  are flushed at the end of the RunLoop. You can define your own queues by\n  simply adding the queue name to this array. Normally you should not need\n  to inspect or modify this property.\n\n  @property queues\n  @type Array\n  @default ['actions', 'destroy']\n  @private\n*/\nexport const _queues = ['actions',\n// used in router transitions to prevent unnecessary loading state entry\n// if all context promises resolve on the 'actions' queue first\n'routerTransitions', 'render', 'afterRender', 'destroy',\n// used to re-throw unhandled RSVP rejection errors specifically in this\n// position to avoid breaking anything rendered in the other sections\n_rsvpErrorQueue];\nexport const _backburner = new Backburner(_queues, {\n  defaultQueue: 'actions',\n  onBegin,\n  onEnd,\n  onErrorTarget,\n  onErrorMethod: 'onerror',\n  flush\n});\nexport function run(...args) {\n  // @ts-expect-error TS doesn't like our spread args\n  return _backburner.run(...args);\n}\nexport function join(methodOrTarget, methodOrArg, ...additionalArgs) {\n  return _backburner.join(methodOrTarget, methodOrArg, ...additionalArgs);\n}\nexport function bind(...curried) {\n  assert('could not find a suitable method to bind', function (methodOrTarget, methodOrArg) {\n    // Applies the same logic as backburner parseArgs for detecting if a method\n    // is actually being passed.\n    let length = arguments.length;\n    if (length === 0) {\n      return false;\n    } else if (length === 1) {\n      return typeof methodOrTarget === 'function';\n    } else {\n      return typeof methodOrArg === 'function' ||\n      // second argument is a function\n      methodOrTarget !== null && typeof methodOrArg === 'string' && methodOrArg in methodOrTarget ||\n      // second argument is the name of a method in first argument\n      typeof methodOrTarget === 'function' //first argument is a function\n      ;\n    }\n    // @ts-expect-error TS doesn't like our spread args\n  }(...curried));\n  // @ts-expect-error TS doesn't like our spread args\n  return (...args) => join(...curried.concat(args));\n}\n/**\n  Begins a new RunLoop. Any deferred actions invoked after the begin will\n  be buffered until you invoke a matching call to `end()`. This is\n  a lower-level way to use a RunLoop instead of using `run()`.\n\n  ```javascript\n  import { begin, end } from '@ember/runloop';\n\n  begin();\n  // code to be executed within a RunLoop\n  end();\n  ```\n\n  @method begin\n  @static\n  @for @ember/runloop\n  @return {void}\n  @public\n*/\nexport function begin() {\n  _backburner.begin();\n}\n/**\n  Ends a RunLoop. This must be called sometime after you call\n  `begin()` to flush any deferred actions. This is a lower-level way\n  to use a RunLoop instead of using `run()`.\n\n  ```javascript\n  import { begin, end } from '@ember/runloop';\n\n  begin();\n  // code to be executed within a RunLoop\n  end();\n  ```\n\n  @method end\n  @static\n  @for @ember/runloop\n  @return {void}\n  @public\n*/\nexport function end() {\n  _backburner.end();\n}\nexport function schedule(...args) {\n  // @ts-expect-error TS doesn't like the rest args here\n  return _backburner.schedule(...args);\n}\n// Used by global test teardown\nexport function _hasScheduledTimers() {\n  return _backburner.hasTimers();\n}\n// Used by global test teardown\nexport function _cancelTimers() {\n  _backburner.cancelTimers();\n}\nexport function later(...args) {\n  return _backburner.later(...args);\n}\nexport function once(...args) {\n  // @ts-expect-error TS doesn't like the rest args here\n  return _backburner.scheduleOnce('actions', ...args);\n}\nexport function scheduleOnce(...args) {\n  // @ts-expect-error TS doesn't like the rest args here\n  return _backburner.scheduleOnce(...args);\n}\nexport function next(...args) {\n  return _backburner.later(...args, 1);\n}\n/**\n  Cancels a scheduled item. Must be a value returned by `later()`,\n  `once()`, `scheduleOnce()`, `next()`, `debounce()`, or\n  `throttle()`.\n\n  ```javascript\n  import {\n    next,\n    cancel,\n    later,\n    scheduleOnce,\n    once,\n    throttle,\n    debounce\n  } from '@ember/runloop';\n\n  let runNext = next(myContext, function() {\n    // will not be executed\n  });\n\n  cancel(runNext);\n\n  let runLater = later(myContext, function() {\n    // will not be executed\n  }, 500);\n\n  cancel(runLater);\n\n  let runScheduleOnce = scheduleOnce('afterRender', myContext, function() {\n    // will not be executed\n  });\n\n  cancel(runScheduleOnce);\n\n  let runOnce = once(myContext, function() {\n    // will not be executed\n  });\n\n  cancel(runOnce);\n\n  let throttle = throttle(myContext, function() {\n    // will not be executed\n  }, 1, false);\n\n  cancel(throttle);\n\n  let debounce = debounce(myContext, function() {\n    // will not be executed\n  }, 1);\n\n  cancel(debounce);\n\n  let debounceImmediate = debounce(myContext, function() {\n    // will be executed since we passed in true (immediate)\n  }, 100, true);\n\n  // the 100ms delay until this method can be called again will be canceled\n  cancel(debounceImmediate);\n  ```\n\n  @method cancel\n  @static\n  @for @ember/runloop\n  @param {Object} timer Timer object to cancel\n  @return {Boolean} true if canceled or false/undefined if it wasn't found\n  @public\n*/\nexport function cancel(timer) {\n  return _backburner.cancel(timer);\n}\nexport function debounce(...args) {\n  // @ts-expect-error TS doesn't like the rest args here\n  return _backburner.debounce(...args);\n}\nexport function throttle(...args) {\n  // @ts-expect-error TS doesn't like the rest args here\n  return _backburner.throttle(...args);\n}","import { FrameworkObject } from '@ember/object/-internals';\nimport { inject as metalInject } from '@ember/-internals/metal';\nexport function inject(...args) {\n  return metalInject('service', ...args);\n}\nexport function service(...args) {\n  return metalInject('service', ...args);\n}\n/**\n  @class Service\n  @extends EmberObject\n  @since 1.10.0\n  @public\n*/\nexport default class Service extends FrameworkObject {}\nService.isServiceFactory = true;","/**\nThis module is deprecated and should not be used.\nSee [the deprecations guide](https://deprecations.emberjs.com/v4.x#toc_ember-string-from-ember-module)\nfor more details.\n\n@module @ember/string\n*/\nexport { getStrings as _getStrings, setStrings as _setStrings } from './lib/string_registry';\nimport { Cache } from '@ember/-internals/utils';\nimport { deprecate } from '@ember/debug';\nimport { htmlSafe as internalHtmlSafe, isHTMLSafe as internalIsHtmlSafe } from '@ember/-internals/glimmer';\nconst STRING_DASHERIZE_REGEXP = /[ _]/g;\nconst STRING_DASHERIZE_CACHE = new Cache(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\nconst STRING_CAMELIZE_REGEXP_1 = /(-|_|\\.|\\s)+(.)?/g;\nconst STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\nconst CAMELIZE_CACHE = new Cache(1000, key => key.replace(STRING_CAMELIZE_REGEXP_1, (_match, _separator, chr) => chr ? chr.toUpperCase() : '').replace(STRING_CAMELIZE_REGEXP_2, (match /*, separator, chr */) => match.toLowerCase()));\nconst STRING_CLASSIFY_REGEXP_1 = /^(-|_)+(.)?/;\nconst STRING_CLASSIFY_REGEXP_2 = /(.)(-|_|\\.|\\s)+(.)?/g;\nconst STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\nconst CLASSIFY_CACHE = new Cache(1000, str => {\n  let replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n  let replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n  let parts = str.split('/');\n  for (let i = 0; i < parts.length; i++) {\n    parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n  }\n  return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match /*, separator, chr */) => match.toUpperCase());\n});\nconst STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\nconst STRING_UNDERSCORE_REGEXP_2 = /-|\\s+/g;\nconst UNDERSCORE_CACHE = new Cache(1000, str => str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase());\nconst STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\nconst CAPITALIZE_CACHE = new Cache(1000, str => str.replace(STRING_CAPITALIZE_REGEXP, (match /*, separator, chr */) => match.toUpperCase()));\nconst STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\nconst DECAMELIZE_CACHE = new Cache(1000, str => str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase());\n/**\n  Defines string helper methods including string formatting and localization.\n\n  @class String\n  @public\n  @deprecated Add the package `@ember/string` to your project to use in place of this module.\n*/\n/**\n  Splits a string into separate units separated by spaces, eliminating any\n  empty strings in the process.\n\n  ```javascript\n  import { w } from '@ember/string';\n\n  w(\"alpha beta gamma\").forEach(function(key) {\n    console.log(key);\n  });\n\n  // > alpha\n  // > beta\n  // > gamma\n  ```\n\n  @method w\n  @param {String} str The string to split\n  @return {Array} array containing the split strings\n  @public\n  @deprecated Add `@ember/string` to your package.json\n*/\nexport function w(str) {\n  deprecateImportFromInternalString();\n  return str.split(/\\s+/);\n}\n/**\n  Converts a camelized string into all lower case separated by underscores.\n\n  ```javascript\n  import { decamelize } from '@ember/string';\n\n  decamelize('innerHTML');          // 'inner_html'\n  decamelize('action_name');        // 'action_name'\n  decamelize('css-class-name');     // 'css-class-name'\n  decamelize('my favorite items');  // 'my favorite items'\n  ```\n\n  @method decamelize\n  @param {String} str The string to decamelize.\n  @return {String} the decamelized string.\n  @public\n  @deprecated Add `@ember/string` to your package.json\n*/\nexport function decamelize(str) {\n  deprecateImportFromInternalString();\n  return DECAMELIZE_CACHE.get(str);\n}\n/**\n  Replaces underscores, spaces, or camelCase with dashes.\n\n  ```javascript\n  import { dasherize } from '@ember/string';\n\n  dasherize('innerHTML');                // 'inner-html'\n  dasherize('action_name');              // 'action-name'\n  dasherize('css-class-name');           // 'css-class-name'\n  dasherize('my favorite items');        // 'my-favorite-items'\n  dasherize('privateDocs/ownerInvoice';  // 'private-docs/owner-invoice'\n  ```\n\n  @method dasherize\n  @param {String} str The string to dasherize.\n  @return {String} the dasherized string.\n  @public\n  @deprecated Add `@ember/string` to your package.json\n*/\nexport function dasherize(str) {\n  deprecateImportFromInternalString();\n  return STRING_DASHERIZE_CACHE.get(str);\n}\n/**\n  Returns the lowerCamelCase form of a string.\n\n  ```javascript\n  import { camelize } from '@ember/string';\n\n  camelize('innerHTML');                   // 'innerHTML'\n  camelize('action_name');                 // 'actionName'\n  camelize('css-class-name');              // 'cssClassName'\n  camelize('my favorite items');           // 'myFavoriteItems'\n  camelize('My Favorite Items');           // 'myFavoriteItems'\n  camelize('private-docs/owner-invoice');  // 'privateDocs/ownerInvoice'\n  ```\n\n  @method camelize\n  @param {String} str The string to camelize.\n  @return {String} the camelized string.\n  @public\n  @deprecated Add `@ember/string` to your package.json\n*/\nexport function camelize(str) {\n  deprecateImportFromInternalString();\n  return CAMELIZE_CACHE.get(str);\n}\n/**\n  Returns the UpperCamelCase form of a string.\n\n  ```javascript\n  import { classify } from '@ember/string';\n\n  classify('innerHTML');                   // 'InnerHTML'\n  classify('action_name');                 // 'ActionName'\n  classify('css-class-name');              // 'CssClassName'\n  classify('my favorite items');           // 'MyFavoriteItems'\n  classify('private-docs/owner-invoice');  // 'PrivateDocs/OwnerInvoice'\n  ```\n\n  @method classify\n  @param {String} str the string to classify\n  @return {String} the classified string\n  @public\n  @deprecated Add `@ember/string` to your package.json\n*/\nexport function classify(str) {\n  deprecateImportFromInternalString();\n  return CLASSIFY_CACHE.get(str);\n}\n/**\n  More general than decamelize. Returns the lower\\_case\\_and\\_underscored\n  form of a string.\n\n  ```javascript\n  import { underscore } from '@ember/string';\n\n  underscore('innerHTML');                 // 'inner_html'\n  underscore('action_name');               // 'action_name'\n  underscore('css-class-name');            // 'css_class_name'\n  underscore('my favorite items');         // 'my_favorite_items'\n  underscore('privateDocs/ownerInvoice');  // 'private_docs/owner_invoice'\n  ```\n\n  @method underscore\n  @param {String} str The string to underscore.\n  @return {String} the underscored string.\n  @public\n  @deprecated Add `@ember/string` to your package.json\n*/\nexport function underscore(str) {\n  deprecateImportFromInternalString();\n  return UNDERSCORE_CACHE.get(str);\n}\n/**\n  Returns the Capitalized form of a string\n\n  ```javascript\n  import { capitalize } from '@ember/string';\n\n  capitalize('innerHTML')                 // 'InnerHTML'\n  capitalize('action_name')               // 'Action_name'\n  capitalize('css-class-name')            // 'Css-class-name'\n  capitalize('my favorite items')         // 'My favorite items'\n  capitalize('privateDocs/ownerInvoice'); // 'PrivateDocs/ownerInvoice'\n  ```\n\n  @method capitalize\n  @param {String} str The string to capitalize.\n  @return {String} The capitalized string.\n  @public\n  @deprecated Add `@ember/string` to your package.json\n*/\nexport function capitalize(str) {\n  deprecateImportFromInternalString();\n  return CAPITALIZE_CACHE.get(str);\n}\nfunction deprecateImportFromInternalString() {\n  deprecate('Importing from `@ember/string` without having the `@ember/string` package in your project is deprecated. Please add `@ember/string` to your `package.json', false, {\n    id: 'ember-string.add-package',\n    for: 'ember-source',\n    since: {\n      available: '4.10',\n      enabled: '4.10'\n    },\n    until: '5.0.0',\n    url: 'https://deprecations.emberjs.com/v4.x/#toc_ember-string-add-package'\n  });\n}\nfunction deprecateImportFromString(name, message = `Importing ${name} from '@ember/string' is deprecated. Please import ${name} from '@ember/template' instead.`) {\n  deprecate(message, false, {\n    id: 'ember-string.htmlsafe-ishtmlsafe',\n    for: 'ember-source',\n    since: {\n      available: '4.10',\n      enabled: '4.10'\n    },\n    until: '5.0.0',\n    url: 'https://deprecations.emberjs.com/v3.x/#toc_ember-string-htmlsafe-ishtmlsafe'\n  });\n}\nexport function htmlSafe(str) {\n  deprecateImportFromString('htmlSafe');\n  return internalHtmlSafe(str);\n}\nexport function isHTMLSafe(str) {\n  deprecateImportFromString('isHTMLSafe');\n  return internalIsHtmlSafe(str);\n}","import { deprecate } from '@ember/debug';\n// STATE within a module is frowned upon, this exists\n// to support Ember.STRINGS but shield ember internals from this legacy global\n// API.\nlet STRINGS = {};\nexport function setStrings(strings) {\n  deprecateEmberStrings();\n  STRINGS = strings;\n}\nexport function getStrings() {\n  deprecateEmberStrings();\n  return STRINGS;\n}\nfunction deprecateEmberStrings() {\n  deprecate('Ember.STRINGS is deprecated. It is no longer used by Ember.', false, {\n    id: 'ember-strings',\n    for: 'ember-source',\n    since: {\n      available: '4.10',\n      enabled: '4.10.'\n    },\n    until: '5.0.0'\n  });\n}","import { DEBUG } from '@glimmer/env';\nexport { compile as compileTemplate } from 'ember-template-compiler';\nexport let precompileTemplate;\nif (DEBUG) {\n  precompileTemplate = () => {\n    throw new Error('Attempted to call `precompileTemplate` at runtime, but this API is meant to be used at compile time. You should use `compileTemplate` instead.');\n  };\n}","import { Adapter } from 'ember-testing';\nexport default Adapter;","import require, { has } from 'require';\nexport let registerAsyncHelper;\nexport let registerHelper;\nexport let registerWaiter;\nexport let unregisterHelper;\nexport let unregisterWaiter;\nif (has('ember-testing')) {\n  let {\n    Test\n  } = require('ember-testing');\n  registerAsyncHelper = Test.registerAsyncHelper;\n  registerHelper = Test.registerHelper;\n  registerWaiter = Test.registerWaiter;\n  unregisterHelper = Test.unregisterHelper;\n  unregisterWaiter = Test.unregisterWaiter;\n} else {\n  let testingNotAvailableMessage = () => {\n    throw new Error('Attempted to use test utilities, but `ember-testing` was not included');\n  };\n  registerAsyncHelper = testingNotAvailableMessage;\n  registerHelper = testingNotAvailableMessage;\n  registerWaiter = testingNotAvailableMessage;\n  unregisterHelper = testingNotAvailableMessage;\n  unregisterWaiter = testingNotAvailableMessage;\n}","import typeOf from './type-of';\nimport { Comparable } from '@ember/-internals/runtime';\nimport { assert } from '@ember/debug';\nconst TYPE_ORDER = {\n  undefined: 0,\n  null: 1,\n  boolean: 2,\n  number: 3,\n  string: 4,\n  array: 5,\n  object: 6,\n  instance: 7,\n  function: 8,\n  class: 9,\n  date: 10,\n  regexp: 11,\n  filelist: 12,\n  error: 13\n};\n//\n// the spaceship operator\n//\n//                      `. ___\n//                     __,' __`.                _..----....____\n//         __...--.'``;.   ,.   ;``--..__     .'    ,-._    _.-'\n//   _..-''-------'   `'   `'   `'     O ``-''._   (,;') _,'\n// ,'________________                          \\`-._`-','\n//  `._              ```````````------...___   '-.._'-:\n//     ```--.._      ,.                     ````--...__\\-.\n//             `.--. `-` \"INFINITY IS LESS     ____    |  |`\n//               `. `.   THAN BEYOND\"        ,'`````.  ;  ;`\n//                 `._`.        __________   `.      \\'__/`\n//                    `-:._____/______/___/____`.     \\  `\n//                                |       `._    `.    \\\n//                                `._________`-.   `.   `.___\n//                                              SSt  `------'`\nfunction spaceship(a, b) {\n  // SAFETY: `Math.sign` always returns `-1` for negative, `0` for zero, and `1`\n  // for positive numbers. (The extra precision is useful for the way we use\n  // this in the context of `compare`.)\n  return Math.sign(a - b);\n}\n/**\n @module @ember/utils\n*/\n/**\n Compares two javascript values and returns:\n\n  - -1 if the first is smaller than the second,\n  - 0 if both are equal,\n  - 1 if the first is greater than the second.\n\n  ```javascript\n  import { compare } from '@ember/utils';\n\n  compare('hello', 'hello');  // 0\n  compare('abc', 'dfg');      // -1\n  compare(2, 1);              // 1\n  ```\n\n If the types of the two objects are different precedence occurs in the\n following order, with types earlier in the list considered `<` types\n later in the list:\n\n  - undefined\n  - null\n  - boolean\n  - number\n  - string\n  - array\n  - object\n  - instance\n  - function\n  - class\n  - date\n\n  ```javascript\n  import { compare } from '@ember/utils';\n\n  compare('hello', 50);       // 1\n  compare(50, 'hello');       // -1\n  ```\n\n @method compare\n @for @ember/utils\n @static\n @param {Object} v First value to compare\n @param {Object} w Second value to compare\n @return {Number} -1 if v < w, 0 if v = w and 1 if v > w.\n @public\n*/\nexport default function compare(v, w) {\n  if (v === w) {\n    return 0;\n  }\n  let type1 = typeOf(v);\n  let type2 = typeOf(w);\n  if (type1 === 'instance' && isComparable(v) && v.constructor.compare) {\n    return v.constructor.compare(v, w);\n  }\n  if (type2 === 'instance' && isComparable(w) && w.constructor.compare) {\n    // SAFETY: Multiplying by a negative just changes the sign\n    return w.constructor.compare(w, v) * -1;\n  }\n  let res = spaceship(TYPE_ORDER[type1], TYPE_ORDER[type2]);\n  if (res !== 0) {\n    return res;\n  }\n  // types are equal - so we have to check values now\n  switch (type1) {\n    case 'boolean':\n      assert('both are boolean', typeof v === 'boolean' && typeof w === 'boolean');\n      return spaceship(Number(v), Number(w));\n    case 'number':\n      assert('both are numbers', typeof v === 'number' && typeof w === 'number');\n      return spaceship(v, w);\n    case 'string':\n      assert('both are strings', typeof v === 'string' && typeof w === 'string');\n      return spaceship(v.localeCompare(w), 0);\n    case 'array':\n      {\n        assert('both are arrays', Array.isArray(v) && Array.isArray(w));\n        let vLen = v.length;\n        let wLen = w.length;\n        let len = Math.min(vLen, wLen);\n        for (let i = 0; i < len; i++) {\n          let r = compare(v[i], w[i]);\n          if (r !== 0) {\n            return r;\n          }\n        }\n        // all elements are equal now\n        // shorter array should be ordered first\n        return spaceship(vLen, wLen);\n      }\n    case 'instance':\n      if (isComparable(v) && v.compare) {\n        return v.compare(v, w);\n      }\n      return 0;\n    case 'date':\n      assert('both are dates', v instanceof Date && w instanceof Date);\n      return spaceship(v.getTime(), w.getTime());\n    default:\n      return 0;\n  }\n}\nfunction isComparable(value) {\n  return Comparable.detect(value);\n}","/**\n @module @ember/utils\n*/\n/**\n  Compares two objects, returning true if they are equal.\n\n  ```javascript\n  import { isEqual } from '@ember/utils';\n\n  isEqual('hello', 'hello');                   // true\n  isEqual(1, 2);                               // false\n  ```\n\n  `isEqual` is a more specific comparison than a triple equal comparison.\n  It will call the `isEqual` instance method on the objects being\n  compared, allowing finer control over when objects should be considered\n  equal to each other.\n\n  ```javascript\n  import { isEqual } from '@ember/utils';\n  import EmberObject from '@ember/object';\n\n  let Person = EmberObject.extend({\n    isEqual(other) { return this.ssn == other.ssn; }\n  });\n\n  let personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\n  let personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n\n  isEqual(personA, personB); // true\n  ```\n\n  Due to the expense of array comparisons, collections will never be equal to\n  each other even if each of their items are equal to each other.\n\n  ```javascript\n  import { isEqual } from '@ember/utils';\n\n  isEqual([4, 2], [4, 2]);                     // false\n  ```\n\n  @method isEqual\n  @for @ember/utils\n  @static\n  @param {Object} a first object to compare\n  @param {Object} b second object to compare\n  @return {Boolean}\n  @public\n*/\nexport default function isEqual(a, b) {\n  if (a && typeof a.isEqual === 'function') {\n    return a.isEqual(b);\n  }\n  if (a instanceof Date && b instanceof Date) {\n    return a.getTime() === b.getTime();\n  }\n  return a === b;\n}","import isEmpty from './is_empty';\n/**\n @module @ember/utils\n*/\n/**\n  A value is blank if it is empty or a whitespace string.\n\n  ```javascript\n  import { isBlank } from '@ember/utils';\n\n  isBlank(null);            // true\n  isBlank(undefined);       // true\n  isBlank('');              // true\n  isBlank([]);              // true\n  isBlank('\\n\\t');          // true\n  isBlank('  ');            // true\n  isBlank({});              // false\n  isBlank('\\n\\t Hello');    // false\n  isBlank('Hello world');   // false\n  isBlank([1,2,3]);         // false\n  ```\n\n  @method isBlank\n  @static\n  @for @ember/utils\n  @param {Object} obj Value to test\n  @return {Boolean}\n  @since 1.5.0\n  @public\n*/\nexport default function isBlank(obj) {\n  return isEmpty(obj) || typeof obj === 'string' && /\\S/.test(obj) === false;\n}","import { get } from '@ember/object';\nimport { hasUnknownProperty } from '@ember/-internals/metal';\n/**\n @module @ember/utils\n*/\n/**\n  Verifies that a value is `null` or `undefined`, an empty string, or an empty\n  array.\n\n  Constrains the rules on `isNone` by returning true for empty strings and\n  empty arrays.\n\n  If the value is an object with a `size` property of type number, it is used\n  to check emptiness.\n\n  ```javascript\n  isEmpty(null);             // true\n  isEmpty(undefined);        // true\n  isEmpty('');               // true\n  isEmpty([]);               // true\n  isEmpty({ size: 0});       // true\n  isEmpty({});               // false\n  isEmpty('Adam Hawkins');   // false\n  isEmpty([0,1,2]);          // false\n  isEmpty('\\n\\t');           // false\n  isEmpty('  ');             // false\n  isEmpty({ size: 1 })       // false\n  isEmpty({ size: () => 0 }) // false\n  ```\n\n  @method isEmpty\n  @static\n  @for @ember/utils\n  @param {Object} obj Value to test\n  @return {Boolean}\n  @public\n*/\nexport default function isEmpty(obj) {\n  if (obj === null || obj === undefined) {\n    return true;\n  }\n  if (!hasUnknownProperty(obj) && typeof obj.size === 'number') {\n    return !obj.size;\n  }\n  if (typeof obj === 'object') {\n    let size = get(obj, 'size');\n    if (typeof size === 'number') {\n      return !size;\n    }\n    let length = get(obj, 'length');\n    if (typeof length === 'number') {\n      return !length;\n    }\n  }\n  if (typeof obj.length === 'number' && typeof obj !== 'function') {\n    return !obj.length;\n  }\n  return false;\n}","/**\n @module @ember/utils\n*/\n/**\n  Returns true if the passed value is null or undefined. This avoids errors\n  from JSLint complaining about use of ==, which can be technically\n  confusing.\n\n  ```javascript\n  isNone(null);          // true\n  isNone(undefined);     // true\n  isNone('');            // false\n  isNone([]);            // false\n  isNone(function() {}); // false\n  ```\n\n  @method isNone\n  @static\n  @for @ember/utils\n  @param {Object} obj Value to test\n  @return {Boolean}\n  @public\n*/\nexport default function isNone(obj) {\n  return obj === null || obj === undefined;\n}","import isBlank from './is_blank';\n/**\n @module @ember/utils\n*/\n/**\n  A value is present if it not `isBlank`.\n\n  ```javascript\n  isPresent(null);            // false\n  isPresent(undefined);       // false\n  isPresent('');              // false\n  isPresent('  ');            // false\n  isPresent('\\n\\t');          // false\n  isPresent([]);              // false\n  isPresent({ length: 0 });   // false\n  isPresent(false);           // true\n  isPresent(true);            // true\n  isPresent('string');        // true\n  isPresent(0);               // true\n  isPresent(function() {});   // true\n  isPresent({});              // true\n  isPresent('\\n\\t Hello');    // true\n  isPresent([1, 2, 3]);       // true\n  ```\n\n  @method isPresent\n  @static\n  @for @ember/utils\n  @param {Object} obj Value to test\n  @return {Boolean}\n  @since 1.8.0\n  @public\n*/\nexport default function isPresent(obj) {\n  return !isBlank(obj);\n}","import CoreObject from '@ember/object/core';\n// ........................................\n// TYPING & ARRAY MESSAGING\n//\nconst TYPE_MAP = {\n  '[object Boolean]': 'boolean',\n  '[object Number]': 'number',\n  '[object String]': 'string',\n  '[object Function]': 'function',\n  '[object AsyncFunction]': 'function',\n  '[object Array]': 'array',\n  '[object Date]': 'date',\n  '[object RegExp]': 'regexp',\n  '[object Object]': 'object',\n  '[object FileList]': 'filelist'\n};\nconst {\n  toString\n} = Object.prototype;\n/**\n @module @ember/utils\n*/\n/**\n  Returns a consistent type for the passed object.\n\n  Use this instead of the built-in `typeof` to get the type of an item.\n  It will return the same result across all browsers and includes a bit\n  more detail. Here is what will be returned:\n\n      | Return Value  | Meaning                                              |\n      |---------------|------------------------------------------------------|\n      | 'string'      | String primitive or String object.                   |\n      | 'number'      | Number primitive or Number object.                   |\n      | 'boolean'     | Boolean primitive or Boolean object.                 |\n      | 'null'        | Null value                                           |\n      | 'undefined'   | Undefined value                                      |\n      | 'function'    | A function                                           |\n      | 'array'       | An instance of Array                                 |\n      | 'regexp'      | An instance of RegExp                                |\n      | 'date'        | An instance of Date                                  |\n      | 'filelist'    | An instance of FileList                              |\n      | 'class'       | An Ember class (created using EmberObject.extend())  |\n      | 'instance'    | An Ember object instance                             |\n      | 'error'       | An instance of the Error object                      |\n      | 'object'      | A JavaScript object not inheriting from EmberObject  |\n\n  Examples:\n\n  ```javascript\n  import { A } from '@ember/array';\n  import { typeOf } from '@ember/utils';\n  import EmberObject from '@ember/object';\n\n  typeOf();                       // 'undefined'\n  typeOf(null);                   // 'null'\n  typeOf(undefined);              // 'undefined'\n  typeOf('michael');              // 'string'\n  typeOf(new String('michael'));  // 'string'\n  typeOf(101);                    // 'number'\n  typeOf(new Number(101));        // 'number'\n  typeOf(true);                   // 'boolean'\n  typeOf(new Boolean(true));      // 'boolean'\n  typeOf(A);                      // 'function'\n  typeOf(A());                    // 'array'\n  typeOf([1, 2, 90]);             // 'array'\n  typeOf(/abc/);                  // 'regexp'\n  typeOf(new Date());             // 'date'\n  typeOf(event.target.files);     // 'filelist'\n  typeOf(EmberObject.extend());   // 'class'\n  typeOf(EmberObject.create());   // 'instance'\n  typeOf(new Error('teamocil'));  // 'error'\n\n  // 'normal' JavaScript object\n  typeOf({ a: 'b' });             // 'object'\n  ```\n\n  @method typeOf\n  @for @ember/utils\n  @param item the item to check\n  @return {String} the type\n  @public\n  @static\n*/\nexport default function typeOf(item) {\n  if (item === null) {\n    return 'null';\n  }\n  if (item === undefined) {\n    return 'undefined';\n  }\n  let ret = TYPE_MAP[toString.call(item)] || 'object';\n  if (ret === 'function') {\n    if (CoreObject.detect(item)) {\n      ret = 'class';\n    }\n  } else if (ret === 'object') {\n    if (item instanceof Error) {\n      ret = 'error';\n    } else if (item instanceof CoreObject) {\n      ret = 'instance';\n    } else if (item instanceof Date) {\n      ret = 'date';\n    }\n  }\n  return ret;\n}","import { DEBUG } from '@glimmer/env';\nimport { debugToString } from '@glimmer/util';\nimport { scheduleDestroy, scheduleDestroyed } from '@glimmer/global-context';\n\nlet DESTROYABLE_META = new WeakMap();\n\nfunction push(collection, newItem) {\n  if (collection === null) {\n    return newItem;\n  } else if (Array.isArray(collection)) {\n    collection.push(newItem);\n    return collection;\n  } else {\n    return [collection, newItem];\n  }\n}\n\nfunction iterate(collection, fn) {\n  if (Array.isArray(collection)) {\n    for (let i = 0; i < collection.length; i++) {\n      fn(collection[i]);\n    }\n  } else if (collection !== null) {\n    fn(collection);\n  }\n}\n\nfunction remove(collection, item, message) {\n  if (DEBUG) {\n    let collectionIsItem = collection === item;\n    let collectionContainsItem = Array.isArray(collection) && collection.indexOf(item) !== -1;\n\n    if (!collectionIsItem && !collectionContainsItem) {\n      throw new Error(String(message));\n    }\n  }\n\n  if (Array.isArray(collection) && collection.length > 1) {\n    let index = collection.indexOf(item);\n    collection.splice(index, 1);\n    return collection;\n  } else {\n    return null;\n  }\n}\n\nfunction getDestroyableMeta(destroyable) {\n  let meta = DESTROYABLE_META.get(destroyable);\n\n  if (meta === undefined) {\n    meta = {\n      parents: null,\n      children: null,\n      eagerDestructors: null,\n      destructors: null,\n      state: 0\n      /* Live */\n\n    };\n\n    if (DEBUG) {\n      meta.source = destroyable;\n    }\n\n    DESTROYABLE_META.set(destroyable, meta);\n  }\n\n  return meta;\n}\n\nfunction associateDestroyableChild(parent, child) {\n  if (DEBUG && isDestroying(parent)) {\n    throw new Error('Attempted to associate a destroyable child with an object that is already destroying or destroyed');\n  }\n\n  let parentMeta = getDestroyableMeta(parent);\n  let childMeta = getDestroyableMeta(child);\n  parentMeta.children = push(parentMeta.children, child);\n  childMeta.parents = push(childMeta.parents, parent);\n  return child;\n}\nfunction registerDestructor(destroyable, destructor, eager = false) {\n  if (DEBUG && isDestroying(destroyable)) {\n    throw new Error('Attempted to register a destructor with an object that is already destroying or destroyed');\n  }\n\n  let meta = getDestroyableMeta(destroyable);\n  let destructorsKey = eager === true ? 'eagerDestructors' : 'destructors';\n  meta[destructorsKey] = push(meta[destructorsKey], destructor);\n  return destructor;\n}\nfunction unregisterDestructor(destroyable, destructor, eager = false) {\n  if (DEBUG && isDestroying(destroyable)) {\n    throw new Error('Attempted to unregister a destructor with an object that is already destroying or destroyed');\n  }\n\n  let meta = getDestroyableMeta(destroyable);\n  let destructorsKey = eager === true ? 'eagerDestructors' : 'destructors';\n  meta[destructorsKey] = remove(meta[destructorsKey], destructor, DEBUG && 'attempted to remove a destructor that was not registered with the destroyable');\n} ////////////\n\nfunction destroy(destroyable) {\n  let meta = getDestroyableMeta(destroyable);\n  if (meta.state >= 1\n  /* Destroying */\n  ) return;\n  let {\n    parents,\n    children,\n    eagerDestructors,\n    destructors\n  } = meta;\n  meta.state = 1\n  /* Destroying */\n  ;\n  iterate(children, destroy);\n  iterate(eagerDestructors, destructor => destructor(destroyable));\n  iterate(destructors, destructor => scheduleDestroy(destroyable, destructor));\n  scheduleDestroyed(() => {\n    iterate(parents, parent => removeChildFromParent(destroyable, parent));\n    meta.state = 2\n    /* Destroyed */\n    ;\n  });\n}\n\nfunction removeChildFromParent(child, parent) {\n  let parentMeta = getDestroyableMeta(parent);\n\n  if (parentMeta.state === 0\n  /* Live */\n  ) {\n      parentMeta.children = remove(parentMeta.children, child, DEBUG && \"attempted to remove child from parent, but the parent's children did not contain the child. This is likely a bug with destructors.\");\n    }\n}\n\nfunction destroyChildren(destroyable) {\n  let {\n    children\n  } = getDestroyableMeta(destroyable);\n  iterate(children, destroy);\n}\nfunction _hasDestroyableChildren(destroyable) {\n  let meta = DESTROYABLE_META.get(destroyable);\n  return meta === undefined ? false : meta.children !== null;\n}\nfunction isDestroying(destroyable) {\n  let meta = DESTROYABLE_META.get(destroyable);\n  return meta === undefined ? false : meta.state >= 1\n  /* Destroying */\n  ;\n}\nfunction isDestroyed(destroyable) {\n  let meta = DESTROYABLE_META.get(destroyable);\n  return meta === undefined ? false : meta.state >= 2\n  /* Destroyed */\n  ;\n} ////////////\n\nlet enableDestroyableTracking;\nlet assertDestroyablesDestroyed;\n\nif (DEBUG) {\n  let isTesting = false;\n\n  enableDestroyableTracking = () => {\n    if (isTesting) {\n      // Reset destroyable meta just in case, before throwing the error\n      DESTROYABLE_META = new WeakMap();\n      throw new Error('Attempted to start destroyable testing, but you did not end the previous destroyable test. Did you forget to call `assertDestroyablesDestroyed()`');\n    }\n\n    isTesting = true;\n    DESTROYABLE_META = new Map();\n  };\n\n  assertDestroyablesDestroyed = () => {\n    if (!isTesting) {\n      throw new Error('Attempted to assert destroyables destroyed, but you did not start a destroyable test. Did you forget to call `enableDestroyableTracking()`');\n    }\n\n    isTesting = false;\n    let map = DESTROYABLE_META;\n    DESTROYABLE_META = new WeakMap();\n    let undestroyed = [];\n    map.forEach(meta => {\n      if (meta.state !== 2\n      /* Destroyed */\n      ) {\n          undestroyed.push(meta.source);\n        }\n    });\n\n    if (undestroyed.length > 0) {\n      let objectsToString = undestroyed.map(debugToString).join('\\n    ');\n      let error = new Error(`Some destroyables were not destroyed during this test:\\n    ${objectsToString}`);\n      error.destroyables = undestroyed;\n      throw error;\n    }\n  };\n}\n\nexport { associateDestroyableChild, registerDestructor, unregisterDestructor, destroy, destroyChildren, _hasDestroyableChildren, isDestroying, isDestroyed, enableDestroyableTracking, assertDestroyablesDestroyed };\n","import { DEBUG } from '@glimmer/env';\n\nclass InstructionEncoderImpl {\n  constructor(buffer) {\n    this.buffer = buffer;\n    this.size = 0;\n  }\n\n  encode(type, machine) {\n    if (type > 255\n    /* TYPE_SIZE */\n    ) {\n        throw new Error(`Opcode type over 8-bits. Got ${type}.`);\n      }\n\n    let first = type | machine | arguments.length - 2 << 8\n    /* ARG_SHIFT */\n    ;\n    this.buffer.push(first);\n\n    for (let i = 2; i < arguments.length; i++) {\n      let op = arguments[i];\n\n      if (DEBUG && typeof op === 'number' && op > 2147483647\n      /* MAX_SIZE */\n      ) {\n          throw new Error(`Operand over 32-bits. Got ${op}.`);\n        }\n\n      this.buffer.push(op);\n    }\n\n    this.size = this.buffer.length;\n  }\n\n  patch(position, target) {\n    if (this.buffer[position + 1] === -1) {\n      this.buffer[position + 1] = target;\n    } else {\n      throw new Error('Trying to patch operand in populated slot instead of a reserved slot.');\n    }\n  }\n\n}\n\nexport { InstructionEncoderImpl };\n","const DEBUG = false;\nconst CI = false;\n\nexport { DEBUG, CI };\n","import { DEBUG } from '@glimmer/env';\n\n/**\n * This package contains global context functions for Glimmer. These functions\n * are set by the embedding environment and must be set before initial render.\n *\n * These functions should meet the following criteria:\n *\n * - Must be provided by the embedder, due to having framework specific\n *   behaviors (e.g. interop with classic Ember behaviors that should not be\n *   upstreamed) or to being out of scope for the VM (e.g. scheduling a\n *   revalidation)\n * - Never differ between render roots\n * - Never change over time\n *\n */\n\nlet FEATURE_DEFAULT_HELPER_MANAGER = true; //////////\n\n/**\n * Schedules a VM revalidation.\n *\n * Note: this has a default value so that tags can warm themselves when first loaded.\n */\n\nlet scheduleRevalidate = () => {};\n/**\n * Schedules a destructor to run\n *\n * @param destroyable The destroyable being destroyed\n * @param destructor The destructor being scheduled\n */\n\nlet scheduleDestroy;\n/**\n * Finalizes destruction\n *\n * @param finalizer finalizer function\n */\n\nlet scheduleDestroyed;\n/**\n * Hook to provide iterators for `{{each}}` loops\n *\n * @param value The value to create an iterator for\n */\n\nlet toIterator;\n/**\n * Hook to specify truthiness within Glimmer templates\n *\n * @param value The value to convert to a boolean\n */\n\nlet toBool;\n/**\n * Hook for specifying how Glimmer should access properties in cases where it\n * needs to. For instance, accessing an object's values in templates.\n *\n * @param obj The object provided to get a value from\n * @param path The path to get the value from\n */\n\nlet getProp;\n/**\n * Hook for specifying how Glimmer should update props in cases where it needs\n * to. For instance, when updating a template reference (e.g. 2-way-binding)\n *\n * @param obj The object provided to get a value from\n * @param prop The prop to set the value at\n * @param value The value to set the value to\n */\n\nlet setProp;\n/**\n * Hook for specifying how Glimmer should access paths in cases where it needs\n * to. For instance, the `key` value of `{{each}}` loops.\n *\n * @param obj The object provided to get a value from\n * @param path The path to get the value from\n */\n\nlet getPath;\n/**\n * Hook for specifying how Glimmer should update paths in cases where it needs\n * to. For instance, when updating a template reference (e.g. 2-way-binding)\n *\n * @param obj The object provided to get a value from\n * @param path The path to get the value from\n */\n\nlet setPath;\n/**\n * Hook to warn if a style binding string or value was not marked as trusted\n * (e.g. HTMLSafe)\n */\n\nlet warnIfStyleNotTrusted;\n/**\n * Hook to customize assertion messages in the VM. Usages can be stripped out\n * by using the @glimmer/vm-babel-plugins package.\n */\n\nlet assert;\n/**\n * Hook to customize deprecation messages in the VM. Usages can be stripped out\n * by using the @glimmer/vm-babel-plugins package.\n */\n\nlet deprecate;\nlet globalContextWasSet = false;\nfunction setGlobalContext(context) {\n  var _a;\n\n  if (DEBUG) {\n    if (globalContextWasSet) {\n      throw new Error('Attempted to set the global context twice. This should only be set once.');\n    }\n\n    globalContextWasSet = true;\n  }\n\n  scheduleRevalidate = context.scheduleRevalidate;\n  scheduleDestroy = context.scheduleDestroy;\n  scheduleDestroyed = context.scheduleDestroyed;\n  toIterator = context.toIterator;\n  toBool = context.toBool;\n  getProp = context.getProp;\n  setProp = context.setProp;\n  getPath = context.getPath;\n  setPath = context.setPath;\n  warnIfStyleNotTrusted = context.warnIfStyleNotTrusted;\n  assert = context.assert;\n  deprecate = context.deprecate;\n\n  if (typeof ((_a = context.FEATURES) === null || _a === void 0 ? void 0 : _a.DEFAULT_HELPER_MANAGER) === 'boolean') {\n    FEATURE_DEFAULT_HELPER_MANAGER = context.FEATURES.DEFAULT_HELPER_MANAGER;\n  }\n}\nlet assertGlobalContextWasSet;\nlet testOverrideGlobalContext;\n\nif (DEBUG) {\n  assertGlobalContextWasSet = () => {\n    if (globalContextWasSet === false) {\n      throw new Error('The global context for Glimmer VM was not set. You must set these global context functions to let Glimmer VM know how to accomplish certain operations. You can do this by importing `setGlobalContext` from `@glimmer/global-context`');\n    }\n  };\n\n  testOverrideGlobalContext = context => {\n    let originalGlobalContext = globalContextWasSet ? {\n      scheduleRevalidate,\n      scheduleDestroy,\n      scheduleDestroyed,\n      toIterator,\n      toBool,\n      getProp,\n      setProp,\n      getPath,\n      setPath,\n      warnIfStyleNotTrusted,\n      assert,\n      deprecate\n    } : null;\n\n    if (context === null) {\n      globalContextWasSet = false;\n    } else {\n      globalContextWasSet = true;\n    } // We use `undefined as any` here to unset the values when resetting the\n    // context at the end of a test.\n\n\n    scheduleRevalidate = (context === null || context === void 0 ? void 0 : context.scheduleRevalidate) || undefined;\n    scheduleDestroy = (context === null || context === void 0 ? void 0 : context.scheduleDestroy) || undefined;\n    scheduleDestroyed = (context === null || context === void 0 ? void 0 : context.scheduleDestroyed) || undefined;\n    toIterator = (context === null || context === void 0 ? void 0 : context.toIterator) || undefined;\n    toBool = (context === null || context === void 0 ? void 0 : context.toBool) || undefined;\n    getProp = (context === null || context === void 0 ? void 0 : context.getProp) || undefined;\n    setProp = (context === null || context === void 0 ? void 0 : context.setProp) || undefined;\n    getPath = (context === null || context === void 0 ? void 0 : context.getPath) || undefined;\n    setPath = (context === null || context === void 0 ? void 0 : context.setPath) || undefined;\n    warnIfStyleNotTrusted = (context === null || context === void 0 ? void 0 : context.warnIfStyleNotTrusted) || undefined;\n    assert = (context === null || context === void 0 ? void 0 : context.assert) || undefined;\n    deprecate = (context === null || context === void 0 ? void 0 : context.deprecate) || undefined;\n    return originalGlobalContext;\n  };\n}\n\nexport default setGlobalContext;\nexport { FEATURE_DEFAULT_HELPER_MANAGER, scheduleRevalidate, scheduleDestroy, scheduleDestroyed, toIterator, toBool, getProp, setProp, getPath, setPath, warnIfStyleNotTrusted, assert, deprecate, assertGlobalContextWasSet, testOverrideGlobalContext };\n","class Storage {\n  constructor() {\n    this.array = [];\n    this.next = 0;\n  }\n\n  add(element) {\n    let {\n      next: slot,\n      array\n    } = this;\n\n    if (slot === array.length) {\n      this.next++;\n    } else {\n      let prev = array[slot];\n      this.next = prev;\n    }\n\n    this.array[slot] = element;\n    return slot;\n  }\n\n  deref(pointer) {\n    return this.array[pointer];\n  }\n\n  drop(pointer) {\n    this.array[pointer] = this.next;\n    this.next = pointer;\n  }\n\n}\n\nclass Stack {\n  constructor(vec = []) {\n    this.vec = vec;\n  }\n\n  clone() {\n    return new Stack(this.vec.slice());\n  }\n\n  sliceFrom(start) {\n    return new Stack(this.vec.slice(start));\n  }\n\n  slice(start, end) {\n    return new Stack(this.vec.slice(start, end));\n  }\n\n  copy(from, to) {\n    this.vec[to] = this.vec[from];\n  } // TODO: how to model u64 argument?\n\n\n  writeRaw(pos, value) {\n    // TODO: Grow?\n    this.vec[pos] = value;\n  } // TODO: partially decoded enum?\n\n\n  getRaw(pos) {\n    return this.vec[pos];\n  }\n\n  reset() {\n    this.vec.length = 0;\n  }\n\n  len() {\n    return this.vec.length;\n  }\n\n}\n\nexport { Storage, Stack };\n","import { DEBUG } from '@glimmer/env';\nimport { _WeakSet, HAS_NATIVE_PROXY, debugToString } from '@glimmer/util';\nimport { valueForRef, createComputeRef, createConstRef, UNDEFINED_REFERENCE } from '@glimmer/reference';\nimport { track, createUpdatableTag, untrack } from '@glimmer/validator';\nimport { associateDestroyableChild, registerDestructor } from '@glimmer/destroyable';\nimport { FEATURE_DEFAULT_HELPER_MANAGER } from '@glimmer/global-context';\n\nconst FROM_CAPABILITIES = DEBUG ? new _WeakSet() : undefined;\nfunction buildCapabilities(capabilities) {\n  if (DEBUG) {\n    FROM_CAPABILITIES.add(capabilities);\n    Object.freeze(capabilities);\n  }\n\n  return capabilities;\n}\n/**\n * Converts a ComponentCapabilities object into a 32-bit integer representation.\n */\n\nfunction capabilityFlagsFrom(capabilities) {\n  return 0 | (capabilities.dynamicLayout ? 1\n  /* DynamicLayout */\n  : 0) | (capabilities.dynamicTag ? 2\n  /* DynamicTag */\n  : 0) | (capabilities.prepareArgs ? 4\n  /* PrepareArgs */\n  : 0) | (capabilities.createArgs ? 8\n  /* CreateArgs */\n  : 0) | (capabilities.attributeHook ? 16\n  /* AttributeHook */\n  : 0) | (capabilities.elementHook ? 32\n  /* ElementHook */\n  : 0) | (capabilities.dynamicScope ? 64\n  /* DynamicScope */\n  : 0) | (capabilities.createCaller ? 128\n  /* CreateCaller */\n  : 0) | (capabilities.updateHook ? 256\n  /* UpdateHook */\n  : 0) | (capabilities.createInstance ? 512\n  /* CreateInstance */\n  : 0) | (capabilities.wrapped ? 1024\n  /* Wrapped */\n  : 0) | (capabilities.willDestroy ? 2048\n  /* WillDestroy */\n  : 0) | (capabilities.hasSubOwner ? 4096\n  /* HasSubOwner */\n  : 0);\n}\nfunction managerHasCapability(_manager, capabilities, capability) {\n  return !!(capabilities & capability);\n}\nfunction hasCapability(capabilities, capability) {\n  return !!(capabilities & capability);\n}\n\nconst CUSTOM_TAG_FOR = new WeakMap();\nfunction getCustomTagFor(obj) {\n  return CUSTOM_TAG_FOR.get(obj);\n}\nfunction setCustomTagFor(obj, customTagFn) {\n  CUSTOM_TAG_FOR.set(obj, customTagFn);\n}\n\nfunction convertToInt(prop) {\n  if (typeof prop === 'symbol') return null;\n  const num = Number(prop);\n  if (isNaN(num)) return null;\n  return num % 1 === 0 ? num : null;\n}\n\nfunction tagForNamedArg(namedArgs, key) {\n  return track(() => {\n    if (key in namedArgs) {\n      valueForRef(namedArgs[key]);\n    }\n  });\n}\n\nfunction tagForPositionalArg(positionalArgs, key) {\n  return track(() => {\n    if (key === '[]') {\n      // consume all of the tags in the positional array\n      positionalArgs.forEach(valueForRef);\n    }\n\n    const parsed = convertToInt(key);\n\n    if (parsed !== null && parsed < positionalArgs.length) {\n      // consume the tag of the referenced index\n      valueForRef(positionalArgs[parsed]);\n    }\n  });\n}\n\nlet argsProxyFor;\n\nclass NamedArgsProxy {\n  constructor(named) {\n    this.named = named;\n  }\n\n  get(_target, prop) {\n    const ref = this.named[prop];\n\n    if (ref !== undefined) {\n      return valueForRef(ref);\n    }\n  }\n\n  has(_target, prop) {\n    return prop in this.named;\n  }\n\n  ownKeys() {\n    return Object.keys(this.named);\n  }\n\n  isExtensible() {\n    return false;\n  }\n\n  getOwnPropertyDescriptor(_target, prop) {\n    if (DEBUG && !(prop in this.named)) {\n      throw new Error(`args proxies do not have real property descriptors, so you should never need to call getOwnPropertyDescriptor yourself. This code exists for enumerability, such as in for-in loops and Object.keys(). Attempted to get the descriptor for \\`${String(prop)}\\``);\n    }\n\n    return {\n      enumerable: true,\n      configurable: true\n    };\n  }\n\n}\n\nclass PositionalArgsProxy {\n  constructor(positional) {\n    this.positional = positional;\n  }\n\n  get(target, prop) {\n    let {\n      positional\n    } = this;\n\n    if (prop === 'length') {\n      return positional.length;\n    }\n\n    const parsed = convertToInt(prop);\n\n    if (parsed !== null && parsed < positional.length) {\n      return valueForRef(positional[parsed]);\n    }\n\n    return target[prop];\n  }\n\n  isExtensible() {\n    return false;\n  }\n\n  has(_target, prop) {\n    const parsed = convertToInt(prop);\n    return parsed !== null && parsed < this.positional.length;\n  }\n\n}\n\nif (HAS_NATIVE_PROXY) {\n  argsProxyFor = (capturedArgs, type) => {\n    const {\n      named,\n      positional\n    } = capturedArgs;\n\n    let getNamedTag = (_obj, key) => tagForNamedArg(named, key);\n\n    let getPositionalTag = (_obj, key) => tagForPositionalArg(positional, key);\n\n    const namedHandler = new NamedArgsProxy(named);\n    const positionalHandler = new PositionalArgsProxy(positional);\n    const namedTarget = Object.create(null);\n    const positionalTarget = [];\n\n    if (DEBUG) {\n      const setHandler = function (_target, prop) {\n        throw new Error(`You attempted to set ${String(prop)} on the arguments of a component, helper, or modifier. Arguments are immutable and cannot be updated directly; they always represent the values that are passed down. If you want to set default values, you should use a getter and local tracked state instead.`);\n      };\n\n      const forInDebugHandler = () => {\n        throw new Error(`Object.keys() was called on the positional arguments array for a ${type}, which is not supported. This function is a low-level function that should not need to be called for positional argument arrays. You may be attempting to iterate over the array using for...in instead of for...of.`);\n      };\n\n      namedHandler.set = setHandler;\n      positionalHandler.set = setHandler;\n      positionalHandler.ownKeys = forInDebugHandler;\n    }\n\n    const namedProxy = new Proxy(namedTarget, namedHandler);\n    const positionalProxy = new Proxy(positionalTarget, positionalHandler);\n    setCustomTagFor(namedProxy, getNamedTag);\n    setCustomTagFor(positionalProxy, getPositionalTag);\n    return {\n      named: namedProxy,\n      positional: positionalProxy\n    };\n  };\n} else {\n  argsProxyFor = (capturedArgs, _type) => {\n    const {\n      named,\n      positional\n    } = capturedArgs;\n\n    let getNamedTag = (_obj, key) => tagForNamedArg(named, key);\n\n    let getPositionalTag = (_obj, key) => tagForPositionalArg(positional, key);\n\n    let namedProxy = {};\n    let positionalProxy = [];\n    setCustomTagFor(namedProxy, getNamedTag);\n    setCustomTagFor(positionalProxy, getPositionalTag);\n    Object.keys(named).forEach(name => {\n      Object.defineProperty(namedProxy, name, {\n        enumerable: true,\n        configurable: true,\n\n        get() {\n          return valueForRef(named[name]);\n        }\n\n      });\n    });\n    positional.forEach((ref, index) => {\n      Object.defineProperty(positionalProxy, index, {\n        enumerable: true,\n        configurable: true,\n\n        get() {\n          return valueForRef(ref);\n        }\n\n      });\n    });\n\n    if (DEBUG) {\n      // Prevent mutations in development mode. This will not prevent the\n      // proxy from updating, but will prevent assigning new values or pushing\n      // for instance.\n      Object.freeze(namedProxy);\n      Object.freeze(positionalProxy);\n    }\n\n    return {\n      named: namedProxy,\n      positional: positionalProxy\n    };\n  };\n}\n\nfunction helperCapabilities(managerAPI, options = {}) {\n  if (DEBUG && managerAPI !== '3.23') {\n    throw new Error('Invalid helper manager compatibility specified');\n  }\n\n  if (DEBUG && (!(options.hasValue || options.hasScheduledEffect) || options.hasValue && options.hasScheduledEffect)) {\n    throw new Error('You must pass either the `hasValue` OR the `hasScheduledEffect` capability when defining a helper manager. Passing neither, or both, is not permitted.');\n  }\n\n  if (DEBUG && options.hasScheduledEffect) {\n    throw new Error('The `hasScheduledEffect` capability has not yet been implemented for helper managers. Please pass `hasValue` instead');\n  }\n\n  return buildCapabilities({\n    hasValue: Boolean(options.hasValue),\n    hasDestroyable: Boolean(options.hasDestroyable),\n    hasScheduledEffect: Boolean(options.hasScheduledEffect)\n  });\n} ////////////\n\nfunction hasValue(manager) {\n  return manager.capabilities.hasValue;\n}\nfunction hasDestroyable(manager) {\n  return manager.capabilities.hasDestroyable;\n} ////////////\n\nclass CustomHelperManager {\n  constructor(factory) {\n    this.factory = factory;\n    this.helperManagerDelegates = new WeakMap();\n    this.undefinedDelegate = null;\n  }\n\n  getDelegateForOwner(owner) {\n    let delegate = this.helperManagerDelegates.get(owner);\n\n    if (delegate === undefined) {\n      let {\n        factory\n      } = this;\n      delegate = factory(owner);\n\n      if (DEBUG && !FROM_CAPABILITIES.has(delegate.capabilities)) {\n        // TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n        throw new Error(`Custom helper managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.23')\\` (imported via \\`import { capabilities } from '@ember/helper';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);\n      }\n\n      this.helperManagerDelegates.set(owner, delegate);\n    }\n\n    return delegate;\n  }\n\n  getDelegateFor(owner) {\n    if (owner === undefined) {\n      let {\n        undefinedDelegate\n      } = this;\n\n      if (undefinedDelegate === null) {\n        let {\n          factory\n        } = this;\n        this.undefinedDelegate = undefinedDelegate = factory(undefined);\n      }\n\n      return undefinedDelegate;\n    } else {\n      return this.getDelegateForOwner(owner);\n    }\n  }\n\n  getHelper(definition) {\n    return (capturedArgs, owner) => {\n      var _a, _b;\n\n      let manager = this.getDelegateFor(owner);\n      const args = argsProxyFor(capturedArgs, 'helper');\n      const bucket = manager.createHelper(definition, args);\n\n      if (hasValue(manager)) {\n        let cache = createComputeRef(() => manager.getValue(bucket), null, DEBUG && manager.getDebugName && manager.getDebugName(definition));\n\n        if (hasDestroyable(manager)) {\n          associateDestroyableChild(cache, manager.getDestroyable(bucket));\n        }\n\n        return cache;\n      } else if (hasDestroyable(manager)) {\n        let ref = createConstRef(undefined, DEBUG && ((_b = (_a = manager.getDebugName) === null || _a === void 0 ? void 0 : _a.call(manager, definition)) !== null && _b !== void 0 ? _b : 'unknown helper'));\n        associateDestroyableChild(ref, manager.getDestroyable(bucket));\n        return ref;\n      } else {\n        return UNDEFINED_REFERENCE;\n      }\n    };\n  }\n\n}\n\nclass FunctionHelperManager {\n  constructor() {\n    this.capabilities = buildCapabilities({\n      hasValue: true,\n      hasDestroyable: false,\n      hasScheduledEffect: false\n    });\n  }\n\n  createHelper(fn, args) {\n    return {\n      fn,\n      args\n    };\n  }\n\n  getValue({\n    fn,\n    args\n  }) {\n    if (Object.keys(args.named).length > 0) {\n      let argsForFn = [...args.positional, args.named];\n      return fn(...argsForFn);\n    }\n\n    return fn(...args.positional);\n  }\n\n  getDebugName(fn) {\n    if (fn.name) {\n      return `(helper function ${fn.name})`;\n    }\n\n    return '(anonymous helper function)';\n  }\n\n}\n\nconst COMPONENT_MANAGERS = new WeakMap();\nconst MODIFIER_MANAGERS = new WeakMap();\nconst HELPER_MANAGERS = new WeakMap(); ///////////\n\nconst getPrototypeOf = Object.getPrototypeOf;\n\nfunction setManager(map, manager, obj) {\n  if (DEBUG && (typeof obj !== 'object' || obj === null) && typeof obj !== 'function') {\n    throw new Error(`Attempted to set a manager on a non-object value. Managers can only be associated with objects or functions. Value was ${debugToString(obj)}`);\n  }\n\n  if (DEBUG && map.has(obj)) {\n    throw new Error(`Attempted to set the same type of manager multiple times on a value. You can only associate one manager of each type with a given value. Value was ${debugToString(obj)}`);\n  }\n\n  map.set(obj, manager);\n  return obj;\n}\n\nfunction getManager(map, obj) {\n  let pointer = obj;\n\n  while (pointer !== undefined && pointer !== null) {\n    const manager = map.get(pointer);\n\n    if (manager !== undefined) {\n      return manager;\n    }\n\n    pointer = getPrototypeOf(pointer);\n  }\n\n  return undefined;\n} ///////////\n\n\nfunction setInternalModifierManager(manager, definition) {\n  return setManager(MODIFIER_MANAGERS, manager, definition);\n}\nfunction getInternalModifierManager(definition, isOptional) {\n  if (DEBUG && typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n    throw new Error(`Attempted to use a value as a modifier, but it was not an object or function. Modifier definitions must be objects or functions with an associated modifier manager. The value was: ${definition}`);\n  }\n\n  const manager = getManager(MODIFIER_MANAGERS, definition);\n\n  if (manager === undefined) {\n    if (isOptional === true) {\n      return null;\n    } else if (DEBUG) {\n      throw new Error(`Attempted to load a modifier, but there wasn't a modifier manager associated with the definition. The definition was: ${debugToString(definition)}`);\n    }\n  }\n\n  return manager;\n}\nfunction setInternalHelperManager(manager, definition) {\n  return setManager(HELPER_MANAGERS, manager, definition);\n}\nconst DEFAULT_MANAGER = new CustomHelperManager(() => new FunctionHelperManager());\nfunction getInternalHelperManager(definition, isOptional) {\n  if (DEBUG && typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n    throw new Error(`Attempted to use a value as a helper, but it was not an object or function. Helper definitions must be objects or functions with an associated helper manager. The value was: ${definition}`);\n  }\n\n  let manager = getManager(HELPER_MANAGERS, definition);\n\n  if (FEATURE_DEFAULT_HELPER_MANAGER) {\n    // Functions are special-cased because functions are defined\n    // as the \"default\" helper, per: https://github.com/emberjs/rfcs/pull/756\n    if (manager === undefined && typeof definition === 'function') {\n      manager = DEFAULT_MANAGER;\n    }\n  }\n\n  if (manager) {\n    return manager;\n  } else if (isOptional === true) {\n    return null;\n  } else if (DEBUG) {\n    throw new Error(`Attempted to load a helper, but there wasn't a helper manager associated with the definition. The definition was: ${debugToString(definition)}`);\n  }\n\n  return null;\n}\nfunction setInternalComponentManager(factory, obj) {\n  return setManager(COMPONENT_MANAGERS, factory, obj);\n}\nfunction getInternalComponentManager(definition, isOptional) {\n  if (DEBUG && typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n    throw new Error(`Attempted to use a value as a component, but it was not an object or function. Component definitions must be objects or functions with an associated component manager. The value was: ${definition}`);\n  }\n\n  const manager = getManager(COMPONENT_MANAGERS, definition);\n\n  if (manager === undefined) {\n    if (isOptional === true) {\n      return null;\n    } else if (DEBUG) {\n      throw new Error(`Attempted to load a component, but there wasn't a component manager associated with the definition. The definition was: ${debugToString(definition)}`);\n    }\n  }\n\n  return manager;\n} ///////////\n\nfunction hasInternalComponentManager(definition) {\n  return hasDefaultComponentManager(definition) || getManager(COMPONENT_MANAGERS, definition) !== undefined;\n}\nfunction hasInternalHelperManager(definition) {\n  return hasDefaultHelperManager(definition) || getManager(HELPER_MANAGERS, definition) !== undefined;\n}\nfunction hasInternalModifierManager(definition) {\n  return hasDefaultModifierManager(definition) || getManager(MODIFIER_MANAGERS, definition) !== undefined;\n}\n\nfunction hasDefaultComponentManager(_definition) {\n  return false;\n}\n\nfunction hasDefaultHelperManager(definition) {\n  if (FEATURE_DEFAULT_HELPER_MANAGER) {\n    return typeof definition === 'function';\n  }\n\n  return false;\n}\n\nfunction hasDefaultModifierManager(_definition) {\n  return false;\n}\n\nconst CAPABILITIES = {\n  dynamicLayout: false,\n  dynamicTag: false,\n  prepareArgs: false,\n  createArgs: true,\n  attributeHook: false,\n  elementHook: false,\n  createCaller: false,\n  dynamicScope: true,\n  updateHook: true,\n  createInstance: true,\n  wrapped: false,\n  willDestroy: false,\n  hasSubOwner: false\n};\nfunction componentCapabilities(managerAPI, options = {}) {\n  if (DEBUG && managerAPI !== '3.13') {\n    throw new Error('Invalid component manager compatibility specified');\n  }\n\n  let updateHook = Boolean(options.updateHook);\n  return buildCapabilities({\n    asyncLifeCycleCallbacks: Boolean(options.asyncLifecycleCallbacks),\n    destructor: Boolean(options.destructor),\n    updateHook\n  });\n}\nfunction hasAsyncLifeCycleCallbacks(delegate) {\n  return delegate.capabilities.asyncLifeCycleCallbacks;\n}\nfunction hasUpdateHook(delegate) {\n  return delegate.capabilities.updateHook;\n}\nfunction hasAsyncUpdateHook(delegate) {\n  return hasAsyncLifeCycleCallbacks(delegate) && hasUpdateHook(delegate);\n}\nfunction hasDestructors(delegate) {\n  return delegate.capabilities.destructor;\n}\n/**\n  The CustomComponentManager allows addons to provide custom component\n  implementations that integrate seamlessly into Ember. This is accomplished\n  through a delegate, registered with the custom component manager, which\n  implements a set of hooks that determine component behavior.\n\n  To create a custom component manager, instantiate a new CustomComponentManager\n  class and pass the delegate as the first argument:\n\n  ```js\n  let manager = new CustomComponentManager({\n    // ...delegate implementation...\n  });\n  ```\n\n  ## Delegate Hooks\n\n  Throughout the lifecycle of a component, the component manager will invoke\n  delegate hooks that are responsible for surfacing those lifecycle changes to\n  the end developer.\n\n  * `create()` - invoked when a new instance of a component should be created\n  * `update()` - invoked when the arguments passed to a component change\n  * `getContext()` - returns the object that should be\n*/\n\nclass CustomComponentManager {\n  constructor(factory) {\n    this.factory = factory;\n    this.componentManagerDelegates = new WeakMap();\n  }\n\n  getDelegateFor(owner) {\n    let {\n      componentManagerDelegates\n    } = this;\n    let delegate = componentManagerDelegates.get(owner);\n\n    if (delegate === undefined) {\n      let {\n        factory\n      } = this;\n      delegate = factory(owner);\n\n      if (DEBUG && !FROM_CAPABILITIES.has(delegate.capabilities)) {\n        // TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n        throw new Error(`Custom component managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.13')\\` (imported via \\`import { capabilities } from '@ember/component';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);\n      }\n\n      componentManagerDelegates.set(owner, delegate);\n    }\n\n    return delegate;\n  }\n\n  create(owner, definition, vmArgs) {\n    let delegate = this.getDelegateFor(owner);\n    let args = argsProxyFor(vmArgs.capture(), 'component');\n    let component = delegate.createComponent(definition, args);\n    return new CustomComponentState(component, delegate, args);\n  }\n\n  getDebugName(definition) {\n    return typeof definition === 'function' ? definition.name : definition.toString();\n  }\n\n  update(bucket) {\n    let {\n      delegate\n    } = bucket;\n\n    if (hasUpdateHook(delegate)) {\n      let {\n        component,\n        args\n      } = bucket;\n      delegate.updateComponent(component, args);\n    }\n  }\n\n  didCreate({\n    component,\n    delegate\n  }) {\n    if (hasAsyncLifeCycleCallbacks(delegate)) {\n      delegate.didCreateComponent(component);\n    }\n  }\n\n  didUpdate({\n    component,\n    delegate\n  }) {\n    if (hasAsyncUpdateHook(delegate)) {\n      delegate.didUpdateComponent(component);\n    }\n  }\n\n  didRenderLayout() {}\n\n  didUpdateLayout() {}\n\n  getSelf({\n    component,\n    delegate\n  }) {\n    return createConstRef(delegate.getContext(component), 'this');\n  }\n\n  getDestroyable(bucket) {\n    const {\n      delegate\n    } = bucket;\n\n    if (hasDestructors(delegate)) {\n      const {\n        component\n      } = bucket;\n      registerDestructor(bucket, () => delegate.destroyComponent(component));\n      return bucket;\n    }\n\n    return null;\n  }\n\n  getCapabilities() {\n    return CAPABILITIES;\n  }\n\n}\n/**\n * Stores internal state about a component instance after it's been created.\n */\n\nclass CustomComponentState {\n  constructor(component, delegate, args) {\n    this.component = component;\n    this.delegate = delegate;\n    this.args = args;\n  }\n\n}\n\nfunction modifierCapabilities(managerAPI, optionalFeatures = {}) {\n  if (DEBUG && managerAPI !== '3.22') {\n    throw new Error('Invalid modifier manager compatibility specified');\n  }\n\n  return buildCapabilities({\n    disableAutoTracking: Boolean(optionalFeatures.disableAutoTracking)\n  });\n}\n/**\n  The CustomModifierManager allows addons to provide custom modifier\n  implementations that integrate seamlessly into Ember. This is accomplished\n  through a delegate, registered with the custom modifier manager, which\n  implements a set of hooks that determine modifier behavior.\n  To create a custom modifier manager, instantiate a new CustomModifierManager\n  class and pass the delegate as the first argument:\n\n  ```js\n  let manager = new CustomModifierManager({\n    // ...delegate implementation...\n  });\n  ```\n\n  ## Delegate Hooks\n\n  Throughout the lifecycle of a modifier, the modifier manager will invoke\n  delegate hooks that are responsible for surfacing those lifecycle changes to\n  the end developer.\n  * `createModifier()` - invoked when a new instance of a modifier should be created\n  * `installModifier()` - invoked when the modifier is installed on the element\n  * `updateModifier()` - invoked when the arguments passed to a modifier change\n  * `destroyModifier()` - invoked when the modifier is about to be destroyed\n*/\n\nclass CustomModifierManager {\n  constructor(factory) {\n    this.factory = factory;\n    this.componentManagerDelegates = new WeakMap();\n  }\n\n  getDelegateFor(owner) {\n    let {\n      componentManagerDelegates\n    } = this;\n    let delegate = componentManagerDelegates.get(owner);\n\n    if (delegate === undefined) {\n      let {\n        factory\n      } = this;\n      delegate = factory(owner);\n\n      if (DEBUG && !FROM_CAPABILITIES.has(delegate.capabilities)) {\n        // TODO: This error message should make sense in both Ember and Glimmer https://github.com/glimmerjs/glimmer-vm/issues/1200\n        throw new Error(`Custom modifier managers must have a \\`capabilities\\` property that is the result of calling the \\`capabilities('3.22')\\` (imported via \\`import { capabilities } from '@ember/modifier';\\`). Received: \\`${JSON.stringify(delegate.capabilities)}\\` for: \\`${delegate}\\``);\n      }\n\n      componentManagerDelegates.set(owner, delegate);\n    }\n\n    return delegate;\n  }\n\n  create(owner, element, definition, capturedArgs) {\n    let delegate = this.getDelegateFor(owner);\n    let args = argsProxyFor(capturedArgs, 'modifier');\n    let instance = delegate.createModifier(definition, args);\n    let tag = createUpdatableTag();\n    let state;\n    state = {\n      tag,\n      element,\n      delegate,\n      args,\n      modifier: instance\n    };\n\n    if (DEBUG) {\n      state.debugName = typeof definition === 'function' ? definition.name : definition.toString();\n    }\n\n    registerDestructor(state, () => delegate.destroyModifier(instance, args));\n    return state;\n  }\n\n  getDebugName({\n    debugName\n  }) {\n    return debugName;\n  }\n\n  getTag({\n    tag\n  }) {\n    return tag;\n  }\n\n  install({\n    element,\n    args,\n    modifier,\n    delegate\n  }) {\n    let {\n      capabilities\n    } = delegate;\n\n    if (capabilities.disableAutoTracking === true) {\n      untrack(() => delegate.installModifier(modifier, element, args));\n    } else {\n      delegate.installModifier(modifier, element, args);\n    }\n  }\n\n  update({\n    args,\n    modifier,\n    delegate\n  }) {\n    let {\n      capabilities\n    } = delegate;\n\n    if (capabilities.disableAutoTracking === true) {\n      untrack(() => delegate.updateModifier(modifier, args));\n    } else {\n      delegate.updateModifier(modifier, args);\n    }\n  }\n\n  getDestroyable(state) {\n    return state;\n  }\n\n}\n\nfunction setComponentManager(factory, obj) {\n  return setInternalComponentManager(new CustomComponentManager(factory), obj);\n}\nfunction setModifierManager(factory, obj) {\n  return setInternalModifierManager(new CustomModifierManager(factory), obj);\n}\nfunction setHelperManager(factory, obj) {\n  return setInternalHelperManager(new CustomHelperManager(factory), obj);\n}\n\nconst TEMPLATES = new WeakMap();\nconst getPrototypeOf$1 = Object.getPrototypeOf;\nfunction setComponentTemplate(factory, obj) {\n  if (DEBUG && !(obj !== null && (typeof obj === 'object' || typeof obj === 'function'))) {\n    throw new Error(`Cannot call \\`setComponentTemplate\\` on \\`${debugToString(obj)}\\``);\n  }\n\n  if (DEBUG && TEMPLATES.has(obj)) {\n    throw new Error(`Cannot call \\`setComponentTemplate\\` multiple times on the same class (\\`${debugToString(obj)}\\`)`);\n  }\n\n  TEMPLATES.set(obj, factory);\n  return obj;\n}\nfunction getComponentTemplate(obj) {\n  let pointer = obj;\n\n  while (pointer !== null) {\n    let template = TEMPLATES.get(pointer);\n\n    if (template !== undefined) {\n      return template;\n    }\n\n    pointer = getPrototypeOf$1(pointer);\n  }\n\n  return undefined;\n}\n\nexport { setInternalHelperManager, setInternalModifierManager, setInternalComponentManager, getInternalHelperManager, getInternalModifierManager, getInternalComponentManager, hasInternalHelperManager, hasInternalModifierManager, hasInternalComponentManager, setHelperManager, setModifierManager, setComponentManager, componentCapabilities, CustomComponentManager, modifierCapabilities, CustomModifierManager, helperCapabilities, hasDestroyable, hasValue, CustomHelperManager, getComponentTemplate, setComponentTemplate, capabilityFlagsFrom, hasCapability, managerHasCapability, getCustomTagFor, setCustomTagFor };\n","import { ConcreteBounds, DOMTreeConstruction, NewElementBuilder } from '@glimmer/runtime';\nimport createHTMLDocument from '@simple-dom/document';\n\nclass NodeDOMTreeConstruction extends DOMTreeConstruction {\n  constructor(doc) {\n    super(doc || createHTMLDocument());\n  } // override to prevent usage of `this.document` until after the constructor\n\n\n  setupUselessElement() {}\n\n  insertHTMLBefore(parent, reference, html) {\n    let raw = this.document.createRawHTMLSection(html);\n    parent.insertBefore(raw, reference);\n    return new ConcreteBounds(parent, raw, raw);\n  } // override to avoid SVG detection/work when in node (this is not needed in SSR)\n\n\n  createElement(tag) {\n    return this.document.createElement(tag);\n  } // override to avoid namespace shenanigans when in node (this is not needed in SSR)\n\n\n  setAttribute(element, name, value) {\n    element.setAttribute(name, value);\n  }\n\n}\n\nconst TEXT_NODE = 3;\nconst NEEDS_EXTRA_CLOSE = new WeakMap();\n\nfunction currentNode(cursor) {\n  let {\n    element,\n    nextSibling\n  } = cursor;\n\n  if (nextSibling === null) {\n    return element.lastChild;\n  } else {\n    return nextSibling.previousSibling;\n  }\n}\n\nclass SerializeBuilder extends NewElementBuilder {\n  constructor() {\n    super(...arguments);\n    this.serializeBlockDepth = 0;\n  }\n\n  __openBlock() {\n    let {\n      tagName\n    } = this.element;\n\n    if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n      let depth = this.serializeBlockDepth++;\n\n      this.__appendComment(`%+b:${depth}%`);\n    }\n\n    super.__openBlock();\n  }\n\n  __closeBlock() {\n    let {\n      tagName\n    } = this.element;\n\n    super.__closeBlock();\n\n    if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n      let depth = --this.serializeBlockDepth;\n\n      this.__appendComment(`%-b:${depth}%`);\n    }\n  }\n\n  __appendHTML(html) {\n    let {\n      tagName\n    } = this.element;\n\n    if (tagName === 'TITLE' || tagName === 'SCRIPT' || tagName === 'STYLE') {\n      return super.__appendHTML(html);\n    } // Do we need to run the html tokenizer here?\n\n\n    let first = this.__appendComment('%glmr%');\n\n    if (tagName === 'TABLE') {\n      let openIndex = html.indexOf('<');\n\n      if (openIndex > -1) {\n        let tr = html.slice(openIndex + 1, openIndex + 3);\n\n        if (tr === 'tr') {\n          html = `<tbody>${html}</tbody>`;\n        }\n      }\n    }\n\n    if (html === '') {\n      this.__appendComment('% %');\n    } else {\n      super.__appendHTML(html);\n    }\n\n    let last = this.__appendComment('%glmr%');\n\n    return new ConcreteBounds(this.element, first, last);\n  }\n\n  __appendText(string) {\n    let {\n      tagName\n    } = this.element;\n    let current = currentNode(this);\n\n    if (tagName === 'TITLE' || tagName === 'SCRIPT' || tagName === 'STYLE') {\n      return super.__appendText(string);\n    } else if (string === '') {\n      return this.__appendComment('% %');\n    } else if (current && current.nodeType === TEXT_NODE) {\n      this.__appendComment('%|%');\n    }\n\n    return super.__appendText(string);\n  }\n\n  closeElement() {\n    if (NEEDS_EXTRA_CLOSE.has(this.element)) {\n      NEEDS_EXTRA_CLOSE.delete(this.element);\n      super.closeElement();\n    }\n\n    return super.closeElement();\n  }\n\n  openElement(tag) {\n    if (tag === 'tr') {\n      if (this.element.tagName !== 'TBODY' && this.element.tagName !== 'THEAD' && this.element.tagName !== 'TFOOT') {\n        this.openElement('tbody'); // This prevents the closeBlock comment from being re-parented\n        // under the auto inserted tbody. Rehydration builder needs to\n        // account for the insertion since it is injected here and not\n        // really in the template.\n\n        NEEDS_EXTRA_CLOSE.set(this.constructing, true);\n        this.flushElement(null);\n      }\n    }\n\n    return super.openElement(tag);\n  }\n\n  pushRemoteElement(element, cursorId, insertBefore = null) {\n    let {\n      dom\n    } = this;\n    let script = dom.createElement('script');\n    script.setAttribute('glmr', cursorId);\n    dom.insertBefore(element, script, insertBefore);\n    return super.pushRemoteElement(element, cursorId, insertBefore);\n  }\n\n}\n\nfunction serializeBuilder(env, cursor) {\n  return SerializeBuilder.forInitialRender(env, cursor);\n}\n\nexport { NodeDOMTreeConstruction, serializeBuilder };\n","import { dict, assign, isSmallInt, debugToString, EMPTY_ARRAY, EMPTY_STRING_ARRAY, encodeImmediate, Stack, encodeHandle } from '@glimmer/util';\nimport { DEBUG } from '@glimmer/env';\nimport { $v0, $fp, $s0, $s1, $sp, isMachineOp } from '@glimmer/vm';\nimport { assert, deprecate } from '@glimmer/global-context';\nimport { hasCapability } from '@glimmer/manager';\nimport { InstructionEncoderImpl } from '@glimmer/encoder';\n\nclass NamedBlocksImpl {\n  constructor(blocks) {\n    this.blocks = blocks;\n    this.names = blocks ? Object.keys(blocks) : [];\n  }\n\n  get(name) {\n    if (!this.blocks) return null;\n    return this.blocks[name] || null;\n  }\n\n  has(name) {\n    let {\n      blocks\n    } = this;\n    return blocks !== null && name in blocks;\n  }\n\n  with(name, block) {\n    let {\n      blocks\n    } = this;\n\n    if (blocks) {\n      return new NamedBlocksImpl(assign({}, blocks, {\n        [name]: block\n      }));\n    } else {\n      return new NamedBlocksImpl({\n        [name]: block\n      });\n    }\n  }\n\n  get hasAny() {\n    return this.blocks !== null;\n  }\n\n}\nconst EMPTY_BLOCKS = new NamedBlocksImpl(null);\nfunction namedBlocks(blocks) {\n  if (blocks === null) {\n    return EMPTY_BLOCKS;\n  }\n\n  let out = dict();\n  let [keys, values] = blocks;\n\n  for (let i = 0; i < keys.length; i++) {\n    out[keys[i]] = values[i];\n  }\n\n  return new NamedBlocksImpl(out);\n}\n\nfunction labelOperand(value) {\n  return {\n    type: 1\n    /* Label */\n    ,\n    value\n  };\n}\nfunction evalSymbolsOperand() {\n  return {\n    type: 3\n    /* EvalSymbols */\n    ,\n    value: undefined\n  };\n}\nfunction isStrictMode() {\n  return {\n    type: 2\n    /* IsStrictMode */\n    ,\n    value: undefined\n  };\n}\nfunction blockOperand(value) {\n  return {\n    type: 4\n    /* Block */\n    ,\n    value\n  };\n}\nfunction stdlibOperand(value) {\n  return {\n    type: 5\n    /* StdLib */\n    ,\n    value\n  };\n}\nfunction nonSmallIntOperand(value) {\n  return {\n    type: 6\n    /* NonSmallInt */\n    ,\n    value\n  };\n}\nfunction symbolTableOperand(value) {\n  return {\n    type: 7\n    /* SymbolTable */\n    ,\n    value\n  };\n}\nfunction layoutOperand(value) {\n  return {\n    type: 8\n    /* Layout */\n    ,\n    value\n  };\n}\n\nfunction isGetLikeTuple(opcode) {\n  return Array.isArray(opcode) && opcode.length === 2;\n}\n\nfunction makeResolutionTypeVerifier(typeToVerify) {\n  return opcode => {\n    if (!isGetLikeTuple(opcode)) return false;\n    let type = opcode[0];\n    return type === 31\n    /* GetStrictFree */\n    || type === 32\n    /* GetTemplateSymbol */\n    || type === typeToVerify;\n  };\n}\n\nconst isGetFreeComponent = makeResolutionTypeVerifier(39\n/* GetFreeAsComponentHead */\n);\nconst isGetFreeModifier = makeResolutionTypeVerifier(38\n/* GetFreeAsModifierHead */\n);\nconst isGetFreeHelper = makeResolutionTypeVerifier(37\n/* GetFreeAsHelperHead */\n);\nconst isGetFreeComponentOrHelper = makeResolutionTypeVerifier(35\n/* GetFreeAsComponentOrHelperHead */\n);\nconst isGetFreeOptionalComponentOrHelper = makeResolutionTypeVerifier(34\n/* GetFreeAsComponentOrHelperHeadOrThisFallback */\n);\n\nfunction assertResolverInvariants(meta) {\n  if (DEBUG) {\n    if (!meta.upvars) {\n      throw new Error('Attempted to resolve a component, helper, or modifier, but no free vars were found');\n    }\n\n    if (!meta.owner) {\n      throw new Error('Attempted to resolve a component, helper, or modifier, but no owner was associated with the template it was being resolved from');\n    }\n  }\n\n  return meta;\n}\n/**\n * <Foo/>\n * <Foo></Foo>\n * <Foo @arg={{true}} />\n */\n\n\nfunction resolveComponent(resolver, constants, meta, [, expr, then]) {\n  let type = expr[0];\n\n  if (DEBUG && expr[0] === 31\n  /* GetStrictFree */\n  ) {\n      throw new Error(`Attempted to resolve a component in a strict mode template, but that value was not in scope: ${meta.upvars[expr[1]]}`);\n    }\n\n  if (type === 32\n  /* GetTemplateSymbol */\n  ) {\n      let {\n        scopeValues,\n        owner\n      } = meta;\n      let definition = scopeValues[expr[1]];\n      then(constants.component(definition, owner));\n    } else {\n    let {\n      upvars,\n      owner\n    } = assertResolverInvariants(meta);\n    let name = upvars[expr[1]];\n    let definition = resolver.lookupComponent(name, owner);\n\n    if (DEBUG && (typeof definition !== 'object' || definition === null)) {\n      throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component, but nothing was found.`);\n    }\n\n    then(constants.resolvedComponent(definition, name));\n  }\n}\n/**\n * (helper)\n * (helper arg)\n */\n\nfunction resolveHelper(resolver, constants, meta, [, expr, then]) {\n  let type = expr[0];\n\n  if (type === 32\n  /* GetTemplateSymbol */\n  ) {\n      let {\n        scopeValues\n      } = meta;\n      let definition = scopeValues[expr[1]];\n      then(constants.helper(definition));\n    } else if (type === 31\n  /* GetStrictFree */\n  ) {\n      then(lookupBuiltInHelper(expr, resolver, meta, constants, 'helper'));\n    } else {\n    let {\n      upvars,\n      owner\n    } = assertResolverInvariants(meta);\n    let name = upvars[expr[1]];\n    let helper = resolver.lookupHelper(name, owner);\n\n    if (DEBUG && helper === null) {\n      throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a helper, but nothing was found.`);\n    }\n\n    then(constants.helper(helper, name));\n  }\n}\n/**\n * <div {{modifier}}/>\n * <div {{modifier arg}}/>\n * <Foo {{modifier}}/>\n */\n\nfunction resolveModifier(resolver, constants, meta, [, expr, then]) {\n  let type = expr[0];\n\n  if (type === 32\n  /* GetTemplateSymbol */\n  ) {\n      let {\n        scopeValues\n      } = meta;\n      let definition = scopeValues[expr[1]];\n      then(constants.modifier(definition));\n    } else if (type === 31\n  /* GetStrictFree */\n  ) {\n      let {\n        upvars\n      } = assertResolverInvariants(meta);\n      let name = upvars[expr[1]];\n      let modifier = resolver.lookupBuiltInModifier(name);\n\n      if (DEBUG && modifier === null) {\n        throw new Error(`Attempted to resolve a modifier in a strict mode template, but it was not in scope: ${name}`);\n      }\n\n      then(constants.modifier(modifier, name));\n    } else {\n    let {\n      upvars,\n      owner\n    } = assertResolverInvariants(meta);\n    let name = upvars[expr[1]];\n    let modifier = resolver.lookupModifier(name, owner);\n\n    if (DEBUG && modifier === null) {\n      throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a modifier, but nothing was found.`);\n    }\n\n    then(constants.modifier(modifier, name));\n  }\n}\n/**\n * {{component-or-helper arg}}\n */\n\nfunction resolveComponentOrHelper(resolver, constants, meta, [, expr, {\n  ifComponent,\n  ifHelper\n}]) {\n  let type = expr[0];\n\n  if (type === 32\n  /* GetTemplateSymbol */\n  ) {\n      let {\n        scopeValues,\n        owner\n      } = meta;\n      let definition = scopeValues[expr[1]];\n      let component = constants.component(definition, owner, true);\n\n      if (component !== null) {\n        ifComponent(component);\n        return;\n      }\n\n      let helper = constants.helper(definition, null, true);\n\n      if (DEBUG && helper === null) {\n        throw new Error(`Attempted to use a value as either a component or helper, but it did not have a component manager or helper manager associated with it. The value was: ${debugToString(definition)}`);\n      }\n\n      ifHelper(helper);\n    } else if (type === 31\n  /* GetStrictFree */\n  ) {\n      ifHelper(lookupBuiltInHelper(expr, resolver, meta, constants, 'component or helper'));\n    } else {\n    let {\n      upvars,\n      owner\n    } = assertResolverInvariants(meta);\n    let name = upvars[expr[1]];\n    let definition = resolver.lookupComponent(name, owner);\n\n    if (definition !== null) {\n      ifComponent(constants.resolvedComponent(definition, name));\n    } else {\n      let helper = resolver.lookupHelper(name, owner);\n\n      if (DEBUG && helper === null) {\n        throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component or helper, but nothing was found.`);\n      }\n\n      ifHelper(constants.helper(helper, name));\n    }\n  }\n}\n/**\n * <Foo @arg={{helper}}>\n */\n\nfunction resolveOptionalHelper(resolver, constants, meta, [, expr, {\n  ifHelper\n}]) {\n  let {\n    upvars,\n    owner\n  } = assertResolverInvariants(meta);\n  let name = upvars[expr[1]];\n  let helper = resolver.lookupHelper(name, owner);\n\n  if (helper) {\n    ifHelper(constants.helper(helper, name), name, meta.moduleName);\n  }\n}\n/**\n * {{maybeHelperOrComponent}}\n */\n\nfunction resolveOptionalComponentOrHelper(resolver, constants, meta, [, expr, {\n  ifComponent,\n  ifHelper,\n  ifValue\n}]) {\n  let type = expr[0];\n\n  if (type === 32\n  /* GetTemplateSymbol */\n  ) {\n      let {\n        scopeValues,\n        owner\n      } = meta;\n      let definition = scopeValues[expr[1]];\n\n      if (typeof definition !== 'function' && (typeof definition !== 'object' || definition === null)) {\n        // The value is not an object, so it can't be a component or helper.\n        ifValue(constants.value(definition));\n        return;\n      }\n\n      let component = constants.component(definition, owner, true);\n\n      if (component !== null) {\n        ifComponent(component);\n        return;\n      }\n\n      let helper = constants.helper(definition, null, true);\n\n      if (helper !== null) {\n        ifHelper(helper);\n        return;\n      }\n\n      ifValue(constants.value(definition));\n    } else if (type === 31\n  /* GetStrictFree */\n  ) {\n      ifHelper(lookupBuiltInHelper(expr, resolver, meta, constants, 'value'));\n    } else {\n    let {\n      upvars,\n      owner\n    } = assertResolverInvariants(meta);\n    let name = upvars[expr[1]];\n    let definition = resolver.lookupComponent(name, owner);\n\n    if (definition !== null) {\n      ifComponent(constants.resolvedComponent(definition, name));\n      return;\n    }\n\n    let helper = resolver.lookupHelper(name, owner);\n\n    if (helper !== null) {\n      ifHelper(constants.helper(helper, name));\n    }\n  }\n}\n\nfunction lookupBuiltInHelper(expr, resolver, meta, constants, type) {\n  let {\n    upvars\n  } = assertResolverInvariants(meta);\n  let name = upvars[expr[1]];\n  let helper = resolver.lookupBuiltInHelper(name);\n\n  if (DEBUG && helper === null) {\n    // Keyword helper did not exist, which means that we're attempting to use a\n    // value of some kind that is not in scope\n    throw new Error(`Attempted to resolve a ${type} in a strict mode template, but that value was not in scope: ${meta.upvars[expr[1]]}`);\n  }\n\n  return constants.helper(helper, name);\n}\n\nclass Compilers {\n  constructor() {\n    this.names = {};\n    this.funcs = [];\n  }\n\n  add(name, func) {\n    this.names[name] = this.funcs.push(func) - 1;\n  }\n\n  compile(op, sexp) {\n    let name = sexp[0];\n    let index = this.names[name];\n    let func = this.funcs[index];\n    func(op, sexp);\n  }\n\n}\n\nconst EXPRESSIONS = new Compilers();\nEXPRESSIONS.add(29\n/* Concat */\n, (op, [, parts]) => {\n  for (let part of parts) {\n    expr(op, part);\n  }\n\n  op(27\n  /* Concat */\n  , parts.length);\n});\nEXPRESSIONS.add(28\n/* Call */\n, (op, [, expression, positional, named]) => {\n  if (isGetFreeHelper(expression)) {\n    op(1005\n    /* ResolveHelper */\n    , expression, handle => {\n      Call(op, handle, positional, named);\n    });\n  } else {\n    expr(op, expression);\n    CallDynamic(op, positional, named);\n  }\n});\nEXPRESSIONS.add(50\n/* Curry */\n, (op, [, expr$$1, type, positional, named]) => {\n  Curry(op, type, expr$$1, positional, named);\n});\nEXPRESSIONS.add(30\n/* GetSymbol */\n, (op, [, sym, path]) => {\n  op(21\n  /* GetVariable */\n  , sym);\n  withPath(op, path);\n});\nEXPRESSIONS.add(32\n/* GetTemplateSymbol */\n, (op, [, sym, path]) => {\n  op(1011\n  /* ResolveTemplateLocal */\n  , sym, handle => {\n    op(29\n    /* ConstantReference */\n    , handle);\n    withPath(op, path);\n  });\n});\nEXPRESSIONS.add(31\n/* GetStrictFree */\n, (op, [, sym, _path]) => {\n  op(1009\n  /* ResolveFree */\n  , sym, _handle => {// TODO: Implement in strict mode\n  });\n});\nEXPRESSIONS.add(34\n/* GetFreeAsComponentOrHelperHeadOrThisFallback */\n, () => {\n  // TODO: The logic for this opcode currently exists in STATEMENTS.Append, since\n  // we want different wrapping logic depending on if we are invoking a component,\n  // helper, or {{this}} fallback. Eventually we fix the opcodes so that we can\n  // traverse the subexpression tree like normal in this location.\n  throw new Error('unimplemented opcode');\n});\nEXPRESSIONS.add(36\n/* GetFreeAsHelperHeadOrThisFallback */\n, (op, expr$$1) => {\n  // <div id={{baz}}>\n  op(1010\n  /* ResolveLocal */\n  , expr$$1[1], _name => {\n    op(1006\n    /* ResolveOptionalHelper */\n    , expr$$1, {\n      ifHelper: handle => {\n        Call(op, handle, null, null);\n      }\n    });\n  });\n});\nEXPRESSIONS.add(99\n/* GetFreeAsDeprecatedHelperHeadOrThisFallback */\n, (op, expr$$1) => {\n  // <Foo @bar={{baz}}>\n  op(1010\n  /* ResolveLocal */\n  , expr$$1[1], _name => {\n    op(1006\n    /* ResolveOptionalHelper */\n    , expr$$1, {\n      ifHelper: (handle, name, moduleName) => {\n        assert(expr$$1[2] && expr$$1[2].length === 1, '[BUG] Missing argument name');\n        let arg = expr$$1[2][0];\n        deprecate(`The \\`${name}\\` helper was used in the \\`${moduleName}\\` template as \\`${arg}={{${name}}}\\`. ` + `This is ambigious between wanting the \\`${arg}\\` argument to be the \\`${name}\\` helper itself, ` + `or the result of invoking the \\`${name}\\` helper (current behavior). ` + `This implicit invocation behavior has been deprecated.\\n\\n` + `Instead, please explicitly invoke the helper with parenthesis, i.e. \\`${arg}={{(${name})}}\\`.\\n\\n` + `Note: the parenthesis are only required in this exact scenario where an ambiguity is present – where ` + `\\`${name}\\` referes to a global helper (as opposed to a local variable), AND ` + `the \\`${name}\\` helper invocation does not take any arguments, AND ` + `this occurs in a named argument position of a component invocation.\\n\\n` + `We expect this combination to be quite rare, as most helpers require at least one argument. ` + `There is no need to refactor helper invocations in cases where this deprecation was not triggered.`, false, {\n          id: 'argument-less-helper-paren-less-invocation'\n        });\n        Call(op, handle, null, null);\n      }\n    });\n  });\n});\n\nfunction withPath(op, path) {\n  if (path === undefined || path.length === 0) return;\n\n  for (let i = 0; i < path.length; i++) {\n    op(22\n    /* GetProperty */\n    , path[i]);\n  }\n}\n\nEXPRESSIONS.add(27\n/* Undefined */\n, op => PushPrimitiveReference(op, undefined));\nEXPRESSIONS.add(48\n/* HasBlock */\n, (op, [, block]) => {\n  expr(op, block);\n  op(25\n  /* HasBlock */\n  );\n});\nEXPRESSIONS.add(49\n/* HasBlockParams */\n, (op, [, block]) => {\n  expr(op, block);\n  op(24\n  /* SpreadBlock */\n  );\n  op(61\n  /* CompileBlock */\n  );\n  op(26\n  /* HasBlockParams */\n  );\n});\nEXPRESSIONS.add(52\n/* IfInline */\n, (op, [, condition, truthy, falsy]) => {\n  // Push in reverse order\n  expr(op, falsy);\n  expr(op, truthy);\n  expr(op, condition);\n  op(109\n  /* IfInline */\n  );\n});\nEXPRESSIONS.add(51\n/* Not */\n, (op, [, value]) => {\n  expr(op, value);\n  op(110\n  /* Not */\n  );\n});\nEXPRESSIONS.add(53\n/* GetDynamicVar */\n, (op, [, expression]) => {\n  expr(op, expression);\n  op(111\n  /* GetDynamicVar */\n  );\n});\nEXPRESSIONS.add(54\n/* Log */\n, (op, [, positional]) => {\n  op(0\n  /* PushFrame */\n  );\n  SimpleArgs(op, positional, null, false);\n  op(112\n  /* Log */\n  );\n  op(1\n  /* PopFrame */\n  );\n  op(36\n  /* Fetch */\n  , $v0);\n});\n\nfunction expr(op, expression) {\n  if (Array.isArray(expression)) {\n    EXPRESSIONS.compile(op, expression);\n  } else {\n    PushPrimitive(op, expression);\n    op(31\n    /* PrimitiveReference */\n    );\n  }\n}\n\n/**\n * Compile arguments, pushing an Arguments object onto the stack.\n *\n * @param args.params\n * @param args.hash\n * @param args.blocks\n * @param args.atNames\n */\n\nfunction CompileArgs(op, positional, named, blocks, atNames) {\n  let blockNames = blocks.names;\n\n  for (let i = 0; i < blockNames.length; i++) {\n    PushYieldableBlock(op, blocks.get(blockNames[i]));\n  }\n\n  let count = CompilePositional(op, positional);\n  let flags = count << 4;\n  if (atNames) flags |= 0b1000;\n\n  if (blocks) {\n    flags |= 0b111;\n  }\n\n  let names = EMPTY_ARRAY;\n\n  if (named) {\n    names = named[0];\n    let val = named[1];\n\n    for (let i = 0; i < val.length; i++) {\n      expr(op, val[i]);\n    }\n  }\n\n  op(82\n  /* PushArgs */\n  , names, blockNames, flags);\n}\nfunction SimpleArgs(op, positional, named, atNames) {\n  if (positional === null && named === null) {\n    op(83\n    /* PushEmptyArgs */\n    );\n    return;\n  }\n\n  let count = CompilePositional(op, positional);\n  let flags = count << 4;\n  if (atNames) flags |= 0b1000;\n  let names = EMPTY_STRING_ARRAY;\n\n  if (named) {\n    names = named[0];\n    let val = named[1];\n\n    for (let i = 0; i < val.length; i++) {\n      expr(op, val[i]);\n    }\n  }\n\n  op(82\n  /* PushArgs */\n  , names, EMPTY_STRING_ARRAY, flags);\n}\n/**\n * Compile an optional list of positional arguments, which pushes each argument\n * onto the stack and returns the number of parameters compiled\n *\n * @param positional an optional list of positional arguments\n */\n\nfunction CompilePositional(op, positional) {\n  if (positional === null) return 0;\n\n  for (let i = 0; i < positional.length; i++) {\n    expr(op, positional[i]);\n  }\n\n  return positional.length;\n}\nfunction meta(layout) {\n  var _a, _b;\n\n  let [, symbols,, upvars] = layout.block;\n  return {\n    evalSymbols: evalSymbols(layout),\n    upvars: upvars,\n    scopeValues: (_b = (_a = layout.scope) === null || _a === void 0 ? void 0 : _a.call(layout)) !== null && _b !== void 0 ? _b : null,\n    isStrictMode: layout.isStrictMode,\n    moduleName: layout.moduleName,\n    owner: layout.owner,\n    size: symbols.length\n  };\n}\nfunction evalSymbols(layout) {\n  let {\n    block\n  } = layout;\n  let [, symbols, hasEval] = block;\n  return hasEval ? symbols : null;\n}\n\n/**\n * Push a reference onto the stack corresponding to a statically known primitive\n * @param value A JavaScript primitive (undefined, null, boolean, number or string)\n */\n\nfunction PushPrimitiveReference(op, value) {\n  PushPrimitive(op, value);\n  op(31\n  /* PrimitiveReference */\n  );\n}\n/**\n * Push an encoded representation of a JavaScript primitive on the stack\n *\n * @param value A JavaScript primitive (undefined, null, boolean, number or string)\n */\n\nfunction PushPrimitive(op, primitive) {\n  let p = primitive;\n\n  if (typeof p === 'number') {\n    p = isSmallInt(p) ? encodeImmediate(p) : nonSmallIntOperand(p);\n  }\n\n  op(30\n  /* Primitive */\n  , p);\n}\n/**\n * Invoke a foreign function (a \"helper\") based on a statically known handle\n *\n * @param op The op creation function\n * @param handle A handle\n * @param positional An optional list of expressions to compile\n * @param named An optional list of named arguments (name + expression) to compile\n */\n\nfunction Call(op, handle, positional, named) {\n  op(0\n  /* PushFrame */\n  );\n  SimpleArgs(op, positional, named, false);\n  op(16\n  /* Helper */\n  , handle);\n  op(1\n  /* PopFrame */\n  );\n  op(36\n  /* Fetch */\n  , $v0);\n}\n/**\n * Invoke a foreign function (a \"helper\") based on a dynamically loaded definition\n *\n * @param op The op creation function\n * @param positional An optional list of expressions to compile\n * @param named An optional list of named arguments (name + expression) to compile\n */\n\nfunction CallDynamic(op, positional, named, append) {\n  op(0\n  /* PushFrame */\n  );\n  SimpleArgs(op, positional, named, false);\n  op(33\n  /* Dup */\n  , $fp, 1);\n  op(107\n  /* DynamicHelper */\n  );\n\n  if (append) {\n    op(36\n    /* Fetch */\n    , $v0);\n    append();\n    op(1\n    /* PopFrame */\n    );\n    op(34\n    /* Pop */\n    , 1);\n  } else {\n    op(1\n    /* PopFrame */\n    );\n    op(34\n    /* Pop */\n    , 1);\n    op(36\n    /* Fetch */\n    , $v0);\n  }\n}\n/**\n * Evaluate statements in the context of new dynamic scope entries. Move entries from the\n * stack into named entries in the dynamic scope, then evaluate the statements, then pop\n * the dynamic scope\n *\n * @param names a list of dynamic scope names\n * @param block a function that returns a list of statements to evaluate\n */\n\nfunction DynamicScope(op, names, block) {\n  op(59\n  /* PushDynamicScope */\n  );\n  op(58\n  /* BindDynamicScope */\n  , names);\n  block();\n  op(60\n  /* PopDynamicScope */\n  );\n}\nfunction Curry(op, type, definition, positional, named) {\n  op(0\n  /* PushFrame */\n  );\n  SimpleArgs(op, positional, named, false);\n  op(86\n  /* CaptureArgs */\n  );\n  expr(op, definition);\n  op(77\n  /* Curry */\n  , type, isStrictMode());\n  op(1\n  /* PopFrame */\n  );\n  op(36\n  /* Fetch */\n  , $v0);\n}\n\n/**\n * Yield to a block located at a particular symbol location.\n *\n * @param to the symbol containing the block to yield to\n * @param params optional block parameters to yield to the block\n */\n\nfunction YieldBlock(op, to, positional) {\n  SimpleArgs(op, positional, null, true);\n  op(23\n  /* GetBlock */\n  , to);\n  op(24\n  /* SpreadBlock */\n  );\n  op(61\n  /* CompileBlock */\n  );\n  op(64\n  /* InvokeYield */\n  );\n  op(40\n  /* PopScope */\n  );\n  op(1\n  /* PopFrame */\n  );\n}\n/**\n * Push an (optional) yieldable block onto the stack. The yieldable block must be known\n * statically at compile time.\n *\n * @param block An optional Compilable block\n */\n\nfunction PushYieldableBlock(op, block) {\n  PushSymbolTable(op, block && block[1]);\n  op(62\n  /* PushBlockScope */\n  );\n  PushCompilable(op, block);\n}\n/**\n * Invoke a block that is known statically at compile time.\n *\n * @param block a Compilable block\n */\n\nfunction InvokeStaticBlock(op, block) {\n  op(0\n  /* PushFrame */\n  );\n  PushCompilable(op, block);\n  op(61\n  /* CompileBlock */\n  );\n  op(2\n  /* InvokeVirtual */\n  );\n  op(1\n  /* PopFrame */\n  );\n}\n/**\n * Invoke a static block, preserving some number of stack entries for use in\n * updating.\n *\n * @param block A compilable block\n * @param callerCount A number of stack entries to preserve\n */\n\nfunction InvokeStaticBlockWithStack(op, block, callerCount) {\n  let parameters = block[1];\n  let calleeCount = parameters.length;\n  let count = Math.min(callerCount, calleeCount);\n\n  if (count === 0) {\n    InvokeStaticBlock(op, block);\n    return;\n  }\n\n  op(0\n  /* PushFrame */\n  );\n\n  if (count) {\n    op(39\n    /* ChildScope */\n    );\n\n    for (let i = 0; i < count; i++) {\n      op(33\n      /* Dup */\n      , $fp, callerCount - i);\n      op(19\n      /* SetVariable */\n      , parameters[i]);\n    }\n  }\n\n  PushCompilable(op, block);\n  op(61\n  /* CompileBlock */\n  );\n  op(2\n  /* InvokeVirtual */\n  );\n\n  if (count) {\n    op(40\n    /* PopScope */\n    );\n  }\n\n  op(1\n  /* PopFrame */\n  );\n}\nfunction PushSymbolTable(op, parameters) {\n  if (parameters !== null) {\n    op(63\n    /* PushSymbolTable */\n    , symbolTableOperand({\n      parameters\n    }));\n  } else {\n    PushPrimitive(op, null);\n  }\n}\nfunction PushCompilable(op, _block) {\n  if (_block === null) {\n    PushPrimitive(op, null);\n  } else {\n    op(28\n    /* Constant */\n    , blockOperand(_block));\n  }\n}\n\nfunction SwitchCases(op, bootstrap, callback) {\n  // Setup the switch DSL\n  let clauses = [];\n  let count = 0;\n\n  function when(match, callback) {\n    clauses.push({\n      match,\n      callback,\n      label: `CLAUSE${count++}`\n    });\n  } // Call the callback\n\n\n  callback(when); // Emit the opcodes for the switch\n\n  op(69\n  /* Enter */\n  , 1);\n  bootstrap();\n  op(1001\n  /* StartLabels */\n  ); // First, emit the jump opcodes. We don't need a jump for the last\n  // opcode, since it bleeds directly into its clause.\n\n  for (let clause of clauses.slice(0, -1)) {\n    op(67\n    /* JumpEq */\n    , labelOperand(clause.label), clause.match);\n  } // Enumerate the clauses in reverse order. Earlier matches will\n  // require fewer checks.\n\n\n  for (let i = clauses.length - 1; i >= 0; i--) {\n    let clause = clauses[i];\n    op(1000\n    /* Label */\n    , clause.label);\n    op(34\n    /* Pop */\n    , 1);\n    clause.callback(); // The first match is special: it is placed directly before the END\n    // label, so no additional jump is needed at the end of it.\n\n    if (i !== 0) {\n      op(4\n      /* Jump */\n      , labelOperand('END'));\n    }\n  }\n\n  op(1000\n  /* Label */\n  , 'END');\n  op(1002\n  /* StopLabels */\n  );\n  op(70\n  /* Exit */\n  );\n}\n/**\n * A convenience for pushing some arguments on the stack and\n * running some code if the code needs to be re-executed during\n * updating execution if some of the arguments have changed.\n *\n * # Initial Execution\n *\n * The `args` function should push zero or more arguments onto\n * the stack and return the number of arguments pushed.\n *\n * The `body` function provides the instructions to execute both\n * during initial execution and during updating execution.\n *\n * Internally, this function starts by pushing a new frame, so\n * that the body can return and sets the return point ($ra) to\n * the ENDINITIAL label.\n *\n * It then executes the `args` function, which adds instructions\n * responsible for pushing the arguments for the block to the\n * stack. These arguments will be restored to the stack before\n * updating execution.\n *\n * Next, it adds the Enter opcode, which marks the current position\n * in the DOM, and remembers the current $pc (the next instruction)\n * as the first instruction to execute during updating execution.\n *\n * Next, it runs `body`, which adds the opcodes that should\n * execute both during initial execution and during updating execution.\n * If the `body` wishes to finish early, it should Jump to the\n * `FINALLY` label.\n *\n * Next, it adds the FINALLY label, followed by:\n *\n * - the Exit opcode, which finalizes the marked DOM started by the\n *   Enter opcode.\n * - the Return opcode, which returns to the current return point\n *   ($ra).\n *\n * Finally, it adds the ENDINITIAL label followed by the PopFrame\n * instruction, which restores $fp, $sp and $ra.\n *\n * # Updating Execution\n *\n * Updating execution for this `replayable` occurs if the `body` added an\n * assertion, via one of the `JumpIf`, `JumpUnless` or `AssertSame` opcodes.\n *\n * If, during updating executon, the assertion fails, the initial VM is\n * restored, and the stored arguments are pushed onto the stack. The DOM\n * between the starting and ending markers is cleared, and the VM's cursor\n * is set to the area just cleared.\n *\n * The return point ($ra) is set to -1, the exit instruction.\n *\n * Finally, the $pc is set to to the instruction saved off by the\n * Enter opcode during initial execution, and execution proceeds as\n * usual.\n *\n * The only difference is that when a `Return` instruction is\n * encountered, the program jumps to -1 rather than the END label,\n * and the PopFrame opcode is not needed.\n */\n\nfunction Replayable(op, args, body) {\n  // Start a new label frame, to give END and RETURN\n  // a unique meaning.\n  op(1001\n  /* StartLabels */\n  );\n  op(0\n  /* PushFrame */\n  ); // If the body invokes a block, its return will return to\n  // END. Otherwise, the return in RETURN will return to END.\n\n  op(6\n  /* ReturnTo */\n  , labelOperand('ENDINITIAL')); // Push the arguments onto the stack. The args() function\n  // tells us how many stack elements to retain for re-execution\n  // when updating.\n\n  let count = args(); // Start a new updating closure, remembering `count` elements\n  // from the stack. Everything after this point, and before END,\n  // will execute both initially and to update the block.\n  //\n  // The enter and exit opcodes also track the area of the DOM\n  // associated with this block. If an assertion inside the block\n  // fails (for example, the test value changes from true to false\n  // in an #if), the DOM is cleared and the program is re-executed,\n  // restoring `count` elements to the stack and executing the\n  // instructions between the enter and exit.\n\n  op(69\n  /* Enter */\n  , count); // Evaluate the body of the block. The body of the block may\n  // return, which will jump execution to END during initial\n  // execution, and exit the updating routine.\n\n  body(); // All execution paths in the body should run the FINALLY once\n  // they are done. It is executed both during initial execution\n  // and during updating execution.\n\n  op(1000\n  /* Label */\n  , 'FINALLY'); // Finalize the DOM.\n\n  op(70\n  /* Exit */\n  ); // In initial execution, this is a noop: it returns to the\n  // immediately following opcode. In updating execution, this\n  // exits the updating routine.\n\n  op(5\n  /* Return */\n  ); // Cleanup code for the block. Runs on initial execution\n  // but not on updating.\n\n  op(1000\n  /* Label */\n  , 'ENDINITIAL');\n  op(1\n  /* PopFrame */\n  );\n  op(1002\n  /* StopLabels */\n  );\n}\n/**\n * A specialized version of the `replayable` convenience that allows the\n * caller to provide different code based upon whether the item at\n * the top of the stack is true or false.\n *\n * As in `replayable`, the `ifTrue` and `ifFalse` code can invoke `return`.\n *\n * During the initial execution, a `return` will continue execution\n * in the cleanup code, which finalizes the current DOM block and pops\n * the current frame.\n *\n * During the updating execution, a `return` will exit the updating\n * routine, as it can reuse the DOM block and is always only a single\n * frame deep.\n */\n\nfunction ReplayableIf(op, args, ifTrue, ifFalse) {\n  return Replayable(op, args, () => {\n    // If the conditional is false, jump to the ELSE label.\n    op(66\n    /* JumpUnless */\n    , labelOperand('ELSE')); // Otherwise, execute the code associated with the true branch.\n\n    ifTrue(); // We're done, so return. In the initial execution, this runs\n    // the cleanup code. In the updating VM, it exits the updating\n    // routine.\n\n    op(4\n    /* Jump */\n    , labelOperand('FINALLY'));\n    op(1000\n    /* Label */\n    , 'ELSE'); // If the conditional is false, and code associatied ith the\n    // false branch was provided, execute it. If there was no code\n    // associated with the false branch, jumping to the else statement\n    // has no other behavior.\n\n    if (ifFalse !== undefined) {\n      ifFalse();\n    }\n  });\n}\n\nconst ATTRS_BLOCK = '&attrs';\nfunction InvokeComponent(op, component, _elementBlock, positional, named, _blocks) {\n  let {\n    compilable,\n    capabilities,\n    handle\n  } = component;\n  let elementBlock = _elementBlock ? [_elementBlock, []] : null;\n  let blocks = Array.isArray(_blocks) || _blocks === null ? namedBlocks(_blocks) : _blocks;\n\n  if (compilable) {\n    op(78\n    /* PushComponentDefinition */\n    , handle);\n    InvokeStaticComponent(op, {\n      capabilities: capabilities,\n      layout: compilable,\n      elementBlock,\n      positional,\n      named,\n      blocks\n    });\n  } else {\n    op(78\n    /* PushComponentDefinition */\n    , handle);\n    InvokeNonStaticComponent(op, {\n      capabilities: capabilities,\n      elementBlock,\n      positional,\n      named,\n      atNames: true,\n      blocks\n    });\n  }\n}\nfunction InvokeDynamicComponent(op, definition, _elementBlock, positional, named, _blocks, atNames, curried) {\n  let elementBlock = _elementBlock ? [_elementBlock, []] : null;\n  let blocks = Array.isArray(_blocks) || _blocks === null ? namedBlocks(_blocks) : _blocks;\n  Replayable(op, () => {\n    expr(op, definition);\n    op(33\n    /* Dup */\n    , $sp, 0);\n    return 2;\n  }, () => {\n    op(66\n    /* JumpUnless */\n    , labelOperand('ELSE'));\n\n    if (curried) {\n      op(81\n      /* ResolveCurriedComponent */\n      );\n    } else {\n      op(80\n      /* ResolveDynamicComponent */\n      , isStrictMode());\n    }\n\n    op(79\n    /* PushDynamicComponentInstance */\n    );\n    InvokeNonStaticComponent(op, {\n      capabilities: true,\n      elementBlock,\n      positional,\n      named,\n      atNames,\n      blocks\n    });\n    op(1000\n    /* Label */\n    , 'ELSE');\n  });\n}\n\nfunction InvokeStaticComponent(op, {\n  capabilities,\n  layout,\n  elementBlock,\n  positional,\n  named,\n  blocks\n}) {\n  let {\n    symbolTable\n  } = layout;\n  let bailOut = symbolTable.hasEval || hasCapability(capabilities, 4\n  /* PrepareArgs */\n  );\n\n  if (bailOut) {\n    InvokeNonStaticComponent(op, {\n      capabilities,\n      elementBlock,\n      positional,\n      named,\n      atNames: true,\n      blocks,\n      layout\n    });\n    return;\n  }\n\n  op(36\n  /* Fetch */\n  , $s0);\n  op(33\n  /* Dup */\n  , $sp, 1);\n  op(35\n  /* Load */\n  , $s0);\n  op(0\n  /* PushFrame */\n  ); // Setup arguments\n\n  let {\n    symbols\n  } = symbolTable; // As we push values onto the stack, we store the symbols associated  with them\n  // so that we can set them on the scope later on with SetVariable and SetBlock\n\n  let blockSymbols = [];\n  let argSymbols = [];\n  let argNames = []; // First we push the blocks onto the stack\n\n  let blockNames = blocks.names; // Starting with the attrs block, if it exists and is referenced in the component\n\n  if (elementBlock !== null) {\n    let symbol = symbols.indexOf(ATTRS_BLOCK);\n\n    if (symbol !== -1) {\n      PushYieldableBlock(op, elementBlock);\n      blockSymbols.push(symbol);\n    }\n  } // Followed by the other blocks, if they exist and are referenced in the component.\n  // Also store the index of the associated symbol.\n\n\n  for (let i = 0; i < blockNames.length; i++) {\n    let name = blockNames[i];\n    let symbol = symbols.indexOf(`&${name}`);\n\n    if (symbol !== -1) {\n      PushYieldableBlock(op, blocks.get(name));\n      blockSymbols.push(symbol);\n    }\n  } // Next up we have arguments. If the component has the `createArgs` capability,\n  // then it wants access to the arguments in JavaScript. We can't know whether\n  // or not an argument is used, so we have to give access to all of them.\n\n\n  if (hasCapability(capabilities, 8\n  /* CreateArgs */\n  )) {\n    // First we push positional arguments\n    let count = CompilePositional(op, positional); // setup the flags with the count of positionals, and to indicate that atNames\n    // are used\n\n    let flags = count << 4;\n    flags |= 0b1000;\n    let names = EMPTY_STRING_ARRAY; // Next, if named args exist, push them all. If they have an associated symbol\n    // in the invoked component (e.g. they are used within its template), we push\n    // that symbol. If not, we still push the expression as it may be used, and\n    // we store the symbol as -1 (this is used later).\n\n    if (named !== null) {\n      names = named[0];\n      let val = named[1];\n\n      for (let i = 0; i < val.length; i++) {\n        let symbol = symbols.indexOf(names[i]);\n        expr(op, val[i]);\n        argSymbols.push(symbol);\n      }\n    } // Finally, push the VM arguments themselves. These args won't need access\n    // to blocks (they aren't accessible from userland anyways), so we push an\n    // empty array instead of the actual block names.\n\n\n    op(82\n    /* PushArgs */\n    , names, EMPTY_STRING_ARRAY, flags); // And push an extra pop operation to remove the args before we begin setting\n    // variables on the local context\n\n    argSymbols.push(-1);\n  } else if (named !== null) {\n    // If the component does not have the `createArgs` capability, then the only\n    // expressions we need to push onto the stack are those that are actually\n    // referenced in the template of the invoked component (e.g. have symbols).\n    let names = named[0];\n    let val = named[1];\n\n    for (let i = 0; i < val.length; i++) {\n      let name = names[i];\n      let symbol = symbols.indexOf(name);\n\n      if (symbol !== -1) {\n        expr(op, val[i]);\n        argSymbols.push(symbol);\n        argNames.push(name);\n      }\n    }\n  }\n\n  op(97\n  /* BeginComponentTransaction */\n  , $s0);\n\n  if (hasCapability(capabilities, 64\n  /* DynamicScope */\n  )) {\n    op(59\n    /* PushDynamicScope */\n    );\n  }\n\n  if (hasCapability(capabilities, 512\n  /* CreateInstance */\n  )) {\n    op(87\n    /* CreateComponent */\n    , blocks.has('default') | 0, $s0);\n  }\n\n  op(88\n  /* RegisterComponentDestructor */\n  , $s0);\n\n  if (hasCapability(capabilities, 8\n  /* CreateArgs */\n  )) {\n    op(90\n    /* GetComponentSelf */\n    , $s0);\n  } else {\n    op(90\n    /* GetComponentSelf */\n    , $s0, argNames);\n  } // Setup the new root scope for the component\n\n\n  op(37\n  /* RootScope */\n  , symbols.length + 1, Object.keys(blocks).length > 0 ? 1 : 0); // Pop the self reference off the stack and set it to the symbol for `this`\n  // in the new scope. This is why all subsequent symbols are increased by one.\n\n  op(19\n  /* SetVariable */\n  , 0); // Going in reverse, now we pop the args/blocks off the stack, starting with\n  // arguments, and assign them to their symbols in the new scope.\n\n  for (let i = argSymbols.length - 1; i >= 0; i--) {\n    let symbol = argSymbols[i];\n\n    if (symbol === -1) {\n      // The expression was not bound to a local symbol, it was only pushed to be\n      // used with VM args in the javascript side\n      op(34\n      /* Pop */\n      , 1);\n    } else {\n      op(19\n      /* SetVariable */\n      , symbol + 1);\n    }\n  } // if any positional params exist, pop them off the stack as well\n\n\n  if (positional !== null) {\n    op(34\n    /* Pop */\n    , positional.length);\n  } // Finish up by popping off and assigning blocks\n\n\n  for (let i = blockSymbols.length - 1; i >= 0; i--) {\n    let symbol = blockSymbols[i];\n    op(20\n    /* SetBlock */\n    , symbol + 1);\n  }\n\n  op(28\n  /* Constant */\n  , layoutOperand(layout));\n  op(61\n  /* CompileBlock */\n  );\n  op(2\n  /* InvokeVirtual */\n  );\n  op(100\n  /* DidRenderLayout */\n  , $s0);\n  op(1\n  /* PopFrame */\n  );\n  op(40\n  /* PopScope */\n  );\n\n  if (hasCapability(capabilities, 64\n  /* DynamicScope */\n  )) {\n    op(60\n    /* PopDynamicScope */\n    );\n  }\n\n  op(98\n  /* CommitComponentTransaction */\n  );\n  op(35\n  /* Load */\n  , $s0);\n}\n\nfunction InvokeNonStaticComponent(op, {\n  capabilities,\n  elementBlock,\n  positional,\n  named,\n  atNames,\n  blocks: namedBlocks$$1,\n  layout\n}) {\n  let bindableBlocks = !!namedBlocks$$1;\n  let bindableAtNames = capabilities === true || hasCapability(capabilities, 4\n  /* PrepareArgs */\n  ) || !!(named && named[0].length !== 0);\n  let blocks = namedBlocks$$1.with('attrs', elementBlock);\n  op(36\n  /* Fetch */\n  , $s0);\n  op(33\n  /* Dup */\n  , $sp, 1);\n  op(35\n  /* Load */\n  , $s0);\n  op(0\n  /* PushFrame */\n  );\n  CompileArgs(op, positional, named, blocks, atNames);\n  op(85\n  /* PrepareArgs */\n  , $s0);\n  invokePreparedComponent(op, blocks.has('default'), bindableBlocks, bindableAtNames, () => {\n    if (layout) {\n      op(63\n      /* PushSymbolTable */\n      , symbolTableOperand(layout.symbolTable));\n      op(28\n      /* Constant */\n      , layoutOperand(layout));\n      op(61\n      /* CompileBlock */\n      );\n    } else {\n      op(92\n      /* GetComponentLayout */\n      , $s0);\n    }\n\n    op(95\n    /* PopulateLayout */\n    , $s0);\n  });\n  op(35\n  /* Load */\n  , $s0);\n}\nfunction WrappedComponent(op, layout, attrsBlockNumber) {\n  op(1001\n  /* StartLabels */\n  );\n  WithSavedRegister(op, $s1, () => {\n    op(91\n    /* GetComponentTagName */\n    , $s0);\n    op(31\n    /* PrimitiveReference */\n    );\n    op(33\n    /* Dup */\n    , $sp, 0);\n  });\n  op(66\n  /* JumpUnless */\n  , labelOperand('BODY'));\n  op(36\n  /* Fetch */\n  , $s1);\n  op(89\n  /* PutComponentOperations */\n  );\n  op(49\n  /* OpenDynamicElement */\n  );\n  op(99\n  /* DidCreateElement */\n  , $s0);\n  YieldBlock(op, attrsBlockNumber, null);\n  op(54\n  /* FlushElement */\n  );\n  op(1000\n  /* Label */\n  , 'BODY');\n  InvokeStaticBlock(op, [layout.block[0], []]);\n  op(36\n  /* Fetch */\n  , $s1);\n  op(66\n  /* JumpUnless */\n  , labelOperand('END'));\n  op(55\n  /* CloseElement */\n  );\n  op(1000\n  /* Label */\n  , 'END');\n  op(35\n  /* Load */\n  , $s1);\n  op(1002\n  /* StopLabels */\n  );\n}\nfunction invokePreparedComponent(op, hasBlock, bindableBlocks, bindableAtNames, populateLayout = null) {\n  op(97\n  /* BeginComponentTransaction */\n  , $s0);\n  op(59\n  /* PushDynamicScope */\n  );\n  op(87\n  /* CreateComponent */\n  , hasBlock | 0, $s0); // this has to run after createComponent to allow\n  // for late-bound layouts, but a caller is free\n  // to populate the layout earlier if it wants to\n  // and do nothing here.\n\n  if (populateLayout) {\n    populateLayout();\n  }\n\n  op(88\n  /* RegisterComponentDestructor */\n  , $s0);\n  op(90\n  /* GetComponentSelf */\n  , $s0);\n  op(38\n  /* VirtualRootScope */\n  , $s0);\n  op(19\n  /* SetVariable */\n  , 0);\n  op(94\n  /* SetupForEval */\n  , $s0);\n  if (bindableAtNames) op(17\n  /* SetNamedVariables */\n  , $s0);\n  if (bindableBlocks) op(18\n  /* SetBlocks */\n  , $s0);\n  op(34\n  /* Pop */\n  , 1);\n  op(96\n  /* InvokeComponentLayout */\n  , $s0);\n  op(100\n  /* DidRenderLayout */\n  , $s0);\n  op(1\n  /* PopFrame */\n  );\n  op(40\n  /* PopScope */\n  );\n  op(60\n  /* PopDynamicScope */\n  );\n  op(98\n  /* CommitComponentTransaction */\n  );\n}\nfunction InvokeBareComponent(op) {\n  op(36\n  /* Fetch */\n  , $s0);\n  op(33\n  /* Dup */\n  , $sp, 1);\n  op(35\n  /* Load */\n  , $s0);\n  op(0\n  /* PushFrame */\n  );\n  op(83\n  /* PushEmptyArgs */\n  );\n  op(85\n  /* PrepareArgs */\n  , $s0);\n  invokePreparedComponent(op, false, false, true, () => {\n    op(92\n    /* GetComponentLayout */\n    , $s0);\n    op(95\n    /* PopulateLayout */\n    , $s0);\n  });\n  op(35\n  /* Load */\n  , $s0);\n}\nfunction WithSavedRegister(op, register, block) {\n  op(36\n  /* Fetch */\n  , register);\n  block();\n  op(35\n  /* Load */\n  , register);\n}\n\nclass StdLib {\n  constructor(main, trustingGuardedAppend, cautiousGuardedAppend, trustingNonDynamicAppend, cautiousNonDynamicAppend) {\n    this.main = main;\n    this.trustingGuardedAppend = trustingGuardedAppend;\n    this.cautiousGuardedAppend = cautiousGuardedAppend;\n    this.trustingNonDynamicAppend = trustingNonDynamicAppend;\n    this.cautiousNonDynamicAppend = cautiousNonDynamicAppend;\n  }\n\n  get 'trusting-append'() {\n    return this.trustingGuardedAppend;\n  }\n\n  get 'cautious-append'() {\n    return this.cautiousGuardedAppend;\n  }\n\n  get 'trusting-non-dynamic-append'() {\n    return this.trustingNonDynamicAppend;\n  }\n\n  get 'cautious-non-dynamic-append'() {\n    return this.cautiousNonDynamicAppend;\n  }\n\n  getAppend(trusting) {\n    return trusting ? this.trustingGuardedAppend : this.cautiousGuardedAppend;\n  }\n\n}\n\nfunction programCompilationContext(artifacts, resolver) {\n  return new CompileTimeCompilationContextImpl(artifacts, resolver);\n}\nfunction templateCompilationContext(program, meta) {\n  let encoder = new EncoderImpl(program.heap, meta, program.stdlib);\n  return {\n    program,\n    encoder,\n    meta\n  };\n}\n\nlet debugCompiler;\n\nconst STATEMENTS = new Compilers();\nconst INFLATE_ATTR_TABLE = ['class', 'id', 'value', 'name', 'type', 'style', 'href'];\nconst INFLATE_TAG_TABLE = ['div', 'span', 'p', 'a'];\nfunction inflateTagName(tagName) {\n  return typeof tagName === 'string' ? tagName : INFLATE_TAG_TABLE[tagName];\n}\nfunction inflateAttrName(attrName) {\n  return typeof attrName === 'string' ? attrName : INFLATE_ATTR_TABLE[attrName];\n}\nSTATEMENTS.add(3\n/* Comment */\n, (op, sexp) => op(42\n/* Comment */\n, sexp[1]));\nSTATEMENTS.add(13\n/* CloseElement */\n, op => op(55\n/* CloseElement */\n));\nSTATEMENTS.add(12\n/* FlushElement */\n, op => op(54\n/* FlushElement */\n));\nSTATEMENTS.add(4\n/* Modifier */\n, (op, [, expression, positional, named]) => {\n  if (isGetFreeModifier(expression)) {\n    op(1003\n    /* ResolveModifier */\n    , expression, handle => {\n      op(0\n      /* PushFrame */\n      );\n      SimpleArgs(op, positional, named, false);\n      op(57\n      /* Modifier */\n      , handle);\n      op(1\n      /* PopFrame */\n      );\n    });\n  } else {\n    expr(op, expression);\n    op(0\n    /* PushFrame */\n    );\n    SimpleArgs(op, positional, named, false);\n    op(33\n    /* Dup */\n    , $fp, 1);\n    op(108\n    /* DynamicModifier */\n    );\n    op(1\n    /* PopFrame */\n    );\n  }\n});\nSTATEMENTS.add(14\n/* StaticAttr */\n, (op, [, name, value, namespace]) => {\n  op(51\n  /* StaticAttr */\n  , inflateAttrName(name), value, namespace !== null && namespace !== void 0 ? namespace : null);\n});\nSTATEMENTS.add(24\n/* StaticComponentAttr */\n, (op, [, name, value, namespace]) => {\n  op(105\n  /* StaticComponentAttr */\n  , inflateAttrName(name), value, namespace !== null && namespace !== void 0 ? namespace : null);\n});\nSTATEMENTS.add(15\n/* DynamicAttr */\n, (op, [, name, value, namespace]) => {\n  expr(op, value);\n  op(52\n  /* DynamicAttr */\n  , inflateAttrName(name), false, namespace !== null && namespace !== void 0 ? namespace : null);\n});\nSTATEMENTS.add(22\n/* TrustingDynamicAttr */\n, (op, [, name, value, namespace]) => {\n  expr(op, value);\n  op(52\n  /* DynamicAttr */\n  , inflateAttrName(name), true, namespace !== null && namespace !== void 0 ? namespace : null);\n});\nSTATEMENTS.add(16\n/* ComponentAttr */\n, (op, [, name, value, namespace]) => {\n  expr(op, value);\n  op(53\n  /* ComponentAttr */\n  , inflateAttrName(name), false, namespace !== null && namespace !== void 0 ? namespace : null);\n});\nSTATEMENTS.add(23\n/* TrustingComponentAttr */\n, (op, [, name, value, namespace]) => {\n  expr(op, value);\n  op(53\n  /* ComponentAttr */\n  , inflateAttrName(name), true, namespace !== null && namespace !== void 0 ? namespace : null);\n});\nSTATEMENTS.add(10\n/* OpenElement */\n, (op, [, tag]) => {\n  op(48\n  /* OpenElement */\n  , inflateTagName(tag));\n});\nSTATEMENTS.add(11\n/* OpenElementWithSplat */\n, (op, [, tag]) => {\n  op(89\n  /* PutComponentOperations */\n  );\n  op(48\n  /* OpenElement */\n  , inflateTagName(tag));\n});\nSTATEMENTS.add(8\n/* Component */\n, (op, [, expr$$1, elementBlock, named, blocks]) => {\n  if (isGetFreeComponent(expr$$1)) {\n    op(1004\n    /* ResolveComponent */\n    , expr$$1, component => {\n      InvokeComponent(op, component, elementBlock, null, named, blocks);\n    });\n  } else {\n    // otherwise, the component name was an expression, so resolve the expression\n    // and invoke it as a dynamic component\n    InvokeDynamicComponent(op, expr$$1, elementBlock, null, named, blocks, true, true);\n  }\n});\nSTATEMENTS.add(18\n/* Yield */\n, (op, [, to, params]) => YieldBlock(op, to, params));\nSTATEMENTS.add(17\n/* AttrSplat */\n, (op, [, to]) => YieldBlock(op, to, null));\nSTATEMENTS.add(26\n/* Debugger */\n, (op, [, evalInfo]) => op(103\n/* Debugger */\n, evalSymbolsOperand(), evalInfo));\nSTATEMENTS.add(1\n/* Append */\n, (op, [, value]) => {\n  // Special case for static values\n  if (!Array.isArray(value)) {\n    op(41\n    /* Text */\n    , value === null || value === undefined ? '' : String(value));\n  } else if (isGetFreeOptionalComponentOrHelper(value)) {\n    op(1008\n    /* ResolveOptionalComponentOrHelper */\n    , value, {\n      ifComponent(component) {\n        InvokeComponent(op, component, null, null, null, null);\n      },\n\n      ifHelper(handle) {\n        op(0\n        /* PushFrame */\n        );\n        Call(op, handle, null, null);\n        op(3\n        /* InvokeStatic */\n        , stdlibOperand('cautious-non-dynamic-append'));\n        op(1\n        /* PopFrame */\n        );\n      },\n\n      ifValue(handle) {\n        op(0\n        /* PushFrame */\n        );\n        op(29\n        /* ConstantReference */\n        , handle);\n        op(3\n        /* InvokeStatic */\n        , stdlibOperand('cautious-non-dynamic-append'));\n        op(1\n        /* PopFrame */\n        );\n      }\n\n    });\n  } else if (value[0] === 28\n  /* Call */\n  ) {\n      let [, expression, positional, named] = value;\n\n      if (isGetFreeComponentOrHelper(expression)) {\n        op(1007\n        /* ResolveComponentOrHelper */\n        , expression, {\n          ifComponent(component) {\n            InvokeComponent(op, component, null, positional, hashToArgs(named), null);\n          },\n\n          ifHelper(handle) {\n            op(0\n            /* PushFrame */\n            );\n            Call(op, handle, positional, named);\n            op(3\n            /* InvokeStatic */\n            , stdlibOperand('cautious-non-dynamic-append'));\n            op(1\n            /* PopFrame */\n            );\n          }\n\n        });\n      } else {\n        SwitchCases(op, () => {\n          expr(op, expression);\n          op(106\n          /* DynamicContentType */\n          );\n        }, when => {\n          when(0\n          /* Component */\n          , () => {\n            op(81\n            /* ResolveCurriedComponent */\n            );\n            op(79\n            /* PushDynamicComponentInstance */\n            );\n            InvokeNonStaticComponent(op, {\n              capabilities: true,\n              elementBlock: null,\n              positional,\n              named,\n              atNames: false,\n              blocks: namedBlocks(null)\n            });\n          });\n          when(1\n          /* Helper */\n          , () => {\n            CallDynamic(op, positional, named, () => {\n              op(3\n              /* InvokeStatic */\n              , stdlibOperand('cautious-non-dynamic-append'));\n            });\n          });\n        });\n      }\n    } else {\n    op(0\n    /* PushFrame */\n    );\n    expr(op, value);\n    op(3\n    /* InvokeStatic */\n    , stdlibOperand('cautious-append'));\n    op(1\n    /* PopFrame */\n    );\n  }\n});\nSTATEMENTS.add(2\n/* TrustingAppend */\n, (op, [, value]) => {\n  if (!Array.isArray(value)) {\n    op(41\n    /* Text */\n    , value === null || value === undefined ? '' : String(value));\n  } else {\n    op(0\n    /* PushFrame */\n    );\n    expr(op, value);\n    op(3\n    /* InvokeStatic */\n    , stdlibOperand('trusting-append'));\n    op(1\n    /* PopFrame */\n    );\n  }\n});\nSTATEMENTS.add(6\n/* Block */\n, (op, [, expr$$1, positional, named, blocks]) => {\n  if (isGetFreeComponent(expr$$1)) {\n    op(1004\n    /* ResolveComponent */\n    , expr$$1, component => {\n      InvokeComponent(op, component, null, positional, hashToArgs(named), blocks);\n    });\n  } else {\n    InvokeDynamicComponent(op, expr$$1, null, positional, named, blocks, false, false);\n  }\n});\nSTATEMENTS.add(40\n/* InElement */\n, (op, [, block, guid, destination, insertBefore]) => {\n  ReplayableIf(op, () => {\n    expr(op, guid);\n\n    if (insertBefore === undefined) {\n      PushPrimitiveReference(op, undefined);\n    } else {\n      expr(op, insertBefore);\n    }\n\n    expr(op, destination);\n    op(33\n    /* Dup */\n    , $sp, 0);\n    return 4;\n  }, () => {\n    op(50\n    /* PushRemoteElement */\n    );\n    InvokeStaticBlock(op, block);\n    op(56\n    /* PopRemoteElement */\n    );\n  });\n});\nSTATEMENTS.add(41\n/* If */\n, (op, [, condition, block, inverse]) => ReplayableIf(op, () => {\n  expr(op, condition);\n  op(71\n  /* ToBoolean */\n  );\n  return 1;\n}, () => {\n  InvokeStaticBlock(op, block);\n}, inverse ? () => {\n  InvokeStaticBlock(op, inverse);\n} : undefined));\nSTATEMENTS.add(42\n/* Each */\n, (op, [, value, key, block, inverse]) => Replayable(op, () => {\n  if (key) {\n    expr(op, key);\n  } else {\n    PushPrimitiveReference(op, null);\n  }\n\n  expr(op, value);\n  return 2;\n}, () => {\n  op(72\n  /* EnterList */\n  , labelOperand('BODY'), labelOperand('ELSE'));\n  op(0\n  /* PushFrame */\n  );\n  op(33\n  /* Dup */\n  , $fp, 1);\n  op(6\n  /* ReturnTo */\n  , labelOperand('ITER'));\n  op(1000\n  /* Label */\n  , 'ITER');\n  op(74\n  /* Iterate */\n  , labelOperand('BREAK'));\n  op(1000\n  /* Label */\n  , 'BODY');\n  InvokeStaticBlockWithStack(op, block, 2);\n  op(34\n  /* Pop */\n  , 2);\n  op(4\n  /* Jump */\n  , labelOperand('FINALLY'));\n  op(1000\n  /* Label */\n  , 'BREAK');\n  op(1\n  /* PopFrame */\n  );\n  op(73\n  /* ExitList */\n  );\n  op(4\n  /* Jump */\n  , labelOperand('FINALLY'));\n  op(1000\n  /* Label */\n  , 'ELSE');\n\n  if (inverse) {\n    InvokeStaticBlock(op, inverse);\n  }\n}));\nSTATEMENTS.add(43\n/* With */\n, (op, [, value, block, inverse]) => {\n  ReplayableIf(op, () => {\n    expr(op, value);\n    op(33\n    /* Dup */\n    , $sp, 0);\n    op(71\n    /* ToBoolean */\n    );\n    return 2;\n  }, () => {\n    InvokeStaticBlockWithStack(op, block, 1);\n  }, () => {\n    if (inverse) {\n      InvokeStaticBlock(op, inverse);\n    }\n  });\n});\nSTATEMENTS.add(44\n/* Let */\n, (op, [, positional, block]) => {\n  let count = CompilePositional(op, positional);\n  InvokeStaticBlockWithStack(op, block, count);\n});\nSTATEMENTS.add(45\n/* WithDynamicVars */\n, (op, [, named, block]) => {\n  if (named) {\n    let [names, expressions] = named;\n    CompilePositional(op, expressions);\n    DynamicScope(op, names, () => {\n      InvokeStaticBlock(op, block);\n    });\n  } else {\n    InvokeStaticBlock(op, block);\n  }\n});\nSTATEMENTS.add(46\n/* InvokeComponent */\n, (op, [, expr$$1, positional, named, blocks]) => {\n  if (isGetFreeComponent(expr$$1)) {\n    op(1004\n    /* ResolveComponent */\n    , expr$$1, component => {\n      InvokeComponent(op, component, null, positional, hashToArgs(named), blocks);\n    });\n  } else {\n    InvokeDynamicComponent(op, expr$$1, null, positional, named, blocks, false, false);\n  }\n});\n\nfunction hashToArgs(hash) {\n  if (hash === null) return null;\n  let names = hash[0].map(key => `@${key}`);\n  return [names, hash[1]];\n}\n\nconst PLACEHOLDER_HANDLE = -1;\n\nclass CompilableTemplateImpl {\n  constructor(statements, meta$$1, // Part of CompilableTemplate\n  symbolTable, // Used for debugging\n  moduleName = 'plain block') {\n    this.statements = statements;\n    this.meta = meta$$1;\n    this.symbolTable = symbolTable;\n    this.moduleName = moduleName;\n    this.compiled = null;\n  } // Part of CompilableTemplate\n\n\n  compile(context) {\n    return maybeCompile(this, context);\n  }\n\n}\n\nfunction compilable(layout, moduleName) {\n  let [statements, symbols, hasEval] = layout.block;\n  return new CompilableTemplateImpl(statements, meta(layout), {\n    symbols,\n    hasEval\n  }, moduleName);\n}\n\nfunction maybeCompile(compilable, context) {\n  if (compilable.compiled !== null) return compilable.compiled;\n  compilable.compiled = PLACEHOLDER_HANDLE;\n  let {\n    statements,\n    meta: meta$$1\n  } = compilable;\n  let result = compileStatements(statements, meta$$1, context);\n  compilable.compiled = result;\n  return result;\n}\n\nfunction compileStatements(statements, meta$$1, syntaxContext) {\n  let sCompiler = STATEMENTS;\n  let context = templateCompilationContext(syntaxContext, meta$$1);\n  let {\n    encoder,\n    program: {\n      constants,\n      resolver\n    }\n  } = context;\n\n  function pushOp(...op) {\n    encodeOp(encoder, constants, resolver, meta$$1, op);\n  }\n\n  for (let i = 0; i < statements.length; i++) {\n    sCompiler.compile(pushOp, statements[i]);\n  }\n\n  let handle = context.encoder.commit(meta$$1.size);\n\n  return handle;\n}\nfunction compilableBlock(block, containing) {\n  return new CompilableTemplateImpl(block[0], containing, {\n    parameters: block[1] || EMPTY_ARRAY\n  });\n}\n\nclass Labels {\n  constructor() {\n    this.labels = dict();\n    this.targets = [];\n  }\n\n  label(name, index) {\n    this.labels[name] = index;\n  }\n\n  target(at, target) {\n    this.targets.push({\n      at,\n      target\n    });\n  }\n\n  patch(heap) {\n    let {\n      targets,\n      labels\n    } = this;\n\n    for (let i = 0; i < targets.length; i++) {\n      let {\n        at,\n        target\n      } = targets[i];\n      let address = labels[target] - at;\n      heap.setbyaddr(at, address);\n    }\n  }\n\n}\nfunction encodeOp(encoder, constants, resolver, meta, op) {\n  if (isBuilderOpcode(op[0])) {\n    let [type, ...operands] = op;\n    encoder.push(constants, type, ...operands);\n  } else {\n    switch (op[0]) {\n      case 1000\n      /* Label */\n      :\n        return encoder.label(op[1]);\n\n      case 1001\n      /* StartLabels */\n      :\n        return encoder.startLabels();\n\n      case 1002\n      /* StopLabels */\n      :\n        return encoder.stopLabels();\n\n      case 1004\n      /* ResolveComponent */\n      :\n        return resolveComponent(resolver, constants, meta, op);\n\n      case 1003\n      /* ResolveModifier */\n      :\n        return resolveModifier(resolver, constants, meta, op);\n\n      case 1005\n      /* ResolveHelper */\n      :\n        return resolveHelper(resolver, constants, meta, op);\n\n      case 1007\n      /* ResolveComponentOrHelper */\n      :\n        return resolveComponentOrHelper(resolver, constants, meta, op);\n\n      case 1006\n      /* ResolveOptionalHelper */\n      :\n        return resolveOptionalHelper(resolver, constants, meta, op);\n\n      case 1008\n      /* ResolveOptionalComponentOrHelper */\n      :\n        return resolveOptionalComponentOrHelper(resolver, constants, meta, op);\n\n      case 1010\n      /* ResolveLocal */\n      :\n        let freeVar = op[1];\n        let name = meta.upvars[freeVar];\n        let andThen = op[2];\n        andThen(name, meta.moduleName);\n        break;\n\n      case 1011\n      /* ResolveTemplateLocal */\n      :\n        let [, valueIndex, then] = op;\n        let value = meta.scopeValues[valueIndex];\n        then(constants.value(value));\n        break;\n\n      case 1009\n      /* ResolveFree */\n      :\n        if (DEBUG) {\n          let [, upvarIndex] = op;\n          let freeName = meta.upvars[upvarIndex];\n          throw new Error(`Attempted to resolve a value in a strict mode template, but that value was not in scope: ${freeName}`);\n        }\n\n        break;\n\n      default:\n        throw new Error(`Unexpected high level opcode ${op[0]}`);\n    }\n  }\n}\nclass EncoderImpl {\n  constructor(heap, meta, stdlib) {\n    this.heap = heap;\n    this.meta = meta;\n    this.stdlib = stdlib;\n    this.labelsStack = new Stack();\n    this.encoder = new InstructionEncoderImpl([]);\n    this.errors = [];\n    this.handle = heap.malloc();\n  }\n\n  error(error) {\n    this.encoder.encode(30\n    /* Primitive */\n    , 0);\n    this.errors.push(error);\n  }\n\n  commit(size) {\n    let handle = this.handle;\n    this.heap.push(5\n    /* Return */\n    | 1024\n    /* MACHINE_MASK */\n    );\n    this.heap.finishMalloc(handle, size);\n\n    if (this.errors.length) {\n      return {\n        errors: this.errors,\n        handle\n      };\n    } else {\n      return handle;\n    }\n  }\n\n  push(constants, type, ...args) {\n    let {\n      heap\n    } = this;\n\n    if (DEBUG && type > 255\n    /* TYPE_SIZE */\n    ) {\n        throw new Error(`Opcode type over 8-bits. Got ${type}.`);\n      }\n\n    let machine = isMachineOp(type) ? 1024\n    /* MACHINE_MASK */\n    : 0;\n    let first = type | machine | args.length << 8\n    /* ARG_SHIFT */\n    ;\n    heap.push(first);\n\n    for (let i = 0; i < args.length; i++) {\n      let op = args[i];\n      heap.push(this.operand(constants, op));\n    }\n  }\n\n  operand(constants, operand) {\n    if (typeof operand === 'number') {\n      return operand;\n    }\n\n    if (typeof operand === 'object' && operand !== null) {\n      if (Array.isArray(operand)) {\n        return encodeHandle(constants.array(operand));\n      } else {\n        switch (operand.type) {\n          case 1\n          /* Label */\n          :\n            this.currentLabels.target(this.heap.offset, operand.value);\n            return -1;\n\n          case 2\n          /* IsStrictMode */\n          :\n            return encodeHandle(constants.value(this.meta.isStrictMode));\n\n          case 3\n          /* EvalSymbols */\n          :\n            return encodeHandle(constants.array(this.meta.evalSymbols || EMPTY_STRING_ARRAY));\n\n          case 4\n          /* Block */\n          :\n            return encodeHandle(constants.value(compilableBlock(operand.value, this.meta)));\n\n          case 5\n          /* StdLib */\n          :\n            return this.stdlib[operand.value];\n\n          case 6\n          /* NonSmallInt */\n          :\n          case 7\n          /* SymbolTable */\n          :\n          case 8\n          /* Layout */\n          :\n            return constants.value(operand.value);\n        }\n      }\n    }\n\n    return encodeHandle(constants.value(operand));\n  }\n\n  get currentLabels() {\n    return this.labelsStack.current;\n  }\n\n  label(name) {\n    this.currentLabels.label(name, this.heap.offset + 1);\n  }\n\n  startLabels() {\n    this.labelsStack.push(new Labels());\n  }\n\n  stopLabels() {\n    let label = this.labelsStack.pop();\n    label.patch(this.heap);\n  }\n\n}\n\nfunction isBuilderOpcode(op) {\n  return op < 1000\n  /* Start */\n  ;\n}\n\nfunction main(op) {\n  op(75\n  /* Main */\n  , $s0);\n  invokePreparedComponent(op, false, false, true);\n}\n/**\n * Append content to the DOM. This standard function triages content and does the\n * right thing based upon whether it's a string, safe string, component, fragment\n * or node.\n *\n * @param trusting whether to interpolate a string as raw HTML (corresponds to\n * triple curlies)\n */\n\nfunction StdAppend(op, trusting, nonDynamicAppend) {\n  SwitchCases(op, () => op(76\n  /* ContentType */\n  ), when => {\n    when(2\n    /* String */\n    , () => {\n      if (trusting) {\n        op(68\n        /* AssertSame */\n        );\n        op(43\n        /* AppendHTML */\n        );\n      } else {\n        op(47\n        /* AppendText */\n        );\n      }\n    });\n\n    if (typeof nonDynamicAppend === 'number') {\n      when(0\n      /* Component */\n      , () => {\n        op(81\n        /* ResolveCurriedComponent */\n        );\n        op(79\n        /* PushDynamicComponentInstance */\n        );\n        InvokeBareComponent(op);\n      });\n      when(1\n      /* Helper */\n      , () => {\n        CallDynamic(op, null, null, () => {\n          op(3\n          /* InvokeStatic */\n          , nonDynamicAppend);\n        });\n      });\n    } else {\n      // when non-dynamic, we can no longer call the value (potentially because we've already called it)\n      // this prevents infinite loops. We instead coerce the value, whatever it is, into the DOM.\n      when(0\n      /* Component */\n      , () => {\n        op(47\n        /* AppendText */\n        );\n      });\n      when(1\n      /* Helper */\n      , () => {\n        op(47\n        /* AppendText */\n        );\n      });\n    }\n\n    when(4\n    /* SafeString */\n    , () => {\n      op(68\n      /* AssertSame */\n      );\n      op(44\n      /* AppendSafeHTML */\n      );\n    });\n    when(5\n    /* Fragment */\n    , () => {\n      op(68\n      /* AssertSame */\n      );\n      op(45\n      /* AppendDocumentFragment */\n      );\n    });\n    when(6\n    /* Node */\n    , () => {\n      op(68\n      /* AssertSame */\n      );\n      op(46\n      /* AppendNode */\n      );\n    });\n  });\n}\nfunction compileStd(context) {\n  let mainHandle = build(context, op => main(op));\n  let trustingGuardedNonDynamicAppend = build(context, op => StdAppend(op, true, null));\n  let cautiousGuardedNonDynamicAppend = build(context, op => StdAppend(op, false, null));\n  let trustingGuardedDynamicAppend = build(context, op => StdAppend(op, true, trustingGuardedNonDynamicAppend));\n  let cautiousGuardedDynamicAppend = build(context, op => StdAppend(op, false, cautiousGuardedNonDynamicAppend));\n  return new StdLib(mainHandle, trustingGuardedDynamicAppend, cautiousGuardedDynamicAppend, trustingGuardedNonDynamicAppend, cautiousGuardedNonDynamicAppend);\n}\nconst STDLIB_META = {\n  evalSymbols: null,\n  upvars: null,\n  moduleName: 'stdlib',\n  // TODO: ??\n  scopeValues: null,\n  isStrictMode: true,\n  owner: null,\n  size: 0\n};\n\nfunction build(program, callback) {\n  let {\n    constants,\n    heap,\n    resolver\n  } = program;\n  let encoder = new EncoderImpl(heap, STDLIB_META);\n\n  function pushOp(...op) {\n    encodeOp(encoder, constants, resolver, STDLIB_META, op);\n  }\n\n  callback(pushOp);\n  let result = encoder.commit(0);\n\n  if (typeof result !== 'number') {\n    // This shouldn't be possible\n    throw new Error(`Unexpected errors compiling std`);\n  } else {\n    return result;\n  }\n}\n\nclass CompileTimeCompilationContextImpl {\n  constructor({\n    constants,\n    heap\n  }, resolver) {\n    this.resolver = resolver;\n    this.constants = constants;\n    this.heap = heap;\n    this.stdlib = compileStd(this);\n  }\n\n}\n\nconst DEFAULT_CAPABILITIES = {\n  dynamicLayout: true,\n  dynamicTag: true,\n  prepareArgs: true,\n  createArgs: true,\n  attributeHook: false,\n  elementHook: false,\n  dynamicScope: true,\n  createCaller: false,\n  updateHook: true,\n  createInstance: true,\n  wrapped: false,\n  willDestroy: false,\n  hasSubOwner: false\n};\nconst MINIMAL_CAPABILITIES = {\n  dynamicLayout: false,\n  dynamicTag: false,\n  prepareArgs: false,\n  createArgs: false,\n  attributeHook: false,\n  elementHook: false,\n  dynamicScope: false,\n  createCaller: false,\n  updateHook: false,\n  createInstance: false,\n  wrapped: false,\n  willDestroy: false,\n  hasSubOwner: false\n};\n\nclass WrappedBuilder {\n  constructor(layout, moduleName) {\n    this.layout = layout;\n    this.moduleName = moduleName;\n    this.compiled = null;\n    let {\n      block\n    } = layout;\n    let [, symbols, hasEval] = block;\n    symbols = symbols.slice(); // ensure ATTRS_BLOCK is always included (only once) in the list of symbols\n\n    let attrsBlockIndex = symbols.indexOf(ATTRS_BLOCK);\n\n    if (attrsBlockIndex === -1) {\n      this.attrsBlockNumber = symbols.push(ATTRS_BLOCK);\n    } else {\n      this.attrsBlockNumber = attrsBlockIndex + 1;\n    }\n\n    this.symbolTable = {\n      hasEval,\n      symbols\n    };\n  }\n\n  compile(syntax) {\n    if (this.compiled !== null) return this.compiled;\n    let m = meta(this.layout);\n    let context = templateCompilationContext(syntax, m);\n    let {\n      encoder,\n      program: {\n        constants,\n        resolver\n      }\n    } = context;\n\n    function pushOp(...op) {\n      encodeOp(encoder, constants, resolver, m, op);\n    }\n\n    WrappedComponent(pushOp, this.layout, this.attrsBlockNumber);\n    let handle = context.encoder.commit(m.size);\n\n    if (typeof handle !== 'number') {\n      return handle;\n    }\n\n    this.compiled = handle;\n\n    return handle;\n  }\n\n}\n\nlet clientId = 0;\nlet templateCacheCounters = {\n  cacheHit: 0,\n  cacheMiss: 0\n};\n/**\n * Wraps a template js in a template module to change it into a factory\n * that handles lazy parsing the template and to create per env singletons\n * of the template.\n */\n\nfunction templateFactory({\n  id: templateId,\n  moduleName,\n  block,\n  scope,\n  isStrictMode\n}) {\n  // TODO(template-refactors): This should be removed in the near future, as it\n  // appears that id is unused. It is currently kept for backwards compat reasons.\n  let id = templateId || `client-${clientId++}`; // TODO: This caches JSON serialized output once in case a template is\n  // compiled by multiple owners, but we haven't verified if this is actually\n  // helpful. We should benchmark this in the future.\n\n  let parsedBlock;\n  let ownerlessTemplate = null;\n  let templateCache = new WeakMap();\n\n  let factory = owner => {\n    if (parsedBlock === undefined) {\n      parsedBlock = JSON.parse(block);\n    }\n\n    if (owner === undefined) {\n      if (ownerlessTemplate === null) {\n        templateCacheCounters.cacheMiss++;\n        ownerlessTemplate = new TemplateImpl({\n          id,\n          block: parsedBlock,\n          moduleName,\n          owner: null,\n          scope,\n          isStrictMode\n        });\n      } else {\n        templateCacheCounters.cacheHit++;\n      }\n\n      return ownerlessTemplate;\n    }\n\n    let result = templateCache.get(owner);\n\n    if (result === undefined) {\n      templateCacheCounters.cacheMiss++;\n      result = new TemplateImpl({\n        id,\n        block: parsedBlock,\n        moduleName,\n        owner,\n        scope,\n        isStrictMode\n      });\n      templateCache.set(owner, result);\n    } else {\n      templateCacheCounters.cacheHit++;\n    }\n\n    return result;\n  };\n\n  factory.__id = id;\n  factory.__meta = {\n    moduleName\n  };\n  return factory;\n}\n\nclass TemplateImpl {\n  constructor(parsedLayout) {\n    this.parsedLayout = parsedLayout;\n    this.result = 'ok';\n    this.layout = null;\n    this.wrappedLayout = null;\n  }\n\n  get moduleName() {\n    return this.parsedLayout.moduleName;\n  }\n\n  get id() {\n    return this.parsedLayout.id;\n  } // TODO(template-refactors): This should be removed in the near future, it is\n  // only being exposed for backwards compatibility\n\n\n  get referrer() {\n    return {\n      moduleName: this.parsedLayout.moduleName,\n      owner: this.parsedLayout.owner\n    };\n  }\n\n  asLayout() {\n    if (this.layout) return this.layout;\n    return this.layout = compilable(assign({}, this.parsedLayout), this.moduleName);\n  }\n\n  asWrappedLayout() {\n    if (this.wrappedLayout) return this.wrappedLayout;\n    return this.wrappedLayout = new WrappedBuilder(assign({}, this.parsedLayout), this.moduleName);\n  }\n\n}\n\nexport { debugCompiler, compileStatements, compilable, InvokeStaticBlockWithStack as invokeStaticBlockWithStack, InvokeStaticBlock as invokeStaticBlock, compileStd, meta, StdLib, templateFactory, templateCacheCounters, WrappedBuilder, EMPTY_BLOCKS, CompileTimeCompilationContextImpl, programCompilationContext, templateCompilationContext, DEFAULT_CAPABILITIES, MINIMAL_CAPABILITIES };\n","import { symbol } from '@glimmer/util';\n\nconst OWNER = symbol('OWNER');\n/**\n  Framework objects in a Glimmer application may receive an owner object.\n  Glimmer is unopinionated about this owner, but will forward it through its\n  internal resolution system, and through its managers if it is provided.\n*/\n\nfunction getOwner(object) {\n  return object[OWNER];\n}\n/**\n  `setOwner` set's an object's owner\n*/\n\nfunction setOwner(object, owner) {\n  object[OWNER] = owner;\n}\n\nexport { OWNER, getOwner, setOwner };\n","import { constants, unwrapTemplate } from '@glimmer/util';\nimport { capabilityFlagsFrom, getComponentTemplate, getInternalComponentManager, getInternalHelperManager, getInternalModifierManager, managerHasCapability } from '@glimmer/manager';\nimport { templateFactory } from '@glimmer/opcode-compiler';\n\n/**\n * Default component template, which is a plain yield\n */\nconst DEFAULT_TEMPLATE_BLOCK = [[[18\n/* Yield */\n, 1, null]], ['&default'], false, []];\nconst DEFAULT_TEMPLATE = {\n  // random uuid\n  id: '1b32f5c2-7623-43d6-a0ad-9672898920a1',\n  moduleName: '__default__.hbs',\n  block: JSON.stringify(DEFAULT_TEMPLATE_BLOCK),\n  scope: null,\n  isStrictMode: true\n};\n\nconst WELL_KNOWN_EMPTY_ARRAY = Object.freeze([]);\nconst STARTER_CONSTANTS = constants(WELL_KNOWN_EMPTY_ARRAY);\nconst WELL_KNOWN_EMPTY_ARRAY_POSITION = STARTER_CONSTANTS.indexOf(WELL_KNOWN_EMPTY_ARRAY);\nclass CompileTimeConstantImpl {\n  constructor() {\n    // `0` means NULL\n    this.values = STARTER_CONSTANTS.slice();\n    this.indexMap = new Map(this.values.map((value, index) => [value, index]));\n  }\n\n  value(value) {\n    let indexMap = this.indexMap;\n    let index = indexMap.get(value);\n\n    if (index === undefined) {\n      index = this.values.push(value) - 1;\n      indexMap.set(value, index);\n    }\n\n    return index;\n  }\n\n  array(values) {\n    if (values.length === 0) {\n      return WELL_KNOWN_EMPTY_ARRAY_POSITION;\n    }\n\n    let handles = new Array(values.length);\n\n    for (let i = 0; i < values.length; i++) {\n      handles[i] = this.value(values[i]);\n    }\n\n    return this.value(handles);\n  }\n\n  toPool() {\n    return this.values;\n  }\n\n}\nclass RuntimeConstantsImpl {\n  constructor(pool) {\n    this.values = pool;\n  }\n\n  getValue(handle) {\n    return this.values[handle];\n  }\n\n  getArray(value) {\n    let handles = this.getValue(value);\n    let reified = new Array(handles.length);\n\n    for (let i = 0; i < handles.length; i++) {\n      let n = handles[i];\n      reified[i] = this.getValue(n);\n    }\n\n    return reified;\n  }\n\n}\nclass ConstantsImpl extends CompileTimeConstantImpl {\n  constructor() {\n    super(...arguments);\n    this.reifiedArrs = {\n      [WELL_KNOWN_EMPTY_ARRAY_POSITION]: WELL_KNOWN_EMPTY_ARRAY\n    };\n    this.defaultTemplate = templateFactory(DEFAULT_TEMPLATE)(); // Used for tests and debugging purposes, and to be able to analyze large apps\n    // This is why it's enabled even in production\n\n    this.helperDefinitionCount = 0;\n    this.modifierDefinitionCount = 0;\n    this.componentDefinitionCount = 0;\n    this.helperDefinitionCache = new WeakMap();\n    this.modifierDefinitionCache = new WeakMap();\n    this.componentDefinitionCache = new WeakMap();\n  }\n\n  helper(definitionState, // TODO: Add a way to expose resolved name for debugging\n  _resolvedName = null, isOptional) {\n    let handle = this.helperDefinitionCache.get(definitionState);\n\n    if (handle === undefined) {\n      let managerOrHelper = getInternalHelperManager(definitionState, isOptional);\n\n      if (managerOrHelper === null) {\n        this.helperDefinitionCache.set(definitionState, null);\n        return null;\n      }\n      let helper = typeof managerOrHelper === 'function' ? managerOrHelper : managerOrHelper.getHelper(definitionState);\n      handle = this.value(helper);\n      this.helperDefinitionCache.set(definitionState, handle);\n      this.helperDefinitionCount++;\n    }\n\n    return handle;\n  }\n\n  modifier(definitionState, resolvedName = null, isOptional) {\n    let handle = this.modifierDefinitionCache.get(definitionState);\n\n    if (handle === undefined) {\n      let manager = getInternalModifierManager(definitionState, isOptional);\n\n      if (manager === null) {\n        this.modifierDefinitionCache.set(definitionState, null);\n        return null;\n      }\n\n      let definition = {\n        resolvedName,\n        manager,\n        state: definitionState\n      };\n      handle = this.value(definition);\n      this.modifierDefinitionCache.set(definitionState, handle);\n      this.modifierDefinitionCount++;\n    }\n\n    return handle;\n  }\n\n  component(definitionState, owner, isOptional) {\n    var _a;\n\n    let definition = this.componentDefinitionCache.get(definitionState);\n\n    if (definition === undefined) {\n      let manager = getInternalComponentManager(definitionState, isOptional);\n\n      if (manager === null) {\n        this.componentDefinitionCache.set(definitionState, null);\n        return null;\n      }\n      let capabilities = capabilityFlagsFrom(manager.getCapabilities(definitionState));\n      let templateFactory$$1 = getComponentTemplate(definitionState);\n      let compilable = null;\n      let template;\n\n      if (!managerHasCapability(manager, capabilities, 1\n      /* DynamicLayout */\n      )) {\n        template = (_a = templateFactory$$1 === null || templateFactory$$1 === void 0 ? void 0 : templateFactory$$1(owner)) !== null && _a !== void 0 ? _a : this.defaultTemplate;\n      } else {\n        template = templateFactory$$1 === null || templateFactory$$1 === void 0 ? void 0 : templateFactory$$1(owner);\n      }\n\n      if (template !== undefined) {\n        template = unwrapTemplate(template);\n        compilable = managerHasCapability(manager, capabilities, 1024\n        /* Wrapped */\n        ) ? template.asWrappedLayout() : template.asLayout();\n      }\n\n      definition = {\n        resolvedName: null,\n        handle: -1,\n        manager,\n        capabilities,\n        state: definitionState,\n        compilable\n      };\n      definition.handle = this.value(definition);\n      this.componentDefinitionCache.set(definitionState, definition);\n      this.componentDefinitionCount++;\n    }\n\n    return definition;\n  }\n\n  resolvedComponent(resolvedDefinition, resolvedName) {\n    let definition = this.componentDefinitionCache.get(resolvedDefinition);\n\n    if (definition === undefined) {\n      let {\n        manager,\n        state,\n        template\n      } = resolvedDefinition;\n      let capabilities = capabilityFlagsFrom(manager.getCapabilities(resolvedDefinition));\n      let compilable = null;\n\n      if (!managerHasCapability(manager, capabilities, 1\n      /* DynamicLayout */\n      )) {\n        template = template !== null && template !== void 0 ? template : this.defaultTemplate;\n      }\n\n      if (template !== null) {\n        template = unwrapTemplate(template);\n        compilable = managerHasCapability(manager, capabilities, 1024\n        /* Wrapped */\n        ) ? template.asWrappedLayout() : template.asLayout();\n      }\n\n      definition = {\n        resolvedName,\n        handle: -1,\n        manager,\n        capabilities,\n        state,\n        compilable\n      };\n      definition.handle = this.value(definition);\n      this.componentDefinitionCache.set(resolvedDefinition, definition);\n      this.componentDefinitionCount++;\n    }\n\n    return definition;\n  }\n\n  getValue(index) {\n    return this.values[index];\n  }\n\n  getArray(index) {\n    let reifiedArrs = this.reifiedArrs;\n    let reified = reifiedArrs[index];\n\n    if (reified === undefined) {\n      let names = this.getValue(index);\n      reified = new Array(names.length);\n\n      for (let i = 0; i < names.length; i++) {\n        reified[i] = this.getValue(names[i]);\n      }\n\n      reifiedArrs[index] = reified;\n    }\n\n    return reified;\n  }\n\n}\n\nclass RuntimeOpImpl {\n  constructor(heap) {\n    this.heap = heap;\n    this.offset = 0;\n  }\n\n  get size() {\n    let rawType = this.heap.getbyaddr(this.offset);\n    return ((rawType & 768\n    /* OPERAND_LEN_MASK */\n    ) >> 8\n    /* ARG_SHIFT */\n    ) + 1;\n  }\n\n  get isMachine() {\n    let rawType = this.heap.getbyaddr(this.offset);\n    return rawType & 1024\n    /* MACHINE_MASK */\n    ? 1 : 0;\n  }\n\n  get type() {\n    return this.heap.getbyaddr(this.offset) & 255\n    /* TYPE_MASK */\n    ;\n  }\n\n  get op1() {\n    return this.heap.getbyaddr(this.offset + 1);\n  }\n\n  get op2() {\n    return this.heap.getbyaddr(this.offset + 2);\n  }\n\n  get op3() {\n    return this.heap.getbyaddr(this.offset + 3);\n  }\n\n}\n\nconst PAGE_SIZE = 0x100000;\nclass RuntimeHeapImpl {\n  constructor(serializedHeap) {\n    let {\n      buffer,\n      table\n    } = serializedHeap;\n    this.heap = new Int32Array(buffer);\n    this.table = table;\n  } // It is illegal to close over this address, as compaction\n  // may move it. However, it is legal to use this address\n  // multiple times between compactions.\n\n\n  getaddr(handle) {\n    return this.table[handle];\n  }\n\n  getbyaddr(address) {\n    return this.heap[address];\n  }\n\n  sizeof(handle) {\n    return sizeof(this.table, handle);\n  }\n\n}\nfunction hydrateHeap(serializedHeap) {\n  return new RuntimeHeapImpl(serializedHeap);\n}\n/**\n * The Heap is responsible for dynamically allocating\n * memory in which we read/write the VM's instructions\n * from/to. When we malloc we pass out a VMHandle, which\n * is used as an indirect way of accessing the memory during\n * execution of the VM. Internally we track the different\n * regions of the memory in an int array known as the table.\n *\n * The table 32-bit aligned and has the following layout:\n *\n * | ... | hp (u32) |       info (u32)   | size (u32) |\n * | ... |  Handle  | Scope Size | State | Size       |\n * | ... | 32bits   | 30bits     | 2bits | 32bit      |\n *\n * With this information we effectively have the ability to\n * control when we want to free memory. That being said you\n * can not free during execution as raw address are only\n * valid during the execution. This means you cannot close\n * over them as you will have a bad memory access exception.\n */\n\nclass HeapImpl {\n  constructor() {\n    this.offset = 0;\n    this.handle = 0;\n    this.heap = new Int32Array(PAGE_SIZE);\n    this.handleTable = [];\n    this.handleState = [];\n  }\n\n  push(item) {\n    this.sizeCheck();\n    this.heap[this.offset++] = item;\n  }\n\n  sizeCheck() {\n    let {\n      heap\n    } = this;\n\n    if (this.offset === this.heap.length) {\n      let newHeap = new Int32Array(heap.length + PAGE_SIZE);\n      newHeap.set(heap, 0);\n      this.heap = newHeap;\n    }\n  }\n\n  getbyaddr(address) {\n    return this.heap[address];\n  }\n\n  setbyaddr(address, value) {\n    this.heap[address] = value;\n  }\n\n  malloc() {\n    // push offset, info, size\n    this.handleTable.push(this.offset);\n    return this.handleTable.length - 1;\n  }\n\n  finishMalloc(handle) {\n  }\n\n  size() {\n    return this.offset;\n  } // It is illegal to close over this address, as compaction\n  // may move it. However, it is legal to use this address\n  // multiple times between compactions.\n\n\n  getaddr(handle) {\n    return this.handleTable[handle];\n  }\n\n  sizeof(handle) {\n    return sizeof(this.handleTable, handle);\n  }\n\n  free(handle) {\n    this.handleState[handle] = 1\n    /* Freed */\n    ;\n  }\n  /**\n   * The heap uses the [Mark-Compact Algorithm](https://en.wikipedia.org/wiki/Mark-compact_algorithm) to shift\n   * reachable memory to the bottom of the heap and freeable\n   * memory to the top of the heap. When we have shifted all\n   * the reachable memory to the top of the heap, we move the\n   * offset to the next free position.\n   */\n\n\n  compact() {\n    let compactedSize = 0;\n    let {\n      handleTable,\n      handleState,\n      heap\n    } = this;\n\n    for (let i = 0; i < length; i++) {\n      let offset = handleTable[i];\n      let size = handleTable[i + 1] - offset;\n      let state = handleState[i];\n\n      if (state === 2\n      /* Purged */\n      ) {\n          continue;\n        } else if (state === 1\n      /* Freed */\n      ) {\n          // transition to \"already freed\" aka \"purged\"\n          // a good improvement would be to reuse\n          // these slots\n          handleState[i] = 2\n          /* Purged */\n          ;\n          compactedSize += size;\n        } else if (state === 0\n      /* Allocated */\n      ) {\n          for (let j = offset; j <= i + size; j++) {\n            heap[j - compactedSize] = heap[j];\n          }\n\n          handleTable[i] = offset - compactedSize;\n        } else if (state === 3\n      /* Pointer */\n      ) {\n          handleTable[i] = offset - compactedSize;\n        }\n    }\n\n    this.offset = this.offset - compactedSize;\n  }\n\n  capture(offset = this.offset) {\n    // Only called in eager mode\n    let buffer = slice(this.heap, 0, offset).buffer;\n    return {\n      handle: this.handle,\n      table: this.handleTable,\n      buffer: buffer\n    };\n  }\n\n}\nclass RuntimeProgramImpl {\n  constructor(constants$$1, heap) {\n    this.constants = constants$$1;\n    this.heap = heap;\n    this._opcode = new RuntimeOpImpl(this.heap);\n  }\n\n  opcode(offset) {\n    this._opcode.offset = offset;\n    return this._opcode;\n  }\n\n}\n\nfunction slice(arr, start, end) {\n  if (arr.slice !== undefined) {\n    return arr.slice(start, end);\n  }\n\n  let ret = new Int32Array(end);\n\n  for (; start < end; start++) {\n    ret[start] = arr[start];\n  }\n\n  return ret;\n}\n\nfunction sizeof(table, handle) {\n  {\n    return -1;\n  }\n}\n\nfunction artifacts() {\n  return {\n    constants: new ConstantsImpl(),\n    heap: new HeapImpl()\n  };\n}\n\nexport { CompileTimeConstantImpl, RuntimeConstantsImpl, ConstantsImpl, RuntimeHeapImpl, hydrateHeap, HeapImpl, RuntimeProgramImpl, RuntimeOpImpl, artifacts };\n","import { DEBUG } from '@glimmer/env';\nimport { getProp, setProp, getPath, toIterator } from '@glimmer/global-context';\nimport { isDict, symbol, EMPTY_ARRAY, isObject } from '@glimmer/util';\nimport { CONSTANT_TAG, consumeTag, INITIAL, track, validateTag, valueForTag, createTag, dirtyTag } from '@glimmer/validator';\n\nconst REFERENCE = symbol('REFERENCE');\n\nclass ReferenceImpl {\n  constructor(type) {\n    this.tag = null;\n    this.lastRevision = INITIAL;\n    this.children = null;\n    this.compute = null;\n    this.update = null;\n    this[REFERENCE] = type;\n  }\n\n}\n\nfunction createPrimitiveRef(value) {\n  let ref = new ReferenceImpl(2\n  /* Unbound */\n  );\n  ref.tag = CONSTANT_TAG;\n  ref.lastValue = value;\n\n  if (DEBUG) {\n    ref.debugLabel = String(value);\n  }\n\n  return ref;\n}\nconst UNDEFINED_REFERENCE = createPrimitiveRef(undefined);\nconst NULL_REFERENCE = createPrimitiveRef(null);\nconst TRUE_REFERENCE = createPrimitiveRef(true);\nconst FALSE_REFERENCE = createPrimitiveRef(false);\nfunction createConstRef(value, debugLabel) {\n  let ref = new ReferenceImpl(0\n  /* Constant */\n  );\n  ref.lastValue = value;\n  ref.tag = CONSTANT_TAG;\n\n  if (DEBUG) {\n    ref.debugLabel = debugLabel;\n  }\n\n  return ref;\n}\nfunction createUnboundRef(value, debugLabel) {\n  let ref = new ReferenceImpl(2\n  /* Unbound */\n  );\n  ref.lastValue = value;\n  ref.tag = CONSTANT_TAG;\n\n  if (DEBUG) {\n    ref.debugLabel = debugLabel;\n  }\n\n  return ref;\n}\nfunction createComputeRef(compute, update = null, debugLabel = 'unknown') {\n  let ref = new ReferenceImpl(1\n  /* Compute */\n  );\n  ref.compute = compute;\n  ref.update = update;\n\n  if (DEBUG) {\n    ref.debugLabel = `(result of a \\`${debugLabel}\\` helper)`;\n  }\n\n  return ref;\n}\nfunction createReadOnlyRef(ref) {\n  if (!isUpdatableRef(ref)) return ref;\n  return createComputeRef(() => valueForRef(ref), null, ref.debugLabel);\n}\nfunction isInvokableRef(ref) {\n  return ref[REFERENCE] === 3\n  /* Invokable */\n  ;\n}\nfunction createInvokableRef(inner) {\n  let ref = createComputeRef(() => valueForRef(inner), value => updateRef(inner, value));\n  ref.debugLabel = inner.debugLabel;\n  ref[REFERENCE] = 3\n  /* Invokable */\n  ;\n  return ref;\n}\nfunction isConstRef(_ref) {\n  let ref = _ref;\n  return ref.tag === CONSTANT_TAG;\n}\nfunction isUpdatableRef(_ref) {\n  let ref = _ref;\n  return ref.update !== null;\n}\nfunction valueForRef(_ref) {\n  let ref = _ref;\n  let {\n    tag\n  } = ref;\n\n  if (tag === CONSTANT_TAG) {\n    return ref.lastValue;\n  }\n\n  let {\n    lastRevision\n  } = ref;\n  let lastValue;\n\n  if (tag === null || !validateTag(tag, lastRevision)) {\n    let {\n      compute\n    } = ref;\n    tag = ref.tag = track(() => {\n      lastValue = ref.lastValue = compute();\n    }, DEBUG && ref.debugLabel);\n    ref.lastRevision = valueForTag(tag);\n  } else {\n    lastValue = ref.lastValue;\n  }\n\n  consumeTag(tag);\n  return lastValue;\n}\nfunction updateRef(_ref, value) {\n  let ref = _ref;\n  let update = ref.update;\n  update(value);\n}\nfunction childRefFor(_parentRef, path) {\n  let parentRef = _parentRef;\n  let type = parentRef[REFERENCE];\n  let children = parentRef.children;\n  let child;\n\n  if (children === null) {\n    children = parentRef.children = new Map();\n  } else {\n    child = children.get(path);\n\n    if (child !== undefined) {\n      return child;\n    }\n  }\n\n  if (type === 2\n  /* Unbound */\n  ) {\n      let parent = valueForRef(parentRef);\n\n      if (isDict(parent)) {\n        child = createUnboundRef(parent[path], DEBUG && `${parentRef.debugLabel}.${path}`);\n      } else {\n        child = UNDEFINED_REFERENCE;\n      }\n    } else {\n    child = createComputeRef(() => {\n      let parent = valueForRef(parentRef);\n\n      if (isDict(parent)) {\n        return getProp(parent, path);\n      }\n    }, val => {\n      let parent = valueForRef(parentRef);\n\n      if (isDict(parent)) {\n        return setProp(parent, path, val);\n      }\n    });\n\n    if (DEBUG) {\n      child.debugLabel = `${parentRef.debugLabel}.${path}`;\n    }\n  }\n\n  children.set(path, child);\n  return child;\n}\nfunction childRefFromParts(root, parts) {\n  let reference = root;\n\n  for (let i = 0; i < parts.length; i++) {\n    reference = childRefFor(reference, parts[i]);\n  }\n\n  return reference;\n}\nlet createDebugAliasRef;\n\nif (DEBUG) {\n  createDebugAliasRef = (debugLabel, inner) => {\n    let update = isUpdatableRef(inner) ? value => updateRef(inner, value) : null;\n    let ref = createComputeRef(() => valueForRef(inner), update);\n    ref[REFERENCE] = inner[REFERENCE];\n    ref.debugLabel = debugLabel;\n    return ref;\n  };\n}\n\nconst NULL_IDENTITY = {};\n\nconst KEY = (_, index) => index;\n\nconst INDEX = (_, index) => String(index);\n\nconst IDENTITY = item => {\n  if (item === null) {\n    // Returning null as an identity will cause failures since the iterator\n    // can't tell that it's actually supposed to be null\n    return NULL_IDENTITY;\n  }\n\n  return item;\n};\n\nfunction keyForPath(path) {\n  if (DEBUG && path[0] === '@') {\n    throw new Error(`invalid keypath: '${path}', valid keys: @index, @identity, or a path`);\n  }\n\n  return uniqueKeyFor(item => getPath(item, path));\n}\n\nfunction makeKeyFor(key) {\n  switch (key) {\n    case '@key':\n      return uniqueKeyFor(KEY);\n\n    case '@index':\n      return uniqueKeyFor(INDEX);\n\n    case '@identity':\n      return uniqueKeyFor(IDENTITY);\n\n    default:\n      return keyForPath(key);\n  }\n}\n\nclass WeakMapWithPrimitives {\n  get weakMap() {\n    if (this._weakMap === undefined) {\n      this._weakMap = new WeakMap();\n    }\n\n    return this._weakMap;\n  }\n\n  get primitiveMap() {\n    if (this._primitiveMap === undefined) {\n      this._primitiveMap = new Map();\n    }\n\n    return this._primitiveMap;\n  }\n\n  set(key, value) {\n    if (isObject(key)) {\n      this.weakMap.set(key, value);\n    } else {\n      this.primitiveMap.set(key, value);\n    }\n  }\n\n  get(key) {\n    if (isObject(key)) {\n      return this.weakMap.get(key);\n    } else {\n      return this.primitiveMap.get(key);\n    }\n  }\n\n}\n\nconst IDENTITIES = new WeakMapWithPrimitives();\n\nfunction identityForNthOccurence(value, count) {\n  let identities = IDENTITIES.get(value);\n\n  if (identities === undefined) {\n    identities = [];\n    IDENTITIES.set(value, identities);\n  }\n\n  let identity = identities[count];\n\n  if (identity === undefined) {\n    identity = {\n      value,\n      count\n    };\n    identities[count] = identity;\n  }\n\n  return identity;\n}\n/**\n * When iterating over a list, it's possible that an item with the same unique\n * key could be encountered twice:\n *\n * ```js\n * let arr = ['same', 'different', 'same', 'same'];\n * ```\n *\n * In general, we want to treat these items as _unique within the list_. To do\n * this, we track the occurences of every item as we iterate the list, and when\n * an item occurs more than once, we generate a new unique key just for that\n * item, and that occurence within the list. The next time we iterate the list,\n * and encounter an item for the nth time, we can get the _same_ key, and let\n * Glimmer know that it should reuse the DOM for the previous nth occurence.\n */\n\n\nfunction uniqueKeyFor(keyFor) {\n  let seen = new WeakMapWithPrimitives();\n  return (value, memo) => {\n    let key = keyFor(value, memo);\n    let count = seen.get(key) || 0;\n    seen.set(key, count + 1);\n\n    if (count === 0) {\n      return key;\n    }\n\n    return identityForNthOccurence(key, count);\n  };\n}\n\nfunction createIteratorRef(listRef, key) {\n  return createComputeRef(() => {\n    let iterable = valueForRef(listRef);\n    let keyFor = makeKeyFor(key);\n\n    if (Array.isArray(iterable)) {\n      return new ArrayIterator(iterable, keyFor);\n    }\n\n    let maybeIterator = toIterator(iterable);\n\n    if (maybeIterator === null) {\n      return new ArrayIterator(EMPTY_ARRAY, () => null);\n    }\n\n    return new IteratorWrapper(maybeIterator, keyFor);\n  });\n}\nfunction createIteratorItemRef(_value) {\n  let value = _value;\n  let tag = createTag();\n  return createComputeRef(() => {\n    consumeTag(tag);\n    return value;\n  }, newValue => {\n    if (value !== newValue) {\n      value = newValue;\n      dirtyTag(tag);\n    }\n  });\n}\n\nclass IteratorWrapper {\n  constructor(inner, keyFor) {\n    this.inner = inner;\n    this.keyFor = keyFor;\n  }\n\n  isEmpty() {\n    return this.inner.isEmpty();\n  }\n\n  next() {\n    let nextValue = this.inner.next();\n\n    if (nextValue !== null) {\n      nextValue.key = this.keyFor(nextValue.value, nextValue.memo);\n    }\n\n    return nextValue;\n  }\n\n}\n\nclass ArrayIterator {\n  constructor(iterator, keyFor) {\n    this.iterator = iterator;\n    this.keyFor = keyFor;\n    this.pos = 0;\n\n    if (iterator.length === 0) {\n      this.current = {\n        kind: 'empty'\n      };\n    } else {\n      this.current = {\n        kind: 'first',\n        value: iterator[this.pos]\n      };\n    }\n  }\n\n  isEmpty() {\n    return this.current.kind === 'empty';\n  }\n\n  next() {\n    let value;\n    let current = this.current;\n\n    if (current.kind === 'first') {\n      this.current = {\n        kind: 'progress'\n      };\n      value = current.value;\n    } else if (this.pos >= this.iterator.length - 1) {\n      return null;\n    } else {\n      value = this.iterator[++this.pos];\n    }\n\n    let {\n      keyFor\n    } = this;\n    let key = keyFor(value, this.pos);\n    let memo = this.pos;\n    return {\n      key,\n      value,\n      memo\n    };\n  }\n\n}\n\nexport { REFERENCE, createPrimitiveRef, createConstRef, createUnboundRef, createComputeRef, createDebugAliasRef, createReadOnlyRef, createInvokableRef, isInvokableRef, isConstRef, isUpdatableRef, valueForRef, updateRef, childRefFor, childRefFromParts, UNDEFINED_REFERENCE, NULL_REFERENCE, TRUE_REFERENCE, FALSE_REFERENCE, createIteratorRef, createIteratorItemRef };\n","import { assign, symbol, Stack, fillNulls, _WeakSet, isObject, dict, emptyArray, EMPTY_STRING_ARRAY, debugToString, decodeHandle, decodeImmediate, isHandle, unwrapTemplate, clearElement, unwrapHandle, buildUntouchableThis, HAS_NATIVE_PROXY, isDict } from '@glimmer/util';\nimport { UNDEFINED_REFERENCE, valueForRef, createComputeRef, createDebugAliasRef, childRefFor, TRUE_REFERENCE, FALSE_REFERENCE, isConstRef, createPrimitiveRef, NULL_REFERENCE, createConstRef, createIteratorRef, updateRef, createIteratorItemRef, isInvokableRef } from '@glimmer/reference';\nimport { warnIfStyleNotTrusted, toBool, assertGlobalContextWasSet, deprecate, getPath, setPath } from '@glimmer/global-context';\nimport { DEBUG } from '@glimmer/env';\nimport { destroy, registerDestructor, associateDestroyableChild, _hasDestroyableChildren, destroyChildren, isDestroyed, isDestroying } from '@glimmer/destroyable';\nexport { destroy, registerDestructor, isDestroying, isDestroyed } from '@glimmer/destroyable';\nimport { $fp, $pc, $ra, $sp, $v0, $t0, $t1, $s0, $s1, isLowLevelRegister } from '@glimmer/vm';\nimport { CONSTANT_TAG, valueForTag, validateTag, INITIAL, beginTrackFrame, endTrackFrame, consumeTag, CURRENT_TAG, track, updateTag, resetTracking, runInTrackingTransaction, createCache, getValue, createUpdatableTag } from '@glimmer/validator';\nimport { managerHasCapability, hasInternalComponentManager, hasInternalHelperManager, setInternalComponentManager, getInternalHelperManager, hasDestroyable, hasValue, setInternalHelperManager, setInternalModifierManager } from '@glimmer/manager';\nimport { RuntimeProgramImpl } from '@glimmer/program';\nimport { getOwner } from '@glimmer/owner';\nimport { reifyPositional, reifyNamed } from '@glimmer/runtime';\n\nclass DynamicScopeImpl {\n  constructor(bucket) {\n    if (bucket) {\n      this.bucket = assign({}, bucket);\n    } else {\n      this.bucket = {};\n    }\n  }\n\n  get(key) {\n    return this.bucket[key];\n  }\n\n  set(key, reference) {\n    return this.bucket[key] = reference;\n  }\n\n  child() {\n    return new DynamicScopeImpl(this.bucket);\n  }\n\n}\nclass PartialScopeImpl {\n  constructor( // the 0th slot is `self`\n  slots, owner, callerScope, // named arguments and blocks passed to a layout that uses eval\n  evalScope, // locals in scope when the partial was invoked\n  partialMap) {\n    this.slots = slots;\n    this.owner = owner;\n    this.callerScope = callerScope;\n    this.evalScope = evalScope;\n    this.partialMap = partialMap;\n  }\n\n  static root(self, size = 0, owner) {\n    let refs = new Array(size + 1);\n\n    for (let i = 0; i <= size; i++) {\n      refs[i] = UNDEFINED_REFERENCE;\n    }\n\n    return new PartialScopeImpl(refs, owner, null, null, null).init({\n      self\n    });\n  }\n\n  static sized(size = 0, owner) {\n    let refs = new Array(size + 1);\n\n    for (let i = 0; i <= size; i++) {\n      refs[i] = UNDEFINED_REFERENCE;\n    }\n\n    return new PartialScopeImpl(refs, owner, null, null, null);\n  }\n\n  init({\n    self\n  }) {\n    this.slots[0] = self;\n    return this;\n  }\n\n  getSelf() {\n    return this.get(0);\n  }\n\n  getSymbol(symbol$$1) {\n    return this.get(symbol$$1);\n  }\n\n  getBlock(symbol$$1) {\n    let block = this.get(symbol$$1);\n    return block === UNDEFINED_REFERENCE ? null : block;\n  }\n\n  getEvalScope() {\n    return this.evalScope;\n  }\n\n  getPartialMap() {\n    return this.partialMap;\n  }\n\n  bind(symbol$$1, value) {\n    this.set(symbol$$1, value);\n  }\n\n  bindSelf(self) {\n    this.set(0, self);\n  }\n\n  bindSymbol(symbol$$1, value) {\n    this.set(symbol$$1, value);\n  }\n\n  bindBlock(symbol$$1, value) {\n    this.set(symbol$$1, value);\n  }\n\n  bindEvalScope(map) {\n    this.evalScope = map;\n  }\n\n  bindPartialMap(map) {\n    this.partialMap = map;\n  }\n\n  bindCallerScope(scope) {\n    this.callerScope = scope;\n  }\n\n  getCallerScope() {\n    return this.callerScope;\n  }\n\n  child() {\n    return new PartialScopeImpl(this.slots.slice(), this.owner, this.callerScope, this.evalScope, this.partialMap);\n  }\n\n  get(index) {\n    if (index >= this.slots.length) {\n      throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);\n    }\n\n    return this.slots[index];\n  }\n\n  set(index, value) {\n    if (index >= this.slots.length) {\n      throw new RangeError(`BUG: cannot get $${index} from scope; length=${this.slots.length}`);\n    }\n\n    this.slots[index] = value;\n  }\n\n}\n\n// the VM in other classes, but are not intended to be a part of\n// Glimmer's API.\n\nconst INNER_VM = symbol('INNER_VM');\nconst DESTROYABLE_STACK = symbol('DESTROYABLE_STACK');\nconst STACKS = symbol('STACKS');\nconst REGISTERS = symbol('REGISTERS');\nconst HEAP = symbol('HEAP');\nconst CONSTANTS = symbol('CONSTANTS');\nconst ARGS = symbol('ARGS');\nconst PC = symbol('PC');\n\nclass CursorImpl {\n  constructor(element, nextSibling) {\n    this.element = element;\n    this.nextSibling = nextSibling;\n  }\n\n}\nclass ConcreteBounds {\n  constructor(parentNode, first, last) {\n    this.parentNode = parentNode;\n    this.first = first;\n    this.last = last;\n  }\n\n  parentElement() {\n    return this.parentNode;\n  }\n\n  firstNode() {\n    return this.first;\n  }\n\n  lastNode() {\n    return this.last;\n  }\n\n}\nclass SingleNodeBounds {\n  constructor(parentNode, node) {\n    this.parentNode = parentNode;\n    this.node = node;\n  }\n\n  parentElement() {\n    return this.parentNode;\n  }\n\n  firstNode() {\n    return this.node;\n  }\n\n  lastNode() {\n    return this.node;\n  }\n\n}\nfunction move(bounds, reference) {\n  let parent = bounds.parentElement();\n  let first = bounds.firstNode();\n  let last = bounds.lastNode();\n  let current = first;\n\n  while (true) {\n    let next = current.nextSibling;\n    parent.insertBefore(current, reference);\n\n    if (current === last) {\n      return next;\n    }\n\n    current = next;\n  }\n}\nfunction clear(bounds) {\n  let parent = bounds.parentElement();\n  let first = bounds.firstNode();\n  let last = bounds.lastNode();\n  let current = first;\n\n  while (true) {\n    let next = current.nextSibling;\n    parent.removeChild(current);\n\n    if (current === last) {\n      return next;\n    }\n\n    current = next;\n  }\n}\n\nfunction normalizeStringValue(value) {\n  if (isEmpty(value)) {\n    return '';\n  }\n\n  return String(value);\n}\nfunction shouldCoerce(value) {\n  return isString(value) || isEmpty(value) || typeof value === 'boolean' || typeof value === 'number';\n}\nfunction isEmpty(value) {\n  return value === null || value === undefined || typeof value.toString !== 'function';\n}\nfunction isSafeString(value) {\n  return typeof value === 'object' && value !== null && typeof value.toHTML === 'function';\n}\nfunction isNode(value) {\n  return typeof value === 'object' && value !== null && typeof value.nodeType === 'number';\n}\nfunction isFragment(value) {\n  return isNode(value) && value.nodeType === 11;\n}\nfunction isString(value) {\n  return typeof value === 'string';\n}\n\n/*\n * @method normalizeProperty\n * @param element {HTMLElement}\n * @param slotName {String}\n * @returns {Object} { name, type }\n */\nfunction normalizeProperty(element, slotName) {\n  let type, normalized;\n\n  if (slotName in element) {\n    normalized = slotName;\n    type = 'prop';\n  } else {\n    let lower = slotName.toLowerCase();\n\n    if (lower in element) {\n      type = 'prop';\n      normalized = lower;\n    } else {\n      type = 'attr';\n      normalized = slotName;\n    }\n  }\n\n  if (type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName, normalized))) {\n    type = 'attr';\n  }\n\n  return {\n    normalized,\n    type\n  };\n}\n// * browser bug\n// * strange spec outlier\n\nconst ATTR_OVERRIDES = {\n  INPUT: {\n    form: true,\n    // Chrome 46.0.2464.0: 'autocorrect' in document.createElement('input') === false\n    // Safari 8.0.7: 'autocorrect' in document.createElement('input') === false\n    // Mobile Safari (iOS 8.4 simulator): 'autocorrect' in document.createElement('input') === true\n    autocorrect: true,\n    // Chrome 54.0.2840.98: 'list' in document.createElement('input') === true\n    // Safari 9.1.3: 'list' in document.createElement('input') === false\n    list: true\n  },\n  // element.form is actually a legitimate readOnly property, that is to be\n  // mutated, but must be mutated by setAttribute...\n  SELECT: {\n    form: true\n  },\n  OPTION: {\n    form: true\n  },\n  TEXTAREA: {\n    form: true\n  },\n  LABEL: {\n    form: true\n  },\n  FIELDSET: {\n    form: true\n  },\n  LEGEND: {\n    form: true\n  },\n  OBJECT: {\n    form: true\n  },\n  OUTPUT: {\n    form: true\n  },\n  BUTTON: {\n    form: true\n  }\n};\n\nfunction preferAttr(tagName, propName) {\n  let tag = ATTR_OVERRIDES[tagName.toUpperCase()];\n  return tag && tag[propName.toLowerCase()] || false;\n}\n\nconst badProtocols = ['javascript:', 'vbscript:'];\nconst badTags = ['A', 'BODY', 'LINK', 'IMG', 'IFRAME', 'BASE', 'FORM'];\nconst badTagsForDataURI = ['EMBED'];\nconst badAttributes = ['href', 'src', 'background', 'action'];\nconst badAttributesForDataURI = ['src'];\n\nfunction has(array, item) {\n  return array.indexOf(item) !== -1;\n}\n\nfunction checkURI(tagName, attribute) {\n  return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n}\n\nfunction checkDataURI(tagName, attribute) {\n  if (tagName === null) return false;\n  return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n}\n\nfunction requiresSanitization(tagName, attribute) {\n  return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n}\nlet protocolForUrl;\n\nif (typeof URL === 'object' && URL !== null && // this is super annoying, TS thinks that URL **must** be a function so `URL.parse` check\n// thinks it is `never` without this `as unknown as any`\ntypeof URL.parse === 'function') {\n  // In Ember-land the `fastboot` package sets the `URL` global to `require('url')`\n  // ultimately, this should be changed (so that we can either rely on the natural `URL` global\n  // that exists) but for now we have to detect the specific `FastBoot` case first\n  //\n  // a future version of `fastboot` will detect if this legacy URL setup is required (by\n  // inspecting Ember version) and if new enough, it will avoid shadowing the `URL` global\n  // constructor with `require('url')`.\n  let nodeURL = URL;\n\n  protocolForUrl = url => {\n    let protocol = null;\n\n    if (typeof url === 'string') {\n      protocol = nodeURL.parse(url).protocol;\n    }\n\n    return protocol === null ? ':' : protocol;\n  };\n} else if (typeof URL === 'function') {\n  protocolForUrl = _url => {\n    try {\n      let url = new URL(_url);\n      return url.protocol;\n    } catch (error) {\n      // any non-fully qualified url string will trigger an error (because there is no\n      // baseURI that we can provide; in that case we **know** that the protocol is\n      // \"safe\" because it isn't specifically one of the `badProtocols` listed above\n      // (and those protocols can never be the default baseURI)\n      return ':';\n    }\n  };\n} else {\n  // fallback for IE11 support\n  let parsingNode = document.createElement('a');\n\n  protocolForUrl = url => {\n    parsingNode.href = url;\n    return parsingNode.protocol;\n  };\n}\n\nfunction sanitizeAttributeValue(element, attribute, value) {\n  let tagName = null;\n\n  if (value === null || value === undefined) {\n    return value;\n  }\n\n  if (isSafeString(value)) {\n    return value.toHTML();\n  }\n\n  if (!element) {\n    tagName = null;\n  } else {\n    tagName = element.tagName.toUpperCase();\n  }\n\n  let str = normalizeStringValue(value);\n\n  if (checkURI(tagName, attribute)) {\n    let protocol = protocolForUrl(str);\n\n    if (has(badProtocols, protocol)) {\n      return `unsafe:${str}`;\n    }\n  }\n\n  if (checkDataURI(tagName, attribute)) {\n    return `unsafe:${str}`;\n  }\n\n  return str;\n}\n\nfunction dynamicAttribute(element, attr, namespace, isTrusting = false) {\n  let {\n    tagName,\n    namespaceURI\n  } = element;\n  let attribute = {\n    element,\n    name: attr,\n    namespace\n  };\n\n  if (DEBUG && attr === 'style' && !isTrusting) {\n    return new DebugStyleAttributeManager(attribute);\n  }\n\n  if (namespaceURI === \"http://www.w3.org/2000/svg\"\n  /* SVG */\n  ) {\n      return buildDynamicAttribute(tagName, attr, attribute);\n    }\n\n  let {\n    type,\n    normalized\n  } = normalizeProperty(element, attr);\n\n  if (type === 'attr') {\n    return buildDynamicAttribute(tagName, normalized, attribute);\n  } else {\n    return buildDynamicProperty(tagName, normalized, attribute);\n  }\n}\n\nfunction buildDynamicAttribute(tagName, name, attribute) {\n  if (requiresSanitization(tagName, name)) {\n    return new SafeDynamicAttribute(attribute);\n  } else {\n    return new SimpleDynamicAttribute(attribute);\n  }\n}\n\nfunction buildDynamicProperty(tagName, name, attribute) {\n  if (requiresSanitization(tagName, name)) {\n    return new SafeDynamicProperty(name, attribute);\n  }\n\n  if (isUserInputValue(tagName, name)) {\n    return new InputValueDynamicAttribute(name, attribute);\n  }\n\n  if (isOptionSelected(tagName, name)) {\n    return new OptionSelectedDynamicAttribute(name, attribute);\n  }\n\n  return new DefaultDynamicProperty(name, attribute);\n}\n\nclass DynamicAttribute {\n  constructor(attribute) {\n    this.attribute = attribute;\n  }\n\n}\nclass SimpleDynamicAttribute extends DynamicAttribute {\n  set(dom, value, _env) {\n    let normalizedValue = normalizeValue(value);\n\n    if (normalizedValue !== null) {\n      let {\n        name,\n        namespace\n      } = this.attribute;\n\n      dom.__setAttribute(name, normalizedValue, namespace);\n    }\n  }\n\n  update(value, _env) {\n    let normalizedValue = normalizeValue(value);\n    let {\n      element,\n      name\n    } = this.attribute;\n\n    if (normalizedValue === null) {\n      element.removeAttribute(name);\n    } else {\n      element.setAttribute(name, normalizedValue);\n    }\n  }\n\n}\nclass DefaultDynamicProperty extends DynamicAttribute {\n  constructor(normalizedName, attribute) {\n    super(attribute);\n    this.normalizedName = normalizedName;\n  }\n\n  set(dom, value, _env) {\n    if (value !== null && value !== undefined) {\n      this.value = value;\n\n      dom.__setProperty(this.normalizedName, value);\n    }\n  }\n\n  update(value, _env) {\n    let {\n      element\n    } = this.attribute;\n\n    if (this.value !== value) {\n      element[this.normalizedName] = this.value = value;\n\n      if (value === null || value === undefined) {\n        this.removeAttribute();\n      }\n    }\n  }\n\n  removeAttribute() {\n    // TODO this sucks but to preserve properties first and to meet current\n    // semantics we must do this.\n    let {\n      element,\n      namespace\n    } = this.attribute;\n\n    if (namespace) {\n      element.removeAttributeNS(namespace, this.normalizedName);\n    } else {\n      element.removeAttribute(this.normalizedName);\n    }\n  }\n\n}\nclass SafeDynamicProperty extends DefaultDynamicProperty {\n  set(dom, value, env) {\n    let {\n      element,\n      name\n    } = this.attribute;\n    let sanitized = sanitizeAttributeValue(element, name, value);\n    super.set(dom, sanitized, env);\n  }\n\n  update(value, env) {\n    let {\n      element,\n      name\n    } = this.attribute;\n    let sanitized = sanitizeAttributeValue(element, name, value);\n    super.update(sanitized, env);\n  }\n\n}\nclass SafeDynamicAttribute extends SimpleDynamicAttribute {\n  set(dom, value, env) {\n    let {\n      element,\n      name\n    } = this.attribute;\n    let sanitized = sanitizeAttributeValue(element, name, value);\n    super.set(dom, sanitized, env);\n  }\n\n  update(value, env) {\n    let {\n      element,\n      name\n    } = this.attribute;\n    let sanitized = sanitizeAttributeValue(element, name, value);\n    super.update(sanitized, env);\n  }\n\n}\nclass InputValueDynamicAttribute extends DefaultDynamicProperty {\n  set(dom, value) {\n    dom.__setProperty('value', normalizeStringValue(value));\n  }\n\n  update(value) {\n    let input = this.attribute.element;\n    let currentValue = input.value;\n    let normalizedValue = normalizeStringValue(value);\n\n    if (currentValue !== normalizedValue) {\n      input.value = normalizedValue;\n    }\n  }\n\n}\nclass OptionSelectedDynamicAttribute extends DefaultDynamicProperty {\n  set(dom, value) {\n    if (value !== null && value !== undefined && value !== false) {\n      dom.__setProperty('selected', true);\n    }\n  }\n\n  update(value) {\n    let option = this.attribute.element;\n\n    if (value) {\n      option.selected = true;\n    } else {\n      option.selected = false;\n    }\n  }\n\n}\n\nfunction isOptionSelected(tagName, attribute) {\n  return tagName === 'OPTION' && attribute === 'selected';\n}\n\nfunction isUserInputValue(tagName, attribute) {\n  return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n}\n\nfunction normalizeValue(value) {\n  if (value === false || value === undefined || value === null || typeof value.toString === 'undefined') {\n    return null;\n  }\n\n  if (value === true) {\n    return '';\n  } // onclick function etc in SSR\n\n\n  if (typeof value === 'function') {\n    return null;\n  }\n\n  return String(value);\n}\n\nlet DebugStyleAttributeManager;\n\nif (DEBUG) {\n  DebugStyleAttributeManager = class extends SimpleDynamicAttribute {\n    set(dom, value, env) {\n      warnIfStyleNotTrusted(value);\n      super.set(dom, value, env);\n    }\n\n    update(value, env) {\n      warnIfStyleNotTrusted(value);\n      super.update(value, env);\n    }\n\n  };\n}\n\nvar _a;\n\nclass First {\n  constructor(node) {\n    this.node = node;\n  }\n\n  firstNode() {\n    return this.node;\n  }\n\n}\n\nclass Last {\n  constructor(node) {\n    this.node = node;\n  }\n\n  lastNode() {\n    return this.node;\n  }\n\n}\nconst CURSOR_STACK = symbol('CURSOR_STACK');\nclass NewElementBuilder {\n  constructor(env, parentNode, nextSibling) {\n    this.constructing = null;\n    this.operations = null;\n    this[_a] = new Stack();\n    this.modifierStack = new Stack();\n    this.blockStack = new Stack();\n    this.pushElement(parentNode, nextSibling);\n    this.env = env;\n    this.dom = env.getAppendOperations();\n    this.updateOperations = env.getDOM();\n  }\n\n  static forInitialRender(env, cursor) {\n    return new this(env, cursor.element, cursor.nextSibling).initialize();\n  }\n\n  static resume(env, block) {\n    let parentNode = block.parentElement();\n    let nextSibling = block.reset(env);\n    let stack = new this(env, parentNode, nextSibling).initialize();\n    stack.pushLiveBlock(block);\n    return stack;\n  }\n\n  initialize() {\n    this.pushSimpleBlock();\n    return this;\n  }\n\n  debugBlocks() {\n    return this.blockStack.toArray();\n  }\n\n  get element() {\n    return this[CURSOR_STACK].current.element;\n  }\n\n  get nextSibling() {\n    return this[CURSOR_STACK].current.nextSibling;\n  }\n\n  get hasBlocks() {\n    return this.blockStack.size > 0;\n  }\n\n  block() {\n    return this.blockStack.current;\n  }\n\n  popElement() {\n    this[CURSOR_STACK].pop();\n    this[CURSOR_STACK].current;\n  }\n\n  pushSimpleBlock() {\n    return this.pushLiveBlock(new SimpleLiveBlock(this.element));\n  }\n\n  pushUpdatableBlock() {\n    return this.pushLiveBlock(new UpdatableBlockImpl(this.element));\n  }\n\n  pushBlockList(list) {\n    return this.pushLiveBlock(new LiveBlockList(this.element, list));\n  }\n\n  pushLiveBlock(block, isRemote = false) {\n    let current = this.blockStack.current;\n\n    if (current !== null) {\n      if (!isRemote) {\n        current.didAppendBounds(block);\n      }\n    }\n\n    this.__openBlock();\n\n    this.blockStack.push(block);\n    return block;\n  }\n\n  popBlock() {\n    this.block().finalize(this);\n\n    this.__closeBlock();\n\n    return this.blockStack.pop();\n  }\n\n  __openBlock() {}\n\n  __closeBlock() {} // todo return seems unused\n\n\n  openElement(tag) {\n    let element = this.__openElement(tag);\n\n    this.constructing = element;\n    return element;\n  }\n\n  __openElement(tag) {\n    return this.dom.createElement(tag, this.element);\n  }\n\n  flushElement(modifiers) {\n    let parent = this.element;\n    let element = this.constructing;\n\n    this.__flushElement(parent, element);\n\n    this.constructing = null;\n    this.operations = null;\n    this.pushModifiers(modifiers);\n    this.pushElement(element, null);\n    this.didOpenElement(element);\n  }\n\n  __flushElement(parent, constructing) {\n    this.dom.insertBefore(parent, constructing, this.nextSibling);\n  }\n\n  closeElement() {\n    this.willCloseElement();\n    this.popElement();\n    return this.popModifiers();\n  }\n\n  pushRemoteElement(element, guid, insertBefore) {\n    return this.__pushRemoteElement(element, guid, insertBefore);\n  }\n\n  __pushRemoteElement(element, _guid, insertBefore) {\n    this.pushElement(element, insertBefore);\n\n    if (insertBefore === undefined) {\n      while (element.lastChild) {\n        element.removeChild(element.lastChild);\n      }\n    }\n\n    let block = new RemoteLiveBlock(element);\n    return this.pushLiveBlock(block, true);\n  }\n\n  popRemoteElement() {\n    this.popBlock();\n    this.popElement();\n  }\n\n  pushElement(element, nextSibling = null) {\n    this[CURSOR_STACK].push(new CursorImpl(element, nextSibling));\n  }\n\n  pushModifiers(modifiers) {\n    this.modifierStack.push(modifiers);\n  }\n\n  popModifiers() {\n    return this.modifierStack.pop();\n  }\n\n  didAppendBounds(bounds) {\n    this.block().didAppendBounds(bounds);\n    return bounds;\n  }\n\n  didAppendNode(node) {\n    this.block().didAppendNode(node);\n    return node;\n  }\n\n  didOpenElement(element) {\n    this.block().openElement(element);\n    return element;\n  }\n\n  willCloseElement() {\n    this.block().closeElement();\n  }\n\n  appendText(string) {\n    return this.didAppendNode(this.__appendText(string));\n  }\n\n  __appendText(text) {\n    let {\n      dom,\n      element,\n      nextSibling\n    } = this;\n    let node = dom.createTextNode(text);\n    dom.insertBefore(element, node, nextSibling);\n    return node;\n  }\n\n  __appendNode(node) {\n    this.dom.insertBefore(this.element, node, this.nextSibling);\n    return node;\n  }\n\n  __appendFragment(fragment) {\n    let first = fragment.firstChild;\n\n    if (first) {\n      let ret = new ConcreteBounds(this.element, first, fragment.lastChild);\n      this.dom.insertBefore(this.element, fragment, this.nextSibling);\n      return ret;\n    } else {\n      return new SingleNodeBounds(this.element, this.__appendComment(''));\n    }\n  }\n\n  __appendHTML(html) {\n    return this.dom.insertHTMLBefore(this.element, this.nextSibling, html);\n  }\n\n  appendDynamicHTML(value) {\n    let bounds = this.trustedContent(value);\n    this.didAppendBounds(bounds);\n  }\n\n  appendDynamicText(value) {\n    let node = this.untrustedContent(value);\n    this.didAppendNode(node);\n    return node;\n  }\n\n  appendDynamicFragment(value) {\n    let bounds = this.__appendFragment(value);\n\n    this.didAppendBounds(bounds);\n  }\n\n  appendDynamicNode(value) {\n    let node = this.__appendNode(value);\n\n    let bounds = new SingleNodeBounds(this.element, node);\n    this.didAppendBounds(bounds);\n  }\n\n  trustedContent(value) {\n    return this.__appendHTML(value);\n  }\n\n  untrustedContent(value) {\n    return this.__appendText(value);\n  }\n\n  appendComment(string) {\n    return this.didAppendNode(this.__appendComment(string));\n  }\n\n  __appendComment(string) {\n    let {\n      dom,\n      element,\n      nextSibling\n    } = this;\n    let node = dom.createComment(string);\n    dom.insertBefore(element, node, nextSibling);\n    return node;\n  }\n\n  __setAttribute(name, value, namespace) {\n    this.dom.setAttribute(this.constructing, name, value, namespace);\n  }\n\n  __setProperty(name, value) {\n    this.constructing[name] = value;\n  }\n\n  setStaticAttribute(name, value, namespace) {\n    this.__setAttribute(name, value, namespace);\n  }\n\n  setDynamicAttribute(name, value, trusting, namespace) {\n    let element = this.constructing;\n    let attribute = dynamicAttribute(element, name, namespace, trusting);\n    attribute.set(this, value, this.env);\n    return attribute;\n  }\n\n}\n_a = CURSOR_STACK;\nclass SimpleLiveBlock {\n  constructor(parent) {\n    this.parent = parent;\n    this.first = null;\n    this.last = null;\n    this.nesting = 0;\n  }\n\n  parentElement() {\n    return this.parent;\n  }\n\n  firstNode() {\n    let first = this.first;\n    return first.firstNode();\n  }\n\n  lastNode() {\n    let last = this.last;\n    return last.lastNode();\n  }\n\n  openElement(element) {\n    this.didAppendNode(element);\n    this.nesting++;\n  }\n\n  closeElement() {\n    this.nesting--;\n  }\n\n  didAppendNode(node) {\n    if (this.nesting !== 0) return;\n\n    if (!this.first) {\n      this.first = new First(node);\n    }\n\n    this.last = new Last(node);\n  }\n\n  didAppendBounds(bounds) {\n    if (this.nesting !== 0) return;\n\n    if (!this.first) {\n      this.first = bounds;\n    }\n\n    this.last = bounds;\n  }\n\n  finalize(stack) {\n    if (this.first === null) {\n      stack.appendComment('');\n    }\n  }\n\n}\nclass RemoteLiveBlock extends SimpleLiveBlock {\n  constructor(parent) {\n    super(parent);\n    registerDestructor(this, () => {\n      // In general, you only need to clear the root of a hierarchy, and should never\n      // need to clear any child nodes. This is an important constraint that gives us\n      // a strong guarantee that clearing a subtree is a single DOM operation.\n      //\n      // Because remote blocks are not normally physically nested inside of the tree\n      // that they are logically nested inside, we manually clear remote blocks when\n      // a logical parent is cleared.\n      //\n      // HOWEVER, it is currently possible for a remote block to be physically nested\n      // inside of the block it is logically contained inside of. This happens when\n      // the remote block is appended to the end of the application's entire element.\n      //\n      // The problem with that scenario is that Glimmer believes that it owns more of\n      // the DOM than it actually does. The code is attempting to write past the end\n      // of the Glimmer-managed root, but Glimmer isn't aware of that.\n      //\n      // The correct solution to that problem is for Glimmer to be aware of the end\n      // of the bounds that it owns, and once we make that change, this check could\n      // be removed.\n      //\n      // For now, a more targeted fix is to check whether the node was already removed\n      // and avoid clearing the node if it was. In most cases this shouldn't happen,\n      // so this might hide bugs where the code clears nested nodes unnecessarily,\n      // so we should eventually try to do the correct fix.\n      if (this.parentElement() === this.firstNode().parentNode) {\n        clear(this);\n      }\n    });\n  }\n\n}\nclass UpdatableBlockImpl extends SimpleLiveBlock {\n  reset() {\n    destroy(this);\n    let nextSibling = clear(this);\n    this.first = null;\n    this.last = null;\n    this.nesting = 0;\n    return nextSibling;\n  }\n\n} // FIXME: All the noops in here indicate a modelling problem\n\nclass LiveBlockList {\n  constructor(parent, boundList) {\n    this.parent = parent;\n    this.boundList = boundList;\n    this.parent = parent;\n    this.boundList = boundList;\n  }\n\n  parentElement() {\n    return this.parent;\n  }\n\n  firstNode() {\n    let head = this.boundList[0];\n    return head.firstNode();\n  }\n\n  lastNode() {\n    let boundList = this.boundList;\n    let tail = boundList[boundList.length - 1];\n    return tail.lastNode();\n  }\n\n  openElement(_element) {\n  }\n\n  closeElement() {\n  }\n\n  didAppendNode(_node) {\n  }\n\n  didAppendBounds(_bounds) {}\n\n  finalize(_stack) {\n  }\n\n}\nfunction clientBuilder(env, cursor) {\n  return NewElementBuilder.forInitialRender(env, cursor);\n}\n\nclass AppendOpcodes {\n  constructor() {\n    this.evaluateOpcode = fillNulls(104\n    /* Size */\n    ).slice();\n  }\n\n  add(name, evaluate, kind = 'syscall') {\n    this.evaluateOpcode[name] = {\n      syscall: kind !== 'machine',\n      evaluate\n    };\n  }\n\n  debugBefore(vm, opcode) {\n    let params = undefined;\n    let opName = undefined;\n\n    let sp;\n\n    return {\n      sp: sp,\n      pc: vm.fetchValue($pc),\n      name: opName,\n      params,\n      type: opcode.type,\n      isMachine: opcode.isMachine,\n      size: opcode.size,\n      state: undefined\n    };\n  }\n\n  debugAfter(vm, pre) {\n  }\n\n  evaluate(vm, opcode, type) {\n    let operation = this.evaluateOpcode[type];\n\n    if (operation.syscall) {\n      operation.evaluate(vm, opcode);\n    } else {\n      operation.evaluate(vm[INNER_VM], opcode);\n    }\n  }\n\n}\nconst APPEND_OPCODES = new AppendOpcodes();\n\nfunction createConcatRef(partsRefs) {\n  return createComputeRef(() => {\n    let parts = new Array();\n\n    for (let i = 0; i < partsRefs.length; i++) {\n      let value = valueForRef(partsRefs[i]);\n\n      if (value !== null && value !== undefined) {\n        parts[i] = castToString(value);\n      }\n    }\n\n    if (parts.length > 0) {\n      return parts.join('');\n    }\n\n    return null;\n  });\n}\n\nfunction castToString(value) {\n  if (typeof value.toString !== 'function') {\n    return '';\n  }\n\n  return String(value);\n}\n\nconst TYPE = symbol('TYPE');\nconst INNER = symbol('INNER');\nconst OWNER = symbol('OWNER');\nconst ARGS$1 = symbol('ARGS');\nconst RESOLVED = symbol('RESOLVED');\nconst CURRIED_VALUES = new _WeakSet();\nfunction isCurriedValue(value) {\n  return CURRIED_VALUES.has(value);\n}\nfunction isCurriedType(value, type) {\n  return isCurriedValue(value) && value[TYPE] === type;\n}\nclass CurriedValue {\n  /** @internal */\n  constructor(type, inner, owner, args, resolved = false) {\n    CURRIED_VALUES.add(this);\n    this[TYPE] = type;\n    this[INNER] = inner;\n    this[OWNER] = owner;\n    this[ARGS$1] = args;\n    this[RESOLVED] = resolved;\n  }\n\n}\nfunction resolveCurriedValue(curriedValue) {\n  let currentWrapper = curriedValue;\n  let positional;\n  let named;\n  let definition, owner, resolved;\n\n  while (true) {\n    let {\n      [ARGS$1]: curriedArgs,\n      [INNER]: inner\n    } = currentWrapper;\n\n    if (curriedArgs !== null) {\n      let {\n        named: curriedNamed,\n        positional: curriedPositional\n      } = curriedArgs;\n\n      if (curriedPositional.length > 0) {\n        positional = positional === undefined ? curriedPositional : curriedPositional.concat(positional);\n      }\n\n      if (named === undefined) {\n        named = [];\n      }\n\n      named.unshift(curriedNamed);\n    }\n\n    if (!isCurriedValue(inner)) {\n      // Save off the owner that this helper was curried with. Later on,\n      // we'll fetch the value of this register and set it as the owner on the\n      // new root scope.\n      definition = inner;\n      owner = currentWrapper[OWNER];\n      resolved = currentWrapper[RESOLVED];\n      break;\n    }\n\n    currentWrapper = inner;\n  }\n\n  return {\n    definition,\n    owner,\n    resolved,\n    positional,\n    named\n  };\n}\nfunction curry(type, spec, owner, args, resolved = false) {\n  return new CurriedValue(type, spec, owner, args, resolved);\n}\n\nfunction createCurryRef(type, inner, owner, args, resolver, isStrict) {\n  let lastValue, curriedDefinition;\n  return createComputeRef(() => {\n    let value = valueForRef(inner);\n\n    if (value === lastValue) {\n      return curriedDefinition;\n    }\n\n    if (isCurriedType(value, type)) {\n      curriedDefinition = args ? curry(type, value, owner, args) : args;\n    } else if (type === 0\n    /* Component */\n    && typeof value === 'string' && value) {\n      // Only components should enter this path, as helpers and modifiers do not\n      // support string based resolution\n      if (DEBUG) {\n        if (isStrict) {\n          throw new Error(`Attempted to resolve a dynamic component with a string definition, \\`${value}\\` in a strict mode template. In strict mode, using strings to resolve component definitions is prohibited. You can instead import the component definition and use it directly.`);\n        }\n\n        let resolvedDefinition = resolver.lookupComponent(value, owner);\n\n        if (!resolvedDefinition) {\n          throw new Error(`Attempted to resolve \\`${value}\\`, which was expected to be a component, but nothing was found.`);\n        }\n      }\n\n      curriedDefinition = curry(type, value, owner, args);\n    } else if (isObject(value)) {\n      curriedDefinition = curry(type, value, owner, args);\n    } else {\n      curriedDefinition = null;\n    }\n\n    lastValue = value;\n    return curriedDefinition;\n  });\n}\n\n/*\n  The calling convention is:\n\n  * 0-N block arguments at the bottom\n  * 0-N positional arguments next (left-to-right)\n  * 0-N named arguments next\n*/\n\nclass VMArgumentsImpl {\n  constructor() {\n    this.stack = null;\n    this.positional = new PositionalArgumentsImpl();\n    this.named = new NamedArgumentsImpl();\n    this.blocks = new BlockArgumentsImpl();\n  }\n\n  empty(stack) {\n    let base = stack[REGISTERS][$sp] + 1;\n    this.named.empty(stack, base);\n    this.positional.empty(stack, base);\n    this.blocks.empty(stack, base);\n    return this;\n  }\n\n  setup(stack, names, blockNames, positionalCount, atNames) {\n    this.stack = stack;\n    /*\n           | ... | blocks      | positional  | named |\n           | ... | b0    b1    | p0 p1 p2 p3 | n0 n1 |\n     index | ... | 4/5/6 7/8/9 | 10 11 12 13 | 14 15 |\n                   ^             ^             ^  ^\n                 bbase         pbase       nbase  sp\n    */\n\n    let named = this.named;\n    let namedCount = names.length;\n    let namedBase = stack[REGISTERS][$sp] - namedCount + 1;\n    named.setup(stack, namedBase, namedCount, names, atNames);\n    let positional = this.positional;\n    let positionalBase = namedBase - positionalCount;\n    positional.setup(stack, positionalBase, positionalCount);\n    let blocks = this.blocks;\n    let blocksCount = blockNames.length;\n    let blocksBase = positionalBase - blocksCount * 3;\n    blocks.setup(stack, blocksBase, blocksCount, blockNames);\n  }\n\n  get base() {\n    return this.blocks.base;\n  }\n\n  get length() {\n    return this.positional.length + this.named.length + this.blocks.length * 3;\n  }\n\n  at(pos) {\n    return this.positional.at(pos);\n  }\n\n  realloc(offset) {\n    let {\n      stack\n    } = this;\n\n    if (offset > 0 && stack !== null) {\n      let {\n        positional,\n        named\n      } = this;\n      let newBase = positional.base + offset;\n      let length = positional.length + named.length;\n\n      for (let i = length - 1; i >= 0; i--) {\n        stack.copy(i + positional.base, i + newBase);\n      }\n\n      positional.base += offset;\n      named.base += offset;\n      stack[REGISTERS][$sp] += offset;\n    }\n  }\n\n  capture() {\n    let positional = this.positional.length === 0 ? EMPTY_POSITIONAL : this.positional.capture();\n    let named = this.named.length === 0 ? EMPTY_NAMED : this.named.capture();\n    return {\n      named,\n      positional\n    };\n  }\n\n  clear() {\n    let {\n      stack,\n      length\n    } = this;\n    if (length > 0 && stack !== null) stack.pop(length);\n  }\n\n}\nconst EMPTY_REFERENCES = emptyArray();\nclass PositionalArgumentsImpl {\n  constructor() {\n    this.base = 0;\n    this.length = 0;\n    this.stack = null;\n    this._references = null;\n  }\n\n  empty(stack, base) {\n    this.stack = stack;\n    this.base = base;\n    this.length = 0;\n    this._references = EMPTY_REFERENCES;\n  }\n\n  setup(stack, base, length) {\n    this.stack = stack;\n    this.base = base;\n    this.length = length;\n\n    if (length === 0) {\n      this._references = EMPTY_REFERENCES;\n    } else {\n      this._references = null;\n    }\n  }\n\n  at(position) {\n    let {\n      base,\n      length,\n      stack\n    } = this;\n\n    if (position < 0 || position >= length) {\n      return UNDEFINED_REFERENCE;\n    }\n\n    return stack.get(position, base);\n  }\n\n  capture() {\n    return this.references;\n  }\n\n  prepend(other) {\n    let additions = other.length;\n\n    if (additions > 0) {\n      let {\n        base,\n        length,\n        stack\n      } = this;\n      this.base = base = base - additions;\n      this.length = length + additions;\n\n      for (let i = 0; i < additions; i++) {\n        stack.set(other[i], i, base);\n      }\n\n      this._references = null;\n    }\n  }\n\n  get references() {\n    let references = this._references;\n\n    if (!references) {\n      let {\n        stack,\n        base,\n        length\n      } = this;\n      references = this._references = stack.slice(base, base + length);\n    }\n\n    return references;\n  }\n\n}\nclass NamedArgumentsImpl {\n  constructor() {\n    this.base = 0;\n    this.length = 0;\n    this._references = null;\n    this._names = EMPTY_STRING_ARRAY;\n    this._atNames = EMPTY_STRING_ARRAY;\n  }\n\n  empty(stack, base) {\n    this.stack = stack;\n    this.base = base;\n    this.length = 0;\n    this._references = EMPTY_REFERENCES;\n    this._names = EMPTY_STRING_ARRAY;\n    this._atNames = EMPTY_STRING_ARRAY;\n  }\n\n  setup(stack, base, length, names, atNames) {\n    this.stack = stack;\n    this.base = base;\n    this.length = length;\n\n    if (length === 0) {\n      this._references = EMPTY_REFERENCES;\n      this._names = EMPTY_STRING_ARRAY;\n      this._atNames = EMPTY_STRING_ARRAY;\n    } else {\n      this._references = null;\n\n      if (atNames) {\n        this._names = null;\n        this._atNames = names;\n      } else {\n        this._names = names;\n        this._atNames = null;\n      }\n    }\n  }\n\n  get names() {\n    let names = this._names;\n\n    if (!names) {\n      names = this._names = this._atNames.map(this.toSyntheticName);\n    }\n\n    return names;\n  }\n\n  get atNames() {\n    let atNames = this._atNames;\n\n    if (!atNames) {\n      atNames = this._atNames = this._names.map(this.toAtName);\n    }\n\n    return atNames;\n  }\n\n  has(name) {\n    return this.names.indexOf(name) !== -1;\n  }\n\n  get(name, atNames = false) {\n    let {\n      base,\n      stack\n    } = this;\n    let names = atNames ? this.atNames : this.names;\n    let idx = names.indexOf(name);\n\n    if (idx === -1) {\n      return UNDEFINED_REFERENCE;\n    }\n\n    let ref = stack.get(idx, base);\n\n    if (DEBUG) {\n      return createDebugAliasRef(atNames ? name : `@${name}`, ref);\n    } else {\n      return ref;\n    }\n  }\n\n  capture() {\n    let {\n      names,\n      references\n    } = this;\n    let map = dict();\n\n    for (let i = 0; i < names.length; i++) {\n      let name = names[i];\n\n      if (DEBUG) {\n        map[name] = createDebugAliasRef(`@${name}`, references[i]);\n      } else {\n        map[name] = references[i];\n      }\n    }\n\n    return map;\n  }\n\n  merge(other) {\n    let keys = Object.keys(other);\n\n    if (keys.length > 0) {\n      let {\n        names,\n        length,\n        stack\n      } = this;\n      let newNames = names.slice();\n\n      for (let i = 0; i < keys.length; i++) {\n        let name = keys[i];\n        let idx = newNames.indexOf(name);\n\n        if (idx === -1) {\n          length = newNames.push(name);\n          stack.push(other[name]);\n        }\n      }\n\n      this.length = length;\n      this._references = null;\n      this._names = newNames;\n      this._atNames = null;\n    }\n  }\n\n  get references() {\n    let references = this._references;\n\n    if (!references) {\n      let {\n        base,\n        length,\n        stack\n      } = this;\n      references = this._references = stack.slice(base, base + length);\n    }\n\n    return references;\n  }\n\n  toSyntheticName(name) {\n    return name.slice(1);\n  }\n\n  toAtName(name) {\n    return `@${name}`;\n  }\n\n}\n\nfunction toSymbolName(name) {\n  return `&${name}`;\n}\n\nconst EMPTY_BLOCK_VALUES = emptyArray();\nclass BlockArgumentsImpl {\n  constructor() {\n    this.internalValues = null;\n    this._symbolNames = null;\n    this.internalTag = null;\n    this.names = EMPTY_STRING_ARRAY;\n    this.length = 0;\n    this.base = 0;\n  }\n\n  empty(stack, base) {\n    this.stack = stack;\n    this.names = EMPTY_STRING_ARRAY;\n    this.base = base;\n    this.length = 0;\n    this._symbolNames = null;\n    this.internalTag = CONSTANT_TAG;\n    this.internalValues = EMPTY_BLOCK_VALUES;\n  }\n\n  setup(stack, base, length, names) {\n    this.stack = stack;\n    this.names = names;\n    this.base = base;\n    this.length = length;\n    this._symbolNames = null;\n\n    if (length === 0) {\n      this.internalTag = CONSTANT_TAG;\n      this.internalValues = EMPTY_BLOCK_VALUES;\n    } else {\n      this.internalTag = null;\n      this.internalValues = null;\n    }\n  }\n\n  get values() {\n    let values = this.internalValues;\n\n    if (!values) {\n      let {\n        base,\n        length,\n        stack\n      } = this;\n      values = this.internalValues = stack.slice(base, base + length * 3);\n    }\n\n    return values;\n  }\n\n  has(name) {\n    return this.names.indexOf(name) !== -1;\n  }\n\n  get(name) {\n    let idx = this.names.indexOf(name);\n\n    if (idx === -1) {\n      return null;\n    }\n\n    let {\n      base,\n      stack\n    } = this;\n    let table = stack.get(idx * 3, base);\n    let scope = stack.get(idx * 3 + 1, base);\n    let handle = stack.get(idx * 3 + 2, base);\n    return handle === null ? null : [handle, scope, table];\n  }\n\n  capture() {\n    return new CapturedBlockArgumentsImpl(this.names, this.values);\n  }\n\n  get symbolNames() {\n    let symbolNames = this._symbolNames;\n\n    if (symbolNames === null) {\n      symbolNames = this._symbolNames = this.names.map(toSymbolName);\n    }\n\n    return symbolNames;\n  }\n\n}\n\nclass CapturedBlockArgumentsImpl {\n  constructor(names, values) {\n    this.names = names;\n    this.values = values;\n    this.length = names.length;\n  }\n\n  has(name) {\n    return this.names.indexOf(name) !== -1;\n  }\n\n  get(name) {\n    let idx = this.names.indexOf(name);\n    if (idx === -1) return null;\n    return [this.values[idx * 3 + 2], this.values[idx * 3 + 1], this.values[idx * 3]];\n  }\n\n}\n\nfunction createCapturedArgs(named, positional) {\n  return {\n    named,\n    positional\n  };\n}\nfunction reifyNamed$1(named) {\n  let reified = dict();\n\n  for (let key in named) {\n    reified[key] = valueForRef(named[key]);\n  }\n\n  return reified;\n}\nfunction reifyPositional$1(positional) {\n  return positional.map(valueForRef);\n}\nfunction reifyArgs(args) {\n  return {\n    named: reifyNamed$1(args.named),\n    positional: reifyPositional$1(args.positional)\n  };\n}\nconst EMPTY_NAMED = Object.freeze(Object.create(null));\nconst EMPTY_POSITIONAL = EMPTY_REFERENCES;\nconst EMPTY_ARGS = createCapturedArgs(EMPTY_NAMED, EMPTY_POSITIONAL);\n\nAPPEND_OPCODES.add(77\n/* Curry */\n, (vm, {\n  op1: type,\n  op2: _isStrict\n}) => {\n  let stack = vm.stack;\n  let definition = stack.pop();\n  let capturedArgs = stack.pop();\n  let owner = vm.getOwner();\n  let resolver = vm.runtime.resolver;\n  let isStrict = false;\n\n  if (DEBUG) {\n    // strict check only happens in DEBUG builds, no reason to load it otherwise\n    isStrict = vm[CONSTANTS].getValue(decodeHandle(_isStrict));\n  }\n\n  vm.loadValue($v0, createCurryRef(type, definition, owner, capturedArgs, resolver, isStrict));\n});\nAPPEND_OPCODES.add(107\n/* DynamicHelper */\n, vm => {\n  let stack = vm.stack;\n  let ref = stack.pop();\n  let args = stack.pop().capture();\n  let helperRef;\n  let initialOwner = vm.getOwner();\n  let helperInstanceRef = createComputeRef(() => {\n    if (helperRef !== undefined) {\n      destroy(helperRef);\n    }\n\n    let definition = valueForRef(ref);\n\n    if (isCurriedType(definition, 1\n    /* Helper */\n    )) {\n      let {\n        definition: resolvedDef,\n        owner,\n        positional,\n        named\n      } = resolveCurriedValue(definition);\n      let helper = resolveHelper(vm[CONSTANTS], resolvedDef, ref);\n\n      if (named !== undefined) {\n        args.named = assign({}, ...named, args.named);\n      }\n\n      if (positional !== undefined) {\n        args.positional = positional.concat(args.positional);\n      }\n\n      helperRef = helper(args, owner);\n      associateDestroyableChild(helperInstanceRef, helperRef);\n    } else if (isObject(definition)) {\n      let helper = resolveHelper(vm[CONSTANTS], definition, ref);\n      helperRef = helper(args, initialOwner);\n\n      if (_hasDestroyableChildren(helperRef)) {\n        associateDestroyableChild(helperInstanceRef, helperRef);\n      }\n    } else {\n      helperRef = UNDEFINED_REFERENCE;\n    }\n  });\n  let helperValueRef = createComputeRef(() => {\n    valueForRef(helperInstanceRef);\n    return valueForRef(helperRef);\n  });\n  vm.associateDestroyable(helperInstanceRef);\n  vm.loadValue($v0, helperValueRef);\n});\n\nfunction resolveHelper(constants, definition, ref) {\n  let handle = constants.helper(definition, null, true);\n\n  if (DEBUG && handle === null) {\n    throw new Error(`Expected a dynamic helper definition, but received an object or function that did not have a helper manager associated with it. The dynamic invocation was \\`{{${ref.debugLabel}}}\\` or \\`(${ref.debugLabel})\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${debugToString(definition)}`);\n  }\n\n  return constants.getValue(handle);\n}\n\nAPPEND_OPCODES.add(16\n/* Helper */\n, (vm, {\n  op1: handle\n}) => {\n  let stack = vm.stack;\n  let helper = vm[CONSTANTS].getValue(handle);\n  let args = stack.pop();\n  let value = helper(args.capture(), vm.getOwner(), vm.dynamicScope());\n\n  if (_hasDestroyableChildren(value)) {\n    vm.associateDestroyable(value);\n  }\n\n  vm.loadValue($v0, value);\n});\nAPPEND_OPCODES.add(21\n/* GetVariable */\n, (vm, {\n  op1: symbol$$1\n}) => {\n  let expr = vm.referenceForSymbol(symbol$$1);\n  vm.stack.push(expr);\n});\nAPPEND_OPCODES.add(19\n/* SetVariable */\n, (vm, {\n  op1: symbol$$1\n}) => {\n  let expr = vm.stack.pop();\n  vm.scope().bindSymbol(symbol$$1, expr);\n});\nAPPEND_OPCODES.add(20\n/* SetBlock */\n, (vm, {\n  op1: symbol$$1\n}) => {\n  let handle = vm.stack.pop();\n  let scope = vm.stack.pop();\n  let table = vm.stack.pop();\n  vm.scope().bindBlock(symbol$$1, [handle, scope, table]);\n});\nAPPEND_OPCODES.add(102\n/* ResolveMaybeLocal */\n, (vm, {\n  op1: _name\n}) => {\n  let name = vm[CONSTANTS].getValue(_name);\n  let locals = vm.scope().getPartialMap();\n  let ref = locals[name];\n\n  if (ref === undefined) {\n    ref = childRefFor(vm.getSelf(), name);\n  }\n\n  vm.stack.push(ref);\n});\nAPPEND_OPCODES.add(37\n/* RootScope */\n, (vm, {\n  op1: symbols\n}) => {\n  vm.pushRootScope(symbols, vm.getOwner());\n});\nAPPEND_OPCODES.add(22\n/* GetProperty */\n, (vm, {\n  op1: _key\n}) => {\n  let key = vm[CONSTANTS].getValue(_key);\n  let expr = vm.stack.pop();\n  vm.stack.push(childRefFor(expr, key));\n});\nAPPEND_OPCODES.add(23\n/* GetBlock */\n, (vm, {\n  op1: _block\n}) => {\n  let {\n    stack\n  } = vm;\n  let block = vm.scope().getBlock(_block);\n  stack.push(block);\n});\nAPPEND_OPCODES.add(24\n/* SpreadBlock */\n, vm => {\n  let {\n    stack\n  } = vm;\n  let block = stack.pop();\n\n  if (block && !isUndefinedReference(block)) {\n    let [handleOrCompilable, scope, table] = block;\n    stack.push(table);\n    stack.push(scope);\n    stack.push(handleOrCompilable);\n  } else {\n    stack.push(null);\n    stack.push(null);\n    stack.push(null);\n  }\n});\n\nfunction isUndefinedReference(input) {\n  return input === UNDEFINED_REFERENCE;\n}\n\nAPPEND_OPCODES.add(25\n/* HasBlock */\n, vm => {\n  let {\n    stack\n  } = vm;\n  let block = stack.pop();\n\n  if (block && !isUndefinedReference(block)) {\n    stack.push(TRUE_REFERENCE);\n  } else {\n    stack.push(FALSE_REFERENCE);\n  }\n});\nAPPEND_OPCODES.add(26\n/* HasBlockParams */\n, vm => {\n  // FIXME(mmun): should only need to push the symbol table\n  let block = vm.stack.pop();\n  let scope = vm.stack.pop();\n  let table = vm.stack.pop();\n  let hasBlockParams = table && table.parameters.length;\n  vm.stack.push(hasBlockParams ? TRUE_REFERENCE : FALSE_REFERENCE);\n});\nAPPEND_OPCODES.add(27\n/* Concat */\n, (vm, {\n  op1: count\n}) => {\n  let out = new Array(count);\n\n  for (let i = count; i > 0; i--) {\n    let offset = i - 1;\n    out[offset] = vm.stack.pop();\n  }\n\n  vm.stack.push(createConcatRef(out));\n});\nAPPEND_OPCODES.add(109\n/* IfInline */\n, vm => {\n  let condition = vm.stack.pop();\n  let truthy = vm.stack.pop();\n  let falsy = vm.stack.pop();\n  vm.stack.push(createComputeRef(() => {\n    if (toBool(valueForRef(condition)) === true) {\n      return valueForRef(truthy);\n    } else {\n      return valueForRef(falsy);\n    }\n  }));\n});\nAPPEND_OPCODES.add(110\n/* Not */\n, vm => {\n  let ref = vm.stack.pop();\n  vm.stack.push(createComputeRef(() => {\n    return !toBool(valueForRef(ref));\n  }));\n});\nAPPEND_OPCODES.add(111\n/* GetDynamicVar */\n, vm => {\n  let scope = vm.dynamicScope();\n  let stack = vm.stack;\n  let nameRef = stack.pop();\n  stack.push(createComputeRef(() => {\n    let name = String(valueForRef(nameRef));\n    return valueForRef(scope.get(name));\n  }));\n});\nAPPEND_OPCODES.add(112\n/* Log */\n, vm => {\n  let {\n    positional\n  } = vm.stack.pop().capture();\n  vm.loadValue($v0, createComputeRef(() => {\n    // eslint-disable-next-line no-console\n    console.log(...reifyPositional$1(positional));\n  }));\n});\n\nfunction resolveComponent(resolver, constants, name, owner) {\n  let definition = resolver.lookupComponent(name, owner);\n\n  if (DEBUG && !definition) {\n    throw new Error(`Attempted to resolve \\`${name}\\`, which was expected to be a component, but nothing was found.`);\n  }\n\n  return constants.resolvedComponent(definition, name);\n}\n\n/** @internal */\nfunction hasCustomDebugRenderTreeLifecycle(manager) {\n  return 'getDebugCustomRenderTree' in manager;\n}\n\nfunction createClassListRef(list) {\n  return createComputeRef(() => {\n    let ret = [];\n\n    for (let i = 0; i < list.length; i++) {\n      let ref = list[i];\n      let value = normalizeStringValue(typeof ref === 'string' ? ref : valueForRef(list[i]));\n      if (value) ret.push(value);\n    }\n\n    return ret.length === 0 ? null : ret.join(' ');\n  });\n}\n\nAPPEND_OPCODES.add(39\n/* ChildScope */\n, vm => vm.pushChildScope());\nAPPEND_OPCODES.add(40\n/* PopScope */\n, vm => vm.popScope());\nAPPEND_OPCODES.add(59\n/* PushDynamicScope */\n, vm => vm.pushDynamicScope());\nAPPEND_OPCODES.add(60\n/* PopDynamicScope */\n, vm => vm.popDynamicScope());\nAPPEND_OPCODES.add(28\n/* Constant */\n, (vm, {\n  op1: other\n}) => {\n  vm.stack.push(vm[CONSTANTS].getValue(decodeHandle(other)));\n});\nAPPEND_OPCODES.add(29\n/* ConstantReference */\n, (vm, {\n  op1: other\n}) => {\n  vm.stack.push(createConstRef(vm[CONSTANTS].getValue(decodeHandle(other)), false));\n});\nAPPEND_OPCODES.add(30\n/* Primitive */\n, (vm, {\n  op1: primitive\n}) => {\n  let stack = vm.stack;\n\n  if (isHandle(primitive)) {\n    // it is a handle which does not already exist on the stack\n    let value = vm[CONSTANTS].getValue(decodeHandle(primitive));\n    stack.push(value);\n  } else {\n    // is already an encoded immediate or primitive handle\n    stack.push(decodeImmediate(primitive));\n  }\n});\nAPPEND_OPCODES.add(31\n/* PrimitiveReference */\n, vm => {\n  let stack = vm.stack;\n  let value = stack.pop();\n  let ref;\n\n  if (value === undefined) {\n    ref = UNDEFINED_REFERENCE;\n  } else if (value === null) {\n    ref = NULL_REFERENCE;\n  } else if (value === true) {\n    ref = TRUE_REFERENCE;\n  } else if (value === false) {\n    ref = FALSE_REFERENCE;\n  } else {\n    ref = createPrimitiveRef(value);\n  }\n\n  stack.push(ref);\n});\nAPPEND_OPCODES.add(33\n/* Dup */\n, (vm, {\n  op1: register,\n  op2: offset\n}) => {\n  let position = vm.fetchValue(register) - offset;\n  vm.stack.dup(position);\n});\nAPPEND_OPCODES.add(34\n/* Pop */\n, (vm, {\n  op1: count\n}) => {\n  vm.stack.pop(count);\n});\nAPPEND_OPCODES.add(35\n/* Load */\n, (vm, {\n  op1: register\n}) => {\n  vm.load(register);\n});\nAPPEND_OPCODES.add(36\n/* Fetch */\n, (vm, {\n  op1: register\n}) => {\n  vm.fetch(register);\n});\nAPPEND_OPCODES.add(58\n/* BindDynamicScope */\n, (vm, {\n  op1: _names\n}) => {\n  let names = vm[CONSTANTS].getArray(_names);\n  vm.bindDynamicScope(names);\n});\nAPPEND_OPCODES.add(69\n/* Enter */\n, (vm, {\n  op1: args\n}) => {\n  vm.enter(args);\n});\nAPPEND_OPCODES.add(70\n/* Exit */\n, vm => {\n  vm.exit();\n});\nAPPEND_OPCODES.add(63\n/* PushSymbolTable */\n, (vm, {\n  op1: _table\n}) => {\n  let stack = vm.stack;\n  stack.push(vm[CONSTANTS].getValue(_table));\n});\nAPPEND_OPCODES.add(62\n/* PushBlockScope */\n, vm => {\n  let stack = vm.stack;\n  stack.push(vm.scope());\n});\nAPPEND_OPCODES.add(61\n/* CompileBlock */\n, vm => {\n  let stack = vm.stack;\n  let block = stack.pop();\n\n  if (block) {\n    stack.push(vm.compile(block));\n  } else {\n    stack.push(null);\n  }\n});\nAPPEND_OPCODES.add(64\n/* InvokeYield */\n, vm => {\n  let {\n    stack\n  } = vm;\n  let handle = stack.pop();\n  let scope = stack.pop();\n  let table = stack.pop();\n  let args = stack.pop();\n\n  if (table === null) {\n    // To balance the pop{Frame,Scope}\n    vm.pushFrame();\n    vm.pushScope(scope !== null && scope !== void 0 ? scope : vm.scope());\n    return;\n  }\n\n  let invokingScope = scope; // If necessary, create a child scope\n\n  {\n    let locals = table.parameters;\n    let localsCount = locals.length;\n\n    if (localsCount > 0) {\n      invokingScope = invokingScope.child();\n\n      for (let i = 0; i < localsCount; i++) {\n        invokingScope.bindSymbol(locals[i], args.at(i));\n      }\n    }\n  }\n  vm.pushFrame();\n  vm.pushScope(invokingScope);\n  vm.call(handle);\n});\nAPPEND_OPCODES.add(65\n/* JumpIf */\n, (vm, {\n  op1: target\n}) => {\n  let reference = vm.stack.pop();\n  let value = Boolean(valueForRef(reference));\n\n  if (isConstRef(reference)) {\n    if (value === true) {\n      vm.goto(target);\n    }\n  } else {\n    if (value === true) {\n      vm.goto(target);\n    }\n\n    vm.updateWith(new Assert(reference));\n  }\n});\nAPPEND_OPCODES.add(66\n/* JumpUnless */\n, (vm, {\n  op1: target\n}) => {\n  let reference = vm.stack.pop();\n  let value = Boolean(valueForRef(reference));\n\n  if (isConstRef(reference)) {\n    if (value === false) {\n      vm.goto(target);\n    }\n  } else {\n    if (value === false) {\n      vm.goto(target);\n    }\n\n    vm.updateWith(new Assert(reference));\n  }\n});\nAPPEND_OPCODES.add(67\n/* JumpEq */\n, (vm, {\n  op1: target,\n  op2: comparison\n}) => {\n  let other = vm.stack.peek();\n\n  if (other === comparison) {\n    vm.goto(target);\n  }\n});\nAPPEND_OPCODES.add(68\n/* AssertSame */\n, vm => {\n  let reference = vm.stack.peek();\n\n  if (isConstRef(reference) === false) {\n    vm.updateWith(new Assert(reference));\n  }\n});\nAPPEND_OPCODES.add(71\n/* ToBoolean */\n, vm => {\n  let {\n    stack\n  } = vm;\n  let valueRef = stack.pop();\n  stack.push(createComputeRef(() => toBool(valueForRef(valueRef))));\n});\nclass Assert {\n  constructor(ref) {\n    this.ref = ref;\n    this.last = valueForRef(ref);\n  }\n\n  evaluate(vm) {\n    let {\n      last,\n      ref\n    } = this;\n    let current = valueForRef(ref);\n\n    if (last !== current) {\n      vm.throw();\n    }\n  }\n\n}\nclass AssertFilter {\n  constructor(ref, filter) {\n    this.ref = ref;\n    this.filter = filter;\n    this.last = filter(valueForRef(ref));\n  }\n\n  evaluate(vm) {\n    let {\n      last,\n      ref,\n      filter\n    } = this;\n    let current = filter(valueForRef(ref));\n\n    if (last !== current) {\n      vm.throw();\n    }\n  }\n\n}\nclass JumpIfNotModifiedOpcode {\n  constructor() {\n    this.tag = CONSTANT_TAG;\n    this.lastRevision = INITIAL;\n  }\n\n  finalize(tag, target) {\n    this.target = target;\n    this.didModify(tag);\n  }\n\n  evaluate(vm) {\n    let {\n      tag,\n      target,\n      lastRevision\n    } = this;\n\n    if (!vm.alwaysRevalidate && validateTag(tag, lastRevision)) {\n      consumeTag(tag);\n      vm.goto(target);\n    }\n  }\n\n  didModify(tag) {\n    this.tag = tag;\n    this.lastRevision = valueForTag(this.tag);\n    consumeTag(tag);\n  }\n\n}\nclass BeginTrackFrameOpcode {\n  constructor(debugLabel) {\n    this.debugLabel = debugLabel;\n  }\n\n  evaluate() {\n    beginTrackFrame(this.debugLabel);\n  }\n\n}\nclass EndTrackFrameOpcode {\n  constructor(target) {\n    this.target = target;\n  }\n\n  evaluate() {\n    let tag = endTrackFrame();\n    this.target.didModify(tag);\n  }\n\n}\n\nAPPEND_OPCODES.add(41\n/* Text */\n, (vm, {\n  op1: text\n}) => {\n  vm.elements().appendText(vm[CONSTANTS].getValue(text));\n});\nAPPEND_OPCODES.add(42\n/* Comment */\n, (vm, {\n  op1: text\n}) => {\n  vm.elements().appendComment(vm[CONSTANTS].getValue(text));\n});\nAPPEND_OPCODES.add(48\n/* OpenElement */\n, (vm, {\n  op1: tag\n}) => {\n  vm.elements().openElement(vm[CONSTANTS].getValue(tag));\n});\nAPPEND_OPCODES.add(49\n/* OpenDynamicElement */\n, vm => {\n  let tagName = valueForRef(vm.stack.pop());\n  vm.elements().openElement(tagName);\n});\nAPPEND_OPCODES.add(50\n/* PushRemoteElement */\n, vm => {\n  let elementRef = vm.stack.pop();\n  let insertBeforeRef = vm.stack.pop();\n  let guidRef = vm.stack.pop();\n  let element = valueForRef(elementRef);\n  let insertBefore = valueForRef(insertBeforeRef);\n  let guid = valueForRef(guidRef);\n\n  if (!isConstRef(elementRef)) {\n    vm.updateWith(new Assert(elementRef));\n  }\n\n  if (insertBefore !== undefined && !isConstRef(insertBeforeRef)) {\n    vm.updateWith(new Assert(insertBeforeRef));\n  }\n\n  let block = vm.elements().pushRemoteElement(element, guid, insertBefore);\n  if (block) vm.associateDestroyable(block);\n});\nAPPEND_OPCODES.add(56\n/* PopRemoteElement */\n, vm => {\n  vm.elements().popRemoteElement();\n});\nAPPEND_OPCODES.add(54\n/* FlushElement */\n, vm => {\n  let operations = vm.fetchValue($t0);\n  let modifiers = null;\n\n  if (operations) {\n    modifiers = operations.flush(vm);\n    vm.loadValue($t0, null);\n  }\n\n  vm.elements().flushElement(modifiers);\n});\nAPPEND_OPCODES.add(55\n/* CloseElement */\n, vm => {\n  let modifiers = vm.elements().closeElement();\n\n  if (modifiers) {\n    modifiers.forEach(modifier => {\n      vm.env.scheduleInstallModifier(modifier);\n      let {\n        manager,\n        state\n      } = modifier;\n      let d = manager.getDestroyable(state);\n\n      if (d) {\n        vm.associateDestroyable(d);\n      }\n    });\n  }\n});\nAPPEND_OPCODES.add(57\n/* Modifier */\n, (vm, {\n  op1: handle\n}) => {\n  if (vm.env.isInteractive === false) {\n    return;\n  }\n\n  let owner = vm.getOwner();\n  let args = vm.stack.pop();\n  let definition = vm[CONSTANTS].getValue(handle);\n  let {\n    manager\n  } = definition;\n  let {\n    constructing\n  } = vm.elements();\n  let state = manager.create(owner, constructing, definition.state, args.capture());\n  let instance = {\n    manager,\n    state,\n    definition\n  };\n  let operations = vm.fetchValue($t0);\n  operations.addModifier(instance);\n  let tag = manager.getTag(state);\n\n  if (tag !== null) {\n    consumeTag(tag);\n    return vm.updateWith(new UpdateModifierOpcode(tag, instance));\n  }\n});\nAPPEND_OPCODES.add(108\n/* DynamicModifier */\n, vm => {\n  if (vm.env.isInteractive === false) {\n    return;\n  }\n\n  let {\n    stack,\n    [CONSTANTS]: constants\n  } = vm;\n  let ref = stack.pop();\n  let args = stack.pop().capture();\n  let {\n    constructing\n  } = vm.elements();\n  let initialOwner = vm.getOwner();\n  let instanceRef = createComputeRef(() => {\n    let value = valueForRef(ref);\n    let owner;\n\n    if (!isObject(value)) {\n      return;\n    }\n\n    let hostDefinition;\n\n    if (isCurriedType(value, 2\n    /* Modifier */\n    )) {\n      let {\n        definition: resolvedDefinition,\n        owner: curriedOwner,\n        positional,\n        named\n      } = resolveCurriedValue(value);\n      hostDefinition = resolvedDefinition;\n      owner = curriedOwner;\n\n      if (positional !== undefined) {\n        args.positional = positional.concat(args.positional);\n      }\n\n      if (named !== undefined) {\n        args.named = assign({}, ...named, args.named);\n      }\n    } else {\n      hostDefinition = value;\n      owner = initialOwner;\n    }\n\n    let handle = constants.modifier(hostDefinition, null, true);\n\n    if (DEBUG && handle === null) {\n      throw new Error(`Expected a dynamic modifier definition, but received an object or function that did not have a modifier manager associated with it. The dynamic invocation was \\`{{${ref.debugLabel}}}\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${debugToString(hostDefinition)}`);\n    }\n\n    let definition = constants.getValue(handle);\n    let {\n      manager\n    } = definition;\n    let state = manager.create(owner, constructing, definition.state, args);\n    return {\n      manager,\n      state,\n      definition\n    };\n  });\n  let instance = valueForRef(instanceRef);\n  let tag = null;\n\n  if (instance !== undefined) {\n    let operations = vm.fetchValue($t0);\n    operations.addModifier(instance);\n    tag = instance.manager.getTag(instance.state);\n\n    if (tag !== null) {\n      consumeTag(tag);\n    }\n  }\n\n  if (!isConstRef(ref) || tag) {\n    return vm.updateWith(new UpdateDynamicModifierOpcode(tag, instance, instanceRef));\n  }\n});\nclass UpdateModifierOpcode {\n  constructor(tag, modifier) {\n    this.tag = tag;\n    this.modifier = modifier;\n    this.lastUpdated = valueForTag(tag);\n  }\n\n  evaluate(vm) {\n    let {\n      modifier,\n      tag,\n      lastUpdated\n    } = this;\n    consumeTag(tag);\n\n    if (!validateTag(tag, lastUpdated)) {\n      vm.env.scheduleUpdateModifier(modifier);\n      this.lastUpdated = valueForTag(tag);\n    }\n  }\n\n}\nclass UpdateDynamicModifierOpcode {\n  constructor(tag, instance, instanceRef) {\n    this.tag = tag;\n    this.instance = instance;\n    this.instanceRef = instanceRef;\n    this.lastUpdated = valueForTag(tag !== null && tag !== void 0 ? tag : CURRENT_TAG);\n  }\n\n  evaluate(vm) {\n    let {\n      tag,\n      lastUpdated,\n      instance,\n      instanceRef\n    } = this;\n    let newInstance = valueForRef(instanceRef);\n\n    if (newInstance !== instance) {\n      if (instance !== undefined) {\n        let destroyable = instance.manager.getDestroyable(instance.state);\n\n        if (destroyable !== null) {\n          destroy(destroyable);\n        }\n      }\n\n      if (newInstance !== undefined) {\n        let {\n          manager,\n          state\n        } = newInstance;\n        let destroyable = manager.getDestroyable(state);\n\n        if (destroyable !== null) {\n          associateDestroyableChild(this, destroyable);\n        }\n\n        tag = manager.getTag(state);\n\n        if (tag !== null) {\n          this.lastUpdated = valueForTag(tag);\n        }\n\n        this.tag = tag;\n        vm.env.scheduleInstallModifier(newInstance);\n      }\n\n      this.instance = newInstance;\n    } else if (tag !== null && !validateTag(tag, lastUpdated)) {\n      vm.env.scheduleUpdateModifier(instance);\n      this.lastUpdated = valueForTag(tag);\n    }\n\n    if (tag !== null) {\n      consumeTag(tag);\n    }\n  }\n\n}\nAPPEND_OPCODES.add(51\n/* StaticAttr */\n, (vm, {\n  op1: _name,\n  op2: _value,\n  op3: _namespace\n}) => {\n  let name = vm[CONSTANTS].getValue(_name);\n  let value = vm[CONSTANTS].getValue(_value);\n  let namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n  vm.elements().setStaticAttribute(name, value, namespace);\n});\nAPPEND_OPCODES.add(52\n/* DynamicAttr */\n, (vm, {\n  op1: _name,\n  op2: _trusting,\n  op3: _namespace\n}) => {\n  let name = vm[CONSTANTS].getValue(_name);\n  let trusting = vm[CONSTANTS].getValue(_trusting);\n  let reference = vm.stack.pop();\n  let value = valueForRef(reference);\n  let namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n  let attribute = vm.elements().setDynamicAttribute(name, value, trusting, namespace);\n\n  if (!isConstRef(reference)) {\n    vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute, vm.env));\n  }\n});\nclass UpdateDynamicAttributeOpcode {\n  constructor(reference, attribute, env) {\n    let initialized = false;\n    this.updateRef = createComputeRef(() => {\n      let value = valueForRef(reference);\n\n      if (initialized === true) {\n        attribute.update(value, env);\n      } else {\n        initialized = true;\n      }\n    });\n    valueForRef(this.updateRef);\n  }\n\n  evaluate() {\n    valueForRef(this.updateRef);\n  }\n\n}\n\nAPPEND_OPCODES.add(78\n/* PushComponentDefinition */\n, (vm, {\n  op1: handle\n}) => {\n  let definition = vm[CONSTANTS].getValue(handle);\n  let {\n    manager,\n    capabilities\n  } = definition;\n  let instance = {\n    definition,\n    manager,\n    capabilities,\n    state: null,\n    handle: null,\n    table: null,\n    lookup: null\n  };\n  vm.stack.push(instance);\n});\nAPPEND_OPCODES.add(80\n/* ResolveDynamicComponent */\n, (vm, {\n  op1: _isStrict\n}) => {\n  let stack = vm.stack;\n  let component = valueForRef(stack.pop());\n  let constants = vm[CONSTANTS];\n  let owner = vm.getOwner();\n  let isStrict = constants.getValue(_isStrict);\n  vm.loadValue($t1, null); // Clear the temp register\n\n  let definition;\n\n  if (typeof component === 'string') {\n    if (DEBUG && isStrict) {\n      throw new Error(`Attempted to resolve a dynamic component with a string definition, \\`${component}\\` in a strict mode template. In strict mode, using strings to resolve component definitions is prohibited. You can instead import the component definition and use it directly.`);\n    }\n\n    let resolvedDefinition = resolveComponent(vm.runtime.resolver, constants, component, owner);\n    definition = resolvedDefinition;\n  } else if (isCurriedValue(component)) {\n    definition = component;\n  } else {\n    definition = constants.component(component, owner);\n  }\n\n  stack.push(definition);\n});\nAPPEND_OPCODES.add(81\n/* ResolveCurriedComponent */\n, vm => {\n  let stack = vm.stack;\n  let ref = stack.pop();\n  let value = valueForRef(ref);\n  let constants = vm[CONSTANTS];\n  let definition;\n\n  if (DEBUG && !(typeof value === 'function' || typeof value === 'object' && value !== null)) {\n    throw new Error(`Expected a component definition, but received ${value}. You may have accidentally done <${ref.debugLabel}>, where \"${ref.debugLabel}\" was a string instead of a curried component definition. You must either use the component definition directly, or use the {{component}} helper to create a curried component definition when invoking dynamically.`);\n  }\n\n  if (isCurriedValue(value)) {\n    definition = value;\n  } else {\n    definition = constants.component(value, vm.getOwner(), true);\n\n    if (DEBUG && definition === null) {\n      throw new Error(`Expected a dynamic component definition, but received an object or function that did not have a component manager associated with it. The dynamic invocation was \\`<${ref.debugLabel}>\\` or \\`{{${ref.debugLabel}}}\\`, and the incorrect definition is the value at the path \\`${ref.debugLabel}\\`, which was: ${debugToString(value)}`);\n    }\n  }\n\n  stack.push(definition);\n});\nAPPEND_OPCODES.add(79\n/* PushDynamicComponentInstance */\n, vm => {\n  let {\n    stack\n  } = vm;\n  let definition = stack.pop();\n  let capabilities, manager;\n\n  if (isCurriedValue(definition)) {\n    manager = capabilities = null;\n  } else {\n    manager = definition.manager;\n    capabilities = definition.capabilities;\n  }\n\n  stack.push({\n    definition,\n    capabilities,\n    manager,\n    state: null,\n    handle: null,\n    table: null\n  });\n});\nAPPEND_OPCODES.add(82\n/* PushArgs */\n, (vm, {\n  op1: _names,\n  op2: _blockNames,\n  op3: flags\n}) => {\n  let stack = vm.stack;\n  let names = vm[CONSTANTS].getArray(_names);\n  let positionalCount = flags >> 4;\n  let atNames = flags & 0b1000;\n  let blockNames = flags & 0b0111 ? vm[CONSTANTS].getArray(_blockNames) : EMPTY_STRING_ARRAY;\n  vm[ARGS].setup(stack, names, blockNames, positionalCount, !!atNames);\n  stack.push(vm[ARGS]);\n});\nAPPEND_OPCODES.add(83\n/* PushEmptyArgs */\n, vm => {\n  let {\n    stack\n  } = vm;\n  stack.push(vm[ARGS].empty(stack));\n});\nAPPEND_OPCODES.add(86\n/* CaptureArgs */\n, vm => {\n  let stack = vm.stack;\n  let args = stack.pop();\n  let capturedArgs = args.capture();\n  stack.push(capturedArgs);\n});\nAPPEND_OPCODES.add(85\n/* PrepareArgs */\n, (vm, {\n  op1: _state\n}) => {\n  let stack = vm.stack;\n  let instance = vm.fetchValue(_state);\n  let args = stack.pop();\n  let {\n    definition\n  } = instance;\n\n  if (isCurriedType(definition, 0\n  /* Component */\n  )) {\n    let constants = vm[CONSTANTS];\n    let {\n      definition: resolvedDefinition,\n      owner,\n      resolved,\n      positional,\n      named\n    } = resolveCurriedValue(definition);\n\n    if (resolved === true) {\n      definition = resolvedDefinition;\n    } else if (typeof resolvedDefinition === 'string') {\n      let resolvedValue = vm.runtime.resolver.lookupComponent(resolvedDefinition, owner);\n      definition = constants.resolvedComponent(resolvedValue, resolvedDefinition);\n    } else {\n      definition = constants.component(resolvedDefinition, owner);\n    }\n\n    if (named !== undefined) {\n      args.named.merge(assign({}, ...named));\n    }\n\n    if (positional !== undefined) {\n      args.realloc(positional.length);\n      args.positional.prepend(positional);\n    }\n\n    let {\n      manager\n    } = definition;\n    instance.definition = definition;\n    instance.manager = manager;\n    instance.capabilities = definition.capabilities; // Save off the owner that this component was curried with. Later on,\n    // we'll fetch the value of this register and set it as the owner on the\n    // new root scope.\n\n    vm.loadValue($t1, owner);\n  }\n\n  let {\n    manager,\n    state\n  } = definition;\n  let capabilities = instance.capabilities;\n\n  if (!managerHasCapability(manager, capabilities, 4\n  /* PrepareArgs */\n  )) {\n    stack.push(args);\n    return;\n  }\n\n  let blocks = args.blocks.values;\n  let blockNames = args.blocks.names;\n  let preparedArgs = manager.prepareArgs(state, args);\n\n  if (preparedArgs) {\n    args.clear();\n\n    for (let i = 0; i < blocks.length; i++) {\n      stack.push(blocks[i]);\n    }\n\n    let {\n      positional,\n      named\n    } = preparedArgs;\n    let positionalCount = positional.length;\n\n    for (let i = 0; i < positionalCount; i++) {\n      stack.push(positional[i]);\n    }\n\n    let names = Object.keys(named);\n\n    for (let i = 0; i < names.length; i++) {\n      stack.push(named[names[i]]);\n    }\n\n    args.setup(stack, names, blockNames, positionalCount, false);\n  }\n\n  stack.push(args);\n});\nAPPEND_OPCODES.add(87\n/* CreateComponent */\n, (vm, {\n  op1: flags,\n  op2: _state\n}) => {\n  let instance = vm.fetchValue(_state);\n  let {\n    definition,\n    manager,\n    capabilities\n  } = instance;\n\n  if (!managerHasCapability(manager, capabilities, 512\n  /* CreateInstance */\n  )) {\n    // TODO: Closure and Main components are always invoked dynamically, so this\n    // opcode may run even if this capability is not enabled. In the future we\n    // should handle this in a better way.\n    return;\n  }\n\n  let dynamicScope = null;\n\n  if (managerHasCapability(manager, capabilities, 64\n  /* DynamicScope */\n  )) {\n    dynamicScope = vm.dynamicScope();\n  }\n\n  let hasDefaultBlock = flags & 1;\n  let args = null;\n\n  if (managerHasCapability(manager, capabilities, 8\n  /* CreateArgs */\n  )) {\n    args = vm.stack.peek();\n  }\n\n  let self = null;\n\n  if (managerHasCapability(manager, capabilities, 128\n  /* CreateCaller */\n  )) {\n    self = vm.getSelf();\n  }\n\n  let state = manager.create(vm.getOwner(), definition.state, args, vm.env, dynamicScope, self, !!hasDefaultBlock); // We want to reuse the `state` POJO here, because we know that the opcodes\n  // only transition at exactly one place.\n\n  instance.state = state;\n\n  if (managerHasCapability(manager, capabilities, 256\n  /* UpdateHook */\n  )) {\n    vm.updateWith(new UpdateComponentOpcode(state, manager, dynamicScope));\n  }\n});\nAPPEND_OPCODES.add(88\n/* RegisterComponentDestructor */\n, (vm, {\n  op1: _state\n}) => {\n  let {\n    manager,\n    state,\n    capabilities\n  } = vm.fetchValue(_state);\n  let d = manager.getDestroyable(state);\n\n  if (DEBUG && !managerHasCapability(manager, capabilities, 2048\n  /* WillDestroy */\n  ) && d !== null && typeof 'willDestroy' in d) {\n    throw new Error('BUG: Destructor has willDestroy, but the willDestroy capability was not enabled for this component. Pre-destruction hooks must be explicitly opted into');\n  }\n\n  if (d) vm.associateDestroyable(d);\n});\nAPPEND_OPCODES.add(97\n/* BeginComponentTransaction */\n, (vm, {\n  op1: _state\n}) => {\n  var _a;\n\n  let name;\n\n  if (DEBUG) {\n    let {\n      definition,\n      manager\n    } = vm.fetchValue(_state);\n    name = (_a = definition.resolvedName) !== null && _a !== void 0 ? _a : manager.getDebugName(definition.state);\n  }\n\n  vm.beginCacheGroup(name);\n  vm.elements().pushSimpleBlock();\n});\nAPPEND_OPCODES.add(89\n/* PutComponentOperations */\n, vm => {\n  vm.loadValue($t0, new ComponentElementOperations());\n});\nAPPEND_OPCODES.add(53\n/* ComponentAttr */\n, (vm, {\n  op1: _name,\n  op2: _trusting,\n  op3: _namespace\n}) => {\n  let name = vm[CONSTANTS].getValue(_name);\n  let trusting = vm[CONSTANTS].getValue(_trusting);\n  let reference = vm.stack.pop();\n  let namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n  vm.fetchValue($t0).setAttribute(name, reference, trusting, namespace);\n});\nAPPEND_OPCODES.add(105\n/* StaticComponentAttr */\n, (vm, {\n  op1: _name,\n  op2: _value,\n  op3: _namespace\n}) => {\n  let name = vm[CONSTANTS].getValue(_name);\n  let value = vm[CONSTANTS].getValue(_value);\n  let namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n  vm.fetchValue($t0).setStaticAttribute(name, value, namespace);\n});\nclass ComponentElementOperations {\n  constructor() {\n    this.attributes = dict();\n    this.classes = [];\n    this.modifiers = [];\n  }\n\n  setAttribute(name, value, trusting, namespace) {\n    let deferred = {\n      value,\n      namespace,\n      trusting\n    };\n\n    if (name === 'class') {\n      this.classes.push(value);\n    }\n\n    this.attributes[name] = deferred;\n  }\n\n  setStaticAttribute(name, value, namespace) {\n    let deferred = {\n      value,\n      namespace\n    };\n\n    if (name === 'class') {\n      this.classes.push(value);\n    }\n\n    this.attributes[name] = deferred;\n  }\n\n  addModifier(modifier) {\n    this.modifiers.push(modifier);\n  }\n\n  flush(vm) {\n    let type;\n    let attributes = this.attributes;\n\n    for (let name in this.attributes) {\n      if (name === 'type') {\n        type = attributes[name];\n        continue;\n      }\n\n      let attr = this.attributes[name];\n\n      if (name === 'class') {\n        setDeferredAttr(vm, 'class', mergeClasses(this.classes), attr.namespace, attr.trusting);\n      } else {\n        setDeferredAttr(vm, name, attr.value, attr.namespace, attr.trusting);\n      }\n    }\n\n    if (type !== undefined) {\n      setDeferredAttr(vm, 'type', type.value, type.namespace, type.trusting);\n    }\n\n    return this.modifiers;\n  }\n\n}\n\nfunction mergeClasses(classes) {\n  if (classes.length === 0) {\n    return '';\n  }\n\n  if (classes.length === 1) {\n    return classes[0];\n  }\n\n  if (allStringClasses(classes)) {\n    return classes.join(' ');\n  }\n\n  return createClassListRef(classes);\n}\n\nfunction allStringClasses(classes) {\n  for (let i = 0; i < classes.length; i++) {\n    if (typeof classes[i] !== 'string') {\n      return false;\n    }\n  }\n\n  return true;\n}\n\nfunction setDeferredAttr(vm, name, value, namespace, trusting = false) {\n  if (typeof value === 'string') {\n    vm.elements().setStaticAttribute(name, value, namespace);\n  } else {\n    let attribute = vm.elements().setDynamicAttribute(name, valueForRef(value), trusting, namespace);\n\n    if (!isConstRef(value)) {\n      vm.updateWith(new UpdateDynamicAttributeOpcode(value, attribute, vm.env));\n    }\n  }\n}\n\nAPPEND_OPCODES.add(99\n/* DidCreateElement */\n, (vm, {\n  op1: _state\n}) => {\n  let {\n    definition,\n    state\n  } = vm.fetchValue(_state);\n  let {\n    manager\n  } = definition;\n  let operations = vm.fetchValue($t0);\n  manager.didCreateElement(state, vm.elements().constructing, operations);\n});\nAPPEND_OPCODES.add(90\n/* GetComponentSelf */\n, (vm, {\n  op1: _state,\n  op2: _names\n}) => {\n  var _a;\n\n  let instance = vm.fetchValue(_state);\n  let {\n    definition,\n    state\n  } = instance;\n  let {\n    manager\n  } = definition;\n  let selfRef = manager.getSelf(state);\n\n  if (vm.env.debugRenderTree !== undefined) {\n    let instance = vm.fetchValue(_state);\n    let {\n      definition,\n      manager\n    } = instance;\n    let args;\n\n    if (vm.stack.peek() === vm[ARGS]) {\n      args = vm[ARGS].capture();\n    } else {\n      let names = vm[CONSTANTS].getArray(_names);\n      vm[ARGS].setup(vm.stack, names, [], 0, true);\n      args = vm[ARGS].capture();\n    }\n\n    let moduleName;\n    let compilable = definition.compilable;\n\n    if (compilable === null) {\n      compilable = manager.getDynamicLayout(state, vm.runtime.resolver);\n\n      if (compilable !== null) {\n        moduleName = compilable.moduleName;\n      } else {\n        moduleName = '__default__.hbs';\n      }\n    } else {\n      moduleName = compilable.moduleName;\n    } // For tearing down the debugRenderTree\n\n\n    vm.associateDestroyable(instance);\n\n    if (hasCustomDebugRenderTreeLifecycle(manager)) {\n      let nodes = manager.getDebugCustomRenderTree(instance.definition.state, instance.state, args, moduleName);\n      nodes.forEach(node => {\n        let {\n          bucket\n        } = node;\n        vm.env.debugRenderTree.create(bucket, node);\n        registerDestructor(instance, () => {\n          var _a;\n\n          (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.willDestroy(bucket);\n        });\n        vm.updateWith(new DebugRenderTreeUpdateOpcode(bucket));\n      });\n    } else {\n      let name = (_a = definition.resolvedName) !== null && _a !== void 0 ? _a : manager.getDebugName(definition.state);\n      vm.env.debugRenderTree.create(instance, {\n        type: 'component',\n        name,\n        args,\n        template: moduleName,\n        instance: valueForRef(selfRef)\n      });\n      vm.associateDestroyable(instance);\n      registerDestructor(instance, () => {\n        var _a;\n\n        (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.willDestroy(instance);\n      });\n      vm.updateWith(new DebugRenderTreeUpdateOpcode(instance));\n    }\n  }\n\n  vm.stack.push(selfRef);\n});\nAPPEND_OPCODES.add(91\n/* GetComponentTagName */\n, (vm, {\n  op1: _state\n}) => {\n  let {\n    definition,\n    state\n  } = vm.fetchValue(_state);\n  let {\n    manager\n  } = definition;\n  let tagName = manager.getTagName(state); // User provided value from JS, so we don't bother to encode\n\n  vm.stack.push(tagName);\n}); // Dynamic Invocation Only\n\nAPPEND_OPCODES.add(92\n/* GetComponentLayout */\n, (vm, {\n  op1: _state\n}) => {\n  let instance = vm.fetchValue(_state);\n  let {\n    manager,\n    definition\n  } = instance;\n  let {\n    stack\n  } = vm;\n  let {\n    compilable\n  } = definition;\n\n  if (compilable === null) {\n    let {\n      capabilities\n    } = instance;\n    compilable = manager.getDynamicLayout(instance.state, vm.runtime.resolver);\n\n    if (compilable === null) {\n      if (managerHasCapability(manager, capabilities, 1024\n      /* Wrapped */\n      )) {\n        compilable = unwrapTemplate(vm[CONSTANTS].defaultTemplate).asWrappedLayout();\n      } else {\n        compilable = unwrapTemplate(vm[CONSTANTS].defaultTemplate).asLayout();\n      }\n    }\n  }\n\n  let handle = compilable.compile(vm.context);\n  stack.push(compilable.symbolTable);\n  stack.push(handle);\n});\nAPPEND_OPCODES.add(75\n/* Main */\n, (vm, {\n  op1: register\n}) => {\n  let definition = vm.stack.pop();\n  let invocation = vm.stack.pop();\n  let {\n    manager,\n    capabilities\n  } = definition;\n  let state = {\n    definition,\n    manager,\n    capabilities,\n    state: null,\n    handle: invocation.handle,\n    table: invocation.symbolTable,\n    lookup: null\n  };\n  vm.loadValue(register, state);\n});\nAPPEND_OPCODES.add(95\n/* PopulateLayout */\n, (vm, {\n  op1: _state\n}) => {\n  let {\n    stack\n  } = vm; // In DEBUG handles could be ErrHandle objects\n\n  let handle = stack.pop();\n  let table = stack.pop();\n  let state = vm.fetchValue(_state);\n  state.handle = handle;\n  state.table = table;\n});\nAPPEND_OPCODES.add(38\n/* VirtualRootScope */\n, (vm, {\n  op1: _state\n}) => {\n  let {\n    table,\n    manager,\n    capabilities,\n    state\n  } = vm.fetchValue(_state);\n  let owner;\n\n  if (managerHasCapability(manager, capabilities, 4096\n  /* HasSubOwner */\n  )) {\n    owner = manager.getOwner(state);\n    vm.loadValue($t1, null); // Clear the temp register\n  } else {\n    // Check the temp register to see if an owner was resolved from currying\n    owner = vm.fetchValue($t1);\n\n    if (owner === null) {\n      // If an owner wasn't found, default to using the current owner. This\n      // will happen for normal dynamic component invocation,\n      // e.g. <SomeClassicEmberComponent/>\n      owner = vm.getOwner();\n    } else {\n      // Else the owner was found, so clear the temp register. This will happen\n      // if we are loading a curried component, e.g. <@someCurriedComponent/>\n      vm.loadValue($t1, null);\n    }\n  }\n\n  vm.pushRootScope(table.symbols.length + 1, owner);\n});\nAPPEND_OPCODES.add(94\n/* SetupForEval */\n, (vm, {\n  op1: _state\n}) => {\n  let state = vm.fetchValue(_state);\n\n  if (state.table.hasEval) {\n    let lookup = state.lookup = dict();\n    vm.scope().bindEvalScope(lookup);\n  }\n});\nAPPEND_OPCODES.add(17\n/* SetNamedVariables */\n, (vm, {\n  op1: _state\n}) => {\n  let state = vm.fetchValue(_state);\n  let scope = vm.scope();\n  let args = vm.stack.peek();\n  let callerNames = args.named.atNames;\n\n  for (let i = callerNames.length - 1; i >= 0; i--) {\n    let atName = callerNames[i];\n    let symbol$$1 = state.table.symbols.indexOf(callerNames[i]);\n    let value = args.named.get(atName, true);\n    if (symbol$$1 !== -1) scope.bindSymbol(symbol$$1 + 1, value);\n    if (state.lookup) state.lookup[atName] = value;\n  }\n});\n\nfunction bindBlock(symbolName, blockName, state, blocks, vm) {\n  let symbol$$1 = state.table.symbols.indexOf(symbolName);\n  let block = blocks.get(blockName);\n  if (symbol$$1 !== -1) vm.scope().bindBlock(symbol$$1 + 1, block);\n  if (state.lookup) state.lookup[symbolName] = block;\n}\n\nAPPEND_OPCODES.add(18\n/* SetBlocks */\n, (vm, {\n  op1: _state\n}) => {\n  let state = vm.fetchValue(_state);\n  let {\n    blocks\n  } = vm.stack.peek();\n\n  for (let i = 0; i < blocks.names.length; i++) {\n    bindBlock(blocks.symbolNames[i], blocks.names[i], state, blocks, vm);\n  }\n}); // Dynamic Invocation Only\n\nAPPEND_OPCODES.add(96\n/* InvokeComponentLayout */\n, (vm, {\n  op1: _state\n}) => {\n  let state = vm.fetchValue(_state);\n  vm.call(state.handle);\n});\nAPPEND_OPCODES.add(100\n/* DidRenderLayout */\n, (vm, {\n  op1: _state\n}) => {\n  let instance = vm.fetchValue(_state);\n  let {\n    manager,\n    state,\n    capabilities\n  } = instance;\n  let bounds = vm.elements().popBlock();\n\n  if (vm.env.debugRenderTree !== undefined) {\n    if (hasCustomDebugRenderTreeLifecycle(manager)) {\n      let nodes = manager.getDebugCustomRenderTree(instance.definition.state, state, EMPTY_ARGS);\n      nodes.reverse().forEach(node => {\n        let {\n          bucket\n        } = node;\n        vm.env.debugRenderTree.didRender(bucket, bounds);\n        vm.updateWith(new DebugRenderTreeDidRenderOpcode(bucket, bounds));\n      });\n    } else {\n      vm.env.debugRenderTree.didRender(instance, bounds);\n      vm.updateWith(new DebugRenderTreeDidRenderOpcode(instance, bounds));\n    }\n  }\n\n  if (managerHasCapability(manager, capabilities, 512\n  /* CreateInstance */\n  )) {\n    let mgr = manager;\n    mgr.didRenderLayout(state, bounds);\n    vm.env.didCreate(instance);\n    vm.updateWith(new DidUpdateLayoutOpcode(instance, bounds));\n  }\n});\nAPPEND_OPCODES.add(98\n/* CommitComponentTransaction */\n, vm => {\n  vm.commitCacheGroup();\n});\nclass UpdateComponentOpcode {\n  constructor(component, manager, dynamicScope) {\n    this.component = component;\n    this.manager = manager;\n    this.dynamicScope = dynamicScope;\n  }\n\n  evaluate(_vm) {\n    let {\n      component,\n      manager,\n      dynamicScope\n    } = this;\n    manager.update(component, dynamicScope);\n  }\n\n}\nclass DidUpdateLayoutOpcode {\n  constructor(component, bounds) {\n    this.component = component;\n    this.bounds = bounds;\n  }\n\n  evaluate(vm) {\n    let {\n      component,\n      bounds\n    } = this;\n    let {\n      manager,\n      state\n    } = component;\n    manager.didUpdateLayout(state, bounds);\n    vm.env.didUpdate(component);\n  }\n\n}\n\nclass DebugRenderTreeUpdateOpcode {\n  constructor(bucket) {\n    this.bucket = bucket;\n  }\n\n  evaluate(vm) {\n    var _a;\n\n    (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.update(this.bucket);\n  }\n\n}\n\nclass DebugRenderTreeDidRenderOpcode {\n  constructor(bucket, bounds) {\n    this.bucket = bucket;\n    this.bounds = bounds;\n  }\n\n  evaluate(vm) {\n    var _a;\n\n    (_a = vm.env.debugRenderTree) === null || _a === void 0 ? void 0 : _a.didRender(this.bucket, this.bounds);\n  }\n\n}\n\nclass DynamicTextContent {\n  constructor(node, reference, lastValue) {\n    this.node = node;\n    this.reference = reference;\n    this.lastValue = lastValue;\n  }\n\n  evaluate() {\n    let value = valueForRef(this.reference);\n    let {\n      lastValue\n    } = this;\n    if (value === lastValue) return;\n    let normalized;\n\n    if (isEmpty(value)) {\n      normalized = '';\n    } else if (isString(value)) {\n      normalized = value;\n    } else {\n      normalized = String(value);\n    }\n\n    if (normalized !== lastValue) {\n      let textNode = this.node;\n      textNode.nodeValue = this.lastValue = normalized;\n    }\n  }\n\n}\n\nfunction toContentType(value) {\n  if (shouldCoerce(value)) {\n    return 2\n    /* String */\n    ;\n  } else if (isCurriedType(value, 0\n  /* Component */\n  ) || hasInternalComponentManager(value)) {\n    return 0\n    /* Component */\n    ;\n  } else if (isCurriedType(value, 1\n  /* Helper */\n  ) || hasInternalHelperManager(value)) {\n    return 1\n    /* Helper */\n    ;\n  } else if (isSafeString(value)) {\n    return 4\n    /* SafeString */\n    ;\n  } else if (isFragment(value)) {\n    return 5\n    /* Fragment */\n    ;\n  } else if (isNode(value)) {\n    return 6\n    /* Node */\n    ;\n  } else {\n      return 2\n      /* String */\n      ;\n    }\n}\n\nfunction toDynamicContentType(value) {\n  if (!isObject(value)) {\n    return 2\n    /* String */\n    ;\n  }\n\n  if (isCurriedType(value, 0\n  /* Component */\n  ) || hasInternalComponentManager(value)) {\n    return 0\n    /* Component */\n    ;\n  } else {\n    if (DEBUG && !isCurriedType(value, 1\n    /* Helper */\n    ) && !hasInternalHelperManager(value)) {\n      throw new Error(`Attempted use a dynamic value as a component or helper, but that value did not have an associated component or helper manager. The value was: ${value}`);\n    }\n\n    return 1\n    /* Helper */\n    ;\n  }\n}\n\nAPPEND_OPCODES.add(76\n/* ContentType */\n, vm => {\n  let reference = vm.stack.peek();\n  vm.stack.push(toContentType(valueForRef(reference)));\n\n  if (!isConstRef(reference)) {\n    vm.updateWith(new AssertFilter(reference, toContentType));\n  }\n});\nAPPEND_OPCODES.add(106\n/* DynamicContentType */\n, vm => {\n  let reference = vm.stack.peek();\n  vm.stack.push(toDynamicContentType(valueForRef(reference)));\n\n  if (!isConstRef(reference)) {\n    vm.updateWith(new AssertFilter(reference, toDynamicContentType));\n  }\n});\nAPPEND_OPCODES.add(43\n/* AppendHTML */\n, vm => {\n  let reference = vm.stack.pop();\n  let rawValue = valueForRef(reference);\n  let value = isEmpty(rawValue) ? '' : String(rawValue);\n  vm.elements().appendDynamicHTML(value);\n});\nAPPEND_OPCODES.add(44\n/* AppendSafeHTML */\n, vm => {\n  let reference = vm.stack.pop();\n  let rawValue = valueForRef(reference).toHTML();\n  let value = isEmpty(rawValue) ? '' : rawValue;\n  vm.elements().appendDynamicHTML(value);\n});\nAPPEND_OPCODES.add(47\n/* AppendText */\n, vm => {\n  let reference = vm.stack.pop();\n  let rawValue = valueForRef(reference);\n  let value = isEmpty(rawValue) ? '' : String(rawValue);\n  let node = vm.elements().appendDynamicText(value);\n\n  if (!isConstRef(reference)) {\n    vm.updateWith(new DynamicTextContent(node, reference, value));\n  }\n});\nAPPEND_OPCODES.add(45\n/* AppendDocumentFragment */\n, vm => {\n  let reference = vm.stack.pop();\n  let value = valueForRef(reference);\n  vm.elements().appendDynamicFragment(value);\n});\nAPPEND_OPCODES.add(46\n/* AppendNode */\n, vm => {\n  let reference = vm.stack.pop();\n  let value = valueForRef(reference);\n  vm.elements().appendDynamicNode(value);\n});\n\nfunction debugCallback(context, get) {\n  // eslint-disable-next-line no-console\n  console.info('Use `context`, and `get(<path>)` to debug this template.'); // for example...\n  // eslint-disable-next-line no-unused-expressions\n\n  context === get('this'); // eslint-disable-next-line no-debugger\n\n  debugger;\n}\n\nlet callback = debugCallback; // For testing purposes\n\nfunction setDebuggerCallback(cb) {\n  callback = cb;\n}\nfunction resetDebuggerCallback() {\n  callback = debugCallback;\n}\n\nclass ScopeInspector {\n  constructor(scope, symbols, evalInfo) {\n    this.scope = scope;\n    this.locals = dict();\n\n    for (let i = 0; i < evalInfo.length; i++) {\n      let slot = evalInfo[i];\n      let name = symbols[slot - 1];\n      let ref = scope.getSymbol(slot);\n      this.locals[name] = ref;\n    }\n  }\n\n  get(path) {\n    let {\n      scope,\n      locals\n    } = this;\n    let parts = path.split('.');\n    let [head, ...tail] = path.split('.');\n    let evalScope = scope.getEvalScope();\n    let ref;\n\n    if (head === 'this') {\n      ref = scope.getSelf();\n    } else if (locals[head]) {\n      ref = locals[head];\n    } else if (head.indexOf('@') === 0 && evalScope[head]) {\n      ref = evalScope[head];\n    } else {\n      ref = this.scope.getSelf();\n      tail = parts;\n    }\n\n    return tail.reduce((r, part) => childRefFor(r, part), ref);\n  }\n\n}\n\nAPPEND_OPCODES.add(103\n/* Debugger */\n, (vm, {\n  op1: _symbols,\n  op2: _evalInfo\n}) => {\n  let symbols = vm[CONSTANTS].getArray(_symbols);\n  let evalInfo = vm[CONSTANTS].getArray(decodeHandle(_evalInfo));\n  let inspector = new ScopeInspector(vm.scope(), symbols, evalInfo);\n  callback(valueForRef(vm.getSelf()), path => valueForRef(inspector.get(path)));\n});\n\nAPPEND_OPCODES.add(72\n/* EnterList */\n, (vm, {\n  op1: relativeStart,\n  op2: elseTarget\n}) => {\n  let stack = vm.stack;\n  let listRef = stack.pop();\n  let keyRef = stack.pop();\n  let keyValue = valueForRef(keyRef);\n  let key = keyValue === null ? '@identity' : String(keyValue);\n  let iteratorRef = createIteratorRef(listRef, key);\n  let iterator = valueForRef(iteratorRef);\n  vm.updateWith(new AssertFilter(iteratorRef, iterator => iterator.isEmpty()));\n\n  if (iterator.isEmpty() === true) {\n    // TODO: Fix this offset, should be accurate\n    vm.goto(elseTarget + 1);\n  } else {\n    vm.enterList(iteratorRef, relativeStart);\n    vm.stack.push(iterator);\n  }\n});\nAPPEND_OPCODES.add(73\n/* ExitList */\n, vm => {\n  vm.exitList();\n});\nAPPEND_OPCODES.add(74\n/* Iterate */\n, (vm, {\n  op1: breaks\n}) => {\n  let stack = vm.stack;\n  let iterator = stack.peek();\n  let item = iterator.next();\n\n  if (item !== null) {\n    vm.registerItem(vm.enterItem(item));\n  } else {\n    vm.goto(breaks);\n  }\n});\n\nconst CAPABILITIES = {\n  dynamicLayout: false,\n  dynamicTag: false,\n  prepareArgs: false,\n  createArgs: false,\n  attributeHook: false,\n  elementHook: false,\n  createCaller: false,\n  dynamicScope: false,\n  updateHook: false,\n  createInstance: false,\n  wrapped: false,\n  willDestroy: false,\n  hasSubOwner: false\n};\nclass TemplateOnlyComponentManager {\n  getCapabilities() {\n    return CAPABILITIES;\n  }\n\n  getDebugName({\n    name\n  }) {\n    return name;\n  }\n\n  getSelf() {\n    return NULL_REFERENCE;\n  }\n\n  getDestroyable() {\n    return null;\n  }\n\n}\nconst TEMPLATE_ONLY_COMPONENT_MANAGER = new TemplateOnlyComponentManager(); // This is only exported for types, don't use this class directly\n\nclass TemplateOnlyComponentDefinition {\n  constructor(moduleName = '@glimmer/component/template-only', name = '(unknown template-only component)') {\n    this.moduleName = moduleName;\n    this.name = name;\n  }\n\n  toString() {\n    return this.moduleName;\n  }\n\n}\nsetInternalComponentManager(TEMPLATE_ONLY_COMPONENT_MANAGER, TemplateOnlyComponentDefinition.prototype);\n/**\n  This utility function is used to declare a given component has no backing class. When the rendering engine detects this it\n  is able to perform a number of optimizations. Templates that are associated with `templateOnly()` will be rendered _as is_\n  without adding a wrapping `<div>` (or any of the other element customization behaviors of [@ember/component](/ember/release/classes/Component)).\n  Specifically, this means that the template will be rendered as \"outer HTML\".\n\n  In general, this method will be used by build time tooling and would not be directly written in an application. However,\n  at times it may be useful to use directly to leverage the \"outer HTML\" semantics mentioned above. For example, if an addon would like\n  to use these semantics for its templates but cannot be certain it will only be consumed by applications that have enabled the\n  `template-only-glimmer-components` optional feature.\n\n  @example\n\n  ```js\n  import { templateOnlyComponent } from '@glimmer/runtime';\n\n  export default templateOnlyComponent();\n  ```\n\n  @public\n  @method templateOnly\n  @param {String} moduleName the module name that the template only component represents, this will be used for debugging purposes\n  @category EMBER_GLIMMER_SET_COMPONENT_TEMPLATE\n*/\n\nfunction templateOnlyComponent(moduleName, name) {\n  return new TemplateOnlyComponentDefinition(moduleName, name);\n}\n\n// http://www.w3.org/TR/html/syntax.html#html-integration-point\nconst SVG_INTEGRATION_POINTS = {\n  foreignObject: 1,\n  desc: 1,\n  title: 1\n}; // http://www.w3.org/TR/html/syntax.html#adjust-svg-attributes\n// TODO: Adjust SVG attributes\n// http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n// TODO: Adjust SVG elements\n// http://www.w3.org/TR/html/syntax.html#parsing-main-inforeign\n\nconst BLACKLIST_TABLE = Object.create(null);\nclass DOMOperations {\n  constructor(document) {\n    this.document = document;\n    this.setupUselessElement();\n  } // split into separate method so that NodeDOMTreeConstruction\n  // can override it.\n\n\n  setupUselessElement() {\n    this.uselessElement = this.document.createElement('div');\n  }\n\n  createElement(tag, context) {\n    let isElementInSVGNamespace, isHTMLIntegrationPoint;\n\n    if (context) {\n      isElementInSVGNamespace = context.namespaceURI === \"http://www.w3.org/2000/svg\"\n      /* SVG */\n      || tag === 'svg';\n      isHTMLIntegrationPoint = !!SVG_INTEGRATION_POINTS[context.tagName];\n    } else {\n      isElementInSVGNamespace = tag === 'svg';\n      isHTMLIntegrationPoint = false;\n    }\n\n    if (isElementInSVGNamespace && !isHTMLIntegrationPoint) {\n      // FIXME: This does not properly handle <font> with color, face, or\n      // size attributes, which is also disallowed by the spec. We should fix\n      // this.\n      if (BLACKLIST_TABLE[tag]) {\n        throw new Error(`Cannot create a ${tag} inside an SVG context`);\n      }\n\n      return this.document.createElementNS(\"http://www.w3.org/2000/svg\"\n      /* SVG */\n      , tag);\n    } else {\n      return this.document.createElement(tag);\n    }\n  }\n\n  insertBefore(parent, node, reference) {\n    parent.insertBefore(node, reference);\n  }\n\n  insertHTMLBefore(parent, nextSibling, html) {\n    if (html === '') {\n      let comment = this.createComment('');\n      parent.insertBefore(comment, nextSibling);\n      return new ConcreteBounds(parent, comment, comment);\n    }\n\n    let prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n    let last;\n\n    if (nextSibling === null) {\n      parent.insertAdjacentHTML(\"beforeend\"\n      /* beforeend */\n      , html);\n      last = parent.lastChild;\n    } else if (nextSibling instanceof HTMLElement) {\n      nextSibling.insertAdjacentHTML('beforebegin', html);\n      last = nextSibling.previousSibling;\n    } else {\n      // Non-element nodes do not support insertAdjacentHTML, so add an\n      // element and call it on that element. Then remove the element.\n      //\n      // This also protects Edge, IE and Firefox w/o the inspector open\n      // from merging adjacent text nodes. See ./compat/text-node-merging-fix.ts\n      let {\n        uselessElement\n      } = this;\n      parent.insertBefore(uselessElement, nextSibling);\n      uselessElement.insertAdjacentHTML(\"beforebegin\"\n      /* beforebegin */\n      , html);\n      last = uselessElement.previousSibling;\n      parent.removeChild(uselessElement);\n    }\n\n    let first = prev ? prev.nextSibling : parent.firstChild;\n    return new ConcreteBounds(parent, first, last);\n  }\n\n  createTextNode(text) {\n    return this.document.createTextNode(text);\n  }\n\n  createComment(data) {\n    return this.document.createComment(data);\n  }\n\n}\nfunction moveNodesBefore(source, target, nextSibling) {\n  let first = source.firstChild;\n  let last = first;\n  let current = first;\n\n  while (current) {\n    let next = current.nextSibling;\n    target.insertBefore(current, nextSibling);\n    last = current;\n    current = next;\n  }\n\n  return new ConcreteBounds(target, first, last);\n}\n\nconst SVG_NAMESPACE = \"http://www.w3.org/2000/svg\"\n/* SVG */\n; // Patch:    insertAdjacentHTML on SVG Fix\n// Browsers: Safari, IE, Edge, Firefox ~33-34\n// Reason:   insertAdjacentHTML does not exist on SVG elements in Safari. It is\n//           present but throws an exception on IE and Edge. Old versions of\n//           Firefox create nodes in the incorrect namespace.\n// Fix:      Since IE and Edge silently fail to create SVG nodes using\n//           innerHTML, and because Firefox may create nodes in the incorrect\n//           namespace using innerHTML on SVG elements, an HTML-string wrapping\n//           approach is used. A pre/post SVG tag is added to the string, then\n//           that whole string is added to a div. The created nodes are plucked\n//           out and applied to the target location on DOM.\n\nfunction applySVGInnerHTMLFix(document, DOMClass, svgNamespace) {\n  if (!document) return DOMClass;\n\n  if (!shouldApplyFix(document, svgNamespace)) {\n    return DOMClass;\n  }\n\n  let div = document.createElement('div');\n  return class DOMChangesWithSVGInnerHTMLFix extends DOMClass {\n    insertHTMLBefore(parent, nextSibling, html) {\n      if (html === '') {\n        return super.insertHTMLBefore(parent, nextSibling, html);\n      }\n\n      if (parent.namespaceURI !== svgNamespace) {\n        return super.insertHTMLBefore(parent, nextSibling, html);\n      }\n\n      return fixSVG(parent, div, html, nextSibling);\n    }\n\n  };\n}\n\nfunction fixSVG(parent, div, html, reference) {\n  let source; // This is important, because descendants of the <foreignObject> integration\n  // point are parsed in the HTML namespace\n\n  if (parent.tagName.toUpperCase() === 'FOREIGNOBJECT') {\n    // IE, Edge: also do not correctly support using `innerHTML` on SVG\n    // namespaced elements. So here a wrapper is used.\n    let wrappedHtml = '<svg><foreignObject>' + html + '</foreignObject></svg>';\n    clearElement(div);\n    div.insertAdjacentHTML(\"afterbegin\"\n    /* afterbegin */\n    , wrappedHtml);\n    source = div.firstChild.firstChild;\n  } else {\n    // IE, Edge: also do not correctly support using `innerHTML` on SVG\n    // namespaced elements. So here a wrapper is used.\n    let wrappedHtml = '<svg>' + html + '</svg>';\n    clearElement(div);\n    div.insertAdjacentHTML(\"afterbegin\"\n    /* afterbegin */\n    , wrappedHtml);\n    source = div.firstChild;\n  }\n\n  return moveNodesBefore(source, parent, reference);\n}\n\nfunction shouldApplyFix(document, svgNamespace) {\n  let svg = document.createElementNS(svgNamespace, 'svg');\n\n  try {\n    svg.insertAdjacentHTML(\"beforeend\"\n    /* beforeend */\n    , '<circle></circle>');\n  } catch (e) {// IE, Edge: Will throw, insertAdjacentHTML is unsupported on SVG\n    // Safari: Will throw, insertAdjacentHTML is not present on SVG\n  } finally {\n    // FF: Old versions will create a node in the wrong namespace\n    if (svg.childNodes.length === 1 && svg.firstChild.namespaceURI === SVG_NAMESPACE) {\n      // The test worked as expected, no fix required\n      return false;\n    }\n\n    return true;\n  }\n}\n\n// Patch:    Adjacent text node merging fix\n// Browsers: IE, Edge, Firefox w/o inspector open\n// Reason:   These browsers will merge adjacent text nodes. For example given\n//           <div>Hello</div> with div.insertAdjacentHTML(' world') browsers\n//           with proper behavior will populate div.childNodes with two items.\n//           These browsers will populate it with one merged node instead.\n// Fix:      Add these nodes to a wrapper element, then iterate the childNodes\n//           of that wrapper and move the nodes to their target location. Note\n//           that potential SVG bugs will have been handled before this fix.\n//           Note that this fix must only apply to the previous text node, as\n//           the base implementation of `insertHTMLBefore` already handles\n//           following text nodes correctly.\nfunction applyTextNodeMergingFix(document, DOMClass) {\n  if (!document) return DOMClass;\n\n  if (!shouldApplyFix$1(document)) {\n    return DOMClass;\n  }\n\n  return class DOMChangesWithTextNodeMergingFix extends DOMClass {\n    constructor(document) {\n      super(document);\n      this.uselessComment = document.createComment('');\n    }\n\n    insertHTMLBefore(parent, nextSibling, html) {\n      if (html === '') {\n        return super.insertHTMLBefore(parent, nextSibling, html);\n      }\n\n      let didSetUselessComment = false;\n      let nextPrevious = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n\n      if (nextPrevious && nextPrevious instanceof Text) {\n        didSetUselessComment = true;\n        parent.insertBefore(this.uselessComment, nextSibling);\n      }\n\n      let bounds = super.insertHTMLBefore(parent, nextSibling, html);\n\n      if (didSetUselessComment) {\n        parent.removeChild(this.uselessComment);\n      }\n\n      return bounds;\n    }\n\n  };\n}\n\nfunction shouldApplyFix$1(document) {\n  let mergingTextDiv = document.createElement('div');\n  mergingTextDiv.appendChild(document.createTextNode('first'));\n  mergingTextDiv.insertAdjacentHTML(\"beforeend\"\n  /* beforeend */\n  , 'second');\n\n  if (mergingTextDiv.childNodes.length === 2) {\n    // It worked as expected, no fix required\n    return false;\n  }\n\n  return true;\n}\n\n['b', 'big', 'blockquote', 'body', 'br', 'center', 'code', 'dd', 'div', 'dl', 'dt', 'em', 'embed', 'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'head', 'hr', 'i', 'img', 'li', 'listing', 'main', 'meta', 'nobr', 'ol', 'p', 'pre', 'ruby', 's', 'small', 'span', 'strong', 'strike', 'sub', 'sup', 'table', 'tt', 'u', 'ul', 'var'].forEach(tag => BLACKLIST_TABLE[tag] = 1);\nconst WHITESPACE = /[\\t-\\r \\xA0\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF]/;\nlet doc = typeof document === 'undefined' ? null : document;\nfunction isWhitespace(string) {\n  return WHITESPACE.test(string);\n}\nvar DOM;\n\n(function (DOM) {\n  class TreeConstruction extends DOMOperations {\n    createElementNS(namespace, tag) {\n      return this.document.createElementNS(namespace, tag);\n    }\n\n    setAttribute(element, name, value, namespace = null) {\n      if (namespace) {\n        element.setAttributeNS(namespace, name, value);\n      } else {\n        element.setAttribute(name, value);\n      }\n    }\n\n  }\n\n  DOM.TreeConstruction = TreeConstruction;\n  let appliedTreeConstruction = TreeConstruction;\n  appliedTreeConstruction = applyTextNodeMergingFix(doc, appliedTreeConstruction);\n  appliedTreeConstruction = applySVGInnerHTMLFix(doc, appliedTreeConstruction, \"http://www.w3.org/2000/svg\"\n  /* SVG */\n  );\n  DOM.DOMTreeConstruction = appliedTreeConstruction;\n})(DOM || (DOM = {}));\n\nclass DOMChangesImpl extends DOMOperations {\n  constructor(document) {\n    super(document);\n    this.document = document;\n    this.namespace = null;\n  }\n\n  setAttribute(element, name, value) {\n    element.setAttribute(name, value);\n  }\n\n  removeAttribute(element, name) {\n    element.removeAttribute(name);\n  }\n\n  insertAfter(element, node, reference) {\n    this.insertBefore(element, node, reference.nextSibling);\n  }\n\n}\nlet helper = DOMChangesImpl;\nhelper = applyTextNodeMergingFix(doc, helper);\nhelper = applySVGInnerHTMLFix(doc, helper, \"http://www.w3.org/2000/svg\"\n/* SVG */\n);\nvar helper$1 = helper;\nconst DOMTreeConstruction = DOM.DOMTreeConstruction;\n\nlet GUID = 0;\nclass Ref {\n  constructor(value) {\n    this.id = GUID++;\n    this.value = value;\n  }\n\n  get() {\n    return this.value;\n  }\n\n  release() {\n    if (DEBUG && this.value === null) {\n      throw new Error('BUG: double release?');\n    }\n\n    this.value = null;\n  }\n\n  toString() {\n    let label = `Ref ${this.id}`;\n\n    if (this.value === null) {\n      return `${label} (released)`;\n    } else {\n      try {\n        return `${label}: ${this.value}`;\n      } catch (_a) {\n        return label;\n      }\n    }\n  }\n\n}\nclass DebugRenderTreeImpl {\n  constructor() {\n    this.stack = new Stack();\n    this.refs = new WeakMap();\n    this.roots = new Set();\n    this.nodes = new WeakMap();\n  }\n\n  begin() {\n    this.reset();\n  }\n\n  create(state, node) {\n    let internalNode = assign({}, node, {\n      bounds: null,\n      refs: new Set()\n    });\n    this.nodes.set(state, internalNode);\n    this.appendChild(internalNode, state);\n    this.enter(state);\n  }\n\n  update(state) {\n    this.enter(state);\n  }\n\n  didRender(state, bounds) {\n    if (DEBUG && this.stack.current !== state) {\n      throw new Error(`BUG: expecting ${this.stack.current}, got ${state}`);\n    }\n\n    this.nodeFor(state).bounds = bounds;\n    this.exit();\n  }\n\n  willDestroy(state) {\n    this.refs.get(state).release();\n  }\n\n  commit() {\n    this.reset();\n  }\n\n  capture() {\n    return this.captureRefs(this.roots);\n  }\n\n  reset() {\n    if (this.stack.size !== 0) {\n      // We probably encountered an error during the rendering loop. This will\n      // likely trigger undefined behavior and memory leaks as the error left\n      // things in an inconsistent state. It is recommended that the user\n      // refresh the page.\n      // TODO: We could warn here? But this happens all the time in our tests?\n      // Clean up the root reference to prevent errors from happening if we\n      // attempt to capture the render tree (Ember Inspector may do this)\n      let root = this.stack.toArray()[0];\n      let ref = this.refs.get(root);\n\n      if (ref !== undefined) {\n        this.roots.delete(ref);\n      }\n\n      while (!this.stack.isEmpty()) {\n        this.stack.pop();\n      }\n    }\n  }\n\n  enter(state) {\n    this.stack.push(state);\n  }\n\n  exit() {\n    if (DEBUG && this.stack.size === 0) {\n      throw new Error('BUG: unbalanced pop');\n    }\n\n    this.stack.pop();\n  }\n\n  nodeFor(state) {\n    return this.nodes.get(state);\n  }\n\n  appendChild(node, state) {\n    if (DEBUG && this.refs.has(state)) {\n      throw new Error('BUG: child already appended');\n    }\n\n    let parent = this.stack.current;\n    let ref = new Ref(state);\n    this.refs.set(state, ref);\n\n    if (parent) {\n      let parentNode = this.nodeFor(parent);\n      parentNode.refs.add(ref);\n      node.parent = parentNode;\n    } else {\n      this.roots.add(ref);\n    }\n  }\n\n  captureRefs(refs) {\n    let captured = [];\n    refs.forEach(ref => {\n      let state = ref.get();\n\n      if (state) {\n        captured.push(this.captureNode(`render-node:${ref.id}`, state));\n      } else {\n        refs.delete(ref);\n      }\n    });\n    return captured;\n  }\n\n  captureNode(id, state) {\n    let node = this.nodeFor(state);\n    let {\n      type,\n      name,\n      args,\n      instance,\n      refs\n    } = node;\n    let template = this.captureTemplate(node);\n    let bounds = this.captureBounds(node);\n    let children = this.captureRefs(refs);\n    return {\n      id,\n      type,\n      name,\n      args: reifyArgs(args),\n      instance,\n      template,\n      bounds,\n      children\n    };\n  }\n\n  captureTemplate({\n    template\n  }) {\n    return template || null;\n  }\n\n  captureBounds(node) {\n    let bounds = node.bounds;\n    let parentElement = bounds.parentElement();\n    let firstNode = bounds.firstNode();\n    let lastNode = bounds.lastNode();\n    return {\n      parentElement,\n      firstNode,\n      lastNode\n    };\n  }\n\n}\n\nvar _a$1;\nconst TRANSACTION = symbol('TRANSACTION');\n\nclass TransactionImpl {\n  constructor() {\n    this.scheduledInstallModifiers = [];\n    this.scheduledUpdateModifiers = [];\n    this.createdComponents = [];\n    this.updatedComponents = [];\n  }\n\n  didCreate(component) {\n    this.createdComponents.push(component);\n  }\n\n  didUpdate(component) {\n    this.updatedComponents.push(component);\n  }\n\n  scheduleInstallModifier(modifier) {\n    this.scheduledInstallModifiers.push(modifier);\n  }\n\n  scheduleUpdateModifier(modifier) {\n    this.scheduledUpdateModifiers.push(modifier);\n  }\n\n  commit() {\n    let {\n      createdComponents,\n      updatedComponents\n    } = this;\n\n    for (let i = 0; i < createdComponents.length; i++) {\n      let {\n        manager,\n        state\n      } = createdComponents[i];\n      manager.didCreate(state);\n    }\n\n    for (let i = 0; i < updatedComponents.length; i++) {\n      let {\n        manager,\n        state\n      } = updatedComponents[i];\n      manager.didUpdate(state);\n    }\n\n    let {\n      scheduledInstallModifiers,\n      scheduledUpdateModifiers\n    } = this; // Prevent a transpilation issue we guard against in Ember, the\n    // throw-if-closure-required issue\n\n    let manager, state;\n\n    for (let i = 0; i < scheduledInstallModifiers.length; i++) {\n      let modifier = scheduledInstallModifiers[i];\n      manager = modifier.manager;\n      state = modifier.state;\n      let modifierTag = manager.getTag(state);\n\n      if (modifierTag !== null) {\n        let tag = track( // eslint-disable-next-line no-loop-func\n        () => manager.install(state), DEBUG && `- While rendering:\\n  (instance of a \\`${modifier.definition.resolvedName || manager.getDebugName(modifier.definition.state)}\\` modifier)`);\n        updateTag(modifierTag, tag);\n      } else {\n        manager.install(state);\n      }\n    }\n\n    for (let i = 0; i < scheduledUpdateModifiers.length; i++) {\n      let modifier = scheduledUpdateModifiers[i];\n      manager = modifier.manager;\n      state = modifier.state;\n      let modifierTag = manager.getTag(state);\n\n      if (modifierTag !== null) {\n        let tag = track( // eslint-disable-next-line no-loop-func\n        () => manager.update(state), DEBUG && `- While rendering:\\n  (instance of a \\`${modifier.definition.resolvedName || manager.getDebugName(modifier.definition.state)}\\` modifier)`);\n        updateTag(modifierTag, tag);\n      } else {\n        manager.update(state);\n      }\n    }\n  }\n\n}\n\nclass EnvironmentImpl {\n  constructor(options, delegate) {\n    this.delegate = delegate;\n    this[_a$1] = null; // Delegate methods and values\n\n    this.isInteractive = this.delegate.isInteractive;\n    this.debugRenderTree = this.delegate.enableDebugTooling ? new DebugRenderTreeImpl() : undefined;\n\n    if (options.appendOperations) {\n      this.appendOperations = options.appendOperations;\n      this.updateOperations = options.updateOperations;\n    } else if (options.document) {\n      this.appendOperations = new DOMTreeConstruction(options.document);\n      this.updateOperations = new DOMChangesImpl(options.document);\n    } else if (DEBUG) {\n      throw new Error('you must pass document or appendOperations to a new runtime');\n    }\n  }\n\n  getAppendOperations() {\n    return this.appendOperations;\n  }\n\n  getDOM() {\n    return this.updateOperations;\n  }\n\n  begin() {\n    var _b;\n    (_b = this.debugRenderTree) === null || _b === void 0 ? void 0 : _b.begin();\n    this[TRANSACTION] = new TransactionImpl();\n  }\n\n  get transaction() {\n    return this[TRANSACTION];\n  }\n\n  didCreate(component) {\n    this.transaction.didCreate(component);\n  }\n\n  didUpdate(component) {\n    this.transaction.didUpdate(component);\n  }\n\n  scheduleInstallModifier(modifier) {\n    if (this.isInteractive) {\n      this.transaction.scheduleInstallModifier(modifier);\n    }\n  }\n\n  scheduleUpdateModifier(modifier) {\n    if (this.isInteractive) {\n      this.transaction.scheduleUpdateModifier(modifier);\n    }\n  }\n\n  commit() {\n    var _b;\n\n    let transaction = this.transaction;\n    this[TRANSACTION] = null;\n    transaction.commit();\n    (_b = this.debugRenderTree) === null || _b === void 0 ? void 0 : _b.commit();\n    this.delegate.onTransactionCommit();\n  }\n\n}\n_a$1 = TRANSACTION;\nfunction runtimeContext(options, delegate, artifacts, resolver) {\n  return {\n    env: new EnvironmentImpl(options, delegate),\n    program: new RuntimeProgramImpl(artifacts.constants, artifacts.heap),\n    resolver: resolver\n  };\n}\nfunction inTransaction(env, cb) {\n  if (!env[TRANSACTION]) {\n    env.begin();\n\n    try {\n      cb();\n    } finally {\n      env.commit();\n    }\n  } else {\n    cb();\n  }\n}\n\nfunction initializeRegistersWithSP(sp) {\n  return [0, -1, sp, 0];\n}\nclass LowLevelVM {\n  constructor(stack, heap, program, externs, registers) {\n    this.stack = stack;\n    this.heap = heap;\n    this.program = program;\n    this.externs = externs;\n    this.registers = registers;\n    this.currentOpSize = 0;\n  }\n\n  fetchRegister(register) {\n    return this.registers[register];\n  }\n\n  loadRegister(register, value) {\n    this.registers[register] = value;\n  }\n\n  setPc(pc) {\n    this.registers[$pc] = pc;\n  } // Start a new frame and save $ra and $fp on the stack\n\n\n  pushFrame() {\n    this.stack.push(this.registers[$ra]);\n    this.stack.push(this.registers[$fp]);\n    this.registers[$fp] = this.registers[$sp] - 1;\n  } // Restore $ra, $sp and $fp\n\n\n  popFrame() {\n    this.registers[$sp] = this.registers[$fp] - 1;\n    this.registers[$ra] = this.stack.get(0);\n    this.registers[$fp] = this.stack.get(1);\n  }\n\n  pushSmallFrame() {\n    this.stack.push(this.registers[$ra]);\n  }\n\n  popSmallFrame() {\n    this.registers[$ra] = this.stack.pop();\n  } // Jump to an address in `program`\n\n\n  goto(offset) {\n    this.setPc(this.target(offset));\n  }\n\n  target(offset) {\n    return this.registers[$pc] + offset - this.currentOpSize;\n  } // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n\n\n  call(handle) {\n    this.registers[$ra] = this.registers[$pc];\n    this.setPc(this.heap.getaddr(handle));\n  } // Put a specific `program` address in $ra\n\n\n  returnTo(offset) {\n    this.registers[$ra] = this.target(offset);\n  } // Return to the `program` address stored in $ra\n\n\n  return() {\n    this.setPc(this.registers[$ra]);\n  }\n\n  nextStatement() {\n    let {\n      registers,\n      program\n    } = this;\n    let pc = registers[$pc];\n\n    if (pc === -1) {\n      return null;\n    } // We have to save off the current operations size so that\n    // when we do a jump we can calculate the correct offset\n    // to where we are going. We can't simply ask for the size\n    // in a jump because we have have already incremented the\n    // program counter to the next instruction prior to executing.\n\n\n    let opcode = program.opcode(pc);\n    let operationSize = this.currentOpSize = opcode.size;\n    this.registers[$pc] += operationSize;\n    return opcode;\n  }\n\n  evaluateOuter(opcode, vm) {\n    {\n      this.evaluateInner(opcode, vm);\n    }\n  }\n\n  evaluateInner(opcode, vm) {\n    if (opcode.isMachine) {\n      this.evaluateMachine(opcode);\n    } else {\n      this.evaluateSyscall(opcode, vm);\n    }\n  }\n\n  evaluateMachine(opcode) {\n    switch (opcode.type) {\n      case 0\n      /* PushFrame */\n      :\n        return this.pushFrame();\n\n      case 1\n      /* PopFrame */\n      :\n        return this.popFrame();\n\n      case 3\n      /* InvokeStatic */\n      :\n        return this.call(opcode.op1);\n\n      case 2\n      /* InvokeVirtual */\n      :\n        return this.call(this.stack.pop());\n\n      case 4\n      /* Jump */\n      :\n        return this.goto(opcode.op1);\n\n      case 5\n      /* Return */\n      :\n        return this.return();\n\n      case 6\n      /* ReturnTo */\n      :\n        return this.returnTo(opcode.op1);\n    }\n  }\n\n  evaluateSyscall(opcode, vm) {\n    APPEND_OPCODES.evaluate(vm, opcode, opcode.type);\n  }\n\n}\n\nclass UpdatingVMImpl {\n  constructor(env, {\n    alwaysRevalidate = false\n  }) {\n    this.frameStack = new Stack();\n    this.env = env;\n    this.dom = env.getDOM();\n    this.alwaysRevalidate = alwaysRevalidate;\n  }\n\n  execute(opcodes, handler) {\n    if (DEBUG) {\n      let hasErrored = true;\n\n      try {\n        runInTrackingTransaction(() => this._execute(opcodes, handler), '- While rendering:'); // using a boolean here to avoid breaking ergonomics of \"pause on uncaught exceptions\"\n        // which would happen with a `catch` + `throw`\n\n        hasErrored = false;\n      } finally {\n        if (hasErrored) {\n          // eslint-disable-next-line no-console\n          console.error(`\\n\\nError occurred:\\n\\n${resetTracking()}\\n\\n`);\n        }\n      }\n    } else {\n      this._execute(opcodes, handler);\n    }\n  }\n\n  _execute(opcodes, handler) {\n    let {\n      frameStack\n    } = this;\n    this.try(opcodes, handler);\n\n    while (true) {\n      if (frameStack.isEmpty()) break;\n      let opcode = this.frame.nextStatement();\n\n      if (opcode === undefined) {\n        frameStack.pop();\n        continue;\n      }\n\n      opcode.evaluate(this);\n    }\n  }\n\n  get frame() {\n    return this.frameStack.current;\n  }\n\n  goto(index) {\n    this.frame.goto(index);\n  }\n\n  try(ops, handler) {\n    this.frameStack.push(new UpdatingVMFrame(ops, handler));\n  }\n\n  throw() {\n    this.frame.handleException();\n    this.frameStack.pop();\n  }\n\n}\nclass ResumableVMStateImpl {\n  constructor(state, resumeCallback) {\n    this.state = state;\n    this.resumeCallback = resumeCallback;\n  }\n\n  resume(runtime, builder) {\n    return this.resumeCallback(runtime, this.state, builder);\n  }\n\n}\nclass BlockOpcode {\n  constructor(state, runtime, bounds, children) {\n    this.state = state;\n    this.runtime = runtime;\n    this.children = children;\n    this.bounds = bounds;\n  }\n\n  parentElement() {\n    return this.bounds.parentElement();\n  }\n\n  firstNode() {\n    return this.bounds.firstNode();\n  }\n\n  lastNode() {\n    return this.bounds.lastNode();\n  }\n\n  evaluate(vm) {\n    vm.try(this.children, null);\n  }\n\n}\nclass TryOpcode extends BlockOpcode {\n  constructor() {\n    super(...arguments);\n    this.type = 'try';\n  }\n\n  evaluate(vm) {\n    vm.try(this.children, this);\n  }\n\n  handleException() {\n    let {\n      state,\n      bounds,\n      runtime\n    } = this;\n    destroyChildren(this);\n    let elementStack = NewElementBuilder.resume(runtime.env, bounds);\n    let vm = state.resume(runtime, elementStack);\n    let updating = [];\n    let children = this.children = [];\n    let result = vm.execute(vm => {\n      vm.pushUpdating(updating);\n      vm.updateWith(this);\n      vm.pushUpdating(children);\n    });\n    associateDestroyableChild(this, result.drop);\n  }\n\n}\nclass ListItemOpcode extends TryOpcode {\n  constructor(state, runtime, bounds, key, memo, value) {\n    super(state, runtime, bounds, []);\n    this.key = key;\n    this.memo = memo;\n    this.value = value;\n    this.retained = false;\n    this.index = -1;\n  }\n\n  updateReferences(item) {\n    this.retained = true;\n    updateRef(this.value, item.value);\n    updateRef(this.memo, item.memo);\n  }\n\n  shouldRemove() {\n    return !this.retained;\n  }\n\n  reset() {\n    this.retained = false;\n  }\n\n}\nclass ListBlockOpcode extends BlockOpcode {\n  constructor(state, runtime, bounds, children, iterableRef) {\n    super(state, runtime, bounds, children);\n    this.iterableRef = iterableRef;\n    this.type = 'list-block';\n    this.opcodeMap = new Map();\n    this.marker = null;\n    this.lastIterator = valueForRef(iterableRef);\n  }\n\n  initializeChild(opcode) {\n    opcode.index = this.children.length - 1;\n    this.opcodeMap.set(opcode.key, opcode);\n  }\n\n  evaluate(vm) {\n    let iterator = valueForRef(this.iterableRef);\n\n    if (this.lastIterator !== iterator) {\n      let {\n        bounds\n      } = this;\n      let {\n        dom\n      } = vm;\n      let marker = this.marker = dom.createComment('');\n      dom.insertAfter(bounds.parentElement(), marker, bounds.lastNode());\n      this.sync(iterator);\n      this.parentElement().removeChild(marker);\n      this.marker = null;\n      this.lastIterator = iterator;\n    } // Run now-updated updating opcodes\n\n\n    super.evaluate(vm);\n  }\n\n  sync(iterator) {\n    let {\n      opcodeMap: itemMap,\n      children\n    } = this;\n    let currentOpcodeIndex = 0;\n    let seenIndex = 0;\n    this.children = this.bounds.boundList = [];\n\n    while (true) {\n      let item = iterator.next();\n      if (item === null) break;\n      let opcode = children[currentOpcodeIndex];\n      let {\n        key\n      } = item; // Items that have already been found and moved will already be retained,\n      // we can continue until we find the next unretained item\n\n      while (opcode !== undefined && opcode.retained === true) {\n        opcode = children[++currentOpcodeIndex];\n      }\n\n      if (opcode !== undefined && opcode.key === key) {\n        this.retainItem(opcode, item);\n        currentOpcodeIndex++;\n      } else if (itemMap.has(key)) {\n        let itemOpcode = itemMap.get(key); // The item opcode was seen already, so we should move it.\n\n        if (itemOpcode.index < seenIndex) {\n          this.moveItem(itemOpcode, item, opcode);\n        } else {\n          // Update the seen index, we are going to be moving this item around\n          // so any other items that come before it will likely need to move as\n          // well.\n          seenIndex = itemOpcode.index;\n          let seenUnretained = false; // iterate through all of the opcodes between the current position and\n          // the position of the item's opcode, and determine if they are all\n          // retained.\n\n          for (let i = currentOpcodeIndex + 1; i < seenIndex; i++) {\n            if (children[i].retained === false) {\n              seenUnretained = true;\n              break;\n            }\n          } // If we have seen only retained opcodes between this and the matching\n          // opcode, it means that all the opcodes in between have been moved\n          // already, and we can safely retain this item's opcode.\n\n\n          if (seenUnretained === false) {\n            this.retainItem(itemOpcode, item);\n            currentOpcodeIndex = seenIndex + 1;\n          } else {\n            this.moveItem(itemOpcode, item, opcode);\n            currentOpcodeIndex++;\n          }\n        }\n      } else {\n        this.insertItem(item, opcode);\n      }\n    }\n\n    for (let i = 0; i < children.length; i++) {\n      let opcode = children[i];\n\n      if (opcode.retained === false) {\n        this.deleteItem(opcode);\n      } else {\n        opcode.reset();\n      }\n    }\n  }\n\n  retainItem(opcode, item) {\n\n    let {\n      children\n    } = this;\n    updateRef(opcode.memo, item.memo);\n    updateRef(opcode.value, item.value);\n    opcode.retained = true;\n    opcode.index = children.length;\n    children.push(opcode);\n  }\n\n  insertItem(item, before) {\n\n    let {\n      opcodeMap,\n      bounds,\n      state,\n      runtime,\n      children\n    } = this;\n    let {\n      key\n    } = item;\n    let nextSibling = before === undefined ? this.marker : before.firstNode();\n    let elementStack = NewElementBuilder.forInitialRender(runtime.env, {\n      element: bounds.parentElement(),\n      nextSibling\n    });\n    let vm = state.resume(runtime, elementStack);\n    vm.execute(vm => {\n      vm.pushUpdating();\n      let opcode = vm.enterItem(item);\n      opcode.index = children.length;\n      children.push(opcode);\n      opcodeMap.set(key, opcode);\n      associateDestroyableChild(this, opcode);\n    });\n  }\n\n  moveItem(opcode, item, before) {\n    let {\n      children\n    } = this;\n    updateRef(opcode.memo, item.memo);\n    updateRef(opcode.value, item.value);\n    opcode.retained = true;\n    let currentSibling, nextSibling;\n\n    if (before === undefined) {\n      move(opcode, this.marker);\n    } else {\n      currentSibling = opcode.lastNode().nextSibling;\n      nextSibling = before.firstNode(); // Items are moved throughout the algorithm, so there are cases where the\n      // the items already happen to be siblings (e.g. an item in between was\n      // moved before this move happened). Check to see if they are siblings\n      // first before doing the move.\n\n      if (currentSibling !== nextSibling) {\n        move(opcode, nextSibling);\n      }\n    }\n\n    opcode.index = children.length;\n    children.push(opcode);\n  }\n\n  deleteItem(opcode) {\n\n    destroy(opcode);\n    clear(opcode);\n    this.opcodeMap.delete(opcode.key);\n  }\n\n}\n\nclass UpdatingVMFrame {\n  constructor(ops, exceptionHandler) {\n    this.ops = ops;\n    this.exceptionHandler = exceptionHandler;\n    this.current = 0;\n  }\n\n  goto(index) {\n    this.current = index;\n  }\n\n  nextStatement() {\n    return this.ops[this.current++];\n  }\n\n  handleException() {\n    if (this.exceptionHandler) {\n      this.exceptionHandler.handleException();\n    }\n  }\n\n}\n\nclass RenderResultImpl {\n  constructor(env, updating, bounds, drop) {\n    this.env = env;\n    this.updating = updating;\n    this.bounds = bounds;\n    this.drop = drop;\n    associateDestroyableChild(this, drop);\n    registerDestructor(this, () => clear(this.bounds));\n  }\n\n  rerender({\n    alwaysRevalidate = false\n  } = {\n    alwaysRevalidate: false\n  }) {\n    let {\n      env,\n      updating\n    } = this;\n    let vm = new UpdatingVMImpl(env, {\n      alwaysRevalidate\n    });\n    vm.execute(updating, this);\n  }\n\n  parentElement() {\n    return this.bounds.parentElement();\n  }\n\n  firstNode() {\n    return this.bounds.firstNode();\n  }\n\n  lastNode() {\n    return this.bounds.lastNode();\n  }\n\n  handleException() {\n    throw 'this should never happen';\n  }\n\n}\n\nclass EvaluationStackImpl {\n  // fp -> sp\n  constructor(stack = [], registers) {\n    this.stack = stack;\n    this[REGISTERS] = registers;\n  }\n\n  static restore(snapshot) {\n    return new this(snapshot.slice(), initializeRegistersWithSP(snapshot.length - 1));\n  }\n\n  push(value) {\n    this.stack[++this[REGISTERS][$sp]] = value;\n  }\n\n  dup(position = this[REGISTERS][$sp]) {\n    this.stack[++this[REGISTERS][$sp]] = this.stack[position];\n  }\n\n  copy(from, to) {\n    this.stack[to] = this.stack[from];\n  }\n\n  pop(n = 1) {\n    let top = this.stack[this[REGISTERS][$sp]];\n    this[REGISTERS][$sp] -= n;\n    return top;\n  }\n\n  peek(offset = 0) {\n    return this.stack[this[REGISTERS][$sp] - offset];\n  }\n\n  get(offset, base = this[REGISTERS][$fp]) {\n    return this.stack[base + offset];\n  }\n\n  set(value, offset, base = this[REGISTERS][$fp]) {\n    this.stack[base + offset] = value;\n  }\n\n  slice(start, end) {\n    return this.stack.slice(start, end);\n  }\n\n  capture(items) {\n    let end = this[REGISTERS][$sp] + 1;\n    let start = end - items;\n    return this.stack.slice(start, end);\n  }\n\n  reset() {\n    this.stack.length = 0;\n  }\n\n  toArray() {\n    return this.stack.slice(this[REGISTERS][$fp], this[REGISTERS][$sp] + 1);\n  }\n\n}\n\nvar _a$2, _b;\n\nclass Stacks {\n  constructor() {\n    this.scope = new Stack();\n    this.dynamicScope = new Stack();\n    this.updating = new Stack();\n    this.cache = new Stack();\n    this.list = new Stack();\n  }\n\n}\n\nclass VM {\n  /**\n   * End of migrated.\n   */\n  constructor(runtime, {\n    pc,\n    scope,\n    dynamicScope,\n    stack\n  }, elementStack, context) {\n    this.runtime = runtime;\n    this.elementStack = elementStack;\n    this.context = context;\n    this[_a$2] = new Stacks();\n    this[_b] = new Stack();\n    this.s0 = null;\n    this.s1 = null;\n    this.t0 = null;\n    this.t1 = null;\n    this.v0 = null;\n    this.resume = initVM(this.context);\n\n    if (DEBUG) {\n      assertGlobalContextWasSet();\n    }\n\n    let evalStack = EvaluationStackImpl.restore(stack);\n    evalStack[REGISTERS][$pc] = pc;\n    evalStack[REGISTERS][$sp] = stack.length - 1;\n    evalStack[REGISTERS][$fp] = -1;\n    this[HEAP] = this.program.heap;\n    this[CONSTANTS] = this.program.constants;\n    this.elementStack = elementStack;\n    this[STACKS].scope.push(scope);\n    this[STACKS].dynamicScope.push(dynamicScope);\n    this[ARGS] = new VMArgumentsImpl();\n    this[INNER_VM] = new LowLevelVM(evalStack, this[HEAP], runtime.program, {\n      debugBefore: opcode => {\n        return APPEND_OPCODES.debugBefore(this, opcode);\n      },\n      debugAfter: state => {\n        APPEND_OPCODES.debugAfter(this, state);\n      }\n    }, evalStack[REGISTERS]);\n    this.destructor = {};\n    this[DESTROYABLE_STACK].push(this.destructor);\n  }\n\n  get stack() {\n    return this[INNER_VM].stack;\n  }\n  /* Registers */\n\n\n  get pc() {\n    return this[INNER_VM].fetchRegister($pc);\n  } // Fetch a value from a register onto the stack\n\n\n  fetch(register) {\n    let value = this.fetchValue(register);\n    this.stack.push(value);\n  } // Load a value from the stack into a register\n\n\n  load(register) {\n    let value = this.stack.pop();\n    this.loadValue(register, value);\n  }\n\n  fetchValue(register) {\n    if (isLowLevelRegister(register)) {\n      return this[INNER_VM].fetchRegister(register);\n    }\n\n    switch (register) {\n      case $s0:\n        return this.s0;\n\n      case $s1:\n        return this.s1;\n\n      case $t0:\n        return this.t0;\n\n      case $t1:\n        return this.t1;\n\n      case $v0:\n        return this.v0;\n    }\n  } // Load a value into a register\n\n\n  loadValue(register, value) {\n    if (isLowLevelRegister(register)) {\n      this[INNER_VM].loadRegister(register, value);\n    }\n\n    switch (register) {\n      case $s0:\n        this.s0 = value;\n        break;\n\n      case $s1:\n        this.s1 = value;\n        break;\n\n      case $t0:\n        this.t0 = value;\n        break;\n\n      case $t1:\n        this.t1 = value;\n        break;\n\n      case $v0:\n        this.v0 = value;\n        break;\n    }\n  }\n  /**\n   * Migrated to Inner\n   */\n  // Start a new frame and save $ra and $fp on the stack\n\n\n  pushFrame() {\n    this[INNER_VM].pushFrame();\n  } // Restore $ra, $sp and $fp\n\n\n  popFrame() {\n    this[INNER_VM].popFrame();\n  } // Jump to an address in `program`\n\n\n  goto(offset) {\n    this[INNER_VM].goto(offset);\n  } // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n\n\n  call(handle) {\n    this[INNER_VM].call(handle);\n  } // Put a specific `program` address in $ra\n\n\n  returnTo(offset) {\n    this[INNER_VM].returnTo(offset);\n  } // Return to the `program` address stored in $ra\n\n\n  return() {\n    this[INNER_VM].return();\n  }\n\n  static initial(runtime, context, {\n    handle,\n    self,\n    dynamicScope,\n    treeBuilder,\n    numSymbols,\n    owner\n  }) {\n    let scope = PartialScopeImpl.root(self, numSymbols, owner);\n    let state = vmState(runtime.program.heap.getaddr(handle), scope, dynamicScope);\n    let vm = initVM(context)(runtime, state, treeBuilder);\n    vm.pushUpdating();\n    return vm;\n  }\n\n  static empty(runtime, {\n    handle,\n    treeBuilder,\n    dynamicScope,\n    owner\n  }, context) {\n    let vm = initVM(context)(runtime, vmState(runtime.program.heap.getaddr(handle), PartialScopeImpl.root(UNDEFINED_REFERENCE, 0, owner), dynamicScope), treeBuilder);\n    vm.pushUpdating();\n    return vm;\n  }\n\n  compile(block) {\n    let handle = unwrapHandle(block.compile(this.context));\n    return handle;\n  }\n\n  get program() {\n    return this.runtime.program;\n  }\n\n  get env() {\n    return this.runtime.env;\n  }\n\n  captureState(args, pc = this[INNER_VM].fetchRegister($pc)) {\n    return {\n      pc,\n      scope: this.scope(),\n      dynamicScope: this.dynamicScope(),\n      stack: this.stack.capture(args)\n    };\n  }\n\n  capture(args, pc = this[INNER_VM].fetchRegister($pc)) {\n    return new ResumableVMStateImpl(this.captureState(args, pc), this.resume);\n  }\n\n  beginCacheGroup(name) {\n    let opcodes = this.updating();\n    let guard = new JumpIfNotModifiedOpcode();\n    opcodes.push(guard);\n    opcodes.push(new BeginTrackFrameOpcode(name));\n    this[STACKS].cache.push(guard);\n    beginTrackFrame(name);\n  }\n\n  commitCacheGroup() {\n    let opcodes = this.updating();\n    let guard = this[STACKS].cache.pop();\n    let tag = endTrackFrame();\n    opcodes.push(new EndTrackFrameOpcode(guard));\n    guard.finalize(tag, opcodes.length);\n  }\n\n  enter(args) {\n    let updating = [];\n    let state = this.capture(args);\n    let block = this.elements().pushUpdatableBlock();\n    let tryOpcode = new TryOpcode(state, this.runtime, block, updating);\n    this.didEnter(tryOpcode);\n  }\n\n  enterItem({\n    key,\n    value,\n    memo\n  }) {\n    let {\n      stack\n    } = this;\n    let valueRef = createIteratorItemRef(value);\n    let memoRef = createIteratorItemRef(memo);\n    stack.push(valueRef);\n    stack.push(memoRef);\n    let state = this.capture(2);\n    let block = this.elements().pushUpdatableBlock();\n    let opcode = new ListItemOpcode(state, this.runtime, block, key, memoRef, valueRef);\n    this.didEnter(opcode);\n    return opcode;\n  }\n\n  registerItem(opcode) {\n    this.listBlock().initializeChild(opcode);\n  }\n\n  enterList(iterableRef, offset) {\n    let updating = [];\n    let addr = this[INNER_VM].target(offset);\n    let state = this.capture(0, addr);\n    let list = this.elements().pushBlockList(updating);\n    let opcode = new ListBlockOpcode(state, this.runtime, list, updating, iterableRef);\n    this[STACKS].list.push(opcode);\n    this.didEnter(opcode);\n  }\n\n  didEnter(opcode) {\n    this.associateDestroyable(opcode);\n    this[DESTROYABLE_STACK].push(opcode);\n    this.updateWith(opcode);\n    this.pushUpdating(opcode.children);\n  }\n\n  exit() {\n    this[DESTROYABLE_STACK].pop();\n    this.elements().popBlock();\n    this.popUpdating();\n  }\n\n  exitList() {\n    this.exit();\n    this[STACKS].list.pop();\n  }\n\n  pushUpdating(list = []) {\n    this[STACKS].updating.push(list);\n  }\n\n  popUpdating() {\n    return this[STACKS].updating.pop();\n  }\n\n  updateWith(opcode) {\n    this.updating().push(opcode);\n  }\n\n  listBlock() {\n    return this[STACKS].list.current;\n  }\n\n  associateDestroyable(child) {\n    let parent = this[DESTROYABLE_STACK].current;\n    associateDestroyableChild(parent, child);\n  }\n\n  tryUpdating() {\n    return this[STACKS].updating.current;\n  }\n\n  updating() {\n    return this[STACKS].updating.current;\n  }\n\n  elements() {\n    return this.elementStack;\n  }\n\n  scope() {\n    return this[STACKS].scope.current;\n  }\n\n  dynamicScope() {\n    return this[STACKS].dynamicScope.current;\n  }\n\n  pushChildScope() {\n    this[STACKS].scope.push(this.scope().child());\n  }\n\n  pushDynamicScope() {\n    let child = this.dynamicScope().child();\n    this[STACKS].dynamicScope.push(child);\n    return child;\n  }\n\n  pushRootScope(size, owner) {\n    let scope = PartialScopeImpl.sized(size, owner);\n    this[STACKS].scope.push(scope);\n    return scope;\n  }\n\n  pushScope(scope) {\n    this[STACKS].scope.push(scope);\n  }\n\n  popScope() {\n    this[STACKS].scope.pop();\n  }\n\n  popDynamicScope() {\n    this[STACKS].dynamicScope.pop();\n  } /// SCOPE HELPERS\n\n\n  getOwner() {\n    return this.scope().owner;\n  }\n\n  getSelf() {\n    return this.scope().getSelf();\n  }\n\n  referenceForSymbol(symbol$$1) {\n    return this.scope().getSymbol(symbol$$1);\n  } /// EXECUTION\n\n\n  execute(initialize) {\n    if (DEBUG) {\n      let hasErrored = true;\n\n      try {\n        let value = this._execute(initialize); // using a boolean here to avoid breaking ergonomics of \"pause on uncaught exceptions\"\n        // which would happen with a `catch` + `throw`\n\n\n        hasErrored = false;\n        return value;\n      } finally {\n        if (hasErrored) {\n          // If any existing blocks are open, due to an error or something like\n          // that, we need to close them all and clean things up properly.\n          let elements = this.elements();\n\n          while (elements.hasBlocks) {\n            elements.popBlock();\n          } // eslint-disable-next-line no-console\n\n\n          console.error(`\\n\\nError occurred:\\n\\n${resetTracking()}\\n\\n`);\n        }\n      }\n    } else {\n      return this._execute(initialize);\n    }\n  }\n\n  _execute(initialize) {\n\n    if (initialize) initialize(this);\n    let result;\n\n    while (true) {\n      result = this.next();\n      if (result.done) break;\n    }\n\n    return result.value;\n  }\n\n  next() {\n    let {\n      env,\n      elementStack\n    } = this;\n    let opcode = this[INNER_VM].nextStatement();\n    let result;\n\n    if (opcode !== null) {\n      this[INNER_VM].evaluateOuter(opcode, this);\n      result = {\n        done: false,\n        value: null\n      };\n    } else {\n      // Unload the stack\n      this.stack.reset();\n      result = {\n        done: true,\n        value: new RenderResultImpl(env, this.popUpdating(), elementStack.popBlock(), this.destructor)\n      };\n    }\n\n    return result;\n  }\n\n  bindDynamicScope(names) {\n    let scope = this.dynamicScope();\n\n    for (let i = names.length - 1; i >= 0; i--) {\n      let name = names[i];\n      scope.set(name, this.stack.pop());\n    }\n  }\n\n}\n_a$2 = STACKS, _b = DESTROYABLE_STACK;\n\nfunction vmState(pc, scope, dynamicScope) {\n  return {\n    pc,\n    scope,\n    dynamicScope,\n    stack: []\n  };\n}\n\nfunction initVM(context) {\n  return (runtime, state, builder) => new VM(runtime, state, builder, context);\n}\n\nclass TemplateIteratorImpl {\n  constructor(vm) {\n    this.vm = vm;\n  }\n\n  next() {\n    return this.vm.next();\n  }\n\n  sync() {\n    if (DEBUG) {\n      return runInTrackingTransaction(() => this.vm.execute(), '- While rendering:');\n    } else {\n      return this.vm.execute();\n    }\n  }\n\n}\n\nfunction renderSync(env, iterator) {\n  let result;\n  inTransaction(env, () => result = iterator.sync());\n  return result;\n}\nfunction renderMain(runtime, context, owner, self, treeBuilder, layout, dynamicScope = new DynamicScopeImpl()) {\n  let handle = unwrapHandle(layout.compile(context));\n  let numSymbols = layout.symbolTable.symbols.length;\n  let vm = VM.initial(runtime, context, {\n    self,\n    dynamicScope,\n    treeBuilder,\n    handle,\n    numSymbols,\n    owner\n  });\n  return new TemplateIteratorImpl(vm);\n}\n\nfunction renderInvocation(vm, context, owner, definition, args) {\n  // Get a list of tuples of argument names and references, like\n  // [['title', reference], ['name', reference]]\n  const argList = Object.keys(args).map(key => [key, args[key]]);\n  const blockNames = ['main', 'else', 'attrs']; // Prefix argument names with `@` symbol\n\n  const argNames = argList.map(([name]) => `@${name}`);\n  let reified = vm[CONSTANTS].component(definition, owner);\n  vm.pushFrame(); // Push blocks on to the stack, three stack values per block\n\n  for (let i = 0; i < 3 * blockNames.length; i++) {\n    vm.stack.push(null);\n  }\n\n  vm.stack.push(null); // For each argument, push its backing reference on to the stack\n\n  argList.forEach(([, reference]) => {\n    vm.stack.push(reference);\n  }); // Configure VM based on blocks and args just pushed on to the stack.\n\n  vm[ARGS].setup(vm.stack, argNames, blockNames, 0, true);\n  const compilable = reified.compilable;\n  const layoutHandle = unwrapHandle(compilable.compile(context));\n  const invocation = {\n    handle: layoutHandle,\n    symbolTable: compilable.symbolTable\n  }; // Needed for the Op.Main opcode: arguments, component invocation object, and\n  // component definition.\n\n  vm.stack.push(vm[ARGS]);\n  vm.stack.push(invocation);\n  vm.stack.push(reified);\n  return new TemplateIteratorImpl(vm);\n}\n\nfunction renderComponent(runtime, treeBuilder, context, owner, definition, args = {}, dynamicScope = new DynamicScopeImpl()) {\n  let vm = VM.empty(runtime, {\n    treeBuilder,\n    handle: context.stdlib.main,\n    dynamicScope,\n    owner\n  }, context);\n  return renderInvocation(vm, context, owner, definition, recordToReference(args));\n}\n\nfunction recordToReference(record) {\n  const root = createConstRef(record, 'args');\n  return Object.keys(record).reduce((acc, key) => {\n    acc[key] = childRefFor(root, key);\n    return acc;\n  }, {});\n}\n\nconst SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\nfunction isSerializationFirstNode(node) {\n  return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n}\nclass RehydratingCursor extends CursorImpl {\n  constructor(element, nextSibling, startingBlockDepth) {\n    super(element, nextSibling);\n    this.startingBlockDepth = startingBlockDepth;\n    this.candidate = null;\n    this.injectedOmittedNode = false;\n    this.openBlockDepth = startingBlockDepth - 1;\n  }\n\n}\nclass RehydrateBuilder extends NewElementBuilder {\n  constructor(env, parentNode, nextSibling) {\n    super(env, parentNode, nextSibling);\n    this.unmatchedAttributes = null;\n    this.blockDepth = 0;\n    if (nextSibling) throw new Error('Rehydration with nextSibling not supported');\n    let node = this.currentCursor.element.firstChild;\n\n    while (node !== null) {\n      if (isOpenBlock(node)) {\n        break;\n      }\n\n      node = node.nextSibling;\n    }\n    this.candidate = node;\n    const startingBlockOffset = getBlockDepth(node);\n\n    if (startingBlockOffset !== 0) {\n      // We are rehydrating from a partial tree and not the root component\n      // We need to add an extra block before the first block to rehydrate correctly\n      // The extra block is needed since the renderComponent API creates a synthetic component invocation which generates the extra block\n      const newBlockDepth = startingBlockOffset - 1;\n      const newCandidate = this.dom.createComment(`%+b:${newBlockDepth}%`);\n      node.parentNode.insertBefore(newCandidate, this.candidate);\n      let closingNode = node.nextSibling;\n\n      while (closingNode !== null) {\n        if (isCloseBlock(closingNode) && getBlockDepth(closingNode) === startingBlockOffset) {\n          break;\n        }\n\n        closingNode = closingNode.nextSibling;\n      }\n      const newClosingBlock = this.dom.createComment(`%-b:${newBlockDepth}%`);\n      node.parentNode.insertBefore(newClosingBlock, closingNode.nextSibling);\n      this.candidate = newCandidate;\n      this.startingBlockOffset = newBlockDepth;\n    } else {\n      this.startingBlockOffset = 0;\n    }\n  }\n\n  get currentCursor() {\n    return this[CURSOR_STACK].current;\n  }\n\n  get candidate() {\n    if (this.currentCursor) {\n      return this.currentCursor.candidate;\n    }\n\n    return null;\n  }\n\n  set candidate(node) {\n    let currentCursor = this.currentCursor;\n    currentCursor.candidate = node;\n  }\n\n  disableRehydration(nextSibling) {\n    let currentCursor = this.currentCursor; // rehydration will be disabled until we either:\n    // * hit popElement (and return to using the parent elements cursor)\n    // * hit closeBlock and the next sibling is a close block comment\n    //   matching the expected openBlockDepth\n\n    currentCursor.candidate = null;\n    currentCursor.nextSibling = nextSibling;\n  }\n\n  enableRehydration(candidate) {\n    let currentCursor = this.currentCursor;\n    currentCursor.candidate = candidate;\n    currentCursor.nextSibling = null;\n  }\n\n  pushElement(element, nextSibling = null) {\n    let cursor = new RehydratingCursor(element, nextSibling, this.blockDepth || 0);\n    /**\n     * <div>   <---------------  currentCursor.element\n     *   <!--%+b:1%--> <-------  would have been removed during openBlock\n     *   <div> <---------------  currentCursor.candidate -> cursor.element\n     *     <!--%+b:2%--> <-----  currentCursor.candidate.firstChild -> cursor.candidate\n     *     Foo\n     *     <!--%-b:2%-->\n     *   </div>\n     *   <!--%-b:1%-->  <------  becomes currentCursor.candidate\n     */\n\n    if (this.candidate !== null) {\n      cursor.candidate = element.firstChild;\n      this.candidate = element.nextSibling;\n    }\n\n    this[CURSOR_STACK].push(cursor);\n  } // clears until the end of the current container\n  // either the current open block or higher\n\n\n  clearMismatch(candidate) {\n    let current = candidate;\n    let currentCursor = this.currentCursor;\n\n    if (currentCursor !== null) {\n      let openBlockDepth = currentCursor.openBlockDepth;\n\n      if (openBlockDepth >= currentCursor.startingBlockDepth) {\n        while (current) {\n          if (isCloseBlock(current)) {\n            let closeBlockDepth = getBlockDepthWithOffset(current, this.startingBlockOffset);\n\n            if (openBlockDepth >= closeBlockDepth) {\n              break;\n            }\n          }\n\n          current = this.remove(current);\n        }\n      } else {\n        while (current !== null) {\n          current = this.remove(current);\n        }\n      } // current cursor parentNode should be openCandidate if element\n      // or openCandidate.parentNode if comment\n\n\n      this.disableRehydration(current);\n    }\n  }\n\n  __openBlock() {\n    let {\n      currentCursor\n    } = this;\n    if (currentCursor === null) return;\n    let blockDepth = this.blockDepth;\n    this.blockDepth++;\n    let {\n      candidate\n    } = currentCursor;\n    if (candidate === null) return;\n    let {\n      tagName\n    } = currentCursor.element;\n\n    if (isOpenBlock(candidate) && getBlockDepthWithOffset(candidate, this.startingBlockOffset) === blockDepth) {\n      this.candidate = this.remove(candidate);\n      currentCursor.openBlockDepth = blockDepth;\n    } else if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n      this.clearMismatch(candidate);\n    }\n  }\n\n  __closeBlock() {\n    let {\n      currentCursor\n    } = this;\n    if (currentCursor === null) return; // openBlock is the last rehydrated open block\n\n    let openBlockDepth = currentCursor.openBlockDepth; // this currently is the expected next open block depth\n\n    this.blockDepth--;\n    let {\n      candidate\n    } = currentCursor;\n    let isRehydrating = false;\n\n    if (candidate !== null) {\n      isRehydrating = true; //assert(\n      //  openBlockDepth === this.blockDepth,\n      //  'when rehydrating, openBlockDepth should match this.blockDepth here'\n      //);\n\n      if (isCloseBlock(candidate) && getBlockDepthWithOffset(candidate, this.startingBlockOffset) === openBlockDepth) {\n        let nextSibling = this.remove(candidate);\n        this.candidate = nextSibling;\n        currentCursor.openBlockDepth--;\n      } else {\n        // close the block and clear mismatch in parent container\n        // we will be either at the end of the element\n        // or at the end of our containing block\n        this.clearMismatch(candidate);\n        isRehydrating = false;\n      }\n    }\n\n    if (isRehydrating === false) {\n      // check if nextSibling matches our expected close block\n      // if so, we remove the close block comment and\n      // restore rehydration after clearMismatch disabled\n      let nextSibling = currentCursor.nextSibling;\n\n      if (nextSibling !== null && isCloseBlock(nextSibling) && getBlockDepthWithOffset(nextSibling, this.startingBlockOffset) === this.blockDepth) {\n        // restore rehydration state\n        let candidate = this.remove(nextSibling);\n        this.enableRehydration(candidate);\n        currentCursor.openBlockDepth--;\n      }\n    }\n  }\n\n  __appendNode(node) {\n    let {\n      candidate\n    } = this; // This code path is only used when inserting precisely one node. It needs more\n    // comparison logic, but we can probably lean on the cases where this code path\n    // is actually used.\n\n    if (candidate) {\n      return candidate;\n    } else {\n      return super.__appendNode(node);\n    }\n  }\n\n  __appendHTML(html) {\n    let candidateBounds = this.markerBounds();\n\n    if (candidateBounds) {\n      let first = candidateBounds.firstNode();\n      let last = candidateBounds.lastNode();\n      let newBounds = new ConcreteBounds(this.element, first.nextSibling, last.previousSibling);\n      let possibleEmptyMarker = this.remove(first);\n      this.remove(last);\n\n      if (possibleEmptyMarker !== null && isEmpty$1(possibleEmptyMarker)) {\n        this.candidate = this.remove(possibleEmptyMarker);\n\n        if (this.candidate !== null) {\n          this.clearMismatch(this.candidate);\n        }\n      }\n\n      return newBounds;\n    } else {\n      return super.__appendHTML(html);\n    }\n  }\n\n  remove(node) {\n    let element = node.parentNode;\n    let next = node.nextSibling;\n    element.removeChild(node);\n    return next;\n  }\n\n  markerBounds() {\n    let _candidate = this.candidate;\n\n    if (_candidate && isMarker(_candidate)) {\n      let first = _candidate;\n      let last = first.nextSibling;\n\n      while (last && !isMarker(last)) {\n        last = last.nextSibling;\n      }\n\n      return new ConcreteBounds(this.element, first, last);\n    } else {\n      return null;\n    }\n  }\n\n  __appendText(string) {\n    let {\n      candidate\n    } = this;\n\n    if (candidate) {\n      if (isTextNode(candidate)) {\n        if (candidate.nodeValue !== string) {\n          candidate.nodeValue = string;\n        }\n\n        this.candidate = candidate.nextSibling;\n        return candidate;\n      } else if (isSeparator(candidate)) {\n        this.candidate = this.remove(candidate);\n        return this.__appendText(string);\n      } else if (isEmpty$1(candidate) && string === '') {\n        this.candidate = this.remove(candidate);\n        return this.__appendText(string);\n      } else {\n        this.clearMismatch(candidate);\n        return super.__appendText(string);\n      }\n    } else {\n      return super.__appendText(string);\n    }\n  }\n\n  __appendComment(string) {\n    let _candidate = this.candidate;\n\n    if (_candidate && isComment(_candidate)) {\n      if (_candidate.nodeValue !== string) {\n        _candidate.nodeValue = string;\n      }\n\n      this.candidate = _candidate.nextSibling;\n      return _candidate;\n    } else if (_candidate) {\n      this.clearMismatch(_candidate);\n    }\n\n    return super.__appendComment(string);\n  }\n\n  __openElement(tag) {\n    let _candidate = this.candidate;\n\n    if (_candidate && isElement(_candidate) && isSameNodeType(_candidate, tag)) {\n      this.unmatchedAttributes = [].slice.call(_candidate.attributes);\n      return _candidate;\n    } else if (_candidate) {\n      if (isElement(_candidate) && _candidate.tagName === 'TBODY') {\n        this.pushElement(_candidate, null);\n        this.currentCursor.injectedOmittedNode = true;\n        return this.__openElement(tag);\n      }\n\n      this.clearMismatch(_candidate);\n    }\n\n    return super.__openElement(tag);\n  }\n\n  __setAttribute(name, value, namespace) {\n    let unmatched = this.unmatchedAttributes;\n\n    if (unmatched) {\n      let attr = findByName(unmatched, name);\n\n      if (attr) {\n        if (attr.value !== value) {\n          attr.value = value;\n        }\n\n        unmatched.splice(unmatched.indexOf(attr), 1);\n        return;\n      }\n    }\n\n    return super.__setAttribute(name, value, namespace);\n  }\n\n  __setProperty(name, value) {\n    let unmatched = this.unmatchedAttributes;\n\n    if (unmatched) {\n      let attr = findByName(unmatched, name);\n\n      if (attr) {\n        if (attr.value !== value) {\n          attr.value = value;\n        }\n\n        unmatched.splice(unmatched.indexOf(attr), 1);\n        return;\n      }\n    }\n\n    return super.__setProperty(name, value);\n  }\n\n  __flushElement(parent, constructing) {\n    let {\n      unmatchedAttributes: unmatched\n    } = this;\n\n    if (unmatched) {\n      for (let i = 0; i < unmatched.length; i++) {\n        this.constructing.removeAttribute(unmatched[i].name);\n      }\n\n      this.unmatchedAttributes = null;\n    } else {\n      super.__flushElement(parent, constructing);\n    }\n  }\n\n  willCloseElement() {\n    let {\n      candidate,\n      currentCursor\n    } = this;\n\n    if (candidate !== null) {\n      this.clearMismatch(candidate);\n    }\n\n    if (currentCursor && currentCursor.injectedOmittedNode) {\n      this.popElement();\n    }\n\n    super.willCloseElement();\n  }\n\n  getMarker(element, guid) {\n    let marker = element.querySelector(`script[glmr=\"${guid}\"]`);\n\n    if (marker) {\n      return marker;\n    }\n\n    return null;\n  }\n\n  __pushRemoteElement(element, cursorId, insertBefore) {\n    let marker = this.getMarker(element, cursorId);\n\n    if (insertBefore === undefined) {\n      while (element.firstChild !== null && element.firstChild !== marker) {\n        this.remove(element.firstChild);\n      }\n\n      insertBefore = null;\n    }\n\n    let cursor = new RehydratingCursor(element, null, this.blockDepth);\n    this[CURSOR_STACK].push(cursor);\n\n    if (marker === null) {\n      this.disableRehydration(insertBefore);\n    } else {\n      this.candidate = this.remove(marker);\n    }\n\n    let block = new RemoteLiveBlock(element);\n    return this.pushLiveBlock(block, true);\n  }\n\n  didAppendBounds(bounds) {\n    super.didAppendBounds(bounds);\n\n    if (this.candidate) {\n      let last = bounds.lastNode();\n      this.candidate = last && last.nextSibling;\n    }\n\n    return bounds;\n  }\n\n}\n\nfunction isTextNode(node) {\n  return node.nodeType === 3;\n}\n\nfunction isComment(node) {\n  return node.nodeType === 8;\n}\n\nfunction isOpenBlock(node) {\n  return node.nodeType === 8\n  /* COMMENT_NODE */\n  && node.nodeValue.lastIndexOf('%+b:', 0) === 0;\n}\n\nfunction isCloseBlock(node) {\n  return node.nodeType === 8\n  /* COMMENT_NODE */\n  && node.nodeValue.lastIndexOf('%-b:', 0) === 0;\n}\n\nfunction getBlockDepth(node) {\n  return parseInt(node.nodeValue.slice(4), 10);\n}\n\nfunction getBlockDepthWithOffset(node, offset) {\n  return getBlockDepth(node) - offset;\n}\n\nfunction isElement(node) {\n  return node.nodeType === 1;\n}\n\nfunction isMarker(node) {\n  return node.nodeType === 8 && node.nodeValue === '%glmr%';\n}\n\nfunction isSeparator(node) {\n  return node.nodeType === 8 && node.nodeValue === '%|%';\n}\n\nfunction isEmpty$1(node) {\n  return node.nodeType === 8 && node.nodeValue === '% %';\n}\n\nfunction isSameNodeType(candidate, tag) {\n  if (candidate.namespaceURI === \"http://www.w3.org/2000/svg\"\n  /* SVG */\n  ) {\n      return candidate.tagName === tag;\n    }\n\n  return candidate.tagName === tag.toUpperCase();\n}\n\nfunction findByName(array, name) {\n  for (let i = 0; i < array.length; i++) {\n    let attr = array[i];\n    if (attr.name === name) return attr;\n  }\n\n  return undefined;\n}\n\nfunction rehydrationBuilder(env, cursor) {\n  return RehydrateBuilder.forInitialRender(env, cursor);\n}\n\nlet ARGS_CACHES = DEBUG ? new WeakMap() : undefined;\n\nfunction getArgs(proxy) {\n  return getValue(DEBUG ? ARGS_CACHES.get(proxy) : proxy.argsCache);\n}\n\nclass SimpleArgsProxy {\n  constructor(context, computeArgs = () => EMPTY_ARGS) {\n    let argsCache = createCache(() => computeArgs(context));\n\n    if (DEBUG) {\n      ARGS_CACHES.set(this, argsCache);\n      Object.freeze(this);\n    } else {\n      this.argsCache = argsCache;\n    }\n  }\n\n  get named() {\n    return getArgs(this).named || EMPTY_NAMED;\n  }\n\n  get positional() {\n    return getArgs(this).positional || EMPTY_POSITIONAL;\n  }\n\n} ////////////\n\n\nfunction invokeHelper(context, definition, computeArgs) {\n  if (DEBUG && (typeof context !== 'object' || context === null)) {\n    throw new Error(`Expected a context object to be passed as the first parameter to invokeHelper, got ${context}`);\n  }\n\n  const owner = getOwner(context);\n  const internalManager = getInternalHelperManager(definition); // TODO: figure out why assert isn't using the TS assert thing\n\n  if (DEBUG && !internalManager) {\n    throw new Error(`Expected a helper definition to be passed as the second parameter to invokeHelper, but no helper manager was found. The definition value that was passed was \\`${debugToString(definition)}\\`. Did you use setHelperManager to associate a helper manager with this value?`);\n  }\n\n  if (DEBUG && typeof internalManager === 'function') {\n    throw new Error('Found a helper manager, but it was an internal built-in helper manager. `invokeHelper` does not support internal helpers yet.');\n  }\n\n  const manager = internalManager.getDelegateFor(owner);\n  let args = new SimpleArgsProxy(context, computeArgs);\n  let bucket = manager.createHelper(definition, args);\n  let cache;\n\n  if (hasValue(manager)) {\n    cache = createCache(() => {\n      if (DEBUG && (isDestroying(cache) || isDestroyed(cache))) {\n        throw new Error(`You attempted to get the value of a helper after the helper was destroyed, which is not allowed`);\n      }\n\n      return manager.getValue(bucket);\n    });\n    associateDestroyableChild(context, cache);\n  } else {\n    throw new Error('TODO: unreachable, to be implemented with hasScheduledEffect');\n  }\n\n  if (hasDestroyable(manager)) {\n    let destroyable = manager.getDestroyable(bucket);\n    associateDestroyableChild(cache, destroyable);\n  }\n\n  return cache;\n}\n\nfunction internalHelper(helper) {\n  return setInternalHelperManager(helper, {});\n}\n\nconst context = buildUntouchableThis('`fn` helper');\n/**\n  The `fn` helper allows you to ensure a function that you are passing off\n  to another component, helper, or modifier has access to arguments that are\n  available in the template.\n\n  For example, if you have an `each` helper looping over a number of items, you\n  may need to pass a function that expects to receive the item as an argument\n  to a component invoked within the loop. Here's how you could use the `fn`\n  helper to pass both the function and its arguments together:\n\n    ```app/templates/components/items-listing.hbs\n  {{#each @items as |item|}}\n    <DisplayItem @item=item @select={{fn this.handleSelected item}} />\n  {{/each}}\n  ```\n\n  ```app/components/items-list.js\n  import Component from '@glimmer/component';\n  import { action } from '@ember/object';\n\n  export default class ItemsList extends Component {\n    handleSelected = (item) => {\n      // ...snip...\n    }\n  }\n  ```\n\n  In this case the `display-item` component will receive a normal function\n  that it can invoke. When it invokes the function, the `handleSelected`\n  function will receive the `item` and any arguments passed, thanks to the\n  `fn` helper.\n\n  Let's take look at what that means in a couple circumstances:\n\n  - When invoked as `this.args.select()` the `handleSelected` function will\n    receive the `item` from the loop as its first and only argument.\n  - When invoked as `this.args.select('foo')` the `handleSelected` function\n    will receive the `item` from the loop as its first argument and the\n    string `'foo'` as its second argument.\n\n  In the example above, we used an arrow function to ensure that\n  `handleSelected` is properly bound to the `items-list`, but let's explore what\n  happens if we left out the arrow function:\n\n  ```app/components/items-list.js\n  import Component from '@glimmer/component';\n\n  export default class ItemsList extends Component {\n    handleSelected(item) {\n      // ...snip...\n    }\n  }\n  ```\n\n  In this example, when `handleSelected` is invoked inside the `display-item`\n  component, it will **not** have access to the component instance. In other\n  words, it will have no `this` context, so please make sure your functions\n  are bound (via an arrow function or other means) before passing into `fn`!\n\n  See also [partial application](https://en.wikipedia.org/wiki/Partial_application).\n\n  @method fn\n  @public\n*/\n\nvar fn = internalHelper(({\n  positional\n}) => {\n  let callbackRef = positional[0];\n  if (DEBUG) assertCallbackIsFn(callbackRef);\n  return createComputeRef(() => {\n    return (...invocationArgs) => {\n      let [fn, ...args] = reifyPositional(positional);\n      if (DEBUG) assertCallbackIsFn(callbackRef);\n\n      if (isInvokableRef(callbackRef)) {\n        let value = args.length > 0 ? args[0] : invocationArgs[0];\n        return updateRef(callbackRef, value);\n      } else {\n        return fn.call(context, ...args, ...invocationArgs);\n      }\n    };\n  }, null, 'fn');\n});\n\nfunction assertCallbackIsFn(callbackRef) {\n  if (!(callbackRef && (isInvokableRef(callbackRef) || typeof valueForRef(callbackRef) === 'function'))) {\n    throw new Error(`You must pass a function as the \\`fn\\` helper's first argument, you passed ${callbackRef ? valueForRef(callbackRef) : callbackRef}. While rendering:\\n\\n${callbackRef === null || callbackRef === void 0 ? void 0 : callbackRef.debugLabel}`);\n  }\n}\n\nlet wrapHashProxy;\n\nif (DEBUG) {\n  wrapHashProxy = hash => {\n    return new Proxy(hash, {\n      set(target, key, value) {\n        deprecate(`You set the '${String(key)}' property on a {{hash}} object. Setting properties on objects generated by {{hash}} is deprecated. Please update to use an object created with a tracked property or getter, or with a custom helper.`, false, {\n          id: 'setting-on-hash'\n        });\n        target[key] = value;\n        return true;\n      }\n\n    });\n  };\n}\n/**\n   Use the `{{hash}}` helper to create a hash to pass as an option to your\n   components. This is specially useful for contextual components where you can\n   just yield a hash:\n\n   ```handlebars\n   {{yield (hash\n      name='Sarah'\n      title=office\n   )}}\n   ```\n\n   Would result in an object such as:\n\n   ```js\n   { name: 'Sarah', title: this.get('office') }\n   ```\n\n   Where the `title` is bound to updates of the `office` property.\n\n   Note that the hash is an empty object with no prototype chain, therefore\n   common methods like `toString` are not available in the resulting hash.\n   If you need to use such a method, you can use the `call` or `apply`\n   approach:\n\n   ```js\n   function toString(obj) {\n     return Object.prototype.toString.apply(obj);\n   }\n   ```\n\n   @method hash\n   @param {Object} options\n   @return {Object} Hash\n   @public\n */\n\n\nvar hash = internalHelper(({\n  named\n}) => {\n  let ref = createComputeRef(() => {\n    let hash = reifyNamed(named);\n\n    if (DEBUG && HAS_NATIVE_PROXY) {\n      hash = wrapHashProxy(hash);\n    }\n\n    return hash;\n  }, null, 'hash'); // Setup the children so that templates can bypass getting the value of\n  // the reference and treat children lazily\n\n  let children = new Map();\n\n  for (let name in named) {\n    children.set(name, named[name]);\n  }\n\n  ref.children = children;\n  return ref;\n});\n\n/**\n   Use the `{{array}}` helper to create an array to pass as an option to your\n   components.\n\n   ```handlebars\n   <MyComponent @people={{array\n     'Tom Dale'\n     'Yehuda Katz'\n     this.myOtherPerson}}\n   />\n   ```\n    or\n   ```handlebars\n   {{my-component people=(array\n     'Tom Dale'\n     'Yehuda Katz'\n     this.myOtherPerson)\n   }}\n   ```\n\n   Would result in an object such as:\n\n   ```js\n   ['Tom Dale', 'Yehuda Katz', this.get('myOtherPerson')]\n   ```\n\n   Where the 3rd item in the array is bound to updates of the `myOtherPerson` property.\n\n   @method array\n   @param {Array} options\n   @return {Array} Array\n   @public\n */\n\nvar array = internalHelper(({\n  positional\n}) => {\n  return createComputeRef(() => reifyPositional(positional), null, 'array');\n});\n\n/**\n  Dynamically look up a property on an object. The second argument to `{{get}}`\n  should have a string value, although it can be bound.\n\n  For example, these two usages are equivalent:\n\n  ```app/components/developer-detail.js\n  import Component from '@glimmer/component';\n  import { tracked } from '@glimmer/tracking';\n\n  export default class extends Component {\n    @tracked developer = {\n      name: \"Sandi Metz\",\n      language: \"Ruby\"\n    }\n  }\n  ```\n\n  ```handlebars\n  {{this.developer.name}}\n  {{get this.developer \"name\"}}\n  ```\n\n  If there were several facts about a person, the `{{get}}` helper can dynamically\n  pick one:\n\n  ```app/templates/application.hbs\n  <DeveloperDetail @factName=\"language\" />\n  ```\n\n  ```handlebars\n  {{get this.developer @factName}}\n  ```\n\n  For a more complex example, this template would allow the user to switch\n  between showing the user's height and weight with a click:\n\n  ```app/components/developer-detail.js\n  import Component from '@glimmer/component';\n  import { tracked } from '@glimmer/tracking';\n\n  export default class extends Component {\n    @tracked developer = {\n      name: \"Sandi Metz\",\n      language: \"Ruby\"\n    }\n\n    @tracked currentFact = 'name'\n\n    showFact = (fact) => {\n      this.currentFact = fact;\n    }\n  }\n  ```\n\n  ```app/components/developer-detail.js\n  {{get this.developer this.currentFact}}\n\n  <button {{on 'click' (fn this.showFact \"name\")}}>Show name</button>\n  <button {{on 'click' (fn this.showFact \"language\")}}>Show language</button>\n  ```\n\n  The `{{get}}` helper can also respect mutable values itself. For example:\n\n  ```app/components/developer-detail.js\n  <Input @value={{mut (get this.person this.currentFact)}} />\n\n  <button {{on 'click' (fn this.showFact \"name\")}}>Show name</button>\n  <button {{on 'click' (fn this.showFact \"language\")}}>Show language</button>\n  ```\n\n  Would allow the user to swap what fact is being displayed, and also edit\n  that fact via a two-way mutable binding.\n\n  @public\n  @method get\n */\n\nvar get = internalHelper(({\n  positional\n}) => {\n  var _a, _b;\n\n  let sourceRef = (_a = positional[0]) !== null && _a !== void 0 ? _a : UNDEFINED_REFERENCE;\n  let pathRef = (_b = positional[1]) !== null && _b !== void 0 ? _b : UNDEFINED_REFERENCE;\n  return createComputeRef(() => {\n    let source = valueForRef(sourceRef);\n\n    if (isDict(source)) {\n      return getPath(source, String(valueForRef(pathRef)));\n    }\n  }, value => {\n    let source = valueForRef(sourceRef);\n\n    if (isDict(source)) {\n      return setPath(source, String(valueForRef(pathRef)), value);\n    }\n  }, 'get');\n});\n\nconst isEmpty$2 = value => {\n  return value === null || value === undefined || typeof value.toString !== 'function';\n};\n\nconst normalizeTextValue = value => {\n  if (isEmpty$2(value)) {\n    return '';\n  }\n\n  return String(value);\n};\n/**\n  Concatenates the given arguments into a string.\n\n  Example:\n\n  ```handlebars\n  {{some-component name=(concat firstName \" \" lastName)}}\n\n  {{! would pass name=\"<first name value> <last name value>\" to the component}}\n  ```\n\n  or for angle bracket invocation, you actually don't need concat at all.\n\n  ```handlebars\n  <SomeComponent @name=\"{{firstName}} {{lastName}}\" />\n  ```\n\n  @public\n  @method concat\n*/\n\n\nvar concat = internalHelper(({\n  positional\n}) => {\n  return createComputeRef(() => reifyPositional(positional).map(normalizeTextValue).join(''), null, 'concat');\n});\n\nconst untouchableContext = buildUntouchableThis('`on` modifier');\n/*\n  Internet Explorer 11 does not support `once` and also does not support\n  passing `eventOptions`. In some situations it then throws a weird script\n  error, like:\n\n  ```\n  Could not complete the operation due to error 80020101\n  ```\n\n  This flag determines, whether `{ once: true }` and thus also event options in\n  general are supported.\n*/\n\nconst SUPPORTS_EVENT_OPTIONS = (() => {\n  try {\n    const div = document.createElement('div');\n    let counter = 0;\n    div.addEventListener('click', () => counter++, {\n      once: true\n    });\n    let event;\n\n    if (typeof Event === 'function') {\n      event = new Event('click');\n    } else {\n      event = document.createEvent('Event');\n      event.initEvent('click', true, true);\n    }\n\n    div.dispatchEvent(event);\n    div.dispatchEvent(event);\n    return counter === 1;\n  } catch (error) {\n    return false;\n  }\n})();\n\nclass OnModifierState {\n  constructor(element, args) {\n    this.tag = createUpdatableTag();\n    this.shouldUpdate = true;\n    this.element = element;\n    this.args = args;\n  }\n\n  updateFromArgs() {\n    let {\n      args\n    } = this;\n    let {\n      once,\n      passive,\n      capture\n    } = reifyNamed(args.named);\n\n    if (once !== this.once) {\n      this.once = once;\n      this.shouldUpdate = true;\n    }\n\n    if (passive !== this.passive) {\n      this.passive = passive;\n      this.shouldUpdate = true;\n    }\n\n    if (capture !== this.capture) {\n      this.capture = capture;\n      this.shouldUpdate = true;\n    }\n\n    let options;\n\n    if (once || passive || capture) {\n      options = this.options = {\n        once,\n        passive,\n        capture\n      };\n    } else {\n      this.options = undefined;\n    }\n\n    if (DEBUG && (args.positional[0] === undefined || typeof valueForRef(args.positional[0]) !== 'string')) {\n      throw new Error('You must pass a valid DOM event name as the first argument to the `on` modifier');\n    }\n\n    let eventName = valueForRef(args.positional[0]);\n\n    if (eventName !== this.eventName) {\n      this.eventName = eventName;\n      this.shouldUpdate = true;\n    }\n\n    let userProvidedCallbackReference = args.positional[1];\n\n    if (DEBUG) {\n      if (args.positional[1] === undefined) {\n        throw new Error(`You must pass a function as the second argument to the \\`on\\` modifier.`);\n      }\n\n      let value = valueForRef(userProvidedCallbackReference);\n\n      if (typeof value !== 'function') {\n        throw new Error(`You must pass a function as the second argument to the \\`on\\` modifier; you passed ${value === null ? 'null' : typeof value}. While rendering:\\n\\n${userProvidedCallbackReference.debugLabel}`);\n      }\n    }\n\n    let userProvidedCallback = valueForRef(userProvidedCallbackReference);\n\n    if (userProvidedCallback !== this.userProvidedCallback) {\n      this.userProvidedCallback = userProvidedCallback;\n      this.shouldUpdate = true;\n    }\n\n    if (DEBUG && args.positional.length !== 2) {\n      throw new Error(`You can only pass two positional arguments (event name and callback) to the \\`on\\` modifier, but you provided ${args.positional.length}. Consider using the \\`fn\\` helper to provide additional arguments to the \\`on\\` callback.`);\n    }\n\n    let needsCustomCallback = SUPPORTS_EVENT_OPTIONS === false && once ||\n    /* needs manual once implementation */\n    DEBUG && passive;\n    /* needs passive enforcement */\n\n    if (this.shouldUpdate) {\n      if (needsCustomCallback) {\n        let callback = this.callback = function (event) {\n          if (DEBUG && passive) {\n            event.preventDefault = () => {\n              throw new Error(`You marked this listener as 'passive', meaning that you must not call 'event.preventDefault()': \\n\\n${userProvidedCallback}`);\n            };\n          }\n\n          if (!SUPPORTS_EVENT_OPTIONS && once) {\n            removeEventListener(this, eventName, callback, options);\n          }\n\n          return userProvidedCallback.call(untouchableContext, event);\n        };\n      } else if (DEBUG) {\n        // prevent the callback from being bound to the element\n        this.callback = userProvidedCallback.bind(untouchableContext);\n      } else {\n        this.callback = userProvidedCallback;\n      }\n    }\n  }\n\n}\nlet adds = 0;\nlet removes = 0;\n\nfunction removeEventListener(element, eventName, callback, options) {\n  removes++;\n\n  if (SUPPORTS_EVENT_OPTIONS) {\n    // when options are supported, use them across the board\n    element.removeEventListener(eventName, callback, options);\n  } else if (options !== undefined && options.capture) {\n    // used only in the following case:\n    //\n    // `{ once: true | false, passive: true | false, capture: true }\n    //\n    // `once` is handled via a custom callback that removes after first\n    // invocation so we only care about capture here as a boolean\n    element.removeEventListener(eventName, callback, true);\n  } else {\n    // used only in the following cases:\n    //\n    // * where there is no options\n    // * `{ once: true | false, passive: true | false, capture: false }\n    element.removeEventListener(eventName, callback);\n  }\n}\n\nfunction addEventListener(element, eventName, callback, options) {\n  adds++;\n\n  if (SUPPORTS_EVENT_OPTIONS) {\n    // when options are supported, use them across the board\n    element.addEventListener(eventName, callback, options);\n  } else if (options !== undefined && options.capture) {\n    // used only in the following case:\n    //\n    // `{ once: true | false, passive: true | false, capture: true }\n    //\n    // `once` is handled via a custom callback that removes after first\n    // invocation so we only care about capture here as a boolean\n    element.addEventListener(eventName, callback, true);\n  } else {\n    // used only in the following cases:\n    //\n    // * where there is no options\n    // * `{ once: true | false, passive: true | false, capture: false }\n    element.addEventListener(eventName, callback);\n  }\n}\n/**\n  The `{{on}}` modifier lets you easily add event listeners (it uses\n  [EventTarget.addEventListener](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener)\n  internally).\n\n  For example, if you'd like to run a function on your component when a `<button>`\n  in the components template is clicked you might do something like:\n\n  ```app/components/like-post.hbs\n  <button {{on 'click' this.saveLike}}>Like this post!</button>\n  ```\n\n  ```app/components/like-post.js\n  import Component from '@glimmer/component';\n  import { action } from '@ember/object';\n\n  export default class LikePostComponent extends Component {\n    saveLike = () => {\n      // someone likes your post!\n      // better send a request off to your server...\n    }\n  }\n  ```\n\n  ### Arguments\n\n  `{{on}}` accepts two positional arguments, and a few named arguments.\n\n  The positional arguments are:\n\n  - `event` -- the name to use when calling `addEventListener`\n  - `callback` -- the function to be passed to `addEventListener`\n\n  The named arguments are:\n\n  - capture -- a `true` value indicates that events of this type will be dispatched\n    to the registered listener before being dispatched to any EventTarget beneath it\n    in the DOM tree.\n  - once -- indicates that the listener should be invoked at most once after being\n    added. If true, the listener would be automatically removed when invoked.\n  - passive -- if `true`, indicates that the function specified by listener will never\n    call preventDefault(). If a passive listener does call preventDefault(), the user\n    agent will do nothing other than generate a console warning. See\n    [Improving scrolling performance with passive listeners](https://developer.mozilla.org/en-US/docs/Web/API/EventTarget/addEventListener#Improving_scrolling_performance_with_passive_listeners)\n    to learn more.\n\n  The callback function passed to `{{on}}` will receive any arguments that are passed\n  to the event handler. Most commonly this would be the `event` itself.\n\n  If you would like to pass additional arguments to the function you should use\n  the `{{fn}}` helper.\n\n  For example, in our example case above if you'd like to pass in the post that\n  was being liked when the button is clicked you could do something like:\n\n  ```app/components/like-post.hbs\n  <button {{on 'click' (fn this.saveLike @post)}}>Like this post!</button>\n  ```\n\n  In this case, the `saveLike` function will receive two arguments: the click event\n  and the value of `@post`.\n\n  ### Function Context\n\n  In the example above, we used an arrow function to ensure that `likePost` is\n  properly bound to the `items-list`, but let's explore what happens if we\n  left out the arrow function:\n\n  ```app/components/like-post.js\n  import Component from '@glimmer/component';\n\n  export default class LikePostComponent extends Component {\n    saveLike() {\n      // ...snip...\n    }\n  }\n  ```\n\n  In this example, when the button is clicked `saveLike` will be invoked,\n  it will **not** have access to the component instance. In other\n  words, it will have no `this` context, so please make sure your functions\n  are bound (via an arrow function or other means) before passing into `on`!\n\n  @method on\n  @public\n*/\n\n\nclass OnModifierManager {\n  constructor() {\n    this.SUPPORTS_EVENT_OPTIONS = SUPPORTS_EVENT_OPTIONS;\n  }\n\n  getDebugName() {\n    return 'on';\n  }\n\n  get counters() {\n    return {\n      adds,\n      removes\n    };\n  }\n\n  create(_owner, element, _state, args) {\n    return new OnModifierState(element, args);\n  }\n\n  getTag(state) {\n    if (state === null) {\n      return null;\n    }\n\n    return state.tag;\n  }\n\n  install(state) {\n    if (state === null) {\n      return;\n    }\n\n    state.updateFromArgs();\n    let {\n      element,\n      eventName,\n      callback,\n      options\n    } = state;\n    addEventListener(element, eventName, callback, options);\n    registerDestructor(state, () => removeEventListener(element, eventName, callback, options));\n    state.shouldUpdate = false;\n  }\n\n  update(state) {\n    if (state === null) {\n      return;\n    } // stash prior state for el.removeEventListener\n\n\n    let {\n      element,\n      eventName,\n      callback,\n      options\n    } = state;\n    state.updateFromArgs();\n\n    if (!state.shouldUpdate) {\n      return;\n    } // use prior state values for removal\n\n\n    removeEventListener(element, eventName, callback, options); // read updated values from the state object\n\n    addEventListener(state.element, state.eventName, state.callback, state.options);\n    state.shouldUpdate = false;\n  }\n\n  getDestroyable(state) {\n    return state;\n  }\n\n}\n\nvar on = setInternalModifierManager(new OnModifierManager(), {});\n\nexport { clear, ConcreteBounds, CursorImpl, resetDebuggerCallback, setDebuggerCallback, curry, CurriedValue, TemplateOnlyComponentManager, TEMPLATE_ONLY_COMPONENT_MANAGER, TemplateOnlyComponentDefinition as TemplateOnlyComponent, templateOnlyComponent, helper$1 as DOMChanges, DOMChangesImpl as IDOMChanges, DOMTreeConstruction, isWhitespace, normalizeProperty, DynamicScopeImpl, PartialScopeImpl, runtimeContext, EnvironmentImpl, inTransaction, renderComponent, renderMain, renderSync, UpdatingVMImpl as UpdatingVM, VM as LowLevelVM, EMPTY_ARGS, EMPTY_NAMED, EMPTY_POSITIONAL, createCapturedArgs, reifyArgs, reifyNamed$1 as reifyNamed, reifyPositional$1 as reifyPositional, DynamicAttribute, dynamicAttribute, SimpleDynamicAttribute, clientBuilder, NewElementBuilder, UpdatableBlockImpl, RemoteLiveBlock, isSerializationFirstNode, RehydrateBuilder, rehydrationBuilder, SERIALIZATION_FIRST_NODE_STRING, invokeHelper, fn, hash, array, get, concat, on };\n","import { DEBUG } from '@glimmer/env';\n\nconst EMPTY_ARRAY = Object.freeze([]);\nfunction emptyArray() {\n  return EMPTY_ARRAY;\n}\nconst EMPTY_STRING_ARRAY = emptyArray();\nconst EMPTY_NUMBER_ARRAY = emptyArray();\n/**\n * This function returns `true` if the input array is the special empty array sentinel,\n * which is sometimes used for optimizations.\n */\n\nfunction isEmptyArray(input) {\n  return input === EMPTY_ARRAY;\n}\n\n// import Logger from './logger';\n\nfunction debugAssert$$1(test, msg) {\n  // if (!alreadyWarned) {\n  //   alreadyWarned = true;\n  //   Logger.warn(\"Don't leave debug assertions on in public builds\");\n  // }\n  if (!test) {\n    throw new Error(msg || 'assertion failure');\n  }\n}\nfunction deprecate$$1(desc) {\n  LOCAL_LOGGER.warn(`DEPRECATION: ${desc}`);\n}\n\nfunction dict() {\n  return Object.create(null);\n}\nfunction isDict(u) {\n  return u !== null && u !== undefined;\n}\nfunction isObject(u) {\n  return typeof u === 'function' || typeof u === 'object' && u !== null;\n}\nclass StackImpl {\n  constructor(values = []) {\n    this.current = null;\n    this.stack = values;\n  }\n\n  get size() {\n    return this.stack.length;\n  }\n\n  push(item) {\n    this.current = item;\n    this.stack.push(item);\n  }\n\n  pop() {\n    let item = this.stack.pop();\n    let len = this.stack.length;\n    this.current = len === 0 ? null : this.stack[len - 1];\n    return item === undefined ? null : item;\n  }\n\n  nth(from) {\n    let len = this.stack.length;\n    return len < from ? null : this.stack[len - from];\n  }\n\n  isEmpty() {\n    return this.stack.length === 0;\n  }\n\n  toArray() {\n    return this.stack;\n  }\n\n}\n\nfunction clearElement(parent) {\n  let current = parent.firstChild;\n\n  while (current) {\n    let next = current.nextSibling;\n    parent.removeChild(current);\n    current = next;\n  }\n}\n\nconst SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\nfunction isSerializationFirstNode(node) {\n  return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n}\n\nlet assign = Object.assign;\nfunction fillNulls(count) {\n  let arr = new Array(count);\n\n  for (let i = 0; i < count; i++) {\n    arr[i] = null;\n  }\n\n  return arr;\n}\nfunction values(obj) {\n  const vals = [];\n\n  for (const key in obj) {\n    vals.push(obj[key]);\n  }\n\n  return vals;\n}\n\n/**\n  Strongly hint runtimes to intern the provided string.\n\n  When do I need to use this function?\n\n  For the most part, never. Pre-mature optimization is bad, and often the\n  runtime does exactly what you need it to, and more often the trade-off isn't\n  worth it.\n\n  Why?\n\n  Runtimes store strings in at least 2 different representations:\n  Ropes and Symbols (interned strings). The Rope provides a memory efficient\n  data-structure for strings created from concatenation or some other string\n  manipulation like splitting.\n\n  Unfortunately checking equality of different ropes can be quite costly as\n  runtimes must resort to clever string comparison algorithms. These\n  algorithms typically cost in proportion to the length of the string.\n  Luckily, this is where the Symbols (interned strings) shine. As Symbols are\n  unique by their string content, equality checks can be done by pointer\n  comparison.\n\n  How do I know if my string is a rope or symbol?\n\n  Typically (warning general sweeping statement, but truthy in runtimes at\n  present) static strings created as part of the JS source are interned.\n  Strings often used for comparisons can be interned at runtime if some\n  criteria are met.  One of these criteria can be the size of the entire rope.\n  For example, in chrome 38 a rope longer then 12 characters will not\n  intern, nor will segments of that rope.\n\n  Some numbers: http://jsperf.com/eval-vs-keys/8\n\n  Known Trick™\n\n  @private\n  @return {String} interned version of the provided string\n*/\nfunction intern(str) {\n  let obj = {};\n  obj[str] = 1;\n\n  for (let key in obj) {\n    if (key === str) {\n      return key;\n    }\n  }\n\n  return str;\n}\n\nconst HAS_NATIVE_PROXY = typeof Proxy === 'function';\nconst HAS_NATIVE_SYMBOL = function () {\n  if (typeof Symbol !== 'function') {\n    return false;\n  } // eslint-disable-next-line symbol-description\n\n\n  return typeof Symbol() === 'symbol';\n}();\nfunction keys(obj) {\n  return Object.keys(obj);\n}\nfunction unwrap(val) {\n  if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n  return val;\n}\nfunction expect(val, message) {\n  if (val === null || val === undefined) throw new Error(message);\n  return val;\n}\nfunction unreachable(message = 'unreachable') {\n  return new Error(message);\n}\nfunction exhausted(value) {\n  throw new Error(`Exhausted ${value}`);\n}\nconst tuple = (...args) => args;\nfunction enumerableSymbol(key) {\n  return intern(`__${key}${Math.floor(Math.random() * Date.now())}__`);\n}\nconst symbol = HAS_NATIVE_SYMBOL ? Symbol : enumerableSymbol;\n\nfunction strip(strings, ...args) {\n  let out = '';\n\n  for (let i = 0; i < strings.length; i++) {\n    let string = strings[i];\n    let dynamic = args[i] !== undefined ? String(args[i]) : '';\n    out += `${string}${dynamic}`;\n  }\n\n  let lines = out.split('\\n');\n\n  while (lines.length && lines[0].match(/^\\s*$/)) {\n    lines.shift();\n  }\n\n  while (lines.length && lines[lines.length - 1].match(/^\\s*$/)) {\n    lines.pop();\n  }\n\n  let min = Infinity;\n\n  for (let line of lines) {\n    let leading = line.match(/^\\s*/)[0].length;\n    min = Math.min(min, leading);\n  }\n\n  let stripped = [];\n\n  for (let line of lines) {\n    stripped.push(line.slice(min));\n  }\n\n  return stripped.join('\\n');\n}\n\nfunction isHandle(value) {\n  return value >= 0;\n}\nfunction isNonPrimitiveHandle(value) {\n  return value > 3\n  /* ENCODED_UNDEFINED_HANDLE */\n  ;\n}\nfunction constants(...values) {\n  return [false, true, null, undefined, ...values];\n}\nfunction isSmallInt(value) {\n  return value % 1 === 0 && value <= 536870911\n  /* MAX_INT */\n  && value >= -536870912\n  /* MIN_INT */\n  ;\n}\nfunction encodeNegative(num) {\n\n  return num & -536870913\n  /* SIGN_BIT */\n  ;\n}\nfunction decodeNegative(num) {\n\n  return num | ~-536870913\n  /* SIGN_BIT */\n  ;\n}\nfunction encodePositive(num) {\n\n  return ~num;\n}\nfunction decodePositive(num) {\n\n  return ~num;\n}\nfunction encodeHandle(num) {\n\n  return num;\n}\nfunction decodeHandle(num) {\n\n  return num;\n}\nfunction encodeImmediate(num) {\n  num |= 0;\n  return num < 0 ? encodeNegative(num) : encodePositive(num);\n}\nfunction decodeImmediate(num) {\n  num |= 0;\n  return num > -536870913\n  /* SIGN_BIT */\n  ? decodePositive(num) : decodeNegative(num);\n} // Warm\n[1, -1].forEach(x => decodeImmediate(encodeImmediate(x)));\n\nfunction unwrapHandle(handle) {\n  if (typeof handle === 'number') {\n    return handle;\n  } else {\n    let error = handle.errors[0];\n    throw new Error(`Compile Error: ${error.problem} @ ${error.span.start}..${error.span.end}`);\n  }\n}\nfunction unwrapTemplate(template) {\n  if (template.result === 'error') {\n    throw new Error(`Compile Error: ${template.problem} @ ${template.span.start}..${template.span.end}`);\n  }\n\n  return template;\n}\nfunction extractHandle(handle) {\n  if (typeof handle === 'number') {\n    return handle;\n  } else {\n    return handle.handle;\n  }\n}\nfunction isOkHandle(handle) {\n  return typeof handle === 'number';\n}\nfunction isErrHandle(handle) {\n  return typeof handle === 'number';\n}\n\nvar weakSet = typeof WeakSet === 'function' ? WeakSet : class WeakSetPolyFill {\n  constructor() {\n    this._map = new WeakMap();\n  }\n\n  add(val) {\n    this._map.set(val, true);\n\n    return this;\n  }\n\n  delete(val) {\n    return this._map.delete(val);\n  }\n\n  has(val) {\n    return this._map.has(val);\n  }\n\n};\n\nfunction castToSimple(node) {\n  if (isDocument(node)) {\n    return node;\n  } else if (isElement(node)) {\n    return node;\n  } else {\n    return node;\n  }\n}\nfunction castToBrowser(node, sugaryCheck) {\n  if (node === null || node === undefined) {\n    return null;\n  }\n\n  if (typeof document === undefined) {\n    throw new Error('Attempted to cast to a browser node in a non-browser context');\n  }\n\n  if (isDocument(node)) {\n    return node;\n  }\n\n  if (node.ownerDocument !== document) {\n    throw new Error('Attempted to cast to a browser node with a node that was not created from this document');\n  }\n\n  return checkNode(node, sugaryCheck);\n}\n\nfunction checkError(from, check) {\n  return new Error(`cannot cast a ${from} into ${check}`);\n}\n\nfunction isDocument(node) {\n  return node.nodeType === 9\n  /* DOCUMENT_NODE */\n  ;\n}\n\nfunction isElement(node) {\n  return node.nodeType === 1\n  /* ELEMENT_NODE */\n  ;\n}\n\nfunction checkNode(node, check) {\n  let isMatch = false;\n\n  if (node !== null) {\n    if (typeof check === 'string') {\n      isMatch = stringCheckNode(node, check);\n    } else if (Array.isArray(check)) {\n      isMatch = check.some(c => stringCheckNode(node, c));\n    } else {\n      throw unreachable();\n    }\n  }\n\n  if (isMatch) {\n    return node;\n  } else {\n    throw checkError(`SimpleElement(${node})`, check);\n  }\n}\n\nfunction stringCheckNode(node, check) {\n  switch (check) {\n    case 'NODE':\n      return true;\n\n    case 'HTML':\n      return node instanceof HTMLElement;\n\n    case 'SVG':\n      return node instanceof SVGElement;\n\n    case 'ELEMENT':\n      return node instanceof Element;\n\n    default:\n      if (check.toUpperCase() === check) {\n        throw new Error(`BUG: this code is missing handling for a generic node type`);\n      }\n\n      return node instanceof Element && node.tagName.toLowerCase() === check;\n  }\n}\n\nfunction isPresent(list) {\n  return list.length > 0;\n}\nfunction ifPresent(list, ifPresent, otherwise) {\n  if (isPresent(list)) {\n    return ifPresent(list);\n  } else {\n    return otherwise();\n  }\n}\nfunction toPresentOption(list) {\n  if (isPresent(list)) {\n    return list;\n  } else {\n    return null;\n  }\n}\nfunction assertPresent(list, message = `unexpected empty list`) {\n  if (!isPresent(list)) {\n    throw new Error(message);\n  }\n}\nfunction mapPresent(list, callback) {\n  if (list === null) {\n    return null;\n  }\n\n  let out = [];\n\n  for (let item of list) {\n    out.push(callback(item));\n  }\n\n  return out;\n}\n\nfunction buildUntouchableThis(source) {\n  let context = null;\n\n  if (DEBUG && HAS_NATIVE_PROXY) {\n    let assertOnProperty = property => {\n      throw new Error(`You accessed \\`this.${String(property)}\\` from a function passed to the ${source}, but the function itself was not bound to a valid \\`this\\` context. Consider updating to use a bound function (for instance, use an arrow function, \\`() => {}\\`).`);\n    };\n\n    context = new Proxy({}, {\n      get(_target, property) {\n        assertOnProperty(property);\n      },\n\n      set(_target, property) {\n        assertOnProperty(property);\n        return false;\n      },\n\n      has(_target, property) {\n        assertOnProperty(property);\n        return false;\n      }\n\n    });\n  }\n\n  return context;\n}\n\nlet debugToString;\n\nif (DEBUG) {\n  let getFunctionName = fn => {\n    let functionName = fn.name;\n\n    if (functionName === undefined) {\n      let match = Function.prototype.toString.call(fn).match(/function (\\w+)\\s*\\(/);\n      functionName = match && match[1] || '';\n    }\n\n    return functionName.replace(/^bound /, '');\n  };\n\n  let getObjectName = obj => {\n    let name;\n    let className;\n\n    if (obj.constructor && typeof obj.constructor === 'function') {\n      className = getFunctionName(obj.constructor);\n    }\n\n    if ('toString' in obj && obj.toString !== Object.prototype.toString && obj.toString !== Function.prototype.toString) {\n      name = obj.toString();\n    } // If the class has a decent looking name, and the `toString` is one of the\n    // default Ember toStrings, replace the constructor portion of the toString\n    // with the class name. We check the length of the class name to prevent doing\n    // this when the value is minified.\n\n\n    if (name && name.match(/<.*:ember\\d+>/) && className && className[0] !== '_' && className.length > 2 && className !== 'Class') {\n      return name.replace(/<.*:/, `<${className}:`);\n    }\n\n    return name || className;\n  };\n\n  let getPrimitiveName = value => {\n    return String(value);\n  };\n\n  debugToString = value => {\n    if (typeof value === 'function') {\n      return getFunctionName(value) || `(unknown function)`;\n    } else if (typeof value === 'object' && value !== null) {\n      return getObjectName(value) || `(unknown object)`;\n    } else {\n      return getPrimitiveName(value);\n    }\n  };\n}\n\nvar debugToString$1 = debugToString;\n\nlet beginTestSteps;\nlet endTestSteps;\nlet verifySteps;\nlet logStep;\n\n/**\n * This constant exists to make it easier to differentiate normal logs from\n * errant console.logs. LOCAL_LOGGER should only be used inside a\n * LOCAL_SHOULD_LOG check.\n *\n * It does not alleviate the need to check LOCAL_SHOULD_LOG, which is used\n * for stripping.\n */\n\nconst LOCAL_LOGGER = console;\n/**\n * This constant exists to make it easier to differentiate normal logs from\n * errant console.logs. LOGGER can be used outside of LOCAL_SHOULD_LOG checks,\n * and is meant to be used in the rare situation where a console.* call is\n * actually appropriate.\n */\n\nconst LOGGER = console;\nfunction assertNever(value, desc = 'unexpected unreachable branch') {\n  LOGGER.log('unreachable', value);\n  LOGGER.log(`${desc} :: ${JSON.stringify(value)} (${value})`);\n  throw new Error(`code reached unreachable`);\n}\n\nexport { LOCAL_LOGGER, LOGGER, assertNever, debugAssert$$1 as assert, deprecate$$1 as deprecate, dict, isDict, isObject, StackImpl as Stack, isSerializationFirstNode, SERIALIZATION_FIRST_NODE_STRING, assign, fillNulls, values, weakSet as _WeakSet, castToSimple, castToBrowser, checkNode, intern, buildUntouchableThis, debugToString$1 as debugToString, beginTestSteps, endTestSteps, logStep, verifySteps, EMPTY_ARRAY, emptyArray, EMPTY_STRING_ARRAY, EMPTY_NUMBER_ARRAY, isEmptyArray, clearElement, HAS_NATIVE_PROXY, HAS_NATIVE_SYMBOL, keys, unwrap, expect, unreachable, exhausted, tuple, enumerableSymbol, symbol, strip, isHandle, isNonPrimitiveHandle, constants, isSmallInt, encodeNegative, decodeNegative, encodePositive, decodePositive, encodeHandle, decodeHandle, encodeImmediate, decodeImmediate, unwrapHandle, unwrapTemplate, extractHandle, isOkHandle, isErrHandle, isPresent, ifPresent, toPresentOption, assertPresent, mapPresent };\n","import { DEBUG } from '@glimmer/env';\nimport { assert, scheduleRevalidate } from '@glimmer/global-context';\n\n// eslint-disable-next-line @typescript-eslint/ban-types\nfunction indexable(input) {\n  return input;\n} // This is a duplicate utility from @glimmer/util because `@glimmer/validator`\n// should not depend on any other @glimmer packages, in order to avoid pulling\n// in types and prevent regressions in `@glimmer/tracking` (which has public types).\n\nconst symbol = typeof Symbol !== 'undefined' ? Symbol : // eslint-disable-next-line @typescript-eslint/no-explicit-any\nkey => `__${key}${Math.floor(Math.random() * Date.now())}__`; // eslint-disable-next-line @typescript-eslint/no-explicit-any\n\nconst symbolFor = typeof Symbol !== 'undefined' ? Symbol.for : key => `__GLIMMER_VALIDATOR_SYMBOL_FOR_${key}`;\nfunction getGlobal() {\n  // eslint-disable-next-line node/no-unsupported-features/es-builtins\n  if (typeof globalThis !== 'undefined') return indexable(globalThis);\n  if (typeof self !== 'undefined') return indexable(self);\n  if (typeof window !== 'undefined') return indexable(window);\n  if (typeof global !== 'undefined') return indexable(global);\n  throw new Error('unable to locate global object');\n}\nfunction unwrap(val) {\n  if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n  return val;\n}\n\nlet beginTrackingTransaction;\nlet endTrackingTransaction;\nlet runInTrackingTransaction;\nlet resetTrackingTransaction;\nlet setTrackingTransactionEnv;\nlet assertTagNotConsumed;\nlet markTagAsConsumed;\nlet logTrackingStack;\n\nif (DEBUG) {\n  let CONSUMED_TAGS = null;\n  let TRANSACTION_STACK = []; /////////\n\n  let TRANSACTION_ENV = {\n    debugMessage(obj, keyName) {\n      let objName;\n\n      if (typeof obj === 'function') {\n        objName = obj.name;\n      } else if (typeof obj === 'object' && obj !== null) {\n        let className = obj.constructor && obj.constructor.name || '(unknown class)';\n        objName = `(an instance of ${className})`;\n      } else if (obj === undefined) {\n        objName = '(an unknown tag)';\n      } else {\n        objName = String(obj);\n      }\n\n      let dirtyString = keyName ? `\\`${keyName}\\` on \\`${objName}\\`` : `\\`${objName}\\``;\n      return `You attempted to update ${dirtyString}, but it had already been used previously in the same computation.  Attempting to update a value after using it in a computation can cause logical errors, infinite revalidation bugs, and performance issues, and is not supported.`;\n    }\n\n  };\n\n  setTrackingTransactionEnv = env => Object.assign(TRANSACTION_ENV, env);\n\n  beginTrackingTransaction = _debugLabel => {\n    CONSUMED_TAGS = CONSUMED_TAGS || new WeakMap();\n    let debugLabel = _debugLabel || undefined;\n    let parent = TRANSACTION_STACK[TRANSACTION_STACK.length - 1] || null;\n    TRANSACTION_STACK.push({\n      parent,\n      debugLabel\n    });\n  };\n\n  endTrackingTransaction = () => {\n    if (TRANSACTION_STACK.length === 0) {\n      throw new Error('attempted to close a tracking transaction, but one was not open');\n    }\n\n    TRANSACTION_STACK.pop();\n\n    if (TRANSACTION_STACK.length === 0) {\n      CONSUMED_TAGS = null;\n    }\n  };\n\n  resetTrackingTransaction = () => {\n    let stack = '';\n\n    if (TRANSACTION_STACK.length > 0) {\n      stack = logTrackingStack(TRANSACTION_STACK[TRANSACTION_STACK.length - 1]);\n    }\n\n    TRANSACTION_STACK = [];\n    CONSUMED_TAGS = null;\n    return stack;\n  };\n  /**\n   * Creates a global autotracking transaction. This will prevent any backflow\n   * in any `track` calls within the transaction, even if they are not\n   * externally consumed.\n   *\n   * `runInAutotrackingTransaction` can be called within itself, and it will add\n   * onto the existing transaction if one exists.\n   *\n   * TODO: Only throw an error if the `track` is consumed.\n   */\n\n\n  runInTrackingTransaction = (fn, debugLabel) => {\n    beginTrackingTransaction(debugLabel);\n    let didError = true;\n\n    try {\n      let value = fn();\n      didError = false;\n      return value;\n    } finally {\n      if (didError !== true) {\n        endTrackingTransaction();\n      }\n    }\n  };\n\n  let nthIndex = (str, pattern, n, startingPos = -1) => {\n    let i = startingPos;\n\n    while (n-- > 0 && i++ < str.length) {\n      i = str.indexOf(pattern, i);\n      if (i < 0) break;\n    }\n\n    return i;\n  };\n\n  let makeTrackingErrorMessage = (transaction, obj, keyName) => {\n    let message = [TRANSACTION_ENV.debugMessage(obj, keyName && String(keyName))];\n    message.push(`\\`${String(keyName)}\\` was first used:`);\n    message.push(logTrackingStack(transaction));\n    message.push(`Stack trace for the update:`);\n    return message.join('\\n\\n');\n  };\n\n  logTrackingStack = transaction => {\n    let trackingStack = [];\n    let current = transaction || TRANSACTION_STACK[TRANSACTION_STACK.length - 1];\n    if (current === undefined) return '';\n\n    while (current) {\n      if (current.debugLabel) {\n        trackingStack.unshift(current.debugLabel);\n      }\n\n      current = current.parent;\n    } // TODO: Use String.prototype.repeat here once we can drop support for IE11\n\n\n    return trackingStack.map((label, index) => Array(2 * index + 1).join(' ') + label).join('\\n');\n  };\n\n  markTagAsConsumed = _tag => {\n    if (!CONSUMED_TAGS || CONSUMED_TAGS.has(_tag)) return;\n    CONSUMED_TAGS.set(_tag, TRANSACTION_STACK[TRANSACTION_STACK.length - 1]); // We need to mark the tag and all of its subtags as consumed, so we need to\n    // cast it and access its internals. In the future this shouldn't be necessary,\n    // this is only for computed properties.\n\n    let tag = _tag;\n\n    if (tag.subtag) {\n      markTagAsConsumed(tag.subtag);\n    }\n\n    if (tag.subtags) {\n      tag.subtags.forEach(tag => markTagAsConsumed(tag));\n    }\n  };\n\n  assertTagNotConsumed = (tag, obj, keyName) => {\n    if (CONSUMED_TAGS === null) return;\n    let transaction = CONSUMED_TAGS.get(tag);\n    if (!transaction) return; // This hack makes the assertion message nicer, we can cut off the first\n    // few lines of the stack trace and let users know where the actual error\n    // occurred.\n\n    try {\n      assert(false, makeTrackingErrorMessage(transaction, obj, keyName));\n    } catch (e) {\n      if (e.stack) {\n        let updateStackBegin = e.stack.indexOf('Stack trace for the update:');\n\n        if (updateStackBegin !== -1) {\n          let start = nthIndex(e.stack, '\\n', 1, updateStackBegin);\n          let end = nthIndex(e.stack, '\\n', 4, updateStackBegin);\n          e.stack = e.stack.substr(0, start) + e.stack.substr(end);\n        }\n      }\n\n      throw e;\n    }\n  };\n}\n\nconst CONSTANT = 0;\nconst INITIAL = 1;\nconst VOLATILE = NaN;\nlet $REVISION = INITIAL;\nfunction bump() {\n  $REVISION++;\n} //////////\n\nconst COMPUTE = symbol('TAG_COMPUTE'); //////////\n\n/**\n * `value` receives a tag and returns an opaque Revision based on that tag. This\n * snapshot can then later be passed to `validate` with the same tag to\n * determine if the tag has changed at all since the time that `value` was\n * called.\n *\n * @param tag\n */\n\nfunction valueForTag(tag) {\n  return tag[COMPUTE]();\n}\n/**\n * `validate` receives a tag and a snapshot from a previous call to `value` with\n * the same tag, and determines if the tag is still valid compared to the\n * snapshot. If the tag's state has changed at all since then, `validate` will\n * return false, otherwise it will return true. This is used to determine if a\n * calculation related to the tags should be rerun.\n *\n * @param tag\n * @param snapshot\n */\n\nfunction validateTag(tag, snapshot) {\n  return snapshot >= tag[COMPUTE]();\n}\nconst TYPE = symbol('TAG_TYPE'); // this is basically a const\n// eslint-disable-next-line @typescript-eslint/naming-convention\n\nlet ALLOW_CYCLES;\n\nif (DEBUG) {\n  ALLOW_CYCLES = new WeakMap();\n}\n\nfunction allowsCycles(tag) {\n  if (ALLOW_CYCLES === undefined) {\n    return true;\n  } else {\n    return ALLOW_CYCLES.has(tag);\n  }\n}\n\nclass MonomorphicTagImpl {\n  constructor(type) {\n    this.revision = INITIAL;\n    this.lastChecked = INITIAL;\n    this.lastValue = INITIAL;\n    this.isUpdating = false;\n    this.subtag = null;\n    this.subtagBufferCache = null;\n    this[TYPE] = type;\n  }\n\n  static combine(tags) {\n    switch (tags.length) {\n      case 0:\n        return CONSTANT_TAG;\n\n      case 1:\n        return tags[0];\n\n      default:\n        let tag = new MonomorphicTagImpl(2\n        /* Combinator */\n        );\n        tag.subtag = tags;\n        return tag;\n    }\n  }\n\n  [COMPUTE]() {\n    let {\n      lastChecked\n    } = this;\n\n    if (this.isUpdating === true) {\n      if (DEBUG && !allowsCycles(this)) {\n        throw new Error('Cycles in tags are not allowed');\n      }\n\n      this.lastChecked = ++$REVISION;\n    } else if (lastChecked !== $REVISION) {\n      this.isUpdating = true;\n      this.lastChecked = $REVISION;\n\n      try {\n        let {\n          subtag,\n          revision\n        } = this;\n\n        if (subtag !== null) {\n          if (Array.isArray(subtag)) {\n            for (let i = 0; i < subtag.length; i++) {\n              let value = subtag[i][COMPUTE]();\n              revision = Math.max(value, revision);\n            }\n          } else {\n            let subtagValue = subtag[COMPUTE]();\n\n            if (subtagValue === this.subtagBufferCache) {\n              revision = Math.max(revision, this.lastValue);\n            } else {\n              // Clear the temporary buffer cache\n              this.subtagBufferCache = null;\n              revision = Math.max(revision, subtagValue);\n            }\n          }\n        }\n\n        this.lastValue = revision;\n      } finally {\n        this.isUpdating = false;\n      }\n    }\n\n    return this.lastValue;\n  }\n\n  static updateTag(_tag, _subtag) {\n    if (DEBUG && _tag[TYPE] !== 1\n    /* Updatable */\n    ) {\n        throw new Error('Attempted to update a tag that was not updatable');\n      } // TODO: TS 3.7 should allow us to do this via assertion\n\n\n    let tag = _tag;\n    let subtag = _subtag;\n\n    if (subtag === CONSTANT_TAG) {\n      tag.subtag = null;\n    } else {\n      // There are two different possibilities when updating a subtag:\n      //\n      // 1. subtag[COMPUTE]() <= tag[COMPUTE]();\n      // 2. subtag[COMPUTE]() > tag[COMPUTE]();\n      //\n      // The first possibility is completely fine within our caching model, but\n      // the second possibility presents a problem. If the parent tag has\n      // already been read, then it's value is cached and will not update to\n      // reflect the subtag's greater value. Next time the cache is busted, the\n      // subtag's value _will_ be read, and it's value will be _greater_ than\n      // the saved snapshot of the parent, causing the resulting calculation to\n      // be rerun erroneously.\n      //\n      // In order to prevent this, when we first update to a new subtag we store\n      // its computed value, and then check against that computed value on\n      // subsequent updates. If its value hasn't changed, then we return the\n      // parent's previous value. Once the subtag changes for the first time,\n      // we clear the cache and everything is finally in sync with the parent.\n      tag.subtagBufferCache = subtag[COMPUTE]();\n      tag.subtag = subtag;\n    }\n  }\n\n  static dirtyTag(tag, disableConsumptionAssertion) {\n    if (DEBUG && !(tag[TYPE] === 1\n    /* Updatable */\n    || tag[TYPE] === 0\n    /* Dirtyable */\n    )) {\n      throw new Error('Attempted to dirty a tag that was not dirtyable');\n    }\n\n    if (DEBUG && disableConsumptionAssertion !== true) {\n      // Usually by this point, we've already asserted with better error information,\n      // but this is our last line of defense.\n      unwrap(assertTagNotConsumed)(tag);\n    }\n\n    tag.revision = ++$REVISION;\n    scheduleRevalidate();\n  }\n\n}\n\nconst DIRTY_TAG = MonomorphicTagImpl.dirtyTag;\nconst UPDATE_TAG = MonomorphicTagImpl.updateTag; //////////\n\nfunction createTag() {\n  return new MonomorphicTagImpl(0\n  /* Dirtyable */\n  );\n}\nfunction createUpdatableTag() {\n  return new MonomorphicTagImpl(1\n  /* Updatable */\n  );\n} //////////\n\nconst CONSTANT_TAG = new MonomorphicTagImpl(3\n/* Constant */\n);\nfunction isConstTag(tag) {\n  return tag === CONSTANT_TAG;\n} //////////\n\nclass VolatileTag {\n  [COMPUTE]() {\n    return VOLATILE;\n  }\n\n}\nconst VOLATILE_TAG = new VolatileTag(); //////////\n\nclass CurrentTag {\n  [COMPUTE]() {\n    return $REVISION;\n  }\n\n}\nconst CURRENT_TAG = new CurrentTag(); //////////\n\nconst combine = MonomorphicTagImpl.combine; // Warm\n\nlet tag1 = createUpdatableTag();\nlet tag2 = createUpdatableTag();\nlet tag3 = createUpdatableTag();\nvalueForTag(tag1);\nDIRTY_TAG(tag1);\nvalueForTag(tag1);\nUPDATE_TAG(tag1, combine([tag2, tag3]));\nvalueForTag(tag1);\nDIRTY_TAG(tag2);\nvalueForTag(tag1);\nDIRTY_TAG(tag3);\nvalueForTag(tag1);\nUPDATE_TAG(tag1, tag3);\nvalueForTag(tag1);\nDIRTY_TAG(tag3);\nvalueForTag(tag1);\n\nfunction isObjectLike(u) {\n  return typeof u === 'object' && u !== null || typeof u === 'function';\n}\n\nconst TRACKED_TAGS = new WeakMap();\nfunction dirtyTagFor(obj, key, meta) {\n  if (DEBUG && !isObjectLike(obj)) {\n    throw new Error(`BUG: Can't update a tag for a primitive`);\n  }\n\n  let tags = meta === undefined ? TRACKED_TAGS.get(obj) : meta; // No tags have been setup for this object yet, return\n\n  if (tags === undefined) return; // Dirty the tag for the specific property if it exists\n\n  let propertyTag = tags.get(key);\n\n  if (propertyTag !== undefined) {\n    if (DEBUG) {\n      unwrap(assertTagNotConsumed)(propertyTag, obj, key);\n    }\n\n    DIRTY_TAG(propertyTag, true);\n  }\n}\nfunction tagMetaFor(obj) {\n  let tags = TRACKED_TAGS.get(obj);\n\n  if (tags === undefined) {\n    tags = new Map();\n    TRACKED_TAGS.set(obj, tags);\n  }\n\n  return tags;\n}\nfunction tagFor(obj, key, meta) {\n  let tags = meta === undefined ? tagMetaFor(obj) : meta;\n  let tag = tags.get(key);\n\n  if (tag === undefined) {\n    tag = createUpdatableTag();\n    tags.set(key, tag);\n  }\n\n  return tag;\n}\n\n/**\n * An object that that tracks @tracked properties that were consumed.\n */\n\nclass Tracker {\n  constructor() {\n    this.tags = new Set();\n    this.last = null;\n  }\n\n  add(tag) {\n    if (tag === CONSTANT_TAG) return;\n    this.tags.add(tag);\n\n    if (DEBUG) {\n      unwrap(markTagAsConsumed)(tag);\n    }\n\n    this.last = tag;\n  }\n\n  combine() {\n    let {\n      tags\n    } = this;\n\n    if (tags.size === 0) {\n      return CONSTANT_TAG;\n    } else if (tags.size === 1) {\n      return this.last;\n    } else {\n      let tagsArr = [];\n      tags.forEach(tag => tagsArr.push(tag));\n      return combine(tagsArr);\n    }\n  }\n\n}\n/**\n * Whenever a tracked computed property is entered, the current tracker is\n * saved off and a new tracker is replaced.\n *\n * Any tracked properties consumed are added to the current tracker.\n *\n * When a tracked computed property is exited, the tracker's tags are\n * combined and added to the parent tracker.\n *\n * The consequence is that each tracked computed property has a tag\n * that corresponds to the tracked properties consumed inside of\n * itself, including child tracked computed properties.\n */\n\n\nlet CURRENT_TRACKER = null;\nconst OPEN_TRACK_FRAMES = [];\nfunction beginTrackFrame(debuggingContext) {\n  OPEN_TRACK_FRAMES.push(CURRENT_TRACKER);\n  CURRENT_TRACKER = new Tracker();\n\n  if (DEBUG) {\n    unwrap(beginTrackingTransaction)(debuggingContext);\n  }\n}\nfunction endTrackFrame() {\n  let current = CURRENT_TRACKER;\n\n  if (DEBUG) {\n    if (OPEN_TRACK_FRAMES.length === 0) {\n      throw new Error('attempted to close a tracking frame, but one was not open');\n    }\n\n    unwrap(endTrackingTransaction)();\n  }\n\n  CURRENT_TRACKER = OPEN_TRACK_FRAMES.pop() || null;\n  return unwrap(current).combine();\n}\nfunction beginUntrackFrame() {\n  OPEN_TRACK_FRAMES.push(CURRENT_TRACKER);\n  CURRENT_TRACKER = null;\n}\nfunction endUntrackFrame() {\n  if (DEBUG && OPEN_TRACK_FRAMES.length === 0) {\n    throw new Error('attempted to close a tracking frame, but one was not open');\n  }\n\n  CURRENT_TRACKER = OPEN_TRACK_FRAMES.pop() || null;\n} // This function is only for handling errors and resetting to a valid state\n\nfunction resetTracking() {\n  while (OPEN_TRACK_FRAMES.length > 0) {\n    OPEN_TRACK_FRAMES.pop();\n  }\n\n  CURRENT_TRACKER = null;\n\n  if (DEBUG) {\n    return unwrap(resetTrackingTransaction)();\n  }\n}\nfunction isTracking() {\n  return CURRENT_TRACKER !== null;\n}\nfunction consumeTag(tag) {\n  if (CURRENT_TRACKER !== null) {\n    CURRENT_TRACKER.add(tag);\n  }\n} //////////\nconst FN = symbol('FN');\nconst LAST_VALUE = symbol('LAST_VALUE');\nconst TAG = symbol('TAG');\nconst SNAPSHOT = symbol('SNAPSHOT');\nconst DEBUG_LABEL = symbol('DEBUG_LABEL');\nfunction createCache(fn, debuggingLabel) {\n  if (DEBUG && !(typeof fn === 'function')) {\n    throw new Error(`createCache() must be passed a function as its first parameter. Called with: ${String(fn)}`);\n  }\n\n  let cache = {\n    [FN]: fn,\n    [LAST_VALUE]: undefined,\n    [TAG]: undefined,\n    [SNAPSHOT]: -1\n  };\n\n  if (DEBUG) {\n    cache[DEBUG_LABEL] = debuggingLabel;\n  }\n\n  return cache;\n}\nfunction getValue(cache) {\n  assertCache(cache, 'getValue');\n  let fn = cache[FN];\n  let tag = cache[TAG];\n  let snapshot = cache[SNAPSHOT];\n\n  if (tag === undefined || !validateTag(tag, snapshot)) {\n    beginTrackFrame();\n\n    try {\n      cache[LAST_VALUE] = fn();\n    } finally {\n      tag = endTrackFrame();\n      cache[TAG] = tag;\n      cache[SNAPSHOT] = valueForTag(tag);\n      consumeTag(tag);\n    }\n  } else {\n    consumeTag(tag);\n  }\n\n  return cache[LAST_VALUE];\n}\nfunction isConst(cache) {\n  assertCache(cache, 'isConst');\n  let tag = cache[TAG];\n  assertTag(tag, cache);\n  return isConstTag(tag);\n}\n\nfunction assertCache(value, fnName) {\n  if (DEBUG && !(typeof value === 'object' && value !== null && FN in value)) {\n    throw new Error(`${fnName}() can only be used on an instance of a cache created with createCache(). Called with: ${String(value)}`);\n  }\n} // replace this with `expect` when we can\n\n\nfunction assertTag(tag, cache) {\n  if (DEBUG && tag === undefined) {\n    throw new Error(`isConst() can only be used on a cache once getValue() has been called at least once. Called with cache function:\\n\\n${String(cache[FN])}`);\n  }\n} //////////\n// Legacy tracking APIs\n// track() shouldn't be necessary at all in the VM once the autotracking\n// refactors are merged, and we should generally be moving away from it. It may\n// be necessary in Ember for a while longer, but I think we'll be able to drop\n// it in favor of cache sooner rather than later.\n\n\nfunction track(callback, debugLabel) {\n  beginTrackFrame(debugLabel);\n  let tag;\n\n  try {\n    callback();\n  } finally {\n    tag = endTrackFrame();\n  }\n\n  return tag;\n} // untrack() is currently mainly used to handle places that were previously not\n// tracked, and that tracking now would cause backtracking rerender assertions.\n// I think once we move everyone forward onto modern APIs, we'll probably be\n// able to remove it, but I'm not sure yet.\n\nfunction untrack(callback) {\n  beginUntrackFrame();\n\n  try {\n    return callback();\n  } finally {\n    endUntrackFrame();\n  }\n}\n\nfunction trackedData(key, initializer) {\n  let values = new WeakMap();\n  let hasInitializer = typeof initializer === 'function';\n\n  function getter(self) {\n    consumeTag(tagFor(self, key));\n    let value; // If the field has never been initialized, we should initialize it\n\n    if (hasInitializer && !values.has(self)) {\n      value = initializer.call(self);\n      values.set(self, value);\n    } else {\n      value = values.get(self);\n    }\n\n    return value;\n  }\n\n  function setter(self, value) {\n    dirtyTagFor(self, key);\n    values.set(self, value);\n  }\n\n  return {\n    getter,\n    setter\n  };\n}\n\nconst GLIMMER_VALIDATOR_REGISTRATION = symbolFor('GLIMMER_VALIDATOR_REGISTRATION');\nconst globalObj = getGlobal();\n\nif (globalObj[GLIMMER_VALIDATOR_REGISTRATION] === true) {\n  throw new Error('The `@glimmer/validator` library has been included twice in this application. It could be different versions of the package, or the same version included twice by mistake. `@glimmer/validator` depends on having a single copy of the package in use at any time in an application, even if they are the same version. You must dedupe your build to remove the duplicate packages in order to prevent this error.');\n}\n\nglobalObj[GLIMMER_VALIDATOR_REGISTRATION] = true;\n\nexport { ALLOW_CYCLES, bump, combine, COMPUTE, CONSTANT_TAG, CONSTANT, createTag, createUpdatableTag, CurrentTag, CURRENT_TAG, DIRTY_TAG as dirtyTag, INITIAL, isConstTag, UPDATE_TAG as updateTag, validateTag, valueForTag, VolatileTag, VOLATILE_TAG, VOLATILE, dirtyTagFor, tagFor, tagMetaFor, beginTrackFrame, endTrackFrame, beginUntrackFrame, endUntrackFrame, resetTracking, consumeTag, isTracking, track, untrack, createCache, isConst, getValue, trackedData, logTrackingStack, setTrackingTransactionEnv, runInTrackingTransaction, beginTrackingTransaction, endTrackingTransaction };\n","/* This file is generated by build/debug.js */\nfunction isMachineOp(value) {\n  return value >= 0 && value <= 15;\n}\nfunction isOp(value) {\n  return value >= 16;\n}\n\n/**\n * Registers\n *\n * For the most part, these follows MIPS naming conventions, however the\n * register numbers are different.\n */\n// $0 or $pc (program counter): pointer into `program` for the next insturction; -1 means exit\nconst $pc = 0; // $1 or $ra (return address): pointer into `program` for the return\n\nconst $ra = 1; // $2 or $fp (frame pointer): pointer into the `evalStack` for the base of the stack\n\nconst $fp = 2; // $3 or $sp (stack pointer): pointer into the `evalStack` for the top of the stack\n\nconst $sp = 3; // $4-$5 or $s0-$s1 (saved): callee saved general-purpose registers\n\nconst $s0 = 4;\nconst $s1 = 5; // $6-$7 or $t0-$t1 (temporaries): caller saved general-purpose registers\n\nconst $t0 = 6;\nconst $t1 = 7; // $8 or $v0 (return value)\n\nconst $v0 = 8;\nfunction isLowLevelRegister(register) {\n  return register <= $sp;\n}\nvar SavedRegister;\n\n(function (SavedRegister) {\n  SavedRegister[SavedRegister[\"s0\"] = 4] = \"s0\";\n  SavedRegister[SavedRegister[\"s1\"] = 5] = \"s1\";\n})(SavedRegister || (SavedRegister = {}));\n\nvar TemporaryRegister;\n\n(function (TemporaryRegister) {\n  TemporaryRegister[TemporaryRegister[\"t0\"] = 6] = \"t0\";\n  TemporaryRegister[TemporaryRegister[\"t1\"] = 7] = \"t1\";\n})(TemporaryRegister || (TemporaryRegister = {}));\n\nexport { isMachineOp, isOp, SavedRegister, TemporaryRegister, isLowLevelRegister, $pc, $fp, $ra, $sp, $s0, $s1, $t0, $t1, $v0 };\n","function is(variant) {\n  return function (value) {\n    return Array.isArray(value) && value[0] === variant;\n  };\n} // Statements\n\nconst isFlushElement = is(12\n/* FlushElement */\n);\nfunction isAttribute(val) {\n  return val[0] === 14\n  /* StaticAttr */\n  || val[0] === 15\n  /* DynamicAttr */\n  || val[0] === 22\n  /* TrustingDynamicAttr */\n  || val[0] === 16\n  /* ComponentAttr */\n  || val[0] === 24\n  /* StaticComponentAttr */\n  || val[0] === 23\n  /* TrustingComponentAttr */\n  || val[0] === 17\n  /* AttrSplat */\n  || val[0] === 4\n  /* Modifier */\n  ;\n}\nfunction isStringLiteral(expr) {\n  return typeof expr === 'string';\n}\nfunction getStringFromValue(expr) {\n  return expr;\n}\nfunction isArgument(val) {\n  return val[0] === 21\n  /* StaticArg */\n  || val[0] === 20\n  /* DynamicArg */\n  ;\n}\nfunction isHelper(expr) {\n  return Array.isArray(expr) && expr[0] === 28\n  /* Call */\n  ;\n} // Expressions\n\nconst isGet = is(30\n/* GetSymbol */\n);\n\nexport { is, isFlushElement, isAttribute, isStringLiteral, getStringFromValue, isArgument, isHelper, isGet };\n","const EMPTY_ATTRS = [];\nfunction indexOfAttribute(attributes, namespaceURI, localName) {\n    for (let i = 0; i < attributes.length; i++) {\n        const attr = attributes[i];\n        if (attr.namespaceURI === namespaceURI && attr.localName === localName) {\n            return i;\n        }\n    }\n    return -1;\n}\nfunction adjustAttrName(namespaceURI, localName) {\n    return namespaceURI === \"http://www.w3.org/1999/xhtml\" /* HTML */ ? localName.toLowerCase() : localName;\n}\nfunction getAttribute(attributes, namespaceURI, localName) {\n    const index = indexOfAttribute(attributes, namespaceURI, localName);\n    return index === -1 ? null : attributes[index].value;\n}\nfunction removeAttribute(attributes, namespaceURI, localName) {\n    const index = indexOfAttribute(attributes, namespaceURI, localName);\n    if (index !== -1) {\n        attributes.splice(index, 1);\n    }\n}\n// https://dom.spec.whatwg.org/#dom-element-setattributens\nfunction setAttribute(element, namespaceURI, prefix, localName, value) {\n    if (typeof value !== 'string') {\n        value = '' + value;\n    }\n    let { attributes } = element;\n    if (attributes === EMPTY_ATTRS) {\n        attributes = element.attributes = [];\n    }\n    else {\n        const index = indexOfAttribute(attributes, namespaceURI, localName);\n        if (index !== -1) {\n            attributes[index].value = value;\n            return;\n        }\n    }\n    attributes.push({\n        localName,\n        name: prefix === null ? localName : prefix + ':' + localName,\n        namespaceURI,\n        prefix,\n        specified: true,\n        value,\n    });\n}\n\nclass ChildNodes {\n    constructor(node) {\n        this.node = node;\n        this.stale = true;\n        this._length = 0;\n    }\n    get length() {\n        if (this.stale) {\n            this.stale = false;\n            let len = 0;\n            let child = this.node.firstChild;\n            for (; child !== null; len++) {\n                this[len] = child;\n                child = child.nextSibling;\n            }\n            const oldLen = this._length;\n            this._length = len;\n            for (; len < oldLen; len++) {\n                delete this[len];\n            }\n        }\n        return this._length;\n    }\n    item(index) {\n        return index < this.length ? this[index] : null;\n    }\n}\n\nfunction cloneNode(node, deep) {\n    const clone = nodeFrom(node);\n    if (deep) {\n        let child = node.firstChild;\n        let nextChild = child;\n        while (child !== null) {\n            nextChild = child.nextSibling;\n            clone.appendChild(child.cloneNode(true));\n            child = nextChild;\n        }\n    }\n    return clone;\n}\nfunction nodeFrom(node) {\n    let namespaceURI;\n    if (node.nodeType === 1 /* ELEMENT_NODE */) {\n        namespaceURI = node.namespaceURI;\n    }\n    const clone = new SimpleNodeImpl(node.ownerDocument, node.nodeType, node.nodeName, node.nodeValue, namespaceURI);\n    if (node.nodeType === 1 /* ELEMENT_NODE */) {\n        clone.attributes = copyAttrs(node.attributes);\n    }\n    return clone;\n}\nfunction copyAttrs(attrs) {\n    if (attrs === EMPTY_ATTRS) {\n        return EMPTY_ATTRS;\n    }\n    const copy = [];\n    for (let i = 0; i < attrs.length; i++) {\n        const attr = attrs[i];\n        copy.push({\n            localName: attr.localName,\n            name: attr.name,\n            namespaceURI: attr.namespaceURI,\n            prefix: attr.prefix,\n            specified: true,\n            value: attr.value,\n        });\n    }\n    return copy;\n}\n\nfunction insertBefore(parentNode, newChild, refChild) {\n    invalidate(parentNode);\n    insertBetween(parentNode, newChild, refChild === null ? parentNode.lastChild : refChild.previousSibling, refChild);\n}\nfunction removeChild(parentNode, oldChild) {\n    invalidate(parentNode);\n    removeBetween(parentNode, oldChild, oldChild.previousSibling, oldChild.nextSibling);\n}\nfunction invalidate(parentNode) {\n    const childNodes = parentNode._childNodes;\n    if (childNodes !== undefined) {\n        childNodes.stale = true;\n    }\n}\nfunction insertBetween(parentNode, newChild, previousSibling, nextSibling) {\n    if (newChild.nodeType === 11 /* DOCUMENT_FRAGMENT_NODE */) {\n        insertFragment(newChild, parentNode, previousSibling, nextSibling);\n        return;\n    }\n    if (newChild.parentNode !== null) {\n        removeChild(newChild.parentNode, newChild);\n    }\n    newChild.parentNode = parentNode;\n    newChild.previousSibling = previousSibling;\n    newChild.nextSibling = nextSibling;\n    if (previousSibling === null) {\n        parentNode.firstChild = newChild;\n    }\n    else {\n        previousSibling.nextSibling = newChild;\n    }\n    if (nextSibling === null) {\n        parentNode.lastChild = newChild;\n    }\n    else {\n        nextSibling.previousSibling = newChild;\n    }\n}\nfunction removeBetween(parentNode, oldChild, previousSibling, nextSibling) {\n    oldChild.parentNode = null;\n    oldChild.previousSibling = null;\n    oldChild.nextSibling = null;\n    if (previousSibling === null) {\n        parentNode.firstChild = nextSibling;\n    }\n    else {\n        previousSibling.nextSibling = nextSibling;\n    }\n    if (nextSibling === null) {\n        parentNode.lastChild = previousSibling;\n    }\n    else {\n        nextSibling.previousSibling = previousSibling;\n    }\n}\nfunction insertFragment(fragment, parentNode, previousSibling, nextSibling) {\n    const firstChild = fragment.firstChild;\n    if (firstChild === null) {\n        return;\n    }\n    fragment.firstChild = null;\n    fragment.lastChild = null;\n    let lastChild = firstChild;\n    let newChild = firstChild;\n    firstChild.previousSibling = previousSibling;\n    if (previousSibling === null) {\n        parentNode.firstChild = firstChild;\n    }\n    else {\n        previousSibling.nextSibling = firstChild;\n    }\n    while (newChild !== null) {\n        newChild.parentNode = parentNode;\n        lastChild = newChild;\n        newChild = newChild.nextSibling;\n    }\n    lastChild.nextSibling = nextSibling;\n    if (nextSibling === null) {\n        parentNode.lastChild = lastChild;\n    }\n    else {\n        nextSibling.previousSibling = lastChild;\n    }\n}\n\nfunction parseQualifiedName(qualifiedName) {\n    let localName = qualifiedName;\n    let prefix = null;\n    const i = qualifiedName.indexOf(':');\n    if (i !== -1) {\n        prefix = qualifiedName.slice(0, i);\n        localName = qualifiedName.slice(i + 1);\n    }\n    return [prefix, localName];\n}\n\nclass SimpleNodeImpl {\n    constructor(ownerDocument, nodeType, nodeName, nodeValue, namespaceURI) {\n        this.ownerDocument = ownerDocument;\n        this.nodeType = nodeType;\n        this.nodeName = nodeName;\n        this.nodeValue = nodeValue;\n        this.namespaceURI = namespaceURI;\n        this.parentNode = null;\n        this.previousSibling = null;\n        this.nextSibling = null;\n        this.firstChild = null;\n        this.lastChild = null;\n        this.attributes = EMPTY_ATTRS;\n        /**\n         * @internal\n         */\n        this._childNodes = undefined;\n    }\n    get tagName() {\n        return this.nodeName;\n    }\n    get childNodes() {\n        let children = this._childNodes;\n        if (children === undefined) {\n            children = this._childNodes = new ChildNodes(this);\n        }\n        return children;\n    }\n    cloneNode(deep) {\n        return cloneNode(this, deep === true);\n    }\n    appendChild(newChild) {\n        insertBefore(this, newChild, null);\n        return newChild;\n    }\n    insertBefore(newChild, refChild) {\n        insertBefore(this, newChild, refChild);\n        return newChild;\n    }\n    removeChild(oldChild) {\n        removeChild(this, oldChild);\n        return oldChild;\n    }\n    insertAdjacentHTML(position, html) {\n        const raw = new SimpleNodeImpl(this.ownerDocument, -1 /* RAW_NODE */, '#raw', html, void 0);\n        let parentNode;\n        let nextSibling;\n        switch (position) {\n            case 'beforebegin':\n                parentNode = this.parentNode;\n                nextSibling = this;\n                break;\n            case 'afterbegin':\n                parentNode = this;\n                nextSibling = this.firstChild;\n                break;\n            case 'beforeend':\n                parentNode = this;\n                nextSibling = null;\n                break;\n            case 'afterend':\n                parentNode = this.parentNode;\n                nextSibling = this.nextSibling;\n                break;\n            default: throw new Error('invalid position');\n        }\n        if (parentNode === null) {\n            throw new Error(`${position} requires a parentNode`);\n        }\n        insertBefore(parentNode, raw, nextSibling);\n    }\n    getAttribute(name) {\n        const localName = adjustAttrName(this.namespaceURI, name);\n        return getAttribute(this.attributes, null, localName);\n    }\n    getAttributeNS(namespaceURI, localName) {\n        return getAttribute(this.attributes, namespaceURI, localName);\n    }\n    setAttribute(name, value) {\n        const localName = adjustAttrName(this.namespaceURI, name);\n        setAttribute(this, null, null, localName, value);\n    }\n    setAttributeNS(namespaceURI, qualifiedName, value) {\n        const [prefix, localName] = parseQualifiedName(qualifiedName);\n        setAttribute(this, namespaceURI, prefix, localName, value);\n    }\n    removeAttribute(name) {\n        const localName = adjustAttrName(this.namespaceURI, name);\n        removeAttribute(this.attributes, null, localName);\n    }\n    removeAttributeNS(namespaceURI, localName) {\n        removeAttribute(this.attributes, namespaceURI, localName);\n    }\n    get doctype() {\n        return this.firstChild;\n    }\n    get documentElement() {\n        return this.lastChild;\n    }\n    get head() {\n        return this.documentElement.firstChild;\n    }\n    get body() {\n        return this.documentElement.lastChild;\n    }\n    createElement(name) {\n        return new SimpleNodeImpl(this, 1 /* ELEMENT_NODE */, name.toUpperCase(), null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    }\n    createElementNS(namespace, qualifiedName) {\n        // Node name is case-preserving in XML contexts, but returns canonical uppercase form in HTML contexts\n        // https://www.w3.org/TR/2004/REC-DOM-Level-3-Core-20040407/core.html#ID-104682815\n        const nodeName = namespace === \"http://www.w3.org/1999/xhtml\" /* HTML */ ? qualifiedName.toUpperCase() : qualifiedName;\n        // we don't care to parse the qualified name because we only support HTML documents\n        // which don't support prefixed elements\n        return new SimpleNodeImpl(this, 1 /* ELEMENT_NODE */, nodeName, null, namespace);\n    }\n    createTextNode(text) {\n        return new SimpleNodeImpl(this, 3 /* TEXT_NODE */, '#text', text, void 0);\n    }\n    createComment(text) {\n        return new SimpleNodeImpl(this, 8 /* COMMENT_NODE */, '#comment', text, void 0);\n    }\n    /**\n     * Backwards compat\n     * @deprecated\n     */\n    createRawHTMLSection(text) {\n        return new SimpleNodeImpl(this, -1 /* RAW_NODE */, '#raw', text, void 0);\n    }\n    createDocumentFragment() {\n        return new SimpleNodeImpl(this, 11 /* DOCUMENT_FRAGMENT_NODE */, '#document-fragment', null, void 0);\n    }\n}\n\nfunction createHTMLDocument() {\n    // dom.d.ts types ownerDocument as Document but for a document ownerDocument is null\n    const document = new SimpleNodeImpl(null, 9 /* DOCUMENT_NODE */, '#document', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    const doctype = new SimpleNodeImpl(document, 10 /* DOCUMENT_TYPE_NODE */, 'html', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    const html = new SimpleNodeImpl(document, 1 /* ELEMENT_NODE */, 'HTML', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    const head = new SimpleNodeImpl(document, 1 /* ELEMENT_NODE */, 'HEAD', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    const body = new SimpleNodeImpl(document, 1 /* ELEMENT_NODE */, 'BODY', null, \"http://www.w3.org/1999/xhtml\" /* HTML */);\n    html.appendChild(head);\n    html.appendChild(body);\n    document.appendChild(doctype);\n    document.appendChild(html);\n    return document;\n}\n\nexport default createHTMLDocument;\n","const SET_TIMEOUT = setTimeout;\nconst NOOP = () => { };\nfunction buildNext(flush) {\n    // Using \"promises first\" here to:\n    //\n    // 1) Ensure more consistent experience on browsers that\n    //    have differently queued microtasks (separate queues for\n    //    MutationObserver vs Promises).\n    // 2) Ensure better debugging experiences (it shows up in Chrome\n    //    call stack as \"Promise.then (async)\") which is more consistent\n    //    with user expectations\n    //\n    // When Promise is unavailable use MutationObserver (mostly so that we\n    // still get microtasks on IE11), and when neither MutationObserver and\n    // Promise are present use a plain old setTimeout.\n    if (typeof Promise === 'function') {\n        const autorunPromise = Promise.resolve();\n        return () => autorunPromise.then(flush);\n    }\n    else if (typeof MutationObserver === 'function') {\n        let iterations = 0;\n        let observer = new MutationObserver(flush);\n        let node = document.createTextNode('');\n        observer.observe(node, { characterData: true });\n        return () => {\n            iterations = ++iterations % 2;\n            node.data = '' + iterations;\n            return iterations;\n        };\n    }\n    else {\n        return () => SET_TIMEOUT(flush, 0);\n    }\n}\nfunction buildPlatform(flush) {\n    let clearNext = NOOP;\n    return {\n        setTimeout(fn, ms) {\n            return setTimeout(fn, ms);\n        },\n        clearTimeout(timerId) {\n            return clearTimeout(timerId);\n        },\n        now() {\n            return Date.now();\n        },\n        next: buildNext(flush),\n        clearNext,\n    };\n}\n\nconst NUMBER = /\\d+/;\nconst TIMERS_OFFSET = 6;\nfunction isCoercableNumber(suspect) {\n    let type = typeof suspect;\n    return type === 'number' && suspect === suspect || type === 'string' && NUMBER.test(suspect);\n}\nfunction getOnError(options) {\n    return options.onError || (options.onErrorTarget && options.onErrorTarget[options.onErrorMethod]);\n}\nfunction findItem(target, method, collection) {\n    let index = -1;\n    for (let i = 0, l = collection.length; i < l; i += 4) {\n        if (collection[i] === target && collection[i + 1] === method) {\n            index = i;\n            break;\n        }\n    }\n    return index;\n}\nfunction findTimerItem(target, method, collection) {\n    let index = -1;\n    for (let i = 2, l = collection.length; i < l; i += 6) {\n        if (collection[i] === target && collection[i + 1] === method) {\n            index = i - 2;\n            break;\n        }\n    }\n    return index;\n}\nfunction getQueueItems(items, queueItemLength, queueItemPositionOffset = 0) {\n    let queueItems = [];\n    for (let i = 0; i < items.length; i += queueItemLength) {\n        let maybeError = items[i + 3 /* stack */ + queueItemPositionOffset];\n        let queueItem = {\n            target: items[i + 0 /* target */ + queueItemPositionOffset],\n            method: items[i + 1 /* method */ + queueItemPositionOffset],\n            args: items[i + 2 /* args */ + queueItemPositionOffset],\n            stack: maybeError !== undefined && 'stack' in maybeError ? maybeError.stack : ''\n        };\n        queueItems.push(queueItem);\n    }\n    return queueItems;\n}\n\nfunction binarySearch(time, timers) {\n    let start = 0;\n    let end = timers.length - TIMERS_OFFSET;\n    let middle;\n    let l;\n    while (start < end) {\n        // since timers is an array of pairs 'l' will always\n        // be an integer\n        l = (end - start) / TIMERS_OFFSET;\n        // compensate for the index in case even number\n        // of pairs inside timers\n        middle = start + l - (l % TIMERS_OFFSET);\n        if (time >= timers[middle]) {\n            start = middle + TIMERS_OFFSET;\n        }\n        else {\n            end = middle;\n        }\n    }\n    return (time >= timers[start]) ? start + TIMERS_OFFSET : start;\n}\n\nconst QUEUE_ITEM_LENGTH = 4;\nclass Queue {\n    constructor(name, options = {}, globalOptions = {}) {\n        this._queueBeingFlushed = [];\n        this.targetQueues = new Map();\n        this.index = 0;\n        this._queue = [];\n        this.name = name;\n        this.options = options;\n        this.globalOptions = globalOptions;\n    }\n    stackFor(index) {\n        if (index < this._queue.length) {\n            let entry = this._queue[index * 3 + QUEUE_ITEM_LENGTH];\n            if (entry) {\n                return entry.stack;\n            }\n            else {\n                return null;\n            }\n        }\n    }\n    flush(sync) {\n        let { before, after } = this.options;\n        let target;\n        let method;\n        let args;\n        let errorRecordedForStack;\n        this.targetQueues.clear();\n        if (this._queueBeingFlushed.length === 0) {\n            this._queueBeingFlushed = this._queue;\n            this._queue = [];\n        }\n        if (before !== undefined) {\n            before();\n        }\n        let invoke;\n        let queueItems = this._queueBeingFlushed;\n        if (queueItems.length > 0) {\n            let onError = getOnError(this.globalOptions);\n            invoke = onError ? this.invokeWithOnError : this.invoke;\n            for (let i = this.index; i < queueItems.length; i += QUEUE_ITEM_LENGTH) {\n                this.index += QUEUE_ITEM_LENGTH;\n                method = queueItems[i + 1];\n                // method could have been nullified / canceled during flush\n                if (method !== null) {\n                    //\n                    //    ** Attention intrepid developer **\n                    //\n                    //    To find out the stack of this task when it was scheduled onto\n                    //    the run loop, add the following to your app.js:\n                    //\n                    //    Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.\n                    //\n                    //    Once that is in place, when you are at a breakpoint and navigate\n                    //    here in the stack explorer, you can look at `errorRecordedForStack.stack`,\n                    //    which will be the captured stack when this job was scheduled.\n                    //\n                    //    One possible long-term solution is the following Chrome issue:\n                    //       https://bugs.chromium.org/p/chromium/issues/detail?id=332624\n                    //\n                    target = queueItems[i];\n                    args = queueItems[i + 2];\n                    errorRecordedForStack = queueItems[i + 3]; // Debugging assistance\n                    invoke(target, method, args, onError, errorRecordedForStack);\n                }\n                if (this.index !== this._queueBeingFlushed.length &&\n                    this.globalOptions.mustYield && this.globalOptions.mustYield()) {\n                    return 1 /* Pause */;\n                }\n            }\n        }\n        if (after !== undefined) {\n            after();\n        }\n        this._queueBeingFlushed.length = 0;\n        this.index = 0;\n        if (sync !== false && this._queue.length > 0) {\n            // check if new items have been added\n            this.flush(true);\n        }\n    }\n    hasWork() {\n        return this._queueBeingFlushed.length > 0 || this._queue.length > 0;\n    }\n    cancel({ target, method }) {\n        let queue = this._queue;\n        let targetQueueMap = this.targetQueues.get(target);\n        if (targetQueueMap !== undefined) {\n            targetQueueMap.delete(method);\n        }\n        let index = findItem(target, method, queue);\n        if (index > -1) {\n            queue.splice(index, QUEUE_ITEM_LENGTH);\n            return true;\n        }\n        // if not found in current queue\n        // could be in the queue that is being flushed\n        queue = this._queueBeingFlushed;\n        index = findItem(target, method, queue);\n        if (index > -1) {\n            queue[index + 1] = null;\n            return true;\n        }\n        return false;\n    }\n    push(target, method, args, stack) {\n        this._queue.push(target, method, args, stack);\n        return {\n            queue: this,\n            target,\n            method\n        };\n    }\n    pushUnique(target, method, args, stack) {\n        let localQueueMap = this.targetQueues.get(target);\n        if (localQueueMap === undefined) {\n            localQueueMap = new Map();\n            this.targetQueues.set(target, localQueueMap);\n        }\n        let index = localQueueMap.get(method);\n        if (index === undefined) {\n            let queueIndex = this._queue.push(target, method, args, stack) - QUEUE_ITEM_LENGTH;\n            localQueueMap.set(method, queueIndex);\n        }\n        else {\n            let queue = this._queue;\n            queue[index + 2] = args; // replace args\n            queue[index + 3] = stack; // replace stack\n        }\n        return {\n            queue: this,\n            target,\n            method\n        };\n    }\n    _getDebugInfo(debugEnabled) {\n        if (debugEnabled) {\n            let debugInfo = getQueueItems(this._queue, QUEUE_ITEM_LENGTH);\n            return debugInfo;\n        }\n        return undefined;\n    }\n    invoke(target, method, args /*, onError, errorRecordedForStack */) {\n        if (args === undefined) {\n            method.call(target);\n        }\n        else {\n            method.apply(target, args);\n        }\n    }\n    invokeWithOnError(target, method, args, onError, errorRecordedForStack) {\n        try {\n            if (args === undefined) {\n                method.call(target);\n            }\n            else {\n                method.apply(target, args);\n            }\n        }\n        catch (error) {\n            onError(error, errorRecordedForStack);\n        }\n    }\n}\n\nclass DeferredActionQueues {\n    constructor(queueNames = [], options) {\n        this.queues = {};\n        this.queueNameIndex = 0;\n        this.queueNames = queueNames;\n        queueNames.reduce(function (queues, queueName) {\n            queues[queueName] = new Queue(queueName, options[queueName], options);\n            return queues;\n        }, this.queues);\n    }\n    /**\n     * @method schedule\n     * @param {String} queueName\n     * @param {Any} target\n     * @param {Any} method\n     * @param {Any} args\n     * @param {Boolean} onceFlag\n     * @param {Any} stack\n     * @return queue\n     */\n    schedule(queueName, target, method, args, onceFlag, stack) {\n        let queues = this.queues;\n        let queue = queues[queueName];\n        if (queue === undefined) {\n            throw new Error(`You attempted to schedule an action in a queue (${queueName}) that doesn\\'t exist`);\n        }\n        if (method === undefined || method === null) {\n            throw new Error(`You attempted to schedule an action in a queue (${queueName}) for a method that doesn\\'t exist`);\n        }\n        this.queueNameIndex = 0;\n        if (onceFlag) {\n            return queue.pushUnique(target, method, args, stack);\n        }\n        else {\n            return queue.push(target, method, args, stack);\n        }\n    }\n    /**\n     * DeferredActionQueues.flush() calls Queue.flush()\n     *\n     * @method flush\n     * @param {Boolean} fromAutorun\n     */\n    flush(fromAutorun = false) {\n        let queue;\n        let queueName;\n        let numberOfQueues = this.queueNames.length;\n        while (this.queueNameIndex < numberOfQueues) {\n            queueName = this.queueNames[this.queueNameIndex];\n            queue = this.queues[queueName];\n            if (queue.hasWork() === false) {\n                this.queueNameIndex++;\n                if (fromAutorun && this.queueNameIndex < numberOfQueues) {\n                    return 1 /* Pause */;\n                }\n            }\n            else {\n                if (queue.flush(false /* async */) === 1 /* Pause */) {\n                    return 1 /* Pause */;\n                }\n            }\n        }\n    }\n    /**\n     * Returns debug information for the current queues.\n     *\n     * @method _getDebugInfo\n     * @param {Boolean} debugEnabled\n     * @returns {IDebugInfo | undefined}\n     */\n    _getDebugInfo(debugEnabled) {\n        if (debugEnabled) {\n            let debugInfo = {};\n            let queue;\n            let queueName;\n            let numberOfQueues = this.queueNames.length;\n            let i = 0;\n            while (i < numberOfQueues) {\n                queueName = this.queueNames[i];\n                queue = this.queues[queueName];\n                debugInfo[queueName] = queue._getDebugInfo(debugEnabled);\n                i++;\n            }\n            return debugInfo;\n        }\n        return;\n    }\n}\n\nfunction iteratorDrain (fn) {\n    let iterator = fn();\n    let result = iterator.next();\n    while (result.done === false) {\n        result.value();\n        result = iterator.next();\n    }\n}\n\nconst noop = function () { };\nconst DISABLE_SCHEDULE = Object.freeze([]);\nfunction parseArgs() {\n    let length = arguments.length;\n    let args;\n    let method;\n    let target;\n    if (length === 0) ;\n    else if (length === 1) {\n        target = null;\n        method = arguments[0];\n    }\n    else {\n        let argsIndex = 2;\n        let methodOrTarget = arguments[0];\n        let methodOrArgs = arguments[1];\n        let type = typeof methodOrArgs;\n        if (type === 'function') {\n            target = methodOrTarget;\n            method = methodOrArgs;\n        }\n        else if (methodOrTarget !== null && type === 'string' && methodOrArgs in methodOrTarget) {\n            target = methodOrTarget;\n            method = target[methodOrArgs];\n        }\n        else if (typeof methodOrTarget === 'function') {\n            argsIndex = 1;\n            target = null;\n            method = methodOrTarget;\n        }\n        if (length > argsIndex) {\n            let len = length - argsIndex;\n            args = new Array(len);\n            for (let i = 0; i < len; i++) {\n                args[i] = arguments[i + argsIndex];\n            }\n        }\n    }\n    return [target, method, args];\n}\nfunction parseTimerArgs() {\n    let [target, method, args] = parseArgs(...arguments);\n    let wait = 0;\n    let length = args !== undefined ? args.length : 0;\n    if (length > 0) {\n        let last = args[length - 1];\n        if (isCoercableNumber(last)) {\n            wait = parseInt(args.pop(), 10);\n        }\n    }\n    return [target, method, args, wait];\n}\nfunction parseDebounceArgs() {\n    let target;\n    let method;\n    let isImmediate;\n    let args;\n    let wait;\n    if (arguments.length === 2) {\n        method = arguments[0];\n        wait = arguments[1];\n        target = null;\n    }\n    else {\n        [target, method, args] = parseArgs(...arguments);\n        if (args === undefined) {\n            wait = 0;\n        }\n        else {\n            wait = args.pop();\n            if (!isCoercableNumber(wait)) {\n                isImmediate = wait === true;\n                wait = args.pop();\n            }\n        }\n    }\n    wait = parseInt(wait, 10);\n    return [target, method, args, wait, isImmediate];\n}\nlet UUID = 0;\nlet beginCount = 0;\nlet endCount = 0;\nlet beginEventCount = 0;\nlet endEventCount = 0;\nlet runCount = 0;\nlet joinCount = 0;\nlet deferCount = 0;\nlet scheduleCount = 0;\nlet scheduleIterableCount = 0;\nlet deferOnceCount = 0;\nlet scheduleOnceCount = 0;\nlet setTimeoutCount = 0;\nlet laterCount = 0;\nlet throttleCount = 0;\nlet debounceCount = 0;\nlet cancelTimersCount = 0;\nlet cancelCount = 0;\nlet autorunsCreatedCount = 0;\nlet autorunsCompletedCount = 0;\nlet deferredActionQueuesCreatedCount = 0;\nlet nestedDeferredActionQueuesCreated = 0;\nclass Backburner {\n    constructor(queueNames, options) {\n        this.DEBUG = false;\n        this.currentInstance = null;\n        this.instanceStack = [];\n        this._eventCallbacks = {\n            end: [],\n            begin: []\n        };\n        this._timerTimeoutId = null;\n        this._timers = [];\n        this._autorun = false;\n        this._autorunStack = null;\n        this.queueNames = queueNames;\n        this.options = options || {};\n        if (typeof this.options.defaultQueue === 'string') {\n            this._defaultQueue = this.options.defaultQueue;\n        }\n        else {\n            this._defaultQueue = this.queueNames[0];\n        }\n        this._onBegin = this.options.onBegin || noop;\n        this._onEnd = this.options.onEnd || noop;\n        this._boundRunExpiredTimers = this._runExpiredTimers.bind(this);\n        this._boundAutorunEnd = () => {\n            autorunsCompletedCount++;\n            // if the autorun was already flushed, do nothing\n            if (this._autorun === false) {\n                return;\n            }\n            this._autorun = false;\n            this._autorunStack = null;\n            this._end(true /* fromAutorun */);\n        };\n        let builder = this.options._buildPlatform || buildPlatform;\n        this._platform = builder(this._boundAutorunEnd);\n    }\n    get counters() {\n        return {\n            begin: beginCount,\n            end: endCount,\n            events: {\n                begin: beginEventCount,\n                end: endEventCount,\n            },\n            autoruns: {\n                created: autorunsCreatedCount,\n                completed: autorunsCompletedCount,\n            },\n            run: runCount,\n            join: joinCount,\n            defer: deferCount,\n            schedule: scheduleCount,\n            scheduleIterable: scheduleIterableCount,\n            deferOnce: deferOnceCount,\n            scheduleOnce: scheduleOnceCount,\n            setTimeout: setTimeoutCount,\n            later: laterCount,\n            throttle: throttleCount,\n            debounce: debounceCount,\n            cancelTimers: cancelTimersCount,\n            cancel: cancelCount,\n            loops: {\n                total: deferredActionQueuesCreatedCount,\n                nested: nestedDeferredActionQueuesCreated,\n            },\n        };\n    }\n    get defaultQueue() {\n        return this._defaultQueue;\n    }\n    /*\n      @method begin\n      @return instantiated class DeferredActionQueues\n    */\n    begin() {\n        beginCount++;\n        let options = this.options;\n        let previousInstance = this.currentInstance;\n        let current;\n        if (this._autorun !== false) {\n            current = previousInstance;\n            this._cancelAutorun();\n        }\n        else {\n            if (previousInstance !== null) {\n                nestedDeferredActionQueuesCreated++;\n                this.instanceStack.push(previousInstance);\n            }\n            deferredActionQueuesCreatedCount++;\n            current = this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n            beginEventCount++;\n            this._trigger('begin', current, previousInstance);\n        }\n        this._onBegin(current, previousInstance);\n        return current;\n    }\n    end() {\n        endCount++;\n        this._end(false);\n    }\n    on(eventName, callback) {\n        if (typeof callback !== 'function') {\n            throw new TypeError(`Callback must be a function`);\n        }\n        let callbacks = this._eventCallbacks[eventName];\n        if (callbacks !== undefined) {\n            callbacks.push(callback);\n        }\n        else {\n            throw new TypeError(`Cannot on() event ${eventName} because it does not exist`);\n        }\n    }\n    off(eventName, callback) {\n        let callbacks = this._eventCallbacks[eventName];\n        if (!eventName || callbacks === undefined) {\n            throw new TypeError(`Cannot off() event ${eventName} because it does not exist`);\n        }\n        let callbackFound = false;\n        if (callback) {\n            for (let i = 0; i < callbacks.length; i++) {\n                if (callbacks[i] === callback) {\n                    callbackFound = true;\n                    callbacks.splice(i, 1);\n                    i--;\n                }\n            }\n        }\n        if (!callbackFound) {\n            throw new TypeError(`Cannot off() callback that does not exist`);\n        }\n    }\n    run() {\n        runCount++;\n        let [target, method, args] = parseArgs(...arguments);\n        return this._run(target, method, args);\n    }\n    join() {\n        joinCount++;\n        let [target, method, args] = parseArgs(...arguments);\n        return this._join(target, method, args);\n    }\n    /**\n     * @deprecated please use schedule instead.\n     */\n    defer(queueName, target, method, ...args) {\n        deferCount++;\n        return this.schedule(queueName, target, method, ...args);\n    }\n    schedule(queueName, ..._args) {\n        scheduleCount++;\n        let [target, method, args] = parseArgs(..._args);\n        let stack = this.DEBUG ? new Error() : undefined;\n        return this._ensureInstance().schedule(queueName, target, method, args, false, stack);\n    }\n    /*\n      Defer the passed iterable of functions to run inside the specified queue.\n  \n      @method scheduleIterable\n      @param {String} queueName\n      @param {Iterable} an iterable of functions to execute\n      @return method result\n    */\n    scheduleIterable(queueName, iterable) {\n        scheduleIterableCount++;\n        let stack = this.DEBUG ? new Error() : undefined;\n        return this._ensureInstance().schedule(queueName, null, iteratorDrain, [iterable], false, stack);\n    }\n    /**\n     * @deprecated please use scheduleOnce instead.\n     */\n    deferOnce(queueName, target, method, ...args) {\n        deferOnceCount++;\n        return this.scheduleOnce(queueName, target, method, ...args);\n    }\n    scheduleOnce(queueName, ..._args) {\n        scheduleOnceCount++;\n        let [target, method, args] = parseArgs(..._args);\n        let stack = this.DEBUG ? new Error() : undefined;\n        return this._ensureInstance().schedule(queueName, target, method, args, true, stack);\n    }\n    setTimeout() {\n        setTimeoutCount++;\n        return this.later(...arguments);\n    }\n    later() {\n        laterCount++;\n        let [target, method, args, wait] = parseTimerArgs(...arguments);\n        return this._later(target, method, args, wait);\n    }\n    throttle() {\n        throttleCount++;\n        let [target, method, args, wait, isImmediate = true] = parseDebounceArgs(...arguments);\n        let index = findTimerItem(target, method, this._timers);\n        let timerId;\n        if (index === -1) {\n            timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n            if (isImmediate) {\n                this._join(target, method, args);\n            }\n        }\n        else {\n            timerId = this._timers[index + 1];\n            let argIndex = index + 4;\n            if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n                this._timers[argIndex] = args;\n            }\n        }\n        return timerId;\n    }\n    debounce() {\n        debounceCount++;\n        let [target, method, args, wait, isImmediate = false] = parseDebounceArgs(...arguments);\n        let _timers = this._timers;\n        let index = findTimerItem(target, method, _timers);\n        let timerId;\n        if (index === -1) {\n            timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n            if (isImmediate) {\n                this._join(target, method, args);\n            }\n        }\n        else {\n            let executeAt = this._platform.now() + wait;\n            let argIndex = index + 4;\n            if (_timers[argIndex] === DISABLE_SCHEDULE) {\n                args = DISABLE_SCHEDULE;\n            }\n            timerId = _timers[index + 1];\n            let i = binarySearch(executeAt, _timers);\n            if ((index + TIMERS_OFFSET) === i) {\n                _timers[index] = executeAt;\n                _timers[argIndex] = args;\n            }\n            else {\n                let stack = this._timers[index + 5];\n                this._timers.splice(i, 0, executeAt, timerId, target, method, args, stack);\n                this._timers.splice(index, TIMERS_OFFSET);\n            }\n            if (index === 0) {\n                this._reinstallTimerTimeout();\n            }\n        }\n        return timerId;\n    }\n    cancelTimers() {\n        cancelTimersCount++;\n        this._clearTimerTimeout();\n        this._timers = [];\n        this._cancelAutorun();\n    }\n    hasTimers() {\n        return this._timers.length > 0 || this._autorun;\n    }\n    cancel(timer) {\n        cancelCount++;\n        if (timer === null || timer === undefined) {\n            return false;\n        }\n        let timerType = typeof timer;\n        if (timerType === 'number') { // we're cancelling a setTimeout or throttle or debounce\n            return this._cancelLaterTimer(timer);\n        }\n        else if (timerType === 'object' && timer.queue && timer.method) { // we're cancelling a deferOnce\n            return timer.queue.cancel(timer);\n        }\n        return false;\n    }\n    ensureInstance() {\n        this._ensureInstance();\n    }\n    /**\n     * Returns debug information related to the current instance of Backburner\n     *\n     * @method getDebugInfo\n     * @returns {Object | undefined} Will return and Object containing debug information if\n     * the DEBUG flag is set to true on the current instance of Backburner, else undefined.\n     */\n    getDebugInfo() {\n        if (this.DEBUG) {\n            return {\n                autorun: this._autorunStack,\n                counters: this.counters,\n                timers: getQueueItems(this._timers, TIMERS_OFFSET, 2),\n                instanceStack: [this.currentInstance, ...this.instanceStack]\n                    .map((deferredActionQueue) => deferredActionQueue && deferredActionQueue._getDebugInfo(this.DEBUG))\n            };\n        }\n        return undefined;\n    }\n    _end(fromAutorun) {\n        let currentInstance = this.currentInstance;\n        let nextInstance = null;\n        if (currentInstance === null) {\n            throw new Error(`end called without begin`);\n        }\n        // Prevent double-finally bug in Safari 6.0.2 and iOS 6\n        // This bug appears to be resolved in Safari 6.0.5 and iOS 7\n        let finallyAlreadyCalled = false;\n        let result;\n        try {\n            result = currentInstance.flush(fromAutorun);\n        }\n        finally {\n            if (!finallyAlreadyCalled) {\n                finallyAlreadyCalled = true;\n                if (result === 1 /* Pause */) {\n                    const plannedNextQueue = this.queueNames[currentInstance.queueNameIndex];\n                    this._scheduleAutorun(plannedNextQueue);\n                }\n                else {\n                    this.currentInstance = null;\n                    if (this.instanceStack.length > 0) {\n                        nextInstance = this.instanceStack.pop();\n                        this.currentInstance = nextInstance;\n                    }\n                    this._trigger('end', currentInstance, nextInstance);\n                    this._onEnd(currentInstance, nextInstance);\n                }\n            }\n        }\n    }\n    _join(target, method, args) {\n        if (this.currentInstance === null) {\n            return this._run(target, method, args);\n        }\n        if (target === undefined && args === undefined) {\n            return method();\n        }\n        else {\n            return method.apply(target, args);\n        }\n    }\n    _run(target, method, args) {\n        let onError = getOnError(this.options);\n        this.begin();\n        if (onError) {\n            try {\n                return method.apply(target, args);\n            }\n            catch (error) {\n                onError(error);\n            }\n            finally {\n                this.end();\n            }\n        }\n        else {\n            try {\n                return method.apply(target, args);\n            }\n            finally {\n                this.end();\n            }\n        }\n    }\n    _cancelAutorun() {\n        if (this._autorun) {\n            this._platform.clearNext();\n            this._autorun = false;\n            this._autorunStack = null;\n        }\n    }\n    _later(target, method, args, wait) {\n        let stack = this.DEBUG ? new Error() : undefined;\n        let executeAt = this._platform.now() + wait;\n        let id = UUID++;\n        if (this._timers.length === 0) {\n            this._timers.push(executeAt, id, target, method, args, stack);\n            this._installTimerTimeout();\n        }\n        else {\n            // find position to insert\n            let i = binarySearch(executeAt, this._timers);\n            this._timers.splice(i, 0, executeAt, id, target, method, args, stack);\n            // always reinstall since it could be out of sync\n            this._reinstallTimerTimeout();\n        }\n        return id;\n    }\n    _cancelLaterTimer(timer) {\n        for (let i = 1; i < this._timers.length; i += TIMERS_OFFSET) {\n            if (this._timers[i] === timer) {\n                this._timers.splice(i - 1, TIMERS_OFFSET);\n                if (i === 1) {\n                    this._reinstallTimerTimeout();\n                }\n                return true;\n            }\n        }\n        return false;\n    }\n    /**\n     Trigger an event. Supports up to two arguments. Designed around\n     triggering transition events from one run loop instance to the\n     next, which requires an argument for the  instance and then\n     an argument for the next instance.\n  \n     @private\n     @method _trigger\n     @param {String} eventName\n     @param {any} arg1\n     @param {any} arg2\n     */\n    _trigger(eventName, arg1, arg2) {\n        let callbacks = this._eventCallbacks[eventName];\n        if (callbacks !== undefined) {\n            for (let i = 0; i < callbacks.length; i++) {\n                callbacks[i](arg1, arg2);\n            }\n        }\n    }\n    _runExpiredTimers() {\n        this._timerTimeoutId = null;\n        if (this._timers.length > 0) {\n            this.begin();\n            this._scheduleExpiredTimers();\n            this.end();\n        }\n    }\n    _scheduleExpiredTimers() {\n        let timers = this._timers;\n        let i = 0;\n        let l = timers.length;\n        let defaultQueue = this._defaultQueue;\n        let n = this._platform.now();\n        for (; i < l; i += TIMERS_OFFSET) {\n            let executeAt = timers[i];\n            if (executeAt > n) {\n                break;\n            }\n            let args = timers[i + 4];\n            if (args !== DISABLE_SCHEDULE) {\n                let target = timers[i + 2];\n                let method = timers[i + 3];\n                let stack = timers[i + 5];\n                this.currentInstance.schedule(defaultQueue, target, method, args, false, stack);\n            }\n        }\n        timers.splice(0, i);\n        this._installTimerTimeout();\n    }\n    _reinstallTimerTimeout() {\n        this._clearTimerTimeout();\n        this._installTimerTimeout();\n    }\n    _clearTimerTimeout() {\n        if (this._timerTimeoutId === null) {\n            return;\n        }\n        this._platform.clearTimeout(this._timerTimeoutId);\n        this._timerTimeoutId = null;\n    }\n    _installTimerTimeout() {\n        if (this._timers.length === 0) {\n            return;\n        }\n        let minExpiresAt = this._timers[0];\n        let n = this._platform.now();\n        let wait = Math.max(0, minExpiresAt - n);\n        this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n    }\n    _ensureInstance() {\n        let currentInstance = this.currentInstance;\n        if (currentInstance === null) {\n            this._autorunStack = this.DEBUG ? new Error() : undefined;\n            currentInstance = this.begin();\n            this._scheduleAutorun(this.queueNames[0]);\n        }\n        return currentInstance;\n    }\n    _scheduleAutorun(plannedNextQueue) {\n        autorunsCreatedCount++;\n        const next = this._platform.next;\n        const flush = this.options.flush;\n        if (flush) {\n            flush(plannedNextQueue, next);\n        }\n        else {\n            next();\n        }\n        this._autorun = true;\n    }\n}\nBackburner.Queue = Queue;\nBackburner.buildPlatform = buildPlatform;\nBackburner.buildNext = buildNext;\n\nexport default Backburner;\nexport { buildPlatform };\n//# sourceMappingURL=backburner.js.map\n","/**\n * A topologically ordered map of key/value pairs with a simple API for adding constraints.\n *\n * Edges can forward reference keys that have not been added yet (the forward reference will\n * map the key to undefined).\n */\nvar DAG = (function () {\n    function DAG() {\n        this._vertices = new Vertices();\n    }\n    /**\n     * Adds a key/value pair with dependencies on other key/value pairs.\n     *\n     * @public\n     * @param key    The key of the vertex to be added.\n     * @param value  The value of that vertex.\n     * @param before A key or array of keys of the vertices that must\n     *               be visited before this vertex.\n     * @param after  An string or array of strings with the keys of the\n     *               vertices that must be after this vertex is visited.\n     */\n    DAG.prototype.add = function (key, value, before, after) {\n        if (!key)\n            throw new Error('argument `key` is required');\n        var vertices = this._vertices;\n        var v = vertices.add(key);\n        v.val = value;\n        if (before) {\n            if (typeof before === \"string\") {\n                vertices.addEdge(v, vertices.add(before));\n            }\n            else {\n                for (var i = 0; i < before.length; i++) {\n                    vertices.addEdge(v, vertices.add(before[i]));\n                }\n            }\n        }\n        if (after) {\n            if (typeof after === \"string\") {\n                vertices.addEdge(vertices.add(after), v);\n            }\n            else {\n                for (var i = 0; i < after.length; i++) {\n                    vertices.addEdge(vertices.add(after[i]), v);\n                }\n            }\n        }\n    };\n    /**\n     * @deprecated please use add.\n     */\n    DAG.prototype.addEdges = function (key, value, before, after) {\n        this.add(key, value, before, after);\n    };\n    /**\n     * Visits key/value pairs in topological order.\n     *\n     * @public\n     * @param callback The function to be invoked with each key/value.\n     */\n    DAG.prototype.each = function (callback) {\n        this._vertices.walk(callback);\n    };\n    /**\n     * @deprecated please use each.\n     */\n    DAG.prototype.topsort = function (callback) {\n        this.each(callback);\n    };\n    return DAG;\n}());\nexport default DAG;\n/** @private */\nvar Vertices = (function () {\n    function Vertices() {\n        this.length = 0;\n        this.stack = new IntStack();\n        this.path = new IntStack();\n        this.result = new IntStack();\n    }\n    Vertices.prototype.add = function (key) {\n        if (!key)\n            throw new Error(\"missing key\");\n        var l = this.length | 0;\n        var vertex;\n        for (var i = 0; i < l; i++) {\n            vertex = this[i];\n            if (vertex.key === key)\n                return vertex;\n        }\n        this.length = l + 1;\n        return this[l] = {\n            idx: l,\n            key: key,\n            val: undefined,\n            out: false,\n            flag: false,\n            length: 0\n        };\n    };\n    Vertices.prototype.addEdge = function (v, w) {\n        this.check(v, w.key);\n        var l = w.length | 0;\n        for (var i = 0; i < l; i++) {\n            if (w[i] === v.idx)\n                return;\n        }\n        w.length = l + 1;\n        w[l] = v.idx;\n        v.out = true;\n    };\n    Vertices.prototype.walk = function (cb) {\n        this.reset();\n        for (var i = 0; i < this.length; i++) {\n            var vertex = this[i];\n            if (vertex.out)\n                continue;\n            this.visit(vertex, \"\");\n        }\n        this.each(this.result, cb);\n    };\n    Vertices.prototype.check = function (v, w) {\n        if (v.key === w) {\n            throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n        }\n        // quick check\n        if (v.length === 0)\n            return;\n        // shallow check\n        for (var i = 0; i < v.length; i++) {\n            var key = this[v[i]].key;\n            if (key === w) {\n                throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n            }\n        }\n        // deep check\n        this.reset();\n        this.visit(v, w);\n        if (this.path.length > 0) {\n            var msg_1 = \"cycle detected: \" + w;\n            this.each(this.path, function (key) {\n                msg_1 += \" <- \" + key;\n            });\n            throw new Error(msg_1);\n        }\n    };\n    Vertices.prototype.reset = function () {\n        this.stack.length = 0;\n        this.path.length = 0;\n        this.result.length = 0;\n        for (var i = 0, l = this.length; i < l; i++) {\n            this[i].flag = false;\n        }\n    };\n    Vertices.prototype.visit = function (start, search) {\n        var _a = this, stack = _a.stack, path = _a.path, result = _a.result;\n        stack.push(start.idx);\n        while (stack.length) {\n            var index = stack.pop() | 0;\n            if (index >= 0) {\n                // enter\n                var vertex = this[index];\n                if (vertex.flag)\n                    continue;\n                vertex.flag = true;\n                path.push(index);\n                if (search === vertex.key)\n                    break;\n                // push exit\n                stack.push(~index);\n                this.pushIncoming(vertex);\n            }\n            else {\n                // exit\n                path.pop();\n                result.push(~index);\n            }\n        }\n    };\n    Vertices.prototype.pushIncoming = function (incomming) {\n        var stack = this.stack;\n        for (var i = incomming.length - 1; i >= 0; i--) {\n            var index = incomming[i];\n            if (!this[index].flag) {\n                stack.push(index);\n            }\n        }\n    };\n    Vertices.prototype.each = function (indices, cb) {\n        for (var i = 0, l = indices.length; i < l; i++) {\n            var vertex = this[indices[i]];\n            cb(vertex.key, vertex.val);\n        }\n    };\n    return Vertices;\n}());\n/** @private */\nvar IntStack = (function () {\n    function IntStack() {\n        this.length = 0;\n    }\n    IntStack.prototype.push = function (n) {\n        this[this.length++] = n | 0;\n    };\n    IntStack.prototype.pop = function () {\n        return this[--this.length] | 0;\n    };\n    return IntStack;\n}());\n","/* globals Reflect */\n\nimport { DEBUG } from '@glimmer/env';\n\nconst setPrototypeOf = Object.setPrototypeOf;\nconst getPrototypeOf = Object.getPrototypeOf;\n\nconst hasReflectConstruct = typeof Reflect === 'object' && typeof Reflect.construct === 'function';\n\nconst nativeWrapperCache = new Map();\n\n// Super minimal version of Babel's wrapNativeSuper. We only use this for\n// extending Function, for ComputedDecoratorImpl and AliasDecoratorImpl. We know\n// we will never directly create an instance of these classes so no need to\n// include `construct` code or other helpers.\nexport function wrapNativeSuper(Class) {\n  if (nativeWrapperCache.has(Class)) {\n    return nativeWrapperCache.get(Class);\n  }\n\n  function Wrapper() {}\n  Wrapper.prototype = Object.create(Class.prototype, {\n    constructor: {\n      value: Wrapper,\n      enumerable: false,\n      writable: true,\n      configurable: true,\n    },\n  });\n\n  nativeWrapperCache.set(Class, Wrapper);\n\n  return setPrototypeOf(Wrapper, Class);\n}\n\nexport function classCallCheck(instance, Constructor) {\n  if (DEBUG) {\n    if (!(instance instanceof Constructor)) {\n      throw new TypeError('Cannot call a class as a function');\n    }\n  }\n}\n\n/*\n  Overrides default `inheritsLoose` to _also_ call `Object.setPrototypeOf`.\n  This is needed so that we can use `loose` option with the\n  `@babel/plugin-transform-classes` (because we want simple assignment to the\n  prototype wherever possible) but also keep our constructor based prototypal\n  inheritance working properly\n*/\nexport function inheritsLoose(subClass, superClass) {\n  if (DEBUG) {\n    if (typeof superClass !== 'function' && superClass !== null) {\n      throw new TypeError('Super expression must either be null or a function');\n    }\n  }\n  subClass.prototype = Object.create(superClass === null ? null : superClass.prototype, {\n    constructor: {\n      value: subClass,\n      writable: true,\n      configurable: true,\n    },\n  });\n  if (superClass !== null) {\n    setPrototypeOf(subClass, superClass);\n  }\n}\n\nexport function taggedTemplateLiteralLoose(strings, raw) {\n  if (!raw) {\n    raw = strings.slice(0);\n  }\n  strings.raw = raw;\n  return strings;\n}\n\nfunction _defineProperties(target, props) {\n  for (let i = 0; i < props.length; i++) {\n    let descriptor = props[i];\n    descriptor.enumerable = descriptor.enumerable || false;\n    descriptor.configurable = true;\n    if ('value' in descriptor) descriptor.writable = true;\n    Object.defineProperty(target, descriptor.key, descriptor);\n  }\n}\n\n/*\n  Differs from default implementation by avoiding boolean coercion of\n  `protoProps` and `staticProps`.\n*/\nexport function createClass(Constructor, protoProps, staticProps) {\n  if (protoProps !== null && protoProps !== undefined) {\n    _defineProperties(Constructor.prototype, protoProps);\n  }\n\n  if (staticProps !== null && staticProps !== undefined) {\n    _defineProperties(Constructor, staticProps);\n  }\n\n  return Constructor;\n}\n\nexport function assertThisInitialized(self) {\n  if (DEBUG && self === void 0) {\n    throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n  }\n  return self;\n}\n\n/*\n  Adds `DEBUG` guard to error being thrown, and avoids boolean coercion of `call`.\n*/\nexport function possibleConstructorReturn(self, call) {\n  if ((typeof call === 'object' && call !== null) || typeof call === 'function') {\n    return call;\n  }\n  return assertThisInitialized(self);\n}\n\nexport function objectDestructuringEmpty(obj) {\n  if (DEBUG && (obj === null || obj === undefined)) {\n    throw new TypeError('Cannot destructure undefined');\n  }\n}\n\n/*\n  Differs from default implementation by checking for _any_ `Reflect.construct`\n  (the default implementation tries to ensure that `Reflect.construct` is truly\n  the native one).\n\n  Original source: https://github.com/babel/babel/blob/v7.9.2/packages/babel-helpers/src/helpers.js#L738-L757\n*/\nexport function createSuper(Derived) {\n  return function () {\n    let Super = getPrototypeOf(Derived);\n    let result;\n\n    if (hasReflectConstruct) {\n      // NOTE: This doesn't work if this.__proto__.constructor has been modified.\n      let NewTarget = getPrototypeOf(this).constructor;\n      result = Reflect.construct(Super, arguments, NewTarget);\n    } else {\n      result = Super.apply(this, arguments);\n    }\n\n    return possibleConstructorReturn(this, result);\n  };\n}\n\n/*\n  Does not differ from default implementation.\n*/\nfunction arrayLikeToArray(arr, len) {\n  if (len == null || len > arr.length) len = arr.length;\n\n  let arr2 = new Array(len);\n  for (let i = 0; i < len; i++) {\n    arr2[i] = arr[i];\n  }\n\n  return arr2;\n}\n\n/*\n  Does not differ from default implementation.\n*/\nfunction unsupportedIterableToArray(o, minLen) {\n  if (!o) return;\n  if (typeof o === 'string') return arrayLikeToArray(o, minLen);\n  let n = Object.prototype.toString.call(o).slice(8, -1);\n  if (n === 'Object' && o.constructor) n = o.constructor.name;\n  if (n === 'Map' || n === 'Set') return Array.from(n);\n  if (n === 'Arguments' || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n))\n    return arrayLikeToArray(o, minLen);\n}\n\n/*\n  Does not differ from default implementation.\n*/\nexport function createForOfIteratorHelperLoose(o) {\n  let i = 0;\n  if (typeof Symbol === 'undefined' || o[Symbol.iterator] == null) {\n    // Fallback for engines without symbol support\n    if (Array.isArray(o) || (o = unsupportedIterableToArray(o)))\n      return function () {\n        if (i >= o.length) return { done: true };\n        return { done: false, value: o[i++] };\n      };\n    throw new TypeError(\n      'Invalid attempt to iterate non-iterable instance.\\\\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.'\n    );\n  }\n  i = o[Symbol.iterator]();\n  return i.next.bind(i);\n}\n","/**\n@module ember\n*/\nimport require, { has } from 'require';\nimport { getENV, getLookup, setLookup } from '@ember/-internals/environment';\nimport * as utils from '@ember/-internals/utils';\nimport { Registry, Container } from '@ember/-internals/container';\nimport * as instrumentation from '@ember/instrumentation';\nimport { meta } from '@ember/-internals/meta';\nimport * as metal from '@ember/-internals/metal';\nimport { FEATURES, isEnabled } from '@ember/canary-features';\nimport * as EmberDebug from '@ember/debug';\nimport { assert, captureRenderTree, deprecate } from '@ember/debug';\nimport Backburner from 'backburner';\nimport Controller, { inject as injectController, ControllerMixin } from '@ember/controller';\nimport { _getStrings, _setStrings, dasherize, camelize, capitalize, classify, decamelize, underscore, w } from '@ember/string';\nimport Service, { service } from '@ember/service';\nimport EmberObject, { action, computed, defineProperty, notifyPropertyChange, observer, get, getProperties, set, setProperties, trySet } from '@ember/object';\nimport { cacheFor } from '@ember/object/-internals';\nimport { dependentKeyCompat } from '@ember/object/compat';\nimport ComputedProperty, { expandProperties } from '@ember/object/computed';\nimport { addListener, removeListener, sendEvent } from '@ember/object/events';\nimport { RegistryProxyMixin, ContainerProxyMixin, _ProxyMixin, RSVP, Comparable, ActionHandler } from '@ember/-internals/runtime';\nimport { componentCapabilities, modifierCapabilities, setComponentManager, escapeExpression, getTemplates, htmlSafe, isHTMLSafe, setTemplates, template, isSerializationFirstNode } from '@ember/-internals/glimmer';\nimport VERSION from './version';\nimport * as views from '@ember/-internals/views';\nimport ContainerDebugAdapter from '@ember/debug/container-debug-adapter';\nimport DataAdapter from '@ember/debug/data-adapter';\nimport EmberError from '@ember/error';\nimport { run } from '@ember/runloop';\nimport { getOnerror, setOnerror } from '@ember/-internals/error-handling';\nimport EmberArray, { A, NativeArray, isArray, makeArray } from '@ember/array';\nimport MutableArray from '@ember/array/mutable';\nimport ArrayProxy from '@ember/array/proxy';\nimport Application, { getOwner, setOwner, onLoad, runLoadHooks } from '@ember/application';\nimport ApplicationInstance from '@ember/application/instance';\nimport Namespace from '@ember/application/namespace';\nimport Component, { Input } from '@ember/component';\nimport Helper from '@ember/component/helper';\nimport Engine from '@ember/engine';\nimport EngineInstance from '@ember/engine/instance';\nimport Enumerable from '@ember/enumerable';\nimport MutableEnumerable from '@ember/enumerable/mutable';\nimport CoreObject from '@ember/object/core';\nimport Evented, { on } from '@ember/object/evented';\nimport Mixin, { mixin } from '@ember/object/mixin';\nimport Observable from '@ember/object/observable';\nimport { addObserver, removeObserver } from '@ember/object/observers';\nimport ObjectProxy from '@ember/object/proxy';\nimport PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\nimport { assign } from '@ember/polyfills';\nimport AutoLocation from '@ember/routing/auto-location';\nimport HashLocation from '@ember/routing/hash-location';\nimport HistoryLocation from '@ember/routing/history-location';\nimport NoneLocation from '@ember/routing/none-location';\nimport EmberLocation from '@ember/routing/location';\nimport Route from '@ember/routing/route';\nimport Router from '@ember/routing/router';\nimport { controllerFor, generateController, generateControllerFactory, DSL as RouterDSL } from '@ember/routing/-internals';\nimport { isNone, isBlank, isEmpty, isPresent, isEqual, typeOf, compare } from '@ember/utils';\nimport * as glimmerRuntime from '@glimmer/runtime';\nimport { helperCapabilities, setModifierManager, setComponentTemplate, getComponentTemplate, setHelperManager } from '@glimmer/manager';\nimport { assertDestroyablesDestroyed, associateDestroyableChild, destroy, enableDestroyableTracking, isDestroying, isDestroyed, registerDestructor, unregisterDestructor } from '@ember/destroyable';\n/**\n  Namespace for injection helper methods.\n\n  @class inject\n  @namespace Ember\n  @static\n  @public\n*/\nfunction inject() {\n  assert(`Injected properties must be created through helpers, see '${Object.keys(inject).map(k => `'inject.${k}'`).join(' or ')}'`);\n}\n// ****@ember/controller****\ninject.controller = injectController;\n// ****@ember/service****\ninject.service = service;\nconst PartialEmber = {\n  isNamespace: true,\n  toString() {\n    return 'Ember';\n  },\n  // ****@ember/-internals/container****\n  Container,\n  Registry,\n  // ****@ember/-internals/glimmer****\n  // Partially re-exported from @glimmer/manager\n  _setComponentManager: setComponentManager,\n  _componentManagerCapabilities: componentCapabilities,\n  _modifierManagerCapabilities: modifierCapabilities,\n  // ****@ember/-internals/meta****\n  meta,\n  // ****@ember/-internals/metal****\n  _createCache: metal.createCache,\n  _cacheGetValue: metal.getValue,\n  _cacheIsConst: metal.isConst,\n  _descriptor: metal.nativeDescDecorator,\n  _getPath: metal._getPath,\n  _setClassicDecorator: metal.setClassicDecorator,\n  _tracked: metal.tracked,\n  beginPropertyChanges: metal.beginPropertyChanges,\n  changeProperties: metal.changeProperties,\n  endPropertyChanges: metal.endPropertyChanges,\n  hasListeners: metal.hasListeners,\n  libraries: metal.libraries,\n  // ****@ember/-internals/runtime****\n  _ContainerProxyMixin: ContainerProxyMixin,\n  _ProxyMixin,\n  _RegistryProxyMixin: RegistryProxyMixin,\n  ActionHandler,\n  Comparable,\n  RSVP,\n  // ****@ember/-internals/view****\n  ComponentLookup: views.ComponentLookup,\n  EventDispatcher: views.EventDispatcher,\n  // ****@ember/-internals/utils****\n  _Cache: utils.Cache,\n  GUID_KEY: utils.GUID_KEY,\n  canInvoke: utils.canInvoke,\n  generateGuid: utils.generateGuid,\n  guidFor: utils.guidFor,\n  uuid: utils.uuid,\n  wrap: utils.wrap,\n  // ****@ember/application****\n  getOwner,\n  onLoad,\n  runLoadHooks,\n  setOwner,\n  Application,\n  // ****@ember/application/instance****\n  ApplicationInstance,\n  // ****@ember/application/namespace****\n  Namespace,\n  // ****@ember/array****\n  A,\n  Array: EmberArray,\n  NativeArray,\n  isArray,\n  makeArray,\n  // ****@ember/array/mutable****\n  MutableArray,\n  // ****@ember/array/proxy****\n  ArrayProxy,\n  // ****@ember/canary-features****\n  FEATURES: Object.assign({\n    isEnabled\n  }, FEATURES),\n  // ****@ember/component****\n  _Input: Input,\n  Component,\n  // ****@ember/component/helper****\n  Helper,\n  // ****@ember/controller****\n  Controller,\n  ControllerMixin,\n  // ****@ember/debug****\n  _captureRenderTree: captureRenderTree,\n  assert: EmberDebug.assert,\n  warn: EmberDebug.warn,\n  debug: EmberDebug.debug,\n  deprecate: EmberDebug.deprecate,\n  deprecateFunc: EmberDebug.deprecateFunc,\n  runInDebug: EmberDebug.runInDebug,\n  inspect: EmberDebug.inspect,\n  Debug: {\n    registerDeprecationHandler: EmberDebug.registerDeprecationHandler,\n    registerWarnHandler: EmberDebug.registerWarnHandler,\n    // ****@ember/-internals/metal****\n    isComputed: metal.isComputed\n  },\n  // ****@ember/debug/container-debug-adapter****\n  ContainerDebugAdapter,\n  // ****@ember/debug/data-adapter****\n  DataAdapter,\n  // ****@ember/destroyable****\n  _assertDestroyablesDestroyed: assertDestroyablesDestroyed,\n  _associateDestroyableChild: associateDestroyableChild,\n  _enableDestroyableTracking: enableDestroyableTracking,\n  _isDestroying: isDestroying,\n  _isDestroyed: isDestroyed,\n  _registerDestructor: registerDestructor,\n  _unregisterDestructor: unregisterDestructor,\n  destroy,\n  // ****@ember/engine****\n  Engine,\n  // ****@ember/engine/instance****\n  EngineInstance,\n  // ****@ember/enumerable****\n  Enumerable,\n  // ****@ember/enumerable/mutable****\n  MutableEnumerable,\n  // ****@ember/error****\n  Error: EmberError,\n  // ****@ember/instrumentation****\n  instrument: instrumentation.instrument,\n  subscribe: instrumentation.subscribe,\n  Instrumentation: {\n    instrument: instrumentation.instrument,\n    subscribe: instrumentation.subscribe,\n    unsubscribe: instrumentation.unsubscribe,\n    reset: instrumentation.reset\n  },\n  // ****@ember/object****\n  Object: EmberObject,\n  _action: action,\n  computed,\n  defineProperty,\n  get,\n  getProperties,\n  notifyPropertyChange,\n  observer,\n  set,\n  trySet,\n  setProperties,\n  // ****@ember/object/-internals****\n  cacheFor,\n  // ****@ember/object/compat****\n  _dependentKeyCompat: dependentKeyCompat,\n  // ****@ember/object/computed****\n  ComputedProperty,\n  expandProperties,\n  // ****@ember/object/core****\n  CoreObject,\n  // ****@ember/object/evented****\n  Evented,\n  on,\n  // ****@ember/object/events****\n  addListener,\n  removeListener,\n  sendEvent,\n  // ****@ember/object/mixin****\n  Mixin,\n  mixin,\n  // ****@ember/object/observable****\n  Observable,\n  // ****@ember/object/observers****\n  addObserver,\n  removeObserver,\n  // ****@ember/object/promise-proxy-mixin****\n  PromiseProxyMixin,\n  // ****@ember/object/proxy****\n  ObjectProxy,\n  // ****@ember/polyfills****\n  assign,\n  // ****@ember/routing/-internals****\n  RouterDSL,\n  controllerFor,\n  generateController,\n  generateControllerFactory,\n  // ****@ember/routing/auto-location****\n  AutoLocation,\n  // ****@ember/routing/hash-location****\n  HashLocation,\n  // ****@ember/routing/history-location****\n  HistoryLocation,\n  // ****@ember/routing/location****\n  Location: EmberLocation,\n  // ****@ember/routing/none-location****\n  NoneLocation,\n  // ****@ember/routing/route****\n  Route,\n  // ****@ember/routing/router****\n  Router,\n  // ****@ember/runloop****\n  run,\n  // ****@ember/service****\n  Service,\n  // ****@ember/string****\n  String: {\n    camelize,\n    capitalize,\n    classify,\n    decamelize,\n    dasherize,\n    underscore,\n    w\n  },\n  // ****@ember/utils****\n  compare,\n  isBlank,\n  isEmpty,\n  isEqual,\n  isNone,\n  isPresent,\n  typeOf,\n  // ****@ember/version****\n  /**\n    The semantic version\n       @property VERSION\n    @type String\n    @public\n  */\n  VERSION,\n  ViewUtils: {\n    // ****@ember/-internals/views****\n    getChildViews: views.getChildViews,\n    getElementView: views.getElementView,\n    getRootViews: views.getRootViews,\n    getViewBounds: views.getViewBounds,\n    getViewBoundingClientRect: views.getViewBoundingClientRect,\n    getViewClientRects: views.getViewClientRects,\n    getViewElement: views.getViewElement,\n    isSimpleClick: views.isSimpleClick,\n    // ****@ember/-internals/glimmer****\n    isSerializationFirstNode\n  },\n  // ****@glimmer/manager****\n  _getComponentTemplate: getComponentTemplate,\n  _helperManagerCapabilities: helperCapabilities,\n  _setComponentTemplate: setComponentTemplate,\n  _setHelperManager: setHelperManager,\n  _setModifierManager: setModifierManager,\n  // ****@glimmer/runtime****\n  _templateOnlyComponent: glimmerRuntime.templateOnlyComponent,\n  _invokeHelper: glimmerRuntime.invokeHelper,\n  _hash: glimmerRuntime.hash,\n  _array: glimmerRuntime.array,\n  _concat: glimmerRuntime.concat,\n  _get: glimmerRuntime.get,\n  _on: glimmerRuntime.on,\n  _fn: glimmerRuntime.fn,\n  // Backburner\n  _Backburner: Backburner,\n  // ****@ember/controller, @ember/service****\n  inject,\n  // Non-imported\n  platform: {\n    defineProperty: true,\n    hasPropertyAccessors: true\n  },\n  __loader: {\n    require,\n    define,\n    // @ts-expect-error These properties don't appear as being defined\n    registry: typeof requirejs !== 'undefined' ? requirejs.entries : require.entries\n  }\n};\nconst Ember = PartialEmber;\nObject.defineProperty(Ember, 'ENV', {\n  get: getENV,\n  enumerable: false\n});\nObject.defineProperty(Ember, 'lookup', {\n  get: getLookup,\n  set: setLookup,\n  enumerable: false\n});\nObject.defineProperty(Ember, 'onerror', {\n  get: getOnerror,\n  set: setOnerror,\n  enumerable: false\n});\nObject.defineProperty(Ember, 'testing', {\n  get: EmberDebug.isTesting,\n  set: EmberDebug.setTesting,\n  enumerable: false\n});\nObject.defineProperty(Ember, 'STRINGS', {\n  configurable: false,\n  get: _getStrings,\n  set: _setStrings\n});\nObject.defineProperty(Ember, 'BOOTED', {\n  configurable: false,\n  enumerable: false,\n  get: metal.isNamespaceSearchDisabled,\n  set: metal.setNamespaceSearchDisabled\n});\nObject.defineProperty(Ember, 'TEMPLATES', {\n  get: getTemplates,\n  set: setTemplates,\n  configurable: false,\n  enumerable: false\n});\nfunction deprecateStringUseOnEmberModule() {\n  deprecate('Using `Ember.String` is deprecated. Please import methods directly from `@ember/string`.', false, {\n    id: 'ember-string.from-ember-module',\n    for: 'ember-source',\n    since: {\n      available: '4.10',\n      enabled: '4.10.'\n    },\n    until: '5.0.0',\n    url: 'https://deprecations.emberjs.com/v4.x/#toc_ember-string-from-ember-module'\n  });\n}\nObject.defineProperty(Ember, 'String', {\n  enumerable: true,\n  configurable: true,\n  get() {\n    deprecateStringUseOnEmberModule();\n    return {\n      camelize,\n      capitalize,\n      classify,\n      dasherize,\n      decamelize,\n      underscore,\n      w,\n      htmlSafe,\n      isHTMLSafe\n    };\n  }\n});\nObject.defineProperty(Ember, 'TEMPLATES', {\n  get: getTemplates,\n  set: setTemplates,\n  configurable: false,\n  enumerable: false\n});\n// ****@ember/debug****\nObject.defineProperty(Ember, 'testing', {\n  get: EmberDebug.isTesting,\n  set: EmberDebug.setTesting,\n  enumerable: false\n});\nrunLoadHooks('Ember.Application', Application);\nlet EmberHandlebars = {\n  template,\n  Utils: {\n    escapeExpression\n  }\n};\nlet EmberHTMLBars = {\n  template\n};\nfunction defineEmberTemplateCompilerLazyLoad(key) {\n  Object.defineProperty(Ember, key, {\n    configurable: true,\n    enumerable: true,\n    get() {\n      if (has('ember-template-compiler')) {\n        let templateCompiler = require('ember-template-compiler');\n        EmberHTMLBars.precompile = EmberHandlebars.precompile = templateCompiler.precompile;\n        EmberHTMLBars.compile = EmberHandlebars.compile = templateCompiler.compile;\n        Object.defineProperty(Ember, 'HTMLBars', {\n          configurable: true,\n          writable: true,\n          enumerable: true,\n          value: EmberHTMLBars\n        });\n        Object.defineProperty(Ember, 'Handlebars', {\n          configurable: true,\n          writable: true,\n          enumerable: true,\n          value: EmberHandlebars\n        });\n      }\n      return key === 'Handlebars' ? EmberHandlebars : EmberHTMLBars;\n    }\n  });\n}\ndefineEmberTemplateCompilerLazyLoad('HTMLBars');\ndefineEmberTemplateCompilerLazyLoad('Handlebars');\n// do this to ensure that Ember.Test is defined properly on the global\n// if it is present.\nfunction defineEmberTestingLazyLoad(key) {\n  Object.defineProperty(Ember, key, {\n    configurable: true,\n    enumerable: true,\n    get() {\n      if (has('ember-testing')) {\n        let testing = require('ember-testing');\n        let {\n          Test,\n          Adapter,\n          QUnitAdapter,\n          setupForTesting\n        } = testing;\n        // @ts-expect-error We should not do this\n        Test.Adapter = Adapter;\n        // @ts-expect-error We should not do this\n        Test.QUnitAdapter = QUnitAdapter;\n        Object.defineProperty(Ember, 'Test', {\n          configurable: true,\n          writable: true,\n          enumerable: true,\n          value: Test\n        });\n        Object.defineProperty(Ember, 'setupForTesting', {\n          configurable: true,\n          writable: true,\n          enumerable: true,\n          value: setupForTesting\n        });\n        return key === 'Test' ? Test : setupForTesting;\n      }\n      return undefined;\n    }\n  });\n}\ndefineEmberTestingLazyLoad('Test');\ndefineEmberTestingLazyLoad('setupForTesting');\n// @ts-expect-error Per types, runLoadHooks requires a second parameter. Should we loosen types?\nrunLoadHooks('Ember');\nexport default Ember;","export default \"4.12.0\";\n","var createObject = Object.create;\nfunction createMap() {\n    var map = createObject(null);\n    map[\"__\"] = undefined;\n    delete map[\"__\"];\n    return map;\n}\n\nvar Target = function Target(path, matcher, delegate) {\n    this.path = path;\n    this.matcher = matcher;\n    this.delegate = delegate;\n};\nTarget.prototype.to = function to (target, callback) {\n    var delegate = this.delegate;\n    if (delegate && delegate.willAddRoute) {\n        target = delegate.willAddRoute(this.matcher.target, target);\n    }\n    this.matcher.add(this.path, target);\n    if (callback) {\n        if (callback.length === 0) {\n            throw new Error(\"You must have an argument in the function passed to `to`\");\n        }\n        this.matcher.addChild(this.path, target, callback, this.delegate);\n    }\n};\nvar Matcher = function Matcher(target) {\n    this.routes = createMap();\n    this.children = createMap();\n    this.target = target;\n};\nMatcher.prototype.add = function add (path, target) {\n    this.routes[path] = target;\n};\nMatcher.prototype.addChild = function addChild (path, target, callback, delegate) {\n    var matcher = new Matcher(target);\n    this.children[path] = matcher;\n    var match = generateMatch(path, matcher, delegate);\n    if (delegate && delegate.contextEntered) {\n        delegate.contextEntered(target, match);\n    }\n    callback(match);\n};\nfunction generateMatch(startingPath, matcher, delegate) {\n    function match(path, callback) {\n        var fullPath = startingPath + path;\n        if (callback) {\n            callback(generateMatch(fullPath, matcher, delegate));\n        }\n        else {\n            return new Target(fullPath, matcher, delegate);\n        }\n    }\n    \n    return match;\n}\nfunction addRoute(routeArray, path, handler) {\n    var len = 0;\n    for (var i = 0; i < routeArray.length; i++) {\n        len += routeArray[i].path.length;\n    }\n    path = path.substr(len);\n    var route = { path: path, handler: handler };\n    routeArray.push(route);\n}\nfunction eachRoute(baseRoute, matcher, callback, binding) {\n    var routes = matcher.routes;\n    var paths = Object.keys(routes);\n    for (var i = 0; i < paths.length; i++) {\n        var path = paths[i];\n        var routeArray = baseRoute.slice();\n        addRoute(routeArray, path, routes[path]);\n        var nested = matcher.children[path];\n        if (nested) {\n            eachRoute(routeArray, nested, callback, binding);\n        }\n        else {\n            callback.call(binding, routeArray);\n        }\n    }\n}\nvar map = function (callback, addRouteCallback) {\n    var matcher = new Matcher();\n    callback(generateMatch(\"\", matcher, this.delegate));\n    eachRoute([], matcher, function (routes) {\n        if (addRouteCallback) {\n            addRouteCallback(this, routes);\n        }\n        else {\n            this.add(routes);\n        }\n    }, this);\n};\n\n// Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n// values that are not reserved (i.e., unicode characters, emoji, etc). The reserved\n// chars are \"/\" and \"%\".\n// Safe to call multiple times on the same path.\n// Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\nfunction normalizePath(path) {\n    return path.split(\"/\")\n        .map(normalizeSegment)\n        .join(\"/\");\n}\n// We want to ensure the characters \"%\" and \"/\" remain in percent-encoded\n// form when normalizing paths, so replace them with their encoded form after\n// decoding the rest of the path\nvar SEGMENT_RESERVED_CHARS = /%|\\//g;\nfunction normalizeSegment(segment) {\n    if (segment.length < 3 || segment.indexOf(\"%\") === -1)\n        { return segment; }\n    return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\n}\n// We do not want to encode these characters when generating dynamic path segments\n// See https://tools.ietf.org/html/rfc3986#section-3.3\n// sub-delims: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n// others allowed by RFC 3986: \":\", \"@\"\n//\n// First encode the entire path segment, then decode any of the encoded special chars.\n//\n// The chars \"!\", \"'\", \"(\", \")\", \"*\" do not get changed by `encodeURIComponent`,\n// so the possible encoded chars are:\n// ['%24', '%26', '%2B', '%2C', '%3B', '%3D', '%3A', '%40'].\nvar PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\nfunction encodePathSegment(str) {\n    return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS, decodeURIComponent);\n}\n\nvar escapeRegex = /(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;\nvar isArray = Array.isArray;\nvar hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction getParam(params, key) {\n    if (typeof params !== \"object\" || params === null) {\n        throw new Error(\"You must pass an object as the second argument to `generate`.\");\n    }\n    if (!hasOwnProperty.call(params, key)) {\n        throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n    }\n    var value = params[key];\n    var str = typeof value === \"string\" ? value : \"\" + value;\n    if (str.length === 0) {\n        throw new Error(\"You must provide a param `\" + key + \"`.\");\n    }\n    return str;\n}\nvar eachChar = [];\neachChar[0 /* Static */] = function (segment, currentState) {\n    var state = currentState;\n    var value = segment.value;\n    for (var i = 0; i < value.length; i++) {\n        var ch = value.charCodeAt(i);\n        state = state.put(ch, false, false);\n    }\n    return state;\n};\neachChar[1 /* Dynamic */] = function (_, currentState) {\n    return currentState.put(47 /* SLASH */, true, true);\n};\neachChar[2 /* Star */] = function (_, currentState) {\n    return currentState.put(-1 /* ANY */, false, true);\n};\neachChar[4 /* Epsilon */] = function (_, currentState) {\n    return currentState;\n};\nvar regex = [];\nregex[0 /* Static */] = function (segment) {\n    return segment.value.replace(escapeRegex, \"\\\\$1\");\n};\nregex[1 /* Dynamic */] = function () {\n    return \"([^/]+)\";\n};\nregex[2 /* Star */] = function () {\n    return \"(.+)\";\n};\nregex[4 /* Epsilon */] = function () {\n    return \"\";\n};\nvar generate = [];\ngenerate[0 /* Static */] = function (segment) {\n    return segment.value;\n};\ngenerate[1 /* Dynamic */] = function (segment, params) {\n    var value = getParam(params, segment.value);\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n        return encodePathSegment(value);\n    }\n    else {\n        return value;\n    }\n};\ngenerate[2 /* Star */] = function (segment, params) {\n    return getParam(params, segment.value);\n};\ngenerate[4 /* Epsilon */] = function () {\n    return \"\";\n};\nvar EmptyObject = Object.freeze({});\nvar EmptyArray = Object.freeze([]);\n// The `names` will be populated with the paramter name for each dynamic/star\n// segment. `shouldDecodes` will be populated with a boolean for each dyanamic/star\n// segment, indicating whether it should be decoded during recognition.\nfunction parse(segments, route, types) {\n    // normalize route as not starting with a \"/\". Recognition will\n    // also normalize.\n    if (route.length > 0 && route.charCodeAt(0) === 47 /* SLASH */) {\n        route = route.substr(1);\n    }\n    var parts = route.split(\"/\");\n    var names = undefined;\n    var shouldDecodes = undefined;\n    for (var i = 0; i < parts.length; i++) {\n        var part = parts[i];\n        var flags = 0;\n        var type = 0;\n        if (part === \"\") {\n            type = 4 /* Epsilon */;\n        }\n        else if (part.charCodeAt(0) === 58 /* COLON */) {\n            type = 1 /* Dynamic */;\n        }\n        else if (part.charCodeAt(0) === 42 /* STAR */) {\n            type = 2 /* Star */;\n        }\n        else {\n            type = 0 /* Static */;\n        }\n        flags = 2 << type;\n        if (flags & 12 /* Named */) {\n            part = part.slice(1);\n            names = names || [];\n            names.push(part);\n            shouldDecodes = shouldDecodes || [];\n            shouldDecodes.push((flags & 4 /* Decoded */) !== 0);\n        }\n        if (flags & 14 /* Counted */) {\n            types[type]++;\n        }\n        segments.push({\n            type: type,\n            value: normalizeSegment(part)\n        });\n    }\n    return {\n        names: names || EmptyArray,\n        shouldDecodes: shouldDecodes || EmptyArray,\n    };\n}\nfunction isEqualCharSpec(spec, char, negate) {\n    return spec.char === char && spec.negate === negate;\n}\n// A State has a character specification and (`charSpec`) and a list of possible\n// subsequent states (`nextStates`).\n//\n// If a State is an accepting state, it will also have several additional\n// properties:\n//\n// * `regex`: A regular expression that is used to extract parameters from paths\n//   that reached this accepting state.\n// * `handlers`: Information on how to convert the list of captures into calls\n//   to registered handlers with the specified parameters\n// * `types`: How many static, dynamic or star segments in this route. Used to\n//   decide which route to use if multiple registered routes match a path.\n//\n// Currently, State is implemented naively by looping over `nextStates` and\n// comparing a character specification against a character. A more efficient\n// implementation would use a hash of keys pointing at one or more next states.\nvar State = function State(states, id, char, negate, repeat) {\n    this.states = states;\n    this.id = id;\n    this.char = char;\n    this.negate = negate;\n    this.nextStates = repeat ? id : null;\n    this.pattern = \"\";\n    this._regex = undefined;\n    this.handlers = undefined;\n    this.types = undefined;\n};\nState.prototype.regex = function regex$1 () {\n    if (!this._regex) {\n        this._regex = new RegExp(this.pattern);\n    }\n    return this._regex;\n};\nState.prototype.get = function get (char, negate) {\n        var this$1 = this;\n\n    var nextStates = this.nextStates;\n    if (nextStates === null)\n        { return; }\n    if (isArray(nextStates)) {\n        for (var i = 0; i < nextStates.length; i++) {\n            var child = this$1.states[nextStates[i]];\n            if (isEqualCharSpec(child, char, negate)) {\n                return child;\n            }\n        }\n    }\n    else {\n        var child$1 = this.states[nextStates];\n        if (isEqualCharSpec(child$1, char, negate)) {\n            return child$1;\n        }\n    }\n};\nState.prototype.put = function put (char, negate, repeat) {\n    var state;\n    // If the character specification already exists in a child of the current\n    // state, just return that state.\n    if (state = this.get(char, negate)) {\n        return state;\n    }\n    // Make a new state for the character spec\n    var states = this.states;\n    state = new State(states, states.length, char, negate, repeat);\n    states[states.length] = state;\n    // Insert the new state as a child of the current state\n    if (this.nextStates == null) {\n        this.nextStates = state.id;\n    }\n    else if (isArray(this.nextStates)) {\n        this.nextStates.push(state.id);\n    }\n    else {\n        this.nextStates = [this.nextStates, state.id];\n    }\n    // Return the new state\n    return state;\n};\n// Find a list of child states matching the next character\nState.prototype.match = function match (ch) {\n        var this$1 = this;\n\n    var nextStates = this.nextStates;\n    if (!nextStates)\n        { return []; }\n    var returned = [];\n    if (isArray(nextStates)) {\n        for (var i = 0; i < nextStates.length; i++) {\n            var child = this$1.states[nextStates[i]];\n            if (isMatch(child, ch)) {\n                returned.push(child);\n            }\n        }\n    }\n    else {\n        var child$1 = this.states[nextStates];\n        if (isMatch(child$1, ch)) {\n            returned.push(child$1);\n        }\n    }\n    return returned;\n};\nfunction isMatch(spec, char) {\n    return spec.negate ? spec.char !== char && spec.char !== -1 /* ANY */ : spec.char === char || spec.char === -1 /* ANY */;\n}\n// This is a somewhat naive strategy, but should work in a lot of cases\n// A better strategy would properly resolve /posts/:id/new and /posts/edit/:id.\n//\n// This strategy generally prefers more static and less dynamic matching.\n// Specifically, it\n//\n//  * prefers fewer stars to more, then\n//  * prefers using stars for less of the match to more, then\n//  * prefers fewer dynamic segments to more, then\n//  * prefers more static segments to more\nfunction sortSolutions(states) {\n    return states.sort(function (a, b) {\n        var ref = a.types || [0, 0, 0];\n        var astatics = ref[0];\n        var adynamics = ref[1];\n        var astars = ref[2];\n        var ref$1 = b.types || [0, 0, 0];\n        var bstatics = ref$1[0];\n        var bdynamics = ref$1[1];\n        var bstars = ref$1[2];\n        if (astars !== bstars) {\n            return astars - bstars;\n        }\n        if (astars) {\n            if (astatics !== bstatics) {\n                return bstatics - astatics;\n            }\n            if (adynamics !== bdynamics) {\n                return bdynamics - adynamics;\n            }\n        }\n        if (adynamics !== bdynamics) {\n            return adynamics - bdynamics;\n        }\n        if (astatics !== bstatics) {\n            return bstatics - astatics;\n        }\n        return 0;\n    });\n}\nfunction recognizeChar(states, ch) {\n    var nextStates = [];\n    for (var i = 0, l = states.length; i < l; i++) {\n        var state = states[i];\n        nextStates = nextStates.concat(state.match(ch));\n    }\n    return nextStates;\n}\nvar RecognizeResults = function RecognizeResults(queryParams) {\n    this.length = 0;\n    this.queryParams = queryParams || {};\n};\n\nRecognizeResults.prototype.splice = Array.prototype.splice;\nRecognizeResults.prototype.slice = Array.prototype.slice;\nRecognizeResults.prototype.push = Array.prototype.push;\nfunction findHandler(state, originalPath, queryParams) {\n    var handlers = state.handlers;\n    var regex = state.regex();\n    if (!regex || !handlers)\n        { throw new Error(\"state not initialized\"); }\n    var captures = originalPath.match(regex);\n    var currentCapture = 1;\n    var result = new RecognizeResults(queryParams);\n    result.length = handlers.length;\n    for (var i = 0; i < handlers.length; i++) {\n        var handler = handlers[i];\n        var names = handler.names;\n        var shouldDecodes = handler.shouldDecodes;\n        var params = EmptyObject;\n        var isDynamic = false;\n        if (names !== EmptyArray && shouldDecodes !== EmptyArray) {\n            for (var j = 0; j < names.length; j++) {\n                isDynamic = true;\n                var name = names[j];\n                var capture = captures && captures[currentCapture++];\n                if (params === EmptyObject) {\n                    params = {};\n                }\n                if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS && shouldDecodes[j]) {\n                    params[name] = capture && decodeURIComponent(capture);\n                }\n                else {\n                    params[name] = capture;\n                }\n            }\n        }\n        result[i] = {\n            handler: handler.handler,\n            params: params,\n            isDynamic: isDynamic\n        };\n    }\n    return result;\n}\nfunction decodeQueryParamPart(part) {\n    // http://www.w3.org/TR/html401/interact/forms.html#h-17.13.4.1\n    part = part.replace(/\\+/gm, \"%20\");\n    var result;\n    try {\n        result = decodeURIComponent(part);\n    }\n    catch (error) {\n        result = \"\";\n    }\n    return result;\n}\nvar RouteRecognizer = function RouteRecognizer() {\n    this.names = createMap();\n    var states = [];\n    var state = new State(states, 0, -1 /* ANY */, true, false);\n    states[0] = state;\n    this.states = states;\n    this.rootState = state;\n};\nRouteRecognizer.prototype.add = function add (routes, options) {\n    var currentState = this.rootState;\n    var pattern = \"^\";\n    var types = [0, 0, 0];\n    var handlers = new Array(routes.length);\n    var allSegments = [];\n    var isEmpty = true;\n    var j = 0;\n    for (var i = 0; i < routes.length; i++) {\n        var route = routes[i];\n        var ref = parse(allSegments, route.path, types);\n            var names = ref.names;\n            var shouldDecodes = ref.shouldDecodes;\n        // preserve j so it points to the start of newly added segments\n        for (; j < allSegments.length; j++) {\n            var segment = allSegments[j];\n            if (segment.type === 4 /* Epsilon */) {\n                continue;\n            }\n            isEmpty = false;\n            // Add a \"/\" for the new segment\n            currentState = currentState.put(47 /* SLASH */, false, false);\n            pattern += \"/\";\n            // Add a representation of the segment to the NFA and regex\n            currentState = eachChar[segment.type](segment, currentState);\n            pattern += regex[segment.type](segment);\n        }\n        handlers[i] = {\n            handler: route.handler,\n            names: names,\n            shouldDecodes: shouldDecodes\n        };\n    }\n    if (isEmpty) {\n        currentState = currentState.put(47 /* SLASH */, false, false);\n        pattern += \"/\";\n    }\n    currentState.handlers = handlers;\n    currentState.pattern = pattern + \"$\";\n    currentState.types = types;\n    var name;\n    if (typeof options === \"object\" && options !== null && options.as) {\n        name = options.as;\n    }\n    if (name) {\n        // if (this.names[name]) {\n        //   throw new Error(\"You may not add a duplicate route named `\" + name + \"`.\");\n        // }\n        this.names[name] = {\n            segments: allSegments,\n            handlers: handlers\n        };\n    }\n};\nRouteRecognizer.prototype.handlersFor = function handlersFor (name) {\n    var route = this.names[name];\n    if (!route) {\n        throw new Error(\"There is no route named \" + name);\n    }\n    var result = new Array(route.handlers.length);\n    for (var i = 0; i < route.handlers.length; i++) {\n        var handler = route.handlers[i];\n        result[i] = handler;\n    }\n    return result;\n};\nRouteRecognizer.prototype.hasRoute = function hasRoute (name) {\n    return !!this.names[name];\n};\nRouteRecognizer.prototype.generate = function generate$1 (name, params) {\n    var route = this.names[name];\n    var output = \"\";\n    if (!route) {\n        throw new Error(\"There is no route named \" + name);\n    }\n    var segments = route.segments;\n    for (var i = 0; i < segments.length; i++) {\n        var segment = segments[i];\n        if (segment.type === 4 /* Epsilon */) {\n            continue;\n        }\n        output += \"/\";\n        output += generate[segment.type](segment, params);\n    }\n    if (output.charAt(0) !== \"/\") {\n        output = \"/\" + output;\n    }\n    if (params && params.queryParams) {\n        output += this.generateQueryString(params.queryParams);\n    }\n    return output;\n};\nRouteRecognizer.prototype.generateQueryString = function generateQueryString (params) {\n    var pairs = [];\n    var keys = Object.keys(params);\n    keys.sort();\n    for (var i = 0; i < keys.length; i++) {\n        var key = keys[i];\n        var value = params[key];\n        if (value == null) {\n            continue;\n        }\n        var pair = encodeURIComponent(key);\n        if (isArray(value)) {\n            for (var j = 0; j < value.length; j++) {\n                var arrayPair = key + \"[]\" + \"=\" + encodeURIComponent(value[j]);\n                pairs.push(arrayPair);\n            }\n        }\n        else {\n            pair += \"=\" + encodeURIComponent(value);\n            pairs.push(pair);\n        }\n    }\n    if (pairs.length === 0) {\n        return \"\";\n    }\n    return \"?\" + pairs.join(\"&\");\n};\nRouteRecognizer.prototype.parseQueryString = function parseQueryString (queryString) {\n    var pairs = queryString.split(\"&\");\n    var queryParams = {};\n    for (var i = 0; i < pairs.length; i++) {\n        var pair = pairs[i].split(\"=\"), key = decodeQueryParamPart(pair[0]), keyLength = key.length, isArray = false, value = (void 0);\n        if (pair.length === 1) {\n            value = \"true\";\n        }\n        else {\n            // Handle arrays\n            if (keyLength > 2 && key.slice(keyLength - 2) === \"[]\") {\n                isArray = true;\n                key = key.slice(0, keyLength - 2);\n                if (!queryParams[key]) {\n                    queryParams[key] = [];\n                }\n            }\n            value = pair[1] ? decodeQueryParamPart(pair[1]) : \"\";\n        }\n        if (isArray) {\n            queryParams[key].push(value);\n        }\n        else {\n            queryParams[key] = value;\n        }\n    }\n    return queryParams;\n};\nRouteRecognizer.prototype.recognize = function recognize (path) {\n    var results;\n    var states = [this.rootState];\n    var queryParams = {};\n    var isSlashDropped = false;\n    var hashStart = path.indexOf(\"#\");\n    if (hashStart !== -1) {\n        path = path.substr(0, hashStart);\n    }\n    var queryStart = path.indexOf(\"?\");\n    if (queryStart !== -1) {\n        var queryString = path.substr(queryStart + 1, path.length);\n        path = path.substr(0, queryStart);\n        queryParams = this.parseQueryString(queryString);\n    }\n    if (path.charAt(0) !== \"/\") {\n        path = \"/\" + path;\n    }\n    var originalPath = path;\n    if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n        path = normalizePath(path);\n    }\n    else {\n        path = decodeURI(path);\n        originalPath = decodeURI(originalPath);\n    }\n    var pathLen = path.length;\n    if (pathLen > 1 && path.charAt(pathLen - 1) === \"/\") {\n        path = path.substr(0, pathLen - 1);\n        originalPath = originalPath.substr(0, originalPath.length - 1);\n        isSlashDropped = true;\n    }\n    for (var i = 0; i < path.length; i++) {\n        states = recognizeChar(states, path.charCodeAt(i));\n        if (!states.length) {\n            break;\n        }\n    }\n    var solutions = [];\n    for (var i$1 = 0; i$1 < states.length; i$1++) {\n        if (states[i$1].handlers) {\n            solutions.push(states[i$1]);\n        }\n    }\n    states = sortSolutions(solutions);\n    var state = solutions[0];\n    if (state && state.handlers) {\n        // if a trailing slash was dropped and a star segment is the last segment\n        // specified, put the trailing slash back\n        if (isSlashDropped && state.pattern && state.pattern.slice(-5) === \"(.+)$\") {\n            originalPath = originalPath + \"/\";\n        }\n        results = findHandler(state, originalPath, queryParams);\n    }\n    return results;\n};\nRouteRecognizer.VERSION = \"0.3.4\";\n// Set to false to opt-out of encoding and decoding path segments.\n// See https://github.com/tildeio/route-recognizer/pull/55\nRouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS = true;\nRouteRecognizer.Normalizer = {\n    normalizeSegment: normalizeSegment, normalizePath: normalizePath, encodePathSegment: encodePathSegment\n};\nRouteRecognizer.prototype.map = map;\n\nexport default RouteRecognizer;\n\n//# sourceMappingURL=route-recognizer.es.js.map\n","import { Promise } from 'rsvp';\nimport { DEBUG } from '@glimmer/env';\nimport RouteRecognizer from 'route-recognizer';\n\nfunction buildTransitionAborted() {\n    let error = new Error('TransitionAborted');\n    error.name = 'TransitionAborted';\n    error.code = 'TRANSITION_ABORTED';\n    return error;\n}\nfunction isTransitionAborted(maybeError) {\n    return (typeof maybeError === 'object' &&\n        maybeError !== null &&\n        maybeError.code === 'TRANSITION_ABORTED');\n}\nfunction isAbortable(maybeAbortable) {\n    return (typeof maybeAbortable === 'object' &&\n        maybeAbortable !== null &&\n        typeof maybeAbortable.isAborted === 'boolean');\n}\nfunction throwIfAborted(maybe) {\n    if (isAbortable(maybe) && maybe.isAborted) {\n        throw buildTransitionAborted();\n    }\n}\n\nconst slice = Array.prototype.slice;\nconst hasOwnProperty = Object.prototype.hasOwnProperty;\n/**\n  Determines if an object is Promise by checking if it is \"thenable\".\n**/\nfunction isPromise(p) {\n    return p !== null && typeof p === 'object' && typeof p.then === 'function';\n}\nfunction merge(hash, other) {\n    for (let prop in other) {\n        if (hasOwnProperty.call(other, prop)) {\n            hash[prop] = other[prop];\n        }\n    }\n}\n/**\n  @private\n\n  Extracts query params from the end of an array\n**/\nfunction extractQueryParams(array) {\n    let len = array && array.length, head, queryParams;\n    if (len && len > 0) {\n        let obj = array[len - 1];\n        if (isQueryParamsContainer(obj)) {\n            queryParams = obj.queryParams;\n            head = slice.call(array, 0, len - 1);\n            return [head, queryParams];\n        }\n    }\n    // SAFETY: We confirmed that the last item isn't a QP container\n    return [array, null];\n}\n// TODO: Actually check that Dict is QueryParams\nfunction isQueryParamsContainer(obj) {\n    if (obj && typeof obj === 'object') {\n        let cast = obj;\n        return ('queryParams' in cast && Object.keys(cast.queryParams).every((k) => typeof k === 'string'));\n    }\n    return false;\n}\n/**\n  @private\n\n  Coerces query param properties and array elements into strings.\n**/\nfunction coerceQueryParamsToString(queryParams) {\n    for (let key in queryParams) {\n        let val = queryParams[key];\n        if (typeof val === 'number') {\n            queryParams[key] = '' + val;\n        }\n        else if (Array.isArray(val)) {\n            for (let i = 0, l = val.length; i < l; i++) {\n                val[i] = '' + val[i];\n            }\n        }\n    }\n}\n/**\n  @private\n */\nfunction log(router, ...args) {\n    if (!router.log) {\n        return;\n    }\n    if (args.length === 2) {\n        let [sequence, msg] = args;\n        router.log('Transition #' + sequence + ': ' + msg);\n    }\n    else {\n        let [msg] = args;\n        router.log(msg);\n    }\n}\nfunction isParam(object) {\n    return (typeof object === 'string' ||\n        object instanceof String ||\n        typeof object === 'number' ||\n        object instanceof Number);\n}\nfunction forEach(array, callback) {\n    for (let i = 0, l = array.length; i < l && callback(array[i]) !== false; i++) {\n        // empty intentionally\n    }\n}\nfunction getChangelist(oldObject, newObject) {\n    let key;\n    let results = {\n        all: {},\n        changed: {},\n        removed: {},\n    };\n    merge(results.all, newObject);\n    let didChange = false;\n    coerceQueryParamsToString(oldObject);\n    coerceQueryParamsToString(newObject);\n    // Calculate removals\n    for (key in oldObject) {\n        if (hasOwnProperty.call(oldObject, key)) {\n            if (!hasOwnProperty.call(newObject, key)) {\n                didChange = true;\n                results.removed[key] = oldObject[key];\n            }\n        }\n    }\n    // Calculate changes\n    for (key in newObject) {\n        if (hasOwnProperty.call(newObject, key)) {\n            let oldElement = oldObject[key];\n            let newElement = newObject[key];\n            if (isArray(oldElement) && isArray(newElement)) {\n                if (oldElement.length !== newElement.length) {\n                    results.changed[key] = newObject[key];\n                    didChange = true;\n                }\n                else {\n                    for (let i = 0, l = oldElement.length; i < l; i++) {\n                        if (oldElement[i] !== newElement[i]) {\n                            results.changed[key] = newObject[key];\n                            didChange = true;\n                        }\n                    }\n                }\n            }\n            else if (oldObject[key] !== newObject[key]) {\n                results.changed[key] = newObject[key];\n                didChange = true;\n            }\n        }\n    }\n    return didChange ? results : undefined;\n}\nfunction isArray(obj) {\n    return Array.isArray(obj);\n}\nfunction promiseLabel(label) {\n    return 'Router: ' + label;\n}\n\nconst STATE_SYMBOL = `__STATE__-2619860001345920-3322w3`;\nconst PARAMS_SYMBOL = `__PARAMS__-261986232992830203-23323`;\nconst QUERY_PARAMS_SYMBOL = `__QPS__-2619863929824844-32323`;\n/**\n  A Transition is a thenable (a promise-like object) that represents\n  an attempt to transition to another route. It can be aborted, either\n  explicitly via `abort` or by attempting another transition while a\n  previous one is still underway. An aborted transition can also\n  be `retry()`d later.\n\n  @class Transition\n  @constructor\n  @param {Object} router\n  @param {Object} intent\n  @param {Object} state\n  @param {Object} error\n  @private\n */\nclass Transition {\n    constructor(router, intent, state, error = undefined, previousTransition = undefined) {\n        this.from = null;\n        this.to = undefined;\n        this.isAborted = false;\n        this.isActive = true;\n        this.urlMethod = 'update';\n        this.resolveIndex = 0;\n        this.queryParamsOnly = false;\n        this.isTransition = true;\n        this.isCausedByAbortingTransition = false;\n        this.isCausedByInitialTransition = false;\n        this.isCausedByAbortingReplaceTransition = false;\n        this._visibleQueryParams = {};\n        this.isIntermediate = false;\n        this[STATE_SYMBOL] = state || router.state;\n        this.intent = intent;\n        this.router = router;\n        this.data = (intent && intent.data) || {};\n        this.resolvedModels = {};\n        this[QUERY_PARAMS_SYMBOL] = {};\n        this.promise = undefined;\n        this.error = undefined;\n        this[PARAMS_SYMBOL] = {};\n        this.routeInfos = [];\n        this.targetName = undefined;\n        this.pivotHandler = undefined;\n        this.sequence = -1;\n        if (DEBUG) {\n            let error = new Error(`Transition creation stack`);\n            this.debugCreationStack = () => error.stack;\n            // not aborted yet, will be replaced when `this.isAborted` is set\n            this.debugAbortStack = () => undefined;\n            this.debugPreviousTransition = previousTransition;\n        }\n        if (error) {\n            this.promise = Promise.reject(error);\n            this.error = error;\n            return;\n        }\n        // if you're doing multiple redirects, need the new transition to know if it\n        // is actually part of the first transition or not. Any further redirects\n        // in the initial transition also need to know if they are part of the\n        // initial transition\n        this.isCausedByAbortingTransition = !!previousTransition;\n        this.isCausedByInitialTransition =\n            !!previousTransition &&\n                (previousTransition.isCausedByInitialTransition || previousTransition.sequence === 0);\n        // Every transition in the chain is a replace\n        this.isCausedByAbortingReplaceTransition =\n            !!previousTransition &&\n                previousTransition.urlMethod === 'replace' &&\n                (!previousTransition.isCausedByAbortingTransition ||\n                    previousTransition.isCausedByAbortingReplaceTransition);\n        if (state) {\n            this[PARAMS_SYMBOL] = state.params;\n            this[QUERY_PARAMS_SYMBOL] = state.queryParams;\n            this.routeInfos = state.routeInfos;\n            let len = state.routeInfos.length;\n            if (len) {\n                this.targetName = state.routeInfos[len - 1].name;\n            }\n            for (let i = 0; i < len; ++i) {\n                let handlerInfo = state.routeInfos[i];\n                // TODO: this all seems hacky\n                if (!handlerInfo.isResolved) {\n                    break;\n                }\n                this.pivotHandler = handlerInfo.route;\n            }\n            this.sequence = router.currentSequence++;\n            this.promise = state.resolve(this).catch((result) => {\n                let error = this.router.transitionDidError(result, this);\n                throw error;\n            }, promiseLabel('Handle Abort'));\n        }\n        else {\n            this.promise = Promise.resolve(this[STATE_SYMBOL]);\n            this[PARAMS_SYMBOL] = {};\n        }\n    }\n    /**\n      The Transition's internal promise. Calling `.then` on this property\n      is that same as calling `.then` on the Transition object itself, but\n      this property is exposed for when you want to pass around a\n      Transition's promise, but not the Transition object itself, since\n      Transition object can be externally `abort`ed, while the promise\n      cannot.\n  \n      @property promise\n      @type {Object}\n      @public\n     */\n    /**\n      Custom state can be stored on a Transition's `data` object.\n      This can be useful for decorating a Transition within an earlier\n      hook and shared with a later hook. Properties set on `data` will\n      be copied to new transitions generated by calling `retry` on this\n      transition.\n  \n      @property data\n      @type {Object}\n      @public\n     */\n    /**\n      A standard promise hook that resolves if the transition\n      succeeds and rejects if it fails/redirects/aborts.\n  \n      Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thenable,\n      but not the Transition itself.\n  \n      @method then\n      @param {Function} onFulfilled\n      @param {Function} onRejected\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n    then(onFulfilled, onRejected, label) {\n        return this.promise.then(onFulfilled, onRejected, label);\n    }\n    /**\n  \n      Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thennable,\n      but not the Transition itself.\n  \n      @method catch\n      @param {Function} onRejection\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n    catch(onRejection, label) {\n        return this.promise.catch(onRejection, label);\n    }\n    /**\n  \n      Forwards to the internal `promise` property which you can\n      use in situations where you want to pass around a thenable,\n      but not the Transition itself.\n  \n      @method finally\n      @param {Function} callback\n      @param {String} label optional string for labeling the promise.\n      Useful for tooling.\n      @return {Promise}\n      @public\n     */\n    finally(callback, label) {\n        return this.promise.finally(callback, label);\n    }\n    /**\n      Aborts the Transition. Note you can also implicitly abort a transition\n      by initiating another transition while a previous one is underway.\n  \n      @method abort\n      @return {Transition} this transition\n      @public\n     */\n    abort() {\n        this.rollback();\n        let transition = new Transition(this.router, undefined, undefined, undefined);\n        transition.to = this.from;\n        transition.from = this.from;\n        transition.isAborted = true;\n        this.router.routeWillChange(transition);\n        this.router.routeDidChange(transition);\n        return this;\n    }\n    rollback() {\n        if (!this.isAborted) {\n            log(this.router, this.sequence, this.targetName + ': transition was aborted');\n            if (DEBUG) {\n                let error = new Error(`Transition aborted stack`);\n                this.debugAbortStack = () => error.stack;\n            }\n            if (this.intent !== undefined && this.intent !== null) {\n                this.intent.preTransitionState = this.router.state;\n            }\n            this.isAborted = true;\n            this.isActive = false;\n            this.router.activeTransition = undefined;\n        }\n    }\n    redirect(newTransition) {\n        this.rollback();\n        this.router.routeWillChange(newTransition);\n    }\n    /**\n  \n      Retries a previously-aborted transition (making sure to abort the\n      transition if it's still active). Returns a new transition that\n      represents the new attempt to transition.\n  \n      @method retry\n      @return {Transition} new transition\n      @public\n     */\n    retry() {\n        // TODO: add tests for merged state retry()s\n        this.abort();\n        let newTransition = this.router.transitionByIntent(this.intent, false);\n        // inheriting a `null` urlMethod is not valid\n        // the urlMethod is only set to `null` when\n        // the transition is initiated *after* the url\n        // has been updated (i.e. `router.handleURL`)\n        //\n        // in that scenario, the url method cannot be\n        // inherited for a new transition because then\n        // the url would not update even though it should\n        if (this.urlMethod !== null) {\n            newTransition.method(this.urlMethod);\n        }\n        return newTransition;\n    }\n    /**\n  \n      Sets the URL-changing method to be employed at the end of a\n      successful transition. By default, a new Transition will just\n      use `updateURL`, but passing 'replace' to this method will\n      cause the URL to update using 'replaceWith' instead. Omitting\n      a parameter will disable the URL change, allowing for transitions\n      that don't update the URL at completion (this is also used for\n      handleURL, since the URL has already changed before the\n      transition took place).\n  \n      @method method\n      @param {String} method the type of URL-changing method to use\n        at the end of a transition. Accepted values are 'replace',\n        falsy values, or any other non-falsy value (which is\n        interpreted as an updateURL transition).\n  \n      @return {Transition} this transition\n      @public\n     */\n    method(method) {\n        this.urlMethod = method;\n        return this;\n    }\n    // Alias 'trigger' as 'send'\n    send(ignoreFailure = false, _name, err, transition, handler) {\n        this.trigger(ignoreFailure, _name, err, transition, handler);\n    }\n    /**\n  \n      Fires an event on the current list of resolved/resolving\n      handlers within this transition. Useful for firing events\n      on route hierarchies that haven't fully been entered yet.\n  \n      Note: This method is also aliased as `send`\n  \n      @method trigger\n      @param {Boolean} [ignoreFailure=false] a boolean specifying whether unhandled events throw an error\n      @param {String} name the name of the event to fire\n      @public\n     */\n    trigger(ignoreFailure = false, name, ...args) {\n        // TODO: Deprecate the current signature\n        if (typeof ignoreFailure === 'string') {\n            name = ignoreFailure;\n            ignoreFailure = false;\n        }\n        this.router.triggerEvent(this[STATE_SYMBOL].routeInfos.slice(0, this.resolveIndex + 1), ignoreFailure, name, args);\n    }\n    /**\n      Transitions are aborted and their promises rejected\n      when redirects occur; this method returns a promise\n      that will follow any redirects that occur and fulfill\n      with the value fulfilled by any redirecting transitions\n      that occur.\n  \n      @method followRedirects\n      @return {Promise} a promise that fulfills with the same\n        value that the final redirecting transition fulfills with\n      @public\n     */\n    followRedirects() {\n        let router = this.router;\n        return this.promise.catch(function (reason) {\n            if (router.activeTransition) {\n                return router.activeTransition.followRedirects();\n            }\n            return Promise.reject(reason);\n        });\n    }\n    toString() {\n        return 'Transition (sequence ' + this.sequence + ')';\n    }\n    /**\n      @private\n     */\n    log(message) {\n        log(this.router, this.sequence, message);\n    }\n}\n/**\n  @private\n\n  Logs and returns an instance of TransitionAborted.\n */\nfunction logAbort(transition) {\n    log(transition.router, transition.sequence, 'detected abort.');\n    return buildTransitionAborted();\n}\nfunction isTransition(obj) {\n    return typeof obj === 'object' && obj instanceof Transition && obj.isTransition;\n}\nfunction prepareResult(obj) {\n    if (isTransition(obj)) {\n        return null;\n    }\n    return obj;\n}\n\nlet ROUTE_INFOS = new WeakMap();\nfunction toReadOnlyRouteInfo(routeInfos, queryParams = {}, includeAttributes = false) {\n    return routeInfos.map((info, i) => {\n        let { name, params, paramNames, context, route } = info;\n        // SAFETY: This should be safe since it is just for use as a key\n        let key = info;\n        if (ROUTE_INFOS.has(key) && includeAttributes) {\n            let routeInfo = ROUTE_INFOS.get(key);\n            routeInfo = attachMetadata(route, routeInfo);\n            let routeInfoWithAttribute = createRouteInfoWithAttributes(routeInfo, context);\n            ROUTE_INFOS.set(key, routeInfoWithAttribute);\n            return routeInfoWithAttribute;\n        }\n        let routeInfo = {\n            find(predicate, thisArg) {\n                let publicInfo;\n                let arr = [];\n                if (predicate.length === 3) {\n                    arr = routeInfos.map(\n                    // SAFETY: This should be safe since it is just for use as a key\n                    (info) => ROUTE_INFOS.get(info));\n                }\n                for (let i = 0; routeInfos.length > i; i++) {\n                    // SAFETY: This should be safe since it is just for use as a key\n                    publicInfo = ROUTE_INFOS.get(routeInfos[i]);\n                    if (predicate.call(thisArg, publicInfo, i, arr)) {\n                        return publicInfo;\n                    }\n                }\n                return undefined;\n            },\n            get name() {\n                return name;\n            },\n            get paramNames() {\n                return paramNames;\n            },\n            get metadata() {\n                return buildRouteInfoMetadata(info.route);\n            },\n            get parent() {\n                let parent = routeInfos[i - 1];\n                if (parent === undefined) {\n                    return null;\n                }\n                // SAFETY: This should be safe since it is just for use as a key\n                return ROUTE_INFOS.get(parent);\n            },\n            get child() {\n                let child = routeInfos[i + 1];\n                if (child === undefined) {\n                    return null;\n                }\n                // SAFETY: This should be safe since it is just for use as a key\n                return ROUTE_INFOS.get(child);\n            },\n            get localName() {\n                let parts = this.name.split('.');\n                return parts[parts.length - 1];\n            },\n            get params() {\n                return params;\n            },\n            get queryParams() {\n                return queryParams;\n            },\n        };\n        if (includeAttributes) {\n            routeInfo = createRouteInfoWithAttributes(routeInfo, context);\n        }\n        // SAFETY: This should be safe since it is just for use as a key\n        ROUTE_INFOS.set(info, routeInfo);\n        return routeInfo;\n    });\n}\nfunction createRouteInfoWithAttributes(routeInfo, context) {\n    let attributes = {\n        get attributes() {\n            return context;\n        },\n    };\n    if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('attributes')) {\n        return Object.freeze(Object.assign({}, routeInfo, attributes));\n    }\n    return Object.assign(routeInfo, attributes);\n}\nfunction buildRouteInfoMetadata(route) {\n    if (route !== undefined && route !== null && route.buildRouteInfoMetadata !== undefined) {\n        return route.buildRouteInfoMetadata();\n    }\n    return null;\n}\nfunction attachMetadata(route, routeInfo) {\n    let metadata = {\n        get metadata() {\n            return buildRouteInfoMetadata(route);\n        },\n    };\n    if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('metadata')) {\n        return Object.freeze(Object.assign({}, routeInfo, metadata));\n    }\n    return Object.assign(routeInfo, metadata);\n}\nclass InternalRouteInfo {\n    constructor(router, name, paramNames, route) {\n        this._routePromise = undefined;\n        this._route = null;\n        this.params = {};\n        this.isResolved = false;\n        this.name = name;\n        this.paramNames = paramNames;\n        this.router = router;\n        if (route) {\n            this._processRoute(route);\n        }\n    }\n    getModel(_transition) {\n        return Promise.resolve(this.context);\n    }\n    serialize(_context) {\n        return this.params || {};\n    }\n    resolve(transition) {\n        return Promise.resolve(this.routePromise)\n            .then((route) => {\n            throwIfAborted(transition);\n            return route;\n        })\n            .then(() => this.runBeforeModelHook(transition))\n            .then(() => throwIfAborted(transition))\n            .then(() => this.getModel(transition))\n            .then((resolvedModel) => {\n            throwIfAborted(transition);\n            return resolvedModel;\n        })\n            .then((resolvedModel) => this.runAfterModelHook(transition, resolvedModel))\n            .then((resolvedModel) => this.becomeResolved(transition, resolvedModel));\n    }\n    becomeResolved(transition, resolvedContext) {\n        let params = this.serialize(resolvedContext);\n        if (transition) {\n            this.stashResolvedModel(transition, resolvedContext);\n            transition[PARAMS_SYMBOL] = transition[PARAMS_SYMBOL] || {};\n            transition[PARAMS_SYMBOL][this.name] = params;\n        }\n        let context;\n        let contextsMatch = resolvedContext === this.context;\n        if ('context' in this || !contextsMatch) {\n            context = resolvedContext;\n        }\n        // SAFETY: Since this is just for lookup, it should be safe\n        let cached = ROUTE_INFOS.get(this);\n        let resolved = new ResolvedRouteInfo(this.router, this.name, this.paramNames, params, this.route, context);\n        if (cached !== undefined) {\n            // SAFETY: This is potentially a bit risker, but for what we're doing, it should be ok.\n            ROUTE_INFOS.set(resolved, cached);\n        }\n        return resolved;\n    }\n    shouldSupersede(routeInfo) {\n        // Prefer this newer routeInfo over `other` if:\n        // 1) The other one doesn't exist\n        // 2) The names don't match\n        // 3) This route has a context that doesn't match\n        //    the other one (or the other one doesn't have one).\n        // 4) This route has parameters that don't match the other.\n        if (!routeInfo) {\n            return true;\n        }\n        let contextsMatch = routeInfo.context === this.context;\n        return (routeInfo.name !== this.name ||\n            ('context' in this && !contextsMatch) ||\n            (this.hasOwnProperty('params') && !paramsMatch(this.params, routeInfo.params)));\n    }\n    get route() {\n        // _route could be set to either a route object or undefined, so we\n        // compare against null to know when it's been set\n        if (this._route !== null) {\n            return this._route;\n        }\n        return this.fetchRoute();\n    }\n    set route(route) {\n        this._route = route;\n    }\n    get routePromise() {\n        if (this._routePromise) {\n            return this._routePromise;\n        }\n        this.fetchRoute();\n        return this._routePromise;\n    }\n    set routePromise(routePromise) {\n        this._routePromise = routePromise;\n    }\n    log(transition, message) {\n        if (transition.log) {\n            transition.log(this.name + ': ' + message);\n        }\n    }\n    updateRoute(route) {\n        route._internalName = this.name;\n        return (this.route = route);\n    }\n    runBeforeModelHook(transition) {\n        if (transition.trigger) {\n            transition.trigger(true, 'willResolveModel', transition, this.route);\n        }\n        let result;\n        if (this.route) {\n            if (this.route.beforeModel !== undefined) {\n                result = this.route.beforeModel(transition);\n            }\n        }\n        if (isTransition(result)) {\n            result = null;\n        }\n        return Promise.resolve(result);\n    }\n    runAfterModelHook(transition, resolvedModel) {\n        // Stash the resolved model on the payload.\n        // This makes it possible for users to swap out\n        // the resolved model in afterModel.\n        let name = this.name;\n        this.stashResolvedModel(transition, resolvedModel);\n        let result;\n        if (this.route !== undefined) {\n            if (this.route.afterModel !== undefined) {\n                result = this.route.afterModel(resolvedModel, transition);\n            }\n        }\n        result = prepareResult(result);\n        return Promise.resolve(result).then(() => {\n            // Ignore the fulfilled value returned from afterModel.\n            // Return the value stashed in resolvedModels, which\n            // might have been swapped out in afterModel.\n            // SAFTEY: We expect this to be of type T, though typing it as such is challenging.\n            return transition.resolvedModels[name];\n        });\n    }\n    stashResolvedModel(transition, resolvedModel) {\n        transition.resolvedModels = transition.resolvedModels || {};\n        // SAFETY: It's unfortunate that we have to do this cast. It should be safe though.\n        transition.resolvedModels[this.name] = resolvedModel;\n    }\n    fetchRoute() {\n        let route = this.router.getRoute(this.name);\n        return this._processRoute(route);\n    }\n    _processRoute(route) {\n        // Setup a routePromise so that we can wait for asynchronously loaded routes\n        this.routePromise = Promise.resolve(route);\n        // Wait until the 'route' property has been updated when chaining to a route\n        // that is a promise\n        if (isPromise(route)) {\n            this.routePromise = this.routePromise.then((r) => {\n                return this.updateRoute(r);\n            });\n            // set to undefined to avoid recursive loop in the route getter\n            return (this.route = undefined);\n        }\n        else if (route) {\n            return this.updateRoute(route);\n        }\n        return undefined;\n    }\n}\nclass ResolvedRouteInfo extends InternalRouteInfo {\n    constructor(router, name, paramNames, params, route, context) {\n        super(router, name, paramNames, route);\n        this.params = params;\n        this.isResolved = true;\n        this.context = context;\n    }\n    resolve(transition) {\n        // A ResolvedRouteInfo just resolved with itself.\n        if (transition && transition.resolvedModels) {\n            transition.resolvedModels[this.name] = this.context;\n        }\n        return Promise.resolve(this);\n    }\n}\nclass UnresolvedRouteInfoByParam extends InternalRouteInfo {\n    constructor(router, name, paramNames, params, route) {\n        super(router, name, paramNames, route);\n        this.params = {};\n        if (params) {\n            this.params = params;\n        }\n    }\n    getModel(transition) {\n        let fullParams = this.params;\n        if (transition && transition[QUERY_PARAMS_SYMBOL]) {\n            fullParams = {};\n            merge(fullParams, this.params);\n            fullParams.queryParams = transition[QUERY_PARAMS_SYMBOL];\n        }\n        let route = this.route;\n        let result;\n        // FIXME: Review these casts\n        if (route.deserialize) {\n            result = route.deserialize(fullParams, transition);\n        }\n        else if (route.model) {\n            result = route.model(fullParams, transition);\n        }\n        if (result && isTransition(result)) {\n            result = undefined;\n        }\n        return Promise.resolve(result);\n    }\n}\nclass UnresolvedRouteInfoByObject extends InternalRouteInfo {\n    constructor(router, name, paramNames, context) {\n        super(router, name, paramNames);\n        this.context = context;\n        this.serializer = this.router.getSerializer(name);\n    }\n    getModel(transition) {\n        if (this.router.log !== undefined) {\n            this.router.log(this.name + ': resolving provided model');\n        }\n        return super.getModel(transition);\n    }\n    /**\n      @private\n  \n      Serializes a route using its custom `serialize` method or\n      by a default that looks up the expected property name from\n      the dynamic segment.\n  \n      @param {Object} model the model to be serialized for this route\n    */\n    serialize(model) {\n        let { paramNames, context } = this;\n        if (!model) {\n            // SAFETY: By the time we serialize, we expect to be resolved.\n            // This may not be an entirely safe assumption though no tests fail.\n            model = context;\n        }\n        let object = {};\n        if (isParam(model)) {\n            object[paramNames[0]] = model;\n            return object;\n        }\n        // Use custom serialize if it exists.\n        if (this.serializer) {\n            // invoke this.serializer unbound (getSerializer returns a stateless function)\n            return this.serializer.call(null, model, paramNames);\n        }\n        else if (this.route !== undefined) {\n            if (this.route.serialize) {\n                return this.route.serialize(model, paramNames);\n            }\n        }\n        if (paramNames.length !== 1) {\n            return;\n        }\n        let name = paramNames[0];\n        if (/_id$/.test(name)) {\n            // SAFETY: Model is supposed to extend IModel already\n            object[name] = model.id;\n        }\n        else {\n            object[name] = model;\n        }\n        return object;\n    }\n}\nfunction paramsMatch(a, b) {\n    if (a === b) {\n        // Both are identical, may both be undefined\n        return true;\n    }\n    if (!a || !b) {\n        // Only one is undefined, already checked they aren't identical\n        return false;\n    }\n    // Note: this assumes that both params have the same\n    // number of keys, but since we're comparing the\n    // same routes, they should.\n    for (let k in a) {\n        if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n            return false;\n        }\n    }\n    return true;\n}\n\nclass TransitionIntent {\n    constructor(router, data = {}) {\n        this.router = router;\n        this.data = data;\n    }\n}\n\nfunction handleError(currentState, transition, error) {\n    // This is the only possible\n    // reject value of TransitionState#resolve\n    let routeInfos = currentState.routeInfos;\n    let errorHandlerIndex = transition.resolveIndex >= routeInfos.length ? routeInfos.length - 1 : transition.resolveIndex;\n    let wasAborted = transition.isAborted;\n    throw new TransitionError(error, currentState.routeInfos[errorHandlerIndex].route, wasAborted, currentState);\n}\nfunction resolveOneRouteInfo(currentState, transition) {\n    if (transition.resolveIndex === currentState.routeInfos.length) {\n        // This is is the only possible\n        // fulfill value of TransitionState#resolve\n        return;\n    }\n    let routeInfo = currentState.routeInfos[transition.resolveIndex];\n    let callback = proceed.bind(null, currentState, transition);\n    return routeInfo.resolve(transition).then(callback, null, currentState.promiseLabel('Proceed'));\n}\nfunction proceed(currentState, transition, resolvedRouteInfo) {\n    let wasAlreadyResolved = currentState.routeInfos[transition.resolveIndex].isResolved;\n    // Swap the previously unresolved routeInfo with\n    // the resolved routeInfo\n    currentState.routeInfos[transition.resolveIndex++] = resolvedRouteInfo;\n    if (!wasAlreadyResolved) {\n        // Call the redirect hook. The reason we call it here\n        // vs. afterModel is so that redirects into child\n        // routes don't re-run the model hooks for this\n        // already-resolved route.\n        let { route } = resolvedRouteInfo;\n        if (route !== undefined) {\n            if (route.redirect) {\n                route.redirect(resolvedRouteInfo.context, transition);\n            }\n        }\n    }\n    // Proceed after ensuring that the redirect hook\n    // didn't abort this transition by transitioning elsewhere.\n    throwIfAborted(transition);\n    return resolveOneRouteInfo(currentState, transition);\n}\nclass TransitionState {\n    constructor() {\n        this.routeInfos = [];\n        this.queryParams = {};\n        this.params = {};\n    }\n    promiseLabel(label) {\n        let targetName = '';\n        forEach(this.routeInfos, function (routeInfo) {\n            if (targetName !== '') {\n                targetName += '.';\n            }\n            targetName += routeInfo.name;\n            return true;\n        });\n        return promiseLabel(\"'\" + targetName + \"': \" + label);\n    }\n    resolve(transition) {\n        // First, calculate params for this state. This is useful\n        // information to provide to the various route hooks.\n        let params = this.params;\n        forEach(this.routeInfos, (routeInfo) => {\n            params[routeInfo.name] = routeInfo.params || {};\n            return true;\n        });\n        transition.resolveIndex = 0;\n        let callback = resolveOneRouteInfo.bind(null, this, transition);\n        let errorHandler = handleError.bind(null, this, transition);\n        // The prelude RSVP.resolve() async moves us into the promise land.\n        return Promise.resolve(null, this.promiseLabel('Start transition'))\n            .then(callback, null, this.promiseLabel('Resolve route'))\n            .catch(errorHandler, this.promiseLabel('Handle error'))\n            .then(() => this);\n    }\n}\nclass TransitionError {\n    constructor(error, route, wasAborted, state) {\n        this.error = error;\n        this.route = route;\n        this.wasAborted = wasAborted;\n        this.state = state;\n    }\n}\n\nclass NamedTransitionIntent extends TransitionIntent {\n    constructor(router, name, pivotHandler, contexts = [], queryParams = {}, data) {\n        super(router, data);\n        this.preTransitionState = undefined;\n        this.name = name;\n        this.pivotHandler = pivotHandler;\n        this.contexts = contexts;\n        this.queryParams = queryParams;\n    }\n    applyToState(oldState, isIntermediate) {\n        let handlers = this.router.recognizer.handlersFor(this.name);\n        let targetRouteName = handlers[handlers.length - 1].handler;\n        return this.applyToHandlers(oldState, handlers, targetRouteName, isIntermediate, false);\n    }\n    applyToHandlers(oldState, parsedHandlers, targetRouteName, isIntermediate, checkingIfActive) {\n        let i, len;\n        let newState = new TransitionState();\n        let objects = this.contexts.slice(0);\n        let invalidateIndex = parsedHandlers.length;\n        // Pivot handlers are provided for refresh transitions\n        if (this.pivotHandler) {\n            for (i = 0, len = parsedHandlers.length; i < len; ++i) {\n                if (parsedHandlers[i].handler === this.pivotHandler._internalName) {\n                    invalidateIndex = i;\n                    break;\n                }\n            }\n        }\n        for (i = parsedHandlers.length - 1; i >= 0; --i) {\n            let result = parsedHandlers[i];\n            let name = result.handler;\n            let oldHandlerInfo = oldState.routeInfos[i];\n            let newHandlerInfo = null;\n            if (result.names.length > 0) {\n                if (i >= invalidateIndex) {\n                    newHandlerInfo = this.createParamHandlerInfo(name, result.names, objects, oldHandlerInfo);\n                }\n                else {\n                    newHandlerInfo = this.getHandlerInfoForDynamicSegment(name, result.names, objects, oldHandlerInfo, targetRouteName, i);\n                }\n            }\n            else {\n                // This route has no dynamic segment.\n                // Therefore treat as a param-based handlerInfo\n                // with empty params. This will cause the `model`\n                // hook to be called with empty params, which is desirable.\n                newHandlerInfo = this.createParamHandlerInfo(name, result.names, objects, oldHandlerInfo);\n            }\n            if (checkingIfActive) {\n                // If we're performing an isActive check, we want to\n                // serialize URL params with the provided context, but\n                // ignore mismatches between old and new context.\n                newHandlerInfo = newHandlerInfo.becomeResolved(null, \n                // SAFETY: This seems to imply that it would be resolved, but it's unclear if that's actually the case.\n                newHandlerInfo.context);\n                let oldContext = oldHandlerInfo && oldHandlerInfo.context;\n                if (result.names.length > 0 &&\n                    oldHandlerInfo.context !== undefined &&\n                    newHandlerInfo.context === oldContext) {\n                    // If contexts match in isActive test, assume params also match.\n                    // This allows for flexibility in not requiring that every last\n                    // handler provide a `serialize` method\n                    newHandlerInfo.params = oldHandlerInfo && oldHandlerInfo.params;\n                }\n                newHandlerInfo.context = oldContext;\n            }\n            let handlerToUse = oldHandlerInfo;\n            if (i >= invalidateIndex || newHandlerInfo.shouldSupersede(oldHandlerInfo)) {\n                invalidateIndex = Math.min(i, invalidateIndex);\n                handlerToUse = newHandlerInfo;\n            }\n            if (isIntermediate && !checkingIfActive) {\n                handlerToUse = handlerToUse.becomeResolved(null, \n                // SAFETY: This seems to imply that it would be resolved, but it's unclear if that's actually the case.\n                handlerToUse.context);\n            }\n            newState.routeInfos.unshift(handlerToUse);\n        }\n        if (objects.length > 0) {\n            throw new Error('More context objects were passed than there are dynamic segments for the route: ' +\n                targetRouteName);\n        }\n        if (!isIntermediate) {\n            this.invalidateChildren(newState.routeInfos, invalidateIndex);\n        }\n        merge(newState.queryParams, this.queryParams || {});\n        if (isIntermediate && oldState.queryParams) {\n            merge(newState.queryParams, oldState.queryParams);\n        }\n        return newState;\n    }\n    invalidateChildren(handlerInfos, invalidateIndex) {\n        for (let i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n            let handlerInfo = handlerInfos[i];\n            if (handlerInfo.isResolved) {\n                let { name, params, route, paramNames } = handlerInfos[i];\n                handlerInfos[i] = new UnresolvedRouteInfoByParam(this.router, name, paramNames, params, route);\n            }\n        }\n    }\n    getHandlerInfoForDynamicSegment(name, names, objects, oldHandlerInfo, _targetRouteName, i) {\n        let objectToUse;\n        if (objects.length > 0) {\n            // Use the objects provided for this transition.\n            objectToUse = objects[objects.length - 1];\n            if (isParam(objectToUse)) {\n                return this.createParamHandlerInfo(name, names, objects, oldHandlerInfo);\n            }\n            else {\n                objects.pop();\n            }\n        }\n        else if (oldHandlerInfo && oldHandlerInfo.name === name) {\n            // Reuse the matching oldHandlerInfo\n            return oldHandlerInfo;\n        }\n        else {\n            if (this.preTransitionState) {\n                let preTransitionHandlerInfo = this.preTransitionState.routeInfos[i];\n                objectToUse = preTransitionHandlerInfo === null || preTransitionHandlerInfo === void 0 ? void 0 : preTransitionHandlerInfo.context;\n            }\n            else {\n                // Ideally we should throw this error to provide maximal\n                // information to the user that not enough context objects\n                // were provided, but this proves too cumbersome in Ember\n                // in cases where inner template helpers are evaluated\n                // before parent helpers un-render, in which cases this\n                // error somewhat prematurely fires.\n                //throw new Error(\"Not enough context objects were provided to complete a transition to \" + targetRouteName + \". Specifically, the \" + name + \" route needs an object that can be serialized into its dynamic URL segments [\" + names.join(', ') + \"]\");\n                return oldHandlerInfo;\n            }\n        }\n        return new UnresolvedRouteInfoByObject(this.router, name, names, objectToUse);\n    }\n    createParamHandlerInfo(name, names, objects, oldHandlerInfo) {\n        let params = {};\n        // Soak up all the provided string/numbers\n        let numNames = names.length;\n        let missingParams = [];\n        while (numNames--) {\n            // Only use old params if the names match with the new handler\n            let oldParams = (oldHandlerInfo && name === oldHandlerInfo.name && oldHandlerInfo.params) || {};\n            let peek = objects[objects.length - 1];\n            let paramName = names[numNames];\n            if (isParam(peek)) {\n                params[paramName] = '' + objects.pop();\n            }\n            else {\n                // If we're here, this means only some of the params\n                // were string/number params, so try and use a param\n                // value from a previous handler.\n                if (oldParams.hasOwnProperty(paramName)) {\n                    params[paramName] = oldParams[paramName];\n                }\n                else {\n                    missingParams.push(paramName);\n                }\n            }\n        }\n        if (missingParams.length > 0) {\n            throw new Error(`You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route ${name}.` +\n                ` Missing params: ${missingParams}`);\n        }\n        return new UnresolvedRouteInfoByParam(this.router, name, names, params);\n    }\n}\n\nconst UnrecognizedURLError = (function () {\n    UnrecognizedURLError.prototype = Object.create(Error.prototype);\n    UnrecognizedURLError.prototype.constructor = UnrecognizedURLError;\n    function UnrecognizedURLError(message) {\n        let error = Error.call(this, message);\n        this.name = 'UnrecognizedURLError';\n        this.message = message || 'UnrecognizedURL';\n        if (Error.captureStackTrace) {\n            Error.captureStackTrace(this, UnrecognizedURLError);\n        }\n        else {\n            this.stack = error.stack;\n        }\n    }\n    return UnrecognizedURLError;\n})();\n\nclass URLTransitionIntent extends TransitionIntent {\n    constructor(router, url, data) {\n        super(router, data);\n        this.url = url;\n        this.preTransitionState = undefined;\n    }\n    applyToState(oldState) {\n        let newState = new TransitionState();\n        let results = this.router.recognizer.recognize(this.url), i, len;\n        if (!results) {\n            throw new UnrecognizedURLError(this.url);\n        }\n        let statesDiffer = false;\n        let _url = this.url;\n        // Checks if a handler is accessible by URL. If it is not, an error is thrown.\n        // For the case where the handler is loaded asynchronously, the error will be\n        // thrown once it is loaded.\n        function checkHandlerAccessibility(handler) {\n            if (handler && handler.inaccessibleByURL) {\n                throw new UnrecognizedURLError(_url);\n            }\n            return handler;\n        }\n        for (i = 0, len = results.length; i < len; ++i) {\n            let result = results[i];\n            let name = result.handler;\n            let paramNames = [];\n            if (this.router.recognizer.hasRoute(name)) {\n                paramNames = this.router.recognizer.handlersFor(name)[i].names;\n            }\n            let newRouteInfo = new UnresolvedRouteInfoByParam(this.router, name, paramNames, result.params);\n            let route = newRouteInfo.route;\n            if (route) {\n                checkHandlerAccessibility(route);\n            }\n            else {\n                // If the handler is being loaded asynchronously, check if we can\n                // access it after it has resolved\n                newRouteInfo.routePromise = newRouteInfo.routePromise.then(checkHandlerAccessibility);\n            }\n            let oldRouteInfo = oldState.routeInfos[i];\n            if (statesDiffer || newRouteInfo.shouldSupersede(oldRouteInfo)) {\n                statesDiffer = true;\n                newState.routeInfos[i] = newRouteInfo;\n            }\n            else {\n                newState.routeInfos[i] = oldRouteInfo;\n            }\n        }\n        merge(newState.queryParams, results.queryParams);\n        return newState;\n    }\n}\n\nclass Router {\n    constructor(logger) {\n        this._lastQueryParams = {};\n        this.state = undefined;\n        this.oldState = undefined;\n        this.activeTransition = undefined;\n        this.currentRouteInfos = undefined;\n        this._changedQueryParams = undefined;\n        this.currentSequence = 0;\n        this.log = logger;\n        this.recognizer = new RouteRecognizer();\n        this.reset();\n    }\n    /**\n      The main entry point into the router. The API is essentially\n      the same as the `map` method in `route-recognizer`.\n  \n      This method extracts the String handler at the last `.to()`\n      call and uses it as the name of the whole route.\n  \n      @param {Function} callback\n    */\n    map(callback) {\n        this.recognizer.map(callback, function (recognizer, routes) {\n            for (let i = routes.length - 1, proceed = true; i >= 0 && proceed; --i) {\n                let route = routes[i];\n                let handler = route.handler;\n                recognizer.add(routes, { as: handler });\n                proceed = route.path === '/' || route.path === '' || handler.slice(-6) === '.index';\n            }\n        });\n    }\n    hasRoute(route) {\n        return this.recognizer.hasRoute(route);\n    }\n    queryParamsTransition(changelist, wasTransitioning, oldState, newState) {\n        this.fireQueryParamDidChange(newState, changelist);\n        if (!wasTransitioning && this.activeTransition) {\n            // One of the routes in queryParamsDidChange\n            // caused a transition. Just return that transition.\n            return this.activeTransition;\n        }\n        else {\n            // Running queryParamsDidChange didn't change anything.\n            // Just update query params and be on our way.\n            // We have to return a noop transition that will\n            // perform a URL update at the end. This gives\n            // the user the ability to set the url update\n            // method (default is replaceState).\n            let newTransition = new Transition(this, undefined, undefined);\n            newTransition.queryParamsOnly = true;\n            oldState.queryParams = this.finalizeQueryParamChange(newState.routeInfos, newState.queryParams, newTransition);\n            newTransition[QUERY_PARAMS_SYMBOL] = newState.queryParams;\n            this.toReadOnlyInfos(newTransition, newState);\n            this.routeWillChange(newTransition);\n            newTransition.promise = newTransition.promise.then((result) => {\n                if (!newTransition.isAborted) {\n                    this._updateURL(newTransition, oldState);\n                    this.didTransition(this.currentRouteInfos);\n                    this.toInfos(newTransition, newState.routeInfos, true);\n                    this.routeDidChange(newTransition);\n                }\n                return result;\n            }, null, promiseLabel('Transition complete'));\n            return newTransition;\n        }\n    }\n    transitionByIntent(intent, isIntermediate) {\n        try {\n            return this.getTransitionByIntent(intent, isIntermediate);\n        }\n        catch (e) {\n            return new Transition(this, intent, undefined, e, undefined);\n        }\n    }\n    recognize(url) {\n        let intent = new URLTransitionIntent(this, url);\n        let newState = this.generateNewState(intent);\n        if (newState === null) {\n            return newState;\n        }\n        let readonlyInfos = toReadOnlyRouteInfo(newState.routeInfos, newState.queryParams);\n        return readonlyInfos[readonlyInfos.length - 1];\n    }\n    recognizeAndLoad(url) {\n        let intent = new URLTransitionIntent(this, url);\n        let newState = this.generateNewState(intent);\n        if (newState === null) {\n            return Promise.reject(`URL ${url} was not recognized`);\n        }\n        let newTransition = new Transition(this, intent, newState, undefined);\n        return newTransition.then(() => {\n            let routeInfosWithAttributes = toReadOnlyRouteInfo(newState.routeInfos, newTransition[QUERY_PARAMS_SYMBOL], true);\n            return routeInfosWithAttributes[routeInfosWithAttributes.length - 1];\n        });\n    }\n    generateNewState(intent) {\n        try {\n            return intent.applyToState(this.state, false);\n        }\n        catch (e) {\n            return null;\n        }\n    }\n    getTransitionByIntent(intent, isIntermediate) {\n        let wasTransitioning = !!this.activeTransition;\n        let oldState = wasTransitioning ? this.activeTransition[STATE_SYMBOL] : this.state;\n        let newTransition;\n        let newState = intent.applyToState(oldState, isIntermediate);\n        let queryParamChangelist = getChangelist(oldState.queryParams, newState.queryParams);\n        if (routeInfosEqual(newState.routeInfos, oldState.routeInfos)) {\n            // This is a no-op transition. See if query params changed.\n            if (queryParamChangelist) {\n                let newTransition = this.queryParamsTransition(queryParamChangelist, wasTransitioning, oldState, newState);\n                newTransition.queryParamsOnly = true;\n                // SAFETY: The returned OpaqueTransition should actually be this.\n                return newTransition;\n            }\n            // No-op. No need to create a new transition.\n            return this.activeTransition || new Transition(this, undefined, undefined);\n        }\n        if (isIntermediate) {\n            let transition = new Transition(this, undefined, newState);\n            transition.isIntermediate = true;\n            this.toReadOnlyInfos(transition, newState);\n            this.setupContexts(newState, transition);\n            this.routeWillChange(transition);\n            return this.activeTransition;\n        }\n        // Create a new transition to the destination route.\n        newTransition = new Transition(this, intent, newState, undefined, this.activeTransition);\n        // transition is to same route with same params, only query params differ.\n        // not caught above probably because refresh() has been used\n        if (routeInfosSameExceptQueryParams(newState.routeInfos, oldState.routeInfos)) {\n            newTransition.queryParamsOnly = true;\n        }\n        this.toReadOnlyInfos(newTransition, newState);\n        // Abort and usurp any previously active transition.\n        if (this.activeTransition) {\n            this.activeTransition.redirect(newTransition);\n        }\n        this.activeTransition = newTransition;\n        // Transition promises by default resolve with resolved state.\n        // For our purposes, swap out the promise to resolve\n        // after the transition has been finalized.\n        newTransition.promise = newTransition.promise.then((result) => {\n            return this.finalizeTransition(newTransition, result);\n        }, null, promiseLabel('Settle transition promise when transition is finalized'));\n        if (!wasTransitioning) {\n            this.notifyExistingHandlers(newState, newTransition);\n        }\n        this.fireQueryParamDidChange(newState, queryParamChangelist);\n        return newTransition;\n    }\n    /**\n    @private\n  \n    Begins and returns a Transition based on the provided\n    arguments. Accepts arguments in the form of both URL\n    transitions and named transitions.\n  \n    @param {Router} router\n    @param {Array[Object]} args arguments passed to transitionTo,\n      replaceWith, or handleURL\n  */\n    doTransition(name, modelsArray = [], isIntermediate = false) {\n        let lastArg = modelsArray[modelsArray.length - 1];\n        let queryParams = {};\n        if (lastArg && Object.prototype.hasOwnProperty.call(lastArg, 'queryParams')) {\n            // We just checked this.\n            // TODO: Use an assertion?\n            queryParams = modelsArray.pop().queryParams;\n        }\n        let intent;\n        if (name === undefined) {\n            log(this, 'Updating query params');\n            // A query param update is really just a transition\n            // into the route you're already on.\n            let { routeInfos } = this.state;\n            intent = new NamedTransitionIntent(this, routeInfos[routeInfos.length - 1].name, undefined, [], queryParams);\n        }\n        else if (name.charAt(0) === '/') {\n            log(this, 'Attempting URL transition to ' + name);\n            intent = new URLTransitionIntent(this, name);\n        }\n        else {\n            log(this, 'Attempting transition to ' + name);\n            intent = new NamedTransitionIntent(this, name, undefined, \n            // SAFETY: We know this to be the case since we removed the last item if it was QPs\n            modelsArray, queryParams);\n        }\n        return this.transitionByIntent(intent, isIntermediate);\n    }\n    /**\n    @private\n  \n    Updates the URL (if necessary) and calls `setupContexts`\n    to update the router's array of `currentRouteInfos`.\n   */\n    finalizeTransition(transition, newState) {\n        try {\n            log(transition.router, transition.sequence, 'Resolved all models on destination route; finalizing transition.');\n            let routeInfos = newState.routeInfos;\n            // Run all the necessary enter/setup/exit hooks\n            this.setupContexts(newState, transition);\n            // Check if a redirect occurred in enter/setup\n            if (transition.isAborted) {\n                // TODO: cleaner way? distinguish b/w targetRouteInfos?\n                this.state.routeInfos = this.currentRouteInfos;\n                return Promise.reject(logAbort(transition));\n            }\n            this._updateURL(transition, newState);\n            transition.isActive = false;\n            this.activeTransition = undefined;\n            this.triggerEvent(this.currentRouteInfos, true, 'didTransition', []);\n            this.didTransition(this.currentRouteInfos);\n            this.toInfos(transition, newState.routeInfos, true);\n            this.routeDidChange(transition);\n            log(this, transition.sequence, 'TRANSITION COMPLETE.');\n            // Resolve with the final route.\n            return routeInfos[routeInfos.length - 1].route;\n        }\n        catch (e) {\n            if (!isTransitionAborted(e)) {\n                let infos = transition[STATE_SYMBOL].routeInfos;\n                transition.trigger(true, 'error', e, transition, infos[infos.length - 1].route);\n                transition.abort();\n            }\n            throw e;\n        }\n    }\n    /**\n    @private\n  \n    Takes an Array of `RouteInfo`s, figures out which ones are\n    exiting, entering, or changing contexts, and calls the\n    proper route hooks.\n  \n    For example, consider the following tree of routes. Each route is\n    followed by the URL segment it handles.\n  \n    ```\n    |~index (\"/\")\n    | |~posts (\"/posts\")\n    | | |-showPost (\"/:id\")\n    | | |-newPost (\"/new\")\n    | | |-editPost (\"/edit\")\n    | |~about (\"/about/:id\")\n    ```\n  \n    Consider the following transitions:\n  \n    1. A URL transition to `/posts/1`.\n       1. Triggers the `*model` callbacks on the\n          `index`, `posts`, and `showPost` routes\n       2. Triggers the `enter` callback on the same\n       3. Triggers the `setup` callback on the same\n    2. A direct transition to `newPost`\n       1. Triggers the `exit` callback on `showPost`\n       2. Triggers the `enter` callback on `newPost`\n       3. Triggers the `setup` callback on `newPost`\n    3. A direct transition to `about` with a specified\n       context object\n       1. Triggers the `exit` callback on `newPost`\n          and `posts`\n       2. Triggers the `serialize` callback on `about`\n       3. Triggers the `enter` callback on `about`\n       4. Triggers the `setup` callback on `about`\n  \n    @param {Router} transition\n    @param {TransitionState} newState\n  */\n    setupContexts(newState, transition) {\n        let partition = this.partitionRoutes(this.state, newState);\n        let i, l, route;\n        for (i = 0, l = partition.exited.length; i < l; i++) {\n            route = partition.exited[i].route;\n            delete route.context;\n            if (route !== undefined) {\n                if (route._internalReset !== undefined) {\n                    route._internalReset(true, transition);\n                }\n                if (route.exit !== undefined) {\n                    route.exit(transition);\n                }\n            }\n        }\n        let oldState = (this.oldState = this.state);\n        this.state = newState;\n        let currentRouteInfos = (this.currentRouteInfos = partition.unchanged.slice());\n        try {\n            for (i = 0, l = partition.reset.length; i < l; i++) {\n                route = partition.reset[i].route;\n                if (route !== undefined) {\n                    if (route._internalReset !== undefined) {\n                        route._internalReset(false, transition);\n                    }\n                }\n            }\n            for (i = 0, l = partition.updatedContext.length; i < l; i++) {\n                this.routeEnteredOrUpdated(currentRouteInfos, partition.updatedContext[i], false, transition);\n            }\n            for (i = 0, l = partition.entered.length; i < l; i++) {\n                this.routeEnteredOrUpdated(currentRouteInfos, partition.entered[i], true, transition);\n            }\n        }\n        catch (e) {\n            this.state = oldState;\n            this.currentRouteInfos = oldState.routeInfos;\n            throw e;\n        }\n        this.state.queryParams = this.finalizeQueryParamChange(currentRouteInfos, newState.queryParams, transition);\n    }\n    /**\n    @private\n  \n    Fires queryParamsDidChange event\n  */\n    fireQueryParamDidChange(newState, queryParamChangelist) {\n        // If queryParams changed trigger event\n        if (queryParamChangelist) {\n            // This is a little hacky but we need some way of storing\n            // changed query params given that no activeTransition\n            // is guaranteed to have occurred.\n            this._changedQueryParams = queryParamChangelist.all;\n            this.triggerEvent(newState.routeInfos, true, 'queryParamsDidChange', [\n                queryParamChangelist.changed,\n                queryParamChangelist.all,\n                queryParamChangelist.removed,\n            ]);\n            this._changedQueryParams = undefined;\n        }\n    }\n    /**\n    @private\n  \n    Helper method used by setupContexts. Handles errors or redirects\n    that may happen in enter/setup.\n  */\n    routeEnteredOrUpdated(currentRouteInfos, routeInfo, enter, transition) {\n        let route = routeInfo.route, context = routeInfo.context;\n        function _routeEnteredOrUpdated(route) {\n            if (enter) {\n                if (route.enter !== undefined) {\n                    route.enter(transition);\n                }\n            }\n            throwIfAborted(transition);\n            route.context = context;\n            if (route.contextDidChange !== undefined) {\n                route.contextDidChange();\n            }\n            if (route.setup !== undefined) {\n                route.setup(context, transition);\n            }\n            throwIfAborted(transition);\n            currentRouteInfos.push(routeInfo);\n            return route;\n        }\n        // If the route doesn't exist, it means we haven't resolved the route promise yet\n        if (route === undefined) {\n            routeInfo.routePromise = routeInfo.routePromise.then(_routeEnteredOrUpdated);\n        }\n        else {\n            _routeEnteredOrUpdated(route);\n        }\n        return true;\n    }\n    /**\n    @private\n  \n    This function is called when transitioning from one URL to\n    another to determine which routes are no longer active,\n    which routes are newly active, and which routes remain\n    active but have their context changed.\n  \n    Take a list of old routes and new routes and partition\n    them into four buckets:\n  \n    * unchanged: the route was active in both the old and\n      new URL, and its context remains the same\n    * updated context: the route was active in both the\n      old and new URL, but its context changed. The route's\n      `setup` method, if any, will be called with the new\n      context.\n    * exited: the route was active in the old URL, but is\n      no longer active.\n    * entered: the route was not active in the old URL, but\n      is now active.\n  \n    The PartitionedRoutes structure has four fields:\n  \n    * `updatedContext`: a list of `RouteInfo` objects that\n      represent routes that remain active but have a changed\n      context\n    * `entered`: a list of `RouteInfo` objects that represent\n      routes that are newly active\n    * `exited`: a list of `RouteInfo` objects that are no\n      longer active.\n    * `unchanged`: a list of `RouteInfo` objects that remain active.\n  \n    @param {Array[InternalRouteInfo]} oldRoutes a list of the route\n      information for the previous URL (or `[]` if this is the\n      first handled transition)\n    @param {Array[InternalRouteInfo]} newRoutes a list of the route\n      information for the new URL\n  \n    @return {Partition}\n  */\n    partitionRoutes(oldState, newState) {\n        let oldRouteInfos = oldState.routeInfos;\n        let newRouteInfos = newState.routeInfos;\n        let routes = {\n            updatedContext: [],\n            exited: [],\n            entered: [],\n            unchanged: [],\n            reset: [],\n        };\n        let routeChanged, contextChanged = false, i, l;\n        for (i = 0, l = newRouteInfos.length; i < l; i++) {\n            let oldRouteInfo = oldRouteInfos[i], newRouteInfo = newRouteInfos[i];\n            if (!oldRouteInfo || oldRouteInfo.route !== newRouteInfo.route) {\n                routeChanged = true;\n            }\n            if (routeChanged) {\n                routes.entered.push(newRouteInfo);\n                if (oldRouteInfo) {\n                    routes.exited.unshift(oldRouteInfo);\n                }\n            }\n            else if (contextChanged || oldRouteInfo.context !== newRouteInfo.context) {\n                contextChanged = true;\n                routes.updatedContext.push(newRouteInfo);\n            }\n            else {\n                routes.unchanged.push(oldRouteInfo);\n            }\n        }\n        for (i = newRouteInfos.length, l = oldRouteInfos.length; i < l; i++) {\n            routes.exited.unshift(oldRouteInfos[i]);\n        }\n        routes.reset = routes.updatedContext.slice();\n        routes.reset.reverse();\n        return routes;\n    }\n    _updateURL(transition, state) {\n        let urlMethod = transition.urlMethod;\n        if (!urlMethod) {\n            return;\n        }\n        let { routeInfos } = state;\n        let { name: routeName } = routeInfos[routeInfos.length - 1];\n        let params = {};\n        for (let i = routeInfos.length - 1; i >= 0; --i) {\n            let routeInfo = routeInfos[i];\n            merge(params, routeInfo.params);\n            if (routeInfo.route.inaccessibleByURL) {\n                urlMethod = null;\n            }\n        }\n        if (urlMethod) {\n            params.queryParams = transition._visibleQueryParams || state.queryParams;\n            let url = this.recognizer.generate(routeName, params);\n            // transitions during the initial transition must always use replaceURL.\n            // When the app boots, you are at a url, e.g. /foo. If some route\n            // redirects to bar as part of the initial transition, you don't want to\n            // add a history entry for /foo. If you do, pressing back will immediately\n            // hit the redirect again and take you back to /bar, thus killing the back\n            // button\n            let initial = transition.isCausedByInitialTransition;\n            // say you are at / and you click a link to route /foo. In /foo's\n            // route, the transition is aborted using replaceWith('/bar').\n            // Because the current url is still /, the history entry for / is\n            // removed from the history. Clicking back will take you to the page\n            // you were on before /, which is often not even the app, thus killing\n            // the back button. That's why updateURL is always correct for an\n            // aborting transition that's not the initial transition\n            let replaceAndNotAborting = urlMethod === 'replace' && !transition.isCausedByAbortingTransition;\n            // because calling refresh causes an aborted transition, this needs to be\n            // special cased - if the initial transition is a replace transition, the\n            // urlMethod should be honored here.\n            let isQueryParamsRefreshTransition = transition.queryParamsOnly && urlMethod === 'replace';\n            // say you are at / and you a `replaceWith(/foo)` is called. Then, that\n            // transition is aborted with `replaceWith(/bar)`. At the end, we should\n            // end up with /bar replacing /. We are replacing the replace. We only\n            // will replace the initial route if all subsequent aborts are also\n            // replaces. However, there is some ambiguity around the correct behavior\n            // here.\n            let replacingReplace = urlMethod === 'replace' && transition.isCausedByAbortingReplaceTransition;\n            if (initial || replaceAndNotAborting || isQueryParamsRefreshTransition || replacingReplace) {\n                this.replaceURL(url);\n            }\n            else {\n                this.updateURL(url);\n            }\n        }\n    }\n    finalizeQueryParamChange(resolvedHandlers, newQueryParams, transition) {\n        // We fire a finalizeQueryParamChange event which\n        // gives the new route hierarchy a chance to tell\n        // us which query params it's consuming and what\n        // their final values are. If a query param is\n        // no longer consumed in the final route hierarchy,\n        // its serialized segment will be removed\n        // from the URL.\n        for (let k in newQueryParams) {\n            if (newQueryParams.hasOwnProperty(k) && newQueryParams[k] === null) {\n                delete newQueryParams[k];\n            }\n        }\n        let finalQueryParamsArray = [];\n        this.triggerEvent(resolvedHandlers, true, 'finalizeQueryParamChange', [\n            newQueryParams,\n            finalQueryParamsArray,\n            transition,\n        ]);\n        if (transition) {\n            transition._visibleQueryParams = {};\n        }\n        let finalQueryParams = {};\n        for (let i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n            let qp = finalQueryParamsArray[i];\n            finalQueryParams[qp.key] = qp.value;\n            if (transition && qp.visible !== false) {\n                transition._visibleQueryParams[qp.key] = qp.value;\n            }\n        }\n        return finalQueryParams;\n    }\n    toReadOnlyInfos(newTransition, newState) {\n        let oldRouteInfos = this.state.routeInfos;\n        this.fromInfos(newTransition, oldRouteInfos);\n        this.toInfos(newTransition, newState.routeInfos);\n        this._lastQueryParams = newState.queryParams;\n    }\n    fromInfos(newTransition, oldRouteInfos) {\n        if (newTransition !== undefined && oldRouteInfos.length > 0) {\n            let fromInfos = toReadOnlyRouteInfo(oldRouteInfos, Object.assign({}, this._lastQueryParams), true);\n            newTransition.from = fromInfos[fromInfos.length - 1] || null;\n        }\n    }\n    toInfos(newTransition, newRouteInfos, includeAttributes = false) {\n        if (newTransition !== undefined && newRouteInfos.length > 0) {\n            let toInfos = toReadOnlyRouteInfo(newRouteInfos, Object.assign({}, newTransition[QUERY_PARAMS_SYMBOL]), includeAttributes);\n            newTransition.to = toInfos[toInfos.length - 1] || null;\n        }\n    }\n    notifyExistingHandlers(newState, newTransition) {\n        let oldRouteInfos = this.state.routeInfos, i, oldRouteInfoLen, oldHandler, newRouteInfo;\n        oldRouteInfoLen = oldRouteInfos.length;\n        for (i = 0; i < oldRouteInfoLen; i++) {\n            oldHandler = oldRouteInfos[i];\n            newRouteInfo = newState.routeInfos[i];\n            if (!newRouteInfo || oldHandler.name !== newRouteInfo.name) {\n                break;\n            }\n            if (!newRouteInfo.isResolved) {\n            }\n        }\n        this.triggerEvent(oldRouteInfos, true, 'willTransition', [newTransition]);\n        this.routeWillChange(newTransition);\n        this.willTransition(oldRouteInfos, newState.routeInfos, newTransition);\n    }\n    /**\n      Clears the current and target route routes and triggers exit\n      on each of them starting at the leaf and traversing up through\n      its ancestors.\n    */\n    reset() {\n        if (this.state) {\n            forEach(this.state.routeInfos.slice().reverse(), function (routeInfo) {\n                let route = routeInfo.route;\n                if (route !== undefined) {\n                    if (route.exit !== undefined) {\n                        route.exit();\n                    }\n                }\n                return true;\n            });\n        }\n        this.oldState = undefined;\n        this.state = new TransitionState();\n        this.currentRouteInfos = undefined;\n    }\n    /**\n      let handler = routeInfo.handler;\n      The entry point for handling a change to the URL (usually\n      via the back and forward button).\n  \n      Returns an Array of handlers and the parameters associated\n      with those parameters.\n  \n      @param {String} url a URL to process\n  \n      @return {Array} an Array of `[handler, parameter]` tuples\n    */\n    handleURL(url) {\n        // Perform a URL-based transition, but don't change\n        // the URL afterward, since it already happened.\n        if (url.charAt(0) !== '/') {\n            url = '/' + url;\n        }\n        return this.doTransition(url).method(null);\n    }\n    /**\n      Transition into the specified named route.\n  \n      If necessary, trigger the exit callback on any routes\n      that are no longer represented by the target route.\n  \n      @param {String} name the name of the route\n    */\n    transitionTo(name, ...contexts) {\n        if (typeof name === 'object') {\n            contexts.push(name);\n            return this.doTransition(undefined, contexts, false);\n        }\n        return this.doTransition(name, contexts);\n    }\n    intermediateTransitionTo(name, ...args) {\n        return this.doTransition(name, args, true);\n    }\n    refresh(pivotRoute) {\n        let previousTransition = this.activeTransition;\n        let state = previousTransition ? previousTransition[STATE_SYMBOL] : this.state;\n        let routeInfos = state.routeInfos;\n        if (pivotRoute === undefined) {\n            pivotRoute = routeInfos[0].route;\n        }\n        log(this, 'Starting a refresh transition');\n        let name = routeInfos[routeInfos.length - 1].name;\n        let intent = new NamedTransitionIntent(this, name, pivotRoute, [], this._changedQueryParams || state.queryParams);\n        let newTransition = this.transitionByIntent(intent, false);\n        // if the previous transition is a replace transition, that needs to be preserved\n        if (previousTransition && previousTransition.urlMethod === 'replace') {\n            newTransition.method(previousTransition.urlMethod);\n        }\n        return newTransition;\n    }\n    /**\n      Identical to `transitionTo` except that the current URL will be replaced\n      if possible.\n  \n      This method is intended primarily for use with `replaceState`.\n  \n      @param {String} name the name of the route\n    */\n    replaceWith(name) {\n        return this.doTransition(name).method('replace');\n    }\n    /**\n      Take a named route and context objects and generate a\n      URL.\n  \n      @param {String} name the name of the route to generate\n        a URL for\n      @param {...Object} objects a list of objects to serialize\n  \n      @return {String} a URL\n    */\n    generate(routeName, ...args) {\n        let partitionedArgs = extractQueryParams(args), suppliedParams = partitionedArgs[0], queryParams = partitionedArgs[1];\n        // Construct a TransitionIntent with the provided params\n        // and apply it to the present state of the router.\n        let intent = new NamedTransitionIntent(this, routeName, undefined, suppliedParams);\n        let state = intent.applyToState(this.state, false);\n        let params = {};\n        for (let i = 0, len = state.routeInfos.length; i < len; ++i) {\n            let routeInfo = state.routeInfos[i];\n            let routeParams = routeInfo.serialize();\n            merge(params, routeParams);\n        }\n        params.queryParams = queryParams;\n        return this.recognizer.generate(routeName, params);\n    }\n    applyIntent(routeName, contexts) {\n        let intent = new NamedTransitionIntent(this, routeName, undefined, contexts);\n        let state = (this.activeTransition && this.activeTransition[STATE_SYMBOL]) || this.state;\n        return intent.applyToState(state, false);\n    }\n    isActiveIntent(routeName, contexts, queryParams, _state) {\n        let state = _state || this.state, targetRouteInfos = state.routeInfos, routeInfo, len;\n        if (!targetRouteInfos.length) {\n            return false;\n        }\n        let targetHandler = targetRouteInfos[targetRouteInfos.length - 1].name;\n        let recognizerHandlers = this.recognizer.handlersFor(targetHandler);\n        let index = 0;\n        for (len = recognizerHandlers.length; index < len; ++index) {\n            routeInfo = targetRouteInfos[index];\n            if (routeInfo.name === routeName) {\n                break;\n            }\n        }\n        if (index === recognizerHandlers.length) {\n            // The provided route name isn't even in the route hierarchy.\n            return false;\n        }\n        let testState = new TransitionState();\n        testState.routeInfos = targetRouteInfos.slice(0, index + 1);\n        recognizerHandlers = recognizerHandlers.slice(0, index + 1);\n        let intent = new NamedTransitionIntent(this, targetHandler, undefined, contexts);\n        let newState = intent.applyToHandlers(testState, recognizerHandlers, targetHandler, true, true);\n        let routesEqual = routeInfosEqual(newState.routeInfos, testState.routeInfos);\n        if (!queryParams || !routesEqual) {\n            return routesEqual;\n        }\n        // Get a hash of QPs that will still be active on new route\n        let activeQPsOnNewHandler = {};\n        merge(activeQPsOnNewHandler, queryParams);\n        let activeQueryParams = state.queryParams;\n        for (let key in activeQueryParams) {\n            if (activeQueryParams.hasOwnProperty(key) && activeQPsOnNewHandler.hasOwnProperty(key)) {\n                activeQPsOnNewHandler[key] = activeQueryParams[key];\n            }\n        }\n        return routesEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n    }\n    isActive(routeName, ...args) {\n        let [contexts, queryParams] = extractQueryParams(args);\n        return this.isActiveIntent(routeName, contexts, queryParams);\n    }\n    trigger(name, ...args) {\n        this.triggerEvent(this.currentRouteInfos, false, name, args);\n    }\n}\nfunction routeInfosEqual(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n        return false;\n    }\n    for (let i = 0, len = routeInfos.length; i < len; ++i) {\n        // SAFETY: Just casting for comparison\n        if (routeInfos[i] !== otherRouteInfos[i]) {\n            return false;\n        }\n    }\n    return true;\n}\nfunction routeInfosSameExceptQueryParams(routeInfos, otherRouteInfos) {\n    if (routeInfos.length !== otherRouteInfos.length) {\n        return false;\n    }\n    for (let i = 0, len = routeInfos.length; i < len; ++i) {\n        if (routeInfos[i].name !== otherRouteInfos[i].name) {\n            return false;\n        }\n        if (!paramsEqual(routeInfos[i].params, otherRouteInfos[i].params)) {\n            return false;\n        }\n    }\n    return true;\n}\nfunction paramsEqual(params, otherParams) {\n    if (params === otherParams) {\n        // Both identical or both undefined\n        return true;\n    }\n    if (!params || !otherParams) {\n        // One is falsy but other is not\n        return false;\n    }\n    let keys = Object.keys(params);\n    let otherKeys = Object.keys(otherParams);\n    if (keys.length !== otherKeys.length) {\n        return false;\n    }\n    for (let i = 0, len = keys.length; i < len; ++i) {\n        let key = keys[i];\n        if (params[key] !== otherParams[key]) {\n            return false;\n        }\n    }\n    return true;\n}\n\nexport default Router;\nexport { Transition as InternalTransition, logAbort, STATE_SYMBOL, PARAMS_SYMBOL, QUERY_PARAMS_SYMBOL, TransitionState, TransitionError, InternalRouteInfo };\n","function callbacksFor(object) {\n  let callbacks = object._promiseCallbacks;\n\n  if (!callbacks) {\n    callbacks = object._promiseCallbacks = {};\n  }\n\n  return callbacks;\n}\n\n/**\n  @class EventTarget\n  @for rsvp\n  @public\n*/\nvar EventTarget = {\n\n  /**\n    `EventTarget.mixin` extends an object with EventTarget methods. For\n    Example:\n\n    ```javascript\n    import EventTarget from 'rsvp';\n\n    let object = {};\n\n    EventTarget.mixin(object);\n\n    object.on('finished', function(event) {\n      // handle event\n    });\n\n    object.trigger('finished', { detail: value });\n    ```\n\n    `EventTarget.mixin` also works with prototypes:\n\n    ```javascript\n    import EventTarget from 'rsvp';\n\n    let Person = function() {};\n    EventTarget.mixin(Person.prototype);\n\n    let yehuda = new Person();\n    let tom = new Person();\n\n    yehuda.on('poke', function(event) {\n      console.log('Yehuda says OW');\n    });\n\n    tom.on('poke', function(event) {\n      console.log('Tom says OW');\n    });\n\n    yehuda.trigger('poke');\n    tom.trigger('poke');\n    ```\n\n    @method mixin\n    @for rsvp\n    @private\n    @param {Object} object object to extend with EventTarget methods\n  */\n  mixin(object) {\n    object.on      = this.on;\n    object.off     = this.off;\n    object.trigger = this.trigger;\n    object._promiseCallbacks = undefined;\n    return object;\n  },\n\n  /**\n    Registers a callback to be executed when `eventName` is triggered\n\n    ```javascript\n    object.on('event', function(eventInfo){\n      // handle the event\n    });\n\n    object.trigger('event');\n    ```\n\n    @method on\n    @for EventTarget\n    @private\n    @param {String} eventName name of the event to listen for\n    @param {Function} callback function to be called when the event is triggered.\n  */\n  on(eventName, callback) {\n    if (typeof callback !== 'function') {\n      throw new TypeError('Callback must be a function');\n    }\n\n    let allCallbacks = callbacksFor(this);\n    let callbacks = allCallbacks[eventName];\n\n    if (!callbacks) {\n      callbacks = allCallbacks[eventName] = [];\n    }\n\n    if (callbacks.indexOf(callback) === -1) {\n      callbacks.push(callback);\n    }\n  },\n\n  /**\n    You can use `off` to stop firing a particular callback for an event:\n\n    ```javascript\n    function doStuff() { // do stuff! }\n    object.on('stuff', doStuff);\n\n    object.trigger('stuff'); // doStuff will be called\n\n    // Unregister ONLY the doStuff callback\n    object.off('stuff', doStuff);\n    object.trigger('stuff'); // doStuff will NOT be called\n    ```\n\n    If you don't pass a `callback` argument to `off`, ALL callbacks for the\n    event will not be executed when the event fires. For example:\n\n    ```javascript\n    let callback1 = function(){};\n    let callback2 = function(){};\n\n    object.on('stuff', callback1);\n    object.on('stuff', callback2);\n\n    object.trigger('stuff'); // callback1 and callback2 will be executed.\n\n    object.off('stuff');\n    object.trigger('stuff'); // callback1 and callback2 will not be executed!\n    ```\n\n    @method off\n    @for rsvp\n    @private\n    @param {String} eventName event to stop listening to\n    @param {Function} [callback] optional argument. If given, only the function\n    given will be removed from the event's callback queue. If no `callback`\n    argument is given, all callbacks will be removed from the event's callback\n    queue.\n  */\n  off(eventName, callback) {\n    let allCallbacks = callbacksFor(this);\n\n    if (!callback) {\n      allCallbacks[eventName] = [];\n      return;\n    }\n\n    let callbacks = allCallbacks[eventName];\n    let index = callbacks.indexOf(callback);\n\n    if (index !== -1) {\n      callbacks.splice(index, 1);\n    }\n  },\n\n  /**\n    Use `trigger` to fire custom events. For example:\n\n    ```javascript\n    object.on('foo', function(){\n      console.log('foo event happened!');\n    });\n    object.trigger('foo');\n    // 'foo event happened!' logged to the console\n    ```\n\n    You can also pass a value as a second argument to `trigger` that will be\n    passed as an argument to all event listeners for the event:\n\n    ```javascript\n    object.on('foo', function(value){\n      console.log(value.name);\n    });\n\n    object.trigger('foo', { name: 'bar' });\n    // 'bar' logged to the console\n    ```\n\n    @method trigger\n    @for rsvp\n    @private\n    @param {String} eventName name of the event to be triggered\n    @param {*} [options] optional value to be passed to any event handlers for\n    the given `eventName`\n  */\n  trigger(eventName, options, label) {\n    let allCallbacks = callbacksFor(this);\n\n    let callbacks = allCallbacks[eventName];\n    if (callbacks) {\n      // Don't cache the callbacks.length since it may grow\n      let callback;\n      for (let i = 0; i < callbacks.length; i++) {\n        callback = callbacks[i];\n        callback(options, label);\n      }\n    }\n  }\n};\n\nconst config = {\n  instrument: false\n};\n\nEventTarget['mixin'](config);\n\nfunction configure(name, value) {\n  if (arguments.length === 2) {\n    config[name] = value;\n  } else {\n    return config[name];\n  }\n}\n\nconst queue = [];\n\nfunction scheduleFlush() {\n  setTimeout(() => {\n    for (let i = 0; i < queue.length; i++) {\n      let entry = queue[i];\n\n      let payload = entry.payload;\n\n      payload.guid = payload.key + payload.id;\n      payload.childGuid = payload.key + payload.childId;\n      if (payload.error) {\n        payload.stack = payload.error.stack;\n      }\n\n      config['trigger'](entry.name, entry.payload);\n    }\n    queue.length = 0;\n  }, 50);\n}\n\nfunction instrument(eventName, promise, child) {\n  if (1 === queue.push({\n    name: eventName,\n    payload: {\n      key: promise._guidKey,\n      id:  promise._id,\n      eventName: eventName,\n      detail: promise._result,\n      childId: child && child._id,\n      label: promise._label,\n      timeStamp: Date.now(),\n      error: config[\"instrument-with-stack\"] ? new Error(promise._label) : null\n    }})) {\n      scheduleFlush();\n    }\n  }\n\n/**\n  `Promise.resolve` returns a promise that will become resolved with the\n  passed `value`. It is shorthand for the following:\n\n  ```javascript\n  import Promise from 'rsvp';\n\n  let promise = new Promise(function(resolve, reject){\n    resolve(1);\n  });\n\n  promise.then(function(value){\n    // value === 1\n  });\n  ```\n\n  Instead of writing the above, your code now simply becomes the following:\n\n  ```javascript\n  import Promise from 'rsvp';\n\n  let promise = RSVP.Promise.resolve(1);\n\n  promise.then(function(value){\n    // value === 1\n  });\n  ```\n\n  @method resolve\n  @for Promise\n  @static\n  @param {*} object value that the returned promise will be resolved with\n  @param {String} [label] optional string for identifying the returned promise.\n  Useful for tooling.\n  @return {Promise} a promise that will become fulfilled with the given\n  `value`\n*/\nfunction resolve$$1(object, label) {\n  /*jshint validthis:true */\n  let Constructor = this;\n\n  if (object && typeof object === 'object' && object.constructor === Constructor) {\n    return object;\n  }\n\n  let promise = new Constructor(noop, label);\n  resolve$1(promise, object);\n  return promise;\n}\n\nfunction withOwnPromise() {\n  return new TypeError('A promises callback cannot return that same promise.');\n}\n\nfunction objectOrFunction(x) {\n  let type = typeof x;\n  return x !== null && (type === 'object' || type === 'function');\n}\n\nfunction noop() {}\n\nconst PENDING   = void 0;\nconst FULFILLED = 1;\nconst REJECTED  = 2;\n\nfunction tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {\n  try {\n    then$$1.call(value, fulfillmentHandler, rejectionHandler);\n  } catch(e) {\n    return e;\n  }\n}\nfunction handleForeignThenable(promise, thenable, then$$1) {\n  config.async(promise => {\n    let sealed = false;\n    let error = tryThen(then$$1,\n      thenable,\n      value => {\n        if (sealed) { return; }\n        sealed = true;\n        if (thenable === value) {\n          fulfill(promise, value);\n        } else {\n          resolve$1(promise, value);\n        }\n      },\n      reason => {\n        if (sealed) { return; }\n        sealed = true;\n\n        reject(promise, reason);\n      },\n      'Settle: ' + (promise._label || ' unknown promise')\n    );\n    if (!sealed && error) {\n      sealed = true;\n      reject(promise, error);\n    }\n  }, promise);\n}\n\nfunction handleOwnThenable(promise, thenable) {\n  if (thenable._state === FULFILLED) {\n    fulfill(promise, thenable._result);\n  } else if (thenable._state === REJECTED) {\n    thenable._onError = null;\n    reject(promise, thenable._result);\n  } else {\n    subscribe(thenable, undefined, value => {\n      if (thenable === value) {\n        fulfill(promise, value);\n      } else {\n        resolve$1(promise, value);\n      }\n    }, reason => reject(promise, reason));\n  }\n}\n\nfunction handleMaybeThenable(promise, maybeThenable, then$$1) {\n  let isOwnThenable =\n    maybeThenable.constructor === promise.constructor &&\n    then$$1 === then &&\n    promise.constructor.resolve === resolve$$1;\n\n  if (isOwnThenable) {\n    handleOwnThenable(promise, maybeThenable);\n  } else if (typeof then$$1 === 'function') {\n    handleForeignThenable(promise, maybeThenable, then$$1);\n  } else {\n    fulfill(promise, maybeThenable);\n  }\n}\n\nfunction resolve$1(promise, value) {\n  if (promise === value) {\n    fulfill(promise, value);\n  } else if (objectOrFunction(value)) {\n    let then$$1;\n    try {\n      then$$1 = value.then;\n    } catch (error) {\n      reject(promise, error);\n      return;\n    }\n    handleMaybeThenable(promise, value, then$$1);\n  } else {\n    fulfill(promise, value);\n  }\n}\n\nfunction publishRejection(promise) {\n  if (promise._onError) {\n    promise._onError(promise._result);\n  }\n\n  publish(promise);\n}\n\nfunction fulfill(promise, value) {\n  if (promise._state !== PENDING) { return; }\n\n  promise._result = value;\n  promise._state = FULFILLED;\n\n  if (promise._subscribers.length === 0) {\n    if (config.instrument) {\n      instrument('fulfilled', promise);\n    }\n  } else {\n    config.async(publish, promise);\n  }\n}\n\nfunction reject(promise, reason) {\n  if (promise._state !== PENDING) { return; }\n  promise._state = REJECTED;\n  promise._result = reason;\n  config.async(publishRejection, promise);\n}\n\nfunction subscribe(parent, child, onFulfillment, onRejection) {\n  let subscribers = parent._subscribers;\n  let length = subscribers.length;\n\n  parent._onError = null;\n\n  subscribers[length] = child;\n  subscribers[length + FULFILLED] = onFulfillment;\n  subscribers[length + REJECTED]  = onRejection;\n\n  if (length === 0 && parent._state) {\n    config.async(publish, parent);\n  }\n}\n\nfunction publish(promise) {\n  let subscribers = promise._subscribers;\n  let settled = promise._state;\n\n  if (config.instrument) {\n    instrument(settled === FULFILLED ? 'fulfilled' : 'rejected', promise);\n  }\n\n  if (subscribers.length === 0) { return; }\n\n  let child, callback, result = promise._result;\n\n  for (let i = 0; i < subscribers.length; i += 3) {\n    child = subscribers[i];\n    callback = subscribers[i + settled];\n\n    if (child) {\n      invokeCallback(settled, child, callback, result);\n    } else {\n      callback(result);\n    }\n  }\n\n  promise._subscribers.length = 0;\n}\n\nfunction invokeCallback(state, promise, callback, result) {\n  let hasCallback = typeof callback === 'function';\n  let value, succeeded = true, error;\n\n  if (hasCallback) {\n    try {\n      value = callback(result);\n    } catch (e) {\n      succeeded = false;\n      error = e;\n    }\n  } else {\n    value = result;\n  }\n\n  if (promise._state !== PENDING) {\n    // noop\n  } else if (value === promise) {\n    reject(promise, withOwnPromise());\n  } else if (succeeded === false) {\n    reject(promise, error);\n  } else if (hasCallback) {\n    resolve$1(promise, value);\n  } else if (state === FULFILLED) {\n    fulfill(promise, value);\n  } else if (state === REJECTED) {\n    reject(promise, value);\n  }\n}\n\nfunction initializePromise(promise, resolver) {\n  let resolved = false;\n  try {\n    resolver(value => {\n      if (resolved) { return; }\n      resolved = true;\n      resolve$1(promise, value);\n    }, reason => {\n      if (resolved) { return; }\n      resolved = true;\n      reject(promise, reason);\n    });\n  } catch(e) {\n    reject(promise, e);\n  }\n}\n\nfunction then(onFulfillment, onRejection, label) {\n  let parent = this;\n  let state = parent._state;\n\n  if (state === FULFILLED && !onFulfillment || state === REJECTED && !onRejection) {\n    config.instrument && instrument('chained', parent, parent);\n    return parent;\n  }\n\n  parent._onError = null;\n\n  let child = new parent.constructor(noop, label);\n  let result = parent._result;\n\n  config.instrument && instrument('chained', parent, child);\n\n  if (state === PENDING) {\n    subscribe(parent, child, onFulfillment, onRejection);\n  } else {\n    let callback = state === FULFILLED ? onFulfillment : onRejection;\n    config.async(() => invokeCallback(state, child, callback, result));\n  }\n\n  return child;\n}\n\nclass Enumerator {\n  constructor(Constructor, input, abortOnReject, label) {\n    this._instanceConstructor = Constructor;\n    this.promise = new Constructor(noop, label);\n    this._abortOnReject = abortOnReject;\n    this._isUsingOwnPromise = Constructor === Promise;\n    this._isUsingOwnResolve = Constructor.resolve === resolve$$1;\n\n    this._init(...arguments);\n  }\n\n  _init(Constructor, input) {\n    let len = input.length || 0;\n    this.length     = len;\n    this._remaining = len;\n    this._result = new Array(len);\n\n    this._enumerate(input);\n  }\n\n  _enumerate(input) {\n    let length  = this.length;\n    let promise = this.promise;\n\n    for (let i = 0; promise._state === PENDING && i < length; i++) {\n      this._eachEntry(input[i], i, true);\n    }\n    this._checkFullfillment();\n  }\n\n  _checkFullfillment() {\n    if (this._remaining === 0) {\n      let result = this._result;\n      fulfill(this.promise, result);\n      this._result = null;\n    }\n  }\n\n  _settleMaybeThenable(entry, i, firstPass) {\n    let c = this._instanceConstructor;\n\n    if (this._isUsingOwnResolve) {\n      let then$$1, error, succeeded = true;\n      try {\n        then$$1 = entry.then;\n      } catch (e) {\n        succeeded = false;\n        error = e;\n      }\n\n      if (then$$1 === then && entry._state !== PENDING) {\n        entry._onError = null;\n        this._settledAt(entry._state, i, entry._result, firstPass);\n      } else if (typeof then$$1 !== 'function') {\n        this._settledAt(FULFILLED, i, entry, firstPass);\n      } else if (this._isUsingOwnPromise) {\n        let promise = new c(noop);\n        if (succeeded === false) {\n          reject(promise, error);\n        } else {\n          handleMaybeThenable(promise, entry, then$$1);\n          this._willSettleAt(promise, i, firstPass);\n        }\n      } else {\n        this._willSettleAt(new c(resolve => resolve(entry)), i, firstPass);\n      }\n    } else {\n      this._willSettleAt(c.resolve(entry), i, firstPass);\n    }\n  }\n\n  _eachEntry(entry, i, firstPass) {\n    if (entry !== null && typeof entry === 'object') {\n      this._settleMaybeThenable(entry, i, firstPass);\n    } else {\n      this._setResultAt(FULFILLED, i, entry, firstPass);\n    }\n  }\n\n  _settledAt(state, i, value, firstPass) {\n    let promise = this.promise;\n\n    if (promise._state === PENDING) {\n      if (this._abortOnReject && state === REJECTED) {\n        reject(promise, value);\n      } else {\n        this._setResultAt(state, i, value, firstPass);\n        this._checkFullfillment();\n      }\n    }\n  }\n\n  _setResultAt(state, i, value, firstPass) {\n    this._remaining--;\n    this._result[i] = value;\n  }\n\n  _willSettleAt(promise, i, firstPass) {\n    subscribe(\n      promise, undefined,\n      value  => this._settledAt(FULFILLED, i, value, firstPass),\n      reason => this._settledAt(REJECTED,  i, reason, firstPass)\n    );\n  }\n}\n\nfunction setSettledResult(state, i, value) {\n  this._remaining--;\n  if (state === FULFILLED) {\n    this._result[i] = {\n      state: 'fulfilled',\n      value: value\n    };\n  } else {\n     this._result[i] = {\n      state: 'rejected',\n      reason: value\n    };\n  }\n}\n\n/**\n  `Promise.all` accepts an array of promises, and returns a new promise which\n  is fulfilled with an array of fulfillment values for the passed promises, or\n  rejected with the reason of the first passed promise to be rejected. It casts all\n  elements of the passed iterable to promises as it runs this algorithm.\n\n  Example:\n\n  ```javascript\n  import Promise, { resolve } from 'rsvp';\n\n  let promise1 = resolve(1);\n  let promise2 = resolve(2);\n  let promise3 = resolve(3);\n  let promises = [ promise1, promise2, promise3 ];\n\n  Promise.all(promises).then(function(array){\n    // The array here would be [ 1, 2, 3 ];\n  });\n  ```\n\n  If any of the `promises` given to `RSVP.all` are rejected, the first promise\n  that is rejected will be given as an argument to the returned promises's\n  rejection handler. For example:\n\n  Example:\n\n  ```javascript\n  import Promise, { resolve, reject } from 'rsvp';\n\n  let promise1 = resolve(1);\n  let promise2 = reject(new Error(\"2\"));\n  let promise3 = reject(new Error(\"3\"));\n  let promises = [ promise1, promise2, promise3 ];\n\n  Promise.all(promises).then(function(array){\n    // Code here never runs because there are rejected promises!\n  }, function(error) {\n    // error.message === \"2\"\n  });\n  ```\n\n  @method all\n  @for Promise\n  @param {Array} entries array of promises\n  @param {String} [label] optional string for labeling the promise.\n  Useful for tooling.\n  @return {Promise} promise that is fulfilled when all `promises` have been\n  fulfilled, or rejected if any of them become rejected.\n  @static\n*/\nfunction all(entries, label) {\n  if (!Array.isArray(entries)) {\n    return this.reject(new TypeError(\"Promise.all must be called with an array\"), label);\n  }\n  return new Enumerator(this, entries, true /* abort on reject */, label).promise;\n}\n\n/**\n  `Promise.race` returns a new promise which is settled in the same way as the\n  first passed promise to settle.\n\n  Example:\n\n  ```javascript\n  import Promise from 'rsvp';\n\n  let promise1 = new Promise(function(resolve, reject){\n    setTimeout(function(){\n      resolve('promise 1');\n    }, 200);\n  });\n\n  let promise2 = new Promise(function(resolve, reject){\n    setTimeout(function(){\n      resolve('promise 2');\n    }, 100);\n  });\n\n  Promise.race([promise1, promise2]).then(function(result){\n    // result === 'promise 2' because it was resolved before promise1\n    // was resolved.\n  });\n  ```\n\n  `Promise.race` is deterministic in that only the state of the first\n  settled promise matters. For example, even if other promises given to the\n  `promises` array argument are resolved, but the first settled promise has\n  become rejected before the other promises became fulfilled, the returned\n  promise will become rejected:\n\n  ```javascript\n  import Promise from 'rsvp';\n\n  let promise1 = new Promise(function(resolve, reject){\n    setTimeout(function(){\n      resolve('promise 1');\n    }, 200);\n  });\n\n  let promise2 = new Promise(function(resolve, reject){\n    setTimeout(function(){\n      reject(new Error('promise 2'));\n    }, 100);\n  });\n\n  Promise.race([promise1, promise2]).then(function(result){\n    // Code here never runs\n  }, function(reason){\n    // reason.message === 'promise 2' because promise 2 became rejected before\n    // promise 1 became fulfilled\n  });\n  ```\n\n  An example real-world use case is implementing timeouts:\n\n  ```javascript\n  import Promise from 'rsvp';\n\n  Promise.race([ajax('foo.json'), timeout(5000)])\n  ```\n\n  @method race\n  @for Promise\n  @static\n  @param {Array} entries array of promises to observe\n  @param {String} [label] optional string for describing the promise returned.\n  Useful for tooling.\n  @return {Promise} a promise which settles in the same way as the first passed\n  promise to settle.\n*/\nfunction race(entries, label) {\n  /*jshint validthis:true */\n  let Constructor = this;\n\n  let promise = new Constructor(noop, label);\n\n  if (!Array.isArray(entries)) {\n    reject(promise, new TypeError('Promise.race must be called with an array'));\n    return promise;\n  }\n\n  for (let i = 0; promise._state === PENDING && i < entries.length; i++) {\n    subscribe(\n      Constructor.resolve(entries[i]), undefined,\n      value  => resolve$1(promise, value),\n      reason => reject(promise, reason)\n    );\n  }\n\n  return promise;\n}\n\n/**\n  `Promise.reject` returns a promise rejected with the passed `reason`.\n  It is shorthand for the following:\n\n  ```javascript\n  import Promise from 'rsvp';\n\n  let promise = new Promise(function(resolve, reject){\n    reject(new Error('WHOOPS'));\n  });\n\n  promise.then(function(value){\n    // Code here doesn't run because the promise is rejected!\n  }, function(reason){\n    // reason.message === 'WHOOPS'\n  });\n  ```\n\n  Instead of writing the above, your code now simply becomes the following:\n\n  ```javascript\n  import Promise from 'rsvp';\n\n  let promise = Promise.reject(new Error('WHOOPS'));\n\n  promise.then(function(value){\n    // Code here doesn't run because the promise is rejected!\n  }, function(reason){\n    // reason.message === 'WHOOPS'\n  });\n  ```\n\n  @method reject\n  @for Promise\n  @static\n  @param {*} reason value that the returned promise will be rejected with.\n  @param {String} [label] optional string for identifying the returned promise.\n  Useful for tooling.\n  @return {Promise} a promise rejected with the given `reason`.\n*/\nfunction reject$1(reason, label) {\n  /*jshint validthis:true */\n  let Constructor = this;\n  let promise = new Constructor(noop, label);\n  reject(promise, reason);\n  return promise;\n}\n\nconst guidKey = 'rsvp_' + Date.now() + '-';\nlet counter = 0;\n\nfunction needsResolver() {\n  throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n}\n\nfunction needsNew() {\n  throw new TypeError(\"Failed to construct 'Promise': Please use the 'new' operator, this object constructor cannot be called as a function.\");\n}\n\n/**\n  Promise objects represent the eventual result of an asynchronous operation. The\n  primary way of interacting with a promise is through its `then` method, which\n  registers callbacks to receive either a promise’s eventual value or the reason\n  why the promise cannot be fulfilled.\n\n  Terminology\n  -----------\n\n  - `promise` is an object or function with a `then` method whose behavior conforms to this specification.\n  - `thenable` is an object or function that defines a `then` method.\n  - `value` is any legal JavaScript value (including undefined, a thenable, or a promise).\n  - `exception` is a value that is thrown using the throw statement.\n  - `reason` is a value that indicates why a promise was rejected.\n  - `settled` the final resting state of a promise, fulfilled or rejected.\n\n  A promise can be in one of three states: pending, fulfilled, or rejected.\n\n  Promises that are fulfilled have a fulfillment value and are in the fulfilled\n  state.  Promises that are rejected have a rejection reason and are in the\n  rejected state.  A fulfillment value is never a thenable.\n\n  Promises can also be said to *resolve* a value.  If this value is also a\n  promise, then the original promise's settled state will match the value's\n  settled state.  So a promise that *resolves* a promise that rejects will\n  itself reject, and a promise that *resolves* a promise that fulfills will\n  itself fulfill.\n\n\n  Basic Usage:\n  ------------\n\n  ```js\n  let promise = new Promise(function(resolve, reject) {\n    // on success\n    resolve(value);\n\n    // on failure\n    reject(reason);\n  });\n\n  promise.then(function(value) {\n    // on fulfillment\n  }, function(reason) {\n    // on rejection\n  });\n  ```\n\n  Advanced Usage:\n  ---------------\n\n  Promises shine when abstracting away asynchronous interactions such as\n  `XMLHttpRequest`s.\n\n  ```js\n  function getJSON(url) {\n    return new Promise(function(resolve, reject){\n      let xhr = new XMLHttpRequest();\n\n      xhr.open('GET', url);\n      xhr.onreadystatechange = handler;\n      xhr.responseType = 'json';\n      xhr.setRequestHeader('Accept', 'application/json');\n      xhr.send();\n\n      function handler() {\n        if (this.readyState === this.DONE) {\n          if (this.status === 200) {\n            resolve(this.response);\n          } else {\n            reject(new Error('getJSON: `' + url + '` failed with status: [' + this.status + ']'));\n          }\n        }\n      };\n    });\n  }\n\n  getJSON('/posts.json').then(function(json) {\n    // on fulfillment\n  }, function(reason) {\n    // on rejection\n  });\n  ```\n\n  Unlike callbacks, promises are great composable primitives.\n\n  ```js\n  Promise.all([\n    getJSON('/posts'),\n    getJSON('/comments')\n  ]).then(function(values){\n    values[0] // => postsJSON\n    values[1] // => commentsJSON\n\n    return values;\n  });\n  ```\n\n  @class Promise\n  @public\n  @param {function} resolver\n  @param {String} [label] optional string for labeling the promise.\n  Useful for tooling.\n  @constructor\n*/\nclass Promise {\n  constructor(resolver, label) {\n    this._id = counter++;\n    this._label = label;\n    this._state = undefined;\n    this._result = undefined;\n    this._subscribers = [];\n\n    config.instrument && instrument('created', this);\n\n    if (noop !== resolver) {\n      typeof resolver !== 'function' && needsResolver();\n      this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n    }\n  }\n\n  _onError(reason) {\n    config.after(() => {\n      if (this._onError) {\n        config.trigger('error', reason, this._label);\n      }\n    });\n  }\n\n/**\n  `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n  as the catch block of a try/catch statement.\n\n  ```js\n  function findAuthor(){\n    throw new Error('couldn\\'t find that author');\n  }\n\n  // synchronous\n  try {\n    findAuthor();\n  } catch(reason) {\n    // something went wrong\n  }\n\n  // async with promises\n  findAuthor().catch(function(reason){\n    // something went wrong\n  });\n  ```\n\n  @method catch\n  @param {Function} onRejection\n  @param {String} [label] optional string for labeling the promise.\n  Useful for tooling.\n  @return {Promise}\n*/\n  catch(onRejection, label) {\n    return this.then(undefined, onRejection, label);\n  }\n\n/**\n  `finally` will be invoked regardless of the promise's fate just as native\n  try/catch/finally behaves\n\n  Synchronous example:\n\n  ```js\n  findAuthor() {\n    if (Math.random() > 0.5) {\n      throw new Error();\n    }\n    return new Author();\n  }\n\n  try {\n    return findAuthor(); // succeed or fail\n  } catch(error) {\n    return findOtherAuthor();\n  } finally {\n    // always runs\n    // doesn't affect the return value\n  }\n  ```\n\n  Asynchronous example:\n\n  ```js\n  findAuthor().catch(function(reason){\n    return findOtherAuthor();\n  }).finally(function(){\n    // author was either found, or not\n  });\n  ```\n\n  @method finally\n  @param {Function} callback\n  @param {String} [label] optional string for labeling the promise.\n  Useful for tooling.\n  @return {Promise}\n*/\n  finally(callback, label) {\n    let promise = this;\n    let constructor = promise.constructor;\n\n    if (typeof callback === 'function') {\n      return promise.then(value => constructor.resolve(callback()).then(() => value),\n                         reason => constructor.resolve(callback()).then(() => { throw reason; }));\n    }\n\n    return promise.then(callback, callback);\n  }\n}\n\nPromise.cast = resolve$$1; // deprecated\nPromise.all = all;\nPromise.race = race;\nPromise.resolve = resolve$$1;\nPromise.reject = reject$1;\n\nPromise.prototype._guidKey = guidKey;\n\n/**\n  The primary way of interacting with a promise is through its `then` method,\n  which registers callbacks to receive either a promise's eventual value or the\n  reason why the promise cannot be fulfilled.\n\n  ```js\n  findUser().then(function(user){\n    // user is available\n  }, function(reason){\n    // user is unavailable, and you are given the reason why\n  });\n  ```\n\n  Chaining\n  --------\n\n  The return value of `then` is itself a promise.  This second, 'downstream'\n  promise is resolved with the return value of the first promise's fulfillment\n  or rejection handler, or rejected if the handler throws an exception.\n\n  ```js\n  findUser().then(function (user) {\n    return user.name;\n  }, function (reason) {\n    return 'default name';\n  }).then(function (userName) {\n    // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n    // will be `'default name'`\n  });\n\n  findUser().then(function (user) {\n    throw new Error('Found user, but still unhappy');\n  }, function (reason) {\n    throw new Error('`findUser` rejected and we\\'re unhappy');\n  }).then(function (value) {\n    // never reached\n  }, function (reason) {\n    // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n    // If `findUser` rejected, `reason` will be '`findUser` rejected and we\\'re unhappy'.\n  });\n  ```\n  If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n\n  ```js\n  findUser().then(function (user) {\n    throw new PedagogicalException('Upstream error');\n  }).then(function (value) {\n    // never reached\n  }).then(function (value) {\n    // never reached\n  }, function (reason) {\n    // The `PedgagocialException` is propagated all the way down to here\n  });\n  ```\n\n  Assimilation\n  ------------\n\n  Sometimes the value you want to propagate to a downstream promise can only be\n  retrieved asynchronously. This can be achieved by returning a promise in the\n  fulfillment or rejection handler. The downstream promise will then be pending\n  until the returned promise is settled. This is called *assimilation*.\n\n  ```js\n  findUser().then(function (user) {\n    return findCommentsByAuthor(user);\n  }).then(function (comments) {\n    // The user's comments are now available\n  });\n  ```\n\n  If the assimliated promise rejects, then the downstream promise will also reject.\n\n  ```js\n  findUser().then(function (user) {\n    return findCommentsByAuthor(user);\n  }).then(function (comments) {\n    // If `findCommentsByAuthor` fulfills, we'll have the value here\n  }, function (reason) {\n    // If `findCommentsByAuthor` rejects, we'll have the reason here\n  });\n  ```\n\n  Simple Example\n  --------------\n\n  Synchronous Example\n\n  ```javascript\n  let result;\n\n  try {\n    result = findResult();\n    // success\n  } catch(reason) {\n    // failure\n  }\n  ```\n\n  Errback Example\n\n  ```js\n  findResult(function(result, err){\n    if (err) {\n      // failure\n    } else {\n      // success\n    }\n  });\n  ```\n\n  Promise Example;\n\n  ```javascript\n  findResult().then(function(result){\n    // success\n  }, function(reason){\n    // failure\n  });\n  ```\n\n  Advanced Example\n  --------------\n\n  Synchronous Example\n\n  ```javascript\n  let author, books;\n\n  try {\n    author = findAuthor();\n    books  = findBooksByAuthor(author);\n    // success\n  } catch(reason) {\n    // failure\n  }\n  ```\n\n  Errback Example\n\n  ```js\n\n  function foundBooks(books) {\n\n  }\n\n  function failure(reason) {\n\n  }\n\n  findAuthor(function(author, err){\n    if (err) {\n      failure(err);\n      // failure\n    } else {\n      try {\n        findBoooksByAuthor(author, function(books, err) {\n          if (err) {\n            failure(err);\n          } else {\n            try {\n              foundBooks(books);\n            } catch(reason) {\n              failure(reason);\n            }\n          }\n        });\n      } catch(error) {\n        failure(err);\n      }\n      // success\n    }\n  });\n  ```\n\n  Promise Example;\n\n  ```javascript\n  findAuthor().\n    then(findBooksByAuthor).\n    then(function(books){\n      // found books\n  }).catch(function(reason){\n    // something went wrong\n  });\n  ```\n\n  @method then\n  @param {Function} onFulfillment\n  @param {Function} onRejection\n  @param {String} [label] optional string for labeling the promise.\n  Useful for tooling.\n  @return {Promise}\n*/\nPromise.prototype.then = then;\n\nfunction makeObject(_, argumentNames) {\n  let obj = {};\n  let length = _.length;\n  let args = new Array(length);\n\n  for (let x = 0; x < length; x++) {\n    args[x] = _[x];\n  }\n\n  for (let i = 0; i < argumentNames.length; i++) {\n    let name = argumentNames[i];\n    obj[name] = args[i + 1];\n  }\n\n  return obj;\n}\n\nfunction arrayResult(_) {\n  let length = _.length;\n  let args = new Array(length - 1);\n\n  for (let i = 1; i < length; i++) {\n    args[i - 1] = _[i];\n  }\n\n  return args;\n}\n\nfunction wrapThenable(then, promise) {\n  return {\n    then(onFulFillment, onRejection) {\n      return then.call(promise, onFulFillment, onRejection);\n    }\n  };\n}\n\n/**\n  `denodeify` takes a 'node-style' function and returns a function that\n  will return an `Promise`. You can use `denodeify` in Node.js or the\n  browser when you'd prefer to use promises over using callbacks. For example,\n  `denodeify` transforms the following:\n\n  ```javascript\n  let fs = require('fs');\n\n  fs.readFile('myfile.txt', function(err, data){\n    if (err) return handleError(err);\n    handleData(data);\n  });\n  ```\n\n  into:\n\n  ```javascript\n  let fs = require('fs');\n  let readFile = denodeify(fs.readFile);\n\n  readFile('myfile.txt').then(handleData, handleError);\n  ```\n\n  If the node function has multiple success parameters, then `denodeify`\n  just returns the first one:\n\n  ```javascript\n  let request = denodeify(require('request'));\n\n  request('http://example.com').then(function(res) {\n    // ...\n  });\n  ```\n\n  However, if you need all success parameters, setting `denodeify`'s\n  second parameter to `true` causes it to return all success parameters\n  as an array:\n\n  ```javascript\n  let request = denodeify(require('request'), true);\n\n  request('http://example.com').then(function(result) {\n    // result[0] -> res\n    // result[1] -> body\n  });\n  ```\n\n  Or if you pass it an array with names it returns the parameters as a hash:\n\n  ```javascript\n  let request = denodeify(require('request'), ['res', 'body']);\n\n  request('http://example.com').then(function(result) {\n    // result.res\n    // result.body\n  });\n  ```\n\n  Sometimes you need to retain the `this`:\n\n  ```javascript\n  let app = require('express')();\n  let render = denodeify(app.render.bind(app));\n  ```\n\n  The denodified function inherits from the original function. It works in all\n  environments, except IE 10 and below. Consequently all properties of the original\n  function are available to you. However, any properties you change on the\n  denodeified function won't be changed on the original function. Example:\n\n  ```javascript\n  let request = denodeify(require('request')),\n      cookieJar = request.jar(); // <- Inheritance is used here\n\n  request('http://example.com', {jar: cookieJar}).then(function(res) {\n    // cookieJar.cookies holds now the cookies returned by example.com\n  });\n  ```\n\n  Using `denodeify` makes it easier to compose asynchronous operations instead\n  of using callbacks. For example, instead of:\n\n  ```javascript\n  let fs = require('fs');\n\n  fs.readFile('myfile.txt', function(err, data){\n    if (err) { ... } // Handle error\n    fs.writeFile('myfile2.txt', data, function(err){\n      if (err) { ... } // Handle error\n      console.log('done')\n    });\n  });\n  ```\n\n  you can chain the operations together using `then` from the returned promise:\n\n  ```javascript\n  let fs = require('fs');\n  let readFile = denodeify(fs.readFile);\n  let writeFile = denodeify(fs.writeFile);\n\n  readFile('myfile.txt').then(function(data){\n    return writeFile('myfile2.txt', data);\n  }).then(function(){\n    console.log('done')\n  }).catch(function(error){\n    // Handle error\n  });\n  ```\n\n  @method denodeify\n  @public\n  @static\n  @for rsvp\n  @param {Function} nodeFunc a 'node-style' function that takes a callback as\n  its last argument. The callback expects an error to be passed as its first\n  argument (if an error occurred, otherwise null), and the value from the\n  operation as its second argument ('function(err, value){ }').\n  @param {Boolean|Array} [options] An optional paramter that if set\n  to `true` causes the promise to fulfill with the callback's success arguments\n  as an array. This is useful if the node function has multiple success\n  paramters. If you set this paramter to an array with names, the promise will\n  fulfill with a hash with these names as keys and the success parameters as\n  values.\n  @return {Function} a function that wraps `nodeFunc` to return a `Promise`\n*/\nfunction denodeify(nodeFunc, options) {\n  let fn = function() {\n    let l = arguments.length;\n    let args = new Array(l + 1);\n    let promiseInput = false;\n\n    for (let i = 0; i < l; ++i) {\n      let arg = arguments[i];\n\n      // TODO: this code really needs to be cleaned up\n      if (!promiseInput) {\n        if (arg !== null && typeof arg === 'object') {\n          if (arg.constructor === Promise) {\n            promiseInput = true;\n          } else {\n            try {\n              promiseInput = arg.then;\n            } catch(error) {\n              let p = new Promise(noop);\n              reject(p, error);\n              return p;\n            }\n          }\n        } else {\n          promiseInput = false;\n        }\n        if (promiseInput && promiseInput !== true) {\n          arg = wrapThenable(promiseInput, arg);\n        }\n      }\n      args[i] = arg;\n    }\n\n    let promise = new Promise(noop);\n\n    args[l] = function(err, val) {\n      if (err) {\n        reject(promise, err);\n      } else if (options === undefined) {\n        resolve$1(promise, val);\n      } else if (options === true) {\n        resolve$1(promise, arrayResult(arguments));\n      } else if (Array.isArray(options)) {\n        resolve$1(promise, makeObject(arguments, options));\n      } else {\n        resolve$1(promise, val);\n      }\n    };\n\n    if (promiseInput) {\n      return handlePromiseInput(promise, args, nodeFunc, this);\n    } else {\n      return handleValueInput(promise, args, nodeFunc, this);\n    }\n  };\n\n  fn.__proto__ = nodeFunc;\n\n  return fn;\n}\n\nfunction handleValueInput(promise, args, nodeFunc, self) {\n  try {\n    nodeFunc.apply(self, args);\n  } catch (error) {\n    reject(promise, error);\n  }\n  return promise;\n}\n\nfunction handlePromiseInput(promise, args, nodeFunc, self){\n  return Promise.all(args)\n    .then(args => handleValueInput(promise, args, nodeFunc, self));\n}\n\n/**\n  This is a convenient alias for `Promise.all`.\n\n  @method all\n  @public\n  @static\n  @for rsvp\n  @param {Array} array Array of promises.\n  @param {String} [label] An optional label. This is useful\n  for tooling.\n*/\nfunction all$1(array, label) {\n  return Promise.all(array, label);\n}\n\n/**\n@module rsvp\n@public\n**/\n\nclass AllSettled extends Enumerator {\n  constructor(Constructor, entries, label) {\n    super(Constructor, entries, false /* don't abort on reject */, label);\n  }\n}\n\nAllSettled.prototype._setResultAt = setSettledResult;\n\n  /**\n  `RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing\n  a fail-fast method, it waits until all the promises have returned and\n  shows you all the results. This is useful if you want to handle multiple\n  promises' failure states together as a set.\n\n  Returns a promise that is fulfilled when all the given promises have been\n  settled. The return promise is fulfilled with an array of the states of\n  the promises passed into the `promises` array argument.\n\n  Each state object will either indicate fulfillment or rejection, and\n  provide the corresponding value or reason. The states will take one of\n  the following formats:\n\n  ```javascript\n  { state: 'fulfilled', value: value }\n    or\n  { state: 'rejected', reason: reason }\n  ```\n\n  Example:\n\n  ```javascript\n  let promise1 = RSVP.Promise.resolve(1);\n  let promise2 = RSVP.Promise.reject(new Error('2'));\n  let promise3 = RSVP.Promise.reject(new Error('3'));\n  let promises = [ promise1, promise2, promise3 ];\n\n  RSVP.allSettled(promises).then(function(array){\n    // array == [\n    //   { state: 'fulfilled', value: 1 },\n    //   { state: 'rejected', reason: Error },\n    //   { state: 'rejected', reason: Error }\n    // ]\n    // Note that for the second item, reason.message will be '2', and for the\n    // third item, reason.message will be '3'.\n  }, function(error) {\n    // Not run. (This block would only be called if allSettled had failed,\n    // for instance if passed an incorrect argument type.)\n  });\n  ```\n\n  @method allSettled\n  @public\n  @static\n  @for rsvp\n  @param {Array} entries\n  @param {String} [label] - optional string that describes the promise.\n  Useful for tooling.\n  @return {Promise} promise that is fulfilled with an array of the settled\n  states of the constituent promises.\n  */\n\nfunction allSettled(entries, label) {\n  if (!Array.isArray(entries)) {\n    return Promise.reject(new TypeError(\"Promise.allSettled must be called with an array\"), label);\n  }\n\n  return new AllSettled(Promise, entries, label).promise;\n}\n\n/**\n  This is a convenient alias for `Promise.race`.\n\n  @method race\n  @public\n  @static\n  @for rsvp\n  @param {Array} array Array of promises.\n  @param {String} [label] An optional label. This is useful\n  for tooling.\n */\nfunction race$1(array, label) {\n  return Promise.race(array, label);\n}\n\nclass PromiseHash extends Enumerator {\n  constructor(Constructor, object, abortOnReject = true, label) {\n    super(Constructor, object, abortOnReject, label);\n  }\n\n  _init(Constructor, object) {\n    this._result = {};\n    this._enumerate(object);\n  }\n\n  _enumerate(input) {\n    let keys = Object.keys(input);\n\n    let length = keys.length;\n    let promise = this.promise;\n    this._remaining = length;\n\n    let key, val;\n    for (let i = 0; promise._state === PENDING && i < length; i++) {\n      key = keys[i];\n      val = input[key];\n      this._eachEntry(val, key, true);\n    }\n\n    this._checkFullfillment();\n  }\n}\n\n/**\n  `hash` is similar to `all`, but takes an object instead of an array\n  for its `promises` argument.\n\n  Returns a promise that is fulfilled when all the given promises have been\n  fulfilled, or rejected if any of them become rejected. The returned promise\n  is fulfilled with a hash that has the same key names as the `promises` object\n  argument. If any of the values in the object are not promises, they will\n  simply be copied over to the fulfilled object.\n\n  Example:\n\n  ```javascript\n  let promises = {\n    myPromise: resolve(1),\n    yourPromise: resolve(2),\n    theirPromise: resolve(3),\n    notAPromise: 4\n  };\n\n  hash(promises).then(function(hash){\n    // hash here is an object that looks like:\n    // {\n    //   myPromise: 1,\n    //   yourPromise: 2,\n    //   theirPromise: 3,\n    //   notAPromise: 4\n    // }\n  });\n  ```\n\n  If any of the `promises` given to `hash` are rejected, the first promise\n  that is rejected will be given as the reason to the rejection handler.\n\n  Example:\n\n  ```javascript\n  let promises = {\n    myPromise: resolve(1),\n    rejectedPromise: reject(new Error('rejectedPromise')),\n    anotherRejectedPromise: reject(new Error('anotherRejectedPromise')),\n  };\n\n  hash(promises).then(function(hash){\n    // Code here never runs because there are rejected promises!\n  }, function(reason) {\n    // reason.message === 'rejectedPromise'\n  });\n  ```\n\n  An important note: `hash` is intended for plain JavaScript objects that\n  are just a set of keys and values. `hash` will NOT preserve prototype\n  chains.\n\n  Example:\n\n  ```javascript\n  import { hash, resolve } from 'rsvp';\n  function MyConstructor(){\n    this.example = resolve('Example');\n  }\n\n  MyConstructor.prototype = {\n    protoProperty: resolve('Proto Property')\n  };\n\n  let myObject = new MyConstructor();\n\n  hash(myObject).then(function(hash){\n    // protoProperty will not be present, instead you will just have an\n    // object that looks like:\n    // {\n    //   example: 'Example'\n    // }\n    //\n    // hash.hasOwnProperty('protoProperty'); // false\n    // 'undefined' === typeof hash.protoProperty\n  });\n  ```\n\n  @method hash\n  @public\n  @static\n  @for rsvp\n  @param {Object} object\n  @param {String} [label] optional string that describes the promise.\n  Useful for tooling.\n  @return {Promise} promise that is fulfilled when all properties of `promises`\n  have been fulfilled, or rejected if any of them become rejected.\n*/\nfunction hash(object, label) {\n  return Promise.resolve(object, label)\n    .then(function(object) {\n      if (object === null || typeof object !== 'object') {\n        throw new TypeError(\"Promise.hash must be called with an object\");\n      }\n      return new PromiseHash(Promise, object, label).promise;\n    });\n}\n\nclass HashSettled extends PromiseHash {\n  constructor(Constructor, object, label) {\n    super(Constructor, object, false, label);\n  }\n}\n\nHashSettled.prototype._setResultAt = setSettledResult;\n\n/**\n  `hashSettled` is similar to `allSettled`, but takes an object\n  instead of an array for its `promises` argument.\n\n  Unlike `all` or `hash`, which implement a fail-fast method,\n  but like `allSettled`, `hashSettled` waits until all the\n  constituent promises have returned and then shows you all the results\n  with their states and values/reasons. This is useful if you want to\n  handle multiple promises' failure states together as a set.\n\n  Returns a promise that is fulfilled when all the given promises have been\n  settled, or rejected if the passed parameters are invalid.\n\n  The returned promise is fulfilled with a hash that has the same key names as\n  the `promises` object argument. If any of the values in the object are not\n  promises, they will be copied over to the fulfilled object and marked with state\n  'fulfilled'.\n\n  Example:\n\n  ```javascript\n  import { hashSettled, resolve } from 'rsvp';\n\n  let promises = {\n    myPromise: resolve(1),\n    yourPromise: resolve(2),\n    theirPromise: resolve(3),\n    notAPromise: 4\n  };\n\n  hashSettled(promises).then(function(hash){\n    // hash here is an object that looks like:\n    // {\n    //   myPromise: { state: 'fulfilled', value: 1 },\n    //   yourPromise: { state: 'fulfilled', value: 2 },\n    //   theirPromise: { state: 'fulfilled', value: 3 },\n    //   notAPromise: { state: 'fulfilled', value: 4 }\n    // }\n  });\n  ```\n\n  If any of the `promises` given to `hash` are rejected, the state will\n  be set to 'rejected' and the reason for rejection provided.\n\n  Example:\n\n  ```javascript\n  import { hashSettled, reject, resolve } from 'rsvp';\n\n  let promises = {\n    myPromise: resolve(1),\n    rejectedPromise: reject(new Error('rejection')),\n    anotherRejectedPromise: reject(new Error('more rejection')),\n  };\n\n  hashSettled(promises).then(function(hash){\n    // hash here is an object that looks like:\n    // {\n    //   myPromise:              { state: 'fulfilled', value: 1 },\n    //   rejectedPromise:        { state: 'rejected', reason: Error },\n    //   anotherRejectedPromise: { state: 'rejected', reason: Error },\n    // }\n    // Note that for rejectedPromise, reason.message == 'rejection',\n    // and for anotherRejectedPromise, reason.message == 'more rejection'.\n  });\n  ```\n\n  An important note: `hashSettled` is intended for plain JavaScript objects that\n  are just a set of keys and values. `hashSettled` will NOT preserve prototype\n  chains.\n\n  Example:\n\n  ```javascript\n  import Promise, { hashSettled, resolve } from 'rsvp';\n\n  function MyConstructor(){\n    this.example = resolve('Example');\n  }\n\n  MyConstructor.prototype = {\n    protoProperty: Promise.resolve('Proto Property')\n  };\n\n  let myObject = new MyConstructor();\n\n  hashSettled(myObject).then(function(hash){\n    // protoProperty will not be present, instead you will just have an\n    // object that looks like:\n    // {\n    //   example: { state: 'fulfilled', value: 'Example' }\n    // }\n    //\n    // hash.hasOwnProperty('protoProperty'); // false\n    // 'undefined' === typeof hash.protoProperty\n  });\n  ```\n\n  @method hashSettled\n  @public\n  @for rsvp\n  @param {Object} object\n  @param {String} [label] optional string that describes the promise.\n  Useful for tooling.\n  @return {Promise} promise that is fulfilled when when all properties of `promises`\n  have been settled.\n  @static\n*/\n\nfunction hashSettled(object, label) {\n  return Promise.resolve(object, label)\n    .then(function(object) {\n      if (object === null || typeof object !== 'object') {\n        throw new TypeError(\"hashSettled must be called with an object\");\n      }\n\n      return new HashSettled(Promise, object, false, label).promise;\n    });\n}\n\n/**\n  `rethrow` will rethrow an error on the next turn of the JavaScript event\n  loop in order to aid debugging.\n\n  Promises A+ specifies that any exceptions that occur with a promise must be\n  caught by the promises implementation and bubbled to the last handler. For\n  this reason, it is recommended that you always specify a second rejection\n  handler function to `then`. However, `rethrow` will throw the exception\n  outside of the promise, so it bubbles up to your console if in the browser,\n  or domain/cause uncaught exception in Node. `rethrow` will also throw the\n  error again so the error can be handled by the promise per the spec.\n\n  ```javascript\n  import { rethrow } from 'rsvp';\n\n  function throws(){\n    throw new Error('Whoops!');\n  }\n\n  let promise = new Promise(function(resolve, reject){\n    throws();\n  });\n\n  promise.catch(rethrow).then(function(){\n    // Code here doesn't run because the promise became rejected due to an\n    // error!\n  }, function (err){\n    // handle the error here\n  });\n  ```\n\n  The 'Whoops' error will be thrown on the next turn of the event loop\n  and you can watch for it in your console. You can also handle it using a\n  rejection handler given to `.then` or `.catch` on the returned promise.\n\n  @method rethrow\n  @public\n  @static\n  @for rsvp\n  @param {Error} reason reason the promise became rejected.\n  @throws Error\n  @static\n*/\nfunction rethrow(reason) {\n  setTimeout(() => {\n    throw reason;\n  });\n  throw reason;\n}\n\n/**\n  `defer` returns an object similar to jQuery's `$.Deferred`.\n  `defer` should be used when porting over code reliant on `$.Deferred`'s\n  interface. New code should use the `Promise` constructor instead.\n\n  The object returned from `defer` is a plain object with three properties:\n\n  * promise - an `Promise`.\n  * reject - a function that causes the `promise` property on this object to\n    become rejected\n  * resolve - a function that causes the `promise` property on this object to\n    become fulfilled.\n\n  Example:\n\n   ```javascript\n   let deferred = defer();\n\n   deferred.resolve(\"Success!\");\n\n   deferred.promise.then(function(value){\n     // value here is \"Success!\"\n   });\n   ```\n\n  @method defer\n  @public\n  @static\n  @for rsvp\n  @param {String} [label] optional string for labeling the promise.\n  Useful for tooling.\n  @return {Object}\n */\n\nfunction defer(label) {\n  let deferred = { resolve: undefined, reject: undefined };\n\n  deferred.promise = new Promise((resolve, reject) => {\n    deferred.resolve = resolve;\n    deferred.reject = reject;\n  }, label);\n\n  return deferred;\n}\n\nclass MapEnumerator extends Enumerator {\n  constructor(Constructor, entries, mapFn, label) {\n    super(Constructor, entries, true, label, mapFn);\n  }\n\n  _init(Constructor, input, bool, label, mapFn) {\n    let len = input.length || 0;\n    this.length     = len;\n    this._remaining = len;\n    this._result = new Array(len);\n    this._mapFn = mapFn;\n\n    this._enumerate(input);\n  }\n\n  _setResultAt(state, i, value, firstPass) {\n    if (firstPass) {\n      try {\n        this._eachEntry(this._mapFn(value, i), i, false);\n      } catch (error) {\n        this._settledAt(REJECTED, i, error, false);\n      }\n    } else {\n      this._remaining--;\n      this._result[i] = value;\n    }\n  }\n}\n\n\n/**\n `map` is similar to JavaScript's native `map` method. `mapFn` is eagerly called\n  meaning that as soon as any promise resolves its value will be passed to `mapFn`.\n  `map` returns a promise that will become fulfilled with the result of running\n  `mapFn` on the values the promises become fulfilled with.\n\n  For example:\n\n  ```javascript\n  import { map, resolve } from 'rsvp';\n\n  let promise1 = resolve(1);\n  let promise2 = resolve(2);\n  let promise3 = resolve(3);\n  let promises = [ promise1, promise2, promise3 ];\n\n  let mapFn = function(item){\n    return item + 1;\n  };\n\n  map(promises, mapFn).then(function(result){\n    // result is [ 2, 3, 4 ]\n  });\n  ```\n\n  If any of the `promises` given to `map` are rejected, the first promise\n  that is rejected will be given as an argument to the returned promise's\n  rejection handler. For example:\n\n  ```javascript\n  import { map, reject, resolve } from 'rsvp';\n\n  let promise1 = resolve(1);\n  let promise2 = reject(new Error('2'));\n  let promise3 = reject(new Error('3'));\n  let promises = [ promise1, promise2, promise3 ];\n\n  let mapFn = function(item){\n    return item + 1;\n  };\n\n  map(promises, mapFn).then(function(array){\n    // Code here never runs because there are rejected promises!\n  }, function(reason) {\n    // reason.message === '2'\n  });\n  ```\n\n  `map` will also wait if a promise is returned from `mapFn`. For example,\n  say you want to get all comments from a set of blog posts, but you need\n  the blog posts first because they contain a url to those comments.\n\n  ```javscript\n  import { map } from 'rsvp';\n\n  let mapFn = function(blogPost){\n    // getComments does some ajax and returns an Promise that is fulfilled\n    // with some comments data\n    return getComments(blogPost.comments_url);\n  };\n\n  // getBlogPosts does some ajax and returns an Promise that is fulfilled\n  // with some blog post data\n  map(getBlogPosts(), mapFn).then(function(comments){\n    // comments is the result of asking the server for the comments\n    // of all blog posts returned from getBlogPosts()\n  });\n  ```\n\n  @method map\n  @public\n  @static\n  @for rsvp\n  @param {Array} promises\n  @param {Function} mapFn function to be called on each fulfilled promise.\n  @param {String} [label] optional string for labeling the promise.\n  Useful for tooling.\n  @return {Promise} promise that is fulfilled with the result of calling\n  `mapFn` on each fulfilled promise or value when they become fulfilled.\n   The promise will be rejected if any of the given `promises` become rejected.\n*/\nfunction map(promises, mapFn, label) {\n  if (typeof mapFn !== 'function') {\n    return Promise.reject(new TypeError(\"map expects a function as a second argument\"), label);\n  }\n\n  return Promise.resolve(promises, label)\n    .then(function(promises) {\n      if (!Array.isArray(promises)) {\n        throw new TypeError(\"map must be called with an array\");\n      }\n      return new MapEnumerator(Promise, promises, mapFn, label).promise;\n    });\n}\n\n/**\n  This is a convenient alias for `Promise.resolve`.\n\n  @method resolve\n  @public\n  @static\n  @for rsvp\n  @param {*} value value that the returned promise will be resolved with\n  @param {String} [label] optional string for identifying the returned promise.\n  Useful for tooling.\n  @return {Promise} a promise that will become fulfilled with the given\n  `value`\n*/\nfunction resolve$2(value, label) {\n  return Promise.resolve(value, label);\n}\n\n/**\n  This is a convenient alias for `Promise.reject`.\n\n  @method reject\n  @public\n  @static\n  @for rsvp\n  @param {*} reason value that the returned promise will be rejected with.\n  @param {String} [label] optional string for identifying the returned promise.\n  Useful for tooling.\n  @return {Promise} a promise rejected with the given `reason`.\n*/\nfunction reject$2(reason, label) {\n  return Promise.reject(reason, label);\n}\n\nconst EMPTY_OBJECT = {};\n\nclass FilterEnumerator extends MapEnumerator {\n\n  _checkFullfillment() {\n    if (this._remaining === 0 && this._result !== null) {\n      let result = this._result.filter((val) => val !== EMPTY_OBJECT);\n      fulfill(this.promise, result);\n      this._result = null;\n    }\n  }\n\n  _setResultAt(state, i, value, firstPass) {\n    if (firstPass) {\n      this._result[i] = value;\n      let val, succeeded = true;\n      try {\n        val = this._mapFn(value, i);\n      } catch (error) {\n        succeeded = false;\n        this._settledAt(REJECTED, i, error, false);\n      }\n      if (succeeded) {\n        this._eachEntry(val, i, false);\n      }\n    } else {\n      this._remaining--;\n      if (!value) {\n        this._result[i] = EMPTY_OBJECT;\n      }\n    }\n  }\n}\n\n/**\n `filter` is similar to JavaScript's native `filter` method.\n `filterFn` is eagerly called meaning that as soon as any promise\n  resolves its value will be passed to `filterFn`. `filter` returns\n  a promise that will become fulfilled with the result of running\n  `filterFn` on the values the promises become fulfilled with.\n\n  For example:\n\n  ```javascript\n  import { filter, resolve } from 'rsvp';\n\n  let promise1 = resolve(1);\n  let promise2 = resolve(2);\n  let promise3 = resolve(3);\n\n  let promises = [promise1, promise2, promise3];\n\n  let filterFn = function(item){\n    return item > 1;\n  };\n\n  filter(promises, filterFn).then(function(result){\n    // result is [ 2, 3 ]\n  });\n  ```\n\n  If any of the `promises` given to `filter` are rejected, the first promise\n  that is rejected will be given as an argument to the returned promise's\n  rejection handler. For example:\n\n  ```javascript\n  import { filter, reject, resolve } from 'rsvp';\n\n  let promise1 = resolve(1);\n  let promise2 = reject(new Error('2'));\n  let promise3 = reject(new Error('3'));\n  let promises = [ promise1, promise2, promise3 ];\n\n  let filterFn = function(item){\n    return item > 1;\n  };\n\n  filter(promises, filterFn).then(function(array){\n    // Code here never runs because there are rejected promises!\n  }, function(reason) {\n    // reason.message === '2'\n  });\n  ```\n\n  `filter` will also wait for any promises returned from `filterFn`.\n  For instance, you may want to fetch a list of users then return a subset\n  of those users based on some asynchronous operation:\n\n  ```javascript\n  import { filter, resolve } from 'rsvp';\n\n  let alice = { name: 'alice' };\n  let bob   = { name: 'bob' };\n  let users = [ alice, bob ];\n\n  let promises = users.map(function(user){\n    return resolve(user);\n  });\n\n  let filterFn = function(user){\n    // Here, Alice has permissions to create a blog post, but Bob does not.\n    return getPrivilegesForUser(user).then(function(privs){\n      return privs.can_create_blog_post === true;\n    });\n  };\n  filter(promises, filterFn).then(function(users){\n    // true, because the server told us only Alice can create a blog post.\n    users.length === 1;\n    // false, because Alice is the only user present in `users`\n    users[0] === bob;\n  });\n  ```\n\n  @method filter\n  @public\n  @static\n  @for rsvp\n  @param {Array} promises\n  @param {Function} filterFn - function to be called on each resolved value to\n  filter the final results.\n  @param {String} [label] optional string describing the promise. Useful for\n  tooling.\n  @return {Promise}\n*/\n\nfunction filter(promises, filterFn, label) {\n  if (typeof filterFn !== 'function') {\n    return Promise.reject(new TypeError(\"filter expects function as a second argument\"), label);\n  }\n\n  return Promise.resolve(promises, label)\n    .then(function(promises) {\n      if (!Array.isArray(promises)) {\n        throw new TypeError(\"filter must be called with an array\");\n      }\n      return new FilterEnumerator(Promise, promises, filterFn, label).promise;\n    });\n}\n\nlet len = 0;\nlet vertxNext;\nfunction asap(callback, arg) {\n  queue$1[len] = callback;\n  queue$1[len + 1] = arg;\n  len += 2;\n  if (len === 2) {\n    // If len is 1, that means that we need to schedule an async flush.\n    // If additional callbacks are queued before the queue is flushed, they\n    // will be processed by this flush that we are scheduling.\n    scheduleFlush$1();\n  }\n}\n\nconst browserWindow = (typeof window !== 'undefined') ? window : undefined;\nconst browserGlobal = browserWindow || {};\nconst BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\nconst isNode = typeof self === 'undefined' &&\n  typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n\n// test for web worker but not in IE10\nconst isWorker = typeof Uint8ClampedArray !== 'undefined' &&\n  typeof importScripts !== 'undefined' &&\n  typeof MessageChannel !== 'undefined';\n\n// node\nfunction useNextTick() {\n  let nextTick = process.nextTick;\n  // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n  // setImmediate should be used instead instead\n  let version = process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);\n  if (Array.isArray(version) && version[1] === '0' && version[2] === '10') {\n    nextTick = setImmediate;\n  }\n  return () => nextTick(flush);\n}\n\n// vertx\nfunction useVertxTimer() {\n  if (typeof vertxNext !== 'undefined') {\n    return function() {\n      vertxNext(flush);\n    };\n  }\n  return useSetTimeout();\n}\n\nfunction useMutationObserver() {\n  let iterations = 0;\n  let observer = new BrowserMutationObserver(flush);\n  let node = document.createTextNode('');\n  observer.observe(node, { characterData: true });\n\n  return () => node.data = (iterations = ++iterations % 2);\n}\n\n// web worker\nfunction useMessageChannel() {\n  let channel = new MessageChannel();\n  channel.port1.onmessage = flush;\n  return () => channel.port2.postMessage(0);\n}\n\nfunction useSetTimeout() {\n  return () => setTimeout(flush, 1);\n}\n\nconst queue$1 = new Array(1000);\n\nfunction flush() {\n  for (let i = 0; i < len; i+=2) {\n    let callback = queue$1[i];\n    let arg = queue$1[i+1];\n\n    callback(arg);\n\n    queue$1[i] = undefined;\n    queue$1[i+1] = undefined;\n  }\n\n  len = 0;\n}\n\nfunction attemptVertex() {\n  try {\n    const vertx = Function('return this')().require('vertx');\n    vertxNext = vertx.runOnLoop || vertx.runOnContext;\n    return useVertxTimer();\n  } catch(e) {\n    return useSetTimeout();\n  }\n}\n\nlet scheduleFlush$1;\n// Decide what async method to use to triggering processing of queued callbacks:\nif (isNode) {\n  scheduleFlush$1 = useNextTick();\n} else if (BrowserMutationObserver) {\n  scheduleFlush$1 = useMutationObserver();\n} else if (isWorker) {\n  scheduleFlush$1 = useMessageChannel();\n} else if (browserWindow === undefined && typeof require === 'function') {\n  scheduleFlush$1 = attemptVertex();\n} else {\n  scheduleFlush$1 = useSetTimeout();\n}\n\n// defaults\nconfig.async = asap;\nconfig.after = cb => setTimeout(cb, 0);\nconst cast = resolve$2;\n\nconst async = (callback, arg) => config.async(callback, arg);\n\nfunction on() {\n  config.on(...arguments);\n}\n\nfunction off() {\n  config.off(...arguments);\n}\n\n// Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\nif (typeof window !== 'undefined' && typeof window['__PROMISE_INSTRUMENTATION__'] === 'object') {\n  let callbacks = window['__PROMISE_INSTRUMENTATION__'];\n  configure('instrument', true);\n  for (let eventName in callbacks) {\n    if (callbacks.hasOwnProperty(eventName)) {\n      on(eventName, callbacks[eventName]);\n    }\n  }\n}\n\n// the default export here is for backwards compat:\n//   https://github.com/tildeio/rsvp.js/issues/434\nvar rsvp = {\n  asap,\n  cast,\n  Promise,\n  EventTarget,\n  all: all$1,\n  allSettled,\n  race: race$1,\n  hash,\n  hashSettled,\n  rethrow,\n  defer,\n  denodeify,\n  configure,\n  on,\n  off,\n  resolve: resolve$2,\n  reject: reject$2,\n  map,\n  async,\n  filter\n};\n\nexport default rsvp;\nexport { asap, cast, Promise, EventTarget, all$1 as all, allSettled, race$1 as race, hash, hashSettled, rethrow, defer, denodeify, configure, on, off, resolve$2 as resolve, reject$2 as reject, map, async, filter };\n","/*\nCopyright (c) 2014, Yahoo! Inc. All rights reserved.\nCopyrights licensed under the New BSD License.\nSee the accompanying LICENSE file for terms.\n\nThis file was copied from https://github.com/ericf/css-mediaquery/blob/master/index.js\nso that is could be easily used with Ember CLI.\n*/\n\n\n(function() {\n  function vendorModule() {\n    'use strict';\n\n// Library Start\nvar RE_MEDIA_QUERY     = /^(?:(only|not)?\\s*([_a-z][_a-z0-9-]*)|(\\([^\\)]+\\)))(?:\\s*and\\s*(.*))?$/i,\n    RE_MQ_EXPRESSION   = /^\\(\\s*([_a-z-][_a-z0-9-]*)\\s*(?:\\:\\s*([^\\)]+))?\\s*\\)$/,\n    RE_MQ_FEATURE      = /^(?:(min|max)-)?(.+)/,\n    RE_LENGTH_UNIT     = /(em|rem|px|cm|mm|in|pt|pc)?\\s*$/,\n    RE_RESOLUTION_UNIT = /(dpi|dpcm|dppx)?\\s*$/;\n\nfunction matchQuery(mediaQuery, values) {\n    return parseQuery(mediaQuery).some(function (query) {\n        var inverse = query.inverse;\n\n        // Either the parsed or specified `type` is \"all\", or the types must be\n        // equal for a match.\n        var typeMatch = query.type === 'all' || values.type === query.type;\n\n        // Quit early when `type` doesn't match, but take \"not\" into account.\n        if ((typeMatch && inverse) || !(typeMatch || inverse)) {\n            return false;\n        }\n\n        var expressionsMatch = query.expressions.every(function (expression) {\n            var feature  = expression.feature,\n                modifier = expression.modifier,\n                expValue = expression.value,\n                value    = values[feature];\n\n            // Missing or falsy values don't match.\n            if (!value) { return false; }\n\n            switch (feature) {\n                case 'orientation':\n                case 'scan':\n                    return value.toLowerCase() === expValue.toLowerCase();\n\n                case 'width':\n                case 'height':\n                case 'device-width':\n                case 'device-height':\n                    expValue = toPx(expValue);\n                    value    = toPx(value);\n                    break;\n\n                case 'resolution':\n                    expValue = toDpi(expValue);\n                    value    = toDpi(value);\n                    break;\n\n                case 'aspect-ratio':\n                case 'device-aspect-ratio':\n                case /* Deprecated */ 'device-pixel-ratio':\n                    expValue = toDecimal(expValue);\n                    value    = toDecimal(value);\n                    break;\n\n                case 'grid':\n                case 'color':\n                case 'color-index':\n                case 'monochrome':\n                    expValue = parseInt(expValue, 10) || 1;\n                    value    = parseInt(value, 10) || 0;\n                    break;\n            }\n\n            switch (modifier) {\n                case 'min': return value >= expValue;\n                case 'max': return value <= expValue;\n                default   : return value === expValue;\n            }\n        });\n\n        return (expressionsMatch && !inverse) || (!expressionsMatch && inverse);\n    });\n}\n\nfunction parseQuery(mediaQuery) {\n    return mediaQuery.split(',').map(function (query) {\n        query = query.trim();\n\n        var captures = query.match(RE_MEDIA_QUERY);\n\n        // Media Query must be valid.\n        if (!captures) {\n            throw new SyntaxError('Invalid CSS media query: \"' + query + '\"');\n        }\n\n        var modifier    = captures[1],\n            type        = captures[2],\n            expressions = ((captures[3] || '') + (captures[4] || '')).trim(),\n            parsed      = {};\n\n        parsed.inverse = !!modifier && modifier.toLowerCase() === 'not';\n        parsed.type    = type ? type.toLowerCase() : 'all';\n\n        // Check for media query expressions.\n        if (!expressions) {\n            parsed.expressions = [];\n            return parsed;\n        }\n\n        // Split expressions into a list.\n        expressions = expressions.match(/\\([^\\)]+\\)/g);\n\n        // Media Query must be valid.\n        if (!expressions) {\n            throw new SyntaxError('Invalid CSS media query: \"' + query + '\"');\n        }\n\n        parsed.expressions = expressions.map(function (expression) {\n            var captures = expression.match(RE_MQ_EXPRESSION);\n\n            // Media Query must be valid.\n            if (!captures) {\n                throw new SyntaxError('Invalid CSS media query: \"' + query + '\"');\n            }\n\n            var feature = captures[1].toLowerCase().match(RE_MQ_FEATURE);\n\n            return {\n                modifier: feature[1],\n                feature : feature[2],\n                value   : captures[2]\n            };\n        });\n\n        return parsed;\n    });\n}\n\n// -- Utilities ----------------------------------------------------------------\n\nfunction toDecimal(ratio) {\n    var decimal = Number(ratio),\n        numbers;\n\n    if (!decimal) {\n        numbers = ratio.match(/^(\\d+)\\s*\\/\\s*(\\d+)$/);\n        decimal = numbers[1] / numbers[2];\n    }\n\n    return decimal;\n}\n\nfunction toDpi(resolution) {\n    var value = parseFloat(resolution),\n        units = String(resolution).match(RE_RESOLUTION_UNIT)[1];\n\n    switch (units) {\n        case 'dpcm': return value / 2.54;\n        case 'dppx': return value * 96;\n        default    : return value;\n    }\n}\n\nfunction toPx(length) {\n    var value = parseFloat(length),\n        units = String(length).match(RE_LENGTH_UNIT)[1];\n\n    switch (units) {\n        case 'em' : return value * 16;\n        case 'rem': return value * 16;\n        case 'cm' : return value * 96 / 2.54;\n        case 'mm' : return value * 96 / 2.54 / 10;\n        case 'in' : return value * 96;\n        case 'pt' : return value * 72;\n        case 'pc' : return value * 72 / 12;\n        default   : return value;\n    }\n}\n// Library End\n\n    return { matchQuery: matchQuery, parseQuery: parseQuery };\n  }\n\n  define('css-mediaquery', [], vendorModule);\n})();\n","define(\"@ember-data/adapter/-private\", [\"exports\", \"@ember-data/adapter/serialize-into-hash-b9092b25\", \"@ember-data/adapter/build-url-mixin-18db8c8b\"], function (_exports, _serializeIntoHashB9092b, _buildUrlMixin18db8c8b) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"BuildURLMixin\", {\n    enumerable: true,\n    get: function () {\n      return _buildUrlMixin18db8c8b.B;\n    }\n  });\n  Object.defineProperty(_exports, \"determineBodyPromise\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHashB9092b.d;\n    }\n  });\n  Object.defineProperty(_exports, \"fetch\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHashB9092b.g;\n    }\n  });\n  Object.defineProperty(_exports, \"parseResponseHeaders\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHashB9092b.p;\n    }\n  });\n  Object.defineProperty(_exports, \"serializeIntoHash\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHashB9092b.b;\n    }\n  });\n  Object.defineProperty(_exports, \"serializeQueryParams\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHashB9092b.s;\n    }\n  });\n  Object.defineProperty(_exports, \"setupFastboot\", {\n    enumerable: true,\n    get: function () {\n      return _serializeIntoHashB9092b.a;\n    }\n  });\n});","define(\"@ember-data/adapter/build-url-mixin-18db8c8b\", [\"exports\", \"@ember/object/mixin\", \"@ember/string\", \"ember-inflector\"], function (_exports, _mixin, _string, _emberInflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.B = void 0;\n  /**\n    @module @ember-data/adapter\n  */\n\n  /*\n   The structure of this file is such because typing Mixins is hard. Here we've structured it in\n   such a way as to maximize the type information that a consumer can utilize. There are simpler\n   ways to type a mixin but we would not be able to provide the nice overload signature for buildURL\n  */\n  // the interface must fully declare the function signatures that the individual functions\n  // will also declare. If instead we try to keep them in sync by doing something like\n  // `interface BuildURLMixin { buildURL: typeof buildURL }`\n  // then an extending class overwriting one of the methods will break because typescript\n  // thinks it is a switch from an instance prop (that is a method) to an instance method.\n  // prevents the final constructed object from needing to add\n  // host and namespace which are provided by the final consuming\n  // class to the prototype which can result in overwrite errors\n  /**\n    ## Using BuildURLMixin\n  \n    To use URL building, include the mixin when extending an adapter, and call `buildURL` where needed.\n    The default behaviour is designed for RESTAdapter.\n  \n    ### Example\n  \n    ```javascript\n    import Adapter, { BuildURLMixin } from '@ember-data/adapter';\n  \n    export default class ApplicationAdapter extends Adapter.extend(BuildURLMixin) {\n      findRecord(store, type, id, snapshot) {\n        var url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n        return this.ajax(url, 'GET');\n      }\n    }\n    ```\n  \n    ### Attributes\n  \n    The `host` and `namespace` attributes will be used if defined, and are optional.\n  \n    @class BuildURLMixin\n    @public\n  */\n  /**\n      Builds a URL for a given type and optional ID.\n  \n      By default, it pluralizes the type's name (for example, 'post'\n      becomes 'posts' and 'person' becomes 'people'). To override the\n      pluralization see [pathForType](./pathForType?anchor=pathForType).\n  \n      If an ID is specified, it adds the ID to the path generated\n      for the type, separated by a `/`.\n  \n      When called by `RESTAdapter.findMany()` the `id` and `snapshot` parameters\n      will be arrays of ids and snapshots.\n  \n      @method buildURL\n      @public\n      @param {String} modelName\n      @param {(String|Array|Object)} id single id or array of ids or query\n      @param {(Snapshot|SnapshotRecordArray)} snapshot single snapshot or array of snapshots\n      @param {String} requestType\n      @param {Object} query object of query parameters to send for query requests.\n      @return {String} url\n    */\n  function buildURL(modelName, id, snapshot, requestType, query) {\n    /*\n        Switch statements in typescript don't currently narrow even when the function is implemented\n        with overloads.\n         We still extract this to stand alone so that we can provide nice overloads for calling signatures,\n        but we will still require all of this casting (or a ridiculous number of assertsthat narrow it down\n        for us).\n    */\n    switch (requestType) {\n      case 'findRecord':\n        return this.urlForFindRecord(id, modelName, snapshot);\n      case 'findAll':\n        return this.urlForFindAll(modelName, snapshot);\n      case 'query':\n        return this.urlForQuery(query || {}, modelName);\n      case 'queryRecord':\n        return this.urlForQueryRecord(query || {}, modelName);\n      case 'findMany':\n        return this.urlForFindMany(id, modelName, snapshot);\n      case 'findHasMany':\n        return this.urlForFindHasMany(id, modelName, snapshot);\n      case 'findBelongsTo':\n        return this.urlForFindBelongsTo(id, modelName, snapshot);\n      case 'createRecord':\n        return this.urlForCreateRecord(modelName, snapshot);\n      case 'updateRecord':\n        return this.urlForUpdateRecord(id, modelName, snapshot);\n      case 'deleteRecord':\n        return this.urlForDeleteRecord(id, modelName, snapshot);\n      default:\n        // this is the 'never' case but someone may call `buildURL` manually so\n        // we try to do something for them.\n        return this._buildURL(modelName, id);\n    }\n  }\n\n  /**\n      @method _buildURL\n      @private\n      @param {String} modelName\n      @param {String} id\n      @return {String} url\n    */\n  function _buildURL(modelName, id) {\n    let path;\n    let url = [];\n    let {\n      host\n    } = this;\n    let prefix = this.urlPrefix();\n    if (modelName) {\n      path = this.pathForType(modelName);\n      if (path) {\n        url.push(path);\n      }\n    }\n    if (id) {\n      url.push(encodeURIComponent(id));\n    }\n    if (prefix) {\n      url.unshift(prefix);\n    }\n    let urlString = url.join('/');\n    if (!host && urlString && urlString.charAt(0) !== '/') {\n      urlString = '/' + urlString;\n    }\n    return urlString;\n  }\n\n  /**\n     Builds a URL for a `store.findRecord(type, id)` call.\n  \n     Example:\n  \n     ```app/adapters/user.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n     export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindRecord(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id, snapshot);\n         return `${baseUrl}/users/${snapshot.adapterOptions.user_id}/playlists/${id}`;\n       }\n     }\n     ```\n  \n     @method urlForFindRecord\n     @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n  \n     */\n  function urlForFindRecord(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  }\n\n  /**\n     Builds a URL for a `store.findAll(type)` call.\n  \n     Example:\n  \n     ```app/adapters/comment.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n     export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindAll(modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName);\n         return `${baseUrl}/data/comments.json`;\n       }\n     }\n     ```\n  \n     @method urlForFindAll\n      @public\n     @param {String} modelName\n     @param {SnapshotRecordArray} snapshot\n     @return {String} url\n     */\n  function urlForFindAll(modelName, snapshots) {\n    return this._buildURL(modelName);\n  }\n\n  /**\n     Builds a URL for a `store.query(type, query)` call.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       host = 'https://api.github.com';\n       urlForQuery (query, modelName) {\n         switch(modelName) {\n           case 'repo':\n             return `https://api.github.com/orgs/${query.orgId}/repos`;\n           default:\n             return super.urlForQuery(...arguments);\n         }\n       }\n     }\n     ```\n  \n     @method urlForQuery\n      @public\n     @param {Object} query\n     @param {String} modelName\n     @return {String} url\n     */\n  function urlForQuery(query, modelName) {\n    return this._buildURL(modelName);\n  }\n\n  /**\n     Builds a URL for a `store.queryRecord(type, query)` call.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       urlForQueryRecord({ slug }, modelName) {\n         let baseUrl = this.buildURL();\n         return `${baseUrl}/${encodeURIComponent(slug)}`;\n       }\n     }\n     ```\n  \n     @method urlForQueryRecord\n      @public\n     @param {Object} query\n     @param {String} modelName\n     @return {String} url\n     */\n  function urlForQueryRecord(query, modelName) {\n    return this._buildURL(modelName);\n  }\n\n  /**\n     Builds a URL for coalescing multiple `store.findRecord(type, id)`\n     records into 1 request when the adapter's `coalesceFindRequests`\n     property is `true`.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       urlForFindMany(ids, modelName) {\n         let baseUrl = this.buildURL();\n         return `${baseUrl}/coalesce`;\n       }\n     }\n     ```\n  \n     @method urlForFindMany\n      @public\n     @param {Array} ids\n     @param {String} modelName\n     @param {Array} snapshots\n     @return {String} url\n     */\n  function urlForFindMany(ids, modelName, snapshots) {\n    return this._buildURL(modelName);\n  }\n\n  /**\n     Builds a URL for fetching an async `hasMany` relationship when a URL\n     is not provided by the server.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n     export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindHasMany(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id);\n         return `${baseUrl}/relationships`;\n       }\n     }\n     ```\n  \n     @method urlForFindHasMany\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n  function urlForFindHasMany(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  }\n\n  /**\n     Builds a URL for fetching an async `belongsTo` relationship when a url\n     is not provided by the server.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n     export default class ApplicationAdapter extends JSONAPIAdapter {\n       urlForFindBelongsTo(id, modelName, snapshot) {\n         let baseUrl = this.buildURL(modelName, id);\n         return `${baseUrl}/relationships`;\n       }\n     }\n     ```\n  \n     @method urlForFindBelongsTo\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n  function urlForFindBelongsTo(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  }\n\n  /**\n     Builds a URL for a `record.save()` call when the record was created\n     locally using `store.createRecord()`.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       urlForCreateRecord(modelName, snapshot) {\n         return super.urlForCreateRecord(...arguments) + '/new';\n       }\n     }\n     ```\n  \n     @method urlForCreateRecord\n      @public\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n  function urlForCreateRecord(modelName, snapshot) {\n    return this._buildURL(modelName);\n  }\n\n  /**\n     Builds a URL for a `record.save()` call when the record has been updated locally.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       urlForUpdateRecord(id, modelName, snapshot) {\n         return `/${id}/feed?access_token=${snapshot.adapterOptions.token}`;\n       }\n     }\n     ```\n  \n     @method urlForUpdateRecord\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n  function urlForUpdateRecord(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  }\n\n  /**\n     Builds a URL for a `record.save()` call when the record has been deleted locally.\n  \n     Example:\n  \n     ```app/adapters/application.js\n     import RESTAdapter from '@ember-data/adapter/rest';\n  \n     export default class ApplicationAdapter extends RESTAdapter {\n       urlForDeleteRecord(id, modelName, snapshot) {\n         return super.urlForDeleteRecord(...arguments) + '/destroy';\n       }\n     }\n     ```\n  \n     @method urlForDeleteRecord\n      @public\n     @param {String} id\n     @param {String} modelName\n     @param {Snapshot} snapshot\n     @return {String} url\n     */\n  function urlForDeleteRecord(id, modelName, snapshot) {\n    return this._buildURL(modelName, id);\n  }\n\n  /**\n      @method urlPrefix\n      @private\n      @param {String} path\n      @param {String} parentURL\n      @return {String} urlPrefix\n    */\n  function urlPrefix(path, parentURL) {\n    let {\n      host,\n      namespace\n    } = this;\n    if (!host || host === '/') {\n      host = '';\n    }\n    if (path) {\n      // Protocol relative url\n      if (/^\\/\\//.test(path) || /http(s)?:\\/\\//.test(path)) {\n        // Do nothing, the full host is already included.\n        return path;\n\n        // Absolute path\n      } else if (path.charAt(0) === '/') {\n        return `${host}${path}`;\n        // Relative path\n      } else {\n        return `${parentURL}/${path}`;\n      }\n    }\n\n    // No path provided\n    let url = [];\n    if (host) {\n      url.push(host);\n    }\n    if (namespace) {\n      url.push(namespace);\n    }\n    return url.join('/');\n  }\n\n  /**\n      Determines the pathname for a given type.\n  \n      By default, it pluralizes the type's name (for example,\n      'post' becomes 'posts' and 'person' becomes 'people').\n  \n      ### Pathname customization\n  \n      For example, if you have an object `LineItem` with an\n      endpoint of `/line_items/`.\n  \n      ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n      import { decamelize, pluralize } from '<app-name>/utils/string-utils';\n  \n      export default class ApplicationAdapter extends RESTAdapter {\n        pathForType(modelName) {\n          var decamelized = decamelize(modelName);\n          return pluralize(decamelized);\n        }\n      }\n      ```\n  \n      @method pathForType\n      @public\n      @param {String} modelName\n      @return {String} path\n    **/\n  function pathForType(modelName) {\n    let camelized = (0, _string.camelize)(modelName);\n    return (0, _emberInflector.pluralize)(camelized);\n  }\n\n  // we build it this way vs casting to BuildURLMixin so that any\n  // changes to the interface surface as errors here.\n  const mixinProps = {\n    buildURL,\n    _buildURL,\n    urlForFindRecord,\n    urlForFindAll,\n    urlForQueryRecord,\n    urlForQuery,\n    urlForFindMany,\n    urlForFindHasMany,\n    urlForFindBelongsTo,\n    urlForCreateRecord,\n    urlForDeleteRecord,\n    urlForUpdateRecord,\n    urlPrefix,\n    pathForType\n  };\n  var BuildURLMixin = _exports.B = _mixin.default.create(mixinProps);\n});","define(\"@ember-data/adapter/error\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.UnauthorizedError = _exports.TimeoutError = _exports.ServerError = _exports.NotFoundError = _exports.InvalidError = _exports.ForbiddenError = _exports.ConflictError = _exports.AbortError = void 0;\n  _exports.default = AdapterError;\n  _exports.errorsArrayToHash = errorsArrayToHash;\n  _exports.errorsHashToArray = errorsHashToArray;\n  /**\n    ## Overview\n  \n    <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    An `AdapterError` is used by an adapter to signal that an error occurred\n    during a request to an external API. It indicates a generic error, and\n    subclasses are used to indicate specific error states.\n  \n    To create a custom error to signal a specific error state in communicating\n    with an external API, extend the `AdapterError`. For example, if the\n    external API exclusively used HTTP `503 Service Unavailable` to indicate\n    it was closed for maintenance:\n  \n    ```app/adapters/maintenance-error.js\n    import AdapterError from '@ember-data/adapter/error';\n  \n    export default AdapterError.extend({ message: \"Down for maintenance.\" });\n    ```\n  \n    This error would then be returned by an adapter's `handleResponse` method:\n  \n    ```app/adapters/application.js\n    import JSONAPIAdapter from '@ember-data/adapter/json-api';\n    import MaintenanceError from './maintenance-error';\n  \n    export default class ApplicationAdapter extends JSONAPIAdapter {\n      handleResponse(status) {\n        if (503 === status) {\n          return new MaintenanceError();\n        }\n  \n        return super.handleResponse(...arguments);\n      }\n    }\n    ```\n  \n    And can then be detected in an application and used to send the user to an\n    `under-maintenance` route:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import MaintenanceError from '../adapters/maintenance-error';\n  \n    export default class ApplicationRoute extends Route {\n      actions: {\n        error(error, transition) {\n          if (error instanceof MaintenanceError) {\n            this.transitionTo('under-maintenance');\n            return;\n          }\n  \n          // ...other error handling logic\n        }\n      }\n    }\n    ```\n  \n    @main @ember-data/adapter/error\n    @class AdapterError\n    @public\n  */\n  function AdapterError(errors, message = 'Adapter operation failed') {\n    this.isAdapterError = true;\n    let error = Error.call(this, message);\n    if (error) {\n      this.stack = error.stack;\n      this.description = error.description;\n      this.fileName = error.fileName;\n      this.lineNumber = error.lineNumber;\n      this.message = error.message;\n      this.name = error.name;\n      this.number = error.number;\n    }\n    this.errors = errors || [{\n      title: 'Adapter Error',\n      detail: message\n    }];\n  }\n  function extendFn(ErrorClass) {\n    return function ({\n      message: defaultMessage\n    } = {}) {\n      return extend(ErrorClass, defaultMessage);\n    };\n  }\n  function extend(ParentErrorClass, defaultMessage) {\n    let ErrorClass = function (errors, message) {\n      (false && !(Array.isArray(errors || [])) && (0, _debug.assert)('`AdapterError` expects json-api formatted errors array.', Array.isArray(errors || [])));\n      ParentErrorClass.call(this, errors, message || defaultMessage);\n    };\n    ErrorClass.prototype = Object.create(ParentErrorClass.prototype);\n    ErrorClass.extend = extendFn(ErrorClass);\n    return ErrorClass;\n  }\n  AdapterError.prototype = Object.create(Error.prototype);\n  AdapterError.prototype.code = 'AdapterError';\n  AdapterError.extend = extendFn(AdapterError);\n\n  /**\n    A `InvalidError` is used by an adapter to signal the external API\n    was unable to process a request because the content was not\n    semantically correct or meaningful per the API. Usually, this means a\n    record failed some form of server-side validation. When a promise\n    from an adapter is rejected with a `InvalidError` the record will\n    transition to the `invalid` state and the errors will be set to the\n    `errors` property on the record.\n  \n    For Ember Data to correctly map errors to their corresponding\n    properties on the model, Ember Data expects each error to be\n    a valid JSON-API error object with a `source/pointer` that matches\n    the property name. For example, if you had a Post model that\n    looked like this.\n  \n    ```app/models/post.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @attr('string') title;\n      @attr('string') content;\n    }\n    ```\n  \n    To show an error from the server related to the `title` and\n    `content` properties your adapter could return a promise that\n    rejects with a `InvalidError` object that looks like this:\n  \n    ```app/adapters/post.js\n    import RSVP from 'RSVP';\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { InvalidError } from '@ember-data/adapter/error';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      updateRecord() {\n        // Fictional adapter that always rejects\n        return RSVP.reject(new InvalidError([\n          {\n            detail: 'Must be unique',\n            source: { pointer: '/data/attributes/title' }\n          },\n          {\n            detail: 'Must not be blank',\n            source: { pointer: '/data/attributes/content'}\n          }\n        ]));\n      }\n    }\n    ```\n  \n    Your backend may use different property names for your records the\n    store will attempt to extract and normalize the errors using the\n    serializer's `extractErrors` method before the errors get added to\n    the model. As a result, it is safe for the `InvalidError` to\n    wrap the error payload unaltered.\n  \n    @class InvalidError\n    @public\n    @extends AdapterError\n  */\n  // TODO @deprecate extractError documentation\n  const InvalidError = _exports.InvalidError = extend(AdapterError, 'The adapter rejected the commit because it was invalid');\n  InvalidError.prototype.code = 'InvalidError';\n\n  /**\n    A `TimeoutError` is used by an adapter to signal that a request\n    to the external API has timed out. I.e. no response was received from\n    the external API within an allowed time period.\n  \n    An example use case would be to warn the user to check their internet\n    connection if an adapter operation has timed out:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { TimeoutError } from '@ember-data/adapter/error';\n    import { action } from '@ember/object';\n  \n    export default class ApplicationRoute extends Route {\n      @action\n      error(error, transition) {\n        if (error instanceof TimeoutError) {\n          // alert the user\n          alert('Are you still connected to the Internet?');\n          return;\n        }\n  \n        // ...other error handling logic\n      }\n    }\n    ```\n  \n    @class TimeoutError\n    @public\n    @extends AdapterError\n  */\n  const TimeoutError = _exports.TimeoutError = extend(AdapterError, 'The adapter operation timed out');\n  TimeoutError.prototype.code = 'TimeoutError';\n\n  /**\n    A `AbortError` is used by an adapter to signal that a request to\n    the external API was aborted. For example, this can occur if the user\n    navigates away from the current page after a request to the external API\n    has been initiated but before a response has been received.\n  \n    @class AbortError\n    @public\n    @extends AdapterError\n  */\n  const AbortError = _exports.AbortError = extend(AdapterError, 'The adapter operation was aborted');\n  AbortError.prototype.code = 'AbortError';\n\n  /**\n    A `UnauthorizedError` equates to a HTTP `401 Unauthorized` response\n    status. It is used by an adapter to signal that a request to the external\n    API was rejected because authorization is required and has failed or has not\n    yet been provided.\n  \n    An example use case would be to redirect the user to a login route if a\n    request is unauthorized:\n  \n    ```app/routes/application.js\n    import Route from '@ember/routing/route';\n    import { UnauthorizedError } from '@ember-data/adapter/error';\n    import { action } from '@ember/object';\n  \n    export default class ApplicationRoute extends Route {\n      @action\n      error(error, transition) {\n        if (error instanceof UnauthorizedError) {\n          // go to the login route\n          this.transitionTo('login');\n          return;\n        }\n  \n        // ...other error handling logic\n      }\n    }\n    ```\n  \n    @class UnauthorizedError\n    @public\n    @extends AdapterError\n  */\n  const UnauthorizedError = _exports.UnauthorizedError = extend(AdapterError, 'The adapter operation is unauthorized');\n  UnauthorizedError.prototype.code = 'UnauthorizedError';\n\n  /**\n    A `ForbiddenError` equates to a HTTP `403 Forbidden` response status.\n    It is used by an adapter to signal that a request to the external API was\n    valid but the server is refusing to respond to it. If authorization was\n    provided and is valid, then the authenticated user does not have the\n    necessary permissions for the request.\n  \n    @class ForbiddenError\n    @public\n    @extends AdapterError\n  */\n  const ForbiddenError = _exports.ForbiddenError = extend(AdapterError, 'The adapter operation is forbidden');\n  ForbiddenError.prototype.code = 'ForbiddenError';\n\n  /**\n    A `NotFoundError` equates to a HTTP `404 Not Found` response status.\n    It is used by an adapter to signal that a request to the external API\n    was rejected because the resource could not be found on the API.\n  \n    An example use case would be to detect if the user has entered a route\n    for a specific model that does not exist. For example:\n  \n    ```app/routes/post.js\n    import Route from '@ember/routing/route';\n    import { NotFoundError } from '@ember-data/adapter/error';\n    import { inject as service } from '@ember/service';\n    import { action } from '@ember/object';\n  \n    export default class PostRoute extends Route {\n      @service store;\n      model(params) {\n        return this.store.findRecord('post', params.post_id);\n      }\n      @action\n      error(error, transition) {\n        if (error instanceof NotFoundError) {\n          // redirect to a list of all posts instead\n          this.transitionTo('posts');\n        } else {\n          // otherwise let the error bubble\n          return true;\n        }\n      }\n    }\n    ```\n  \n    @class NotFoundError\n    @public\n    @extends AdapterError\n  */\n  const NotFoundError = _exports.NotFoundError = extend(AdapterError, 'The adapter could not find the resource');\n  NotFoundError.prototype.code = 'NotFoundError';\n\n  /**\n    A `ConflictError` equates to a HTTP `409 Conflict` response status.\n    It is used by an adapter to indicate that the request could not be processed\n    because of a conflict in the request. An example scenario would be when\n    creating a record with a client-generated ID but that ID is already known\n    to the external API.\n  \n    @class ConflictError\n    @public\n    @extends AdapterError\n  */\n  const ConflictError = _exports.ConflictError = extend(AdapterError, 'The adapter operation failed due to a conflict');\n  ConflictError.prototype.code = 'ConflictError';\n\n  /**\n    A `ServerError` equates to a HTTP `500 Internal Server Error` response\n    status. It is used by the adapter to indicate that a request has failed\n    because of an error in the external API.\n  \n    @class ServerError\n    @public\n    @extends AdapterError\n  */\n  const ServerError = _exports.ServerError = extend(AdapterError, 'The adapter operation failed due to a server error');\n  ServerError.prototype.code = 'ServerError';\n  function makeArray(value) {\n    return Array.isArray(value) ? value : [value];\n  }\n  const SOURCE_POINTER_REGEXP = /^\\/?data\\/(attributes|relationships)\\/(.*)/;\n  const SOURCE_POINTER_PRIMARY_REGEXP = /^\\/?data/;\n  const PRIMARY_ATTRIBUTE_KEY = 'base';\n  /**\n    Convert an hash of errors into an array with errors in JSON-API format.\n     ```javascript\n     import { errorsHashToArray } from '@ember-data/adapter/error';\n  \n     let errors = {\n      base: 'Invalid attributes on saving this record',\n      name: 'Must be present',\n      age: ['Must be present', 'Must be a number']\n    };\n     let errorsArray = errorsHashToArray(errors);\n    // [\n    //   {\n    //     title: \"Invalid Document\",\n    //     detail: \"Invalid attributes on saving this record\",\n    //     source: { pointer: \"/data\" }\n    //   },\n    //   {\n    //     title: \"Invalid Attribute\",\n    //     detail: \"Must be present\",\n    //     source: { pointer: \"/data/attributes/name\" }\n    //   },\n    //   {\n    //     title: \"Invalid Attribute\",\n    //     detail: \"Must be present\",\n    //     source: { pointer: \"/data/attributes/age\" }\n    //   },\n    //   {\n    //     title: \"Invalid Attribute\",\n    //     detail: \"Must be a number\",\n    //     source: { pointer: \"/data/attributes/age\" }\n    //   }\n    // ]\n    ```\n    @method errorsHashToArray\n    @for @ember-data/adapter/error\n    @static\n    @deprecated\n    @public\n    @param {Object} errors hash with errors as properties\n    @return {Array} array of errors in JSON-API format\n  */\n  function errorsHashToArray(errors) {\n    {\n      (false && !(false) && (0, _debug.deprecate)(`errorsHashToArray helper has been deprecated.`, false, {\n        id: 'ember-data:deprecate-errors-hash-to-array-helper',\n        for: 'ember-data',\n        until: '5.0',\n        since: {\n          available: '4.7',\n          enabled: '4.7'\n        }\n      }));\n      let out = [];\n      if (errors) {\n        Object.keys(errors).forEach(key => {\n          let messages = makeArray(errors[key]);\n          for (let i = 0; i < messages.length; i++) {\n            let title = 'Invalid Attribute';\n            let pointer = `/data/attributes/${key}`;\n            if (key === PRIMARY_ATTRIBUTE_KEY) {\n              title = 'Invalid Document';\n              pointer = `/data`;\n            }\n            out.push({\n              title: title,\n              detail: messages[i],\n              source: {\n                pointer: pointer\n              }\n            });\n          }\n        });\n      }\n      return out;\n    }\n    (false && !(false) && (0, _debug.assert)(`errorsHashToArray helper has been removed`));\n  }\n\n  /**\n    Convert an array of errors in JSON-API format into an object.\n  \n    ```javascript\n    import { errorsArrayToHash } from '@ember-data/adapter/error';\n  \n    let errorsArray = [\n      {\n        title: 'Invalid Attribute',\n        detail: 'Must be present',\n        source: { pointer: '/data/attributes/name' }\n      },\n      {\n        title: 'Invalid Attribute',\n        detail: 'Must be present',\n        source: { pointer: '/data/attributes/age' }\n      },\n      {\n        title: 'Invalid Attribute',\n        detail: 'Must be a number',\n        source: { pointer: '/data/attributes/age' }\n      }\n    ];\n  \n    let errors = errorsArrayToHash(errorsArray);\n    // {\n    //   \"name\": [\"Must be present\"],\n    //   \"age\":  [\"Must be present\", \"must be a number\"]\n    // }\n    ```\n  \n    @method errorsArrayToHash\n    @static\n    @for @ember-data/adapter/error\n    @deprecated\n    @public\n    @param {Array} errors array of errors in JSON-API format\n    @return {Object}\n  */\n  function errorsArrayToHash(errors) {\n    {\n      (false && !(false) && (0, _debug.deprecate)(`errorsArrayToHash helper has been deprecated.`, false, {\n        id: 'ember-data:deprecate-errors-array-to-hash-helper',\n        for: 'ember-data',\n        until: '5.0',\n        since: {\n          available: '4.7',\n          enabled: '4.7'\n        }\n      }));\n      let out = {};\n      if (errors) {\n        errors.forEach(error => {\n          if (error.source && error.source.pointer) {\n            let key = error.source.pointer.match(SOURCE_POINTER_REGEXP);\n            if (key) {\n              key = key[2];\n            } else if (error.source.pointer.search(SOURCE_POINTER_PRIMARY_REGEXP) !== -1) {\n              key = PRIMARY_ATTRIBUTE_KEY;\n            }\n            if (key) {\n              out[key] = out[key] || [];\n              out[key].push(error.detail || error.title);\n            }\n          }\n        });\n      }\n      return out;\n    }\n    (false && !(false) && (0, _debug.assert)(`errorsArrayToHash helper has been removed`));\n  }\n});","define(\"@ember-data/adapter/index-f54121ea\", [\"exports\", \"@ember/object\", \"@ember/service\"], function (_exports, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.A = void 0;\n  _exports._ = _applyDecoratedDescriptor;\n  function _initializerDefineProperty(target, property, descriptor, context) {\n    if (!descriptor) return;\n    Object.defineProperty(target, property, {\n      enumerable: descriptor.enumerable,\n      configurable: descriptor.configurable,\n      writable: descriptor.writable,\n      value: descriptor.initializer ? descriptor.initializer.call(context) : void 0\n    });\n  }\n  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {\n    var desc = {};\n    Object.keys(descriptor).forEach(function (key) {\n      desc[key] = descriptor[key];\n    });\n    desc.enumerable = !!desc.enumerable;\n    desc.configurable = !!desc.configurable;\n    if ('value' in desc || desc.initializer) {\n      desc.writable = true;\n    }\n    desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n      return decorator(target, property, desc) || desc;\n    }, desc);\n    if (context && desc.initializer !== void 0) {\n      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n      desc.initializer = undefined;\n    }\n    if (desc.initializer === void 0) {\n      Object.defineProperty(target, property, desc);\n      desc = null;\n    }\n    return desc;\n  }\n  var _class, _descriptor;\n  /**\n    An adapter is an object that receives requests from a store and\n    translates them into the appropriate action to take against your\n    persistence layer. The persistence layer is usually an HTTP API but\n    may be anything, such as the browser's local storage. Typically the\n    adapter is not invoked directly instead its functionality is accessed\n    through the `store`.\n  \n    > ⚠️ CAUTION you likely want the docs for [<Interface> Adapter](/ember-data/release/classes/%3CInterface%3E%20Adapter)\n    > as extending this abstract class is unnecessary.\n  \n    ### Creating an Adapter\n  \n    Create a new subclass of `Adapter` in the `app/adapters` folder:\n  \n    ```app/adapters/application.js\n    import Adapter from '@ember-data/adapter';\n  \n    export default Adapter.extend({\n      // ...your code here\n    });\n    ```\n  \n    Model-specific adapters can be created by putting your adapter\n    class in an `app/adapters/` + `model-name` + `.js` file of the application.\n  \n    ```app/adapters/post.js\n    import Adapter from '@ember-data/adapter';\n  \n    export default Adapter.extend({\n      // ...Post-specific adapter code goes here\n    });\n    ```\n  \n    `Adapter` is an abstract base class that you should override in your\n    application to customize it for your backend. The minimum set of methods\n    that you should implement is:\n  \n      * `findRecord()`\n      * `createRecord()`\n      * `updateRecord()`\n      * `deleteRecord()`\n      * `findAll()`\n      * `query()`\n  \n    To improve the network performance of your application, you can optimize\n    your adapter by overriding these lower-level methods:\n  \n      * `findMany()`\n  \n  \n    For an example of the implementation, see `RESTAdapter`, the\n    included REST adapter.\n  \n    @class Adapter\n    @public\n    @extends Ember.EmberObject\n  */\n  let Adapter = _exports.A = (_class = class Adapter extends _object.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n    }\n    /**\n      The `findRecord()` method is invoked when the store is asked for a record that\n      has not previously been loaded. In response to `findRecord()` being called, you\n      should query your persistence layer for a record with the given ID. The `findRecord`\n      method should return a promise that will resolve to a JavaScript object that will be\n      normalized by the serializer.\n       Here is an example of the `findRecord` implementation:\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        findRecord(store, type, id, snapshot) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}/${id}`).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method findRecord\n      @param {Store} store\n      @param {Model} type\n      @param {String} id\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */ // @ts-expect-error\n    findRecord(store, type, id, snapshot) {}\n\n    /**\n      The `findAll()` method is used to retrieve all records for a given type.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        findAll(store, type) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method findAll\n      @param {Store} store\n      @param {Model} type\n      @param {undefined} neverSet a value is never provided to this argument\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n      @public\n    */\n    findAll(store, type, neverSet, snapshotRecordArray) {}\n\n    /**\n      This method is called when you call `query` on the store.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        query(store, type, query) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method query\n      @param {Store} store\n      @param {Model} type\n      @param {Object} query\n      @param {Collection} recordArray\n      @param {Object} adapterOptions\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    query(store, type, query) {}\n\n    /**\n      The `queryRecord()` method is invoked when the store is asked for a single\n      record through a query object.\n       In response to `queryRecord()` being called, you should always fetch fresh\n      data. Once found, you can asynchronously call the store's `push()` method\n      to push the record into the store.\n       Here is an example `queryRecord` implementation:\n       Example\n       ```app/adapters/application.js\n      import Adapter, { BuildURLMixin } from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter.extend(BuildURLMixin) {\n        queryRecord(store, type, query) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.getJSON(`/${type.modelName}`, query).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method queryRecord\n      @param {Store} store\n      @param {subclass of Model} type\n      @param {Object} query\n      @param {Object} adapterOptions\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    queryRecord(store, type, query, adapterOptions) {}\n\n    /**\n      If the globally unique IDs for your records should be generated on the client,\n      implement the `generateIdForRecord()` method. This method will be invoked\n      each time you create a new record, and the value returned from it will be\n      assigned to the record's `primaryKey`.\n       Most traditional REST-like HTTP APIs will not use this method. Instead, the ID\n      of the record will be set by the server, and your adapter will update the store\n      with the new ID when it calls `didCreateRecord()`. Only implement this method if\n      you intend to generate record IDs on the client-side.\n       The `generateIdForRecord()` method will be invoked with the requesting store as\n      the first parameter and the newly created record as the second parameter:\n       ```javascript\n      import Adapter from '@ember-data/adapter';\n      import { v4 } from 'uuid';\n       export default class ApplicationAdapter extends Adapter {\n        generateIdForRecord(store, type, inputProperties) {\n          return v4();\n        }\n      }\n      ```\n       @method generateIdForRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Object} inputProperties a hash of properties to set on the\n        newly created record.\n      @return {(String|Number)} id\n      @public\n    */\n\n    /**\n      Proxies to the serializer's `serialize` method.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n       export default class ApplicationAdapter extends Adapter {\n        createRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let url = `/${type.modelName}`;\n           // ...\n        }\n      }\n      ```\n       @method serialize\n      @param {Snapshot} snapshot\n      @param {Object}   options\n      @return {Object} serialized snapshot\n      @public\n    */\n    serialize(snapshot, options) {\n      return snapshot.serialize(options);\n    }\n\n    /**\n      Implement this method in a subclass to handle the creation of\n      new records.\n       Serializes the record and sends it to the server.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        createRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n           return new RSVP.Promise(function (resolve, reject) {\n            $.ajax({\n              type: 'POST',\n              url: `/${type.modelName}`,\n              dataType: 'json',\n              data: data\n            }).then(function (data) {\n              resolve(data);\n            }, function (jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method createRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    createRecord(store, type, snapshot) {}\n\n    /**\n      Implement this method in a subclass to handle the updating of\n      a record.\n       Serializes the record update and sends it to the server.\n       The updateRecord method is expected to return a promise that will\n      resolve with the serialized record. This allows the backend to\n      inform the Ember Data store the current state of this record after\n      the update. If it is not possible to return a serialized record\n      the updateRecord promise can also resolve with `undefined` and the\n      Ember Data store will assume all of the updates were successfully\n      applied on the backend.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        updateRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let id = snapshot.id;\n           return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'PUT',\n              url: `/${type.modelName}/${id}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method updateRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    updateRecord(store, type, snapshot) {}\n\n    /**\n      Implement this method in a subclass to handle the deletion of\n      a record.\n       Sends a delete request for the record to the server.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        deleteRecord(store, type, snapshot) {\n          let data = this.serialize(snapshot, { includeId: true });\n          let id = snapshot.id;\n           return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'DELETE',\n              url: `/${type.modelName}/${id}`,\n              dataType: 'json',\n              data: data\n            }).then(function(data) {\n              resolve(data)\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method deleteRecord\n      @param {Store} store\n      @param {Model} type   the Model class of the record\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n      @public\n    */\n    // @ts-expect-error\n    deleteRecord(store, type, snapshot) {}\n\n    /**\n      By default the store will try to coalesce all `findRecord` calls within the same runloop\n      into as few requests as possible by calling groupRecordsForFindMany and passing it into a findMany call.\n      You can opt out of this behaviour by either not implementing the findMany hook or by setting\n      coalesceFindRequests to false.\n       @property coalesceFindRequests\n      @public\n      @type {boolean}\n    */\n    get coalesceFindRequests() {\n      let coalesceFindRequests = this._coalesceFindRequests;\n      if (typeof coalesceFindRequests === 'boolean') {\n        return coalesceFindRequests;\n      }\n      return this._coalesceFindRequests = true;\n    }\n    set coalesceFindRequests(value) {\n      this._coalesceFindRequests = value;\n    }\n\n    /**\n      The store will call `findMany` instead of multiple `findRecord`\n      requests to find multiple records at once if coalesceFindRequests\n      is true.\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n      import RSVP from 'RSVP';\n      import $ from 'jquery';\n       export default class ApplicationAdapter extends Adapter {\n        findMany(store, type, ids, snapshots) {\n          return new RSVP.Promise(function(resolve, reject) {\n            $.ajax({\n              type: 'GET',\n              url: `/${type.modelName}/`,\n              dataType: 'json',\n              data: { filter: { id: ids.join(',') } }\n            }).then(function(data) {\n              resolve(data);\n            }, function(jqXHR) {\n              jqXHR.then = null; // tame jQuery's ill mannered promises\n              reject(jqXHR);\n            });\n          });\n        }\n      }\n      ```\n       @method findMany\n      @param {Store} store\n      @param {Model} type   the Model class of the records\n      @param {Array}    ids\n      @param {Array} snapshots\n      @return {Promise} promise\n      @public\n    */\n\n    /**\n      Organize records into groups, each of which is to be passed to separate\n      calls to `findMany`.\n       For example, if your API has nested URLs that depend on the parent, you will\n      want to group records by their parent.\n       The default implementation returns the records as a single group.\n       @method groupRecordsForFindMany\n      @public\n      @param {Store} store\n      @param {Array} snapshots\n      @return {Array}  an array of arrays of records, each of which is to be\n                        loaded separately by `findMany`.\n    */\n    groupRecordsForFindMany(store, snapshots) {\n      return [snapshots];\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record from the adapter when a record is requested by\n      `store.findRecord`.\n       If this method returns `true`, the store will re-fetch a record from\n      the adapter. If this method returns `false`, the store will resolve\n      immediately using the cached record.\n       For example, if you are building an events ticketing system, in which users\n      can only reserve tickets for 20 minutes at a time, and want to ensure that\n      in each route you have data that is no more than 20 minutes old you could\n      write:\n       ```javascript\n      shouldReloadRecord(store, ticketSnapshot) {\n        let lastAccessedAt = ticketSnapshot.attr('lastAccessedAt');\n        let timeDiff = moment().diff(lastAccessedAt, 'minutes');\n         if (timeDiff > 20) {\n          return true;\n        } else {\n          return false;\n        }\n      }\n      ```\n       This method would ensure that whenever you do `store.findRecord('ticket',\n      id)` you will always get a ticket that is no more than 20 minutes old. In\n      case the cached version is more than 20 minutes old, `findRecord` will not\n      resolve until you fetched the latest version.\n       By default this hook returns `false`, as most UIs should not block user\n      interactions while waiting on data update.\n       Note that, with default settings, `shouldBackgroundReloadRecord` will always\n      re-fetch the records in the background even if `shouldReloadRecord` returns\n      `false`. You can override `shouldBackgroundReloadRecord` if this does not\n      suit your use case.\n       @since 1.13.0\n      @method shouldReloadRecord\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @return {Boolean}\n      @public\n    */\n    shouldReloadRecord(store, snapshot) {\n      return false;\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload all records from the adapter when records are requested by\n      `store.findAll`.\n       If this method returns `true`, the store will re-fetch all records from\n      the adapter. If this method returns `false`, the store will resolve\n      immediately using the cached records.\n       For example, if you are building an events ticketing system, in which users\n      can only reserve tickets for 20 minutes at a time, and want to ensure that\n      in each route you have data that is no more than 20 minutes old you could\n      write:\n       ```javascript\n      shouldReloadAll(store, snapshotArray) {\n        let snapshots = snapshotArray.snapshots();\n         return snapshots.any((ticketSnapshot) => {\n          let lastAccessedAt = ticketSnapshot.attr('lastAccessedAt');\n          let timeDiff = moment().diff(lastAccessedAt, 'minutes');\n           if (timeDiff > 20) {\n            return true;\n          } else {\n            return false;\n          }\n        });\n      }\n      ```\n       This method would ensure that whenever you do `store.findAll('ticket')` you\n      will always get a list of tickets that are no more than 20 minutes old. In\n      case a cached version is more than 20 minutes old, `findAll` will not\n      resolve until you fetched the latest versions.\n       By default, this method returns `true` if the passed `snapshotRecordArray`\n      is empty (meaning that there are no records locally available yet),\n      otherwise, it returns `false`.\n       Note that, with default settings, `shouldBackgroundReloadAll` will always\n      re-fetch all the records in the background even if `shouldReloadAll` returns\n      `false`. You can override `shouldBackgroundReloadAll` if this does not suit\n      your use case.\n       @since 1.13.0\n      @method shouldReloadAll\n      @param {Store} store\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Boolean}\n      @public\n    */\n    shouldReloadAll(store, snapshotRecordArray) {\n      return !snapshotRecordArray.length;\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record after the `store.findRecord` method resolves a\n      cached record.\n       This method is *only* checked by the store when the store is\n      returning a cached record.\n       If this method returns `true` the store will re-fetch a record from\n      the adapter.\n       For example, if you do not want to fetch complex data over a mobile\n      connection, or if the network is down, you can implement\n      `shouldBackgroundReloadRecord` as follows:\n       ```javascript\n      shouldBackgroundReloadRecord(store, snapshot) {\n        let { downlink, effectiveType } = navigator.connection;\n         return downlink > 0 && effectiveType === '4g';\n      }\n      ```\n       By default, this hook returns `true` so the data for the record is updated\n      in the background.\n       @since 1.13.0\n      @method shouldBackgroundReloadRecord\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @return {Boolean}\n      @public\n    */\n    shouldBackgroundReloadRecord(store, Snapshot) {\n      return true;\n    }\n\n    /**\n      This method is used by the store to determine if the store should\n      reload a record array after the `store.findAll` method resolves\n      with a cached record array.\n       This method is *only* checked by the store when the store is\n      returning a cached record array.\n       If this method returns `true` the store will re-fetch all records\n      from the adapter.\n       For example, if you do not want to fetch complex data over a mobile\n      connection, or if the network is down, you can implement\n      `shouldBackgroundReloadAll` as follows:\n       ```javascript\n      shouldBackgroundReloadAll(store, snapshotArray) {\n        let { downlink, effectiveType } = navigator.connection;\n         return downlink > 0 && effectiveType === '4g';\n      }\n      ```\n       By default this method returns `true`, indicating that a background reload\n      should always be triggered.\n       @since 1.13.0\n      @method shouldBackgroundReloadAll\n      @param {Store} store\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Boolean}\n      @public\n    */\n    shouldBackgroundReloadAll(store, snapshotRecordArray) {\n      return true;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"@ember-data/adapter/index\", [\"exports\", \"@ember-data/adapter/index-f54121ea\", \"@ember-data/adapter/build-url-mixin-18db8c8b\"], function (_exports, _indexF54121ea, _buildUrlMixin18db8c8b) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"BuildURLMixin\", {\n    enumerable: true,\n    get: function () {\n      return _buildUrlMixin18db8c8b.B;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _indexF54121ea.A;\n    }\n  });\n});","define(\"@ember-data/adapter/json-api\", [\"exports\", \"@ember/debug\", \"@ember/string\", \"ember-inflector\", \"@ember-data/adapter/serialize-into-hash-b9092b25\", \"@ember-data/adapter/rest\"], function (_exports, _debug, _string, _emberInflector, _serializeIntoHashB9092b, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    @module @ember-data/adapter/json-api\n   */\n\n  /**\n    ## Overview\n  \n    <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    The `JSONAPIAdapter` is an adapter whichtransforms the store's\n    requests into HTTP requests that follow the [JSON API format](http://jsonapi.org/format/).\n  \n    ## JSON API Conventions\n  \n    The JSONAPIAdapter uses JSON API conventions for building the URL\n    for a record and selecting the HTTP verb to use with a request. The\n    actions you can take on a record map onto the following URLs in the\n    JSON API adapter:\n  \n  <table>\n    <tr>\n      <th>\n        Action\n      </th>\n      <th>\n        HTTP Verb\n      </th>\n      <th>\n        URL\n      </th>\n    </tr>\n    <tr>\n      <th>\n        `store.findRecord('post', 123)`\n      </th>\n      <td>\n        GET\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n    <tr>\n      <th>\n        `store.findAll('post')`\n      </th>\n      <td>\n        GET\n      </td>\n      <td>\n        /posts\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Update `postRecord.save()`\n      </th>\n      <td>\n        PATCH\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Create `store.createRecord('post').save()`\n      </th>\n      <td>\n        POST\n      </td>\n      <td>\n        /posts\n      </td>\n    </tr>\n    <tr>\n      <th>\n        Delete `postRecord.destroyRecord()`\n      </th>\n      <td>\n        DELETE\n      </td>\n      <td>\n        /posts/123\n      </td>\n    </tr>\n  </table>\n  \n    ## Success and failure\n  \n    The JSONAPIAdapter will consider a success any response with a\n    status code of the 2xx family (\"Success\"), as well as 304 (\"Not\n    Modified\"). Any other status code will be considered a failure.\n  \n    On success, the request promise will be resolved with the full\n    response payload.\n  \n    Failed responses with status code 422 (\"Unprocessable Entity\") will\n    be considered \"invalid\". The response will be discarded, except for\n    the `errors` key. The request promise will be rejected with a\n    `InvalidError`. This error object will encapsulate the saved\n    `errors` value.\n  \n    Any other status codes will be treated as an adapter error. The\n    request promise will be rejected, similarly to the invalid case,\n    but with an instance of `AdapterError` instead.\n  \n    ### Endpoint path customization\n  \n    Endpoint paths can be prefixed with a `namespace` by setting the\n    namespace property on the adapter:\n  \n    ```app/adapters/application.js\n    import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n    export default class ApplicationAdapter extends JSONAPIAdapter {\n      namespace = 'api/1';\n    }\n    ```\n    Requests for the `person` model would now target `/api/1/people/1`.\n  \n    ### Host customization\n  \n    An adapter can target other hosts by setting the `host` property.\n  \n    ```app/adapters/application.js\n    import JSONAPIAdapter from '@ember-data/adapter/json-api';\n  \n    export default class ApplicationAdapter extends JSONAPIAdapter {\n      host = 'https://api.example.com';\n    }\n    ```\n  \n    Requests for the `person` model would now target\n    `https://api.example.com/people/1`.\n  \n    @since 1.13.0\n    @class JSONAPIAdapter\n    @main @ember-data/adapter/json-api\n    @public\n    @constructor\n    @extends RESTAdapter\n  */\n  class JSONAPIAdapter extends _rest.default {\n    constructor(...args) {\n      super(...args);\n      this._defaultContentType = 'application/vnd.api+json';\n    }\n    /**\n      @method ajaxOptions\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Object}\n    */\n    ajaxOptions(url, type, options = {}) {\n      let hash = super.ajaxOptions(url, type, options);\n      hash.headers['Accept'] = hash.headers['Accept'] || 'application/vnd.api+json';\n      return hash;\n    }\n\n    /**\n      By default the JSONAPIAdapter will send each find request coming from a `store.find`\n      or from accessing a relationship separately to the server. If your server supports passing\n      ids as a query string, you can set coalesceFindRequests to true to coalesce all find requests\n      within a single runloop.\n       For example, if you have an initial payload of:\n       ```javascript\n      {\n        data: {\n          id: 1,\n          type: 'post',\n          relationship: {\n            comments: {\n              data: [\n                { id: 1, type: 'comment' },\n                { id: 2, type: 'comment' }\n              ]\n            }\n          }\n        }\n      }\n      ```\n       By default calling `post.comments` will trigger the following requests(assuming the\n      comments haven't been loaded before):\n       ```\n      GET /comments/1\n      GET /comments/2\n      ```\n       If you set coalesceFindRequests to `true` it will instead trigger the following request:\n       ```\n      GET /comments?filter[id]=1,2\n      ```\n       Setting coalesceFindRequests to `true` also works for `store.find` requests and `belongsTo`\n      relationships accessed within the same runloop. If you set `coalesceFindRequests: true`\n       ```javascript\n      store.findRecord('comment', 1);\n      store.findRecord('comment', 2);\n      ```\n       will also send a request to: `GET /comments?filter[id]=1,2`\n       Note: Requests coalescing rely on URL building strategy. So if you override `buildURL` in your app\n      `groupRecordsForFindMany` more likely should be overridden as well in order for coalescing to work.\n       @property coalesceFindRequests\n      @public\n      @type {boolean}\n    */\n    get coalesceFindRequests() {\n      let coalesceFindRequests = this._coalesceFindRequests;\n      if (typeof coalesceFindRequests === 'boolean') {\n        return coalesceFindRequests;\n      }\n      return this._coalesceFindRequests = false;\n    }\n    set coalesceFindRequests(value) {\n      this._coalesceFindRequests = value;\n    }\n    findMany(store, type, ids, snapshots) {\n      let url = this.buildURL(type.modelName, ids, snapshots, 'findMany');\n      return this.ajax(url, 'GET', {\n        data: {\n          filter: {\n            id: ids.join(',')\n          }\n        }\n      });\n    }\n    pathForType(modelName) {\n      let dasherized = (0, _string.dasherize)(modelName);\n      return (0, _emberInflector.pluralize)(dasherized);\n    }\n    updateRecord(store, schema, snapshot) {\n      const data = (0, _serializeIntoHashB9092b.b)(store, schema, snapshot);\n      const type = snapshot.modelName;\n      const id = snapshot.id;\n      (false && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to update the ${type} record, but the record has no id`, typeof id === 'string' && id.length > 0));\n      let url = this.buildURL(type, id, snapshot, 'updateRecord');\n      return this.ajax(url, 'PATCH', {\n        data: data\n      });\n    }\n  }\n  _exports.default = JSONAPIAdapter;\n});","define(\"@ember-data/adapter/rest\", [\"exports\", \"@ember-data/adapter/index-f54121ea\", \"@ember/application\", \"@ember/debug\", \"@ember/object\", \"@ember/runloop\", \"@ember-data/adapter/serialize-into-hash-b9092b25\", \"@ember-data/adapter/build-url-mixin-18db8c8b\", \"@ember-data/adapter/error\"], function (_exports, _indexF54121ea, _application, _debug, _object, _runloop, _serializeIntoHashB9092b, _buildUrlMixin18db8c8b, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.fetchOptions = fetchOptions;\n  var _dec, _class;\n  /**\n   * <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    The REST adapter allows your store to communicate with an HTTP server by\n    transmitting JSON via XHR.\n  \n    This adapter is designed around the idea that the JSON exchanged with\n    the server should be conventional. It builds URLs in a manner that follows\n    the structure of most common REST-style web services.\n  \n    ## Success and failure\n  \n    The REST adapter will consider a success any response with a status code\n    of the 2xx family (\"Success\"), as well as 304 (\"Not Modified\"). Any other\n    status code will be considered a failure.\n  \n    On success, the request promise will be resolved with the full response\n    payload.\n  \n    Failed responses with status code 422 (\"Unprocessable Entity\") will be\n    considered \"invalid\". The response will be discarded, except for the\n    `errors` key. The request promise will be rejected with a `InvalidError`.\n    This error object will encapsulate the saved `errors` value.\n  \n    Any other status codes will be treated as an \"adapter error\". The request\n    promise will be rejected, similarly to the \"invalid\" case, but with\n    an instance of `AdapterError` instead.\n  \n    ## JSON Structure\n  \n    The REST adapter expects the JSON returned from your server to follow\n    these conventions.\n  \n    ### Object Root\n  \n    The JSON payload should be an object that contains the record inside a\n    root property. For example, in response to a `GET` request for\n    `/posts/1`, the JSON should look like this:\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 1,\n        \"title\": \"I'm Running to Reform the W3C's Tag\",\n        \"author\": \"Yehuda Katz\"\n      }\n    }\n    ```\n  \n    Similarly, in response to a `GET` request for `/posts`, the JSON should\n    look like this:\n  \n    ```js\n    {\n      \"posts\": [\n        {\n          \"id\": 1,\n          \"title\": \"I'm Running to Reform the W3C's Tag\",\n          \"author\": \"Yehuda Katz\"\n        },\n        {\n          \"id\": 2,\n          \"title\": \"Rails is omakase\",\n          \"author\": \"D2H\"\n        }\n      ]\n    }\n    ```\n  \n    Note that the object root can be pluralized for both a single-object response\n    and an array response: the REST adapter is not strict on this. Further, if the\n    HTTP server responds to a `GET` request to `/posts/1` (e.g. the response to a\n    `findRecord` query) with more than one object in the array, Ember Data will\n    only display the object with the matching ID.\n  \n    ### Conventional Names\n  \n    Attribute names in your JSON payload should be the camelCased versions of\n    the attributes in your Ember.js models.\n  \n    For example, if you have a `Person` model:\n  \n    ```app/models/person.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default Model.extend({\n      firstName: attr('string'),\n      lastName: attr('string'),\n      occupation: attr('string')\n    });\n    ```\n  \n    The JSON returned should look like this:\n  \n    ```js\n    {\n      \"people\": {\n        \"id\": 5,\n        \"firstName\": \"Zaphod\",\n        \"lastName\": \"Beeblebrox\",\n        \"occupation\": \"President\"\n      }\n    }\n    ```\n  \n    #### Relationships\n  \n    Relationships are usually represented by ids to the record in the\n    relationship. The related records can then be sideloaded in the\n    response under a key for the type.\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 5,\n        \"title\": \"I'm Running to Reform the W3C's Tag\",\n        \"author\": \"Yehuda Katz\",\n        \"comments\": [1, 2]\n      },\n      \"comments\": [{\n        \"id\": 1,\n        \"author\": \"User 1\",\n        \"message\": \"First!\",\n      }, {\n        \"id\": 2,\n        \"author\": \"User 2\",\n        \"message\": \"Good Luck!\",\n      }]\n    }\n    ```\n  \n    If the records in the relationship are not known when the response\n    is serialized it's also possible to represent the relationship as a\n    URL using the `links` key in the response. Ember Data will fetch\n    this URL to resolve the relationship when it is accessed for the\n    first time.\n  \n    ```js\n    {\n      \"posts\": {\n        \"id\": 5,\n        \"title\": \"I'm Running to Reform the W3C's Tag\",\n        \"author\": \"Yehuda Katz\",\n        \"links\": {\n          \"comments\": \"/posts/5/comments\"\n        }\n      }\n    }\n    ```\n  \n    ### Errors\n  \n    If a response is considered a failure, the JSON payload is expected to include\n    a top-level key `errors`, detailing any specific issues. For example:\n  \n    ```js\n    {\n      \"errors\": {\n        \"msg\": \"Something went wrong\"\n      }\n    }\n    ```\n  \n    This adapter does not make any assumptions as to the format of the `errors`\n    object. It will simply be passed along as is, wrapped in an instance\n    of `InvalidError` or `AdapterError`. The serializer can interpret it\n    afterwards.\n  \n    ## Customization\n  \n    ### Endpoint path customization\n  \n    Endpoint paths can be prefixed with a `namespace` by setting the namespace\n    property on the adapter:\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      namespace = 'api/1';\n    }\n    ```\n    Requests for the `Person` model would now target `/api/1/people/1`.\n  \n    ### Host customization\n  \n    An adapter can target other hosts by setting the `host` property.\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      host = 'https://api.example.com';\n    }\n    ```\n  \n    ### Headers customization\n  \n    Some APIs require HTTP headers, e.g. to provide an API key. Arbitrary\n    headers can be set as key/value pairs on the `RESTAdapter`'s `headers`\n    object and Ember Data will send them along with each ajax request.\n  \n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { computed } from '@ember/object';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      headers: computed(function() {\n        return {\n          'API_KEY': 'secret key',\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      }\n    }\n    ```\n  \n    `headers` can also be used as a computed property to support dynamic\n    headers. In the example below, the `session` object has been\n    injected into an adapter by Ember's container.\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { computed } from '@ember/object';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      headers: computed('session.authToken', function() {\n        return {\n          'API_KEY': this.session.authToken,\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      })\n    }\n    ```\n  \n    In some cases, your dynamic headers may require data from some\n    object outside of Ember's observer system (for example\n    `document.cookie`). You can use the\n    [volatile](/api/classes/Ember.ComputedProperty.html?anchor=volatile)\n    function to set the property into a non-cached mode causing the headers to\n    be recomputed with every request.\n  \n    ```app/adapters/application.js\n    import RESTAdapter from '@ember-data/adapter/rest';\n    import { computed } from '@ember/object';\n  \n    export default class ApplicationAdapter extends RESTAdapter {\n      headers: computed(function() {\n        return {\n          'API_KEY': document.cookie.match(/apiKey\\=([^;]*)/)['1'],\n          'ANOTHER_HEADER': 'Some header value'\n        };\n      }).volatile()\n    }\n    ```\n  \n    @class RESTAdapter\n    @main @ember-data/adapter/rest\n    @public\n    @constructor\n    @extends Adapter\n    @uses BuildURLMixin\n  */\n  let RESTAdapter = _exports.default = (_dec = (0, _object.computed)(), _class = class RESTAdapter extends _indexF54121ea.A.extend(_buildUrlMixin18db8c8b.B) {\n    constructor(...args) {\n      super(...args);\n      /**\n        This property allows ajax to still be used instead when `false`.\n         @property useFetch\n        @type {Boolean}\n        @default true\n        @public\n      */\n      this.useFetch = true;\n      this._defaultContentType = 'application/json; charset=utf-8';\n      // http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-a-url-in-different-browsers\n      this.maxURLLength = 2048;\n    }\n    get fastboot() {\n      // Avoid computed property override deprecation in fastboot as suggested by:\n      // https://deprecations.emberjs.com/v3.x/#toc_computed-property-override\n      let fastboot = this._fastboot;\n      if (fastboot) {\n        return fastboot;\n      }\n      return this._fastboot = (0, _application.getOwner)(this).lookup('service:fastboot');\n    }\n    set fastboot(value) {\n      this._fastboot = value;\n    }\n\n    /**\n      By default, the RESTAdapter will send the query params sorted alphabetically to the\n      server.\n       For example:\n       ```js\n      store.query('posts', { sort: 'price', category: 'pets' });\n      ```\n       will generate a requests like this `/posts?category=pets&sort=price`, even if the\n      parameters were specified in a different order.\n       That way the generated URL will be deterministic and that simplifies caching mechanisms\n      in the backend.\n       Setting `sortQueryParams` to a falsey value will respect the original order.\n       In case you want to sort the query parameters with a different criteria, set\n      `sortQueryParams` to your custom sort function.\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n       export default class ApplicationAdapter extends RESTAdapter {\n        sortQueryParams(params) {\n          let sortedKeys = Object.keys(params).sort().reverse();\n          let len = sortedKeys.length, newParams = {};\n           for (let i = 0; i < len; i++) {\n            newParams[sortedKeys[i]] = params[sortedKeys[i]];\n          }\n           return newParams;\n        }\n      }\n      ```\n       @method sortQueryParams\n      @param {Object} obj\n      @return {Object}\n      @public\n    */\n    sortQueryParams(obj) {\n      let keys = Object.keys(obj);\n      let len = keys.length;\n      if (len < 2) {\n        return obj;\n      }\n      let newQueryParams = {};\n      let sortedKeys = keys.sort();\n      for (let i = 0; i < len; i++) {\n        newQueryParams[sortedKeys[i]] = obj[sortedKeys[i]];\n      }\n      return newQueryParams;\n    }\n\n    /**\n      By default the RESTAdapter will send each find request coming from a `store.find`\n      or from accessing a relationship separately to the server. If your server supports passing\n      ids as a query string, you can set coalesceFindRequests to true to coalesce all find requests\n      within a single runloop.\n       For example, if you have an initial payload of:\n       ```javascript\n      {\n        post: {\n          id: 1,\n          comments: [1, 2]\n        }\n      }\n      ```\n       By default calling `post.comments` will trigger the following requests(assuming the\n      comments haven't been loaded before):\n       ```\n      GET /comments/1\n      GET /comments/2\n      ```\n       If you set coalesceFindRequests to `true` it will instead trigger the following request:\n       ```\n      GET /comments?ids[]=1&ids[]=2\n      ```\n       Setting coalesceFindRequests to `true` also works for `store.find` requests and `belongsTo`\n      relationships accessed within the same runloop. If you set `coalesceFindRequests: true`\n       ```javascript\n      store.findRecord('comment', 1);\n      store.findRecord('comment', 2);\n      ```\n       will also send a request to: `GET /comments?ids[]=1&ids[]=2`\n       Note: Requests coalescing rely on URL building strategy. So if you override `buildURL` in your app\n      `groupRecordsForFindMany` more likely should be overridden as well in order for coalescing to work.\n       @property coalesceFindRequests\n      @public\n      @type {boolean}\n    */\n    get coalesceFindRequests() {\n      let coalesceFindRequests = this._coalesceFindRequests;\n      if (typeof coalesceFindRequests === 'boolean') {\n        return coalesceFindRequests;\n      }\n      return this._coalesceFindRequests = false;\n    }\n    set coalesceFindRequests(value) {\n      this._coalesceFindRequests = value;\n    }\n\n    /**\n      Endpoint paths can be prefixed with a `namespace` by setting the namespace\n      property on the adapter:\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n       export default class ApplicationAdapter extends RESTAdapter {\n        namespace = 'api/1';\n      }\n      ```\n       Requests for the `Post` model would now target `/api/1/post/`.\n       @property namespace\n      @public\n      @type {String}\n    */\n\n    /**\n      An adapter can target other hosts by setting the `host` property.\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n       export default class ApplicationAdapter extends RESTAdapter {\n        host = 'https://api.example.com';\n      }\n      ```\n       Requests for the `Post` model would now target `https://api.example.com/post/`.\n       @property host\n      @public\n      @type {String}\n    */\n\n    /**\n      Some APIs require HTTP headers, e.g. to provide an API\n      key. Arbitrary headers can be set as key/value pairs on the\n      `RESTAdapter`'s `headers` object and Ember Data will send them\n      along with each ajax request. For dynamic headers see [headers\n      customization](/ember-data/release/classes/RESTAdapter).\n       ```app/adapters/application.js\n      import RESTAdapter from '@ember-data/adapter/rest';\n      import { computed } from '@ember/object';\n       export default class ApplicationAdapter extends RESTAdapter {\n        headers: computed(function() {\n          return {\n            'API_KEY': 'secret key',\n            'ANOTHER_HEADER': 'Some header value'\n          };\n        })\n      }\n      ```\n       @property headers\n      @public\n      @type {Object}\n     */\n    /**\n      Called by the store in order to fetch the JSON for a given\n      type and ID.\n       The `findRecord` method makes an Ajax request to a URL computed by\n      `buildURL`, and returns a promise for the resulting payload.\n       This method performs an HTTP `GET` request with the id provided as part of the query string.\n       @since 1.13.0\n      @method findRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {String} id\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    findRecord(store, type, id, snapshot) {\n      let url = this.buildURL(type.modelName, id, snapshot, 'findRecord');\n      let query = this.buildQuery(snapshot);\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON array for all\n      of the records for a given type.\n       The `findAll` method makes an Ajax (HTTP GET) request to a URL computed by `buildURL`, and returns a\n      promise for the resulting payload.\n       @method findAll\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {undefined} neverSet a value is never provided to this argument\n      @param {SnapshotRecordArray} snapshotRecordArray\n      @return {Promise} promise\n    */\n    findAll(store, type, sinceToken, snapshotRecordArray) {\n      let query = this.buildQuery(snapshotRecordArray);\n      let url = this.buildURL(type.modelName, null, snapshotRecordArray, 'findAll');\n      if (sinceToken) {\n        query.since = sinceToken;\n      }\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON array for\n      the records that match a particular query.\n       The `query` method makes an Ajax (HTTP GET) request to a URL\n      computed by `buildURL`, and returns a promise for the resulting\n      payload.\n       The `query` argument is a simple JavaScript object that will be passed directly\n      to the server as parameters.\n       @method query\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Object} query\n      @param {Collection} recordArray\n      @param {Object} adapterOptions\n      @return {Promise} promise\n    */\n    query(store, type, query) {\n      let url = this.buildURL(type.modelName, null, null, 'query', query);\n      if (this.sortQueryParams) {\n        query = this.sortQueryParams(query);\n      }\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON object for\n      the record that matches a particular query.\n       The `queryRecord` method makes an Ajax (HTTP GET) request to a URL\n      computed by `buildURL`, and returns a promise for the resulting\n      payload.\n       The `query` argument is a simple JavaScript object that will be passed directly\n      to the server as parameters.\n       @since 1.13.0\n      @method queryRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Object} query\n      @param {Object} adapterOptions\n      @return {Promise} promise\n    */\n    queryRecord(store, type, query, adapterOptions) {\n      let url = this.buildURL(type.modelName, null, null, 'queryRecord', query);\n      if (this.sortQueryParams) {\n        query = this.sortQueryParams(query);\n      }\n      return this.ajax(url, 'GET', {\n        data: query\n      });\n    }\n\n    /**\n      Called by the store in order to fetch several records together if `coalesceFindRequests` is true\n       For example, if the original payload looks like:\n       ```js\n      {\n        \"id\": 1,\n        \"title\": \"Rails is omakase\",\n        \"comments\": [ 1, 2, 3 ]\n      }\n      ```\n       The IDs will be passed as a URL-encoded Array of IDs, in this form:\n       ```\n      ids[]=1&ids[]=2&ids[]=3\n      ```\n       Many servers, such as Rails and PHP, will automatically convert this URL-encoded array\n      into an Array for you on the server-side. If you want to encode the\n      IDs, differently, just override this (one-line) method.\n       The `findMany` method makes an Ajax (HTTP GET) request to a URL computed by `buildURL`, and returns a\n      promise for the resulting payload.\n       @method findMany\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Array} ids\n      @param {Array} snapshots\n      @return {Promise} promise\n    */\n    findMany(store, type, ids, snapshots) {\n      let url = this.buildURL(type.modelName, ids, snapshots, 'findMany');\n      return this.ajax(url, 'GET', {\n        data: {\n          ids: ids\n        }\n      });\n    }\n\n    /**\n      Called by the store in order to fetch a JSON array for\n      the unloaded records in a has-many relationship that were originally\n      specified as a URL (inside of `links`).\n       For example, if your original payload looks like this:\n       ```js\n      {\n        \"post\": {\n          \"id\": 1,\n          \"title\": \"Rails is omakase\",\n          \"links\": { \"comments\": \"/posts/1/comments\" }\n        }\n      }\n      ```\n       This method will be called with the parent record and `/posts/1/comments`.\n       The `findHasMany` method will make an Ajax (HTTP GET) request to the originally specified URL.\n       The format of your `links` value will influence the final request URL via the `urlPrefix` method:\n       * Links beginning with `//`, `http://`, `https://`, will be used as is, with no further manipulation.\n       * Links beginning with a single `/` will have the current adapter's `host` value prepended to it.\n       * Links with no beginning `/` will have a parentURL prepended to it, via the current adapter's `buildURL`.\n       @method findHasMany\n      @public\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @param {String} url\n      @param {Object} relationship meta object describing the relationship\n      @return {Promise} promise\n    */\n    findHasMany(store, snapshot, url, relationship) {\n      let id = snapshot.id;\n      let type = snapshot.modelName;\n      (false && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to fetch the hasMany relationship for ${type}, but the record has no id`, typeof id === 'string' && id.length > 0));\n      url = this.urlPrefix(url, this.buildURL(type, id, snapshot, 'findHasMany'));\n      return this.ajax(url, 'GET');\n    }\n\n    /**\n      Called by the store in order to fetch the JSON for the unloaded record in a\n      belongs-to relationship that was originally specified as a URL (inside of\n      `links`).\n       For example, if your original payload looks like this:\n       ```js\n      {\n        \"person\": {\n          \"id\": 1,\n          \"name\": \"Tom Dale\",\n          \"links\": { \"group\": \"/people/1/group\" }\n        }\n      }\n      ```\n       This method will be called with the parent record and `/people/1/group`.\n       The `findBelongsTo` method will make an Ajax (HTTP GET) request to the originally specified URL.\n       The format of your `links` value will influence the final request URL via the `urlPrefix` method:\n       * Links beginning with `//`, `http://`, `https://`, will be used as is, with no further manipulation.\n       * Links beginning with a single `/` will have the current adapter's `host` value prepended to it.\n       * Links with no beginning `/` will have a parentURL prepended to it, via the current adapter's `buildURL`.\n       @method findBelongsTo\n      @public\n      @param {Store} store\n      @param {Snapshot} snapshot\n      @param {String} url\n      @param {Object} relationship meta object describing the relationship\n      @return {Promise} promise\n    */\n    findBelongsTo(store, snapshot, url, relationship) {\n      let id = snapshot.id;\n      let type = snapshot.modelName;\n      (false && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to fetch the belongsTo relationship for ${type}, but the record has no id`, typeof id === 'string' && id.length > 0));\n      url = this.urlPrefix(url, this.buildURL(type, id, snapshot, 'findBelongsTo'));\n      return this.ajax(url, 'GET');\n    }\n\n    /**\n      Called by the store when a newly created record is\n      saved via the `save` method on a model record instance.\n       The `createRecord` method serializes the record and makes an Ajax (HTTP POST) request\n      to a URL computed by `buildURL`.\n       See `serialize` for information on how to customize the serialized form\n      of a record.\n       @method createRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    createRecord(store, type, snapshot) {\n      let url = this.buildURL(type.modelName, null, snapshot, 'createRecord');\n      const data = (0, _serializeIntoHashB9092b.b)(store, type, snapshot);\n      return this.ajax(url, 'POST', {\n        data\n      });\n    }\n\n    /**\n      Called by the store when an existing record is saved\n      via the `save` method on a model record instance.\n       The `updateRecord` method serializes the record and makes an Ajax (HTTP PUT) request\n      to a URL computed by `buildURL`.\n       See `serialize` for information on how to customize the serialized form\n      of a record.\n       @method updateRecord\n      @public\n      @param {Store} store\n      @param {Model} schema\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    updateRecord(store, schema, snapshot) {\n      const data = (0, _serializeIntoHashB9092b.b)(store, schema, snapshot, {});\n      const type = snapshot.modelName;\n      const id = snapshot.id;\n      (false && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to update the ${type} record, but the record has no id`, typeof id === 'string' && id.length > 0));\n      let url = this.buildURL(type, id, snapshot, 'updateRecord');\n      return this.ajax(url, 'PUT', {\n        data\n      });\n    }\n\n    /**\n      Called by the store when a record is deleted.\n       The `deleteRecord` method  makes an Ajax (HTTP DELETE) request to a URL computed by `buildURL`.\n       @method deleteRecord\n      @public\n      @param {Store} store\n      @param {Model} type\n      @param {Snapshot} snapshot\n      @return {Promise} promise\n    */\n    deleteRecord(store, schema, snapshot) {\n      const type = snapshot.modelName;\n      const id = snapshot.id;\n      (false && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to delete the ${type} record, but the record has no id`, typeof id === 'string' && id.length > 0));\n      return this.ajax(this.buildURL(type, id, snapshot, 'deleteRecord'), 'DELETE');\n    }\n    _stripIDFromURL(store, snapshot) {\n      const type = snapshot.modelName;\n      const id = snapshot.id;\n      (false && !(typeof id === 'string' && id.length > 0) && (0, _debug.assert)(`Attempted to strip the url from the ${type} record for coalescing, but the record has no id`, typeof id === 'string' && id.length > 0));\n      let url = this.buildURL(type, id, snapshot);\n      let expandedURL = url.split('/');\n      // Case when the url is of the format ...something/:id\n      // We are decodeURIComponent-ing the lastSegment because if it represents\n      // the id, it has been encodeURIComponent-ified within `buildURL`. If we\n      // don't do this, then records with id having special characters are not\n      // coalesced correctly (see GH #4190 for the reported bug)\n      let lastSegment = expandedURL[expandedURL.length - 1];\n      if (decodeURIComponent(lastSegment) === id) {\n        expandedURL[expandedURL.length - 1] = '';\n      } else if (id && endsWith(lastSegment, '?id=' + id)) {\n        //Case when the url is of the format ...something?id=:id\n        expandedURL[expandedURL.length - 1] = lastSegment.substring(0, lastSegment.length - id.length - 1);\n      }\n      return expandedURL.join('/');\n    }\n    /**\n      Organize records into groups, each of which is to be passed to separate\n      calls to `findMany`.\n       This implementation groups together records that have the same base URL but\n      differing ids. For example `/comments/1` and `/comments/2` will be grouped together\n      because we know findMany can coalesce them together as `/comments?ids[]=1&ids[]=2`\n       It also supports urls where ids are passed as a query param, such as `/comments?id=1`\n      but not those where there is more than 1 query param such as `/comments?id=2&name=David`\n      Currently only the query param of `id` is supported. If you need to support others, please\n      override this or the `_stripIDFromURL` method.\n       It does not group records that have differing base urls, such as for example: `/posts/1/comments/2`\n      and `/posts/2/comments/3`\n       @method groupRecordsForFindMany\n      @public\n      @param {Store} store\n      @param {Array} snapshots\n      @return {Array}  an array of arrays of records, each of which is to be\n                        loaded separately by `findMany`.\n    */\n    groupRecordsForFindMany(store, snapshots) {\n      let groups = new Map();\n      let adapter = this;\n      let maxURLLength = this.maxURLLength;\n      snapshots.forEach(snapshot => {\n        let baseUrl = adapter._stripIDFromURL(store, snapshot);\n        if (!groups.has(baseUrl)) {\n          groups.set(baseUrl, []);\n        }\n        groups.get(baseUrl).push(snapshot);\n      });\n      function splitGroupToFitInUrl(group, maxURLLength, paramNameLength) {\n        let idsSize = 0;\n        let baseUrl = adapter._stripIDFromURL(store, group[0]);\n        let splitGroups = [[]];\n        group.forEach(snapshot => {\n          let additionalLength = encodeURIComponent(snapshot.id).length + paramNameLength;\n          if (baseUrl.length + idsSize + additionalLength >= maxURLLength) {\n            idsSize = 0;\n            splitGroups.push([]);\n          }\n          idsSize += additionalLength;\n          let lastGroupIndex = splitGroups.length - 1;\n          splitGroups[lastGroupIndex].push(snapshot);\n        });\n        return splitGroups;\n      }\n      let groupsArray = [];\n      groups.forEach((group, key) => {\n        let paramNameLength = '&ids%5B%5D='.length;\n        let splitGroups = splitGroupToFitInUrl(group, maxURLLength, paramNameLength);\n        splitGroups.forEach(splitGroup => groupsArray.push(splitGroup));\n      });\n      return groupsArray;\n    }\n\n    /**\n      Takes an ajax response, and returns the json payload or an error.\n       By default this hook just returns the json payload passed to it.\n      You might want to override it in two cases:\n       1. Your API might return useful results in the response headers.\n      Response headers are passed in as the second argument.\n       2. Your API might return errors as successful responses with status code\n      200 and an Errors text or object. You can return a `InvalidError` or a\n      `AdapterError` (or a sub class) from this hook and it will automatically\n      reject the promise and put your record into the invalid or error state.\n       Returning a `InvalidError` from this method will cause the\n      record to transition into the `invalid` state and make the\n      `errors` object available on the record. When returning an\n      `InvalidError` the store will attempt to normalize the error data\n      returned from the server using the serializer's `extractErrors`\n      method.\n       @since 1.13.0\n      @method handleResponse\n      @public\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @param  {Object} requestData - the original request information\n      @return {Object | AdapterError} response\n    */\n    handleResponse(status, headers, payload, requestData) {\n      if (this.isSuccess(status, headers, payload)) {\n        return payload;\n      } else if (this.isInvalid(status, headers, payload)) {\n        return new _error.InvalidError(typeof payload === 'object' && 'errors' in payload ? payload.errors : undefined);\n      }\n      let errors = this.normalizeErrorResponse(status, headers, payload);\n      let detailedMessage = this.generatedDetailedMessage(status, headers, payload, requestData);\n      switch (status) {\n        case 401:\n          return new _error.UnauthorizedError(errors, detailedMessage);\n        case 403:\n          return new _error.ForbiddenError(errors, detailedMessage);\n        case 404:\n          return new _error.NotFoundError(errors, detailedMessage);\n        case 409:\n          return new _error.ConflictError(errors, detailedMessage);\n        default:\n          if (status >= 500) {\n            return new _error.ServerError(errors, detailedMessage);\n          }\n      }\n      return new _error.default(errors, detailedMessage);\n    }\n\n    /**\n      Default `handleResponse` implementation uses this hook to decide if the\n      response is a success.\n       @since 1.13.0\n      @method isSuccess\n      @public\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Boolean}\n    */\n    isSuccess(status, _headers, _payload) {\n      return status >= 200 && status < 300 || status === 304;\n    }\n\n    /**\n      Default `handleResponse` implementation uses this hook to decide if the\n      response is an invalid error.\n       @since 1.13.0\n      @method isInvalid\n      @public\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Boolean}\n    */\n    isInvalid(status, _headers, _payload) {\n      return status === 422;\n    }\n\n    /**\n      Takes a URL, an HTTP method and a hash of data, and makes an\n      HTTP request.\n       When the server responds with a payload, Ember Data will call into `extractSingle`\n      or `extractArray` (depending on whether the original query was for one record or\n      many records).\n       By default, `ajax` method has the following behavior:\n       * It sets the response `dataType` to `\"json\"`\n      * If the HTTP method is not `\"GET\"`, it sets the `Content-Type` to be\n        `application/json; charset=utf-8`\n      * If the HTTP method is not `\"GET\"`, it stringifies the data passed in. The\n        data is the serialized record in the case of a save.\n      * Registers success and failure handlers.\n       @method ajax\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Promise} promise\n    */\n    async ajax(url, type, options = {}) {\n      let adapter = this;\n      let requestData = {\n        url: url,\n        method: type\n      };\n      if (this.useFetch) {\n        let hash = adapter.ajaxOptions(url, type, options);\n        let response = await this._fetchRequest(hash);\n        let payload = await (0, _serializeIntoHashB9092b.d)(response, requestData);\n        if (response.ok && !(payload instanceof Error)) {\n          return fetchSuccessHandler(adapter, payload, response, requestData);\n        } else {\n          throw fetchErrorHandler(adapter, payload, response, null, requestData);\n        }\n      } else {\n        let hash = adapter.ajaxOptions(url, type, options);\n        return new Promise(function (resolve, reject) {\n          hash.success = function (payload, textStatus, jqXHR) {\n            let response = ajaxSuccessHandler(adapter, payload, jqXHR, requestData);\n            (0, _runloop.join)(null, resolve, response);\n          };\n          hash.error = function (jqXHR, textStatus, errorThrown) {\n            let error = ajaxErrorHandler(adapter, jqXHR, errorThrown, requestData);\n            (0, _runloop.join)(null, reject, error);\n          };\n          adapter._ajax(hash);\n        });\n      }\n    }\n\n    /**\n      @method _ajaxRequest\n      @private\n      @param {Object} options jQuery ajax options to be used for the ajax request\n    */\n    _ajaxRequest(options) {\n      // TODO add assertion that jquery is there rather then equality check\n      typeof jQuery !== 'undefined' && jQuery.ajax(options);\n    }\n    _fetchRequest(options) {\n      let fetchFunction = (0, _serializeIntoHashB9092b.g)();\n      return fetchFunction(options.url, options);\n    }\n    _ajax(options) {\n      if (this.useFetch) {\n        this._fetchRequest(options);\n      } else {\n        this._ajaxRequest(options);\n      }\n    }\n\n    /**\n      @method ajaxOptions\n      @private\n      @param {String} url\n      @param {String} type The request type GET, POST, PUT, DELETE etc.\n      @param {Object} options\n      @return {Object}\n    */\n    ajaxOptions(url, method, options) {\n      let reqOptions = Object.assign({\n        url,\n        method,\n        type: method\n      }, options);\n      if (this.headers !== undefined) {\n        reqOptions.headers = {\n          ...this.headers,\n          ...reqOptions.headers\n        };\n      } else if (!options.headers) {\n        reqOptions.headers = {};\n      }\n      let contentType = reqOptions.contentType || this._defaultContentType;\n      if (this.useFetch) {\n        if (reqOptions.data && reqOptions.type !== 'GET' && reqOptions.headers) {\n          if (!reqOptions.headers['Content-Type'] && !reqOptions.headers['content-type']) {\n            reqOptions.headers['content-type'] = contentType;\n          }\n        }\n        reqOptions = fetchOptions(reqOptions);\n      } else {\n        // GET requests without a body should not have a content-type header\n        // and may be unexpected by a server\n        if (reqOptions.data && reqOptions.type !== 'GET') {\n          reqOptions = {\n            ...reqOptions,\n            contentType\n          };\n        }\n        reqOptions = ajaxOptions(reqOptions, this);\n      }\n      reqOptions.url = this._ajaxURL(reqOptions.url);\n      return reqOptions;\n    }\n    _ajaxURL(url) {\n      if (this.fastboot?.isFastBoot) {\n        let httpRegex = /^https?:\\/\\//;\n        let protocolRelativeRegex = /^\\/\\//;\n        let protocol = this.fastboot.request.protocol;\n        let host = this.fastboot.request.host;\n        if (protocolRelativeRegex.test(url)) {\n          return `${protocol}${url}`;\n        } else if (!httpRegex.test(url)) {\n          try {\n            return `${protocol}//${host}${url}`;\n          } catch (fbError) {\n            throw new Error('You are using Ember Data with no host defined in your adapter. This will attempt to use the host of the FastBoot request, which is not configured for the current host of this request. Please set the hostWhitelist property for in your environment.js. FastBoot Error: ' + fbError.message);\n          }\n        }\n      }\n      return url;\n    }\n\n    /**\n      @method parseErrorResponse\n      @private\n      @param {String} responseText\n      @return {Object}\n    */\n    parseErrorResponse(responseText) {\n      let json = responseText;\n      try {\n        json = JSON.parse(responseText);\n      } catch (e) {\n        // ignored\n      }\n      return json;\n    }\n\n    /**\n      @method normalizeErrorResponse\n      @private\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @return {Array} errors payload\n    */\n    normalizeErrorResponse(status, _headers, payload) {\n      if (payload && typeof payload === 'object' && 'errors' in payload && Array.isArray(payload.errors)) {\n        return payload.errors;\n      } else {\n        return [{\n          status: `${status}`,\n          // Set to a string per the JSON API spec: https://jsonapi.org/format/#errors\n          title: 'The backend responded with an error',\n          // Detail is intended to be a string, but backends be non-compliant.\n          // stringifying gives the user a more friendly error in this situation, whereas\n          // they'd instead receive [object Object].\n          // JSON.stringify will convert *anything* to a string without erroring.\n          detail: typeof payload === 'string' ? payload : JSON.stringify(payload)\n        }];\n      }\n    }\n\n    /**\n      Generates a detailed (\"friendly\") error message, with plenty\n      of information for debugging (good luck!)\n       @method generatedDetailedMessage\n      @private\n      @param  {Number} status\n      @param  {Object} headers\n      @param  {Object} payload\n      @param  {Object} requestData\n      @return {String} detailed error message\n    */\n    generatedDetailedMessage(status, headers, payload, requestData) {\n      let shortenedPayload;\n      let payloadContentType = headers['content-type'] || 'Empty Content-Type';\n      if (payloadContentType === 'text/html' && typeof payload === 'string' && payload.length > 250) {\n        shortenedPayload = '[Omitted Lengthy HTML]';\n      } else {\n        shortenedPayload = payload;\n      }\n      let requestDescription = requestData.method + ' ' + requestData.url;\n      let payloadDescription = 'Payload (' + payloadContentType + ')';\n      return ['Ember Data Request ' + requestDescription + ' returned a ' + status, payloadDescription, shortenedPayload].join('\\n');\n    }\n\n    /**\n      Used by `findAll` and `findRecord` to build the query's `data` hash\n      supplied to the ajax method.\n       @method buildQuery\n      @since 2.5.0\n      @public\n      @param  {Snapshot} snapshot\n      @return {Object}\n    */\n    buildQuery(snapshot) {\n      let query = {};\n      if (snapshot) {\n        let {\n          include\n        } = snapshot;\n        if (include) {\n          query.include = include;\n        }\n      }\n      return query;\n    }\n  }, (0, _indexF54121ea._)(_class.prototype, \"fastboot\", [_dec], Object.getOwnPropertyDescriptor(_class.prototype, \"fastboot\"), _class.prototype), _class);\n  function ajaxSuccess(adapter, payload, requestData, responseData) {\n    let response;\n    try {\n      response = adapter.handleResponse(responseData.status, responseData.headers, payload, requestData);\n    } catch (error) {\n      return Promise.reject(error);\n    }\n    if (response && response.isAdapterError) {\n      return Promise.reject(response);\n    } else {\n      return response;\n    }\n  }\n  function ajaxError(adapter, payload, requestData, responseData) {\n    let error;\n    if (responseData.errorThrown instanceof Error && payload !== '') {\n      error = responseData.errorThrown;\n    } else if (responseData.textStatus === 'timeout') {\n      error = new _error.TimeoutError();\n    } else if (responseData.textStatus === 'abort' || responseData.status === 0) {\n      error = handleAbort(requestData, responseData);\n    } else {\n      try {\n        error = adapter.handleResponse(responseData.status, responseData.headers, payload || responseData.errorThrown, requestData);\n      } catch (e) {\n        error = e;\n      }\n    }\n    return error;\n  }\n\n  // Adapter abort error to include any relevent info, e.g. request/response:\n  function handleAbort(requestData, responseData) {\n    let {\n      method,\n      url,\n      errorThrown\n    } = requestData;\n    let {\n      status\n    } = responseData;\n    let msg = `Request failed: ${method} ${url} ${errorThrown || ''}`;\n    let errors = [{\n      title: 'Adapter Error',\n      detail: msg.trim(),\n      status\n    }];\n    return new _error.AbortError(errors);\n  }\n\n  //From http://stackoverflow.com/questions/280634/endswith-in-javascript\n  function endsWith(string, suffix) {\n    if (typeof String.prototype.endsWith !== 'function') {\n      return string.indexOf(suffix, string.length - suffix.length) !== -1;\n    } else {\n      return string.endsWith(suffix);\n    }\n  }\n  function fetchSuccessHandler(adapter, payload, response, requestData) {\n    let responseData = fetchResponseData(response);\n    return ajaxSuccess(adapter, payload, requestData, responseData);\n  }\n  function fetchErrorHandler(adapter, payload, response, errorThrown, requestData) {\n    let responseData = fetchResponseData(response);\n    if (responseData.status === 200 && payload instanceof Error) {\n      responseData.errorThrown = payload;\n      payload = responseData.errorThrown.payload;\n    } else {\n      responseData.errorThrown = errorThrown;\n      if (typeof payload === 'string') {\n        payload = adapter.parseErrorResponse(payload);\n      }\n    }\n    return ajaxError(adapter, payload, requestData, responseData);\n  }\n  function ajaxSuccessHandler(adapter, payload, jqXHR, requestData) {\n    let responseData = ajaxResponseData(jqXHR);\n    return ajaxSuccess(adapter, payload, requestData, responseData);\n  }\n  function ajaxErrorHandler(adapter, jqXHR, errorThrown, requestData) {\n    let responseData = ajaxResponseData(jqXHR);\n    responseData.errorThrown = errorThrown;\n    let payload = adapter.parseErrorResponse(jqXHR.responseText);\n    return ajaxError(adapter, payload, requestData, responseData);\n  }\n  function fetchResponseData(response) {\n    return {\n      status: response.status,\n      textStatus: response.statusText,\n      headers: headersToObject(response.headers)\n    };\n  }\n  function ajaxResponseData(jqXHR) {\n    return {\n      status: jqXHR.status,\n      textStatus: jqXHR.statusText,\n      headers: (0, _serializeIntoHashB9092b.p)(jqXHR.getAllResponseHeaders())\n    };\n  }\n  function headersToObject(headers) {\n    let headersObject = {};\n    if (headers) {\n      headers.forEach((value, key) => headersObject[key] = value);\n    }\n    return headersObject;\n  }\n\n  /**\n   * Helper function that translates the options passed to `jQuery.ajax` into a format that `fetch` expects.\n   *\n   * @method fetchOptions\n   * @for @ember-data/adapter/rest\n   * @param {Object} _options\n   * @param {Adapter} adapter\n   * @private\n   * @returns {Object}\n   */\n  function fetchOptions(options, adapter) {\n    options.credentials = options.credentials || 'same-origin';\n    if (options.data) {\n      // GET and HEAD requests can't have a `body`\n      if (options.method === 'GET' || options.method === 'HEAD') {\n        // If no options are passed, Ember Data sets `data` to an empty object, which we test for.\n        if (Object.keys(options.data).length && options.url) {\n          // Test if there are already query params in the url (mimics jQuey.ajax).\n          const queryParamDelimiter = options.url.indexOf('?') > -1 ? '&' : '?';\n          options.url += `${queryParamDelimiter}${(0, _serializeIntoHashB9092b.s)(options.data)}`;\n        }\n      } else {\n        // NOTE: a request's body cannot be an object, so we stringify it if it is.\n        // JSON.stringify removes keys with values of `undefined` (mimics jQuery.ajax).\n        // If the data is not a POJO (it's a String, FormData, etc), we just set it.\n        // If the data is a string, we assume it's a stringified object.\n\n        /* We check for Objects this way because we want the logic inside the consequent to run\n         * if `options.data` is a POJO, not if it is a data structure whose `typeof` returns \"object\"\n         * when it's not (Array, FormData, etc). The reason we don't use `options.data.constructor`\n         * to check is in case `data` is an object with no prototype (e.g. created with null).\n         */\n        if (Object.prototype.toString.call(options.data) === '[object Object]') {\n          options.body = JSON.stringify(options.data);\n        } else {\n          options.body = options.data;\n        }\n      }\n    }\n    return options;\n  }\n  function ajaxOptions(options, adapter) {\n    options.dataType = 'json';\n    options.context = adapter;\n    if (options.data && options.type !== 'GET') {\n      options.data = JSON.stringify(options.data);\n    }\n    options.beforeSend = function (xhr) {\n      if (options.headers) {\n        Object.keys(options.headers).forEach(key => {\n          let headerValue = options.headers && options.headers[key];\n          const isString = value => typeof value === 'string';\n          if (isString(headerValue)) {\n            xhr.setRequestHeader(key, headerValue);\n          }\n        });\n      }\n    };\n    return options;\n  }\n});","define(\"@ember-data/adapter/serialize-into-hash-b9092b25\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.a = setupFastboot;\n  _exports.b = serializeIntoHash;\n  _exports.d = determineBodyPromise;\n  _exports.g = getFetchFunction;\n  _exports.p = parseResponseHeaders;\n  _exports.s = serializeQueryParams;\n  const newline = /\\r?\\n/;\n  function parseResponseHeaders(headersString) {\n    const headers = Object.create(null);\n    if (!headersString) {\n      return headers;\n    }\n    const headerPairs = headersString.split(newline);\n    for (let i = 0; i < headerPairs.length; i++) {\n      let header = headerPairs[i];\n      let j = 0;\n      let foundSep = false;\n      for (; j < header.length; j++) {\n        if (header.charCodeAt(j) === 58 /* ':' */) {\n          foundSep = true;\n          break;\n        }\n      }\n      if (foundSep === false) {\n        continue;\n      }\n      let field = header.substring(0, j).trim();\n      let value = header.substring(j + 1, header.length).trim();\n      if (value) {\n        let lowerCasedField = field.toLowerCase();\n        headers[lowerCasedField] = value;\n        headers[field] = value;\n      }\n    }\n    return headers;\n  }\n  function continueOnReject(promise) {\n    return Promise.resolve(promise).catch(e => e);\n  }\n\n  /*\n   * Function that always attempts to parse the response as json, and if an error is thrown,\n   * returns `undefined` if the response is successful and has a status code of 204 (No Content),\n   * or 205 (Reset Content) or if the request method was 'HEAD', and the plain payload otherwise.\n   */\n  function _determineContent(response, requestData, payload) {\n    let ret = payload;\n    let error = null;\n    if (!response.ok) {\n      return payload;\n    }\n    let status = response.status;\n    let payloadIsEmpty = payload === '' || payload === null;\n    let statusIndicatesEmptyResponse = status === 204 || status === 205 || requestData.method === 'HEAD';\n    if (response.ok && (statusIndicatesEmptyResponse || payloadIsEmpty)) {\n      return;\n    }\n    try {\n      ret = JSON.parse(payload);\n    } catch (e) {\n      if (!(e instanceof SyntaxError)) {\n        return e;\n      }\n      e.payload = payload;\n      error = e;\n    }\n    if (error) {\n      return error;\n    }\n    return ret;\n  }\n  function determineBodyPromise(response, requestData) {\n    // response.text() may resolve or reject\n    // it is a native promise, may not have finally\n    return continueOnReject(response.text()).then(payload => _determineContent(response, requestData, payload));\n  }\n  const RBRACKET = /\\[\\]$/;\n  function isPlainObject(obj) {\n    return Object.prototype.toString.call(obj) === '[object Object]';\n  }\n\n  /*\n   * Helper function that turns the data/body of a request into a query param string.\n   * This is directly copied from jQuery.param.\n   */\n  function serializeQueryParams(queryParamsObject) {\n    let s = [];\n    function buildParams(prefix, obj) {\n      let i, len, key;\n      if (prefix) {\n        if (Array.isArray(obj)) {\n          for (i = 0, len = obj.length; i < len; i++) {\n            if (RBRACKET.test(prefix)) {\n              add(s, prefix, obj[i]);\n            } else {\n              buildParams(prefix + '[' + (typeof obj[i] === 'object' && obj[i] !== null ? i : '') + ']', obj[i]);\n            }\n          }\n        } else if (isPlainObject(obj)) {\n          for (key in obj) {\n            buildParams(prefix + '[' + key + ']', obj[key]);\n          }\n        } else {\n          add(s, prefix, obj);\n        }\n      } else if (Array.isArray(obj)) {\n        for (i = 0, len = obj.length; i < len; i++) {\n          add(s, obj[i].name, obj[i].value);\n        }\n      } else {\n        for (key in obj) {\n          buildParams(key, obj[key]);\n        }\n      }\n      return s;\n    }\n    return buildParams('', queryParamsObject).join('&');\n  }\n\n  /*\n   * Part of the `serializeQueryParams` helper function.\n   */\n  function add(s, k, v) {\n    // Strip out keys with undefined value and replace null values with\n    // empty strings (mimics jQuery.ajax)\n    if (v === undefined) {\n      return;\n    } else if (v === null) {\n      v = '';\n    }\n    v = typeof v === 'function' ? v() : v;\n    s[s.length] = `${encodeURIComponent(k)}=${encodeURIComponent(v)}`;\n  }\n  let _fetch = null;\n  let REQUEST = null;\n  function getFetchFunction() {\n    // return cached fetch function\n    if (_fetch !== null) {\n      return _fetch();\n    }\n\n    // grab browser native fetch if available, or global fetch if otherwise configured\n    if (typeof fetch === 'function') {\n      // fallback to using global fetch\n      _fetch = () => fetch;\n\n      /* global FastBoot */\n      // grab fetch from node-fetch\n    } else if (typeof FastBoot !== 'undefined') {\n      try {\n        const nodeFetch = FastBoot.require('node-fetch');\n        const httpRegex = /^https?:\\/\\//;\n        const protocolRelativeRegex = /^\\/\\//;\n\n        // eslint-disable-next-line no-inner-declarations\n        function parseRequest(request) {\n          if (request === null) {\n            throw new Error(\"Trying to fetch with relative url but the application hasn't finished loading FastBootInfo, see details at https://github.com/ember-cli/ember-fetch#relative-url\");\n          }\n          // Old Prember version is not sending protocol\n          const protocol = request.protocol === 'undefined:' ? 'http:' : request.protocol;\n          return [request.get('host'), protocol];\n        }\n\n        // eslint-disable-next-line no-inner-declarations\n        function buildAbsoluteUrl(url) {\n          if (protocolRelativeRegex.test(url)) {\n            let [host] = parseRequest(REQUEST);\n            url = host + url;\n          } else if (!httpRegex.test(url)) {\n            let [host, protocol] = parseRequest(REQUEST);\n            url = protocol + '//' + host + url;\n          }\n          return url;\n        }\n\n        // eslint-disable-next-line no-inner-declarations\n        function patchedFetch(input, options) {\n          if (input && input.href) {\n            input.url = buildAbsoluteUrl(input.href);\n          } else if (typeof input === 'string') {\n            input = buildAbsoluteUrl(input);\n          }\n          return nodeFetch(input, options);\n        }\n        _fetch = () => patchedFetch;\n      } catch (e) {\n        throw new Error(`Unable to create a compatible 'fetch' for FastBoot with node-fetch`);\n      }\n    }\n    (false && !(_fetch) && (0, _debug.assert)(`Cannot find a 'fetch' global and did not detect FastBoot.`, _fetch));\n    return _fetch();\n  }\n  function setupFastboot(fastBootRequest) {\n    REQUEST = fastBootRequest;\n  }\n  function serializeIntoHash(store, modelClass, snapshot, options = {\n    includeId: true\n  }) {\n    const serializer = store.serializerFor(modelClass.modelName);\n    (false && !(serializer) && (0, _debug.assert)(`Cannot serialize record, no serializer defined`, serializer));\n    if (typeof serializer.serializeIntoHash === 'function') {\n      const data = {};\n      serializer.serializeIntoHash(data, modelClass, snapshot, options);\n      return data;\n    }\n    return serializer.serialize(snapshot, options);\n  }\n});","define(\"@ember-data/debug/index\", [\"exports\", \"@ember/array\", \"@ember/debug\", \"@ember/debug/data-adapter\", \"@ember/object/observers\", \"@ember/service\", \"@ember/string\", \"@ember/runloop\", \"@ember-data/debug/setup\"], function (_exports, _array, _debug, _dataAdapter, _observers, _service, _string, _runloop, _setup) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/array\",0,\"@ember/debug\",0,\"@ember/debug/data-adapter\",0,\"@ember/object/observers\",0,\"@ember/service\",0,\"@ember/string\",0,\"@ember/runloop\",0,\"@ember-data/debug/setup\"eaimeta@70e063a35619d71f\n  /**\n    # Overview\n  \n    This package provides the `DataAdapter` which the [Ember Inspector](https://github.com/emberjs/ember-inspector)\n    uses to subscribe and retrieve information for the `data` tab in the inspector.\n  \n    This package adds roughly .6 KB when minified and compressed to your application in production; however,\n    you can opt out of shipping this addon in production via options in `ember-cli-build.js`\n  \n    ```js\n    let app = new EmberApp(defaults, {\n      emberData: {\n        includeDataAdapterInProduction: false\n      }\n    });\n    ```\n  \n    When using `ember-data` as a dependency of your app, the default is to ship the inspector support to production.\n  \n    When not using `ember-data` as a dependency but instead using EmberData via declaring specific `@ember-data/<package>`\n    dependencies the default is to not ship to production.\n  \n    @module @ember-data/debug\n    @main @ember-data/debug\n  */\n  /**\n    Implements `@ember/debug/data-adapter` with for EmberData\n    integration with the ember-inspector.\n  \n    @class InspectorDataAdapter\n    @extends DataAdapter\n    @private\n  */\n  var _default = _exports.default = _dataAdapter.default.extend({\n    store: (0, _service.inject)('store'),\n    /**\n      Specifies how records can be filtered based on the state of the record\n      Records returned will need to have a `filterValues`\n      property with a key for every name in the returned array\n       @method getFilters\n      @private\n      @return {Array} List of objects defining filters\n       The object should have a `name` and `desc` property\n    */\n    getFilters() {\n      return [{\n        name: 'isNew',\n        desc: 'New'\n      }, {\n        name: 'isModified',\n        desc: 'Modified'\n      }, {\n        name: 'isClean',\n        desc: 'Clean'\n      }];\n    },\n    _nameToClass(type) {\n      return this.store.modelFor(type);\n    },\n    /**\n      Fetch the model types and observe them for changes.\n      Maintains the list of model types without needing the Model package for detection.\n       @method watchModelTypes\n      @private\n      @param {Function} typesAdded Callback to call to add types.\n      Takes an array of objects containing wrapped types (returned from `wrapModelType`).\n      @param {Function} typesUpdated Callback to call when a type has changed.\n      Takes an array of objects containing wrapped types.\n      @return {Function} Method to call to remove all observers\n    */\n    watchModelTypes(typesAdded, typesUpdated) {\n      const {\n        store\n      } = this;\n      const __getResourceCache = store._instanceCache.getResourceCache;\n      const _releaseMethods = [];\n      const discoveredTypes = (0, _setup.typesMapFor)(store);\n\n      // Add any models that were added during initialization of the app, before the inspector was opened\n      discoveredTypes.forEach((_, type) => {\n        this.watchTypeIfUnseen(store, discoveredTypes, type, typesAdded, typesUpdated, _releaseMethods);\n      });\n\n      // Overwrite _createRecordData so newly added models will get added to the list\n      store._instanceCache.getResourceCache = identifier => {\n        // defer to ensure first-create does not result in an infinite loop, see https://github.com/emberjs/data/issues/8006\n        (0, _runloop.next)(() => this.watchTypeIfUnseen(store, discoveredTypes, identifier.type, typesAdded, typesUpdated, _releaseMethods));\n        return __getResourceCache.call(store._instanceCache, identifier);\n      };\n      let release = () => {\n        _releaseMethods.forEach(fn => fn());\n        store._instanceCache.getResourceCache = __getResourceCache;\n        // reset the list so the models can be added if the inspector is re-opened\n        // the entries are set to false instead of removed, since the models still exist in the app\n        // we just need the inspector to become aware of them\n        discoveredTypes.forEach((value, key) => {\n          discoveredTypes.set(key, false);\n        });\n        this.releaseMethods.removeObject(release);\n      };\n      this.releaseMethods.pushObject(release);\n      return release;\n    },\n    /**\n     * Loop over the discovered types and use the callbacks from watchModelTypes to notify\n     * the consumer of this adapter about the mdoels.\n     *\n     * @method watchTypeIfUnseen\n     * @param {store} store\n     * @param {Map} discoveredTypes\n     * @param {String} type\n     * @param {Function} typesAdded\n     * @param {Function} typesUpdated\n     * @param {Array} releaseMethods\n     * @private\n     */\n    watchTypeIfUnseen(store, discoveredTypes, type, typesAdded, typesUpdated, releaseMethods) {\n      if (discoveredTypes.get(type) !== true) {\n        let klass = store.modelFor(type);\n        let wrapped = this.wrapModelType(klass, type);\n        releaseMethods.push(this.observeModelType(type, typesUpdated));\n        typesAdded([wrapped]);\n        discoveredTypes.set(type, true);\n      }\n    },\n    /**\n      Creates a human readable string used for column headers\n       @method columnNameToDesc\n      @private\n      @param {String} name The attribute name\n      @return {String} Human readable string based on the attribute name\n    */\n    columnNameToDesc(name) {\n      return (0, _string.capitalize)((0, _string.underscore)(name).replace(/_/g, ' ').trim());\n    },\n    /**\n      Get the columns for a given model type\n       @method columnsForType\n      @private\n      @param {Model} typeClass\n      @return {Array} An array of columns of the following format:\n       name: {String} The name of the column\n       desc: {String} Humanized description (what would show in a table column name)\n    */\n    columnsForType(typeClass) {\n      let columns = [{\n        name: 'id',\n        desc: 'Id'\n      }];\n      let count = 0;\n      let self = this;\n      typeClass.attributes.forEach((meta, name) => {\n        if (count++ > self.attributeLimit) {\n          return false;\n        }\n        let desc = this.columnNameToDesc(name);\n        columns.push({\n          name: name,\n          desc: desc\n        });\n      });\n      return columns;\n    },\n    /**\n      Fetches all loaded records for a given type\n       @method getRecords\n      @private\n      @param {Model} modelClass of the record\n      @param {String} modelName of the record\n      @return {Array} An array of Model records\n       This array will be observed for changes,\n       so it should update when new records are added/removed\n    */\n    getRecords(modelClass, modelName) {\n      if (arguments.length < 2) {\n        // Legacy Ember.js < 1.13 support\n        let containerKey = modelClass._debugContainerKey;\n        if (containerKey) {\n          let match = containerKey.match(/model:(.*)/);\n          if (match !== null) {\n            modelName = match[1];\n          }\n        }\n      }\n      (false && !(!!modelName) && (0, _debug.assert)('Cannot find model name. Please upgrade to Ember.js >= 1.13 for Ember Inspector support', !!modelName));\n      return this.store.peekAll(modelName);\n    },\n    /**\n      Gets the values for each column\n      This is the attribute values for a given record\n       @method getRecordColumnValues\n      @private\n      @param {Model} record to get values from\n      @return {Object} Keys should match column names defined by the model type\n    */\n    getRecordColumnValues(record) {\n      let count = 0;\n      let columnValues = {\n        id: record.id\n      };\n      record.eachAttribute(key => {\n        if (count++ > this.attributeLimit) {\n          return false;\n        }\n        columnValues[key] = record[key];\n      });\n      return columnValues;\n    },\n    /**\n      Returns keywords to match when searching records\n       @method getRecordKeywords\n      @private\n      @param {Model} record\n      @return {Array} Relevant keywords for search based on the record's attribute values\n    */\n    getRecordKeywords(record) {\n      let keywords = [];\n      let keys = (0, _array.A)(['id']);\n      record.eachAttribute(key => keys.push(key));\n      keys.forEach(key => keywords.push(record[key]));\n      return keywords;\n    },\n    /**\n      Returns the values of filters defined by `getFilters`\n      These reflect the state of the record\n       @method getRecordFilterValues\n      @private\n      @param {Model} record\n      @return {Object} The record state filter values\n    */\n    getRecordFilterValues(record) {\n      return {\n        isNew: record.isNew,\n        isModified: record.hasDirtyAttributes && !record.isNew,\n        isClean: !record.hasDirtyAttributes\n      };\n    },\n    /**\n      Returns a color that represents the record's state\n      Possible colors: black, blue, green\n       @method getRecordColor\n      @private\n      @param {Model} record\n      @return {String} The record color\n    */\n    getRecordColor(record) {\n      let color = 'black';\n      if (record.isNew) {\n        color = 'green';\n      } else if (record.hasDirtyAttributes) {\n        color = 'blue';\n      }\n      return color;\n    },\n    /**\n      Observes all relevant properties and re-sends the wrapped record\n      when a change occurs\n       @method observeRecord\n      @private\n      @param {Model} record\n      @param {Function} recordUpdated Callback used to notify changes\n      @return {Function} The function to call to remove all observers\n    */\n    observeRecord(record, recordUpdated) {\n      let releaseMethods = (0, _array.A)();\n      let keysToObserve = (0, _array.A)(['id', 'isNew', 'hasDirtyAttributes']);\n      record.eachAttribute(key => keysToObserve.push(key));\n      let adapter = this;\n      keysToObserve.forEach(function (key) {\n        let handler = function () {\n          recordUpdated(adapter.wrapRecord(record));\n        };\n        (0, _observers.addObserver)(record, key, handler);\n        releaseMethods.push(function () {\n          (0, _observers.removeObserver)(record, key, handler);\n        });\n      });\n      let release = function () {\n        releaseMethods.forEach(fn => fn());\n      };\n      return release;\n    }\n  });\n});","define(\"@ember-data/debug/setup\", [\"exports\", \"@ember-data/store\"], function (_exports, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.typesMapFor = typesMapFor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/store\"eaimeta@70e063a35619d71f\n  // dirty hack to add the known models to the typesMap\n  const StoreTypesMap = new WeakMap();\n  function typesMapFor(store) {\n    let typesMap = StoreTypesMap.get(store);\n    if (typesMap === undefined) {\n      typesMap = new Map();\n      StoreTypesMap.set(store, typesMap);\n    }\n    return typesMap;\n  }\n\n  // EmberData 4.7+\n  Object.defineProperty(_store.default.prototype, '_instanceCache', {\n    get() {\n      return this.__instanceCache;\n    },\n    set(value) {\n      const getResourceCache = value.getResourceCache;\n      const store = this;\n      value.getResourceCache = function (identifier) {\n        const typesMap = typesMapFor(store);\n        if (!typesMap.has(identifier.type)) {\n          typesMap.set(identifier.type, false);\n        }\n        return getResourceCache.call(this, identifier);\n      };\n      this.__instanceCache = value;\n    }\n  });\n\n  // EmberData <= 4.6\n  const __createRecordData = _store.default.prototype._createRecordData;\n  _store.default.prototype._createRecordData = function (identifier) {\n    const typesMap = typesMapFor(this);\n    if (!typesMap.has(identifier.type)) {\n      typesMap.set(identifier.type, false);\n    }\n    return __createRecordData.call(this, identifier);\n  };\n  var _default = _exports.default = {\n    name: '@ember-data/data-adapter',\n    initialize() {}\n  };\n});","define(\"@ember-data/graph/-private\", [\"exports\", \"@ember/debug\", \"@ember-data/store/-private\"], function (_exports, _debug, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.graphFor = graphFor;\n  _exports.peekGraph = peekGraph;\n  // that developers may provide IDs as numbers (e.g., `store.findRecord('person', 1)`),\n  // it is important that internally we use strings, since IDs may be serialized\n  // and lose type information.  For example, Ember's router may put a record's\n  // ID into the URL, and if we later try to deserialize that URL and find the\n  // corresponding record, we will not know if it is a string or a number.\n  function coerceId(id) {\n    if (id === null || id === undefined || id === '') {\n      return null;\n    }\n    if (typeof id === 'string') {\n      return id;\n    }\n    if (typeof id === 'symbol') {\n      return id.toString();\n    }\n    return '' + id;\n  }\n  function getStore(wrapper) {\n    (false && !('_store' in wrapper) && (0, _debug.assert)(`expected a private _store property`, '_store' in wrapper));\n    return wrapper._store;\n  }\n  function expandingGet(cache, key1, key2) {\n    let mainCache = cache[key1] = cache[key1] || Object.create(null);\n    return mainCache[key2];\n  }\n  function expandingSet(cache, key1, key2, value) {\n    let mainCache = cache[key1] = cache[key1] || Object.create(null);\n    mainCache[key2] = value;\n  }\n  function assertValidRelationshipPayload(graph, op) {\n    const relationship = graph.get(op.record, op.field);\n    (false && !(isHasMany(relationship) || isBelongsTo(relationship)) && (0, _debug.assert)(`Cannot update an implicit relationship`, isHasMany(relationship) || isBelongsTo(relationship)));\n    const payload = op.value;\n    const {\n      definition,\n      identifier,\n      state\n    } = relationship;\n    const {\n      type\n    } = identifier;\n    const {\n      field\n    } = op;\n    const {\n      isAsync,\n      kind\n    } = definition;\n    if (payload.links) {\n      (false && (0, _debug.warn)(`You pushed a record of type '${type}' with a relationship '${field}' configured as 'async: false'. You've included a link but no primary data, this may be an error in your payload. EmberData will treat this relationship as known-to-be-empty.`, isAsync || !!payload.data || state.hasReceivedData, {\n        id: 'ds.store.push-link-for-sync-relationship'\n      }));\n    } else if (payload.data) {\n      if (kind === 'belongsTo') {\n        (false && !(!Array.isArray(payload.data)) && (0, _debug.assert)(`A ${type} record was pushed into the store with the value of ${field} being ${(0, _debug.inspect)(payload.data)}, but ${field} is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.`, !Array.isArray(payload.data)));\n        assertRelationshipData(getStore(graph.store), identifier, payload.data, definition);\n      } else if (kind === 'hasMany') {\n        (false && !(Array.isArray(payload.data)) && (0, _debug.assert)(`A ${type} record was pushed into the store with the value of ${field} being '${(0, _debug.inspect)(payload.data)}', but ${field} is a hasMany relationship so the value must be an array. You should probably check your data payload or serializer.`, Array.isArray(payload.data)));\n        if (Array.isArray(payload.data)) {\n          for (let i = 0; i < payload.data.length; i++) {\n            assertRelationshipData(getStore(graph.store), identifier, payload.data[i], definition);\n          }\n        }\n      }\n    }\n  }\n  function isNew(identifier) {\n    if (!identifier.id) {\n      return true;\n    }\n    const cache = (0, _private.peekCache)(identifier);\n    return Boolean(cache?.isNew(identifier));\n  }\n  function isBelongsTo(relationship) {\n    return relationship.definition.kind === 'belongsTo';\n  }\n  function isImplicit(relationship) {\n    return relationship.definition.isImplicit;\n  }\n  function isHasMany(relationship) {\n    return relationship.definition.kind === 'hasMany';\n  }\n  function forAllRelatedIdentifiers(rel, cb) {\n    if (isBelongsTo(rel)) {\n      if (rel.remoteState) {\n        cb(rel.remoteState);\n      }\n      if (rel.localState && rel.localState !== rel.remoteState) {\n        cb(rel.localState);\n      }\n    } else if (isHasMany(rel)) {\n      // ensure we don't walk anything twice if an entry is\n      // in both localMembers and remoteMembers\n      let seen = new Set();\n      for (let i = 0; i < rel.localState.length; i++) {\n        const inverseIdentifier = rel.localState[i];\n        if (!seen.has(inverseIdentifier)) {\n          seen.add(inverseIdentifier);\n          cb(inverseIdentifier);\n        }\n      }\n      for (let i = 0; i < rel.remoteState.length; i++) {\n        const inverseIdentifier = rel.remoteState[i];\n        if (!seen.has(inverseIdentifier)) {\n          seen.add(inverseIdentifier);\n          cb(inverseIdentifier);\n        }\n      }\n    } else {\n      let seen = new Set();\n      rel.localMembers.forEach(inverseIdentifier => {\n        if (!seen.has(inverseIdentifier)) {\n          seen.add(inverseIdentifier);\n          cb(inverseIdentifier);\n        }\n      });\n      rel.remoteMembers.forEach(inverseIdentifier => {\n        if (!seen.has(inverseIdentifier)) {\n          seen.add(inverseIdentifier);\n          cb(inverseIdentifier);\n        }\n      });\n    }\n  }\n\n  /*\n    Removes the given identifier from BOTH remote AND local state.\n  \n    This method is useful when either a deletion or a rollback on a new record\n    needs to entirely purge itself from an inverse relationship.\n    */\n  function removeIdentifierCompletelyFromRelationship(graph, relationship, value, silenceNotifications) {\n    if (isBelongsTo(relationship)) {\n      if (relationship.remoteState === value) {\n        relationship.remoteState = null;\n      }\n      if (relationship.localState === value) {\n        relationship.localState = null;\n        // This allows dematerialized inverses to be rematerialized\n        // we shouldn't be notifying here though, figure out where\n        // a notification was missed elsewhere.\n        if (!silenceNotifications) {\n          notifyChange(graph, relationship.identifier, relationship.definition.key);\n        }\n      }\n    } else if (isHasMany(relationship)) {\n      relationship.remoteMembers.delete(value);\n      relationship.localMembers.delete(value);\n      const canonicalIndex = relationship.remoteState.indexOf(value);\n      if (canonicalIndex !== -1) {\n        relationship.remoteState.splice(canonicalIndex, 1);\n      }\n      const currentIndex = relationship.localState.indexOf(value);\n      if (currentIndex !== -1) {\n        relationship.localState.splice(currentIndex, 1);\n        // This allows dematerialized inverses to be rematerialized\n        // we shouldn't be notifying here though, figure out where\n        // a notification was missed elsewhere.\n        if (!silenceNotifications) {\n          notifyChange(graph, relationship.identifier, relationship.definition.key);\n        }\n      }\n    } else {\n      relationship.remoteMembers.delete(value);\n      relationship.localMembers.delete(value);\n    }\n  }\n\n  // TODO add silencing at the graph level\n  function notifyChange(graph, identifier, key) {\n    if (identifier === graph._removing) {\n      return;\n    }\n    graph.store.notifyChange(identifier, 'relationships', key);\n  }\n  function assertRelationshipData(store, identifier, data, meta) {\n    (false && !(!Array.isArray(data)) && (0, _debug.assert)(`A ${identifier.type} record was pushed into the store with the value of ${meta.key} being '${JSON.stringify(data)}', but ${meta.key} is a belongsTo relationship so the value must not be an array. You should probably check your data payload or serializer.`, !Array.isArray(data)));\n    (false && !(data === null || typeof data.type === 'string' && data.type.length) && (0, _debug.assert)(`Encountered a relationship identifier without a type for the ${meta.kind} relationship '${meta.key}' on <${identifier.type}:${identifier.id}>, expected an identifier with type '${meta.type}' but found\\n\\n'${JSON.stringify(data, null, 2)}'\\n\\nPlease check your serializer and make sure it is serializing the relationship payload into a JSON API format.`, data === null || typeof data.type === 'string' && data.type.length));\n    (false && !(data === null || !!coerceId(data.id)) && (0, _debug.assert)(`Encountered a relationship identifier without an id for the ${meta.kind} relationship '${meta.key}' on <${identifier.type}:${identifier.id}>, expected an identifier but found\\n\\n'${JSON.stringify(data, null, 2)}'\\n\\nPlease check your serializer and make sure it is serializing the relationship payload into a JSON API format.`, data === null || !!coerceId(data.id)));\n    (false && !(data === null || !data.type || store.getSchemaDefinitionService().doesTypeExist(data.type)) && (0, _debug.assert)(`Encountered a relationship identifier with type '${data.type}' for the ${meta.kind} relationship '${meta.key}' on <${identifier.type}:${identifier.id}>, Expected an identifier with type '${meta.type}'. No model was found for '${data.type}'.`, data === null || !data.type || store.getSchemaDefinitionService().doesTypeExist(data.type)));\n  }\n  function createState() {\n    return {\n      hasReceivedData: false,\n      isEmpty: true,\n      isStale: false,\n      hasFailedLoadAttempt: false,\n      shouldForceReload: false,\n      hasDematerializedInverse: false\n    };\n  }\n  class BelongsToRelationship {\n    constructor(definition, identifier) {\n      this.definition = definition;\n      this.identifier = identifier;\n      this._state = null;\n      this.transactionRef = 0;\n      this.meta = null;\n      this.links = null;\n      this.localState = null;\n      this.remoteState = null;\n    }\n    get state() {\n      let {\n        _state\n      } = this;\n      if (!_state) {\n        _state = this._state = createState();\n      }\n      return _state;\n    }\n    getData() {\n      let data;\n      let payload = {};\n      if (this.localState) {\n        data = this.localState;\n      }\n      if (this.localState === null && this.state.hasReceivedData) {\n        data = null;\n      }\n      if (this.links) {\n        payload.links = this.links;\n      }\n      if (data !== undefined) {\n        payload.data = data;\n      }\n      if (this.meta) {\n        payload.meta = this.meta;\n      }\n      return payload;\n    }\n  }\n  class ManyRelationship {\n    constructor(definition, identifier) {\n      this.definition = definition;\n      this.identifier = identifier;\n      this._state = null;\n      this.transactionRef = 0;\n      this.localMembers = new Set();\n      this.remoteMembers = new Set();\n      this.meta = null;\n      this.links = null;\n\n      // persisted state\n      this.remoteState = [];\n      // local client state\n      this.localState = [];\n    }\n    get state() {\n      let {\n        _state\n      } = this;\n      if (!_state) {\n        _state = this._state = createState();\n      }\n      return _state;\n    }\n    getData() {\n      let payload = {};\n      if (this.state.hasReceivedData) {\n        payload.data = this.localState.slice();\n      }\n      if (this.links) {\n        payload.links = this.links;\n      }\n      if (this.meta) {\n        payload.meta = this.meta;\n      }\n      return payload;\n    }\n  }\n\n  /*\n    Assert that `addedRecord` has a valid type so it can be added to the\n    relationship of the `record`.\n  \n    The assert basically checks if the `addedRecord` can be added to the\n    relationship (specified via `relationshipMeta`) of the `record`.\n  \n    This utility should only be used internally, as both record parameters must\n    be stable record identifiers and the `relationshipMeta` needs to be the meta\n    information about the relationship, retrieved via\n    `record.relationshipFor(key)`.\n  */\n  let assertPolymorphicType;\n  let assertInheritedSchema;\n  /**\n   *\n   * Given RHS (Right Hand Side)\n   *\n   * ```ts\n   * class User extends Model {\n   *   @hasMany('animal', { async: false, inverse: 'owner' }) pets;\n   * }\n   * ```\n   *\n   * Given LHS (Left Hand Side)\n   *\n   * ```ts\n   * class Animal extends Model {\n   *  @belongsTo('user', { async: false, inverse: 'pets' }) owner;\n   * }\n   * ```\n   *\n   * The UpgradedMeta for the RHS would be:\n   *\n   * ```ts\n   * {\n   *   kind: 'hasMany',\n   *   key: 'pets',\n   *   type: 'animal',\n   *   isAsync: false,\n   *   isImplicit: false,\n   *   isCollection: true,\n   *   isPolymorphic: false,\n   *   inverseKind: 'belongsTo',\n   *   inverseKey: 'owner',\n   *   inverseType: 'user',\n   *   inverseIsAsync: false,\n   *   inverseIsImplicit: false,\n   *   inverseIsCollection: false,\n   *   inverseIsPolymorphic: false,\n   * }\n   *\n   * The UpgradeMeta for the LHS would be:\n   *\n   * ```ts\n   * {\n   *   kind: 'belongsTo',\n   *   key: 'owner',\n   *   type: 'user',\n   *   isAsync: false,\n   *   isImplicit: false,\n   *   isCollection: false,\n   *   isPolymorphic: false,\n   *   inverseKind: 'hasMany',\n   *   inverseKey: 'pets',\n   *   inverseType: 'animal',\n   *   inverseIsAsync: false,\n   *   inverseIsImplicit: false,\n   *   inverseIsCollection: true,\n   *   inverseIsPolymorphic: false,\n   * }\n   * ```\n   *\n   *\n   * @class UpgradedMeta\n   * @internal\n   */\n\n  const BOOL_LATER = null;\n  const STR_LATER = '';\n  const IMPLICIT_KEY_RAND = Date.now();\n  function implicitKeyFor(type, key) {\n    return `implicit-${type}:${key}${IMPLICIT_KEY_RAND}`;\n  }\n  function syncMeta(definition, inverseDefinition) {\n    definition.inverseKind = inverseDefinition.kind;\n    definition.inverseKey = inverseDefinition.key;\n    definition.inverseType = inverseDefinition.type;\n    definition.inverseIsAsync = inverseDefinition.isAsync;\n    definition.inverseIsCollection = inverseDefinition.isCollection;\n    definition.inverseIsPolymorphic = inverseDefinition.isPolymorphic;\n    definition.inverseIsImplicit = inverseDefinition.isImplicit;\n  }\n  function upgradeMeta(meta) {\n    let niceMeta = {};\n    let options = meta.options;\n    niceMeta.kind = meta.kind;\n    niceMeta.key = meta.name;\n    niceMeta.type = meta.type;\n    (false && !(typeof options?.async === 'boolean') && (0, _debug.assert)(`Expected relationship definition to specify async`, typeof options?.async === 'boolean'));\n    niceMeta.isAsync = options.async;\n    niceMeta.isImplicit = false;\n    niceMeta.isCollection = meta.kind === 'hasMany';\n    niceMeta.isPolymorphic = options && !!options.polymorphic;\n    niceMeta.inverseKey = options && options.inverse || STR_LATER;\n    niceMeta.inverseType = STR_LATER;\n    niceMeta.inverseIsAsync = BOOL_LATER;\n    niceMeta.inverseIsImplicit = options && options.inverse === null || BOOL_LATER;\n    niceMeta.inverseIsCollection = BOOL_LATER;\n    return niceMeta;\n  }\n  function assertConfiguration(info, type, key) {}\n  function isLHS(info, type, key) {\n    let isSelfReferential = info.isSelfReferential;\n    let isRelationship = key === info.lhs_relationshipName;\n    if (isRelationship === true) {\n      return isSelfReferential === true ||\n      // itself\n      type === info.lhs_baseModelName ||\n      // base or non-polymorphic\n      // if the other side is polymorphic then we need to scan our modelNames\n      info.rhs_isPolymorphic && info.lhs_modelNames.indexOf(type) !== -1 // polymorphic\n      ;\n    }\n    return false;\n  }\n  function upgradeDefinition(graph, identifier, propertyName, isImplicit = false) {\n    const cache = graph._definitionCache;\n    const storeWrapper = graph.store;\n    const polymorphicLookup = graph._potentialPolymorphicTypes;\n    const {\n      type\n    } = identifier;\n    let cached = expandingGet(cache, type, propertyName);\n\n    // CASE: We have a cached resolution (null if no relationship exists)\n    if (cached !== undefined) {\n      return cached;\n    }\n    (false && !(!isImplicit) && (0, _debug.assert)(`Expected to find relationship definition in the cache for the implicit relationship ${propertyName}`, !isImplicit));\n    let relationships = storeWrapper.getSchemaDefinitionService().relationshipsDefinitionFor(identifier);\n    (false && !(relationships) && (0, _debug.assert)(`Expected to have a relationship definition for ${type} but none was found.`, relationships));\n    let meta = relationships[propertyName];\n    if (!meta) {\n      // TODO potentially we should just be permissive here since this is an implicit relationship\n      // and not require the lookup table to be populated\n      if (polymorphicLookup[type]) {\n        const altTypes = Object.keys(polymorphicLookup[type]);\n        for (let i = 0; i < altTypes.length; i++) {\n          let cached = expandingGet(cache, altTypes[i], propertyName);\n          if (cached) {\n            expandingSet(cache, type, propertyName, cached);\n            cached.rhs_modelNames.push(type);\n            return cached;\n          }\n        }\n      }\n\n      // CASE: We don't have a relationship at all\n      // we should only hit this in prod\n      (false && !(meta) && (0, _debug.assert)(`Expected to find a relationship definition for ${type}.${propertyName} but none was found.`, meta));\n      cache[type][propertyName] = null;\n      return null;\n    }\n    const definition = upgradeMeta(meta);\n    let inverseDefinition;\n    let inverseKey;\n    const inverseType = definition.type;\n\n    // CASE: Inverse is explicitly null\n    if (definition.inverseKey === null) {\n      // TODO probably dont need this assertion if polymorphic\n      (false && !(getStore(storeWrapper).modelFor(inverseType)) && (0, _debug.assert)(`Expected the inverse model to exist`, getStore(storeWrapper).modelFor(inverseType)));\n      inverseDefinition = null;\n    } else {\n      inverseKey = inverseForRelationship(getStore(storeWrapper), identifier, propertyName);\n\n      // CASE: If we are polymorphic, and we declared an inverse that is non-null\n      // we must assume that the lack of inverseKey means that there is no\n      // concrete type as the baseType, so we must construct and artificial\n      // placeholder\n      if (!inverseKey && definition.isPolymorphic && definition.inverseKey) {\n        inverseDefinition = {\n          kind: 'belongsTo',\n          // this must be updated when we find the first belongsTo or hasMany definition that matches\n          key: definition.inverseKey,\n          type: type,\n          isAsync: false,\n          // this must be updated when we find the first belongsTo or hasMany definition that matches\n          isImplicit: false,\n          isCollection: false,\n          // this must be updated when we find the first belongsTo or hasMany definition that matches\n          isPolymorphic: false,\n          isInitialized: false // tracks whether we have seen the other side at least once\n        };\n\n        // CASE: Inverse resolves to null\n      } else if (!inverseKey) {\n        inverseDefinition = null;\n      } else {\n        // CASE: We have an explicit inverse or were able to resolve one\n        let inverseDefinitions = storeWrapper.getSchemaDefinitionService().relationshipsDefinitionFor({\n          type: inverseType\n        });\n        (false && !(inverseDefinitions) && (0, _debug.assert)(`Expected to have a relationship definition for ${inverseType} but none was found.`, inverseDefinitions));\n        let meta = inverseDefinitions[inverseKey];\n        (false && !(meta) && (0, _debug.assert)(`Expected to find a relationship definition for ${inverseType}.${inverseKey} but none was found.`, meta));\n        inverseDefinition = upgradeMeta(meta);\n      }\n    }\n\n    // CASE: We have no inverse\n    if (!inverseDefinition) {\n      // polish off meta\n      inverseKey = implicitKeyFor(type, propertyName);\n      inverseDefinition = {\n        kind: 'implicit',\n        key: inverseKey,\n        type: type,\n        isAsync: false,\n        isImplicit: true,\n        isCollection: true,\n        // with implicits any number of records could point at us\n        isPolymorphic: false\n      };\n      syncMeta(definition, inverseDefinition);\n      syncMeta(inverseDefinition, definition);\n      const info = {\n        lhs_key: `${type}:${propertyName}`,\n        lhs_modelNames: [type],\n        lhs_baseModelName: type,\n        lhs_relationshipName: propertyName,\n        lhs_definition: definition,\n        lhs_isPolymorphic: definition.isPolymorphic,\n        rhs_key: inverseDefinition.key,\n        rhs_modelNames: [inverseType],\n        rhs_baseModelName: inverseType,\n        rhs_relationshipName: inverseDefinition.key,\n        rhs_definition: inverseDefinition,\n        rhs_isPolymorphic: false,\n        hasInverse: false,\n        isSelfReferential: type === inverseType,\n        // this could be wrong if we are self-referential but also polymorphic\n        isReflexive: false // we can't be reflexive if we don't define an inverse\n      };\n      expandingSet(cache, inverseType, inverseKey, info);\n      expandingSet(cache, type, propertyName, info);\n      return info;\n    }\n\n    // CASE: We do have an inverse\n    const baseType = inverseDefinition.type;\n\n    // TODO we want to assert this but this breaks all of our shoddily written tests\n    /*\n      if (DEBUG) {\n        let inverseDoubleCheck = inverseMeta.type.inverseFor(inverseRelationshipName, store);\n         assert(`The ${inverseBaseModelName}:${inverseRelationshipName} relationship declares 'inverse: null', but it was resolved as the inverse for ${baseModelName}:${relationshipName}.`, inverseDoubleCheck);\n      }\n    */\n    // CASE: We may have already discovered the inverse for the baseModelName\n    // CASE: We have already discovered the inverse\n    cached = expandingGet(cache, baseType, propertyName) || expandingGet(cache, inverseType, inverseKey);\n    if (cached) {\n      // TODO this assert can be removed if the above assert is enabled\n      (false && !(cached.hasInverse !== false) && (0, _debug.assert)(`The ${inverseType}:${inverseKey} relationship declares 'inverse: null', but it was resolved as the inverse for ${type}:${propertyName}.`, cached.hasInverse !== false));\n      let isLHS = cached.lhs_baseModelName === baseType;\n      let modelNames = isLHS ? cached.lhs_modelNames : cached.rhs_modelNames;\n      // make this lookup easier in the future by caching the key\n      modelNames.push(type);\n      expandingSet(cache, type, propertyName, cached);\n      return cached;\n    }\n\n    // this is our first time so polish off the metas\n    syncMeta(definition, inverseDefinition);\n    syncMeta(inverseDefinition, definition);\n    const lhs_modelNames = [type];\n    if (type !== baseType) {\n      lhs_modelNames.push(baseType);\n    }\n    const isSelfReferential = baseType === inverseType;\n    const info = {\n      lhs_key: `${baseType}:${propertyName}`,\n      lhs_modelNames,\n      lhs_baseModelName: baseType,\n      lhs_relationshipName: propertyName,\n      lhs_definition: definition,\n      lhs_isPolymorphic: definition.isPolymorphic,\n      rhs_key: `${inverseType}:${inverseKey}`,\n      rhs_modelNames: [inverseType],\n      rhs_baseModelName: inverseType,\n      rhs_relationshipName: inverseKey,\n      rhs_definition: inverseDefinition,\n      rhs_isPolymorphic: inverseDefinition.isPolymorphic,\n      hasInverse: true,\n      isSelfReferential,\n      isReflexive: isSelfReferential && propertyName === inverseKey\n    };\n\n    // Create entries for the baseModelName as well as modelName to speed up\n    //  inverse lookups\n    expandingSet(cache, baseType, propertyName, info);\n    expandingSet(cache, type, propertyName, info);\n\n    // Greedily populate the inverse\n    expandingSet(cache, inverseType, inverseKey, info);\n    return info;\n  }\n  function metaIsRelationshipDefinition(meta) {\n    return typeof meta._inverseKey === 'function';\n  }\n  function inverseForRelationship(store, identifier, key) {\n    const definition = store.getSchemaDefinitionService().relationshipsDefinitionFor(identifier)[key];\n    if (!definition) {\n      return null;\n    }\n    {\n      if (metaIsRelationshipDefinition(definition)) {\n        const modelClass = store.modelFor(identifier.type);\n        return definition._inverseKey(store, modelClass);\n      }\n    }\n    (false && !(definition.options?.inverse === null || typeof definition.options?.inverse === 'string' && definition.options.inverse.length > 0) && (0, _debug.assert)(`Expected the relationship defintion to specify the inverse type or null.`, definition.options?.inverse === null || typeof definition.options?.inverse === 'string' && definition.options.inverse.length > 0));\n    return definition.options.inverse;\n  }\n\n  /*\n      case many:1\n      ========\n      In a bi-directional graph with Many:1 edges, adding a value\n      results in up-to 3 discrete value transitions, while removing\n      a value is only 2 transitions.\n  \n      For adding C to A\n      If: A <<-> B, C <->> D is the initial state,\n      and: B <->> A <<-> C, D is the final state\n  \n      then we would undergo the following transitions.\n  \n      add C to A\n      remove C from D\n      add A to C\n  \n      For removing B from A\n      If: A <<-> B, C <->> D is the initial state,\n      and: A, B, C <->> D is the final state\n  \n      then we would undergo the following transitions.\n  \n      remove B from A\n      remove A from B\n  \n      case many:many\n      ===========\n      In a bi-directional graph with Many:Many edges, adding or\n      removing a value requires only 2 value transitions.\n  \n      For Adding\n      If: A<<->>B, C<<->>D is the initial state (double arrows representing the many side)\n      And: D<<->>C<<->>A<<->>B is the final state\n  \n      Then we would undergo two transitions.\n  \n      add C to A.\n      add A to C\n  \n      For Removing\n      If: A<<->>B, C<<->>D is the initial state (double arrows representing the many side)\n      And: A, B, C<<->>D is the final state\n  \n      Then we would undergo two transitions.\n  \n      remove B from A\n      remove A from B\n  \n      case many:?\n      ========\n      In a uni-directional graph with Many:? edges (modeled in EmberData with `inverse:null`) with\n      artificial (implicit) inverses, replacing a value results in 2 discrete value transitions.\n      This is because a Many:? relationship is effectively Many:Many.\n    */\n  function replaceRelatedRecords(graph, op, isRemote) {\n    if (isRemote) {\n      replaceRelatedRecordsRemote(graph, op, isRemote);\n    } else {\n      replaceRelatedRecordsLocal(graph, op, isRemote);\n    }\n  }\n  function replaceRelatedRecordsLocal(graph, op, isRemote) {\n    const identifiers = op.value;\n    const relationship = graph.get(op.record, op.field);\n    (false && !(isHasMany(relationship)) && (0, _debug.assert)(`expected hasMany relationship`, isHasMany(relationship)));\n    relationship.state.hasReceivedData = true;\n\n    // cache existing state\n    const {\n      localState,\n      localMembers,\n      definition\n    } = relationship;\n    const newValues = new Set(identifiers);\n    const identifiersLength = identifiers.length;\n    const newState = new Array(newValues.size);\n    const newMembership = new Set();\n\n    // wipe existing state\n    relationship.localMembers = newMembership;\n    relationship.localState = newState;\n    const {\n      type\n    } = relationship.definition;\n    let changed = false;\n    const currentLength = localState.length;\n    const iterationLength = currentLength > identifiersLength ? currentLength : identifiersLength;\n    const equalLength = currentLength === identifiersLength;\n    for (let i = 0, j = 0; i < iterationLength; i++) {\n      let adv = false;\n      if (i < identifiersLength) {\n        const identifier = identifiers[i];\n        // skip processing if we encounter a duplicate identifier in the array\n        if (!newMembership.has(identifier)) {\n          if (type !== identifier.type) {\n            graph.registerPolymorphicType(type, identifier.type);\n          }\n          newState[j] = identifier;\n          adv = true;\n          newMembership.add(identifier);\n          if (!localMembers.has(identifier)) {\n            changed = true;\n            addToInverse(graph, identifier, definition.inverseKey, op.record, isRemote);\n          }\n        }\n      }\n      if (i < currentLength) {\n        const identifier = localState[i];\n\n        // detect reordering\n        if (!newMembership.has(identifier)) {\n          if (equalLength && newState[i] !== identifier) {\n            changed = true;\n          }\n          if (!newValues.has(identifier)) {\n            changed = true;\n            removeFromInverse(graph, identifier, definition.inverseKey, op.record, isRemote);\n          }\n        }\n      }\n      if (adv) {\n        j++;\n      }\n    }\n    if (changed) {\n      notifyChange(graph, relationship.identifier, relationship.definition.key);\n    }\n  }\n  function replaceRelatedRecordsRemote(graph, op, isRemote) {\n    const identifiers = op.value;\n    const relationship = graph.get(op.record, op.field);\n    (false && !(isHasMany(relationship)) && (0, _debug.assert)(`You can only '${op.op}' on a hasMany relationship. ${op.record.type}.${op.field} is a ${relationship.definition.kind}`, isHasMany(relationship)));\n    if (isRemote) {\n      graph._addToTransaction(relationship);\n    }\n    relationship.state.hasReceivedData = true;\n\n    // cache existing state\n    const {\n      remoteState,\n      remoteMembers,\n      definition\n    } = relationship;\n    const newValues = new Set(identifiers);\n    const identifiersLength = identifiers.length;\n    const newState = new Array(newValues.size);\n    const newMembership = new Set();\n\n    // wipe existing state\n    relationship.remoteMembers = newMembership;\n    relationship.remoteState = newState;\n    const {\n      type\n    } = relationship.definition;\n    let changed = false;\n    const canonicalLength = remoteState.length;\n    const iterationLength = canonicalLength > identifiersLength ? canonicalLength : identifiersLength;\n    const equalLength = canonicalLength === identifiersLength;\n    for (let i = 0, j = 0; i < iterationLength; i++) {\n      let adv = false;\n      if (i < identifiersLength) {\n        const identifier = identifiers[i];\n        if (!newMembership.has(identifier)) {\n          if (type !== identifier.type) {\n            graph.registerPolymorphicType(type, identifier.type);\n          }\n          newState[j] = identifier;\n          newMembership.add(identifier);\n          adv = true;\n          if (!remoteMembers.has(identifier)) {\n            changed = true;\n            addToInverse(graph, identifier, definition.inverseKey, op.record, isRemote);\n          }\n        }\n      }\n      if (i < canonicalLength) {\n        const identifier = remoteState[i];\n        if (!newMembership.has(identifier)) {\n          // detect reordering\n          if (equalLength && newState[j] !== identifier) {\n            changed = true;\n          }\n          if (!newValues.has(identifier)) {\n            changed = true;\n            removeFromInverse(graph, identifier, definition.inverseKey, op.record, isRemote);\n          }\n        }\n      }\n      if (adv) {\n        j++;\n      }\n    }\n    if (changed) {\n      flushCanonical(graph, relationship);\n      /*\n      replaceRelatedRecordsLocal(\n        graph,\n        {\n          op: op.op,\n          record: op.record,\n          field: op.field,\n          value: remoteState,\n        },\n        false\n      );*/\n    } else {\n      // preserve legacy behavior we want to change but requires some sort\n      // of deprecation.\n      flushCanonical(graph, relationship);\n    }\n  }\n  function addToInverse(graph, identifier, key, value, isRemote) {\n    const relationship = graph.get(identifier, key);\n    const {\n      type\n    } = relationship.definition;\n    if (type !== value.type) {\n      graph.registerPolymorphicType(type, value.type);\n    }\n    if (isBelongsTo(relationship)) {\n      relationship.state.hasReceivedData = true;\n      relationship.state.isEmpty = false;\n      if (isRemote) {\n        graph._addToTransaction(relationship);\n        if (relationship.remoteState !== null) {\n          removeFromInverse(graph, relationship.remoteState, relationship.definition.inverseKey, identifier, isRemote);\n        }\n        relationship.remoteState = value;\n      }\n      if (relationship.localState !== value) {\n        if (!isRemote && relationship.localState) {\n          removeFromInverse(graph, relationship.localState, relationship.definition.inverseKey, identifier, isRemote);\n        }\n        relationship.localState = value;\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n      }\n    } else if (isHasMany(relationship)) {\n      if (isRemote) {\n        if (!relationship.remoteMembers.has(value)) {\n          graph._addToTransaction(relationship);\n          relationship.remoteState.push(value);\n          relationship.remoteMembers.add(value);\n          relationship.state.hasReceivedData = true;\n          flushCanonical(graph, relationship);\n        }\n      } else {\n        if (!relationship.localMembers.has(value)) {\n          relationship.localState.push(value);\n          relationship.localMembers.add(value);\n          relationship.state.hasReceivedData = true;\n          notifyChange(graph, relationship.identifier, relationship.definition.key);\n        }\n      }\n    } else {\n      if (isRemote) {\n        if (!relationship.remoteMembers.has(value)) {\n          relationship.remoteMembers.add(value);\n          relationship.localMembers.add(value);\n        }\n      } else {\n        if (!relationship.localMembers.has(value)) {\n          relationship.localMembers.add(value);\n        }\n      }\n    }\n  }\n  function notifyInverseOfPotentialMaterialization(graph, identifier, key, value, isRemote) {\n    const relationship = graph.get(identifier, key);\n    if (isHasMany(relationship) && isRemote && relationship.remoteMembers.has(value)) {\n      notifyChange(graph, relationship.identifier, relationship.definition.key);\n    }\n  }\n  function removeFromInverse(graph, identifier, key, value, isRemote) {\n    const relationship = graph.get(identifier, key);\n    if (isBelongsTo(relationship)) {\n      relationship.state.isEmpty = true;\n      if (isRemote) {\n        graph._addToTransaction(relationship);\n        relationship.remoteState = null;\n      }\n      if (relationship.localState === value) {\n        relationship.localState = null;\n        notifyChange(graph, identifier, key);\n      }\n    } else if (isHasMany(relationship)) {\n      if (isRemote) {\n        graph._addToTransaction(relationship);\n        let index = relationship.remoteState.indexOf(value);\n        if (index !== -1) {\n          relationship.remoteMembers.delete(value);\n          relationship.remoteState.splice(index, 1);\n        }\n      }\n      let index = relationship.localState.indexOf(value);\n      if (index !== -1) {\n        relationship.localMembers.delete(value);\n        relationship.localState.splice(index, 1);\n      }\n      notifyChange(graph, relationship.identifier, relationship.definition.key);\n    } else {\n      if (isRemote) {\n        relationship.remoteMembers.delete(value);\n        relationship.localMembers.delete(value);\n      } else {\n        if (value && relationship.localMembers.has(value)) {\n          relationship.localMembers.delete(value);\n        }\n      }\n    }\n  }\n  function syncRemoteToLocal(graph, rel) {\n    let toSet = rel.remoteState;\n    let newIdentifiers = rel.localState.filter(identifier => isNew(identifier) && toSet.indexOf(identifier) === -1);\n    let existingState = rel.localState;\n    rel.localState = toSet.concat(newIdentifiers);\n    let localMembers = rel.localMembers = new Set();\n    rel.remoteMembers.forEach(v => localMembers.add(v));\n    for (let i = 0; i < newIdentifiers.length; i++) {\n      localMembers.add(newIdentifiers[i]);\n    }\n\n    // TODO always notifying fails only one test and we should probably do away with it\n    if (existingState.length !== rel.localState.length) {\n      notifyChange(graph, rel.identifier, rel.definition.key);\n    } else {\n      for (let i = 0; i < existingState.length; i++) {\n        if (existingState[i] !== rel.localState[i]) {\n          notifyChange(graph, rel.identifier, rel.definition.key);\n          break;\n        }\n      }\n    }\n  }\n  function flushCanonical(graph, rel) {\n    graph._scheduleLocalSync(rel);\n  }\n  function addToRelatedRecords(graph, op, isRemote) {\n    const {\n      record,\n      value,\n      index\n    } = op;\n    const relationship = graph.get(record, op.field);\n    (false && !(isHasMany(relationship)) && (0, _debug.assert)(`You can only '${op.op}' on a hasMany relationship. ${record.type}.${op.field} is a ${relationship.definition.kind}`, isHasMany(relationship)));\n    if (Array.isArray(value)) {\n      for (let i = 0; i < value.length; i++) {\n        addRelatedRecord(graph, relationship, record, value[i], index !== undefined ? index + i : index, isRemote);\n      }\n    } else {\n      addRelatedRecord(graph, relationship, record, value, index, isRemote);\n    }\n    notifyChange(graph, relationship.identifier, relationship.definition.key);\n  }\n  function addRelatedRecord(graph, relationship, record, value, index, isRemote) {\n    (false && !(value) && (0, _debug.assert)(`expected an identifier to add to the relationship`, value));\n    const {\n      localMembers,\n      localState\n    } = relationship;\n    if (localMembers.has(value)) {\n      return;\n    }\n    const {\n      type\n    } = relationship.definition;\n    if (type !== value.type) {\n      graph.registerPolymorphicType(value.type, type);\n    }\n    relationship.state.hasReceivedData = true;\n    localMembers.add(value);\n    if (index === undefined) {\n      localState.push(value);\n    } else {\n      localState.splice(index, 0, value);\n    }\n    addToInverse(graph, value, relationship.definition.inverseKey, record, isRemote);\n  }\n  function mergeIdentifier(graph, op, relationships) {\n    Object.keys(relationships).forEach(key => {\n      const rel = relationships[key];\n      if (!rel) {\n        return;\n      }\n      mergeIdentifierForRelationship(graph, op, rel);\n    });\n  }\n  function mergeIdentifierForRelationship(graph, op, rel) {\n    rel.identifier = op.value;\n    forAllRelatedIdentifiers(rel, identifier => {\n      const inverse = graph.get(identifier, rel.definition.inverseKey);\n      mergeInRelationship(graph, inverse, op);\n    });\n  }\n  function mergeInRelationship(graph, rel, op) {\n    if (isBelongsTo(rel)) {\n      mergeBelongsTo(graph, rel, op);\n    } else if (isHasMany(rel)) {\n      mergeHasMany(graph, rel, op);\n    } else {\n      mergeImplicit(graph, rel, op);\n    }\n  }\n  function mergeBelongsTo(graph, rel, op) {\n    if (rel.remoteState === op.record) {\n      rel.remoteState = op.value;\n    }\n    if (rel.localState === op.record) {\n      rel.localState = op.value;\n      notifyChange(graph, rel.identifier, rel.definition.key);\n    }\n  }\n  function mergeHasMany(graph, rel, op) {\n    if (rel.remoteMembers.has(op.record)) {\n      rel.remoteMembers.delete(op.record);\n      rel.remoteMembers.add(op.value);\n      const index = rel.remoteState.indexOf(op.record);\n      rel.remoteState.splice(index, 1, op.value);\n    }\n    if (rel.localMembers.has(op.record)) {\n      rel.localMembers.delete(op.record);\n      rel.localMembers.add(op.value);\n      const index = rel.localState.indexOf(op.record);\n      rel.localState.splice(index, 1, op.value);\n      notifyChange(graph, rel.identifier, rel.definition.key);\n    }\n  }\n  function mergeImplicit(graph, rel, op) {\n    if (rel.remoteMembers.has(op.record)) {\n      rel.remoteMembers.delete(op.record);\n      rel.remoteMembers.add(op.value);\n    }\n    if (rel.localMembers.has(op.record)) {\n      rel.localMembers.delete(op.record);\n      rel.localMembers.add(op.value);\n    }\n  }\n  function removeFromRelatedRecords(graph, op, isRemote) {\n    const {\n      record,\n      value\n    } = op;\n    const relationship = graph.get(record, op.field);\n    (false && !(isHasMany(relationship)) && (0, _debug.assert)(`You can only '${op.op}' on a hasMany relationship. ${record.type}.${op.field} is a ${relationship.definition.kind}`, isHasMany(relationship)));\n    if (Array.isArray(value)) {\n      for (let i = 0; i < value.length; i++) {\n        removeRelatedRecord(graph, relationship, record, value[i], isRemote);\n      }\n    } else {\n      removeRelatedRecord(graph, relationship, record, value, isRemote);\n    }\n    notifyChange(graph, relationship.identifier, relationship.definition.key);\n  }\n  function removeRelatedRecord(graph, relationship, record, value, isRemote) {\n    (false && !(value) && (0, _debug.assert)(`expected an identifier to add to the relationship`, value));\n    const {\n      localMembers,\n      localState\n    } = relationship;\n    if (!localMembers.has(value)) {\n      return;\n    }\n    localMembers.delete(value);\n    let index = localState.indexOf(value);\n    (false && !(index !== -1) && (0, _debug.assert)(`expected localMembers and localState to be in sync`, index !== -1));\n    localState.splice(index, 1);\n    removeFromInverse(graph, value, relationship.definition.inverseKey, record, isRemote);\n  }\n  function replaceRelatedRecord(graph, op, isRemote = false) {\n    const relationship = graph.get(op.record, op.field);\n    (false && !(isBelongsTo(relationship)) && (0, _debug.assert)(`You can only '${op.op}' on a belongsTo relationship. ${op.record.type}.${op.field} is a ${relationship.definition.kind}`, isBelongsTo(relationship)));\n    if (isRemote) {\n      graph._addToTransaction(relationship);\n    }\n    const {\n      definition,\n      state\n    } = relationship;\n    const prop = isRemote ? 'remoteState' : 'localState';\n    const existingState = relationship[prop];\n\n    /*\n      case 1:1\n      ========\n      In a bi-directional graph with 1:1 edges, replacing a value\n      results in up-to 4 discrete value transitions.\n       If: A <-> B, C <-> D is the initial state,\n      and: A <-> C, B, D is the final state\n       then we would undergo the following 4 transitions.\n       remove A from B\n      add C to A\n      remove C from D\n      add A to C\n       case 1:many\n      ===========\n      In a bi-directional graph with 1:Many edges, replacing a value\n      results in up-to 3 discrete value transitions.\n       If: A<->>B<<->D, C<<->D is the initial state (double arrows representing the many side)\n      And: A<->>C<<->D, B<<->D is the final state\n       Then we would undergo three transitions.\n       remove A from B\n      add C to A.\n      add A to C\n       case 1:?\n      ========\n      In a uni-directional graph with 1:? edges (modeled in EmberData with `inverse:null`) with\n      artificial (implicit) inverses, replacing a value results in up-to 3 discrete value transitions.\n      This is because a 1:? relationship is effectively 1:many.\n       If: A->B, C->B is the initial state\n      And: A->C, C->B is the final state\n       Then we would undergo three transitions.\n       Remove A from B\n      Add C to A\n      Add A to C\n    */\n\n    // nothing for us to do\n    if (op.value === existingState) {\n      // if we were empty before but now know we are empty this needs to be true\n      state.hasReceivedData = true;\n      // if this is a remote update we still sync\n      if (isRemote) {\n        const {\n          localState\n        } = relationship;\n        // don't sync if localState is a new record and our remoteState is null\n        if (localState && isNew(localState) && !existingState) {\n          return;\n        }\n        if (existingState && localState === existingState) {\n          notifyInverseOfPotentialMaterialization(graph, existingState, definition.inverseKey, op.record, isRemote);\n        } else {\n          relationship.localState = existingState;\n          notifyChange(graph, relationship.identifier, relationship.definition.key);\n        }\n      }\n      return;\n    }\n\n    // remove this value from the inverse if required\n    if (existingState) {\n      removeFromInverse(graph, existingState, definition.inverseKey, op.record, isRemote);\n    }\n\n    // update value to the new value\n    relationship[prop] = op.value;\n    state.hasReceivedData = true;\n    state.isEmpty = op.value === null;\n    state.isStale = false;\n    state.hasFailedLoadAttempt = false;\n    if (op.value) {\n      if (definition.type !== op.value.type) {\n        // assert(\n        //   `The '<${definition.inverseType}>.${op.field}' relationship expects only '${definition.type}' records since it is not polymorphic. Received a Record of type '${op.value.type}'`,\n        //   definition.isPolymorphic\n        // );\n\n        // TODO this should now handle the deprecation warning if isPolymorphic is not set\n        // but the record does turn out to be polymorphic\n        // this should still assert if the user is relying on legacy inheritance/mixins to\n        // provide polymorphic behavior and has not yet added the polymorphic flags\n\n        graph.registerPolymorphicType(definition.type, op.value.type);\n      }\n      addToInverse(graph, op.value, definition.inverseKey, op.record, isRemote);\n    }\n    if (isRemote) {\n      const {\n        localState,\n        remoteState\n      } = relationship;\n      if (localState && isNew(localState) && !remoteState) {\n        return;\n      }\n      if (localState !== remoteState) {\n        relationship.localState = remoteState;\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n      }\n    } else {\n      notifyChange(graph, relationship.identifier, relationship.definition.key);\n    }\n  }\n\n  /*\n    This method normalizes a link to an \"links object\". If the passed link is\n    already an object it's returned without any modifications.\n  \n    See http://jsonapi.org/format/#document-links for more information.\n  */\n  function _normalizeLink(link) {\n    switch (typeof link) {\n      case 'object':\n        return link;\n      case 'string':\n        return {\n          href: link\n        };\n    }\n  }\n\n  /*\n      Updates the \"canonical\" or \"remote\" state of a relationship, replacing any existing\n      state and blowing away any local changes (excepting new records).\n  */\n  function updateRelationshipOperation(graph, op) {\n    const relationship = graph.get(op.record, op.field);\n    (false && !(isHasMany(relationship) || isBelongsTo(relationship)) && (0, _debug.assert)(`Cannot update an implicit relationship`, isHasMany(relationship) || isBelongsTo(relationship)));\n    const {\n      definition,\n      state,\n      identifier\n    } = relationship;\n    const {\n      isCollection\n    } = definition;\n    const payload = op.value;\n    let hasRelationshipDataProperty = false;\n    let hasUpdatedLink = false;\n    if (payload.meta) {\n      relationship.meta = payload.meta;\n    }\n    if (payload.data !== undefined) {\n      hasRelationshipDataProperty = true;\n      if (isCollection) {\n        // TODO deprecate this case. We\n        // have tests saying we support it.\n        if (payload.data === null) {\n          payload.data = [];\n        }\n        (false && !(Array.isArray(payload.data)) && (0, _debug.assert)(`Expected an array`, Array.isArray(payload.data)));\n        const cache = graph.store.identifierCache;\n        // TODO may not need to cast to stable identifiers here since update likely does this too\n        graph.update({\n          op: 'replaceRelatedRecords',\n          record: identifier,\n          field: op.field,\n          value: payload.data.map(i => cache.getOrCreateRecordIdentifier(i))\n        }, true);\n      } else {\n        // TODO may not need to cast to stable identifiers here since update likely does this too\n        graph.update({\n          op: 'replaceRelatedRecord',\n          record: identifier,\n          field: op.field,\n          value: payload.data ? graph.store.identifierCache.getOrCreateRecordIdentifier(payload.data) : null\n        }, true);\n      }\n    } else if (definition.isAsync === false && !state.hasReceivedData) {\n      hasRelationshipDataProperty = true;\n      if (isCollection) {\n        graph.update({\n          op: 'replaceRelatedRecords',\n          record: identifier,\n          field: op.field,\n          value: []\n        }, true);\n      } else {\n        graph.update({\n          op: 'replaceRelatedRecord',\n          record: identifier,\n          field: op.field,\n          value: null\n        }, true);\n      }\n    }\n    if (payload.links) {\n      let originalLinks = relationship.links;\n      relationship.links = payload.links;\n      if (payload.links.related) {\n        let relatedLink = _normalizeLink(payload.links.related);\n        let currentLink = originalLinks && originalLinks.related ? _normalizeLink(originalLinks.related) : null;\n        let currentLinkHref = currentLink ? currentLink.href : null;\n        if (relatedLink && relatedLink.href && relatedLink.href !== currentLinkHref) {\n          (false && (0, _debug.warn)(`You pushed a record of type '${identifier.type}' with a relationship '${definition.key}' configured as 'async: false'. You've included a link but no primary data, this may be an error in your payload. EmberData will treat this relationship as known-to-be-empty.`, definition.isAsync || state.hasReceivedData, {\n            id: 'ds.store.push-link-for-sync-relationship'\n          }));\n          (false && !(typeof relatedLink.href === 'string' || relatedLink.href === null) && (0, _debug.assert)(`You have pushed a record of type '${identifier.type}' with '${definition.key}' as a link, but the value of that link is not a string.`, typeof relatedLink.href === 'string' || relatedLink.href === null));\n          hasUpdatedLink = true;\n        }\n      }\n    }\n\n    /*\n         Data being pushed into the relationship might contain only data or links,\n         or a combination of both.\n          IF contains only data\n         IF contains both links and data\n          state.isEmpty -> true if is empty array (has-many) or is null (belongs-to)\n          state.hasReceivedData -> true\n          hasDematerializedInverse -> false\n          state.isStale -> false\n          allInverseRecordsAreLoaded -> run-check-to-determine\n          IF contains only links\n          state.isStale -> true\n         */\n    relationship.state.hasFailedLoadAttempt = false;\n    if (hasRelationshipDataProperty) {\n      let relationshipIsEmpty = payload.data === null || Array.isArray(payload.data) && payload.data.length === 0;\n\n      // we don't need to notify here as the update op we pushed in above will notify once\n      // membership is in the correct state.\n      relationship.state.hasReceivedData = true;\n      relationship.state.isStale = false;\n      relationship.state.hasDematerializedInverse = false;\n      relationship.state.isEmpty = relationshipIsEmpty;\n    } else if (hasUpdatedLink) {\n      // only notify stale if we have not previously received membership data.\n      // within this same transaction\n      // this prevents refetching when only one side of the relationship in the\n      // payload contains the info while the other side contains just a link\n      // this only works when the side with just a link is a belongsTo, as we\n      // don't know if a hasMany has full information or not.\n      // see #7049 for context.\n      if (isCollection || !relationship.state.hasReceivedData || relationship.transactionRef === 0) {\n        relationship.state.isStale = true;\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n      } else {\n        relationship.state.isStale = false;\n      }\n    }\n  }\n  const Graphs = new Map();\n\n  /*\n   * Graph acts as the cache for relationship data. It allows for\n   * us to ask about and update relationships for a given Identifier\n   * without requiring other objects for that Identifier to be\n   * instantiated (such as `RecordData` or a `Record`)\n   *\n   * This also allows for us to make more substantive changes to relationships\n   * with increasingly minor alterations to other portions of the internals\n   * over time.\n   *\n   * The graph is made up of nodes and edges. Each unique identifier gets\n   * its own node, which is a dictionary with a list of that node's edges\n   * (or connections) to other nodes. In `Model` terms, a node represents a\n   * record instance, with each key (an edge) in the dictionary correlating\n   * to either a `hasMany` or `belongsTo` field on that record instance.\n   *\n   * The value for each key, or `edge` is the identifier(s) the node relates\n   * to in the graph from that key.\n   */\n  class Graph {\n    constructor(store) {\n      this._definitionCache = Object.create(null);\n      this._potentialPolymorphicTypes = Object.create(null);\n      this.identifiers = new Map();\n      this.store = store;\n      this.isDestroyed = false;\n      this._willSyncRemote = false;\n      this._willSyncLocal = false;\n      this._pushedUpdates = {\n        belongsTo: [],\n        hasMany: [],\n        deletions: []\n      };\n      this._updatedRelationships = new Set();\n      this._transaction = null;\n      this._removing = null;\n    }\n    has(identifier, propertyName) {\n      let relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        return false;\n      }\n      return relationships[propertyName] !== undefined;\n    }\n    get(identifier, propertyName) {\n      (false && !(propertyName) && (0, _debug.assert)(`expected propertyName`, propertyName));\n      let relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        relationships = Object.create(null);\n        this.identifiers.set(identifier, relationships);\n      }\n      let relationship = relationships[propertyName];\n      if (!relationship) {\n        const info = upgradeDefinition(this, identifier, propertyName);\n        (false && !(info !== null) && (0, _debug.assert)(`Could not determine relationship information for ${identifier.type}.${propertyName}`, info !== null)); // if (info.rhs_definition?.kind === 'implicit') {\n        //   // we should possibly also do this\n        //   // but it would result in being extremely permissive for other relationships by accident\n        //   // this.registerPolymorphicType(info.rhs_baseModelName, identifier.type);\n        // }\n        const meta = isLHS(info, identifier.type, propertyName) ? info.lhs_definition : info.rhs_definition;\n        if (meta.kind !== 'implicit') {\n          const Klass = meta.kind === 'hasMany' ? ManyRelationship : BelongsToRelationship;\n          relationship = relationships[propertyName] = new Klass(meta, identifier);\n        } else {\n          relationship = relationships[propertyName] = {\n            definition: meta,\n            identifier,\n            localMembers: new Set(),\n            remoteMembers: new Set()\n          };\n        }\n      }\n      return relationship;\n    }\n\n    /*\n     * Allows for the graph to dynamically discover polymorphic connections\n     * without needing to walk prototype chains.\n     *\n     * Used by edges when an added `type` does not match the expected `type`\n     * for that edge.\n     *\n     * Currently we assert before calling this. For a public API we will want\n     * to call out to the schema manager to ask if we should consider these\n     * types as equivalent for a given relationship.\n     */\n    registerPolymorphicType(type1, type2) {\n      const typeCache = this._potentialPolymorphicTypes;\n      let t1 = typeCache[type1];\n      if (!t1) {\n        t1 = typeCache[type1] = Object.create(null);\n      }\n      t1[type2] = true;\n      let t2 = typeCache[type2];\n      if (!t2) {\n        t2 = typeCache[type2] = Object.create(null);\n      }\n      t2[type1] = true;\n    }\n\n    /*\n     TODO move this comment somewhere else\n     implicit relationships are relationships which have not been declared but the inverse side exists on\n     another record somewhere\n      For example if there was:\n      ```app/models/comment.js\n     import Model, { attr } from '@ember-data/model';\n      export default class Comment extends Model {\n       @attr text;\n     }\n     ```\n      and there is also:\n      ```app/models/post.js\n     import Model, { attr, hasMany } from '@ember-data/model';\n      export default class Post extends Model {\n       @attr title;\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      Then we would have a implicit 'post' relationship for the comment record in order\n     to be do things like remove the comment from the post if the comment were to be deleted.\n    */\n\n    isReleasable(identifier) {\n      const relationships = this.identifiers.get(identifier);\n      if (!relationships) {\n        return true;\n      }\n      const keys = Object.keys(relationships);\n      for (let i = 0; i < keys.length; i++) {\n        const relationship = relationships[keys[i]];\n        // account for previously unloaded relationships\n        // typically from a prior deletion of a record that pointed to this one implicitly\n        if (relationship === undefined) {\n          continue;\n        }\n        (false && !(relationship) && (0, _debug.assert)(`Expected a relationship`, relationship));\n        if (relationship.definition.inverseIsAsync) {\n          return false;\n        }\n      }\n      return true;\n    }\n    unload(identifier, silenceNotifications) {\n      const relationships = this.identifiers.get(identifier);\n      if (relationships) {\n        // cleans up the graph but retains some nodes\n        // to allow for rematerialization\n        Object.keys(relationships).forEach(key => {\n          let rel = relationships[key];\n          if (!rel) {\n            return;\n          }\n          destroyRelationship(this, rel, silenceNotifications);\n          if (isImplicit(rel)) {\n            relationships[key] = undefined;\n          }\n        });\n      }\n    }\n    remove(identifier) {\n      (false && !(!this._removing) && (0, _debug.assert)(`Cannot remove ${String(identifier)} while still removing ${String(this._removing)}`, !this._removing));\n      this._removing = identifier;\n      this.unload(identifier);\n      this.identifiers.delete(identifier);\n      this._removing = null;\n    }\n\n    /*\n     * Remote state changes\n     */\n    push(op) {\n      if (op.op === 'deleteRecord') {\n        this._pushedUpdates.deletions.push(op);\n      } else if (op.op === 'replaceRelatedRecord') {\n        this._pushedUpdates.belongsTo.push(op);\n      } else {\n        const relationship = this.get(op.record, op.field);\n        (false && !(!isImplicit(relationship)) && (0, _debug.assert)(`Cannot push a remote update for an implicit relationship`, !isImplicit(relationship)));\n        this._pushedUpdates[relationship.definition.kind].push(op);\n      }\n      if (!this._willSyncRemote) {\n        this._willSyncRemote = true;\n        getStore(this.store)._schedule('coalesce', () => this._flushRemoteQueue());\n      }\n    }\n\n    /*\n     * Local state changes\n     */\n\n    update(op, isRemote = false) {\n      (false && !(op.op === 'deleteRecord' || op.op === 'mergeIdentifiers' || !isImplicit(this.get(op.record, op.field))) && (0, _debug.assert)(`Cannot update an implicit relationship`, op.op === 'deleteRecord' || op.op === 'mergeIdentifiers' || !isImplicit(this.get(op.record, op.field))));\n      switch (op.op) {\n        case 'mergeIdentifiers':\n          {\n            const relationships = this.identifiers.get(op.record);\n            if (relationships) {\n              mergeIdentifier(this, op, relationships);\n            }\n            break;\n          }\n        case 'updateRelationship':\n          (false && !(isRemote) && (0, _debug.assert)(`Can only perform the operation updateRelationship on remote state`, isRemote));\n          updateRelationshipOperation(this, op);\n          break;\n        case 'deleteRecord':\n          {\n            (false && !(isRemote) && (0, _debug.assert)(`Can only perform the operation deleteRelationship on remote state`, isRemote));\n            const identifier = op.record;\n            const relationships = this.identifiers.get(identifier);\n            if (relationships) {\n              Object.keys(relationships).forEach(key => {\n                const rel = relationships[key];\n                if (!rel) {\n                  return;\n                }\n                // works together with the has check\n                relationships[key] = undefined;\n                removeCompletelyFromInverse(this, rel);\n              });\n              this.identifiers.delete(identifier);\n            }\n            break;\n          }\n        case 'replaceRelatedRecord':\n          replaceRelatedRecord(this, op, isRemote);\n          break;\n        case 'addToRelatedRecords':\n          addToRelatedRecords(this, op, isRemote);\n          break;\n        case 'removeFromRelatedRecords':\n          removeFromRelatedRecords(this, op, isRemote);\n          break;\n        case 'replaceRelatedRecords':\n          replaceRelatedRecords(this, op, isRemote);\n          break;\n        default:\n          (false && !(false) && (0, _debug.assert)(`No local relationship update operation exists for '${op.op}'`));\n      }\n    }\n    _scheduleLocalSync(relationship) {\n      this._updatedRelationships.add(relationship);\n      if (!this._willSyncLocal) {\n        this._willSyncLocal = true;\n        getStore(this.store)._schedule('sync', () => this._flushLocalQueue());\n      }\n    }\n    _flushRemoteQueue() {\n      if (!this._willSyncRemote) {\n        return;\n      }\n      this._transaction = new Set();\n      this._willSyncRemote = false;\n      const {\n        deletions,\n        hasMany,\n        belongsTo\n      } = this._pushedUpdates;\n      this._pushedUpdates.deletions = [];\n      this._pushedUpdates.hasMany = [];\n      this._pushedUpdates.belongsTo = [];\n      for (let i = 0; i < deletions.length; i++) {\n        this.update(deletions[i], true);\n      }\n      for (let i = 0; i < hasMany.length; i++) {\n        this.update(hasMany[i], true);\n      }\n      for (let i = 0; i < belongsTo.length; i++) {\n        this.update(belongsTo[i], true);\n      }\n      this._finalize();\n    }\n    _addToTransaction(relationship) {\n      (false && !(this._transaction !== null) && (0, _debug.assert)(`expected a transaction`, this._transaction !== null));\n      relationship.transactionRef++;\n      this._transaction.add(relationship);\n    }\n    _finalize() {\n      if (this._transaction) {\n        this._transaction.forEach(v => v.transactionRef = 0);\n        this._transaction = null;\n      }\n    }\n    _flushLocalQueue() {\n      if (!this._willSyncLocal) {\n        return;\n      }\n      this._willSyncLocal = false;\n      let updated = this._updatedRelationships;\n      this._updatedRelationships = new Set();\n      updated.forEach(rel => syncRemoteToLocal(this, rel));\n    }\n    destroy() {\n      Graphs.delete(this.store);\n      this.identifiers.clear();\n      this.store = null;\n      this.isDestroyed = true;\n    }\n  }\n\n  // Handle dematerialization for relationship `rel`.  In all cases, notify the\n  // relationship of the dematerialization: this is done so the relationship can\n  // notify its inverse which needs to update state\n  //\n  // If the inverse is sync, unloading this record is treated as a client-side\n  // delete, so we remove the inverse records from this relationship to\n  // disconnect the graph.  Because it's not async, we don't need to keep around\n  // the identifier as an id-wrapper for references\n  function destroyRelationship(graph, rel, silenceNotifications) {\n    if (isImplicit(rel)) {\n      if (graph.isReleasable(rel.identifier)) {\n        removeCompletelyFromInverse(graph, rel);\n      }\n      return;\n    }\n    const {\n      identifier\n    } = rel;\n    const {\n      inverseKey\n    } = rel.definition;\n    if (!rel.definition.inverseIsImplicit) {\n      forAllRelatedIdentifiers(rel, inverseIdentifer => notifyInverseOfDematerialization(graph, inverseIdentifer, inverseKey, identifier, silenceNotifications));\n    }\n    if (!rel.definition.inverseIsImplicit && !rel.definition.inverseIsAsync) {\n      rel.state.isStale = true;\n      clearRelationship(rel);\n\n      // necessary to clear relationships in the ui from dematerialized records\n      // hasMany is managed by Model which calls `retreiveLatest` after\n      // dematerializing the resource-cache instance.\n      // but sync belongsTo requires this since they don't have a proxy to update.\n      // so we have to notify so it will \"update\" to null.\n      // we should discuss whether we still care about this, probably fine to just\n      // leave the ui relationship populated since the record is destroyed and\n      // internally we've fully cleaned up.\n      if (!rel.definition.isAsync && !silenceNotifications) {\n        notifyChange(graph, rel.identifier, rel.definition.key);\n      }\n    }\n  }\n  function notifyInverseOfDematerialization(graph, inverseIdentifier, inverseKey, identifier, silenceNotifications) {\n    if (!graph.has(inverseIdentifier, inverseKey)) {\n      return;\n    }\n    let relationship = graph.get(inverseIdentifier, inverseKey);\n    (false && !(!isImplicit(relationship)) && (0, _debug.assert)(`expected no implicit`, !isImplicit(relationship))); // For remote members, it is possible that inverseRecordData has already been associated to\n    // to another record. For such cases, do not dematerialize the inverseRecordData\n    if (!isBelongsTo(relationship) || !relationship.localState || identifier === relationship.localState) {\n      removeDematerializedInverse(graph, relationship, identifier, silenceNotifications);\n    }\n  }\n  function clearRelationship(relationship) {\n    if (isBelongsTo(relationship)) {\n      relationship.localState = null;\n      relationship.remoteState = null;\n      relationship.state.hasReceivedData = false;\n      relationship.state.isEmpty = true;\n    } else {\n      relationship.localMembers.clear();\n      relationship.remoteMembers.clear();\n      relationship.localState = [];\n      relationship.remoteState = [];\n    }\n  }\n  function removeDematerializedInverse(graph, relationship, inverseIdentifier, silenceNotifications) {\n    if (isBelongsTo(relationship)) {\n      const inverseIdentifier = relationship.localState;\n      if (!relationship.definition.isAsync || inverseIdentifier && isNew(inverseIdentifier)) {\n        // unloading inverse of a sync relationship is treated as a client-side\n        // delete, so actually remove the models don't merely invalidate the cp\n        // cache.\n        // if the record being unloaded only exists on the client, we similarly\n        // treat it as a client side delete\n        if (relationship.localState === inverseIdentifier && inverseIdentifier !== null) {\n          relationship.localState = null;\n        }\n        if (relationship.remoteState === inverseIdentifier && inverseIdentifier !== null) {\n          relationship.remoteState = null;\n          relationship.state.hasReceivedData = true;\n          relationship.state.isEmpty = true;\n          if (relationship.localState && !isNew(relationship.localState)) {\n            relationship.localState = null;\n          }\n        }\n      } else {\n        relationship.state.hasDematerializedInverse = true;\n      }\n      if (!silenceNotifications) {\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n      }\n    } else {\n      if (!relationship.definition.isAsync || inverseIdentifier && isNew(inverseIdentifier)) {\n        // unloading inverse of a sync relationship is treated as a client-side\n        // delete, so actually remove the models don't merely invalidate the cp\n        // cache.\n        // if the record being unloaded only exists on the client, we similarly\n        // treat it as a client side delete\n        removeIdentifierCompletelyFromRelationship(graph, relationship, inverseIdentifier);\n      } else {\n        relationship.state.hasDematerializedInverse = true;\n      }\n      if (!silenceNotifications) {\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n      }\n    }\n  }\n  function removeCompletelyFromInverse(graph, relationship) {\n    const {\n      identifier\n    } = relationship;\n    const {\n      inverseKey\n    } = relationship.definition;\n    forAllRelatedIdentifiers(relationship, inverseIdentifier => {\n      if (graph.has(inverseIdentifier, inverseKey)) {\n        removeIdentifierCompletelyFromRelationship(graph, graph.get(inverseIdentifier, inverseKey), identifier);\n      }\n    });\n    if (isBelongsTo(relationship)) {\n      if (!relationship.definition.isAsync) {\n        clearRelationship(relationship);\n      }\n      relationship.localState = null;\n    } else if (isHasMany(relationship)) {\n      if (!relationship.definition.isAsync) {\n        clearRelationship(relationship);\n        notifyChange(graph, relationship.identifier, relationship.definition.key);\n      }\n    } else {\n      relationship.remoteMembers.clear();\n      relationship.localMembers.clear();\n    }\n  }\n  function isStore(maybeStore) {\n    return maybeStore._instanceCache !== undefined;\n  }\n  function getWrapper(store) {\n    return isStore(store) ? store._instanceCache._storeWrapper : store;\n  }\n  function peekGraph(store) {\n    return Graphs.get(getWrapper(store));\n  }\n  function graphFor(store) {\n    const wrapper = getWrapper(store);\n    let graph = Graphs.get(wrapper);\n    if (!graph) {\n      graph = new Graph(wrapper);\n      Graphs.set(wrapper, graph);\n\n      // in DEBUG we attach the graph to the main store for improved debuggability\n    }\n    return graph;\n  }\n});","define(\"@ember-data/json-api/index\", [\"exports\", \"@ember/debug\", \"@ember/runloop\", \"@ember-data/graph/-private\"], function (_exports, _debug, _runloop, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function isImplicit(relationship) {\n    return relationship.definition.isImplicit;\n  }\n  const EMPTY_ITERATOR = {\n    iterator() {\n      return {\n        next() {\n          return {\n            done: true,\n            value: undefined\n          };\n        }\n      };\n    }\n  };\n  function makeCache() {\n    return {\n      id: null,\n      remoteAttrs: null,\n      localAttrs: null,\n      inflightAttrs: null,\n      changes: null,\n      errors: null,\n      isNew: false,\n      isDeleted: false,\n      isDeletionCommitted: false\n    };\n  }\n\n  /**\n    A JSON:API Cache implementation.\n  \n    What cache the store uses is configurable. Using a different\n    implementation can be achieved by implementing the store's\n    createCache hook.\n  \n    This is the cache implementation used by `ember-data`.\n  \n    ```js\n    import Cache from '@ember-data/json-api';\n    import Store from '@ember-data/store';\n  \n    export default class extends Store {\n      createCache(wrapper) {\n        return new Cache(wrapper);\n      }\n    }\n    ```\n  \n    @class Cache\n    @public\n   */\n\n  class JSONAPICache {\n    /**\n     * The Cache Version that this implementation implements.\n     *\n     * @type {'2'}\n     * @public\n     * @property version\n     */\n\n    constructor(storeWrapper) {\n      this.version = '2';\n      this.__storeWrapper = storeWrapper;\n      this.__cache = new Map();\n      this.__destroyedCache = new Map();\n      this.__documents = new Map();\n    }\n\n    // Cache Management\n    // ================\n\n    /**\n     * Cache the response to a request\n     *\n     * Implements `Cache.put`.\n     *\n     * Expects a StructuredDocument whose `content` member is a JsonApiDocument.\n     *\n     * ```js\n     * cache.put({\n     *   request: { url: 'https://api.example.com/v1/user/1' },\n     *   content: {\n     *     data: {\n     *       type: 'user',\n     *       id: '1',\n     *       attributes: {\n     *         name: 'Chris'\n     *       }\n     *     }\n     *   }\n     * })\n     * ```\n     *\n     * > **Note:** The nested `content` and `data` members are not a mistake. This is because\n     * > there are two separate concepts involved here, the `StructuredDocument` which contains\n     * > the context of a given Request that has been issued with the returned contents as its\n     * > `content` property, and a `JSON:API Document` which is the json contents returned by\n     * > this endpoint and which uses its `data` property to signify which resources are the\n     * > primary resources associated with the request.\n     *\n     * StructuredDocument's with urls will be cached as full documents with\n     * associated resource membership order and contents preserved but linked\n     * into the cache.\n     *\n     * @method put\n     * @param {StructuredDocument} doc\n     * @returns {ResourceDocument}\n     * @public\n     */\n    put(doc) {\n      if (isErrorDocument(doc)) {\n        return this._putDocument(doc);\n      } else if (isMetaDocument(doc)) {\n        return this._putDocument(doc);\n      }\n      const jsonApiDoc = doc.content;\n      let included = jsonApiDoc.included;\n      let i, length;\n      const {\n        identifierCache\n      } = this.__storeWrapper;\n      if (included) {\n        for (i = 0, length = included.length; i < length; i++) {\n          putOne(this, identifierCache, included[i]);\n        }\n      }\n      if (Array.isArray(jsonApiDoc.data)) {\n        length = jsonApiDoc.data.length;\n        let identifiers = [];\n        for (i = 0; i < length; i++) {\n          identifiers.push(putOne(this, identifierCache, jsonApiDoc.data[i]));\n        }\n        return this._putDocument(doc, identifiers);\n      }\n      if (jsonApiDoc.data === null) {\n        return this._putDocument(doc, null);\n      }\n      (false && !(typeof jsonApiDoc.data === 'object') && (0, _debug.assert)(`Expected an object in the 'data' property in a call to 'push', but was ${typeof jsonApiDoc.data}`, typeof jsonApiDoc.data === 'object'));\n      let identifier = putOne(this, identifierCache, jsonApiDoc.data);\n      return this._putDocument(doc, identifier);\n    }\n    _putDocument(doc, data) {\n      // @ts-expect-error narrowing within is just horrible  in TS :/\n      const resourceDocument = isErrorDocument(doc) ? fromStructuredError(doc) : fromBaseDocument(doc);\n      if (data !== undefined) {\n        resourceDocument.data = data;\n      }\n      const request = doc.request;\n      const identifier = request ? this.__storeWrapper.identifierCache.getOrCreateDocumentIdentifier(request) : null;\n      if (identifier) {\n        resourceDocument.lid = identifier.lid;\n\n        // @ts-expect-error\n        doc.content = resourceDocument;\n        const hasExisting = this.__documents.has(identifier.lid);\n        this.__documents.set(identifier.lid, doc);\n        this.__storeWrapper.notifyChange(identifier, hasExisting ? 'updated' : 'added');\n      }\n      return resourceDocument;\n    }\n\n    /**\n     * Update the \"remote\" or \"canonical\" (persisted) state of the Cache\n     * by merging new information into the existing state.\n     *\n     * Note: currently the only valid resource operation is a MergeOperation\n     * which occurs when a collision of identifiers is detected.\n     *\n     * @method patch\n     * @public\n     * @param {Operation} op the operation to perform\n     * @returns {void}\n     */\n    patch(op) {\n      if (op.op === 'mergeIdentifiers') {\n        const cache = this.__cache.get(op.record);\n        if (cache) {\n          this.__cache.set(op.value, cache);\n          this.__cache.delete(op.record);\n        }\n        (0, _private.graphFor)(this.__storeWrapper).update(op, true);\n      }\n    }\n\n    /**\n     * Update the \"local\" or \"current\" (unpersisted) state of the Cache\n     *\n     * @method mutate\n     * @param {Mutation} mutation\n     * @returns {void}\n     * @public\n     */\n    mutate(mutation) {\n      (0, _private.graphFor)(this.__storeWrapper).update(mutation, false);\n    }\n\n    /**\n     * Peek resource data from the Cache.\n     *\n     * In development, if the return value\n     * is JSON the return value\n     * will be deep-cloned and deep-frozen\n     * to prevent mutation thereby enforcing cache\n     * Immutability.\n     *\n     * This form of peek is useful for implementations\n     * that want to feed raw-data from cache to the UI\n     * or which want to interact with a blob of data\n     * directly from the presentation cache.\n     *\n     * An implementation might want to do this because\n     * de-referencing records which read from their own\n     * blob is generally safer because the record does\n     * not require retainining connections to the Store\n     * and Cache to present data on a per-field basis.\n     *\n     * This generally takes the place of `getAttr` as\n     * an API and may even take the place of `getRelationship`\n     * depending on implementation specifics, though this\n     * latter usage is less recommended due to the advantages\n     * of the Graph handling necessary entanglements and\n     * notifications for relational data.\n     *\n     * @method peek\n     * @public\n     * @param {StableRecordIdentifier | StableDocumentIdentifier} identifier\n     * @returns {ResourceDocument | ResourceBlob | null} the known resource data\n     */\n\n    peek(identifier) {\n      if ('type' in identifier) {\n        const peeked = this.__safePeek(identifier, false);\n        if (!peeked) {\n          return null;\n        }\n        const {\n          type,\n          id,\n          lid\n        } = identifier;\n        const attributes = Object.assign({}, peeked.remoteAttrs, peeked.inflightAttrs, peeked.localAttrs);\n        const relationships = {};\n        const graph = (0, _private.graphFor)(this.__storeWrapper);\n        const rels = graph.identifiers.get(identifier);\n        if (rels) {\n          Object.keys(rels).forEach(key => {\n            const rel = rels[key];\n            if (!rel || rel.definition.isImplicit) {\n              return;\n            }\n            relationships[key] = rel.getData();\n          });\n        }\n        return {\n          type,\n          id,\n          lid,\n          attributes,\n          relationships\n        };\n      }\n      const document = this.peekRequest(identifier);\n      if (document) {\n        if ('content' in document) return document.content;\n      }\n      return null;\n    }\n\n    /**\n     * Peek the Cache for the existing request data associated with\n     * a cacheable request\n     *\n     * @method peekRequest\n     * @param {StableDocumentIdentifier}\n     * @returns {StableDocumentIdentifier | null}\n     * @public\n     */\n    peekRequest(identifier) {\n      return this.__documents.get(identifier.lid) || null;\n    }\n\n    /**\n     * Push resource data from a remote source into the cache for this identifier\n     *\n     * @method upsert\n     * @public\n     * @param identifier\n     * @param data\n     * @param hasRecord\n     * @returns {void | string[]} if `hasRecord` is true then calculated key changes should be returned\n     */\n    upsert(identifier, data, calculateChanges) {\n      let changedKeys;\n      const peeked = this.__safePeek(identifier, false);\n      const existed = !!peeked;\n      const cached = peeked || this._createCache(identifier);\n      const isLoading = _isLoading(peeked, this.__storeWrapper, identifier) || !recordIsLoaded(peeked);\n      let isUpdate = !_isEmpty(peeked) && !isLoading;\n      if (cached.isNew) {\n        cached.isNew = false;\n        this.__storeWrapper.notifyChange(identifier, 'identity');\n        this.__storeWrapper.notifyChange(identifier, 'state');\n      }\n      if (calculateChanges) {\n        changedKeys = existed ? calculateChangedKeys(cached, data.attributes) : Object.keys(data.attributes || {});\n      }\n      cached.remoteAttrs = Object.assign(cached.remoteAttrs || Object.create(null), data.attributes);\n      if (cached.localAttrs) {\n        if (patchLocalAttributes(cached)) {\n          this.__storeWrapper.notifyChange(identifier, 'state');\n        }\n      }\n      if (!isUpdate) {\n        this.__storeWrapper.notifyChange(identifier, 'added');\n      }\n      if (data.id) {\n        cached.id = data.id;\n      }\n      if (data.relationships) {\n        setupRelationships(this.__storeWrapper, identifier, data);\n      }\n      if (changedKeys && changedKeys.length) {\n        notifyAttributes(this.__storeWrapper, identifier, changedKeys);\n      }\n      return changedKeys;\n    }\n\n    // Cache Forking Support\n    // =====================\n\n    /**\n     * Create a fork of the cache from the current state.\n     *\n     * Applications should typically not call this method themselves,\n     * preferring instead to fork at the Store level, which will\n     * utilize this method to fork the cache.\n     *\n     * @method fork\n     * @internal\n     * @returns Promise<Cache>\n     */\n    fork() {\n      throw new Error(`Not Implemented`);\n    }\n\n    /**\n     * Merge a fork back into a parent Cache.\n     *\n     * Applications should typically not call this method themselves,\n     * preferring instead to merge at the Store level, which will\n     * utilize this method to merge the caches.\n     *\n     * @method merge\n     * @param {Cache} cache\n     * @public\n     * @returns Promise<void>\n     */\n    merge(cache) {\n      throw new Error(`Not Implemented`);\n    }\n\n    /**\n     * Generate the list of changes applied to all\n     * record in the store.\n     *\n     * Each individual resource or document that has\n     * been mutated should be described as an individual\n     * `Change` entry in the returned array.\n     *\n     * A `Change` is described by an object containing up to\n     * three properties: (1) the `identifier` of the entity that\n     * changed; (2) the `op` code of that change being one of\n     * `upsert` or `remove`, and if the op is `upsert` a `patch`\n     * containing the data to merge into the cache for the given\n     * entity.\n     *\n     * This `patch` is opaque to the Store but should be understood\n     * by the Cache and may expect to be utilized by an Adapter\n     * when generating data during a `save` operation.\n     *\n     * It is generally recommended that the `patch` contain only\n     * the updated state, ignoring fields that are unchanged\n     *\n     * ```ts\n     * interface Change {\n     *  identifier: StableRecordIdentifier | StableDocumentIdentifier;\n     *  op: 'upsert' | 'remove';\n     *  patch?: unknown;\n     * }\n     * ```\n     *\n     * @method diff\n     * @public\n     */\n    diff() {\n      throw new Error(`Not Implemented`);\n    }\n\n    // SSR Support\n    // ===========\n\n    /**\n     * Serialize the entire contents of the Cache into a Stream\n     * which may be fed back into a new instance of the same Cache\n     * via `cache.hydrate`.\n     *\n     * @method dump\n     * @returns {Promise<ReadableStream>}\n     * @public\n     */\n    dump() {\n      throw new Error(`Not Implemented`);\n    }\n\n    /**\n     * hydrate a Cache from a Stream with content previously serialized\n     * from another instance of the same Cache, resolving when hydration\n     * is complete.\n     *\n     * This method should expect to be called both in the context of restoring\n     * the Cache during application rehydration after SSR **AND** at unknown\n     * times during the lifetime of an already booted application when it is\n     * desired to bulk-load additional information into the cache. This latter\n     * behavior supports optimizing pre/fetching of data for route transitions\n     * via data-only SSR modes.\n     *\n     * @method hydrate\n     * @param {ReadableStream} stream\n     * @returns {Promise<void>}\n     * @public\n     */\n    hydrate(stream) {\n      throw new Error('Not Implemented');\n    }\n\n    // Resource Support\n    // ================\n\n    /**\n     * [LIFECYCLE] Signal to the cache that a new record has been instantiated on the client\n     *\n     * It returns properties from options that should be set on the record during the create\n     * process. This return value behavior is deprecated.\n     *\n     * @method clientDidCreate\n     * @public\n     * @param identifier\n     * @param createArgs\n     */\n    clientDidCreate(identifier, options) {\n      const cached = this._createCache(identifier);\n      cached.isNew = true;\n      let createOptions = {};\n      if (options !== undefined) {\n        const storeWrapper = this.__storeWrapper;\n        let attributeDefs = storeWrapper.getSchemaDefinitionService().attributesDefinitionFor(identifier);\n        let relationshipDefs = storeWrapper.getSchemaDefinitionService().relationshipsDefinitionFor(identifier);\n        const graph = (0, _private.graphFor)(storeWrapper);\n        let propertyNames = Object.keys(options);\n        for (let i = 0; i < propertyNames.length; i++) {\n          let name = propertyNames[i];\n          let propertyValue = options[name];\n          if (name === 'id') {\n            continue;\n          }\n          const fieldType = relationshipDefs[name] || attributeDefs[name];\n          let kind = fieldType !== undefined ? 'kind' in fieldType ? fieldType.kind : 'attribute' : null;\n          let relationship;\n          switch (kind) {\n            case 'attribute':\n              this.setAttr(identifier, name, propertyValue);\n              break;\n            case 'belongsTo':\n              this.mutate({\n                op: 'replaceRelatedRecord',\n                field: name,\n                record: identifier,\n                value: propertyValue\n              });\n              relationship = graph.get(identifier, name);\n              relationship.state.hasReceivedData = true;\n              relationship.state.isEmpty = false;\n              break;\n            case 'hasMany':\n              this.mutate({\n                op: 'replaceRelatedRecords',\n                field: name,\n                record: identifier,\n                value: propertyValue\n              });\n              relationship = graph.get(identifier, name);\n              relationship.state.hasReceivedData = true;\n              relationship.state.isEmpty = false;\n              break;\n            default:\n              // reflect back (pass-thru) unknown properties\n              createOptions[name] = propertyValue;\n          }\n        }\n      }\n      this.__storeWrapper.notifyChange(identifier, 'added');\n      return createOptions;\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * will be part of a save transaction.\n     *\n     * @method willCommit\n     * @public\n     * @param identifier\n     */\n    willCommit(identifier) {\n      const cached = this.__peek(identifier, false);\n\n      /*\n        if we have multiple saves in flight at once then\n        we have information loss no matter what. This\n        attempts to lose the least information.\n         If we were to clear inflightAttrs, previous requests\n        would not be able to use it during their didCommit.\n         If we upsert inflightattrs, previous requests incorrectly\n        see more recent inflight changes as part of their own and\n        will incorrectly mark the new state as the correct remote state.\n         We choose this latter behavior to avoid accidentally removing\n        earlier changes.\n         If apps do not want this behavior they can either\n         - chain save requests serially vs allowing concurrent saves\n        - move to using a request handler that caches the inflight state\n          on a per-request basis\n        - change their save requests to only send a \"PATCH\" instead of a \"PUT\"\n          so that only latest changes are involved in each request, and then also\n          ensure that the API or their handler reflects only those changes back\n          for upsert into the cache.\n      */\n      if (cached.inflightAttrs) {\n        if (!cached.localAttrs) {\n          return;\n        }\n        Object.assign(cached.inflightAttrs, cached.localAttrs);\n        cached.localAttrs = null;\n        return;\n      }\n      cached.inflightAttrs = cached.localAttrs;\n      cached.localAttrs = null;\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * was successfully updated as part of a save transaction.\n     *\n     * @method didCommit\n     * @public\n     * @param identifier\n     * @param data\n     */\n    didCommit(committedIdentifier, result) {\n      const payload = result.content;\n      const operation = result.request.op;\n      const data = payload && payload.data;\n      if (!data) {\n        (false && !(committedIdentifier.id) && (0, _debug.assert)(`Your ${committedIdentifier.type} record was saved to the server, but the response does not have an id and no id has been set client side. Records must have ids. Please update the server response to provide an id in the response or generate the id on the client side either before saving the record or while normalizing the response.`, committedIdentifier.id));\n      }\n      const {\n        identifierCache\n      } = this.__storeWrapper;\n      const existingId = committedIdentifier.id;\n      const identifier = operation !== 'deleteRecord' && data ? identifierCache.updateRecordIdentifier(committedIdentifier, data) : committedIdentifier;\n      const cached = this.__peek(identifier, false);\n      if (cached.isDeleted) {\n        (0, _private.graphFor)(this.__storeWrapper).push({\n          op: 'deleteRecord',\n          record: identifier,\n          isNew: false\n        });\n        cached.isDeletionCommitted = true;\n        this.__storeWrapper.notifyChange(identifier, 'removed');\n        // TODO @runspired should we early exit here?\n      }\n      cached.isNew = false;\n      let newCanonicalAttributes;\n      if (data) {\n        if (data.id && !cached.id) {\n          cached.id = data.id;\n        }\n        if (identifier === committedIdentifier && identifier.id !== existingId) {\n          this.__storeWrapper.notifyChange(identifier, 'identity');\n        }\n        (false && !(identifier.id === cached.id) && (0, _debug.assert)(`Expected the ID received for the primary '${identifier.type}' resource being saved to match the current id '${cached.id}' but received '${identifier.id}'.`, identifier.id === cached.id));\n        if (data.relationships) {\n          setupRelationships(this.__storeWrapper, identifier, data);\n        }\n        newCanonicalAttributes = data.attributes;\n      }\n      let changedKeys = calculateChangedKeys(cached, newCanonicalAttributes);\n      cached.remoteAttrs = Object.assign(cached.remoteAttrs || Object.create(null), cached.inflightAttrs, newCanonicalAttributes);\n      cached.inflightAttrs = null;\n      patchLocalAttributes(cached);\n      if (cached.errors) {\n        cached.errors = null;\n        this.__storeWrapper.notifyChange(identifier, 'errors');\n      }\n      notifyAttributes(this.__storeWrapper, identifier, changedKeys);\n      this.__storeWrapper.notifyChange(identifier, 'state');\n      const included = payload && payload.included;\n      if (included) {\n        for (let i = 0, length = included.length; i < length; i++) {\n          putOne(this, identifierCache, included[i]);\n        }\n      }\n      return {\n        data: identifier\n      };\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * was update via a save transaction failed.\n     *\n     * @method commitWasRejected\n     * @public\n     * @param identifier\n     * @param errors\n     */\n    commitWasRejected(identifier, errors) {\n      const cached = this.__peek(identifier, false);\n      if (cached.inflightAttrs) {\n        let keys = Object.keys(cached.inflightAttrs);\n        if (keys.length > 0) {\n          let attrs = cached.localAttrs = cached.localAttrs || Object.create(null);\n          for (let i = 0; i < keys.length; i++) {\n            if (attrs[keys[i]] === undefined) {\n              attrs[keys[i]] = cached.inflightAttrs[keys[i]];\n            }\n          }\n        }\n        cached.inflightAttrs = null;\n      }\n      if (errors) {\n        cached.errors = errors;\n      }\n      this.__storeWrapper.notifyChange(identifier, 'errors');\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that all data for a resource\n     * should be cleared.\n     *\n     * This method is a candidate to become a mutation\n     *\n     * @method unloadRecord\n     * @public\n     * @param identifier\n     */\n    unloadRecord(identifier) {\n      const storeWrapper = this.__storeWrapper;\n      // TODO this is necessary because\n      // we maintain memebership inside InstanceCache\n      // for peekAll, so even though we haven't created\n      // any data we think this exists.\n      // TODO can we eliminate that membership now?\n      if (!this.__cache.has(identifier)) {\n        // the graph may still need to unload identity\n        (0, _private.peekGraph)(storeWrapper)?.unload(identifier);\n        return;\n      }\n      const removeFromRecordArray = !this.isDeletionCommitted(identifier);\n      let removed = false;\n      const cached = this.__peek(identifier, false);\n      (0, _private.peekGraph)(storeWrapper)?.unload(identifier);\n\n      // effectively clearing these is ensuring that\n      // we report as `isEmpty` during teardown.\n      cached.localAttrs = null;\n      cached.remoteAttrs = null;\n      cached.inflightAttrs = null;\n      let relatedIdentifiers = _allRelatedIdentifiers(storeWrapper, identifier);\n      if (areAllModelsUnloaded(storeWrapper, relatedIdentifiers)) {\n        for (let i = 0; i < relatedIdentifiers.length; ++i) {\n          let identifier = relatedIdentifiers[i];\n          storeWrapper.notifyChange(identifier, 'removed');\n          removed = true;\n          storeWrapper.disconnectRecord(identifier);\n        }\n      }\n      this.__cache.delete(identifier);\n      this.__destroyedCache.set(identifier, cached);\n\n      /*\n       * The destroy cache is a hack to prevent applications\n       * from blowing up during teardown. Accessing state\n       * on a destroyed record is not safe, but historically\n       * was possible due to a combination of teardown timing\n       * and retention of cached state directly on the\n       * record itself.\n       *\n       * Once we have deprecated accessing state on a destroyed\n       * instance we may remove this. The timing isn't a huge deal\n       * as momentarily retaining the objects outside the bounds\n       * of a test won't cause issues.\n       */\n      if (this.__destroyedCache.size === 1) {\n        (0, _runloop.schedule)('destroy', () => {\n          setTimeout(() => {\n            this.__destroyedCache.clear();\n          }, 100);\n        });\n      }\n      if (!removed && removeFromRecordArray) {\n        storeWrapper.notifyChange(identifier, 'removed');\n      }\n    }\n\n    // Granular Resource Data APIs\n    // ===========================\n\n    /**\n     * Retrieve the data for an attribute from the cache\n     *\n     * @method getAttr\n     * @public\n     * @param identifier\n     * @param field\n     * @returns {unknown}\n     */\n    getAttr(identifier, attr) {\n      const cached = this.__peek(identifier, true);\n      (false && !(cached) && (0, _debug.assert)(`Cannot retrieve attributes for identifier ${identifier} as it is not present in the cache`, cached)); // in Prod we try to recover when accessing something that\n      // doesn't exist\n      if (!cached) {\n        return undefined;\n      }\n      if (cached.localAttrs && attr in cached.localAttrs) {\n        return cached.localAttrs[attr];\n      } else if (cached.inflightAttrs && attr in cached.inflightAttrs) {\n        return cached.inflightAttrs[attr];\n      } else if (cached.remoteAttrs && attr in cached.remoteAttrs) {\n        return cached.remoteAttrs[attr];\n      } else {\n        const attrSchema = this.__storeWrapper.getSchemaDefinitionService().attributesDefinitionFor(identifier)[attr];\n        return getDefaultValue(attrSchema?.options);\n      }\n    }\n\n    /**\n     * Mutate the data for an attribute in the cache\n     *\n     * This method is a candidate to become a mutation\n     *\n     * @method setAttr\n     * @public\n     * @param identifier\n     * @param field\n     * @param value\n     */\n    setAttr(identifier, attr, value) {\n      const cached = this.__peek(identifier, false);\n      const existing = cached.inflightAttrs && attr in cached.inflightAttrs ? cached.inflightAttrs[attr] : cached.remoteAttrs && attr in cached.remoteAttrs ? cached.remoteAttrs[attr] : undefined;\n      if (existing !== value) {\n        cached.localAttrs = cached.localAttrs || Object.create(null);\n        cached.localAttrs[attr] = value;\n        cached.changes = cached.changes || Object.create(null);\n        cached.changes[attr] = [existing, value];\n      } else if (cached.localAttrs) {\n        delete cached.localAttrs[attr];\n        delete cached.changes[attr];\n      }\n      this.__storeWrapper.notifyChange(identifier, 'attributes', attr);\n    }\n\n    /**\n     * Query the cache for the changed attributes of a resource.\n     *\n     * @method changedAttrs\n     * @public\n     * @deprecated\n     * @param identifier\n     * @returns { <field>: [<old>, <new>] }\n     */\n    changedAttrs(identifier) {\n      const cached = this.__peek(identifier, false);\n      (false && !(cached) && (0, _debug.assert)(`Cannot retrieve changed attributes for identifier ${identifier} as it is not present in the cache`, cached)); // in Prod we try to recover when accessing something that\n      // doesn't exist\n      if (!cached) {\n        return Object.create(null);\n      }\n\n      // TODO freeze in dev\n      return cached.changes || Object.create(null);\n    }\n\n    /**\n     * Query the cache for whether any mutated attributes exist\n     *\n     * @method hasChangedAttrs\n     * @public\n     * @param identifier\n     * @returns {boolean}\n     */\n    hasChangedAttrs(identifier) {\n      const cached = this.__peek(identifier, true);\n      (false && !(cached) && (0, _debug.assert)(`Cannot retrieve changed attributes for identifier ${identifier} as it is not present in the cache`, cached)); // in Prod we try to recover when accessing something that\n      // doesn't exist\n      if (!cached) {\n        return false;\n      }\n      return cached.inflightAttrs !== null && Object.keys(cached.inflightAttrs).length > 0 || cached.localAttrs !== null && Object.keys(cached.localAttrs).length > 0;\n    }\n\n    /**\n     * Tell the cache to discard any uncommitted mutations to attributes\n     *\n     * This method is a candidate to become a mutation\n     *\n     * @method rollbackAttrs\n     * @public\n     * @param identifier\n     * @returns {string[]} the names of fields that were restored\n     */\n    rollbackAttrs(identifier) {\n      const cached = this.__peek(identifier, false);\n      let dirtyKeys;\n      cached.isDeleted = false;\n      if (cached.localAttrs !== null) {\n        dirtyKeys = Object.keys(cached.localAttrs);\n        cached.localAttrs = null;\n        cached.changes = null;\n      }\n      if (cached.isNew) {\n        (0, _private.graphFor)(this.__storeWrapper).push({\n          op: 'deleteRecord',\n          record: identifier,\n          isNew: true\n        });\n        cached.isDeleted = true;\n        cached.isNew = false;\n      }\n      cached.inflightAttrs = null;\n      if (cached.errors) {\n        cached.errors = null;\n        this.__storeWrapper.notifyChange(identifier, 'errors');\n      }\n      this.__storeWrapper.notifyChange(identifier, 'state');\n      if (dirtyKeys && dirtyKeys.length) {\n        notifyAttributes(this.__storeWrapper, identifier, dirtyKeys);\n      }\n      return dirtyKeys || [];\n    }\n\n    /**\n     * Query the cache for the current state of a relationship property\n     *\n     * @method getRelationship\n     * @public\n     * @param identifier\n     * @param field\n     * @returns resource relationship object\n     */\n    getRelationship(identifier, field) {\n      return (0, _private.graphFor)(this.__storeWrapper).get(identifier, field).getData();\n    }\n\n    // Resource State\n    // ===============\n\n    /**\n     * Update the cache state for the given resource to be marked\n     * as locally deleted, or remove such a mark.\n     *\n     * This method is a candidate to become a mutation\n     *\n     * @method setIsDeleted\n     * @public\n     * @param identifier\n     * @param isDeleted {boolean}\n     */\n    setIsDeleted(identifier, isDeleted) {\n      const cached = this.__peek(identifier, false);\n      cached.isDeleted = isDeleted;\n      if (cached.isNew) {\n        // TODO can we delete this since we will do this in unload?\n        (0, _private.graphFor)(this.__storeWrapper).push({\n          op: 'deleteRecord',\n          record: identifier,\n          isNew: true\n        });\n      }\n      this.__storeWrapper.notifyChange(identifier, 'state');\n    }\n\n    /**\n     * Query the cache for any validation errors applicable to the given resource.\n     *\n     * @method getErrors\n     * @public\n     * @param identifier\n     * @returns {JsonApiError[]}\n     */\n    getErrors(identifier) {\n      return this.__peek(identifier, true).errors || [];\n    }\n\n    /**\n     * Query the cache for whether a given resource has any available data\n     *\n     * @method isEmpty\n     * @public\n     * @param identifier\n     * @returns {boolean}\n     */\n    isEmpty(identifier) {\n      const cached = this.__safePeek(identifier, true);\n      return cached ? cached.remoteAttrs === null && cached.inflightAttrs === null && cached.localAttrs === null : true;\n    }\n\n    /**\n     * Query the cache for whether a given resource was created locally and not\n     * yet persisted.\n     *\n     * @method isNew\n     * @public\n     * @param identifier\n     * @returns {boolean}\n     */\n    isNew(identifier) {\n      // TODO can we assert here?\n      return this.__safePeek(identifier, true)?.isNew || false;\n    }\n\n    /**\n     * Query the cache for whether a given resource is marked as deleted (but not\n     * necessarily persisted yet).\n     *\n     * @method isDeleted\n     * @public\n     * @param identifier\n     * @returns {boolean}\n     */\n    isDeleted(identifier) {\n      // TODO can we assert here?\n      return this.__safePeek(identifier, true)?.isDeleted || false;\n    }\n\n    /**\n     * Query the cache for whether a given resource has been deleted and that deletion\n     * has also been persisted.\n     *\n     * @method isDeletionCommitted\n     * @public\n     * @param identifier\n     * @returns {boolean}\n     */\n    isDeletionCommitted(identifier) {\n      // TODO can we assert here?\n      return this.__safePeek(identifier, true)?.isDeletionCommitted || false;\n    }\n\n    /**\n     * Private method used to populate an entry for the identifier\n     *\n     * @method _createCache\n     * @internal\n     * @param {StableRecordIdentifier} identifier\n     * @returns {CachedResource}\n     */\n    _createCache(identifier) {\n      (false && !(!this.__cache.has(identifier)) && (0, _debug.assert)(`Expected no resource data to yet exist in the cache`, !this.__cache.has(identifier)));\n      const cache = makeCache();\n      this.__cache.set(identifier, cache);\n      return cache;\n    }\n\n    /**\n     * Peek whether we have cached resource data matching the identifier\n     * without asserting if the resource data is missing.\n     *\n     * @method __safePeek\n     * @param {StableRecordIdentifier} identifier\n     * @param {Boolean} allowDestroyed\n     * @internal\n     * @returns {CachedResource | undefined}\n     */\n    __safePeek(identifier, allowDestroyed) {\n      let resource = this.__cache.get(identifier);\n      if (!resource && allowDestroyed) {\n        resource = this.__destroyedCache.get(identifier);\n      }\n      return resource;\n    }\n\n    /**\n     * Peek whether we have cached resource data matching the identifier\n     * Asserts if the resource data is missing.\n     *\n     * @method __Peek\n     * @param {StableRecordIdentifier} identifier\n     * @param {Boolean} allowDestroyed\n     * @internal\n     * @returns {CachedResource}\n     */\n    __peek(identifier, allowDestroyed) {\n      let resource = this.__safePeek(identifier, allowDestroyed);\n      (false && !(resource) && (0, _debug.assert)(`Expected Cache to have a resource entry for the identifier ${String(identifier)} but none was found`, resource));\n      return resource;\n    }\n  }\n  _exports.default = JSONAPICache;\n  function areAllModelsUnloaded(wrapper, identifiers) {\n    for (let i = 0; i < identifiers.length; ++i) {\n      let identifier = identifiers[i];\n      if (wrapper.hasRecord(identifier)) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function getLocalState(rel) {\n    if (rel.definition.kind === 'belongsTo') {\n      return rel.localState ? [rel.localState] : [];\n    }\n    return rel.localState;\n  }\n  function getRemoteState(rel) {\n    if (rel.definition.kind === 'belongsTo') {\n      return rel.remoteState ? [rel.remoteState] : [];\n    }\n    return rel.remoteState;\n  }\n  function getDefaultValue(options) {\n    if (!options) {\n      return;\n    }\n    if (typeof options.defaultValue === 'function') {\n      // If anyone opens an issue for args not working right, we'll restore + deprecate it via a Proxy\n      // that lazily instantiates the record. We don't want to provide any args here\n      // because in a non @ember-data/model world they don't make sense.\n      return options.defaultValue();\n    } else {\n      let defaultValue = options.defaultValue;\n      (false && !(typeof defaultValue !== 'object' || defaultValue === null) && (0, _debug.assert)(`Non primitive defaultValues are not supported because they are shared between all instances. If you would like to use a complex object as a default value please provide a function that returns the complex object.`, typeof defaultValue !== 'object' || defaultValue === null));\n      return defaultValue;\n    }\n  }\n  function notifyAttributes(storeWrapper, identifier, keys) {\n    if (!keys) {\n      storeWrapper.notifyChange(identifier, 'attributes');\n      return;\n    }\n    for (let i = 0; i < keys.length; i++) {\n      storeWrapper.notifyChange(identifier, 'attributes', keys[i]);\n    }\n  }\n\n  /*\n        TODO @deprecate IGOR DAVID\n        There seems to be a potential bug here, where we will return keys that are not\n        in the schema\n    */\n  function calculateChangedKeys(cached, updates) {\n    let changedKeys = [];\n    if (updates) {\n      const keys = Object.keys(updates);\n      const length = keys.length;\n      const localAttrs = cached.localAttrs;\n      const original = Object.assign(Object.create(null), cached.remoteAttrs, cached.inflightAttrs);\n      for (let i = 0; i < length; i++) {\n        let key = keys[i];\n        let value = updates[key];\n\n        // A value in localAttrs means the user has a local change to\n        // this attribute. We never override this value when merging\n        // updates from the backend so we should not sent a change\n        // notification if the server value differs from the original.\n        if (localAttrs && localAttrs[key] !== undefined) {\n          continue;\n        }\n        if (original[key] !== value) {\n          changedKeys.push(key);\n        }\n      }\n    }\n    return changedKeys;\n  }\n  function cacheIsEmpty(cached) {\n    return !cached || cached.remoteAttrs === null && cached.inflightAttrs === null && cached.localAttrs === null;\n  }\n  function _isEmpty(peeked) {\n    if (!peeked) {\n      return true;\n    }\n    const isNew = peeked.isNew;\n    const isDeleted = peeked.isDeleted;\n    const isEmpty = cacheIsEmpty(peeked);\n    return (!isNew || isDeleted) && isEmpty;\n  }\n  function recordIsLoaded(cached, filterDeleted = false) {\n    if (!cached) {\n      return false;\n    }\n    const isNew = cached.isNew;\n    const isEmpty = cacheIsEmpty(cached);\n\n    // if we are new we must consider ourselves loaded\n    if (isNew) {\n      return !cached.isDeleted;\n    }\n    // even if we have a past request, if we are now empty we are not loaded\n    // typically this is true after an unloadRecord call\n\n    // if we are not empty, not new && we have a fulfilled request then we are loaded\n    // we should consider allowing for something to be loaded that is simply \"not empty\".\n    // which is how RecordState currently handles this case; however, RecordState is buggy\n    // in that it does not account for unloading.\n    return filterDeleted && cached.isDeletionCommitted ? false : !isEmpty;\n  }\n  function _isLoading(peeked, storeWrapper, identifier) {\n    // TODO refactor things such that the cache is not required to know\n    // about isLoading\n    // @ts-expect-error\n    const req = storeWrapper._store.getRequestStateService();\n    // const fulfilled = req.getLastRequestForRecord(identifier);\n    const isLoaded = recordIsLoaded(peeked);\n    return !isLoaded &&\n    // fulfilled === null &&\n    req.getPendingRequestsForRecord(identifier).some(req => req.type === 'query');\n  }\n  function setupRelationships(storeWrapper, identifier, data) {\n    // TODO @runspired iterating by definitions instead of by payload keys\n    // allows relationship payloads to be ignored silently if no relationship\n    // definition exists. Ensure there's a test for this and then consider\n    // moving this to an assertion. This check should possibly live in the graph.\n    const relationships = storeWrapper.getSchemaDefinitionService().relationshipsDefinitionFor(identifier);\n    const keys = Object.keys(relationships);\n    for (let i = 0; i < keys.length; i++) {\n      const relationshipName = keys[i];\n      const relationshipData = data.relationships[relationshipName];\n      if (!relationshipData) {\n        continue;\n      }\n      (0, _private.graphFor)(storeWrapper).push({\n        op: 'updateRelationship',\n        record: identifier,\n        field: relationshipName,\n        value: relationshipData\n      });\n    }\n  }\n  function patchLocalAttributes(cached) {\n    const {\n      localAttrs,\n      remoteAttrs,\n      inflightAttrs,\n      changes\n    } = cached;\n    if (!localAttrs) {\n      cached.changes = null;\n      return false;\n    }\n    let hasAppliedPatch = false;\n    let mutatedKeys = Object.keys(localAttrs);\n    for (let i = 0, length = mutatedKeys.length; i < length; i++) {\n      let attr = mutatedKeys[i];\n      const existing = inflightAttrs && attr in inflightAttrs ? inflightAttrs[attr] : remoteAttrs && attr in remoteAttrs ? remoteAttrs[attr] : undefined;\n      if (existing === localAttrs[attr]) {\n        hasAppliedPatch = true;\n        delete localAttrs[attr];\n        delete changes[attr];\n      }\n    }\n    return hasAppliedPatch;\n  }\n  function putOne(cache, identifiers, resource) {\n    let identifier = identifiers.peekRecordIdentifier(resource);\n    if (identifier) {\n      identifier = identifiers.updateRecordIdentifier(identifier, resource);\n    } else {\n      identifier = identifiers.getOrCreateRecordIdentifier(resource);\n    }\n    cache.upsert(identifier, resource, cache.__storeWrapper.hasRecord(identifier));\n    // even if the identifier was not \"existing\" before, it is now\n    return identifier;\n  }\n\n  /*\n      Iterates over the set of internal models reachable from `this` across exactly one\n      relationship.\n    */\n  function _directlyRelatedIdentifiersIterable(storeWrapper, originating) {\n    const graph = (0, _private.peekGraph)(storeWrapper);\n    const initializedRelationships = graph?.identifiers.get(originating);\n    if (!initializedRelationships) {\n      return EMPTY_ITERATOR;\n    }\n    const initializedRelationshipsArr = [];\n    Object.keys(initializedRelationships).forEach(key => {\n      const rel = initializedRelationships[key];\n      if (rel && !isImplicit(rel)) {\n        initializedRelationshipsArr.push(rel);\n      }\n    });\n    let i = 0;\n    let j = 0;\n    let k = 0;\n    const findNext = () => {\n      while (i < initializedRelationshipsArr.length) {\n        while (j < 2) {\n          let relatedIdentifiers = j === 0 ? getLocalState(initializedRelationshipsArr[i]) : getRemoteState(initializedRelationshipsArr[i]);\n          while (k < relatedIdentifiers.length) {\n            let relatedIdentifier = relatedIdentifiers[k++];\n            if (relatedIdentifier !== null) {\n              return relatedIdentifier;\n            }\n          }\n          k = 0;\n          j++;\n        }\n        j = 0;\n        i++;\n      }\n      return undefined;\n    };\n    return {\n      iterator() {\n        return {\n          next: () => {\n            const value = findNext();\n            return {\n              value,\n              done: value === undefined\n            };\n          }\n        };\n      }\n    };\n  }\n\n  /*\n        Computes the set of Identifiers reachable from this Identifier.\n  \n        Reachability is determined over the relationship graph (ie a graph where\n        nodes are identifiers and edges are belongs to or has many\n        relationships).\n  \n        Returns an array including `this` and all identifiers reachable\n        from `this.identifier`.\n      */\n  function _allRelatedIdentifiers(storeWrapper, originating) {\n    let array = [];\n    let queue = [];\n    let seen = new Set();\n    queue.push(originating);\n    while (queue.length > 0) {\n      let identifier = queue.shift();\n      array.push(identifier);\n      seen.add(identifier);\n      const iterator = _directlyRelatedIdentifiersIterable(storeWrapper, originating).iterator();\n      for (let obj = iterator.next(); !obj.done; obj = iterator.next()) {\n        const identifier = obj.value;\n        if (identifier && !seen.has(identifier)) {\n          seen.add(identifier);\n          queue.push(identifier);\n        }\n      }\n    }\n    return array;\n  }\n  function isMetaDocument(doc) {\n    return !(doc instanceof Error) && !('data' in doc.content) && !('included' in doc.content) && 'meta' in doc.content;\n  }\n  function isErrorDocument(doc) {\n    return doc instanceof Error;\n  }\n  function fromBaseDocument(doc) {\n    const resourceDocument = {};\n    const jsonApiDoc = doc.content;\n    if (jsonApiDoc) {\n      copyLinksAndMeta(resourceDocument, jsonApiDoc);\n    }\n    return resourceDocument;\n  }\n  function fromStructuredError(doc) {\n    const errorDoc = {};\n    if (doc.content) {\n      copyLinksAndMeta(errorDoc, doc.content);\n      if ('errors' in doc.content) {\n        errorDoc.errors = doc.content.errors;\n      } else if (typeof doc.error === 'object' && 'errors' in doc.error) {\n        errorDoc.errors = doc.error.errors;\n      } else {\n        errorDoc.errors = [{\n          title: doc.message\n        }];\n      }\n    }\n    return errorDoc;\n  }\n  function copyLinksAndMeta(target, source) {\n    if ('links' in source) {\n      target.links = source.links;\n    }\n    if ('meta' in source) {\n      target.meta = source.meta;\n    }\n  }\n});","define(\"@ember-data/legacy-compat/-private\", [\"exports\", \"@ember-data/legacy-compat/fetch-manager-025964e9\"], function (_exports, _fetchManager025964e) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"FetchManager\", {\n    enumerable: true,\n    get: function () {\n      return _fetchManager025964e.F;\n    }\n  });\n  Object.defineProperty(_exports, \"SaveOp\", {\n    enumerable: true,\n    get: function () {\n      return _fetchManager025964e.a;\n    }\n  });\n  Object.defineProperty(_exports, \"Snapshot\", {\n    enumerable: true,\n    get: function () {\n      return _fetchManager025964e.b;\n    }\n  });\n  Object.defineProperty(_exports, \"SnapshotRecordArray\", {\n    enumerable: true,\n    get: function () {\n      return _fetchManager025964e.S;\n    }\n  });\n});","define(\"@ember-data/legacy-compat/builders\", [\"exports\", \"@ember/debug\", \"@ember-data/request\", \"@ember/string\", \"@ember-data/store/-private\", \"@ember-data/store\"], function (_exports, _debug, _request, _string, _private, _store) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.findAll = findAllBuilder;\n  _exports.findRecord = findRecordBuilder;\n  _exports.query = queryBuilder;\n  _exports.queryRecord = queryRecordBuilder;\n  _exports.saveRecord = saveRecordBuilder;\n  function isMaybeIdentifier(maybeIdentifier) {\n    return Boolean(maybeIdentifier !== null && typeof maybeIdentifier === 'object' && ('id' in maybeIdentifier && 'type' in maybeIdentifier && maybeIdentifier.id && maybeIdentifier.type || maybeIdentifier.lid));\n  }\n  function normalizeModelName(type) {\n    return (0, _string.dasherize)(type);\n  }\n\n  /**\n   * @module @ember-data/legacy-compat/builders\n   */\n\n  // Keeping unused generics for consistency with 5x types\n\n  /**\n    This function builds a request config to perform a `findAll` request for the given type.\n    When passed to `store.request`, this config will result in the same behavior as a `store.findAll` request.\n    Additionally, it takes the same options as `store.findAll`.\n  \n    All `@ember-data/legacy-compat` builders exist to enable you to migrate your codebase to using the correct syntax for `store.request` while temporarily preserving legacy behaviors.\n    This is useful for quickly upgrading an entire app to a unified syntax while a longer incremental migration is made to shift off of adapters and serializers.\n    To that end, these builders are deprecated and will be removed in a future version of Ember Data.\n  \n    @method findAll\n    @deprecated\n    @public\n    @static\n    @for @ember-data/legacy-compat/builders\n    @param {string} type the name of the resource\n    @param {object} query a query to be used by the adapter\n    @param {FindAllBuilderOptions} [options] optional, may include `adapterOptions` hash which will be passed to adapter.findAll\n    @return {FindAllRequestInput} request config\n  */\n\n  function findAllBuilder(type, options = {}) {\n    (false && !(type) && (0, _debug.assert)(`You need to pass a model name to the findAll builder`, type));\n    (false && !(typeof type === 'string') && (0, _debug.assert)(`Model name passed to the findAll builder must be a dasherized string instead of ${type}`, typeof type === 'string'));\n    return {\n      op: 'findAll',\n      data: {\n        type: normalizeModelName(type),\n        options: options || {}\n      },\n      cacheOptions: {\n        [_request.SkipCache]: true\n      }\n    };\n  }\n\n  /**\n   * @module @ember-data/legacy-compat/builders\n   */\n\n  /**\n    This function builds a request config to find the record for a given identifier or type and id combination.\n    When passed to `store.request`, this config will result in the same behavior as a `store.findRecord` request.\n    Additionally, it takes the same options as `store.findRecord`, with the exception of `preload` (which is unsupported).\n  \n    **Example 1**\n  \n    ```ts\n    import { findRecord } from '@ember-data/legacy-compat/builders';\n    const { content: post } = await store.request<Post>(findRecord<Post>('post', '1'));\n    ```\n  \n    **Example 2**\n  \n    `findRecord` can be called with a single identifier argument instead of the combination\n    of `type` (modelName) and `id` as separate arguments. You may recognize this combo as\n    the typical pairing from [JSON:API](https://jsonapi.org/format/#document-resource-object-identification)\n  \n    ```ts\n    import { findRecord } from '@ember-data/legacy-compat/builders';\n    const { content: post } = await store.request<Post>(findRecord<Post>({ type: 'post', id }));\n    ```\n  \n    All `@ember-data/legacy-compat` builders exist to enable you to migrate your codebase to using the correct syntax for `store.request` while temporarily preserving legacy behaviors.\n    This is useful for quickly upgrading an entire app to a unified syntax while a longer incremental migration is made to shift off of adapters and serializers.\n    To that end, these builders are deprecated and will be removed in a future version of Ember Data.\n  \n    @method findRecord\n    @deprecated\n    @public\n    @static\n    @for @ember-data/legacy-compat/builders\n    @param {string|object} type - either a string representing the name of the resource or a ResourceIdentifier object containing both the type (a string) and the id (a string) for the record or an lid (a string) of an existing record\n    @param {string|number|object} id - optional object with options for the request only if the first param is a ResourceIdentifier, else the string id of the record to be retrieved\n    @param {FindRecordBuilderOptions} [options] - if the first param is a string this will be the optional options for the request. See examples for available options.\n    @return {FindRecordRequestInput} request config\n  */\n\n  function findRecordBuilder(resource, idOrOptions, options) {\n    (false && !(resource) && (0, _debug.assert)(`You need to pass a modelName or resource identifier as the first argument to the findRecord builder`, resource));\n    if (isMaybeIdentifier(resource)) {\n      options = idOrOptions;\n    } else {\n      (false && !(typeof resource === 'string') && (0, _debug.assert)(`You need to pass a modelName or resource identifier as the first argument to the findRecord builder (passed ${resource})`, typeof resource === 'string'));\n      const type = normalizeModelName(resource);\n      const normalizedId = (0, _private.ensureStringId)(idOrOptions);\n      resource = (0, _private.constructResource)(type, normalizedId);\n    }\n    options = options || {};\n    (false && !(!options.preload) && (0, _debug.assert)('findRecord builder does not support options.preload', !options.preload));\n    return {\n      op: 'findRecord',\n      data: {\n        record: resource,\n        options\n      },\n      cacheOptions: {\n        [_request.SkipCache]: true\n      }\n    };\n  }\n\n  /**\n   * @module @ember-data/legacy-compat/builders\n   */\n\n  /**\n    This function builds a request config for a given type and query object.\n    When passed to `store.request`, this config will result in the same behavior as a `store.query` request.\n    Additionally, it takes the same options as `store.query`.\n  \n    All `@ember-data/legacy-compat` builders exist to enable you to migrate your codebase to using the correct syntax for `store.request` while temporarily preserving legacy behaviors.\n    This is useful for quickly upgrading an entire app to a unified syntax while a longer incremental migration is made to shift off of adapters and serializers.\n    To that end, these builders are deprecated and will be removed in a future version of Ember Data.\n  \n    @method query\n    @deprecated\n    @public\n    @static\n    @for @ember-data/legacy-compat/builders\n    @param {string} type the name of the resource\n    @param {object} query a query to be used by the adapter\n    @param {QueryBuilderOptions} [options] optional, may include `adapterOptions` hash which will be passed to adapter.query\n    @return {QueryRequestInput} request config\n  */\n\n  function queryBuilder(type, query, options = {}) {\n    (false && !(type) && (0, _debug.assert)(`You need to pass a model name to the query builder`, type));\n    (false && !(query) && (0, _debug.assert)(`You need to pass a query hash to the query builder`, query));\n    (false && !(typeof type === 'string') && (0, _debug.assert)(`Model name passed to the query builder must be a dasherized string instead of ${type}`, typeof type === 'string'));\n    return {\n      op: 'query',\n      data: {\n        type: normalizeModelName(type),\n        query,\n        options: options\n      },\n      cacheOptions: {\n        [_request.SkipCache]: true\n      }\n    };\n  }\n\n  /**\n    This function builds a request config for a given type and query object.\n    When passed to `store.request`, this config will result in the same behavior as a `store.queryRecord` request.\n    Additionally, it takes the same options as `store.queryRecord`.\n  \n    All `@ember-data/legacy-compat` builders exist to enable you to migrate your codebase to using the correct syntax for `store.request` while temporarily preserving legacy behaviors.\n    This is useful for quickly upgrading an entire app to a unified syntax while a longer incremental migration is made to shift off of adapters and serializers.\n    To that end, these builders are deprecated and will be removed in a future version of Ember Data.\n  \n    @method queryRecord\n    @deprecated\n    @public\n    @static\n    @for @ember-data/legacy-compat/builders\n    @param {string} type the name of the resource\n    @param {object} query a query to be used by the adapter\n    @param {QueryBuilderOptions} [options] optional, may include `adapterOptions` hash which will be passed to adapter.query\n    @return {QueryRecordRequestInput} request config\n  */\n\n  function queryRecordBuilder(type, query, options) {\n    (false && !(type) && (0, _debug.assert)(`You need to pass a model name to the queryRecord builder`, type));\n    (false && !(query) && (0, _debug.assert)(`You need to pass a query hash to the queryRecord builder`, query));\n    (false && !(typeof type === 'string') && (0, _debug.assert)(`Model name passed to the queryRecord builder must be a dasherized string instead of ${type}`, typeof type === 'string'));\n    return {\n      op: 'queryRecord',\n      data: {\n        type: normalizeModelName(type),\n        query,\n        options: options || {}\n      },\n      cacheOptions: {\n        [_request.SkipCache]: true\n      }\n    };\n  }\n\n  /**\n   * @module @ember-data/legacy-compat/builders\n   */\n  function _resourceIsFullDeleted(identifier, cache) {\n    return cache.isDeletionCommitted(identifier) || cache.isNew(identifier) && cache.isDeleted(identifier);\n  }\n  function resourceIsFullyDeleted(instanceCache, identifier) {\n    const cache = instanceCache.cache;\n    return !cache || _resourceIsFullDeleted(identifier, cache);\n  }\n\n  /**\n    This function builds a request config for saving the given record (e.g. creating, updating, or deleting the record).\n    When passed to `store.request`, this config will result in the same behavior as a legacy `store.saveRecord` request.\n    Additionally, it takes the same options as `store.saveRecord`.\n  \n    All `@ember-data/legacy-compat` builders exist to enable you to migrate your codebase to using the correct syntax for `store.request` while temporarily preserving legacy behaviors.\n    This is useful for quickly upgrading an entire app to a unified syntax while a longer incremental migration is made to shift off of adapters and serializers.\n    To that end, these builders are deprecated and will be removed in a future version of Ember Data.\n  \n    @method saveRecord\n    @deprecated\n    @public\n    @static\n    @for @ember-data/legacy-compat/builders\n    @param {object} record a record to save\n    @param {SaveRecordBuilderOptions} options optional, may include `adapterOptions` hash which will be passed to adapter.saveRecord\n    @return {SaveRecordRequestInput} request config\n  */\n  function saveRecordBuilder(record, options = {}) {\n    const store = (0, _store.storeFor)(record);\n    (false && !(store) && (0, _debug.assert)(`Unable to initiate save for a record in a disconnected state`, store));\n    const identifier = (0, _store.recordIdentifierFor)(record);\n    if (!identifier) {\n      // this commonly means we're disconnected\n      // but just in case we throw here to prevent bad things.\n      throw new Error(`Record Is Disconnected`);\n    }\n    (false && !(store._instanceCache.recordIsLoaded(identifier)) && (0, _debug.assert)(`Cannot initiate a save request for an unloaded record: ${identifier.lid}`, store._instanceCache.recordIsLoaded(identifier)));\n    if (resourceIsFullyDeleted(store._instanceCache, identifier)) {\n      throw new Error('cannot build saveRecord request for deleted record');\n    }\n    if (!options) {\n      options = {};\n    }\n    let operation = 'updateRecord';\n    const cache = store.cache;\n    if (cache.isNew(identifier)) {\n      operation = 'createRecord';\n    } else if (cache.isDeleted(identifier)) {\n      operation = 'deleteRecord';\n    }\n    return {\n      op: operation,\n      data: {\n        options,\n        record: identifier\n      },\n      records: [identifier],\n      cacheOptions: {\n        [_request.SkipCache]: true\n      }\n    };\n  }\n});","define(\"@ember-data/legacy-compat/fetch-manager-025964e9\", [\"exports\", \"@ember/debug\", \"@ember-data/store/-private\", \"@ember-data/request\", \"@embroider/macros/es-compat2\"], function (_exports, _debug, _private, _request, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.S = _exports.F = void 0;\n  _exports._ = _objectIsAlive;\n  _exports.b = _exports.a = void 0;\n  _exports.c = _guard;\n  _exports.d = _bind;\n  _exports.e = assertIdentifierHasId;\n  _exports.g = guardDestroyedStore;\n  _exports.i = iterateData;\n  _exports.n = normalizeResponseHelper;\n  _exports.p = payloadIsNotBlank;\n  /**\n    SnapshotRecordArray is not directly instantiable.\n    Instances are provided to consuming application's\n    adapters for certain requests.\n  \n    @class SnapshotRecordArray\n    @public\n  */class SnapshotRecordArray {\n    /**\n      SnapshotRecordArray is not directly instantiable.\n      Instances are provided to consuming application's\n      adapters and serializers for certain requests.\n       @method constructor\n      @private\n      @constructor\n      @param {Store} store\n      @param {string} type\n      @param options\n     */\n    constructor(store, type, options = {}) {\n      this.__store = store;\n      /**\n        An array of snapshots\n        @private\n        @property _snapshots\n        @type {Array}\n      */\n      this._snapshots = null;\n\n      /**\n      The modelName of the underlying records for the snapshots in the array, as a Model\n      @property modelName\n      @public\n      @type {Model}\n      */\n      this.modelName = type;\n\n      /**\n        A hash of adapter options passed into the store method for this request.\n         Example\n         ```app/adapters/post.js\n        import MyCustomAdapter from './custom-adapter';\n         export default class PostAdapter extends MyCustomAdapter {\n          findAll(store, type, sinceToken, snapshotRecordArray) {\n            if (snapshotRecordArray.adapterOptions.subscribe) {\n              // ...\n            }\n            // ...\n          }\n        }\n        ```\n         @property adapterOptions\n        @public\n        @type {Object}\n      */\n      this.adapterOptions = options.adapterOptions;\n\n      /**\n        The relationships to include for this request.\n         Example\n         ```app/adapters/application.js\n        import Adapter from '@ember-data/adapter';\n         export default class ApplicationAdapter extends Adapter {\n          findAll(store, type, snapshotRecordArray) {\n            let url = `/${type.modelName}?include=${encodeURIComponent(snapshotRecordArray.include)}`;\n             return fetch(url).then((response) => response.json())\n          }\n        }\n        ```\n         @property include\n        @public\n        @type {String|Array}\n      */\n      this.include = options.include;\n    }\n\n    /**\n      An array of records\n       @property _recordArray\n      @private\n      @type {Array}\n    */\n    get _recordArray() {\n      return this.__store.peekAll(this.modelName);\n    }\n\n    /**\n        Number of records in the array\n         Example\n         ```app/adapters/post.js\n        import JSONAPIAdapter from '@ember-data/adapter/json-api';\n         export default class PostAdapter extends JSONAPIAdapter {\n          shouldReloadAll(store, snapshotRecordArray) {\n            return !snapshotRecordArray.length;\n          }\n        });\n        ```\n         @property length\n        @public\n        @type {Number}\n      */\n    get length() {\n      return this._recordArray.length;\n    }\n\n    /**\n      Get snapshots of the underlying record array\n       Example\n       ```app/adapters/post.js\n      import JSONAPIAdapter from '@ember-data/adapter/json-api';\n       export default class PostAdapter extends JSONAPIAdapter {\n        shouldReloadAll(store, snapshotArray) {\n          let snapshots = snapshotArray.snapshots();\n           return snapshots.any(function(ticketSnapshot) {\n            let timeDiff = moment().diff(ticketSnapshot.attr('lastAccessedAt'), 'minutes');\n            if (timeDiff > 20) {\n              return true;\n            } else {\n              return false;\n            }\n          });\n        }\n      }\n      ```\n       @method snapshots\n      @public\n      @return {Array} Array of snapshots\n    */\n    snapshots() {\n      if (this._snapshots !== null) {\n        return this._snapshots;\n      }\n      const {\n        _fetchManager\n      } = this.__store;\n      this._snapshots = this._recordArray[_private.SOURCE].map(identifier => _fetchManager.createSnapshot(identifier));\n      return this._snapshots;\n    }\n  }\n  _exports.S = SnapshotRecordArray;\n  {\n    /**\n      The type of the underlying records for the snapshots in the array, as a Model\n       @deprecated\n      @property type\n      @public\n      @type {Model}\n    */\n    Object.defineProperty(SnapshotRecordArray.prototype, 'type', {\n      get() {\n        (false && !(false) && (0, _debug.deprecate)(`Using SnapshotRecordArray.type to access the ModelClass for a record is deprecated. Use store.modelFor(<modelName>) instead.`, false, {\n          id: 'ember-data:deprecate-snapshot-model-class-access',\n          until: '5.0',\n          for: 'ember-data',\n          since: {\n            available: '4.5.0',\n            enabled: '4.5.0'\n          }\n        })); // @ts-expect-error\n        return this._recordArray.type;\n      }\n    });\n  }\n  function _bind(fn, ...args) {\n    return function () {\n      return fn.apply(undefined, args);\n    };\n  }\n  function _guard(promise, test) {\n    let guarded = promise.finally(() => {\n      if (!test()) {\n        guarded._subscribers ? guarded._subscribers.length = 0 : null;\n      }\n    });\n    return guarded;\n  }\n  function _objectIsAlive(object) {\n    return !(object.isDestroyed || object.isDestroying);\n  }\n  function guardDestroyedStore(promise, store) {\n    return promise.then(_v => {\n      if (!_objectIsAlive(store)) {\n        {\n          (false && !(false) && (0, _debug.deprecate)(`A Promise did not resolve by the time the store was destroyed. This will error in a future release.`, false, {\n            id: 'ember-data:rsvp-unresolved-async',\n            until: '5.0',\n            for: '@ember-data/store',\n            since: {\n              available: '4.5',\n              enabled: '4.5'\n            }\n          }));\n        }\n      }\n      return _v;\n    });\n  }\n  function assertIdentifierHasId(identifier) {\n    (false && !(identifier.id !== null) && (0, _debug.assert)(`Attempted to schedule a fetch for a record without an id.`, identifier.id !== null));\n  }\n  function iterateData(data, fn) {\n    if (Array.isArray(data)) {\n      return data.map(fn);\n    } else {\n      return fn(data);\n    }\n  }\n  function payloadIsNotBlank(adapterPayload) {\n    if (Array.isArray(adapterPayload)) {\n      return true;\n    } else {\n      return Object.keys(adapterPayload || {}).length !== 0;\n    }\n  }\n\n  /**\n    This is a helper method that validates a JSON API top-level document\n  \n    The format of a document is described here:\n    http://jsonapi.org/format/#document-top-level\n  \n    @internal\n  */\n  function validateDocumentStructure(doc) {}\n  function normalizeResponseHelper(serializer, store, modelClass, payload, id, requestType) {\n    let normalizedResponse = serializer ? serializer.normalizeResponse(store, modelClass, payload, id, requestType) : payload;\n    validateDocumentStructure(normalizedResponse);\n    return normalizedResponse;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  /**\n    Snapshot is not directly instantiable.\n    Instances are provided to a consuming application's\n    adapters and serializers for certain requests.\n  \n    Snapshots are only available when using `@ember-data/legacy-compat`\n    for legacy compatibility with adapters and serializers.\n  \n    @class Snapshot\n    @public\n  */\n  class Snapshot {\n    /**\n     * @method constructor\n     * @constructor\n     * @private\n     * @param options\n     * @param identifier\n     * @param _store\n     */\n    constructor(options, identifier, store) {\n      this._store = store;\n      this.__attributes = null;\n      this._belongsToRelationships = Object.create(null);\n      this._belongsToIds = Object.create(null);\n      this._hasManyRelationships = Object.create(null);\n      this._hasManyIds = Object.create(null);\n      const hasRecord = !!store._instanceCache.peek({\n        identifier,\n        bucket: 'record'\n      });\n      this.modelName = identifier.type;\n\n      /**\n        The unique RecordIdentifier associated with this Snapshot.\n         @property identifier\n        @public\n        @type {StableRecordIdentifier}\n      */\n      this.identifier = identifier;\n\n      /*\n        If the we do not yet have a record, then we are\n        likely a snapshot being provided to a find request, so we\n        populate __attributes lazily. Else, to preserve the \"moment\n        in time\" in which a snapshot is created, we greedily grab\n        the values.\n       */\n      if (hasRecord) {\n        this._attributes;\n      }\n\n      /**\n       The id of the snapshot's underlying record\n        Example\n        ```javascript\n       // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n       postSnapshot.id; // => '1'\n       ```\n        @property id\n       @type {String}\n       @public\n       */\n      this.id = identifier.id;\n\n      /**\n       A hash of adapter options\n       @property adapterOptions\n       @type {Object}\n       @public\n       */\n      this.adapterOptions = options.adapterOptions;\n\n      /**\n       If `include` was passed to the options hash for the request, the value\n       would be available here.\n        @property include\n       @type {String|Array}\n       @public\n       */\n      this.include = options.include;\n\n      /**\n       The name of the type of the underlying record for this snapshot, as a string.\n        @property modelName\n       @type {String}\n       @public\n       */\n      this.modelName = identifier.type;\n      if (hasRecord) {\n        const cache = this._store._instanceCache.getResourceCache(identifier);\n        this._changedAttributes = cache.changedAttrs(identifier);\n      }\n    }\n\n    /**\n     The underlying record for this snapshot. Can be used to access methods and\n     properties defined on the record.\n      Example\n      ```javascript\n     let json = snapshot.record.toJSON();\n     ```\n      @property record\n     @type {Model}\n     @public\n     */\n    get record() {\n      const record = this._store.peekRecord(this.identifier);\n      (false && !(record !== null) && (0, _debug.assert)(`Record ${this.identifier.type} ${String(this.identifier.id)} (${this.identifier.lid}) is not yet loaded and thus cannot be accessed from the Snapshot during serialization`, record !== null));\n      return record;\n    }\n    get _attributes() {\n      if (this.__attributes !== null) {\n        return this.__attributes;\n      }\n      const attributes = this.__attributes = Object.create(null);\n      const {\n        identifier\n      } = this;\n      const attrs = Object.keys(this._store.getSchemaDefinitionService().attributesDefinitionFor(identifier));\n      const cache = this._store._instanceCache.getResourceCache(identifier);\n      attrs.forEach(keyName => {\n        attributes[keyName] = cache.getAttr(identifier, keyName);\n      });\n      return attributes;\n    }\n\n    /**\n     The type of the underlying record for this snapshot, as a Model.\n      @property type\n      @public\n      @deprecated\n     @type {Model}\n     */\n\n    get isNew() {\n      const cache = this._store._instanceCache.peek({\n        identifier: this.identifier,\n        bucket: 'resourceCache'\n      });\n      return cache?.isNew(this.identifier) || false;\n    }\n\n    /**\n     Returns the value of an attribute.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n     postSnapshot.attr('author'); // => 'Tomster'\n     postSnapshot.attr('title'); // => 'Ember.js rocks'\n     ```\n      Note: Values are loaded eagerly and cached when the snapshot is created.\n      @method attr\n     @param {String} keyName\n     @return {Object} The attribute value or undefined\n     @public\n     */\n    attr(keyName) {\n      if (keyName in this._attributes) {\n        return this._attributes[keyName];\n      }\n      (false && !(false) && (0, _debug.assert)(`Model '${this.identifier.lid}' has no attribute named '${keyName}' defined.`, false));\n    }\n\n    /**\n     Returns all attributes and their corresponding values.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n     postSnapshot.attributes(); // => { author: 'Tomster', title: 'Ember.js rocks' }\n     ```\n      @method attributes\n     @return {Object} All attributes of the current snapshot\n     @public\n     */\n    attributes() {\n      return {\n        ...this._attributes\n      };\n    }\n\n    /**\n     Returns all changed attributes and their old and new values.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, author: 'Tomster', title: 'Ember.js rocks' });\n     postModel.set('title', 'Ember.js rocks!');\n     postSnapshot.changedAttributes(); // => { title: ['Ember.js rocks', 'Ember.js rocks!'] }\n     ```\n      @method changedAttributes\n     @return {Object} All changed attributes of the current snapshot\n     @public\n     */\n    changedAttributes() {\n      let changedAttributes = Object.create(null);\n      if (!this._changedAttributes) {\n        return changedAttributes;\n      }\n      let changedAttributeKeys = Object.keys(this._changedAttributes);\n      for (let i = 0, length = changedAttributeKeys.length; i < length; i++) {\n        let key = changedAttributeKeys[i];\n        changedAttributes[key] = this._changedAttributes[key].slice();\n      }\n      return changedAttributes;\n    }\n\n    /**\n     Returns the current value of a belongsTo relationship.\n      `belongsTo` takes an optional hash of options as a second parameter,\n     currently supported options are:\n      - `id`: set to `true` if you only want the ID of the related record to be\n     returned.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, title: 'Hello World' });\n     // store.createRecord('comment', { body: 'Lorem ipsum', post: post });\n     commentSnapshot.belongsTo('post'); // => Snapshot\n     commentSnapshot.belongsTo('post', { id: true }); // => '1'\n      // store.push('comment', { id: 1, body: 'Lorem ipsum' });\n     commentSnapshot.belongsTo('post'); // => undefined\n     ```\n      Calling `belongsTo` will return a new Snapshot as long as there's any known\n     data for the relationship available, such as an ID. If the relationship is\n     known but unset, `belongsTo` will return `null`. If the contents of the\n     relationship is unknown `belongsTo` will return `undefined`.\n      Note: Relationships are loaded lazily and cached upon first access.\n      @method belongsTo\n     @param {String} keyName\n     @param {Object} [options]\n     @public\n     @return {(Snapshot|String|null|undefined)} A snapshot or ID of a known\n     relationship or null if the relationship is known but unset. undefined\n     will be returned if the contents of the relationship is unknown.\n     */\n    belongsTo(keyName, options) {\n      let returnModeIsId = !!(options && options.id);\n      let result;\n      let store = this._store;\n      if (returnModeIsId === true && keyName in this._belongsToIds) {\n        return this._belongsToIds[keyName];\n      }\n      if (returnModeIsId === false && keyName in this._belongsToRelationships) {\n        return this._belongsToRelationships[keyName];\n      }\n      let relationshipMeta = store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type: this.modelName\n      })[keyName];\n      (false && !(relationshipMeta && relationshipMeta.kind === 'belongsTo') && (0, _debug.assert)(`Model '${this.identifier.lid}' has no belongsTo relationship named '${keyName}' defined.`, relationshipMeta && relationshipMeta.kind === 'belongsTo')); // TODO @runspired it seems this code branch would not work with CUSTOM_MODEL_CLASSes\n      // this check is not a regression in behavior because relationships don't currently\n      // function without access to intimate API contracts between RecordData and Model.\n      // This is a requirement we should fix as soon as the relationship layer does not require\n      // this intimate API usage.\n      const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n      const {\n        identifier\n      } = this;\n      const relationship = graphFor(this._store).get(identifier, keyName);\n      (false && !(relationship) && (0, _debug.assert)(`You looked up the ${keyName} belongsTo relationship for { type: ${identifier.type}, id: ${identifier.id || ''}, lid: ${identifier.lid} but no such relationship was found.`, relationship));\n      (false && !(relationship.definition.kind === 'belongsTo') && (0, _debug.assert)(`You looked up the ${keyName} belongsTo relationship for { type: ${identifier.type}, id: ${identifier.id || ''}, lid: ${identifier.lid} but that relationship is a hasMany.`, relationship.definition.kind === 'belongsTo'));\n      let value = relationship.getData();\n      let data = value && value.data;\n      let inverseIdentifier = data ? store.identifierCache.getOrCreateRecordIdentifier(data) : null;\n      if (value && value.data !== undefined) {\n        const cache = inverseIdentifier && store._instanceCache.getResourceCache(inverseIdentifier);\n        if (inverseIdentifier && !cache.isDeleted(inverseIdentifier)) {\n          if (returnModeIsId) {\n            result = inverseIdentifier.id;\n          } else {\n            result = store._fetchManager.createSnapshot(inverseIdentifier);\n          }\n        } else {\n          result = null;\n        }\n      }\n      if (returnModeIsId) {\n        this._belongsToIds[keyName] = result;\n      } else {\n        this._belongsToRelationships[keyName] = result;\n      }\n      return result;\n    }\n\n    /**\n     Returns the current value of a hasMany relationship.\n      `hasMany` takes an optional hash of options as a second parameter,\n     currently supported options are:\n      - `ids`: set to `true` if you only want the IDs of the related records to be\n     returned.\n      Example\n      ```javascript\n     // store.push('post', { id: 1, title: 'Hello World', comments: [2, 3] });\n     postSnapshot.hasMany('comments'); // => [Snapshot, Snapshot]\n     postSnapshot.hasMany('comments', { ids: true }); // => ['2', '3']\n      // store.push('post', { id: 1, title: 'Hello World' });\n     postSnapshot.hasMany('comments'); // => undefined\n     ```\n      Note: Relationships are loaded lazily and cached upon first access.\n      @method hasMany\n     @param {String} keyName\n     @param {Object} [options]\n     @public\n     @return {(Array|undefined)} An array of snapshots or IDs of a known\n     relationship or an empty array if the relationship is known but unset.\n     undefined will be returned if the contents of the relationship is unknown.\n     */\n    hasMany(keyName, options) {\n      let returnModeIsIds = !!(options && options.ids);\n      let results;\n      let cachedIds = this._hasManyIds[keyName];\n      let cachedSnapshots = this._hasManyRelationships[keyName];\n      if (returnModeIsIds === true && keyName in this._hasManyIds) {\n        return cachedIds;\n      }\n      if (returnModeIsIds === false && keyName in this._hasManyRelationships) {\n        return cachedSnapshots;\n      }\n      let store = this._store;\n      let relationshipMeta = store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type: this.modelName\n      })[keyName];\n      (false && !(relationshipMeta && relationshipMeta.kind === 'hasMany') && (0, _debug.assert)(`Model '${this.identifier.lid}' has no hasMany relationship named '${keyName}' defined.`, relationshipMeta && relationshipMeta.kind === 'hasMany')); // TODO @runspired it seems this code branch would not work with CUSTOM_MODEL_CLASSes\n      // this check is not a regression in behavior because relationships don't currently\n      // function without access to intimate API contracts between RecordData and Model.\n      // This is a requirement we should fix as soon as the relationship layer does not require\n      // this intimate API usage.\n      const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n      const {\n        identifier\n      } = this;\n      const relationship = graphFor(this._store).get(identifier, keyName);\n      (false && !(relationship) && (0, _debug.assert)(`You looked up the ${keyName} hasMany relationship for { type: ${identifier.type}, id: ${identifier.id || ''}, lid: ${identifier.lid} but no such relationship was found.`, relationship));\n      (false && !(relationship.definition.kind === 'hasMany') && (0, _debug.assert)(`You looked up the ${keyName} hasMany relationship for { type: ${identifier.type}, id: ${identifier.id || ''}, lid: ${identifier.lid} but that relationship is a belongsTo.`, relationship.definition.kind === 'hasMany'));\n      let value = relationship.getData();\n      if (value.data) {\n        results = [];\n        value.data.forEach(member => {\n          let inverseIdentifier = store.identifierCache.getOrCreateRecordIdentifier(member);\n          const cache = store._instanceCache.getResourceCache(inverseIdentifier);\n          if (!cache.isDeleted(inverseIdentifier)) {\n            if (returnModeIsIds) {\n              results.push(inverseIdentifier.id);\n            } else {\n              results.push(store._fetchManager.createSnapshot(inverseIdentifier));\n            }\n          }\n        });\n      }\n\n      // we assign even if `undefined` so that we don't reprocess the relationship\n      // on next access. This works with the `keyName in` checks above.\n      if (returnModeIsIds) {\n        this._hasManyIds[keyName] = results;\n      } else {\n        this._hasManyRelationships[keyName] = results;\n      }\n      return results;\n    }\n\n    /**\n      Iterates through all the attributes of the model, calling the passed\n      function on each attribute.\n       Example\n       ```javascript\n      snapshot.eachAttribute(function(name, meta) {\n        // ...\n      });\n      ```\n       @method eachAttribute\n      @param {Function} callback the callback to execute\n      @param {Object} [binding] the value to which the callback's `this` should be bound\n      @public\n    */\n    eachAttribute(callback, binding) {\n      let attrDefs = this._store.getSchemaDefinitionService().attributesDefinitionFor(this.identifier);\n      Object.keys(attrDefs).forEach(key => {\n        callback.call(binding, key, attrDefs[key]);\n      });\n    }\n\n    /**\n      Iterates through all the relationships of the model, calling the passed\n      function on each relationship.\n       Example\n       ```javascript\n      snapshot.eachRelationship(function(name, relationship) {\n        // ...\n      });\n      ```\n       @method eachRelationship\n      @param {Function} callback the callback to execute\n      @param {Object} [binding] the value to which the callback's `this` should be bound\n      @public\n    */\n    eachRelationship(callback, binding) {\n      let relationshipDefs = this._store.getSchemaDefinitionService().relationshipsDefinitionFor(this.identifier);\n      Object.keys(relationshipDefs).forEach(key => {\n        callback.call(binding, key, relationshipDefs[key]);\n      });\n    }\n\n    /**\n      Serializes the snapshot using the serializer for the model.\n       Example\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n       export default Adapter.extend({\n        createRecord(store, type, snapshot) {\n          let data = snapshot.serialize({ includeId: true });\n          let url = `/${type.modelName}`;\n           return fetch(url, {\n            method: 'POST',\n            body: data,\n          }).then((response) => response.json())\n        }\n      });\n      ```\n       @method serialize\n      @param {Object} options\n      @return {Object} an object whose values are primitive JSON values only\n      @public\n     */\n    serialize(options) {\n      const serializer = this._store.serializerFor(this.modelName);\n      (false && !(serializer) && (0, _debug.assert)(`Cannot serialize record, no serializer found`, serializer));\n      return serializer.serialize(this, options);\n    }\n  }\n  _exports.b = Snapshot;\n  {\n    Object.defineProperty(Snapshot.prototype, 'type', {\n      get() {\n        (false && !(false) && (0, _debug.deprecate)(`Using Snapshot.type to access the ModelClass for a record is deprecated. Use store.modelFor(<modelName>) instead.`, false, {\n          id: 'ember-data:deprecate-snapshot-model-class-access',\n          until: '5.0',\n          for: 'ember-data',\n          since: {\n            available: '4.5.0',\n            enabled: '4.5.0'\n          }\n        }));\n        return this._store.modelFor(this.identifier.type);\n      }\n    });\n  }\n  const SaveOp = _exports.a = Symbol('SaveOp');\n  class FetchManager {\n    // fetches pending in the runloop, waiting to be coalesced\n\n    constructor(store) {\n      this._store = store;\n      // used to keep track of all the find requests that need to be coalesced\n      this._pendingFetch = new Map();\n      this.requestCache = store.getRequestStateService();\n      this.isDestroyed = false;\n    }\n    createSnapshot(identifier, options = {}) {\n      return new Snapshot(options, identifier, this._store);\n    }\n\n    /**\n      This method is called by `record.save`, and gets passed a\n      resolver for the promise that `record.save` returns.\n       It schedules saving to happen at the end of the run loop.\n       @internal\n    */\n    scheduleSave(identifier, options) {\n      let resolver = (0, _request.createDeferred)();\n      let query = {\n        op: 'saveRecord',\n        recordIdentifier: identifier,\n        options\n      };\n      let queryRequest = {\n        data: [query]\n      };\n      const snapshot = this.createSnapshot(identifier, options);\n      const pendingSaveItem = {\n        snapshot: snapshot,\n        resolver: resolver,\n        identifier,\n        options,\n        queryRequest\n      };\n      const monitored = this.requestCache._enqueue(resolver.promise, pendingSaveItem.queryRequest);\n      _flushPendingSave(this._store, pendingSaveItem);\n      return monitored;\n    }\n    scheduleFetch(identifier, options, request) {\n      let query = {\n        op: 'findRecord',\n        recordIdentifier: identifier,\n        options\n      };\n      let queryRequest = {\n        data: [query]\n      };\n      let pendingFetch = this.getPendingFetch(identifier, options);\n      if (pendingFetch) {\n        return pendingFetch;\n      }\n      let modelName = identifier.type;\n      const resolver = (0, _request.createDeferred)();\n      const pendingFetchItem = {\n        identifier,\n        resolver,\n        options,\n        queryRequest\n      };\n      let resolverPromise = resolver.promise;\n      const store = this._store;\n      const isInitialLoad = !store._instanceCache.recordIsLoaded(identifier); // we don't use isLoading directly because we are the request\n\n      const monitored = this.requestCache._enqueue(resolverPromise, pendingFetchItem.queryRequest);\n      let promise = monitored.then(payload => {\n        // ensure that regardless of id returned we assign to the correct record\n        if (payload.data && !Array.isArray(payload.data)) {\n          payload.data.lid = identifier.lid;\n        }\n\n        // additional data received in the payload\n        // may result in the merging of identifiers (and thus records)\n        let potentiallyNewIm = store._push(payload, options.reload);\n        if (potentiallyNewIm && !Array.isArray(potentiallyNewIm)) {\n          return potentiallyNewIm;\n        }\n        return identifier;\n      }, error => {\n        (false && !(!store.isDestroyed) && (0, _debug.assert)(`Async Leak Detected: Expected the store to not be destroyed`, !store.isDestroyed));\n        const cache = store._instanceCache.peek({\n          identifier,\n          bucket: 'resourceCache'\n        });\n        if (!cache || cache.isEmpty(identifier) || isInitialLoad) {\n          let isReleasable = true;\n          {\n            if (!cache) {\n              const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n              const graph = graphFor(store);\n              isReleasable = graph.isReleasable(identifier);\n              if (!isReleasable) {\n                graph.unload(identifier, true);\n              }\n            }\n          }\n          if (cache || isReleasable) {\n            store._enableAsyncFlush = true;\n            store._instanceCache.unloadRecord(identifier);\n            store._enableAsyncFlush = null;\n          }\n        }\n        throw error;\n      });\n      if (this._pendingFetch.size === 0) {\n        void new Promise(resolve => setTimeout(resolve, 0)).then(() => {\n          this.flushAllPendingFetches();\n        });\n      }\n      let fetchesByType = this._pendingFetch;\n      let fetchesById = fetchesByType.get(modelName);\n      if (!fetchesById) {\n        fetchesById = new Map();\n        fetchesByType.set(modelName, fetchesById);\n      }\n      let requestsForIdentifier = fetchesById.get(identifier);\n      if (!requestsForIdentifier) {\n        requestsForIdentifier = [];\n        fetchesById.set(identifier, requestsForIdentifier);\n      }\n      requestsForIdentifier.push(pendingFetchItem);\n      pendingFetchItem.promise = promise;\n      return promise;\n    }\n    getPendingFetch(identifier, options) {\n      let pendingFetches = this._pendingFetch.get(identifier.type)?.get(identifier);\n\n      // We already have a pending fetch for this\n      if (pendingFetches) {\n        let matchingPendingFetch = pendingFetches.find(fetch => isSameRequest(options, fetch.options));\n        if (matchingPendingFetch) {\n          return matchingPendingFetch.promise;\n        }\n      }\n    }\n    flushAllPendingFetches() {\n      if (this.isDestroyed) {\n        return;\n      }\n      const store = this._store;\n      this._pendingFetch.forEach((fetchItem, type) => _flushPendingFetchForType(store, fetchItem, type));\n      this._pendingFetch.clear();\n    }\n    fetchDataIfNeededForIdentifier(identifier, options = {}, request) {\n      // pre-loading will change the isEmpty value\n      const isEmpty = _isEmpty(this._store._instanceCache, identifier);\n      const isLoading = _isLoading(this._store._instanceCache, identifier);\n      let promise;\n      if (isEmpty) {\n        assertIdentifierHasId(identifier);\n        {\n          options.reload = true;\n          promise = this.scheduleFetch(identifier, options, request);\n        }\n      } else if (isLoading) {\n        promise = this.getPendingFetch(identifier, options);\n        (false && !(promise) && (0, _debug.assert)(`Expected to find a pending request for a record in the loading state, but found none`, promise));\n      } else {\n        promise = Promise.resolve(identifier);\n      }\n      return promise;\n    }\n    destroy() {\n      this.isDestroyed = true;\n    }\n  }\n  _exports.F = FetchManager;\n  function _isEmpty(instanceCache, identifier) {\n    const cache = instanceCache.__instances.resourceCache.get(identifier);\n    if (!cache) {\n      return true;\n    }\n    const isNew = cache.isNew(identifier);\n    const isDeleted = cache.isDeleted(identifier);\n    const isEmpty = cache.isEmpty(identifier);\n    return (!isNew || isDeleted) && isEmpty;\n  }\n  function _isLoading(cache, identifier) {\n    const req = cache.store.getRequestStateService();\n    // const fulfilled = req.getLastRequestForRecord(identifier);\n    const isLoaded = cache.recordIsLoaded(identifier);\n    return !isLoaded &&\n    // fulfilled === null &&\n    req.getPendingRequestsForRecord(identifier).some(req => req.type === 'query');\n  }\n  function includesSatisfies(current, existing) {\n    // if we have no includes we are good\n    if (!current?.length) {\n      return true;\n    }\n\n    // if we are here we have includes,\n    // and if existing has no includes then we will need a new request\n    if (!existing?.length) {\n      return false;\n    }\n    const arrCurrent = (Array.isArray(current) ? current : current.split(',')).sort();\n    const arrExisting = (Array.isArray(existing) ? existing : existing.split(',')).sort();\n\n    // includes are identical\n    if (arrCurrent.join(',') === arrExisting.join(',')) {\n      return true;\n    }\n\n    // if all of current includes are in existing includes then we are good\n    // so if we find one that is not in existing then we need a new request\n    for (let i = 0; i < arrCurrent.length; i++) {\n      if (!arrExisting.includes(arrCurrent[i])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  function optionsSatisfies(current, existing) {\n    return !current || current === existing || Object.keys(current).length === 0;\n  }\n\n  // this function helps resolve whether we have a pending request that we should use instead\n  function isSameRequest(options = {}, existingOptions = {}) {\n    return optionsSatisfies(options.adapterOptions, existingOptions.adapterOptions) && includesSatisfies(options.include, existingOptions.include);\n  }\n  function _findMany(store, adapter, modelName, snapshots) {\n    let modelClass = store.modelFor(modelName); // `adapter.findMany` gets the modelClass still\n    let promise = Promise.resolve().then(() => {\n      const ids = snapshots.map(s => s.id);\n      (false && !(ids.every(v => v !== null)) && (0, _debug.assert)(`Cannot fetch a record without an id`, ids.every(v => v !== null))); // eslint-disable-next-line @typescript-eslint/unbound-method\n      (false && !(adapter.findMany) && (0, _debug.assert)(`Expected this adapter to implement findMany for coalescing`, adapter.findMany));\n      let ret = adapter.findMany(store, modelClass, ids, snapshots);\n      (false && !(ret !== undefined) && (0, _debug.assert)('adapter.findMany returned undefined, this was very likely a mistake', ret !== undefined));\n      return ret;\n    });\n    promise = guardDestroyedStore(promise, store);\n    return promise.then(adapterPayload => {\n      (false && !(!!payloadIsNotBlank(adapterPayload)) && (0, _debug.assert)(`You made a 'findMany' request for '${modelName}' records with ids '[${snapshots.map(s => s.id).join(',')}]', but the adapter's response did not have any data`, !!payloadIsNotBlank(adapterPayload)));\n      let serializer = store.serializerFor(modelName);\n      let payload = normalizeResponseHelper(serializer, store, modelClass, adapterPayload, null, 'findMany');\n      return payload;\n    });\n  }\n  function rejectFetchedItems(fetchMap, snapshots, error) {\n    for (let i = 0, l = snapshots.length; i < l; i++) {\n      let snapshot = snapshots[i];\n      let pair = fetchMap.get(snapshot);\n      if (pair) {\n        pair.resolver.reject(error || new Error(`Expected: '<${snapshot.modelName}:${snapshot.id}>' to be present in the adapter provided payload, but it was not found.`));\n      }\n    }\n  }\n  function handleFoundRecords(store, fetchMap, snapshots, coalescedPayload) {\n    /*\n      It is possible that the same ID is included multiple times\n      via multiple snapshots. This happens when more than one\n      options hash was supplied, each of which must be uniquely\n      accounted for.\n       However, since we can't map from response to a specific\n      options object, we resolve all snapshots by id with\n      the first response we see.\n    */\n    let snapshotsById = new Map();\n    for (let i = 0; i < snapshots.length; i++) {\n      let id = snapshots[i].id;\n      let snapshotGroup = snapshotsById.get(id);\n      if (!snapshotGroup) {\n        snapshotGroup = [];\n        snapshotsById.set(id, snapshotGroup);\n      }\n      snapshotGroup.push(snapshots[i]);\n    }\n    const included = Array.isArray(coalescedPayload.included) ? coalescedPayload.included : [];\n\n    // resolve found records\n    let resources = coalescedPayload.data;\n    for (let i = 0, l = resources.length; i < l; i++) {\n      let resource = resources[i];\n      let snapshotGroup = snapshotsById.get(resource.id);\n      snapshotsById.delete(resource.id);\n      if (!snapshotGroup) {\n        // TODO consider whether this should be a deprecation/assertion\n        included.push(resource);\n      } else {\n        snapshotGroup.forEach(snapshot => {\n          let pair = fetchMap.get(snapshot);\n          let resolver = pair.resolver;\n          resolver.resolve({\n            data: resource\n          });\n        });\n      }\n    }\n    if (included.length > 0) {\n      store._push({\n        data: null,\n        included\n      }, true);\n    }\n    if (snapshotsById.size === 0) {\n      return;\n    }\n\n    // reject missing records\n    let rejected = [];\n    snapshotsById.forEach(snapshots => {\n      rejected.push(...snapshots);\n    });\n    (false && (0, _debug.warn)('Ember Data expected to find records with the following ids in the adapter response from findMany but they were missing: [ \"' + [...snapshotsById.values()].map(r => r[0].id).join('\", \"') + '\" ]', {\n      id: 'ds.store.missing-records-from-adapter'\n    }));\n    rejectFetchedItems(fetchMap, rejected);\n  }\n  function _fetchRecord(store, adapter, fetchItem) {\n    let identifier = fetchItem.identifier;\n    let modelName = identifier.type;\n    (false && !(adapter) && (0, _debug.assert)(`You tried to find a record but you have no adapter (for ${modelName})`, adapter));\n    (false && !(typeof adapter.findRecord === 'function') && (0, _debug.assert)(`You tried to find a record but your adapter (for ${modelName}) does not implement 'findRecord'`, typeof adapter.findRecord === 'function'));\n    let snapshot = store._fetchManager.createSnapshot(identifier, fetchItem.options);\n    let klass = store.modelFor(identifier.type);\n    let id = identifier.id;\n    let promise = Promise.resolve().then(() => {\n      return adapter.findRecord(store, klass, identifier.id, snapshot);\n    });\n    promise = promise.then(adapterPayload => {\n      (false && !(_objectIsAlive(store)) && (0, _debug.assert)(`Async Leak Detected: Expected the store to not be destroyed`, _objectIsAlive(store)));\n      (false && !(!!payloadIsNotBlank(adapterPayload)) && (0, _debug.assert)(`You made a 'findRecord' request for a '${modelName}' with id '${id}', but the adapter's response did not have any data`, !!payloadIsNotBlank(adapterPayload)));\n      let serializer = store.serializerFor(modelName);\n      let payload = normalizeResponseHelper(serializer, store, klass, adapterPayload, id, 'findRecord');\n      (false && !(!Array.isArray(payload.data)) && (0, _debug.assert)(`Ember Data expected the primary data returned from a 'findRecord' response to be an object but instead it found an array.`, !Array.isArray(payload.data)));\n      (false && !('data' in payload && payload.data !== null && typeof payload.data === 'object') && (0, _debug.assert)(`The 'findRecord' request for ${modelName}:${id} resolved indicating success but contained no primary data. To indicate a 404 not found you should either reject the promise returned by the adapter's findRecord method or throw a NotFoundError.`, 'data' in payload && payload.data !== null && typeof payload.data === 'object'));\n      (false && (0, _debug.warn)(`You requested a record of type '${modelName}' with id '${id}' but the adapter returned a payload with primary data having an id of '${payload.data.id}'. Use 'store.findRecord()' when the requested id is the same as the one returned by the adapter. In other cases use 'store.queryRecord()' instead.`, (0, _private.coerceId)(payload.data.id) === (0, _private.coerceId)(id), {\n        id: 'ds.store.findRecord.id-mismatch'\n      }));\n      return payload;\n    });\n    fetchItem.resolver.resolve(promise);\n  }\n  function _processCoalescedGroup(store, fetchMap, group, adapter, modelName) {\n    if (group.length > 1) {\n      _findMany(store, adapter, modelName, group).then(payloads => {\n        handleFoundRecords(store, fetchMap, group, payloads);\n      }).catch(error => {\n        rejectFetchedItems(fetchMap, group, error);\n      });\n    } else if (group.length === 1) {\n      _fetchRecord(store, adapter, fetchMap.get(group[0]));\n    } else {\n      (false && !(false) && (0, _debug.assert)(\"You cannot return an empty array from adapter's method groupRecordsForFindMany\", false));\n    }\n  }\n  function _flushPendingFetchForType(store, pendingFetchMap, modelName) {\n    let adapter = store.adapterFor(modelName);\n    let shouldCoalesce = !!adapter.findMany && adapter.coalesceFindRequests;\n    if (shouldCoalesce) {\n      const pendingFetchItems = [];\n      pendingFetchMap.forEach((requestsForIdentifier, identifier) => {\n        if (requestsForIdentifier.length > 1) {\n          return;\n        }\n\n        // remove this entry from the map so it's not processed again\n        pendingFetchMap.delete(identifier);\n        pendingFetchItems.push(requestsForIdentifier[0]);\n      });\n      let totalItems = pendingFetchItems.length;\n      if (totalItems > 1) {\n        let snapshots = new Array(totalItems);\n        let fetchMap = new Map();\n        for (let i = 0; i < totalItems; i++) {\n          let fetchItem = pendingFetchItems[i];\n          snapshots[i] = store._fetchManager.createSnapshot(fetchItem.identifier, fetchItem.options);\n          fetchMap.set(snapshots[i], fetchItem);\n        }\n        let groups;\n        if (adapter.groupRecordsForFindMany) {\n          groups = adapter.groupRecordsForFindMany(store, snapshots);\n        } else {\n          groups = [snapshots];\n        }\n        for (let i = 0, l = groups.length; i < l; i++) {\n          _processCoalescedGroup(store, fetchMap, groups[i], adapter, modelName);\n        }\n      } else if (totalItems === 1) {\n        void _fetchRecord(store, adapter, pendingFetchItems[0]);\n      }\n    }\n    pendingFetchMap.forEach(pendingFetchItems => {\n      pendingFetchItems.forEach(pendingFetchItem => {\n        void _fetchRecord(store, adapter, pendingFetchItem);\n      });\n    });\n  }\n  function _flushPendingSave(store, pending) {\n    const {\n      snapshot,\n      resolver,\n      identifier,\n      options\n    } = pending;\n    const adapter = store.adapterFor(identifier.type);\n    const operation = options[SaveOp];\n    let modelName = snapshot.modelName;\n    let modelClass = store.modelFor(modelName);\n    const record = store._instanceCache.getRecord(identifier);\n    (false && !(adapter) && (0, _debug.assert)(`You tried to update a record but you have no adapter (for ${modelName})`, adapter));\n    (false && !(typeof adapter[operation] === 'function') && (0, _debug.assert)(`You tried to update a record but your adapter (for ${modelName}) does not implement '${operation}'`, typeof adapter[operation] === 'function'));\n    let promise = Promise.resolve().then(() => adapter[operation](store, modelClass, snapshot));\n    let serializer = store.serializerFor(modelName);\n    (false && !(promise !== undefined) && (0, _debug.assert)(`Your adapter's '${operation}' method must return a value, but it returned 'undefined'`, promise !== undefined));\n    promise = promise.then(adapterPayload => {\n      // eslint-disable-next-line @typescript-eslint/no-unsafe-call\n      if (!_objectIsAlive(record)) {\n        {\n          (false && !(false) && (0, _debug.deprecate)(`A Promise while saving ${modelName} did not resolve by the time your model was destroyed. This will error in a future release.`, false, {\n            id: 'ember-data:rsvp-unresolved-async',\n            until: '5.0',\n            for: '@ember-data/store',\n            since: {\n              available: '4.5',\n              enabled: '4.5'\n            }\n          }));\n        }\n      }\n      if (adapterPayload) {\n        return normalizeResponseHelper(serializer, store, modelClass, adapterPayload, snapshot.id, operation);\n      }\n    });\n    resolver.resolve(promise);\n  }\n});","define(\"@ember-data/legacy-compat/index\", [\"exports\", \"@ember/debug\", \"@ember-data/legacy-compat/fetch-manager-025964e9\"], function (_exports, _debug, _fetchManager025964e) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.LegacyNetworkHandler = void 0;\n  function _findHasMany(adapter, store, identifier, link, relationship, options) {\n    let promise = Promise.resolve().then(() => {\n      const snapshot = store._fetchManager.createSnapshot(identifier, options);\n      let useLink = !link || typeof link === 'string';\n      let relatedLink = useLink ? link : link.href;\n      return adapter.findHasMany(store, snapshot, relatedLink, relationship);\n    });\n    promise = (0, _fetchManager025964e.g)(promise, store);\n    promise = promise.then(adapterPayload => {\n      const record = store._instanceCache.getRecord(identifier);\n      if (!(0, _fetchManager025964e._)(record)) {\n        {\n          (false && !(false) && (0, _debug.deprecate)(`A Promise for fetching ${relationship.type} did not resolve by the time your model was destroyed. This will error in a future release.`, false, {\n            id: 'ember-data:rsvp-unresolved-async',\n            until: '5.0',\n            for: '@ember-data/store',\n            since: {\n              available: '4.5',\n              enabled: '4.5'\n            }\n          }));\n        }\n      }\n      (false && !((0, _fetchManager025964e.p)(adapterPayload)) && (0, _debug.assert)(`You made a 'findHasMany' request for a ${identifier.type}'s '${relationship.key}' relationship, using link '${link}' , but the adapter's response did not have any data`, (0, _fetchManager025964e.p)(adapterPayload)));\n      const modelClass = store.modelFor(relationship.type);\n      let serializer = store.serializerFor(relationship.type);\n      let payload = (0, _fetchManager025964e.n)(serializer, store, modelClass, adapterPayload, null, 'findHasMany');\n      (false && !('data' in payload && Array.isArray(payload.data)) && (0, _debug.assert)(`fetched the hasMany relationship '${relationship.name}' for ${identifier.type}:${identifier.id} with link '${link}', but no data member is present in the response. If no data exists, the response should set { data: [] }`, 'data' in payload && Array.isArray(payload.data)));\n      payload = syncRelationshipDataFromLink(store, payload, identifier, relationship);\n      return store._push(payload, true);\n    }, null, `DS: Extract payload of '${identifier.type}' : hasMany '${relationship.type}'`);\n    {\n      const record = store._instanceCache.getRecord(identifier);\n      promise = (0, _fetchManager025964e.c)(promise, (0, _fetchManager025964e.d)(_fetchManager025964e._, record));\n    }\n    return promise;\n  }\n  function _findBelongsTo(store, identifier, link, relationship, options) {\n    let promise = Promise.resolve().then(() => {\n      let adapter = store.adapterFor(identifier.type);\n      (false && !(adapter) && (0, _debug.assert)(`You tried to load a belongsTo relationship but you have no adapter (for ${identifier.type})`, adapter));\n      (false && !(typeof adapter.findBelongsTo === 'function') && (0, _debug.assert)(`You tried to load a belongsTo relationship from a specified 'link' in the original payload but your adapter does not implement 'findBelongsTo'`, typeof adapter.findBelongsTo === 'function'));\n      let snapshot = store._fetchManager.createSnapshot(identifier, options);\n      let useLink = !link || typeof link === 'string';\n      let relatedLink = useLink ? link : link.href;\n      return adapter.findBelongsTo(store, snapshot, relatedLink, relationship);\n    });\n    {\n      const record = store._instanceCache.getRecord(identifier);\n      promise = (0, _fetchManager025964e.g)(promise, store);\n      promise = (0, _fetchManager025964e.c)(promise, (0, _fetchManager025964e.d)(_fetchManager025964e._, record));\n    }\n    promise = promise.then(adapterPayload => {\n      {\n        const record = store._instanceCache.getRecord(identifier);\n        if (!(0, _fetchManager025964e._)(record)) {\n          (false && !(false) && (0, _debug.deprecate)(`A Promise for fetching ${relationship.type} did not resolve by the time your model was destroyed. This will error in a future release.`, false, {\n            id: 'ember-data:rsvp-unresolved-async',\n            until: '5.0',\n            for: '@ember-data/store',\n            since: {\n              available: '4.5',\n              enabled: '4.5'\n            }\n          }));\n        }\n      }\n      let modelClass = store.modelFor(relationship.type);\n      let serializer = store.serializerFor(relationship.type);\n      let payload = (0, _fetchManager025964e.n)(serializer, store, modelClass, adapterPayload, null, 'findBelongsTo');\n      (false && !('data' in payload && (payload.data === null || typeof payload.data === 'object' && !Array.isArray(payload.data))) && (0, _debug.assert)(`fetched the belongsTo relationship '${relationship.name}' for ${identifier.type}:${identifier.id} with link '${link}', but no data member is present in the response. If no data exists, the response should set { data: null }`, 'data' in payload && (payload.data === null || typeof payload.data === 'object' && !Array.isArray(payload.data))));\n      if (!payload.data && !payload.links && !payload.meta) {\n        return null;\n      }\n      payload = syncRelationshipDataFromLink(store, payload, identifier, relationship);\n      return store._push(payload, true);\n    }, null, `DS: Extract payload of ${identifier.type} : ${relationship.type}`);\n    return promise;\n  }\n\n  // sync\n  // iterate over records in payload.data\n  // for each record\n  //   assert that record.relationships[inverse] is either undefined (so we can fix it)\n  //     or provide a data: {id, type} that matches the record that requested it\n  //   return the relationship data for the parent\n  function syncRelationshipDataFromLink(store, payload, parentIdentifier, relationship) {\n    // ensure the right hand side (incoming payload) points to the parent record that\n    // requested this relationship\n    let relationshipData = payload.data ? (0, _fetchManager025964e.i)(payload.data, (data, index) => {\n      const {\n        id,\n        type\n      } = data;\n      ensureRelationshipIsSetToParent(data, parentIdentifier, store, relationship, index);\n      return {\n        id,\n        type\n      };\n    }) : null;\n    const relatedDataHash = {};\n    if ('meta' in payload) {\n      relatedDataHash.meta = payload.meta;\n    }\n    if ('links' in payload) {\n      relatedDataHash.links = payload.links;\n    }\n    if ('data' in payload) {\n      relatedDataHash.data = relationshipData;\n    }\n\n    // now, push the left hand side (the parent record) to ensure things are in sync, since\n    // the payload will be pushed with store._push\n    const parentPayload = {\n      id: parentIdentifier.id,\n      type: parentIdentifier.type,\n      relationships: {\n        [relationship.key]: relatedDataHash\n      }\n    };\n    if (!Array.isArray(payload.included)) {\n      payload.included = [];\n    }\n    payload.included.push(parentPayload);\n    return payload;\n  }\n  function ensureRelationshipIsSetToParent(payload, parentIdentifier, store, parentRelationship, index) {\n    let {\n      id,\n      type\n    } = payload;\n    if (!payload.relationships) {\n      payload.relationships = {};\n    }\n    let {\n      relationships\n    } = payload;\n    let inverse = getInverse(store, parentIdentifier, parentRelationship, type);\n    if (inverse) {\n      let {\n        inverseKey,\n        kind\n      } = inverse;\n      let relationshipData = relationships[inverseKey] && relationships[inverseKey].data;\n      if (kind !== 'hasMany' || typeof relationshipData !== 'undefined') {\n        relationships[inverseKey] = relationships[inverseKey] || {};\n        relationships[inverseKey].data = fixRelationshipData(relationshipData, kind, parentIdentifier);\n      }\n    }\n  }\n  function metaIsRelationshipDefinition(meta) {\n    return typeof meta._inverseKey === 'function';\n  }\n  function inverseForRelationship(store, identifier, key) {\n    const definition = store.getSchemaDefinitionService().relationshipsDefinitionFor(identifier)[key];\n    if (!definition) {\n      return null;\n    }\n    {\n      if (metaIsRelationshipDefinition(definition)) {\n        const modelClass = store.modelFor(identifier.type);\n        return definition._inverseKey(store, modelClass);\n      }\n    }\n    (false && !(definition.options?.inverse === null || typeof definition.options?.inverse === 'string' && definition.options.inverse.length > 0) && (0, _debug.assert)(`Expected the relationship defintion to specify the inverse type or null.`, definition.options?.inverse === null || typeof definition.options?.inverse === 'string' && definition.options.inverse.length > 0));\n    return definition.options.inverse;\n  }\n  function getInverse(store, parentIdentifier, parentRelationship, type) {\n    let {\n      name: lhs_relationshipName\n    } = parentRelationship;\n    let {\n      type: parentType\n    } = parentIdentifier;\n    let inverseKey = inverseForRelationship(store, {\n      type: parentType\n    }, lhs_relationshipName);\n    if (inverseKey) {\n      const definition = store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type\n      });\n      let {\n        kind\n      } = definition[inverseKey];\n      return {\n        inverseKey,\n        kind\n      };\n    }\n  }\n  function relationshipDataPointsToParent(relationshipData, identifier) {\n    if (relationshipData === null) {\n      return false;\n    }\n    if (Array.isArray(relationshipData)) {\n      if (relationshipData.length === 0) {\n        return false;\n      }\n      for (let i = 0; i < relationshipData.length; i++) {\n        let entry = relationshipData[i];\n        if (validateRelationshipEntry(entry, identifier)) {\n          return true;\n        }\n      }\n    } else {\n      return validateRelationshipEntry(relationshipData, identifier);\n    }\n    return false;\n  }\n  function fixRelationshipData(relationshipData, relationshipKind, {\n    id,\n    type\n  }) {\n    let parentRelationshipData = {\n      id,\n      type\n    };\n    let payload;\n    if (relationshipKind === 'hasMany') {\n      payload = relationshipData || [];\n      if (relationshipData) {\n        // these arrays could be massive so this is better than filter\n        // Note: this is potentially problematic if type/id are not in the\n        // same state of normalization.\n        let found = relationshipData.find(v => {\n          return v.type === parentRelationshipData.type && v.id === parentRelationshipData.id;\n        });\n        if (!found) {\n          payload.push(parentRelationshipData);\n        }\n      } else {\n        payload.push(parentRelationshipData);\n      }\n    } else {\n      payload = relationshipData || {};\n      Object.assign(payload, parentRelationshipData);\n    }\n    return payload;\n  }\n  function validateRelationshipEntry({\n    id\n  }, {\n    id: parentModelID\n  }) {\n    return id && id.toString() === parentModelID;\n  }\n  const PotentialLegacyOperations = new Set(['findRecord', 'findAll', 'query', 'queryRecord', 'findBelongsTo', 'findHasMany', 'updateRecord', 'createRecord', 'deleteRecord']);\n  const LegacyNetworkHandler = _exports.LegacyNetworkHandler = {\n    request(context, next) {\n      // if we are not a legacy request, move on\n      if (context.request.url || !context.request.op || !PotentialLegacyOperations.has(context.request.op)) {\n        return next(context.request);\n      }\n      const {\n        store\n      } = context.request;\n      if (!store._fetchManager) {\n        store._fetchManager = new _fetchManager025964e.F(store);\n      }\n      switch (context.request.op) {\n        case 'findRecord':\n          return findRecord(context);\n        case 'findAll':\n          return findAll(context);\n        case 'query':\n          return query(context);\n        case 'queryRecord':\n          return queryRecord(context);\n        case 'findBelongsTo':\n          return findBelongsTo(context);\n        case 'findHasMany':\n          return findHasMany(context);\n        case 'updateRecord':\n          return saveRecord(context);\n        case 'createRecord':\n          return saveRecord(context);\n        case 'deleteRecord':\n          return saveRecord(context);\n        default:\n          return next(context.request);\n      }\n    }\n  };\n  function findBelongsTo(context) {\n    const {\n      store,\n      data,\n      records: identifiers\n    } = context.request;\n    const {\n      options,\n      record,\n      links,\n      useLink,\n      field\n    } = data;\n    const identifier = identifiers?.[0];\n\n    // short circuit if we are already loading\n    let pendingRequest = identifier && store._fetchManager.getPendingFetch(identifier, options);\n    if (pendingRequest) {\n      return pendingRequest;\n    }\n    if (useLink) {\n      return _findBelongsTo(store, record, links.related, field, options);\n    }\n    (false && !(Array.isArray(identifiers) && identifiers.length === 1) && (0, _debug.assert)(`Expected an identifier`, Array.isArray(identifiers) && identifiers.length === 1));\n    const manager = store._fetchManager;\n    (0, _fetchManager025964e.e)(identifier);\n    return options.reload ? manager.scheduleFetch(identifier, options, context.request) : manager.fetchDataIfNeededForIdentifier(identifier, options, context.request);\n  }\n  function findHasMany(context) {\n    const {\n      store,\n      data,\n      records: identifiers\n    } = context.request;\n    const {\n      options,\n      record,\n      links,\n      useLink,\n      field\n    } = data;\n\n    // link case\n    if (useLink) {\n      const adapter = store.adapterFor(record.type);\n      /*\n      If a relationship was originally populated by the adapter as a link\n      (as opposed to a list of IDs), this method is called when the\n      relationship is fetched.\n       The link (which is usually a URL) is passed through unchanged, so the\n      adapter can make whatever request it wants.\n       The usual use-case is for the server to register a URL as a link, and\n      then use that URL in the future to make a request for the relationship.\n      */\n      (false && !(adapter) && (0, _debug.assert)(`You tried to load a hasMany relationship but you have no adapter (for ${record.type})`, adapter));\n      (false && !(typeof adapter.findHasMany === 'function') && (0, _debug.assert)(`You tried to load a hasMany relationship from a specified 'link' in the original payload but your adapter does not implement 'findHasMany'`, typeof adapter.findHasMany === 'function'));\n      return _findHasMany(adapter, store, record, links.related, field, options);\n    }\n\n    // identifiers case\n\n    const fetches = new Array(identifiers.length);\n    const manager = store._fetchManager;\n    for (let i = 0; i < identifiers.length; i++) {\n      let identifier = identifiers[i];\n      // TODO we probably can be lenient here and return from cache for the isNew case\n      (0, _fetchManager025964e.e)(identifier);\n      fetches[i] = options.reload ? manager.scheduleFetch(identifier, options, context.request) : manager.fetchDataIfNeededForIdentifier(identifier, options, context.request);\n    }\n    return Promise.all(fetches);\n  }\n  function saveRecord(context) {\n    const {\n      store,\n      data,\n      op: operation\n    } = context.request;\n    const {\n      options,\n      record: identifier\n    } = data;\n    store.cache.willCommit(identifier, context);\n    const saveOptions = Object.assign({\n      [_fetchManager025964e.a]: operation\n    }, options);\n    const fetchManagerPromise = store._fetchManager.scheduleSave(identifier, saveOptions);\n    return fetchManagerPromise.then(payload => {\n      let result;\n      /*\n      // TODO @runspired re-evaluate the below claim now that\n      // the save request pipeline is more streamlined.\n       Note to future spelunkers hoping to optimize.\n      We rely on this `run` to create a run loop if needed\n      that `store._push` and `store.saveRecord` will both share.\n       We use `join` because it is often the case that we\n      have an outer run loop available still from the first\n      call to `store._push`;\n      */\n      store._join(() => {\n        //We first make sure the primary data has been updated\n        const cache = store._instanceCache.getResourceCache(identifier);\n        result = cache.didCommit(identifier, {\n          request: context.request,\n          content: payload\n        });\n        if (payload && payload.included) {\n          store._push({\n            data: null,\n            included: payload.included\n          }, true);\n        }\n      });\n      return store.peekRecord(result.data);\n    }).catch(e => {\n      let err = e;\n      if (!e) {\n        err = new Error(`Unknown Error Occurred During Request`);\n      } else if (typeof e === 'string') {\n        err = new Error(e);\n      }\n      adapterDidInvalidate(store, identifier, err);\n      throw err;\n    });\n  }\n  function adapterDidInvalidate(store, identifier, error) {\n    if (error && error.isAdapterError === true && error.code === 'InvalidError') {\n      let serializer = store.serializerFor(identifier.type);\n\n      // TODO @deprecate extractErrors being called\n      // TODO remove extractErrors from the default serializers.\n      if (serializer && typeof serializer.extractErrors === 'function') {\n        let errorsHash = serializer.extractErrors(store, store.modelFor(identifier.type), error, identifier.id);\n        error.errors = errorsHashToArray(errorsHash);\n      }\n    }\n    const cache = store._instanceCache.getResourceCache(identifier);\n    if (error.errors) {\n      (false && !(typeof cache.getErrors === 'function') && (0, _debug.assert)(`Expected the cache in use by resource ${String(identifier)} to have a getErrors(identifier) method for retreiving errors.`, typeof cache.getErrors === 'function'));\n      let jsonApiErrors = error.errors;\n      if (jsonApiErrors.length === 0) {\n        jsonApiErrors = [{\n          title: 'Invalid Error',\n          detail: '',\n          source: {\n            pointer: '/data'\n          }\n        }];\n      }\n      cache.commitWasRejected(identifier, jsonApiErrors);\n    } else {\n      cache.commitWasRejected(identifier);\n    }\n  }\n  function makeArray(value) {\n    return Array.isArray(value) ? value : [value];\n  }\n  const PRIMARY_ATTRIBUTE_KEY = 'base';\n  function errorsHashToArray(errors) {\n    const out = [];\n    if (errors) {\n      Object.keys(errors).forEach(key => {\n        let messages = makeArray(errors[key]);\n        for (let i = 0; i < messages.length; i++) {\n          let title = 'Invalid Attribute';\n          let pointer = `/data/attributes/${key}`;\n          if (key === PRIMARY_ATTRIBUTE_KEY) {\n            title = 'Invalid Document';\n            pointer = `/data`;\n          }\n          out.push({\n            title: title,\n            detail: messages[i],\n            source: {\n              pointer: pointer\n            }\n          });\n        }\n      });\n    }\n    return out;\n  }\n  function findRecord(context) {\n    const {\n      store,\n      data\n    } = context.request;\n    const {\n      record: identifier,\n      options\n    } = data;\n    let promise;\n\n    // if not loaded start loading\n    if (!store._instanceCache.recordIsLoaded(identifier)) {\n      promise = store._fetchManager.fetchDataIfNeededForIdentifier(identifier, options, context.request);\n\n      // Refetch if the reload option is passed\n    } else if (options.reload) {\n      (0, _fetchManager025964e.e)(identifier);\n      promise = store._fetchManager.scheduleFetch(identifier, options, context.request);\n    } else {\n      let snapshot = null;\n      let adapter = store.adapterFor(identifier.type);\n\n      // Refetch the record if the adapter thinks the record is stale\n      if (typeof options.reload === 'undefined' && adapter.shouldReloadRecord && adapter.shouldReloadRecord(store, snapshot = store._fetchManager.createSnapshot(identifier, options))) {\n        (0, _fetchManager025964e.e)(identifier);\n        {\n          options.reload = true;\n          promise = store._fetchManager.scheduleFetch(identifier, options, context.request);\n        }\n      } else {\n        // Trigger the background refetch if backgroundReload option is passed\n        if (options.backgroundReload !== false && (options.backgroundReload || !adapter.shouldBackgroundReloadRecord || adapter.shouldBackgroundReloadRecord(store, snapshot = snapshot || store._fetchManager.createSnapshot(identifier, options)))) {\n          (0, _fetchManager025964e.e)(identifier);\n          {\n            options.backgroundReload = true;\n            void store._fetchManager.scheduleFetch(identifier, options, context.request);\n          }\n        }\n\n        // Return the cached record\n        promise = Promise.resolve(identifier);\n      }\n    }\n    return promise.then(identifier => store.peekRecord(identifier));\n  }\n  function findAll(context) {\n    const {\n      store,\n      data\n    } = context.request;\n    const {\n      type,\n      options\n    } = data;\n    const adapter = store.adapterFor(type);\n    (false && !(adapter) && (0, _debug.assert)(`You tried to load all records but you have no adapter (for ${type})`, adapter));\n    (false && !(typeof adapter.findAll === 'function') && (0, _debug.assert)(`You tried to load all records but your adapter does not implement 'findAll'`, typeof adapter.findAll === 'function')); // avoid initializing the liveArray just to set `isUpdating`\n    const maybeRecordArray = store.recordArrayManager._live.get(type);\n    const snapshotArray = new _fetchManager025964e.S(store, type, options);\n    const shouldReload = options.reload || options.reload !== false && (adapter.shouldReloadAll && adapter.shouldReloadAll(store, snapshotArray) || !adapter.shouldReloadAll && snapshotArray.length === 0);\n    let fetch;\n    if (shouldReload) {\n      maybeRecordArray && (maybeRecordArray.isUpdating = true);\n      fetch = _findAll(adapter, store, type, snapshotArray, context.request, true);\n    } else {\n      fetch = Promise.resolve(store.peekAll(type));\n      if (options.backgroundReload || options.backgroundReload !== false && (!adapter.shouldBackgroundReloadAll || adapter.shouldBackgroundReloadAll(store, snapshotArray))) {\n        maybeRecordArray && (maybeRecordArray.isUpdating = true);\n        void _findAll(adapter, store, type, snapshotArray, context.request, false);\n      }\n    }\n    return fetch;\n  }\n  function _findAll(adapter, store, type, snapshotArray, request, isAsyncFlush) {\n    const schema = store.modelFor(type);\n    let promise = Promise.resolve().then(() => adapter.findAll(store, schema, null, snapshotArray));\n    promise = (0, _fetchManager025964e.g)(promise, store);\n    promise = promise.then(adapterPayload => {\n      (false && !((0, _fetchManager025964e.p)(adapterPayload)) && (0, _debug.assert)(`You made a 'findAll' request for '${type}' records, but the adapter's response did not have any data`, (0, _fetchManager025964e.p)(adapterPayload)));\n      const serializer = store.serializerFor(type);\n      const payload = (0, _fetchManager025964e.n)(serializer, store, schema, adapterPayload, null, 'findAll');\n      store._push(payload, isAsyncFlush);\n      snapshotArray._recordArray.isUpdating = false;\n      return snapshotArray._recordArray;\n    });\n    return promise;\n  }\n  function query(context) {\n    const {\n      store,\n      data\n    } = context.request;\n    let {\n      options\n    } = data;\n    const {\n      type,\n      query\n    } = data;\n    const adapter = store.adapterFor(type);\n    (false && !(adapter) && (0, _debug.assert)(`You tried to make a query but you have no adapter (for ${type})`, adapter));\n    (false && !(typeof adapter.query === 'function') && (0, _debug.assert)(`You tried to make a query but your adapter does not implement 'query'`, typeof adapter.query === 'function'));\n    const recordArray = options._recordArray || store.recordArrayManager.createArray({\n      type,\n      query\n    });\n    {\n      delete options._recordArray;\n    }\n    const schema = store.modelFor(type);\n    let promise = Promise.resolve().then(() => adapter.query(store, schema, query, recordArray, options));\n    promise = (0, _fetchManager025964e.g)(promise, store);\n    return promise.then(adapterPayload => {\n      const serializer = store.serializerFor(type);\n      const payload = (0, _fetchManager025964e.n)(serializer, store, schema, adapterPayload, null, 'query');\n      const identifiers = store._push(payload, true);\n      (false && !(Array.isArray(identifiers)) && (0, _debug.assert)('The response to store.query is expected to be an array but it was a single record. Please wrap your response in an array or use `store.queryRecord` to query for a single record.', Array.isArray(identifiers)));\n      store.recordArrayManager.populateManagedArray(recordArray, identifiers, payload);\n      return recordArray;\n    });\n  }\n  function assertSingleResourceDocument(payload) {\n    (false && !(!Array.isArray(payload.data)) && (0, _debug.assert)(`Expected the primary data returned by the serializer for a 'queryRecord' response to be a single object or null but instead it was an array.`, !Array.isArray(payload.data)));\n  }\n  function queryRecord(context) {\n    const {\n      store,\n      data\n    } = context.request;\n    const {\n      type,\n      query,\n      options\n    } = data;\n    const adapter = store.adapterFor(type);\n    (false && !(adapter) && (0, _debug.assert)(`You tried to make a query but you have no adapter (for ${type})`, adapter));\n    (false && !(typeof adapter.queryRecord === 'function') && (0, _debug.assert)(`You tried to make a query but your adapter does not implement 'queryRecord'`, typeof adapter.queryRecord === 'function'));\n    const schema = store.modelFor(type);\n    let promise = Promise.resolve().then(() => adapter.queryRecord(store, schema, query, options));\n    promise = (0, _fetchManager025964e.g)(promise, store);\n    return promise.then(adapterPayload => {\n      const serializer = store.serializerFor(type);\n      const payload = (0, _fetchManager025964e.n)(serializer, store, schema, adapterPayload, null, 'queryRecord');\n      assertSingleResourceDocument(payload);\n      const identifier = store._push(payload, true);\n      return identifier ? store.peekRecord(identifier) : null;\n    });\n  }\n});","define(\"@ember-data/model/-private\", [\"exports\", \"@ember-data/model/has-many-d45aa09e\", \"@ember/application\"], function (_exports, _hasManyD45aa09e, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Errors\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.E;\n    }\n  });\n  Object.defineProperty(_exports, \"LEGACY_SUPPORT\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.L;\n    }\n  });\n  Object.defineProperty(_exports, \"ManyArray\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.R;\n    }\n  });\n  Object.defineProperty(_exports, \"Model\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.M;\n    }\n  });\n  Object.defineProperty(_exports, \"PromiseBelongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.P;\n    }\n  });\n  Object.defineProperty(_exports, \"PromiseManyArray\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.c;\n    }\n  });\n  _exports._modelForMixin = modelForMixin;\n  Object.defineProperty(_exports, \"attr\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.a;\n    }\n  });\n  Object.defineProperty(_exports, \"belongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.b;\n    }\n  });\n  _exports.diffArray = diffArray;\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.h;\n    }\n  });\n  /*\n      In case someone defined a relationship to a mixin, for example:\n      ```\n        import Model, { belongsTo, hasMany } from '@ember-data/model';\n        import Mixin from '@ember/object/mixin';\n  \n        class CommentModel extends Model {\n          @belongsTo('commentable', { polymorphic: true }) owner;\n        }\n  \n        let Commentable = Mixin.create({\n          @hasMany('comment') comments;\n        });\n      ```\n      we want to look up a Commentable class which has all the necessary\n      relationship meta data. Thus, we look up the mixin and create a mock\n      Model, so we can access the relationship CPs of the mixin (`comments`)\n      in this case\n    */\n  function modelForMixin(store, normalizedModelName) {\n    let owner = (0, _application.getOwner)(store);\n    let MaybeMixin = owner.factoryFor(`mixin:${normalizedModelName}`);\n    let mixin = MaybeMixin && MaybeMixin.class;\n    if (mixin) {\n      let ModelForMixin = _hasManyD45aa09e.M.extend(mixin);\n      ModelForMixin.__isMixin = true;\n      ModelForMixin.__mixin = mixin;\n      //Cache the class as a model\n      owner.register('model:' + normalizedModelName, ModelForMixin);\n    }\n    return owner.factoryFor(`model:${normalizedModelName}`);\n  }\n\n  /**\n    @module @ember-data/model\n  */\n\n  /**\n    @method diffArray\n    @internal\n    @param {Array} oldArray the old array\n    @param {Array} newArray the new array\n    @return {hash} {\n        firstChangeIndex: <integer>,  // null if no change\n        addedCount: <integer>,        // 0 if no change\n        removedCount: <integer>       // 0 if no change\n      }\n  */\n  function diffArray(oldArray, newArray) {\n    const oldLength = oldArray.length;\n    const newLength = newArray.length;\n    const shortestLength = Math.min(oldLength, newLength);\n    let firstChangeIndex = null; // null signifies no changes\n\n    // find the first change\n    for (let i = 0; i < shortestLength; i++) {\n      // compare each item in the array\n      if (oldArray[i] !== newArray[i]) {\n        firstChangeIndex = i;\n        break;\n      }\n    }\n    if (firstChangeIndex === null && newLength !== oldLength) {\n      // no change found in the overlapping block\n      // and array lengths differ,\n      // so change starts at end of overlap\n      firstChangeIndex = shortestLength;\n    }\n    let addedCount = 0;\n    let removedCount = 0;\n    if (firstChangeIndex !== null) {\n      // we found a change, find the end of the change\n      let unchangedEndBlockLength = shortestLength - firstChangeIndex;\n      // walk back from the end of both arrays until we find a change\n      for (let i = 1; i <= shortestLength; i++) {\n        // compare each item in the array\n        if (oldArray[oldLength - i] !== newArray[newLength - i]) {\n          unchangedEndBlockLength = i - 1;\n          break;\n        }\n      }\n      addedCount = newLength - unchangedEndBlockLength - firstChangeIndex;\n      removedCount = oldLength - unchangedEndBlockLength - firstChangeIndex;\n    }\n    return {\n      firstChangeIndex,\n      addedCount,\n      removedCount\n    };\n  }\n});","define(\"@ember-data/model/has-many-d45aa09e\", [\"exports\", \"@ember/debug\", \"@ember/object\", \"@ember-data/store\", \"@ember-data/store/-private\", \"@ember/string\", \"@ember/array\", \"ember-inflector\", \"@ember/object/compat\", \"@ember/runloop\", \"@glimmer/tracking\", \"ember\", \"@ember/object/promise-proxy-mixin\", \"@ember/object/proxy\", \"@ember/array/proxy\", \"@ember/object/computed\", \"@ember-data/tracking/-private\", \"@ember/object/internals\", \"@embroider/macros/es-compat2\"], function (_exports, _debug, _object, _store, _private, _string, _array, _emberInflector, _compat, _runloop, _tracking, _ember, _promiseProxyMixin, _proxy, _proxy2, _computed, _private2, _internals, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.h = _exports.c = _exports.b = _exports.a = _exports.R = _exports.P = _exports.M = _exports.L = _exports.E = void 0;\n  let cached = (0, _esCompat.default)(require(\"ember-cached-decorator-polyfill\")).cached;\n  function isElementDescriptor(args) {\n    let [maybeTarget, maybeKey, maybeDesc] = args;\n    return (\n      // Ensure we have the right number of args\n      args.length === 3 && (\n      // Make sure the target is a class or object (prototype)\n      typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) &&\n      // Make sure the key is a string\n      typeof maybeKey === 'string' && (\n      // Make sure the descriptor is the right shape\n      typeof maybeDesc === 'object' && maybeDesc !== null && 'enumerable' in maybeDesc && 'configurable' in maybeDesc ||\n      // TS compatibility\n      maybeDesc === undefined)\n    );\n  }\n  function computedMacroWithOptionalParams(fn) {\n    return (...maybeDesc) => isElementDescriptor(maybeDesc) ? fn()(...maybeDesc) : fn(...maybeDesc);\n  }\n\n  /**\n    @module @ember-data/model\n  */\n\n  /**\n    `attr` defines an attribute on a [Model](/ember-data/release/classes/Model).\n    By default, attributes are passed through as-is, however you can specify an\n    optional type to have the value automatically transformed.\n    Ember Data ships with four basic transform types: `string`, `number`,\n    `boolean` and `date`. You can define your own transforms by subclassing\n    [Transform](/ember-data/release/classes/Transform).\n  \n    Note that you cannot use `attr` to define an attribute of `id`.\n  \n    `attr` takes an optional hash as a second parameter, currently\n    supported options are:\n  \n    - `defaultValue`: Pass a string or a function to be called to set the attribute\n    to a default value if and only if the key is absent from the payload response.\n  \n    Example\n  \n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @attr('string') username;\n      @attr('string') email;\n      @attr('boolean', { defaultValue: false }) verified;\n    }\n    ```\n  \n    Default value can also be a function. This is useful it you want to return\n    a new object for each attribute.\n  \n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @attr('string') username;\n      @attr('string') email;\n  \n      @attr({\n        defaultValue() {\n          return {};\n        }\n      })\n      settings;\n    }\n    ```\n  \n    The `options` hash is passed as second argument to a transforms'\n    `serialize` and `deserialize` method. This allows to configure a\n    transformation and adapt the corresponding value, based on the config:\n  \n    ```app/models/post.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @attr('text', {\n        uppercase: true\n      })\n      text;\n    }\n    ```\n  \n    ```app/transforms/text.js\n    export default class TextTransform {\n      serialize(value, options) {\n        if (options.uppercase) {\n          return value.toUpperCase();\n        }\n  \n        return value;\n      }\n  \n      deserialize(value) {\n        return value;\n      }\n  \n      static create() {\n        return new this();\n      }\n    }\n    ```\n  \n    @method attr\n    @public\n    @static\n    @for @ember-data/model\n    @param {String|Object} type the attribute type\n    @param {Object} options a hash of options\n    @return {Attribute}\n  */\n  function attr(type, options) {\n    if (typeof type === 'object') {\n      options = type;\n      type = undefined;\n    } else {\n      options = options || {};\n    }\n    let meta = {\n      type: type,\n      isAttribute: true,\n      options: options\n    };\n    return (0, _object.computed)({\n      get(key) {\n        if (this.isDestroyed || this.isDestroying) {\n          return;\n        }\n        return (0, _private.peekCache)(this).getAttr((0, _store.recordIdentifierFor)(this), key);\n      },\n      set(key, value) {\n        (false && !(!this.currentState.isDeleted) && (0, _debug.assert)(`Attempted to set '${key}' on the deleted record ${(0, _store.recordIdentifierFor)(this)}`, !this.currentState.isDeleted));\n        const identifier = (0, _store.recordIdentifierFor)(this);\n        const cache = (0, _private.peekCache)(this);\n        let currentValue = cache.getAttr(identifier, key);\n        if (currentValue !== value) {\n          cache.setAttr(identifier, key, value);\n          if (!this.isValid) {\n            const {\n              errors\n            } = this;\n            if (errors.get(key)) {\n              errors.remove(key);\n              this.currentState.cleanErrorRequests();\n            }\n          }\n        }\n        return value;\n      }\n    }).meta(meta);\n  }\n  var attr$1 = _exports.a = computedMacroWithOptionalParams(attr);\n  function _initializerDefineProperty(target, property, descriptor, context) {\n    if (!descriptor) return;\n    Object.defineProperty(target, property, {\n      enumerable: descriptor.enumerable,\n      configurable: descriptor.configurable,\n      writable: descriptor.writable,\n      value: descriptor.initializer ? descriptor.initializer.call(context) : void 0\n    });\n  }\n  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {\n    var desc = {};\n    Object.keys(descriptor).forEach(function (key) {\n      desc[key] = descriptor[key];\n    });\n    desc.enumerable = !!desc.enumerable;\n    desc.configurable = !!desc.configurable;\n    if ('value' in desc || desc.initializer) {\n      desc.writable = true;\n    }\n    desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n      return decorator(target, property, desc) || desc;\n    }, desc);\n    if (context && desc.initializer !== void 0) {\n      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n      desc.initializer = undefined;\n    }\n    if (desc.initializer === void 0) {\n      Object.defineProperty(target, property, desc);\n      desc = null;\n    }\n    return desc;\n  }\n  const PromiseObject = _proxy.default.extend(_promiseProxyMixin.default);\n  function promiseObject(promise) {\n    return PromiseObject.create({\n      promise\n    });\n  }\n\n  // constructor is accessed in some internals but not including it in the copyright for the deprecation\n  const ALLOWABLE_METHODS = ['constructor', 'then', 'catch', 'finally'];\n  const ALLOWABLE_PROPS = ['__ec_yieldable__', '__ec_cancel__'];\n  const PROXIED_OBJECT_PROPS = ['content', 'isPending', 'isSettled', 'isRejected', 'isFulfilled', 'promise', 'reason'];\n  const ProxySymbolString = String(Symbol.for('PROXY_CONTENT'));\n  function deprecatedPromiseObject(promise) {\n    const promiseObjectProxy = promiseObject(promise);\n    {\n      return promiseObjectProxy;\n    }\n    const handler = {\n      get(target, prop, receiver) {\n        if (typeof prop === 'symbol') {\n          if (String(prop) === ProxySymbolString) {\n            return;\n          }\n          return Reflect.get(target, prop, receiver);\n        }\n        if (prop === 'constructor') {\n          return target.constructor;\n        }\n        if (ALLOWABLE_PROPS.includes(prop)) {\n          return target[prop];\n        }\n        if (!ALLOWABLE_METHODS.includes(prop)) {\n          (false && !(false) && (0, _debug.deprecate)(`Accessing ${prop} is deprecated. The return type is being changed from PromiseObjectProxy to a Promise. The only available methods to access on this promise are .then, .catch and .finally`, false, {\n            id: 'ember-data:model-save-promise',\n            until: '5.0',\n            for: '@ember-data/store',\n            since: {\n              available: '4.4',\n              enabled: '4.4'\n            }\n          }));\n        } else {\n          return target[prop].bind(target);\n        }\n        if (PROXIED_OBJECT_PROPS.includes(prop)) {\n          return target[prop];\n        }\n        const value = (0, _object.get)(target, prop);\n        if (value && typeof value === 'function' && typeof value.bind === 'function') {\n          return value.bind(receiver);\n        }\n        return undefined;\n      }\n    };\n    return new Proxy(promiseObjectProxy, handler);\n  }\n  var _dec$1, _dec2, _dec3, _dec4, _class$6, _descriptor$5, _descriptor2$2;\n\n  /**\n    @module @ember-data/model\n  */\n\n  // we force the type here to our own construct because mixin and extend patterns\n  // lose generic signatures. We also do this because we need to Omit `clear` from\n  // the type of ArrayProxy as we override it's signature.\n  const ArrayProxyWithCustomOverrides = _proxy2.default;\n\n  /**\n    Holds validation errors for a given record, organized by attribute names.\n  \n    This class is not directly instantiable.\n  \n    Every `Model` has an `errors` property that is an instance of\n    `Errors`. This can be used to display validation error\n    messages returned from the server when a `record.save()` rejects.\n  \n    For Example, if you had a `User` model that looked like this:\n  \n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @attr('string') username;\n      @attr('string') email;\n    }\n    ```\n    And you attempted to save a record that did not validate on the backend:\n  \n    ```javascript\n    let user = store.createRecord('user', {\n      username: 'tomster',\n      email: 'invalidEmail'\n    });\n    user.save();\n    ```\n  \n    Your backend would be expected to return an error response that described\n    the problem, so that error messages can be generated on the app.\n  \n    API responses will be translated into instances of `Errors` differently,\n    depending on the specific combination of adapter and serializer used. You\n    may want to check the documentation or the source code of the libraries\n    that you are using, to know how they expect errors to be communicated.\n  \n    Errors can be displayed to the user by accessing their property name\n    to get an array of all the error objects for that property. Each\n    error object is a JavaScript object with two keys:\n  \n    - `message` A string containing the error message from the backend\n    - `attribute` The name of the property associated with this error message\n  \n    ```handlebars\n    <label>Username: <Input @value={{@model.username}} /> </label>\n    {{#each @model.errors.username as |error|}}\n      <div class=\"error\">\n        {{error.message}}\n      </div>\n    {{/each}}\n  \n    <label>Email: <Input @value={{@model.email}} /> </label>\n    {{#each @model.errors.email as |error|}}\n      <div class=\"error\">\n        {{error.message}}\n      </div>\n    {{/each}}\n    ```\n  \n    You can also access the special `messages` property on the error\n    object to get an array of all the error strings.\n  \n    ```handlebars\n    {{#each @model.errors.messages as |message|}}\n      <div class=\"error\">\n        {{message}}\n      </div>\n    {{/each}}\n    ```\n  \n    @class Errors\n    @public\n    @extends Ember.ArrayProxy\n   */\n  let Errors = _exports.E = (_dec$1 = (0, _object.computed)(), _dec2 = (0, _computed.mapBy)('content', 'message'), _dec3 = (0, _object.computed)(), _dec4 = (0, _computed.not)('length'), _class$6 = class Errors extends ArrayProxyWithCustomOverrides {\n    constructor(...args) {\n      super(...args);\n      /**\n        An array containing all of the error messages for this\n        record. This is useful for displaying all errors to the user.\n         ```handlebars\n        {{#each @model.errors.messages as |message|}}\n          <div class=\"error\">\n            {{message}}\n          </div>\n        {{/each}}\n        ```\n         @property messages\n        @public\n        @type {Array}\n      */\n      _initializerDefineProperty(this, \"messages\", _descriptor$5, this);\n      /**\n        Total number of errors.\n         @property length\n        @type {Number}\n        @public\n        @readOnly\n      */\n      /**\n        `true` if we have no errors.\n         @property isEmpty\n        @type {Boolean}\n        @public\n        @readOnly\n      */\n      _initializerDefineProperty(this, \"isEmpty\", _descriptor2$2, this);\n    }\n    /**\n      @property errorsByAttributeName\n      @type {MapWithDefault}\n      @private\n    */\n    get errorsByAttributeName() {\n      return new Map();\n    }\n\n    /**\n      Returns errors for a given attribute\n       ```javascript\n      let user = store.createRecord('user', {\n        username: 'tomster',\n        email: 'invalidEmail'\n      });\n      user.save().catch(function(){\n        user.errors.errorsFor('email'); // returns:\n        // [{attribute: \"email\", message: \"Doesn't look like a valid email.\"}]\n      });\n      ```\n       @method errorsFor\n      @public\n      @param {String} attribute\n      @return {Array}\n    */\n    errorsFor(attribute) {\n      let map = this.errorsByAttributeName;\n      let errors = map.get(attribute);\n      if (errors === undefined) {\n        errors = (0, _array.A)();\n        map.set(attribute, errors);\n      }\n\n      // Errors may be a native array with extensions turned on. Since we access\n      // the array via a method, and not a computed or using `Ember.get`, it does\n      // not entangle properly with autotracking, so we entangle manually by\n      // getting the `[]` property.\n      (0, _object.get)(errors, '[]');\n      return errors;\n    }\n    /**\n      @property content\n      @type {Array}\n      @private\n    */\n    get content() {\n      return (0, _array.A)();\n    }\n\n    /**\n      @method unknownProperty\n      @private\n    */\n    unknownProperty(attribute) {\n      let errors = this.errorsFor(attribute);\n      if (errors.length === 0) {\n        return undefined;\n      }\n      return errors;\n    }\n    /**\n     Manually adds errors to the record. This will trigger the `becameInvalid` event/ lifecycle method on\n      the record and transition the record into an `invalid` state.\n      Example\n     ```javascript\n      let errors = user.errors;\n       // add multiple errors\n      errors.add('password', [\n        'Must be at least 12 characters',\n        'Must contain at least one symbol',\n        'Cannot contain your name'\n      ]);\n       errors.errorsFor('password');\n      // =>\n      // [\n      //   { attribute: 'password', message: 'Must be at least 12 characters' },\n      //   { attribute: 'password', message: 'Must contain at least one symbol' },\n      //   { attribute: 'password', message: 'Cannot contain your name' },\n      // ]\n       // add a single error\n      errors.add('username', 'This field is required');\n       errors.errorsFor('username');\n      // =>\n      // [\n      //   { attribute: 'username', message: 'This field is required' },\n      // ]\n     ```\n      @method add\n      @public\n      @param {string} attribute - the property name of an attribute or relationship\n      @param {string[]|string} messages - an error message or array of error messages for the attribute\n     */\n    add(attribute, messages) {\n      const errors = this._findOrCreateMessages(attribute, messages);\n      this.addObjects(errors);\n      this.errorsFor(attribute).addObjects(errors);\n      this.__record.currentState.notify('isValid');\n      this.notifyPropertyChange(attribute);\n    }\n\n    /**\n      @method _findOrCreateMessages\n      @private\n    */\n    _findOrCreateMessages(attribute, messages) {\n      let errors = this.errorsFor(attribute);\n      let messagesArray = Array.isArray(messages) ? messages : [messages];\n      let _messages = new Array(messagesArray.length);\n      for (let i = 0; i < messagesArray.length; i++) {\n        let message = messagesArray[i];\n        let err = errors.findBy('message', message);\n        if (err) {\n          _messages[i] = err;\n        } else {\n          _messages[i] = {\n            attribute: attribute,\n            message\n          };\n        }\n      }\n      return _messages;\n    }\n\n    /**\n     Manually removes all errors for a given member from the record.\n       This will transition the record into a `valid` state, and\n      triggers the `becameValid` event and lifecycle method.\n      Example:\n      ```javascript\n      let errors = user.errors;\n      errors.add('phone', ['error-1', 'error-2']);\n       errors.errorsFor('phone');\n      // =>\n      // [\n      //   { attribute: 'phone', message: 'error-1' },\n      //   { attribute: 'phone', message: 'error-2' },\n      // ]\n       errors.remove('phone');\n       errors.errorsFor('phone');\n      // => undefined\n     ```\n     @method remove\n      @public\n     @param {string} member - the property name of an attribute or relationship\n     */\n    remove(attribute) {\n      if (this.isEmpty) {\n        return;\n      }\n      let content = this.rejectBy('attribute', attribute);\n      this.content.setObjects(content);\n\n      // Although errorsByAttributeName.delete is technically enough to sync errors state, we also\n      // must mutate the array as well for autotracking\n      let errors = this.errorsFor(attribute);\n      for (let i = 0; i < errors.length; i++) {\n        if (errors[i].attribute === attribute) {\n          // .replace from Ember.NativeArray is necessary. JS splice will not work.\n          errors.replace(i, 1);\n        }\n      }\n      this.errorsByAttributeName.delete(attribute);\n      this.__record.currentState.notify('isValid');\n      this.notifyPropertyChange(attribute);\n      this.notifyPropertyChange('length');\n    }\n\n    /**\n     Manually clears all errors for the record.\n       This will transition the record into a `valid` state, and\n       will trigger the `becameValid` event and lifecycle method.\n     Example:\n      ```javascript\n     let errors = user.errors;\n     errors.add('username', ['error-a']);\n     errors.add('phone', ['error-1', 'error-2']);\n      errors.errorsFor('username');\n     // =>\n     // [\n     //   { attribute: 'username', message: 'error-a' },\n     // ]\n      errors.errorsFor('phone');\n     // =>\n     // [\n     //   { attribute: 'phone', message: 'error-1' },\n     //   { attribute: 'phone', message: 'error-2' },\n     // ]\n      errors.clear();\n      errors.errorsFor('username');\n     // => undefined\n      errors.errorsFor('phone');\n     // => undefined\n      errors.messages\n     // => []\n     ```\n     @method clear\n     @public\n     */\n    clear() {\n      if (this.isEmpty) {\n        return;\n      }\n      let errorsByAttributeName = this.errorsByAttributeName;\n      let attributes = [];\n      errorsByAttributeName.forEach(function (_, attribute) {\n        attributes.push(attribute);\n      });\n      errorsByAttributeName.clear();\n      attributes.forEach(attribute => {\n        this.notifyPropertyChange(attribute);\n      });\n      this.__record.currentState.notify('isValid');\n      super.clear();\n    }\n\n    /**\n      Checks if there are error messages for the given attribute.\n       ```app/controllers/user/edit.js\n      import Controller from '@ember/controller';\n      import { action } from '@ember/object';\n       export default class UserEditController extends Controller {\n        @action\n        save(user) {\n          if (user.errors.has('email')) {\n            return alert('Please update your email before attempting to save.');\n          }\n          user.save();\n        }\n      }\n      ```\n       @method has\n      @public\n      @param {String} attribute\n      @return {Boolean} true if there some errors on given attribute\n    */\n    has(attribute) {\n      return this.errorsFor(attribute).length > 0;\n    }\n  }, _applyDecoratedDescriptor(_class$6.prototype, \"errorsByAttributeName\", [_dec$1], Object.getOwnPropertyDescriptor(_class$6.prototype, \"errorsByAttributeName\"), _class$6.prototype), _descriptor$5 = _applyDecoratedDescriptor(_class$6.prototype, \"messages\", [_dec2], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class$6.prototype, \"content\", [_dec3], Object.getOwnPropertyDescriptor(_class$6.prototype, \"content\"), _class$6.prototype), _descriptor2$2 = _applyDecoratedDescriptor(_class$6.prototype, \"isEmpty\", [_dec4], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class$6);\n\n  /*\n  NOTES ON MANY ARRAY DUPLICATION DEPRECATION APPROACH:\n  \n  // 4.6 behavior\n  \n  dedupe, no error and no deprecation\n  \n  // 4.12 approach\n  \n  DEPRECATE_MANY_ARRAY_DUPLICATES_4_12 === true => dedupe, no error\n  DEPRECATE_MANY_ARRAY_DUPLICATES_4_12 === false => no dedupe, error (same as 6.0)\n  \n  // 5.3 approach\n  \n  DEPRECATE_MANY_ARRAY_DUPLICATES === true => dedupe, deprecation\n  DEPRECATE_MANY_ARRAY_DUPLICATES === false => no dedupe, error (same as 6.0)\n  \n  // 6.0 approach\n  \n  no-dedupe, error\n  */\n\n  /**\n    A `ManyArray` is a `MutableArray` that represents the contents of a has-many\n    relationship.\n  \n    The `ManyArray` is instantiated lazily the first time the relationship is\n    requested.\n  \n    This class is not intended to be directly instantiated by consuming applications.\n  \n    ### Inverses\n  \n    Often, the relationships in Ember Data applications will have\n    an inverse. For example, imagine the following models are\n    defined:\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('comment') comments;\n    }\n    ```\n  \n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n  \n    export default class CommentModel extends Model {\n      @belongsTo('post') post;\n    }\n    ```\n  \n    If you created a new instance of `Post` and added\n    a `Comment` record to its `comments` has-many\n    relationship, you would expect the comment's `post`\n    property to be set to the post that contained\n    the has-many.\n  \n    We call the record to which a relationship belongs-to the\n    relationship's _owner_.\n  \n    @class ManyArray\n    @public\n  */\n  class RelatedCollection extends _private.RecordArray {\n    /**\n      The loading state of this array\n       @property {Boolean} isLoaded\n      @public\n      */\n\n    /**\n      `true` if the relationship is polymorphic, `false` otherwise.\n       @property {Boolean} isPolymorphic\n      @private\n      */\n\n    /**\n      Metadata associated with the request for async hasMany relationships.\n       Example\n       Given that the server returns the following JSON payload when fetching a\n      hasMany relationship:\n       ```js\n      {\n        \"comments\": [{\n          \"id\": 1,\n          \"comment\": \"This is the first comment\",\n        }, {\n      // ...\n        }],\n         \"meta\": {\n          \"page\": 1,\n          \"total\": 5\n        }\n      }\n      ```\n       You can then access the meta data via the `meta` property:\n       ```js\n      let comments = await post.comments;\n      let meta = comments.meta;\n       // meta.page => 1\n      // meta.total => 5\n      ```\n       @property {Object | null} meta\n      @public\n      */\n\n    /**\n       * Retrieve the links for this relationship\n       *\n       @property {Object | null} links\n       @public\n       */\n\n    // @ts-expect-error\n\n    constructor(options) {\n      super(options);\n      this.isLoaded = options.isLoaded || false;\n      this.isAsync = options.isAsync || false;\n      this.isPolymorphic = options.isPolymorphic || false;\n      this.identifier = options.identifier;\n      this.key = options.key;\n    }\n    [_private.MUTATE](target, receiver, prop, args, _TAG) {\n      switch (prop) {\n        case 'length 0':\n          {\n            Reflect.set(target, 'length', 0);\n            mutateReplaceRelatedRecords(this, [], _TAG);\n            return true;\n          }\n        case 'replace cell':\n          {\n            const [index, prior, value] = args;\n            target[index] = value;\n            mutateReplaceRelatedRecord(this, {\n              value,\n              prior,\n              index\n            }, _TAG);\n            return true;\n          }\n        case 'push':\n          {\n            {\n              // dedupe, no error\n              const seen = new Set(target);\n              const unique = new Set();\n              args.forEach(item => {\n                const identifier = (0, _private.recordIdentifierFor)(item);\n                if (!seen.has(identifier)) {\n                  seen.add(identifier);\n                  unique.add(item);\n                }\n              });\n              const newArgs = Array.from(unique);\n              const result = Reflect.apply(target[prop], receiver, newArgs);\n              if (newArgs.length) {\n                mutateAddToRelatedRecords(this, {\n                  value: extractIdentifiersFromRecords(newArgs)\n                }, _TAG);\n              }\n              return result;\n            }\n\n            // else, no dedupe, error on duplicates\n            const newValues = extractIdentifiersFromRecords(args);\n            assertNoDuplicates(this, target, currentState => currentState.push(...newValues), `Cannot push duplicates to a hasMany's state.`);\n            const result = Reflect.apply(target[prop], receiver, args);\n            if (newValues.length) {\n              mutateAddToRelatedRecords(this, {\n                value: newValues\n              }, _TAG);\n            }\n            return result;\n          }\n        case 'pop':\n          {\n            const result = Reflect.apply(target[prop], receiver, args);\n            if (result) {\n              mutateRemoveFromRelatedRecords(this, {\n                value: (0, _private.recordIdentifierFor)(result)\n              }, _TAG);\n            }\n            return result;\n          }\n        case 'unshift':\n          {\n            {\n              // dedupe, no error\n              const seen = new Set(target);\n              const unique = new Set();\n              args.forEach(item => {\n                const identifier = (0, _private.recordIdentifierFor)(item);\n                if (!seen.has(identifier)) {\n                  seen.add(identifier);\n                  unique.add(item);\n                }\n              });\n              const newArgs = Array.from(unique);\n              const result = Reflect.apply(target[prop], receiver, newArgs);\n              if (newArgs.length) {\n                mutateAddToRelatedRecords(this, {\n                  value: extractIdentifiersFromRecords(newArgs),\n                  index: 0\n                }, _TAG);\n              }\n              return result;\n            }\n\n            // else, no dedupe, error on duplicates\n            const newValues = extractIdentifiersFromRecords(args);\n            assertNoDuplicates(this, target, currentState => currentState.unshift(...newValues), `Cannot unshift duplicates to a hasMany's state.`);\n            const result = Reflect.apply(target[prop], receiver, args);\n            if (newValues.length) {\n              mutateAddToRelatedRecords(this, {\n                value: newValues,\n                index: 0\n              }, _TAG);\n            }\n            return result;\n          }\n        case 'shift':\n          {\n            const result = Reflect.apply(target[prop], receiver, args);\n            if (result) {\n              mutateRemoveFromRelatedRecords(this, {\n                value: (0, _private.recordIdentifierFor)(result),\n                index: 0\n              }, _TAG);\n            }\n            return result;\n          }\n        case 'sort':\n          {\n            const result = Reflect.apply(target[prop], receiver, args);\n            mutateSortRelatedRecords(this, result.map(_private.recordIdentifierFor), _TAG);\n            return result;\n          }\n        case 'splice':\n          {\n            const [start, deleteCount, ...adds] = args;\n\n            // detect a full replace\n            if (start === 0 && deleteCount === this[_private.SOURCE].length) {\n              {\n                // dedupe, no error\n                const current = new Set(adds);\n                const unique = Array.from(current);\n                const newArgs = [start, deleteCount].concat(unique);\n                const result = Reflect.apply(target[prop], receiver, newArgs);\n                mutateReplaceRelatedRecords(this, extractIdentifiersFromRecords(unique), _TAG);\n                return result;\n              }\n\n              // else, no dedupe, error on duplicates\n              const newValues = extractIdentifiersFromRecords(adds);\n              assertNoDuplicates(this, target, currentState => currentState.splice(start, deleteCount, ...newValues), `Cannot replace a hasMany's state with a new state that contains duplicates.`);\n              const result = Reflect.apply(target[prop], receiver, args);\n              mutateReplaceRelatedRecords(this, newValues, _TAG);\n              return result;\n            }\n            {\n              // dedupe, no error\n              const currentState = target.slice();\n              currentState.splice(start, deleteCount);\n              const seen = new Set(currentState);\n              const unique = [];\n              adds.forEach(item => {\n                const identifier = (0, _private.recordIdentifierFor)(item);\n                if (!seen.has(identifier)) {\n                  seen.add(identifier);\n                  unique.push(item);\n                }\n              });\n              const newArgs = [start, deleteCount, ...unique];\n              const result = Reflect.apply(target[prop], receiver, newArgs);\n              if (deleteCount > 0) {\n                mutateRemoveFromRelatedRecords(this, {\n                  value: result.map(_private.recordIdentifierFor),\n                  index: start\n                }, _TAG);\n              }\n              if (unique.length > 0) {\n                mutateAddToRelatedRecords(this, {\n                  value: extractIdentifiersFromRecords(unique),\n                  index: start\n                }, _TAG);\n              }\n              return result;\n            }\n\n            // else, no dedupe, error on duplicates\n            const newValues = extractIdentifiersFromRecords(adds);\n            assertNoDuplicates(this, target, currentState => currentState.splice(start, deleteCount, ...newValues), `Cannot splice a hasMany's state with a new state that contains duplicates.`);\n            const result = Reflect.apply(target[prop], receiver, args);\n            if (deleteCount > 0) {\n              mutateRemoveFromRelatedRecords(this, {\n                value: result.map(_private.recordIdentifierFor),\n                index: start\n              }, _TAG);\n            }\n            if (newValues.length > 0) {\n              mutateAddToRelatedRecords(this, {\n                value: newValues,\n                index: start\n              }, _TAG);\n            }\n            return result;\n          }\n        default:\n          (false && !(false) && (0, _debug.assert)(`unable to convert ${prop} into a transaction that updates the cache state for this record array`));\n      }\n    }\n    notify() {\n      const tag = this[_private.IDENTIFIER_ARRAY_TAG];\n      tag.shouldReset = true;\n      // @ts-expect-error\n      (0, _private.notifyArray)(this);\n    }\n\n    /**\n      Reloads all of the records in the manyArray. If the manyArray\n      holds a relationship that was originally fetched using a links url\n      Ember Data will revisit the original links url to repopulate the\n      relationship.\n       If the manyArray holds the result of a `store.query()` reload will\n      re-run the original query.\n       Example\n       ```javascript\n      let user = store.peekRecord('user', '1')\n      await login(user);\n       let permissions = await user.permissions;\n      await permissions.reload();\n      ```\n       @method reload\n      @public\n    */\n    reload(options) {\n      // TODO this is odd, we don't ask the store for anything else like this?\n      return this._manager.reloadHasMany(this.key, options);\n    }\n\n    /**\n      Saves all of the records in the `ManyArray`.\n       Example\n       ```javascript\n      let inbox = await store.findRecord('inbox', '1');\n      let messages = await inbox.messages;\n      messages.forEach((message) => {\n        message.isRead = true;\n      });\n      messages.save();\n      ```\n       @method save\n      @public\n      @return {PromiseArray} promise\n    */\n\n    /**\n      Create a child record within the owner\n       @method createRecord\n      @public\n      @param {Object} hash\n      @return {Model} record\n    */\n    createRecord(hash) {\n      const {\n        store\n      } = this;\n      (false && !(this.modelName) && (0, _debug.assert)(`Expected modelName to be set`, this.modelName));\n      const record = store.createRecord(this.modelName, hash);\n      this.push(record);\n      return record;\n    }\n    destroy() {\n      super.destroy(false);\n    }\n  }\n  _exports.R = RelatedCollection;\n  RelatedCollection.prototype.isAsync = false;\n  RelatedCollection.prototype.isPolymorphic = false;\n  RelatedCollection.prototype.identifier = null;\n  RelatedCollection.prototype.cache = null;\n  RelatedCollection.prototype._inverseIsAsync = false;\n  RelatedCollection.prototype.key = '';\n  RelatedCollection.prototype.DEPRECATED_CLASS_NAME = 'ManyArray';\n  function assertRecordPassedToHasMany(record) {\n    (false && !(function () {\n      try {\n        (0, _private.recordIdentifierFor)(record);\n        return true;\n      } catch {\n        return false;\n      }\n    }()) && (0, _debug.assert)(`All elements of a hasMany relationship must be instances of Model, you passed $${typeof record}`, function () {\n      try {\n        (0, _private.recordIdentifierFor)(record);\n        return true;\n      } catch {\n        return false;\n      }\n    }()));\n  }\n  function extractIdentifiersFromRecords(records) {\n    return records.map(extractIdentifierFromRecord$1);\n  }\n  function extractIdentifierFromRecord$1(recordOrPromiseRecord) {\n    {\n      if (isPromiseRecord$1(recordOrPromiseRecord)) {\n        let content = recordOrPromiseRecord.content;\n        (false && !(content !== undefined && content !== null) && (0, _debug.assert)('You passed in a promise that did not originate from an EmberData relationship. You can only pass promises that come from a belongsTo relationship.', content !== undefined && content !== null));\n        (false && !(false) && (0, _debug.deprecate)(`You passed in a PromiseProxy to a Relationship API that now expects a resolved value. await the value before setting it.`, false, {\n          id: 'ember-data:deprecate-promise-proxies',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          },\n          for: 'ember-data'\n        }));\n        assertRecordPassedToHasMany(content);\n        return (0, _private.recordIdentifierFor)(content);\n      }\n    }\n    assertRecordPassedToHasMany(recordOrPromiseRecord);\n    return (0, _private.recordIdentifierFor)(recordOrPromiseRecord);\n  }\n  function isPromiseRecord$1(record) {\n    return !!record.then;\n  }\n  function assertNoDuplicates(collection, target, callback, reason) {\n    const state = target.slice();\n    callback(state);\n    if (state.length !== new Set(state).size) {\n      const duplicates = state.filter((currentValue, currentIndex) => state.indexOf(currentValue) !== currentIndex);\n      throw new Error(`${reason} Found duplicates for the following records within the new state provided to \\`<${collection.identifier.type}:${collection.identifier.id || collection.identifier.lid}>.${collection.key}\\`\\n\\t- ${Array.from(new Set(duplicates)).map(r => (0, _private.isStableIdentifier)(r) ? r.lid : (0, _private.recordIdentifierFor)(r).lid).sort((a, b) => a.localeCompare(b)).join('\\n\\t- ')}`);\n    }\n  }\n  function mutateAddToRelatedRecords(collection, operationInfo, _TAG) {\n    mutate(collection, {\n      op: 'addToRelatedRecords',\n      record: collection.identifier,\n      field: collection.key,\n      ...operationInfo\n    }, _TAG);\n  }\n  function mutateRemoveFromRelatedRecords(collection, operationInfo, _TAG) {\n    mutate(collection, {\n      op: 'removeFromRelatedRecords',\n      record: collection.identifier,\n      field: collection.key,\n      ...operationInfo\n    }, _TAG);\n  }\n  function mutateReplaceRelatedRecord(collection, operationInfo, _TAG) {\n    mutate(collection, {\n      op: 'replaceRelatedRecord',\n      record: collection.identifier,\n      field: collection.key,\n      ...operationInfo\n    }, _TAG);\n  }\n  function mutateReplaceRelatedRecords(collection, value, _TAG) {\n    mutate(collection, {\n      op: 'replaceRelatedRecords',\n      record: collection.identifier,\n      field: collection.key,\n      value\n    }, _TAG);\n  }\n  function mutateSortRelatedRecords(collection, value, _TAG) {\n    mutate(collection, {\n      op: 'sortRelatedRecords',\n      record: collection.identifier,\n      field: collection.key,\n      value\n    }, _TAG);\n  }\n  function mutate(collection, mutation, _TAG) {\n    collection._manager.mutate(mutation);\n    (0, _private2.addToTransaction)(_TAG);\n  }\n  var _dec, _class$5;\n\n  // eslint-disable-next-line @typescript-eslint/no-unused-vars\n\n  const Extended = PromiseObject;\n\n  /**\n   @module @ember-data/model\n   */\n\n  /**\n    A PromiseBelongsTo is a PromiseObject that also proxies certain method calls\n    to the underlying belongsTo model.\n    Right now we proxy:\n      * `reload()`\n    @class PromiseBelongsTo\n    @extends PromiseObject\n    @private\n  */\n  let PromiseBelongsTo = _exports.P = (_dec = (0, _object.computed)(), _class$5 = class PromiseBelongsTo extends Extended {\n    get id() {\n      const {\n        key,\n        legacySupport\n      } = this._belongsToState;\n      const ref = legacySupport.referenceFor('belongsTo', key);\n      return ref.id();\n    }\n\n    // we don't proxy meta because we would need to proxy it to the relationship state container\n    //  however, meta on relationships does not trigger change notifications.\n    //  if you need relationship meta, you should do `record.belongsTo(relationshipName).meta()`\n    get meta() {\n      // eslint-disable-next-line no-constant-condition\n      {\n        (false && !(false) && (0, _debug.assert)('You attempted to access meta on the promise for the async belongsTo relationship ' + `${this.get('_belongsToState').modelName}:${this.get('_belongsToState').key}'.` + '\\nUse `record.belongsTo(relationshipName).meta()` instead.', false));\n      }\n      return;\n    }\n    async reload(options) {\n      (false && !(this.content !== undefined) && (0, _debug.assert)('You are trying to reload an async belongsTo before it has been created', this.content !== undefined));\n      let {\n        key,\n        legacySupport\n      } = this._belongsToState;\n      await legacySupport.reloadBelongsTo(key, options);\n      return this;\n    }\n  }, _applyDecoratedDescriptor(_class$5.prototype, \"id\", [cached], Object.getOwnPropertyDescriptor(_class$5.prototype, \"id\"), _class$5.prototype), _applyDecoratedDescriptor(_class$5.prototype, \"meta\", [_dec], Object.getOwnPropertyDescriptor(_class$5.prototype, \"meta\"), _class$5.prototype), _class$5);\n  var _class$4, _descriptor$4, _descriptor2$1, _descriptor3, _descriptor4, _descriptor5;\n\n  /**\n   @module @ember-data/model\n   */\n  /**\n    This class is returned as the result of accessing an async hasMany relationship\n    on an instance of a Model extending from `@ember-data/model`.\n  \n    A PromiseManyArray is an iterable proxy that allows templates to consume related\n    ManyArrays and update once their contents are no longer pending.\n  \n    In your JS code you should resolve the promise first.\n  \n    ```js\n    const comments = await post.comments;\n    ```\n  \n    @class PromiseManyArray\n    @public\n  */\n  let PromiseManyArray = _exports.c = (_class$4 = class PromiseManyArray {\n    // @deprecated (isDestroyed is not deprecated)\n\n    constructor(promise, content) {\n      //---- Methods/Properties on ArrayProxy that we will keep as our API\n      _initializerDefineProperty(this, \"content\", _descriptor$4, this);\n      //----  Properties/Methods from the PromiseProxyMixin that we will keep as our API\n      /**\n       * Whether the loading promise is still pending\n       *\n       * @property {boolean} isPending\n       * @public\n       */\n      _initializerDefineProperty(this, \"isPending\", _descriptor2$1, this);\n      /**\n       * Whether the loading promise rejected\n       *\n       * @property {boolean} isRejected\n       * @public\n       */\n      _initializerDefineProperty(this, \"isRejected\", _descriptor3, this);\n      /**\n       * Whether the loading promise succeeded\n       *\n       * @property {boolean} isFulfilled\n       * @public\n       */\n      _initializerDefineProperty(this, \"isFulfilled\", _descriptor4, this);\n      /**\n       * Whether the loading promise completed (resolved or rejected)\n       *\n       * @property {boolean} isSettled\n       * @public\n       */\n      _initializerDefineProperty(this, \"isSettled\", _descriptor5, this);\n      this._update(promise, content);\n      this.isDestroyed = false;\n      this.isDestroying = false;\n      {\n        const meta = _ember.default.meta(this);\n        meta.hasMixin = mixin => {\n          (false && !(false) && (0, _debug.deprecate)(`Do not use A() on an EmberData PromiseManyArray`, false, {\n            id: 'ember-data:no-a-with-array-like',\n            until: '5.0',\n            since: {\n              enabled: '4.7',\n              available: '4.7'\n            },\n            for: 'ember-data'\n          })); // @ts-expect-error ArrayMixin is more than a type\n          if (mixin === _array.NativeArray || mixin === _array.default) {\n            return true;\n          }\n          return false;\n        };\n      }\n    }\n    /**\n     * Retrieve the length of the content\n     * @property length\n     * @public\n     */\n    get length() {\n      // shouldn't be needed, but ends up being needed\n      // for computed chains even in 4.x\n      {\n        this['[]'];\n      }\n      return this.content ? this.content.length : 0;\n    }\n\n    // ember-source < 3.23 (e.g. 3.20 lts)\n    // requires that the tag `'[]'` be notified\n    // on the ArrayProxy in order for `{{#each}}`\n    // to recompute. We entangle the '[]' tag from\n    get '[]'() {\n      {\n        return this.content?.length && this.content;\n      }\n    }\n\n    /**\n     * Iterate the proxied content. Called by the glimmer iterator in #each\n     * We do not guarantee that forEach will always be available. This\n     * may eventually be made to use Symbol.Iterator once glimmer supports it.\n     *\n     * @method forEach\n     * @param cb\n     * @returns\n     * @private\n     */\n    forEach(cb) {\n      if (this.content && this.length) {\n        this.content.forEach(cb);\n      }\n    }\n\n    /**\n     * Reload the relationship\n     * @method reload\n     * @public\n     * @param options\n     * @returns\n     */\n    reload(options) {\n      (false && !(this.content) && (0, _debug.assert)('You are trying to reload an async manyArray before it has been created', this.content));\n      this.content.reload(options);\n      return this;\n    }\n    /**\n     * chain this promise\n     *\n     * @method then\n     * @public\n     * @param success\n     * @param fail\n     * @returns Promise\n     */\n    then(s, f) {\n      return this.promise.then(s, f);\n    }\n\n    /**\n     * catch errors thrown by this promise\n     * @method catch\n     * @public\n     * @param callback\n     * @returns Promise\n     */\n    catch(cb) {\n      return this.promise.catch(cb);\n    }\n\n    /**\n     * run cleanup after this promise completes\n     *\n     * @method finally\n     * @public\n     * @param callback\n     * @returns Promise\n     */\n    finally(cb) {\n      return this.promise.finally(cb);\n    }\n\n    //---- Methods on EmberObject that we should keep\n\n    destroy() {\n      this.isDestroying = true;\n      this.isDestroyed = true;\n      this.content = null;\n      this.promise = null;\n    }\n\n    //---- Methods/Properties on ManyArray that we own and proxy to\n\n    /**\n     * Retrieve the links for this relationship\n     * @property links\n     * @public\n     */\n    get links() {\n      return this.content ? this.content.links : undefined;\n    }\n\n    /**\n     * Retrieve the meta for this relationship\n     * @property meta\n     * @public\n     */\n    get meta() {\n      return this.content ? this.content.meta : undefined;\n    }\n\n    //---- Our own stuff\n\n    _update(promise, content) {\n      if (content !== undefined) {\n        this.content = content;\n      }\n      this.promise = tapPromise(this, promise);\n    }\n    static create({\n      promise,\n      content\n    }) {\n      return new this(promise, content);\n    }\n  }, _descriptor$4 = _applyDecoratedDescriptor(_class$4.prototype, \"content\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _applyDecoratedDescriptor(_class$4.prototype, \"length\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$4.prototype, \"length\"), _class$4.prototype), _applyDecoratedDescriptor(_class$4.prototype, '[]', [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$4.prototype, '[]'), _class$4.prototype), _descriptor2$1 = _applyDecoratedDescriptor(_class$4.prototype, \"isPending\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor3 = _applyDecoratedDescriptor(_class$4.prototype, \"isRejected\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor4 = _applyDecoratedDescriptor(_class$4.prototype, \"isFulfilled\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _descriptor5 = _applyDecoratedDescriptor(_class$4.prototype, \"isSettled\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class$4.prototype, \"links\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$4.prototype, \"links\"), _class$4.prototype), _applyDecoratedDescriptor(_class$4.prototype, \"meta\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$4.prototype, \"meta\"), _class$4.prototype), _class$4);\n  {\n    PromiseManyArray.prototype.createRecord = function createRecord(...args) {\n      (false && !(false) && (0, _debug.deprecate)(`The createRecord method on ember-data's PromiseManyArray is deprecated. await the promise and work with the ManyArray directly.`, false, {\n        id: 'ember-data:deprecate-promise-many-array-behaviors',\n        until: '5.0',\n        since: {\n          enabled: '4.7',\n          available: '4.7'\n        },\n        for: 'ember-data'\n      }));\n      (false && !(this.content) && (0, _debug.assert)('You are trying to createRecord on an async manyArray before it has been created', this.content));\n      return this.content.createRecord(...args);\n    };\n    Object.defineProperty(PromiseManyArray.prototype, 'firstObject', {\n      get() {\n        (false && !(false) && (0, _debug.deprecate)(`The firstObject property on ember-data's PromiseManyArray is deprecated. await the promise and work with the ManyArray directly.`, false, {\n          id: 'ember-data:deprecate-promise-many-array-behaviors',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          },\n          for: 'ember-data'\n        }));\n        return this.content ? this.content.firstObject : undefined;\n      }\n    });\n    Object.defineProperty(PromiseManyArray.prototype, 'lastObject', {\n      get() {\n        (false && !(false) && (0, _debug.deprecate)(`The lastObject property on ember-data's PromiseManyArray is deprecated. await the promise and work with the ManyArray directly.`, false, {\n          id: 'ember-data:deprecate-promise-many-array-behaviors',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          },\n          for: 'ember-data'\n        }));\n        return this.content ? this.content.lastObject : undefined;\n      }\n    });\n  }\n  function tapPromise(proxy, promise) {\n    proxy.isPending = true;\n    proxy.isSettled = false;\n    proxy.isFulfilled = false;\n    proxy.isRejected = false;\n    return Promise.resolve(promise).then(content => {\n      proxy.isPending = false;\n      proxy.isFulfilled = true;\n      proxy.isSettled = true;\n      proxy.content = content;\n      return content;\n    }, error => {\n      proxy.isPending = false;\n      proxy.isFulfilled = false;\n      proxy.isRejected = true;\n      proxy.isSettled = true;\n      throw error;\n    });\n  }\n  {\n    const EmberObjectMethods = ['addObserver', 'cacheFor', 'decrementProperty', 'get', 'getProperties', 'incrementProperty', 'notifyPropertyChange', 'removeObserver', 'set', 'setProperties', 'toggleProperty'];\n    EmberObjectMethods.forEach(method => {\n      PromiseManyArray.prototype[method] = function delegatedMethod(...args) {\n        (false && !(false) && (0, _debug.deprecate)(`The ${method} method on ember-data's PromiseManyArray is deprecated. await the promise and work with the ManyArray directly.`, false, {\n          id: 'ember-data:deprecate-promise-many-array-behaviors',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          },\n          for: 'ember-data'\n        }));\n        return _ember.default[method](this, ...args);\n      };\n    });\n    const InheritedProxyMethods = ['addArrayObserver', 'addObject', 'addObjects', 'any', 'arrayContentDidChange', 'arrayContentWillChange', 'clear', 'compact', 'every', 'filter', 'filterBy', 'find', 'findBy', 'getEach', 'includes', 'indexOf', 'insertAt', 'invoke', 'isAny', 'isEvery', 'lastIndexOf', 'map', 'mapBy',\n    // TODO update RFC to note objectAt was deprecated (forEach was left for iteration)\n    'objectAt', 'objectsAt', 'popObject', 'pushObject', 'pushObjects', 'reduce', 'reject', 'rejectBy', 'removeArrayObserver', 'removeAt', 'removeObject', 'removeObjects', 'replace', 'reverseObjects', 'setEach', 'setObjects', 'shiftObject', 'slice', 'sortBy', 'toArray', 'uniq', 'uniqBy', 'unshiftObject', 'unshiftObjects', 'without'];\n    InheritedProxyMethods.forEach(method => {\n      PromiseManyArray.prototype[method] = function proxiedMethod(...args) {\n        (false && !(false) && (0, _debug.deprecate)(`The ${method} method on ember-data's PromiseManyArray is deprecated. await the promise and work with the ManyArray directly.`, false, {\n          id: 'ember-data:deprecate-promise-many-array-behaviors',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          },\n          for: 'ember-data'\n        }));\n        (false && !(this.content) && (0, _debug.assert)(`Cannot call ${method} before content is assigned.`, this.content));\n        return this.content[method](...args);\n      };\n    });\n  }\n\n  /*\n    Assert that `addedRecord` has a valid type so it can be added to the\n    relationship of the `record`.\n  \n    The assert basically checks if the `addedRecord` can be added to the\n    relationship (specified via `relationshipMeta`) of the `record`.\n  \n    This utility should only be used internally, as both record parameters must\n    be stable record identifiers and the `relationshipMeta` needs to be the meta\n    information about the relationship, retrieved via\n    `record.relationshipFor(key)`.\n  */\n  let assertPolymorphicType;\n  var _class$3, _descriptor$3;\n\n  /**\n    @module @ember-data/model\n  */\n\n  function isResourceIdentiferWithRelatedLinks$1(value) {\n    return Boolean(value && value.links && value.links.related);\n  }\n\n  /**\n   A `BelongsToReference` is a low-level API that allows users and\n   addon authors to perform meta-operations on a belongs-to\n   relationship.\n  \n   @class BelongsToReference\n   @public\n   */\n  let BelongsToReference = (_class$3 = class BelongsToReference {\n    // unsubscribe tokens given to us by the notification manager\n\n    constructor(store, graph, parentIdentifier, belongsToRelationship, key) {\n      this.___identifier = void 0;\n      this.___token = void 0;\n      this.___relatedToken = null;\n      _initializerDefineProperty(this, \"_ref\", _descriptor$3, this);\n      this.graph = graph;\n      this.key = key;\n      this.belongsToRelationship = belongsToRelationship;\n      this.type = belongsToRelationship.definition.type;\n      this.store = store;\n      this.___identifier = parentIdentifier;\n      this.___token = store.notifications.subscribe(parentIdentifier, (_, bucket, notifiedKey) => {\n        if (bucket === 'relationships' && notifiedKey === key) {\n          this._ref++;\n        }\n      });\n\n      // TODO inverse\n    }\n    destroy() {\n      // TODO @feature we need the notification manager often enough\n      // we should potentially just expose it fully public\n      this.store.notifications.unsubscribe(this.___token);\n      this.___token = null;\n      if (this.___relatedToken) {\n        this.store.notifications.unsubscribe(this.___relatedToken);\n        this.___relatedToken = null;\n      }\n    }\n\n    /**\n     * The identifier of the record that this reference refers to.\n     * `null` if no related record is known.\n     *\n     * @property {StableRecordIdentifier | null} identifier\n     * @public\n     */\n    get identifier() {\n      if (this.___relatedToken) {\n        this.store.notifications.unsubscribe(this.___relatedToken);\n        this.___relatedToken = null;\n      }\n      let resource = this._resource();\n      if (resource && resource.data) {\n        const identifier = this.store.identifierCache.getOrCreateRecordIdentifier(resource.data);\n        this.___relatedToken = this.store.notifications.subscribe(identifier, (_, bucket, notifiedKey) => {\n          if (bucket === 'identity' || bucket === 'attributes' && notifiedKey === 'id') {\n            this._ref++;\n          }\n        });\n        return identifier;\n      }\n      return null;\n    }\n\n    /**\n     The `id` of the record that this reference refers to. Together, the\n     `type()` and `id()` methods form a composite key for the identity\n     map. This can be used to access the id of an async relationship\n     without triggering a fetch that would normally happen if you\n     attempted to use `record.relationship.id`.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n      @belongsTo('user', { async: true, inverse: null }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      // get the identifier of the reference\n     if (userRef.remoteType() === \"id\") {\n        let id = userRef.id();\n      }\n     ```\n      @method id\n     @public\n     @return {String} The id of the record in this belongsTo relationship.\n     */\n    id() {\n      return this.identifier?.id || null;\n    }\n\n    /**\n     The link Ember Data will use to fetch or reload this belongs-to\n     relationship. By default it uses only the \"related\" resource linkage.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n     export default Model.extend({\n        user: belongsTo('user', { async: true, inverse: null })\n      });\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              links: {\n                related: '/articles/1/author'\n              }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      // get the identifier of the reference\n     if (userRef.remoteType() === \"link\") {\n        let link = userRef.link();\n      }\n     ```\n      @method link\n     @public\n     @return {String} The link Ember Data will use to fetch or reload this belongs-to relationship.\n     */\n    link() {\n      let resource = this._resource();\n      if (isResourceIdentiferWithRelatedLinks$1(resource)) {\n        if (resource.links) {\n          let related = resource.links.related;\n          return !related || typeof related === 'string' ? related : related.href;\n        }\n      }\n      return null;\n    }\n\n    /**\n     * any links that have been received for this relationship\n     *\n     * @method links\n     * @public\n     * @returns\n     */\n    links() {\n      let resource = this._resource();\n      return resource && resource.links ? resource.links : null;\n    }\n\n    /**\n     The meta data for the belongs-to relationship.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n     export default Model.extend({\n        user: belongsTo('user', { async: true, inverse: null })\n      });\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              links: {\n                related: {\n                  href: '/articles/1/author'\n                },\n              },\n              meta: {\n                lastUpdated: 1458014400000\n              }\n            }\n          }\n        }\n      });\n      let userRef = blog.belongsTo('user');\n      userRef.meta() // { lastUpdated: 1458014400000 }\n     ```\n      @method meta\n      @public\n     @return {Object} The meta information for the belongs-to relationship.\n     */\n    meta() {\n      let meta = null;\n      let resource = this._resource();\n      if (resource && resource.meta && typeof resource.meta === 'object') {\n        meta = resource.meta;\n      }\n      return meta;\n    }\n    _resource() {\n      this._ref; // subscribe\n      const cache = this.store._instanceCache.getResourceCache(this.___identifier);\n      return cache.getRelationship(this.___identifier, this.key);\n    }\n\n    /**\n     This returns a string that represents how the reference will be\n     looked up when it is loaded. If the relationship has a link it will\n     use the \"link\" otherwise it defaults to \"id\".\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      // get the identifier of the reference\n     if (commentsRef.remoteType() === \"ids\") {\n       let ids = commentsRef.ids();\n     } else if (commentsRef.remoteType() === \"link\") {\n       let link = commentsRef.link();\n     }\n     ```\n      @method remoteType\n     @public\n     @return {String} The name of the remote type. This should either be `link` or `id`\n     */\n    remoteType() {\n      let value = this._resource();\n      if (isResourceIdentiferWithRelatedLinks$1(value)) {\n        return 'link';\n      }\n      return 'id';\n    }\n\n    /**\n     `push` can be used to update the data in the relationship and Ember\n     Data will treat the new data as the canonical value of this\n     relationship on the backend.\n      Example\n      ```app/models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @belongsTo('user', { async: true, inverse: null }) user;\n      }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      // provide data for reference\n     userRef.push({\n        data: {\n          type: 'user',\n          id: 1,\n          attributes: {\n            username: \"@user\"\n          }\n        }\n      }).then(function(user) {\n        userRef.value() === user;\n      });\n     ```\n      @method push\n      @public\n     @param {Object|Promise} objectOrPromise a promise that resolves to a JSONAPI document object describing the new value of this relationship.\n     @return {Promise<record>} A promise that resolves with the new value in this belongs-to relationship.\n     */\n    async push(data) {\n      let jsonApiDoc = data;\n      {\n        if (data.then) {\n          jsonApiDoc = await data;\n          if (jsonApiDoc !== data) {\n            (false && !(false) && (0, _debug.deprecate)(`You passed in a Promise to a Reference API that now expects a resolved value. await the value before setting it.`, false, {\n              id: 'ember-data:deprecate-promise-proxies',\n              until: '5.0',\n              since: {\n                enabled: '4.7',\n                available: '4.7'\n              },\n              for: 'ember-data'\n            }));\n          }\n        }\n      }\n      let record = this.store.push(jsonApiDoc);\n      const {\n        identifier\n      } = this.belongsToRelationship;\n      this.store._join(() => {\n        this.graph.push({\n          op: 'replaceRelatedRecord',\n          record: identifier,\n          field: this.key,\n          value: (0, _private.recordIdentifierFor)(record)\n        });\n      });\n      return record;\n    }\n\n    /**\n     `value()` synchronously returns the current value of the belongs-to\n     relationship. Unlike `record.relationshipName`, calling\n     `value()` on a reference does not trigger a fetch if the async\n     relationship is not yet loaded. If the relationship is not loaded\n     it will always return `null`.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n       @belongsTo('user', { async: true, inverse: null }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      userRef.value(); // null\n      // provide data for reference\n     userRef.push({\n        data: {\n          type: 'user',\n          id: 1,\n          attributes: {\n            username: \"@user\"\n          }\n        }\n      }).then(function(user) {\n        userRef.value(); // user\n      });\n     ```\n      @method value\n      @public\n     @return {Model} the record in this relationship\n     */\n    value() {\n      let resource = this._resource();\n      return resource && resource.data ? this.store.peekRecord(resource.data) : null;\n    }\n\n    /**\n     Loads a record in a belongs-to relationship if it is not already\n     loaded. If the relationship is already loaded this method does not\n     trigger a new load.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n       @belongsTo('user', { async: true, inverse: null }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      userRef.value(); // null\n      userRef.load().then(function(user) {\n        userRef.value() === user\n      });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference.\n      Example\n      ```javascript\n     userRef.load({ adapterOptions: { isPrivate: true } }).then(function(user) {\n       userRef.value() === user;\n     });\n     ```\n     ```app/adapters/user.js\n     import Adapter from '@ember-data/adapter';\n      export default class UserAdapter extends Adapter {\n       findRecord(store, type, id, snapshot) {\n         // In the adapter you will have access to adapterOptions.\n         let adapterOptions = snapshot.adapterOptions;\n       }\n     });\n     ```\n      @method load\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the record in this belongs-to relationship.\n     */\n    load(options) {\n      const support = LEGACY_SUPPORT.get(this.___identifier);\n      const fetchSyncRel = !this.belongsToRelationship.definition.isAsync && !areAllInverseRecordsLoaded(this.store, this._resource());\n      return fetchSyncRel ? support.reloadBelongsTo(this.key, options).then(() => this.value()) : support.getBelongsTo(this.key, options);\n    }\n\n    /**\n     Triggers a reload of the value in this relationship. If the\n     remoteType is `\"link\"` Ember Data will use the relationship link to\n     reload the relationship. Otherwise it will reload the record by its\n     id.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class BlogModel extends Model {\n       @belongsTo('user', { async: true, inverse: null }) user;\n     }\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      userRef.reload().then(function(user) {\n        userRef.value() === user\n      });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference. A full example\n     can be found in the `load` method.\n      Example\n      ```javascript\n     userRef.reload({ adapterOptions: { isPrivate: true } })\n     ```\n      @method reload\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the record in this belongs-to relationship after the reload has completed.\n     */\n    reload(options) {\n      const support = LEGACY_SUPPORT.get(this.___identifier);\n      return support.reloadBelongsTo(this.key, options).then(() => this.value());\n    }\n  }, _descriptor$3 = _applyDecoratedDescriptor(_class$3.prototype, \"_ref\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _applyDecoratedDescriptor(_class$3.prototype, \"identifier\", [cached, _compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$3.prototype, \"identifier\"), _class$3.prototype), _class$3);\n  var _class$2, _descriptor$2;\n\n  /**\n    @module @ember-data/model\n  */\n\n  function isResourceIdentiferWithRelatedLinks(value) {\n    return Boolean(value && value.links && value.links.related);\n  }\n  /**\n   A `HasManyReference` is a low-level API that allows users and addon\n   authors to perform meta-operations on a has-many relationship.\n  \n   @class HasManyReference\n   @public\n   @extends Reference\n   */\n  let HasManyReference = (_class$2 = class HasManyReference {\n    // unsubscribe tokens given to us by the notification manager\n\n    constructor(store, graph, parentIdentifier, hasManyRelationship, key) {\n      this.___token = void 0;\n      this.___identifier = void 0;\n      this.___relatedTokenMap = void 0;\n      _initializerDefineProperty(this, \"_ref\", _descriptor$2, this);\n      this.graph = graph;\n      this.key = key;\n      this.hasManyRelationship = hasManyRelationship;\n      this.type = hasManyRelationship.definition.type;\n      this.store = store;\n      this.___identifier = parentIdentifier;\n      this.___token = store.notifications.subscribe(parentIdentifier, (_, bucket, notifiedKey) => {\n        if (bucket === 'relationships' && notifiedKey === key) {\n          this._ref++;\n        }\n      });\n      this.___relatedTokenMap = new Map();\n      // TODO inverse\n    }\n    destroy() {\n      this.store.notifications.unsubscribe(this.___token);\n      this.___relatedTokenMap.forEach(token => {\n        this.store.notifications.unsubscribe(token);\n      });\n      this.___relatedTokenMap.clear();\n    }\n\n    /**\n     * An array of identifiers for the records that this reference refers to.\n     *\n     * @property {StableRecordIdentifier[]} identifiers\n     * @public\n     */\n    get identifiers() {\n      this._ref; // consume the tracked prop\n\n      let resource = this._resource();\n      let map = this.___relatedTokenMap;\n      this.___relatedTokenMap = new Map();\n      if (resource && resource.data) {\n        return resource.data.map(resourceIdentifier => {\n          const identifier = this.store.identifierCache.getOrCreateRecordIdentifier(resourceIdentifier);\n          let token = map.get(identifier);\n          if (token) {\n            map.delete(identifier);\n          } else {\n            token = this.store.notifications.subscribe(identifier, (_, bucket, notifiedKey) => {\n              if (bucket === 'identity' || bucket === 'attributes' && notifiedKey === 'id') {\n                this._ref++;\n              }\n            });\n          }\n          this.___relatedTokenMap.set(identifier, token);\n          return identifier;\n        });\n      }\n      map.forEach(token => {\n        this.store.notifications.unsubscribe(token);\n      });\n      map.clear();\n      return [];\n    }\n    _resource() {\n      const cache = this.store._instanceCache.getResourceCache(this.___identifier);\n      return cache.getRelationship(this.___identifier, this.key);\n    }\n\n    /**\n     This returns a string that represents how the reference will be\n     looked up when it is loaded. If the relationship has a link it will\n     use the \"link\" otherwise it defaults to \"id\".\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      // get the identifier of the reference\n     if (commentsRef.remoteType() === \"ids\") {\n       let ids = commentsRef.ids();\n     } else if (commentsRef.remoteType() === \"link\") {\n       let link = commentsRef.link();\n     }\n     ```\n      @method remoteType\n     @public\n     @return {String} The name of the remote type. This should either be `link` or `ids`\n     */\n    remoteType() {\n      let value = this._resource();\n      if (value && value.links && value.links.related) {\n        return 'link';\n      }\n      return 'ids';\n    }\n\n    /**\n     `ids()` returns an array of the record IDs in this relationship.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.ids(); // ['1']\n     ```\n      @method ids\n      @public\n     @return {Array} The ids in this has-many relationship\n     */\n    ids() {\n      return this.identifiers.map(identifier => identifier.id);\n    }\n\n    /**\n     The link Ember Data will use to fetch or reload this belongs-to\n     relationship. By default it uses only the \"related\" resource linkage.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { belongsTo } from '@ember-data/model';\n     export default Model.extend({\n        user: belongsTo('user', { async: true, inverse: null })\n      });\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              links: {\n                related: '/articles/1/author'\n              }\n            }\n          }\n        }\n      });\n     let userRef = blog.belongsTo('user');\n      // get the identifier of the reference\n     if (userRef.remoteType() === \"link\") {\n        let link = userRef.link();\n      }\n     ```\n      @method link\n     @public\n     @return {String} The link Ember Data will use to fetch or reload this belongs-to relationship.\n     */\n    link() {\n      let resource = this._resource();\n      if (isResourceIdentiferWithRelatedLinks(resource)) {\n        if (resource.links) {\n          let related = resource.links.related;\n          return !related || typeof related === 'string' ? related : related.href;\n        }\n      }\n      return null;\n    }\n\n    /**\n     * any links that have been received for this relationship\n     *\n     * @method links\n     * @public\n     * @returns\n     */\n    links() {\n      let resource = this._resource();\n      return resource && resource.links ? resource.links : null;\n    }\n\n    /**\n     The meta data for the has-many relationship.\n      Example\n      ```javascript\n     // models/blog.js\n     import Model, { hasMany } from '@ember-data/model';\n     export default Model.extend({\n        users: hasMany('user', { async: true, inverse: null })\n      });\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            users: {\n              links: {\n                related: {\n                  href: '/articles/1/authors'\n                },\n              },\n              meta: {\n                lastUpdated: 1458014400000\n              }\n            }\n          }\n        }\n      });\n      let usersRef = blog.hasMany('user');\n      usersRef.meta() // { lastUpdated: 1458014400000 }\n     ```\n     @method meta\n    @public\n    @return {Object} The meta information for the belongs-to relationship.\n    */\n    meta() {\n      let meta = null;\n      let resource = this._resource();\n      if (resource && resource.meta && typeof resource.meta === 'object') {\n        meta = resource.meta;\n      }\n      return meta;\n    }\n\n    /**\n     `push` can be used to update the data in the relationship and Ember\n     Data will treat the new data as the canonical value of this\n     relationship on the backend.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.ids(); // ['1']\n      commentsRef.push([\n     [{ type: 'comment', id: 2 }],\n     [{ type: 'comment', id: 3 }],\n     ])\n      commentsRef.ids(); // ['2', '3']\n     ```\n      @method push\n      @public\n     @param {Array|Promise} objectOrPromise a promise that resolves to a JSONAPI document object describing the new value of this relationship.\n     @return {ManyArray}\n     */\n    async push(objectOrPromise) {\n      let payload = objectOrPromise;\n      {\n        if (objectOrPromise.then) {\n          payload = await objectOrPromise;\n          if (payload !== objectOrPromise) {\n            (false && !(false) && (0, _debug.deprecate)(`You passed in a Promise to a Reference API that now expects a resolved value. await the value before setting it.`, false, {\n              id: 'ember-data:deprecate-promise-proxies',\n              until: '5.0',\n              since: {\n                enabled: '4.7',\n                available: '4.7'\n              },\n              for: 'ember-data'\n            }));\n          }\n        }\n      }\n      let array;\n      if (!Array.isArray(payload) && typeof payload === 'object' && Array.isArray(payload.data)) {\n        array = payload.data;\n      } else {\n        array = payload;\n      }\n      const {\n        store\n      } = this;\n      let identifiers = array.map(obj => {\n        let record;\n        if ('data' in obj) {\n          // TODO deprecate pushing non-valid JSON:API here\n          record = store.push(obj);\n        } else {\n          record = store.push({\n            data: obj\n          });\n        }\n        return (0, _store.recordIdentifierFor)(record);\n      });\n      const {\n        identifier\n      } = this.hasManyRelationship;\n      store._join(() => {\n        this.graph.push({\n          op: 'replaceRelatedRecords',\n          record: identifier,\n          field: this.key,\n          value: identifiers\n        });\n      });\n      return this.load();\n    }\n    _isLoaded() {\n      let hasRelationshipDataProperty = this.hasManyRelationship.state.hasReceivedData;\n      if (!hasRelationshipDataProperty) {\n        return false;\n      }\n      let localState = this.hasManyRelationship.localState;\n      return localState.every(identifier => {\n        return this.store._instanceCache.recordIsLoaded(identifier, true) === true;\n      });\n    }\n\n    /**\n     `value()` synchronously returns the current value of the has-many\n     relationship. Unlike `record.relationshipName`, calling\n     `value()` on a reference does not trigger a fetch if the async\n     relationship is not yet loaded. If the relationship is not loaded\n     it will always return `null`.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      post.comments.then(function(comments) {\n       commentsRef.value() === comments\n     })\n     ```\n      @method value\n      @public\n     @return {ManyArray}\n     */\n    value() {\n      const support = LEGACY_SUPPORT.get(this.___identifier);\n      const loaded = this._isLoaded();\n      if (!loaded) {\n        // subscribe to changes\n        // for when we are not loaded yet\n        this._ref;\n        return null;\n      }\n      return support.getManyArray(this.key);\n    }\n\n    /**\n     Loads the relationship if it is not already loaded.  If the\n     relationship is already loaded this method does not trigger a new\n     load. This causes a request to the specified\n     relationship link or reloads all items currently in the relationship.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.load().then(function(comments) {\n       //...\n     });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference.\n      Example\n      ```javascript\n     commentsRef.load({ adapterOptions: { isPrivate: true } })\n       .then(function(comments) {\n         //...\n       });\n     ```\n      ```app/adapters/comment.js\n     export default ApplicationAdapter.extend({\n       findMany(store, type, id, snapshots) {\n         // In the adapter you will have access to adapterOptions.\n         let adapterOptions = snapshots[0].adapterOptions;\n       }\n     });\n     ```\n      @method load\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the ManyArray in\n     this has-many relationship.\n     */\n    async load(options) {\n      const support = LEGACY_SUPPORT.get(this.___identifier);\n      const fetchSyncRel = !this.hasManyRelationship.definition.isAsync && !areAllInverseRecordsLoaded(this.store, this._resource());\n      return fetchSyncRel ? support.reloadHasMany(this.key, options) : support.getHasMany(this.key, options); // this cast is necessary because typescript does not work properly with custom thenables;\n    }\n\n    /**\n     Reloads this has-many relationship. This causes a request to the specified\n     relationship link or reloads all items currently in the relationship.\n      Example\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment', { async: true, inverse: null }) comments;\n     }\n     ```\n      ```javascript\n     let post = store.push({\n       data: {\n         type: 'post',\n         id: 1,\n         relationships: {\n           comments: {\n             data: [{ type: 'comment', id: 1 }]\n           }\n         }\n       }\n     });\n      let commentsRef = post.hasMany('comments');\n      commentsRef.reload().then(function(comments) {\n       //...\n     });\n     ```\n      You may also pass in an options object whose properties will be\n     fed forward. This enables you to pass `adapterOptions` into the\n     request given to the adapter via the reference. A full example\n     can be found in the `load` method.\n      Example\n      ```javascript\n     commentsRef.reload({ adapterOptions: { isPrivate: true } })\n     ```\n      @method reload\n      @public\n     @param {Object} options the options to pass in.\n     @return {Promise} a promise that resolves with the ManyArray in this has-many relationship.\n     */\n    reload(options) {\n      const support = LEGACY_SUPPORT.get(this.___identifier);\n      return support.reloadHasMany(this.key, options);\n    }\n  }, _descriptor$2 = _applyDecoratedDescriptor(_class$2.prototype, \"_ref\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _applyDecoratedDescriptor(_class$2.prototype, \"identifiers\", [cached, _compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class$2.prototype, \"identifiers\"), _class$2.prototype), _class$2);\n  class LegacySupport {\n    constructor(record) {\n      this.record = record;\n      this.store = (0, _private.storeFor)(record);\n      this.identifier = (0, _private.recordIdentifierFor)(record);\n      this.cache = (0, _private.peekCache)(record);\n      this._manyArrayCache = Object.create(null);\n      this._relationshipPromisesCache = Object.create(null);\n      this._relationshipProxyCache = Object.create(null);\n      this._pending = Object.create(null);\n      this.references = Object.create(null);\n    }\n    _syncArray(array) {\n      // It’s possible the parent side of the relationship may have been destroyed by this point\n      if (this.isDestroyed || this.isDestroying) {\n        return;\n      }\n      const currentState = array[_private.SOURCE];\n      const identifier = this.identifier;\n      let [identifiers, jsonApi] = this._getCurrentState(identifier, array.key);\n      if (jsonApi.meta) {\n        array.meta = jsonApi.meta;\n      }\n      if (jsonApi.links) {\n        array.links = jsonApi.links;\n      }\n      currentState.length = 0;\n      (0, _private.fastPush)(currentState, identifiers);\n    }\n    mutate(mutation) {\n      this.cache.mutate(mutation);\n    }\n    _findBelongsTo(key, resource, relationship, options) {\n      // TODO @runspired follow up if parent isNew then we should not be attempting load here\n      // TODO @runspired follow up on whether this should be in the relationship requests cache\n      return this._findBelongsToByJsonApiResource(resource, this.identifier, relationship, options).then(identifier => handleCompletedRelationshipRequest(this, key, relationship, identifier), e => handleCompletedRelationshipRequest(this, key, relationship, null, e));\n    }\n    reloadBelongsTo(key, options) {\n      let loadingPromise = this._relationshipPromisesCache[key];\n      if (loadingPromise) {\n        return loadingPromise;\n      }\n      const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n      const relationship = graphFor(this.store).get(this.identifier, key);\n      (false && !(isBelongsTo(relationship)) && (0, _debug.assert)(`Expected ${key} to be a belongs-to relationship`, isBelongsTo(relationship)));\n      let resource = this.cache.getRelationship(this.identifier, key);\n      relationship.state.hasFailedLoadAttempt = false;\n      relationship.state.shouldForceReload = true;\n      let promise = this._findBelongsTo(key, resource, relationship, options);\n      if (this._relationshipProxyCache[key]) {\n        return this._updatePromiseProxyFor('belongsTo', key, {\n          promise\n        });\n      }\n      return promise;\n    }\n    getBelongsTo(key, options) {\n      const {\n        identifier,\n        cache\n      } = this;\n      let resource = cache.getRelationship(this.identifier, key);\n      let relatedIdentifier = resource && resource.data ? resource.data : null;\n      (false && !(!relatedIdentifier || (0, _private.isStableIdentifier)(relatedIdentifier)) && (0, _debug.assert)(`Expected a stable identifier`, !relatedIdentifier || (0, _private.isStableIdentifier)(relatedIdentifier)));\n      const store = this.store;\n      const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n      const relationship = graphFor(store).get(this.identifier, key);\n      (false && !(isBelongsTo(relationship)) && (0, _debug.assert)(`Expected ${key} to be a belongs-to relationship`, isBelongsTo(relationship)));\n      let isAsync = relationship.definition.isAsync;\n      let _belongsToState = {\n        key,\n        store,\n        legacySupport: this,\n        modelName: relationship.definition.type\n      };\n      if (isAsync) {\n        if (relationship.state.hasFailedLoadAttempt) {\n          return this._relationshipProxyCache[key];\n        }\n        let promise = this._findBelongsTo(key, resource, relationship, options);\n        const isLoaded = relatedIdentifier && store._instanceCache.recordIsLoaded(relatedIdentifier);\n        return this._updatePromiseProxyFor('belongsTo', key, {\n          promise,\n          content: isLoaded ? store._instanceCache.getRecord(relatedIdentifier) : null,\n          _belongsToState\n        });\n      } else {\n        if (relatedIdentifier === null) {\n          return null;\n        } else {\n          (false && !(store._instanceCache.recordIsLoaded(relatedIdentifier, true)) && (0, _debug.assert)(`You looked up the '${key}' relationship on a '${identifier.type}' with id ${identifier.id || 'null'} but some of the associated records were not loaded. Either make sure they are all loaded together with the parent record, or specify that the relationship is async (\\`belongsTo(<type>, { async: true, inverse: <inverse> })\\`)`, store._instanceCache.recordIsLoaded(relatedIdentifier, true)));\n          return store._instanceCache.getRecord(relatedIdentifier);\n        }\n      }\n    }\n    setDirtyBelongsTo(key, value) {\n      return this.cache.mutate({\n        op: 'replaceRelatedRecord',\n        record: this.identifier,\n        field: key,\n        value: extractIdentifierFromRecord(value)\n      },\n      // @ts-expect-error\n      true);\n    }\n    _getCurrentState(identifier, field) {\n      let jsonApi = this.cache.getRelationship(identifier, field, true);\n      const cache = this.store._instanceCache;\n      let identifiers = [];\n      if (jsonApi.data) {\n        for (let i = 0; i < jsonApi.data.length; i++) {\n          const identifier = jsonApi.data[i];\n          (false && !((0, _private.isStableIdentifier)(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, (0, _private.isStableIdentifier)(identifier)));\n          if (cache.recordIsLoaded(identifier, true)) {\n            identifiers.push(identifier);\n          }\n        }\n      }\n      return [identifiers, jsonApi];\n    }\n    getManyArray(key, definition) {\n      {\n        let manyArray = this._manyArrayCache[key];\n        if (!definition) {\n          const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n          definition = graphFor(this.store).get(this.identifier, key).definition;\n        }\n        if (!manyArray) {\n          const [identifiers, doc] = this._getCurrentState(this.identifier, key);\n          manyArray = new RelatedCollection({\n            store: this.store,\n            type: definition.type,\n            identifier: this.identifier,\n            cache: this.cache,\n            identifiers,\n            key,\n            meta: doc.meta || null,\n            links: doc.links || null,\n            isPolymorphic: definition.isPolymorphic,\n            isAsync: definition.isAsync,\n            _inverseIsAsync: definition.inverseIsAsync,\n            manager: this,\n            isLoaded: !definition.isAsync,\n            allowMutation: true\n          });\n          this._manyArrayCache[key] = manyArray;\n        }\n        return manyArray;\n      }\n      (false && !(false) && (0, _debug.assert)('hasMany only works with the @ember-data/json-api package'));\n    }\n    fetchAsyncHasMany(key, relationship, manyArray, options) {\n      {\n        let loadingPromise = this._relationshipPromisesCache[key];\n        if (loadingPromise) {\n          return loadingPromise;\n        }\n        const jsonApi = this.cache.getRelationship(this.identifier, key);\n        const promise = this._findHasManyByJsonApiResource(jsonApi, this.identifier, relationship, options);\n        if (!promise) {\n          manyArray.isLoaded = true;\n          return Promise.resolve(manyArray);\n        }\n        loadingPromise = promise.then(() => handleCompletedRelationshipRequest(this, key, relationship, manyArray), e => handleCompletedRelationshipRequest(this, key, relationship, manyArray, e));\n        this._relationshipPromisesCache[key] = loadingPromise;\n        return loadingPromise;\n      }\n      (false && !(false) && (0, _debug.assert)('hasMany only works with the @ember-data/json-api package'));\n    }\n    reloadHasMany(key, options) {\n      {\n        let loadingPromise = this._relationshipPromisesCache[key];\n        if (loadingPromise) {\n          return loadingPromise;\n        }\n        const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n        const relationship = graphFor(this.store).get(this.identifier, key);\n        const {\n          definition,\n          state\n        } = relationship;\n        state.hasFailedLoadAttempt = false;\n        state.shouldForceReload = true;\n        let manyArray = this.getManyArray(key, definition);\n        let promise = this.fetchAsyncHasMany(key, relationship, manyArray, options);\n        if (this._relationshipProxyCache[key]) {\n          return this._updatePromiseProxyFor('hasMany', key, {\n            promise\n          });\n        }\n        return promise;\n      }\n      (false && !(false) && (0, _debug.assert)(`hasMany only works with the @ember-data/json-api package`));\n    }\n    getHasMany(key, options) {\n      {\n        const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n        const relationship = graphFor(this.store).get(this.identifier, key);\n        const {\n          definition,\n          state\n        } = relationship;\n        let manyArray = this.getManyArray(key, definition);\n        if (definition.isAsync) {\n          if (state.hasFailedLoadAttempt) {\n            return this._relationshipProxyCache[key];\n          }\n          let promise = this.fetchAsyncHasMany(key, relationship, manyArray, options);\n          return this._updatePromiseProxyFor('hasMany', key, {\n            promise,\n            content: manyArray\n          });\n        } else {\n          (false && !(!anyUnloaded(this.store, relationship)) && (0, _debug.assert)(`You looked up the '${key}' relationship on a '${this.identifier.type}' with id ${this.identifier.id || 'null'} but some of the associated records were not loaded. Either make sure they are all loaded together with the parent record, or specify that the relationship is async ('hasMany(<type>, { async: true, inverse: <inverse> })')`, !anyUnloaded(this.store, relationship)));\n          return manyArray;\n        }\n      }\n      (false && !(false) && (0, _debug.assert)(`hasMany only works with the @ember-data/json-api package`));\n    }\n    _updatePromiseProxyFor(kind, key, args) {\n      let promiseProxy = this._relationshipProxyCache[key];\n      if (kind === 'hasMany') {\n        const {\n          promise,\n          content\n        } = args;\n        if (promiseProxy) {\n          (false && !('_update' in promiseProxy) && (0, _debug.assert)(`Expected a PromiseManyArray`, '_update' in promiseProxy));\n          promiseProxy._update(promise, content);\n        } else {\n          promiseProxy = this._relationshipProxyCache[key] = new PromiseManyArray(promise, content);\n        }\n        return promiseProxy;\n      }\n      if (promiseProxy) {\n        const {\n          promise,\n          content\n        } = args;\n        (false && !('_belongsToState' in promiseProxy) && (0, _debug.assert)(`Expected a PromiseBelongsTo`, '_belongsToState' in promiseProxy));\n        if (content !== undefined) {\n          promiseProxy.set('content', content);\n        }\n        void promiseProxy.set('promise', promise);\n      } else {\n        promiseProxy = PromiseBelongsTo.create(args);\n        this._relationshipProxyCache[key] = promiseProxy;\n      }\n      return promiseProxy;\n    }\n    referenceFor(kind, name) {\n      let reference = this.references[name];\n      if (!reference) {\n        const graphFor = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).graphFor;\n        const graph = graphFor(this.store);\n        const relationship = graph.get(this.identifier, name);\n        let relationshipKind = relationship.definition.kind;\n        if (relationshipKind === 'belongsTo') {\n          reference = new BelongsToReference(this.store, graph, this.identifier, relationship, name);\n        } else if (relationshipKind === 'hasMany') {\n          reference = new HasManyReference(this.store, graph, this.identifier, relationship, name);\n        }\n        this.references[name] = reference;\n      }\n      return reference;\n    }\n    _findHasManyByJsonApiResource(resource, parentIdentifier, relationship, options = {}) {\n      {\n        if (!resource) {\n          return;\n        }\n        const {\n          definition,\n          state\n        } = relationship;\n        const adapter = this.store.adapterFor(definition.type);\n        const {\n          isStale,\n          hasDematerializedInverse,\n          hasReceivedData,\n          isEmpty,\n          shouldForceReload\n        } = state;\n        const allInverseRecordsAreLoaded = areAllInverseRecordsLoaded(this.store, resource);\n        const identifiers = resource.data;\n        const shouldFindViaLink = resource.links && resource.links.related && (typeof adapter.findHasMany === 'function' || typeof identifiers === 'undefined') && (shouldForceReload || hasDematerializedInverse || isStale || !allInverseRecordsAreLoaded && !isEmpty);\n        const relationshipMeta = this.store.getSchemaDefinitionService().relationshipsDefinitionFor({\n          type: definition.inverseType\n        })[definition.key];\n        const request = {\n          useLink: shouldFindViaLink,\n          field: relationshipMeta,\n          links: resource.links,\n          meta: resource.meta,\n          options,\n          record: parentIdentifier\n        };\n\n        // fetch via link\n        if (shouldFindViaLink) {\n          (false && !(!identifiers || Array.isArray(identifiers)) && (0, _debug.assert)(`Expected collection to be an array`, !identifiers || Array.isArray(identifiers)));\n          (false && !(!identifiers || identifiers.every(_private.isStableIdentifier)) && (0, _debug.assert)(`Expected stable identifiers`, !identifiers || identifiers.every(_private.isStableIdentifier)));\n          return this.store.request({\n            op: 'findHasMany',\n            records: identifiers || [],\n            data: request,\n            cacheOptions: {\n              [Symbol.for('ember-data:skip-cache')]: true\n            }\n          });\n        }\n        const preferLocalCache = hasReceivedData && !isEmpty;\n        const hasLocalPartialData = hasDematerializedInverse || isEmpty && Array.isArray(identifiers) && identifiers.length > 0;\n        const attemptLocalCache = !shouldForceReload && !isStale && (preferLocalCache || hasLocalPartialData);\n        if (attemptLocalCache && allInverseRecordsAreLoaded) {\n          return;\n        }\n        const hasData = hasReceivedData && !isEmpty;\n        if (attemptLocalCache || hasData || hasLocalPartialData) {\n          (false && !(Array.isArray(identifiers)) && (0, _debug.assert)(`Expected collection to be an array`, Array.isArray(identifiers)));\n          (false && !(identifiers.every(_private.isStableIdentifier)) && (0, _debug.assert)(`Expected stable identifiers`, identifiers.every(_private.isStableIdentifier)));\n          options.reload = options.reload || !attemptLocalCache || undefined;\n          return this.store.request({\n            op: 'findHasMany',\n            records: identifiers,\n            data: request,\n            cacheOptions: {\n              [Symbol.for('ember-data:skip-cache')]: true\n            }\n          });\n        }\n\n        // we were explicitly told we have no data and no links.\n        //   TODO if the relationshipIsStale, should we hit the adapter anyway?\n        return;\n      }\n      (false && !(false) && (0, _debug.assert)(`hasMany only works with the @ember-data/json-api package`));\n    }\n    _findBelongsToByJsonApiResource(resource, parentIdentifier, relationship, options = {}) {\n      if (!resource) {\n        return Promise.resolve(null);\n      }\n      const key = relationship.definition.key;\n\n      // interleaved promises mean that we MUST cache this here\n      // in order to prevent infinite re-render if the request\n      // fails.\n      if (this._pending[key]) {\n        return this._pending[key];\n      }\n      const identifier = resource.data ? resource.data : null;\n      (false && !(!identifier || (0, _private.isStableIdentifier)(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, !identifier || (0, _private.isStableIdentifier)(identifier)));\n      let {\n        isStale,\n        hasDematerializedInverse,\n        hasReceivedData,\n        isEmpty,\n        shouldForceReload\n      } = relationship.state;\n      const allInverseRecordsAreLoaded = areAllInverseRecordsLoaded(this.store, resource);\n      const shouldFindViaLink = resource.links?.related && (shouldForceReload || hasDematerializedInverse || isStale || !allInverseRecordsAreLoaded && !isEmpty);\n      const relationshipMeta = this.store.getSchemaDefinitionService().relationshipsDefinitionFor(this.identifier)[relationship.definition.key];\n      (false && !(relationshipMeta) && (0, _debug.assert)(`Attempted to access a belongsTo relationship but no definition exists for it`, relationshipMeta));\n      const request = {\n        useLink: shouldFindViaLink,\n        field: relationshipMeta,\n        links: resource.links,\n        meta: resource.meta,\n        options,\n        record: parentIdentifier\n      };\n\n      // fetch via link\n      if (shouldFindViaLink) {\n        const future = this.store.request({\n          op: 'findBelongsTo',\n          records: identifier ? [identifier] : [],\n          data: request,\n          cacheOptions: {\n            [Symbol.for('ember-data:skip-cache')]: true\n          }\n        });\n        this._pending[key] = future.then(doc => doc.content).finally(() => {\n          this._pending[key] = undefined;\n        });\n        return this._pending[key];\n      }\n      const preferLocalCache = hasReceivedData && allInverseRecordsAreLoaded && !isEmpty;\n      const hasLocalPartialData = hasDematerializedInverse || isEmpty && resource.data;\n      // null is explicit empty, undefined is \"we don't know anything\"\n      const localDataIsEmpty = !identifier;\n      const attemptLocalCache = !shouldForceReload && !isStale && (preferLocalCache || hasLocalPartialData);\n\n      // we dont need to fetch and are empty\n      if (attemptLocalCache && localDataIsEmpty) {\n        return Promise.resolve(null);\n      }\n\n      // we dont need to fetch because we are local state\n      const resourceIsLocal = identifier?.id === null;\n      if (attemptLocalCache && allInverseRecordsAreLoaded || resourceIsLocal) {\n        return Promise.resolve(identifier);\n      }\n\n      // we may need to fetch\n      if (identifier) {\n        (false && !(identifier) && (0, _debug.assert)(`Cannot fetch belongs-to relationship with no information`, identifier));\n        options.reload = options.reload || !attemptLocalCache || undefined;\n        this._pending[key] = this.store.request({\n          op: 'findBelongsTo',\n          records: [identifier],\n          data: request,\n          cacheOptions: {\n            [Symbol.for('ember-data:skip-cache')]: true\n          }\n        }).then(doc => doc.content).finally(() => {\n          this._pending[key] = undefined;\n        });\n        return this._pending[key];\n      }\n\n      // we were explicitly told we have no data and no links.\n      //   TODO if the relationshipIsStale, should we hit the adapter anyway?\n      return Promise.resolve(null);\n    }\n    destroy() {\n      this.isDestroying = true;\n      let cache = this._manyArrayCache;\n      this._manyArrayCache = Object.create(null);\n      Object.keys(cache).forEach(key => {\n        cache[key].destroy();\n      });\n      cache = this._relationshipProxyCache;\n      this._relationshipProxyCache = Object.create(null);\n      Object.keys(cache).forEach(key => {\n        const proxy = cache[key];\n        if (proxy.destroy) {\n          proxy.destroy();\n        }\n      });\n      cache = this.references;\n      this.references = Object.create(null);\n      Object.keys(cache).forEach(key => {\n        cache[key].destroy();\n      });\n      this.isDestroyed = true;\n    }\n  }\n  function handleCompletedRelationshipRequest(recordExt, key, relationship, value, error) {\n    delete recordExt._relationshipPromisesCache[key];\n    relationship.state.shouldForceReload = false;\n    const isHasMany = relationship.definition.kind === 'hasMany';\n    if (isHasMany) {\n      // we don't notify the record property here to avoid refetch\n      // only the many array\n      value.notify();\n    }\n    if (error) {\n      relationship.state.hasFailedLoadAttempt = true;\n      let proxy = recordExt._relationshipProxyCache[key];\n      // belongsTo relationships are sometimes unloaded\n      // when a load fails, in this case we need\n      // to make sure that we aren't proxying\n      // to destroyed content\n      // for the sync belongsTo reload case there will be no proxy\n      // for the async reload case there will be no proxy if the ui\n      // has never been accessed\n      if (proxy && !isHasMany) {\n        // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n        if (proxy.content && proxy.content.isDestroying) {\n          proxy.set('content', null);\n        }\n        recordExt.store.notifications._flush();\n      }\n      throw error;\n    }\n    if (isHasMany) {\n      value.isLoaded = true;\n    } else {\n      recordExt.store.notifications._flush();\n    }\n    relationship.state.hasFailedLoadAttempt = false;\n    // only set to not stale if no error is thrown\n    relationship.state.isStale = false;\n    return isHasMany || !value ? value : recordExt.store.peekRecord(value);\n  }\n  function extractIdentifierFromRecord(recordOrPromiseRecord) {\n    if (!recordOrPromiseRecord) {\n      return null;\n    }\n    {\n      if (isPromiseRecord(recordOrPromiseRecord)) {\n        let content = recordOrPromiseRecord.content;\n        (false && !(content !== undefined) && (0, _debug.assert)('You passed in a promise that did not originate from an EmberData relationship. You can only pass promises that come from a belongsTo or hasMany relationship to the get call.', content !== undefined));\n        (false && !(false) && (0, _debug.deprecate)(`You passed in a PromiseProxy to a Relationship API that now expects a resolved value. await the value before setting it.`, false, {\n          id: 'ember-data:deprecate-promise-proxies',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          },\n          for: 'ember-data'\n        }));\n        return content ? (0, _private.recordIdentifierFor)(content) : null;\n      }\n    }\n    return (0, _private.recordIdentifierFor)(recordOrPromiseRecord);\n  }\n  function isPromiseRecord(record) {\n    return !!record.then;\n  }\n  function anyUnloaded(store, relationship) {\n    let state = relationship.localState;\n    const cache = store._instanceCache;\n    const unloaded = state.find(s => {\n      let isLoaded = cache.recordIsLoaded(s, true);\n      return !isLoaded;\n    });\n    return unloaded || false;\n  }\n  function areAllInverseRecordsLoaded(store, resource) {\n    const instanceCache = store._instanceCache;\n    const identifiers = resource.data;\n    if (Array.isArray(identifiers)) {\n      (false && !(identifiers.every(_private.isStableIdentifier)) && (0, _debug.assert)(`Expected stable identifiers`, identifiers.every(_private.isStableIdentifier))); // treat as collection\n      // check for unloaded records\n      return identifiers.every(identifier => instanceCache.recordIsLoaded(identifier));\n    }\n\n    // treat as single resource\n    if (!identifiers) return true;\n    (false && !((0, _private.isStableIdentifier)(identifiers)) && (0, _debug.assert)(`Expected stable identifiers`, (0, _private.isStableIdentifier)(identifiers)));\n    return instanceCache.recordIsLoaded(identifiers);\n  }\n  function isBelongsTo(relationship) {\n    return relationship.definition.kind === 'belongsTo';\n  }\n  function notifyChanges(identifier, value, key, record, store) {\n    if (value === 'attributes') {\n      if (key) {\n        notifyAttribute(store, identifier, key, record);\n      } else {\n        record.eachAttribute(key => {\n          notifyAttribute(store, identifier, key, record);\n        });\n      }\n    } else if (value === 'relationships') {\n      if (key) {\n        let meta = record.constructor.relationshipsByName.get(key);\n        notifyRelationship(identifier, key, record, meta);\n      } else {\n        record.eachRelationship((key, meta) => {\n          notifyRelationship(identifier, key, record, meta);\n        });\n      }\n    } else if (value === 'identity') {\n      record.notifyPropertyChange('id');\n    }\n  }\n  function notifyRelationship(identifier, key, record, meta) {\n    if (meta.kind === 'belongsTo') {\n      record.notifyPropertyChange(key);\n    } else if (meta.kind === 'hasMany') {\n      let support = LEGACY_SUPPORT.get(identifier);\n      let manyArray = support && support._manyArrayCache[key];\n      let hasPromise = support && support._relationshipPromisesCache[key];\n      if (manyArray && hasPromise) {\n        // do nothing, we will notify the ManyArray directly\n        // once the fetch has completed.\n        return;\n      }\n      if (manyArray) {\n        manyArray.notify();\n\n        //We need to notifyPropertyChange in the adding case because we need to make sure\n        //we fetch the newly added record in case it is unloaded\n        //TODO(Igor): Consider whether we could do this only if the record state is unloaded\n        if (!meta.options || meta.options.async || meta.options.async === undefined) {\n          record.notifyPropertyChange(key);\n        }\n      }\n    }\n  }\n  function notifyAttribute(store, identifier, key, record) {\n    let currentValue = (0, _internals.cacheFor)(record, key);\n    const cache = (0, _private.peekCache)(record);\n    if (currentValue !== cache.getAttr(identifier, key)) {\n      record.notifyPropertyChange(key);\n    }\n  }\n  var _class$1, _descriptor$1, _class3, _descriptor2;\n  const SOURCE_POINTER_REGEXP = /^\\/?data\\/(attributes|relationships)\\/(.*)/;\n  const SOURCE_POINTER_PRIMARY_REGEXP = /^\\/?data/;\n  const PRIMARY_ATTRIBUTE_KEY = 'base';\n  function isInvalidError(error) {\n    return error && error.isAdapterError === true && error.code === 'InvalidError';\n  }\n\n  /**\n   * Tag provides a cache for a getter\n   * that recomputes only when a specific\n   * tracked property that it manages is dirtied.\n   *\n   * This allows us to bust the cache for a value\n   * that otherwise doesn't access anything tracked\n   * as well as control the timing of that notification.\n   *\n   * @internal\n   */\n  let Tag = (_class$1 = class Tag {\n    constructor() {\n      _initializerDefineProperty(this, \"ref\", _descriptor$1, this);\n      this.rev = 1;\n      this.isDirty = true;\n      this.value = undefined;\n      /*\n       * whether this was part of a transaction when mutated\n       */\n      this.t = false;\n    }\n    notify() {\n      this.isDirty = true;\n      (0, _private2.addToTransaction)(this);\n      this.rev++;\n    }\n    consume(v) {\n      this.isDirty = false;\n      this.value = v; // set cached value\n    }\n  }, _descriptor$1 = _applyDecoratedDescriptor(_class$1.prototype, \"ref\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _class$1);\n  const Tags = new WeakMap();\n  function getTag(record, key) {\n    let tags = Tags.get(record);\n    if (!tags) {\n      tags = Object.create(null);\n      Tags.set(record, tags);\n    }\n    // @ts-expect-error\n    return tags[key] = tags[key] || new Tag();\n  }\n  function peekTag(record, key) {\n    let tags = Tags.get(record);\n    return tags && tags[key];\n  }\n\n  /**\n   * A decorattor that caches a getter while\n   * providing the ability to bust that cache\n   * when we so choose in a way that notifies\n   * glimmer's tracking system.\n   *\n   * @internal\n   */\n  function tagged(_target, key, desc) {\n    const getter = desc.get;\n    const setter = desc.set;\n    desc.get = function () {\n      let tag = getTag(this, key);\n      (0, _private2.subscribe)(tag);\n      if (tag.isDirty) {\n        tag.consume(getter.call(this));\n      }\n      return tag.value;\n    };\n    desc.set = function (v) {\n      getTag(this, key); // ensure tag is setup in case we want to use it.\n      // probably notify here but not yet.\n      setter.call(this, v);\n    };\n    (0, _compat.dependentKeyCompat)(desc);\n    return desc;\n  }\n\n  /**\n  Historically EmberData managed a state machine\n  for each record, the localState for which\n  was reflected onto Model.\n  \n  This implements the flags and stateName for backwards compat\n  with the state tree that used to be possible (listed below).\n  \n  stateName and dirtyType are candidates for deprecation.\n  \n  root\n    empty\n      deleted    // hidden from stateName\n      preloaded  // hidden from stateName\n  \n    loading\n       empty     // hidden from stateName\n       preloaded // hidden from stateName\n  \n    loaded\n      saved\n      updated\n        uncommitted\n        invalid\n        inFlight\n      created\n        uncommitted\n        invalid\n        inFlight\n  \n    deleted\n      saved\n        new      // hidden from stateName\n      uncommitted\n      invalid\n      inFlight\n  \n    @internal\n  */\n  let RecordState = (_class3 = class RecordState {\n    constructor(record) {\n      _initializerDefineProperty(this, \"isSaving\", _descriptor2, this);\n      const store = (0, _store.storeFor)(record);\n      const identity = (0, _private.recordIdentifierFor)(record);\n      this.identifier = identity;\n      this.record = record;\n      this.cache = (0, _private.peekCache)(record);\n      this.pendingCount = 0;\n      this.fulfilledCount = 0;\n      this.rejectedCount = 0;\n      this._errorRequests = [];\n      this._lastError = null;\n      let requests = store.getRequestStateService();\n      let notifications = store.notifications;\n      const handleRequest = req => {\n        if (req.type === 'mutation') {\n          switch (req.state) {\n            case 'pending':\n              this.isSaving = true;\n              break;\n            case 'rejected':\n              this.isSaving = false;\n              this._lastError = req;\n              if (!(req.response && isInvalidError(req.response.data))) {\n                this._errorRequests.push(req);\n              }\n              notifyErrorsStateChanged(this);\n              break;\n            case 'fulfilled':\n              this._errorRequests = [];\n              this._lastError = null;\n              this.isSaving = false;\n              notifyErrorsStateChanged(this);\n              break;\n          }\n        } else {\n          switch (req.state) {\n            case 'pending':\n              this.pendingCount++;\n              this.notify('isLoading');\n              break;\n            case 'rejected':\n              this.pendingCount--;\n              this._lastError = req;\n              if (!(req.response && isInvalidError(req.response.data))) {\n                this._errorRequests.push(req);\n              }\n              this.notify('isLoading');\n              notifyErrorsStateChanged(this);\n              break;\n            case 'fulfilled':\n              this.pendingCount--;\n              this.fulfilledCount++;\n              this.notify('isLoading');\n              this.notify('isDirty');\n              notifyErrorsStateChanged(this);\n              this._errorRequests = [];\n              this._lastError = null;\n              break;\n          }\n        }\n      };\n      requests.subscribeForRecord(identity, handleRequest);\n\n      // we instantiate lazily\n      // so we grab anything we don't have yet\n      {\n        const lastRequest = requests.getLastRequestForRecord(identity);\n        if (lastRequest) {\n          handleRequest(lastRequest);\n        }\n      }\n      this.handler = notifications.subscribe(identity, (identifier, type, key) => {\n        switch (type) {\n          case 'state':\n            this.notify('isNew');\n            this.notify('isDeleted');\n            this.notify('isDirty');\n            break;\n          case 'attributes':\n            this.notify('isEmpty');\n            this.notify('isDirty');\n            break;\n          case 'errors':\n            this.updateInvalidErrors(this.record.errors);\n            this.notify('isValid');\n            break;\n        }\n      });\n    }\n    destroy() {\n      (0, _store.storeFor)(this.record).notifications.unsubscribe(this.handler);\n    }\n    notify(key) {\n      getTag(this, key).notify();\n    }\n    updateInvalidErrors(errors) {\n      (false && !(typeof this.cache.getErrors === 'function') && (0, _debug.assert)(`Expected the Cache instance for ${this.identifier}  to implement getErrors(identifier)`, typeof this.cache.getErrors === 'function'));\n      let jsonApiErrors = this.cache.getErrors(this.identifier);\n      errors.clear();\n      for (let i = 0; i < jsonApiErrors.length; i++) {\n        let error = jsonApiErrors[i];\n        if (error.source && error.source.pointer) {\n          let keyMatch = error.source.pointer.match(SOURCE_POINTER_REGEXP);\n          let key;\n          if (keyMatch) {\n            key = keyMatch[2];\n          } else if (error.source.pointer.search(SOURCE_POINTER_PRIMARY_REGEXP) !== -1) {\n            key = PRIMARY_ATTRIBUTE_KEY;\n          }\n          if (key) {\n            let errMsg = error.detail || error.title;\n            errors.add(key, errMsg);\n          }\n        }\n      }\n    }\n    cleanErrorRequests() {\n      this.notify('isValid');\n      this.notify('isError');\n      this.notify('adapterError');\n      this._errorRequests = [];\n      this._lastError = null;\n    }\n    get isLoading() {\n      return !this.isLoaded && this.pendingCount > 0 && this.fulfilledCount === 0;\n    }\n    get isLoaded() {\n      if (this.isNew) {\n        return true;\n      }\n      return this.fulfilledCount > 0 || !this.isEmpty;\n    }\n    get isSaved() {\n      let rd = this.cache;\n      if (this.isDeleted) {\n        (false && !(rd.isDeletionCommitted) && (0, _debug.assert)(`Expected Cache to implement isDeletionCommitted()`, rd.isDeletionCommitted));\n        return rd.isDeletionCommitted(this.identifier);\n      }\n      if (this.isNew || this.isEmpty || !this.isValid || this.isDirty || this.isLoading) {\n        return false;\n      }\n      return true;\n    }\n    get isEmpty() {\n      let rd = this.cache;\n      // TODO this is not actually an RFC'd concept. Determine the\n      // correct heuristic to replace this with.\n      (false && !(rd.isEmpty) && (0, _debug.assert)(`Expected Cache to implement isEmpty()`, rd.isEmpty));\n      return !this.isNew && rd.isEmpty(this.identifier);\n    }\n    get isNew() {\n      let rd = this.cache;\n      (false && !(rd.isNew) && (0, _debug.assert)(`Expected Cache to implement isNew()`, rd.isNew));\n      return rd.isNew(this.identifier);\n    }\n    get isDeleted() {\n      let rd = this.cache;\n      (false && !(rd.isDeleted) && (0, _debug.assert)(`Expected Cache to implement isDeleted()`, rd.isDeleted));\n      return rd.isDeleted(this.identifier);\n    }\n    get isValid() {\n      return this.record.errors.length === 0;\n    }\n    get isDirty() {\n      let rd = this.cache;\n      if (rd.isDeletionCommitted(this.identifier) || this.isDeleted && this.isNew) {\n        return false;\n      }\n      return this.isNew || rd.hasChangedAttrs(this.identifier);\n    }\n    get isError() {\n      let errorReq = this._errorRequests[this._errorRequests.length - 1];\n      if (!errorReq) {\n        return false;\n      } else {\n        return true;\n      }\n    }\n    get adapterError() {\n      let request = this._lastError;\n      if (!request) {\n        return null;\n      }\n      return request.state === 'rejected' && request.response.data;\n    }\n    get isPreloaded() {\n      return !this.isEmpty && this.isLoading;\n    }\n    get stateName() {\n      // we might be empty while loading so check this first\n      if (this.isLoading) {\n        return 'root.loading';\n\n        // got nothing yet or were unloaded\n      } else if (this.isEmpty) {\n        return 'root.empty';\n\n        // deleted substates\n      } else if (this.isDeleted) {\n        if (this.isSaving) {\n          return 'root.deleted.inFlight';\n        } else if (this.isSaved) {\n          // TODO ensure isSaved isn't true from previous requests\n          return 'root.deleted.saved';\n        } else if (!this.isValid) {\n          return 'root.deleted.invalid';\n        } else {\n          return 'root.deleted.uncommitted';\n        }\n\n        // loaded.created substates\n      } else if (this.isNew) {\n        if (this.isSaving) {\n          return 'root.loaded.created.inFlight';\n        } else if (!this.isValid) {\n          return 'root.loaded.created.invalid';\n        }\n        return 'root.loaded.created.uncommitted';\n\n        // loaded.updated substates\n      } else if (this.isSaving) {\n        return 'root.loaded.updated.inFlight';\n      } else if (!this.isValid) {\n        return 'root.loaded.updated.invalid';\n      } else if (this.isDirty) {\n        return 'root.loaded.updated.uncommitted';\n\n        // if nothing remains, we are loaded saved!\n      } else {\n        return 'root.loaded.saved';\n      }\n    }\n    get dirtyType() {\n      // we might be empty while loading so check this first\n      if (this.isLoading || this.isEmpty) {\n        return '';\n\n        // deleted substates\n      } else if (this.isDeleted) {\n        return 'deleted';\n\n        // loaded.created substates\n      } else if (this.isNew) {\n        return 'created';\n\n        // loaded.updated substates\n      } else if (this.isSaving || !this.isValid || this.isDirty) {\n        return 'updated';\n\n        // if nothing remains, we are loaded saved!\n      } else {\n        return '';\n      }\n    }\n  }, _descriptor2 = _applyDecoratedDescriptor(_class3.prototype, \"isSaving\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class3.prototype, \"isLoading\", [tagged], Object.getOwnPropertyDescriptor(_class3.prototype, \"isLoading\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"isLoaded\", [tagged], Object.getOwnPropertyDescriptor(_class3.prototype, \"isLoaded\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"isSaved\", [tagged], Object.getOwnPropertyDescriptor(_class3.prototype, \"isSaved\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"isEmpty\", [tagged], Object.getOwnPropertyDescriptor(_class3.prototype, \"isEmpty\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"isNew\", [tagged], Object.getOwnPropertyDescriptor(_class3.prototype, \"isNew\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"isDeleted\", [tagged], Object.getOwnPropertyDescriptor(_class3.prototype, \"isDeleted\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"isValid\", [tagged], Object.getOwnPropertyDescriptor(_class3.prototype, \"isValid\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"isDirty\", [tagged], Object.getOwnPropertyDescriptor(_class3.prototype, \"isDirty\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"isError\", [tagged], Object.getOwnPropertyDescriptor(_class3.prototype, \"isError\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"adapterError\", [tagged], Object.getOwnPropertyDescriptor(_class3.prototype, \"adapterError\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"isPreloaded\", [cached], Object.getOwnPropertyDescriptor(_class3.prototype, \"isPreloaded\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"stateName\", [cached], Object.getOwnPropertyDescriptor(_class3.prototype, \"stateName\"), _class3.prototype), _applyDecoratedDescriptor(_class3.prototype, \"dirtyType\", [cached], Object.getOwnPropertyDescriptor(_class3.prototype, \"dirtyType\"), _class3.prototype), _class3);\n  function notifyErrorsStateChanged(state) {\n    state.notify('isValid');\n    state.notify('isError');\n    state.notify('adapterError');\n  }\n  function typeForRelationshipMeta(meta) {\n    let modelName = (0, _string.dasherize)(meta.type || meta.key);\n    if (meta.kind === 'hasMany') {\n      modelName = (0, _emberInflector.singularize)(modelName);\n    }\n    return modelName;\n  }\n  function shouldFindInverse(relationshipMeta) {\n    let options = relationshipMeta.options;\n    return !(options && options.inverse === null);\n  }\n  class RelationshipDefinition {\n    constructor(meta) {\n      this._type = '';\n      this.__inverseKey = '';\n      this.__hasCalculatedInverse = false;\n      this.parentModelName = meta.parentModelName;\n      this.meta = meta;\n    }\n\n    /**\n     * @internal\n     * @deprecated\n     */\n    get key() {\n      return this.meta.key;\n    }\n    get kind() {\n      return this.meta.kind;\n    }\n    get type() {\n      if (this._type) {\n        return this._type;\n      }\n      this._type = typeForRelationshipMeta(this.meta);\n      return this._type;\n    }\n    get options() {\n      return this.meta.options;\n    }\n    get name() {\n      return this.meta.name;\n    }\n    _inverseKey(store, modelClass) {\n      if (this.__hasCalculatedInverse === false) {\n        this._calculateInverse(store, modelClass);\n      }\n      return this.__inverseKey;\n    }\n    _calculateInverse(store, modelClass) {\n      this.__hasCalculatedInverse = true;\n      let inverseKey;\n      let inverse = null;\n      if (shouldFindInverse(this.meta)) {\n        inverse = modelClass.inverseFor(this.key, store);\n      }\n      // TODO make this error again for the non-polymorphic case\n\n      if (inverse) {\n        inverseKey = inverse.name;\n      } else {\n        inverseKey = null;\n      }\n      this.__inverseKey = inverseKey;\n    }\n  }\n  function relationshipFromMeta(meta) {\n    return new RelationshipDefinition(meta);\n  }\n  var _class, _descriptor, _class2;\n  const {\n    changeProperties\n  } = _ember.default;\n  const LEGACY_SUPPORT = _exports.L = new Map();\n  function lookupLegacySupport(record) {\n    const identifier = (0, _store.recordIdentifierFor)(record);\n    let support = LEGACY_SUPPORT.get(identifier);\n    if (!support) {\n      (false && !(!record.isDestroyed && !record.isDestroying) && (0, _debug.assert)(`Memory Leak Detected`, !record.isDestroyed && !record.isDestroying));\n      support = new LegacySupport(record);\n      LEGACY_SUPPORT.set(identifier, support);\n      LEGACY_SUPPORT.set(record, support);\n    }\n    return support;\n  }\n  function findPossibleInverses(type, inverseType, name, relationshipsSoFar) {\n    let possibleRelationships = relationshipsSoFar || [];\n    let relationshipMap = inverseType.relationships;\n    if (!relationshipMap) {\n      return possibleRelationships;\n    }\n    let relationshipsForType = relationshipMap.get(type.modelName);\n    let relationships = Array.isArray(relationshipsForType) ? relationshipsForType.filter(relationship => {\n      let optionsForRelationship = relationship.options;\n      if (!optionsForRelationship.inverse && optionsForRelationship.inverse !== null) {\n        return true;\n      }\n      return name === optionsForRelationship.inverse;\n    }) : null;\n    if (relationships) {\n      possibleRelationships.push.apply(possibleRelationships, relationships);\n    }\n\n    //Recurse to support polymorphism\n    if (type.superclass) {\n      findPossibleInverses(type.superclass, inverseType, name, possibleRelationships);\n    }\n    return possibleRelationships;\n  }\n\n  /*\n   * This decorator allows us to lazily compute\n   * an expensive getter on first-access and thereafter\n   * never recompute it.\n   */\n  function computeOnce(target, key, desc) {\n    const cache = new WeakMap();\n    let getter = desc.get;\n    desc.get = function () {\n      let meta = cache.get(this);\n      if (!meta) {\n        meta = {\n          hasComputed: false,\n          value: undefined\n        };\n        cache.set(this, meta);\n      }\n      if (!meta.hasComputed) {\n        meta.value = getter.call(this);\n        meta.hasComputed = true;\n      }\n      return meta.value;\n    };\n    return desc;\n  }\n\n  /**\n    Base class from which Models can be defined.\n  \n    ```js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class User extends Model {\n      @attr name;\n    }\n    ```\n  \n    @class Model\n    @public\n    @extends Ember.EmberObject\n  */\n  let Model = _exports.M = (_class = (_class2 = class Model extends _object.default {\n    constructor(...args) {\n      super(...args);\n      this.___private_notifications = void 0;\n      /**\n        If `true` the store is attempting to reload the record from the adapter.\n         Example\n         ```javascript\n        record.isReloading; // false\n        record.reload();\n        record.isReloading; // true\n        ```\n         @property isReloading\n        @public\n        @type {Boolean}\n        @readOnly\n      */\n      _initializerDefineProperty(this, \"isReloading\", _descriptor, this);\n    }\n    init(options = {}) {\n      const createProps = options._createProps;\n      const _secretInit = options._secretInit;\n      options._createProps = null;\n      options._secretInit = null;\n      let store = this.store = _secretInit.store;\n      super.init(options);\n      let identity = _secretInit.identifier;\n      _secretInit.cb(this, _secretInit.cache, identity, _secretInit.store);\n      this.___recordState = null;\n      this.setProperties(createProps);\n      let notifications = store.notifications;\n      this.___private_notifications = notifications.subscribe(identity, (identifier, type, key) => {\n        notifyChanges(identifier, type, key, this, store);\n      });\n    }\n    destroy() {\n      const identifier = (0, _store.recordIdentifierFor)(this);\n      this.___recordState?.destroy();\n      const store = (0, _store.storeFor)(this);\n      store.notifications.unsubscribe(this.___private_notifications);\n      // Legacy behavior is to notify the relationships on destroy\n      // such that they \"clear\". It's uncertain this behavior would\n      // be good for a new model paradigm, likely cheaper and safer\n      // to simply not notify, for this reason the store does not itself\n      // notify individual changes once the delete has been signaled,\n      // this decision is left to model instances.\n\n      this.eachRelationship((key, meta) => {\n        if (meta.kind === 'belongsTo') {\n          this.notifyPropertyChange(key);\n        }\n      });\n      LEGACY_SUPPORT.get(this)?.destroy();\n      LEGACY_SUPPORT.delete(this);\n      LEGACY_SUPPORT.delete(identifier);\n      super.destroy();\n    }\n\n    /**\n      If this property is `true` the record is in the `empty`\n      state. Empty is the first state all records enter after they have\n      been created. Most records created by the store will quickly\n      transition to the `loading` state if data needs to be fetched from\n      the server or the `created` state if the record is created on the\n      client. A record can also enter the empty state if the adapter is\n      unable to locate the record.\n       @property isEmpty\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isEmpty() {\n      return this.currentState.isEmpty;\n    }\n\n    /**\n      If this property is `true` the record is in the `loading` state. A\n      record enters this state when the store asks the adapter for its\n      data. It remains in this state until the adapter provides the\n      requested data.\n       @property isLoading\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isLoading() {\n      return this.currentState.isLoading;\n    }\n\n    /**\n      If this property is `true` the record is in the `loaded` state. A\n      record enters this state when its data is populated. Most of a\n      record's lifecycle is spent inside substates of the `loaded`\n      state.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.isLoaded; // true\n       store.findRecord('model', 1).then(function(model) {\n        model.isLoaded; // true\n      });\n      ```\n       @property isLoaded\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isLoaded() {\n      return this.currentState.isLoaded;\n    }\n\n    /**\n      If this property is `true` the record is in the `dirty` state. The\n      record has local changes that have not yet been saved by the\n      adapter. This includes records that have been created (but not yet\n      saved) or deleted.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.hasDirtyAttributes; // true\n       store.findRecord('model', 1).then(function(model) {\n        model.hasDirtyAttributes; // false\n        model.set('foo', 'some value');\n        model.hasDirtyAttributes; // true\n      });\n      ```\n       @since 1.13.0\n      @property hasDirtyAttributes\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get hasDirtyAttributes() {\n      return this.currentState.isDirty;\n    }\n\n    /**\n      If this property is `true` the record is in the `saving` state. A\n      record enters the saving state when `save` is called, but the\n      adapter has not yet acknowledged that the changes have been\n      persisted to the backend.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.isSaving; // false\n      let promise = record.save();\n      record.isSaving; // true\n      promise.then(function() {\n        record.isSaving; // false\n      });\n      ```\n       @property isSaving\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isSaving() {\n      return this.currentState.isSaving;\n    }\n\n    /**\n      If this property is `true` the record is in the `deleted` state\n      and has been marked for deletion. When `isDeleted` is true and\n      `hasDirtyAttributes` is true, the record is deleted locally but the deletion\n      was not yet persisted. When `isSaving` is true, the change is\n      in-flight. When both `hasDirtyAttributes` and `isSaving` are false, the\n      change has persisted.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.isDeleted;    // false\n      record.deleteRecord();\n       // Locally deleted\n      record.isDeleted;           // true\n      record.hasDirtyAttributes;  // true\n      record.isSaving;            // false\n       // Persisting the deletion\n      let promise = record.save();\n      record.isDeleted;    // true\n      record.isSaving;     // true\n       // Deletion Persisted\n      promise.then(function() {\n        record.isDeleted;          // true\n        record.isSaving;           // false\n        record.hasDirtyAttributes; // false\n      });\n      ```\n       @property isDeleted\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isDeleted() {\n      return this.currentState.isDeleted;\n    }\n\n    /**\n      If this property is `true` the record is in the `new` state. A\n      record will be in the `new` state when it has been created on the\n      client and the adapter has not yet report that it was successfully\n      saved.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.isNew; // true\n       record.save().then(function(model) {\n        model.isNew; // false\n      });\n      ```\n       @property isNew\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isNew() {\n      return this.currentState.isNew;\n    }\n\n    /**\n      If this property is `true` the record is in the `valid` state.\n       A record will be in the `valid` state when the adapter did not report any\n      server-side validation failures.\n       @property isValid\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isValid() {\n      return this.currentState.isValid;\n    }\n\n    /**\n      If the record is in the dirty state this property will report what\n      kind of change has caused it to move into the dirty\n      state. Possible values are:\n       - `created` The record has been created by the client and not yet saved to the adapter.\n      - `updated` The record has been updated by the client and not yet saved to the adapter.\n      - `deleted` The record has been deleted by the client and not yet saved to the adapter.\n       Example\n       ```javascript\n      let record = store.createRecord('model');\n      record.dirtyType; // 'created'\n      ```\n       @property dirtyType\n      @public\n      @type {String}\n      @readOnly\n    */\n    get dirtyType() {\n      return this.currentState.dirtyType;\n    }\n\n    /**\n      If `true` the adapter reported that it was unable to save local\n      changes to the backend for any reason other than a server-side\n      validation error.\n       Example\n       ```javascript\n      record.isError; // false\n      record.set('foo', 'valid value');\n      record.save().then(null, function() {\n        record.isError; // true\n      });\n      ```\n       @property isError\n      @public\n      @type {Boolean}\n      @readOnly\n    */\n    get isError() {\n      return this.currentState.isError;\n    }\n    set isError(v) {}\n    /**\n      All ember models have an id property. This is an identifier\n      managed by an external source. These are always coerced to be\n      strings before being used internally. Note when declaring the\n      attributes for a model it is an error to declare an id\n      attribute.\n       ```javascript\n      let record = store.createRecord('model');\n      record.id; // null\n       store.findRecord('model', 1).then(function(model) {\n        model.id; // '1'\n      });\n      ```\n       @property id\n      @public\n      @type {String}\n    */\n    get id() {\n      // this guard exists, because some dev-only deprecation code\n      // (addListener via validatePropertyInjections) invokes toString before the\n      // object is real.\n\n      return (0, _store.recordIdentifierFor)(this).id;\n    }\n    set id(id) {\n      const normalizedId = (0, _private.coerceId)(id);\n      const identifier = (0, _store.recordIdentifierFor)(this);\n      let didChange = normalizedId !== identifier.id;\n      (false && !(!didChange || identifier.id === null) && (0, _debug.assert)(`Cannot set ${identifier.type} record's id to ${id}, because id is already ${identifier.id}`, !didChange || identifier.id === null));\n      if (normalizedId !== null && didChange) {\n        this.store._instanceCache.setRecordId(identifier, normalizedId);\n        this.store.notifications.notify(identifier, 'identity');\n      }\n    }\n    toString() {\n      return `<model::${this.constructor.modelName}:${this.id}>`;\n    }\n\n    /**\n      @property currentState\n      @private\n      @type {Object}\n    */\n    // TODO we can probably make this a computeOnce\n    // we likely do not need to notify the currentState root anymore\n    get currentState() {\n      // descriptors are called with the wrong `this` context during mergeMixins\n      // when using legacy/classic ember classes. Basically: lazy in prod and eager in dev.\n      // so we do this to try to steer folks to the nicer \"dont user currentState\"\n      // error.\n      {\n        if (!this.___recordState) {\n          this.___recordState = new RecordState(this);\n        }\n      }\n      return this.___recordState;\n    }\n    set currentState(_v) {\n      throw new Error('cannot set currentState');\n    }\n\n    /**\n      The store service instance which created this record instance\n      @property store\n      @public\n     */\n\n    /**\n      When the record is in the `invalid` state this object will contain\n      any errors returned by the adapter. When present the errors hash\n      contains keys corresponding to the invalid property names\n      and values which are arrays of Javascript objects with two keys:\n       - `message` A string containing the error message from the backend\n      - `attribute` The name of the property associated with this error message\n       ```javascript\n      record.errors.length; // 0\n      record.set('foo', 'invalid value');\n      record.save().catch(function() {\n        record.errors.foo;\n        // [{message: 'foo should be a number.', attribute: 'foo'}]\n      });\n      ```\n       The `errors` property is useful for displaying error messages to\n      the user.\n       ```handlebars\n      <label>Username: <Input @value={{@model.username}} /> </label>\n      {{#each @model.errors.username as |error|}}\n        <div class=\"error\">\n          {{error.message}}\n        </div>\n      {{/each}}\n      <label>Email: <Input @value={{@model.email}} /> </label>\n      {{#each @model.errors.email as |error|}}\n        <div class=\"error\">\n          {{error.message}}\n        </div>\n      {{/each}}\n      ```\n        You can also access the special `messages` property on the error\n      object to get an array of all the error strings.\n       ```handlebars\n      {{#each @model.errors.messages as |message|}}\n        <div class=\"error\">\n          {{message}}\n        </div>\n      {{/each}}\n      ```\n       @property errors\n      @public\n      @type {Errors}\n    */\n    get errors() {\n      let errors = Errors.create({\n        __record: this\n      });\n      this.currentState.updateInvalidErrors(errors);\n      return errors;\n    }\n\n    /**\n      This property holds the `AdapterError` object with which\n      last adapter operation was rejected.\n       @property adapterError\n      @public\n      @type {AdapterError}\n    */\n    get adapterError() {\n      return this.currentState.adapterError;\n    }\n    set adapterError(v) {\n      throw new Error(`adapterError is not directly settable`);\n    }\n\n    /**\n      Create a JSON representation of the record, using the serialization\n      strategy of the store's adapter.\n      `serialize` takes an optional hash as a parameter, currently\n      supported options are:\n      - `includeId`: `true` if the record's ID should be included in the\n        JSON representation.\n       @method serialize\n      @public\n      @param {Object} options\n      @return {Object} an object whose values are primitive JSON values only\n    */\n    serialize(options) {\n      return (0, _store.storeFor)(this).serializeRecord(this, options);\n    }\n\n    /*\n      We hook the default implementation to ensure\n      our tagged properties are properly notified\n      as well. We still super for everything because\n      sync observers require a direct call occuring\n      to trigger their flush. We wouldn't need to\n      super in 4.0+ where sync observers are removed.\n     */\n    notifyPropertyChange(key) {\n      let tag = peekTag(this, key);\n      if (tag) {\n        tag.notify();\n      }\n      super.notifyPropertyChange(key);\n    }\n\n    /**\n      Marks the record as deleted but does not save it. You must call\n      `save` afterwards if you want to persist it. You might use this\n      method if you want to allow the user to still `rollbackAttributes()`\n      after a delete was made.\n       Example\n       ```app/controllers/model/delete.js\n      import Controller from '@ember/controller';\n      import { action } from '@ember/object';\n       export default class ModelDeleteController extends Controller {\n        @action\n        softDelete() {\n          this.model.deleteRecord();\n        }\n         @action\n        confirm() {\n          this.model.save();\n        }\n         @action\n        undo() {\n          this.model.rollbackAttributes();\n        }\n      }\n      ```\n       @method deleteRecord\n      @public\n    */\n    deleteRecord() {\n      // ensure we've populated currentState prior to deleting a new record\n      if (this.currentState) {\n        (0, _store.storeFor)(this).deleteRecord(this);\n      }\n    }\n\n    /**\n      Same as `deleteRecord`, but saves the record immediately.\n       Example\n       ```app/controllers/model/delete.js\n      import Controller from '@ember/controller';\n      import { action } from '@ember/object';\n       export default class ModelDeleteController extends Controller {\n        @action\n        delete() {\n          this.model.destroyRecord().then(function() {\n            this.transitionToRoute('model.index');\n          });\n        }\n      }\n      ```\n       If you pass an object on the `adapterOptions` property of the options\n      argument it will be passed to your adapter via the snapshot\n       ```js\n      record.destroyRecord({ adapterOptions: { subscribe: false } });\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class PostAdapter extends MyCustomAdapter {\n        deleteRecord(store, type, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       @method destroyRecord\n      @public\n      @param {Object} options\n      @return {Promise} a promise that will be resolved when the adapter returns\n      successfully or rejected if the adapter returns with an error.\n    */\n    destroyRecord(options) {\n      const {\n        isNew\n      } = this.currentState;\n      this.deleteRecord();\n      if (isNew) {\n        return Promise.resolve(this);\n      }\n      return this.save(options).then(_ => {\n        (0, _runloop.run)(() => {\n          this.unloadRecord();\n        });\n        return this;\n      });\n    }\n\n    /**\n      Unloads the record from the store. This will not send a delete request\n      to your server, it just unloads the record from memory.\n       @method unloadRecord\n      @public\n    */\n    unloadRecord() {\n      if (this.currentState.isNew && (this.isDestroyed || this.isDestroying)) {\n        return;\n      }\n      (0, _store.storeFor)(this).unloadRecord(this);\n    }\n\n    /**\n      @method _notifyProperties\n      @private\n    */\n    _notifyProperties(keys) {\n      // changeProperties defers notifications until after the delegate\n      // and protects with a try...finally block\n      // previously used begin...endPropertyChanges but this is private API\n      changeProperties(() => {\n        let key;\n        for (let i = 0, length = keys.length; i < length; i++) {\n          key = keys[i];\n          this.notifyPropertyChange(key);\n        }\n      });\n    }\n\n    /**\n      Returns an object, whose keys are changed properties, and value is\n      an [oldProp, newProp] array.\n       The array represents the diff of the canonical state with the local state\n      of the model. Note: if the model is created locally, the canonical state is\n      empty since the adapter hasn't acknowledged the attributes yet:\n       Example\n       ```app/models/mascot.js\n      import Model, { attr } from '@ember-data/model';\n       export default class MascotModel extends Model {\n        @attr('string') name;\n        @attr('boolean', {\n          defaultValue: false\n        })\n        isAdmin;\n      }\n      ```\n       ```javascript\n      let mascot = store.createRecord('mascot');\n       mascot.changedAttributes(); // {}\n       mascot.set('name', 'Tomster');\n      mascot.changedAttributes(); // { name: [undefined, 'Tomster'] }\n       mascot.set('isAdmin', true);\n      mascot.changedAttributes(); // { isAdmin: [undefined, true], name: [undefined, 'Tomster'] }\n       mascot.save().then(function() {\n        mascot.changedAttributes(); // {}\n         mascot.set('isAdmin', false);\n        mascot.changedAttributes(); // { isAdmin: [true, false] }\n      });\n      ```\n       @method changedAttributes\n      @public\n      @return {Object} an object, whose keys are changed properties,\n        and value is an [oldProp, newProp] array.\n    */\n    changedAttributes() {\n      return (0, _private.peekCache)(this).changedAttrs((0, _store.recordIdentifierFor)(this));\n    }\n\n    /**\n      If the model `hasDirtyAttributes` this function will discard any unsaved\n      changes. If the model `isNew` it will be removed from the store.\n       Example\n       ```javascript\n      record.name; // 'Untitled Document'\n      record.set('name', 'Doc 1');\n      record.name; // 'Doc 1'\n      record.rollbackAttributes();\n      record.name; // 'Untitled Document'\n      ```\n       @since 1.13.0\n      @method rollbackAttributes\n      @public\n    */\n    rollbackAttributes() {\n      const {\n        currentState\n      } = this;\n      const {\n        isNew\n      } = currentState;\n      (0, _store.storeFor)(this)._join(() => {\n        (0, _private.peekCache)(this).rollbackAttrs((0, _store.recordIdentifierFor)(this));\n        this.errors.clear();\n        currentState.cleanErrorRequests();\n        if (isNew) {\n          this.unloadRecord();\n        }\n      });\n    }\n\n    /**\n      @method _createSnapshot\n      @private\n    */\n    // TODO @deprecate in favor of a public API or examples of how to test successfully\n    _createSnapshot() {\n      const store = (0, _store.storeFor)(this);\n      if (!store._fetchManager) {\n        const FetchManager = (0, _esCompat.default)(require(\"@ember-data/legacy-compat/-private\")).FetchManager;\n        store._fetchManager = new FetchManager(store);\n      }\n      return store._fetchManager.createSnapshot((0, _store.recordIdentifierFor)(this));\n    }\n\n    /**\n      Save the record and persist any changes to the record to an\n      external source via the adapter.\n       Example\n       ```javascript\n      record.set('name', 'Tomster');\n      record.save().then(function() {\n        // Success callback\n      }, function() {\n        // Error callback\n      });\n      ```\n      If you pass an object using the `adapterOptions` property of the options\n     argument it will be passed to your adapter via the snapshot.\n       ```js\n      record.save({ adapterOptions: { subscribe: false } });\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class PostAdapter extends MyCustomAdapter {\n        updateRecord(store, type, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       @method save\n      @public\n      @param {Object} options\n      @return {Promise} a promise that will be resolved when the adapter returns\n      successfully or rejected if the adapter returns with an error.\n    */\n    save(options) {\n      let promise;\n      if (this.currentState.isNew && this.currentState.isDeleted) {\n        promise = Promise.resolve(this);\n      } else {\n        promise = (0, _store.storeFor)(this).saveRecord(this, options);\n      }\n      {\n        return deprecatedPromiseObject(promise);\n      }\n      return promise;\n    }\n\n    /**\n      Reload the record from the adapter.\n       This will only work if the record has already finished loading.\n       Example\n       ```app/controllers/model/view.js\n      import Controller from '@ember/controller';\n      import { action } from '@ember/object';\n       export default class ViewController extends Controller {\n        @action\n        reload() {\n          this.model.reload().then(function(model) {\n          // do something with the reloaded model\n          });\n        }\n      }\n      ```\n       @method reload\n      @public\n      @param {Object} options optional, may include `adapterOptions` hash which will be passed to adapter request\n      @return {Promise} a promise that will be resolved with the record when the\n      adapter returns successfully or rejected if the adapter returns\n      with an error.\n    */\n    reload(options = {}) {\n      options.isReloading = true;\n      options.reload = true;\n      const identifier = (0, _store.recordIdentifierFor)(this);\n      (false && !(identifier.id) && (0, _debug.assert)(`You cannot reload a record without an ID`, identifier.id));\n      this.isReloading = true;\n      const promise = (0, _store.storeFor)(this).request({\n        op: 'findRecord',\n        data: {\n          options,\n          record: identifier\n        },\n        cacheOptions: {\n          [Symbol.for('ember-data:skip-cache')]: true\n        }\n      }).then(() => this).finally(() => {\n        this.isReloading = false;\n      });\n      {\n        return deprecatedPromiseObject(promise);\n      }\n      return promise;\n    }\n    attr() {\n      (false && !(false) && (0, _debug.assert)('The `attr` method is not available on Model, a Snapshot was probably expected. Are you passing a Model instead of a Snapshot to your serializer?', false));\n    }\n\n    /**\n      Get the reference for the specified belongsTo relationship.\n       Example\n       ```app/models/blog.js\n      import Model, { belongsTo } from '@ember-data/model';\n       export default class BlogModel extends Model {\n        @belongsTo('user', { async: true, inverse: null }) user;\n      }\n      ```\n       ```javascript\n      let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            user: {\n              data: { type: 'user', id: 1 }\n            }\n          }\n        }\n      });\n      let userRef = blog.belongsTo('user');\n       // check if the user relationship is loaded\n      let isLoaded = userRef.value() !== null;\n       // get the record of the reference (null if not yet available)\n      let user = userRef.value();\n       // get the identifier of the reference\n      if (userRef.remoteType() === \"id\") {\n        let id = userRef.id();\n      } else if (userRef.remoteType() === \"link\") {\n        let link = userRef.link();\n      }\n       // load user (via store.findRecord or store.findBelongsTo)\n      userRef.load().then(...)\n       // or trigger a reload\n      userRef.reload().then(...)\n       // provide data for reference\n      userRef.push({\n        type: 'user',\n        id: 1,\n        attributes: {\n          username: \"@user\"\n        }\n      }).then(function(user) {\n        userRef.value() === user;\n      });\n      ```\n       @method belongsTo\n      @public\n      @param {String} name of the relationship\n      @since 2.5.0\n      @return {BelongsToReference} reference for this relationship\n    */\n    belongsTo(name) {\n      return lookupLegacySupport(this).referenceFor('belongsTo', name);\n    }\n\n    /**\n      Get the reference for the specified hasMany relationship.\n       Example\n       ```app/models/blog.js\n      import Model, { hasMany } from '@ember-data/model';\n       export default class BlogModel extends Model {\n        @hasMany('comment', { async: true, inverse: null }) comments;\n      }\n       let blog = store.push({\n        data: {\n          type: 'blog',\n          id: 1,\n          relationships: {\n            comments: {\n              data: [\n                { type: 'comment', id: 1 },\n                { type: 'comment', id: 2 }\n              ]\n            }\n          }\n        }\n      });\n      let commentsRef = blog.hasMany('comments');\n       // check if the comments are loaded already\n      let isLoaded = commentsRef.value() !== null;\n       // get the records of the reference (null if not yet available)\n      let comments = commentsRef.value();\n       // get the identifier of the reference\n      if (commentsRef.remoteType() === \"ids\") {\n        let ids = commentsRef.ids();\n      } else if (commentsRef.remoteType() === \"link\") {\n        let link = commentsRef.link();\n      }\n       // load comments (via store.findMany or store.findHasMany)\n      commentsRef.load().then(...)\n       // or trigger a reload\n      commentsRef.reload().then(...)\n       // provide data for reference\n      commentsRef.push([{ type: 'comment', id: 1 }, { type: 'comment', id: 2 }]).then(function(comments) {\n        commentsRef.value() === comments;\n      });\n      ```\n       @method hasMany\n      @public\n      @param {String} name of the relationship\n      @since 2.5.0\n      @return {HasManyReference} reference for this relationship\n    */\n    hasMany(name) {\n      return lookupLegacySupport(this).referenceFor('hasMany', name);\n    }\n\n    /**\n     Given a callback, iterates over each of the relationships in the model,\n     invoking the callback with the name of each relationship and its relationship\n     descriptor.\n       The callback method you provide should have the following signature (all\n     parameters are optional):\n      ```javascript\n     function(name, descriptor);\n     ```\n      - `name` the name of the current property in the iteration\n     - `descriptor` the meta object that describes this relationship\n      The relationship descriptor argument is an object with the following properties.\n      - **key** <span class=\"type\">String</span> the name of this relationship on the Model\n     - **kind** <span class=\"type\">String</span> \"hasMany\" or \"belongsTo\"\n     - **options** <span class=\"type\">Object</span> the original options hash passed when the relationship was declared\n     - **parentType** <span class=\"type\">Model</span> the type of the Model that owns this relationship\n     - **type** <span class=\"type\">String</span> the type name of the related Model\n      Note that in addition to a callback, you can also pass an optional target\n     object that will be set as `this` on the context.\n      Example\n      ```app/serializers/application.js\n     import JSONSerializer from '@ember-data/serializer/json';\n      export default class ApplicationSerializer extends JSONSerializer {\n        serialize(record, options) {\n        let json = {};\n         record.eachRelationship(function(name, descriptor) {\n          if (descriptor.kind === 'hasMany') {\n            let serializedHasManyName = name.toUpperCase() + '_IDS';\n            json[serializedHasManyName] = record.get(name).map(r => r.id);\n          }\n        });\n         return json;\n      }\n    }\n     ```\n      @method eachRelationship\n      @public\n     @param {Function} callback the callback to invoke\n     @param {any} binding the value to which the callback's `this` should be bound\n     */\n    eachRelationship(callback, binding) {\n      this.constructor.eachRelationship(callback, binding);\n    }\n    relationshipFor(name) {\n      return this.constructor.relationshipsByName.get(name);\n    }\n    inverseFor(key) {\n      return this.constructor.inverseFor(key, (0, _store.storeFor)(this));\n    }\n    eachAttribute(callback, binding) {\n      this.constructor.eachAttribute(callback, binding);\n    }\n\n    /**\n      Create should only ever be called by the store. To create an instance of a\n      `Model` in a dirty state use `store.createRecord`.\n      To create instances of `Model` in a clean state, use `store.push`\n       @method create\n      @private\n      @static\n    */\n    /**\n     Represents the model's class name as a string. This can be used to look up the model's class name through\n     `Store`'s modelFor method.\n      `modelName` is generated for you by Ember Data. It will be a lowercased, dasherized string.\n     For example:\n      ```javascript\n     store.modelFor('post').modelName; // 'post'\n     store.modelFor('blog-post').modelName; // 'blog-post'\n     ```\n      The most common place you'll want to access `modelName` is in your serializer's `payloadKeyFromModelName` method. For example, to change payload\n     keys to underscore (instead of dasherized), you might use the following code:\n      ```javascript\n     import RESTSerializer from '@ember-data/serializer/rest';\n     import { underscore } from '<app-name>/utils/string-utils';\n      export default const PostSerializer = RESTSerializer.extend({\n       payloadKeyFromModelName(modelName) {\n         return underscore(modelName);\n       }\n     });\n     ```\n     @property modelName\n      @public\n     @type String\n     @readonly\n     @static\n    */\n    /*\n     These class methods below provide relationship\n     introspection abilities about relationships.\n      A note about the computed properties contained here:\n      **These properties are effectively sealed once called for the first time.**\n     To avoid repeatedly doing expensive iteration over a model's fields, these\n     values are computed once and then cached for the remainder of the runtime of\n     your application.\n      If your application needs to modify a class after its initial definition\n     (for example, using `reopen()` to add additional attributes), make sure you\n     do it before using your model with the store, which uses these properties\n     extensively.\n     */\n    /**\n     For a given relationship name, returns the model type of the relationship.\n      For example, if you define a model like this:\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n       @hasMany('comment') comments;\n     }\n     ```\n      Calling `store.modelFor('post').typeForRelationship('comments', store)` will return `Comment`.\n      @method typeForRelationship\n      @public\n     @static\n     @param {String} name the name of the relationship\n     @param {store} store an instance of Store\n     @return {Model} the type of the relationship, or undefined\n     */\n    static typeForRelationship(name, store) {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let relationship = this.relationshipsByName.get(name);\n      return relationship && store.modelFor(relationship.type);\n    }\n    static get inverseMap() {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      return Object.create(null);\n    }\n\n    /**\n     Find the relationship which is the inverse of the one asked for.\n      For example, if you define models like this:\n      ```app/models/post.js\n     import Model, { hasMany } from '@ember-data/model';\n      export default class PostModel extends Model {\n        @hasMany('message') comments;\n      }\n     ```\n      ```app/models/message.js\n     import Model, { belongsTo } from '@ember-data/model';\n      export default class MessageModel extends Model {\n        @belongsTo('post') owner;\n      }\n     ```\n      ``` js\n     store.modelFor('post').inverseFor('comments', store) // { type: App.Message, name: 'owner', kind: 'belongsTo' }\n     store.modelFor('message').inverseFor('owner', store) // { type: App.Post, name: 'comments', kind: 'hasMany' }\n     ```\n      @method inverseFor\n      @public\n     @static\n     @param {String} name the name of the relationship\n     @param {Store} store\n     @return {Object} the inverse relationship, or null\n     */\n    static inverseFor(name, store) {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let inverseMap = this.inverseMap;\n      if (inverseMap[name]) {\n        return inverseMap[name];\n      } else {\n        let inverse = this._findInverseFor(name, store);\n        inverseMap[name] = inverse;\n        return inverse;\n      }\n    }\n\n    //Calculate the inverse, ignoring the cache\n    static _findInverseFor(name, store) {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      const relationship = this.relationshipsByName.get(name);\n      const {\n        options\n      } = relationship;\n      const isPolymorphic = options.polymorphic;\n\n      //If inverse is manually specified to be null, like  `comments: hasMany('message', { inverse: null })`\n      const isExplicitInverseNull = options.inverse === null;\n      const isAbstractType = !isExplicitInverseNull && isPolymorphic && !store.getSchemaDefinitionService().doesTypeExist(relationship.type);\n      if (isExplicitInverseNull || isAbstractType) {\n        (false && !(!isPolymorphic || isExplicitInverseNull) && (0, _debug.assert)(`No schema for the abstract type '${relationship.type}' for the polymorphic relationship '${name}' on '${this.modelName}' was provided by the SchemaDefinitionService.`, !isPolymorphic || isExplicitInverseNull));\n        return null;\n      }\n      let fieldOnInverse, inverseKind, inverseRelationship, inverseOptions;\n      let inverseSchema = this.typeForRelationship(name, store);\n\n      // if the type does not exist and we are not polymorphic\n      //If inverse is specified manually, return the inverse\n      if (options.inverse !== undefined) {\n        fieldOnInverse = options.inverse;\n        inverseRelationship = inverseSchema && inverseSchema.relationshipsByName.get(fieldOnInverse);\n        (false && !(inverseRelationship) && (0, _debug.assert)(`We found no field named '${fieldOnInverse}' on the schema for '${inverseSchema.modelName}' to be the inverse of the '${name}' relationship on '${this.modelName}'. This is most likely due to a missing field on your model definition.`, inverseRelationship)); // TODO probably just return the whole inverse here\n        inverseKind = inverseRelationship.kind;\n        inverseOptions = inverseRelationship.options;\n      } else {\n        //No inverse was specified manually, we need to use a heuristic to guess one\n        if (relationship.type === relationship.parentModelName) {\n          (false && (0, _debug.warn)(`Detected a reflexive relationship named '${name}' on the schema for '${relationship.type}' without an inverse option. Look at https://guides.emberjs.com/current/models/relationships/#toc_reflexive-relations for how to explicitly specify inverses.`, false, {\n            id: 'ds.model.reflexive-relationship-without-inverse'\n          }));\n        }\n        let possibleRelationships = findPossibleInverses(this, inverseSchema, name);\n        if (possibleRelationships.length === 0) {\n          return null;\n        }\n        let explicitRelationship = possibleRelationships.find(relationship => relationship.options.inverse === name);\n        if (explicitRelationship) {\n          possibleRelationships = [explicitRelationship];\n        }\n        (false && !(possibleRelationships.length === 1) && (0, _debug.assert)(\"You defined the '\" + name + \"' relationship on \" + this + ', but multiple possible inverse relationships of type ' + this + ' were found on ' + inverseSchema + '. Look at https://guides.emberjs.com/current/models/relationships/#toc_explicit-inverses for how to explicitly specify inverses', possibleRelationships.length === 1));\n        fieldOnInverse = possibleRelationships[0].name;\n        inverseKind = possibleRelationships[0].kind;\n        inverseOptions = possibleRelationships[0].options;\n      }\n\n      // ensure inverse is properly configured\n\n      // ensure we are properly configured\n      (false && !(inverseOptions.inverse !== null) && (0, _debug.assert)(`The ${inverseSchema.modelName}:${fieldOnInverse} relationship declares 'inverse: null', but it was resolved as the inverse for ${this.modelName}:${name}.`, inverseOptions.inverse !== null));\n      return {\n        type: inverseSchema,\n        name: fieldOnInverse,\n        kind: inverseKind,\n        options: inverseOptions\n      };\n    }\n\n    /**\n     The model's relationships as a map, keyed on the type of the\n     relationship. The value of each entry is an array containing a descriptor\n     for each relationship with that type, describing the name of the relationship\n     as well as the type.\n      For example, given the following model definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n        @hasMany('post') posts;\n      }\n     ```\n      This computed property would return a map describing these\n     relationships, like this:\n      ```javascript\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog';\n     import User from 'app/models/user';\n     import Post from 'app/models/post';\n      let relationships = Blog.relationships;\n     relationships.user;\n     //=> [ { name: 'users', kind: 'hasMany' },\n     //     { name: 'owner', kind: 'belongsTo' } ]\n     relationships.post;\n     //=> [ { name: 'posts', kind: 'hasMany' } ]\n     ```\n      @property relationships\n      @public\n     @static\n     @type Map\n     @readOnly\n     */\n\n    static get relationships() {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let map = new Map();\n      let relationshipsByName = this.relationshipsByName;\n\n      // Loop through each computed property on the class\n      relationshipsByName.forEach(desc => {\n        let {\n          type\n        } = desc;\n        if (!map.has(type)) {\n          map.set(type, []);\n        }\n        map.get(type).push(desc);\n      });\n      return map;\n    }\n\n    /**\n     A hash containing lists of the model's relationships, grouped\n     by the relationship kind. For example, given a model with this\n     definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n      }\n     ```\n      This property would contain the following:\n      ```javascript\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog';\n      let relationshipNames = Blog.relationshipNames;\n     relationshipNames.hasMany;\n     //=> ['users', 'posts']\n     relationshipNames.belongsTo;\n     //=> ['owner']\n     ```\n      @property relationshipNames\n      @public\n     @static\n     @type Object\n     @readOnly\n     */\n    static get relationshipNames() {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let names = {\n        hasMany: [],\n        belongsTo: []\n      };\n      this.eachComputedProperty((name, meta) => {\n        if (meta.isRelationship) {\n          names[meta.kind].push(name);\n        }\n      });\n      return names;\n    }\n\n    /**\n     An array of types directly related to a model. Each type will be\n     included once, regardless of the number of relationships it has with\n     the model.\n      For example, given a model with this definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n      }\n     ```\n      This property would contain the following:\n      ```javascript\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog';\n      let relatedTypes = Blog.relatedTypes');\n     //=> ['user', 'post']\n     ```\n      @property relatedTypes\n      @public\n     @static\n     @type Ember.Array\n     @readOnly\n     */\n    static get relatedTypes() {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let types = [];\n      let rels = this.relationshipsObject;\n      let relationships = Object.keys(rels);\n\n      // create an array of the unique types involved\n      // in relationships\n      for (let i = 0; i < relationships.length; i++) {\n        let name = relationships[i];\n        let meta = rels[name];\n        let modelName = meta.type;\n        if (types.indexOf(modelName) === -1) {\n          types.push(modelName);\n        }\n      }\n      return types;\n    }\n\n    /**\n     A map whose keys are the relationships of a model and whose values are\n     relationship descriptors.\n      For example, given a model with this\n     definition:\n      ```app/models/blog.js\n     import Model, { belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n      }\n     ```\n      This property would contain the following:\n      ```javascript\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog';\n      let relationshipsByName = Blog.relationshipsByName;\n     relationshipsByName.users;\n     //=> { key: 'users', kind: 'hasMany', type: 'user', options: Object, isRelationship: true }\n     relationshipsByName.owner;\n     //=> { key: 'owner', kind: 'belongsTo', type: 'user', options: Object, isRelationship: true }\n     ```\n      @property relationshipsByName\n      @public\n     @static\n     @type Map\n     @readOnly\n     */\n    static get relationshipsByName() {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let map = new Map();\n      let rels = this.relationshipsObject;\n      let relationships = Object.keys(rels);\n      for (let i = 0; i < relationships.length; i++) {\n        let key = relationships[i];\n        let value = rels[key];\n        map.set(value.name || value.key, value);\n      }\n      return map;\n    }\n    static get relationshipsObject() {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let relationships = Object.create(null);\n      let modelName = this.modelName;\n      this.eachComputedProperty((name, meta) => {\n        if (meta.isRelationship) {\n          meta.key = name;\n          meta.name = name;\n          meta.parentModelName = modelName;\n          relationships[name] = relationshipFromMeta(meta);\n          (false && !(!(meta.options.inverse === null && meta.options.as?.length > 0)) && (0, _debug.assert)(`You should not specify both options.as and options.inverse as null on ${modelName}.${meta.name}, as if there is no inverse field there is no abstract type to conform to. You may have intended for this relationship to be polymorphic, or you may have mistakenly set inverse to null.`, !(meta.options.inverse === null && meta.options.as?.length > 0)));\n        }\n      });\n      return relationships;\n    }\n\n    /**\n     A map whose keys are the fields of the model and whose values are strings\n     describing the kind of the field. A model's fields are the union of all of its\n     attributes and relationships.\n      For example:\n      ```app/models/blog.js\n     import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\n      export default class BlogModel extends Model {\n        @hasMany('user') users;\n        @belongsTo('user') owner;\n         @hasMany('post') posts;\n         @attr('string') title;\n      }\n     ```\n      ```js\n     import { get } from '@ember/object';\n     import Blog from 'app/models/blog'\n      let fields = Blog.fields;\n     fields.forEach(function(kind, field) {\n        // do thing\n      });\n      // prints:\n     // users, hasMany\n     // owner, belongsTo\n     // posts, hasMany\n     // title, attribute\n     ```\n      @property fields\n      @public\n     @static\n     @type Map\n     @readOnly\n     */\n    static get fields() {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let map = new Map();\n      this.eachComputedProperty((name, meta) => {\n        // TODO end reliance on these booleans and stop leaking them in the spec\n        if (meta.isRelationship) {\n          map.set(name, meta.kind);\n        } else if (meta.isAttribute) {\n          map.set(name, 'attribute');\n        }\n      });\n      return map;\n    }\n\n    /**\n     Given a callback, iterates over each of the relationships in the model,\n     invoking the callback with the name of each relationship and its relationship\n     descriptor.\n      @method eachRelationship\n      @public\n     @static\n     @param {Function} callback the callback to invoke\n     @param {any} binding the value to which the callback's `this` should be bound\n     */\n    static eachRelationship(callback, binding) {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      this.relationshipsByName.forEach((relationship, name) => {\n        callback.call(binding, name, relationship);\n      });\n    }\n\n    /**\n     Given a callback, iterates over each of the types related to a model,\n     invoking the callback with the related type's class. Each type will be\n     returned just once, regardless of how many different relationships it has\n     with a model.\n      @method eachRelatedType\n      @public\n     @static\n     @param {Function} callback the callback to invoke\n     @param {any} binding the value to which the callback's `this` should be bound\n     */\n    static eachRelatedType(callback, binding) {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let relationshipTypes = this.relatedTypes;\n      for (let i = 0; i < relationshipTypes.length; i++) {\n        let type = relationshipTypes[i];\n        callback.call(binding, type);\n      }\n    }\n    static determineRelationshipType(knownSide, store) {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let knownKey = knownSide.key;\n      let knownKind = knownSide.kind;\n      let inverse = this.inverseFor(knownKey, store);\n      // let key;\n      let otherKind;\n      if (!inverse) {\n        return knownKind === 'belongsTo' ? 'oneToNone' : 'manyToNone';\n      }\n\n      // key = inverse.name;\n      otherKind = inverse.kind;\n      if (otherKind === 'belongsTo') {\n        return knownKind === 'belongsTo' ? 'oneToOne' : 'manyToOne';\n      } else {\n        return knownKind === 'belongsTo' ? 'oneToMany' : 'manyToMany';\n      }\n    }\n\n    /**\n     A map whose keys are the attributes of the model (properties\n     described by attr) and whose values are the meta object for the\n     property.\n      Example\n      ```app/models/person.js\n     import Model, { attr } from '@ember-data/model';\n      export default class PersonModel extends Model {\n        @attr('string') firstName;\n        @attr('string') lastName;\n        @attr('date') birthday;\n      }\n     ```\n      ```javascript\n     import { get } from '@ember/object';\n     import Person from 'app/models/person'\n      let attributes = Person.attributes\n      attributes.forEach(function(meta, name) {\n        // do thing\n      });\n      // prints:\n     // firstName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"firstName\"}\n     // lastName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"lastName\"}\n     // birthday {type: \"date\", isAttribute: true, options: Object, parentType: function, name: \"birthday\"}\n     ```\n      @property attributes\n      @public\n     @static\n     @type {Map}\n     @readOnly\n     */\n    static get attributes() {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let map = new Map();\n      this.eachComputedProperty((name, meta) => {\n        if (meta.isAttribute) {\n          (false && !(name !== 'id') && (0, _debug.assert)(\"You may not set `id` as an attribute on your model. Please remove any lines that look like: `id: attr('<type>')` from \" + this.toString(), name !== 'id'));\n          meta.name = name;\n          map.set(name, meta);\n        }\n      });\n      return map;\n    }\n\n    /**\n     A map whose keys are the attributes of the model (properties\n     described by attr) and whose values are type of transformation\n     applied to each attribute. This map does not include any\n     attributes that do not have an transformation type.\n      Example\n      ```app/models/person.js\n     import Model, { attr } from '@ember-data/model';\n      export default class PersonModel extends Model {\n        @attr firstName;\n        @attr('string') lastName;\n        @attr('date') birthday;\n      }\n     ```\n      ```javascript\n     import { get } from '@ember/object';\n     import Person from 'app/models/person';\n      let transformedAttributes = Person.transformedAttributes\n      transformedAttributes.forEach(function(field, type) {\n        // do thing\n      });\n      // prints:\n     // lastName string\n     // birthday date\n     ```\n      @property transformedAttributes\n      @public\n     @static\n     @type {Map}\n     @readOnly\n     */\n    static get transformedAttributes() {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      let map = new Map();\n      this.eachAttribute((key, meta) => {\n        if (meta.type) {\n          map.set(key, meta.type);\n        }\n      });\n      return map;\n    }\n\n    /**\n     Iterates through the attributes of the model, calling the passed function on each\n     attribute.\n      The callback method you provide should have the following signature (all\n     parameters are optional):\n      ```javascript\n     function(name, meta);\n     ```\n      - `name` the name of the current property in the iteration\n     - `meta` the meta object for the attribute property in the iteration\n      Note that in addition to a callback, you can also pass an optional target\n     object that will be set as `this` on the context.\n      Example\n      ```javascript\n     import Model, { attr } from '@ember-data/model';\n      class PersonModel extends Model {\n        @attr('string') firstName;\n        @attr('string') lastName;\n        @attr('date') birthday;\n      }\n      PersonModel.eachAttribute(function(name, meta) {\n        // do thing\n      });\n      // prints:\n     // firstName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"firstName\"}\n     // lastName {type: \"string\", isAttribute: true, options: Object, parentType: function, name: \"lastName\"}\n     // birthday {type: \"date\", isAttribute: true, options: Object, parentType: function, name: \"birthday\"}\n     ```\n      @method eachAttribute\n      @public\n     @param {Function} callback The callback to execute\n     @param {Object} [binding] the value to which the callback's `this` should be bound\n     @static\n     */\n    static eachAttribute(callback, binding) {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      this.attributes.forEach((meta, name) => {\n        callback.call(binding, name, meta);\n      });\n    }\n\n    /**\n     Iterates through the transformedAttributes of the model, calling\n     the passed function on each attribute. Note the callback will not be\n     called for any attributes that do not have an transformation type.\n      The callback method you provide should have the following signature (all\n     parameters are optional):\n      ```javascript\n     function(name, type);\n     ```\n      - `name` the name of the current property in the iteration\n     - `type` a string containing the name of the type of transformed\n     applied to the attribute\n      Note that in addition to a callback, you can also pass an optional target\n     object that will be set as `this` on the context.\n      Example\n      ```javascript\n     import Model, { attr } from '@ember-data/model';\n      let Person = Model.extend({\n        firstName: attr(),\n        lastName: attr('string'),\n        birthday: attr('date')\n      });\n      Person.eachTransformedAttribute(function(name, type) {\n        // do thing\n      });\n      // prints:\n     // lastName string\n     // birthday date\n     ```\n      @method eachTransformedAttribute\n      @public\n     @param {Function} callback The callback to execute\n     @param {Object} [binding] the value to which the callback's `this` should be bound\n     @static\n     */\n    static eachTransformedAttribute(callback, binding) {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      this.transformedAttributes.forEach((type, name) => {\n        callback.call(binding, name, type);\n      });\n    }\n\n    /**\n     Returns the name of the model class.\n      @method toString\n      @public\n     @static\n     */\n    static toString() {\n      {\n        (false && !(this.modelName) && (0, _debug.deprecate)(`Accessing schema information on Models without looking up the model via the store is deprecated. Use store.modelFor (or better Snapshots or the store.getSchemaDefinitionService() apis) instead.`, this.modelName, {\n          id: 'ember-data:deprecate-early-static',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          }\n        }));\n      }\n      return `model:${this.modelName}`;\n    }\n  }, _class2.isModel = true, _class2.modelName = null, _class2), _applyDecoratedDescriptor(_class.prototype, \"isEmpty\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"isEmpty\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isLoading\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"isLoading\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isLoaded\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"isLoaded\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"hasDirtyAttributes\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"hasDirtyAttributes\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isSaving\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"isSaving\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isDeleted\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"isDeleted\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isNew\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"isNew\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isValid\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"isValid\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"dirtyType\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"dirtyType\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"isError\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"isError\"), _class.prototype), _descriptor = _applyDecoratedDescriptor(_class.prototype, \"isReloading\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class.prototype, \"id\", [tagged], Object.getOwnPropertyDescriptor(_class.prototype, \"id\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"currentState\", [tagged], Object.getOwnPropertyDescriptor(_class.prototype, \"currentState\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"errors\", [computeOnce], Object.getOwnPropertyDescriptor(_class.prototype, \"errors\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"adapterError\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class.prototype, \"adapterError\"), _class.prototype), _applyDecoratedDescriptor(_class, \"inverseMap\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"inverseMap\"), _class), _applyDecoratedDescriptor(_class, \"relationships\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"relationships\"), _class), _applyDecoratedDescriptor(_class, \"relationshipNames\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"relationshipNames\"), _class), _applyDecoratedDescriptor(_class, \"relatedTypes\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"relatedTypes\"), _class), _applyDecoratedDescriptor(_class, \"relationshipsByName\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"relationshipsByName\"), _class), _applyDecoratedDescriptor(_class, \"relationshipsObject\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"relationshipsObject\"), _class), _applyDecoratedDescriptor(_class, \"fields\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"fields\"), _class), _applyDecoratedDescriptor(_class, \"attributes\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"attributes\"), _class), _applyDecoratedDescriptor(_class, \"transformedAttributes\", [computeOnce], Object.getOwnPropertyDescriptor(_class, \"transformedAttributes\"), _class), _class); // this is required to prevent `init` from passing\n  // the values initialized during create to `setUnknownProperty`\n  Model.prototype._createProps = null;\n  Model.prototype._secretInit = null;\n  function normalizeType$1(type) {\n    {\n      if (!type) {\n        return;\n      }\n    }\n    return (0, _string.dasherize)(type);\n  }\n  /**\n    @module @ember-data/model\n  */\n\n  /**\n    `belongsTo` is used to define One-To-One and One-To-Many\n    relationships on a [Model](/ember-data/release/classes/Model).\n  \n  \n    `belongsTo` takes an optional hash as a second parameter, currently\n    supported options are:\n  \n    - `async`: A boolean value used to explicitly declare this to be an async relationship. The default is true.\n    - `inverse`: A string used to identify the inverse property on a\n      related model in a One-To-Many relationship. See [Explicit Inverses](#explicit-inverses)\n    - `polymorphic` A boolean value to mark the relationship as polymorphic\n  \n    #### One-To-One\n    To declare a one-to-one relationship between two models, use\n    `belongsTo`:\n  \n    ```app/models/user.js\n    import Model, { belongsTo } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @belongsTo('profile') profile;\n    }\n    ```\n  \n    ```app/models/profile.js\n    import Model, { belongsTo } from '@ember-data/model';\n  \n    export default class ProfileModel extends Model {\n      @belongsTo('user') user;\n    }\n    ```\n  \n    #### One-To-Many\n  \n    To declare a one-to-many relationship between two models, use\n    `belongsTo` in combination with `hasMany`, like this:\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('comment', { async: false, inverse: 'post' }) comments;\n    }\n    ```\n  \n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n  \n    export default class CommentModel extends Model {\n      @belongsTo('post', { async: false, inverse: 'comments' }) post;\n    }\n    ```\n  \n    #### Sync relationships\n  \n    Ember Data resolves sync relationships with the related resources\n    available in its local store, hence it is expected these resources\n    to be loaded before or along-side the primary resource.\n  \n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n  \n    export default class CommentModel extends Model {\n      @belongsTo('post', {\n        async: false,\n        inverse: null\n      })\n      post;\n    }\n    ```\n  \n    In contrast to async relationship, accessing a sync relationship\n    will always return the record (Model instance) for the existing\n    local resource, or null. But it will error on access when\n    a related resource is known to exist and it has not been loaded.\n  \n    ```\n    let post = comment.post;\n  \n    ```\n  \n    @method belongsTo\n    @public\n    @static\n    @for @ember-data/model\n    @param {String} modelName (optional) type of the relationship\n    @param {Object} options (optional) a hash of options\n    @return {Ember.computed} relationship\n  */\n  function belongsTo(modelName, options) {\n    let opts = options;\n    let userEnteredModelName = modelName;\n    {\n      if (typeof modelName !== 'string' || !modelName.length) {\n        (false && !(false) && (0, _debug.deprecate)('belongsTo() must specify the string type of the related resource as the first parameter', false, {\n          id: 'ember-data:deprecate-non-strict-relationships',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n        if (typeof modelName === 'object') {\n          opts = modelName;\n          userEnteredModelName = undefined;\n        } else {\n          opts = options;\n          userEnteredModelName = modelName;\n        }\n        (false && !(typeof userEnteredModelName === 'string' || typeof userEnteredModelName === 'undefined') && (0, _debug.assert)('The first argument to belongsTo must be a string representing a model type key, not an instance of ' + typeof userEnteredModelName + \". E.g., to define a relation to the Person model, use belongsTo('person')\", typeof userEnteredModelName === 'string' || typeof userEnteredModelName === 'undefined'));\n      }\n    }\n    {\n      if (!opts || typeof opts.async !== 'boolean') {\n        opts = opts || {};\n        if (!('async' in opts)) {\n          opts.async = true;\n        }\n        (false && !(false) && (0, _debug.deprecate)('belongsTo(<type>, <options>) must specify options.async as either `true` or `false`.', false, {\n          id: 'ember-data:deprecate-non-strict-relationships',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      } else {\n        (false && !(opts && typeof opts.async === 'boolean') && (0, _debug.assert)(`Expected belongsTo options.async to be a boolean`, opts && typeof opts.async === 'boolean'));\n      }\n    }\n    {\n      if (opts.inverse !== null && (typeof opts.inverse !== 'string' || opts.inverse.length === 0)) {\n        (false && !(false) && (0, _debug.deprecate)('belongsTo(<type>, <options>) must specify options.inverse as either `null` or the name of the field on the related resource type.', false, {\n          id: 'ember-data:deprecate-non-strict-relationships',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      } else {\n        (false && !(opts.inverse === null || typeof opts.inverse === 'string' && opts.inverse.length > 0) && (0, _debug.assert)(`Expected belongsTo options.inverse to be either null or the string type of the related resource.`, opts.inverse === null || typeof opts.inverse === 'string' && opts.inverse.length > 0));\n      }\n    }\n    let meta = {\n      type: normalizeType$1(userEnteredModelName),\n      isRelationship: true,\n      options: opts,\n      kind: 'belongsTo',\n      name: 'Belongs To',\n      key: null\n    };\n    return (0, _object.computed)({\n      get(key) {\n        // this is a legacy behavior we may not carry into a new model setup\n        // it's better to error on disconnected records so users find errors\n        // in their logic.\n        if (this.isDestroying || this.isDestroyed) {\n          return null;\n        }\n        const support = lookupLegacySupport(this);\n        return support.getBelongsTo(key);\n      },\n      set(key, value) {\n        const support = lookupLegacySupport(this);\n        this.store._join(() => {\n          support.setDirtyBelongsTo(key, value);\n        });\n        return support.getBelongsTo(key);\n      }\n    }).meta(meta);\n  }\n  var belongsTo$1 = _exports.b = computedMacroWithOptionalParams(belongsTo);\n  function normalizeType(type) {\n    {\n      if (!type) {\n        return;\n      }\n    }\n    return (0, _emberInflector.singularize)((0, _string.dasherize)(type));\n  }\n\n  /**\n    `hasMany` is used to define One-To-Many and Many-To-Many\n    relationships on a [Model](/ember-data/release/classes/Model).\n  \n    `hasMany` takes an optional hash as a second parameter, currently\n    supported options are:\n  \n    - `async`: A boolean value used to explicitly declare this to be an async relationship. The default is true.\n    - `inverse`: A string used to identify the inverse property on a related model.\n    - `polymorphic` A boolean value to mark the relationship as polymorphic\n  \n    #### One-To-Many\n    To declare a one-to-many relationship between two models, use\n    `belongsTo` in combination with `hasMany`, like this:\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('comment') comments;\n    }\n    ```\n  \n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n  \n    export default class CommentModel extends Model {\n      @belongsTo('post') post;\n    }\n    ```\n  \n    #### Many-To-Many\n    To declare a many-to-many relationship between two models, use\n    `hasMany`:\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('tag') tags;\n    }\n    ```\n  \n    ```app/models/tag.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class TagModel extends Model {\n      @hasMany('post') posts;\n    }\n    ```\n  \n    You can avoid passing a string as the first parameter. In that case Ember Data\n    will infer the type from the singularized key name.\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany tags;\n    }\n    ```\n  \n    will lookup for a Tag type.\n  \n    #### Explicit Inverses\n  \n    Ember Data will do its best to discover which relationships map to\n    one another. In the one-to-many code above, for example, Ember Data\n    can figure out that changing the `comments` relationship should update\n    the `post` relationship on the inverse because post is the only\n    relationship to that model.\n  \n    However, sometimes you may have multiple `belongsTo`/`hasMany` for the\n    same type. You can specify which property on the related model is\n    the inverse using `hasMany`'s `inverse` option:\n  \n    ```app/models/comment.js\n    import Model, { belongsTo } from '@ember-data/model';\n  \n    export default class CommentModel extends Model {\n      @belongsTo('post') onePost;\n      @belongsTo('post') twoPost\n      @belongsTo('post') redPost;\n      @belongsTo('post') bluePost;\n    }\n    ```\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('comment', {\n        inverse: 'redPost'\n      })\n      comments;\n    }\n    ```\n  \n    You can also specify an inverse on a `belongsTo`, which works how\n    you'd expect.\n  \n    #### Sync relationships\n  \n    Ember Data resolves sync relationships with the related resources\n    available in its local store, hence it is expected these resources\n    to be loaded before or along-side the primary resource.\n  \n    ```app/models/post.js\n    import Model, { hasMany } from '@ember-data/model';\n  \n    export default class PostModel extends Model {\n      @hasMany('comment', {\n        async: false\n      })\n      comments;\n    }\n    ```\n  \n    In contrast to async relationship, accessing a sync relationship\n    will always return a [ManyArray](/ember-data/release/classes/ManyArray) instance\n    containing the existing local resources. But it will error on access\n    when any of the known related resources have not been loaded.\n  \n    ```\n    post.comments.forEach((comment) => {\n  \n    });\n  \n    ```\n  \n    If you are using `links` with sync relationships, you have to use\n    `ref.reload` to fetch the resources.\n  \n    @method hasMany\n    @public\n    @static\n    @for @ember-data/model\n    @param {String} type (optional) type of the relationship\n    @param {Object} options (optional) a hash of options\n    @return {Ember.computed} relationship\n  */\n  function hasMany(type, options) {\n    {\n      if (typeof type !== 'string' || !type.length) {\n        (false && !(false) && (0, _debug.deprecate)('hasMany(<type>, <options>) must specify the string type of the related resource as the first parameter', false, {\n          id: 'ember-data:deprecate-non-strict-relationships',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n        if (typeof type === 'object') {\n          options = type;\n          type = undefined;\n        }\n        (false && !(typeof type === 'string' || typeof type === 'undefined') && (0, _debug.assert)(`The first argument to hasMany must be a string representing a model type key, not an instance of ${(0, _debug.inspect)(type)}. E.g., to define a relation to the Comment model, use hasMany('comment')`, typeof type === 'string' || typeof type === 'undefined'));\n      }\n    }\n    {\n      if (!options || typeof options.async !== 'boolean') {\n        options = options || {};\n        if (!('async' in options)) {\n          options.async = true;\n        }\n        (false && !(false) && (0, _debug.deprecate)('hasMany(<type>, <options>) must specify options.async as either `true` or `false`.', false, {\n          id: 'ember-data:deprecate-non-strict-relationships',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      } else {\n        (false && !(options && typeof options.async === 'boolean') && (0, _debug.assert)(`Expected hasMany options.async to be a boolean`, options && typeof options.async === 'boolean'));\n      }\n    }\n    {\n      if (options.inverse !== null && (typeof options.inverse !== 'string' || options.inverse.length === 0)) {\n        (false && !(false) && (0, _debug.deprecate)('hasMany(<type>, <options>) must specify options.inverse as either `null` or the name of the field on the related resource type.', false, {\n          id: 'ember-data:deprecate-non-strict-relationships',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      }\n    }\n\n    // Metadata about relationships is stored on the meta of\n    // the relationship. This is used for introspection and\n    // serialization. Note that `key` is populated lazily\n    // the first time the CP is called.\n    let meta = {\n      type: normalizeType(type),\n      options,\n      isRelationship: true,\n      kind: 'hasMany',\n      name: 'Has Many',\n      key: null\n    };\n    return (0, _object.computed)({\n      get(key) {\n        if (this.isDestroying || this.isDestroyed) {\n          return (0, _array.A)();\n        }\n        return lookupLegacySupport(this).getHasMany(key);\n      },\n      set(key, records) {\n        const support = lookupLegacySupport(this);\n        const manyArray = support.getManyArray(key);\n        (false && !(Array.isArray(records)) && (0, _debug.assert)(`You must pass an array of records to set a hasMany relationship`, Array.isArray(records)));\n        this.store._join(() => {\n          manyArray.splice(0, manyArray.length, ...records);\n        });\n        return support.getHasMany(key);\n      }\n    }).meta(meta);\n  }\n  var hasMany$1 = _exports.h = computedMacroWithOptionalParams(hasMany);\n});","define(\"@ember-data/model/index\", [\"exports\", \"@ember-data/model/has-many-d45aa09e\"], function (_exports, _hasManyD45aa09e) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"attr\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.a;\n    }\n  });\n  Object.defineProperty(_exports, \"belongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.b;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.M;\n    }\n  });\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function () {\n      return _hasManyD45aa09e.h;\n    }\n  });\n});","define(\"@ember-data/request/context-e36ee987\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.S = _exports.I = void 0;\n  _exports._ = _classPrivateFieldBase;\n  _exports.a = assertValidRequest;\n  _exports.b = clearRequestResult;\n  _exports.c = cloneResponseProperties;\n  _exports.d = _classPrivateFieldKey;\n  _exports.e = executeNextHandler;\n  _exports.f = createDeferred;\n  _exports.g = getRequestResult;\n  _exports.h = getPromiseResult;\n  _exports.s = setPromiseResult;\n  _exports.u = upgradePromise;\n  function _classPrivateFieldBase(receiver, privateKey) {\n    if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {\n      throw new TypeError(\"attempted to use private field on non-instance\");\n    }\n    return receiver;\n  }\n  var id = 0;\n  function _classPrivateFieldKey(name) {\n    return \"__private_\" + id++ + \"_\" + name;\n  }\n  const BODY_TYPES = {\n    type: 'string',\n    klass: ['Blob', 'ArrayBuffer', 'TypedArray', 'DataView', 'FormData', 'URLSearchParams', 'ReadableStream']\n  };\n  const ValidKeys = new Map([['records', 'array'], ['data', 'json'], ['body', BODY_TYPES], ['disableTestWaiter', 'boolean'], ['options', 'object'], ['cacheOptions', 'object'], ['op', 'string'], ['store', 'object'], ['url', 'string'], ['cache', ['default', 'force-cache', 'no-cache', 'no-store', 'only-if-cached', 'reload']], ['credentials', ['include', 'omit', 'same-origin']], ['destination', ['', 'object', 'audio', 'audioworklet', 'document', 'embed', 'font', 'frame', 'iframe', 'image', 'manifest', 'paintworklet', 'report', 'script', 'sharedworker', 'style', 'track', 'video', 'worker', 'xslt']], ['headers', 'headers'], ['integrity', 'string'], ['keepalive', 'boolean'], ['method', ['GET', 'PUT', 'PATCH', 'DELETE', 'POST', 'OPTIONS']], ['mode', ['same-origin', 'cors', 'navigate', 'no-cors']], ['redirect', ['error', 'follow', 'manual']], ['referrer', 'string'], ['signal', 'AbortSignal'], ['controller', 'AbortController'], ['referrerPolicy', ['', 'same-origin', 'no-referrer', 'no-referrer-when-downgrade', 'origin', 'origin-when-cross-origin', 'strict-origin', 'strict-origin-when-cross-origin', 'unsafe-url']]]);\n  const IS_FROZEN = Symbol('FROZEN');\n  const IS_COLLECTION = Symbol.for('Collection');\n  function freezeHeaders(headers) {\n    headers.delete = headers.set = headers.append = () => {\n      throw new Error(`Cannot Mutate Immutatable Headers, use headers.clone to get a copy`);\n    };\n    upgradeHeaders(headers);\n    return headers;\n  }\n  function deepFreeze(value) {\n    if (value && value[IS_FROZEN]) {\n      return value;\n    }\n    const _type = typeof value;\n    switch (_type) {\n      case 'boolean':\n      case 'string':\n      case 'number':\n      case 'symbol':\n      case 'undefined':\n      case 'bigint':\n        return value;\n      case 'function':\n        throw new Error(`Cannot deep-freeze a function`);\n      case 'object':\n        {\n          const _niceType = niceTypeOf(value);\n          switch (_niceType) {\n            case 'array':\n              {\n                if (value[IS_COLLECTION]) {\n                  return value;\n                }\n                const arr = value.map(deepFreeze);\n                arr[IS_FROZEN] = true;\n                return Object.freeze(arr);\n              }\n            case 'null':\n              return value;\n            case 'object':\n              Object.keys(value).forEach(key => {\n                try {\n                  value[key] = deepFreeze(value[key]);\n                } catch {\n                  // continue\n                }\n              });\n              value[IS_FROZEN] = true;\n              return Object.freeze(value);\n            case 'headers':\n              return freezeHeaders(value);\n            case 'Collection':\n            case 'Store':\n            case 'AbortSignal':\n              return value;\n            case 'date':\n            case 'map':\n            case 'set':\n            case 'error':\n            case 'stream':\n            default:\n              // eslint-disable-next-line no-console\n              // console.log(`Cannot deep-freeze ${_niceType}`);\n              return value;\n          }\n        }\n    }\n  }\n  function isMaybeContext(request) {\n    if (request && typeof request === 'object') {\n      const keys = Object.keys(request);\n      if (keys.length === 1 && keys[0] === 'request') {\n        return true;\n      }\n    }\n    return false;\n  }\n  function niceTypeOf(v) {\n    if (v === null) {\n      return 'null';\n    }\n    if (typeof v === 'string') {\n      return v ? 'non-empty-string' : 'empty-string';\n    }\n    if (!v) {\n      return typeof v;\n    }\n    if (Array.isArray(v)) {\n      return 'array';\n    }\n    if (v instanceof Date) {\n      return 'date';\n    }\n    if (v instanceof Map) {\n      return 'map';\n    }\n    if (v instanceof Set) {\n      return 'set';\n    }\n    if (v instanceof Error) {\n      return 'error';\n    }\n    if (v instanceof ReadableStream || v instanceof WritableStream || v instanceof TransformStream) {\n      return 'stream';\n    }\n    if (v instanceof Headers) {\n      return 'headers';\n    }\n    if (typeof v === 'object' && v.constructor && v.constructor.name !== 'Object') {\n      return v.constructor.name;\n    }\n    return typeof v;\n  }\n  function validateKey(key, value, errors) {\n    const schema = ValidKeys.get(key);\n    if (!schema && !IgnoredKeys.has(key)) {\n      errors.push(`InvalidKey: '${key}'`);\n      return;\n    }\n    if (schema) {\n      if (schema === BODY_TYPES) {\n        if (typeof value === 'string' || value instanceof ReadableStream) {\n          return;\n        }\n        let type = niceTypeOf(value);\n        if (schema.klass.includes(type)) {\n          return;\n        }\n        errors.push(`InvalidValue: key 'body' should be a string or one of '${schema.klass.join(\"', '\")}', received ${'<a value of type ' + niceTypeOf(value) + '>'}`);\n        return;\n      }\n      if (Array.isArray(schema)) {\n        if (!schema.includes(value)) {\n          errors.push(`InvalidValue: key ${key} should be a one of '${schema.join(\"', '\")}', received ${typeof value === 'string' ? value : '<a value of type ' + niceTypeOf(value) + '>'}`);\n        }\n        return;\n      } else if (schema === 'json') {\n        try {\n          JSON.stringify(value);\n        } catch (e) {\n          errors.push(`InvalidValue: key ${key} should be a JSON serializable value, but failed to serialize with Error - ${e.message}`);\n        }\n        return;\n      } else if (schema === 'headers') {\n        if (!(value instanceof Headers)) {\n          errors.push(`InvalidValue: key ${key} should be an instance of Headers, received ${niceTypeOf(value)}`);\n        }\n        return;\n      } else if (schema === 'record') {\n        const _type = typeof value;\n        // record must extend plain object or Object.create(null)\n        if (!value || _type !== 'object' || value.constructor && value.constructor !== Object) {\n          errors.push(`InvalidValue: key ${key} should be a dictionary of string keys to string values, received ${niceTypeOf(value)}`);\n          return;\n        }\n        const keys = Object.keys(value);\n        keys.forEach(k => {\n          let v = value[k];\n          if (typeof k !== 'string') {\n            errors.push(`\\tThe key ${String(k)} on ${key} should be a string key`);\n          } else if (typeof v !== 'string') {\n            errors.push(`\\tThe value of ${key}.${k} should be a string not ${niceTypeOf(v)}`);\n          }\n        });\n        return;\n      } else if (schema === 'string') {\n        if (typeof value !== 'string' || value.length === 0) {\n          errors.push(`InvalidValue: key ${key} should be a non-empty string, received ${typeof value === 'string' ? \"''\" : typeof value}`);\n        }\n        return;\n      } else if (schema === 'object') {\n        if (!value || Array.isArray(value) || typeof value !== 'object') {\n          errors.push(`InvalidValue: key ${key} should be an object`);\n        }\n        return;\n      } else if (schema === 'boolean') {\n        if (typeof value !== 'boolean') {\n          errors.push(`InvalidValue: key ${key} should be a boolean, received ${typeof value}`);\n        }\n        return;\n      } else if (schema === 'array') {\n        if (!Array.isArray(value)) {\n          errors.push(`InvalidValue: key ${key} should be an array, received ${typeof value}`);\n        }\n        return;\n      }\n    }\n  }\n  const IgnoredKeys = new Set([]);\n  function assertValidRequest(request, isTopLevel) {}\n  const PromiseCache = new WeakMap();\n  const RequestMap = new Map();\n  function setRequestResult(requestId, result) {\n    RequestMap.set(requestId, result);\n  }\n  function clearRequestResult(requestId) {\n    RequestMap.delete(requestId);\n  }\n  function getRequestResult(requestId) {\n    return RequestMap.get(requestId);\n  }\n  function setPromiseResult(promise, result) {\n    PromiseCache.set(promise, result);\n  }\n  function getPromiseResult(promise) {\n    return PromiseCache.get(promise);\n  }\n  const STRUCTURED = Symbol('DOC');\n  const IS_CACHE_HANDLER = _exports.I = Symbol('IS_CACHE_HANDLER');\n  function curryFuture(owner, inbound, outbound) {\n    owner.setStream(inbound.getStream());\n    inbound.then(doc => {\n      const document = {\n        [STRUCTURED]: true,\n        request: owner.request,\n        response: doc.response,\n        content: doc.content\n      };\n      outbound.resolve(document);\n    }, error => {\n      if (isDoc(error)) {\n        owner.setStream(owner.god.stream);\n      }\n      if (!error || !(error instanceof Error)) {\n        try {\n          throw new Error(error ? error : `Request Rejected with an Unknown Error`);\n        } catch (e) {\n          if (error && typeof error === 'object') {\n            Object.assign(e, error);\n            e.message = error.message || `Request Rejected with an Unknown Error`;\n          }\n          error = e;\n        }\n      }\n      error[STRUCTURED] = true;\n      error.request = owner.request;\n      error.response = owner.getResponse();\n      error.error = error.error || error.message;\n      outbound.reject(error);\n    });\n    return outbound.promise;\n  }\n  function isDoc(doc) {\n    return doc && doc[STRUCTURED] === true;\n  }\n  function enhanceReason(reason) {\n    return new DOMException(reason || 'The user aborted a request.', 'AbortError');\n  }\n  function handleOutcome(owner, inbound, outbound) {\n    inbound.then(content => {\n      if (owner.controller.signal.aborted) {\n        // the next function did not respect the signal, we handle it here\n        outbound.reject(enhanceReason(owner.controller.signal.reason));\n        return;\n      }\n      if (isDoc(content)) {\n        owner.setStream(owner.god.stream);\n        content = content.content;\n      }\n      const document = {\n        [STRUCTURED]: true,\n        request: owner.request,\n        response: owner.getResponse(),\n        content\n      };\n      outbound.resolve(document);\n    }, error => {\n      if (isDoc(error)) {\n        owner.setStream(owner.god.stream);\n      }\n      if (!error || !(error instanceof Error)) {\n        try {\n          throw new Error(error ? error : `Request Rejected with an Unknown Error`);\n        } catch (e) {\n          if (error && typeof error === 'object') {\n            Object.assign(e, error);\n            e.message = error.message || `Request Rejected with an Unknown Error`;\n          }\n          error = e;\n        }\n      }\n      error[STRUCTURED] = true;\n      error.request = owner.request;\n      error.response = owner.getResponse();\n      error.error = error.error || error.message;\n      outbound.reject(error);\n    });\n    return outbound.promise;\n  }\n  function isCacheHandler(handler, index) {\n    return index === 0 && Boolean(handler[IS_CACHE_HANDLER]);\n  }\n  function executeNextHandler(wares, request, i, god) {\n    const owner = new ContextOwner(request, god, i === 0);\n    function next(r) {\n      owner.nextCalled++;\n      return executeNextHandler(wares, r, i + 1, god);\n    }\n    const context = new Context(owner);\n    let outcome;\n    try {\n      outcome = wares[i].request(context, next);\n      // eslint-disable-next-line @typescript-eslint/no-misused-promises\n      if (!!outcome && isCacheHandler(wares[i], i)) {\n        if (!(outcome instanceof Promise)) {\n          setRequestResult(owner.requestId, {\n            isError: false,\n            result: outcome\n          });\n          outcome = Promise.resolve(outcome);\n        }\n      }\n    } catch (e) {\n      if (isCacheHandler(wares[i], i)) {\n        setRequestResult(owner.requestId, {\n          isError: true,\n          result: e\n        });\n      }\n      outcome = Promise.reject(e);\n    }\n    const future = createFuture(owner);\n    if (isFuture(outcome)) {\n      return curryFuture(owner, outcome, future);\n    }\n    return handleOutcome(owner, outcome, future);\n  }\n  const IS_FUTURE = Symbol('IS_FUTURE');\n  function isFuture(maybe) {\n    return Boolean(maybe && maybe instanceof Promise && maybe[IS_FUTURE] === true);\n  }\n  function createDeferred() {\n    let resolve;\n    let reject;\n    const promise = new Promise((res, rej) => {\n      resolve = res;\n      reject = rej;\n    });\n    return {\n      resolve,\n      reject,\n      promise\n    };\n  }\n  function upgradePromise(promise, future) {\n    promise[IS_FUTURE] = true;\n    // eslint-disable-next-line @typescript-eslint/unbound-method\n    promise.getStream = future.getStream;\n    // eslint-disable-next-line @typescript-eslint/unbound-method\n    promise.abort = future.abort;\n    // eslint-disable-next-line @typescript-eslint/unbound-method\n    promise.onFinalize = future.onFinalize;\n    return promise;\n  }\n  function createFuture(owner) {\n    const deferred = createDeferred();\n    let {\n      promise\n    } = deferred;\n    let cbs;\n    promise = promise.finally(() => {\n      owner.resolveStream();\n      if (cbs) {\n        cbs.forEach(cb => cb());\n      }\n    });\n    promise.onFinalize = fn => {\n      cbs = cbs || [];\n      cbs.push(fn);\n    };\n    promise[IS_FUTURE] = true;\n    promise.getStream = () => {\n      return owner.getStream();\n    };\n    promise.abort = reason => {\n      owner.abort(enhanceReason(reason));\n    };\n    deferred.promise = promise;\n    return deferred;\n  }\n\n  /* eslint-disable no-irregular-whitespace */\n  /**\n   * @module @ember-data/request\n   */\n\n  /**\n   * A Future is a Promise which resolves to a StructuredDocument\n   * while providing the ability to `abort` the underlying request,\n   * `getStream` the response before the outer promise resolves;\n   *\n   * @class Future\n   * @extends Promise\n   * @public\n   */\n\n  const SkipCache = _exports.S = Symbol.for('ember-data:skip-cache');\n\n  /**\n   * Requests are fulfilled by handlers. A handler receives the request context\n  as well as a `next` function with which to pass along a request to the next\n  handler if it so chooses.\n  \n  A handler may be any object with a `request` method. This allows both stateful and non-stateful\n  handlers to be utilized.\n  \n  If a handler calls `next`, it receives a `Future` which resolves to a `StructuredDocument`\n  that it can then compose how it sees fit with its own response.\n  \n  ```ts\n  type NextFn<P> = (req: RequestInfo) => Future<P>;\n  \n  interface Handler {\n    async request<T>(context: RequestContext, next: NextFn<P>): T;\n  }\n  ```\n  \n  `RequestContext` contains a readonly version of the RequestInfo as well as a few methods for building up the `StructuredDocument` and `Future` that will be part of the response.\n  \n  ```ts\n  interface RequestContext<T> {\n    readonly request: RequestInfo;\n  \n    setStream(stream: ReadableStream | Promise<ReadableStream>): void;\n    setResponse(response: Response | ResponseInfo): void;\n  }\n  ```\n  \n  A basic `fetch` handler with support for streaming content updates while\n  the download is still underway might look like the following, where we use\n  [`response.clone()`](https://developer.mozilla.org/en-US/docs/Web/API/Response/clone) to `tee` the `ReadableStream` into two streams.\n  \n  A more efficient handler might read from the response stream, building up the\n  response content before passing along the chunk downstream.\n  \n  ```ts\n  const FetchHandler = {\n    async request(context) {\n      const response = await fetch(context.request);\n      context.setResponse(reponse);\n      context.setStream(response.clone().body);\n  \n      return response.json();\n    }\n  }\n  ```\n  \n  ### Stream Currying\n  \n  `RequestManager.request` and `next` differ from `fetch` in one **crucial detail** in that the outer Promise resolves only once the response stream has been processed.\n  \n  For context, it helps to understand a few of the use-cases that RequestManager\n  is intended to allow.\n  \n   - to manage and return streaming content (such as video files)\n   - to fulfill a request from multiple sources or by splitting one request into multiple requests\n     - for instance one API call for a user and another for the user's friends\n     - or e.g. fulfilling part of the request from one source (one API, in-memory, localStorage, IndexedDB etc.) and the rest from another source (a different API, a WebWorker, etc.)\n   - to coalesce multiple requests\n   - to decorate a request with additional info\n     - e.g. an Auth handler that ensures the correct tokens or headers or cookies are attached.\n  \n  ----\n  \n  `await fetch(<req>)` resolves at the moment headers are received. This allows for the body of the request to be processed as a stream by application\n  code *while chunks are still being received by the browser*.\n  \n  When an app chooses to `await response.json()` what occurs is the browser reads the stream to completion and then returns the result. Additionally, this stream may only be read **once**.\n  \n  The `RequestManager` preserves this ability to subscribe to and utilize the stream by either the application or the handler – thereby delivering the full power and flexibility of native APIs – without restricting developers in ways that lead to complicated workarounds.\n  \n  Each handler may call `setStream` only once, but may do so *at any time* until the promise that the handler returns has resolved. The associated promise returned by calling `future.getStream` will resolve with the stream set by `setStream` if that method is called, or `null` if that method\n  has not been called by the time that the handler's request method has resolved.\n  \n  Handlers that do not create a stream of their own, but which call `next`, should defensively pipe the stream forward. While this is not required (see automatic currying below) it is better to do so in most cases as otherwise the stream may not become available to downstream handlers or the application until the upstream handler has fully read it.\n  \n  ```ts\n  context.setStream(future.getStream());\n  ```\n  \n  Handlers that either call `next` multiple times or otherwise have reason to create multiple  fetch requests should either choose to return no stream, meaningfully combine the streams, or select a single prioritized stream.\n  \n  Of course, any handler may choose to read and handle the stream, and return either no stream or a different stream in the process.\n  \n  ### Automatic Currying of Stream and Response\n  \n  In order to simplify the common case for handlers which decorate a request, if `next` is called only a single time and `setResponse` was never called by the handler, the response set by the next handler in the chain will be applied to that handler's outcome. For instance, this makes the following pattern possible `return (await next(<req>)).content;`.\n  \n  Similarly, if `next` is called only a single time and neither `setStream` nor `getStream` was called, we automatically curry the stream from the future returned by `next` onto the future returned by the handler.\n  \n  Finally, if the return value of a handler is a `Future`, we curry `content` and `errors` as well, thus enabling the simplest form `return next(<req>)`.\n  \n  In the case of the `Future` being returned, `Stream` proxying is automatic and immediate and does not wait for the `Future` to resolve.\n  \n  ### Handler Order\n  \n  Request handlers are registered by configuring the manager via `use`\n  \n  ```ts\n  const manager = new RequestManager();\n  \n  manager.use([Handler1, Handler2]);\n  ```\n  \n  Handlers will be invoked in the order they are registered (\"fifo\", first-in first-out), and may only be registered up until the first request is made. It is recommended but not required to register all handlers at one time in order to ensure explicitly visible handler ordering.\n  \n  \n   @class <Interface> Handler\n   @public\n  */\n\n  /**\n   * The CacheHandler is identical to other handlers ecxept that it\n   * is allowed to return a value synchronously. This is useful for\n   * features like reducing microtask queueing when de-duping.\n   *\n   * A RequestManager may only have one CacheHandler, registered via\n   * `manager.useCache(CacheHandler)`.\n   *\n   * @class <Interface> CacheHandler\n   * @public\n   */\n\n  function upgradeHeaders(headers) {\n    headers.clone = () => {\n      return new Headers(headers);\n    };\n    headers.toJSON = () => {\n      return Array.from(headers);\n    };\n    return headers;\n  }\n  function cloneResponseProperties(response) {\n    const {\n      headers,\n      ok,\n      redirected,\n      status,\n      statusText,\n      type,\n      url\n    } = response;\n    upgradeHeaders(headers);\n    return {\n      headers: headers,\n      ok,\n      redirected,\n      status,\n      statusText,\n      type,\n      url\n    };\n  }\n  class ContextOwner {\n    constructor(request, god, isRoot = false) {\n      this.hasSetStream = false;\n      this.hasSetResponse = false;\n      this.hasSubscribers = false;\n      this.stream = createDeferred();\n      this.response = null;\n      this.nextCalled = 0;\n      this.isRoot = isRoot;\n      this.requestId = god.id;\n      this.controller = request.controller || god.controller;\n      this.stream.promise.sizeHint = 0;\n      if (request.controller) {\n        if (request.controller !== god.controller) {\n          god.controller.signal.addEventListener('abort', () => {\n            this.controller.abort(god.controller.signal.reason);\n          });\n        }\n        delete request.controller;\n      }\n      let enhancedRequest = Object.assign({\n        signal: this.controller.signal\n      }, request);\n      {\n        if (request.headers) {\n          upgradeHeaders(request.headers);\n        }\n      }\n      this.enhancedRequest = enhancedRequest;\n      this.request = request;\n      this.god = god;\n      this.stream.promise = this.stream.promise.then(stream => {\n        if (this.god.stream === stream && this.hasSubscribers) {\n          this.god.stream = null;\n        }\n        return stream;\n      });\n    }\n    get hasRequestedStream() {\n      return this.god.hasRequestedStream;\n    }\n    getResponse() {\n      if (this.hasSetResponse) {\n        return this.response;\n      }\n      if (this.nextCalled === 1) {\n        return this.god.response;\n      }\n      return null;\n    }\n    getStream() {\n      if (this.isRoot) {\n        this.god.hasRequestedStream = true;\n      }\n      if (!this.hasSetResponse) {\n        const hint = this.god.response?.headers?.get('content-length');\n        this.stream.promise.sizeHint = hint ? parseInt(hint, 10) : 0;\n      }\n      this.hasSubscribers = true;\n      return this.stream.promise;\n    }\n    abort(reason) {\n      this.controller.abort(reason);\n    }\n    setStream(stream) {\n      if (!this.hasSetStream) {\n        this.hasSetStream = true;\n        if (!(stream instanceof Promise)) {\n          this.god.stream = stream;\n        }\n        // @ts-expect-error\n        this.stream.resolve(stream);\n      }\n    }\n    resolveStream() {\n      this.setStream(this.nextCalled === 1 ? this.god.stream : null);\n    }\n    setResponse(response) {\n      if (this.hasSetResponse) {\n        return;\n      }\n      this.hasSetResponse = true;\n      if (response instanceof Response) {\n        // TODO potentially avoid cloning in prod\n        let responseData = cloneResponseProperties(response);\n        this.response = responseData;\n        this.god.response = responseData;\n        const sizeHint = response.headers?.get('content-length');\n        this.stream.promise.sizeHint = sizeHint ? parseInt(sizeHint, 10) : 0;\n      } else {\n        this.response = response;\n        this.god.response = response;\n      }\n    }\n  }\n  var _owner = /*#__PURE__*/_classPrivateFieldKey(\"owner\");\n  class Context {\n    constructor(owner) {\n      Object.defineProperty(this, _owner, {\n        writable: true,\n        value: void 0\n      });\n      this.id = owner.requestId;\n      _classPrivateFieldBase(this, _owner)[_owner] = owner;\n      this.request = owner.enhancedRequest;\n    }\n    setStream(stream) {\n      _classPrivateFieldBase(this, _owner)[_owner].setStream(stream);\n    }\n    setResponse(response) {\n      _classPrivateFieldBase(this, _owner)[_owner].setResponse(response);\n    }\n    get hasRequestedStream() {\n      return _classPrivateFieldBase(this, _owner)[_owner].hasRequestedStream;\n    }\n  }\n});","define(\"@ember-data/request/fetch\", [\"exports\", \"@ember-data/request/context-e36ee987\"], function (_exports, _contextE36ee) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // Lazily close over fetch to avoid breaking Mirage\n  const _fetch = typeof fetch !== 'undefined' ? (...args) => fetch(...args) : typeof FastBoot !== 'undefined' ? (...args) => FastBoot.require('node-fetch')(...args) : () => {\n    throw new Error('No Fetch Implementation Found');\n  };\n\n  // clones a response in a way that should still\n  // allow it to stream\n  function cloneResponse(response, overrides) {\n    const props = (0, _contextE36ee.c)(response);\n    return new Response(response.body, Object.assign(props, overrides));\n  }\n  let IS_MAYBE_MIRAGE = () => false;\n  const MUTATION_OPS = new Set(['updateRecord', 'createRecord', 'deleteRecord']);\n  const ERROR_STATUS_CODE_FOR = new Map([[400, 'Bad Request'], [401, 'Unauthorized'], [402, 'Payment Required'], [403, 'Forbidden'], [404, 'Not Found'], [405, 'Method Not Allowed'], [406, 'Not Acceptable'], [407, 'Proxy Authentication Required'], [408, 'Request Timeout'], [409, 'Conflict'], [410, 'Gone'], [411, 'Length Required'], [412, 'Precondition Failed'], [413, 'Payload Too Large'], [414, 'URI Too Long'], [415, 'Unsupported Media Type'], [416, 'Range Not Satisfiable'], [417, 'Expectation Failed'], [419, 'Page Expired'], [420, 'Enhance Your Calm'], [421, 'Misdirected Request'], [422, 'Unprocessable Entity'], [423, 'Locked'], [424, 'Failed Dependency'], [425, 'Too Early'], [426, 'Upgrade Required'], [428, 'Precondition Required'], [429, 'Too Many Requests'], [430, 'Request Header Fields Too Large'], [431, 'Request Header Fields Too Large'], [450, 'Blocked By Windows Parental Controls'], [451, 'Unavailable For Legal Reasons'], [500, 'Internal Server Error'], [501, 'Not Implemented'], [502, 'Bad Gateway'], [503, 'Service Unavailable'], [504, 'Gateway Timeout'], [505, 'HTTP Version Not Supported'], [506, 'Variant Also Negotiates'], [507, 'Insufficient Storage'], [508, 'Loop Detected'], [509, 'Bandwidth Limit Exceeded'], [510, 'Not Extended'], [511, 'Network Authentication Required']]);\n\n  /**\n   * A basic handler which converts a request into a\n   * `fetch` call presuming the response to be `json`.\n   *\n   * ```ts\n   * import Fetch from '@ember-data/request/fetch';\n   *\n   * manager.use([Fetch]);\n   * ```\n   *\n   * @class Fetch\n   * @public\n   */\n  const Fetch = _exports.default = {\n    async request(context) {\n      let response;\n      try {\n        response = await _fetch(context.request.url, context.request);\n      } catch (e) {\n        if (e instanceof DOMException && e.name === 'AbortError') {\n          e.statusText = 'Aborted';\n          e.status = 20;\n          e.isRequestError = true;\n        } else {\n          e.statusText = 'Unknown Network Error';\n          e.status = 0;\n          e.isRequestError = true;\n        }\n        throw e;\n      }\n      const isError = !response.ok || response.status >= 400;\n      const op = context.request.op;\n      const isMutationOp = Boolean(op && MUTATION_OPS.has(op));\n      if (!isError && !isMutationOp && response.status !== 204 && !response.headers.has('date')) {\n        if (IS_MAYBE_MIRAGE()) {\n          response.headers.set('date', new Date().toUTCString());\n        } else {\n          const headers = new Headers(response.headers);\n          headers.set('date', new Date().toUTCString());\n          response = cloneResponse(response, {\n            headers\n          });\n        }\n      }\n      context.setResponse(response);\n      if (response.status === 204) {\n        return null;\n      }\n      let text = '';\n      // if we are in a mirage context, we cannot support streaming\n      if (IS_MAYBE_MIRAGE()) {\n        text = await response.text();\n      } else {\n        const reader = response.body.getReader();\n        const decoder = new TextDecoder();\n        let isStreaming = context.hasRequestedStream;\n        let stream = isStreaming ? new TransformStream() : null;\n        let writer = stream?.writable.getWriter();\n        if (isStreaming) {\n          // Listen for the abort event on the AbortSignal\n          context.request.signal?.addEventListener('abort', () => {\n            if (!isStreaming) {\n              return;\n            }\n            void stream.writable.abort('Request Aborted');\n            void stream.readable.cancel('Request Aborted');\n          });\n          context.setStream(stream.readable);\n        }\n\n        // eslint-disable-next-line no-constant-condition\n        while (true) {\n          // we manually read the stream instead of using `response.json()`\n          // or `response.text()` because if we need to stream the body\n          // we need to be able to pass the stream along efficiently.\n          const {\n            done,\n            value\n          } = await reader.read();\n          if (done) {\n            if (isStreaming) {\n              isStreaming = false;\n              await writer.ready;\n              await writer.close();\n            }\n            break;\n          }\n          text += decoder.decode(value, {\n            stream: true\n          });\n\n          // if we are streaming, we want to pass the stream along\n          if (isStreaming) {\n            await writer.ready;\n            await writer.write(value);\n          } else if (context.hasRequestedStream) {\n            const encode = new TextEncoder();\n            isStreaming = true;\n            stream = new TransformStream();\n            // Listen for the abort event on the AbortSignal\n            // eslint-disable-next-line @typescript-eslint/no-loop-func\n            context.request.signal?.addEventListener('abort', () => {\n              if (!isStreaming) {\n                return;\n              }\n              void stream.writable.abort('Request Aborted');\n              void stream.readable.cancel('Request Aborted');\n            });\n            context.setStream(stream.readable);\n            writer = stream.writable.getWriter();\n            await writer.ready;\n            await writer.write(encode.encode(text));\n            await writer.ready;\n            await writer.write(value);\n          }\n        }\n        if (isStreaming) {\n          isStreaming = false;\n          await writer.ready;\n          await writer.close();\n        }\n      }\n      // if we are an error, we will want to throw\n      if (isError) {\n        let errorPayload;\n        try {\n          errorPayload = JSON.parse(text);\n        } catch {\n          // void;\n        }\n        // attempt errors discovery\n        const errors = Array.isArray(errorPayload) ? errorPayload : isDict(errorPayload) && Array.isArray(errorPayload.errors) ? errorPayload.errors : null;\n        const statusText = response.statusText || ERROR_STATUS_CODE_FOR.get(response.status) || 'Unknown Request Error';\n        const msg = `[${response.status} ${statusText}] ${context.request.method ?? 'GET'} (${response.type}) - ${response.url}`;\n        const error = errors ? new AggregateError(errors, msg) : new Error(msg);\n        error.status = response.status;\n        error.statusText = statusText;\n        error.isRequestError = true;\n        error.code = error.status;\n        error.name = error.statusText.replaceAll(' ', '') + 'Error';\n        error.content = errorPayload;\n        throw error;\n      } else {\n        return JSON.parse(text);\n      }\n    }\n  };\n  function isDict(v) {\n    return v !== null && typeof v === 'object';\n  }\n});","define(\"@ember-data/request/index\", [\"exports\", \"@ember-data/request/context-e36ee987\"], function (_exports, _contextE36ee) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"SkipCache\", {\n    enumerable: true,\n    get: function () {\n      return _contextE36ee.S;\n    }\n  });\n  Object.defineProperty(_exports, \"createDeferred\", {\n    enumerable: true,\n    get: function () {\n      return _contextE36ee.f;\n    }\n  });\n  _exports.default = void 0;\n  Object.defineProperty(_exports, \"getPromiseResult\", {\n    enumerable: true,\n    get: function () {\n      return _contextE36ee.h;\n    }\n  });\n  Object.defineProperty(_exports, \"setPromiseResult\", {\n    enumerable: true,\n    get: function () {\n      return _contextE36ee.s;\n    }\n  });\n  let REQ_ID = 0;\n  /**\n   * ```js\n   * import RequestManager from '@ember-data/request';\n   * ```\n   *\n   * A RequestManager provides a request/response flow in which configured\n   * handlers are successively given the opportunity to handle, modify, or\n   * pass-along a request.\n   *\n   * ```ts\n   * interface RequestManager {\n   *   request<T>(req: RequestInfo): Future<T>;\n   * }\n   * ```\n   *\n   * For example:\n   *\n   * ```ts\n   * import RequestManager from '@ember-data/request';\n   * import Fetch from '@ember-data/request/fetch';\n   * import Auth from 'ember-simple-auth/ember-data-handler';\n   * import Config from './config';\n   *\n   * const { apiUrl } = Config;\n   *\n   * // ... create manager\n   * const manager = new RequestManager();\n   * manager.use([Auth, Fetch]);\n   *\n   * // ... execute a request\n   * const response = await manager.request({\n   *   url: `${apiUrl}/users`\n   * });\n   * ```\n   *\n   * ### Futures\n   *\n   * The return value of `manager.request` is a `Future`, which allows\n   * access to limited information about the request while it is still\n   * pending and fulfills with the final state when the request completes.\n   *\n   * A `Future` is cancellable via `abort`.\n   *\n   * Handlers may optionally expose a `ReadableStream` to the `Future` for\n   * streaming data; however, when doing so the future should not resolve\n   * until the response stream is fully read.\n   *\n   * ```ts\n   * interface Future<T> extends Promise<StructuredDocument<T>> {\n   *   abort(): void;\n   *\n   *   async getStream(): ReadableStream | null;\n   * }\n   * ```\n   *\n   * ### StructuredDocuments\n   *\n   * A Future resolves with a `StructuredDataDocument` or rejects with a `StructuredErrorDocument`.\n   *\n   * ```ts\n   * interface StructuredDataDocument<T> {\n   *   request: ImmutableRequestInfo;\n   *   response: ImmutableResponseInfo;\n   *   content: T;\n   * }\n   * interface StructuredErrorDocument extends Error {\n   *   request: ImmutableRequestInfo;\n   *   response: ImmutableResponseInfo;\n   *   error: string | object;\n   * }\n   * type StructuredDocument<T> = StructuredDataDocument<T> | StructuredErrorDocument;\n   * ```\n   *\n   * @class RequestManager\n   * @public\n   */\n  var _handlers = /*#__PURE__*/(0, _contextE36ee.d)(\"handlers\");\n  class RequestManager {\n    constructor(options) {\n      Object.defineProperty(this, _handlers, {\n        writable: true,\n        value: []\n      });\n      Object.assign(this, options);\n      this._pending = new Map();\n    }\n\n    /**\n     * Register a handler to use for primary cache intercept.\n     *\n     * Only one such handler may exist. If using the same\n     * RequestManager as the Store instance the Store\n     * registers itself as a Cache handler.\n     *\n     * @method useCache\n     * @public\n     * @param {Handler[]} cacheHandler\n     * @return {void}\n     */\n    useCache(cacheHandler) {\n      cacheHandler[_contextE36ee.I] = true;\n      (0, _contextE36ee._)(this, _handlers)[_handlers].unshift(cacheHandler);\n    }\n\n    /**\n     * Register handler(s) to use when a request is issued.\n     *\n     * Handlers will be invoked in the order they are registered.\n     * Each Handler is given the opportunity to handle the request,\n     * curry the request, or pass along a modified request.\n     *\n     * @method use\n     * @public\n     * @param {Handler[]} newHandlers\n     * @return {void}\n     */\n    use(newHandlers) {\n      const handlers = (0, _contextE36ee._)(this, _handlers)[_handlers];\n      handlers.push(...newHandlers);\n    }\n\n    /**\n     * Issue a Request.\n     *\n     * Returns a Future that fulfills with a StructuredDocument\n     *\n     * @method request\n     * @public\n     * @param {RequestInfo} request\n     * @return {Future}\n     */\n    request(request) {\n      const handlers = (0, _contextE36ee._)(this, _handlers)[_handlers];\n      const controller = request.controller || new AbortController();\n      if (request.controller) {\n        delete request.controller;\n      }\n      const requestId = REQ_ID++;\n      const promise = (0, _contextE36ee.e)(handlers, request, 0, {\n        controller,\n        response: null,\n        stream: null,\n        hasRequestedStream: false,\n        id: requestId\n      });\n\n      // the cache handler will set the result of the request synchronously\n      // if it is able to fulfill the request from the cache\n      const cacheResult = (0, _contextE36ee.g)(requestId);\n      // const promise1 = store.request(myRequest);\n      // const promise2 = store.request(myRequest);\n      // promise1 === promise2; // false\n      // either we need to make promise1 === promise2, or we need to make sure that\n      // we need to have a way to key from request to result\n      // such that we can lookup the result here and return it if it exists\n      const finalPromise = (0, _contextE36ee.u)(promise.then(result => {\n        (0, _contextE36ee.s)(finalPromise, {\n          isError: false,\n          result\n        });\n        (0, _contextE36ee.b)(requestId);\n        return result;\n      }, error => {\n        (0, _contextE36ee.s)(finalPromise, {\n          isError: true,\n          result: error\n        });\n        (0, _contextE36ee.b)(requestId);\n        throw error;\n      }), promise);\n      if (cacheResult) {\n        (0, _contextE36ee.s)(finalPromise, cacheResult);\n      }\n      return finalPromise;\n    }\n    static create(options) {\n      return new this(options);\n    }\n  }\n  _exports.default = RequestManager;\n});","define(\"@ember-data/serializer/-private\", [\"exports\", \"@ember-data/serializer/embedded-records-mixin-d75385ff\", \"@ember/object\"], function (_exports, _embeddedRecordsMixinD75385ff, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.DateTransform = _exports.BooleanTransform = void 0;\n  Object.defineProperty(_exports, \"EmbeddedRecordsMixin\", {\n    enumerable: true,\n    get: function () {\n      return _embeddedRecordsMixinD75385ff.e;\n    }\n  });\n  _exports.StringTransform = _exports.NumberTransform = void 0;\n  Object.defineProperty(_exports, \"Transform\", {\n    enumerable: true,\n    get: function () {\n      return _object.default;\n    }\n  });\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n    The `BooleanTransform` class is used to serialize and deserialize\n    boolean attributes on Ember Data record objects. This transform is\n    used when `boolean` is passed as the type parameter to the\n    [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function.\n  \n    Usage\n  \n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @attr('boolean') isAdmin;\n      @attr('string') name;\n      @attr('string') email;\n    }\n    ```\n  \n    By default, the boolean transform only allows for values of `true` or\n    `false`. You can opt into allowing `null` values for\n    boolean attributes via `attr('boolean', { allowNull: true })`\n  \n    ```app/models/user.js\n    import Model, { attr } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @attr('string') email;\n      @attr('string') username;\n      @attr('boolean', { allowNull: true }) wantsWeeklyEmail;\n    }\n    ```\n  \n    @class BooleanTransform\n    @public\n   */\n  class BooleanTransform {\n    deserialize(serialized, options) {\n      if ((serialized === null || serialized === undefined) && options.allowNull === true) {\n        return null;\n      }\n      let type = typeof serialized;\n      if (type === 'boolean') {\n        return serialized;\n      } else if (type === 'string') {\n        return /^(true|t|1)$/i.test(serialized);\n      } else if (type === 'number') {\n        return serialized === 1;\n      } else {\n        return false;\n      }\n    }\n    serialize(deserialized, options) {\n      if ((deserialized === null || deserialized === undefined) && options.allowNull === true) {\n        return null;\n      }\n      return Boolean(deserialized);\n    }\n    static create() {\n      return new this();\n    }\n  }\n\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n   The `DateTransform` class is used to serialize and deserialize\n   date attributes on Ember Data record objects. This transform is used\n   when `date` is passed as the type parameter to the\n   [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function. It uses the [`ISO 8601`](https://en.wikipedia.org/wiki/ISO_8601)\n   standard.\n  \n   ```app/models/score.js\n   import Model, { attr, belongsTo } from '@ember-data/model';\n  \n   export default class ScoreModel extends Model {\n      @attr('number') value;\n      @belongsTo('player') player;\n      @attr('date') date;\n    }\n   ```\n  \n   @class DateTransform\n    @public\n   */\n  _exports.BooleanTransform = BooleanTransform;\n  class DateTransform {\n    deserialize(serialized) {\n      let type = typeof serialized;\n      if (type === 'string') {\n        let offset = serialized.indexOf('+');\n        if (offset !== -1 && serialized.length - 5 === offset) {\n          offset += 3;\n          return new Date(serialized.slice(0, offset) + ':' + serialized.slice(offset));\n        }\n        return new Date(serialized);\n      } else if (type === 'number') {\n        return new Date(serialized);\n      } else if (serialized === null || serialized === undefined) {\n        // if the value is null return null\n        // if the value is not present in the data return undefined\n        return serialized;\n      } else {\n        return null;\n      }\n    }\n    serialize(date) {\n      if (date instanceof Date && !isNaN(date)) {\n        return date.toISOString();\n      } else {\n        return null;\n      }\n    }\n    static create() {\n      return new this();\n    }\n  }\n\n  /**\n    @module @ember-data/serializer\n  */\n  _exports.DateTransform = DateTransform;\n  function isNumber(value) {\n    return value === value && value !== Infinity && value !== -Infinity;\n  }\n\n  /**\n    The `NumberTransform` class is used to serialize and deserialize\n    numeric attributes on Ember Data record objects. This transform is\n    used when `number` is passed as the type parameter to the\n    [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function.\n  \n    Usage\n  \n    ```app/models/score.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n  \n    export default class ScoreModel extends Model {\n      @attr('number') value;\n      @belongsTo('player') player;\n      @attr('date') date;\n    }\n    ```\n  \n    @class NumberTransform\n    @public\n   */\n  class NumberTransform {\n    deserialize(serialized) {\n      let transformed;\n      if (serialized === '' || serialized === null || serialized === undefined) {\n        return null;\n      } else {\n        transformed = Number(serialized);\n        return isNumber(transformed) ? transformed : null;\n      }\n    }\n    serialize(deserialized) {\n      let transformed;\n      if (deserialized === '' || deserialized === null || deserialized === undefined) {\n        return null;\n      } else {\n        transformed = Number(deserialized);\n        return isNumber(transformed) ? transformed : null;\n      }\n    }\n    static create() {\n      return new this();\n    }\n  }\n\n  /**\n    @module @ember-data/serializer\n  */\n\n  /**\n    The `StringTransform` class is used to serialize and deserialize\n    string attributes on Ember Data record objects. This transform is\n    used when `string` is passed as the type parameter to the\n    [attr](/ember-data/release/functions/@ember-data%2Fmodel/attr) function.\n  \n    Usage\n  \n    ```app/models/user.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @attr('boolean') isAdmin;\n      @attr('string') name;\n      @attr('string') email;\n    }\n    ```\n  \n    @class StringTransform\n    @public\n   */\n  _exports.NumberTransform = NumberTransform;\n  class StringTransform {\n    deserialize(serialized) {\n      return !serialized && serialized !== '' ? null : String(serialized);\n    }\n    serialize(deserialized) {\n      return !deserialized && deserialized !== '' ? null : String(deserialized);\n    }\n    static create() {\n      return new this();\n    }\n  }\n  _exports.StringTransform = StringTransform;\n});","define(\"@ember-data/serializer/embedded-records-mixin-d75385ff\", [\"exports\", \"@ember/array\", \"@ember/debug\", \"@ember/object/mixin\", \"@ember/string\"], function (_exports, _array, _debug, _mixin, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.e = void 0;\n  /**\n    @module @ember-data/serializer/rest\n  */\n\n  /**\n    ## Using Embedded Records\n  \n    `EmbeddedRecordsMixin` supports serializing embedded records.\n  \n    To set up embedded records, include the mixin when extending a serializer,\n    then define and configure embedded (model) relationships.\n  \n    Note that embedded records will serialize with the serializer for their model instead of the serializer in which they are defined.\n  \n    Note also that this mixin does not work with JSONAPISerializer because the JSON:API specification does not describe how to format embedded resources.\n  \n    Below is an example of a per-type serializer (`post` type).\n  \n    ```app/serializers/post.js\n    import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n  \n    export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n      attrs = {\n        author: { embedded: 'always' },\n        comments: { serialize: 'ids' }\n      }\n    }\n    ```\n    Note that this use of `{ embedded: 'always' }` is unrelated to\n    the `{ embedded: 'always' }` that is defined as an option on `attr` as part of\n    defining a model while working with the `ActiveModelSerializer`.  Nevertheless,\n    using `{ embedded: 'always' }` as an option to `attr` is not a valid way to set up\n    embedded records.\n  \n    The `attrs` option for a resource `{ embedded: 'always' }` is shorthand for:\n  \n    ```js\n    {\n      serialize: 'records',\n      deserialize: 'records'\n    }\n    ```\n  \n    ### Configuring Attrs\n  \n    A resource's `attrs` option may be set to use `ids`, `records` or false for the\n    `serialize`  and `deserialize` settings.\n  \n    The `attrs` property can be set on the `ApplicationSerializer` or a per-type\n    serializer.\n  \n    In the case where embedded JSON is expected while extracting a payload (reading)\n    the setting is `deserialize: 'records'`, there is no need to use `ids` when\n    extracting as that is the default behaviour without this mixin if you are using\n    the vanilla `EmbeddedRecordsMixin`. Likewise, to embed JSON in the payload while\n    serializing `serialize: 'records'` is the setting to use. There is an option of\n    not embedding JSON in the serialized payload by using `serialize: 'ids'`. If you\n    do not want the relationship sent at all, you can use `serialize: false`.\n  \n  \n    ### EmbeddedRecordsMixin defaults\n    If you do not overwrite `attrs` for a specific relationship, the `EmbeddedRecordsMixin`\n    will behave in the following way:\n  \n    BelongsTo: `{ serialize: 'id', deserialize: 'id' }`\n    HasMany:   `{ serialize: false, deserialize: 'ids' }`\n  \n    ### Model Relationships\n  \n    Embedded records must have a model defined to be extracted and serialized. Note that\n    when defining any relationships on your model such as `belongsTo` and `hasMany`, you\n    should not both specify `async: true` and also indicate through the serializer's\n    `attrs` attribute that the related model should be embedded for deserialization.\n    If a model is declared embedded for deserialization (`embedded: 'always'` or `deserialize: 'records'`),\n    then do not use `async: true`.\n  \n    To successfully extract and serialize embedded records the model relationships\n    must be set up correctly. See the\n    [defining relationships](https://guides.emberjs.com/current/models/relationships)\n    section of the **Defining Models** guide page.\n  \n    Records without an `id` property are not considered embedded records, model\n    instances must have an `id` property to be used with Ember Data.\n  \n    ### Example JSON payloads, Models and Serializers\n  \n    **When customizing a serializer it is important to grok what the customizations\n    are. Please read the docs for the methods this mixin provides, in case you need\n    to modify it to fit your specific needs.**\n  \n    For example, review the docs for each method of this mixin:\n    * [normalize](/ember-data/release/classes/EmbeddedRecordsMixin/methods/normalize?anchor=normalize)\n    * [serializeBelongsTo](/ember-data/release/classes/EmbeddedRecordsMixin/methods/serializeBelongsTo?anchor=serializeBelongsTo)\n    * [serializeHasMany](/ember-data/release/classes/EmbeddedRecordsMixin/methods/serializeHasMany?anchor=serializeHasMany)\n  \n    @class EmbeddedRecordsMixin\n    @public\n  */\n  var embeddedRecordsMixin = _exports.e = _mixin.default.create({\n    /**\n      Normalize the record and recursively normalize/extract all the embedded records\n      while pushing them into the store as they are encountered\n       A payload with an attr configured for embedded records needs to be extracted:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"comments\": [{\n            \"id\": \"1\",\n            \"body\": \"Rails is unagi\"\n          }, {\n            \"id\": \"2\",\n            \"body\": \"Omakase O_o\"\n          }]\n        }\n      }\n      ```\n     @method normalize\n      @public\n     @param {Model} typeClass\n     @param {Object} hash to be normalized\n     @param {String} prop the hash has been referenced by\n     @return {Object} the normalized hash\n    **/\n    normalize(typeClass, hash, prop) {\n      let normalizedHash = this._super(typeClass, hash, prop);\n      return this._extractEmbeddedRecords(this, this.store, typeClass, normalizedHash);\n    },\n    keyForRelationship(key, typeClass, method) {\n      if (method === 'serialize' && this.hasSerializeRecordsOption(key) || method === 'deserialize' && this.hasDeserializeRecordsOption(key)) {\n        return this.keyForAttribute(key, method);\n      } else {\n        return this._super(key, typeClass, method) || key;\n      }\n    },\n    /**\n      Serialize `belongsTo` relationship when it is configured as an embedded object.\n       This example of an author model belongs to a post model:\n       ```js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       Post = Model.extend({\n        title:    attr('string'),\n        body:     attr('string'),\n        author:   belongsTo('author')\n      });\n       Author = Model.extend({\n        name:     attr('string'),\n        post:     belongsTo('post')\n      });\n      ```\n       Use a custom (type) serializer for the post model to configure embedded author\n       ```app/serializers/post.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          author: { embedded: 'always' }\n        }\n      }\n      ```\n       A payload with an attribute configured for embedded records can serialize\n      the records together under the root attribute's payload:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"author\": {\n            \"id\": \"2\"\n            \"name\": \"dhh\"\n          }\n        }\n      }\n      ```\n       @method serializeBelongsTo\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeBelongsTo(snapshot, json, relationship) {\n      let attr = relationship.key;\n      if (this.noSerializeOptionSpecified(attr)) {\n        this._super(snapshot, json, relationship);\n        return;\n      }\n      let includeIds = this.hasSerializeIdsOption(attr);\n      let includeRecords = this.hasSerializeRecordsOption(attr);\n      let embeddedSnapshot = snapshot.belongsTo(attr);\n      if (includeIds) {\n        let schema = this.store.modelFor(snapshot.modelName);\n        let serializedKey = this._getMappedKey(relationship.key, schema);\n        if (serializedKey === relationship.key && this.keyForRelationship) {\n          serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n        }\n        if (!embeddedSnapshot) {\n          json[serializedKey] = null;\n        } else {\n          json[serializedKey] = embeddedSnapshot.id;\n          if (relationship.options.polymorphic) {\n            this.serializePolymorphicType(snapshot, json, relationship);\n          }\n        }\n      } else if (includeRecords) {\n        this._serializeEmbeddedBelongsTo(snapshot, json, relationship);\n      }\n    },\n    _serializeEmbeddedBelongsTo(snapshot, json, relationship) {\n      let embeddedSnapshot = snapshot.belongsTo(relationship.key);\n      let schema = this.store.modelFor(snapshot.modelName);\n      let serializedKey = this._getMappedKey(relationship.key, schema);\n      if (serializedKey === relationship.key && this.keyForRelationship) {\n        serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n      }\n      if (!embeddedSnapshot) {\n        json[serializedKey] = null;\n      } else {\n        json[serializedKey] = embeddedSnapshot.serialize({\n          includeId: true\n        });\n        this.removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, json[serializedKey]);\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\n      }\n    },\n    /**\n      Serializes `hasMany` relationships when it is configured as embedded objects.\n       This example of a post model has many comments:\n       ```js\n      import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\n       Post = Model.extend({\n        title:    attr('string'),\n        body:     attr('string'),\n        comments: hasMany('comment')\n      });\n       Comment = Model.extend({\n        body:     attr('string'),\n        post:     belongsTo('post')\n      });\n      ```\n       Use a custom (type) serializer for the post model to configure embedded comments\n       ```app/serializers/post.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          comments: { embedded: 'always' }\n        }\n      }\n      ```\n       A payload with an attribute configured for embedded records can serialize\n      the records together under the root attribute's payload:\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"body\": \"I want this for my ORM, I want that for my template language...\"\n          \"comments\": [{\n            \"id\": \"1\",\n            \"body\": \"Rails is unagi\"\n          }, {\n            \"id\": \"2\",\n            \"body\": \"Omakase O_o\"\n          }]\n        }\n      }\n      ```\n       The attrs options object can use more specific instruction for extracting and\n      serializing. When serializing, an option to embed `ids`, `ids-and-types` or `records` can be set.\n      When extracting the only option is `records`.\n       So `{ embedded: 'always' }` is shorthand for:\n      `{ serialize: 'records', deserialize: 'records' }`\n       To embed the `ids` for a related object (using a hasMany relationship):\n       ```app/serializers/post.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class PostSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          comments: { serialize: 'ids', deserialize: 'records' }\n        }\n      }\n      ```\n       ```js\n      {\n        \"post\": {\n          \"id\": \"1\"\n          \"title\": \"Rails is omakase\",\n          \"body\": \"I want this for my ORM, I want that for my template language...\"\n          \"comments\": [\"1\", \"2\"]\n        }\n      }\n      ```\n       To embed the relationship as a collection of objects with `id` and `type` keys, set\n      `ids-and-types` for the related object.\n       This is particularly useful for polymorphic relationships where records don't share\n      the same table and the `id` is not enough information.\n       For example having a user that has many pets:\n       ```js\n      User = Model.extend({\n        name: attr('string'),\n        pets: hasMany('pet', { polymorphic: true })\n      });\n       Pet = Model.extend({\n        name: attr('string'),\n      });\n       Cat = Pet.extend({\n        // ...\n      });\n       Parrot = Pet.extend({\n        // ...\n      });\n      ```\n       ```app/serializers/user.js\n      import RESTSerializer, { EmbeddedRecordsMixin } from '@ember-data/serializer/rest';\n       export default class UserSerializer extends RESTSerializer.extend(EmbeddedRecordsMixin) {\n        attrs = {\n          pets: { serialize: 'ids-and-types', deserialize: 'records' }\n        }\n      }\n      ```\n       ```js\n      {\n        \"user\": {\n          \"id\": \"1\"\n          \"name\": \"Bertin Osborne\",\n          \"pets\": [\n            { \"id\": \"1\", \"type\": \"Cat\" },\n            { \"id\": \"1\", \"type\": \"Parrot\"}\n          ]\n        }\n      }\n      ```\n       @method serializeHasMany\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeHasMany(snapshot, json, relationship) {\n      let attr = relationship.key;\n      if (this.noSerializeOptionSpecified(attr)) {\n        this._super(snapshot, json, relationship);\n        return;\n      }\n      if (this.hasSerializeIdsOption(attr)) {\n        let schema = this.store.modelFor(snapshot.modelName);\n        let serializedKey = this._getMappedKey(relationship.key, schema);\n        if (serializedKey === relationship.key && this.keyForRelationship) {\n          serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n        }\n        json[serializedKey] = snapshot.hasMany(attr, {\n          ids: true\n        });\n      } else if (this.hasSerializeRecordsOption(attr)) {\n        this._serializeEmbeddedHasMany(snapshot, json, relationship);\n      } else {\n        if (this.hasSerializeIdsAndTypesOption(attr)) {\n          this._serializeHasManyAsIdsAndTypes(snapshot, json, relationship);\n        }\n      }\n    },\n    /*\n      Serializes a hasMany relationship as an array of objects containing only `id` and `type`\n      keys.\n      This has its use case on polymorphic hasMany relationships where the server is not storing\n      all records in the same table using STI, and therefore the `id` is not enough information\n       TODO: Make the default in Ember-data 3.0??\n    */\n    _serializeHasManyAsIdsAndTypes(snapshot, json, relationship) {\n      let serializedKey = this.keyForAttribute(relationship.key, 'serialize');\n      let hasMany = snapshot.hasMany(relationship.key);\n      json[serializedKey] = (0, _array.A)(hasMany).map(function (recordSnapshot) {\n        //\n        // I'm sure I'm being utterly naive here. Probably id is a configurable property and\n        // type too, and the modelName has to be normalized somehow.\n        //\n        return {\n          id: recordSnapshot.id,\n          type: recordSnapshot.modelName\n        };\n      });\n    },\n    _serializeEmbeddedHasMany(snapshot, json, relationship) {\n      let schema = this.store.modelFor(snapshot.modelName);\n      let serializedKey = this._getMappedKey(relationship.key, schema);\n      if (serializedKey === relationship.key && this.keyForRelationship) {\n        serializedKey = this.keyForRelationship(relationship.key, relationship.kind, 'serialize');\n      }\n      (false && (0, _debug.warn)(`The embedded relationship '${serializedKey}' is undefined for '${snapshot.modelName}' with id '${snapshot.id}'. Please include it in your original payload.`, typeof snapshot.hasMany(relationship.key) !== 'undefined', {\n        id: 'ds.serializer.embedded-relationship-undefined'\n      }));\n      json[serializedKey] = this._generateSerializedHasMany(snapshot, relationship);\n    },\n    /*\n      Returns an array of embedded records serialized to JSON\n    */\n    _generateSerializedHasMany(snapshot, relationship) {\n      let hasMany = snapshot.hasMany(relationship.key);\n      let manyArray = (0, _array.A)(hasMany);\n      let ret = new Array(manyArray.length);\n      for (let i = 0; i < manyArray.length; i++) {\n        let embeddedSnapshot = manyArray[i];\n        let embeddedJson = embeddedSnapshot.serialize({\n          includeId: true\n        });\n        this.removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, embeddedJson);\n        ret[i] = embeddedJson;\n      }\n      return ret;\n    },\n    /**\n      When serializing an embedded record, modify the property (in the `JSON` payload)\n      that refers to the parent record (foreign key for the relationship).\n       Serializing a `belongsTo` relationship removes the property that refers to the\n      parent record\n       Serializing a `hasMany` relationship does not remove the property that refers to\n      the parent record.\n       @method removeEmbeddedForeignKey\n      @public\n      @param {Snapshot} snapshot\n      @param {Snapshot} embeddedSnapshot\n      @param {Object} relationship\n      @param {Object} json\n    */\n    removeEmbeddedForeignKey(snapshot, embeddedSnapshot, relationship, json) {\n      if (relationship.kind === 'belongsTo') {\n        let schema = this.store.modelFor(snapshot.modelName);\n        let parentRecord = schema.inverseFor(relationship.key, this.store);\n        if (parentRecord) {\n          let name = parentRecord.name;\n          let embeddedSerializer = this.store.serializerFor(embeddedSnapshot.modelName);\n          let parentKey = embeddedSerializer.keyForRelationship(name, parentRecord.kind, 'deserialize');\n          if (parentKey) {\n            delete json[parentKey];\n          }\n        }\n      } /*else if (relationship.kind === 'hasMany') {\n        return;\n        }*/\n    },\n    // checks config for attrs option to embedded (always) - serialize and deserialize\n    hasEmbeddedAlwaysOption(attr) {\n      let option = this.attrsOption(attr);\n      return option && option.embedded === 'always';\n    },\n    // checks config for attrs option to serialize ids\n    hasSerializeRecordsOption(attr) {\n      let alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      let option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.serialize === 'records';\n    },\n    // checks config for attrs option to serialize records\n    hasSerializeIdsOption(attr) {\n      let option = this.attrsOption(attr);\n      return option && (option.serialize === 'ids' || option.serialize === 'id');\n    },\n    // checks config for attrs option to serialize records as objects containing id and types\n    hasSerializeIdsAndTypesOption(attr) {\n      let option = this.attrsOption(attr);\n      return option && (option.serialize === 'ids-and-types' || option.serialize === 'id-and-type');\n    },\n    // checks config for attrs option to serialize records\n    noSerializeOptionSpecified(attr) {\n      let option = this.attrsOption(attr);\n      return !(option && (option.serialize || option.embedded));\n    },\n    // checks config for attrs option to deserialize records\n    // a defined option object for a resource is treated the same as\n    // `deserialize: 'records'`\n    hasDeserializeRecordsOption(attr) {\n      let alwaysEmbed = this.hasEmbeddedAlwaysOption(attr);\n      let option = this.attrsOption(attr);\n      return alwaysEmbed || option && option.deserialize === 'records';\n    },\n    attrsOption(attr) {\n      let attrs = this.attrs;\n      return attrs && (attrs[(0, _string.camelize)(attr)] || attrs[attr]);\n    },\n    /**\n     @method _extractEmbeddedRecords\n     @private\n    */\n    _extractEmbeddedRecords(serializer, store, typeClass, partial) {\n      typeClass.eachRelationship((key, relationship) => {\n        if (serializer.hasDeserializeRecordsOption(key)) {\n          if (relationship.kind === 'hasMany') {\n            this._extractEmbeddedHasMany(store, key, partial, relationship);\n          }\n          if (relationship.kind === 'belongsTo') {\n            this._extractEmbeddedBelongsTo(store, key, partial, relationship);\n          }\n        }\n      });\n      return partial;\n    },\n    /**\n     @method _extractEmbeddedHasMany\n     @private\n    */\n    _extractEmbeddedHasMany(store, key, hash, relationshipMeta) {\n      let relationshipHash = hash.data?.relationships?.[key]?.data;\n      if (!relationshipHash) {\n        return;\n      }\n      let hasMany = new Array(relationshipHash.length);\n      for (let i = 0; i < relationshipHash.length; i++) {\n        let item = relationshipHash[i];\n        let {\n          data,\n          included\n        } = this._normalizeEmbeddedRelationship(store, relationshipMeta, item);\n        hash.included = hash.included || [];\n        hash.included.push(data);\n        if (included) {\n          hash.included = hash.included.concat(included);\n        }\n        hasMany[i] = {\n          id: data.id,\n          type: data.type\n        };\n      }\n      let relationship = {\n        data: hasMany\n      };\n      hash.data.relationships[key] = relationship;\n    },\n    /**\n     @method _extractEmbeddedBelongsTo\n     @private\n    */\n    _extractEmbeddedBelongsTo(store, key, hash, relationshipMeta) {\n      let relationshipHash = hash.data?.relationships?.[key]?.data;\n      if (!relationshipHash) {\n        return;\n      }\n      let {\n        data,\n        included\n      } = this._normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash);\n      hash.included = hash.included || [];\n      hash.included.push(data);\n      if (included) {\n        hash.included = hash.included.concat(included);\n      }\n      let belongsTo = {\n        id: data.id,\n        type: data.type\n      };\n      let relationship = {\n        data: belongsTo\n      };\n      hash.data.relationships[key] = relationship;\n    },\n    /**\n     @method _normalizeEmbeddedRelationship\n     @private\n    */\n    _normalizeEmbeddedRelationship(store, relationshipMeta, relationshipHash) {\n      let modelName = relationshipMeta.type;\n      if (relationshipMeta.options.polymorphic) {\n        modelName = relationshipHash.type;\n      }\n      let modelClass = store.modelFor(modelName);\n      let serializer = store.serializerFor(modelName);\n      return serializer.normalize(modelClass, relationshipHash, null);\n    },\n    isEmbeddedRecordsMixin: true\n  });\n});","define(\"@ember-data/serializer/index\", [\"exports\", \"@ember/object\", \"@ember/service\"], function (_exports, _object, _service) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _initializerDefineProperty(target, property, descriptor, context) {\n    if (!descriptor) return;\n    Object.defineProperty(target, property, {\n      enumerable: descriptor.enumerable,\n      configurable: descriptor.configurable,\n      writable: descriptor.writable,\n      value: descriptor.initializer ? descriptor.initializer.call(context) : void 0\n    });\n  }\n  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {\n    var desc = {};\n    Object.keys(descriptor).forEach(function (key) {\n      desc[key] = descriptor[key];\n    });\n    desc.enumerable = !!desc.enumerable;\n    desc.configurable = !!desc.configurable;\n    if ('value' in desc || desc.initializer) {\n      desc.writable = true;\n    }\n    desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n      return decorator(target, property, desc) || desc;\n    }, desc);\n    if (context && desc.initializer !== void 0) {\n      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n      desc.initializer = undefined;\n    }\n    if (desc.initializer === void 0) {\n      Object.defineProperty(target, property, desc);\n      desc = null;\n    }\n    return desc;\n  }\n  var _class2, _descriptor;\n  /**\n    > ⚠️ CAUTION you likely want the docs for [<Interface> Serializer](/ember-data/release/classes/%3CInterface%3E%20Serializer)\n    > as extending this abstract class is unnecessary.\n  \n    `Serializer` is an abstract base class that you may override in your\n    application to customize it for your backend. The minimum set of methods\n    that you should implement is:\n  \n      * `normalizeResponse()`\n      * `serialize()`\n  \n    And you can optionally override the following methods:\n  \n      * `normalize()`\n  \n    For an example implementation, see\n    [JSONSerializer](JSONSerializer), the included JSON serializer.\n  \n    @class Serializer\n    @public\n    @extends Ember.EmberObject\n  */\n  let _class = _exports.default = (_class2 = class _class2 extends _object.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n    }\n    /**\n      The `store` property is the application's `store` that contains\n      all records. It can be used to look up serializers for other model\n      types that may be nested inside the payload response.\n       Example:\n       ```js\n      Serializer.extend({\n        extractRelationship(relationshipModelName, relationshipHash) {\n          let modelClass = this.store.modelFor(relationshipModelName);\n          let relationshipSerializer = this.store.serializerFor(relationshipModelName);\n          return relationshipSerializer.normalize(modelClass, relationshipHash);\n        }\n      });\n      ```\n       @property store\n      @type {Store}\n      @public\n    */\n\n    /**\n      The `normalizeResponse` method is used to normalize a payload from the\n      server to a JSON-API Document.\n       http://jsonapi.org/format/#document-structure\n       Example:\n       ```js\n      Serializer.extend({\n        normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n          if (requestType === 'findRecord') {\n            return this.normalize(primaryModelClass, payload);\n          } else {\n            return payload.reduce(function(documentHash, item) {\n              let { data, included } = this.normalize(primaryModelClass, item);\n              documentHash.included.push(...included);\n              documentHash.data.push(data);\n              return documentHash;\n            }, { data: [], included: [] })\n          }\n        }\n      });\n      ```\n       @since 1.13.0\n      @method normalizeResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n\n    /**\n      The `serialize` method is used when a record is saved in order to convert\n      the record into the form that your external data source expects.\n       `serialize` takes an optional `options` hash with a single option:\n       - `includeId`: If this is `true`, `serialize` should include the ID\n        in the serialized object it builds.\n       Example:\n       ```js\n      Serializer.extend({\n        serialize(snapshot, options) {\n          let json = {\n            id: snapshot.id\n          };\n           snapshot.eachAttribute((key, attribute) => {\n            json[key] = snapshot.attr(key);\n          });\n           snapshot.eachRelationship((key, relationship) => {\n            if (relationship.kind === 'belongsTo') {\n              json[key] = snapshot.belongsTo(key, { id: true });\n            } else if (relationship.kind === 'hasMany') {\n              json[key] = snapshot.hasMany(key, { ids: true });\n            }\n          });\n           return json;\n        },\n      });\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} [options]\n      @return {Object}\n    */\n    /**\n      The `normalize` method is used to convert a payload received from your\n      external data source into the normalized form `store.push()` expects. You\n      should override this method, munge the hash and return the normalized\n      payload.\n       Example:\n       ```js\n      Serializer.extend({\n        normalize(modelClass, resourceHash) {\n          let data = {\n            id:            resourceHash.id,\n            type:          modelClass.modelName,\n            attributes:    resourceHash\n          };\n          return { data: data };\n        }\n      })\n      ```\n       @method normalize\n      @public\n      @param {Model} typeClass\n      @param {Object} hash\n      @return {Object}\n    */\n    normalize(typeClass, hash) {\n      return hash;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class2.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class2);\n});","define(\"@ember-data/serializer/json-api\", [\"exports\", \"@ember/debug\", \"@ember/string\", \"ember-inflector\", \"@ember-data/serializer/json\"], function (_exports, _debug, _string, _emberInflector, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    In EmberData a Serializer is used to serialize and deserialize\n    records when they are transferred in and out of an external source.\n    This process involves normalizing property names, transforming\n    attribute values and serializing relationships.\n  \n    `JSONAPISerializer` supports the http://jsonapi.org/ spec and is the\n    serializer recommended by Ember Data.\n  \n    This serializer normalizes a JSON API payload that looks like:\n  \n    ```app/models/player.js\n    import Model, { attr, belongsTo } from '@ember-data/model';\n  \n    export default class Player extends Model {\n      @attr('string') name;\n      @attr('string') skill;\n      @attr('number') gamesPlayed;\n      @belongsTo('club') club;\n    }\n    ```\n  \n    ```app/models/club.js\n    import Model, { attr, hasMany } from '@ember-data/model';\n  \n    export default class Club extends Model {\n      @attr('string') name;\n      @attr('string') location;\n      @hasMany('player') players;\n    }\n    ```\n  \n    ```js\n      {\n        \"data\": [\n          {\n            \"attributes\": {\n              \"name\": \"Benfica\",\n              \"location\": \"Portugal\"\n            },\n            \"id\": \"1\",\n            \"relationships\": {\n              \"players\": {\n                \"data\": [\n                  {\n                    \"id\": \"3\",\n                    \"type\": \"players\"\n                  }\n                ]\n              }\n            },\n            \"type\": \"clubs\"\n          }\n        ],\n        \"included\": [\n          {\n            \"attributes\": {\n              \"name\": \"Eusebio Silva Ferreira\",\n              \"skill\": \"Rocket shot\",\n              \"games-played\": 431\n            },\n            \"id\": \"3\",\n            \"relationships\": {\n              \"club\": {\n                \"data\": {\n                  \"id\": \"1\",\n                  \"type\": \"clubs\"\n                }\n              }\n            },\n            \"type\": \"players\"\n          }\n        ]\n      }\n    ```\n  \n    to the format that the Ember Data store expects.\n  \n    ### Customizing meta\n  \n    Since a JSON API Document can have meta defined in multiple locations you can\n    use the specific serializer hooks if you need to customize the meta.\n  \n    One scenario would be to camelCase the meta keys of your payload. The example\n    below shows how this could be done using `normalizeArrayResponse` and\n    `extractRelationship`.\n  \n    ```app/serializers/application.js\n    import JSONAPISerializer from '@ember-data/serializer/json-api';\n  \n    export default class ApplicationSerializer extends JSONAPISerializer {\n      normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n        let normalizedDocument = super.normalizeArrayResponse(...arguments);\n  \n        // Customize document meta\n        normalizedDocument.meta = camelCaseKeys(normalizedDocument.meta);\n  \n        return normalizedDocument;\n      }\n  \n      extractRelationship(relationshipHash) {\n        let normalizedRelationship = super.extractRelationship(...arguments);\n  \n        // Customize relationship meta\n        normalizedRelationship.meta = camelCaseKeys(normalizedRelationship.meta);\n  \n        return normalizedRelationship;\n      }\n    }\n    ```\n  \n    @main @ember-data/serializer/json-api\n    @since 1.13.0\n    @class JSONAPISerializer\n    @public\n    @extends JSONSerializer\n  */\n  const JSONAPISerializer = _exports.default = _json.default.extend({\n    /**\n      @method _normalizeDocumentHelper\n      @param {Object} documentHash\n      @return {Object}\n      @private\n    */\n    _normalizeDocumentHelper(documentHash) {\n      if (Array.isArray(documentHash.data)) {\n        let ret = new Array(documentHash.data.length);\n        for (let i = 0; i < documentHash.data.length; i++) {\n          let data = documentHash.data[i];\n          ret[i] = this._normalizeResourceHelper(data);\n        }\n        documentHash.data = ret;\n      } else if (documentHash.data && typeof documentHash.data === 'object') {\n        documentHash.data = this._normalizeResourceHelper(documentHash.data);\n      }\n      if (Array.isArray(documentHash.included)) {\n        let ret = new Array();\n        for (let i = 0; i < documentHash.included.length; i++) {\n          let included = documentHash.included[i];\n          let normalized = this._normalizeResourceHelper(included);\n          if (normalized !== null) {\n            // can be null when unknown type is encountered\n            ret.push(normalized);\n          }\n        }\n        documentHash.included = ret;\n      }\n      return documentHash;\n    },\n    /**\n      @method _normalizeRelationshipDataHelper\n      @param {Object} relationshipDataHash\n      @return {Object}\n      @private\n    */\n    _normalizeRelationshipDataHelper(relationshipDataHash) {\n      relationshipDataHash.type = this.modelNameFromPayloadKey(relationshipDataHash.type);\n      return relationshipDataHash;\n    },\n    /**\n      @method _normalizeResourceHelper\n      @param {Object} resourceHash\n      @return {Object}\n      @private\n    */\n    _normalizeResourceHelper(resourceHash) {\n      (false && !(resourceHash.type) && (0, _debug.assert)(this.warnMessageForUndefinedType(), resourceHash.type));\n      let modelName, usedLookup;\n      modelName = this.modelNameFromPayloadKey(resourceHash.type);\n      usedLookup = 'modelNameFromPayloadKey';\n      if (!this.store.getSchemaDefinitionService().doesTypeExist(modelName)) {\n        (false && (0, _debug.warn)(this.warnMessageNoModelForType(modelName, resourceHash.type, usedLookup), false, {\n          id: 'ds.serializer.model-for-type-missing'\n        }));\n        return null;\n      }\n      let modelClass = this.store.modelFor(modelName);\n      let serializer = this.store.serializerFor(modelName);\n      let {\n        data\n      } = serializer.normalize(modelClass, resourceHash);\n      return data;\n    },\n    /**\n      Normalize some data and push it into the store.\n       @method pushPayload\n      @public\n      @param {Store} store\n      @param {Object} payload\n    */\n    pushPayload(store, payload) {\n      let normalizedPayload = this._normalizeDocumentHelper(payload);\n      store.push(normalizedPayload);\n    },\n    /**\n      @method _normalizeResponse\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      let normalizedPayload = this._normalizeDocumentHelper(payload);\n      return normalizedPayload;\n    },\n    normalizeQueryRecordResponse() {\n      let normalized = this._super(...arguments);\n      (false && !(!Array.isArray(normalized.data)) && (0, _debug.assert)('Expected the primary data returned by the serializer for a `queryRecord` response to be a single object but instead it was an array.', !Array.isArray(normalized.data)));\n      return normalized;\n    },\n    extractAttributes(modelClass, resourceHash) {\n      let attributes = {};\n      if (resourceHash.attributes) {\n        modelClass.eachAttribute(key => {\n          let attributeKey = this.keyForAttribute(key, 'deserialize');\n          if (resourceHash.attributes[attributeKey] !== undefined) {\n            attributes[key] = resourceHash.attributes[attributeKey];\n          }\n        });\n      }\n      return attributes;\n    },\n    /**\n       Returns a relationship formatted as a JSON-API \"relationship object\".\n        http://jsonapi.org/format/#document-resource-object-relationships\n        @method extractRelationship\n      @public\n       @param {Object} relationshipHash\n       @return {Object}\n    */\n    extractRelationship(relationshipHash) {\n      if (Array.isArray(relationshipHash.data)) {\n        let ret = new Array(relationshipHash.data.length);\n        for (let i = 0; i < relationshipHash.data.length; i++) {\n          let data = relationshipHash.data[i];\n          ret[i] = this._normalizeRelationshipDataHelper(data);\n        }\n        relationshipHash.data = ret;\n      } else if (relationshipHash.data && typeof relationshipHash.data === 'object') {\n        relationshipHash.data = this._normalizeRelationshipDataHelper(relationshipHash.data);\n      }\n      return relationshipHash;\n    },\n    /**\n       Returns the resource's relationships formatted as a JSON-API \"relationships object\".\n        http://jsonapi.org/format/#document-resource-object-relationships\n        @method extractRelationships\n      @public\n       @param {Object} modelClass\n       @param {Object} resourceHash\n       @return {Object}\n    */\n    extractRelationships(modelClass, resourceHash) {\n      let relationships = {};\n      if (resourceHash.relationships) {\n        modelClass.eachRelationship((key, relationshipMeta) => {\n          let relationshipKey = this.keyForRelationship(key, relationshipMeta.kind, 'deserialize');\n          if (resourceHash.relationships[relationshipKey] !== undefined) {\n            let relationshipHash = resourceHash.relationships[relationshipKey];\n            relationships[key] = this.extractRelationship(relationshipHash);\n          }\n        });\n      }\n      return relationships;\n    },\n    /**\n      @method _extractType\n      @param {Model} modelClass\n      @param {Object} resourceHash\n      @return {String}\n      @private\n    */\n    _extractType(modelClass, resourceHash) {\n      return this.modelNameFromPayloadKey(resourceHash.type);\n    },\n    /**\n      Dasherizes and singularizes the model name in the payload to match\n      the format Ember Data uses internally for the model name.\n       For example the key `posts` would be converted to `post` and the\n      key `studentAssesments` would be converted to `student-assesment`.\n       @method modelNameFromPayloadKey\n      @public\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey(key) {\n      return (0, _emberInflector.singularize)((0, _string.dasherize)(key));\n    },\n    /**\n      Converts the model name to a pluralized version of the model name.\n       For example `post` would be converted to `posts` and\n      `student-assesment` would be converted to `student-assesments`.\n       @method payloadKeyFromModelName\n      @public\n      @param {String} modelName\n      @return {String}\n    */\n    payloadKeyFromModelName(modelName) {\n      return (0, _emberInflector.pluralize)(modelName);\n    },\n    normalize(modelClass, resourceHash) {\n      if (resourceHash.attributes) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.attributes);\n      }\n      if (resourceHash.relationships) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash.relationships);\n      }\n      let data = {\n        id: this.extractId(modelClass, resourceHash),\n        type: this._extractType(modelClass, resourceHash),\n        attributes: this.extractAttributes(modelClass, resourceHash),\n        relationships: this.extractRelationships(modelClass, resourceHash)\n      };\n      this.applyTransforms(modelClass, data.attributes);\n      return {\n        data\n      };\n    },\n    /**\n      `keyForAttribute` can be used to define rules for how to convert an\n      attribute name in your model to a key in your JSON.\n      By default `JSONAPISerializer` follows the format used on the examples of\n      http://jsonapi.org/format and uses dashes as the word separator in the JSON\n      attribute keys.\n       This behaviour can be easily customized by extending this method.\n       Example\n       ```app/serializers/application.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n      import { dasherize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends JSONAPISerializer {\n        keyForAttribute(attr, method) {\n          return dasherize(attr).toUpperCase();\n        }\n      }\n      ```\n       @method keyForAttribute\n      @public\n      @param {String} key\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForAttribute(key, method) {\n      return (0, _string.dasherize)(key);\n    },\n    /**\n     `keyForRelationship` can be used to define a custom key when\n     serializing and deserializing relationship properties.\n     By default `JSONAPISerializer` follows the format used on the examples of\n     http://jsonapi.org/format and uses dashes as word separators in\n     relationship properties.\n      This behaviour can be easily customized by extending this method.\n      Example\n       ```app/serializers/post.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n      import { underscore } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends JSONAPISerializer {\n        keyForRelationship(key, relationship, method) {\n          return underscore(key);\n        }\n      }\n      ```\n     @method keyForRelationship\n      @public\n     @param {String} key\n     @param {String} typeClass\n     @param {String} method\n     @return {String} normalized key\n    */\n    keyForRelationship(key, typeClass, method) {\n      return (0, _string.dasherize)(key);\n    },\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       For example, consider this model:\n       ```app/models/comment.js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       export default class CommentModel extends Model {\n        @attr title;\n        @attr body;\n         @belongsTo('user', { async: false, inverse: null })\n        author;\n      }\n      ```\n       The default serialization would create a JSON-API resource object like:\n       ```javascript\n      {\n        \"data\": {\n          \"type\": \"comments\",\n          \"attributes\": {\n            \"title\": \"Rails is unagi\",\n            \"body\": \"Rails? Omakase? O_O\",\n          },\n          \"relationships\": {\n            \"author\": {\n              \"data\": {\n                \"id\": \"12\",\n                \"type\": \"users\"\n              }\n            }\n          }\n        }\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the attributes hash.\n       Belongs-to relationships are converted into JSON-API\n      resource identifier objects.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The JSONAPIAdapter passes in `includeId: true` when serializing a record\n      for `createRecord` or `updateRecord`.\n       ## Customization\n       Your server may expect data in a different format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return data formatted to match your API's expectations, or override\n      the invoked adapter method and do the serialization in the adapter directly\n      by using the provided snapshot.\n       If your API's format differs greatly from the JSON:API spec, you should\n      consider authoring your own adapter and serializer instead of extending\n      this class.\n       ```app/serializers/post.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n       export default class PostSerializer extends JSONAPISerializer {\n        serialize(snapshot, options) {\n          let json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n      import { underscore, singularize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends JSONAPISerializer {\n        serialize(snapshot, options) {\n          let json = {};\n           snapshot.eachAttribute((name) => {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship((name, relationship) => {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n       function serverAttributeName(attribute) {\n        return underscore(attribute).toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + '_IDS';\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```javascript\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ \"1\", \"2\", \"3\" ]\n      }\n      ```\n       ## Tweaking the Default Formatting\n       If you just want to do some small tweaks on the default JSON:API formatted response,\n      you can call `super.serialize` first and make the tweaks\n      on the returned object.\n       ```app/serializers/post.js\n      import JSONAPISerializer from '@ember-data/serializer/json-api';\n       export default class PostSerializer extends JSONAPISerializer {\n        serialize(snapshot, options) {\n          let json = super.serialize(...arguments);\n           json.data.attributes.subject = json.data.attributes.title;\n          delete json.data.attributes.title;\n           return json;\n        }\n      }\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize(snapshot, options) {\n      let data = this._super(...arguments);\n      data.type = this.payloadKeyFromModelName(snapshot.modelName);\n      return {\n        data\n      };\n    },\n    serializeAttribute(snapshot, json, key, attribute) {\n      let type = attribute.type;\n      if (this._canSerialize(key)) {\n        json.attributes = json.attributes || {};\n        let value = snapshot.attr(key);\n        if (type) {\n          let transform = this.transformFor(type);\n          value = transform.serialize(value, attribute.options);\n        }\n        let schema = this.store.modelFor(snapshot.modelName);\n        let payloadKey = this._getMappedKey(key, schema);\n        if (payloadKey === key) {\n          payloadKey = this.keyForAttribute(key, 'serialize');\n        }\n        json.attributes[payloadKey] = value;\n      }\n    },\n    serializeBelongsTo(snapshot, json, relationship) {\n      let key = relationship.key;\n      if (this._canSerialize(key)) {\n        let belongsTo = snapshot.belongsTo(key);\n        let belongsToIsNotNew = belongsTo && !belongsTo.isNew;\n        if (belongsTo === null || belongsToIsNotNew) {\n          json.relationships = json.relationships || {};\n          let schema = this.store.modelFor(snapshot.modelName);\n          let payloadKey = this._getMappedKey(key, schema);\n          if (payloadKey === key) {\n            payloadKey = this.keyForRelationship(key, 'belongsTo', 'serialize');\n          }\n          let data = null;\n          if (belongsTo) {\n            let payloadType = this.payloadKeyFromModelName(belongsTo.modelName);\n            data = {\n              type: payloadType,\n              id: belongsTo.id\n            };\n          }\n          json.relationships[payloadKey] = {\n            data\n          };\n        }\n      }\n    },\n    serializeHasMany(snapshot, json, relationship) {\n      let key = relationship.key;\n      if (this.shouldSerializeHasMany(snapshot, key, relationship)) {\n        let hasMany = snapshot.hasMany(key);\n        if (hasMany !== undefined) {\n          json.relationships = json.relationships || {};\n          let schema = this.store.modelFor(snapshot.modelName);\n          let payloadKey = this._getMappedKey(key, schema);\n          if (payloadKey === key && this.keyForRelationship) {\n            payloadKey = this.keyForRelationship(key, 'hasMany', 'serialize');\n          }\n\n          // only serialize has many relationships that are not new\n          let nonNewHasMany = hasMany.filter(item => !item.isNew);\n          let data = new Array(nonNewHasMany.length);\n          for (let i = 0; i < nonNewHasMany.length; i++) {\n            let item = hasMany[i];\n            let payloadType = this.payloadKeyFromModelName(item.modelName);\n            data[i] = {\n              type: payloadType,\n              id: item.id\n            };\n          }\n          json.relationships[payloadKey] = {\n            data\n          };\n        }\n      }\n    }\n  });\n});","define(\"@ember-data/serializer/json\", [\"exports\", \"@ember/application\", \"@ember/debug\", \"@ember/string\", \"@ember-data/store/-private\", \"@ember-data/serializer/index\"], function (_exports, _application, _debug, _string, _private, _index) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * @module @ember-data/serializer/json\n   */\n  const SOURCE_POINTER_REGEXP = /^\\/?data\\/(attributes|relationships)\\/(.*)/;\n  const SOURCE_POINTER_PRIMARY_REGEXP = /^\\/?data/;\n  const PRIMARY_ATTRIBUTE_KEY = 'base';\n\n  /**\n   * <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    In EmberData a Serializer is used to serialize and deserialize\n    records when they are transferred in and out of an external source.\n    This process involves normalizing property names, transforming\n    attribute values and serializing relationships.\n  \n    By default, EmberData uses and recommends the `JSONAPISerializer`.\n  \n    `JSONSerializer` is useful for simpler or legacy backends that may\n    not support the http://jsonapi.org/ spec.\n  \n    For example, given the following `User` model and JSON payload:\n  \n    ```app/models/user.js\n    import Model, { attr, belongsTo, hasMany } from '@ember-data/model';\n  \n    export default class UserModel extends Model {\n      @hasMany('user') friends;\n      @belongsTo('location') house;\n  \n      @attr('string') name;\n    }\n    ```\n  \n    ```js\n    {\n      id: 1,\n      name: 'Sebastian',\n      friends: [3, 4],\n      links: {\n        house: '/houses/lefkada'\n      }\n    }\n    ```\n  \n    `JSONSerializer` will normalize the JSON payload to the JSON API format that the\n    Ember Data store expects.\n  \n    You can customize how JSONSerializer processes its payload by passing options in\n    the `attrs` hash or by subclassing the `JSONSerializer` and overriding hooks:\n  \n      - To customize how a single record is normalized, use the `normalize` hook.\n      - To customize how `JSONSerializer` normalizes the whole server response, use the\n        `normalizeResponse` hook.\n      - To customize how `JSONSerializer` normalizes a specific response from the server,\n        use one of the many specific `normalizeResponse` hooks.\n      - To customize how `JSONSerializer` normalizes your id, attributes or relationships,\n        use the `extractId`, `extractAttributes` and `extractRelationships` hooks.\n  \n    The `JSONSerializer` normalization process follows these steps:\n  \n      1. `normalizeResponse`\n          - entry method to the serializer.\n      2. `normalizeCreateRecordResponse`\n          - a `normalizeResponse` for a specific operation is called.\n      3. `normalizeSingleResponse`|`normalizeArrayResponse`\n          - for methods like `createRecord` we expect a single record back, while for methods like `findAll` we expect multiple records back.\n      4. `normalize`\n          - `normalizeArrayResponse` iterates and calls `normalize` for each of its records while `normalizeSingle`\n            calls it once. This is the method you most likely want to subclass.\n      5. `extractId` | `extractAttributes` | `extractRelationships`\n          - `normalize` delegates to these methods to\n            turn the record payload into the JSON API format.\n  \n    @main @ember-data/serializer/json\n    @class JSONSerializer\n    @public\n    @extends Serializer\n  */\n  const JSONSerializer = _exports.default = _index.default.extend({\n    /**\n      The `primaryKey` is used when serializing and deserializing\n      data. Ember Data always uses the `id` property to store the id of\n      the record. The external source may not always follow this\n      convention. In these cases it is useful to override the\n      `primaryKey` property to match the `primaryKey` of your external\n      store.\n       Example\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class ApplicationSerializer extends JSONSerializer {\n        primaryKey = '_id'\n      }\n      ```\n       @property primaryKey\n      @type {String}\n      @public\n      @default 'id'\n    */\n    primaryKey: 'id',\n    /**\n      The `attrs` object can be used to declare a simple mapping between\n      property names on `Model` records and payload keys in the\n      serialized JSON object representing the record. An object with the\n      property `key` can also be used to designate the attribute's key on\n      the response payload.\n       Example\n       ```app/models/person.js\n      import Model, { attr } from '@ember-data/model';\n       export default class PersonModel extends Model {\n        @attr('string') firstName;\n        @attr('string') lastName;\n        @attr('string') occupation;\n        @attr('boolean') admin;\n      }\n      ```\n       ```app/serializers/person.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PersonSerializer extends JSONSerializer {\n        attrs = {\n          admin: 'is_admin',\n          occupation: { key: 'career' }\n        }\n      }\n      ```\n       You can also remove attributes and relationships by setting the `serialize`\n      key to `false` in your mapping object.\n       Example\n       ```app/serializers/person.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        attrs = {\n          admin: { serialize: false },\n          occupation: { key: 'career' }\n        }\n      }\n      ```\n       When serialized:\n       ```javascript\n      {\n        \"firstName\": \"Harry\",\n        \"lastName\": \"Houdini\",\n        \"career\": \"magician\"\n      }\n      ```\n       Note that the `admin` is now not included in the payload.\n       Setting `serialize` to `true` enforces serialization for hasMany\n      relationships even if it's neither a many-to-many nor many-to-none\n      relationship.\n       @property attrs\n      @public\n      @type {Object}\n    */\n    mergedProperties: ['attrs'],\n    /**\n     Given a subclass of `Model` and a JSON object this method will\n     iterate through each attribute of the `Model` and invoke the\n     `Transform#deserialize` method on the matching property of the\n     JSON object.  This method is typically called after the\n     serializer's `normalize` method.\n      @method applyTransforms\n     @private\n     @param {Model} typeClass\n     @param {Object} data The data to transform\n     @return {Object} data The transformed data object\n    */\n    applyTransforms(typeClass, data) {\n      let attributes = typeClass.attributes;\n      typeClass.eachTransformedAttribute((key, typeClass) => {\n        if (data[key] === undefined) {\n          return;\n        }\n        let transform = this.transformFor(typeClass);\n        let transformMeta = attributes.get(key);\n        data[key] = transform.deserialize(data[key], transformMeta.options);\n      });\n      return data;\n    },\n    /**\n      The `normalizeResponse` method is used to normalize a payload from the\n      server to a JSON-API Document.\n       http://jsonapi.org/format/#document-structure\n       This method delegates to a more specific normalize method based on\n      the `requestType`.\n       To override this method with a custom one, make sure to call\n      `return super.normalizeResponse(store, primaryModelClass, payload, id, requestType)` with your\n      pre-processed data.\n       Here's an example of using `normalizeResponse` manually:\n       ```javascript\n      socket.on('message', function(message) {\n        let data = message.data;\n        let modelClass = store.modelFor(data.modelName);\n        let serializer = store.serializerFor(data.modelName);\n        let normalized = serializer.normalizeSingleResponse(store, modelClass, data, data.id);\n         store.push(normalized);\n      });\n      ```\n       @since 1.13.0\n      @method normalizeResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeResponse(store, primaryModelClass, payload, id, requestType) {\n      switch (requestType) {\n        case 'findRecord':\n          return this.normalizeFindRecordResponse(...arguments);\n        case 'queryRecord':\n          return this.normalizeQueryRecordResponse(...arguments);\n        case 'findAll':\n          return this.normalizeFindAllResponse(...arguments);\n        case 'findBelongsTo':\n          return this.normalizeFindBelongsToResponse(...arguments);\n        case 'findHasMany':\n          return this.normalizeFindHasManyResponse(...arguments);\n        case 'findMany':\n          return this.normalizeFindManyResponse(...arguments);\n        case 'query':\n          return this.normalizeQueryResponse(...arguments);\n        case 'createRecord':\n          return this.normalizeCreateRecordResponse(...arguments);\n        case 'deleteRecord':\n          return this.normalizeDeleteRecordResponse(...arguments);\n        case 'updateRecord':\n          return this.normalizeUpdateRecordResponse(...arguments);\n      }\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findRecord`\n       @since 1.13.0\n      @method normalizeFindRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `queryRecord`\n       @since 1.13.0\n      @method normalizeQueryRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeQueryRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findAll`\n       @since 1.13.0\n      @method normalizeFindAllResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindAllResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findBelongsTo`\n       @since 1.13.0\n      @method normalizeFindBelongsToResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindBelongsToResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findHasMany`\n       @since 1.13.0\n      @method normalizeFindHasManyResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindHasManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `findMany`\n       @since 1.13.0\n      @method normalizeFindManyResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeFindManyResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `query`\n       @since 1.13.0\n      @method normalizeQueryResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeQueryResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeArrayResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `createRecord`\n       @since 1.13.0\n      @method normalizeCreateRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeCreateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `deleteRecord`\n       @since 1.13.0\n      @method normalizeDeleteRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeDeleteRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse(...arguments);\n    },\n    /**\n      Called by the default normalizeResponse implementation when the\n      type of request is `updateRecord`\n       @since 1.13.0\n      @method normalizeUpdateRecordResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeUpdateRecordResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSaveResponse(...arguments);\n    },\n    /**\n      normalizeUpdateRecordResponse, normalizeCreateRecordResponse and\n      normalizeDeleteRecordResponse delegate to this method by default.\n       @since 1.13.0\n      @method normalizeSaveResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeSaveResponse(store, primaryModelClass, payload, id, requestType) {\n      return this.normalizeSingleResponse(...arguments);\n    },\n    /**\n      normalizeQueryResponse and normalizeFindRecordResponse delegate to this\n      method by default.\n       @since 1.13.0\n      @method normalizeSingleResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeSingleResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, true);\n    },\n    /**\n      normalizeQueryResponse, normalizeFindManyResponse, and normalizeFindHasManyResponse delegate\n      to this method by default.\n       @since 1.13.0\n      @method normalizeArrayResponse\n      @public\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @return {Object} JSON-API Document\n    */\n    normalizeArrayResponse(store, primaryModelClass, payload, id, requestType) {\n      return this._normalizeResponse(store, primaryModelClass, payload, id, requestType, false);\n    },\n    /**\n      @method _normalizeResponse\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      let documentHash = {\n        data: null,\n        included: []\n      };\n      let meta = this.extractMeta(store, primaryModelClass, payload);\n      if (meta) {\n        (false && !(typeof meta === 'object') && (0, _debug.assert)('The `meta` returned from `extractMeta` has to be an object, not \"' + typeof meta + '\".', typeof meta === 'object'));\n        documentHash.meta = meta;\n      }\n      if (isSingle) {\n        let {\n          data,\n          included\n        } = this.normalize(primaryModelClass, payload);\n        documentHash.data = data;\n        if (included) {\n          documentHash.included = included;\n        }\n      } else {\n        let ret = new Array(payload.length);\n        for (let i = 0, l = payload.length; i < l; i++) {\n          let item = payload[i];\n          let {\n            data,\n            included\n          } = this.normalize(primaryModelClass, item);\n          if (included) {\n            documentHash.included = documentHash.included.concat(included);\n          }\n          ret[i] = data;\n        }\n        documentHash.data = ret;\n      }\n      return documentHash;\n    },\n    /**\n      Normalizes a part of the JSON payload returned by\n      the server. You should override this method, munge the hash\n      and call super if you have generic normalization to do.\n       It takes the type of the record that is being normalized\n      (as a Model class), the property where the hash was\n      originally found, and the hash to normalize.\n       You can use this method, for example, to normalize underscored keys to camelized\n      or other general-purpose normalizations.\n       Example\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { underscore } from '<app-name>/utils/string-utils';\n      import { get } from '@ember/object';\n       export default class ApplicationSerializer extends JSONSerializer {\n        normalize(typeClass, hash) {\n          let fields = typeClass.fields;\n           fields.forEach(function(type, field) {\n            let payloadField = underscore(field);\n            if (field === payloadField) { return; }\n             hash[field] = hash[payloadField];\n            delete hash[payloadField];\n          });\n           return super.normalize(...arguments);\n        }\n      }\n      ```\n       @method normalize\n      @public\n      @param {Model} typeClass\n      @param {Object} hash\n      @return {Object}\n    */\n    normalize(modelClass, resourceHash) {\n      let data = null;\n      if (resourceHash) {\n        this.normalizeUsingDeclaredMapping(modelClass, resourceHash);\n        if (typeof resourceHash.links === 'object') {\n          this.normalizeUsingDeclaredMapping(modelClass, resourceHash.links);\n        }\n        data = {\n          id: this.extractId(modelClass, resourceHash),\n          type: modelClass.modelName,\n          attributes: this.extractAttributes(modelClass, resourceHash),\n          relationships: this.extractRelationships(modelClass, resourceHash)\n        };\n        this.applyTransforms(modelClass, data.attributes);\n      }\n      return {\n        data\n      };\n    },\n    /**\n      Returns the resource's ID.\n       @method extractId\n      @public\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {String}\n    */\n    extractId(modelClass, resourceHash) {\n      let primaryKey = this.primaryKey;\n      let id = resourceHash[primaryKey];\n      return (0, _private.coerceId)(id);\n    },\n    /**\n      Returns the resource's attributes formatted as a JSON-API \"attributes object\".\n       http://jsonapi.org/format/#document-resource-object-attributes\n       @method extractAttributes\n      @public\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {Object}\n    */\n    extractAttributes(modelClass, resourceHash) {\n      let attributeKey;\n      let attributes = {};\n      modelClass.eachAttribute(key => {\n        attributeKey = this.keyForAttribute(key, 'deserialize');\n        if (resourceHash[attributeKey] !== undefined) {\n          attributes[key] = resourceHash[attributeKey];\n        }\n      });\n      return attributes;\n    },\n    /**\n      Returns a relationship formatted as a JSON-API \"relationship object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       @method extractRelationship\n      @public\n      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @return {Object}\n    */\n    extractRelationship(relationshipModelName, relationshipHash) {\n      if (!relationshipHash) {\n        return null;\n      }\n      /*\n        When `relationshipHash` is an object it usually means that the relationship\n        is polymorphic. It could however also be embedded resources that the\n        EmbeddedRecordsMixin has be able to process.\n      */\n      if (relationshipHash && typeof relationshipHash === 'object' && !Array.isArray(relationshipHash)) {\n        if (relationshipHash.id) {\n          relationshipHash.id = (0, _private.coerceId)(relationshipHash.id);\n        }\n        let modelClass = this.store.modelFor(relationshipModelName);\n        if (relationshipHash.type && !modelClass.fields.has('type')) {\n          relationshipHash.type = this.modelNameFromPayloadKey(relationshipHash.type);\n        }\n        return relationshipHash;\n      }\n      return {\n        id: (0, _private.coerceId)(relationshipHash),\n        type: relationshipModelName\n      };\n    },\n    /**\n      Returns a polymorphic relationship formatted as a JSON-API \"relationship object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       `relationshipOptions` is a hash which contains more information about the\n      polymorphic relationship which should be extracted:\n        - `resourceHash` complete hash of the resource the relationship should be\n          extracted from\n        - `relationshipKey` key under which the value for the relationship is\n          extracted from the resourceHash\n        - `relationshipMeta` meta information about the relationship\n       @method extractPolymorphicRelationship\n      @public\n      @param {Object} relationshipModelName\n      @param {Object} relationshipHash\n      @param {Object} relationshipOptions\n      @return {Object}\n    */\n    extractPolymorphicRelationship(relationshipModelName, relationshipHash, relationshipOptions) {\n      return this.extractRelationship(relationshipModelName, relationshipHash);\n    },\n    /**\n      Returns the resource's relationships formatted as a JSON-API \"relationships object\".\n       http://jsonapi.org/format/#document-resource-object-relationships\n       @method extractRelationships\n      @public\n      @param {Object} modelClass\n      @param {Object} resourceHash\n      @return {Object}\n    */\n    extractRelationships(modelClass, resourceHash) {\n      let relationships = {};\n      modelClass.eachRelationship((key, relationshipMeta) => {\n        let relationship = null;\n        let relationshipKey = this.keyForRelationship(key, relationshipMeta.kind, 'deserialize');\n        if (resourceHash[relationshipKey] !== undefined) {\n          let data = null;\n          let relationshipHash = resourceHash[relationshipKey];\n          if (relationshipMeta.kind === 'belongsTo') {\n            if (relationshipMeta.options.polymorphic) {\n              // extracting a polymorphic belongsTo may need more information\n              // than the type and the hash (which might only be an id) for the\n              // relationship, hence we pass the key, resource and\n              // relationshipMeta too\n              data = this.extractPolymorphicRelationship(relationshipMeta.type, relationshipHash, {\n                key,\n                resourceHash,\n                relationshipMeta\n              });\n            } else {\n              data = this.extractRelationship(relationshipMeta.type, relationshipHash);\n            }\n          } else if (relationshipMeta.kind === 'hasMany') {\n            if (relationshipHash) {\n              data = new Array(relationshipHash.length);\n              if (relationshipMeta.options.polymorphic) {\n                for (let i = 0, l = relationshipHash.length; i < l; i++) {\n                  let item = relationshipHash[i];\n                  data[i] = this.extractPolymorphicRelationship(relationshipMeta.type, item, {\n                    key,\n                    resourceHash,\n                    relationshipMeta\n                  });\n                }\n              } else {\n                for (let i = 0, l = relationshipHash.length; i < l; i++) {\n                  let item = relationshipHash[i];\n                  data[i] = this.extractRelationship(relationshipMeta.type, item);\n                }\n              }\n            }\n          }\n          relationship = {\n            data\n          };\n        }\n        let linkKey = this.keyForLink(key, relationshipMeta.kind);\n        if (resourceHash.links && resourceHash.links[linkKey] !== undefined) {\n          let related = resourceHash.links[linkKey];\n          relationship = relationship || {};\n          relationship.links = {\n            related\n          };\n        }\n        if (relationship) {\n          relationships[key] = relationship;\n        }\n      });\n      return relationships;\n    },\n    /**\n      Dasherizes the model name in the payload\n       @method modelNameFromPayloadKey\n      @public\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey(key) {\n      return (0, _string.dasherize)(key);\n    },\n    /**\n      @method normalizeRelationships\n      @private\n    */\n    normalizeRelationships(typeClass, hash) {\n      let payloadKey;\n      if (this.keyForRelationship) {\n        typeClass.eachRelationship((key, relationship) => {\n          payloadKey = this.keyForRelationship(key, relationship.kind, 'deserialize');\n          if (key === payloadKey) {\n            return;\n          }\n          if (hash[payloadKey] === undefined) {\n            return;\n          }\n          hash[key] = hash[payloadKey];\n          delete hash[payloadKey];\n        });\n      }\n    },\n    /**\n      @method normalizeUsingDeclaredMapping\n      @private\n    */\n    normalizeUsingDeclaredMapping(modelClass, hash) {\n      let attrs = this.attrs;\n      let normalizedKey;\n      let payloadKey;\n      if (attrs) {\n        for (let key in attrs) {\n          normalizedKey = payloadKey = this._getMappedKey(key, modelClass);\n          if (hash[payloadKey] === undefined) {\n            continue;\n          }\n          if (modelClass.attributes.has(key)) {\n            normalizedKey = this.keyForAttribute(key, 'deserialize');\n          }\n          if (modelClass.relationshipsByName.has(key)) {\n            normalizedKey = this.keyForRelationship(key, modelClass, 'deserialize');\n          }\n          if (payloadKey !== normalizedKey) {\n            hash[normalizedKey] = hash[payloadKey];\n            delete hash[payloadKey];\n          }\n        }\n      }\n    },\n    /**\n      Looks up the property key that was set by the custom `attr` mapping\n      passed to the serializer.\n       @method _getMappedKey\n      @private\n      @param {String} key\n      @return {String} key\n    */\n    _getMappedKey(key, modelClass) {\n      (false && (0, _debug.warn)('There is no attribute or relationship with the name `' + key + '` on `' + modelClass.modelName + '`. Check your serializers attrs hash.', modelClass.attributes.has(key) || modelClass.relationshipsByName.has(key), {\n        id: 'ds.serializer.no-mapped-attrs-key'\n      }));\n      let attrs = this.attrs;\n      let mappedKey;\n      if (attrs && attrs[key]) {\n        mappedKey = attrs[key];\n        //We need to account for both the { title: 'post_title' } and\n        //{ title: { key: 'post_title' }} forms\n        if (mappedKey.key) {\n          mappedKey = mappedKey.key;\n        }\n        if (typeof mappedKey === 'string') {\n          key = mappedKey;\n        }\n      }\n      return key;\n    },\n    /**\n      Check attrs.key.serialize property to inform if the `key`\n      can be serialized\n       @method _canSerialize\n      @private\n      @param {String} key\n      @return {boolean} true if the key can be serialized\n    */\n    _canSerialize(key) {\n      let attrs = this.attrs;\n      return !attrs || !attrs[key] || attrs[key].serialize !== false;\n    },\n    /**\n      When attrs.key.serialize is set to true then\n      it takes priority over the other checks and the related\n      attribute/relationship will be serialized\n       @method _mustSerialize\n      @private\n      @param {String} key\n      @return {boolean} true if the key must be serialized\n    */\n    _mustSerialize(key) {\n      let attrs = this.attrs;\n      return attrs && attrs[key] && attrs[key].serialize === true;\n    },\n    /**\n      Check if the given hasMany relationship should be serialized\n       By default only many-to-many and many-to-none relationships are serialized.\n      This could be configured per relationship by Serializer's `attrs` object.\n       @method shouldSerializeHasMany\n      @public\n      @param {Snapshot} snapshot\n      @param {String} key\n      @param {String} relationshipType\n      @return {boolean} true if the hasMany relationship should be serialized\n    */\n    shouldSerializeHasMany(snapshot, key, relationship) {\n      const schema = this.store.modelFor(snapshot.modelName);\n      let relationshipType = schema.determineRelationshipType(relationship, this.store);\n      if (this._mustSerialize(key)) {\n        return true;\n      }\n      return this._canSerialize(key) && (relationshipType === 'manyToNone' || relationshipType === 'manyToMany');\n    },\n    // SERIALIZE\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       By default, it creates a JSON object with a key for\n      each attribute and belongsTo relationship.\n       For example, consider this model:\n       ```app/models/comment.js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       export default class CommentModel extends Model {\n        @attr title;\n        @attr body;\n         @belongsTo('user') author;\n      }\n      ```\n       The default serialization would create a JSON object like:\n       ```javascript\n      {\n        \"title\": \"Rails is unagi\",\n        \"body\": \"Rails? Omakase? O_O\",\n        \"author\": 12\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the JSON hash.\n       By default, belongs-to relationships are converted into\n      IDs when inserted into the JSON hash.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The adapter passes in `includeId: true` when serializing\n      a record for `createRecord`, but not for `updateRecord`.\n       ## Customization\n       Your server may expect a different JSON format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return a JSON hash of your choosing.\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        serialize(snapshot, options) {\n          let json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { singularize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends JSONSerializer {\n        serialize(snapshot, options) {\n          let json = {};\n           snapshot.eachAttribute((name) => {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship((name, relationship) => {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n       function serverAttributeName(attribute) {\n        return attribute.underscore().toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + \"_IDS\";\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```javascript\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ \"1\", \"2\", \"3\" ]\n      }\n      ```\n       ## Tweaking the Default JSON\n       If you just want to do some small tweaks on the default JSON,\n      you can call `super.serialize` first and make the tweaks on\n      the returned JSON.\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        serialize(snapshot, options) {\n          let json = super.serialize(...arguments);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      }\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize(snapshot, options) {\n      let json = {};\n      if (options && options.includeId) {\n        const id = snapshot.id;\n        if (id) {\n          json[this.primaryKey] = id;\n        }\n      }\n      snapshot.eachAttribute((key, attribute) => {\n        this.serializeAttribute(snapshot, json, key, attribute);\n      });\n      snapshot.eachRelationship((key, relationship) => {\n        if (relationship.kind === 'belongsTo') {\n          this.serializeBelongsTo(snapshot, json, relationship);\n        } else if (relationship.kind === 'hasMany') {\n          this.serializeHasMany(snapshot, json, relationship);\n        }\n      });\n      return json;\n    },\n    /**\n      You can use this method to customize how a serialized record is added to the complete\n      JSON hash to be sent to the server. By default the JSON Serializer does not namespace\n      the payload and just sends the raw serialized JSON object.\n      If your server expects namespaced keys, you should consider using the RESTSerializer.\n      Otherwise you can override this method to customize how the record is added to the hash.\n      The hash property should be modified by reference.\n       For example, your server may expect underscored root objects.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { decamelize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serializeIntoHash(data, type, snapshot, options) {\n          let root = decamelize(type.modelName);\n          data[root] = this.serialize(snapshot, options);\n        }\n      }\n      ```\n       @method serializeIntoHash\n      @public\n      @param {Object} hash\n      @param {Model} typeClass\n      @param {Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash(hash, typeClass, snapshot, options) {\n      Object.assign(hash, this.serialize(snapshot, options));\n    },\n    /**\n      `serializeAttribute` can be used to customize how `attr`\n      properties are serialized\n       For example if you wanted to ensure all your attributes were always\n      serialized as properties on an `attributes` object you could\n      write:\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class ApplicationSerializer extends JSONSerializer {\n        serializeAttribute(snapshot, json, key, attributes) {\n          json.attributes = json.attributes || {};\n          super.serializeAttribute(snapshot, json.attributes, key, attributes);\n        }\n      }\n      ```\n       @method serializeAttribute\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {String} key\n      @param {Object} attribute\n    */\n    serializeAttribute(snapshot, json, key, attribute) {\n      if (this._canSerialize(key)) {\n        let type = attribute.type;\n        let value = snapshot.attr(key);\n        if (type) {\n          let transform = this.transformFor(type);\n          value = transform.serialize(value, attribute.options);\n        }\n\n        // if provided, use the mapping provided by `attrs` in\n        // the serializer\n        let schema = this.store.modelFor(snapshot.modelName);\n        let payloadKey = this._getMappedKey(key, schema);\n        if (payloadKey === key && this.keyForAttribute) {\n          payloadKey = this.keyForAttribute(key, 'serialize');\n        }\n        json[payloadKey] = value;\n      }\n    },\n    /**\n      `serializeBelongsTo` can be used to customize how `belongsTo`\n      properties are serialized.\n       Example\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        serializeBelongsTo(snapshot, json, relationship) {\n          let key = relationship.key;\n          let belongsTo = snapshot.belongsTo(key);\n           key = this.keyForRelationship ? this.keyForRelationship(key, \"belongsTo\", \"serialize\") : key;\n           json[key] = !belongsTo ? null : belongsTo.record.toJSON();\n        }\n      }\n      ```\n       @method serializeBelongsTo\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializeBelongsTo(snapshot, json, relationship) {\n      let key = relationship.key;\n      if (this._canSerialize(key)) {\n        let belongsToId = snapshot.belongsTo(key, {\n          id: true\n        });\n\n        // if provided, use the mapping provided by `attrs` in\n        // the serializer\n        let schema = this.store.modelFor(snapshot.modelName);\n        let payloadKey = this._getMappedKey(key, schema);\n        if (payloadKey === key && this.keyForRelationship) {\n          payloadKey = this.keyForRelationship(key, 'belongsTo', 'serialize');\n        }\n\n        //Need to check whether the id is there for new&async records\n        if (!belongsToId) {\n          json[payloadKey] = null;\n        } else {\n          json[payloadKey] = belongsToId;\n        }\n        if (relationship.options.polymorphic) {\n          this.serializePolymorphicType(snapshot, json, relationship);\n        }\n      }\n    },\n    /**\n     `serializeHasMany` can be used to customize how `hasMany`\n     properties are serialized.\n      Example\n      ```app/serializers/post.js\n     import JSONSerializer from '@ember-data/serializer/json';\n      export default class PostSerializer extends JSONSerializer {\n       serializeHasMany(snapshot, json, relationship) {\n         let key = relationship.key;\n         if (key === 'comments') {\n           return;\n         } else {\n           super.serializeHasMany(...arguments);\n         }\n       }\n     }\n     ```\n      @method serializeHasMany\n      @public\n     @param {Snapshot} snapshot\n     @param {Object} json\n     @param {Object} relationship\n    */\n    serializeHasMany(snapshot, json, relationship) {\n      let key = relationship.key;\n      if (this.shouldSerializeHasMany(snapshot, key, relationship)) {\n        let hasMany = snapshot.hasMany(key, {\n          ids: true\n        });\n        if (hasMany !== undefined) {\n          // if provided, use the mapping provided by `attrs` in\n          // the serializer\n          let schema = this.store.modelFor(snapshot.modelName);\n          let payloadKey = this._getMappedKey(key, schema);\n          if (payloadKey === key && this.keyForRelationship) {\n            payloadKey = this.keyForRelationship(key, 'hasMany', 'serialize');\n          }\n          json[payloadKey] = hasMany;\n          // TODO support for polymorphic manyToNone and manyToMany relationships\n        }\n      }\n    },\n    /**\n      You can use this method to customize how polymorphic objects are\n      serialized. Objects are considered to be polymorphic if\n      `{ polymorphic: true }` is pass as the second argument to the\n      `belongsTo` function.\n       Example\n       ```app/serializers/comment.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class CommentSerializer extends JSONSerializer {\n        serializePolymorphicType(snapshot, json, relationship) {\n          let key = relationship.key;\n          let belongsTo = snapshot.belongsTo(key);\n           key = this.keyForAttribute ? this.keyForAttribute(key, 'serialize') : key;\n           if (!belongsTo) {\n            json[key + '_type'] = null;\n          } else {\n            json[key + '_type'] = belongsTo.modelName;\n          }\n        }\n      }\n      ```\n       @method serializePolymorphicType\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializePolymorphicType() {},\n    /**\n      `extractMeta` is used to deserialize any meta information in the\n      adapter payload. By default Ember Data expects meta information to\n      be located on the `meta` property of the payload object.\n       Example\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        extractMeta(store, typeClass, payload) {\n          if (payload && payload.hasOwnProperty('_pagination')) {\n            let meta = payload._pagination;\n            delete payload._pagination;\n            return meta;\n          }\n        }\n      }\n      ```\n       @method extractMeta\n      @public\n      @param {Store} store\n      @param {Model} modelClass\n      @param {Object} payload\n    */\n    extractMeta(store, modelClass, payload) {\n      if (payload && payload['meta'] !== undefined) {\n        let meta = payload.meta;\n        delete payload.meta;\n        return meta;\n      }\n    },\n    /**\n      `extractErrors` is used to extract model errors when a call\n      to `Model#save` fails with an `InvalidError`. By default\n      Ember Data expects error information to be located on the `errors`\n      property of the payload object.\n       This serializer expects this `errors` object to be an Array similar\n      to the following, compliant with the https://jsonapi.org/format/#errors specification:\n       ```js\n      {\n        \"errors\": [\n          {\n            \"detail\": \"This username is already taken!\",\n            \"source\": {\n              \"pointer\": \"data/attributes/username\"\n            }\n          }, {\n            \"detail\": \"Doesn't look like a valid email.\",\n            \"source\": {\n              \"pointer\": \"data/attributes/email\"\n            }\n          }\n        ]\n      }\n      ```\n       The key `detail` provides a textual description of the problem.\n      Alternatively, the key `title` can be used for the same purpose.\n       The nested keys `source.pointer` detail which specific element\n      of the request data was invalid.\n       Note that JSON-API also allows for object-level errors to be placed\n      in an object with pointer `data`, signifying that the problem\n      cannot be traced to a specific attribute:\n       ```javascript\n      {\n        \"errors\": [\n          {\n            \"detail\": \"Some generic non property error message\",\n            \"source\": {\n              \"pointer\": \"data\"\n            }\n          }\n        ]\n      }\n      ```\n       When turn into a `Errors` object, you can read these errors\n      through the property `base`:\n       ```handlebars\n      {{#each @model.errors.base as |error|}}\n        <div class=\"error\">\n          {{error.message}}\n        </div>\n      {{/each}}\n      ```\n       Example of alternative implementation, overriding the default\n      behavior to deal with a different format of errors:\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default class PostSerializer extends JSONSerializer {\n        extractErrors(store, typeClass, payload, id) {\n          if (payload && typeof payload === 'object' && payload._problems) {\n            payload = payload._problems;\n            this.normalizeErrors(typeClass, payload);\n          }\n          return payload;\n        }\n      }\n      ```\n       @method extractErrors\n      @public\n      @param {Store} store\n      @param {Model} typeClass\n      @param {Object} payload\n      @param {(String|Number)} id\n      @return {Object} json The deserialized errors\n    */\n    extractErrors(store, typeClass, payload, id) {\n      if (payload && typeof payload === 'object' && payload.errors) {\n        // the default assumption is that errors is already in JSON:API format\n        const extracted = {};\n        payload.errors.forEach(error => {\n          if (error.source && error.source.pointer) {\n            let key = error.source.pointer.match(SOURCE_POINTER_REGEXP);\n            if (key) {\n              key = key[2];\n            } else if (error.source.pointer.search(SOURCE_POINTER_PRIMARY_REGEXP) !== -1) {\n              key = PRIMARY_ATTRIBUTE_KEY;\n            }\n            if (key) {\n              extracted[key] = extracted[key] || [];\n              extracted[key].push(error.detail || error.title);\n            }\n          }\n        });\n\n        // if the user has an attrs hash, convert keys using it\n        this.normalizeUsingDeclaredMapping(typeClass, extracted);\n\n        // for each attr and relationship, make sure that we use\n        // the normalized key\n        typeClass.eachAttribute(name => {\n          let key = this.keyForAttribute(name, 'deserialize');\n          if (key !== name && extracted[key] !== undefined) {\n            extracted[name] = extracted[key];\n            delete extracted[key];\n          }\n        });\n        typeClass.eachRelationship(name => {\n          let key = this.keyForRelationship(name, 'deserialize');\n          if (key !== name && extracted[key] !== undefined) {\n            extracted[name] = extracted[key];\n            delete extracted[key];\n          }\n        });\n        return extracted;\n      }\n      return payload;\n    },\n    /**\n      `keyForAttribute` can be used to define rules for how to convert an\n      attribute name in your model to a key in your JSON.\n       Example\n       ```app/serializers/application.js\n      import JSONSerializer from '@ember-data/serializer/json';\n      import { underscore } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends JSONSerializer {\n        keyForAttribute(attr, method) {\n          return underscore(attr).toUpperCase();\n        }\n      }\n      ```\n       @method keyForAttribute\n      @public\n      @param {String} key\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForAttribute(key, method) {\n      return key;\n    },\n    /**\n      `keyForRelationship` can be used to define a custom key when\n      serializing and deserializing relationship properties. By default\n      `JSONSerializer` does not provide an implementation of this method.\n       Example\n         ```app/serializers/post.js\n        import JSONSerializer from '@ember-data/serializer/json';\n        import { underscore } from '<app-name>/utils/string-utils';\n         export default class PostSerializer extends JSONSerializer {\n          keyForRelationship(key, relationship, method) {\n            return `rel_${underscore(key)}`;\n          }\n        }\n        ```\n       @method keyForRelationship\n      @public\n      @param {String} key\n      @param {String} typeClass\n      @param {String} method\n      @return {String} normalized key\n    */\n    keyForRelationship(key, typeClass, method) {\n      return key;\n    },\n    /**\n     `keyForLink` can be used to define a custom key when deserializing link\n     properties.\n      @method keyForLink\n      @public\n     @param {String} key\n     @param {String} kind `belongsTo` or `hasMany`\n     @return {String} normalized key\n    */\n    keyForLink(key, kind) {\n      return key;\n    },\n    // HELPERS\n\n    /**\n     @method transformFor\n     @private\n     @param {String} attributeType\n     @param {Boolean} skipAssertion\n     @return {Transform} transform\n    */\n    transformFor(attributeType, skipAssertion) {\n      let transform = (0, _application.getOwner)(this).lookup('transform:' + attributeType);\n      (false && !(skipAssertion || !!transform) && (0, _debug.assert)(`Unable to find the transform for \\`attr('${attributeType}')\\``, skipAssertion || !!transform));\n      return transform;\n    }\n  });\n});","define(\"@ember-data/serializer/rest\", [\"exports\", \"@ember/debug\", \"@ember/string\", \"ember-inflector\", \"@ember-data/store/-private\", \"@ember-data/serializer/json\", \"@ember-data/serializer/embedded-records-mixin-d75385ff\"], function (_exports, _debug, _string, _emberInflector, _private, _json, _embeddedRecordsMixinD75385ff) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"EmbeddedRecordsMixin\", {\n    enumerable: true,\n    get: function () {\n      return _embeddedRecordsMixinD75385ff.e;\n    }\n  });\n  _exports.default = void 0;\n  function makeArray(value) {\n    return Array.isArray(value) ? value : [value];\n  }\n\n  /**\n   * <blockquote style=\"margin: 1em; padding: .1em 1em .1em 1em; border-left: solid 1em #E34C32; background: #e0e0e0;\">\n    <p>\n      ⚠️ <strong>This is LEGACY documentation</strong> for a feature that is no longer encouraged to be used.\n      If starting a new app or thinking of implementing a new adapter, consider writing a\n      <a href=\"/ember-data/release/classes/%3CInterface%3E%20Handler\">Handler</a> instead to be used with the <a href=\"https://github.com/emberjs/data/tree/main/packages/request#readme\">RequestManager</a>\n    </p>\n    </blockquote>\n  \n    Normally, applications will use the `RESTSerializer` by implementing\n    the `normalize` method.\n  \n    This allows you to do whatever kind of munging you need and is\n    especially useful if your server is inconsistent and you need to\n    do munging differently for many different kinds of responses.\n  \n    See the `normalize` documentation for more information.\n  \n    ## Across the Board Normalization\n  \n    There are also a number of hooks that you might find useful to define\n    across-the-board rules for your payload. These rules will be useful\n    if your server is consistent, or if you're building an adapter for\n    an infrastructure service, like Firebase, and want to encode service\n    conventions.\n  \n    For example, if all of your keys are underscored and all-caps, but\n    otherwise consistent with the names you use in your models, you\n    can implement across-the-board rules for how to convert an attribute\n    name in your model to a key in your JSON.\n  \n    ```app/serializers/application.js\n    import RESTSerializer from '@ember-data/serializer/rest';\n    import { underscore } from '<app-name>/utils/string-utils';\n  \n    export default class ApplicationSerializer extends RESTSerializer {\n      keyForAttribute(attr, method) {\n        return underscore(attr).toUpperCase();\n      }\n    }\n    ```\n  \n    You can also implement `keyForRelationship`, which takes the name\n    of the relationship as the first parameter, the kind of\n    relationship (`hasMany` or `belongsTo`) as the second parameter, and\n    the method (`serialize` or `deserialize`) as the third parameter.\n  \n    @class RESTSerializer\n    @main @ember-data/serializer/rest\n    @public\n    @extends JSONSerializer\n  */\n  const RESTSerializer = _exports.default = _json.default.extend({\n    /**\n     `keyForPolymorphicType` can be used to define a custom key when\n     serializing and deserializing a polymorphic type. By default, the\n     returned key is `${key}Type`.\n      Example\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        keyForPolymorphicType(key, relationship) {\n          let relationshipKey = this.keyForRelationship(key);\n           return 'type-' + relationshipKey;\n        }\n      }\n      ```\n      @method keyForPolymorphicType\n      @public\n     @param {String} key\n     @param {String} typeClass\n     @param {String} method\n     @return {String} normalized key\n    */\n    keyForPolymorphicType(key, typeClass, method) {\n      let relationshipKey = this.keyForRelationship(key);\n      return `${relationshipKey}Type`;\n    },\n    /**\n      Normalizes a part of the JSON payload returned by\n      the server. You should override this method, munge the hash\n      and call super if you have generic normalization to do.\n       It takes the type of the record that is being normalized\n      (as a Model class), the property where the hash was\n      originally found, and the hash to normalize.\n       For example, if you have a payload that looks like this:\n       ```js\n      {\n        \"post\": {\n          \"id\": 1,\n          \"title\": \"Rails is omakase\",\n          \"comments\": [ 1, 2 ]\n        },\n        \"comments\": [{\n          \"id\": 1,\n          \"body\": \"FIRST\"\n        }, {\n          \"id\": 2,\n          \"body\": \"Rails is unagi\"\n        }]\n      }\n      ```\n       The `normalize` method will be called three times:\n       * With `App.Post`, `\"posts\"` and `{ id: 1, title: \"Rails is omakase\", ... }`\n      * With `App.Comment`, `\"comments\"` and `{ id: 1, body: \"FIRST\" }`\n      * With `App.Comment`, `\"comments\"` and `{ id: 2, body: \"Rails is unagi\" }`\n       You can use this method, for example, to normalize underscored keys to camelized\n      or other general-purpose normalizations. You will only need to implement\n      `normalize` and manipulate the payload as desired.\n       For example, if the `IDs` under `\"comments\"` are provided as `_id` instead of\n      `id`, you can specify how to normalize just the comments:\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        normalize(model, hash, prop) {\n          if (prop === 'comments') {\n            hash.id = hash._id;\n            delete hash._id;\n          }\n           return super.normalize(...arguments);\n        }\n      }\n      ```\n       On each call to the `normalize` method, the third parameter (`prop`) is always\n      one of the keys that were in the original payload or in the result of another\n      normalization as `normalizeResponse`.\n       @method normalize\n      @public\n      @param {Model} modelClass\n      @param {Object} resourceHash\n      @param {String} prop\n      @return {Object}\n    */\n\n    /**\n      Normalizes an array of resource payloads and returns a JSON-API Document\n      with primary data and, if any, included data as `{ data, included }`.\n       @method _normalizeArray\n      @param {Store} store\n      @param {String} modelName\n      @param {Object} arrayHash\n      @param {String} prop\n      @return {Object}\n      @private\n    */\n    _normalizeArray(store, modelName, arrayHash, prop) {\n      let documentHash = {\n        data: [],\n        included: []\n      };\n      let modelClass = store.modelFor(modelName);\n      let serializer = store.serializerFor(modelName);\n      makeArray(arrayHash).forEach(hash => {\n        let {\n          data,\n          included\n        } = this._normalizePolymorphicRecord(store, hash, prop, modelClass, serializer);\n        documentHash.data.push(data);\n        if (included) {\n          documentHash.included = documentHash.included.concat(included);\n        }\n      });\n      return documentHash;\n    },\n    _normalizePolymorphicRecord(store, hash, prop, primaryModelClass, primarySerializer) {\n      let serializer = primarySerializer;\n      let modelClass = primaryModelClass;\n      let primaryHasTypeAttribute = primaryModelClass.fields.has('type');\n      if (!primaryHasTypeAttribute && hash.type) {\n        // Support polymorphic records in async relationships\n        let modelName = this.modelNameFromPayloadKey(hash.type);\n        if (store.getSchemaDefinitionService().doesTypeExist(modelName)) {\n          serializer = store.serializerFor(modelName);\n          modelClass = store.modelFor(modelName);\n        }\n      }\n      return serializer.normalize(modelClass, hash, prop);\n    },\n    /**\n      @method _normalizeResponse\n      @param {Store} store\n      @param {Model} primaryModelClass\n      @param {Object} payload\n      @param {String|Number} id\n      @param {String} requestType\n      @param {Boolean} isSingle\n      @return {Object} JSON-API Document\n      @private\n    */\n    _normalizeResponse(store, primaryModelClass, payload, id, requestType, isSingle) {\n      let documentHash = {\n        data: null,\n        included: []\n      };\n      let meta = this.extractMeta(store, primaryModelClass, payload);\n      if (meta) {\n        (false && !(typeof meta === 'object') && (0, _debug.assert)('The `meta` returned from `extractMeta` has to be an object, not \"' + typeof meta + '\".', typeof meta === 'object'));\n        documentHash.meta = meta;\n      }\n      let keys = Object.keys(payload);\n      for (var i = 0, length = keys.length; i < length; i++) {\n        var prop = keys[i];\n        var modelName = prop;\n        var forcedSecondary = false;\n\n        /*\n          If you want to provide sideloaded records of the same type that the\n          primary data you can do that by prefixing the key with `_`.\n           Example\n           ```\n          {\n            users: [\n              { id: 1, title: 'Tom', manager: 3 },\n              { id: 2, title: 'Yehuda', manager: 3 }\n            ],\n            _users: [\n              { id: 3, title: 'Tomster' }\n            ]\n          }\n          ```\n           This forces `_users` to be added to `included` instead of `data`.\n         */\n        if (prop.charAt(0) === '_') {\n          forcedSecondary = true;\n          modelName = prop.substr(1);\n        }\n        var typeName = this.modelNameFromPayloadKey(modelName);\n        if (!store.getSchemaDefinitionService().doesTypeExist(typeName)) {\n          (false && (0, _debug.warn)(this.warnMessageNoModelForKey(modelName, typeName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          }));\n          continue;\n        }\n        var isPrimary = !forcedSecondary && this.isPrimaryType(store, typeName, primaryModelClass);\n        var value = payload[prop];\n        if (value === null) {\n          continue;\n        }\n        (false && !(!(requestType === 'queryRecord' && isPrimary && Array.isArray(value))) && (0, _debug.assert)('The adapter returned an array for the primary data of a `queryRecord` response. `queryRecord` should return a single record.', !(requestType === 'queryRecord' && isPrimary && Array.isArray(value))));\n        /*\n          Support primary data as an object instead of an array.\n           Example\n           ```\n          {\n            user: { id: 1, title: 'Tom', manager: 3 }\n          }\n          ```\n         */\n        if (isPrimary && !Array.isArray(value)) {\n          let {\n            data,\n            included\n          } = this._normalizePolymorphicRecord(store, value, prop, primaryModelClass, this);\n          documentHash.data = data;\n          if (included) {\n            documentHash.included = documentHash.included.concat(included);\n          }\n          continue;\n        }\n        let {\n          data,\n          included\n        } = this._normalizeArray(store, typeName, value, prop);\n        if (included) {\n          documentHash.included = documentHash.included.concat(included);\n        }\n        if (isSingle) {\n          data.forEach(resource => {\n            /*\n              Figures out if this is the primary record or not.\n               It's either:\n               1. The record with the same ID as the original request\n              2. If it's a newly created record without an ID, the first record\n                 in the array\n             */\n            let isUpdatedRecord = isPrimary && (0, _private.coerceId)(resource.id) === id;\n            let isFirstCreatedRecord = isPrimary && !id && !documentHash.data;\n            if (isFirstCreatedRecord || isUpdatedRecord) {\n              documentHash.data = resource;\n            } else {\n              documentHash.included.push(resource);\n            }\n          });\n        } else {\n          if (isPrimary) {\n            documentHash.data = data;\n          } else {\n            if (data) {\n              documentHash.included = documentHash.included.concat(data);\n            }\n          }\n        }\n      }\n      return documentHash;\n    },\n    isPrimaryType(store, modelName, primaryModelClass) {\n      return (0, _string.dasherize)(modelName) === primaryModelClass.modelName;\n    },\n    /**\n      This method allows you to push a payload containing top-level\n      collections of records organized per type.\n       ```js\n      {\n        \"posts\": [{\n          \"id\": \"1\",\n          \"title\": \"Rails is omakase\",\n          \"author\", \"1\",\n          \"comments\": [ \"1\" ]\n        }],\n        \"comments\": [{\n          \"id\": \"1\",\n          \"body\": \"FIRST\"\n        }],\n        \"users\": [{\n          \"id\": \"1\",\n          \"name\": \"@d2h\"\n        }]\n      }\n      ```\n       It will first normalize the payload, so you can use this to push\n      in data streaming in from your server structured the same way\n      that fetches and saves are structured.\n       @method pushPayload\n      @public\n      @param {Store} store\n      @param {Object} payload\n    */\n    pushPayload(store, payload) {\n      let documentHash = {\n        data: [],\n        included: []\n      };\n      for (var prop in payload) {\n        var modelName = this.modelNameFromPayloadKey(prop);\n        if (!store.getSchemaDefinitionService().doesTypeExist(modelName)) {\n          (false && (0, _debug.warn)(this.warnMessageNoModelForKey(prop, modelName), false, {\n            id: 'ds.serializer.model-for-key-missing'\n          }));\n          continue;\n        }\n        var type = store.modelFor(modelName);\n        var typeSerializer = store.serializerFor(type.modelName);\n        makeArray(payload[prop]).forEach(hash => {\n          let {\n            data,\n            included\n          } = typeSerializer.normalize(type, hash, prop);\n          documentHash.data.push(data);\n          if (included) {\n            documentHash.included = documentHash.included.concat(included);\n          }\n        });\n      }\n      store.push(documentHash);\n    },\n    /**\n      This method is used to convert each JSON root key in the payload\n      into a modelName that it can use to look up the appropriate model for\n      that part of the payload.\n       For example, your server may send a model name that does not correspond with\n      the name of the model in your app. Let's take a look at an example model,\n      and an example payload:\n       ```app/models/post.js\n      import Model from '@ember-data/model';\n       export default class Post extends Model {}\n      ```\n       ```javascript\n        {\n          \"blog/post\": {\n            \"id\": \"1\n          }\n        }\n      ```\n       Ember Data is going to normalize the payload's root key for the modelName. As a result,\n      it will try to look up the \"blog/post\" model. Since we don't have a model called \"blog/post\"\n      (or a file called app/models/blog/post.js in ember-cli), Ember Data will throw an error\n      because it cannot find the \"blog/post\" model.\n       Since we want to remove this namespace, we can define a serializer for the application that will\n      remove \"blog/\" from the payload key whenver it's encountered by Ember Data:\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        modelNameFromPayloadKey(payloadKey) {\n          if (payloadKey === 'blog/post') {\n            return super.modelNameFromPayloadKey(payloadKey.replace('blog/', ''));\n          } else {\n           return super.modelNameFromPayloadKey(payloadKey);\n          }\n        }\n      }\n      ```\n       After refreshing, Ember Data will appropriately look up the \"post\" model.\n       By default the modelName for a model is its\n      name in dasherized form. This means that a payload key like \"blogPost\" would be\n      normalized to \"blog-post\" when Ember Data looks up the model. Usually, Ember Data\n      can use the correct inflection to do this for you. Most of the time, you won't\n      need to override `modelNameFromPayloadKey` for this purpose.\n       @method modelNameFromPayloadKey\n      @public\n      @param {String} key\n      @return {String} the model's modelName\n    */\n    modelNameFromPayloadKey(key) {\n      return (0, _emberInflector.singularize)((0, _string.dasherize)(key));\n    },\n    // SERIALIZE\n\n    /**\n      Called when a record is saved in order to convert the\n      record into JSON.\n       By default, it creates a JSON object with a key for\n      each attribute and belongsTo relationship.\n       For example, consider this model:\n       ```app/models/comment.js\n      import Model, { attr, belongsTo } from '@ember-data/model';\n       export default class Comment extends Model {\n        @attr title\n        @attr body\n         @belongsTo('user') author\n      }\n      ```\n       The default serialization would create a JSON object like:\n       ```js\n      {\n        \"title\": \"Rails is unagi\",\n        \"body\": \"Rails? Omakase? O_O\",\n        \"author\": 12\n      }\n      ```\n       By default, attributes are passed through as-is, unless\n      you specified an attribute type (`attr('date')`). If\n      you specify a transform, the JavaScript value will be\n      serialized when inserted into the JSON hash.\n       By default, belongs-to relationships are converted into\n      IDs when inserted into the JSON hash.\n       ## IDs\n       `serialize` takes an options hash with a single option:\n      `includeId`. If this option is `true`, `serialize` will,\n      by default include the ID in the JSON object it builds.\n       The adapter passes in `includeId: true` when serializing\n      a record for `createRecord`, but not for `updateRecord`.\n       ## Customization\n       Your server may expect a different JSON format than the\n      built-in serialization format.\n       In that case, you can implement `serialize` yourself and\n      return a JSON hash of your choosing.\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serialize(snapshot, options) {\n          let json = {\n            POST_TTL: snapshot.attr('title'),\n            POST_BDY: snapshot.attr('body'),\n            POST_CMS: snapshot.hasMany('comments', { ids: true })\n          };\n           if (options.includeId) {\n            json.POST_ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n      ```\n       ## Customizing an App-Wide Serializer\n       If you want to define a serializer for your entire\n      application, you'll probably want to use `eachAttribute`\n      and `eachRelationship` on the record.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { pluralize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serialize(snapshot, options) {\n          let json = {};\n           snapshot.eachAttribute(function(name) {\n            json[serverAttributeName(name)] = snapshot.attr(name);\n          });\n           snapshot.eachRelationship(function(name, relationship) {\n            if (relationship.kind === 'hasMany') {\n              json[serverHasManyName(name)] = snapshot.hasMany(name, { ids: true });\n            }\n          });\n           if (options.includeId) {\n            json.ID_ = snapshot.id;\n          }\n           return json;\n        }\n      }\n       function serverAttributeName(attribute) {\n        return attribute.underscore().toUpperCase();\n      }\n       function serverHasManyName(name) {\n        return serverAttributeName(singularize(name)) + \"_IDS\";\n      }\n      ```\n       This serializer will generate JSON that looks like this:\n       ```js\n      {\n        \"TITLE\": \"Rails is omakase\",\n        \"BODY\": \"Yep. Omakase.\",\n        \"COMMENT_IDS\": [ 1, 2, 3 ]\n      }\n      ```\n       ## Tweaking the Default JSON\n       If you just want to do some small tweaks on the default JSON,\n      you can call super first and make the tweaks on the returned\n      JSON.\n       ```app/serializers/post.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serialize(snapshot, options) {\n          let json = super.serialize(snapshot, options);\n           json.subject = json.title;\n          delete json.title;\n           return json;\n        }\n      }\n      ```\n       @method serialize\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} options\n      @return {Object} json\n    */\n    serialize(snapshot, options) {\n      return this._super(...arguments);\n    },\n    /**\n      You can use this method to customize the root keys serialized into the JSON.\n      The hash property should be modified by reference (possibly using something like _.extend)\n      By default the REST Serializer sends the modelName of a model, which is a camelized\n      version of the name.\n       For example, your server may expect underscored root objects.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { decamelize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends RESTSerializer {\n        serializeIntoHash(data, type, record, options) {\n          let root = decamelize(type.modelName);\n          data[root] = this.serialize(record, options);\n        }\n      }\n      ```\n       @method serializeIntoHash\n      @public\n      @param {Object} hash\n      @param {Model} typeClass\n      @param {Snapshot} snapshot\n      @param {Object} options\n    */\n    serializeIntoHash(hash, typeClass, snapshot, options) {\n      let normalizedRootKey = this.payloadKeyFromModelName(typeClass.modelName);\n      hash[normalizedRootKey] = this.serialize(snapshot, options);\n    },\n    /**\n      You can use `payloadKeyFromModelName` to override the root key for an outgoing\n      request. By default, the RESTSerializer returns a camelized version of the\n      model's name.\n       For a model called TacoParty, its `modelName` would be the string `taco-party`. The RESTSerializer\n      will send it to the server with `tacoParty` as the root key in the JSON payload:\n       ```js\n      {\n        \"tacoParty\": {\n          \"id\": \"1\",\n          \"location\": \"Matthew Beale's House\"\n        }\n      }\n      ```\n       For example, your server may expect dasherized root objects:\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n      import { dasherize } from '<app-name>/utils/string-utils';\n       export default class ApplicationSerializer extends RESTSerializer {\n        payloadKeyFromModelName(modelName) {\n          return dasherize(modelName);\n        }\n      }\n      ```\n       Given a `TacoParty` model, calling `save` on it would produce an outgoing\n      request like:\n       ```js\n      {\n        \"taco-party\": {\n          \"id\": \"1\",\n          \"location\": \"Matthew Beale's House\"\n        }\n      }\n      ```\n       @method payloadKeyFromModelName\n      @public\n      @param {String} modelName\n      @return {String}\n    */\n    payloadKeyFromModelName(modelName) {\n      return (0, _string.camelize)(modelName);\n    },\n    /**\n      You can use this method to customize how polymorphic objects are serialized.\n      By default the REST Serializer creates the key by appending `Type` to\n      the attribute and value from the model's camelcased model name.\n       @method serializePolymorphicType\n      @public\n      @param {Snapshot} snapshot\n      @param {Object} json\n      @param {Object} relationship\n    */\n    serializePolymorphicType(snapshot, json, relationship) {\n      let key = relationship.key;\n      let typeKey = this.keyForPolymorphicType(key, relationship.type, 'serialize');\n      let belongsTo = snapshot.belongsTo(key);\n      if (!belongsTo) {\n        json[typeKey] = null;\n      } else {\n        json[typeKey] = (0, _string.camelize)(belongsTo.modelName);\n      }\n    },\n    /**\n      You can use this method to customize how a polymorphic relationship should\n      be extracted.\n       @method extractPolymorphicRelationship\n      @public\n      @param {Object} relationshipType\n      @param {Object} relationshipHash\n      @param {Object} relationshipOptions\n      @return {Object}\n     */\n    extractPolymorphicRelationship(relationshipType, relationshipHash, relationshipOptions) {\n      let {\n        key,\n        resourceHash,\n        relationshipMeta\n      } = relationshipOptions;\n\n      // A polymorphic belongsTo relationship can be present in the payload\n      // either in the form where the `id` and the `type` are given:\n      //\n      //   {\n      //     message: { id: 1, type: 'post' }\n      //   }\n      //\n      // or by the `id` and a `<relationship>Type` attribute:\n      //\n      //   {\n      //     message: 1,\n      //     messageType: 'post'\n      //   }\n      //\n      // The next code checks if the latter case is present and returns the\n      // corresponding JSON-API representation. The former case is handled within\n      // the base class JSONSerializer.\n      let isPolymorphic = relationshipMeta.options.polymorphic;\n      let typeProperty = this.keyForPolymorphicType(key, relationshipType, 'deserialize');\n      if (isPolymorphic && resourceHash[typeProperty] !== undefined && typeof relationshipHash !== 'object') {\n        let type = this.modelNameFromPayloadKey(resourceHash[typeProperty]);\n        return {\n          id: relationshipHash,\n          type: type\n        };\n      }\n      return this._super(...arguments);\n    }\n  });\n});","define(\"@ember-data/serializer/transform\", [\"exports\", \"@ember/object\"], function (_exports, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _object.default;\n    }\n  });\n});","define(\"@ember-data/store/-private\", [\"exports\", \"@ember-data/store/index-cc461d33\"], function (_exports, _indexCc461d) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"AdapterPopulatedRecordArray\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.h;\n    }\n  });\n  Object.defineProperty(_exports, \"CacheHandler\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.C;\n    }\n  });\n  Object.defineProperty(_exports, \"IDENTIFIER_ARRAY_TAG\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.l;\n    }\n  });\n  Object.defineProperty(_exports, \"IdentifierArray\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.I;\n    }\n  });\n  Object.defineProperty(_exports, \"MUTATE\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.M;\n    }\n  });\n  Object.defineProperty(_exports, \"RecordArray\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.I;\n    }\n  });\n  Object.defineProperty(_exports, \"RecordArrayManager\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.R;\n    }\n  });\n  Object.defineProperty(_exports, \"SOURCE\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.k;\n    }\n  });\n  Object.defineProperty(_exports, \"Store\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.S;\n    }\n  });\n  Object.defineProperty(_exports, \"_clearCaches\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d._;\n    }\n  });\n  Object.defineProperty(_exports, \"coerceId\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.f;\n    }\n  });\n  Object.defineProperty(_exports, \"constructResource\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.e;\n    }\n  });\n  Object.defineProperty(_exports, \"ensureStringId\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.g;\n    }\n  });\n  Object.defineProperty(_exports, \"fastPush\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.m;\n    }\n  });\n  Object.defineProperty(_exports, \"isStableIdentifier\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.i;\n    }\n  });\n  Object.defineProperty(_exports, \"normalizeModelName\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.n;\n    }\n  });\n  Object.defineProperty(_exports, \"notifyArray\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.j;\n    }\n  });\n  Object.defineProperty(_exports, \"peekCache\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.p;\n    }\n  });\n  Object.defineProperty(_exports, \"recordIdentifierFor\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.r;\n    }\n  });\n  Object.defineProperty(_exports, \"removeRecordDataFor\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.o;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierForgetMethod\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.c;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierGenerationMethod\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.a;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierResetMethod\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.d;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierUpdateMethod\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.b;\n    }\n  });\n  Object.defineProperty(_exports, \"storeFor\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.s;\n    }\n  });\n});","define(\"@ember-data/store/index-cc461d33\", [\"exports\", \"@ember/debug\", \"@ember/string\", \"@ember/application\", \"@ember/object\", \"@ember/runloop\", \"@glimmer/tracking\", \"@ember-data/tracking/-private\", \"@ember/-internals/metal\", \"@ember/object/compat\", \"@ember/utils\", \"@glimmer/validator\", \"ember\", \"@ember/object/computed\", \"@ember/array/proxy\", \"@ember/object/promise-proxy-mixin\", \"@ember/object/proxy\", \"@embroider/macros/es-compat2\"], function (_exports, _debug, _string, _application, _object, _runloop, _tracking, _private, _metal, _compat, _utils, _validator, _ember, _computed, _proxy, _promiseProxyMixin, _proxy2, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.S = _exports.R = _exports.M = _exports.I = _exports.C = void 0;\n  _exports._ = _clearCaches;\n  _exports.a = setIdentifierGenerationMethod;\n  _exports.b = setIdentifierUpdateMethod;\n  _exports.c = setIdentifierForgetMethod;\n  _exports.d = setIdentifierResetMethod;\n  _exports.e = constructResource;\n  _exports.f = coerceId;\n  _exports.g = ensureStringId;\n  _exports.h = void 0;\n  _exports.i = isStableIdentifier;\n  _exports.j = notifyArray;\n  _exports.l = _exports.k = void 0;\n  _exports.m = fastPush;\n  _exports.n = normalizeModelName;\n  _exports.o = removeRecordDataFor;\n  _exports.p = peekCache;\n  _exports.r = recordIdentifierFor;\n  _exports.s = storeFor;\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n   This method normalizes a modelName into the format Ember Data uses\n   internally by dasherizing it.\n  \n    @method normalizeModelName\n    @static\n    @public\n    @deprecated\n    @for @ember-data/store\n    @param {String} modelName\n    @return {String} normalizedModelName\n  */function normalizeModelName$1(modelName) {\n    return (0, _string.dasherize)(modelName);\n  }\n  function _initializerDefineProperty(target, property, descriptor, context) {\n    if (!descriptor) return;\n    Object.defineProperty(target, property, {\n      enumerable: descriptor.enumerable,\n      configurable: descriptor.configurable,\n      writable: descriptor.writable,\n      value: descriptor.initializer ? descriptor.initializer.call(context) : void 0\n    });\n  }\n  function _classPrivateFieldBase(receiver, privateKey) {\n    if (!Object.prototype.hasOwnProperty.call(receiver, privateKey)) {\n      throw new TypeError(\"attempted to use private field on non-instance\");\n    }\n    return receiver;\n  }\n  var id = 0;\n  function _classPrivateFieldKey(name) {\n    return \"__private_\" + id++ + \"_\" + name;\n  }\n  function _applyDecoratedDescriptor(target, property, decorators, descriptor, context) {\n    var desc = {};\n    Object.keys(descriptor).forEach(function (key) {\n      desc[key] = descriptor[key];\n    });\n    desc.enumerable = !!desc.enumerable;\n    desc.configurable = !!desc.configurable;\n    if ('value' in desc || desc.initializer) {\n      desc.writable = true;\n    }\n    desc = decorators.slice().reverse().reduce(function (desc, decorator) {\n      return decorator(target, property, desc) || desc;\n    }, desc);\n    if (context && desc.initializer !== void 0) {\n      desc.value = desc.initializer ? desc.initializer.call(context) : void 0;\n      desc.initializer = undefined;\n    }\n    if (desc.initializer === void 0) {\n      Object.defineProperty(target, property, desc);\n      desc = null;\n    }\n    return desc;\n  }\n  var _class$3, _descriptor$3, _descriptor2$1, _descriptor3, _descriptor4, _store$1, _request;\n  function urlFromLink(link) {\n    if (typeof link === 'string') return link;\n    return link.href;\n  }\n  let Document = (_class$3 = (_store$1 = /*#__PURE__*/_classPrivateFieldKey(\"store\"), _request = /*#__PURE__*/_classPrivateFieldKey(\"request\"), class Document {\n    constructor(store, identifier) {\n      Object.defineProperty(this, _request, {\n        value: _request2\n      });\n      _initializerDefineProperty(this, \"links\", _descriptor$3, this);\n      _initializerDefineProperty(this, \"data\", _descriptor2$1, this);\n      _initializerDefineProperty(this, \"errors\", _descriptor3, this);\n      _initializerDefineProperty(this, \"meta\", _descriptor4, this);\n      Object.defineProperty(this, _store$1, {\n        writable: true,\n        value: void 0\n      });\n      _classPrivateFieldBase(this, _store$1)[_store$1] = store;\n      this.identifier = identifier;\n    }\n    fetch(options = {}) {\n      (false && !(this.links?.self) && (0, _debug.assert)(`No self link`, this.links?.self));\n      options.cacheOptions = options.cacheOptions || {};\n      options.cacheOptions.key = this.identifier?.lid;\n      return _classPrivateFieldBase(this, _request)[_request]('self', options);\n    }\n    next(options) {\n      return _classPrivateFieldBase(this, _request)[_request]('next', options);\n    }\n    prev(options) {\n      return _classPrivateFieldBase(this, _request)[_request]('prev', options);\n    }\n    first(options) {\n      return _classPrivateFieldBase(this, _request)[_request]('first', options);\n    }\n    last(options) {\n      return _classPrivateFieldBase(this, _request)[_request]('last', options);\n    }\n    toJSON() {\n      const data = {};\n      data.identifier = this.identifier;\n      if (this.data !== undefined) {\n        data.data = this.data;\n      }\n      if (this.links !== undefined) {\n        data.links = this.links;\n      }\n      if (this.errors !== undefined) {\n        data.errors = this.errors;\n      }\n      if (this.meta !== undefined) {\n        data.meta = this.meta;\n      }\n      return data;\n    }\n  }), _descriptor$3 = _applyDecoratedDescriptor(_class$3.prototype, \"links\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2$1 = _applyDecoratedDescriptor(_class$3.prototype, \"data\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class$3.prototype, \"errors\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor4 = _applyDecoratedDescriptor(_class$3.prototype, \"meta\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class$3);\n  async function _request2(link, options = {}) {\n    const href = this.links?.[link];\n    if (!href) {\n      return null;\n    }\n    const response = await _classPrivateFieldBase(this, _store$1)[_store$1].request(Object.assign(options, {\n      url: urlFromLink(href)\n    }));\n    return response.content;\n  }\n\n  /**\n   * A service which an application may provide to the store via\n   * the store's `lifetimes` property to configure the behavior\n   * of the CacheHandler.\n   *\n   * The default behavior for request lifetimes is to never expire\n   * unless manually refreshed via `cacheOptions.reload` or `cacheOptions.backgroundReload`.\n   *\n   * Implementing this service allows you to programatically define\n   * when a request should be considered expired.\n   *\n   * @class <Interface> LifetimesService\n   * @public\n   */\n\n  const MUTATION_OPS = new Set(['createRecord', 'updateRecord', 'deleteRecord']);\n  function isErrorDocument(document) {\n    return 'errors' in document;\n  }\n  function maybeUpdateUiObjects(store, request, options, document, isFromCache) {\n    const {\n      identifier\n    } = options;\n    if (!document) {\n      (false && !(!options.shouldHydrate) && (0, _debug.assert)(`The CacheHandler expected response content but none was found`, !options.shouldHydrate));\n      return document;\n    }\n    if (isErrorDocument(document)) {\n      if (!identifier && !options.shouldHydrate) {\n        return document;\n      }\n      let doc;\n      if (identifier) {\n        doc = store._documentCache.get(identifier);\n      }\n      if (!doc) {\n        doc = new Document(store, identifier);\n        copyDocumentProperties(doc, document);\n        if (identifier) {\n          store._documentCache.set(identifier, doc);\n        }\n      } else if (!isFromCache) {\n        doc.data = undefined;\n        copyDocumentProperties(doc, document);\n      }\n      return options.shouldHydrate ? doc : document;\n    }\n    if (Array.isArray(document.data)) {\n      const {\n        recordArrayManager\n      } = store;\n      if (!identifier) {\n        if (!options.shouldHydrate) {\n          return document;\n        }\n        const data = recordArrayManager.createArray({\n          type: request.url,\n          identifiers: document.data,\n          doc: document,\n          query: request\n        });\n        const doc = new Document(store, null);\n        doc.data = data;\n        doc.meta = document.meta;\n        doc.links = document.links;\n        return doc;\n      }\n      let managed = recordArrayManager._keyedArrays.get(identifier.lid);\n      if (!managed) {\n        managed = recordArrayManager.createArray({\n          type: identifier.lid,\n          identifiers: document.data,\n          doc: document\n        });\n        recordArrayManager._keyedArrays.set(identifier.lid, managed);\n        const doc = new Document(store, identifier);\n        doc.data = managed;\n        doc.meta = document.meta;\n        doc.links = document.links;\n        store._documentCache.set(identifier, doc);\n        return options.shouldHydrate ? doc : document;\n      } else {\n        const doc = store._documentCache.get(identifier);\n        if (!isFromCache) {\n          recordArrayManager.populateManagedArray(managed, document.data, document);\n          doc.data = managed;\n          doc.meta = document.meta;\n          doc.links = document.links;\n        }\n        return options.shouldHydrate ? doc : document;\n      }\n    } else {\n      if (!identifier && !options.shouldHydrate) {\n        return document;\n      }\n      const data = document.data ? store.peekRecord(document.data) : null;\n      let doc;\n      if (identifier) {\n        doc = store._documentCache.get(identifier);\n      }\n      if (!doc) {\n        doc = new Document(store, identifier);\n        doc.data = data;\n        copyDocumentProperties(doc, document);\n        if (identifier) {\n          store._documentCache.set(identifier, doc);\n        }\n      } else if (!isFromCache) {\n        doc.data = data;\n        copyDocumentProperties(doc, document);\n      }\n      return options.shouldHydrate ? doc : document;\n    }\n  }\n  function calcShouldFetch(store, request, hasCachedValue, identifier) {\n    const {\n      cacheOptions\n    } = request;\n    return request.op && MUTATION_OPS.has(request.op) || cacheOptions?.reload || !hasCachedValue || (store.lifetimes && identifier ? store.lifetimes.isHardExpired(identifier, store) : false);\n  }\n  function calcShouldBackgroundFetch(store, request, willFetch, identifier) {\n    const {\n      cacheOptions\n    } = request;\n    return !willFetch && (cacheOptions?.backgroundReload || (store.lifetimes && identifier ? store.lifetimes.isSoftExpired(identifier, store) : false));\n  }\n  function isMutation(request) {\n    return Boolean(request.op && MUTATION_OPS.has(request.op));\n  }\n  function fetchContentAndHydrate(next, context, identifier, shouldFetch, shouldBackgroundFetch) {\n    const {\n      store\n    } = context.request;\n    const shouldHydrate = context.request[EnableHydration] || false;\n    let isMut = false;\n    if (isMutation(context.request)) {\n      isMut = true;\n      // TODO should we handle multiple records in request.records by iteratively calling willCommit for each\n      const record = context.request.data?.record || context.request.records?.[0];\n      (false && !(record || !shouldHydrate) && (0, _debug.assert)(`Expected to receive a list of records included in the ${context.request.op} request`, record || !shouldHydrate));\n      if (record) {\n        store.cache.willCommit(record, context);\n      }\n    }\n    if (store.lifetimes?.willRequest) {\n      store.lifetimes.willRequest(context.request, identifier, store);\n    }\n    const promise = next(context.request).then(document => {\n      store.requestManager._pending.delete(context.id);\n      store._enableAsyncFlush = true;\n      let response;\n      store._join(() => {\n        if (isMutation(context.request)) {\n          const record = context.request.data?.record || context.request.records?.[0];\n          if (record) {\n            response = store.cache.didCommit(record, document);\n\n            // a mutation combined with a 204 has no cache impact when no known records were involved\n            // a createRecord with a 201 with an empty response and no known records should similarly\n            // have no cache impact\n          } else if (isCacheAffecting(document)) {\n            response = store.cache.put(document);\n          }\n        } else {\n          response = store.cache.put(document);\n        }\n        response = maybeUpdateUiObjects(store, context.request, {\n          shouldHydrate,\n          shouldFetch,\n          shouldBackgroundFetch,\n          identifier\n        }, response, false);\n      });\n      store._enableAsyncFlush = null;\n      if (store.lifetimes?.didRequest) {\n        store.lifetimes.didRequest(context.request, document.response, identifier, store);\n      }\n      if (shouldFetch) {\n        return response;\n      } else if (shouldBackgroundFetch) {\n        store.notifications._flush();\n      }\n    }, error => {\n      store.requestManager._pending.delete(context.id);\n      if (context.request.signal?.aborted) {\n        throw error;\n      }\n      store.requestManager._pending.delete(context.id);\n      store._enableAsyncFlush = true;\n      let response;\n      store._join(() => {\n        if (isMutation(context.request)) {\n          // TODO similar to didCommit we should spec this to be similar to cache.put for handling full response\n          // currently we let the response remain undefiend.\n          const errors = error && error.content && typeof error.content === 'object' && 'errors' in error.content && Array.isArray(error.content.errors) ? error.content.errors : undefined;\n          const record = context.request.data?.record || context.request.records?.[0];\n          store.cache.commitWasRejected(record, errors);\n          // re-throw the original error to preserve `errors` property.\n          throw error;\n        } else {\n          response = store.cache.put(error);\n          response = maybeUpdateUiObjects(store, context.request, {\n            shouldHydrate,\n            shouldFetch,\n            shouldBackgroundFetch,\n            identifier\n          }, response, false);\n        }\n      });\n      store._enableAsyncFlush = null;\n      if (identifier && store.lifetimes?.didRequest) {\n        store.lifetimes.didRequest(context.request, error.response, identifier, store);\n      }\n      if (!shouldBackgroundFetch) {\n        const newError = cloneError(error);\n        newError.content = response;\n        throw newError;\n      } else {\n        store.notifications._flush();\n      }\n    });\n    if (!isMut) {\n      return promise;\n    }\n    (false && !(isMutation(context.request)) && (0, _debug.assert)(`Expected a mutation`, isMutation(context.request))); // for mutations we need to enqueue the promise with the requestStateService\n    // TODO should we enque a request per record in records?\n    const record = context.request.data?.record || context.request.records?.[0];\n    return store._requestCache._enqueue(promise, {\n      data: [{\n        op: 'saveRecord',\n        recordIdentifier: record,\n        options: undefined\n      }]\n    });\n  }\n  function isAggregateError(error) {\n    return error instanceof AggregateError || error.name === 'AggregateError' && Array.isArray(error.errors);\n  }\n  // TODO @runspired, consider if we should deep freeze errors (potentially only in debug) vs cloning them\n  function cloneError(error) {\n    const isAggregate = isAggregateError(error);\n    const cloned = isAggregate ?\n    // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n    new AggregateError(structuredClone(error.errors), error.message) : new Error(error.message);\n    cloned.stack = error.stack;\n    cloned.error = error.error;\n\n    // copy over enumerable properties\n    Object.assign(cloned, error);\n    return cloned;\n  }\n  const SkipCache = Symbol.for('ember-data:skip-cache');\n  const EnableHydration = Symbol.for('ember-data:enable-hydration');\n\n  /**\n   * A CacheHandler that adds support for using an EmberData Cache with a RequestManager.\n   *\n   * This handler will only run when a request has supplied a `store` instance. Requests\n   * issued by the store via `store.request()` will automatically have the `store` instance\n   * attached to the request.\n   *\n   * ```ts\n   * requestManager.request({\n   *   store: store,\n   *   url: '/api/posts',\n   *   method: 'GET'\n   * });\n   * ```\n   *\n   * When this handler elects to handle a request, it will return the raw `StructuredDocument`\n   * unless the request has `[EnableHydration]` set to `true`. In this case, the handler will\n   * return a `Document` instance that will automatically update the UI when the cache is updated\n   * in the future and will hydrate any identifiers in the StructuredDocument into Record instances.\n   *\n   * When issuing a request via the store, [EnableHydration] is automatically set to `true`. This\n   * means that if desired you can issue requests that utilize the cache without needing to also\n   * utilize Record instances if desired.\n   *\n   * Said differently, you could elect to issue all requests via a RequestManager, without ever using\n   * the store directly, by setting [EnableHydration] to `true` and providing a store instance. Not\n   * necessarily the most useful thing, but the decoupled nature of the RequestManager and incremental-feature\n   * approach of EmberData allows for this flexibility.\n   *\n   * ```ts\n   * import { EnableHydration } from '@warp-drive/core-types/request';\n   *\n   * requestManager.request({\n   *   store: store,\n   *   url: '/api/posts',\n   *   method: 'GET',\n   *   [EnableHydration]: true\n   * });\n   *\n   * @typedoc\n   */\n  const CacheHandler = _exports.C = {\n    request(context, next) {\n      // if we have no cache or no cache-key skip cache handling\n      if (!context.request.store || context.request.cacheOptions?.[SkipCache]) {\n        return next(context.request);\n      }\n      const {\n        store\n      } = context.request;\n      const identifier = store.identifierCache.getOrCreateDocumentIdentifier(context.request);\n      const peeked = identifier ? store.cache.peekRequest(identifier) : null;\n\n      // determine if we should skip cache\n      if (calcShouldFetch(store, context.request, !!peeked, identifier)) {\n        return fetchContentAndHydrate(next, context, identifier, true, false);\n      }\n\n      // if we have not skipped cache, determine if we should update behind the scenes\n      if (calcShouldBackgroundFetch(store, context.request, false, identifier)) {\n        const promise = fetchContentAndHydrate(next, context, identifier, false, true);\n        store.requestManager._pending.set(context.id, promise);\n      }\n      const shouldHydrate = context.request[EnableHydration] || false;\n      if ('error' in peeked) {\n        const content = shouldHydrate ? maybeUpdateUiObjects(store, context.request, {\n          shouldHydrate,\n          identifier\n        }, peeked.content, true) : peeked.content;\n        const newError = cloneError(peeked);\n        newError.content = content;\n        throw newError;\n      }\n      const result = shouldHydrate ? maybeUpdateUiObjects(store, context.request, {\n        shouldHydrate,\n        identifier\n      }, peeked.content, true) : peeked.content;\n      return result;\n    }\n  };\n  function copyDocumentProperties(target, source) {\n    if ('links' in source) {\n      target.links = source.links;\n    }\n    if ('meta' in source) {\n      target.meta = source.meta;\n    }\n    if ('errors' in source) {\n      target.errors = source.errors;\n    }\n  }\n  function isCacheAffecting(document) {\n    if (!isMutation(document.request)) {\n      return true;\n    }\n    // a mutation combined with a 204 has no cache impact when no known records were involved\n    // a createRecord with a 201 with an empty response and no known records should similarly\n    // have no cache impact\n\n    if (document.request.op === 'createRecord' && document.response?.status === 201) {\n      return document.content ? Object.keys(document.content).length > 0 : false;\n    }\n    return document.response?.status !== 204;\n  }\n\n  /*\n   * Returns the Cache instance associated with a given\n   * Model or Identifier\n   */\n\n  const CacheForIdentifierCache = new Map();\n  function setCacheFor(identifier, cache) {\n    (false && !(!CacheForIdentifierCache.has(identifier) || CacheForIdentifierCache.get(identifier) === cache) && (0, _debug.assert)(`Illegal set of identifier`, !CacheForIdentifierCache.has(identifier) || CacheForIdentifierCache.get(identifier) === cache));\n    CacheForIdentifierCache.set(identifier, cache);\n  }\n  function removeRecordDataFor(identifier) {\n    CacheForIdentifierCache.delete(identifier);\n  }\n  function peekCache(instance) {\n    if (CacheForIdentifierCache.has(instance)) {\n      return CacheForIdentifierCache.get(instance);\n    }\n    return null;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  // Used by the store to normalize IDs entering the store.  Despite the fact\n  // that developers may provide IDs as numbers (e.g., `store.findRecord('person', 1)`),\n  // it is important that internally we use strings, since IDs may be serialized\n  // and lose type information.  For example, Ember's router may put a record's\n  // ID into the URL, and if we later try to deserialize that URL and find the\n  // corresponding record, we will not know if it is a string or a number.\n\n  function coerceId(id) {\n    if (id === null || id === undefined || id === '') {\n      return null;\n    }\n    if (typeof id === 'string') {\n      return id;\n    }\n    if (typeof id === 'symbol') {\n      return id.toString();\n    }\n    return '' + id;\n  }\n  function ensureStringId(id) {\n    let normalized = null;\n    if (typeof id === 'string') {\n      normalized = id.length > 0 ? id : null;\n    } else if (typeof id === 'number' && !isNaN(id)) {\n      normalized = '' + id;\n    }\n    if (normalized === null) {\n      throw new Error(`Expected id to be a string or number, received ${String(id)}`);\n    }\n    return normalized;\n  }\n\n  // provided for additional debuggability\n  const DEBUG_CLIENT_ORIGINATED = Symbol('record-originated-on-client');\n  const DEBUG_IDENTIFIER_BUCKET = Symbol('identifier-bucket');\n  function isNonEmptyString(str) {\n    return str && typeof str === 'string';\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  function installPolyfill() {\n    const isFastBoot = typeof FastBoot !== 'undefined';\n    const CRYPTO = isFastBoot ? FastBoot.require('crypto') : window.crypto;\n    if (!CRYPTO.randomUUID) {\n      // we might be able to optimize this by requesting more bytes than we need at a time\n      const rng = function () {\n        // WHATWG crypto RNG - http://wiki.whatwg.org/wiki/Crypto\n        let rnds8 = new Uint8Array(16);\n        if (!CRYPTO.getRandomValues && !isFastBoot) {\n          throw new Error(`Unable to generate bytes for UUID`);\n        }\n        return CRYPTO.getRandomValues ? CRYPTO.getRandomValues(rnds8) : CRYPTO.randomFillSync(rnds8);\n      };\n\n      /*\n       * Convert array of 16 byte values to UUID string format of the form:\n       * XXXXXXXX-XXXX-XXXX-XXXX-XXXXXXXXXXXX\n       */\n      const byteToHex = [];\n      for (let i = 0; i < 256; ++i) {\n        byteToHex[i] = (i + 0x100).toString(16).substr(1);\n      }\n      const bytesToUuid = function (buf) {\n        let bth = byteToHex;\n        // join used to fix memory issue caused by concatenation: https://bugs.chromium.org/p/v8/issues/detail?id=3175#c4\n        return [bth[buf[0]], bth[buf[1]], bth[buf[2]], bth[buf[3]], '-', bth[buf[4]], bth[buf[5]], '-', bth[buf[6]], bth[buf[7]], '-', bth[buf[8]], bth[buf[9]], '-', bth[buf[10]], bth[buf[11]], bth[buf[12]], bth[buf[13]], bth[buf[14]], bth[buf[15]]].join('');\n      };\n      CRYPTO.randomUUID = function uuidv4() {\n        let rnds = rng();\n\n        // Per 4.4, set bits for version and `clock_seq_hi_and_reserved`\n        rnds[6] = rnds[6] & 0x0f | 0x40;\n        rnds[8] = rnds[8] & 0x3f | 0x80;\n        return bytesToUuid(rnds);\n      };\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  const IDENTIFIERS = new Set();\n  const DOCUMENTS = new Set();\n  function isStableIdentifier(identifier) {\n    return IDENTIFIERS.has(identifier);\n  }\n  function isDocumentIdentifier(identifier) {\n    return DOCUMENTS.has(identifier);\n  }\n  const isFastBoot = typeof FastBoot !== 'undefined';\n  const _crypto = isFastBoot ? FastBoot.require('crypto') : window.crypto;\n  function uuidv4() {\n    (false && !(_crypto.randomUUID) && (0, _debug.assert)('crypto.randomUUID needs to be avaliable. Some browsers incorrectly disallow it in insecure contexts. You maybe want to enable the polyfill: https://github.com/emberjs/data#randomuuid-polyfill', _crypto.randomUUID));\n    return _crypto.randomUUID();\n  }\n  function freeze(obj) {\n    if (typeof Object.freeze === 'function') {\n      return Object.freeze(obj);\n    }\n    return obj;\n  }\n  let configuredForgetMethod;\n  let configuredGenerationMethod;\n  let configuredResetMethod;\n  let configuredUpdateMethod;\n  function setIdentifierGenerationMethod(method) {\n    configuredGenerationMethod = method;\n  }\n  function setIdentifierUpdateMethod(method) {\n    configuredUpdateMethod = method;\n  }\n  function setIdentifierForgetMethod(method) {\n    configuredForgetMethod = method;\n  }\n  function setIdentifierResetMethod(method) {\n    configuredResetMethod = method;\n  }\n  function defaultGenerationMethod(data, bucket) {\n    if (bucket === 'record') {\n      if (isNonEmptyString(data.lid)) {\n        return data.lid;\n      }\n      if (data.id !== undefined) {\n        let {\n          type,\n          id\n        } = data;\n        // TODO: add test for id not a string\n        if (isNonEmptyString(coerceId(id))) {\n          return `@lid:${normalizeModelName$1(type)}-${id}`;\n        }\n      }\n      return uuidv4();\n    } else if (bucket === 'document') {\n      if (!data.url) {\n        return null;\n      }\n      if (!data.method || data.method.toUpperCase() === 'GET') {\n        return data.url;\n      }\n      return null;\n    }\n    (false && !(false) && (0, _debug.assert)(`Unknown bucket ${bucket}`, false));\n  }\n  function defaultEmptyCallback(...args) {}\n  let DEBUG_MAP;\n  /**\n   * Each instance of {Store} receives a unique instance of a IdentifierCache.\n   *\n   * This cache is responsible for assigning or retrieving the unique identify\n   * for arbitrary resource data encountered by the store. Data representing\n   * a unique resource or record should always be represented by the same\n   * identifier.\n   *\n   * It can be configured by consuming applications.\n   *\n   * @class IdentifierCache\n     @public\n   */\n  class IdentifierCache {\n    constructor() {\n      this._cache = {\n        lids: new Map(),\n        types: Object.create(null),\n        documents: new Map()\n      };\n      // we cache the user configuredGenerationMethod at init because it must\n      // be configured prior and is not allowed to be changed\n      this._generate = configuredGenerationMethod || defaultGenerationMethod;\n      this._update = configuredUpdateMethod || defaultEmptyCallback;\n      this._forget = configuredForgetMethod || defaultEmptyCallback;\n      this._reset = configuredResetMethod || defaultEmptyCallback;\n      this._merge = defaultEmptyCallback;\n      this._isDefaultConfig = !configuredGenerationMethod;\n    }\n\n    /**\n     * Internal hook to allow management of merge conflicts with identifiers.\n     *\n     * we allow late binding of this private internal merge so that\n     * the cache can insert itself here to handle elimination of duplicates\n     *\n     * @method __configureMerge\n     * @private\n     */\n    __configureMerge(method) {\n      this._merge = method || defaultEmptyCallback;\n    }\n\n    /**\n     * @method _getRecordIdentifier\n     * @private\n     */\n\n    _getRecordIdentifier(resource, shouldGenerate = false) {\n      // short circuit if we're already the stable version\n      if (isStableIdentifier(resource)) {\n        return resource;\n      }\n      let lid = coerceId(resource.lid);\n      let identifier = lid !== null ? this._cache.lids.get(lid) : undefined;\n      if (identifier !== undefined) {\n        return identifier;\n      }\n      if (shouldGenerate === false) {\n        if (!resource.type || !resource.id) {\n          return;\n        }\n      }\n\n      // `type` must always be present\n      (false && !('type' in resource && isNonEmptyString(resource.type)) && (0, _debug.assert)('resource.type needs to be a string', 'type' in resource && isNonEmptyString(resource.type)));\n      let type = resource.type && normalizeModelName$1(resource.type);\n      let id = coerceId(resource.id);\n      let keyOptions = getTypeIndex(this._cache.types, type);\n\n      // go straight for the stable RecordIdentifier key'd to `lid`\n      if (lid !== null) {\n        identifier = keyOptions.lid.get(lid);\n      }\n\n      // we may have not seen this resource before\n      // but just in case we check our own secondary lookup (`id`)\n      if (identifier === undefined && id !== null) {\n        identifier = keyOptions.id.get(id);\n      }\n      if (identifier === undefined) {\n        // we have definitely not seen this resource before\n        // so we allow the user configured `GenerationMethod` to tell us\n        let newLid = this._generate(resource, 'record');\n        // we do this _even_ when `lid` is present because secondary lookups\n        // may need to be populated, but we enforce not giving us something\n        // different than expected\n        if (lid !== null && newLid !== lid) {\n          throw new Error(`You should not change the <lid> of a RecordIdentifier`);\n        } else if (lid === null && !this._isDefaultConfig) {\n          // allow configuration to tell us that we have\n          // seen this `lid` before. E.g. a secondary lookup\n          // connects this resource to a previously seen\n          // resource.\n          identifier = keyOptions.lid.get(newLid);\n        }\n        if (shouldGenerate === true) {\n          if (identifier === undefined) {\n            // if we still don't have an identifier, time to generate one\n            identifier = makeStableRecordIdentifier(id, type, newLid, 'record', false);\n\n            // populate our unique table\n\n            this._cache.lids.set(identifier.lid, identifier);\n\n            // populate our primary lookup table\n            // TODO consider having the `lid` cache be\n            // one level up\n            keyOptions.lid.set(identifier.lid, identifier);\n          }\n\n          // populate our own secondary lookup table\n          // even for the \"successful\" secondary lookup\n          // by `_generate()`, since we missed the cache\n          // previously\n          // we use identifier.id instead of id here\n          // because they may not match and we prefer\n          // what we've set via resource data\n          if (identifier.id !== null) {\n            keyOptions.id.set(identifier.id, identifier);\n\n            // TODO allow filling out of `id` here\n            // for the `username` non-client created\n            // case.\n          }\n        }\n      }\n      return identifier;\n    }\n\n    /**\n     * allows us to peek without generating when needed\n     * useful for the \"create\" case when we need to see if\n     * we are accidentally overwritting something\n     *\n     * @method peekRecordIdentifier\n     * @param resource\n     * @returns {StableRecordIdentifier | undefined}\n     * @private\n     */\n    peekRecordIdentifier(resource) {\n      return this._getRecordIdentifier(resource, false);\n    }\n\n    /**\n      Returns the DocumentIdentifier for the given Request, creates one if it does not yet exist.\n      Returns `null` if the request does not have a `cacheKey` or `url`.\n       @method getOrCreateDocumentIdentifier\n      @param request\n      @returns {StableDocumentIdentifier | null}\n      @public\n    */\n    getOrCreateDocumentIdentifier(request) {\n      let cacheKey = request.cacheOptions?.key;\n      if (!cacheKey) {\n        cacheKey = this._generate(request, 'document');\n      }\n      if (!cacheKey) {\n        return null;\n      }\n      let identifier = this._cache.documents.get(cacheKey);\n      if (identifier === undefined) {\n        identifier = {\n          lid: cacheKey\n        };\n        DOCUMENTS.add(identifier);\n        this._cache.documents.set(cacheKey, identifier);\n      }\n      return identifier;\n    }\n\n    /**\n      Returns the Identifier for the given Resource, creates one if it does not yet exist.\n       Specifically this means that we:\n       - validate the `id` `type` and `lid` combo against known identifiers\n      - return an object with an `lid` that is stable (repeated calls with the same\n        `id` + `type` or `lid` will return the same `lid` value)\n      - this referential stability of the object itself is guaranteed\n       @method getOrCreateRecordIdentifier\n      @param resource\n      @returns {StableRecordIdentifier}\n      @public\n    */\n\n    getOrCreateRecordIdentifier(resource) {\n      return this._getRecordIdentifier(resource, true);\n    }\n\n    /**\n     Returns a new Identifier for the supplied data. Call this method to generate\n     an identifier when a new resource is being created local to the client and\n     potentially does not have an `id`.\n      Delegates generation to the user supplied `GenerateMethod` if one has been provided\n     with the signature `generateMethod({ type }, 'record')`.\n      @method createIdentifierForNewRecord\n     @param data\n     @returns {StableRecordIdentifier}\n     @public\n    */\n    createIdentifierForNewRecord(data) {\n      let newLid = this._generate(data, 'record');\n      let identifier = makeStableRecordIdentifier(data.id || null, data.type, newLid, 'record', true);\n      let keyOptions = getTypeIndex(this._cache.types, data.type);\n\n      // populate our unique table\n\n      this._cache.lids.set(identifier.lid, identifier);\n\n      // populate the type+lid cache\n      keyOptions.lid.set(newLid, identifier);\n      if (data.id) {\n        keyOptions.id.set(data.id, identifier);\n      }\n      return identifier;\n    }\n\n    /**\n     Provides the opportunity to update secondary lookup tables for existing identifiers\n     Called after an identifier created with `createIdentifierForNewRecord` has been\n     committed.\n      Assigned `id` to an `Identifier` if `id` has not previously existed; however,\n     attempting to change the `id` or calling update without providing an `id` when\n     one is missing will throw an error.\n       - sets `id` (if `id` was previously `null`)\n      - `lid` and `type` MUST NOT be altered post creation\n       If a merge occurs, it is possible the returned identifier does not match the originally\n      provided identifier. In this case the abandoned identifier will go through the usual\n      `forgetRecordIdentifier` codepaths.\n       @method updateRecordIdentifier\n      @param identifierObject\n      @param data\n      @returns {StableRecordIdentifier}\n      @public\n    */\n    updateRecordIdentifier(identifierObject, data) {\n      let identifier = this.getOrCreateRecordIdentifier(identifierObject);\n      let newId = data.id !== undefined ? coerceId(data.id) : null;\n      let existingIdentifier = detectMerge(this._cache.types, identifier, data, newId, this._cache.lids);\n      if (!existingIdentifier) {\n        // If the incoming type does not match the identifier type, we need to create an identifier for the incoming\n        // data so we can merge the incoming data with the existing identifier, see #7325 and #7363\n        if (data.type && identifier.type !== normalizeModelName$1(data.type)) {\n          let incomingDataResource = {\n            ...data\n          };\n          // Need to strip the lid from the incomingData in order force a new identifier creation\n          delete incomingDataResource.lid;\n          existingIdentifier = this.getOrCreateRecordIdentifier(incomingDataResource);\n        }\n      }\n      if (existingIdentifier) {\n        let keyOptions = getTypeIndex(this._cache.types, identifier.type);\n        let generatedIdentifier = identifier;\n        identifier = this._mergeRecordIdentifiers(keyOptions, generatedIdentifier, existingIdentifier, data, newId);\n      }\n      let id = identifier.id;\n      performRecordIdentifierUpdate(identifier, data, this._update);\n      newId = identifier.id;\n\n      // add to our own secondary lookup table\n      if (id !== newId && newId !== null) {\n        let keyOptions = getTypeIndex(this._cache.types, identifier.type);\n        keyOptions.id.set(newId, identifier);\n        if (id !== null) {\n          keyOptions.id.delete(id);\n        }\n      }\n      return identifier;\n    }\n\n    /**\n     * @method _mergeRecordIdentifiers\n     * @private\n     */\n    _mergeRecordIdentifiers(keyOptions, identifier, existingIdentifier, data, newId) {\n      // delegate determining which identifier to keep to the configured MergeMethod\n      let kept = this._merge(identifier, existingIdentifier, data);\n      let abandoned = kept === identifier ? existingIdentifier : identifier;\n\n      // cleanup the identifier we no longer need\n      this.forgetRecordIdentifier(abandoned);\n\n      // ensure a secondary cache entry for this id for the identifier we do keep\n      keyOptions.id.set(newId, kept);\n      // ensure a secondary cache entry for this id for the abandoned identifier's type we do keep\n      let baseKeyOptions = getTypeIndex(this._cache.types, existingIdentifier.type);\n      baseKeyOptions.id.set(newId, kept);\n\n      // make sure that the `lid` on the data we are processing matches the lid we kept\n      data.lid = kept.lid;\n      return kept;\n    }\n\n    /**\n     Provides the opportunity to eliminate an identifier from secondary lookup tables\n     as well as eliminates it from ember-data's own lookup tables and book keeping.\n      Useful when a record has been deleted and the deletion has been persisted and\n     we do not care about the record anymore. Especially useful when an `id` of a\n     deleted record might be reused later for a new record.\n      @method forgetRecordIdentifier\n     @param identifierObject\n     @public\n    */\n    forgetRecordIdentifier(identifierObject) {\n      let identifier = this.getOrCreateRecordIdentifier(identifierObject);\n      let keyOptions = getTypeIndex(this._cache.types, identifier.type);\n      if (identifier.id !== null) {\n        keyOptions.id.delete(identifier.id);\n      }\n      this._cache.lids.delete(identifier.lid);\n      keyOptions.lid.delete(identifier.lid);\n      IDENTIFIERS.delete(identifierObject);\n      this._forget(identifier, 'record');\n    }\n    destroy() {\n      this._cache.documents.forEach(identifier => {\n        DOCUMENTS.delete(identifier);\n      });\n      this._reset();\n    }\n  }\n  function getTypeIndex(typeMap, type) {\n    let typeIndex = typeMap[type];\n    if (typeIndex === undefined) {\n      typeIndex = {\n        lid: new Map(),\n        id: new Map()\n      };\n      typeMap[type] = typeIndex;\n    }\n    return typeIndex;\n  }\n  function makeStableRecordIdentifier(id, type, lid, bucket, clientOriginated = false) {\n    let recordIdentifier = {\n      lid,\n      id,\n      type\n    };\n    IDENTIFIERS.add(recordIdentifier);\n    return recordIdentifier;\n  }\n  function performRecordIdentifierUpdate(identifier, data, updateFn) {\n    {\n      updateFn(identifier, data, 'record');\n    }\n\n    // upgrade the ID, this is a \"one time only\" ability\n    // for the multiple-cache-key scenario we \"could\"\n    // use a heuristic to guess the best id for display\n    // (usually when `data.id` is available and `data.attributes` is not)\n    if (data.id !== undefined) {\n      identifier.id = coerceId(data.id);\n    }\n  }\n  function detectMerge(typesCache, identifier, data, newId, lids) {\n    const {\n      id,\n      type,\n      lid\n    } = identifier;\n    if (id !== null && id !== newId && newId !== null) {\n      let keyOptions = getTypeIndex(typesCache, identifier.type);\n      let existingIdentifier = keyOptions.id.get(newId);\n      return existingIdentifier !== undefined ? existingIdentifier : false;\n    } else {\n      let newType = data.type && normalizeModelName$1(data.type);\n\n      // If the ids and type are the same but lid is not the same, we should trigger a merge of the identifiers\n      if (id !== null && id === newId && newType === type && data.lid && data.lid !== lid) {\n        let existingIdentifier = lids.get(data.lid);\n        return existingIdentifier !== undefined ? existingIdentifier : false;\n        // If the lids are the same, and ids are the same, but types are different we should trigger a merge of the identifiers\n      } else if (id !== null && id === newId && newType && newType !== type && data.lid && data.lid === lid) {\n        let keyOptions = getTypeIndex(typesCache, newType);\n        let existingIdentifier = keyOptions.id.get(id);\n        return existingIdentifier !== undefined ? existingIdentifier : false;\n      }\n    }\n    return false;\n  }\n  var _class$2, _descriptor$2;\n\n  /**\n    @module @ember-data/store\n  */\n  /**\n    @module @ember-data/store\n  */\n  /**\n     A `RecordReference` is a low-level API that allows users and\n     addon authors to perform meta-operations on a record.\n  \n     @class RecordReference\n     @public\n     @extends Reference\n  */\n  let RecordReference = (_class$2 = class RecordReference {\n    // unsubscribe token given to us by the notification manager\n\n    constructor(store, identifier) {\n      this.___token = void 0;\n      this.___identifier = void 0;\n      _initializerDefineProperty(this, \"_ref\", _descriptor$2, this);\n      this.store = store;\n      this.___identifier = identifier;\n      this.___token = store.notifications.subscribe(identifier, (_, bucket, notifiedKey) => {\n        if (bucket === 'identity' || bucket === 'attributes' && notifiedKey === 'id') {\n          this._ref++;\n        }\n      });\n    }\n    destroy() {\n      this.store.notifications.unsubscribe(this.___token);\n    }\n    get type() {\n      return this.identifier().type;\n    }\n\n    /**\n       The `id` of the record that this reference refers to.\n        Together, the `type` and `id` properties form a composite key for\n       the identity map.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        userRef.id(); // '1'\n       ```\n        @method id\n      @public\n       @return {String} The id of the record.\n    */\n    id() {\n      this._ref; // consume the tracked prop\n      return this.___identifier.id;\n    }\n\n    /**\n       The `identifier` of the record that this reference refers to.\n        Together, the `type` and `id` properties form a composite key for\n       the identity map.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        userRef.identifier(); // '1'\n       ```\n        @method identifier\n      @public\n       @return {String} The identifier of the record.\n    */\n    identifier() {\n      return this.___identifier;\n    }\n\n    /**\n       How the reference will be looked up when it is loaded. Currently\n       this always returns `identity` to signify that a record will be\n       loaded by its `type` and `id`.\n        Example\n        ```javascript\n       const userRef = store.getReference('user', 1);\n        userRef.remoteType(); // 'identity'\n       ```\n        @method remoteType\n       @public\n       @return {String} 'identity'\n    */\n    remoteType() {\n      return 'identity';\n    }\n\n    /**\n      This API allows you to provide a reference with new data. The\n      simplest usage of this API is similar to `store.push`: you provide a\n      normalized hash of data and the object represented by the reference\n      will update.\n       If you pass a promise to `push`, Ember Data will not ask the adapter\n      for the data if another attempt to fetch it is made in the\n      interim. When the promise resolves, the underlying object is updated\n      with the new data, and the promise returned by *this function* is resolved\n      with that object.\n       For example, `recordReference.push(promise)` will be resolved with a\n      record.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        // provide data for reference\n       userRef.push({\n         data: {\n           id: \"1\",\n           type: \"user\",\n           attributes: {\n             username: \"@user\"\n           }\n         }\n       }).then(function(user) {\n         userRef.value() === user;\n       });\n       ```\n       @method push\n      @public\n      @param objectOrPromise a JSON:API ResourceDocument or a promise resolving to one\n      @return a promise for the value (record or relationship)\n    */\n    push(objectOrPromise) {\n      // TODO @deprecate pushing unresolved payloads\n      return Promise.resolve(objectOrPromise).then(data => {\n        return this.store.push(data);\n      });\n    }\n\n    /**\n      If the entity referred to by the reference is already loaded, it is\n      present as `reference.value`. Otherwise the value returned by this function\n      is `null`.\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        userRef.value(); // user\n       ```\n        @method value\n      @public\n       @return {Model} the record for this RecordReference\n    */\n    value() {\n      return this.store.peekRecord(this.___identifier);\n    }\n\n    /**\n       Triggers a fetch for the backing entity based on its `remoteType`\n       (see `remoteType` definitions per reference type).\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        // load user (via store.find)\n       userRef.load().then(...)\n       ```\n        @method load\n      @public\n       @return {Promise<record>} the record for this RecordReference\n    */\n    load() {\n      const id = this.id();\n      if (id !== null) {\n        return this.store.findRecord(this.type, id);\n      }\n      (false && !(false) && (0, _debug.assert)(`Unable to fetch record of type ${this.type} without an id`));\n    }\n\n    /**\n       Reloads the record if it is already loaded. If the record is not\n       loaded it will load the record via `store.findRecord`\n        Example\n        ```javascript\n       let userRef = store.getReference('user', 1);\n        // or trigger a reload\n       userRef.reload().then(...)\n       ```\n        @method reload\n      @public\n       @return {Promise<record>} the record for this RecordReference\n    */\n    reload() {\n      const id = this.id();\n      if (id !== null) {\n        return this.store.findRecord(this.type, id, {\n          reload: true\n        });\n      }\n      (false && !(false) && (0, _debug.assert)(`Unable to fetch record of type ${this.type} without an id`));\n    }\n  }, _descriptor$2 = _applyDecoratedDescriptor(_class$2.prototype, \"_ref\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return 0;\n    }\n  }), _class$2);\n  function legacyCachePut(store, doc) {\n    const jsonApiDoc = doc.content;\n    let ret;\n    store._join(() => {\n      let included = jsonApiDoc.included;\n      let i, length;\n      if (included) {\n        for (i = 0, length = included.length; i < length; i++) {\n          store._instanceCache.loadData(included[i]);\n        }\n      }\n      if (Array.isArray(jsonApiDoc.data)) {\n        length = jsonApiDoc.data.length;\n        let identifiers = [];\n        for (i = 0; i < length; i++) {\n          identifiers.push(store._instanceCache.loadData(jsonApiDoc.data[i]));\n        }\n        ret = {\n          data: identifiers\n        };\n        return;\n      }\n      if (jsonApiDoc.data === null) {\n        ret = {\n          data: null\n        };\n        return;\n      }\n      (false && !(typeof jsonApiDoc.data === 'object') && (0, _debug.assert)(`Expected an object in the 'data' property in a call to 'push', but was ${typeof jsonApiDoc.data}`, typeof jsonApiDoc.data === 'object'));\n      ret = {\n        data: store._instanceCache.loadData(jsonApiDoc.data)\n      };\n      return;\n    });\n    return ret;\n  }\n\n  /**\n   * The CacheManager wraps a Cache enforcing that only\n   * the public API surface area is exposed.\n   *\n   * Hence, it is the value of `Store.cache`, wrapping\n   * the cache instance returned by `Store.createCache`.\n   *\n   * This class is the the return value of both the\n   * `recordDataFor` function supplied to the store\n   * hook `instantiateRecord`, and the `recordDataFor`\n   * method on the `CacheStoreWrapper`. It is not\n   * directly instantiable.\n   *\n   * It handles translating between cache versions when\n   * necessary, for instance when a Store is configured\n   * to use both a v1 and a v2 cache depending on some\n   * heuristic.\n   *\n   * Starting with the v2 spec, the cache is designed such\n   * that it must be implemented as a singleton. However,\n   * because the v1 spec was not designed for this whenever\n   * we encounter any v1 cache we must wrap all caches, even\n   * singletons, in non-singleton managers to preserve v1\n   * compatibility.\n   *\n   * To avoid this performance penalty being paid by all\n   * applications, singleton behavior may be opted-in via\n   * the configuration supplied to your Ember application\n   * at build time. This effectively removes support for\n   * v1 caches.\n   *\n   * ```js\n   * let app = new EmberApp(defaults, {\n   *   emberData: {\n   *     useSingletonManager: true\n   *   },\n   * });\n   * ```\n   *\n   * @class CacheManager\n   * @public\n   */\n  var _store = /*#__PURE__*/_classPrivateFieldKey(\"store\");\n  var _cache = /*#__PURE__*/_classPrivateFieldKey(\"cache\");\n  var _identifier = /*#__PURE__*/_classPrivateFieldKey(\"identifier\");\n  var _isDeprecated = /*#__PURE__*/_classPrivateFieldKey(\"isDeprecated\");\n  class NonSingletonCacheManager {\n    get managedVersion() {\n      return _classPrivateFieldBase(this, _cache)[_cache].version || '1';\n    }\n    constructor(store, _cache2, identifier) {\n      Object.defineProperty(this, _isDeprecated, {\n        value: _isDeprecated2\n      });\n      this.version = '2';\n      Object.defineProperty(this, _store, {\n        writable: true,\n        value: void 0\n      });\n      Object.defineProperty(this, _cache, {\n        writable: true,\n        value: void 0\n      });\n      Object.defineProperty(this, _identifier, {\n        writable: true,\n        value: void 0\n      });\n      _classPrivateFieldBase(this, _store)[_store] = store;\n      _classPrivateFieldBase(this, _cache)[_cache] = _cache2;\n      _classPrivateFieldBase(this, _identifier)[_identifier] = identifier;\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](_cache2)) {\n        (false && !(false) && (0, _debug.deprecate)(`This RecordData uses the deprecated V1 RecordData Spec. Upgrade to V2 to maintain compatibility.`, false, {\n          id: 'ember-data:deprecate-v1-cache',\n          until: '5.0',\n          since: {\n            available: '4.7',\n            enabled: '4.7'\n          },\n          for: 'ember-data'\n        }));\n      }\n    }\n    // Cache Management\n    // ================\n    /**\n     * Cache the response to a request\n     *\n     * Unlike `store.push` which has UPSERT\n     * semantics, `put` has `replace` semantics similar to\n     * the `http` method `PUT`\n     *\n     * the individually cacheable\n     * e resource data it may contain\n     * should upsert, but the document data surrounding it should\n     * fully replace any existing information\n     *\n     * Note that in order to support inserting arbitrary data\n     * to the cache that did not originate from a request `put`\n     * should expect to sometimes encounter a document with only\n     * a `content` member and therefor must not assume the existence\n     * of `request` and `response` on the document.\n     *\n     * @method put\n     * @param {StructuredDocument} doc\n     * @returns {ResourceDocument}\n     * @public\n     */\n    put(doc) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        if (doc instanceof Error) {\n          // in legacy we don't know how to handle this\n          throw doc;\n        }\n        return legacyCachePut(_classPrivateFieldBase(this, _store)[_store], doc);\n      }\n      return cache.put(doc);\n    }\n\n    /**\n     * Perform an operation on the cache to update the remote state.\n     *\n     * Note: currently the only valid operation is a MergeOperation\n     * which occurs when a collision of identifiers is detected.\n     *\n     * @method patch\n     * @public\n     * @param op the operation to perform\n     * @returns {void}\n     */\n    patch(op) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        return;\n      }\n      cache.patch(op);\n    }\n\n    /**\n     * Update resource data with a local mutation. Currently supports operations\n     * on relationships only.\n     *\n     * @method mutate\n     * @public\n     * @param mutation\n     */\n    // isResource is only needed for interop with v1 cache\n    mutate(mutation, isResource) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        const instanceCache = _classPrivateFieldBase(this, _store)[_store]._instanceCache;\n        switch (mutation.op) {\n          case 'addToRelatedRecords':\n            cache.addToHasMany(mutation.field, mutation.value.map(i => instanceCache.getResourceCache(i)), mutation.index);\n            return;\n          case 'removeFromRelatedRecords':\n            cache.removeFromHasMany(mutation.field, mutation.value.map(i => instanceCache.getResourceCache(i)));\n            return;\n          case 'replaceRelatedRecords':\n            cache.setDirtyHasMany(mutation.field, mutation.value.map(i => instanceCache.getResourceCache(i)));\n            return;\n          case 'replaceRelatedRecord':\n            if (isResource) {\n              cache.setDirtyBelongsTo(mutation.field, mutation.value ? instanceCache.getResourceCache(mutation.value) : null);\n              return;\n            }\n            cache.removeFromHasMany(mutation.field, [instanceCache.getResourceCache(mutation.prior)]);\n            cache.addToHasMany(mutation.field, [instanceCache.getResourceCache(mutation.value)], mutation.index);\n            return;\n          case 'sortRelatedRecords':\n            return;\n          default:\n            return;\n        }\n      } else {\n        cache.mutate(mutation);\n      }\n    }\n\n    /**\n     * Peek resource data from the Cache.\n     *\n     * In development, if the return value\n     * is JSON the return value\n     * will be deep-cloned and deep-frozen\n     * to prevent mutation thereby enforcing cache\n     * Immutability.\n     *\n     * This form of peek is useful for implementations\n     * that want to feed raw-data from cache to the UI\n     * or which want to interact with a blob of data\n     * directly from the presentation cache.\n     *\n     * An implementation might want to do this because\n     * de-referencing records which read from their own\n     * blob is generally safer because the record does\n     * not require retaining connections to the Store\n     * and Cache to present data on a per-field basis.\n     *\n     * This generally takes the place of `getAttr` as\n     * an API and may even take the place of `getRelationship`\n     * depending on implementation specifics, though this\n     * latter usage is less recommended due to the advantages\n     * of the Graph handling necessary entanglements and\n     * notifications for relational data.\n     *\n     * @method peek\n     * @public\n     * @param {StableRecordIdentifier | StableDocumentIdentifier} identifier\n     * @returns {ResourceDocument | ResourceBlob | null} the known resource data\n     */\n\n    peek(identifier) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        throw new Error(`Expected cache to implement peek`);\n      }\n      return cache.peek(identifier);\n    }\n\n    /**\n     * Peek the Cache for the existing request data associated with\n     * a cacheable request\n     *\n     * @method peekRequest\n     * @param {StableDocumentIdentifier}\n     * @returns {StableDocumentIdentifier | null}\n     * @public\n     */\n    peekRequest(identifier) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        throw new Error(`Expected cache to implement peekRequest`);\n      }\n      return cache.peekRequest(identifier);\n    }\n\n    /**\n     * Push resource data from a remote source into the cache for this identifier\n     *\n     * @method upsert\n     * @public\n     * @param identifier\n     * @param data\n     * @param hasRecord\n     * @returns {void | string[]} if `hasRecord` is true then calculated key changes should be returned\n     */\n    upsert(identifier, data, hasRecord) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      // called by something V1\n      if (!isStableIdentifier(identifier)) {\n        data = identifier;\n        hasRecord = data;\n        identifier = _classPrivateFieldBase(this, _identifier)[_identifier];\n      }\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        return cache.pushData(data, hasRecord);\n      }\n      return cache.upsert(identifier, data, hasRecord);\n    }\n\n    // Cache Forking Support\n    // =====================\n\n    /**\n     * Create a fork of the cache from the current state.\n     *\n     * Applications should typically not call this method themselves,\n     * preferring instead to fork at the Store level, which will\n     * utilize this method to fork the cache.\n     *\n     * @method fork\n     * @public\n     * @returns Promise<Cache>\n     */\n    fork() {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        throw new Error(`Expected cache to implement fork`);\n      }\n      return cache.fork();\n    }\n\n    /**\n     * Merge a fork back into a parent Cache.\n     *\n     * Applications should typically not call this method themselves,\n     * preferring instead to merge at the Store level, which will\n     * utilize this method to merge the caches.\n     *\n     * @method merge\n     * @param {Cache} cache\n     * @public\n     * @returns Promise<void>\n     */\n    merge(updates) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        throw new Error(`Expected cache to implement merge`);\n      }\n      return cache.merge(updates);\n    }\n\n    /**\n     * Generate the list of changes applied to all\n     * record in the store.\n     *\n     * Each individual resource or document that has\n     * been mutated should be described as an individual\n     * `Change` entry in the returned array.\n     *\n     * A `Change` is described by an object containing up to\n     * three properties: (1) the `identifier` of the entity that\n     * changed; (2) the `op` code of that change being one of\n     * `upsert` or `remove`, and if the op is `upsert` a `patch`\n     * containing the data to merge into the cache for the given\n     * entity.\n     *\n     * This `patch` is opaque to the Store but should be understood\n     * by the Cache and may expect to be utilized by an Adapter\n     * when generating data during a `save` operation.\n     *\n     * It is generally recommended that the `patch` contain only\n     * the updated state, ignoring fields that are unchanged\n     *\n     * ```ts\n     * interface Change {\n     *  identifier: StableRecordIdentifier | StableDocumentIdentifier;\n     *  op: 'upsert' | 'remove';\n     *  patch?: unknown;\n     * }\n     * ```\n     *\n     * @method diff\n     * @public\n     */\n    diff() {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        throw new Error(`Expected cache to implement diff`);\n      }\n      return cache.diff();\n    }\n\n    // SSR Support\n    // ===========\n\n    /**\n     * Serialize the entire contents of the Cache into a Stream\n     * which may be fed back into a new instance of the same Cache\n     * via `cache.hydrate`.\n     *\n     * @method dump\n     * @returns {Promise<ReadableStream>}\n     * @public\n     */\n    dump() {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        throw new Error(`Expected cache to implement dump`);\n      }\n      return cache.dump();\n    }\n\n    /**\n     * hydrate a Cache from a Stream with content previously serialized\n     * from another instance of the same Cache, resolving when hydration\n     * is complete.\n     *\n     * This method should expect to be called both in the context of restoring\n     * the Cache during application rehydration after SSR **AND** at unknown\n     * times during the lifetime of an already booted application when it is\n     * desired to bulk-load additional information into the cache. This latter\n     * behavior supports optimizing pre/fetching of data for route transitions\n     * via data-only SSR modes.\n     *\n     * @method hydrate\n     * @param {ReadableStream} stream\n     * @returns {Promise<void>}\n     * @public\n     */\n    hydrate(stream) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        throw new Error(`Expected cache to implement hydrate`);\n      }\n      return cache.hydrate(stream);\n    }\n\n    // Cache\n    // =====\n\n    /**\n     * Retrieve the identifier for this v1 cache\n     *\n     * DEPRECATED Caches should not be assumed to be 1:1 with resources\n     *\n     * @method getResourceIdentifier\n     * @public\n     * @deprecated\n     */\n    getResourceIdentifier() {\n      return _classPrivateFieldBase(this, _identifier)[_identifier];\n    }\n\n    /**\n     * Push resource data from a remote source into the cache for this identifier\n     *\n     * DEPRECATED Use upsert. Caches should not be assumed to be 1:1 with resources\n     *\n     * @method pushData\n     * @param data\n     * @param hasRecord\n     * @returns {void | string[]} if `hasRecord` is true then calculated key changes should be returned\n     * @public\n     * @deprecated\n     */\n    pushData(data, hasRecord) {\n      return this.upsert(_classPrivateFieldBase(this, _identifier)[_identifier], data, hasRecord);\n    }\n\n    // Resource Support\n    // ================\n\n    /**\n     * [LIFECYCLE] Signal to the cache that a new record has been instantiated on the client\n     *\n     * It returns properties from options that should be set on the record during the create\n     * process. This return value behavior is deprecated.\n     *\n     * @method clientDidCreate\n     * @public\n     * @param identifier\n     * @param options\n     */\n    clientDidCreate(identifier, options) {\n      // called by something V1\n      if (!isStableIdentifier(identifier)) {\n        options = identifier;\n        identifier = _classPrivateFieldBase(this, _identifier)[_identifier];\n      }\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n\n      // TODO deprecate return value\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        cache.clientDidCreate();\n        // if a V2 is calling a V1 we need to call both methods\n        return cache._initRecordCreateOptions(options);\n      } else {\n        return cache.clientDidCreate(identifier, options);\n      }\n    }\n\n    /**\n     * Pass options to the cache that were supplied to a new record\n     * instantiated on the client.\n     *\n     * DEPRECATED: options are now passed via `clientDidCreate`\n     *\n     * @method clientDidCreate\n     * @public\n     * @deprecated\n     * @param options\n     */\n    _initRecordCreateOptions(options) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        return cache._initRecordCreateOptions(options);\n      }\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * will be part of a save transaction.\n     *\n     * @method willCommit\n     * @public\n     * @param identifier\n     */\n    willCommit(identifier, context) {\n      // called by something V1\n      if (!isStableIdentifier(identifier)) {\n        identifier = _classPrivateFieldBase(this, _identifier)[_identifier];\n      }\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n\n      // TODO deprecate return value\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        cache.willCommit();\n      } else {\n        (false && !(!!context) && (0, _debug.assert)(`Cannot call a v2 cache willCommit from a v1 cache`, !!context));\n        cache.willCommit(identifier, context);\n      }\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * was successfully updated as part of a save transaction.\n     *\n     * @method didCommit\n     * @public\n     * @param identifier\n     * @param data\n     */\n    didCommit(identifier, result) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        // called by something V1\n        if (!isStableIdentifier(identifier)) {\n          cache.didCommit(identifier);\n          return {\n            data: _classPrivateFieldBase(this, _identifier)[_identifier]\n          };\n        }\n        cache.didCommit(result.content?.data);\n        return {\n          data: _classPrivateFieldBase(this, _identifier)[_identifier]\n        };\n      } else {\n        // called by something V1\n        if (!isStableIdentifier(identifier)) {\n          cache.didCommit(_classPrivateFieldBase(this, _identifier)[_identifier], {\n            content: {\n              data: identifier\n            }\n          });\n          return {\n            data: _classPrivateFieldBase(this, _identifier)[_identifier]\n          };\n        }\n        return cache.didCommit(identifier, result);\n      }\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that a resource\n     * was update via a save transaction failed.\n     *\n     * @method commitWasRejected\n     * @public\n     * @param identifier\n     * @param errors\n     */\n    commitWasRejected(identifier, errors) {\n      _classPrivateFieldBase(this, _cache)[_cache].commitWasRejected(identifier || _classPrivateFieldBase(this, _identifier)[_identifier], errors);\n    }\n\n    /**\n     * [LIFECYCLE] Signals to the cache that all data for a resource\n     * should be cleared.\n     *\n     * @method unloadRecord\n     * @public\n     * @param identifier\n     */\n    unloadRecord(identifier) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        cache.unloadRecord();\n      } else {\n        cache.unloadRecord(identifier || _classPrivateFieldBase(this, _identifier)[_identifier]);\n      }\n    }\n\n    // Granular Resource Data APIs\n    // ===========================\n\n    /**\n     * Retrieve the data for an attribute from the cache\n     *\n     * @method getAttr\n     * @public\n     * @param identifier\n     * @param propertyName\n     * @returns {unknown}\n     */\n    getAttr(identifier, propertyName) {\n      // called by something V1\n      if (!isStableIdentifier(identifier)) {\n        propertyName = identifier;\n        identifier = _classPrivateFieldBase(this, _identifier)[_identifier];\n      }\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      return _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.getAttr(propertyName) : cache.getAttr(identifier, propertyName);\n    }\n\n    /**\n     * Mutate the data for an attribute in the cache\n     *\n     * @method setAttr\n     * @public\n     * @param identifier\n     * @param propertyName\n     * @param value\n     */\n    setAttr(identifier, propertyName, value) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.setDirtyAttribute(propertyName, value) : cache.setAttr(identifier, propertyName, value);\n    }\n\n    /**\n     * Mutate the data for an attribute in the cache\n     *\n     * DEPRECATED use setAttr\n     *\n     * @method setDirtyAttribute\n     * @public\n     * @deprecated\n     * @param identifier\n     * @param propertyName\n     * @param value\n     */\n    setDirtyAttribute(propertyName, value) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.setDirtyAttribute(propertyName, value) : cache.setAttr(_classPrivateFieldBase(this, _identifier)[_identifier], propertyName, value);\n    }\n\n    /**\n     * Query the cache for the changed attributes of a resource.\n     *\n     * DEPRECATED use changedAttrs\n     *\n     * @method changedAttributes\n     * @public\n     * @deprecated\n     * @param identifier\n     * @returns\n     */\n    changedAttributes() {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        return cache.changedAttributes();\n      }\n      return cache.changedAttrs(_classPrivateFieldBase(this, _identifier)[_identifier]);\n    }\n\n    /**\n     * Query the cache for the changed attributes of a resource.\n     *\n     * @method changedAttrs\n     * @public\n     * @deprecated\n     * @param identifier\n     * @returns\n     */\n    changedAttrs(identifier) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        return cache.changedAttributes();\n      }\n      return cache.changedAttrs(identifier);\n    }\n\n    /**\n     * Query the cache for whether any mutated attributes exist\n     *\n     * DEPRECATED use hasChangedAttrs\n     *\n     * @method hasChangedAttributes\n     * @public\n     * @deprecated\n     * @returns {boolean}\n     */\n    hasChangedAttributes() {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      return _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.hasChangedAttributes() : cache.hasChangedAttrs(_classPrivateFieldBase(this, _identifier)[_identifier]);\n    }\n\n    /**\n     * Query the cache for whether any mutated attributes exist\n     *\n     * @method hasChangedAttrs\n     * @public\n     * @param identifier\n     * @returns {boolean}\n     */\n    hasChangedAttrs(identifier) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      return _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.hasChangedAttributes() : cache.hasChangedAttrs(identifier);\n    }\n\n    /**\n     * Tell the cache to discard any uncommitted mutations to attributes\n     *\n     * DEPRECATED use rollbackAttrs\n     *\n     * @method rollbackAttributes\n     * @public\n     * @deprecated\n     * @returns\n     */\n    rollbackAttributes() {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      return _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.rollbackAttributes() : cache.rollbackAttrs(_classPrivateFieldBase(this, _identifier)[_identifier]);\n    }\n\n    /**\n     * Tell the cache to discard any uncommitted mutations to attributes\n     *\n     * @method rollbackAttrs\n     * @public\n     * @param identifier\n     * @returns the names of attributes that were restored\n     */\n    rollbackAttrs(identifier) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      return _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.rollbackAttributes() : cache.rollbackAttrs(identifier);\n    }\n\n    // Relationships\n    // =============\n\n    // the third arg here is \"private\". In a world with only V2 it is not necessary\n    // but in one in which we must convert a call from V2 -> V1 it is required to do this\n    // or else to do nasty schema lookup things\n    // @runspired has implemented this concept in relationships spikes and is confident\n    // we do not need any signal about whether a relationship is a collection or not at this\n    // boundary\n    /**\n     * Query the cache for the current state of a relationship property\n     *\n     * @method getRelationship\n     * @public\n     * @param identifier\n     * @param propertyName\n     * @returns resource relationship object\n     */\n    getRelationship(identifier, propertyName, isCollection = false) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        let isBelongsTo = !isCollection;\n        return isBelongsTo ? cache.getBelongsTo(propertyName) : cache.getHasMany(propertyName);\n      }\n      return cache.getRelationship(identifier, propertyName);\n    }\n\n    /**\n     * Query the cache for the current state of a belongsTo field\n     *\n     * DEPRECATED use `getRelationship`\n     *\n     * @method getBelongsTo\n     * @public\n     * @deprecated\n     * @param propertyName\n     * @returns single resource relationship object\n     */\n    getBelongsTo(propertyName) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        return cache.getBelongsTo(propertyName);\n      } else {\n        let identifier = _classPrivateFieldBase(this, _identifier)[_identifier];\n        return cache.getRelationship(identifier, propertyName);\n      }\n    }\n\n    /**\n     * Query the cache for the current state of a hasMany field\n     *\n     * DEPRECATED use `getRelationship`\n     *\n     * @method getHasMany\n     * @public\n     * @deprecated\n     * @param propertyName\n     * @returns single resource relationship object\n     */\n    getHasMany(propertyName) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      if (_classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache)) {\n        return cache.getHasMany(propertyName);\n      } else {\n        let identifier = _classPrivateFieldBase(this, _identifier)[_identifier];\n        return cache.getRelationship(identifier, propertyName);\n      }\n    }\n\n    /**\n     * Mutate the current state of a belongsTo relationship\n     *\n     * DEPRECATED use update\n     *\n     * @method setDirtyBelongsTo\n     * @public\n     * @deprecated\n     * @param propertyName\n     * @param value\n     */\n    setDirtyBelongsTo(propertyName, value) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.setDirtyBelongsTo(propertyName, value) : cache.mutate({\n        op: 'replaceRelatedRecord',\n        record: _classPrivateFieldBase(this, _identifier)[_identifier],\n        field: propertyName,\n        value: value ? value.getResourceIdentifier() : null\n      });\n    }\n\n    /**\n     * Mutate the current state of a hasMany relationship by adding values\n     * An index may optionally be specified which the cache should use for\n     * where in the list to insert the records\n     *\n     * DEPRECATED use update\n     *\n     * @method addToHasMany\n     * @deprecated\n     * @public\n     * @param propertyName\n     * @param value\n     * @param idx\n     */\n    addToHasMany(propertyName, value, idx) {\n      const identifier = _classPrivateFieldBase(this, _identifier)[_identifier];\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.addToHasMany(propertyName, value, idx) : cache.mutate({\n        op: 'addToRelatedRecords',\n        field: propertyName,\n        record: identifier,\n        value: value.map(v => v.getResourceIdentifier())\n      });\n    }\n\n    /**\n     * Mutate the current state of a hasMany relationship by removing values.\n     *\n     * DEPRECATED use update\n     *\n     * @method removeFromHasMany\n     * @deprecated\n     * @public\n     * @param propertyName\n     * @param value\n     */\n    removeFromHasMany(propertyName, value) {\n      const identifier = _classPrivateFieldBase(this, _identifier)[_identifier];\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.removeFromHasMany(propertyName, value) : cache.mutate({\n        op: 'removeFromRelatedRecords',\n        record: identifier,\n        field: propertyName,\n        value: value.map(v => v.getResourceIdentifier())\n      });\n    }\n\n    /**\n     * Mutate the current state of a hasMany relationship by replacing it entirely\n     *\n     * DEPRECATED use `setHasMany`\n     *\n     * @method setDirtyHasMany\n     * @public\n     * @deprecated\n     * @param propertyName\n     * @param value\n     */\n    setDirtyHasMany(propertyName, value) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.setDirtyHasMany(propertyName, value) : cache.mutate({\n        op: 'replaceRelatedRecords',\n        record: _classPrivateFieldBase(this, _identifier)[_identifier],\n        field: propertyName,\n        value: value.map(rd => rd.getResourceIdentifier())\n      });\n    }\n\n    // Resource State\n    // ===============\n\n    /**\n     * Update the cache state for the given resource to be marked as locally deleted,\n     * or remove such a mark.\n     *\n     * @method setIsDeleted\n     * @public\n     * @param identifier\n     * @param isDeleted\n     */\n    setIsDeleted(identifier, isDeleted) {\n      if (!isStableIdentifier(identifier)) {\n        isDeleted = identifier;\n        identifier = _classPrivateFieldBase(this, _identifier)[_identifier];\n      }\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.setIsDeleted(isDeleted) : cache.setIsDeleted(identifier, isDeleted);\n    }\n\n    /**\n     * Query the cache for any validation errors applicable to the given resource.\n     *\n     * @method getErrors\n     * @public\n     * @param identifier\n     * @returns\n     */\n    getErrors(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].getErrors(identifier || _classPrivateFieldBase(this, _identifier)[_identifier]);\n    }\n\n    /**\n     * Query the cache for whether a given resource has any available data\n     *\n     * @method isEmpty\n     * @public\n     * @param identifier\n     * @returns {boolean}\n     */\n    isEmpty(identifier) {\n      const cache = _classPrivateFieldBase(this, _cache)[_cache];\n      return _classPrivateFieldBase(this, _isDeprecated)[_isDeprecated](cache) ? cache.isEmpty?.(identifier || _classPrivateFieldBase(this, _identifier)[_identifier]) || false : cache.isEmpty(identifier || _classPrivateFieldBase(this, _identifier)[_identifier]);\n    }\n\n    /**\n     * Query the cache for whether a given resource was created locally and not\n     * yet persisted.\n     *\n     * @method isNew\n     * @public\n     * @param identifier\n     * @returns {boolean}\n     */\n    isNew(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].isNew(identifier || _classPrivateFieldBase(this, _identifier)[_identifier]);\n    }\n\n    /**\n     * Query the cache for whether a given resource is marked as deleted (but not\n     * necessarily persisted yet).\n     *\n     * @method isDeleted\n     * @public\n     * @param identifier\n     * @returns {boolean}\n     */\n    isDeleted(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].isDeleted(identifier || _classPrivateFieldBase(this, _identifier)[_identifier]);\n    }\n\n    /**\n     * Query the cache for whether a given resource has been deleted and that deletion\n     * has also been persisted.\n     *\n     * @method isDeletionCommitted\n     * @public\n     * @param identifier\n     * @returns {boolean}\n     */\n    isDeletionCommitted(identifier) {\n      return _classPrivateFieldBase(this, _cache)[_cache].isDeletionCommitted(identifier || _classPrivateFieldBase(this, _identifier)[_identifier]);\n    }\n  }\n  function _isDeprecated2(cache) {\n    let version = cache.version || '1';\n    return version !== this.version;\n  }\n  var _cache3 = /*#__PURE__*/_classPrivateFieldKey(\"cache\");\n  class SingletonCacheManager {\n    constructor(cache) {\n      this.version = '2';\n      Object.defineProperty(this, _cache3, {\n        writable: true,\n        value: void 0\n      });\n      _classPrivateFieldBase(this, _cache3)[_cache3] = cache;\n    }\n    put(doc) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].put(doc);\n    }\n    peek(identifier) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].peek(identifier);\n    }\n    peekRequest(identifier) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].peekRequest(identifier);\n    }\n    fork() {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].fork();\n    }\n    merge(cache) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].merge(cache);\n    }\n    diff() {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].diff();\n    }\n    dump() {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].dump();\n    }\n    hydrate(stream) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].hydrate(stream);\n    }\n\n    // Cache\n    // =====\n\n    upsert(identifier, data, hasRecord) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].upsert(identifier, data, hasRecord);\n    }\n    patch(op) {\n      _classPrivateFieldBase(this, _cache3)[_cache3].patch(op);\n    }\n    clientDidCreate(identifier, options) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].clientDidCreate(identifier, options);\n    }\n    willCommit(identifier, context) {\n      _classPrivateFieldBase(this, _cache3)[_cache3].willCommit(identifier, context);\n    }\n    didCommit(identifier, result) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].didCommit(identifier, result);\n    }\n    commitWasRejected(identifier, errors) {\n      _classPrivateFieldBase(this, _cache3)[_cache3].commitWasRejected(identifier, errors);\n    }\n    unloadRecord(identifier) {\n      _classPrivateFieldBase(this, _cache3)[_cache3].unloadRecord(identifier);\n    }\n\n    // Attrs\n    // =====\n\n    getAttr(identifier, propertyName) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].getAttr(identifier, propertyName);\n    }\n    setAttr(identifier, propertyName, value) {\n      _classPrivateFieldBase(this, _cache3)[_cache3].setAttr(identifier, propertyName, value);\n    }\n    changedAttrs(identifier) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].changedAttrs(identifier);\n    }\n    hasChangedAttrs(identifier) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].hasChangedAttrs(identifier);\n    }\n    rollbackAttrs(identifier) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].rollbackAttrs(identifier);\n    }\n    getRelationship(identifier, propertyName) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].getRelationship(identifier, propertyName);\n    }\n    mutate(mutation) {\n      _classPrivateFieldBase(this, _cache3)[_cache3].mutate(mutation);\n    }\n\n    // State\n    // =============\n\n    setIsDeleted(identifier, isDeleted) {\n      _classPrivateFieldBase(this, _cache3)[_cache3].setIsDeleted(identifier, isDeleted);\n    }\n    getErrors(identifier) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].getErrors(identifier);\n    }\n    isEmpty(identifier) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].isEmpty(identifier);\n    }\n    isNew(identifier) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].isNew(identifier);\n    }\n    isDeleted(identifier) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].isDeleted(identifier);\n    }\n    isDeletionCommitted(identifier) {\n      return _classPrivateFieldBase(this, _cache3)[_cache3].isDeletionCommitted(identifier);\n    }\n  }\n  function constructResource(type, id, lid) {\n    if (typeof type === 'object' && type !== null) {\n      let resource = type;\n      if (isStableIdentifier(resource)) {\n        return resource;\n      }\n      if ('id' in resource) {\n        resource.id = coerceId(resource.id);\n      }\n      (false && !('id' in resource && isNonEmptyString(resource.id) || isNonEmptyString(resource.lid)) && (0, _debug.assert)('Expected either id or lid to be a valid string', 'id' in resource && isNonEmptyString(resource.id) || isNonEmptyString(resource.lid)));\n      (false && !(!('id' in resource) || typeof resource.type === 'string') && (0, _debug.assert)('if id is present, the type must be a string', !('id' in resource) || typeof resource.type === 'string'));\n      return resource;\n    } else {\n      const trueId = coerceId(id);\n      if (!isNonEmptyString(trueId)) {\n        if (isNonEmptyString(lid)) {\n          return {\n            lid\n          };\n        }\n        throw new Error('Expected either id or lid to be a valid string');\n      }\n      (false && !(typeof type === 'string') && (0, _debug.assert)('type must be a string', typeof type === 'string'));\n      if (isNonEmptyString(lid)) {\n        return {\n          type,\n          id: trueId,\n          lid\n        };\n      }\n      return {\n        type,\n        id: trueId\n      };\n    }\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  class LegacyWrapper {\n    constructor(_store) {\n      this._store = _store;\n      this._willNotify = false;\n      this._pendingNotifies = new Map();\n    }\n    get identifierCache() {\n      return this._store.identifierCache;\n    }\n    _scheduleNotification(identifier, key) {\n      let pending = this._pendingNotifies.get(identifier);\n      if (!pending) {\n        pending = new Set();\n        this._pendingNotifies.set(identifier, pending);\n      }\n      pending.add(key);\n      if (this._willNotify === true) {\n        return;\n      }\n      this._willNotify = true;\n      // it's possible a RecordData adhoc notifies us,\n      // in which case we sync flush\n      if (this._store._cbs) {\n        this._store._schedule('notify', () => this._flushNotifications());\n      } else {\n        this._flushNotifications();\n      }\n    }\n    _flushNotifications() {\n      if (this._willNotify === false) {\n        return;\n      }\n      let pending = this._pendingNotifies;\n      this._pendingNotifies = new Map();\n      this._willNotify = false;\n      pending.forEach((set, identifier) => {\n        set.forEach(key => {\n          this._store.notifications.notify(identifier, 'relationships', key);\n        });\n      });\n    }\n    notifyChange(identifier, namespace, key) {\n      (false && !(isStableIdentifier(identifier) || isDocumentIdentifier(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, isStableIdentifier(identifier) || isDocumentIdentifier(identifier))); // TODO do we still get value from this?\n      if (namespace === 'relationships' && key) {\n        this._scheduleNotification(identifier, key);\n        return;\n      }\n\n      // @ts-expect-error\n      this._store.notifications.notify(identifier, namespace, key);\n    }\n    notifyErrorsChange(type, id, lid) {\n      {\n        (false && !(false) && (0, _debug.deprecate)(`StoreWrapper.notifyErrorsChange has been deprecated in favor of StoreWrapper.notifyChange`, false, {\n          id: 'ember-data:deprecate-v1cache-store-apis',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      }\n      const resource = constructResource(type, id, lid);\n      const identifier = this.identifierCache.getOrCreateRecordIdentifier(resource);\n      this._store.notifications.notify(identifier, 'errors');\n    }\n    attributesDefinitionFor(type) {\n      {\n        (false && !(false) && (0, _debug.deprecate)(`StoreWrapper.attributesDefinitionFor has been deprecated in favor of StoreWrapper.getSchemaDefinitionService().attributesDefinitionFor`, false, {\n          id: 'ember-data:deprecate-v1cache-store-apis',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      }\n      return this._store.getSchemaDefinitionService().attributesDefinitionFor({\n        type\n      });\n    }\n    relationshipsDefinitionFor(type) {\n      {\n        (false && !(false) && (0, _debug.deprecate)(`StoreWrapper.relationshipsDefinitionFor has been deprecated in favor of StoreWrapper.getSchemaDefinitionService().relationshipsDefinitionFor`, false, {\n          id: 'ember-data:deprecate-v1cache-store-apis',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      }\n      return this._store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type\n      });\n    }\n    getSchemaDefinitionService() {\n      return this._store.getSchemaDefinitionService();\n    }\n    notifyPropertyChange(type, id, lid, key) {\n      {\n        (false && !(false) && (0, _debug.deprecate)(`StoreWrapper.notifyPropertyChange has been deprecated in favor of StoreWrapper.notifyChange`, false, {\n          id: 'ember-data:deprecate-v1cache-store-apis',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      }\n      const resource = constructResource(type, id, lid);\n      const identifier = this.identifierCache.getOrCreateRecordIdentifier(resource);\n      this._store.notifications.notify(identifier, 'attributes', key);\n    }\n    notifyHasManyChange(type, id, lid, key) {\n      {\n        (false && !(false) && (0, _debug.deprecate)(`StoreWrapper.notifyHasManyChange has been deprecated in favor of StoreWrapper.notifyChange`, false, {\n          id: 'ember-data:deprecate-v1cache-store-apis',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      }\n      const resource = constructResource(type, id, lid);\n      const identifier = this.identifierCache.getOrCreateRecordIdentifier(resource);\n      this._scheduleNotification(identifier, key);\n    }\n    notifyBelongsToChange(type, id, lid, key) {\n      {\n        (false && !(false) && (0, _debug.deprecate)(`StoreWrapper.notifyBelongsToChange has been deprecated in favor of StoreWrapper.notifyChange`, false, {\n          id: 'ember-data:deprecate-v1cache-store-apis',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      }\n      const resource = constructResource(type, id, lid);\n      const identifier = this.identifierCache.getOrCreateRecordIdentifier(resource);\n      this._scheduleNotification(identifier, key);\n    }\n    notifyStateChange(type, id, lid, key) {\n      {\n        (false && !(false) && (0, _debug.deprecate)(`StoreWrapper.notifyStateChange has been deprecated in favor of StoreWrapper.notifyChange`, false, {\n          id: 'ember-data:deprecate-v1cache-store-apis',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      }\n      const resource = constructResource(type, id, lid);\n      const identifier = this.identifierCache.getOrCreateRecordIdentifier(resource);\n      this._store.notifications.notify(identifier, 'state');\n    }\n    recordDataFor(type, id, lid) {\n      let identifier;\n      {\n        if (!isStableIdentifier(type)) {\n          // we also deprecate create capability. This behavior was problematic because\n          // there's no outside association between this RecordData and an Identifier.\n          // It's likely a mistake when we hit this code-path, but we said in an early\n          // RFC we'd allow this.\n          // With V2 we are enforcing someone to use the record-data and identifier-cache APIs to\n          // create a new identifier and then call clientDidCreate on the RecordData\n          // instead.\n          identifier = !id && !lid ? this.identifierCache.createIdentifierForNewRecord({\n            type: type\n          }) : this.identifierCache.getOrCreateRecordIdentifier(constructResource(type, id, lid));\n        } else {\n          identifier = type;\n        }\n      }\n      const cache = this._store._instanceCache.getResourceCache(identifier);\n      {\n        if (!id && !lid && typeof type === 'string') {\n          cache.clientDidCreate(identifier);\n          this._store.recordArrayManager.identifierAdded(identifier);\n        }\n      }\n      return cache;\n    }\n    setRecordId(type, id, lid) {\n      let identifier;\n      {\n        if (!isStableIdentifier(type)) {\n          const modelName = normalizeModelName$1(type);\n          const resource = constructResource(modelName, null, coerceId(lid));\n          identifier = this.identifierCache.peekRecordIdentifier(resource);\n        } else {\n          identifier = type;\n        }\n      }\n      (false && !(identifier) && (0, _debug.assert)(`Unable to find an identifier to update the ID for for ${String(lid)}`, identifier));\n      this._store._instanceCache.setRecordId(identifier, id);\n    }\n    isRecordInUse(type, id, lid) {\n      {\n        (false && !(false) && (0, _debug.deprecate)(`StoreWrapper.isRecordInUSe has been deprecated in favor of StoreWrapper.hasRecord`, false, {\n          id: 'ember-data:deprecate-v1cache-store-apis',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          }\n        }));\n      }\n      const resource = constructResource(type, id, lid);\n      const identifier = this.identifierCache.peekRecordIdentifier(resource);\n      const record = identifier && this._store._instanceCache.peek({\n        identifier,\n        bucket: 'record'\n      });\n      return record ? !(record.isDestroyed || record.isDestroying) : false;\n    }\n    hasRecord(identifier) {\n      return Boolean(this._store._instanceCache.peek({\n        identifier,\n        bucket: 'record'\n      }));\n    }\n    disconnectRecord(type, id, lid) {\n      let identifier;\n      {\n        if (typeof type === 'string') {\n          (false && !(false) && (0, _debug.deprecate)(`StoreWrapper.disconnectRecord(<type>) has been deprecated in favor of StoreWrapper.disconnectRecord(<identifier>)`, false, {\n            id: 'ember-data:deprecate-v1cache-store-apis',\n            for: 'ember-data',\n            until: '5.0',\n            since: {\n              enabled: '4.7',\n              available: '4.7'\n            }\n          }));\n          let resource = constructResource(type, id, lid);\n          identifier = this.identifierCache.peekRecordIdentifier(resource);\n        } else {\n          identifier = type;\n        }\n      }\n      (false && !(isStableIdentifier(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, isStableIdentifier(identifier)));\n      this._store._instanceCache.disconnect(identifier);\n      this._pendingNotifies.delete(identifier);\n    }\n  }\n  class V2CacheStoreWrapper {\n    constructor(_store) {\n      this._store = _store;\n      this._willNotify = false;\n      this._pendingNotifies = new Map();\n    }\n    get identifierCache() {\n      return this._store.identifierCache;\n    }\n    _scheduleNotification(identifier, key) {\n      let pending = this._pendingNotifies.get(identifier);\n      if (!pending) {\n        pending = new Set();\n        this._pendingNotifies.set(identifier, pending);\n      }\n      pending.add(key);\n      if (this._willNotify === true) {\n        return;\n      }\n      this._willNotify = true;\n      // it's possible a cache adhoc notifies us,\n      // in which case we sync flush\n      if (this._store._cbs) {\n        this._store._schedule('notify', () => this._flushNotifications());\n      } else {\n        // TODO @runspired determine if relationship mutations should schedule\n        // into join/run vs immediate flush\n        this._flushNotifications();\n      }\n    }\n    _flushNotifications() {\n      if (this._willNotify === false) {\n        return;\n      }\n      let pending = this._pendingNotifies;\n      this._pendingNotifies = new Map();\n      this._willNotify = false;\n      pending.forEach((set, identifier) => {\n        set.forEach(key => {\n          this._store.notifications.notify(identifier, 'relationships', key);\n        });\n      });\n    }\n    notifyChange(identifier, namespace, key) {\n      (false && !(isStableIdentifier(identifier) || isDocumentIdentifier(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, isStableIdentifier(identifier) || isDocumentIdentifier(identifier))); // TODO do we still get value from this?\n      if (namespace === 'relationships' && key) {\n        this._scheduleNotification(identifier, key);\n        return;\n      }\n\n      // @ts-expect-error\n      this._store.notifications.notify(identifier, namespace, key);\n    }\n    getSchemaDefinitionService() {\n      return this._store.getSchemaDefinitionService();\n    }\n    recordDataFor(identifier) {\n      {\n        (false && !(false) && (0, _debug.deprecate)(`StoreWrapper.recordDataFor is deprecated. With Singleton Cache, this method is no longer needed as the caller is its own cache reference.`, false, {\n          for: '@ember-data/store',\n          id: 'ember-data:deprecate-record-data-for',\n          since: {\n            available: '4.10',\n            enabled: '4.10'\n          },\n          until: '5.0'\n        }));\n      }\n      (false && !(isStableIdentifier(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, isStableIdentifier(identifier)));\n      return this._store._instanceCache.getResourceCache(identifier);\n    }\n    setRecordId(identifier, id) {\n      (false && !(isStableIdentifier(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, isStableIdentifier(identifier)));\n      this._store._instanceCache.setRecordId(identifier, id);\n    }\n    hasRecord(identifier) {\n      return Boolean(this._store._instanceCache.peek({\n        identifier,\n        bucket: 'record'\n      }));\n    }\n    disconnectRecord(identifier) {\n      (false && !(isStableIdentifier(identifier)) && (0, _debug.assert)(`Expected a stable identifier`, isStableIdentifier(identifier)));\n      this._store._instanceCache.disconnect(identifier);\n      this._pendingNotifies.delete(identifier);\n    }\n  }\n  const CacheStoreWrapper = LegacyWrapper;\n  let _peekGraph;\n  {\n    let __peekGraph;\n    _peekGraph = wrapper => {\n      let a = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).peekGraph;\n      __peekGraph = __peekGraph || a;\n      return __peekGraph(wrapper);\n    };\n  }\n\n  /**\n    @module @ember-data/store\n  */\n\n  const RecordCache = new Map();\n  function peekRecordIdentifier(record) {\n    return RecordCache.get(record);\n  }\n\n  /**\n    Retrieves the unique referentially-stable [RecordIdentifier](/ember-data/release/classes/StableRecordIdentifier)\n    assigned to the given record instance.\n    ```js\n    import { recordIdentifierFor } from \"@ember-data/store\";\n    // ... gain access to a record, for instance with peekRecord or findRecord\n    const record = store.peekRecord(\"user\", \"1\");\n    // get the identifier for the record (see docs for StableRecordIdentifier)\n    const identifier = recordIdentifierFor(record);\n    // access the identifier's properties.\n    const { id, type, lid } = identifier;\n    ```\n    @method recordIdentifierFor\n    @public\n    @static\n    @for @ember-data/store\n    @param {Object} record a record instance previously obstained from the store.\n    @returns {StableRecordIdentifier}\n   */\n  function recordIdentifierFor(record) {\n    (false && !(RecordCache.has(record)) && (0, _debug.assert)(`${String(record)} is not a record instantiated by @ember-data/store`, RecordCache.has(record)));\n    return RecordCache.get(record);\n  }\n  function setRecordIdentifier(record, identifier) {\n    /*\n    It would be nice to do a reverse check here that an identifier has not\n    previously been assigned a record; however, unload + rematerialization\n    prevents us from having a great way of doing so when CustomRecordClasses\n    don't necessarily give us access to a `isDestroyed` for dematerialized\n    instance.\n    */\n\n    RecordCache.set(record, identifier);\n  }\n  const StoreMap = new Map();\n  function storeFor(record) {\n    const store = StoreMap.get(record);\n    (false && !(store) && (0, _debug.assert)(`A record in a disconnected state cannot utilize the store. This typically means the record has been destroyed, most commonly by unloading it.`, store));\n    return store;\n  }\n  class InstanceCache {\n    constructor(store) {\n      this.__instances = {\n        record: new Map(),\n        resourceCache: new Map(),\n        reference: new WeakMap()\n      };\n      this.store = store;\n      this._storeWrapper = new CacheStoreWrapper(this.store);\n      {\n        this.__cacheFor = resource => {\n          // TODO enforce strict\n          const identifier = this.store.identifierCache.getOrCreateRecordIdentifier(resource);\n          return this.getResourceCache(identifier);\n        };\n      }\n      store.identifierCache.__configureMerge((identifier, matchedIdentifier, resourceData) => {\n        let keptIdentifier = identifier;\n        if (identifier.id !== matchedIdentifier.id) {\n          keptIdentifier = 'id' in resourceData && identifier.id === resourceData.id ? identifier : matchedIdentifier;\n        } else if (identifier.type !== matchedIdentifier.type) {\n          keptIdentifier = 'type' in resourceData && identifier.type === resourceData.type ? identifier : matchedIdentifier;\n        }\n        let staleIdentifier = identifier === keptIdentifier ? matchedIdentifier : identifier;\n\n        // check for duplicate entities\n        let keptHasRecord = this.__instances.record.has(keptIdentifier);\n        let staleHasRecord = this.__instances.record.has(staleIdentifier);\n        let keptResourceCache = this.__instances.resourceCache.get(keptIdentifier) || null;\n        let staleResourceCache = this.__instances.resourceCache.get(staleIdentifier) || null;\n\n        // we cannot merge entities when both have records\n        // (this may not be strictly true, we could probably swap the cache data the record points at)\n        if (keptHasRecord && staleHasRecord) {\n          // TODO we probably don't need to throw these errors anymore\n          // we can probably just \"swap\" what data source the abandoned\n          // record points at so long as\n          // it itself is not retained by the store in any way.\n          if ('id' in resourceData) {\n            throw new Error(`Failed to update the 'id' for the RecordIdentifier '${identifier.type}:${String(identifier.id)} (${identifier.lid})' to '${String(resourceData.id)}', because that id is already in use by '${matchedIdentifier.type}:${String(matchedIdentifier.id)} (${matchedIdentifier.lid})'`);\n          }\n          (false && !(false) && (0, _debug.assert)(`Failed to update the RecordIdentifier '${identifier.type}:${String(identifier.id)} (${identifier.lid})' to merge with the detected duplicate identifier '${matchedIdentifier.type}:${String(matchedIdentifier.id)} (${String(matchedIdentifier.lid)})'`));\n        }\n        let resourceCache = keptResourceCache || staleResourceCache;\n        if (resourceCache) {\n          resourceCache.patch({\n            op: 'mergeIdentifiers',\n            record: staleIdentifier,\n            value: keptIdentifier\n          });\n        } else {\n          this.store.cache.patch({\n            op: 'mergeIdentifiers',\n            record: staleIdentifier,\n            value: keptIdentifier\n          });\n        }\n        if (staleResourceCache === null) {\n          return keptIdentifier;\n        }\n\n        /*\n        TODO @runspired consider adding this to make polymorphism even nicer\n        if (HAS_GRAPH_PACKAGE) {\n        if (identifier.type !== matchedIdentifier.type) {\n          const graphFor = importSync('@ember-data/graph/-private').graphFor;\n          graphFor(this).registerPolymorphicType(identifier.type, matchedIdentifier.type);\n        }\n        }\n        */\n\n        this.unloadRecord(staleIdentifier);\n        return keptIdentifier;\n      });\n    }\n    peek({\n      identifier,\n      bucket\n    }) {\n      return this.__instances[bucket]?.get(identifier);\n    }\n    getRecord(identifier, properties) {\n      let record = this.__instances.record.get(identifier);\n      if (!record) {\n        (false && !(!this.store.isDestroying && !this.store.isDestroyed) && (0, _debug.assert)(`Cannot create a new record instance while the store is being destroyed`, !this.store.isDestroying && !this.store.isDestroyed));\n        const cache = this.getResourceCache(identifier);\n        {\n          if (this.store.instantiateRecord.length > 2) {\n            (false && !(false) && (0, _debug.deprecate)(`Expected store.instantiateRecord to have an arity of 2. recordDataFor and notificationManager args have been deprecated.`, false, {\n              for: '@ember-data/store',\n              id: 'ember-data:deprecate-instantiate-record-args',\n              since: {\n                available: '4.12',\n                enabled: '4.12'\n              },\n              until: '5.0'\n            }));\n          }\n          (false && !(\n          // @ts-expect-error managedVersion is private and debug only\n          Boolean(cache.managedVersion === '1' || cache.peek(identifier))) && (0, _debug.assert)(`Cannot create a record for ${identifier.type + ':' + String(identifier.id)} (${identifier.lid}) as no resource data exists`, Boolean(cache.managedVersion === '1' || cache.peek(identifier))));\n          record = this.store.instantiateRecord(identifier, properties || {},\n          // @ts-expect-error\n          this.__cacheFor, this.store.notifications);\n        }\n        setRecordIdentifier(record, identifier);\n        setCacheFor(record, cache);\n        StoreMap.set(record, this.store);\n        this.__instances.record.set(identifier, record);\n      }\n      return record;\n    }\n    getResourceCache(identifier) {\n      let cache = this.__instances.resourceCache.get(identifier);\n      if (cache) {\n        return cache;\n      }\n      if (this.store.createRecordDataFor) {\n        (false && !(false) && (0, _debug.deprecate)(`Store.createRecordDataFor(<type>, <id>, <lid>, <storeWrapper>) has been deprecated in favor of Store.createCache(<storeWrapper>)`, false, {\n          id: 'ember-data:deprecate-v1-cache',\n          for: 'ember-data',\n          until: '5.0',\n          since: {\n            enabled: '4.12',\n            available: '4.12'\n          }\n        }));\n        {\n          if (this.store.createRecordDataFor.length > 2) {\n            let cacheInstance = this.store.createRecordDataFor(identifier.type, identifier.id,\n            // @ts-expect-error\n            identifier.lid, this._storeWrapper);\n            cache = new NonSingletonCacheManager(this.store, cacheInstance, identifier);\n          }\n        }\n        if (!cache) {\n          let cacheInstance = this.store.createRecordDataFor(identifier, this._storeWrapper);\n          cache = cacheInstance.version === '2' ? cacheInstance : new NonSingletonCacheManager(this.store, cacheInstance, identifier);\n        }\n      } else {\n        cache = this.store.cache;\n      }\n      setCacheFor(identifier, cache);\n      this.__instances.resourceCache.set(identifier, cache);\n      return cache;\n    }\n    getReference(identifier) {\n      let cache = this.__instances.reference;\n      let reference = cache.get(identifier);\n      if (!reference) {\n        reference = new RecordReference(this.store, identifier);\n        cache.set(identifier, reference);\n      }\n      return reference;\n    }\n    recordIsLoaded(identifier, filterDeleted = false) {\n      const cache = this.__instances.resourceCache.get(identifier) || this.cache;\n      if (!cache) {\n        return false;\n      }\n      const isNew = cache.isNew(identifier);\n      const isEmpty = cache.isEmpty(identifier);\n\n      // if we are new we must consider ourselves loaded\n      if (isNew) {\n        return !cache.isDeleted(identifier);\n      }\n      // even if we have a past request, if we are now empty we are not loaded\n      // typically this is true after an unloadRecord call\n\n      // if we are not empty, not new && we have a fulfilled request then we are loaded\n      // we should consider allowing for something to be loaded that is simply \"not empty\".\n      // which is how RecordState currently handles this case; however, RecordState is buggy\n      // in that it does not account for unloading.\n      return filterDeleted && cache.isDeletionCommitted(identifier) ? false : !isEmpty;\n    }\n    disconnect(identifier) {\n      const record = this.__instances.record.get(identifier);\n      (false && !(!record || record.isDestroyed || record.isDestroying) && (0, _debug.assert)('Cannot destroy record while it is still materialized', !record || record.isDestroyed || record.isDestroying));\n      {\n        let graph = _peekGraph(this.store);\n        if (graph) {\n          graph.remove(identifier);\n        }\n      }\n      this.store.identifierCache.forgetRecordIdentifier(identifier);\n      this.__instances.resourceCache.delete(identifier);\n      removeRecordDataFor(identifier);\n      this.store._requestCache._clearEntries(identifier);\n    }\n    unloadRecord(identifier) {\n      // TODO is this join still necessary?\n      this.store._join(() => {\n        const record = this.__instances.record.get(identifier);\n        const cache = this.__instances.resourceCache.get(identifier);\n        if (record) {\n          this.store.teardownRecord(record);\n          this.__instances.record.delete(identifier);\n          StoreMap.delete(record);\n          RecordCache.delete(record);\n          removeRecordDataFor(record);\n        }\n        if (cache) {\n          cache.unloadRecord(identifier);\n          this.__instances.resourceCache.delete(identifier);\n          removeRecordDataFor(identifier);\n        } else {\n          this.disconnect(identifier);\n        }\n        this.store._requestCache._clearEntries(identifier);\n      });\n    }\n    clear(type) {\n      const cache = this.store.identifierCache._cache;\n      if (type === undefined) {\n        // it would be cool if we could just de-ref cache here\n        // but probably would require WeakRef models to do so.\n        cache.lids.forEach(identifier => {\n          this.unloadRecord(identifier);\n        });\n      } else {\n        const typeCache = cache.types;\n        let identifiers = typeCache[type]?.lid;\n        // const rds = this.__instances.resourceCache;\n        if (identifiers) {\n          identifiers.forEach(identifier => {\n            // if (rds.has(identifier)) {\n            this.unloadRecord(identifier);\n            // }\n            // TODO we don't remove the identifier, should we?\n          });\n        }\n      }\n    }\n\n    // TODO this should move into something coordinating operations\n    setRecordId(identifier, id) {\n      const {\n        type,\n        lid\n      } = identifier;\n      let oldId = identifier.id;\n\n      // ID absolutely can't be missing if the oldID is empty (missing Id in response for a new record)\n      (false && !(!(id === null && oldId === null)) && (0, _debug.assert)(`'${type}' was saved to the server, but the response does not have an id and your record does not either.`, !(id === null && oldId === null))); // ID absolutely can't be different than oldID if oldID is not null\n      // TODO this assertion and restriction may not strictly be needed in the identifiers world\n      (false && !(!(oldId !== null && id !== oldId)) && (0, _debug.assert)(`Cannot update the id for '${type}:${lid}' from '${String(oldId)}' to '${id}'.`, !(oldId !== null && id !== oldId))); // ID can be null if oldID is not null (altered ID in response for a record)\n      // however, this is more than likely a developer error.\n      if (oldId !== null && id === null) {\n        (false && (0, _debug.warn)(`Your ${type} record was saved to the server, but the response does not have an id.`, !(oldId !== null && id === null)));\n        return;\n      }\n      let existingIdentifier = this.store.identifierCache.peekRecordIdentifier({\n        type,\n        id\n      });\n      (false && !(!existingIdentifier || existingIdentifier === identifier) && (0, _debug.assert)(`'${type}' was saved to the server, but the response returned the new id '${id}', which has already been used with another record.'`, !existingIdentifier || existingIdentifier === identifier));\n      if (identifier.id === null) {\n        // TODO potentially this needs to handle merged result\n        this.store.identifierCache.updateRecordIdentifier(identifier, {\n          type,\n          id\n        });\n      }\n\n      // TODO update resource cache if needed ?\n      // TODO handle consequences of identifier merge for notifications\n      this.store.notifications.notify(identifier, 'identity');\n    }\n\n    // TODO ths should be wrapped in a deprecation flag since cache.put\n    // handles this the rest of the time\n    loadData(data) {\n      let modelName = data.type;\n      (false && !(data.id !== null && data.id !== undefined && data.id !== '') && (0, _debug.assert)(`You must include an 'id' for ${modelName} in an object passed to 'push'`, data.id !== null && data.id !== undefined && data.id !== ''));\n      (false && !(this.store.getSchemaDefinitionService().doesTypeExist(modelName)) && (0, _debug.assert)(`You tried to push data with a type '${modelName}' but no model could be found with that name.`, this.store.getSchemaDefinitionService().doesTypeExist(modelName)));\n      const resource = constructResource(normalizeModelName$1(data.type), ensureStringId(data.id), coerceId(data.lid));\n      let identifier = this.store.identifierCache.peekRecordIdentifier(resource);\n      let isUpdate = false;\n\n      // store.push will be from empty\n      // findRecord will be from root.loading\n      // this cannot be loading state if we do not already have an identifier\n      // all else will be updates\n      if (identifier) {\n        const isLoading = _isLoading(this, identifier) || !this.recordIsLoaded(identifier);\n        isUpdate = !_isEmpty(this, identifier) && !isLoading;\n\n        // exclude store.push (root.empty) case\n        if (isUpdate || isLoading) {\n          identifier = this.store.identifierCache.updateRecordIdentifier(identifier, data);\n        }\n      } else {\n        identifier = this.store.identifierCache.getOrCreateRecordIdentifier(data);\n      }\n      const cache = this.getResourceCache(identifier);\n      const hasRecord = this.__instances.record.has(identifier);\n      cache.upsert(identifier, data, hasRecord);\n      return identifier;\n    }\n  }\n  function _resourceIsFullDeleted(identifier, cache) {\n    return cache.isDeletionCommitted(identifier) || cache.isNew(identifier) && cache.isDeleted(identifier);\n  }\n  function resourceIsFullyDeleted(instanceCache, identifier) {\n    const cache = instanceCache.__instances.resourceCache.get(identifier);\n    return !cache || _resourceIsFullDeleted(identifier, cache);\n  }\n\n  /*\n      When a find request is triggered on the store, the user can optionally pass in\n      attributes and relationships to be preloaded. These are meant to behave as if they\n      came back from the server, except the user obtained them out of band and is informing\n      the store of their existence. The most common use case is for supporting client side\n      nested URLs, such as `/posts/1/comments/2` so the user can do\n      `store.findRecord('comment', 2, { preload: { post: 1 } })` without having to fetch the post.\n  \n      Preloaded data can be attributes and relationships passed in either as IDs or as actual\n      models.\n    */\n\n  function preloadData(store, identifier, preload) {\n    let jsonPayload = {};\n    //TODO(Igor) consider the polymorphic case\n    const schemas = store.getSchemaDefinitionService();\n    const relationships = schemas.relationshipsDefinitionFor(identifier);\n    Object.keys(preload).forEach(key => {\n      let preloadValue = preload[key];\n      let relationshipMeta = relationships[key];\n      if (relationshipMeta) {\n        if (!jsonPayload.relationships) {\n          jsonPayload.relationships = {};\n        }\n        jsonPayload.relationships[key] = preloadRelationship(relationshipMeta, preloadValue);\n      } else {\n        if (!jsonPayload.attributes) {\n          jsonPayload.attributes = {};\n        }\n        jsonPayload.attributes[key] = preloadValue;\n      }\n    });\n    const cache = store._instanceCache.getResourceCache(identifier);\n    const hasRecord = Boolean(store._instanceCache.peek({\n      identifier,\n      bucket: 'record'\n    }));\n    cache.upsert(identifier, jsonPayload, hasRecord);\n  }\n  function preloadRelationship(schema, preloadValue) {\n    const relatedType = schema.type;\n    if (schema.kind === 'hasMany') {\n      (false && !(Array.isArray(preloadValue)) && (0, _debug.assert)('You need to pass in an array to set a hasMany property on a record', Array.isArray(preloadValue)));\n      return {\n        data: preloadValue.map(value => _convertPreloadRelationshipToJSON(value, relatedType))\n      };\n    }\n    (false && !(!Array.isArray(preloadValue)) && (0, _debug.assert)('You should not pass in an array to set a belongsTo property on a record', !Array.isArray(preloadValue)));\n    return {\n      data: preloadValue ? _convertPreloadRelationshipToJSON(preloadValue, relatedType) : null\n    };\n  }\n\n  /*\n    findRecord('user', '1', { preload: { friends: ['1'] }});\n    findRecord('user', '1', { preload: { friends: [record] }});\n  */\n  function _convertPreloadRelationshipToJSON(value, type) {\n    if (typeof value === 'string' || typeof value === 'number') {\n      return {\n        type,\n        id: value\n      };\n    }\n    // TODO if not a record instance assert it's an identifier\n    // and allow identifiers to be used\n    return recordIdentifierFor(value);\n  }\n  function _isEmpty(instanceCache, identifier) {\n    const cache = instanceCache.__instances.resourceCache.get(identifier);\n    if (!cache) {\n      return true;\n    }\n    const isNew = cache.isNew(identifier);\n    const isDeleted = cache.isDeleted(identifier);\n    const isEmpty = cache.isEmpty(identifier);\n    return (!isNew || isDeleted) && isEmpty;\n  }\n  function _isLoading(cache, identifier) {\n    const req = cache.store.getRequestStateService();\n    // const fulfilled = req.getLastRequestForRecord(identifier);\n    const isLoaded = cache.recordIsLoaded(identifier);\n    return !isLoaded &&\n    // fulfilled === null &&\n    req.getPendingRequestsForRecord(identifier).some(req => req.type === 'query');\n  }\n  function _clearCaches() {\n    RecordCache.clear();\n    StoreMap.clear();\n    CacheForIdentifierCache.clear();\n  }\n  let _modelForMixin;\n  {\n    let _found;\n    _modelForMixin = function () {\n      if (!_found) {\n        _found = (0, _esCompat.default)(require(\"@ember-data/model/-private\"))._modelForMixin;\n      }\n      return _found(...arguments);\n    };\n  }\n  class DSModelSchemaDefinitionService {\n    constructor(store) {\n      this.store = store;\n      this._relationshipsDefCache = Object.create(null);\n      this._attributesDefCache = Object.create(null);\n    }\n\n    // Following the existing RD implementation\n    attributesDefinitionFor(identifier) {\n      let modelName, attributes;\n      {\n        if (typeof identifier === 'string') {\n          (false && !(false) && (0, _debug.deprecate)(`attributesDefinitionFor expects either a record identifier or an argument of shape { type: string }, received a string.`, false, {\n            id: 'ember-data:deprecate-string-arg-schemas',\n            for: 'ember-data',\n            until: '5.0',\n            since: {\n              enabled: '4.5',\n              available: '4.5'\n            }\n          }));\n          modelName = identifier;\n        } else {\n          modelName = identifier.type;\n        }\n      }\n      attributes = this._attributesDefCache[modelName];\n      if (attributes === undefined) {\n        let modelClass = this.store.modelFor(modelName);\n        let attributeMap = modelClass.attributes;\n        attributes = Object.create(null);\n        attributeMap.forEach((meta, name) => attributes[name] = meta);\n        this._attributesDefCache[modelName] = attributes;\n      }\n      return attributes;\n    }\n\n    // Following the existing RD implementation\n    relationshipsDefinitionFor(identifier) {\n      let modelName, relationships;\n      {\n        if (typeof identifier === 'string') {\n          (false && !(false) && (0, _debug.deprecate)(`relationshipsDefinitionFor expects either a record identifier or an argument of shape { type: string }, received a string.`, false, {\n            id: 'ember-data:deprecate-string-arg-schemas',\n            for: 'ember-data',\n            until: '5.0',\n            since: {\n              enabled: '4.5',\n              available: '4.5'\n            }\n          }));\n          modelName = identifier;\n        } else {\n          modelName = identifier.type;\n        }\n      }\n      relationships = this._relationshipsDefCache[modelName];\n      if (relationships === undefined) {\n        let modelClass = this.store.modelFor(modelName);\n        relationships = modelClass.relationshipsObject || null;\n        this._relationshipsDefCache[modelName] = relationships;\n      }\n      return relationships;\n    }\n    doesTypeExist(modelName) {\n      let normalizedModelName = normalizeModelName$1(modelName);\n      let factory = getModelFactory(this.store, this.store._modelFactoryCache, normalizedModelName);\n      return factory !== null;\n    }\n  }\n  function getModelFactory(store, cache, normalizedModelName) {\n    let factory = cache[normalizedModelName];\n    if (!factory) {\n      let owner = (0, _application.getOwner)(store);\n      factory = owner.factoryFor(`model:${normalizedModelName}`);\n      {\n        if (!factory) {\n          //Support looking up mixins as base types for polymorphic relationships\n          factory = _modelForMixin(store, normalizedModelName);\n        }\n      }\n      if (!factory) {\n        // we don't cache misses in case someone wants to register a missing model\n        return null;\n      }\n      let klass = factory.class;\n      if (klass.isModel) {\n        let hasOwnModelNameSet = klass.modelName && Object.prototype.hasOwnProperty.call(klass, 'modelName');\n        if (!hasOwnModelNameSet) {\n          Object.defineProperty(klass, 'modelName', {\n            value: normalizedModelName\n          });\n        }\n      }\n      cache[normalizedModelName] = factory;\n    }\n    return factory;\n  }\n\n  // if modelFor turns out to be a bottleneck we should replace with a Map\n  // and clear it during store teardown.\n  const AvailableShims = new WeakMap();\n  function getShimClass(store, modelName) {\n    let shims = AvailableShims.get(store);\n    if (!shims) {\n      shims = Object.create(null);\n      AvailableShims.set(store, shims);\n    }\n    let shim = shims[modelName];\n    if (shim === undefined) {\n      shim = shims[modelName] = new ShimModelClass(store, modelName);\n    }\n    return shim;\n  }\n  function mapFromHash(hash) {\n    let map = new Map();\n    for (let i in hash) {\n      if (Object.prototype.hasOwnProperty.call(hash, i)) {\n        map.set(i, hash[i]);\n      }\n    }\n    return map;\n  }\n\n  // Mimics the static apis of DSModel\n  class ShimModelClass {\n    constructor(store, modelName) {\n      this.__store = store;\n      this.modelName = modelName;\n    }\n    get fields() {\n      let attrs = this.__store.getSchemaDefinitionService().attributesDefinitionFor({\n        type: this.modelName\n      });\n      let relationships = this.__store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type: this.modelName\n      });\n      let fields = new Map();\n      Object.keys(attrs).forEach(key => fields.set(key, 'attribute'));\n      Object.keys(relationships).forEach(key => fields.set(key, relationships[key].kind));\n      return fields;\n    }\n    get attributes() {\n      let attrs = this.__store.getSchemaDefinitionService().attributesDefinitionFor({\n        type: this.modelName\n      });\n      return mapFromHash(attrs);\n    }\n    get relationshipsByName() {\n      let relationships = this.__store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type: this.modelName\n      });\n      return mapFromHash(relationships);\n    }\n    eachAttribute(callback, binding) {\n      let attrDefs = this.__store.getSchemaDefinitionService().attributesDefinitionFor({\n        type: this.modelName\n      });\n      Object.keys(attrDefs).forEach(key => {\n        callback.call(binding, key, attrDefs[key]);\n      });\n    }\n    eachRelationship(callback, binding) {\n      let relationshipDefs = this.__store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type: this.modelName\n      });\n      Object.keys(relationshipDefs).forEach(key => {\n        callback.call(binding, key, relationshipDefs[key]);\n      });\n    }\n    eachTransformedAttribute(callback, binding) {\n      const attrDefs = this.__store.getSchemaDefinitionService().attributesDefinitionFor({\n        type: this.modelName\n      });\n      Object.keys(attrDefs).forEach(key => {\n        if (attrDefs[key].type) {\n          callback.call(binding, key, attrDefs[key]?.type ?? null);\n        }\n      });\n    }\n  }\n  let tokenId = 0;\n  const CacheOperations = new Set(['added', 'removed', 'state', 'updated']);\n  function isCacheOperationValue(value) {\n    return CacheOperations.has(value);\n  }\n  function runLoopIsFlushing() {\n    //@ts-expect-error\n    return !!_runloop._backburner.currentInstance && _runloop._backburner._autorun !== true;\n  }\n  function _unsubscribe(tokens, token, cache) {\n    let identifier = tokens.get(token);\n    if (identifier) {\n      tokens.delete(token);\n      const map = cache.get(identifier);\n      map?.delete(token);\n    }\n  }\n\n  /**\n   * The NotificationManager provides the ability to subscribe to\n   * changes to Cache state.\n   *\n   * This Feature is what allows EmberData to create subscriptions that\n   * work with any framework or change-notification system.\n   *\n   * @class NotificationManager\n   * @public\n   */\n  class NotificationManager {\n    constructor(store) {\n      this.store = store;\n      this.isDestroyed = false;\n      this._buffered = new Map();\n      this._hasFlush = false;\n      this._cache = new Map();\n      this._tokens = new Map();\n    }\n\n    /**\n     * Subscribe to changes for a given resource identifier, resource addition/removal, or document addition/removal.\n     *\n     * ```ts\n     * export type CacheOperation = 'added' | 'removed' | 'updated' | 'state';\n     *\n     * export interface NotificationCallback {\n     *   (identifier: StableRecordIdentifier, notificationType: 'attributes' | 'relationships', key?: string): void;\n     *   (identifier: StableRecordIdentifier, notificationType: 'errors' | 'meta' | 'identity' | 'state'): void;\n     *   (identifier: StableRecordIdentifier, notificationType: NotificationType, key?: string): void;\n     * }\n     * export interface ResourceOperationCallback {\n     *   // resource updates\n     *   (identifier: StableRecordIdentifier, notificationType: CacheOperation): void;\n     * }\n     * export interface DocumentOperationCallback {\n     *   // document updates\n     *   (identifier: StableDocumentIdentifier, notificationType: CacheOperation): void;\n     * }\n     * ```\n     *\n     * @method subscribe\n     * @public\n     * @param {StableDocumentIdentifier | StableRecordIdentifier | 'resource' | 'document'} identifier\n     * @param {NotificationCallback | ResourceOperationCallback | DocumentOperationCallback} callback\n     * @returns {UnsubscribeToken} an opaque token to be used with unsubscribe\n     */\n\n    subscribe(identifier, callback) {\n      (false && !(identifier === 'resource' || identifier === 'document' || isStableIdentifier(identifier) || isDocumentIdentifier(identifier)) && (0, _debug.assert)(`Expected to receive a stable Identifier to subscribe to`, identifier === 'resource' || identifier === 'document' || isStableIdentifier(identifier) || isDocumentIdentifier(identifier)));\n      let map = this._cache.get(identifier);\n      if (!map) {\n        map = new Map();\n        this._cache.set(identifier, map);\n      }\n      let unsubToken = {};\n      map.set(unsubToken, callback);\n      this._tokens.set(unsubToken, identifier);\n      return unsubToken;\n    }\n\n    /**\n     * remove a previous subscription\n     *\n     * @method unsubscribe\n     * @public\n     * @param {UnsubscribeToken} token\n     */\n    unsubscribe(token) {\n      if (!this.isDestroyed) {\n        _unsubscribe(this._tokens, token, this._cache);\n      }\n    }\n\n    /**\n     * Custom Caches and Application Code should not call this method directly.\n     *\n     * @method notify\n     * @param identifier\n     * @param value\n     * @param key\n     * @return {Boolean} whether a notification was delivered to any subscribers\n     * @private\n     */\n\n    notify(identifier, value, key) {\n      (false && !(!key || value === 'attributes' || value === 'relationships') && (0, _debug.assert)(`Notify does not accept a key argument for the namespace '${value}'. Received key '${key || ''}'.`, !key || value === 'attributes' || value === 'relationships'));\n      if (!isStableIdentifier(identifier) && !isDocumentIdentifier(identifier)) {\n        return false;\n      }\n      const hasSubscribers = Boolean(this._cache.get(identifier)?.size);\n      if (isCacheOperationValue(value) || hasSubscribers) {\n        let buffer = this._buffered.get(identifier);\n        if (!buffer) {\n          buffer = [];\n          this._buffered.set(identifier, buffer);\n        }\n        buffer.push([value, key]);\n        void this._scheduleNotify();\n      }\n      return hasSubscribers;\n    }\n    _onNextFlush(cb) {\n      this._onFlushCB = cb;\n    }\n    _scheduleNotify() {\n      const asyncFlush = this.store._enableAsyncFlush;\n      if (this._hasFlush) {\n        if (asyncFlush !== false && !runLoopIsFlushing()) {\n          return;\n        }\n      }\n      if (asyncFlush && !runLoopIsFlushing()) {\n        this._hasFlush = true;\n        return;\n      }\n      this._flush();\n    }\n    _flush() {\n      if (this._buffered.size) {\n        this._buffered.forEach((states, identifier) => {\n          states.forEach(args => {\n            // @ts-expect-error\n            this._flushNotification(identifier, args[0], args[1]);\n          });\n        });\n        this._buffered = new Map();\n      }\n      this._hasFlush = false;\n      this._onFlushCB?.();\n      this._onFlushCB = undefined;\n    }\n    _flushNotification(identifier, value, key) {\n      // TODO for documents this will need to switch based on Identifier kind\n      if (isCacheOperationValue(value)) {\n        let callbackMap = this._cache.get(isDocumentIdentifier(identifier) ? 'document' : 'resource');\n        if (callbackMap) {\n          callbackMap.forEach(cb => {\n            cb(identifier, value);\n          });\n        }\n      }\n      let callbackMap = this._cache.get(identifier);\n      if (!callbackMap || !callbackMap.size) {\n        return false;\n      }\n      callbackMap.forEach(cb => {\n        // @ts-expect-error overload doesn't narrow within body\n        cb(identifier, value, key);\n      });\n      return true;\n    }\n    destroy() {\n      this.isDestroyed = true;\n      this._tokens.clear();\n      this._cache.clear();\n    }\n  }\n  const PromiseArrayProxy = _proxy.default.extend(_promiseProxyMixin.default);\n  const PromiseObjectProxy = _proxy2.default.extend(_promiseProxyMixin.default);\n  var _dec, _class$1, _descriptor$1;\n\n  /**\n    @module @ember-data/store\n  */\n\n  /**\n    A `PromiseArray` is an object that acts like both an `Ember.Array`\n    and a promise. When the promise is resolved the resulting value\n    will be set to the `PromiseArray`'s `content` property. This makes\n    it easy to create data bindings with the `PromiseArray` that will be\n    updated when the promise resolves.\n  \n    This class should not be imported and instantiated directly.\n  \n    For more information see the [Ember.PromiseProxyMixin\n    documentation](/ember/release/classes/PromiseProxyMixin).\n  \n    Example\n  \n    ```javascript\n    let promiseArray = PromiseArray.create({\n      promise: $.getJSON('/some/remote/data.json')\n    });\n  \n    promiseArray.length; // 0\n  \n    promiseArray.then(function() {\n      promiseArray.length; // 100\n    });\n    ```\n  \n    @class PromiseArray\n    @public\n    @extends Ember.ArrayProxy\n    @uses Ember.PromiseProxyMixin\n  */\n  let PromiseArray = (_dec = (0, _computed.reads)('content.meta'), _class$1 = class PromiseArray extends PromiseArrayProxy {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"meta\", _descriptor$1, this);\n    }\n  }, _descriptor$1 = _applyDecoratedDescriptor(_class$1.prototype, \"meta\", [_dec], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class$1);\n  function _promiseObject(promise) {\n    return PromiseObjectProxy.create({\n      promise\n    });\n  }\n  function _promiseArray(promise) {\n    return PromiseArray.create({\n      promise\n    });\n  }\n\n  // constructor is accessed in some internals but not including it in the copyright for the deprecation\n  const ALLOWABLE_METHODS = ['constructor', 'then', 'catch', 'finally'];\n  const ALLOWABLE_PROPS = ['__ec_yieldable__', '__ec_cancel__'];\n  const PROXIED_ARRAY_PROPS = ['length', '[]', 'firstObject', 'lastObject', 'meta', 'content', 'isPending', 'isSettled', 'isRejected', 'isFulfilled', 'promise', 'reason'];\n  const PROXIED_OBJECT_PROPS = ['content', 'isPending', 'isSettled', 'isRejected', 'isFulfilled', 'promise', 'reason'];\n  function promiseArray(promise) {\n    const promiseObjectProxy = _promiseArray(promise);\n    {\n      return promiseObjectProxy;\n    }\n    const handler = {\n      get(target, prop, receiver) {\n        if (typeof prop === 'symbol') {\n          return Reflect.get(target, prop, receiver);\n        }\n        if (ALLOWABLE_PROPS.includes(prop)) {\n          return target[prop];\n        }\n        if (!ALLOWABLE_METHODS.includes(prop)) {\n          (false && !(false) && (0, _debug.deprecate)(`Accessing ${prop} on this PromiseArray is deprecated. The return type is being changed from PromiseArray to a Promise. The only available methods to access on this promise are .then, .catch and .finally`, false, {\n            id: 'ember-data:deprecate-promise-proxies',\n            until: '5.0',\n            for: '@ember-data/store',\n            since: {\n              available: '4.7',\n              enabled: '4.7'\n            }\n          }));\n        }\n        const value = target[prop];\n        if (value && typeof value === 'function' && typeof value.bind === 'function') {\n          return value.bind(target);\n        }\n        if (PROXIED_ARRAY_PROPS.includes(prop)) {\n          return value;\n        }\n        return undefined;\n      }\n    };\n    return new Proxy(promiseObjectProxy, handler);\n  }\n  const ProxySymbolString = String(Symbol.for('PROXY_CONTENT'));\n  function promiseObject(promise) {\n    const promiseObjectProxy = _promiseObject(promise);\n    {\n      return promiseObjectProxy;\n    }\n    const handler = {\n      get(target, prop, receiver) {\n        if (typeof prop === 'symbol') {\n          if (String(prop) === ProxySymbolString) {\n            return;\n          }\n          return Reflect.get(target, prop, receiver);\n        }\n        if (prop === 'constructor') {\n          return target.constructor;\n        }\n        if (ALLOWABLE_PROPS.includes(prop)) {\n          return target[prop];\n        }\n        if (!ALLOWABLE_METHODS.includes(prop)) {\n          (false && !(false) && (0, _debug.deprecate)(`Accessing ${prop} on this PromiseObject is deprecated. The return type is being changed from PromiseObject to a Promise. The only available methods to access on this promise are .then, .catch and .finally`, false, {\n            id: 'ember-data:deprecate-promise-proxies',\n            until: '5.0',\n            for: '@ember-data/store',\n            since: {\n              available: '4.7',\n              enabled: '4.7'\n            }\n          }));\n        } else {\n          return target[prop].bind(target);\n        }\n        if (PROXIED_OBJECT_PROPS.includes(prop)) {\n          return target[prop];\n        }\n        const value = (0, _object.get)(target, prop);\n        if (value && typeof value === 'function' && typeof value.bind === 'function') {\n          return value.bind(receiver);\n        }\n        return undefined;\n      }\n    };\n    return new Proxy(promiseObjectProxy, handler);\n  }\n  var _class, _descriptor, _class3, _descriptor2;\n  const ARRAY_GETTER_METHODS = new Set([Symbol.iterator, 'concat', 'entries', 'every', 'fill', 'filter', 'find', 'findIndex', 'flat', 'flatMap', 'forEach', 'includes', 'indexOf', 'join', 'keys', 'lastIndexOf', 'map', 'reduce', 'reduceRight', 'slice', 'some', 'values']);\n  const ARRAY_SETTER_METHODS = new Set(['push', 'pop', 'unshift', 'shift', 'splice', 'sort']);\n  const SYNC_PROPS = new Set(['[]', 'length', 'links', 'meta']);\n  function isArrayGetter(prop) {\n    return ARRAY_GETTER_METHODS.has(prop);\n  }\n  function isArraySetter(prop) {\n    return ARRAY_SETTER_METHODS.has(prop);\n  }\n  const IDENTIFIER_ARRAY_TAG = _exports.l = Symbol('#tag');\n  const SOURCE = _exports.k = Symbol('#source');\n  const MUTATE = _exports.M = Symbol('#update');\n  const NOTIFY = Symbol('#notify');\n  const IS_COLLECTION = Symbol.for('Collection');\n  function notifyArray(arr) {\n    (0, _private.addToTransaction)(arr[IDENTIFIER_ARRAY_TAG]);\n    {\n      // eslint-disable-next-line\n      (0, _validator.dirtyTag)((0, _metal.tagForProperty)(arr, 'length'));\n      // eslint-disable-next-line\n      (0, _validator.dirtyTag)((0, _metal.tagForProperty)(arr, '[]'));\n    }\n  }\n  function convertToInt(prop) {\n    if (typeof prop === 'symbol') return null;\n    const num = Number(prop);\n    if (isNaN(num)) return null;\n    return num % 1 === 0 ? num : null;\n  }\n  let Tag = (_class = class Tag {\n    /*\n     * whether this was part of a transaction when last mutated\n     */\n\n    constructor() {\n      _initializerDefineProperty(this, \"ref\", _descriptor, this);\n      this.shouldReset = false;\n      this.t = false;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"ref\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return null;\n    }\n  }), _class);\n  function deprecateArrayLike(className, fnName, replName) {\n    (false && !(false) && (0, _debug.deprecate)(`The \\`${fnName}\\` method on the class ${className} is deprecated. Use the native array method \\`${replName}\\` instead.`, false, {\n      id: 'ember-data:deprecate-array-like',\n      until: '5.0',\n      since: {\n        enabled: '4.7',\n        available: '4.7'\n      },\n      for: 'ember-data'\n    }));\n  }\n  function safeForEach(instance, arr, store, callback, target) {\n    if (target === undefined) {\n      target = null;\n    }\n    // clone to prevent mutation\n    arr = arr.slice();\n    (false && !(typeof callback === 'function') && (0, _debug.assert)('`forEach` expects a function as first argument.', typeof callback === 'function')); // because we retrieveLatest above we need not worry if array is mutated during iteration\n    // by unloadRecord/rollbackAttributes\n    // push/add/removeObject may still be problematic\n    // but this is a more traditionally expected forEach bug.\n    const length = arr.length; // we need to access length to ensure we are consumed\n\n    for (let index = 0; index < length; index++) {\n      callback.call(target, store._instanceCache.getRecord(arr[index]), index, instance);\n    }\n    return instance;\n  }\n\n  /**\n    A record array is an array that contains records of a certain type (or modelName).\n    The record array materializes records as needed when they are retrieved for the first\n    time. You should not create record arrays yourself. Instead, an instance of\n    `RecordArray` or its subclasses will be returned by your application's store\n    in response to queries.\n  \n    This class should not be imported and instantiated by consuming applications.\n  \n    @class RecordArray\n    @public\n  */\n  let IdentifierArray = _exports.I = (_class3 = class IdentifierArray {\n    /**\n      The flag to signal a `RecordArray` is currently loading data.\n      Example\n      ```javascript\n      let people = store.peekAll('person');\n      people.isUpdating; // false\n      people.update();\n      people.isUpdating; // true\n      ```\n      @property isUpdating\n      @public\n      @type Boolean\n    */\n\n    [NOTIFY]() {\n      notifyArray(this);\n    }\n\n    /**\n     The modelClass represented by this record array.\n      @property type\n      @public\n      @deprecated\n     @type {subclass of Model}\n     */\n\n    /**\n      The store that created this record array.\n       @property store\n      @private\n      @type Store\n      */\n\n    destroy(clear) {\n      this.isDestroying = !clear;\n      // changing the reference breaks the Proxy\n      // this[SOURCE] = [];\n      this[SOURCE].length = 0;\n      this[NOTIFY]();\n      this.isDestroyed = !clear;\n    }\n\n    // length must be on self for proxied methods to work properly\n    get length() {\n      return this[SOURCE].length;\n    }\n    set length(value) {\n      this[SOURCE].length = value;\n    }\n\n    // here to support computed chains\n    // and {{#each}}\n    get '[]'() {\n      {\n        return this;\n      }\n    }\n    constructor(options) {\n      _initializerDefineProperty(this, \"isUpdating\", _descriptor2, this);\n      this.isLoaded = true;\n      this.isDestroying = false;\n      this.isDestroyed = false;\n      this._updatingPromise = null;\n      this[IS_COLLECTION] = true;\n      this[SOURCE] = void 0;\n      // eslint-disable-next-line @typescript-eslint/no-this-alias\n      const self = this;\n      this.modelName = options.type;\n      this.store = options.store;\n      this._manager = options.manager;\n      this[SOURCE] = options.identifiers;\n      // @ts-expect-error\n      this[IDENTIFIER_ARRAY_TAG] = new Tag();\n      const store = options.store;\n      const boundFns = new Map();\n      const _TAG = this[IDENTIFIER_ARRAY_TAG];\n      const PrivateState = {\n        links: options.links || null,\n        meta: options.meta || null\n      };\n      let transaction = false;\n\n      // when a mutation occurs\n      // we track all mutations within the call\n      // and forward them as one\n\n      const proxy = new Proxy(this[SOURCE], {\n        get(target, prop, receiver) {\n          let index = convertToInt(prop);\n          if (_TAG.shouldReset && (index !== null || SYNC_PROPS.has(prop) || isArrayGetter(prop))) {\n            options.manager._syncArray(receiver);\n            _TAG.t = false;\n            _TAG.shouldReset = false;\n          }\n          if (index !== null) {\n            const identifier = target[index];\n            if (!transaction) {\n              (0, _private.subscribe)(_TAG);\n            }\n            return identifier && store._instanceCache.getRecord(identifier);\n          }\n          if (prop === 'meta') return (0, _private.subscribe)(_TAG), PrivateState.meta;\n          if (prop === 'links') return (0, _private.subscribe)(_TAG), PrivateState.links;\n          if (prop === '[]') return (0, _private.subscribe)(_TAG), receiver;\n          if (isArrayGetter(prop)) {\n            let fn = boundFns.get(prop);\n            if (fn === undefined) {\n              if (prop === 'forEach') {\n                fn = function () {\n                  (0, _private.subscribe)(_TAG);\n                  transaction = true;\n                  const result = safeForEach(receiver, target, store, arguments[0], arguments[1]);\n                  transaction = false;\n                  return result;\n                };\n              } else {\n                fn = function () {\n                  (0, _private.subscribe)(_TAG);\n                  // array functions must run through Reflect to work properly\n                  // binding via other means will not work.\n                  transaction = true;\n                  const result = Reflect.apply(target[prop], receiver, arguments);\n                  transaction = false;\n                  return result;\n                };\n              }\n              boundFns.set(prop, fn);\n            }\n            return fn;\n          }\n          if (isArraySetter(prop)) {\n            let fn = boundFns.get(prop);\n            if (fn === undefined) {\n              fn = function () {\n                // array functions must run through Reflect to work properly\n                // binding via other means will not work.\n                if (!options.allowMutation) {\n                  (false && !(options.allowMutation) && (0, _debug.assert)(`Mutating this array of records via ${String(prop)} is not allowed.`, options.allowMutation));\n                  return;\n                }\n                const args = Array.prototype.slice.call(arguments);\n                (false && !(!transaction) && (0, _debug.assert)(`Cannot start a new array transaction while a previous transaction is underway`, !transaction));\n                transaction = true;\n                const result = self[MUTATE](target, receiver, prop, args, _TAG);\n                transaction = false;\n                return result;\n              };\n              boundFns.set(prop, fn);\n            }\n            return fn;\n          }\n          if (prop in self) {\n            {\n              if (prop === 'firstObject') {\n                deprecateArrayLike(self.DEPRECATED_CLASS_NAME, prop, '[0]');\n                return receiver[0];\n              } else if (prop === 'lastObject') {\n                deprecateArrayLike(self.DEPRECATED_CLASS_NAME, prop, 'at(-1)');\n                return receiver[receiver.length - 1];\n              }\n            }\n            if (prop === NOTIFY || prop === IDENTIFIER_ARRAY_TAG || prop === SOURCE) {\n              return self[prop];\n            }\n            let fn = boundFns.get(prop);\n            if (fn) return fn;\n            let outcome = self[prop];\n            if (typeof outcome === 'function') {\n              fn = function () {\n                (0, _private.subscribe)(_TAG);\n                // array functions must run through Reflect to work properly\n                // binding via other means will not work.\n                return Reflect.apply(outcome, receiver, arguments);\n              };\n              boundFns.set(prop, fn);\n              return fn;\n            }\n            return (0, _private.subscribe)(_TAG), outcome;\n          }\n          return target[prop];\n        },\n        set(target, prop, value, receiver) {\n          if (prop === 'length') {\n            if (!transaction && value === 0) {\n              transaction = true;\n              self[MUTATE](target, receiver, 'length 0', [], _TAG);\n              transaction = false;\n              return true;\n            } else if (transaction) {\n              return Reflect.set(target, prop, value);\n            } else {\n              (false && !(false) && (0, _debug.assert)(`unexpected length set`));\n            }\n          }\n          if (prop === 'links') {\n            PrivateState.links = value || null;\n            return true;\n          }\n          if (prop === 'meta') {\n            PrivateState.meta = value || null;\n            return true;\n          }\n          let index = convertToInt(prop);\n\n          // we do not allow \"holey\" arrays and so if the index is\n          // greater than length then we will disallow setting it.\n          // however, there is a special case for \"unshift\" with more than\n          // one item being inserted since current items will be moved to the\n          // new indices first.\n          // we \"loosely\" detect this by just checking whether we are in\n          // a transaction.\n          if (index === null || index > target.length) {\n            if (index !== null && transaction) {\n              const identifier = recordIdentifierFor(value);\n              (false && !(isStableIdentifier(identifier)) && (0, _debug.assert)(`Cannot set index ${index} past the end of the array.`, isStableIdentifier(identifier)));\n              target[index] = identifier;\n              return true;\n            } else if (prop in self) {\n              self[prop] = value;\n              return true;\n            }\n            return false;\n          }\n          if (!options.allowMutation) {\n            (false && !(options.allowMutation) && (0, _debug.assert)(`Mutating ${String(prop)} on this RecordArray is not allowed.`, options.allowMutation));\n            return false;\n          }\n          let original = target[index];\n          let newIdentifier = extractIdentifierFromRecord$1(value);\n          (false && !(isStableIdentifier(newIdentifier)) && (0, _debug.assert)(`Expected a record`, isStableIdentifier(newIdentifier))); // We generate \"transactions\" whenever a setter method on the array\n          // is called and might bulk update multiple array cells. Fundamentally,\n          // all array operations decompose into individual cell replacements.\n          // e.g. a push is really a \"replace cell at next index with new value\"\n          // or a splice is \"shift all values left/right by X and set out of new\n          // bounds cells to undefined\"\n          //\n          // so, if we are in a transaction, then this is not a user generated change\n          // but one generated by a setter method. In this case we want to only apply\n          // the change to the target array and not call the MUTATE method.\n          // If there is no transaction though, then this means the user themselves has\n          // directly changed the value of a specific index and we need to thus generate\n          // a mutation for that change.\n          // e.g. \"arr.push(newVal)\" is handled by a \"addToRelatedRecords\" mutation within\n          // a transaction.\n          // while \"arr[arr.length] = newVal;\" is handled by this replace cell code path.\n          if (!transaction) {\n            self[MUTATE](target, receiver, 'replace cell', [index, original, newIdentifier], _TAG);\n          } else {\n            target[index] = newIdentifier;\n          }\n          return true;\n        },\n        deleteProperty(target, prop) {\n          (false && !(transaction) && (0, _debug.assert)(`Deleting keys on managed arrays is disallowed`, transaction));\n          if (!transaction) {\n            return false;\n          }\n          return Reflect.deleteProperty(target, prop);\n        },\n        getPrototypeOf() {\n          return IdentifierArray.prototype;\n        }\n      });\n      {\n        const meta = _ember.default.meta(this);\n        meta.hasMixin = mixin => {\n          (false && !(false) && (0, _debug.deprecate)(`Do not call A() on EmberData RecordArrays`, false, {\n            id: 'ember-data:no-a-with-array-like',\n            until: '5.0',\n            since: {\n              enabled: '4.7',\n              available: '4.7'\n            },\n            for: 'ember-data'\n          })); // @ts-expect-error ArrayMixin is more than a type\n          if (mixin === NativeArray || mixin === ArrayMixin) {\n            return true;\n          }\n          return false;\n        };\n      }\n      this[NOTIFY] = this[NOTIFY].bind(proxy);\n      return proxy;\n    }\n\n    /**\n      Used to get the latest version of all of the records in this array\n      from the adapter.\n       Example\n       ```javascript\n      let people = store.peekAll('person');\n      people.isUpdating; // false\n       people.update().then(function() {\n        people.isUpdating; // false\n      });\n       people.isUpdating; // true\n      ```\n       @method update\n      @public\n    */\n    update() {\n      if (this.isUpdating) {\n        return this._updatingPromise;\n      }\n      this.isUpdating = true;\n      let updatingPromise = this._update();\n      updatingPromise.finally(() => {\n        this._updatingPromise = null;\n        if (this.isDestroying || this.isDestroyed) {\n          return;\n        }\n        this.isUpdating = false;\n      });\n      this._updatingPromise = updatingPromise;\n      return updatingPromise;\n    }\n\n    /*\n      Update this RecordArray and return a promise which resolves once the update\n      is finished.\n     */\n    _update() {\n      (false && !(this.modelName) && (0, _debug.assert)(`_update cannot be used with this array`, this.modelName));\n      return this.store.findAll(this.modelName, {\n        reload: true\n      });\n    }\n\n    // TODO deprecate\n    /**\n      Saves all of the records in the `RecordArray`.\n       Example\n       ```javascript\n      let messages = store.peekAll('message');\n      messages.forEach(function(message) {\n        message.hasBeenSeen = true;\n      });\n      messages.save();\n      ```\n       @method save\n      @public\n      @return {PromiseArray} promise\n    */\n    save() {\n      let promise = Promise.all(this.map(record => this.store.saveRecord(record))).then(() => this);\n      {\n        return promiseArray(promise);\n      }\n      return promise;\n    }\n  }, _descriptor2 = _applyDecoratedDescriptor(_class3.prototype, \"isUpdating\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return false;\n    }\n  }), _applyDecoratedDescriptor(_class3.prototype, \"length\", [_compat.dependentKeyCompat], Object.getOwnPropertyDescriptor(_class3.prototype, \"length\"), _class3.prototype), _class3);\n  {\n    Object.defineProperty(IdentifierArray.prototype, 'type', {\n      get() {\n        (false && !(false) && (0, _debug.deprecate)(`Using RecordArray.type to access the ModelClass for a record is deprecated. Use store.modelFor(<modelName>) instead.`, false, {\n          id: 'ember-data:deprecate-snapshot-model-class-access',\n          until: '5.0',\n          for: 'ember-data',\n          since: {\n            available: '4.5.0',\n            enabled: '4.5.0'\n          }\n        })); // eslint-disable-next-line @typescript-eslint/no-unsafe-member-access\n        if (!this.modelName) {\n          return null;\n        }\n        // eslint-disable-next-line @typescript-eslint/no-unsafe-return, @typescript-eslint/no-unsafe-member-access, @typescript-eslint/no-unsafe-call\n        return this.store.modelFor(this.modelName);\n      }\n    });\n  }\n  class Collection extends IdentifierArray {\n    constructor(options) {\n      super(options);\n      this.query = null;\n      this.query = options.query || null;\n      this.isLoaded = options.isLoaded || false;\n    }\n    _update() {\n      const {\n        store,\n        query\n      } = this;\n\n      // TODO save options from initial request?\n      (false && !(this.modelName) && (0, _debug.assert)(`update cannot be used with this array`, this.modelName));\n      (false && !(query) && (0, _debug.assert)(`update cannot be used with no query`, query));\n      const promise = store.query(this.modelName, query, {\n        _recordArray: this\n      });\n      {\n        return promiseArray(promise);\n      }\n      return promise;\n    }\n    destroy(clear) {\n      super.destroy(clear);\n      this._manager._managed.delete(this);\n      this._manager._pending.delete(this);\n    }\n  }\n  // trick the proxy \"in\" check\n  _exports.h = Collection;\n  Collection.prototype.query = null;\n\n  // Ensure instanceof works correctly\n  //Object.setPrototypeOf(IdentifierArray.prototype, Array.prototype);\n\n  {\n    IdentifierArray.prototype.DEPRECATED_CLASS_NAME = 'RecordArray';\n    Collection.prototype.DEPRECATED_CLASS_NAME = 'RecordArray';\n    const EmberObjectMethods = ['addObserver', 'cacheFor', 'decrementProperty', 'get', 'getProperties', 'incrementProperty', 'notifyPropertyChange', 'removeObserver', 'set', 'setProperties', 'toggleProperty'];\n    EmberObjectMethods.forEach(method => {\n      IdentifierArray.prototype[method] = function delegatedMethod(...args) {\n        (false && !(false) && (0, _debug.deprecate)(`The EmberObject ${method} method on the class ${this.DEPRECATED_CLASS_NAME} is deprecated. Use dot-notation javascript get/set access instead.`, false, {\n          id: 'ember-data:deprecate-array-like',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          },\n          for: 'ember-data'\n        }));\n        return _ember.default[method](this, ...args);\n      };\n    });\n    IdentifierArray.prototype.addObject = function (obj) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'addObject', 'push');\n      let index = this.indexOf(obj);\n      if (index === -1) {\n        this.push(obj);\n      }\n      return this;\n    };\n    IdentifierArray.prototype.addObjects = function (objs) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'addObjects', 'push');\n      objs.forEach(obj => {\n        let index = this.indexOf(obj);\n        if (index === -1) {\n          this.push(obj);\n        }\n      });\n      return this;\n    };\n    IdentifierArray.prototype.popObject = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'popObject', 'pop');\n      return this.pop();\n    };\n    IdentifierArray.prototype.pushObject = function (obj) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'pushObject', 'push');\n      this.push(obj);\n      return obj;\n    };\n    IdentifierArray.prototype.pushObjects = function (objs) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'pushObjects', 'push');\n      this.push(...objs);\n      return this;\n    };\n    IdentifierArray.prototype.shiftObject = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'shiftObject', 'shift');\n      return this.shift();\n    };\n    IdentifierArray.prototype.unshiftObject = function (obj) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'unshiftObject', 'unshift');\n      this.unshift(obj);\n      return obj;\n    };\n    IdentifierArray.prototype.unshiftObjects = function (objs) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'unshiftObjects', 'unshift');\n      this.unshift(...objs);\n      return this;\n    };\n    IdentifierArray.prototype.objectAt = function (index) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'objectAt', 'at');\n      //For negative index values go back from the end of the array\n      let arrIndex = Math.sign(index) === -1 ? this.length + index : index;\n      return this[arrIndex];\n    };\n    IdentifierArray.prototype.objectsAt = function (indices) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'objectsAt', 'at');\n      return indices.map(index => this.objectAt(index));\n    };\n    IdentifierArray.prototype.removeAt = function (index) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'removeAt', 'splice');\n      this.splice(index, 1);\n      return this;\n    };\n    IdentifierArray.prototype.insertAt = function (index, obj) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'insertAt', 'splice');\n      this.splice(index, 0, obj);\n      return this;\n    };\n    IdentifierArray.prototype.removeObject = function (obj) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'removeObject', 'splice');\n      const index = this.indexOf(obj);\n      if (index !== -1) {\n        this.splice(index, 1);\n      }\n      return this;\n    };\n    IdentifierArray.prototype.removeObjects = function (objs) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'removeObjects', 'splice');\n      objs.forEach(obj => {\n        const index = this.indexOf(obj);\n        if (index !== -1) {\n          this.splice(index, 1);\n        }\n      });\n      return this;\n    };\n    IdentifierArray.prototype.toArray = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'toArray', 'slice');\n      return this.slice();\n    };\n    IdentifierArray.prototype.replace = function (idx, amt, objects) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'replace', 'splice');\n      if (objects) {\n        this.splice(idx, amt, ...objects);\n      } else {\n        this.splice(idx, amt);\n      }\n    };\n    IdentifierArray.prototype.clear = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'clear', 'length = 0');\n      this.splice(0, this.length);\n      return this;\n    };\n    IdentifierArray.prototype.setObjects = function (objects) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'setObjects', '`arr.length = 0; arr.push(objects);`');\n      (false && !(Array.isArray(objects)) && (0, _debug.assert)(`${this.DEPRECATED_CLASS_NAME}.setObjects expects to receive an array as its argument`, Array.isArray(objects)));\n      this.splice(0, this.length);\n      this.push(...objects);\n      return this;\n    };\n    IdentifierArray.prototype.reverseObjects = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'reverseObjects', 'reverse');\n      this.reverse();\n      return this;\n    };\n    IdentifierArray.prototype.compact = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'compact', 'filter');\n      return this.filter(v => v !== null && v !== undefined);\n    };\n    IdentifierArray.prototype.any = function (callback, target) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'any', 'some');\n      return this.some(callback, target);\n    };\n    IdentifierArray.prototype.isAny = function (prop, value) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'isAny', 'some');\n      let hasValue = arguments.length === 2;\n      return this.some(v => hasValue ? v[prop] === value : v[prop] === true);\n    };\n    IdentifierArray.prototype.isEvery = function (prop, value) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'isEvery', 'every');\n      let hasValue = arguments.length === 2;\n      return this.every(v => hasValue ? v[prop] === value : v[prop] === true);\n    };\n    IdentifierArray.prototype.getEach = function (key) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'getEach', 'map');\n      return this.map(value => (0, _object.get)(value, key));\n    };\n    IdentifierArray.prototype.mapBy = function (key) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'mapBy', 'map');\n      return this.map(value => (0, _object.get)(value, key));\n    };\n    IdentifierArray.prototype.findBy = function (key, value) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'findBy', 'find');\n      if (arguments.length === 2) {\n        return this.find(val => {\n          return (0, _object.get)(val, key) === value;\n        });\n      } else {\n        return this.find(val => Boolean((0, _object.get)(val, key)));\n      }\n    };\n    IdentifierArray.prototype.filterBy = function (key, value) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'filterBy', 'filter');\n      if (arguments.length === 2) {\n        return this.filter(record => {\n          return (0, _object.get)(record, key) === value;\n        });\n      }\n      return this.filter(record => {\n        return Boolean((0, _object.get)(record, key));\n      });\n    };\n    IdentifierArray.prototype.sortBy = function (...sortKeys) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'sortBy', '.slice().sort');\n      return this.slice().sort((a, b) => {\n        for (let i = 0; i < sortKeys.length; i++) {\n          let key = sortKeys[i];\n          let propA = (0, _object.get)(a, key);\n          let propB = (0, _object.get)(b, key);\n          // return 1 or -1 else continue to the next sortKey\n          let compareValue = (0, _utils.compare)(propA, propB);\n          if (compareValue) {\n            return compareValue;\n          }\n        }\n        return 0;\n      });\n    };\n\n    // @ts-expect-error\n    IdentifierArray.prototype.invoke = function (key, ...args) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'invoke', 'forEach');\n      return this.map(value => value[key](...args));\n    };\n\n    // @ts-expect-error\n    IdentifierArray.prototype.addArrayObserver = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'addArrayObserver', 'derived state or reacting at the change source');\n    };\n\n    // @ts-expect-error\n    IdentifierArray.prototype.removeArrayObserver = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'removeArrayObserver', 'derived state or reacting at the change source');\n    };\n\n    // @ts-expect-error\n    IdentifierArray.prototype.arrayContentWillChange = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'arrayContentWillChange', 'derived state or reacting at the change source');\n    };\n\n    // @ts-expect-error\n    IdentifierArray.prototype.arrayContentDidChange = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'arrayContentDidChange', 'derived state or reacting at the change source.');\n    };\n    IdentifierArray.prototype.reject = function (callback, target) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'reject', 'filter');\n      (false && !(typeof callback === 'function') && (0, _debug.assert)('`reject` expects a function as first argument.', typeof callback === 'function'));\n      return this.filter((...args) => {\n        return !callback.apply(target, args);\n      });\n    };\n    IdentifierArray.prototype.rejectBy = function (key, value) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'rejectBy', 'filter');\n      if (arguments.length === 2) {\n        return this.filter(record => {\n          return (0, _object.get)(record, key) !== value;\n        });\n      }\n      return this.filter(record => {\n        return !(0, _object.get)(record, key);\n      });\n    };\n    IdentifierArray.prototype.setEach = function (key, value) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'setEach', 'forEach');\n      this.forEach(item => (0, _object.set)(item, key, value));\n    };\n    IdentifierArray.prototype.uniq = function () {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'uniq', 'filter');\n      // all current managed arrays are already enforced as unique\n      return this.slice();\n    };\n\n    // @ts-expect-error\n    IdentifierArray.prototype.uniqBy = function (key) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'uniqBy', 'filter');\n      // all current managed arrays are already enforced as unique\n      let seen = new Set();\n      let result = [];\n      this.forEach(item => {\n        let value = (0, _object.get)(item, key);\n        if (seen.has(value)) {\n          return;\n        }\n        seen.add(value);\n        result.push(item);\n      });\n      return result;\n    };\n    IdentifierArray.prototype.without = function (value) {\n      deprecateArrayLike(this.DEPRECATED_CLASS_NAME, 'without', 'slice');\n      const newArr = this.slice();\n      const index = this.indexOf(value);\n      if (index !== -1) {\n        newArr.splice(index, 1);\n      }\n      return newArr;\n    };\n\n    // @ts-expect-error\n    IdentifierArray.prototype.firstObject = null;\n    // @ts-expect-error\n    IdentifierArray.prototype.lastObject = null;\n  }\n  function assertRecordPassedToHasMany(record) {\n    (false && !(function () {\n      try {\n        recordIdentifierFor(record);\n        return true;\n      } catch {\n        return false;\n      }\n    }()) && (0, _debug.assert)(`All elements of a hasMany relationship must be instances of Model, you passed $${typeof record}`, function () {\n      try {\n        recordIdentifierFor(record);\n        return true;\n      } catch {\n        return false;\n      }\n    }()));\n  }\n  function extractIdentifierFromRecord$1(recordOrPromiseRecord) {\n    if (!recordOrPromiseRecord) {\n      return null;\n    }\n    if (isPromiseRecord$1(recordOrPromiseRecord)) {\n      let content = recordOrPromiseRecord.content;\n      (false && !(content !== undefined && content !== null) && (0, _debug.assert)('You passed in a promise that did not originate from an EmberData relationship. You can only pass promises that come from a belongsTo relationship.', content !== undefined && content !== null));\n      assertRecordPassedToHasMany(content);\n      return recordIdentifierFor(content);\n    }\n    assertRecordPassedToHasMany(recordOrPromiseRecord);\n    return recordIdentifierFor(recordOrPromiseRecord);\n  }\n  function isPromiseRecord$1(record) {\n    return !!record.then;\n  }\n\n  /**\n    @module @ember-data/store\n  */\n  const FAKE_ARR = {};\n  const SLICE_BATCH_SIZE = 1200;\n  /**\n   * This is a clever optimization.\n   *\n   * clever optimizations rarely stand the test of time, so if you're\n   * ever curious or think something better is possible please benchmark\n   * and discuss. The benchmark for this at the time of writing is in\n   * `scripts/benchmark-push.js`\n   *\n   * This approach turns out to be 150x faster in Chrome and node than\n   * simply using push or concat. It's highly susceptible to the specifics\n   * of the batch size, and may require tuning.\n   *\n   * Clever optimizations should always come with a `why`. This optimization\n   * exists for two reasons.\n   *\n   * 1) array.push(...objects) and Array.prototype.push.apply(arr, objects)\n   *   are susceptible to stack overflows. The size of objects at which this\n   *   occurs varies by environment, browser, and current stack depth and memory\n   *   pressure; however, it occurs in all browsers in fairly pristine conditions\n   *   somewhere around 125k to 200k elements. Since EmberData regularly encounters\n   *   arrays larger than this in size, we cannot use push.\n   *\n   * 2) `array.concat` or simply setting the array to a new reference is often an\n   *   easier approach; however, native Proxy to an array cannot swap it's target array\n   *   and attempts at juggling multiple array sources have proven to be victim to a number\n   *   of browser implementation bugs. Should these bugs be addressed then we could\n   *   simplify to using `concat`, however, do note this is currently 150x faster\n   *   than concat, and due to the overloaded signature of concat will likely always\n   *   be faster.\n   *\n   * Sincerely,\n   *   - runspired (Chris Thoburn) 08/21/2022\n   *\n   * @function fastPush\n   * @internal\n   * @param target the array to push into\n   * @param source the items to push into target\n   */\n  function fastPush(target, source) {\n    let startLength = 0;\n    let newLength = source.length;\n    while (newLength - startLength > SLICE_BATCH_SIZE) {\n      // eslint-disable-next-line prefer-spread\n      target.push.apply(target, source.slice(startLength, startLength + SLICE_BATCH_SIZE));\n      startLength += SLICE_BATCH_SIZE;\n    }\n    // eslint-disable-next-line prefer-spread\n    target.push.apply(target, source.slice(startLength));\n  }\n  /**\n    @class RecordArrayManager\n    @internal\n  */\n  class RecordArrayManager {\n    constructor(options) {\n      this.store = options.store;\n      this.isDestroying = false;\n      this.isDestroyed = false;\n      this._live = new Map();\n      this._managed = new Set();\n      this._pending = new Map();\n      this._staged = new Map();\n      this._keyedArrays = new Map();\n      this._identifiers = new Map();\n      this._set = new Map();\n      this._visibilitySet = new Map();\n      this._subscription = this.store.notifications.subscribe('resource', (identifier, type) => {\n        if (type === 'added') {\n          this._visibilitySet.set(identifier, true);\n          this.identifierAdded(identifier);\n        } else if (type === 'removed') {\n          this._visibilitySet.set(identifier, false);\n          this.identifierRemoved(identifier);\n        } else if (type === 'state') {\n          this.identifierChanged(identifier);\n        }\n      });\n    }\n    _syncArray(array) {\n      const pending = this._pending.get(array);\n      if (!pending || this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      sync(array, pending, this._set.get(array));\n      this._pending.delete(array);\n    }\n\n    /**\n      Get the `RecordArray` for a modelName, which contains all loaded records of\n      given modelName.\n       @method liveArrayFor\n      @internal\n      @param {String} modelName\n      @return {RecordArray}\n    */\n    liveArrayFor(type) {\n      let array = this._live.get(type);\n      let identifiers = [];\n      let staged = this._staged.get(type);\n      if (staged) {\n        staged.forEach((value, key) => {\n          if (value === 'add') {\n            identifiers.push(key);\n          }\n        });\n        this._staged.delete(type);\n      }\n      if (!array) {\n        array = new IdentifierArray({\n          type,\n          identifiers,\n          store: this.store,\n          allowMutation: false,\n          manager: this\n        });\n        this._live.set(type, array);\n        this._set.set(array, new Set(identifiers));\n      }\n      return array;\n    }\n    createArray(config) {\n      let options = {\n        type: config.type,\n        links: config.doc?.links || null,\n        meta: config.doc?.meta || null,\n        query: config.query || null,\n        identifiers: config.identifiers || [],\n        isLoaded: !!config.identifiers?.length,\n        allowMutation: false,\n        store: this.store,\n        manager: this\n      };\n      let array = new Collection(options);\n      this._managed.add(array);\n      this._set.set(array, new Set(options.identifiers || []));\n      if (config.identifiers) {\n        associate(this._identifiers, array, config.identifiers);\n      }\n      return array;\n    }\n    dirtyArray(array, delta) {\n      if (array === FAKE_ARR) {\n        return;\n      }\n      let tag = array[IDENTIFIER_ARRAY_TAG];\n      if (!tag.shouldReset) {\n        tag.shouldReset = true;\n        (0, _private.addTransactionCB)(array[NOTIFY]);\n      } else if (delta > 0 && !tag.t) {\n        (0, _private.addTransactionCB)(array[NOTIFY]);\n      }\n    }\n    _getPendingFor(identifier, includeManaged, isRemove) {\n      if (this.isDestroying || this.isDestroyed) {\n        return;\n      }\n      let liveArray = this._live.get(identifier.type);\n      const allPending = this._pending;\n      let pending = new Map();\n      if (includeManaged) {\n        let managed = this._identifiers.get(identifier);\n        if (managed) {\n          managed.forEach(arr => {\n            let changes = allPending.get(arr);\n            if (!changes) {\n              changes = new Map();\n              allPending.set(arr, changes);\n            }\n            pending.set(arr, changes);\n          });\n        }\n      }\n\n      // during unloadAll we can ignore removes since we've already\n      // cleared the array.\n      if (liveArray && liveArray[SOURCE].length === 0 && isRemove) {\n        const pendingLive = allPending.get(liveArray);\n        if (!pendingLive || pendingLive.size === 0) {\n          return pending;\n        }\n      }\n      if (!liveArray) {\n        // start building a changeset for when we eventually\n        // do have a live array\n        let changes = this._staged.get(identifier.type);\n        if (!changes) {\n          changes = new Map();\n          this._staged.set(identifier.type, changes);\n        }\n        pending.set(FAKE_ARR, changes);\n      } else {\n        let changes = allPending.get(liveArray);\n        if (!changes) {\n          changes = new Map();\n          allPending.set(liveArray, changes);\n        }\n        pending.set(liveArray, changes);\n      }\n      return pending;\n    }\n    populateManagedArray(array, identifiers, payload) {\n      this._pending.delete(array);\n      const source = array[SOURCE];\n      const old = source.slice();\n      source.length = 0;\n      fastPush(source, identifiers);\n      this._set.set(array, new Set(identifiers));\n      notifyArray(array);\n      array.meta = payload.meta || null;\n      array.links = payload.links || null;\n      array.isLoaded = true;\n      disassociate(this._identifiers, array, old);\n      associate(this._identifiers, array, identifiers);\n    }\n    identifierAdded(identifier) {\n      let changeSets = this._getPendingFor(identifier, false);\n      if (changeSets) {\n        changeSets.forEach((changes, array) => {\n          let existing = changes.get(identifier);\n          if (existing === 'del') {\n            changes.delete(identifier);\n          } else {\n            changes.set(identifier, 'add');\n            this.dirtyArray(array, changes.size);\n          }\n        });\n      }\n    }\n    identifierRemoved(identifier) {\n      let changeSets = this._getPendingFor(identifier, true, true);\n      if (changeSets) {\n        changeSets.forEach((changes, array) => {\n          let existing = changes.get(identifier);\n          if (existing === 'add') {\n            changes.delete(identifier);\n          } else {\n            changes.set(identifier, 'del');\n            this.dirtyArray(array, changes.size);\n          }\n        });\n      }\n    }\n    identifierChanged(identifier) {\n      let newState = this.store._instanceCache.recordIsLoaded(identifier, true);\n\n      // if the change matches the most recent direct added/removed\n      // state, then we can ignore it\n      if (this._visibilitySet.get(identifier) === newState) {\n        return;\n      }\n      if (newState) {\n        this.identifierAdded(identifier);\n      } else {\n        this.identifierRemoved(identifier);\n      }\n    }\n    clear(isClear = true) {\n      this._live.forEach(array => array.destroy(isClear));\n      this._managed.forEach(array => array.destroy(isClear));\n      this._managed.clear();\n      this._identifiers.clear();\n      this._pending.clear();\n      this._set.forEach(set => set.clear());\n      this._visibilitySet.clear();\n    }\n    destroy() {\n      this.isDestroying = true;\n      this.clear(false);\n      this._live.clear();\n      this.isDestroyed = true;\n      // eslint-disable-next-line @typescript-eslint/no-unsafe-argument\n      this.store.notifications.unsubscribe(this._subscription);\n    }\n  }\n  _exports.R = RecordArrayManager;\n  function associate(ArraysCache, array, identifiers) {\n    for (let i = 0; i < identifiers.length; i++) {\n      let identifier = identifiers[i];\n      let cache = ArraysCache.get(identifier);\n      if (!cache) {\n        cache = new Set();\n        ArraysCache.set(identifier, cache);\n      }\n      cache.add(array);\n    }\n  }\n  function disassociate(ArraysCache, array, identifiers) {\n    for (let i = 0; i < identifiers.length; i++) {\n      disassociateIdentifier(ArraysCache, array, identifiers[i]);\n    }\n  }\n  function disassociateIdentifier(ArraysCache, array, identifier) {\n    let cache = ArraysCache.get(identifier);\n    if (cache) {\n      cache.delete(array);\n    }\n  }\n  function sync(array, changes, arraySet) {\n    let state = array[SOURCE];\n    const adds = [];\n    const removes = [];\n    changes.forEach((value, key) => {\n      if (value === 'add') {\n        // likely we want to keep a Set along-side\n        if (arraySet.has(key)) {\n          return;\n        }\n        adds.push(key);\n        arraySet.add(key);\n      } else {\n        if (arraySet.has(key)) {\n          removes.push(key);\n          arraySet.delete(key);\n        }\n      }\n    });\n    if (removes.length) {\n      if (removes.length === state.length) {\n        state.length = 0;\n        // changing the reference breaks the Proxy\n        // state = array[SOURCE] = [];\n      } else {\n        removes.forEach(i => {\n          const index = state.indexOf(i);\n          if (index !== -1) {\n            state.splice(index, 1);\n            arraySet.delete(i);\n          }\n        });\n      }\n    }\n    if (adds.length) {\n      fastPush(state, adds);\n      // changing the reference breaks the Proxy\n      // else we could do this\n      /*\n      if (state.length === 0) {\n        array[SOURCE] = adds;\n      } else {\n        array[SOURCE] = state.concat(adds);\n      }\n      */\n    }\n  }\n\n  /**\n   * @module @ember-data/store\n   */\n  const Touching = Symbol('touching');\n  const RequestPromise = Symbol('promise');\n  function hasRecordIdentifier(op) {\n    return 'recordIdentifier' in op;\n  }\n\n  /**\n   * The RequestStateService is used to track the state of requests\n   * for fetching or updating known resource identifies that are inflight.\n   *\n   * @class RequestStateService\n   * @public\n   */\n  class RequestStateService {\n    constructor(store) {\n      this._pending = Object.create(null);\n      this._done = new Map();\n      this._subscriptions = Object.create(null);\n      this._toFlush = [];\n      this._store = void 0;\n      this._store = store;\n    }\n    _clearEntries(identifier) {\n      this._done.delete(identifier);\n    }\n    _enqueue(promise, queryRequest) {\n      let query = queryRequest.data[0];\n      if (hasRecordIdentifier(query)) {\n        let lid = query.recordIdentifier.lid;\n        let type = query.op === 'saveRecord' ? 'mutation' : 'query';\n        if (!this._pending[lid]) {\n          this._pending[lid] = [];\n        }\n        let request = {\n          state: 'pending',\n          request: queryRequest,\n          type\n        };\n        request[Touching] = [query.recordIdentifier];\n        request[RequestPromise] = promise;\n        this._pending[lid].push(request);\n        this._triggerSubscriptions(request);\n        return promise.then(result => {\n          this._dequeue(lid, request);\n          let finalizedRequest = {\n            state: 'fulfilled',\n            request: queryRequest,\n            type,\n            response: {\n              data: result\n            }\n          };\n          finalizedRequest[Touching] = request[Touching];\n          this._addDone(finalizedRequest);\n          this._triggerSubscriptions(finalizedRequest);\n          return result;\n        }, error => {\n          this._dequeue(lid, request);\n          let finalizedRequest = {\n            state: 'rejected',\n            request: queryRequest,\n            type,\n            response: {\n              data: error\n            }\n          };\n          finalizedRequest[Touching] = request[Touching];\n          this._addDone(finalizedRequest);\n          this._triggerSubscriptions(finalizedRequest);\n          throw error;\n        });\n      }\n      (false && !(false) && (0, _debug.assert)(`Expected a well formed  query`));\n    }\n    _triggerSubscriptions(req) {\n      if (req.state === 'pending') {\n        this._flushRequest(req);\n        return;\n      }\n      this._toFlush.push(req);\n      if (this._toFlush.length === 1) {\n        this._store.notifications._onNextFlush(() => {\n          this._flush();\n        });\n      }\n    }\n    _flush() {\n      this._toFlush.forEach(req => {\n        this._flushRequest(req);\n      });\n      this._toFlush = [];\n    }\n    _flushRequest(req) {\n      req[Touching].forEach(identifier => {\n        if (this._subscriptions[identifier.lid]) {\n          this._subscriptions[identifier.lid].forEach(callback => callback(req));\n        }\n      });\n    }\n    _dequeue(lid, request) {\n      this._pending[lid] = this._pending[lid].filter(req => req !== request);\n    }\n    _addDone(request) {\n      request[Touching].forEach(identifier => {\n        // TODO add support for multiple\n        let requestDataOp = request.request.data[0].op;\n        let requests = this._done.get(identifier);\n        if (requests) {\n          requests = requests.filter(req => {\n            // TODO add support for multiple\n            let data;\n            if (req.request.data instanceof Array) {\n              data = req.request.data[0];\n            } else {\n              data = req.request.data;\n            }\n            return data.op !== requestDataOp;\n          });\n        }\n        requests = requests || [];\n        requests.push(request);\n        this._done.set(identifier, requests);\n      });\n    }\n\n    /**\n     * Subscribe to requests for a given resource identity.\n     *\n     * The callback will receive the current state of the request.\n     *\n     * ```ts\n     * interface RequestState {\n     *   state: 'pending' | 'fulfilled' | 'rejected';\n     *   type: 'query' | 'mutation';\n     *   request: Request;\n     *   response?: { data: unknown };\n     * }\n     * ```\n     *\n     * Note: It should be considered dangerous to use this API for more than simple\n     * state derivation or debugging. The `request` and `response` properties are poorly\n     * spec'd and may change unexpectedly when shifting what Handlers are in use or how\n     * requests are issued from the Store.\n     *\n     * We expect to revisit this API in the near future as we continue to refine the\n     * RequestManager ergonomics, as a simpler but more powerful direct integration\n     * with the RequestManager for these purposes is likely to be a better long-term\n     * design.\n     *\n     * @method subscribeForRecord\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @param {(state: RequestState) => void} callback\n     */\n    subscribeForRecord(identifier, callback) {\n      if (!this._subscriptions[identifier.lid]) {\n        this._subscriptions[identifier.lid] = [];\n      }\n      this._subscriptions[identifier.lid].push(callback);\n    }\n\n    /**\n     * Retrieve all active requests for a given resource identity.\n     *\n     * @method getPendingRequestsForRecord\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @returns {RequestState[]} an array of request states for any pending requests for the given identifier\n     */\n    getPendingRequestsForRecord(identifier) {\n      if (this._pending[identifier.lid]) {\n        return this._pending[identifier.lid];\n      }\n      return [];\n    }\n\n    /**\n     * Retrieve the last completed request for a given resource identity.\n     *\n     * @method getLastRequestForRecord\n     * @public\n     * @param {StableRecordIdentifier} identifier\n     * @returns {RequestState | null} the state of the most recent request for the given identifier\n     */\n    getLastRequestForRecord(identifier) {\n      let requests = this._done.get(identifier);\n      if (requests) {\n        return requests[requests.length - 1];\n      }\n      return null;\n    }\n  }\n\n  /**\n    @module @ember-data/store\n   */\n\n  // hello world\n\n  let _Cache;\n\n  /**\n   * A Store coordinates interaction between your application, a [Cache](https://api.emberjs.com/ember-data/release/classes/%3CInterface%3E%20Cache),\n   * and sources of data (such as your API or a local persistence layer)\n   * accessed via a [RequestManager](https://github.com/emberjs/data/tree/main/packages/request).\n   *\n   * ```app/services/store.js\n   * import Store from '@ember-data/store';\n   *\n   * export default class extends Store {}\n   * ```\n   *\n   * Most Ember applications will only have a single `Store` configured as a Service\n   * in this manner. However, setting up multiple stores is possible, including using\n   * each as a unique service.\n   *\n  \n    @class Store\n    @public\n  */ // @ts-expect-error\n  class Store extends _object.default {\n    /**\n     * Provides access to the NotificationManager associated\n     * with this Store instance.\n     *\n     * The NotificationManager can be used to subscribe to\n     * changes to the cache.\n     *\n     * @property {NotificationManager} notifications\n     * @public\n     */\n\n    /**\n     * Provides access to the SchemaService instance\n     * for this Store instance.\n     *\n     * The SchemaService can be used to query for\n     * information about the schema of a resource.\n     *\n     * @property {SchemaService} schema\n     * @public\n     */\n    get schema() {\n      return this.getSchemaDefinitionService();\n    }\n\n    /**\n     * Provides access to the IdentifierCache instance\n     * for this store.\n     *\n     * The IdentifierCache can be used to generate or\n     * retrieve a stable unique identifier for any resource.\n     *\n     * @property {IdentifierCache} identifierCache\n     * @public\n     */\n\n    /**\n     * Provides access to the requestManager instance associated\n     * with this Store instance.\n     *\n     * When using `ember-data` this property is automatically\n     * set to an instance of `RequestManager`. When not using `ember-data`\n     * you must configure this property yourself, either by declaring\n     * it as a service or by initializing it.\n     *\n     * ```ts\n     * import Store, { CacheHandler } from '@ember-data/store';\n     * import RequestManager from '@ember-data/request';\n     * import Fetch from '@ember/data/request/fetch';\n     *\n     * class extends Store {\n     *   constructor() {\n     *     super(...arguments);\n     *     this.requestManager = new RequestManager();\n     *     this.requestManager.use([Fetch]);\n     *     this.requestManager.useCache(CacheHandler);\n     *   }\n     * }\n     * ```\n     *\n     * @public\n     * @property {RequestManager} requestManager\n     */\n\n    /**\n     * A Property which an App may set to provide a Lifetimes Service\n     * to control when a cached request becomes stale.\n     *\n     * Note, when defined, these methods will only be invoked if a\n     * cache key exists for the request, either because the request\n     * contains `cacheOptions.key` or because the [IdentifierCache](/ember-data/release/classes/IdentifierCache)\n     * was able to generate a key for the request using the configured\n     * [generation method](/ember-data/release/functions/@ember-data%2Fstore/setIdentifierGenerationMethod).\n     *\n     * `isSoftExpired` will only be invoked if `isHardExpired` returns `false`.\n     *\n     * ```ts\n     * store.lifetimes = {\n     *   // make the request and ignore the current cache state\n     *   isHardExpired(identifier: StableDocumentIdentifier): boolean {\n     *     return false;\n     *   }\n     *\n     *   // make the request in the background if true, return cache state\n     *   isSoftExpired(identifier: StableDocumentIdentifier): boolean {\n     *     return false;\n     *   }\n     * }\n     * ```\n     *\n     * @public\n     * @property {LivetimesService|undefined} lifetimes\n     */\n\n    // Private\n\n    // DEBUG-only properties\n\n    // @ts-expect-error\n    get isDestroying() {\n      return this._isDestroying;\n    }\n    set isDestroying(value) {\n      this._isDestroying = value;\n    }\n    // @ts-expect-error\n    get isDestroyed() {\n      return this._isDestroyed;\n    }\n    set isDestroyed(value) {\n      this._isDestroyed = value;\n    }\n\n    /**\n      @method init\n      @private\n    */\n    constructor(createArgs) {\n      super(createArgs);\n      Object.assign(this, createArgs);\n      this.identifierCache = new IdentifierCache();\n      this.notifications = new NotificationManager(this);\n\n      // private but maybe useful to be here, somewhat intimate\n      this.recordArrayManager = new RecordArrayManager({\n        store: this\n      });\n\n      // private\n      this._requestCache = new RequestStateService(this);\n      this._instanceCache = new InstanceCache(this);\n      this._adapterCache = Object.create(null);\n      this._serializerCache = Object.create(null);\n      this._modelFactoryCache = Object.create(null);\n      this._documentCache = new Map();\n      this.isDestroying = false;\n      this.isDestroyed = false;\n    }\n    _run(cb) {\n      (false && !(!this._cbs) && (0, _debug.assert)(`EmberData should never encounter a nested run`, !this._cbs));\n      const _cbs = this._cbs = {};\n      {\n        cb();\n        if (_cbs.coalesce) {\n          _cbs.coalesce();\n        }\n        if (_cbs.sync) {\n          _cbs.sync();\n        }\n        if (_cbs.notify) {\n          _cbs.notify();\n        }\n        this._cbs = null;\n      }\n    }\n    _join(cb) {\n      if (this._cbs) {\n        cb();\n      } else {\n        this._run(cb);\n      }\n    }\n    _schedule(name, cb) {\n      (false && !(!!this._cbs) && (0, _debug.assert)(`EmberData expects to schedule only when there is an active run`, !!this._cbs));\n      (false && !(!this._cbs[name]) && (0, _debug.assert)(`EmberData expects only one flush per queue name, cannot schedule ${name}`, !this._cbs[name]));\n      this._cbs[name] = cb;\n    }\n\n    /**\n     * Retrieve the RequestStateService instance\n     * associated with this Store.\n     *\n     * This can be used to query the status of requests\n     * that have been initiated for a given identifier.\n     *\n     * @method getRequestStateService\n     * @returns {RequestStateService}\n     * @public\n     */\n    getRequestStateService() {\n      return this._requestCache;\n    }\n    _getAllPending() {}\n\n    /**\n     * Issue a request via the configured RequestManager,\n     * inserting the response into the cache and handing\n     * back a Future which resolves to a ResponseDocument\n     *\n     * Resource data is always updated in the cache.\n     *\n     * Only GET requests have the request result and document\n     * cached by default when a cache key is present.\n     *\n     * The cache key used is `requestConfig.cacheOptions.key`\n     * if present, falling back to `requestconfig.url`.\n     *\n     * Params are not serialized as part of the cache-key, so\n     * either ensure they are already in the url or utilize\n     * `requestConfig.cacheOptions.key`. For queries issued\n     * via the `POST` method `requestConfig.cacheOptions.key`\n     * MUST be supplied for the document to be cached.\n     *\n     * @method request\n     * @param {StoreRequestInfo} requestConfig\n     * @returns {Future}\n     * @public\n     */\n    request(requestConfig) {\n      // we lazily set the cache handler when we issue the first request\n      // because constructor doesn't allow for this to run after\n      // the user has had the chance to set the prop.\n      let opts = {\n        store: this,\n        [EnableHydration]: true\n      };\n      const future = this.requestManager.request(Object.assign(requestConfig, opts));\n      future.onFinalize(() => {\n        // skip flush for legacy belongsTo\n        if (requestConfig.op === 'findBelongsTo' && !requestConfig.url) {\n          return;\n        }\n        this.notifications._flush();\n      });\n      return future;\n    }\n\n    /**\n     * A hook which an app or addon may implement. Called when\n     * the Store is attempting to create a Record Instance for\n     * a resource.\n     *\n     * This hook can be used to select or instantiate any desired\n     * mechanism of presentating cache data to the ui for access\n     * mutation, and interaction.\n     *\n     * @method instantiateRecord (hook)\n     * @param identifier\n     * @param createRecordArgs\n     * @param recordDataFor deprecated use this.cache\n     * @param notificationManager deprecated use this.notifications\n     * @returns A record instance\n     * @public\n     */\n    instantiateRecord(identifier, createRecordArgs) {\n      {\n        let modelName = identifier.type;\n        const cache = this._instanceCache.getResourceCache(identifier);\n        // TODO deprecate allowing unknown args setting\n        let createOptions = {\n          _createProps: createRecordArgs,\n          // TODO @deprecate consider deprecating accessing record properties during init which the below is necessary for\n          _secretInit: {\n            identifier,\n            cache,\n            store: this,\n            cb: secretInit\n          }\n        };\n\n        // ensure that `getOwner(this)` works inside a model instance\n        (0, _application.setOwner)(createOptions, (0, _application.getOwner)(this));\n        const factory = getModelFactory(this, this._modelFactoryCache, modelName);\n        (false && !(factory) && (0, _debug.assert)(`No model was found for '${modelName}'`, factory));\n        return factory.class.create(createOptions);\n      }\n      (false && !(false) && (0, _debug.assert)(`You must implement the store's instantiateRecord hook for your custom model class.`));\n    }\n\n    /**\n     * A hook which an app or addon may implement. Called when\n     * the Store is destroying a Record Instance. This hook should\n     * be used to teardown any custom record instances instantiated\n     * with `instantiateRecord`.\n     *\n     * @method teardownRecord (hook)\n     * @public\n     * @param record\n     */\n    teardownRecord(record) {\n      {\n        (false && !('destroy' in record) && (0, _debug.assert)(`expected to receive an instance of DSModel. If using a custom model make sure you implement teardownRecord`, 'destroy' in record));\n        record.destroy();\n      }\n    }\n\n    /**\n     * Provides access to the SchemaDefinitionService instance\n     * for this Store instance.\n     *\n     * The SchemaDefinitionService can be used to query for\n     * information about the schema of a resource.\n     *\n     * @method getSchemaDefinitionService\n     * @public\n     */\n    getSchemaDefinitionService() {\n      {\n        if (!this._schema) {\n          // it is potentially a mistake for the RFC to have not enabled chaining these services, though highlander rule is nice.\n          // what ember-m3 did via private API to allow both worlds to interop would be much much harder using this.\n          this._schema = new DSModelSchemaDefinitionService(this);\n        }\n      }\n      (false && !(this._schema) && (0, _debug.assert)(`You must registerSchemaDefinitionService with the store to use custom model classes`, this._schema));\n      return this._schema;\n    }\n\n    /**\n     * DEPRECATED - Use `registerSchema` instead.\n     *\n     * Allows an app to register a custom SchemaService\n     * for use when information about a resource's schema needs\n     * to be queried.\n     *\n     * This method can only be called more than once, but only one schema\n     * definition service may exist. Therefore if you wish to chain services\n     * you must lookup the existing service and close over it with the new\n     * service by accessing `store.schema` prior to registration.\n     *\n     * For Example:\n     *\n     * ```ts\n     * import Store from '@ember-data/store';\n     *\n     * class SchemaDelegator {\n     *   constructor(schema) {\n     *     this._schema = schema;\n     *   }\n     *\n     *   doesTypeExist(type: string): boolean {\n     *     if (AbstractSchemas.has(type)) {\n     *       return true;\n     *     }\n     *     return this._schema.doesTypeExist(type);\n     *   }\n     *\n     *   attributesDefinitionFor(identifier: RecordIdentifier | { type: string }): AttributesSchema {\n     *     return this._schema.attributesDefinitionFor(identifier);\n     *   }\n     *\n     *   relationshipsDefinitionFor(identifier: RecordIdentifier | { type: string }): RelationshipsSchema {\n     *     const schema = AbstractSchemas.get(identifier.type);\n     *     return schema || this._schema.relationshipsDefinitionFor(identifier);\n     *   }\n     * }\n     *\n     * export default class extends Store {\n     *   constructor(...args) {\n     *     super(...args);\n     *\n     *     const schema = this.schema;\n     *     this.registerSchemaDefinitionService(new SchemaDelegator(schema));\n     *   }\n     * }\n     * ```\n     *\n     * @method registerSchemaDefinitionService\n     * @param {SchemaService} schema\n     * @deprecated\n     * @public\n     */\n    registerSchemaDefinitionService(schema) {\n      this._schema = schema;\n    }\n    /**\n     * Allows an app to register a custom SchemaService\n     * for use when information about a resource's schema needs\n     * to be queried.\n     *\n     * This method can only be called more than once, but only one schema\n     * definition service may exist. Therefore if you wish to chain services\n     * you must lookup the existing service and close over it with the new\n     * service by accessing `store.schema` prior to registration.\n     *\n     * For Example:\n     *\n     * ```ts\n     * import Store from '@ember-data/store';\n     *\n     * class SchemaDelegator {\n     *   constructor(schema) {\n     *     this._schema = schema;\n     *   }\n     *\n     *   doesTypeExist(type: string): boolean {\n     *     if (AbstractSchemas.has(type)) {\n     *       return true;\n     *     }\n     *     return this._schema.doesTypeExist(type);\n     *   }\n     *\n     *   attributesDefinitionFor(identifier: RecordIdentifier | { type: string }): AttributesSchema {\n     *     return this._schema.attributesDefinitionFor(identifier);\n     *   }\n     *\n     *   relationshipsDefinitionFor(identifier: RecordIdentifier | { type: string }): RelationshipsSchema {\n     *     const schema = AbstractSchemas.get(identifier.type);\n     *     return schema || this._schema.relationshipsDefinitionFor(identifier);\n     *   }\n     * }\n     *\n     * export default class extends Store {\n     *   constructor(...args) {\n     *     super(...args);\n     *\n     *     const schema = this.schema;\n     *     this.registerSchema(new SchemaDelegator(schema));\n     *   }\n     * }\n     * ```\n     *\n     * @method registerSchema\n     * @param {SchemaService} schema\n     * @public\n     */\n    registerSchema(schema) {\n      this._schema = schema;\n    }\n\n    /**\n      Returns the schema for a particular `modelName`.\n       When used with Model from @ember-data/model the return is the model class,\n      but this is not guaranteed.\n       If looking to query attribute or relationship information it is\n      recommended to use `getSchemaDefinitionService` instead. This method\n      should be considered legacy and exists primarily to continue to support\n      Adapter/Serializer APIs which expect it's return value in their method\n      signatures.\n       The class of a model might be useful if you want to get a list of all the\n      relationship names of the model, see\n      [`relationshipNames`](/ember-data/release/classes/Model?anchor=relationshipNames)\n      for example.\n       @method modelFor\n      @public\n      @param {String} modelName\n      @return {subclass of Model | ShimModelClass}\n      */\n    // TODO @deprecate in favor of schema APIs, requires adapter/serializer overhaul or replacement\n\n    modelFor(modelName) {\n      (false && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's modelFor method`, modelName));\n      (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      {\n        let normalizedModelName = normalizeModelName$1(modelName);\n        let maybeFactory = getModelFactory(this, this._modelFactoryCache, normalizedModelName);\n\n        // for factorFor factory/class split\n        const klass = maybeFactory && maybeFactory.class ? maybeFactory.class : null;\n        if (!klass || !klass.isModel || this._forceShim) {\n          (false && !(this.getSchemaDefinitionService().doesTypeExist(modelName)) && (0, _debug.assert)(`No model was found for '${modelName}' and no schema handles the type`, this.getSchemaDefinitionService().doesTypeExist(modelName)));\n          return getShimClass(this, modelName);\n        } else {\n          // TODO @deprecate ever returning the klass, always return the shim\n          return klass;\n        }\n      }\n      (false && !(this.getSchemaDefinitionService().doesTypeExist(modelName)) && (0, _debug.assert)(`No model was found for '${modelName}' and no schema handles the type`, this.getSchemaDefinitionService().doesTypeExist(modelName)));\n      return getShimClass(this, modelName);\n    }\n\n    /**\n      Create a new record in the current store. The properties passed\n      to this method are set on the newly created record.\n       To create a new instance of a `Post`:\n       ```js\n      store.createRecord('post', {\n        title: 'Ember is awesome!'\n      });\n      ```\n       To create a new instance of a `Post` that has a relationship with a `User` record:\n       ```js\n      let user = this.store.peekRecord('user', 1);\n      store.createRecord('post', {\n        title: 'Ember is awesome!',\n        user: user\n      });\n      ```\n       @method createRecord\n      @public\n      @param {String} modelName\n      @param {Object} inputProperties a hash of properties to set on the\n        newly created record.\n      @return {Model} record\n    */\n    createRecord(modelName, inputProperties) {\n      (false && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's createRecord method`, modelName));\n      (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string')); // This is wrapped in a `run.join` so that in test environments users do not need to manually wrap\n      //   calls to `createRecord`. The run loop usage here is because we batch the joining and updating\n      //   of record-arrays via ember's run loop, not our own.\n      //\n      //   to remove this, we would need to move to a new `async` API.\n      let record;\n      _runloop._backburner.join(() => {\n        this._join(() => {\n          let normalizedModelName = normalizeModelName$1(modelName);\n          let properties = {\n            ...inputProperties\n          };\n\n          // If the passed properties do not include a primary key,\n          // give the adapter an opportunity to generate one. Typically,\n          // client-side ID generators will use something like uuid.js\n          // to avoid conflicts.\n\n          if (properties.id === null || properties.id === undefined) {\n            let adapter = this.adapterFor(modelName);\n            if (adapter && adapter.generateIdForRecord) {\n              properties.id = adapter.generateIdForRecord(this, modelName, properties);\n            } else {\n              properties.id = null;\n            }\n          }\n\n          // Coerce ID to a string\n          properties.id = coerceId(properties.id);\n          const resource = {\n            type: normalizedModelName,\n            id: properties.id\n          };\n          if (resource.id) {\n            const identifier = this.identifierCache.peekRecordIdentifier(resource);\n            (false && !(!identifier) && (0, _debug.assert)(`The id ${properties.id} has already been used with another '${normalizedModelName}' record.`, !identifier));\n          }\n          const identifier = this.identifierCache.createIdentifierForNewRecord(resource);\n          const cache = this._instanceCache.getResourceCache(identifier);\n          const createOptions = normalizeProperties(this, identifier, properties, cache.managedVersion === '1');\n          const resultProps = cache.clientDidCreate(identifier, createOptions);\n          record = this._instanceCache.getRecord(identifier, resultProps);\n        });\n      });\n      return record;\n    }\n\n    /**\n      For symmetry, a record can be deleted via the store.\n       Example\n       ```javascript\n      let post = store.createRecord('post', {\n        title: 'Ember is awesome!'\n      });\n       store.deleteRecord(post);\n      ```\n       @method deleteRecord\n      @public\n      @param {Model} record\n    */\n    deleteRecord(record) {\n      const identifier = peekRecordIdentifier(record);\n      const cache = identifier && this._instanceCache.peek({\n        identifier,\n        bucket: 'resourceCache'\n      });\n      (false && !(cache) && (0, _debug.assert)(`expected a cache instance to exist for the record`, cache));\n      this._join(() => {\n        cache.setIsDeleted(identifier, true);\n        if (cache.isNew(identifier)) {\n          _runloop._backburner.join(() => {\n            this._instanceCache.unloadRecord(identifier);\n          });\n        }\n      });\n    }\n\n    /**\n      For symmetry, a record can be unloaded via the store.\n      This will cause the record to be destroyed and freed up for garbage collection.\n       Example\n       ```javascript\n      store.findRecord('post', 1).then(function(post) {\n        store.unloadRecord(post);\n      });\n      ```\n       @method unloadRecord\n      @public\n      @param {Model} record\n    */\n    unloadRecord(record) {\n      const identifier = peekRecordIdentifier(record);\n      if (identifier) {\n        this._instanceCache.unloadRecord(identifier);\n      }\n    }\n\n    /**\n      @method find\n      @param {String} modelName\n      @param {String|Integer} id\n      @param {Object} options\n      @return {Promise} promise\n      @deprecated\n      @private\n    */\n    find(modelName, id, options) {\n      // The default `model` hook in Route calls `find(modelName, id)`,\n      // that's why we have to keep this method around even though `findRecord` is\n      // the public way to get a record by modelName and id.\n      (false && !(arguments.length !== 1) && (0, _debug.assert)(`Using store.find(type) has been removed. Use store.findAll(modelName) to retrieve all records for a given type.`, arguments.length !== 1));\n      (false && !(!options) && (0, _debug.assert)(`Calling store.find(modelName, id, { preload: preload }) is no longer supported. Use store.findRecord(modelName, id, { preload: preload }) instead.`, !options));\n      (false && !(arguments.length === 2) && (0, _debug.assert)(`You need to pass the model name and id to the store's find method`, arguments.length === 2));\n      (false && !(typeof id === 'string' || typeof id === 'number') && (0, _debug.assert)(`You cannot pass '${id}' as id to the store's find method`, typeof id === 'string' || typeof id === 'number'));\n      (false && !(typeof id !== 'object') && (0, _debug.assert)(`Calling store.find() with a query object is no longer supported. Use store.query() instead.`, typeof id !== 'object'));\n      (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      {\n        (false && !(false) && (0, _debug.deprecate)(`Using store.find is deprecated, use store.findRecord instead. Likely this means you are relying on the implicit store fetching behavior of routes unknowingly.`, false, {\n          id: 'ember-data:deprecate-store-find',\n          since: {\n            available: '4.5',\n            enabled: '4.5'\n          },\n          for: 'ember-data',\n          until: '5.0'\n        }));\n        return this.findRecord(modelName, id);\n      }\n      (false && !(false) && (0, _debug.assert)(`store.find has been removed. Use store.findRecord instead.`));\n    }\n\n    /**\n      This method returns a record for a given identifier or type and id combination.\n       The `findRecord` method will always resolve its promise with the same\n      object for a given identifier or type and `id`.\n       The `findRecord` method will always return a **promise** that will be\n      resolved with the record.\n       **Example 1**\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model({ post_id }) {\n          return this.store.findRecord('post', post_id);\n        }\n      }\n      ```\n       **Example 2**\n       `findRecord` can be called with a single identifier argument instead of the combination\n      of `type` (modelName) and `id` as separate arguments. You may recognize this combo as\n      the typical pairing from [JSON:API](https://jsonapi.org/format/#document-resource-object-identification)\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model({ post_id: id }) {\n          return this.store.findRecord({ type: 'post', id });\n        }\n      }\n      ```\n       **Example 3**\n       If you have previously received an lid via an Identifier for this record, and the record\n      has already been assigned an id, you can find the record again using just the lid.\n       ```app/routes/post.js\n      store.findRecord({ lid });\n      ```\n       If the record is not yet available, the store will ask the adapter's `findRecord`\n      method to retrieve and supply the necessary data. If the record is already present\n      in the store, it depends on the reload behavior _when_ the returned promise\n      resolves.\n       ### Preloading\n       You can optionally `preload` specific attributes and relationships that you know of\n      by passing them via the passed `options`.\n       For example, if your Ember route looks like `/posts/1/comments/2` and your API route\n      for the comment also looks like `/posts/1/comments/2` if you want to fetch the comment\n      without also fetching the post you can pass in the post to the `findRecord` call:\n       ```app/routes/post-comments.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model({ post_id, comment_id: id }) {\n          return this.store.findRecord({ type: 'comment', id, { preload: { post: post_id }} });\n        }\n      }\n      ```\n       In your adapter you can then access this id without triggering a network request via the\n      snapshot:\n       ```app/adapters/application.js\n      import EmberObject from '@ember/object';\n       export default class Adapter extends EmberObject {\n         findRecord(store, schema, id, snapshot) {\n          let type = schema.modelName;\n           if (type === 'comment')\n            let postId = snapshot.belongsTo('post', { id: true });\n             return fetch(`./posts/${postId}/comments/${id}`)\n              .then(response => response.json())\n          }\n        }\n      }\n      ```\n       This could also be achieved by supplying the post id to the adapter via the adapterOptions\n      property on the options hash.\n       ```app/routes/post-comments.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model({ post_id, comment_id: id }) {\n          return this.store.findRecord({ type: 'comment', id, { adapterOptions: { post: post_id }} });\n        }\n      }\n      ```\n       ```app/adapters/application.js\n      import EmberObject from '@ember/object';\n       export default class Adapter extends EmberObject {\n         findRecord(store, schema, id, snapshot) {\n          let type = schema.modelName;\n           if (type === 'comment')\n            let postId = snapshot.adapterOptions.post;\n             return fetch(`./posts/${postId}/comments/${id}`)\n              .then(response => response.json())\n          }\n        }\n      }\n      ```\n       If you have access to the post model you can also pass the model itself to preload:\n       ```javascript\n      let post = await store.findRecord('post', 1);\n      let comment = await store.findRecord('comment', 2, { post: myPostModel });\n      ```\n       ### Reloading\n       The reload behavior is configured either via the passed `options` hash or\n      the result of the adapter's `shouldReloadRecord`.\n       If `{ reload: true }` is passed or `adapter.shouldReloadRecord` evaluates\n      to `true`, then the returned promise resolves once the adapter returns\n      data, regardless if the requested record is already in the store:\n       ```js\n      store.push({\n        data: {\n          id: 1,\n          type: 'post',\n          revision: 1\n        }\n      });\n       // adapter#findRecord resolves with\n      // [\n      //   {\n      //     id: 1,\n      //     type: 'post',\n      //     revision: 2\n      //   }\n      // ]\n      store.findRecord('post', 1, { reload: true }).then(function(post) {\n        post.revision; // 2\n      });\n      ```\n       If no reload is indicated via the above mentioned ways, then the promise\n      immediately resolves with the cached version in the store.\n       ### Background Reloading\n       Optionally, if `adapter.shouldBackgroundReloadRecord` evaluates to `true`,\n      then a background reload is started, which updates the records' data, once\n      it is available:\n       ```js\n      // app/adapters/post.js\n      import ApplicationAdapter from \"./application\";\n       export default class PostAdapter extends ApplicationAdapter {\n        shouldReloadRecord(store, snapshot) {\n          return false;\n        },\n         shouldBackgroundReloadRecord(store, snapshot) {\n          return true;\n        }\n      });\n       // ...\n       store.push({\n        data: {\n          id: 1,\n          type: 'post',\n          revision: 1\n        }\n      });\n       let blogPost = store.findRecord('post', 1).then(function(post) {\n        post.revision; // 1\n      });\n       // later, once adapter#findRecord resolved with\n      // [\n      //   {\n      //     id: 1,\n      //     type: 'post',\n      //     revision: 2\n      //   }\n      // ]\n       blogPost.revision; // 2\n      ```\n       If you would like to force or prevent background reloading, you can set a\n      boolean value for `backgroundReload` in the options object for\n      `findRecord`.\n       ```app/routes/post/edit.js\n      import Route from '@ember/routing/route';\n       export default class PostEditRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { backgroundReload: false });\n        }\n      }\n      ```\n       If you pass an object on the `adapterOptions` property of the options\n      argument it will be passed to your adapter via the snapshot\n       ```app/routes/post/edit.js\n      import Route from '@ember/routing/route';\n       export default class PostEditRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id, {\n            adapterOptions: { subscribe: false }\n          });\n        }\n      }\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class PostAdapter extends MyCustomAdapter {\n        findRecord(store, type, id, snapshot) {\n          if (snapshot.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       See [peekRecord](../methods/peekRecord?anchor=peekRecord) to get the cached version of a record.\n       ### Retrieving Related Model Records\n       If you use an adapter such as Ember's default\n      [`JSONAPIAdapter`](/ember-data/release/classes/JSONAPIAdapter)\n      that supports the [JSON API specification](http://jsonapi.org/) and if your server\n      endpoint supports the use of an\n      ['include' query parameter](http://jsonapi.org/format/#fetching-includes),\n      you can use `findRecord()` or `findAll()` to automatically retrieve additional records related to\n      the one you request by supplying an `include` parameter in the `options` object.\n       For example, given a `post` model that has a `hasMany` relationship with a `comment`\n      model, when we retrieve a specific post we can have the server also return that post's\n      comments in the same request:\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { include: 'comments' });\n        }\n      }\n      ```\n       ```app/adapters/application.js\n      import EmberObject from '@ember/object';\n       export default class Adapter extends EmberObject {\n         findRecord(store, schema, id, snapshot) {\n          let type = schema.modelName;\n           if (type === 'post')\n            let includes = snapshot.adapterOptions.include;\n             return fetch(`./posts/${postId}?include=${includes}`)\n              .then(response => response.json())\n          }\n        }\n      }\n      ```\n       In this case, the post's comments would then be available in your template as\n      `model.comments`.\n       Multiple relationships can be requested using an `include` parameter consisting of a\n      comma-separated list (without white-space) while nested relationships can be specified\n      using a dot-separated sequence of relationship names. So to request both the post's\n      comments and the authors of those comments the request would look like this:\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n       export default class PostRoute extends Route {\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { include: 'comments,comments.author' });\n        }\n      }\n      ```\n       ### Retrieving Specific Fields by Type\n       If your server endpoint supports the use of a ['fields' query parameter](https://jsonapi.org/format/#fetching-sparse-fieldsets),\n      you can use pass those fields through to your server.  At this point in time, this requires a few manual steps on your part.\n       1. Implement `buildQuery` in your adapter.\n       ```app/adapters/application.js\n      buildQuery(snapshot) {\n        let query = super.buildQuery(...arguments);\n         let { fields } = snapshot.adapterOptions;\n         if (fields) {\n          query.fields = fields;\n        }\n         return query;\n      }\n      ```\n       2. Then pass through the applicable fields to your `findRecord` request.\n       Given a `post` model with attributes body, title, publishDate and meta, you can retrieve a filtered list of attributes.\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n      export default Route.extend({\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { adapterOptions: { fields: { post: 'body,title' } });\n        }\n      });\n      ```\n       Moreover, you can filter attributes on related models as well. If a `post` has a `belongsTo` relationship to a user,\n      just include the relationship key and attributes.\n       ```app/routes/post.js\n      import Route from '@ember/routing/route';\n      export default Route.extend({\n        model(params) {\n          return this.store.findRecord('post', params.post_id, { adapterOptions: { fields: { post: 'body,title', user: 'name,email' } });\n        }\n      });\n      ```\n       @since 1.13.0\n      @method findRecord\n      @public\n      @param {String|object} modelName - either a string representing the modelName or a ResourceIdentifier object containing both the type (a string) and the id (a string) for the record or an lid (a string) of an existing record\n      @param {(String|Integer|Object)} id - optional object with options for the request only if the first param is a ResourceIdentifier, else the string id of the record to be retrieved\n      @param {Object} [options] - if the first param is a string this will be the optional options for the request. See examples for available options.\n      @return {Promise} promise\n    */\n\n    findRecord(resource, id, options) {\n      (false && !(resource) && (0, _debug.assert)(`You need to pass a modelName or resource identifier as the first argument to the store's findRecord method`, resource));\n      if (isMaybeIdentifier(resource)) {\n        options = id;\n      } else {\n        (false && !(typeof resource === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${resource}`, typeof resource === 'string'));\n        const type = normalizeModelName$1(resource);\n        const normalizedId = ensureStringId(id);\n        resource = constructResource(type, normalizedId);\n      }\n      const identifier = this.identifierCache.getOrCreateRecordIdentifier(resource);\n      options = options || {};\n      if (options.preload) {\n        // force reload if we preload to ensure we don't resolve the promise\n        // until we are complete, else we will end up background-reloading\n        // even for initial load.\n        if (!this._instanceCache.recordIsLoaded(identifier)) {\n          options.reload = true;\n        }\n        this._join(() => {\n          preloadData(this, identifier, options.preload);\n        });\n      }\n      const promise = this.request({\n        op: 'findRecord',\n        data: {\n          record: identifier,\n          options\n        },\n        cacheOptions: {\n          [SkipCache]: true\n        }\n      });\n      {\n        return promiseObject(promise.then(document => {\n          return document.content;\n        }));\n      }\n      return promise.then(document => {\n        return document.content;\n      });\n    }\n\n    /**\n      Get the reference for the specified record.\n       Example\n       ```javascript\n      let userRef = store.getReference('user', 1);\n       // check if the user is loaded\n      let isLoaded = userRef.value() !== null;\n       // get the record of the reference (null if not yet available)\n      let user = userRef.value();\n       // get the identifier of the reference\n      if (userRef.remoteType() === 'id') {\n      let id = userRef.id();\n      }\n       // load user (via store.find)\n      userRef.load().then(...)\n       // or trigger a reload\n      userRef.reload().then(...)\n       // provide data for reference\n      userRef.push({ id: 1, username: '@user' }).then(function(user) {\n        userRef.value() === user;\n      });\n      ```\n       @method getReference\n      @public\n      @param {String|object} resource - modelName (string) or Identifier (object)\n      @param {String|Integer} id\n      @since 2.5.0\n      @return {RecordReference}\n    */\n    // TODO @deprecate getReference (and references generally)\n    getReference(resource, id) {\n      let resourceIdentifier;\n      if (arguments.length === 1 && isMaybeIdentifier(resource)) {\n        resourceIdentifier = resource;\n      } else {\n        const type = normalizeModelName$1(resource);\n        const normalizedId = ensureStringId(id);\n        resourceIdentifier = constructResource(type, normalizedId);\n      }\n      (false && !(isMaybeIdentifier(resourceIdentifier)) && (0, _debug.assert)('getReference expected to receive either a resource identifier or type and id as arguments', isMaybeIdentifier(resourceIdentifier)));\n      let identifier = this.identifierCache.getOrCreateRecordIdentifier(resourceIdentifier);\n      return this._instanceCache.getReference(identifier);\n    }\n\n    /**\n      Get a record by a given type and ID without triggering a fetch.\n       This method will synchronously return the record if it is available in the store,\n      otherwise it will return `null`. A record is available if it has been fetched earlier, or\n      pushed manually into the store.\n       See [findRecord](../methods/findRecord?anchor=findRecord) if you would like to request this record from the backend.\n       _Note: This is a synchronous method and does not return a promise._\n       **Example 1**\n       ```js\n      let post = store.peekRecord('post', 1);\n       post.id; // 1\n      ```\n       `peekRecord` can be called with a single identifier argument instead of the combination\n      of `type` (modelName) and `id` as separate arguments. You may recognize this combo as\n      the typical pairing from [JSON:API](https://jsonapi.org/format/#document-resource-object-identification)\n       **Example 2**\n       ```js\n      let post = store.peekRecord({ type: 'post', id });\n      post.id; // 1\n      ```\n       If you have previously received an lid from an Identifier for this record, you can lookup the record again using\n      just the lid.\n       **Example 3**\n       ```js\n      let post = store.peekRecord({ lid });\n      post.id; // 1\n      ```\n        @since 1.13.0\n      @method peekRecord\n      @public\n      @param {String|object} modelName - either a string representing the modelName or a ResourceIdentifier object containing both the type (a string) and the id (a string) for the record or an lid (a string) of an existing record\n      @param {String|Integer} id - optional only if the first param is a ResourceIdentifier, else the string id of the record to be retrieved.\n      @return {Model|null} record\n    */\n\n    peekRecord(identifier, id) {\n      if (arguments.length === 1 && isMaybeIdentifier(identifier)) {\n        const stableIdentifier = this.identifierCache.peekRecordIdentifier(identifier);\n        const isLoaded = stableIdentifier && this._instanceCache.recordIsLoaded(stableIdentifier);\n        // TODO come up with a better mechanism for determining if we have data and could peek.\n        // this is basically an \"are we not empty\" query.\n        return isLoaded ? this._instanceCache.getRecord(stableIdentifier) : null;\n      }\n      (false && !(identifier) && (0, _debug.assert)(`You need to pass a model name to the store's peekRecord method`, identifier));\n      (false && !(typeof identifier === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${identifier}`, typeof identifier === 'string'));\n      const type = normalizeModelName$1(identifier);\n      const normalizedId = ensureStringId(id);\n      const resource = {\n        type,\n        id: normalizedId\n      };\n      const stableIdentifier = this.identifierCache.peekRecordIdentifier(resource);\n      const isLoaded = stableIdentifier && this._instanceCache.recordIsLoaded(stableIdentifier);\n      return isLoaded ? this._instanceCache.getRecord(stableIdentifier) : null;\n    }\n\n    /**\n     This method returns true if a record for a given modelName and id is already\n     loaded in the store. Use this function to know beforehand if a findRecord()\n     will result in a request or that it will be a cache hit.\n      Example\n      ```javascript\n     store.hasRecordForId('post', 1); // false\n     store.findRecord('post', 1).then(function() {\n       store.hasRecordForId('post', 1); // true\n     });\n     ```\n       @method hasRecordForId\n      @deprecated\n      @public\n      @param {String} modelName\n      @param {(String|Integer)} id\n      @return {Boolean}\n    */\n    hasRecordForId(modelName, id) {\n      {\n        (false && !(false) && (0, _debug.deprecate)(`store.hasRecordForId has been deprecated in favor of store.peekRecord`, false, {\n          id: 'ember-data:deprecate-has-record-for-id',\n          since: {\n            available: '4.5',\n            enabled: '4.5'\n          },\n          until: '5.0',\n          for: 'ember-data'\n        }));\n        (false && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's hasRecordForId method`, modelName));\n        (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n        const type = normalizeModelName$1(modelName);\n        const trueId = ensureStringId(id);\n        const resource = {\n          type,\n          id: trueId\n        };\n        const identifier = this.identifierCache.peekRecordIdentifier(resource);\n        return Boolean(identifier && this._instanceCache.recordIsLoaded(identifier));\n      }\n      (false && !(false) && (0, _debug.assert)(`store.hasRecordForId has been removed`));\n    }\n\n    /**\n      This method delegates a query to the adapter. This is the one place where\n      adapter-level semantics are exposed to the application.\n       Each time this method is called a new request is made through the adapter.\n       Exposing queries this way seems preferable to creating an abstract query\n      language for all server-side queries, and then require all adapters to\n      implement them.\n       ---\n       If you do something like this:\n       ```javascript\n      store.query('person', { page: 1 });\n      ```\n       The request made to the server will look something like this:\n       ```\n      GET \"/api/v1/person?page=1\"\n      ```\n       ---\n       If you do something like this:\n       ```javascript\n      store.query('person', { ids: [1, 2, 3] });\n      ```\n       The request made to the server will look something like this:\n       ```\n      GET \"/api/v1/person?ids%5B%5D=1&ids%5B%5D=2&ids%5B%5D=3\"\n      decoded: \"/api/v1/person?ids[]=1&ids[]=2&ids[]=3\"\n      ```\n       This method returns a promise, which is resolved with a\n      [`Collection`](/ember-data/release/classes/Collection)\n      once the server returns.\n       @since 1.13.0\n      @method query\n      @public\n      @param {String} modelName\n      @param {any} query an opaque query to be used by the adapter\n      @param {Object} options optional, may include `adapterOptions` hash which will be passed to adapter.query\n      @return {Promise} promise\n    */\n    query(modelName, query, options) {\n      (false && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's query method`, modelName));\n      (false && !(query) && (0, _debug.assert)(`You need to pass a query hash to the store's query method`, query));\n      (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      const promise = this.request({\n        op: 'query',\n        data: {\n          type: normalizeModelName$1(modelName),\n          query,\n          options: options || {}\n        },\n        cacheOptions: {\n          [SkipCache]: true\n        }\n      });\n      {\n        return promiseArray(promise.then(document => document.content));\n      }\n      return promise.then(document => document.content);\n    }\n\n    /**\n      This method makes a request for one record, where the `id` is not known\n      beforehand (if the `id` is known, use [`findRecord`](../methods/findRecord?anchor=findRecord)\n      instead).\n       This method can be used when it is certain that the server will return a\n      single object for the primary data.\n       Each time this method is called a new request is made through the adapter.\n       Let's assume our API provides an endpoint for the currently logged in user\n      via:\n       ```\n      // GET /api/current_user\n      {\n        user: {\n          id: 1234,\n          username: 'admin'\n        }\n      }\n      ```\n       Since the specific `id` of the `user` is not known beforehand, we can use\n      `queryRecord` to get the user:\n       ```javascript\n      store.queryRecord('user', {}).then(function(user) {\n        let username = user.username;\n        // do thing\n      });\n      ```\n       The request is made through the adapters' `queryRecord`:\n       ```app/adapters/user.js\n      import Adapter from '@ember-data/adapter';\n      import $ from 'jquery';\n       export default class UserAdapter extends Adapter {\n        queryRecord(modelName, query) {\n          return $.getJSON('/api/current_user');\n        }\n      }\n      ```\n       Note: the primary use case for `store.queryRecord` is when a single record\n      is queried and the `id` is not known beforehand. In all other cases\n      `store.query` and using the first item of the array is likely the preferred\n      way:\n       ```\n      // GET /users?username=unique\n      {\n        data: [{\n          id: 1234,\n          type: 'user',\n          attributes: {\n            username: \"unique\"\n          }\n        }]\n      }\n      ```\n       ```javascript\n      store.query('user', { username: 'unique' }).then(function(users) {\n        return users.firstObject;\n      }).then(function(user) {\n        let id = user.id;\n      });\n      ```\n       This method returns a promise, which resolves with the found record.\n       If the adapter returns no data for the primary data of the payload, then\n      `queryRecord` resolves with `null`:\n       ```\n      // GET /users?username=unique\n      {\n        data: null\n      }\n      ```\n       ```javascript\n      store.queryRecord('user', { username: 'unique' }).then(function(user) {\n         // user is null\n      });\n      ```\n       @since 1.13.0\n      @method queryRecord\n      @public\n      @param {String} modelName\n      @param {any} query an opaque query to be used by the adapter\n      @param {Object} options optional, may include `adapterOptions` hash which will be passed to adapter.queryRecord\n      @return {Promise} promise which resolves with the found record or `null`\n    */\n    queryRecord(modelName, query, options) {\n      (false && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's queryRecord method`, modelName));\n      (false && !(query) && (0, _debug.assert)(`You need to pass a query hash to the store's queryRecord method`, query));\n      (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      const promise = this.request({\n        op: 'queryRecord',\n        data: {\n          type: normalizeModelName$1(modelName),\n          query,\n          options: options || {}\n        },\n        cacheOptions: {\n          [SkipCache]: true\n        }\n      });\n      {\n        return promiseObject(promise.then(document => document.content));\n      }\n      return promise.then(document => document.content);\n    }\n\n    /**\n      `findAll` asks the adapter's `findAll` method to find the records for the\n      given type, and returns a promise which will resolve with all records of\n      this type present in the store, even if the adapter only returns a subset\n      of them.\n       ```app/routes/authors.js\n      import Route from '@ember/routing/route';\n       export default class AuthorsRoute extends Route {\n        model(params) {\n          return this.store.findAll('author');\n        }\n      }\n      ```\n       _When_ the returned promise resolves depends on the reload behavior,\n      configured via the passed `options` hash and the result of the adapter's\n      `shouldReloadAll` method.\n       ### Reloading\n       If `{ reload: true }` is passed or `adapter.shouldReloadAll` evaluates to\n      `true`, then the returned promise resolves once the adapter returns data,\n      regardless if there are already records in the store:\n       ```js\n      store.push({\n        data: {\n          id: 'first',\n          type: 'author'\n        }\n      });\n       // adapter#findAll resolves with\n      // [\n      //   {\n      //     id: 'second',\n      //     type: 'author'\n      //   }\n      // ]\n      store.findAll('author', { reload: true }).then(function(authors) {\n        authors.getEach('id'); // ['first', 'second']\n      });\n      ```\n       If no reload is indicated via the above mentioned ways, then the promise\n      immediately resolves with all the records currently loaded in the store.\n       ### Background Reloading\n       Optionally, if `adapter.shouldBackgroundReloadAll` evaluates to `true`,\n      then a background reload is started. Once this resolves, the array with\n      which the promise resolves, is updated automatically so it contains all the\n      records in the store:\n       ```app/adapters/application.js\n      import Adapter from '@ember-data/adapter';\n       export default class ApplicationAdapter extends Adapter {\n        shouldReloadAll(store, snapshotsArray) {\n          return false;\n        },\n         shouldBackgroundReloadAll(store, snapshotsArray) {\n          return true;\n        }\n      });\n       // ...\n       store.push({\n        data: {\n          id: 'first',\n          type: 'author'\n        }\n      });\n       let allAuthors;\n      store.findAll('author').then(function(authors) {\n        authors.getEach('id'); // ['first']\n         allAuthors = authors;\n      });\n       // later, once adapter#findAll resolved with\n      // [\n      //   {\n      //     id: 'second',\n      //     type: 'author'\n      //   }\n      // ]\n       allAuthors.getEach('id'); // ['first', 'second']\n      ```\n       If you would like to force or prevent background reloading, you can set a\n      boolean value for `backgroundReload` in the options object for\n      `findAll`.\n       ```app/routes/post/edit.js\n      import Route from '@ember/routing/route';\n       export default class PostEditRoute extends Route {\n        model() {\n          return this.store.findAll('post', { backgroundReload: false });\n        }\n      }\n      ```\n       If you pass an object on the `adapterOptions` property of the options\n      argument it will be passed to you adapter via the `snapshotRecordArray`\n       ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n       export default class PostsRoute extends Route {\n        model(params) {\n          return this.store.findAll('post', {\n            adapterOptions: { subscribe: false }\n          });\n        }\n      }\n      ```\n       ```app/adapters/post.js\n      import MyCustomAdapter from './custom-adapter';\n       export default class UserAdapter extends MyCustomAdapter {\n        findAll(store, type, sinceToken, snapshotRecordArray) {\n          if (snapshotRecordArray.adapterOptions.subscribe) {\n            // ...\n          }\n          // ...\n        }\n      }\n      ```\n       See [peekAll](../methods/peekAll?anchor=peekAll) to get an array of current records in the\n      store, without waiting until a reload is finished.\n       ### Retrieving Related Model Records\n       If you use an adapter such as Ember's default\n      [`JSONAPIAdapter`](/ember-data/release/classes/JSONAPIAdapter)\n      that supports the [JSON API specification](http://jsonapi.org/) and if your server\n      endpoint supports the use of an\n      ['include' query parameter](http://jsonapi.org/format/#fetching-includes),\n      you can use `findAll()` to automatically retrieve additional records related to\n      those requested by supplying an `include` parameter in the `options` object.\n       For example, given a `post` model that has a `hasMany` relationship with a `comment`\n      model, when we retrieve all of the post records we can have the server also return\n      all of the posts' comments in the same request:\n       ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n       export default class PostsRoute extends Route {\n        model() {\n          return this.store.findAll('post', { include: 'comments' });\n        }\n      }\n      ```\n      Multiple relationships can be requested using an `include` parameter consisting of a\n      comma-separated list (without white-space) while nested relationships can be specified\n      using a dot-separated sequence of relationship names. So to request both the posts'\n      comments and the authors of those comments the request would look like this:\n       ```app/routes/posts.js\n      import Route from '@ember/routing/route';\n       export default class PostsRoute extends Route {\n        model() {\n          return this.store.findAll('post', { include: 'comments,comments.author' });\n        }\n      }\n      ```\n       See [query](../methods/query?anchor=query) to only get a subset of records from the server.\n       @since 1.13.0\n      @method findAll\n      @public\n      @param {String} modelName\n      @param {Object} options\n      @return {Promise} promise\n    */\n    findAll(modelName, options = {}) {\n      (false && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's findAll method`, modelName));\n      (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      const promise = this.request({\n        op: 'findAll',\n        data: {\n          type: normalizeModelName$1(modelName),\n          options: options || {}\n        },\n        cacheOptions: {\n          [SkipCache]: true\n        }\n      });\n      {\n        return promiseArray(promise.then(document => document.content));\n      }\n      return promise.then(document => document.content);\n    }\n\n    /**\n      This method returns a filtered array that contains all of the\n      known records for a given type in the store.\n       Note that because it's just a filter, the result will contain any\n      locally created records of the type, however, it will not make a\n      request to the backend to retrieve additional records. If you\n      would like to request all the records from the backend please use\n      [store.findAll](../methods/findAll?anchor=findAll).\n       Also note that multiple calls to `peekAll` for a given type will always\n      return the same `RecordArray`.\n       Example\n       ```javascript\n      let localPosts = store.peekAll('post');\n      ```\n       @since 1.13.0\n      @method peekAll\n      @public\n      @param {String} modelName\n      @return {RecordArray}\n    */\n    peekAll(modelName) {\n      (false && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's peekAll method`, modelName));\n      (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      let type = normalizeModelName$1(modelName);\n      return this.recordArrayManager.liveArrayFor(type);\n    }\n\n    /**\n      This method unloads all records in the store.\n      It schedules unloading to happen during the next run loop.\n       Optionally you can pass a type which unload all records for a given type.\n       ```javascript\n      store.unloadAll();\n      store.unloadAll('post');\n      ```\n       @method unloadAll\n      @public\n      @param {String} modelName\n    */\n    unloadAll(modelName) {\n      (false && !(!modelName || typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, !modelName || typeof modelName === 'string'));\n      this._join(() => {\n        if (modelName === undefined) {\n          // destroy the graph before unloadAll\n          // since then we avoid churning relationships\n          // during unload\n          {\n            const peekGraph = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).peekGraph;\n            const graph = peekGraph(this);\n            if (graph) {\n              graph.identifiers.clear();\n            }\n          }\n          this.recordArrayManager.clear();\n          this._instanceCache.clear();\n        } else {\n          let normalizedModelName = normalizeModelName$1(modelName);\n          this._instanceCache.clear(normalizedModelName);\n        }\n      });\n    }\n\n    /**\n      Push some data for a given type into the store.\n       This method expects normalized [JSON API](http://jsonapi.org/) document. This means you have to follow [JSON API specification](http://jsonapi.org/format/) with few minor adjustments:\n      - record's `type` should always be in singular, dasherized form\n      - members (properties) should be camelCased\n       [Your primary data should be wrapped inside `data` property](http://jsonapi.org/format/#document-top-level):\n       ```js\n      store.push({\n        data: {\n          // primary data for single record of type `Person`\n          id: '1',\n          type: 'person',\n          attributes: {\n            firstName: 'Daniel',\n            lastName: 'Kmak'\n          }\n        }\n      });\n      ```\n       [Demo.](http://ember-twiddle.com/fb99f18cd3b4d3e2a4c7)\n       `data` property can also hold an array (of records):\n       ```js\n      store.push({\n        data: [\n          // an array of records\n          {\n            id: '1',\n            type: 'person',\n            attributes: {\n              firstName: 'Daniel',\n              lastName: 'Kmak'\n            }\n          },\n          {\n            id: '2',\n            type: 'person',\n            attributes: {\n              firstName: 'Tom',\n              lastName: 'Dale'\n            }\n          }\n        ]\n      });\n      ```\n       [Demo.](http://ember-twiddle.com/69cdbeaa3702159dc355)\n       There are some typical properties for `JSONAPI` payload:\n      * `id` - mandatory, unique record's key\n      * `type` - mandatory string which matches `model`'s dasherized name in singular form\n      * `attributes` - object which holds data for record attributes - `attr`'s declared in model\n      * `relationships` - object which must contain any of the following properties under each relationships' respective key (example path is `relationships.achievements.data`):\n        - [`links`](http://jsonapi.org/format/#document-links)\n        - [`data`](http://jsonapi.org/format/#document-resource-object-linkage) - place for primary data\n        - [`meta`](http://jsonapi.org/format/#document-meta) - object which contains meta-information about relationship\n       For this model:\n       ```app/models/person.js\n      import Model, { attr, hasMany } from '@ember-data/model';\n       export default class PersonRoute extends Route {\n        @attr('string') firstName;\n        @attr('string') lastName;\n         @hasMany('person') children;\n      }\n      ```\n       To represent the children as IDs:\n       ```js\n      {\n        data: {\n          id: '1',\n          type: 'person',\n          attributes: {\n            firstName: 'Tom',\n            lastName: 'Dale'\n          },\n          relationships: {\n            children: {\n              data: [\n                {\n                  id: '2',\n                  type: 'person'\n                },\n                {\n                  id: '3',\n                  type: 'person'\n                },\n                {\n                  id: '4',\n                  type: 'person'\n                }\n              ]\n            }\n          }\n        }\n      }\n      ```\n       [Demo.](http://ember-twiddle.com/343e1735e034091f5bde)\n       To represent the children relationship as a URL:\n       ```js\n      {\n        data: {\n          id: '1',\n          type: 'person',\n          attributes: {\n            firstName: 'Tom',\n            lastName: 'Dale'\n          },\n          relationships: {\n            children: {\n              links: {\n                related: '/people/1/children'\n              }\n            }\n          }\n        }\n      }\n      ```\n       If you're streaming data or implementing an adapter, make sure\n      that you have converted the incoming data into this form. The\n      store's [normalize](../methods/normalize?anchor=normalize) method is a convenience\n      helper for converting a json payload into the form Ember Data\n      expects.\n       ```js\n      store.push(store.normalize('person', data));\n      ```\n       This method can be used both to push in brand new\n      records, as well as to update existing records.\n       @method push\n      @public\n      @param {Object} data\n      @return the record(s) that was created or\n        updated.\n    */\n\n    push(data) {\n      let pushed = this._push(data, false);\n      if (Array.isArray(pushed)) {\n        let records = pushed.map(identifier => this._instanceCache.getRecord(identifier));\n        return records;\n      }\n      if (pushed === null) {\n        return null;\n      }\n      return this._instanceCache.getRecord(pushed);\n    }\n\n    /**\n      Push some data in the form of a json-api document into the store,\n      without creating materialized records.\n       @method _push\n      @private\n      @param {Object} jsonApiDoc\n      @return {StableRecordIdentifier|Array<StableRecordIdentifier>} identifiers for the primary records that had data loaded\n    */\n    _push(jsonApiDoc, asyncFlush) {\n      if (asyncFlush) {\n        this._enableAsyncFlush = true;\n      }\n      let ret;\n      this._join(() => {\n        {\n          ret = legacyCachePut(this, {\n            content: jsonApiDoc\n          });\n        }\n      });\n      this._enableAsyncFlush = null;\n      return ret.data;\n    }\n\n    /**\n      Push some raw data into the store.\n       This method can be used both to push in brand new\n      records, as well as to update existing records. You\n      can push in more than one type of object at once.\n      All objects should be in the format expected by the\n      serializer.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n       export default class ApplicationSerializer extends RESTSerializer;\n      ```\n       ```js\n      let pushData = {\n        posts: [\n          { id: 1, postTitle: \"Great post\", commentIds: [2] }\n        ],\n        comments: [\n          { id: 2, commentBody: \"Insightful comment\" }\n        ]\n      }\n       store.pushPayload(pushData);\n      ```\n       By default, the data will be deserialized using a default\n      serializer (the application serializer if it exists).\n       Alternatively, `pushPayload` will accept a model type which\n      will determine which serializer will process the payload.\n       ```app/serializers/application.js\n      import RESTSerializer from '@ember-data/serializer/rest';\n        export default class ApplicationSerializer extends RESTSerializer;\n      ```\n       ```app/serializers/post.js\n      import JSONSerializer from '@ember-data/serializer/json';\n       export default JSONSerializer;\n      ```\n       ```js\n      store.pushPayload(pushData); // Will use the application serializer\n      store.pushPayload('post', pushData); // Will use the post serializer\n      ```\n       @method pushPayload\n      @public\n      @param {String} modelName Optionally, a model type used to determine which serializer will be used\n      @param {Object} inputPayload\n    */\n    // TODO @runspired @deprecate pushPayload in favor of looking up the serializer\n    pushPayload(modelName, inputPayload) {\n      let serializer;\n      let payload;\n      if (!inputPayload) {\n        payload = modelName;\n        serializer = this.serializerFor('application');\n        (false && !(typeof serializer.pushPayload === 'function') && (0, _debug.assert)(`You cannot use 'store#pushPayload' without a modelName unless your default serializer defines 'pushPayload'`, typeof serializer.pushPayload === 'function'));\n      } else {\n        payload = inputPayload;\n        (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n        let normalizedModelName = normalizeModelName$1(modelName);\n        serializer = this.serializerFor(normalizedModelName);\n      }\n      (false && !(serializer.pushPayload) && (0, _debug.assert)(`You must define a pushPayload method in your serializer in order to call store.pushPayload`, serializer.pushPayload));\n      serializer.pushPayload(this, payload);\n    }\n\n    // TODO @runspired @deprecate records should implement their own serialization if desired\n    serializeRecord(record, options) {\n      // TODO we used to check if the record was destroyed here\n      {\n        if (!this._fetchManager) {\n          const FetchManager = (0, _esCompat.default)(require(\"@ember-data/legacy-compat/-private\")).FetchManager;\n          this._fetchManager = new FetchManager(this);\n        }\n        return this._fetchManager.createSnapshot(recordIdentifierFor(record)).serialize(options);\n      }\n      (false && !(false) && (0, _debug.assert)(`Store.serializeRecord is only available when utilizing @ember-data/legacy-compat for legacy compatibility`));\n    }\n\n    /**\n     * Trigger a save for a Record.\n     *\n     * @method saveRecord\n     * @public\n     * @param {RecordInstance} record\n     * @param options\n     * @returns {Promise<RecordInstance>}\n     */\n    saveRecord(record, options = {}) {\n      (false && !(storeFor(record)) && (0, _debug.assert)(`Unable to initate save for a record in a disconnected state`, storeFor(record)));\n      let identifier = recordIdentifierFor(record);\n      const cache = identifier && this._instanceCache.peek({\n        identifier,\n        bucket: 'resourceCache'\n      });\n      if (!cache) {\n        // this commonly means we're disconnected\n        // but just in case we reject here to prevent bad things.\n        return Promise.reject(`Record Is Disconnected`);\n      }\n      // TODO we used to check if the record was destroyed here\n      (false && !(cache && this._instanceCache.recordIsLoaded(identifier)) && (0, _debug.assert)(`Cannot initiate a save request for an unloaded record: ${identifier}`, cache && this._instanceCache.recordIsLoaded(identifier)));\n      if (resourceIsFullyDeleted(this._instanceCache, identifier)) {\n        return Promise.resolve(record);\n      }\n      if (isDSModel(record)) {\n        record.errors.clear();\n      }\n      if (!options) {\n        options = {};\n      }\n      let operation = 'updateRecord';\n      if (cache.isNew(identifier)) {\n        operation = 'createRecord';\n      } else if (cache.isDeleted(identifier)) {\n        operation = 'deleteRecord';\n      }\n      const request = {\n        op: operation,\n        data: {\n          options,\n          record: identifier\n        },\n        cacheOptions: {\n          [SkipCache]: true\n        }\n      };\n      return this.request(request).then(document => document.content);\n    }\n\n    /**\n     * Instantiation hook allowing applications or addons to configure the store\n     * to utilize a custom Cache implementation.\n     *\n     * This hook should not be called directly by consuming applications or libraries.\n     * Use `Store.cache` to access the Cache instance.\n     *\n     * @method createCache (hook)\n     * @public\n     * @param storeWrapper\n     * @returns {Cache}\n     */\n    createCache(storeWrapper) {\n      {\n        if (_Cache === undefined) {\n          _Cache = (0, _esCompat.default)(require(\"@ember-data/json-api\")).default;\n        }\n        return new _Cache(storeWrapper);\n      }\n      (false && !(false) && (0, _debug.assert)(`Expected store.createCache to be implemented but it wasn't`));\n    }\n\n    /**\n     * Returns the cache instance associated to this Store, instantiates the Cache\n     * if necessary via `Store.createCache`\n     *\n     * @property {Cache} cache\n     * @public\n     */\n    get cache() {\n      let {\n        cache\n      } = this._instanceCache;\n      if (!cache) {\n        cache = this._instanceCache.cache = this.createCache(this._instanceCache._storeWrapper);\n      }\n      return cache;\n    }\n\n    /**\n     * [DEPRECATED] use Store.createCache\n     *\n     * Instantiation hook allowing applications or addons to configure the store\n     * to utilize a custom RecordData implementation.\n     *\n     * @method createRecordDataFor (hook)\n     * @deprecated\n     * @public\n     * @param identifier\n     * @param storeWrapper\n     * @returns {Cache}\n     */\n\n    /**\n      `normalize` converts a json payload into the normalized form that\n      [push](../methods/push?anchor=push) expects.\n       Example\n       ```js\n      socket.on('message', function(message) {\n        let modelName = message.model;\n        let data = message.data;\n        store.push(store.normalize(modelName, data));\n      });\n      ```\n       @method normalize\n      @public\n      @param {String} modelName The name of the model type for this payload\n      @param {Object} payload\n      @return {Object} The normalized payload\n    */\n    // TODO @runspired @deprecate users should call normalize on the associated serializer directly\n    normalize(modelName, payload) {\n      (false && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's normalize method`, modelName));\n      (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store methods has been removed. Please pass a dasherized string instead of ${typeof modelName}`, typeof modelName === 'string'));\n      let normalizedModelName = normalizeModelName$1(modelName);\n      let serializer = this.serializerFor(normalizedModelName);\n      let model = this.modelFor(normalizedModelName);\n      (false && !(serializer?.normalize) && (0, _debug.assert)(`You must define a normalize method in your serializer in order to call store.normalize`, serializer?.normalize));\n      return serializer.normalize(model, payload);\n    }\n\n    /**\n      Returns an instance of the adapter for a given type. For\n      example, `adapterFor('person')` will return an instance of\n      the adapter located at `app/adapters/person.js`\n       If no `person` adapter is found, this method will look\n      for an `application` adapter (the default adapter for\n      your entire application).\n       @method adapterFor\n      @public\n      @param {String} modelName\n      @return Adapter\n    */\n    adapterFor(modelName) {\n      (false && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's adapterFor method`, modelName));\n      (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store.adapterFor has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      let normalizedModelName = normalizeModelName$1(modelName);\n      let {\n        _adapterCache\n      } = this;\n      let adapter = _adapterCache[normalizedModelName];\n      if (adapter) {\n        return adapter;\n      }\n      let owner = (0, _application.getOwner)(this);\n\n      // name specific adapter\n      adapter = owner.lookup(`adapter:${normalizedModelName}`);\n      if (adapter !== undefined) {\n        _adapterCache[normalizedModelName] = adapter;\n        return adapter;\n      }\n\n      // no adapter found for the specific name, fallback and check for application adapter\n      adapter = _adapterCache.application || owner.lookup('adapter:application');\n      if (adapter !== undefined) {\n        _adapterCache[normalizedModelName] = adapter;\n        _adapterCache.application = adapter;\n        return adapter;\n      }\n      {\n        // final fallback, no model specific adapter, no application adapter, no\n        // `adapter` property on store: use json-api adapter\n        adapter = _adapterCache['-json-api'] || owner.lookup('adapter:-json-api');\n        if (adapter !== undefined) {\n          (false && !(false) && (0, _debug.deprecate)(`Your application is utilizing a deprecated hidden fallback adapter (-json-api). Please implement an application adapter to function as your fallback.`, false, {\n            id: 'ember-data:deprecate-secret-adapter-fallback',\n            for: 'ember-data',\n            until: '5.0',\n            since: {\n              available: '4.5',\n              enabled: '4.5'\n            }\n          }));\n          _adapterCache[normalizedModelName] = adapter;\n          _adapterCache['-json-api'] = adapter;\n          return adapter;\n        }\n      }\n      (false && !(false) && (0, _debug.assert)(`No adapter was found for '${modelName}' and no 'application' adapter was found as a fallback.`));\n    }\n\n    /**\n      Returns an instance of the serializer for a given type. For\n      example, `serializerFor('person')` will return an instance of\n      `App.PersonSerializer`.\n       If no `App.PersonSerializer` is found, this method will look\n      for an `App.ApplicationSerializer` (the default serializer for\n      your entire application).\n       If a serializer cannot be found on the adapter, it will fall back\n      to an instance of `JSONSerializer`.\n       @method serializerFor\n      @public\n      @param {String} modelName the record to serialize\n      @return {Serializer}\n    */\n    serializerFor(modelName) {\n      (false && !(modelName) && (0, _debug.assert)(`You need to pass a model name to the store's serializerFor method`, modelName));\n      (false && !(typeof modelName === 'string') && (0, _debug.assert)(`Passing classes to store.serializerFor has been removed. Please pass a dasherized string instead of ${modelName}`, typeof modelName === 'string'));\n      let normalizedModelName = normalizeModelName$1(modelName);\n      let {\n        _serializerCache\n      } = this;\n      let serializer = _serializerCache[normalizedModelName];\n      if (serializer) {\n        return serializer;\n      }\n      let owner = (0, _application.getOwner)(this);\n\n      // by name\n      serializer = owner.lookup(`serializer:${normalizedModelName}`);\n      if (serializer !== undefined) {\n        _serializerCache[normalizedModelName] = serializer;\n        return serializer;\n      }\n\n      // no serializer found for the specific model, fallback and check for application serializer\n      serializer = _serializerCache.application || owner.lookup('serializer:application');\n      if (serializer !== undefined) {\n        _serializerCache[normalizedModelName] = serializer;\n        _serializerCache.application = serializer;\n        return serializer;\n      }\n      return null;\n    }\n\n    // @ts-expect-error\n    destroy() {\n      if (this.isDestroyed) {\n        // @ember/test-helpers will call destroy multiple times\n        return;\n      }\n      this.isDestroying = true;\n      // enqueue destruction of any adapters/serializers we have created\n      for (let adapterName in this._adapterCache) {\n        let adapter = this._adapterCache[adapterName];\n        if (typeof adapter.destroy === 'function') {\n          adapter.destroy();\n        }\n      }\n      for (let serializerName in this._serializerCache) {\n        let serializer = this._serializerCache[serializerName];\n        if (typeof serializer.destroy === 'function') {\n          serializer.destroy();\n        }\n      }\n      {\n        const peekGraph = (0, _esCompat.default)(require(\"@ember-data/graph/-private\")).peekGraph;\n        let graph = peekGraph(this);\n        if (graph) {\n          graph.destroy();\n        }\n      }\n      this.notifications.destroy();\n      this.recordArrayManager.destroy();\n      this.identifierCache.destroy();\n      this.unloadAll();\n      this.isDestroyed = true;\n    }\n    static create(args) {\n      return new this(args);\n    }\n  }\n  _exports.S = Store;\n  let assertDestroyingStore;\n  let assertDestroyedStoreOnly;\n  function isMaybeIdentifier(maybeIdentifier) {\n    return Boolean(maybeIdentifier !== null && typeof maybeIdentifier === 'object' && ('id' in maybeIdentifier && 'type' in maybeIdentifier && maybeIdentifier.id && maybeIdentifier.type || maybeIdentifier.lid));\n  }\n  function isDSModel(record) {\n    return !!record && 'constructor' in record && 'isModel' in record.constructor && record.constructor.isModel === true;\n  }\n  function normalizeProperties(store, identifier, properties, isForV1 = false) {\n    // assert here\n    if (properties !== undefined) {\n      if ('id' in properties) {\n        (false && !(properties.id !== undefined) && (0, _debug.assert)(`expected id to be a string or null`, properties.id !== undefined));\n      }\n      (false && !(typeof properties === 'object' && properties !== null) && (0, _debug.assert)(`You passed '${typeof properties}' as properties for record creation instead of an object.`, typeof properties === 'object' && properties !== null));\n      const {\n        type\n      } = identifier;\n\n      // convert relationship Records to RecordDatas before passing to RecordData\n      let defs = store.getSchemaDefinitionService().relationshipsDefinitionFor({\n        type\n      });\n      if (defs !== null) {\n        let keys = Object.keys(properties);\n        let relationshipValue;\n        for (let i = 0; i < keys.length; i++) {\n          let prop = keys[i];\n          let def = defs[prop];\n          if (def !== undefined) {\n            if (def.kind === 'hasMany') {\n              relationshipValue = extractIdentifiersFromRecords(properties[prop], isForV1);\n            } else {\n              relationshipValue = extractIdentifierFromRecord(properties[prop], isForV1);\n            }\n            properties[prop] = relationshipValue;\n          }\n        }\n      }\n    }\n    return properties;\n  }\n  function assertRecordsPassedToHasMany(records) {\n    (false && !(Array.isArray(records)) && (0, _debug.assert)(`You must pass an array of records to set a hasMany relationship`, Array.isArray(records)));\n    (false && !(function () {\n      return records.every(record => {\n        try {\n          recordIdentifierFor(record);\n          return true;\n        } catch {\n          return false;\n        }\n      });\n    }()) && (0, _debug.assert)(`All elements of a hasMany relationship must be instances of Model, you passed ${records.map(r => `${typeof r}`).join(', ')}`, function () {\n      return records.every(record => {\n        try {\n          recordIdentifierFor(record);\n          return true;\n        } catch {\n          return false;\n        }\n      });\n    }()));\n  }\n  function extractIdentifiersFromRecords(records, isForV1 = false) {\n    return records.map(record => extractIdentifierFromRecord(record, isForV1));\n  }\n  function extractIdentifierFromRecord(recordOrPromiseRecord, isForV1 = false) {\n    if (!recordOrPromiseRecord) {\n      return null;\n    }\n    const extract = isForV1 ? peekCache : recordIdentifierFor;\n    {\n      if (isPromiseRecord(recordOrPromiseRecord)) {\n        let content = recordOrPromiseRecord.content;\n        (false && !(content !== undefined) && (0, _debug.assert)('You passed in a promise that did not originate from an EmberData relationship. You can only pass promises that come from a belongsTo or hasMany relationship to the get call.', content !== undefined));\n        (false && !(false) && (0, _debug.deprecate)(`You passed in a PromiseProxy to a Relationship API that now expects a resolved value. await the value before setting it.`, false, {\n          id: 'ember-data:deprecate-promise-proxies',\n          until: '5.0',\n          since: {\n            enabled: '4.7',\n            available: '4.7'\n          },\n          for: 'ember-data'\n        }));\n        return content ? extract(content) : null;\n      }\n    }\n    return extract(recordOrPromiseRecord);\n  }\n  function isPromiseRecord(record) {\n    return !!record.then;\n  }\n  function secretInit(record, cache, identifier, store) {\n    setRecordIdentifier(record, identifier);\n    StoreMap.set(record, store);\n    setCacheFor(record, cache);\n  }\n  function normalizeModelName(modelName) {\n    {\n      (false && !(false) && (0, _debug.deprecate)(`the helper function normalizeModelName is deprecated. You should use model names that are already normalized, or use string helpers of your own. This function is primarily an alias for dasherize from @ember/string.`, false, {\n        id: 'ember-data:deprecate-normalize-modelname-helper',\n        for: 'ember-data',\n        until: '5.0',\n        since: {\n          available: '4.7',\n          enabled: '4.7'\n        }\n      }));\n      return normalizeModelName$1(modelName);\n    }\n    (false && !(false) && (0, _debug.assert)(`normalizeModelName support has been removed`));\n  }\n});","define(\"@ember-data/store/index\", [\"exports\", \"@ember-data/store/index-cc461d33\"], function (_exports, _indexCc461d) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"CacheHandler\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.C;\n    }\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.S;\n    }\n  });\n  Object.defineProperty(_exports, \"normalizeModelName\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.n;\n    }\n  });\n  Object.defineProperty(_exports, \"recordIdentifierFor\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.r;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierForgetMethod\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.c;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierGenerationMethod\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.a;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierResetMethod\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.d;\n    }\n  });\n  Object.defineProperty(_exports, \"setIdentifierUpdateMethod\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.b;\n    }\n  });\n  Object.defineProperty(_exports, \"storeFor\", {\n    enumerable: true,\n    get: function () {\n      return _indexCc461d.s;\n    }\n  });\n});","define(\"@ember-data/tracking/-private\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.addToTransaction = addToTransaction;\n  _exports.addTransactionCB = addTransactionCB;\n  _exports.memoTransact = memoTransact;\n  _exports.subscribe = subscribe;\n  _exports.transact = transact;\n  _exports.untracked = untracked;\n  /**\n   * This package provides primitives that allow powerful low-level\n   * adjustments to change tracking notification behaviors.\n   *\n   * Typically you want to use these primitives when you want to divorce\n   * property accesses on EmberData provided objects from the current\n   * tracking context. Typically this sort of thing occurs when serializing\n   * tracked data to send in a request: the data itself is often ancillary\n   * to the thing which triggered the request in the first place and you\n   * would not want to re-trigger the request for any update to the data.\n   *\n   * @module @ember-data/tracking\n   * @main @ember-data/tracking\n   */\n  let TRANSACTION = null;\n  function createTransaction() {\n    let transaction = {\n      cbs: new Set(),\n      props: new Set(),\n      sub: new Set(),\n      parent: null\n    };\n    if (TRANSACTION) {\n      transaction.parent = TRANSACTION;\n    }\n    TRANSACTION = transaction;\n  }\n  function subscribe(obj) {\n    if (TRANSACTION) {\n      TRANSACTION.sub.add(obj);\n    } else {\n      obj.ref;\n    }\n  }\n  function updateRef(obj) {\n    {\n      obj.ref = null;\n    }\n  }\n  function flushTransaction() {\n    let transaction = TRANSACTION;\n    TRANSACTION = transaction.parent;\n    transaction.cbs.forEach(cb => {\n      cb();\n    });\n    transaction.props.forEach(obj => {\n      // mark this mutation as part of a transaction\n      obj.t = true;\n      updateRef(obj);\n    });\n    transaction.sub.forEach(obj => {\n      obj.ref;\n    });\n  }\n  async function untrack() {\n    let transaction = TRANSACTION;\n    TRANSACTION = transaction.parent;\n\n    // defer writes\n    await Promise.resolve();\n    transaction.cbs.forEach(cb => {\n      cb();\n    });\n    transaction.props.forEach(obj => {\n      // mark this mutation as part of a transaction\n      obj.t = true;\n      updateRef(obj);\n    });\n  }\n  function addToTransaction(obj) {\n    if (TRANSACTION) {\n      TRANSACTION.props.add(obj);\n    } else {\n      updateRef(obj);\n    }\n  }\n  function addTransactionCB(method) {\n    if (TRANSACTION) {\n      TRANSACTION.cbs.add(method);\n    } else {\n      method();\n    }\n  }\n\n  /**\n   * Run `method` without subscribing to any tracked properties\n   * controlled by EmberData.\n   *\n   * This should rarely be used except by libraries that really\n   * know what they are doing. It is most useful for wrapping\n   * certain kinds of fetch/query logic from within a `Resource`\n   * `hook` or other similar pattern.\n   *\n   * @function untracked\n   * @public\n   * @static\n   * @for @ember-data/tracking\n   * @param method\n   * @returns result of invoking method\n   */\n  function untracked(method) {\n    createTransaction();\n    const ret = method();\n    void untrack();\n    return ret;\n  }\n\n  /**\n   * Run the method, subscribing to any tracked properties\n   * managed by EmberData that were accessed or written during\n   * the method's execution as per-normal but while allowing\n   * interleaving of reads and writes.\n   *\n   * This is useful when for instance you want to perform\n   * a mutation based on existing state that must be read first.\n   *\n   * @function transact\n   * @public\n   * @static\n   * @for @ember-data/tracking\n   * @param method\n   * @returns result of invoking method\n   */\n  function transact(method) {\n    createTransaction();\n    const ret = method();\n    flushTransaction();\n    return ret;\n  }\n\n  /**\n   * A helpful utility for creating a new function that\n   * always runs in a transaction. E.G. this \"memoizes\"\n   * calling `transact(fn)`, currying args as necessary.\n   *\n   * @method memoTransact\n   * @public\n   * @static\n   * @for @ember-data/tracking\n   * @param method\n   * @returns a function that will invoke method in a transaction with any provided args and return its result\n   */\n  function memoTransact(method) {\n    return function (...args) {\n      createTransaction();\n      const ret = method(...args);\n      flushTransaction();\n      return ret;\n    };\n  }\n});","define(\"@ember-data/tracking/index\", [\"exports\", \"@ember-data/tracking/-private\"], function (_exports, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"memoTransact\", {\n    enumerable: true,\n    get: function () {\n      return _private.memoTransact;\n    }\n  });\n  Object.defineProperty(_exports, \"transact\", {\n    enumerable: true,\n    get: function () {\n      return _private.transact;\n    }\n  });\n  Object.defineProperty(_exports, \"untracked\", {\n    enumerable: true,\n    get: function () {\n      return _private.untracked;\n    }\n  });\n});","define(\"@ember-decorators/component/index\", [\"exports\", \"@ember/debug\", \"@ember-decorators/utils/collapse-proto\", \"@ember-decorators/utils/decorator\"], function (_exports, _debug, _collapseProto, _decorator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.tagName = _exports.layout = _exports.classNames = _exports.classNameBindings = _exports.className = _exports.attributeBindings = _exports.attribute = void 0;\n  /**\n    Decorator which indicates that the field or computed should be bound\n    to an attribute value on the component. This replaces `attributeBindings`\n    by directly allowing you to specify which properties should be bound.\n    ```js\n    export default class AttributeDemoComponent extends Component {\n      @attribute role = 'button';\n      // With provided attribute name\n      @attribute('data-foo') foo = 'lol';\n      @attribute\n      @computed\n      get id() {\n        // return generated id\n      }\n    }\n    ```\n    @function\n    @param {string} name? - The name of the attribute to bind the value to if it is truthy\n  */\n  const attribute = _exports.attribute = (0, _decorator.decoratorWithParams)((target, key, desc, params = []) => {\n    (false && !(params.length <= 1) && (0, _debug.assert)(`The @attribute decorator may take up to one parameter, the bound attribute name. Received: ${params.length}`, params.length <= 1));\n    (false && !(params.every(s => typeof s === 'string')) && (0, _debug.assert)(`The @attribute decorator may only receive strings as parameters. Received: ${params}`, params.every(s => typeof s === 'string')));\n    (0, _collapseProto.default)(target);\n    if (!target.hasOwnProperty('attributeBindings')) {\n      let parentValue = target.attributeBindings;\n      target.attributeBindings = Array.isArray(parentValue) ? parentValue.slice() : [];\n    }\n    let binding = params[0] ? `${key}:${params[0]}` : key;\n    target.attributeBindings.push(binding);\n    if (desc) {\n      // Decorated fields are currently not configurable in Babel for some reason, so ensure\n      // that the field becomes configurable (else it messes with things)\n      desc.configurable = true;\n    }\n    return desc;\n  });\n\n  /**\n    Decorator which indicates that the field or computed should be bound to\n    the component class names. This replaces `classNameBindings` by directly\n    allowing you to specify which properties should be bound.\n    ```js\n    export default class ClassNameDemoComponent extends Component {\n      @className boundField = 'default-class';\n      // With provided true/false class names\n      @className('active', 'inactive') isActive = true;\n      @className\n      @computed\n      get boundComputed() {\n        // return generated class\n      }\n    }\n    ```\n    @function\n    @param {string} truthyName? - The class to be applied if the value the field\n                                  is truthy, defaults to the name of the field.\n    @param {string} falsyName? - The class to be applied if the value of the field\n                                 is falsy.\n  */\n  const className = _exports.className = (0, _decorator.decoratorWithParams)((target, key, desc, params = []) => {\n    (false && !(params.length <= 2) && (0, _debug.assert)(`The @className decorator may take up to two parameters, the truthy class and falsy class for the class binding. Received: ${params.length}`, params.length <= 2));\n    (false && !(params.every(s => typeof s === 'string')) && (0, _debug.assert)(`The @className decorator may only receive strings as parameters. Received: ${params}`, params.every(s => typeof s === 'string')));\n    (0, _collapseProto.default)(target);\n    if (!target.hasOwnProperty('classNameBindings')) {\n      let parentValue = target.classNameBindings;\n      target.classNameBindings = Array.isArray(parentValue) ? parentValue.slice() : [];\n    }\n    let binding = params.length > 0 ? `${key}:${params.join(':')}` : key;\n    target.classNameBindings.push(binding);\n    if (desc) {\n      // Decorated fields are currently not configurable in Babel for some reason, so ensure\n      // that the field becomes configurable (else it messes with things)\n      desc.configurable = true;\n    }\n    return desc;\n  });\n  function concattedPropDecorator(propName) {\n    return (0, _decorator.decoratorWithRequiredParams)((target, propValues) => {\n      (false && !(propValues.reduce((allStrings, name) => allStrings && typeof name === 'string', true)) && (0, _debug.assert)(`The @${propName} decorator must be provided strings, received: ${propValues}`, propValues.reduce((allStrings, name) => allStrings && typeof name === 'string', true)));\n      (0, _collapseProto.default)(target.prototype);\n      if (propName in target.prototype) {\n        let parentValues = target.prototype[propName];\n        propValues.unshift(...parentValues);\n      }\n      target.prototype[propName] = propValues;\n      return target;\n    }, propName);\n  }\n\n  /**\n    Class decorator which specifies the class names to be applied to a component.\n    This replaces the `classNames` property on components in the traditional Ember\n    object model.\n    ```js\n    @classNames('a-static-class', 'another-static-class')\n    export default class ClassNamesDemoComponent extends Component {}\n    ```\n    @function\n    @param {...string} classNames - The list of classes to be applied to the component\n  */\n  const classNames = _exports.classNames = concattedPropDecorator('classNames');\n\n  /**\n    Class decorator which specifies the class name bindings to be applied to a\n    component. This replaces the `classNameBindings` property on components in the\n    traditional Ember object model.\n    ```js\n    @classNameBindings('aDynamicProperty:truthy-class-name:falsy-class-name')\n    export default class ClassNamesDemoComponent extends Component {}\n    ```\n    @function\n    @param {...string} classNameBindings - The list of class name bindings to be applied to the component\n  */\n  const classNameBindings = _exports.classNameBindings = concattedPropDecorator('classNameBindings');\n\n  /**\n    Class decorator which specifies the attribute bindings to be applied to a\n    component. This replaces the `attributeBindings` property on components in the\n    traditional Ember object model.\n    ```js\n    @attributeBindings('role', 'aProperty:a-different-attribute')\n    export default class ClassNamesDemoComponent extends Component {}\n    ```\n    @function\n    @param {...string} attributeBindings - The list of attribute bindings to be applied to the component\n  */\n  const attributeBindings = _exports.attributeBindings = concattedPropDecorator('attributeBindings');\n\n  /**\n    Class decorator which specifies the tag name of the component. This replaces\n    the `tagName` property on components in the traditional Ember object model.\n    ```js\n    @tagName('button')\n    export default class TagNameDemoComponent extends Component {}\n    ```\n    @function\n    @param {string} tagName - The HTML tag to be used for the component\n  */\n  const tagName = _exports.tagName = (0, _decorator.decoratorWithRequiredParams)((target, params) => {\n    let [tagName] = params;\n    (false && !(params.length === 1) && (0, _debug.assert)(`The @tagName decorator must be provided exactly one argument, received: ${tagName}`, params.length === 1));\n    (false && !(typeof tagName === 'string') && (0, _debug.assert)(`The @tagName decorator must be provided a string, received: ${tagName}`, typeof tagName === 'string'));\n    target.prototype.tagName = tagName;\n    return target;\n  }, 'tagName');\n\n  /**\n    Class decorator which specifies the layout for the component. This replaces\n    the `layout` property on components in the traditional Ember object model.\n    ```js\n    import template from '../templates/components/x-foo';\n    @layout(template)\n    export default class TagNameDemoComponent extends Component {}\n    ```\n    ```js\n    import hbs from 'htmlbars-inline-precompile';\n    @layout(hbs`<h1>Hello {{ name }}</h1>`)\n    export default class TagNameDemoComponent extends Component {\n      constructor() {\n        super(...arguments);\n        this.set('name', 'Tomster');\n      }\n    }\n    ```\n    @function\n    @param {TemplateFactory} template - The compiled template to be used for the component\n  */\n  const layout = (...params) => target => {\n    let [template] = params;\n    (false && !(params.length === 1) && (0, _debug.assert)(`The @layout decorator must be provided exactly one argument, received: ${params.length}`, params.length === 1));\n    (false && !(typeof template !== 'string') && (0, _debug.assert)(`The @layout decorator must be provided a template, received: ${template}. If you want to compile strings to templates, be sure to use 'htmlbars-inline-precompile'`, typeof template !== 'string'));\n    (false && !(typeof template === 'function' || typeof template === 'object' && typeof template.indexOf === 'undefined') && (0, _debug.assert)(`The @layout decorator must be provided a template, received: ${template}`, typeof template === 'function' || typeof template === 'object' && typeof template.indexOf === 'undefined'));\n    target.prototype.layout = template;\n    return target;\n  };\n  _exports.layout = layout;\n});","define(\"@ember-decorators/object/index\", [\"exports\", \"@ember/debug\", \"@ember/object\", \"@ember/object/computed\", \"@ember/object/events\", \"@ember/object/observers\", \"@ember-decorators/utils/decorator\"], function (_exports, _debug, _object, _computed, _events, _observers, _decorator) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.unobserves = _exports.on = _exports.off = _exports.observes = void 0;\n  /**\n    Triggers the target function when the dependent properties have changed. Note,\n    `@observes` _must_ be used on EmberObject based classes only, otherwise there\n    may be subtle issues and breakage.\n  \n    ```javascript\n    import { observes } from '@ember-decorators/object';\n  \n    class Foo {\n      @observes('foo')\n      bar() {\n        //...\n      }\n    }\n    ```\n  \n    @function\n    @param {...String} propertyNames - Names of the properties that trigger the function\n   */\n  const observes = _exports.observes = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    (false && !(desc && typeof desc.value === 'function') && (0, _debug.assert)('The @observes decorator must be applied to functions', desc && typeof desc.value === 'function'));\n    (false && !(target instanceof _object.default) && (0, _debug.assert)(`You attempted to use @observes on ${target.constructor.name}#${key}, which does not extend from EmberObject. Unfortunately this does not work with stage 1 decorator transforms, and will break in subtle ways. You must rewrite your class to extend from EmberObject.`, target instanceof _object.default));\n    for (let path of params) {\n      (0, _computed.expandProperties)(path, expandedPath => {\n        (0, _observers.addObserver)(target, expandedPath, null, key);\n      });\n    }\n    return desc;\n  }, 'observes');\n\n  /**\n    Removes observers from the target function.\n  \n    ```javascript\n    import { observes, unobserves } from '@ember-decorators/object';\n  \n    class Foo {\n      @observes('foo')\n      bar() {\n        //...\n      }\n    }\n  \n    class Bar extends Foo {\n      @unobserves('foo') bar;\n    }\n    ```\n  \n    @function\n    @param {...String} propertyNames - Names of the properties that no longer trigger the function\n   */\n  const unobserves = _exports.unobserves = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    for (let path of params) {\n      (0, _computed.expandProperties)(path, expandedPath => {\n        (0, _observers.removeObserver)(target, expandedPath, null, key);\n      });\n    }\n    return desc;\n  }, 'unobserves');\n\n  /**\n    Adds an event listener to the target function.\n  \n    ```javascript\n    import { on } from '@ember-decorators/object';\n  \n    class Foo {\n      @on('fooEvent', 'barEvent')\n      bar() {\n        //...\n      }\n    }\n    ```\n  \n    @function\n    @param {...String} eventNames - Names of the events that trigger the function\n   */\n  const on = _exports.on = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    (false && !(desc && typeof desc.value === 'function') && (0, _debug.assert)('The @on decorator must be applied to functions', desc && typeof desc.value === 'function'));\n    for (let eventName of params) {\n      (0, _events.addListener)(target, eventName, null, key);\n    }\n    return desc;\n  }, 'on');\n\n  /**\n    Removes an event listener from the target function.\n  \n    ```javascript\n    import { on, off } from '@ember-decorators/object';\n  \n    class Foo {\n      @on('fooEvent', 'barEvent')\n      bar() {\n        //...\n      }\n    }\n  \n    class Bar extends Foo {\n      @off('fooEvent', 'barEvent') bar;\n    }\n    ```\n  \n    @function\n    @param {...String} eventNames - Names of the events that no longer trigger the function\n   */\n  const off = _exports.off = (0, _decorator.decoratorWithRequiredParams)((target, key, desc, params) => {\n    for (let eventName of params) {\n      (0, _events.removeListener)(target, eventName, null, key);\n    }\n    return desc;\n  }, 'off');\n});","define(\"@ember-decorators/utils/-private/class-field-descriptor\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isDescriptor = isDescriptor;\n  _exports.isFieldDescriptor = isFieldDescriptor;\n  function isClassDescriptor(possibleDesc) {\n    let [target] = possibleDesc;\n    return possibleDesc.length === 1 && typeof target === 'function' && 'prototype' in target && !target.__isComputedDecorator;\n  }\n  function isFieldDescriptor(possibleDesc) {\n    let [target, key, desc] = possibleDesc;\n    return possibleDesc.length === 3 && typeof target === 'object' && target !== null && typeof key === 'string' && (typeof desc === 'object' && desc !== null && 'enumerable' in desc && 'configurable' in desc || desc === undefined) // TS compatibility\n    ;\n  }\n  function isDescriptor(possibleDesc) {\n    return isFieldDescriptor(possibleDesc) || isClassDescriptor(possibleDesc);\n  }\n});","define(\"@ember-decorators/utils/collapse-proto\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = collapseProto;\n  function collapseProto(target) {\n    // We must collapse the superclass prototype to make sure that the `actions`\n    // object will exist. Since collapsing doesn't generally happen until a class is\n    // instantiated, we have to do it manually.\n    if (typeof target.constructor.proto === 'function') {\n      target.constructor.proto();\n    }\n  }\n});","define(\"@ember-decorators/utils/decorator\", [\"exports\", \"@ember/debug\", \"@ember-decorators/utils/-private/class-field-descriptor\"], function (_exports, _debug, _classFieldDescriptor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.decoratorWithParams = decoratorWithParams;\n  _exports.decoratorWithRequiredParams = decoratorWithRequiredParams;\n  /**\n   * A macro that takes a decorator function and allows it to optionally\n   * receive parameters\n   *\n   * ```js\n   * let foo = decoratorWithParams((target, desc, key, params) => {\n   *   console.log(params);\n   * });\n   *\n   * class {\n   *   @foo bar; // undefined\n   *   @foo('bar') baz; // ['bar']\n   * }\n   * ```\n   *\n   * @param {Function} fn - decorator function\n   */\n  function decoratorWithParams(fn) {\n    return function (...params) {\n      // determine if user called as @computed('blah', 'blah') or @computed\n      if ((0, _classFieldDescriptor.isDescriptor)(params)) {\n        return fn(...params);\n      } else {\n        return (...desc) => fn(...desc, params);\n      }\n    };\n  }\n\n  /**\n   * A macro that takes a decorator function and requires it to receive\n   * parameters:\n   *\n   * ```js\n   * let foo = decoratorWithRequiredParams((target, desc, key, params) => {\n   *   console.log(params);\n   * });\n   *\n   * class {\n   *   @foo('bar') baz; // ['bar']\n   *   @foo bar; // Error\n   * }\n   * ```\n   *\n   * @param {Function} fn - decorator function\n   */\n  function decoratorWithRequiredParams(fn, name) {\n    return function (...params) {\n      (false && !(!(0, _classFieldDescriptor.isDescriptor)(params) && params.length > 0) && (0, _debug.assert)(`The @${name || fn.name} decorator requires parameters`, !(0, _classFieldDescriptor.isDescriptor)(params) && params.length > 0));\n      return (...desc) => fn(...desc, params);\n    };\n  }\n});","define(\"@ember/render-modifiers/modifiers/did-insert\", [\"exports\", \"@ember/modifier\"], function (_exports, _modifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    The `{{did-insert}}` element modifier is activated when an element is\n    inserted into the DOM.\n  \n    In this example, the `fadeIn` function receives the `div` DOM element as its\n    first argument and is executed after the element is inserted into the DOM.\n  \n    ```handlebars\n    <div {{did-insert this.fadeIn}} class=\"alert\">\n      {{yield}}\n    </div>\n    ```\n  \n    ```js\n    export default Component.extend({\n      fadeIn(element) {\n        element.classList.add('fade-in');\n      }\n    });\n    ```\n  \n    By default, the executed function will be unbound. If you would like to access\n    the component context in your function, use the `action` decorator as follows:\n  \n    ```handlebars\n    <div {{did-insert this.incrementCount}}>first</div>\n    <div {{did-insert this.incrementCount}}>second</div>\n  \n    <p>{{this.count}} elements were rendered</p>\n    ```\n  \n    ```js\n    export default Component.extend({\n      count: tracked({ value: 0 }),\n  \n      incrementCount: action(function() {\n        this.count++;\n      })\n    });\n    ```\n  \n    @method did-insert\n    @public\n  */\n  var _default = _exports.default = (0, _modifier.setModifierManager)(() => ({\n    capabilities: (0, _modifier.capabilities)('3.22', {\n      disableAutoTracking: true\n    }),\n    createModifier() {},\n    installModifier(_state, element, {\n      positional: [fn, ...args],\n      named\n    }) {\n      fn(element, args, named);\n    },\n    updateModifier() {},\n    destroyModifier() {}\n  }), class DidInsertModifier {});\n});","define(\"@ember/render-modifiers/modifiers/did-update\", [\"exports\", \"@ember/modifier\", \"@embroider/macros/es-compat2\"], function (_exports, _modifier, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const untrack = function () {\n    {\n      // ember-source@3.27 shipped \"real modules\" by default, so we can just use\n      // importSync to get @glimmer/validator directly\n      return (0, _esCompat.default)(require(\"@glimmer/validator\")).untrack;\n    }\n  }();\n\n  /**\n    The `{{did-update}}` element modifier is activated when any of its arguments\n    are updated. It does not run on initial render.\n  \n    In this example, the `resize` function receives the `textarea` DOM element as its\n    first argument and is executed anytime the `@text` argument changes.\n  \n    ```handlebars\n    <textarea {{did-update this.resize @text}} readonly style=\"padding: 0px;\">\n      {{@text}}\n    </textarea>\n    ```\n  \n    ```js\n    export default Component.extend({\n      resize(element) {\n        element.style.height = `${element.scrollHeight}px`;\n      }\n    });\n    ```\n  \n    In addition to the `element`, both named and positional arguments are passed to the\n    executed function:\n  \n    ```handlebars\n    <div {{did-update this.logArguments @first @second third=@third}} />\n    ```\n  \n    ```js\n    export default Component.extend({\n      logArguments(element, [first, second], { third }) {\n        console.log('element', element);\n        console.log('positional args', first, second);\n        console.log('names args', third);\n      }\n    });\n    ```\n  \n    By default, the executed function will be unbound. If you would like to access\n    the component context in your function, use the `action` decorator as follows:\n  \n    ```handlebars\n    <div {{did-update this.someFunction @someArg} />\n    ```\n  \n    ```js\n    export default Component.extend({\n      someFunction: action(function(element, [someArg]) {\n        // the `this` context will be the component instance\n      })\n    });\n    ```\n  \n    @method did-update\n    @public\n  */\n  var _default = _exports.default = (0, _modifier.setModifierManager)(() => ({\n    capabilities: (0, _modifier.capabilities)('3.22', {\n      disableAutoTracking: false\n    }),\n    createModifier() {\n      return {\n        element: null\n      };\n    },\n    installModifier(state, element, args) {\n      // save element into state bucket\n      state.element = element;\n      {\n        // Consume individual properties to entangle tracking.\n        // https://github.com/emberjs/ember.js/issues/19277\n        // https://github.com/ember-modifier/ember-modifier/pull/63#issuecomment-815908201\n        args.positional.forEach(() => {});\n        args.named && Object.values(args.named);\n      }\n    },\n    updateModifier({\n      element\n    }, args) {\n      let [fn, ...positional] = args.positional;\n      {\n        // Consume individual properties to entangle tracking.\n        // https://github.com/emberjs/ember.js/issues/19277\n        // https://github.com/ember-modifier/ember-modifier/pull/63#issuecomment-815908201\n        args.positional.forEach(() => {});\n        args.named && Object.values(args.named);\n        untrack(() => {\n          fn(element, positional, args.named);\n        });\n      }\n    },\n    destroyModifier() {}\n  }), class DidUpdateModifier {});\n});","define(\"@ember/render-modifiers/modifiers/will-destroy\", [\"exports\", \"@ember/modifier\"], function (_exports, _modifier) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n    The `{{will-destroy}}` element modifier is activated immediately before the element\n    is removed from the DOM.\n  \n    ```handlebars\n    <div {{will-destroy this.teardownPlugin}}>\n      {{yield}}\n    </div>\n    ```\n  \n    ```js\n    export default Component.extend({\n      teardownPlugin(element) {\n        // teardown logic here\n      }\n    });\n    ```\n  \n    By default, the executed function will be unbound. If you would like to access\n    the component context in your function, use the `action` decorator as follows:\n  \n    ```handlebars\n    <div {{will-destroy this.teardownPlugin}}>\n      {{yield}}\n    </div>\n    ```\n  \n    ```js\n    export default Component.extend({\n      teardownPlugin: action(function(element) {\n        // the `this` context will be the component instance\n      })\n    });\n    ```\n  \n    @method will-destroy\n    @public\n  */\n  var _default = _exports.default = (0, _modifier.setModifierManager)(() => ({\n    capabilities: (0, _modifier.capabilities)('3.22', {\n      disableAutoTracking: true\n    }),\n    createModifier() {\n      return {\n        element: null\n      };\n    },\n    installModifier(state, element) {\n      state.element = element;\n    },\n    updateModifier() {},\n    destroyModifier({\n      element\n    }, args) {\n      let [fn, ...positional] = args.positional;\n      fn(element, positional, args.named);\n    }\n  }), class WillDestroyModifier {});\n});","define(\"@ember/string/cache\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Cache {\n    constructor(limit, func, store) {\n      _defineProperty(this, \"size\", 0);\n      _defineProperty(this, \"misses\", 0);\n      _defineProperty(this, \"hits\", 0);\n      this.limit = limit;\n      this.func = func;\n      this.store = store;\n      this.store = store || new Map();\n    }\n    get(key) {\n      let value = this.store.get(key);\n      if (this.store.has(key)) {\n        this.hits++;\n        return this.store.get(key);\n      } else {\n        this.misses++;\n        value = this.set(key, this.func(key));\n      }\n      return value;\n    }\n    set(key, value) {\n      if (this.limit > this.size) {\n        this.size++;\n        this.store.set(key, value);\n      }\n      return value;\n    }\n    purge() {\n      this.store.clear();\n      this.size = 0;\n      this.hits = 0;\n      this.misses = 0;\n    }\n  }\n  _exports.default = Cache;\n});","define(\"@ember/string/index\", [\"exports\", \"@ember/string/cache\"], function (_exports, _cache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.camelize = camelize;\n  _exports.capitalize = capitalize;\n  _exports.classify = classify;\n  _exports.dasherize = dasherize;\n  _exports.decamelize = decamelize;\n  _exports.getString = getString;\n  _exports.getStrings = getStrings;\n  _exports.htmlSafe = htmlSafe;\n  _exports.isHTMLSafe = isHTMLSafe;\n  _exports.setStrings = setStrings;\n  _exports.underscore = underscore;\n  _exports.w = w;\n  /* eslint-disable no-useless-escape */\n\n  /**\n   @module @ember/string\n   */\n\n  // STATE within a module is frowned upon, this exists\n  // to support Ember.STRINGS but shield ember internals from this legacy global\n  // API.\n  let STRINGS = {};\n  function setStrings(strings) {\n    STRINGS = strings;\n  }\n  function getStrings() {\n    return STRINGS;\n  }\n  function getString(name) {\n    return STRINGS[name];\n  }\n  const STRING_DASHERIZE_REGEXP = /[ _]/g;\n  const STRING_DASHERIZE_CACHE = new _cache.default(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\n  const STRING_CAMELIZE_REGEXP_1 = /(\\-|\\_|\\.|\\s)+(.)?/g;\n  const STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\n  const CAMELIZE_CACHE = new _cache.default(1000, key => key.replace(STRING_CAMELIZE_REGEXP_1, (_match, _separator, chr) => chr ? chr.toUpperCase() : '').replace(STRING_CAMELIZE_REGEXP_2, (match\n  /*, separator, chr */) => match.toLowerCase()));\n  const STRING_CLASSIFY_REGEXP_1 = /^(\\-|_)+(.)?/;\n  const STRING_CLASSIFY_REGEXP_2 = /(.)(\\-|\\_|\\.|\\s)+(.)?/g;\n  const STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n  const CLASSIFY_CACHE = new _cache.default(1000, str => {\n    const replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n    const replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n    const parts = str.split('/');\n    for (let i = 0; i < parts.length; i++) {\n      parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n    }\n    return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match\n    /*, separator, chr */) => match.toUpperCase());\n  });\n  const STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\n  const STRING_UNDERSCORE_REGEXP_2 = /\\-|\\s+/g;\n  const UNDERSCORE_CACHE = new _cache.default(1000, str => str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase());\n  const STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n  const CAPITALIZE_CACHE = new _cache.default(1000, str => str.replace(STRING_CAPITALIZE_REGEXP, (match\n  /*, separator, chr */) => match.toUpperCase()));\n  const STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n  const DECAMELIZE_CACHE = new _cache.default(1000, str => str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase());\n  /**\n    Splits a string into separate units separated by spaces, eliminating any\n    empty strings in the process. This is a convenience method for split that\n    is mostly useful when applied to the `String.prototype`.\n  \n    ```javascript\n    import { w } from '@ember/string';\n  \n    w(\"alpha beta gamma\").forEach(function(key) {\n      console.log(key);\n    });\n  \n    // > alpha\n    // > beta\n    // > gamma\n    ```\n  \n    @method w\n    @param {String} str The string to split\n    @return {Array} array containing the split strings\n    @public\n  */\n\n  function w(str) {\n    return str.split(/\\s+/);\n  }\n  /**\n    Converts a camelized string into all lower case separated by underscores.\n  \n    ```javascript\n    import { decamelize } from '@ember/string';\n  \n    decamelize('innerHTML');          // 'inner_html'\n    decamelize('action_name');        // 'action_name'\n    decamelize('css-class-name');     // 'css-class-name'\n    decamelize('my favorite items');  // 'my favorite items'\n    ```\n  \n    @method decamelize\n    @param {String} str The string to decamelize.\n    @return {String} the decamelized string.\n    @public\n  */\n\n  function decamelize(str) {\n    return DECAMELIZE_CACHE.get(str);\n  }\n  /**\n    Replaces underscores, spaces, or camelCase with dashes.\n  \n    ```javascript\n    import { dasherize } from '@ember/string';\n  \n    dasherize('innerHTML');                // 'inner-html'\n    dasherize('action_name');              // 'action-name'\n    dasherize('css-class-name');           // 'css-class-name'\n    dasherize('my favorite items');        // 'my-favorite-items'\n    dasherize('privateDocs/ownerInvoice';  // 'private-docs/owner-invoice'\n    ```\n  \n    @method dasherize\n    @param {String} str The string to dasherize.\n    @return {String} the dasherized string.\n    @public\n  */\n\n  function dasherize(str) {\n    return STRING_DASHERIZE_CACHE.get(str);\n  }\n  /**\n    Returns the lowerCamelCase form of a string.\n  \n    ```javascript\n    import { camelize } from '@ember/string';\n  \n    camelize('innerHTML');                   // 'innerHTML'\n    camelize('action_name');                 // 'actionName'\n    camelize('css-class-name');              // 'cssClassName'\n    camelize('my favorite items');           // 'myFavoriteItems'\n    camelize('My Favorite Items');           // 'myFavoriteItems'\n    camelize('private-docs/owner-invoice');  // 'privateDocs/ownerInvoice'\n    ```\n  \n    @method camelize\n    @param {String} str The string to camelize.\n    @return {String} the camelized string.\n    @public\n  */\n\n  function camelize(str) {\n    return CAMELIZE_CACHE.get(str);\n  }\n  /**\n    Returns the UpperCamelCase form of a string.\n  \n    ```javascript\n    import { classify } from '@ember/string';\n  \n    classify('innerHTML');                   // 'InnerHTML'\n    classify('action_name');                 // 'ActionName'\n    classify('css-class-name');              // 'CssClassName'\n    classify('my favorite items');           // 'MyFavoriteItems'\n    classify('private-docs/owner-invoice');  // 'PrivateDocs/OwnerInvoice'\n    ```\n  \n    @method classify\n    @param {String} str the string to classify\n    @return {String} the classified string\n    @public\n  */\n\n  function classify(str) {\n    return CLASSIFY_CACHE.get(str);\n  }\n  /**\n    More general than decamelize. Returns the lower\\_case\\_and\\_underscored\n    form of a string.\n  \n    ```javascript\n    import { underscore } from '@ember/string';\n  \n    underscore('innerHTML');                 // 'inner_html'\n    underscore('action_name');               // 'action_name'\n    underscore('css-class-name');            // 'css_class_name'\n    underscore('my favorite items');         // 'my_favorite_items'\n    underscore('privateDocs/ownerInvoice');  // 'private_docs/owner_invoice'\n    ```\n  \n    @method underscore\n    @param {String} str The string to underscore.\n    @return {String} the underscored string.\n    @public\n  */\n\n  function underscore(str) {\n    return UNDERSCORE_CACHE.get(str);\n  }\n  /**\n    Returns the Capitalized form of a string\n  \n    ```javascript\n    import { capitalize } from '@ember/string';\n  \n    capitalize('innerHTML')                 // 'InnerHTML'\n    capitalize('action_name')               // 'Action_name'\n    capitalize('css-class-name')            // 'Css-class-name'\n    capitalize('my favorite items')         // 'My favorite items'\n    capitalize('privateDocs/ownerInvoice'); // 'PrivateDocs/ownerInvoice'\n    ```\n  \n    @method capitalize\n    @param {String} str The string to capitalize.\n    @return {String} The capitalized string.\n    @public\n  */\n\n  function capitalize(str) {\n    return CAPITALIZE_CACHE.get(str);\n  }\n  /*\n    The following are implemented here to give users adding `@ember/string` to\n    their projects a useful error message. The `ember-source` implementation of\n    `@ember/string` is clobbered by adding this addon, and so the deprecation of\n    the import path is not triggered. This error message is intended to help\n    users discover what they need to change.\n  */\n\n  function htmlSafe(str) {\n    throw new Error('htmlSafe is not implemented in the `@ember/string` package. Please import from `@ember/template` instead.');\n  }\n  function isHTMLSafe(str) {\n    throw new Error('isHTMLSafe is not implemented in the `@ember/string` package. Please import from `@ember/template` instead.');\n  }\n});","define(\"@ember/test-waiters/build-waiter\", [\"exports\", \"@ember/debug\", \"@ember/test-waiters/token\", \"@ember/test-waiters/waiter-manager\"], function (_exports, _debug, _token, _waiterManager) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._resetWaiterNames = _resetWaiterNames;\n  _exports.default = buildWaiter;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  const WAITER_NAME_PATTERN = /^[^:]*:?.*/;\n  let WAITER_NAMES = false /* DEBUG */ ? new Set() : undefined;\n  function _resetWaiterNames() {\n    WAITER_NAMES = new Set();\n  }\n  function getNextToken() {\n    return new _token.default();\n  }\n  class TestWaiterImpl {\n    constructor(name, nextToken) {\n      _defineProperty(this, \"isRegistered\", false);\n      _defineProperty(this, \"items\", new Map());\n      _defineProperty(this, \"completedOperationsForTokens\", new WeakMap());\n      _defineProperty(this, \"completedOperationsForPrimitives\", new Map());\n      this.name = name; // @ts-ignore\n\n      this.nextToken = nextToken || getNextToken;\n    }\n    beginAsync(token = this.nextToken(), label) {\n      this._register();\n      if (this.items.has(token)) {\n        throw new Error(`beginAsync called for ${token} but it is already pending.`);\n      }\n      let error = new Error();\n      this.items.set(token, {\n        get stack() {\n          return error.stack;\n        },\n        label\n      });\n      return token;\n    }\n    endAsync(token) {\n      if (!this.items.has(token) && !this._getCompletedOperations(token).has(token)) {\n        throw new Error(`testWaiter.endAsync called with no preceding testWaiter.beginAsync call.\n        Test waiter calls should always be paired. This can occur when a test waiter's paired calls are invoked in a non-deterministic order.\n\n        See https://github.com/emberjs/ember-test-waiters#keep-beginasyncendasync-in-same-block-scope for more information.`);\n      }\n      this.items.delete(token); // Mark when a waiter operation has completed so we can distinguish\n      // whether endAsync is being called before a prior beginAsync call above.\n\n      this._getCompletedOperations(token).set(token, true);\n    }\n    waitUntil() {\n      return this.items.size === 0;\n    }\n    debugInfo() {\n      let result = [];\n      this.items.forEach(value => {\n        result.push(value);\n      });\n      return result;\n    }\n    reset() {\n      this.items.clear();\n    }\n    _register() {\n      if (!this.isRegistered) {\n        (0, _waiterManager.register)(this);\n        this.isRegistered = true;\n      }\n    }\n    _getCompletedOperations(token) {\n      let type = typeof token;\n      let isFunction = type === 'function';\n      let isObject = token !== null && type === 'object';\n      let isPrimitive = !isFunction && !isObject;\n      return isPrimitive ? this.completedOperationsForPrimitives : this.completedOperationsForTokens;\n    }\n  }\n  class NoopTestWaiter {\n    constructor(name) {\n      this.name = name;\n    }\n    beginAsync() {\n      return this;\n    }\n    endAsync() {}\n    waitUntil() {\n      return true;\n    }\n    debugInfo() {\n      return [];\n    }\n    reset() {}\n  }\n  /**\n   * Builds and returns a test waiter. The type of the\n   * returned waiter is dependent on whether the app or\n   * addon is in `DEBUG` mode or not.\n   *\n   * @public\n   *\n   * @param name {string} The name of the test waiter\n   * @returns {TestWaiter}\n   *\n   * @example\n   *\n   * import Component from '@ember/component';\n   * import { buildWaiter } from '@ember/test-waiters';\n   *\n   * if (DEBUG) {\n   *   let waiter = buildWaiter('friend-waiter');\n   * }\n   *\n   * export default class Friendz extends Component {\n   *   didInsertElement() {\n   *     let token = waiter.beginAsync(this);\n   *\n   *     someAsyncWork().then(() => {\n   *       waiter.endAsync(token);\n   *     });\n   *   }\n   * }\n   */\n\n  function buildWaiter(name) {\n    if (false /* DEBUG */) {\n      (false && (0, _debug.warn)(`The waiter name '${name}' is already in use`, !WAITER_NAMES.has(name), {\n        id: '@ember/test-waiters.duplicate-waiter-name'\n      }));\n      WAITER_NAMES.add(name);\n    }\n    if (!false /* DEBUG */) {\n      return new NoopTestWaiter(name);\n    } else {\n      (false && (0, _debug.warn)(`You must provide a name that contains a descriptive prefix separated by a colon.\n\n        Example: ember-fictitious-addon:some-file\n\n        You passed: ${name}`, WAITER_NAME_PATTERN.test(name), {\n        id: '@ember/test-waiters.invalid-waiter-name'\n      }));\n      return new TestWaiterImpl(name);\n    }\n  }\n});","define(\"@ember/test-waiters/index\", [\"exports\", \"@ember/test-waiters/waiter-manager\", \"@ember/test-waiters/build-waiter\", \"@ember/test-waiters/wait-for-promise\", \"@ember/test-waiters/wait-for\"], function (_exports, _waiterManager, _buildWaiter, _waitForPromise, _waitFor) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"_reset\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager._reset;\n    }\n  });\n  Object.defineProperty(_exports, \"_resetWaiterNames\", {\n    enumerable: true,\n    get: function () {\n      return _buildWaiter._resetWaiterNames;\n    }\n  });\n  Object.defineProperty(_exports, \"buildWaiter\", {\n    enumerable: true,\n    get: function () {\n      return _buildWaiter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"getPendingWaiterState\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.getPendingWaiterState;\n    }\n  });\n  Object.defineProperty(_exports, \"getWaiters\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.getWaiters;\n    }\n  });\n  Object.defineProperty(_exports, \"hasPendingWaiters\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.hasPendingWaiters;\n    }\n  });\n  Object.defineProperty(_exports, \"register\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.register;\n    }\n  });\n  Object.defineProperty(_exports, \"unregister\", {\n    enumerable: true,\n    get: function () {\n      return _waiterManager.unregister;\n    }\n  });\n  Object.defineProperty(_exports, \"waitFor\", {\n    enumerable: true,\n    get: function () {\n      return _waitFor.default;\n    }\n  });\n  Object.defineProperty(_exports, \"waitForPromise\", {\n    enumerable: true,\n    get: function () {\n      return _waitForPromise.default;\n    }\n  });\n});","define(\"@ember/test-waiters/token\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * A class representing a test waiter token.\n   *\n   * @public\n   * @class\n   */\n  class Token {}\n  _exports.default = Token;\n});","define(\"@ember/test-waiters/types/index\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n});","define(\"@ember/test-waiters/wait-for-promise\", [\"exports\", \"@ember/test-waiters/build-waiter\"], function (_exports, _buildWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = waitForPromise;\n  const PROMISE_WAITER = (0, _buildWaiter.default)('@ember/test-waiters:promise-waiter');\n  /**\n   * A convenient utility function to simplify waiting for a promise.\n   *\n   * @public\n   * @param promise {Promise<T> | RSVP.Promise<T>} The promise to track async operations for\n   * @param label {string} An optional string to identify the promise\n   *\n   * @example\n   *\n   * import Component from '@ember/component';\n   * import { waitForPromise } from '@ember/test-waiters';\n   *\n   * export default class Friendz extends Component {\n   *   didInsertElement() {\n   *     waitForPromise(new Promise(resolve => {\n   *       doSomeWork();\n   *       resolve();\n   *     }));\n   *   }\n   * }\n   */\n\n  function waitForPromise(promise, label) {\n    let result = promise;\n    if (false /* DEBUG */) {\n      PROMISE_WAITER.beginAsync(promise, label);\n      result = promise.then(value => {\n        PROMISE_WAITER.endAsync(promise);\n        return value;\n      }, error => {\n        PROMISE_WAITER.endAsync(promise);\n        throw error;\n      });\n    }\n    return result;\n  }\n});","define(\"@ember/test-waiters/wait-for\", [\"exports\", \"@ember/test-waiters/wait-for-promise\", \"@ember/test-waiters/build-waiter\"], function (_exports, _waitForPromise, _buildWaiter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = waitFor;\n  function waitFor(...args) {\n    let isFunction = args.length < 3;\n    if (isFunction) {\n      let [fn, label] = args;\n      return wrapFunction(fn, label);\n    } else {\n      let [,, descriptor, label] = args;\n      if (!false /* DEBUG */) {\n        return descriptor;\n      }\n      let fn = descriptor.value;\n      descriptor.value = wrapFunction(fn, label);\n      return descriptor;\n    }\n  }\n  function wrapFunction(fn, label) {\n    if (!false /* DEBUG */) {\n      return fn;\n    }\n    return function (...args) {\n      let result = fn.call(this, ...args);\n      if (isThenable(result)) {\n        return (0, _waitForPromise.default)(result, label);\n      } else if (isGenerator(result)) {\n        return waitForGenerator(result, label);\n      } else {\n        return result;\n      }\n    };\n  }\n  function isThenable(maybePromise) {\n    let type = typeof maybePromise;\n    return (maybePromise !== null && type === 'object' || type === 'function') && typeof maybePromise.then === 'function';\n  }\n  function isGenerator(maybeGenerator) {\n    // Because we don't have Symbol.iterator in IE11\n    return typeof maybeGenerator.next === 'function' && typeof maybeGenerator.return === 'function' && typeof maybeGenerator.throw === 'function';\n  }\n  const GENERATOR_WAITER = (0, _buildWaiter.default)('@ember/test-waiters:generator-waiter');\n  function waitForGenerator(generator, label) {\n    GENERATOR_WAITER.beginAsync(generator, label);\n    let isWaiting = true;\n    function stopWaiting() {\n      if (isWaiting) {\n        GENERATOR_WAITER.endAsync(generator);\n        isWaiting = false;\n      }\n    }\n    return {\n      next(...args) {\n        let hasErrored = true;\n        try {\n          let val = generator.next(...args);\n          hasErrored = false;\n          if (val.done) {\n            stopWaiting();\n          }\n          return val;\n        } finally {\n          // If generator.next() throws, we need to stop waiting. But if we catch\n          // and re-throw exceptions, it could move the location from which the\n          // uncaught exception is thrown, interfering with the developer\n          // debugging experience if they have break-on-exceptions enabled. So we\n          // use a boolean flag and a finally block to emulate a catch block.\n          if (hasErrored) {\n            stopWaiting();\n          }\n        }\n      },\n      return(...args) {\n        stopWaiting();\n        return generator.return(...args);\n      },\n      throw(...args) {\n        stopWaiting();\n        return generator.throw(...args);\n      }\n    };\n  }\n});","define(\"@ember/test-waiters/waiter-manager\", [\"exports\", \"ember\", \"@ember/test\"], function (_exports, _ember, _test) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._reset = _reset;\n  _exports.getPendingWaiterState = getPendingWaiterState;\n  _exports.getWaiters = getWaiters;\n  _exports.hasPendingWaiters = hasPendingWaiters;\n  _exports.register = register;\n  _exports.unregister = unregister;\n  // this ensures that if @ember/test-waiters exists in multiple places in the\n  // build output we will still use a single map of waiters (there really should\n  // only be one of them, or else `settled` will not work at all)\n  const WAITERS = function () {\n    const HAS_SYMBOL = typeof Symbol !== 'undefined';\n    let symbolName = 'TEST_WAITERS';\n    let symbol = HAS_SYMBOL ? Symbol.for(symbolName) : symbolName;\n    let global = getGlobal();\n    let waiters = global[symbol];\n    if (waiters === undefined) {\n      waiters = global[symbol] = new Map();\n    }\n    return waiters;\n  }();\n  function indexable(input) {\n    return input;\n  }\n  function getGlobal() {\n    // eslint-disable-next-line node/no-unsupported-features/es-builtins\n    if (typeof globalThis !== 'undefined') return indexable(globalThis);\n    if (typeof self !== 'undefined') return indexable(self);\n    if (typeof window !== 'undefined') return indexable(window);\n    if (typeof global !== 'undefined') return indexable(global);\n    throw new Error('unable to locate global object');\n  }\n  /**\n   * Backwards compatibility with legacy waiters system.\n   *\n   * We want to always register a waiter using the legacy waiter system, as right\n   * now if consumers are not on the right version of @ember/test-helpers, using\n   * this addon will result in none of these waiters waiting.\n   */\n  // eslint-disable-next-line ember/new-module-imports\n\n  if (_ember.default.Test) {\n    (0, _test.registerWaiter)(() => !hasPendingWaiters());\n  }\n  /**\n   * Registers a waiter.\n   *\n   * @public\n   * @param waiter {Waiter} A test waiter instance\n   */\n\n  function register(waiter) {\n    WAITERS.set(waiter.name, waiter);\n  }\n  /**\n   * Un-registers a waiter.\n   *\n   * @public\n   * @param waiter {Waiter} A test waiter instance\n   */\n\n  function unregister(waiter) {\n    WAITERS.delete(waiter.name);\n  }\n  /**\n   * Gets an array of all waiters current registered.\n   *\n   * @public\n   * @returns {Waiter[]}\n   */\n\n  function getWaiters() {\n    let result = [];\n    WAITERS.forEach(value => {\n      result.push(value);\n    });\n    return result;\n  }\n  /**\n   * Clears all waiters.\n   *\n   * @private\n   */\n\n  function _reset() {\n    for (let waiter of getWaiters()) {\n      waiter.isRegistered = false;\n    }\n    WAITERS.clear();\n  }\n  /**\n   * Gets the current state of all waiters. Any waiters whose\n   * `waitUntil` method returns false will be considered `pending`.\n   *\n   * @returns {PendingWaiterState} An object containing a count of all waiters\n   * pending and a `waiters` object containing the name of all pending waiters\n   * and their debug info.\n   */\n\n  function getPendingWaiterState() {\n    let result = {\n      pending: 0,\n      waiters: {}\n    };\n    WAITERS.forEach(waiter => {\n      if (!waiter.waitUntil()) {\n        result.pending++;\n        let debugInfo = waiter.debugInfo();\n        result.waiters[waiter.name] = debugInfo || true;\n      }\n    });\n    return result;\n  }\n  /**\n   * Determines if there are any pending waiters.\n   *\n   * @returns {boolean} `true` if there are pending waiters, otherwise `false`.\n   */\n\n  function hasPendingWaiters() {\n    let state = getPendingWaiterState();\n    return state.pending > 0;\n  }\n});","define(\"@embroider/macros/es-compat2\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = esCompat;\n  function esCompat(m) {\n    return m?.__esModule ? m : {\n      default: m,\n      ...m\n    };\n  }\n});","define(\"@embroider/macros/runtime\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.config = config;\n  _exports.each = each;\n  _exports.getGlobalConfig = getGlobalConfig;\n  _exports.isTesting = isTesting;\n  _exports.macroCondition = macroCondition;\n  /*\n    These are the runtime implementations for the javascript macros that have\n    runtime implementations.\n  \n    Not every macro has a runtime implementation, some only make sense in the\n    build and always run there.\n  \n    Even when we have runtime implementations, we are still careful to emit static\n    errors during the build wherever possible, and runtime errors when necessary,\n    so that you're not surprised when you switch from runtime-mode to compile-time\n    mode.\n  */\n\n  /*\n    CAUTION: in classic builds, this file gets shared by all present copies of\n    @embroider/macros. If you want to change its public API, you need to rename it\n    and update `pathToRuntime` in ../babel/state.ts to point at it, so that your\n    babel plugin and runtime will match.\n  */\n\n  function each(array) {\n    if (!Array.isArray(array)) {\n      throw new Error(`the argument to the each() macro must be an array`);\n    }\n    return array;\n  }\n  function macroCondition(predicate) {\n    return predicate;\n  }\n\n  // This is here as a compile target for `getConfig` and `getOwnConfig` when\n  // we're in runtime mode. This is not public API to call from your own code.\n  function config(packageRoot) {\n    return runtimeConfig.packages[packageRoot];\n  }\n  function getGlobalConfig() {\n    return runtimeConfig.global;\n  }\n  function isTesting() {\n    let g = runtimeConfig.global;\n    let e = g && g['@embroider/macros'];\n    return Boolean(e && e.isTesting);\n  }\n  const runtimeConfig = initializeRuntimeMacrosConfig();\n\n  // this exists to be targeted by our babel plugin\n  function initializeRuntimeMacrosConfig() {\n    return {\n      packages: {},\n      global: {}\n    };\n  }\n  function updaterMethods() {\n    return {\n      config,\n      getGlobalConfig,\n      setConfig(packageRoot, value) {\n        runtimeConfig.packages[packageRoot] = value;\n      },\n      setGlobalConfig(key, value) {\n        runtimeConfig.global[key] = value;\n      }\n    };\n  }\n\n  // this is how runtime config can get injected at boot. I'm not sure yet if this\n  // should be public API, but we certainly need it internally to set things like\n  // the global fastboot.isRunning.\n  //\n  // consumers of this API push a function onto\n  // window._embroider_macros_runtime_config. The function is given four methods\n  // which allow it to read and write the per-package and global configs. The\n  // reason for allowing both read & write is that merging strategies are up to\n  // each consumers -- read first, then merge, then write.\n  //\n  // For an example user of this API, see where we generate\n  // embroider_macros_fastboot_init.js' in @embroider/core.\n  let updaters = typeof window !== 'undefined' ? window._embroider_macros_runtime_config : undefined;\n  if (updaters) {\n    let methods = updaterMethods();\n    for (let updater of updaters) {\n      updater(methods);\n    }\n  }\n});","define(\"@glimmer/component/-private/base-component-manager\", [\"exports\", \"@glimmer/component/-private/component\"], function (_exports, _component) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = BaseComponentManager;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  /**\n   * This factory function returns a component manager class with common behavior\n   * that can be extend to add Glimmer.js- or Ember.js-specific functionality. As\n   * these environments converge, the need for two component manager\n   * implementations (and thus this factory) should go away.\n   */\n  function BaseComponentManager(setOwner, getOwner, capabilities) {\n    return class {\n      static create(attrs) {\n        let owner = getOwner(attrs);\n        return new this(owner);\n      }\n      constructor(owner) {\n        _defineProperty(this, \"capabilities\", capabilities);\n        setOwner(this, owner);\n      }\n      createComponent(ComponentClass, args) {\n        if (false /* DEBUG */) {\n          _component.ARGS_SET.set(args.named, true);\n        }\n        return new ComponentClass(getOwner(this), args.named);\n      }\n      getContext(component) {\n        return component;\n      }\n    };\n  }\n});","define(\"@glimmer/component/-private/component\", [\"exports\", \"@glimmer/component/-private/owner\", \"@glimmer/component/-private/destroyables\"], function (_exports, _owner, _destroyables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _exports.ARGS_SET = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  // This provides a type-safe `WeakMap`: the getter and setter link the key to a\n  // specific value. This is how `WeakMap`s actually behave, but the TS type\n  // system does not (yet!) have a good way to capture that for types like\n  // `WeakMap` where the type is generic over another generic type (here, `Args`).\n\n  // SAFETY: this only holds because we *only* acces this when `DEBUG` is `true`.\n  // There is not a great way to connect that data in TS at present.\n  let ARGS_SET = _exports.ARGS_SET = void 0;\n  if (false /* DEBUG */) {\n    _exports.ARGS_SET = ARGS_SET = new WeakMap();\n  }\n\n  // --- Type utilities for component signatures --- //\n  // Type-only \"symbol\" to use with `EmptyObject` below, so that it is *not*\n  // equivalent to an empty interface.\n\n  /**\n   * This provides us a way to have a \"fallback\" which represents an empty object,\n   * without the downsides of how TS treats `{}`. Specifically: this will\n   * correctly leverage \"excess property checking\" so that, given a component\n   * which has no named args, if someone invokes it with any named args, they will\n   * get a type error.\n   *\n   * @internal This is exported so declaration emit works (if it were not emitted,\n   *   declarations which fall back to it would not work). It is *not* intended for\n   *   public usage, and the specific mechanics it uses may change at any time.\n   *   The location of this export *is* part of the public API, because moving it\n   *   will break existing declarations, but is not legal for end users to import\n   *   themselves, so ***DO NOT RELY ON IT***.\n   */\n\n  /** Given a signature `S`, get back the `Args` type. */\n\n  /**\n   * Given any allowed shorthand form of a signature, desugars it to its full\n   * expanded type.\n   *\n   * @internal This is only exported so we can avoid duplicating it in\n   *   [Glint](https://github.com/typed-ember/glint) or other such tooling. It is\n   *   *not* intended for public usage, and the specific mechanics it uses may\n   *   change at any time. Although the signature produced by is part of Glimmer's\n   *   public API the existence and mechanics of this specific symbol are *not*,\n   *   so ***DO NOT RELY ON IT***.\n   */\n  // The conditional type here is because TS applies conditional types\n  // distributively. This means that for union types, checks like `keyof T` get\n  // all the keys from all elements of the union, instead of ending up as `never`\n  // and then always falling into the `Signature` path instead of falling back to\n  // the legacy args handling path.\n\n  /**\n   * @internal we use this type for convenience internally; inference means users\n   *   should not normally need to name it\n   */\n\n  /**\n   * The `Component` class defines an encapsulated UI element that is rendered to\n   * the DOM. A component is made up of a template and, optionally, this component\n   * object.\n   *\n   * ## Defining a Component\n   *\n   * To define a component, subclass `Component` and add your own properties,\n   * methods and lifecycle hooks:\n   *\n   * ```ts\n   * import Component from '@glimmer/component';\n   *\n   * export default class extends Component {\n   * }\n   * ```\n   *\n   * ## Lifecycle Hooks\n   *\n   * Lifecycle hooks allow you to respond to changes to a component, such as when\n   * it gets created, rendered, updated or destroyed. To add a lifecycle hook to a\n   * component, implement the hook as a method on your component subclass.\n   *\n   * For example, to be notified when Glimmer has rendered your component so you\n   * can attach a legacy jQuery plugin, implement the `didInsertElement()` method:\n   *\n   * ```ts\n   * import Component from '@glimmer/component';\n   *\n   * export default class extends Component {\n   *   didInsertElement() {\n   *     $(this.element).pickadate();\n   *   }\n   * }\n   * ```\n   *\n   * ## Data for Templates\n   *\n   * `Component`s have two different kinds of data, or state, that can be\n   * displayed in templates:\n   *\n   * 1. Arguments\n   * 2. Properties\n   *\n   * Arguments are data that is passed in to a component from its parent\n   * component. For example, if I have a `UserGreeting` component, I can pass it\n   * a name and greeting to use:\n   *\n   * ```hbs\n   * <UserGreeting @name=\"Ricardo\" @greeting=\"Olá\" />\n   * ```\n   *\n   * Inside my `UserGreeting` template, I can access the `@name` and `@greeting`\n   * arguments that I've been given:\n   *\n   * ```hbs\n   * {{@greeting}}, {{@name}}!\n   * ```\n   *\n   * Arguments are also available inside my component:\n   *\n   * ```ts\n   * console.log(this.args.greeting); // prints \"Olá\"\n   * ```\n   *\n   * Properties, on the other hand, are internal to the component and declared in\n   * the class. You can use properties to store data that you want to show in the\n   * template, or pass to another component as an argument.\n   *\n   * ```ts\n   * import Component from '@glimmer/component';\n   *\n   * export default class extends Component {\n   *   user = {\n   *     name: 'Robbie'\n   *   }\n   * }\n   * ```\n   *\n   * In the above example, we've defined a component with a `user` property that\n   * contains an object with its own `name` property.\n   *\n   * We can render that property in our template:\n   *\n   * ```hbs\n   * Hello, {{user.name}}!\n   * ```\n   *\n   * We can also take that property and pass it as an argument to the\n   * `UserGreeting` component we defined above:\n   *\n   * ```hbs\n   * <UserGreeting @greeting=\"Hello\" @name={{user.name}} />\n   * ```\n   *\n   * ## Arguments vs. Properties\n   *\n   * Remember, arguments are data that was given to your component by its parent\n   * component, and properties are data your component has defined for itself.\n   *\n   * You can tell the difference between arguments and properties in templates\n   * because arguments always start with an `@` sign (think \"A is for arguments\"):\n   *\n   * ```hbs\n   * {{@firstName}}\n   * ```\n   *\n   * We know that `@firstName` came from the parent component, not the current\n   * component, because it starts with `@` and is therefore an argument.\n   *\n   * On the other hand, if we see:\n   *\n   * ```hbs\n   * {{name}}\n   * ```\n   *\n   * We know that `name` is a property on the component. If we want to know where\n   * the data is coming from, we can go look at our component class to find out.\n   *\n   * Inside the component itself, arguments always show up inside the component's\n   * `args` property. For example, if `{{@firstName}}` is `Tom` in the template,\n   * inside the component `this.args.firstName` would also be `Tom`.\n   */\n  class BaseComponent {\n    /**\n     * Constructs a new component and assigns itself the passed properties. You\n     * should not construct new components yourself. Instead, Glimmer will\n     * instantiate new components automatically as it renders.\n     *\n     * @param owner\n     * @param args\n     */\n    constructor(owner, args) {\n      /**\n       * Named arguments passed to the component from its parent component.\n       * They can be accessed in JavaScript via `this.args.argumentName` and in the template via `@argumentName`.\n       *\n       * Say you have the following component, which will have two `args`, `firstName` and `lastName`:\n       *\n       * ```hbs\n       * <my-component @firstName=\"Arthur\" @lastName=\"Dent\" />\n       * ```\n       *\n       * If you needed to calculate `fullName` by combining both of them, you would do:\n       *\n       * ```ts\n       * didInsertElement() {\n       *   console.log(`Hi, my full name is ${this.args.firstName} ${this.args.lastName}`);\n       * }\n       * ```\n       *\n       * While in the template you could do:\n       *\n       * ```hbs\n       * <p>Welcome, {{@firstName}} {{@lastName}}!</p>\n       * ```\n       */\n      _defineProperty(this, \"args\", void 0);\n      if (false /* DEBUG */ && !(owner !== null && typeof owner === 'object' && ARGS_SET.has(args))) {\n        throw new Error(`You must pass both the owner and args to super() in your component: ${this.constructor.name}. You can pass them directly, or use ...arguments to pass all arguments through.`);\n      }\n      this.args = args;\n      (0, _owner.setOwner)(this, owner);\n    }\n    get isDestroying() {\n      return (0, _destroyables.isDestroying)(this);\n    }\n    get isDestroyed() {\n      return (0, _destroyables.isDestroyed)(this);\n    }\n\n    /**\n     * Called before the component has been removed from the DOM.\n     */\n    willDestroy() {}\n  }\n  _exports.default = BaseComponent;\n});","define(\"@glimmer/component/-private/destroyables\", [\"exports\", \"ember\"], function (_exports, _ember) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.isDestroying = _exports.isDestroyed = void 0;\n  const isDestroying = _exports.isDestroying = _ember.default._isDestroying;\n  const isDestroyed = _exports.isDestroyed = _ember.default._isDestroyed;\n});","define(\"@glimmer/component/-private/ember-component-manager\", [\"exports\", \"ember\", \"@ember/object\", \"@ember/application\", \"@ember/component\", \"@ember/runloop\", \"@glimmer/component/-private/base-component-manager\", \"@glimmer/component/-private/destroyables\"], function (_exports, _ember, _object, _application, _component, _runloop, _baseComponentManager, destroyables) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const {\n    setDestroyed,\n    setDestroying\n  } = destroyables;\n  const CAPABILITIES = true // @ts-ignore\n  // @ts-ignore\n  ? (0, _component.capabilities)('3.13', {\n    destructor: true,\n    asyncLifecycleCallbacks: false,\n    updateHook: false\n  }) : (0, _component.capabilities)('3.4', {\n    destructor: true,\n    asyncLifecycleCallbacks: false\n  });\n  const scheduledDestroyComponent = true ? undefined : (component, meta) => {\n    if (component.isDestroyed) {\n      return;\n    }\n    _ember.default.destroy(component);\n    meta.setSourceDestroyed();\n    setDestroyed(component);\n  };\n  const destroy = true ? _ember.default.destroy : component => {\n    if (component.isDestroying) {\n      return;\n    }\n    let meta = _ember.default.meta(component);\n    meta.setSourceDestroying();\n    setDestroying(component);\n    (0, _runloop.schedule)('actions', component, component.willDestroy);\n    (0, _runloop.schedule)('destroy', void 0, scheduledDestroyComponent, component, meta);\n  };\n  const registerDestructor = true ? _ember.default._registerDestructor : true ? _ember.default.__loader.require('@glimmer/runtime').registerDestructor : undefined;\n\n  /**\n   * This component manager runs in Ember.js environments and extends the base component manager to:\n   *\n   * 1. Properly destroy the component's associated `meta` data structure\n   * 2. Schedule destruction using Ember's runloop\n   */\n  class EmberGlimmerComponentManager extends (0, _baseComponentManager.default)(_application.setOwner, _application.getOwner, CAPABILITIES) {\n    createComponent(ComponentClass, args) {\n      const component = super.createComponent(ComponentClass, args);\n      if (true) {\n        registerDestructor(component, () => {\n          component.willDestroy();\n        });\n      }\n      return component;\n    }\n    destroyComponent(component) {\n      destroy(component);\n    }\n  }\n  // In Ember 3.12 and earlier, the updateComponent hook was mandatory.\n  // As of Ember 3.13, the `args` object is stable and each property of the\n  // object participates in the autotrack stack on its own. This means we do not\n  // need to set the `args` property on the component instance to invalidate\n  // tracked getters that rely on `args`, and therefore don't require the `updateComponent`\n  // hook at all.\n  if (!true) {\n    EmberGlimmerComponentManager.prototype.updateComponent = function updateComponent(component, args) {\n      let argSnapshot = args.named;\n      if (false /* DEBUG */) {\n        argSnapshot = Object.freeze(argSnapshot);\n      }\n      (0, _object.set)(component, 'args', argSnapshot);\n    };\n  }\n  var _default = _exports.default = EmberGlimmerComponentManager;\n});","define(\"@glimmer/component/-private/owner\", [\"exports\", \"@ember/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"setOwner\", {\n    enumerable: true,\n    get: function () {\n      return _application.setOwner;\n    }\n  });\n});","define(\"@glimmer/component/index\", [\"exports\", \"@ember/component\", \"@glimmer/component/-private/ember-component-manager\", \"@glimmer/component/-private/component\"], function (_exports, _component, _emberComponentManager, _component2) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  // Hax because the old version of `@types/ember__component` the `1.x` branch\n  // uses does not provide any types for `setComponentManager` *and* because we\n  // are using a very old version of `setComponentManager` for versions before\n  // Ember 3.8.\n\n  let GlimmerComponent = _component2.default;\n  if (false /* DEBUG */) {\n    // Add assertions against using Glimmer.js only APIs\n\n    // TODO: Add GlimmerComponent API docs link to these messages once API docs are live\n    function throwMethodUseError(methodName) {\n      throw new Error(`You attempted to define the '${methodName}' method on a Glimmer Component, but that lifecycle hook does not exist in Ember.js applications, it only exists in Glimmer.js apps. You can rename this method, and you can trigger it using a modifier such as {{did-insert}} from '@ember/render-modifiers': https://github.com/emberjs/ember-render-modifiers.`);\n    }\n    function throwPropertyUseError(propertyName) {\n      throw new Error(`You attempted to access the '${propertyName}' property on a Glimmer Component, but that property does not exist in Ember.js applications, it only exists in Glimmer.js apps. You define a class field with the same name on your component class and it will overwrite this error message, but it will not be used by the framework.`);\n    }\n    GlimmerComponent = class GlimmerDebugComponent extends GlimmerComponent {\n      constructor(owner, args) {\n        super(owner, args);\n        if (typeof this['didInsertElement'] === 'function') {\n          throwMethodUseError('didInsertElement');\n        }\n        if (typeof this['didUpdate'] === 'function') {\n          throwMethodUseError('didUpdate');\n        }\n      }\n    };\n    let proto = GlimmerComponent.prototype;\n    function defineErrorProp(proto, key, getterMethod) {\n      Object.defineProperty(proto, key, {\n        get: () => getterMethod(key),\n        set(value) {\n          Object.defineProperty(this, key, {\n            value\n          });\n        }\n      });\n    }\n\n    // Methods should still throw whenever they are accessed\n    defineErrorProp(proto, 'bounds', throwPropertyUseError);\n    defineErrorProp(proto, 'element', throwPropertyUseError);\n    defineErrorProp(proto, 'debugName', throwPropertyUseError);\n  }\n  if (true) {\n    (0, _component.setComponentManager)(owner => {\n      return new _emberComponentManager.default(owner);\n    }, GlimmerComponent);\n  } else {\n    (0, _component.setComponentManager)('glimmer', GlimmerComponent);\n  }\n  var _default = _exports.default = GlimmerComponent;\n});","define(\"@sentry/ember/index\", [\"exports\", \"@sentry/browser\", \"@ember/runloop\", \"@ember/debug\", \"ember\", \"@sentry/utils\"], function (_exports, _browser, _runloop, _debug, _ember, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  var _exportNames = {\n    InitSentryForEmber: true,\n    getActiveTransaction: true,\n    instrumentRoutePerformance: true,\n    init: true\n  };\n  _exports.InitSentryForEmber = InitSentryForEmber;\n  _exports.instrumentRoutePerformance = _exports.init = _exports.getActiveTransaction = void 0;\n  var Sentry = _browser;\n  Object.keys(_browser).forEach(function (key) {\n    if (key === \"default\" || key === \"__esModule\") return;\n    if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n    if (key in _exports && _exports[key] === _browser[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _browser[key];\n      }\n    });\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@sentry/browser\",0,\"@sentry/browser\",0,\"@embroider/macros\",0,\"@ember/runloop\",0,\"@ember/debug\",0,\"ember\",0,\"@sentry/utils\",0,\"@sentry/browser\"eaimeta@70e063a35619d71f\n  function _getSentryInitConfig() {\n    const _global = _utils.GLOBAL_OBJ;\n    _global.__sentryEmberConfig = _global.__sentryEmberConfig ?? {};\n    return _global.__sentryEmberConfig;\n  }\n  function InitSentryForEmber(_runtimeConfig) {\n    const environmentConfig = {};\n    (false && !(environmentConfig) && (0, _debug.assert)('Missing configuration.', environmentConfig));\n    (false && !(environmentConfig.sentry || _runtimeConfig) && (0, _debug.assert)('Missing configuration for Sentry.', environmentConfig.sentry || _runtimeConfig));\n    if (!environmentConfig.sentry) {\n      // If environment config is not specified but the above assertion passes, use runtime config.\n      environmentConfig.sentry = {\n        ..._runtimeConfig\n      };\n    }\n\n    // Merge runtime config into environment config, preferring runtime.\n    Object.assign(environmentConfig.sentry, _runtimeConfig || {});\n    const initConfig = Object.assign({}, environmentConfig.sentry);\n    initConfig._metadata = initConfig._metadata || {};\n    initConfig._metadata.sdk = {\n      name: 'sentry.javascript.ember',\n      packages: [{\n        name: 'npm:@sentry/ember',\n        version: _browser.SDK_VERSION\n      }],\n      version: _browser.SDK_VERSION\n    };\n\n    // Persist Sentry init options so they are identical when performance initializers call init again.\n    const sentryInitConfig = _getSentryInitConfig();\n    Object.assign(sentryInitConfig, initConfig);\n    Sentry.init(initConfig);\n  }\n  const getActiveTransaction = () => {\n    return Sentry.getCurrentHub()?.getScope()?.getTransaction();\n  };\n  _exports.getActiveTransaction = getActiveTransaction;\n  const instrumentRoutePerformance = BaseRoute => {\n    const instrumentFunction = async (op, description, fn, args) => {\n      const startTimestamp = (0, _utils.timestampInSeconds)();\n      const result = await fn(...args);\n      const currentTransaction = getActiveTransaction();\n      if (!currentTransaction) {\n        return result;\n      }\n      currentTransaction.startChild({\n        op,\n        description,\n        startTimestamp\n      }).finish();\n      return result;\n    };\n    return {\n      [BaseRoute.name]: class extends BaseRoute {\n        beforeModel(...args) {\n          return instrumentFunction('ui.ember.route.before_model', this.fullRouteName, super.beforeModel.bind(this), args);\n        }\n        async model(...args) {\n          return instrumentFunction('ui.ember.route.model', this.fullRouteName, super.model.bind(this), args);\n        }\n        async afterModel(...args) {\n          return instrumentFunction('ui.ember.route.after_model', this.fullRouteName, super.afterModel.bind(this), args);\n        }\n        async setupController(...args) {\n          return instrumentFunction('ui.ember.route.setup_controller', this.fullRouteName, super.setupController.bind(this), args);\n        }\n      }\n    }[BaseRoute.name];\n  };\n  _exports.instrumentRoutePerformance = instrumentRoutePerformance;\n  // init is now the preferred way to call initialization for this addon.\n  const init = _exports.init = InitSentryForEmber;\n});","define(\"@sentry/ember/instance-initializers/sentry-performance\", [\"exports\", \"@ember/runloop\", \"@ember/instrumentation\", \"@sentry/browser\", \"@sentry/ember\", \"@sentry/utils\"], function (_exports, _runloop, _instrumentation, Sentry, _ember, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports._instrumentEmberRouter = _instrumentEmberRouter;\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  _exports.instrumentForPerformance = instrumentForPerformance;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/runloop\",0,\"@ember/instrumentation\",0,\"@sentry/browser\",0,\"@sentry/ember\",0,\"@sentry/utils\",0,\"@embroider/macros\",1,\"@sentry/browser\"eaimeta@70e063a35619d71f\n  function getSentryConfig() {\n    const _global = _utils.GLOBAL_OBJ;\n    _global.__sentryEmberConfig = _global.__sentryEmberConfig ?? {};\n    const environmentConfig = {};\n    if (!environmentConfig.sentry) {\n      environmentConfig.sentry = {\n        browserTracingOptions: {}\n      };\n    }\n    Object.assign(environmentConfig.sentry, _global.__sentryEmberConfig);\n    return environmentConfig;\n  }\n  function initialize(appInstance) {\n    // Disable in fastboot - we only want to run Sentry client-side\n    const fastboot = appInstance.lookup('service:fastboot');\n    if (fastboot?.isFastBoot) {\n      return;\n    }\n    const config = getSentryConfig();\n    if (config['disablePerformance']) {\n      return;\n    }\n    const performancePromise = instrumentForPerformance(appInstance);\n  }\n  function getBackburner() {\n    if (_runloop._backburner) {\n      return _runloop._backburner;\n    }\n    if (_runloop.run.backburner) {\n      return _runloop.run.backburner;\n    }\n    return {\n      on() {},\n      off() {}\n    };\n  }\n  function getTransitionInformation(transition, router) {\n    const fromRoute = transition?.from?.name;\n    const toRoute = transition && transition.to ? transition.to.name : router.currentRouteName;\n    return {\n      fromRoute,\n      toRoute\n    };\n  }\n  function getLocationURL(location) {\n    if (!location || !location.getURL || !location.formatURL) {\n      return '';\n    }\n    const url = location.formatURL(location.getURL());\n    if (location.implementation === 'hash') {\n      return `${location.rootURL}${url}`;\n    }\n    return url;\n  }\n  function _instrumentEmberRouter(routerService, routerMain, config, startTransaction, startTransactionOnPageLoad) {\n    const {\n      disableRunloopPerformance\n    } = config;\n    const location = routerMain.location;\n    let activeTransaction;\n    let transitionSpan;\n    const url = getLocationURL(location);\n    if (startTransactionOnPageLoad && url) {\n      const routeInfo = routerService.recognize(url);\n      activeTransaction = startTransaction({\n        name: `route:${routeInfo.name}`,\n        op: 'pageload',\n        tags: {\n          url,\n          toRoute: routeInfo.name,\n          'routing.instrumentation': '@sentry/ember'\n        }\n      });\n    }\n    const finishActiveTransaction = function (_, nextInstance) {\n      if (nextInstance) {\n        return;\n      }\n      activeTransaction.finish();\n      getBackburner().off('end', finishActiveTransaction);\n    };\n    routerService.on('routeWillChange', transition => {\n      const {\n        fromRoute,\n        toRoute\n      } = getTransitionInformation(transition, routerService);\n      activeTransaction?.finish();\n      activeTransaction = startTransaction({\n        name: `route:${toRoute}`,\n        op: 'navigation',\n        tags: {\n          fromRoute,\n          toRoute,\n          'routing.instrumentation': '@sentry/ember'\n        }\n      });\n      transitionSpan = activeTransaction.startChild({\n        op: 'ui.ember.transition',\n        description: `route:${fromRoute} -> route:${toRoute}`\n      });\n    });\n    routerService.on('routeDidChange', () => {\n      if (!transitionSpan || !activeTransaction) {\n        return;\n      }\n      transitionSpan.finish();\n      if (disableRunloopPerformance) {\n        activeTransaction.finish();\n        return;\n      }\n      getBackburner().on('end', finishActiveTransaction);\n    });\n    return {\n      startTransaction\n    };\n  }\n  function _instrumentEmberRunloop(config) {\n    const {\n      disableRunloopPerformance,\n      minimumRunloopQueueDuration\n    } = config;\n    if (disableRunloopPerformance) {\n      return;\n    }\n    let currentQueueStart;\n    let currentQueueSpan;\n    const instrumentedEmberQueues = ['actions', 'routerTransitions', 'render', 'afterRender', 'destroy'];\n    getBackburner().on('begin', (_, previousInstance) => {\n      if (previousInstance) {\n        return;\n      }\n      const activeTransaction = (0, _ember.getActiveTransaction)();\n      if (!activeTransaction) {\n        return;\n      }\n      if (currentQueueSpan) {\n        currentQueueSpan.finish();\n      }\n      currentQueueStart = (0, _utils.timestampInSeconds)();\n      instrumentedEmberQueues.forEach(queue => {\n        (0, _runloop.scheduleOnce)(queue, null, () => {\n          (0, _runloop.scheduleOnce)(queue, null, () => {\n            // Process this queue using the end of the previous queue.\n            if (currentQueueStart) {\n              const now = (0, _utils.timestampInSeconds)();\n              const minQueueDuration = minimumRunloopQueueDuration ?? 5;\n              if ((now - currentQueueStart) * 1000 >= minQueueDuration) {\n                activeTransaction?.startChild({\n                  op: `ui.ember.runloop.${queue}`,\n                  startTimestamp: currentQueueStart,\n                  endTimestamp: now\n                }).finish();\n              }\n              currentQueueStart = undefined;\n            }\n\n            // Setup for next queue\n\n            const stillActiveTransaction = (0, _ember.getActiveTransaction)();\n            if (!stillActiveTransaction) {\n              return;\n            }\n            currentQueueStart = (0, _utils.timestampInSeconds)();\n          });\n        });\n      });\n    });\n    getBackburner().on('end', (_, nextInstance) => {\n      if (nextInstance) {\n        return;\n      }\n      if (currentQueueSpan) {\n        currentQueueSpan.finish();\n        currentQueueSpan = undefined;\n      }\n    });\n  }\n  function processComponentRenderBefore(payload, beforeEntries) {\n    const info = {\n      payload,\n      now: (0, _utils.timestampInSeconds)()\n    };\n    beforeEntries[payload.object] = info;\n  }\n  function processComponentRenderAfter(payload, beforeEntries, op, minComponentDuration) {\n    const begin = beforeEntries[payload.object];\n    if (!begin) {\n      return;\n    }\n    const now = (0, _utils.timestampInSeconds)();\n    const componentRenderDuration = now - begin.now;\n    if (componentRenderDuration * 1000 >= minComponentDuration) {\n      const activeTransaction = (0, _ember.getActiveTransaction)();\n      activeTransaction?.startChild({\n        op,\n        description: payload.containerKey || payload.object,\n        startTimestamp: begin.now,\n        endTimestamp: now\n      });\n    }\n  }\n  function _instrumentComponents(config) {\n    const {\n      disableInstrumentComponents,\n      minimumComponentRenderDuration,\n      enableComponentDefinitions\n    } = config;\n    if (disableInstrumentComponents) {\n      return;\n    }\n    const minComponentDuration = minimumComponentRenderDuration ?? 2;\n    const beforeEntries = {};\n    const beforeComponentDefinitionEntries = {};\n    function _subscribeToRenderEvents() {\n      (0, _instrumentation.subscribe)('render.component', {\n        before(_name, _timestamp, payload) {\n          processComponentRenderBefore(payload, beforeEntries);\n        },\n        after(_name, _timestamp, payload, _beganIndex) {\n          processComponentRenderAfter(payload, beforeEntries, 'ui.ember.component.render', minComponentDuration);\n        }\n      });\n      if (enableComponentDefinitions) {\n        (0, _instrumentation.subscribe)('render.getComponentDefinition', {\n          before(_name, _timestamp, payload) {\n            processComponentRenderBefore(payload, beforeComponentDefinitionEntries);\n          },\n          after(_name, _timestamp, payload, _beganIndex) {\n            processComponentRenderAfter(payload, beforeComponentDefinitionEntries, 'ui.ember.component.definition', 0);\n          }\n        });\n      }\n    }\n    _subscribeToRenderEvents();\n  }\n  function _instrumentInitialLoad(config) {\n    const startName = '@sentry/ember:initial-load-start';\n    const endName = '@sentry/ember:initial-load-end';\n    let {\n      HAS_PERFORMANCE,\n      HAS_PERFORMANCE_TIMING\n    } = _hasPerformanceSupport();\n    if (!HAS_PERFORMANCE) {\n      return;\n    }\n    const {\n      performance\n    } = window;\n    if (config.disableInitialLoadInstrumentation) {\n      performance.clearMarks(startName);\n      performance.clearMarks(endName);\n      return;\n    }\n\n    // Split performance check in two so clearMarks still happens even if timeOrigin isn't available.\n    if (!HAS_PERFORMANCE_TIMING) {\n      return;\n    }\n    const measureName = '@sentry/ember:initial-load';\n    const startMarkExists = performance.getEntriesByName(startName).length > 0;\n    const endMarkExists = performance.getEntriesByName(endName).length > 0;\n    if (!startMarkExists || !endMarkExists) {\n      return;\n    }\n    performance.measure(measureName, startName, endName);\n    const measures = performance.getEntriesByName(measureName);\n    const measure = measures[0];\n    const startTimestamp = (measure.startTime + _utils.browserPerformanceTimeOrigin) / 1000;\n    const endTimestamp = startTimestamp + measure.duration / 1000;\n    const transaction = (0, _ember.getActiveTransaction)();\n    const span = transaction?.startChild({\n      op: 'ui.ember.init',\n      startTimestamp\n    });\n    span?.finish(endTimestamp);\n    performance.clearMarks(startName);\n    performance.clearMarks(endName);\n    performance.clearMeasures(measureName);\n  }\n  function _hasPerformanceSupport() {\n    // TS says that all of these methods are always available, but some of them may not be supported in older browsers\n    // So we \"pretend\" they are all optional in order to be able to check this properly without TS complaining\n    const _performance = window.performance;\n    const HAS_PERFORMANCE = Boolean(_performance && _performance.clearMarks && _performance.clearMeasures);\n    const HAS_PERFORMANCE_TIMING = Boolean(_performance.measure && _performance.getEntriesByName && _utils.browserPerformanceTimeOrigin !== undefined);\n    return {\n      HAS_PERFORMANCE,\n      HAS_PERFORMANCE_TIMING\n    };\n  }\n  async function instrumentForPerformance(appInstance) {\n    const config = getSentryConfig();\n    const sentryConfig = config.sentry;\n    // Maintaining backwards compatibility with config.browserTracingOptions, but passing it with Sentry options is preferred.\n    const browserTracingOptions = config.browserTracingOptions || config.sentry.browserTracingOptions || {};\n    const {\n      BrowserTracing\n    } = await emberAutoImportDynamic(\"@sentry/browser\");\n    const idleTimeout = config.transitionTimeout || 5000;\n    const browserTracing = new BrowserTracing({\n      routingInstrumentation: (customStartTransaction, startTransactionOnPageLoad) => {\n        const routerMain = appInstance.lookup('router:main');\n        let routerService = appInstance.lookup('service:router');\n        if (routerService.externalRouter) {\n          // Using ember-engines-router-service in an engine.\n          routerService = routerService.externalRouter;\n        }\n        if (routerService._hasMountedSentryPerformanceRouting) {\n          // Routing listens to route changes on the main router, and should not be initialized multiple times per page.\n          return;\n        }\n        if (!routerService.recognize) {\n          // Router is missing critical functionality to limit cardinality of the transaction names.\n          return;\n        }\n        routerService._hasMountedSentryPerformanceRouting = true;\n        _instrumentEmberRouter(routerService, routerMain, config, customStartTransaction, startTransactionOnPageLoad);\n      },\n      idleTimeout,\n      ...browserTracingOptions\n    });\n    const client = Sentry.getCurrentHub().getClient();\n    if (client && client.addIntegration) {\n      client.addIntegration(browserTracing);\n    }\n    _instrumentEmberRunloop(config);\n    _instrumentComponents(config);\n    _instrumentInitialLoad(config);\n  }\n  var _default = _exports.default = {\n    initialize\n  };\n});","define(\"@sentry/ember/types\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n});","define(\"active-model-adapter/active-model-adapter\", [\"exports\", \"@ember-data/adapter/rest\", \"@ember-data/adapter/error\", \"ember-inflector\", \"@ember/string\"], function (_exports, _rest, _error, _emberInflector, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/adapter/rest\",0,\"@ember-data/adapter/error\",0,\"ember-inflector\",0,\"@ember/string\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  // eslint-disable-next-line ember/use-ember-data-rfc-395-imports\n\n  /**\n    @module ember-data\n  */\n\n  /**\n   * The ActiveModelAdapter is a subclass of the RESTAdapter designed to integrate\n   * with a JSON API that uses an underscored naming convention instead of camelCasing.\n   * It has been designed to work out of the box with the\n   * [active\\_model\\_serializers](http://github.com/rails-api/active_model_serializers)\n   * Ruby gem. This Adapter expects specific settings using ActiveModel::Serializers,\n   * `embed :ids, embed_in_root: true` which sideloads the records.\n   *\n   * This adapter extends the DS.RESTAdapter by making consistent use of the camelization,\n   * decamelization and pluralization methods to normalize the serialized JSON into a\n   * format that is compatible with a conventional Rails backend and Ember Data.\n   *\n   * ## JSON Structure\n   *\n   * The ActiveModelAdapter expects the JSON returned from your server to follow\n   * the REST adapter conventions substituting underscored keys for camelcased ones.\n   *\n   * Unlike the DS.RESTAdapter, async relationship keys must be the singular form\n   * of the relationship name, followed by \"_id\" for DS.belongsTo relationships,\n   * or \"_ids\" for DS.hasMany relationships.\n   *\n   * ### Conventional Names\n   *\n   * Attribute names in your JSON payload should be the underscored versions of\n   * the attributes in your Ember.js models.\n   *\n   * For example, if you have a `Person` model:\n   *\n   * ```javascript\n   * export default class FamousPerson extends Model {\n   *   @attr() firstName;\n   *   @attr() lastName;\n   *   @attr() occupation;\n   * }\n   * ```\n   *\n   * The JSON returned should look like this:\n   *\n   * ```json\n   * {\n   *   \"famous_person\": {\n   *     \"id\": 1,\n   *     \"first_name\": \"Barack\",\n   *     \"last_name\": \"Obama\",\n   *     \"occupation\": \"President\"\n   *   }\n   * }\n   * ```\n   *\n   * Let's imagine that `Occupation` is just another model:\n   *\n   * ```javascript\n   * export default class Person extends Model {\n   *   @attr() firstName;\n   *   @attr() lastName;\n   *   @belongsTo('occupation') occupation;\n   * }\n   *\n   * export default class Occupation extends Model {\n   *   @attr() name;\n   *   @attr('number') salary;\n   *   @hasMany('person') people;\n   * }\n   * ```\n   *\n   * The JSON needed to avoid extra server calls, should look like this:\n   *\n   * ```json\n   * {\n   *   \"people\": [{\n   *     \"id\": 1,\n   *     \"first_name\": \"Barack\",\n   *     \"last_name\": \"Obama\",\n   *     \"occupation_id\": 1\n   *   }],\n   *\n   *   \"occupations\": [{\n   *     \"id\": 1,\n   *     \"name\": \"President\",\n   *     \"salary\": 100000,\n   *     \"person_ids\": [1]\n   *   }]\n   * }\n   * ```\n   *\n   * @class ActiveModelAdapter\n   * @constructor\n   * @namespace DS\n   * @extends DS.RESTAdapter\n   */\n  class ActiveModelAdapter extends _rest.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"defaultSerializer\", '-active-model');\n    }\n    /**\n     * The ActiveModelAdapter overrides the `pathForType` method to build\n     * underscored URLs by decamelizing and pluralizing the object type name.\n     *\n     * ```js\n     *   this.pathForType(\"famousPerson\");\n     *   //=> \"famous_people\"\n     * ```\n     *\n     * @method pathForType\n     * @param {String} modelName\n     * @return String\n     */\n    pathForType(modelName) {\n      const decamelized = (0, _string.decamelize)(modelName);\n      const underscored = (0, _string.underscore)(decamelized);\n      return (0, _emberInflector.pluralize)(underscored);\n    }\n\n    /**\n     * The ActiveModelAdapter overrides the `handleResponse` method\n     * to format errors passed to a DS.InvalidError for all\n     * 422 Unprocessable Entity responses.\n     *\n     * A 422 HTTP response from the server generally implies that the request\n     * was well formed but the API was unable to process it because the\n     * content was not semantically correct or meaningful per the API.\n     *\n     * For more information on 422 HTTP Error code see 11.2 WebDAV RFC 4918\n     * https://tools.ietf.org/html/rfc4918#section-11.2\n     *\n     * @method handleResponse\n     * @param  {Number} status\n     * @param  {Object} headers\n     * @param  {Object} payload\n     * @return {Object | AdapterError} response\n     */\n    handleResponse(status, headers, payload, requestData) {\n      if (this.isInvalid(status, headers, payload)) {\n        const errors = (0, _error.errorsHashToArray)(payload.errors);\n        return new _error.InvalidError(errors);\n      } else {\n        return super.handleResponse(status, headers, payload, requestData);\n      }\n    }\n  }\n  _exports.default = ActiveModelAdapter;\n});","define(\"active-model-adapter/active-model-serializer\", [\"exports\", \"@ember-data/serializer/rest\", \"ember-inflector\", \"@ember/string\", \"@ember/service\", \"@ember/utils\"], function (_exports, _rest, _emberInflector, _string, _service, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/rest\",0,\"ember-inflector\",0,\"@ember/string\",0,\"@ember/service\",0,\"@ember/string\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  // eslint-disable-next-line ember/use-ember-data-rfc-395-imports\n  // eslint-disable-next-line ember/use-ember-data-rfc-395-imports\n  /**\n    @module ember-data\n   */\n  /**\n    The ActiveModelSerializer is a subclass of the RESTSerializer designed to integrate\n    with a JSON API that uses an underscored naming convention instead of camelCasing.\n    It has been designed to work out of the box with the\n    [active\\_model\\_serializers](http://github.com/rails-api/active_model_serializers)\n    Ruby gem. This Serializer expects specific settings using ActiveModel::Serializers,\n    `embed :ids, embed_in_root: true` which sideloads the records.\n  \n    This serializer extends the DS.RESTSerializer by making consistent\n    use of the camelization, decamelization and pluralization methods to\n    normalize the serialized JSON into a format that is compatible with\n    a conventional Rails backend and Ember Data.\n  \n    ## JSON Structure\n  \n    The ActiveModelSerializer expects the JSON returned from your server\n    to follow the REST adapter conventions substituting underscored keys\n    for camelcased ones.\n  \n    ### Conventional Names\n  \n    Attribute names in your JSON payload should be the underscored versions of\n    the attributes in your Ember.js models.\n  \n    For example, if you have a `Person` model:\n  \n    ```javascript\n    export default class Person extends Model {\n      @attr() firstName;\n      @attr() lastName;\n      @belongsTo('occupation') occupation;\n    }\n    ```\n  \n    The JSON returned should look like this:\n  \n    ```json\n    {\n      \"famous_person\": {\n        \"id\": 1,\n        \"first_name\": \"Barack\",\n        \"last_name\": \"Obama\",\n        \"occupation\": \"President\"\n      }\n    }\n    ```\n  \n    Let's imagine that `Occupation` is just another model:\n  \n    ```javascript\n    export default class Person extends Model {\n      @attr() firstName;\n      @attr() lastName;\n      @belongsTo('occupation') occupation;\n    }\n  \n    export default class Occupation extends Model {\n      @attr() name;\n      @attr('number') salary;\n      @hasMany('person') people;\n    }\n    ```\n  \n    The JSON needed to avoid extra server calls, should look like this:\n  \n    ```json\n    {\n      \"people\": [{\n        \"id\": 1,\n        \"first_name\": \"Barack\",\n        \"last_name\": \"Obama\",\n        \"occupation_id\": 1\n      }],\n  \n      \"occupations\": [{\n        \"id\": 1,\n        \"name\": \"President\",\n        \"salary\": 100000,\n        \"person_ids\": [1]\n      }]\n    }\n    ```\n  */\n  let ActiveModelSerializer = _exports.default = (_class = class ActiveModelSerializer extends _rest.default {\n    constructor(...args) {\n      super(...args);\n      _initializerDefineProperty(this, \"store\", _descriptor, this);\n    }\n    // SERIALIZE\n\n    /**\n      Converts camelCased attributes to underscored when serializing.\n    */\n    keyForAttribute(attr) {\n      return (0, _string.decamelize)(attr);\n    }\n\n    /**\n      Underscores relationship names and appends \"_id\" or \"_ids\" when serializing\n      relationship keys.\n    */\n    keyForRelationship(relationshipModelName, kind) {\n      const key = (0, _string.decamelize)(relationshipModelName);\n      if (kind === 'belongsTo') {\n        return key + '_id';\n      } else if (kind === 'hasMany') {\n        return (0, _emberInflector.singularize)(key) + '_ids';\n      } else {\n        return key;\n      }\n    }\n\n    /**\n     `keyForLink` can be used to define a custom key when deserializing link\n     properties. The `ActiveModelSerializer` camelizes link keys by default.\n     */\n    // eslint-disable-next-line @typescript-eslint/no-unused-vars\n    keyForLink(key, _relationshipKind) {\n      return (0, _string.camelize)(key);\n    }\n\n    /*\n      Does not serialize hasMany relationships by default.\n    */\n    // eslint-disable-next-line\n    serializeHasMany() {}\n\n    /**\n     Underscores the JSON root keys when serializing.\n    */\n    payloadKeyFromModelName(modelName) {\n      return (0, _string.underscore)((0, _string.decamelize)(modelName));\n    }\n\n    /**\n      Serializes a polymorphic type as a fully capitalized model name.\n    */\n    serializePolymorphicType(snapshot, json, relationship) {\n      const key = relationship.key;\n      const belongsTo = snapshot.belongsTo(key);\n      const jsonKey = (0, _string.underscore)(key + '_type');\n      if ((0, _utils.isNone)(belongsTo)) {\n        json[jsonKey] = null;\n      } else {\n        json[jsonKey] = (0, _string.classify)(belongsTo.modelName).replace('/', '::');\n      }\n    }\n\n    /**\n      Add extra step to `DS.RESTSerializer.normalize` so links are normalized.\n       If your payload looks like:\n       ```json\n      {\n        \"post\": {\n          \"id\": 1,\n          \"title\": \"Rails is omakase\",\n          \"links\": { \"flagged_comments\": \"api/comments/flagged\" }\n        }\n      }\n      ```\n       The normalized version would look like this\n       ```json\n      {\n        \"post\": {\n          \"id\": 1,\n          \"title\": \"Rails is omakase\",\n          \"links\": { \"flaggedComments\": \"api/comments/flagged\" }\n        }\n      }\n      ```\n    */\n    normalize(typeClass, hash, prop) {\n      this.normalizeLinks(hash);\n      return super.normalize(typeClass, hash, prop);\n    }\n\n    /**\n      Convert `snake_cased` links  to `camelCase`\n    */\n\n    // eslint-disable-next-line\n    normalizeLinks(data) {\n      if (data.links) {\n        const links = data.links;\n        for (const link in links) {\n          const camelizedLink = (0, _string.camelize)(link);\n          if (camelizedLink !== link) {\n            links[camelizedLink] = links[link];\n            delete links[link];\n          }\n        }\n      }\n    }\n\n    /**\n     * @private\n     */\n    _keyForIDLessRelationship(key, relationshipType) {\n      if (relationshipType === 'hasMany') {\n        return (0, _string.underscore)((0, _emberInflector.pluralize)(key));\n      } else {\n        return (0, _string.underscore)((0, _emberInflector.singularize)(key));\n      }\n    }\n    extractRelationships(modelClass, resourceHash) {\n      modelClass.eachRelationship(\n      // eslint-disable-next-line @typescript-eslint/no-explicit-any\n      (key, relationshipMeta) => {\n        const relationshipKey = this.keyForRelationship(key, relationshipMeta.kind);\n        const idLessKey = this._keyForIDLessRelationship(key, relationshipMeta.kind);\n\n        // converts post to post_id, posts to post_ids\n        if (resourceHash[idLessKey] && typeof relationshipMeta[relationshipKey] === 'undefined') {\n          resourceHash[relationshipKey] = resourceHash[idLessKey];\n        }\n\n        // prefer the format the AMS gem expects, e.g.:\n        // relationship: {id: id, type: type}\n        if (relationshipMeta.options.polymorphic) {\n          extractPolymorphicRelationships(key, relationshipMeta, resourceHash, relationshipKey);\n        }\n        // If the preferred format is not found, use {relationship_name_id, relationship_name_type}\n        if (Object.prototype.hasOwnProperty.call(resourceHash, relationshipKey) && typeof resourceHash[relationshipKey] !== 'object') {\n          const polymorphicTypeKey = this.keyForRelationship(key) + '_type';\n          if (resourceHash[polymorphicTypeKey] && relationshipMeta.options.polymorphic) {\n            const id = resourceHash[relationshipKey];\n            const type = resourceHash[polymorphicTypeKey];\n            delete resourceHash[polymorphicTypeKey];\n            delete resourceHash[relationshipKey];\n            resourceHash[relationshipKey] = {\n              id: id,\n              type: type\n            };\n          }\n        }\n      }, this);\n      return super.extractRelationships(modelClass, resourceHash);\n    }\n    modelNameFromPayloadKey(key) {\n      const convertedFromRubyModule = (0, _emberInflector.singularize)(key.replace('::', '/'));\n      return (0, _string.dasherize)(convertedFromRubyModule);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"store\", [_service.inject], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  function extractPolymorphicRelationships(key,\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  _relationshipMeta,\n  // eslint-disable-next-line @typescript-eslint/no-explicit-any\n  resourceHash, relationshipKey) {\n    const polymorphicKey = (0, _string.decamelize)(key);\n    const hash = resourceHash[polymorphicKey];\n    if (hash !== null && typeof hash === 'object') {\n      resourceHash[relationshipKey] = hash;\n    }\n  }\n});","define(\"active-model-adapter/index\", [\"exports\", \"active-model-adapter/active-model-adapter\", \"active-model-adapter/active-model-serializer\"], function (_exports, _activeModelAdapter, _activeModelSerializer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"ActiveModelAdapter\", {\n    enumerable: true,\n    get: function () {\n      return _activeModelAdapter.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ActiveModelSerializer\", {\n    enumerable: true,\n    get: function () {\n      return _activeModelSerializer.default;\n    }\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"active-model-adapter/active-model-adapter\",0,\"active-model-adapter/active-model-serializer\"eaimeta@70e063a35619d71f\n  var _default = _exports.default = _activeModelAdapter.default;\n});","define(\"active-model-adapter/initializers/active-model-adapter\", [\"exports\", \"active-model-adapter\"], function (_exports, _activeModelAdapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  0; //eaimeta@70e063a35619d71f0,\"active-model-adapter\"eaimeta@70e063a35619d71f\n  function initialize(application) {\n    application.register('adapter:-active-model', _activeModelAdapter.ActiveModelAdapter);\n    application.register('serializer:-active-model', _activeModelAdapter.ActiveModelSerializer);\n  }\n  var _default = _exports.default = {\n    initialize\n  };\n});","define(\"ember-cached-decorator-polyfill/index\", [\"exports\", \"@glimmer/tracking/primitives/cache\", \"@ember/debug\"], function (_exports, _cache, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.cached = cached;\n  function cached(...args) {\n    const [target, key, descriptor] = args;\n\n    // Error on `@cached()`, `@cached(...args)`, and `@cached propName = value;`\n    (false && !(target !== undefined) && (0, _debug.assert)('You attempted to use @cached(), which is not necessary nor supported. Remove the parentheses and you will be good to go!', target !== undefined));\n    (false && !(typeof target === 'object' && typeof key === 'string' && typeof descriptor === 'object' && args.length === 3) && (0, _debug.assert)(`You attempted to use @cached on with ${args.length > 1 ? 'arguments' : 'an argument'} ( @cached(${args.map(d => `'${d}'`).join(', ')}), which is not supported. Dependencies are automatically tracked, so you can just use ${'`@cached`'}`, typeof target === 'object' && typeof key === 'string' && typeof descriptor === 'object' && args.length === 3));\n    (false && !(typeof descriptor.get == 'function') && (0, _debug.assert)(`The @cached decorator must be applied to getters. '${key}' is not a getter.`, typeof descriptor.get == 'function'));\n    const caches = new WeakMap();\n    const getter = descriptor.get;\n    descriptor.get = function () {\n      if (!caches.has(this)) caches.set(this, (0, _cache.createCache)(getter.bind(this)));\n      return (0, _cache.getValue)(caches.get(this));\n    };\n  }\n});","define(\"ember-cli-app-version/initializer-factory\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = initializerFactory;\n  function initializerFactory(name, version) {\n    let registered = false;\n    return function () {\n      if (!registered && name && version) {\n        _metal.libraries.register(name, version);\n        registered = true;\n      }\n    };\n  }\n});","define(\"ember-cli-app-version/utils/regexp\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.versionRegExp = _exports.versionExtendedRegExp = _exports.shaRegExp = void 0;\n  const versionRegExp = _exports.versionRegExp = /\\d+[.]\\d+[.]\\d+/; // Match any number of 3 sections of digits separated by .\n  const versionExtendedRegExp = _exports.versionExtendedRegExp = /\\d+[.]\\d+[.]\\d+-[a-z]*([.]\\d+)?/; // Match the above but also hyphen followed by any number of lowercase letters, then optionally period and digits\n  const shaRegExp = _exports.shaRegExp = /[a-z\\d]{8}$/; // Match 8 lowercase letters and digits, at the end of the string only (to avoid matching with version extended part)\n});","define(\"ember-cli-deprecation-workflow/index\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupDeprecationWorkflow;\n  _exports.deprecationCollector = deprecationCollector;\n  _exports.detectWorkflow = detectWorkflow;\n  _exports.flushDeprecations = flushDeprecations;\n  _exports.handleDeprecationWorkflow = handleDeprecationWorkflow;\n  const LOG_LIMIT = 100;\n  function setupDeprecationWorkflow(config) {\n    self.deprecationWorkflow = self.deprecationWorkflow || {};\n    self.deprecationWorkflow.deprecationLog = {\n      messages: new Set()\n    };\n    (0, _debug.registerDeprecationHandler)((message, options, next) => handleDeprecationWorkflow(config, message, options, next));\n    (0, _debug.registerDeprecationHandler)(deprecationCollector);\n    self.deprecationWorkflow.flushDeprecations = flushDeprecations;\n  }\n  let preamble = `import setupDeprecationWorkflow from 'ember-cli-deprecation-workflow';\n\nsetupDeprecationWorkflow({\n  workflow: [\n`;\n  let postamble = `  ]\n});`;\n  function matchesWorkflow(matcher, value) {\n    return typeof matcher === 'string' && matcher === value || matcher instanceof RegExp && matcher.exec(value);\n  }\n  function detectWorkflow(config, message, options) {\n    if (!config || !config.workflow) {\n      return;\n    }\n    let i, workflow, matcher, idMatcher;\n    for (i = 0; i < config.workflow.length; i++) {\n      workflow = config.workflow[i];\n      matcher = workflow.matchMessage;\n      idMatcher = workflow.matchId;\n      if (matchesWorkflow(idMatcher, options?.id) || matchesWorkflow(matcher, message)) {\n        return workflow;\n      }\n    }\n  }\n  function flushDeprecations({\n    handler = 'silence'\n  } = {}) {\n    let messages = self.deprecationWorkflow.deprecationLog.messages;\n    let logs = [];\n    for (let id of messages.values()) {\n      logs.push(`    { handler: ${JSON.stringify(handler)}, matchId: ${JSON.stringify(id)} }`);\n    }\n    let deprecations = logs.join(',\\n') + '\\n';\n    return preamble + deprecations + postamble;\n  }\n  function handleDeprecationWorkflow(config, message, options, next) {\n    let matchingWorkflow = detectWorkflow(config, message, options);\n    if (!matchingWorkflow) {\n      if (config && config.throwOnUnhandled) {\n        throw new Error(message);\n      } else {\n        next(message, options);\n      }\n    } else {\n      switch (matchingWorkflow.handler) {\n        case 'silence':\n          // no-op\n          break;\n        case 'log':\n          {\n            let key = options && options.id || message;\n            if (!self.deprecationWorkflow.logCounts) {\n              self.deprecationWorkflow.logCounts = {};\n            }\n            let count = self.deprecationWorkflow.logCounts[key] || 0;\n            self.deprecationWorkflow.logCounts[key] = ++count;\n            if (count <= LOG_LIMIT) {\n              console.warn('DEPRECATION: ' + message);\n              if (count === LOG_LIMIT) {\n                console.warn('To avoid console overflow, this deprecation will not be logged any more in this run.');\n              }\n            }\n            break;\n          }\n        case 'throw':\n          throw new Error(message);\n        default:\n          next(message, options);\n          break;\n      }\n    }\n  }\n  function deprecationCollector(message, options, next) {\n    self.deprecationWorkflow.deprecationLog.messages.add(options.id);\n    next(message, options);\n  }\n});","define('ember-data/-private', ['exports', '@ember/array/proxy', '@ember/object/promise-proxy-mixin', '@ember/object/proxy', '@ember-data/legacy-compat', '@ember-data/request', '@ember-data/request/fetch', '@ember-data/store', '@ember/application/namespace', 'ember', 'ember-data/version', '@ember-data/model/-private', '@ember-data/legacy-compat/-private', '@ember-data/store/-private'], (function (exports, ArrayProxy, PromiseProxyMixin, ObjectProxy, legacyCompat, RequestManager, Fetch, BaseStore, Namespace, Ember, VERSION, Private, Private$1, Private$2) { 'use strict';\n\n  const _interopDefaultLegacy = e => e && typeof e === 'object' && 'default' in e ? e : { default: e };\n\n  const ArrayProxy__default = /*#__PURE__*/_interopDefaultLegacy(ArrayProxy);\n  const PromiseProxyMixin__default = /*#__PURE__*/_interopDefaultLegacy(PromiseProxyMixin);\n  const ObjectProxy__default = /*#__PURE__*/_interopDefaultLegacy(ObjectProxy);\n  const RequestManager__default = /*#__PURE__*/_interopDefaultLegacy(RequestManager);\n  const Fetch__default = /*#__PURE__*/_interopDefaultLegacy(Fetch);\n  const BaseStore__default = /*#__PURE__*/_interopDefaultLegacy(BaseStore);\n  const Namespace__default = /*#__PURE__*/_interopDefaultLegacy(Namespace);\n  const Ember__default = /*#__PURE__*/_interopDefaultLegacy(Ember);\n  const VERSION__default = /*#__PURE__*/_interopDefaultLegacy(VERSION);\n\n  const DS = Namespace__default.default.create({\n    VERSION: VERSION__default.default,\n    name: 'DS'\n  });\n  if (Ember__default.default.libraries) {\n    Ember__default.default.libraries.registerCoreLibrary('Ember Data', VERSION__default.default);\n  }\n\n  class Store extends BaseStore__default.default {\n    constructor(args) {\n      super(args);\n      this.requestManager = new RequestManager__default.default();\n      this.requestManager.use([legacyCompat.LegacyNetworkHandler, Fetch__default.default]);\n      this.requestManager.useCache(BaseStore.CacheHandler);\n    }\n  }\n  const PromiseArray = ArrayProxy__default.default.extend(PromiseProxyMixin__default.default);\n  const PromiseObject = ObjectProxy__default.default.extend(PromiseProxyMixin__default.default);\n\n  Object.defineProperty(exports, 'Errors', {\n    enumerable: true,\n    get: () => Private.Errors\n  });\n  Object.defineProperty(exports, 'ManyArray', {\n    enumerable: true,\n    get: () => Private.ManyArray\n  });\n  Object.defineProperty(exports, 'PromiseManyArray', {\n    enumerable: true,\n    get: () => Private.PromiseManyArray\n  });\n  Object.defineProperty(exports, 'Snapshot', {\n    enumerable: true,\n    get: () => Private$1.Snapshot\n  });\n  Object.defineProperty(exports, 'SnapshotRecordArray', {\n    enumerable: true,\n    get: () => Private$1.SnapshotRecordArray\n  });\n  Object.defineProperty(exports, 'RecordArrayManager', {\n    enumerable: true,\n    get: () => Private$2.RecordArrayManager\n  });\n  Object.defineProperty(exports, 'coerceId', {\n    enumerable: true,\n    get: () => Private$2.coerceId\n  });\n  Object.defineProperty(exports, 'normalizeModelName', {\n    enumerable: true,\n    get: () => Private$2.normalizeModelName\n  });\n  exports.DS = DS;\n  exports.PromiseArray = PromiseArray;\n  exports.PromiseObject = PromiseObject;\n  exports.Store = Store;\n\n  Object.defineProperties(exports, { __esModule: { value: true }, [Symbol.toStringTag]: { value: 'Module' } });\n\n}));\n","define(\"ember-data/adapter\", [\"exports\", \"@ember-data/adapter\"], function (_exports, _adapter) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _adapter.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/adapter\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/adapters/errors\", [\"exports\", \"@ember-data/adapter/error\"], function (_exports, _error) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"AbortError\", {\n    enumerable: true,\n    get: function () {\n      return _error.AbortError;\n    }\n  });\n  Object.defineProperty(_exports, \"AdapterError\", {\n    enumerable: true,\n    get: function () {\n      return _error.default;\n    }\n  });\n  Object.defineProperty(_exports, \"ConflictError\", {\n    enumerable: true,\n    get: function () {\n      return _error.ConflictError;\n    }\n  });\n  Object.defineProperty(_exports, \"ForbiddenError\", {\n    enumerable: true,\n    get: function () {\n      return _error.ForbiddenError;\n    }\n  });\n  Object.defineProperty(_exports, \"InvalidError\", {\n    enumerable: true,\n    get: function () {\n      return _error.InvalidError;\n    }\n  });\n  Object.defineProperty(_exports, \"NotFoundError\", {\n    enumerable: true,\n    get: function () {\n      return _error.NotFoundError;\n    }\n  });\n  Object.defineProperty(_exports, \"ServerError\", {\n    enumerable: true,\n    get: function () {\n      return _error.ServerError;\n    }\n  });\n  Object.defineProperty(_exports, \"TimeoutError\", {\n    enumerable: true,\n    get: function () {\n      return _error.TimeoutError;\n    }\n  });\n  Object.defineProperty(_exports, \"UnauthorizedError\", {\n    enumerable: true,\n    get: function () {\n      return _error.UnauthorizedError;\n    }\n  });\n  Object.defineProperty(_exports, \"errorsArrayToHash\", {\n    enumerable: true,\n    get: function () {\n      return _error.errorsArrayToHash;\n    }\n  });\n  Object.defineProperty(_exports, \"errorsHashToArray\", {\n    enumerable: true,\n    get: function () {\n      return _error.errorsHashToArray;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/adapter/error\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/adapters/json-api\", [\"exports\", \"@ember-data/adapter/json-api\"], function (_exports, _jsonApi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _jsonApi.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/adapter/json-api\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/adapters/rest\", [\"exports\", \"@ember-data/adapter/rest\"], function (_exports, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _rest.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/adapter/rest\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/attr\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _model.attr;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/index\", [\"exports\", \"@ember-data/adapter\", \"@ember-data/adapter/error\", \"@ember-data/adapter/json-api\", \"@ember-data/adapter/rest\", \"@ember-data/model\", \"@ember-data/serializer\", \"@ember-data/serializer/-private\", \"@ember-data/serializer/json\", \"@ember-data/serializer/json-api\", \"@ember-data/serializer/rest\", \"@ember-data/serializer/transform\", \"@ember-data/store\", \"ember-data/-private\", \"ember-data/setup-container\", \"@embroider/macros/es-compat2\"], function (_exports, _adapter, _error, _jsonApi, _rest, _model, _serializer, _private, _json, _jsonApi2, _rest2, _transform, _store, _private2, _setupContainer, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"ember-inflector\",0,\"@embroider/macros\",0,\"@ember-data/adapter\",0,\"@ember-data/adapter/error\",0,\"@ember-data/adapter/json-api\",0,\"@ember-data/adapter/rest\",0,\"@ember-data/model\",0,\"@ember-data/serializer\",0,\"@ember-data/serializer/-private\",0,\"@ember-data/serializer/json\",0,\"@ember-data/serializer/json-api\",0,\"@ember-data/serializer/rest\",0,\"@ember-data/serializer/transform\",0,\"@ember-data/store\",0,\"ember-data/-private\",0,\"ember-data/setup-container\",0,\"@ember-data/debug\"eaimeta@70e063a35619d71f\n  /**\n   <p align=\"center\">\n    <img\n      class=\"project-logo\"\n      src=\"https://raw.githubusercontent.com/emberjs/data/4612c9354e4c54d53327ec2cf21955075ce21294/ember-data-logo-light.svg#gh-light-mode-only\"\n      alt=\"EmberData\"\n      width=\"240px\"\n      title=\"EmberData\"\n      />\n  </p>\n  \n  <p align=\"center\">The lightweight reactive data library for JavaScript applications</p>\n  \n  ---\n  \n  Wrangle your application's data management with scalable patterns for developer productivity.\n  \n  - ⚡️  Committed to Best-In-Class Performance\n  - 🌲 Focused on being as svelte as possible\n  - 🚀 SSR Ready\n  - 🔜 Typescript Support\n  - 🐹 Built with ♥️ by [Ember](https://emberjs.com)\n  - ⚛️ Supports any API: `GraphQL` `JSON:API` `REST` `tRPC` ...bespoke or a mix\n  \n  ### 📖 On This Page\n  \n  - [Overview](./#overview)\n    - [Architecture](#🪜-architecture)\n    - [Basic Installation](#basic-installation)\n    - [Advanced Installation](#advanced-installation)\n  - [Configuration](#configuration)\n    - [Deprecation Stripping](#deprecation-stripping)\n    - [randomUUID polyfill](#randomuuid-polyfill)\n    - [Removing inspector support in production](#removing-inspector-support-in-production)\n    - [Debugging](#debugging)\n  \n  \n  # Overview\n  \n  *Ember*‍**Data** is a lightweight reactive data library for JavaScript applications that provides composable primitives for ordering query/mutation/peek flows, managing network and cache, and reducing data for presentation.\n  \n  ## 🪜 Architecture\n  \n  The core of *Ember*‍**Data** is the `Store`, which coordinates interaction between your application, the `Cache`, and sources of data (such as your `API` or a local persistence layer).\n  Optionally, the Store can be configured to hydrate the response data into rich presentation classes.\n  \n  *Ember*‍**Data** is both resource centric and document centric in it's approach to caching, requesting and presenting data. Your application's configuration and usage drives which is important and when.\n  \n  The `Store` is a **coordinator**. When using a `Store` you configure what cache to use, how cache data should be presented to the UI, and where it should look for requested data when it is not available in the cache.\n  \n  This coordination is handled opaquely to the nature of the requests issued and the format of the data being handled. This approach gives applications broad flexibility to configure *Ember*‍**Data** to best suite their needs. This makes *Ember*‍**Data** a powerful solution for applications regardless of their size and complexity.\n  \n  *Ember*‍**Data** is designed to scale, with a religious focus on performance and asset-size to keep its footprint small but speedy while still being able to handle large complex APIs in huge data-driven applications with no additional code and no added application complexity. It's goal is to prevent applications from writing code to manage data that is difficult to maintain or reason about.\n  \n  *Ember*‍**Data**'s power comes not from specific features, data formats, or adherence to specific API specs such as `JSON:API` `trpc` or `GraphQL`, but from solid conventions around requesting and mutating data developed over decades of experience scaling developer productivity.\n  \n  ## Basic Installation\n  \n  Install using your javascript package manager of choice. For instance with [pnpm](https://pnpm.io/)\n  \n  ```no-highlight\n  pnpm add ember-data\n  ```\n  \n  `ember-data` is installed by default for new applications generated with `ember-cli`. You can check what version is installed by looking in the `devDependencies` hash of your project's [package.json](https://docs.npmjs.com/cli/v8/configuring-npm/package-json) file.\n  \n  If you have generated a new `Ember` application using `ember-cli` but do\n  not wish to use `ember-data`, remove `ember-data` from your project's `package.json` file and run your package manager's install command to update your lockfile.\n  \n  ## Advanced Installation\n  \n  *Ember*‍**Data** is organized into primitives that compose together via public APIs.\n  \n  - [@ember-data/store](/ember-data/release/modules/@ember-data%2Fstore) is the core and handles coordination\n  - [@ember-data/json-api](/ember-data/release/modules/@ember-data%2Fjson-api) provides a resource cache for JSON:API structured data. It integrates with the store via the hook `createCache`\n  - [@ember-data/model](/ember-data/release/modules/@ember-data%2Fmodel) is a presentation layer, it integrates with the store via the hooks `instantiateRecord` and `teardownRecord`.\n  - [@ember-data/adapter](/ember-data/release/modules/@ember-data%2Fadapter) provides various network API integrations for APIS built over specific REST or JSON:API conventions.\n  - [@ember-data/serializer](/ember-data/release/modules/@ember-data%2Fserializer) pairs with `@ember-data/adapter` to normalize and serialize data to and from an API format into the `JSON:API` format understood by `@ember-data/json-api`.\n  - [@ember-data/debug](/ember-data/release/modules/@ember-data%2Fdebug) provides debugging support for the `ember-inspector`.\n  - **ember-data** is a \"meta\" package which bundles all of these together for convenience\n  \n  The packages interop with each other through well defined public API boundaries. The core\n  of the library is the store provided by `@ember-data/store`, while each of the other libraries plugs into the store when installed. Because these packages interop via fully\n  public APIs, other libraries or applications may provide their own implementations. For instance, [ember-m3](https://github.com/hjdivad/ember-m3) is a commonly used presentation and cache implementation suitable for complex resource objects and graphs.\n  \n  ## Configuration\n  \n  ### Deprecation Stripping\n  \n  *Ember*‍**Data** allows users to opt-in and remove code that exists to support deprecated behaviors.\n  \n  If your app has resolved all deprecations present in a given version, you may specify that version as your \"compatibility\" version to remove the code that supported the deprecated behavior from your app.\n  \n  ```ts\n  let app = new EmberApp(defaults, {\n    emberData: {\n      compatWith: '4.8',\n    },\n  });\n  ```\n  \n  - [Full Documentation](https://api.emberjs.com/ember-data/release/modules/@ember-data%2Fdeprecations)\n  \n  ### randomUUID polyfill\n  \n  *Ember*‍**Data** uses `UUID V4` by default to generate identifiers for new data created on the client. Identifier generation is configurable, but we also for convenience will polyfill\n  the necessary feature if your browser support or deployment environment demands it. To\n  activate this polyfill:\n  \n  ```ts\n  let app = new EmberApp(defaults, {\n    '@embroider/macros': {\n      setConfig: {\n        '@ember-data/store': {\n          polyfillUUID: true\n        },\n      },\n    },\n  });\n  ```\n  \n  ### removing inspector support in production\n  \n  If you do not with to ship inspector support in your production application, you can specify\n  that all support for it should be stripped from the build.\n  \n  ```ts\n  let app = new EmberApp(defaults, {\n    emberData: {\n      includeDataAdapterInProduction: false\n    }\n  });\n  ```\n  \n  - [Full Documentation](https://api.emberjs.com/ember-data/release/modules/@ember-data%2Fdebug)\n  \n  ### Debugging\n  \n  Many portions of the internals are helpfully instrumented with logging that can be activated\n  at build time. This instrumentation is always removed from production builds or any builds\n  that has not explicitly activated it. To activate it set the appropriate flag to `true`.\n  \n  ```ts\n    let app = new EmberApp(defaults, {\n      emberData: {\n        debug: {\n            LOG_PAYLOADS: false, // data store received to update cache with\n            LOG_OPERATIONS: false, // updates to cache remote state\n            LOG_MUTATIONS: false, // updates to cache local state\n            LOG_NOTIFICATIONS: false,\n            LOG_REQUESTS: false, // log Requests issued via the request manager\n            LOG_REQUEST_STATUS: false,\n            LOG_IDENTIFIERS: false,\n            LOG_GRAPH: false,\n            LOG_INSTANCE_CACHE: false,\n        }\n      }\n    });\n    ```\n  \n   @module ember-data-overview\n   @main ember-data-overview\n  */\n  _private2.DS.Store = _private2.Store;\n  _private2.DS.PromiseArray = _private2.PromiseArray;\n  _private2.DS.PromiseObject = _private2.PromiseObject;\n  _private2.DS.PromiseManyArray = _private2.PromiseManyArray;\n  _private2.DS.Model = _model.default;\n  _private2.DS.attr = _model.attr;\n  _private2.DS.Errors = _private2.Errors;\n  _private2.DS.Snapshot = _private2.Snapshot;\n  _private2.DS.Adapter = _adapter.default;\n  _private2.DS.AdapterError = _error.default;\n  _private2.DS.InvalidError = _error.InvalidError;\n  _private2.DS.TimeoutError = _error.TimeoutError;\n  _private2.DS.AbortError = _error.AbortError;\n  _private2.DS.UnauthorizedError = _error.UnauthorizedError;\n  _private2.DS.ForbiddenError = _error.ForbiddenError;\n  _private2.DS.NotFoundError = _error.NotFoundError;\n  _private2.DS.ConflictError = _error.ConflictError;\n  _private2.DS.ServerError = _error.ServerError;\n  _private2.DS.errorsHashToArray = _error.errorsHashToArray;\n  _private2.DS.errorsArrayToHash = _error.errorsArrayToHash;\n  _private2.DS.Serializer = _serializer.default;\n  {\n    _private2.DS.DebugAdapter = (0, _esCompat.default)(require(\"@ember-data/debug\")).default;\n  }\n  _private2.DS.ManyArray = _private2.ManyArray;\n  _private2.DS.RecordArrayManager = _private2.RecordArrayManager;\n  _private2.DS.RESTAdapter = _rest.default;\n  _private2.DS.BuildURLMixin = _adapter.BuildURLMixin;\n  _private2.DS.RESTSerializer = _rest2.default;\n  _private2.DS.JSONSerializer = _json.default;\n  _private2.DS.JSONAPIAdapter = _jsonApi.default;\n  _private2.DS.JSONAPISerializer = _jsonApi2.default;\n  _private2.DS.Transform = _transform.default;\n  _private2.DS.DateTransform = _private.DateTransform;\n  _private2.DS.StringTransform = _private.StringTransform;\n  _private2.DS.NumberTransform = _private.NumberTransform;\n  _private2.DS.BooleanTransform = _private.BooleanTransform;\n  _private2.DS.EmbeddedRecordsMixin = _rest2.EmbeddedRecordsMixin;\n  _private2.DS.belongsTo = _model.belongsTo;\n  _private2.DS.hasMany = _model.hasMany;\n  _private2.DS._setupContainer = _setupContainer.default;\n  Object.defineProperty(_private2.DS, 'normalizeModelName', {\n    enumerable: true,\n    writable: false,\n    configurable: false,\n    value: _store.normalizeModelName\n  });\n  var _default = _exports.default = _private2.DS;\n});","define(\"ember-data/model\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _model.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/relationships\", [\"exports\", \"@ember-data/model\"], function (_exports, _model) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"belongsTo\", {\n    enumerable: true,\n    get: function () {\n      return _model.belongsTo;\n    }\n  });\n  Object.defineProperty(_exports, \"hasMany\", {\n    enumerable: true,\n    get: function () {\n      return _model.hasMany;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/model\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/serializer\", [\"exports\", \"@ember-data/serializer\"], function (_exports, _serializer) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _serializer.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/serializers/embedded-records-mixin\", [\"exports\", \"@ember-data/serializer/rest\"], function (_exports, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _rest.EmbeddedRecordsMixin;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/rest\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/serializers/json-api\", [\"exports\", \"@ember-data/serializer/json-api\"], function (_exports, _jsonApi) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _jsonApi.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json-api\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/serializers/json\", [\"exports\", \"@ember-data/serializer/json\"], function (_exports, _json) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _json.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/json\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/serializers/rest\", [\"exports\", \"@ember-data/serializer/rest\"], function (_exports, _rest) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _rest.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/rest\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/setup-container\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = setupContainer;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  function initializeStore(application) {\n    application.registerOptionsForType('serializer', {\n      singleton: false\n    });\n    application.registerOptionsForType('adapter', {\n      singleton: false\n    });\n  }\n  function setupContainer(application) {\n    initializeStore(application);\n  }\n});","define(\"ember-data/store\", [\"exports\", \"ember-data/-private\"], function (_exports, _private) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _private.Store;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"ember-data/-private\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/transform\", [\"exports\", \"@ember-data/serializer/transform\"], function (_exports, _transform) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"default\", {\n    enumerable: true,\n    get: function () {\n      return _transform.default;\n    }\n  });\n  0; //eaimeta@70e063a35619d71f0,\"@ember-data/serializer/transform\"eaimeta@70e063a35619d71f\n});","define(\"ember-data/version\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  var _default = _exports.default = \"4.12.8\";\n});","define(\"ember-inflector/index\", [\"exports\", \"ember-inflector/lib/system\"], function (_exports, _system) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  Object.defineProperty(_exports, \"pluralize\", {\n    enumerable: true,\n    get: function () {\n      return _system.pluralize;\n    }\n  });\n  Object.defineProperty(_exports, \"singularize\", {\n    enumerable: true,\n    get: function () {\n      return _system.singularize;\n    }\n  });\n  var _default = _exports.default = _system.Inflector;\n});","define(\"ember-inflector/lib/helpers/pluralize\", [\"exports\", \"ember-inflector\", \"ember-inflector/lib/utils/make-helper\"], function (_exports, _emberInflector, _makeHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *\n   * If you have Ember Inflector (such as if Ember Data is present),\n   * pluralize a word. For example, turn \"ox\" into \"oxen\".\n   *\n   * Example:\n   *\n   * {{pluralize count myProperty}}\n   * {{pluralize 1 \"oxen\"}}\n   * {{pluralize myProperty}}\n   * {{pluralize \"ox\"}}\n   *\n   * @for Ember.HTMLBars.helpers\n   * @method pluralize\n   * @param {Number|Property} [count] count of objects\n   * @param {String|Property} word word to pluralize\n   */\n  var _default = _exports.default = (0, _makeHelper.default)(function (params, hash) {\n    let fullParams = new Array(...params);\n    if (fullParams.length === 2) {\n      fullParams.push({\n        withoutCount: hash['without-count']\n      });\n    }\n    return (0, _emberInflector.pluralize)(...fullParams);\n  });\n});","define(\"ember-inflector/lib/helpers/singularize\", [\"exports\", \"ember-inflector\", \"ember-inflector/lib/utils/make-helper\"], function (_exports, _emberInflector, _makeHelper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   *\n   * If you have Ember Inflector (such as if Ember Data is present),\n   * singularize a word. For example, turn \"oxen\" into \"ox\".\n   *\n   * Example:\n   *\n   * {{singularize myProperty}}\n   * {{singularize \"oxen\"}}\n   *\n   * @for Ember.HTMLBars.helpers\n   * @method singularize\n   * @param {String|Property} word word to singularize\n   */\n  var _default = _exports.default = (0, _makeHelper.default)(function (params) {\n    return (0, _emberInflector.singularize)(params[0]);\n  });\n});","define(\"ember-inflector/lib/system\", [\"exports\", \"ember-inflector/lib/system/inflector\", \"ember-inflector/lib/system/string\"], function (_exports, _inflector, _string) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"Inflector\", {\n    enumerable: true,\n    get: function () {\n      return _inflector.default;\n    }\n  });\n  Object.defineProperty(_exports, \"pluralize\", {\n    enumerable: true,\n    get: function () {\n      return _string.pluralize;\n    }\n  });\n  Object.defineProperty(_exports, \"singularize\", {\n    enumerable: true,\n    get: function () {\n      return _string.singularize;\n    }\n  });\n});","define(\"ember-inflector/lib/system/inflections\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    plurals: [[/$/, 's'], [/s$/i, 's'], [/^(ax|test)is$/i, '$1es'], [/(octop|vir)us$/i, '$1i'], [/(octop|vir)i$/i, '$1i'], [/(alias|status|bonus)$/i, '$1es'], [/(bu)s$/i, '$1ses'], [/(buffal|tomat)o$/i, '$1oes'], [/([ti])um$/i, '$1a'], [/([ti])a$/i, '$1a'], [/sis$/i, 'ses'], [/(?:([^f])fe|([lr])f)$/i, '$1$2ves'], [/(hive)$/i, '$1s'], [/([^aeiouy]|qu)y$/i, '$1ies'], [/(x|ch|ss|sh)$/i, '$1es'], [/(matr|vert|ind)(?:ix|ex)$/i, '$1ices'], [/^(m|l)ouse$/i, '$1ice'], [/^(m|l)ice$/i, '$1ice'], [/^(ox)$/i, '$1en'], [/^(oxen)$/i, '$1'], [/(quiz)$/i, '$1zes']],\n    singular: [[/s$/i, ''], [/(ss)$/i, '$1'], [/(n)ews$/i, '$1ews'], [/([ti])a$/i, '$1um'], [/((a)naly|(b)a|(d)iagno|(p)arenthe|(p)rogno|(s)ynop|(t)he)(sis|ses)$/i, '$1sis'], [/(^analy)(sis|ses)$/i, '$1sis'], [/([^f])ves$/i, '$1fe'], [/(hive)s$/i, '$1'], [/(tive)s$/i, '$1'], [/([lr])ves$/i, '$1f'], [/([^aeiouy]|qu)ies$/i, '$1y'], [/(s)eries$/i, '$1eries'], [/(m)ovies$/i, '$1ovie'], [/(x|ch|ss|sh)es$/i, '$1'], [/^(m|l)ice$/i, '$1ouse'], [/(bus)(es)?$/i, '$1'], [/(o)es$/i, '$1'], [/(shoe)s$/i, '$1'], [/(cris|test)(is|es)$/i, '$1is'], [/^(a)x[ie]s$/i, '$1xis'], [/(octop|vir)(us|i)$/i, '$1us'], [/(alias|status|bonus)(es)?$/i, '$1'], [/^(ox)en/i, '$1'], [/(vert|ind)ices$/i, '$1ex'], [/(matr)ices$/i, '$1ix'], [/(quiz)zes$/i, '$1'], [/(database)s$/i, '$1']],\n    irregularPairs: [['person', 'people'], ['man', 'men'], ['child', 'children'], ['sex', 'sexes'], ['move', 'moves'], ['cow', 'kine'], ['zombie', 'zombies']],\n    uncountable: ['equipment', 'information', 'rice', 'money', 'species', 'series', 'fish', 'sheep', 'jeans', 'police']\n  };\n});","define(\"ember-inflector/lib/system/inflector\", [\"exports\", \"ember-inflector/lib/system/inflections\"], function (_exports, _inflections) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const BLANK_REGEX = /^\\s*$/;\n  const LAST_WORD_DASHED_REGEX = /([\\w/-]+[_/\\s-])([a-z\\d]+$)/;\n  const LAST_WORD_CAMELIZED_REGEX = /([\\w/\\s-]+)([A-Z][a-z\\d]*$)/;\n  const CAMELIZED_REGEX = /[A-Z][a-z\\d]*$/;\n  const CAPITALIZE_REGEX = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n  function capitalize(str) {\n    return str.replace(CAPITALIZE_REGEX, match => match.toUpperCase());\n  }\n  function loadUncountable(rules, uncountable) {\n    for (let i = 0, length = uncountable.length; i < length; i++) {\n      rules.uncountable[uncountable[i].toLowerCase()] = true;\n    }\n  }\n  function loadIrregular(rules, irregularPairs) {\n    let pair;\n    for (let i = 0, length = irregularPairs.length; i < length; i++) {\n      pair = irregularPairs[i];\n\n      //pluralizing\n      rules.irregular[pair[0].toLowerCase()] = pair[1];\n      rules.irregular[pair[1].toLowerCase()] = pair[1];\n\n      //singularizing\n      rules.irregularInverse[pair[1].toLowerCase()] = pair[0];\n      rules.irregularInverse[pair[0].toLowerCase()] = pair[0];\n    }\n  }\n\n  /**\n    Inflector.Ember provides a mechanism for supplying inflection rules for your\n    application. Ember includes a default set of inflection rules, and provides an\n    API for providing additional rules.\n  \n    Examples:\n  \n    Creating an inflector with no rules.\n  \n    ```js\n    var inflector = new Ember.Inflector();\n    ```\n  \n    Creating an inflector with the default ember ruleset.\n  \n    ```js\n    var inflector = new Ember.Inflector(Ember.Inflector.defaultRules);\n  \n    inflector.pluralize('cow'); //=> 'kine'\n    inflector.singularize('kine'); //=> 'cow'\n    ```\n  \n    Creating an inflector and adding rules later.\n  \n    ```javascript\n    var inflector = Ember.Inflector.inflector;\n  \n    inflector.pluralize('advice'); // => 'advices'\n    inflector.uncountable('advice');\n    inflector.pluralize('advice'); // => 'advice'\n  \n    inflector.pluralize('formula'); // => 'formulas'\n    inflector.irregular('formula', 'formulae');\n    inflector.pluralize('formula'); // => 'formulae'\n  \n    // you would not need to add these as they are the default rules\n    inflector.plural(/$/, 's');\n    inflector.singular(/s$/i, '');\n    ```\n  \n    Creating an inflector with a nondefault ruleset.\n  \n    ```javascript\n    var rules = {\n      plurals:  [\n        [ /$/, 's' ]\n      ],\n      singular: [\n        [ /\\s$/, '' ]\n      ],\n      irregularPairs: [\n        [ 'cow', 'kine' ]\n      ],\n      uncountable: [ 'fish' ]\n    };\n  \n    var inflector = new Ember.Inflector(rules);\n    ```\n  \n    @class Inflector\n    @namespace Ember\n  */\n  function Inflector(ruleSet) {\n    ruleSet = ruleSet || {};\n    ruleSet.uncountable = ruleSet.uncountable || makeDictionary();\n    ruleSet.irregularPairs = ruleSet.irregularPairs || makeDictionary();\n    const rules = this.rules = {\n      plurals: ruleSet.plurals || [],\n      singular: ruleSet.singular || [],\n      irregular: makeDictionary(),\n      irregularInverse: makeDictionary(),\n      uncountable: makeDictionary()\n    };\n    loadUncountable(rules, ruleSet.uncountable);\n    loadIrregular(rules, ruleSet.irregularPairs);\n    this.enableCache();\n  }\n  if (!Object.create && !Object.create(null).hasOwnProperty) {\n    throw new Error('This browser does not support Object.create(null), please polyfil with es5-sham: http://git.io/yBU2rg');\n  }\n  function makeDictionary() {\n    var cache = Object.create(null);\n    cache['_dict'] = null;\n    delete cache['_dict'];\n    return cache;\n  }\n  Inflector.prototype = {\n    /**\n      @public\n       As inflections can be costly, and commonly the same subset of words are repeatedly\n      inflected an optional cache is provided.\n       @method enableCache\n    */\n    enableCache() {\n      this.purgeCache();\n      this.singularize = function (word) {\n        this._cacheUsed = true;\n        return this._sCache[word] || (this._sCache[word] = this._singularize(word));\n      };\n      this.pluralize = function (numberOrWord, word, options = {}) {\n        this._cacheUsed = true;\n        var cacheKey = [numberOrWord, word, options.withoutCount];\n        return this._pCache[cacheKey] || (this._pCache[cacheKey] = this._pluralize(numberOrWord, word, options));\n      };\n    },\n    /**\n      @public\n       @method purgeCache\n    */\n    purgeCache() {\n      this._cacheUsed = false;\n      this._sCache = makeDictionary();\n      this._pCache = makeDictionary();\n    },\n    /**\n      @public\n      disable caching\n       @method disableCache;\n    */\n    disableCache() {\n      this._sCache = null;\n      this._pCache = null;\n      this.singularize = function (word) {\n        return this._singularize(word);\n      };\n      this.pluralize = function () {\n        return this._pluralize(...arguments);\n      };\n    },\n    /**\n      @method plural\n      @param {RegExp} regex\n      @param {String} string\n    */\n    plural(regex, string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      this.rules.plurals.push([regex, string.toLowerCase()]);\n    },\n    /**\n      @method singular\n      @param {RegExp} regex\n      @param {String} string\n    */\n    singular(regex, string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      this.rules.singular.push([regex, string.toLowerCase()]);\n    },\n    /**\n      @method uncountable\n      @param {String} regex\n    */\n    uncountable(string) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      loadUncountable(this.rules, [string.toLowerCase()]);\n    },\n    /**\n      @method irregular\n      @param {String} singular\n      @param {String} plural\n    */\n    irregular(singular, plural) {\n      if (this._cacheUsed) {\n        this.purgeCache();\n      }\n      loadIrregular(this.rules, [[singular, plural]]);\n    },\n    /**\n      @method pluralize\n      @param {String} word\n    */\n    pluralize() {\n      return this._pluralize(...arguments);\n    },\n    _pluralize(wordOrCount, word, options = {}) {\n      if (word === undefined) {\n        return this.inflect(wordOrCount, this.rules.plurals, this.rules.irregular);\n      }\n      if (parseFloat(wordOrCount) !== 1) {\n        word = this.inflect(word, this.rules.plurals, this.rules.irregular);\n      }\n      return options.withoutCount ? word : `${wordOrCount} ${word}`;\n    },\n    /**\n      @method singularize\n      @param {String} word\n    */\n    singularize(word) {\n      return this._singularize(word);\n    },\n    _singularize(word) {\n      return this.inflect(word, this.rules.singular, this.rules.irregularInverse);\n    },\n    /**\n      @protected\n       @method inflect\n      @param {String} word\n      @param {Object} typeRules\n      @param {Object} irregular\n    */\n    inflect(word, typeRules, irregular) {\n      let inflection, substitution, result, lowercase, wordSplit, lastWord, isBlank, isCamelized, rule, isUncountable;\n      isBlank = !word || BLANK_REGEX.test(word);\n      isCamelized = CAMELIZED_REGEX.test(word);\n      if (isBlank) {\n        return word;\n      }\n      lowercase = word.toLowerCase();\n      wordSplit = LAST_WORD_DASHED_REGEX.exec(word) || LAST_WORD_CAMELIZED_REGEX.exec(word);\n      if (wordSplit) {\n        lastWord = wordSplit[2].toLowerCase();\n      }\n      isUncountable = this.rules.uncountable[lowercase] || this.rules.uncountable[lastWord];\n      if (isUncountable) {\n        return word;\n      }\n      for (rule in irregular) {\n        if (lowercase.match(rule + '$')) {\n          substitution = irregular[rule];\n          if (isCamelized && irregular[lastWord]) {\n            substitution = capitalize(substitution);\n            rule = capitalize(rule);\n          }\n          return word.replace(new RegExp(rule, 'i'), substitution);\n        }\n      }\n      for (var i = typeRules.length, min = 0; i > min; i--) {\n        inflection = typeRules[i - 1];\n        rule = inflection[0];\n        if (rule.test(word)) {\n          break;\n        }\n      }\n      inflection = inflection || [];\n      rule = inflection[0];\n      substitution = inflection[1];\n      result = word.replace(rule, substitution);\n      return result;\n    }\n  };\n  Inflector.defaultRules = _inflections.default;\n  Inflector.inflector = new Inflector(_inflections.default);\n  var _default = _exports.default = Inflector;\n});","define(\"ember-inflector/lib/system/string\", [\"exports\", \"ember-inflector/lib/system/inflector\"], function (_exports, _inflector) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.pluralize = pluralize;\n  _exports.singularize = singularize;\n  function pluralize() {\n    return _inflector.default.inflector.pluralize(...arguments);\n  }\n  function singularize(word) {\n    return _inflector.default.inflector.singularize(word);\n  }\n});","define(\"ember-inflector/lib/utils/make-helper\", [\"exports\", \"ember\", \"@ember/component/helper\"], function (_exports, _ember, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = makeHelper;\n  function makeHelper(helperFunction) {\n    if (_helper.default) {\n      return _helper.default.helper(helperFunction);\n    }\n    if (_ember.default.HTMLBars) {\n      return _ember.default.HTMLBars.makeBoundHelper(helperFunction);\n    }\n    return _ember.default.Handlebars.makeBoundHelper(helperFunction);\n  }\n});","define(\"ember-intl/-private/error-types\", [\"exports\", \"intl-messageformat\"], function (_exports, _intlMessageformat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.MISSING_TRANSLATION = _exports.MISSING_INTL_API = void 0;\n  /**\n   * An error that indicates a required Intl API was not available\n   * at runtime. This is generally resolved by polyfilling the missing API.\n   *\n   * @private\n   * @hide\n   */\n  // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n  // @ts-ignore If the consuming project uses `--isolatedModules`, `const enums`\n  // may not be used. Since `ember-cli-babel` does not care for `const enums`\n  // _anyway_ , this is not an issue.\n  const MISSING_INTL_API = _exports.MISSING_INTL_API = _intlMessageformat.ErrorCode.MISSING_INTL_API;\n\n  /**\n   * An error type that indicates a translation that was looked up\n   * by a specific key was not found.\n   *\n   * @private\n   * @hide\n   */\n  const MISSING_TRANSLATION = _exports.MISSING_TRANSLATION = 'MISSING_TRANSLATION';\n});","define(\"ember-intl/-private/formatters/-base\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } /**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n  // eslint-disable-next-line @typescript-eslint/ban-types\n  const EMPTY_OBJECT = Object.create(null);\n  /**\n   * @private\n   * @hide\n   */\n  // eslint-disable-next-line @typescript-eslint/ban-types\n  class FormatterBase {\n    constructor(config) {\n      _defineProperty(this, \"config\", void 0);\n      _defineProperty(this, \"readFormatConfig\", void 0);\n      this.config = config;\n\n      // NOTE: a fn since we lazily grab the formatter from the config\n      // as it can change at runtime by calling intl.set('formats', {...});\n      this.readFormatConfig = config.readFormatConfig;\n    }\n    get options() {\n      return [];\n    }\n\n    /**\n     * Filters out all of the whitelisted formatter options\n     *\n     * @method filterKnownOptions\n     * @param {Object} Options object\n     * @return {Object} Options object containing just whitelisted options\n     * @private\n     */\n    filterKnownOptions(options) {\n      if (!options) {\n        return EMPTY_OBJECT;\n      }\n      const found = {};\n      for (const key in options) {\n        if (this.options.includes(key)) {\n          found[key] = options[key];\n        }\n      }\n      return found;\n    }\n    readOptions(formatOptions) {\n      let formatterOptions = this.filterKnownOptions(formatOptions);\n      if (formatOptions && 'format' in formatOptions) {\n        const namedFormatsOptions = this.getNamedFormat(formatOptions.format);\n        formatterOptions = {\n          ...namedFormatsOptions,\n          ...formatterOptions\n        };\n      }\n      return formatterOptions;\n    }\n    validateFormatterOptions(locale, _formatterOptions) {\n      if (!locale) {\n        // TODO: config.onError instead?\n        (false && (0, _debug.warn)(`[ember-intl] no locale has been set!  See: https://ember-intl.github.io/ember-intl/docs/quickstart#4-configure-ember-intl`, false, {\n          id: 'ember-intl-no-locale-set'\n        }));\n      }\n    }\n    getNamedFormat(key) {\n      const formats = this.readFormatConfig();\n      const namedFormatsForType = formats[this.constructor.type];\n      if (namedFormatsForType && namedFormatsForType[key]) {\n        return namedFormatsForType[key];\n      }\n    }\n  }\n  _exports.default = FormatterBase;\n  _defineProperty(FormatterBase, \"type\", void 0);\n});","define(\"ember-intl/-private/formatters/-format-datetime\", [\"exports\", \"fast-memoize\", \"ember-intl/-private/formatters/-base\"], function (_exports, _fastMemoize, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } /**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n  const DATE_TIME_OPTIONS = ['localeMatcher', 'formatMatcher', 'timeZone', 'hour12', 'weekday', 'era', 'year', 'month', 'day', 'hour', 'minute', 'second', 'timeZoneName', 'hourCycle'];\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatDateTime extends _base.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"createNativeFormatter\", (0, _fastMemoize.default)((locales, options) => {\n        return new Intl.DateTimeFormat(locales, options);\n      }));\n    }\n    get options() {\n      return DATE_TIME_OPTIONS;\n    }\n    format(locale, value, formatOptions) {\n      const formatterOptions = this.readOptions(formatOptions);\n      this.validateFormatterOptions(locale, formatterOptions);\n      const formatterInstance = this.createNativeFormatter(locale, formatterOptions);\n      return formatterInstance.format(new Date(value));\n    }\n  }\n  _exports.default = FormatDateTime;\n  _defineProperty(FormatDateTime, \"type\", void 0);\n});","define(\"ember-intl/-private/formatters/format-date\", [\"exports\", \"ember-intl/-private/formatters/-format-datetime\"], function (_exports, _formatDatetime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } /**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n  /**\n   * @private\n   * @hide\n   */\n  class FormatDate extends _formatDatetime.default {}\n  _exports.default = FormatDate;\n  _defineProperty(FormatDate, \"type\", 'date');\n});","define(\"ember-intl/-private/formatters/format-message\", [\"exports\", \"ember\", \"fast-memoize\", \"@ember/template\", \"intl-messageformat\", \"ember-intl/-private/utils/parse\"], function (_exports, _ember, _fastMemoize, _template, _intlMessageformat, _parse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } /**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n  const {\n    Handlebars: {\n      // @ts-expect-error Upstream types are incomplete.\n      Utils: {\n        escapeExpression\n      }\n    }\n  } = _ember.default;\n  function escapeOptions(object) {\n    if (typeof object !== 'object') {\n      return;\n    }\n    const escapedOpts = {};\n    Object.keys(object).forEach(key => {\n      const val = object[key];\n      if ((0, _template.isHTMLSafe)(val)) {\n        // If the option is an instance of Ember SafeString,\n        // we don't want to pass it into the formatter, since the\n        // formatter won't know what to do with it. Instead, we cast\n        // the SafeString to a regular string using `toHTML`.\n        // Since it was already marked as safe we should *not* escape it.\n        // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n        // @ts-ignore\n        escapedOpts[key] = val.toHTML();\n      } else if (typeof val === 'string') {\n        escapedOpts[key] = escapeExpression(val);\n      } else {\n        // eslint-disable-next-line @typescript-eslint/ban-ts-comment\n        // @ts-ignore\n        escapedOpts[key] = val; // copy as-is\n      }\n    });\n    return escapedOpts;\n  }\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatMessage {\n    constructor(config) {\n      _defineProperty(this, \"config\", void 0);\n      _defineProperty(this, \"readFormatConfig\", void 0);\n      _defineProperty(this, \"createNativeFormatter\", (0, _fastMemoize.default)((ast, locales, formatConfig) => {\n        return new _intlMessageformat.default(ast, locales, formatConfig, {\n          ignoreTag: true\n        });\n      }));\n      this.config = config;\n\n      // NOTE: a fn since we lazily grab the formatter from the config\n      // as it can change at runtime by calling intl.set('formats', {...});\n      this.readFormatConfig = config.readFormatConfig;\n    }\n\n    // ! Function overloads are not passed through generic types for reasons that\n    // evade my knowledge. ¯\\_(ツ)_/¯\n    // For this reason these types need to be manually copied over to the\n    // `IntlService#formatMessage`.\n\n    format(locale, maybeAst, options) {\n      let ast = maybeAst;\n      if (typeof maybeAst === 'string') {\n        // maybe memoize?  it's not a typical hot path since we\n        // parse when translations are pushed to ember-intl.\n        // This is only used if inlining a translation i.e.,\n        // {{format-message \"Hi {name}\"}}\n        ast = (0, _parse.default)(maybeAst);\n      }\n      const isHTMLSafe = options && options.htmlSafe;\n      const formatterInstance = this.createNativeFormatter(ast, locale, this.readFormatConfig());\n      const escapedOptions = isHTMLSafe ? escapeOptions(options) : options;\n      const result = formatterInstance.format(escapedOptions);\n      return isHTMLSafe ? (0, _template.htmlSafe)(result) : result;\n    }\n  }\n  _exports.default = FormatMessage;\n  _defineProperty(FormatMessage, \"type\", 'message');\n});","define(\"ember-intl/-private/formatters/format-number\", [\"exports\", \"fast-memoize\", \"ember-intl/-private/formatters/-base\"], function (_exports, _fastMemoize, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } /**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n  const NUMBER_OPTIONS = ['localeMatcher', 'style', 'currency', 'currencyDisplay', 'unit', 'unitDisplay', 'useGrouping', 'minimumIntegerDigits', 'minimumFractionDigits', 'maximumFractionDigits', 'minimumSignificantDigits', 'maximumSignificantDigits',\n  // Unified NumberFormat (Stage 3 as of 10/22/19)\n  'compactDisplay', 'currencyDisplay', 'currencySign', 'notation', 'signDisplay', 'unitDisplay', 'unit'];\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatNumber extends _base.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"createNativeFormatter\", (0, _fastMemoize.default)((locales, options) => {\n        return new Intl.NumberFormat(locales, options);\n      }));\n    }\n    get options() {\n      return NUMBER_OPTIONS;\n    }\n    format(locale, value, formatOptions) {\n      const formatterOptions = this.readOptions(formatOptions);\n      this.validateFormatterOptions(locale, formatterOptions);\n      const formatterInstance = this.createNativeFormatter(locale, formatterOptions);\n      return formatterInstance.format(value);\n    }\n  }\n  _exports.default = FormatNumber;\n  _defineProperty(FormatNumber, \"type\", 'number');\n});","define(\"ember-intl/-private/formatters/format-relative\", [\"exports\", \"@ember/debug\", \"fast-memoize\", \"intl-messageformat\", \"ember-intl/-private/error-types\", \"ember-intl/-private/formatters/-base\"], function (_exports, _debug, _fastMemoize, _intlMessageformat, _errorTypes, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } /**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n  // `Intl.RelativeTimeFormat` will be added in TypeScript 4.0\n  // @see https://github.com/microsoft/TypeScript/pull/36084#issuecomment-649080072\n\n  /**\n   * Unit to use in the relative time internationalized message.\n   *\n   * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/format#Parameters).\n   *\n   * [Specification](https://tc39.es/ecma402/#sec-singularrelativetimeunit).\n   */\n\n  /**\n   * The format of output message.\n   *\n   * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n   *\n   * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n   */\n\n  /**\n   * The length of the internationalized message.\n   *\n   * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n   *\n   * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n   */\n\n  /**\n   * An object with some or all of properties of `options` parameter\n   * of `Intl.RelativeTimeFormat` constructor.\n   *\n   * [MDN](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/RelativeTimeFormat/RelativeTimeFormat#Parameters).\n   *\n   * [Specification](https://tc39.es/ecma402/#sec-InitializeRelativeTimeFormat).\n   */\n\n  const RELATIVE_TIME_OPTIONS = ['numeric', 'style', 'unit'];\n\n  /**\n   * @private\n   * @hide\n   */\n  class FormatRelative extends _base.default {\n    constructor(...args) {\n      super(...args);\n      _defineProperty(this, \"createNativeFormatter\", (0, _fastMemoize.default)((locales, options) => {\n        if (!Intl || !Intl.RelativeTimeFormat) {\n          const error = new _intlMessageformat.FormatError(`Intl.RelativeTimeFormat is not available in this environment. Try polyfilling it using \"@formatjs/intl-relativetimeformat\"`, _errorTypes.MISSING_INTL_API);\n          this.config.onError({\n            kind: _errorTypes.MISSING_INTL_API,\n            error\n          });\n          throw error;\n        }\n        return new Intl.RelativeTimeFormat(locales, options);\n      }));\n    }\n    get options() {\n      return RELATIVE_TIME_OPTIONS;\n    }\n    format(locale, value, formatOptions) {\n      const formatterOptions = this.readOptions(formatOptions);\n      this.validateFormatterOptions(locale, formatterOptions);\n      const unit = formatOptions?.unit ?? formatterOptions.unit;\n      (false && !(unit) && (0, _debug.assert)(`[ember-intl] FormatRelative: 'formatOptions' are missing a 'unit'.`, unit));\n      const formatterInstance = this.createNativeFormatter(locale, formatterOptions);\n      return formatterInstance.format(typeof value === 'number' ? value : new Date(value).getTime(), unit);\n    }\n  }\n  _exports.default = FormatRelative;\n  _defineProperty(FormatRelative, \"type\", 'relative');\n});","define(\"ember-intl/-private/formatters/format-time\", [\"exports\", \"ember-intl/-private/formatters/-format-datetime\"], function (_exports, _formatDatetime) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } /**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n  /**\n   * @private\n   * @hide\n   */\n  class FormatTime extends _formatDatetime.default {}\n  _exports.default = FormatTime;\n  _defineProperty(FormatTime, \"type\", 'time');\n});","define(\"ember-intl/-private/formatters/index\", [\"exports\", \"ember-intl/-private/formatters/format-time\", \"ember-intl/-private/formatters/format-date\", \"ember-intl/-private/formatters/format-number\", \"ember-intl/-private/formatters/format-message\", \"ember-intl/-private/formatters/format-relative\"], function (_exports, _formatTime, _formatDate, _formatNumber, _formatMessage, _formatRelative) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"FormatDate\", {\n    enumerable: true,\n    get: function () {\n      return _formatDate.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatMessage\", {\n    enumerable: true,\n    get: function () {\n      return _formatMessage.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatNumber\", {\n    enumerable: true,\n    get: function () {\n      return _formatNumber.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatRelative\", {\n    enumerable: true,\n    get: function () {\n      return _formatRelative.default;\n    }\n  });\n  Object.defineProperty(_exports, \"FormatTime\", {\n    enumerable: true,\n    get: function () {\n      return _formatTime.default;\n    }\n  });\n});","define(\"ember-intl/-private/store/container\", [\"exports\", \"@ember/object\", \"ember-intl/-private/store/translation\"], function (_exports, _object, _translation) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * @private\n   * @hide\n   */\n  var _default = _exports.default = _object.default.extend({\n    locales: (0, _object.computed)('_translationModels', function () {\n      return Array.from(this._translationModels.keys());\n    }).readOnly(),\n    init() {\n      this._super();\n      this._translationModels = new Map();\n    },\n    createTranslationModel(localeName) {\n      const translationModel = new _translation.default(localeName);\n      this._translationModels.set(localeName, translationModel);\n      this.notifyPropertyChange('locales');\n      return translationModel;\n    },\n    findTranslationModel(localeName) {\n      return this._translationModels.get(localeName);\n    },\n    push(localeName, payload) {\n      let translationModel = this.findTranslationModel(localeName);\n      if (!translationModel) {\n        translationModel = this.createTranslationModel(localeName);\n      }\n      translationModel.addTranslations(payload);\n    },\n    has(localeName, key) {\n      const translationModel = this.findTranslationModel(localeName);\n      if (translationModel) {\n        return translationModel.has(key);\n      }\n    },\n    _lookup(localeName, key) {\n      const translationModel = this.findTranslationModel(localeName);\n      if (translationModel && translationModel.has(key)) {\n        return translationModel.find(key);\n      }\n    },\n    lookupAst(localeName, key) {\n      const translationResult = this._lookup(localeName, key);\n      if (translationResult) {\n        return translationResult.ast;\n      }\n    },\n    lookup(localeName, key) {\n      const translationResult = this._lookup(localeName, key);\n      if (translationResult) {\n        return translationResult.original;\n      }\n    }\n  });\n});","define(\"ember-intl/-private/store/translation\", [\"exports\", \"ember-intl/-private/utils/flatten\", \"ember-intl/-private/utils/parse\"], function (_exports, _flatten, _parse) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); } /**\n * Copyright 2015, Yahoo! Inc.\n * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n */\n  /**\n   * @remarks\n   * `tests/unit/helpers/t-test.ts` has a test that asserts that numbers are\n   * acceptable as translations and converted to strings.\n   */\n\n  class Translation {\n    get localeName() {\n      return this._localeName;\n    }\n    constructor(localeName) {\n      _defineProperty(this, \"translations\", new Map());\n      _defineProperty(this, \"asts\", new Map());\n      _defineProperty(this, \"_localeName\", void 0);\n      this._localeName = localeName;\n    }\n    addTranslations(translations) {\n      const flatTranslations = (0, _flatten.default)(translations);\n      for (const key in flatTranslations) {\n        let translation = flatTranslations[key];\n\n        // If it's not a string, coerce it to one.\n        if (typeof translation !== 'string') {\n          translation = `${translation}`;\n        }\n        this.translations.set(key, translation);\n        this.asts.set(key, (0, _parse.default)(translation));\n      }\n    }\n    find(key) {\n      if (this.has(key)) {\n        return {\n          ast: this.asts.get(key),\n          original: this.translations.get(key)\n        };\n      }\n    }\n    has(key) {\n      return this.translations.has(key);\n    }\n  }\n  var _default = _exports.default = Translation;\n});","define(\"ember-intl/-private/utils/empty-object\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * @private\n   * @hide\n   */\n  const proto = Object.create(null, {\n    constructor: {\n      value: undefined,\n      enumerable: false,\n      writable: true\n    }\n  });\n\n  // eslint-disable-next-line @typescript-eslint/no-empty-function\n  function EmptyObject() {}\n  EmptyObject.prototype = proto;\n\n  /**\n   * @private\n   * @hide\n   */\n  var _default = _exports.default = EmptyObject;\n});","define(\"ember-intl/-private/utils/flatten\", [\"exports\", \"ember-intl/-private/utils/empty-object\"], function (_exports, _emptyObject) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = flatten;\n  const hasOwnProperty = Object.prototype.hasOwnProperty;\n  /**\n   * @private\n   * @hide\n   */\n  function flatten(src) {\n    const result = new _emptyObject.default();\n    for (const key in src) {\n      if (!hasOwnProperty.call(src, key)) {\n        continue;\n      }\n      const value = src[key];\n      if (typeof value === 'object' && value) {\n        const hash = flatten(value);\n        for (const suffix in hash) {\n          result[`${key}.${suffix}`] = hash[suffix];\n        }\n      } else {\n        result[key] = value;\n      }\n    }\n    return result;\n  }\n});","define(\"ember-intl/-private/utils/get-dom\", [\"exports\", \"@ember/application\"], function (_exports, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = getDOM;\n  // adjusted from https://github.com/yapplabs/ember-wormhole/blob/0.5.4/addon/utils/dom.js#L45-L63\n  //\n  // Private Ember API usage. Get the dom implementation used by the current\n  // renderer, be it native browser DOM or Fastboot SimpleDOM\n  /**\n   * @private\n   * @hide\n   */\n  function getDOM(context) {\n    let {\n      renderer\n    } = context;\n    if (!renderer || !renderer._dom) {\n      // pre glimmer2\n      let container = _application.getOwner ? (0, _application.getOwner)(context) : context.container;\n      let documentService = container.lookup('service:-document');\n      if (documentService) {\n        return documentService;\n      }\n      renderer = container.lookup('renderer:-dom');\n    }\n    if (renderer._dom && renderer._dom.document) {\n      // pre Ember 2.6\n      return renderer._dom.document;\n    }\n    return null;\n  }\n});","define(\"ember-intl/-private/utils/hydrate\", [\"exports\", \"ember-intl/translations\"], function (_exports, _translations) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = hydrate;\n  /**\n   * @private\n   * @hide\n   */\n  function hydrate(service) {\n    _translations.default.forEach(([locale, translations]) => {\n      service.addTranslations(locale, translations);\n    });\n  }\n});","define(\"ember-intl/-private/utils/is-array-equal\", [\"exports\", \"@ember/array\"], function (_exports, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  /**\n   * @private\n   * @hide\n   */\n  function _default(a, b) {\n    if (!(0, _array.isArray)(a) || !(0, _array.isArray)(b)) {\n      return false;\n    }\n    if (a === b) {\n      return true;\n    }\n    return a.toString() === b.toString();\n  }\n});","define(\"ember-intl/-private/utils/missing-message\", [\"exports\", \"@ember/utils\", \"@ember/debug\"], function (_exports, _utils, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = missingMessage;\n  /**\n   * @private\n   * @hide\n   */\n  function missingMessage(key, locales, _options) {\n    if ((0, _utils.isEmpty)(locales)) {\n      (false && (0, _debug.warn)(`[ember-intl] no locale has been set!  See: https://ember-intl.github.io/ember-intl/docs/quickstart#4-configure-ember-intl`, false, {\n        id: 'ember-intl-no-locale-set'\n      }));\n      return `No locale defined.  Unable to resolve translation: \"${key}\"`;\n    }\n    const localeNames = locales.join(', ');\n    (false && (0, _debug.warn)(`[ember-intl] translation: \"${key}\" on locale: \"${localeNames}\" was not found.`, false, {\n      id: 'ember-intl-missing-translation'\n    }));\n    return `Missing translation \"${key}\" for locale \"${localeNames}\"`;\n  }\n});","define(\"ember-intl/-private/utils/normalize-locale\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = _default;\n  /**\n   * @private\n   * @hide\n   */\n  function _default(localeName) {\n    if (typeof localeName === 'string') {\n      return localeName.replace(/_/g, '-').toLowerCase();\n    }\n  }\n});","define(\"ember-intl/-private/utils/parse\", [\"exports\", \"intl-messageformat-parser\"], function (_exports, _intlMessageformatParser) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = parseString;\n  /**\n   * @private\n   * @hide\n   */\n  function parseString(string) {\n    // ! Sync with `lib/parse-options.js`\n    return (0, _intlMessageformatParser.parse)(string, {\n      normalizeHashtagInPlural: false,\n      ignoreTag: true\n    });\n  }\n});","define(\"ember-intl/helpers/-format-base\", [\"exports\", \"@ember/component/helper\", \"@ember/application\", \"@ember/utils\"], function (_exports, _helper, _application, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n\n  /**\n   * @private\n   * @hide\n   */\n  const AbstractHelper = _helper.default.extend({\n    intl: null,\n    init() {\n      if (this.constructor === AbstractHelper) {\n        throw new Error('FormatHelper is an abstract class, can not be instantiated directly.');\n      }\n      this._super();\n      this.intl = (0, _application.getOwner)(this).lookup('service:intl');\n      this.intl.on('localeChanged', this, 'recompute');\n    },\n    format() {\n      throw new Error('not implemented');\n    },\n    compute([value], options) {\n      if ((0, _utils.isEmpty)(value)) {\n        if (options.allowEmpty ?? this.allowEmpty) {\n          return;\n        }\n        if (typeof value === 'undefined') {\n          throw new Error(`${this} helper requires value attribute.`);\n        }\n      }\n      return this.format(value, options);\n    },\n    willDestroy() {\n      this._super();\n      this.intl.off('localeChanged', this, 'recompute');\n    }\n  });\n  var _default = _exports.default = AbstractHelper;\n});","define(\"ember-intl/helpers/format-date\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    allowEmpty: true,\n    format(value, options) {\n      return this.intl.formatDate(value, options);\n    }\n  });\n});","define(\"ember-intl/helpers/format-message\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    format(value, options) {\n      return this.intl.formatMessage(value, options);\n    }\n  });\n});","define(\"ember-intl/helpers/format-number\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    format(value, options) {\n      return this.intl.formatNumber(value, options);\n    }\n  });\n});","define(\"ember-intl/helpers/format-relative\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    format(params, hash) {\n      return this.intl.formatRelative(params, hash);\n    },\n    compute(params, hash = {}) {\n      return this._super(params, hash);\n    }\n  });\n});","define(\"ember-intl/helpers/format-time\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    format(value, options) {\n      return this.intl.formatTime(value, options);\n    }\n  });\n});","define(\"ember-intl/helpers/t\", [\"exports\", \"ember-intl/helpers/-format-base\"], function (_exports, _formatBase) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _formatBase.default.extend({\n    format(key, options) {\n      return this.intl.t(key, options);\n    }\n  });\n});","define(\"ember-intl/index\", [\"exports\", \"ember-intl/services/intl\", \"ember-intl/macros\"], function (_exports, _intl, _macros) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  var _exportNames = {\n    Service: true\n  };\n  Object.defineProperty(_exports, \"Service\", {\n    enumerable: true,\n    get: function () {\n      return _intl.default;\n    }\n  });\n  Object.keys(_macros).forEach(function (key) {\n    if (key === \"default\" || key === \"__esModule\") return;\n    if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;\n    if (key in _exports && _exports[key] === _macros[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _macros[key];\n      }\n    });\n  });\n});","define(\"ember-intl/macros/index\", [\"exports\", \"ember-intl/macros/intl\", \"ember-intl/macros/t\"], function (_exports, _intl, _t) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"intl\", {\n    enumerable: true,\n    get: function () {\n      return _intl.default;\n    }\n  });\n  Object.defineProperty(_exports, \"raw\", {\n    enumerable: true,\n    get: function () {\n      return _t.raw;\n    }\n  });\n  Object.defineProperty(_exports, \"t\", {\n    enumerable: true,\n    get: function () {\n      return _t.default;\n    }\n  });\n});","define(\"ember-intl/macros/intl\", [\"exports\", \"@ember/object\", \"@ember/application\"], function (_exports, _object, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.__intlInjectionName = void 0;\n  _exports.default = intl;\n  /**\n   * @private\n   * @hide\n   */\n  const __intlInjectionName = _exports.__intlInjectionName = `intl-${Date.now().toString(36)}`;\n  function intl(...dependentKeysAndGetterFn) {\n    const getterFn = dependentKeysAndGetterFn.pop();\n    const dependentKeys = dependentKeysAndGetterFn;\n    return (0, _object.computed)(`${__intlInjectionName}.locale`, ...dependentKeys, function (propertyKey) {\n      if (!(0, _object.get)(this, __intlInjectionName)) {\n        (0, _object.defineProperty)(this, __intlInjectionName, {\n          value: (0, _application.getOwner)(this).lookup('service:intl'),\n          enumerable: false\n        });\n      }\n      const intl = (0, _object.get)(this, __intlInjectionName);\n      return getterFn.call(this, intl, propertyKey, this);\n    });\n  }\n});","define(\"ember-intl/macros/t\", [\"exports\", \"@ember/object\", \"ember-intl/-private/utils/empty-object\", \"ember-intl/macros/intl\"], function (_exports, _object, _emptyObject, _intl) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = createTranslatedComputedProperty;\n  _exports.raw = raw;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function partitionDynamicValuesAndStaticValues(options) {\n    const dynamicValues = new _emptyObject.default();\n    const staticValues = new _emptyObject.default();\n    Object.keys(options).forEach(key => {\n      const value = options[key];\n      if (value instanceof Raw) {\n        staticValues[key] = value.valueOf();\n      } else {\n        dynamicValues[key] = value;\n      }\n    });\n    return [dynamicValues, staticValues];\n  }\n  function mapPropertiesByHash(object, hash) {\n    const result = new _emptyObject.default();\n    Object.keys(hash).forEach(key => {\n      result[key] = (0, _object.get)(object, hash[key]);\n    });\n    return result;\n  }\n\n  /**\n   * This class is used to box primitive types and mark them as raw literals that\n   * should be used as is by the translation macro.\n   *\n   * This class is internal. Instead of using this class directly, use the `raw`\n   * utility function, that creates an instance of this class.\n   */\n  class Raw {\n    constructor(value) {\n      _defineProperty(this, \"_value\", void 0);\n      this._value = value;\n    }\n    valueOf() {\n      return this._value;\n    }\n    toString() {\n      return String(this._value);\n    }\n  }\n\n  /**\n   * Use this utility function to mark a value as a raw literal.\n   *\n   * @param {*} value The value to mark as a raw literal.\n   * @return The same value, but boxed in the `Raw` class so that the consuming\n   *  macro understands that this value should be used as is.\n   */\n  function raw(value) {\n    return new Raw(value);\n  }\n  function createTranslatedComputedProperty(translationKey, options) {\n    const hash = options || new _emptyObject.default();\n    const [dynamicValues, staticValues] = partitionDynamicValuesAndStaticValues(hash);\n    const dependentKeys = Object.values(dynamicValues);\n\n    // @ts-expect-error TS2556: Can't deal with leading rest arguments\n    return (0, _intl.default)(...dependentKeys, (intl, propertyKey, ctx) => intl.t(translationKey, {\n      ...staticValues,\n      ...mapPropertiesByHash(ctx, dynamicValues)\n    }));\n  }\n});","define(\"ember-intl/services/intl\", [\"exports\", \"@ember/application\", \"@ember/object\", \"@ember/object/computed\", \"@ember/object/evented\", \"@ember/debug\", \"@ember/array\", \"@ember/service\", \"@ember/runloop\", \"ember-intl/-private/formatters\", \"ember-intl/-private/utils/is-array-equal\", \"ember-intl/-private/utils/normalize-locale\", \"ember-intl/-private/utils/get-dom\", \"ember-intl/-private/utils/hydrate\", \"ember-intl/-private/store/container\"], function (_exports, _application, _object, _computed, _evented, _debug, _array, _service, _runloop, _formatters, _isArrayEqual, _normalizeLocale, _getDom, _hydrate, _container) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Copyright 2015, Yahoo! Inc.\n   * Copyrights licensed under the New BSD License. See the accompanying LICENSE file for terms.\n   */\n  var _default = _exports.default = _service.default.extend(_evented.default, {\n    /** @public **/\n    formats: null,\n    /**\n     * Returns an array of registered locale names\n     *\n     * @property locales\n     * @public\n     */\n    locales: (0, _computed.readOnly)('_translationContainer.locales'),\n    /** @public **/\n    locale: (0, _object.computed)('_locale', {\n      set(_, localeName) {\n        const proposed = (0, _array.makeArray)(localeName).map(_normalizeLocale.default);\n        if (!(0, _isArrayEqual.default)(proposed, this._locale)) {\n          (0, _object.set)(this, '_locale', proposed);\n          (0, _runloop.cancel)(this._timer);\n          this._timer = (0, _runloop.next)(() => {\n            this.trigger('localeChanged');\n            this._updateDocumentLanguage(this._locale);\n          });\n        }\n        return this._locale;\n      },\n      get() {\n        return (0, _object.get)(this, '_locale');\n      }\n    }),\n    /**\n     * Returns the first locale of the currently active locales\n     *\n     * @property primaryLocale\n     * @public\n     */\n    primaryLocale: (0, _computed.readOnly)('locale.0'),\n    /** @public **/\n    formatRelative: createFormatterProxy('relative'),\n    /** @public **/\n    formatMessage: createFormatterProxy('message'),\n    /** @public **/\n    formatNumber: createFormatterProxy('number'),\n    /** @public **/\n    formatTime: createFormatterProxy('time'),\n    /** @public **/\n    formatDate: createFormatterProxy('date'),\n    /** @private **/\n    _translationContainer: null,\n    /** @private **/\n    _locale: null,\n    /** @private **/\n    _timer: null,\n    /** @private **/\n    _formatters: null,\n    /** @public **/\n    init() {\n      this._super(...arguments);\n      const initialLocale = (0, _object.get)(this, 'locale') || ['en-us'];\n      this.setLocale(initialLocale);\n      this._owner = (0, _application.getOwner)(this);\n      // Below issue can be ignored, as this is during the `init()` constructor.\n      // eslint-disable-next-line ember/no-assignment-of-untracked-properties-used-in-tracking-contexts\n      this._translationContainer = _container.default.create();\n      this._formatters = this._createFormatters();\n      if (!this.formats) {\n        this.formats = this._owner.resolveRegistration('formats:main') || {};\n      }\n      (0, _hydrate.default)(this);\n    },\n    willDestroy() {\n      this._super(...arguments);\n      (0, _runloop.cancel)(this._timer);\n    },\n    /** @private **/\n    onError({\n      /* kind, */error\n    }) {\n      throw error;\n    },\n    /** @public **/\n    lookup(key, localeName) {\n      const localeNames = this._localeWithDefault(localeName);\n      let translation;\n      for (let i = 0; i < localeNames.length; i++) {\n        translation = this._translationContainer.lookup(localeNames[i], key);\n        if (translation !== undefined) {\n          break;\n        }\n      }\n      return translation;\n    },\n    /** @private **/\n    lookupAst(key, localeName, options = {}) {\n      const localeNames = this._localeWithDefault(localeName);\n      let translation;\n      for (let i = 0; i < localeNames.length; i++) {\n        translation = this._translationContainer.lookupAst(localeNames[i], key);\n        if (translation !== undefined) {\n          break;\n        }\n      }\n      if (translation === undefined && options.resilient !== true) {\n        const missingMessage = this._owner.resolveRegistration('util:intl/missing-message');\n        return missingMessage.call(this, key, localeNames, options);\n      }\n      return translation;\n    },\n    validateKeys(keys) {\n      return keys.forEach(key => {\n        (false && !(typeof key === 'string') && (0, _debug.assert)(`[ember-intl] expected translation key \"${key}\" to be of type String but received: \"${typeof key}\"`, typeof key === 'string'));\n      });\n    },\n    /** @public **/\n    t(key, options = {}) {\n      let keys = [key];\n      if (options.default) {\n        if (Array.isArray(options.default)) {\n          keys = [...keys, ...options.default];\n        } else if (typeof options.default === 'string') {\n          keys = [...keys, options.default];\n        }\n      }\n      this.validateKeys(keys);\n      for (let index = 0; index < keys.length; index++) {\n        const key = keys[index];\n        const ast = this.lookupAst(key, options.locale, {\n          ...options,\n          // Note: last iteration will throw with the last key that was missing\n          // in the future maybe the thrown error should include all the keys to help debugging\n          resilient: keys.length - 1 !== index\n        });\n        if (ast) {\n          return this.formatMessage(ast, options);\n        }\n      }\n    },\n    /** @public **/\n    exists(key, localeName) {\n      const localeNames = this._localeWithDefault(localeName);\n      (false && !(Array.isArray(localeNames) && localeNames.length) && (0, _debug.assert)(`[ember-intl] locale is unset, cannot lookup '${key}'`, Array.isArray(localeNames) && localeNames.length));\n      return localeNames.some(localeName => this._translationContainer.has(localeName, key));\n    },\n    /** @public */\n    setLocale(locale) {\n      (0, _object.set)(this, 'locale', locale);\n    },\n    /** @public **/\n    addTranslations(localeName, payload) {\n      this._translationContainer.push((0, _normalizeLocale.default)(localeName), payload);\n    },\n    /** @public **/\n    translationsFor(localeName) {\n      return this._translationContainer.findTranslationModel((0, _normalizeLocale.default)(localeName), false);\n    },\n    /** @private **/\n    _localeWithDefault(localeName) {\n      if (!localeName) {\n        return (0, _object.get)(this, '_locale') || [];\n      }\n      if (typeof localeName === 'string') {\n        return (0, _array.makeArray)(localeName).map(_normalizeLocale.default);\n      }\n      if (Array.isArray(localeName)) {\n        return localeName.map(_normalizeLocale.default);\n      }\n    },\n    /** @private **/\n    _updateDocumentLanguage(locales) {\n      const dom = (0, _getDom.default)(this);\n      if (dom) {\n        const [primaryLocale] = locales;\n        const html = dom.documentElement;\n        html.setAttribute('lang', primaryLocale);\n      }\n    },\n    /** @private */\n    _createFormatters() {\n      const formatterConfig = {\n        onError: this.onError.bind(this),\n        readFormatConfig: () => this.formats\n      };\n      return {\n        message: new _formatters.FormatMessage(formatterConfig),\n        relative: new _formatters.FormatRelative(formatterConfig),\n        number: new _formatters.FormatNumber(formatterConfig),\n        time: new _formatters.FormatTime(formatterConfig),\n        date: new _formatters.FormatDate(formatterConfig)\n      };\n    }\n  });\n  function createFormatterProxy(name) {\n    return function serviceFormatterProxy(value, formatOptions) {\n      let locale;\n      if (formatOptions && formatOptions.locale) {\n        locale = this._localeWithDefault(formatOptions.locale);\n      } else {\n        locale = (0, _object.get)(this, 'locale');\n      }\n      return this._formatters[name].format(locale, value, formatOptions);\n    };\n  }\n});","define(\"ember-intl/translations\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = [[\"ar\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"يغلق\",\n        \"confirm-order\": \"تأكيد الطلب\",\n        \"continue\": \"يكمل\",\n        \"continue-browsing\": \"متابعة التصفح\",\n        \"more-information\": \"المزيد من المعلومات\",\n        \"try-again\": \"حاول ثانية\",\n        \"view-cart\": \"عرض سلة التسوق\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"سلة التسوق الخاصة بك فارغة\",\n            \"go-to-checkout\": \"اذهب إلى الخروج\",\n            \"start-shopping\": \"ابدأ التسوق\",\n            \"your-cart\": \"عربة التسوق الخاصة بك من\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"عنوان البريد الإلكتروني غير صالح\",\n              \"placeholder\": \"الرجاء إدخال عنوان بريدك الإلكتروني\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"جميع البلدان\",\n              \"error-message\": \"رقم الهاتف غير صالح\",\n              \"placeholder\": \"الرجاء إدخال رقم هاتفك\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"يغلق\",\n                  \"remove\": \"يزيل\"\n                },\n                \"content\": \"هل أنت متأكد أنك تريد إزالة {item} من سلة التسوق الخاصة بك؟\",\n                \"title\": \"إزالة العنصر؟\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"يغلق\",\n                  \"leave\": \"يترك\"\n                },\n                \"content\": \"هناك منتجات في سلة التسوق الخاصة بك. هل أنت متأكد من رغبتك في مغادرة المتجر؟\",\n                \"title\": \"حذر\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"الرجاء تحديد الفترة الزمنية المطلوبة لطلبك\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"سوف نرسل بريدًا إلكترونيًا للتأكيد إلى:\"\n                },\n                \"options\": {\n                  \"call\": \"الاتصال بالغرفة\",\n                  \"email\": \"بريد إلكتروني\",\n                  \"push\": \"إشعار دفع إلى جهاز لوحي الغرفة\",\n                  \"sms\": \"رسالة قصيرة\"\n                },\n                \"sms\": {\n                  \"description\": \"سوف نرسل رسالة نصية للتأكيد إلى:\"\n                },\n                \"title\": \"كيف ترغب في تلقي ردنا؟\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"انقر هنا لتغيير الفترة الزمنية المحددة.\",\n                \"options\": {\n                  \"asap\": \"في أسرع وقت ممكن\",\n                  \"later\": \"لاحقاً\"\n                },\n                \"schedule-time\": \"جدولة فترة زمنية لطلبك.\",\n                \"title\": \"متى تريد أن تتلقى طلبك؟\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"تعليق (اختياري)\"\n                  },\n                  \"name\": {\n                    \"label\": \"اسم\",\n                    \"placeholder\": \"الرجاء إدخال اسمك الكامل\"\n                  },\n                  \"room\": {\n                    \"label\": \"رقم الغرفة\",\n                    \"placeholder\": \"الرجاء إدخال رقم غرفتك\"\n                  }\n                },\n                \"title\": \"أكمل تفاصيل طلبك\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"تم تقديم طلبك بنجاح. سنتواصل معك في أقرب وقت ممكن.\",\n                \"title\": \"شكرا لطلبك!\"\n              },\n              \"error\": {\n                \"subtitle\": \"نأسف. حدثت مشكلة أثناء معالجة طلبك. يُرجى التواصل مع مكتب الاستقبال للمساعدة.\",\n                \"title\": \"حدث خطأ\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"المجموع الفرعي\",\n                \"surcharge\": \"رسوم إضافية\",\n                \"tax-included\": \"شامل ضريبة القيمة المضافة\",\n                \"total\": \"المجموع\"\n              },\n              \"details\": {\n                \"comment\": \"تعليق\",\n                \"confirmation-method\": \"إشعار\",\n                \"fulfillment-time\": \"وقت الطلب\",\n                \"name\": \"اسم\",\n                \"room\": \"رقم الغرفة\"\n              },\n              \"headlines\": {\n                \"order-items\": \"العناصر الموجودة في سلة التسوق الخاصة بك\",\n                \"order-summary\": \"ملخص الطلب\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} البند} other {{count} العناصر}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"تعرف على المزيد حول كيفية تعاملنا مع بياناتك.\",\n        \"message\": \"سيتم الاحتفاظ بمعلومات الاتصال الخاصة بك لأغراض الإشعار فقط. سيتم حذفها بعد تلبية طلبك.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"هذه الخدمة متاحة في أي وقت اليوم.\",\n          \"asap-in-time-range\": \"هذه الخدمة متاحة من {from} إلى {to} اليوم.\"\n        }\n      },\n      \"welcome-message\": \"مرحبا بكم في\"\n    }\n  }], [\"bg\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Затвори\",\n        \"confirm-order\": \"Потвърди поръчката\",\n        \"continue\": \"Продължи\",\n        \"continue-browsing\": \"Продължи разглеждането\",\n        \"more-information\": \"Повече информация\",\n        \"try-again\": \"Опитай отново\",\n        \"view-cart\": \"Виж количката\"\n      },\n      \"components\": {\n        \"modals\": {\n          \"cookie-banner\": {\n            \"advanced-settings\": {\n              \"analytics\": {\n                \"description\": \"Помагат ни да подобрим нашия уебсайт чрез събиране на анонимни данни за използването.\",\n                \"title\": \"Бисквитки за производителност / анализи\"\n              },\n              \"essential\": {\n                \"description\": \"Тези бисквитки са от съществено значение за правилното функциониране на уебсайта и не могат да бъдат деактивирани.\",\n                \"title\": \"Строго необходими бисквитки\"\n              }\n            },\n            \"buttons\": {\n              \"accept-all\": \"Приеми всички\",\n              \"manage\": \"Задай предпочитания\",\n              \"only-essential\": \"Само необходимите\",\n              \"save-preferences\": \"Запази предпочитанията\"\n            },\n            \"content\": {\n              \"advanced\": \"Тук можете да решите кои видове бисквитки може да използваме. Строго необходимите бисквитки са винаги активни, тъй като са задължителни за основните функции на уебсайта.\",\n              \"basic\": \"Използваме бисквитки, за да подобрим вашето преживяване и да ви показваме подходящо съдържание. Можете да приемете всички бисквитки, да разрешите само необходимите или да управлявате предпочитанията си. Можете да промените избора си по всяко време.\"\n            },\n            \"title\": \"Настройки за поверителност\"\n          }\n        },\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Количката ви е празна\",\n            \"go-to-checkout\": \"Към плащане\",\n            \"start-shopping\": \"Започнете пазаруване\",\n            \"your-cart\": \"Вашата количка от\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Невалиден имейл адрес\",\n              \"placeholder\": \"Моля, въведете имейл адреса си\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Всички държави\",\n              \"error-message\": \"Невалиден телефонен номер\",\n              \"placeholder\": \"Моля, въведете телефонния си номер\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Затвори\",\n                  \"remove\": \"Премахни\"\n                },\n                \"content\": \"Сигурни ли сте, че искате да премахнете {item} от количката си?\",\n                \"title\": \"Премахване на артикул?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Затвори\",\n                  \"leave\": \"Напусни\"\n                },\n                \"content\": \"В количката ви има артикули. Сигурни ли сте, че искате да напуснете магазина?\",\n                \"title\": \"Внимание\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Моля, изберете желан времеви интервал за вашата поръчка\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Ще изпратим имейл с потвърждение на:\"\n                },\n                \"options\": {\n                  \"call\": \"Обаждане в стаята\",\n                  \"email\": \"Имейл\",\n                  \"push\": \"Push известие до таблета в стаята\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Ще изпратим текстово съобщение с потвърждение на:\"\n                },\n                \"title\": \"Как желаете да получите нашия отговор?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Кликнете тук, за да промените избрания времеви интервал.\",\n                \"options\": {\n                  \"asap\": \"Възможно най-скоро\",\n                  \"later\": \"По-късно\"\n                },\n                \"schedule-time\": \"Насрочете времеви интервал за поръчката си.\",\n                \"title\": \"Кога желаете да получите поръчката си?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Коментар (незадължително)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Име\",\n                    \"placeholder\": \"Моля, въведете пълното си име\"\n                  },\n                  \"room\": {\n                    \"label\": \"Номер на стая\",\n                    \"placeholder\": \"Моля, въведете номера на стаята си\"\n                  }\n                },\n                \"title\": \"Попълнете детайлите на поръчката си\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Поръчката ви беше приета успешно. Ще се свържем с вас възможно най-скоро.\",\n                \"title\": \"Благодарим ви за поръчката!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Съжаляваме. Имаше проблем при обработката на поръчката ви. Моля, свържете се с рецепцията за съдействие.\",\n                \"title\": \"Възникна грешка\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Междинна сума\",\n                \"surcharge\": \"Допълнителна такса\",\n                \"tax-included\": \"вкл. ДДС\",\n                \"total\": \"Общо\"\n              },\n              \"details\": {\n                \"comment\": \"Коментар\",\n                \"confirmation-method\": \"Известие\",\n                \"fulfillment-time\": \"Час на поръчката\",\n                \"name\": \"Име\",\n                \"room\": \"Номер на стая\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Артикули в количката ви\",\n                \"order-summary\": \"Обобщение на поръчката\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} артикул} other {{count} артикула}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Научете повече за начина, по който обработваме вашите данни.\",\n        \"message\": \"Вашата информация за контакт се съхранява само за целите на уведомяването. Тя ще бъде изтрита след изпълнението на вашата заявка.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Тази услуга е достъпна по всяко време днес.\",\n          \"asap-in-time-range\": \"Тази услуга е достъпна между {from} и {to} днес.\"\n        }\n      },\n      \"welcome-message\": \"Добре дошли в\"\n    }\n  }], [\"cs\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Blízko\",\n        \"confirm-order\": \"Potvrdit objednávku\",\n        \"continue\": \"Pokračovat\",\n        \"continue-browsing\": \"Pokračujte v procházení\",\n        \"more-information\": \"Další informace\",\n        \"try-again\": \"Zkuste to znovu\",\n        \"view-cart\": \"Zobrazit nákupní košík\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Váš košík je prázdný\",\n            \"go-to-checkout\": \"Přejít k pokladně\",\n            \"start-shopping\": \"Začněte nakupovat\",\n            \"your-cart\": \"Váš košík z\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Neplatná e-mailová adresa\",\n              \"placeholder\": \"Zadejte prosím svou e-mailovou adresu\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Všechny země\",\n              \"error-message\": \"Neplatné telefonní číslo\",\n              \"placeholder\": \"Zadejte prosím své telefonní číslo\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Blízko\",\n                  \"remove\": \"Odstranit\"\n                },\n                \"content\": \"Opravdu chcete odebrat {item} z košíku?\",\n                \"title\": \"Odebrat položku?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Blízko\",\n                  \"leave\": \"Dovolená\"\n                },\n                \"content\": \"Ve vašem košíku jsou položky. Opravdu chcete opustit obchod?\",\n                \"title\": \"Pozor\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Vyberte prosím požadovaný časový úsek pro vaši objednávku\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"E-mail s potvrzením zašleme na adresu:\"\n                },\n                \"options\": {\n                  \"call\": \"Zavolejte do pokoje\",\n                  \"email\": \"E-mail\",\n                  \"push\": \"Odeslat oznámení do pokojového tabletu\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Zašleme SMS zprávu s potvrzením na:\"\n                },\n                \"title\": \"Jak byste rádi obdrželi naši odpověď?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Kliknutím sem změníte vybraný časový úsek.\",\n                \"options\": {\n                  \"asap\": \"Co nejdříve\",\n                  \"later\": \"Později\"\n                },\n                \"schedule-time\": \"Naplánujte si časový úsek pro vaši objednávku.\",\n                \"title\": \"Kdy chcete obdržet svou objednávku?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Komentář (volitelné)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Jméno\",\n                    \"placeholder\": \"Zadejte prosím své celé jméno\"\n                  },\n                  \"room\": {\n                    \"label\": \"Číslo pokoje\",\n                    \"placeholder\": \"Zadejte prosím číslo svého pokoje\"\n                  }\n                },\n                \"title\": \"Vyplňte údaje o objednávce\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Vaše objednávka byla úspěšně zadána. Ozveme se vám co nejdříve.\",\n                \"title\": \"Děkujeme za vaši objednávku!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Je nám to líto. Při zpracování vaší objednávky došlo k problému. Požádejte o pomoc naši front office.\",\n                \"title\": \"Došlo k chybě\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Mezisoučet\",\n                \"surcharge\": \"Příplatek\",\n                \"tax-included\": \"vč. DPH\",\n                \"total\": \"Celkový\"\n              },\n              \"details\": {\n                \"comment\": \"Komentář\",\n                \"confirmation-method\": \"Oznámení\",\n                \"fulfillment-time\": \"Čas objednávky\",\n                \"name\": \"Jméno\",\n                \"room\": \"Číslo pokoje\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Položky ve vašem košíku\",\n                \"order-summary\": \"Shrnutí objednávky\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Položka} other {{count} Položky}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Zjistěte více o tom, jak nakládáme s vašimi údaji.\",\n        \"message\": \"Vaše kontaktní údaje jsou uchovávány pouze pro účely oznámení. Po splnění vašeho požadavku bude smazán.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Tato služba je dnes dostupná kdykoli.\",\n          \"asap-in-time-range\": \"Tato služba je dostupná dnes od {from} do {to}.\"\n        }\n      },\n      \"welcome-message\": \"Vítejte v \"\n    }\n  }], [\"da\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Tæt\",\n        \"confirm-order\": \"Bekræft ordre\",\n        \"continue\": \"Fortsætte\",\n        \"continue-browsing\": \"Fortsæt med at browse\",\n        \"more-information\": \"Mere Info\",\n        \"try-again\": \"Prøv igen\",\n        \"view-cart\": \"Se indkøbskurv\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Din indkøbskurv er tom\",\n            \"go-to-checkout\": \"Gå til kassen\",\n            \"start-shopping\": \"Begynd at shoppe\",\n            \"your-cart\": \"Din vogn fra\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Ugyldig e-mailadresse\",\n              \"placeholder\": \"Indtast venligst din e-mailadresse\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Alle lande\",\n              \"error-message\": \"Ugyldigt telefonnummer\",\n              \"placeholder\": \"Indtast venligst dit telefonnummer\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Tæt\",\n                  \"remove\": \"Fjerne\"\n                },\n                \"content\": \"Er du sikker på, at du vil fjerne {item} fra din indkøbskurv?\",\n                \"title\": \"Vil du fjerne elementet?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Tæt\",\n                  \"leave\": \"Forlade\"\n                },\n                \"content\": \"Der er varer i din indkøbskurv. Er du sikker på, at du vil forlade butikken?\",\n                \"title\": \"Forsigtighed\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Vælg venligst et ønsket tidspunkt for din ordre\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Vi sender en e-mail med bekræftelse til:\"\n                },\n                \"options\": {\n                  \"call\": \"Ring til værelset\",\n                  \"email\": \"E-mail\",\n                  \"push\": \"Push notifikation til værelsetablet\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Vi sender en sms med bekræftelse til:\"\n                },\n                \"title\": \"Hvordan vil du gerne modtage vores svar?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Klik her for at ændre det valgte tidsrum.\",\n                \"options\": {\n                  \"asap\": \"Så hurtigt som muligt\",\n                  \"later\": \"Senere\"\n                },\n                \"schedule-time\": \"Planlæg et tidspunkt for din ordre.\",\n                \"title\": \"Hvornår ønsker du at modtage din ordre?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Kommentar (valgfrit)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Navn\",\n                    \"placeholder\": \"Indtast venligst dit fulde navn\"\n                  },\n                  \"room\": {\n                    \"label\": \"Værelsesnummer\",\n                    \"placeholder\": \"Indtast venligst dit værelsesnummer\"\n                  }\n                },\n                \"title\": \"Udfyld dine ordreoplysninger\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Din ordre er blevet afgivet. Vi vender tilbage til dig hurtigst muligt.\",\n                \"title\": \"Tak for din bestilling!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Vi beklager. Der opstod et problem under behandlingen af ​​din ordre. Kontakt venligst vores front office for at få hjælp.\",\n                \"title\": \"Der opstod en fejl\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Subtotal\",\n                \"surcharge\": \"Ekstragebyr\",\n                \"tax-included\": \"inkl. moms\",\n                \"total\": \"Total\"\n              },\n              \"details\": {\n                \"comment\": \"Kommentar\",\n                \"confirmation-method\": \"Notifikation\",\n                \"fulfillment-time\": \"Bestillingstid\",\n                \"name\": \"Navn\",\n                \"room\": \"Værelsesnummer\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Varer i din kurv\",\n                \"order-summary\": \"Ordreoversigt\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Artikel} other {{count} Artikler}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Lær mere om, hvordan vi håndterer dine data.\",\n        \"message\": \"Dine kontaktoplysninger opbevares kun til meddelelsesformål. Den vil blive slettet, når din anmodning er blevet opfyldt.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Denne tjeneste er tilgængelig når som helst i dag.\",\n          \"asap-in-time-range\": \"Denne tjeneste er tilgængelig mellem {from} og {to} i dag.\"\n        }\n      },\n      \"welcome-message\": \"Velkommen til\"\n    }\n  }], [\"de\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Schließen \",\n        \"confirm-order\": \"Bestellung bestätigen\",\n        \"continue\": \"Weiter\",\n        \"continue-browsing\": \"Weiter browsen\",\n        \"more-information\": \"Mehr Infos\",\n        \"try-again\": \"Erneut versuchen\",\n        \"view-cart\": \"Warenkorb anzeigen\"\n      },\n      \"components\": {\n        \"modals\": {\n          \"cookie-banner\": {\n            \"advanced-settings\": {\n              \"analytics\": {\n                \"description\": \"Helfen uns, unsere Website durch anonyme Nutzungsdaten zu verbessern.\",\n                \"title\": \"Performance- / Analyse-Cookies\"\n              },\n              \"essential\": {\n                \"description\": \"Diese Cookies sind für die Funktion der Website unerlässlich und können nicht deaktiviert werden.\",\n                \"title\": \"Unbedingt erforderliche Cookies\"\n              }\n            },\n            \"buttons\": {\n              \"accept-all\": \"Alle akzeptieren\",\n              \"manage\": \"Einstellungen verwalten\",\n              \"only-essential\": \"Ablehnen\",\n              \"save-preferences\": \"Einstellungen speichern\"\n            },\n            \"content\": {\n              \"advanced\": \"Hier können Sie festlegen, welche Arten von Cookies wir verwenden dürfen. Notwendige Cookies sind für grundlegende Funktionen erforderlich und daher immer aktiv.\",\n              \"basic\": \"Wir verwenden Cookies, um Ihre Erfahrung zu verbessern und Ihnen relevante Inhalte anzuzeigen. Sie können alle Cookies akzeptieren, nur notwendige zulassen oder Ihre Einstellungen verwalten. Ihre Auswahl können Sie jederzeit ändern.\"\n            },\n            \"title\": \"Datenschutzeinstellungen\"\n          }\n        },\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Ihr Warenkorb ist leer\",\n            \"go-to-checkout\": \"Zur Kasse gehen\",\n            \"start-shopping\": \"Einkaufen beginnen\",\n            \"your-cart\": \"Ihr Warenkorb von\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Ungültige E-Mail-Adresse\",\n              \"placeholder\": \"Bitte geben Sie Ihre E-Mail-Adresse ein\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Alle Länder\",\n              \"error-message\": \"Ungültige Telefonnummer\",\n              \"placeholder\": \"Bitte geben Sie Ihre Telefonnummer ein\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Schließen \",\n                  \"remove\": \"Entfernen\"\n                },\n                \"content\": \"Sind Sie sicher, dass Sie {item} aus Ihrem Warenkorb entfernen möchten?\",\n                \"title\": \"Artikel entfernen?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Schließen \",\n                  \"leave\": \"Verlassen\"\n                },\n                \"content\": \"Ihr Warenkorb enthält noch Artikel. Sind Sie sicher, dass sie den Shop verlassen möchten?\",\n                \"title\": \"Vorsicht\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Bitte wählen Sie ein gewünschtes Zeitfenster für Ihre Bestellung\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Wir senden eine E-Mail mit der Bestätigung an:\"\n                },\n                \"options\": {\n                  \"call\": \"Anruf auf Zimmer\",\n                  \"email\": \"E-Mail\",\n                  \"push\": \"Push-Nachricht auf das Tablet\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Wir senden eine SMS mit der Bestätigung an:\"\n                },\n                \"title\": \"Wie möchten Sie Rückmeldung von uns erhalten?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Klicken Sie hier, um das ausgewählte Zeitfenster zu ändern.\",\n                \"options\": {\n                  \"asap\": \"So bald wie möglich\",\n                  \"later\": \"Später\"\n                },\n                \"schedule-time\": \"Planen Sie ein Zeitfenster für Ihre Bestellung.\",\n                \"title\": \"Für wann möchten Sie bestellen bzw. anfragen?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Kommentar (optional)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Name\",\n                    \"placeholder\": \"Bitte geben Sie Ihren vollständigen Namen ein\"\n                  },\n                  \"room\": {\n                    \"label\": \"Zimmernummer\",\n                    \"placeholder\": \"Bitte geben Sie Ihre Zimmernummer ein\"\n                  }\n                },\n                \"title\": \"Vervollständigen Sie Ihre Bestelldetails\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Ihre Bestellung wurde erfolgreich übermittelt. Wir werden uns in Kürze mit Ihnen in Verbindung setzen.\",\n                \"title\": \"Vielen Dank für Ihre Bestellung!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Es tut uns leid. Beim Versenden Ihrer Anfrage ist ein Fehler aufgetreten, bitte wenden Sie sich an die Rezeption.\",\n                \"title\": \"Es ist ein Fehler aufgetreten\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Zwischensumme\",\n                \"surcharge\": \"Gebühren\",\n                \"tax-included\": \"inkl. MwSt.\",\n                \"total\": \"Gesamtsumme\"\n              },\n              \"details\": {\n                \"comment\": \"Kommentar\",\n                \"confirmation-method\": \"Benachrichtigung\",\n                \"fulfillment-time\": \"Lieferzeit\",\n                \"name\": \"Name\",\n                \"room\": \"Zimmernummer\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Artikel in Ihrem Warenkorb\",\n                \"order-summary\": \"Bestellübersicht\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Artikel} other {{count} Artikel}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Erfahren Sie mehr darüber wie wir mit Ihren Daten umgehen.\",\n        \"message\": \"Wir speichern Ihre Kontaktdaten nur, um Sie zu benachrichtigen und löschen sie wieder sobald Ihre Anfrage erfüllt wurde.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Dieser Service ist heute zu jeder Uhrzeit verfügbar.\",\n          \"asap-in-time-range\": \"Dieser Service ist heute zwischen {from} und {to} verfügbar.\"\n        }\n      },\n      \"welcome-message\": \"Willkommen im\"\n    }\n  }], [\"el\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Κοντά\",\n        \"confirm-order\": \"Επιβεβαίωση παραγγελίας\",\n        \"continue\": \"Συνεχίζω\",\n        \"continue-browsing\": \"Συνεχίστε την περιήγηση\",\n        \"more-information\": \"περισσότερες πληροφορίες\",\n        \"try-again\": \"Δοκιμάστε ξανά\",\n        \"view-cart\": \"Δείτε το καλάθι αγορών\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Το καλάθι σας είναι άδειο\",\n            \"go-to-checkout\": \"Πηγαίνετε στο ταμείο\",\n            \"start-shopping\": \"Ξεκινήστε τις αγορές\",\n            \"your-cart\": \"Το καλάθι σας από\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Μη έγκυρη διεύθυνση email\",\n              \"placeholder\": \"Εισαγάγετε τη διεύθυνση email σας\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Όλες οι χώρες\",\n              \"error-message\": \"Μη έγκυρος αριθμός τηλεφώνου\",\n              \"placeholder\": \"Εισαγάγετε τον αριθμό τηλεφώνου σας\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Κοντά\",\n                  \"remove\": \"Αφαιρώ\"\n                },\n                \"content\": \"Είστε βέβαιοι ότι θέλετε να αφαιρέσετε το {item} από το καλάθι σας;\",\n                \"title\": \"Κατάργηση στοιχείου;\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Κοντά\",\n                  \"leave\": \"Αδεια\"\n                },\n                \"content\": \"Υπάρχουν αντικείμενα στο καλάθι σας. Είστε σίγουροι ότι θέλετε να φύγετε από το κατάστημα;\",\n                \"title\": \"Προσοχή\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Επιλέξτε το επιθυμητό χρονικό διάστημα για την παραγγελία σας\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Θα στείλουμε ένα email με επιβεβαίωση στη διεύθυνση:\"\n                },\n                \"options\": {\n                  \"call\": \"Κλήση στο δωμάτιο\",\n                  \"email\": \"E-mail\",\n                  \"push\": \"Push ειδοποίηση στο tablet δωματίου\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Θα στείλουμε ένα μήνυμα κειμένου με επιβεβαίωση στη διεύθυνση:\"\n                },\n                \"title\": \"Πώς θα θέλατε να λάβετε την απάντησή μας;\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Κάντε κλικ εδώ για να αλλάξετε το επιλεγμένο χρονικό διάστημα.\",\n                \"options\": {\n                  \"asap\": \"Το συντομότερο δυνατό\",\n                  \"later\": \"Αργότερα\"\n                },\n                \"schedule-time\": \"Προγραμματίστε ένα χρονικό διάστημα για την παραγγελία σας.\",\n                \"title\": \"Πότε θα θέλατε να λάβετε την παραγγελία σας;\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Σχόλιο (προαιρετικό)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Ονομα\",\n                    \"placeholder\": \"Εισαγάγετε το πλήρες όνομά σας\"\n                  },\n                  \"room\": {\n                    \"label\": \"Αριθμός δωματίου\",\n                    \"placeholder\": \"Εισαγάγετε τον αριθμό του δωματίου σας\"\n                  }\n                },\n                \"title\": \"Συμπληρώστε τα στοιχεία της παραγγελίας σας\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Η παραγγελία σας πραγματοποιήθηκε με επιτυχία. Θα επικοινωνήσουμε μαζί σας το συντομότερο δυνατό.\",\n                \"title\": \"Σας ευχαριστούμε για την παραγγελία σας!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Λυπούμαστε. Παρουσιάστηκε πρόβλημα κατά την επεξεργασία της παραγγελίας σας. Επικοινωνήστε με το γραφείο μας για βοήθεια.\",\n                \"title\": \"Παρουσιάστηκε σφάλμα\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Υποσύνολο\",\n                \"surcharge\": \"Προσαύξηση\",\n                \"tax-included\": \"συμπεριλαμβανομένου ΔΕΞΑΜΕΝΗ\",\n                \"total\": \"Σύνολο\"\n              },\n              \"details\": {\n                \"comment\": \"Σχόλιο\",\n                \"confirmation-method\": \"Κοινοποίηση\",\n                \"fulfillment-time\": \"Ώρα παραγγελίας\",\n                \"name\": \"Ονομα\",\n                \"room\": \"Αριθμός δωματίου\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Είδη στο καλάθι σας\",\n                \"order-summary\": \"Περίληψη παραγγελίας\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Στοιχείο} other {{count} Στοιχεία}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Μάθετε περισσότερα σχετικά με τον τρόπο με τον οποίο χειριζόμαστε τα δεδομένα σας.\",\n        \"message\": \"Τα στοιχεία επικοινωνίας σας διατηρούνται μόνο για σκοπούς ειδοποίησης. Θα διαγραφεί αφού εκπληρωθεί το αίτημά σας.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Αυτή η υπηρεσία είναι διαθέσιμη οποιαδήποτε στιγμή σήμερα.\",\n          \"asap-in-time-range\": \"Αυτή η υπηρεσία είναι διαθέσιμη μεταξύ {from} και {to} σήμερα.\"\n        }\n      },\n      \"welcome-message\": \"Καλωσήρθες στο\"\n    }\n  }], [\"en\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Close\",\n        \"confirm-order\": \"Confirm Order\",\n        \"continue\": \"Continue\",\n        \"continue-browsing\": \"Continue Browsing\",\n        \"more-information\": \"More Info\",\n        \"try-again\": \"Try Again\",\n        \"view-cart\": \"View Shopping Cart\"\n      },\n      \"components\": {\n        \"modals\": {\n          \"cookie-banner\": {\n            \"advanced-settings\": {\n              \"analytics\": {\n                \"description\": \"Help us improve our website by collecting anonymous usage data.\",\n                \"title\": \"Performance / Analytics Cookies\"\n              },\n              \"essential\": {\n                \"description\": \"These cookies are essential for the website to function properly and cannot be disabled.\",\n                \"title\": \"Strictly Necessary Cookies\"\n              }\n            },\n            \"buttons\": {\n              \"accept-all\": \"Accept All\",\n              \"manage\": \"Set Preferences\",\n              \"only-essential\": \"Only Essential\",\n              \"save-preferences\": \"Save Preferences\"\n            },\n            \"content\": {\n              \"advanced\": \"Here you can decide which types of cookies we may use. Strictly necessary cookies are always active because they are required for basic website functions.\",\n              \"basic\": \"We use cookies to enhance your experience and to show you relevant content. You can accept all cookies, allow only necessary ones, or manage your preferences. You can change your selection at any time.\"\n            },\n            \"title\": \"Privacy Settings\"\n          }\n        },\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Your cart is empty\",\n            \"go-to-checkout\": \"Go to checkout\",\n            \"start-shopping\": \"Start shopping\",\n            \"your-cart\": \"Your cart from\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Invalid email address\",\n              \"placeholder\": \"Please enter your email address\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"All countries\",\n              \"error-message\": \"Invalid phone number\",\n              \"placeholder\": \"Please enter your phone number\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Close\",\n                  \"remove\": \"Remove\"\n                },\n                \"content\": \"Are you sure you want to remove {item} from your cart?\",\n                \"title\": \"Remove item?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Close\",\n                  \"leave\": \"Leave\"\n                },\n                \"content\": \"There are items in your cart. Are you sure you want to leave the shop?\",\n                \"title\": \"Caution\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Please select a desired time slot for your order\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"We will send an email with confirmation to:\"\n                },\n                \"options\": {\n                  \"call\": \"Call to room\",\n                  \"email\": \"Email\",\n                  \"push\": \"Push notification to room tablet\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"We will send a text message with confirmation to:\"\n                },\n                \"title\": \"How would you like to receive our response?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Click here to change the selected time slot.\",\n                \"options\": {\n                  \"asap\": \"As soon as possible\",\n                  \"later\": \"Later\"\n                },\n                \"schedule-time\": \"Schedule a time slot for your order.\",\n                \"title\": \"When would you like to receive your order?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Comment (optional)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Name\",\n                    \"placeholder\": \"Please enter your full name\"\n                  },\n                  \"room\": {\n                    \"label\": \"Room Number\",\n                    \"placeholder\": \"Please enter your room number\"\n                  }\n                },\n                \"title\": \"Complete your order details\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Your order has been placed successfully. We'll get back to you as soon as possible.\",\n                \"title\": \"Thank you for your order!\"\n              },\n              \"error\": {\n                \"subtitle\": \"We're sorry. There was an issue processing your order. Please contact our front office for assistance.\",\n                \"title\": \"An error occurred\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Subtotal\",\n                \"surcharge\": \"Surcharge\",\n                \"tax-included\": \"incl. VAT\",\n                \"total\": \"Total\"\n              },\n              \"details\": {\n                \"comment\": \"Comment\",\n                \"confirmation-method\": \"Notification\",\n                \"fulfillment-time\": \"Order Time\",\n                \"name\": \"Name\",\n                \"room\": \"Room Number\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Items in Your Cart\",\n                \"order-summary\": \"Order Summary\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Item} other {{count} Items}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Learn more about how we handle your data.\",\n        \"message\": \"Your contact information is retained for notification purposes only. It will be deleted after your request has been fulfilled.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"This service is available anytime today.\",\n          \"asap-in-time-range\": \"This service is available between {from} and {to} today.\"\n        }\n      },\n      \"welcome-message\": \"Welcome to\"\n    }\n  }], [\"es\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Cerca\",\n        \"confirm-order\": \"Confirmar pedido\",\n        \"continue\": \"Continuar\",\n        \"continue-browsing\": \"Continuar navegando\",\n        \"more-information\": \"Más información\",\n        \"try-again\": \"Intentar otra vez\",\n        \"view-cart\": \"Ver carrito de compras\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Tu carrito esta vacío\",\n            \"go-to-checkout\": \"Ir a la caja\",\n            \"start-shopping\": \"Empieza a comprar\",\n            \"your-cart\": \"Su carrito de\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Dirección de correo electrónico no válida\",\n              \"placeholder\": \"Por favor, introduzca su dirección de correo electrónico\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Todos los países\",\n              \"error-message\": \"Número de teléfono inválido\",\n              \"placeholder\": \"Por favor ingrese su número de teléfono\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Cerca\",\n                  \"remove\": \"Eliminar\"\n                },\n                \"content\": \"¿Estás seguro de que deseas eliminar {item} de tu carrito?\",\n                \"title\": \"¿Quitar articulo?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Cerca\",\n                  \"leave\": \"Dejar\"\n                },\n                \"content\": \"Hay artículos en tu carrito. ¿Estás seguro de que quieres salir de la tienda?\",\n                \"title\": \"Precaución\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Por favor seleccione el horario deseado para su pedido\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Enviaremos un correo electrónico con la confirmación a:\"\n                },\n                \"options\": {\n                  \"call\": \"Llamar a la habitación\",\n                  \"email\": \"Correo electrónico\",\n                  \"push\": \"Notificación push a la tableta de la sala\",\n                  \"sms\": \"Mensajes de texto\"\n                },\n                \"sms\": {\n                  \"description\": \"Enviaremos un mensaje de texto con confirmación a:\"\n                },\n                \"title\": \"¿Cómo desea recibir nuestra respuesta?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Haga clic aquí para cambiar el horario seleccionado.\",\n                \"options\": {\n                  \"asap\": \"Lo antes posible\",\n                  \"later\": \"Más tarde\"\n                },\n                \"schedule-time\": \"Programe un horario para su pedido.\",\n                \"title\": \"¿Cuando le gustaría recibir su pedido?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Comentario (opcional)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Nombre\",\n                    \"placeholder\": \"Por favor, introduzca su nombre completo\"\n                  },\n                  \"room\": {\n                    \"label\": \"Número de habitación\",\n                    \"placeholder\": \"Por favor, introduzca el número de su habitación\"\n                  }\n                },\n                \"title\": \"Complete los detalles de su pedido\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Tu pedido se ha realizado correctamente. Nos pondremos en contacto contigo lo antes posible.\",\n                \"title\": \"¡Gracias por su pedido!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Lo sentimos. Hubo un problema al procesar su pedido. Por favor, contacte con nuestra recepción para obtener ayuda.\",\n                \"title\": \"Se produjo un error\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Total parcial\",\n                \"surcharge\": \"Recargo\",\n                \"tax-included\": \"IVA incluido\",\n                \"total\": \"Total\"\n              },\n              \"details\": {\n                \"comment\": \"Comentario\",\n                \"confirmation-method\": \"Notificación\",\n                \"fulfillment-time\": \"Hora del pedido\",\n                \"name\": \"Nombre\",\n                \"room\": \"Número de habitación\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Artículos en su carrito\",\n                \"order-summary\": \"Resumen del pedido\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Artículo} other {{count} Artículos}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Obtenga más información sobre cómo manejamos sus datos.\",\n        \"message\": \"Su información de contacto se conserva únicamente para fines de notificación. Se eliminará una vez completada su solicitud.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Este servicio está disponible hoy en cualquier momento\",\n          \"asap-in-time-range\": \"Este servicio está disponible todos los días de {from}h a {to}h\"\n        }\n      },\n      \"welcome-message\": \"Bienvenido al\"\n    }\n  }], [\"fi\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Lähellä\",\n        \"confirm-order\": \"Vahvista tilaus\",\n        \"continue\": \"Jatkaa\",\n        \"continue-browsing\": \"Jatka selaamista\",\n        \"more-information\": \"Lisätietoja\",\n        \"try-again\": \"Yritä uudelleen\",\n        \"view-cart\": \"Näytä ostoskori\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Ostoskorisi on tyhjä\",\n            \"go-to-checkout\": \"Siirry kassalle\",\n            \"start-shopping\": \"Aloita ostokset\",\n            \"your-cart\": \"Ostoskorisi osoitteesta\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Virheellinen sähköpostiosoite\",\n              \"placeholder\": \"Anna sähköpostiosoitteesi\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Kaikki maat\",\n              \"error-message\": \"Virheellinen puhelinnumero\",\n              \"placeholder\": \"Anna puhelinnumerosi\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Lähellä\",\n                  \"remove\": \"Poistaa\"\n                },\n                \"content\": \"Haluatko varmasti poistaa tuotteen {item} ostoskoristasi?\",\n                \"title\": \"Poistetaanko kohde?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Lähellä\",\n                  \"leave\": \"Lähde\"\n                },\n                \"content\": \"Ostoskorissasi on tuotteita. Oletko varma, että haluat poistua kaupasta?\",\n                \"title\": \"Varoitus\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Valitse tilauksellesi haluamasi aikaväli\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Lähetämme vahvistuksen sisältävän sähköpostin osoitteeseen:\"\n                },\n                \"options\": {\n                  \"call\": \"Soita huoneeseen\",\n                  \"email\": \"Sähköposti\",\n                  \"push\": \"Push-ilmoitus huoneen tabletille\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Lähetämme vahvistuksen sisältävän tekstiviestin osoitteeseen:\"\n                },\n                \"title\": \"Miten haluaisit saada vastauksemme?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Napsauta tästä muuttaaksesi valittua aikaväliä.\",\n                \"options\": {\n                  \"asap\": \"Mahdollisimman pian\",\n                  \"later\": \"Myöhemmin\"\n                },\n                \"schedule-time\": \"Varaa aika tilauksellesi.\",\n                \"title\": \"Milloin haluaisit vastaanottaa tilauksesi?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Kommentoi (valinnainen)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Nimi\",\n                    \"placeholder\": \"Kirjoita koko nimesi\"\n                  },\n                  \"room\": {\n                    \"label\": \"Huoneen numero\",\n                    \"placeholder\": \"Anna huoneesi numero\"\n                  }\n                },\n                \"title\": \"Täytä tilauksesi tiedot\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Tilauksesi on tehty onnistuneesti. Palaamme asiaan mahdollisimman pian.\",\n                \"title\": \"Kiitos tilauksestasi!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Olemme pahoillamme. Tilauksesi käsittelyssä oli ongelma. Ota yhteyttä toimistoomme saadaksesi apua.\",\n                \"title\": \"Tapahtui virhe\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Välisumma\",\n                \"surcharge\": \"Lisämaksu\",\n                \"tax-included\": \"sis. alv.\",\n                \"total\": \"Kokonais\"\n              },\n              \"details\": {\n                \"comment\": \"Kommentti\",\n                \"confirmation-method\": \"Ilmoitus\",\n                \"fulfillment-time\": \"Tilausaika\",\n                \"name\": \"Nimi\",\n                \"room\": \"Huoneen numero\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Tuotteet ostoskorissasi\",\n                \"order-summary\": \"Tilauksen yhteenveto\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Kohde} other {{count} Kohteet}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Lue lisää siitä, kuinka käsittelemme tietojasi.\",\n        \"message\": \"Yhteystietosi säilytetään vain ilmoitustarkoituksiin. Se poistetaan, kun pyyntösi on täytetty.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Tämä palvelu on saatavilla tänään koko päivän.\",\n          \"asap-in-time-range\": \"Tämä palvelu on saatavilla tänään klo {from} ja {to} välillä.\"\n        }\n      },\n      \"welcome-message\": \"Tervetuloa\"\n    }\n  }], [\"fr\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Fermer\",\n        \"confirm-order\": \"Confirmer la commande\",\n        \"continue\": \"Continuer\",\n        \"continue-browsing\": \"Continuer la navigation\",\n        \"more-information\": \"Plus d'infos\",\n        \"try-again\": \"Essayer à nouveau\",\n        \"view-cart\": \"Voir le panier\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Votre panier est vide\",\n            \"go-to-checkout\": \"Accéder à la caisse\",\n            \"start-shopping\": \"Commencez à magasiner\",\n            \"your-cart\": \"Votre panier de\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Adresse e-mail invalide\",\n              \"placeholder\": \"Veuillez entrer votre adresse e-mail\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Tous les pays\",\n              \"error-message\": \"Numéro de téléphone invalide\",\n              \"placeholder\": \"Veuillez entrer votre numéro de téléphone\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Fermer\",\n                  \"remove\": \"Retirer\"\n                },\n                \"content\": \"Êtes-vous sûr de vouloir supprimer {item} de votre panier ?\",\n                \"title\": \"Supprimer l'article ?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Fermer\",\n                  \"leave\": \"Partir\"\n                },\n                \"content\": \"Il y a des articles dans votre panier. Voulez-vous vraiment quitter la boutique ?\",\n                \"title\": \"Prudence\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Veuillez sélectionner un créneau horaire souhaité pour votre commande\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Nous vous enverrons un e-mail de confirmation à :\"\n                },\n                \"options\": {\n                  \"call\": \"Appeler la chambre\",\n                  \"email\": \"E-mail\",\n                  \"push\": \"Notification push sur la tablette de la salle\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Nous vous enverrons un SMS de confirmation à :\"\n                },\n                \"title\": \"Comment souhaitez-vous recevoir notre réponse ?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Cliquez ici pour modifier le créneau horaire sélectionné.\",\n                \"options\": {\n                  \"asap\": \"Dès que possible\",\n                  \"later\": \"Plus tard\"\n                },\n                \"schedule-time\": \"Planifiez un créneau horaire pour votre commande.\",\n                \"title\": \"Quand souhaitez-vous recevoir votre commande ?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Commentaire (facultatif)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Nom\",\n                    \"placeholder\": \"Veuillez entrer votre nom complet\"\n                  },\n                  \"room\": {\n                    \"label\": \"Numéro de chambre\",\n                    \"placeholder\": \"Veuillez entrer votre numéro de chambre\"\n                  }\n                },\n                \"title\": \"Complétez les détails de votre commande\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Votre commande a bien été passée. Nous vous répondrons dans les plus brefs délais.\",\n                \"title\": \"Merci pour votre commande !\"\n              },\n              \"error\": {\n                \"subtitle\": \"Nous sommes désolés. Un problème est survenu lors du traitement de votre commande. Veuillez contacter notre service client pour obtenir de l'aide.\",\n                \"title\": \"Une erreur s'est produite\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Total\",\n                \"surcharge\": \"Surtaxe\",\n                \"tax-included\": \"TVA incl.\",\n                \"total\": \"Total\"\n              },\n              \"details\": {\n                \"comment\": \"Commentaire\",\n                \"confirmation-method\": \"Notification\",\n                \"fulfillment-time\": \"Heure de commande\",\n                \"name\": \"Nom\",\n                \"room\": \"Numéro de chambre\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Articles dans votre panier\",\n                \"order-summary\": \"Résumé de la commande\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Article} other {{count} Articles}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"En savoir plus sur la façon dont nous traitons vos données.\",\n        \"message\": \"Vos coordonnées sont conservées à des fins de notification uniquement. Elles seront supprimées une fois votre demande traitée.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Ce service est disponible à tout moment aujourd'hui.\",\n          \"asap-in-time-range\": \"Ce service est disponible entre {from} et {to} aujourd'hui.\"\n        }\n      },\n      \"welcome-message\": \"Bienvenue à\"\n    }\n  }], [\"he\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"לִסְגוֹר\",\n        \"confirm-order\": \"אשר את ההזמנה\",\n        \"continue\": \"לְהַמשִׁיך\",\n        \"continue-browsing\": \"המשך לגלוש\",\n        \"more-information\": \"מידע נוסף\",\n        \"try-again\": \"נסה שוב\",\n        \"view-cart\": \"צפה בסל קניות\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"העגלה שלך ריקה\",\n            \"go-to-checkout\": \"עבור לקופה\",\n            \"start-shopping\": \"תתחילו לעשות קניות\",\n            \"your-cart\": \"העגלה שלך מ\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"כתובת אימייל לא חוקית\",\n              \"placeholder\": \"אנא הכנס את כתובת הדוא\\\"ל שלך\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"כל המדינות\",\n              \"error-message\": \"מספר טלפון לא חוקי\",\n              \"placeholder\": \"נא להזין את מספר הטלפון שלך\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"לִסְגוֹר\",\n                  \"remove\": \"לְהַסִיר\"\n                },\n                \"content\": \"האם אתה בטוח שברצונך להסיר את {item} מהסל שלך?\",\n                \"title\": \"להסיר את הפריט?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"לִסְגוֹר\",\n                  \"leave\": \"לַעֲזוֹב\"\n                },\n                \"content\": \"יש פריטים בעגלה שלך. האם אתה בטוח שאתה רוצה לעזוב את החנות?\",\n                \"title\": \"זְהִירוּת\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"אנא בחר משבצת זמן רצויה עבור ההזמנה שלך\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"אנו נשלח מייל עם אישור לכתובת:\"\n                },\n                \"options\": {\n                  \"call\": \"התקשר לחדר\",\n                  \"email\": \"אֶלֶקטרוֹנִי\",\n                  \"push\": \"דחף הודעה לטאבלט החדר\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"אנו נשלח הודעת טקסט עם אישור ל:\"\n                },\n                \"title\": \"איך תרצו לקבל את תגובתנו?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"לחץ כאן כדי לשנות את משבצת הזמן שנבחרה.\",\n                \"options\": {\n                  \"asap\": \"בְּהֶקְדֵם הַאֶפְשַׁרִי\",\n                  \"later\": \"מְאוּחָר יוֹתֵר\"\n                },\n                \"schedule-time\": \"קבע משבצת זמן להזמנה שלך.\",\n                \"title\": \"מתי תרצו לקבל את ההזמנה שלכם?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"הערה (אופציונלי)\"\n                  },\n                  \"name\": {\n                    \"label\": \"שֵׁם\",\n                    \"placeholder\": \"נא להזין את שמך המלא\"\n                  },\n                  \"room\": {\n                    \"label\": \"מספר חדר\",\n                    \"placeholder\": \"נא להזין את מספר החדר שלך\"\n                  }\n                },\n                \"title\": \"השלם את פרטי ההזמנה שלך\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"ההזמנה שלך בוצעה בהצלחה. אנו נחזור אליך בהקדם האפשרי.\",\n                \"title\": \"תודה לך על ההזמנה שלך!\"\n              },\n              \"error\": {\n                \"subtitle\": \"אנו מצטערים. הייתה בעיה בעיבוד ההזמנה שלך. אנא צור קשר עם משרד הפנים שלנו לקבלת סיוע.\",\n                \"title\": \"אירעה שגיאה\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"סכום משנה\",\n                \"surcharge\": \"תַשׁלוּם נוֹסָף\",\n                \"tax-included\": \"כולל חָבִית\",\n                \"total\": \"סַך הַכֹּל\"\n              },\n              \"details\": {\n                \"comment\": \"הֶעָרָה\",\n                \"confirmation-method\": \"הוֹדָעָה\",\n                \"fulfillment-time\": \"זמן הזמנה\",\n                \"name\": \"שֵׁם\",\n                \"room\": \"מספר חדר\"\n              },\n              \"headlines\": {\n                \"order-items\": \"פריטים בעגלה שלך\",\n                \"order-summary\": \"סיכום הזמנה\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} פריט} other {{count} פריטים נוספים}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"למידע נוסף על האופן שבו אנו מטפלים בנתונים שלך.\",\n        \"message\": \"פרטי הקשר שלך נשמרים למטרות הודעה בלבד. הוא יימחק לאחר מילוי בקשתך.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"שירות זה זמין בכל עת היום.\",\n          \"asap-in-time-range\": \"שירות זה זמין בין {from} ל-{to} היום.\"\n        }\n      },\n      \"welcome-message\": \"ברוכים הבאים ל\"\n    }\n  }], [\"hr\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Zatvoriti\",\n        \"confirm-order\": \"Potvrdite narudžbu\",\n        \"continue\": \"Nastaviti\",\n        \"continue-browsing\": \"Nastavite s pregledavanjem\",\n        \"more-information\": \"Više informacija\",\n        \"try-again\": \"Pokušajte ponovno\",\n        \"view-cart\": \"Pregledajte košaricu\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Vaša košarica je prazna\",\n            \"go-to-checkout\": \"Idi na blagajnu\",\n            \"start-shopping\": \"Počnite kupovati\",\n            \"your-cart\": \"Vaša košarica iz\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Nevažeća adresa e-pošte\",\n              \"placeholder\": \"Molimo unesite svoju email adresu\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Sve zemlje\",\n              \"error-message\": \"Nevažeći telefonski broj\",\n              \"placeholder\": \"Molimo unesite svoj broj telefona\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Zatvoriti\",\n                  \"remove\": \"Ukloniti\"\n                },\n                \"content\": \"Jeste li sigurni da želite ukloniti {item} iz košarice?\",\n                \"title\": \"Ukloniti stavku?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Zatvoriti\",\n                  \"leave\": \"Otiđi\"\n                },\n                \"content\": \"U vašoj košarici ima artikala. Jeste li sigurni da želite napustiti trgovinu?\",\n                \"title\": \"Oprez\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Odaberite željeni termin za svoju narudžbu\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Poslat ćemo e-mail s potvrdom na:\"\n                },\n                \"options\": {\n                  \"call\": \"Pozovi u sobu\",\n                  \"email\": \"E-mail\",\n                  \"push\": \"Push obavijest na sobni tablet\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Poslat ćemo SMS poruku s potvrdom na:\"\n                },\n                \"title\": \"Kako biste željeli primiti naš odgovor?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Kliknite ovdje za promjenu odabranog vremenskog intervala.\",\n                \"options\": {\n                  \"asap\": \"Što prije\",\n                  \"later\": \"Kasnije\"\n                },\n                \"schedule-time\": \"Zakažite termin za svoju narudžbu.\",\n                \"title\": \"Kada želite primiti svoju narudžbu?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Komentar (neobavezno)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Ime\",\n                    \"placeholder\": \"Unesite svoje puno ime\"\n                  },\n                  \"room\": {\n                    \"label\": \"Broj sobe\",\n                    \"placeholder\": \"Molimo unesite broj vaše sobe\"\n                  }\n                },\n                \"title\": \"Ispunite detalje svoje narudžbe\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Vaša narudžba je uspješno izvršena. Javit ćemo vam se što je prije moguće.\",\n                \"title\": \"Hvala vam na narudžbi!\"\n              },\n              \"error\": {\n                \"subtitle\": \"žao nam je Došlo je do problema s obradom vaše narudžbe. Za pomoć kontaktirajte našu recepciju.\",\n                \"title\": \"Došlo je do pogreške\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Međuzbroj\",\n                \"surcharge\": \"Nadoplata\",\n                \"tax-included\": \"uklj. PDV\",\n                \"total\": \"Ukupno\"\n              },\n              \"details\": {\n                \"comment\": \"Komentar\",\n                \"confirmation-method\": \"Obavijest\",\n                \"fulfillment-time\": \"Vrijeme narudžbe\",\n                \"name\": \"Ime\",\n                \"room\": \"Broj sobe\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Artikli u vašoj košarici\",\n                \"order-summary\": \"Sažetak narudžbe\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Stavka} other {{count} Stavke}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Saznajte više o tome kako postupamo s vašim podacima.\",\n        \"message\": \"Vaši podaci za kontakt zadržavaju se samo u svrhu obavijesti. Izbrisat će se nakon što vaš zahtjev bude ispunjen.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Ova usluga dostupna je u bilo koje vrijeme danas.\",\n          \"asap-in-time-range\": \"This service is available between {from} and {to} today.\"\n        }\n      },\n      \"welcome-message\": \"Dobrodošli u\"\n    }\n  }], [\"hu\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Közeli\",\n        \"confirm-order\": \"Megrendelés megerősítése\",\n        \"continue\": \"Folytatás\",\n        \"continue-browsing\": \"Böngészés folytatása\",\n        \"more-information\": \"További információ\",\n        \"try-again\": \"Próbáld újra\",\n        \"view-cart\": \"Bevásárlókosár megtekintése\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"A kosara üres\",\n            \"go-to-checkout\": \"Menjen a pénztárhoz\",\n            \"start-shopping\": \"Kezdje el a vásárlást\",\n            \"your-cart\": \"Az Ön kosara innen\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Érvénytelen e-mail cím\",\n              \"placeholder\": \"Kérjük, adja meg e-mail címét\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Minden ország\",\n              \"error-message\": \"Érvénytelen telefonszám\",\n              \"placeholder\": \"Kérjük, adja meg telefonszámát\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Közeli\",\n                  \"remove\": \"Távolítsa el\"\n                },\n                \"content\": \"Biztosan eltávolítja a(z) {item} terméket a kosarából?\",\n                \"title\": \"Eltávolítja az elemet?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Közeli\",\n                  \"leave\": \"Szabadság\"\n                },\n                \"content\": \"Vannak termékek a kosarában. Biztos, hogy elhagyja a boltot?\",\n                \"title\": \"Vigyázat\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Kérjük, válassza ki a kívánt időpontot a megrendeléshez\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Megerősítő e-mailt küldünk a következő címre:\"\n                },\n                \"options\": {\n                  \"call\": \"Hívjon a szobába\",\n                  \"email\": \"Email\",\n                  \"push\": \"Értesítés leküldése a szoba táblagépére\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Megerősítő szöveges üzenetet küldünk a következő címre:\"\n                },\n                \"title\": \"Hogyan szeretné megkapni a válaszunkat?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Kattintson ide a kiválasztott idősáv módosításához.\",\n                \"options\": {\n                  \"asap\": \"Amint lehet\",\n                  \"later\": \"Később\"\n                },\n                \"schedule-time\": \"Foglaljon időpontot a megrendeléshez.\",\n                \"title\": \"Mikor szeretné megkapni a megrendelését?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Megjegyzés (nem kötelező)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Név\",\n                    \"placeholder\": \"Kérjük, adja meg a teljes nevét\"\n                  },\n                  \"room\": {\n                    \"label\": \"Szobaszám\",\n                    \"placeholder\": \"Kérjük, adja meg a szoba számát\"\n                  }\n                },\n                \"title\": \"Töltse ki a megrendelés részleteit\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Megrendelése sikeresen feladásra került. A lehető leghamarabb visszatérünk Önhöz.\",\n                \"title\": \"Köszönjük megrendelését!\"\n              },\n              \"error\": {\n                \"subtitle\": \"sajnáljuk. Probléma lépett fel a rendelés feldolgozása során. Segítségért forduljon ügyfélszolgálatunkhoz.\",\n                \"title\": \"Hiba történt\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Részösszeg\",\n                \"surcharge\": \"Pótdíj\",\n                \"tax-included\": \"incl. KÁD\",\n                \"total\": \"Teljes\"\n              },\n              \"details\": {\n                \"comment\": \"Megjegyzés\",\n                \"confirmation-method\": \"Bejelentés\",\n                \"fulfillment-time\": \"Rendelési idő\",\n                \"name\": \"Név\",\n                \"room\": \"Szobaszám\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Tételek a kosarában\",\n                \"order-summary\": \"Rendelési összefoglaló\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Tétel} other {{count} Tételek}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Tudjon meg többet arról, hogyan kezeljük adatait.\",\n        \"message\": \"Kapcsolattartási adatait kizárólag értesítési célból őrzik meg. Kérésének teljesítése után törlésre kerül.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Ez a szolgáltatás ma bármikor elérhető.\",\n          \"asap-in-time-range\": \"Ez a szolgáltatás {from} és {to} között érhető el.\"\n        }\n      },\n      \"welcome-message\": \"Üdvözöljük a\"\n    }\n  }], [\"id\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Menutup\",\n        \"confirm-order\": \"Konfirmasi Pesanan\",\n        \"continue\": \"Melanjutkan\",\n        \"continue-browsing\": \"Lanjutkan Penjelajahan\",\n        \"more-information\": \"Info Lebih Lanjut\",\n        \"try-again\": \"Coba Lagi\",\n        \"view-cart\": \"Lihat Keranjang Belanja\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Keranjang Anda kosong\",\n            \"go-to-checkout\": \"Pergi ke kasir\",\n            \"start-shopping\": \"Mulai berbelanja\",\n            \"your-cart\": \"Keranjang Anda dari\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Alamat email tidak valid\",\n              \"placeholder\": \"Silakan masukkan alamat email Anda\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Semua negara\",\n              \"error-message\": \"Nomor telepon tidak valid\",\n              \"placeholder\": \"Silakan masukkan nomor telepon Anda\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Menutup\",\n                  \"remove\": \"Menghapus\"\n                },\n                \"content\": \"Apakah Anda yakin ingin menghapus {item} dari keranjang belanja Anda?\",\n                \"title\": \"Hapus item?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Menutup\",\n                  \"leave\": \"Meninggalkan\"\n                },\n                \"content\": \"Ada barang di keranjang belanja Anda. Apakah Anda yakin ingin meninggalkan toko?\",\n                \"title\": \"Peringatan\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Silakan pilih slot waktu yang diinginkan untuk pesanan Anda\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Kami akan mengirimkan email konfirmasi ke:\"\n                },\n                \"options\": {\n                  \"call\": \"Telepon ke kamar\",\n                  \"email\": \"E-mail\",\n                  \"push\": \"Pemberitahuan push ke tablet ruang\",\n                  \"sms\": \"Pesan singkat\"\n                },\n                \"sms\": {\n                  \"description\": \"Kami akan mengirimkan pesan teks konfirmasi ke:\"\n                },\n                \"title\": \"Bagaimana Anda ingin menerima tanggapan kami?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Klik di sini untuk mengubah slot waktu yang dipilih.\",\n                \"options\": {\n                  \"asap\": \"Secepat mungkin\",\n                  \"later\": \"Nanti\"\n                },\n                \"schedule-time\": \"Jadwalkan slot waktu untuk pesanan Anda.\",\n                \"title\": \"Kapan Anda ingin menerima pesanan Anda?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Komentar (opsional)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Nama\",\n                    \"placeholder\": \"Silakan masukkan nama lengkap Anda\"\n                  },\n                  \"room\": {\n                    \"label\": \"Nomor Kamar\",\n                    \"placeholder\": \"Silakan masukkan nomor kamar Anda\"\n                  }\n                },\n                \"title\": \"Lengkapi detail pesanan Anda\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Pesanan Anda telah berhasil dilakukan. Kami akan segera menghubungi Anda kembali.\",\n                \"title\": \"Terima kasih atas pesanan Anda!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Maaf. Terjadi masalah saat memproses pesanan Anda. Silakan hubungi kantor depan kami untuk mendapatkan bantuan.\",\n                \"title\": \"Terjadi kesalahan\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Jumlah keseluruhan\",\n                \"surcharge\": \"Biaya tambahan\",\n                \"tax-included\": \"termasuk PPN\",\n                \"total\": \"Total\"\n              },\n              \"details\": {\n                \"comment\": \"Komentar\",\n                \"confirmation-method\": \"Pemberitahuan\",\n                \"fulfillment-time\": \"Waktu Pemesanan\",\n                \"name\": \"Nama\",\n                \"room\": \"Nomor Kamar\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Barang di Keranjang Anda\",\n                \"order-summary\": \"Ringkasan Pesanan\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Item} other {{count} Item}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Pelajari lebih lanjut tentang cara kami menangani data Anda.\",\n        \"message\": \"Informasi kontak Anda disimpan hanya untuk keperluan pemberitahuan. Informasi tersebut akan dihapus setelah permintaan Anda dipenuhi.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Layanan ini tersedia kapan saja hari ini.\",\n          \"asap-in-time-range\": \"Layanan ini tersedia antara {from} dan {to} hari ini.\"\n        }\n      },\n      \"welcome-message\": \"Selamat datang di\"\n    }\n  }], [\"is\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Loka\",\n        \"confirm-order\": \"Staðfestu pöntun\",\n        \"continue\": \"Halda áfram\",\n        \"continue-browsing\": \"Halda áfram að vafra\",\n        \"more-information\": \"Meiri upplýsingar\",\n        \"try-again\": \"Reyndu aftur\",\n        \"view-cart\": \"Skoða innkaupakörfu\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Karfan þín er tóm\",\n            \"go-to-checkout\": \"Farðu í kassa\",\n            \"start-shopping\": \"Byrjaðu að versla\",\n            \"your-cart\": \"Karfan þín frá\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Ógilt netfang\",\n              \"placeholder\": \"Vinsamlegast sláðu inn netfangið þitt\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Öll lönd\",\n              \"error-message\": \"Ógilt símanúmer\",\n              \"placeholder\": \"Vinsamlegast sláðu inn símanúmerið þitt\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Loka\",\n                  \"remove\": \"Fjarlægja\"\n                },\n                \"content\": \"Ertu viss um að þú viljir fjarlægja {item} úr körfunni þinni?\",\n                \"title\": \"Fjarlægja atriði?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Loka\",\n                  \"leave\": \"Farðu\"\n                },\n                \"content\": \"Það eru hlutir í körfunni þinni. Ertu viss um að þú viljir yfirgefa búðina?\",\n                \"title\": \"Varúð\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Vinsamlegast veldu þann tíma sem þú vilt fyrir pöntunina þína\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Við munum senda tölvupóst með staðfestingu á:\"\n                },\n                \"options\": {\n                  \"call\": \"Hringdu í herbergi\",\n                  \"email\": \"Tölvupóstur\",\n                  \"push\": \"Ýttu tilkynningu á spjaldtölvu í herbergi\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Við munum senda textaskilaboð með staðfestingu á:\"\n                },\n                \"title\": \"Hvernig viltu fá svar okkar?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Smelltu hér til að breyta völdum tíma.\",\n                \"options\": {\n                  \"asap\": \"Eins fljótt og auðið er\",\n                  \"later\": \"Seinna\"\n                },\n                \"schedule-time\": \"Tímasettu tíma fyrir pöntunina þína.\",\n                \"title\": \"Hvenær vilt þú fá pöntunina þína?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Athugasemd (valfrjálst)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Nafn\",\n                    \"placeholder\": \"Vinsamlegast sláðu inn fullt nafn þitt\"\n                  },\n                  \"room\": {\n                    \"label\": \"Herbergisnúmer\",\n                    \"placeholder\": \"Vinsamlegast sláðu inn herbergisnúmerið þitt\"\n                  }\n                },\n                \"title\": \"Ljúktu við pöntunarupplýsingar þínar\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Pöntun þín hefur verið lögð inn. Við munum hafa samband við þig eins fljótt og auðið er.\",\n                \"title\": \"Þakka þér fyrir pöntunina!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Okkur þykir það leitt. Vandamál kom upp við að vinna úr pöntuninni þinni. Vinsamlegast hafðu samband við skrifstofu okkar til að fá aðstoð.\",\n                \"title\": \"Villa kom upp\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Samtala\",\n                \"surcharge\": \"Aukagjald\",\n                \"tax-included\": \"þ.m.t. VSK\",\n                \"total\": \"Samtals\"\n              },\n              \"details\": {\n                \"comment\": \"Athugasemd\",\n                \"confirmation-method\": \"Tilkynning\",\n                \"fulfillment-time\": \"Pöntunartími\",\n                \"name\": \"Nafn\",\n                \"room\": \"Herbergisnúmer\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Hlutir í körfunni þinni\",\n                \"order-summary\": \"Pantanayfirlit\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} atriði } other {{count} atriði }}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Frekari upplýsingar um hvernig við meðhöndlum gögnin þín.\",\n        \"message\": \"Samskiptaupplýsingarnar þínar eru aðeins varðveittar í tilkynningarskyni. Það verður eytt eftir að beiðni þinni hefur verið fullnægt.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Þessi þjónusta er í boði hvenær sem er í dag.\",\n          \"asap-in-time-range\": \"This service is available between {from} and {to} today.\"\n        }\n      },\n      \"welcome-message\": \"Velkomin til\"\n    }\n  }], [\"it\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Vicino\",\n        \"confirm-order\": \"Conferma ordine\",\n        \"continue\": \"Continuare\",\n        \"continue-browsing\": \"Continua a navigare\",\n        \"more-information\": \"Ulteriori informazioni\",\n        \"try-again\": \"Riprova\",\n        \"view-cart\": \"Visualizza carrello\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Il tuo carrello è vuoto\",\n            \"go-to-checkout\": \"Vai alla cassa\",\n            \"start-shopping\": \"Inizia a fare acquisti\",\n            \"your-cart\": \"Il tuo carrello da\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Indirizzo email non valido\",\n              \"placeholder\": \"Inserisci il tuo indirizzo email\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Tutti i paesi\",\n              \"error-message\": \"Numero di telefono non valido\",\n              \"placeholder\": \"Inserisci il tuo numero di telefono\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Vicino\",\n                  \"remove\": \"Rimuovere\"\n                },\n                \"content\": \"Sei sicuro di voler rimuovere {item} dal carrello?\",\n                \"title\": \"Rimuovere l'articolo?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Vicino\",\n                  \"leave\": \"Partire\"\n                },\n                \"content\": \"Ci sono articoli nel tuo carrello. Vuoi davvero uscire dal negozio?\",\n                \"title\": \"Attenzione\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Seleziona la fascia oraria desiderata per il tuo ordine\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Invieremo un'e-mail di conferma a:\"\n                },\n                \"options\": {\n                  \"call\": \"Chiamare in camera\",\n                  \"email\": \"E-mail\",\n                  \"push\": \"Notifica push sul tablet della stanza\",\n                  \"sms\": \"sms\"\n                },\n                \"sms\": {\n                  \"description\": \"Invieremo un messaggio di testo con la conferma a:\"\n                },\n                \"title\": \"Come vorresti ricevere la nostra risposta?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Clicca qui per modificare la fascia oraria selezionata.\",\n                \"options\": {\n                  \"asap\": \"Appena possibile\",\n                  \"later\": \"Dopo\"\n                },\n                \"schedule-time\": \"Pianifica una fascia oraria per il tuo ordine.\",\n                \"title\": \"Quando desideri ricevere il tuo ordine?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Commento (facoltativo)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Nome\",\n                    \"placeholder\": \"Inserisci il tuo nome completo\"\n                  },\n                  \"room\": {\n                    \"label\": \"Numero della stanza\",\n                    \"placeholder\": \"Inserisci il numero della tua stanza\"\n                  }\n                },\n                \"title\": \"Completa i dettagli del tuo ordine\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Il tuo ordine è stato effettuato con successo. Ti contatteremo il prima possibile.\",\n                \"title\": \"Grazie per il tuo ordine!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Ci scusiamo. Si è verificato un problema durante l'elaborazione del tuo ordine. Contatta il nostro front office per assistenza.\",\n                \"title\": \"Si è verificato un errore\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Subtotale\",\n                \"surcharge\": \"Supplemento\",\n                \"tax-included\": \"IVA inclusa\",\n                \"total\": \"Totale\"\n              },\n              \"details\": {\n                \"comment\": \"Commento\",\n                \"confirmation-method\": \"Notifica\",\n                \"fulfillment-time\": \"Tempo di ordine\",\n                \"name\": \"Nome\",\n                \"room\": \"Numero della stanza\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Articoli nel tuo carrello\",\n                \"order-summary\": \"Riepilogo dell'ordine\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Elemento} other {{count} Elementi}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Scopri di più su come gestiamo i tuoi dati.\",\n        \"message\": \"Le tue informazioni di contatto vengono conservate solo a scopo di notifica. Saranno eliminate dopo che la tua richiesta sarà stata soddisfatta.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Questo servizio è oggi disponibile a qualsiasi ora.\",\n          \"asap-in-time-range\": \"Questo servizio è oggi disponibile dalle {from} alle {to}.\"\n        }\n      },\n      \"welcome-message\": \"Benvenuti in\"\n    }\n  }], [\"ja\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"近い\",\n        \"confirm-order\": \"注文の確認\",\n        \"continue\": \"続く\",\n        \"continue-browsing\": \"閲覧を続ける\",\n        \"more-information\": \"詳細はこちら\",\n        \"try-again\": \"もう一度やり直してください\",\n        \"view-cart\": \"ショッピングカートを見る\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"カートは空です\",\n            \"go-to-checkout\": \"チェックアウトに進む\",\n            \"start-shopping\": \"ショッピングを始める\",\n            \"your-cart\": \"カートから\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"無効なメールアドレス\",\n              \"placeholder\": \"メールアドレスを入力してください\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"すべての国\",\n              \"error-message\": \"電話番号が無効です\",\n              \"placeholder\": \"電話番号を入力してください\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"近い\",\n                  \"remove\": \"取り除く\"\n                },\n                \"content\": \"カートから {item} を削除してもよろしいですか?\",\n                \"title\": \"アイテムを削除しますか?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"近い\",\n                  \"leave\": \"離れる\"\n                },\n                \"content\": \"カートに商品があります。ショップを離れますか?\",\n                \"title\": \"注意\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"ご注文のご希望の時間帯を選択してください\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"確認メールを以下の宛先にお送りします:\"\n                },\n                \"options\": {\n                  \"call\": \"部屋に電話する\",\n                  \"email\": \"メール\",\n                  \"push\": \"部屋のタブレットにプッシュ通知\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"確認のテキストメッセージを次の宛先に送信します:\"\n                },\n                \"title\": \"弊社からの返答をどのように受け取りたいですか?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"選択した時間帯を変更するには、ここをクリックしてください。\",\n                \"options\": {\n                  \"asap\": \"できるだけ早く\",\n                  \"later\": \"後で\"\n                },\n                \"schedule-time\": \"ご注文の時間枠をスケジュールします。\",\n                \"title\": \"ご注文はいつ受け取りたいですか?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"コメント（オプション）\"\n                  },\n                  \"name\": {\n                    \"label\": \"名前\",\n                    \"placeholder\": \"フルネームを入力してください\"\n                  },\n                  \"room\": {\n                    \"label\": \"部屋番号\",\n                    \"placeholder\": \"部屋番号を入力してください\"\n                  }\n                },\n                \"title\": \"注文の詳細を入力してください\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"ご注文は正常に完了しました。できるだけ早くご連絡いたします。\",\n                \"title\": \"ご注文ありがとうございます！\"\n              },\n              \"error\": {\n                \"subtitle\": \"申し訳ございません。ご注文の処理中に問題が発生しました。フロントオフィスまでご連絡ください。\",\n                \"title\": \"エラーが発生しました\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"小計\",\n                \"surcharge\": \"追加料金\",\n                \"tax-included\": \"税込\",\n                \"total\": \"合計\"\n              },\n              \"details\": {\n                \"comment\": \"コメント\",\n                \"confirmation-method\": \"通知\",\n                \"fulfillment-time\": \"注文時間\",\n                \"name\": \"名前\",\n                \"room\": \"部屋番号\"\n              },\n              \"headlines\": {\n                \"order-items\": \"カート内のアイテム\",\n                \"order-summary\": \"注文の概要\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} アイテム} other {{count} アイテム}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"当社がお客様のデータをどのように取り扱うかについて、詳しくはこちらをご覧ください。\",\n        \"message\": \"あなたの連絡先情報は通知目的のみに保持されます。リクエストが満たされると削除されます。\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"このサービスは本日いつでもご利用になれます。\",\n          \"asap-in-time-range\": \"このサービスは本日{from}時から{to}時までご利用になれます。\"\n        }\n      },\n      \"welcome-message\": \"[...]へようこそ\"\n    }\n  }], [\"ko\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"닫다\",\n        \"confirm-order\": \"주문 확인\",\n        \"continue\": \"계속하다\",\n        \"continue-browsing\": \"계속 탐색하기\",\n        \"more-information\": \"자세히 보기\",\n        \"try-again\": \"다시 시도하세요\",\n        \"view-cart\": \"장바구니 보기\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"장바구니가 비어있습니다\",\n            \"go-to-checkout\": \"결제로 이동\",\n            \"start-shopping\": \"쇼핑을 시작하세요\",\n            \"your-cart\": \"귀하의 장바구니에서\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"잘못된 이메일 주소입니다\",\n              \"placeholder\": \"이메일 주소를 입력해주세요\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"제국\",\n              \"error-message\": \"잘못된 전화번호입니다\",\n              \"placeholder\": \"전화번호를 입력해주세요\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"닫다\",\n                  \"remove\": \"제거하다\"\n                },\n                \"content\": \"장바구니에서 {item}을(를) 제거하시겠습니까?\",\n                \"title\": \"항목을 제거하시겠습니까?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"닫다\",\n                  \"leave\": \"떠나다\"\n                },\n                \"content\": \"장바구니에 상품이 있습니다. 정말로 가게를 나가시겠습니까?\",\n                \"title\": \"주의\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"주문에 원하시는 시간대를 선택해주세요.\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"다음 주소로 확인 이메일을 보내드리겠습니다.\"\n                },\n                \"options\": {\n                  \"call\": \"객실로 전화하기\",\n                  \"email\": \"이메일\",\n                  \"push\": \"객실 태블릿으로 푸시 알림\",\n                  \"sms\": \"문자 메시지\"\n                },\n                \"sms\": {\n                  \"description\": \"확인 문자 메시지를 다음 주소로 보내드리겠습니다.\"\n                },\n                \"title\": \"어떤 방식으로 답변을 받고 싶으신가요?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"선택한 시간대를 변경하려면 여기를 클릭하세요.\",\n                \"options\": {\n                  \"asap\": \"가능한 한 빨리\",\n                  \"later\": \"나중에\"\n                },\n                \"schedule-time\": \"주문에 대한 시간대를 예약하세요.\",\n                \"title\": \"언제쯤 주문을 받으시겠습니까?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"댓글 (선택사항)\"\n                  },\n                  \"name\": {\n                    \"label\": \"이름\",\n                    \"placeholder\": \"전체 이름을 입력하세요\"\n                  },\n                  \"room\": {\n                    \"label\": \"객실 번호\",\n                    \"placeholder\": \"객실번호를 입력해주세요.\"\n                  }\n                },\n                \"title\": \"주문 세부 정보를 완료하세요\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"주문이 성공적으로 이루어졌습니다. 최대한 빨리 답변드리겠습니다.\",\n                \"title\": \"주문해 주셔서 감사합니다!\"\n              },\n              \"error\": {\n                \"subtitle\": \"죄송합니다. 주문을 처리하는 중에 문제가 발생했습니다. 도움이 필요하면 프런트 오피스에 문의하세요.\",\n                \"title\": \"오류가 발생했습니다\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"소계\",\n                \"surcharge\": \"부가 요금\",\n                \"tax-included\": \"부가가치세 포함\",\n                \"total\": \"총\"\n              },\n              \"details\": {\n                \"comment\": \"논평\",\n                \"confirmation-method\": \"공고\",\n                \"fulfillment-time\": \"주문 시간\",\n                \"name\": \"이름\",\n                \"room\": \"객실 번호\"\n              },\n              \"headlines\": {\n                \"order-items\": \"장바구니에 있는 항목\",\n                \"order-summary\": \"주문 요약\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count}개 항목} other {{count}개 항목}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"당사가 귀하의 데이터를 처리하는 방법에 대해 자세히 알아보세요.\",\n        \"message\": \"귀하의 연락처 정보는 알림 목적으로만 보관됩니다. 귀하의 요청이 이행되면 삭제됩니다.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"이 서비스는 오늘 언제든지 이용하실 수 있습니다.\",\n          \"asap-in-time-range\": \"이 서비스는 오늘 {from}에서 {to} 사이에 이용하실 수 있습니다.\"\n        }\n      },\n      \"welcome-message\": \"환영합니다.\"\n    }\n  }], [\"lv\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Aizvērt\",\n        \"confirm-order\": \"Apstipriniet pasūtījumu\",\n        \"continue\": \"Turpināt\",\n        \"continue-browsing\": \"Turpināt pārlūkošanu\",\n        \"more-information\": \"Vairāk informācijas\",\n        \"try-again\": \"Mēģiniet vēlreiz\",\n        \"view-cart\": \"Skatīt iepirkumu grozu\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Jūsu grozs ir tukšs\",\n            \"go-to-checkout\": \"Dodieties uz kasi\",\n            \"start-shopping\": \"Sāciet iepirkties\",\n            \"your-cart\": \"Jūsu grozs no\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Nederīga e-pasta adrese\",\n              \"placeholder\": \"Lūdzu, ievadiet savu e-pasta adresi\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Visas valstis\",\n              \"error-message\": \"Nederīgs tālruņa numurs\",\n              \"placeholder\": \"Lūdzu, ievadiet savu tālruņa numuru\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Aizvērt\",\n                  \"remove\": \"Noņemt\"\n                },\n                \"content\": \"Vai tiešām vēlaties izņemt {item} no sava groza?\",\n                \"title\": \"Vai noņemt vienumu?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Aizvērt\",\n                  \"leave\": \"Aiziet\"\n                },\n                \"content\": \"Jūsu grozā ir preces. Vai tiešām vēlaties pamest veikalu?\",\n                \"title\": \"Uzmanību\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Lūdzu, izvēlieties pasūtījumam vēlamo laika posmu\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Mēs nosūtīsim e-pastu ar apstiprinājumu uz:\"\n                },\n                \"options\": {\n                  \"call\": \"Zvaniet uz istabu\",\n                  \"email\": \"E-pasts\",\n                  \"push\": \"Push paziņojumu istabas planšetdatorā\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Mēs nosūtīsim īsziņu ar apstiprinājumu uz:\"\n                },\n                \"title\": \"Kā jūs vēlētos saņemt mūsu atbildi?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Noklikšķiniet šeit, lai mainītu atlasīto laika posmu.\",\n                \"options\": {\n                  \"asap\": \"Pēc iespējas ātrāk\",\n                  \"later\": \"Vēlāk\"\n                },\n                \"schedule-time\": \"Ieplānojiet laiku savam pasūtījumam.\",\n                \"title\": \"Kad jūs vēlētos saņemt savu pasūtījumu?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Komentēt (pēc izvēles)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Vārds\",\n                    \"placeholder\": \"Lūdzu, ievadiet savu pilno vārdu\"\n                  },\n                  \"room\": {\n                    \"label\": \"Telpas numurs\",\n                    \"placeholder\": \"Lūdzu, ievadiet savas istabas numuru\"\n                  }\n                },\n                \"title\": \"Aizpildiet pasūtījuma informāciju\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Jūsu pasūtījums ir veiksmīgi veikts. Mēs ar jums sazināsimies, cik drīz vien iespējams.\",\n                \"title\": \"Paldies par pasūtījumu!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Mēs atvainojamies. Apstrādājot jūsu pasūtījumu, radās problēma. Lūdzu, sazinieties ar mūsu biroju, lai saņemtu palīdzību.\",\n                \"title\": \"Radās kļūda\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Starpsumma\",\n                \"surcharge\": \"Piemaksa\",\n                \"tax-included\": \"t.sk. PVN\",\n                \"total\": \"Kopā\"\n              },\n              \"details\": {\n                \"comment\": \"komentēt\",\n                \"confirmation-method\": \"Paziņojums\",\n                \"fulfillment-time\": \"Pasūtījuma laiks\",\n                \"name\": \"Vārds\",\n                \"room\": \"Telpas numurs\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Preces jūsu grozā\",\n                \"order-summary\": \"Pasūtījuma kopsavilkums\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Prece} other {{count} Preces}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Uzziniet vairāk par to, kā mēs apstrādājam jūsu datus.\",\n        \"message\": \"Jūsu kontaktinformācija tiek saglabāta tikai paziņošanas nolūkos. Tas tiks dzēsts pēc jūsu pieprasījuma izpildes.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Šis pakalpojums šodien ir pieejams jebkurā laikā.\",\n          \"asap-in-time-range\": \"Šis pakalpojums šodien ir pieejams no {from} līdz {to}.\"\n        }\n      },\n      \"welcome-message\": \"Laipni lūdzam\"\n    }\n  }], [\"ms\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"tutup\",\n        \"confirm-order\": \"Sahkan Pesanan\",\n        \"continue\": \"teruskan\",\n        \"continue-browsing\": \"Teruskan Melayari\",\n        \"more-information\": \"Maklumat Lanjut\",\n        \"try-again\": \"Cuba Lagi\",\n        \"view-cart\": \"Lihat Troli Beli-belah\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Troli anda kosong\",\n            \"go-to-checkout\": \"Pergi ke daftar keluar\",\n            \"start-shopping\": \"Mulakan membeli-belah\",\n            \"your-cart\": \"Troli anda dari\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Alamat e-mel tidak sah\",\n              \"placeholder\": \"Sila masukkan alamat e-mel anda\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Semua negara\",\n              \"error-message\": \"Nombor telefon tidak sah\",\n              \"placeholder\": \"Sila masukkan nombor telefon anda\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"tutup\",\n                  \"remove\": \"Alih keluar\"\n                },\n                \"content\": \"Adakah anda pasti mahu mengalih keluar {item} daripada troli anda?\",\n                \"title\": \"Alih keluar item?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"tutup\",\n                  \"leave\": \"cuti\"\n                },\n                \"content\": \"Terdapat item dalam troli anda. Adakah anda pasti mahu meninggalkan kedai?\",\n                \"title\": \"Berhati-hati\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Sila pilih slot masa yang dikehendaki untuk pesanan anda\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Kami akan menghantar e-mel dengan pengesahan kepada:\"\n                },\n                \"options\": {\n                  \"call\": \"Panggil ke bilik\",\n                  \"email\": \"E-mel\",\n                  \"push\": \"Pemberitahuan tolak ke tablet bilik\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Kami akan menghantar mesej teks dengan pengesahan kepada:\"\n                },\n                \"title\": \"Bagaimana anda ingin menerima respons kami?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Klik di sini untuk menukar slot masa yang dipilih.\",\n                \"options\": {\n                  \"asap\": \"secepat mungkin\",\n                  \"later\": \"Nanti\"\n                },\n                \"schedule-time\": \"Jadualkan slot masa untuk pesanan anda.\",\n                \"title\": \"Bilakah anda mahu menerima pesanan anda?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Komen (pilihan)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Nama\",\n                    \"placeholder\": \"Sila masukkan nama penuh anda\"\n                  },\n                  \"room\": {\n                    \"label\": \"Nombor Bilik\",\n                    \"placeholder\": \"Sila masukkan nombor bilik anda\"\n                  }\n                },\n                \"title\": \"Lengkapkan butiran pesanan anda\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Pesanan anda telah berjaya dibuat. Kami akan menghubungi anda semula secepat mungkin.\",\n                \"title\": \"Terima kasih atas pesanan anda!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Kami minta maaf. Terdapat masalah semasa memproses pesanan anda. Sila hubungi pejabat hadapan kami untuk mendapatkan bantuan.\",\n                \"title\": \"Ralat berlaku\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Jumlah kecil\",\n                \"surcharge\": \"Surcaj\",\n                \"tax-included\": \"termasuk. VAT\",\n                \"total\": \"Jumlah\"\n              },\n              \"details\": {\n                \"comment\": \"Komen\",\n                \"confirmation-method\": \"Pemberitahuan\",\n                \"fulfillment-time\": \"Masa Pesanan\",\n                \"name\": \"Nama\",\n                \"room\": \"Nombor Bilik\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Item dalam Troli Anda\",\n                \"order-summary\": \"Ringkasan Pesanan\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Item} other {{count} Items}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Ketahui lebih lanjut tentang cara kami mengendalikan data anda.\",\n        \"message\": \"Maklumat hubungan anda disimpan untuk tujuan pemberitahuan sahaja. Ia akan dipadamkan selepas permintaan anda dipenuhi.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Perkhidmatan ini tersedia pada bila-bila masa pada hari ini.\",\n          \"asap-in-time-range\": \"Perkhidmatan ini tersedia antara {from} hingga {to} pada hari ini.\"\n        }\n      },\n      \"welcome-message\": \"Selamat datang ke\"\n    }\n  }], [\"nl\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Dichtbij\",\n        \"confirm-order\": \"Bevestig bestelling\",\n        \"continue\": \"Doorgaan\",\n        \"continue-browsing\": \"Doorgaan met bladeren\",\n        \"more-information\": \"Meer info\",\n        \"try-again\": \"Probeer het opnieuw\",\n        \"view-cart\": \"Bekijk winkelwagen\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Je winkelwagen is leeg\",\n            \"go-to-checkout\": \"Ga naar afrekenen\",\n            \"start-shopping\": \"Begin met winkelen\",\n            \"your-cart\": \"Uw winkelwagen van\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Ongeldig e-mailadres\",\n              \"placeholder\": \"Voer uw e-mailadres in\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Alle landen\",\n              \"error-message\": \"Ongeldig telefoonnummer\",\n              \"placeholder\": \"Voer uw telefoonnummer in\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Dichtbij\",\n                  \"remove\": \"Verwijderen\"\n                },\n                \"content\": \"Weet u zeker dat u {item} uit uw winkelwagen wilt verwijderen?\",\n                \"title\": \"Item verwijderen?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Dichtbij\",\n                  \"leave\": \"Vertrekken\"\n                },\n                \"content\": \"Er zitten artikelen in uw winkelwagen. Weet u zeker dat u de winkel wilt verlaten?\",\n                \"title\": \"Voorzichtigheid\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Selecteer een gewenst tijdslot voor uw bestelling\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Wij sturen een e-mail met een bevestiging naar:\"\n                },\n                \"options\": {\n                  \"call\": \"Bel naar kamer\",\n                  \"email\": \"E-mail\",\n                  \"push\": \"Pushmelding naar kamertablet\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Wij sturen een bevestigingsbericht naar:\"\n                },\n                \"title\": \"Hoe wilt u onze reactie ontvangen?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Klik hier om het geselecteerde tijdslot te wijzigen.\",\n                \"options\": {\n                  \"asap\": \"Zo spoedig mogelijk\",\n                  \"later\": \"Later\"\n                },\n                \"schedule-time\": \"Plan een tijdslot voor uw bestelling.\",\n                \"title\": \"Wanneer wilt u uw bestelling ontvangen?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Commentaar (optioneel)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Naam\",\n                    \"placeholder\": \"Vul uw volledige naam in\"\n                  },\n                  \"room\": {\n                    \"label\": \"Kamernummer\",\n                    \"placeholder\": \"Voer uw kamernummer in\"\n                  }\n                },\n                \"title\": \"Vul uw bestelgegevens in\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Uw bestelling is succesvol geplaatst. Wij nemen zo spoedig mogelijk contact met u op.\",\n                \"title\": \"Bedankt voor uw bestelling!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Het spijt ons. Er was een probleem bij het verwerken van uw bestelling. Neem contact op met onze receptie voor assistentie.\",\n                \"title\": \"Er is een fout opgetreden\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Subtotaal\",\n                \"surcharge\": \"Toeslag\",\n                \"tax-included\": \"incl. BTW\",\n                \"total\": \"Totaal\"\n              },\n              \"details\": {\n                \"comment\": \"Opmerking\",\n                \"confirmation-method\": \"Kennisgeving\",\n                \"fulfillment-time\": \"Besteltijd\",\n                \"name\": \"Naam\",\n                \"room\": \"Kamernummer\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Artikelen in uw winkelwagen\",\n                \"order-summary\": \"Samenvatting van de bestelling\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Item} other {{count} Items}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Lees meer over hoe wij met uw gegevens omgaan.\",\n        \"message\": \"Uw contactgegevens worden alleen bewaard voor notificatiedoeleinden. Deze worden verwijderd nadat uw verzoek is uitgevoerd.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Deze service is vandaag op elk moment beschikbaar.\",\n          \"asap-in-time-range\": \"Deze service is vandaag beschikbaar tussen {from} en {to}.\"\n        }\n      },\n      \"welcome-message\": \"Welkom in\"\n    }\n  }], [\"pt\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Fechar\",\n        \"confirm-order\": \"Confirmar pedido\",\n        \"continue\": \"Continuar\",\n        \"continue-browsing\": \"Continuar navegando\",\n        \"more-information\": \"Mais info\",\n        \"try-again\": \"Tentar novamente\",\n        \"view-cart\": \"Ver carrinho de compras\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Seu carrinho está vazio\",\n            \"go-to-checkout\": \"Ir para o checkout\",\n            \"start-shopping\": \"Comece a comprar\",\n            \"your-cart\": \"Seu carrinho de\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Endereço de e-mail inválido\",\n              \"placeholder\": \"Por favor, insira seu endereço de e-mail\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Todos os países\",\n              \"error-message\": \"Número de telefone inválido\",\n              \"placeholder\": \"Por favor, insira seu número de telefone\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Fechar\",\n                  \"remove\": \"Remover\"\n                },\n                \"content\": \"Tem certeza de que deseja remover {item} do seu carrinho?\",\n                \"title\": \"Remover item?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Fechar\",\n                  \"leave\": \"Deixar\"\n                },\n                \"content\": \"Há itens no seu carrinho. Tem certeza de que deseja sair da loja?\",\n                \"title\": \"Cuidado\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Selecione um intervalo de tempo desejado para seu pedido\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Enviaremos um e-mail com a confirmação para:\"\n                },\n                \"options\": {\n                  \"call\": \"Chamada para o quarto\",\n                  \"email\": \"E-mail\",\n                  \"push\": \"Notificação push para tablet da sala\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Enviaremos uma mensagem de texto com a confirmação para:\"\n                },\n                \"title\": \"Como você gostaria de receber nossa resposta?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Clique aqui para alterar o horário selecionado.\",\n                \"options\": {\n                  \"asap\": \"O mais breve possível\",\n                  \"later\": \"Mais tarde\"\n                },\n                \"schedule-time\": \"Agende um horário para seu pedido.\",\n                \"title\": \"Quando você gostaria de receber seu pedido?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Comentário (opcional)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Nome\",\n                    \"placeholder\": \"Por favor, insira seu nome completo\"\n                  },\n                  \"room\": {\n                    \"label\": \"Número do quarto\",\n                    \"placeholder\": \"Por favor, insira o número do seu quarto\"\n                  }\n                },\n                \"title\": \"Complete os detalhes do seu pedido\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Seu pedido foi feito com sucesso. Entraremos em contato com você o mais breve possível.\",\n                \"title\": \"Obrigado pelo seu pedido!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Lamentamos. Houve um problema ao processar seu pedido. Entre em contato com nossa recepção para obter assistência.\",\n                \"title\": \"Ocorreu um erro\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Subtotal\",\n                \"surcharge\": \"Sobretaxa\",\n                \"tax-included\": \"incluindo IVA\",\n                \"total\": \"Total\"\n              },\n              \"details\": {\n                \"comment\": \"Comentário\",\n                \"confirmation-method\": \"Notificação\",\n                \"fulfillment-time\": \"Tempo de pedido\",\n                \"name\": \"Nome\",\n                \"room\": \"Número do quarto\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Itens no seu carrinho\",\n                \"order-summary\": \"Resumo do pedido\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Item} other {{count} Items}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Saiba mais sobre como lidamos com seus dados.\",\n        \"message\": \"Suas informações de contato são retidas apenas para fins de notificação. Elas serão apagadas após sua solicitação ser atendida.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Este serviço está disponível a qualquer momento hoje\",\n          \"asap-in-time-range\": \"Este serviço está disponível todos os dias das {from}h às {to}h\"\n        }\n      },\n      \"welcome-message\": \"Bem-vindo(a) ao\"\n    }\n  }], [\"ro\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Aproape\",\n        \"confirm-order\": \"Confirmați comanda\",\n        \"continue\": \"Continua\",\n        \"continue-browsing\": \"Continuați navigarea\",\n        \"more-information\": \"Informații suplimentare\",\n        \"try-again\": \"Încearcă din nou\",\n        \"view-cart\": \"Vezi Coșul de cumpărături\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Coșul tău este gol\",\n            \"go-to-checkout\": \"Mergeți la casă\",\n            \"start-shopping\": \"Începeți cumpărăturile\",\n            \"your-cart\": \"Coșul dvs. de la\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Adresă de e-mail nevalidă\",\n              \"placeholder\": \"Vă rugăm să introduceți adresa dvs. de e-mail\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Toate țările\",\n              \"error-message\": \"Număr de telefon nevalid\",\n              \"placeholder\": \"Vă rugăm să introduceți numărul dvs. de telefon\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Aproape\",\n                  \"remove\": \"Elimina\"\n                },\n                \"content\": \"Sigur doriți să eliminați {item} din coș?\",\n                \"title\": \"Eliminați elementul?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Aproape\",\n                  \"leave\": \"Pleacă\"\n                },\n                \"content\": \"Există articole în coșul dvs. Ești sigur că vrei să părăsești magazinul?\",\n                \"title\": \"Atenţie\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Vă rugăm să selectați intervalul de timp dorit pentru comanda dvs\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Vom trimite un e-mail cu confirmare la:\"\n                },\n                \"options\": {\n                  \"call\": \"Sună în cameră\",\n                  \"email\": \"E-mail\",\n                  \"push\": \"Împingeți notificarea către tableta din cameră\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Vom trimite un mesaj text cu confirmare la:\"\n                },\n                \"title\": \"Cum ați dori să primiți răspunsul nostru?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Faceți clic aici pentru a schimba intervalul de timp selectat.\",\n                \"options\": {\n                  \"asap\": \"Cât mai repede posibil\",\n                  \"later\": \"Mai târziu\"\n                },\n                \"schedule-time\": \"Programați un interval orar pentru comanda dvs.\",\n                \"title\": \"Când doriți să primiți comanda?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Comentariu (opțional)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Nume\",\n                    \"placeholder\": \"Vă rugăm să introduceți numele dvs. complet\"\n                  },\n                  \"room\": {\n                    \"label\": \"Numărul camerei\",\n                    \"placeholder\": \"Vă rugăm să introduceți numărul camerei dvs\"\n                  }\n                },\n                \"title\": \"Completați detaliile comenzii dvs\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Comanda dvs. a fost plasată cu succes. Vă vom reveni cât mai curând posibil.\",\n                \"title\": \"Vă mulțumim pentru comandă!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Ne pare rău. A apărut o problemă la procesarea comenzii dvs. Vă rugăm să contactați biroul nostru pentru asistență.\",\n                \"title\": \"A apărut o eroare\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Subtotal\",\n                \"surcharge\": \"Suplimentar\",\n                \"tax-included\": \"incl. CUVĂ\",\n                \"total\": \"Total\"\n              },\n              \"details\": {\n                \"comment\": \"Comentariu\",\n                \"confirmation-method\": \"Notificare\",\n                \"fulfillment-time\": \"Ora Comenzii\",\n                \"name\": \"Nume\",\n                \"room\": \"Numărul camerei\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Articole din coșul dvs\",\n                \"order-summary\": \"Rezumatul comenzii\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Element} other {{count} Elemente}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Aflați mai multe despre cum vă gestionăm datele.\",\n        \"message\": \"Informațiile dvs. de contact sunt păstrate numai în scopuri de notificare. Acesta va fi șters după ce solicitarea dvs. a fost îndeplinită.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Acest serviciu este disponibil oricând astăzi.\",\n          \"asap-in-time-range\": \"Acest serviciu este disponibil între {from} și {to} astăzi.\"\n        }\n      },\n      \"welcome-message\": \"Bine ați venit la\"\n    }\n  }], [\"ru\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Закрывать\",\n        \"confirm-order\": \"Подтвердить заказ\",\n        \"continue\": \"Продолжать\",\n        \"continue-browsing\": \"Продолжить просмотр\",\n        \"more-information\": \"Подробнее\",\n        \"try-again\": \"Попробуйте еще раз\",\n        \"view-cart\": \"Просмотреть корзину\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Ваша корзина пуста\",\n            \"go-to-checkout\": \"Перейти к оформлению заказа\",\n            \"start-shopping\": \"Начать покупки\",\n            \"your-cart\": \"Ваша корзина из\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Неверный адрес электронной почты\",\n              \"placeholder\": \"Пожалуйста, введите ваш адрес электронной почты\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Все страны\",\n              \"error-message\": \"Неверный номер телефона\",\n              \"placeholder\": \"Пожалуйста, введите ваш номер телефона\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Закрывать\",\n                  \"remove\": \"Удалять\"\n                },\n                \"content\": \"Вы уверены, что хотите удалить {item} из корзины?\",\n                \"title\": \"Удалить элемент?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Закрывать\",\n                  \"leave\": \"Оставлять\"\n                },\n                \"content\": \"В вашей корзине есть товары. Вы уверены, что хотите покинуть магазин?\",\n                \"title\": \"Осторожность\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Пожалуйста, выберите желаемый временной интервал для вашего заказа\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Мы отправим электронное письмо с подтверждением на адрес:\"\n                },\n                \"options\": {\n                  \"call\": \"Звонок в номер\",\n                  \"email\": \"Электронная почта\",\n                  \"push\": \"Push-уведомление на планшет в номере\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Мы отправим текстовое сообщение с подтверждением на адрес:\"\n                },\n                \"title\": \"Какой ответ вы хотели бы получить?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Нажмите здесь, чтобы изменить выбранный временной интервал.\",\n                \"options\": {\n                  \"asap\": \"Как можно скорее\",\n                  \"later\": \"Позже\"\n                },\n                \"schedule-time\": \"Запланируйте временной интервал для вашего заказа.\",\n                \"title\": \"Когда бы вы хотели получить свой заказ?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Комментарий (необязательно)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Имя\",\n                    \"placeholder\": \"Введите ваше полное имя\"\n                  },\n                  \"room\": {\n                    \"label\": \"Номер комнаты\",\n                    \"placeholder\": \"Пожалуйста, введите номер вашей комнаты\"\n                  }\n                },\n                \"title\": \"Заполните данные вашего заказа\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Ваш заказ успешно оформлен. Мы свяжемся с вами как можно скорее.\",\n                \"title\": \"Спасибо за ваш заказ!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Извините. Возникла проблема при обработке вашего заказа. Пожалуйста, свяжитесь с нашим фронт-офисом для получения помощи.\",\n                \"title\": \"Произошла ошибка\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Промежуточный итог\",\n                \"surcharge\": \"Доплата\",\n                \"tax-included\": \"включая НДС\",\n                \"total\": \"Общий\"\n              },\n              \"details\": {\n                \"comment\": \"Комментарий\",\n                \"confirmation-method\": \"Уведомление\",\n                \"fulfillment-time\": \"Время заказа\",\n                \"name\": \"Имя\",\n                \"room\": \"Номер комнаты\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Товары в вашей корзине\",\n                \"order-summary\": \"Резюме заказа\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Пункт} other {{count} Пункты}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Узнайте больше о том, как мы обрабатываем ваши данные.\",\n        \"message\": \"Ваша контактная информация сохраняется только для целей уведомления. Она будет удалена после выполнения вашего запроса.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Эта услуга доступна в любое время сегодня.\",\n          \"asap-in-time-range\": \"Эта услуга доступна с {from} до {to} сегодня.\"\n        }\n      },\n      \"welcome-message\": \"Добро пожаловать в\"\n    }\n  }], [\"sk\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Zavrieť\",\n        \"confirm-order\": \"Potvrdiť objednávku\",\n        \"continue\": \"Pokračovať\",\n        \"continue-browsing\": \"Pokračujte v prehliadaní\",\n        \"more-information\": \"Viac informácií\",\n        \"try-again\": \"Skúste znova\",\n        \"view-cart\": \"Zobraziť nákupný košík\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Váš košík je prázdny\",\n            \"go-to-checkout\": \"Prejdite k pokladni\",\n            \"start-shopping\": \"Začnite nakupovať\",\n            \"your-cart\": \"Váš košík z\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Neplatná e-mailová adresa\",\n              \"placeholder\": \"Zadajte svoju e-mailovú adresu\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Všetky krajiny\",\n              \"error-message\": \"Neplatné telefónne číslo\",\n              \"placeholder\": \"Zadajte svoje telefónne číslo\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Zavrieť\",\n                  \"remove\": \"Odstrániť\"\n                },\n                \"content\": \"Naozaj chcete odstrániť položku {item} z košíka?\",\n                \"title\": \"Odstrániť položku?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Zavrieť\",\n                  \"leave\": \"Odísť\"\n                },\n                \"content\": \"Vo vašom košíku sú položky. Naozaj chcete opustiť obchod?\",\n                \"title\": \"Pozor\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Vyberte požadovaný časový úsek pre svoju objednávku\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"E-mail s potvrdením pošleme na adresu:\"\n                },\n                \"options\": {\n                  \"call\": \"Zavolajte do izby\",\n                  \"email\": \"Email\",\n                  \"push\": \"Pošlite upozornenie do izbového tabletu\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"SMS správu s potvrdením pošleme na:\"\n                },\n                \"title\": \"Ako by ste chceli prijať našu odpoveď?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Kliknutím sem zmeníte vybraný časový úsek.\",\n                \"options\": {\n                  \"asap\": \"Čo najskôr\",\n                  \"later\": \"Neskôr\"\n                },\n                \"schedule-time\": \"Naplánujte si časový úsek pre vašu objednávku.\",\n                \"title\": \"Kedy by ste chceli dostať svoju objednávku?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Komentár (voliteľné)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Meno\",\n                    \"placeholder\": \"Zadajte svoje celé meno\"\n                  },\n                  \"room\": {\n                    \"label\": \"Číslo izby\",\n                    \"placeholder\": \"Zadajte číslo svojej izby\"\n                  }\n                },\n                \"title\": \"Vyplňte podrobnosti objednávky\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Vaša objednávka bola úspešne odoslaná. Čo najskôr sa vám ozveme.\",\n                \"title\": \"Ďakujeme za vašu objednávku!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Je nám to ľúto. Pri spracovaní vašej objednávky sa vyskytol problém. Ak potrebujete pomoc, kontaktujte našu front office.\",\n                \"title\": \"Vyskytla sa chyba\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Medzisúčet\",\n                \"surcharge\": \"Príplatok\",\n                \"tax-included\": \"vrátane DPH\",\n                \"total\": \"Celkom\"\n              },\n              \"details\": {\n                \"comment\": \"Komentujte\",\n                \"confirmation-method\": \"Oznámenie\",\n                \"fulfillment-time\": \"Čas objednávky\",\n                \"name\": \"Meno\",\n                \"room\": \"Číslo izby\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Položky vo vašom košíku\",\n                \"order-summary\": \"Zhrnutie objednávky\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Položka} other {{count} Položky}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Zistite viac o tom, ako nakladáme s vašimi údajmi.\",\n        \"message\": \"Vaše kontaktné údaje sa uchovávajú iba na účely oznamovania. Po splnení vašej požiadavky bude vymazaný.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Táto služba je dnes dostupná kedykoľvek.\",\n          \"asap-in-time-range\": \"Táto služba je dnes dostupná od {from} do {to}.\"\n        }\n      },\n      \"welcome-message\": \"Vitajte v\"\n    }\n  }], [\"sl\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Zapri\",\n        \"confirm-order\": \"Potrdite naročilo\",\n        \"continue\": \"Nadaljuj\",\n        \"continue-browsing\": \"Nadaljujte z brskanjem\",\n        \"more-information\": \"Več informacij\",\n        \"try-again\": \"Poskusi znova\",\n        \"view-cart\": \"Ogled nakupovalne košarice\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Vaša košarica je prazna\",\n            \"go-to-checkout\": \"Pojdi na blagajno\",\n            \"start-shopping\": \"Začni nakupovati\",\n            \"your-cart\": \"Vaš voziček iz\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Neveljaven e-poštni naslov\",\n              \"placeholder\": \"Prosimo, vnesite svoj e-poštni naslov\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Vse države\",\n              \"error-message\": \"Neveljavna telefonska številka\",\n              \"placeholder\": \"Vnesite svojo telefonsko številko\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Zapri\",\n                  \"remove\": \"Odstrani\"\n                },\n                \"content\": \"Ali ste prepričani, da želite odstraniti {item} iz vozička?\",\n                \"title\": \"Odstraniti element?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Zapri\",\n                  \"leave\": \"Pusti\"\n                },\n                \"content\": \"V vašem vozičku so izdelki. Ste prepričani, da želite zapustiti trgovino?\",\n                \"title\": \"Previdnost\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Prosimo izberite želeni termin za vaše naročilo\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Poslali vam bomo e-pošto s potrditvijo na:\"\n                },\n                \"options\": {\n                  \"call\": \"Pokliči v sobo\",\n                  \"email\": \"E-pošta\",\n                  \"push\": \"Potisno obvestilo na sobno tablico\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Poslali vam bomo besedilno sporočilo s potrditvijo na:\"\n                },\n                \"title\": \"Kako želite prejeti naš odgovor?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Kliknite tukaj, če želite spremeniti izbrani termin.\",\n                \"options\": {\n                  \"asap\": \"Čim prej\",\n                  \"later\": \"Kasneje\"\n                },\n                \"schedule-time\": \"Načrtujte termin za svoje naročilo.\",\n                \"title\": \"Kdaj želite prejeti naročilo?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Komentar (izbirno)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Ime\",\n                    \"placeholder\": \"Vnesite svoje polno ime\"\n                  },\n                  \"room\": {\n                    \"label\": \"Številka sobe\",\n                    \"placeholder\": \"Prosimo vnesite številko vaše sobe\"\n                  }\n                },\n                \"title\": \"Izpolnite podrobnosti naročila\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Vaše naročilo je bilo uspešno oddano. Odgovorili vam bomo takoj, ko bo mogoče.\",\n                \"title\": \"Hvala za naročilo!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Žal nam je. Pri obdelavi vašega naročila je prišlo do težave. Za pomoč se obrnite na našo recepcijo.\",\n                \"title\": \"Prišlo je do napake\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Vmesni seštevek\",\n                \"surcharge\": \"Doplačilo\",\n                \"tax-included\": \"vklj. DDV\",\n                \"total\": \"Skupaj\"\n              },\n              \"details\": {\n                \"comment\": \"Komentiraj\",\n                \"confirmation-method\": \"Obvestilo\",\n                \"fulfillment-time\": \"Čas naročila\",\n                \"name\": \"Ime\",\n                \"room\": \"Številka sobe\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Predmeti v vaši košarici\",\n                \"order-summary\": \"Povzetek naročila\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} element} other {{count} elementov}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Izvedite več o tem, kako ravnamo z vašimi podatki.\",\n        \"message\": \"Vaši kontaktni podatki se hranijo samo za obveščanje. Ko bo vaša zahteva izpolnjena, bo izbrisana.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Ta storitev je danes na voljo kadar koli.\",\n          \"asap-in-time-range\": \"This service is available between {from} and {to} today.\"\n        }\n      },\n      \"welcome-message\": \"Dobrodošli v\"\n    }\n  }], [\"sv\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Nära\",\n        \"confirm-order\": \"Bekräfta beställning\",\n        \"continue\": \"Fortsätta\",\n        \"continue-browsing\": \"Fortsätt surfa\",\n        \"more-information\": \"Mer information\",\n        \"try-again\": \"Försök igen\",\n        \"view-cart\": \"Se kundvagn\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Din varukorg är tom\",\n            \"go-to-checkout\": \"Gå till kassan\",\n            \"start-shopping\": \"Börja shoppa\",\n            \"your-cart\": \"Din vagn från\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Ogiltig e-postadress\",\n              \"placeholder\": \"Vänligen ange din e-postadress\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Alla länder\",\n              \"error-message\": \"Ogiltigt telefonnummer\",\n              \"placeholder\": \"Vänligen ange ditt telefonnummer\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Nära\",\n                  \"remove\": \"Ta bort\"\n                },\n                \"content\": \"Är du säker på att du vill ta bort {item} från din kundvagn?\",\n                \"title\": \"Vill du ta bort objektet?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Nära\",\n                  \"leave\": \"Lämna\"\n                },\n                \"content\": \"Det finns varor i din varukorg. Är du säker på att du vill lämna butiken?\",\n                \"title\": \"Försiktighet\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Vänligen välj önskad tid för din beställning\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Vi skickar ett mail med bekräftelse till:\"\n                },\n                \"options\": {\n                  \"call\": \"Ring till rummet\",\n                  \"email\": \"E-post\",\n                  \"push\": \"Push-avisering till surfplattan\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Vi skickar ett SMS med bekräftelse till:\"\n                },\n                \"title\": \"Hur vill du ta emot vårt svar?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Klicka här för att ändra den valda tidsluckan.\",\n                \"options\": {\n                  \"asap\": \"Så snart som möjligt\",\n                  \"later\": \"Senare\"\n                },\n                \"schedule-time\": \"Schemalägg en tid för din beställning.\",\n                \"title\": \"När vill du ta emot din beställning?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Kommentar (valfritt)\"\n                  },\n                  \"name\": {\n                    \"label\": \"Namn\",\n                    \"placeholder\": \"Vänligen ange ditt fullständiga namn\"\n                  },\n                  \"room\": {\n                    \"label\": \"Rumsnummer\",\n                    \"placeholder\": \"Vänligen ange ditt rumsnummer\"\n                  }\n                },\n                \"title\": \"Fyll i dina beställningsuppgifter\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Din beställning har genomförts. Vi återkommer till dig så snart som möjligt.\",\n                \"title\": \"Tack för din beställning!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Vi är ledsna. Det uppstod ett problem med att behandla din beställning. Kontakta vårt receptionskontor för hjälp.\",\n                \"title\": \"Ett fel uppstod\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Delsumma\",\n                \"surcharge\": \"Tilläggsavgift\",\n                \"tax-included\": \"inkl. MOMS\",\n                \"total\": \"Total\"\n              },\n              \"details\": {\n                \"comment\": \"Kommentar\",\n                \"confirmation-method\": \"Underrättelse\",\n                \"fulfillment-time\": \"Beställningstid\",\n                \"name\": \"Namn\",\n                \"room\": \"Rumsnummer\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Artiklar i din varukorg\",\n                \"order-summary\": \"Beställningssammanfattning\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Artikel} other {{count} Artiklar}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Läs mer om hur vi hanterar dina uppgifter.\",\n        \"message\": \"Din kontaktinformation sparas endast för meddelandeändamål. Den kommer att raderas efter att din begäran har uppfyllts.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Denna tjänst finns tillgänglig när som helst idag.\",\n          \"asap-in-time-range\": \"Denna tjänst finns tillgänglig mellan {from} och {to} idag.\"\n        }\n      },\n      \"welcome-message\": \"Välkommen till\"\n    }\n  }], [\"th\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"ปิด\",\n        \"confirm-order\": \"ยืนยันการสั่งซื้อ\",\n        \"continue\": \"ดำเนินการต่อ\",\n        \"continue-browsing\": \"เรียกดูต่อ\",\n        \"more-information\": \"ข้อมูลเพิ่มเติม\",\n        \"try-again\": \"ลองอีกครั้ง\",\n        \"view-cart\": \"ดูตะกร้าสินค้า\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"รถเข็นของคุณว่างเปล่า\",\n            \"go-to-checkout\": \"ไปที่ชำระเงิน\",\n            \"start-shopping\": \"เริ่มต้นการช้อปปิ้ง\",\n            \"your-cart\": \"รถเข็นของคุณจาก\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"ที่อยู่อีเมล์ไม่ถูกต้อง\",\n              \"placeholder\": \"กรุณากรอกที่อยู่อีเมล์ของคุณ\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"ทุกประเทศ\",\n              \"error-message\": \"หมายเลขโทรศัพท์ไม่ถูกต้อง\",\n              \"placeholder\": \"กรุณากรอกเบอร์โทรศัพท์ของท่าน\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"ปิด\",\n                  \"remove\": \"ลบ\"\n                },\n                \"content\": \"คุณแน่ใจว่าต้องการลบ {item} ออกจากรถเข็นของคุณหรือไม่?\",\n                \"title\": \"ลบรายการ?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"ปิด\",\n                  \"leave\": \"ออกจาก\"\n                },\n                \"content\": \"มีสินค้าอยู่ในตะกร้าของคุณ คุณแน่ใจหรือไม่ว่าต้องการออกจากร้านค้า?\",\n                \"title\": \"คำเตือน\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"กรุณาเลือกช่วงเวลาที่ต้องการสั่งซื้อ\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"เราจะส่งอีเมลยืนยันไปที่:\"\n                },\n                \"options\": {\n                  \"call\": \"โทรเข้าห้อง\",\n                  \"email\": \"อีเมล\",\n                  \"push\": \"การแจ้งเตือนแบบพุชไปยังแท็บเล็ตห้อง\",\n                  \"sms\": \"ข้อความเอสเอ็มเอส\"\n                },\n                \"sms\": {\n                  \"description\": \"เราจะส่งข้อความยืนยันไปที่:\"\n                },\n                \"title\": \"คุณต้องการรับการตอบกลับของเราอย่างไร?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"คลิกที่นี่เพื่อเปลี่ยนช่วงเวลาที่เลือก\",\n                \"options\": {\n                  \"asap\": \"โดยเร็วที่สุด\",\n                  \"later\": \"ภายหลัง\"\n                },\n                \"schedule-time\": \"กำหนดเวลาสำหรับการสั่งซื้อของคุณ\",\n                \"title\": \"คุณต้องการรับคำสั่งซื้อของคุณเมื่อใด?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"ความคิดเห็น (ไม่บังคับ)\"\n                  },\n                  \"name\": {\n                    \"label\": \"ชื่อ\",\n                    \"placeholder\": \"กรุณากรอกชื่อ-นามสกุลของคุณ\"\n                  },\n                  \"room\": {\n                    \"label\": \"หมายเลขห้อง\",\n                    \"placeholder\": \"กรุณากรอกหมายเลขห้องของคุณ\"\n                  }\n                },\n                \"title\": \"กรอกรายละเอียดการสั่งซื้อของคุณให้ครบถ้วน\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"การสั่งซื้อของคุณสำเร็จแล้ว เราจะติดต่อกลับโดยเร็วที่สุด\",\n                \"title\": \"ขอบคุณสำหรับการสั่งซื้อของคุณ!\"\n              },\n              \"error\": {\n                \"subtitle\": \"ขออภัย มีปัญหาในการประมวลผลคำสั่งซื้อของคุณ โปรดติดต่อสำนักงานของเราเพื่อขอความช่วยเหลือ\",\n                \"title\": \"เกิดข้อผิดพลาด\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"ยอดรวมย่อย\",\n                \"surcharge\": \"ค่าธรรมเนียมเพิ่มเติม\",\n                \"tax-included\": \"รวมภาษีมูลค่าเพิ่ม\",\n                \"total\": \"ทั้งหมด\"\n              },\n              \"details\": {\n                \"comment\": \"ความคิดเห็น\",\n                \"confirmation-method\": \"การแจ้งเตือน\",\n                \"fulfillment-time\": \"เวลาสั่งซื้อ\",\n                \"name\": \"ชื่อ\",\n                \"room\": \"หมายเลขห้อง\"\n              },\n              \"headlines\": {\n                \"order-items\": \"รายการในรถเข็นของคุณ\",\n                \"order-summary\": \"สรุปการสั่งซื้อ\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} รายการ} other {{count} รายการ}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"เรียนรู้เพิ่มเติมเกี่ยวกับวิธีการที่เราจัดการข้อมูลของคุณ\",\n        \"message\": \"ข้อมูลการติดต่อของคุณจะถูกเก็บไว้เพื่อจุดประสงค์ในการแจ้งเตือนเท่านั้น ข้อมูลดังกล่าวจะถูกลบออกหลังจากคำขอของคุณได้รับการดำเนินการแล้ว\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"บริการนี้สามารถใช้ได้ตลอดเวลาของวันนี้\",\n          \"asap-in-time-range\": \"บริการนี้สามารถใช้ได้ระหว่าง {from} ถึง {to} ของวันนี้\"\n        }\n      },\n      \"welcome-message\": \"ยินดีต้อนรับสู่\"\n    }\n  }], [\"tr\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"Kapalı\",\n        \"confirm-order\": \"Siparişi Onayla\",\n        \"continue\": \"Devam etmek\",\n        \"continue-browsing\": \"Göz atmaya devam et\",\n        \"more-information\": \"Daha Fazla Bilgi\",\n        \"try-again\": \"Tekrar deneyin\",\n        \"view-cart\": \"Alışveriş Sepetini Görüntüle\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"Sepetiniz boş\",\n            \"go-to-checkout\": \"Ödeme sayfasına git\",\n            \"start-shopping\": \"Alışverişe başla\",\n            \"your-cart\": \"Sepetinizden\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"Geçersiz e-posta adresi\",\n              \"placeholder\": \"Lütfen e-posta adresinizi giriniz\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"Tüm ülkeler\",\n              \"error-message\": \"Geçersiz telefon numarası\",\n              \"placeholder\": \"Lütfen telefon numaranızı giriniz\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"Kapalı\",\n                  \"remove\": \"Kaldırmak\"\n                },\n                \"content\": \"{item} ürününü sepetinizden kaldırmak istediğinizden emin misiniz?\",\n                \"title\": \"Öğeyi kaldır?\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"Kapalı\",\n                  \"leave\": \"Ayrılmak\"\n                },\n                \"content\": \"Sepetinizde ürün var. Mağazadan ayrılmak istediğinize emin misiniz?\",\n                \"title\": \"Dikkat\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"Lütfen siparişiniz için istediğiniz zaman aralığını seçin\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"Onay içeren bir e-postayı şu adrese göndereceğiz:\"\n                },\n                \"options\": {\n                  \"call\": \"Odaya çağrı\",\n                  \"email\": \"E-posta\",\n                  \"push\": \"Oda tabletine bildirim gönder\",\n                  \"sms\": \"SMS\"\n                },\n                \"sms\": {\n                  \"description\": \"Onay içeren bir kısa mesaj göndereceğiz:\"\n                },\n                \"title\": \"Cevabımızı nasıl almak istersiniz?\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"Seçtiğiniz zaman aralığını değiştirmek için buraya tıklayın.\",\n                \"options\": {\n                  \"asap\": \"Mümkün olan en kısa sürede\",\n                  \"later\": \"Daha sonra\"\n                },\n                \"schedule-time\": \"Siparişiniz için bir zaman aralığı belirleyin.\",\n                \"title\": \"Siparişinizi ne zaman teslim almak istersiniz?\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"Yorum (isteğe bağlı)\"\n                  },\n                  \"name\": {\n                    \"label\": \"İsim\",\n                    \"placeholder\": \"Lütfen tam adınızı giriniz\"\n                  },\n                  \"room\": {\n                    \"label\": \"Oda Numarası\",\n                    \"placeholder\": \"Lütfen oda numaranızı giriniz\"\n                  }\n                },\n                \"title\": \"Sipariş bilgilerinizi tamamlayın\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"Siparişiniz başarıyla iletildi. En kısa sürede size geri dönüş yapacağız.\",\n                \"title\": \"Siparişiniz için teşekkür ederiz!\"\n              },\n              \"error\": {\n                \"subtitle\": \"Üzgünüz. Siparişiniz işlenirken bir sorun oluştu. Lütfen yardım için ön ofisimizle iletişime geçin.\",\n                \"title\": \"Bir hata oluştu\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"Ara toplam\",\n                \"surcharge\": \"Ek ücret\",\n                \"tax-included\": \"KDV dahil\",\n                \"total\": \"Toplam\"\n              },\n              \"details\": {\n                \"comment\": \"Yorum\",\n                \"confirmation-method\": \"Bildiri\",\n                \"fulfillment-time\": \"Sipariş Zamanı\",\n                \"name\": \"İsim\",\n                \"room\": \"Oda Numarası\"\n              },\n              \"headlines\": {\n                \"order-items\": \"Sepetinizdeki Ürünler\",\n                \"order-summary\": \"Sipariş Özeti\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} Öğe} other {{count} Öğe}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"Verilerinizi nasıl işlediğimiz hakkında daha fazla bilgi edinin.\",\n        \"message\": \"İletişim bilgileriniz yalnızca bildirim amaçları için saklanır. Talebiniz yerine getirildikten sonra silinecektir.\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"Bu hizmet bugün herhangi bir zamanda kullanılabilir.\",\n          \"asap-in-time-range\": \"Bu hizmet bugün {from} ve {to} arasında mevcuttur.\"\n        }\n      },\n      \"welcome-message\": \"Hoş geldiniz\"\n    }\n  }], [\"zh\", {\n    \"byod\": {\n      \"buttons\": {\n        \"close\": \"关闭\",\n        \"confirm-order\": \"确认订单\",\n        \"continue\": \"继续\",\n        \"continue-browsing\": \"继续浏览\",\n        \"more-information\": \"更多信息\",\n        \"try-again\": \"再试一次\",\n        \"view-cart\": \"查看购物车\"\n      },\n      \"components\": {\n        \"shop\": {\n          \"cart\": {\n            \"empty\": \"您的购物车是空的\",\n            \"go-to-checkout\": \"前往结账\",\n            \"start-shopping\": \"开始购物\",\n            \"your-cart\": \"您的购物车来自\"\n          },\n          \"inputs\": {\n            \"email-input\": {\n              \"error-message\": \"电子邮件地址无效\",\n              \"placeholder\": \"请输入您的电子邮件地址\"\n            },\n            \"phone-input\": {\n              \"all-countries\": \"所有国家\",\n              \"error-message\": \"电话号码无效\",\n              \"placeholder\": \"请输入您的电话号码\"\n            }\n          },\n          \"modals\": {\n            \"confirmation\": {\n              \"item-removal\": {\n                \"buttons\": {\n                  \"close\": \"关闭\",\n                  \"remove\": \"消除\"\n                },\n                \"content\": \"您确定要从购物车中移除{item}吗？\",\n                \"title\": \"移除項目？\"\n              },\n              \"leave-alert\": {\n                \"buttons\": {\n                  \"close\": \"关闭\",\n                  \"leave\": \"离开\"\n                },\n                \"content\": \"您的购物车中有商品。您确定要离开商店吗？\",\n                \"title\": \"警告\"\n              }\n            },\n            \"datetime-selection\": {\n              \"title\": \"请选择您订购的时间段\"\n            }\n          },\n          \"order\": {\n            \"checkout\": {\n              \"confirmation-method\": {\n                \"email\": {\n                  \"description\": \"我们将发送一封确认电子邮件至：\"\n                },\n                \"options\": {\n                  \"call\": \"打电话到房间\",\n                  \"email\": \"电子邮件\",\n                  \"push\": \"将通知推送至房间平板电脑\",\n                  \"sms\": \"短信\"\n                },\n                \"sms\": {\n                  \"description\": \"我们将发送确认短信至：\"\n                },\n                \"title\": \"您希望如何收到我们的回复？\"\n              },\n              \"fulfillment-time\": {\n                \"change-time\": \"单击此处更改选定的时间段。\",\n                \"options\": {\n                  \"asap\": \"尽快地\",\n                  \"later\": \"之后\"\n                },\n                \"schedule-time\": \"为您的订单安排一个时间段。\",\n                \"title\": \"您希望何时收到订单？\"\n              },\n              \"guest-details\": {\n                \"inputs\": {\n                  \"comment\": {\n                    \"label\": \"评论（可选）\"\n                  },\n                  \"name\": {\n                    \"label\": \"姓名\",\n                    \"placeholder\": \"请输入您的全名\"\n                  },\n                  \"room\": {\n                    \"label\": \"房间号码\",\n                    \"placeholder\": \"请输入您的房间号\"\n                  }\n                },\n                \"title\": \"填写订单详情\"\n              }\n            },\n            \"result\": {\n              \"confirmation\": {\n                \"subtitle\": \"您的订单已成功下单。我们将尽快回复您。\",\n                \"title\": \"感谢您的订购！\"\n              },\n              \"error\": {\n                \"subtitle\": \"很抱歉。处理您的订单时出现问题。请联系我们的前台寻求帮助。\",\n                \"title\": \"发生错误\"\n              }\n            },\n            \"summary\": {\n              \"cost\": {\n                \"subtotal\": \"小计\",\n                \"surcharge\": \"附加费\",\n                \"tax-included\": \"含增值税\",\n                \"total\": \"全部的\"\n              },\n              \"details\": {\n                \"comment\": \"评论\",\n                \"confirmation-method\": \"通知\",\n                \"fulfillment-time\": \"下单时间\",\n                \"name\": \"姓名\",\n                \"room\": \"房间号码\"\n              },\n              \"headlines\": {\n                \"order-items\": \"购物车中的商品\",\n                \"order-summary\": \"订单摘要\"\n              },\n              \"item-list\": {\n                \"item-quantity\": \"{count, plural, =1 {{count} 件商品} other {{count} 件商品}}\"\n              }\n            }\n          }\n        }\n      },\n      \"data-privacy\": {\n        \"link-text\": \"了解更多关于我们如何处理您的数据。\",\n        \"message\": \"您的联系信息仅用于通知目的。您的请求完成后，该信息将被删除。\"\n      },\n      \"utils\": {\n        \"asap-annotation\": {\n          \"asap-available-round-the-clock\": \"此服务今日全天候提供。\",\n          \"asap-in-time-range\": \"此服务今日提供时间为 {from} 到 {to}。\"\n        }\n      },\n      \"welcome-message\": \"欢迎来到\"\n    }\n  }]];\n});","define(\"ember-load-initializers/index\", [\"exports\", \"require\"], function (_exports, _require) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = loadInitializers;\n  function resolveInitializer(moduleName) {\n    var module = (0, _require.default)(moduleName, null, null, true);\n    if (!module) {\n      throw new Error(moduleName + ' must export an initializer.');\n    }\n    var initializer = module['default'];\n    if (!initializer) {\n      throw new Error(moduleName + ' must have a default export');\n    }\n    if (!initializer.name) {\n      initializer.name = moduleName.slice(moduleName.lastIndexOf('/') + 1);\n    }\n    return initializer;\n  }\n  function registerInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.initializer(resolveInitializer(moduleNames[i]));\n    }\n  }\n  function registerInstanceInitializers(app, moduleNames) {\n    for (var i = 0; i < moduleNames.length; i++) {\n      app.instanceInitializer(resolveInitializer(moduleNames[i]));\n    }\n  }\n  function _endsWith(str, suffix) {\n    return str.indexOf(suffix, str.length - suffix.length) !== -1;\n  }\n\n  /**\n   * Configure your application as it boots\n   */\n  function loadInitializers(app, prefix) {\n    var initializerPrefix = prefix + '/initializers/';\n    var instanceInitializerPrefix = prefix + '/instance-initializers/';\n    var initializers = [];\n    var instanceInitializers = [];\n    // this is 2 pass because generally the first pass is the problem\n    // and is reduced, and resolveInitializer has potential to deopt\n    var moduleNames = Object.keys(requirejs._eak_seen);\n    for (var i = 0; i < moduleNames.length; i++) {\n      var moduleName = moduleNames[i];\n      if (moduleName.lastIndexOf(initializerPrefix, 0) === 0) {\n        if (!_endsWith(moduleName, '-test')) {\n          initializers.push(moduleName);\n        }\n      } else if (moduleName.lastIndexOf(instanceInitializerPrefix, 0) === 0) {\n        if (!_endsWith(moduleName, '-test')) {\n          instanceInitializers.push(moduleName);\n        }\n      }\n    }\n    registerInitializers(app, initializers);\n    registerInstanceInitializers(app, instanceInitializers);\n  }\n});","define(\"ember-metrics/-private/utils/object-transforms\", [\"exports\", \"@ember/utils\"], function (_exports, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.compact = compact;\n  _exports.default = void 0;\n  _exports.hasOwnProperties = hasOwnProperties;\n  _exports.without = without;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  /**\n   * Present config options\n   * @see {@link https://api.emberjs.com/ember/3.28/functions/@ember%2Futils/isPresent|isPresent}\n   * @param {Options} opts\n   * @returns {Options}\n   */\n  function compact(opts) {\n    return includeKeys(opts, key => (0, _utils.isPresent)(opts[key]));\n  }\n\n  /**\n   * Config options without `excludedKeys`\n   * @param {Options} opts\n   * @param {string[]} excludedKeys\n   * @returns {Options}\n   */\n  function without(opts, excludedKeys) {\n    return includeKeys(opts, key => !excludedKeys.includes(key));\n  }\n\n  /**\n   * Config options with allowed keys\n   * @param {Options} opts\n   * @param {(key:string) => boolean} include\n   * @returns {Options}\n   */\n  function includeKeys(opts, include) {\n    const newOpts = {};\n    for (const key in opts) {\n      if (include(key)) newOpts[key] = opts[key];\n    }\n    return newOpts;\n  }\n\n  /**\n   * Check if given object has any own properties\n   * @param {Record<string,unknown>} obj\n   * @returns {boolean}\n   */\n  function hasOwnProperties(obj) {\n    return Object.getOwnPropertyNames(obj).length > 0;\n  }\n  var _default = _exports.default = {\n    compact,\n    without,\n    hasOwnProperties\n  };\n});","define(\"ember-metrics/-private/utils/remove-from-dom\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = removeFromDOM;\n  0; //eaimeta@70e063a35619d71feaimeta@70e063a35619d71f\n  /**\n   * Remove scripts defined by selectors from DOM.\n   *\n   * @param selectors One or more DOM selectors to match against.\n   */\n  function removeFromDOM(selectors) {\n    document.querySelectorAll(selectors).forEach(el => {\n      el.parentElement?.removeChild(el);\n    });\n  }\n});","define(\"ember-metrics/metrics-adapters/base\", [\"exports\", \"@ember/debug\", \"@ember/object/internals\", \"@ember/utils\"], function (_exports, _debug, _internals, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"@ember/object/internals\",0,\"@ember/utils\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function makeToString(ret) {\n    return () => ret;\n  }\n  class BaseAdapter {\n    constructor(config) {\n      _defineProperty(this, \"metrics\", null);\n      _defineProperty(this, \"config\", null);\n      this.config = config;\n    }\n    install() {\n      (false && !(false) && (0, _debug.assert)(`[ember-metrics] ${this.toString()} must implement the install hook!`));\n    }\n    uninstall() {\n      (false && !(false) && (0, _debug.assert)(`[ember-metrics] ${this.toString()} must implement the uninstall hook!`));\n    }\n    toString() {\n      const hasToStringExtension = (0, _utils.typeOf)(this.toStringExtension) === 'function';\n      const extension = hasToStringExtension ? ':' + this.toStringExtension() : '';\n      const ret = `ember-metrics@metrics-adapter:${extension}:${(0, _internals.guidFor)(this)}`;\n      this.toString = makeToString(ret);\n      return ret;\n    }\n    identify() {}\n    trackEvent() {}\n    trackPage() {}\n    alias() {}\n  }\n  _exports.default = BaseAdapter;\n  _defineProperty(BaseAdapter, \"supportsFastBoot\", false);\n});","define(\"ember-metrics/metrics-adapters/google-analytics-four\", [\"exports\", \"@ember/debug\", \"ember-metrics/-private/utils/object-transforms\", \"ember-metrics/-private/utils/remove-from-dom\", \"ember-metrics/metrics-adapters/base\"], function (_exports, _debug, _objectTransforms, _removeFromDom, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/debug\",0,\"ember-metrics/-private/utils/object-transforms\",0,\"ember-metrics/-private/utils/remove-from-dom\",0,\"ember-metrics/metrics-adapters/base\"eaimeta@70e063a35619d71f\n  class GoogleAnalyticsFour extends _base.default {\n    toStringExtension() {\n      return 'GoogleAnalyticsFour';\n    }\n    install() {\n      const {\n        id,\n        options\n      } = this.config;\n      (false && !(id) && (0, _debug.assert)(`[ember-metrics] You must pass a valid \\`id\\` to the ${this.toString()} adapter`, id));\n      this.options = {\n        send_page_view: true,\n        ...options\n      };\n      this._injectScript(id);\n      window.dataLayer = window.dataLayer || [];\n      this.gtag('js', new Date());\n      this.gtag('config', id, (0, _objectTransforms.compact)(this.options));\n    }\n    _injectScript(id) {\n      let script = document.createElement('script');\n      script.async = true;\n      script.src = `https://www.googletagmanager.com/gtag/js?id=${id}`;\n      document.head.appendChild(script);\n    }\n    gtag() {\n      window.dataLayer.push(arguments);\n      return arguments;\n    }\n    trackEvent(options = {}) {\n      const compactedOptions = (0, _objectTransforms.compact)(options);\n      const {\n        event\n      } = compactedOptions;\n      if (!event) {\n        return;\n      }\n      delete compactedOptions.event;\n      return this.gtag('event', event, compactedOptions);\n    }\n    trackPage(options = {}) {\n      if (this.options.send_page_view) {\n        return;\n      }\n      if (options?.page && !options?.page_location) {\n        options.page_location = options?.page;\n        delete options.page;\n      }\n      if (options?.title && !options?.page_title) {\n        options.page_title = options?.title;\n        delete options.title;\n      }\n      return this.trackEvent({\n        event: 'page_view',\n        ...options\n      });\n    }\n    uninstall() {\n      (0, _removeFromDom.default)('script[src*=\"gtag/js\"]');\n      delete window.dataLayer;\n    }\n  }\n  _exports.default = GoogleAnalyticsFour;\n});","define(\"ember-metrics/services/metrics\", [\"exports\", \"@ember/service\", \"@ember/debug\", \"@ember/string\", \"@ember/application\"], function (_exports, _service, _debug, _string, _application) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  0; //eaimeta@70e063a35619d71f0,\"@ember/service\",0,\"@ember/debug\",0,\"@ember/string\",0,\"@ember/application\"eaimeta@70e063a35619d71f\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Metrics extends _service.default {\n    /**\n     * When the Service is created, activate adapters that were specified in the\n     * configuration. This config is injected into the Service as `options`.\n     */\n    constructor() {\n      super(...arguments);\n      /**\n       * Cached adapters to reduce multiple expensive lookups.\n       *\n       * @property _adapters\n       * @private\n       * @type Object\n       * @default null\n       */\n      _defineProperty(this, \"_adapters\", {});\n      /**\n       * Contextual information attached to each call to an adapter. Often you'll\n       * want to include things like `currentUser.name` with every event or page\n       * view  that's tracked. Any properties that you bind to `metrics.context`\n       * will be merged into the options for every service call.\n       *\n       * @property context\n       * @type Object\n       * @default null\n       */\n      _defineProperty(this, \"context\", {});\n      /**\n       * Indicates whether calls to the service will be forwarded to the adapters.\n       * This is determined by investigating the user's doNotTrack settings.\n       *\n       * Note that the doNotTrack specification is deprecated, and could stop\n       * working at any minute. As such should this feature not be detected we\n       * presume tracking is permitted.\n       *\n       * @property enabled\n       * @type Boolean\n       */\n      _defineProperty(this, \"enabled\", typeof navigator !== 'undefined' && navigator.doNotTrack !== '1');\n      /**\n       * Environment the host application is running in (e.g. development or production).\n       */\n      _defineProperty(this, \"appEnvironment\", null);\n      const owner = (0, _application.getOwner)(this);\n      owner.registerOptionsForType('ember-metrics@metrics-adapter', {\n        instantiate: false\n      });\n      owner.registerOptionsForType('metrics-adapter', {\n        instantiate: false\n      });\n      const config = owner.factoryFor('config:environment').class;\n      const {\n        metricsAdapters = []\n      } = config;\n      const {\n        environment = 'development'\n      } = config;\n      this._options = {\n        metricsAdapters,\n        environment\n      };\n      this.appEnvironment = environment;\n      this.activateAdapters(metricsAdapters);\n    }\n\n    /**\n     * Instantiates adapters from passed adapter options and caches them for future retrieval.\n     *\n     * @method activateAdapters\n     * @param {Array} adapterOptions\n     * @return {Object} instantiated adapters\n     */\n    activateAdapters(adapterOptions = []) {\n      if (!this.enabled) {\n        return;\n      }\n      const adaptersForEnv = this._adaptersForEnv(adapterOptions);\n      const activeAdapters = {};\n      for (let {\n        name,\n        config\n      } of adaptersForEnv) {\n        let adapterClass = this._lookupAdapter(name);\n        if (typeof FastBoot === 'undefined' || adapterClass.supportsFastBoot) {\n          activeAdapters[name] = this._adapters[name] || this._activateAdapter({\n            adapterClass,\n            config\n          });\n        }\n      }\n      this._adapters = activeAdapters;\n      return this._adapters;\n    }\n\n    /**\n     * Returns all adapterOptions that should be activated in the current application environment.\n     * Defaults to all environments if the option is `all` or undefined.\n     *\n     * @method adaptersForEnv\n     * @param {Array} adapterOptions\n     * @private\n     * @return {Array} - adapter options in the current environment\n     */\n    _adaptersForEnv(adapterOptions = []) {\n      return adapterOptions.filter(({\n        environments = ['all']\n      }) => {\n        return environments.includes('all') || environments.includes(this.appEnvironment);\n      });\n    }\n\n    /**\n     * Looks up the adapter from the container. Prioritizes the consuming app's\n     * adapters over the addon's adapters.\n     *\n     * @method _lookupAdapter\n     * @param {String} adapterName\n     * @private\n     * @return {Adapter} a local adapter or an adapter from the addon\n     */\n    _lookupAdapter(adapterName) {\n      (false && !(adapterName) && (0, _debug.assert)('[ember-metrics] Could not find metrics adapter without a name.', adapterName));\n      const availableAdapter = (0, _application.getOwner)(this).lookup(`ember-metrics@metrics-adapter:${(0, _string.dasherize)(adapterName)}`);\n      const localAdapter = (0, _application.getOwner)(this).lookup(`metrics-adapter:${(0, _string.dasherize)(adapterName)}`);\n      const adapter = localAdapter || availableAdapter;\n      (false && !(adapter) && (0, _debug.assert)(`[ember-metrics] Could not find metrics adapter ${adapterName}.`, adapter));\n      return adapter;\n    }\n\n    /**\n     * Instantiates an adapter.\n     *\n     * @method _activateAdapter\n     * @param {Object}\n     * @private\n     * @return {Adapter}\n     */\n    _activateAdapter({\n      adapterClass,\n      config\n    }) {\n      const adapter = new adapterClass(config);\n      adapter.install();\n      return adapter;\n    }\n    identify() {\n      this.invoke('identify', ...arguments);\n    }\n    alias() {\n      this.invoke('alias', ...arguments);\n    }\n    trackEvent() {\n      this.invoke('trackEvent', ...arguments);\n    }\n    trackPage() {\n      this.invoke('trackPage', ...arguments);\n    }\n\n    /**\n     * Invokes a method on the passed adapter, or across all activated adapters if not passed.\n     *\n     * @method invoke\n     * @param {String} methodName\n     * @param {Rest} args\n     * @return {Void}\n     */\n    invoke(methodName, ...args) {\n      if (!this.enabled) {\n        return;\n      }\n      let selectedAdapterNames, options;\n      if (args.length > 1) {\n        selectedAdapterNames = makeArray(args[0]);\n        options = args[1];\n      } else {\n        selectedAdapterNames = Object.keys(this._adapters);\n        options = args[0];\n      }\n      for (let adapterName of selectedAdapterNames) {\n        let adapter = this._adapters[adapterName];\n        adapter && adapter[methodName]({\n          ...this.context,\n          ...options\n        });\n      }\n    }\n\n    /**\n     * On teardown, destroy cached adapters together with the Service.\n     *\n     * @method willDestroy\n     * @return {void}\n     */\n    willDestroy() {\n      Object.values(this._adapters).forEach(adapter => adapter.uninstall());\n    }\n  }\n  _exports.default = Metrics;\n  function makeArray(maybeArray) {\n    return Array.isArray(maybeArray) ? Array.from(maybeArray) : Array(maybeArray);\n  }\n});","define(\"ember-screen/breakpoint\", [\"exports\", \"@ember/object\"], function (_exports, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = breakpoint;\n  function breakpoint(mediaQuery) {\n    return (0, _object.computed)('width', 'win', function () {\n      return this.win.matchesMediaQuery(mediaQuery);\n    });\n  }\n});","define(\"ember-screen/index\", [\"exports\", \"ember-screen/services/screen\", \"ember-screen/breakpoint\"], function (_exports, _screen, _breakpoint) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"breakpoint\", {\n    enumerable: true,\n    get: function () {\n      return _breakpoint.default;\n    }\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _screen.default;\n});","define(\"ember-screen/services/screen\", [\"exports\", \"@ember/service\", \"ember-screen/window/browser\", \"ember-screen/window/null\", \"@glimmer/tracking\"], function (_exports, _service, _browser, _null, _tracking) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  /* globals FastBoot */\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const isFastBoot = typeof FastBoot !== 'undefined';\n  const WindowClass = isFastBoot ? _null.default : _browser.default;\n  let ScreenService = _exports.default = (_class = class ScreenService extends _service.default {\n    constructor() {\n      super(...arguments);\n      _initializerDefineProperty(this, \"width\", _descriptor, this);\n      _initializerDefineProperty(this, \"height\", _descriptor2, this);\n      this.win = new WindowClass();\n      this.win.onSizeUpdate(this.handleResize.bind(this));\n    }\n    willDestroy() {\n      this.win.teardown();\n    }\n    handleResize({\n      width,\n      height\n    }) {\n      this.width = width;\n      this.height = height;\n    }\n    stubMediaFeatures(features) {\n      this.win.stubMediaFeatures(features);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"width\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"height\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-screen/window/browser\", [\"exports\", \"css-mediaquery\"], function (_exports, _cssMediaquery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class _default {\n    constructor() {\n      this.listeners = [];\n      this.resizeListener = this._windowDidResize.bind(this);\n      this.stubbedMediaFeatures = false;\n      window.addEventListener('resize', this.resizeListener);\n    }\n    onSizeUpdate(listener) {\n      // Immediately call the listener to set initial size\n      listener(this.dimensions);\n      this.listeners.push(listener);\n    }\n    get dimensions() {\n      if (this.stubbedMediaFeatures) {\n        return {\n          width: this.stubbedMediaFeatures.width || window.innerWidth,\n          height: this.stubbedMediaFeatures.height || window.innerHeight\n        };\n      } else {\n        return {\n          width: window.innerWidth,\n          height: window.innerHeight\n        };\n      }\n    }\n    stubMediaFeatures(features) {\n      this.stubbedMediaFeatures = features;\n      this.resizeListener();\n    }\n    teardown() {\n      window.removeEventListener('resize', this.resizeListener);\n    }\n    matchesMediaQuery(query) {\n      if (this.stubbedMediaFeatures) {\n        return (0, _cssMediaquery.matchQuery)(query, this.stubbedMediaFeatures);\n      } else {\n        return window.matchMedia(query).matches;\n      }\n    }\n    _windowDidResize() {\n      this.listeners.forEach(l => l(this.dimensions));\n    }\n  }\n  _exports.default = _default;\n});","define(\"ember-screen/window/null\", [\"exports\", \"css-mediaquery\"], function (_exports, _cssMediaquery) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  const MOST_COMMON_SCREEN_SIZE = {\n    width: 1366,\n    height: 768,\n    type: 'screen'\n  };\n  class _default {\n    constructor() {\n      this.listeners = [];\n      this.stubbedMediaFeatures = MOST_COMMON_SCREEN_SIZE;\n    }\n    onSizeUpdate(listener) {\n      // Immediately call the listener to set initial size\n      listener(this.dimensions);\n      this.listeners.push(listener);\n    }\n    get dimensions() {\n      return {\n        width: this.stubbedMediaFeatures.width,\n        height: this.stubbedMediaFeatures.height\n      };\n    }\n    stubMediaFeatures(features) {\n      this.stubbedMediaFeatures = features;\n      this.listeners.forEach(l => l(this.dimensions));\n    }\n    teardown() {}\n    matchesMediaQuery(query) {\n      return (0, _cssMediaquery.matchQuery)(query, this.stubbedMediaFeatures);\n    }\n  }\n  _exports.default = _default;\n});","define(\"ember-statecharts/-private/resource\", [\"exports\", \"@ember/helper\", \"@ember/application\", \"@ember/destroyable\", \"@glimmer/tracking/primitives/cache\"], function (_exports, _helper, _application, _destroyable, _cache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Resource = void 0;\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  class Resource {\n    constructor(owner, args) {\n      _defineProperty(this, \"args\", void 0);\n      (0, _application.setOwner)(this, owner);\n      this.args = args;\n    }\n\n    // eslint-disable-next-line @typescript-eslint/no-empty-function\n    setup() {}\n  }\n  _exports.Resource = Resource;\n  class ResourceManager {\n    constructor(owner) {\n      _defineProperty(this, \"capabilities\", (0, _helper.capabilities)('3.23', {\n        hasValue: true,\n        hasDestroyable: true\n      }));\n      _defineProperty(this, \"owner\", void 0);\n      this.owner = owner;\n    }\n    createHelper(Class, args) {\n      const {\n        update,\n        teardown\n      } = Class.prototype;\n      const hasUpdate = typeof update === 'function';\n      const hasTeardown = typeof teardown === 'function';\n      const owner = this.owner;\n      let instance;\n      let cache;\n      if (hasUpdate) {\n        cache = (0, _cache.createCache)(() => {\n          if (instance === undefined) {\n            instance = setupInstance(cache, Class, owner, args, hasTeardown);\n          } else {\n            instance.update(args); // eslint-disable-line\n          }\n          return instance;\n        });\n      } else {\n        cache = (0, _cache.createCache)(() => {\n          if (instance !== undefined) {\n            (0, _destroyable.destroy)(instance);\n          }\n          instance = setupInstance(cache, Class, owner, args, hasTeardown);\n          return instance;\n        });\n      }\n      return cache;\n    }\n    getValue(cache) {\n      const instance = (0, _cache.getValue)(cache);\n      return instance;\n    }\n    getDestroyable(cache) {\n      return cache;\n    }\n\n    //eslint-disable-next-line\n    getDebugName(fn) {\n      return fn.name || '(anonymous function)';\n    }\n  }\n  function setupInstance(cache, Class, owner, args, hasTeardown) {\n    const instance = new Class(owner, args);\n    (0, _destroyable.associateDestroyableChild)(cache, instance);\n    instance.setup();\n    if (hasTeardown) {\n      (0, _destroyable.registerDestructor)(instance, () => instance.teardown()); // eslint-disable-line\n    }\n    return instance;\n  }\n  (0, _helper.setHelperManager)(owner => new ResourceManager(owner), Resource);\n});","define(\"ember-statecharts/-private/usables\", [\"exports\", \"ember-statecharts/-private/use-resource\", \"@glimmer/tracking\", \"xstate\", \"ember-statecharts/-private/resource\", \"@ember/debug\", \"@ember/runloop\"], function (_exports, _useResource, _tracking, _xstate, _resource, _debug, _runloop) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.Statechart = _exports.ARGS_STATE_CHANGE_WARNING = void 0;\n  _exports.useMachine = useMachine;\n  var _class, _descriptor, _descriptor2, _descriptor3;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const ARGS_STATE_CHANGE_WARNING = _exports.ARGS_STATE_CHANGE_WARNING = 'A change to passed `args` or a local state change triggered an update to a `useMachine`-usable. You can send a dedicated event to the machine or restart it so this is handled. This is done via the `.update`-hook of the `useMachine`-usable.';\n  /**\n   *\n   * A [resource](https://www.pzuraq.com/introducing-use/) that starts\n   * a [XState-interpreter](https://xstate.js.org/docs/guides/interpretation.html)\n   * when accessed and will allow handling args-updates when args change after\n   * the interpreter has started.\n   *\n   */\n  let Statechart = _exports.Statechart = (_class = class Statechart extends _resource.Resource {\n    constructor(owner, args) {\n      super(owner, args);\n      _initializerDefineProperty(this, \"service\", _descriptor, this);\n      _initializerDefineProperty(this, \"state\", _descriptor2, this);\n      _initializerDefineProperty(this, \"services\", _descriptor3, this);\n      const machine = args.named.machine;\n      const service = this._interpretMachine(machine, args.named.interpreterOptions);\n      this.service = service;\n      this.state = machine.initialState;\n    }\n    setup() {\n      const {\n        initialState\n      } = this.args.named;\n      this._start(initialState);\n    }\n    update(args) {\n      const {\n        named\n      } = args;\n      const {\n        update,\n        machine\n      } = named;\n      const {\n        _restart,\n        send\n      } = this;\n      if (update) {\n        update({\n          machine,\n          send: send.bind(this),\n          restart: _restart.bind(this, machine)\n        });\n      } else {\n        (false && (0, _debug.warn)(ARGS_STATE_CHANGE_WARNING, false, {\n          id: 'statecharts.use-machine.args-state-change'\n        }));\n      }\n    }\n    teardown() {\n      this.service.stop();\n    }\n    send(event, payload) {\n      this.service.send(event, payload);\n    }\n    _start(initialState) {\n      this.service.start(initialState).onTransition(state => {\n        this.state = state;\n      });\n      if (this.args.named.onTransition) {\n        this.service.onTransition(this.args.named.onTransition);\n      }\n    }\n    _interpretMachine(machine, opts) {\n      const service = (0, _xstate.interpret)(machine, opts);\n      return service;\n    }\n    _restart(machine, initialState) {\n      const newService = this._interpretMachine(machine);\n      this.service = newService;\n      this._start(initialState || this.args.named.initialState);\n      this._stopOldService();\n    }\n    _stopOldService() {\n      const oldService = this.services[this.services.length - 2];\n      if (oldService) {\n        oldService.stop();\n      }\n    }\n    _rememberInterpretedService(service) {\n      (0, _runloop.next)(this, () => {\n        this.services = [...this.services, service];\n      });\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"service\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"state\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor3 = _applyDecoratedDescriptor(_class.prototype, \"services\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return [];\n    }\n  }), _class);\n  /**\n   * A function that can be used to create a {@link Statechart}-resource\n   * that starts a [XState-interpreter](https://xstate.js.org/docs/guides/interpretation.html)\n   * when accessed and makes the state of the interpreter accessible to the calling\n   * context.\n   *\n   * ```js\n   * export default class Button extends Component {\n   *   statechart = useMachine(this, () => {\n   *     return {\n   *       machine: toggleMachine\n   *     }\n   *   })\n   *\n   *   @action toggleButton() {\n   *     this.statechart.send('TOGGLE');\n   *   }\n   * }\n   * ```\n   */\n  function useMachine(context, computeArgs) {\n    return (0, _useResource.useResource)(context, Statechart, () => {\n      return {\n        named: computeArgs()\n      };\n    });\n  }\n});","define(\"ember-statecharts/-private/use-resource\", [\"exports\", \"@ember/helper\", \"@glimmer/tracking/primitives/cache\"], function (_exports, _helper, _cache) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.useResource = useResource;\n  _exports.useUnproxiedResource = useUnproxiedResource;\n  function useUnproxiedResource(destroyable, definition, args) {\n    let resource;\n    return {\n      get value() {\n        if (!resource) {\n          resource = (0, _helper.invokeHelper)(destroyable, definition,\n          // eslint-disable-line\n          args);\n        }\n        return (0, _cache.getValue)(resource); // eslint-disable-line\n      }\n    };\n  }\n  function useResource(destroyable, definition, args) {\n    const target = useUnproxiedResource(destroyable, definition, args);\n    return new Proxy(target, {\n      get(target, key) {\n        const instance = target.value;\n        const value = Reflect.get(instance, key, instance);\n        return typeof value === 'function' ? value.bind(instance) : value;\n      },\n      ownKeys(target) {\n        return Reflect.ownKeys(target.value);\n      },\n      getOwnPropertyDescriptor(target, key) {\n        return Reflect.getOwnPropertyDescriptor(target.value, key);\n      }\n    });\n  }\n});","define(\"ember-statecharts/computed\", [\"exports\", \"@ember/object\", \"xstate\", \"@ember/array\", \"ember-statecharts/utils/statechart\"], function (_exports, _object, _xstate, _array, _statechart) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.debugState = debugState;\n  _exports.matchesState = matchesState;\n  _exports.statechart = statechart;\n  function decorateStopInterpreterOnDestroy(destroyFn, service) {\n    return function () {\n      service.stop();\n      destroyFn.apply(this, ...arguments);\n    };\n  }\n  function matchesState(states, statechartPropertyName = 'statechart') {\n    return (0, _object.computed)(`${statechartPropertyName}.currentState`, function () {\n      const _states = (0, _array.A)((0, _array.makeArray)(states));\n      return _states.any(state => {\n        return (0, _xstate.matchesState)(state, (0, _object.get)(this, `${statechartPropertyName}.currentState.value`));\n      });\n    });\n  }\n  function debugState(statechartPropertyName = 'statechart') {\n    return (0, _object.computed)(`${statechartPropertyName}.currentState`, function () {\n      return JSON.stringify((0, _object.get)(this, `${statechartPropertyName}.currentState.value`));\n    });\n  }\n  function statechart(config, options) {\n    /* eslint-disable ember/require-computed-property-dependencies */\n    return (0, _object.computed)(function () {\n      const initialContext = this;\n      const statechart = new _statechart.default(config, options, initialContext);\n\n      /* eslint-disable ember/no-side-effects */\n      this.willDestroy = decorateStopInterpreterOnDestroy(this.willDestroy, statechart.service);\n      return statechart;\n    });\n  }\n});","define(\"ember-statecharts/index\", [\"exports\", \"ember-statecharts/-private/usables\", \"xstate\"], function (_exports, _usables, _xstate) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.matchesState = matchesState;\n  Object.defineProperty(_exports, \"useMachine\", {\n    enumerable: true,\n    get: function () {\n      return _usables.useMachine;\n    }\n  });\n  /**\n   * A decorator that can be used to create a getter that matches against an\n   * {@link Statechart}'s state and will return either `true` or `false`\n   *\n   *\n   * ```js\n   * import Component from '@glimmer/component';\n   * import buttonMachine from '../machines/button';\n   *\n   * export default class Button extends Component {\n   *  @use statechart = useMachine(this, () => {\n   *    return {\n   *      machine: buttonMachine\n   *    }\n   *  })\n   *\n   *  @matchesState('disabled')\n   *  isDisabled; // true when statechart is in `disabled` state\n   *\n   *  @matchesState({ interactivity: 'disabled' })\n   *  isDisabled; // it is possible to match against nested/parallel states\n   * }\n   * ```\n   *\n   * You can match against any XState [StateValue](https://xstate.js.org/api/globals.html#statevalue)\n   *\n   * By default `matchesState` expects your {@link Statechart} to be called `statechart`.\n   * If you named it differently you can use the second param to this decorator:\n   *\n   *\n   * ```js\n   * import Component from '@glimmer/component';\n   * import buttonMachine from '../machines/button';\n   *\n   * export default class Button extends Component {\n   *  @use sc = useMachine(this, () => {\n   *    return {\n   *      machine: buttonMachine\n   *    }\n   *  })\n   *\n   *  @matchesState('disabled', 'sc')\n   *  isDisabled;\n   * }\n   * ```\n   *\n   */\n  /* eslint-disable @typescript-eslint/no-explicit-any */\n  function matchesState(state, statechartPropertyName = 'statechart') {\n    return function () {\n      return {\n        get() {\n          const statechart = this[statechartPropertyName];\n          if (statechart) {\n            return (0, _xstate.matchesState)(state, statechart.state.value);\n          } else {\n            return false;\n          }\n        }\n      };\n    };\n  }\n});","define(\"ember-statecharts/utils/statechart\", [\"exports\", \"xstate\", \"@ember/object\", \"@ember/runloop\", \"@ember/debug\"], function (_exports, _xstate, _object, _runloop, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  class Statechart {\n    constructor(config, options, initialContext) {\n      const machine = (0, _xstate.Machine)(config, options, initialContext);\n      this.service = (0, _xstate.interpret)(machine, {\n        clock: {\n          setTimeout: (fn, ms) => {\n            return _runloop.later.call(null, fn, ms);\n          },\n          clearTimeout: timer => {\n            return _runloop.cancel.call(null, timer);\n          }\n        }\n      }).onTransition(state => {\n        (0, _object.set)(this, 'currentState', state);\n      }).start();\n    }\n    send(event, data = {}) {\n      if (arguments.length === 1) {\n        this._sendEventObject(event);\n      } else {\n        const {\n          type,\n          ...eventData\n        } = data;\n        if (type) {\n          (false && (0, _debug.warn)(`You passed property \\`type\\` as part of the data you sent with the event \\`${event}\\` . This is not supported - \\`${event}\\` will be used as event name.`, false, {\n            id: 'statecharts.event-object.no-override-type'\n          }));\n        }\n        const eventObject = {\n          ...eventData,\n          type: event\n        };\n        this._sendEventObject(eventObject);\n      }\n    }\n    _sendEventObject(eventObject) {\n      this.service.send(eventObject);\n    }\n  }\n  _exports.default = Statechart;\n});","define(\"ember-steps/-private/state-machine/-base\", [\"exports\", \"tracked-maps-and-sets\", \"@glimmer/tracking\", \"@ember/debug\", \"@ember/utils\", \"ember-steps/-private/step-node\"], function (_exports, _trackedMapsAndSets, _tracking, _debug, _utils, _stepNode) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  /**\n   * Keeps track of the order of the steps in the step manager, as well as\n   * the current step.\n   *\n   * @class BaseStateMachine\n   * @private\n   * @hide\n   */\n  let BaseStateMachine = _exports.default = (_class = class BaseStateMachine {\n    constructor(initialStep) {\n      /** @type {TrackedSet<StepNode>} **/\n      _initializerDefineProperty(this, \"nodes\", _descriptor, this);\n      /** @type {string} **/\n      _initializerDefineProperty(this, \"currentStep\", _descriptor2, this);\n      this.currentStep = initialStep;\n    }\n    get length() {\n      return this.nodes.size;\n    }\n    get firstStepName() {\n      const firstNode = this.nodeArray[0];\n      return firstNode && firstNode.name;\n    }\n    get currentStepNode() {\n      return this.nodeArray.find(stepNode => stepNode.name === this.currentStep);\n    }\n    get nodeArray() {\n      return [...this.nodes];\n    }\n    addStep(stepComponent) {\n      const node = new _stepNode.default(this, stepComponent);\n      this.nodes.add(node);\n      if (typeof this.currentStep === 'undefined') {\n        this.currentStep = stepComponent.name;\n      }\n    }\n    removeStep(stepComponent) {\n      const node = this.nodeArray.find(step => step.component === stepComponent);\n      (false && !(node) && (0, _debug.assert)(`Could not find a step with name: ${node.name}`, node));\n      this.nodes.delete(node);\n    }\n    updateStepNode(name, field, value) {\n      const node = this.nodeArray.find(node => node.name === name);\n      (false && !(node) && (0, _debug.assert)(`\"${name}\" does not match an existing step`, node));\n      node[field] = value;\n    }\n    pickNext() {\n      throw new Error('Must implement method');\n    }\n    pickPrevious() {\n      throw new Error('Must implement method');\n    }\n    activate(step) {\n      const name = step instanceof _stepNode.default ? step.name : step;\n      (false && !(!(0, _utils.isNone)(step)) && (0, _debug.assert)('No step name was provided', !(0, _utils.isNone)(step)));\n      (false && !(this.nodeArray.map(node => node.name).includes(name)) && (0, _debug.assert)(`\"${name}\" does not match an existing step`, this.nodeArray.map(node => node.name).includes(name)));\n      this.currentStep = name;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"nodes\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: function () {\n      return new _trackedMapsAndSets.TrackedSet();\n    }\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"currentStep\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-steps/-private/state-machine/circular\", [\"exports\", \"ember-steps/-private/state-machine/-base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Keeps track of the order of the steps in the step manager, as well as\n   * the current step.\n   *\n   * @class CircularStateMachine\n   * @extends BaseStateMachine\n   * @private\n   * @hide\n   */\n  class CircularStateMachine extends _base.default {\n    pickNext(currentStep = this.currentStep) {\n      const currentIndex = this.nodeArray.map(node => node.name).indexOf(currentStep);\n      const nextValue = this.nodeArray[currentIndex + 1];\n      if (nextValue) {\n        return nextValue.name;\n      }\n      const firstObject = this.nodeArray[0];\n      if (firstObject) {\n        return firstObject.name;\n      }\n      return undefined;\n    }\n    pickPrevious(currentStep = this.currentStep) {\n      const currentIndex = this.nodeArray.map(node => node.name).indexOf(currentStep);\n      const previousValue = this.nodeArray[currentIndex - 1];\n      if (previousValue) {\n        return previousValue.name;\n      }\n      const lastIndex = this.length - 1;\n      const lastObject = this.nodeArray[lastIndex];\n      if (lastObject) {\n        return lastObject.name;\n      }\n      return undefined;\n    }\n  }\n  _exports.default = CircularStateMachine;\n});","define(\"ember-steps/-private/state-machine/linear\", [\"exports\", \"ember-steps/-private/state-machine/-base\"], function (_exports, _base) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  /**\n   * Keeps track of the order of the steps in the step manager, as well as\n   * the current step.\n   *\n   * @class CircularStateMachine\n   * @extends BaseStateMachine\n   * @private\n   * @hide\n   */\n  class LinearStateMachine extends _base.default {\n    pickNext(currentStep = this.currentStep) {\n      const currentIndex = this.nodeArray.map(node => node.name).indexOf(currentStep);\n      const currentNode = this.nodeArray[currentIndex + 1];\n      if (currentNode) {\n        return currentNode.name;\n      }\n      return undefined;\n    }\n    pickPrevious(currentStep = this.currentStep) {\n      const currentIndex = this.nodeArray.map(node => node.name).indexOf(currentStep);\n      const currentNode = this.nodeArray[currentIndex - 1];\n      if (currentNode) {\n        return currentNode.name;\n      }\n      return undefined;\n    }\n  }\n  _exports.default = LinearStateMachine;\n});","define(\"ember-steps/-private/step-node\", [\"exports\", \"@glimmer/tracking\", \"@ember/utils\"], function (_exports, _tracking, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor, _descriptor2;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  let StepNode = _exports.default = (_class = class StepNode {\n    constructor(sm, component) {\n      /** @private */\n      _initializerDefineProperty(this, \"sm\", _descriptor, this);\n      /** @private */\n      _initializerDefineProperty(this, \"component\", _descriptor2, this);\n      this.sm = sm;\n      this.component = component;\n    }\n\n    /** @type {string} */\n    get name() {\n      return this.component.name;\n    }\n\n    /** @type {any} */\n    get context() {\n      return this.component.args.context;\n    }\n\n    /** @type {boolean} */\n    get hasNext() {\n      return (0, _utils.isPresent)(this.sm.pickNext(this.name));\n    }\n\n    /** @type {boolean} */\n    get hasPrevious() {\n      return (0, _utils.isPresent)(this.sm.pickPrevious(this.name));\n    }\n\n    /** @type {boolean} */\n    get isActive() {\n      return this.sm.currentStep === this.name;\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"sm\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _descriptor2 = _applyDecoratedDescriptor(_class.prototype, \"component\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n});","define(\"ember-steps/components/step-manager\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/utils\", \"@ember/runloop\", \"@ember/debug\", \"@ember/object\", \"ember-steps/-private/state-machine/circular\", \"ember-steps/-private/state-machine/linear\", \"ember-steps/-private/step-node\"], function (_exports, _component, _templateFactory, _component2, _tracking, _utils, _runloop, _debug, _object, _circular, _linear, _stepNode) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{yield\n    (hash\n      Step=(component \"step-manager/step\"\n        register-step=this.registerStepComponent\n        remove-step=this.removeStepComponent\n        update-step-node=this.updateStepNode\n        currentStep=this.currentStep\n        transitions=this.transitions\n      )\n      hasNextStep=this.hasNextStep\n      hasPreviousStep=this.hasPreviousStep\n      currentStep=this.currentStep\n      steps=this.transitions.nodeArray\n      transition-to=this.transitionTo\n      transition-to-next=this.transitionToNext\n      transition-to-previous=this.transitionToPrevious\n    )\n  }}\n  \n  */\n  {\n    \"id\": \"kAHUJZF1\",\n    \"block\": \"[[[18,1,[[28,[37,1],null,[[\\\"Step\\\",\\\"hasNextStep\\\",\\\"hasPreviousStep\\\",\\\"currentStep\\\",\\\"steps\\\",\\\"transition-to\\\",\\\"transition-to-next\\\",\\\"transition-to-previous\\\"],[[50,\\\"step-manager/step\\\",0,null,[[\\\"register-step\\\",\\\"remove-step\\\",\\\"update-step-node\\\",\\\"currentStep\\\",\\\"transitions\\\"],[[30,0,[\\\"registerStepComponent\\\"]],[30,0,[\\\"removeStepComponent\\\"]],[30,0,[\\\"updateStepNode\\\"]],[30,0,[\\\"currentStep\\\"]],[30,0,[\\\"transitions\\\"]]]]],[30,0,[\\\"hasNextStep\\\"]],[30,0,[\\\"hasPreviousStep\\\"]],[30,0,[\\\"currentStep\\\"]],[30,0,[\\\"transitions\\\",\\\"nodeArray\\\"]],[30,0,[\\\"transitionTo\\\"]],[30,0,[\\\"transitionToNext\\\"]],[30,0,[\\\"transitionToPrevious\\\"]]]]]]],[1,\\\"\\\\n\\\"]],[\\\"&default\\\"],false,[\\\"yield\\\",\\\"hash\\\",\\\"component\\\"]]\",\n    \"moduleName\": \"ember-steps/components/step-manager.hbs\",\n    \"isStrictMode\": false\n  });\n  /**\n   * ```hbs\n   * <StepManager as |w|>\n   *   <w.Step @name=\"first\">\n   *     <h1>First Step</h1>\n   *   </w.Step>\n   *   <w.Step @name=\"second\">\n   *     <h1>Second Step</h1>\n   *   </w.Step>\n   * </StepManager>\n   * ```\n   *\n   * @class StepManagerComponent\n   * @yield {Hash} w Wizard Properties\n   * @yield {StepComponent} w.Step The component to create steps\n   * @yield {boolean} w.hasNextStep Whether or not the current step has a \"next\" step\n   * @yield {boolean} w.hasPreviousStep Whether or not the current step has a \"previous\" step\n   * @yield {string} w.currentStep Reflects the name of the active step\n   * @yield {Array<StepNode>} w.steps The steps registered to the step manager\n   * @yield {Action} w.transition-to Transition to a step by name\n   * @yield {Action} w.transition-to-next Transition to the \"next\" step\n   * @yield {Action} w.transition-to-previous Transition to the \"previous\" step\n   */\n  let StepManagerComponent = _exports.default = (_class = class StepManagerComponent extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      /** @type {BaseStateMachine} state machine for transitions */\n      _initializerDefineProperty(this, \"transitions\", _descriptor, this);\n      const {\n        initialStep,\n        currentStep\n      } = this.args;\n      this._watchCurrentStep = (0, _utils.isPresent)(currentStep);\n      const startingStep = (0, _utils.isNone)(initialStep) ? currentStep : initialStep;\n      const StateMachine = this.linear ? _linear.default : _circular.default;\n      this.transitions = new StateMachine(startingStep);\n      (0, _runloop.schedule)('afterRender', this, function () {\n        this._initialRegistrationComplete = true;\n      });\n    }\n\n    /**\n     * Whether to use a \"Circular\" or \"Linear\" state machine\n     * @type {boolean}\n     * @private\n     */\n    get linear() {\n      return (0, _utils.isPresent)(this.args.linear) ? this.args.linear : true;\n    }\n\n    /**\n     * Whether or not the current step has a \"next\" step\n     * @type {boolean}\n     */\n    get hasNextStep() {\n      return !(0, _utils.isNone)(this.transitions.pickNext());\n    }\n\n    /**\n     * Whether or not the current step has a \"previous\" step\n     * @type {boolean}\n     */\n    get hasPreviousStep() {\n      return !(0, _utils.isNone)(this.transitions.pickPrevious());\n    }\n\n    /**\n     * Reflects the name of the active step\n     * @type {string}\n     */\n    get currentStep() {\n      const newStep = typeof this.args.currentStep !== 'undefined' ? this.args.currentStep : this.transitions.firstStepName;\n      const {\n        currentStep\n      } = this.transitions;\n      if (this._watchCurrentStep && this._initialRegistrationComplete && newStep !== currentStep) {\n        (0, _runloop.schedule)('actions', this, function () {\n          this.transitionTo(newStep);\n        });\n      }\n      return this.transitions.currentStep;\n    }\n    registerStepComponent(stepComponent) {\n      stepComponent.transitions = this.transitions;\n      (0, _runloop.schedule)('actions', () => {\n        this.transitions.addStep(stepComponent);\n      });\n    }\n    removeStepComponent(stepComponent) {\n      (0, _runloop.schedule)('actions', () => {\n        this.transitions.removeStep(stepComponent);\n      });\n    }\n    updateStepNode(stepComponent, field, value) {\n      const name = stepComponent.name;\n      this.transitions.updateStepNode(name, field, value);\n    }\n    transitionTo(to) {\n      const destination = to instanceof _stepNode.default ? to.name : to;\n      if (to !== this.transitions.currentStep) {\n        this.transitions.activate(destination);\n        if (this.args.onTransition) {\n          this.args.onTransition(destination);\n        }\n      }\n    }\n    transitionToNext() {\n      const to = this.transitions.pickNext();\n      (false && !(!(0, _utils.isNone)(to)) && (0, _debug.assert)('There is no next step', !(0, _utils.isNone)(to)));\n      this.transitionTo(to);\n    }\n    transitionToPrevious() {\n      const to = this.transitions.pickPrevious();\n      (false && !(!(0, _utils.isNone)(to)) && (0, _debug.assert)('There is no previous step', !(0, _utils.isNone)(to)));\n      this.transitionTo(to);\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"transitions\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _applyDecoratedDescriptor(_class.prototype, \"registerStepComponent\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"registerStepComponent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"removeStepComponent\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"removeStepComponent\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"updateStepNode\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"updateStepNode\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"transitionTo\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionTo\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"transitionToNext\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToNext\"), _class.prototype), _applyDecoratedDescriptor(_class.prototype, \"transitionToPrevious\", [_object.action], Object.getOwnPropertyDescriptor(_class.prototype, \"transitionToPrevious\"), _class.prototype), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, StepManagerComponent);\n});","define(\"ember-steps/components/step-manager/step\", [\"exports\", \"@ember/component\", \"@ember/template-factory\", \"@glimmer/component\", \"@glimmer/tracking\", \"@ember/utils\", \"@ember/debug\", \"@ember/object/internals\"], function (_exports, _component, _templateFactory, _component2, _tracking, _utils, _debug, _internals) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _class, _descriptor;\n  function _initializerDefineProperty(e, i, r, l) { r && Object.defineProperty(e, i, { enumerable: r.enumerable, configurable: r.configurable, writable: r.writable, value: r.initializer ? r.initializer.call(l) : void 0 }); }\n  function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\n  function _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\n  function _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n  function _applyDecoratedDescriptor(i, e, r, n, l) { var a = {}; return Object.keys(n).forEach(function (i) { a[i] = n[i]; }), a.enumerable = !!a.enumerable, a.configurable = !!a.configurable, (\"value\" in a || a.initializer) && (a.writable = !0), a = r.slice().reverse().reduce(function (r, n) { return n(i, e, r) || r; }, a), l && void 0 !== a.initializer && (a.value = a.initializer ? a.initializer.call(l) : void 0, a.initializer = void 0), void 0 === a.initializer ? (Object.defineProperty(i, e, a), null) : a; }\n  function _initializerWarningHelper(r, e) { throw Error(\"Decorating class property failed. Please ensure that transform-class-properties is enabled and runs after the decorators transform.\"); }\n  const __COLOCATED_TEMPLATE__ = (0, _templateFactory.createTemplateFactory)(\n  /*\n    {{#if this.isActive}}\n    {{yield\n      (hash\n        hasNext=this.hasNext\n        hasPrevious=this.hasPrevious\n      )\n    }}\n  {{else if (has-block \"inverse\")}}\n    {{yield to=\"inverse\"}}\n  {{/if}}\n  \n  */\n  {\n    \"id\": \"KezsGIfJ\",\n    \"block\": \"[[[41,[30,0,[\\\"isActive\\\"]],[[[1,\\\"  \\\"],[18,1,[[28,[37,2],null,[[\\\"hasNext\\\",\\\"hasPrevious\\\"],[[30,0,[\\\"hasNext\\\"]],[30,0,[\\\"hasPrevious\\\"]]]]]]],[1,\\\"\\\\n\\\"]],[]],[[[41,[48,[30,2]],[[[1,\\\"  \\\"],[18,2,null],[1,\\\"\\\\n\\\"]],[]],null]],[]]]],[\\\"&default\\\",\\\"&else\\\"],false,[\\\"if\\\",\\\"yield\\\",\\\"hash\\\",\\\"has-block\\\"]]\",\n    \"moduleName\": \"ember-steps/components/step-manager/step.hbs\",\n    \"isStrictMode\": false\n  });\n  /**\n   * ```hbs\n   * <w.Step @name=\"first\">\n   *   <h1>First Step</h1>\n   * </w.Step>\n   * ```\n   *\n   * @class StepComponent\n   * @yield {Hash} step Step Properties\n   * @yield {boolean} step.hasPrevious Whether this step has a \"previous\" step\n   * @yield {boolean} step.hasNext Whether this step has a \"next\" step\n   */\n  let StepComponent = _exports.default = (_class = class StepComponent extends _component2.default {\n    constructor(...args) {\n      super(...args);\n      /** Set directly by manager through JS **/\n      _initializerDefineProperty(this, \"transitions\", _descriptor, this);\n      this.args['register-step'](this);\n    }\n    willDestroy(...args) {\n      this.args['remove-step'](this);\n      super.willDestroy(...args);\n    }\n\n    /**\n     * @type {string|number|Symbol}\n     * @private\n     */\n    get name() {\n      const initialName = !(0, _utils.isNone)(this.args.name) ? this.args.name : (0, _internals.guidFor)(this);\n      if (this._hasSetName) {\n        (false && !(this._initialName === initialName) && (0, _debug.assert)('The `name` property should never change', this._initialName === initialName));\n      }\n      this._hasSetName = true;\n      this._initialName = initialName;\n      return initialName;\n    }\n\n    /**\n     * Whether this state is currently the active one\n     * @property {boolean} isActive\n     * @private\n     */\n    get isActive() {\n      return this.args.currentStep === this.name;\n    }\n    get hasNext() {\n      return (0, _utils.isPresent)(this.transitions.pickNext(this.name));\n    }\n    get hasPrevious() {\n      return (0, _utils.isPresent)(this.transitions.pickPrevious(this.name));\n    }\n  }, _descriptor = _applyDecoratedDescriptor(_class.prototype, \"transitions\", [_tracking.tracked], {\n    configurable: true,\n    enumerable: true,\n    writable: true,\n    initializer: null\n  }), _class);\n  (0, _component.setComponentTemplate)(__COLOCATED_TEMPLATE__, StepComponent);\n});","define(\"ember-steps/helpers/validate-transition\", [\"exports\", \"@ember/component/helper\", \"rsvp\"], function (_exports, _helper, _rsvp) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.validateTransition = validateTransition;\n  /** @hide */\n  function validateTransition([transition], {\n    with: validator\n  }) {\n    return function () {\n      return new _rsvp.Promise(resolve => {\n        validator(resolve);\n      }).then(() => {\n        transition();\n      });\n    };\n  }\n  var _default = _exports.default = (0, _helper.helper)(validateTransition);\n});","define(\"ember-svg-jar/helpers/svg-jar\", [\"exports\", \"@ember/component/helper\", \"ember-svg-jar/utils/make-svg\", \"@embroider/macros/es-compat2\"], function (_exports, _helper, _makeSvg, _esCompat) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.svgJar = svgJar;\n  function getInlineAsset(assetId) {\n    assetId = assetId.replace(/[/\\\\]/g, '-');\n    let result = null;\n    try {\n      result = require(`ember-svg-jar/inlined/${assetId}`).default;\n    } catch (err) {\n      // skip\n    }\n    try {\n      result = (0, _esCompat.default)(require(`../inlined/${assetId}`)).default;\n    } catch (err) {\n      // skip\n    }\n    return result;\n  }\n  function svgJar(assetId, svgAttrs) {\n    return (0, _makeSvg.default)(assetId, svgAttrs, getInlineAsset);\n  }\n  var _default = _exports.default = (0, _helper.helper)(function svgJarHelper([assetId], svgAttrs) {\n    return svgJar(assetId, svgAttrs);\n  });\n});","define(\"ember-svg-jar/inlined/bell-alert--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M14.857 17.082a23.848 23.848 0 005.454-1.31A8.967 8.967 0 0118 9.75V9A6 6 0 006 9v.75a8.967 8.967 0 01-2.312 6.022c1.733.64 3.56 1.085 5.455 1.31m5.714 0a24.255 24.255 0 01-5.714 0m5.714 0a3 3 0 11-5.714 0M3.124 7.5A8.969 8.969 0 015.292 3m13.416 0a8.969 8.969 0 012.168 4.5\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/calendar--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M6.75 3v2.25M17.25 3v2.25M3 18.75V7.5a2.25 2.25 0 012.25-2.25h13.5A2.25 2.25 0 0121 7.5v11.25m-18 0A2.25 2.25 0 005.25 21h13.5A2.25 2.25 0 0021 18.75m-18 0v-7.5A2.25 2.25 0 015.25 9h13.5A2.25 2.25 0 0121 11.25v7.5\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/check-circle--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M9 12.75L11.25 15 15 9.75M21 12a9 9 0 11-18 0 9 9 0 0118 0z\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/cursor-arrow-rays--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M15.042 21.672L13.684 16.6m0 0l-2.51 2.225.569-9.47 5.227 7.917-3.286-.672zM12 2.25V4.5m5.834.166l-1.591 1.591M20.25 10.5H18M7.757 14.743l-1.59 1.59M6 10.5H3.75m4.007-4.243l-1.59-1.59\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/digits--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<text y=\\\"20\\\" font-size=\\\"16\\\" fill=\\\"currentColor\\\">123</text>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"100\",\n      \"height\": \"50\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/envelope--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M21.75 6.75v10.5a2.25 2.25 0 01-2.25 2.25h-15a2.25 2.25 0 01-2.25-2.25V6.75m19.5 0A2.25 2.25 0 0019.5 4.5h-15a2.25 2.25 0 00-2.25 2.25m19.5 0v.243a2.25 2.25 0 01-1.07 1.916l-7.5 4.615a2.25 2.25 0 01-2.36 0L3.32 8.91a2.25 2.25 0 01-1.07-1.916V6.75\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/exclamation-circle--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M12 9v3.75m9-.75a9 9 0 11-18 0 9 9 0 0118 0zm-9 3.75h.008v.008H12v-.008z\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-back-arrow\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<g fill=\\\"#5AC8C1\\\" fill-rule=\\\"evenodd\\\"><rect width=\\\"10\\\" height=\\\"1\\\" x=\\\"-1.111\\\" y=\\\"3.611\\\" rx=\\\".5\\\" transform=\\\"rotate(-45 3.89 4.11)\\\"/><rect width=\\\"18\\\" height=\\\"1\\\" y=\\\"7\\\" rx=\\\".5\\\"/><rect width=\\\"10\\\" height=\\\"1\\\" x=\\\"-1.111\\\" y=\\\"10.389\\\" rx=\\\".5\\\" transform=\\\"rotate(45 3.89 10.89)\\\"/></g>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"18\",\n      \"height\": \"15\",\n      \"viewBox\": \"0 0 18 15\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-checkmark-green\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path fill=\\\"none\\\" stroke=\\\"#5AC8C1\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M.5 5.6l4.779 3.9L13.5.5\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"14\",\n      \"height\": \"10\",\n      \"viewBox\": \"0 0 14 10\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-checkmark-white\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path fill=\\\"none\\\" stroke=\\\"#FFF\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M.5 3.333L3.073 5.5 7.5.5\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"8\",\n      \"height\": \"6\",\n      \"viewBox\": \"0 0 8 6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-chevron-down\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path fill=\\\"none\\\" stroke=\\\"#FFF\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M.5.5l5.5 5 5.5-5\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"12\",\n      \"height\": \"6\",\n      \"viewBox\": \"0 0 12 6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-close-green\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path d=\\\"M.5.5l15 15m0-15l-15 15\\\" fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke=\\\"#5AC8C1\\\" stroke-linecap=\\\"round\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"16\",\n      \"height\": \"16\",\n      \"viewBox\": \"0 0 16 16\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-close-white\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<defs><filter id=\\\"a\\\" width=\\\"181.2%\\\" height=\\\"181.2%\\\" x=\\\"-40.6%\\\" y=\\\"-40.6%\\\" filterUnits=\\\"objectBoundingBox\\\"><feMorphology in=\\\"SourceAlpha\\\" operator=\\\"dilate\\\" radius=\\\".5\\\" result=\\\"shadowSpreadOuter1\\\"/><feOffset in=\\\"shadowSpreadOuter1\\\" result=\\\"shadowOffsetOuter1\\\"/><feMorphology in=\\\"SourceAlpha\\\" radius=\\\"1\\\" result=\\\"shadowInner\\\"/><feOffset in=\\\"shadowInner\\\" result=\\\"shadowInner\\\"/><feComposite in=\\\"shadowOffsetOuter1\\\" in2=\\\"shadowInner\\\" operator=\\\"out\\\" result=\\\"shadowOffsetOuter1\\\"/><feGaussianBlur in=\\\"shadowOffsetOuter1\\\" result=\\\"shadowBlurOuter1\\\" stdDeviation=\\\"2\\\"/><feColorMatrix in=\\\"shadowBlurOuter1\\\" result=\\\"shadowMatrixOuter1\\\" values=\\\"0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0.56 0\\\"/><feMerge><feMergeNode in=\\\"shadowMatrixOuter1\\\"/><feMergeNode in=\\\"SourceGraphic\\\"/></feMerge></filter></defs><g fill=\\\"none\\\" fill-rule=\\\"evenodd\\\" stroke=\\\"#FFF\\\" stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" filter=\\\"url(#a)\\\" transform=\\\"translate(4 4)\\\"><path d=\\\"M.5.5l15 15m0-15l-15 15\\\"/></g>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"24\",\n      \"height\": \"24\",\n      \"viewBox\": \"0 0 24 24\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-hamburger-menu-color\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<g fill=\\\"#5AC8C1\\\" fill-rule=\\\"evenodd\\\"><rect width=\\\"18\\\" height=\\\"1\\\" rx=\\\".5\\\"/><rect width=\\\"18\\\" height=\\\"1\\\" y=\\\"6\\\" rx=\\\".5\\\"/><rect width=\\\"18\\\" height=\\\"1\\\" y=\\\"12\\\" rx=\\\".5\\\"/></g>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"18\",\n      \"height\": \"13\",\n      \"viewBox\": \"0 0 18 13\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-hamburger-menu-white\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<g fill=\\\"#FFF\\\" fill-rule=\\\"evenodd\\\"><rect width=\\\"18\\\" height=\\\"1\\\" rx=\\\".5\\\"/><rect width=\\\"18\\\" height=\\\"1\\\" y=\\\"6\\\" rx=\\\".5\\\"/><rect width=\\\"18\\\" height=\\\"1\\\" y=\\\"12\\\" rx=\\\".5\\\"/></g>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"18\",\n      \"height\": \"13\",\n      \"viewBox\": \"0 0 18 13\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-minus-green\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path fill=\\\"#5AC8C1\\\" fill-rule=\\\"evenodd\\\" d=\\\"M12 0v2H0V0z\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"12\",\n      \"height\": \"2\",\n      \"viewBox\": \"0 0 12 2\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-minus-white\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path fill=\\\"#FFF\\\" fill-rule=\\\"evenodd\\\" d=\\\"M12 0v2H0V0z\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"12\",\n      \"height\": \"2\",\n      \"viewBox\": \"0 0 12 2\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-plus-green\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path fill=\\\"#5AC8C1\\\" fill-rule=\\\"evenodd\\\" d=\\\"M7 5V0H5v5H0v2h5v5h2V7h5V5H7z\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"12\",\n      \"height\": \"12\",\n      \"viewBox\": \"0 0 12 12\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/icon-plus-white\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<g fill=\\\"#FFF\\\" fill-rule=\\\"evenodd\\\"><path d=\\\"M11 0h2v24h-2z\\\"/><path d=\\\"M24 11v2H0v-2z\\\"/></g>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"width\": \"24\",\n      \"height\": \"24\",\n      \"viewBox\": \"0 0 24 24\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/minus--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M5 12h14\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"width\": \"14\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/mobile--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M10.5 1.5H8.25A2.25 2.25 0 006 3.75v16.5a2.25 2.25 0 002.25 2.25h7.5A2.25 2.25 0 0018 20.25V3.75a2.25 2.25 0 00-2.25-2.25H13.5m-3 0V3h3V1.5m-3 0h3m-3 18.75h3\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/pencil-square--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M16.862 4.487l1.687-1.688a1.875 1.875 0 112.652 2.652L10.582 16.07a4.5 4.5 0 01-1.897 1.13L6 18l.8-2.685a4.5 4.5 0 011.13-1.897l8.932-8.931zm0 0L19.5 7.125M18 14v4.75A2.25 2.25 0 0115.75 21H5.25A2.25 2.25 0 013 18.75V8.25A2.25 2.25 0 015.25 6H10\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/phone--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M2.25 6.75c0 8.284 6.716 15 15 15h2.25a2.25 2.25 0 002.25-2.25v-1.372c0-.516-.351-.966-.852-1.091l-4.423-1.106c-.44-.11-.902.055-1.173.417l-.97 1.293c-.282.376-.769.542-1.21.38a12.035 12.035 0 01-7.143-7.143c-.162-.441.004-.928.38-1.21l1.293-.97c.363-.271.527-.734.417-1.173L6.963 3.102a1.125 1.125 0 00-1.091-.852H4.5A2.25 2.25 0 002.25 4.5v2.25z\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/plus--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M12 4.5v15m7.5-7.5h-15\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"width\": \"14\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/shopping-cart\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path d=\\\"M2.25 3h1.386c.51 0 .955.343 1.087.835l.383 1.437M7.5 14.25a3 3 0 00-3 3h15.75m-12.75-3h11.218c1.121-2.3 2.1-4.684 2.924-7.138a60.114 60.114 0 00-16.536-1.84M7.5 14.25L5.106 5.272M6 20.25a.75.75 0 11-1.5 0 .75.75 0 011.5 0zm12.75 0a.75.75 0 11-1.5 0 .75.75 0 011.5 0z\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/trash--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M14.74 9l-.346 9m-4.788 0L9.26 9m9.968-3.21c.342.052.682.107 1.022.166m-1.022-.165L18.16 19.673a2.25 2.25 0 01-2.244 2.077H8.084a2.25 2.25 0 01-2.244-2.077L4.772 5.79m14.456 0a48.108 48.108 0 00-3.478-.397m-12 .562c.34-.059.68-.114 1.022-.165m0 0a48.11 48.11 0 013.478-.397m7.5 0v-.916c0-1.18-.91-2.164-2.09-2.201a51.964 51.964 0 00-3.32 0c-1.18.037-2.09 1.022-2.09 2.201v.916m7.5 0a48.667 48.667 0 00-7.5 0\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"width\": \"14\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/user--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M15.75 6a3.75 3.75 0 11-7.5 0 3.75 3.75 0 017.5 0zM4.501 20.118a7.5 7.5 0 0114.998 0A17.933 17.933 0 0112 21.75c-2.676 0-5.216-.584-7.499-1.632z\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/x-circle--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M9.75 9.75l4.5 4.5m0-4.5l-4.5 4.5M21 12a9 9 0 11-18 0 9 9 0 0118 0z\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/inlined/x-mark--outline\", [\"exports\"], function (_exports) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = {\n    \"content\": \"<path stroke-linecap=\\\"round\\\" stroke-linejoin=\\\"round\\\" d=\\\"M6 18L18 6M6 6l12 12\\\"/>\",\n    \"attrs\": {\n      \"xmlns\": \"http://www.w3.org/2000/svg\",\n      \"fill\": \"none\",\n      \"viewBox\": \"0 0 24 24\",\n      \"stroke-width\": \"1.5\",\n      \"stroke\": \"currentColor\",\n      \"class\": \"size-6\"\n    }\n  };\n});","define(\"ember-svg-jar/utils/make-svg\", [\"exports\", \"@ember/utils\", \"@ember/template\"], function (_exports, _utils, _template) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.createAccessibilityElements = createAccessibilityElements;\n  _exports.createAriaLabel = createAriaLabel;\n  _exports.createSvgAttributes = createSvgAttributes;\n  _exports.default = makeSvg;\n  _exports.formatAttrs = formatAttrs;\n  _exports.generateAccessibilityIds = generateAccessibilityIds;\n  _exports.inlineSvgFor = inlineSvgFor;\n  _exports.sanitizeAttrs = sanitizeAttrs;\n  _exports.symbolUseFor = symbolUseFor;\n  /**\n   * This taken from https://github.com/emberjs/ember.js/blob/089a021b1b5c5f8ea1cb574fcd841a73af7b2031/packages/%40ember/-internals/glimmer/lib/helpers/unique-id.ts#L44\n   * In the future it should be possible to import this function like\n   * `import { uniqueId } from '@ember/helper`\n   * see https://github.com/emberjs/ember.js/pull/20165\n   */\n  function uniqueId() {\n    return ([3e7] + -1e3 + -4e3 + -2e3 + -1e11).replace(/[0-3]/g, a => (a * 4 ^ Math.random() * 16 >> (a & 2)).toString(16));\n  }\n  const accessibilityElements = ['title', 'desc'];\n  const ESC = {\n    '\"': '&quot;',\n    '&': '&amp;',\n    '<': '&lt;',\n    '>': '&gt;'\n  };\n  function matcher(char) {\n    return ESC[char];\n  }\n  function escapeText(text) {\n    if (typeof text === 'number') return text;\n    if (text === null) return null;\n    if (typeof text !== 'string') return '';\n    if (text.indexOf('>') > -1 || text.indexOf('<') > -1 || text.indexOf('&') > -1 || text.indexOf('\"') > -1) {\n      return text.replace(/[&\"<>]/g, matcher);\n    }\n    return text;\n  }\n  function sanitizeAttrs(attrs) {\n    let attrsCopy = Object.assign({}, attrs);\n    Object.keys(attrsCopy).forEach(key => {\n      attrsCopy[key] = escapeText(attrsCopy[key]);\n    });\n    return attrsCopy;\n  }\n  function generateAccessibilityIds(attrs) {\n    if (attrs.title) {\n      attrs.title = {\n        id: uniqueId(),\n        text: attrs.title\n      };\n    }\n    if (attrs.desc) {\n      attrs.desc = {\n        id: uniqueId(),\n        text: attrs.desc\n      };\n    }\n    return attrs;\n  }\n  function createAccessibilityElements(attrs) {\n    const {\n      title,\n      desc\n    } = attrs;\n    if (!title && !desc) {\n      return '';\n    }\n    return accessibilityElements.reduce((elements, tag) => {\n      if (attrs[tag]) {\n        return elements.concat(`<${tag} id=\"${attrs[tag].id}\">${attrs[tag].text}</${tag}>`);\n      }\n      return elements;\n    }, '');\n  }\n  function createAriaLabel(attrs) {\n    const {\n      title,\n      desc\n    } = attrs;\n    if (!title && !desc) {\n      return '';\n    }\n    return `aria-labelledby=\"${accessibilityElements.filter(tag => attrs[tag]).map(tag => attrs[tag].id).join(' ')}\"`;\n  }\n  function formatAttrs(attrs) {\n    return Object.keys(attrs).filter(attr => !accessibilityElements.includes(attr)).map(key => !(0, _utils.isNone)(attrs[key]) && `${key}=\"${attrs[key]}\"`).filter(attr => attr).join(' ');\n  }\n  function createSvgAttributes(attrs) {\n    return [formatAttrs(attrs), createAriaLabel(attrs)].filter(Boolean).join(' ');\n  }\n  function symbolUseFor(assetId, attrs = {}) {\n    return `<svg ${createSvgAttributes(attrs)}><use xlink:href=\"${assetId}\" />${createAccessibilityElements(attrs)}</svg>`;\n  }\n  function inlineSvgFor(assetId, getInlineAsset, attrs = {}) {\n    let asset = getInlineAsset(assetId);\n    if (!asset) {\n      // eslint-disable-next-line no-console\n      console.warn(`ember-svg-jar: Missing inline SVG for ${assetId}`);\n      return;\n    }\n    let svgAttrs = asset.attrs ? Object.assign({}, asset.attrs, attrs) : attrs;\n    let {\n      size\n    } = attrs;\n    if (size) {\n      svgAttrs.width = parseFloat(svgAttrs.width) * size || svgAttrs.width;\n      svgAttrs.height = parseFloat(svgAttrs.height) * size || svgAttrs.height;\n      delete svgAttrs.size;\n    }\n    return `<svg ${createSvgAttributes(svgAttrs)}>${createAccessibilityElements(attrs)}${asset.content}</svg>`;\n  }\n  function makeSvg(assetId, attrs = {}, getInlineAsset) {\n    if (!assetId) {\n      // eslint-disable-next-line no-console\n      console.warn('ember-svg-jar: asset name should not be undefined or null');\n      return;\n    }\n    attrs = sanitizeAttrs(attrs);\n    attrs = generateAccessibilityIds(attrs);\n    let isSymbol = assetId.lastIndexOf('#', 0) === 0;\n    let svg = isSymbol ? symbolUseFor(assetId, attrs) : inlineSvgFor(assetId, getInlineAsset, attrs);\n    return (0, _template.htmlSafe)(svg);\n  }\n});","define(\"ember-test-waiters/index\", [\"exports\", \"@ember/debug\", \"@ember/test-waiters\"], function (_exports, _debug, _testWaiters) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.keys(_testWaiters).forEach(function (key) {\n    if (key === \"default\" || key === \"__esModule\") return;\n    if (key in _exports && _exports[key] === _testWaiters[key]) return;\n    Object.defineProperty(_exports, key, {\n      enumerable: true,\n      get: function () {\n        return _testWaiters[key];\n      }\n    });\n  });\n  (false && !(false) && (0, _debug.deprecate)('Importing from ember-test-waiters is deprecated. Please import from @ember/test-waiters', false, {\n    id: 'ember-test-waiters-legacy-module-name',\n    until: '3.0.0',\n    for: 'ember-test-waiters',\n    since: {\n      enabled: '2.2.0'\n    }\n  }));\n});","define(\"ember-tracked-storage-polyfill/index\", [\"exports\", \"@glimmer/tracking\", \"@ember/debug\"], function (_exports, _tracking, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.createStorage = createStorage;\n  _exports.getValue = getValue;\n  _exports.setValue = setValue;\n  var __decorate = void 0 && (void 0).__decorate || function (decorators, target, key, desc) {\n    var c = arguments.length,\n      r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,\n      d;\n    if (typeof Reflect === \"object\" && typeof Reflect.decorate === \"function\") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;\n    return c > 3 && r && Object.defineProperty(target, key, r), r;\n  };\n  class TrackedStorageImpl {\n    constructor(initialValue, isEqual) {\n      this._value = this._lastValue = initialValue;\n      this._isEqual = isEqual;\n    }\n  }\n  __decorate([_tracking.tracked], TrackedStorageImpl.prototype, \"_value\", void 0);\n  function tripleEq(a, b) {\n    return a === b;\n  }\n  function createStorage(initialValue, isEqual = tripleEq) {\n    (false && !(typeof isEqual === 'function') && (0, _debug.assert)('the second parameter to `createStorage` must be an equality function or undefined', typeof isEqual === 'function'));\n    return new TrackedStorageImpl(initialValue, isEqual);\n  }\n  function getValue(storage) {\n    (false && !(storage instanceof TrackedStorageImpl) && (0, _debug.assert)('getValue must be passed a tracked store created with `createStorage`.', storage instanceof TrackedStorageImpl));\n    return storage._value;\n  }\n  function setValue(storage, value) {\n    (false && !(storage instanceof TrackedStorageImpl) && (0, _debug.assert)('setValue must be passed a tracked store created with `createStorage`.', storage instanceof TrackedStorageImpl));\n    const {\n      _isEqual: isEqual,\n      _lastValue: lastValue\n    } = storage;\n    if (!isEqual(value, lastValue)) {\n      storage._value = storage._lastValue = value;\n    }\n  }\n});","define(\"ember-truth-helpers/helpers/and\", [\"exports\", \"@ember/component/helper\", \"ember-truth-helpers/utils/truth-convert\"], function (_exports, _helper, _truthConvert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.and = and;\n  _exports.default = void 0;\n  function and(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if ((0, _truthConvert.default)(params[i]) === false) {\n        return params[i];\n      }\n    }\n    return params[params.length - 1];\n  }\n  var _default = _exports.default = (0, _helper.helper)(and);\n});","define(\"ember-truth-helpers/helpers/equal\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.equal = equal;\n  function equal(params) {\n    return params[0] === params[1];\n  }\n  var _default = _exports.default = (0, _helper.helper)(equal);\n});","define(\"ember-truth-helpers/helpers/gt\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.gt = gt;\n  function gt([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left > right;\n  }\n  var _default = _exports.default = (0, _helper.helper)(gt);\n});","define(\"ember-truth-helpers/helpers/gte\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.gte = gte;\n  function gte([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left >= right;\n  }\n  var _default = _exports.default = (0, _helper.helper)(gte);\n});","define(\"ember-truth-helpers/helpers/is-array\", [\"exports\", \"@ember/component/helper\", \"@ember/array\"], function (_exports, _helper, _array) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.isArray = isArray;\n  function isArray(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if ((0, _array.isArray)(params[i]) === false) {\n        return false;\n      }\n    }\n    return true;\n  }\n  var _default = _exports.default = (0, _helper.helper)(isArray);\n});","define(\"ember-truth-helpers/helpers/is-empty\", [\"exports\", \"@ember/component/helper\", \"@ember/utils\"], function (_exports, _helper, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = (0, _helper.helper)(function ([obj]) {\n    return (0, _utils.isEmpty)(obj);\n  });\n});","define(\"ember-truth-helpers/helpers/is-equal\", [\"exports\", \"@ember/component/helper\", \"@ember/utils\"], function (_exports, _helper, _utils) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.isEqual = isEqual;\n  function isEqual([a, b]) {\n    return (0, _utils.isEqual)(a, b);\n  }\n  var _default = _exports.default = (0, _helper.helper)(isEqual);\n});","define(\"ember-truth-helpers/helpers/lt\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.lt = lt;\n  function lt([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left < right;\n  }\n  var _default = _exports.default = (0, _helper.helper)(lt);\n});","define(\"ember-truth-helpers/helpers/lte\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.lte = lte;\n  function lte([left, right], hash) {\n    if (hash.forceNumber) {\n      if (typeof left !== 'number') {\n        left = Number(left);\n      }\n      if (typeof right !== 'number') {\n        right = Number(right);\n      }\n    }\n    return left <= right;\n  }\n  var _default = _exports.default = (0, _helper.helper)(lte);\n});","define(\"ember-truth-helpers/helpers/not-equal\", [\"exports\", \"@ember/component/helper\"], function (_exports, _helper) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.notEqualHelper = notEqualHelper;\n  function notEqualHelper(params) {\n    return params[0] !== params[1];\n  }\n  var _default = _exports.default = (0, _helper.helper)(notEqualHelper);\n});","define(\"ember-truth-helpers/helpers/not\", [\"exports\", \"@ember/component/helper\", \"ember-truth-helpers/utils/truth-convert\"], function (_exports, _helper, _truthConvert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.not = not;\n  function not(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if ((0, _truthConvert.default)(params[i]) === true) {\n        return false;\n      }\n    }\n    return true;\n  }\n  var _default = _exports.default = (0, _helper.helper)(not);\n});","define(\"ember-truth-helpers/helpers/or\", [\"exports\", \"@ember/component/helper\", \"ember-truth-helpers/utils/truth-convert\"], function (_exports, _helper, _truthConvert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.or = or;\n  function or(params) {\n    for (let i = 0, len = params.length; i < len; i++) {\n      if ((0, _truthConvert.default)(params[i]) === true) {\n        return params[i];\n      }\n    }\n    return params[params.length - 1];\n  }\n  var _default = _exports.default = (0, _helper.helper)(or);\n});","define(\"ember-truth-helpers/helpers/xor\", [\"exports\", \"@ember/component/helper\", \"ember-truth-helpers/utils/truth-convert\"], function (_exports, _helper, _truthConvert) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.xor = xor;\n  function xor(params) {\n    return (0, _truthConvert.default)(params[0]) !== (0, _truthConvert.default)(params[1]);\n  }\n  var _default = _exports.default = (0, _helper.helper)(xor);\n});","define(\"ember-truth-helpers/utils/truth-convert\", [\"exports\", \"@ember/array\", \"@ember/object\"], function (_exports, _array, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = truthConvert;\n  function truthConvert(result) {\n    const truthy = result && (0, _object.get)(result, 'isTruthy');\n    if (typeof truthy === 'boolean') {\n      return truthy;\n    }\n    if ((0, _array.isArray)(result)) {\n      return (0, _object.get)(result, 'length') !== 0;\n    } else {\n      return !!result;\n    }\n  }\n});","define(\"ember-useragent/helpers/user-agent\", [\"exports\", \"@ember/component/helper\", \"@ember/service\", \"@ember/object\"], function (_exports, _helper, _service, _object) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _helper.default.extend({\n    userAgent: (0, _service.inject)(),\n    compute([prop]) {\n      return (0, _object.get)(this, `userAgent.${prop}`);\n    }\n  });\n});","define(\"ember-useragent/instance-initializers/user-agent\", [\"exports\", \"@ember/object\", \"@ember/debug\"], function (_exports, _object, _debug) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  _exports.initialize = initialize;\n  /* global FastBoot */\n\n  function getUserAgent(appInstance) {\n    if (typeof FastBoot === 'undefined') {\n      const userAgent = (0, _object.get)(window, 'navigator.userAgent');\n      (false && !(userAgent) && (0, _debug.assert)('No `userAgent` present in window.navigator', userAgent));\n      return userAgent;\n    } else {\n      const fastboot = appInstance.lookup('service:fastboot');\n      const headers = (0, _object.get)(fastboot, 'request.headers');\n      const userAgent = headers.get('user-agent');\n      (false && !(userAgent) && (0, _debug.assert)('No `user-agent` present in FastBoot headers.', userAgent));\n      return userAgent;\n    }\n  }\n  function initialize(appInstance) {\n    const service = appInstance.lookup('service:user-agent');\n    (0, _object.set)(service, 'userAgent', getUserAgent(appInstance));\n  }\n  var _default = _exports.default = {\n    initialize\n  };\n});","define(\"ember-useragent/services/user-agent\", [\"exports\", \"@ember/service\", \"@ember/object\", \"@ember/application\", \"@ember/debug\", \"ua-parser-js\"], function (_exports, _service, _object, _application, _debug, _uaParserJs) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.default = void 0;\n  var _default = _exports.default = _service.default.extend({\n    _parser: (0, _object.computed)({\n      get() {\n        if (this.__parser) {\n          return this.__parser;\n        } else {\n          return new _uaParserJs.default();\n        }\n      },\n      set(key, value) {\n        this.__parser = value;\n        return this.__parser;\n      }\n    }),\n    parser: (0, _object.computed)('extensions', {\n      get() {\n        (false && !(false) && (0, _debug.deprecate)('Usage of the private property `parser` is deprecated. If you need to fiddle around with this private property, please open an issue and we can discuss.', false, {\n          id: 'ember-useragent.service.parser',\n          until: '1.0.0'\n        }));\n        return (0, _object.get)(this, '_parser');\n      }\n    }).readOnly(),\n    UAParser: (0, _object.computed)(function () {\n      (false && !(false) && (0, _debug.deprecate)('Usage of the property `UAParser` is deprecated. To get the UAParser class, import it as `import UAParser from \\'ua-parser-js\\';`. To get the instance of that class used by this service, as this property previously incorrectly returned, get the `parser` property.', false, {\n        id: 'ember-useragent.service.UAParser',\n        until: '1.0.0'\n      }));\n      return (0, _object.get)(this, '_parser');\n    }),\n    userAgent: (0, _object.computed)({\n      get() {\n        const parser = (0, _object.get)(this, '_parser');\n        return parser.getUA();\n      },\n      set(key, value) {\n        const parser = (0, _object.get)(this, '_parser');\n        parser.setUA(value);\n        (0, _object.set)(this, '__parser', parser);\n        return value;\n      }\n    }),\n    fastboot: (0, _object.computed)(function () {\n      (false && !(false) && (0, _debug.deprecate)('Usage of the private property `fastboot` is deprecated. Inject the `fastboot` service yourself instead.', false, {\n        id: 'ember-useragent.service.fastboot',\n        until: '1.0.0'\n      }));\n      return (0, _application.getOwner)(this).lookup('service:fastboot');\n    }),\n    isFastBoot: (0, _object.computed)(function () {\n      (false && !(false) && (0, _debug.deprecate)('Usage of the private property `isFastBoot` is deprecated. Inject the `fastboot` service yourself and get `fastboot.isFastBoot` instead.', false, {\n        id: 'ember-useragent.service.isFastBoot',\n        until: '1.0.0'\n      }));\n      const fastboot = (0, _application.getOwner)(this).lookup('service:fastboot');\n      return Boolean(fastboot && (0, _object.get)(fastboot, 'isFastBoot'));\n    }),\n    browser: (0, _object.computed)('_parser', function () {\n      const browser = (0, _object.get)(this, '_parser').getBrowser();\n      return {\n        info: browser,\n        isChrome: browser.name === 'Chrome',\n        isChromeHeadless: browser.name === 'Chrome Headless',\n        isEdge: browser.name === 'Edge',\n        isFirefox: browser.name === 'Firefox',\n        isIE: browser.name === 'IE' || browser.name === 'IE Mobile',\n        isSafari: browser.name === 'Safari' || browser.name === 'Mobile Safari'\n      };\n    }),\n    cpu: (0, _object.computed)('_parser', function () {\n      return (0, _object.get)(this, '_parser').getCPU();\n    }),\n    device: (0, _object.computed)('_parser', function () {\n      const device = (0, _object.get)(this, '_parser').getDevice();\n      return {\n        info: device,\n        isConsole: device.type === 'console',\n        isDesktop: !device.type,\n        isMobile: device.type === 'mobile',\n        isTablet: device.type === 'tablet'\n      };\n    }),\n    engine: (0, _object.computed)('_parser', function () {\n      const engine = (0, _object.get)(this, '_parser').getEngine();\n      return {\n        info: engine,\n        isWebkit: engine.name === 'WebKit'\n      };\n    }),\n    os: (0, _object.computed)('_parser', function () {\n      const os = (0, _object.get)(this, '_parser').getOS();\n      return {\n        info: os,\n        isAndroid: os.name === 'Android',\n        isIOS: os.name === 'iOS',\n        isLinux: ['CentOS', 'Fedora', 'Linpus', 'Linux', 'MeeGo', 'PCLinuxOS', 'RedHat', 'SUSE', 'Ubuntu', 'VectorLinux'].indexOf(os.name) > -1,\n        isMacOS: os.name === 'Mac OS',\n        isWindows: ['Windows', 'Windows Phone', 'Windows Mobile'].indexOf(os.name) > -1\n      };\n    }),\n    setupService() {\n      (false && !(false) && (0, _debug.deprecate)('Usage of the private method `setupService` is deprecated. To force an update, set the `userAgent` property.', false, {\n        id: 'ember-useragent.service.setupService',\n        until: '1.0.0'\n      }));\n      this.notifyPropertyChange('userAgent');\n    }\n  });\n});","define(\"tracked-maps-and-sets/-private/map\", [\"exports\", \"ember-tracked-storage-polyfill\"], function (_exports, _emberTrackedStoragePolyfill) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TrackedWeakMap = _exports.TrackedMap = void 0;\n  class TrackedMap {\n    constructor(existing) {\n      this.collection = (0, _emberTrackedStoragePolyfill.createStorage)(null, () => false);\n      this.storages = new Map();\n      // TypeScript doesn't correctly resolve the overloads for calling the `Map`\n      // constructor for the no-value constructor. This resolves that.\n      this.vals = existing ? new Map(existing) : new Map();\n    }\n    readStorageFor(key) {\n      const {\n        storages\n      } = this;\n      let storage = storages.get(key);\n      if (storage === undefined) {\n        storage = (0, _emberTrackedStoragePolyfill.createStorage)(null, () => false);\n        storages.set(key, storage);\n      }\n      (0, _emberTrackedStoragePolyfill.getValue)(storage);\n    }\n    dirtyStorageFor(key) {\n      const storage = this.storages.get(key);\n      if (storage) {\n        (0, _emberTrackedStoragePolyfill.setValue)(storage, null);\n      }\n    }\n    // **** KEY GETTERS ****\n    get(key) {\n      // entangle the storage for the key\n      this.readStorageFor(key);\n      return this.vals.get(key);\n    }\n    has(key) {\n      this.readStorageFor(key);\n      return this.vals.has(key);\n    }\n    // **** ALL GETTERS ****\n    entries() {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      return this.vals.entries();\n    }\n    keys() {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      return this.vals.keys();\n    }\n    values() {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      return this.vals.values();\n    }\n    forEach(fn) {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      this.vals.forEach(fn);\n    }\n    get size() {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      return this.vals.size;\n    }\n    [Symbol.iterator]() {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      return this.vals[Symbol.iterator]();\n    }\n    get [Symbol.toStringTag]() {\n      return this.vals[Symbol.toStringTag];\n    }\n    // **** KEY SETTERS ****\n    set(key, value) {\n      this.dirtyStorageFor(key);\n      (0, _emberTrackedStoragePolyfill.setValue)(this.collection, null);\n      this.vals.set(key, value);\n      return this;\n    }\n    delete(key) {\n      this.dirtyStorageFor(key);\n      (0, _emberTrackedStoragePolyfill.setValue)(this.collection, null);\n      return this.vals.delete(key);\n    }\n    // **** ALL SETTERS ****\n    clear() {\n      this.storages.forEach(s => (0, _emberTrackedStoragePolyfill.setValue)(s, null));\n      (0, _emberTrackedStoragePolyfill.setValue)(this.collection, null);\n      this.vals.clear();\n    }\n  }\n  // So instanceof works\n  _exports.TrackedMap = TrackedMap;\n  Object.setPrototypeOf(TrackedMap.prototype, Map.prototype);\n  class TrackedWeakMap {\n    constructor(existing) {\n      this.storages = new WeakMap();\n      // TypeScript doesn't correctly resolve the overloads for calling the `Map`\n      // constructor for the no-value constructor. This resolves that.\n      this.vals = existing ? new WeakMap(existing) : new WeakMap();\n    }\n    readStorageFor(key) {\n      const {\n        storages\n      } = this;\n      let storage = storages.get(key);\n      if (storage === undefined) {\n        storage = (0, _emberTrackedStoragePolyfill.createStorage)(null, () => false);\n        storages.set(key, storage);\n      }\n      (0, _emberTrackedStoragePolyfill.getValue)(storage);\n    }\n    dirtyStorageFor(key) {\n      const storage = this.storages.get(key);\n      if (storage) {\n        (0, _emberTrackedStoragePolyfill.setValue)(storage, null);\n      }\n    }\n    get(key) {\n      this.readStorageFor(key);\n      return this.vals.get(key);\n    }\n    has(key) {\n      this.readStorageFor(key);\n      return this.vals.has(key);\n    }\n    set(key, value) {\n      this.dirtyStorageFor(key);\n      this.vals.set(key, value);\n      return this;\n    }\n    delete(key) {\n      this.dirtyStorageFor(key);\n      return this.vals.delete(key);\n    }\n    get [Symbol.toStringTag]() {\n      return this.vals[Symbol.toStringTag];\n    }\n  }\n  // So instanceof works\n  _exports.TrackedWeakMap = TrackedWeakMap;\n  Object.setPrototypeOf(TrackedWeakMap.prototype, WeakMap.prototype);\n});","define(\"tracked-maps-and-sets/-private/set\", [\"exports\", \"ember-tracked-storage-polyfill\"], function (_exports, _emberTrackedStoragePolyfill) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  _exports.TrackedWeakSet = _exports.TrackedSet = void 0;\n  class TrackedSet {\n    constructor(existing) {\n      this.collection = (0, _emberTrackedStoragePolyfill.createStorage)(null, () => false);\n      this.storages = new Map();\n      this.vals = new Set(existing);\n    }\n    storageFor(key) {\n      const storages = this.storages;\n      let storage = storages.get(key);\n      if (storage === undefined) {\n        storage = (0, _emberTrackedStoragePolyfill.createStorage)(null, () => false);\n        storages.set(key, storage);\n      }\n      return storage;\n    }\n    dirtyStorageFor(key) {\n      const storage = this.storages.get(key);\n      if (storage) {\n        (0, _emberTrackedStoragePolyfill.setValue)(storage, null);\n      }\n    }\n    // **** KEY GETTERS ****\n    has(value) {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.storageFor(value));\n      return this.vals.has(value);\n    }\n    // **** ALL GETTERS ****\n    entries() {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      return this.vals.entries();\n    }\n    keys() {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      return this.vals.keys();\n    }\n    values() {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      return this.vals.values();\n    }\n    forEach(fn) {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      this.vals.forEach(fn);\n    }\n    get size() {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      return this.vals.size;\n    }\n    [Symbol.iterator]() {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.collection);\n      return this.vals[Symbol.iterator]();\n    }\n    get [Symbol.toStringTag]() {\n      return this.vals[Symbol.toStringTag];\n    }\n    // **** KEY SETTERS ****\n    add(value) {\n      this.dirtyStorageFor(value);\n      (0, _emberTrackedStoragePolyfill.setValue)(this.collection, null);\n      this.vals.add(value);\n      return this;\n    }\n    delete(value) {\n      this.dirtyStorageFor(value);\n      (0, _emberTrackedStoragePolyfill.setValue)(this.collection, null);\n      return this.vals.delete(value);\n    }\n    // **** ALL SETTERS ****\n    clear() {\n      this.storages.forEach(s => (0, _emberTrackedStoragePolyfill.setValue)(s, null));\n      (0, _emberTrackedStoragePolyfill.setValue)(this.collection, null);\n      this.vals.clear();\n    }\n  }\n  // So instanceof works\n  _exports.TrackedSet = TrackedSet;\n  Object.setPrototypeOf(TrackedSet.prototype, Set.prototype);\n  class TrackedWeakSet {\n    constructor(values) {\n      this.storages = new WeakMap();\n      this.vals = new WeakSet(values);\n    }\n    storageFor(key) {\n      const storages = this.storages;\n      let storage = storages.get(key);\n      if (storage === undefined) {\n        storage = (0, _emberTrackedStoragePolyfill.createStorage)(null, () => false);\n        storages.set(key, storage);\n      }\n      return storage;\n    }\n    dirtyStorageFor(key) {\n      const storage = this.storages.get(key);\n      if (storage) {\n        (0, _emberTrackedStoragePolyfill.setValue)(storage, null);\n      }\n    }\n    has(value) {\n      (0, _emberTrackedStoragePolyfill.getValue)(this.storageFor(value));\n      return this.vals.has(value);\n    }\n    add(value) {\n      // Add to vals first to get better error message\n      this.vals.add(value);\n      this.dirtyStorageFor(value);\n      return this;\n    }\n    delete(value) {\n      this.dirtyStorageFor(value);\n      return this.vals.delete(value);\n    }\n    get [Symbol.toStringTag]() {\n      return this.vals[Symbol.toStringTag];\n    }\n  }\n  // So instanceof works\n  _exports.TrackedWeakSet = TrackedWeakSet;\n  Object.setPrototypeOf(TrackedWeakSet.prototype, WeakSet.prototype);\n});","define(\"tracked-maps-and-sets/index\", [\"exports\", \"tracked-maps-and-sets/-private/map\", \"tracked-maps-and-sets/-private/set\"], function (_exports, _map, _set) {\n  \"use strict\";\n\n  Object.defineProperty(_exports, \"__esModule\", {\n    value: true\n  });\n  Object.defineProperty(_exports, \"TrackedMap\", {\n    enumerable: true,\n    get: function () {\n      return _map.TrackedMap;\n    }\n  });\n  Object.defineProperty(_exports, \"TrackedSet\", {\n    enumerable: true,\n    get: function () {\n      return _set.TrackedSet;\n    }\n  });\n  Object.defineProperty(_exports, \"TrackedWeakMap\", {\n    enumerable: true,\n    get: function () {\n      return _map.TrackedWeakMap;\n    }\n  });\n  Object.defineProperty(_exports, \"TrackedWeakSet\", {\n    enumerable: true,\n    get: function () {\n      return _set.TrackedWeakSet;\n    }\n  });\n});"],"mappings":"AAAAA,OAAAC,SAAA,SAAAA,EAAAC,GACA,QAAAC,KAAAD,EACAD,EAAAE,GAAAD,EAAAC,G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