UNPKG

2.34 MBSource Map (JSON)View Raw
1{"version":3,"sources":["license.js","loader.js","@ember/-internals/browser-environment/index.js","@ember/-internals/console/index.js","@ember/-internals/container/index.js","@ember/-internals/environment/index.js","@ember/-internals/error-handling/index.js","@ember/-internals/extension-support/index.js","@ember/-internals/extension-support/lib/container_debug_adapter.js","@ember/-internals/extension-support/lib/data_adapter.js","@ember/-internals/glimmer/index.js","@ember/-internals/meta/index.js","@ember/-internals/meta/lib/meta.js","@ember/-internals/metal/index.js","@ember/-internals/owner/index.js","@ember/-internals/routing/index.js","@ember/-internals/routing/lib/ext/controller.js","@ember/-internals/routing/lib/location/api.js","@ember/-internals/routing/lib/location/auto_location.js","@ember/-internals/routing/lib/location/hash_location.js","@ember/-internals/routing/lib/location/history_location.js","@ember/-internals/routing/lib/location/none_location.js","@ember/-internals/routing/lib/location/util.js","@ember/-internals/routing/lib/services/router.js","@ember/-internals/routing/lib/services/routing.js","@ember/-internals/routing/lib/system/cache.js","@ember/-internals/routing/lib/system/controller_for.js","@ember/-internals/routing/lib/system/dsl.js","@ember/-internals/routing/lib/system/engines.js","@ember/-internals/routing/lib/system/generate_controller.js","@ember/-internals/routing/lib/system/query_params.js","@ember/-internals/routing/lib/system/route-info.js","@ember/-internals/routing/lib/system/route.js","@ember/-internals/routing/lib/system/router.js","@ember/-internals/routing/lib/system/router_state.js","@ember/-internals/routing/lib/system/transition.js","@ember/-internals/routing/lib/utils.js","@ember/-internals/runtime/index.js","@ember/-internals/runtime/lib/compare.js","@ember/-internals/runtime/lib/copy.js","@ember/-internals/runtime/lib/ext/function.js","@ember/-internals/runtime/lib/ext/rsvp.js","@ember/-internals/runtime/lib/is-equal.js","@ember/-internals/runtime/lib/mixins/-proxy.js","@ember/-internals/runtime/lib/mixins/action_handler.js","@ember/-internals/runtime/lib/mixins/array.js","@ember/-internals/runtime/lib/mixins/comparable.js","@ember/-internals/runtime/lib/mixins/container_proxy.js","@ember/-internals/runtime/lib/mixins/copyable.js","@ember/-internals/runtime/lib/mixins/enumerable.js","@ember/-internals/runtime/lib/mixins/evented.js","@ember/-internals/runtime/lib/mixins/mutable_enumerable.js","@ember/-internals/runtime/lib/mixins/observable.js","@ember/-internals/runtime/lib/mixins/promise_proxy.js","@ember/-internals/runtime/lib/mixins/registry_proxy.js","@ember/-internals/runtime/lib/mixins/target_action_support.js","@ember/-internals/runtime/lib/system/array_proxy.js","@ember/-internals/runtime/lib/system/core_object.js","@ember/-internals/runtime/lib/system/namespace.js","@ember/-internals/runtime/lib/system/object.js","@ember/-internals/runtime/lib/system/object_proxy.js","@ember/-internals/runtime/lib/type-of.js","@ember/-internals/utils/index.js","@ember/-internals/views/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/text_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/jquery.js","@ember/-internals/views/lib/system/jquery_event_deprecation.js","@ember/-internals/views/lib/system/utils.js","@ember/-internals/views/lib/views/core_view.js","@ember/-internals/views/lib/views/states.js","@ember/-internals/views/lib/views/states/default.js","@ember/-internals/views/lib/views/states/destroying.js","@ember/-internals/views/lib/views/states/has_element.js","@ember/-internals/views/lib/views/states/in_dom.js","@ember/-internals/views/lib/views/states/pre_render.js","@ember/application/globals-resolver.js","@ember/application/index.js","@ember/application/instance.js","@ember/application/lib/application.js","@ember/application/lib/lazy_load.js","@ember/canary-features/index.js","@ember/component/index.js","@ember/component/template-only.js","@ember/controller/index.js","@ember/controller/lib/controller_mixin.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/testing.js","@ember/debug/lib/warn.js","@ember/deprecated-features/index.js","@ember/engine/index.js","@ember/engine/instance.js","@ember/engine/lib/engine-parent.js","@ember/error/index.js","@ember/instrumentation/index.js","@ember/modifier/index.js","@ember/object/compat.js","@ember/object/computed.js","@ember/object/index.js","@ember/object/lib/computed/computed_macros.js","@ember/object/lib/computed/reduce_computed_macros.js","@ember/polyfills/index.js","@ember/polyfills/lib/assign.js","@ember/polyfills/lib/merge.js","@ember/polyfills/lib/weak_set.js","@ember/runloop/index.js","@ember/service/index.js","@ember/string/index.js","@ember/string/lib/string_registry.js","@glimmer/encoder.js","@glimmer/env.js","@glimmer/low-level.js","@glimmer/node.js","@glimmer/opcode-compiler.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-testing/index.js","ember-testing/lib/adapters/adapter.js","ember-testing/lib/adapters/qunit.js","ember-testing/lib/events.js","ember-testing/lib/ext/application.js","ember-testing/lib/ext/rsvp.js","ember-testing/lib/helpers.js","ember-testing/lib/helpers/-is-form-control.js","ember-testing/lib/helpers/and_then.js","ember-testing/lib/helpers/click.js","ember-testing/lib/helpers/current_path.js","ember-testing/lib/helpers/current_route_name.js","ember-testing/lib/helpers/current_url.js","ember-testing/lib/helpers/fill_in.js","ember-testing/lib/helpers/find.js","ember-testing/lib/helpers/find_with_assert.js","ember-testing/lib/helpers/key_event.js","ember-testing/lib/helpers/pause_test.js","ember-testing/lib/helpers/trigger_event.js","ember-testing/lib/helpers/visit.js","ember-testing/lib/helpers/wait.js","ember-testing/lib/initializers.js","ember-testing/lib/setup_for_testing.js","ember-testing/lib/support.js","ember-testing/lib/test.js","ember-testing/lib/test/adapter.js","ember-testing/lib/test/helpers.js","ember-testing/lib/test/on_inject_helpers.js","ember-testing/lib/test/pending_requests.js","ember-testing/lib/test/promise.js","ember-testing/lib/test/run.js","ember-testing/lib/test/waiters.js","ember/index.js","ember/version.js","node-module/index.js","route-recognizer.js","router_js.js","rsvp.js"],"sourcesContent":["/*!\n * @overview Ember - JavaScript Application Framework\n * @copyright Copyright 2011-2020 Tilde Inc. and contributors\n * Portions Copyright 2006-2011 Strobe Inc.\n * Portions Copyright 2008-2011 Apple Inc. All rights reserved.\n * @license Licensed under MIT license\n * See https://raw.github.com/emberjs/ember.js/master/LICENSE\n * @version 3.20.7\n */","/*globals process */\nvar define, require, Ember; // Used in @ember/-internals/environment/lib/global.js\n\n\nmainContext = this; // eslint-disable-line no-undef\n\n(function () {\n var registry;\n var seen;\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] = internalRequire(deps[i], name);\n }\n }\n\n callback.apply(this, reified);\n return exports;\n }\n\n var isNode = typeof window === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n\n if (!isNode) {\n Ember = this.Ember = this.Ember || {};\n }\n\n if (typeof Ember === 'undefined') {\n Ember = {};\n }\n\n if (typeof Ember.__loader === 'undefined') {\n registry = Object.create(null);\n seen = Object.create(null);\n\n define = function (name, deps, callback) {\n var value = {};\n\n if (!callback) {\n value.deps = [];\n value.callback = deps;\n } else {\n value.deps = deps;\n value.callback = callback;\n }\n\n registry[name] = value;\n };\n\n require = function (name) {\n return internalRequire(name, null);\n }; // setup `require` module\n\n\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 = registry;\n Ember.__loader = {\n define: define,\n require: require,\n registry: registry\n };\n } else {\n define = Ember.__loader.define;\n require = Ember.__loader.require;\n }\n})();","define(\"@ember/-internals/browser-environment/index\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.hasDOM = _exports.isFirefox = _exports.isChrome = _exports.userAgent = _exports.history = _exports.location = _exports.window = void 0;\n // check if window exists and actually is the global\n var 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 _exports.hasDOM = hasDom;\n var window = hasDom ? self : null;\n _exports.window = window;\n var location$1 = hasDom ? self.location : null;\n _exports.location = location$1;\n var history$1 = hasDom ? self.history : null;\n _exports.history = history$1;\n var userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\n _exports.userAgent = userAgent;\n var isChrome = hasDom ? Boolean(window.chrome) && !window.opera : false;\n _exports.isChrome = isChrome;\n var isFirefox = hasDom ? typeof InstallTrigger !== 'undefined' : false;\n _exports.isFirefox = isFirefox;\n});","define(\"@ember/-internals/console/index\", [\"exports\", \"@ember/debug\", \"@ember/deprecated-features\"], function (_exports, _debug, _deprecatedFeatures) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n // Deliver message that the function is deprecated\n var DEPRECATION_MESSAGE = 'Use of Ember.Logger is deprecated. Please use `console` for logging.';\n var DEPRECATION_ID = 'ember-console.deprecate-logger';\n var DEPRECATION_URL = 'https://emberjs.com/deprecations/v3.x#toc_use-console-rather-than-ember-logger';\n /**\n @module ember\n */\n\n /**\n Inside Ember-Metal, simply uses the methods from `imports.console`.\n Override this to provide more robust logging functionality.\n \n @class Logger\n @deprecated Use 'console' instead\n \n @namespace Ember\n @public\n */\n\n var DEPRECATED_LOGGER;\n\n if (_deprecatedFeatures.LOGGER) {\n DEPRECATED_LOGGER = {\n /**\n Logs the arguments to the console.\n You can pass as many arguments as you want and they will be joined together with a space.\n ```javascript\n var foo = 1;\n Ember.Logger.log('log value of foo:', foo);\n // \"log value of foo: 1\" will be printed to the console\n ```\n @method log\n @for Ember.Logger\n @param {*} arguments\n @public\n */\n log() {\n (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n }));\n return console.log(...arguments); // eslint-disable-line no-console\n },\n\n /**\n Prints the arguments to the console with a warning icon.\n You can pass as many arguments as you want and they will be joined together with a space.\n ```javascript\n Ember.Logger.warn('Something happened!');\n // \"Something happened!\" will be printed to the console with a warning icon.\n ```\n @method warn\n @for Ember.Logger\n @param {*} arguments\n @public\n */\n warn() {\n (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n }));\n return console.warn(...arguments); // eslint-disable-line no-console\n },\n\n /**\n Prints the arguments to the console with an error icon, red text and a stack trace.\n You can pass as many arguments as you want and they will be joined together with a space.\n ```javascript\n Ember.Logger.error('Danger! Danger!');\n // \"Danger! Danger!\" will be printed to the console in red text.\n ```\n @method error\n @for Ember.Logger\n @param {*} arguments\n @public\n */\n error() {\n (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n }));\n return console.error(...arguments); // eslint-disable-line no-console\n },\n\n /**\n Logs the arguments to the console.\n You can pass as many arguments as you want and they will be joined together with a space.\n ```javascript\n var foo = 1;\n Ember.Logger.info('log value of foo:', foo);\n // \"log value of foo: 1\" will be printed to the console\n ```\n @method info\n @for Ember.Logger\n @param {*} arguments\n @public\n */\n info() {\n (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n }));\n return console.info(...arguments); // eslint-disable-line no-console\n },\n\n /**\n Logs the arguments to the console in blue text.\n You can pass as many arguments as you want and they will be joined together with a space.\n ```javascript\n var foo = 1;\n Ember.Logger.debug('log value of foo:', foo);\n // \"log value of foo: 1\" will be printed to the console\n ```\n @method debug\n @for Ember.Logger\n @param {*} arguments\n @public\n */\n debug() {\n (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n }));\n /* eslint-disable no-console */\n\n if (console.debug) {\n return console.debug(...arguments);\n }\n\n return console.info(...arguments);\n /* eslint-enable no-console */\n },\n\n /**\n If the value passed into `Ember.Logger.assert` is not truthy it will throw an error with a stack trace.\n ```javascript\n Ember.Logger.assert(true); // undefined\n Ember.Logger.assert(true === false); // Throws an Assertion failed error.\n Ember.Logger.assert(true === false, 'Something invalid'); // Throws an Assertion failed error with message.\n ```\n @method assert\n @for Ember.Logger\n @param {Boolean} bool Value to test\n @param {String} message Assertion message on failed\n @public\n */\n assert() {\n (true && !(false) && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n }));\n return console.assert(...arguments); // eslint-disable-line no-console\n }\n\n };\n }\n\n var _default = DEPRECATED_LOGGER;\n _exports.default = _default;\n});","define(\"@ember/-internals/container/index\", [\"exports\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/polyfills\"], function (_exports, _owner, _utils, _debug, _polyfills) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.privatize = privatize;\n _exports.getFactoryFor = getFactoryFor;\n _exports.setFactoryFor = setFactoryFor;\n _exports.INIT_FACTORY = _exports.Container = _exports.Registry = void 0;\n var leakTracking;\n var containers;\n\n if (true\n /* DEBUG */\n ) {\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 var GetWeakSetValues = new Function('weakSet', 'return %GetWeakSetValues(weakSet, 0)');\n containers = new WeakSet();\n return {\n hasContainers() {\n gc();\n return GetWeakSetValues(containers).length > 0;\n },\n\n reset() {\n var values = GetWeakSetValues(containers);\n\n for (var i = 0; i < values.length; i++) {\n containers.delete(values[i]);\n }\n }\n\n };\n })();\n }\n } catch (e) {// 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 */\n\n\n class Container {\n constructor(registry, options = {}) {\n this.registry = registry;\n this.owner = options.owner || null;\n this.cache = (0, _utils.dictionary)(options.cache || null);\n this.factoryManagerCache = (0, _utils.dictionary)(options.factoryManagerCache || null);\n this.isDestroyed = false;\n this.isDestroying = false;\n\n if (true\n /* DEBUG */\n ) {\n this.validationCache = (0, _utils.dictionary)(options.validationCache || null);\n\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 /**\n @private\n @property cache\n @type InheritingDict\n */\n\n /**\n @private\n @property validationCache\n @type InheritingDict\n */\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 {Object} [options]\n @param {String} [options.source] The fullname of the request source (used for local lookup)\n @return {any}\n */\n\n\n lookup(fullName, options) {\n if (this.isDestroyed) {\n throw new Error(`Can not call \\`.lookup\\` after the owner has been destroyed`);\n }\n\n (true && !(this.registry.isValidFullName(fullName)) && (0, _debug.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\n\n destroy() {\n this.isDestroying = true;\n destroyDestroyables(this);\n }\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\n\n reset(fullName) {\n if (this.isDestroyed) return;\n\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\n\n ownerInjection() {\n var injection = {};\n (0, _owner.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 @param {Object} [options]\n @param {String} [options.source] The fullname of the request source (used for local lookup)\n @return {any}\n */\n\n\n factoryFor(fullName, options = {}) {\n if (this.isDestroyed) {\n throw new Error(`Can not call \\`.factoryFor\\` after the owner has been destroyed`);\n }\n\n var normalizedName = this.registry.normalize(fullName);\n (true && !(this.registry.isValidFullName(normalizedName)) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(normalizedName)));\n (true && !(false\n /* EMBER_MODULE_UNIFICATION */\n || !options.namespace) && (0, _debug.assert)('EMBER_MODULE_UNIFICATION must be enabled to pass a namespace option to factoryFor', false || !options.namespace));\n\n if (options.source || options.namespace) {\n normalizedName = this.registry.expandLocalLookup(fullName, options);\n\n if (!normalizedName) {\n return;\n }\n }\n\n return factoryFor(this, normalizedName, fullName);\n }\n\n }\n\n _exports.Container = Container;\n\n if (true\n /* DEBUG */\n ) {\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 */\n\n\n function wrapManagerInDeprecationProxy(manager) {\n if (_utils.HAS_NATIVE_PROXY) {\n var validator = {\n set(_obj, prop) {\n throw new Error(`You attempted to set \"${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\n var m = manager;\n var proxiedManager = {\n class: m.class,\n\n create(props) {\n return m.create(props);\n }\n\n };\n return new Proxy(proxiedManager, validator);\n }\n\n return manager;\n }\n\n function isSingleton(container, fullName) {\n return container.registry.getOption(fullName, 'singleton') !== false;\n }\n\n function isInstantiatable(container, fullName) {\n return container.registry.getOption(fullName, 'instantiate') !== false;\n }\n\n function lookup(container, fullName, options = {}) {\n (true && !(false\n /* EMBER_MODULE_UNIFICATION */\n || !options.namespace) && (0, _debug.assert)('EMBER_MODULE_UNIFICATION must be enabled to pass a namespace option to lookup', false || !options.namespace));\n var normalizedName = fullName;\n\n if (options.source || options.namespace) {\n normalizedName = container.registry.expandLocalLookup(fullName, options);\n\n if (!normalizedName) {\n return;\n }\n }\n\n if (options.singleton !== false) {\n var cached = container.cache[normalizedName];\n\n if (cached !== undefined) {\n return cached;\n }\n }\n\n return instantiateFactory(container, normalizedName, fullName, options);\n }\n\n function factoryFor(container, normalizedName, fullName) {\n var cached = container.factoryManagerCache[normalizedName];\n\n if (cached !== undefined) {\n return cached;\n }\n\n var factory = container.registry.resolve(normalizedName);\n\n if (factory === undefined) {\n return;\n }\n\n if (true\n /* DEBUG */\n && factory && typeof factory._onLookup === 'function') {\n factory._onLookup(fullName);\n }\n\n var manager = new FactoryManager(container, factory, fullName, normalizedName);\n\n if (true\n /* DEBUG */\n ) {\n manager = wrapManagerInDeprecationProxy(manager);\n }\n\n container.factoryManagerCache[normalizedName] = manager;\n return manager;\n }\n\n function isSingletonClass(container, fullName, {\n instantiate,\n singleton\n }) {\n return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n }\n\n function isSingletonInstance(container, fullName, {\n instantiate,\n singleton\n }) {\n return singleton !== false && instantiate !== false && isSingleton(container, fullName) && isInstantiatable(container, fullName);\n }\n\n function isFactoryClass(container, fullname, {\n instantiate,\n singleton\n }) {\n return instantiate === false && (singleton === false || !isSingleton(container, fullname)) && !isInstantiatable(container, fullname);\n }\n\n function isFactoryInstance(container, fullName, {\n instantiate,\n singleton\n }) {\n return instantiate !== false && (singleton !== false || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n }\n\n function instantiateFactory(container, normalizedName, fullName, options) {\n var factoryManager = factoryFor(container, normalizedName, fullName);\n\n if (factoryManager === undefined) {\n return;\n } // SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n // By default majority of objects fall into this case\n\n\n if (isSingletonInstance(container, fullName, options)) {\n var instance = container.cache[normalizedName] = factoryManager.create(); // if this lookup happened _during_ destruction (emits a deprecation, but\n // is still possible) ensure that it gets destroyed\n\n if (container.isDestroying) {\n if (typeof instance.destroy === 'function') {\n instance.destroy();\n }\n }\n\n return instance;\n } // SomeClass { singleton: false, instantiate: true }\n\n\n if (isFactoryInstance(container, fullName, options)) {\n return factoryManager.create();\n } // SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\n\n\n if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n return factoryManager.class;\n }\n\n throw new Error('Could not create factory');\n }\n\n function processInjections(container, injections, result) {\n if (true\n /* DEBUG */\n ) {\n container.registry.validateInjections(injections);\n }\n\n var hash = result.injections;\n\n for (var i = 0; i < injections.length; i++) {\n var {\n property,\n specifier,\n source\n } = injections[i];\n\n if (source) {\n hash[property] = lookup(container, specifier, {\n source\n });\n } else {\n hash[property] = lookup(container, specifier);\n }\n\n if (!result.isDynamic) {\n result.isDynamic = !isSingleton(container, specifier);\n }\n }\n }\n\n function buildInjections(container, typeInjections, injections) {\n var injectionsHash = {};\n (0, _owner.setOwner)(injectionsHash, container.owner);\n var result = {\n injections: injectionsHash,\n isDynamic: false\n };\n\n if (typeInjections !== undefined) {\n processInjections(container, typeInjections, result);\n }\n\n if (injections !== undefined) {\n processInjections(container, injections, result);\n }\n\n return result;\n }\n\n function injectionsFor(container, fullName) {\n var registry = container.registry;\n var [type] = fullName.split(':');\n var typeInjections = registry.getTypeInjections(type);\n var injections = registry.getInjections(fullName);\n return buildInjections(container, typeInjections, injections);\n }\n\n function destroyDestroyables(container) {\n var cache = container.cache;\n var keys = Object.keys(cache);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = cache[key];\n\n if (value.destroy) {\n value.destroy();\n }\n }\n }\n\n function resetCache(container) {\n container.cache = (0, _utils.dictionary)(null);\n container.factoryManagerCache = (0, _utils.dictionary)(null);\n }\n\n function resetMember(container, fullName) {\n var member = container.cache[fullName];\n delete container.factoryManagerCache[fullName];\n\n if (member) {\n delete container.cache[fullName];\n\n if (member.destroy) {\n member.destroy();\n }\n }\n }\n\n var INIT_FACTORY = (0, _utils.symbol)('INIT_FACTORY');\n _exports.INIT_FACTORY = INIT_FACTORY;\n\n function getFactoryFor(obj) {\n return obj[INIT_FACTORY];\n }\n\n function setFactoryFor(obj, factory) {\n obj[INIT_FACTORY] = factory;\n }\n\n class FactoryManager {\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 setFactoryFor(this, this);\n }\n\n toString() {\n if (this.madeToString === undefined) {\n this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n }\n\n return this.madeToString;\n }\n\n create(options) {\n var {\n container\n } = this;\n\n if (container.isDestroyed) {\n throw new Error(`Can not create new instances after the owner has been destroyed (you attempted to create ${this.fullName})`);\n }\n\n var props = this.injections;\n\n if (props === undefined) {\n var {\n injections,\n isDynamic\n } = injectionsFor(this.container, this.normalizedName);\n setFactoryFor(injections, this);\n props = injections;\n\n if (!isDynamic) {\n this.injections = injections;\n }\n }\n\n if (options !== undefined) {\n props = (0, _polyfills.assign)({}, props, options);\n }\n\n if (true\n /* DEBUG */\n ) {\n var lazyInjections;\n var validationCache = this.container.validationCache; // Ensure that all lazy injections are valid at instantiation time\n\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\n validationCache[this.fullName] = true;\n (true && !(typeof this.class.create === 'function') && (0, _debug.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\n return this.class.create(props);\n }\n\n }\n\n var 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 */\n\n class Registry {\n constructor(options = {}) {\n this.fallback = options.fallback || null;\n this.resolver = options.resolver || null;\n this.registrations = (0, _utils.dictionary)(options.registrations || null);\n this._typeInjections = (0, _utils.dictionary)(null);\n this._injections = (0, _utils.dictionary)(null);\n this._localLookupCache = Object.create(null);\n this._normalizeCache = (0, _utils.dictionary)(null);\n this._resolveCache = (0, _utils.dictionary)(null);\n this._failSet = new Set();\n this._options = (0, _utils.dictionary)(null);\n this._typeOptions = (0, _utils.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 /**\n An object that has a `resolve` method that resolves a name.\n @private\n @property resolver\n @type Resolver\n */\n\n /**\n @private\n @property registrations\n @type InheritingDict\n */\n\n /**\n @private\n @property _typeInjections\n @type InheritingDict\n */\n\n /**\n @private\n @property _injections\n @type InheritingDict\n */\n\n /**\n @private\n @property _normalizeCache\n @type InheritingDict\n */\n\n /**\n @private\n @property _resolveCache\n @type InheritingDict\n */\n\n /**\n @private\n @property _options\n @type InheritingDict\n */\n\n /**\n @private\n @property _typeOptions\n @type InheritingDict\n */\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\n\n container(options) {\n return new Container(this, options);\n }\n /**\n Registers a factory for later injection.\n Example:\n ```javascript\n let registry = new Registry();\n registry.register('model:user', Person, {singleton: false });\n registry.register('fruit:favorite', Orange);\n registry.register('communication:main', Email, {singleton: false});\n ```\n @private\n @method register\n @param {String} fullName\n @param {Function} factory\n @param {Object} options\n */\n\n\n register(fullName, factory, options = {}) {\n (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n (true && !(factory !== undefined) && (0, _debug.assert)(`Attempting to register an unknown factory: '${fullName}'`, factory !== undefined));\n var normalizedName = this.normalize(fullName);\n (true && !(!this._resolveCache[normalizedName]) && (0, _debug.assert)(`Cannot re-register: '${fullName}', as it has already been resolved.`, !this._resolveCache[normalizedName]));\n\n this._failSet.delete(normalizedName);\n\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\n\n unregister(fullName) {\n (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n var normalizedName = this.normalize(fullName);\n this._localLookupCache = Object.create(null);\n delete this.registrations[normalizedName];\n delete this._resolveCache[normalizedName];\n delete this._options[normalizedName];\n\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 @param {Object} [options]\n @param {String} [options.source] the fullname of the request source (used for local lookups)\n @return {Function} fullName's factory\n */\n\n\n resolve(fullName, options) {\n var factory = resolve(this, this.normalize(fullName), options);\n\n if (factory === undefined && this.fallback !== null) {\n factory = this.fallback.resolve(...arguments);\n }\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\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\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\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\n\n makeToString(factory, fullName) {\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 factory.toString();\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\n\n has(fullName, options) {\n if (!this.isValidFullName(fullName)) {\n return false;\n }\n\n var source = options && options.source && this.normalize(options.source);\n var namespace = options && options.namespace || undefined;\n return has(this, this.normalize(fullName), source, namespace);\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\n\n optionsForType(type, options) {\n this._typeOptions[type] = options;\n }\n\n getOptionsForType(type) {\n var optionsForType = this._typeOptions[type];\n\n if (optionsForType === undefined && this.fallback !== null) {\n optionsForType = this.fallback.getOptionsForType(type);\n }\n\n return optionsForType;\n }\n /**\n @private\n @method options\n @param {String} fullName\n @param {Object} options\n */\n\n\n options(fullName, options) {\n var normalizedName = this.normalize(fullName);\n this._options[normalizedName] = options;\n }\n\n getOptions(fullName) {\n var normalizedName = this.normalize(fullName);\n var options = this._options[normalizedName];\n\n if (options === undefined && this.fallback !== null) {\n options = this.fallback.getOptions(fullName);\n }\n\n return options;\n }\n\n getOption(fullName, optionName) {\n var options = this._options[fullName];\n\n if (options !== undefined && options[optionName] !== undefined) {\n return options[optionName];\n }\n\n var type = fullName.split(':')[0];\n options = this._typeOptions[type];\n\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\n return undefined;\n }\n /**\n Used only via `injection`.\n Provides a specialized form of injection, specifically enabling\n all objects of one type to be injected with a reference to another\n object.\n For example, provided each object of type `controller` needed a `router`.\n one would do the following:\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n registry.register('router:main', Router);\n registry.register('controller:user', UserController);\n registry.register('controller:post', PostController);\n registry.typeInjection('controller', 'router', 'router:main');\n let user = container.lookup('controller:user');\n let post = container.lookup('controller:post');\n user.router instanceof Router; //=> true\n post.router instanceof Router; //=> true\n // both controllers share the same router\n user.router === post.router; //=> true\n ```\n @private\n @method typeInjection\n @param {String} type\n @param {String} property\n @param {String} fullName\n */\n\n\n typeInjection(type, property, fullName) {\n (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n var fullNameType = fullName.split(':')[0];\n (true && !(fullNameType !== type) && (0, _debug.assert)(`Cannot inject a '${fullName}' on other ${type}(s).`, fullNameType !== type));\n var injections = this._typeInjections[type] || (this._typeInjections[type] = []);\n injections.push({\n property,\n specifier: fullName\n });\n }\n /**\n Defines injection rules.\n These rules are used to inject dependencies onto objects when they\n are instantiated.\n Two forms of injections are possible:\n * Injecting one fullName on another fullName\n * Injecting one fullName on a type\n Example:\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n registry.register('source:main', Source);\n registry.register('model:user', User);\n registry.register('model:post', Post);\n // injecting one fullName on another fullName\n // eg. each user model gets a post model\n registry.injection('model:user', 'post', 'model:post');\n // injecting one fullName on another type\n registry.injection('model', 'source', 'source:main');\n let user = container.lookup('model:user');\n let post = container.lookup('model:post');\n user.source instanceof Source; //=> true\n post.source instanceof Source; //=> true\n user.post instanceof Post; //=> true\n // and both models share the same source\n user.source === post.source; //=> true\n ```\n @private\n @method injection\n @param {String} factoryName\n @param {String} property\n @param {String} injectionName\n */\n\n\n injection(fullName, property, injectionName) {\n (true && !(this.isValidFullName(injectionName)) && (0, _debug.assert)(`Invalid injectionName, expected: 'type:name' got: ${injectionName}`, this.isValidFullName(injectionName)));\n var normalizedInjectionName = this.normalize(injectionName);\n\n if (fullName.indexOf(':') === -1) {\n return this.typeInjection(fullName, property, normalizedInjectionName);\n }\n\n (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n var normalizedName = this.normalize(fullName);\n var injections = this._injections[normalizedName] || (this._injections[normalizedName] = []);\n injections.push({\n property,\n specifier: normalizedInjectionName\n });\n }\n /**\n @private\n @method knownForType\n @param {String} type the type to iterate over\n */\n\n\n knownForType(type) {\n var localKnown = (0, _utils.dictionary)(null);\n var registeredNames = Object.keys(this.registrations);\n\n for (var index = 0; index < registeredNames.length; index++) {\n var fullName = registeredNames[index];\n var itemType = fullName.split(':')[0];\n\n if (itemType === type) {\n localKnown[fullName] = true;\n }\n }\n\n var fallbackKnown, resolverKnown;\n\n if (this.fallback !== null) {\n fallbackKnown = this.fallback.knownForType(type);\n }\n\n if (this.resolver !== null && this.resolver.knownForType) {\n resolverKnown = this.resolver.knownForType(type);\n }\n\n return (0, _polyfills.assign)({}, fallbackKnown, localKnown, resolverKnown);\n }\n\n isValidFullName(fullName) {\n return VALID_FULL_NAME_REGEXP.test(fullName);\n }\n\n getInjections(fullName) {\n var injections = this._injections[fullName];\n\n if (this.fallback !== null) {\n var fallbackInjections = this.fallback.getInjections(fullName);\n\n if (fallbackInjections !== undefined) {\n injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n }\n }\n\n return injections;\n }\n\n getTypeInjections(type) {\n var injections = this._typeInjections[type];\n\n if (this.fallback !== null) {\n var fallbackInjections = this.fallback.getTypeInjections(type);\n\n if (fallbackInjections !== undefined) {\n injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n }\n }\n\n return injections;\n }\n /**\n Given a fullName and a source fullName returns the fully resolved\n fullName. Used to allow for local lookup.\n ```javascript\n let registry = new Registry();\n // the twitter factory is added to the module system\n registry.expandLocalLookup('component:post-title', { source: 'template:post' }) // => component:post/post-title\n ```\n @private\n @method expandLocalLookup\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 {String} fullName\n */\n\n\n expandLocalLookup(fullName, options) {\n if (this.resolver !== null && this.resolver.expandLocalLookup) {\n (true && !(this.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName)));\n (true && !(!options.source || this.isValidFullName(options.source)) && (0, _debug.assert)('options.source must be a proper full name', !options.source || this.isValidFullName(options.source)));\n var normalizedFullName = this.normalize(fullName);\n var normalizedSource = this.normalize(options.source);\n return expandLocalLookup(this, normalizedFullName, normalizedSource, options.namespace);\n } else if (this.fallback !== null) {\n return this.fallback.expandLocalLookup(fullName, options);\n } else {\n return null;\n }\n }\n\n }\n\n _exports.Registry = Registry;\n\n if (true\n /* DEBUG */\n ) {\n var proto = Registry.prototype;\n\n proto.normalizeInjectionsHash = function (hash) {\n var injections = [];\n\n for (var key in hash) {\n if (Object.prototype.hasOwnProperty.call(hash, key)) {\n var {\n specifier,\n source,\n namespace\n } = hash[key];\n (true && !(this.isValidFullName(specifier)) && (0, _debug.assert)(`Expected a proper full name, given '${specifier}'`, this.isValidFullName(specifier)));\n injections.push({\n property: key,\n specifier,\n source,\n namespace\n });\n }\n }\n\n return injections;\n };\n\n proto.validateInjections = function (injections) {\n if (!injections) {\n return;\n }\n\n for (var i = 0; i < injections.length; i++) {\n var {\n specifier,\n source,\n namespace\n } = injections[i];\n (true && !(this.has(specifier, {\n source,\n namespace\n })) && (0, _debug.assert)(`Attempting to inject an unknown injection: '${specifier}'`, this.has(specifier, {\n source,\n namespace\n })));\n }\n };\n }\n\n function expandLocalLookup(registry, normalizedName, normalizedSource, namespace) {\n var cache = registry._localLookupCache;\n var normalizedNameCache = cache[normalizedName];\n\n if (!normalizedNameCache) {\n normalizedNameCache = cache[normalizedName] = Object.create(null);\n }\n\n var cacheKey = namespace || normalizedSource;\n var cached = normalizedNameCache[cacheKey];\n\n if (cached !== undefined) {\n return cached;\n }\n\n var expanded = registry.resolver.expandLocalLookup(normalizedName, normalizedSource, namespace);\n return normalizedNameCache[cacheKey] = expanded;\n }\n\n function resolve(registry, _normalizedName, options) {\n var normalizedName = _normalizedName; // when `source` is provided expand normalizedName\n // and source into the full normalizedName\n\n if (options !== undefined && (options.source || options.namespace)) {\n normalizedName = registry.expandLocalLookup(_normalizedName, options);\n\n if (!normalizedName) {\n return;\n }\n }\n\n var cached = registry._resolveCache[normalizedName];\n\n if (cached !== undefined) {\n return cached;\n }\n\n if (registry._failSet.has(normalizedName)) {\n return;\n }\n\n var resolved;\n\n if (registry.resolver) {\n resolved = registry.resolver.resolve(normalizedName);\n }\n\n if (resolved === undefined) {\n resolved = registry.registrations[normalizedName];\n }\n\n if (resolved === undefined) {\n registry._failSet.add(normalizedName);\n } else {\n registry._resolveCache[normalizedName] = resolved;\n }\n\n return resolved;\n }\n\n function has(registry, fullName, source, namespace) {\n return registry.resolve(fullName, {\n source,\n namespace\n }) !== undefined;\n }\n\n var privateNames = (0, _utils.dictionary)(null);\n var privateSuffix = `${Math.random()}${Date.now()}`.replace('.', '');\n\n function privatize([fullName]) {\n var name = privateNames[fullName];\n\n if (name) {\n return name;\n }\n\n var [type, rawName] = fullName.split(':');\n return privateNames[fullName] = (0, _utils.intern)(`${type}:${rawName}-${privateSuffix}`);\n }\n /*\n Public API for the container is still in flux.\n The public API, specified on the application namespace should be considered the stable API.\n // @module container\n @private\n */\n\n});","define(\"@ember/-internals/environment/index\", [\"exports\", \"@ember/deprecated-features\"], function (_exports, _deprecatedFeatures) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.getLookup = getLookup;\n _exports.setLookup = setLookup;\n _exports.getENV = getENV;\n _exports.ENV = _exports.context = _exports.global = void 0;\n\n // from lodash to catch fake globals\n function checkGlobal(value) {\n return value && value.Object === Object ? value : undefined;\n } // element ids can ruin global miss checks\n\n\n function checkElementIdShadowing(value) {\n return value && value.nodeType === undefined ? value : undefined;\n } // export real global\n\n\n var global$1 = checkGlobal(checkElementIdShadowing(typeof global === 'object' && global)) || checkGlobal(typeof self === 'object' && self) || checkGlobal(typeof window === 'object' && window) || typeof mainContext !== 'undefined' && mainContext || // set before strict mode in Ember loader/wrapper\n new Function('return this')(); // eval outside of strict mode\n\n _exports.global = global$1;\n\n var 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);\n\n _exports.context = context;\n\n function getLookup() {\n return context.lookup;\n }\n\n function setLookup(value) {\n context.lookup = value;\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 */\n\n\n var ENV = {\n ENABLE_OPTIONAL_FEATURES: false,\n\n /**\n Determines whether Ember should add to `Array`, `Function`, and `String`\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 Function: true,\n String: true\n },\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 /**\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 /**\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 /**\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 /**\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: true\n /* DEBUG */\n ,\n\n /**\n Whether the app is using jQuery. See RFC #294.\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 _JQUERY_INTEGRATION\n @for EmberENV\n @type Boolean\n @default true\n @private\n */\n _JQUERY_INTEGRATION: true,\n\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 /**\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 _exports.ENV = ENV;\n\n (EmberENV => {\n if (typeof EmberENV !== 'object' || EmberENV === null) return;\n\n for (var flag in EmberENV) {\n if (!Object.prototype.hasOwnProperty.call(EmberENV, flag) || flag === 'EXTEND_PROTOTYPES' || flag === 'EMBER_LOAD_HOOKS') continue;\n var defaultValue = ENV[flag];\n\n if (defaultValue === true) {\n ENV[flag] = EmberENV[flag] !== false;\n } else if (defaultValue === false) {\n ENV[flag] = EmberENV[flag] === true;\n }\n }\n\n var {\n EXTEND_PROTOTYPES\n } = EmberENV;\n\n if (EXTEND_PROTOTYPES !== undefined) {\n if (typeof EXTEND_PROTOTYPES === 'object' && EXTEND_PROTOTYPES !== null) {\n ENV.EXTEND_PROTOTYPES.String = EXTEND_PROTOTYPES.String !== false;\n\n if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS) {\n ENV.EXTEND_PROTOTYPES.Function = EXTEND_PROTOTYPES.Function !== false;\n }\n\n ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES.Array !== false;\n } else {\n var isEnabled = EXTEND_PROTOTYPES !== false;\n ENV.EXTEND_PROTOTYPES.String = isEnabled;\n\n if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS) {\n ENV.EXTEND_PROTOTYPES.Function = isEnabled;\n }\n\n ENV.EXTEND_PROTOTYPES.Array = isEnabled;\n }\n } // TODO this does not seem to be used by anything,\n // can we remove it? do we need to deprecate it?\n\n\n var {\n EMBER_LOAD_HOOKS\n } = EmberENV;\n\n if (typeof EMBER_LOAD_HOOKS === 'object' && EMBER_LOAD_HOOKS !== null) {\n for (var hookName in EMBER_LOAD_HOOKS) {\n if (!Object.prototype.hasOwnProperty.call(EMBER_LOAD_HOOKS, hookName)) continue;\n var hooks = EMBER_LOAD_HOOKS[hookName];\n\n if (Array.isArray(hooks)) {\n ENV.EMBER_LOAD_HOOKS[hookName] = hooks.filter(hook => typeof hook === 'function');\n }\n }\n }\n\n var {\n FEATURES\n } = EmberENV;\n\n if (typeof FEATURES === 'object' && FEATURES !== null) {\n for (var feature in FEATURES) {\n if (!Object.prototype.hasOwnProperty.call(FEATURES, feature)) continue;\n ENV.FEATURES[feature] = FEATURES[feature] === true;\n }\n }\n\n if (true\n /* DEBUG */\n ) {\n ENV._DEBUG_RENDER_TREE = true;\n }\n })(global$1.EmberENV);\n\n function getENV() {\n return ENV;\n }\n});","define(\"@ember/-internals/error-handling/index\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.getOnerror = getOnerror;\n _exports.setOnerror = setOnerror;\n _exports.getDispatchOverride = getDispatchOverride;\n _exports.setDispatchOverride = setDispatchOverride;\n _exports.onErrorTarget = void 0;\n var onerror;\n var onErrorTarget = {\n get onerror() {\n return onerror;\n }\n\n }; // Ember.onerror getter\n\n _exports.onErrorTarget = onErrorTarget;\n\n function getOnerror() {\n return onerror;\n } // Ember.onerror setter\n\n\n function setOnerror(handler) {\n onerror = handler;\n }\n\n var dispatchOverride; // allows testing adapter to override dispatch\n\n function getDispatchOverride() {\n return dispatchOverride;\n }\n\n function setDispatchOverride(handler) {\n dispatchOverride = handler;\n }\n});","define(\"@ember/-internals/extension-support/index\", [\"exports\", \"@ember/-internals/extension-support/lib/data_adapter\", \"@ember/-internals/extension-support/lib/container_debug_adapter\"], function (_exports, _data_adapter, _container_debug_adapter) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"DataAdapter\", {\n enumerable: true,\n get: function () {\n return _data_adapter.default;\n }\n });\n Object.defineProperty(_exports, \"ContainerDebugAdapter\", {\n enumerable: true,\n get: function () {\n return _container_debug_adapter.default;\n }\n });\n});","define(\"@ember/-internals/extension-support/lib/container_debug_adapter\", [\"exports\", \"@ember/string\", \"@ember/-internals/runtime\"], function (_exports, _string, _runtime) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/debug\n */\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 */\n var _default = _runtime.Object.extend({\n /**\n The resolver instance of the application\n being debugged. This property will be injected\n on creation.\n @property resolver\n @default null\n @public\n */\n resolver: null,\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\n return true;\n },\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 var namespaces = (0, _runtime.A)(_runtime.Namespace.NAMESPACES);\n var types = (0, _runtime.A)();\n var typeSuffixRegex = new RegExp(`${(0, _string.classify)(type)}$`);\n namespaces.forEach(namespace => {\n for (var key in namespace) {\n if (!Object.prototype.hasOwnProperty.call(namespace, key)) {\n continue;\n }\n\n if (typeSuffixRegex.test(key)) {\n var klass = namespace[key];\n\n if ((0, _runtime.typeOf)(klass) === 'class') {\n types.push((0, _string.dasherize)(key.replace(typeSuffixRegex, '')));\n }\n }\n }\n });\n return types;\n }\n\n });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/extension-support/lib/data_adapter\", [\"exports\", \"@ember/-internals/owner\", \"@ember/runloop\", \"@ember/-internals/metal\", \"@ember/string\", \"@ember/-internals/runtime\"], function (_exports, _owner, _runloop, _metal, _string, _runtime) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/debug\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 * `observeRecord`\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 */\n var _default = _runtime.Object.extend({\n init() {\n this._super(...arguments);\n\n this.releaseMethods = (0, _runtime.A)();\n },\n\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 containerDebugAdapter: undefined,\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 attributeLimit: 3,\n\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 acceptsModelName: true,\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 releaseMethods: (0, _runtime.A)(),\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 (0, _runtime.A)();\n },\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 var modelTypes = this.getModelTypes();\n var releaseMethods = (0, _runtime.A)();\n var typesToSend;\n typesToSend = modelTypes.map(type => {\n var klass = type.klass;\n var wrapped = this.wrapModelType(klass, type.name);\n releaseMethods.push(this.observeModelType(type.name, typesUpdated));\n return wrapped;\n });\n typesAdded(typesToSend);\n\n var release = () => {\n releaseMethods.forEach(fn => fn());\n this.releaseMethods.removeObject(release);\n };\n\n this.releaseMethods.pushObject(release);\n return release;\n },\n\n _nameToClass(type) {\n if (typeof type === 'string') {\n var owner = (0, _owner.getOwner)(this);\n var Factory = owner.factoryFor(`model:${type}`);\n type = Factory && Factory.class;\n }\n\n return type;\n },\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 the following parameters:\n index: The array index where the records were removed.\n count: The number of records removed.\n @return {Function} Method to call to remove all observers.\n */\n watchRecords(modelName, recordsAdded, recordsUpdated, recordsRemoved) {\n var releaseMethods = (0, _runtime.A)();\n\n var klass = this._nameToClass(modelName);\n\n var records = this.getRecords(klass, modelName);\n var release;\n\n function recordUpdated(updatedRecord) {\n recordsUpdated([updatedRecord]);\n }\n\n var recordsToSend = records.map(record => {\n releaseMethods.push(this.observeRecord(record, recordUpdated));\n return this.wrapRecord(record);\n });\n\n var contentDidChange = (array, idx, removedCount, addedCount) => {\n for (var i = idx; i < idx + addedCount; i++) {\n var record = (0, _metal.objectAt)(array, i);\n var wrapped = this.wrapRecord(record);\n releaseMethods.push(this.observeRecord(record, recordUpdated));\n recordsAdded([wrapped]);\n }\n\n if (removedCount) {\n recordsRemoved(idx, removedCount);\n }\n };\n\n var observer = {\n didChange: contentDidChange,\n\n willChange() {\n return this;\n }\n\n };\n (0, _metal.addArrayObserver)(records, this, observer);\n\n release = () => {\n releaseMethods.forEach(fn => fn());\n (0, _metal.removeArrayObserver)(records, this, observer);\n this.releaseMethods.removeObject(release);\n };\n\n recordsAdded(recordsToSend);\n this.releaseMethods.pushObject(release);\n return release;\n },\n\n /**\n Clear all observers before destruction\n @private\n @method willDestroy\n */\n willDestroy() {\n this._super(...arguments);\n\n this.releaseMethods.forEach(fn => fn());\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() {\n return false;\n },\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() {\n return (0, _runtime.A)();\n },\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 var klass = this._nameToClass(modelName);\n\n var records = this.getRecords(klass, modelName);\n\n function onChange() {\n typesUpdated([this.wrapModelType(klass, modelName)]);\n }\n\n var observer = {\n didChange(array, idx, removedCount, addedCount) {\n // Only re-fetch records if the record count changed\n // (which is all we care about as far as model types are concerned).\n if (removedCount > 0 || addedCount > 0) {\n (0, _runloop.scheduleOnce)('actions', this, onChange);\n }\n },\n\n willChange() {\n return this;\n }\n\n };\n (0, _metal.addArrayObserver)(records, this, observer);\n\n var release = () => (0, _metal.removeArrayObserver)(records, this, observer);\n\n return release;\n },\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} Contains the wrapped type and the function to remove observers\n Format:\n type: {Object} The wrapped type.\n 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 release: {Function} The function to remove observers.\n */\n wrapModelType(klass, name) {\n var records = this.getRecords(klass, name);\n var typeToSend;\n typeToSend = {\n name,\n count: (0, _metal.get)(records, 'length'),\n columns: this.columnsForType(klass),\n object: klass\n };\n return typeToSend;\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 var containerDebugAdapter = this.get('containerDebugAdapter');\n var types;\n\n if (containerDebugAdapter.canCatalogEntriesByType('model')) {\n types = containerDebugAdapter.catalogEntriesByType('model');\n } else {\n types = this._getObjectsOnNamespaces();\n } // New adapters return strings instead of classes.\n\n\n types = (0, _runtime.A)(types).map(name => {\n return {\n klass: this._nameToClass(name),\n name\n };\n });\n types = (0, _runtime.A)(types).filter(type => this.detect(type.klass));\n return (0, _runtime.A)(types);\n },\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 var namespaces = (0, _runtime.A)(_runtime.Namespace.NAMESPACES);\n var types = (0, _runtime.A)();\n namespaces.forEach(namespace => {\n for (var key in namespace) {\n if (!Object.prototype.hasOwnProperty.call(namespace, key)) {\n continue;\n } // Even though we will filter again in `getModelTypes`,\n // we should not call `lookupFactory` on non-models\n\n\n if (!this.detect(namespace[key])) {\n continue;\n }\n\n var name = (0, _string.dasherize)(key);\n types.push(name);\n }\n });\n return types;\n },\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() {\n return (0, _runtime.A)();\n },\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 var recordToSend = {\n object: record\n };\n recordToSend.columnValues = this.getRecordColumnValues(record);\n recordToSend.searchKeywords = this.getRecordKeywords(record);\n recordToSend.filterValues = this.getRecordFilterValues(record);\n recordToSend.color = this.getRecordColor(record);\n return recordToSend;\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() {\n return {};\n },\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() {\n return (0, _runtime.A)();\n },\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() {\n return {};\n },\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() {\n return null;\n },\n\n /**\n Observes all relevant properties and re-sends the wrapped record\n when a change occurs.\n @public\n @method observerRecord\n @return {Function} The function to call to remove all observers.\n */\n observeRecord() {\n return function () {};\n }\n\n });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/glimmer/index\", [\"exports\", \"@ember/polyfills\", \"@glimmer/opcode-compiler\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/-internals/views\", \"@ember/debug\", \"@glimmer/reference\", \"@glimmer/runtime\", \"@glimmer/validator\", \"@ember/-internals/browser-environment\", \"@ember/instrumentation\", \"@ember/service\", \"@ember/runloop\", \"@ember/-internals/environment\", \"@glimmer/util\", \"@ember/deprecated-features\", \"@ember/string\", \"@ember/-internals/container\", \"@glimmer/node\", \"@ember/-internals/routing\", \"@ember/component/template-only\", \"@ember/error\", \"rsvp\"], function (_exports, _polyfills, _opcodeCompiler, _metal, _owner, _runtime, _utils, _views, _debug, _reference, _runtime2, _validator, _browserEnvironment, _instrumentation, _service, _runloop, _environment2, _util, _deprecatedFeatures, _string, _container, _node, _routing, _templateOnly, _error, _rsvp) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.template = template;\n _exports.helper = helper;\n _exports.escapeExpression = escapeExpression;\n _exports.htmlSafe = htmlSafe;\n _exports.isHTMLSafe = isHTMLSafe;\n _exports._resetRenderers = _resetRenderers;\n _exports.renderSettled = renderSettled;\n _exports.getTemplate = getTemplate;\n _exports.setTemplate = setTemplate;\n _exports.hasTemplate = hasTemplate;\n _exports.getTemplates = getTemplates;\n _exports.setTemplates = setTemplates;\n _exports.setupEngineRegistry = setupEngineRegistry;\n _exports.setupApplicationRegistry = setupApplicationRegistry;\n _exports._registerMacros = registerMacros;\n _exports.capabilities = capabilities;\n _exports.setComponentManager = setComponentManager;\n _exports.getComponentManager = getComponentManager;\n _exports.setModifierManager = setModifierManager;\n _exports.getModifierManager = getModifierManager;\n _exports.modifierCapabilities = capabilities$1;\n _exports.setComponentTemplate = setComponentTemplate;\n _exports.getComponentTemplate = getComponentTemplate;\n Object.defineProperty(_exports, \"DOMChanges\", {\n enumerable: true,\n get: function () {\n return _runtime2.DOMChanges;\n }\n });\n Object.defineProperty(_exports, \"DOMTreeConstruction\", {\n enumerable: true,\n get: function () {\n return _runtime2.DOMTreeConstruction;\n }\n });\n Object.defineProperty(_exports, \"isSerializationFirstNode\", {\n enumerable: true,\n get: function () {\n return _runtime2.isSerializationFirstNode;\n }\n });\n Object.defineProperty(_exports, \"NodeDOMTreeConstruction\", {\n enumerable: true,\n get: function () {\n return _node.NodeDOMTreeConstruction;\n }\n });\n _exports.OutletView = _exports.INVOKE = _exports.AbstractComponentManager = _exports._experimentalMacros = _exports.InteractiveRenderer = _exports.InertRenderer = _exports.Renderer = _exports.SafeString = _exports.Helper = _exports.Component = _exports.LinkComponent = _exports.TextArea = _exports.TextField = _exports.Checkbox = _exports.templateCacheCounters = _exports.RootTemplate = void 0;\n\n function isTemplateFactory(template) {\n return typeof template === 'function';\n }\n\n var counters = {\n cacheHit: 0,\n cacheMiss: 0\n };\n _exports.templateCacheCounters = counters;\n\n function template(json) {\n var glimmerFactory = (0, _opcodeCompiler.templateFactory)(json);\n var cache = new WeakMap();\n var meta = glimmerFactory.meta;\n\n var factory = owner => {\n var result = cache.get(owner);\n\n if (result === undefined) {\n counters.cacheMiss++;\n result = glimmerFactory.create((0, _polyfills.assign)({\n owner\n }, meta));\n cache.set(owner, result);\n } else {\n counters.cacheHit++;\n }\n\n return result;\n };\n\n factory.__id = glimmerFactory.id;\n factory.__meta = meta;\n return factory;\n }\n\n var RootTemplate = template({\n \"id\": \"s5o9bxSn\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,0],[[32,0]],null]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"component\\\"]}\",\n \"meta\": {\n \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/root.hbs\"\n }\n });\n _exports.RootTemplate = RootTemplate;\n var ARGS = (0, _utils.enumerableSymbol)('ARGS');\n var HAS_BLOCK = (0, _utils.enumerableSymbol)('HAS_BLOCK');\n var DIRTY_TAG = (0, _utils.symbol)('DIRTY_TAG');\n var IS_DISPATCHING_ATTRS = (0, _utils.symbol)('IS_DISPATCHING_ATTRS');\n var BOUNDS = (0, _utils.symbol)('BOUNDS');\n /**\n @module @ember/component\n */\n\n /**\n A component is an isolated piece of UI, represented by a template and an\n optional class. When a component has a class, its template's `this` value\n is an instance of the component class.\n \n ## Template-only Components\n \n The simplest way to create a component is to create a template file in\n `app/templates/components`. For example, if you name a template\n `app/templates/components/person-profile.hbs`:\n \n ```app/templates/components/person-profile.hbs\n <h1>{{@person.name}}</h1>\n <img src={{@person.avatar}}>\n <p class='signature'>{{@person.signature}}</p>\n ```\n \n You will be able to use `<PersonProfile />` to invoke this component elsewhere\n in your application:\n \n ```app/templates/application.hbs\n <PersonProfile @person={{this.currentUser}} />\n ```\n \n Note that component names are capitalized here in order to distinguish them\n from regular HTML elements, but they are dasherized in the file system.\n \n While the angle bracket invocation form is generally preferred, it is also\n possible to invoke the same component with the `{{person-profile}}` syntax:\n \n ```app/templates/application.hbs\n {{person-profile person=this.currentUser}}\n ```\n \n Note that with this syntax, you use dashes in the component name and\n arguments are passed without the `@` sign.\n \n In both cases, Ember will render the content of the component template we\n created above. The end result will be something like this:\n \n ```html\n <h1>Tomster</h1>\n <img src=\"https://emberjs.com/tomster.jpg\">\n <p class='signature'>Out of office this week</p>\n ```\n \n ## File System Nesting\n \n Components can be nested inside sub-folders for logical groupping. For\n example, if we placed our template in\n `app/templates/components/person/short-profile.hbs`, we can invoke it as\n `<Person::ShortProfile />`:\n \n ```app/templates/application.hbs\n <Person::ShortProfile @person={{this.currentUser}} />\n ```\n \n Or equivalently, `{{person/short-profile}}`:\n \n ```app/templates/application.hbs\n {{person/short-profile person=this.currentUser}}\n ```\n \n ## Yielding Contents\n \n You can use `yield` inside a template to include the **contents** of any block\n attached to the component. The block will be executed in its original context:\n \n ```handlebars\n <PersonProfile @person={{this.currentUser}}>\n <p>Admin mode</p>\n {{! Executed in the current context. }}\n </PersonProfile>\n ```\n \n or\n \n ```handlebars\n {{#person-profile person=this.currentUser}}\n <p>Admin mode</p>\n {{! Executed in the current context. }}\n {{/person-profile}}\n ```\n \n ```app/templates/components/person-profile.hbs\n <h1>{{@person.name}}</h1>\n {{yield}}\n ```\n \n ## Customizing Components With JavaScript\n \n If you want to customize the component in order to handle events, transform\n arguments or maintain internal state, you implement a subclass of `Component`.\n \n One example is to add computed properties to your component:\n \n ```app/components/person-profile.js\n import Component from '@ember/component';\n \n export default Component.extend({\n displayName: computed('person.title', 'person.firstName', 'person.lastName', function() {\n let { title, firstName, lastName } = this;\n \n if (title) {\n return `${title} ${lastName}`;\n } else {\n return `${firstName} ${lastName}`;\n }\n })\n });\n ```\n \n And then use it in the component's template:\n \n ```app/templates/components/person-profile.hbs\n <h1>{{this.displayName}}</h1>\n {{yield}}\n ```\n \n ## Customizing a Component's HTML Element in JavaScript\n \n ### HTML Tag\n \n The default HTML tag name used for a component's HTML representation is `div`.\n This can be customized by setting the `tagName` property.\n \n Consider the following component class:\n \n ```app/components/emphasized-paragraph.js\n import Component from '@ember/component';\n \n export default Component.extend({\n tagName: 'em'\n });\n ```\n \n When invoked, this component would produce output that looks something like\n this:\n \n ```html\n <em id=\"ember1\" class=\"ember-view\"></em>\n ```\n \n ### HTML `class` Attribute\n \n The HTML `class` attribute of a component's tag can be set by providing a\n `classNames` property that is set to an array of strings:\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n \n export default Component.extend({\n classNames: ['my-class', 'my-other-class']\n });\n ```\n \n Invoking this component will produce output that looks like this:\n \n ```html\n <div id=\"ember1\" class=\"ember-view my-class my-other-class\"></div>\n ```\n \n `class` attribute values can also be set by providing a `classNameBindings`\n property set to an array of properties names for the component. The return\n value of these properties will be added as part of the value for the\n components's `class` attribute. These properties can be computed properties:\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n import { computed } from '@ember/object';\n \n export default Component.extend({\n classNames: ['my-class', 'my-other-class'],\n classNameBindings: ['propertyA', 'propertyB'],\n \n propertyA: 'from-a',\n propertyB: computed(function() {\n if (someLogic) { return 'from-b'; }\n })\n });\n ```\n \n Invoking this component will produce HTML that looks like:\n \n ```html\n <div id=\"ember1\" class=\"ember-view my-class my-other-class from-a from-b\"></div>\n ```\n \n Note that `classNames` and `classNameBindings` is in addition to the `class`\n attribute passed with the angle bracket invocation syntax. Therefore, if this\n component was invoked like so:\n \n ```handlebars\n <MyWidget class=\"from-invocation\" />\n ```\n \n The resulting HTML will look similar to this:\n \n ```html\n <div id=\"ember1\" class=\"from-invocation ember-view my-class my-other-class from-a from-b\"></div>\n ```\n \n If the value of a class name binding returns a boolean the property name\n itself will be used as the class name if the property is true. The class name\n will not be added if the value is `false` or `undefined`.\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n \n export default Component.extend({\n classNameBindings: ['hovered'],\n \n hovered: true\n });\n ```\n \n Invoking this component will produce HTML that looks like:\n \n ```html\n <div id=\"ember1\" class=\"ember-view hovered\"></div>\n ```\n \n ### Custom Class Names for Boolean Values\n \n When using boolean class name bindings you can supply a string value other\n than the property name for use as the `class` HTML attribute by appending the\n preferred value after a \":\" character when defining the binding:\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n \n export default Component.extend({\n classNameBindings: ['awesome:so-very-cool'],\n \n awesome: true\n });\n ```\n \n Invoking this component will produce HTML that looks like:\n \n ```html\n <div id=\"ember1\" class=\"ember-view so-very-cool\"></div>\n ```\n \n Boolean value class name bindings whose property names are in a\n camelCase-style format will be converted to a dasherized format:\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n \n export default Component.extend({\n classNameBindings: ['isUrgent'],\n \n isUrgent: true\n });\n ```\n \n Invoking this component will produce HTML that looks like:\n \n ```html\n <div id=\"ember1\" class=\"ember-view is-urgent\"></div>\n ```\n \n Class name bindings can also refer to object values that are found by\n traversing a path relative to the component itself:\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n import EmberObject from '@ember/object';\n \n export default Component.extend({\n classNameBindings: ['messages.empty'],\n \n messages: EmberObject.create({\n empty: true\n })\n });\n ```\n \n Invoking this component will produce HTML that looks like:\n \n ```html\n <div id=\"ember1\" class=\"ember-view empty\"></div>\n ```\n \n If you want to add a class name for a property which evaluates to true and\n and a different class name if it evaluates to false, you can pass a binding\n like this:\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n \n export default Component.extend({\n classNameBindings: ['isEnabled:enabled:disabled'],\n isEnabled: true\n });\n ```\n \n Invoking this component will produce HTML that looks like:\n \n ```html\n <div id=\"ember1\" class=\"ember-view enabled\"></div>\n ```\n \n When isEnabled is `false`, the resulting HTML representation looks like this:\n \n ```html\n <div id=\"ember1\" class=\"ember-view disabled\"></div>\n ```\n \n This syntax offers the convenience to add a class if a property is `false`:\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n \n // Applies no class when isEnabled is true and class 'disabled' when isEnabled is false\n export default Component.extend({\n classNameBindings: ['isEnabled::disabled'],\n isEnabled: true\n });\n ```\n \n Invoking this component when the `isEnabled` property is true will produce\n HTML that looks like:\n \n ```html\n <div id=\"ember1\" class=\"ember-view\"></div>\n ```\n \n Invoking it when the `isEnabled` property on the component is `false` will\n produce HTML that looks like:\n \n ```html\n <div id=\"ember1\" class=\"ember-view disabled\"></div>\n ```\n \n Updates to the value of a class name binding will result in automatic update\n of the HTML `class` attribute in the component's rendered HTML\n representation. If the value becomes `false` or `undefined` the class name\n will be removed.\n \n Both `classNames` and `classNameBindings` are concatenated properties. See\n [EmberObject](/ember/release/classes/EmberObject) documentation for more\n information about concatenated properties.\n \n ### Other HTML Attributes\n \n The HTML attribute section of a component's tag can be set by providing an\n `attributeBindings` property set to an array of property names on the component.\n The return value of these properties will be used as the value of the component's\n HTML associated attribute:\n \n ```app/components/my-anchor.js\n import Component from '@ember/component';\n \n export default Component.extend({\n tagName: 'a',\n attributeBindings: ['href'],\n \n href: 'http://google.com'\n });\n ```\n \n Invoking this component will produce HTML that looks like:\n \n ```html\n <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n ```\n \n One property can be mapped on to another by placing a \":\" between\n the source property and the destination property:\n \n ```app/components/my-anchor.js\n import Component from '@ember/component';\n \n export default Component.extend({\n tagName: 'a',\n attributeBindings: ['url:href'],\n \n url: 'http://google.com'\n });\n ```\n \n Invoking this component will produce HTML that looks like:\n \n ```html\n <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n ```\n \n HTML attributes passed with angle bracket invocations will take precedence\n over those specified in `attributeBindings`. Therefore, if this component was\n invoked like so:\n \n ```handlebars\n <MyAnchor href=\"http://bing.com\" @url=\"http://google.com\" />\n ```\n \n The resulting HTML will looks like this:\n \n ```html\n <a id=\"ember1\" class=\"ember-view\" href=\"http://bing.com\"></a>\n ```\n \n Note that the `href` attribute is ultimately set to `http://bing.com`,\n despite it having attribute binidng to the `url` property, which was\n set to `http://google.com`.\n \n Namespaced attributes (e.g. `xlink:href`) are supported, but have to be\n mapped, since `:` is not a valid character for properties in Javascript:\n \n ```app/components/my-use.js\n import Component from '@ember/component';\n \n export default Component.extend({\n tagName: 'use',\n attributeBindings: ['xlinkHref:xlink:href'],\n \n xlinkHref: '#triangle'\n });\n ```\n \n Invoking this component will produce HTML that looks like:\n \n ```html\n <use xlink:href=\"#triangle\"></use>\n ```\n \n If the value of a property monitored by `attributeBindings` is a boolean, the\n attribute will be present or absent depending on the value:\n \n ```app/components/my-text-input.js\n import Component from '@ember/component';\n \n export default Component.extend({\n tagName: 'input',\n attributeBindings: ['disabled'],\n \n disabled: false\n });\n ```\n \n Invoking this component will produce HTML that looks like:\n \n ```html\n <input id=\"ember1\" class=\"ember-view\" />\n ```\n \n `attributeBindings` can refer to computed properties:\n \n ```app/components/my-text-input.js\n import Component from '@ember/component';\n import { computed } from '@ember/object';\n \n export default Component.extend({\n tagName: 'input',\n attributeBindings: ['disabled'],\n \n disabled: computed(function() {\n if (someLogic) {\n return true;\n } else {\n return false;\n }\n })\n });\n ```\n \n To prevent setting an attribute altogether, use `null` or `undefined` as the\n value of the property used in `attributeBindings`:\n \n ```app/components/my-text-input.js\n import Component from '@ember/component';\n \n export default Component.extend({\n tagName: 'form',\n attributeBindings: ['novalidate'],\n novalidate: null\n });\n ```\n \n Updates to the property of an attribute binding will result in automatic\n update of the HTML attribute in the component's HTML output.\n \n `attributeBindings` is a concatenated property. See\n [EmberObject](/ember/release/classes/EmberObject) documentation for more\n information about concatenated properties.\n \n ## Layouts\n \n The `layout` property can be used to dynamically specify a template associated\n with a component class, instead of relying on Ember to link together a\n component class and a template based on file names.\n \n In general, applications should not use this feature, but it's commonly used\n in addons for historical reasons.\n \n The `layout` property should be set to the default export of a template\n module, which is the name of a template file without the `.hbs` extension.\n \n ```app/templates/components/person-profile.hbs\n <h1>Person's Title</h1>\n <div class='details'>{{yield}}</div>\n ```\n \n ```app/components/person-profile.js\n import Component from '@ember/component';\n import layout from '../templates/components/person-profile';\n \n export default Component.extend({\n layout\n });\n ```\n \n If you invoke the component:\n \n ```handlebars\n <PersonProfile>\n <h2>Chief Basket Weaver</h2>\n <h3>Fisherman Industries</h3>\n </PersonProfile>\n ```\n \n or\n \n ```handlebars\n {{#person-profile}}\n <h2>Chief Basket Weaver</h2>\n <h3>Fisherman Industries</h3>\n {{/person-profile}}\n ```\n \n It will result in the following HTML output:\n \n ```html\n <h1>Person's Title</h1>\n <div class=\"details\">\n <h2>Chief Basket Weaver</h2>\n <h3>Fisherman Industries</h3>\n </div>\n ```\n \n ## Handling Browser Events\n \n Components can respond to user-initiated events in one of three ways: passing\n actions with angle bracket invocation, adding event handler methods to the\n component's class, or adding actions to the component's template.\n \n ### Passing Actions With Angle Bracket Invocation\n \n For one-off events specific to particular instance of a component, it is possible\n to pass actions to the component's element using angle bracket invocation syntax.\n \n ```handlebars\n <MyWidget {{action 'firstWidgetClicked'}} />\n \n <MyWidget {{action 'secondWidgetClicked'}} />\n ```\n \n In this case, when the first component is clicked on, Ember will invoke the\n `firstWidgetClicked` action. When the second component is clicked on, Ember\n will invoke the `secondWidgetClicked` action instead.\n \n Besides `{{action}}`, it is also possible to pass any arbitrary element modifiers\n using the angle bracket invocation syntax.\n \n ### Event Handler Methods\n \n Components can also respond to user-initiated events by implementing a method\n that matches the event name. This approach is appropriate when the same event\n should be handled by all instances of the same component.\n \n An event object will be passed as the argument to the event handler method.\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n \n export default Component.extend({\n click(event) {\n // `event.target` is either the component's element or one of its children\n let tag = event.target.tagName.toLowerCase();\n console.log('clicked on a `<${tag}>` HTML element!');\n }\n });\n ```\n \n In this example, whenever the user clicked anywhere inside the component, it\n will log a message to the console.\n \n It is possible to handle event types other than `click` by implementing the\n following event handler methods. In addition, custom events can be registered\n by using `Application.customEvents`.\n \n Touch events:\n \n * `touchStart`\n * `touchMove`\n * `touchEnd`\n * `touchCancel`\n \n Keyboard events:\n \n * `keyDown`\n * `keyUp`\n * `keyPress`\n \n Mouse events:\n \n * `mouseDown`\n * `mouseUp`\n * `contextMenu`\n * `click`\n * `doubleClick`\n * `focusIn`\n * `focusOut`\n \n Form events:\n \n * `submit`\n * `change`\n * `focusIn`\n * `focusOut`\n * `input`\n \n Drag and drop events:\n \n * `dragStart`\n * `drag`\n * `dragEnter`\n * `dragLeave`\n * `dragOver`\n * `dragEnd`\n * `drop`\n \n ### `{{action}}` Helper\n \n Instead of handling all events of a particular type anywhere inside the\n component's element, you may instead want to limit it to a particular\n element in the component's template. In this case, it would be more\n convenient to implement an action instead.\n \n For example, you could implement the action `hello` for the `person-profile`\n component:\n \n ```app/components/person-profile.js\n import Component from '@ember/component';\n \n export default Component.extend({\n actions: {\n hello(name) {\n console.log(\"Hello\", name);\n }\n }\n });\n ```\n \n And then use it in the component's template:\n \n ```app/templates/components/person-profile.hbs\n <h1>{{@person.name}}</h1>\n \n <button {{action 'hello' @person.name}}>\n Say Hello to {{@person.name}}\n </button>\n ```\n \n When the user clicks the button, Ember will invoke the `hello` action,\n passing in the current value of `@person.name` as an argument.\n \n See [Ember.Templates.helpers.action](/ember/release/classes/Ember.Templates.helpers/methods/action?anchor=action).\n \n @class Component\n @extends Ember.CoreView\n @uses Ember.TargetActionSupport\n @uses Ember.ClassNamesSupport\n @uses Ember.ActionSupport\n @uses Ember.ViewMixin\n @uses Ember.ViewStateSupport\n @public\n */\n\n var Component = _views.CoreView.extend(_views.ChildViewsSupport, _views.ViewStateSupport, _views.ClassNamesSupport, _runtime.TargetActionSupport, _views.ActionSupport, _views.ViewMixin, {\n isComponent: true,\n\n init() {\n this._super(...arguments);\n\n this[IS_DISPATCHING_ATTRS] = false;\n this[DIRTY_TAG] = (0, _validator.createTag)();\n this[BOUNDS] = null;\n\n if (true\n /* DEBUG */\n && this.renderer._destinedForDOM && this.tagName === '') {\n var eventNames = [];\n var eventDispatcher = (0, _owner.getOwner)(this).lookup('event_dispatcher:main');\n var events = eventDispatcher && eventDispatcher._finalEvents || {}; // tslint:disable-next-line:forin\n\n for (var key in events) {\n var methodName = events[key];\n\n if (typeof this[methodName] === 'function') {\n eventNames.push(methodName);\n }\n } // If in a tagless component, assert that no event handlers are defined\n\n\n (true && !(!eventNames.length) && (0, _debug.assert)( // tslint:disable-next-line:max-line-length\n `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 (true && !(this.mouseEnter === undefined) && (0, _debug.deprecate)(`${this}: Using \\`mouseEnter\\` event handler methods in components has been deprecated.`, this.mouseEnter === undefined, {\n id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_component-mouseenter-leave-move'\n }));\n (true && !(this.mouseLeave === undefined) && (0, _debug.deprecate)(`${this}: Using \\`mouseLeave\\` event handler methods in components has been deprecated.`, this.mouseLeave === undefined, {\n id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_component-mouseenter-leave-move'\n }));\n (true && !(this.mouseMove === undefined) && (0, _debug.deprecate)(`${this}: Using \\`mouseMove\\` event handler methods in components has been deprecated.`, this.mouseMove === undefined, {\n id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_component-mouseenter-leave-move'\n }));\n },\n\n rerender() {\n (0, _validator.dirtyTag)(this[DIRTY_TAG]);\n\n this._super();\n },\n\n [_metal.PROPERTY_DID_CHANGE](key, value) {\n if (this[IS_DISPATCHING_ATTRS]) {\n return;\n }\n\n var args = this[ARGS];\n var reference = args !== undefined ? args[key] : undefined;\n\n if (reference !== undefined && reference[_reference.UPDATE_REFERENCED_VALUE] !== undefined) {\n reference[_reference.UPDATE_REFERENCED_VALUE](arguments.length === 2 ? value : (0, _metal.get)(this, key));\n }\n },\n\n getAttr(key) {\n // TODO Intimate API should be deprecated\n return this.get(key);\n },\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 var _element = (0, _views.getViewElement)(this);\n\n (true && !(_element !== null) && (0, _debug.assert)(`Cannot call \\`readDOMAttr\\` on ${this} which does not have an element`, _element !== null));\n var element = _element;\n var isSVG = element.namespaceURI === \"http://www.w3.org/2000/svg\"\n /* SVG */\n ;\n var {\n type,\n normalized\n } = (0, _runtime2.normalizeProperty)(element, name);\n\n if (isSVG || type === 'attr') {\n return element.getAttribute(normalized);\n }\n\n return element[normalized];\n },\n\n /**\n The WAI-ARIA role of the control represented by this view. For example, a\n button may have a role of type 'button', or a pane may have a role of\n type 'alertdialog'. This property is used by assistive software to help\n visually challenged users navigate rich web applications.\n The full list of valid WAI-ARIA roles is available at:\n [https://www.w3.org/TR/wai-aria/#roles_categorization](https://www.w3.org/TR/wai-aria/#roles_categorization)\n @property ariaRole\n @type String\n @default null\n @public\n */\n\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\n /**\n Called when the attributes passed into the component have been updated.\n Called both during the initial render of a container and during a rerender.\n Can be used in place of an observer; code placed here will be executed\n every time any attribute updates.\n @method didReceiveAttrs\n @public\n @since 1.13.0\n */\n didReceiveAttrs() {},\n\n /**\n Called when the attributes passed into the component have been updated.\n Called both during the initial render of a container and during a rerender.\n Can be used in place of an observer; code placed here will be executed\n every time any attribute updates.\n @event didReceiveAttrs\n @public\n @since 1.13.0\n */\n\n /**\n Called after a component has been rendered, both on initial render and\n in subsequent rerenders.\n @method didRender\n @public\n @since 1.13.0\n */\n didRender() {},\n\n /**\n Called after a component has been rendered, both on initial render and\n in subsequent rerenders.\n @event didRender\n @public\n @since 1.13.0\n */\n\n /**\n Called before a component has been rendered, both on initial render and\n in subsequent rerenders.\n @method willRender\n @public\n @since 1.13.0\n */\n willRender() {},\n\n /**\n Called before a component has been rendered, both on initial render and\n in subsequent rerenders.\n @event willRender\n @public\n @since 1.13.0\n */\n\n /**\n Called when the attributes passed into the component have been changed.\n Called only during a rerender, not during an initial render.\n @method didUpdateAttrs\n @public\n @since 1.13.0\n */\n didUpdateAttrs() {},\n\n /**\n Called when the attributes passed into the component have been changed.\n Called only during a rerender, not during an initial render.\n @event didUpdateAttrs\n @public\n @since 1.13.0\n */\n\n /**\n Called when the component is about to update and rerender itself.\n Called only during a rerender, not during an initial render.\n @method willUpdate\n @public\n @since 1.13.0\n */\n willUpdate() {},\n\n /**\n Called when the component is about to update and rerender itself.\n Called only during a rerender, not during an initial render.\n @event willUpdate\n @public\n @since 1.13.0\n */\n\n /**\n Called when the component has updated and rerendered itself.\n Called only during a rerender, not during an initial render.\n @method didUpdate\n @public\n @since 1.13.0\n */\n didUpdate() {}\n\n });\n\n _exports.Component = Component;\n\n Component.toString = () => '@ember/component';\n\n Component.reopenClass({\n isComponentFactory: true,\n positionalParams: []\n });\n var layout = template({\n \"id\": \"SWbqsLhV\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n \"meta\": {\n \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/empty.hbs\"\n }\n });\n /**\n @module @ember/component\n */\n\n /**\n The internal class used to create text inputs when the `{{input}}`\n helper is used with `type` of `checkbox`.\n \n See [Ember.Templates.helpers.input](/ember/release/classes/Ember.Templates.helpers/methods/input?anchor=input) for usage details.\n \n ## Direct manipulation of `checked`\n \n The `checked` attribute of an `Checkbox` object should always be set\n through the Ember object or by interacting with its rendered element\n representation via the mouse, keyboard, or touch. Updating the value of the\n checkbox via jQuery will result in the checked value of the object and its\n element losing synchronization.\n \n ## Layout and LayoutName properties\n \n Because HTML `input` elements are self closing `layout` and `layoutName`\n properties will not be applied.\n \n @class Checkbox\n @extends Component\n @public\n */\n\n var Checkbox = Component.extend({\n layout,\n\n /**\n By default, this component will add the `ember-checkbox` class to the component's element.\n @property classNames\n @type Array | String\n @default ['ember-checkbox']\n @public\n */\n classNames: ['ember-checkbox'],\n tagName: 'input',\n\n /**\n By default this component will forward a number of arguments to attributes on the the\n component's element:\n * indeterminate\n * disabled\n * tabindex\n * name\n * autofocus\n * required\n * form\n When invoked with curly braces, this is the exhaustive list of HTML attributes you can\n customize (i.e. `{{input type=\"checkbox\" disabled=true}}`).\n When invoked with angle bracket invocation, this list is irrelevant, because you can use HTML\n attribute syntax to customize the element (i.e.\n `<Input @type=\"checkbox\" disabled data-custom=\"custom value\" />`). However, `@type` and\n `@checked` must be passed as named arguments, not attributes.\n @property attributeBindings\n @type Array | String\n @default ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form']\n @public\n */\n attributeBindings: ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form'],\n\n /**\n Sets the `type` attribute of the `Checkbox`'s element\n @property disabled\n @default false\n @private\n */\n type: 'checkbox',\n\n /**\n Sets the `disabled` attribute of the `Checkbox`'s element\n @property disabled\n @default false\n @public\n */\n disabled: false,\n\n /**\n Corresponds to the `indeterminate` property of the `Checkbox`'s element\n @property disabled\n @default false\n @public\n */\n indeterminate: false,\n\n /**\n Whenever the checkbox is inserted into the DOM, perform initialization steps, which include\n setting the indeterminate property if needed.\n If this method is overridden, `super` must be called.\n @method\n @public\n */\n didInsertElement() {\n this._super(...arguments);\n\n this.element.indeterminate = Boolean(this.indeterminate);\n },\n\n /**\n Whenever the `change` event is fired on the checkbox, update its `checked` property to reflect\n whether the checkbox is checked.\n If this method is overridden, `super` must be called.\n @method\n @public\n */\n change() {\n (0, _metal.set)(this, 'checked', this.element.checked);\n }\n\n });\n _exports.Checkbox = Checkbox;\n\n if (true\n /* DEBUG */\n ) {\n var UNSET = {};\n Checkbox.reopen({\n value: UNSET,\n\n didReceiveAttrs() {\n this._super();\n\n (true && !(!(this.type === 'checkbox' && this.value !== UNSET)) && (0, _debug.assert)(\"`<Input @type='checkbox' @value={{...}} />` is not supported; \" + \"please use `<Input @type='checkbox' @checked={{...}} />` instead.\", !(this.type === 'checkbox' && this.value !== UNSET)));\n }\n\n });\n }\n\n Checkbox.toString = () => '@ember/component/checkbox';\n /**\n @module @ember/component\n */\n\n\n var inputTypes = _browserEnvironment.hasDOM ? Object.create(null) : null;\n\n function canSetTypeOfInput(type) {\n // if running in outside of a browser always return\n // the original type\n if (!_browserEnvironment.hasDOM) {\n return Boolean(type);\n }\n\n if (type in inputTypes) {\n return inputTypes[type];\n }\n\n var inputTypeTestElement = document.createElement('input');\n\n try {\n inputTypeTestElement.type = type;\n } catch (e) {// ignored\n }\n\n return inputTypes[type] = inputTypeTestElement.type === type;\n }\n /**\n The internal class used to create text inputs when the `Input` component is used with `type` of `text`.\n \n See [Ember.Templates.components.Input](/ember/release/classes/Ember.Templates.components/methods/Input?anchor=Input) for usage details.\n \n ## Layout and LayoutName properties\n \n Because HTML `input` elements are self closing `layout` and `layoutName`\n properties will not be applied.\n \n @class TextField\n @extends Component\n @uses Ember.TextSupport\n @public\n */\n\n\n var TextField = Component.extend(_views.TextSupport, {\n layout,\n\n /**\n By default, this component will add the `ember-text-field` class to the component's element.\n @property classNames\n @type Array | String\n @default ['ember-text-field']\n @public\n */\n classNames: ['ember-text-field'],\n tagName: 'input',\n\n /**\n By default this component will forward a number of arguments to attributes on the the\n component's element:\n * accept\n * autocomplete\n * autosave\n * dir\n * formaction\n * formenctype\n * formmethod\n * formnovalidate\n * formtarget\n * height\n * inputmode\n * lang\n * list\n * type\n * max\n * min\n * multiple\n * name\n * pattern\n * size\n * step\n * value\n * width\n When invoked with `{{input type=\"text\"}}`, you can only customize these attributes. When invoked\n with `<Input @type=\"text\" />`, you can just use HTML attributes directly.\n @property attributeBindings\n @type Array | String\n @default ['accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'type', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'value', 'width']\n @public\n */\n attributeBindings: ['accept', 'autocomplete', 'autosave', 'dir', 'formaction', 'formenctype', 'formmethod', 'formnovalidate', 'formtarget', 'height', 'inputmode', 'lang', 'list', 'type', 'max', 'min', 'multiple', 'name', 'pattern', 'size', 'step', 'value', 'width'],\n\n /**\n As the user inputs text, this property is updated to reflect the `value` property of the HTML\n element.\n @property value\n @type String\n @default \"\"\n @public\n */\n value: '',\n\n /**\n The `type` attribute of the input element.\n @property type\n @type String\n @default \"text\"\n @public\n */\n type: (0, _metal.computed)({\n get() {\n return 'text';\n },\n\n set(_key, value) {\n var type = 'text';\n\n if (canSetTypeOfInput(value)) {\n type = value;\n }\n\n return type;\n }\n\n }),\n\n /**\n The `size` of the text field in characters.\n @property size\n @type String\n @default null\n @public\n */\n size: null,\n\n /**\n The `pattern` attribute of input element.\n @property pattern\n @type String\n @default null\n @public\n */\n pattern: null,\n\n /**\n The `min` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n @property min\n @type String\n @default null\n @since 1.4.0\n @public\n */\n min: null,\n\n /**\n The `max` attribute of input element used with `type=\"number\"` or `type=\"range\"`.\n @property max\n @type String\n @default null\n @since 1.4.0\n @public\n */\n max: null\n });\n _exports.TextField = TextField;\n\n TextField.toString = () => '@ember/component/text-field';\n /**\n @module @ember/component\n */\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 @see {TextArea}\n @public\n */\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 /**\n The internal representation used for `Textarea` invocations.\n \n @class TextArea\n @extends Component\n @see {Ember.Templates.components.Textarea}\n @uses Ember.TextSupport\n @public\n */\n\n\n var TextArea = Component.extend(_views.TextSupport, {\n classNames: ['ember-text-area'],\n layout,\n tagName: 'textarea',\n attributeBindings: ['rows', 'cols', 'name', 'selectionEnd', 'selectionStart', 'autocomplete', 'wrap', 'lang', 'dir', 'value'],\n rows: null,\n cols: null\n });\n _exports.TextArea = TextArea;\n\n TextArea.toString = () => '@ember/component/text-area';\n\n var layout$1 = template({\n \"id\": \"uDKxl8ne\",\n \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[6,[37,0],[[27,[32,1]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[18,1,null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[1,[32,0,[\\\"linkTitle\\\"]]]],\\\"parameters\\\":[]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\"]}\",\n \"meta\": {\n \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs\"\n }\n });\n /**\n @module ember\n */\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 ### Allowing Default Action\n \n By default the `<LinkTo>` component prevents the default browser action by calling\n `preventDefault()` to avoid reloading the browser page.\n \n If you need to trigger a full browser reload pass `@preventDefault={{false}}`:\n \n ```handlebars\n <LinkTo @route='photoGallery' @model={{this.aPhotoId}} @preventDefault={{false}}>\n {{this.aPhotoId.title}}\n </LinkTo>\n ```\n \n ### Supplying a `tagName`\n \n By default `<LinkTo>` renders an `<a>` element. This can be overridden for a single use of\n `<LinkTo>` by supplying a `tagName` argument:\n \n ```handlebars\n <LinkTo @route='photoGallery' @tagName='li'>\n Great Hamster Photos\n </LinkTo>\n ```\n \n This produces:\n \n ```html\n <li>\n Great Hamster Photos\n </li>\n ```\n \n In general, this is not recommended. Instead, you can use the `transition-to` helper together\n with a click event handler on the HTML tag of your choosing.\n \n @for Ember.Templates.components\n @method LinkTo\n @see {LinkComponent}\n @public\n */\n\n /**\n @module @ember/routing\n */\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 /**\n `LinkComponent` is the internal component invoked with `<LinkTo>` or `{{link-to}}`.\n \n @class LinkComponent\n @extends Component\n @see {Ember.Templates.components.LinkTo}\n @public\n **/\n\n var UNDEFINED = Object.freeze({\n toString() {\n return 'UNDEFINED';\n }\n\n });\n var EMPTY_QUERY_PARAMS = Object.freeze({});\n var LinkComponent = Component.extend({\n layout: layout$1,\n tagName: 'a',\n\n /**\n @property route\n @public\n */\n route: UNDEFINED,\n\n /**\n @property model\n @public\n */\n model: UNDEFINED,\n\n /**\n @property models\n @public\n */\n models: UNDEFINED,\n\n /**\n @property query\n @public\n */\n query: UNDEFINED,\n\n /**\n Used to determine when this `LinkComponent` is active.\n @property current-when\n @public\n */\n 'current-when': null,\n\n /**\n Sets the `title` attribute of the `LinkComponent`'s HTML element.\n @property title\n @default null\n @public\n **/\n title: null,\n\n /**\n Sets the `rel` attribute of the `LinkComponent`'s HTML element.\n @property rel\n @default null\n @public\n **/\n rel: null,\n\n /**\n Sets the `tabindex` attribute of the `LinkComponent`'s HTML element.\n @property tabindex\n @default null\n @public\n **/\n tabindex: null,\n\n /**\n Sets the `target` attribute of the `LinkComponent`'s HTML element.\n @since 1.8.0\n @property target\n @default null\n @public\n **/\n target: null,\n\n /**\n The CSS class to apply to `LinkComponent`'s element when its `active`\n property is `true`.\n @property activeClass\n @type String\n @default active\n @public\n **/\n activeClass: 'active',\n\n /**\n The CSS class to apply to `LinkComponent`'s element when its `loading`\n property is `true`.\n @property loadingClass\n @type String\n @default loading\n @private\n **/\n loadingClass: 'loading',\n\n /**\n The CSS class to apply to a `LinkComponent`'s element when its `disabled`\n property is `true`.\n @property disabledClass\n @type String\n @default disabled\n @private\n **/\n disabledClass: 'disabled',\n\n /**\n Determines whether the `LinkComponent` will trigger routing via\n the `replaceWith` routing strategy.\n @property replace\n @type Boolean\n @default false\n @public\n **/\n replace: false,\n\n /**\n By default this component will forward `href`, `title`, `rel`, `tabindex`, and `target`\n arguments to attributes on the component's element. When invoked with `{{link-to}}`, you can\n only customize these attributes. When invoked with `<LinkTo>`, you can just use HTML\n attributes directly.\n @property attributeBindings\n @type Array | String\n @default ['title', 'rel', 'tabindex', 'target']\n @public\n */\n attributeBindings: ['href', 'title', 'rel', 'tabindex', 'target'],\n\n /**\n By default this component will set classes on its element when any of the following arguments\n are truthy:\n * active\n * loading\n * disabled\n When these arguments are truthy, a class with the same name will be set on the element. When\n falsy, the associated class will not be on the element.\n @property classNameBindings\n @type Array\n @default ['active', 'loading', 'disabled', 'ember-transitioning-in', 'ember-transitioning-out']\n @public\n */\n classNameBindings: ['active', 'loading', 'disabled', 'transitioningIn', 'transitioningOut'],\n\n /**\n By default this component responds to the `click` event. When the component element is an\n `<a>` element, activating the link in another way, such as using the keyboard, triggers the\n click event.\n @property eventName\n @type String\n @default click\n @private\n */\n eventName: 'click',\n\n // this is doc'ed here so it shows up in the events\n // section of the API documentation, which is where\n // people will likely go looking for it.\n\n /**\n Triggers the `LinkComponent`'s routing behavior. If\n `eventName` is changed to a value other than `click`\n the routing behavior will trigger on that custom event\n instead.\n @event click\n @private\n */\n\n /**\n An overridable method called when `LinkComponent` objects are instantiated.\n Example:\n ```app/components/my-link.js\n import LinkComponent from '@ember/routing/link-component';\n export default LinkComponent.extend({\n init() {\n this._super(...arguments);\n console.log('Event is ' + this.get('eventName'));\n }\n });\n ```\n NOTE: If you do override `init` for a framework class like `Component`,\n be sure to call `this._super(...arguments)` in your\n `init` declaration! 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 @private\n */\n init() {\n this._super(...arguments); // Map desired event name to invoke function\n\n\n var {\n eventName\n } = this;\n this.on(eventName, this, this._invoke);\n },\n\n _routing: (0, _service.inject)('-routing'),\n _currentRoute: (0, _metal.alias)('_routing.currentRouteName'),\n _currentRouterState: (0, _metal.alias)('_routing.currentState'),\n _targetRouterState: (0, _metal.alias)('_routing.targetState'),\n _route: (0, _metal.computed)('route', '_currentRouterState', function computeLinkToComponentRoute() {\n var {\n route\n } = this;\n return route === UNDEFINED ? this._currentRoute : route;\n }),\n _models: (0, _metal.computed)('model', 'models', function computeLinkToComponentModels() {\n var {\n model,\n models\n } = this;\n (true && !(model === UNDEFINED || models === UNDEFINED) && (0, _debug.assert)('You cannot provide both the `@model` and `@models` arguments to the <LinkTo> component.', model === UNDEFINED || models === UNDEFINED));\n\n if (model !== UNDEFINED) {\n return [model];\n } else if (models !== UNDEFINED) {\n (true && !(Array.isArray(models)) && (0, _debug.assert)('The `@models` argument must be an array.', Array.isArray(models)));\n return models;\n } else {\n return [];\n }\n }),\n _query: (0, _metal.computed)('query', function computeLinkToComponentQuery() {\n var {\n query\n } = this;\n\n if (query === UNDEFINED) {\n return EMPTY_QUERY_PARAMS;\n } else {\n return (0, _polyfills.assign)({}, query);\n }\n }),\n\n /**\n Accessed as a classname binding to apply the component's `disabledClass`\n CSS `class` to the element when the link is disabled.\n When `true`, interactions with the element will not trigger route changes.\n @property disabled\n @private\n */\n disabled: (0, _metal.computed)({\n get(_key) {\n // always returns false for `get` because (due to the `set` just below)\n // the cached return value from the set will prevent this getter from _ever_\n // being called after a set has occurred\n return false;\n },\n\n set(_key, value) {\n this._isDisabled = value;\n return value ? this.disabledClass : false;\n }\n\n }),\n\n /**\n Accessed as a classname binding to apply the component's `activeClass`\n CSS `class` to the element when the link is active.\n This component is considered active when its `currentWhen` property is `true`\n or the application's current route is the route this component would trigger\n transitions into.\n The `currentWhen` property can match against multiple routes by separating\n route names using the ` ` (space) character.\n @property active\n @private\n */\n active: (0, _metal.computed)('activeClass', '_active', function computeLinkToComponentActiveClass() {\n return this._active ? this.activeClass : false;\n }),\n _active: (0, _metal.computed)('_currentRouterState', '_route', '_models', '_query', 'loading', 'current-when', function computeLinkToComponentActive() {\n var {\n _currentRouterState: state\n } = this;\n\n if (state) {\n return this._isActive(state);\n } else {\n return false;\n }\n }),\n willBeActive: (0, _metal.computed)('_currentRouterState', '_targetRouterState', '_route', '_models', '_query', 'loading', 'current-when', function computeLinkToComponentWillBeActive() {\n var {\n _currentRouterState: current,\n _targetRouterState: target\n } = this;\n\n if (current === target) {\n return;\n }\n\n return this._isActive(target);\n }),\n\n _isActive(routerState) {\n if (this.loading) {\n return false;\n }\n\n var currentWhen = this['current-when'];\n\n if (typeof currentWhen === 'boolean') {\n return currentWhen;\n }\n\n var isCurrentWhenSpecified = Boolean(currentWhen);\n\n if (isCurrentWhenSpecified) {\n currentWhen = currentWhen.split(' ');\n } else {\n currentWhen = [this._route];\n }\n\n var {\n _models: models,\n _query: query,\n _routing: routing\n } = this;\n\n for (var i = 0; i < currentWhen.length; i++) {\n if (routing.isActiveForRoute(models, query, currentWhen[i], routerState, isCurrentWhenSpecified)) {\n return true;\n }\n }\n\n return false;\n },\n\n transitioningIn: (0, _metal.computed)('_active', 'willBeActive', function computeLinkToComponentTransitioningIn() {\n if (this.willBeActive === true && !this._active) {\n return 'ember-transitioning-in';\n } else {\n return false;\n }\n }),\n transitioningOut: (0, _metal.computed)('_active', 'willBeActive', function computeLinkToComponentTransitioningOut() {\n if (this.willBeActive === false && this._active) {\n return 'ember-transitioning-out';\n } else {\n return false;\n }\n }),\n\n /**\n Event handler that invokes the link, activating the associated route.\n @method _invoke\n @param {Event} event\n @private\n */\n _invoke(event) {\n if (!(0, _views.isSimpleClick)(event)) {\n return true;\n }\n\n var {\n bubbles,\n preventDefault\n } = this;\n var target = this.element.target;\n var isSelf = !target || target === '_self';\n\n if (preventDefault !== false && isSelf) {\n event.preventDefault();\n }\n\n if (bubbles === false) {\n event.stopPropagation();\n }\n\n if (this._isDisabled) {\n return false;\n }\n\n if (this.loading) {\n // tslint:disable-next-line:max-line-length\n (true && (0, _debug.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 false;\n }\n\n if (!isSelf) {\n return false;\n }\n\n var {\n _route: routeName,\n _models: models,\n _query: queryParams,\n replace: shouldReplace\n } = this;\n var payload = {\n queryParams,\n routeName\n };\n (0, _instrumentation.flaggedInstrument)('interaction.link-to', payload, this._generateTransition(payload, routeName, models, queryParams, shouldReplace));\n return false;\n },\n\n _generateTransition(payload, qualifiedRouteName, models, queryParams, shouldReplace) {\n var {\n _routing: routing\n } = this;\n return () => {\n payload.transition = routing.transitionTo(qualifiedRouteName, models, queryParams, shouldReplace);\n };\n },\n\n /**\n Sets the element's `href` attribute to the url for\n the `LinkComponent`'s targeted route.\n If the `LinkComponent`'s `tagName` is changed to a value other\n than `a`, this property will be ignored.\n @property href\n @private\n */\n href: (0, _metal.computed)('_currentRouterState', '_route', '_models', '_query', 'tagName', 'loading', 'loadingHref', function computeLinkToComponentHref() {\n if (this.tagName !== 'a') {\n return;\n }\n\n if (this.loading) {\n return this.loadingHref;\n }\n\n var {\n _route: route,\n _models: models,\n _query: query,\n _routing: routing\n } = this;\n\n if (true\n /* DEBUG */\n ) {\n /*\n * Unfortunately, to get decent error messages, we need to do this.\n * In some future state we should be able to use a \"feature flag\"\n * which allows us to strip this without needing to call it twice.\n *\n * if (isDebugBuild()) {\n * // Do the useful debug thing, probably including try/catch.\n * } else {\n * // Do the performant thing.\n * }\n */\n try {\n return routing.generateURL(route, models, query);\n } catch (e) {\n // tslint:disable-next-line:max-line-length\n (true && !(false) && (0, _debug.assert)(`You attempted to generate a link for the \"${this.route}\" route, but did not ` + `pass the models required for generating its dynamic segments. ` + e.message));\n }\n } else {\n return routing.generateURL(route, models, query);\n }\n }),\n loading: (0, _metal.computed)('_route', '_modelsAreLoaded', 'loadingClass', function computeLinkToComponentLoading() {\n var {\n _route: route,\n _modelsAreLoaded: loaded\n } = this;\n\n if (!loaded || route === null || route === undefined) {\n return this.loadingClass;\n }\n }),\n _modelsAreLoaded: (0, _metal.computed)('_models', function computeLinkToComponentModelsAreLoaded() {\n var {\n _models: models\n } = this;\n\n for (var i = 0; i < models.length; i++) {\n var model = models[i];\n\n if (model === null || model === undefined) {\n return false;\n }\n }\n\n return true;\n }),\n\n /**\n The default href value to use while a link-to is loading.\n Only applies when tagName is 'a'\n @property loadingHref\n @type String\n @default #\n @private\n */\n loadingHref: '#',\n\n didReceiveAttrs() {\n var {\n disabledWhen\n } = this;\n\n if (disabledWhen !== undefined) {\n this.set('disabled', disabledWhen);\n }\n\n var {\n params\n } = this;\n\n if (!params || params.length === 0) {\n (true && !(!(this.route === UNDEFINED && this.model === UNDEFINED && this.models === UNDEFINED && this.query === UNDEFINED)) && (0, _debug.assert)('You must provide at least one of the `@route`, `@model`, `@models` or `@query` argument to `<LinkTo>`.', !(this.route === UNDEFINED && this.model === UNDEFINED && this.models === UNDEFINED && this.query === UNDEFINED)));\n var {\n _models: models\n } = this;\n\n if (models.length > 0) {\n var lastModel = models[models.length - 1];\n\n if (typeof lastModel === 'object' && lastModel !== null && lastModel.isQueryParams) {\n this.query = lastModel.values;\n models.pop();\n }\n }\n\n return;\n }\n\n params = params.slice(); // Process the positional arguments, in order.\n // 1. Inline link title comes first, if present.\n\n if (!this[HAS_BLOCK]) {\n this.set('linkTitle', params.shift());\n } // 2. The last argument is possibly the `query` object.\n\n\n var queryParams = params[params.length - 1];\n\n if (queryParams && queryParams.isQueryParams) {\n this.set('query', params.pop().values);\n } else {\n this.set('query', UNDEFINED);\n } // 3. If there is a `route`, it is now at index 0.\n\n\n if (params.length === 0) {\n this.set('route', UNDEFINED);\n } else {\n this.set('route', params.shift());\n } // 4. Any remaining indices (if any) are `models`.\n\n\n this.set('model', UNDEFINED);\n this.set('models', params);\n }\n\n });\n _exports.LinkComponent = LinkComponent;\n\n LinkComponent.toString = () => '@ember/routing/link-component';\n\n LinkComponent.reopenClass({\n positionalParams: 'params'\n });\n /**\n @module @ember/component\n */\n\n var RECOMPUTE_TAG = (0, _utils.symbol)('RECOMPUTE_TAG');\n\n function isHelperFactory(helper) {\n return typeof helper === 'object' && helper !== null && helper.class && helper.class.isHelperFactory;\n }\n\n function isClassHelper(helper) {\n return helper.destroy !== undefined;\n }\n /**\n Ember Helpers are functions that can compute values, and are used in templates.\n For example, this code calls a helper named `format-currency`:\n \n ```app/templates/application.hbs\n <Cost @cents={{230}} />\n ```\n \n ```app/components/cost.hbs\n <div>{{format-currency @cents currency=\"$\"}}</div>\n ```\n \n Additionally a helper can be called as a nested helper.\n In this example, we show the formatted currency value if the `showMoney`\n named argument is truthy.\n \n ```handlebars\n {{if @showMoney (format-currency @cents currency=\"$\")}}\n ```\n \n Helpers defined using a class must provide a `compute` function. For example:\n \n ```app/helpers/format-currency.js\n import Helper from '@ember/component/helper';\n \n export default class extends Helper {\n compute([cents], { currency }) {\n return `${currency}${cents * 0.01}`;\n }\n }\n ```\n \n Each time the input to a helper changes, the `compute` function will be\n called again.\n \n As instances, these helpers also have access to the container and will accept\n injected dependencies.\n \n Additionally, class helpers can call `recompute` to force a new computation.\n \n @class Helper\n @public\n @since 1.13.0\n */\n\n\n var Helper = _runtime.FrameworkObject.extend({\n init() {\n this._super(...arguments);\n\n this[RECOMPUTE_TAG] = (0, _validator.createTag)();\n },\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 { inject as 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 (0, _runloop.join)(() => (0, _validator.dirtyTag)(this[RECOMPUTE_TAG]));\n }\n\n });\n\n _exports.Helper = Helper;\n Helper.isHelperFactory = true;\n\n class Wrapper {\n constructor(compute) {\n this.compute = compute;\n this.isHelperFactory = true;\n }\n\n create() {\n // needs new instance or will leak containers\n return {\n compute: this.compute\n };\n }\n\n }\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 */\n\n\n function helper(helperFn) {\n return new Wrapper(helperFn);\n }\n /**\n @module @ember/template\n */\n\n\n class SafeString {\n constructor(string) {\n this.string = string;\n }\n\n toString() {\n return `${this.string}`;\n }\n\n toHTML() {\n return this.toString();\n }\n\n }\n\n _exports.SafeString = SafeString;\n var escape = {\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#x27;',\n '`': '&#x60;',\n '=': '&#x3D;'\n };\n var possible = /[&<>\"'`=]/;\n var badChars = /[&<>\"'`=]/g;\n\n function escapeChar(chr) {\n return escape[chr];\n }\n\n function escapeExpression(string) {\n if (typeof string !== 'string') {\n // don't escape SafeStrings, since they're already safe\n if (string && string.toHTML) {\n return string.toHTML();\n } else if (string === null || string === undefined) {\n return '';\n } else if (!string) {\n return String(string);\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\n\n string = String(string);\n }\n\n if (!possible.test(string)) {\n return string;\n }\n\n return string.replace(badChars, escapeChar);\n }\n /**\n Mark a string as safe for unescaped output with Ember templates. If you\n return HTML from a helper, use this function to\n ensure Ember's rendering layer does not escape the HTML.\n \n ```javascript\n import { htmlSafe } from '@ember/template';\n \n htmlSafe('<div>someString</div>')\n ```\n \n @method htmlSafe\n @for @ember/template\n @static\n @return {SafeString} A string that will not be HTML escaped by Handlebars.\n @public\n */\n\n\n function htmlSafe(str) {\n if (str === null || str === undefined) {\n str = '';\n } else if (typeof str !== 'string') {\n str = String(str);\n }\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 var plainString = 'plain string',\n 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 */\n\n\n function isHTMLSafe(str) {\n return str !== null && typeof str === 'object' && typeof str.toHTML === 'function';\n }\n\n function isStaticComponentManager(_manager, capabilities) {\n return !capabilities.dynamicLayout;\n }\n\n class CompileTimeResolver {\n constructor(resolver) {\n this.resolver = resolver;\n }\n\n lookupHelper(name, referrer) {\n return this.resolver.lookupHelper(name, referrer);\n }\n\n lookupModifier(name, referrer) {\n return this.resolver.lookupModifier(name, referrer);\n }\n\n lookupComponent(name, referrer) {\n var definitionHandle = this.resolver.lookupComponentHandle(name, referrer);\n\n if (definitionHandle === null) {\n return null;\n }\n\n var {\n manager,\n state\n } = this.resolver.resolve(definitionHandle);\n var capabilities = manager.getCapabilities(state);\n\n if (!isStaticComponentManager(manager, capabilities)) {\n return {\n handle: definitionHandle,\n capabilities,\n compilable: null\n };\n }\n\n return {\n handle: definitionHandle,\n capabilities,\n compilable: manager.getJitStaticLayout(state, this.resolver)\n };\n }\n\n lookupPartial(name, referrer) {\n return this.resolver.lookupPartial(name, referrer);\n }\n\n resolve(handle) {\n return this.resolver.resolve(handle);\n }\n\n } // implements the ComponentManager interface as defined in glimmer:\n // tslint:disable-next-line:max-line-length\n // https://github.com/glimmerjs/glimmer-vm/blob/v0.24.0-beta.4/packages/%40glimmer/runtime/lib/component/interfaces.ts#L21\n\n\n class AbstractManager {\n prepareArgs(_state, _args) {\n return null;\n }\n\n didCreateElement(_component, _element, _operations) {// noop\n }\n\n didRenderLayout(_component, _bounds) {// noop\n }\n\n didCreate(_bucket) {// noop\n }\n\n update(_bucket, _dynamicScope) {// noop\n }\n\n didUpdateLayout(_bucket, _bounds) {// noop\n }\n\n didUpdate(_bucket) {// noop\n }\n\n }\n\n _exports.AbstractComponentManager = AbstractManager;\n\n function instrumentationPayload(def) {\n return {\n object: `${def.name}:${def.outlet}`\n };\n }\n\n var CAPABILITIES = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: _environment2.ENV._DEBUG_RENDER_TREE,\n attributeHook: false,\n elementHook: false,\n createCaller: false,\n dynamicScope: true,\n updateHook: _environment2.ENV._DEBUG_RENDER_TREE,\n createInstance: true,\n wrapped: false,\n willDestroy: false\n };\n\n class OutletComponentManager extends AbstractManager {\n create(environment, definition, args, dynamicScope) {\n var parentStateRef = dynamicScope.outletState;\n var currentStateRef = definition.ref;\n dynamicScope.outletState = currentStateRef;\n var state = {\n self: new _reference.ComponentRootReference(definition.controller, environment),\n environment,\n finalize: (0, _instrumentation._instrumentStart)('render.outlet', instrumentationPayload, definition)\n };\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n state.outlet = {\n name: definition.outlet\n };\n environment.extra.debugRenderTree.create(state.outlet, {\n type: 'outlet',\n name: state.outlet.name,\n args: _runtime2.EMPTY_ARGS,\n instance: undefined,\n template: undefined\n });\n var parentState = parentStateRef.value();\n var parentOwner = parentState && parentState.render && parentState.render.owner;\n var currentOwner = currentStateRef.value().render.owner;\n\n if (parentOwner && parentOwner !== currentOwner) {\n var engine = currentOwner;\n (true && !(typeof currentOwner.mountPoint === 'string') && (0, _debug.assert)('invalid engine: missing mountPoint', typeof currentOwner.mountPoint === 'string'));\n (true && !(currentOwner.routable === true) && (0, _debug.assert)('invalid engine: missing routable', currentOwner.routable === true));\n var mountPoint = engine.mountPoint;\n state.engine = {\n mountPoint\n };\n environment.extra.debugRenderTree.create(state.engine, {\n type: 'engine',\n name: mountPoint,\n args: _runtime2.EMPTY_ARGS,\n instance: engine,\n template: undefined\n });\n }\n\n environment.extra.debugRenderTree.create(state, {\n type: 'route-template',\n name: definition.name,\n args: args.capture(),\n instance: definition.controller,\n template: definition.template\n });\n (0, _runtime2.registerDestructor)(state, () => {\n state.environment.extra.debugRenderTree.willDestroy(state);\n\n if (state.engine) {\n state.environment.extra.debugRenderTree.willDestroy(state.engine);\n }\n\n state.environment.extra.debugRenderTree.willDestroy(state.outlet);\n });\n }\n\n return state;\n }\n\n getJitStaticLayout({\n template\n }, _resolver) {\n // The router has already resolved the template\n return (0, _util.unwrapTemplate)(template).asLayout();\n }\n\n getCapabilities() {\n return CAPABILITIES;\n }\n\n getSelf({\n self\n }) {\n return self;\n }\n\n getTag() {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n // returning a const tag skips the update hook (VM BUG?)\n return (0, _validator.createTag)();\n } else {\n // an outlet has no hooks\n return _validator.CONSTANT_TAG;\n }\n }\n\n didRenderLayout(state, bounds) {\n state.finalize();\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n state.environment.extra.debugRenderTree.didRender(state, bounds);\n\n if (state.engine) {\n state.environment.extra.debugRenderTree.didRender(state.engine, bounds);\n }\n\n state.environment.extra.debugRenderTree.didRender(state.outlet, bounds);\n }\n }\n\n update(state) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n state.environment.extra.debugRenderTree.update(state.outlet);\n\n if (state.engine) {\n state.environment.extra.debugRenderTree.update(state.engine);\n }\n\n state.environment.extra.debugRenderTree.update(state);\n }\n }\n\n didUpdateLayout(state, bounds) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n state.environment.extra.debugRenderTree.didRender(state, bounds);\n\n if (state.engine) {\n state.environment.extra.debugRenderTree.didRender(state.engine, bounds);\n }\n\n state.environment.extra.debugRenderTree.didRender(state.outlet, bounds);\n }\n }\n\n getDestroyable(state) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n return state;\n } else {\n return null;\n }\n }\n\n }\n\n var OUTLET_MANAGER = new OutletComponentManager();\n\n class OutletComponentDefinition {\n constructor(state, manager = OUTLET_MANAGER) {\n this.state = state;\n this.manager = manager;\n }\n\n }\n\n function createRootOutlet(outletView) {\n if (_environment2.ENV._APPLICATION_TEMPLATE_WRAPPER) {\n var WRAPPED_CAPABILITIES = (0, _polyfills.assign)({}, CAPABILITIES, {\n dynamicTag: true,\n elementHook: true,\n wrapped: true\n });\n var WrappedOutletComponentManager = class extends OutletComponentManager {\n getTagName(_component) {\n return 'div';\n }\n\n getJitStaticLayout({\n template\n }) {\n // The router has already resolved the template\n return (0, _util.unwrapTemplate)(template).asWrappedLayout();\n }\n\n getCapabilities() {\n return WRAPPED_CAPABILITIES;\n }\n\n didCreateElement(component, element, _operations) {\n // to add GUID id and class\n element.setAttribute('class', 'ember-view');\n element.setAttribute('id', (0, _utils.guidFor)(component));\n }\n\n };\n var 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\n function NOOP() {}\n /**\n @module ember\n */\n\n /**\n Represents the internal state of the component.\n \n @class ComponentStateBucket\n @private\n */\n\n\n class ComponentStateBucket {\n constructor(environment, component, args, finalizer, hasWrappedElement) {\n this.environment = environment;\n this.component = component;\n this.args = args;\n this.finalizer = finalizer;\n this.hasWrappedElement = hasWrappedElement;\n this.classRef = null;\n this.classRef = null;\n this.argsRevision = args === null ? 0 : (0, _validator.valueForTag)(args.tag);\n this.rootRef = new _reference.ComponentRootReference(component, environment);\n (0, _runtime2.registerDestructor)(this, () => this.willDestroy(), true);\n (0, _runtime2.registerDestructor)(this, () => this.component.destroy());\n }\n\n willDestroy() {\n var {\n component,\n environment\n } = this;\n\n if (environment.isInteractive) {\n component.trigger('willDestroyElement');\n component.trigger('willClearRender');\n var element = (0, _views.getViewElement)(component);\n\n if (element) {\n (0, _views.clearElementView)(element);\n (0, _views.clearViewElement)(component);\n }\n }\n\n component.renderer.unregister(component);\n }\n\n finalize() {\n var {\n finalizer\n } = this;\n finalizer();\n this.finalizer = NOOP;\n }\n\n }\n\n class EmberHelperRootReference extends _reference.RootReference {\n constructor(helper$$1, args, env) {\n super(env);\n this.args = args;\n this.computeRevision = null;\n this.computeTag = null;\n\n this.fn = args => {\n var {\n positional,\n named\n } = args;\n var positionalValue = positional.value();\n var namedValue = named.value();\n var ret;\n\n if (true\n /* DEBUG */\n ) {\n (0, _debug.debugFreeze)(positionalValue);\n (0, _debug.debugFreeze)(namedValue);\n (0, _validator.deprecateMutationsInAutotrackingTransaction)(() => {\n ret = helper$$1.compute(positionalValue, namedValue);\n });\n } else {\n ret = helper$$1.compute(positionalValue, namedValue);\n }\n\n if (helper$$1[RECOMPUTE_TAG]) {\n (0, _validator.consumeTag)(helper$$1[RECOMPUTE_TAG]);\n }\n\n return ret;\n };\n\n if (true\n /* DEBUG */\n ) {\n var name = isClassHelper(helper$$1) ? (0, _utils.getDebugName)(helper$$1) : (0, _utils.getDebugName)(helper$$1.compute);\n env.setTemplatePathDebugContext(this, `(result of a \\`${name}\\` helper)`, null);\n this.didSetupDebugContext = true;\n }\n\n var valueTag = this.valueTag = (0, _validator.createUpdatableTag)();\n this.tag = (0, _validator.combine)([args.tag, valueTag]);\n }\n\n compute() {\n this.computeTag = (0, _validator.track)(() => {\n this.computeValue = this.fn(this.args);\n }, true\n /* DEBUG */\n && this.env.getTemplatePathDebugContext(this));\n }\n\n value() {\n var {\n tag,\n computeRevision\n } = this;\n\n if (computeRevision === null || !(0, _validator.validateTag)(tag, computeRevision)) {\n this.compute();\n (0, _validator.updateTag)(this.valueTag, this.computeTag);\n this.computeRevision = (0, _validator.valueForTag)(tag);\n }\n\n return this.computeValue;\n }\n\n }\n\n class UnboundRootReference extends _reference.RootReference {\n constructor(inner, env, parent, key) {\n super(env);\n this.inner = inner;\n this.env = env;\n\n if (true\n /* DEBUG */\n ) {\n env.setTemplatePathDebugContext(this, key || 'this', parent || null);\n }\n }\n\n value() {\n return this.inner;\n }\n\n get(key) {\n var value = this.value();\n\n if ((0, _utils.isObject)(value)) {\n // root of interop with ember objects\n return new UnboundPropertyReference(value[key], this.env, this, key);\n } else {\n return _runtime2.PrimitiveReference.create(value);\n }\n }\n\n }\n\n class UnboundPropertyReference extends UnboundRootReference {}\n\n function referenceFromParts(root, parts) {\n var reference = root;\n\n for (var i = 0; i < parts.length; i++) {\n reference = reference.get(parts[i]);\n }\n\n return reference;\n }\n\n function referenceForKey(rootRef, key) {\n return rootRef.get(key);\n }\n\n function referenceForParts(rootRef, parts) {\n var isAttrs = parts[0] === 'attrs'; // TODO deprecate this\n\n if (isAttrs) {\n parts.shift();\n\n if (parts.length === 1) {\n return referenceForKey(rootRef, parts[0]);\n }\n }\n\n return referenceFromParts(rootRef, parts);\n }\n\n var AttributeBinding = {\n parse(microsyntax) {\n var colonIndex = microsyntax.indexOf(':');\n\n if (colonIndex === -1) {\n (true && !(microsyntax !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', microsyntax !== 'class'));\n return [microsyntax, microsyntax, true];\n } else {\n var prop = microsyntax.substring(0, colonIndex);\n var attribute = microsyntax.substring(colonIndex + 1);\n (true && !(attribute !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', attribute !== 'class'));\n return [prop, attribute, false];\n }\n },\n\n install(component, rootRef, parsed, operations, env) {\n var [prop, attribute, isSimple] = parsed;\n\n if (attribute === 'id') {\n var elementId = (0, _metal.get)(component, prop);\n\n if (elementId === undefined || elementId === null) {\n elementId = component.elementId;\n }\n\n elementId = _runtime2.PrimitiveReference.create(elementId);\n operations.setAttribute('id', elementId, true, null); // operations.addStaticAttribute(element, 'id', elementId);\n\n return;\n }\n\n var isPath = prop.indexOf('.') > -1;\n var reference = isPath ? referenceForParts(rootRef, prop.split('.')) : referenceForKey(rootRef, prop);\n (true && !(!(isSimple && isPath)) && (0, _debug.assert)(`Illegal attributeBinding: '${prop}' is not a valid attribute name.`, !(isSimple && isPath)));\n\n if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE && attribute === 'style' && StyleBindingReference !== undefined) {\n reference = new StyleBindingReference(rootRef, reference, referenceForKey(rootRef, 'isVisible'), env);\n }\n\n operations.setAttribute(attribute, reference, false, null); // operations.addDynamicAttribute(element, attribute, reference, false);\n }\n\n };\n var DISPLAY_NONE = 'display: none;';\n var SAFE_DISPLAY_NONE = htmlSafe(DISPLAY_NONE);\n var StyleBindingReference;\n var installIsVisibleBinding;\n\n if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE) {\n StyleBindingReference = class {\n constructor(parent, inner, isVisible, env) {\n this.inner = inner;\n this.isVisible = isVisible;\n this.env = env;\n this.tag = (0, _validator.combine)([inner.tag, isVisible.tag]);\n\n if (true\n /* DEBUG */\n ) {\n env.setTemplatePathDebugContext(this, 'style', parent);\n }\n }\n\n value() {\n var value = this.inner.value();\n var isVisible = this.isVisible.value();\n\n if (isVisible !== undefined) {\n (true && !(false) && (0, _debug.deprecate)(`The \\`isVisible\\` property on classic component classes is deprecated. Was accessed ${this.env.getTemplatePathDebugContext(this).replace(/^W/, 'w')}`, false, {\n id: 'ember-component.is-visible',\n until: '4.0.0',\n url: 'https://deprecations.emberjs.com/v3.x#toc_ember-component-is-visible'\n }));\n }\n\n if (isVisible !== false) {\n return value;\n } else if (!value) {\n return SAFE_DISPLAY_NONE;\n } else {\n var style = value + ' ' + DISPLAY_NONE;\n return isHTMLSafe(value) ? htmlSafe(style) : style;\n }\n }\n\n get() {\n return _runtime2.UNDEFINED_REFERENCE;\n }\n\n };\n\n installIsVisibleBinding = (rootRef, operations, environment) => {\n operations.setAttribute('style', new StyleBindingReference(rootRef, _runtime2.UNDEFINED_REFERENCE, rootRef.get('isVisible'), environment), false, null);\n };\n }\n\n var ClassNameBinding = {\n install(_element, rootRef, microsyntax, operations) {\n var [prop, truthy, falsy] = microsyntax.split(':');\n var isStatic = prop === '';\n\n if (isStatic) {\n operations.setAttribute('class', _runtime2.PrimitiveReference.create(truthy), true, null);\n } else {\n var isPath = prop.indexOf('.') > -1;\n var parts = isPath ? prop.split('.') : [];\n var value = isPath ? referenceForParts(rootRef, parts) : referenceForKey(rootRef, prop);\n var ref;\n\n if (truthy === undefined) {\n ref = new SimpleClassNameBindingReference(value, isPath ? parts[parts.length - 1] : prop);\n } else {\n ref = new ColonClassNameBindingReference(value, truthy, falsy);\n }\n\n operations.setAttribute('class', ref, false, null);\n }\n }\n\n };\n\n class SimpleClassNameBindingReference {\n constructor(inner, path) {\n this.inner = inner;\n this.path = path;\n this.tag = inner.tag;\n this.dasherizedPath = null;\n }\n\n value() {\n var value = this.inner.value();\n\n if (value === true) {\n var {\n path,\n dasherizedPath\n } = this;\n return dasherizedPath || (this.dasherizedPath = (0, _string.dasherize)(path));\n } else if (value || value === 0) {\n return String(value);\n } else {\n return null;\n }\n }\n\n }\n\n class ColonClassNameBindingReference {\n constructor(inner, truthy = null, falsy = null) {\n this.inner = inner;\n this.truthy = truthy;\n this.falsy = falsy;\n this.tag = inner.tag;\n }\n\n value() {\n var {\n inner,\n truthy,\n falsy\n } = this;\n return inner.value() ? truthy : falsy;\n }\n\n }\n /**\n @module ember\n */\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 */\n\n\n var INVOKE = (0, _utils.symbol)('INVOKE');\n _exports.INVOKE = INVOKE;\n var SOURCE = (0, _utils.symbol)('SOURCE');\n\n class MutReference extends _reference.RootReference {\n constructor(inner, env) {\n super(env);\n this.inner = inner;\n this.tag = inner.tag;\n this[SOURCE] = inner;\n }\n\n value() {\n return this.inner.value();\n }\n\n get(key) {\n return this.inner.get(key);\n }\n\n [_reference.UPDATE_REFERENCED_VALUE](value) {\n return this.inner[_reference.UPDATE_REFERENCED_VALUE](value);\n }\n\n [INVOKE](value) {\n return this.inner[_reference.UPDATE_REFERENCED_VALUE](value);\n }\n\n }\n\n function unMut(ref) {\n return ref[SOURCE] || ref;\n }\n\n function mut(args, vm) {\n var rawRef = args.positional.at(0);\n\n if (typeof rawRef[INVOKE] === 'function') {\n return rawRef;\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\n\n (true && !(rawRef[_reference.UPDATE_REFERENCED_VALUE] !== undefined) && (0, _debug.assert)('You can only pass a path to mut', rawRef[_reference.UPDATE_REFERENCED_VALUE] !== undefined));\n return new MutReference(rawRef, vm.env);\n }\n /**\n @module ember\n */\n\n\n var ACTION = (0, _utils.symbol)('ACTION');\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 should be invoked using the [sendAction](/ember/release/classes/Component/methods/sendAction?anchor=sendAction)\n method. The first argument to `sendAction` is the action to be called, and\n additional arguments are passed to the action function. This has interesting\n properties combined with currying of arguments. 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.sendAction('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 { inject as 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 */\n\n function action(args, vm) {\n var {\n named,\n positional\n } = args;\n var capturedArgs = positional.capture(); // 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\n var [context, action, ...restArgs] = capturedArgs.references; // TODO: Is there a better way of doing this?\n\n var debugKey = action.propertyKey;\n var target = named.has('target') ? named.get('target') : context;\n var processArgs = makeArgsProcessor(named.has('value') && named.get('value'), restArgs);\n var fn;\n\n if (typeof action[INVOKE] === 'function') {\n fn = makeClosureAction(action, action, action[INVOKE], processArgs, debugKey);\n } else if ((0, _validator.isConstTagged)(target) && (0, _validator.isConstTagged)(action)) {\n fn = makeClosureAction(context.value(), target.value(), action.value(), processArgs, debugKey);\n } else {\n fn = makeDynamicClosureAction(context.value(), target, action, processArgs, debugKey);\n }\n\n fn[ACTION] = true;\n return new UnboundRootReference(fn, vm.env);\n }\n\n function NOOP$1(args) {\n return args;\n }\n\n function makeArgsProcessor(valuePathRef, actionArgsRef) {\n var mergeArgs;\n\n if (actionArgsRef.length > 0) {\n mergeArgs = args => {\n return actionArgsRef.map(ref => ref.value()).concat(args);\n };\n }\n\n var readValue;\n\n if (valuePathRef) {\n readValue = args => {\n var valuePath = valuePathRef.value();\n\n if (valuePath && args.length > 0) {\n args[0] = (0, _metal.get)(args[0], valuePath);\n }\n\n return args;\n };\n }\n\n if (mergeArgs && readValue) {\n return args => {\n return readValue(mergeArgs(args));\n };\n } else {\n return mergeArgs || readValue || NOOP$1;\n }\n }\n\n function 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 (true\n /* DEBUG */\n ) {\n makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey);\n }\n\n return (...args) => {\n return makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey)(...args);\n };\n }\n\n function makeClosureAction(context, target, action, processArgs, debugKey) {\n var self;\n var fn;\n (true && !(action !== undefined && action !== null) && (0, _debug.assert)(`Action passed is null or undefined in (action) from ${target}.`, action !== undefined && action !== null));\n\n if (typeof action[INVOKE] === 'function') {\n self = action;\n fn = action[INVOKE];\n } else {\n var typeofAction = typeof action;\n\n if (typeofAction === 'string') {\n self = target;\n fn = target.actions && target.actions[action];\n (true && !(fn) && (0, _debug.assert)(`An action named '${action}' was not found in ${target}`, fn));\n } else if (typeofAction === 'function') {\n self = context;\n fn = action;\n } else {\n // tslint:disable-next-line:max-line-length\n (true && !(false) && (0, _debug.assert)(`An action could not be made for \\`${debugKey || action}\\` 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 }\n\n return (...args) => {\n var payload = {\n target: self,\n args,\n label: '@glimmer/closure-action'\n };\n return (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n return (0, _runloop.join)(self, fn, ...processArgs(args));\n });\n };\n } // inputs needed by CurlyComponents (attrs and props, with mutable\n // cells, etc).\n\n\n function processComponentArgs(namedArgs) {\n var keys = namedArgs.names;\n var attrs = namedArgs.value();\n var props = Object.create(null);\n var args = Object.create(null);\n props[ARGS] = args;\n\n for (var i = 0; i < keys.length; i++) {\n var name = keys[i];\n var ref = namedArgs.get(name);\n var value = attrs[name];\n\n if (typeof value === 'function' && value[ACTION]) {\n attrs[name] = value;\n } else if (ref[_reference.UPDATE_REFERENCED_VALUE]) {\n attrs[name] = new MutableCell(ref, value);\n }\n\n args[name] = ref;\n props[name] = value;\n }\n\n props.attrs = attrs;\n return props;\n }\n\n var REF = (0, _utils.symbol)('REF');\n\n class MutableCell {\n constructor(ref, value) {\n this[_views.MUTABLE_CELL] = true;\n this[REF] = ref;\n this.value = value;\n }\n\n update(val) {\n this[REF][_reference.UPDATE_REFERENCED_VALUE](val);\n }\n\n }\n\n var __rest = undefined && undefined.__rest || function (s, e) {\n var t = {};\n\n for (var p in s) {\n if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0) t[p] = s[p];\n }\n\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 };\n\n function aliasIdToElementId(args, props) {\n if (args.named.has('id')) {\n // tslint:disable-next-line:max-line-length\n (true && !(!args.named.has('elementId')) && (0, _debug.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 } // 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.\n\n\n function applyAttributeBindings(attributeBindings, component, rootRef, operations, environment) {\n var seen = [];\n var i = attributeBindings.length - 1;\n\n while (i !== -1) {\n var binding = attributeBindings[i];\n var parsed = AttributeBinding.parse(binding);\n var attribute = parsed[1];\n\n if (seen.indexOf(attribute) === -1) {\n seen.push(attribute);\n AttributeBinding.install(component, rootRef, parsed, operations, environment);\n }\n\n i--;\n }\n\n if (seen.indexOf('id') === -1) {\n var id$$1 = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n operations.setAttribute('id', _runtime2.PrimitiveReference.create(id$$1), false, null);\n }\n\n if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE && installIsVisibleBinding !== undefined && seen.indexOf('style') === -1) {\n installIsVisibleBinding(rootRef, operations, environment);\n }\n }\n\n var DEFAULT_LAYOUT = (0, _container.privatize)`template:components/-default`;\n var EMPTY_POSITIONAL_ARGS = [];\n (0, _debug.debugFreeze)(EMPTY_POSITIONAL_ARGS);\n\n class CurlyComponentManager extends AbstractManager {\n templateFor(component) {\n var {\n layout,\n layoutName\n } = component;\n var owner = (0, _owner.getOwner)(component);\n var factory;\n\n if (layout === undefined) {\n if (layoutName !== undefined) {\n var _factory = owner.lookup(`template:${layoutName}`);\n\n (true && !(_factory !== undefined) && (0, _debug.assert)(`Layout \\`${layoutName}\\` not found!`, _factory !== undefined));\n factory = _factory;\n } else {\n factory = owner.lookup(DEFAULT_LAYOUT);\n }\n } else if (isTemplateFactory(layout)) {\n factory = layout;\n } else {\n // we were provided an instance already\n return layout;\n }\n\n return factory(owner);\n }\n\n getJitStaticLayout(state, _resolver) {\n return (0, _util.unwrapTemplate)(state.template).asLayout();\n }\n\n getJitDynamicLayout(bucket) {\n var component = bucket.component;\n var template$$1 = this.templateFor(component);\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.environment.extra.debugRenderTree.setTemplate(bucket, template$$1);\n }\n\n return template$$1;\n }\n\n getTagName(state) {\n var {\n component,\n hasWrappedElement\n } = state;\n\n if (!hasWrappedElement) {\n return null;\n }\n\n return component && component.tagName || 'div';\n }\n\n getCapabilities(state) {\n return state.capabilities;\n }\n\n prepareArgs(state, args) {\n if (args.named.has('__ARGS__')) {\n var _a = args.named.capture().map,\n {\n __ARGS__\n } = _a,\n rest = __rest(_a, [\"__ARGS__\"]);\n\n var prepared = {\n positional: EMPTY_POSITIONAL_ARGS,\n named: (0, _polyfills.assign)({}, rest, __ARGS__.value())\n };\n return prepared;\n }\n\n var {\n positionalParams\n } = state.ComponentClass.class; // early exits\n\n if (positionalParams === undefined || positionalParams === null || args.positional.length === 0) {\n return null;\n }\n\n var named;\n\n if (typeof positionalParams === 'string') {\n (true && !(!args.named.has(positionalParams)) && (0, _debug.assert)(`You cannot specify positional parameters and the hash argument \\`${positionalParams}\\`.`, !args.named.has(positionalParams)));\n named = {\n [positionalParams]: args.positional.capture()\n };\n (0, _polyfills.assign)(named, args.named.capture().map);\n } else if (Array.isArray(positionalParams) && positionalParams.length > 0) {\n var count = Math.min(positionalParams.length, args.positional.length);\n named = {};\n (0, _polyfills.assign)(named, args.named.capture().map);\n\n for (var i = 0; i < count; i++) {\n var name = positionalParams[i];\n (true && !(!args.named.has(name)) && (0, _debug.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\n return {\n positional: _util.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\n\n create(environment, state, args, dynamicScope, callerSelfRef, hasBlock) {\n // Get the nearest concrete component instance from the scope. \"Virtual\"\n // components will be skipped.\n var parentView = dynamicScope.view; // Get the Ember.Component subclass to instantiate for this component.\n\n var factory = state.ComponentClass; // 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\n var capturedArgs = args.named.capture();\n var props = processComponentArgs(capturedArgs); // Alias `id` argument to `elementId` property on the component instance.\n\n aliasIdToElementId(args, props); // Set component instance's parentView property to point to nearest concrete\n // component.\n\n props.parentView = parentView; // Set whether this component was invoked with a block\n // (`{{#my-component}}{{/my-component}}`) or without one\n // (`{{my-component}}`).\n\n props[HAS_BLOCK] = hasBlock; // Save the current `this` context of the template as the component's\n // `_target`, so bubbled actions are routed to the right place.\n\n props._target = callerSelfRef.value(); // static layout asserts CurriedDefinition\n\n if (state.template) {\n props.layout = state.template;\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\n\n var component = factory.create(props);\n var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component); // We become the new parentView for downstream components, so save our\n // component off on the dynamic scope.\n\n dynamicScope.view = component; // Unless we're the root component, we need to add ourselves to our parent\n // component's childViews array.\n\n if (parentView !== null && parentView !== undefined) {\n (0, _views.addChildView)(parentView, component);\n }\n\n component.trigger('didReceiveAttrs');\n var hasWrappedElement = component.tagName !== ''; // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n\n if (!hasWrappedElement) {\n if (environment.isInteractive) {\n component.trigger('willRender');\n }\n\n component._transitionTo('hasElement');\n\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\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\n\n var bucket = new ComponentStateBucket(environment, component, capturedArgs, finalizer, hasWrappedElement);\n\n if (args.named.has('class')) {\n bucket.classRef = args.named.get('class');\n }\n\n if (true\n /* DEBUG */\n ) {\n processComponentInitializationAssertions(component, props);\n }\n\n if (environment.isInteractive && hasWrappedElement) {\n component.trigger('willRender');\n }\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n environment.extra.debugRenderTree.create(bucket, {\n type: 'component',\n name: state.name,\n args: args.capture(),\n instance: component,\n template: state.template\n });\n (0, _runtime2.registerDestructor)(bucket, () => {\n environment.extra.debugRenderTree.willDestroy(bucket);\n });\n }\n\n return bucket;\n }\n\n getSelf({\n rootRef\n }) {\n return rootRef;\n }\n\n didCreateElement({\n component,\n classRef,\n environment,\n rootRef\n }, element, operations) {\n (0, _views.setViewElement)(component, element);\n (0, _views.setElementView)(element, component);\n var {\n attributeBindings,\n classNames,\n classNameBindings\n } = component;\n\n if (attributeBindings && attributeBindings.length) {\n applyAttributeBindings(attributeBindings, component, rootRef, operations, environment);\n } else {\n var id$$1 = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n operations.setAttribute('id', _runtime2.PrimitiveReference.create(id$$1), false, null);\n\n if (_deprecatedFeatures.EMBER_COMPONENT_IS_VISIBLE) {\n installIsVisibleBinding(rootRef, operations, environment);\n }\n }\n\n if (classRef) {\n var ref = new SimpleClassNameBindingReference(classRef, classRef['propertyKey']);\n operations.setAttribute('class', ref, false, null);\n }\n\n if (classNames && classNames.length) {\n classNames.forEach(name => {\n operations.setAttribute('class', _runtime2.PrimitiveReference.create(name), false, null);\n });\n }\n\n if (classNameBindings && classNameBindings.length) {\n classNameBindings.forEach(binding => {\n ClassNameBinding.install(element, rootRef, binding, operations);\n });\n }\n\n operations.setAttribute('class', _runtime2.PrimitiveReference.create('ember-view'), false, null);\n\n if ('ariaRole' in component) {\n operations.setAttribute('role', referenceForKey(rootRef, 'ariaRole'), false, null);\n }\n\n component._transitionTo('hasElement');\n\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n }\n\n didRenderLayout(bucket, bounds) {\n bucket.component[BOUNDS] = bounds;\n bucket.finalize();\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.environment.extra.debugRenderTree.didRender(bucket, bounds);\n }\n }\n\n getTag({\n args,\n component\n }) {\n return args ? (0, _validator.combine)([args.tag, component[DIRTY_TAG]]) : component[DIRTY_TAG];\n }\n\n didCreate({\n component,\n environment\n }) {\n if (environment.isInteractive) {\n component._transitionTo('inDOM');\n\n component.trigger('didInsertElement');\n component.trigger('didRender');\n }\n }\n\n update(bucket) {\n var {\n component,\n args,\n argsRevision,\n environment\n } = bucket;\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n environment.extra.debugRenderTree.update(bucket);\n }\n\n bucket.finalizer = (0, _instrumentation._instrumentStart)('render.component', rerenderInstrumentDetails, component);\n\n if (args && !(0, _validator.validateTag)(args.tag, argsRevision)) {\n var props = processComponentArgs(args);\n bucket.argsRevision = (0, _validator.valueForTag)(args.tag);\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\n if (environment.isInteractive) {\n component.trigger('willUpdate');\n component.trigger('willRender');\n }\n }\n\n didUpdateLayout(bucket, bounds) {\n bucket.finalize();\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.environment.extra.debugRenderTree.didRender(bucket, bounds);\n }\n }\n\n didUpdate({\n component,\n environment\n }) {\n if (environment.isInteractive) {\n component.trigger('didUpdate');\n component.trigger('didRender');\n }\n }\n\n getDestroyable(bucket) {\n return bucket;\n }\n\n }\n\n function processComponentInitializationAssertions(component, props) {\n (true && !((() => {\n var {\n classNameBindings\n } = component;\n\n for (var i = 0; i < classNameBindings.length; i++) {\n var binding = classNameBindings[i];\n\n if (typeof binding !== 'string' || binding.length === 0) {\n return false;\n }\n }\n\n return true;\n })()) && (0, _debug.assert)(`classNameBindings must be non-empty strings: ${component}`, (() => {\n var {\n classNameBindings\n } = component;\n\n for (var i = 0; i < classNameBindings.length; i++) {\n var binding = classNameBindings[i];\n\n if (typeof binding !== 'string' || binding.length === 0) {\n return false;\n }\n }\n\n return true;\n })()));\n (true && !((() => {\n var {\n classNameBindings\n } = component;\n\n for (var i = 0; i < classNameBindings.length; i++) {\n var binding = classNameBindings[i];\n\n if (binding.split(' ').length > 1) {\n return false;\n }\n }\n\n return true;\n })()) && (0, _debug.assert)(`classNameBindings must not have spaces in them: ${component}`, (() => {\n var {\n classNameBindings\n } = component;\n\n for (var i = 0; i < classNameBindings.length; i++) {\n var binding = classNameBindings[i];\n\n if (binding.split(' ').length > 1) {\n return false;\n }\n }\n\n return true;\n })()));\n (true && !(component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0) && (0, _debug.assert)(`You cannot use \\`classNameBindings\\` on a tag-less component: ${component}`, component.tagName !== '' || !component.classNameBindings || component.classNameBindings.length === 0));\n (true && !(component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== '') && (0, _debug.assert)(`You cannot use \\`elementId\\` on a tag-less component: ${component}`, component.tagName !== '' || props.id === component.elementId || !component.elementId && component.elementId !== ''));\n (true && !(component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0) && (0, _debug.assert)(`You cannot use \\`attributeBindings\\` on a tag-less component: ${component}`, component.tagName !== '' || !component.attributeBindings || component.attributeBindings.length === 0));\n }\n\n function initialRenderInstrumentDetails(component) {\n return component.instrumentDetails({\n initialRender: true\n });\n }\n\n function rerenderInstrumentDetails(component) {\n return component.instrumentDetails({\n initialRender: false\n });\n }\n\n var 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 };\n var CURLY_COMPONENT_MANAGER = new CurlyComponentManager();\n\n class CurlyComponentDefinition {\n constructor(name, ComponentClass, template$$1, args) {\n this.name = name;\n this.ComponentClass = ComponentClass;\n this.template = template$$1;\n this.args = args;\n this.manager = CURLY_COMPONENT_MANAGER;\n this.state = {\n name,\n ComponentClass,\n template: template$$1,\n capabilities: CURLY_CAPABILITIES\n };\n }\n\n }\n\n class RootComponentManager extends CurlyComponentManager {\n constructor(component) {\n super();\n this.component = component;\n }\n\n getJitStaticLayout(_state) {\n var template = this.templateFor(this.component);\n return (0, _util.unwrapTemplate)(template).asWrappedLayout();\n }\n\n create(environment, state, _args, dynamicScope) {\n var component = this.component;\n var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n dynamicScope.view = component;\n var hasWrappedElement = component.tagName !== ''; // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n\n if (!hasWrappedElement) {\n if (environment.isInteractive) {\n component.trigger('willRender');\n }\n\n component._transitionTo('hasElement');\n\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n }\n\n if (true\n /* DEBUG */\n ) {\n processComponentInitializationAssertions(component, {});\n }\n\n var bucket = new ComponentStateBucket(environment, component, null, finalizer, hasWrappedElement);\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n environment.extra.debugRenderTree.create(bucket, {\n type: 'component',\n name: state.name,\n args: _runtime2.EMPTY_ARGS,\n instance: component,\n template: state.template\n });\n }\n\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\n\n\n var ROOT_CAPABILITIES = {\n dynamicLayout: false,\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 };\n\n class RootComponentDefinition {\n constructor(component) {\n this.component = component;\n var manager = new RootComponentManager(component);\n this.manager = manager;\n var factory = (0, _container.getFactoryFor)(component);\n this.state = {\n name: factory.fullName.slice(10),\n capabilities: ROOT_CAPABILITIES,\n ComponentClass: factory\n };\n }\n\n getTag({\n component\n }) {\n return component[DIRTY_TAG];\n }\n\n }\n /* globals module, URL */\n\n\n var nodeURL;\n var parsingNode;\n\n function installProtocolForURL(environment) {\n var protocol;\n\n if (_browserEnvironment.hasDOM) {\n protocol = browserProtocolForURL.call(environment, 'foobar:baz');\n } // Test to see if our DOM implementation parses\n // and normalizes URLs.\n\n\n if (protocol === 'foobar:') {\n // Swap in the method that doesn't do this test now that\n // we know it works.\n environment.protocolForURL = browserProtocolForURL;\n } else if (typeof URL === 'object') {\n // URL globally provided, likely from FastBoot's sandbox\n nodeURL = URL;\n environment.protocolForURL = nodeProtocolForURL;\n } else if (typeof module !== 'undefined' && typeof module.require === 'function') {\n // Otherwise, we need to fall back to our own URL parsing.\n // Global `require` is shadowed by Ember's loader so we have to use the fully\n // qualified `module.require`.\n // tslint:disable-next-line:no-require-imports\n nodeURL = module.require('url');\n environment.protocolForURL = nodeProtocolForURL;\n } else {\n throw new Error('Could not find valid URL parsing mechanism for URL Sanitization');\n }\n }\n\n function browserProtocolForURL(url) {\n if (!parsingNode) {\n parsingNode = document.createElement('a');\n }\n\n parsingNode.href = url;\n return parsingNode.protocol;\n }\n\n function nodeProtocolForURL(url) {\n var protocol = null;\n\n if (typeof url === 'string') {\n protocol = nodeURL.parse(url).protocol;\n }\n\n return protocol === null ? ':' : protocol;\n }\n\n var GUID = 0;\n\n function isPathNode(node) {\n return node.type === 'root' || node.type === 'argument' || node.type === 'property' || node.type === 'iterator';\n }\n\n class 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 (true && !(this.value !== null) && (0, _debug.assert)('BUG: double release?', this.value !== null));\n this.value = null;\n }\n\n toString() {\n var 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 }\n\n var _repeat = String.prototype.repeat || function (count) {\n return new Array(count + 1).join(this);\n };\n\n function repeatString(str, count) {\n return _repeat.call(str, count);\n }\n\n class DebugRenderTree {\n constructor() {\n this.stack = new _util.Stack();\n this.refs = new WeakMap();\n this.roots = new Set();\n this.nodes = new WeakMap();\n this.pathNodes = new WeakMap();\n }\n\n begin() {\n this.reset();\n }\n\n create(state, node) {\n var internalNode = (0, _polyfills.assign)({}, node, {\n bounds: null,\n refs: new Set(),\n paths: 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 } // for dynamic layouts\n\n\n setTemplate(state, template) {\n this.nodeFor(state).template = template;\n }\n\n didRender(state, bounds) {\n (true && !(this.stack.current === state) && (0, _debug.assert)(`BUG: expecting ${this.stack.current}, got ${state}`, this.stack.current === state));\n this.nodeFor(state).bounds = bounds;\n this.exit();\n }\n\n willDestroy(state) {\n (0, _util.expect)(this.refs.get(state), 'BUG: missing ref').release();\n }\n\n commit() {\n this.reset();\n }\n\n capture() {\n return this.captureRefs(this.roots);\n }\n\n createPath(pathRef, name, type, parentRef) {\n (true && !(!this.pathNodes.has(pathRef)) && (0, _debug.assert)('BUG: Attempted to register a path that had already been registered', !this.pathNodes.has(pathRef)));\n var {\n current\n } = this.stack;\n\n if (current === null) {\n // Not currently in a rendering context, don't register the node\n return;\n }\n\n var currentNode = (0, _util.expect)(this.nodes.get(current), 'BUG: Attempted to create a path, but there is no current render node');\n var parent;\n\n if (parentRef === null) {\n parent = currentNode;\n } else {\n var {\n named\n } = currentNode.args;\n var refIndex = named.references.indexOf(parentRef);\n\n if (refIndex !== -1) {\n parent = {\n parent: currentNode,\n type: 'argument',\n name: `@${named.names[refIndex]}`,\n paths: new Set()\n };\n } else if (this.pathNodes.has(parentRef)) {\n parent = this.pathNodes.get(parentRef);\n } else {\n // Some RootReferences get created before a component context has been\n // setup (root, curly). This is mainly because the debugRenderTree is\n // tied to the manager hooks, and not built into the VM directly. In\n // these cases, we setup the path lazily when the first property is\n // accessed.\n this.createPath(parentRef, 'this', 'root', null);\n parent = this.pathNodes.get(parentRef);\n }\n }\n\n var pathNode = {\n name,\n type,\n parent,\n paths: new Set()\n };\n parent.paths.add(pathNode);\n this.pathNodes.set(pathRef, pathNode);\n }\n\n logRenderStackForPath(pathRef) {\n var node = (0, _util.expect)(this.pathNodes.get(pathRef), 'BUG: Attempted to create a log for a path reference, but no node exist for that reference');\n var pathParts = [];\n\n while (node !== undefined && isPathNode(node)) {\n if (node.type === 'iterator') {\n // Iterator items are a combination of their own name (the key of the item) and\n // their parent, the iterable itself.\n var part = `${node.parent.name}[${node.name}]`;\n pathParts.push(part);\n node = node.parent;\n } else {\n pathParts.unshift(node.name);\n }\n\n node = node.parent;\n }\n\n var messageParts = [pathParts.join('.')];\n\n while (node !== undefined) {\n if (node.type === 'outlet' || node.name === '-top-level') {\n node = node.parent;\n continue;\n }\n\n messageParts.unshift(node.name);\n node = node.parent;\n }\n\n return messageParts.map((part, index) => `${repeatString(' ', index * 2)}${part}`).join('\\n');\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 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 (true && !(this.stack.size !== 0) && (0, _debug.assert)('BUG: unbalanced pop', this.stack.size !== 0));\n this.stack.pop();\n }\n\n nodeFor(state) {\n return (0, _util.expect)(this.nodes.get(state), 'BUG: missing node');\n }\n\n appendChild(node, state) {\n (true && !(!this.refs.has(state)) && (0, _debug.assert)('BUG: child already appended', !this.refs.has(state)));\n var parent = this.stack.current;\n var ref = new Ref(state);\n this.refs.set(state, ref);\n\n if (parent) {\n var 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 var captured = [];\n refs.forEach(ref => {\n var 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 var node = this.nodeFor(state);\n var {\n type,\n name,\n args,\n instance,\n refs\n } = node;\n var template = this.captureTemplate(node);\n var bounds = this.captureBounds(node);\n var children = this.captureRefs(refs);\n return {\n id,\n type,\n name,\n args: args.value(),\n instance,\n template,\n bounds,\n children\n };\n }\n\n captureTemplate({\n template\n }) {\n return template && (0, _util.unwrapTemplate)(template).referrer.moduleName || null;\n }\n\n captureBounds(node) {\n var bounds = (0, _util.expect)(node.bounds, 'BUG: missing bounds');\n var parentElement = bounds.parentElement();\n var firstNode = bounds.firstNode();\n var lastNode = bounds.lastNode();\n return {\n parentElement,\n firstNode,\n lastNode\n };\n }\n\n }\n /**\n @module ember\n */\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 /**\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 @method each-in\n @for Ember.Templates.helpers\n @public\n @since 2.1.0\n */\n\n\n class EachInReference {\n constructor(inner) {\n this.inner = inner;\n this.valueTag = (0, _validator.createUpdatableTag)();\n this.tag = (0, _validator.combine)([inner.tag, this.valueTag]);\n }\n\n value() {\n var iterable = this.inner.value();\n var tag = (0, _metal.tagForObject)(iterable);\n\n if ((0, _utils.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 = (0, _runtime._contentFor)(iterable);\n }\n\n (0, _validator.updateTag)(this.valueTag, tag);\n return new EachInWrapper(iterable);\n }\n\n get(key) {\n return this.inner.get(key);\n }\n\n }\n\n class EachInWrapper {\n constructor(inner) {\n this.inner = inner;\n }\n\n }\n\n function eachIn(args) {\n return new EachInReference(args.positional.at(0));\n }\n\n function toIterator(iterable) {\n if (iterable instanceof EachInWrapper) {\n return toEachInIterator(iterable.inner);\n } else {\n return toEachIterator(iterable);\n }\n }\n\n function toEachInIterator(iterable) {\n if (!isIndexable(iterable)) {\n return null;\n }\n\n if (Array.isArray(iterable) || (0, _utils.isEmberArray)(iterable)) {\n return ObjectIterator.fromIndexable(iterable);\n } else if (_utils.HAS_NATIVE_SYMBOL && 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 }\n\n function toEachIterator(iterable) {\n if (!(0, _utils.isObject)(iterable)) {\n return null;\n }\n\n if (Array.isArray(iterable)) {\n return ArrayIterator.from(iterable);\n } else if ((0, _utils.isEmberArray)(iterable)) {\n return EmberArrayIterator.from(iterable);\n } else if (_utils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n return ArrayLikeNativeIterator.from(iterable);\n } else if (hasForEach(iterable)) {\n return ArrayIterator.fromForEachable(iterable);\n } else {\n return null;\n }\n }\n\n class BoundedIterator {\n constructor(length) {\n this.length = length;\n this.position = 0;\n }\n\n isEmpty() {\n return false;\n }\n\n memoFor(position) {\n return position;\n }\n\n next() {\n var {\n length,\n position\n } = this;\n\n if (position >= length) {\n return null;\n }\n\n var value = this.valueFor(position);\n var memo = this.memoFor(position);\n this.position++;\n return {\n value,\n memo\n };\n }\n\n }\n\n class ArrayIterator extends BoundedIterator {\n constructor(array) {\n super(array.length);\n this.array = array;\n }\n\n static from(iterable) {\n return iterable.length > 0 ? new this(iterable) : null;\n }\n\n static fromForEachable(object) {\n var array = [];\n object.forEach(item => array.push(item));\n return this.from(array);\n }\n\n valueFor(position) {\n return this.array[position];\n }\n\n }\n\n class EmberArrayIterator extends BoundedIterator {\n constructor(array) {\n super(array.length);\n this.array = array;\n }\n\n static from(iterable) {\n return iterable.length > 0 ? new this(iterable) : null;\n }\n\n valueFor(position) {\n return (0, _metal.objectAt)(this.array, position);\n }\n\n }\n\n class ObjectIterator extends BoundedIterator {\n constructor(keys, values) {\n super(values.length);\n this.keys = keys;\n this.values = values;\n }\n\n static fromIndexable(obj) {\n var keys = Object.keys(obj);\n var {\n length\n } = keys;\n\n if (length === 0) {\n return null;\n } else {\n var values = [];\n\n for (var i = 0; i < length; i++) {\n var value = void 0;\n var key = keys[i];\n value = obj[key]; // 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\n if ((0, _validator.isTracking)()) {\n (0, _validator.consumeTag)((0, _validator.tagFor)(obj, key));\n\n if (Array.isArray(value)) {\n (0, _validator.consumeTag)((0, _validator.tagFor)(value, '[]'));\n }\n }\n\n values.push(value);\n }\n\n return new this(keys, values);\n }\n }\n\n static fromForEachable(obj) {\n var keys = [];\n var values = [];\n var length = 0;\n var isMapLike = false; // Not using an arrow function here so we can get an accurate `arguments`\n\n obj.forEach(function (value, key) {\n isMapLike = isMapLike || arguments.length >= 2;\n\n if (isMapLike) {\n keys.push(key);\n }\n\n values.push(value);\n length++;\n });\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\n valueFor(position) {\n return this.values[position];\n }\n\n memoFor(position) {\n return this.keys[position];\n }\n\n }\n\n class NativeIterator {\n constructor(iterable, result) {\n this.iterable = iterable;\n this.result = result;\n this.position = 0;\n }\n\n static from(iterable) {\n var iterator = iterable[Symbol.iterator]();\n var result = iterator.next();\n var {\n done\n } = result;\n\n if (done) {\n return null;\n } else {\n return new this(iterator, result);\n }\n }\n\n isEmpty() {\n return false;\n }\n\n next() {\n var {\n iterable,\n result,\n position\n } = this;\n\n if (result.done) {\n return null;\n }\n\n var value = this.valueFor(result, position);\n var memo = this.memoFor(result, position);\n this.position++;\n this.result = iterable.next();\n return {\n value,\n memo\n };\n }\n\n }\n\n class ArrayLikeNativeIterator extends NativeIterator {\n valueFor(result) {\n return result.value;\n }\n\n memoFor(_result, position) {\n return position;\n }\n\n }\n\n class MapLikeNativeIterator extends NativeIterator {\n valueFor(result) {\n return result.value[1];\n }\n\n memoFor(result) {\n return result.value[0];\n }\n\n }\n\n function hasForEach(value) {\n return typeof value['forEach'] === 'function';\n }\n\n function isNativeIterable(value) {\n return typeof value[Symbol.iterator] === 'function';\n }\n\n function isIndexable(value) {\n return value !== null && (typeof value === 'object' || typeof value === 'function');\n }\n\n function toBool(predicate) {\n if ((0, _utils.isProxy)(predicate)) {\n (0, _validator.consumeTag)((0, _metal.tagForProperty)(predicate, 'content'));\n return Boolean((0, _metal.get)(predicate, 'isTruthy'));\n } else if ((0, _runtime.isArray)(predicate)) {\n (0, _validator.consumeTag)((0, _metal.tagForProperty)(predicate, '[]'));\n return predicate.length !== 0;\n } else {\n return Boolean(predicate);\n }\n } // Setup global environment\n // Autotracking\n\n\n (0, _validator.setPropertyDidChange)(() => _runloop.backburner.ensureInstance());\n\n if (true\n /* DEBUG */\n ) {\n (0, _validator.setAutotrackingTransactionEnv)({\n assert(message) {\n (true && !(false) && (0, _debug.assert)(message, false));\n },\n\n deprecate(message) {\n (true && !(false) && (0, _debug.deprecate)(message, false, {\n id: 'autotracking.mutation-after-consumption',\n until: '4.0.0'\n }));\n },\n\n debugMessage(obj, keyName) {\n var dirtyString = keyName ? `\\`${keyName}\\` on \\`${(0, _utils.getDebugName)(obj)}\\`` : `\\`${(0, _utils.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 } // Destruction\n\n\n (0, _runtime2.setScheduleDestroy)((destroyable, destructor) => {\n (0, _runloop.schedule)('actions', null, destructor, destroyable);\n });\n (0, _runtime2.setScheduleDestroyed)(finalizeDestructor => {\n (0, _runloop.schedule)('destroy', null, finalizeDestructor);\n });\n\n class EmberEnvironmentExtra {\n constructor(owner) {\n this.owner = owner;\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n this._debugRenderTree = new DebugRenderTree();\n }\n }\n\n get debugRenderTree() {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n return this._debugRenderTree;\n } else {\n throw new Error(\"Can't access debug render tree outside of the inspector (_DEBUG_RENDER_TREE flag is disabled)\");\n }\n }\n\n begin() {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n this.debugRenderTree.begin();\n }\n }\n\n commit() {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n this.debugRenderTree.commit();\n }\n }\n\n }\n\n class EmberEnvironmentDelegate {\n constructor(owner, isInteractive) {\n this.toBool = toBool;\n this.toIterator = toIterator;\n this.getProp = _metal._getProp;\n this.getPath = _metal.get;\n this.setPath = _metal.set;\n this.extra = new EmberEnvironmentExtra(owner);\n this.isInteractive = isInteractive;\n installProtocolForURL(this);\n } // this gets clobbered by installPlatformSpecificProtocolForURL\n // it really should just delegate to a platform specific injection\n\n\n protocolForURL(s) {\n return s;\n }\n\n getTemplatePathDebugContext(pathRef) {\n var stack = this.extra.debugRenderTree.logRenderStackForPath(pathRef);\n return `While rendering:\\n\\n${stack}`;\n }\n\n setTemplatePathDebugContext(pathRef, desc, parentRef) {\n var type = 'root';\n\n if (pathRef instanceof _reference.IterationItemReference) {\n type = 'iterator';\n } else if (pathRef instanceof _reference.PropertyReference) {\n type = 'property';\n }\n\n this.extra.debugRenderTree.createPath(pathRef, desc, type, parentRef);\n }\n\n onTransactionBegin() {\n this.extra.begin();\n }\n\n onTransactionCommit() {\n this.extra.commit();\n }\n\n }\n\n if (true\n /* DEBUG */\n ) {\n class StyleAttributeManager extends _runtime2.SimpleDynamicAttribute {\n set(dom, value, env) {\n (true && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(value), (() => {\n if (value === null || value === undefined || isHTMLSafe(value)) {\n return true;\n }\n\n return false;\n })(), {\n id: 'ember-htmlbars.style-xss-warning'\n }));\n super.set(dom, value, env);\n }\n\n update(value, env) {\n (true && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(value), (() => {\n if (value === null || value === undefined || isHTMLSafe(value)) {\n return true;\n }\n\n return false;\n })(), {\n id: 'ember-htmlbars.style-xss-warning'\n }));\n super.update(value, env);\n }\n\n }\n\n EmberEnvironmentDelegate.prototype.attributeFor = function (element, attribute, isTrusting, namespace) {\n if (attribute === 'style' && !isTrusting) {\n return new StyleAttributeManager({\n element,\n name: attribute,\n namespace\n });\n }\n\n return (0, _runtime2.dynamicAttribute)(element, attribute, namespace);\n };\n }\n\n var CAPABILITIES$1 = {\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 };\n\n function capabilities(managerAPI, options = {}) {\n (true && !(managerAPI === '3.4' || managerAPI === '3.13') && (0, _debug.assert)('Invalid component manager compatibility specified', managerAPI === '3.4' || managerAPI === '3.13'));\n var updateHook = true;\n {\n updateHook = managerAPI === '3.13' ? Boolean(options.updateHook) : true;\n }\n return {\n asyncLifeCycleCallbacks: Boolean(options.asyncLifecycleCallbacks),\n destructor: Boolean(options.destructor),\n updateHook\n };\n }\n\n function hasAsyncLifeCycleCallbacks(delegate) {\n return delegate.capabilities.asyncLifeCycleCallbacks;\n }\n\n function hasUpdateHook(delegate) {\n return delegate.capabilities.updateHook;\n }\n\n function hasAsyncUpdateHook(delegate) {\n return hasAsyncLifeCycleCallbacks(delegate) && hasUpdateHook(delegate);\n }\n\n function 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\n\n class CustomComponentManager extends AbstractManager {\n create(env, definition, args) {\n var {\n delegate\n } = definition;\n var capturedArgs = args.capture();\n var namedArgs = capturedArgs.named;\n var value;\n var namedArgsProxy = {};\n {\n var getTag = key => {\n return namedArgs.get(key).tag;\n };\n\n if (_utils.HAS_NATIVE_PROXY) {\n var handler = {\n get(_target, prop) {\n if (namedArgs.has(prop)) {\n var ref = namedArgs.get(prop);\n (0, _validator.consumeTag)(ref.tag);\n return ref.value();\n } else if (prop === _metal.CUSTOM_TAG_FOR) {\n return getTag;\n }\n },\n\n has(_target, prop) {\n return namedArgs.has(prop);\n },\n\n ownKeys(_target) {\n return namedArgs.names;\n },\n\n getOwnPropertyDescriptor(_target, prop) {\n (true && !(namedArgs.has(prop)) && (0, _debug.assert)('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()', namedArgs.has(prop)));\n return {\n enumerable: true,\n configurable: true\n };\n }\n\n };\n\n if (true\n /* DEBUG */\n ) {\n handler.set = function (_target, prop) {\n (true && !(false) && (0, _debug.assert)(`You attempted to set ${definition.ComponentClass.class}#${String(prop)} on a components arguments. Component arguments are immutable and cannot be updated directly, they always represent the values that are passed to your component. If you want to set default values, you should use a getter instead`));\n return false;\n };\n }\n\n namedArgsProxy = new Proxy(namedArgsProxy, handler);\n } else {\n Object.defineProperty(namedArgsProxy, _metal.CUSTOM_TAG_FOR, {\n configurable: false,\n enumerable: false,\n value: getTag\n });\n namedArgs.names.forEach(name => {\n Object.defineProperty(namedArgsProxy, name, {\n enumerable: true,\n configurable: true,\n\n get() {\n var ref = namedArgs.get(name);\n (0, _validator.consumeTag)(ref.tag);\n return ref.value();\n }\n\n });\n });\n }\n\n value = {\n named: namedArgsProxy,\n positional: capturedArgs.positional.value()\n };\n }\n var component = delegate.createComponent(definition.ComponentClass.class, value);\n var bucket = new CustomComponentState(delegate, component, capturedArgs, env, namedArgsProxy);\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n env.extra.debugRenderTree.create(bucket, {\n type: 'component',\n name: definition.name,\n args: args.capture(),\n instance: component,\n template: definition.template\n });\n (0, _runtime2.registerDestructor)(bucket, () => {\n env.extra.debugRenderTree.willDestroy(bucket);\n });\n }\n\n return bucket;\n }\n\n update(bucket) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.env.extra.debugRenderTree.update(bucket);\n }\n\n var {\n delegate,\n component,\n args,\n namedArgsProxy\n } = bucket;\n var value;\n {\n value = {\n named: namedArgsProxy,\n positional: args.positional.value()\n };\n }\n\n if (hasUpdateHook(delegate)) {\n delegate.updateComponent(component, value);\n }\n }\n\n didCreate({\n delegate,\n component\n }) {\n if (hasAsyncLifeCycleCallbacks(delegate)) {\n delegate.didCreateComponent(component);\n }\n }\n\n didUpdate({\n delegate,\n component\n }) {\n if (hasAsyncUpdateHook(delegate)) {\n delegate.didUpdateComponent(component);\n }\n }\n\n getContext({\n delegate,\n component\n }) {\n delegate.getContext(component);\n }\n\n getSelf({\n env,\n delegate,\n component\n }) {\n return new _reference.ComponentRootReference(delegate.getContext(component), env);\n }\n\n getDestroyable(bucket) {\n return bucket;\n }\n\n getCapabilities({\n delegate\n }) {\n return (0, _polyfills.assign)({}, CAPABILITIES$1, {\n updateHook: _environment2.ENV._DEBUG_RENDER_TREE || delegate.capabilities.updateHook\n });\n }\n\n getTag({\n args\n }) {\n if ((0, _validator.isConstTagged)(args)) {\n // returning a const tag skips the update hook (VM BUG?)\n return (0, _validator.createTag)();\n } else {\n return args.tag;\n }\n }\n\n didRenderLayout(bucket, bounds) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.env.extra.debugRenderTree.didRender(bucket, bounds);\n }\n }\n\n didUpdateLayout(bucket, bounds) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.env.extra.debugRenderTree.didRender(bucket, bounds);\n }\n }\n\n getJitStaticLayout(state) {\n return (0, _util.unwrapTemplate)(state.template).asLayout();\n }\n\n }\n\n var CUSTOM_COMPONENT_MANAGER = new CustomComponentManager();\n /**\n * Stores internal state about a component instance after it's been created.\n */\n\n class CustomComponentState {\n constructor(delegate, component, args, env, namedArgsProxy) {\n this.delegate = delegate;\n this.component = component;\n this.args = args;\n this.env = env;\n this.namedArgsProxy = namedArgsProxy;\n\n if (hasDestructors(delegate)) {\n (0, _runtime2.registerDestructor)(this, () => delegate.destroyComponent(component));\n }\n }\n\n }\n\n class CustomManagerDefinition {\n constructor(name, ComponentClass, delegate, template) {\n this.name = name;\n this.ComponentClass = ComponentClass;\n this.delegate = delegate;\n this.template = template;\n this.manager = CUSTOM_COMPONENT_MANAGER;\n this.state = {\n name,\n ComponentClass,\n template,\n delegate\n };\n }\n\n }\n\n class InternalComponentDefinition {\n constructor(manager, ComponentClass, layout) {\n this.manager = manager;\n this.state = {\n ComponentClass,\n layout\n };\n }\n\n }\n\n class InternalManager extends AbstractManager {\n constructor(owner) {\n super();\n this.owner = owner;\n }\n\n getJitStaticLayout({\n layout: template\n }) {\n return (0, _util.unwrapTemplate)(template).asLayout();\n }\n\n }\n\n var CAPABILITIES$2 = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: _environment2.ENV._DEBUG_RENDER_TREE,\n attributeHook: false,\n elementHook: false,\n createCaller: false,\n dynamicScope: false,\n updateHook: _environment2.ENV._DEBUG_RENDER_TREE,\n createInstance: true,\n wrapped: false,\n willDestroy: false\n };\n\n class TemplateOnlyComponentManager extends AbstractManager {\n getJitStaticLayout({\n template\n }) {\n return (0, _util.unwrapTemplate)(template).asLayout();\n }\n\n getCapabilities() {\n return CAPABILITIES$2;\n }\n\n create(environment, {\n name,\n template\n }, args) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n var bucket = {\n environment\n };\n environment.extra.debugRenderTree.create(bucket, {\n type: 'component',\n name: name,\n args: args.capture(),\n instance: null,\n template\n });\n (0, _runtime2.registerDestructor)(bucket, () => {\n bucket.environment.extra.debugRenderTree.willDestroy(bucket);\n });\n return bucket;\n } else {\n return null;\n }\n }\n\n getSelf() {\n return _runtime2.NULL_REFERENCE;\n }\n\n getTag() {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n // returning a const tag skips the update hook (VM BUG?)\n return (0, _validator.createTag)();\n } else {\n // an outlet has no hooks\n return _validator.CONSTANT_TAG;\n }\n }\n\n getDestroyable(bucket) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n return bucket;\n } else {\n return null;\n }\n }\n\n didRenderLayout(bucket, bounds) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.environment.extra.debugRenderTree.didRender(bucket, bounds);\n }\n }\n\n update(bucket) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.environment.extra.debugRenderTree.update(bucket);\n }\n }\n\n didUpdateLayout(bucket, bounds) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.environment.extra.debugRenderTree.didRender(bucket, bounds);\n }\n }\n\n }\n\n var MANAGER = new TemplateOnlyComponentManager();\n\n class TemplateOnlyComponentDefinition {\n constructor(name, template) {\n this.name = name;\n this.template = template;\n this.manager = MANAGER;\n }\n\n get state() {\n return this;\n }\n\n }\n\n var helper$1;\n\n if (true\n /* DEBUG */\n ) {\n class ComponentAssertionReference {\n constructor(component, message) {\n this.component = component;\n this.message = message;\n this.tag = component.tag;\n }\n\n value() {\n var value = this.component.value();\n (true && !(typeof value !== 'string') && (0, _debug.assert)(this.message, typeof value !== 'string'));\n return value;\n }\n\n get(property) {\n return this.component.get(property);\n }\n\n }\n\n helper$1 = args => new ComponentAssertionReference(args.positional.at(0), args.positional.at(1).value());\n } else {\n helper$1 = args => args.positional.at(0);\n }\n\n var componentAssertionHelper = helper$1;\n var helper$2;\n\n if (true\n /* DEBUG */\n ) {\n class InElementNullCheckReference {\n constructor(inner) {\n this.inner = inner;\n this.tag = inner.tag;\n }\n\n value() {\n var value = this.inner.value();\n (true && !(value !== null && value !== undefined) && (0, _debug.assert)('You cannot pass a null or undefined destination element to in-element', value !== null && value !== undefined));\n return value;\n }\n\n get(key) {\n return this.inner.get(key);\n }\n\n }\n\n helper$2 = args => new InElementNullCheckReference(args.positional.at(0));\n } else {\n helper$2 = args => args.positional.at(0);\n }\n\n var inElementNullCheckHelper = helper$2;\n\n function inputTypeHelper({\n positional\n }) {\n var type = positional.at(0).value();\n\n if (type === 'checkbox') {\n return '-checkbox';\n }\n\n return '-text-field';\n }\n\n function inputTypeHelper$1(args, vm) {\n return new _reference.HelperRootReference(inputTypeHelper, args.capture(), vm.env);\n }\n\n function normalizeClass({\n positional\n }) {\n var classNameParts = positional.at(0).value().split('.');\n var className = classNameParts[classNameParts.length - 1];\n var value = positional.at(1).value();\n\n if (value === true) {\n return (0, _string.dasherize)(className);\n } else if (!value && value !== 0) {\n return '';\n } else {\n return String(value);\n }\n }\n\n function normalizeClassHelper(args, vm) {\n return new _reference.HelperRootReference(normalizeClass, args.capture(), vm.env);\n }\n /**\n @module ember\n */\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 */\n\n\n class TrackArrayReference {\n constructor(inner) {\n this.inner = inner;\n this.valueTag = (0, _validator.createUpdatableTag)();\n this.tag = (0, _validator.combine)([inner.tag, this.valueTag]);\n }\n\n value() {\n var iterable = this.inner.value();\n var tag = (0, _utils.isObject)(iterable) ? (0, _metal.tagForProperty)(iterable, '[]') : _validator.CONSTANT_TAG;\n (0, _validator.updateTag)(this.valueTag, tag);\n return iterable;\n }\n\n get(key) {\n return this.inner.get(key);\n }\n\n }\n\n function trackArray(args) {\n return new TrackArrayReference(args.positional.at(0));\n }\n /**\n @module ember\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 Dade'\n 'Yehuda Katz'\n this.myOtherPerson}}\n />\n ```\n or\n ```handlebars\n {{my-component people=(array\n 'Tom Dade'\n 'Yehuda Katz'\n this.myOtherPerson)\n }}\n ```\n \n Would result in an object such as:\n \n ```js\n ['Tom Date', '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 @for Ember.Templates.helpers\n @param {Array} options\n @return {Array} Array\n @since 3.8.0\n @public\n */\n\n\n function array(args) {\n return args.positional.capture();\n }\n\n var isEmpty = value => {\n return value === null || value === undefined || typeof value.toString !== 'function';\n };\n\n var normalizeTextValue = value => {\n if (isEmpty(value)) {\n return '';\n }\n\n return String(value);\n };\n /**\n @module ember\n */\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 @for Ember.Templates.helpers\n @since 1.13.0\n */\n\n\n function concat({\n positional\n }) {\n return positional.value().map(normalizeTextValue).join('');\n }\n\n function concat$1(args, vm) {\n return new _reference.HelperRootReference(concat, args.capture(), vm.env);\n }\n\n function buildUntouchableThis(source) {\n var context = null;\n\n if (true\n /* DEBUG */\n && _utils.HAS_NATIVE_PROXY) {\n var assertOnProperty = property => {\n (true && !(false) && (0, _debug.assert)(`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 usage of \\`@action\\`.`));\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\n var context = buildUntouchableThis('`fn` helper');\n /**\n @module ember\n */\n\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 @action\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 `@action` to ensure that `handleSelected` is\n properly bound to the `items-list`, but let's explore what happens if we\n left out `@action`:\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 `@action` 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 @for Ember.Templates.helpers\n @public\n @since 3.11.0\n */\n\n function fn({\n positional\n }, env) {\n var callbackRef = positional.at(0);\n (true && !(callbackRef !== undefined) && (0, _debug.assert)(`You must pass a function as the \\`fn\\` helpers first argument.`, callbackRef !== undefined));\n\n if (true\n /* DEBUG */\n && typeof callbackRef[INVOKE] !== 'function') {\n var callback = callbackRef.value();\n var debugContext;\n\n try {\n debugContext = env.getTemplatePathDebugContext(callbackRef);\n } catch (e) {\n debugContext = '';\n }\n\n (true && !(typeof callback === 'function') && (0, _debug.assert)(`You must pass a function as the \\`fn\\` helpers first argument, you passed ${callback === null ? 'null' : typeof callback}. ${debugContext}`, typeof callback === 'function'));\n }\n\n return (...invocationArgs) => {\n var [fn, ...args] = positional.value();\n\n if (typeof callbackRef[INVOKE] === 'function') {\n // references with the INVOKE symbol expect the function behind\n // the symbol to be bound to the reference\n return callbackRef[INVOKE](...args, ...invocationArgs);\n } else {\n return fn.call(context, ...args, ...invocationArgs);\n }\n };\n }\n\n function fn$1(args, vm) {\n var callback = fn;\n\n if (true\n /* DEBUG */\n ) {\n callback = args => {\n return fn(args, vm.env);\n };\n }\n\n return new _reference.HelperRootReference(callback, args.capture(), vm.env);\n }\n /**\n @module ember\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 @action\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 @for Ember.Templates.helpers\n @since 2.1.0\n */\n\n\n function get$1(args, vm) {\n var sourceReference = args.positional.at(0);\n var pathReference = args.positional.at(1);\n\n if ((0, _validator.isConstTagged)(pathReference)) {\n // Since the path is constant, we can create a normal chain of property\n // references. The source reference will update like normal, and all of the\n // child references will update accordingly.\n var path = pathReference.value();\n\n if (path === undefined || path === null || path === '') {\n return _runtime2.NULL_REFERENCE;\n } else if (typeof path === 'string' && path.indexOf('.') > -1) {\n return referenceFromParts(sourceReference, path.split('.'));\n } else {\n return sourceReference.get(String(path));\n }\n } else {\n return new GetHelperRootReference(args.capture(), vm.env);\n }\n }\n\n function get$2({\n positional\n }) {\n var source = positional.at(0).value();\n\n if ((0, _utils.isObject)(source)) {\n var path = positional.at(1).value();\n return (0, _metal.get)(source, String(path));\n }\n }\n\n class GetHelperRootReference extends _reference.HelperRootReference {\n constructor(args, env) {\n super(get$2, args, env);\n this.sourceReference = args.positional.at(0);\n this.pathReference = args.positional.at(1);\n }\n\n [_reference.UPDATE_REFERENCED_VALUE](value) {\n var source = this.sourceReference.value();\n\n if ((0, _utils.isObject)(source)) {\n var path = String(this.pathReference.value());\n (0, _metal.set)(source, path, value);\n }\n }\n\n }\n /**\n @module ember\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 @for Ember.Templates.helpers\n @param {Object} options\n @return {Object} Hash\n @since 2.3.0\n @public\n */\n\n\n function hash(args) {\n return args.named.capture();\n }\n /**\n @module ember\n */\n\n\n function ifHelper({\n positional\n }) {\n (true && !(positional.length === 3 || positional.length === 2) && (0, _debug.assert)('The inline form of the `if` helper expects two or three arguments, e.g. `{{if trialExpired \"Expired\" expiryDate}}`.', positional.length === 3 || positional.length === 2));\n var condition = positional.at(0);\n var truthyValue = positional.at(1);\n var falsyValue = positional.at(2);\n\n if (toBool(condition.value()) === true) {\n return truthyValue.value();\n } else {\n return falsyValue !== undefined ? falsyValue.value() : undefined;\n }\n }\n\n function unless({\n positional\n }) {\n (true && !(positional.length === 3 || positional.length === 2) && (0, _debug.assert)('The inline form of the `unless` helper expects two or three arguments, e.g. `{{unless isFirstLogin \"Welcome back!\"}}`.', positional.length === 3 || positional.length === 2));\n var condition = positional.at(0);\n var truthyValue = positional.at(2);\n var falsyValue = positional.at(1);\n\n if (toBool(condition.value()) === true) {\n return truthyValue !== undefined ? truthyValue.value() : undefined;\n } else {\n return falsyValue.value();\n }\n }\n /**\n The `if` helper allows you to conditionally render one of two branches,\n depending on the \"truthiness\" of a property.\n For example the following values are all falsey: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n \n This helper has two forms, block and inline.\n \n ## Block form\n \n You can use the block form of `if` to conditionally render a section of the template.\n \n To use it, pass the conditional value to the `if` helper,\n using the block form to wrap the section of template you want to conditionally render.\n Like so:\n \n ```app/templates/application.hbs\n <Weather />\n ```\n \n ```app/components/weather.hbs\n {{! will not render because greeting is undefined}}\n {{#if @isRaining}}\n Yes, grab an umbrella!\n {{/if}}\n ```\n \n You can also define what to show if the property is falsey by using\n the `else` helper.\n \n ```app/components/weather.hbs\n {{#if @isRaining}}\n Yes, grab an umbrella!\n {{else}}\n No, it's lovely outside!\n {{/if}}\n ```\n \n You are also able to combine `else` and `if` helpers to create more complex\n conditional logic.\n \n For the following template:\n \n ```app/components/weather.hbs\n {{#if @isRaining}}\n Yes, grab an umbrella!\n {{else if @isCold}}\n Grab a coat, it's chilly!\n {{else}}\n No, it's lovely outside!\n {{/if}}\n ```\n \n If you call it by saying `isCold` is true:\n \n ```app/templates/application.hbs\n <Weather @isCold={{true}} />\n ```\n \n Then `Grab a coat, it's chilly!` will be rendered.\n \n ## Inline form\n \n The inline `if` helper conditionally renders a single property or string.\n \n In this form, the `if` helper receives three arguments, the conditional value,\n the value to render when truthy, and the value to render when falsey.\n \n For example, if `useLongGreeting` is truthy, the following:\n \n ```app/templates/application.hbs\n <Greeting @useLongGreeting={{true}} />\n ```\n \n ```app/components/greeting.hbs\n {{if @useLongGreeting \"Hello\" \"Hi\"}} Alex\n ```\n \n Will render:\n \n ```html\n Hello Alex\n ```\n \n One detail to keep in mind is that both branches of the `if` helper will be evaluated,\n so if you have `{{if condition \"foo\" (expensive-operation \"bar\")`,\n `expensive-operation` will always calculate.\n \n @method if\n @for Ember.Templates.helpers\n @public\n */\n\n\n function inlineIf(args, vm) {\n return new _reference.HelperRootReference(ifHelper, args.capture(), vm.env);\n }\n /**\n The `unless` helper is the inverse of the `if` helper. It displays if a value\n is falsey (\"not true\" or \"is false\"). Example values that will display with\n `unless`: `false`, `undefined`, `null`, `\"\"`, `0`, `NaN` or an empty array.\n \n ## Inline form\n \n The inline `unless` helper conditionally renders a single property or string.\n This helper acts like a ternary operator. If the first property is falsy,\n the second argument will be displayed, otherwise, the third argument will be\n displayed\n \n For example, if you pass a falsey `useLongGreeting` to the `Greeting` component:\n \n ```app/templates/application.hbs\n <Greeting @useLongGreeting={{false}} />\n ```\n \n ```app/components/greeting.hbs\n {{unless @useLongGreeting \"Hi\" \"Hello\"}} Ben\n ```\n \n Then it will display:\n \n ```html\n Hi Ben\n ```\n \n ## Block form\n \n Like the `if` helper, the `unless` helper also has a block form.\n \n The following will not render anything:\n \n ```app/templates/application.hbs\n <Greeting />\n ```\n \n ```app/components/greeting.hbs\n {{#unless @greeting}}\n No greeting was found. Why not set one?\n {{/unless}}\n ```\n \n You can also use an `else` helper with the `unless` block. The\n `else` will display if the value is truthy.\n \n If you have the following component:\n \n ```app/components/logged-in.hbs\n {{#unless @userData}}\n Please login.\n {{else}}\n Welcome back!\n {{/unless}}\n ```\n \n Calling it with a truthy `userData`:\n \n ```app/templates/application.hbs\n <LoggedIn @userData={{hash username=\"Zoey\"}} />\n ```\n \n Will render:\n \n ```html\n Welcome back!\n ```\n \n and calling it with a falsey `userData`:\n \n ```app/templates/application.hbs\n <LoggedIn @userData={{false}} />\n ```\n \n Will render:\n \n ```html\n Please login.\n ```\n \n @method unless\n @for Ember.Templates.helpers\n @public\n */\n\n\n function inlineUnless(args, vm) {\n return new _reference.HelperRootReference(unless, args.capture(), vm.env);\n }\n /**\n @module ember\n */\n\n /**\n `log` allows you to output the value of variables in the current rendering\n context. `log` also accepts primitive types such as strings or numbers.\n \n ```handlebars\n {{log \"myVariable:\" myVariable }}\n ```\n \n @method log\n @for Ember.Templates.helpers\n @param {Array} params\n @public\n */\n\n\n function log({\n positional\n }) {\n /* eslint-disable no-console */\n console.log(...positional.value());\n /* eslint-enable no-console */\n }\n\n function log$1(args, vm) {\n return new _reference.HelperRootReference(log, args.capture(), vm.env);\n }\n /**\n @module ember\n */\n\n /**\n This is a helper to be used in conjunction with the link-to helper.\n It will supply url query parameters to the target route.\n \n @example In this example we are setting the `direction` query param to the value `\"asc\"`\n \n ```app/templates/application.hbs\n <LinkTo\n @route=\"posts\"\n {{query-params direction=\"asc\"}}\n >\n Sort\n </LinkTo>\n ```\n \n @method query-params\n @for Ember.Templates.helpers\n @param {Object} hash takes a hash of query parameters\n @return {Object} A `QueryParams` object for `{{link-to}}`\n @public\n */\n\n\n function queryParams({\n positional,\n named\n }) {\n // tslint:disable-next-line:max-line-length\n (true && !(positional.value().length === 0) && (0, _debug.assert)(\"The `query-params` helper only accepts hash parameters, e.g. (query-params queryParamPropertyName='foo') as opposed to just (query-params 'foo')\", positional.value().length === 0));\n return new _routing.QueryParams((0, _polyfills.assign)({}, named.value()));\n }\n\n function queryParams$1(args, vm) {\n return new _reference.HelperRootReference(queryParams, args.capture(), vm.env);\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 */\n\n\n class ReadonlyReference extends _reference.RootReference {\n constructor(inner, env) {\n super(env);\n this.inner = inner;\n this.tag = inner.tag;\n }\n\n get [INVOKE]() {\n return this.inner[INVOKE];\n }\n\n value() {\n return this.inner.value();\n }\n\n get(key) {\n return this.inner.get(key);\n }\n\n }\n\n function readonly(args, vm) {\n var ref = unMut(args.positional.at(0));\n return new ReadonlyReference(ref, vm.env);\n }\n /**\n @module ember\n */\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 */\n\n\n function unbound(args, vm) {\n (true && !(args.positional.length === 1 && args.named.length === 0) && (0, _debug.assert)('unbound helper cannot be called with multiple params or hash params', args.positional.length === 1 && args.named.length === 0));\n return new UnboundRootReference(args.positional.at(0).value(), vm.env);\n }\n\n var MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\n var POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\n\n function isAllowedEvent(event, allowedKeys) {\n if (allowedKeys === null || allowedKeys === undefined) {\n if (POINTER_EVENT_TYPE_REGEX.test(event.type)) {\n return (0, _views.isSimpleClick)(event);\n } else {\n allowedKeys = '';\n }\n }\n\n if (allowedKeys.indexOf('any') >= 0) {\n return true;\n }\n\n for (var i = 0; i < MODIFIERS.length; i++) {\n if (event[MODIFIERS[i] + 'Key'] && allowedKeys.indexOf(MODIFIERS[i]) === -1) {\n return false;\n }\n }\n\n return true;\n }\n\n var ActionHelper = {\n // registeredActions is re-exported for compatibility with older plugins\n // that were using this undocumented API.\n registeredActions: _views.ActionManager.registeredActions,\n\n registerAction(actionState) {\n var {\n actionId\n } = actionState;\n _views.ActionManager.registeredActions[actionId] = actionState;\n return actionId;\n },\n\n unregisterAction(actionState) {\n var {\n actionId\n } = actionState;\n delete _views.ActionManager.registeredActions[actionId];\n }\n\n };\n\n class ActionState {\n constructor(element, actionId, actionName, actionArgs, namedArgs, positionalArgs, implicitTarget, dom, tag) {\n this.element = element;\n this.actionId = actionId;\n this.actionName = actionName;\n this.actionArgs = actionArgs;\n this.namedArgs = namedArgs;\n this.positional = positionalArgs;\n this.implicitTarget = implicitTarget;\n this.dom = dom;\n this.eventName = this.getEventName();\n this.tag = tag;\n (0, _runtime2.registerDestructor)(this, () => ActionHelper.unregisterAction(this));\n }\n\n getEventName() {\n return this.namedArgs.get('on').value() || 'click';\n }\n\n getActionArgs() {\n var result = new Array(this.actionArgs.length);\n\n for (var i = 0; i < this.actionArgs.length; i++) {\n result[i] = this.actionArgs[i].value();\n }\n\n return result;\n }\n\n getTarget() {\n var {\n implicitTarget,\n namedArgs\n } = this;\n var target;\n\n if (namedArgs.has('target')) {\n target = namedArgs.get('target').value();\n } else {\n target = implicitTarget.value();\n }\n\n return target;\n }\n\n handler(event) {\n var {\n actionName,\n namedArgs\n } = this;\n var bubbles = namedArgs.get('bubbles');\n var preventDefault = namedArgs.get('preventDefault');\n var allowedKeys = namedArgs.get('allowedKeys');\n var target = this.getTarget();\n var shouldBubble = bubbles.value() !== false;\n\n if (!isAllowedEvent(event, allowedKeys.value())) {\n return true;\n }\n\n if (preventDefault.value() !== false) {\n event.preventDefault();\n }\n\n if (!shouldBubble) {\n event.stopPropagation();\n }\n\n (0, _runloop.join)(() => {\n var args = this.getActionArgs();\n var payload = {\n args,\n target,\n name: null\n };\n\n if (typeof actionName[INVOKE] === 'function') {\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n actionName[INVOKE].apply(actionName, args);\n });\n return;\n }\n\n if (typeof actionName === 'function') {\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n actionName.apply(target, args);\n });\n return;\n }\n\n payload.name = actionName;\n\n if (target.send) {\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n target.send.apply(target, [actionName, ...args]);\n });\n } else {\n (true && !(typeof target[actionName] === 'function') && (0, _debug.assert)(`The action '${actionName}' did not exist on ${target}`, typeof target[actionName] === 'function'));\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n target[actionName].apply(target, args);\n });\n }\n });\n return shouldBubble;\n }\n\n } // implements ModifierManager<Action>\n\n\n class ActionModifierManager {\n create(element, _state, args, _dynamicScope, dom) {\n var {\n named,\n positional,\n tag\n } = args.capture();\n var implicitTarget;\n var actionName;\n var actionNameRef;\n\n if (positional.length > 1) {\n implicitTarget = positional.at(0);\n actionNameRef = positional.at(1);\n\n if (actionNameRef[INVOKE]) {\n actionName = actionNameRef;\n } else {\n var actionLabel = actionNameRef.propertyKey;\n actionName = actionNameRef.value();\n (true && !(typeof actionName === 'string' || typeof actionName === 'function') && (0, _debug.assert)('You specified a quoteless path, `' + actionLabel + '`, 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 var actionArgs = []; // The first two arguments are (1) `this` and (2) the action name.\n // Everything else is a param.\n\n for (var i = 2; i < positional.length; i++) {\n actionArgs.push(positional.at(i));\n }\n\n var actionId = (0, _utils.uuid)();\n var actionState = new ActionState(element, actionId, actionName, actionArgs, named, positional, implicitTarget, dom, tag);\n (true && !(actionState.eventName !== 'mouseEnter' && actionState.eventName !== 'mouseLeave' && actionState.eventName !== 'mouseMove') && (0, _debug.deprecate)(`Using the \\`{{action}}\\` modifier with \\`${actionState.eventName}\\` events has been deprecated.`, actionState.eventName !== 'mouseEnter' && actionState.eventName !== 'mouseLeave' && actionState.eventName !== 'mouseMove', {\n id: 'ember-views.event-dispatcher.mouseenter-leave-move',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_action-mouseenter-leave-move'\n }));\n return actionState;\n }\n\n install(actionState) {\n var {\n dom,\n element,\n actionId\n } = actionState;\n ActionHelper.registerAction(actionState);\n dom.setAttribute(element, 'data-ember-action', '');\n dom.setAttribute(element, `data-ember-action-${actionId}`, actionId);\n }\n\n update(actionState) {\n var {\n positional\n } = actionState;\n var actionNameRef = positional.at(1);\n\n if (!actionNameRef[INVOKE]) {\n actionState.actionName = actionNameRef.value();\n }\n\n actionState.eventName = actionState.getEventName();\n }\n\n getTag(actionState) {\n return actionState.tag;\n }\n\n getDestroyable(actionState) {\n return actionState;\n }\n\n }\n\n var debugRenderMessage;\n\n if (true\n /* DEBUG */\n ) {\n debugRenderMessage = renderingStack => {\n return `While rendering:\\n----------------\\n${renderingStack.replace(/^/gm, ' ')}`;\n };\n }\n\n var debugRenderMessage$1 = debugRenderMessage;\n\n function capabilities$1(managerAPI, optionalFeatures = {}) {\n (true && !(managerAPI === '3.13') && (0, _debug.assert)('Invalid modifier manager compatibility specified', managerAPI === '3.13'));\n return {\n disableAutoTracking: Boolean(optionalFeatures.disableAutoTracking)\n };\n }\n\n class CustomModifierDefinition {\n constructor(name, ModifierClass, delegate, isInteractive) {\n this.name = name;\n this.ModifierClass = ModifierClass;\n this.delegate = delegate;\n this.state = {\n ModifierClass,\n name,\n delegate\n };\n this.manager = isInteractive ? CUSTOM_INTERACTIVE_MODIFIER_MANAGER : CUSTOM_NON_INTERACTIVE_MODIFIER_MANAGER;\n }\n\n }\n\n class CustomModifierState {\n constructor(element, delegate, modifier, args) {\n this.element = element;\n this.delegate = delegate;\n this.modifier = modifier;\n this.args = args;\n this.tag = (0, _validator.createUpdatableTag)();\n (0, _runtime2.registerDestructor)(this, () => delegate.destroyModifier(modifier, args.value()));\n }\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\n\n class InteractiveCustomModifierManager {\n create(element, definition, args) {\n var {\n delegate,\n ModifierClass\n } = definition;\n var capturedArgs = args.capture();\n var instance = definition.delegate.createModifier(ModifierClass, capturedArgs.value());\n return new CustomModifierState(element, delegate, instance, capturedArgs);\n }\n\n getTag({\n args,\n tag\n }) {\n return (0, _validator.combine)([tag, args.tag]);\n }\n\n install(state) {\n var {\n element,\n args,\n delegate,\n modifier,\n tag\n } = state;\n (true && !(typeof delegate.capabilities === 'object' && delegate.capabilities !== null) && (0, _debug.assert)('Custom modifier managers must define their capabilities using the capabilities() helper function', typeof delegate.capabilities === 'object' && delegate.capabilities !== null));\n var {\n capabilities\n } = delegate;\n\n if (capabilities.disableAutoTracking === true) {\n (0, _validator.untrack)(() => delegate.installModifier(modifier, element, args.value()));\n } else {\n var combinedTrackingTag = (0, _validator.track)(() => delegate.installModifier(modifier, element, args.value()), true\n /* DEBUG */\n && debugRenderMessage$1(`(instance of a \\`${(0, _utils.getDebugName)(modifier)}\\` modifier)`));\n (0, _validator.updateTag)(tag, combinedTrackingTag);\n }\n }\n\n update(state) {\n var {\n args,\n delegate,\n modifier,\n tag\n } = state;\n var {\n capabilities\n } = delegate;\n\n if (capabilities.disableAutoTracking === true) {\n (0, _validator.untrack)(() => delegate.updateModifier(modifier, args.value()));\n } else {\n var combinedTrackingTag = (0, _validator.track)(() => delegate.updateModifier(modifier, args.value()), true\n /* DEBUG */\n && debugRenderMessage$1(`(instance of a \\`${(0, _utils.getDebugName)(modifier)}\\` modifier)`));\n (0, _validator.updateTag)(tag, combinedTrackingTag);\n }\n }\n\n getDestroyable(state) {\n return state;\n }\n\n }\n\n class NonInteractiveCustomModifierManager {\n create() {\n return null;\n }\n\n getTag() {\n return _validator.CONSTANT_TAG;\n }\n\n install() {}\n\n update() {}\n\n getDestroyable() {\n return null;\n }\n\n }\n\n var CUSTOM_INTERACTIVE_MODIFIER_MANAGER = new InteractiveCustomModifierManager();\n var CUSTOM_NON_INTERACTIVE_MODIFIER_MANAGER = new NonInteractiveCustomModifierManager();\n var untouchableContext = buildUntouchableThis('`on` modifier');\n /**\n @module ember\n */\n\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\n var SUPPORTS_EVENT_OPTIONS = (() => {\n try {\n var div = document.createElement('div');\n var counter = 0;\n div.addEventListener('click', () => counter++, {\n once: true\n });\n var 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\n class OnModifierState {\n constructor(owner, element, args) {\n this.shouldUpdate = true;\n this.owner = owner;\n this.element = element;\n this.args = args;\n this.tag = args.tag;\n }\n\n updateFromArgs() {\n var {\n args\n } = this;\n var {\n once,\n passive,\n capture\n } = args.named.value();\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 var 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 (true && !(args.positional.at(0) !== undefined && typeof args.positional.at(0).value() === 'string') && (0, _debug.assert)('You must pass a valid DOM event name as the first argument to the `on` modifier', args.positional.at(0) !== undefined && typeof args.positional.at(0).value() === 'string'));\n var eventName = args.positional.at(0).value();\n\n if (eventName !== this.eventName) {\n this.eventName = eventName;\n this.shouldUpdate = true;\n }\n\n var userProvidedCallbackReference = args.positional.at(1);\n\n if (true\n /* DEBUG */\n ) {\n (true && !(args.positional.at(1) !== undefined) && (0, _debug.assert)(`You must pass a function as the second argument to the \\`on\\` modifier.`, args.positional.at(1) !== undefined)); // hardcoding `renderer:-dom` here because we guard for `this.isInteractive` before instantiating OnModifierState, it can never be created when the renderer is `renderer:-inert`\n\n var renderer = (0, _util.expect)(this.owner.lookup('renderer:-dom'), `BUG: owner is missing renderer:-dom`);\n var stack = renderer.debugRenderTree.logRenderStackForPath(userProvidedCallbackReference);\n var value = userProvidedCallbackReference.value();\n (true && !(typeof value === 'function') && (0, _debug.assert)(`You must pass a function as the second argument to the \\`on\\` modifier, you passed ${value === null ? 'null' : typeof value}. While rendering:\\n\\n${stack}`, typeof value === 'function'));\n }\n\n var userProvidedCallback = userProvidedCallbackReference.value();\n\n if (userProvidedCallback !== this.userProvidedCallback) {\n this.userProvidedCallback = userProvidedCallback;\n this.shouldUpdate = true;\n }\n\n (true && !(args.positional.length === 2) && (0, _debug.assert)(`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.`, args.positional.length === 2));\n var needsCustomCallback = SUPPORTS_EVENT_OPTIONS === false && once ||\n /* needs manual once implementation */\n true\n /* DEBUG */\n && passive\n /* needs passive enforcement */\n ;\n\n if (this.shouldUpdate) {\n if (needsCustomCallback) {\n var callback = this.callback = function (event) {\n if (true\n /* DEBUG */\n && passive) {\n event.preventDefault = () => {\n (true && !(false) && (0, _debug.assert)(`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 (true\n /* DEBUG */\n ) {\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 }\n\n var adds = 0;\n var removes = 0;\n\n function 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\n function 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 @action\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 `@action` to ensure that `likePost` is\n properly bound to the `items-list`, but let's explore what happens if we\n left out `@action`:\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 `@action` or other means) before passing into `on`!\n \n @method on\n @for Ember.Templates.helpers\n @public\n @since 3.11.0\n */\n\n\n class OnModifierManager {\n constructor(owner, isInteractive) {\n this.SUPPORTS_EVENT_OPTIONS = SUPPORTS_EVENT_OPTIONS;\n this.isInteractive = isInteractive;\n this.owner = owner;\n }\n\n get counters() {\n return {\n adds,\n removes\n };\n }\n\n create(element, _state, args) {\n if (!this.isInteractive) {\n return null;\n }\n\n var capturedArgs = args.capture();\n return new OnModifierState(this.owner, element, capturedArgs);\n }\n\n getTag(state) {\n if (state === null) {\n return _validator.CONSTANT_TAG;\n }\n\n return state.tag;\n }\n\n install(state) {\n if (state === null) {\n return;\n }\n\n state.updateFromArgs();\n var {\n element,\n eventName,\n callback,\n options\n } = state;\n addEventListener(element, eventName, callback, options);\n (0, _runtime2.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 var {\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\n var CAPABILITIES$3 = {\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 }; // TODO\n // This \"disables\" the \"@model\" feature by making the arg untypable syntatically\n // Delete this when EMBER_ROUTING_MODEL_ARG has shipped\n\n var MODEL_ARG_NAME = 'model';\n\n class MountManager extends AbstractManager {\n getJitDynamicLayout(state, _) {\n var templateFactory$$1 = state.engine.lookup('template:application');\n var template = templateFactory$$1(state.engine);\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n state.environment.extra.debugRenderTree.setTemplate(state.controller, template);\n }\n\n return template;\n }\n\n getCapabilities() {\n return CAPABILITIES$3;\n }\n\n create(environment, {\n name\n }, args) {\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 var engine = environment.extra.owner.buildChildEngineInstance(name);\n engine.boot();\n var applicationFactory = engine.factoryFor(`controller:application`);\n var controllerFactory = applicationFactory || (0, _routing.generateControllerFactory)(engine, 'application');\n var controller;\n var self;\n var bucket;\n var modelRef;\n\n if (args.named.has(MODEL_ARG_NAME)) {\n modelRef = args.named.get(MODEL_ARG_NAME);\n }\n\n if (modelRef === undefined) {\n controller = controllerFactory.create();\n self = new _reference.ComponentRootReference(controller, environment);\n bucket = {\n engine,\n controller,\n self,\n environment\n };\n } else {\n var model = modelRef.value();\n controller = controllerFactory.create({\n model\n });\n self = new _reference.ComponentRootReference(controller, environment);\n bucket = {\n engine,\n controller,\n self,\n modelRef,\n environment\n };\n }\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n environment.extra.debugRenderTree.create(bucket, {\n type: 'engine',\n name,\n args: args.capture(),\n instance: engine,\n template: undefined\n });\n environment.extra.debugRenderTree.create(controller, {\n type: 'route-template',\n name: 'application',\n args: args.capture(),\n instance: controller,\n // set in getDynamicLayout\n template: undefined\n });\n (0, _runtime2.registerDestructor)(engine, () => {\n environment.extra.debugRenderTree.willDestroy(controller);\n environment.extra.debugRenderTree.willDestroy(bucket);\n });\n }\n\n return bucket;\n }\n\n getSelf({\n self\n }) {\n return self;\n }\n\n getTag(state) {\n var tag = _validator.CONSTANT_TAG;\n\n if (state.modelRef) {\n tag = state.modelRef.tag;\n }\n\n if (_environment2.ENV._DEBUG_RENDER_TREE && (0, _validator.isConstTag)(tag)) {\n tag = (0, _validator.createTag)();\n }\n\n return tag;\n }\n\n getDestroyable(bucket) {\n return bucket.engine;\n }\n\n didRenderLayout(bucket, bounds) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.environment.extra.debugRenderTree.didRender(bucket.controller, bounds);\n bucket.environment.extra.debugRenderTree.didRender(bucket, bounds);\n }\n }\n\n update(bucket) {\n var {\n controller,\n environment,\n modelRef\n } = bucket;\n\n if (modelRef !== undefined) {\n controller.set('model', modelRef.value());\n }\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n environment.extra.debugRenderTree.update(bucket);\n environment.extra.debugRenderTree.update(bucket.controller);\n }\n }\n\n didUpdateLayout(bucket, bounds) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n bucket.environment.extra.debugRenderTree.didRender(bucket.controller, bounds);\n bucket.environment.extra.debugRenderTree.didRender(bucket, bounds);\n }\n }\n\n }\n\n var MOUNT_MANAGER = new MountManager();\n\n class MountDefinition {\n constructor(name) {\n this.manager = MOUNT_MANAGER;\n this.state = {\n name\n };\n }\n\n }\n /**\n @module ember\n */\n\n\n function mountHelper(args, vm) {\n var env = vm.env;\n var nameRef = args.positional.at(0);\n var captured = null;\n (true && !(args.positional.length === 1) && (0, _debug.assert)('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', args.positional.length === 1));\n\n if (true\n /* DEBUG */\n && args.named) {\n var keys = args.named.names;\n var extra = keys.filter(k => k !== 'model');\n (true && !(extra.length === 0) && (0, _debug.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 } // TODO: the functionality to create a proper CapturedArgument should be\n // exported by glimmer, or that it should provide an overload for `curry`\n // that takes `PreparedArguments`\n\n\n if (args.named.has('model')) {\n (true && !(args.named.length === 1) && (0, _debug.assert)('[BUG] this should already be checked by the macro', args.named.length === 1));\n var named = args.named.capture();\n var {\n tag\n } = named; // TODO delete me after EMBER_ROUTING_MODEL_ARG has shipped\n\n if (true\n /* DEBUG */\n && MODEL_ARG_NAME !== 'model') {\n (true && !(named['_map'] === null) && (0, _debug.assert)('[BUG] named._map is not null', named['_map'] === null));\n named.names = [MODEL_ARG_NAME];\n }\n\n captured = {\n tag,\n positional: _runtime2.EMPTY_ARGS.positional,\n named,\n length: 1,\n\n value() {\n return {\n named: this.named.value(),\n positional: this.positional.value()\n };\n }\n\n };\n }\n\n return new DynamicEngineReference(nameRef, env, captured);\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 */\n\n\n class DynamicEngineReference {\n constructor(nameRef, env, args) {\n this.nameRef = nameRef;\n this.env = env;\n this.args = args;\n this._lastName = null;\n this._lastDef = null;\n this.tag = nameRef.tag;\n }\n\n value() {\n var {\n env,\n nameRef,\n args\n } = this;\n var name = nameRef.value();\n\n if (typeof name === 'string') {\n if (this._lastName === name) {\n return this._lastDef;\n }\n\n (true && !(env.extra.owner.hasRegistration(`engine:${name}`)) && (0, _debug.assert)(`You used \\`{{mount '${name}'}}\\`, but the engine '${name}' can not be found.`, env.extra.owner.hasRegistration(`engine:${name}`)));\n\n if (!env.extra.owner.hasRegistration(`engine:${name}`)) {\n return null;\n }\n\n this._lastName = name;\n this._lastDef = (0, _runtime2.curry)(new MountDefinition(name), args);\n return this._lastDef;\n } else {\n (true && !(name === null || name === undefined) && (0, _debug.assert)(`Invalid engine name '${name}' specified, engine name must be either a string, null or undefined.`, name === null || name === undefined));\n this._lastDef = null;\n this._lastName = null;\n return null;\n }\n }\n\n get() {\n return _runtime2.UNDEFINED_REFERENCE;\n }\n\n }\n /**\n * Represents the root outlet.\n */\n\n\n class RootOutletReference {\n constructor(outletState) {\n this.outletState = outletState;\n this.tag = (0, _validator.createTag)();\n }\n\n get(key) {\n return new PathReference(this, key);\n }\n\n value() {\n return this.outletState;\n }\n\n update(state) {\n this.outletState.outlets.main = state;\n (0, _validator.dirtyTag)(this.tag);\n }\n\n }\n /**\n * Represents the connected outlet.\n */\n\n\n class OutletReference {\n constructor(parentStateRef, outletNameRef) {\n this.parentStateRef = parentStateRef;\n this.outletNameRef = outletNameRef;\n this.tag = (0, _validator.combine)([parentStateRef.tag, outletNameRef.tag]);\n }\n\n value() {\n var outletState = this.parentStateRef.value();\n var outlets = outletState === undefined ? undefined : outletState.outlets;\n return outlets === undefined ? undefined : outlets[this.outletNameRef.value()];\n }\n\n get(key) {\n return new PathReference(this, key);\n }\n\n }\n /**\n * Outlet state is dirtied from root.\n * This just using the parent tag for dirtiness.\n */\n\n\n class PathReference {\n constructor(parent, key) {\n this.parent = parent;\n this.key = key;\n this.tag = parent.tag;\n }\n\n get(key) {\n return new PathReference(this, key);\n }\n\n value() {\n var parent = this.parent.value();\n return parent && parent[this.key];\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 You may also specify a name for the `{{outlet}}`, which is useful when using more than one\n `{{outlet}}` in a template:\n \n ```app/templates/application.hbs\n {{outlet \"menu\"}}\n {{outlet \"sidebar\"}}\n {{outlet \"main\"}}\n ```\n \n Your routes can then render into a specific one of these `outlet`s by specifying the `outlet`\n attribute in your `renderTemplate` function:\n \n ```app/routes/menu.js\n import Route from '@ember/routing/route';\n \n export default class MenuRoute extends Route {\n renderTemplate() {\n this.render({ outlet: 'menu' });\n }\n }\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 @param {String} [name]\n @for Ember.Templates.helpers\n @public\n */\n\n\n function outletHelper(args, vm) {\n var scope = vm.dynamicScope();\n var nameRef;\n\n if (args.positional.length === 0) {\n nameRef = new _reference.ConstReference('main');\n } else {\n nameRef = args.positional.at(0);\n }\n\n return new OutletComponentReference(new OutletReference(scope.outletState, nameRef), vm.env);\n }\n\n class OutletModelReference extends _reference.RootReference {\n constructor(parent, env) {\n super(env);\n this.parent = parent;\n this.tag = parent.tag;\n }\n\n value() {\n var state = this.parent.value();\n\n if (state === undefined) {\n return undefined;\n }\n\n var {\n render\n } = state;\n\n if (render === undefined) {\n return undefined;\n }\n\n return render.model;\n }\n\n }\n\n if (true\n /* DEBUG */\n ) {\n OutletModelReference.prototype['debugLogName'] = '@model';\n }\n\n class OutletComponentReference {\n constructor(outletRef, env) {\n this.outletRef = outletRef;\n this.env = env;\n this.definition = null;\n this.lastState = null; // The router always dirties the root state.\n\n this.tag = outletRef.tag;\n }\n\n value() {\n var state = stateFor(this.outletRef);\n\n if (validate(state, this.lastState)) {\n return this.definition;\n }\n\n this.lastState = state;\n var definition = null;\n\n if (state !== null) {\n var args = makeArgs(this.outletRef, this.env);\n definition = (0, _runtime2.curry)(new OutletComponentDefinition(state), args);\n }\n\n return this.definition = definition;\n }\n\n get(_key) {\n return _runtime2.UNDEFINED_REFERENCE;\n }\n\n }\n\n function makeArgs(outletRef, env) {\n var tag = outletRef.tag;\n var modelRef = new OutletModelReference(outletRef, env);\n var map = (0, _util.dict)();\n map.model = modelRef; // TODO: the functionailty to create a proper CapturedArgument should be\n // exported by glimmer, or that it should provide an overload for `curry`\n // that takes `PreparedArguments`\n\n return {\n tag,\n positional: _runtime2.EMPTY_ARGS.positional,\n named: {\n tag,\n map,\n names: ['model'],\n references: [modelRef],\n length: 1,\n\n has(key) {\n return key === 'model';\n },\n\n get(key) {\n return key === 'model' ? modelRef : _runtime2.UNDEFINED_REFERENCE;\n },\n\n value() {\n var model = modelRef.value();\n return {\n model\n };\n }\n\n },\n length: 1,\n\n value() {\n return {\n named: this.named.value(),\n positional: this.positional.value()\n };\n }\n\n };\n }\n\n function stateFor(ref) {\n var outlet = ref.value();\n if (outlet === undefined) return null;\n var render = outlet.render;\n if (render === undefined) return null;\n var template$$1 = render.template;\n if (template$$1 === undefined) return null; // this guard can be removed once @ember/test-helpers@1.6.0 has \"aged out\"\n // and is no longer considered supported\n\n if (isTemplateFactory(template$$1)) {\n template$$1 = template$$1(render.owner);\n }\n\n return {\n ref,\n name: render.name,\n outlet: render.outlet,\n template: template$$1,\n controller: render.controller,\n model: render.model\n };\n }\n\n function validate(state, lastState) {\n if (state === null) {\n return lastState === null;\n }\n\n if (lastState === null) {\n return false;\n }\n\n return state.template === lastState.template && state.controller === lastState.controller;\n }\n\n var TEMPLATES = new WeakMap();\n var getPrototypeOf = Object.getPrototypeOf;\n\n function setComponentTemplate(factory, obj) {\n (true && !(obj !== null && (typeof obj === 'object' || typeof obj === 'function')) && (0, _debug.assert)(`Cannot call \\`setComponentTemplate\\` on \\`${(0, _utils.toString)(obj)}\\``, obj !== null && (typeof obj === 'object' || typeof obj === 'function')));\n (true && !(!TEMPLATES.has(obj)) && (0, _debug.assert)(`Cannot call \\`setComponentTemplate\\` multiple times on the same class (\\`${obj}\\`)`, !TEMPLATES.has(obj)));\n TEMPLATES.set(obj, factory);\n return obj;\n }\n\n function getComponentTemplate(obj) {\n var pointer = obj;\n\n while (pointer !== undefined && pointer !== null) {\n var _template = TEMPLATES.get(pointer);\n\n if (_template !== undefined) {\n return _template;\n }\n\n pointer = getPrototypeOf(pointer);\n }\n\n return null;\n }\n\n var MANAGERS = new WeakMap();\n var getPrototypeOf$1 = Object.getPrototypeOf;\n\n function setManager(wrapper, obj) {\n MANAGERS.set(obj, wrapper);\n return obj;\n }\n\n function getManager(obj) {\n var pointer = obj;\n\n while (pointer !== undefined && pointer !== null) {\n var manager = MANAGERS.get(pointer);\n\n if (manager !== undefined) {\n return manager;\n }\n\n pointer = getPrototypeOf$1(pointer);\n }\n\n return null;\n }\n\n function setModifierManager(factory, obj) {\n return setManager({\n factory,\n internal: false,\n type: 'modifier'\n }, obj);\n }\n\n function getModifierManager(obj) {\n var wrapper = getManager(obj);\n\n if (wrapper && !wrapper.internal && wrapper.type === 'modifier') {\n return wrapper.factory;\n } else {\n return undefined;\n }\n }\n\n function instrumentationPayload$1(name) {\n return {\n object: `component:${name}`\n };\n }\n\n function makeOptions(moduleName, namespace) {\n return {\n source: moduleName !== undefined ? `template:${moduleName}` : undefined,\n namespace\n };\n }\n\n function componentFor(name, owner, options) {\n var fullName = `component:${name}`;\n return owner.factoryFor(fullName, options) || null;\n }\n\n function layoutFor(name, owner, options) {\n var templateFullName = `template:components/${name}`;\n return owner.lookup(templateFullName, options) || null;\n }\n\n function lookupComponentPair(owner, name, options) {\n var component = componentFor(name, owner, options);\n {\n if (component !== null && component.class !== undefined) {\n var _layout = getComponentTemplate(component.class);\n\n if (_layout !== null) {\n return {\n component,\n layout: _layout\n };\n }\n }\n }\n var layout = layoutFor(name, owner, options);\n\n if (component === null && layout === null) {\n return null;\n } else {\n return {\n component,\n layout\n };\n }\n }\n\n function lookupComponent(owner, name, options) {\n if (options.source || options.namespace) {\n var pair = lookupComponentPair(owner, name, options);\n\n if (pair !== null) {\n return pair;\n }\n }\n\n return lookupComponentPair(owner, name);\n }\n\n var lookupPartial;\n var templateFor;\n var parseUnderscoredName;\n\n if (_deprecatedFeatures.PARTIALS) {\n lookupPartial = function (templateName, owner) {\n (true && !(false) && (0, _debug.deprecate)(`The use of \\`{{partial}}\\` is deprecated, please refactor the \"${templateName}\" partial to a component`, false, {\n id: 'ember-views.partial',\n until: '4.0.0',\n url: 'https://deprecations.emberjs.com/v3.x#toc_ember-views-partial'\n }));\n\n if (templateName === null) {\n return;\n }\n\n var template = templateFor(owner, parseUnderscoredName(templateName), templateName);\n (true && !(Boolean(template)) && (0, _debug.assert)(`Unable to find partial with name \"${templateName}\"`, Boolean(template)));\n return template;\n };\n\n templateFor = function (owner, underscored, name) {\n if (_deprecatedFeatures.PARTIALS) {\n if (!name) {\n return;\n }\n\n (true && !(name.indexOf('.') === -1) && (0, _debug.assert)(`templateNames are not allowed to contain periods: ${name}`, name.indexOf('.') === -1));\n\n if (!owner) {\n throw new _error.default('Container was not found when looking up a views template. ' + 'This is most likely due to manually instantiating an Ember.View. ' + 'See: http://git.io/EKPpnA');\n }\n\n return owner.lookup(`template:${underscored}`) || owner.lookup(`template:${name}`);\n }\n };\n\n parseUnderscoredName = function (templateName) {\n var nameParts = templateName.split('/');\n var lastPart = nameParts[nameParts.length - 1];\n nameParts[nameParts.length - 1] = `_${lastPart}`;\n return nameParts.join('/');\n };\n }\n\n var BUILTINS_HELPERS = {\n if: inlineIf,\n action,\n array,\n concat: concat$1,\n fn: fn$1,\n get: get$1,\n hash,\n log: log$1,\n mut,\n 'query-params': queryParams$1,\n readonly,\n unbound,\n unless: inlineUnless,\n '-hash': hash,\n '-each-in': eachIn,\n '-input-type': inputTypeHelper$1,\n '-normalize-class': normalizeClassHelper,\n '-track-array': trackArray,\n '-get-dynamic-var': _runtime2.getDynamicVar,\n '-mount': mountHelper,\n '-outlet': outletHelper,\n '-assert-implicit-component-helper-argument': componentAssertionHelper,\n '-in-el-null': inElementNullCheckHelper\n };\n\n class RuntimeResolver {\n constructor(owner, isInteractive) {\n this.handles = [undefined];\n this.objToHandle = new WeakMap();\n this.builtInHelpers = BUILTINS_HELPERS;\n this.componentDefinitionCache = new Map();\n this.componentDefinitionCount = 0;\n this.helperDefinitionCount = 0;\n this.isInteractive = isInteractive;\n this.builtInModifiers = {\n action: {\n manager: new ActionModifierManager(),\n state: null\n },\n on: {\n manager: new OnModifierManager(owner, isInteractive),\n state: null\n }\n };\n }\n /*** IRuntimeResolver ***/\n\n /**\n * public componentDefHandleCount = 0;\n * Called while executing Append Op.PushDynamicComponentManager if string\n */\n\n\n lookupComponent(name, meta) {\n var handle = this.lookupComponentHandle(name, meta);\n\n if (handle === null) {\n (true && !(false) && (0, _debug.assert)(`Could not find component named \"${name}\" (no component or template with that name was found)`));\n return null;\n }\n\n return this.resolve(handle);\n }\n\n lookupComponentHandle(name, meta) {\n var nextHandle = this.handles.length;\n var handle = this.handle(this._lookupComponentDefinition(name, meta));\n (true && !(!(name === 'text-area' && handle === null)) && (0, _debug.assert)('Could not find component `<TextArea />` (did you mean `<Textarea />`?)', !(name === 'text-area' && handle === null)));\n\n if (nextHandle === handle) {\n this.componentDefinitionCount++;\n }\n\n return handle;\n }\n /**\n * Called by RuntimeConstants to lookup unresolved handles.\n */\n\n\n resolve(handle) {\n return this.handles[handle];\n } // End IRuntimeResolver\n\n /**\n * Called by CompileTimeLookup compiling Unknown or Helper OpCode\n */\n\n\n lookupHelper(name, meta) {\n var nextHandle = this.handles.length;\n\n var helper$$1 = this._lookupHelper(name, meta);\n\n if (helper$$1 !== null) {\n var handle = this.handle(helper$$1);\n\n if (nextHandle === handle) {\n this.helperDefinitionCount++;\n }\n\n return handle;\n }\n\n return null;\n }\n /**\n * Called by CompileTimeLookup compiling the\n */\n\n\n lookupModifier(name, meta) {\n return this.handle(this._lookupModifier(name, meta));\n }\n /**\n * Called by CompileTimeLookup to lookup partial\n */\n\n\n lookupPartial(name, meta) {\n if (_deprecatedFeatures.PARTIALS) {\n var partial = this._lookupPartial(name, meta);\n\n return this.handle(partial);\n } else {\n return null;\n }\n } // TODO: This isn't necessary in all embedding environments, we should likely\n // make it optional within Glimmer-VM\n\n\n compilable() {} // end CompileTimeLookup\n // needed for lazy compile time lookup\n\n\n handle(obj) {\n if (obj === undefined || obj === null) {\n return null;\n }\n\n var handle = this.objToHandle.get(obj);\n\n if (handle === undefined) {\n handle = this.handles.push(obj) - 1;\n this.objToHandle.set(obj, handle);\n }\n\n return handle;\n }\n\n _lookupHelper(_name, meta) {\n (true && !(!(this.builtInHelpers[_name] && meta.owner.hasRegistration(`helper:${_name}`))) && (0, _debug.assert)(`You attempted to overwrite the built-in helper \"${_name}\" which is not allowed. Please rename the helper.`, !(this.builtInHelpers[_name] && meta.owner.hasRegistration(`helper:${_name}`))));\n var helper$$1 = this.builtInHelpers[_name];\n\n if (helper$$1 !== undefined) {\n return helper$$1;\n }\n\n var {\n moduleName\n } = meta;\n var owner = meta.owner;\n var name = _name;\n var namespace = undefined;\n var options = makeOptions(moduleName, namespace);\n var factory = owner.factoryFor(`helper:${name}`, options) || owner.factoryFor(`helper:${name}`);\n\n if (!isHelperFactory(factory)) {\n return null;\n }\n\n return (args, vm) => {\n var helper$$1 = factory.create();\n\n if (isClassHelper(helper$$1)) {\n var helperDestroyable = {}; // Do this so that `destroy` gets called correctly\n\n (0, _runtime2.registerDestructor)(helperDestroyable, () => helper$$1.destroy(), true);\n vm.associateDestroyable(helperDestroyable);\n } else if (true\n /* DEBUG */\n ) {\n // Bind to null in case someone accidentally passed an unbound function\n // in, and attempts use `this` on it.\n //\n // TODO: Update buildUntouchableThis to be flexible enough to provide a\n // nice error message here.\n helper$$1.compute = helper$$1.compute.bind(null);\n }\n\n return new EmberHelperRootReference(helper$$1, args.capture(), vm.env);\n };\n }\n\n _lookupPartial(name, meta) {\n var owner = meta.owner;\n var templateFactory$$1 = lookupPartial(name, owner);\n var template = templateFactory$$1(owner);\n return new _opcodeCompiler.PartialDefinitionImpl(name, template);\n }\n\n _lookupModifier(name, meta) {\n var builtin = this.builtInModifiers[name];\n\n if (builtin === undefined) {\n var owner = meta.owner;\n var modifier = owner.factoryFor(`modifier:${name}`);\n\n if (modifier !== undefined) {\n var managerFactory = getModifierManager(modifier.class);\n var manager = managerFactory(owner);\n return new CustomModifierDefinition(name, modifier, manager, this.isInteractive);\n }\n }\n\n return builtin;\n }\n\n _parseNameForNamespace(_name) {\n var name = _name;\n var namespace = undefined;\n\n var namespaceDelimiterOffset = _name.indexOf('::');\n\n if (namespaceDelimiterOffset !== -1) {\n name = _name.slice(namespaceDelimiterOffset + 2);\n namespace = _name.slice(0, namespaceDelimiterOffset);\n }\n\n return {\n name,\n namespace\n };\n }\n\n _lookupComponentDefinition(_name, meta) {\n var name = _name;\n var namespace = undefined;\n var owner = meta.owner;\n var {\n moduleName\n } = meta;\n var pair = lookupComponent(owner, name, makeOptions(moduleName, namespace));\n\n if (pair === null) {\n return null;\n }\n\n var layout;\n var key;\n\n if (pair.component === null) {\n key = layout = pair.layout(owner);\n } else {\n key = pair.component;\n }\n\n var cachedComponentDefinition = this.componentDefinitionCache.get(key);\n\n if (cachedComponentDefinition !== undefined) {\n return cachedComponentDefinition;\n }\n\n if (layout === undefined && pair.layout !== null) {\n layout = pair.layout(owner);\n }\n\n var finalizer = (0, _instrumentation._instrumentStart)('render.getComponentDefinition', instrumentationPayload$1, name);\n var definition = null;\n\n if (pair.component === null) {\n if (_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n definition = new TemplateOnlyComponentDefinition(name, layout);\n }\n } else if (true\n /* EMBER_GLIMMER_SET_COMPONENT_TEMPLATE */\n && (0, _templateOnly.isTemplateOnlyComponent)(pair.component.class)) {\n definition = new TemplateOnlyComponentDefinition(name, layout);\n }\n\n if (pair.component !== null) {\n (true && !(pair.component.class !== undefined) && (0, _debug.assert)(`missing component class ${name}`, pair.component.class !== undefined));\n var ComponentClass = pair.component.class;\n var wrapper = getManager(ComponentClass);\n\n if (wrapper !== null && wrapper.type === 'component') {\n var {\n factory\n } = wrapper;\n\n if (wrapper.internal) {\n (true && !(pair.layout !== null) && (0, _debug.assert)(`missing layout for internal component ${name}`, pair.layout !== null));\n definition = new InternalComponentDefinition(factory(owner), ComponentClass, layout);\n } else {\n definition = new CustomManagerDefinition(name, pair.component, factory(owner), layout !== undefined ? layout : owner.lookup((0, _container.privatize)`template:components/-default`)(owner));\n }\n }\n }\n\n if (definition === null) {\n definition = new CurlyComponentDefinition(name, pair.component || owner.factoryFor((0, _container.privatize)`component:-default`), layout);\n }\n\n finalizer();\n this.componentDefinitionCache.set(key, definition);\n return definition;\n }\n\n }\n\n function hashToArgs(hash) {\n if (hash === null) return null;\n var names = hash[0].map(key => `@${key}`);\n return [names, hash[1]];\n }\n\n var experimentalMacros = []; // This is a private API to allow for experimental macros\n // to be created in user space. Registering a macro should\n // should be done in an initializer.\n\n _exports._experimentalMacros = experimentalMacros;\n\n function registerMacros(macro) {\n experimentalMacros.push(macro);\n }\n\n function refineInlineSyntax(name, params, hash, context) {\n var component = context.resolver.lookupComponent(name, context.meta.referrer);\n\n if (component !== null) {\n return (0, _opcodeCompiler.staticComponent)(component, [params === null ? [] : params, hashToArgs(hash), _opcodeCompiler.EMPTY_BLOCKS]);\n }\n\n return _opcodeCompiler.UNHANDLED;\n }\n\n function refineBlockSyntax(name, params, hash, blocks, context) {\n var handle = context.resolver.lookupComponent(name, context.meta.referrer);\n\n if (handle !== null) {\n return (0, _opcodeCompiler.staticComponent)(handle, [params, hashToArgs(hash), blocks]);\n }\n\n (true && !(context.meta.referrer.owner.hasRegistration(`helper:${name}`)) && (0, _debug.assert)(`A component or helper named \"${name}\" could not be found`, context.meta.referrer.owner.hasRegistration(`helper:${name}`)));\n (true && !(!(() => {\n var resolver = context.resolver['inner']['resolver'];\n var {\n moduleName,\n owner\n } = context.meta.referrer;\n\n if (name === 'component' || resolver['builtInHelpers'][name]) {\n return true;\n }\n\n var options = {\n source: `template:${moduleName}`\n };\n return owner.hasRegistration(`helper:${name}`, options) || owner.hasRegistration(`helper:${name}`);\n })()) && (0, _debug.assert)(`Helpers may not be used in the block form, for example {{#${name}}}{{/${name}}}. Please use a component, or alternatively use the helper in combination with a built-in Ember helper, for example {{#if (${name})}}{{/if}}.`, !(() => {\n var resolver = context.resolver['inner']['resolver'];\n var {\n moduleName,\n owner\n } = context.meta.referrer;\n\n if (name === 'component' || resolver['builtInHelpers'][name]) {\n return true;\n }\n\n var options = {\n source: `template:${moduleName}`\n };\n return owner.hasRegistration(`helper:${name}`, options) || owner.hasRegistration(`helper:${name}`);\n })()));\n return _opcodeCompiler.NONE;\n }\n\n function populateMacros(macros) {\n var {\n inlines,\n blocks\n } = macros;\n inlines.addMissing(refineInlineSyntax);\n blocks.addMissing(refineBlockSyntax);\n\n for (var i = 0; i < experimentalMacros.length; i++) {\n var macro = experimentalMacros[i];\n macro(blocks, inlines);\n }\n\n return {\n blocks,\n inlines\n };\n }\n\n class DynamicScope {\n constructor(view, outletState) {\n this.view = view;\n this.outletState = outletState;\n }\n\n child() {\n return new DynamicScope(this.view, this.outletState);\n }\n\n get(key) {\n // tslint:disable-next-line:max-line-length\n (true && !(key === 'outletState') && (0, _debug.assert)(`Using \\`-get-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`, key === 'outletState'));\n return this.outletState;\n }\n\n set(key, value) {\n // tslint:disable-next-line:max-line-length\n (true && !(key === 'outletState') && (0, _debug.assert)(`Using \\`-with-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`, key === 'outletState'));\n this.outletState = value;\n return value;\n }\n\n }\n\n class RootState {\n constructor(root, runtime, context, template, self, parentElement, dynamicScope, builder) {\n this.root = root;\n this.runtime = runtime;\n (true && !(template !== undefined) && (0, _debug.assert)(`You cannot render \\`${self.value()}\\` without a template.`, template !== undefined));\n this.id = (0, _views.getViewId)(root);\n this.result = undefined;\n this.destroyed = false;\n\n this.render = () => {\n var layout = (0, _util.unwrapTemplate)(template).asLayout();\n var handle = layout.compile(context);\n var iterator = (0, _runtime2.renderJitMain)(runtime, context, self, builder(runtime.env, {\n element: parentElement,\n nextSibling: null\n }), (0, _util.unwrapHandle)(handle), dynamicScope);\n var iteratorResult;\n\n do {\n iteratorResult = iterator.next();\n } while (!iteratorResult.done);\n\n var result = this.result = iteratorResult.value; // override .render function after initial render\n\n this.render = () => result.rerender({\n alwaysRevalidate: false\n });\n };\n }\n\n isFor(possibleRoot) {\n return this.root === possibleRoot;\n }\n\n destroy() {\n var {\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\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 (0, _runtime2.inTransaction)(env, () => (0, _runtime2.destroy)(result));\n }\n }\n\n }\n\n var renderers = [];\n\n function _resetRenderers() {\n renderers.length = 0;\n }\n\n function register(renderer) {\n (true && !(renderers.indexOf(renderer) === -1) && (0, _debug.assert)('Cannot register the same renderer twice', renderers.indexOf(renderer) === -1));\n renderers.push(renderer);\n }\n\n function deregister(renderer) {\n var index = renderers.indexOf(renderer);\n (true && !(index !== -1) && (0, _debug.assert)('Cannot deregister unknown unregistered renderer', index !== -1));\n renderers.splice(index, 1);\n }\n\n function loopBegin() {\n for (var i = 0; i < renderers.length; i++) {\n renderers[i]._scheduleRevalidate();\n }\n }\n\n function K() {\n /* noop */\n }\n\n var 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 */\n\n function renderSettled() {\n if (renderSettledDeferred === null) {\n renderSettledDeferred = _rsvp.default.defer(); // 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\n if (!(0, _runloop.getCurrentRunLoop)()) {\n // ensure a runloop has been kicked off\n _runloop.backburner.schedule('actions', null, K);\n }\n }\n\n return renderSettledDeferred.promise;\n }\n\n function resolveRenderPromise() {\n if (renderSettledDeferred !== null) {\n var resolve = renderSettledDeferred.resolve;\n renderSettledDeferred = null;\n\n _runloop.backburner.join(null, resolve);\n }\n }\n\n var loops = 0;\n\n function loopEnd() {\n for (var i = 0; i < renderers.length; i++) {\n if (!renderers[i]._isValid()) {\n if (loops > _environment2.ENV._RERENDER_LOOP_LIMIT) {\n loops = 0; // TODO: do something better\n\n renderers[i].destroy();\n throw new Error('infinite rendering invalidation detected');\n }\n\n loops++;\n return _runloop.backburner.join(null, K);\n }\n }\n\n loops = 0;\n resolveRenderPromise();\n }\n\n _runloop.backburner.on('begin', loopBegin);\n\n _runloop.backburner.on('end', loopEnd);\n\n class Renderer {\n constructor(owner, document, env, rootTemplate, viewRegistry, destinedForDOM = false, builder = _runtime2.clientBuilder) {\n this._inRenderTransaction = false;\n this._lastRevision = -1;\n this._destroyed = false;\n this._rootTemplate = rootTemplate(owner);\n this._viewRegistry = viewRegistry;\n this._destinedForDOM = destinedForDOM;\n this._roots = [];\n this._removedRoots = [];\n this._builder = builder; // resolver is exposed for tests\n\n var runtimeResolver = this._runtimeResolver = new RuntimeResolver(owner, env.isInteractive);\n var compileTimeResolver = new CompileTimeResolver(runtimeResolver);\n var context = this._context = (0, _opcodeCompiler.JitContext)(compileTimeResolver);\n populateMacros(context.macros);\n var runtimeEnvironmentDelegate = new EmberEnvironmentDelegate(owner, env.isInteractive);\n this._runtime = (0, _runtime2.JitRuntime)({\n appendOperations: env.hasDOM ? new _runtime2.DOMTreeConstruction(document) : new _node.NodeDOMTreeConstruction(document),\n updateOperations: new _runtime2.DOMChanges(document)\n }, runtimeEnvironmentDelegate, context, runtimeResolver);\n }\n\n get debugRenderTree() {\n return this._runtime.env.extra.debugRenderTree;\n } // renderer HOOKS\n\n\n appendOutletView(view, target) {\n var definition = createRootOutlet(view);\n\n this._appendDefinition(view, (0, _runtime2.curry)(definition), target);\n }\n\n appendTo(view, target) {\n var definition = new RootComponentDefinition(view);\n\n this._appendDefinition(view, (0, _runtime2.curry)(definition), target);\n }\n\n _appendDefinition(root, definition, target) {\n var self = new UnboundRootReference(definition, this._runtime.env);\n var dynamicScope = new DynamicScope(null, _runtime2.UNDEFINED_REFERENCE);\n var rootState = new RootState(root, this._runtime, this._context, this._rootTemplate, self, target, dynamicScope, this._builder);\n\n this._renderRoot(rootState);\n }\n\n rerender() {\n this._scheduleRevalidate();\n }\n\n register(view) {\n var id = (0, _views.getViewId)(view);\n (true && !(!this._viewRegistry[id]) && (0, _debug.assert)('Attempted to register a view with an id already in use: ' + id, !this._viewRegistry[id]));\n this._viewRegistry[id] = view;\n }\n\n unregister(view) {\n delete this._viewRegistry[(0, _views.getViewId)(view)];\n }\n\n remove(view) {\n view._transitionTo('destroying');\n\n this.cleanupRootFor(view);\n\n if (this._destinedForDOM) {\n view.trigger('didDestroyElement');\n }\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\n var roots = this._roots; // traverse in reverse so we can remove items\n // without mucking up the index\n\n var i = this._roots.length;\n\n while (i--) {\n var root = roots[i];\n\n if (root.isFor(view)) {\n root.destroy();\n roots.splice(i, 1);\n }\n }\n }\n\n destroy() {\n if (this._destroyed) {\n return;\n }\n\n this._destroyed = true;\n\n this._clearAllRoots();\n }\n\n getBounds(view) {\n var bounds = view[BOUNDS];\n (true && !(Boolean(bounds)) && (0, _debug.assert)('object passed to getBounds must have the BOUNDS symbol as a property', Boolean(bounds)));\n var parentElement = bounds.parentElement();\n var firstNode = bounds.firstNode();\n var lastNode = bounds.lastNode();\n return {\n parentElement,\n firstNode,\n lastNode\n };\n }\n\n createElement(tagName) {\n return this._runtime.env.getAppendOperations().createElement(tagName);\n }\n\n _renderRoot(root) {\n var {\n _roots: roots\n } = this;\n roots.push(root);\n\n if (roots.length === 1) {\n register(this);\n }\n\n this._renderRootsTransaction();\n }\n\n _renderRoots() {\n var {\n _roots: roots,\n _runtime: runtime,\n _removedRoots: removedRoots\n } = this;\n var initialRootsLength;\n\n do {\n initialRootsLength = roots.length;\n (0, _runtime2.inTransaction)(runtime.env, () => {\n // ensure that for the first iteration of the loop\n // each root is processed\n for (var i = 0; i < roots.length; i++) {\n var root = roots[i];\n\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); // skip over roots that have been marked as destroyed\n\n continue;\n } // when processing non-initial reflush loops,\n // do not process more roots than needed\n\n\n if (i >= initialRootsLength) {\n continue;\n }\n\n if (true\n /* DEBUG */\n ) {\n // run in an autotracking transaction to prevent backflow errors.\n // we use `bind` here to avoid creating a closure (and requiring a\n // hoisted variable).\n (0, _validator.runInAutotrackingTransaction)(root.render.bind(root));\n } else {\n root.render();\n }\n }\n\n this._lastRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n });\n } while (roots.length > initialRootsLength); // remove any roots that were destroyed during this transaction\n\n\n while (removedRoots.length) {\n var root = removedRoots.pop();\n var rootIndex = roots.indexOf(root);\n roots.splice(rootIndex, 1);\n }\n\n if (this._roots.length === 0) {\n deregister(this);\n }\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 } // used to prevent calling _renderRoots again (see above)\n // while we are actively rendering roots\n\n\n this._inRenderTransaction = true;\n var completedWithoutError = false;\n\n try {\n this._renderRoots();\n\n completedWithoutError = true;\n } finally {\n if (!completedWithoutError) {\n this._lastRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n }\n\n this._inRenderTransaction = false;\n }\n }\n\n _clearAllRoots() {\n var roots = this._roots;\n\n for (var i = 0; i < roots.length; i++) {\n var root = roots[i];\n root.destroy();\n }\n\n this._removedRoots.length = 0;\n this._roots = []; // if roots were present before destroying\n // deregister this renderer instance\n\n if (roots.length) {\n deregister(this);\n }\n }\n\n _scheduleRevalidate() {\n _runloop.backburner.scheduleOnce('render', this, this._revalidate);\n }\n\n _isValid() {\n return this._destroyed || this._roots.length === 0 || (0, _validator.validateTag)(_validator.CURRENT_TAG, this._lastRevision);\n }\n\n _revalidate() {\n if (this._isValid()) {\n return;\n }\n\n this._renderRootsTransaction();\n }\n\n }\n\n _exports.Renderer = Renderer;\n\n class InertRenderer extends Renderer {\n static create(props) {\n var {\n document,\n env,\n rootTemplate,\n _viewRegistry,\n builder\n } = props;\n return new this((0, _owner.getOwner)(props), document, env, rootTemplate, _viewRegistry, false, builder);\n }\n\n getElement(_view) {\n throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');\n }\n\n }\n\n _exports.InertRenderer = InertRenderer;\n\n class InteractiveRenderer extends Renderer {\n static create(props) {\n var {\n document,\n env,\n rootTemplate,\n _viewRegistry,\n builder\n } = props;\n return new this((0, _owner.getOwner)(props), document, env, rootTemplate, _viewRegistry, true, builder);\n }\n\n getElement(view) {\n return (0, _views.getViewElement)(view);\n }\n\n }\n\n _exports.InteractiveRenderer = InteractiveRenderer;\n var TEMPLATES$1 = {};\n\n function setTemplates(templates) {\n TEMPLATES$1 = templates;\n }\n\n function getTemplates() {\n return TEMPLATES$1;\n }\n\n function getTemplate(name) {\n if (Object.prototype.hasOwnProperty.call(TEMPLATES$1, name)) {\n return TEMPLATES$1[name];\n }\n }\n\n function hasTemplate(name) {\n return Object.prototype.hasOwnProperty.call(TEMPLATES$1, name);\n }\n\n function setTemplate(name, template) {\n return TEMPLATES$1[name] = template;\n }\n\n var CAPABILITIES$4 = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: true,\n createArgs: true,\n attributeHook: false,\n elementHook: false,\n createCaller: true,\n dynamicScope: false,\n updateHook: true,\n createInstance: true,\n wrapped: false,\n willDestroy: false\n };\n var EMPTY_POSITIONAL_ARGS$1 = [];\n (0, _debug.debugFreeze)(EMPTY_POSITIONAL_ARGS$1);\n\n class InputComponentManager extends InternalManager {\n getCapabilities() {\n return CAPABILITIES$4;\n }\n\n prepareArgs(_state, args) {\n (true && !(args.positional.length === 0) && (0, _debug.assert)('The `<Input />` component does not take any positional arguments', args.positional.length === 0));\n var __ARGS__ = args.named.capture().map;\n return {\n positional: EMPTY_POSITIONAL_ARGS$1,\n named: {\n __ARGS__: new _reference.ConstReference(__ARGS__),\n type: args.named.get('type')\n }\n };\n }\n\n create(env, {\n ComponentClass,\n layout\n }, args, _dynamicScope, caller) {\n (true && !((0, _validator.isConstTagged)(caller)) && (0, _debug.assert)('caller must be const', (0, _validator.isConstTagged)(caller)));\n var type = args.named.get('type');\n var instance = ComponentClass.create({\n caller: caller.value(),\n type: type.value()\n });\n var state = {\n env,\n type,\n instance\n };\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n env.extra.debugRenderTree.create(state, {\n type: 'component',\n name: 'input',\n args: args.capture(),\n instance,\n template: layout\n });\n (0, _runtime2.registerDestructor)(instance, () => env.extra.debugRenderTree.willDestroy(state));\n }\n\n return state;\n }\n\n getSelf({\n env,\n instance\n }) {\n return new _reference.ComponentRootReference(instance, env);\n }\n\n getTag() {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n // returning a const tag skips the update hook (VM BUG?)\n return (0, _validator.createTag)();\n } else {\n // an outlet has no hooks\n return _validator.CONSTANT_TAG;\n }\n }\n\n didRenderLayout(state, bounds) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n state.env.extra.debugRenderTree.didRender(state, bounds);\n }\n }\n\n update(state) {\n (0, _metal.set)(state.instance, 'type', state.type.value());\n\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n state.env.extra.debugRenderTree.update(state);\n }\n }\n\n didUpdateLayout(state, bounds) {\n if (_environment2.ENV._DEBUG_RENDER_TREE) {\n state.env.extra.debugRenderTree.didRender(state, bounds);\n }\n }\n\n getDestroyable(state) {\n return state.instance;\n }\n\n }\n\n var InputComponentManagerFactory = owner => {\n return new InputComponentManager(owner);\n };\n /**\n @module @ember/component\n */\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 /**\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 ### `<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 ### Extending `TextField`\n \n Internally, `<Input @type=\"text\" />` creates an instance of `TextField`, passing arguments from\n the helper to `TextField`'s `create` method. Subclassing `TextField` is supported but not\n recommended.\n \n See [TextField](/ember/release/classes/TextField)\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 ### Extending `Checkbox`\n \n Internally, `<Input @type=\"checkbox\" />` creates an instance of `Checkbox`. Subclassing\n `TextField` is supported but not recommended.\n \n See [Checkbox](/ember/release/classes/Checkbox)\n \n @method Input\n @for Ember.Templates.components\n @see {TextField}\n @see {Checkbox}\n @param {Hash} options\n @public\n */\n\n\n var Input = _runtime.Object.extend({\n isCheckbox: (0, _metal.computed)('type', function () {\n return this.type === 'checkbox';\n })\n });\n\n setManager({\n factory: InputComponentManagerFactory,\n internal: true,\n type: 'component'\n }, Input);\n\n Input.toString = () => '@ember/component/input';\n /**\n @module ember\n */\n\n /**\n Calls [String.loc](/ember/release/classes/String/methods/loc?anchor=loc) with the\n provided string. This is a convenient way to localize text within a template.\n For example:\n \n ```javascript\n Ember.STRINGS = {\n '_welcome_': 'Bonjour'\n };\n ```\n \n ```handlebars\n <div class='message'>\n {{loc '_welcome_'}}\n </div>\n ```\n \n ```html\n <div class='message'>\n Bonjour\n </div>\n ```\n \n See [String.loc](/ember/release/classes/String/methods/loc?anchor=loc) for how to\n set up localized string references.\n \n @method loc\n @for Ember.Templates.helpers\n @param {String} str The string to format.\n @see {String#loc}\n @public\n */\n\n\n var loc$1 = helper(function (params) {\n return _string.loc.apply(null, params\n /* let the other side handle errors */\n );\n });\n var ComponentTemplate = template({\n \"id\": \"RLf1peEf\",\n \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[18,1,null]],\\\"hasEval\\\":false,\\\"upvars\\\":[]}\",\n \"meta\": {\n \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/component.hbs\"\n }\n });\n var InputTemplate = template({\n \"id\": \"ExnzE3OS\",\n \"block\": \"{\\\"symbols\\\":[\\\"Checkbox\\\",\\\"TextField\\\",\\\"@__ARGS__\\\",\\\"&attrs\\\"],\\\"statements\\\":[[6,[37,2],[[30,[36,1],[\\\"-checkbox\\\"],null],[30,[36,1],[\\\"-text-field\\\"],null]],null,[[\\\"default\\\"],[{\\\"statements\\\":[[6,[37,0],[[32,0,[\\\"isCheckbox\\\"]]],null,[[\\\"default\\\",\\\"else\\\"],[{\\\"statements\\\":[[8,[32,1],[[17,4]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[32,0,[\\\"caller\\\"]],[32,3]]],null]],\\\"parameters\\\":[]},{\\\"statements\\\":[[8,[32,2],[[17,4]],[[\\\"@target\\\",\\\"@__ARGS__\\\"],[[32,0,[\\\"caller\\\"]],[32,3]]],null]],\\\"parameters\\\":[]}]]]],\\\"parameters\\\":[1,2]}]]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"if\\\",\\\"component\\\",\\\"let\\\"]}\",\n \"meta\": {\n \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/input.hbs\"\n }\n });\n var OutletTemplate = template({\n \"id\": \"vA+C0Wde\",\n \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[30,[36,1],[[30,[36,0],null,null]],null]]],\\\"hasEval\\\":false,\\\"upvars\\\":[\\\"-outlet\\\",\\\"component\\\"]}\",\n \"meta\": {\n \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs\"\n }\n });\n var TOP_LEVEL_NAME = '-top-level';\n var TOP_LEVEL_OUTLET = 'main';\n\n class OutletView {\n constructor(_environment, renderer, owner, template) {\n this._environment = _environment;\n this.renderer = renderer;\n this.owner = owner;\n this.template = template;\n var ref = this.ref = new RootOutletReference({\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 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\n static extend(injections) {\n return class extends OutletView {\n static create(options) {\n if (options) {\n return super.create((0, _polyfills.assign)({}, injections, options));\n } else {\n return super.create(injections);\n }\n }\n\n };\n }\n\n static reopenClass(injections) {\n (0, _polyfills.assign)(this, injections);\n }\n\n static create(options) {\n var {\n _environment,\n renderer,\n template: templateFactory$$1\n } = options;\n var owner = (0, _owner.getOwner)(options);\n var template = templateFactory$$1(owner);\n return new OutletView(_environment, renderer, owner, template);\n }\n\n appendTo(selector) {\n var target;\n\n if (this._environment.hasDOM) {\n target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n } else {\n target = selector;\n }\n\n (0, _runloop.schedule)('render', this.renderer, 'appendOutletView', this, target);\n }\n\n rerender() {\n /**/\n }\n\n setOutletState(state) {\n this.ref.update(state);\n }\n\n destroy() {\n /**/\n }\n\n }\n\n _exports.OutletView = OutletView;\n\n function setupApplicationRegistry(registry) {\n registry.injection('renderer', 'env', '-environment:main'); // 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\n registry.register('service:-dom-builder', {\n create({\n bootOptions\n }) {\n var {\n _renderMode\n } = bootOptions;\n\n switch (_renderMode) {\n case 'serialize':\n return _node.serializeBuilder.bind(null);\n\n case 'rehydrate':\n return _runtime2.rehydrationBuilder.bind(null);\n\n default:\n return _runtime2.clientBuilder.bind(null);\n }\n }\n\n });\n registry.injection('service:-dom-builder', 'bootOptions', '-environment:main');\n registry.injection('renderer', 'builder', 'service:-dom-builder');\n registry.register((0, _container.privatize)`template:-root`, RootTemplate);\n registry.injection('renderer', 'rootTemplate', (0, _container.privatize)`template:-root`);\n registry.register('renderer:-dom', InteractiveRenderer);\n registry.register('renderer:-inert', InertRenderer);\n registry.injection('renderer', 'document', 'service:-document');\n }\n\n function setupEngineRegistry(registry) {\n registry.optionsForType('template', {\n instantiate: false\n });\n registry.register('view:-outlet', OutletView);\n registry.register('template:-outlet', OutletTemplate);\n registry.injection('view:-outlet', 'template', 'template:-outlet');\n registry.register((0, _container.privatize)`template:components/-default`, ComponentTemplate);\n registry.optionsForType('helper', {\n instantiate: false\n });\n registry.register('helper:loc', loc$1);\n registry.register('component:-text-field', TextField);\n registry.register('component:-checkbox', Checkbox);\n registry.register('component:link-to', LinkComponent);\n registry.register('component:input', Input);\n registry.register('template:components/input', InputTemplate);\n registry.register('component:textarea', TextArea);\n\n if (!_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n registry.register((0, _container.privatize)`component:-default`, Component);\n }\n }\n\n function setComponentManager(stringOrFunction, obj) {\n var factory;\n\n if (_deprecatedFeatures.COMPONENT_MANAGER_STRING_LOOKUP && typeof stringOrFunction === 'string') {\n (true && !(false) && (0, _debug.deprecate)('Passing the name of the component manager to \"setupComponentManager\" is deprecated. Please pass a function that produces an instance of the manager.', false, {\n id: 'deprecate-string-based-component-manager',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x/#toc_component-manager-string-lookup'\n }));\n\n factory = function (owner) {\n return owner.lookup(`component-manager:${stringOrFunction}`);\n };\n } else {\n factory = stringOrFunction;\n }\n\n return setManager({\n factory,\n internal: false,\n type: 'component'\n }, obj);\n }\n\n function getComponentManager(obj) {\n var wrapper = getManager(obj);\n\n if (wrapper && !wrapper.internal && wrapper.type === 'component') {\n return wrapper.factory;\n } else {\n return undefined;\n }\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\n});","define(\"@ember/-internals/meta/index\", [\"exports\", \"@ember/-internals/meta/lib/meta\"], function (_exports, _meta) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"counters\", {\n enumerable: true,\n get: function () {\n return _meta.counters;\n }\n });\n Object.defineProperty(_exports, \"Meta\", {\n enumerable: true,\n get: function () {\n return _meta.Meta;\n }\n });\n Object.defineProperty(_exports, \"meta\", {\n enumerable: true,\n get: function () {\n return _meta.meta;\n }\n });\n Object.defineProperty(_exports, \"peekMeta\", {\n enumerable: true,\n get: function () {\n return _meta.peekMeta;\n }\n });\n Object.defineProperty(_exports, \"setMeta\", {\n enumerable: true,\n get: function () {\n return _meta.setMeta;\n }\n });\n Object.defineProperty(_exports, \"UNDEFINED\", {\n enumerable: true,\n get: function () {\n return _meta.UNDEFINED;\n }\n });\n});","define(\"@ember/-internals/meta/lib/meta\", [\"exports\", \"@ember/-internals/utils\", \"@ember/debug\", \"@glimmer/runtime\"], function (_exports, _utils, _debug, _runtime) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.setMeta = setMeta;\n _exports.peekMeta = peekMeta;\n _exports.counters = _exports.meta = _exports.Meta = _exports.UNDEFINED = void 0;\n var objectPrototype = Object.prototype;\n var counters;\n _exports.counters = counters;\n\n if (true\n /* DEBUG */\n ) {\n _exports.counters = 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 */\n\n\n var UNDEFINED = (0, _utils.symbol)('undefined');\n _exports.UNDEFINED = UNDEFINED;\n var currentListenerVersion = 1;\n\n class Meta {\n // DEBUG\n constructor(obj) {\n this._listenersVersion = 1;\n this._inheritedEnd = -1;\n this._flattenedVersion = 0;\n\n if (true\n /* DEBUG */\n ) {\n counters.metaInstantiated++;\n }\n\n this._parent = undefined;\n this._descriptors = undefined;\n this._mixins = undefined;\n this._lazyChains = undefined;\n this._values = undefined;\n this._tags = undefined;\n this._revisions = undefined; // initial value for all flags right now is false\n // see FLAGS const for detailed list of flags used\n\n this._isInit = false; // used only internally\n\n this.source = obj;\n this.proto = obj.constructor === undefined ? undefined : obj.constructor.prototype;\n this._listeners = undefined;\n }\n\n get parent() {\n var parent = this._parent;\n\n if (parent === undefined) {\n var proto = getPrototypeOf(this.source);\n this._parent = parent = proto === null || proto === objectPrototype ? null : meta(proto);\n }\n\n return parent;\n } // These methods are here to prevent errors in legacy compat with some addons\n // that used them as intimate API\n\n\n setSourceDestroying() {\n (true && !(false) && (0, _debug.deprecate)('setSourceDestroying is deprecated, use the destroy() API to destroy the object directly instead', false, {\n id: 'meta-destruction-apis',\n until: '3.25.0'\n }));\n }\n\n setSourceDestroyed() {\n (true && !(false) && (0, _debug.deprecate)('setSourceDestroyed is deprecated, use the destroy() API to destroy the object directly instead', false, {\n id: 'meta-destruction-apis',\n until: '3.25.0'\n }));\n }\n\n isSourceDestroying() {\n (true && !(false) && (0, _debug.deprecate)('isSourceDestroying is deprecated, use the isDestroying() API to check the object destruction state directly instead', false, {\n id: 'meta-destruction-apis',\n until: '3.25.0'\n }));\n return (0, _runtime.isDestroying)(this.source);\n }\n\n isSourceDestroyed() {\n (true && !(false) && (0, _debug.deprecate)('isSourceDestroyed is deprecated, use the isDestroyed() API to check the object destruction state directly instead', false, {\n id: 'meta-destruction-apis',\n until: '3.25.0'\n }));\n return (0, _runtime.isDestroyed)(this.source);\n }\n\n setInitializing() {\n this._isInit = true;\n }\n\n unsetInitializing() {\n this._isInit = false;\n }\n\n isInitializing() {\n return this._isInit;\n }\n\n isPrototypeMeta(obj) {\n return this.proto === this.source && this.source === obj;\n }\n\n _getOrCreateOwnMap(key) {\n return this[key] || (this[key] = Object.create(null));\n }\n\n _getOrCreateOwnSet(key) {\n return this[key] || (this[key] = new Set());\n }\n\n _findInheritedMap(key, subkey) {\n var pointer = this;\n\n while (pointer !== null) {\n var map = pointer[key];\n\n if (map !== undefined) {\n var value = map.get(subkey);\n\n if (value !== undefined) {\n return value;\n }\n }\n\n pointer = pointer.parent;\n }\n }\n\n _hasInInheritedSet(key, value) {\n var pointer = this;\n\n while (pointer !== null) {\n var set = pointer[key];\n\n if (set !== undefined && set.has(value)) {\n return true;\n }\n\n pointer = pointer.parent;\n }\n\n return false;\n }\n\n valueFor(key) {\n var values = this._values;\n return values !== undefined ? values[key] : undefined;\n }\n\n setValueFor(key, value) {\n var values = this._getOrCreateOwnMap('_values');\n\n values[key] = value;\n }\n\n revisionFor(key) {\n var revisions = this._revisions;\n return revisions !== undefined ? revisions[key] : undefined;\n }\n\n setRevisionFor(key, revision) {\n var revisions = this._getOrCreateOwnMap('_revisions');\n\n revisions[key] = revision;\n }\n\n writableLazyChainsFor(key) {\n if (true\n /* DEBUG */\n ) {\n counters.writableLazyChainsCalls++;\n }\n\n var lazyChains = this._getOrCreateOwnMap('_lazyChains');\n\n var chains = lazyChains[key];\n\n if (chains === undefined) {\n chains = lazyChains[key] = [];\n }\n\n return chains;\n }\n\n readableLazyChainsFor(key) {\n if (true\n /* DEBUG */\n ) {\n counters.readableLazyChainsCalls++;\n }\n\n var lazyChains = this._lazyChains;\n\n if (lazyChains !== undefined) {\n return lazyChains[key];\n }\n\n return undefined;\n }\n\n addMixin(mixin) {\n (true && !(!(0, _runtime.isDestroyed)(this.source)) && (0, _debug.assert)((0, _runtime.isDestroyed)(this.source) ? `Cannot add mixins of \\`${(0, _utils.toString)(mixin)}\\` on \\`${(0, _utils.toString)(this.source)}\\` call addMixin after it has been destroyed.` : '', !(0, _runtime.isDestroyed)(this.source)));\n\n var set = this._getOrCreateOwnSet('_mixins');\n\n set.add(mixin);\n }\n\n hasMixin(mixin) {\n return this._hasInInheritedSet('_mixins', mixin);\n }\n\n forEachMixins(fn) {\n var pointer = this;\n var seen;\n\n while (pointer !== null) {\n var set = pointer._mixins;\n\n if (set !== undefined) {\n seen = seen === undefined ? new Set() : seen; // TODO cleanup typing here\n\n set.forEach(mixin => {\n if (!seen.has(mixin)) {\n seen.add(mixin);\n fn(mixin);\n }\n });\n }\n\n pointer = pointer.parent;\n }\n }\n\n writeDescriptors(subkey, value) {\n (true && !(!(0, _runtime.isDestroyed)(this.source)) && (0, _debug.assert)((0, _runtime.isDestroyed)(this.source) ? `Cannot update descriptors for \\`${subkey}\\` on \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !(0, _runtime.isDestroyed)(this.source)));\n var map = this._descriptors || (this._descriptors = new Map());\n map.set(subkey, value);\n }\n\n peekDescriptors(subkey) {\n var possibleDesc = this._findInheritedMap('_descriptors', subkey);\n\n return possibleDesc === UNDEFINED ? undefined : possibleDesc;\n }\n\n removeDescriptors(subkey) {\n this.writeDescriptors(subkey, UNDEFINED);\n }\n\n forEachDescriptors(fn) {\n var pointer = this;\n var seen;\n\n while (pointer !== null) {\n var map = pointer._descriptors;\n\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\n if (value !== UNDEFINED) {\n fn(key, value);\n }\n }\n });\n }\n\n pointer = pointer.parent;\n }\n }\n\n addToListeners(eventName, target, method, once, sync) {\n if (true\n /* DEBUG */\n ) {\n counters.addToListenersCalls++;\n }\n\n this.pushListener(eventName, target, method, once ? 1\n /* ONCE */\n : 0\n /* ADD */\n , sync);\n }\n\n removeFromListeners(eventName, target, method) {\n if (true\n /* DEBUG */\n ) {\n counters.removeFromListenersCalls++;\n }\n\n this.pushListener(eventName, target, method, 2\n /* REMOVE */\n );\n }\n\n pushListener(event, target, method, kind, sync = false) {\n var listeners = this.writableListeners();\n var i = indexOfListener(listeners, event, target, method); // remove if found listener was inherited\n\n if (i !== -1 && i < this._inheritedEnd) {\n listeners.splice(i, 1);\n this._inheritedEnd--;\n i = -1;\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\n\n if (i === -1) {\n (true && !(!(this.isPrototypeMeta(this.source) && typeof method === 'function')) && (0, _debug.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 (true && !(!(!this.isPrototypeMeta(this.source) && typeof method === 'function' && kind === 2\n /* REMOVE */\n )) && (0, _debug.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)));\n listeners.push({\n event,\n target,\n method,\n kind,\n sync\n });\n } else {\n var listener = listeners[i]; // 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\n if (kind === 2\n /* REMOVE */\n && listener.kind !== 2\n /* REMOVE */\n ) {\n listeners.splice(i, 1);\n } else {\n (true && !(!(listener.kind === 0\n /* ADD */\n && kind === 0\n /* ADD */\n && listener.sync !== sync)) && (0, _debug.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 ${method}.`, !(listener.kind === 0 && kind === 0 && listener.sync !== sync))); // update own listener\n\n listener.kind = kind;\n listener.sync = sync;\n }\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 (true\n /* DEBUG */\n ) {\n counters.reopensAfterFlatten++;\n }\n\n currentListenerVersion++;\n } // Inherited end has not been set, then we have never created our own\n // listeners, but may have cached the parent's\n\n\n if (this._inheritedEnd === -1) {\n this._inheritedEnd = 0;\n this._listeners = [];\n }\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\n\n flattenedListeners() {\n if (true\n /* DEBUG */\n ) {\n counters.flattenedListenersCalls++;\n }\n\n if (this._flattenedVersion < currentListenerVersion) {\n if (true\n /* DEBUG */\n ) {\n counters.listenersFlattened++;\n }\n\n var parent = this.parent;\n\n if (parent !== null) {\n // compute\n var parentListeners = parent.flattenedListeners();\n\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 (true\n /* DEBUG */\n ) {\n counters.parentListenersUsed++;\n }\n\n this._listeners = parentListeners;\n } else {\n var listeners = this._listeners;\n\n if (this._inheritedEnd > 0) {\n listeners.splice(0, this._inheritedEnd);\n this._inheritedEnd = 0;\n }\n\n for (var i = 0; i < parentListeners.length; i++) {\n var listener = parentListeners[i];\n var index = indexOfListener(listeners, listener.event, listener.target, listener.method);\n\n if (index === -1) {\n if (true\n /* DEBUG */\n ) {\n counters.listenersInherited++;\n }\n\n listeners.unshift(listener);\n this._inheritedEnd++;\n }\n }\n }\n }\n }\n\n this._flattenedVersion = currentListenerVersion;\n }\n\n return this._listeners;\n }\n\n matchingListeners(eventName) {\n var listeners = this.flattenedListeners();\n var result;\n\n if (true\n /* DEBUG */\n ) {\n counters.matchingListenersCalls++;\n }\n\n if (listeners !== undefined) {\n for (var index = 0; index < listeners.length; index++) {\n var listener = listeners[index]; // REMOVE listeners are placeholders that tell us not to\n // inherit, so they never match. Only ADD and ONCE can match.\n\n if (listener.event === eventName && (listener.kind === 0\n /* ADD */\n || listener.kind === 1\n /* ONCE */\n )) {\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\n result.push(listener.target, listener.method, listener.kind === 1\n /* ONCE */\n );\n }\n }\n }\n\n return result;\n }\n\n observerEvents() {\n var listeners = this.flattenedListeners();\n var result;\n\n if (true\n /* DEBUG */\n ) {\n counters.observerEventsCalls++;\n }\n\n if (listeners !== undefined) {\n for (var index = 0; index < listeners.length; index++) {\n var listener = listeners[index]; // REMOVE listeners are placeholders that tell us not to\n // inherit, so they never match. Only ADD and ONCE can match.\n\n if ((listener.kind === 0\n /* ADD */\n || listener.kind === 1\n /* ONCE */\n ) && 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\n result.push(listener);\n }\n }\n }\n\n return result;\n }\n\n }\n\n _exports.Meta = Meta;\n var getPrototypeOf = Object.getPrototypeOf;\n var metaStore = new WeakMap();\n\n function setMeta(obj, meta) {\n (true && !(obj !== null) && (0, _debug.assert)('Cannot call `setMeta` on null', obj !== null));\n (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `setMeta` on undefined', obj !== undefined));\n (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`setMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n\n if (true\n /* DEBUG */\n ) {\n counters.setCalls++;\n }\n\n metaStore.set(obj, meta);\n }\n\n function peekMeta(obj) {\n (true && !(obj !== null) && (0, _debug.assert)('Cannot call `peekMeta` on null', obj !== null));\n (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `peekMeta` on undefined', obj !== undefined));\n (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`peekMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n\n if (true\n /* DEBUG */\n ) {\n counters.peekCalls++;\n }\n\n var meta = metaStore.get(obj);\n\n if (meta !== undefined) {\n return meta;\n }\n\n var pointer = getPrototypeOf(obj);\n\n while (pointer !== null) {\n if (true\n /* DEBUG */\n ) {\n counters.peekPrototypeWalks++;\n }\n\n meta = metaStore.get(pointer);\n\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\n return meta;\n }\n\n pointer = getPrototypeOf(pointer);\n }\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 */\n\n\n var meta = function meta(obj) {\n (true && !(obj !== null) && (0, _debug.assert)('Cannot call `meta` on null', obj !== null));\n (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `meta` on undefined', obj !== undefined));\n (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`meta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n\n if (true\n /* DEBUG */\n ) {\n counters.metaCalls++;\n }\n\n var maybeMeta = peekMeta(obj); // remove this code, in-favor of explicit parent\n\n if (maybeMeta !== null && maybeMeta.source === obj) {\n return maybeMeta;\n }\n\n var newMeta = new Meta(obj);\n setMeta(obj, newMeta);\n return newMeta;\n };\n\n _exports.meta = meta;\n\n if (true\n /* DEBUG */\n ) {\n meta._counters = counters;\n }\n\n function indexOfListener(listeners, event, target, method) {\n for (var i = listeners.length - 1; i >= 0; i--) {\n var listener = listeners[i];\n\n if (listener.event === event && listener.target === target && listener.method === method) {\n return i;\n }\n }\n\n return -1;\n }\n});","define(\"@ember/-internals/metal/index\", [\"exports\", \"@ember/-internals/meta\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/environment\", \"@ember/runloop\", \"@glimmer/runtime\", \"@glimmer/validator\", \"@ember/polyfills\", \"@ember/error\", \"ember/version\", \"@ember/deprecated-features\", \"@ember/-internals/owner\"], function (_exports, _meta2, _utils, _debug, _environment, _runloop, _runtime, _validator, _polyfills, _error, _version, _deprecatedFeatures, _owner) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.computed = computed;\n _exports.autoComputed = autoComputed;\n _exports.isComputed = isComputed;\n _exports.getCachedValueFor = getCachedValueFor;\n _exports.alias = alias;\n _exports.deprecateProperty = deprecateProperty;\n _exports._getPath = _getPath;\n _exports.get = get;\n _exports.getWithDefault = getWithDefault;\n _exports._getProp = _getProp;\n _exports.set = set;\n _exports.trySet = trySet;\n _exports.objectAt = objectAt;\n _exports.replace = replace;\n _exports.replaceInNativeArray = replaceInNativeArray;\n _exports.addArrayObserver = addArrayObserver;\n _exports.removeArrayObserver = removeArrayObserver;\n _exports.arrayContentWillChange = arrayContentWillChange;\n _exports.arrayContentDidChange = arrayContentDidChange;\n _exports.eachProxyArrayWillChange = eachProxyArrayWillChange;\n _exports.eachProxyArrayDidChange = eachProxyArrayDidChange;\n _exports.addListener = addListener;\n _exports.hasListeners = hasListeners;\n _exports.on = on;\n _exports.removeListener = removeListener;\n _exports.sendEvent = sendEvent;\n _exports.isNone = isNone;\n _exports.isEmpty = isEmpty;\n _exports.isBlank = isBlank;\n _exports.isPresent = isPresent;\n _exports.beginPropertyChanges = beginPropertyChanges;\n _exports.changeProperties = changeProperties;\n _exports.endPropertyChanges = endPropertyChanges;\n _exports.notifyPropertyChange = notifyPropertyChange;\n _exports.defineProperty = defineProperty;\n _exports.isElementDescriptor = isElementDescriptor;\n _exports.nativeDescDecorator = nativeDescDecorator;\n _exports.descriptorForDecorator = descriptorForDecorator;\n _exports.descriptorForProperty = descriptorForProperty;\n _exports.isClassicDecorator = isClassicDecorator;\n _exports.setClassicDecorator = setClassicDecorator;\n _exports.getProperties = getProperties;\n _exports.setProperties = setProperties;\n _exports.expandProperties = expandProperties;\n _exports.addObserver = addObserver;\n _exports.activateObserver = activateObserver;\n _exports.removeObserver = removeObserver;\n _exports.flushAsyncObservers = flushAsyncObservers;\n _exports.mixin = mixin;\n _exports.observer = observer;\n _exports.applyMixin = applyMixin;\n _exports.inject = inject;\n _exports.tagForProperty = tagForProperty;\n _exports.tagForObject = tagForObject;\n _exports.markObjectAsDirty = markObjectAsDirty;\n _exports.tracked = tracked;\n _exports.addNamespace = addNamespace;\n _exports.classToString = classToString;\n _exports.findNamespace = findNamespace;\n _exports.findNamespaces = findNamespaces;\n _exports.processNamespace = processNamespace;\n _exports.processAllNamespaces = processAllNamespaces;\n _exports.removeNamespace = removeNamespace;\n _exports.isNamespaceSearchDisabled = isSearchDisabled;\n _exports.setNamespaceSearchDisabled = setSearchDisabled;\n Object.defineProperty(_exports, \"createCache\", {\n enumerable: true,\n get: function () {\n return _validator.createCache;\n }\n });\n Object.defineProperty(_exports, \"getValue\", {\n enumerable: true,\n get: function () {\n return _validator.getValue;\n }\n });\n Object.defineProperty(_exports, \"isConst\", {\n enumerable: true,\n get: function () {\n return _validator.isConst;\n }\n });\n _exports.NAMESPACES_BY_ID = _exports.NAMESPACES = _exports.CUSTOM_TAG_FOR = _exports.DEBUG_INJECTION_FUNCTIONS = _exports.aliasMethod = _exports.Mixin = _exports.SYNC_OBSERVERS = _exports.ASYNC_OBSERVERS = _exports.Libraries = _exports.libraries = _exports.PROPERTY_DID_CHANGE = _exports.PROXY_CONTENT = _exports.ComputedProperty = _exports._globalsComputed = void 0;\n\n /**\n @module @ember/object\n */\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 /**\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 */\n function addListener(obj, eventName, target, method, once, sync = true) {\n (true && !(Boolean(obj) && Boolean(eventName)) && (0, _debug.assert)('You must pass at least an object and event name to addListener', Boolean(obj) && Boolean(eventName)));\n\n if (!method && 'function' === typeof target) {\n method = target;\n target = null;\n }\n\n (0, _meta2.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 */\n\n\n function removeListener(obj, eventName, targetOrFunction, functionOrName) {\n (true && !(Boolean(obj) && Boolean(eventName) && (typeof targetOrFunction === 'function' || typeof targetOrFunction === 'object' && Boolean(functionOrName))) && (0, _debug.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 var target, method;\n\n if (typeof targetOrFunction === 'object') {\n target = targetOrFunction;\n method = functionOrName;\n } else {\n target = null;\n method = targetOrFunction;\n }\n\n var m = (0, _meta2.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 */\n\n\n function sendEvent(obj, eventName, params, actions, _meta) {\n if (actions === undefined) {\n var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n actions = meta$$1 !== null ? meta$$1.matchingListeners(eventName) : undefined;\n }\n\n if (actions === undefined || actions.length === 0) {\n return false;\n }\n\n for (var i = actions.length - 3; i >= 0; i -= 3) {\n // looping in reverse for once listeners\n var target = actions[i];\n var method = actions[i + 1];\n var once = actions[i + 2];\n\n if (!method) {\n continue;\n }\n\n if (once) {\n removeListener(obj, eventName, target, method);\n }\n\n if (!target) {\n target = obj;\n }\n\n var type = typeof method;\n\n if (type === 'string' || type === 'symbol') {\n method = target[method];\n }\n\n method.apply(target, params);\n }\n\n return true;\n }\n /**\n @private\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 */\n\n\n function hasListeners(obj, eventName) {\n var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n if (meta$$1 === null) {\n return false;\n }\n\n var 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 */\n\n\n function on(...args) {\n var func = args.pop();\n var events = args;\n (true && !(typeof func === 'function') && (0, _debug.assert)('on expects function as last argument', typeof func === 'function'));\n (true && !(events.length > 0 && events.every(p => typeof p === 'string' && p.length > 0)) && (0, _debug.assert)('on called without valid event names', events.length > 0 && events.every(p => typeof p === 'string' && p.length > 0)));\n (0, _utils.setListeners)(func, events);\n return func;\n }\n\n var AFTER_OBSERVERS = ':change';\n\n function changeEvent(keyName) {\n return keyName + AFTER_OBSERVERS;\n }\n\n var SYNC_DEFAULT = !_environment.ENV._DEFAULT_ASYNC_OBSERVERS;\n var SYNC_OBSERVERS = new Map();\n _exports.SYNC_OBSERVERS = SYNC_OBSERVERS;\n var ASYNC_OBSERVERS = new Map();\n /**\n @module @ember/object\n */\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 */\n\n _exports.ASYNC_OBSERVERS = ASYNC_OBSERVERS;\n\n function addObserver(obj, path, target, method, sync = SYNC_DEFAULT) {\n var eventName = changeEvent(path);\n addListener(obj, eventName, target, method, false, sync);\n var meta$$1 = (0, _meta2.peekMeta)(obj);\n\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 */\n\n\n function removeObserver(obj, path, target, method, sync = SYNC_DEFAULT) {\n var eventName = changeEvent(path);\n var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n if (meta$$1 === null || !(meta$$1.isPrototypeMeta(obj) || meta$$1.isInitializing())) {\n deactivateObserver(obj, eventName, sync);\n }\n\n removeListener(obj, eventName, target, method);\n }\n\n function getOrCreateActiveObserversFor(target, sync) {\n var observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n\n if (!observerMap.has(target)) {\n observerMap.set(target, new Map());\n (0, _runtime.registerDestructor)(target, () => destroyObservers(target), true);\n }\n\n return observerMap.get(target);\n }\n\n function activateObserver(target, eventName, sync = false) {\n var activeObservers = getOrCreateActiveObserversFor(target, sync);\n\n if (activeObservers.has(eventName)) {\n activeObservers.get(eventName).count++;\n } else {\n var [path] = eventName.split(':');\n var tag = getChainTagsForKey(target, path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n activeObservers.set(eventName, {\n count: 1,\n path,\n tag,\n lastRevision: (0, _validator.valueForTag)(tag),\n suspended: false\n });\n }\n }\n\n var DEACTIVATE_SUSPENDED = false;\n var SCHEDULED_DEACTIVATE = [];\n\n function deactivateObserver(target, eventName, sync = false) {\n if (DEACTIVATE_SUSPENDED === true) {\n SCHEDULED_DEACTIVATE.push([target, eventName, sync]);\n return;\n }\n\n var observerMap = sync === true ? SYNC_OBSERVERS : ASYNC_OBSERVERS;\n var activeObservers = observerMap.get(target);\n\n if (activeObservers !== undefined) {\n var _observer = activeObservers.get(eventName);\n\n _observer.count--;\n\n if (_observer.count === 0) {\n activeObservers.delete(eventName);\n\n if (activeObservers.size === 0) {\n observerMap.delete(target);\n }\n }\n }\n }\n\n function suspendedObserverDeactivation() {\n DEACTIVATE_SUSPENDED = true;\n }\n\n function resumeObserverDeactivation() {\n DEACTIVATE_SUSPENDED = false;\n\n for (var [target, eventName, sync] of SCHEDULED_DEACTIVATE) {\n deactivateObserver(target, eventName, sync);\n }\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 */\n\n\n function revalidateObservers(target) {\n if (ASYNC_OBSERVERS.has(target)) {\n ASYNC_OBSERVERS.get(target).forEach(observer => {\n observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n });\n }\n\n if (SYNC_OBSERVERS.has(target)) {\n SYNC_OBSERVERS.get(target).forEach(observer => {\n observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n });\n }\n }\n\n var lastKnownRevision = 0;\n\n function flushAsyncObservers(shouldSchedule = true) {\n var currentRevision = (0, _validator.valueForTag)(_validator.CURRENT_TAG);\n\n if (lastKnownRevision === currentRevision) {\n return;\n }\n\n lastKnownRevision = currentRevision;\n ASYNC_OBSERVERS.forEach((activeObservers, target) => {\n var meta$$1 = (0, _meta2.peekMeta)(target);\n activeObservers.forEach((observer, eventName) => {\n if (!(0, _validator.validateTag)(observer.tag, observer.lastRevision)) {\n var sendObserver = () => {\n try {\n sendEvent(target, eventName, [target, observer.path], undefined, meta$$1);\n } finally {\n observer.tag = getChainTagsForKey(target, observer.path, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n }\n };\n\n if (shouldSchedule) {\n (0, _runloop.schedule)('actions', sendObserver);\n } else {\n sendObserver();\n }\n }\n });\n });\n }\n\n function 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 var meta$$1 = (0, _meta2.peekMeta)(target);\n activeObservers.forEach((observer, eventName) => {\n if (!observer.suspended && !(0, _validator.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, (0, _validator.tagMetaFor)(target), (0, _meta2.peekMeta)(target));\n observer.lastRevision = (0, _validator.valueForTag)(observer.tag);\n observer.suspended = false;\n }\n }\n });\n });\n }\n\n function setObserverSuspended(target, property, suspended) {\n var activeObservers = SYNC_OBSERVERS.get(target);\n\n if (!activeObservers) {\n return;\n }\n\n var observer = activeObservers.get(changeEvent(property));\n\n if (observer) {\n observer.suspended = suspended;\n }\n }\n\n function 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 var CUSTOM_TAG_FOR = (0, _utils.enumerableSymbol)('CUSTOM_TAG_FOR'); // This is exported for `@tracked`, but should otherwise be avoided. Use `tagForObject`.\n\n _exports.CUSTOM_TAG_FOR = CUSTOM_TAG_FOR;\n var SELF_TAG = (0, _utils.symbol)('SELF_TAG');\n\n function tagForProperty(obj, propertyKey, addMandatorySetter = false, meta$$1) {\n if (typeof obj[CUSTOM_TAG_FOR] === 'function') {\n return obj[CUSTOM_TAG_FOR](propertyKey, addMandatorySetter);\n }\n\n var tag = (0, _validator.tagFor)(obj, propertyKey, meta$$1);\n\n if (true\n /* DEBUG */\n && addMandatorySetter) {\n (0, _utils.setupMandatorySetter)(tag, obj, propertyKey);\n }\n\n return tag;\n }\n\n function tagForObject(obj) {\n if ((0, _utils.isObject)(obj)) {\n if (true\n /* DEBUG */\n ) {\n (true && !(!(0, _runtime.isDestroyed)(obj)) && (0, _debug.assert)((0, _runtime.isDestroyed)(obj) ? `Cannot create a new tag for \\`${(0, _utils.toString)(obj)}\\` after it has been destroyed.` : '', !(0, _runtime.isDestroyed)(obj)));\n }\n\n return (0, _validator.tagFor)(obj, SELF_TAG);\n }\n\n return _validator.CONSTANT_TAG;\n }\n\n function markObjectAsDirty(obj, propertyKey) {\n (0, _validator.dirtyTagFor)(obj, propertyKey);\n (0, _validator.dirtyTagFor)(obj, SELF_TAG);\n }\n /**\n @module ember\n @private\n */\n\n\n var PROPERTY_DID_CHANGE = (0, _utils.enumerableSymbol)('PROPERTY_DID_CHANGE');\n _exports.PROPERTY_DID_CHANGE = PROPERTY_DID_CHANGE;\n var 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 */\n\n function notifyPropertyChange(obj, keyName, _meta, value) {\n var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n\n if (meta$$1 !== null && (meta$$1.isInitializing() || meta$$1.isPrototypeMeta(obj))) {\n return;\n }\n\n markObjectAsDirty(obj, keyName);\n\n if (deferred <= 0) {\n flushSyncObservers();\n }\n\n if (PROPERTY_DID_CHANGE in obj) {\n // we need to check the arguments length here; there's a check in `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 */\n\n\n function beginPropertyChanges() {\n deferred++;\n suspendedObserverDeactivation();\n }\n /**\n @method endPropertyChanges\n @private\n */\n\n\n function endPropertyChanges() {\n deferred--;\n\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 */\n\n\n function changeProperties(callback) {\n beginPropertyChanges();\n\n try {\n callback();\n } finally {\n endPropertyChanges();\n }\n }\n\n function 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\n if (addAmt === undefined) {\n addAmt = -1;\n }\n }\n\n sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n return array;\n }\n\n function 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\n if (addAmt === undefined) {\n addAmt = -1;\n }\n }\n\n var meta$$1 = (0, _meta2.peekMeta)(array);\n\n if (notify) {\n if (addAmt < 0 || removeAmt < 0 || addAmt - removeAmt !== 0) {\n notifyPropertyChange(array, 'length', meta$$1);\n }\n\n notifyPropertyChange(array, '[]', meta$$1);\n }\n\n sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n\n if (meta$$1 !== null) {\n var length = array.length;\n var addedAmount = addAmt === -1 ? 0 : addAmt;\n var removedAmount = removeAmt === -1 ? 0 : removeAmt;\n var delta = addedAmount - removedAmount;\n var previousLength = length - delta;\n var normalStartIdx = startIdx < 0 ? previousLength + startIdx : startIdx;\n\n if (meta$$1.revisionFor('firstObject') !== undefined && normalStartIdx === 0) {\n notifyPropertyChange(array, 'firstObject', meta$$1);\n }\n\n if (meta$$1.revisionFor('lastObject') !== undefined) {\n var previousLastIndex = previousLength - 1;\n var lastAffectedIndex = normalStartIdx + removedAmount;\n\n if (previousLastIndex < lastAffectedIndex) {\n notifyPropertyChange(array, 'lastObject', meta$$1);\n }\n }\n }\n\n return array;\n }\n\n var EMPTY_ARRAY = Object.freeze([]);\n\n function objectAt(array, index) {\n if (Array.isArray(array)) {\n return array[index];\n } else {\n return array.objectAt(index);\n }\n }\n\n function replace(array, start, deleteCount, items = EMPTY_ARRAY) {\n if (Array.isArray(array)) {\n replaceInNativeArray(array, start, deleteCount, items);\n } else {\n array.replace(start, deleteCount, items);\n }\n }\n\n var CHUNK_SIZE = 60000; // 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.\n\n function replaceInNativeArray(array, start, deleteCount, items) {\n arrayContentWillChange(array, start, deleteCount, items.length);\n\n if (items.length <= CHUNK_SIZE) {\n array.splice(start, deleteCount, ...items);\n } else {\n array.splice(start, deleteCount);\n\n for (var i = 0; i < items.length; i += CHUNK_SIZE) {\n var chunk = items.slice(i, i + CHUNK_SIZE);\n array.splice(start + i, 0, ...chunk);\n }\n }\n\n arrayContentDidChange(array, start, deleteCount, items.length);\n }\n\n function arrayObserversHelper(obj, target, opts, operation, notify) {\n var willChange = opts && opts.willChange || 'arrayWillChange';\n var didChange = opts && opts.didChange || 'arrayDidChange';\n var hasObservers = obj.hasArrayObservers;\n operation(obj, '@array:before', target, willChange);\n operation(obj, '@array:change', target, didChange);\n\n if (hasObservers === notify) {\n notifyPropertyChange(obj, 'hasArrayObservers');\n }\n\n return obj;\n }\n\n function addArrayObserver(array, target, opts) {\n return arrayObserversHelper(array, target, opts, addListener, false);\n }\n\n function removeArrayObserver(array, target, opts) {\n return arrayObserversHelper(array, target, opts, removeListener, true);\n }\n\n var CHAIN_PASS_THROUGH = new _polyfills._WeakSet();\n\n function finishLazyChains(meta$$1, key, value) {\n var lazyTags = meta$$1.readableLazyChainsFor(key);\n\n if (lazyTags === undefined) {\n return;\n }\n\n if ((0, _utils.isObject)(value)) {\n for (var i = 0; i < lazyTags.length; i++) {\n var [tag, deps] = lazyTags[i];\n (0, _validator.updateTag)(tag, getChainTagsForKey(value, deps, (0, _validator.tagMetaFor)(value), (0, _meta2.peekMeta)(value)));\n }\n }\n\n lazyTags.length = 0;\n }\n\n function getChainTagsForKeys(obj, keys, tagMeta, meta$$1) {\n var tags = [];\n\n for (var i = 0; i < keys.length; i++) {\n getChainTags(tags, obj, keys[i], tagMeta, meta$$1);\n }\n\n return (0, _validator.combine)(tags);\n }\n\n function getChainTagsForKey(obj, key, tagMeta, meta$$1) {\n return (0, _validator.combine)(getChainTags([], obj, key, tagMeta, meta$$1));\n }\n\n function getChainTags(chainTags, obj, path, tagMeta, meta$$1) {\n var current = obj;\n var currentTagMeta = tagMeta;\n var currentMeta = meta$$1;\n var pathLength = path.length;\n var segmentEnd = -1; // prevent closures\n\n var segment, descriptor; // eslint-disable-next-line no-constant-condition\n\n while (true) {\n var lastSegmentEnd = segmentEnd + 1;\n segmentEnd = path.indexOf('.', lastSegmentEnd);\n\n if (segmentEnd === -1) {\n segmentEnd = pathLength;\n }\n\n segment = path.slice(lastSegmentEnd, segmentEnd); // If the segment is an @each, we can process it and then break\n\n if (segment === '@each' && segmentEnd !== pathLength) {\n lastSegmentEnd = segmentEnd + 1;\n segmentEnd = path.indexOf('.', lastSegmentEnd); // There should be exactly one segment after an `@each` (i.e. `@each.foo`, not `@each.foo.bar`)\n\n (true && !(segmentEnd === -1) && (0, _debug.deprecate)(`When using @each in a dependent-key or an observer, ` + `you can only chain one property level deep after ` + `the @each. That is, \\`${path.slice(0, segmentEnd)}\\` ` + `is allowed but \\`${path}\\` (which is what you passed) ` + `is not.\\n\\n` + `This was never supported. Currently, the extra segments ` + `are silently ignored, i.e. \\`${path}\\` behaves exactly ` + `the same as \\`${path.slice(0, segmentEnd)}\\`. ` + `In the future, this will throw an error.\\n\\n` + `If the current behavior is acceptable for your use case, ` + `please remove the extraneous segments by changing your ` + `key to \\`${path.slice(0, segmentEnd)}\\`. ` + `Otherwise, please create an intermediary computed property ` + `or switch to using tracked properties.`, segmentEnd === -1, {\n until: '3.17.0',\n id: 'ember-metal.computed-deep-each'\n }));\n var arrLength = current.length;\n\n if (typeof arrLength !== 'number' || // 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\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 } // Push the tags for each item's property\n\n\n for (var i = 0; i < arrLength; i++) {\n var item = objectAt(current, i);\n\n if (item) {\n (true && !(typeof item === 'object') && (0, _debug.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 }\n } // Push the tag for the array length itself\n\n\n chainTags.push(tagForProperty(current, '[]', true, currentTagMeta));\n break;\n }\n\n var propertyTag = tagForProperty(current, segment, true, currentTagMeta);\n descriptor = currentMeta !== null ? currentMeta.peekDescriptors(segment) : undefined;\n chainTags.push(propertyTag); // 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\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 // tslint:disable-next-line: no-unused-expression\n current[segment];\n }\n\n break;\n }\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 var instanceMeta = currentMeta.source === current ? currentMeta : (0, _meta2.meta)(current);\n var lastRevision = instanceMeta.revisionFor(segment);\n\n if (lastRevision !== undefined && (0, _validator.validateTag)(propertyTag, lastRevision)) {\n current = instanceMeta.valueFor(segment);\n } else {\n // use metaFor here to ensure we have the meta for the instance\n var lazyChains = instanceMeta.writableLazyChainsFor(segment);\n var rest = path.substr(segmentEnd + 1);\n var placeholderTag = (0, _validator.createUpdatableTag)();\n lazyChains.push([placeholderTag, rest]);\n chainTags.push(placeholderTag);\n break;\n }\n }\n\n if (!(0, _utils.isObject)(current)) {\n // we've hit the end of the chain for now, break out\n break;\n }\n\n currentTagMeta = (0, _validator.tagMetaFor)(current);\n currentMeta = (0, _meta2.peekMeta)(current);\n }\n\n return chainTags;\n }\n\n function isElementDescriptor(args) {\n var [maybeTarget, maybeKey, maybeDesc] = args;\n return (// Ensure we have the right number of args\n args.length === 3 && ( // Make sure the target is a class or object (prototype)\n typeof maybeTarget === 'function' || typeof maybeTarget === 'object' && maybeTarget !== null) && // Make sure the key is a string\n typeof maybeKey === 'string' && ( // Make sure the descriptor is the right shape\n typeof maybeDesc === 'object' && maybeDesc !== null || maybeDesc === undefined)\n );\n }\n\n function nativeDescDecorator(propertyDesc) {\n var decorator = function () {\n return propertyDesc;\n };\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 */\n\n\n class ComputedDescriptor {\n constructor() {\n this.enumerable = true;\n this.configurable = true;\n this._dependentKeys = undefined;\n this._meta = undefined;\n }\n\n setup(_obj, keyName, _propertyDesc, meta$$1) {\n meta$$1.writeDescriptors(keyName, this);\n }\n\n teardown(_obj, keyName, meta$$1) {\n meta$$1.removeDescriptors(keyName);\n }\n\n }\n\n function DESCRIPTOR_GETTER_FUNCTION(name, descriptor) {\n return function CPGETTER_FUNCTION() {\n return descriptor.get(this, name);\n };\n }\n\n function DESCRIPTOR_SETTER_FUNCTION(name, descriptor) {\n var set = function CPSETTER_FUNCTION(value) {\n return descriptor.set(this, name, value);\n };\n\n COMPUTED_SETTERS.add(set);\n return set;\n }\n\n var COMPUTED_SETTERS = new _polyfills._WeakSet();\n\n function makeComputedDecorator(desc, DecoratorClass) {\n var decorator = function COMPUTED_DECORATOR(target, key, propertyDesc, maybeMeta, isClassicDecorator) {\n (true && !(isClassicDecorator || !propertyDesc || !propertyDesc.get || propertyDesc.get.toString().indexOf('CPGETTER_FUNCTION') === -1) && (0, _debug.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 || propertyDesc.get.toString().indexOf('CPGETTER_FUNCTION') === -1));\n var meta$$1 = arguments.length === 3 ? (0, _meta2.meta)(target) : maybeMeta;\n desc.setup(target, key, propertyDesc, meta$$1);\n var 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\n setClassicDecorator(decorator, desc);\n Object.setPrototypeOf(decorator, DecoratorClass.prototype);\n return decorator;\n } /////////////\n\n\n var 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 */\n\n function descriptorForProperty(obj, keyName, _meta) {\n (true && !(obj !== null) && (0, _debug.assert)('Cannot call `descriptorForProperty` on null', obj !== null));\n (true && !(obj !== undefined) && (0, _debug.assert)('Cannot call `descriptorForProperty` on undefined', obj !== undefined));\n (true && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`descriptorForProperty\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function'));\n var meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n\n if (meta$$1 !== null) {\n return meta$$1.peekDescriptors(keyName);\n }\n }\n\n function 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 */\n\n\n function 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 */\n\n\n function setClassicDecorator(dec, value = true) {\n DECORATOR_DESCRIPTOR_MAP.set(dec, value);\n }\n /**\n @module @ember/object\n */\n\n\n var 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 */\n\n function expandProperties(pattern, callback) {\n (true && !(typeof pattern === 'string') && (0, _debug.assert)(`A computed property key must be a string, you passed ${typeof pattern} ${pattern}`, typeof pattern === 'string'));\n (true && !(pattern.indexOf(' ') === -1) && (0, _debug.assert)('Brace expanded properties cannot contain spaces, e.g. \"user.{firstName, lastName}\" should be \"user.{firstName,lastName}\"', pattern.indexOf(' ') === -1)); // regex to look for double open, double close, or unclosed braces\n\n (true && !(pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g) === null) && (0, _debug.assert)(`Brace expanded properties have to be balanced and cannot be nested, pattern: ${pattern}`, pattern.match(/\\{[^}{]*\\{|\\}[^}{]*\\}|\\{[^}]*$/g) === null));\n var start = pattern.indexOf('{');\n\n if (start < 0) {\n callback(pattern.replace(END_WITH_EACH_REGEX, '.[]'));\n } else {\n dive('', pattern, start, callback);\n }\n }\n\n function dive(prefix, pattern, start, callback) {\n var end = pattern.indexOf('}'),\n i = 0,\n newStart,\n arrayLength;\n var tempArr = pattern.substring(start + 1, end).split(',');\n var after = pattern.substring(end + 1);\n prefix = prefix + pattern.substring(0, start);\n arrayLength = tempArr.length;\n\n while (i < arrayLength) {\n newStart = after.indexOf('{');\n\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 @module @ember/object\n */\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 */\n\n\n function defineProperty(obj, keyName, desc, data, _meta) {\n var meta$$1 = _meta === undefined ? (0, _meta2.meta)(obj) : _meta;\n var previousDesc = descriptorForProperty(obj, keyName, meta$$1);\n var wasDescriptor = previousDesc !== undefined;\n\n if (wasDescriptor) {\n previousDesc.teardown(obj, keyName, meta$$1);\n }\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 } // if key is being watched, override chains that\n // were initialized with the prototype\n\n\n if (!meta$$1.isPrototypeMeta(obj)) {\n revalidateObservers(obj);\n }\n }\n\n function defineDecorator(obj, keyName, desc, meta$$1) {\n var propertyDesc;\n\n if (true\n /* DEBUG */\n ) {\n propertyDesc = desc(obj, keyName, undefined, meta$$1, true);\n } else {\n propertyDesc = desc(obj, keyName, undefined, meta$$1);\n }\n\n Object.defineProperty(obj, keyName, propertyDesc); // pass the decorator function forward for backwards compat\n\n return desc;\n }\n\n function 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 (true\n /* DEBUG */\n ) {\n (0, _utils.setWithMandatorySetter)(obj, keyName, value);\n } else {\n obj[keyName] = value;\n }\n }\n\n return value;\n }\n\n var firstDotIndexCache = new _utils.Cache(1000, key => key.indexOf('.'));\n\n function isPath(path) {\n return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;\n }\n /**\n @module @ember/object\n */\n\n\n var PROXY_CONTENT = (0, _utils.symbol)('PROXY_CONTENT');\n _exports.PROXY_CONTENT = PROXY_CONTENT;\n var getPossibleMandatoryProxyValue;\n\n if (true\n /* DEBUG */\n && _utils.HAS_NATIVE_PROXY) {\n getPossibleMandatoryProxyValue = function getPossibleMandatoryProxyValue(obj, keyName) {\n var content = obj[PROXY_CONTENT];\n\n if (content === undefined) {\n return obj[keyName];\n } else {\n /* global Reflect */\n return Reflect.get(content, keyName, obj);\n }\n };\n } // ..........................................................\n // GET AND SET\n //\n // If we are on a platform that supports accessors we can use those.\n // Otherwise simulate accessors by looking up the property directly on the\n // object.\n\n /**\n Gets the value of a property on an object. If the property is computed,\n the function will be invoked. If the property is not defined but the\n object implements the `unknownProperty` method then that will be invoked.\n \n ```javascript\n import { get } from '@ember/object';\n get(obj, \"name\");\n ```\n \n If you plan to run on IE8 and older browsers then you should use this\n method anytime you want to retrieve a property on an object that you don't\n know for sure is private. (Properties beginning with an underscore '_'\n are considered private.)\n \n On all newer browsers, you only need to use this method to retrieve\n properties if the property might not be defined on the object and you want\n to respect the `unknownProperty` handler. Otherwise you can ignore this\n method.\n \n Note that if the object itself is `undefined`, this method will throw\n an error.\n \n @method get\n @for @ember/object\n @static\n @param {Object} obj The object to retrieve from.\n @param {String} keyName The property key to retrieve\n @return {Object} the property value or `null`.\n @public\n */\n\n\n function get(obj, keyName) {\n (true && !(arguments.length === 2) && (0, _debug.assert)(`Get must be called with two arguments; an object and a property key`, arguments.length === 2));\n (true && !(obj !== undefined && obj !== null) && (0, _debug.assert)(`Cannot call get with '${keyName}' on an undefined object.`, obj !== undefined && obj !== null));\n (true && !(typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)) && (0, _debug.assert)(`The key provided to get must be a string or number, you passed ${keyName}`, typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)));\n (true && !(typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0) && (0, _debug.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 }\n\n function _getProp(obj, keyName) {\n var type = typeof obj;\n var isObject$$1 = type === 'object';\n var isFunction = type === 'function';\n var isObjectLike = isObject$$1 || isFunction;\n var value;\n\n if (isObjectLike) {\n if (true\n /* DEBUG */\n && _utils.HAS_NATIVE_PROXY) {\n value = getPossibleMandatoryProxyValue(obj, keyName);\n } else {\n value = obj[keyName];\n }\n\n if (value === undefined && isObject$$1 && !(keyName in obj) && typeof obj.unknownProperty === 'function') {\n if (true\n /* DEBUG */\n ) {\n (0, _validator.deprecateMutationsInAutotrackingTransaction)(() => {\n value = obj.unknownProperty(keyName);\n });\n } else {\n value = obj.unknownProperty(keyName);\n }\n }\n\n if ((0, _validator.isTracking)()) {\n (0, _validator.consumeTag)((0, _validator.tagFor)(obj, keyName));\n\n if (Array.isArray(value) || (0, _utils.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 (0, _validator.consumeTag)((0, _validator.tagFor)(value, '[]'));\n }\n }\n } else {\n value = obj[keyName];\n }\n\n return value;\n }\n\n function _getPath(root, path) {\n var obj = root;\n var parts = typeof path === 'string' ? path.split('.') : path;\n\n for (var i = 0; i < parts.length; i++) {\n if (obj === undefined || obj === null || obj.isDestroyed) {\n return undefined;\n }\n\n obj = _getProp(obj, parts[i]);\n }\n\n return obj;\n }\n /**\n Retrieves the value of a property from an Object, or a default value in the\n case that the property returns `undefined`.\n \n ```javascript\n import { getWithDefault } from '@ember/object';\n getWithDefault(person, 'lastName', 'Doe');\n ```\n \n @method getWithDefault\n @for @ember/object\n @static\n @param {Object} obj The object to retrieve from.\n @param {String} keyName The name of the property to retrieve\n @param {Object} defaultValue The value to return if the property value is undefined\n @return {Object} The property value or the defaultValue.\n @public\n */\n\n\n function getWithDefault(root, key, defaultValue) {\n var value = get(root, key);\n\n if (value === undefined) {\n return defaultValue;\n }\n\n return value;\n }\n\n _getProp('foo', 'a');\n\n _getProp('foo', 1);\n\n _getProp({}, 'a');\n\n _getProp({}, 1);\n\n _getProp({\n unkonwnProperty() {}\n\n }, 'a');\n\n _getProp({\n unkonwnProperty() {}\n\n }, 1);\n\n get({}, 'foo');\n get({}, 'foo.bar');\n var fakeProxy = {};\n (0, _utils.setProxy)(fakeProxy);\n (0, _validator.track)(() => _getProp({}, 'a'));\n (0, _validator.track)(() => _getProp({}, 1));\n (0, _validator.track)(() => _getProp({\n a: []\n }, 'a'));\n (0, _validator.track)(() => _getProp({\n a: fakeProxy\n }, 'a'));\n /**\n @module @ember/object\n */\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 */\n\n function set(obj, keyName, value, tolerant) {\n (true && !(arguments.length === 3 || arguments.length === 4) && (0, _debug.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 (true && !(obj && typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call set with '${keyName}' on an undefined object.`, obj && typeof obj === 'object' || typeof obj === 'function'));\n (true && !(typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)) && (0, _debug.assert)(`The key provided to set must be a string or number, you passed ${keyName}`, typeof keyName === 'string' || typeof keyName === 'number' && !isNaN(keyName)));\n (true && !(typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0) && (0, _debug.assert)(`'this' in paths is not supported`, typeof keyName !== 'string' || keyName.lastIndexOf('this.', 0) !== 0));\n\n if (obj.isDestroyed) {\n (true && !(tolerant) && (0, _debug.assert)(`calling set on destroyed object: ${(0, _utils.toString)(obj)}.${keyName} = ${(0, _utils.toString)(value)}`, tolerant));\n return;\n }\n\n if (isPath(keyName)) {\n return setPath(obj, keyName, value, tolerant);\n }\n\n var descriptor = (0, _utils.lookupDescriptor)(obj, keyName);\n\n if (descriptor !== null && COMPUTED_SETTERS.has(descriptor.set)) {\n obj[keyName] = value;\n return value;\n }\n\n var currentValue;\n\n if (true\n /* DEBUG */\n && _utils.HAS_NATIVE_PROXY) {\n currentValue = getPossibleMandatoryProxyValue(obj, keyName);\n } else {\n currentValue = obj[keyName];\n }\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 (true\n /* DEBUG */\n ) {\n (0, _utils.setWithMandatorySetter)(obj, keyName, value);\n } else {\n obj[keyName] = value;\n }\n\n if (currentValue !== value) {\n notifyPropertyChange(obj, keyName);\n }\n }\n\n return value;\n }\n\n function setPath(root, path, value, tolerant) {\n var parts = path.split('.');\n var keyName = parts.pop();\n (true && !(keyName.trim().length > 0) && (0, _debug.assert)('Property set failed: You passed an empty path', keyName.trim().length > 0));\n\n var newRoot = _getPath(root, parts);\n\n if (newRoot !== null && newRoot !== undefined) {\n return set(newRoot, keyName, value);\n } else if (!tolerant) {\n throw new _error.default(`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 */\n\n\n function trySet(root, path, value) {\n return set(root, path, value, true);\n }\n /**\n @module @ember/object\n */\n\n\n var DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\n\n function 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 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 */\n\n\n class ComputedProperty extends ComputedDescriptor {\n constructor(args) {\n super();\n this._volatile = false;\n this._readOnly = false;\n this._hasConfig = false;\n this._getter = undefined;\n this._setter = undefined;\n var maybeConfig = args[args.length - 1];\n\n if (typeof maybeConfig === 'function' || maybeConfig !== null && typeof maybeConfig === 'object') {\n this._hasConfig = true;\n var config = args.pop();\n\n if (typeof config === 'function') {\n (true && !(!isClassicDecorator(config)) && (0, _debug.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 var objectConfig = config;\n (true && !(typeof objectConfig === 'object' && !Array.isArray(objectConfig)) && (0, _debug.assert)('computed expects a function or an object as last argument.', typeof objectConfig === 'object' && !Array.isArray(objectConfig)));\n (true && !(Object.keys(objectConfig).every(key => key === 'get' || key === 'set')) && (0, _debug.assert)('Config object passed to computed can only contain `get` and `set` keys.', Object.keys(objectConfig).every(key => key === 'get' || key === 'set')));\n (true && !(Boolean(objectConfig.get) || Boolean(objectConfig.set)) && (0, _debug.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\n if (args.length > 0) {\n this._property(...args);\n }\n }\n\n setup(obj, keyName, propertyDesc, meta$$1) {\n super.setup(obj, keyName, propertyDesc, meta$$1);\n (true && !(!(propertyDesc && typeof propertyDesc.value === 'function')) && (0, _debug.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 (true && !(!propertyDesc || !propertyDesc.initializer) && (0, _debug.assert)(`@computed can only be used on empty fields. ${keyName} has an initial value (e.g. \\`${keyName} = someValue\\`)`, !propertyDesc || !propertyDesc.initializer));\n (true && !(!(this._hasConfig && propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function'))) && (0, _debug.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\n if (this._hasConfig === false) {\n (true && !(propertyDesc && (typeof propertyDesc.get === 'function' || typeof propertyDesc.set === 'function')) && (0, _debug.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 var {\n get: _get2,\n set: set$$1\n } = propertyDesc;\n\n if (_get2 !== undefined) {\n this._getter = _get2;\n }\n\n if (set$$1 !== undefined) {\n this._setter = function setterWrapper(_key, value) {\n var ret = set$$1.call(this, value);\n\n if (_get2 !== undefined) {\n return typeof ret === 'undefined' ? _get2.call(this) : ret;\n }\n\n return ret;\n };\n }\n }\n }\n\n _property(...passedArgs) {\n var args = [];\n\n function addArg(property) {\n (true && (0, _debug.warn)(`Dependent keys containing @each only work one level deep. ` + `You used the key \"${property}\" which is invalid. ` + `Please create an intermediary computed property.`, DEEP_EACH_REGEX.test(property) === false, {\n id: 'ember-metal.computed-deep-each'\n }));\n args.push(property);\n }\n\n for (var i = 0; i < passedArgs.length; i++) {\n expandProperties(passedArgs[i], addArg);\n }\n\n this._dependentKeys = args;\n }\n\n get(obj, keyName) {\n if (this._volatile) {\n return this._getter.call(obj, keyName);\n }\n\n var meta$$1 = (0, _meta2.meta)(obj);\n var tagMeta = (0, _validator.tagMetaFor)(obj);\n var propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta);\n var ret;\n var revision = meta$$1.revisionFor(keyName);\n\n if (revision !== undefined && (0, _validator.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 (true && !(this._dependentKeys === undefined || !(0, _runtime.isDestroyed)(obj)) && (0, _debug.assert)(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, this._dependentKeys === undefined || !(0, _runtime.isDestroyed)(obj)));\n var {\n _getter,\n _dependentKeys\n } = this; // Create a tracker that absorbs any trackable actions inside the CP\n\n (0, _validator.untrack)(() => {\n ret = _getter.call(obj, keyName);\n });\n\n if (_dependentKeys !== undefined) {\n (0, _validator.updateTag)(propertyTag, getChainTagsForKeys(obj, _dependentKeys, tagMeta, meta$$1));\n\n if (true\n /* DEBUG */\n ) {\n _validator.ALLOW_CYCLES.set(propertyTag, true);\n }\n }\n\n meta$$1.setValueFor(keyName, ret);\n meta$$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n finishLazyChains(meta$$1, keyName, ret);\n }\n\n (0, _validator.consumeTag)(propertyTag); // 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\n if (Array.isArray(ret)) {\n (0, _validator.consumeTag)((0, _validator.tagFor)(ret, '[]'));\n }\n\n return ret;\n }\n\n set(obj, keyName, value) {\n if (this._readOnly) {\n this._throwReadOnlyError(obj, keyName);\n }\n\n if (!this._setter) {\n return this.clobberSet(obj, keyName, value);\n }\n\n if (this._volatile) {\n return this.volatileSet(obj, keyName, value);\n }\n\n var meta$$1 = (0, _meta2.meta)(obj); // 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\n if ( // ensure that we only run this once, while the component is being instantiated\n meta$$1.isInitializing() && this._dependentKeys !== undefined && this._dependentKeys.length > 0 && // These two properties are set on Ember.Component\n typeof obj[PROPERTY_DID_CHANGE] === 'function' && obj.isComponent) {\n addObserver(obj, keyName, () => {\n obj[PROPERTY_DID_CHANGE](keyName);\n }, undefined, true);\n }\n\n var ret;\n\n try {\n beginPropertyChanges();\n ret = this._set(obj, keyName, value, meta$$1);\n finishLazyChains(meta$$1, keyName, ret);\n var tagMeta = (0, _validator.tagMetaFor)(obj);\n var propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta);\n var {\n _dependentKeys\n } = this;\n\n if (_dependentKeys !== undefined) {\n (0, _validator.updateTag)(propertyTag, getChainTagsForKeys(obj, _dependentKeys, tagMeta, meta$$1));\n\n if (true\n /* DEBUG */\n ) {\n _validator.ALLOW_CYCLES.set(propertyTag, true);\n }\n }\n\n meta$$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n } finally {\n endPropertyChanges();\n }\n\n return ret;\n }\n\n _throwReadOnlyError(obj, keyName) {\n throw new _error.default(`Cannot set read-only property \"${keyName}\" on object: ${(0, _utils.inspect)(obj)}`);\n }\n\n clobberSet(obj, keyName, value) {\n (true && !(false) && (0, _debug.deprecate)(`The ${(0, _utils.toString)(obj)}#${keyName} computed property was just overridden. This removes the computed property and replaces it with a plain value, and has been deprecated. If you want this behavior, consider defining a setter which does it manually.`, false, {\n id: 'computed-property.override',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_computed-property-override'\n }));\n var cachedValue = (0, _meta2.meta)(obj).valueFor(keyName);\n defineProperty(obj, keyName, null, cachedValue);\n set(obj, keyName, value);\n return value;\n }\n\n volatileSet(obj, keyName, value) {\n return this._setter.call(obj, keyName, value);\n }\n\n _set(obj, keyName, value, meta$$1) {\n var hadCachedValue = meta$$1.revisionFor(keyName) !== undefined;\n var cachedValue = meta$$1.valueFor(keyName);\n var ret;\n var {\n _setter\n } = this;\n setObserverSuspended(obj, keyName, true);\n\n try {\n ret = _setter.call(obj, keyName, value, cachedValue);\n } finally {\n setObserverSuspended(obj, keyName, false);\n } // allows setter to return the same value that is cached already\n\n\n if (hadCachedValue && cachedValue === ret) {\n return ret;\n }\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\n\n teardown(obj, keyName, meta$$1) {\n if (!this._volatile) {\n if (meta$$1.revisionFor(keyName) !== undefined) {\n meta$$1.setRevisionFor(keyName, undefined);\n meta$$1.setValueFor(keyName, undefined);\n }\n }\n\n super.teardown(obj, keyName, meta$$1);\n }\n\n }\n\n _exports.ComputedProperty = ComputedProperty;\n\n class AutoComputedProperty extends ComputedProperty {\n get(obj, keyName) {\n if (this._volatile) {\n return this._getter.call(obj, keyName);\n }\n\n var meta$$1 = (0, _meta2.meta)(obj);\n var tagMeta = (0, _validator.tagMetaFor)(obj);\n var propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta);\n var ret;\n var revision = meta$$1.revisionFor(keyName);\n\n if (revision !== undefined && (0, _validator.validateTag)(propertyTag, revision)) {\n ret = meta$$1.valueFor(keyName);\n } else {\n (true && !(!(0, _runtime.isDestroyed)(obj)) && (0, _debug.assert)(`Attempted to access the computed ${obj}.${keyName} on a destroyed object, which is not allowed`, !(0, _runtime.isDestroyed)(obj)));\n var {\n _getter\n } = this; // Create a tracker that absorbs any trackable actions inside the CP\n\n var tag = (0, _validator.track)(() => {\n ret = _getter.call(obj, keyName);\n });\n (0, _validator.updateTag)(propertyTag, tag);\n meta$$1.setValueFor(keyName, ret);\n meta$$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n finishLazyChains(meta$$1, keyName, ret);\n }\n\n (0, _validator.consumeTag)(propertyTag); // 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\n if (Array.isArray(ret)) {\n (0, _validator.consumeTag)((0, _validator.tagFor)(ret, '[]', tagMeta));\n }\n\n return ret;\n }\n\n } // TODO: This class can be svelted once `meta` has been deprecated\n\n\n class 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 var desc = descriptorForDecorator(this);\n (true && !(!(desc._setter && desc._setter !== desc._getter)) && (0, _debug.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 Call on a computed property to set it into non-cached mode. When in this\n mode the computed property will not automatically cache the return value.\n It also does not automatically fire any change events. You must manually notify\n any changes if you want to observe this property.\n Dependency keys have no effect on volatile properties as they are for cache\n invalidation and notification when cached value is invalidated.\n Example:\n ```javascript\n import { computed } from '@ember/object';\n class CallCounter {\n _calledCount = 0;\n @computed().volatile()\n get calledCount() {\n return this._calledCount++;\n }\n }\n ```\n Classic Class Example:\n ```javascript\n import EmberObject, { computed } from '@ember/object';\n let CallCounter = EmberObject.extend({\n _calledCount: 0,\n value: computed(function() {\n return this._calledCount++;\n }).volatile()\n });\n ```\n @method volatile\n @deprecated\n @return {ComputedProperty} this\n @chainable\n @public\n */\n\n\n volatile() {\n (true && !(false) && (0, _debug.deprecate)('Setting a computed property as volatile has been deprecated. Instead, consider using a native getter with native class syntax.', false, {\n id: 'computed-property.volatile',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_computed-property-volatile'\n }));\n descriptorForDecorator(this)._volatile = true;\n return this;\n }\n /**\n Sets the dependent keys on this computed property. Pass any number of\n arguments containing key paths that this computed property depends on.\n Example:\n ```javascript\n import EmberObject, { computed } from '@ember/object';\n class President {\n constructor(firstName, lastName) {\n set(this, 'firstName', firstName);\n set(this, 'lastName', lastName);\n }\n // Tell Ember that this computed property depends on firstName\n // and lastName\n @computed().property('firstName', 'lastName')\n get fullName() {\n return `${this.firstName} ${this.lastName}`;\n }\n }\n let president = new President('Barack', 'Obama');\n president.fullName; // 'Barack Obama'\n ```\n Classic Class Example:\n ```javascript\n import EmberObject, { computed } from '@ember/object';\n let President = EmberObject.extend({\n fullName: computed(function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n // Tell Ember that this computed property depends on firstName\n // and lastName\n }).property('firstName', 'lastName')\n });\n let president = President.create({\n firstName: 'Barack',\n lastName: 'Obama'\n });\n president.get('fullName'); // 'Barack Obama'\n ```\n @method property\n @deprecated\n @param {String} path* zero or more property paths\n @return {ComputedProperty} this\n @chainable\n @public\n */\n\n\n property(...keys) {\n (true && !(false) && (0, _debug.deprecate)('Setting dependency keys using the `.property()` modifier has been deprecated. Pass the dependency keys directly to computed as arguments instead. If you are using `.property()` on a computed property macro, consider refactoring your macro to receive additional dependent keys in its initial declaration.', false, {\n id: 'computed-property.property',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_computed-property-property'\n }));\n\n descriptorForDecorator(this)._property(...keys);\n\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\n\n meta(meta$$1) {\n var prop = descriptorForDecorator(this);\n\n if (arguments.length === 0) {\n return prop._meta || {};\n } else {\n prop._meta = meta$$1;\n return this;\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\n\n get _getter() {\n return descriptorForDecorator(this)._getter;\n } // TODO: Refactor this, this is an internal API only\n\n\n set enumerable(value) {\n descriptorForDecorator(this).enumerable = value;\n }\n\n }\n\n function computed(...args) {\n (true && !(!(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true)) && (0, _debug.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\n if (isElementDescriptor(args)) {\n var decorator = makeComputedDecorator(new ComputedProperty([]), ComputedDecoratorImpl);\n return decorator(args[0], args[1], args[2]);\n }\n\n return makeComputedDecorator(new ComputedProperty(args), ComputedDecoratorImpl);\n }\n\n function autoComputed(...config) {\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 */\n\n\n function isComputed(obj, key) {\n return Boolean(descriptorForProperty(obj, key));\n }\n\n var _globalsComputed = computed.bind(null);\n\n _exports._globalsComputed = _globalsComputed;\n\n function getCachedValueFor(obj, key) {\n var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n if (meta$$1) {\n return meta$$1.valueFor(key);\n }\n }\n\n function alias(altKey) {\n (true && !(!isElementDescriptor(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @alias as a decorator directly, but it requires a `altKey` parameter', !isElementDescriptor(Array.prototype.slice.call(arguments))));\n return makeComputedDecorator(new AliasedProperty(altKey), AliasDecoratorImpl);\n } // TODO: This class can be svelted once `meta` has been deprecated\n\n\n class AliasDecoratorImpl extends Function {\n readOnly() {\n descriptorForDecorator(this).readOnly();\n return this;\n }\n\n oneWay() {\n descriptorForDecorator(this).oneWay();\n return this;\n }\n\n meta(meta$$1) {\n var prop = descriptorForDecorator(this);\n\n if (arguments.length === 0) {\n return prop._meta || {};\n } else {\n prop._meta = meta$$1;\n }\n }\n\n }\n\n class AliasedProperty extends ComputedDescriptor {\n constructor(altKey) {\n super();\n this.altKey = altKey;\n }\n\n setup(obj, keyName, propertyDesc, meta$$1) {\n (true && !(this.altKey !== keyName) && (0, _debug.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\n get(obj, keyName) {\n var ret;\n var meta$$1 = (0, _meta2.meta)(obj);\n var tagMeta = (0, _validator.tagMetaFor)(obj);\n var propertyTag = (0, _validator.tagFor)(obj, keyName, tagMeta); // 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\n (0, _validator.untrack)(() => {\n ret = get(obj, this.altKey);\n });\n var lastRevision = meta$$1.revisionFor(keyName);\n\n if (lastRevision === undefined || !(0, _validator.validateTag)(propertyTag, lastRevision)) {\n (0, _validator.updateTag)(propertyTag, getChainTagsForKey(obj, this.altKey, tagMeta, meta$$1));\n meta$$1.setRevisionFor(keyName, (0, _validator.valueForTag)(propertyTag));\n finishLazyChains(meta$$1, keyName, ret);\n }\n\n (0, _validator.consumeTag)(propertyTag);\n return ret;\n }\n\n set(obj, _keyName, value) {\n return set(obj, this.altKey, value);\n }\n\n readOnly() {\n this.set = AliasedProperty_readOnlySet;\n }\n\n oneWay() {\n this.set = AliasedProperty_oneWaySet;\n }\n\n }\n\n function AliasedProperty_readOnlySet(obj, keyName) {\n // eslint-disable-line no-unused-vars\n throw new _error.default(`Cannot set read-only property '${keyName}' on object: ${(0, _utils.inspect)(obj)}`);\n }\n\n function AliasedProperty_oneWaySet(obj, keyName, value) {\n defineProperty(obj, keyName, null);\n return set(obj, keyName, value);\n }\n /**\n @module ember\n */\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 */\n\n\n function deprecateProperty(object, deprecatedKey, newKey, options) {\n function _deprecate() {\n (true && !(false) && (0, _debug.deprecate)(`Usage of \\`${deprecatedKey}\\` is deprecated, use \\`${newKey}\\` instead.`, false, options));\n }\n\n Object.defineProperty(object, deprecatedKey, {\n configurable: true,\n enumerable: false,\n\n set(value) {\n _deprecate();\n\n set(this, newKey, value);\n },\n\n get() {\n _deprecate();\n\n return get(this, newKey);\n }\n\n });\n }\n\n var EACH_PROXIES = new WeakMap();\n\n function eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n var eachProxy = EACH_PROXIES.get(array);\n\n if (eachProxy !== undefined) {\n eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n }\n }\n\n function eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n var eachProxy = EACH_PROXIES.get(array);\n\n if (eachProxy !== undefined) {\n eachProxy.arrayDidChange(array, idx, removedCnt, addedCnt);\n }\n }\n /**\n @module @ember/utils\n */\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(); // true\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 */\n\n\n function isNone(obj) {\n return obj === null || obj === undefined;\n }\n /**\n @module @ember/utils\n */\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(); // true\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 */\n\n\n function isEmpty(obj) {\n var none = obj === null || obj === undefined;\n\n if (none) {\n return none;\n }\n\n if (typeof obj.size === 'number') {\n return !obj.size;\n }\n\n var objectType = typeof obj;\n\n if (objectType === 'object') {\n var size = get(obj, 'size');\n\n if (typeof size === 'number') {\n return !size;\n }\n }\n\n if (typeof obj.length === 'number' && objectType !== 'function') {\n return !obj.length;\n }\n\n if (objectType === 'object') {\n var length = get(obj, 'length');\n\n if (typeof length === 'number') {\n return !length;\n }\n }\n\n return false;\n }\n /**\n @module @ember/utils\n */\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(); // true\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 */\n\n\n function isBlank(obj) {\n return isEmpty(obj) || typeof obj === 'string' && /\\S/.test(obj) === false;\n }\n /**\n @module @ember/utils\n */\n\n /**\n A value is present if it not `isBlank`.\n \n ```javascript\n isPresent(); // false\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 */\n\n\n function isPresent(obj) {\n return !isBlank(obj);\n }\n /**\n @module ember\n */\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 */\n\n\n class Libraries {\n constructor() {\n this._registry = [];\n this._coreLibIndex = 0;\n }\n\n _getLibraryByName(name) {\n var libs = this._registry;\n var count = libs.length;\n\n for (var i = 0; i < count; i++) {\n if (libs[i].name === name) {\n return libs[i];\n }\n }\n\n return undefined;\n }\n\n register(name, version, isCoreLibrary) {\n var index = this._registry.length;\n\n if (!this._getLibraryByName(name)) {\n if (isCoreLibrary) {\n index = this._coreLibIndex++;\n }\n\n this._registry.splice(index, 0, {\n name,\n version\n });\n } else {\n (true && (0, _debug.warn)(`Library \"${name}\" is already registered with Ember.`, false, {\n id: 'ember-metal.libraries-register'\n }));\n }\n }\n\n registerCoreLibrary(name, version) {\n this.register(name, version, true);\n }\n\n deRegister(name) {\n var lib = this._getLibraryByName(name);\n\n var index;\n\n if (lib) {\n index = this._registry.indexOf(lib);\n\n this._registry.splice(index, 1);\n }\n }\n\n }\n\n _exports.Libraries = Libraries;\n\n if (true\n /* DEBUG */\n ) {\n Libraries.prototype.logVersions = function () {\n var libs = this._registry;\n var nameLengths = libs.map(item => get(item, 'name.length'));\n var maxNameLength = Math.max.apply(null, nameLengths);\n (0, _debug.debug)('-------------------------------');\n\n for (var i = 0; i < libs.length; i++) {\n var lib = libs[i];\n var spaces = new Array(maxNameLength - lib.name.length + 1).join(' ');\n (0, _debug.debug)([lib.name, spaces, ' : ', lib.version].join(''));\n }\n\n (0, _debug.debug)('-------------------------------');\n };\n }\n\n var LIBRARIES = new Libraries();\n _exports.libraries = LIBRARIES;\n LIBRARIES.registerCoreLibrary('Ember', _version.default);\n /**\n @module @ember/object\n */\n\n /**\n To get multiple properties at once, call `getProperties`\n with an object followed by a list of strings or an array:\n \n ```javascript\n import { getProperties } from '@ember/object';\n \n getProperties(record, 'firstName', 'lastName', 'zipCode');\n // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n ```\n \n is equivalent to:\n \n ```javascript\n import { getProperties } from '@ember/object';\n \n getProperties(record, ['firstName', 'lastName', 'zipCode']);\n // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n ```\n \n @method getProperties\n @static\n @for @ember/object\n @param {Object} obj\n @param {String...|Array} list of keys to get\n @return {Object}\n @public\n */\n\n function getProperties(obj, keys) {\n var ret = {};\n var propertyNames = arguments;\n var i = 1;\n\n if (arguments.length === 2 && Array.isArray(keys)) {\n i = 0;\n propertyNames = arguments[1];\n }\n\n for (; i < propertyNames.length; i++) {\n ret[propertyNames[i]] = get(obj, propertyNames[i]);\n }\n\n return ret;\n }\n /**\n @module @ember/object\n */\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 */\n\n\n function setProperties(obj, properties) {\n if (properties === null || typeof properties !== 'object') {\n return properties;\n }\n\n changeProperties(() => {\n var props = Object.keys(properties);\n var propertyName;\n\n for (var i = 0; i < props.length; i++) {\n propertyName = props[i];\n set(obj, propertyName, properties[propertyName]);\n }\n });\n return properties;\n } // move into its own package\n // it is needed by Mixin for classToString\n // maybe move it into environment\n\n\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n var searchDisabled = false;\n var flags = {\n _set: 0,\n _unprocessedNamespaces: false,\n\n get unprocessedNamespaces() {\n return this._unprocessedNamespaces;\n },\n\n set unprocessedNamespaces(v) {\n this._set++;\n this._unprocessedNamespaces = v;\n }\n\n };\n var unprocessedMixins = false;\n var NAMESPACES = [];\n _exports.NAMESPACES = NAMESPACES;\n var NAMESPACES_BY_ID = Object.create(null);\n _exports.NAMESPACES_BY_ID = NAMESPACES_BY_ID;\n\n function addNamespace(namespace) {\n flags.unprocessedNamespaces = true;\n NAMESPACES.push(namespace);\n }\n\n function removeNamespace(namespace) {\n var name = (0, _utils.getName)(namespace);\n delete NAMESPACES_BY_ID[name];\n NAMESPACES.splice(NAMESPACES.indexOf(namespace), 1);\n\n if (name in _environment.context.lookup && namespace === _environment.context.lookup[name]) {\n _environment.context.lookup[name] = undefined;\n }\n }\n\n function findNamespaces() {\n if (!flags.unprocessedNamespaces) {\n return;\n }\n\n var lookup = _environment.context.lookup;\n var keys = Object.keys(lookup);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i]; // Only process entities that start with uppercase A-Z\n\n if (!isUppercase(key.charCodeAt(0))) {\n continue;\n }\n\n var obj = tryIsNamespace(lookup, key);\n\n if (obj) {\n (0, _utils.setName)(obj, key);\n }\n }\n }\n\n function findNamespace(name) {\n if (!searchDisabled) {\n processAllNamespaces();\n }\n\n return NAMESPACES_BY_ID[name];\n }\n\n function processNamespace(namespace) {\n _processNamespace([namespace.toString()], namespace, new Set());\n }\n\n function processAllNamespaces() {\n var unprocessedNamespaces = flags.unprocessedNamespaces;\n\n if (unprocessedNamespaces) {\n findNamespaces();\n flags.unprocessedNamespaces = false;\n }\n\n if (unprocessedNamespaces || unprocessedMixins) {\n var namespaces = NAMESPACES;\n\n for (var i = 0; i < namespaces.length; i++) {\n processNamespace(namespaces[i]);\n }\n\n unprocessedMixins = false;\n }\n }\n\n function classToString() {\n var name = (0, _utils.getName)(this);\n\n if (name !== void 0) {\n return name;\n }\n\n name = calculateToString(this);\n (0, _utils.setName)(this, name);\n return name;\n }\n\n function isSearchDisabled() {\n return searchDisabled;\n }\n\n function setSearchDisabled(flag) {\n searchDisabled = Boolean(flag);\n }\n\n function setUnprocessedMixins() {\n unprocessedMixins = true;\n }\n\n function _processNamespace(paths, root, seen) {\n var idx = paths.length;\n var id = paths.join('.');\n NAMESPACES_BY_ID[id] = root;\n (0, _utils.setName)(root, id); // Loop over all of the keys in the namespace, looking for classes\n\n for (var key in root) {\n if (!hasOwnProperty.call(root, key)) {\n continue;\n }\n\n var obj = root[key]; // 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\n paths[idx] = key; // If we have found an unprocessed class\n\n if (obj && obj.toString === classToString && (0, _utils.getName)(obj) === void 0) {\n // Replace the class' `toString` with the dot-separated path\n (0, _utils.setName)(obj, paths.join('.')); // Support nested namespaces\n } else if (obj && obj.isNamespace) {\n // Skip aliased namespaces\n if (seen.has(obj)) {\n continue;\n }\n\n seen.add(obj); // Process the child namespace\n\n _processNamespace(paths, obj, seen);\n }\n }\n\n paths.length = idx; // cut out last item\n }\n\n function isUppercase(code) {\n return code >= 65 && code <= 90 // A\n ; // Z\n }\n\n function tryIsNamespace(lookup, prop) {\n try {\n var obj = lookup[prop];\n return (obj !== null && typeof obj === 'object' || typeof obj === 'function') && obj.isNamespace && obj;\n } catch (e) {// continue\n }\n }\n\n function calculateToString(target) {\n var str;\n\n if (!searchDisabled) {\n processAllNamespaces();\n str = (0, _utils.getName)(target);\n\n if (str !== void 0) {\n return str;\n }\n\n var superclass = target;\n\n do {\n superclass = Object.getPrototypeOf(superclass);\n\n if (superclass === Function.prototype || superclass === Object.prototype) {\n break;\n }\n\n str = (0, _utils.getName)(target);\n\n if (str !== void 0) {\n str = `(subclass of ${str})`;\n break;\n }\n } while (str === void 0);\n }\n\n return str || '(unknown)';\n }\n /**\n @module @ember/object\n */\n\n\n var a_concat = Array.prototype.concat;\n var {\n isArray\n } = Array;\n\n function extractAccessors(properties) {\n if (properties !== undefined) {\n var keys = Object.keys(properties);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var desc = Object.getOwnPropertyDescriptor(properties, key);\n\n if (desc.get !== undefined || desc.set !== undefined) {\n Object.defineProperty(properties, key, {\n value: nativeDescDecorator(desc)\n });\n }\n }\n }\n\n return properties;\n }\n\n function concatenatedMixinProperties(concatProp, props, values, base) {\n // reset before adding each new mixin to pickup concats from previous\n var concats = values[concatProp] || base[concatProp];\n\n if (props[concatProp]) {\n concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n }\n\n return concats;\n }\n\n function giveDecoratorSuper(key, decorator, property, descs) {\n if (property === true) {\n return decorator;\n }\n\n var originalGetter = property._getter;\n\n if (originalGetter === undefined) {\n return decorator;\n }\n\n var superDesc = descs[key]; // Check to see if the super property is a decorator first, if so load its descriptor\n\n var superProperty = typeof superDesc === 'function' ? descriptorForDecorator(superDesc) : superDesc;\n\n if (superProperty === undefined || superProperty === true) {\n return decorator;\n }\n\n var superGetter = superProperty._getter;\n\n if (superGetter === undefined) {\n return decorator;\n }\n\n var get = (0, _utils.wrap)(originalGetter, superGetter);\n var set;\n var originalSetter = property._setter;\n var superSetter = superProperty._setter;\n\n if (superSetter !== undefined) {\n if (originalSetter !== undefined) {\n set = (0, _utils.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 } // only create a new CP if we must\n\n\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 var dependentKeys = property._dependentKeys || [];\n var newProperty = new ComputedProperty([...dependentKeys, {\n get,\n set\n }]);\n newProperty._readOnly = property._readOnly;\n newProperty._volatile = property._volatile;\n newProperty._meta = property._meta;\n newProperty.enumerable = property.enumerable;\n return makeComputedDecorator(newProperty, ComputedProperty);\n }\n\n return decorator;\n }\n\n function 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 } // Find the original method in a parent mixin\n\n\n var superMethod = values[key]; // Only wrap the new method if the original method was a function\n\n if (typeof superMethod === 'function') {\n return (0, _utils.wrap)(method, superMethod);\n }\n\n return method;\n }\n\n function applyConcatenatedProperties(key, value, values) {\n var baseValue = values[key];\n var ret = (0, _utils.makeArray)(baseValue).concat((0, _utils.makeArray)(value));\n\n if (true\n /* DEBUG */\n ) {\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\n return ret;\n }\n\n function applyMergedProperties(key, value, values) {\n var baseValue = values[key];\n (true && !(!isArray(value)) && (0, _debug.assert)(`You passed in \\`${JSON.stringify(value)}\\` as the value for \\`${key}\\` but \\`${key}\\` cannot be an Array`, !isArray(value)));\n\n if (!baseValue) {\n return value;\n }\n\n var newBase = (0, _polyfills.assign)({}, baseValue);\n var hasFunction = false;\n var props = Object.keys(value);\n\n for (var i = 0; i < props.length; i++) {\n var prop = props[i];\n var propValue = value[prop];\n\n if (typeof propValue === 'function') {\n hasFunction = true;\n newBase[prop] = giveMethodSuper(prop, propValue, baseValue, {});\n } else {\n newBase[prop] = propValue;\n }\n }\n\n if (hasFunction) {\n newBase._super = _utils.ROOT;\n }\n\n return newBase;\n }\n\n function mergeMixins(mixins, meta$$1, descs, values, base, keys, keysWithSuper) {\n var currentMixin;\n\n for (var i = 0; i < mixins.length; i++) {\n currentMixin = mixins[i];\n (true && !(typeof currentMixin === 'object' && currentMixin !== null && Object.prototype.toString.call(currentMixin) !== '[object Array]') && (0, _debug.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\n if (MIXINS.has(currentMixin)) {\n if (meta$$1.hasMixin(currentMixin)) {\n continue;\n }\n\n meta$$1.addMixin(currentMixin);\n var {\n properties,\n mixins: _mixins\n } = currentMixin;\n\n if (properties !== undefined) {\n mergeProps(meta$$1, properties, descs, values, base, keys, keysWithSuper);\n } else if (_mixins !== undefined) {\n mergeMixins(_mixins, meta$$1, descs, values, base, keys, keysWithSuper);\n\n if (currentMixin._without !== undefined) {\n currentMixin._without.forEach(keyName => {\n // deleting the key means we won't process the value\n var index = keys.indexOf(keyName);\n\n if (index !== -1) {\n keys.splice(index, 1);\n }\n });\n }\n }\n } else {\n mergeProps(meta$$1, currentMixin, descs, values, base, keys, keysWithSuper);\n }\n }\n }\n\n function mergeProps(meta$$1, props, descs, values, base, keys, keysWithSuper) {\n var concats = concatenatedMixinProperties('concatenatedProperties', props, values, base);\n var mergings = concatenatedMixinProperties('mergedProperties', props, values, base);\n var propKeys = Object.keys(props);\n\n for (var i = 0; i < propKeys.length; i++) {\n var key = propKeys[i];\n var value = props[key];\n if (value === undefined) continue;\n\n if (keys.indexOf(key) === -1) {\n keys.push(key);\n var desc = meta$$1.peekDescriptors(key);\n\n if (desc === undefined) {\n // The superclass did not have a CP, which means it may have\n // observers or listeners on that property.\n var prev = values[key] = base[key];\n\n if (typeof prev === 'function') {\n updateObserversAndListeners(base, key, prev, false);\n }\n } else {\n descs[key] = desc; // 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\n keysWithSuper.push(key);\n desc.teardown(base, key, meta$$1);\n }\n }\n\n var isFunction = typeof value === 'function';\n\n if (isFunction) {\n var _desc2 = descriptorForDecorator(value);\n\n if (_desc2 !== undefined) {\n // Wrap descriptor function to implement _super() if needed\n descs[key] = giveDecoratorSuper(key, value, _desc2, descs);\n values[key] = undefined;\n continue;\n }\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\n values[key] = value;\n descs[key] = undefined;\n }\n }\n\n var followMethodAlias;\n\n if (_deprecatedFeatures.ALIAS_METHOD) {\n followMethodAlias = function (obj, alias, descs, values) {\n var altKey = alias.methodName;\n var possibleDesc;\n var desc = descs[altKey];\n var value = values[altKey];\n\n if (desc !== undefined || value !== undefined) {// do nothing\n } else if ((possibleDesc = descriptorForProperty(obj, altKey)) !== undefined) {\n desc = possibleDesc;\n value = undefined;\n } else {\n desc = undefined;\n value = obj[altKey];\n }\n\n return {\n desc,\n value\n };\n };\n }\n\n function updateObserversAndListeners(obj, key, fn, add) {\n var meta$$1 = (0, _utils.observerListenerMetaFor)(fn);\n if (meta$$1 === undefined) return;\n var {\n observers,\n listeners\n } = meta$$1;\n\n if (observers !== undefined) {\n var updateObserver = add ? addObserver : removeObserver;\n\n for (var i = 0; i < observers.paths.length; i++) {\n updateObserver(obj, observers.paths[i], null, key, observers.sync);\n }\n }\n\n if (listeners !== undefined) {\n var updateListener = add ? addListener : removeListener;\n\n for (var _i = 0; _i < listeners.length; _i++) {\n updateListener(obj, listeners[_i], null, key);\n }\n }\n }\n\n function applyMixin(obj, mixins, _hideKeys = false) {\n var descs = Object.create(null);\n var values = Object.create(null);\n var meta$$1 = (0, _meta2.meta)(obj);\n var keys = [];\n var keysWithSuper = [];\n obj._super = _utils.ROOT; // 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\n mergeMixins(mixins, meta$$1, descs, values, obj, keys, keysWithSuper);\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = values[key];\n var desc = descs[key];\n\n if (_deprecatedFeatures.ALIAS_METHOD) {\n while (value !== undefined && isAlias(value)) {\n var followed = followMethodAlias(obj, value, descs, values);\n desc = followed.desc;\n value = followed.value;\n }\n }\n\n if (value !== undefined) {\n if (typeof value === 'function') {\n updateObserversAndListeners(obj, key, value, true);\n }\n\n defineValue(obj, key, value, keysWithSuper.indexOf(key) !== -1, !_hideKeys);\n } else if (desc !== undefined) {\n defineDecorator(obj, key, desc, meta$$1);\n }\n }\n\n if (!meta$$1.isPrototypeMeta(obj)) {\n revalidateObservers(obj);\n }\n\n return obj;\n }\n /**\n @method mixin\n @param obj\n @param mixins*\n @return obj\n @private\n */\n\n\n function mixin(obj, ...args) {\n applyMixin(obj, args);\n return obj;\n }\n\n var MIXINS = new _polyfills._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 */\n\n class Mixin {\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\n if (true\n /* DEBUG */\n ) {\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 (0, _utils.guidFor)(this);\n Object.seal(this);\n }\n }\n /**\n @method create\n @for @ember/object/mixin\n @static\n @param arguments*\n @public\n */\n\n\n static create(...args) {\n setUnprocessedMixins();\n var M = this;\n return new M(args, undefined);\n } // returns the mixins currently applied to the specified object\n // TODO: Make `mixin`\n\n\n static mixins(obj) {\n var meta$$1 = (0, _meta2.peekMeta)(obj);\n var ret = [];\n\n if (meta$$1 === null) {\n return ret;\n }\n\n meta$$1.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 */\n\n\n reopen(...args) {\n if (args.length === 0) {\n return;\n }\n\n if (this.properties) {\n var currentMixin = new Mixin(undefined, this.properties);\n this.properties = undefined;\n this.mixins = [currentMixin];\n } else if (!this.mixins) {\n this.mixins = [];\n }\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 */\n\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\n applyPartial(obj) {\n return applyMixin(obj, [this]);\n }\n /**\n @method detect\n @param obj\n @return {Boolean}\n @private\n */\n\n\n detect(obj) {\n if (typeof obj !== 'object' || obj === null) {\n return false;\n }\n\n if (MIXINS.has(obj)) {\n return _detect(obj, this);\n }\n\n var meta$$1 = (0, _meta2.peekMeta)(obj);\n\n if (meta$$1 === null) {\n return false;\n }\n\n return meta$$1.hasMixin(this);\n }\n\n without(...args) {\n var ret = new Mixin([this]);\n ret._without = args;\n return ret;\n }\n\n keys() {\n return _keys(this);\n }\n\n toString() {\n return '(unknown mixin)';\n }\n\n }\n\n _exports.Mixin = Mixin;\n\n function buildMixinsArray(mixins) {\n var length = mixins && mixins.length || 0;\n var m = undefined;\n\n if (length > 0) {\n m = new Array(length);\n\n for (var i = 0; i < length; i++) {\n var x = mixins[i];\n (true && !(typeof x === 'object' && x !== null && Object.prototype.toString.call(x) !== '[object Array]') && (0, _debug.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\n if (MIXINS.has(x)) {\n m[i] = x;\n } else {\n m[i] = new Mixin(undefined, x);\n }\n }\n }\n\n return m;\n }\n\n Mixin.prototype.toString = classToString;\n\n if (true\n /* DEBUG */\n ) {\n Object.seal(Mixin.prototype);\n }\n\n function _detect(curMixin, targetMixin, seen = new Set()) {\n if (seen.has(curMixin)) {\n return false;\n }\n\n seen.add(curMixin);\n\n if (curMixin === targetMixin) {\n return true;\n }\n\n var mixins = curMixin.mixins;\n\n if (mixins) {\n return mixins.some(mixin => _detect(mixin, targetMixin, seen));\n }\n\n return false;\n }\n\n function _keys(mixin, ret = new Set(), seen = new Set()) {\n if (seen.has(mixin)) {\n return;\n }\n\n seen.add(mixin);\n\n if (mixin.properties) {\n var props = Object.keys(mixin.properties);\n\n for (var i = 0; i < props.length; i++) {\n ret.add(props[i]);\n }\n } else if (mixin.mixins) {\n mixin.mixins.forEach(x => _keys(x, ret, seen));\n }\n\n return ret;\n }\n\n var AliasImpl;\n var isAlias;\n\n if (_deprecatedFeatures.ALIAS_METHOD) {\n var ALIASES = new _polyfills._WeakSet();\n\n isAlias = alias => {\n return ALIASES.has(alias);\n };\n\n AliasImpl = class AliasImpl {\n constructor(methodName) {\n this.methodName = methodName;\n ALIASES.add(this);\n }\n\n };\n }\n /**\n Makes a method available via an additional name.\n \n ```app/utils/person.js\n import EmberObject, {\n aliasMethod\n } from '@ember/object';\n \n export default EmberObject.extend({\n name() {\n return 'Tomhuda Katzdale';\n },\n moniker: aliasMethod('name')\n });\n ```\n \n ```javascript\n let goodGuy = Person.create();\n \n goodGuy.name(); // 'Tomhuda Katzdale'\n goodGuy.moniker(); // 'Tomhuda Katzdale'\n ```\n \n @method aliasMethod\n @static\n @deprecated Use a shared utility method instead\n @for @ember/object\n @param {String} methodName name of the method to alias\n @public\n */\n\n\n var aliasMethod;\n _exports.aliasMethod = aliasMethod;\n\n if (_deprecatedFeatures.ALIAS_METHOD) {\n _exports.aliasMethod = aliasMethod = function aliasMethod(methodName) {\n (true && !(false) && (0, _debug.deprecate)(`You attempted to alias '${methodName}, but aliasMethod has been deprecated. Consider extracting the method into a shared utility function.`, false, {\n id: 'object.alias-method',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_object-alias-method'\n }));\n return new AliasImpl(methodName);\n };\n }\n\n function observer(...args) {\n var funcOrDef = args.pop();\n (true && !(typeof funcOrDef === 'function' || typeof funcOrDef === 'object' && funcOrDef !== null) && (0, _debug.assert)('observer must be provided a function or an observer definition', typeof funcOrDef === 'function' || typeof funcOrDef === 'object' && funcOrDef !== null));\n var func, dependentKeys, sync;\n\n if (typeof funcOrDef === 'function') {\n func = funcOrDef;\n dependentKeys = args;\n sync = !_environment.ENV._DEFAULT_ASYNC_OBSERVERS;\n } else {\n func = funcOrDef.fn;\n dependentKeys = funcOrDef.dependentKeys;\n sync = funcOrDef.sync;\n }\n\n (true && !(typeof func === 'function') && (0, _debug.assert)('observer called without a function', typeof func === 'function'));\n (true && !(Array.isArray(dependentKeys) && dependentKeys.length > 0 && dependentKeys.every(p => typeof p === 'string' && Boolean(p.length))) && (0, _debug.assert)('observer called without valid path', Array.isArray(dependentKeys) && dependentKeys.length > 0 && dependentKeys.every(p => typeof p === 'string' && Boolean(p.length))));\n (true && !(typeof sync === 'boolean') && (0, _debug.assert)('observer called without sync', typeof sync === 'boolean'));\n var paths = [];\n\n for (var i = 0; i < dependentKeys.length; ++i) {\n expandProperties(dependentKeys[i], path => paths.push(path));\n }\n\n (0, _utils.setObservers)(func, {\n paths,\n sync\n });\n return func;\n }\n\n var DEBUG_INJECTION_FUNCTIONS;\n _exports.DEBUG_INJECTION_FUNCTIONS = DEBUG_INJECTION_FUNCTIONS;\n\n if (true\n /* DEBUG */\n ) {\n _exports.DEBUG_INJECTION_FUNCTIONS = DEBUG_INJECTION_FUNCTIONS = new WeakMap();\n }\n\n function inject(type, ...args) {\n (true && !(typeof type === 'string') && (0, _debug.assert)('a string type must be provided to inject', typeof type === 'string'));\n var calledAsDecorator = isElementDescriptor(args);\n var source, namespace;\n var name = calledAsDecorator ? undefined : args[0];\n var options = calledAsDecorator ? undefined : args[1];\n\n var getInjection = function (propertyName) {\n var owner = (0, _owner.getOwner)(this) || this.container; // fallback to `container` for backwards compat\n\n (true && !(Boolean(owner)) && (0, _debug.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 source,\n namespace\n });\n };\n\n if (true\n /* DEBUG */\n ) {\n DEBUG_INJECTION_FUNCTIONS.set(getInjection, {\n namespace,\n source,\n type,\n name\n });\n }\n\n var decorator = computed({\n get: getInjection,\n\n set(keyName, value) {\n defineProperty(this, keyName, null, value);\n }\n\n });\n\n if (calledAsDecorator) {\n return decorator(args[0], args[1], args[2]);\n } else {\n return decorator;\n }\n }\n\n function tracked(...args) {\n (true && !(!(isElementDescriptor(args.slice(0, 3)) && args.length === 5 && args[4] === true)) && (0, _debug.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\n if (!isElementDescriptor(args)) {\n var propertyDesc = args[0];\n (true && !(args.length === 0 || typeof propertyDesc === 'object' && propertyDesc !== null) && (0, _debug.assert)(`tracked() may only receive an options object containing 'value' or 'initializer', received ${propertyDesc}`, args.length === 0 || typeof propertyDesc === 'object' && propertyDesc !== null));\n\n if (true\n /* DEBUG */\n && propertyDesc) {\n var keys = Object.keys(propertyDesc);\n (true && !(keys.length <= 1 && (keys[0] === undefined || keys[0] === 'value' || keys[0] === 'initializer')) && (0, _debug.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 (true && !(!('initializer' in propertyDesc) || typeof propertyDesc.initializer === 'function') && (0, _debug.assert)(`The initializer passed to tracked must be a function. Received ${propertyDesc.initializer}`, !('initializer' in propertyDesc) || typeof propertyDesc.initializer === 'function'));\n }\n\n var initializer = propertyDesc ? propertyDesc.initializer : undefined;\n var value = propertyDesc ? propertyDesc.value : undefined;\n\n var decorator = function (target, key, _desc, _meta, isClassicDecorator$$1) {\n (true && !(isClassicDecorator$$1) && (0, _debug.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 var fieldDesc = {\n initializer: initializer || (() => value)\n };\n return descriptorForField([target, key, fieldDesc]);\n };\n\n setClassicDecorator(decorator);\n return decorator;\n }\n\n return descriptorForField(args);\n }\n\n if (true\n /* DEBUG */\n ) {\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 }\n\n function descriptorForField([target, key, desc]) {\n (true && !(!desc || !desc.value && !desc.get && !desc.set) && (0, _debug.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 var {\n getter,\n setter\n } = (0, _validator.trackedData)(key, desc ? desc.initializer : undefined);\n\n function get() {\n var value = getter(this); // 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\n if (Array.isArray(value) || (0, _utils.isEmberArray)(value)) {\n (0, _validator.consumeTag)((0, _validator.tagFor)(value, '[]'));\n }\n\n return value;\n }\n\n function set(newValue) {\n setter(this, newValue);\n (0, _validator.dirtyTagFor)(this, SELF_TAG);\n }\n\n var newDesc = {\n enumerable: true,\n configurable: true,\n isTracked: true,\n get,\n set\n };\n COMPUTED_SETTERS.add(set);\n (0, _meta2.meta)(target).writeDescriptors(key, new TrackedDescriptor(get, set));\n return newDesc;\n }\n\n class TrackedDescriptor {\n constructor(_get, _set) {\n this._get = _get;\n this._set = _set;\n CHAIN_PASS_THROUGH.add(this);\n }\n\n get(obj) {\n return this._get.call(obj);\n }\n\n set(obj, _key, value) {\n this._set.call(obj, value);\n }\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 @category EMBER_CACHE_API\n @public\n */\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 @category EMBER_CACHE_API\n @static\n @for @glimmer/tracking/primitives/cache\n @public\n */\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 @category EMBER_CACHE_API\n @static\n @for @glimmer/tracking/primitives/cache\n @public\n */\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 @category EMBER_CACHE_API\n @static\n @for @glimmer/tracking/primitives/cache\n @public\n */\n\n});","define(\"@ember/-internals/owner/index\", [\"exports\", \"@ember/-internals/utils\", \"@ember/debug\"], function (_exports, _utils, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.getOwner = getOwner;\n _exports.setOwner = setOwner;\n _exports.OWNER = _exports.LEGACY_OWNER = void 0;\n\n /**\n @module @ember/application\n */\n var LEGACY_OWNER = (0, _utils.enumerableSymbol)('LEGACY_OWNER');\n _exports.LEGACY_OWNER = LEGACY_OWNER;\n var OWNER = (0, _utils.symbol)('OWNER');\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 let owner = getOwner(this);\n return owner.lookup(`service:${this.args.audioType}`);\n }\n \n @action\n onPlay() {\n let player = this.audioService;\n player.play(this.args.audioFile);\n }\n }\n ```\n \n @method getOwner\n @static\n @for @ember/application\n @param {Object} object An object with an owner.\n @return {Object} An owner object.\n @since 2.3.0\n @public\n */\n\n _exports.OWNER = OWNER;\n\n function getOwner(object) {\n var owner = object[OWNER];\n\n if (owner === undefined) {\n owner = object[LEGACY_OWNER];\n (true && !(owner === undefined) && (0, _debug.deprecate)(`You accessed the owner using \\`getOwner\\` on an object, but it was not set on that object with \\`setOwner\\`. You must use \\`setOwner\\` to set the owner on all objects. You cannot use Object.assign().`, owner === undefined, {\n id: 'owner.legacy-owner-injection',\n until: '3.25.0'\n }));\n }\n\n return owner;\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/application\n @param {Object} object An object instance.\n @param {Object} object The new owner object of the object instance.\n @since 2.3.0\n @public\n */\n\n\n function setOwner(object, owner) {\n object[OWNER] = owner;\n object[LEGACY_OWNER] = owner;\n }\n});","define(\"@ember/-internals/routing/index\", [\"exports\", \"@ember/-internals/routing/lib/ext/controller\", \"@ember/-internals/routing/lib/location/api\", \"@ember/-internals/routing/lib/location/none_location\", \"@ember/-internals/routing/lib/location/hash_location\", \"@ember/-internals/routing/lib/location/history_location\", \"@ember/-internals/routing/lib/location/auto_location\", \"@ember/-internals/routing/lib/system/generate_controller\", \"@ember/-internals/routing/lib/system/controller_for\", \"@ember/-internals/routing/lib/system/dsl\", \"@ember/-internals/routing/lib/system/router\", \"@ember/-internals/routing/lib/system/route\", \"@ember/-internals/routing/lib/system/query_params\", \"@ember/-internals/routing/lib/services/routing\", \"@ember/-internals/routing/lib/services/router\", \"@ember/-internals/routing/lib/system/cache\"], function (_exports, _controller, _api, _none_location, _hash_location, _history_location, _auto_location, _generate_controller, _controller_for, _dsl, _router, _route, _query_params, _routing, _router2, _cache) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"Location\", {\n enumerable: true,\n get: function () {\n return _api.default;\n }\n });\n Object.defineProperty(_exports, \"NoneLocation\", {\n enumerable: true,\n get: function () {\n return _none_location.default;\n }\n });\n Object.defineProperty(_exports, \"HashLocation\", {\n enumerable: true,\n get: function () {\n return _hash_location.default;\n }\n });\n Object.defineProperty(_exports, \"HistoryLocation\", {\n enumerable: true,\n get: function () {\n return _history_location.default;\n }\n });\n Object.defineProperty(_exports, \"AutoLocation\", {\n enumerable: true,\n get: function () {\n return _auto_location.default;\n }\n });\n Object.defineProperty(_exports, \"generateController\", {\n enumerable: true,\n get: function () {\n return _generate_controller.default;\n }\n });\n Object.defineProperty(_exports, \"generateControllerFactory\", {\n enumerable: true,\n get: function () {\n return _generate_controller.generateControllerFactory;\n }\n });\n Object.defineProperty(_exports, \"controllerFor\", {\n enumerable: true,\n get: function () {\n return _controller_for.default;\n }\n });\n Object.defineProperty(_exports, \"RouterDSL\", {\n enumerable: true,\n get: function () {\n return _dsl.default;\n }\n });\n Object.defineProperty(_exports, \"Router\", {\n enumerable: true,\n get: function () {\n return _router.default;\n }\n });\n Object.defineProperty(_exports, \"Route\", {\n enumerable: true,\n get: function () {\n return _route.default;\n }\n });\n Object.defineProperty(_exports, \"QueryParams\", {\n enumerable: true,\n get: function () {\n return _query_params.default;\n }\n });\n Object.defineProperty(_exports, \"RoutingService\", {\n enumerable: true,\n get: function () {\n return _routing.default;\n }\n });\n Object.defineProperty(_exports, \"RouterService\", {\n enumerable: true,\n get: function () {\n return _router2.default;\n }\n });\n Object.defineProperty(_exports, \"BucketCache\", {\n enumerable: true,\n get: function () {\n return _cache.default;\n }\n });\n});","define(\"@ember/-internals/routing/lib/ext/controller\", [\"exports\", \"@ember/-internals/metal\", \"@ember/controller/lib/controller_mixin\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _metal, _controller_mixin, _utils) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n _controller_mixin.default.reopen({\n concatenatedProperties: ['queryParams'],\n\n /**\n Defines which query parameters the controller accepts.\n If you give the names `['category','page']` it will bind\n the values of these query parameters to the variables\n `this.category` and `this.page`.\n By default, Ember coerces query parameter values using `toggleProperty`.\n This behavior may lead to unexpected results.\n Available queryParam types: `boolean`, `number`, `array`.\n If query param type not specified, it will be `string`.\n To explicitly configure a query parameter property so it coerces as expected, you must define a type property:\n ```javascript\n queryParams: [{\n category: {\n type: 'boolean'\n }\n }]\n ```\n @for Ember.ControllerMixin\n @property queryParams\n @public\n */\n queryParams: null,\n\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 /**\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 var dotIndex = _prop.indexOf('.[]');\n\n var prop = dotIndex === -1 ? _prop : _prop.slice(0, dotIndex);\n var delegate = controller._qpDelegate;\n var value = (0, _metal.get)(controller, prop);\n delegate(prop, value);\n },\n\n /**\n Transition the application into another route. The route may\n be either a single route or route path:\n ```javascript\n aController.transitionToRoute('blogPosts');\n aController.transitionToRoute('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 aController.transitionToRoute('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 aController.transitionToRoute('blogPost', 1);\n ```\n Multiple models will be applied last to first recursively up the\n route tree.\n ```app/router.js\n Router.map(function() {\n this.route('blogPost', { path: ':blogPostId' }, function() {\n this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n });\n });\n ```\n ```javascript\n aController.transitionToRoute('blogComment', aPost, aComment);\n aController.transitionToRoute('blogComment', 1, 13);\n ```\n It is also possible to pass a URL (a string that starts with a\n `/`).\n ```javascript\n aController.transitionToRoute('/');\n aController.transitionToRoute('/blog/post/1/comment/13');\n aController.transitionToRoute('/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 aController.transitionToRoute('blogPost', 1, {\n queryParams: { showComments: 'true' }\n });\n // if you just want to transition the query parameters without changing the route\n aController.transitionToRoute({ queryParams: { sort: 'date' } });\n ```\n See also [replaceRoute](/ember/release/classes/Ember.ControllerMixin/methods/replaceRoute?anchor=replaceRoute).\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\n while transitioning to the route.\n @param {Object} [options] optional hash with a queryParams property\n containing a mapping of query parameters\n @for Ember.ControllerMixin\n @method transitionToRoute\n @public\n */\n transitionToRoute(...args) {\n // target may be either another controller or a router\n var target = (0, _metal.get)(this, 'target');\n var method = target.transitionToRoute || target.transitionTo;\n return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n },\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 `transitionToRoute` in all other respects.\n ```javascript\n aController.replaceRoute('blogPosts');\n aController.replaceRoute('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 aController.replaceRoute('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 aController.replaceRoute('blogPost', 1);\n ```\n Multiple models will be applied last to first recursively up the\n route tree.\n ```app/router.js\n Router.map(function() {\n this.route('blogPost', { path: ':blogPostId' }, function() {\n this.route('blogComment', { path: ':blogCommentId', resetNamespace: true });\n });\n });\n ```\n ```\n aController.replaceRoute('blogComment', aPost, aComment);\n aController.replaceRoute('blogComment', 1, 13);\n ```\n It is also possible to pass a URL (a string that starts with a\n `/`).\n ```javascript\n aController.replaceRoute('/');\n aController.replaceRoute('/blog/post/1/comment/13');\n ```\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\n while transitioning to the route.\n @for Ember.ControllerMixin\n @method replaceRoute\n @public\n */\n replaceRoute(...args) {\n // target may be either another controller or a router\n var target = (0, _metal.get)(this, 'target');\n var method = target.replaceRoute || target.replaceWith;\n return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n }\n\n });\n\n var _default = _controller_mixin.default;\n _exports.default = _default;\n});","define(\"@ember/-internals/routing/lib/location/api\", [\"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\n /**\n @module @ember/routing\n */\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 constructor() {\n this._history = HistoryLocation.create(...arguments);\n }\n create() {\n return new this(...arguments);\n }\n pushState(path) {\n this._history.pushState(path);\n }\n }\n ```\n \n @class Location\n @private\n */\n var _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 var implementation = options && options.implementation;\n (true && !(Boolean(implementation)) && (0, _debug.assert)(\"Location.create: you must specify a 'implementation' option\", Boolean(implementation)));\n var implementationClass = this.implementations[implementation];\n (true && !(Boolean(implementationClass)) && (0, _debug.assert)(`Location.create: ${implementation} is not a valid implementation`, Boolean(implementationClass)));\n return implementationClass.create(...arguments);\n },\n\n implementations: {}\n };\n _exports.default = _default;\n});","define(\"@ember/-internals/routing/lib/location/auto_location\", [\"exports\", \"@ember/-internals/browser-environment\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _browserEnvironment, _metal, _owner, _runtime, _utils, _debug, _util) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.getHistoryPath = getHistoryPath;\n _exports.getHashPath = getHashPath;\n _exports.default = void 0;\n\n /**\n @module @ember/routing\n */\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 */\n class AutoLocation extends _runtime.Object {\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\n\n detect() {\n var rootURL = this.rootURL;\n (true && !(rootURL.charAt(rootURL.length - 1) === '/') && (0, _debug.assert)('rootURL must end with a trailing forward slash e.g. \"/app/\"', rootURL.charAt(rootURL.length - 1) === '/'));\n var 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\n if (implementation === false) {\n (0, _metal.set)(this, 'cancelRouterSetup', true);\n implementation = 'none';\n }\n\n var concrete = (0, _owner.getOwner)(this).lookup(`location:${implementation}`);\n (true && !(concrete !== undefined) && (0, _debug.assert)(`Could not find location '${implementation}'.`, concrete !== undefined));\n (0, _metal.set)(concrete, 'rootURL', rootURL);\n (0, _metal.set)(this, 'concreteImplementation', concrete);\n }\n\n willDestroy() {\n var {\n concreteImplementation\n } = this;\n\n if (concreteImplementation) {\n concreteImplementation.destroy();\n }\n }\n\n }\n\n _exports.default = AutoLocation;\n AutoLocation.reopen({\n /**\n @private\n Will be pre-pended to path upon state change.\n @since 1.5.1\n @property rootURL\n @default '/'\n */\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\n /**\n @private\n The browser's `location` object. This is typically equivalent to\n `window.location`, but may be overridden for testing.\n @property location\n @default environment.location\n */\n location: _browserEnvironment.location,\n\n /**\n @private\n The browser's `history` object. This is typically equivalent to\n `window.history`, but may be overridden for testing.\n @since 1.5.1\n @property history\n @default environment.history\n */\n history: _browserEnvironment.history,\n\n /**\n @private\n The user agent's global variable. In browsers, this will be `window`.\n @since 1.11\n @property global\n @default window\n */\n global: _browserEnvironment.window,\n\n /**\n @private\n The browser's `userAgent`. This is typically equivalent to\n `navigator.userAgent`, but may be overridden for testing.\n @since 1.5.1\n @property userAgent\n @default environment.history\n */\n userAgent: _browserEnvironment.userAgent,\n\n /**\n @private\n This property is used by the router to know whether to cancel the routing\n setup process, which is needed while we redirect the browser.\n @since 1.5.1\n @property cancelRouterSetup\n @default false\n */\n cancelRouterSetup: false\n });\n\n function delegateToConcreteImplementation(methodName) {\n return function (...args) {\n var {\n concreteImplementation\n } = this;\n (true && !(Boolean(concreteImplementation)) && (0, _debug.assert)(\"AutoLocation's detect() method should be called before calling any other hooks.\", Boolean(concreteImplementation)));\n return (0, _utils.tryInvoke)(concreteImplementation, methodName, args);\n };\n }\n\n function detectImplementation(options) {\n var {\n location,\n userAgent,\n history,\n documentMode,\n global,\n rootURL\n } = options;\n var implementation = 'none';\n var cancelRouterSetup = false;\n var currentPath = (0, _util.getFullPath)(location);\n\n if ((0, _util.supportsHistory)(userAgent, history)) {\n var historyPath = getHistoryPath(rootURL, location); // If the browser supports history and we have a history path, we can use\n // the history location with no redirects.\n\n if (currentPath === historyPath) {\n implementation = 'history';\n } else if (currentPath.substr(0, 2) === '/#') {\n history.replaceState({\n path: historyPath\n }, '', historyPath);\n implementation = 'history';\n } else {\n cancelRouterSetup = true;\n (0, _util.replacePath)(location, historyPath);\n }\n } else if ((0, _util.supportsHashChange)(documentMode, global)) {\n var hashPath = getHashPath(rootURL, location); // 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\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 (0, _util.replacePath)(location, hashPath);\n }\n }\n\n if (cancelRouterSetup) {\n return false;\n }\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 */\n\n\n function getHistoryPath(rootURL, location) {\n var path = (0, _util.getPath)(location);\n var hash = (0, _util.getHash)(location);\n var query = (0, _util.getQuery)(location);\n var rootURLIndex = path.indexOf(rootURL);\n var routeHash, hashParts;\n (true && !(rootURLIndex === 0) && (0, _debug.assert)(`Path ${path} does not start with the provided rootURL ${rootURL}`, rootURLIndex === 0)); // 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\n if (hash.substr(0, 2) === '#/') {\n // There could be extra hash segments after the route\n hashParts = hash.substr(1).split('#'); // The first one is always the route url\n\n routeHash = hashParts.shift(); // If the path already has a trailing slash, remove the one\n // from the hashed route so we don't double up.\n\n if (path.charAt(path.length - 1) === '/') {\n routeHash = routeHash.substr(1);\n } // This is the \"expected\" final order\n\n\n path += routeHash + query;\n\n if (hashParts.length) {\n path += `#${hashParts.join('#')}`;\n }\n } else {\n path += query + hash;\n }\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 */\n\n\n function getHashPath(rootURL, location) {\n var path = rootURL;\n var historyPath = getHistoryPath(rootURL, location);\n var routePath = historyPath.substr(rootURL.length);\n\n if (routePath !== '') {\n if (routePath[0] !== '/') {\n routePath = `/${routePath}`;\n }\n\n path += `#${routePath}`;\n }\n\n return path;\n }\n});","define(\"@ember/-internals/routing/lib/location/hash_location\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _metal, _runtime, _runloop, _util) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/routing\n */\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 */\n class HashLocation extends _runtime.Object {\n constructor() {\n super(...arguments);\n this.implementation = 'hash';\n }\n\n init() {\n (0, _metal.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\n\n getHash() {\n return (0, _util.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\n\n getURL() {\n var originalPath = this.getHash().substr(1);\n var outPath = originalPath;\n\n if (outPath[0] !== '/') {\n outPath = '/'; // 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\n if (originalPath) {\n outPath += `#${originalPath}`;\n }\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\n\n setURL(path) {\n this.location.hash = path;\n (0, _metal.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\n\n replaceURL(path) {\n this.location.replace(`#${path}`);\n (0, _metal.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\n\n onUpdateURL(callback) {\n this._removeEventListener();\n\n this._hashchangeHandler = (0, _runloop.bind)(this, function () {\n var path = this.getURL();\n\n if (this.lastSetURL === path) {\n return;\n }\n\n (0, _metal.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\n\n formatURL(url) {\n return `#${url}`;\n }\n /**\n Cleans up the HashLocation event listener.\n @private\n @method willDestroy\n */\n\n\n willDestroy() {\n this._removeEventListener();\n }\n\n _removeEventListener() {\n if (this._hashchangeHandler) {\n window.removeEventListener('hashchange', this._hashchangeHandler);\n }\n }\n\n }\n\n _exports.default = HashLocation;\n});","define(\"@ember/-internals/routing/lib/location/history_location\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/routing/lib/location/util\"], function (_exports, _metal, _runtime, _util) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/routing\n */\n var popstateFired = false;\n\n function _uuid() {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n var 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 @class HistoryLocation\n @extends EmberObject\n @protected\n */\n\n\n class HistoryLocation extends _runtime.Object {\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\n this.rootURL = '/';\n }\n /**\n @private\n Returns normalized location.hash\n @method getHash\n */\n\n\n getHash() {\n return (0, _util.getHash)(this.location);\n }\n\n init() {\n this._super(...arguments);\n\n var base = document.querySelector('base');\n var baseURL = '';\n\n if (base !== null && base.hasAttribute('href')) {\n baseURL = base.getAttribute('href');\n }\n\n (0, _metal.set)(this, 'baseURL', baseURL);\n (0, _metal.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\n\n initState() {\n var history = this.history || window.history;\n (0, _metal.set)(this, 'history', history);\n var {\n state\n } = history;\n var path = this.formatURL(this.getURL());\n\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\n\n getURL() {\n var {\n location,\n rootURL,\n baseURL\n } = this;\n var path = location.pathname; // remove trailing slashes if they exists\n\n rootURL = rootURL.replace(/\\/$/, '');\n baseURL = baseURL.replace(/\\/$/, ''); // remove baseURL and rootURL from start of path\n\n var url = path.replace(new RegExp(`^${baseURL}(?=/|$)`), '').replace(new RegExp(`^${rootURL}(?=/|$)`), '').replace(/\\/\\//g, '/'); // remove extra slashes\n\n var 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\n\n setURL(path) {\n var {\n state\n } = this.history;\n path = this.formatURL(path);\n\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\n\n replaceURL(path) {\n var {\n state\n } = this.history;\n path = this.formatURL(path);\n\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\n\n pushState(path) {\n var state = {\n path,\n uuid: _uuid()\n };\n this.history.pushState(state, null, path); // used for webkit workaround\n\n this._previousURL = this.getURL();\n }\n /**\n Replaces the current state.\n @private\n @method replaceState\n @param path {String}\n */\n\n\n replaceState(path) {\n var state = {\n path,\n uuid: _uuid()\n };\n this.history.replaceState(state, null, path); // used for webkit workaround\n\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\n\n onUpdateURL(callback) {\n this._removeEventListener();\n\n this._popstateHandler = () => {\n // Ignore initial page load popstate event in Chrome\n if (!popstateFired) {\n popstateFired = true;\n\n if (this.getURL() === this._previousURL) {\n return;\n }\n }\n\n callback(this.getURL());\n };\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\n\n formatURL(url) {\n var {\n rootURL,\n baseURL\n } = this;\n\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\n return baseURL + rootURL + url;\n }\n /**\n Cleans up the HistoryLocation event listener.\n @private\n @method willDestroy\n */\n\n\n willDestroy() {\n this._removeEventListener();\n }\n\n _removeEventListener() {\n if (this._popstateHandler) {\n window.removeEventListener('popstate', this._popstateHandler);\n }\n }\n\n }\n\n _exports.default = HistoryLocation;\n});","define(\"@ember/-internals/routing/lib/location/none_location\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/debug\"], function (_exports, _metal, _runtime, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/routing\n */\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 */\n class NoneLocation extends _runtime.Object {\n constructor() {\n super(...arguments);\n this.implementation = 'none';\n }\n\n detect() {\n var {\n rootURL\n } = this;\n (true && !(rootURL.charAt(rootURL.length - 1) === '/') && (0, _debug.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\n\n getURL() {\n var {\n path,\n rootURL\n } = this; // remove trailing slashes if they exists\n\n rootURL = rootURL.replace(/\\/$/, ''); // remove rootURL from url\n\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\n\n setURL(path) {\n (0, _metal.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\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\n\n handleURL(url) {\n (0, _metal.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\n\n formatURL(url) {\n var {\n rootURL\n } = this;\n\n if (url !== '') {\n // remove trailing slashes if they exists\n rootURL = rootURL.replace(/\\/$/, '');\n }\n\n return rootURL + url;\n }\n\n }\n\n _exports.default = NoneLocation;\n NoneLocation.reopen({\n path: '',\n\n /**\n Will be pre-pended to path.\n @private\n @property rootURL\n @default '/'\n */\n rootURL: '/'\n });\n});","define(\"@ember/-internals/routing/lib/location/util\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.getPath = getPath;\n _exports.getQuery = getQuery;\n _exports.getHash = getHash;\n _exports.getFullPath = getFullPath;\n _exports.getOrigin = getOrigin;\n _exports.supportsHashChange = supportsHashChange;\n _exports.supportsHistory = supportsHistory;\n _exports.replacePath = replacePath;\n\n /**\n @private\n \n Returns the current `location.pathname`, normalized for IE inconsistencies.\n */\n function getPath(location) {\n var pathname = location.pathname; // Various versions of IE/Opera don't always return a leading slash\n\n if (pathname[0] !== '/') {\n pathname = `/${pathname}`;\n }\n\n return pathname;\n }\n /**\n @private\n \n Returns the current `location.search`.\n */\n\n\n function getQuery(location) {\n return location.search;\n }\n /**\n @private\n \n Returns the hash or empty string\n */\n\n\n function getHash(location) {\n if (location.hash !== undefined) {\n return location.hash.substr(0);\n }\n\n return '';\n }\n\n function getFullPath(location) {\n return getPath(location) + getQuery(location) + getHash(location);\n }\n\n function getOrigin(location) {\n var origin = location.origin; // Older browsers, especially IE, don't have origin\n\n if (!origin) {\n origin = `${location.protocol}//${location.hostname}`;\n\n if (location.port) {\n origin += `:${location.port}`;\n }\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 */\n\n\n function supportsHashChange(documentMode, global) {\n return 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 */\n\n\n 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\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 */\n\n\n function replacePath(location, path) {\n location.replace(getOrigin(location) + path);\n }\n});","define(\"@ember/-internals/routing/lib/services/router\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/object/computed\", \"@ember/service\", \"@glimmer/validator\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _runtime, _debug, _computed, _service, _validator, _utils) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var freezeRouteInfo;\n\n if (true\n /* DEBUG */\n ) {\n freezeRouteInfo = transition => {\n if (transition.from !== null && !Object.isFrozen(transition.from)) {\n Object.freeze(transition.from);\n }\n\n if (transition.to !== null && !Object.isFrozen(transition.to)) {\n Object.freeze(transition.to);\n }\n };\n }\n\n function cleanURL(url, rootURL) {\n if (rootURL === '/') {\n return url;\n }\n\n return url.substr(rootURL.length, url.length);\n }\n /**\n The Router service is the public API that provides access to the router.\n \n The immediate benefit of the Router service is that you can inject it into components,\n giving them a friendly way to initiate transitions and ask questions about the current\n global router state.\n \n In this example, the Router service is injected into a component to initiate a transition\n to a dedicated route:\n \n ```app/components/example.js\n import Component from '@glimmer/component';\n import { action } from '@ember/object';\n import { inject as service } from '@ember/service';\n \n export default class ExampleComponent extends Component {\n @service router;\n \n @action\n next() {\n this.router.transitionTo('other.route');\n }\n }\n ```\n \n Like any service, it can also be injected into helpers, routes, etc.\n \n @public\n @extends Service\n @class RouterService\n */\n\n\n class RouterService extends _service.default {\n init() {\n super.init(...arguments);\n\n this._router.on('routeWillChange', transition => {\n if (true\n /* DEBUG */\n ) {\n freezeRouteInfo(transition);\n }\n\n this.trigger('routeWillChange', transition);\n });\n\n this._router.on('routeDidChange', transition => {\n if (true\n /* DEBUG */\n ) {\n freezeRouteInfo(transition);\n }\n\n this.trigger('routeDidChange', transition);\n });\n }\n /**\n Transition the application into another route. The route may\n be either a single route or route path:\n See [transitionTo](/ember/release/classes/Route/methods/transitionTo?anchor=transitionTo) for more info.\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 { inject as 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\n\n transitionTo(...args) {\n if ((0, _utils.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\n var {\n routeName,\n models,\n queryParams\n } = (0, _utils.extractRouteArgs)(args);\n\n var transition = this._router._doTransition(routeName, models, queryParams, true);\n\n transition['_keepDefaultQueryParamValues'] = 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 See [replaceWith](/ember/release/classes/Route/methods/replaceWith?anchor=replaceWith) for more info.\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\n\n replaceWith()\n /* routeNameOrUrl, ...models, options */\n {\n return this.transitionTo(...arguments).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 { inject as 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 { inject as 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) 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 {String} the string representing the generated URL\n @public\n */\n\n\n urlFor(routeName, ...args) {\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 { inject as service } from '@ember/service';\n export default class extends Component {\n @service router;\n displayComments() {\n return this.get('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 { inject as service } from '@ember/service';\n export default class extends Component {\n @service router;\n displayComments(post) {\n return this.get('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\n\n isActive(...args) {\n var {\n routeName,\n models,\n queryParams\n } = (0, _utils.extractRouteArgs)(args);\n var routerMicrolib = this._router._routerMicrolib; // 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\n (0, _validator.consumeTag)((0, _validator.tagFor)(this._router, 'currentURL')); // 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\n if (!routerMicrolib.isActiveIntent(routeName, models)) {\n return false;\n }\n\n var hasQueryParams = Object.keys(queryParams).length > 0;\n\n if (hasQueryParams) {\n this._router._prepareQueryParams( // 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 routeName, models, // UNSAFE: downstream consumers treat this as `QueryParam`, which the\n // type system here *correctly* reports as incorrect, because it may be\n // just an empty object.\n queryParams, true\n /* fromRouterService */\n );\n\n return (0, _utils.shallowEqual)(queryParams, routerMicrolib.state.queryParams);\n }\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 { inject as 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 @public\n */\n\n\n recognize(url) {\n (true && !(url.indexOf(this.rootURL) === 0) && (0, _debug.assert)(`You must pass a url that begins with the application's rootURL \"${this.rootURL}\"`, url.indexOf(this.rootURL) === 0));\n var 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 @public\n */\n\n\n recognizeAndLoad(url) {\n (true && !(url.indexOf(this.rootURL) === 0) && (0, _debug.assert)(`You must pass a url that begins with the application's rootURL \"${this.rootURL}\"`, url.indexOf(this.rootURL) === 0));\n var internalURL = cleanURL(url, this.rootURL);\n return this._router._routerMicrolib.recognizeAndLoad(internalURL);\n }\n\n }\n\n _exports.default = RouterService;\n RouterService.reopen(_runtime.Evented, {\n /**\n Name of the current route.\n This property represents the logical name of the route,\n which is comma separated.\n For the following router:\n ```app/router.js\n Router.map(function() {\n this.route('about');\n this.route('blog', function () {\n this.route('post', { path: ':post_id' });\n });\n });\n ```\n It will return:\n * `index` when you visit `/`\n * `about` when you visit `/about`\n * `blog.index` when you visit `/blog`\n * `blog.post` when you visit `/blog/some-post-id`\n @property currentRouteName\n @type String\n @public\n */\n currentRouteName: (0, _computed.readOnly)('_router.currentRouteName'),\n\n /**\n Current URL for the application.\n This property represents the URL path for this route.\n For the following router:\n ```app/router.js\n Router.map(function() {\n this.route('about');\n this.route('blog', function () {\n this.route('post', { path: ':post_id' });\n });\n });\n ```\n It will return:\n * `/` when you visit `/`\n * `/about` when you visit `/about`\n * `/blog` when you visit `/blog`\n * `/blog/some-post-id` when you visit `/blog/some-post-id`\n @property currentURL\n @type String\n @public\n */\n currentURL: (0, _computed.readOnly)('_router.currentURL'),\n\n /**\n The `location` property returns what implementation of the `location` API\n your application is using, which determines what type of URL is being used.\n See [Location](/ember/release/classes/Location) for more information.\n To force a particular `location` API implementation to be used in your\n application you can set a location type on your `config/environment`.\n For example, to set the `history` type:\n ```config/environment.js\n 'use strict';\n module.exports = function(environment) {\n let ENV = {\n modulePrefix: 'router-service',\n environment,\n rootURL: '/',\n locationType: 'history',\n ...\n }\n }\n ```\n The following location types are available by default:\n `auto`, `hash`, `history`, `none`.\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 @property location\n @default 'hash'\n @see {Location}\n @public\n */\n location: (0, _computed.readOnly)('_router.location'),\n\n /**\n The `rootURL` property represents the URL of the root of\n the application, '/' by default.\n This prefix is assumed on all routes defined on this app.\n If you change the `rootURL` in your environment configuration\n like so:\n ```config/environment.js\n 'use strict';\n module.exports = function(environment) {\n let ENV = {\n modulePrefix: 'router-service',\n environment,\n rootURL: '/my-root',\n …\n }\n ]\n ```\n This property will return `/my-root`.\n @property rootURL\n @default '/'\n @public\n */\n rootURL: (0, _computed.readOnly)('_router.rootURL'),\n\n /**\n The `currentRoute` property contains metadata about the current leaf route.\n It returns a `RouteInfo` object that has information like the route name,\n params, query params and more.\n See [RouteInfo](/ember/release/classes/RouteInfo) for more info.\n This property is guaranteed to change whenever a route transition\n happens (even when that transition only changes parameters\n and doesn't change the active route).\n Usage example:\n ```app/components/header.js\n import Component from '@glimmer/component';\n import { inject as service } from '@ember/service';\n import { notEmpty } from '@ember/object/computed';\n export default class extends Component {\n @service router;\n @notEmpty('router.currentRoute.child') isChildRoute;\n });\n ```\n @property currentRoute\n @type RouteInfo\n @public\n */\n currentRoute: (0, _computed.readOnly)('_router.currentRoute')\n });\n});","define(\"@ember/-internals/routing/lib/services/routing\", [\"exports\", \"@ember/object/computed\", \"@ember/polyfills\", \"@ember/service\"], function (_exports, _computed, _polyfills, _service) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n\n /**\n The Routing service is used by LinkComponent, 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 */\n class RoutingService extends _service.default {\n hasRoute(routeName) {\n return this.router.hasRoute(routeName);\n }\n\n transitionTo(routeName, models, queryParams, shouldReplace) {\n var transition = this.router._doTransition(routeName, models, queryParams);\n\n if (shouldReplace) {\n transition.method('replace');\n }\n\n return transition;\n }\n\n normalizeQueryParams(routeName, models, queryParams) {\n this.router._prepareQueryParams(routeName, models, queryParams);\n }\n\n generateURL(routeName, models, queryParams) {\n var router = this.router; // return early when the router microlib is not present, which is the case for {{link-to}} in integration tests\n\n if (!router._routerMicrolib) {\n return;\n }\n\n var visibleQueryParams = {};\n\n if (queryParams) {\n (0, _polyfills.assign)(visibleQueryParams, queryParams);\n this.normalizeQueryParams(routeName, models, visibleQueryParams);\n }\n\n return router.generate(routeName, ...models, {\n queryParams: visibleQueryParams\n });\n }\n\n isActiveForRoute(contexts, queryParams, routeName, routerState, isCurrentWhenSpecified) {\n var handlers = this.router._routerMicrolib.recognizer.handlersFor(routeName);\n\n var leafName = handlers[handlers.length - 1].handler;\n var maximumContexts = numberOfContextsAcceptedByHandler(routeName, handlers); // 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\n if (contexts.length > maximumContexts) {\n routeName = leafName;\n }\n\n return routerState.isActiveIntent(routeName, contexts, queryParams, !isCurrentWhenSpecified);\n }\n\n }\n\n _exports.default = RoutingService;\n RoutingService.reopen({\n targetState: (0, _computed.readOnly)('router.targetState'),\n currentState: (0, _computed.readOnly)('router.currentState'),\n currentRouteName: (0, _computed.readOnly)('router.currentRouteName'),\n currentPath: (0, _computed.readOnly)('router.currentPath')\n });\n\n function numberOfContextsAcceptedByHandler(handlerName, handlerInfos) {\n var req = 0;\n\n for (var i = 0; i < handlerInfos.length; i++) {\n req += handlerInfos[i].names.length;\n\n if (handlerInfos[i].handler === handlerName) {\n break;\n }\n }\n\n return req;\n }\n});","define(\"@ember/-internals/routing/lib/system/cache\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\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 */\n class BucketCache {\n constructor() {\n this.cache = new Map();\n }\n\n has(bucketKey) {\n return this.cache.has(bucketKey);\n }\n\n stash(bucketKey, key, value) {\n var bucket = this.cache.get(bucketKey);\n\n if (bucket === undefined) {\n bucket = new Map();\n this.cache.set(bucketKey, bucket);\n }\n\n bucket.set(key, value);\n }\n\n lookup(bucketKey, prop, defaultValue) {\n if (!this.has(bucketKey)) {\n return defaultValue;\n }\n\n var bucket = this.cache.get(bucketKey);\n\n if (bucket.has(prop)) {\n return bucket.get(prop);\n } else {\n return defaultValue;\n }\n }\n\n }\n\n _exports.default = BucketCache;\n});","define(\"@ember/-internals/routing/lib/system/controller_for\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = controllerFor;\n\n /**\n @module ember\n */\n\n /**\n Finds a controller instance.\n \n @for Ember\n @method controllerFor\n @private\n */\n function controllerFor(container, controllerName, lookupOptions) {\n return container.lookup(`controller:${controllerName}`, lookupOptions);\n }\n});","define(\"@ember/-internals/routing/lib/system/dsl\", [\"exports\", \"@ember/debug\", \"@ember/polyfills\"], function (_exports, _debug, _polyfills) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var uuid = 0;\n\n function isCallback(value) {\n return typeof value === 'function';\n }\n\n function isOptions(value) {\n return value !== null && typeof value === 'object';\n }\n\n 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\n route(name, _options, _callback) {\n var options;\n var callback = null;\n var dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n\n if (isCallback(_options)) {\n (true && !(arguments.length === 2) && (0, _debug.assert)('Unexpected arguments', arguments.length === 2));\n options = {};\n callback = _options;\n } else if (isCallback(_callback)) {\n (true && !(arguments.length === 3) && (0, _debug.assert)('Unexpected arguments', arguments.length === 3));\n (true && !(isOptions(_options)) && (0, _debug.assert)('Unexpected arguments', isOptions(_options)));\n options = _options;\n callback = _callback;\n } else {\n options = _options || {};\n }\n\n (true && !((() => {\n if (options.overrideNameAssertion === true) {\n return true;\n }\n\n return ['basic', 'application'].indexOf(name) === -1;\n })()) && (0, _debug.assert)(`'${name}' cannot be used as a route name.`, (() => {\n if (options.overrideNameAssertion === true) {\n return true;\n }\n\n return ['basic', 'application'].indexOf(name) === -1;\n })()));\n (true && !(name.indexOf(':') === -1) && (0, _debug.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\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\n if (callback) {\n var fullName = getFullName(this, name, options.resetNamespace);\n var 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 /* eslint-enable no-dupe-class-members */\n\n\n push(url, name, callback, serialize) {\n var parts = name.split('.');\n\n if (this.options.engineInfo) {\n var localFullName = name.slice(this.options.engineInfo.fullName.length + 1);\n var routeInfo = (0, _polyfills.assign)({\n localFullName\n }, this.options.engineInfo);\n\n if (serialize) {\n routeInfo.serializeMethod = serialize;\n }\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\n if (url === '' || url === '/' || parts[parts.length - 1] === 'index') {\n this.explicitIndex = true;\n }\n\n this.matches.push(url, name, callback);\n }\n\n generate() {\n var dslMatches = this.matches;\n\n if (!this.explicitIndex) {\n this.route('index', {\n path: '/'\n });\n }\n\n return match => {\n for (var i = 0; i < dslMatches.length; i += 3) {\n match(dslMatches[i]).to(dslMatches[i + 1], dslMatches[i + 2]);\n }\n };\n }\n\n mount(_name, options = {}) {\n var engineRouteMap = this.options.resolveRouteMap(_name);\n var name = _name;\n\n if (options.as) {\n name = options.as;\n }\n\n var fullName = getFullName(this, name, options.resetNamespace);\n var engineInfo = {\n name: _name,\n instanceId: uuid++,\n mountPoint: fullName,\n fullName\n };\n var path = options.path;\n\n if (typeof path !== 'string') {\n path = `/${name}`;\n }\n\n var callback;\n var dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n\n if (engineRouteMap) {\n var shouldResetEngineInfo = false;\n var oldEngineInfo = this.options.engineInfo;\n\n if (oldEngineInfo) {\n shouldResetEngineInfo = true;\n this.options.engineInfo = engineInfo;\n }\n\n var optionsForChild = (0, _polyfills.assign)({\n engineInfo\n }, this.options);\n var 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\n if (shouldResetEngineInfo) {\n this.options.engineInfo = oldEngineInfo;\n }\n }\n\n var localFullName = 'application';\n var routeInfo = (0, _polyfills.assign)({\n localFullName\n }, engineInfo);\n\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 var substateName = `${name}_loading`;\n var _localFullName = `application_loading`;\n\n var _routeInfo = (0, _polyfills.assign)({\n localFullName: _localFullName\n }, engineInfo);\n\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 = (0, _polyfills.assign)({\n localFullName: _localFullName\n }, engineInfo);\n createRoute(this, substateName, {\n resetNamespace: options.resetNamespace,\n path: dummyErrorRoute\n });\n this.options.addRouteForEngine(substateName, _routeInfo);\n }\n\n this.options.addRouteForEngine(fullName, routeInfo);\n this.push(path, fullName, callback);\n }\n\n }\n\n _exports.default = DSLImpl;\n\n function canNest(dsl) {\n return dsl.parent !== 'application';\n }\n\n function getFullName(dsl, name, resetNamespace) {\n if (canNest(dsl) && resetNamespace !== true) {\n return `${dsl.parent}.${name}`;\n } else {\n return name;\n }\n }\n\n function createRoute(dsl, name, options = {}, callback) {\n var fullName = getFullName(dsl, name, options.resetNamespace);\n\n if (typeof options.path !== 'string') {\n options.path = `/${name}`;\n }\n\n dsl.push(options.path, fullName, callback, options.serialize);\n }\n});","define(\"@ember/-internals/routing/lib/system/engines\", [], function () {\n \"use strict\";\n});","define(\"@ember/-internals/routing/lib/system/generate_controller\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.generateControllerFactory = generateControllerFactory;\n _exports.default = generateController;\n\n /**\n @module ember\n */\n\n /**\n Generates a controller factory\n \n @for Ember\n @method generateControllerFactory\n @private\n */\n function generateControllerFactory(owner, controllerName) {\n var Factory = owner.factoryFor('controller:basic').class;\n Factory = Factory.extend({\n toString() {\n return `(generated ${controllerName} controller)`;\n }\n\n });\n var 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 */\n\n\n function generateController(owner, controllerName) {\n generateControllerFactory(owner, controllerName);\n var fullName = `controller:${controllerName}`;\n var instance = owner.lookup(fullName);\n\n if (true\n /* DEBUG */\n ) {\n if ((0, _metal.get)(instance, 'namespace.LOG_ACTIVE_GENERATION')) {\n (0, _debug.info)(`generated -> ${fullName}`, {\n fullName\n });\n }\n }\n\n return instance;\n }\n});","define(\"@ember/-internals/routing/lib/system/query_params\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n class QueryParams {\n constructor(values = null) {\n this.isQueryParams = true;\n this.values = values;\n }\n\n }\n\n _exports.default = QueryParams;\n});","define(\"@ember/-internals/routing/lib/system/route-info\", [], function () {\n \"use strict\";\n /**\n A `RouteInfoWithAttributes` is an object that contains\n metadata, including the resolved value from the routes\n `model` hook. Like `RouteInfo`, a `RouteInfoWithAttributes`\n represents a specific route within a Transition.\n It is read-only and internally immutable. It is also not\n observable, because a Transition instance is never\n changed after creation.\n \n @class RouteInfoWithAttributes\n @public\n */\n\n /**\n The dot-separated, fully-qualified name of the\n route, like \"people.index\".\n @property {String} name\n @public\n */\n\n /**\n The final segment of the fully-qualified name of\n the route, like \"index\"\n @property {String} localName\n @public\n */\n\n /**\n The values of the route's parameters. These are the\n same params that are received as arguments to the\n route's model hook. Contains only the parameters\n valid for this route, if any (params for parent or\n child routes are not merged).\n @property {Object} params\n @public\n */\n\n /**\n The ordered list of the names of the params\n required for this route. It will contain the same\n strings as `Object.keys(params)`, but here the order\n is significant. This allows users to correctly pass\n params into routes programmatically.\n @property {Array} paramNames\n @public\n */\n\n /**\n The values of any queryParams on this route.\n @property {Object} queryParams\n @public\n */\n\n /**\n This is the resolved return value from the\n route's model hook.\n @property {Object|Array|String} attributes\n @public\n */\n\n /**\n Will contain the result `Route#buildRouteInfoMetadata`\n for the corresponding Route.\n @property {Any} metadata\n @public\n */\n\n /**\n A reference to the parent route's RouteInfo.\n This can be used to traverse upward to the topmost\n `RouteInfo`.\n @property {RouteInfo|null} parent\n @public\n */\n\n /**\n A reference to the child route's RouteInfo.\n This can be used to traverse downward to the\n leafmost `RouteInfo`.\n @property {RouteInfo|null} child\n @public\n */\n\n /**\n Allows you to traverse through the linked list\n of `RouteInfo`s from the topmost to leafmost.\n Returns the first `RouteInfo` in the linked list\n for which the callback returns true.\n \n This method is similar to the `find()` method\n defined in ECMAScript 2015.\n \n The callback method you provide should have the\n following signature (all parameters are optional):\n \n ```javascript\n function(item, index, array);\n ```\n \n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n \n It should return the `true` to include the item in\n the results, `false` otherwise.\n \n Note that in addition to a callback, you can also\n pass an optional target object that will be set as\n `this` on the context.\n \n @method find\n @param {Function} callback the callback to execute\n @param {Object} [target*] optional target to use\n @returns {Object} Found item or undefined\n @public\n */\n\n /**\n A RouteInfo is an object that contains metadata\n about a specific route within a Transition. It is\n read-only and internally immutable. It is also not\n observable, because a Transition instance is never\n changed after creation.\n \n @class RouteInfo\n @public\n */\n\n /**\n The dot-separated, fully-qualified name of the\n route, like \"people.index\".\n @property {String} name\n @public\n */\n\n /**\n The final segment of the fully-qualified name of\n the route, like \"index\"\n @property {String} localName\n @public\n */\n\n /**\n The values of the route's parameters. These are the\n same params that are received as arguments to the\n route's `model` hook. Contains only the parameters\n valid for this route, if any (params for parent or\n child routes are not merged).\n @property {Object} params\n @public\n */\n\n /**\n The ordered list of the names of the params\n required for this route. It will contain the same\n strings as Object.keys(params), but here the order\n is significant. This allows users to correctly pass\n params into routes programmatically.\n @property {Array} paramNames\n @public\n */\n\n /**\n The values of any queryParams on this route.\n @property {Object} queryParams\n @public\n */\n\n /**\n A reference to the parent route's `RouteInfo`.\n This can be used to traverse upward to the topmost\n `RouteInfo`.\n @property {RouteInfo|null} parent\n @public\n */\n\n /**\n A reference to the child route's `RouteInfo`.\n This can be used to traverse downward to the\n leafmost `RouteInfo`.\n @property {RouteInfo|null} child\n @public\n */\n\n /**\n Allows you to traverse through the linked list\n of `RouteInfo`s from the topmost to leafmost.\n Returns the first `RouteInfo` in the linked list\n for which the callback returns true.\n \n This method is similar to the `find()` method\n defined in ECMAScript 2015.\n \n The callback method you provide should have the\n following signature (all parameters are optional):\n \n ```javascript\n function(item, index, array);\n ```\n \n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n \n It should return the `true` to include the item in\n the results, `false` otherwise.\n \n Note that in addition to a callback, you can also\n pass an optional target object that will be set as\n `this` on the context.\n \n @method find\n @param {Function} callback the callback to execute\n @param {Object} [target*] optional target to use\n @returns {Object} Found item or undefined\n @public\n */\n});","define(\"@ember/-internals/routing/lib/system/route\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/object/compat\", \"@ember/runloop\", \"@ember/string\", \"router_js\", \"@ember/-internals/routing/lib/utils\", \"@ember/-internals/routing/lib/system/generate_controller\"], function (_exports, _polyfills, _metal, _owner, _runtime, _utils, _debug, _deprecatedFeatures, _compat, _runloop, _string, _router_js, _utils2, _generate_controller) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.defaultSerialize = defaultSerialize;\n _exports.hasDefaultSerialize = hasDefaultSerialize;\n _exports.default = _exports.ROUTER_EVENT_DEPRECATIONS = _exports.ROUTE_CONNECTIONS = void 0;\n var ROUTE_CONNECTIONS = new WeakMap();\n _exports.ROUTE_CONNECTIONS = ROUTE_CONNECTIONS;\n\n function defaultSerialize(model, params) {\n if (params.length < 1 || !model) {\n return;\n }\n\n var object = {};\n\n if (params.length === 1) {\n var [name] = params;\n\n if (name in model) {\n object[name] = (0, _metal.get)(model, name);\n } else if (/_id$/.test(name)) {\n object[name] = (0, _metal.get)(model, 'id');\n }\n } else {\n object = (0, _metal.getProperties)(model, params);\n }\n\n return object;\n }\n\n function hasDefaultSerialize(route) {\n return route.serialize === defaultSerialize;\n }\n /**\n @module @ember/routing\n */\n\n /**\n The `Route` class is used to define individual routes. Refer to\n the [routing guide](https://guides.emberjs.com/release/routing/) for documentation.\n \n @class Route\n @extends EmberObject\n @uses ActionHandler\n @uses Evented\n @since 1.0.0\n @public\n */\n\n\n class Route extends _runtime.Object {\n constructor() {\n super(...arguments);\n this.context = {};\n }\n /**\n The name of the route, dot-delimited.\n For example, a route found at `app/routes/posts/post.js` will have\n a `routeName` of `posts.post`.\n @property routeName\n @for Route\n @type String\n @since 1.0.0\n @public\n */\n\n /**\n The name of the route, dot-delimited, including the engine prefix\n if applicable.\n For example, a route found at `addon/routes/posts/post.js` within an\n engine named `admin` will have a `fullRouteName` of `admin.posts.post`.\n @property fullRouteName\n @for Route\n @type String\n @since 2.10.0\n @public\n */\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\n\n _setRouteName(name) {\n this.routeName = name;\n this.fullRouteName = getEngineRouteName((0, _owner.getOwner)(this), name);\n }\n /**\n @private\n @method _stashNames\n */\n\n\n _stashNames(routeInfo, dynamicParent) {\n if (this._names) {\n return;\n }\n\n var names = this._names = routeInfo['_names'];\n\n if (!names.length) {\n routeInfo = dynamicParent;\n names = routeInfo && routeInfo['_names'] || [];\n }\n\n var qps = (0, _metal.get)(this, '_qp.qps');\n var namePaths = new Array(names.length);\n\n for (var a = 0; a < names.length; ++a) {\n namePaths[a] = `${routeInfo.name}.${names[a]}`;\n }\n\n for (var i = 0; i < qps.length; ++i) {\n var qp = qps[i];\n\n if (qp.scope === 'model') {\n qp.parts = namePaths;\n }\n }\n }\n /**\n @private\n @property _activeQPChanged\n */\n\n\n _activeQPChanged(qp, value) {\n this._router._activeQPChanged(qp.scopedPropertyName, value);\n }\n /**\n @private\n @method _updatingQPChanged\n */\n\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 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\n\n paramsFor(name) {\n var route = (0, _owner.getOwner)(this).lookup(`route:${name}`);\n\n if (route === undefined) {\n return {};\n }\n\n var transition = this._router._routerMicrolib.activeTransition;\n var state = transition ? transition[_router_js.STATE_SYMBOL] : this._router._routerMicrolib.state;\n var fullName = route.fullRouteName;\n var params = (0, _polyfills.assign)({}, state.params[fullName]);\n var queryParams = getQueryParamsFor(route, state);\n return Object.keys(queryParams).reduce((params, key) => {\n (true && !(!params[key]) && (0, _debug.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] = queryParams[key];\n return params;\n }, params);\n }\n /**\n Serializes the query parameter key\n @method serializeQueryParamKey\n @param {String} controllerPropertyName\n @private\n */\n\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\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\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\n\n _optionsForQueryParam(qp) {\n return (0, _metal.get)(this, `queryParams.${qp.urlKey}`) || (0, _metal.get)(this, `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\n\n resetController(_controller, _isExiting, _transition) {\n return this;\n }\n /**\n @private\n @method exit\n */\n\n\n exit() {\n this.deactivate();\n this.trigger('deactivate');\n this.teardownViews();\n }\n /**\n @private\n @method _internalReset\n @since 3.6.0\n */\n\n\n _internalReset(isExiting, transition) {\n var controller = this.controller;\n controller['_qpDelegate'] = (0, _metal.get)(this, '_qp.states.inactive');\n this.resetController(controller, isExiting, transition);\n }\n /**\n @private\n @method enter\n */\n\n\n enter() {\n ROUTE_CONNECTIONS.set(this, []);\n this.activate();\n this.trigger('activate');\n }\n /**\n The `willTransition` action 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/route';\n import { action } from '@ember/object';\n export default class ContactFormRoute extends Route {\n @action\n willTransition(transition) {\n if (this.controller.get('userHasEnteredData')) {\n this.controller.displayNavigationConfirm();\n transition.abort();\n }\n }\n }\n ```\n You can also redirect elsewhere by calling\n `this.transitionTo('elsewhere')` from within `willTransition`.\n Note that `willTransition` will not be fired for the\n redirecting `transitionTo`, since `willTransition` doesn't\n fire when there is already a transition underway. If you want\n subsequent `willTransition` actions to fire for the redirecting\n transition, you must first explicitly call\n `transition.abort()`.\n To allow the `willTransition` event to continue bubbling to the parent\n route, use `return true;`. When the `willTransition` method has a\n return value of `true` then the parent route's `willTransition` method\n will be fired, enabling \"bubbling\" behavior for the event.\n @event willTransition\n @param {Transition} transition\n @since 1.0.0\n @public\n */\n\n /**\n The `didTransition` action is fired after a transition has\n successfully been completed. This occurs after the normal model\n hooks (`beforeModel`, `model`, `afterModel`, `setupController`)\n have resolved. The `didTransition` action has no arguments,\n however, it can be useful for tracking page views or resetting\n state on the controller.\n ```app/routes/login.js\n import Route from '@ember/routing/route';\n import { action } from '@ember/object';\n export default class LoginRoute extends Route {\n @action\n didTransition() {\n this.controller.get('errors.base').clear();\n return true; // Bubble the didTransition event\n }\n }\n ```\n @event didTransition\n @since 1.2.0\n @public\n */\n\n /**\n The `loading` action is fired on the route when a route's `model`\n hook returns a promise that is not already resolved. The current\n `Transition` object is the first parameter and the route that\n triggered the loading event is the second parameter.\n ```app/routes/application.js\n import Route from '@ember/routing/route';\n import { action } from '@ember/object';\n export default class ApplicationRoute extends Route {\n @action\n loading(transition, route) {\n let controller = this.controllerFor('foo');\n controller.set('currentlyLoading', true);\n transition.finally(function() {\n controller.set('currentlyLoading', false);\n });\n }\n }\n ```\n @event loading\n @param {Transition} transition\n @param {Route} route The route that triggered the loading event\n @since 1.2.0\n @public\n */\n\n /**\n When attempting to transition into a route, any of the hooks\n may return a promise that rejects, at which point an `error`\n action will be fired on the partially-entered routes, allowing\n for per-route error handling logic, or shared error handling\n logic defined on a parent route.\n Here is an example of an error handler that will be invoked\n for rejected promises from the various hooks on the route,\n as well as any unhandled errors from child routes:\n ```app/routes/admin.js\n import { reject } from 'rsvp';\n import Route from '@ember/routing/route';\n import { action } from '@ember/object';\n export default class AdminRoute extends Route {\n beforeModel() {\n return reject('bad things!');\n }\n @action\n error(error, transition) {\n // Assuming we got here due to the error in `beforeModel`,\n // we can expect that error === \"bad things!\",\n // but a promise model rejecting would also\n // call this hook, as would any errors encountered\n // in `afterModel`.\n // The `error` hook is also provided the failed\n // `transition`, which can be stored and later\n // `.retry()`d if desired.\n this.transitionTo('login');\n }\n }\n ```\n `error` actions that bubble up all the way to `ApplicationRoute`\n will fire a default error handler that logs the error. You can\n specify your own global default error handler by overriding the\n `error` handler on `ApplicationRoute`:\n ```app/routes/application.js\n import Route from '@ember/routing/route';\n import { action } from '@ember/object';\n export default class ApplicationRoute extends Route {\n @action\n error(error, transition) {\n this.controllerFor('banner').displayError(error.message);\n }\n }\n ```\n @event error\n @param {Error} error\n @param {Transition} transition\n @since 1.0.0\n @public\n */\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 /**\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 /**\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 @since 1.0.0\n @public\n */\n\n\n deactivate() {}\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 @since 1.0.0\n @public\n */\n\n\n activate() {}\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 @public\n */\n\n\n transitionTo(...args) {\n // eslint-disable-line no-unused-vars\n return this._router.transitionTo(...(0, _utils2.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\n\n intermediateTransitionTo(...args) {\n var [name, ...preparedArgs] = (0, _utils2.prefixRouteNameArg)(this, args);\n\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\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 @public\n */\n\n\n replaceWith(...args) {\n return this._router.replaceWith(...(0, _utils2.prefixRouteNameArg)(this, args));\n }\n /**\n This hook is the entry point for router.js\n @private\n @method setup\n */\n\n\n setup(context, transition) {\n var controllerName = this.controllerName || this.routeName;\n var definedController = this.controllerFor(controllerName, true);\n var controller;\n\n if (definedController) {\n controller = definedController;\n } else {\n controller = this.generateController(controllerName);\n } // Assign the route's controller so that it can more easily be\n // referenced in action handlers. Side effects. Side effects everywhere.\n\n\n if (!this.controller) {\n var qp = (0, _metal.get)(this, '_qp');\n var propNames = qp !== undefined ? (0, _metal.get)(qp, 'propertyNames') : [];\n addQueryParamsObservers(controller, propNames);\n this.controller = controller;\n }\n\n var queryParams = (0, _metal.get)(this, '_qp');\n var states = queryParams.states;\n controller._qpDelegate = states.allowOverrides;\n\n if (transition) {\n // Update the model dep values used to calculate cache keys.\n (0, _utils2.stashParamNames)(this._router, transition[_router_js.STATE_SYMBOL].routeInfos);\n var cache = this._bucketCache;\n var params = transition[_router_js.PARAMS_SYMBOL];\n var allParams = queryParams.propertyNames;\n allParams.forEach(prop => {\n var aQp = queryParams.map[prop];\n aQp.values = params;\n var cacheKey = (0, _utils2.calculateCacheKey)(aQp.route.fullRouteName, aQp.parts, aQp.values);\n var value = cache.lookup(cacheKey, prop, aQp.undecoratedDefaultValue);\n (0, _metal.set)(controller, prop, value);\n });\n var qpValues = getQueryParamsFor(this, transition[_router_js.STATE_SYMBOL]);\n (0, _metal.setProperties)(controller, qpValues);\n }\n\n this.setupController(controller, context, transition);\n\n if (this._environment.options.shouldRender) {\n this.renderTemplate(controller, context);\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\n\n (0, _metal.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\n\n _qpChanged(prop, value, qp) {\n if (!qp) {\n return;\n } // Update model-dep cache\n\n\n var cache = this._bucketCache;\n var cacheKey = (0, _utils2.calculateCacheKey)(qp.route.fullRouteName, qp.parts, qp.values);\n cache.stash(cacheKey, prop, value);\n }\n /**\n This hook is the first of the route entry validation hooks\n called when an attempt is made to transition into a route\n or one of its children. It is called before `model` and\n `afterModel`, and is appropriate for cases when:\n 1) A decision can be made to redirect elsewhere without\n needing to resolve the model first.\n 2) Any async operations need to occur first before the\n model is attempted to be resolved.\n This hook is provided the current `transition` attempt\n as a parameter, which can be used to `.abort()` the transition,\n save it for a later `.retry()`, or retrieve values set\n on it from a previous hook. You can also just call\n `this.transitionTo` to another route to implicitly\n abort the `transition`.\n You can return a promise from this hook to pause the\n transition until the promise resolves (or rejects). This could\n be useful, for instance, for retrieving async code from\n the server that is required to enter a route.\n @method beforeModel\n @param {Transition} transition\n @return {any | Promise<any>} if the value returned from this hook is\n a promise, the transition will pause until the transition\n resolves. Otherwise, non-promise return values are not\n utilized in any way.\n @since 1.0.0\n @public\n */\n\n\n beforeModel() {}\n /**\n This hook is called after this route's model has resolved.\n It follows identical async/promise semantics to `beforeModel`\n but is provided the route's resolved model in addition to\n the `transition`, and is therefore suited to performing\n logic that can only take place after the model has already\n resolved.\n ```app/routes/posts.js\n import Route from '@ember/routing/route';\n export default class PostsRoute extends Route {\n afterModel(posts, transition) {\n if (posts.get('length') === 1) {\n this.transitionTo('post.show', posts.get('firstObject'));\n }\n }\n }\n ```\n Refer to documentation for `beforeModel` for a description\n of transition-pausing semantics when a promise is returned\n from this hook.\n @method afterModel\n @param {Object} resolvedModel the value returned from `model`,\n or its resolved value if it was a promise\n @param {Transition} transition\n @return {any | Promise<any>} if the value returned from this hook is\n a promise, the transition will pause until the transition\n resolves. Otherwise, non-promise return values are not\n utilized in any way.\n @since 1.0.0\n @public\n */\n\n\n afterModel() {}\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\n\n redirect() {}\n /**\n Called when the context is changed by router.js.\n @private\n @method contextDidChange\n */\n\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\n\n model(params, transition) {\n var name, sawParams, value;\n var queryParams = (0, _metal.get)(this, '_qp.map');\n\n for (var prop in params) {\n if (prop === 'queryParams' || queryParams && prop in queryParams) {\n continue;\n }\n\n var match = prop.match(/^(.*)_id$/);\n\n if (match !== null) {\n name = match[1];\n value = params[prop];\n }\n\n sawParams = true;\n }\n\n if (!name) {\n if (sawParams) {\n return (0, _polyfills.assign)({}, params);\n } else {\n if (transition.resolveIndex < 1) {\n return;\n }\n\n return transition[_router_js.STATE_SYMBOL].routeInfos[transition.resolveIndex - 1].context;\n }\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\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\n\n findModel(...args) {\n return (0, _metal.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 {Object} transition\n @since 1.0.0\n @public\n */\n\n\n setupController(controller, context, _transition) {\n // eslint-disable-line no-unused-vars\n if (controller && context !== undefined) {\n (0, _metal.set)(controller, 'model', context);\n }\n }\n /**\n Returns the controller of the current route, or a parent (or any ancestor)\n route in a route hierarchy.\n The controller instance must already have been created, either through entering the\n associated route or using `generateController`.\n ```app/routes/post.js\n import Route from '@ember/routing/route';\n export default class PostRoute extends Route {\n setupController(controller, post) {\n super.setupController(controller, post);\n this.controllerFor('posts').set('currentPost', post);\n }\n }\n ```\n @method controllerFor\n @param {String} name the name of the route or controller\n @return {Controller}\n @since 1.0.0\n @public\n */\n\n\n controllerFor(name, _skipAssert) {\n var owner = (0, _owner.getOwner)(this);\n var route = owner.lookup(`route:${name}`);\n\n if (route && route.controllerName) {\n name = route.controllerName;\n }\n\n var controller = owner.lookup(`controller:${name}`); // 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\n (true && !(controller !== undefined || _skipAssert === true) && (0, _debug.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 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\n\n generateController(name) {\n var owner = (0, _owner.getOwner)(this);\n return (0, _generate_controller.default)(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\n\n modelFor(_name) {\n var name;\n var owner = (0, _owner.getOwner)(this);\n var transition = this._router && this._router._routerMicrolib ? this._router._routerMicrolib.activeTransition : undefined; // Only change the route name when there is an active transition.\n // Otherwise, use the passed in route name.\n\n if (owner.routable && transition !== undefined) {\n name = getEngineRouteName(owner, _name);\n } else {\n name = _name;\n }\n\n var route = owner.lookup(`route:${name}`); // If we are mid-transition, we want to try and look up\n // resolved parent contexts on the current transitionEvent.\n\n if (transition !== undefined && transition !== null) {\n var modelLookupName = route && route.routeName || name;\n\n if (Object.prototype.hasOwnProperty.call(transition.resolvedModels, modelLookupName)) {\n return transition.resolvedModels[modelLookupName];\n }\n }\n\n return route && route.currentModel;\n }\n /**\n A hook you can use to render the template 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. By default, it renders the route's\n template, configured with the controller for the route.\n This method can be overridden to set up and render additional or\n alternative templates.\n ```app/routes/posts.js\n import Route from '@ember/routing/route';\n export default class PostsRoute extends Route {\n renderTemplate(controller, model) {\n let favController = this.controllerFor('favoritePost');\n // Render the `favoritePost` template into\n // the outlet `posts`, and display the `favoritePost`\n // controller.\n this.render('favoritePost', {\n outlet: 'posts',\n controller: favController\n });\n }\n }\n ```\n @method renderTemplate\n @param {Object} controller the route's controller\n @param {Object} model the route's model\n @since 1.0.0\n @public\n */\n\n\n renderTemplate(_controller, _model) {\n // eslint-disable-line no-unused-vars\n this.render();\n }\n /**\n `render` is used to render a template into a region of another template\n (indicated by an `{{outlet}}`). `render` is used both during the entry\n phase of routing (via the `renderTemplate` hook) and later in response to\n user interaction.\n For example, given the following minimal router and templates:\n ```app/router.js\n // ...\n Router.map(function() {\n this.route('photos');\n });\n export default Router;\n ```\n ```handlebars\n <!-- application.hbs -->\n <div class='something-in-the-app-hbs'>\n {{outlet \"anOutletName\"}}\n </div>\n ```\n ```handlebars\n <!-- photos.hbs -->\n <h1>Photos</h1>\n ```\n You can render `photos.hbs` into the `\"anOutletName\"` outlet of\n `application.hbs` by calling `render`:\n ```app/routes/post.js\n import Route from '@ember/routing/route';\n export default class PostRoute extends Route {\n renderTemplate() {\n this.render('photos', {\n into: 'application',\n outlet: 'anOutletName'\n })\n }\n }\n ```\n `render` additionally allows you to supply which `controller` and\n `model` objects should be loaded and associated with the rendered template.\n ```app/routes/posts.js\n import Route from '@ember/routing/route';\n export default class PostsRoute extends Route {\n renderTemplate(controller, model) {\n this.render('posts', { // the template to render, referenced by name\n into: 'application', // the template to render into, referenced by name\n outlet: 'anOutletName', // the outlet inside `options.into` to render into.\n controller: 'someControllerName', // the controller to use for this template, referenced by name\n model: model // the model to set on `options.controller`.\n })\n }\n }\n ```\n The string values provided for the template name, and controller\n will eventually pass through to the resolver for lookup. See\n Resolver for how these are mapped to JavaScript objects in your\n application. The template to render into needs to be related to either the\n current route or one of its ancestors.\n Not all options need to be passed to `render`. Default values will be used\n based on the name of the route specified in the router or the Route's\n `controllerName` and `templateName` properties.\n For example:\n ```app/router.js\n // ...\n Router.map(function() {\n this.route('index');\n this.route('post', { path: '/posts/:post_id' });\n });\n export default Router;\n ```\n ```app/routes/post.js\n import Route from '@ember/routing/route';\n export default class PostRoute extends Route {\n renderTemplate() {\n this.render(); // all defaults apply\n }\n }\n ```\n The name of the route, defined by the router, is `post`.\n The following equivalent default options will be applied when\n the Route calls `render`:\n ```javascript\n this.render('post', { // the template name associated with 'post' Route\n into: 'application', // the parent route to 'post' Route\n outlet: 'main', // {{outlet}} and {{outlet 'main'}} are synonymous,\n controller: 'post', // the controller associated with the 'post' Route\n })\n ```\n By default the controller's `model` will be the route's model, so it does not\n need to be passed unless you wish to change which model is being used.\n @method 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 @since 1.0.0\n @public\n */\n\n\n render(name, options) {\n var renderOptions = buildRenderOptions(this, name, options);\n ROUTE_CONNECTIONS.get(this).push(renderOptions);\n (0, _runloop.once)(this._router, '_setOutlets');\n }\n /**\n Disconnects a view that has been rendered into an outlet.\n You may pass any or all of the following options to `disconnectOutlet`:\n * `outlet`: the name of the outlet to clear (default: 'main')\n * `parentView`: the name of the view containing the outlet to clear\n (default: the view rendered by the parent route)\n Example:\n ```app/routes/application.js\n import Route from '@ember/routing/route';\n import { action } from '@ember/object';\n export default class ApplicationRoute extends Route {\n @action\n showModal(evt) {\n this.render(evt.modalName, {\n outlet: 'modal',\n into: 'application'\n });\n }\n @action\n hideModal() {\n this.disconnectOutlet({\n outlet: 'modal',\n parentView: 'application'\n });\n }\n }\n ```\n Alternatively, you can pass the `outlet` name directly as a string.\n Example:\n ```app/routes/application.js\n import Route from '@ember/routing/route';\n import { action } from '@ember/object';\n export default class ApplicationRoute extends Route {\n @action\n showModal(evt) {\n // ...\n }\n @action\n hideModal(evt) {\n this.disconnectOutlet('modal');\n }\n }\n ```\n @method disconnectOutlet\n @param {Object|String} options the options hash or outlet name\n @since 1.0.0\n @public\n */\n\n\n disconnectOutlet(options) {\n var outletName;\n var parentView;\n\n if (options) {\n if (typeof options === 'string') {\n outletName = options;\n } else {\n outletName = options.outlet;\n parentView = options.parentView ? options.parentView.replace(/\\//g, '.') : undefined;\n (true && !(!('outlet' in options && options.outlet === undefined)) && (0, _debug.assert)('You passed undefined as the outlet name.', !('outlet' in options && options.outlet === undefined)));\n }\n }\n\n outletName = outletName || 'main';\n\n this._disconnectOutlet(outletName, parentView);\n\n var routeInfos = this._router._routerMicrolib.currentRouteInfos;\n\n for (var i = 0; i < routeInfos.length; i++) {\n // This non-local state munging is sadly necessary to maintain\n // backward compatibility with our existing semantics, which allow\n // any route to disconnectOutlet things originally rendered by any\n // other route. This should all get cut in 2.0.\n routeInfos[i].route._disconnectOutlet(outletName, parentView);\n }\n }\n\n _disconnectOutlet(outletName, parentView) {\n var parent = parentRoute(this);\n\n if (parent && parentView === parent.routeName) {\n parentView = undefined;\n }\n\n var connections = ROUTE_CONNECTIONS.get(this);\n\n for (var i = 0; i < connections.length; i++) {\n var connection = connections[i];\n\n if (connection.outlet === outletName && connection.into === parentView) {\n // This neuters the disconnected outlet such that it doesn't\n // render anything, but it leaves an entry in the outlet\n // hierarchy so that any existing other renders that target it\n // don't suddenly blow up. They will still stick themselves\n // into its outlets, which won't render anywhere. All of this\n // statefulness should get the machete in 2.0.\n connections[i] = {\n owner: connection.owner,\n into: connection.into,\n outlet: connection.outlet,\n name: connection.name,\n controller: undefined,\n template: undefined,\n model: undefined\n };\n (0, _runloop.once)(this._router, '_setOutlets');\n }\n }\n }\n\n willDestroy() {\n this.teardownViews();\n }\n /**\n @private\n @method teardownViews\n */\n\n\n teardownViews() {\n var connections = ROUTE_CONNECTIONS.get(this);\n\n if (connections !== undefined && connections.length > 0) {\n ROUTE_CONNECTIONS.set(this, []);\n (0, _runloop.once)(this._router, '_setOutlets');\n }\n }\n /**\n Allows you to produce custom metadata for the route.\n The return value of this method will be attached to\n its corresponding RouteInfoWithAttributes object.\n Example\n ```app/routes/posts/index.js\n import Route from '@ember/routing/route';\n export default class PostsIndexRoute extends Route {\n buildRouteInfoMetadata() {\n return { title: 'Posts Page' }\n }\n }\n ```\n ```app/routes/application.js\n import Route from '@ember/routing/route';\n import { inject as service } from '@ember/service';\n export default class ApplicationRoute extends Route {\n @service router\n constructor() {\n super(...arguments);\n this.router.on('routeDidChange', transition => {\n document.title = transition.to.metadata.title;\n // would update document's title to \"Posts Page\"\n });\n }\n }\n ```\n @method buildRouteInfoMetadata\n @return any\n @since 3.10.0\n @public\n */\n\n\n buildRouteInfoMetadata() {}\n\n }\n\n Route.reopenClass({\n isRouteFactory: true\n });\n\n function parentRoute(route) {\n var routeInfo = routeInfoFor(route, route._router._routerMicrolib.state.routeInfos, -1);\n return routeInfo && routeInfo.route;\n }\n\n function routeInfoFor(route, routeInfos, offset = 0) {\n if (!routeInfos) {\n return;\n }\n\n var current;\n\n for (var i = 0; i < routeInfos.length; i++) {\n current = routeInfos[i].route;\n\n if (current === route) {\n return routeInfos[i + offset];\n }\n }\n\n return;\n }\n\n function buildRenderOptions(route, nameOrOptions, options) {\n var isDefaultRender = !nameOrOptions && !options;\n\n var _name;\n\n if (!isDefaultRender) {\n if (typeof nameOrOptions === 'object' && !options) {\n _name = route.templateName || route.routeName;\n options = nameOrOptions;\n } else {\n (true && !(!(0, _metal.isEmpty)(nameOrOptions)) && (0, _debug.assert)('The name in the given arguments is undefined or empty string', !(0, _metal.isEmpty)(nameOrOptions)));\n _name = nameOrOptions;\n }\n }\n\n (true && !(isDefaultRender || !(options && 'outlet' in options && options.outlet === undefined)) && (0, _debug.assert)('You passed undefined as the outlet name.', isDefaultRender || !(options && 'outlet' in options && options.outlet === undefined)));\n var owner = (0, _owner.getOwner)(route);\n var name, templateName, into, outlet, model;\n var controller = undefined;\n\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\n outlet = outlet || 'main';\n\n if (isDefaultRender) {\n name = route.routeName;\n templateName = route.templateName || name;\n } else {\n name = _name.replace(/\\//g, '.');\n templateName = name;\n }\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\n if (typeof controller === 'string') {\n var controllerName = controller;\n controller = owner.lookup(`controller:${controllerName}`);\n (true && !(isDefaultRender || controller !== undefined) && (0, _debug.assert)(`You passed \\`controller: '${controllerName}'\\` into the \\`render\\` method, but no such controller could be found.`, isDefaultRender || controller !== undefined));\n }\n\n if (model === undefined) {\n model = route.currentModel;\n } else {\n controller.set('model', model);\n }\n\n var template = owner.lookup(`template:${templateName}`);\n (true && !(isDefaultRender || template !== undefined) && (0, _debug.assert)(`Could not find \"${templateName}\" template, view, or component.`, isDefaultRender || template !== undefined));\n var parent;\n\n if (into && (parent = parentRoute(route)) && into === parent.routeName) {\n into = undefined;\n }\n\n var renderOptions = {\n owner,\n into,\n outlet,\n name,\n controller,\n model,\n template: template !== undefined ? template(owner) : route._topLevelViewTemplate(owner)\n };\n\n if (true\n /* DEBUG */\n ) {\n var LOG_VIEW_LOOKUPS = (0, _metal.get)(route._router, 'namespace.LOG_VIEW_LOOKUPS');\n\n if (LOG_VIEW_LOOKUPS && !template) {\n (0, _debug.info)(`Could not find \"${name}\" template. Nothing will be rendered`, {\n fullName: `template:${name}`\n });\n }\n }\n\n return renderOptions;\n }\n\n function getFullQueryParams(router, state) {\n if (state['fullQueryParams']) {\n return state['fullQueryParams'];\n }\n\n state['fullQueryParams'] = {};\n (0, _polyfills.assign)(state['fullQueryParams'], state.queryParams);\n\n router._deserializeQueryParams(state.routeInfos, state['fullQueryParams']);\n\n return state['fullQueryParams'];\n }\n\n function getQueryParamsFor(route, state) {\n state['queryParamsFor'] = state['queryParamsFor'] || {};\n var name = route.fullRouteName;\n\n if (state['queryParamsFor'][name]) {\n return state['queryParamsFor'][name];\n }\n\n var fullQueryParams = getFullQueryParams(route._router, state);\n var params = state['queryParamsFor'][name] = {}; // Copy over all the query params for this route/controller into params hash.\n\n var qps = (0, _metal.get)(route, '_qp.qps');\n\n for (var i = 0; i < qps.length; ++i) {\n // Put deserialized qp on params hash.\n var qp = qps[i];\n var qpValueWasPassedIn = (qp.prop in fullQueryParams);\n params[qp.prop] = qpValueWasPassedIn ? fullQueryParams[qp.prop] : copyDefaultValue(qp.defaultValue);\n }\n\n return params;\n }\n\n function copyDefaultValue(value) {\n if (Array.isArray(value)) {\n return (0, _runtime.A)(value.slice());\n }\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 */\n\n\n function mergeEachQueryParams(controllerQP, routeQP) {\n var qps = {};\n var keysAlreadyMergedOrSkippable = {\n defaultValue: true,\n type: true,\n scope: true,\n as: true\n }; // first loop over all controller qps, merging them with any matching route qps\n // into a new empty object to avoid mutating.\n\n for (var cqpName in controllerQP) {\n if (!Object.prototype.hasOwnProperty.call(controllerQP, cqpName)) {\n continue;\n }\n\n var newControllerParameterConfiguration = {};\n (0, _polyfills.assign)(newControllerParameterConfiguration, controllerQP[cqpName], routeQP[cqpName]);\n qps[cqpName] = newControllerParameterConfiguration; // allows us to skip this QP when we check route QPs.\n\n keysAlreadyMergedOrSkippable[cqpName] = true;\n } // loop over all route qps, skipping those that were merged in the first pass\n // because they also appear in controller qps\n\n\n for (var rqpName in routeQP) {\n if (!Object.prototype.hasOwnProperty.call(routeQP, rqpName) || keysAlreadyMergedOrSkippable[rqpName]) {\n continue;\n }\n\n var newRouteParameterConfiguration = {};\n (0, _polyfills.assign)(newRouteParameterConfiguration, routeQP[rqpName], controllerQP[rqpName]);\n qps[rqpName] = newRouteParameterConfiguration;\n }\n\n return qps;\n }\n\n function addQueryParamsObservers(controller, propNames) {\n propNames.forEach(prop => {\n if ((0, _metal.descriptorForProperty)(controller, prop) === undefined) {\n var desc = (0, _utils.lookupDescriptor)(controller, prop);\n\n if (desc !== null && (typeof desc.get === 'function' || typeof desc.set === 'function')) {\n (0, _metal.defineProperty)(controller, prop, (0, _compat.dependentKeyCompat)({\n get: desc.get,\n set: desc.set\n }));\n }\n }\n\n (0, _metal.addObserver)(controller, `${prop}.[]`, controller, controller._qpChanged, false);\n });\n }\n\n function getEngineRouteName(engine, routeName) {\n if (engine.routable) {\n var prefix = engine.mountPoint;\n\n if (routeName === 'application') {\n return prefix;\n } else {\n return `${prefix}.${routeName}`;\n }\n }\n\n return routeName;\n }\n /**\n A hook you can implement to convert the route's model into parameters\n for the URL.\n \n ```app/router.js\n // ...\n \n Router.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n });\n \n ```\n \n ```app/routes/post.js\n import Route from '@ember/routing/route';\n \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 \n serialize(model) {\n // this will make the URL `/posts/12`\n return { post_id: model.id };\n }\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 \n This method is called when `transitionTo` is called with a context\n in order to populate the URL.\n \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\n\n Route.prototype.serialize = defaultSerialize;\n Route.reopen(_runtime.ActionHandler, _runtime.Evented, {\n mergedProperties: ['queryParams'],\n\n /**\n Configuration hash for this route's queryParams. The possible\n configuration options and their defaults are as follows\n (assuming a query param whose controller property is `page`):\n ```javascript\n queryParams: {\n page: {\n // By default, controller query param properties don't\n // cause a full transition when they are changed, but\n // rather only cause the URL to update. Setting\n // `refreshModel` to true will cause an \"in-place\"\n // transition to occur, whereby the model hooks for\n // this route (and any child routes) will re-fire, allowing\n // you to reload models (e.g., from the server) using the\n // updated query param values.\n refreshModel: false,\n // By default, changes to controller query param properties\n // cause the URL to update via `pushState`, which means an\n // item will be added to the browser's history, allowing\n // you to use the back button to restore the app to the\n // previous state before the query param property was changed.\n // Setting `replace` to true will use `replaceState` (or its\n // hash location equivalent), which causes no browser history\n // item to be added. This options name and default value are\n // the same as the `link-to` helper's `replace` option.\n replace: false,\n // By default, the query param URL key is the same name as\n // the controller property name. Use `as` to specify a\n // different URL key.\n as: 'page'\n }\n }\n ```\n @property queryParams\n @for Route\n @type Object\n @since 1.6.0\n @public\n */\n queryParams: {},\n\n /**\n The name of the template to use by default when rendering this routes\n template.\n ```app/routes/posts/list.js\n import Route from '@ember/routing/route';\n export default class extends Route {\n templateName = 'posts/list'\n });\n ```\n ```app/routes/posts/index.js\n import PostsList from '../posts/list';\n export default class extends PostsList {};\n ```\n ```app/routes/posts/archived.js\n import PostsList from '../posts/list';\n export default class extends PostsList {};\n ```\n @property templateName\n @type String\n @default null\n @since 1.4.0\n @public\n */\n templateName: null,\n\n /**\n @private\n @property _names\n */\n _names: null,\n\n /**\n The name of the controller to associate with this route.\n By default, Ember will lookup a route's controller that matches the name\n of the route (i.e. `posts.new`). However,\n if you would like to define a specific controller to use, you can do so\n using this property.\n This is useful in many ways, as the controller specified will be:\n * passed to the `setupController` method.\n * used as the controller for the template being rendered by the route.\n * returned from a call to `controllerFor` for the route.\n @property controllerName\n @type String\n @default null\n @since 1.4.0\n @public\n */\n controllerName: null,\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 store: (0, _metal.computed)({\n get() {\n var owner = (0, _owner.getOwner)(this);\n var routeName = this.routeName;\n var namespace = (0, _metal.get)(this, '_router.namespace');\n return {\n find(name, value) {\n var modelClass = owner.factoryFor(`model:${name}`);\n (true && !(Boolean(modelClass)) && (0, _debug.assert)(`You used the dynamic segment ${name}_id in your route ${routeName}, but ${namespace}.${(0, _string.classify)(name)} did not exist and you did not override your route's \\`model\\` hook.`, Boolean(modelClass)));\n\n if (!modelClass) {\n return;\n }\n\n modelClass = modelClass.class;\n (true && !(typeof modelClass.find === 'function') && (0, _debug.assert)(`${(0, _string.classify)(name)} has no method \\`find\\`.`, typeof modelClass.find === 'function'));\n return modelClass.find(value);\n }\n\n };\n },\n\n set(key, value) {\n (0, _metal.defineProperty)(this, key, null, value);\n }\n\n }),\n\n /**\n @private\n @property _qp\n */\n _qp: (0, _metal.computed)(function () {\n var combinedQueryParameterConfiguration;\n var controllerName = this.controllerName || this.routeName;\n var owner = (0, _owner.getOwner)(this);\n var controller = owner.lookup(`controller:${controllerName}`);\n var queryParameterConfiguraton = (0, _metal.get)(this, 'queryParams');\n var hasRouterDefinedQueryParams = Object.keys(queryParameterConfiguraton).length > 0;\n\n if (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 var controllerDefinedQueryParameterConfiguration = (0, _metal.get)(controller, 'queryParams') || {};\n var normalizedControllerQueryParameterConfiguration = (0, _utils2.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 = (0, _generate_controller.default)(owner, controllerName);\n combinedQueryParameterConfiguration = queryParameterConfiguraton;\n }\n\n var qps = [];\n var map = {};\n var propertyNames = [];\n\n for (var propName in combinedQueryParameterConfiguration) {\n if (!Object.prototype.hasOwnProperty.call(combinedQueryParameterConfiguration, propName)) {\n continue;\n } // to support the dubious feature of using unknownProperty\n // on queryParams configuration\n\n\n if (propName === 'unknownProperty' || propName === '_super') {\n // possible todo: issue deprecation warning?\n continue;\n }\n\n var desc = combinedQueryParameterConfiguration[propName];\n var scope = desc.scope || 'model';\n var parts = void 0;\n\n if (scope === 'controller') {\n parts = [];\n }\n\n var urlKey = desc.as || this.serializeQueryParamKey(propName);\n var defaultValue = (0, _metal.get)(controller, propName);\n defaultValue = copyDefaultValue(defaultValue);\n var type = desc.type || (0, _runtime.typeOf)(defaultValue);\n var defaultValueSerialized = this.serializeQueryParam(defaultValue, urlKey, type);\n var scopedPropertyName = `${controllerName}:${propName}`;\n var qp = {\n undecoratedDefaultValue: (0, _metal.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\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 var qp = map[prop];\n\n this._qpChanged(prop, value, qp);\n },\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 var qp = map[prop];\n\n this._qpChanged(prop, value, qp);\n\n return this._activeQPChanged(qp, value);\n },\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 var qp = map[prop];\n\n this._qpChanged(prop, value, qp);\n\n return this._updatingQPChanged(qp);\n }\n }\n };\n }),\n\n /**\n Sends an action to the router, which will delegate it to the currently\n active route hierarchy per the bubbling rules explained under `actions`.\n Example\n ```app/router.js\n // ...\n Router.map(function() {\n this.route('index');\n });\n export default Router;\n ```\n ```app/routes/application.js\n import Route from '@ember/routing/route';\n import { action } from '@ember/object';\n export default class ApplicationRoute extends Route {\n @action\n track(arg) {\n console.log(arg, 'was clicked');\n }\n }\n ```\n ```app/routes/index.js\n import Route from '@ember/routing/route';\n import { action } from '@glimmer/tracking';\n export default class IndexRoute extends Route {\n @action\n trackIfDebug(arg) {\n if (debug) {\n this.send('track', arg);\n }\n }\n }\n ```\n @method send\n @param {String} name the name of the action to trigger\n @param {...*} args\n @since 1.0.0\n @public\n */\n send(...args) {\n (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .send() with the action '${args[0]}' on the destroyed route '${this.routeName}'.`, !this.isDestroying && !this.isDestroyed));\n\n if (this._router && this._router._routerMicrolib || !(0, _debug.isTesting)()) {\n this._router.send(...args);\n } else {\n var name = args.shift();\n var action = this.actions[name];\n\n if (action) {\n return action.apply(this, args);\n }\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 var qpMap = (0, _metal.get)(this, '_qp').map;\n var totalChanged = Object.keys(changed).concat(Object.keys(removed));\n\n for (var i = 0; i < totalChanged.length; ++i) {\n var qp = qpMap[totalChanged[i]];\n\n if (qp && (0, _metal.get)(this._optionsForQueryParam(qp), 'refreshModel') && this._router.currentState) {\n this.refresh();\n break;\n }\n }\n\n return true;\n },\n\n finalizeQueryParamChange(params, finalParams, transition) {\n if (this.fullRouteName !== 'application') {\n return true;\n } // Transition object is absent for intermediate transitions.\n\n\n if (!transition) {\n return;\n }\n\n var routeInfos = transition[_router_js.STATE_SYMBOL].routeInfos;\n var router = this._router;\n\n var qpMeta = router._queryParamsFor(routeInfos);\n\n var changes = router._qpUpdates;\n var qpUpdated = false;\n var replaceUrl;\n (0, _utils2.stashParamNames)(router, routeInfos);\n\n for (var i = 0; i < qpMeta.qps.length; ++i) {\n var qp = qpMeta.qps[i];\n var route = qp.route;\n var controller = route.controller;\n var presentKey = qp.urlKey in params && qp.urlKey; // Do a reverse lookup to see if the changed query\n // param URL key corresponds to a QP property on\n // this controller.\n\n var value = void 0,\n svalue = void 0;\n\n if (changes.has(qp.urlKey)) {\n // Value updated in/before setupController\n value = (0, _metal.get)(controller, qp.prop);\n svalue = route.serializeQueryParam(value, qp.urlKey, qp.type);\n } else {\n if (presentKey) {\n svalue = params[presentKey];\n\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\n controller._qpDelegate = (0, _metal.get)(route, '_qp.states.inactive');\n var thisQueryParamChanged = svalue !== qp.serializedValue;\n\n if (thisQueryParamChanged) {\n if (transition.queryParamsOnly && replaceUrl !== false) {\n var options = route._optionsForQueryParam(qp);\n\n var replaceConfigValue = (0, _metal.get)(options, 'replace');\n\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\n (0, _metal.set)(controller, qp.prop, value);\n qpUpdated = true;\n } // Stash current serialized value of controller.\n\n\n qp.serializedValue = svalue;\n var thisQueryParamHasDefaultValue = qp.serializedDefaultValue === svalue;\n\n if (!thisQueryParamHasDefaultValue || transition._keepDefaultQueryParamValues) {\n finalParams.push({\n value: svalue,\n visible: true,\n key: presentKey || qp.urlKey\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\n\n if (qpUpdated === true) {\n (0, _metal.flushAsyncObservers)(false);\n }\n\n if (replaceUrl) {\n transition.method('replace');\n }\n\n qpMeta.qps.forEach(qp => {\n var routeQpMeta = (0, _metal.get)(qp.route, '_qp');\n var finalizedController = qp.route.controller;\n finalizedController['_qpDelegate'] = (0, _metal.get)(routeQpMeta, 'states.active');\n });\n\n router._qpUpdates.clear();\n\n return;\n }\n\n }\n });\n var ROUTER_EVENT_DEPRECATIONS;\n _exports.ROUTER_EVENT_DEPRECATIONS = ROUTER_EVENT_DEPRECATIONS;\n\n if (_deprecatedFeatures.ROUTER_EVENTS) {\n _exports.ROUTER_EVENT_DEPRECATIONS = ROUTER_EVENT_DEPRECATIONS = {\n on(name) {\n this._super(...arguments);\n\n var hasDidTransition = name === 'didTransition';\n var hasWillTransition = name === 'willTransition';\n\n if (hasDidTransition) {\n (true && !(false) && (0, _debug.deprecate)('You attempted to listen to the \"didTransition\" event which is deprecated. Please inject the router service and listen to the \"routeDidChange\" event.', false, {\n id: 'deprecate-router-events',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n }));\n }\n\n if (hasWillTransition) {\n (true && !(false) && (0, _debug.deprecate)('You attempted to listen to the \"willTransition\" event which is deprecated. Please inject the router service and listen to the \"routeWillChange\" event.', false, {\n id: 'deprecate-router-events',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n }));\n }\n }\n\n };\n Route.reopen(ROUTER_EVENT_DEPRECATIONS, {\n _paramsFor(routeName, params) {\n var transition = this._router._routerMicrolib.activeTransition;\n\n if (transition !== undefined) {\n return this.paramsFor(routeName);\n }\n\n return params;\n }\n\n });\n }\n\n var _default = Route;\n _exports.default = _default;\n});","define(\"@ember/-internals/routing/lib/system/router\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/error\", \"@ember/polyfills\", \"@ember/runloop\", \"@ember/-internals/routing/lib/location/api\", \"@ember/-internals/routing/lib/utils\", \"@ember/-internals/routing/lib/system/dsl\", \"@ember/-internals/routing/lib/system/route\", \"@ember/-internals/routing/lib/system/router_state\", \"router_js\"], function (_exports, _metal, _owner, _runtime, _debug, _deprecatedFeatures, _error2, _polyfills, _runloop, _api, _utils, _dsl, _route, _router_state, _router_js) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.triggerEvent = triggerEvent;\n _exports.default = void 0;\n\n function defaultDidTransition(infos) {\n updatePaths(this);\n\n this._cancelSlowTransitionTimer();\n\n this.notifyPropertyChange('url');\n this.set('currentState', this.targetState); // Put this in the runloop so url will be accurate. Seems\n // less surprising than didTransition being out of sync.\n\n (0, _runloop.once)(this, this.trigger, 'didTransition');\n\n if (true\n /* DEBUG */\n ) {\n if ((0, _metal.get)(this, 'namespace').LOG_TRANSITIONS) {\n // eslint-disable-next-line no-console\n console.log(`Transitioned into '${EmberRouter._routePath(infos)}'`);\n }\n }\n }\n\n function defaultWillTransition(oldInfos, newInfos, transition) {\n (0, _runloop.once)(this, this.trigger, 'willTransition', transition);\n\n if (true\n /* DEBUG */\n ) {\n if ((0, _metal.get)(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 }\n\n function K() {\n return this;\n }\n\n var {\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 */\n\n class EmberRouter extends _runtime.Object {\n constructor() {\n super(...arguments);\n this.currentURL = null;\n this.currentRouteName = null;\n this.currentPath = null;\n this.currentRoute = null;\n this._qpCache = Object.create(null);\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.currentState = null;\n this.targetState = null;\n\n this._resetQueuedQueryParameterChanges();\n }\n\n _initRouterJs() {\n var location = (0, _metal.get)(this, 'location');\n var router = this;\n var owner = (0, _owner.getOwner)(this);\n var seen = Object.create(null);\n\n class PrivateRouter extends _router_js.default {\n getRoute(name) {\n var routeName = name;\n var routeOwner = owner;\n var engineInfo = router._engineInfoByRoute[routeName];\n\n if (engineInfo) {\n var engineInstance = router._getEngineInstance(engineInfo);\n\n routeOwner = engineInstance;\n routeName = engineInfo.localFullName;\n }\n\n var fullRouteName = `route:${routeName}`;\n var route = routeOwner.lookup(fullRouteName);\n\n if (seen[name]) {\n return route;\n }\n\n seen[name] = true;\n\n if (!route) {\n var DefaultRoute = routeOwner.factoryFor('route:basic').class;\n routeOwner.register(fullRouteName, DefaultRoute.extend());\n route = routeOwner.lookup(fullRouteName);\n\n if (true\n /* DEBUG */\n ) {\n if ((0, _metal.get)(router, 'namespace.LOG_ACTIVE_GENERATION')) {\n (0, _debug.info)(`generated -> ${fullRouteName}`, {\n fullName: fullRouteName\n });\n }\n }\n }\n\n route._setRouteName(routeName);\n\n if (engineInfo && !(0, _route.hasDefaultSerialize)(route)) {\n throw new Error('Defining a custom serialize method on an Engine route is not supported.');\n }\n\n return route;\n }\n\n getSerializer(name) {\n var engineInfo = router._engineInfoByRoute[name]; // If this is not an Engine route, we fall back to the handler for serialization\n\n if (!engineInfo) {\n return;\n }\n\n return engineInfo.serializeMethod || _route.defaultSerialize;\n }\n\n updateURL(path) {\n (0, _runloop.once)(() => {\n location.setURL(path);\n (0, _metal.set)(router, 'currentURL', path);\n });\n }\n\n didTransition(infos) {\n if (_deprecatedFeatures.ROUTER_EVENTS) {\n if (router.didTransition !== defaultDidTransition) {\n (true && !(false) && (0, _debug.deprecate)('You attempted to override the \"didTransition\" method which is deprecated. Please inject the router service and listen to the \"routeDidChange\" event.', false, {\n id: 'deprecate-router-events',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n }));\n }\n }\n\n router.didTransition(infos);\n }\n\n willTransition(oldInfos, newInfos, transition) {\n if (_deprecatedFeatures.ROUTER_EVENTS) {\n if (router.willTransition !== defaultWillTransition) {\n (true && !(false) && (0, _debug.deprecate)('You attempted to override the \"willTransition\" method which is deprecated. Please inject the router service and listen to the \"routeWillChange\" event.', false, {\n id: 'deprecate-router-events',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_deprecate-router-events'\n }));\n }\n }\n\n router.willTransition(oldInfos, newInfos, transition);\n }\n\n triggerEvent(routeInfos, ignoreFailure, name, args) {\n return triggerEvent.bind(router)(routeInfos, ignoreFailure, name, args);\n }\n\n routeWillChange(transition) {\n router.trigger('routeWillChange', transition);\n }\n\n routeDidChange(transition) {\n router.set('currentRoute', transition.to);\n (0, _runloop.once)(() => {\n router.trigger('routeDidChange', transition);\n });\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 (0, _router_js.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\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\n replaceURL(url) {\n if (location.replaceURL) {\n var doReplaceURL = () => {\n location.replaceURL(url);\n (0, _metal.set)(router, 'currentURL', url);\n };\n\n (0, _runloop.once)(doReplaceURL);\n } else {\n this.updateURL(url);\n }\n }\n\n }\n\n var routerMicrolib = this._routerMicrolib = new PrivateRouter();\n var dslCallbacks = this.constructor.dslCallbacks || [K];\n\n var dsl = this._buildDSL();\n\n dsl.route('application', {\n path: '/',\n resetNamespace: true,\n overrideNameAssertion: true\n }, function () {\n for (var i = 0; i < dslCallbacks.length; i++) {\n dslCallbacks[i].call(this);\n }\n });\n\n if (true\n /* DEBUG */\n ) {\n if ((0, _metal.get)(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\n _buildDSL() {\n var enableLoadingSubstates = this._hasModuleBasedResolver();\n\n var router = this;\n var owner = (0, _owner.getOwner)(this);\n var options = {\n enableLoadingSubstates,\n\n resolveRouteMap(name) {\n return owner.factoryFor(`route-map:${name}`);\n },\n\n addRouteForEngine(name, engineInfo) {\n if (!router._engineInfoByRoute[name]) {\n router._engineInfoByRoute[name] = engineInfo;\n }\n }\n\n };\n return new _dsl.default(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\n\n _resetQueuedQueryParameterChanges() {\n this._queuedQPChanges = {};\n }\n\n _hasModuleBasedResolver() {\n var owner = (0, _owner.getOwner)(this);\n\n if (!owner) {\n return false;\n }\n\n var resolver = (0, _metal.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\n\n startRouting() {\n var initialURL = (0, _metal.get)(this, 'initialURL');\n\n if (this.setupRouter()) {\n if (initialURL === undefined) {\n initialURL = (0, _metal.get)(this, 'location').getURL();\n }\n\n var initialTransition = this.handleURL(initialURL);\n\n if (initialTransition && initialTransition.error) {\n throw initialTransition.error;\n }\n }\n }\n\n setupRouter() {\n this._setupLocation();\n\n var location = (0, _metal.get)(this, 'location'); // Allow the Location class to cancel the router setup while it refreshes\n // the page\n\n if ((0, _metal.get)(location, 'cancelRouterSetup')) {\n return false;\n }\n\n this._initRouterJs();\n\n location.onUpdateURL(url => {\n this.handleURL(url);\n });\n return true;\n }\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\n var routeInfos = this._routerMicrolib.currentRouteInfos;\n\n if (!routeInfos) {\n return;\n }\n\n var defaultParentState;\n var liveRoutes = null;\n\n for (var i = 0; i < routeInfos.length; i++) {\n var route = routeInfos[i].route;\n\n var connections = _route.ROUTE_CONNECTIONS.get(route);\n\n var ownState = void 0;\n\n if (connections.length === 0) {\n ownState = representEmptyRoute(liveRoutes, defaultParentState, route);\n } else {\n for (var j = 0; j < connections.length; j++) {\n var appended = appendLiveRoute(liveRoutes, defaultParentState, connections[j]);\n liveRoutes = appended.liveRoutes;\n var {\n name,\n outlet\n } = appended.ownState.render;\n\n if (name === route.routeName || outlet === 'main') {\n ownState = appended.ownState;\n }\n }\n }\n\n defaultParentState = ownState;\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\n\n if (!liveRoutes) {\n return;\n }\n\n if (!this._toplevelView) {\n var owner = (0, _owner.getOwner)(this);\n var OutletView = owner.factoryFor('view:-outlet');\n this._toplevelView = OutletView.create();\n\n this._toplevelView.setOutletState(liveRoutes);\n\n var instance = owner.lookup('-application-instance:main');\n instance.didCreateRootView(this._toplevelView);\n } else {\n this._toplevelView.setOutletState(liveRoutes);\n }\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 var _url = url.split(/#(.+)?/)[0];\n return this._doURLTransition('handleURL', _url);\n }\n\n _doURLTransition(routerJsMethod, url) {\n var transition = this._routerMicrolib[routerJsMethod](url || '/');\n\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 See [transitionTo](/ember/release/classes/Route/methods/transitionTo?anchor=transitionTo) for more info.\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\n\n transitionTo(...args) {\n if ((0, _utils.resemblesURL)(args[0])) {\n (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.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\n var {\n routeName,\n models,\n queryParams\n } = (0, _utils.extractRouteArgs)(args);\n (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.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\n intermediateTransitionTo(name, ...args) {\n this._routerMicrolib.intermediateTransitionTo(name, ...args);\n\n updatePaths(this);\n\n if (true\n /* DEBUG */\n ) {\n var infos = this._routerMicrolib.currentRouteInfos;\n\n if ((0, _metal.get)(this, 'namespace').LOG_TRANSITIONS) {\n // eslint-disable-next-line no-console\n console.log(`Intermediate-transitioned into '${EmberRouter._routePath(infos)}'`);\n }\n }\n }\n\n replaceWith(...args) {\n return this.transitionTo(...args).method('replace');\n }\n\n generate(name, ...args) {\n var url = this._routerMicrolib.generate(name, ...args);\n\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\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\n\n isActiveIntent(routeName, models, queryParams) {\n return this.currentState.isActiveIntent(routeName, models, queryParams);\n }\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\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\n\n reset() {\n if (this._routerMicrolib) {\n this._routerMicrolib.reset();\n }\n }\n\n willDestroy() {\n if (this._toplevelView) {\n this._toplevelView.destroy();\n\n this._toplevelView = null;\n }\n\n this._super(...arguments);\n\n this.reset();\n var instances = this._engineInstances;\n\n for (var name in instances) {\n for (var id in instances[name]) {\n (0, _runloop.run)(instances[name][id], '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\n\n _activeQPChanged(queryParameterName, newValue) {\n this._queuedQPChanges[queryParameterName] = newValue;\n (0, _runloop.once)(this, this._fireQueryParamTransition);\n }\n\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\n\n _fireQueryParamTransition() {\n this.transitionTo({\n queryParams: this._queuedQPChanges\n });\n\n this._resetQueuedQueryParameterChanges();\n }\n\n _setupLocation() {\n var location = this.location;\n var rootURL = this.rootURL;\n var owner = (0, _owner.getOwner)(this);\n\n if ('string' === typeof location && owner) {\n var resolvedLocation = owner.lookup(`location:${location}`);\n\n if (resolvedLocation !== undefined) {\n location = (0, _metal.set)(this, 'location', resolvedLocation);\n } else {\n // Allow for deprecated registration of custom location API's\n var options = {\n implementation: location\n };\n location = (0, _metal.set)(this, 'location', _api.default.create(options));\n }\n }\n\n if (location !== null && typeof location === 'object') {\n if (rootURL) {\n (0, _metal.set)(location, 'rootURL', rootURL);\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\n\n if (typeof location.detect === 'function') {\n location.detect();\n } // ensure that initState is called AFTER the rootURL is set on\n // the location instance\n\n\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\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, (0, _runtime.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\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\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\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\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 (0, _runtime.A)(JSON.parse(value));\n }\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\n\n _pruneDefaultQueryParamValues(routeInfos, queryParams) {\n var qps = this._queryParamsFor(routeInfos);\n\n for (var key in queryParams) {\n var qp = qps.map[key];\n\n if (qp && qp.serializedDefaultValue === queryParams[key]) {\n delete queryParams[key];\n }\n }\n }\n\n _doTransition(_targetRouteName, models, _queryParams, _keepDefaultQueryParamValues) {\n var targetRouteName = _targetRouteName || (0, _utils.getActiveTargetName)(this._routerMicrolib);\n\n (true && !(Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)) && (0, _debug.assert)(`The route ${targetRouteName} was not found`, Boolean(targetRouteName) && this._routerMicrolib.hasRoute(targetRouteName)));\n var queryParams = {};\n\n this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);\n\n (0, _polyfills.assign)(queryParams, _queryParams);\n\n this._prepareQueryParams(targetRouteName, models, queryParams, Boolean(_keepDefaultQueryParamValues));\n\n var transition = this._routerMicrolib.transitionTo(targetRouteName, ...models, {\n queryParams\n });\n\n didBeginTransition(transition, this);\n return transition;\n }\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\n var unchangedQPs = {};\n var qpUpdates = this._qpUpdates;\n var params = this._routerMicrolib.activeTransition[_router_js.QUERY_PARAMS_SYMBOL];\n\n for (var key in params) {\n if (!qpUpdates.has(key)) {\n unchangedQPs[key] = params[key];\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\n\n this._fullyScopeQueryParams(targetRouteName, models, _queryParams);\n\n this._fullyScopeQueryParams(targetRouteName, models, unchangedQPs);\n\n (0, _polyfills.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\n\n _prepareQueryParams(targetRouteName, models, queryParams, _fromRouterService) {\n var state = calculatePostTransitionState(this, targetRouteName, models);\n\n this._hydrateUnsuppliedQueryParams(state, queryParams, Boolean(_fromRouterService));\n\n this._serializeQueryParams(state.routeInfos, queryParams);\n\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\n\n _getQPMeta(routeInfo) {\n var route = routeInfo.route;\n return route && (0, _metal.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\n\n _queryParamsFor(routeInfos) {\n var routeInfoLength = routeInfos.length;\n var leafRouteName = routeInfos[routeInfoLength - 1].name;\n var cached = this._qpCache[leafRouteName];\n\n if (cached !== undefined) {\n return cached;\n }\n\n var shouldCache = true;\n var map = {};\n var qps = [];\n var qpsByUrlKey = true\n /* DEBUG */\n ? {} : null;\n var qpMeta;\n var qp;\n var urlKey;\n var qpOther;\n\n for (var i = 0; i < routeInfoLength; ++i) {\n qpMeta = this._getQPMeta(routeInfos[i]);\n\n if (!qpMeta) {\n shouldCache = false;\n continue;\n } // Loop over each QP to make sure we don't have any collisions by urlKey\n\n\n for (var _i = 0; _i < qpMeta.qps.length; _i++) {\n qp = qpMeta.qps[_i];\n\n if (true\n /* DEBUG */\n ) {\n urlKey = qp.urlKey;\n qpOther = qpsByUrlKey[urlKey];\n\n if (qpOther && qpOther.controllerName !== qp.controllerName) {\n (true && !(false) && (0, _debug.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\n qpsByUrlKey[urlKey] = qp;\n }\n\n qps.push(qp);\n }\n\n (0, _polyfills.assign)(map, qpMeta.map);\n }\n\n var finalQPMeta = {\n qps,\n map\n };\n\n if (shouldCache) {\n this._qpCache[leafRouteName] = finalQPMeta;\n }\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\n\n _fullyScopeQueryParams(leafRouteName, contexts, queryParams) {\n var state = calculatePostTransitionState(this, leafRouteName, contexts);\n var routeInfos = state.routeInfos;\n var qpMeta;\n\n for (var i = 0, len = routeInfos.length; i < len; ++i) {\n qpMeta = this._getQPMeta(routeInfos[i]);\n\n if (!qpMeta) {\n continue;\n }\n\n var qp = void 0;\n var presentProp = void 0;\n\n for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n qp = qpMeta.qps[j];\n presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n\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\n\n _hydrateUnsuppliedQueryParams(state, queryParams, _fromRouterService) {\n var routeInfos = state.routeInfos;\n var appCache = this._bucketCache;\n var qpMeta;\n var qp;\n var presentProp;\n\n for (var i = 0; i < routeInfos.length; ++i) {\n qpMeta = this._getQPMeta(routeInfos[i]);\n\n if (!qpMeta) {\n continue;\n }\n\n for (var j = 0, qpLen = qpMeta.qps.length; j < qpLen; ++j) {\n qp = qpMeta.qps[j];\n presentProp = qp.prop in queryParams && qp.prop || qp.scopedPropertyName in queryParams && qp.scopedPropertyName || qp.urlKey in queryParams && qp.urlKey;\n (true && !(function () {\n if (qp.urlKey === presentProp || qp.scopedPropertyName === presentProp) {\n return true;\n }\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\n return true;\n }()) && (0, _debug.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\n if (_fromRouterService && presentProp !== false && qp.urlKey !== qp.prop) {\n return false;\n }\n\n return true;\n }()));\n\n if (presentProp) {\n if (presentProp !== qp.scopedPropertyName) {\n queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n delete queryParams[presentProp];\n }\n } else {\n var cacheKey = (0, _utils.calculateCacheKey)(qp.route.fullRouteName, qp.parts, state.params);\n queryParams[qp.scopedPropertyName] = appCache.lookup(cacheKey, qp.prop, qp.defaultValue);\n }\n }\n }\n }\n\n _scheduleLoadingEvent(transition, originRoute) {\n this._cancelSlowTransitionTimer();\n\n this._slowTransitionTimer = (0, _runloop.scheduleOnce)('routerTransitions', this, '_handleSlowTransition', transition, originRoute);\n }\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\n var targetState = new _router_state.default(this, this._routerMicrolib, this._routerMicrolib.activeTransition[_router_js.STATE_SYMBOL]);\n this.set('targetState', targetState);\n transition.trigger(true, 'loading', transition, originRoute);\n }\n\n _cancelSlowTransitionTimer() {\n if (this._slowTransitionTimer) {\n (0, _runloop.cancel)(this._slowTransitionTimer);\n }\n\n this._slowTransitionTimer = null;\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\n\n _markErrorAsHandled(error) {\n this._handledErrors.add(error);\n }\n\n _isErrorHandled(error) {\n return this._handledErrors.has(error);\n }\n\n _clearHandledError(error) {\n this._handledErrors.delete(error);\n }\n\n _getEngineInstance({\n name,\n instanceId,\n mountPoint\n }) {\n var engineInstances = this._engineInstances;\n\n if (!engineInstances[name]) {\n engineInstances[name] = Object.create(null);\n }\n\n var engineInstance = engineInstances[name][instanceId];\n\n if (!engineInstance) {\n var owner = (0, _owner.getOwner)(this);\n (true && !(owner.hasRegistration(`engine:${name}`)) && (0, _debug.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 engineInstances[name][instanceId] = engineInstance;\n }\n\n return engineInstance;\n }\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 */\n\n\n function forEachRouteAbove(routeInfos, callback) {\n for (var i = routeInfos.length - 1; i >= 0; --i) {\n var routeInfo = routeInfos[i];\n var route = routeInfo.route; // 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\n if (route === undefined) {\n continue;\n }\n\n if (callback(route, routeInfo) !== true) {\n return;\n }\n }\n } // These get invoked when an action bubbles above ApplicationRoute\n // and are not meant to be overridable.\n\n\n var defaultActionHandlers = {\n willResolveModel(_routeInfos, transition, originRoute) {\n this._scheduleLoadingEvent(transition, originRoute);\n },\n\n // Attempt to find an appropriate error route or substate to enter.\n error(routeInfos, error, transition) {\n var router = this;\n var 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 var errorRouteName = findRouteStateName(route, 'error');\n\n if (errorRouteName) {\n router._markErrorAsHandled(error);\n\n router.intermediateTransitionTo(errorRouteName, error);\n return false;\n }\n } // Check for an 'error' substate route\n\n\n var errorSubstateName = findRouteSubstateName(route, 'error');\n\n if (errorSubstateName) {\n router._markErrorAsHandled(error);\n\n router.intermediateTransitionTo(errorSubstateName, error);\n return false;\n }\n\n return true;\n });\n logError(error, `Error while processing route: ${transition.targetName}`);\n },\n\n // Attempt to find an appropriate loading route or substate to enter.\n loading(routeInfos, transition) {\n var router = this;\n var 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 var loadingRouteName = findRouteStateName(route, 'loading');\n\n if (loadingRouteName) {\n router.intermediateTransitionTo(loadingRouteName);\n return false;\n }\n } // Check for loading substate\n\n\n var loadingSubstateName = findRouteSubstateName(route, 'loading');\n\n if (loadingSubstateName) {\n router.intermediateTransitionTo(loadingSubstateName);\n return false;\n } // Don't bubble above pivot route.\n\n\n return transition.pivotHandler !== route;\n });\n }\n\n };\n\n function logError(_error, initialMessage) {\n var errorArgs = [];\n var error;\n\n if (_error && typeof _error === 'object' && typeof _error.errorThrown === 'object') {\n error = _error.errorThrown;\n } else {\n error = _error;\n }\n\n if (initialMessage) {\n errorArgs.push(initialMessage);\n }\n\n if (error) {\n if (error.message) {\n errorArgs.push(error.message);\n }\n\n if (error.stack) {\n errorArgs.push(error.stack);\n }\n\n if (typeof error === 'string') {\n errorArgs.push(error);\n }\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 */\n\n\n function findRouteSubstateName(route, state) {\n var owner = (0, _owner.getOwner)(route);\n var {\n routeName,\n fullRouteName,\n _router: router\n } = route;\n var substateName = `${routeName}_${state}`;\n var 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 */\n\n\n function findRouteStateName(route, state) {\n var owner = (0, _owner.getOwner)(route);\n var {\n routeName,\n fullRouteName,\n _router: router\n } = route;\n var stateName = routeName === 'application' ? state : `${routeName}.${state}`;\n var 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 */\n\n\n function routeHasBeenDefined(owner, router, localName, fullName) {\n var routerHasRoute = router.hasRoute(fullName);\n var ownerHasRoute = owner.hasRegistration(`template:${localName}`) || owner.hasRegistration(`route:${localName}`);\n return routerHasRoute && ownerHasRoute;\n }\n\n function triggerEvent(routeInfos, ignoreFailure, name, args) {\n if (!routeInfos) {\n if (ignoreFailure) {\n return;\n }\n\n throw new _error2.default(`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\n var eventWasHandled = false;\n var routeInfo, handler, actionHandler;\n\n for (var i = routeInfos.length - 1; i >= 0; i--) {\n routeInfo = routeInfos[i];\n handler = routeInfo.route;\n actionHandler = handler && handler.actions && handler.actions[name];\n\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 handler._router._markErrorAsHandled(args[0]);\n }\n\n return;\n }\n }\n }\n\n var defaultHandler = defaultActionHandlers[name];\n\n if (defaultHandler) {\n defaultHandler.apply(this, [routeInfos, ...args]);\n return;\n }\n\n if (!eventWasHandled && !ignoreFailure) {\n throw new _error2.default(`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 }\n\n function calculatePostTransitionState(emberRouter, leafRouteName, contexts) {\n var state = emberRouter._routerMicrolib.applyIntent(leafRouteName, contexts);\n\n var {\n routeInfos,\n params\n } = state;\n\n for (var i = 0; i < routeInfos.length; ++i) {\n var routeInfo = routeInfos[i]; // If the routeInfo is not resolved, we serialize the context into params\n\n if (!routeInfo.isResolved) {\n params[routeInfo.name] = routeInfo.serialize(routeInfo.context);\n } else {\n params[routeInfo.name] = routeInfo.params;\n }\n }\n\n return state;\n }\n\n function updatePaths(router) {\n var infos = router._routerMicrolib.currentRouteInfos;\n\n if (infos.length === 0) {\n return;\n }\n\n var path = EmberRouter._routePath(infos);\n\n var currentRouteName = infos[infos.length - 1].name;\n var currentURL = router.get('location').getURL();\n (0, _metal.set)(router, 'currentPath', path);\n (0, _metal.set)(router, 'currentRouteName', currentRouteName);\n (0, _metal.set)(router, 'currentURL', currentURL);\n var appController = (0, _owner.getOwner)(router).lookup('controller:application');\n\n if (!appController) {\n // appController might not exist when top-level loading/error\n // substates have been entered since ApplicationRoute hasn't\n // actually been entered at that point.\n return;\n }\n\n if (_deprecatedFeatures.APP_CTRL_ROUTER_PROPS) {\n if (!('currentPath' in appController)) {\n Object.defineProperty(appController, 'currentPath', {\n get() {\n (true && !(false) && (0, _debug.deprecate)('Accessing `currentPath` on `controller:application` is deprecated, use the `currentPath` property on `service:router` instead.', false, {\n id: 'application-controller.router-properties',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_application-controller-router-properties'\n }));\n return (0, _metal.get)(router, 'currentPath');\n }\n\n });\n }\n\n (0, _metal.notifyPropertyChange)(appController, 'currentPath');\n\n if (!('currentRouteName' in appController)) {\n Object.defineProperty(appController, 'currentRouteName', {\n get() {\n (true && !(false) && (0, _debug.deprecate)('Accessing `currentRouteName` on `controller:application` is deprecated, use the `currentRouteName` property on `service:router` instead.', false, {\n id: 'application-controller.router-properties',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_application-controller-router-properties'\n }));\n return (0, _metal.get)(router, 'currentRouteName');\n }\n\n });\n }\n\n (0, _metal.notifyPropertyChange)(appController, 'currentRouteName');\n }\n }\n\n EmberRouter.reopenClass({\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 map(callback) {\n if (!this.dslCallbacks) {\n this.dslCallbacks = [];\n this.reopenClass({\n dslCallbacks: this.dslCallbacks\n });\n }\n\n this.dslCallbacks.push(callback);\n return this;\n },\n\n _routePath(routeInfos) {\n var path = []; // 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\n function intersectionMatches(a1, a2) {\n for (var i = 0; i < a1.length; ++i) {\n if (a1[i] !== a2[i]) {\n return false;\n }\n }\n\n return true;\n }\n\n var name, nameParts, oldNameParts;\n\n for (var i = 1; i < routeInfos.length; i++) {\n name = routeInfos[i].name;\n nameParts = name.split('.');\n oldNameParts = slice.call(path);\n\n while (oldNameParts.length) {\n if (intersectionMatches(oldNameParts, nameParts)) {\n break;\n }\n\n oldNameParts.shift();\n }\n\n path.push(...nameParts.slice(oldNameParts.length));\n }\n\n return path.join('.');\n }\n\n });\n\n function didBeginTransition(transition, router) {\n var routerState = new _router_state.default(router, router._routerMicrolib, transition[_router_js.STATE_SYMBOL]);\n\n if (!router.currentState) {\n router.set('currentState', routerState);\n }\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 }\n\n function forEachQueryParam(router, routeInfos, queryParams, callback) {\n var qpCache = router._queryParamsFor(routeInfos);\n\n for (var key in queryParams) {\n if (!Object.prototype.hasOwnProperty.call(queryParams, key)) {\n continue;\n }\n\n var value = queryParams[key];\n var qp = qpCache.map[key];\n callback(key, value, qp);\n }\n }\n\n function findLiveRoute(liveRoutes, name) {\n if (!liveRoutes) {\n return;\n }\n\n var stack = [liveRoutes];\n\n while (stack.length > 0) {\n var test = stack.shift();\n\n if (test.render.name === name) {\n return test;\n }\n\n var outlets = test.outlets;\n\n for (var outletName in outlets) {\n stack.push(outlets[outletName]);\n }\n }\n\n return;\n }\n\n function appendLiveRoute(liveRoutes, defaultParentState, renderOptions) {\n var ownState = {\n render: renderOptions,\n outlets: Object.create(null),\n wasUsed: false\n };\n var target;\n\n if (renderOptions.into) {\n target = findLiveRoute(liveRoutes, renderOptions.into);\n } else {\n target = defaultParentState;\n }\n\n if (target) {\n (0, _metal.set)(target.outlets, renderOptions.outlet, ownState);\n } else {\n liveRoutes = ownState;\n }\n\n return {\n liveRoutes,\n ownState\n };\n }\n\n function representEmptyRoute(liveRoutes, defaultParentState, {\n routeName\n }) {\n // the route didn't render anything\n var alreadyAppended = findLiveRoute(liveRoutes, routeName);\n\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 }\n\n EmberRouter.reopen(_runtime.Evented, {\n /**\n Handles updating the paths and notifying any listeners of the URL\n change.\n Triggers the router level `didTransition` hook.\n For example, to notify google analytics when the route changes,\n you could use this hook. (Note: requires also including GA scripts, etc.)\n ```javascript\n import config from './config/environment';\n import EmberRouter from '@ember/routing/router';\n import { inject as service } from '@ember/service';\n let Router = EmberRouter.extend({\n location: config.locationType,\n router: service(),\n didTransition: function() {\n this._super(...arguments);\n ga('send', 'pageview', {\n page: this.router.currentURL,\n title: this.router.currentRouteName,\n });\n }\n });\n ```\n @method didTransition\n @public\n @since 1.2.0\n */\n didTransition: defaultDidTransition,\n\n /**\n Handles notifying any listeners of an impending URL\n change.\n Triggers the router level `willTransition` hook.\n @method willTransition\n @public\n @since 1.11.0\n */\n willTransition: defaultWillTransition,\n\n /**\n Represents the URL of the root of the application, often '/'. This prefix is\n assumed on all routes defined on this router.\n @property rootURL\n @default '/'\n @public\n */\n rootURL: '/',\n\n /**\n The `location` property determines the type of URL's that your\n application will use.\n The following location types are currently available:\n * `history` - use the browser's history API to make the URLs look just like any standard URL\n * `hash` - use `#` to separate the server part of the URL from the Ember part: `/blog/#/posts/new`\n * `none` - do not store the Ember URL in the actual browser URL (mainly used for testing)\n * `auto` - use the best option based on browser capabilities: `history` if possible, then `hash` if possible, otherwise `none`\n This value is defaulted to `auto` by the `locationType` setting of `/config/environment.js`\n @property location\n @default 'hash'\n @see {Location}\n @public\n */\n location: 'hash',\n\n /**\n Represents the current URL.\n @property url\n @type {String}\n @private\n */\n url: (0, _metal.computed)(function () {\n var location = (0, _metal.get)(this, 'location');\n\n if (typeof location === 'string') {\n return undefined;\n }\n\n return location.getURL();\n })\n });\n\n if (_deprecatedFeatures.ROUTER_EVENTS) {\n EmberRouter.reopen(_route.ROUTER_EVENT_DEPRECATIONS);\n }\n\n var _default = EmberRouter;\n _exports.default = _default;\n});","define(\"@ember/-internals/routing/lib/system/router_state\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/routing/lib/utils\"], function (_exports, _polyfills, _utils) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n class RouterState {\n constructor(emberRouter, router, routerJsState) {\n this.emberRouter = emberRouter;\n this.router = router;\n this.routerJsState = routerJsState;\n }\n\n isActiveIntent(routeName, models, queryParams, queryParamsMustMatch) {\n var state = this.routerJsState;\n\n if (!this.router.isActiveIntent(routeName, models, undefined, state)) {\n return false;\n }\n\n if (queryParamsMustMatch && Object.keys(queryParams).length > 0) {\n var visibleQueryParams = (0, _polyfills.assign)({}, queryParams);\n\n this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\n\n return (0, _utils.shallowEqual)(visibleQueryParams, state.queryParams);\n }\n\n return true;\n }\n\n }\n\n _exports.default = RouterState;\n});","define(\"@ember/-internals/routing/lib/system/transition\", [], function () {\n \"use strict\";\n /**\n A Transition is a thennable (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 @public\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 /**\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 /**\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 thennable,\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\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\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 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\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\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\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\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\n /**\n * This property is a `RouteInfo` object that represents\n * where the router is transitioning to. It's important\n * to note that a `RouteInfo` is a linked list and this\n * property represents the leafmost route.\n * @property {null|RouteInfo|RouteInfoWithAttributes} to\n * @public\n */\n\n /**\n * This property is a `RouteInfo` object that represents\n * where transition originated from. It's important\n * to note that a `RouteInfo` is a linked list and this\n * property represents the head node of the list.\n * In the case of an initial render, `from` will be set to\n * `null`.\n * @property {null|RouteInfoWithAttributes} from\n * @public\n */\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});","define(\"@ember/-internals/routing/lib/utils\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/owner\", \"@ember/error\", \"@ember/polyfills\", \"router_js\"], function (_exports, _metal, _owner, _error, _polyfills, _router_js) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.extractRouteArgs = extractRouteArgs;\n _exports.getActiveTargetName = getActiveTargetName;\n _exports.stashParamNames = stashParamNames;\n _exports.calculateCacheKey = calculateCacheKey;\n _exports.normalizeControllerQueryParams = normalizeControllerQueryParams;\n _exports.resemblesURL = resemblesURL;\n _exports.prefixRouteNameArg = prefixRouteNameArg;\n _exports.shallowEqual = shallowEqual;\n var ALL_PERIODS_REGEX = /\\./g;\n\n function extractRouteArgs(args) {\n args = args.slice();\n var possibleQueryParams = args[args.length - 1];\n var queryParams;\n\n if (possibleQueryParams && Object.prototype.hasOwnProperty.call(possibleQueryParams, 'queryParams')) {\n // SAFETY: this cast is safe because we have just checked whether\n // `possibleQueryParams` -- defined as the last item in args -- both exists\n // and has the property `queryParams`. If either of these invariants change,\n // ***this is unsafe and should be changed***.\n queryParams = args.pop().queryParams;\n } else {\n queryParams = {};\n } // UNSAFE: these are simply assumed as the existing behavior of the system.\n // However, this could break if upstream refactors change it, and the types\n // here would not be able to tell us; we would lie to everything downstream.\n\n\n var routeName = args.shift();\n var models = args;\n return {\n routeName,\n models,\n queryParams\n };\n }\n\n function getActiveTargetName(router) {\n var routeInfos = router.activeTransition ? router.activeTransition[_router_js.STATE_SYMBOL].routeInfos : router.state.routeInfos;\n return routeInfos[routeInfos.length - 1].name;\n }\n\n function stashParamNames(router, routeInfos) {\n if (routeInfos['_namesStashed']) {\n return;\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\n\n var targetRouteName = routeInfos[routeInfos.length - 1].name;\n\n var recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n\n var dynamicParent;\n\n for (var i = 0; i < routeInfos.length; ++i) {\n var routeInfo = routeInfos[i];\n var names = recogHandlers[i].names;\n\n if (names.length) {\n dynamicParent = routeInfo;\n }\n\n routeInfo['_names'] = names;\n var route = routeInfo.route;\n\n route._stashNames(routeInfo, dynamicParent);\n }\n\n routeInfos['_namesStashed'] = true;\n }\n\n function _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 var prefixParts = prefix.split('.');\n var currPrefix = '';\n\n for (var i = 0; i < prefixParts.length; i++) {\n var currPart = prefixParts.slice(0, i + 1).join('.');\n\n if (part.indexOf(currPart) !== 0) {\n break;\n }\n\n currPrefix = currPart;\n }\n\n return currPrefix;\n }\n /*\n Stolen from Controller\n */\n\n\n function calculateCacheKey(prefix, parts = [], values) {\n var suffixes = '';\n\n for (var i = 0; i < parts.length; ++i) {\n var part = parts[i];\n\n var cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n\n var value = void 0;\n\n if (values) {\n if (cacheValuePrefix && cacheValuePrefix in values) {\n var partRemovedPrefix = part.indexOf(cacheValuePrefix) === 0 ? part.substr(cacheValuePrefix.length + 1) : part;\n value = (0, _metal.get)(values[cacheValuePrefix], partRemovedPrefix);\n } else {\n value = (0, _metal.get)(values, part);\n }\n }\n\n suffixes += `::${part}:${value}`;\n }\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 */\n\n\n function normalizeControllerQueryParams(queryParams) {\n var qpMap = {};\n\n for (var i = 0; i < queryParams.length; ++i) {\n accumulateQueryParamDescriptors(queryParams[i], qpMap);\n }\n\n return qpMap;\n }\n\n function accumulateQueryParamDescriptors(_desc, accum) {\n var desc = _desc;\n var tmp;\n\n if (typeof desc === 'string') {\n tmp = {};\n tmp[desc] = {\n as: null\n };\n desc = tmp;\n }\n\n for (var key in desc) {\n if (!Object.prototype.hasOwnProperty.call(desc, key)) {\n return;\n }\n\n var singleDesc = desc[key];\n\n if (typeof singleDesc === 'string') {\n singleDesc = {\n as: singleDesc\n };\n }\n\n tmp = accum[key] || {\n as: null,\n scope: 'model'\n };\n (0, _polyfills.assign)(tmp, singleDesc);\n accum[key] = tmp;\n }\n }\n /*\n Check if a routeName resembles a url instead\n \n @private\n */\n\n\n 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 */\n\n\n function prefixRouteNameArg(route, args) {\n var routeName = args[0];\n var owner = (0, _owner.getOwner)(route);\n var prefix = owner.mountPoint; // only alter the routeName if it's actually referencing a route.\n\n if (owner.routable && typeof routeName === 'string') {\n if (resemblesURL(routeName)) {\n throw new _error.default('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\n return args;\n }\n\n function shallowEqual(a, b) {\n var k;\n var aCount = 0;\n var bCount = 0;\n\n for (k in a) {\n if (Object.prototype.hasOwnProperty.call(a, k)) {\n if (a[k] !== b[k]) {\n return false;\n }\n\n aCount++;\n }\n }\n\n for (k in b) {\n if (Object.prototype.hasOwnProperty.call(b, k)) {\n bCount++;\n }\n }\n\n return aCount === bCount;\n }\n});","define(\"@ember/-internals/runtime/index\", [\"exports\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/registry_proxy\", \"@ember/-internals/runtime/lib/mixins/container_proxy\", \"@ember/-internals/runtime/lib/copy\", \"@ember/-internals/runtime/lib/compare\", \"@ember/-internals/runtime/lib/is-equal\", \"@ember/-internals/runtime/lib/mixins/array\", \"@ember/-internals/runtime/lib/mixins/comparable\", \"@ember/-internals/runtime/lib/system/namespace\", \"@ember/-internals/runtime/lib/system/array_proxy\", \"@ember/-internals/runtime/lib/system/object_proxy\", \"@ember/-internals/runtime/lib/system/core_object\", \"@ember/-internals/runtime/lib/mixins/action_handler\", \"@ember/-internals/runtime/lib/mixins/copyable\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/runtime/lib/mixins/-proxy\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", \"@ember/-internals/runtime/lib/mixins/target_action_support\", \"@ember/-internals/runtime/lib/mixins/evented\", \"@ember/-internals/runtime/lib/mixins/promise_proxy\", \"@ember/-internals/runtime/lib/ext/rsvp\", \"@ember/-internals/runtime/lib/type-of\", \"@ember/-internals/runtime/lib/ext/function\"], function (_exports, _object, _registry_proxy, _container_proxy, _copy, _compare, _isEqual, _array, _comparable, _namespace, _array_proxy, _object_proxy, _core_object, _action_handler, _copyable, _enumerable, _proxy, _observable, _mutable_enumerable, _target_action_support, _evented, _promise_proxy, _rsvp, _typeOf, _function) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"Object\", {\n enumerable: true,\n get: function () {\n return _object.default;\n }\n });\n Object.defineProperty(_exports, \"FrameworkObject\", {\n enumerable: true,\n get: function () {\n return _object.FrameworkObject;\n }\n });\n Object.defineProperty(_exports, \"RegistryProxyMixin\", {\n enumerable: true,\n get: function () {\n return _registry_proxy.default;\n }\n });\n Object.defineProperty(_exports, \"ContainerProxyMixin\", {\n enumerable: true,\n get: function () {\n return _container_proxy.default;\n }\n });\n Object.defineProperty(_exports, \"copy\", {\n enumerable: true,\n get: function () {\n return _copy.default;\n }\n });\n Object.defineProperty(_exports, \"compare\", {\n enumerable: true,\n get: function () {\n return _compare.default;\n }\n });\n Object.defineProperty(_exports, \"isEqual\", {\n enumerable: true,\n get: function () {\n return _isEqual.default;\n }\n });\n Object.defineProperty(_exports, \"Array\", {\n enumerable: true,\n get: function () {\n return _array.default;\n }\n });\n Object.defineProperty(_exports, \"NativeArray\", {\n enumerable: true,\n get: function () {\n return _array.NativeArray;\n }\n });\n Object.defineProperty(_exports, \"A\", {\n enumerable: true,\n get: function () {\n return _array.A;\n }\n });\n Object.defineProperty(_exports, \"MutableArray\", {\n enumerable: true,\n get: function () {\n return _array.MutableArray;\n }\n });\n Object.defineProperty(_exports, \"removeAt\", {\n enumerable: true,\n get: function () {\n return _array.removeAt;\n }\n });\n Object.defineProperty(_exports, \"uniqBy\", {\n enumerable: true,\n get: function () {\n return _array.uniqBy;\n }\n });\n Object.defineProperty(_exports, \"isArray\", {\n enumerable: true,\n get: function () {\n return _array.isArray;\n }\n });\n Object.defineProperty(_exports, \"Comparable\", {\n enumerable: true,\n get: function () {\n return _comparable.default;\n }\n });\n Object.defineProperty(_exports, \"Namespace\", {\n enumerable: true,\n get: function () {\n return _namespace.default;\n }\n });\n Object.defineProperty(_exports, \"ArrayProxy\", {\n enumerable: true,\n get: function () {\n return _array_proxy.default;\n }\n });\n Object.defineProperty(_exports, \"ObjectProxy\", {\n enumerable: true,\n get: function () {\n return _object_proxy.default;\n }\n });\n Object.defineProperty(_exports, \"CoreObject\", {\n enumerable: true,\n get: function () {\n return _core_object.default;\n }\n });\n Object.defineProperty(_exports, \"ActionHandler\", {\n enumerable: true,\n get: function () {\n return _action_handler.default;\n }\n });\n Object.defineProperty(_exports, \"Copyable\", {\n enumerable: true,\n get: function () {\n return _copyable.default;\n }\n });\n Object.defineProperty(_exports, \"Enumerable\", {\n enumerable: true,\n get: function () {\n return _enumerable.default;\n }\n });\n Object.defineProperty(_exports, \"_ProxyMixin\", {\n enumerable: true,\n get: function () {\n return _proxy.default;\n }\n });\n Object.defineProperty(_exports, \"_contentFor\", {\n enumerable: true,\n get: function () {\n return _proxy.contentFor;\n }\n });\n Object.defineProperty(_exports, \"Observable\", {\n enumerable: true,\n get: function () {\n return _observable.default;\n }\n });\n Object.defineProperty(_exports, \"MutableEnumerable\", {\n enumerable: true,\n get: function () {\n return _mutable_enumerable.default;\n }\n });\n Object.defineProperty(_exports, \"TargetActionSupport\", {\n enumerable: true,\n get: function () {\n return _target_action_support.default;\n }\n });\n Object.defineProperty(_exports, \"Evented\", {\n enumerable: true,\n get: function () {\n return _evented.default;\n }\n });\n Object.defineProperty(_exports, \"PromiseProxyMixin\", {\n enumerable: true,\n get: function () {\n return _promise_proxy.default;\n }\n });\n Object.defineProperty(_exports, \"RSVP\", {\n enumerable: true,\n get: function () {\n return _rsvp.default;\n }\n });\n Object.defineProperty(_exports, \"onerrorDefault\", {\n enumerable: true,\n get: function () {\n return _rsvp.onerrorDefault;\n }\n });\n Object.defineProperty(_exports, \"typeOf\", {\n enumerable: true,\n get: function () {\n return _typeOf.typeOf;\n }\n });\n});","define(\"@ember/-internals/runtime/lib/compare\", [\"exports\", \"@ember/-internals/runtime/lib/type-of\", \"@ember/-internals/runtime/lib/mixins/comparable\"], function (_exports, _typeOf, _comparable) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = compare;\n var 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 }; //\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 `------'`\n\n function spaceship(a, b) {\n var diff = a - b;\n return (diff > 0) - (diff < 0);\n }\n /**\n @module @ember/utils\n */\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 */\n\n\n function compare(v, w) {\n if (v === w) {\n return 0;\n }\n\n var type1 = (0, _typeOf.typeOf)(v);\n var type2 = (0, _typeOf.typeOf)(w);\n\n if (type1 === 'instance' && _comparable.default.detect(v) && v.constructor.compare) {\n return v.constructor.compare(v, w);\n }\n\n if (type2 === 'instance' && _comparable.default.detect(w) && w.constructor.compare) {\n return w.constructor.compare(w, v) * -1;\n }\n\n var res = spaceship(TYPE_ORDER[type1], TYPE_ORDER[type2]);\n\n if (res !== 0) {\n return res;\n } // types are equal - so we have to check values now\n\n\n switch (type1) {\n case 'boolean':\n case 'number':\n return spaceship(v, w);\n\n case 'string':\n return spaceship(v.localeCompare(w), 0);\n\n case 'array':\n {\n var vLen = v.length;\n var wLen = w.length;\n var len = Math.min(vLen, wLen);\n\n for (var i = 0; i < len; i++) {\n var r = compare(v[i], w[i]);\n\n if (r !== 0) {\n return r;\n }\n } // all elements are equal now\n // shorter array should be ordered first\n\n\n return spaceship(vLen, wLen);\n }\n\n case 'instance':\n if (_comparable.default.detect(v)) {\n return v.compare(v, w);\n }\n\n return 0;\n\n case 'date':\n return spaceship(v.getTime(), w.getTime());\n\n default:\n return 0;\n }\n }\n});","define(\"@ember/-internals/runtime/lib/copy\", [\"exports\", \"@ember/debug\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/copyable\"], function (_exports, _debug, _object, _copyable) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = copy;\n\n /**\n @module @ember/object\n */\n function _copy(obj, deep, seen, copies) {\n // primitive data types are immutable, just return them.\n if (typeof obj !== 'object' || obj === null) {\n return obj;\n }\n\n var ret, loc; // avoid cyclical loops\n\n if (deep && (loc = seen.indexOf(obj)) >= 0) {\n return copies[loc];\n }\n\n if (deep) {\n seen.push(obj);\n } // IMPORTANT: this specific test will detect a native array only. Any other\n // object will need to implement Copyable.\n\n\n if (Array.isArray(obj)) {\n ret = obj.slice();\n\n if (deep) {\n copies.push(ret);\n loc = ret.length;\n\n while (--loc >= 0) {\n ret[loc] = _copy(ret[loc], deep, seen, copies);\n }\n }\n } else if (_copyable.default.detect(obj)) {\n ret = obj.copy(deep, seen, copies);\n\n if (deep) {\n copies.push(ret);\n }\n } else if (obj instanceof Date) {\n ret = new Date(obj.getTime());\n\n if (deep) {\n copies.push(ret);\n }\n } else {\n (true && !(!(obj instanceof _object.default) || _copyable.default.detect(obj)) && (0, _debug.assert)('Cannot clone an EmberObject that does not implement Copyable', !(obj instanceof _object.default) || _copyable.default.detect(obj)));\n ret = {};\n\n if (deep) {\n copies.push(ret);\n }\n\n var key;\n\n for (key in obj) {\n // support Null prototype\n if (!Object.prototype.hasOwnProperty.call(obj, key)) {\n continue;\n } // Prevents browsers that don't respect non-enumerability from\n // copying internal Ember properties\n\n\n if (key.substring(0, 2) === '__') {\n continue;\n }\n\n ret[key] = deep ? _copy(obj[key], deep, seen, copies) : obj[key];\n }\n }\n\n return ret;\n }\n /**\n Creates a shallow copy of the passed object. A deep copy of the object is\n returned if the optional `deep` argument is `true`.\n \n If the passed object implements the `Copyable` interface, then this\n function will delegate to the object's `copy()` method and return the\n result. See `Copyable` for further details.\n \n For primitive values (which are immutable in JavaScript), the passed object\n is simply returned.\n \n @method copy\n @deprecated Use 'ember-copy' addon instead\n @static\n @for @ember/object/internals\n @param {Object} obj The object to clone\n @param {Boolean} [deep=false] If true, a deep copy of the object is made.\n @return {Object} The copied object\n @public\n */\n\n\n function copy(obj, deep) {\n (true && !(false) && (0, _debug.deprecate)('Use ember-copy addon instead of copy method and Copyable mixin.', false, {\n id: 'ember-runtime.deprecate-copy-copyable',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x/#toc_ember-runtime-deprecate-copy-copyable'\n })); // fast paths\n\n if ('object' !== typeof obj || obj === null) {\n return obj; // can't copy primitives\n }\n\n if (!Array.isArray(obj) && _copyable.default.detect(obj)) {\n return obj.copy(deep);\n }\n\n return _copy(obj, deep, deep ? [] : null, deep ? [] : null);\n }\n});","define(\"@ember/-internals/runtime/lib/ext/function\", [\"@ember/-internals/environment\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/deprecated-features\"], function (_environment, _metal, _debug, _deprecatedFeatures) {\n \"use strict\";\n\n /**\n @module ember\n */\n if (_deprecatedFeatures.FUNCTION_PROTOTYPE_EXTENSIONS && _environment.ENV.EXTEND_PROTOTYPES.Function) {\n Object.defineProperties(Function.prototype, {\n /**\n The `property` extension of Javascript's Function prototype is available\n when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n `true`, which is the default.\n Computed properties allow you to treat a function like a property:\n ```app/utils/president.js\n import EmberObject from '@ember/object';\n export default EmberObject.extend({\n firstName: '',\n lastName: '',\n fullName: function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n }.property() // Call this flag to mark the function as a property\n });\n ```\n ```javascript\n let president = President.create({\n firstName: 'Barack',\n lastName: 'Obama'\n });\n president.get('fullName'); // 'Barack Obama'\n ```\n Treating a function like a property is useful because they can work with\n bindings, just like any other property.\n Many computed properties have dependencies on other properties. For\n example, in the above example, the `fullName` property depends on\n `firstName` and `lastName` to determine its value. You can tell Ember\n about these dependencies like this:\n ```app/utils/president.js\n import EmberObject from '@ember/object';\n export default EmberObject.extend({\n firstName: '',\n lastName: '',\n fullName: function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n // Tell Ember.js that this computed property depends on firstName\n // and lastName\n }.property('firstName', 'lastName')\n });\n ```\n Make sure you list these dependencies so Ember knows when to update\n bindings that connect to a computed property. Changing a dependency\n will not immediately trigger an update of the computed property, but\n will instead clear the cache so that it is updated when the next `get`\n is called on the property.\n See [ComputedProperty](/ember/release/classes/ComputedProperty), [@ember/object/computed](/ember/release/classes/@ember%2Fobject%2Fcomputed).\n @method property\n @for Function\n @public\n */\n property: {\n configurable: true,\n enumerable: false,\n writable: true,\n value: function () {\n (true && !(false) && (0, _debug.deprecate)(`Function prototype extensions have been deprecated, please migrate from function(){}.property('bar') to computed('bar', function() {}).`, false, {\n id: 'function-prototype-extensions.property',\n until: '4.0.0',\n url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-property'\n }));\n return (0, _metal.computed)(...arguments, this);\n }\n },\n\n /**\n The `observes` extension of Javascript's Function prototype is available\n when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n true, which is the default.\n You can observe property changes simply by adding the `observes`\n call to the end of your method declarations in classes that you write.\n For example:\n ```javascript\n import EmberObject from '@ember/object';\n EmberObject.extend({\n valueObserver: function() {\n // Executes whenever the \"value\" property changes\n }.observes('value')\n });\n ```\n In the future this method may become asynchronous.\n See `observer`.\n @method observes\n @for Function\n @public\n */\n observes: {\n configurable: true,\n enumerable: false,\n writable: true,\n value: function () {\n (true && !(false) && (0, _debug.deprecate)(`Function prototype extensions have been deprecated, please migrate from function(){}.observes('foo') to observer('foo', function() {}).`, false, {\n id: 'function-prototype-extensions.observes',\n until: '4.0.0',\n url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-observes'\n }));\n return (0, _metal.observer)(...arguments, this);\n }\n },\n\n /**\n The `on` extension of Javascript's Function prototype is available\n when `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Function` is\n true, which is the default.\n You can listen for events simply by adding the `on` call to the end of\n your method declarations in classes or mixins that you write. For example:\n ```javascript\n import Mixin from '@ember/mixin';\n Mixin.create({\n doSomethingWithElement: function() {\n // Executes whenever the \"didInsertElement\" event fires\n }.on('didInsertElement')\n });\n ```\n See `@ember/object/evented/on`.\n @method on\n @for Function\n @public\n */\n on: {\n configurable: true,\n enumerable: false,\n writable: true,\n value: function () {\n (true && !(false) && (0, _debug.deprecate)(`Function prototype extensions have been deprecated, please migrate from function(){}.on('foo') to on('foo', function() {}).`, false, {\n id: 'function-prototype-extensions.on',\n until: '4.0.0',\n url: 'https://deprecations.emberjs.com/v3.x#toc_function-prototype-extensions-on'\n }));\n return (0, _metal.on)(...arguments, this);\n }\n }\n });\n }\n});","define(\"@ember/-internals/runtime/lib/ext/rsvp\", [\"exports\", \"rsvp\", \"@ember/runloop\", \"@ember/-internals/error-handling\", \"@ember/debug\"], function (_exports, RSVP, _runloop, _errorHandling, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.onerrorDefault = onerrorDefault;\n _exports.default = void 0;\n RSVP.configure('async', (callback, promise) => {\n _runloop.backburner.schedule('actions', null, callback, promise);\n });\n RSVP.configure('after', cb => {\n _runloop.backburner.schedule(_runloop._rsvpErrorQueue, null, cb);\n });\n RSVP.on('error', onerrorDefault);\n\n function onerrorDefault(reason) {\n var error = errorFor(reason);\n\n if (error) {\n var overrideDispatch = (0, _errorHandling.getDispatchOverride)();\n\n if (overrideDispatch) {\n overrideDispatch(error);\n } else {\n throw error;\n }\n }\n }\n\n function errorFor(reason) {\n if (!reason) return;\n\n if (reason.errorThrown) {\n return unwrapErrorThrown(reason);\n }\n\n if (reason.name === 'UnrecognizedURLError') {\n (true && !(false) && (0, _debug.assert)(`The URL '${reason.message}' did not match any routes in your application`, false));\n return;\n }\n\n if (reason.name === 'TransitionAborted') {\n return;\n }\n\n return reason;\n }\n\n function unwrapErrorThrown(reason) {\n var error = reason.errorThrown;\n\n if (typeof error === 'string') {\n error = new Error(error);\n }\n\n Object.defineProperty(error, '__reason_with_error_thrown__', {\n value: reason,\n enumerable: false\n });\n return error;\n }\n\n var _default = RSVP;\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/is-equal\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = isEqual;\n\n /**\n @module @ember/utils\n */\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 */\n function isEqual(a, b) {\n if (a && typeof a.isEqual === 'function') {\n return a.isEqual(b);\n }\n\n if (a instanceof Date && b instanceof Date) {\n return a.getTime() === b.getTime();\n }\n\n return a === b;\n }\n});","define(\"@ember/-internals/runtime/lib/mixins/-proxy\", [\"exports\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/debug\", \"@glimmer/validator\"], function (_exports, _meta, _metal, _utils, _debug, _validator) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.contentFor = contentFor;\n _exports.default = void 0;\n\n /**\n @module ember\n */\n function contentFor(proxy) {\n var content = (0, _metal.get)(proxy, 'content');\n (0, _validator.updateTag)((0, _metal.tagForObject)(proxy), (0, _metal.tagForObject)(content));\n return content;\n }\n /**\n `Ember.ProxyMixin` forwards all properties not defined by the proxy itself\n to a proxied `content` object. See ObjectProxy for more details.\n \n @class ProxyMixin\n @namespace Ember\n @private\n */\n\n\n var _default = _metal.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\n init() {\n this._super(...arguments);\n\n (0, _utils.setProxy)(this);\n (0, _metal.tagForObject)(this);\n },\n\n willDestroy() {\n this.set('content', null);\n\n this._super(...arguments);\n },\n\n isTruthy: (0, _metal.computed)('content', function () {\n return Boolean((0, _metal.get)(this, 'content'));\n }),\n\n [_metal.CUSTOM_TAG_FOR](key, addMandatorySetter) {\n var meta = (0, _validator.tagMetaFor)(this);\n var tag = (0, _validator.tagFor)(this, key, meta);\n\n if (true\n /* DEBUG */\n ) {\n // TODO: Replace this with something more first class for tracking tags in DEBUG\n tag._propertyKey = key;\n }\n\n if (key in this) {\n if (true\n /* DEBUG */\n && addMandatorySetter) {\n (0, _utils.setupMandatorySetter)(tag, this, key);\n }\n\n return tag;\n } else {\n var tags = [tag, (0, _validator.tagFor)(this, 'content', meta)];\n var content = contentFor(this);\n\n if ((0, _utils.isObject)(content)) {\n tags.push((0, _metal.tagForProperty)(content, key, addMandatorySetter));\n }\n\n return (0, _validator.combine)(tags);\n }\n },\n\n unknownProperty(key) {\n var content = contentFor(this);\n\n if (content) {\n return (0, _metal.get)(content, key);\n }\n },\n\n setUnknownProperty(key, value) {\n var m = (0, _meta.meta)(this);\n\n if (m.isInitializing() || m.isPrototypeMeta(this)) {\n // if marked as prototype or object is initializing then just\n // defineProperty rather than delegate\n (0, _metal.defineProperty)(this, key, null, value);\n return value;\n }\n\n var content = contentFor(this);\n (true && !(content) && (0, _debug.assert)(`Cannot delegate set('${key}', ${value}) to the 'content' property of object proxy ${this}: its 'content' is undefined.`, content));\n return (0, _metal.set)(content, key, value);\n }\n\n });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/action_handler\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n\n /**\n `Ember.ActionHandler` is available on some familiar classes including\n `Route`, `Component`, and `Controller`.\n (Internally the mixin is used by `Ember.CoreView`, `Ember.ControllerMixin`,\n and `Route` and available to the above classes through\n inheritance.)\n \n @class ActionHandler\n @namespace Ember\n @private\n */\n var ActionHandler = _metal.Mixin.create({\n mergedProperties: ['actions'],\n\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/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/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 /**\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 (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed));\n\n if (this.actions && this.actions[actionName]) {\n var shouldBubble = this.actions[actionName].apply(this, args) === true;\n\n if (!shouldBubble) {\n return;\n }\n }\n\n var target = (0, _metal.get)(this, 'target');\n\n if (target) {\n (true && !(typeof target.send === 'function') && (0, _debug.assert)(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`, typeof target.send === 'function'));\n target.send(...arguments);\n }\n }\n\n });\n\n var _default = ActionHandler;\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/array\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/debug\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/runtime/lib/compare\", \"@ember/-internals/environment\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", \"@ember/-internals/runtime/lib/type-of\"], function (_exports, _metal, _utils, _debug, _enumerable, _compare, _environment, _observable, _mutable_enumerable, _typeOf) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.uniqBy = uniqBy;\n _exports.removeAt = removeAt;\n _exports.isArray = isArray;\n _exports.default = _exports.MutableArray = _exports.NativeArray = _exports.A = void 0;\n\n /**\n @module @ember/array\n */\n var EMPTY_ARRAY = Object.freeze([]);\n\n var identityFunction = item => item;\n\n function uniqBy(array, key = identityFunction) {\n (true && !(isArray(array)) && (0, _debug.assert)(`first argument passed to \\`uniqBy\\` should be array`, isArray(array)));\n var ret = A();\n var seen = new Set();\n var getter = typeof key === 'function' ? key : item => (0, _metal.get)(item, key);\n array.forEach(item => {\n var val = getter(item);\n\n if (!seen.has(val)) {\n seen.add(val);\n ret.push(item);\n }\n });\n return ret;\n }\n\n function iter(key, value) {\n var valueProvided = arguments.length === 2;\n return valueProvided ? item => value === (0, _metal.get)(item, key) : item => Boolean((0, _metal.get)(item, key));\n }\n\n function findIndex(array, predicate, startAt) {\n var len = array.length;\n\n for (var index = startAt; index < len; index++) {\n var item = (0, _metal.objectAt)(array, index);\n\n if (predicate(item, index, array)) {\n return index;\n }\n }\n\n return -1;\n }\n\n function find(array, callback, target) {\n var predicate = callback.bind(target);\n var index = findIndex(array, predicate, 0);\n return index === -1 ? undefined : (0, _metal.objectAt)(array, index);\n }\n\n function any(array, callback, target) {\n var predicate = callback.bind(target);\n return findIndex(array, predicate, 0) !== -1;\n }\n\n function every(array, callback, target) {\n var cb = callback.bind(target);\n\n var predicate = (item, index, array) => !cb(item, index, array);\n\n return findIndex(array, predicate, 0) === -1;\n }\n\n function indexOf(array, val, startAt = 0, withNaNCheck) {\n var len = array.length;\n\n if (startAt < 0) {\n startAt += len;\n } // SameValueZero comparison (NaN !== NaN)\n\n\n var predicate = withNaNCheck && val !== val ? item => item !== item : item => item === val;\n return findIndex(array, predicate, startAt);\n }\n\n function removeAt(array, index, len = 1) {\n (true && !(index > -1 && index < array.length) && (0, _debug.assert)(`\\`removeAt\\` index provided is out of range`, index > -1 && index < array.length));\n (0, _metal.replace)(array, index, len, EMPTY_ARRAY);\n return array;\n }\n\n function insertAt(array, index, item) {\n (true && !(index > -1 && index <= array.length) && (0, _debug.assert)(`\\`insertAt\\` index provided is out of range`, index > -1 && index <= array.length));\n (0, _metal.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 */\n\n\n function isArray(_obj) {\n var obj = _obj;\n\n if (true\n /* DEBUG */\n && _utils.HAS_NATIVE_PROXY && typeof _obj === 'object' && _obj !== null) {\n var possibleProxyContent = _obj[_metal.PROXY_CONTENT];\n\n if (possibleProxyContent !== undefined) {\n obj = possibleProxyContent;\n }\n }\n\n if (!obj || obj.setInterval) {\n return false;\n }\n\n if (Array.isArray(obj) || ArrayMixin.detect(obj)) {\n return true;\n }\n\n var type = (0, _typeOf.typeOf)(obj);\n\n if ('array' === type) {\n return true;\n }\n\n var length = obj.length;\n\n if (typeof length === 'number' && length === length && 'object' === type) {\n return true;\n }\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 */\n\n\n function nonEnumerableComputed() {\n var property = (0, _metal.computed)(...arguments);\n property.enumerable = false;\n return property;\n }\n\n function mapBy(key) {\n return this.map(next => (0, _metal.get)(next, key));\n } // ..........................................................\n // ARRAY\n //\n\n /**\n This mixin implements Observer-friendly Array-like behavior. It is not a\n concrete implementation, but it can be used up by other classes that want\n to appear like arrays.\n \n For example, ArrayProxy is a concrete class that can be instantiated to\n implement array-like behavior. This class uses the Array Mixin by way of\n the MutableArray mixin, which allows observable changes to be made to the\n underlying array.\n \n This mixin defines methods specifically for collections that provide\n index-ordered access to their contents. When you are designing code that\n needs to accept any kind of Array-like object, you should use these methods\n instead of Array primitives because these will properly notify observers of\n changes to the array.\n \n Although these methods are efficient, they do add a layer of indirection to\n your application so it is a good idea to use them only when you need the\n flexibility of using both true JavaScript arrays and \"virtual\" arrays such\n as controllers and collections.\n \n You can use the methods defined in this module to access and modify array\n contents in an observable-friendly way. You can also be notified whenever\n the membership of an array changes by using `.observes('myArray.[]')`.\n \n To support `EmberArray` in your own class, you must override two\n primitives to use it: `length()` and `objectAt()`.\n \n @class EmberArray\n @uses Enumerable\n @since Ember 0.9.0\n @public\n */\n\n\n var ArrayMixin = _metal.Mixin.create(_enumerable.default, {\n init() {\n this._super(...arguments);\n\n (0, _utils.setEmberArray)(this);\n },\n\n /**\n __Required.__ You must implement this method to apply this mixin.\n Your array must support the `length` property. Your replace methods should\n set this property whenever it changes.\n @property {Number} length\n @public\n */\n\n /**\n Returns the object at the given `index`. If the given `index` is negative\n or is greater or equal than the array length, returns `undefined`.\n This is one of the primitives you must implement to support `EmberArray`.\n If your object supports retrieving the value of an array item using `get()`\n (i.e. `myArray.get(0)`), then you do not need to implement this method\n yourself.\n ```javascript\n let arr = ['a', 'b', 'c', 'd'];\n arr.objectAt(0); // 'a'\n arr.objectAt(3); // 'd'\n arr.objectAt(-1); // undefined\n arr.objectAt(4); // undefined\n arr.objectAt(5); // undefined\n ```\n @method objectAt\n @param {Number} idx The index of the item to return.\n @return {*} item at index or undefined\n @public\n */\n\n /**\n This returns the objects at the specified indexes, using `objectAt`.\n ```javascript\n let arr = ['a', 'b', 'c', 'd'];\n arr.objectsAt([0, 1, 2]); // ['a', 'b', 'c']\n arr.objectsAt([2, 3, 4]); // ['c', 'd', undefined]\n ```\n @method objectsAt\n @param {Array} indexes An array of indexes of items to return.\n @return {Array}\n @public\n */\n objectsAt(indexes) {\n return indexes.map(idx => (0, _metal.objectAt)(this, idx));\n },\n\n /**\n This is the handler for the special array content property. If you get\n this property, it will return this. If you set this property to a new\n array, it will replace the current content.\n ```javascript\n let peopleToMoon = ['Armstrong', 'Aldrin'];\n peopleToMoon.get('[]'); // ['Armstrong', 'Aldrin']\n peopleToMoon.set('[]', ['Collins']); // ['Collins']\n peopleToMoon.get('[]'); // ['Collins']\n ```\n @property []\n @return this\n @public\n */\n '[]': nonEnumerableComputed({\n get() {\n return this;\n },\n\n set(key, value) {\n this.replace(0, this.length, value);\n return this;\n }\n\n }),\n\n /**\n The first object in the array, or `undefined` if the array is empty.\n ```javascript\n let vowels = ['a', 'e', 'i', 'o', 'u'];\n vowels.firstObject; // 'a'\n vowels.shiftObject();\n vowels.firstObject; // 'e'\n vowels.reverseObjects();\n vowels.firstObject; // 'u'\n vowels.clear();\n vowels.firstObject; // undefined\n ```\n @property firstObject\n @return {Object | undefined} The first object in the array\n @public\n */\n firstObject: nonEnumerableComputed(function () {\n return (0, _metal.objectAt)(this, 0);\n }).readOnly(),\n\n /**\n The last object in the array, or `undefined` if the array is empty.\n @property lastObject\n @return {Object | undefined} The last object in the array\n @public\n */\n lastObject: nonEnumerableComputed(function () {\n return (0, _metal.objectAt)(this, this.length - 1);\n }).readOnly(),\n\n // Add any extra methods to EmberArray that are native to the built-in Array.\n\n /**\n Returns a new array that is a slice of the receiver. This implementation\n uses the observable array methods to retrieve the objects for the new\n slice.\n ```javascript\n let arr = ['red', 'green', 'blue'];\n arr.slice(0); // ['red', 'green', 'blue']\n arr.slice(0, 2); // ['red', 'green']\n arr.slice(1, 100); // ['green', 'blue']\n ```\n @method slice\n @param {Number} beginIndex (Optional) index to begin slicing from.\n @param {Number} endIndex (Optional) index to end the slice at (but not included).\n @return {Array} New array with specified slice\n @public\n */\n slice(beginIndex = 0, endIndex) {\n var ret = A();\n var length = this.length;\n\n if (beginIndex < 0) {\n beginIndex = length + beginIndex;\n }\n\n if (endIndex === undefined || endIndex > length) {\n endIndex = length;\n } else if (endIndex < 0) {\n endIndex = length + endIndex;\n }\n\n while (beginIndex < endIndex) {\n ret[ret.length] = (0, _metal.objectAt)(this, beginIndex++);\n }\n\n return ret;\n },\n\n /**\n Used to determine the passed object's first occurrence in the array.\n Returns the index if found, -1 if no match is found.\n The optional `startAt` argument can be used to pass a starting\n index to search from, effectively slicing the searchable portion\n of the array. If it's negative it will add the array length to\n the startAt value passed in as the index to search from. If less\n than or equal to `-1 * array.length` the entire array is searched.\n ```javascript\n let arr = ['a', 'b', 'c', 'd', 'a'];\n arr.indexOf('a'); // 0\n arr.indexOf('z'); // -1\n arr.indexOf('a', 2); // 4\n arr.indexOf('a', -1); // 4, equivalent to indexOf('a', 4)\n arr.indexOf('a', -100); // 0, searches entire array\n arr.indexOf('b', 3); // -1\n arr.indexOf('a', 100); // -1\n let people = [{ name: 'Zoey' }, { name: 'Bob' }]\n let newPerson = { name: 'Tom' };\n people = [newPerson, ...people, newPerson];\n people.indexOf(newPerson); // 0\n people.indexOf(newPerson, 1); // 3\n people.indexOf(newPerson, -4); // 0\n people.indexOf(newPerson, 10); // -1\n ```\n @method indexOf\n @param {Object} object the item to search for\n @param {Number} startAt optional starting location to search, default 0\n @return {Number} index or -1 if not found\n @public\n */\n indexOf(object, startAt) {\n return indexOf(this, object, startAt, false);\n },\n\n /**\n Returns the index of the given `object`'s last occurrence.\n - If no `startAt` argument is given, the search starts from\n the last position.\n - If it's greater than or equal to the length of the array,\n the search starts from the last position.\n - If it's negative, it is taken as the offset from the end\n of the array i.e. `startAt + array.length`.\n - If it's any other positive number, will search backwards\n from that index of the array.\n Returns -1 if no match is found.\n ```javascript\n let arr = ['a', 'b', 'c', 'd', 'a'];\n arr.lastIndexOf('a'); // 4\n arr.lastIndexOf('z'); // -1\n arr.lastIndexOf('a', 2); // 0\n arr.lastIndexOf('a', -1); // 4\n arr.lastIndexOf('a', -3); // 0\n arr.lastIndexOf('b', 3); // 1\n arr.lastIndexOf('a', 100); // 4\n ```\n @method lastIndexOf\n @param {Object} object the item to search for\n @param {Number} startAt optional starting location to search from\n backwards, defaults to `(array.length - 1)`\n @return {Number} The last index of the `object` in the array or -1\n if not found\n @public\n */\n lastIndexOf(object, startAt) {\n var len = this.length;\n\n if (startAt === undefined || startAt >= len) {\n startAt = len - 1;\n }\n\n if (startAt < 0) {\n startAt += len;\n }\n\n for (var idx = startAt; idx >= 0; idx--) {\n if ((0, _metal.objectAt)(this, idx) === object) {\n return idx;\n }\n }\n\n return -1;\n },\n\n // ..........................................................\n // ARRAY OBSERVERS\n //\n\n /**\n Adds an array observer to the receiving array. The array observer object\n normally must implement two methods:\n * `willChange(observedObj, start, removeCount, addCount)` - This method will be\n called just before the array is modified.\n * `didChange(observedObj, start, removeCount, addCount)` - This method will be\n called just after the array is modified.\n Both callbacks will be passed the observed object, starting index of the\n change as well as a count of the items to be removed and added. You can use\n these callbacks to optionally inspect the array during the change, clear\n caches, or do any other bookkeeping necessary.\n In addition to passing a target, you can also include an options hash\n which you can use to override the method names that will be invoked on the\n target.\n @method addArrayObserver\n @param {Object} target The observer object.\n @param {Object} opts Optional hash of configuration options including\n `willChange` and `didChange` option.\n @return {EmberArray} receiver\n @public\n @example\n import Service from '@ember/service';\n export default Service.extend({\n data: Ember.A(),\n init() {\n this._super(...arguments);\n this.data.addArrayObserver(this, {\n willChange: 'dataWillChange',\n didChange: 'dataDidChange'\n });\n },\n dataWillChange(array, start, removeCount, addCount) {\n console.log('array will change', array, start, removeCount, addCount);\n },\n dataDidChange(array, start, removeCount, addCount) {\n console.log('array did change', array, start, removeCount, addCount);\n }\n });\n */\n addArrayObserver(target, opts) {\n return (0, _metal.addArrayObserver)(this, target, opts);\n },\n\n /**\n Removes an array observer from the object if the observer is current\n registered. Calling this method multiple times with the same object will\n have no effect.\n @method removeArrayObserver\n @param {Object} target The object observing the array.\n @param {Object} opts Optional hash of configuration options including\n `willChange` and `didChange` option.\n @return {EmberArray} receiver\n @public\n */\n removeArrayObserver(target, opts) {\n return (0, _metal.removeArrayObserver)(this, target, opts);\n },\n\n /**\n Becomes true whenever the array currently has observers watching changes\n on the array.\n ```javascript\n let arr = [1, 2, 3, 4, 5];\n arr.hasArrayObservers; // false\n arr.addArrayObserver(this, {\n willChange() {\n console.log('willChange');\n }\n });\n arr.hasArrayObservers; // true\n ```\n @property {Boolean} hasArrayObservers\n @public\n */\n hasArrayObservers: (0, _metal.nativeDescDecorator)({\n configurable: true,\n enumerable: false,\n\n get() {\n return (0, _metal.hasListeners)(this, '@array:change') || (0, _metal.hasListeners)(this, '@array:before');\n }\n\n }),\n\n /**\n If you are implementing an object that supports `EmberArray`, call this\n method just before the array content changes to notify any observers and\n invalidate any related properties. Pass the starting index of the change\n as well as a delta of the amounts to change.\n ```app/components/show-post.js\n import Component from '@ember/component';\n import EmberObject from '@ember/object';\n const Post = EmberObject.extend({\n body: '',\n save() {}\n })\n export default Component.extend({\n attemptsToModify: 0,\n successfulModifications: 0,\n posts: null,\n init() {\n this._super(...arguments);\n this.posts = [1, 2, 3].map(i => Post.create({ body: i }));\n this.posts.addArrayObserver(this, {\n willChange() {\n this.incrementProperty('attemptsToModify');\n },\n didChange() {\n this.incrementProperty('successfulModifications');\n }\n });\n },\n actions: {\n editPost(post, newContent) {\n let oldContent = post.body,\n postIndex = this.posts.indexOf(post);\n this.posts.arrayContentWillChange(postIndex, 0, 0); // attemptsToModify = 1\n post.set('body', newContent);\n post.save()\n .then(response => {\n this.posts.arrayContentDidChange(postIndex, 0, 0); // successfulModifications = 1\n })\n .catch(error => {\n post.set('body', oldContent);\n })\n }\n }\n });\n ```\n @method arrayContentWillChange\n @param {Number} startIdx The starting index in the array that will change.\n @param {Number} removeAmt The number of items that will be removed. If you\n pass `null` assumes 0\n @param {Number} addAmt The number of items that will be added. If you\n pass `null` assumes 0.\n @return {EmberArray} receiver\n @public\n */\n arrayContentWillChange(startIdx, removeAmt, addAmt) {\n return (0, _metal.arrayContentWillChange)(this, startIdx, removeAmt, addAmt);\n },\n\n /**\n If you are implementing an object that supports `EmberArray`, call this\n method just after the array content changes to notify any observers and\n invalidate any related properties. Pass the starting index of the change\n as well as a delta of the amounts to change.\n ```javascript\n let arr = [1, 2, 3, 4, 5];\n arr.copyWithin(-2); // [1, 2, 3, 1, 2]\n // arr.lastObject = 5\n arr.arrayContentDidChange(3, 2, 2);\n // arr.lastObject = 2\n ```\n @method arrayContentDidChange\n @param {Number} startIdx The starting index in the array that did change.\n @param {Number} removeAmt The number of items that were removed. If you\n pass `null` assumes 0\n @param {Number} addAmt The number of items that were added. If you\n pass `null` assumes 0.\n @return {EmberArray} receiver\n @public\n */\n arrayContentDidChange(startIdx, removeAmt, addAmt) {\n return (0, _metal.arrayContentDidChange)(this, startIdx, removeAmt, addAmt);\n },\n\n /**\n Iterates through the array, calling the passed function on each\n item. This method corresponds to the `forEach()` method defined in\n JavaScript 1.6.\n The callback method you provide should have the following signature (all\n parameters are optional):\n ```javascript\n function(item, index, array);\n ```\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\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. This is a good way\n to give your iterator function access to the current object.\n Example Usage:\n ```javascript\n let foods = [\n { name: 'apple', eaten: false },\n { name: 'banana', eaten: false },\n { name: 'carrot', eaten: false }\n ];\n foods.forEach((food) => food.eaten = true);\n let output = '';\n foods.forEach((item, index, array) =>\n output += `${index + 1}/${array.length} ${item.name}\\n`;\n );\n console.log(output);\n // 1/3 apple\n // 2/3 banana\n // 3/3 carrot\n ```\n @method forEach\n @param {Function} callback The callback to execute\n @param {Object} [target] The target object to use\n @return {Object} receiver\n @public\n */\n forEach(callback, target = null) {\n (true && !(typeof callback === 'function') && (0, _debug.assert)('`forEach` expects a function as first argument.', typeof callback === 'function'));\n var length = this.length;\n\n for (var index = 0; index < length; index++) {\n var item = this.objectAt(index);\n callback.call(target, item, index, this);\n }\n\n return this;\n },\n\n /**\n Alias for `mapBy`.\n Returns the value of the named\n property on all items in the enumeration.\n ```javascript\n let people = [{name: 'Joe'}, {name: 'Matt'}];\n people.getEach('name');\n // ['Joe', 'Matt'];\n people.getEach('nonexistentProperty');\n // [undefined, undefined];\n ```\n @method getEach\n @param {String} key name of the property\n @return {Array} The mapped array.\n @public\n */\n getEach: mapBy,\n\n /**\n Sets the value on the named property for each member. This is more\n ergonomic than using other methods defined on this helper. If the object\n implements Observable, the value will be changed to `set(),` otherwise\n it will be set directly. `null` objects are skipped.\n ```javascript\n let people = [{name: 'Joe'}, {name: 'Matt'}];\n people.setEach('zipCode', '10011');\n // [{name: 'Joe', zipCode: '10011'}, {name: 'Matt', zipCode: '10011'}];\n ```\n @method setEach\n @param {String} key The key to set\n @param {Object} value The object to set\n @return {Object} receiver\n @public\n */\n setEach(key, value) {\n return this.forEach(item => (0, _metal.set)(item, key, value));\n },\n\n /**\n Maps all of the items in the enumeration to another value, returning\n a new array. This method corresponds to `map()` defined in JavaScript 1.6.\n The callback method you provide should have the following signature (all\n parameters are optional):\n ```javascript\n function(item, index, array);\n let arr = [1, 2, 3, 4, 5, 6];\n arr.map(element => element * element);\n // [1, 4, 9, 16, 25, 36];\n arr.map((element, index) => element + index);\n // [1, 3, 5, 7, 9, 11];\n ```\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n It should return the mapped value.\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. This is a good way\n to give your iterator function access to the current object.\n @method map\n @param {Function} callback The callback to execute\n @param {Object} [target] The target object to use\n @return {Array} The mapped array.\n @public\n */\n map(callback, target = null) {\n (true && !(typeof callback === 'function') && (0, _debug.assert)('`map` expects a function as first argument.', typeof callback === 'function'));\n var ret = A();\n this.forEach((x, idx, i) => ret[idx] = callback.call(target, x, idx, i));\n return ret;\n },\n\n /**\n Similar to map, this specialized function returns the value of the named\n property on all items in the enumeration.\n ```javascript\n let people = [{name: 'Joe'}, {name: 'Matt'}];\n people.mapBy('name');\n // ['Joe', 'Matt'];\n people.mapBy('unknownProperty');\n // [undefined, undefined];\n ```\n @method mapBy\n @param {String} key name of the property\n @return {Array} The mapped array.\n @public\n */\n mapBy,\n\n /**\n Returns a new array with all of the items in the enumeration that the provided\n callback function returns true for. This method corresponds to [Array.prototype.filter()](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/filter).\n The callback method should have the following signature:\n ```javascript\n function(item, index, array);\n ```\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n All parameters are optional. The function should return `true` to include the item\n in the results, and `false` otherwise.\n Example:\n ```javascript\n function isAdult(person) {\n return person.age > 18;\n };\n let people = Ember.A([{ name: 'John', age: 14 }, { name: 'Joan', age: 45 }]);\n people.filter(isAdult); // returns [{ name: 'Joan', age: 45 }];\n ```\n Note that in addition to a callback, you can pass an optional target object\n that will be set as `this` on the context. This is a good way to give your\n iterator function access to the current object. For example:\n ```javascript\n function isAdultAndEngineer(person) {\n return person.age > 18 && this.engineering;\n }\n class AdultsCollection {\n engineering = false;\n constructor(opts = {}) {\n super(...arguments);\n this.engineering = opts.engineering;\n this.people = Ember.A([{ name: 'John', age: 14 }, { name: 'Joan', age: 45 }]);\n }\n }\n let collection = new AdultsCollection({ engineering: true });\n collection.people.filter(isAdultAndEngineer, { target: collection });\n ```\n @method filter\n @param {Function} callback The callback to execute\n @param {Object} [target] The target object to use\n @return {Array} A filtered array.\n @public\n */\n filter(callback, target = null) {\n (true && !(typeof callback === 'function') && (0, _debug.assert)('`filter` expects a function as first argument.', typeof callback === 'function'));\n var 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\n /**\n Returns an array with all of the items in the enumeration where the passed\n function returns false. This method is the inverse of filter().\n The callback method you provide should have the following signature (all\n parameters are optional):\n ```javascript\n function(item, index, array);\n ```\n - *item* is the current item in the iteration.\n - *index* is the current index in the iteration\n - *array* is the array itself.\n It should return a falsey value to include the item in the results.\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. This is a good way\n to give your iterator function access to the current object.\n Example Usage:\n ```javascript\n const food = [\n { food: 'apple', isFruit: true },\n { food: 'bread', isFruit: false },\n { food: 'banana', isFruit: true }\n ];\n const nonFruits = food.reject(function(thing) {\n return thing.isFruit;\n }); // [{food: 'bread', isFruit: false}]\n ```\n @method reject\n @param {Function} callback The callback to execute\n @param {Object} [target] The target object to use\n @return {Array} A rejected array.\n @public\n */\n reject(callback, target = null) {\n (true && !(typeof callback === 'function') && (0, _debug.assert)('`reject` expects a function as first argument.', typeof callback === 'function'));\n return this.filter(function () {\n return !callback.apply(target, arguments);\n });\n },\n\n /**\n Filters the array by the property and an optional value. If a value is given, it returns\n the items that have said value for the property. If not, it returns all the items that\n have a truthy value for the property.\n Example Usage:\n ```javascript\n let things = Ember.A([{ food: 'apple', isFruit: true }, { food: 'beans', isFruit: false }]);\n things.filterBy('food', 'beans'); // [{ food: 'beans' }]\n things.filterBy('isFruit'); // [{ food: 'apple' }]\n ```\n @method filterBy\n @param {String} key the property to test\n @param {*} [value] optional value to test against.\n @return {Array} filtered array\n @public\n */\n filterBy() {\n return this.filter(iter(...arguments));\n },\n\n /**\n Returns an array with the items that do not have truthy values for the provided key.\n You can pass an optional second argument with a target value to reject for the key.\n Otherwise this will reject objects where the provided property evaluates to false.\n Example Usage:\n ```javascript\n let food = [\n { name: \"apple\", isFruit: true },\n { name: \"carrot\", isFruit: false },\n { name: \"bread\", isFruit: false },\n ];\n food.rejectBy('isFruit'); // [{ name: \"carrot\", isFruit: false }, { name: \"bread\", isFruit: false }]\n food.rejectBy('name', 'carrot'); // [{ name: \"apple\", isFruit: true }}, { name: \"bread\", isFruit: false }]\n ```\n @method rejectBy\n @param {String} key the property to test\n @param {*} [value] optional value to test against.\n @return {Array} rejected array\n @public\n */\n rejectBy() {\n return this.reject(iter(...arguments));\n },\n\n /**\n Returns the first item in the array for which the callback returns true.\n This method is similar to the `find()` method defined in ECMAScript 2015.\n The callback method you provide should have the following signature (all\n parameters are optional):\n ```javascript\n function(item, index, array);\n ```\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n It should return the `true` to include the item in the results, `false`\n otherwise.\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. This is a good way\n to give your iterator function access to the current object.\n Example Usage:\n ```javascript\n let users = [\n { id: 1, name: 'Yehuda' },\n { id: 2, name: 'Tom' },\n { id: 3, name: 'Melanie' },\n { id: 4, name: 'Leah' }\n ];\n users.find((user) => user.name == 'Tom'); // [{ id: 2, name: 'Tom' }]\n users.find(({ id }) => id == 3); // [{ id: 3, name: 'Melanie' }]\n ```\n @method find\n @param {Function} callback The callback to execute\n @param {Object} [target] The target object to use\n @return {Object} Found item or `undefined`.\n @public\n */\n find(callback, target = null) {\n (true && !(typeof callback === 'function') && (0, _debug.assert)('`find` expects a function as first argument.', typeof callback === 'function'));\n return find(this, callback, target);\n },\n\n /**\n Returns the first item with a property matching the passed value. You\n can pass an optional second argument with the target value. Otherwise\n this will match any property that evaluates to `true`.\n This method works much like the more generic `find()` method.\n Usage Example:\n ```javascript\n let users = [\n { id: 1, name: 'Yehuda', isTom: false },\n { id: 2, name: 'Tom', isTom: true },\n { id: 3, name: 'Melanie', isTom: false },\n { id: 4, name: 'Leah', isTom: false }\n ];\n users.findBy('id', 4); // { id: 4, name: 'Leah', isTom: false }\n users.findBy('name', 'Melanie'); // { id: 3, name: 'Melanie', isTom: false }\n users.findBy('isTom'); // { id: 2, name: 'Tom', isTom: true }\n ```\n @method findBy\n @param {String} key the property to test\n @param {String} [value] optional value to test against.\n @return {Object} found item or `undefined`\n @public\n */\n findBy() {\n return find(this, iter(...arguments));\n },\n\n /**\n Returns `true` if the passed function returns true for every item in the\n enumeration. This corresponds with the `Array.prototype.every()` method defined in ES5.\n The callback method should have the following signature:\n ```javascript\n function(item, index, array);\n ```\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n All params are optional. The method should return `true` or `false`.\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. This is a good way\n to give your iterator function access to the current object.\n Usage example:\n ```javascript\n function isAdult(person) {\n return person.age > 18;\n };\n const people = Ember.A([{ name: 'John', age: 24 }, { name: 'Joan', age: 45 }]);\n const areAllAdults = people.every(isAdult);\n ```\n @method every\n @param {Function} callback The callback to execute\n @param {Object} [target] The target object to use\n @return {Boolean}\n @public\n */\n every(callback, target = null) {\n (true && !(typeof callback === 'function') && (0, _debug.assert)('`every` expects a function as first argument.', typeof callback === 'function'));\n return every(this, callback, target);\n },\n\n /**\n Returns `true` if the passed property resolves to the value of the second\n argument for all items in the array. This method is often simpler/faster\n than using a callback.\n Note that like the native `Array.every`, `isEvery` will return true when called\n on any empty array.\n ```javascript\n class Language {\n constructor(name, isProgrammingLanguage) {\n this.name = name;\n this.programmingLanguage = isProgrammingLanguage;\n }\n }\n const compiledLanguages = [\n new Language('Java', true),\n new Language('Go', true),\n new Language('Rust', true)\n ]\n const languagesKnownByMe = [\n new Language('Javascript', true),\n new Language('English', false),\n new Language('Ruby', true)\n ]\n compiledLanguages.isEvery('programmingLanguage'); // true\n languagesKnownByMe.isEvery('programmingLanguage'); // false\n ```\n @method isEvery\n @param {String} key the property to test\n @param {String} [value] optional value to test against. Defaults to `true`\n @return {Boolean}\n @since 1.3.0\n @public\n */\n isEvery() {\n return every(this, iter(...arguments));\n },\n\n /**\n The any() method executes the callback function once for each element\n present in the array until it finds the one where callback returns a truthy\n value (i.e. `true`). If such an element is found, any() immediately returns\n true. Otherwise, any() returns false.\n ```javascript\n function(item, index, array);\n ```\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array object itself.\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. It can be a good way\n to give your iterator function access to an object in cases where an ES6\n arrow function would not be appropriate.\n Usage Example:\n ```javascript\n let includesManager = people.any(this.findPersonInManagersList, this);\n let includesStockHolder = people.any(person => {\n return this.findPersonInStockHoldersList(person)\n });\n if (includesManager || includesStockHolder) {\n Paychecks.addBiggerBonus();\n }\n ```\n @method any\n @param {Function} callback The callback to execute\n @param {Object} [target] The target object to use\n @return {Boolean} `true` if the passed function returns `true` for any item\n @public\n */\n any(callback, target = null) {\n (true && !(typeof callback === 'function') && (0, _debug.assert)('`any` expects a function as first argument.', typeof callback === 'function'));\n return any(this, callback, target);\n },\n\n /**\n Returns `true` if the passed property resolves to the value of the second\n argument for any item in the array. This method is often simpler/faster\n than using a callback.\n Example usage:\n ```javascript\n const food = [\n { food: 'apple', isFruit: true },\n { food: 'bread', isFruit: false },\n { food: 'banana', isFruit: true }\n ];\n food.isAny('isFruit'); // true\n ```\n @method isAny\n @param {String} key the property to test\n @param {String} [value] optional value to test against. Defaults to `true`\n @return {Boolean}\n @since 1.3.0\n @public\n */\n isAny() {\n return any(this, iter(...arguments));\n },\n\n /**\n This will combine the values of the array into a single value. It\n is a useful way to collect a summary value from an array. This\n corresponds to the `reduce()` method defined in JavaScript 1.8.\n The callback method you provide should have the following signature (all\n parameters are optional):\n ```javascript\n function(previousValue, item, index, array);\n ```\n - `previousValue` is the value returned by the last call to the iterator.\n - `item` is the current item in the iteration.\n - `index` is the current index in the iteration.\n - `array` is the array itself.\n Return the new cumulative value.\n In addition to the callback you can also pass an `initialValue`. An error\n will be raised if you do not pass an initial value and the enumerator is\n empty.\n Note that unlike the other methods, this method does not allow you to\n pass a target object to set as this for the callback. It's part of the\n spec. Sorry.\n Example Usage:\n ```javascript\n let numbers = [1, 2, 3, 4, 5];\n numbers.reduce(function(summation, current) {\n return summation + current;\n }); // 15 (1 + 2 + 3 + 4 + 5)\n numbers.reduce(function(summation, current) {\n return summation + current;\n }, -15); // 0 (-15 + 1 + 2 + 3 + 4 + 5)\n let binaryValues = [true, false, false];\n binaryValues.reduce(function(truthValue, current) {\n return truthValue && current;\n }); // false (true && false && false)\n ```\n @method reduce\n @param {Function} callback The callback to execute\n @param {Object} initialValue Initial value for the reduce\n @return {Object} The reduced value.\n @public\n */\n reduce(callback, initialValue) {\n (true && !(typeof callback === 'function') && (0, _debug.assert)('`reduce` expects a function as first argument.', typeof callback === 'function'));\n var ret = initialValue;\n this.forEach(function (item, i) {\n ret = callback(ret, item, i, this);\n }, this);\n return ret;\n },\n\n /**\n Invokes the named method on every object in the receiver that\n implements it. This method corresponds to the implementation in\n Prototype 1.6.\n ```javascript\n class Person {\n name = null;\n constructor(name) {\n this.name = name;\n }\n greet(prefix='Hello') {\n return `${prefix} ${this.name}`;\n }\n }\n let people = [new Person('Joe'), new Person('Matt')];\n people.invoke('greet'); // ['Hello Joe', 'Hello Matt']\n people.invoke('greet', 'Bonjour'); // ['Bonjour Joe', 'Bonjour Matt']\n ```\n @method invoke\n @param {String} methodName the name of the method\n @param {Object...} args optional arguments to pass as well.\n @return {Array} return values from calling invoke.\n @public\n */\n invoke(methodName, ...args) {\n var ret = A();\n this.forEach(item => ret.push((0, _utils.tryInvoke)(item, methodName, args)));\n return ret;\n },\n\n /**\n Simply converts the object into a genuine array. The order is not\n guaranteed. Corresponds to the method implemented by Prototype.\n @method toArray\n @return {Array} the object as an array.\n @public\n */\n toArray() {\n return this.map(item => item);\n },\n\n /**\n Returns a copy of the array with all `null` and `undefined` elements removed.\n ```javascript\n let arr = ['a', null, 'c', undefined];\n arr.compact(); // ['a', 'c']\n ```\n @method compact\n @return {Array} the array without null and undefined elements.\n @public\n */\n compact() {\n return this.filter(value => value != null);\n },\n\n /**\n Used to determine if the array contains the passed object.\n Returns `true` if found, `false` otherwise.\n The optional `startAt` argument can be used to pass a starting\n index to search from, effectively slicing the searchable portion\n of the array. If it's negative it will add the array length to\n the startAt value passed in as the index to search from. If less\n than or equal to `-1 * array.length` the entire array is searched.\n This method has the same behavior of JavaScript's [Array.includes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Array/includes).\n ```javascript\n [1, 2, 3].includes(2); // true\n [1, 2, 3].includes(4); // false\n [1, 2, 3].includes(3, 2); // true\n [1, 2, 3].includes(3, 3); // false\n [1, 2, 3].includes(3, -1); // true\n [1, 2, 3].includes(1, -1); // false\n [1, 2, 3].includes(1, -4); // true\n [1, 2, NaN].includes(NaN); // true\n ```\n @method includes\n @param {Object} object The object to search for.\n @param {Number} startAt optional starting location to search, default 0\n @return {Boolean} `true` if object is found in the array.\n @public\n */\n includes(object, startAt) {\n return indexOf(this, object, startAt, true) !== -1;\n },\n\n /**\n Sorts the array by the keys specified in the argument.\n You may provide multiple arguments to sort by multiple properties.\n ```javascript\n let colors = [\n { name: 'red', weight: 500 },\n { name: 'green', weight: 600 },\n { name: 'blue', weight: 500 }\n ];\n colors.sortBy('name');\n // [{name: 'blue', weight: 500}, {name: 'green', weight: 600}, {name: 'red', weight: 500}]\n colors.sortBy('weight', 'name');\n // [{name: 'blue', weight: 500}, {name: 'red', weight: 500}, {name: 'green', weight: 600}]\n ```\n @method sortBy\n @param {String} property name(s) to sort on\n @return {Array} The sorted array.\n @since 1.2.0\n @public\n */\n sortBy() {\n var sortKeys = arguments;\n return this.toArray().sort((a, b) => {\n for (var i = 0; i < sortKeys.length; i++) {\n var key = sortKeys[i];\n var propA = (0, _metal.get)(a, key);\n var propB = (0, _metal.get)(b, key); // return 1 or -1 else continue to the next sortKey\n\n var compareValue = (0, _compare.default)(propA, propB);\n\n if (compareValue) {\n return compareValue;\n }\n }\n\n return 0;\n });\n },\n\n /**\n Returns a new array that contains only unique values. The default\n implementation returns an array regardless of the receiver type.\n ```javascript\n let arr = ['a', 'a', 'b', 'b'];\n arr.uniq(); // ['a', 'b']\n ```\n This only works on primitive data types, e.g. Strings, Numbers, etc.\n @method uniq\n @return {EmberArray}\n @public\n */\n uniq() {\n return uniqBy(this);\n },\n\n /**\n Returns a new array that contains only items containing a unique property value.\n The default implementation returns an array regardless of the receiver type.\n ```javascript\n let arr = [{ value: 'a' }, { value: 'a' }, { value: 'b' }, { value: 'b' }];\n arr.uniqBy('value'); // [{ value: 'a' }, { value: 'b' }]\n let arr = [2.2, 2.1, 3.2, 3.3];\n arr.uniqBy(Math.floor); // [2.2, 3.2];\n ```\n @method uniqBy\n @param {String,Function} key\n @return {EmberArray}\n @public\n */\n uniqBy(key) {\n return uniqBy(this, key);\n },\n\n /**\n Returns a new array that excludes the passed value. The default\n implementation returns an array regardless of the receiver type.\n If the receiver does not contain the value it returns the original array.\n ```javascript\n let arr = ['a', 'b', 'a', 'c'];\n arr.without('a'); // ['b', 'c']\n ```\n @method without\n @param {Object} value\n @return {EmberArray}\n @public\n */\n without(value) {\n if (!this.includes(value)) {\n return this; // nothing to do\n } // SameValueZero comparison (NaN !== NaN)\n\n\n var predicate = value === value ? item => item !== value : item => item === item;\n return this.filter(predicate);\n }\n\n });\n /**\n This mixin defines the API for modifying array-like objects. These methods\n can be applied only to a collection that keeps its items in an ordered set.\n It builds upon the Array mixin and adds methods to modify the array.\n One concrete implementations of this class include ArrayProxy.\n \n It is important to use the methods in this class to modify arrays so that\n changes are observable. This allows the binding system in Ember to function\n correctly.\n \n \n Note that an Array can change even if it does not implement this mixin.\n For example, one might implement a SparseArray that cannot be directly\n modified, but if its underlying enumerable changes, it will change also.\n \n @class MutableArray\n @uses EmberArray\n @uses MutableEnumerable\n @public\n */\n\n\n var MutableArray = _metal.Mixin.create(ArrayMixin, _mutable_enumerable.default, {\n /**\n __Required.__ You must implement this method to apply this mixin.\n This is one of the primitives you must implement to support `Array`.\n You should replace amt objects started at idx with the objects in the\n passed array. You should also call `this.arrayContentDidChange()`\n Note that this method is expected to validate the type(s) of objects that it expects.\n @method replace\n @param {Number} idx Starting index in the array to replace. If\n idx >= length, then append to the end of the array.\n @param {Number} amt Number of elements that should be removed from\n the array, starting at *idx*.\n @param {EmberArray} objects An array of zero or more objects that should be\n inserted into the array at *idx*\n @public\n */\n\n /**\n Remove all elements from the array. This is useful if you\n want to reuse an existing array without having to recreate it.\n ```javascript\n let colors = ['red', 'green', 'blue'];\n colors.length; // 3\n colors.clear(); // []\n colors.length; // 0\n ```\n @method clear\n @return {Array} An empty Array.\n @public\n */\n clear() {\n var len = this.length;\n\n if (len === 0) {\n return this;\n }\n\n this.replace(0, len, EMPTY_ARRAY);\n return this;\n },\n\n /**\n This will use the primitive `replace()` method to insert an object at the\n specified index.\n ```javascript\n let colors = ['red', 'green', 'blue'];\n colors.insertAt(2, 'yellow'); // ['red', 'green', 'yellow', 'blue']\n colors.insertAt(5, 'orange'); // Error: Index out of range\n ```\n @method insertAt\n @param {Number} idx index of insert the object at.\n @param {Object} object object to insert\n @return {EmberArray} receiver\n @public\n */\n insertAt(idx, object) {\n insertAt(this, idx, object);\n return this;\n },\n\n /**\n Remove an object at the specified index using the `replace()` primitive\n method. You can pass either a single index, or a start and a length.\n If you pass a start and length that is beyond the\n length this method will throw an assertion.\n ```javascript\n let colors = ['red', 'green', 'blue', 'yellow', 'orange'];\n colors.removeAt(0); // ['green', 'blue', 'yellow', 'orange']\n colors.removeAt(2, 2); // ['green', 'blue']\n colors.removeAt(4, 2); // Error: Index out of range\n ```\n @method removeAt\n @param {Number} start index, start of range\n @param {Number} len length of passing range\n @return {EmberArray} receiver\n @public\n */\n removeAt(start, len) {\n return removeAt(this, start, len);\n },\n\n /**\n Push the object onto the end of the array. Works just like `push()` but it\n is KVO-compliant.\n ```javascript\n let colors = ['red', 'green'];\n colors.pushObject('black'); // ['red', 'green', 'black']\n colors.pushObject(['yellow']); // ['red', 'green', ['yellow']]\n ```\n @method pushObject\n @param {*} obj object to push\n @return object same object passed as a param\n @public\n */\n pushObject(obj) {\n return insertAt(this, this.length, obj);\n },\n\n /**\n Add the objects in the passed array to the end of the array. Defers\n notifying observers of the change until all objects are added.\n ```javascript\n let colors = ['red'];\n colors.pushObjects(['yellow', 'orange']); // ['red', 'yellow', 'orange']\n ```\n @method pushObjects\n @param {EmberArray} objects the objects to add\n @return {EmberArray} receiver\n @public\n */\n pushObjects(objects) {\n this.replace(this.length, 0, objects);\n return this;\n },\n\n /**\n Pop object from array or nil if none are left. Works just like `pop()` but\n it is KVO-compliant.\n ```javascript\n let colors = ['red', 'green', 'blue'];\n colors.popObject(); // 'blue'\n console.log(colors); // ['red', 'green']\n ```\n @method popObject\n @return object\n @public\n */\n popObject() {\n var len = this.length;\n\n if (len === 0) {\n return null;\n }\n\n var ret = (0, _metal.objectAt)(this, len - 1);\n this.removeAt(len - 1, 1);\n return ret;\n },\n\n /**\n Shift an object from start of array or nil if none are left. Works just\n like `shift()` but it is KVO-compliant.\n ```javascript\n let colors = ['red', 'green', 'blue'];\n colors.shiftObject(); // 'red'\n console.log(colors); // ['green', 'blue']\n ```\n @method shiftObject\n @return object\n @public\n */\n shiftObject() {\n if (this.length === 0) {\n return null;\n }\n\n var ret = (0, _metal.objectAt)(this, 0);\n this.removeAt(0);\n return ret;\n },\n\n /**\n Unshift an object to start of array. Works just like `unshift()` but it is\n KVO-compliant.\n ```javascript\n let colors = ['red'];\n colors.unshiftObject('yellow'); // ['yellow', 'red']\n colors.unshiftObject(['black']); // [['black'], 'yellow', 'red']\n ```\n @method unshiftObject\n @param {*} obj object to unshift\n @return object same object passed as a param\n @public\n */\n unshiftObject(obj) {\n return insertAt(this, 0, obj);\n },\n\n /**\n Adds the named objects to the beginning of the array. Defers notifying\n observers until all objects have been added.\n ```javascript\n let colors = ['red'];\n colors.unshiftObjects(['black', 'white']); // ['black', 'white', 'red']\n colors.unshiftObjects('yellow'); // Type Error: 'undefined' is not a function\n ```\n @method unshiftObjects\n @param {Enumberable} objects the objects to add\n @return {EmberArray} receiver\n @public\n */\n unshiftObjects(objects) {\n this.replace(0, 0, objects);\n return this;\n },\n\n /**\n Reverse objects in the array. Works just like `reverse()` but it is\n KVO-compliant.\n @method reverseObjects\n @return {EmberArray} receiver\n @public\n */\n reverseObjects() {\n var len = this.length;\n\n if (len === 0) {\n return this;\n }\n\n var objects = this.toArray().reverse();\n this.replace(0, len, objects);\n return this;\n },\n\n /**\n Replace all the receiver's content with content of the argument.\n If argument is an empty array receiver will be cleared.\n ```javascript\n let colors = ['red', 'green', 'blue'];\n colors.setObjects(['black', 'white']); // ['black', 'white']\n colors.setObjects([]); // []\n ```\n @method setObjects\n @param {EmberArray} objects array whose content will be used for replacing\n the content of the receiver\n @return {EmberArray} receiver with the new content\n @public\n */\n setObjects(objects) {\n if (objects.length === 0) {\n return this.clear();\n }\n\n var len = this.length;\n this.replace(0, len, objects);\n return this;\n },\n\n /**\n Remove all occurrences of an object in the array.\n ```javascript\n let cities = ['Chicago', 'Berlin', 'Lima', 'Chicago'];\n cities.removeObject('Chicago'); // ['Berlin', 'Lima']\n cities.removeObject('Lima'); // ['Berlin']\n cities.removeObject('Tokyo') // ['Berlin']\n ```\n @method removeObject\n @param {*} obj object to remove\n @return {EmberArray} receiver\n @public\n */\n removeObject(obj) {\n var loc = this.length || 0;\n\n while (--loc >= 0) {\n var curObject = (0, _metal.objectAt)(this, loc);\n\n if (curObject === obj) {\n this.removeAt(loc);\n }\n }\n\n return this;\n },\n\n /**\n Removes each object in the passed array from the receiver.\n @method removeObjects\n @param {EmberArray} objects the objects to remove\n @return {EmberArray} receiver\n @public\n */\n removeObjects(objects) {\n (0, _metal.beginPropertyChanges)();\n\n for (var i = objects.length - 1; i >= 0; i--) {\n this.removeObject(objects[i]);\n }\n\n (0, _metal.endPropertyChanges)();\n return this;\n },\n\n /**\n Push the object onto the end of the array if it is not already\n present in the array.\n ```javascript\n let cities = ['Chicago', 'Berlin'];\n cities.addObject('Lima'); // ['Chicago', 'Berlin', 'Lima']\n cities.addObject('Berlin'); // ['Chicago', 'Berlin', 'Lima']\n ```\n @method addObject\n @param {*} obj object to add, if not already present\n @return {EmberArray} receiver\n @public\n */\n addObject(obj) {\n var included = this.includes(obj);\n\n if (!included) {\n this.pushObject(obj);\n }\n\n return this;\n },\n\n /**\n Adds each object in the passed array to the receiver.\n @method addObjects\n @param {EmberArray} objects the objects to add.\n @return {EmberArray} receiver\n @public\n */\n addObjects(objects) {\n (0, _metal.beginPropertyChanges)();\n objects.forEach(obj => this.addObject(obj));\n (0, _metal.endPropertyChanges)();\n return this;\n }\n\n });\n /**\n Creates an `Ember.NativeArray` from an Array-like object.\n Does not modify the original object's contents. `A()` is not needed if\n `EmberENV.EXTEND_PROTOTYPES` is `true` (the default value). However,\n it is recommended that you use `A()` when creating addons for\n ember or when you can not guarantee that `EmberENV.EXTEND_PROTOTYPES`\n will be `true`.\n \n Example\n \n ```app/components/my-component.js\n import Component from '@ember/component';\n import { A } from '@ember/array';\n \n export default Component.extend({\n tagName: 'ul',\n classNames: ['pagination'],\n \n init() {\n this._super(...arguments);\n \n if (!this.get('content')) {\n this.set('content', A());\n this.set('otherContent', A([1,2,3]));\n }\n }\n });\n ```\n \n @method A\n @static\n @for @ember/array\n @return {Ember.NativeArray}\n @public\n */\n // Add Ember.Array to Array.prototype. Remove methods with native\n // implementations and supply some more optimized versions of generic methods\n // because they are so common.\n\n /**\n @module ember\n */\n\n /**\n The NativeArray mixin contains the properties needed to make the native\n Array support MutableArray and all of its dependent APIs. Unless you\n have `EmberENV.EXTEND_PROTOTYPES` or `EmberENV.EXTEND_PROTOTYPES.Array` set to\n false, this will be applied automatically. Otherwise you can apply the mixin\n at anytime by calling `Ember.NativeArray.apply(Array.prototype)`.\n \n @class Ember.NativeArray\n @uses MutableArray\n @uses Observable\n @public\n */\n\n\n _exports.MutableArray = MutableArray;\n\n var NativeArray = _metal.Mixin.create(MutableArray, _observable.default, {\n objectAt(idx) {\n return this[idx];\n },\n\n // primitive for array support.\n replace(start, deleteCount, items = EMPTY_ARRAY) {\n (true && !(Array.isArray(items)) && (0, _debug.assert)('The third argument to replace needs to be an array.', Array.isArray(items)));\n (0, _metal.replaceInNativeArray)(this, start, deleteCount, items);\n return this;\n }\n\n }); // Remove any methods implemented natively so we don't override them\n\n\n _exports.NativeArray = NativeArray;\n var ignore = ['length'];\n NativeArray.keys().forEach(methodName => {\n if (Array.prototype[methodName]) {\n ignore.push(methodName);\n }\n });\n _exports.NativeArray = NativeArray = NativeArray.without(...ignore);\n var A;\n _exports.A = A;\n\n if (_environment.ENV.EXTEND_PROTOTYPES.Array) {\n NativeArray.apply(Array.prototype, true);\n\n _exports.A = A = function (arr) {\n (true && !(!(this instanceof A)) && (0, _debug.assert)('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A)));\n return arr || [];\n };\n } else {\n _exports.A = A = function (arr) {\n (true && !(!(this instanceof A)) && (0, _debug.assert)('You cannot create an Ember Array with `new A()`, please update to calling A as a function: `A()`', !(this instanceof A)));\n\n if (!arr) {\n arr = [];\n }\n\n return ArrayMixin.detect(arr) ? arr : NativeArray.apply(arr);\n };\n }\n\n var _default = ArrayMixin;\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/comparable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n\n /**\n Implements some standard methods for comparing objects. Add this mixin to\n any class you create that can compare its instances.\n \n You should implement the `compare()` method.\n \n @class Comparable\n @namespace Ember\n @since Ember 0.9\n @private\n */\n var _default = _metal.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 });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/container_proxy\", [\"exports\", \"@ember/runloop\", \"@ember/-internals/metal\"], function (_exports, _runloop, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n\n /**\n ContainerProxyMixin is used to provide public access to specific\n container functionality.\n \n @class ContainerProxyMixin\n @private\n */\n var containerProxyMixin = {\n /**\n The container stores state.\n @private\n @property {Ember.Container} __container__\n */\n __container__: null,\n\n /**\n Returns an object that can be used to provide an owner to a\n manually created instance.\n Example:\n ```\n import { getOwner } from '@ember/application';\n let owner = getOwner(this);\n User.create(\n owner.ownerInjection(),\n { username: 'rwjblue' }\n )\n ```\n @public\n @method ownerInjection\n @since 2.3.0\n @return {Object}\n */\n ownerInjection() {\n return this.__container__.ownerInjection();\n },\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 @public\n @method lookup\n @param {String} fullName\n @param {Object} options\n @return {any}\n */\n lookup(fullName, options) {\n return this.__container__.lookup(fullName, options);\n },\n\n destroy() {\n var container = this.__container__;\n\n if (container) {\n (0, _runloop.join)(() => {\n container.destroy();\n (0, _runloop.schedule)('destroy', container, 'finalizeDestroy');\n });\n }\n\n this._super();\n },\n\n /**\n Given a fullName return a factory manager.\n This method returns a manager which can be used for introspection of the\n factory's class or for the creation of factory instances with initial\n properties. The manager is an object with the following properties:\n * `class` - The registered or resolved class.\n * `create` - A function that will create an instance of the class with\n any dependencies injected.\n For example:\n ```javascript\n import { getOwner } from '@ember/application';\n let owner = getOwner(otherInstance);\n // the owner is commonly the `applicationInstance`, and can be accessed via\n // an instance initializer.\n let factory = owner.factoryFor('service:bespoke');\n factory.class;\n // The registered or resolved class. For example when used with an Ember-CLI\n // app, this would be the default export from `app/services/bespoke.js`.\n let instance = factory.create({\n someProperty: 'an initial property value'\n });\n // Create an instance with any injections and the passed options as\n // initial properties.\n ```\n Any instances created via the factory's `.create()` method *must* be destroyed\n manually by the caller of `.create()`. Typically, this is done during the creating\n objects own `destroy` or `willDestroy` methods.\n @public\n @method factoryFor\n @param {String} fullName\n @param {Object} options\n @return {FactoryManager}\n */\n factoryFor(fullName, options = {}) {\n return this.__container__.factoryFor(fullName, options);\n }\n\n };\n\n var _default = _metal.Mixin.create(containerProxyMixin);\n\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/copyable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n\n /**\n Implements some standard methods for copying an object. Add this mixin to\n any object you create that can create a copy of itself. This mixin is\n added automatically to the built-in array.\n \n You should generally implement the `copy()` method to return a copy of the\n receiver.\n \n @class Copyable\n @namespace Ember\n @since Ember 0.9\n @deprecated Use 'ember-copy' addon instead\n @private\n */\n var _default = _metal.Mixin.create({\n /**\n __Required.__ You must implement this method to apply this mixin.\n Override to return a copy of the receiver. Default implementation raises\n an exception.\n @method copy\n @param {Boolean} deep if `true`, a deep copy of the object should be made\n @return {Object} copy of receiver\n @private\n */\n copy: null\n });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/enumerable\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/enumerable\n @private\n */\n\n /**\n The methods in this mixin have been moved to [MutableArray](/ember/release/classes/MutableArray). This mixin has\n been intentionally preserved to avoid breaking Enumerable.detect checks\n until the community migrates away from them.\n \n @class Enumerable\n @private\n */\n var _default = _metal.Mixin.create();\n\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/evented\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/object\n */\n\n /**\n This mixin allows for Ember objects to subscribe to and emit events.\n \n ```app/utils/person.js\n import EmberObject from '@ember/object';\n import Evented from '@ember/object/evented';\n \n export default EmberObject.extend(Evented, {\n greet() {\n // ...\n this.trigger('greet');\n }\n });\n ```\n \n ```javascript\n var person = Person.create();\n \n person.on('greet', function() {\n console.log('Our person has greeted');\n });\n \n person.greet();\n \n // outputs: 'Our person has greeted'\n ```\n \n You can also chain multiple event subscriptions:\n \n ```javascript\n person.on('greet', function() {\n console.log('Our person has greeted');\n }).one('greet', function() {\n console.log('Offer one-time special');\n }).off('event', this, forgetThis);\n ```\n \n @class Evented\n @public\n */\n var _default = _metal.Mixin.create({\n /**\n Subscribes to a named event with given function.\n ```javascript\n person.on('didLoad', function() {\n // fired once the person has loaded\n });\n ```\n An optional target can be passed in as the 2nd argument that will\n be set as the \"this\" for the callback. This is a good way to give your\n function access to the object triggering the event. When the target\n parameter is used the callback method becomes the third argument.\n @method on\n @param {String} name The name of the event\n @param {Object} [target] The \"this\" binding for the callback\n @param {Function|String} method A function or the name of a function to be called on `target`\n @return this\n @public\n */\n on(name, target, method) {\n (0, _metal.addListener)(this, name, target, method);\n return this;\n },\n\n /**\n Subscribes a function to a named event and then cancels the subscription\n after the first time the event is triggered. It is good to use ``one`` when\n you only care about the first time an event has taken place.\n This function takes an optional 2nd argument that will become the \"this\"\n value for the callback. When the target parameter is used the callback method\n becomes the third argument.\n @method one\n @param {String} name The name of the event\n @param {Object} [target] The \"this\" binding for the callback\n @param {Function|String} method A function or the name of a function to be called on `target`\n @return this\n @public\n */\n one(name, target, method) {\n (0, _metal.addListener)(this, name, target, method, true);\n return this;\n },\n\n /**\n Triggers a named event for the object. Any additional arguments\n will be passed as parameters to the functions that are subscribed to the\n event.\n ```javascript\n person.on('didEat', function(food) {\n console.log('person ate some ' + food);\n });\n person.trigger('didEat', 'broccoli');\n // outputs: person ate some broccoli\n ```\n @method trigger\n @param {String} name The name of the event\n @param {Object...} args Optional arguments to pass on\n @public\n */\n trigger(name, ...args) {\n (0, _metal.sendEvent)(this, name, args);\n },\n\n /**\n Cancels subscription for given name, target, and method.\n @method off\n @param {String} name The name of the event\n @param {Object} target The target of the subscription\n @param {Function|String} method The function or the name of a function of the subscription\n @return this\n @public\n */\n off(name, target, method) {\n (0, _metal.removeListener)(this, name, target, method);\n return this;\n },\n\n /**\n Checks to see if object has any subscriptions for named event.\n @method has\n @param {String} name The name of the event\n @return {Boolean} does the object have a subscription for event\n @public\n */\n has(name) {\n return (0, _metal.hasListeners)(this, name);\n }\n\n });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/mutable_enumerable\", [\"exports\", \"@ember/-internals/runtime/lib/mixins/enumerable\", \"@ember/-internals/metal\"], function (_exports, _enumerable, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n\n /**\n The methods in this mixin have been moved to MutableArray. This mixin has\n been intentionally preserved to avoid breaking MutableEnumerable.detect\n checks until the community migrates away from them.\n \n @class MutableEnumerable\n @namespace Ember\n @uses Enumerable\n @private\n */\n var _default = _metal.Mixin.create(_enumerable.default);\n\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/observable\", [\"exports\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _meta, _metal, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/object\n */\n\n /**\n ## Overview\n \n This mixin provides properties and property observing functionality, core\n features of the Ember object model.\n \n Properties and observers allow one object to observe changes to a\n property on another object. This is one of the fundamental ways that\n models, controllers and views communicate with each other in an Ember\n application.\n \n Any object that has this mixin applied can be used in observer\n operations. That includes `EmberObject` and most objects you will\n interact with as you write your Ember application.\n \n Note that you will not generally apply this mixin to classes yourself,\n but you will use the features provided by this module frequently, so it\n is important to understand how to use it.\n \n ## Using `get()` and `set()`\n \n Because of Ember's support for bindings and observers, you will always\n access properties using the get method, and set properties using the\n set method. This allows the observing objects to be notified and\n computed properties to be handled properly.\n \n More documentation about `get` and `set` are below.\n \n ## Observing Property Changes\n \n You typically observe property changes simply by using the `observer`\n function in classes that you write.\n \n For example:\n \n ```javascript\n import { observer } from '@ember/object';\n import EmberObject from '@ember/object';\n \n EmberObject.extend({\n valueObserver: observer('value', function(sender, key, value, rev) {\n // Executes whenever the \"value\" property changes\n // See the addObserver method for more information about the callback arguments\n })\n });\n ```\n \n Although this is the most common way to add an observer, this capability\n is actually built into the `EmberObject` class on top of two methods\n defined in this mixin: `addObserver` and `removeObserver`. You can use\n these two methods to add and remove observers yourself if you need to\n do so at runtime.\n \n To add an observer for a property, call:\n \n ```javascript\n object.addObserver('propertyKey', targetObject, targetAction)\n ```\n \n This will call the `targetAction` method on the `targetObject` whenever\n the value of the `propertyKey` changes.\n \n Note that if `propertyKey` is a computed property, the observer will be\n called when any of the property dependencies are changed, even if the\n resulting value of the computed property is unchanged. This is necessary\n because computed properties are not computed until `get` is called.\n \n @class Observable\n @public\n */\n var _default = _metal.Mixin.create({\n /**\n Retrieves the value of a property from the object.\n This method is usually similar to using `object[keyName]` or `object.keyName`,\n however it supports both computed properties and the unknownProperty\n handler.\n Because `get` unifies the syntax for accessing all these kinds\n of properties, it can make many refactorings easier, such as replacing a\n simple property with a computed property, or vice versa.\n ### Computed Properties\n Computed properties are methods defined with the `property` modifier\n declared at the end, such as:\n ```javascript\n import { computed } from '@ember/object';\n fullName: computed('firstName', 'lastName', function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n })\n ```\n When you call `get` on a computed property, the function will be\n called and the return value will be returned instead of the function\n itself.\n ### Unknown Properties\n Likewise, if you try to call `get` on a property whose value is\n `undefined`, the `unknownProperty()` method will be called on the object.\n If this method returns any value other than `undefined`, it will be returned\n instead. This allows you to implement \"virtual\" properties that are\n not defined upfront.\n @method get\n @param {String} keyName The property to retrieve\n @return {Object} The property value or undefined.\n @public\n */\n get(keyName) {\n return (0, _metal.get)(this, keyName);\n },\n\n /**\n To get the values of multiple properties at once, call `getProperties`\n with a list of strings or an array:\n ```javascript\n record.getProperties('firstName', 'lastName', 'zipCode');\n // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n ```\n is equivalent to:\n ```javascript\n record.getProperties(['firstName', 'lastName', 'zipCode']);\n // { firstName: 'John', lastName: 'Doe', zipCode: '10011' }\n ```\n @method getProperties\n @param {String...|Array} list of keys to get\n @return {Object}\n @public\n */\n getProperties(...args) {\n return (0, _metal.getProperties)(...[this].concat(args));\n },\n\n /**\n Sets the provided key or path to the value.\n ```javascript\n record.set(\"key\", value);\n ```\n This method is generally very similar to calling `object[\"key\"] = value` or\n `object.key = value`, except that it provides support for computed\n properties, the `setUnknownProperty()` method and property observers.\n ### Computed Properties\n If you try to set a value on a key that has a computed property handler\n defined (see the `get()` method for an example), then `set()` will call\n that method, passing both the value and key instead of simply changing\n the value itself. This is useful for those times when you need to\n implement a property that is composed of one or more member\n properties.\n ### Unknown Properties\n If you try to set a value on a key that is undefined in the target\n object, then the `setUnknownProperty()` handler will be called instead. This\n gives you an opportunity to implement complex \"virtual\" properties that\n are not predefined on the object. If `setUnknownProperty()` returns\n undefined, then `set()` will simply set the value on the object.\n ### Property Observers\n In addition to changing the property, `set()` will also register a property\n change with the object. Unless you have placed this call inside of a\n `beginPropertyChanges()` and `endPropertyChanges(),` any \"local\" observers\n (i.e. observer methods declared on the same object), will be called\n immediately. Any \"remote\" observers (i.e. observer methods declared on\n another object) will be placed in a queue and called at a later time in a\n coalesced manner.\n @method set\n @param {String} keyName The property to set\n @param {Object} value The value to set or `null`.\n @return {Object} The passed value\n @public\n */\n set(keyName, value) {\n return (0, _metal.set)(this, keyName, value);\n },\n\n /**\n Sets a list of properties at once. These properties are set inside\n a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n observers will be buffered.\n ```javascript\n record.setProperties({ firstName: 'Charles', lastName: 'Jolley' });\n ```\n @method setProperties\n @param {Object} hash the hash of keys and values to set\n @return {Object} The passed in hash\n @public\n */\n setProperties(hash) {\n return (0, _metal.setProperties)(this, hash);\n },\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 (0, _metal.beginPropertyChanges)();\n return this;\n },\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 (0, _metal.endPropertyChanges)();\n return this;\n },\n\n /**\n Notify the observer system that a property has just changed.\n Sometimes you need to change a value directly or indirectly without\n actually calling `get()` or `set()` on it. In this case, you can use this\n method instead. Calling this method will notify all observers that the\n property has potentially changed value.\n @method notifyPropertyChange\n @param {String} keyName The property key to be notified about.\n @return {Observable}\n @public\n */\n notifyPropertyChange(keyName) {\n (0, _metal.notifyPropertyChange)(this, keyName);\n return this;\n },\n\n /**\n Adds an observer on a property.\n This is the core method used to register an observer for a property.\n Once you call this method, any time the key's value is set, your observer\n will be notified. Note that the observers are triggered any time the\n value is set, regardless of whether it has actually changed. Your\n observer should be prepared to handle that.\n There are two common invocation patterns for `.addObserver()`:\n - Passing two arguments:\n - the name of the property to observe (as a string)\n - the function to invoke (an actual function)\n - Passing three arguments:\n - the name of the property to observe (as a string)\n - the target object (will be used to look up and invoke a\n function on)\n - the name of the function to invoke on the target object\n (as a string).\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n init() {\n this._super(...arguments);\n // the following are equivalent:\n // using three arguments\n this.addObserver('foo', this, 'fooDidChange');\n // using two arguments\n this.addObserver('foo', (...args) => {\n this.fooDidChange(...args);\n });\n },\n fooDidChange() {\n // your custom logic code\n }\n });\n ```\n ### Observer Methods\n Observer methods have the following signature:\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n init() {\n this._super(...arguments);\n this.addObserver('foo', this, 'fooDidChange');\n },\n fooDidChange(sender, key, value, rev) {\n // your code\n }\n });\n ```\n The `sender` is the object that changed. The `key` is the property that\n changes. The `value` property is currently reserved and unused. The `rev`\n is the last property revision of the object when it changed, which you can\n use to detect if the key value has really changed or not.\n Usually you will not need the value or revision parameters at\n the end. In this case, it is common to write observer methods that take\n only a sender and key value as parameters or, if you aren't interested in\n any of these values, to write an observer that has no parameters at all.\n @method addObserver\n @param {String} key The key to observe\n @param {Object} target The target object to invoke\n @param {String|Function} method The method to invoke\n @param {Boolean} sync Whether the observer is sync or not\n @return {Observable}\n @public\n */\n addObserver(key, target, method, sync) {\n (0, _metal.addObserver)(this, key, target, method, sync);\n return this;\n },\n\n /**\n Remove an observer you have previously registered on this object. Pass\n the same key, target, and method you passed to `addObserver()` and your\n target will no longer receive notifications.\n @method removeObserver\n @param {String} key The key to observe\n @param {Object} target The target object to invoke\n @param {String|Function} method The method to invoke\n @param {Boolean} sync Whether the observer is async or not\n @return {Observable}\n @public\n */\n removeObserver(key, target, method, sync) {\n (0, _metal.removeObserver)(this, key, target, method, sync);\n return this;\n },\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 (0, _metal.hasListeners)(this, `${key}:change`);\n },\n\n /**\n Retrieves the value of a property, or a default value in the case that the\n property returns `undefined`.\n ```javascript\n person.getWithDefault('lastName', 'Doe');\n ```\n @method getWithDefault\n @param {String} keyName The name of the property to retrieve\n @param {Object} defaultValue The value to return if the property value is undefined\n @return {Object} The property value or the defaultValue.\n @public\n */\n getWithDefault(keyName, defaultValue) {\n return (0, _metal.getWithDefault)(this, keyName, defaultValue);\n },\n\n /**\n Set the value of a property to the current value plus some amount.\n ```javascript\n person.incrementProperty('age');\n team.incrementProperty('score', 2);\n ```\n @method incrementProperty\n @param {String} keyName The name of the property to increment\n @param {Number} increment The amount to increment by. Defaults to 1\n @return {Number} The new property value\n @public\n */\n incrementProperty(keyName, increment = 1) {\n (true && !(!isNaN(parseFloat(increment)) && isFinite(increment)) && (0, _debug.assert)('Must pass a numeric value to incrementProperty', !isNaN(parseFloat(increment)) && isFinite(increment)));\n return (0, _metal.set)(this, keyName, (parseFloat((0, _metal.get)(this, keyName)) || 0) + increment);\n },\n\n /**\n Set the value of a property to the current value minus some amount.\n ```javascript\n player.decrementProperty('lives');\n orc.decrementProperty('health', 5);\n ```\n @method decrementProperty\n @param {String} keyName The name of the property to decrement\n @param {Number} decrement The amount to decrement by. Defaults to 1\n @return {Number} The new property value\n @public\n */\n decrementProperty(keyName, decrement = 1) {\n (true && !(!isNaN(parseFloat(decrement)) && isFinite(decrement)) && (0, _debug.assert)('Must pass a numeric value to decrementProperty', !isNaN(parseFloat(decrement)) && isFinite(decrement)));\n return (0, _metal.set)(this, keyName, ((0, _metal.get)(this, keyName) || 0) - decrement);\n },\n\n /**\n Set the value of a boolean property to the opposite of its\n current value.\n ```javascript\n starship.toggleProperty('warpDriveEngaged');\n ```\n @method toggleProperty\n @param {String} keyName The name of the property to toggle\n @return {Boolean} The new property value\n @public\n */\n toggleProperty(keyName) {\n return (0, _metal.set)(this, keyName, !(0, _metal.get)(this, keyName));\n },\n\n /**\n Returns the cached value of a computed property, if it exists.\n This allows you to inspect the value of a computed property\n without accidentally invoking it if it is intended to be\n generated lazily.\n @method cacheFor\n @param {String} keyName\n @return {Object} The cached value of the computed property, if any\n @public\n */\n cacheFor(keyName) {\n var meta = (0, _meta.peekMeta)(this);\n\n if (meta !== null) {\n return meta.valueFor(keyName);\n }\n }\n\n });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/mixins/promise_proxy\", [\"exports\", \"@ember/-internals/metal\", \"@ember/error\"], function (_exports, _metal, _error) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/object\n */\n function tap(proxy, promise) {\n (0, _metal.setProperties)(proxy, {\n isFulfilled: false,\n isRejected: false\n });\n return promise.then(value => {\n if (!proxy.isDestroyed && !proxy.isDestroying) {\n (0, _metal.setProperties)(proxy, {\n content: value,\n isFulfilled: true\n });\n }\n\n return value;\n }, reason => {\n if (!proxy.isDestroyed && !proxy.isDestroying) {\n (0, _metal.setProperties)(proxy, {\n reason,\n isRejected: true\n });\n }\n\n throw reason;\n }, 'Ember: PromiseProxy');\n }\n /**\n A low level mixin making ObjectProxy promise-aware.\n \n ```javascript\n import { resolve } from 'rsvp';\n import $ from 'jquery';\n import ObjectProxy from '@ember/object/proxy';\n import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n \n let ObjectPromiseProxy = ObjectProxy.extend(PromiseProxyMixin);\n \n let proxy = ObjectPromiseProxy.create({\n promise: resolve($.getJSON('/some/remote/data.json'))\n });\n \n proxy.then(function(json){\n // the json\n }, function(reason) {\n // the reason why you have no json\n });\n ```\n \n the proxy has bindable attributes which\n track the promises life cycle\n \n ```javascript\n proxy.get('isPending') //=> true\n proxy.get('isSettled') //=> false\n proxy.get('isRejected') //=> false\n proxy.get('isFulfilled') //=> false\n ```\n \n When the $.getJSON completes, and the promise is fulfilled\n with json, the life cycle attributes will update accordingly.\n Note that $.getJSON doesn't return an ECMA specified promise,\n it is useful to wrap this with an `RSVP.resolve` so that it behaves\n as a spec compliant promise.\n \n ```javascript\n proxy.get('isPending') //=> false\n proxy.get('isSettled') //=> true\n proxy.get('isRejected') //=> false\n proxy.get('isFulfilled') //=> true\n ```\n \n As the proxy is an ObjectProxy, and the json now its content,\n all the json properties will be available directly from the proxy.\n \n ```javascript\n // Assuming the following json:\n {\n firstName: 'Stefan',\n lastName: 'Penner'\n }\n \n // both properties will accessible on the proxy\n proxy.get('firstName') //=> 'Stefan'\n proxy.get('lastName') //=> 'Penner'\n ```\n \n @class PromiseProxyMixin\n @public\n */\n\n\n var _default = _metal.Mixin.create({\n /**\n If the proxied promise is rejected this will contain the reason\n provided.\n @property reason\n @default null\n @public\n */\n reason: null,\n\n /**\n Once the proxied promise has settled this will become `false`.\n @property isPending\n @default true\n @public\n */\n isPending: (0, _metal.computed)('isSettled', function () {\n return !(0, _metal.get)(this, 'isSettled');\n }).readOnly(),\n\n /**\n Once the proxied promise has settled this will become `true`.\n @property isSettled\n @default false\n @public\n */\n isSettled: (0, _metal.computed)('isRejected', 'isFulfilled', function () {\n return (0, _metal.get)(this, 'isRejected') || (0, _metal.get)(this, 'isFulfilled');\n }).readOnly(),\n\n /**\n Will become `true` if the proxied promise is rejected.\n @property isRejected\n @default false\n @public\n */\n isRejected: false,\n\n /**\n Will become `true` if the proxied promise is fulfilled.\n @property isFulfilled\n @default false\n @public\n */\n isFulfilled: false,\n\n /**\n The promise whose fulfillment value is being proxied by this object.\n This property must be specified upon creation, and should not be\n changed once created.\n Example:\n ```javascript\n import ObjectProxy from '@ember/object/proxy';\n import PromiseProxyMixin from '@ember/object/promise-proxy-mixin';\n ObjectProxy.extend(PromiseProxyMixin).create({\n promise: <thenable>\n });\n ```\n @property promise\n @public\n */\n promise: (0, _metal.computed)({\n get() {\n throw new _error.default(\"PromiseProxy's promise must be set\");\n },\n\n set(key, promise) {\n return tap(this, promise);\n }\n\n }),\n\n /**\n An alias to the proxied promise's `then`.\n See RSVP.Promise.then.\n @method then\n @param {Function} callback\n @return {RSVP.Promise}\n @public\n */\n then: promiseAlias('then'),\n\n /**\n An alias to the proxied promise's `catch`.\n See RSVP.Promise.catch.\n @method catch\n @param {Function} callback\n @return {RSVP.Promise}\n @since 1.3.0\n @public\n */\n catch: promiseAlias('catch'),\n\n /**\n An alias to the proxied promise's `finally`.\n See RSVP.Promise.finally.\n @method finally\n @param {Function} callback\n @return {RSVP.Promise}\n @since 1.3.0\n @public\n */\n finally: promiseAlias('finally')\n });\n\n _exports.default = _default;\n\n function promiseAlias(name) {\n return function () {\n var promise = (0, _metal.get)(this, 'promise');\n return promise[name](...arguments);\n };\n }\n});","define(\"@ember/-internals/runtime/lib/mixins/registry_proxy\", [\"exports\", \"@ember/debug\", \"@ember/-internals/metal\"], function (_exports, _debug, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n\n /**\n RegistryProxyMixin is used to provide public access to specific\n registry functionality.\n \n @class RegistryProxyMixin\n @private\n */\n var _default = _metal.Mixin.create({\n __registry__: null,\n\n /**\n Given a fullName return the corresponding factory.\n @public\n @method resolveRegistration\n @param {String} fullName\n @return {Function} fullName's factory\n */\n resolveRegistration(fullName, options) {\n (true && !(this.__registry__.isValidFullName(fullName)) && (0, _debug.assert)('fullName must be a proper full name', this.__registry__.isValidFullName(fullName)));\n return this.__registry__.resolve(fullName, options);\n },\n\n /**\n Registers a factory that can be used for dependency injection (with\n `inject`) or for service lookup. Each factory is registered with\n a full name including two parts: `type:name`.\n A simple example:\n ```javascript\n import Application from '@ember/application';\n import EmberObject from '@ember/object';\n let App = Application.create();\n App.Orange = EmberObject.extend();\n App.register('fruit:favorite', App.Orange);\n ```\n Ember will resolve factories from the `App` namespace automatically.\n For example `App.CarsController` will be discovered and returned if\n an application requests `controller:cars`.\n An example of registering a controller with a non-standard name:\n ```javascript\n import Application from '@ember/application';\n import Controller from '@ember/controller';\n let App = Application.create();\n let Session = Controller.extend();\n App.register('controller:session', Session);\n // The Session controller can now be treated like a normal controller,\n // despite its non-standard name.\n App.ApplicationController = Controller.extend({\n needs: ['session']\n });\n ```\n Registered factories are **instantiated** by having `create`\n called on them. Additionally they are **singletons**, each time\n they are looked up they return the same instance.\n Some examples modifying that default behavior:\n ```javascript\n import Application from '@ember/application';\n import EmberObject from '@ember/object';\n let App = Application.create();\n App.Person = EmberObject.extend();\n App.Orange = EmberObject.extend();\n App.Email = EmberObject.extend();\n App.session = EmberObject.create();\n App.register('model:user', App.Person, { singleton: false });\n App.register('fruit:favorite', App.Orange);\n App.register('communication:main', App.Email, { singleton: false });\n App.register('session', App.session, { instantiate: false });\n ```\n @method register\n @param fullName {String} type:name (e.g., 'model:user')\n @param factory {any} (e.g., App.Person)\n @param options {Object} (optional) disable instantiation or singleton usage\n @public\n */\n register: registryAlias('register'),\n\n /**\n Unregister a factory.\n ```javascript\n import Application from '@ember/application';\n import EmberObject from '@ember/object';\n let App = Application.create();\n let User = EmberObject.extend();\n App.register('model:user', User);\n App.resolveRegistration('model:user').create() instanceof User //=> true\n App.unregister('model:user')\n App.resolveRegistration('model:user') === undefined //=> true\n ```\n @public\n @method unregister\n @param {String} fullName\n */\n unregister: registryAlias('unregister'),\n\n /**\n Check if a factory is registered.\n @public\n @method hasRegistration\n @param {String} fullName\n @return {Boolean}\n */\n hasRegistration: registryAlias('has'),\n\n /**\n Return a specific registered option for a particular factory.\n @public\n @method registeredOption\n @param {String} fullName\n @param {String} optionName\n @return {Object} options\n */\n registeredOption: registryAlias('getOption'),\n\n /**\n Register options for a particular factory.\n @public\n @method registerOptions\n @param {String} fullName\n @param {Object} options\n */\n registerOptions: registryAlias('options'),\n\n /**\n Return registered options for a particular factory.\n @public\n @method registeredOptions\n @param {String} fullName\n @return {Object} options\n */\n registeredOptions: registryAlias('getOptions'),\n\n /**\n Allow registering options for all factories of a type.\n ```javascript\n import Application from '@ember/application';\n let App = Application.create();\n let appInstance = App.buildInstance();\n // if all of type `connection` must not be singletons\n appInstance.registerOptionsForType('connection', { singleton: false });\n appInstance.register('connection:twitter', TwitterConnection);\n appInstance.register('connection:facebook', FacebookConnection);\n let twitter = appInstance.lookup('connection:twitter');\n let twitter2 = appInstance.lookup('connection:twitter');\n twitter === twitter2; // => false\n let facebook = appInstance.lookup('connection:facebook');\n let facebook2 = appInstance.lookup('connection:facebook');\n facebook === facebook2; // => false\n ```\n @public\n @method registerOptionsForType\n @param {String} type\n @param {Object} options\n */\n registerOptionsForType: registryAlias('optionsForType'),\n\n /**\n Return the registered options for all factories of a type.\n @public\n @method registeredOptionsForType\n @param {String} type\n @return {Object} options\n */\n registeredOptionsForType: registryAlias('getOptionsForType'),\n\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 **/\n inject: registryAlias('injection')\n });\n\n _exports.default = _default;\n\n function registryAlias(name) {\n return function () {\n return this.__registry__[name](...arguments);\n };\n }\n});","define(\"@ember/-internals/runtime/lib/mixins/target_action_support\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _environment, _metal, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n\n /**\n `Ember.TargetActionSupport` is a mixin that can be included in a class\n to add a `triggerAction` method with semantics similar to the Handlebars\n `{{action}}` helper. In normal Ember usage, the `{{action}}` helper is\n usually the best choice. This mixin is most often useful when you are\n doing more complex event handling in Components.\n \n @class TargetActionSupport\n @namespace Ember\n @extends Mixin\n @private\n */\n var _default = _metal.Mixin.create({\n target: null,\n action: null,\n actionContext: null,\n actionContextObject: (0, _metal.computed)('actionContext', function () {\n var actionContext = (0, _metal.get)(this, 'actionContext');\n\n if (typeof actionContext === 'string') {\n var value = (0, _metal.get)(this, actionContext);\n\n if (value === undefined) {\n value = (0, _metal.get)(_environment.context.lookup, actionContext);\n }\n\n return value;\n } else {\n return actionContext;\n }\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 var {\n action,\n target,\n actionContext\n } = opts;\n action = action || (0, _metal.get)(this, 'action');\n target = target || getTarget(this);\n\n if (actionContext === undefined) {\n actionContext = (0, _metal.get)(this, 'actionContextObject') || this;\n }\n\n if (target && action) {\n var ret;\n\n if (target.send) {\n ret = target.send(...[action].concat(actionContext));\n } else {\n (true && !(typeof target[action] === 'function') && (0, _debug.assert)(`The action '${action}' did not exist on ${target}`, typeof target[action] === 'function'));\n ret = target[action](...[].concat(actionContext));\n }\n\n if (ret !== false) {\n return true;\n }\n }\n\n return false;\n }\n\n });\n\n _exports.default = _default;\n\n function getTarget(instance) {\n var target = (0, _metal.get)(instance, 'target');\n\n if (target) {\n if (typeof target === 'string') {\n var value = (0, _metal.get)(instance, target);\n\n if (value === undefined) {\n value = (0, _metal.get)(_environment.context.lookup, target);\n }\n\n return value;\n } else {\n return target;\n }\n }\n\n if (instance._target) {\n return instance._target;\n }\n\n return null;\n }\n});","define(\"@ember/-internals/runtime/lib/system/array_proxy\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/array\", \"@ember/debug\", \"@glimmer/validator\"], function (_exports, _metal, _utils, _object, _array, _debug, _validator) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/array\n */\n var ARRAY_OBSERVER_MAPPING = {\n willChange: '_arrangedContentArrayWillChange',\n didChange: '_arrangedContentArrayDidChange'\n };\n /**\n An ArrayProxy wraps any other object that implements `Array` and/or\n `MutableArray,` forwarding all requests. This makes it very useful for\n a number of binding use cases or other cases where being able to swap\n out the underlying array is useful.\n \n A simple example of usage:\n \n ```javascript\n import { A } from '@ember/array';\n import ArrayProxy from '@ember/array/proxy';\n \n let pets = ['dog', 'cat', 'fish'];\n let ap = ArrayProxy.create({ content: A(pets) });\n \n ap.get('firstObject'); // 'dog'\n ap.set('content', ['amoeba', 'paramecium']);\n ap.get('firstObject'); // 'amoeba'\n ```\n \n This class can also be useful as a layer to transform the contents of\n an array, as they are accessed. This can be done by overriding\n `objectAtContent`:\n \n ```javascript\n import { A } from '@ember/array';\n import ArrayProxy from '@ember/array/proxy';\n \n let pets = ['dog', 'cat', 'fish'];\n let ap = ArrayProxy.create({\n content: A(pets),\n objectAtContent: function(idx) {\n return this.get('content').objectAt(idx).toUpperCase();\n }\n });\n \n ap.get('firstObject'); // . 'DOG'\n ```\n \n When overriding this class, it is important to place the call to\n `_super` *after* setting `content` so the internal observers have\n a chance to fire properly:\n \n ```javascript\n import { A } from '@ember/array';\n import ArrayProxy from '@ember/array/proxy';\n \n export default ArrayProxy.extend({\n init() {\n this.set('content', A(['dog', 'cat', 'fish']));\n this._super(...arguments);\n }\n });\n ```\n \n @class ArrayProxy\n @extends EmberObject\n @uses MutableArray\n @public\n */\n\n class ArrayProxy extends _object.default {\n init() {\n super.init(...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\n this._objectsDirtyIndex = 0;\n this._objects = null;\n this._lengthDirty = true;\n this._length = 0;\n this._arrangedContent = null;\n this._arrangedContentIsUpdating = false;\n this._arrangedContentTag = null;\n this._arrangedContentRevision = null;\n this._lengthTag = null;\n this._arrTag = null;\n }\n\n [_metal.PROPERTY_DID_CHANGE]() {\n this._revalidate();\n }\n\n [_metal.CUSTOM_TAG_FOR](key) {\n if (key === '[]') {\n this._revalidate();\n\n return this._arrTag;\n } else if (key === 'length') {\n this._revalidate();\n\n return this._lengthTag;\n }\n\n return (0, _validator.tagFor)(this, key);\n }\n\n willDestroy() {\n this._removeArrangedContentArrayObserver();\n }\n /**\n The content array. Must be an object that implements `Array` and/or\n `MutableArray.`\n @property content\n @type EmberArray\n @public\n */\n\n /**\n Should actually retrieve the object at the specified index from the\n content. You can override this method in subclasses to transform the\n content item to something new.\n This method will only be called if content is non-`null`.\n @method objectAtContent\n @param {Number} idx The index to retrieve.\n @return {Object} the value or undefined if none found\n @public\n */\n\n\n objectAtContent(idx) {\n return (0, _metal.objectAt)((0, _metal.get)(this, 'arrangedContent'), idx);\n } // See additional docs for `replace` from `MutableArray`:\n // https://api.emberjs.com/ember/release/classes/MutableArray/methods/replace?anchor=replace\n\n\n replace(idx, amt, objects) {\n (true && !((0, _metal.get)(this, 'arrangedContent') === (0, _metal.get)(this, 'content')) && (0, _debug.assert)('Mutating an arranged ArrayProxy is not allowed', (0, _metal.get)(this, 'arrangedContent') === (0, _metal.get)(this, 'content')));\n this.replaceContent(idx, amt, objects);\n }\n /**\n Should actually replace the specified objects on the content array.\n You can override this method in subclasses to transform the content item\n into something new.\n This method will only be called if content is non-`null`.\n @method replaceContent\n @param {Number} idx The starting index\n @param {Number} amt The number of items to remove from the content.\n @param {EmberArray} objects Optional array of objects to insert or null if no\n objects.\n @return {void}\n @public\n */\n\n\n replaceContent(idx, amt, objects) {\n (0, _metal.get)(this, 'content').replace(idx, amt, objects);\n } // Overriding objectAt is not supported.\n\n\n objectAt(idx) {\n this._revalidate();\n\n if (this._objects === null) {\n this._objects = [];\n }\n\n if (this._objectsDirtyIndex !== -1 && idx >= this._objectsDirtyIndex) {\n var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n\n if (arrangedContent) {\n var length = this._objects.length = (0, _metal.get)(arrangedContent, 'length');\n\n for (var i = this._objectsDirtyIndex; i < length; i++) {\n this._objects[i] = this.objectAtContent(i);\n }\n } else {\n this._objects.length = 0;\n }\n\n this._objectsDirtyIndex = -1;\n }\n\n return this._objects[idx];\n } // Overriding length is not supported.\n\n\n get length() {\n this._revalidate();\n\n if (this._lengthDirty) {\n var arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n this._length = arrangedContent ? (0, _metal.get)(arrangedContent, 'length') : 0;\n this._lengthDirty = false;\n }\n\n (0, _validator.consumeTag)(this._lengthTag);\n return this._length;\n }\n\n set length(value) {\n var length = this.length;\n var removedCount = length - value;\n var added;\n\n if (removedCount === 0) {\n return;\n } else if (removedCount < 0) {\n added = new Array(-removedCount);\n removedCount = 0;\n }\n\n var content = (0, _metal.get)(this, 'content');\n\n if (content) {\n (0, _metal.replace)(content, value, removedCount, added);\n\n this._invalidate();\n }\n }\n\n _updateArrangedContentArray(arrangedContent) {\n var oldLength = this._objects === null ? 0 : this._objects.length;\n var newLength = arrangedContent ? (0, _metal.get)(arrangedContent, 'length') : 0;\n\n this._removeArrangedContentArrayObserver();\n\n this.arrayContentWillChange(0, oldLength, newLength);\n\n this._invalidate();\n\n this.arrayContentDidChange(0, oldLength, newLength);\n\n this._addArrangedContentArrayObserver(arrangedContent);\n }\n\n _addArrangedContentArrayObserver(arrangedContent) {\n if (arrangedContent && !arrangedContent.isDestroyed) {\n (true && !(arrangedContent !== this) && (0, _debug.assert)(\"Can't set ArrayProxy's content to itself\", arrangedContent !== this));\n (true && !((0, _array.isArray)(arrangedContent) || arrangedContent.isDestroyed) && (0, _debug.assert)(`ArrayProxy expects an Array or ArrayProxy, but you passed ${typeof arrangedContent}`, (0, _array.isArray)(arrangedContent) || arrangedContent.isDestroyed));\n (0, _metal.addArrayObserver)(arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n this._arrangedContent = arrangedContent;\n }\n }\n\n _removeArrangedContentArrayObserver() {\n if (this._arrangedContent) {\n (0, _metal.removeArrayObserver)(this._arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n }\n }\n\n _arrangedContentArrayWillChange() {}\n\n _arrangedContentArrayDidChange(proxy, idx, removedCnt, addedCnt) {\n this.arrayContentWillChange(idx, removedCnt, addedCnt);\n var dirtyIndex = idx;\n\n if (dirtyIndex < 0) {\n var length = (0, _metal.get)(this._arrangedContent, 'length');\n dirtyIndex += length + removedCnt - addedCnt;\n }\n\n if (this._objectsDirtyIndex === -1 || this._objectsDirtyIndex > dirtyIndex) {\n this._objectsDirtyIndex = dirtyIndex;\n }\n\n this._lengthDirty = true;\n this.arrayContentDidChange(idx, removedCnt, addedCnt);\n }\n\n _invalidate() {\n this._objectsDirtyIndex = 0;\n this._lengthDirty = true;\n }\n\n _revalidate() {\n if (this._arrangedContentIsUpdating === true) return;\n\n if (this._arrangedContentTag === null || !(0, _validator.validateTag)(this._arrangedContentTag, this._arrangedContentRevision)) {\n var arrangedContent = this.get('arrangedContent');\n\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\n this._updateArrangedContentArray(arrangedContent);\n\n this._arrangedContentIsUpdating = false;\n }\n\n var arrangedContentTag = this._arrangedContentTag = (0, _validator.tagFor)(this, 'arrangedContent');\n this._arrangedContentRevision = (0, _validator.valueForTag)(this._arrangedContentTag);\n\n if ((0, _utils.isObject)(arrangedContent)) {\n this._lengthTag = (0, _validator.combine)([arrangedContentTag, (0, _metal.tagForProperty)(arrangedContent, 'length')]);\n this._arrTag = (0, _validator.combine)([arrangedContentTag, (0, _metal.tagForProperty)(arrangedContent, '[]')]);\n } else {\n this._lengthTag = this._arrTag = arrangedContentTag;\n }\n }\n }\n\n }\n\n _exports.default = ArrayProxy;\n ArrayProxy.reopen(_array.MutableArray, {\n /**\n The array that the proxy pretends to be. In the default `ArrayProxy`\n implementation, this and `content` are the same. Subclasses of `ArrayProxy`\n can override this property to provide things like sorting and filtering.\n @property arrangedContent\n @public\n */\n arrangedContent: (0, _metal.alias)('content'),\n\n // Array proxies don't need to notify when they change since their `[]` tag is\n // already dependent on the `[]` tag of `arrangedContent`\n arrayContentDidChange(startIdx, removeAmt, addAmt) {\n return (0, _metal.arrayContentDidChange)(this, startIdx, removeAmt, addAmt, false);\n }\n\n });\n});","define(\"@ember/-internals/runtime/lib/system/core_object\", [\"exports\", \"@ember/-internals/container\", \"@ember/-internals/owner\", \"@ember/polyfills\", \"@ember/-internals/utils\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/-internals/runtime/lib/mixins/action_handler\", \"@ember/debug\", \"@glimmer/runtime\"], function (_exports, _container, _owner, _polyfills, _utils, _meta2, _metal, _action_handler, _debug, _runtime) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/object\n */\n var reopen = _metal.Mixin.prototype.reopen;\n var wasApplied = new _polyfills._WeakSet();\n var prototypeMixinMap = new WeakMap();\n var initCalled = true\n /* DEBUG */\n ? new _polyfills._WeakSet() : undefined; // only used in debug builds to enable the proxy trap\n\n var destroyCalled = new Set();\n\n function ensureDestroyCalled(instance) {\n if (!destroyCalled.has(instance)) {\n instance.destroy();\n }\n }\n\n function initialize(obj, properties) {\n var m = (0, _meta2.meta)(obj);\n\n if (properties !== undefined) {\n (true && !(typeof properties === 'object' && properties !== null) && (0, _debug.assert)('EmberObject.create only accepts objects.', typeof properties === 'object' && properties !== null));\n (true && !(!(properties instanceof _metal.Mixin)) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _metal.Mixin)));\n var concatenatedProperties = obj.concatenatedProperties;\n var mergedProperties = obj.mergedProperties;\n var hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n var hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n var keyNames = Object.keys(properties);\n\n for (var i = 0; i < keyNames.length; i++) {\n var keyName = keyNames[i];\n var value = properties[keyName];\n (true && !(!(0, _metal.isClassicDecorator)(value)) && (0, _debug.assert)('EmberObject.create no longer supports defining computed ' + 'properties. Define computed properties using extend() or reopen() ' + 'before calling create().', !(0, _metal.isClassicDecorator)(value)));\n (true && !(!(typeof value === 'function' && value.toString().indexOf('._super') !== -1)) && (0, _debug.assert)('EmberObject.create no longer supports defining methods that call _super.', !(typeof value === 'function' && value.toString().indexOf('._super') !== -1)));\n (true && !(!(keyName === 'actions' && _action_handler.default.detect(obj))) && (0, _debug.assert)('`actions` must be provided at extend time, not at create time, ' + 'when Ember.ActionHandler is used (i.e. views, controllers & routes).', !(keyName === 'actions' && _action_handler.default.detect(obj))));\n var possibleDesc = (0, _metal.descriptorForProperty)(obj, keyName, m);\n var isDescriptor = possibleDesc !== undefined;\n\n if (!isDescriptor) {\n if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n var baseValue = obj[keyName];\n\n if (baseValue) {\n value = (0, _utils.makeArray)(baseValue).concat(value);\n } else {\n value = (0, _utils.makeArray)(value);\n }\n }\n\n if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n var _baseValue = obj[keyName];\n value = (0, _polyfills.assign)({}, _baseValue, value);\n }\n }\n\n if (isDescriptor) {\n possibleDesc.set(obj, keyName, value);\n } else if (typeof obj.setUnknownProperty === 'function' && !(keyName in obj)) {\n obj.setUnknownProperty(keyName, value);\n } else {\n if (true\n /* DEBUG */\n ) {\n (0, _metal.defineProperty)(obj, keyName, null, value, m); // setup mandatory setter\n } else {\n obj[keyName] = value;\n }\n }\n }\n } // using DEBUG here to avoid the extraneous variable when not needed\n\n\n if (true\n /* DEBUG */\n ) {\n initCalled.add(obj);\n }\n\n obj.init(properties);\n m.unsetInitializing();\n var observerEvents = m.observerEvents();\n\n if (observerEvents !== undefined) {\n for (var _i = 0; _i < observerEvents.length; _i++) {\n (0, _metal.activateObserver)(obj, observerEvents[_i].event, observerEvents[_i].sync);\n }\n }\n\n (0, _metal.sendEvent)(obj, 'init', undefined, undefined, undefined, m);\n }\n /**\n `CoreObject` is the base class for all Ember constructs. It establishes a\n class system based on Ember's Mixin system, and provides the basis for the\n Ember Object Model. `CoreObject` should generally not be used directly,\n instead you should use `EmberObject`.\n \n ## Usage\n \n You can define a class by extending from `CoreObject` using the `extend`\n method:\n \n ```js\n const Person = CoreObject.extend({\n name: 'Tomster',\n });\n ```\n \n For detailed usage, see the [Object Model](https://guides.emberjs.com/release/object-model/)\n section of the guides.\n \n ## Usage with Native Classes\n \n Native JavaScript `class` syntax can be used to extend from any `CoreObject`\n based class:\n \n ```js\n class Person extends CoreObject {\n init() {\n super.init(...arguments);\n this.name = 'Tomster';\n }\n }\n ```\n \n Some notes about `class` usage:\n \n * `new` syntax is not currently supported with classes that extend from\n `EmberObject` or `CoreObject`. You must continue to use the `create` method\n when making new instances of classes, even if they are defined using native\n class syntax. If you want to use `new` syntax, consider creating classes\n which do _not_ extend from `EmberObject` or `CoreObject`. Ember features,\n such as computed properties and decorators, will still work with base-less\n classes.\n * Instead of using `this._super()`, you must use standard `super` syntax in\n native classes. See the [MDN docs on classes](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Super_class_calls_with_super)\n for more details.\n * Native classes support using [constructors](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes#Constructor)\n to set up newly-created instances. Ember uses these to, among other things,\n support features that need to retrieve other entities by name, like Service\n injection and `getOwner`. To ensure your custom instance setup logic takes\n place after this important work is done, avoid using the `constructor` in\n favor of `init`.\n * Properties passed to `create` will be available on the instance by the time\n `init` runs, so any code that requires these values should work at that\n time.\n * Using native classes, and switching back to the old Ember Object model is\n fully supported.\n \n @class CoreObject\n @public\n */\n\n\n class CoreObject {\n constructor(owner) {\n // setOwner has to set both OWNER and LEGACY_OWNER for backwards compatibility, and\n // LEGACY_OWNER is enumerable, so setting it would add an enumerable property to the object,\n // so we just set `OWNER` directly here.\n this[_owner.OWNER] = owner; // prepare prototype...\n\n this.constructor.proto();\n var self = this;\n\n if (true\n /* DEBUG */\n && _utils.HAS_NATIVE_PROXY && typeof self.unknownProperty === 'function') {\n var 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\n\n self = new Proxy(this, {\n get(target, property, receiver) {\n if (property === _metal.PROXY_CONTENT) {\n return target;\n } else if ( // init called will be set on the proxy, not the target, so get with the receiver\n !initCalled.has(receiver) || typeof property === 'symbol' || (0, _utils.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\n var value = target.unknownProperty.call(receiver, property);\n\n if (typeof value !== 'function') {\n (true && !(value === undefined || value === null) && (0, _debug.assert)(messageFor(receiver, property), value === undefined || value === null));\n }\n }\n\n });\n }\n\n (0, _runtime.registerDestructor)(self, ensureDestroyCalled, true);\n (0, _runtime.registerDestructor)(self, () => self.willDestroy()); // disable chains\n\n var m = (0, _meta2.meta)(self);\n m.setInitializing(); // only return when in debug builds and `self` is the proxy created above\n\n if (true\n /* DEBUG */\n && self !== this) {\n return self;\n }\n } // Empty setter for absorbing setting the LEGACY_OWNER, which should _not_\n // become an enumerable property, and should not be used in general.\n\n\n set [_owner.LEGACY_OWNER](value) {}\n\n reopen(...args) {\n (0, _metal.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\n\n init() {}\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 /**\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 /**\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\n\n get isDestroyed() {\n return (0, _runtime.isDestroyed)(this);\n }\n\n set isDestroyed(value) {\n (true && !(false) && (0, _debug.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\n\n get isDestroying() {\n return (0, _runtime.isDestroying)(this);\n }\n\n set isDestroying(value) {\n (true && !(false) && (0, _debug.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\n\n destroy() {\n // Used to ensure that manually calling `.destroy()` does not immediately call destroy again\n destroyCalled.add(this);\n\n try {\n (0, _runtime.destroy)(this);\n } finally {\n destroyCalled.delete(this);\n }\n\n return this;\n }\n /**\n Override to implement teardown.\n @method willDestroy\n @public\n */\n\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\n\n toString() {\n var hasToStringExtension = typeof this.toStringExtension === 'function';\n var extension = hasToStringExtension ? `:${this.toStringExtension()}` : '';\n var ret = `<${(0, _utils.getName)(this) || (0, _container.getFactoryFor)(this) || this.constructor.toString()}:${(0, _utils.guidFor)(this)}${extension}>`;\n return ret;\n }\n /**\n Creates a new subclass.\n ```javascript\n import EmberObject from '@ember/object';\n const Person = EmberObject.extend({\n say(thing) {\n alert(thing);\n }\n });\n ```\n This defines a new subclass of EmberObject: `Person`. It contains one method: `say()`.\n You can also create a subclass from any existing class by calling its `extend()` method.\n For example, you might want to create a subclass of Ember's built-in `Component` class:\n ```javascript\n import Component from '@ember/component';\n const PersonComponent = Component.extend({\n tagName: 'li',\n classNameBindings: ['isAdministrator']\n });\n ```\n When defining a subclass, you can override methods but still access the\n implementation of your parent class by calling the special `_super()` method:\n ```javascript\n import EmberObject from '@ember/object';\n const Person = EmberObject.extend({\n say(thing) {\n let name = this.get('name');\n alert(`${name} says: ${thing}`);\n }\n });\n const Soldier = Person.extend({\n say(thing) {\n this._super(`${thing}, sir!`);\n },\n march(numberOfHours) {\n alert(`${this.get('name')} marches for ${numberOfHours} hours.`);\n }\n });\n let yehuda = Soldier.create({\n name: 'Yehuda Katz'\n });\n yehuda.say('Yes'); // alerts \"Yehuda Katz says: Yes, sir!\"\n ```\n The `create()` on line #17 creates an *instance* of the `Soldier` class.\n The `extend()` on line #8 creates a *subclass* of `Person`. Any instance\n of the `Person` class will *not* have the `march()` method.\n You can also pass `Mixin` classes to add additional properties to the subclass.\n ```javascript\n import EmberObject from '@ember/object';\n import Mixin from '@ember/object/mixin';\n const Person = EmberObject.extend({\n say(thing) {\n alert(`${this.get('name')} says: ${thing}`);\n }\n });\n const SingingMixin = Mixin.create({\n sing(thing) {\n alert(`${this.get('name')} sings: la la la ${thing}`);\n }\n });\n const BroadwayStar = Person.extend(SingingMixin, {\n dance() {\n alert(`${this.get('name')} dances: tap tap tap tap `);\n }\n });\n ```\n The `BroadwayStar` class contains three methods: `say()`, `sing()`, and `dance()`.\n @method extend\n @static\n @for @ember/object\n @param {Mixin} [mixins]* One or more Mixin classes\n @param {Object} [arguments]* Object containing values to use within the new class\n @public\n */\n\n\n static extend() {\n var Class = class extends this {};\n reopen.apply(Class.PrototypeMixin, arguments);\n return Class;\n }\n /**\n Creates an instance of a class. Accepts either no arguments, or an object\n containing values to initialize the newly instantiated object with.\n ```javascript\n import EmberObject from '@ember/object';\n const Person = EmberObject.extend({\n helloWorld() {\n alert(`Hi, my name is ${this.get('name')}`);\n }\n });\n let tom = Person.create({\n name: 'Tom Dale'\n });\n tom.helloWorld(); // alerts \"Hi, my name is Tom Dale\".\n ```\n `create` will call the `init` function if defined during\n `AnyObject.extend`\n If no arguments are passed to `create`, it will not set values to the new\n instance during initialization:\n ```javascript\n let noName = Person.create();\n noName.helloWorld(); // alerts undefined\n ```\n NOTE: For performance reasons, you cannot declare methods or computed\n properties during `create`. You should instead declare methods and computed\n properties when using `extend`.\n @method create\n @for @ember/object\n @static\n @param [arguments]*\n @public\n */\n\n\n static create(props, extra) {\n var instance;\n\n if (props !== undefined) {\n instance = new this((0, _owner.getOwner)(props));\n (0, _container.setFactoryFor)(instance, (0, _container.getFactoryFor)(props));\n } else {\n instance = new this();\n }\n\n if (extra === undefined) {\n initialize(instance, props);\n } else {\n initialize(instance, flattenProps.apply(this, arguments));\n }\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\n\n static reopen() {\n this.willReopen();\n reopen.apply(this.PrototypeMixin, arguments);\n return this;\n }\n\n static willReopen() {\n var p = this.prototype;\n\n if (wasApplied.has(p)) {\n wasApplied.delete(p); // 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\n if (prototypeMixinMap.has(this)) {\n prototypeMixinMap.set(this, _metal.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\n\n static reopenClass() {\n (0, _metal.applyMixin)(this, arguments);\n return this;\n }\n\n static detect(obj) {\n if ('function' !== typeof obj) {\n return false;\n }\n\n while (obj) {\n if (obj === this) {\n return true;\n }\n\n obj = obj.superclass;\n }\n\n return false;\n }\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\n\n static metaForProperty(key) {\n var proto = this.proto(); // ensure prototype is initialized\n\n var possibleDesc = (0, _metal.descriptorForProperty)(proto, key);\n (true && !(possibleDesc !== undefined) && (0, _debug.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\n\n static eachComputedProperty(callback, binding = this) {\n this.proto(); // ensure prototype is initialized\n\n var empty = {};\n (0, _meta2.meta)(this.prototype).forEachDescriptors((name, descriptor) => {\n if (descriptor.enumerable) {\n var _meta = descriptor._meta || empty;\n\n callback.call(binding, name, _meta);\n }\n });\n }\n\n static get PrototypeMixin() {\n var prototypeMixin = prototypeMixinMap.get(this);\n\n if (prototypeMixin === undefined) {\n prototypeMixin = _metal.Mixin.create();\n prototypeMixin.ownerConstructor = this;\n prototypeMixinMap.set(this, prototypeMixin);\n }\n\n return prototypeMixin;\n }\n\n static get superclass() {\n var c = Object.getPrototypeOf(this);\n return c !== Function.prototype ? c : undefined;\n }\n\n static proto() {\n var p = this.prototype;\n\n if (!wasApplied.has(p)) {\n wasApplied.add(p);\n var parent = this.superclass;\n\n if (parent) {\n parent.proto();\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\n\n if (prototypeMixinMap.has(this)) {\n this.PrototypeMixin.apply(p);\n }\n }\n\n return p;\n }\n\n }\n\n CoreObject.toString = _metal.classToString;\n (0, _utils.setName)(CoreObject, 'Ember.CoreObject');\n CoreObject.isClass = true;\n CoreObject.isMethod = false;\n\n function flattenProps(...props) {\n var {\n concatenatedProperties,\n mergedProperties\n } = this;\n var hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n var hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n var initProperties = {};\n\n for (var i = 0; i < props.length; i++) {\n var properties = props[i];\n (true && !(!(properties instanceof _metal.Mixin)) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _metal.Mixin)));\n var keyNames = Object.keys(properties);\n\n for (var j = 0, k = keyNames.length; j < k; j++) {\n var keyName = keyNames[j];\n var value = properties[keyName];\n\n if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n var baseValue = initProperties[keyName];\n\n if (baseValue) {\n value = (0, _utils.makeArray)(baseValue).concat(value);\n } else {\n value = (0, _utils.makeArray)(value);\n }\n }\n\n if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n var _baseValue2 = initProperties[keyName];\n value = (0, _polyfills.assign)({}, _baseValue2, value);\n }\n\n initProperties[keyName] = value;\n }\n }\n\n return initProperties;\n }\n\n if (true\n /* DEBUG */\n ) {\n /**\n Provides lookup-time type validation for injected properties.\n @private\n @method _onLookup\n */\n CoreObject._onLookup = function injectedPropertyAssertion(debugContainerKey) {\n var [type] = debugContainerKey.split(':');\n var proto = this.proto();\n\n for (var key in proto) {\n var desc = (0, _metal.descriptorForProperty)(proto, key);\n\n if (desc && _metal.DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n (true && !(type === 'controller' || _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter).type !== 'controller') && (0, _debug.assert)(`Defining \\`${key}\\` as an injected controller property on a non-controller (\\`${debugContainerKey}\\`) is not allowed.`, type === 'controller' || _metal.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\n\n CoreObject._lazyInjections = function () {\n var injections = {};\n var proto = this.proto();\n var key;\n var desc;\n\n for (key in proto) {\n desc = (0, _metal.descriptorForProperty)(proto, key);\n\n if (desc && _metal.DEBUG_INJECTION_FUNCTIONS.has(desc._getter)) {\n var {\n namespace,\n source,\n type,\n name\n } = _metal.DEBUG_INJECTION_FUNCTIONS.get(desc._getter);\n\n injections[key] = {\n namespace,\n source,\n specifier: `${type}:${name || key}`\n };\n }\n }\n\n return injections;\n };\n }\n\n if (!_utils.HAS_NATIVE_SYMBOL) {\n // Allows OWNER and INIT_FACTORY to be non-enumerable in IE11\n var instanceOwner = new WeakMap();\n var instanceFactory = new WeakMap();\n Object.defineProperty(CoreObject.prototype, _owner.OWNER, {\n get() {\n return instanceOwner.get(this);\n },\n\n set(value) {\n instanceOwner.set(this, value);\n }\n\n });\n Object.defineProperty(CoreObject.prototype, _container.INIT_FACTORY, {\n get() {\n return instanceFactory.get(this);\n },\n\n set(value) {\n instanceFactory.set(this, value);\n }\n\n });\n }\n\n var _default = CoreObject;\n _exports.default = _default;\n});","define(\"@ember/-internals/runtime/lib/system/namespace\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/utils\", \"@ember/-internals/runtime/lib/system/object\"], function (_exports, _metal, _utils, _object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n // Preloaded into namespaces\n\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 @namespace Ember\n @extends EmberObject\n @public\n */\n class Namespace extends _object.default {\n init() {\n (0, _metal.addNamespace)(this);\n }\n\n toString() {\n var name = (0, _metal.get)(this, 'name') || (0, _metal.get)(this, 'modulePrefix');\n\n if (name) {\n return name;\n }\n\n (0, _metal.findNamespaces)();\n name = (0, _utils.getName)(this);\n\n if (name === undefined) {\n name = (0, _utils.guidFor)(this);\n (0, _utils.setName)(this, name);\n }\n\n return name;\n }\n\n nameClasses() {\n (0, _metal.processNamespace)(this);\n }\n\n destroy() {\n (0, _metal.removeNamespace)(this);\n super.destroy();\n }\n\n }\n\n _exports.default = Namespace;\n Namespace.prototype.isNamespace = true;\n Namespace.NAMESPACES = _metal.NAMESPACES;\n Namespace.NAMESPACES_BY_ID = _metal.NAMESPACES_BY_ID;\n Namespace.processAll = _metal.processAllNamespaces;\n Namespace.byName = _metal.findNamespace;\n});","define(\"@ember/-internals/runtime/lib/system/object\", [\"exports\", \"@ember/-internals/container\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/-internals/runtime/lib/system/core_object\", \"@ember/-internals/runtime/lib/mixins/observable\", \"@ember/debug\"], function (_exports, _container, _utils, _metal, _core_object, _observable, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.FrameworkObject = _exports.default = void 0;\n\n /**\n @module @ember/object\n */\n\n /**\n `EmberObject` is the main base class for all Ember objects. It is a subclass\n of `CoreObject` with the `Observable` mixin applied. For details,\n see the documentation for each of these.\n \n @class EmberObject\n @extends CoreObject\n @uses Observable\n @public\n */\n class EmberObject extends _core_object.default {\n get _debugContainerKey() {\n var factory = (0, _container.getFactoryFor)(this);\n return factory !== undefined && factory.fullName;\n }\n\n }\n\n _exports.default = EmberObject;\n (0, _utils.setName)(EmberObject, 'Ember.Object');\n\n _observable.default.apply(EmberObject.prototype);\n\n var FrameworkObject;\n _exports.FrameworkObject = FrameworkObject;\n _exports.FrameworkObject = FrameworkObject = class FrameworkObject extends _core_object.default {\n get _debugContainerKey() {\n var factory = (0, _container.getFactoryFor)(this);\n return factory !== undefined && factory.fullName;\n }\n\n };\n\n _observable.default.apply(FrameworkObject.prototype);\n\n if (true\n /* DEBUG */\n ) {\n var INIT_WAS_CALLED = (0, _utils.symbol)('INIT_WAS_CALLED');\n var ASSERT_INIT_WAS_CALLED = (0, _utils.symbol)('ASSERT_INIT_WAS_CALLED');\n _exports.FrameworkObject = FrameworkObject = class DebugFrameworkObject extends EmberObject {\n init() {\n super.init(...arguments);\n this[INIT_WAS_CALLED] = true;\n }\n\n [ASSERT_INIT_WAS_CALLED]() {\n (true && !(this[INIT_WAS_CALLED]) && (0, _debug.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 };\n (0, _metal.addListener)(FrameworkObject.prototype, 'init', null, ASSERT_INIT_WAS_CALLED);\n }\n});","define(\"@ember/-internals/runtime/lib/system/object_proxy\", [\"exports\", \"@ember/-internals/runtime/lib/system/object\", \"@ember/-internals/runtime/lib/mixins/-proxy\"], function (_exports, _object, _proxy) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n `ObjectProxy` forwards all properties not defined by the proxy itself\n to a proxied `content` object.\n \n ```javascript\n import EmberObject from '@ember/object';\n import ObjectProxy from '@ember/object/proxy';\n \n let exampleObject = EmberObject.create({\n name: 'Foo'\n });\n \n let exampleProxy = ObjectProxy.create({\n content: exampleObject\n });\n \n // Access and change existing properties\n exampleProxy.get('name'); // 'Foo'\n exampleProxy.set('name', 'Bar');\n exampleObject.get('name'); // 'Bar'\n \n // Create new 'description' property on `exampleObject`\n exampleProxy.set('description', 'Foo is a whizboo baz');\n exampleObject.get('description'); // 'Foo is a whizboo baz'\n ```\n \n While `content` is unset, setting a property to be delegated will throw an\n Error.\n \n ```javascript\n import ObjectProxy from '@ember/object/proxy';\n \n let exampleProxy = ObjectProxy.create({\n content: null,\n flag: null\n });\n exampleProxy.set('flag', true);\n exampleProxy.get('flag'); // true\n exampleProxy.get('foo'); // undefined\n exampleProxy.set('foo', 'data'); // throws Error\n ```\n \n Delegated properties can be bound to and will change when content is updated.\n \n Computed properties on the proxy itself can depend on delegated properties.\n \n ```javascript\n import { computed } from '@ember/object';\n import ObjectProxy from '@ember/object/proxy';\n \n ProxyWithComputedProperty = ObjectProxy.extend({\n fullName: computed('firstName', 'lastName', function() {\n var firstName = this.get('firstName'),\n lastName = this.get('lastName');\n if (firstName && lastName) {\n return firstName + ' ' + lastName;\n }\n return firstName || lastName;\n })\n });\n \n let exampleProxy = ProxyWithComputedProperty.create();\n \n exampleProxy.get('fullName'); // undefined\n exampleProxy.set('content', {\n firstName: 'Tom', lastName: 'Dale'\n }); // triggers property change for fullName on proxy\n \n exampleProxy.get('fullName'); // 'Tom Dale'\n ```\n \n @class ObjectProxy\n @extends EmberObject\n @uses Ember.ProxyMixin\n @public\n */\n class ObjectProxy extends _object.default {}\n\n _exports.default = ObjectProxy;\n ObjectProxy.PrototypeMixin.reopen(_proxy.default);\n});","define(\"@ember/-internals/runtime/lib/type-of\", [\"exports\", \"@ember/-internals/runtime/lib/system/core_object\"], function (_exports, _core_object) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.typeOf = typeOf;\n // ........................................\n // TYPING & ARRAY MESSAGING\n //\n var 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 };\n var {\n toString\n } = Object.prototype;\n /**\n @module @ember/utils\n */\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 {Object} item the item to check\n @return {String} the type\n @public\n @static\n */\n\n function typeOf(item) {\n if (item === null) {\n return 'null';\n }\n\n if (item === undefined) {\n return 'undefined';\n }\n\n var ret = TYPE_MAP[toString.call(item)] || 'object';\n\n if (ret === 'function') {\n if (_core_object.default.detect(item)) {\n ret = 'class';\n }\n } else if (ret === 'object') {\n if (item instanceof Error) {\n ret = 'error';\n } else if (item instanceof _core_object.default) {\n ret = 'instance';\n } else if (item instanceof Date) {\n ret = 'date';\n }\n }\n\n return ret;\n }\n});","define(\"@ember/-internals/utils/index\", [\"exports\", \"@ember/polyfills\", \"@ember/debug\"], function (_exports, _polyfills, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.enumerableSymbol = enumerableSymbol;\n _exports.isInternalSymbol = isInternalSymbol;\n _exports.dictionary = makeDictionary;\n _exports.uuid = uuid;\n _exports.generateGuid = generateGuid;\n _exports.guidFor = guidFor;\n _exports.intern = intern;\n _exports.wrap = wrap;\n _exports.observerListenerMetaFor = observerListenerMetaFor;\n _exports.setObservers = setObservers;\n _exports.setListeners = setListeners;\n _exports.inspect = inspect;\n _exports.lookupDescriptor = lookupDescriptor;\n _exports.canInvoke = canInvoke;\n _exports.tryInvoke = tryInvoke;\n _exports.makeArray = makeArray;\n _exports.getName = getName;\n _exports.setName = setName;\n _exports.toString = toString;\n _exports.isObject = isObject;\n _exports.isProxy = isProxy;\n _exports.setProxy = setProxy;\n _exports.setEmberArray = setEmberArray;\n _exports.isEmberArray = isEmberArray;\n _exports.setWithMandatorySetter = _exports.teardownMandatorySetter = _exports.setupMandatorySetter = _exports.Cache = _exports.HAS_NATIVE_PROXY = _exports.HAS_NATIVE_SYMBOL = _exports.ROOT = _exports.checkHasSuper = _exports.GUID_KEY = _exports.getDebugName = _exports.symbol = void 0;\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 */\n function intern(str) {\n var obj = {};\n obj[str] = 1;\n\n for (var key in obj) {\n if (key === str) {\n return key;\n }\n }\n\n return str;\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 */\n\n\n function isObject(value) {\n return value !== null && (typeof value === 'object' || typeof value === 'function');\n }\n /**\n @module @ember/object\n */\n\n /**\n Previously we used `Ember.$.uuid`, however `$.uuid` has been removed from\n jQuery master. We'll just bootstrap our own uuid now.\n \n @private\n @return {Number} the uuid\n */\n\n\n var _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 */\n\n function 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 */\n\n\n var GUID_PREFIX = 'ember'; // Used for guid generation...\n\n var OBJECT_GUIDS = new WeakMap();\n var 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 */\n\n var 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 */\n\n _exports.GUID_KEY = GUID_KEY;\n\n function generateGuid(obj, prefix = GUID_PREFIX) {\n var guid = prefix + uuid();\n\n if (isObject(obj)) {\n OBJECT_GUIDS.set(obj, guid);\n }\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 */\n\n\n function guidFor(value) {\n var guid;\n\n if (isObject(value)) {\n guid = OBJECT_GUIDS.get(value);\n\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\n if (guid === undefined) {\n var type = typeof value;\n\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\n NON_OBJECT_GUIDS.set(value, guid);\n }\n }\n\n return guid;\n }\n\n var HAS_NATIVE_SYMBOL = function () {\n if (typeof Symbol !== 'function') {\n return false;\n }\n\n return typeof Symbol() === 'symbol';\n }();\n\n _exports.HAS_NATIVE_SYMBOL = HAS_NATIVE_SYMBOL;\n var GENERATED_SYMBOLS = [];\n\n function isInternalSymbol(possibleSymbol) {\n return GENERATED_SYMBOLS.indexOf(possibleSymbol) !== -1;\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.\n\n\n function 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 var id = GUID_KEY + Math.floor(Math.random() * Date.now());\n var symbol = intern(`__${debugName}${id}__`);\n\n if (true\n /* DEBUG */\n ) {\n GENERATED_SYMBOLS.push(symbol);\n }\n\n return symbol;\n }\n\n var symbol = HAS_NATIVE_SYMBOL ? Symbol : enumerableSymbol; // 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.\n\n _exports.symbol = symbol;\n\n function makeDictionary(parent) {\n var dict = Object.create(parent);\n dict['_dict'] = null;\n delete dict['_dict'];\n return dict;\n }\n\n var getDebugName;\n\n if (true\n /* DEBUG */\n ) {\n var getFunctionName = fn => {\n var functionName = fn.name;\n\n if (functionName === undefined) {\n var 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 var getObjectName = obj => {\n var name;\n var className;\n\n if (obj.constructor && obj.constructor !== Object) {\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 var getPrimitiveName = value => {\n return String(value);\n };\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 }\n\n var getDebugName$1 = getDebugName;\n _exports.getDebugName = getDebugName$1;\n var HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\n var fnToString = Function.prototype.toString;\n\n var checkHasSuper = (() => {\n var sourceAvailable = fnToString.call(function () {\n return this;\n }).indexOf('return this') > -1;\n\n if (sourceAvailable) {\n return function checkHasSuper(func) {\n return HAS_SUPER_PATTERN.test(fnToString.call(func));\n };\n }\n\n return function checkHasSuper() {\n return true;\n };\n })();\n\n _exports.checkHasSuper = checkHasSuper;\n var HAS_SUPER_MAP = new WeakMap();\n var ROOT = Object.freeze(function () {});\n _exports.ROOT = ROOT;\n HAS_SUPER_MAP.set(ROOT, false);\n\n function hasSuper(func) {\n var hasSuper = HAS_SUPER_MAP.get(func);\n\n if (hasSuper === undefined) {\n hasSuper = checkHasSuper(func);\n HAS_SUPER_MAP.set(func, hasSuper);\n }\n\n return hasSuper;\n }\n\n class ObserverListenerMeta {\n constructor() {\n this.listeners = undefined;\n this.observers = undefined;\n }\n\n }\n\n var OBSERVERS_LISTENERS_MAP = new WeakMap();\n\n function createObserverListenerMetaFor(fn) {\n var meta = OBSERVERS_LISTENERS_MAP.get(fn);\n\n if (meta === undefined) {\n meta = new ObserverListenerMeta();\n OBSERVERS_LISTENERS_MAP.set(fn, meta);\n }\n\n return meta;\n }\n\n function observerListenerMetaFor(fn) {\n return OBSERVERS_LISTENERS_MAP.get(fn);\n }\n\n function setObservers(func, observers) {\n var meta = createObserverListenerMetaFor(func);\n meta.observers = observers;\n }\n\n function setListeners(func, listeners) {\n var meta = createObserverListenerMetaFor(func);\n meta.listeners = listeners;\n }\n\n var IS_WRAPPED_FUNCTION_SET = new _polyfills._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 */\n\n function wrap(func, superFunc) {\n if (!hasSuper(func)) {\n return func;\n } // ensure an unwrapped super that calls _super is wrapped with a terminal _super\n\n\n if (!IS_WRAPPED_FUNCTION_SET.has(superFunc) && hasSuper(superFunc)) {\n return _wrap(func, _wrap(superFunc, ROOT));\n }\n\n return _wrap(func, superFunc);\n }\n\n function _wrap(func, superFunc) {\n function superWrapper() {\n var orig = this._super;\n this._super = superFunc;\n var ret = func.apply(this, arguments);\n this._super = orig;\n return ret;\n }\n\n IS_WRAPPED_FUNCTION_SET.add(superWrapper);\n var meta = OBSERVERS_LISTENERS_MAP.get(func);\n\n if (meta !== undefined) {\n OBSERVERS_LISTENERS_MAP.set(superWrapper, meta);\n }\n\n return superWrapper;\n }\n\n var {\n toString: objectToString\n } = Object.prototype;\n var {\n toString: functionToString\n } = Function.prototype;\n var {\n isArray\n } = Array;\n var {\n keys: objectKeys\n } = Object;\n var {\n stringify\n } = JSON;\n var LIST_LIMIT = 100;\n var DEPTH_LIMIT = 4;\n var SAFE_KEY = /^[\\w$]+$/;\n /**\n @module @ember/debug\n */\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 */\n\n 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\n return inspectValue(obj, 0);\n }\n\n function inspectValue(value, depth, seen) {\n var valueIsArray = false;\n\n switch (typeof value) {\n case 'undefined':\n return 'undefined';\n\n case 'object':\n if (value === null) return 'null';\n\n if (isArray(value)) {\n valueIsArray = true;\n break;\n } // is toString Object.prototype.toString or undefined then traverse\n\n\n if (value.toString === objectToString || value.toString === undefined) {\n break;\n } // custom toString\n\n\n return value.toString();\n\n case 'function':\n return value.toString === functionToString ? value.name ? `[Function:${value.name}]` : `[Function]` : value.toString();\n\n case 'string':\n return stringify(value);\n\n case 'symbol':\n case 'boolean':\n case 'number':\n default:\n return value.toString();\n }\n\n if (seen === undefined) {\n seen = new _polyfills._WeakSet();\n } else {\n if (seen.has(value)) return `[Circular]`;\n }\n\n seen.add(value);\n return valueIsArray ? inspectArray(value, depth + 1, seen) : inspectObject(value, depth + 1, seen);\n }\n\n function inspectKey(key) {\n return SAFE_KEY.test(key) ? key : stringify(key);\n }\n\n function inspectObject(obj, depth, seen) {\n if (depth > DEPTH_LIMIT) {\n return '[Object]';\n }\n\n var s = '{';\n var keys = objectKeys(obj);\n\n for (var i = 0; i < keys.length; i++) {\n s += i === 0 ? ' ' : ', ';\n\n if (i >= LIST_LIMIT) {\n s += `... ${keys.length - LIST_LIMIT} more keys`;\n break;\n }\n\n var key = keys[i];\n s += inspectKey(key) + ': ' + inspectValue(obj[key], depth, seen);\n }\n\n s += ' }';\n return s;\n }\n\n function inspectArray(arr, depth, seen) {\n if (depth > DEPTH_LIMIT) {\n return '[Array]';\n }\n\n var s = '[';\n\n for (var i = 0; i < arr.length; i++) {\n s += i === 0 ? ' ' : ', ';\n\n if (i >= LIST_LIMIT) {\n s += `... ${arr.length - LIST_LIMIT} more items`;\n break;\n }\n\n s += inspectValue(arr[i], depth, seen);\n }\n\n s += ' ]';\n return s;\n }\n\n function lookupDescriptor(obj, keyName) {\n var current = obj;\n\n do {\n var descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n\n if (descriptor !== undefined) {\n return descriptor;\n }\n\n current = Object.getPrototypeOf(current);\n } while (current !== null);\n\n return null;\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 */\n\n\n function canInvoke(obj, methodName) {\n return obj !== null && obj !== undefined && typeof obj[methodName] === 'function';\n }\n /**\n @module @ember/utils\n */\n\n /**\n Checks to see if the `methodName` exists on the `obj`,\n and if it does, invokes it with the arguments passed.\n \n ```javascript\n import { tryInvoke } from '@ember/utils';\n \n let d = new Date('03/15/2013');\n \n tryInvoke(d, 'getTime'); // 1363320000000\n tryInvoke(d, 'setFullYear', [2014]); // 1394856000000\n tryInvoke(d, 'noSuchMethod', [2014]); // undefined\n ```\n \n @method tryInvoke\n @for @ember/utils\n @static\n @param {Object} obj The object to check for the method\n @param {String} methodName The method name to check for\n @param {Array} [args] The arguments to pass to the method\n @return {*} the return value of the invoked method or undefined if it cannot be invoked\n @public\n */\n\n\n function tryInvoke(obj, methodName, args) {\n if (canInvoke(obj, methodName)) {\n var method = obj[methodName];\n return method.apply(obj, args);\n }\n }\n\n var {\n isArray: isArray$1\n } = Array;\n\n function makeArray(obj) {\n if (obj === null || obj === undefined) {\n return [];\n }\n\n return isArray$1(obj) ? obj : [obj];\n }\n\n var NAMES = new WeakMap();\n\n function setName(obj, name) {\n if (isObject(obj)) NAMES.set(obj, name);\n }\n\n function getName(obj) {\n return NAMES.get(obj);\n }\n\n var objectToString$1 = Object.prototype.toString;\n\n function 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 */\n\n\n function toString(obj) {\n if (typeof obj === 'string') {\n return obj;\n }\n\n if (null === obj) return 'null';\n if (undefined === obj) return 'undefined';\n\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 var r = '';\n\n for (var k = 0; k < obj.length; k++) {\n if (k > 0) {\n r += ',';\n }\n\n if (!isNone(obj[k])) {\n r += toString(obj[k]);\n }\n }\n\n return r;\n }\n\n if (typeof obj.toString === 'function') {\n return obj.toString();\n }\n\n return objectToString$1.call(obj);\n }\n\n var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n _exports.HAS_NATIVE_PROXY = HAS_NATIVE_PROXY;\n var PROXIES = new _polyfills._WeakSet();\n\n function isProxy(value) {\n if (isObject(value)) {\n return PROXIES.has(value);\n }\n\n return false;\n }\n\n function setProxy(object) {\n if (isObject(object)) {\n PROXIES.add(object);\n }\n }\n\n class Cache {\n constructor(limit, func, store) {\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 this.store = store || new Map();\n }\n\n get(key) {\n if (this.store.has(key)) {\n this.hits++;\n return this.store.get(key);\n } else {\n this.misses++;\n return this.set(key, this.func(key));\n }\n }\n\n set(key, value) {\n if (this.limit > this.size) {\n this.size++;\n this.store.set(key, value);\n }\n\n return value;\n }\n\n purge() {\n this.store.clear();\n this.size = 0;\n this.hits = 0;\n this.misses = 0;\n }\n\n }\n\n _exports.Cache = Cache;\n var EMBER_ARRAYS = new _polyfills._WeakSet();\n\n function setEmberArray(obj) {\n EMBER_ARRAYS.add(obj);\n }\n\n function isEmberArray(obj) {\n return EMBER_ARRAYS.has(obj);\n }\n\n var setupMandatorySetter;\n _exports.setupMandatorySetter = setupMandatorySetter;\n var teardownMandatorySetter;\n _exports.teardownMandatorySetter = teardownMandatorySetter;\n var setWithMandatorySetter;\n _exports.setWithMandatorySetter = setWithMandatorySetter;\n\n function isElementKey(key) {\n return typeof key === 'number' ? isPositiveInt(key) : isStringInt(key);\n }\n\n function isStringInt(str) {\n var num = parseInt(str, 10);\n return isPositiveInt(num) && str === String(num);\n }\n\n function isPositiveInt(num) {\n return num >= 0 && num % 1 === 0;\n }\n\n if (true\n /* DEBUG */\n ) {\n var SEEN_TAGS = new _polyfills._WeakSet();\n var MANDATORY_SETTERS = new WeakMap();\n\n var _propertyIsEnumerable = function (obj, key) {\n return Object.prototype.propertyIsEnumerable.call(obj, key);\n };\n\n _exports.setupMandatorySetter = setupMandatorySetter = function (tag, obj, keyName) {\n if (SEEN_TAGS.has(tag)) {\n return;\n }\n\n SEEN_TAGS.add(tag);\n\n if (Array.isArray(obj) && isElementKey(keyName)) {\n return;\n }\n\n var desc = lookupDescriptor(obj, keyName) || {};\n\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\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\n var setters = MANDATORY_SETTERS.get(obj);\n\n if (setters === undefined) {\n setters = {};\n MANDATORY_SETTERS.set(obj, setters);\n }\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\n get() {\n if (desc.get) {\n return desc.get.call(this);\n } else {\n return desc.value;\n }\n },\n\n set(value) {\n (true && !(false) && (0, _debug.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 };\n\n _exports.teardownMandatorySetter = teardownMandatorySetter = function (obj, keyName) {\n var setters = MANDATORY_SETTERS.get(obj);\n\n if (setters !== undefined && setters[keyName] !== undefined) {\n Object.defineProperty(obj, keyName, setters[keyName]);\n setters[keyName] = undefined;\n }\n };\n\n _exports.setWithMandatorySetter = setWithMandatorySetter = function (obj, keyName, value) {\n var setters = MANDATORY_SETTERS.get(obj);\n\n if (setters !== undefined && setters[keyName] !== undefined) {\n var setter = setters[keyName];\n\n if (setter.set) {\n setter.set.call(obj, value);\n } else {\n setter.value = value; // If the object didn't have own property before, it would have changed\n // the enumerability after setting the value the first time.\n\n if (!setter.hadOwnProperty) {\n var 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 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\n});","define(\"@ember/-internals/views/index\", [\"exports\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/-internals/views/lib/system/utils\", \"@ember/-internals/views/lib/system/event_dispatcher\", \"@ember/-internals/views/lib/component_lookup\", \"@ember/-internals/views/lib/mixins/text_support\", \"@ember/-internals/views/lib/views/core_view\", \"@ember/-internals/views/lib/mixins/class_names_support\", \"@ember/-internals/views/lib/mixins/child_views_support\", \"@ember/-internals/views/lib/mixins/view_state_support\", \"@ember/-internals/views/lib/mixins/view_support\", \"@ember/-internals/views/lib/mixins/action_support\", \"@ember/-internals/views/lib/compat/attrs\", \"@ember/-internals/views/lib/system/action_manager\"], function (_exports, _jquery, _utils, _event_dispatcher, _component_lookup, _text_support, _core_view, _class_names_support, _child_views_support, _view_state_support, _view_support, _action_support, _attrs, _action_manager) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"jQuery\", {\n enumerable: true,\n get: function () {\n return _jquery.jQuery;\n }\n });\n Object.defineProperty(_exports, \"jQueryDisabled\", {\n enumerable: true,\n get: function () {\n return _jquery.jQueryDisabled;\n }\n });\n Object.defineProperty(_exports, \"addChildView\", {\n enumerable: true,\n get: function () {\n return _utils.addChildView;\n }\n });\n Object.defineProperty(_exports, \"isSimpleClick\", {\n enumerable: true,\n get: function () {\n return _utils.isSimpleClick;\n }\n });\n Object.defineProperty(_exports, \"getViewBounds\", {\n enumerable: true,\n get: function () {\n return _utils.getViewBounds;\n }\n });\n Object.defineProperty(_exports, \"getViewClientRects\", {\n enumerable: true,\n get: function () {\n return _utils.getViewClientRects;\n }\n });\n Object.defineProperty(_exports, \"getViewBoundingClientRect\", {\n enumerable: true,\n get: function () {\n return _utils.getViewBoundingClientRect;\n }\n });\n Object.defineProperty(_exports, \"getRootViews\", {\n enumerable: true,\n get: function () {\n return _utils.getRootViews;\n }\n });\n Object.defineProperty(_exports, \"getChildViews\", {\n enumerable: true,\n get: function () {\n return _utils.getChildViews;\n }\n });\n Object.defineProperty(_exports, \"getViewId\", {\n enumerable: true,\n get: function () {\n return _utils.getViewId;\n }\n });\n Object.defineProperty(_exports, \"getElementView\", {\n enumerable: true,\n get: function () {\n return _utils.getElementView;\n }\n });\n Object.defineProperty(_exports, \"getViewElement\", {\n enumerable: true,\n get: function () {\n return _utils.getViewElement;\n }\n });\n Object.defineProperty(_exports, \"setElementView\", {\n enumerable: true,\n get: function () {\n return _utils.setElementView;\n }\n });\n Object.defineProperty(_exports, \"setViewElement\", {\n enumerable: true,\n get: function () {\n return _utils.setViewElement;\n }\n });\n Object.defineProperty(_exports, \"clearElementView\", {\n enumerable: true,\n get: function () {\n return _utils.clearElementView;\n }\n });\n Object.defineProperty(_exports, \"clearViewElement\", {\n enumerable: true,\n get: function () {\n return _utils.clearViewElement;\n }\n });\n Object.defineProperty(_exports, \"constructStyleDeprecationMessage\", {\n enumerable: true,\n get: function () {\n return _utils.constructStyleDeprecationMessage;\n }\n });\n Object.defineProperty(_exports, \"EventDispatcher\", {\n enumerable: true,\n get: function () {\n return _event_dispatcher.default;\n }\n });\n Object.defineProperty(_exports, \"ComponentLookup\", {\n enumerable: true,\n get: function () {\n return _component_lookup.default;\n }\n });\n Object.defineProperty(_exports, \"TextSupport\", {\n enumerable: true,\n get: function () {\n return _text_support.default;\n }\n });\n Object.defineProperty(_exports, \"CoreView\", {\n enumerable: true,\n get: function () {\n return _core_view.default;\n }\n });\n Object.defineProperty(_exports, \"ClassNamesSupport\", {\n enumerable: true,\n get: function () {\n return _class_names_support.default;\n }\n });\n Object.defineProperty(_exports, \"ChildViewsSupport\", {\n enumerable: true,\n get: function () {\n return _child_views_support.default;\n }\n });\n Object.defineProperty(_exports, \"ViewStateSupport\", {\n enumerable: true,\n get: function () {\n return _view_state_support.default;\n }\n });\n Object.defineProperty(_exports, \"ViewMixin\", {\n enumerable: true,\n get: function () {\n return _view_support.default;\n }\n });\n Object.defineProperty(_exports, \"ActionSupport\", {\n enumerable: true,\n get: function () {\n return _action_support.default;\n }\n });\n Object.defineProperty(_exports, \"MUTABLE_CELL\", {\n enumerable: true,\n get: function () {\n return _attrs.MUTABLE_CELL;\n }\n });\n Object.defineProperty(_exports, \"ActionManager\", {\n enumerable: true,\n get: function () {\n return _action_manager.default;\n }\n });\n});","define(\"@ember/-internals/views/lib/compat/attrs\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.MUTABLE_CELL = void 0;\n var MUTABLE_CELL = (0, _utils.symbol)('MUTABLE_CELL');\n _exports.MUTABLE_CELL = MUTABLE_CELL;\n});","define(\"@ember/-internals/views/lib/compat/fallback-view-registry\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = (0, _utils.dictionary)(null);\n\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/component_lookup\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n var _default = _runtime.Object.extend({\n componentFor(name, owner, options) {\n var fullName = `component:${name}`;\n return owner.factoryFor(fullName, options);\n },\n\n layoutFor(name, owner, options) {\n var templateFullName = `template:components/${name}`;\n return owner.lookup(templateFullName, options);\n }\n\n });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/action_support\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/views/lib/compat/attrs\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _attrs, _deprecatedFeatures) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n var mixinObj = {\n send(actionName, ...args) {\n (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .send() with the action '${actionName}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed));\n var action = this.actions && this.actions[actionName];\n\n if (action) {\n var shouldBubble = action.apply(this, args) === true;\n\n if (!shouldBubble) {\n return;\n }\n }\n\n var target = (0, _metal.get)(this, 'target');\n\n if (target) {\n (true && !(typeof target.send === 'function') && (0, _debug.assert)(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`, typeof target.send === 'function'));\n target.send(...arguments);\n } else {\n (true && !(action) && (0, _debug.assert)(`${(0, _utils.inspect)(this)} had no action handler for: ${actionName}`, action));\n }\n }\n\n };\n\n if (_deprecatedFeatures.SEND_ACTION) {\n /**\n Calls an action passed to a component.\n For example a component for playing or pausing music may translate click events\n into action notifications of \"play\" or \"stop\" depending on some internal state\n of the component:\n ```app/components/play-button.js\n import Component from '@ember/component';\n export default Component.extend({\n click() {\n if (this.get('isPlaying')) {\n this.sendAction('play');\n } else {\n this.sendAction('stop');\n }\n }\n });\n ```\n The actions \"play\" and \"stop\" must be passed to this `play-button` component:\n ```handlebars\n {{! app/templates/application.hbs }}\n {{play-button play=(action \"musicStarted\") stop=(action \"musicStopped\")}}\n ```\n When the component receives a browser `click` event it translate this\n interaction into application-specific semantics (\"play\" or \"stop\") and\n calls the specified action.\n ```app/controller/application.js\n import Controller from '@ember/controller';\n export default Controller.extend({\n actions: {\n musicStarted() {\n // called when the play button is clicked\n // and the music started playing\n },\n musicStopped() {\n // called when the play button is clicked\n // and the music stopped playing\n }\n }\n });\n ```\n If no action is passed to `sendAction` a default name of \"action\"\n is assumed.\n ```app/components/next-button.js\n import Component from '@ember/component';\n export default Component.extend({\n click() {\n this.sendAction();\n }\n });\n ```\n ```handlebars\n {{! app/templates/application.hbs }}\n {{next-button action=(action \"playNextSongInAlbum\")}}\n ```\n ```app/controllers/application.js\n import Controller from '@ember/controller';\n export default Controller.extend({\n actions: {\n playNextSongInAlbum() {\n ...\n }\n }\n });\n ```\n @method sendAction\n @param [action] {String} the action to call\n @param [params] {*} arguments for the action\n @public\n @deprecated\n */\n var sendAction = function sendAction(action, ...contexts) {\n (true && !(!this.isDestroying && !this.isDestroyed) && (0, _debug.assert)(`Attempted to call .sendAction() with the action '${action}' on the destroyed object '${this}'.`, !this.isDestroying && !this.isDestroyed));\n (true && !(false) && (0, _debug.deprecate)(`You called ${(0, _utils.inspect)(this)}.sendAction(${typeof action === 'string' ? `\"${action}\"` : ''}) but Component#sendAction is deprecated. Please use closure actions instead.`, false, {\n id: 'ember-component.send-action',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_ember-component-send-action'\n }));\n var actionName; // Send the default action\n\n if (action === undefined) {\n action = 'action';\n }\n\n actionName = (0, _metal.get)(this, `attrs.${action}`) || (0, _metal.get)(this, action);\n actionName = validateAction(this, actionName); // If no action name for that action could be found, just abort.\n\n if (actionName === undefined) {\n return;\n }\n\n if (typeof actionName === 'function') {\n actionName(...contexts);\n } else {\n this.triggerAction({\n action: actionName,\n actionContext: contexts\n });\n }\n };\n\n var validateAction = function validateAction(component, actionName) {\n if (actionName && actionName[_attrs.MUTABLE_CELL]) {\n actionName = actionName.value;\n }\n\n (true && !(actionName === null || actionName === undefined || typeof actionName === 'string' || typeof actionName === 'function') && (0, _debug.assert)(`The default action was triggered on the component ${component.toString()}, but the action name (${actionName}) was not a string.`, actionName === null || actionName === undefined || typeof actionName === 'string' || typeof actionName === 'function'));\n return actionName;\n };\n\n mixinObj.sendAction = sendAction;\n }\n /**\n @class ActionSupport\n @namespace Ember\n @private\n */\n\n\n var _default = _metal.Mixin.create(mixinObj);\n\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/child_views_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/views/lib/system/utils\"], function (_exports, _metal, _utils) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n var _default = _metal.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: (0, _metal.nativeDescDecorator)({\n configurable: false,\n enumerable: false,\n\n get() {\n return (0, _utils.getChildViews)(this);\n }\n\n }),\n\n appendChild(view) {\n (0, _utils.addChildView)(this, view);\n }\n\n });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/class_names_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n var EMPTY_ARRAY = Object.freeze([]);\n /**\n @class ClassNamesSupport\n @namespace Ember\n @private\n */\n\n var _default = _metal.Mixin.create({\n concatenatedProperties: ['classNames', 'classNameBindings'],\n\n init() {\n this._super(...arguments);\n\n (true && !((0, _metal.descriptorForProperty)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings)) && (0, _debug.assert)(`Only arrays are allowed for 'classNameBindings'`, (0, _metal.descriptorForProperty)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings)));\n (true && !((0, _metal.descriptorForProperty)(this, 'classNames') === undefined && Array.isArray(this.classNames)) && (0, _debug.assert)(`Only arrays of static class strings are allowed for 'classNames'. For dynamic classes, use 'classNameBindings'.`, (0, _metal.descriptorForProperty)(this, 'classNames') === undefined && Array.isArray(this.classNames)));\n },\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 /**\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 });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/text_support\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/deprecated-features\", \"@ember/-internals/views\"], function (_exports, _metal, _runtime, _debug, _deprecatedFeatures, _views) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n var KEY_EVENTS = {\n 13: 'insertNewline',\n 27: 'cancel'\n };\n /**\n `TextSupport` is a shared mixin used by both `TextField` and\n `TextArea`. `TextSupport` adds a number of methods that allow you to\n specify a controller action to invoke when a certain event is fired on your\n text field or textarea. The specified controller action would get the current\n value of the field passed in as the only argument unless the value of\n the field is empty. In that case, the instance of the field itself is passed\n in as the only argument.\n \n Let's use the pressing of the escape key as an example. If you wanted to\n invoke a controller action when a user presses the escape key while on your\n field, you would use the `escape-press` attribute on your field like so:\n \n ```handlebars\n {{! application.hbs}}\n \n {{input escape-press='alertUser'}}\n ```\n \n ```javascript\n import Application from '@ember/application';\n import Controller from '@ember/controller';\n App = Application.create();\n \n App.ApplicationController = Controller.extend({\n actions: {\n alertUser: function ( currentValue ) {\n alert( 'escape pressed, current value: ' + currentValue );\n }\n }\n });\n ```\n \n The following chart is a visual representation of what takes place when the\n escape key is pressed in this scenario:\n \n ```\n The Template\n +---------------------------+\n | |\n | escape-press='alertUser' |\n | | TextSupport Mixin\n +----+----------------------+ +-------------------------------+\n | | cancel method |\n | escape button pressed | |\n +-------------------------------> | checks for the `escape-press` |\n | attribute and pulls out the |\n +-------------------------------+ | `alertUser` value |\n | action name 'alertUser' +-------------------------------+\n | sent to controller\n v\n Controller\n +------------------------------------------ +\n | |\n | actions: { |\n | alertUser: function( currentValue ){ |\n | alert( 'the esc key was pressed!' ) |\n | } |\n | } |\n | |\n +-------------------------------------------+\n ```\n \n Here are the events that we currently support along with the name of the\n attribute you would need to use on your field. To reiterate, you would use the\n attribute name like so:\n \n ```handlebars\n {{input attribute-name='controllerAction'}}\n ```\n \n ```\n +--------------------+----------------+\n | | |\n | event | attribute name |\n +--------------------+----------------+\n | new line inserted | insert-newline |\n | | |\n | enter key pressed | enter |\n | | |\n | cancel key pressed | escape-press |\n | | |\n | focusin | focus-in |\n | | |\n | focusout | focus-out |\n | | |\n | keypress | key-press |\n | | |\n | keyup | key-up |\n | | |\n | keydown | key-down |\n +--------------------+----------------+\n ```\n \n @class TextSupport\n @namespace Ember\n @uses Ember.TargetActionSupport\n @extends Mixin\n @private\n */\n\n var _default = _metal.Mixin.create(_runtime.TargetActionSupport, {\n value: '',\n attributeBindings: ['autocapitalize', 'autocorrect', 'autofocus', 'disabled', 'form', 'maxlength', 'minlength', 'placeholder', 'readonly', 'required', 'selectionDirection', 'spellcheck', 'tabindex', 'title'],\n placeholder: null,\n disabled: false,\n maxlength: null,\n\n init() {\n this._super(...arguments);\n\n this.on('paste', this, this._elementValueDidChange);\n this.on('cut', this, this._elementValueDidChange);\n this.on('input', this, this._elementValueDidChange);\n },\n\n /**\n Whether the `keyUp` event that triggers an `action` to be sent continues\n propagating to other views.\n By default, when the user presses the return key on their keyboard and\n the text field has an `action` set, the action will be sent to the view's\n controller and the key event will stop propagating.\n If you would like parent views to receive the `keyUp` event even after an\n action has been dispatched, set `bubbles` to true.\n @property bubbles\n @type Boolean\n @default false\n @private\n */\n bubbles: false,\n\n interpretKeyEvents(event) {\n var map = KEY_EVENTS;\n var method = map[event.keyCode];\n\n this._elementValueDidChange();\n\n if (method) {\n return this[method](event);\n }\n },\n\n _elementValueDidChange() {\n (0, _metal.set)(this, 'value', this.element.value);\n },\n\n change(event) {\n this._elementValueDidChange(event);\n },\n\n /**\n Allows you to specify a controller action to invoke when either the `enter`\n key is pressed or, in the case of the field being a textarea, when a newline\n is inserted. To use this method, give your field an `insert-newline`\n attribute. The value of that attribute should be the name of the action\n in your controller that you wish to invoke.\n For an example on how to use the `insert-newline` attribute, please\n reference the example near the top of this file.\n @method insertNewline\n @param {Event} event\n @private\n */\n insertNewline(event) {\n sendAction('enter', this, event);\n sendAction('insert-newline', this, event);\n },\n\n /**\n Allows you to specify a controller action to invoke when the escape button\n is pressed. To use this method, give your field an `escape-press`\n attribute. The value of that attribute should be the name of the action\n in your controller that you wish to invoke.\n For an example on how to use the `escape-press` attribute, please reference\n the example near the top of this file.\n @method cancel\n @param {Event} event\n @private\n */\n cancel(event) {\n sendAction('escape-press', this, event);\n },\n\n /**\n Allows you to specify a controller action to invoke when a field receives\n focus. To use this method, give your field a `focus-in` attribute. The value\n of that attribute should be the name of the action in your controller\n that you wish to invoke.\n For an example on how to use the `focus-in` attribute, please reference the\n example near the top of this file.\n @method focusIn\n @param {Event} event\n @private\n */\n focusIn(event) {\n sendAction('focus-in', this, event);\n },\n\n /**\n Allows you to specify a controller action to invoke when a field loses\n focus. To use this method, give your field a `focus-out` attribute. The value\n of that attribute should be the name of the action in your controller\n that you wish to invoke.\n For an example on how to use the `focus-out` attribute, please reference the\n example near the top of this file.\n @method focusOut\n @param {Event} event\n @private\n */\n focusOut(event) {\n this._elementValueDidChange(event);\n\n sendAction('focus-out', this, event);\n },\n\n /**\n Allows you to specify a controller action to invoke when a key is pressed.\n To use this method, give your field a `key-press` attribute. The value of\n that attribute should be the name of the action in your controller you\n that wish to invoke.\n For an example on how to use the `key-press` attribute, please reference the\n example near the top of this file.\n @method keyPress\n @param {Event} event\n @private\n */\n keyPress(event) {\n sendAction('key-press', this, event);\n },\n\n /**\n Allows you to specify a controller action to invoke when a key-up event is\n fired. To use this method, give your field a `key-up` attribute. The value\n of that attribute should be the name of the action in your controller\n that you wish to invoke.\n For an example on how to use the `key-up` attribute, please reference the\n example near the top of this file.\n @method keyUp\n @param {Event} event\n @private\n */\n keyUp(event) {\n this.interpretKeyEvents(event);\n sendAction('key-up', this, event);\n },\n\n /**\n Allows you to specify a controller action to invoke when a key-down event is\n fired. To use this method, give your field a `key-down` attribute. The value\n of that attribute should be the name of the action in your controller that\n you wish to invoke.\n For an example on how to use the `key-down` attribute, please reference the\n example near the top of this file.\n @method keyDown\n @param {Event} event\n @private\n */\n keyDown(event) {\n sendAction('key-down', this, event);\n }\n\n }); // In principle, this shouldn't be necessary, but the legacy\n // sendAction semantics for TextField are different from\n // the component semantics so this method normalizes them.\n\n\n _exports.default = _default;\n\n function sendAction(eventName, view, event) {\n var action = (0, _metal.get)(view, `attrs.${eventName}`);\n\n if (action !== null && typeof action === 'object' && action[_views.MUTABLE_CELL] === true) {\n action = action.value;\n }\n\n if (action === undefined) {\n action = (0, _metal.get)(view, eventName);\n }\n\n var value = (0, _metal.get)(view, 'value');\n\n if (_deprecatedFeatures.SEND_ACTION && typeof action === 'string') {\n var message = `Passing actions to components as strings (like \\`<Input @${eventName}=\"${action}\" />\\`) is deprecated. Please use closure actions instead (\\`<Input @${eventName}={{action \"${action}\"}} />\\`).`;\n (true && !(false) && (0, _debug.deprecate)(message, false, {\n id: 'ember-component.send-action',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_ember-component-send-action'\n }));\n view.triggerAction({\n action: action,\n actionContext: [value, event]\n });\n } else if (typeof action === 'function') {\n action(value, event);\n }\n\n if (action && !(0, _metal.get)(view, 'bubbles')) {\n event.stopPropagation();\n }\n }\n});","define(\"@ember/-internals/views/lib/mixins/view_state_support\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n var _default = _metal.Mixin.create({\n _transitionTo(state) {\n var priorState = this._currentState;\n var currentState = this._currentState = this._states[state];\n this._state = state;\n\n if (priorState && priorState.exit) {\n priorState.exit(this);\n }\n\n if (currentState.enter) {\n currentState.enter(this);\n }\n }\n\n });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/mixins/view_support\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/browser-environment\", \"@ember/-internals/views/lib/system/utils\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _browserEnvironment, _utils2, _jquery, _deprecatedFeatures) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function K() {\n return this;\n }\n\n var mixin = {\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 // ..........................................................\n // TEMPLATE SUPPORT\n //\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 var view = this.parentView;\n var isOfType = klass instanceof _metal.Mixin ? view => klass.detect(view) : view => klass.detect(view.constructor);\n\n while (view) {\n if (isOfType(view)) {\n return view;\n }\n\n view = view.parentView;\n }\n },\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 var view = this.parentView;\n\n while (view) {\n if (property in view) {\n return view;\n }\n\n view = view.parentView;\n }\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 // ..........................................................\n // ELEMENT SUPPORT\n //\n\n /**\n Returns the current DOM element for the view.\n @property element\n @type DOMElement\n @public\n */\n element: (0, _metal.nativeDescDecorator)({\n configurable: false,\n enumerable: false,\n\n get() {\n return this.renderer.getElement(this);\n }\n\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|jQuery} A selector, element, HTML string, or jQuery object\n @return {Ember.View} receiver\n @private\n */\n appendTo(selector) {\n var target;\n\n if (_browserEnvironment.hasDOM) {\n target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n (true && !(target) && (0, _debug.assert)(`You tried to append to (${selector}) but that isn't in the DOM`, target));\n (true && !(!(0, _utils2.matches)(target, '.ember-view')) && (0, _debug.assert)('You cannot append to an existing Ember.View.', !(0, _utils2.matches)(target, '.ember-view')));\n (true && !((() => {\n var node = target.parentNode;\n\n while (node) {\n if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n return false;\n }\n\n node = node.parentNode;\n }\n\n return true;\n })()) && (0, _debug.assert)('You cannot append to an existing Ember.View.', (() => {\n var node = target.parentNode;\n\n while (node) {\n if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n return false;\n }\n\n node = node.parentNode;\n }\n\n return true;\n })()));\n } else {\n target = selector;\n (true && !(typeof target !== 'string') && (0, _debug.assert)(`You tried to append to a selector string (${selector}) in an environment without jQuery`, typeof target !== 'string'));\n (true && !(typeof selector.appendChild === 'function') && (0, _debug.assert)(`You tried to append to a non-Element (${selector}) in an environment without jQuery`, typeof selector.appendChild === 'function'));\n }\n\n this.renderer.appendTo(this, target);\n return this;\n },\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 /**\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 /**\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 /**\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 /**\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 /**\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\n this._currentState.destroy(this);\n },\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 /**\n Called after the element of the view is destroyed.\n @event willDestroyElement\n @public\n */\n didDestroyElement: K,\n\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 /**\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 have no associated jQuery object to return with `$()`.\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 // .......................................................\n // CORE DISPLAY METHODS\n //\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); // tslint:disable-next-line:max-line-length\n\n\n (true && !((0, _metal.descriptorForProperty)(this, 'elementId') === undefined) && (0, _debug.assert)(`You cannot use a computed property for the component's \\`elementId\\` (${this}).`, (0, _metal.descriptorForProperty)(this, 'elementId') === undefined)); // tslint:disable-next-line:max-line-length\n\n (true && !((0, _metal.descriptorForProperty)(this, 'tagName') === undefined) && (0, _debug.assert)(`You cannot use a computed property for the component's \\`tagName\\` (${this}).`, (0, _metal.descriptorForProperty)(this, 'tagName') === undefined));\n\n if (!this.elementId && this.tagName !== '') {\n this.elementId = (0, _utils.guidFor)(this);\n }\n\n (true && !(!this.render) && (0, _debug.assert)('Using a custom `.render` function is no longer supported.', !this.render));\n },\n\n // .......................................................\n // EVENT HANDLING\n //\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\n };\n\n if (_deprecatedFeatures.JQUERY_INTEGRATION) {\n /**\n Returns a jQuery object for this view's element. If you pass in a selector\n string, this method will return a jQuery object, using the current element\n as its buffer.\n For example, calling `view.$('li')` will return a jQuery object containing\n all of the `li` elements inside the DOM element of this view.\n @method $\n @param {String} [selector] a jQuery-compatible selector string\n @return {jQuery} the jQuery object for the DOM node\n @public\n @deprecated\n */\n mixin.$ = function $(sel) {\n (true && !(this.tagName !== '') && (0, _debug.assert)(\"You cannot access this.$() on a component with `tagName: ''` specified.\", this.tagName !== ''));\n (true && !(!_jquery.jQueryDisabled) && (0, _debug.assert)('You cannot access this.$() with `jQuery` disabled.', !_jquery.jQueryDisabled));\n (true && !(false) && (0, _debug.deprecate)('Using this.$() in a component has been deprecated, consider using this.element', false, {\n id: 'ember-views.curly-components.jquery-element',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-apis'\n }));\n\n if (this.element) {\n return sel ? (0, _jquery.jQuery)(sel, this.element) : (0, _jquery.jQuery)(this.element);\n }\n };\n }\n /**\n @class ViewMixin\n @namespace Ember\n @private\n */\n\n\n var _default = _metal.Mixin.create(mixin);\n\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/system/action_manager\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = ActionManager;\n\n /**\n @module ember\n */\n function ActionManager() {}\n /**\n Global action id hash.\n \n @private\n @property registeredActions\n @type Object\n */\n\n\n ActionManager.registeredActions = {};\n});","define(\"@ember/-internals/views/lib/system/event_dispatcher\", [\"exports\", \"@ember/-internals/owner\", \"@ember/polyfills\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/views\", \"@ember/-internals/views/lib/system/jquery\", \"@ember/-internals/views/lib/system/action_manager\", \"@ember/-internals/views/lib/system/jquery_event_deprecation\", \"@ember/-internals/views/lib/system/utils\", \"@ember/deprecated-features\"], function (_exports, _owner, _polyfills, _debug, _metal, _runtime, _views, _jquery, _action_manager, _jquery_event_deprecation, _utils, _deprecatedFeatures) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n var ROOT_ELEMENT_CLASS = 'ember-application';\n var ROOT_ELEMENT_SELECTOR = `.${ROOT_ELEMENT_CLASS}`;\n var EVENT_MAP = {\n mouseenter: 'mouseover',\n mouseleave: 'mouseout'\n };\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 Ember.Object\n */\n\n var _default = _runtime.Object.extend({\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 events: (0, _polyfills.assign)({\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 }, _deprecatedFeatures.MOUSE_ENTER_LEAVE_MOVE_EVENTS ? {\n mouseenter: 'mouseEnter',\n mouseleave: 'mouseLeave',\n mousemove: 'mouseMove'\n } : {}),\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 rootElement: 'body',\n\n init() {\n this._super();\n\n (true && !((() => {\n var owner = (0, _owner.getOwner)(this);\n var environment = owner.lookup('-environment:main');\n return environment.isInteractive;\n })()) && (0, _debug.assert)('EventDispatcher should never be instantiated in fastboot mode. Please report this as an Ember bug.', (() => {\n var owner = (0, _owner.getOwner)(this);\n var environment = owner.lookup('-environment:main');\n return environment.isInteractive;\n })()));\n this._eventHandlers = Object.create(null);\n },\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 events = this._finalEvents = (0, _polyfills.assign)({}, (0, _metal.get)(this, 'events'), addedEvents);\n\n if (_rootElement !== undefined && _rootElement !== null) {\n (0, _metal.set)(this, 'rootElement', _rootElement);\n }\n\n var rootElementSelector = (0, _metal.get)(this, 'rootElement');\n var rootElement;\n\n if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n if (typeof rootElementSelector !== 'string') {\n rootElement = rootElementSelector;\n } else {\n rootElement = document.querySelector(rootElementSelector);\n }\n\n (true && !(!rootElement.classList.contains(ROOT_ELEMENT_CLASS)) && (0, _debug.assert)(`You cannot use the same root element (${(0, _metal.get)(this, 'rootElement') || rootElement.tagName}) multiple times in an Ember.Application`, !rootElement.classList.contains(ROOT_ELEMENT_CLASS)));\n (true && !((() => {\n var target = rootElement.parentNode;\n\n do {\n if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n return false;\n }\n\n target = target.parentNode;\n } while (target && target.nodeType === 1);\n\n return true;\n })()) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application', (() => {\n var target = rootElement.parentNode;\n\n do {\n if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n return false;\n }\n\n target = target.parentNode;\n } while (target && target.nodeType === 1);\n\n return true;\n })()));\n (true && !(!rootElement.querySelector(ROOT_ELEMENT_SELECTOR)) && (0, _debug.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 (true && !(rootElement.classList.contains(ROOT_ELEMENT_CLASS)) && (0, _debug.assert)(`Unable to add '${ROOT_ELEMENT_CLASS}' class to root element (${(0, _metal.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 } else {\n rootElement = (0, _jquery.jQuery)(rootElementSelector);\n (true && !(!rootElement.is(ROOT_ELEMENT_SELECTOR)) && (0, _debug.assert)(`You cannot use the same root element (${rootElement.selector || rootElement[0].tagName}) multiple times in an Ember.Application`, !rootElement.is(ROOT_ELEMENT_SELECTOR)));\n (true && !(!rootElement.closest(ROOT_ELEMENT_SELECTOR).length) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is a descendent of an existing Ember.Application', !rootElement.closest(ROOT_ELEMENT_SELECTOR).length));\n (true && !(!rootElement.find(ROOT_ELEMENT_SELECTOR).length) && (0, _debug.assert)('You cannot make a new Ember.Application using a root element that is an ancestor of an existing Ember.Application', !rootElement.find(ROOT_ELEMENT_SELECTOR).length));\n rootElement.addClass(ROOT_ELEMENT_CLASS);\n\n if (!rootElement.is(ROOT_ELEMENT_SELECTOR)) {\n throw new TypeError(`Unable to add '${ROOT_ELEMENT_CLASS}' class to root element (${rootElement.selector || rootElement[0].tagName}). Make sure you set rootElement to the body or an element in the body.`);\n }\n }\n\n for (var event in events) {\n if (Object.prototype.hasOwnProperty.call(events, event)) {\n this.setupHandler(rootElement, event, events[event]);\n }\n }\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 browser-originated event to listen to\n @param {String} eventName the name of the method to call on the view\n */\n setupHandler(rootElement, event, eventName) {\n if (eventName === null) {\n return;\n }\n\n if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n var viewHandler = (target, event) => {\n var view = (0, _views.getElementView)(target);\n var result = true;\n\n if (view) {\n result = view.handleEvent(eventName, event);\n }\n\n return result;\n };\n\n var actionHandler = (target, event) => {\n var actionId = target.getAttribute('data-ember-action');\n var actions = _action_manager.default.registeredActions[actionId]; // 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\n if (actionId === '') {\n var attributes = target.attributes;\n var attributeCount = attributes.length;\n actions = [];\n\n for (var i = 0; i < attributeCount; i++) {\n var attr = attributes.item(i);\n var attrName = attr.name;\n\n if (attrName.indexOf('data-ember-action-') === 0) {\n actions = actions.concat(_action_manager.default.registeredActions[attr.value]);\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\n\n if (!actions) {\n return;\n }\n\n var result = true;\n\n for (var index = 0; index < actions.length; index++) {\n var action = actions[index];\n\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\n return result;\n }; // Special handling of events that don't bubble (event delegation does not work).\n // Mimics the way this is handled in jQuery,\n // see https://github.com/jquery/jquery/blob/899c56f6ada26821e8af12d9f35fa039100e838e/src/event.js#L666-L700\n\n\n if (_deprecatedFeatures.MOUSE_ENTER_LEAVE_MOVE_EVENTS && EVENT_MAP[event] !== undefined) {\n var mappedEventType = EVENT_MAP[event];\n var origEventType = event;\n\n var createFakeEvent = (eventType, event) => {\n var fakeEvent = document.createEvent('MouseEvent');\n fakeEvent.initMouseEvent(eventType, false, false, event.view, event.detail, event.screenX, event.screenY, event.clientX, event.clientY, event.ctrlKey, event.altKey, event.shiftKey, event.metaKey, event.button, event.relatedTarget); // fake event.target as we don't dispatch the event\n\n Object.defineProperty(fakeEvent, 'target', {\n value: event.target,\n enumerable: true\n });\n return fakeEvent;\n };\n\n var handleMappedEvent = this._eventHandlers[mappedEventType] = event => {\n var target = event.target;\n var related = event.relatedTarget;\n\n while (target && target.nodeType === 1 && (related === null || related !== target && !(0, _utils.contains)(target, related))) {\n // mouseEnter/Leave don't bubble, so there is no logic to prevent it as with other events\n if ((0, _views.getElementView)(target)) {\n viewHandler(target, createFakeEvent(origEventType, event));\n } else if (target.hasAttribute('data-ember-action')) {\n actionHandler(target, createFakeEvent(origEventType, event));\n } // separate mouseEnter/Leave events are dispatched for each listening element\n // until the element (related) has been reached that the pointing device exited from/to\n\n\n target = target.parentNode;\n }\n };\n\n rootElement.addEventListener(mappedEventType, handleMappedEvent);\n } else {\n var handleEvent = this._eventHandlers[event] = event => {\n var target = event.target;\n\n do {\n if ((0, _views.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\n target = target.parentNode;\n } while (target && target.nodeType === 1);\n };\n\n rootElement.addEventListener(event, handleEvent);\n }\n } else {\n rootElement.on(`${event}.ember`, '.ember-view', function (evt) {\n var view = (0, _views.getElementView)(this);\n var result = true;\n\n if (view) {\n result = view.handleEvent(eventName, (0, _jquery_event_deprecation.default)(evt));\n }\n\n return result;\n });\n rootElement.on(`${event}.ember`, '[data-ember-action]', evt => {\n var attributes = evt.currentTarget.attributes;\n var handledActions = [];\n evt = (0, _jquery_event_deprecation.default)(evt);\n\n for (var i = 0; i < attributes.length; i++) {\n var attr = attributes.item(i);\n var attrName = attr.name;\n\n if (attrName.lastIndexOf('data-ember-action-', 0) !== -1) {\n var action = _action_manager.default.registeredActions[attr.value]; // We have to check for action 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\n if (action && action.eventName === eventName && handledActions.indexOf(action) === -1) {\n action.handler(evt); // Action handlers can mutate state which in turn creates new attributes on the element.\n // This effect could cause the `data-ember-action` attribute to shift down and be invoked twice.\n // To avoid this, we keep track of which actions have been handled.\n\n handledActions.push(action);\n }\n }\n }\n });\n }\n },\n\n destroy() {\n var rootElementSelector = (0, _metal.get)(this, 'rootElement');\n var rootElement;\n\n if (rootElementSelector.nodeType) {\n rootElement = rootElementSelector;\n } else {\n rootElement = document.querySelector(rootElementSelector);\n }\n\n if (!rootElement) {\n return;\n }\n\n if (!_deprecatedFeatures.JQUERY_INTEGRATION || _jquery.jQueryDisabled) {\n for (var event in this._eventHandlers) {\n rootElement.removeEventListener(event, this._eventHandlers[event]);\n }\n } else {\n (0, _jquery.jQuery)(rootElementSelector).off('.ember', '**');\n }\n\n rootElement.classList.remove(ROOT_ELEMENT_CLASS);\n return this._super(...arguments);\n },\n\n toString() {\n return '(EventDispatcher)';\n }\n\n });\n\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/system/jquery\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\", \"@ember/deprecated-features\"], function (_exports, _environment, _browserEnvironment, _deprecatedFeatures) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.jQueryDisabled = _exports.jQuery = void 0;\n var jQuery;\n _exports.jQuery = jQuery;\n var jQueryDisabled = !_deprecatedFeatures.JQUERY_INTEGRATION || _environment.ENV._JQUERY_INTEGRATION === false;\n _exports.jQueryDisabled = jQueryDisabled;\n\n if (_deprecatedFeatures.JQUERY_INTEGRATION && _browserEnvironment.hasDOM) {\n _exports.jQuery = jQuery = _environment.context.imports.jQuery;\n\n if (!jQueryDisabled && jQuery) {\n if (jQuery.event.addProp) {\n jQuery.event.addProp('dataTransfer');\n } else {\n // http://www.whatwg.org/specs/web-apps/current-work/multipage/dnd.html#dndevents\n ['dragstart', 'drag', 'dragenter', 'dragleave', 'dragover', 'drop', 'dragend'].forEach(eventName => {\n jQuery.event.fixHooks[eventName] = {\n props: ['dataTransfer']\n };\n });\n }\n } else {\n _exports.jQuery = jQuery = undefined;\n _exports.jQueryDisabled = jQueryDisabled = true;\n }\n }\n});","define(\"@ember/-internals/views/lib/system/jquery_event_deprecation\", [\"exports\", \"@ember/debug\", \"@ember/-internals/environment\", \"@ember/-internals/utils\", \"@ember/deprecated-features\"], function (_exports, _debug, _environment, _utils, _deprecatedFeatures) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = addJQueryEventDeprecation;\n\n /* global Proxy */\n function addJQueryEventDeprecation(jqEvent) {\n if (true\n /* DEBUG */\n && _deprecatedFeatures.JQUERY_INTEGRATION && _utils.HAS_NATIVE_PROXY) {\n var boundFunctions = new Map(); // wrap the jQuery event in a Proxy to add the deprecation message for originalEvent, according to RFC#294\n // we need a native Proxy here, so we can make sure that the internal use of originalEvent in jQuery itself does\n // not trigger a deprecation\n\n return new Proxy(jqEvent, {\n get(target, name) {\n switch (name) {\n case 'originalEvent':\n (true && !((EmberENV => {\n // this deprecation is intentionally checking `global.EmberENV` so\n // that we can ensure we _only_ deprecate in the case where jQuery\n // integration is enabled implicitly (e.g. \"defaulted\" to enabled)\n // as opposed to when the user explicitly opts in to using jQuery\n if (typeof EmberENV !== 'object' || EmberENV === null) return false;\n return EmberENV._JQUERY_INTEGRATION === true;\n })(_environment.global.EmberENV)) && (0, _debug.deprecate)('Accessing jQuery.Event specific properties is deprecated. Either use the ember-jquery-legacy addon to normalize events to native events, or explicitly opt into jQuery integration using @ember/optional-features.', (EmberENV => {\n if (typeof EmberENV !== 'object' || EmberENV === null) return false;\n return EmberENV._JQUERY_INTEGRATION === true;\n })(_environment.global.EmberENV), {\n id: 'ember-views.event-dispatcher.jquery-event',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-event'\n }));\n return target[name];\n // provide an escape hatch for ember-jquery-legacy to access originalEvent without a deprecation\n\n case '__originalEvent':\n return target.originalEvent;\n\n default:\n if (typeof target[name] === 'function') {\n // cache functions for reuse\n if (!boundFunctions.has(name)) {\n // for jQuery.Event methods call them with `target` as the `this` context, so they will access\n // `originalEvent` from the original jQuery event, not our proxy, thus not trigger the deprecation\n boundFunctions.set(name, target[name].bind(target));\n }\n\n return boundFunctions.get(name);\n } // same for jQuery's getter functions for simple properties\n\n\n return target[name];\n }\n }\n\n });\n }\n\n return jqEvent;\n }\n});","define(\"@ember/-internals/views/lib/system/utils\", [\"exports\", \"@ember/-internals/owner\", \"@ember/-internals/utils\", \"@ember/debug\"], function (_exports, _owner, _utils, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.isSimpleClick = isSimpleClick;\n _exports.constructStyleDeprecationMessage = constructStyleDeprecationMessage;\n _exports.getRootViews = getRootViews;\n _exports.getViewId = getViewId;\n _exports.getElementView = getElementView;\n _exports.getViewElement = getViewElement;\n _exports.setElementView = setElementView;\n _exports.setViewElement = setViewElement;\n _exports.clearElementView = clearElementView;\n _exports.clearViewElement = clearViewElement;\n _exports.getChildViews = getChildViews;\n _exports.initChildViews = initChildViews;\n _exports.addChildView = addChildView;\n _exports.collectChildViews = collectChildViews;\n _exports.getViewBounds = getViewBounds;\n _exports.getViewRange = getViewRange;\n _exports.getViewClientRects = getViewClientRects;\n _exports.getViewBoundingClientRect = getViewBoundingClientRect;\n _exports.matches = matches;\n _exports.contains = contains;\n _exports.elMatches = void 0;\n\n /* globals Element */\n\n /**\n @module ember\n */\n function isSimpleClick(event) {\n var modifier = event.shiftKey || event.metaKey || event.altKey || event.ctrlKey;\n var secondaryClick = event.which > 1; // IE9 may return undefined\n\n return !modifier && !secondaryClick;\n }\n\n 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://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes. ' + 'Style affected: \"' + affectedStyle + '\"';\n }\n /**\n @private\n @method getRootViews\n @param {Object} owner\n */\n\n\n function getRootViews(owner) {\n var registry = owner.lookup('-view-registry:main');\n var rootViews = [];\n Object.keys(registry).forEach(id => {\n var view = registry[id];\n\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 */\n\n\n function getViewId(view) {\n if (view.tagName !== '' && view.elementId) {\n return view.elementId;\n } else {\n return (0, _utils.guidFor)(view);\n }\n }\n\n var ELEMENT_VIEW = new WeakMap();\n var VIEW_ELEMENT = new WeakMap();\n\n function getElementView(element) {\n return ELEMENT_VIEW.get(element) || null;\n }\n /**\n @private\n @method getViewElement\n @param {Ember.View} view\n */\n\n\n function getViewElement(view) {\n return VIEW_ELEMENT.get(view) || null;\n }\n\n function setElementView(element, view) {\n ELEMENT_VIEW.set(element, view);\n }\n\n function setViewElement(view, element) {\n VIEW_ELEMENT.set(view, element);\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.\n\n\n function clearElementView(element) {\n ELEMENT_VIEW.delete(element);\n }\n\n function clearViewElement(view) {\n VIEW_ELEMENT.delete(view);\n }\n\n var CHILD_VIEW_IDS = new WeakMap();\n /**\n @private\n @method getChildViews\n @param {Ember.View} view\n */\n\n function getChildViews(view) {\n var owner = (0, _owner.getOwner)(view);\n var registry = owner.lookup('-view-registry:main');\n return collectChildViews(view, registry);\n }\n\n function initChildViews(view) {\n var childViews = new Set();\n CHILD_VIEW_IDS.set(view, childViews);\n return childViews;\n }\n\n function addChildView(parent, child) {\n var childViews = CHILD_VIEW_IDS.get(parent);\n\n if (childViews === undefined) {\n childViews = initChildViews(parent);\n }\n\n childViews.add(getViewId(child));\n }\n\n function collectChildViews(view, registry) {\n var views = [];\n var childViews = CHILD_VIEW_IDS.get(view);\n\n if (childViews !== undefined) {\n childViews.forEach(id => {\n var view = registry[id];\n\n if (view && !view.isDestroying && !view.isDestroyed) {\n views.push(view);\n }\n });\n }\n\n return views;\n }\n /**\n @private\n @method getViewBounds\n @param {Ember.View} view\n */\n\n\n function getViewBounds(view) {\n return view.renderer.getBounds(view);\n }\n /**\n @private\n @method getViewRange\n @param {Ember.View} view\n */\n\n\n function getViewRange(view) {\n var bounds = getViewBounds(view);\n var 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 */\n\n\n function getViewClientRects(view) {\n var 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 */\n\n\n function getViewBoundingClientRect(view) {\n var 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 */\n\n\n var elMatches = typeof Element !== 'undefined' ? Element.prototype.matches || Element.prototype['matchesSelector'] || Element.prototype['mozMatchesSelector'] || Element.prototype['msMatchesSelector'] || Element.prototype['oMatchesSelector'] || Element.prototype['webkitMatchesSelector'] : undefined;\n _exports.elMatches = elMatches;\n\n function matches(el, selector) {\n (true && !(elMatches !== undefined) && (0, _debug.assert)('cannot call `matches` in fastboot mode', elMatches !== undefined));\n return elMatches.call(el, selector);\n }\n\n function contains(a, b) {\n if (a.contains !== undefined) {\n return a.contains(b);\n }\n\n var current = b.parentNode;\n\n while (current && (current = current.parentNode)) {\n if (current === a) {\n return true;\n }\n }\n\n return false;\n }\n});","define(\"@ember/-internals/views/lib/views/core_view\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/views/lib/views/states\"], function (_exports, _runtime, _states) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n `Ember.CoreView` is an abstract class that exists to give view-like behavior\n to both Ember's main view class `Component` and other classes that don't need\n the full functionality of `Component`.\n \n Unless you have specific needs for `CoreView`, you will use `Component`\n in your applications.\n \n @class CoreView\n @namespace Ember\n @extends EmberObject\n @deprecated Use `Component` instead.\n @uses Evented\n @uses Ember.ActionHandler\n @private\n */\n var CoreView = _runtime.FrameworkObject.extend(_runtime.Evented, _runtime.ActionHandler, {\n isView: true,\n _states: _states.default,\n\n init() {\n this._super(...arguments);\n\n this._state = 'preRender';\n this._currentState = this._states.preRender;\n\n if (!this.renderer) {\n throw new Error(`Cannot instantiate a component without a renderer. Please ensure that you are creating ${this} with a proper container/registry.`);\n }\n },\n\n /**\n If the view is currently inserted into the DOM of a parent view, this\n property will point to the parent of the view.\n @property parentView\n @type Ember.View\n @default null\n @private\n */\n parentView: null,\n\n instrumentDetails(hash) {\n hash.object = this.toString();\n hash.containerKey = this._debugContainerKey;\n hash.view = this;\n return hash;\n },\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 trigger(name, ...args) {\n this._super(...arguments);\n\n var method = this[name];\n\n if (typeof method === 'function') {\n return method.apply(this, args);\n }\n },\n\n has(name) {\n return typeof this[name] === 'function' || this._super(name);\n }\n\n });\n\n CoreView.reopenClass({\n isViewFactory: true\n });\n var _default = CoreView;\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/views/states\", [\"exports\", \"@ember/-internals/views/lib/views/states/pre_render\", \"@ember/-internals/views/lib/views/states/has_element\", \"@ember/-internals/views/lib/views/states/in_dom\", \"@ember/-internals/views/lib/views/states/destroying\"], function (_exports, _pre_render, _has_element, _in_dom, _destroying) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\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 */\n var states = Object.freeze({\n preRender: _pre_render.default,\n inDOM: _in_dom.default,\n hasElement: _has_element.default,\n destroying: _destroying.default\n });\n var _default = states;\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/views/states/default\", [\"exports\", \"@ember/error\"], function (_exports, _error) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _default = {\n // appendChild is only legal while rendering the buffer.\n appendChild() {\n throw new _error.default(\"You can't use appendChild outside of the rendering process\");\n },\n\n // Handle events from `Ember.EventDispatcher`\n handleEvent() {\n return true; // continue event propagation\n },\n\n rerender() {},\n\n destroy() {}\n\n };\n\n var _default2 = Object.freeze(_default);\n\n _exports.default = _default2;\n});","define(\"@ember/-internals/views/lib/views/states/destroying\", [\"exports\", \"@ember/polyfills\", \"@ember/error\", \"@ember/-internals/views/lib/views/states/default\"], function (_exports, _polyfills, _error, _default3) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var destroying = (0, _polyfills.assign)({}, _default3.default, {\n appendChild() {\n throw new _error.default(\"You can't call appendChild on a view being destroyed\");\n },\n\n rerender() {\n throw new _error.default(\"You can't call rerender on a view being destroyed\");\n }\n\n });\n\n var _default2 = Object.freeze(destroying);\n\n _exports.default = _default2;\n});","define(\"@ember/-internals/views/lib/views/states/has_element\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/views/lib/views/states/default\", \"@ember/runloop\", \"@ember/instrumentation\"], function (_exports, _polyfills, _default3, _runloop, _instrumentation) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var hasElement = (0, _polyfills.assign)({}, _default3.default, {\n rerender(view) {\n view.renderer.rerender(view);\n },\n\n destroy(view) {\n view.renderer.remove(view);\n },\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 (0, _instrumentation.flaggedInstrument)(`interaction.${eventName}`, {\n event,\n view\n }, () => {\n return (0, _runloop.join)(view, view.trigger, eventName, event);\n });\n } else {\n return true; // continue event propagation\n }\n }\n\n });\n\n var _default2 = Object.freeze(hasElement);\n\n _exports.default = _default2;\n});","define(\"@ember/-internals/views/lib/views/states/in_dom\", [\"exports\", \"@ember/-internals/utils\", \"@ember/polyfills\", \"@ember/error\", \"@ember/-internals/views/lib/views/states/has_element\"], function (_exports, _utils, _polyfills, _error, _has_element) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var inDOM = (0, _polyfills.assign)({}, _has_element.default, {\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\n if (true\n /* DEBUG */\n ) {\n var elementId = view.elementId;\n (0, _utils.teardownMandatorySetter)(view, 'elementId');\n Object.defineProperty(view, 'elementId', {\n configurable: true,\n enumerable: true,\n\n get() {\n return elementId;\n },\n\n set(value) {\n if (value !== elementId) {\n throw new _error.default(\"Changing a view's elementId after creation is not allowed\");\n }\n }\n\n });\n }\n }\n\n });\n\n var _default = Object.freeze(inDOM);\n\n _exports.default = _default;\n});","define(\"@ember/-internals/views/lib/views/states/pre_render\", [\"exports\", \"@ember/-internals/views/lib/views/states/default\", \"@ember/polyfills\"], function (_exports, _default3, _polyfills) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var preRender = (0, _polyfills.assign)({}, _default3.default);\n\n var _default2 = Object.freeze(preRender);\n\n _exports.default = _default2;\n});","define(\"@ember/application/globals-resolver\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/string\", \"@ember/-internals/runtime\", \"@ember/-internals/glimmer\", \"@ember/deprecated-features\"], function (_exports, _utils, _metal, _debug, _string, _runtime, _glimmer, _deprecatedFeatures) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/application\n */\n\n /**\n The DefaultResolver defines the default lookup rules to resolve\n container lookups before consulting the container for registered\n items:\n \n * templates are looked up on `Ember.TEMPLATES`\n * other names are looked up on the application after converting\n the name. For example, `controller:post` looks up\n `App.PostController` by default.\n * there are some nuances (see examples below)\n \n ### How Resolving Works\n \n The container calls this object's `resolve` method with the\n `fullName` argument.\n \n It first parses the fullName into an object using `parseName`.\n \n Then it checks for the presence of a type-specific instance\n method of the form `resolve[Type]` and calls it if it exists.\n For example if it was resolving 'template:post', it would call\n the `resolveTemplate` method.\n \n Its last resort is to call the `resolveOther` method.\n \n The methods of this object are designed to be easy to override\n in a subclass. For example, you could enhance how a template\n is resolved like so:\n \n ```app/app.js\n import Application from '@ember/application';\n import GlobalsResolver from '@ember/application/globals-resolver';\n \n App = Application.create({\n Resolver: GlobalsResolver.extend({\n resolveTemplate(parsedName) {\n let resolvedTemplate = this._super(parsedName);\n if (resolvedTemplate) { return resolvedTemplate; }\n \n return Ember.TEMPLATES['not_found'];\n }\n })\n });\n ```\n \n Some examples of how names are resolved:\n \n ```text\n 'template:post' //=> Ember.TEMPLATES['post']\n 'template:posts/byline' //=> Ember.TEMPLATES['posts/byline']\n 'template:posts.byline' //=> Ember.TEMPLATES['posts/byline']\n 'template:blogPost' //=> Ember.TEMPLATES['blog-post']\n 'controller:post' //=> App.PostController\n 'controller:posts.index' //=> App.PostsIndexController\n 'controller:blog/post' //=> Blog.PostController\n 'controller:basic' //=> Controller\n 'route:post' //=> App.PostRoute\n 'route:posts.index' //=> App.PostsIndexRoute\n 'route:blog/post' //=> Blog.PostRoute\n 'route:basic' //=> Route\n 'foo:post' //=> App.PostFoo\n 'model:post' //=> App.Post\n ```\n \n @class GlobalsResolver\n @extends EmberObject\n @public\n @deprecated\n */\n var DefaultResolver;\n\n if (_deprecatedFeatures.GLOBALS_RESOLVER) {\n DefaultResolver = class DefaultResolver extends _runtime.Object {\n static create(props) {\n // DO NOT REMOVE even though this doesn't do anything\n // This is required for a FireFox 60+ JIT bug with our tests.\n // without it, create(props) in our tests would lose props on a deopt.\n return super.create(props);\n }\n /**\n This will be set to the Application instance when it is\n created.\n @property namespace\n @public\n @deprecated\n */\n\n\n init() {\n (true && !(false) && (0, _debug.deprecate)('Using the globals resolver is deprecated. Use the ember-resolver package instead. See https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver', false, {\n until: '4.0.0',\n id: 'globals-resolver',\n url: 'https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver'\n }));\n this._parseNameCache = (0, _utils.dictionary)(null);\n }\n\n normalize(fullName) {\n var [type, name] = fullName.split(':');\n (true && !(fullName.split(':').length === 2) && (0, _debug.assert)('Tried to normalize a container name without a colon (:) in it. ' + 'You probably tried to lookup a name that did not contain a type, ' + 'a colon, and a name. A proper lookup name would be `view:post`.', fullName.split(':').length === 2));\n\n if (type !== 'template') {\n var result = name.replace(/(\\.|_|-)./g, m => m.charAt(1).toUpperCase());\n return `${type}:${result}`;\n } else {\n return fullName;\n }\n }\n /**\n This method is called via the container's resolver method.\n It parses the provided `fullName` and then looks up and\n returns the appropriate template or class.\n @method resolve\n @param {String} fullName the lookup string\n @return {Object} the resolved factory\n @public\n */\n\n\n resolve(fullName) {\n var parsedName = this.parseName(fullName);\n var resolveMethodName = parsedName.resolveMethodName;\n var resolved;\n\n if (this[resolveMethodName]) {\n resolved = this[resolveMethodName](parsedName);\n }\n\n resolved = resolved || this.resolveOther(parsedName);\n\n if (true\n /* DEBUG */\n ) {\n if (parsedName.root && parsedName.root.LOG_RESOLVER) {\n this._logLookup(resolved, parsedName);\n }\n\n if (resolved) {\n var VALIDATED_TYPES = {\n route: ['isRouteFactory', 'Ember.Route'],\n component: ['isComponentFactory', 'Ember.Component'],\n view: ['isViewFactory', 'Ember.View'],\n service: ['isServiceFactory', 'Ember.Service']\n };\n var validationAttributes = VALIDATED_TYPES[parsedName.type];\n\n if (validationAttributes) {\n var [factoryFlag, expectedType] = validationAttributes;\n (true && !(Boolean(resolved[factoryFlag])) && (0, _debug.assert)(`Expected ${parsedName.fullName} to resolve to an ${expectedType} but ` + `instead it was ${resolved}.`, Boolean(resolved[factoryFlag])));\n }\n }\n }\n\n return resolved;\n }\n /**\n Convert the string name of the form 'type:name' to\n a Javascript object with the parsed aspects of the name\n broken out.\n @param {String} fullName the lookup string\n @method parseName\n @protected\n */\n\n\n parseName(fullName) {\n return this._parseNameCache[fullName] || (this._parseNameCache[fullName] = this._parseName(fullName));\n }\n\n _parseName(fullName) {\n var [type, fullNameWithoutType] = fullName.split(':');\n var name = fullNameWithoutType;\n var namespace = (0, _metal.get)(this, 'namespace');\n var root = namespace;\n var lastSlashIndex = name.lastIndexOf('/');\n var dirname = lastSlashIndex !== -1 ? name.slice(0, lastSlashIndex) : null;\n\n if (type !== 'template' && lastSlashIndex !== -1) {\n var parts = name.split('/');\n name = parts[parts.length - 1];\n var namespaceName = (0, _string.capitalize)(parts.slice(0, -1).join('.'));\n root = (0, _metal.findNamespace)(namespaceName);\n (true && !(root) && (0, _debug.assert)(`You are looking for a ${name} ${type} in the ${namespaceName} namespace, but the namespace could not be found`, root));\n }\n\n var resolveMethodName = fullNameWithoutType === 'main' ? 'Main' : (0, _string.classify)(type);\n\n if (!(name && type)) {\n throw new TypeError(`Invalid fullName: \\`${fullName}\\`, must be of the form \\`type:name\\` `);\n }\n\n return {\n fullName,\n type,\n fullNameWithoutType,\n dirname,\n name,\n root,\n resolveMethodName: `resolve${resolveMethodName}`\n };\n }\n /**\n Returns a human-readable description for a fullName. Used by the\n Application namespace in assertions to describe the\n precise name of the class that Ember is looking for, rather than\n container keys.\n @param {String} fullName the lookup string\n @method lookupDescription\n @protected\n */\n\n\n lookupDescription(fullName) {\n var parsedName = this.parseName(fullName);\n var description;\n\n if (parsedName.type === 'template') {\n return `template at ${parsedName.fullNameWithoutType.replace(/\\./g, '/')}`;\n }\n\n description = `${parsedName.root}.${(0, _string.classify)(parsedName.name).replace(/\\./g, '')}`;\n\n if (parsedName.type !== 'model') {\n description += (0, _string.classify)(parsedName.type);\n }\n\n return description;\n }\n\n makeToString(factory) {\n return factory.toString();\n }\n /**\n Given a parseName object (output from `parseName`), apply\n the conventions expected by `Router`\n @param {Object} parsedName a parseName object with the parsed\n fullName lookup string\n @method useRouterNaming\n @protected\n */\n\n\n useRouterNaming(parsedName) {\n if (parsedName.name === 'basic') {\n parsedName.name = '';\n } else {\n parsedName.name = parsedName.name.replace(/\\./g, '_');\n }\n }\n /**\n Look up the template in Ember.TEMPLATES\n @param {Object} parsedName a parseName object with the parsed\n fullName lookup string\n @method resolveTemplate\n @protected\n */\n\n\n resolveTemplate(parsedName) {\n var templateName = parsedName.fullNameWithoutType.replace(/\\./g, '/');\n return (0, _glimmer.getTemplate)(templateName) || (0, _glimmer.getTemplate)((0, _string.decamelize)(templateName));\n }\n /**\n Lookup the view using `resolveOther`\n @param {Object} parsedName a parseName object with the parsed\n fullName lookup string\n @method resolveView\n @protected\n */\n\n\n resolveView(parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n }\n /**\n Lookup the controller using `resolveOther`\n @param {Object} parsedName a parseName object with the parsed\n fullName lookup string\n @method resolveController\n @protected\n */\n\n\n resolveController(parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n }\n /**\n Lookup the route using `resolveOther`\n @param {Object} parsedName a parseName object with the parsed\n fullName lookup string\n @method resolveRoute\n @protected\n */\n\n\n resolveRoute(parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n }\n /**\n Lookup the model on the Application namespace\n @param {Object} parsedName a parseName object with the parsed\n fullName lookup string\n @method resolveModel\n @protected\n */\n\n\n resolveModel(parsedName) {\n var className = (0, _string.classify)(parsedName.name);\n var factory = (0, _metal.get)(parsedName.root, className);\n return factory;\n }\n /**\n Look up the specified object (from parsedName) on the appropriate\n namespace (usually on the Application)\n @param {Object} parsedName a parseName object with the parsed\n fullName lookup string\n @method resolveHelper\n @protected\n */\n\n\n resolveHelper(parsedName) {\n return this.resolveOther(parsedName);\n }\n /**\n Look up the specified object (from parsedName) on the appropriate\n namespace (usually on the Application)\n @param {Object} parsedName a parseName object with the parsed\n fullName lookup string\n @method resolveOther\n @protected\n */\n\n\n resolveOther(parsedName) {\n var className = (0, _string.classify)(parsedName.name) + (0, _string.classify)(parsedName.type);\n var factory = (0, _metal.get)(parsedName.root, className);\n return factory;\n }\n\n resolveMain(parsedName) {\n var className = (0, _string.classify)(parsedName.type);\n return (0, _metal.get)(parsedName.root, className);\n }\n /**\n Used to iterate all items of a given type.\n @method knownForType\n @param {String} type the type to search for\n @private\n */\n\n\n knownForType(type) {\n var namespace = (0, _metal.get)(this, 'namespace');\n var suffix = (0, _string.classify)(type);\n var typeRegexp = new RegExp(`${suffix}$`);\n var known = (0, _utils.dictionary)(null);\n var knownKeys = Object.keys(namespace);\n\n for (var index = 0; index < knownKeys.length; index++) {\n var name = knownKeys[index];\n\n if (typeRegexp.test(name)) {\n var containerName = this.translateToContainerFullname(type, name);\n known[containerName] = true;\n }\n }\n\n return known;\n }\n /**\n Converts provided name from the backing namespace into a container lookup name.\n Examples:\n * App.FooBarHelper -> helper:foo-bar\n * App.THelper -> helper:t\n @method translateToContainerFullname\n @param {String} type\n @param {String} name\n @private\n */\n\n\n translateToContainerFullname(type, name) {\n var suffix = (0, _string.classify)(type);\n var namePrefix = name.slice(0, suffix.length * -1);\n var dasherizedName = (0, _string.dasherize)(namePrefix);\n return `${type}:${dasherizedName}`;\n }\n\n };\n\n if (true\n /* DEBUG */\n ) {\n /**\n @method _logLookup\n @param {Boolean} found\n @param {Object} parsedName\n @private\n */\n DefaultResolver.prototype._logLookup = function (found, parsedName) {\n var symbol = found ? '[✓]' : '[ ]';\n var padding;\n\n if (parsedName.fullName.length > 60) {\n padding = '.';\n } else {\n padding = new Array(60 - parsedName.fullName.length).join('.');\n }\n\n (0, _debug.info)(symbol, parsedName.fullName, padding, this.lookupDescription(parsedName.fullName));\n };\n }\n }\n\n var _default = DefaultResolver;\n _exports.default = _default;\n});","define(\"@ember/application/index\", [\"exports\", \"@ember/-internals/owner\", \"@ember/application/lib/lazy_load\", \"@ember/application/lib/application\"], function (_exports, _owner, _lazy_load, _application) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"getOwner\", {\n enumerable: true,\n get: function () {\n return _owner.getOwner;\n }\n });\n Object.defineProperty(_exports, \"setOwner\", {\n enumerable: true,\n get: function () {\n return _owner.setOwner;\n }\n });\n Object.defineProperty(_exports, \"onLoad\", {\n enumerable: true,\n get: function () {\n return _lazy_load.onLoad;\n }\n });\n Object.defineProperty(_exports, \"runLoadHooks\", {\n enumerable: true,\n get: function () {\n return _lazy_load.runLoadHooks;\n }\n });\n Object.defineProperty(_exports, \"_loaded\", {\n enumerable: true,\n get: function () {\n return _lazy_load._loaded;\n }\n });\n Object.defineProperty(_exports, \"default\", {\n enumerable: true,\n get: function () {\n return _application.default;\n }\n });\n});","define(\"@ember/application/instance\", [\"exports\", \"@ember/polyfills\", \"@ember/-internals/metal\", \"@ember/-internals/browser-environment\", \"@ember/-internals/views\", \"@ember/engine/instance\", \"@ember/-internals/glimmer\"], function (_exports, _polyfills, _metal, environment, _views, _instance, _glimmer) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/application\n */\n\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 */\n var ApplicationInstance = _instance.default.extend({\n /**\n The `Application` for which this is an instance.\n @property {Application} application\n @private\n */\n application: null,\n\n /**\n The DOM events for which the event dispatcher should listen.\n By default, the application's `Ember.EventDispatcher` listens\n for a set of standard DOM events, such as `mousedown` and\n `keyup`, and delegates them to your application's `Ember.View`\n instances.\n @private\n @property {Object} customEvents\n */\n customEvents: null,\n\n /**\n The root DOM element of the Application as an element or a\n [jQuery-compatible selector\n string](http://api.jquery.com/category/selectors/).\n @private\n @property {String|DOMElement} rootElement\n */\n rootElement: null,\n\n init() {\n this._super(...arguments);\n\n this.application._watchInstance(this); // 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\n\n this.register('-application-instance:main', this, {\n instantiate: false\n });\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\n options = new BootOptions(options);\n this.setupRegistry(options);\n\n if (options.rootElement) {\n this.rootElement = options.rootElement;\n } else {\n this.rootElement = this.application.rootElement;\n }\n\n if (options.location) {\n (0, _metal.set)(this.router, 'location', options.location);\n }\n\n this.application.runInstanceInitializers(this);\n\n if (options.isInteractive) {\n this.setupEventDispatcher();\n }\n\n this._booted = true;\n return this;\n },\n\n setupRegistry(options) {\n this.constructor.setupRegistry(this.__registry__, options);\n },\n\n router: (0, _metal.computed)(function () {\n return this.lookup('router:main');\n }).readOnly(),\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 /**\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 this._didSetupRouter = true;\n },\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 \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 \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 \n @public\n */\n setupRouter() {\n if (this._didSetupRouter) {\n return;\n }\n\n this._didSetupRouter = true;\n this.router.setupRouter();\n },\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 /**\n @private\n */\n setupEventDispatcher() {\n var dispatcher = this.lookup('event_dispatcher:main');\n var applicationCustomEvents = (0, _metal.get)(this.application, 'customEvents');\n var instanceCustomEvents = (0, _metal.get)(this, 'customEvents');\n var customEvents = (0, _polyfills.assign)({}, applicationCustomEvents, instanceCustomEvents);\n dispatcher.setup(customEvents, this.rootElement);\n return dispatcher;\n },\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\n // `instance.visit(url)` should eventually replace `instance.handleURL()`;\n // the test helpers can probably be switched to use this implementation too\n\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 transion 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\n var bootOptions = this.__container__.lookup('-environment:main');\n\n var router = this.router;\n\n var 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 (0, _glimmer.renderSettled)().then(() => this);\n }\n };\n\n var 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\n var location = (0, _metal.get)(router, 'location'); // Keeps the location adapter's internal URL in-sync\n\n location.setURL(url); // getURL returns the set url with the rootURL stripped off\n\n return router.handleURL(location.getURL()).then(handleTransitionResolve, handleTransitionReject);\n },\n\n willDestroy() {\n this._super(...arguments);\n\n this.application._unwatchInstance(this);\n }\n\n });\n\n ApplicationInstance.reopenClass({\n /**\n @private\n @method setupRegistry\n @param {Registry} registry\n @param {BootOptions} options\n */\n setupRegistry(registry, options = {}) {\n if (!options.toEnvironment) {\n options = new BootOptions(options);\n }\n\n registry.register('-environment:main', options.toEnvironment(), {\n instantiate: false\n });\n registry.register('service:-document', options.document, {\n instantiate: false\n });\n\n this._super(registry, options);\n }\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 */\n\n class BootOptions {\n constructor(options = {}) {\n /**\n Provide a specific instance of jQuery. This is useful in conjunction with\n the `document` option, as it allows you to use a copy of `jQuery` that is\n appropriately bound to the foreign `document` (e.g. a jsdom).\n This is highly experimental and support very incomplete at the moment.\n @property jQuery\n @type Object\n @default auto-detected\n @private\n */\n this.jQuery = _views.jQuery; // This default is overridable below\n\n /**\n Interactive mode: whether we need to set up event delegation and invoke\n lifecycle callbacks on Components.\n @property isInteractive\n @type boolean\n @default auto-detected\n @private\n */\n\n this.isInteractive = environment.hasDOM; // This default is overridable below\n\n /**\n @property _renderMode\n @type string\n @default false\n @private\n */\n\n this._renderMode = options._renderMode;\n /**\n Run in a full browser environment.\n When this flag is set to `false`, it will disable most browser-specific\n and interactive features. Specifically:\n * It does not use `jQuery` to append the root view; the `rootElement`\n (either specified as a subsequent option or on the application itself)\n must already be an `Element` in the given `document` (as opposed to a\n string selector).\n * It does not set up an `EventDispatcher`.\n * It does not run any `Component` lifecycle hooks (such as `didInsertElement`).\n * It sets the `location` option to `\"none\"`. (If you would like to use\n the location adapter specified in the app's router instead, you can also\n specify `{ location: null }` to specifically opt-out.)\n @property isBrowser\n @type boolean\n @default auto-detected\n @public\n */\n\n if (options.isBrowser !== undefined) {\n this.isBrowser = Boolean(options.isBrowser);\n } else {\n this.isBrowser = environment.hasDOM;\n }\n\n if (!this.isBrowser) {\n this.jQuery = null;\n this.isInteractive = false;\n this.location = 'none';\n }\n /**\n Disable rendering completely.\n When this flag is set to `false`, it will disable the entire rendering\n pipeline. Essentially, this puts the app into \"routing-only\" mode. No\n templates will be rendered, and no Components will be created.\n @property shouldRender\n @type boolean\n @default true\n @public\n */\n\n\n if (options.shouldRender !== undefined) {\n this.shouldRender = Boolean(options.shouldRender);\n } else {\n this.shouldRender = true;\n }\n\n if (!this.shouldRender) {\n this.jQuery = null;\n this.isInteractive = false;\n }\n /**\n If present, render into the given `Document` object instead of the\n global `window.document` object.\n In practice, this is only useful in non-browser environment or in\n non-interactive mode, because Ember's `jQuery` dependency is\n implicitly bound to the current document, causing event delegation\n to not work properly when the app is rendered into a foreign\n document object (such as an iframe's `contentDocument`).\n In non-browser mode, this could be a \"`Document`-like\" object as\n Ember only interact with a small subset of the DOM API in non-\n interactive mode. While the exact requirements have not yet been\n formalized, the `SimpleDOM` library's implementation is known to\n work.\n @property document\n @type Document\n @default the global `document` object\n @public\n */\n\n\n if (options.document) {\n this.document = options.document;\n } else {\n this.document = typeof document !== 'undefined' ? document : null;\n }\n /**\n If present, overrides the application's `rootElement` property on\n the instance. This is useful for testing environment, where you\n might want to append the root view to a fixture area.\n In non-browser mode, because Ember does not have access to jQuery,\n this options must be specified as a DOM `Element` object instead of\n a selector string.\n See the documentation on `Application`'s `rootElement` for\n details.\n @property rootElement\n @type String|Element\n @default null\n @public\n */\n\n\n if (options.rootElement) {\n this.rootElement = options.rootElement;\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\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\n\n if (options.location !== undefined) {\n this.location = options.location;\n }\n\n if (options.jQuery !== undefined) {\n this.jQuery = options.jQuery;\n }\n\n if (options.isInteractive !== undefined) {\n this.isInteractive = Boolean(options.isInteractive);\n }\n }\n\n toEnvironment() {\n // Do we really want to assign all of this!?\n var env = (0, _polyfills.assign)({}, environment); // For compatibility with existing code\n\n env.hasDOM = this.isBrowser;\n env.isInteractive = this.isInteractive;\n env._renderMode = this._renderMode;\n env.options = this;\n return env;\n }\n\n }\n\n var _default = ApplicationInstance;\n _exports.default = _default;\n});","define(\"@ember/application/lib/application\", [\"exports\", \"@ember/-internals/utils\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\", \"@ember/debug\", \"@ember/runloop\", \"@ember/-internals/metal\", \"@ember/application/lib/lazy_load\", \"@ember/-internals/runtime\", \"@ember/-internals/views\", \"@ember/-internals/routing\", \"@ember/application/instance\", \"@ember/engine\", \"@ember/-internals/container\", \"@ember/-internals/glimmer\", \"@ember/deprecated-features\"], function (_exports, _utils, _environment, _browserEnvironment, _debug, _runloop, _metal, _lazy_load, _runtime, _views, _routing, _instance, _engine, _container, _glimmer, _deprecatedFeatures) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/application\n */\n var librariesRegistered = false;\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 const App = Application.extend({\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 let App = Application.extend({\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 let App = Application.extend({\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 let App = Application.extend({\n rootElement: '#ember-app'\n });\n ```\n \n The `rootElement` can be either a DOM element or a jQuery-compatible 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 @uses RegistryProxyMixin\n @public\n */\n\n var Application = _engine.default.extend({\n /**\n The root DOM element of the Application. This can be specified as an\n element or a\n [jQuery-compatible selector string](http://api.jquery.com/category/selectors/).\n This is the element that will be passed to the Application's,\n `eventDispatcher`, which sets up the listeners for event delegation. Every\n view in your application should be a child of the element you specify here.\n @property rootElement\n @type DOMElement\n @default 'body'\n @public\n */\n rootElement: 'body',\n\n /**\n The `Ember.EventDispatcher` responsible for delegating events to this\n application's views.\n The event dispatcher is created by the application at initialization time\n and sets up event listeners on the DOM element described by the\n application's `rootElement` property.\n See the documentation for `Ember.EventDispatcher` for more information.\n @property eventDispatcher\n @type Ember.EventDispatcher\n @default null\n @public\n */\n eventDispatcher: null,\n\n /**\n The DOM events for which the event dispatcher should listen.\n By default, the application's `Ember.EventDispatcher` listens\n for a set of standard DOM events, such as `mousedown` and\n `keyup`, and delegates them to your application's `Ember.View`\n instances.\n If you would like additional bubbling events to be delegated to your\n views, set your `Application`'s `customEvents` property\n to a hash containing the DOM event name as the key and the\n corresponding view method name as the value. Setting an event to\n a value of `null` will prevent a default event listener from being\n added for that event.\n To add new events to be listened to:\n ```app/app.js\n import Application from '@ember/application';\n let App = Application.extend({\n customEvents: {\n // add support for the paste event\n paste: 'paste'\n }\n });\n ```\n To prevent default events from being listened to:\n ```app/app.js\n import Application from '@ember/application';\n let App = Application.extend({\n customEvents: {\n // remove support for mouseenter / mouseleave events\n mouseenter: null,\n mouseleave: null\n }\n });\n ```\n @property customEvents\n @type Object\n @default null\n @public\n */\n customEvents: null,\n\n /**\n Whether the application should automatically start routing and render\n templates to the `rootElement` on DOM ready. While default by true,\n other environments such as FastBoot or a testing harness can set this\n property to `false` and control the precise timing and behavior of the boot\n process.\n @property autoboot\n @type Boolean\n @default true\n @private\n */\n autoboot: true,\n\n /**\n Whether the application should be configured for the legacy \"globals mode\".\n Under this mode, the Application object serves as a global namespace for all\n classes.\n ```javascript\n import Application from '@ember/application';\n import Component from '@ember/component';\n let App = Application.create({\n ...\n });\n App.Router.reopen({\n location: 'none'\n });\n App.Router.map({\n ...\n });\n App.MyComponent = Component.extend({\n ...\n });\n ```\n This flag also exposes other internal APIs that assumes the existence of\n a special \"default instance\", like `App.__container__.lookup(...)`.\n This option is currently not configurable, its value is derived from\n the `autoboot` flag – disabling `autoboot` also implies opting-out of\n globals mode support, although they are ultimately orthogonal concerns.\n Some of the global modes features are already deprecated in 1.x. The\n existence of this flag is to untangle the globals mode code paths from\n the autoboot code paths, so that these legacy features can be reviewed\n for deprecation/removal separately.\n Forcing the (autoboot=true, _globalsMode=false) here and running the tests\n would reveal all the places where we are still relying on these legacy\n behavior internally (mostly just tests).\n @property _globalsMode\n @type Boolean\n @default true\n @private\n */\n _globalsMode: true,\n\n /**\n An array of application instances created by `buildInstance()`. Used\n internally to ensure that all instances get destroyed.\n @property _applicationInstances\n @type Array\n @default null\n @private\n */\n _applicationInstances: null,\n\n init() {\n // eslint-disable-line no-unused-vars\n this._super(...arguments);\n\n if (!this.$) {\n this.$ = _views.jQuery;\n }\n\n registerLibraries();\n\n if (true\n /* DEBUG */\n ) {\n if (_environment.ENV.LOG_VERSION) {\n // we only need to see this once per Application#init\n _environment.ENV.LOG_VERSION = false;\n\n _metal.libraries.logVersions();\n }\n } // Start off the number of deferrals at 1. This will be decremented by\n // the Application's own `boot` method.\n\n\n this._readinessDeferrals = 1;\n this._booted = false;\n this._applicationInstances = new Set();\n this.autoboot = this._globalsMode = Boolean(this.autoboot);\n\n if (this._globalsMode) {\n this._prepareForGlobalsMode();\n }\n\n if (this.autoboot) {\n this.waitForDOMReady();\n }\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 (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot build new instances of this application since it has already been destroyed', !this.isDestroyed));\n (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot build new instances of this application since it is being destroyed', !this.isDestroying));\n options.base = this;\n options.application = this;\n return _instance.default.create(options);\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 /**\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 /**\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 || _routing.Router).extend();\n\n this._buildDeprecatedInstance();\n },\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 var instance = this.buildInstance(); // Legacy support for App.__container__ and other global methods\n // on App that rely on a single, default instance.\n\n this.__deprecatedInstance__ = instance;\n this.__container__ = instance.__container__;\n },\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 if (!this.$ || this.$.isReady) {\n (0, _runloop.schedule)('actions', this, 'domReady');\n } else {\n this.$().ready((0, _runloop.bind)(this, 'domReady'));\n }\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\n this._bootSync(); // Continues to `didBecomeReady`\n\n },\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 // $ is a reference to the jQuery object/function\n import $ from 'jquery;\n $.getJSON('/auth-token', function(token) {\n App.token = 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 (true && !(this instanceof Application) && (0, _debug.assert)('You must call deferReadiness on an instance of Application', this instanceof Application));\n (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot defer readiness since application has already destroyed', !this.isDestroyed));\n (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot defer readiness since the application is being destroyed', !this.isDestroying));\n (true && !(this._readinessDeferrals > 0) && (0, _debug.assert)('You cannot defer readiness since the `ready()` hook has already been called', this._readinessDeferrals > 0));\n this._readinessDeferrals++;\n },\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 (true && !(this instanceof Application) && (0, _debug.assert)('You must call advanceReadiness on an instance of Application', this instanceof Application));\n (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot advance readiness since application has already destroyed', !this.isDestroyed));\n (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot advance readiness since the application is being destroyed', !this.isDestroying));\n (true && !(this._readinessDeferrals > 0) && (0, _debug.assert)('You cannot advance readiness since the `ready()` hook has already been called', this._readinessDeferrals > 0));\n this._readinessDeferrals--;\n\n if (this._readinessDeferrals === 0) {\n (0, _runloop.once)(this, this.didBecomeReady);\n }\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 (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot boot this application since it has already been destroyed', !this.isDestroyed));\n (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot boot this application since it is being destroyed', !this.isDestroying));\n\n if (this._bootPromise) {\n return this._bootPromise;\n }\n\n try {\n this._bootSync();\n } catch (_) {// Ignore the error: in the asynchronous boot path, the error is already reflected\n // in the promise rejection\n }\n\n return this._bootPromise;\n },\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 } // 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\n\n var defer = this._bootResolver = _runtime.RSVP.defer();\n\n this._bootPromise = defer.promise;\n\n try {\n this.runInitializers();\n (0, _lazy_load.runLoadHooks)('application', this);\n this.advanceReadiness(); // Continues to `didBecomeReady`\n } catch (error) {\n // For the asynchronous boot path\n defer.reject(error); // For the synchronous boot path\n\n throw error;\n }\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 (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot reset this application since it has already been destroyed', !this.isDestroyed));\n (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot reset this application since it is being destroyed', !this.isDestroying));\n (true && !(this._globalsMode && this.autoboot) && (0, _debug.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 var instance = this.__deprecatedInstance__;\n this._readinessDeferrals = 1;\n this._bootPromise = null;\n this._bootResolver = null;\n this._booted = false;\n\n function handleReset() {\n (0, _runloop.run)(instance, 'destroy');\n\n this._buildDeprecatedInstance();\n\n (0, _runloop.schedule)('actions', this, '_bootSync');\n }\n\n (0, _runloop.join)(this, handleReset);\n },\n\n /**\n @private\n @method didBecomeReady\n */\n didBecomeReady() {\n if (this.isDestroying || this.isDestroyed) {\n return;\n }\n\n try {\n // TODO: Is this still needed for _globalsMode = false?\n if (!(0, _debug.isTesting)()) {\n // Eagerly name all classes that are already loaded\n (0, _metal.processAllNamespaces)();\n (0, _metal.setNamespaceSearchDisabled)(true);\n } // See documentation on `_autoboot()` for details\n\n\n if (this.autoboot) {\n var instance;\n\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 } 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\n instance._bootSync(); // TODO: App.ready() is not called when autoboot is disabled, is this correct?\n\n\n this.ready();\n instance.startRouting();\n } // For the asynchronous boot path\n\n\n this._bootResolver.resolve(this); // For the synchronous boot path\n\n\n this._booted = true;\n } catch (error) {\n // For the asynchronous boot path\n this._bootResolver.reject(error); // For the synchronous boot path\n\n\n throw error;\n }\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\n // This method must be moved to the application instance object\n willDestroy() {\n this._super(...arguments);\n\n (0, _metal.setNamespaceSearchDisabled)(false);\n\n if (_lazy_load._loaded.application === this) {\n _lazy_load._loaded.application = undefined;\n }\n\n if (this._applicationInstances.size) {\n this._applicationInstances.forEach(i => i.destroy());\n\n this._applicationInstances.clear();\n }\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 access to jQuery 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 application.inject('route', 'network', 'service:network');\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 // An example of how the (hypothetical) service is used in routes.\n export default Route.extend({\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 (true && !(!this.isDestroyed) && (0, _debug.assert)('You cannot visit this application since it has already been destroyed', !this.isDestroyed));\n (true && !(!this.isDestroying) && (0, _debug.assert)('You cannot visit this application since it is being destroyed', !this.isDestroying));\n return this.boot().then(() => {\n var instance = this.buildInstance();\n return instance.boot(options).then(() => instance.visit(url)).catch(error => {\n (0, _runloop.run)(instance, 'destroy');\n throw error;\n });\n });\n }\n\n });\n\n Application.reopenClass({\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 buildRegistry() {\n // eslint-disable-line no-unused-vars\n var registry = this._super(...arguments);\n\n commonSetupRegistry(registry);\n (0, _glimmer.setupApplicationRegistry)(registry);\n return registry;\n }\n\n });\n\n function commonSetupRegistry(registry) {\n registry.register('router:main', _routing.Router.extend());\n registry.register('-view-registry:main', {\n create() {\n return (0, _utils.dictionary)(null);\n }\n\n });\n registry.register('route:basic', _routing.Route);\n registry.register('event_dispatcher:main', _views.EventDispatcher);\n registry.injection('router:main', 'namespace', 'application:main');\n registry.register('location:auto', _routing.AutoLocation);\n registry.register('location:hash', _routing.HashLocation);\n registry.register('location:history', _routing.HistoryLocation);\n registry.register('location:none', _routing.NoneLocation);\n registry.register((0, _container.privatize)`-bucket-cache:main`, {\n create() {\n return new _routing.BucketCache();\n }\n\n });\n registry.register('service:router', _routing.RouterService);\n registry.injection('service:router', '_router', 'router:main');\n }\n\n function registerLibraries() {\n if (!librariesRegistered) {\n librariesRegistered = true;\n\n if (_deprecatedFeatures.JQUERY_INTEGRATION && _browserEnvironment.hasDOM && !_views.jQueryDisabled) {\n _metal.libraries.registerCoreLibrary('jQuery', (0, _views.jQuery)().jquery);\n }\n }\n }\n\n var _default = Application;\n _exports.default = _default;\n});","define(\"@ember/application/lib/lazy_load\", [\"exports\", \"@ember/-internals/environment\", \"@ember/-internals/browser-environment\"], function (_exports, _environment, _browserEnvironment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.onLoad = onLoad;\n _exports.runLoadHooks = runLoadHooks;\n _exports._loaded = void 0;\n\n /*globals CustomEvent */\n\n /**\n @module @ember/application\n */\n var loadHooks = _environment.ENV.EMBER_LOAD_HOOKS || {};\n var loaded = {};\n var _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 */\n\n _exports._loaded = _loaded;\n\n function onLoad(name, callback) {\n var object = loaded[name];\n loadHooks[name] = loadHooks[name] || [];\n loadHooks[name].push(callback);\n\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 */\n\n\n function runLoadHooks(name, object) {\n loaded[name] = object;\n\n if (_browserEnvironment.window && typeof CustomEvent === 'function') {\n var event = new CustomEvent(name, {\n detail: object,\n name\n });\n\n _browserEnvironment.window.dispatchEvent(event);\n }\n\n if (loadHooks[name]) {\n loadHooks[name].forEach(callback => callback(object));\n }\n }\n});","define(\"@ember/canary-features/index\", [\"exports\", \"@ember/-internals/environment\", \"@ember/polyfills\"], function (_exports, _environment, _polyfills) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.isEnabled = isEnabled;\n _exports.EMBER_CACHE_API = _exports.EMBER_GLIMMER_IN_ELEMENT = _exports.EMBER_ROUTING_MODEL_ARG = _exports.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE = _exports.EMBER_CUSTOM_COMPONENT_ARG_PROXY = _exports.EMBER_MODULE_UNIFICATION = _exports.EMBER_NAMED_BLOCKS = _exports.EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_LIBRARIES_ISREGISTERED = _exports.FEATURES = _exports.DEFAULT_FEATURES = void 0;\n\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 */\n var DEFAULT_FEATURES = {\n EMBER_LIBRARIES_ISREGISTERED: false,\n EMBER_IMPROVED_INSTRUMENTATION: false,\n EMBER_NAMED_BLOCKS: false,\n EMBER_MODULE_UNIFICATION: false,\n EMBER_CUSTOM_COMPONENT_ARG_PROXY: true,\n EMBER_GLIMMER_SET_COMPONENT_TEMPLATE: true,\n EMBER_ROUTING_MODEL_ARG: true,\n EMBER_GLIMMER_IN_ELEMENT: true,\n EMBER_CACHE_API: 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 */\n\n _exports.DEFAULT_FEATURES = DEFAULT_FEATURES;\n var FEATURES = (0, _polyfills.assign)(DEFAULT_FEATURES, _environment.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 */\n\n _exports.FEATURES = FEATURES;\n\n function isEnabled(feature) {\n var featureValue = FEATURES[feature];\n\n if (featureValue === true || featureValue === false) {\n return featureValue;\n } else if (_environment.ENV.ENABLE_OPTIONAL_FEATURES) {\n return true;\n } else {\n return false;\n }\n }\n\n function featureValue(value) {\n if (_environment.ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n return true;\n }\n\n return value;\n }\n\n var EMBER_LIBRARIES_ISREGISTERED = featureValue(FEATURES.EMBER_LIBRARIES_ISREGISTERED);\n _exports.EMBER_LIBRARIES_ISREGISTERED = EMBER_LIBRARIES_ISREGISTERED;\n var EMBER_IMPROVED_INSTRUMENTATION = featureValue(FEATURES.EMBER_IMPROVED_INSTRUMENTATION);\n _exports.EMBER_IMPROVED_INSTRUMENTATION = EMBER_IMPROVED_INSTRUMENTATION;\n var EMBER_NAMED_BLOCKS = featureValue(FEATURES.EMBER_NAMED_BLOCKS);\n _exports.EMBER_NAMED_BLOCKS = EMBER_NAMED_BLOCKS;\n var EMBER_MODULE_UNIFICATION = featureValue(FEATURES.EMBER_MODULE_UNIFICATION);\n _exports.EMBER_MODULE_UNIFICATION = EMBER_MODULE_UNIFICATION;\n var EMBER_CUSTOM_COMPONENT_ARG_PROXY = featureValue(FEATURES.EMBER_CUSTOM_COMPONENT_ARG_PROXY);\n _exports.EMBER_CUSTOM_COMPONENT_ARG_PROXY = EMBER_CUSTOM_COMPONENT_ARG_PROXY;\n var EMBER_GLIMMER_SET_COMPONENT_TEMPLATE = featureValue(FEATURES.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE);\n _exports.EMBER_GLIMMER_SET_COMPONENT_TEMPLATE = EMBER_GLIMMER_SET_COMPONENT_TEMPLATE;\n var EMBER_ROUTING_MODEL_ARG = featureValue(FEATURES.EMBER_ROUTING_MODEL_ARG);\n _exports.EMBER_ROUTING_MODEL_ARG = EMBER_ROUTING_MODEL_ARG;\n var EMBER_GLIMMER_IN_ELEMENT = featureValue(FEATURES.EMBER_GLIMMER_IN_ELEMENT);\n _exports.EMBER_GLIMMER_IN_ELEMENT = EMBER_GLIMMER_IN_ELEMENT;\n var EMBER_CACHE_API = featureValue(FEATURES.EMBER_CACHE_API);\n _exports.EMBER_CACHE_API = EMBER_CACHE_API;\n});","define(\"@ember/component/index\", [\"exports\", \"@ember/-internals/glimmer\"], function (_exports, _glimmer) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"Component\", {\n enumerable: true,\n get: function () {\n return _glimmer.Component;\n }\n });\n});","define(\"@ember/component/template-only\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = templateOnlyComponent;\n _exports.isTemplateOnlyComponent = isTemplateOnlyComponent;\n _exports.TemplateOnlyComponent = void 0;\n\n // This is only exported for types, don't use this class directly\n class TemplateOnlyComponent {\n constructor(moduleName = '@ember/component/template-only') {\n this.moduleName = moduleName;\n }\n\n toString() {\n return this.moduleName;\n }\n\n }\n /**\n @module @ember/component/template-only\n @public\n */\n\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 templateOnly from '@ember/component/template-only';\n \n export default templateOnly();\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\n\n _exports.TemplateOnlyComponent = TemplateOnlyComponent;\n\n function templateOnlyComponent(moduleName) {\n return new TemplateOnlyComponent(moduleName);\n }\n\n function isTemplateOnlyComponent(component) {\n return component instanceof TemplateOnlyComponent;\n }\n});","define(\"@ember/controller/index\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/metal\", \"@ember/controller/lib/controller_mixin\"], function (_exports, _runtime, _metal, _controller_mixin) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.inject = inject;\n _exports.default = void 0;\n\n /**\n @module @ember/controller\n */\n\n /**\n @class Controller\n @extends EmberObject\n @uses Ember.ControllerMixin\n @public\n */\n var Controller = _runtime.FrameworkObject.extend(_controller_mixin.default);\n /**\n Creates a property that lazily looks up another controller in the container.\n Can only be used when defining another controller.\n \n Example:\n \n ```app/controllers/post.js\n import Controller, {\n inject as controller\n } from '@ember/controller';\n \n export default class PostController extends Controller {\n @controller posts;\n }\n ```\n \n Classic Class Example:\n \n ```app/controllers/post.js\n import Controller, {\n inject as controller\n } from '@ember/controller';\n \n export default Controller.extend({\n posts: controller()\n });\n ```\n \n This example will create a `posts` property on the `post` controller that\n looks up the `posts` controller in the container, making it easy to reference\n other controllers.\n \n @method inject\n @static\n @for @ember/controller\n @since 1.10.0\n @param {String} name (optional) name of the controller to inject, defaults to\n the property's name\n @return {ComputedDecorator} injection decorator instance\n @public\n */\n\n\n function inject() {\n return (0, _metal.inject)('controller', ...arguments);\n }\n\n var _default = Controller;\n _exports.default = _default;\n});","define(\"@ember/controller/lib/controller_mixin\", [\"exports\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\", \"@ember/-internals/utils\"], function (_exports, _metal, _runtime, _utils) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var MODEL = (0, _utils.symbol)('MODEL');\n /**\n @module ember\n */\n\n /**\n @class ControllerMixin\n @namespace Ember\n @uses Ember.ActionHandler\n @private\n */\n\n var _default = _metal.Mixin.create(_runtime.ActionHandler, {\n /* ducktype as a controller */\n isController: true,\n\n /**\n The object to which actions from the view should be sent.\n For example, when a Handlebars template uses the `{{action}}` helper,\n it will attempt to send the action to the view's controller's `target`.\n By default, the value of the target property is set to the router, and\n is injected when a controller is instantiated. This injection is applied\n as part of the application's initialization process. In most cases the\n `target` property will automatically be set to the logical consumer of\n actions for the controller.\n @property target\n @default null\n @public\n */\n target: null,\n store: null,\n\n /**\n The controller's current model. When retrieving or modifying a controller's\n model, this property should be used instead of the `content` property.\n @property model\n @public\n */\n model: (0, _metal.computed)({\n get() {\n return this[MODEL];\n },\n\n set(key, value) {\n return this[MODEL] = value;\n }\n\n })\n });\n\n _exports.default = _default;\n});","define(\"@ember/debug/index\", [\"exports\", \"@ember/-internals/browser-environment\", \"@ember/error\", \"@ember/debug/lib/deprecate\", \"@ember/debug/lib/testing\", \"@ember/debug/lib/warn\", \"@ember/debug/lib/capture-render-tree\"], function (_exports, _browserEnvironment, _error, _deprecate2, _testing, _warn2, _captureRenderTree) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"registerDeprecationHandler\", {\n enumerable: true,\n get: function () {\n return _deprecate2.registerHandler;\n }\n });\n Object.defineProperty(_exports, \"isTesting\", {\n enumerable: true,\n get: function () {\n return _testing.isTesting;\n }\n });\n Object.defineProperty(_exports, \"setTesting\", {\n enumerable: true,\n get: function () {\n return _testing.setTesting;\n }\n });\n Object.defineProperty(_exports, \"registerWarnHandler\", {\n enumerable: true,\n get: function () {\n return _warn2.registerHandler;\n }\n });\n Object.defineProperty(_exports, \"captureRenderTree\", {\n enumerable: true,\n get: function () {\n return _captureRenderTree.default;\n }\n });\n _exports._warnIfUsingStrippedFeatureFlags = _exports.getDebugFunction = _exports.setDebugFunction = _exports.deprecateFunc = _exports.runInDebug = _exports.debugFreeze = _exports.debugSeal = _exports.deprecate = _exports.debug = _exports.warn = _exports.info = _exports.assert = void 0;\n\n // These are the default production build versions:\n var noop = () => {};\n\n var assert = noop;\n _exports.assert = assert;\n var info = noop;\n _exports.info = info;\n var warn = noop;\n _exports.warn = warn;\n var debug = noop;\n _exports.debug = debug;\n var deprecate = noop;\n _exports.deprecate = deprecate;\n var debugSeal = noop;\n _exports.debugSeal = debugSeal;\n var debugFreeze = noop;\n _exports.debugFreeze = debugFreeze;\n var runInDebug = noop;\n _exports.runInDebug = runInDebug;\n var setDebugFunction = noop;\n _exports.setDebugFunction = setDebugFunction;\n var getDebugFunction = noop;\n _exports.getDebugFunction = getDebugFunction;\n\n var deprecateFunc = function () {\n return arguments[arguments.length - 1];\n };\n\n _exports.deprecateFunc = deprecateFunc;\n\n if (true\n /* DEBUG */\n ) {\n _exports.setDebugFunction = setDebugFunction = function (type, callback) {\n switch (type) {\n case 'assert':\n return _exports.assert = assert = callback;\n\n case 'info':\n return _exports.info = info = callback;\n\n case 'warn':\n return _exports.warn = warn = callback;\n\n case 'debug':\n return _exports.debug = debug = callback;\n\n case 'deprecate':\n return _exports.deprecate = deprecate = callback;\n\n case 'debugSeal':\n return _exports.debugSeal = debugSeal = callback;\n\n case 'debugFreeze':\n return _exports.debugFreeze = debugFreeze = callback;\n\n case 'runInDebug':\n return _exports.runInDebug = runInDebug = callback;\n\n case 'deprecateFunc':\n return _exports.deprecateFunc = deprecateFunc = callback;\n }\n };\n\n _exports.getDebugFunction = getDebugFunction = function (type) {\n switch (type) {\n case 'assert':\n return assert;\n\n case 'info':\n return info;\n\n case 'warn':\n return warn;\n\n case 'debug':\n return debug;\n\n case 'deprecate':\n return deprecate;\n\n case 'debugSeal':\n return debugSeal;\n\n case 'debugFreeze':\n return debugFreeze;\n\n case 'runInDebug':\n return runInDebug;\n\n case 'deprecateFunc':\n return deprecateFunc;\n }\n };\n }\n /**\n @module @ember/debug\n */\n\n\n if (true\n /* DEBUG */\n ) {\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.default(`Assertion Failed: ${desc}`);\n }\n });\n /**\n Display a debug 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 ```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\n setDebugFunction('debug', function debug(message) {\n /* eslint-disable no-console */\n if (console.debug) {\n console.debug(`DEBUG: ${message}`);\n } else {\n console.log(`DEBUG: ${message}`);\n }\n /* eslint-ensable no-console */\n\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\n setDebugFunction('info', function info() {\n console.info(...arguments);\n /* eslint-disable-line no-console */\n });\n /**\n @module @ember/debug\n @public\n */\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\n setDebugFunction('deprecateFunc', function deprecateFunc(...args) {\n if (args.length === 3) {\n var [message, options, func] = args;\n return function (...args) {\n deprecate(message, false, options);\n return func.apply(this, args);\n };\n } else {\n var [_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 /**\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\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', _deprecate2.default);\n setDebugFunction('warn', _warn2.default);\n }\n\n var _warnIfUsingStrippedFeatureFlags;\n\n _exports._warnIfUsingStrippedFeatureFlags = _warnIfUsingStrippedFeatureFlags;\n\n if (true\n /* DEBUG */\n && !(0, _testing.isTesting)()) {\n if (typeof window !== 'undefined' && (_browserEnvironment.isFirefox || _browserEnvironment.isChrome) && window.addEventListener) {\n window.addEventListener('load', () => {\n if (document.documentElement && document.documentElement.dataset && !document.documentElement.dataset.emberExtension) {\n var downloadURL;\n\n if (_browserEnvironment.isChrome) {\n downloadURL = 'https://chrome.google.com/webstore/detail/ember-inspector/bmdblncegkenkacieihfhpjfppoconhi';\n } else if (_browserEnvironment.isFirefox) {\n downloadURL = 'https://addons.mozilla.org/en-US/firefox/addon/ember-inspector/';\n }\n\n debug(`For more advanced debugging, install the Ember Inspector from ${downloadURL}`);\n }\n }, false);\n }\n }\n});","define(\"@ember/debug/lib/capture-render-tree\", [\"exports\", \"@glimmer/util\"], function (_exports, _util) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = captureRenderTree;\n\n /**\n @module @ember/debug\n */\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 */\n function captureRenderTree(app) {\n var env = (0, _util.expect)(app.lookup('-environment:main'), 'BUG: owner is missing -environment:main');\n var rendererType = env.isInteractive ? 'renderer:-dom' : 'renderer:-inert';\n var renderer = (0, _util.expect)(app.lookup(rendererType), `BUG: owner is missing ${rendererType}`);\n return renderer.debugRenderTree.capture();\n }\n});","define(\"@ember/debug/lib/deprecate\", [\"exports\", \"@ember/-internals/environment\", \"@ember/debug/index\", \"@ember/debug/lib/handlers\"], function (_exports, _environment, _index, _handlers) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.missingOptionsUntilDeprecation = _exports.missingOptionsIdDeprecation = _exports.missingOptionsDeprecation = _exports.registerHandler = _exports.default = void 0;\n\n /**\n @module @ember/debug\n @public\n */\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 */\n var registerHandler = () => {};\n\n _exports.registerHandler = registerHandler;\n var missingOptionsDeprecation;\n _exports.missingOptionsDeprecation = missingOptionsDeprecation;\n var missingOptionsIdDeprecation;\n _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n var missingOptionsUntilDeprecation;\n _exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation;\n\n var deprecate = () => {};\n\n if (true\n /* DEBUG */\n ) {\n _exports.registerHandler = registerHandler = function registerHandler(handler) {\n (0, _handlers.registerHandler)('deprecate', handler);\n };\n\n var formatMessage = function formatMessage(_message, options) {\n var message = _message;\n\n if (options && options.id) {\n message = message + ` [deprecation id: ${options.id}]`;\n }\n\n if (options && options.url) {\n message += ` See ${options.url} for more details.`;\n }\n\n return message;\n };\n\n registerHandler(function logDeprecationToConsole(message, options) {\n var updatedMessage = formatMessage(message, options);\n console.warn(`DEPRECATION: ${updatedMessage}`); // eslint-disable-line no-console\n });\n var captureErrorForStack;\n\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\n registerHandler(function logDeprecationStackTrace(message, options, next) {\n if (_environment.ENV.LOG_STACKTRACE_ON_DEPRECATION) {\n var stackStr = '';\n var error = captureErrorForStack();\n var stack;\n\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\n stackStr = `\\n ${stack.slice(2).join('\\n ')}`;\n }\n\n var 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 (_environment.ENV.RAISE_ON_DEPRECATION) {\n var updatedMessage = formatMessage(message);\n throw new Error(updatedMessage);\n } else {\n next(message, options);\n }\n });\n _exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `deprecate` you ' + 'must provide an `options` hash as the third parameter. ' + '`options` should include `id` and `until` properties.';\n _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation = 'When calling `deprecate` you must provide `id` in options.';\n _exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation = 'When calling `deprecate` you must provide `until` in options.';\n /**\n @module @ember/debug\n @public\n */\n\n /**\n Display a deprecation warning with the provided message and a stack trace\n (Chrome and Firefox only).\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 @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.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\n deprecate = function deprecate(message, test, options) {\n (0, _index.assert)(missingOptionsDeprecation, Boolean(options && (options.id || options.until)));\n (0, _index.assert)(missingOptionsIdDeprecation, Boolean(options.id));\n (0, _index.assert)(missingOptionsUntilDeprecation, Boolean(options.until));\n (0, _handlers.invoke)('deprecate', message, test, options);\n };\n }\n\n var _default = deprecate;\n _exports.default = _default;\n});","define(\"@ember/debug/lib/handlers\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.invoke = _exports.registerHandler = _exports.HANDLERS = void 0;\n var HANDLERS = {};\n _exports.HANDLERS = HANDLERS;\n\n var registerHandler = () => {};\n\n _exports.registerHandler = registerHandler;\n\n var invoke = () => {};\n\n _exports.invoke = invoke;\n\n if (true\n /* DEBUG */\n ) {\n _exports.registerHandler = registerHandler = function registerHandler(type, callback) {\n var nextHandler = HANDLERS[type] || (() => {});\n\n HANDLERS[type] = (message, options) => {\n callback(message, options, nextHandler);\n };\n };\n\n _exports.invoke = invoke = function invoke(type, message, test, options) {\n if (test) {\n return;\n }\n\n var handlerForType = HANDLERS[type];\n\n if (handlerForType) {\n handlerForType(message, options);\n }\n };\n }\n});","define(\"@ember/debug/lib/testing\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.isTesting = isTesting;\n _exports.setTesting = setTesting;\n var testing = false;\n\n function isTesting() {\n return testing;\n }\n\n function setTesting(value) {\n testing = Boolean(value);\n }\n});","define(\"@ember/debug/lib/warn\", [\"exports\", \"@ember/debug/index\", \"@ember/debug/lib/handlers\"], function (_exports, _index, _handlers) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.missingOptionsDeprecation = _exports.missingOptionsIdDeprecation = _exports.registerHandler = _exports.default = void 0;\n\n var registerHandler = () => {};\n\n _exports.registerHandler = registerHandler;\n\n var warn = () => {};\n\n var missingOptionsDeprecation;\n _exports.missingOptionsDeprecation = missingOptionsDeprecation;\n var missingOptionsIdDeprecation;\n /**\n @module @ember/debug\n */\n\n _exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n\n if (true\n /* DEBUG */\n ) {\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 _exports.registerHandler = registerHandler = function registerHandler(handler) {\n (0, _handlers.registerHandler)('warn', handler);\n };\n\n registerHandler(function logWarning(message) {\n /* eslint-disable no-console */\n console.warn(`WARNING: ${message}`);\n /* eslint-enable no-console */\n });\n _exports.missingOptionsDeprecation = missingOptionsDeprecation = 'When calling `warn` you ' + 'must provide an `options` hash as the third parameter. ' + '`options` should include an `id` property.';\n _exports.missingOptionsIdDeprecation = 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\n warn = function warn(message, test, options) {\n if (arguments.length === 2 && typeof test === 'object') {\n options = test;\n test = false;\n }\n\n (0, _index.assert)(missingOptionsDeprecation, Boolean(options));\n (0, _index.assert)(missingOptionsIdDeprecation, Boolean(options && options.id));\n (0, _handlers.invoke)('warn', message, test, options);\n };\n }\n\n var _default = warn;\n _exports.default = _default;\n});","define(\"@ember/deprecated-features/index\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.GLOBALS_RESOLVER = _exports.PARTIALS = _exports.EMBER_COMPONENT_IS_VISIBLE = _exports.MOUSE_ENTER_LEAVE_MOVE_EVENTS = _exports.FUNCTION_PROTOTYPE_EXTENSIONS = _exports.APP_CTRL_ROUTER_PROPS = _exports.ALIAS_METHOD = _exports.JQUERY_INTEGRATION = _exports.COMPONENT_MANAGER_STRING_LOOKUP = _exports.ROUTER_EVENTS = _exports.MERGE = _exports.LOGGER = _exports.EMBER_EXTEND_PROTOTYPES = _exports.SEND_ACTION = void 0;\n\n /* 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.\n var SEND_ACTION = !!'3.4.0';\n _exports.SEND_ACTION = SEND_ACTION;\n var EMBER_EXTEND_PROTOTYPES = !!'3.2.0-beta.5';\n _exports.EMBER_EXTEND_PROTOTYPES = EMBER_EXTEND_PROTOTYPES;\n var LOGGER = !!'3.2.0-beta.1';\n _exports.LOGGER = LOGGER;\n var MERGE = !!'3.6.0-beta.1';\n _exports.MERGE = MERGE;\n var ROUTER_EVENTS = !!'4.0.0';\n _exports.ROUTER_EVENTS = ROUTER_EVENTS;\n var COMPONENT_MANAGER_STRING_LOOKUP = !!'3.8.0';\n _exports.COMPONENT_MANAGER_STRING_LOOKUP = COMPONENT_MANAGER_STRING_LOOKUP;\n var JQUERY_INTEGRATION = !!'3.9.0';\n _exports.JQUERY_INTEGRATION = JQUERY_INTEGRATION;\n var ALIAS_METHOD = !!'3.9.0';\n _exports.ALIAS_METHOD = ALIAS_METHOD;\n var APP_CTRL_ROUTER_PROPS = !!'3.10.0-beta.1';\n _exports.APP_CTRL_ROUTER_PROPS = APP_CTRL_ROUTER_PROPS;\n var FUNCTION_PROTOTYPE_EXTENSIONS = !!'3.11.0-beta.1';\n _exports.FUNCTION_PROTOTYPE_EXTENSIONS = FUNCTION_PROTOTYPE_EXTENSIONS;\n var MOUSE_ENTER_LEAVE_MOVE_EVENTS = !!'3.13.0-beta.1';\n _exports.MOUSE_ENTER_LEAVE_MOVE_EVENTS = MOUSE_ENTER_LEAVE_MOVE_EVENTS;\n var EMBER_COMPONENT_IS_VISIBLE = !!'3.15.0-beta.1';\n _exports.EMBER_COMPONENT_IS_VISIBLE = EMBER_COMPONENT_IS_VISIBLE;\n var PARTIALS = !!'3.15.0-beta.1';\n _exports.PARTIALS = PARTIALS;\n var GLOBALS_RESOLVER = !!'3.16.0-beta.1';\n _exports.GLOBALS_RESOLVER = GLOBALS_RESOLVER;\n});","define(\"@ember/engine/index\", [\"exports\", \"@ember/engine/lib/engine-parent\", \"@ember/-internals/utils\", \"@ember/controller\", \"@ember/-internals/runtime\", \"@ember/-internals/container\", \"dag-map\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/application/globals-resolver\", \"@ember/engine/instance\", \"@ember/-internals/routing\", \"@ember/-internals/extension-support\", \"@ember/-internals/views\", \"@ember/-internals/glimmer\"], function (_exports, _engineParent, _utils, _controller, _runtime, _container, _dagMap, _debug, _metal, _globalsResolver, _instance, _routing, _extensionSupport, _views, _glimmer) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"getEngineParent\", {\n enumerable: true,\n get: function () {\n return _engineParent.getEngineParent;\n }\n });\n Object.defineProperty(_exports, \"setEngineParent\", {\n enumerable: true,\n get: function () {\n return _engineParent.setEngineParent;\n }\n });\n _exports.default = void 0;\n\n function props(obj) {\n var properties = [];\n\n for (var key in obj) {\n properties.push(key);\n }\n\n return properties;\n }\n /**\n @module @ember/engine\n */\n\n /**\n The `Engine` class contains core functionality for both applications and\n engines.\n \n Each engine manages a registry that's used for dependency injection and\n exposed through `RegistryProxy`.\n \n Engines also manage initializers and instance initializers.\n \n Engines can spawn `EngineInstance` instances via `buildInstance()`.\n \n @class Engine\n @extends Ember.Namespace\n @uses RegistryProxy\n @public\n */\n\n\n var Engine = _runtime.Namespace.extend(_runtime.RegistryProxyMixin, {\n init() {\n this._super(...arguments);\n\n this.buildRegistry();\n },\n\n /**\n A private flag indicating whether an engine's initializers have run yet.\n @private\n @property _initializersRan\n */\n _initializersRan: false,\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 /**\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 options.base = this;\n return _instance.default.create(options);\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 var registry = this.__registry__ = this.constructor.buildRegistry(this);\n return registry;\n },\n\n /**\n @private\n @method initializer\n */\n initializer(options) {\n this.constructor.initializer(options);\n },\n\n /**\n @private\n @method instanceInitializer\n */\n instanceInitializer(options) {\n this.constructor.instanceInitializer(options);\n },\n\n /**\n @private\n @method runInitializers\n */\n runInitializers() {\n this._runInitializer('initializers', (name, initializer) => {\n (true && !(Boolean(initializer)) && (0, _debug.assert)(`No application initializer named '${name}'`, Boolean(initializer)));\n initializer.initialize(this);\n });\n },\n\n /**\n @private\n @since 1.12.0\n @method runInstanceInitializers\n */\n runInstanceInitializers(instance) {\n this._runInitializer('instanceInitializers', (name, initializer) => {\n (true && !(Boolean(initializer)) && (0, _debug.assert)(`No instance initializer named '${name}'`, Boolean(initializer)));\n initializer.initialize(instance);\n });\n },\n\n _runInitializer(bucketName, cb) {\n var initializersByName = (0, _metal.get)(this.constructor, bucketName);\n var initializers = props(initializersByName);\n var graph = new _dagMap.default();\n var initializer;\n\n for (var i = 0; i < initializers.length; i++) {\n initializer = initializersByName[initializers[i]];\n graph.add(initializer.name, initializer, initializer.before, initializer.after);\n }\n\n graph.topsort(cb);\n }\n\n });\n\n Engine.reopenClass({\n initializers: Object.create(null),\n instanceInitializers: Object.create(null),\n\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 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 * `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 ```app/initializer/named-initializer.js\n import { debug } from '@ember/debug';\n export function initialize() {\n debug('Running namedInitializer!');\n }\n export default {\n name: 'named-initializer',\n initialize\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 An example of ordering initializers, we create an initializer named `first`:\n ```app/initializer/first.js\n import { debug } from '@ember/debug';\n export function initialize() {\n debug('First initializer!');\n }\n export default {\n name: 'first',\n initialize\n };\n ```\n ```bash\n // DEBUG: First initializer!\n ```\n We add another initializer named `second`, specifying that it should run\n after the initializer named `first`:\n ```app/initializer/second.js\n import { debug } from '@ember/debug';\n export function initialize() {\n debug('Second initializer!');\n }\n export default {\n name: 'second',\n after: 'first',\n initialize\n };\n ```\n ```\n // DEBUG: First initializer!\n // DEBUG: Second initializer!\n ```\n Afterwards we add a further initializer named `pre`, this time specifying\n that it should run before the initializer named `first`:\n ```app/initializer/pre.js\n import { debug } from '@ember/debug';\n export function initialize() {\n debug('Pre initializer!');\n }\n export default {\n name: 'pre',\n before: 'first',\n initialize\n };\n ```\n ```bash\n // DEBUG: Pre initializer!\n // DEBUG: First initializer!\n // DEBUG: Second initializer!\n ```\n Finally we add an initializer named `post`, specifying it should run after\n both the `first` and the `second` initializers:\n ```app/initializer/post.js\n import { debug } from '@ember/debug';\n export function initialize() {\n debug('Post initializer!');\n }\n export default {\n name: 'post',\n after: ['first', 'second'],\n initialize\n };\n ```\n ```bash\n // DEBUG: Pre initializer!\n // DEBUG: First initializer!\n // DEBUG: Second initializer!\n // DEBUG: Post initializer!\n ```\n * `initialize` is a callback function that receives one argument,\n `application`, on which you can operate.\n Example of using `application` to register an adapter:\n ```app/initializer/api-adapter.js\n import ApiAdapter from '../utils/api-adapter';\n export function initialize(application) {\n application.register('api-adapter:main', ApiAdapter);\n }\n export default {\n name: 'post',\n after: ['first', 'second'],\n initialize\n };\n ```\n @method initializer\n @param initializer {Object}\n @public\n */\n initializer: buildInitializerMethod('initializers', 'initializer'),\n\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 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 * `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 ```app/initializer/named-instance-initializer.js\n import { debug } from '@ember/debug';\n export function initialize() {\n debug('Running named-instance-initializer!');\n }\n export default {\n name: 'named-instance-initializer',\n initialize\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 * See Application.initializer for discussion on the usage of before\n and after.\n Example instanceInitializer to preload data into the store.\n ```app/initializer/preload-data.js\n import $ from 'jquery';\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 // Grab the encoded data from the meta tag\n userConfigEncoded = $('head meta[name=app-user-config]').attr('content');\n // Unescape the text, then parse the resulting JSON into a real object\n userConfig = JSON.parse(unescape(userConfigEncoded));\n // Lookup the store\n store = application.lookup('service:store');\n // Push the encoded JSON into the store\n store.pushPayload(userConfig);\n }\n export default {\n name: 'named-instance-initializer',\n initialize\n };\n ```\n @method instanceInitializer\n @param instanceInitializer\n @public\n */\n instanceInitializer: buildInitializerMethod('instanceInitializers', 'instance initializer'),\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 buildRegistry(namespace) {\n var registry = new _container.Registry({\n resolver: resolverFor(namespace)\n });\n registry.set = _metal.set;\n registry.register('application:main', namespace, {\n instantiate: false\n });\n commonSetupRegistry(registry);\n (0, _glimmer.setupEngineRegistry)(registry);\n return registry;\n },\n\n /**\n Set this to provide an alternate class to `DefaultResolver`\n @deprecated Use 'Resolver' instead\n @property resolver\n @public\n */\n resolver: null,\n\n /**\n Set this to provide an alternate class to `DefaultResolver`\n @property resolver\n @public\n */\n Resolver: null\n });\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.Namespace} namespace the namespace to look for classes\n @return {*} the resolved value for a given lookup\n */\n\n function resolverFor(namespace) {\n var ResolverClass = (0, _metal.get)(namespace, 'Resolver') || _globalsResolver.default;\n\n var props = {\n namespace\n };\n return ResolverClass.create(props);\n }\n\n 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 if (this.superclass[bucketName] !== undefined && this.superclass[bucketName] === this[bucketName]) {\n var attrs = {};\n attrs[bucketName] = Object.create(this[bucketName]);\n this.reopenClass(attrs);\n }\n\n (true && !(!this[bucketName][initializer.name]) && (0, _debug.assert)(`The ${humanName} '${initializer.name}' has already been registered`, !this[bucketName][initializer.name]));\n (true && !((0, _utils.canInvoke)(initializer, 'initialize')) && (0, _debug.assert)(`An ${humanName} cannot be registered without an initialize function`, (0, _utils.canInvoke)(initializer, 'initialize')));\n (true && !(initializer.name !== undefined) && (0, _debug.assert)(`An ${humanName} cannot be registered without a name property`, initializer.name !== undefined));\n this[bucketName][initializer.name] = initializer;\n };\n }\n\n function commonSetupRegistry(registry) {\n registry.optionsForType('component', {\n singleton: false\n });\n registry.optionsForType('view', {\n singleton: false\n });\n registry.register('controller:basic', _controller.default, {\n instantiate: false\n });\n registry.injection('view', '_viewRegistry', '-view-registry:main');\n registry.injection('renderer', '_viewRegistry', '-view-registry:main');\n registry.injection('route', '_topLevelViewTemplate', 'template:-outlet');\n registry.injection('view:-outlet', 'namespace', 'application:main');\n registry.injection('controller', 'target', 'router:main');\n registry.injection('controller', 'namespace', 'application:main');\n registry.injection('router', '_bucketCache', (0, _container.privatize)`-bucket-cache:main`);\n registry.injection('route', '_bucketCache', (0, _container.privatize)`-bucket-cache:main`);\n registry.injection('route', '_router', 'router:main'); // Register the routing service...\n\n registry.register('service:-routing', _routing.RoutingService); // Then inject the app router into it\n\n registry.injection('service:-routing', 'router', 'router:main'); // DEBUGGING\n\n registry.register('resolver-for-debugging:main', registry.resolver, {\n instantiate: false\n });\n registry.injection('container-debug-adapter:main', 'resolver', 'resolver-for-debugging:main');\n registry.injection('data-adapter:main', 'containerDebugAdapter', 'container-debug-adapter:main'); // Custom resolver authors may want to register their own ContainerDebugAdapter with this key\n\n registry.register('container-debug-adapter:main', _extensionSupport.ContainerDebugAdapter);\n registry.register('component-lookup:main', _views.ComponentLookup);\n }\n\n var _default = Engine;\n _exports.default = _default;\n});","define(\"@ember/engine/instance\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/debug\", \"@ember/error\", \"@ember/-internals/container\", \"@ember/-internals/utils\", \"@ember/engine/lib/engine-parent\"], function (_exports, _runtime, _debug, _error, _container, _utils, _engineParent) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/engine\n */\n\n /**\n The `EngineInstance` encapsulates all of the stateful aspects of a\n running `Engine`.\n \n @public\n @class EngineInstance\n @extends EmberObject\n @uses RegistryProxyMixin\n @uses ContainerProxyMixin\n */\n var EngineInstance = _runtime.Object.extend(_runtime.RegistryProxyMixin, _runtime.ContainerProxyMixin, {\n /**\n The base `Engine` for which this is an instance.\n @property {Engine} engine\n @private\n */\n base: null,\n\n init() {\n this._super(...arguments); // Ensure the guid gets setup for this instance\n\n\n (0, _utils.guidFor)(this);\n var base = this.base;\n\n if (!base) {\n base = this.application;\n this.base = base;\n } // Create a per-instance registry that will use the application's registry\n // as a fallback for resolving registrations.\n\n\n var registry = this.__registry__ = new _container.Registry({\n fallback: base.__registry__\n }); // Create a per-instance container from the instance's registry\n\n this.__container__ = registry.container({\n owner: this\n });\n this._booted = false;\n },\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\n this._bootPromise = new _runtime.RSVP.Promise(resolve => resolve(this._bootSync(options)));\n return this._bootPromise;\n },\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\n (true && !((0, _engineParent.getEngineParent)(this)) && (0, _debug.assert)(\"An engine instance's parent must be set via `setEngineParent(engine, parent)` prior to calling `engine.boot()`.\", (0, _engineParent.getEngineParent)(this)));\n this.cloneParentDependencies();\n this.setupRegistry(options);\n this.base.runInstanceInitializers(this);\n this._booted = true;\n return this;\n },\n\n setupRegistry(options = this.__container__.lookup('-environment:main')) {\n this.constructor.setupRegistry(this.__registry__, options);\n },\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\n this._super(...arguments);\n },\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 var Engine = this.lookup(`engine:${name}`);\n\n if (!Engine) {\n throw new _error.default(`You attempted to mount the engine '${name}', but it is not registered with its parent.`);\n }\n\n var engineInstance = Engine.buildInstance(options);\n (0, _engineParent.setEngineParent)(engineInstance, this);\n return engineInstance;\n },\n\n /**\n Clone dependencies shared between an engine instance and its parent.\n @private\n @method cloneParentDependencies\n */\n cloneParentDependencies() {\n var parent = (0, _engineParent.getEngineParent)(this);\n var registrations = ['route:basic', 'service:-routing'];\n registrations.forEach(key => this.register(key, parent.resolveRegistration(key)));\n var env = parent.lookup('-environment:main');\n this.register('-environment:main', env, {\n instantiate: false\n });\n var singletons = ['router:main', (0, _container.privatize)`-bucket-cache:main`, '-view-registry:main', `renderer:-${env.isInteractive ? 'dom' : 'inert'}`, 'service:-document'];\n\n if (env.isInteractive) {\n singletons.push('event_dispatcher:main');\n }\n\n singletons.forEach(key => this.register(key, parent.lookup(key), {\n instantiate: false\n }));\n this.inject('view', '_environment', '-environment:main');\n this.inject('route', '_environment', '-environment:main');\n }\n\n });\n\n EngineInstance.reopenClass({\n /**\n @private\n @method setupRegistry\n @param {Registry} registry\n @param {BootOptions} options\n */\n setupRegistry(registry, options) {\n // when no options/environment is present, do nothing\n if (!options) {\n return;\n }\n\n registry.injection('view', '_environment', '-environment:main');\n registry.injection('route', '_environment', '-environment:main');\n\n if (options.isInteractive) {\n registry.injection('view', 'renderer', 'renderer:-dom');\n registry.injection('component', 'renderer', 'renderer:-dom');\n } else {\n registry.injection('view', 'renderer', 'renderer:-inert');\n registry.injection('component', 'renderer', 'renderer:-inert');\n }\n }\n\n });\n var _default = EngineInstance;\n _exports.default = _default;\n});","define(\"@ember/engine/lib/engine-parent\", [\"exports\", \"@ember/-internals/utils\"], function (_exports, _utils) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.getEngineParent = getEngineParent;\n _exports.setEngineParent = setEngineParent;\n\n /**\n @module @ember/engine\n */\n var ENGINE_PARENT = (0, _utils.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 */\n\n 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 */\n\n\n function setEngineParent(engine, parent) {\n engine[ENGINE_PARENT] = parent;\n }\n});","define(\"@ember/error/index\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module @ember/error\n */\n\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 */\n var _default = Error;\n _exports.default = _default;\n});","define(\"@ember/instrumentation/index\", [\"exports\", \"@ember/-internals/environment\"], function (_exports, _environment) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.instrument = instrument;\n _exports._instrumentStart = _instrumentStart;\n _exports.subscribe = subscribe;\n _exports.unsubscribe = unsubscribe;\n _exports.reset = reset;\n _exports.flaggedInstrument = _exports.subscribers = void 0;\n\n /* eslint no-console:off */\n\n /* global console */\n\n /**\n @module @ember/instrumentation\n @private\n */\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 */\n var subscribers = [];\n _exports.subscribers = subscribers;\n var cache = {};\n\n function populateListeners(name) {\n var listeners = [];\n var subscriber;\n\n for (var i = 0; i < subscribers.length; i++) {\n subscriber = subscribers[i];\n\n if (subscriber.regex.test(name)) {\n listeners.push(subscriber.object);\n }\n }\n\n cache[name] = listeners;\n return listeners;\n }\n\n var time = (() => {\n var perf = 'undefined' !== typeof window ? window.performance || {} : {};\n var fn = perf.now || perf.mozNow || perf.webkitNow || perf.msNow || perf.oNow;\n return fn ? fn.bind(perf) : Date.now;\n })();\n\n function isCallback(value) {\n return typeof value === 'function';\n }\n\n function instrument(name, p1, p2, p3) {\n var _payload;\n\n var callback;\n var binding;\n\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 } // fast path\n\n\n if (subscribers.length === 0) {\n return callback.call(binding);\n } // avoid allocating the payload in fast path\n\n\n var payload = _payload || {};\n\n var finalizer = _instrumentStart(name, () => payload);\n\n if (finalizer === NOOP) {\n return callback.call(binding);\n } else {\n return withFinalizer(callback, finalizer, payload, binding);\n }\n }\n\n var flaggedInstrument;\n _exports.flaggedInstrument = flaggedInstrument;\n\n if (false\n /* EMBER_IMPROVED_INSTRUMENTATION */\n ) {\n _exports.flaggedInstrument = flaggedInstrument = instrument;\n } else {\n _exports.flaggedInstrument = flaggedInstrument = function instrument(_name, _payload, callback) {\n return callback();\n };\n }\n\n function 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 }\n\n function NOOP() {}\n\n function _instrumentStart(name, payloadFunc, payloadArg) {\n if (subscribers.length === 0) {\n return NOOP;\n }\n\n var listeners = cache[name];\n\n if (!listeners) {\n listeners = populateListeners(name);\n }\n\n if (listeners.length === 0) {\n return NOOP;\n }\n\n var payload = payloadFunc(payloadArg);\n var STRUCTURED_PROFILE = _environment.ENV.STRUCTURED_PROFILE;\n var timeName;\n\n if (STRUCTURED_PROFILE) {\n timeName = `${name}: ${payload.object}`;\n console.time(timeName);\n }\n\n var beforeValues = [];\n var timestamp = time();\n\n for (var i = 0; i < listeners.length; i++) {\n var listener = listeners[i];\n beforeValues.push(listener.before(name, timestamp, payload));\n }\n\n return function _instrumentEnd() {\n var timestamp = time();\n\n for (var _i = 0; _i < listeners.length; _i++) {\n var _listener = listeners[_i];\n\n if (typeof _listener.after === 'function') {\n _listener.after(name, timestamp, payload, beforeValues[_i]);\n }\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 */\n\n\n function subscribe(pattern, object) {\n var paths = pattern.split('.');\n var path;\n var regexes = [];\n\n for (var i = 0; i < paths.length; i++) {\n path = paths[i];\n\n if (path === '*') {\n regexes.push('[^\\\\.]*');\n } else {\n regexes.push(path);\n }\n }\n\n var regex = regexes.join('\\\\.');\n regex = `${regex}(\\\\..*)?`;\n var 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 */\n\n\n function unsubscribe(subscriber) {\n var index = 0;\n\n for (var i = 0; i < subscribers.length; i++) {\n if (subscribers[i] === subscriber) {\n index = i;\n }\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 */\n\n\n function reset() {\n subscribers.length = 0;\n cache = {};\n }\n});","define(\"@ember/modifier/index\", [\"exports\", \"@ember/-internals/glimmer\"], function (_exports, _glimmer) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"setModifierManager\", {\n enumerable: true,\n get: function () {\n return _glimmer.setModifierManager;\n }\n });\n Object.defineProperty(_exports, \"capabilties\", {\n enumerable: true,\n get: function () {\n return _glimmer.modifierCapabilities;\n }\n });\n});","define(\"@ember/object/compat\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\", \"@glimmer/validator\"], function (_exports, _metal, _debug, _validator) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.dependentKeyCompat = dependentKeyCompat;\n\n var wrapGetterSetter = function (_target, key, desc) {\n var {\n get: originalGet\n } = desc;\n\n if (originalGet !== undefined) {\n desc.get = function () {\n var propertyTag = (0, _validator.tagFor)(this, key);\n var ret;\n var tag = (0, _validator.track)(() => {\n ret = originalGet.call(this);\n });\n (0, _validator.updateTag)(propertyTag, tag);\n (0, _validator.consumeTag)(tag);\n return ret;\n };\n }\n\n return desc;\n };\n\n function dependentKeyCompat(target, key, desc) {\n if (!(0, _metal.isElementDescriptor)([target, key, desc])) {\n desc = target;\n\n var decorator = function (target, key, _desc, _meta, isClassicDecorator) {\n (true && !(isClassicDecorator) && (0, _debug.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 (true && !(desc !== null && typeof desc === 'object' && (typeof desc.get === 'function' || typeof desc.set === 'function')) && (0, _debug.assert)('The dependentKeyCompat() decorator must be passed a getter or setter when used in classic classes', desc !== null && typeof desc === 'object' && (typeof desc.get === 'function' || typeof desc.set === 'function')));\n return wrapGetterSetter(target, key, desc);\n };\n\n (0, _metal.setClassicDecorator)(decorator);\n return decorator;\n }\n\n (true && !(desc !== null && typeof desc.get === 'function' || typeof desc.set === 'function') && (0, _debug.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 }\n\n (0, _metal.setClassicDecorator)(dependentKeyCompat);\n});","define(\"@ember/object/computed\", [\"exports\", \"@ember/object/lib/computed/computed_macros\", \"@ember/object/lib/computed/reduce_computed_macros\"], function (_exports, _computed_macros, _reduce_computed_macros) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"empty\", {\n enumerable: true,\n get: function () {\n return _computed_macros.empty;\n }\n });\n Object.defineProperty(_exports, \"notEmpty\", {\n enumerable: true,\n get: function () {\n return _computed_macros.notEmpty;\n }\n });\n Object.defineProperty(_exports, \"none\", {\n enumerable: true,\n get: function () {\n return _computed_macros.none;\n }\n });\n Object.defineProperty(_exports, \"not\", {\n enumerable: true,\n get: function () {\n return _computed_macros.not;\n }\n });\n Object.defineProperty(_exports, \"bool\", {\n enumerable: true,\n get: function () {\n return _computed_macros.bool;\n }\n });\n Object.defineProperty(_exports, \"match\", {\n enumerable: true,\n get: function () {\n return _computed_macros.match;\n }\n });\n Object.defineProperty(_exports, \"equal\", {\n enumerable: true,\n get: function () {\n return _computed_macros.equal;\n }\n });\n Object.defineProperty(_exports, \"gt\", {\n enumerable: true,\n get: function () {\n return _computed_macros.gt;\n }\n });\n Object.defineProperty(_exports, \"gte\", {\n enumerable: true,\n get: function () {\n return _computed_macros.gte;\n }\n });\n Object.defineProperty(_exports, \"lt\", {\n enumerable: true,\n get: function () {\n return _computed_macros.lt;\n }\n });\n Object.defineProperty(_exports, \"lte\", {\n enumerable: true,\n get: function () {\n return _computed_macros.lte;\n }\n });\n Object.defineProperty(_exports, \"oneWay\", {\n enumerable: true,\n get: function () {\n return _computed_macros.oneWay;\n }\n });\n Object.defineProperty(_exports, \"readOnly\", {\n enumerable: true,\n get: function () {\n return _computed_macros.readOnly;\n }\n });\n Object.defineProperty(_exports, \"deprecatingAlias\", {\n enumerable: true,\n get: function () {\n return _computed_macros.deprecatingAlias;\n }\n });\n Object.defineProperty(_exports, \"and\", {\n enumerable: true,\n get: function () {\n return _computed_macros.and;\n }\n });\n Object.defineProperty(_exports, \"or\", {\n enumerable: true,\n get: function () {\n return _computed_macros.or;\n }\n });\n Object.defineProperty(_exports, \"sum\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.sum;\n }\n });\n Object.defineProperty(_exports, \"min\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.min;\n }\n });\n Object.defineProperty(_exports, \"max\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.max;\n }\n });\n Object.defineProperty(_exports, \"map\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.map;\n }\n });\n Object.defineProperty(_exports, \"sort\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.sort;\n }\n });\n Object.defineProperty(_exports, \"setDiff\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.setDiff;\n }\n });\n Object.defineProperty(_exports, \"mapBy\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.mapBy;\n }\n });\n Object.defineProperty(_exports, \"filter\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.filter;\n }\n });\n Object.defineProperty(_exports, \"filterBy\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.filterBy;\n }\n });\n Object.defineProperty(_exports, \"uniq\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.uniq;\n }\n });\n Object.defineProperty(_exports, \"uniqBy\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.uniqBy;\n }\n });\n Object.defineProperty(_exports, \"union\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.union;\n }\n });\n Object.defineProperty(_exports, \"intersect\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.intersect;\n }\n });\n Object.defineProperty(_exports, \"collect\", {\n enumerable: true,\n get: function () {\n return _reduce_computed_macros.collect;\n }\n });\n});","define(\"@ember/object/index\", [\"exports\", \"@ember/debug\", \"@ember/polyfills\", \"@ember/-internals/metal\"], function (_exports, _debug, _polyfills, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.action = action;\n\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 */\n var BINDINGS_MAP = new WeakMap();\n\n function setupAction(target, key, actionFn) {\n if (target.constructor !== undefined && typeof target.constructor.proto === 'function') {\n target.constructor.proto();\n }\n\n if (!Object.prototype.hasOwnProperty.call(target, 'actions')) {\n var parentActions = target.actions; // we need to assign because of the way mixins copy actions down when inheriting\n\n target.actions = parentActions ? (0, _polyfills.assign)({}, parentActions) : {};\n }\n\n target.actions[key] = actionFn;\n return {\n get() {\n var bindings = BINDINGS_MAP.get(this);\n\n if (bindings === undefined) {\n bindings = new Map();\n BINDINGS_MAP.set(this, bindings);\n }\n\n var fn = bindings.get(actionFn);\n\n if (fn === undefined) {\n fn = actionFn.bind(this);\n bindings.set(actionFn, fn);\n }\n\n return fn;\n }\n\n };\n }\n\n function action(target, key, desc) {\n var actionFn;\n\n if (!(0, _metal.isElementDescriptor)([target, key, desc])) {\n actionFn = target;\n\n var decorator = function (target, key, desc, meta, isClassicDecorator) {\n (true && !(isClassicDecorator) && (0, _debug.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 (true && !(typeof actionFn === 'function') && (0, _debug.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\n (0, _metal.setClassicDecorator)(decorator);\n return decorator;\n }\n\n actionFn = desc.value;\n (true && !(typeof actionFn === 'function') && (0, _debug.assert)('The @action decorator must be applied to methods when used in native classes', typeof actionFn === 'function'));\n return setupAction(target, key, actionFn);\n }\n\n (0, _metal.setClassicDecorator)(action);\n});","define(\"@ember/object/lib/computed/computed_macros\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\"], function (_exports, _metal, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.empty = empty;\n _exports.notEmpty = notEmpty;\n _exports.none = none;\n _exports.not = not;\n _exports.bool = bool;\n _exports.match = match;\n _exports.equal = equal;\n _exports.gt = gt;\n _exports.gte = gte;\n _exports.lt = lt;\n _exports.lte = lte;\n _exports.oneWay = oneWay;\n _exports.readOnly = readOnly;\n _exports.deprecatingAlias = deprecatingAlias;\n _exports.or = _exports.and = void 0;\n\n /**\n @module @ember/object\n */\n function expandPropertiesToArray(predicateName, properties) {\n var expandedProperties = [];\n\n function extractProperty(entry) {\n expandedProperties.push(entry);\n }\n\n for (var i = 0; i < properties.length; i++) {\n var property = properties[i];\n (true && !(property.indexOf(' ') < 0) && (0, _debug.assert)(`Dependent keys passed to computed.${predicateName}() can't have spaces.`, property.indexOf(' ') < 0));\n (0, _metal.expandProperties)(property, extractProperty);\n }\n\n return expandedProperties;\n }\n\n function generateComputedWithPredicate(name, predicate) {\n return (...properties) => {\n (true && !(!(0, _metal.isElementDescriptor)(properties)) && (0, _debug.assert)(`You attempted to use @${name} as a decorator directly, but it requires at least one dependent key parameter`, !(0, _metal.isElementDescriptor)(properties)));\n var dependentKeys = expandPropertiesToArray(name, properties);\n var computedFunc = (0, _metal.computed)(...dependentKeys, function () {\n var lastIdx = dependentKeys.length - 1;\n\n for (var i = 0; i < lastIdx; i++) {\n var value = (0, _metal.get)(this, dependentKeys[i]);\n\n if (!predicate(value)) {\n return value;\n }\n }\n\n return (0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { empty } from '@ember/object/computed';\n \n let ToDoList = EmberObject.extend({\n isDone: empty('todos')\n });\n \n let todoList = ToDoList.create({\n todos: ['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 */\n\n\n function empty(dependentKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @empty as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(`${dependentKey}.length`, function () {\n return (0, _metal.isEmpty)((0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { notEmpty } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n hasStuff: notEmpty('backpack')\n });\n \n let hamster = Hamster.create({\n backpack: ['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 */\n\n\n function notEmpty(dependentKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @notEmpty as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(`${dependentKey}.length`, function () {\n return !(0, _metal.isEmpty)((0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { none } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n isHungry: none('food')\n });\n \n let hamster = Hamster.create();\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 */\n\n\n function none(dependentKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @none as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.isNone)((0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { not } from '@ember/object/computed';\n \n let User = EmberObject.extend({\n loggedIn: false,\n \n isAnonymous: not('loggedIn')\n });\n \n let user = User.create();\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 */\n\n\n function not(dependentKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @not as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(dependentKey, function () {\n return !(0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { bool } from '@ember/object/computed';\n \n \n let Hamster = EmberObject.extend({\n hasBananas: bool('numBananas')\n });\n \n let hamster = Hamster.create();\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 */\n\n\n function bool(dependentKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @bool as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(dependentKey, function () {\n return Boolean((0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { match } from '@ember/object/computed';\n \n let User = EmberObject.extend({\n hasValidEmail: match('email', /^.+@.+\\..+$/)\n });\n \n let user = User.create();\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 */\n\n\n function match(dependentKey, regexp) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @match as a decorator directly, but it requires `dependentKey` and `regexp` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(dependentKey, function () {\n var value = (0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { equal } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n satisfied: equal('percentCarrotsEaten', 100)\n });\n \n let hamster = Hamster.create();\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 */\n\n\n function equal(dependentKey, value) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @equal as a decorator directly, but it requires `dependentKey` and `value` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { gt } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n hasTooManyBananas: gt('numBananas', 10)\n });\n \n let hamster = Hamster.create();\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 */\n\n\n function gt(dependentKey, value) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @gt as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { gte } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n hasTooManyBananas: gte('numBananas', 10)\n });\n \n let hamster = Hamster.create();\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 */\n\n\n function gte(dependentKey, value) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @gte as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { lt } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n needsMoreBananas: lt('numBananas', 3)\n });\n \n let hamster = Hamster.create();\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 */\n\n\n function lt(dependentKey, value) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @lt as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { lte } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n needsMoreBananas: lte('numBananas', 3)\n });\n \n let hamster = Hamster.create();\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 */\n\n\n function lte(dependentKey, value) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @lte as a decorator directly, but it requires `dependentKey` and `value` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { and } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n readyForCamp: and('hasTent', 'hasBackpack'),\n readyForHike: and('hasWalkingStick', 'hasBackpack')\n });\n \n let tomster = Hamster.create();\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 */\n\n\n var 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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { or } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n readyForRain: or('hasJacket', 'hasUmbrella'),\n readyForBeach: or('hasSunscreen', 'hasUmbrella')\n });\n \n let tomster = Hamster.create();\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 */\n\n _exports.and = and;\n var 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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { alias } from '@ember/object/computed';\n \n let Person = EmberObject.extend({\n name: 'Alex Matchneer',\n \n nomen: alias('name')\n });\n \n let alex = Person.create();\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 /**\n Where `computed.alias` aliases `get` and `set`, and allows for bidirectional\n data flow, `computed.oneWay` only provides an aliased `get`. The `set` will\n not mutate the upstream property, rather causes the current property to become\n the value set. This causes the downstream property to permanently diverge from\n 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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { oneWay } from '@ember/object/computed';\n \n let User = EmberObject.extend({\n firstName: null,\n lastName: null,\n \n nickName: oneWay('firstName')\n });\n \n let teddy = User.create({\n firstName: 'Teddy',\n lastName: 'Zeenny'\n });\n \n teddy.nickName; // 'Teddy'\n \n set(teddy, 'nickName', 'TeddyBear'); // '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 */\n\n _exports.or = or;\n\n function oneWay(dependentKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @oneWay as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.alias)(dependentKey).oneWay();\n }\n /**\n This is a more semantically meaningful alias of `computed.oneWay`, whose name\n 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 /**\n Where `computed.oneWay` provides oneWay bindings, `computed.readOnly` provides\n a readOnly one way binding. Very often when using `computed.oneWay` one does\n not also want changes to propagate back up, as 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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { readOnly } from '@ember/object/computed';\n \n let User = EmberObject.extend({\n firstName: null,\n lastName: null,\n \n nickName: readOnly('firstName')\n });\n \n let teddy = User.create({\n firstName: 'Teddy',\n lastName: 'Zeenny'\n });\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 */\n\n\n function readOnly(dependentKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @readOnly as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { deprecatingAlias } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n bananaCount: deprecatingAlias('cavendishCount', {\n id: 'hamster.deprecate-banana',\n until: '3.0.0'\n })\n });\n \n let hamster = Hamster.create();\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 */\n\n\n function deprecatingAlias(dependentKey, options) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @deprecatingAlias as a decorator directly, but it requires `dependentKey` and `options` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return (0, _metal.computed)(dependentKey, {\n get(key) {\n (true && !(false) && (0, _debug.deprecate)(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options));\n return (0, _metal.get)(this, dependentKey);\n },\n\n set(key, value) {\n (true && !(false) && (0, _debug.deprecate)(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options));\n (0, _metal.set)(this, dependentKey, value);\n return value;\n }\n\n });\n }\n});","define(\"@ember/object/lib/computed/reduce_computed_macros\", [\"exports\", \"@ember/debug\", \"@ember/-internals/metal\", \"@ember/-internals/runtime\"], function (_exports, _debug, _metal, _runtime) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.sum = sum;\n _exports.max = max;\n _exports.min = min;\n _exports.map = map;\n _exports.mapBy = mapBy;\n _exports.filter = filter;\n _exports.filterBy = filterBy;\n _exports.uniq = uniq;\n _exports.uniqBy = uniqBy;\n _exports.intersect = intersect;\n _exports.setDiff = setDiff;\n _exports.collect = collect;\n _exports.sort = sort;\n _exports.union = void 0;\n\n /**\n @module @ember/object\n */\n function reduceMacro(dependentKey, callback, initialValue, name) {\n (true && !(!/[[\\]{}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.${name}\\` shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n return (0, _metal.computed)(`${dependentKey}.[]`, function () {\n var arr = (0, _metal.get)(this, dependentKey);\n\n if (arr === null || typeof arr !== 'object') {\n return initialValue;\n }\n\n return arr.reduce(callback, initialValue, this);\n }).readOnly();\n }\n\n function arrayMacro(dependentKey, additionalDependentKeys, callback) {\n // This is a bit ugly\n var propertyName;\n\n if (/@each/.test(dependentKey)) {\n propertyName = dependentKey.replace(/\\.@each.*$/, '');\n } else {\n propertyName = dependentKey;\n dependentKey += '.[]';\n }\n\n return (0, _metal.computed)(dependentKey, ...additionalDependentKeys, function () {\n var value = (0, _metal.get)(this, propertyName);\n\n if ((0, _runtime.isArray)(value)) {\n return (0, _runtime.A)(callback.call(this, value));\n } else {\n return (0, _runtime.A)();\n }\n }).readOnly();\n }\n\n function multiArrayMacro(_dependentKeys, callback, name) {\n (true && !(_dependentKeys.every(dependentKey => !/[[\\]{}]/g.test(dependentKey))) && (0, _debug.assert)(`Dependent keys passed to \\`computed.${name}\\` shouldn't contain brace expanding pattern.`, _dependentKeys.every(dependentKey => !/[[\\]{}]/g.test(dependentKey))));\n\n var dependentKeys = _dependentKeys.map(key => `${key}.[]`);\n\n return (0, _metal.computed)(...dependentKeys, function () {\n return (0, _runtime.A)(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 Classic Class Example:\n \n ```javascript\n import EmberObject from '@ember/object';\n import { sum } from '@ember/object/computed';\n \n let Invoice = EmberObject.extend({\n lineItems: [1.00, 2.50, 9.99],\n \n total: sum('lineItems')\n })\n \n let invoice = Invoice.create();\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 */\n\n\n function sum(dependentKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @sum as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { mapBy, max } from '@ember/object/computed';\n \n let Person = EmberObject.extend({\n childAges: mapBy('children', 'age'),\n maxChildAge: max('childAges')\n });\n \n let lordByron = Person.create({ children: [] });\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 */\n\n\n function max(dependentKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @max as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { mapBy, min } from '@ember/object/computed';\n \n let Person = EmberObject.extend({\n childAges: mapBy('children', 'age'),\n minChildAge: min('childAges')\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 */\n\n\n function min(dependentKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @min as a decorator directly, but it requires a `dependentKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return reduceMacro(dependentKey, (min, item) => Math.min(min, item), Infinity, 'min');\n }\n /**\n Returns an array mapped via the callback\n \n The callback method you provide should have the following signature:\n - `item` is the current item in the iteration.\n - `index` is the integer index of the current item in the iteration.\n \n ```javascript\n function mapCallback(item, index);\n ```\n \n Example:\n \n ```javascript\n import { set } from '@ember/object';\n import { map } from '@ember/object/computed';\n \n class Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n \n @map('chores', function(chore, index) {\n return `${chore.toUpperCase()}!`;\n })\n excitingChores;\n });\n \n let hamster = new Hamster(['clean', 'write more unit tests']);\n \n hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n ```\n \n Classic Class Example:\n \n ```javascript\n import EmberObject from '@ember/object';\n import { map } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n excitingChores: map('chores', function(chore, index) {\n return `${chore.toUpperCase()}!`;\n })\n });\n \n let hamster = Hamster.create({\n chores: ['clean', 'write more unit tests']\n });\n \n hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n ```\n \n You can optionally pass an array of additional dependent keys as the second\n parameter to the macro, if your map function relies on any external values:\n \n ```javascript\n import { set } from '@ember/object';\n import { map } from '@ember/object/computed';\n \n class Hamster {\n shouldUpperCase = false;\n \n constructor(chores) {\n set(this, 'chores', chores);\n }\n \n @map('chores', ['shouldUpperCase'], function(chore, index) {\n if (this.shouldUpperCase) {\n return `${chore.toUpperCase()}!`;\n } else {\n return `${chore}!`;\n }\n })\n excitingChores;\n }\n \n let hamster = new Hamster(['clean', 'write more unit tests']);\n \n hamster.excitingChores; // ['clean!', 'write more unit tests!']\n \n set(hamster, 'shouldUpperCase', true);\n hamster.excitingChores; // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n ```\n \n @method map\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {Array} [additionalDependentKeys] optional array of additional\n dependent keys\n @param {Function} callback\n @return {ComputedProperty} an array mapped via the callback\n @public\n */\n\n\n function map(dependentKey, additionalDependentKeys, callback) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @map as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n\n if (callback === undefined && typeof additionalDependentKeys === 'function') {\n callback = additionalDependentKeys;\n additionalDependentKeys = [];\n }\n\n (true && !(typeof callback === 'function') && (0, _debug.assert)('The final parameter provided to map must be a callback function', typeof callback === 'function'));\n (true && !(Array.isArray(additionalDependentKeys)) && (0, _debug.assert)('The second parameter provided to map must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeys)));\n return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n return value.map(callback, 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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { mapBy } from '@ember/object/computed';\n \n let Person = EmberObject.extend({\n childAges: mapBy('children', 'age')\n });\n \n let lordByron = Person.create({ children: [] });\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 */\n\n\n function mapBy(dependentKey, propertyKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @mapBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n (true && !(typeof propertyKey === 'string') && (0, _debug.assert)('`computed.mapBy` expects a property string for its second argument, ' + 'perhaps you meant to use \"map\"', typeof propertyKey === 'string'));\n (true && !(!/[[\\]{}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.mapBy\\` shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n return map(`${dependentKey}.@each.${propertyKey}`, item => (0, _metal.get)(item, propertyKey));\n }\n /**\n Filters the array by the callback.\n \n The callback method you provide should have the following signature:\n - `item` is the current item in the iteration.\n - `index` is the integer index of the current item in the iteration.\n - `array` is the dependant array itself.\n \n ```javascript\n function filterCallback(item, index, array);\n ```\n \n Example:\n \n ```javascript\n import { set } from '@ember/object';\n import { filter } from '@ember/object/computed';\n \n class Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n \n @filter('chores', function(chore, index, array) {\n return !chore.done;\n })\n remainingChores;\n }\n \n let hamster = Hamster.create([\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 Classic Class Example:\n \n ```javascript\n import EmberObject from '@ember/object';\n import { filter } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n remainingChores: filter('chores', function(chore, index, array) {\n return !chore.done;\n })\n });\n \n let hamster = Hamster.create({\n chores: [\n { name: 'cook', done: true },\n { name: 'clean', done: true },\n { name: 'write more unit tests', done: false }\n ]\n });\n \n hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n ```\n \n You can also use `@each.property` in your dependent key, the callback will\n still use the underlying array:\n \n ```javascript\n import { set } from '@ember/object';\n import { filter } from '@ember/object/computed';\n \n class Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n \n @filter('chores.@each.done', function(chore, index, array) {\n return !chore.done;\n })\n 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 hamster.remainingChores; // [{name: 'write more unit tests', done: false}]\n \n set(hamster.chores[2], 'done', true);\n hamster.remainingChores; // []\n ```\n \n Finally, you can optionally pass an array of additional dependent keys as the\n second parameter to the macro, if your filter function relies on any external\n values:\n \n ```javascript\n import { filter } from '@ember/object/computed';\n \n class Hamster {\n constructor(chores) {\n set(this, 'chores', chores);\n }\n \n doneKey = 'finished';\n \n @filter('chores', ['doneKey'], function(chore, index, array) {\n return !chore[this.doneKey];\n })\n remainingChores;\n }\n \n let hamster = new Hamster([\n { name: 'cook', finished: true },\n { name: 'clean', finished: true },\n { name: 'write more unit tests', finished: false }\n ]);\n \n hamster.remainingChores; // [{name: 'write more unit tests', finished: false}]\n ```\n \n @method filter\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {Array} [additionalDependentKeys] optional array of additional dependent keys\n @param {Function} callback\n @return {ComputedProperty} the filtered array\n @public\n */\n\n\n function filter(dependentKey, additionalDependentKeys, callback) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @filter as a decorator directly, but it requires atleast `dependentKey` and `callback` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n\n if (callback === undefined && typeof additionalDependentKeys === 'function') {\n callback = additionalDependentKeys;\n additionalDependentKeys = [];\n }\n\n (true && !(typeof callback === 'function') && (0, _debug.assert)('The final parameter provided to filter must be a callback function', typeof callback === 'function'));\n (true && !(Array.isArray(additionalDependentKeys)) && (0, _debug.assert)('The second parameter provided to filter must either be the callback or an array of additional dependent keys', Array.isArray(additionalDependentKeys)));\n return arrayMacro(dependentKey, additionalDependentKeys, function (value) {\n return value.filter(callback, 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 Classic Class Example:\n \n ```javascript\n import EmberObject from '@ember/object';\n import { filterBy } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n remainingChores: filterBy('chores', 'done', false)\n });\n \n let hamster = Hamster.create({\n chores: [\n { name: 'cook', done: true },\n { name: 'clean', done: true },\n { name: 'write more unit tests', done: false }\n ]\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 */\n\n\n function filterBy(dependentKey, propertyKey, value) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @filterBy as a decorator directly, but it requires atleast `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n (true && !(!/[[\\]{}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.filterBy\\` shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n var callback;\n\n if (arguments.length === 2) {\n callback = item => (0, _metal.get)(item, propertyKey);\n } else {\n callback = item => (0, _metal.get)(item, propertyKey) === value;\n }\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 Classic Class Example:\n \n ```javascript\n import EmberObject from '@ember/object';\n import { uniq } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n uniqueFruits: uniq('fruits')\n });\n \n let hamster = Hamster.create({\n fruits: [\n 'banana',\n 'grape',\n 'kale',\n 'banana'\n ]\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 */\n\n\n function uniq(...args) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @uniq/@union as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return multiArrayMacro(args, function (dependentKeys) {\n var uniq = (0, _runtime.A)();\n var seen = new Set();\n dependentKeys.forEach(dependentKey => {\n var value = (0, _metal.get)(this, dependentKey);\n\n if ((0, _runtime.isArray)(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 Classic Class Example:\n \n ```javascript\n import EmberObject from '@ember/object';\n import { uniqBy } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n uniqueFruits: uniqBy('fruits', 'id')\n });\n \n let hamster = Hamster.create({\n fruits: [\n { id: 1, 'banana' },\n { id: 2, 'grape' },\n { id: 3, 'peach' },\n { id: 1, 'banana' }\n ]\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 */\n\n\n function uniqBy(dependentKey, propertyKey) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @uniqBy as a decorator directly, but it requires `dependentKey` and `propertyKey` parameters', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n (true && !(!/[[\\]{}]/g.test(dependentKey)) && (0, _debug.assert)(`Dependent key passed to \\`computed.uniqBy\\` shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(dependentKey)));\n return (0, _metal.computed)(`${dependentKey}.[]`, function () {\n var list = (0, _metal.get)(this, dependentKey);\n return (0, _runtime.isArray)(list) ? (0, _runtime.uniqBy)(list, propertyKey) : (0, _runtime.A)();\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 Classic Class Example:\n \n ```javascript\n import EmberObject from '@ember/object';\n import { union } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n uniqueFruits: union('fruits', 'vegetables')\n });\n \n let hamster = Hamster.create({\n fruits: [\n 'banana',\n 'grape',\n 'kale',\n 'banana',\n 'tomato'\n ],\n vegetables: [\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 */\n\n\n var 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 Classic Class Example:\n \n ```javascript\n import EmberObject from '@ember/object';\n import { intersect } from '@ember/object/computed';\n \n let FriendGroups = EmberObject.extend({\n friendsInCommon: intersect('adaFriends', 'charlesFriends')\n });\n \n let groups = FriendGroups.create({\n adaFriends: ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n charlesFriends: ['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 */\n\n _exports.union = union;\n\n function intersect(...args) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @intersect as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return multiArrayMacro(args, function (dependentKeys) {\n var arrays = dependentKeys.map(dependentKey => {\n var array = (0, _metal.get)(this, dependentKey);\n return (0, _runtime.isArray)(array) ? array : [];\n });\n var results = arrays.pop().filter(candidate => {\n for (var i = 0; i < arrays.length; i++) {\n var found = false;\n var array = arrays[i];\n\n for (var j = 0; j < array.length; j++) {\n if (array[j] === candidate) {\n found = true;\n break;\n }\n }\n\n if (found === false) {\n return false;\n }\n }\n\n return true;\n });\n return (0, _runtime.A)(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 Classic Class Example:\n \n ```javascript\n import EmberObject from '@ember/object';\n import { setDiff } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n wants: setDiff('likes', 'fruits')\n });\n \n let hamster = Hamster.create({\n likes: [\n 'banana',\n 'grape',\n 'kale'\n ],\n fruits: [\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 */\n\n\n function setDiff(setAProperty, setBProperty) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @setDiff as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n (true && !(arguments.length === 2) && (0, _debug.assert)('`computed.setDiff` requires exactly two dependent arrays.', arguments.length === 2));\n (true && !(!/[[\\]{}]/g.test(setAProperty) && !/[[\\]{}]/g.test(setBProperty)) && (0, _debug.assert)(`Dependent keys passed to \\`computed.setDiff\\` shouldn't contain brace expanding pattern.`, !/[[\\]{}]/g.test(setAProperty) && !/[[\\]{}]/g.test(setBProperty)));\n return (0, _metal.computed)(`${setAProperty}.[]`, `${setBProperty}.[]`, function () {\n var setA = (0, _metal.get)(this, setAProperty);\n var setB = (0, _metal.get)(this, setBProperty);\n\n if (!(0, _runtime.isArray)(setA)) {\n return (0, _runtime.A)();\n }\n\n if (!(0, _runtime.isArray)(setB)) {\n return (0, _runtime.A)(setA);\n }\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 Classic Class Example:\n \n ```javascript\n import EmberObject, { set } from '@ember/object';\n import { collect } from '@ember/object/computed';\n \n let Hamster = EmberObject.extend({\n clothes: collect('hat', 'shirt')\n });\n \n let hamster = Hamster.create();\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 */\n\n\n function collect(...dependentKeys) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @collect as a decorator directly, but it requires atleast one dependent key parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n return multiArrayMacro(dependentKeys, function () {\n var res = dependentKeys.map(key => {\n var val = (0, _metal.get)(this, key);\n return val === undefined ? null : val;\n });\n return (0, _runtime.A)(res);\n }, 'collect');\n }\n /**\n A computed property which returns a new array with all the properties from the\n first dependent array sorted based on a property or sort function. The sort\n macro can be used in two different ways:\n \n 1. By providing a sort callback function\n 2. By providing an array of keys to sort the array\n \n In the first form, the callback method you provide should have the following\n signature:\n \n ```javascript\n function sortCallback(itemA, itemB);\n ```\n \n - `itemA` the first item to compare.\n - `itemB` the second item to compare.\n \n This function should return negative number (e.g. `-1`) when `itemA` should\n come before `itemB`. It should return positive number (e.g. `1`) when `itemA`\n should come after `itemB`. If the `itemA` and `itemB` are equal this function\n should return `0`.\n \n Therefore, if this function is comparing some numeric values, simple `itemA -\n itemB` or `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of\n series of `if`.\n \n Example:\n \n ```javascript\n import { set } from '@ember/object';\n import { sort } from '@ember/object/computed';\n \n class ToDoList {\n constructor(todos) {\n set(this, 'todos', todos);\n }\n \n // using a custom sort function\n @sort('todos', function(a, b){\n if (a.priority > b.priority) {\n return 1;\n } else if (a.priority < b.priority) {\n return -1;\n }\n \n return 0;\n })\n priorityTodos;\n }\n \n let todoList = new ToDoList([\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n ]);\n \n todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n ```\n \n Classic Class Example:\n \n ```javascript\n import EmberObject from '@ember/object';\n import { sort } from '@ember/object/computed';\n \n let ToDoList = EmberObject.extend({\n // using a custom sort function\n priorityTodos: sort('todos', function(a, b){\n if (a.priority > b.priority) {\n return 1;\n } else if (a.priority < b.priority) {\n return -1;\n }\n \n return 0;\n })\n });\n \n let todoList = ToDoList.create({\n todos: [\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n ]\n });\n \n todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n ```\n \n You can also optionally pass an array of additional dependent keys as the\n second parameter, if your sort function is dependent on additional values that\n could changes:\n \n ```js\n import EmberObject, { set } from '@ember/object';\n import { sort } from '@ember/object/computed';\n \n class ToDoList {\n sortKey = 'priority';\n \n constructor(todos) {\n set(this, 'todos', todos);\n }\n \n // using a custom sort function\n @sort('todos', ['sortKey'], function(a, b){\n if (a[this.sortKey] > b[this.sortKey]) {\n return 1;\n } else if (a[this.sortKey] < b[this.sortKey]) {\n return -1;\n }\n \n return 0;\n })\n sortedTodos;\n });\n \n let todoList = new ToDoList([\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n ]);\n \n todoList.priorityTodos; // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n ```\n \n In the second form, you should provide the key of the array of sort values as\n the second parameter:\n \n ```javascript\n import { set } from '@ember/object';\n import { sort } from '@ember/object/computed';\n \n class ToDoList {\n constructor(todos) {\n set(this, 'todos', todos);\n }\n \n // using standard ascending sort\n todosSorting = ['name'];\n @sort('todos', 'todosSorting') sortedTodos;\n \n // using descending sort\n todosSortingDesc = ['name:desc'];\n @sort('todos', 'todosSortingDesc') sortedTodosDesc;\n }\n \n let todoList = new ToDoList([\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n ]);\n \n todoList.sortedTodos; // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\n todoList.sortedTodosDesc; // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n ```\n \n @method sort\n @for @ember/object/computed\n @static\n @param {String} itemsKey\n @param {String|Function|Array} sortDefinitionOrDependentKeys The key of the sort definition (an array of sort properties),\n the sort function, or an array of additional dependent keys\n @param {Function?} sortDefinition the sort function (when used with additional dependent keys)\n @return {ComputedProperty} computes a new sorted array based on the sort\n property array or callback function\n @public\n */\n\n\n function sort(itemsKey, additionalDependentKeys, sortDefinition) {\n (true && !(!(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))) && (0, _debug.assert)('You attempted to use @sort as a decorator directly, but it requires atleast an `itemsKey` parameter', !(0, _metal.isElementDescriptor)(Array.prototype.slice.call(arguments))));\n\n if (true\n /* DEBUG */\n ) {\n var argumentsValid = false;\n\n if (arguments.length === 2) {\n argumentsValid = typeof itemsKey === 'string' && (typeof additionalDependentKeys === 'string' || typeof additionalDependentKeys === 'function');\n }\n\n if (arguments.length === 3) {\n argumentsValid = typeof itemsKey === 'string' && Array.isArray(additionalDependentKeys) && typeof sortDefinition === 'function';\n }\n\n (true && !(argumentsValid) && (0, _debug.assert)('`computed.sort` 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\n if (sortDefinition === undefined && !Array.isArray(additionalDependentKeys)) {\n sortDefinition = additionalDependentKeys;\n additionalDependentKeys = [];\n }\n\n if (typeof sortDefinition === 'function') {\n return customSort(itemsKey, additionalDependentKeys, sortDefinition);\n } else {\n return propertySort(itemsKey, sortDefinition);\n }\n }\n\n function 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 } // This one needs to dynamically set up and tear down observers on the itemsKey\n // depending on the sortProperties\n\n\n function propertySort(itemsKey, sortPropertiesKey) {\n var cp = (0, _metal.autoComputed)(function (key) {\n var sortProperties = (0, _metal.get)(this, sortPropertiesKey);\n (true && !((0, _runtime.isArray)(sortProperties) && sortProperties.every(s => typeof s === 'string')) && (0, _debug.assert)(`The sort definition for '${key}' on ${this} must be a function or an array of strings`, (0, _runtime.isArray)(sortProperties) && sortProperties.every(s => typeof s === 'string')));\n var itemsKeyIsAtThis = itemsKey === '@this';\n var normalizedSortProperties = normalizeSortProperties(sortProperties);\n var items = itemsKeyIsAtThis ? this : (0, _metal.get)(this, itemsKey);\n\n if (!(0, _runtime.isArray)(items)) {\n return (0, _runtime.A)();\n }\n\n if (normalizedSortProperties.length === 0) {\n return (0, _runtime.A)(items.slice());\n } else {\n return sortByNormalizedSortProperties(items, normalizedSortProperties);\n }\n }).readOnly();\n return cp;\n }\n\n function normalizeSortProperties(sortProperties) {\n return sortProperties.map(p => {\n var [prop, direction] = p.split(':');\n direction = direction || 'asc';\n return [prop, direction];\n });\n }\n\n function sortByNormalizedSortProperties(items, normalizedSortProperties) {\n return (0, _runtime.A)(items.slice().sort((itemA, itemB) => {\n for (var i = 0; i < normalizedSortProperties.length; i++) {\n var [prop, direction] = normalizedSortProperties[i];\n var result = (0, _runtime.compare)((0, _metal.get)(itemA, prop), (0, _metal.get)(itemB, prop));\n\n if (result !== 0) {\n return direction === 'desc' ? -1 * result : result;\n }\n }\n\n return 0;\n }));\n }\n});","define(\"@ember/polyfills/index\", [\"exports\", \"@ember/deprecated-features\", \"@ember/polyfills/lib/merge\", \"@ember/polyfills/lib/assign\", \"@ember/polyfills/lib/weak_set\"], function (_exports, _deprecatedFeatures, _merge, _assign, _weak_set) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"assign\", {\n enumerable: true,\n get: function () {\n return _assign.default;\n }\n });\n Object.defineProperty(_exports, \"assignPolyfill\", {\n enumerable: true,\n get: function () {\n return _assign.assign;\n }\n });\n Object.defineProperty(_exports, \"_WeakSet\", {\n enumerable: true,\n get: function () {\n return _weak_set.default;\n }\n });\n _exports.merge = void 0;\n var merge = _deprecatedFeatures.MERGE ? _merge.default : undefined; // Export `assignPolyfill` for testing\n\n _exports.merge = merge;\n});","define(\"@ember/polyfills/lib/assign\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.assign = assign;\n _exports.default = void 0;\n\n /**\n @module @ember/polyfills\n */\n\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 */\n function assign(target) {\n for (var i = 1; i < arguments.length; i++) {\n var arg = arguments[i];\n\n if (!arg) {\n continue;\n }\n\n var updates = Object.keys(arg);\n\n for (var _i = 0; _i < updates.length; _i++) {\n var prop = updates[_i];\n target[prop] = arg[prop];\n }\n }\n\n return target;\n } // Note: We use the bracket notation so\n // that the babel plugin does not\n // transform it.\n // https://www.npmjs.com/package/babel-plugin-transform-object-assign\n\n\n var {\n assign: _assign\n } = Object;\n\n var _default = _assign || assign;\n\n _exports.default = _default;\n});","define(\"@ember/polyfills/lib/merge\", [\"exports\", \"@ember/debug\"], function (_exports, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = merge;\n\n /**\n Merge the contents of two objects together into the first object.\n \n ```javascript\n import { merge } from '@ember/polyfills';\n \n merge({ first: 'Tom' }, { last: 'Dale' }); // { first: 'Tom', last: 'Dale' }\n var a = { first: 'Yehuda' };\n var b = { last: 'Katz' };\n merge(a, b); // a == { first: 'Yehuda', last: 'Katz' }, b == { last: 'Katz' }\n ```\n \n @method merge\n @static\n @for @ember/polyfills\n @param {Object} original The object to merge into\n @param {Object} updates The object to copy properties from\n @return {Object}\n @deprecated\n @public\n */\n function merge(original, updates) {\n (true && !(false) && (0, _debug.deprecate)('Use of `merge` has been deprecated. Please use `assign` instead.', false, {\n id: 'ember-polyfills.deprecate-merge',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x/#toc_ember-polyfills-deprecate-merge'\n }));\n\n if (updates === null || typeof updates !== 'object') {\n return original;\n }\n\n var props = Object.keys(updates);\n var prop;\n\n for (var i = 0; i < props.length; i++) {\n prop = props[i];\n original[prop] = updates[prop];\n }\n\n return original;\n }\n});","define(\"@ember/polyfills/lib/weak_set\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /* globals WeakSet */\n var _default = 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\n _exports.default = _default;\n});","define(\"@ember/runloop/index\", [\"exports\", \"@ember/debug\", \"@ember/-internals/error-handling\", \"@ember/-internals/metal\", \"backburner\"], function (_exports, _debug, _errorHandling, _metal, _backburner) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.getCurrentRunLoop = getCurrentRunLoop;\n _exports.run = run;\n _exports.join = join;\n _exports.begin = begin;\n _exports.end = end;\n _exports.schedule = schedule;\n _exports.hasScheduledTimers = hasScheduledTimers;\n _exports.cancelTimers = cancelTimers;\n _exports.later = later;\n _exports.once = once;\n _exports.scheduleOnce = scheduleOnce;\n _exports.next = next;\n _exports.cancel = cancel;\n _exports.debounce = debounce;\n _exports.throttle = throttle;\n _exports.bind = _exports._globalsRun = _exports.backburner = _exports.queues = _exports._rsvpErrorQueue = void 0;\n var currentRunLoop = null;\n\n function getCurrentRunLoop() {\n return currentRunLoop;\n }\n\n function onBegin(current) {\n currentRunLoop = current;\n }\n\n function onEnd(current, next) {\n currentRunLoop = next;\n (0, _metal.flushAsyncObservers)();\n }\n\n function flush(queueName, next) {\n if (queueName === 'render' || queueName === _rsvpErrorQueue) {\n (0, _metal.flushAsyncObservers)();\n }\n\n next();\n }\n\n var _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 */\n\n\n _exports._rsvpErrorQueue = _rsvpErrorQueue;\n var queues = ['actions', // 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', // used to re-throw unhandled RSVP rejection errors specifically in this\n // position to avoid breaking anything rendered in the other sections\n _rsvpErrorQueue];\n _exports.queues = queues;\n var backburner = new _backburner.default(queues, {\n defaultQueue: 'actions',\n onBegin,\n onEnd,\n onErrorTarget: _errorHandling.onErrorTarget,\n onErrorMethod: 'onerror',\n flush\n });\n /**\n @module @ember/runloop\n */\n // ..........................................................\n // run - this is ideally the only public API the dev sees\n //\n\n /**\n Runs the passed target and method inside of a RunLoop, ensuring any\n deferred actions including bindings and views updates are flushed at the\n end.\n \n Normally you should not need to invoke this method yourself. However if\n you are implementing raw event handlers when interfacing with other\n libraries or plugins, you should probably wrap all of your code inside this\n call.\n \n ```javascript\n import { run } from '@ember/runloop';\n \n run(function() {\n // code to be executed within a RunLoop\n });\n ```\n @method run\n @for @ember/runloop\n @static\n @param {Object} [target] target of method to call\n @param {Function|String} method Method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.\n @param {Object} [args*] Any additional arguments you wish to pass to the method.\n @return {Object} return value from invoking the passed function.\n @public\n */\n\n _exports.backburner = backburner;\n\n function run() {\n return backburner.run(...arguments);\n } // used for the Ember.run global only\n\n\n var _globalsRun = run.bind(null);\n /**\n If no run-loop is present, it creates a new one. If a run loop is\n present it will queue itself to run on the existing run-loops action\n queue.\n \n Please note: This is not for normal usage, and should be used sparingly.\n \n If invoked when not within a run loop:\n \n ```javascript\n import { join } from '@ember/runloop';\n \n join(function() {\n // creates a new run-loop\n });\n ```\n \n Alternatively, if called within an existing run loop:\n \n ```javascript\n import { run, join } from '@ember/runloop';\n \n run(function() {\n // creates a new run-loop\n \n join(function() {\n // joins with the existing run-loop, and queues for invocation on\n // the existing run-loops action queue.\n });\n });\n ```\n \n @method join\n @static\n @for @ember/runloop\n @param {Object} [target] target of method to call\n @param {Function|String} method Method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.\n @param {Object} [args*] Any additional arguments you wish to pass to the method.\n @return {Object} Return value from invoking the passed function. Please note,\n when called within an existing loop, no return value is possible.\n @public\n */\n\n\n _exports._globalsRun = _globalsRun;\n\n function join() {\n return backburner.join(...arguments);\n }\n /**\n Allows you to specify which context to call the specified function in while\n adding the execution of that function to the Ember run loop. This ability\n makes this method a great way to asynchronously integrate third-party libraries\n into your Ember application.\n \n `bind` takes two main arguments, the desired context and the function to\n invoke in that context. Any additional arguments will be supplied as arguments\n to the function that is passed in.\n \n Let's use the creation of a TinyMCE component as an example. Currently,\n TinyMCE provides a setup configuration option we can use to do some processing\n after the TinyMCE instance is initialized but before it is actually rendered.\n We can use that setup option to do some additional setup for our component.\n The component itself could look something like the following:\n \n ```app/components/rich-text-editor.js\n import Component from '@ember/component';\n import { on } from '@ember/object/evented';\n import { bind } from '@ember/runloop';\n \n export default Component.extend({\n initializeTinyMCE: on('didInsertElement', function() {\n tinymce.init({\n selector: '#' + this.$().prop('id'),\n setup: bind(this, this.setupEditor)\n });\n }),\n \n didInsertElement() {\n tinymce.init({\n selector: '#' + this.$().prop('id'),\n setup: bind(this, this.setupEditor)\n });\n }\n \n setupEditor(editor) {\n this.set('editor', editor);\n \n editor.on('change', function() {\n console.log('content changed!');\n });\n }\n });\n ```\n \n In this example, we use `bind` to bind the setupEditor method to the\n context of the RichTextEditor component and to have the invocation of that\n method be safely handled and executed by the Ember run loop.\n \n @method bind\n @static\n @for @ember/runloop\n @param {Object} [target] target of method to call\n @param {Function|String} method Method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.\n @param {Object} [args*] Any additional arguments you wish to pass to the method.\n @return {Function} returns a new function that will always have a particular context\n @since 1.4.0\n @public\n */\n\n\n var bind = (...curried) => {\n (true && !(function (methodOrTarget, methodOrArg) {\n // Applies the same logic as backburner parseArgs for detecting if a method\n // is actually being passed.\n var length = arguments.length;\n\n if (length === 0) {\n return false;\n } else if (length === 1) {\n return typeof methodOrTarget === 'function';\n } else {\n var type = typeof methodOrArg;\n return type === 'function' || // second argument is a function\n methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || // second argument is the name of a method in first argument\n typeof methodOrTarget === 'function' //first argument is a function\n ;\n }\n }(...curried)) && (0, _debug.assert)('could not find a suitable method to bind', function (methodOrTarget, methodOrArg) {\n var length = arguments.length;\n\n if (length === 0) {\n return false;\n } else if (length === 1) {\n return typeof methodOrTarget === 'function';\n } else {\n var type = typeof methodOrArg;\n return type === 'function' || methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || typeof methodOrTarget === 'function';\n }\n }(...curried)));\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 */\n\n\n _exports.bind = bind;\n\n 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 */\n\n\n function end() {\n backburner.end();\n }\n /**\n Adds the passed target/method and any optional arguments to the named\n queue to be executed at the end of the RunLoop. If you have not already\n started a RunLoop when calling this method one will be started for you\n automatically.\n \n At the end of a RunLoop, any methods scheduled in this way will be invoked.\n Methods will be invoked in an order matching the named queues defined in\n the `queues` property.\n \n ```javascript\n import { schedule } from '@ember/runloop';\n \n schedule('afterRender', this, function() {\n // this will be executed in the 'afterRender' queue\n console.log('scheduled on afterRender queue');\n });\n \n schedule('actions', this, function() {\n // this will be executed in the 'actions' queue\n console.log('scheduled on actions queue');\n });\n \n // Note the functions will be run in order based on the run queues order.\n // Output would be:\n // scheduled on actions queue\n // scheduled on afterRender queue\n ```\n \n @method schedule\n @static\n @for @ember/runloop\n @param {String} queue The name of the queue to schedule against. Default queues is 'actions'\n @param {Object} [target] target object to use as the context when invoking a method.\n @param {String|Function} method The method to invoke. If you pass a string it\n will be resolved on the target object at the time the scheduled item is\n invoked allowing you to change the target function.\n @param {Object} [arguments*] Optional arguments to be passed to the queued method.\n @return {*} Timer information for use in canceling, see `cancel`.\n @public\n */\n\n\n function schedule()\n /* queue, target, method */\n {\n return backburner.schedule(...arguments);\n } // Used by global test teardown\n\n\n function hasScheduledTimers() {\n return backburner.hasTimers();\n } // Used by global test teardown\n\n\n function cancelTimers() {\n backburner.cancelTimers();\n }\n /**\n Invokes the passed target/method and optional arguments after a specified\n period of time. The last parameter of this method must always be a number\n of milliseconds.\n \n You should use this method whenever you need to run some action after a\n period of time instead of using `setTimeout()`. This method will ensure that\n items that expire during the same script execution cycle all execute\n together, which is often more efficient than using a real setTimeout.\n \n ```javascript\n import { later } from '@ember/runloop';\n \n later(myContext, function() {\n // code here will execute within a RunLoop in about 500ms with this == myContext\n }, 500);\n ```\n \n @method later\n @static\n @for @ember/runloop\n @param {Object} [target] target of method to invoke\n @param {Function|String} method The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.\n @param {Object} [args*] Optional arguments to pass to the timeout.\n @param {Number} wait Number of milliseconds to wait.\n @return {*} Timer information for use in canceling, see `cancel`.\n @public\n */\n\n\n function later()\n /*target, method*/\n {\n return backburner.later(...arguments);\n }\n /**\n Schedule a function to run one time during the current RunLoop. This is equivalent\n to calling `scheduleOnce` with the \"actions\" queue.\n \n @method once\n @static\n @for @ember/runloop\n @param {Object} [target] The target of the method to invoke.\n @param {Function|String} method The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.\n @param {Object} [args*] Optional arguments to pass to the timeout.\n @return {Object} Timer information for use in canceling, see `cancel`.\n @public\n */\n\n\n function once(...args) {\n args.unshift('actions');\n return backburner.scheduleOnce(...args);\n }\n /**\n Schedules a function to run one time in a given queue of the current RunLoop.\n Calling this method with the same queue/target/method combination will have\n no effect (past the initial call).\n \n Note that although you can pass optional arguments these will not be\n considered when looking for duplicates. New arguments will replace previous\n calls.\n \n ```javascript\n import { run, scheduleOnce } from '@ember/runloop';\n \n function sayHi() {\n console.log('hi');\n }\n \n run(function() {\n scheduleOnce('afterRender', myContext, sayHi);\n scheduleOnce('afterRender', myContext, sayHi);\n // sayHi will only be executed once, in the afterRender queue of the RunLoop\n });\n ```\n \n Also note that for `scheduleOnce` to prevent additional calls, you need to\n pass the same function instance. The following case works as expected:\n \n ```javascript\n function log() {\n console.log('Logging only once');\n }\n \n function scheduleIt() {\n scheduleOnce('actions', myContext, log);\n }\n \n scheduleIt();\n scheduleIt();\n ```\n \n But this other case will schedule the function multiple times:\n \n ```javascript\n import { scheduleOnce } from '@ember/runloop';\n \n function scheduleIt() {\n scheduleOnce('actions', myContext, function() {\n console.log('Closure');\n });\n }\n \n scheduleIt();\n scheduleIt();\n \n // \"Closure\" will print twice, even though we're using `scheduleOnce`,\n // because the function we pass to it won't match the\n // previously scheduled operation.\n ```\n \n Available queues, and their order, can be found at `queues`\n \n @method scheduleOnce\n @static\n @for @ember/runloop\n @param {String} [queue] The name of the queue to schedule against. Default queues is 'actions'.\n @param {Object} [target] The target of the method to invoke.\n @param {Function|String} method The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.\n @param {Object} [args*] Optional arguments to pass to the timeout.\n @return {Object} Timer information for use in canceling, see `cancel`.\n @public\n */\n\n\n function scheduleOnce()\n /* queue, target, method*/\n {\n return backburner.scheduleOnce(...arguments);\n }\n /**\n Schedules an item to run from within a separate run loop, after\n control has been returned to the system. This is equivalent to calling\n `later` with a wait time of 1ms.\n \n ```javascript\n import { next } from '@ember/runloop';\n \n next(myContext, function() {\n // code to be executed in the next run loop,\n // which will be scheduled after the current one\n });\n ```\n \n Multiple operations scheduled with `next` will coalesce\n into the same later run loop, along with any other operations\n scheduled by `later` that expire right around the same\n time that `next` operations will fire.\n \n Note that there are often alternatives to using `next`.\n For instance, if you'd like to schedule an operation to happen\n after all DOM element operations have completed within the current\n run loop, you can make use of the `afterRender` run loop queue (added\n by the `ember-views` package, along with the preceding `render` queue\n where all the DOM element operations happen).\n \n Example:\n \n ```app/components/my-component.js\n import Component from '@ember/component';\n import { scheduleOnce } from '@ember/runloop';\n \n export Component.extend({\n didInsertElement() {\n this._super(...arguments);\n scheduleOnce('afterRender', this, 'processChildElements');\n },\n \n processChildElements() {\n // ... do something with component's child component\n // elements after they've finished rendering, which\n // can't be done within this component's\n // `didInsertElement` hook because that gets run\n // before the child elements have been added to the DOM.\n }\n });\n ```\n \n One benefit of the above approach compared to using `next` is\n that you will be able to perform DOM/CSS operations before unprocessed\n elements are rendered to the screen, which may prevent flickering or\n other artifacts caused by delaying processing until after rendering.\n \n The other major benefit to the above approach is that `next`\n introduces an element of non-determinism, which can make things much\n harder to test, due to its reliance on `setTimeout`; it's much harder\n to guarantee the order of scheduled operations when they are scheduled\n outside of the current run loop, i.e. with `next`.\n \n @method next\n @static\n @for @ember/runloop\n @param {Object} [target] target of method to invoke\n @param {Function|String} method The method to invoke.\n If you pass a string it will be resolved on the\n target at the time the method is invoked.\n @param {Object} [args*] Optional arguments to pass to the timeout.\n @return {Object} Timer information for use in canceling, see `cancel`.\n @public\n */\n\n\n function next(...args) {\n args.push(1);\n return backburner.later(...args);\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 */\n\n\n function cancel(timer) {\n return backburner.cancel(timer);\n }\n /**\n Delay calling the target method until the debounce period has elapsed\n with no additional debounce calls. If `debounce` is called again before\n the specified time has elapsed, the timer is reset and the entire period\n must pass again before the target method is called.\n \n This method should be used when an event may be called multiple times\n but the action should only be called once when the event is done firing.\n A common example is for scroll events where you only want updates to\n happen once scrolling has ceased.\n \n ```javascript\n import { debounce } from '@ember/runloop';\n \n function whoRan() {\n console.log(this.name + ' ran.');\n }\n \n let myContext = { name: 'debounce' };\n \n debounce(myContext, whoRan, 150);\n \n // less than 150ms passes\n debounce(myContext, whoRan, 150);\n \n // 150ms passes\n // whoRan is invoked with context myContext\n // console logs 'debounce ran.' one time.\n ```\n \n Immediate allows you to run the function immediately, but debounce\n other calls for this function until the wait time has elapsed. If\n `debounce` is called again before the specified time has elapsed,\n the timer is reset and the entire period must pass again before\n the method can be called again.\n \n ```javascript\n import { debounce } from '@ember/runloop';\n \n function whoRan() {\n console.log(this.name + ' ran.');\n }\n \n let myContext = { name: 'debounce' };\n \n debounce(myContext, whoRan, 150, true);\n \n // console logs 'debounce ran.' one time immediately.\n // 100ms passes\n debounce(myContext, whoRan, 150, true);\n \n // 150ms passes and nothing else is logged to the console and\n // the debouncee is no longer being watched\n debounce(myContext, whoRan, 150, true);\n \n // console logs 'debounce ran.' one time immediately.\n // 150ms passes and nothing else is logged to the console and\n // the debouncee is no longer being watched\n ```\n \n @method debounce\n @static\n @for @ember/runloop\n @param {Object} [target] target of method to invoke\n @param {Function|String} method The method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.\n @param {Object} [args*] Optional arguments to pass to the timeout.\n @param {Number} wait Number of milliseconds to wait.\n @param {Boolean} immediate Trigger the function on the leading instead\n of the trailing edge of the wait interval. Defaults to false.\n @return {Array} Timer information for use in canceling, see `cancel`.\n @public\n */\n\n\n function debounce() {\n return backburner.debounce(...arguments);\n }\n /**\n Ensure that the target method is never called more frequently than\n the specified spacing period. The target method is called immediately.\n \n ```javascript\n import { throttle } from '@ember/runloop';\n \n function whoRan() {\n console.log(this.name + ' ran.');\n }\n \n let myContext = { name: 'throttle' };\n \n throttle(myContext, whoRan, 150);\n // whoRan is invoked with context myContext\n // console logs 'throttle ran.'\n \n // 50ms passes\n throttle(myContext, whoRan, 150);\n \n // 50ms passes\n throttle(myContext, whoRan, 150);\n \n // 150ms passes\n throttle(myContext, whoRan, 150);\n // whoRan is invoked with context myContext\n // console logs 'throttle ran.'\n ```\n \n @method throttle\n @static\n @for @ember/runloop\n @param {Object} [target] target of method to invoke\n @param {Function|String} method The method to invoke.\n May be a function or a string. If you pass a string\n then it will be looked up on the passed target.\n @param {Object} [args*] Optional arguments to pass to the timeout.\n @param {Number} spacing Number of milliseconds to space out requests.\n @param {Boolean} immediate Trigger the function on the leading instead\n of the trailing edge of the wait interval. Defaults to true.\n @return {Array} Timer information for use in canceling, see `cancel`.\n @public\n */\n\n\n function throttle() {\n return backburner.throttle(...arguments);\n }\n});","define(\"@ember/service/index\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/-internals/metal\"], function (_exports, _runtime, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.inject = inject;\n _exports.default = void 0;\n\n /**\n @module @ember/service\n @public\n */\n\n /**\n Creates a property that lazily looks up a service in the container. There are\n no restrictions as to what objects a service can be injected into.\n \n Example:\n \n ```app/routes/application.js\n import Route from '@ember/routing/route';\n import { inject as service } from '@ember/service';\n \n export default class ApplicationRoute extends Route {\n @service('auth') authManager;\n \n model() {\n return this.authManager.findCurrentUser();\n }\n }\n ```\n \n Classic Class Example:\n \n ```app/routes/application.js\n import Route from '@ember/routing/route';\n import { inject as service } from '@ember/service';\n \n export default Route.extend({\n authManager: service('auth'),\n \n model() {\n return this.get('authManager').findCurrentUser();\n }\n });\n ```\n \n This example will create an `authManager` property on the application route\n that looks up the `auth` service in the container, making it easily accessible\n in the `model` hook.\n \n @method inject\n @static\n @since 1.10.0\n @for @ember/service\n @param {String} name (optional) name of the service to inject, defaults to\n the property's name\n @return {ComputedDecorator} injection decorator instance\n @public\n */\n function inject() {\n return (0, _metal.inject)('service', ...arguments);\n }\n /**\n @class Service\n @extends EmberObject\n @since 1.10.0\n @public\n */\n\n\n var Service = _runtime.FrameworkObject.extend();\n\n Service.reopenClass({\n isServiceFactory: true\n });\n var _default = Service;\n _exports.default = _default;\n});","define(\"@ember/string/index\", [\"exports\", \"@ember/string/lib/string_registry\", \"@ember/-internals/environment\", \"@ember/-internals/utils\"], function (_exports, _string_registry, _environment, _utils) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.loc = loc;\n _exports.w = w;\n _exports.decamelize = decamelize;\n _exports.dasherize = dasherize;\n _exports.camelize = camelize;\n _exports.classify = classify;\n _exports.underscore = underscore;\n _exports.capitalize = capitalize;\n Object.defineProperty(_exports, \"_getStrings\", {\n enumerable: true,\n get: function () {\n return _string_registry.getStrings;\n }\n });\n Object.defineProperty(_exports, \"_setStrings\", {\n enumerable: true,\n get: function () {\n return _string_registry.setStrings;\n }\n });\n\n /**\n @module @ember/string\n */\n var STRING_DASHERIZE_REGEXP = /[ _]/g;\n var STRING_DASHERIZE_CACHE = new _utils.Cache(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\n var STRING_CAMELIZE_REGEXP_1 = /(-|_|\\.|\\s)+(.)?/g;\n var STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\n var CAMELIZE_CACHE = new _utils.Cache(1000, key => key.replace(STRING_CAMELIZE_REGEXP_1, (_match, _separator, chr) => chr ? chr.toUpperCase() : '').replace(STRING_CAMELIZE_REGEXP_2, (match\n /*, separator, chr */\n ) => match.toLowerCase()));\n var STRING_CLASSIFY_REGEXP_1 = /^(-|_)+(.)?/;\n var STRING_CLASSIFY_REGEXP_2 = /(.)(-|_|\\.|\\s)+(.)?/g;\n var STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n var CLASSIFY_CACHE = new _utils.Cache(1000, str => {\n var replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n\n var replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n\n var parts = str.split('/');\n\n for (var 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\n return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match\n /*, separator, chr */\n ) => match.toUpperCase());\n });\n var STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\n var STRING_UNDERSCORE_REGEXP_2 = /-|\\s+/g;\n var UNDERSCORE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase());\n var STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n var CAPITALIZE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_CAPITALIZE_REGEXP, (match\n /*, separator, chr */\n ) => match.toUpperCase()));\n var STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n var DECAMELIZE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase());\n /**\n Defines string helper methods including string formatting and localization.\n Unless `EmberENV.EXTEND_PROTOTYPES.String` is `false` these methods will also be\n added to the `String.prototype` as well.\n \n @class String\n @public\n */\n\n function _fmt(str, formats) {\n // first, replace any ORDERED replacements.\n var idx = 0; // the current index for non-numerical replacements\n\n return str.replace(/%@([0-9]+)?/g, (_s, argIndex) => {\n var i = argIndex ? parseInt(argIndex, 10) - 1 : idx++;\n var r = i < formats.length ? formats[i] : undefined;\n return typeof r === 'string' ? r : r === null ? '(null)' : r === undefined ? '' : String(r);\n });\n }\n /**\n Formats the passed string, but first looks up the string in the localized\n strings hash. This is a convenient way to localize text.\n \n Note that it is traditional but not required to prefix localized string\n keys with an underscore or other character so you can easily identify\n localized strings.\n \n ```javascript\n import { loc } from '@ember/string';\n \n Ember.STRINGS = {\n '_Hello World': 'Bonjour le monde',\n '_Hello %@ %@': 'Bonjour %@ %@'\n };\n \n loc(\"_Hello World\"); // 'Bonjour le monde';\n loc(\"_Hello %@ %@\", [\"John\", \"Smith\"]); // \"Bonjour John Smith\";\n ```\n \n @method loc\n @param {String} str The string to format\n @param {Array} formats Optional array of parameters to interpolate into string.\n @return {String} formatted string\n @public\n */\n\n\n function loc(str, formats) {\n if (!Array.isArray(formats) || arguments.length > 2) {\n formats = Array.prototype.slice.call(arguments, 1);\n }\n\n str = (0, _string_registry.getString)(str) || str;\n return _fmt(str, formats);\n }\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\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\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\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\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\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\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\n function capitalize(str) {\n return CAPITALIZE_CACHE.get(str);\n }\n\n if (_environment.ENV.EXTEND_PROTOTYPES.String) {\n Object.defineProperties(String.prototype, {\n /**\n See [String.w](/ember/release/classes/String/methods/w?anchor=w).\n @method w\n @for @ember/string\n @static\n @private\n */\n w: {\n configurable: true,\n enumerable: false,\n writeable: true,\n\n value() {\n return w(this);\n }\n\n },\n\n /**\n See [String.loc](/ember/release/classes/String/methods/loc?anchor=loc).\n @method loc\n @for @ember/string\n @static\n @private\n */\n loc: {\n configurable: true,\n enumerable: false,\n writeable: true,\n\n value(...args) {\n return loc(this, args);\n }\n\n },\n\n /**\n See [String.camelize](/ember/release/classes/String/methods/camelize?anchor=camelize).\n @method camelize\n @for @ember/string\n @static\n @private\n */\n camelize: {\n configurable: true,\n enumerable: false,\n writeable: true,\n\n value() {\n return camelize(this);\n }\n\n },\n\n /**\n See [String.decamelize](/ember/release/classes/String/methods/decamelize?anchor=decamelize).\n @method decamelize\n @for @ember/string\n @static\n @private\n */\n decamelize: {\n configurable: true,\n enumerable: false,\n writeable: true,\n\n value() {\n return decamelize(this);\n }\n\n },\n\n /**\n See [String.dasherize](/ember/release/classes/String/methods/dasherize?anchor=dasherize).\n @method dasherize\n @for @ember/string\n @static\n @private\n */\n dasherize: {\n configurable: true,\n enumerable: false,\n writeable: true,\n\n value() {\n return dasherize(this);\n }\n\n },\n\n /**\n See [String.underscore](/ember/release/classes/String/methods/underscore?anchor=underscore).\n @method underscore\n @for @ember/string\n @static\n @private\n */\n underscore: {\n configurable: true,\n enumerable: false,\n writeable: true,\n\n value() {\n return underscore(this);\n }\n\n },\n\n /**\n See [String.classify](/ember/release/classes/String/methods/classify?anchor=classify).\n @method classify\n @for @ember/string\n @static\n @private\n */\n classify: {\n configurable: true,\n enumerable: false,\n writeable: true,\n\n value() {\n return classify(this);\n }\n\n },\n\n /**\n See [String.capitalize](/ember/release/classes/String/methods/capitalize?anchor=capitalize).\n @method capitalize\n @for @ember/string\n @static\n @private\n */\n capitalize: {\n configurable: true,\n enumerable: false,\n writeable: true,\n\n value() {\n return capitalize(this);\n }\n\n }\n });\n }\n});","define(\"@ember/string/lib/string_registry\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.setStrings = setStrings;\n _exports.getStrings = getStrings;\n _exports.getString = getString;\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 var STRINGS = {};\n\n function setStrings(strings) {\n STRINGS = strings;\n }\n\n function getStrings() {\n return STRINGS;\n }\n\n function getString(name) {\n return STRINGS[name];\n }\n});","define(\"@glimmer/encoder\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.InstructionEncoderImpl = void 0;\n\n class 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 var first = type | machine | arguments.length - 2 << 8\n /* ARG_SHIFT */\n ;\n this.buffer.push(first);\n\n for (var i = 2; i < arguments.length; i++) {\n var op = arguments[i];\n\n if (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\n _exports.InstructionEncoderImpl = InstructionEncoderImpl;\n});","define(\"@glimmer/env\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.CI = _exports.DEBUG = void 0;\n var DEBUG = false;\n _exports.DEBUG = DEBUG;\n var CI = false;\n _exports.CI = CI;\n});","define(\"@glimmer/low-level\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.Stack = _exports.Storage = void 0;\n\n class Storage {\n constructor() {\n this.array = [];\n this.next = 0;\n }\n\n add(element) {\n var {\n next: slot,\n array\n } = this;\n\n if (slot === array.length) {\n this.next++;\n } else {\n var 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\n _exports.Storage = Storage;\n\n class 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\n _exports.Stack = Stack;\n});","define(\"@glimmer/node\", [\"exports\", \"@glimmer/runtime\", \"@simple-dom/document\"], function (_exports, _runtime, _document) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.serializeBuilder = serializeBuilder;\n _exports.NodeDOMTreeConstruction = void 0;\n\n class NodeDOMTreeConstruction extends _runtime.DOMTreeConstruction {\n constructor(doc) {\n super(doc || (0, _document.default)());\n } // override to prevent usage of `this.document` until after the constructor\n\n\n setupUselessElement() {}\n\n insertHTMLBefore(parent, reference, html) {\n var raw = this.document.createRawHTMLSection(html);\n parent.insertBefore(raw, reference);\n return new _runtime.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\n _exports.NodeDOMTreeConstruction = NodeDOMTreeConstruction;\n var TEXT_NODE = 3;\n var NEEDS_EXTRA_CLOSE = new WeakMap();\n\n function currentNode(cursor) {\n var {\n element,\n nextSibling\n } = cursor;\n\n if (nextSibling === null) {\n return element.lastChild;\n } else {\n return nextSibling.previousSibling;\n }\n }\n\n class SerializeBuilder extends _runtime.NewElementBuilder {\n constructor() {\n super(...arguments);\n this.serializeBlockDepth = 0;\n }\n\n __openBlock() {\n var {\n tagName\n } = this.element;\n\n if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n var depth = this.serializeBlockDepth++;\n\n this.__appendComment(`%+b:${depth}%`);\n }\n\n super.__openBlock();\n }\n\n __closeBlock() {\n var {\n tagName\n } = this.element;\n\n super.__closeBlock();\n\n if (tagName !== 'TITLE' && tagName !== 'SCRIPT' && tagName !== 'STYLE') {\n var depth = --this.serializeBlockDepth;\n\n this.__appendComment(`%-b:${depth}%`);\n }\n }\n\n __appendHTML(html) {\n var {\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 var first = this.__appendComment('%glmr%');\n\n if (tagName === 'TABLE') {\n var openIndex = html.indexOf('<');\n\n if (openIndex > -1) {\n var 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 var last = this.__appendComment('%glmr%');\n\n return new _runtime.ConcreteBounds(this.element, first, last);\n }\n\n __appendText(string) {\n var {\n tagName\n } = this.element;\n var 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 var {\n dom\n } = this;\n var 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\n function serializeBuilder(env, cursor) {\n return SerializeBuilder.forInitialRender(env, cursor);\n }\n});","define(\"@glimmer/opcode-compiler\", [\"exports\", \"@glimmer/vm\", \"@glimmer/util\", \"@glimmer/program\", \"@glimmer/encoder\"], function (_exports, _vm, _util, _program, _encoder) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.compileStatements = compileStatements;\n _exports.compilable = compilable;\n _exports.staticComponent = StaticComponent;\n _exports.invokeStaticBlockWithStack = InvokeStaticBlockWithStack;\n _exports.invokeStaticBlock = InvokeStaticBlock;\n _exports.compileStd = compileStd;\n _exports.meta = meta;\n _exports.templateFactory = templateFactory;\n _exports.Component = Component;\n _exports.resolveLayoutForTag = resolveLayoutForTag;\n _exports.syntaxCompilationContext = syntaxCompilationContext;\n _exports.Context = Context;\n _exports.JitContext = JitContext;\n _exports.AotContext = AotContext;\n _exports.templateCompilationContext = templateCompilationContext;\n _exports.DefaultCompileTimeResolverDelegate = _exports.MINIMAL_CAPABILITIES = _exports.DEFAULT_CAPABILITIES = _exports.JitProgramCompilationContext = _exports.ProgramCompilationContext = _exports.EMPTY_BLOCKS = _exports.WrappedBuilder = _exports.PartialDefinitionImpl = _exports.StdLib = _exports.debugCompiler = _exports.NONE = _exports.UNHANDLED = _exports.MacrosImpl = void 0;\n\n function arr(value) {\n return {\n type: 'array',\n value\n };\n }\n\n function strArray(value) {\n return {\n type: 'string-array',\n value\n };\n }\n\n function serializable(value) {\n return {\n type: 'serializable',\n value\n };\n }\n\n function templateMeta(value) {\n return {\n type: 'template-meta',\n value\n };\n }\n\n function other(value) {\n return {\n type: 'other',\n value\n };\n }\n\n function label(value) {\n return {\n type: 'label',\n value\n };\n }\n\n function immediate(value) {\n return {\n type: 'immediate',\n value\n };\n }\n\n function prim(value) {\n return {\n type: 'primitive',\n value\n };\n }\n\n var 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 };\n _exports.DEFAULT_CAPABILITIES = DEFAULT_CAPABILITIES;\n var 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 };\n _exports.MINIMAL_CAPABILITIES = MINIMAL_CAPABILITIES;\n\n class DefaultCompileTimeResolverDelegate {\n constructor(inner) {\n this.inner = inner;\n }\n\n lookupHelper(name, referrer) {\n if (this.inner.lookupHelper) {\n var helper = this.inner.lookupHelper(name, referrer);\n\n if (helper === undefined) {\n throw new Error(`Unexpected helper (${name} from ${JSON.stringify(referrer)}) (lookupHelper returned undefined)`);\n }\n\n return helper;\n } else {\n throw new Error(`Can't compile global helper invocations without an implementation of lookupHelper`);\n }\n }\n\n lookupModifier(name, referrer) {\n if (this.inner.lookupModifier) {\n var modifier = this.inner.lookupModifier(name, referrer);\n\n if (modifier === undefined) {\n throw new Error(`Unexpected modifier (${name} from ${JSON.stringify(referrer)}) (lookupModifier returned undefined)`);\n }\n\n return modifier;\n } else {\n throw new Error(`Can't compile global modifier invocations without an implementation of lookupModifier`);\n }\n }\n\n lookupComponent(name, referrer) {\n if (this.inner.lookupComponent) {\n var component = this.inner.lookupComponent(name, referrer);\n\n if (component === undefined) {\n throw new Error(`Unexpected component (${name} from ${JSON.stringify(referrer)}) (lookupComponent returned undefined)`);\n }\n\n return component;\n } else {\n throw new Error(`Can't compile global component invocations without an implementation of lookupComponent`);\n }\n }\n\n lookupPartial(name, referrer) {\n if (this.inner.lookupPartial) {\n var partial = this.inner.lookupPartial(name, referrer);\n\n if (partial === undefined) {\n throw new Error(`Unexpected partial (${name} from ${JSON.stringify(referrer)}) (lookupPartial returned undefined)`);\n }\n\n return partial;\n } else {\n throw new Error(`Can't compile global partial invocations without an implementation of lookupPartial`);\n }\n } // For debugging\n\n\n resolve(handle) {\n if (this.inner.resolve) {\n return this.inner.resolve(handle);\n } else {\n throw new Error(`Compile-time debugging requires an implementation of resolve`);\n }\n }\n\n }\n\n _exports.DefaultCompileTimeResolverDelegate = DefaultCompileTimeResolverDelegate;\n\n function resolveLayoutForTag(tag, {\n resolver,\n meta: {\n referrer\n }\n }) {\n var component = resolver.lookupComponent(tag, referrer);\n if (component === null) return component;\n var {\n handle,\n compilable,\n capabilities\n } = component;\n return {\n handle,\n compilable,\n capabilities: capabilities || MINIMAL_CAPABILITIES\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\n\n function PushPrimitiveReference(value) {\n return [PushPrimitive(value), 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\n\n function PushPrimitive(primitive) {\n var p = typeof primitive === 'number' && (0, _util.isSmallInt)(primitive) ? immediate(primitive) : prim(primitive);\n return op(30\n /* Primitive */\n , p);\n }\n /**\n * Invoke a foreign function (a \"helper\") based on a statically known handle\n *\n * @param compile.handle A handle\n * @param compile.params An optional list of expressions to compile\n * @param compile.hash An optional list of named arguments (name + expression) to compile\n */\n\n\n function Call({\n handle,\n params,\n hash\n }) {\n return [op(0\n /* PushFrame */\n ), op('SimpleArgs', {\n params,\n hash,\n atNames: false\n }), op(16\n /* Helper */\n , handle), op(1\n /* PopFrame */\n ), op(36\n /* Fetch */\n , _vm.$v0)];\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\n\n function DynamicScope(names, block) {\n return [op(59\n /* PushDynamicScope */\n ), op(58\n /* BindDynamicScope */\n , strArray(names)), block(), op(60\n /* PopDynamicScope */\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\n\n function YieldBlock(to, params) {\n return [op('SimpleArgs', {\n params,\n hash: null,\n atNames: true\n }), op(24\n /* GetBlock */\n , to), op(25\n /* JitSpreadBlock */\n ), op('Option', op('JitCompileBlock')), op(64\n /* InvokeYield */\n ), op(40\n /* PopScope */\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\n\n function PushYieldableBlock(block) {\n return [PushSymbolTable(block && block.symbolTable), op(62\n /* PushBlockScope */\n ), op('PushCompilable', block)];\n }\n /**\n * Invoke a block that is known statically at compile time.\n *\n * @param block a Compilable block\n */\n\n\n function InvokeStaticBlock(block) {\n return [op(0\n /* PushFrame */\n ), op('PushCompilable', block), op('JitCompileBlock'), op(2\n /* InvokeVirtual */\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\n\n function InvokeStaticBlockWithStack(block, callerCount) {\n var {\n parameters\n } = block.symbolTable;\n var calleeCount = parameters.length;\n var count = Math.min(callerCount, calleeCount);\n\n if (count === 0) {\n return InvokeStaticBlock(block);\n }\n\n var out = [];\n out.push(op(0\n /* PushFrame */\n ));\n\n if (count) {\n out.push(op(39\n /* ChildScope */\n ));\n\n for (var i = 0; i < count; i++) {\n out.push(op(33\n /* Dup */\n , _vm.$fp, callerCount - i));\n out.push(op(19\n /* SetVariable */\n , parameters[i]));\n }\n }\n\n out.push(op('PushCompilable', block));\n out.push(op('JitCompileBlock'));\n out.push(op(2\n /* InvokeVirtual */\n ));\n\n if (count) {\n out.push(op(40\n /* PopScope */\n ));\n }\n\n out.push(op(1\n /* PopFrame */\n ));\n return out;\n }\n\n function PushSymbolTable(table) {\n if (table) {\n return op(63\n /* PushSymbolTable */\n , serializable(table));\n } else {\n return PushPrimitive(null);\n }\n }\n\n function SwitchCases(callback) {\n // Setup the switch DSL\n var clauses = [];\n var 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 var out = [op(69\n /* Enter */\n , 2), op(68\n /* AssertSame */\n ), op(32\n /* ReifyU32 */\n ), op('StartLabels')]; // 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 (var clause of clauses.slice(0, -1)) {\n out.push(op(67\n /* JumpEq */\n , label(clause.label), clause.match));\n } // Enumerate the clauses in reverse order. Earlier matches will\n // require fewer checks.\n\n\n for (var i = clauses.length - 1; i >= 0; i--) {\n var _clause = clauses[i];\n out.push(op('Label', _clause.label), op(34\n /* Pop */\n , 2), _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 out.push(op(4\n /* Jump */\n , label('END')));\n }\n }\n\n out.push(op('Label', 'END'), op('StopLabels'), op(70\n /* Exit */\n ));\n return out;\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\n\n function Replayable({\n args: args$$1,\n body\n }) {\n // 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 var {\n count,\n actions\n } = args$$1(); // Start a new label frame, to give END and RETURN\n // a unique meaning.\n\n return [op('StartLabels'), 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 op(6\n /* ReturnTo */\n , label('ENDINITIAL')), actions, // 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 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 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 op('Label', 'FINALLY'), // Finalize the DOM.\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 op(5\n /* Return */\n ), // Cleanup code for the block. Runs on initial execution\n // but not on updating.\n op('Label', 'ENDINITIAL'), op(1\n /* PopFrame */\n ), op('StopLabels')];\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\n\n function ReplayableIf({\n args: args$$1,\n ifTrue,\n ifFalse\n }) {\n return Replayable({\n args: args$$1,\n body: () => {\n var out = [// If the conditional is false, jump to the ELSE label.\n op(66\n /* JumpUnless */\n , label('ELSE')), // Otherwise, execute the code associated with the true branch.\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 op(4\n /* Jump */\n , label('FINALLY')), op('Label', '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) {\n out.push(ifFalse());\n }\n\n return out;\n }\n });\n }\n\n function pushBuilderOp(context, op$$1) {\n var {\n encoder,\n syntax: {\n program: {\n mode,\n constants\n }\n }\n } = context;\n\n switch (op$$1.op) {\n case \"Option\"\n /* Option */\n :\n return concat(context, option$1(op$$1));\n\n case \"Label\"\n /* Label */\n :\n return encoder.label(op$$1.op1);\n\n case \"StartLabels\"\n /* StartLabels */\n :\n return encoder.startLabels();\n\n case \"StopLabels\"\n /* StopLabels */\n :\n return encoder.stopLabels();\n\n case \"JitCompileBlock\"\n /* JitCompileBlock */\n :\n return concat(context, jitCompileBlock(mode));\n\n case \"GetComponentLayout\"\n /* GetComponentLayout */\n :\n return encoder.push(constants, compileLayoutOpcode(mode), op$$1.op1);\n\n case \"SetBlock\"\n /* SetBlock */\n :\n return encoder.push(constants, setBlock(mode), op$$1.op1);\n\n default:\n return (0, _util.exhausted)(op$$1);\n }\n }\n\n function option$1(op$$1) {\n var value = op$$1.op1;\n return value === null ? NONE : value;\n }\n\n function compileLayoutOpcode(mode) {\n return mode === \"aot\"\n /* aot */\n ? 94\n /* GetAotComponentLayout */\n : 95\n /* GetJitComponentLayout */\n ;\n }\n\n function jitCompileBlock(mode) {\n return mode === \"jit\"\n /* jit */\n ? op(61\n /* CompileBlock */\n ) : NONE;\n }\n\n function setBlock(mode) {\n return mode === \"aot\"\n /* aot */\n ? 20\n /* SetAotBlock */\n : 21\n /* SetJitBlock */\n ;\n }\n\n function pushCompileOp(context, action) {\n concatStatements(context, compileOp(context, action));\n }\n\n function compileOp(context, action) {\n switch (action.op) {\n case \"CompileBlock\"\n /* CompileBlock */\n :\n return CompileBlockOp(context, action);\n\n case \"CompileInline\"\n /* CompileInline */\n :\n return CompileInlineOp(context, action);\n\n case \"InvokeStatic\"\n /* InvokeStatic */\n :\n return InvokeStatic(context.syntax, action);\n\n case \"Args\"\n /* Args */\n :\n return CompileArgs(action.op1);\n\n case \"PushCompilable\"\n /* PushCompilable */\n :\n return PushCompilable(action.op1, context.syntax);\n\n case \"DynamicComponent\"\n /* DynamicComponent */\n :\n return DynamicComponent(context, action);\n\n case \"IfResolvedComponent\"\n /* IfResolvedComponent */\n :\n return IfResolvedComponent(context, action);\n\n default:\n return (0, _util.exhausted)(action);\n }\n }\n\n function CompileBlockOp(context, op$$1) {\n return compileBlock(op$$1.op1, context);\n }\n\n function CompileInlineOp(context, op$$1) {\n var {\n inline,\n ifUnhandled\n } = op$$1.op1;\n var returned = compileInline(inline, context);\n\n if (isHandled(returned)) {\n return returned;\n } else {\n return ifUnhandled(inline);\n }\n }\n\n function InvokeStatic(context, action) {\n var compilable$$1 = action.op1;\n\n if (context.program.mode === \"aot\"\n /* aot */\n ) {\n var handle = compilable$$1.compile(context);\n\n if (typeof handle !== 'number') {\n return op('Error', {\n problem: 'Invalid block',\n start: 0,\n end: 0\n });\n } // If the handle for the invoked component is not yet known (for example,\n // because this is a recursive invocation and we're still compiling), push a\n // function that will produce the correct handle when the heap is\n // serialized.\n\n\n if (handle === PLACEHOLDER_HANDLE) {\n return op(3\n /* InvokeStatic */\n , () => compilable$$1.compile(context));\n } else {\n return op(3\n /* InvokeStatic */\n , handle);\n }\n } else {\n return [op(29\n /* Constant */\n , other(action.op1)), op(61\n /* CompileBlock */\n ), op(2\n /* InvokeVirtual */\n )];\n }\n }\n\n function DynamicComponent(context, action) {\n var {\n definition,\n attrs,\n params,\n args: args$$1,\n blocks,\n atNames\n } = action.op1;\n var attrsBlock = attrs && attrs.length > 0 ? compilableBlock(attrs, context.meta) : null;\n var compiled = Array.isArray(blocks) || blocks === null ? namedBlocks(blocks, context.meta) : blocks;\n return InvokeDynamicComponent(context.meta, {\n definition,\n attrs: attrsBlock,\n params,\n hash: args$$1,\n atNames,\n blocks: compiled\n });\n }\n\n function IfResolvedComponent(context, action) {\n var {\n name,\n attrs,\n blocks,\n staticTemplate,\n dynamicTemplate,\n orElse\n } = action.op1;\n var component = resolveLayoutForTag(name, {\n resolver: context.syntax.program.resolverDelegate,\n meta: context.meta\n });\n var {\n meta: meta$$1\n } = context;\n\n if (component !== null) {\n var {\n handle,\n capabilities,\n compilable: compilable$$1\n } = component;\n var attrsBlock = compilableBlock(attrs, meta$$1);\n var compilableBlocks = namedBlocks(blocks, meta$$1);\n\n if (compilable$$1 !== null) {\n return staticTemplate(handle, capabilities, compilable$$1, {\n attrs: attrsBlock,\n blocks: compilableBlocks\n });\n } else {\n return dynamicTemplate(handle, capabilities, {\n attrs: attrsBlock,\n blocks: compilableBlocks\n });\n }\n } else if (orElse) {\n return orElse();\n } else {\n throw new Error(`Compile Error: Cannot find component ${name}`);\n }\n }\n\n function PushCompilable(block, context) {\n if (block === null) {\n return PushPrimitive(null);\n } else if (context.program.mode === \"aot\"\n /* aot */\n ) {\n var compiled = block.compile(context);\n\n if (typeof compiled !== 'number') {\n return op('Error', {\n problem: 'Compile Error (TODO: thread better)',\n start: 0,\n end: 0\n });\n }\n\n return PushPrimitive(compiled);\n } else {\n return op(29\n /* Constant */\n , other(block));\n }\n }\n\n function pushOp(encoder, constants, op) {\n if (op.op3 !== undefined) {\n encoder.push(constants, op.op, op.op1, op.op2, op.op3);\n } else if (op.op2 !== undefined) {\n encoder.push(constants, op.op, op.op1, op.op2);\n } else if (op.op1 !== undefined) {\n encoder.push(constants, op.op, op.op1);\n } else {\n encoder.push(constants, op.op);\n }\n }\n\n class 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(sexp, meta) {\n var name = sexp[0];\n var index = this.names[name];\n var func = this.funcs[index];\n return func(sexp, meta);\n }\n\n }\n\n var EXPRESSIONS = new Compilers();\n EXPRESSIONS.add(31\n /* Concat */\n , ([, parts]) => {\n var out = [];\n\n for (var part of parts) {\n out.push(op('Expr', part));\n }\n\n out.push(op(28\n /* Concat */\n , parts.length));\n return out;\n });\n EXPRESSIONS.add(30\n /* Call */\n , ([, name, params, hash], meta) => {\n // TODO: triage this in the WF compiler\n var start = 0;\n var offset = 0;\n\n if (isComponent(name, meta)) {\n if (!params || params.length === 0) {\n return op('Error', {\n problem: 'component helper requires at least one argument',\n start: start,\n end: start + offset\n });\n }\n\n var [definition, ...restArgs] = params;\n return curryComponent({\n definition,\n params: restArgs,\n hash,\n atNames: false\n }, meta.referrer);\n }\n\n var nameOrError = expectString(name, meta, 'Expected call head to be a string');\n\n if (typeof nameOrError !== 'string') {\n return nameOrError;\n }\n\n return op('IfResolved', {\n kind: \"Helper\"\n /* Helper */\n ,\n name: nameOrError,\n andThen: handle => Call({\n handle,\n params,\n hash\n }),\n span: {\n start,\n end: start + offset\n }\n });\n });\n\n function isGetContextualFree(opcode) {\n return opcode[0] >= 34\n /* GetContextualFreeStart */\n ;\n }\n\n function isComponent(expr, meta) {\n if (!Array.isArray(expr)) {\n return false;\n }\n\n if (isGetContextualFree(expr)) {\n var head = expr[1];\n\n if (meta.upvars && meta.upvars[head] === 'component') {\n return true;\n } else {\n return false;\n }\n }\n\n return false;\n }\n\n EXPRESSIONS.add(32\n /* GetSymbol */\n , ([, sym, path]) => withPath(op(22\n /* GetVariable */\n , sym), path));\n EXPRESSIONS.add(33\n /* GetFree */\n , ([, sym, path]) => withPath(op('ResolveFree', sym), path));\n EXPRESSIONS.add(34\n /* GetFreeInAppendSingleId */\n , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n freeVar: sym,\n context: 0\n /* AppendSingleId */\n\n }), path));\n EXPRESSIONS.add(35\n /* GetFreeInExpression */\n , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n freeVar: sym,\n context: 1\n /* Expression */\n\n }), path));\n EXPRESSIONS.add(36\n /* GetFreeInCallHead */\n , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n freeVar: sym,\n context: 2\n /* CallHead */\n\n }), path));\n EXPRESSIONS.add(37\n /* GetFreeInBlockHead */\n , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n freeVar: sym,\n context: 3\n /* BlockHead */\n\n }), path));\n EXPRESSIONS.add(38\n /* GetFreeInModifierHead */\n , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n freeVar: sym,\n context: 4\n /* ModifierHead */\n\n }), path));\n EXPRESSIONS.add(39\n /* GetFreeInComponentHead */\n , ([, sym, path]) => withPath(op('ResolveContextualFree', {\n freeVar: sym,\n context: 5\n /* ComponentHead */\n\n }), path));\n\n function withPath(expr, path) {\n if (path === undefined || path.length === 0) return expr;\n if (!Array.isArray(expr)) expr = [expr];\n\n for (var i = 0; i < path.length; i++) {\n expr.push(op(23\n /* GetProperty */\n , path[i]));\n }\n\n return expr;\n }\n\n EXPRESSIONS.add(29\n /* Undefined */\n , () => PushPrimitiveReference(undefined));\n EXPRESSIONS.add(27\n /* HasBlock */\n , ([, block]) => {\n return [op('Expr', block), op(26\n /* HasBlock */\n )];\n });\n EXPRESSIONS.add(28\n /* HasBlockParams */\n , ([, block]) => [op('Expr', block), op(25\n /* JitSpreadBlock */\n ), op('JitCompileBlock'), op(27\n /* HasBlockParams */\n )]);\n\n function pushResolutionOp(encoder, context, operation, constants) {\n switch (operation.op) {\n case \"SimpleArgs\"\n /* SimpleArgs */\n :\n concatExpressions(encoder, context, compileSimpleArgs(operation.op1.params, operation.op1.hash, operation.op1.atNames), constants);\n break;\n\n case \"Expr\"\n /* Expr */\n :\n concatExpressions(encoder, context, expr(operation.op1, context.meta), constants);\n break;\n\n case \"IfResolved\"\n /* IfResolved */\n :\n {\n concatExpressions(encoder, context, ifResolved(context, operation), constants);\n break;\n }\n\n case \"ResolveFree\"\n /* ResolveFree */\n :\n {\n throw new Error('Unimplemented HighLevelResolutionOpcode.ResolveFree');\n }\n\n case \"ResolveContextualFree\"\n /* ResolveContextualFree */\n :\n {\n var {\n freeVar,\n context: expressionContext\n } = operation.op1;\n\n if (context.meta.asPartial) {\n var name = context.meta.upvars[freeVar];\n concatExpressions(encoder, context, [op(105\n /* ResolveMaybeLocal */\n , name)], constants);\n break;\n }\n\n switch (expressionContext) {\n case 1\n /* Expression */\n :\n {\n // in classic mode, this is always a this-fallback\n var _name2 = context.meta.upvars[freeVar];\n concatExpressions(encoder, context, [op(22\n /* GetVariable */\n , 0), op(23\n /* GetProperty */\n , _name2)], constants);\n break;\n }\n\n case 0\n /* AppendSingleId */\n :\n {\n var resolver = context.syntax.program.resolverDelegate;\n var _name3 = context.meta.upvars[freeVar];\n var resolvedHelper = resolver.lookupHelper(_name3, context.meta.referrer);\n var expressions;\n\n if (resolvedHelper) {\n expressions = Call({\n handle: resolvedHelper,\n params: null,\n hash: null\n });\n } else {\n // in classic mode, this is always a this-fallback\n expressions = [op(22\n /* GetVariable */\n , 0), op(23\n /* GetProperty */\n , _name3)];\n }\n\n concatExpressions(encoder, context, expressions, constants);\n break;\n }\n\n default:\n throw new Error(`unimplemented: Can't evaluate expression in context ${expressionContext}`);\n }\n\n break;\n }\n\n default:\n return (0, _util.exhausted)(operation);\n }\n }\n\n function expr(expression$$1, meta$$1) {\n if (Array.isArray(expression$$1)) {\n return EXPRESSIONS.compile(expression$$1, meta$$1);\n } else {\n return [PushPrimitive(expression$$1), op(31\n /* PrimitiveReference */\n )];\n }\n }\n\n function compileSimpleArgs(params, hash, atNames) {\n var out = [];\n var {\n count,\n actions\n } = CompilePositional(params);\n out.push(actions);\n var flags = count << 4;\n if (atNames) flags |= 0b1000;\n var names = _util.EMPTY_ARRAY;\n\n if (hash) {\n names = hash[0];\n var val = hash[1];\n\n for (var i = 0; i < val.length; i++) {\n out.push(op('Expr', val[i]));\n }\n }\n\n out.push(op(84\n /* PushArgs */\n , strArray(names), strArray(_util.EMPTY_ARRAY), flags));\n return out;\n }\n\n function ifResolved(context, {\n op1\n }) {\n var {\n kind,\n name,\n andThen,\n orElse,\n span\n } = op1;\n var resolved = resolve(context.syntax.program.resolverDelegate, kind, name, context.meta.referrer);\n\n if (resolved !== null) {\n return andThen(resolved);\n } else if (orElse) {\n return orElse();\n } else {\n return error(`Unexpected ${kind} ${name}`, span.start, span.end);\n }\n }\n\n function resolve(resolver, kind, name, referrer) {\n switch (kind) {\n case \"Modifier\"\n /* Modifier */\n :\n return resolver.lookupModifier(name, referrer);\n\n case \"Helper\"\n /* Helper */\n :\n return resolver.lookupHelper(name, referrer);\n\n case \"ComponentDefinition\"\n /* ComponentDefinition */\n :\n {\n var component = resolver.lookupComponent(name, referrer);\n return component && component.handle;\n }\n }\n }\n\n var NONE = {\n 'no-action': true\n };\n _exports.NONE = NONE;\n var UNHANDLED = {\n 'not-handled': true\n };\n _exports.UNHANDLED = UNHANDLED;\n\n function isNoAction(actions) {\n return actions && !!actions['no-action'];\n }\n\n function isHandled(actions) {\n return !actions || !actions['not-handled'];\n }\n\n function concat(context, action) {\n if (isNoAction(action)) {\n return;\n } else if (Array.isArray(action)) {\n for (var item of action) {\n concat(context, item);\n }\n } else if (action.type === 'Simple') {\n pushBuilderOp(context, action);\n } else {\n pushOp(context.encoder, context.syntax.program.constants, action);\n }\n }\n\n function concatExpressions(encoder, context, action, constants) {\n if (isNoAction(action)) {\n return;\n } else if (Array.isArray(action)) {\n for (var item of action) {\n concatExpressions(encoder, context, item, constants);\n }\n } else if (action.type === 'Number') {\n pushOp(encoder, constants, action);\n } else if (action.type === 'Resolution') {\n pushResolutionOp(encoder, context, action, constants);\n } else if (action.type === 'Simple') {\n pushBuilderOp(context, action);\n } else if (action.type === 'Error') {\n encoder.error({\n problem: action.op1.problem,\n span: {\n start: action.op1.start,\n end: action.op1.end\n }\n });\n } else {\n throw (0, _util.assertNever)(action, 'unexpected action kind');\n }\n }\n\n function concatStatements(context, action) {\n if (isNoAction(action)) {\n return;\n } else if (Array.isArray(action)) {\n for (var item of action) {\n concatStatements(context, item);\n }\n } else if (action.type === 'Number') {\n pushOp(context.encoder, context.syntax.program.constants, action);\n } else {\n if (action.type === 'Compile') {\n pushCompileOp(context, action);\n } else if (action.type === 'Resolution') {\n pushResolutionOp(context.encoder, context, action, context.syntax.program.constants);\n } else if (action.type === 'Simple') {\n pushBuilderOp(context, action);\n } else if (action.type === 'Error') {} else {\n throw (0, _util.assertNever)(action, `unexpected action type`);\n }\n }\n }\n\n function populateBuiltins(blocks, inlines) {\n blocks.add('if', (params, _hash, blocks) => {\n if (!params || params.length !== 1) {\n throw new Error(`SYNTAX ERROR: #if requires a single argument`);\n }\n\n return ReplayableIf({\n args() {\n return {\n count: 1,\n actions: [op('Expr', params[0]), op(71\n /* ToBoolean */\n )]\n };\n },\n\n ifTrue() {\n return InvokeStaticBlock(blocks.get('default'));\n },\n\n ifFalse() {\n if (blocks.has('else')) {\n return InvokeStaticBlock(blocks.get('else'));\n } else {\n return NONE;\n }\n }\n\n });\n });\n blocks.add('unless', (params, _hash, blocks) => {\n if (!params || params.length !== 1) {\n throw new Error(`SYNTAX ERROR: #unless requires a single argument`);\n }\n\n return ReplayableIf({\n args() {\n return {\n count: 1,\n actions: [op('Expr', params[0]), op(71\n /* ToBoolean */\n )]\n };\n },\n\n ifTrue() {\n if (blocks.has('else')) {\n return InvokeStaticBlock(blocks.get('else'));\n } else {\n return NONE;\n }\n },\n\n ifFalse() {\n return InvokeStaticBlock(blocks.get('default'));\n }\n\n });\n });\n blocks.add('with', (params, _hash, blocks) => {\n if (!params || params.length !== 1) {\n throw new Error(`SYNTAX ERROR: #with requires a single argument`);\n }\n\n return ReplayableIf({\n args() {\n return {\n count: 2,\n actions: [op('Expr', params[0]), op(33\n /* Dup */\n , _vm.$sp, 0), op(71\n /* ToBoolean */\n )]\n };\n },\n\n ifTrue() {\n return InvokeStaticBlockWithStack(blocks.get('default'), 1);\n },\n\n ifFalse() {\n if (blocks.has('else')) {\n return InvokeStaticBlock(blocks.get('else'));\n } else {\n return NONE;\n }\n }\n\n });\n });\n blocks.add('let', (params, _hash, blocks) => {\n if (!params) {\n return error('let requires arguments', 0, 0);\n }\n\n var {\n count,\n actions\n } = CompilePositional(params);\n return [actions, InvokeStaticBlockWithStack(blocks.get('default'), count)];\n });\n blocks.add('each', (params, hash, blocks) => {\n return Replayable({\n args() {\n var actions;\n\n if (hash && hash[0][0] === 'key') {\n actions = [op('Expr', hash[1][0])];\n } else {\n actions = [PushPrimitiveReference(null)];\n }\n\n actions.push(op('Expr', params[0]));\n return {\n count: 2,\n actions\n };\n },\n\n body() {\n var out = [op(74\n /* PutIterator */\n ), op(66\n /* JumpUnless */\n , label('ELSE')), op(0\n /* PushFrame */\n ), op(33\n /* Dup */\n , _vm.$fp, 1), op(6\n /* ReturnTo */\n , label('ITER')), op(72\n /* EnterList */\n , label('BODY')), op('Label', 'ITER'), op(75\n /* Iterate */\n , label('BREAK')), op('Label', 'BODY'), InvokeStaticBlockWithStack(blocks.get('default'), 2), op(34\n /* Pop */\n , 2), op(4\n /* Jump */\n , label('FINALLY')), op('Label', 'BREAK'), op(73\n /* ExitList */\n ), op(1\n /* PopFrame */\n ), op(4\n /* Jump */\n , label('FINALLY')), op('Label', 'ELSE')];\n\n if (blocks.has('else')) {\n out.push(InvokeStaticBlock(blocks.get('else')));\n }\n\n return out;\n }\n\n });\n });\n blocks.add('in-element', (params, hash, blocks) => {\n if (!params || params.length !== 1) {\n throw new Error(`SYNTAX ERROR: #in-element requires a single argument`);\n }\n\n return ReplayableIf({\n args() {\n var [keys, values] = hash;\n var actions = [];\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n\n if (key === 'guid' || key === 'insertBefore') {\n actions.push(op('Expr', values[i]));\n } else {\n throw new Error(`SYNTAX ERROR: #in-element does not take a \\`${keys[0]}\\` option`);\n }\n }\n\n actions.push(op('Expr', params[0]), op(33\n /* Dup */\n , _vm.$sp, 0));\n return {\n count: 4,\n actions\n };\n },\n\n ifTrue() {\n return [op(50\n /* PushRemoteElement */\n ), InvokeStaticBlock(blocks.get('default')), op(56\n /* PopRemoteElement */\n )];\n }\n\n });\n });\n blocks.add('-with-dynamic-vars', (_params, hash, blocks) => {\n if (hash) {\n var [names, expressions] = hash;\n var {\n actions\n } = CompilePositional(expressions);\n return [actions, DynamicScope(names, () => {\n return InvokeStaticBlock(blocks.get('default'));\n })];\n } else {\n return InvokeStaticBlock(blocks.get('default'));\n }\n });\n blocks.add('component', (_params, hash, blocks, context) => {\n var tag = _params[0];\n\n if (typeof tag === 'string') {\n var returned = StaticComponentHelper(context, _params[0], hash, blocks.get('default'));\n if (isHandled(returned)) return returned;\n }\n\n var [definition, ...params] = _params;\n return op('DynamicComponent', {\n definition,\n attrs: null,\n params,\n args: hash,\n atNames: false,\n blocks\n });\n });\n inlines.add('component', (_name, _params, hash, context) => {\n var tag = _params && _params[0];\n\n if (typeof tag === 'string') {\n var returned = StaticComponentHelper(context, tag, hash, null);\n if (returned !== UNHANDLED) return returned;\n }\n\n var [definition, ...params] = _params;\n return InvokeDynamicComponent(context.meta, {\n definition,\n attrs: null,\n params,\n hash,\n atNames: false,\n blocks: EMPTY_BLOCKS\n });\n });\n return {\n blocks,\n inlines\n };\n }\n\n class MacrosImpl {\n constructor() {\n var {\n blocks,\n inlines\n } = populateBuiltins(new Blocks(), new Inlines());\n this.blocks = blocks;\n this.inlines = inlines;\n }\n\n }\n\n _exports.MacrosImpl = MacrosImpl;\n\n class Blocks {\n constructor() {\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n\n add(name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n }\n\n addMissing(func) {\n this.missing = func;\n }\n\n compile(name, params, hash, blocks, context) {\n var index = this.names[name];\n var macroContext = {\n resolver: context.syntax.program.resolverDelegate,\n meta: context.meta\n };\n\n if (index === undefined) {\n var func = this.missing;\n var handled = func(name, params, hash, blocks, macroContext);\n return handled;\n } else {\n var _func = this.funcs[index];\n return _func(params, hash, blocks, macroContext);\n }\n }\n\n }\n\n class Inlines {\n constructor() {\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n\n add(name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n }\n\n addMissing(func) {\n this.missing = func;\n }\n\n compile(sexp, context) {\n var [, value] = sexp; // TODO: Fix this so that expression macros can return\n // things like components, so that {{component foo}}\n // is the same as {{(component foo)}}\n\n if (!Array.isArray(value)) return UNHANDLED;\n var name;\n var params;\n var hash;\n\n if (value[0] === 30\n /* Call */\n ) {\n var nameOrError = expectString(value[1], context.meta, 'Expected head of call to be a string');\n\n if (typeof nameOrError !== 'string') {\n return nameOrError;\n }\n\n name = nameOrError;\n params = value[2];\n hash = value[3];\n } else if (isGet(value)) {\n var pathName = simplePathName(value, context.meta);\n\n if (pathName === null) {\n return UNHANDLED;\n }\n\n name = pathName;\n params = null;\n hash = null;\n } else {\n return UNHANDLED;\n }\n\n var index = this.names[name];\n var macroContext = {\n resolver: context.syntax.program.resolverDelegate,\n meta: context.meta\n };\n\n if (index === undefined && this.missing) {\n var func = this.missing;\n return func(name, params, hash, macroContext);\n } else if (index !== undefined) {\n var _func2 = this.funcs[index];\n return _func2(name, params, hash, macroContext);\n } else {\n return UNHANDLED;\n }\n }\n\n }\n\n function syntaxCompilationContext(program, macros) {\n return {\n program,\n macros\n };\n }\n\n function Context(resolver = {}, mode = \"aot\"\n /* aot */\n , macros = new MacrosImpl()) {\n return {\n program: new ProgramCompilationContext(new DefaultCompileTimeResolverDelegate(resolver), mode),\n macros\n };\n }\n\n function JitContext(resolver = {}, macros = new MacrosImpl()) {\n return {\n program: new JitProgramCompilationContext(new DefaultCompileTimeResolverDelegate(resolver)),\n macros\n };\n }\n\n function AotContext(resolver = {}, macros = new MacrosImpl()) {\n return {\n program: new ProgramCompilationContext(new DefaultCompileTimeResolverDelegate(resolver), \"aot\"\n /* aot */\n ),\n macros\n };\n }\n\n function templateCompilationContext(syntax, meta) {\n var encoder = new EncoderImpl();\n return {\n syntax,\n encoder,\n meta\n };\n }\n\n var STATEMENTS = new Compilers();\n var INFLATE_ATTR_TABLE = ['class', 'id', 'value', 'name', 'type', 'style', 'href'];\n var INFLATE_TAG_TABLE = ['div', 'span', 'p', 'a'];\n\n function inflateTagName(tagName) {\n return typeof tagName === 'string' ? tagName : INFLATE_TAG_TABLE[tagName];\n }\n\n function inflateAttrName(attrName) {\n return typeof attrName === 'string' ? attrName : INFLATE_ATTR_TABLE[attrName];\n }\n\n STATEMENTS.add(3\n /* Comment */\n , sexp => op(42\n /* Comment */\n , sexp[1]));\n STATEMENTS.add(13\n /* CloseElement */\n , () => op(55\n /* CloseElement */\n ));\n STATEMENTS.add(12\n /* FlushElement */\n , () => op(54\n /* FlushElement */\n ));\n STATEMENTS.add(4\n /* Modifier */\n , (sexp, meta) => {\n var [, name, params, hash] = sexp;\n var stringName = expectString(name, meta, 'Expected modifier head to be a string');\n\n if (typeof stringName !== 'string') {\n return stringName;\n }\n\n return op('IfResolved', {\n kind: \"Modifier\"\n /* Modifier */\n ,\n name: stringName,\n andThen: handle => [op(0\n /* PushFrame */\n ), op('SimpleArgs', {\n params,\n hash,\n atNames: false\n }), op(57\n /* Modifier */\n , handle), op(1\n /* PopFrame */\n )],\n span: {\n start: 0,\n end: 0\n }\n });\n });\n STATEMENTS.add(14\n /* StaticAttr */\n , ([, name, value, namespace]) => op(51\n /* StaticAttr */\n , inflateAttrName(name), value, namespace !== null && namespace !== void 0 ? namespace : null));\n STATEMENTS.add(24\n /* StaticComponentAttr */\n , ([, name, value, namespace]) => op(108\n /* StaticComponentAttr */\n , inflateAttrName(name), value, namespace !== null && namespace !== void 0 ? namespace : null));\n STATEMENTS.add(15\n /* DynamicAttr */\n , ([, name, value, namespace]) => [op('Expr', value), op(52\n /* DynamicAttr */\n , inflateAttrName(name), false, namespace !== null && namespace !== void 0 ? namespace : null)]);\n STATEMENTS.add(22\n /* TrustingDynamicAttr */\n , ([, name, value, namespace]) => [op('Expr', value), op(52\n /* DynamicAttr */\n , inflateAttrName(name), true, namespace !== null && namespace !== void 0 ? namespace : null)]);\n STATEMENTS.add(16\n /* ComponentAttr */\n , ([, name, value, namespace]) => [op('Expr', value), op(53\n /* ComponentAttr */\n , inflateAttrName(name), false, namespace !== null && namespace !== void 0 ? namespace : null)]);\n STATEMENTS.add(23\n /* TrustingComponentAttr */\n , ([, name, value, namespace]) => [op('Expr', value), op(53\n /* ComponentAttr */\n , inflateAttrName(name), true, namespace !== null && namespace !== void 0 ? namespace : null)]);\n STATEMENTS.add(10\n /* OpenElement */\n , ([, tag]) => {\n return op(48\n /* OpenElement */\n , inflateTagName(tag));\n });\n STATEMENTS.add(11\n /* OpenElementWithSplat */\n , ([, tag]) => {\n return [op(91\n /* PutComponentOperations */\n ), op(48\n /* OpenElement */\n , inflateTagName(tag))];\n });\n STATEMENTS.add(8\n /* Component */\n , ([, tag, attrs, args$$1, blocks]) => {\n if (typeof tag === 'string') {\n return op('IfResolvedComponent', {\n name: tag,\n attrs,\n blocks,\n staticTemplate: (layoutHandle, capabilities, template, {\n blocks,\n attrs\n }) => {\n return [op(80\n /* PushComponentDefinition */\n , layoutHandle), InvokeStaticComponent({\n capabilities,\n layout: template,\n attrs,\n params: null,\n hash: args$$1,\n blocks\n })];\n },\n dynamicTemplate: (layoutHandle, capabilities, {\n attrs,\n blocks\n }) => {\n return [op(80\n /* PushComponentDefinition */\n , layoutHandle), InvokeComponent({\n capabilities,\n attrs,\n params: null,\n hash: args$$1,\n atNames: true,\n blocks\n })];\n }\n });\n } else {\n return op('DynamicComponent', {\n definition: tag,\n attrs,\n params: null,\n args: args$$1,\n blocks,\n atNames: true\n });\n }\n });\n STATEMENTS.add(19\n /* Partial */\n , ([, name, evalInfo], meta) => ReplayableIf({\n args() {\n return {\n count: 2,\n actions: [op('Expr', name), op(33\n /* Dup */\n , _vm.$sp, 0)]\n };\n },\n\n ifTrue() {\n return [op(104\n /* InvokePartial */\n , templateMeta(meta.referrer), strArray(meta.evalSymbols), arr(evalInfo)), op(40\n /* PopScope */\n ), op(1\n /* PopFrame */\n )];\n }\n\n }));\n STATEMENTS.add(18\n /* Yield */\n , ([, to, params]) => YieldBlock(to, params));\n STATEMENTS.add(17\n /* AttrSplat */\n , ([, to]) => YieldBlock(to, _util.EMPTY_ARRAY));\n STATEMENTS.add(26\n /* Debugger */\n , ([, evalInfo], meta) => op(106\n /* Debugger */\n , strArray(meta.evalSymbols), arr(evalInfo)));\n STATEMENTS.add(1\n /* Append */\n , sexp => {\n var [, value] = sexp;\n return op('CompileInline', {\n inline: sexp,\n ifUnhandled: () => [op(0\n /* PushFrame */\n ), op(\"Expr\"\n /* Expr */\n , value), op(3\n /* InvokeStatic */\n , {\n type: 'stdlib',\n value: 'cautious-append'\n }), op(1\n /* PopFrame */\n )]\n });\n });\n STATEMENTS.add(2\n /* TrustingAppend */\n , sexp => {\n var [, value] = sexp;\n\n if (typeof value === 'string') {\n return op(41\n /* Text */\n , value);\n } // macro was ignoring trusting flag doesn't seem like {{{}}} should\n // even be passed to macros, there is no {{{component}}}\n\n\n return [op(0\n /* PushFrame */\n ), op(\"Expr\"\n /* Expr */\n , value), op(3\n /* InvokeStatic */\n , {\n type: 'stdlib',\n value: 'trusting-append'\n }), op(1\n /* PopFrame */\n )];\n });\n STATEMENTS.add(6\n /* Block */\n , sexp => {\n return op('CompileBlock', sexp);\n });\n var PLACEHOLDER_HANDLE = -1;\n\n class CompilableTemplateImpl {\n constructor(statements, meta$$1, // Part of CompilableTemplate\n symbolTable) {\n this.statements = statements;\n this.meta = meta$$1;\n this.symbolTable = symbolTable;\n this.compiled = null;\n } // Part of CompilableTemplate\n\n\n compile(context) {\n return maybeCompile(this, context);\n }\n\n }\n\n function compilable(layout) {\n var block = layout.block;\n return new CompilableTemplateImpl(block.statements, meta(layout), {\n symbols: block.symbols,\n hasEval: block.hasEval\n });\n }\n\n function maybeCompile(compilable, context) {\n if (compilable.compiled !== null) return compilable.compiled;\n compilable.compiled = PLACEHOLDER_HANDLE;\n var {\n statements,\n meta: meta$$1\n } = compilable;\n var result = compileStatements(statements, meta$$1, context);\n (0, _program.patchStdlibs)(context.program);\n compilable.compiled = result;\n return result;\n }\n\n function compileStatements(statements, meta$$1, syntaxContext) {\n var sCompiler = STATEMENTS;\n var context = templateCompilationContext(syntaxContext, meta$$1);\n\n for (var i = 0; i < statements.length; i++) {\n concatStatements(context, sCompiler.compile(statements[i], context.meta));\n }\n\n var handle = context.encoder.commit(syntaxContext.program.heap, meta$$1.size);\n return handle;\n }\n\n function compilableBlock(overloadBlock, containing) {\n var block = Array.isArray(overloadBlock) ? {\n statements: overloadBlock,\n parameters: _util.EMPTY_ARRAY\n } : overloadBlock;\n return new CompilableTemplateImpl(block.statements, containing, {\n parameters: block.parameters\n });\n }\n\n class 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 var {\n blocks\n } = this;\n return blocks !== null && name in blocks;\n }\n\n with(name, block) {\n var {\n blocks\n } = this;\n\n if (blocks) {\n return new NamedBlocksImpl((0, _util.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 }\n\n var EMPTY_BLOCKS = new NamedBlocksImpl(null);\n _exports.EMPTY_BLOCKS = EMPTY_BLOCKS;\n\n function namedBlocks(blocks, meta) {\n if (blocks === null) {\n return EMPTY_BLOCKS;\n }\n\n var out = (0, _util.dict)();\n var [keys, values] = blocks;\n\n for (var i = 0; i < keys.length; i++) {\n out[keys[i]] = compilableBlock(values[i], meta);\n }\n\n return new NamedBlocksImpl(out);\n }\n\n function expectString(expr, meta, desc) {\n if (!meta.upvars) {\n return error(`${desc}, but there were no free variables in the template`, 0, 0);\n }\n\n if (!Array.isArray(expr)) {\n throw new Error(`${desc}, got ${JSON.stringify(expr)}`);\n }\n\n if (isGet(expr)) {\n var name = simplePathName(expr, meta);\n if (name !== null) return name;\n }\n\n throw new Error(`${desc}, got ${JSON.stringify(expr)}`);\n }\n\n function simplePathName(opcode, meta) {\n if (opcode.length === 3 && opcode[2].length > 0) {\n return null;\n }\n\n if (isGetFree(opcode)) {\n return meta.upvars[opcode[1]];\n }\n\n return null;\n }\n\n function isGet(opcode) {\n return opcode.length >= 2 && opcode[0] >= 32\n /* GetSymbol */\n ;\n }\n\n function isGetFree(opcode) {\n return opcode[0] >= 33\n /* GetFree */\n ;\n }\n\n function compileInline(sexp, context) {\n return context.syntax.macros.inlines.compile(sexp, context);\n }\n\n function compileBlock(block, context) {\n var [, name, params, hash, named] = block;\n var blocks = namedBlocks(named, context.meta);\n var nameOrError = expectString(name, context.meta, 'Expected block head to be a string');\n\n if (typeof nameOrError !== 'string') {\n return nameOrError;\n }\n\n return context.syntax.macros.blocks.compile(nameOrError, params || [], hash, blocks, context);\n }\n\n function commit(heap, scopeSize, buffer) {\n var handle = heap.malloc();\n\n for (var i = 0; i < buffer.length; i++) {\n var value = buffer[i];\n\n if (typeof value === 'function') {\n heap.pushPlaceholder(value);\n } else if (typeof value === 'object') {\n heap.pushStdlib(value);\n } else {\n heap.push(value);\n }\n }\n\n heap.finishMalloc(handle, scopeSize);\n return handle;\n }\n\n var debugCompiler;\n _exports.debugCompiler = debugCompiler;\n\n class LabelsImpl {\n constructor() {\n this.labels = (0, _util.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(encoder) {\n var {\n targets,\n labels\n } = this;\n\n for (var i = 0; i < targets.length; i++) {\n var {\n at,\n target\n } = targets[i];\n var address = labels[target] - at;\n encoder.patch(at, address);\n }\n }\n\n }\n\n function error(problem, start, end) {\n return op('Error', {\n problem,\n start,\n end\n });\n }\n\n function op(name, op1, op2, op3) {\n if (typeof name === 'number') {\n if (op3 !== undefined) {\n return {\n type: 'Number',\n op: name,\n op1,\n op2,\n op3\n };\n } else if (op2 !== undefined) {\n return {\n type: 'Number',\n op: name,\n op1,\n op2\n };\n } else if (op1 !== undefined) {\n return {\n type: 'Number',\n op: name,\n op1: op1\n };\n } else {\n return {\n type: 'Number',\n op: name\n };\n }\n } else {\n var type;\n\n if (isCompileOpcode(name)) {\n type = 'Compile';\n } else if (isResolutionOpcode(name)) {\n type = 'Resolution';\n } else if (isSimpleOpcode(name)) {\n type = 'Simple';\n } else if (isErrorOpcode(name)) {\n type = 'Error';\n } else {\n throw new Error(`Exhausted ${name}`);\n }\n\n if (op1 === undefined) {\n return {\n type,\n op: name,\n op1: undefined\n };\n } else {\n return {\n type,\n op: name,\n op1\n };\n }\n }\n }\n\n class EncoderImpl {\n constructor() {\n this.labelsStack = new _util.Stack();\n this.encoder = new _encoder.InstructionEncoderImpl([]);\n this.errors = [];\n }\n\n error(error) {\n this.encoder.encode(30\n /* Primitive */\n , 0);\n this.errors.push(error);\n }\n\n commit(heap, size) {\n this.encoder.encode(5\n /* Return */\n , 1024\n /* MACHINE_MASK */\n );\n var handle = commit(heap, size, this.encoder.buffer);\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, name, ...args) {\n if ((0, _vm.isMachineOp)(name)) {\n var operands = args.map((operand, i) => this.operand(constants, operand, i));\n return this.encoder.encode(name, 1024\n /* MACHINE_MASK */\n , ...operands);\n } else {\n var _operands = args.map((operand, i) => this.operand(constants, operand, i));\n\n return this.encoder.encode(name, 0, ..._operands);\n }\n }\n\n operand(constants, operand, index) {\n if (operand && typeof operand === 'object' && operand.type === 'label') {\n this.currentLabels.target(this.encoder.size + index, operand.value);\n return -1;\n }\n\n return constant(constants, operand);\n }\n\n get currentLabels() {\n return this.labelsStack.current;\n }\n\n label(name) {\n this.currentLabels.label(name, this.encoder.size);\n }\n\n startLabels() {\n this.labelsStack.push(new LabelsImpl());\n }\n\n stopLabels() {\n var label = this.labelsStack.pop();\n label.patch(this.encoder);\n }\n\n }\n\n function constant(constants, operand) {\n if (typeof operand === 'number' || typeof operand === 'function') {\n return operand;\n }\n\n if (typeof operand === 'boolean') {\n return operand === true ? 1 : 0;\n }\n\n if (typeof operand === 'string') {\n return constants.value(operand);\n }\n\n if (operand === null) {\n return 0;\n }\n\n switch (operand.type) {\n case 'string-array':\n return constants.array(operand.value);\n\n case 'serializable':\n return constants.serializable(operand.value);\n\n case 'stdlib':\n return operand;\n\n case 'immediate':\n return (0, _util.encodeImmediate)(operand.value);\n\n case 'primitive':\n case 'template-meta':\n case 'array':\n case 'other':\n return (0, _util.encodeHandle)(constants.value(operand.value));\n\n case 'lookup':\n throw (0, _util.unreachable)('lookup not reachable');\n\n default:\n return (0, _util.exhausted)(operand);\n }\n }\n\n function isSimpleOpcode(op) {\n return op === 'Label' || op === 'Option' || op === 'GetComponentLayout' || op === 'StartLabels' || op === 'StopLabels' || op === 'SimpleArgs' || op === 'JitCompileBlock' || op === 'SetBlock';\n }\n\n function isCompileOpcode(op) {\n return op === 'CompileInline' || op === 'CompileBlock' || op === 'InvokeStatic' || op === 'PushCompilable' || op === 'Args' || op === 'IfResolvedComponent' || op === 'DynamicComponent';\n }\n\n function isResolutionOpcode(op) {\n return op === 'IfResolved' || op === 'Expr' || op === 'SimpleArgs' || op === 'ResolveFree' || op === 'ResolveContextualFree';\n }\n\n function isErrorOpcode(op) {\n return op === 'Error';\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\n\n function CompileArgs({\n params,\n hash,\n blocks,\n atNames\n }) {\n var out = [];\n var blockNames = blocks.names;\n\n for (var i = 0; i < blockNames.length; i++) {\n out.push(PushYieldableBlock(blocks.get(blockNames[i])));\n }\n\n var {\n count,\n actions\n } = CompilePositional(params);\n out.push(actions);\n var flags = count << 4;\n if (atNames) flags |= 0b1000;\n\n if (blocks) {\n flags |= 0b111;\n }\n\n var names = _util.EMPTY_ARRAY;\n\n if (hash) {\n names = hash[0];\n var val = hash[1];\n\n for (var _i = 0; _i < val.length; _i++) {\n out.push(op('Expr', val[_i]));\n }\n }\n\n out.push(op(84\n /* PushArgs */\n , strArray(names), strArray(blockNames), flags));\n return out;\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 params an optional list of positional arguments\n */\n\n\n function CompilePositional(params) {\n if (!params) return {\n count: 0,\n actions: NONE\n };\n var actions = [];\n\n for (var i = 0; i < params.length; i++) {\n actions.push(op('Expr', params[i]));\n }\n\n return {\n count: params.length,\n actions\n };\n }\n\n function meta(layout) {\n return {\n asPartial: layout.asPartial || false,\n evalSymbols: evalSymbols(layout),\n upvars: layout.block.upvars,\n referrer: layout.referrer,\n size: layout.block.symbols.length\n };\n }\n\n function evalSymbols(layout) {\n var {\n block\n } = layout;\n return block.hasEval ? block.symbols : null;\n }\n\n var ATTRS_BLOCK = '&attrs';\n\n function StaticComponentHelper(context, tag, hash, template) {\n var component = resolveLayoutForTag(tag, context);\n\n if (component !== null) {\n var {\n compilable: compilable$$1,\n handle,\n capabilities\n } = component;\n\n if (compilable$$1) {\n if (hash) {\n for (var i = 0; i < hash.length; i = i + 2) {\n hash[i][0] = `@${hash[i][0]}`;\n }\n }\n\n var out = [op(80\n /* PushComponentDefinition */\n , handle)];\n out.push(InvokeStaticComponent({\n capabilities,\n layout: compilable$$1,\n attrs: null,\n params: null,\n hash,\n blocks: new NamedBlocksImpl({\n default: template\n })\n }));\n return out;\n }\n }\n\n return UNHANDLED;\n }\n\n function InvokeStaticComponent({\n capabilities,\n layout,\n attrs,\n params,\n hash,\n blocks\n }) {\n var {\n symbolTable\n } = layout;\n var bailOut = symbolTable.hasEval || capabilities.prepareArgs;\n\n if (bailOut) {\n return InvokeComponent({\n capabilities,\n attrs,\n params,\n hash,\n atNames: true,\n blocks,\n layout\n });\n }\n\n var out = [op(36\n /* Fetch */\n , _vm.$s0), op(33\n /* Dup */\n , _vm.$sp, 1), op(35\n /* Load */\n , _vm.$s0)];\n var {\n symbols\n } = symbolTable;\n\n if (capabilities.createArgs) {\n out.push(op(0\n /* PushFrame */\n ), op('SimpleArgs', {\n params,\n hash,\n atNames: true\n }));\n }\n\n out.push(op(100\n /* BeginComponentTransaction */\n ));\n\n if (capabilities.dynamicScope) {\n out.push(op(59\n /* PushDynamicScope */\n ));\n }\n\n if (capabilities.createInstance) {\n out.push(op(89\n /* CreateComponent */\n , blocks.has('default') | 0, _vm.$s0));\n }\n\n if (capabilities.createArgs) {\n out.push(op(1\n /* PopFrame */\n ));\n }\n\n out.push(op(0\n /* PushFrame */\n ), op(90\n /* RegisterComponentDestructor */\n , _vm.$s0));\n var bindings = [];\n out.push(op(92\n /* GetComponentSelf */\n , _vm.$s0));\n bindings.push({\n symbol: 0,\n isBlock: false\n });\n\n for (var i = 0; i < symbols.length; i++) {\n var symbol = symbols[i];\n\n switch (symbol.charAt(0)) {\n case '&':\n var callerBlock = void 0;\n\n if (symbol === ATTRS_BLOCK) {\n callerBlock = attrs;\n } else {\n callerBlock = blocks.get(symbol.slice(1));\n }\n\n if (callerBlock) {\n out.push(PushYieldableBlock(callerBlock));\n bindings.push({\n symbol: i + 1,\n isBlock: true\n });\n } else {\n out.push(PushYieldableBlock(null));\n bindings.push({\n symbol: i + 1,\n isBlock: true\n });\n }\n\n break;\n\n case '@':\n if (!hash) {\n break;\n }\n\n var [keys, values] = hash;\n var lookupName = symbol;\n var index = keys.indexOf(lookupName);\n\n if (index !== -1) {\n out.push(op('Expr', values[index]));\n bindings.push({\n symbol: i + 1,\n isBlock: false\n });\n }\n\n break;\n }\n }\n\n out.push(op(37\n /* RootScope */\n , symbols.length + 1, Object.keys(blocks).length > 0 ? 1 : 0));\n\n for (var _i2 = bindings.length - 1; _i2 >= 0; _i2--) {\n var {\n symbol: _symbol,\n isBlock\n } = bindings[_i2];\n\n if (isBlock) {\n out.push(op('SetBlock', _symbol));\n } else {\n out.push(op(19\n /* SetVariable */\n , _symbol));\n }\n }\n\n out.push(op('InvokeStatic', layout));\n\n if (capabilities.createInstance) {\n out.push(op(103\n /* DidRenderLayout */\n , _vm.$s0));\n }\n\n out.push(op(1\n /* PopFrame */\n ), op(40\n /* PopScope */\n ));\n\n if (capabilities.dynamicScope) {\n out.push(op(60\n /* PopDynamicScope */\n ));\n }\n\n out.push(op(101\n /* CommitComponentTransaction */\n ), op(35\n /* Load */\n , _vm.$s0));\n return out;\n }\n\n function InvokeDynamicComponent(meta$$1, {\n definition,\n attrs,\n params,\n hash,\n atNames,\n blocks\n }) {\n return Replayable({\n args: () => {\n return {\n count: 2,\n actions: [op('Expr', definition), op(33\n /* Dup */\n , _vm.$sp, 0)]\n };\n },\n body: () => {\n return [op(66\n /* JumpUnless */\n , label('ELSE')), op(83\n /* ResolveDynamicComponent */\n , templateMeta(meta$$1.referrer)), op(81\n /* PushDynamicComponentInstance */\n ), InvokeComponent({\n capabilities: true,\n attrs,\n params,\n hash,\n atNames,\n blocks\n }), op('Label', 'ELSE')];\n }\n });\n }\n\n function WrappedComponent(layout, attrsBlockNumber) {\n return [op('StartLabels'), WithSavedRegister(_vm.$s1, () => [op(93\n /* GetComponentTagName */\n , _vm.$s0), op(31\n /* PrimitiveReference */\n ), op(33\n /* Dup */\n , _vm.$sp, 0)]), op(66\n /* JumpUnless */\n , label('BODY')), op(36\n /* Fetch */\n , _vm.$s1), op(91\n /* PutComponentOperations */\n ), op(49\n /* OpenDynamicElement */\n ), op(102\n /* DidCreateElement */\n , _vm.$s0), YieldBlock(attrsBlockNumber, _util.EMPTY_ARRAY), op(54\n /* FlushElement */\n ), op('Label', 'BODY'), InvokeStaticBlock(blockForLayout(layout)), op(36\n /* Fetch */\n , _vm.$s1), op(66\n /* JumpUnless */\n , label('END')), op(55\n /* CloseElement */\n ), op('Label', 'END'), op(35\n /* Load */\n , _vm.$s1), op('StopLabels')];\n }\n\n function StaticComponent(component, args$$1) {\n var [params, hash, blocks] = args$$1;\n if (component === null) return NONE;\n var {\n compilable: compilable$$1,\n capabilities,\n handle\n } = component;\n\n if (compilable$$1) {\n return [op(80\n /* PushComponentDefinition */\n , handle), InvokeStaticComponent({\n capabilities: capabilities || MINIMAL_CAPABILITIES,\n layout: compilable$$1,\n attrs: null,\n params,\n hash,\n blocks\n })];\n } else {\n return [op(80\n /* PushComponentDefinition */\n , handle), InvokeComponent({\n capabilities: capabilities || MINIMAL_CAPABILITIES,\n attrs: null,\n params,\n hash,\n atNames: true,\n blocks\n })];\n }\n }\n\n function InvokeComponent({\n capabilities,\n attrs,\n params,\n hash,\n atNames,\n blocks: namedBlocks$$1,\n layout\n }) {\n var bindableBlocks = !!namedBlocks$$1;\n var bindableAtNames = capabilities === true || capabilities.prepareArgs || !!(hash && hash[0].length !== 0);\n var blocks = namedBlocks$$1.with('attrs', attrs);\n return [op(36\n /* Fetch */\n , _vm.$s0), op(33\n /* Dup */\n , _vm.$sp, 1), op(35\n /* Load */\n , _vm.$s0), op(0\n /* PushFrame */\n ), op('Args', {\n params,\n hash,\n blocks,\n atNames\n }), op(87\n /* PrepareArgs */\n , _vm.$s0), invokePreparedComponent(blocks.has('default'), bindableBlocks, bindableAtNames, () => {\n var out;\n\n if (layout) {\n out = [PushSymbolTable(layout.symbolTable), op('PushCompilable', layout), op('JitCompileBlock')];\n } else {\n out = [op('GetComponentLayout', _vm.$s0)];\n }\n\n out.push(op(98\n /* PopulateLayout */\n , _vm.$s0));\n return out;\n }), op(35\n /* Load */\n , _vm.$s0)];\n }\n\n function invokePreparedComponent(hasBlock, bindableBlocks, bindableAtNames, populateLayout = null) {\n var out = [op(100\n /* BeginComponentTransaction */\n ), op(59\n /* PushDynamicScope */\n ), op(89\n /* CreateComponent */\n , hasBlock | 0, _vm.$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 out.push(populateLayout());\n }\n\n out.push(op(90\n /* RegisterComponentDestructor */\n , _vm.$s0), op(92\n /* GetComponentSelf */\n , _vm.$s0), op(38\n /* VirtualRootScope */\n , _vm.$s0), op(19\n /* SetVariable */\n , 0), op(97\n /* SetupForEval */\n , _vm.$s0), bindableAtNames ? op(17\n /* SetNamedVariables */\n , _vm.$s0) : NONE, bindableBlocks ? op(18\n /* SetBlocks */\n , _vm.$s0) : NONE, op(34\n /* Pop */\n , 1), op(99\n /* InvokeComponentLayout */\n , _vm.$s0), op(103\n /* DidRenderLayout */\n , _vm.$s0), op(1\n /* PopFrame */\n ), op(40\n /* PopScope */\n ), op(60\n /* PopDynamicScope */\n ), op(101\n /* CommitComponentTransaction */\n ));\n return out;\n }\n\n function InvokeBareComponent() {\n return [op(36\n /* Fetch */\n , _vm.$s0), op(33\n /* Dup */\n , _vm.$sp, 1), op(35\n /* Load */\n , _vm.$s0), op(0\n /* PushFrame */\n ), op(85\n /* PushEmptyArgs */\n ), op(87\n /* PrepareArgs */\n , _vm.$s0), invokePreparedComponent(false, false, true, () => [op('GetComponentLayout', _vm.$s0), op(98\n /* PopulateLayout */\n , _vm.$s0)]), op(35\n /* Load */\n , _vm.$s0)];\n }\n\n function curryComponent({\n definition,\n params,\n hash,\n atNames\n }, referrer) {\n return [op(0\n /* PushFrame */\n ), op('SimpleArgs', {\n params,\n hash,\n atNames\n }), op(88\n /* CaptureArgs */\n ), op('Expr', definition), op(79\n /* CurryComponent */\n , templateMeta(referrer)), op(1\n /* PopFrame */\n ), op(36\n /* Fetch */\n , _vm.$v0)];\n }\n\n function blockForLayout(layout) {\n return compilableBlock(layout.block.statements, meta(layout));\n }\n\n function WithSavedRegister(register, block) {\n return [op(36\n /* Fetch */\n , register), block(), op(35\n /* Load */\n , register)];\n }\n\n class StdLib {\n constructor(main, trustingGuardedAppend, cautiousGuardedAppend) {\n this.main = main;\n this.trustingGuardedAppend = trustingGuardedAppend;\n this.cautiousGuardedAppend = cautiousGuardedAppend;\n }\n\n get 'trusting-append'() {\n return this.trustingGuardedAppend;\n }\n\n get 'cautious-append'() {\n return this.cautiousGuardedAppend;\n }\n\n getAppend(trusting) {\n return trusting ? this.trustingGuardedAppend : this.cautiousGuardedAppend;\n }\n\n }\n\n _exports.StdLib = StdLib;\n\n function main() {\n return [op(76\n /* Main */\n , _vm.$s0), invokePreparedComponent(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\n\n function StdAppend(trusting) {\n return [op(78\n /* ContentType */\n ), SwitchCases(when => {\n when(1\n /* String */\n , () => {\n if (trusting) {\n return [op(68\n /* AssertSame */\n ), op(43\n /* AppendHTML */\n )];\n } else {\n return op(47\n /* AppendText */\n );\n }\n });\n when(0\n /* Component */\n , () => [op(82\n /* PushCurriedComponent */\n ), op(81\n /* PushDynamicComponentInstance */\n ), InvokeBareComponent()]);\n when(3\n /* SafeString */\n , () => [op(68\n /* AssertSame */\n ), op(44\n /* AppendSafeHTML */\n )]);\n when(4\n /* Fragment */\n , () => [op(68\n /* AssertSame */\n ), op(45\n /* AppendDocumentFragment */\n )]);\n when(5\n /* Node */\n , () => [op(68\n /* AssertSame */\n ), op(46\n /* AppendNode */\n )]);\n })];\n }\n\n function compileStd(context) {\n var mainHandle = build(context, main);\n var trustingGuardedAppend = build(context, () => StdAppend(true));\n var cautiousGuardedAppend = build(context, () => StdAppend(false));\n return new StdLib(mainHandle, trustingGuardedAppend, cautiousGuardedAppend);\n }\n\n var STDLIB_META = {\n asPartial: false,\n evalSymbols: null,\n upvars: null,\n // TODO: ??\n referrer: {},\n size: 0\n };\n\n function build(program, callback) {\n var encoder = new EncoderImpl();\n var macros = new MacrosImpl();\n var stdContext = {\n encoder,\n meta: STDLIB_META,\n syntax: {\n macros,\n program\n }\n };\n concat(stdContext, callback());\n var result = encoder.commit(program.heap, 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\n class ProgramCompilationContext {\n constructor(delegate, mode) {\n this.mode = mode;\n this.constants = new _program.WriteOnlyConstants();\n this.heap = new _program.HeapImpl();\n this.resolverDelegate = delegate;\n this.stdlib = compileStd(this);\n }\n\n }\n\n _exports.ProgramCompilationContext = ProgramCompilationContext;\n\n class JitProgramCompilationContext {\n constructor(delegate) {\n this.constants = new _program.JitConstants();\n this.heap = new _program.HeapImpl();\n this.mode = \"jit\"\n /* jit */\n ;\n this.resolverDelegate = delegate;\n this.stdlib = compileStd(this);\n }\n\n }\n\n _exports.JitProgramCompilationContext = JitProgramCompilationContext;\n\n class PartialDefinitionImpl {\n constructor(name, // for debugging\n template) {\n this.name = name;\n this.template = template;\n }\n\n getPartial(context) {\n var partial = (0, _util.unwrapTemplate)(this.template).asPartial();\n var handle = partial.compile(context);\n return {\n symbolTable: partial.symbolTable,\n handle\n };\n }\n\n }\n\n _exports.PartialDefinitionImpl = PartialDefinitionImpl;\n\n class WrappedBuilder {\n constructor(layout) {\n this.layout = layout;\n this.compiled = null;\n var {\n block\n } = layout;\n var symbols = block.symbols.slice(); // ensure ATTRS_BLOCK is always included (only once) in the list of symbols\n\n var 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: block.hasEval,\n symbols\n };\n }\n\n compile(syntax) {\n if (this.compiled !== null) return this.compiled;\n var m = meta(this.layout);\n var context = templateCompilationContext(syntax, m);\n var actions = WrappedComponent(this.layout, this.attrsBlockNumber);\n concatStatements(context, actions);\n var handle = context.encoder.commit(context.syntax.program.heap, m.size);\n\n if (typeof handle !== 'number') {\n return handle;\n }\n\n this.compiled = handle;\n (0, _program.patchStdlibs)(context.syntax.program);\n return handle;\n }\n\n }\n\n _exports.WrappedBuilder = WrappedBuilder;\n var clientId = 0;\n\n function templateFactory({\n id: templateId,\n meta,\n block\n }) {\n var parsedBlock;\n var id = templateId || `client-${clientId++}`;\n\n var create = envMeta => {\n var newMeta = envMeta ? (0, _util.assign)({}, envMeta, meta) : meta;\n\n if (!parsedBlock) {\n parsedBlock = JSON.parse(block);\n }\n\n return new TemplateImpl({\n id,\n block: parsedBlock,\n referrer: newMeta\n });\n };\n\n return {\n id,\n meta,\n create\n };\n }\n\n class TemplateImpl {\n constructor(parsedLayout) {\n this.parsedLayout = parsedLayout;\n this.result = 'ok';\n this.layout = null;\n this.partial = null;\n this.wrappedLayout = null;\n var {\n block\n } = parsedLayout;\n this.symbols = block.symbols;\n this.hasEval = block.hasEval;\n this.referrer = parsedLayout.referrer;\n this.id = parsedLayout.id || `client-${clientId++}`;\n }\n\n asLayout() {\n if (this.layout) return this.layout;\n return this.layout = compilable((0, _util.assign)({}, this.parsedLayout, {\n asPartial: false\n }));\n }\n\n asPartial() {\n if (this.partial) return this.partial;\n return this.layout = compilable((0, _util.assign)({}, this.parsedLayout, {\n asPartial: true\n }));\n }\n\n asWrappedLayout() {\n if (this.wrappedLayout) return this.wrappedLayout;\n return this.wrappedLayout = new WrappedBuilder((0, _util.assign)({}, this.parsedLayout, {\n asPartial: false\n }));\n }\n\n }\n\n function Component(serialized, envMeta) {\n var parsed = JSON.parse(serialized);\n var factory = templateFactory(parsed);\n var template = (0, _util.unwrapTemplate)(factory.create(envMeta));\n return template.asLayout();\n }\n});","define(\"@glimmer/program\", [\"exports\", \"@glimmer/util\"], function (_exports, _util) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.hydrateHeap = hydrateHeap;\n _exports.hydrateProgram = hydrateProgram;\n _exports.patchStdlibs = patchStdlibs;\n _exports.programArtifacts = programArtifacts;\n _exports.artifacts = artifacts;\n _exports.RuntimeOpImpl = _exports.RuntimeProgramImpl = _exports.HeapImpl = _exports.RuntimeHeapImpl = _exports.JitConstants = _exports.RuntimeConstantsImpl = _exports.WriteOnlyConstants = void 0;\n var WELL_KNOWN_EMPTY_ARRAY = Object.freeze([]);\n var STARTER_CONSTANTS = (0, _util.constants)(WELL_KNOWN_EMPTY_ARRAY);\n var WELL_KNOWN_EMPTY_ARRAY_POSITION = STARTER_CONSTANTS.indexOf(WELL_KNOWN_EMPTY_ARRAY);\n\n class WriteOnlyConstants {\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 var indexMap = this.indexMap;\n var 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 var handles = new Array(values.length);\n\n for (var i = 0; i < values.length; i++) {\n handles[i] = this.value(values[i]);\n }\n\n return this.value(handles);\n }\n\n serializable(value) {\n var str = JSON.stringify(value);\n return this.value(str);\n }\n\n toPool() {\n return this.values;\n }\n\n }\n\n _exports.WriteOnlyConstants = WriteOnlyConstants;\n\n class RuntimeConstantsImpl {\n constructor(pool) {\n this.values = pool;\n }\n\n getValue(handle) {\n return this.values[handle];\n }\n\n getArray(value) {\n var handles = this.getValue(value);\n var reified = new Array(handles.length);\n\n for (var i = 0; i < handles.length; i++) {\n var n = handles[i];\n reified[i] = this.getValue(n);\n }\n\n return reified;\n }\n\n getSerializable(s) {\n return JSON.parse(this.values[s]);\n }\n\n }\n\n _exports.RuntimeConstantsImpl = RuntimeConstantsImpl;\n\n class JitConstants extends WriteOnlyConstants {\n constructor() {\n super(...arguments);\n this.reifiedArrs = {\n [WELL_KNOWN_EMPTY_ARRAY_POSITION]: WELL_KNOWN_EMPTY_ARRAY\n };\n }\n\n templateMeta(meta) {\n return this.value(meta);\n }\n\n getValue(index) {\n return this.values[index];\n }\n\n getArray(index) {\n var reifiedArrs = this.reifiedArrs;\n var reified = reifiedArrs[index];\n\n if (reified === undefined) {\n var names = this.getValue(index);\n reified = new Array(names.length);\n\n for (var 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 getSerializable(s) {\n return JSON.parse(this.getValue(s));\n }\n\n }\n\n _exports.JitConstants = JitConstants;\n\n class RuntimeOpImpl {\n constructor(heap) {\n this.heap = heap;\n this.offset = 0;\n }\n\n get size() {\n var 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 var 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\n _exports.RuntimeOpImpl = RuntimeOpImpl;\n\n function encodeTableInfo(scopeSize, state) {\n return state | scopeSize << 2;\n }\n\n function changeState(info, newState) {\n return info | newState << 30;\n }\n\n var PAGE_SIZE = 0x100000;\n\n class RuntimeHeapImpl {\n constructor(serializedHeap) {\n var {\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 scopesizeof(handle) {\n return scopesizeof(this.table, handle);\n }\n\n }\n\n _exports.RuntimeHeapImpl = RuntimeHeapImpl;\n\n function 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\n\n class HeapImpl {\n constructor() {\n this.placeholders = [];\n this.stdlibs = [];\n this.offset = 0;\n this.handle = 0;\n this.capacity = PAGE_SIZE;\n this.heap = new Int32Array(PAGE_SIZE);\n this.table = [];\n }\n\n push(item) {\n this.sizeCheck();\n this.heap[this.offset++] = item;\n }\n\n sizeCheck() {\n if (this.capacity === 0) {\n var heap = slice(this.heap, 0, this.offset);\n this.heap = new Int32Array(heap.length + PAGE_SIZE);\n this.heap.set(heap, 0);\n this.capacity = PAGE_SIZE;\n }\n\n this.capacity--;\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.table.push(this.offset, 0, 0);\n var handle = this.handle;\n this.handle += 3\n /* ENTRY_SIZE */\n ;\n return handle;\n }\n\n finishMalloc(handle, scopeSize) {\n this.table[handle + 1\n /* INFO_OFFSET */\n ] = encodeTableInfo(scopeSize, 0\n /* Allocated */\n );\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.table[handle];\n }\n\n gethandle(address) {\n this.table.push(address, encodeTableInfo(0, 3\n /* Pointer */\n ), 0);\n var handle = this.handle;\n this.handle += 3\n /* ENTRY_SIZE */\n ;\n return handle;\n }\n\n sizeof(handle) {\n return sizeof(this.table, handle);\n }\n\n scopesizeof(handle) {\n return scopesizeof(this.table, handle);\n }\n\n free(handle) {\n var info = this.table[handle + 1\n /* INFO_OFFSET */\n ];\n this.table[handle + 1\n /* INFO_OFFSET */\n ] = changeState(info, 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 var compactedSize = 0;\n var {\n table,\n table: {\n length\n },\n heap\n } = this;\n\n for (var i = 0; i < length; i += 3\n /* ENTRY_SIZE */\n ) {\n var offset = table[i];\n var info = table[i + 1\n /* INFO_OFFSET */\n ]; // @ts-ignore (this whole function is currently unused)\n\n var size = info & Size.SIZE_MASK;\n var state = info & 3\n /* STATE_MASK */\n >> 30;\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 table[i + 1\n /* INFO_OFFSET */\n ] = changeState(info, 2\n /* Purged */\n );\n compactedSize += size;\n } else if (state === 0\n /* Allocated */\n ) {\n for (var j = offset; j <= i + size; j++) {\n heap[j - compactedSize] = heap[j];\n }\n\n table[i] = offset - compactedSize;\n } else if (state === 3\n /* Pointer */\n ) {\n table[i] = offset - compactedSize;\n }\n }\n\n this.offset = this.offset - compactedSize;\n }\n\n pushPlaceholder(valueFunc) {\n this.sizeCheck();\n var address = this.offset++;\n this.heap[address] = 2147483647\n /* MAX_SIZE */\n ;\n this.placeholders.push([address, valueFunc]);\n }\n\n pushStdlib(operand) {\n this.sizeCheck();\n var address = this.offset++;\n this.heap[address] = 2147483647\n /* MAX_SIZE */\n ;\n this.stdlibs.push([address, operand]);\n }\n\n patchPlaceholders() {\n var {\n placeholders\n } = this;\n\n for (var i = 0; i < placeholders.length; i++) {\n var [address, getValue] = placeholders[i];\n this.setbyaddr(address, getValue());\n }\n }\n\n patchStdlibs(stdlib) {\n var {\n stdlibs\n } = this;\n\n for (var i = 0; i < stdlibs.length; i++) {\n var [address, {\n value\n }] = stdlibs[i];\n this.setbyaddr(address, stdlib[value]);\n }\n\n this.stdlibs = [];\n }\n\n capture(stdlib, offset = this.offset) {\n this.patchPlaceholders();\n this.patchStdlibs(stdlib); // Only called in eager mode\n\n var buffer = slice(this.heap, 0, offset).buffer;\n return {\n handle: this.handle,\n table: this.table,\n buffer: buffer\n };\n }\n\n }\n\n _exports.HeapImpl = HeapImpl;\n\n class 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 static hydrate(artifacts) {\n var heap = new RuntimeHeapImpl(artifacts.heap);\n var constants$$1 = new RuntimeConstantsImpl(artifacts.constants);\n return new RuntimeProgramImpl(constants$$1, heap);\n }\n\n opcode(offset) {\n this._opcode.offset = offset;\n return this._opcode;\n }\n\n }\n\n _exports.RuntimeProgramImpl = RuntimeProgramImpl;\n\n function hydrateProgram(artifacts) {\n var heap = new RuntimeHeapImpl(artifacts.heap);\n var constants$$1 = new RuntimeConstantsImpl(artifacts.constants);\n return new RuntimeProgramImpl(constants$$1, heap);\n }\n\n function slice(arr, start, end) {\n if (arr.slice !== undefined) {\n return arr.slice(start, end);\n }\n\n var ret = new Int32Array(end);\n\n for (; start < end; start++) {\n ret[start] = arr[start];\n }\n\n return ret;\n }\n\n function sizeof(table, handle) {\n {\n return -1;\n }\n }\n\n function scopesizeof(table, handle) {\n var info = table[handle + 1\n /* INFO_OFFSET */\n ];\n return info >> 2;\n }\n\n function patchStdlibs(program) {\n program.heap.patchStdlibs(program.stdlib);\n }\n\n function programArtifacts(program) {\n var heap = program.heap.capture(program.stdlib);\n var constants$$1 = program.constants.toPool();\n return {\n heap,\n constants: constants$$1\n };\n }\n\n function artifacts(syntax) {\n return programArtifacts(syntax.program);\n }\n});","define(\"@glimmer/reference\", [\"exports\", \"@glimmer/util\", \"@glimmer/validator\"], function (_exports, _util, _validator) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.isModified = isModified;\n _exports.IterationItemReference = _exports.PropertyReference = _exports.HelperRootReference = _exports.ComponentRootReference = _exports.RootReference = _exports.UPDATE_REFERENCED_VALUE = _exports.IterableReference = _exports.ConstReference = _exports.ReferenceCache = _exports.CachedReference = void 0;\n\n class CachedReference {\n constructor() {\n this.lastRevision = null;\n this.lastValue = null;\n }\n\n value() {\n var {\n tag,\n lastRevision,\n lastValue\n } = this;\n\n if (lastRevision === null || !(0, _validator.validateTag)(tag, lastRevision)) {\n lastValue = this.lastValue = this.compute();\n this.lastRevision = (0, _validator.valueForTag)(tag);\n }\n\n return lastValue;\n }\n\n invalidate() {\n this.lastRevision = null;\n }\n\n } //////////\n\n\n _exports.CachedReference = CachedReference;\n\n class ReferenceCache {\n constructor(reference) {\n this.lastValue = null;\n this.lastRevision = null;\n this.initialized = false;\n this.tag = reference.tag;\n this.reference = reference;\n }\n\n peek() {\n if (!this.initialized) {\n return this.initialize();\n }\n\n return this.lastValue;\n }\n\n revalidate() {\n if (!this.initialized) {\n return this.initialize();\n }\n\n var {\n reference,\n lastRevision\n } = this;\n var tag = reference.tag;\n if ((0, _validator.validateTag)(tag, lastRevision)) return NOT_MODIFIED;\n var {\n lastValue\n } = this;\n var currentValue = reference.value();\n this.lastRevision = (0, _validator.valueForTag)(tag);\n if (currentValue === lastValue) return NOT_MODIFIED;\n this.lastValue = currentValue;\n return currentValue;\n }\n\n initialize() {\n var {\n reference\n } = this;\n var currentValue = this.lastValue = reference.value();\n this.lastRevision = (0, _validator.valueForTag)(reference.tag);\n this.initialized = true;\n return currentValue;\n }\n\n }\n\n _exports.ReferenceCache = ReferenceCache;\n var NOT_MODIFIED = (0, _util.symbol)('NOT_MODIFIED');\n\n function isModified(value) {\n return value !== NOT_MODIFIED;\n }\n\n class PrimitiveReference {\n constructor(inner) {\n this.inner = inner;\n this.tag = _validator.CONSTANT_TAG;\n }\n\n value() {\n return this.inner;\n }\n\n get(_key) {\n return UNDEFINED_REFERENCE;\n }\n\n }\n\n var UNDEFINED_REFERENCE = new PrimitiveReference(undefined);\n\n class ConstReference {\n constructor(inner) {\n this.inner = inner;\n this.tag = _validator.CONSTANT_TAG;\n }\n\n value() {\n return this.inner;\n }\n\n get(_key) {\n return UNDEFINED_REFERENCE;\n }\n\n }\n\n _exports.ConstReference = ConstReference;\n var UPDATE_REFERENCED_VALUE = (0, _util.symbol)('UPDATE_REFERENCED_VALUE');\n /**\n * RootReferences refer to a constant root value within a template. For\n * instance, the `this` in `{{this.some.prop}}`. This is typically a:\n *\n * - Component\n * - Controller\n * - Helper\n *\n * Or another \"top level\" template construct, if you will. PropertyReferences\n * chain off a root reference in the template, and can then be passed around and\n * used at will.\n */\n\n _exports.UPDATE_REFERENCED_VALUE = UPDATE_REFERENCED_VALUE;\n\n class RootReference {\n constructor(env) {\n this.env = env;\n this.children = (0, _util.dict)();\n this.tag = _validator.CONSTANT_TAG;\n }\n\n get(key) {\n // References should in general be identical to one another, so we can usually\n // deduplicate them in production. However, in DEBUG we need unique references\n // so we can properly key off them for the logging context.\n if (true\n /* DEBUG */\n ) {\n // We register the template debug context now since the reference is\n // created before the component itself. It shouldn't be possible to cause\n // errors when accessing the root, only subproperties of the root, so this\n // should be fine for the time being. The exception is helpers, but they\n // set their context earlier.\n //\n // TODO: This points to a need for more first class support for arguments in\n // the debugRenderTree. The fact that we can't accurately relate an argument\n // reference to its component is problematic for debug tooling.\n if (!this.didSetupDebugContext) {\n this.didSetupDebugContext = true;\n this.env.setTemplatePathDebugContext(this, this.debugLogName || 'this', null);\n }\n\n return new PropertyReference(this, key, this.env);\n } else {\n var ref = this.children[key];\n\n if (ref === undefined) {\n ref = this.children[key] = new PropertyReference(this, key, this.env);\n }\n\n return ref;\n }\n }\n\n }\n\n _exports.RootReference = RootReference;\n\n class ComponentRootReference extends RootReference {\n constructor(inner, env) {\n super(env);\n this.inner = inner;\n }\n\n value() {\n return this.inner;\n }\n\n }\n\n _exports.ComponentRootReference = ComponentRootReference;\n\n class HelperRootReference extends RootReference {\n constructor(fn, args, env, debugName) {\n super(env);\n this.fn = fn;\n this.args = args;\n this.computeRevision = null;\n this.computeTag = null;\n\n if (true\n /* DEBUG */\n ) {\n var name = debugName || fn.name;\n env.setTemplatePathDebugContext(this, `(result of a \\`${name}\\` helper)`, null);\n this.didSetupDebugContext = true;\n }\n\n if ((0, _validator.isConstTagged)(args)) {\n this.compute();\n }\n\n var {\n tag,\n computeTag\n } = this;\n\n if (computeTag !== null && (0, _validator.isConstTag)(computeTag)) {\n // If the args are constant, and the first computation is constant, then\n // the helper itself is constant and will never update.\n tag = this.tag = _validator.CONSTANT_TAG;\n this.computeRevision = (0, _validator.valueForTag)(tag);\n } else {\n var valueTag = this.valueTag = (0, _validator.createUpdatableTag)();\n tag = this.tag = (0, _validator.combine)([args.tag, valueTag]);\n\n if (computeTag !== null) {\n // We computed once, so setup the cache state correctly\n (0, _validator.updateTag)(valueTag, computeTag);\n this.computeRevision = (0, _validator.valueForTag)(tag);\n }\n }\n }\n\n compute() {\n this.computeTag = (0, _validator.track)(() => {\n this.computeValue = this.fn(this.args);\n }, true\n /* DEBUG */\n && this.env.getTemplatePathDebugContext(this));\n }\n\n value() {\n var {\n tag,\n computeRevision\n } = this;\n\n if (computeRevision === null || !(0, _validator.validateTag)(tag, computeRevision)) {\n this.compute();\n (0, _validator.updateTag)(this.valueTag, this.computeTag);\n this.computeRevision = (0, _validator.valueForTag)(tag);\n }\n\n return this.computeValue;\n }\n\n }\n /**\n * PropertyReferences represent a property that has been accessed on a root, or\n * another property (or iterable, see below). `some` and `prop` in\n * `{{this.some.prop}}` are each property references, `some` being a property of\n * `this`, and `prop` being a property of `some`. They are constructed by\n * recursively calling `get` on the previous reference as a template chain is\n * followed.\n */\n\n\n _exports.HelperRootReference = HelperRootReference;\n\n class PropertyReference {\n constructor(parentReference, propertyKey, env) {\n this.parentReference = parentReference;\n this.propertyKey = propertyKey;\n this.env = env;\n this.children = (0, _util.dict)();\n this.lastRevision = null;\n\n if (true\n /* DEBUG */\n ) {\n env.setTemplatePathDebugContext(this, propertyKey, parentReference);\n }\n\n var valueTag = this.valueTag = (0, _validator.createUpdatableTag)();\n var parentReferenceTag = parentReference.tag;\n this.tag = (0, _validator.combine)([parentReferenceTag, valueTag]);\n }\n\n value() {\n var {\n tag,\n lastRevision,\n lastValue,\n parentReference,\n valueTag,\n propertyKey\n } = this;\n\n if (lastRevision === null || !(0, _validator.validateTag)(tag, lastRevision)) {\n var parentValue = parentReference.value();\n\n if ((0, _util.isDict)(parentValue)) {\n var combined = (0, _validator.track)(() => {\n lastValue = this.env.getPath(parentValue, propertyKey);\n }, true\n /* DEBUG */\n && this.env.getTemplatePathDebugContext(this));\n (0, _validator.updateTag)(valueTag, combined);\n } else {\n lastValue = undefined;\n }\n\n this.lastValue = lastValue;\n this.lastRevision = (0, _validator.valueForTag)(tag);\n }\n\n return lastValue;\n }\n\n get(key) {\n // References should in general be identical to one another, so we can usually\n // deduplicate them in production. However, in DEBUG we need unique references\n // so we can properly key off them for the logging context.\n if (true\n /* DEBUG */\n ) {\n return new PropertyReference(this, key, this.env);\n } else {\n var ref = this.children[key];\n\n if (ref === undefined) {\n ref = this.children[key] = new PropertyReference(this, key, this.env);\n }\n\n return ref;\n }\n }\n\n [UPDATE_REFERENCED_VALUE](value) {\n var {\n parentReference,\n propertyKey\n } = this;\n var parentValue = parentReference.value();\n this.env.setPath(parentValue, propertyKey, value);\n }\n\n } //////////\n\n /**\n * IterationItemReferences represent an individual item in an iterable `each`.\n * They are similar to PropertyReferences, but since iteration items need to be\n * updated they have slightly different behavior. Concretely, they are the\n * `item` in:\n *\n * ```hbs\n * {{#each this.items as |item|}}\n * {{item.foo}}\n * {{/each}}\n * ```\n *\n * Properties can chain off an iteration item, just like with the other template\n * reference types.\n */\n\n\n _exports.PropertyReference = PropertyReference;\n\n class IterationItemReference {\n constructor(parentReference, itemValue, itemKey, env) {\n this.parentReference = parentReference;\n this.itemValue = itemValue;\n this.env = env;\n this.tag = (0, _validator.createUpdatableTag)();\n this.children = (0, _util.dict)();\n\n if (true\n /* DEBUG */\n ) {\n env.setTemplatePathDebugContext(this, (0, _util.debugToString)(itemKey), parentReference);\n }\n }\n\n value() {\n return this.itemValue;\n }\n\n update(value) {\n var {\n itemValue\n } = this; // TODO: refactor this https://github.com/glimmerjs/glimmer-vm/issues/1101\n\n if (value !== itemValue) {\n (0, _validator.dirtyTag)(this.tag);\n this.itemValue = value;\n }\n }\n\n get(key) {\n // References should in general be identical to one another, so we can usually\n // deduplicate them in production. However, in DEBUG we need unique references\n // so we can properly key off them for the logging context.\n if (true\n /* DEBUG */\n ) {\n return new PropertyReference(this, key, this.env);\n } else {\n var ref = this.children[key];\n\n if (ref === undefined) {\n ref = this.children[key] = new PropertyReference(this, key, this.env);\n }\n\n return ref;\n }\n }\n\n }\n\n _exports.IterationItemReference = IterationItemReference;\n var NULL_IDENTITY = {};\n\n var KEY = (_, index) => index;\n\n var INDEX = (_, index) => String(index);\n\n var 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\n function keyForPath(path, getPath) {\n if (true\n /* DEBUG */\n && 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\n function makeKeyFor(key, getPath) {\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, getPath);\n }\n }\n\n class 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 ((0, _util.isObject)(key) || typeof key === 'function') {\n this.weakMap.set(key, value);\n } else {\n this.primitiveMap.set(key, value);\n }\n }\n\n get(key) {\n if ((0, _util.isObject)(key) || typeof key === 'function') {\n return this.weakMap.get(key);\n } else {\n return this.primitiveMap.get(key);\n }\n }\n\n }\n\n var IDENTITIES = new WeakMapWithPrimitives();\n\n function identityForNthOccurence(value, count) {\n var identities = IDENTITIES.get(value);\n\n if (identities === undefined) {\n identities = [];\n IDENTITIES.set(value, identities);\n }\n\n var 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\n function uniqueKeyFor(keyFor) {\n var seen = new WeakMapWithPrimitives();\n return (value, memo) => {\n var key = keyFor(value, memo);\n var 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\n class IterableReference {\n constructor(parentRef, key, env) {\n this.parentRef = parentRef;\n this.key = key;\n this.env = env;\n this.iterator = null;\n this.tag = parentRef.tag;\n }\n\n value() {\n return !this.isEmpty();\n }\n\n isEmpty() {\n var iterator = this.iterator = this.createIterator();\n return iterator.isEmpty();\n }\n\n next() {\n var iterator = this.iterator;\n var item = iterator.next();\n\n if (item === null) {\n this.iterator = null;\n }\n\n return item;\n }\n\n createIterator() {\n var {\n parentRef,\n key,\n env\n } = this;\n var iterable = parentRef.value();\n var keyFor = makeKeyFor(key, env.getPath);\n\n if (Array.isArray(iterable)) {\n return new ArrayIterator(iterable, keyFor);\n }\n\n var maybeIterator = env.toIterator(iterable);\n\n if (maybeIterator === null) {\n return new ArrayIterator(_util.EMPTY_ARRAY, () => null);\n }\n\n return new IteratorWrapper(maybeIterator, keyFor);\n }\n\n childRefFor(key, value) {\n var {\n parentRef,\n env\n } = this;\n return new IterationItemReference(parentRef, value, true\n /* DEBUG */\n ? `(key: ${(0, _util.debugToString)(key)}` : '', env);\n }\n\n }\n\n _exports.IterableReference = IterableReference;\n\n class 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 var 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\n class 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 var value;\n var 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 var {\n keyFor\n } = this;\n var key = keyFor(value, this.pos);\n var memo = this.pos;\n return {\n key,\n value,\n memo\n };\n }\n\n }\n});","define(\"@glimmer/runtime\", [\"exports\", \"@glimmer/util\", \"@glimmer/reference\", \"@glimmer/validator\", \"@glimmer/program\", \"@glimmer/vm\", \"@glimmer/low-level\"], function (_exports, _util, _reference, _validator, _program, _vm2, _lowLevel) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.clear = clear;\n _exports.capabilityFlagsFrom = capabilityFlagsFrom;\n _exports.hasCapability = hasCapability;\n _exports.resetDebuggerCallback = resetDebuggerCallback;\n _exports.setDebuggerCallback = setDebuggerCallback;\n _exports.curry = curry;\n _exports.isCurriedComponentDefinition = isCurriedComponentDefinition;\n _exports.isWhitespace = isWhitespace;\n _exports.normalizeProperty = normalizeProperty;\n _exports.AotRuntime = AotRuntime;\n _exports.JitRuntime = JitRuntime;\n _exports.inTransaction = inTransaction;\n _exports.getDynamicVar = getDynamicVar;\n _exports.renderAot = renderAot;\n _exports.renderAotComponent = renderAotComponent;\n _exports.renderAotMain = renderAotMain;\n _exports.renderJitComponent = renderJitComponent;\n _exports.renderJitMain = renderJitMain;\n _exports.renderSync = renderSync;\n _exports.dynamicAttribute = dynamicAttribute;\n _exports.clientBuilder = clientBuilder;\n _exports.isSerializationFirstNode = isSerializationFirstNode;\n _exports.rehydrationBuilder = rehydrationBuilder;\n _exports.destroy = destroy;\n _exports.registerDestructor = registerDestructor;\n _exports.unregisterDestructor = unregisterDestructor;\n _exports.associateDestroyableChild = associateDestroyableChild;\n _exports.isDestroying = isDestroying;\n _exports.isDestroyed = isDestroyed;\n _exports.setScheduleDestroy = setScheduleDestroy;\n _exports.setScheduleDestroyed = setScheduleDestroyed;\n _exports._destroyChildren = destroyChildren;\n _exports.TEMPLATE_ONLY_COMPONENT = _exports.SimpleComponentManager = _exports._scheduleDestroyed = _exports._scheduleDestroy = _exports.assertDestroyablesDestroyed = _exports.enableDestroyableTracking = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.RehydrateBuilder = _exports.RemoteLiveBlock = _exports.UpdatableBlockImpl = _exports.NewElementBuilder = _exports.SimpleDynamicAttribute = _exports.DynamicAttribute = _exports.CapturedPositionalArgumentsImpl = _exports.CapturedNamedArgumentsImpl = _exports.CapturedArgumentsImpl = _exports.EMPTY_ARGS = _exports.LowLevelVM = _exports.UpdatingVM = _exports.UNDEFINED_REFERENCE = _exports.PrimitiveReference = _exports.NULL_REFERENCE = _exports.ConditionalReference = _exports.ScopeImpl = _exports.EnvironmentImpl = _exports.DefaultDynamicScope = _exports.DOMTreeConstruction = _exports.IDOMChanges = _exports.DOMChanges = _exports.MINIMAL_CAPABILITIES = _exports.DEFAULT_CAPABILITIES = _exports.CurriedComponentDefinition = _exports.CursorImpl = _exports.ConcreteBounds = void 0;\n // the VM in other classes, but are not intended to be a part of\n // Glimmer's API.\n var INNER_VM = (0, _util.symbol)('INNER_VM');\n var DESTROYABLE_STACK = (0, _util.symbol)('DESTROYABLE_STACK');\n var STACKS = (0, _util.symbol)('STACKS');\n var REGISTERS = (0, _util.symbol)('REGISTERS');\n var HEAP = (0, _util.symbol)('HEAP');\n var CONSTANTS = (0, _util.symbol)('CONSTANTS');\n var ARGS = (0, _util.symbol)('ARGS');\n var PC = (0, _util.symbol)('PC');\n\n class CursorImpl {\n constructor(element, nextSibling) {\n this.element = element;\n this.nextSibling = nextSibling;\n }\n\n }\n\n _exports.CursorImpl = CursorImpl;\n\n class 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 }\n\n _exports.ConcreteBounds = ConcreteBounds;\n\n class 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 }\n\n function move(bounds, reference) {\n var parent = bounds.parentElement();\n var first = bounds.firstNode();\n var last = bounds.lastNode();\n var current = first;\n\n while (true) {\n var next = current.nextSibling;\n parent.insertBefore(current, reference);\n\n if (current === last) {\n return next;\n }\n\n current = next;\n }\n }\n\n function clear(bounds) {\n var parent = bounds.parentElement();\n var first = bounds.firstNode();\n var last = bounds.lastNode();\n var current = first;\n\n while (true) {\n var next = current.nextSibling;\n parent.removeChild(current);\n\n if (current === last) {\n return next;\n }\n\n current = next;\n }\n }\n\n var DESTROYABLE_META = new WeakMap();\n\n function 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\n function iterate(collection, fn) {\n if (Array.isArray(collection)) {\n for (var i = 0; i < collection.length; i++) {\n fn(collection[i]);\n }\n } else if (collection !== null) {\n fn(collection);\n }\n }\n\n function remove(collection, item, message) {\n if (true\n /* DEBUG */\n ) {\n var collectionIsItem = collection === item;\n var 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 var index = collection.indexOf(item);\n collection.splice(index, 1);\n return collection;\n } else {\n return null;\n }\n }\n\n function getDestroyableMeta(destroyable) {\n var 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 (true\n /* DEBUG */\n ) {\n meta.source = destroyable;\n }\n\n DESTROYABLE_META.set(destroyable, meta);\n }\n\n return meta;\n }\n\n function associateDestroyableChild(parent, child) {\n if (true\n /* DEBUG */\n && isDestroying(parent)) {\n throw new Error('Attempted to associate a destroyable child with an object that is already destroying or destroyed');\n }\n\n var parentMeta = getDestroyableMeta(parent);\n var childMeta = getDestroyableMeta(child);\n parentMeta.children = push(parentMeta.children, child);\n childMeta.parents = push(childMeta.parents, parent);\n return child;\n }\n\n function registerDestructor(destroyable, destructor, eager = false) {\n if (true\n /* DEBUG */\n && isDestroying(destroyable)) {\n throw new Error('Attempted to register a destructor with an object that is already destroying or destroyed');\n }\n\n var meta = getDestroyableMeta(destroyable);\n var destructorsKey = eager === true ? 'eagerDestructors' : 'destructors';\n meta[destructorsKey] = push(meta[destructorsKey], destructor);\n return destructor;\n }\n\n function unregisterDestructor(destroyable, destructor, eager = false) {\n if (true\n /* DEBUG */\n && isDestroying(destroyable)) {\n throw new Error('Attempted to unregister a destructor with an object that is already destroying or destroyed');\n }\n\n var meta = getDestroyableMeta(destroyable);\n var destructorsKey = eager === true ? 'eagerDestructors' : 'destructors';\n meta[destructorsKey] = remove(meta[destructorsKey], destructor, true\n /* DEBUG */\n && 'attempted to remove a destructor that was not registered with the destroyable');\n } ////////////\n\n\n var scheduleDestroy = true\n /* DEBUG */\n ? () => {\n throw new Error('Must provide a scheduleDestroy method');\n } : () => {};\n _exports._scheduleDestroy = scheduleDestroy;\n var scheduleDestroyed = true\n /* DEBUG */\n ? () => {\n throw new Error('Must provide a scheduleDestroyed method');\n } : () => {};\n _exports._scheduleDestroyed = scheduleDestroyed;\n\n function destroy(destroyable) {\n var meta = getDestroyableMeta(destroyable);\n if (meta.state >= 1\n /* Destroying */\n ) return;\n var {\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\n function removeChildFromParent(child, parent) {\n var parentMeta = getDestroyableMeta(parent);\n\n if (parentMeta.state === 0\n /* Live */\n ) {\n parentMeta.children = remove(parentMeta.children, child, true\n /* DEBUG */\n && \"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\n function destroyChildren(destroyable) {\n var {\n children\n } = getDestroyableMeta(destroyable);\n iterate(children, destroy);\n }\n\n function setScheduleDestroy(fn) {\n _exports._scheduleDestroy = scheduleDestroy = fn;\n }\n\n function setScheduleDestroyed(fn) {\n _exports._scheduleDestroyed = scheduleDestroyed = fn;\n }\n\n function isDestroying(destroyable) {\n var meta = DESTROYABLE_META.get(destroyable);\n return meta === undefined ? false : meta.state >= 1\n /* Destroying */\n ;\n }\n\n function isDestroyed(destroyable) {\n var meta = DESTROYABLE_META.get(destroyable);\n return meta === undefined ? false : meta.state >= 2\n /* Destroyed */\n ;\n } ////////////\n\n\n var enableDestroyableTracking;\n _exports.enableDestroyableTracking = enableDestroyableTracking;\n var assertDestroyablesDestroyed;\n _exports.assertDestroyablesDestroyed = assertDestroyablesDestroyed;\n\n if (true\n /* DEBUG */\n ) {\n var isTesting = false;\n\n _exports.enableDestroyableTracking = enableDestroyableTracking = () => {\n if (isTesting) {\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 _exports.assertDestroyablesDestroyed = 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 var map = DESTROYABLE_META;\n DESTROYABLE_META = new WeakMap();\n var 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 var objectsToString = undestroyed.map(_util.debugToString).join('\\n ');\n var error = new Error(`Some destroyables were not destroyed during this test:\\n ${objectsToString}`);\n error.destroyables = undestroyed;\n throw error;\n }\n };\n }\n\n var _a;\n\n class First {\n constructor(node) {\n this.node = node;\n }\n\n firstNode() {\n return this.node;\n }\n\n }\n\n class Last {\n constructor(node) {\n this.node = node;\n }\n\n lastNode() {\n return this.node;\n }\n\n }\n\n var CURSOR_STACK = (0, _util.symbol)('CURSOR_STACK');\n\n class NewElementBuilder {\n constructor(env, parentNode, nextSibling) {\n this.constructing = null;\n this.operations = null;\n this[_a] = new _util.Stack();\n this.modifierStack = new _util.Stack();\n this.blockStack = new _util.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 var parentNode = block.parentElement();\n var nextSibling = block.reset(env);\n var 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 var 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 var 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 var parent = this.element;\n var 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 var 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 var {\n dom,\n element,\n nextSibling\n } = this;\n var 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 var first = fragment.firstChild;\n\n if (first) {\n var 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 var bounds = this.trustedContent(value);\n this.didAppendBounds(bounds);\n }\n\n appendDynamicText(value) {\n var node = this.untrustedContent(value);\n this.didAppendNode(node);\n return node;\n }\n\n appendDynamicFragment(value) {\n var bounds = this.__appendFragment(value);\n\n this.didAppendBounds(bounds);\n }\n\n appendDynamicNode(value) {\n var node = this.__appendNode(value);\n\n var 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 var {\n dom,\n element,\n nextSibling\n } = this;\n var 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 var element = this.constructing;\n var attribute = this.env.attributeFor(element, name, trusting, namespace);\n attribute.set(this, value, this.env);\n return attribute;\n }\n\n }\n\n _exports.NewElementBuilder = NewElementBuilder;\n _a = CURSOR_STACK;\n\n class 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 var first = this.first;\n return first.firstNode();\n }\n\n lastNode() {\n var 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 }\n\n class 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 }\n\n _exports.RemoteLiveBlock = RemoteLiveBlock;\n\n class UpdatableBlockImpl extends SimpleLiveBlock {\n reset() {\n destroy(this);\n var 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\n\n _exports.UpdatableBlockImpl = UpdatableBlockImpl;\n\n class 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 var head = this.boundList[0];\n return head.firstNode();\n }\n\n lastNode() {\n var boundList = this.boundList;\n var tail = boundList[boundList.length - 1];\n return tail.lastNode();\n }\n\n openElement(_element) {}\n\n closeElement() {}\n\n didAppendNode(_node) {}\n\n didAppendBounds(_bounds) {}\n\n finalize(_stack) {}\n\n }\n\n function clientBuilder(env, cursor) {\n return NewElementBuilder.forInitialRender(env, cursor);\n } // http://www.w3.org/TR/html/syntax.html#html-integration-point\n\n\n var 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\n var BLACKLIST_TABLE = Object.create(null);\n\n class DOMOperations {\n constructor(document) {\n this.document = document;\n this.setupUselessElement();\n } // split into seperate 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 var 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 var comment = this.createComment('');\n parent.insertBefore(comment, nextSibling);\n return new ConcreteBounds(parent, comment, comment);\n }\n\n var prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n var 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 var {\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 var 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 }\n\n function moveNodesBefore(source, target, nextSibling) {\n var first = source.firstChild;\n var last = first;\n var current = first;\n\n while (current) {\n var 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\n var 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\n function applySVGInnerHTMLFix(document, DOMClass, svgNamespace) {\n if (!document) return DOMClass;\n\n if (!shouldApplyFix(document, svgNamespace)) {\n return DOMClass;\n }\n\n var 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\n function fixSVG(parent, div, html, reference) {\n var source; // This is important, because decendants 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 var wrappedHtml = '<svg><foreignObject>' + html + '</foreignObject></svg>';\n (0, _util.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 var _wrappedHtml = '<svg>' + html + '</svg>';\n\n (0, _util.clearElement)(div);\n div.insertAdjacentHTML(\"afterbegin\"\n /* afterbegin */\n , _wrappedHtml);\n source = div.firstChild;\n }\n\n return moveNodesBefore(source, parent, reference);\n }\n\n function shouldApplyFix(document, svgNamespace) {\n var 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 } // 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 exmaple 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.\n\n\n function 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 var didSetUselessComment = false;\n var 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 var 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\n function shouldApplyFix$1(document) {\n var 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);\n var WHITESPACE = /[\\t-\\r \\xA0\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF]/;\n var doc = typeof document === 'undefined' ? null : document;\n\n function isWhitespace(string) {\n return WHITESPACE.test(string);\n }\n\n var 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 var appliedTreeContruction = TreeConstruction;\n appliedTreeContruction = applyTextNodeMergingFix(doc, appliedTreeContruction);\n appliedTreeContruction = applySVGInnerHTMLFix(doc, appliedTreeContruction, \"http://www.w3.org/2000/svg\"\n /* SVG */\n );\n DOM.DOMTreeConstruction = appliedTreeContruction;\n })(DOM || (DOM = {}));\n\n class 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 }\n\n _exports.IDOMChanges = DOMChangesImpl;\n var helper = DOMChangesImpl;\n helper = applyTextNodeMergingFix(doc, helper);\n helper = applySVGInnerHTMLFix(doc, helper, \"http://www.w3.org/2000/svg\"\n /* SVG */\n );\n var helper$1 = helper;\n _exports.DOMChanges = helper$1;\n var DOMTreeConstruction = DOM.DOMTreeConstruction;\n _exports.DOMTreeConstruction = DOMTreeConstruction;\n\n class PrimitiveReference extends _reference.ConstReference {\n static create(value) {\n if (value === undefined) {\n return UNDEFINED_REFERENCE;\n } else if (value === null) {\n return NULL_REFERENCE;\n } else if (value === true) {\n return TRUE_REFERENCE;\n } else if (value === false) {\n return FALSE_REFERENCE;\n } else if (typeof value === 'number') {\n return new ValueReference(value);\n } else {\n return new StringReference(value);\n }\n }\n\n constructor(value) {\n super(value);\n }\n\n get(_key) {\n return UNDEFINED_REFERENCE;\n }\n\n }\n\n _exports.PrimitiveReference = PrimitiveReference;\n\n class StringReference extends PrimitiveReference {\n constructor() {\n super(...arguments);\n this.lengthReference = null;\n }\n\n get(key) {\n if (key === 'length') {\n var {\n lengthReference\n } = this;\n\n if (lengthReference === null) {\n lengthReference = this.lengthReference = new ValueReference(this.inner.length);\n }\n\n return lengthReference;\n } else {\n return super.get(key);\n }\n }\n\n }\n\n class ValueReference extends PrimitiveReference {\n constructor(value) {\n super(value);\n }\n\n }\n\n var UNDEFINED_REFERENCE = new ValueReference(undefined);\n _exports.UNDEFINED_REFERENCE = UNDEFINED_REFERENCE;\n var NULL_REFERENCE = new ValueReference(null);\n _exports.NULL_REFERENCE = NULL_REFERENCE;\n var TRUE_REFERENCE = new ValueReference(true);\n var FALSE_REFERENCE = new ValueReference(false);\n\n class ConditionalReference {\n constructor(inner, toBool = defaultToBool) {\n this.inner = inner;\n this.toBool = toBool;\n this._tag = (0, _validator.createUpdatableTag)();\n this.tag = (0, _validator.combine)([inner.tag, this._tag]);\n }\n\n value() {\n var ret;\n var {\n toBool,\n inner\n } = this;\n var tag = (0, _validator.track)(() => ret = toBool(inner.value()));\n (0, _validator.updateTag)(this._tag, tag);\n return ret;\n }\n\n }\n\n _exports.ConditionalReference = ConditionalReference;\n\n function defaultToBool(value) {\n return !!value;\n }\n\n function normalizeStringValue(value) {\n if (isEmpty(value)) {\n return '';\n }\n\n return String(value);\n }\n\n function shouldCoerce(value) {\n return isString(value) || isEmpty(value) || typeof value === 'boolean' || typeof value === 'number';\n }\n\n function isEmpty(value) {\n return value === null || value === undefined || typeof value.toString !== 'function';\n }\n\n function isSafeString(value) {\n return typeof value === 'object' && value !== null && typeof value.toHTML === 'function';\n }\n\n function isNode(value) {\n return typeof value === 'object' && value !== null && typeof value.nodeType === 'number';\n }\n\n function isFragment(value) {\n return isNode(value) && value.nodeType === 11;\n }\n\n function isString(value) {\n return typeof value === 'string';\n }\n /*\n * @method normalizeProperty\n * @param element {HTMLElement}\n * @param slotName {String}\n * @returns {Object} { name, type }\n */\n\n\n function normalizeProperty(element, slotName) {\n var type, normalized;\n\n if (slotName in element) {\n normalized = slotName;\n type = 'prop';\n } else {\n var 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 } // * browser bug\n // * strange spec outlier\n\n\n var 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 BUTTON: {\n form: true\n }\n };\n\n function preferAttr(tagName, propName) {\n var tag = ATTR_OVERRIDES[tagName.toUpperCase()];\n return tag && tag[propName.toLowerCase()] || false;\n }\n\n var badProtocols = ['javascript:', 'vbscript:'];\n var badTags = ['A', 'BODY', 'LINK', 'IMG', 'IFRAME', 'BASE', 'FORM'];\n var badTagsForDataURI = ['EMBED'];\n var badAttributes = ['href', 'src', 'background', 'action'];\n var badAttributesForDataURI = ['src'];\n\n function has(array, item) {\n return array.indexOf(item) !== -1;\n }\n\n function checkURI(tagName, attribute) {\n return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n }\n\n function checkDataURI(tagName, attribute) {\n if (tagName === null) return false;\n return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n }\n\n function requiresSanitization(tagName, attribute) {\n return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n }\n\n function sanitizeAttributeValue(env, element, attribute, value) {\n var 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 var str = normalizeStringValue(value);\n\n if (checkURI(tagName, attribute)) {\n var protocol = env.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\n function dynamicAttribute(element, attr, namespace) {\n var {\n tagName,\n namespaceURI\n } = element;\n var attribute = {\n element,\n name: attr,\n namespace\n };\n\n if (namespaceURI === \"http://www.w3.org/2000/svg\"\n /* SVG */\n ) {\n return buildDynamicAttribute(tagName, attr, attribute);\n }\n\n var {\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\n function buildDynamicAttribute(tagName, name, attribute) {\n if (requiresSanitization(tagName, name)) {\n return new SafeDynamicAttribute(attribute);\n } else {\n return new SimpleDynamicAttribute(attribute);\n }\n }\n\n function 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\n class DynamicAttribute {\n constructor(attribute) {\n this.attribute = attribute;\n }\n\n }\n\n _exports.DynamicAttribute = DynamicAttribute;\n\n class SimpleDynamicAttribute extends DynamicAttribute {\n set(dom, value, _env) {\n var normalizedValue = normalizeValue(value);\n\n if (normalizedValue !== null) {\n var {\n name: _name2,\n namespace\n } = this.attribute;\n\n dom.__setAttribute(_name2, normalizedValue, namespace);\n }\n }\n\n update(value, _env) {\n var normalizedValue = normalizeValue(value);\n var {\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 }\n\n _exports.SimpleDynamicAttribute = SimpleDynamicAttribute;\n\n class 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 var {\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 var {\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 }\n\n class SafeDynamicProperty extends DefaultDynamicProperty {\n set(dom, value, env) {\n var {\n element,\n name\n } = this.attribute;\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n super.set(dom, sanitized, env);\n }\n\n update(value, env) {\n var {\n element,\n name\n } = this.attribute;\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n super.update(sanitized, env);\n }\n\n }\n\n class SafeDynamicAttribute extends SimpleDynamicAttribute {\n set(dom, value, env) {\n var {\n element,\n name\n } = this.attribute;\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n super.set(dom, sanitized, env);\n }\n\n update(value, env) {\n var {\n element,\n name\n } = this.attribute;\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n super.update(sanitized, env);\n }\n\n }\n\n class InputValueDynamicAttribute extends DefaultDynamicProperty {\n set(dom, value) {\n dom.__setProperty('value', normalizeStringValue(value));\n }\n\n update(value) {\n var input = this.attribute.element;\n var currentValue = input.value;\n var normalizedValue = normalizeStringValue(value);\n\n if (currentValue !== normalizedValue) {\n input.value = normalizedValue;\n }\n }\n\n }\n\n class 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 var option = this.attribute.element;\n\n if (value) {\n option.selected = true;\n } else {\n option.selected = false;\n }\n }\n\n }\n\n function isOptionSelected(tagName, attribute) {\n return tagName === 'OPTION' && attribute === 'selected';\n }\n\n function isUserInputValue(tagName, attribute) {\n return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n }\n\n function 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\n var _a$1;\n\n class ScopeImpl {\n constructor( // the 0th slot is `self`\n slots, 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.callerScope = callerScope;\n this.evalScope = evalScope;\n this.partialMap = partialMap;\n }\n\n static root(self, size = 0) {\n var refs = new Array(size + 1);\n\n for (var i = 0; i <= size; i++) {\n refs[i] = UNDEFINED_REFERENCE;\n }\n\n return new ScopeImpl(refs, null, null, null).init({\n self\n });\n }\n\n static sized(size = 0) {\n var refs = new Array(size + 1);\n\n for (var i = 0; i <= size; i++) {\n refs[i] = UNDEFINED_REFERENCE;\n }\n\n return new ScopeImpl(refs, 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 var 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 ScopeImpl(this.slots.slice(), 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 _exports.ScopeImpl = ScopeImpl;\n var TRANSACTION = (0, _util.symbol)('TRANSACTION');\n\n class TransactionImpl {\n constructor() {\n this.scheduledInstallManagers = [];\n this.scheduledInstallModifiers = [];\n this.scheduledUpdateModifierManagers = [];\n this.scheduledUpdateModifiers = [];\n this.createdComponents = [];\n this.createdManagers = [];\n this.updatedComponents = [];\n this.updatedManagers = [];\n }\n\n didCreate(component, manager) {\n this.createdComponents.push(component);\n this.createdManagers.push(manager);\n }\n\n didUpdate(component, manager) {\n this.updatedComponents.push(component);\n this.updatedManagers.push(manager);\n }\n\n scheduleInstallModifier(modifier, manager) {\n this.scheduledInstallModifiers.push(modifier);\n this.scheduledInstallManagers.push(manager);\n }\n\n scheduleUpdateModifier(modifier, manager) {\n this.scheduledUpdateModifiers.push(modifier);\n this.scheduledUpdateModifierManagers.push(manager);\n }\n\n commit() {\n var {\n createdComponents,\n createdManagers\n } = this;\n\n for (var i = 0; i < createdComponents.length; i++) {\n var component = createdComponents[i];\n var manager = createdManagers[i];\n manager.didCreate(component);\n }\n\n var {\n updatedComponents,\n updatedManagers\n } = this;\n\n for (var _i = 0; _i < updatedComponents.length; _i++) {\n var _component = updatedComponents[_i];\n var _manager2 = updatedManagers[_i];\n\n _manager2.didUpdate(_component);\n }\n\n var {\n scheduledInstallManagers,\n scheduledInstallModifiers\n } = this;\n\n for (var _i2 = 0; _i2 < scheduledInstallManagers.length; _i2++) {\n var modifier = scheduledInstallModifiers[_i2];\n var _manager3 = scheduledInstallManagers[_i2];\n\n _manager3.install(modifier);\n }\n\n var {\n scheduledUpdateModifierManagers,\n scheduledUpdateModifiers\n } = this;\n\n for (var _i3 = 0; _i3 < scheduledUpdateModifierManagers.length; _i3++) {\n var _modifier = scheduledUpdateModifiers[_i3];\n var _manager4 = scheduledUpdateModifierManagers[_i3];\n\n _manager4.update(_modifier);\n }\n }\n\n }\n\n function defaultDelegateFn(delegateFn, delegateDefault) {\n var defaultFn = delegateFn !== undefined ? delegateFn : delegateDefault;\n\n if (true\n /* DEBUG */\n ) {\n // Bind to `null` in DEBUG since these methods are assumed to be pure\n // functions, so we can reassign them.\n return defaultFn.bind(null);\n }\n\n return defaultFn;\n }\n\n class EnvironmentImpl {\n constructor(options, delegate) {\n this.delegate = delegate;\n this[_a$1] = null; // Delegate methods and values\n\n this.extra = this.delegate.extra;\n this.isInteractive = typeof this.delegate.isInteractive === 'boolean' ? this.delegate.isInteractive : true;\n this.protocolForURL = defaultDelegateFn(this.delegate.protocolForURL, defaultGetProtocolForURL);\n this.attributeFor = defaultDelegateFn(this.delegate.attributeFor, defaultAttributeFor);\n this.getProp = defaultDelegateFn(this.delegate.getProp, defaultGetProp);\n this.getPath = defaultDelegateFn(this.delegate.getPath, defaultGetProp);\n this.setPath = defaultDelegateFn(this.delegate.setPath, defaultSetPath);\n this.toBool = defaultDelegateFn(this.delegate.toBool, defaultToBool$1);\n this.toIterator = defaultDelegateFn(this.delegate.toIterator, defaultToIterator);\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 (true\n /* DEBUG */\n ) {\n throw new Error('you must pass document or appendOperations to a new runtime');\n }\n }\n\n getTemplatePathDebugContext(ref) {\n if (this.delegate.getTemplatePathDebugContext !== undefined) {\n return this.delegate.getTemplatePathDebugContext(ref);\n }\n\n return '';\n }\n\n setTemplatePathDebugContext(ref, desc, parentRef) {\n if (this.delegate.setTemplatePathDebugContext !== undefined) {\n this.delegate.setTemplatePathDebugContext(ref, desc, parentRef);\n }\n }\n\n toConditionalReference(input) {\n return new ConditionalReference(input, this.delegate.toBool);\n }\n\n getAppendOperations() {\n return this.appendOperations;\n }\n\n getDOM() {\n return this.updateOperations;\n }\n\n begin() {\n if (this.delegate.onTransactionBegin !== undefined) {\n this.delegate.onTransactionBegin();\n }\n\n this[TRANSACTION] = new TransactionImpl();\n }\n\n get transaction() {\n return this[TRANSACTION];\n }\n\n didCreate(component, manager) {\n this.transaction.didCreate(component, manager);\n }\n\n didUpdate(component, manager) {\n this.transaction.didUpdate(component, manager);\n }\n\n scheduleInstallModifier(modifier, manager) {\n if (this.isInteractive) {\n this.transaction.scheduleInstallModifier(modifier, manager);\n }\n }\n\n scheduleUpdateModifier(modifier, manager) {\n if (this.isInteractive) {\n this.transaction.scheduleUpdateModifier(modifier, manager);\n }\n }\n\n commit() {\n var transaction = this.transaction;\n this[TRANSACTION] = null;\n transaction.commit();\n\n if (this.delegate.onTransactionCommit !== undefined) {\n this.delegate.onTransactionCommit();\n }\n }\n\n }\n\n _exports.EnvironmentImpl = EnvironmentImpl;\n _a$1 = TRANSACTION;\n\n function defaultGetProtocolForURL(url) {\n if (typeof URL === 'object' || typeof URL === 'undefined') {\n return legacyProtocolForURL(url);\n } else if (typeof document !== 'undefined') {\n return new URL(url, document.baseURI).protocol;\n } else {\n return new URL(url, 'https://www.example.com').protocol;\n }\n }\n\n function defaultAttributeFor(element, attr, _isTrusting, namespace) {\n return dynamicAttribute(element, attr, namespace);\n }\n\n function defaultGetProp(obj, key) {\n return obj[key];\n }\n\n function defaultSetPath(obj, key, value) {\n return obj[key] = value;\n }\n\n function defaultToBool$1(value) {\n return Boolean(value);\n }\n\n function defaultToIterator(value) {\n if (value && value[Symbol.iterator]) {\n return value[Symbol.iterator]();\n }\n\n return null;\n }\n\n function legacyProtocolForURL(url) {\n if (typeof window === 'undefined') {\n var match = /^([a-z][a-z0-9.+-]*:)?(\\/\\/)?([\\S\\s]*)/i.exec(url);\n return match && match[1] ? match[1].toLowerCase() : '';\n }\n\n var anchor = window.document.createElement('a');\n anchor.href = url;\n return anchor.protocol;\n }\n\n class DefaultRuntimeResolver {\n constructor(inner) {\n this.inner = inner;\n }\n\n lookupComponent(name, referrer) {\n if (this.inner.lookupComponent) {\n var component = this.inner.lookupComponent(name, referrer);\n\n if (component === undefined) {\n throw new Error(`Unexpected component ${name} (from ${referrer}) (lookupComponent returned undefined)`);\n }\n\n return component;\n } else {\n throw new Error('lookupComponent not implemented on RuntimeResolver.');\n }\n }\n\n lookupPartial(name, referrer) {\n if (this.inner.lookupPartial) {\n var partial = this.inner.lookupPartial(name, referrer);\n\n if (partial === undefined) {\n throw new Error(`Unexpected partial ${name} (from ${referrer}) (lookupPartial returned undefined)`);\n }\n\n return partial;\n } else {\n throw new Error('lookupPartial not implemented on RuntimeResolver.');\n }\n }\n\n resolve(handle) {\n if (this.inner.resolve) {\n var resolved = this.inner.resolve(handle);\n\n if (resolved === undefined) {\n throw new Error(`Unexpected handle ${handle} (resolve returned undefined)`);\n }\n\n return resolved;\n } else {\n throw new Error('resolve not implemented on RuntimeResolver.');\n }\n }\n\n compilable(locator) {\n if (this.inner.compilable) {\n var resolved = this.inner.compilable(locator);\n\n if (resolved === undefined) {\n throw new Error(`Unable to compile ${name} (compilable returned undefined)`);\n }\n\n return resolved;\n } else {\n throw new Error('compilable not implemented on RuntimeResolver.');\n }\n }\n\n getInvocation(locator) {\n if (this.inner.getInvocation) {\n var invocation = this.inner.getInvocation(locator);\n\n if (invocation === undefined) {\n throw new Error(`Unable to get invocation for ${JSON.stringify(locator)} (getInvocation returned undefined)`);\n }\n\n return invocation;\n } else {\n throw new Error('getInvocation not implemented on RuntimeResolver.');\n }\n }\n\n }\n\n function AotRuntime(options, program, resolver = {}, delegate = {}) {\n var env = new EnvironmentImpl(options, delegate);\n return {\n env,\n resolver: new DefaultRuntimeResolver(resolver),\n program: _program.RuntimeProgramImpl.hydrate(program)\n };\n }\n\n function JitRuntime(options, delegate = {}, context, resolver = {}) {\n return {\n env: new EnvironmentImpl(options, delegate),\n program: new _program.RuntimeProgramImpl(context.program.constants, context.program.heap),\n resolver: new DefaultRuntimeResolver(resolver)\n };\n }\n\n function 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\n class AppendOpcodes {\n constructor() {\n this.evaluateOpcode = (0, _util.fillNulls)(107\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 var params = undefined;\n var opName = undefined;\n var sp;\n return {\n sp: sp,\n pc: vm.fetchValue(_vm2.$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 evaluate(vm, opcode, type) {\n var 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 }\n\n var APPEND_OPCODES = new AppendOpcodes();\n\n class AbstractOpcode {\n constructor() {\n (0, _util.initializeGuid)(this);\n }\n\n }\n\n class UpdatingOpcode extends AbstractOpcode {}\n /**\n * These utility functions are related to @glimmer/validator, but they aren't\n * meant to be consumed publicly. They exist as an optimization, and pull in\n * types that are otherwise unrelated to the validation system. Keeping them\n * here keeps the validation system isolated, and allows it to avoid pulling in\n * extra type information (which can lead to issues in public types).\n */\n\n\n function combineTagged(tagged) {\n var optimized = [];\n\n for (var i = 0; i < tagged.length; i++) {\n var tag = tagged[i].tag;\n if (tag === _validator.CONSTANT_TAG) continue;\n optimized.push(tag);\n }\n\n return (0, _validator.createCombinatorTag)(optimized);\n }\n\n function combineFromIndex(tagged, startIndex) {\n var optimized = [];\n\n for (var i = startIndex; i < tagged.length; i++) {\n var tag = tagged[i].tag;\n if (tag === _validator.CONSTANT_TAG) continue;\n optimized.push(tag);\n }\n\n return (0, _validator.createCombinatorTag)(optimized);\n }\n\n class ConcatReference extends _reference.CachedReference {\n constructor(parts) {\n super();\n this.parts = parts;\n this.tag = combineTagged(parts);\n }\n\n compute() {\n var parts = new Array();\n\n for (var i = 0; i < this.parts.length; i++) {\n var value = this.parts[i].value();\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 }\n\n function castToString(value) {\n if (typeof value.toString !== 'function') {\n return '';\n }\n\n return String(value);\n }\n\n APPEND_OPCODES.add(16\n /* Helper */\n , (vm, {\n op1: handle\n }) => {\n var stack = vm.stack;\n var helper = vm.runtime.resolver.resolve(handle);\n var args = stack.popJs();\n var value = helper(args, vm);\n vm.loadValue(_vm2.$v0, value);\n });\n APPEND_OPCODES.add(22\n /* GetVariable */\n , (vm, {\n op1: symbol$$1\n }) => {\n var expr = vm.referenceForSymbol(symbol$$1);\n vm.stack.pushJs(expr);\n });\n APPEND_OPCODES.add(19\n /* SetVariable */\n , (vm, {\n op1: symbol$$1\n }) => {\n var expr = vm.stack.pop();\n vm.scope().bindSymbol(symbol$$1, expr);\n });\n APPEND_OPCODES.add(21\n /* SetJitBlock */\n , (vm, {\n op1: symbol$$1\n }) => {\n var handle = vm.stack.popJs();\n var scope = vm.stack.popJs();\n var table = vm.stack.popJs();\n var block = table ? [handle, scope, table] : null;\n vm.scope().bindBlock(symbol$$1, block);\n }, 'jit');\n APPEND_OPCODES.add(20\n /* SetAotBlock */\n , (vm, {\n op1: symbol$$1\n }) => {\n // In DEBUG handles could be ErrHandle objects\n var handle = true\n /* DEBUG */\n ? vm.stack.pop() : vm.stack.popSmallInt();\n var scope = vm.stack.popJs();\n var table = vm.stack.popJs();\n var block = table ? [handle, scope, table] : null;\n vm.scope().bindBlock(symbol$$1, block);\n });\n APPEND_OPCODES.add(105\n /* ResolveMaybeLocal */\n , (vm, {\n op1: _name\n }) => {\n var name = vm[CONSTANTS].getValue(_name);\n var locals = vm.scope().getPartialMap();\n var ref = locals[name];\n\n if (ref === undefined) {\n ref = vm.getSelf().get(name);\n }\n\n vm.stack.pushJs(ref);\n });\n APPEND_OPCODES.add(37\n /* RootScope */\n , (vm, {\n op1: symbols\n }) => {\n vm.pushRootScope(symbols);\n });\n APPEND_OPCODES.add(23\n /* GetProperty */\n , (vm, {\n op1: _key\n }) => {\n var key = vm[CONSTANTS].getValue(_key);\n var expr = vm.stack.popJs();\n vm.stack.pushJs(expr.get(key));\n });\n APPEND_OPCODES.add(24\n /* GetBlock */\n , (vm, {\n op1: _block\n }) => {\n var {\n stack\n } = vm;\n var block = vm.scope().getBlock(_block);\n\n if (block === null) {\n stack.pushNull();\n } else {\n stack.pushJs(block);\n }\n });\n APPEND_OPCODES.add(25\n /* JitSpreadBlock */\n , vm => {\n var {\n stack\n } = vm;\n var block = stack.popJs();\n\n if (block && !isUndefinedReference(block)) {\n var [handleOrCompilable, scope, table] = block;\n stack.pushJs(table);\n stack.pushJs(scope);\n\n if (typeof handleOrCompilable === 'number') {\n stack.pushSmallInt(handleOrCompilable);\n } else {\n stack.pushJs(handleOrCompilable);\n }\n } else {\n stack.pushNull();\n stack.pushNull();\n stack.pushNull();\n }\n });\n\n function isUndefinedReference(input) {\n return input === UNDEFINED_REFERENCE;\n }\n\n APPEND_OPCODES.add(26\n /* HasBlock */\n , vm => {\n var {\n stack\n } = vm;\n var block = stack.pop();\n\n if (block && !isUndefinedReference(block)) {\n stack.pushJs(TRUE_REFERENCE);\n } else {\n stack.pushJs(FALSE_REFERENCE);\n }\n });\n APPEND_OPCODES.add(27\n /* HasBlockParams */\n , vm => {\n // FIXME(mmun): should only need to push the symbol table\n var block = vm.stack.pop();\n var scope = vm.stack.popJs();\n var table = vm.stack.popJs();\n var hasBlockParams = table && table.parameters.length;\n vm.stack.pushJs(hasBlockParams ? TRUE_REFERENCE : FALSE_REFERENCE);\n });\n APPEND_OPCODES.add(28\n /* Concat */\n , (vm, {\n op1: count\n }) => {\n var out = new Array(count);\n\n for (var i = count; i > 0; i--) {\n var offset = i - 1;\n out[offset] = vm.stack.pop();\n }\n\n vm.stack.pushJs(new ConcatReference(out));\n });\n /**\n * Converts a ComponentCapabilities object into a 32-bit integer representation.\n */\n\n function 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);\n }\n\n function managerHasCapability(_manager, capabilities, capability) {\n return !!(capabilities & capability);\n }\n\n function hasCapability(capabilities, capability) {\n return !!(capabilities & capability);\n }\n\n var _a$2;\n\n var CURRIED_COMPONENT_DEFINITION_BRAND = (0, _util.symbol)('CURRIED COMPONENT DEFINITION');\n\n function isCurriedComponentDefinition(definition) {\n return !!(definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND]);\n }\n\n function isComponentDefinition(definition) {\n return !!(definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND]);\n }\n\n class CurriedComponentDefinition {\n /** @internal */\n constructor(inner, args) {\n this.inner = inner;\n this.args = args;\n this[_a$2] = true;\n }\n\n unwrap(args) {\n args.realloc(this.offset);\n var definition = this;\n\n while (true) {\n var {\n args: curriedArgs,\n inner\n } = definition;\n\n if (curriedArgs) {\n args.positional.prepend(curriedArgs.positional);\n args.named.merge(curriedArgs.named);\n }\n\n if (!isCurriedComponentDefinition(inner)) {\n return inner;\n }\n\n definition = inner;\n }\n }\n /** @internal */\n\n\n get offset() {\n var {\n inner,\n args\n } = this;\n var length = args ? args.positional.length : 0;\n return isCurriedComponentDefinition(inner) ? length + inner.offset : length;\n }\n\n }\n\n _exports.CurriedComponentDefinition = CurriedComponentDefinition;\n _a$2 = CURRIED_COMPONENT_DEFINITION_BRAND;\n\n function curry(spec, args = null) {\n return new CurriedComponentDefinition(spec, args);\n }\n\n function resolveComponent(resolver, name, meta) {\n var definition = resolver.lookupComponent(name, meta);\n return definition;\n }\n\n class ClassListReference {\n constructor(list) {\n this.list = list;\n this.tag = combineTagged(list);\n this.list = list;\n }\n\n value() {\n var ret = [];\n var {\n list\n } = this;\n\n for (var i = 0; i < list.length; i++) {\n var value = normalizeStringValue(list[i].value());\n if (value) ret.push(value);\n }\n\n return ret.length === 0 ? null : ret.join(' ');\n }\n\n }\n\n class CurryComponentReference {\n constructor(inner, resolver, meta, args) {\n this.inner = inner;\n this.resolver = resolver;\n this.meta = meta;\n this.args = args;\n this.tag = inner.tag;\n this.lastValue = null;\n this.lastDefinition = null;\n }\n\n value() {\n var {\n inner,\n lastValue\n } = this;\n var value = inner.value();\n\n if (value === lastValue) {\n return this.lastDefinition;\n }\n\n var definition = null;\n\n if (isCurriedComponentDefinition(value)) {\n definition = value;\n } else if (typeof value === 'string' && value) {\n var {\n resolver,\n meta\n } = this;\n definition = resolveComponent(resolver, value, meta);\n }\n\n definition = this.curry(definition);\n this.lastValue = value;\n this.lastDefinition = definition;\n return definition;\n }\n\n get() {\n return UNDEFINED_REFERENCE;\n }\n\n curry(definition) {\n var {\n args\n } = this;\n\n if (!args && isCurriedComponentDefinition(definition)) {\n return definition;\n } else if (!definition) {\n return null;\n } else {\n return new CurriedComponentDefinition(definition, args);\n }\n }\n\n }\n\n class DynamicTextContent extends UpdatingOpcode {\n constructor(node, reference, lastValue) {\n super();\n this.node = node;\n this.reference = reference;\n this.lastValue = lastValue;\n this.type = 'dynamic-text';\n this.tag = reference.tag;\n this.lastRevision = (0, _validator.valueForTag)(this.tag);\n }\n\n evaluate() {\n var {\n reference,\n tag\n } = this;\n\n if (!(0, _validator.validateTag)(tag, this.lastRevision)) {\n this.lastRevision = (0, _validator.valueForTag)(tag);\n this.update(reference.value());\n }\n }\n\n update(value) {\n var {\n lastValue\n } = this;\n if (value === lastValue) return;\n var 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 var textNode = this.node;\n textNode.nodeValue = this.lastValue = normalized;\n }\n }\n\n }\n\n class ContentTypeReference {\n constructor(inner) {\n this.inner = inner;\n this.tag = inner.tag;\n }\n\n value() {\n var value = this.inner.value();\n\n if (shouldCoerce(value)) {\n return 1\n /* String */\n ;\n } else if (isComponentDefinition(value)) {\n return 0\n /* Component */\n ;\n } else if (isSafeString(value)) {\n return 3\n /* SafeString */\n ;\n } else if (isFragment(value)) {\n return 4\n /* Fragment */\n ;\n } else if (isNode(value)) {\n return 5\n /* Node */\n ;\n } else {\n return 1\n /* String */\n ;\n }\n }\n\n }\n\n APPEND_OPCODES.add(43\n /* AppendHTML */\n , vm => {\n var reference = vm.stack.popJs();\n var rawValue = reference.value();\n var value = isEmpty(rawValue) ? '' : String(rawValue);\n vm.elements().appendDynamicHTML(value);\n });\n APPEND_OPCODES.add(44\n /* AppendSafeHTML */\n , vm => {\n var reference = vm.stack.popJs();\n var rawValue = reference.value().toHTML();\n var value = isEmpty(rawValue) ? '' : rawValue;\n vm.elements().appendDynamicHTML(value);\n });\n APPEND_OPCODES.add(47\n /* AppendText */\n , vm => {\n var reference = vm.stack.popJs();\n var rawValue = reference.value();\n var value = isEmpty(rawValue) ? '' : String(rawValue);\n var node = vm.elements().appendDynamicText(value);\n\n if (!(0, _validator.isConstTagged)(reference)) {\n vm.updateWith(new DynamicTextContent(node, reference, value));\n }\n });\n APPEND_OPCODES.add(45\n /* AppendDocumentFragment */\n , vm => {\n var reference = vm.stack.popJs();\n var value = reference.value();\n vm.elements().appendDynamicFragment(value);\n });\n APPEND_OPCODES.add(46\n /* AppendNode */\n , vm => {\n var reference = vm.stack.popJs();\n var value = reference.value();\n vm.elements().appendDynamicNode(value);\n });\n APPEND_OPCODES.add(39\n /* ChildScope */\n , vm => vm.pushChildScope());\n APPEND_OPCODES.add(40\n /* PopScope */\n , vm => vm.popScope());\n APPEND_OPCODES.add(59\n /* PushDynamicScope */\n , vm => vm.pushDynamicScope());\n APPEND_OPCODES.add(60\n /* PopDynamicScope */\n , vm => vm.popDynamicScope());\n APPEND_OPCODES.add(29\n /* Constant */\n , (vm, {\n op1: other\n }) => {\n vm.stack.pushJs(vm[CONSTANTS].getValue((0, _util.decodeHandle)(other)));\n });\n APPEND_OPCODES.add(30\n /* Primitive */\n , (vm, {\n op1: primitive\n }) => {\n var stack = vm.stack;\n\n if ((0, _util.isNonPrimitiveHandle)(primitive)) {\n // it is a handle which does not already exist on the stack\n var value = vm[CONSTANTS].getValue((0, _util.decodeHandle)(primitive));\n stack.pushJs(value);\n } else {\n // is already an encoded immediate or primitive handle\n stack.pushRaw(primitive);\n }\n });\n APPEND_OPCODES.add(31\n /* PrimitiveReference */\n , vm => {\n var stack = vm.stack;\n stack.pushJs(PrimitiveReference.create(stack.pop()));\n });\n APPEND_OPCODES.add(32\n /* ReifyU32 */\n , vm => {\n var stack = vm.stack;\n stack.pushSmallInt(stack.peekJs().value());\n });\n APPEND_OPCODES.add(33\n /* Dup */\n , (vm, {\n op1: register,\n op2: offset\n }) => {\n var position = vm.fetchValue(register) - offset;\n vm.stack.dup(position);\n });\n APPEND_OPCODES.add(34\n /* Pop */\n , (vm, {\n op1: count\n }) => {\n vm.stack.pop(count);\n });\n APPEND_OPCODES.add(35\n /* Load */\n , (vm, {\n op1: register\n }) => {\n vm.load(register);\n });\n APPEND_OPCODES.add(36\n /* Fetch */\n , (vm, {\n op1: register\n }) => {\n vm.fetch(register);\n });\n APPEND_OPCODES.add(58\n /* BindDynamicScope */\n , (vm, {\n op1: _names\n }) => {\n var names = vm[CONSTANTS].getArray(_names);\n vm.bindDynamicScope(names);\n });\n APPEND_OPCODES.add(69\n /* Enter */\n , (vm, {\n op1: args\n }) => {\n vm.enter(args);\n });\n APPEND_OPCODES.add(70\n /* Exit */\n , vm => {\n vm.exit();\n });\n APPEND_OPCODES.add(63\n /* PushSymbolTable */\n , (vm, {\n op1: _table\n }) => {\n var stack = vm.stack;\n stack.pushJs(vm[CONSTANTS].getSerializable(_table));\n });\n APPEND_OPCODES.add(62\n /* PushBlockScope */\n , vm => {\n var stack = vm.stack;\n stack.pushJs(vm.scope());\n });\n APPEND_OPCODES.add(61\n /* CompileBlock */\n , vm => {\n var stack = vm.stack;\n var block = stack.pop();\n\n if (block) {\n stack.pushSmallInt(vm.compile(block));\n } else {\n stack.pushNull();\n }\n }, 'jit');\n APPEND_OPCODES.add(64\n /* InvokeYield */\n , vm => {\n var {\n stack\n } = vm;\n var handle = stack.pop();\n var scope = stack.popJs();\n var table = stack.popJs();\n var args = stack.pop();\n\n if (table === null) {\n // To balance the pop{Frame,Scope}\n vm.pushFrame();\n vm.pushScope(scope); // Could be null but it doesnt matter as it is immediatelly popped.\n\n return;\n }\n\n var invokingScope = scope; // If necessary, create a child scope\n\n {\n var locals = table.parameters;\n var localsCount = locals.length;\n\n if (localsCount > 0) {\n invokingScope = invokingScope.child();\n\n for (var 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 });\n APPEND_OPCODES.add(65\n /* JumpIf */\n , (vm, {\n op1: target\n }) => {\n var reference = vm.stack.popJs();\n\n if ((0, _validator.isConstTagged)(reference)) {\n if (reference.value()) {\n vm.goto(target);\n }\n } else {\n var cache = new _reference.ReferenceCache(reference);\n\n if (cache.peek()) {\n vm.goto(target);\n }\n\n vm.updateWith(new Assert(cache));\n }\n });\n APPEND_OPCODES.add(66\n /* JumpUnless */\n , (vm, {\n op1: target\n }) => {\n var reference = vm.stack.popJs();\n\n if ((0, _validator.isConstTagged)(reference)) {\n if (!reference.value()) {\n vm.goto(target);\n }\n } else {\n var cache = new _reference.ReferenceCache(reference);\n\n if (!cache.peek()) {\n vm.goto(target);\n }\n\n vm.updateWith(new Assert(cache));\n }\n });\n APPEND_OPCODES.add(67\n /* JumpEq */\n , (vm, {\n op1: target,\n op2: comparison\n }) => {\n var other = vm.stack.peekSmallInt();\n\n if (other === comparison) {\n vm.goto(target);\n }\n });\n APPEND_OPCODES.add(68\n /* AssertSame */\n , vm => {\n var reference = vm.stack.peekJs();\n\n if (!(0, _validator.isConstTagged)(reference)) {\n vm.updateWith(Assert.initialize(new _reference.ReferenceCache(reference)));\n }\n });\n APPEND_OPCODES.add(71\n /* ToBoolean */\n , vm => {\n var {\n env,\n stack\n } = vm;\n stack.pushJs(env.toConditionalReference(stack.popJs()));\n });\n\n class Assert extends UpdatingOpcode {\n constructor(cache) {\n super();\n this.type = 'assert';\n this.tag = cache.tag;\n this.cache = cache;\n }\n\n static initialize(cache) {\n var assert = new Assert(cache);\n cache.peek();\n return assert;\n }\n\n evaluate(vm) {\n var {\n cache\n } = this;\n\n if ((0, _reference.isModified)(cache.revalidate())) {\n vm.throw();\n }\n }\n\n }\n\n class JumpIfNotModifiedOpcode extends UpdatingOpcode {\n constructor(index) {\n super();\n this.index = index;\n this.type = 'jump-if-not-modified';\n this.tag = _validator.CONSTANT_TAG;\n this.lastRevision = _validator.INITIAL;\n }\n\n finalize(tag, target) {\n this.tag = tag;\n this.target = target;\n }\n\n evaluate(vm) {\n var {\n tag,\n target,\n lastRevision\n } = this;\n\n if (!vm.alwaysRevalidate && (0, _validator.validateTag)(tag, lastRevision)) {\n vm.goto(target);\n }\n }\n\n didModify() {\n this.lastRevision = (0, _validator.valueForTag)(this.tag);\n }\n\n }\n\n class DidModifyOpcode extends UpdatingOpcode {\n constructor(target) {\n super();\n this.target = target;\n this.type = 'did-modify';\n this.tag = _validator.CONSTANT_TAG;\n }\n\n evaluate() {\n this.target.didModify();\n }\n\n }\n\n APPEND_OPCODES.add(41\n /* Text */\n , (vm, {\n op1: text\n }) => {\n vm.elements().appendText(vm[CONSTANTS].getValue(text));\n });\n APPEND_OPCODES.add(42\n /* Comment */\n , (vm, {\n op1: text\n }) => {\n vm.elements().appendComment(vm[CONSTANTS].getValue(text));\n });\n APPEND_OPCODES.add(48\n /* OpenElement */\n , (vm, {\n op1: tag\n }) => {\n vm.elements().openElement(vm[CONSTANTS].getValue(tag));\n });\n APPEND_OPCODES.add(49\n /* OpenDynamicElement */\n , vm => {\n var tagName = vm.stack.popJs().value();\n vm.elements().openElement(tagName);\n });\n APPEND_OPCODES.add(50\n /* PushRemoteElement */\n , vm => {\n var elementRef = vm.stack.popJs();\n var insertBeforeRef = vm.stack.popJs();\n var guidRef = vm.stack.popJs();\n var element;\n var insertBefore;\n var guid = guidRef.value();\n\n if ((0, _validator.isConstTagged)(elementRef)) {\n element = elementRef.value();\n } else {\n var cache = new _reference.ReferenceCache(elementRef);\n element = cache.peek();\n vm.updateWith(new Assert(cache));\n }\n\n if (insertBeforeRef.value() !== undefined) {\n if ((0, _validator.isConstTagged)(insertBeforeRef)) {\n insertBefore = insertBeforeRef.value();\n } else {\n var _cache = new _reference.ReferenceCache(insertBeforeRef);\n\n insertBefore = _cache.peek();\n vm.updateWith(new Assert(_cache));\n }\n }\n\n var block = vm.elements().pushRemoteElement(element, guid, insertBefore);\n if (block) vm.associateDestroyable(block);\n });\n APPEND_OPCODES.add(56\n /* PopRemoteElement */\n , vm => {\n vm.elements().popRemoteElement();\n });\n APPEND_OPCODES.add(54\n /* FlushElement */\n , vm => {\n var operations = vm.fetchValue(_vm2.$t0);\n var modifiers = null;\n\n if (operations) {\n modifiers = operations.flush(vm);\n vm.loadValue(_vm2.$t0, null);\n }\n\n vm.elements().flushElement(modifiers);\n });\n APPEND_OPCODES.add(55\n /* CloseElement */\n , vm => {\n var modifiers = vm.elements().closeElement();\n\n if (modifiers) {\n modifiers.forEach(([manager, modifier]) => {\n vm.env.scheduleInstallModifier(modifier, manager);\n var d = manager.getDestroyable(modifier);\n\n if (d) {\n vm.associateDestroyable(d);\n }\n });\n }\n });\n APPEND_OPCODES.add(57\n /* Modifier */\n , (vm, {\n op1: handle\n }) => {\n var {\n manager,\n state\n } = vm.runtime.resolver.resolve(handle);\n var stack = vm.stack;\n var args = stack.popJs();\n var {\n constructing,\n updateOperations\n } = vm.elements();\n var dynamicScope = vm.dynamicScope();\n var modifier = manager.create(constructing, state, args, dynamicScope, updateOperations);\n var operations = vm.fetchValue(_vm2.$t0);\n operations.addModifier(manager, modifier);\n var tag = manager.getTag(modifier);\n\n if (!(0, _validator.isConstTag)(tag)) {\n vm.updateWith(new UpdateModifierOpcode(tag, manager, modifier));\n }\n });\n\n class UpdateModifierOpcode extends UpdatingOpcode {\n constructor(tag, manager, modifier) {\n super();\n this.tag = tag;\n this.manager = manager;\n this.modifier = modifier;\n this.type = 'update-modifier';\n this.lastUpdated = (0, _validator.valueForTag)(tag);\n }\n\n evaluate(vm) {\n var {\n manager,\n modifier,\n tag,\n lastUpdated\n } = this;\n\n if (!(0, _validator.validateTag)(tag, lastUpdated)) {\n vm.env.scheduleUpdateModifier(modifier, manager);\n this.lastUpdated = (0, _validator.valueForTag)(tag);\n }\n }\n\n }\n\n APPEND_OPCODES.add(51\n /* StaticAttr */\n , (vm, {\n op1: _name,\n op2: _value,\n op3: _namespace\n }) => {\n var name = vm[CONSTANTS].getValue(_name);\n var value = vm[CONSTANTS].getValue(_value);\n var namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n vm.elements().setStaticAttribute(name, value, namespace);\n });\n APPEND_OPCODES.add(52\n /* DynamicAttr */\n , (vm, {\n op1: _name,\n op2: trusting,\n op3: _namespace\n }) => {\n var name = vm[CONSTANTS].getValue(_name);\n var reference = vm.stack.popJs();\n var value = reference.value();\n var namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n var attribute = vm.elements().setDynamicAttribute(name, value, !!trusting, namespace);\n\n if (!(0, _validator.isConstTagged)(reference)) {\n vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\n }\n });\n\n class UpdateDynamicAttributeOpcode extends UpdatingOpcode {\n constructor(reference, attribute) {\n super();\n this.reference = reference;\n this.attribute = attribute;\n this.type = 'patch-element';\n var {\n tag\n } = reference;\n this.tag = tag;\n this.lastRevision = (0, _validator.valueForTag)(tag);\n }\n\n evaluate(vm) {\n var {\n attribute,\n reference,\n tag\n } = this;\n\n if (!(0, _validator.validateTag)(tag, this.lastRevision)) {\n attribute.update(reference.value(), vm.env);\n this.lastRevision = (0, _validator.valueForTag)(tag);\n }\n }\n\n }\n /**\n * The VM creates a new ComponentInstance data structure for every component\n * invocation it encounters.\n *\n * Similar to how a ComponentDefinition contains state about all components of a\n * particular type, a ComponentInstance contains state specific to a particular\n * instance of a component type. It also contains a pointer back to its\n * component type's ComponentDefinition.\n */\n\n\n var COMPONENT_INSTANCE = (0, _util.symbol)('COMPONENT_INSTANCE');\n APPEND_OPCODES.add(77\n /* IsComponent */\n , vm => {\n var stack = vm.stack;\n var ref = stack.popJs();\n stack.pushJs(new ConditionalReference(ref, isCurriedComponentDefinition));\n });\n APPEND_OPCODES.add(78\n /* ContentType */\n , vm => {\n var stack = vm.stack;\n var ref = stack.peekJs();\n stack.pushJs(new ContentTypeReference(ref));\n });\n APPEND_OPCODES.add(79\n /* CurryComponent */\n , (vm, {\n op1: _meta\n }) => {\n var stack = vm.stack;\n var definition = stack.popJs();\n var capturedArgs = stack.popJs();\n var meta = vm[CONSTANTS].getValue((0, _util.decodeHandle)(_meta));\n var resolver = vm.runtime.resolver;\n vm.loadValue(_vm2.$v0, new CurryComponentReference(definition, resolver, meta, capturedArgs)); // expectStackChange(vm.stack, -args.length - 1, 'CurryComponent');\n });\n APPEND_OPCODES.add(80\n /* PushComponentDefinition */\n , (vm, {\n op1: handle\n }) => {\n var definition = vm.runtime.resolver.resolve(handle);\n var {\n manager\n } = definition;\n var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n var instance = {\n [COMPONENT_INSTANCE]: true,\n definition,\n manager,\n capabilities,\n state: null,\n handle: null,\n table: null,\n lookup: null\n };\n vm.stack.pushJs(instance);\n });\n APPEND_OPCODES.add(83\n /* ResolveDynamicComponent */\n , (vm, {\n op1: _meta\n }) => {\n var stack = vm.stack;\n var component = stack.popJs().value();\n var meta = vm[CONSTANTS].getValue((0, _util.decodeHandle)(_meta));\n vm.loadValue(_vm2.$t1, null); // Clear the temp register\n\n var definition;\n\n if (typeof component === 'string') {\n var resolvedDefinition = resolveComponent(vm.runtime.resolver, component, meta);\n definition = resolvedDefinition;\n } else if (isCurriedComponentDefinition(component)) {\n definition = component;\n } else {\n throw (0, _util.unreachable)();\n }\n\n stack.pushJs(definition);\n });\n APPEND_OPCODES.add(81\n /* PushDynamicComponentInstance */\n , vm => {\n var {\n stack\n } = vm;\n var definition = stack.pop();\n var capabilities, manager;\n\n if (isCurriedComponentDefinition(definition)) {\n manager = capabilities = null;\n } else {\n manager = definition.manager;\n capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n }\n\n stack.pushJs({\n definition,\n capabilities,\n manager,\n state: null,\n handle: null,\n table: null\n });\n });\n APPEND_OPCODES.add(82\n /* PushCurriedComponent */\n , vm => {\n var stack = vm.stack;\n var component = stack.popJs().value();\n var definition;\n\n if (isCurriedComponentDefinition(component)) {\n definition = component;\n } else {\n throw (0, _util.unreachable)();\n }\n\n stack.pushJs(definition);\n });\n APPEND_OPCODES.add(84\n /* PushArgs */\n , (vm, {\n op1: _names,\n op2: _blockNames,\n op3: flags\n }) => {\n var stack = vm.stack;\n var names = vm[CONSTANTS].getArray(_names);\n var positionalCount = flags >> 4;\n var atNames = flags & 0b1000;\n var blockNames = flags & 0b0111 ? vm[CONSTANTS].getArray(_blockNames) : _util.EMPTY_ARRAY;\n vm[ARGS].setup(stack, names, blockNames, positionalCount, !!atNames);\n stack.pushJs(vm[ARGS]);\n });\n APPEND_OPCODES.add(85\n /* PushEmptyArgs */\n , vm => {\n var {\n stack\n } = vm;\n stack.pushJs(vm[ARGS].empty(stack));\n });\n APPEND_OPCODES.add(88\n /* CaptureArgs */\n , vm => {\n var stack = vm.stack;\n var args = stack.popJs();\n var capturedArgs = args.capture();\n stack.pushJs(capturedArgs);\n });\n APPEND_OPCODES.add(87\n /* PrepareArgs */\n , (vm, {\n op1: _state\n }) => {\n var stack = vm.stack;\n var instance = vm.fetchValue(_state);\n var args = stack.popJs();\n var {\n definition\n } = instance;\n\n if (isCurriedComponentDefinition(definition)) {\n definition = resolveCurriedComponentDefinition(instance, definition, args);\n }\n\n var {\n manager,\n state\n } = definition;\n var capabilities = instance.capabilities;\n\n if (!managerHasCapability(manager, capabilities, 4\n /* PrepareArgs */\n )) {\n stack.pushJs(args);\n return;\n }\n\n var blocks = args.blocks.values;\n var blockNames = args.blocks.names;\n var preparedArgs = manager.prepareArgs(state, args);\n\n if (preparedArgs) {\n args.clear();\n\n for (var i = 0; i < blocks.length; i++) {\n var block = blocks[i];\n\n if (typeof block === 'number') {\n stack.pushSmallInt(block);\n } else {\n stack.pushJs(block);\n }\n }\n\n var {\n positional,\n named\n } = preparedArgs;\n var positionalCount = positional.length;\n\n for (var _i4 = 0; _i4 < positionalCount; _i4++) {\n stack.pushJs(positional[_i4]);\n }\n\n var names = Object.keys(named);\n\n for (var _i5 = 0; _i5 < names.length; _i5++) {\n stack.pushJs(named[names[_i5]]);\n }\n\n args.setup(stack, names, blockNames, positionalCount, false);\n }\n\n stack.pushJs(args);\n });\n\n function resolveCurriedComponentDefinition(instance, definition, args) {\n var unwrappedDefinition = instance.definition = definition.unwrap(args);\n var {\n manager,\n state\n } = unwrappedDefinition;\n instance.manager = manager;\n instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n return unwrappedDefinition;\n }\n\n APPEND_OPCODES.add(89\n /* CreateComponent */\n , (vm, {\n op1: flags,\n op2: _state\n }) => {\n var instance = vm.fetchValue(_state);\n var {\n definition,\n manager\n } = instance;\n var capabilities = instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n\n if (!managerHasCapability(manager, capabilities, 512\n /* CreateInstance */\n )) {\n throw new Error(`BUG`);\n }\n\n var dynamicScope = null;\n\n if (managerHasCapability(manager, capabilities, 64\n /* DynamicScope */\n )) {\n dynamicScope = vm.dynamicScope();\n }\n\n var hasDefaultBlock = flags & 1;\n var args = null;\n\n if (managerHasCapability(manager, capabilities, 8\n /* CreateArgs */\n )) {\n args = vm.stack.peekJs();\n }\n\n var self = null;\n\n if (managerHasCapability(manager, capabilities, 128\n /* CreateCaller */\n )) {\n self = vm.getSelf();\n }\n\n var state = manager.create(vm.env, definition.state, args, 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 var tag = manager.getTag(state);\n\n if (managerHasCapability(manager, capabilities, 256\n /* UpdateHook */\n ) && !(0, _validator.isConstTag)(tag)) {\n vm.updateWith(new UpdateComponentOpcode(tag, state, manager, dynamicScope));\n }\n });\n APPEND_OPCODES.add(90\n /* RegisterComponentDestructor */\n , (vm, {\n op1: _state\n }) => {\n var {\n manager,\n state,\n capabilities\n } = vm.fetchValue(_state);\n var d = manager.getDestroyable(state);\n\n if (true\n /* DEBUG */\n && !hasCapability(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 });\n APPEND_OPCODES.add(100\n /* BeginComponentTransaction */\n , vm => {\n vm.beginCacheGroup();\n vm.elements().pushSimpleBlock();\n });\n APPEND_OPCODES.add(91\n /* PutComponentOperations */\n , vm => {\n vm.loadValue(_vm2.$t0, new ComponentElementOperations());\n });\n APPEND_OPCODES.add(53\n /* ComponentAttr */\n , (vm, {\n op1: _name,\n op2: trusting,\n op3: _namespace\n }) => {\n var name = vm[CONSTANTS].getValue(_name);\n var reference = vm.stack.popJs();\n var namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n vm.fetchValue(_vm2.$t0).setAttribute(name, reference, !!trusting, namespace);\n });\n APPEND_OPCODES.add(108\n /* StaticComponentAttr */\n , (vm, {\n op1: _name,\n op2: _value,\n op3: _namespace\n }) => {\n var name = vm[CONSTANTS].getValue(_name);\n var value = vm[CONSTANTS].getValue(_value);\n var namespace = _namespace ? vm[CONSTANTS].getValue(_namespace) : null;\n vm.fetchValue(_vm2.$t0).setStaticAttribute(name, value, namespace);\n });\n\n class ComponentElementOperations {\n constructor() {\n this.attributes = (0, _util.dict)();\n this.classes = [];\n this.modifiers = [];\n }\n\n setAttribute(name, value, trusting, namespace) {\n var 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 var 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(manager, state) {\n this.modifiers.push([manager, state]);\n }\n\n flush(vm) {\n var type;\n var attributes = this.attributes;\n\n for (var _name3 in this.attributes) {\n if (_name3 === 'type') {\n type = attributes[_name3];\n continue;\n }\n\n var attr = this.attributes[_name3];\n\n if (_name3 === 'class') {\n setDeferredAttr(vm, 'class', mergeClasses(this.classes), attr.namespace, attr.trusting);\n } else {\n setDeferredAttr(vm, _name3, 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\n function 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 makeClassList(classes);\n }\n\n function makeClassList(classes) {\n for (var i = 0; i < classes.length; i++) {\n var value = classes[i];\n\n if (typeof value === 'string') {\n classes[i] = PrimitiveReference.create(value);\n }\n }\n\n return new ClassListReference(classes);\n }\n\n function allStringClasses(classes) {\n for (var i = 0; i < classes.length; i++) {\n if (typeof classes[i] !== 'string') {\n return false;\n }\n }\n\n return true;\n }\n\n function setDeferredAttr(vm, name, value, namespace, trusting = false) {\n if (typeof value === 'string') {\n vm.elements().setStaticAttribute(name, value, namespace);\n } else {\n var attribute = vm.elements().setDynamicAttribute(name, value.value(), trusting, namespace);\n\n if (!(0, _validator.isConstTagged)(value)) {\n vm.updateWith(new UpdateDynamicAttributeOpcode(value, attribute));\n }\n }\n }\n\n APPEND_OPCODES.add(102\n /* DidCreateElement */\n , (vm, {\n op1: _state\n }) => {\n var {\n definition,\n state\n } = vm.fetchValue(_state);\n var {\n manager\n } = definition;\n var operations = vm.fetchValue(_vm2.$t0);\n manager.didCreateElement(state, vm.elements().constructing, operations);\n });\n APPEND_OPCODES.add(92\n /* GetComponentSelf */\n , (vm, {\n op1: _state\n }) => {\n var {\n definition,\n state\n } = vm.fetchValue(_state);\n var {\n manager\n } = definition;\n vm.stack.pushJs(manager.getSelf(state));\n });\n APPEND_OPCODES.add(93\n /* GetComponentTagName */\n , (vm, {\n op1: _state\n }) => {\n var {\n definition,\n state\n } = vm.fetchValue(_state);\n var {\n manager\n } = definition;\n var tagName = manager.getTagName(state); // User provided value from JS, so we don't bother to encode\n\n vm.stack.pushJs(tagName);\n }); // Dynamic Invocation Only\n\n APPEND_OPCODES.add(95\n /* GetJitComponentLayout */\n , (vm, {\n op1: _state\n }) => {\n var instance = vm.fetchValue(_state);\n var manager = instance.manager;\n var {\n definition\n } = instance;\n var {\n stack\n } = vm;\n var {\n capabilities\n } = instance; // let invoke: { handle: number; symbolTable: ProgramSymbolTable };\n\n var layout;\n\n if (hasStaticLayoutCapability(capabilities, manager)) {\n layout = manager.getJitStaticLayout(definition.state, vm.runtime.resolver);\n } else if (hasDynamicLayoutCapability(capabilities, manager)) {\n var template = (0, _util.unwrapTemplate)(manager.getJitDynamicLayout(instance.state, vm.runtime.resolver));\n\n if (hasCapability(capabilities, 1024\n /* Wrapped */\n )) {\n layout = template.asWrappedLayout();\n } else {\n layout = template.asLayout();\n }\n } else {\n throw (0, _util.unreachable)();\n }\n\n var handle = layout.compile(vm.context);\n stack.pushJs(layout.symbolTable);\n\n if (true\n /* DEBUG */\n && (0, _util.isErrHandle)(handle)) {\n stack.pushJs(handle);\n } else {\n stack.pushSmallInt(handle);\n }\n }, 'jit'); // Dynamic Invocation Only\n\n APPEND_OPCODES.add(94\n /* GetAotComponentLayout */\n , (vm, {\n op1: _state\n }) => {\n var instance = vm.fetchValue(_state);\n var {\n manager,\n definition\n } = instance;\n var {\n stack\n } = vm;\n var {\n state: instanceState,\n capabilities\n } = instance;\n var {\n state: definitionState\n } = definition;\n var invoke;\n\n if (hasStaticLayoutCapability(capabilities, manager)) {\n invoke = manager.getAotStaticLayout(definitionState, vm.runtime.resolver);\n } else if (hasDynamicLayoutCapability(capabilities, manager)) {\n invoke = manager.getAotDynamicLayout(instanceState, vm.runtime.resolver);\n } else {\n throw (0, _util.unreachable)();\n }\n\n stack.pushJs(invoke.symbolTable);\n\n if (true\n /* DEBUG */\n && (0, _util.isErrHandle)(invoke.handle)) {\n stack.pushJs(invoke.handle);\n } else {\n stack.pushSmallInt(invoke.handle);\n }\n }); // These types are absurd here\n\n function hasStaticLayoutCapability(capabilities, _manager) {\n return managerHasCapability(_manager, capabilities, 1\n /* DynamicLayout */\n ) === false;\n }\n\n function hasDynamicLayoutCapability(capabilities, _manager) {\n return managerHasCapability(_manager, capabilities, 1\n /* DynamicLayout */\n ) === true;\n }\n\n APPEND_OPCODES.add(76\n /* Main */\n , (vm, {\n op1: register\n }) => {\n var definition = vm.stack.popJs();\n var invocation = vm.stack.popJs();\n var {\n manager\n } = definition;\n var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n var state = {\n [COMPONENT_INSTANCE]: true,\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 });\n APPEND_OPCODES.add(98\n /* PopulateLayout */\n , (vm, {\n op1: _state\n }) => {\n var {\n stack\n } = vm; // In DEBUG handles could be ErrHandle objects\n\n var handle = true\n /* DEBUG */\n ? stack.pop() : stack.popSmallInt();\n var table = stack.popJs();\n var state = vm.fetchValue(_state);\n state.handle = handle;\n state.table = table;\n });\n APPEND_OPCODES.add(38\n /* VirtualRootScope */\n , (vm, {\n op1: _state\n }) => {\n var {\n symbols\n } = vm.fetchValue(_state).table;\n vm.pushRootScope(symbols.length + 1);\n });\n APPEND_OPCODES.add(97\n /* SetupForEval */\n , (vm, {\n op1: _state\n }) => {\n var state = vm.fetchValue(_state);\n\n if (state.table.hasEval) {\n var lookup = state.lookup = (0, _util.dict)();\n vm.scope().bindEvalScope(lookup);\n }\n });\n APPEND_OPCODES.add(17\n /* SetNamedVariables */\n , (vm, {\n op1: _state\n }) => {\n var state = vm.fetchValue(_state);\n var scope = vm.scope();\n var args = vm.stack.peekJs();\n var callerNames = args.named.atNames;\n\n for (var i = callerNames.length - 1; i >= 0; i--) {\n var atName = callerNames[i];\n var symbol$$1 = state.table.symbols.indexOf(callerNames[i]);\n var 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\n function bindBlock(symbolName, blockName, state, blocks, vm) {\n var symbol$$1 = state.table.symbols.indexOf(symbolName);\n var 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\n APPEND_OPCODES.add(18\n /* SetBlocks */\n , (vm, {\n op1: _state\n }) => {\n var state = vm.fetchValue(_state);\n var {\n blocks\n } = vm.stack.peekJs();\n\n for (var i = 0; i < blocks.names.length; i++) {\n bindBlock(blocks.symbolNames[i], blocks.names[i], state, blocks, vm);\n }\n }); // Dynamic Invocation Only\n\n APPEND_OPCODES.add(99\n /* InvokeComponentLayout */\n , (vm, {\n op1: _state\n }) => {\n var state = vm.fetchValue(_state);\n vm.call(state.handle);\n });\n APPEND_OPCODES.add(103\n /* DidRenderLayout */\n , (vm, {\n op1: _state\n }) => {\n var {\n manager,\n state,\n capabilities\n } = vm.fetchValue(_state);\n var bounds = vm.elements().popBlock();\n\n if (!managerHasCapability(manager, capabilities, 512\n /* CreateInstance */\n )) {\n throw new Error(`BUG`);\n }\n\n var mgr = manager;\n mgr.didRenderLayout(state, bounds);\n vm.env.didCreate(state, manager);\n vm.updateWith(new DidUpdateLayoutOpcode(manager, state, bounds));\n });\n APPEND_OPCODES.add(101\n /* CommitComponentTransaction */\n , vm => {\n vm.commitCacheGroup();\n });\n\n class UpdateComponentOpcode extends UpdatingOpcode {\n constructor(tag, component, manager, dynamicScope) {\n super();\n this.tag = tag;\n this.component = component;\n this.manager = manager;\n this.dynamicScope = dynamicScope;\n this.type = 'update-component';\n }\n\n evaluate(_vm) {\n var {\n component,\n manager,\n dynamicScope\n } = this;\n manager.update(component, dynamicScope);\n }\n\n }\n\n class DidUpdateLayoutOpcode extends UpdatingOpcode {\n constructor(manager, component, bounds) {\n super();\n this.manager = manager;\n this.component = component;\n this.bounds = bounds;\n this.type = 'did-update-layout';\n this.tag = _validator.CONSTANT_TAG;\n }\n\n evaluate(vm) {\n var {\n manager,\n component,\n bounds\n } = this;\n manager.didUpdateLayout(component, bounds);\n vm.env.didUpdate(component, manager);\n }\n\n }\n\n function debugCallback(context, get) {\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\n var callback = debugCallback; // For testing purposes\n\n function setDebuggerCallback(cb) {\n callback = cb;\n }\n\n function resetDebuggerCallback() {\n callback = debugCallback;\n }\n\n class ScopeInspector {\n constructor(scope, symbols, evalInfo) {\n this.scope = scope;\n this.locals = (0, _util.dict)();\n\n for (var i = 0; i < evalInfo.length; i++) {\n var slot = evalInfo[i];\n var _name4 = symbols[slot - 1];\n var ref = scope.getSymbol(slot);\n this.locals[_name4] = ref;\n }\n }\n\n get(path) {\n var {\n scope,\n locals\n } = this;\n var parts = path.split('.');\n var [head, ...tail] = path.split('.');\n var evalScope = scope.getEvalScope();\n var 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) => r.get(part), ref);\n }\n\n }\n\n APPEND_OPCODES.add(106\n /* Debugger */\n , (vm, {\n op1: _symbols,\n op2: _evalInfo\n }) => {\n var symbols = vm[CONSTANTS].getArray(_symbols);\n var evalInfo = vm[CONSTANTS].getValue((0, _util.decodeHandle)(_evalInfo));\n var inspector = new ScopeInspector(vm.scope(), symbols, evalInfo);\n callback(vm.getSelf().value(), path => inspector.get(path).value());\n });\n APPEND_OPCODES.add(104\n /* InvokePartial */\n , (vm, {\n op1: _meta,\n op2: _symbols,\n op3: _evalInfo\n }) => {\n var {\n [CONSTANTS]: constants$$1,\n stack\n } = vm;\n var name = stack.popJs().value();\n var meta = constants$$1.getValue((0, _util.decodeHandle)(_meta));\n var outerSymbols = constants$$1.getArray(_symbols);\n var evalInfo = constants$$1.getValue((0, _util.decodeHandle)(_evalInfo));\n var handle = vm.runtime.resolver.lookupPartial(name, meta);\n var definition = vm.runtime.resolver.resolve(handle);\n var {\n symbolTable,\n handle: vmHandle\n } = definition.getPartial(vm.context);\n {\n var partialSymbols = symbolTable.symbols;\n var outerScope = vm.scope();\n var partialScope = vm.pushRootScope(partialSymbols.length);\n var evalScope = outerScope.getEvalScope();\n partialScope.bindEvalScope(evalScope);\n partialScope.bindSelf(outerScope.getSelf());\n var locals = Object.create(outerScope.getPartialMap());\n\n for (var i = 0; i < evalInfo.length; i++) {\n var slot = evalInfo[i];\n var _name5 = outerSymbols[slot - 1];\n var ref = outerScope.getSymbol(slot);\n locals[_name5] = ref;\n }\n\n if (evalScope) {\n for (var _i6 = 0; _i6 < partialSymbols.length; _i6++) {\n var _name6 = partialSymbols[_i6];\n var symbol$$1 = _i6 + 1;\n var value = evalScope[_name6];\n if (value !== undefined) partialScope.bind(symbol$$1, value);\n }\n }\n\n partialScope.bindPartialMap(locals);\n vm.pushFrame(); // sp += 2\n\n vm.call((0, _util.unwrapHandle)(vmHandle));\n }\n }, 'jit');\n APPEND_OPCODES.add(74\n /* PutIterator */\n , vm => {\n var stack = vm.stack;\n var listRef = stack.popJs();\n var keyRef = stack.popJs();\n var keyValue = keyRef.value();\n var key = keyValue === null ? '@identity' : String(keyValue);\n var iterableRef = new _reference.IterableReference(listRef, key, vm.env); // Push the first time to push the iterator onto the stack for iteration\n\n stack.pushJs(iterableRef); // Push the second time to push it as a reference for presence in general\n // (e.g whether or not it is empty). This reference will be used to skip\n // iteration entirely.\n\n stack.pushJs(iterableRef);\n });\n APPEND_OPCODES.add(72\n /* EnterList */\n , (vm, {\n op1: relativeStart\n }) => {\n vm.enterList(relativeStart);\n });\n APPEND_OPCODES.add(73\n /* ExitList */\n , vm => {\n vm.exitList();\n });\n APPEND_OPCODES.add(75\n /* Iterate */\n , (vm, {\n op1: breaks\n }) => {\n var stack = vm.stack;\n var iterable = stack.peekJs();\n var item = iterable.next();\n\n if (item) {\n var opcode = vm.enterItem(iterable, item);\n vm.registerItem(opcode);\n } else {\n vm.goto(breaks);\n }\n });\n /** @internal */\n\n var 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 };\n _exports.DEFAULT_CAPABILITIES = DEFAULT_CAPABILITIES;\n var 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 };\n _exports.MINIMAL_CAPABILITIES = MINIMAL_CAPABILITIES;\n\n class SimpleComponentManager {\n getCapabilities(_state) {\n return MINIMAL_CAPABILITIES;\n }\n\n prepareArgs(_state, _args) {\n throw new Error(`Unimplemented prepareArgs in SimpleComponentManager`);\n }\n\n create(_env, _state, _args, _dynamicScope, _caller, _hasDefaultBlock) {\n throw new Error(`Unimplemented create in SimpleComponentManager`);\n }\n\n getSelf(_state) {\n return UNDEFINED_REFERENCE;\n }\n\n getTag(_state) {\n throw new Error(`Unimplemented getTag in SimpleComponentManager`);\n }\n\n didRenderLayout(_state, _bounds) {\n throw new Error(`Unimplemented didRenderLayout in SimpleComponentManager`);\n }\n\n didCreate(_state) {\n throw new Error(`Unimplemented didCreate in SimpleComponentManager`);\n }\n\n update(_state, _dynamicScope) {\n throw new Error(`Unimplemented update in SimpleComponentManager`);\n }\n\n didUpdateLayout(_state, _bounds) {\n throw new Error(`Unimplemented didUpdateLayout in SimpleComponentManager`);\n }\n\n didUpdate(_state) {\n throw new Error(`Unimplemented didUpdate in SimpleComponentManager`);\n }\n\n getDestroyable(_state) {\n return null;\n }\n\n }\n\n _exports.SimpleComponentManager = SimpleComponentManager;\n var TEMPLATE_ONLY_COMPONENT = {\n state: null,\n manager: new SimpleComponentManager()\n };\n _exports.TEMPLATE_ONLY_COMPONENT = TEMPLATE_ONLY_COMPONENT;\n\n class DefaultDynamicScope {\n constructor(bucket) {\n if (bucket) {\n this.bucket = (0, _util.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 DefaultDynamicScope(this.bucket);\n }\n\n }\n\n _exports.DefaultDynamicScope = DefaultDynamicScope;\n\n class DynamicVarReference {\n constructor(scope, nameRef) {\n this.scope = scope;\n this.nameRef = nameRef;\n var varTag = this.varTag = (0, _validator.createUpdatableTag)();\n this.tag = (0, _validator.combine)([nameRef.tag, varTag]);\n }\n\n value() {\n return this.getVar().value();\n }\n\n get(key) {\n return this.getVar().get(key);\n }\n\n getVar() {\n var name = String(this.nameRef.value());\n var ref = this.scope.get(name);\n (0, _validator.updateTag)(this.varTag, ref.tag);\n return ref;\n }\n\n }\n\n function getDynamicVar(args, vm) {\n var scope = vm.dynamicScope();\n var nameRef = args.positional.at(0);\n return new DynamicVarReference(scope, nameRef);\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\n\n class 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 var base = stack[REGISTERS][_vm2.$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 var named = this.named;\n var namedCount = names.length;\n var namedBase = stack[REGISTERS][_vm2.$sp] - namedCount + 1;\n named.setup(stack, namedBase, namedCount, names, atNames);\n var positional = this.positional;\n var positionalBase = namedBase - positionalCount;\n positional.setup(stack, positionalBase, positionalCount);\n var blocks = this.blocks;\n var blocksCount = blockNames.length;\n var blocksBase = positionalBase - blocksCount * 3;\n blocks.setup(stack, blocksBase, blocksCount, blockNames);\n }\n\n get tag() {\n return combineTagged([this.positional, this.named]);\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 var {\n stack\n } = this;\n\n if (offset > 0 && stack !== null) {\n var {\n positional,\n named\n } = this;\n var newBase = positional.base + offset;\n var length = positional.length + named.length;\n\n for (var 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][_vm2.$sp] += offset;\n }\n }\n\n capture() {\n var positional = this.positional.length === 0 ? EMPTY_POSITIONAL : this.positional.capture();\n var named = this.named.length === 0 ? EMPTY_NAMED : this.named.capture();\n return new CapturedArgumentsImpl(this.tag, positional, named, this.length);\n }\n\n clear() {\n var {\n stack,\n length\n } = this;\n if (length > 0 && stack !== null) stack.pop(length);\n }\n\n }\n\n class PositionalArgumentsImpl {\n constructor() {\n this.base = 0;\n this.length = 0;\n this.stack = null;\n this._tag = 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._tag = _validator.CONSTANT_TAG;\n this._references = _util.EMPTY_ARRAY;\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._tag = _validator.CONSTANT_TAG;\n this._references = _util.EMPTY_ARRAY;\n } else {\n this._tag = null;\n this._references = null;\n }\n }\n\n get tag() {\n var tag = this._tag;\n\n if (!tag) {\n tag = this._tag = combineTagged(this.references);\n }\n\n return tag;\n }\n\n at(position) {\n var {\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 new CapturedPositionalArgumentsImpl(this.tag, this.references);\n }\n\n prepend(other) {\n var additions = other.length;\n\n if (additions > 0) {\n var {\n base,\n length,\n stack\n } = this;\n this.base = base = base - additions;\n this.length = length + additions;\n\n for (var i = 0; i < additions; i++) {\n stack.set(other.at(i), i, base);\n }\n\n this._tag = null;\n this._references = null;\n }\n }\n\n get references() {\n var references = this._references;\n\n if (!references) {\n var {\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 }\n\n class CapturedPositionalArgumentsImpl {\n constructor(tag, references, length = references.length) {\n this.tag = tag;\n this.references = references;\n this.length = length;\n }\n\n static empty() {\n return new CapturedPositionalArgumentsImpl(_validator.CONSTANT_TAG, _util.EMPTY_ARRAY, 0);\n }\n\n at(position) {\n return this.references[position];\n }\n\n value() {\n return this.references.map(this.valueOf);\n }\n\n get(name) {\n var {\n references,\n length\n } = this;\n\n if (name === 'length') {\n return PrimitiveReference.create(length);\n } else {\n var idx = parseInt(name, 10);\n\n if (idx < 0 || idx >= length) {\n return UNDEFINED_REFERENCE;\n } else {\n return references[idx];\n }\n }\n }\n\n valueOf(reference) {\n return reference.value();\n }\n\n }\n\n _exports.CapturedPositionalArgumentsImpl = CapturedPositionalArgumentsImpl;\n\n class NamedArgumentsImpl {\n constructor() {\n this.base = 0;\n this.length = 0;\n this._references = null;\n this._names = _util.EMPTY_ARRAY;\n this._atNames = _util.EMPTY_ARRAY;\n }\n\n empty(stack, base) {\n this.stack = stack;\n this.base = base;\n this.length = 0;\n this._references = _util.EMPTY_ARRAY;\n this._names = _util.EMPTY_ARRAY;\n this._atNames = _util.EMPTY_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 = _util.EMPTY_ARRAY;\n this._names = _util.EMPTY_ARRAY;\n this._atNames = _util.EMPTY_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 tag() {\n return combineTagged(this.references);\n }\n\n get names() {\n var 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 var 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 var {\n base,\n stack\n } = this;\n var names = atNames ? this.atNames : this.names;\n var idx = names.indexOf(name);\n\n if (idx === -1) {\n return UNDEFINED_REFERENCE;\n }\n\n return stack.get(idx, base);\n }\n\n capture() {\n return new CapturedNamedArgumentsImpl(this.tag, this.names, this.references);\n }\n\n merge(other) {\n var {\n length: extras\n } = other;\n\n if (extras > 0) {\n var {\n names,\n length,\n stack\n } = this;\n var {\n names: extraNames\n } = other;\n var newNames = names.slice();\n\n for (var i = 0; i < extras; i++) {\n var _name7 = extraNames[i];\n var idx = newNames.indexOf(_name7);\n\n if (idx === -1) {\n length = newNames.push(_name7);\n stack.pushJs(other.references[i]);\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 var references = this._references;\n\n if (!references) {\n var {\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\n class CapturedNamedArgumentsImpl {\n constructor(tag, names, references) {\n this.tag = tag;\n this.names = names;\n this.references = references;\n this.length = names.length;\n this._map = null;\n }\n\n get map() {\n var map = this._map;\n\n if (!map) {\n var {\n names,\n references\n } = this;\n map = this._map = (0, _util.dict)();\n\n for (var i = 0; i < names.length; i++) {\n var _name8 = names[i];\n map[_name8] = references[i];\n }\n }\n\n return map;\n }\n\n has(name) {\n return this.names.indexOf(name) !== -1;\n }\n\n get(name) {\n var {\n names,\n references\n } = this;\n var idx = names.indexOf(name);\n\n if (idx === -1) {\n return UNDEFINED_REFERENCE;\n } else {\n return references[idx];\n }\n }\n\n value() {\n var {\n names,\n references\n } = this;\n var out = (0, _util.dict)();\n\n for (var i = 0; i < names.length; i++) {\n var _name9 = names[i];\n out[_name9] = references[i].value();\n }\n\n return out;\n }\n\n }\n\n _exports.CapturedNamedArgumentsImpl = CapturedNamedArgumentsImpl;\n\n function toSymbolName(name) {\n return `&${name}`;\n }\n\n class BlockArgumentsImpl {\n constructor() {\n this.internalValues = null;\n this._symbolNames = null;\n this.internalTag = null;\n this.names = _util.EMPTY_ARRAY;\n this.length = 0;\n this.base = 0;\n }\n\n empty(stack, base) {\n this.stack = stack;\n this.names = _util.EMPTY_ARRAY;\n this.base = base;\n this.length = 0;\n this._symbolNames = null;\n this.internalTag = _validator.CONSTANT_TAG;\n this.internalValues = _util.EMPTY_ARRAY;\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 = _validator.CONSTANT_TAG;\n this.internalValues = _util.EMPTY_ARRAY;\n } else {\n this.internalTag = null;\n this.internalValues = null;\n }\n }\n\n get values() {\n var values = this.internalValues;\n\n if (!values) {\n var {\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 var idx = this.names.indexOf(name);\n\n if (idx === -1) {\n return null;\n }\n\n var {\n base,\n stack\n } = this;\n var table = stack.get(idx * 3, base);\n var scope = stack.get(idx * 3 + 1, base);\n var 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 var 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\n class 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 var 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\n class CapturedArgumentsImpl {\n constructor(tag, positional, named, length) {\n this.tag = tag;\n this.positional = positional;\n this.named = named;\n this.length = length;\n }\n\n value() {\n return {\n named: this.named.value(),\n positional: this.positional.value()\n };\n }\n\n }\n\n _exports.CapturedArgumentsImpl = CapturedArgumentsImpl;\n var EMPTY_NAMED = new CapturedNamedArgumentsImpl(_validator.CONSTANT_TAG, _util.EMPTY_ARRAY, _util.EMPTY_ARRAY);\n var EMPTY_POSITIONAL = new CapturedPositionalArgumentsImpl(_validator.CONSTANT_TAG, _util.EMPTY_ARRAY);\n var EMPTY_ARGS = new CapturedArgumentsImpl(_validator.CONSTANT_TAG, EMPTY_POSITIONAL, EMPTY_NAMED, 0);\n _exports.EMPTY_ARGS = EMPTY_ARGS;\n\n function initializeRegistersWithSP(sp) {\n return [0, -1, sp, 0];\n }\n\n class 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[_vm2.$pc] = pc;\n } // Start a new frame and save $ra and $fp on the stack\n\n\n pushFrame() {\n this.stack.pushSmallInt(this.registers[_vm2.$ra]);\n this.stack.pushSmallInt(this.registers[_vm2.$fp]);\n this.registers[_vm2.$fp] = this.registers[_vm2.$sp] - 1;\n } // Restore $ra, $sp and $fp\n\n\n popFrame() {\n this.registers[_vm2.$sp] = this.registers[_vm2.$fp] - 1;\n this.registers[_vm2.$ra] = this.stack.get(0);\n this.registers[_vm2.$fp] = this.stack.get(1);\n }\n\n pushSmallFrame() {\n this.stack.pushSmallInt(this.registers[_vm2.$ra]);\n }\n\n popSmallFrame() {\n this.registers[_vm2.$ra] = this.stack.popSmallInt();\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[_vm2.$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[_vm2.$ra] = this.registers[_vm2.$pc];\n this.setPc(this.heap.getaddr(handle));\n } // Put a specific `program` address in $ra\n\n\n returnTo(offset) {\n this.registers[_vm2.$ra] = this.target(offset);\n } // Return to the `program` address stored in $ra\n\n\n return() {\n this.setPc(this.registers[_vm2.$ra]);\n }\n\n nextStatement() {\n var {\n registers,\n program\n } = this;\n var pc = registers[_vm2.$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 var opcode = program.opcode(pc);\n var operationSize = this.currentOpSize = opcode.size;\n this.registers[_vm2.$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.popSmallInt());\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\n class UpdatingVM {\n constructor(env, {\n alwaysRevalidate = false\n }) {\n this.frameStack = new _util.Stack();\n this.env = env;\n this.dom = env.getDOM();\n this.alwaysRevalidate = alwaysRevalidate;\n }\n\n execute(opcodes, handler) {\n var {\n frameStack\n } = this;\n this.try(opcodes, handler);\n\n while (true) {\n if (frameStack.isEmpty()) break;\n var 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 }\n\n _exports.UpdatingVM = UpdatingVM;\n\n class 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 }\n\n class BlockOpcode extends UpdatingOpcode {\n constructor(state, runtime, bounds, children) {\n super();\n this.state = state;\n this.runtime = runtime;\n this.type = 'block';\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 }\n\n class TryOpcode extends BlockOpcode {\n constructor(state, runtime, bounds, children) {\n super(state, runtime, bounds, children);\n this.type = 'try';\n this.tag = this._tag = (0, _validator.createUpdatableTag)();\n }\n\n didInitializeChildren() {\n (0, _validator.updateTag)(this._tag, combineTagged(this.children));\n }\n\n evaluate(vm) {\n vm.try(this.children, this);\n }\n\n handleException() {\n var {\n state,\n bounds,\n runtime\n } = this;\n destroyChildren(this);\n var elementStack = NewElementBuilder.resume(runtime.env, bounds);\n var vm = state.resume(runtime, elementStack);\n var updating = [];\n var children = this.children = [];\n var 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 }\n\n class 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 this.value.update(item.value);\n this.memo.update(item.memo);\n }\n\n shouldRemove() {\n return !this.retained;\n }\n\n reset() {\n this.retained = false;\n }\n\n }\n\n class 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.lastIterated = _validator.INITIAL;\n this.opcodeMap = new Map();\n this.marker = null;\n\n var _tag = this._tag = (0, _validator.createUpdatableTag)();\n\n this.tag = (0, _validator.combine)([iterableRef.tag, _tag]);\n }\n\n initializeChild(opcode) {\n opcode.index = this.children.length - 1;\n this.opcodeMap.set(opcode.key, opcode);\n }\n\n didInitializeChildren() {\n this.lastIterated = (0, _validator.valueForTag)(this.tag);\n (0, _validator.updateTag)(this._tag, combineTagged(this.children));\n }\n\n evaluate(vm) {\n var {\n iterableRef,\n lastIterated\n } = this;\n\n if (!(0, _validator.validateTag)(iterableRef.tag, lastIterated)) {\n var {\n bounds\n } = this;\n var {\n dom\n } = vm;\n var marker = this.marker = dom.createComment('');\n dom.insertAfter(bounds.parentElement(), marker, bounds.lastNode());\n var didChange = this.sync();\n this.parentElement().removeChild(marker);\n this.marker = null;\n\n if (didChange) {\n (0, _validator.updateTag)(this._tag, combineTagged(this.children));\n }\n\n this.lastIterated = (0, _validator.valueForTag)(this.iterableRef.tag);\n } // Run now-updated updating opcodes\n\n\n super.evaluate(vm);\n }\n\n sync() {\n var {\n iterableRef,\n opcodeMap: itemMap,\n children\n } = this;\n var currentOpcodeIndex = 0;\n var seenIndex = 0;\n var didChange = false;\n this.children = this.bounds.boundList = [];\n\n while (true) {\n var item = iterableRef.next();\n if (item === null) break;\n var opcode = children[currentOpcodeIndex];\n var {\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 var 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 var 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 (var 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 didChange = true;\n this.insertItem(item, opcode);\n }\n }\n\n for (var _i7 = 0; _i7 < children.length; _i7++) {\n var _opcode = children[_i7];\n\n if (_opcode.retained === false) {\n didChange = true;\n this.deleteItem(_opcode);\n } else {\n _opcode.reset();\n }\n }\n\n return didChange;\n }\n\n retainItem(opcode, item) {\n var {\n children\n } = this;\n opcode.memo.update(item.memo);\n opcode.value.update(item.value);\n opcode.retained = true;\n opcode.index = children.length;\n children.push(opcode);\n }\n\n insertItem(item, before) {\n var {\n opcodeMap,\n bounds,\n state,\n runtime,\n iterableRef,\n children\n } = this;\n var {\n key\n } = item;\n var nextSibling = before === undefined ? this.marker : before.firstNode();\n var elementStack = NewElementBuilder.forInitialRender(runtime.env, {\n element: bounds.parentElement(),\n nextSibling\n });\n var vm = state.resume(runtime, elementStack);\n vm.execute(vm => {\n vm.pushUpdating();\n var opcode = vm.enterItem(iterableRef, 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 var {\n children\n } = this;\n opcode.memo.update(item.memo);\n opcode.value.update(item.value);\n opcode.retained = true;\n var 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 destroy(opcode);\n clear(opcode);\n this.opcodeMap.delete(opcode.key);\n }\n\n }\n\n class 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\n class 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 var {\n env,\n updating\n } = this;\n var vm = new UpdatingVM(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\n class InnerStack {\n constructor(inner = new _lowLevel.Stack(), js) {\n this.inner = inner;\n this.js = (0, _util.constants)();\n\n if (js !== undefined) {\n this.js = this.js.concat(js);\n }\n }\n\n slice(start, end) {\n var out = [];\n\n if (start === -1) {\n return out;\n }\n\n for (var i = start; i < end; i++) {\n out.push(this.get(i));\n }\n\n return out;\n }\n\n copy(from, to) {\n this.inner.copy(from, to);\n }\n\n writeJs(pos, value) {\n var idx = this.js.length;\n this.js.push(value);\n this.inner.writeRaw(pos, (0, _util.encodeHandle)(idx));\n }\n\n writeSmallInt(pos, value) {\n this.inner.writeRaw(pos, (0, _util.encodeImmediate)(value));\n }\n\n writeTrue(pos) {\n this.inner.writeRaw(pos, 1\n /* ENCODED_TRUE_HANDLE */\n );\n }\n\n writeFalse(pos) {\n this.inner.writeRaw(pos, 0\n /* ENCODED_FALSE_HANDLE */\n );\n }\n\n writeNull(pos) {\n this.inner.writeRaw(pos, 2\n /* ENCODED_NULL_HANDLE */\n );\n }\n\n writeUndefined(pos) {\n this.inner.writeRaw(pos, 3\n /* ENCODED_UNDEFINED_HANDLE */\n );\n }\n\n writeRaw(pos, value) {\n this.inner.writeRaw(pos, value);\n }\n\n getJs(pos) {\n var value = this.inner.getRaw(pos);\n return this.js[(0, _util.decodeHandle)(value)];\n }\n\n getSmallInt(pos) {\n var value = this.inner.getRaw(pos);\n return (0, _util.decodeImmediate)(value);\n }\n\n get(pos) {\n var value = this.inner.getRaw(pos) | 0;\n\n if ((0, _util.isHandle)(value)) {\n return this.js[(0, _util.decodeHandle)(value)];\n } else {\n return (0, _util.decodeImmediate)(value);\n }\n }\n\n reset() {\n this.inner.reset();\n this.js.length = 0;\n }\n\n get length() {\n return this.inner.len();\n }\n\n }\n\n class EvaluationStackImpl {\n // fp -> sp\n constructor(stack, registers) {\n this.stack = stack;\n this[REGISTERS] = registers;\n }\n\n static restore(snapshot) {\n var stack = new InnerStack();\n\n for (var i = 0; i < snapshot.length; i++) {\n var value = snapshot[i];\n\n if (typeof value === 'number' && (0, _util.isSmallInt)(value)) {\n stack.writeRaw(i, (0, _util.encodeImmediate)(value));\n } else if (value === true) {\n stack.writeTrue(i);\n } else if (value === false) {\n stack.writeFalse(i);\n } else if (value === null) {\n stack.writeNull(i);\n } else if (value === undefined) {\n stack.writeUndefined(i);\n } else {\n stack.writeJs(i, value);\n }\n }\n\n return new this(stack, initializeRegistersWithSP(snapshot.length - 1));\n }\n\n pushJs(value) {\n this.stack.writeJs(++this[REGISTERS][_vm2.$sp], value);\n }\n\n pushSmallInt(value) {\n this.stack.writeSmallInt(++this[REGISTERS][_vm2.$sp], value);\n }\n\n pushTrue() {\n this.stack.writeTrue(++this[REGISTERS][_vm2.$sp]);\n }\n\n pushFalse() {\n this.stack.writeFalse(++this[REGISTERS][_vm2.$sp]);\n }\n\n pushNull() {\n this.stack.writeNull(++this[REGISTERS][_vm2.$sp]);\n }\n\n pushUndefined() {\n this.stack.writeUndefined(++this[REGISTERS][_vm2.$sp]);\n }\n\n pushRaw(value) {\n this.stack.writeRaw(++this[REGISTERS][_vm2.$sp], value);\n }\n\n dup(position = this[REGISTERS][_vm2.$sp]) {\n this.stack.copy(position, ++this[REGISTERS][_vm2.$sp]);\n }\n\n copy(from, to) {\n this.stack.copy(from, to);\n }\n\n popJs(n = 1) {\n var top = this.stack.getJs(this[REGISTERS][_vm2.$sp]);\n this[REGISTERS][_vm2.$sp] -= n;\n return top;\n }\n\n popSmallInt(n = 1) {\n var top = this.stack.getSmallInt(this[REGISTERS][_vm2.$sp]);\n this[REGISTERS][_vm2.$sp] -= n;\n return top;\n }\n\n pop(n = 1) {\n var top = this.stack.get(this[REGISTERS][_vm2.$sp]);\n this[REGISTERS][_vm2.$sp] -= n;\n return top;\n }\n\n peekJs(offset = 0) {\n return this.stack.getJs(this[REGISTERS][_vm2.$sp] - offset);\n }\n\n peekSmallInt(offset = 0) {\n return this.stack.getSmallInt(this[REGISTERS][_vm2.$sp] - offset);\n }\n\n peek(offset = 0) {\n return this.stack.get(this[REGISTERS][_vm2.$sp] - offset);\n }\n\n get(offset, base = this[REGISTERS][_vm2.$fp]) {\n return this.stack.get(base + offset);\n }\n\n set(value, offset, base = this[REGISTERS][_vm2.$fp]) {\n this.stack.writeJs(base + offset, value);\n }\n\n slice(start, end) {\n return this.stack.slice(start, end);\n }\n\n capture(items) {\n var end = this[REGISTERS][_vm2.$sp] + 1;\n var start = end - items;\n return this.stack.slice(start, end);\n }\n\n reset() {\n this.stack.reset();\n }\n\n toArray() {\n console.log(this[REGISTERS]);\n return this.stack.slice(this[REGISTERS][_vm2.$fp], this[REGISTERS][_vm2.$sp] + 1);\n }\n\n }\n\n var _a$3, _b;\n\n class Stacks {\n constructor() {\n this.scope = new _util.Stack();\n this.dynamicScope = new _util.Stack();\n this.updating = new _util.Stack();\n this.cache = new _util.Stack();\n this.list = new _util.Stack();\n }\n\n }\n\n class VM {\n /**\n * End of migrated.\n */\n constructor(runtime, {\n pc,\n scope,\n dynamicScope,\n stack\n }, elementStack) {\n this.runtime = runtime;\n this.elementStack = elementStack;\n this[_a$3] = new Stacks();\n this[_b] = new _util.Stack();\n this.s0 = null;\n this.s1 = null;\n this.t0 = null;\n this.t1 = null;\n this.v0 = null;\n var evalStack = EvaluationStackImpl.restore(stack);\n evalStack[REGISTERS][_vm2.$pc] = pc;\n evalStack[REGISTERS][_vm2.$sp] = stack.length - 1;\n evalStack[REGISTERS][_vm2.$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(_vm2.$pc);\n } // Fetch a value from a register onto the stack\n\n\n fetch(register) {\n var value = this.fetchValue(register);\n this.stack.pushJs(value);\n } // Load a value from the stack into a register\n\n\n load(register) {\n var value = this.stack.pop();\n this.loadValue(register, value);\n }\n\n fetchValue(register) {\n if ((0, _vm2.isLowLevelRegister)(register)) {\n return this[INNER_VM].fetchRegister(register);\n }\n\n switch (register) {\n case _vm2.$s0:\n return this.s0;\n\n case _vm2.$s1:\n return this.s1;\n\n case _vm2.$t0:\n return this.t0;\n\n case _vm2.$t1:\n return this.t1;\n\n case _vm2.$v0:\n return this.v0;\n }\n } // Load a value into a register\n\n\n loadValue(register, value) {\n if ((0, _vm2.isLowLevelRegister)(register)) {\n this[INNER_VM].loadRegister(register, value);\n }\n\n switch (register) {\n case _vm2.$s0:\n this.s0 = value;\n break;\n\n case _vm2.$s1:\n this.s1 = value;\n break;\n\n case _vm2.$t0:\n this.t0 = value;\n break;\n\n case _vm2.$t1:\n this.t1 = value;\n break;\n\n case _vm2.$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 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(_vm2.$pc)) {\n return {\n pc,\n dynamicScope: this.dynamicScope(),\n scope: this.scope(),\n stack: this.stack.capture(args)\n };\n }\n\n beginCacheGroup() {\n var opcodes = this.updating();\n var guard = new JumpIfNotModifiedOpcode(opcodes.length);\n opcodes.push(guard);\n this[STACKS].cache.push(guard);\n }\n\n commitCacheGroup() {\n var opcodes = this.updating();\n var guard = this[STACKS].cache.pop();\n var startIndex = guard.index;\n var tag = combineFromIndex(opcodes, startIndex);\n opcodes.push(new DidModifyOpcode(guard));\n guard.finalize(tag, opcodes.length);\n }\n\n enter(args) {\n var updating = [];\n var state = this.capture(args);\n var block = this.elements().pushUpdatableBlock();\n var tryOpcode = new TryOpcode(state, this.runtime, block, updating);\n this.didEnter(tryOpcode);\n }\n\n enterItem(iterableRef, {\n key,\n value,\n memo\n }) {\n var {\n stack\n } = this;\n var valueRef = iterableRef.childRefFor(key, value);\n var memoRef = iterableRef.childRefFor(key, memo);\n stack.pushJs(valueRef);\n stack.pushJs(memoRef);\n var state = this.capture(2);\n var block = this.elements().pushUpdatableBlock();\n var 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(offset) {\n var updating = [];\n var addr = this[INNER_VM].target(offset);\n var state = this.capture(0, addr);\n var list = this.elements().pushBlockList(updating);\n var iterableRef = this.stack.peekJs();\n var 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 var updating = this.updating();\n var parent = updating[updating.length - 1];\n parent.didInitializeChildren();\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 var 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 var child = this.dynamicScope().child();\n this[STACKS].dynamicScope.push(child);\n return child;\n }\n\n pushRootScope(size) {\n var scope = ScopeImpl.sized(size);\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 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 (initialize) initialize(this);\n var result;\n\n try {\n while (true) {\n result = this.next();\n if (result.done) break;\n }\n } finally {\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 var elements = this.elements();\n\n while (elements.hasBlocks) {\n elements.popBlock();\n }\n }\n\n return result.value;\n }\n\n next() {\n var {\n env,\n elementStack\n } = this;\n var opcode = this[INNER_VM].nextStatement();\n var 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 var scope = this.dynamicScope();\n\n for (var i = names.length - 1; i >= 0; i--) {\n var _name10 = names[i];\n scope.set(_name10, this.stack.popJs());\n }\n }\n\n }\n\n _exports.LowLevelVM = VM;\n _a$3 = STACKS, _b = DESTROYABLE_STACK;\n\n function vmState(pc, scope = ScopeImpl.root(UNDEFINED_REFERENCE, 0), dynamicScope) {\n return {\n pc,\n scope,\n dynamicScope,\n stack: []\n };\n }\n\n class AotVM extends VM {\n static empty(runtime, {\n handle,\n treeBuilder,\n dynamicScope\n }) {\n var vm = initAOT(runtime, vmState(runtime.program.heap.getaddr(handle), ScopeImpl.root(UNDEFINED_REFERENCE, 0), dynamicScope), treeBuilder);\n vm.pushUpdating();\n return vm;\n }\n\n static initial(runtime, {\n handle,\n self,\n treeBuilder,\n dynamicScope\n }) {\n var scopeSize = runtime.program.heap.scopesizeof(handle);\n var scope = ScopeImpl.root(self, scopeSize);\n var pc = runtime.program.heap.getaddr(handle);\n var state = vmState(pc, scope, dynamicScope);\n var vm = initAOT(runtime, state, treeBuilder);\n vm.pushUpdating();\n return vm;\n }\n\n capture(args, pc = this[INNER_VM].fetchRegister(_vm2.$pc)) {\n return new ResumableVMStateImpl(this.captureState(args, pc), initAOT);\n }\n\n }\n\n function initAOT(runtime, state, builder) {\n return new AotVM(runtime, state, builder);\n }\n\n function initJIT(context) {\n return (runtime, state, builder) => new JitVM(runtime, state, builder, context);\n }\n\n class JitVM extends VM {\n constructor(runtime, state, elementStack, context) {\n super(runtime, state, elementStack);\n this.context = context;\n this.resume = initJIT(this.context);\n }\n\n static initial(runtime, context, {\n handle,\n self,\n dynamicScope,\n treeBuilder\n }) {\n var scopeSize = runtime.program.heap.scopesizeof(handle);\n var scope = ScopeImpl.root(self, scopeSize);\n var state = vmState(runtime.program.heap.getaddr(handle), scope, dynamicScope);\n var vm = initJIT(context)(runtime, state, treeBuilder);\n vm.pushUpdating();\n return vm;\n }\n\n static empty(runtime, {\n handle,\n treeBuilder,\n dynamicScope\n }, context) {\n var vm = initJIT(context)(runtime, vmState(runtime.program.heap.getaddr(handle), ScopeImpl.root(UNDEFINED_REFERENCE, 0), dynamicScope), treeBuilder);\n vm.pushUpdating();\n return vm;\n }\n\n capture(args, pc = this[INNER_VM].fetchRegister(_vm2.$pc)) {\n return new ResumableVMStateImpl(this.captureState(args, pc), this.resume);\n }\n\n compile(block) {\n var handle = (0, _util.unwrapHandle)(block.compile(this.context));\n return handle;\n }\n\n }\n\n class TemplateIteratorImpl {\n constructor(vm) {\n this.vm = vm;\n }\n\n next() {\n return this.vm.next();\n }\n\n sync() {\n return renderSync(this.vm.runtime.env, this);\n }\n\n }\n\n function renderSync(env, iterator) {\n try {\n env.begin();\n var iteratorResult;\n\n do {\n iteratorResult = iterator.next();\n } while (!iteratorResult.done);\n\n return iteratorResult.value;\n } finally {\n env.commit();\n }\n }\n\n function renderAotMain(runtime, self, treeBuilder, handle, dynamicScope = new DefaultDynamicScope()) {\n var vm = AotVM.initial(runtime, {\n self,\n dynamicScope,\n treeBuilder,\n handle\n });\n return new TemplateIteratorImpl(vm);\n }\n\n function renderAot(runtime, handle, cursor, self = UNDEFINED_REFERENCE) {\n var treeBuilder = NewElementBuilder.forInitialRender(runtime.env, cursor);\n var dynamicScope = new DefaultDynamicScope();\n var vm = AotVM.initial(runtime, {\n self,\n dynamicScope,\n treeBuilder,\n handle\n });\n return new TemplateIteratorImpl(vm);\n }\n\n function renderJitMain(runtime, context, self, treeBuilder, handle, dynamicScope = new DefaultDynamicScope()) {\n var vm = JitVM.initial(runtime, context, {\n self,\n dynamicScope,\n treeBuilder,\n handle\n });\n return new TemplateIteratorImpl(vm);\n }\n\n function renderInvocation(vm, invocation, definition, args) {\n // Get a list of tuples of argument names and references, like\n // [['title', reference], ['name', reference]]\n var argList = Object.keys(args).map(key => [key, args[key]]);\n var blockNames = ['main', 'else', 'attrs']; // Prefix argument names with `@` symbol\n\n var argNames = argList.map(([name]) => `@${name}`);\n vm.pushFrame(); // Push blocks on to the stack, three stack values per block\n\n for (var i = 0; i < 3 * blockNames.length; i++) {\n vm.stack.pushNull();\n }\n\n vm.stack.pushNull(); // For each argument, push its backing reference on to the stack\n\n argList.forEach(([, reference]) => {\n vm.stack.pushJs(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); // Needed for the Op.Main opcode: arguments, component invocation object, and\n // component definition.\n\n vm.stack.pushJs(vm[ARGS]);\n vm.stack.pushJs(invocation);\n vm.stack.pushJs(definition);\n return new TemplateIteratorImpl(vm);\n }\n\n function renderAotComponent(runtime, treeBuilder, main, name, args = {}, dynamicScope = new DefaultDynamicScope()) {\n var vm = AotVM.empty(runtime, {\n treeBuilder,\n handle: main,\n dynamicScope\n });\n var definition = resolveComponent(vm.runtime.resolver, name);\n var {\n manager,\n state\n } = definition;\n var capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n var invocation;\n\n if (hasStaticLayoutCapability(capabilities, manager)) {\n invocation = manager.getAotStaticLayout(state, vm.runtime.resolver);\n } else {\n throw new Error('Cannot invoke components with dynamic layouts as a root component.');\n }\n\n return renderInvocation(vm, invocation, definition, args);\n }\n\n function renderJitComponent(runtime, treeBuilder, context, main, name, args = {}, dynamicScope = new DefaultDynamicScope()) {\n var vm = JitVM.empty(runtime, {\n treeBuilder,\n handle: main,\n dynamicScope\n }, context);\n var definition = resolveComponent(vm.runtime.resolver, name);\n var {\n manager,\n state\n } = definition;\n var capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n var invocation;\n\n if (hasStaticLayoutCapability(capabilities, manager)) {\n var layout = manager.getJitStaticLayout(state, vm.runtime.resolver);\n var handle = (0, _util.unwrapHandle)(layout.compile(context));\n\n if (Array.isArray(handle)) {\n var error = handle[0];\n throw new Error(`Compile Error: ${error.problem} ${error.span.start}..${error.span.end} :: TODO (thread better)`);\n }\n\n invocation = {\n handle,\n symbolTable: layout.symbolTable\n };\n } else {\n throw new Error('Cannot invoke components with dynamic layouts as a root component.');\n }\n\n return renderInvocation(vm, invocation, definition, args);\n }\n\n var SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n _exports.SERIALIZATION_FIRST_NODE_STRING = SERIALIZATION_FIRST_NODE_STRING;\n\n function isSerializationFirstNode(node) {\n return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n }\n\n class 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 }\n\n class 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 var node = this.currentCursor.element.firstChild;\n\n while (node !== null) {\n if (isComment(node) && isSerializationFirstNode(node)) {\n break;\n }\n\n node = node.nextSibling;\n }\n\n this.candidate = node;\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 var currentCursor = this.currentCursor;\n currentCursor.candidate = node;\n }\n\n disableRehydration(nextSibling) {\n var 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 var currentCursor = this.currentCursor;\n currentCursor.candidate = candidate;\n currentCursor.nextSibling = null;\n }\n\n pushElement(element, nextSibling = null) {\n var 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 var current = candidate;\n var currentCursor = this.currentCursor;\n\n if (currentCursor !== null) {\n var openBlockDepth = currentCursor.openBlockDepth;\n\n if (openBlockDepth >= currentCursor.startingBlockDepth) {\n while (current) {\n if (isCloseBlock(current)) {\n var closeBlockDepth = getBlockDepth(current);\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 var {\n currentCursor\n } = this;\n if (currentCursor === null) return;\n var blockDepth = this.blockDepth;\n this.blockDepth++;\n var {\n candidate\n } = currentCursor;\n if (candidate === null) return;\n var {\n tagName\n } = currentCursor.element;\n\n if (isOpenBlock(candidate) && getBlockDepth(candidate) === 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 var {\n currentCursor\n } = this;\n if (currentCursor === null) return; // openBlock is the last rehydrated open block\n\n var openBlockDepth = currentCursor.openBlockDepth; // this currently is the expected next open block depth\n\n this.blockDepth--;\n var {\n candidate\n } = currentCursor;\n var 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) && getBlockDepth(candidate) === openBlockDepth) {\n var 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 var _nextSibling = currentCursor.nextSibling;\n\n if (_nextSibling !== null && isCloseBlock(_nextSibling) && getBlockDepth(_nextSibling) === this.blockDepth) {\n // restore rehydration state\n var _candidate2 = this.remove(_nextSibling);\n\n this.enableRehydration(_candidate2);\n currentCursor.openBlockDepth--;\n }\n }\n }\n\n __appendNode(node) {\n var {\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 var candidateBounds = this.markerBounds();\n\n if (candidateBounds) {\n var first = candidateBounds.firstNode();\n var last = candidateBounds.lastNode();\n var newBounds = new ConcreteBounds(this.element, first.nextSibling, last.previousSibling);\n var 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 var element = node.parentNode;\n var next = node.nextSibling;\n element.removeChild(node);\n return next;\n }\n\n markerBounds() {\n var _candidate = this.candidate;\n\n if (_candidate && isMarker(_candidate)) {\n var first = _candidate;\n var 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 var {\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 var _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 var _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 var unmatched = this.unmatchedAttributes;\n\n if (unmatched) {\n var 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 var unmatched = this.unmatchedAttributes;\n\n if (unmatched) {\n var 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 var {\n unmatchedAttributes: unmatched\n } = this;\n\n if (unmatched) {\n for (var 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 var {\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 var 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 var 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 var 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 var 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 var last = bounds.lastNode();\n this.candidate = last && last.nextSibling;\n }\n\n return bounds;\n }\n\n }\n\n _exports.RehydrateBuilder = RehydrateBuilder;\n\n function isTextNode(node) {\n return node.nodeType === 3;\n }\n\n function isComment(node) {\n return node.nodeType === 8;\n }\n\n function isOpenBlock(node) {\n return node.nodeType === 8\n /* COMMENT_NODE */\n && node.nodeValue.lastIndexOf('%+b:', 0) === 0;\n }\n\n function isCloseBlock(node) {\n return node.nodeType === 8\n /* COMMENT_NODE */\n && node.nodeValue.lastIndexOf('%-b:', 0) === 0;\n }\n\n function getBlockDepth(node) {\n return parseInt(node.nodeValue.slice(4), 10);\n }\n\n function isElement(node) {\n return node.nodeType === 1;\n }\n\n function isMarker(node) {\n return node.nodeType === 8 && node.nodeValue === '%glmr%';\n }\n\n function isSeparator(node) {\n return node.nodeType === 8 && node.nodeValue === '%|%';\n }\n\n function isEmpty$1(node) {\n return node.nodeType === 8 && node.nodeValue === '% %';\n }\n\n function 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\n function findByName(array, name) {\n for (var i = 0; i < array.length; i++) {\n var attr = array[i];\n if (attr.name === name) return attr;\n }\n\n return undefined;\n }\n\n function rehydrationBuilder(env, cursor) {\n return RehydrateBuilder.forInitialRender(env, cursor);\n }\n});","define(\"@glimmer/util\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.assertNever = assertNever;\n _exports.assert = debugAssert;\n _exports.deprecate = deprecate;\n _exports.dict = dict;\n _exports.isDict = isDict;\n _exports.isObject = isObject;\n _exports.ensureGuid = ensureGuid;\n _exports.initializeGuid = initializeGuid;\n _exports.isSerializationFirstNode = isSerializationFirstNode;\n _exports.assign = assign;\n _exports.fillNulls = fillNulls;\n _exports.values = values;\n _exports.clearElement = clearElement;\n _exports.keys = keys;\n _exports.unwrap = unwrap;\n _exports.expect = expect;\n _exports.unreachable = unreachable;\n _exports.exhausted = exhausted;\n _exports.strip = strip;\n _exports.isHandle = isHandle;\n _exports.isNonPrimitiveHandle = isNonPrimitiveHandle;\n _exports.constants = constants;\n _exports.isSmallInt = isSmallInt;\n _exports.encodeNegative = encodeNegative;\n _exports.decodeNegative = decodeNegative;\n _exports.encodePositive = encodePositive;\n _exports.decodePositive = decodePositive;\n _exports.encodeHandle = encodeHandle;\n _exports.decodeHandle = decodeHandle;\n _exports.encodeImmediate = encodeImmediate;\n _exports.decodeImmediate = decodeImmediate;\n _exports.unwrapHandle = unwrapHandle;\n _exports.unwrapTemplate = unwrapTemplate;\n _exports.extractHandle = extractHandle;\n _exports.isOkHandle = isOkHandle;\n _exports.isErrHandle = isErrHandle;\n _exports.symbol = _exports.tuple = _exports.verifySteps = _exports.logStep = _exports.endTestSteps = _exports.beginTestSteps = _exports.debugToString = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.Stack = _exports.DictSet = _exports.EMPTY_ARRAY = void 0;\n var EMPTY_ARRAY = Object.freeze([]); // import Logger from './logger';\n // let alreadyWarned = false;\n\n _exports.EMPTY_ARRAY = EMPTY_ARRAY;\n\n function debugAssert(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 }\n\n function deprecate(desc) {\n console.warn(`DEPRECATION: ${desc}`);\n }\n\n var GUID = 0;\n\n function initializeGuid(object) {\n return object._guid = ++GUID;\n }\n\n function ensureGuid(object) {\n return object._guid || initializeGuid(object);\n }\n\n function dict() {\n return Object.create(null);\n }\n\n function isDict(u) {\n return u !== null && u !== undefined;\n }\n\n function isObject(u) {\n return typeof u === 'object' && u !== null;\n }\n\n class DictSet {\n constructor() {\n this.dict = dict();\n }\n\n add(obj) {\n if (typeof obj === 'string') this.dict[obj] = obj;else this.dict[ensureGuid(obj)] = obj;\n return this;\n }\n\n delete(obj) {\n if (typeof obj === 'string') delete this.dict[obj];else if (obj._guid) delete this.dict[obj._guid];\n }\n\n }\n\n _exports.DictSet = DictSet;\n\n class StackImpl {\n constructor() {\n this.stack = [];\n this.current = null;\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 var item = this.stack.pop();\n var 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 var 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\n _exports.Stack = StackImpl;\n\n function clearElement(parent) {\n var current = parent.firstChild;\n\n while (current) {\n var next = current.nextSibling;\n parent.removeChild(current);\n current = next;\n }\n }\n\n var SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n _exports.SERIALIZATION_FIRST_NODE_STRING = SERIALIZATION_FIRST_NODE_STRING;\n\n function isSerializationFirstNode(node) {\n return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n }\n\n var {\n keys: objKeys\n } = Object;\n\n function assign(obj) {\n for (var i = 1; i < arguments.length; i++) {\n var assignment = arguments[i];\n if (assignment === null || typeof assignment !== 'object') continue;\n\n var _keys = objKeys(assignment);\n\n for (var j = 0; j < _keys.length; j++) {\n var key = _keys[j];\n obj[key] = assignment[key];\n }\n }\n\n return obj;\n }\n\n function fillNulls(count) {\n var arr = new Array(count);\n\n for (var i = 0; i < count; i++) {\n arr[i] = null;\n }\n\n return arr;\n }\n\n function values(obj) {\n var vals = [];\n\n for (var key in obj) {\n vals.push(obj[key]);\n }\n\n return vals;\n }\n\n function keys(obj) {\n return Object.keys(obj);\n }\n\n function unwrap(val) {\n if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n return val;\n }\n\n function expect(val, message) {\n if (val === null || val === undefined) throw new Error(message);\n return val;\n }\n\n function unreachable(message = 'unreachable') {\n return new Error(message);\n }\n\n function exhausted(value) {\n throw new Error(`Exhausted ${value}`);\n }\n\n var tuple = (...args) => args;\n\n _exports.tuple = tuple;\n var symbol = typeof Symbol !== 'undefined' ? Symbol : key => `__${key}${Math.floor(Math.random() * Date.now())}__`;\n _exports.symbol = symbol;\n\n function strip(strings, ...args) {\n var out = '';\n\n for (var i = 0; i < strings.length; i++) {\n var string = strings[i];\n var dynamic = args[i] !== undefined ? String(args[i]) : '';\n out += `${string}${dynamic}`;\n }\n\n var 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 var min = Infinity;\n\n for (var line of lines) {\n var leading = line.match(/^\\s*/)[0].length;\n min = Math.min(min, leading);\n }\n\n var stripped = [];\n\n for (var _line of lines) {\n stripped.push(_line.slice(min));\n }\n\n return stripped.join('\\n');\n }\n\n function isHandle(value) {\n return value >= 0;\n }\n\n function isNonPrimitiveHandle(value) {\n return value > 3\n /* ENCODED_UNDEFINED_HANDLE */\n ;\n }\n\n function constants(...values) {\n return [false, true, null, undefined, ...values];\n }\n\n function isSmallInt(value) {\n return value % 1 === 0 && value <= 536870911\n /* MAX_INT */\n && value >= -536870912\n /* MIN_INT */\n ;\n }\n\n function encodeNegative(num) {\n return num & -536870913\n /* SIGN_BIT */\n ;\n }\n\n function decodeNegative(num) {\n return num | ~-536870913\n /* SIGN_BIT */\n ;\n }\n\n function encodePositive(num) {\n return ~num;\n }\n\n function decodePositive(num) {\n return ~num;\n }\n\n function encodeHandle(num) {\n return num;\n }\n\n function decodeHandle(num) {\n return num;\n }\n\n function encodeImmediate(num) {\n num |= 0;\n return num < 0 ? encodeNegative(num) : encodePositive(num);\n }\n\n function decodeImmediate(num) {\n num |= 0;\n return num > -536870913\n /* SIGN_BIT */\n ? decodePositive(num) : decodeNegative(num);\n } // Warm\n\n\n [1, -1].forEach(x => decodeImmediate(encodeImmediate(x)));\n\n function unwrapHandle(handle) {\n if (typeof handle === 'number') {\n return handle;\n } else {\n var error = handle.errors[0];\n throw new Error(`Compile Error: ${error.problem} @ ${error.span.start}..${error.span.end}`);\n }\n }\n\n function 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 }\n\n function extractHandle(handle) {\n if (typeof handle === 'number') {\n return handle;\n } else {\n return handle.handle;\n }\n }\n\n function isOkHandle(handle) {\n return typeof handle === 'number';\n }\n\n function isErrHandle(handle) {\n return typeof handle === 'number';\n }\n\n var debugToString;\n\n if (true\n /* DEBUG */\n ) {\n var getFunctionName = fn => {\n var functionName = fn.name;\n\n if (functionName === undefined) {\n var 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 var getObjectName = obj => {\n var name;\n var className;\n\n if (obj.constructor && obj.constructor !== Object) {\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 var 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\n var debugToString$1 = debugToString;\n _exports.debugToString = debugToString$1;\n var beginTestSteps;\n _exports.beginTestSteps = beginTestSteps;\n var endTestSteps;\n _exports.endTestSteps = endTestSteps;\n var verifySteps;\n _exports.verifySteps = verifySteps;\n var logStep;\n _exports.logStep = logStep;\n\n function assertNever(value, desc = 'unexpected unreachable branch') {\n console.log('unreachable', value);\n console.trace(`${desc} :: ${JSON.stringify(value)} (${value})`);\n }\n});","define(\"@glimmer/validator\", [\"exports\", \"@ember/polyfills\"], function (_exports, _polyfills) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.bump = bump;\n _exports.combine = combine;\n _exports.createCombinatorTag = createCombinatorTag;\n _exports.createTag = createTag;\n _exports.createUpdatableTag = createUpdatableTag;\n _exports.isConstTagged = isConstTagged;\n _exports.isConstTag = isConstTag;\n _exports.validateTag = validateTag;\n _exports.valueForTag = valueForTag;\n _exports.dirtyTagFor = dirtyTagFor;\n _exports.tagFor = tagFor;\n _exports.tagMetaFor = tagMetaFor;\n _exports.setPropertyDidChange = setPropertyDidChange;\n _exports.beginTrackFrame = beginTrackFrame;\n _exports.endTrackFrame = endTrackFrame;\n _exports.consumeTag = consumeTag;\n _exports.isTracking = isTracking;\n _exports.track = track;\n _exports.memo = memo;\n _exports.untrack = untrack;\n _exports.isConstMemo = isConstMemo;\n _exports.createCache = createCache;\n _exports.isConst = isConst;\n _exports.getValue = getValue;\n _exports.trackedData = trackedData;\n _exports.deprecateMutationsInAutotrackingTransaction = _exports.runInAutotrackingTransaction = _exports.setAutotrackingTransactionEnv = _exports.VOLATILE = _exports.VOLATILE_TAG = _exports.VolatileTag = _exports.updateTag = _exports.INITIAL = _exports.dirtyTag = _exports.CURRENT_TAG = _exports.CurrentTag = _exports.CONSTANT = _exports.CONSTANT_TAG = _exports.COMPUTE = _exports.ALLOW_CYCLES = void 0;\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 var symbol = typeof Symbol !== 'undefined' ? Symbol : key => `__${key}${Math.floor(Math.random() * Date.now())}__`;\n var symbolFor = typeof Symbol !== 'undefined' ? Symbol.for : key => `__GLIMMER_VALIDATOR_SYMBOL_FOR_${key}`;\n\n function getGlobal() {\n // eslint-disable-next-line node/no-unsupported-features/es-builtins\n if (typeof globalThis !== 'undefined') return globalThis;\n if (typeof self !== 'undefined') return self;\n if (typeof window !== 'undefined') return window;\n if (typeof global !== 'undefined') return global;\n throw new Error('unable to locate global object');\n }\n\n var runInAutotrackingTransaction;\n _exports.runInAutotrackingTransaction = runInAutotrackingTransaction;\n var deprecateMutationsInAutotrackingTransaction;\n _exports.deprecateMutationsInAutotrackingTransaction = deprecateMutationsInAutotrackingTransaction;\n var setAutotrackingTransactionEnv;\n _exports.setAutotrackingTransactionEnv = setAutotrackingTransactionEnv;\n var assertTagNotConsumed;\n var markTagAsConsumed;\n\n if (true\n /* DEBUG */\n ) {\n var DEPRECATE_IN_AUTOTRACKING_TRANSACTION = false;\n var AUTOTRACKING_TRANSACTION = null;\n var debuggingContexts = []; /////////\n\n var TRANSACTION_ENV = {\n assert(message) {\n throw new Error(message);\n },\n\n deprecate(message) {\n console.warn(message);\n },\n\n debugMessage(obj, keyName) {\n var objName;\n\n if (typeof obj === 'function') {\n objName = obj.name;\n } else if (typeof obj === 'object' && obj !== null) {\n var 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 var 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 _exports.setAutotrackingTransactionEnv = setAutotrackingTransactionEnv = env => (0, _polyfills.assign)(TRANSACTION_ENV, env);\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 _exports.runInAutotrackingTransaction = runInAutotrackingTransaction = (fn, debuggingContext) => {\n var previousDeprecateState = DEPRECATE_IN_AUTOTRACKING_TRANSACTION;\n var previousTransactionState = AUTOTRACKING_TRANSACTION;\n DEPRECATE_IN_AUTOTRACKING_TRANSACTION = false;\n\n if (previousTransactionState === null) {\n // if there was no transaction start it. Otherwise, the transaction already exists.\n AUTOTRACKING_TRANSACTION = new WeakMap();\n }\n\n if (debuggingContext) {\n debuggingContexts.unshift(debuggingContext);\n }\n\n try {\n fn();\n } finally {\n if (debuggingContext) {\n debuggingContexts.shift();\n }\n\n DEPRECATE_IN_AUTOTRACKING_TRANSACTION = previousDeprecateState;\n AUTOTRACKING_TRANSACTION = previousTransactionState;\n }\n };\n /**\n * Switches to deprecating within an autotracking transaction, if one exists.\n * If `runInAutotrackingTransaction` is called within the callback of this\n * method, it switches back to throwing an error, allowing zebra-striping of\n * the types of errors that are thrown.\n *\n * Does not start an autotracking transaction.\n *\n * NOTE: For Ember usage only, in general you should assert that these\n * invariants are true.\n */\n\n\n _exports.deprecateMutationsInAutotrackingTransaction = deprecateMutationsInAutotrackingTransaction = fn => {\n var previousDeprecateState = DEPRECATE_IN_AUTOTRACKING_TRANSACTION;\n DEPRECATE_IN_AUTOTRACKING_TRANSACTION = true;\n\n try {\n fn();\n } finally {\n DEPRECATE_IN_AUTOTRACKING_TRANSACTION = previousDeprecateState;\n }\n };\n\n var nthIndex = (str, pattern, n, startingPos = -1) => {\n var 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 var makeAutotrackingErrorMessage = (sourceData, obj, keyName) => {\n var message = [TRANSACTION_ENV.debugMessage(obj, keyName && String(keyName))];\n\n if (sourceData.context) {\n message.push(`\\`${String(keyName)}\\` was first used:\\n\\n${sourceData.context}`);\n }\n\n message.push(`Stack trace for the update:`);\n return message.join('\\n\\n');\n };\n\n markTagAsConsumed = _tag => {\n if (!AUTOTRACKING_TRANSACTION || AUTOTRACKING_TRANSACTION.has(_tag)) return;\n AUTOTRACKING_TRANSACTION.set(_tag, {\n context: debuggingContexts.map(c => c.replace(/^/gm, ' ').replace(/^ /, '-')).join('\\n\\n')\n }); // 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 var 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, forceHardError = false) => {\n if (AUTOTRACKING_TRANSACTION === null) return;\n var sourceData = AUTOTRACKING_TRANSACTION.get(tag);\n if (!sourceData) return;\n\n if (DEPRECATE_IN_AUTOTRACKING_TRANSACTION && !forceHardError) {\n TRANSACTION_ENV.deprecate(makeAutotrackingErrorMessage(sourceData, obj, keyName));\n } else {\n // 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 try {\n TRANSACTION_ENV.assert(makeAutotrackingErrorMessage(sourceData, obj, keyName));\n } catch (e) {\n if (e.stack) {\n var updateStackBegin = e.stack.indexOf('Stack trace for the update:');\n\n if (updateStackBegin !== -1) {\n var start = nthIndex(e.stack, '\\n', 1, updateStackBegin);\n var 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 }\n\n var CONSTANT = 0;\n _exports.CONSTANT = CONSTANT;\n var INITIAL = 1;\n _exports.INITIAL = INITIAL;\n var VOLATILE = NaN;\n _exports.VOLATILE = VOLATILE;\n var $REVISION = INITIAL;\n\n function bump() {\n $REVISION++;\n } //////////\n\n\n var 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\n _exports.COMPUTE = COMPUTE;\n\n function 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\n\n function validateTag(tag, snapshot) {\n return snapshot >= tag[COMPUTE]();\n }\n\n var TYPE = symbol('TAG_TYPE');\n var ALLOW_CYCLES;\n _exports.ALLOW_CYCLES = ALLOW_CYCLES;\n\n if (true\n /* DEBUG */\n ) {\n _exports.ALLOW_CYCLES = ALLOW_CYCLES = new WeakMap();\n }\n\n class 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 [COMPUTE]() {\n var {\n lastChecked\n } = this;\n\n if (this.isUpdating === true) {\n if (true\n /* DEBUG */\n && !ALLOW_CYCLES.has(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 var {\n subtag,\n revision\n } = this;\n\n if (subtag !== null) {\n if (Array.isArray(subtag)) {\n for (var i = 0; i < subtag.length; i++) {\n var value = subtag[i][COMPUTE]();\n revision = Math.max(value, revision);\n }\n } else {\n var 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 (true\n /* DEBUG */\n && _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 var tag = _tag;\n var 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) {\n if (true\n /* DEBUG */\n && !(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 (true\n /* DEBUG */\n ) {\n // Usually by this point, we've already asserted with better error information,\n // but this is our last line of defense.\n assertTagNotConsumed(tag);\n }\n\n tag.revision = ++$REVISION;\n }\n\n }\n\n var dirtyTag = MonomorphicTagImpl.dirtyTag;\n _exports.dirtyTag = dirtyTag;\n var updateTag = MonomorphicTagImpl.updateTag; //////////\n\n _exports.updateTag = updateTag;\n\n function createTag() {\n return new MonomorphicTagImpl(0\n /* Dirtyable */\n );\n }\n\n function createUpdatableTag() {\n return new MonomorphicTagImpl(1\n /* Updatable */\n );\n } //////////\n\n\n var CONSTANT_TAG = new MonomorphicTagImpl(3\n /* Constant */\n );\n _exports.CONSTANT_TAG = CONSTANT_TAG;\n\n function isConstTagged({\n tag\n }) {\n return tag === CONSTANT_TAG;\n }\n\n function isConstTag(tag) {\n return tag === CONSTANT_TAG;\n } //////////\n\n\n class VolatileTag {\n [COMPUTE]() {\n return VOLATILE;\n }\n\n }\n\n _exports.VolatileTag = VolatileTag;\n var VOLATILE_TAG = new VolatileTag(); //////////\n\n _exports.VOLATILE_TAG = VOLATILE_TAG;\n\n class CurrentTag {\n [COMPUTE]() {\n return $REVISION;\n }\n\n }\n\n _exports.CurrentTag = CurrentTag;\n var CURRENT_TAG = new CurrentTag(); //////////\n\n _exports.CURRENT_TAG = CURRENT_TAG;\n\n function combine(tags) {\n var optimized = [];\n\n for (var i = 0, l = tags.length; i < l; i++) {\n var tag = tags[i];\n if (tag === CONSTANT_TAG) continue;\n optimized.push(tag);\n }\n\n return createCombinatorTag(optimized);\n }\n\n function createCombinatorTag(tags) {\n switch (tags.length) {\n case 0:\n return CONSTANT_TAG;\n\n case 1:\n return tags[0];\n\n default:\n var tag = new MonomorphicTagImpl(2\n /* Combinator */\n );\n tag.subtag = tags;\n return tag;\n }\n } // Warm\n\n\n var tag1 = createUpdatableTag();\n var tag2 = createUpdatableTag();\n var tag3 = createUpdatableTag();\n valueForTag(tag1);\n dirtyTag(tag1);\n valueForTag(tag1);\n updateTag(tag1, combine([tag2, tag3]));\n valueForTag(tag1);\n dirtyTag(tag2);\n valueForTag(tag1);\n dirtyTag(tag3);\n valueForTag(tag1);\n updateTag(tag1, tag3);\n valueForTag(tag1);\n dirtyTag(tag3);\n valueForTag(tag1);\n\n var propertyDidChange = function () {};\n\n function setPropertyDidChange(cb) {\n propertyDidChange = cb;\n }\n\n function isObjectLike(u) {\n return typeof u === 'object' && u !== null || typeof u === 'function';\n }\n\n var TRACKED_TAGS = new WeakMap();\n\n function dirtyTagFor(obj, key) {\n if (true\n /* DEBUG */\n && !isObjectLike(obj)) {\n throw new Error(`BUG: Can't update a tag for a primitive`);\n }\n\n var tags = TRACKED_TAGS.get(obj); // 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 var propertyTag = tags.get(key);\n\n if (propertyTag !== undefined) {\n if (true\n /* DEBUG */\n ) {\n assertTagNotConsumed(propertyTag, obj, key);\n }\n\n dirtyTag(propertyTag);\n propertyDidChange();\n }\n }\n\n function tagMetaFor(obj) {\n var 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 }\n\n function tagFor(obj, key, meta) {\n var tags = meta === undefined ? tagMetaFor(obj) : meta;\n var 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 * An object that that tracks @tracked properties that were consumed.\n */\n\n\n class Tracker {\n constructor() {\n this.tags = new Set();\n this.last = null;\n }\n\n add(tag) {\n this.tags.add(tag);\n\n if (true\n /* DEBUG */\n ) {\n markTagAsConsumed(tag);\n }\n\n this.last = tag;\n }\n\n combine() {\n var {\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 var 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\n var CURRENT_TRACKER = null;\n var OPEN_TRACK_FRAMES = [];\n\n function beginTrackFrame() {\n OPEN_TRACK_FRAMES.push(CURRENT_TRACKER);\n CURRENT_TRACKER = new Tracker();\n }\n\n function endTrackFrame() {\n var current = CURRENT_TRACKER;\n\n if (true\n /* DEBUG */\n && 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();\n return current.combine();\n }\n\n function isTracking() {\n return CURRENT_TRACKER !== null;\n }\n\n function consumeTag(tag) {\n if (CURRENT_TRACKER !== null) {\n CURRENT_TRACKER.add(tag);\n }\n } //////////\n\n\n var CACHE_KEY = symbol('CACHE_KEY');\n\n function memo(callback, debuggingContext) {\n var cache = createCache(callback, debuggingContext);\n\n var memoized = () => getValue(cache);\n\n memoized[CACHE_KEY] = cache;\n return memoized;\n }\n\n function isConstMemo(fn) {\n return isMemo(fn) ? isConst(fn[CACHE_KEY]) : false;\n }\n\n function isMemo(fn) {\n return CACHE_KEY in fn;\n }\n\n var FN = symbol('FN');\n var LAST_VALUE = symbol('LAST_VALUE');\n var TAG = symbol('TAG');\n var SNAPSHOT = symbol('SNAPSHOT');\n var DEBUG_LABEL = symbol('DEBUG_LABEL');\n\n function createCache(fn, debuggingLabel) {\n if (true\n /* DEBUG */\n && !(typeof fn === 'function')) {\n throw new Error(`createCache() must be passed a function as its first parameter. Called with: ${String(fn)}`);\n }\n\n var cache = {\n [FN]: fn,\n [LAST_VALUE]: undefined,\n [TAG]: undefined,\n [SNAPSHOT]: -1\n };\n\n if (true\n /* DEBUG */\n ) {\n cache[DEBUG_LABEL] = debuggingLabel;\n }\n\n return cache;\n }\n\n function getValue(cache) {\n assertCache(cache, 'getValue');\n var fn = cache[FN];\n var tag = cache[TAG];\n var snapshot = cache[SNAPSHOT];\n\n if (tag === undefined || !validateTag(tag, snapshot)) {\n beginTrackFrame();\n\n try {\n if (true\n /* DEBUG */\n ) {\n runInAutotrackingTransaction(() => cache[LAST_VALUE] = fn(), cache[DEBUG_LABEL]);\n } else {\n cache[LAST_VALUE] = fn();\n }\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 }\n\n function isConst(cache) {\n assertCache(cache, 'isConst');\n var tag = cache[TAG];\n assertTag(tag, cache);\n return isConstTag(tag);\n }\n\n function assertCache(value, fnName) {\n if (true\n /* DEBUG */\n && !(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\n function assertTag(tag, cache) {\n if (true\n /* DEBUG */\n && 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\n function track(callback, debuggingContext) {\n beginTrackFrame();\n var tag;\n\n try {\n if (true\n /* DEBUG */\n ) {\n runInAutotrackingTransaction(callback, debuggingContext);\n } else {\n callback();\n }\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\n\n function untrack(callback) {\n OPEN_TRACK_FRAMES.push(CURRENT_TRACKER);\n CURRENT_TRACKER = null;\n\n try {\n callback();\n } finally {\n CURRENT_TRACKER = OPEN_TRACK_FRAMES.pop();\n }\n }\n\n function trackedData(key, initializer) {\n var values = new WeakMap();\n var hasInitializer = typeof initializer === 'function';\n\n function getter(self) {\n consumeTag(tagFor(self, key));\n var 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 if (true\n /* DEBUG */\n ) {\n assertTagNotConsumed(tagFor(self, key), self, key, true);\n }\n\n dirtyTagFor(self, key);\n values.set(self, value);\n }\n\n return {\n getter,\n setter\n };\n }\n\n var globalObj = getGlobal();\n var GLIMMER_VALIDATOR_REGISTRATION = symbolFor('GLIMMER_VALIDATOR_REGISTRATION');\n\n if (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\n globalObj[GLIMMER_VALIDATOR_REGISTRATION] = true;\n});","define(\"@glimmer/vm\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.isMachineOp = isMachineOp;\n _exports.isOp = isOp;\n _exports.isLowLevelRegister = isLowLevelRegister;\n _exports.$v0 = _exports.$t1 = _exports.$t0 = _exports.$s1 = _exports.$s0 = _exports.$sp = _exports.$ra = _exports.$fp = _exports.$pc = _exports.TemporaryRegister = _exports.SavedRegister = void 0;\n\n /* This file is generated by build/debug.js */\n function isMachineOp(value) {\n return value >= 0 && value <= 15;\n }\n\n function isOp(value) {\n return value >= 16;\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\n\n\n var $pc = 0; // $1 or $ra (return address): pointer into `program` for the return\n\n _exports.$pc = $pc;\n var $ra = 1; // $2 or $fp (frame pointer): pointer into the `evalStack` for the base of the stack\n\n _exports.$ra = $ra;\n var $fp = 2; // $3 or $sp (stack pointer): pointer into the `evalStack` for the top of the stack\n\n _exports.$fp = $fp;\n var $sp = 3; // $4-$5 or $s0-$s1 (saved): callee saved general-purpose registers\n\n _exports.$sp = $sp;\n var $s0 = 4;\n _exports.$s0 = $s0;\n var $s1 = 5; // $6-$7 or $t0-$t1 (temporaries): caller saved general-purpose registers\n\n _exports.$s1 = $s1;\n var $t0 = 6;\n _exports.$t0 = $t0;\n var $t1 = 7; // $8 or $v0 (return value)\n\n _exports.$t1 = $t1;\n var $v0 = 8;\n _exports.$v0 = $v0;\n\n function isLowLevelRegister(register) {\n return register <= $sp;\n }\n\n var SavedRegister;\n _exports.SavedRegister = SavedRegister;\n\n (function (SavedRegister) {\n SavedRegister[SavedRegister[\"s0\"] = 4] = \"s0\";\n SavedRegister[SavedRegister[\"s1\"] = 5] = \"s1\";\n })(SavedRegister || (_exports.SavedRegister = SavedRegister = {}));\n\n var TemporaryRegister;\n _exports.TemporaryRegister = TemporaryRegister;\n\n (function (TemporaryRegister) {\n TemporaryRegister[TemporaryRegister[\"t0\"] = 6] = \"t0\";\n TemporaryRegister[TemporaryRegister[\"t1\"] = 7] = \"t1\";\n })(TemporaryRegister || (_exports.TemporaryRegister = TemporaryRegister = {}));\n});","define(\"@glimmer/wire-format\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.is = is;\n _exports.isAttribute = isAttribute;\n _exports.isArgument = isArgument;\n _exports.isHelper = isHelper;\n _exports.isGet = _exports.isFlushElement = void 0;\n\n function is(variant) {\n return function (value) {\n return Array.isArray(value) && value[0] === variant;\n };\n } // Statements\n\n\n var isFlushElement = is(12\n /* FlushElement */\n );\n _exports.isFlushElement = isFlushElement;\n\n function 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 }\n\n function isArgument(val) {\n return val[0] === 21\n /* StaticArg */\n || val[0] === 20\n /* DynamicArg */\n ;\n }\n\n function isHelper(expr) {\n return Array.isArray(expr) && expr[0] === 30\n /* Call */\n ;\n } // Expressions\n\n\n var isGet = is(32\n /* GetSymbol */\n );\n _exports.isGet = isGet;\n});","define(\"@simple-dom/document\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var EMPTY_ATTRS = [];\n\n function indexOfAttribute(attributes, namespaceURI, localName) {\n for (var i = 0; i < attributes.length; i++) {\n var attr = attributes[i];\n\n if (attr.namespaceURI === namespaceURI && attr.localName === localName) {\n return i;\n }\n }\n\n return -1;\n }\n\n function adjustAttrName(namespaceURI, localName) {\n return namespaceURI === \"http://www.w3.org/1999/xhtml\"\n /* HTML */\n ? localName.toLowerCase() : localName;\n }\n\n function getAttribute(attributes, namespaceURI, localName) {\n var index = indexOfAttribute(attributes, namespaceURI, localName);\n return index === -1 ? null : attributes[index].value;\n }\n\n function removeAttribute(attributes, namespaceURI, localName) {\n var index = indexOfAttribute(attributes, namespaceURI, localName);\n\n if (index !== -1) {\n attributes.splice(index, 1);\n }\n } // https://dom.spec.whatwg.org/#dom-element-setattributens\n\n\n function setAttribute(element, namespaceURI, prefix, localName, value) {\n if (typeof value !== 'string') {\n value = '' + value;\n }\n\n var {\n attributes\n } = element;\n\n if (attributes === EMPTY_ATTRS) {\n attributes = element.attributes = [];\n } else {\n var index = indexOfAttribute(attributes, namespaceURI, localName);\n\n if (index !== -1) {\n attributes[index].value = value;\n return;\n }\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\n class ChildNodes {\n constructor(node) {\n this.node = node;\n this.stale = true;\n this._length = 0;\n }\n\n get length() {\n if (this.stale) {\n this.stale = false;\n var len = 0;\n var child = this.node.firstChild;\n\n for (; child !== null; len++) {\n this[len] = child;\n child = child.nextSibling;\n }\n\n var oldLen = this._length;\n this._length = len;\n\n for (; len < oldLen; len++) {\n delete this[len];\n }\n }\n\n return this._length;\n }\n\n item(index) {\n return index < this.length ? this[index] : null;\n }\n\n }\n\n function cloneNode(node, deep) {\n var clone = nodeFrom(node);\n\n if (deep) {\n var child = node.firstChild;\n var nextChild = child;\n\n while (child !== null) {\n nextChild = child.nextSibling;\n clone.appendChild(child.cloneNode(true));\n child = nextChild;\n }\n }\n\n return clone;\n }\n\n function nodeFrom(node) {\n var namespaceURI;\n\n if (node.nodeType === 1\n /* ELEMENT_NODE */\n ) {\n namespaceURI = node.namespaceURI;\n }\n\n var clone = new SimpleNodeImpl(node.ownerDocument, node.nodeType, node.nodeName, node.nodeValue, namespaceURI);\n\n if (node.nodeType === 1\n /* ELEMENT_NODE */\n ) {\n clone.attributes = copyAttrs(node.attributes);\n }\n\n return clone;\n }\n\n function copyAttrs(attrs) {\n if (attrs === EMPTY_ATTRS) {\n return EMPTY_ATTRS;\n }\n\n var copy = [];\n\n for (var i = 0; i < attrs.length; i++) {\n var 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\n return copy;\n }\n\n function insertBefore(parentNode, newChild, refChild) {\n invalidate(parentNode);\n insertBetween(parentNode, newChild, refChild === null ? parentNode.lastChild : refChild.previousSibling, refChild);\n }\n\n function removeChild(parentNode, oldChild) {\n invalidate(parentNode);\n removeBetween(parentNode, oldChild, oldChild.previousSibling, oldChild.nextSibling);\n }\n\n function invalidate(parentNode) {\n var childNodes = parentNode._childNodes;\n\n if (childNodes !== undefined) {\n childNodes.stale = true;\n }\n }\n\n function insertBetween(parentNode, newChild, previousSibling, nextSibling) {\n if (newChild.nodeType === 11\n /* DOCUMENT_FRAGMENT_NODE */\n ) {\n insertFragment(newChild, parentNode, previousSibling, nextSibling);\n return;\n }\n\n if (newChild.parentNode !== null) {\n removeChild(newChild.parentNode, newChild);\n }\n\n newChild.parentNode = parentNode;\n newChild.previousSibling = previousSibling;\n newChild.nextSibling = nextSibling;\n\n if (previousSibling === null) {\n parentNode.firstChild = newChild;\n } else {\n previousSibling.nextSibling = newChild;\n }\n\n if (nextSibling === null) {\n parentNode.lastChild = newChild;\n } else {\n nextSibling.previousSibling = newChild;\n }\n }\n\n function removeBetween(parentNode, oldChild, previousSibling, nextSibling) {\n oldChild.parentNode = null;\n oldChild.previousSibling = null;\n oldChild.nextSibling = null;\n\n if (previousSibling === null) {\n parentNode.firstChild = nextSibling;\n } else {\n previousSibling.nextSibling = nextSibling;\n }\n\n if (nextSibling === null) {\n parentNode.lastChild = previousSibling;\n } else {\n nextSibling.previousSibling = previousSibling;\n }\n }\n\n function insertFragment(fragment, parentNode, previousSibling, nextSibling) {\n var firstChild = fragment.firstChild;\n\n if (firstChild === null) {\n return;\n }\n\n fragment.firstChild = null;\n fragment.lastChild = null;\n var lastChild = firstChild;\n var newChild = firstChild;\n firstChild.previousSibling = previousSibling;\n\n if (previousSibling === null) {\n parentNode.firstChild = firstChild;\n } else {\n previousSibling.nextSibling = firstChild;\n }\n\n while (newChild !== null) {\n newChild.parentNode = parentNode;\n lastChild = newChild;\n newChild = newChild.nextSibling;\n }\n\n lastChild.nextSibling = nextSibling;\n\n if (nextSibling === null) {\n parentNode.lastChild = lastChild;\n } else {\n nextSibling.previousSibling = lastChild;\n }\n }\n\n function parseQualifiedName(qualifiedName) {\n var localName = qualifiedName;\n var prefix = null;\n var i = qualifiedName.indexOf(':');\n\n if (i !== -1) {\n prefix = qualifiedName.slice(0, i);\n localName = qualifiedName.slice(i + 1);\n }\n\n return [prefix, localName];\n }\n\n class 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\n this._childNodes = undefined;\n }\n\n get tagName() {\n return this.nodeName;\n }\n\n get childNodes() {\n var children = this._childNodes;\n\n if (children === undefined) {\n children = this._childNodes = new ChildNodes(this);\n }\n\n return children;\n }\n\n cloneNode(deep) {\n return cloneNode(this, deep === true);\n }\n\n appendChild(newChild) {\n insertBefore(this, newChild, null);\n return newChild;\n }\n\n insertBefore(newChild, refChild) {\n insertBefore(this, newChild, refChild);\n return newChild;\n }\n\n removeChild(oldChild) {\n removeChild(this, oldChild);\n return oldChild;\n }\n\n insertAdjacentHTML(position, html) {\n var raw = new SimpleNodeImpl(this.ownerDocument, -1\n /* RAW_NODE */\n , '#raw', html, void 0);\n var parentNode;\n var nextSibling;\n\n switch (position) {\n case 'beforebegin':\n parentNode = this.parentNode;\n nextSibling = this;\n break;\n\n case 'afterbegin':\n parentNode = this;\n nextSibling = this.firstChild;\n break;\n\n case 'beforeend':\n parentNode = this;\n nextSibling = null;\n break;\n\n case 'afterend':\n parentNode = this.parentNode;\n nextSibling = this.nextSibling;\n break;\n\n default:\n throw new Error('invalid position');\n }\n\n if (parentNode === null) {\n throw new Error(`${position} requires a parentNode`);\n }\n\n insertBefore(parentNode, raw, nextSibling);\n }\n\n getAttribute(name) {\n var localName = adjustAttrName(this.namespaceURI, name);\n return getAttribute(this.attributes, null, localName);\n }\n\n getAttributeNS(namespaceURI, localName) {\n return getAttribute(this.attributes, namespaceURI, localName);\n }\n\n setAttribute(name, value) {\n var localName = adjustAttrName(this.namespaceURI, name);\n setAttribute(this, null, null, localName, value);\n }\n\n setAttributeNS(namespaceURI, qualifiedName, value) {\n var [prefix, localName] = parseQualifiedName(qualifiedName);\n setAttribute(this, namespaceURI, prefix, localName, value);\n }\n\n removeAttribute(name) {\n var localName = adjustAttrName(this.namespaceURI, name);\n removeAttribute(this.attributes, null, localName);\n }\n\n removeAttributeNS(namespaceURI, localName) {\n removeAttribute(this.attributes, namespaceURI, localName);\n }\n\n get doctype() {\n return this.firstChild;\n }\n\n get documentElement() {\n return this.lastChild;\n }\n\n get head() {\n return this.documentElement.firstChild;\n }\n\n get body() {\n return this.documentElement.lastChild;\n }\n\n createElement(name) {\n return new SimpleNodeImpl(this, 1\n /* ELEMENT_NODE */\n , name.toUpperCase(), null, \"http://www.w3.org/1999/xhtml\"\n /* HTML */\n );\n }\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 var nodeName = namespace === \"http://www.w3.org/1999/xhtml\"\n /* HTML */\n ? qualifiedName.toUpperCase() : qualifiedName; // we don't care to parse the qualified name because we only support HTML documents\n // which don't support prefixed elements\n\n return new SimpleNodeImpl(this, 1\n /* ELEMENT_NODE */\n , nodeName, null, namespace);\n }\n\n createTextNode(text) {\n return new SimpleNodeImpl(this, 3\n /* TEXT_NODE */\n , '#text', text, void 0);\n }\n\n createComment(text) {\n return new SimpleNodeImpl(this, 8\n /* COMMENT_NODE */\n , '#comment', text, void 0);\n }\n /**\n * Backwards compat\n * @deprecated\n */\n\n\n createRawHTMLSection(text) {\n return new SimpleNodeImpl(this, -1\n /* RAW_NODE */\n , '#raw', text, void 0);\n }\n\n createDocumentFragment() {\n return new SimpleNodeImpl(this, 11\n /* DOCUMENT_FRAGMENT_NODE */\n , '#document-fragment', null, void 0);\n }\n\n }\n\n function createHTMLDocument() {\n // dom.d.ts types ownerDocument as Document but for a document ownerDocument is null\n var document = new SimpleNodeImpl(null, 9\n /* DOCUMENT_NODE */\n , '#document', null, \"http://www.w3.org/1999/xhtml\"\n /* HTML */\n );\n var doctype = new SimpleNodeImpl(document, 10\n /* DOCUMENT_TYPE_NODE */\n , 'html', null, \"http://www.w3.org/1999/xhtml\"\n /* HTML */\n );\n var html = new SimpleNodeImpl(document, 1\n /* ELEMENT_NODE */\n , 'HTML', null, \"http://www.w3.org/1999/xhtml\"\n /* HTML */\n );\n var head = new SimpleNodeImpl(document, 1\n /* ELEMENT_NODE */\n , 'HEAD', null, \"http://www.w3.org/1999/xhtml\"\n /* HTML */\n );\n var body = new SimpleNodeImpl(document, 1\n /* ELEMENT_NODE */\n , 'BODY', null, \"http://www.w3.org/1999/xhtml\"\n /* HTML */\n );\n html.appendChild(head);\n html.appendChild(body);\n document.appendChild(doctype);\n document.appendChild(html);\n return document;\n }\n\n var _default = createHTMLDocument;\n _exports.default = _default;\n});","define(\"backburner\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.buildPlatform = buildPlatform;\n _exports.default = void 0;\n var SET_TIMEOUT = setTimeout;\n\n var NOOP = () => {};\n\n function 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 var autorunPromise = Promise.resolve();\n return () => autorunPromise.then(flush);\n } else if (typeof MutationObserver === 'function') {\n var iterations = 0;\n var observer = new MutationObserver(flush);\n var node = document.createTextNode('');\n observer.observe(node, {\n characterData: true\n });\n return () => {\n iterations = ++iterations % 2;\n node.data = '' + iterations;\n return iterations;\n };\n } else {\n return () => SET_TIMEOUT(flush, 0);\n }\n }\n\n function buildPlatform(flush) {\n var clearNext = NOOP;\n return {\n setTimeout(fn, ms) {\n return setTimeout(fn, ms);\n },\n\n clearTimeout(timerId) {\n return clearTimeout(timerId);\n },\n\n now() {\n return Date.now();\n },\n\n next: buildNext(flush),\n clearNext\n };\n }\n\n var NUMBER = /\\d+/;\n var TIMERS_OFFSET = 6;\n\n function isCoercableNumber(suspect) {\n var type = typeof suspect;\n return type === 'number' && suspect === suspect || type === 'string' && NUMBER.test(suspect);\n }\n\n function getOnError(options) {\n return options.onError || options.onErrorTarget && options.onErrorTarget[options.onErrorMethod];\n }\n\n function findItem(target, method, collection) {\n var index = -1;\n\n for (var 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\n return index;\n }\n\n function findTimerItem(target, method, collection) {\n var index = -1;\n\n for (var 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\n return index;\n }\n\n function getQueueItems(items, queueItemLength, queueItemPositionOffset = 0) {\n var queueItems = [];\n\n for (var i = 0; i < items.length; i += queueItemLength) {\n var maybeError = items[i + 3\n /* stack */\n + queueItemPositionOffset];\n var queueItem = {\n target: items[i + 0\n /* target */\n + queueItemPositionOffset],\n method: items[i + 1\n /* method */\n + queueItemPositionOffset],\n args: items[i + 2\n /* args */\n + queueItemPositionOffset],\n stack: maybeError !== undefined && 'stack' in maybeError ? maybeError.stack : ''\n };\n queueItems.push(queueItem);\n }\n\n return queueItems;\n }\n\n function binarySearch(time, timers) {\n var start = 0;\n var end = timers.length - TIMERS_OFFSET;\n var middle;\n var l;\n\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; // compensate for the index in case even number\n // of pairs inside timers\n\n middle = start + l - l % TIMERS_OFFSET;\n\n if (time >= timers[middle]) {\n start = middle + TIMERS_OFFSET;\n } else {\n end = middle;\n }\n }\n\n return time >= timers[start] ? start + TIMERS_OFFSET : start;\n }\n\n var QUEUE_ITEM_LENGTH = 4;\n\n class 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\n stackFor(index) {\n if (index < this._queue.length) {\n var entry = this._queue[index * 3 + QUEUE_ITEM_LENGTH];\n\n if (entry) {\n return entry.stack;\n } else {\n return null;\n }\n }\n }\n\n flush(sync) {\n var {\n before,\n after\n } = this.options;\n var target;\n var method;\n var args;\n var errorRecordedForStack;\n this.targetQueues.clear();\n\n if (this._queueBeingFlushed.length === 0) {\n this._queueBeingFlushed = this._queue;\n this._queue = [];\n }\n\n if (before !== undefined) {\n before();\n }\n\n var invoke;\n var queueItems = this._queueBeingFlushed;\n\n if (queueItems.length > 0) {\n var onError = getOnError(this.globalOptions);\n invoke = onError ? this.invokeWithOnError : this.invoke;\n\n for (var i = this.index; i < queueItems.length; i += QUEUE_ITEM_LENGTH) {\n this.index += QUEUE_ITEM_LENGTH;\n method = queueItems[i + 1]; // method could have been nullified / canceled during flush\n\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\n invoke(target, method, args, onError, errorRecordedForStack);\n }\n\n if (this.index !== this._queueBeingFlushed.length && this.globalOptions.mustYield && this.globalOptions.mustYield()) {\n return 1\n /* Pause */\n ;\n }\n }\n }\n\n if (after !== undefined) {\n after();\n }\n\n this._queueBeingFlushed.length = 0;\n this.index = 0;\n\n if (sync !== false && this._queue.length > 0) {\n // check if new items have been added\n this.flush(true);\n }\n }\n\n hasWork() {\n return this._queueBeingFlushed.length > 0 || this._queue.length > 0;\n }\n\n cancel({\n target,\n method\n }) {\n var queue = this._queue;\n var targetQueueMap = this.targetQueues.get(target);\n\n if (targetQueueMap !== undefined) {\n targetQueueMap.delete(method);\n }\n\n var index = findItem(target, method, queue);\n\n if (index > -1) {\n queue.splice(index, QUEUE_ITEM_LENGTH);\n return true;\n } // if not found in current queue\n // could be in the queue that is being flushed\n\n\n queue = this._queueBeingFlushed;\n index = findItem(target, method, queue);\n\n if (index > -1) {\n queue[index + 1] = null;\n return true;\n }\n\n return false;\n }\n\n push(target, method, args, stack) {\n this._queue.push(target, method, args, stack);\n\n return {\n queue: this,\n target,\n method\n };\n }\n\n pushUnique(target, method, args, stack) {\n var localQueueMap = this.targetQueues.get(target);\n\n if (localQueueMap === undefined) {\n localQueueMap = new Map();\n this.targetQueues.set(target, localQueueMap);\n }\n\n var index = localQueueMap.get(method);\n\n if (index === undefined) {\n var queueIndex = this._queue.push(target, method, args, stack) - QUEUE_ITEM_LENGTH;\n localQueueMap.set(method, queueIndex);\n } else {\n var queue = this._queue;\n queue[index + 2] = args; // replace args\n\n queue[index + 3] = stack; // replace stack\n }\n\n return {\n queue: this,\n target,\n method\n };\n }\n\n _getDebugInfo(debugEnabled) {\n if (debugEnabled) {\n var debugInfo = getQueueItems(this._queue, QUEUE_ITEM_LENGTH);\n return debugInfo;\n }\n\n return undefined;\n }\n\n invoke(target, method, args\n /*, onError, errorRecordedForStack */\n ) {\n if (args === undefined) {\n method.call(target);\n } else {\n method.apply(target, args);\n }\n }\n\n invokeWithOnError(target, method, args, onError, errorRecordedForStack) {\n try {\n if (args === undefined) {\n method.call(target);\n } else {\n method.apply(target, args);\n }\n } catch (error) {\n onError(error, errorRecordedForStack);\n }\n }\n\n }\n\n class 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\n\n schedule(queueName, target, method, args, onceFlag, stack) {\n var queues = this.queues;\n var queue = queues[queueName];\n\n if (queue === undefined) {\n throw new Error(`You attempted to schedule an action in a queue (${queueName}) that doesn\\'t exist`);\n }\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\n this.queueNameIndex = 0;\n\n if (onceFlag) {\n return queue.pushUnique(target, method, args, stack);\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\n\n flush(fromAutorun = false) {\n var queue;\n var queueName;\n var numberOfQueues = this.queueNames.length;\n\n while (this.queueNameIndex < numberOfQueues) {\n queueName = this.queueNames[this.queueNameIndex];\n queue = this.queues[queueName];\n\n if (queue.hasWork() === false) {\n this.queueNameIndex++;\n\n if (fromAutorun && this.queueNameIndex < numberOfQueues) {\n return 1\n /* Pause */\n ;\n }\n } else {\n if (queue.flush(false\n /* async */\n ) === 1\n /* Pause */\n ) {\n return 1\n /* Pause */\n ;\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\n\n _getDebugInfo(debugEnabled) {\n if (debugEnabled) {\n var debugInfo = {};\n var queue;\n var queueName;\n var numberOfQueues = this.queueNames.length;\n var i = 0;\n\n while (i < numberOfQueues) {\n queueName = this.queueNames[i];\n queue = this.queues[queueName];\n debugInfo[queueName] = queue._getDebugInfo(debugEnabled);\n i++;\n }\n\n return debugInfo;\n }\n\n return;\n }\n\n }\n\n function iteratorDrain(fn) {\n var iterator = fn();\n var result = iterator.next();\n\n while (result.done === false) {\n result.value();\n result = iterator.next();\n }\n }\n\n var noop = function () {};\n\n var DISABLE_SCHEDULE = Object.freeze([]);\n\n function parseArgs() {\n var length = arguments.length;\n var args;\n var method;\n var target;\n\n if (length === 0) {} else if (length === 1) {\n target = null;\n method = arguments[0];\n } else {\n var argsIndex = 2;\n var methodOrTarget = arguments[0];\n var methodOrArgs = arguments[1];\n var type = typeof methodOrArgs;\n\n if (type === 'function') {\n target = methodOrTarget;\n method = methodOrArgs;\n } else if (methodOrTarget !== null && type === 'string' && methodOrArgs in methodOrTarget) {\n target = methodOrTarget;\n method = target[methodOrArgs];\n } else if (typeof methodOrTarget === 'function') {\n argsIndex = 1;\n target = null;\n method = methodOrTarget;\n }\n\n if (length > argsIndex) {\n var len = length - argsIndex;\n args = new Array(len);\n\n for (var i = 0; i < len; i++) {\n args[i] = arguments[i + argsIndex];\n }\n }\n }\n\n return [target, method, args];\n }\n\n function parseTimerArgs() {\n var [target, method, args] = parseArgs(...arguments);\n var wait = 0;\n var length = args !== undefined ? args.length : 0;\n\n if (length > 0) {\n var last = args[length - 1];\n\n if (isCoercableNumber(last)) {\n wait = parseInt(args.pop(), 10);\n }\n }\n\n return [target, method, args, wait];\n }\n\n function parseDebounceArgs() {\n var target;\n var method;\n var isImmediate;\n var args;\n var wait;\n\n if (arguments.length === 2) {\n method = arguments[0];\n wait = arguments[1];\n target = null;\n } else {\n [target, method, args] = parseArgs(...arguments);\n\n if (args === undefined) {\n wait = 0;\n } else {\n wait = args.pop();\n\n if (!isCoercableNumber(wait)) {\n isImmediate = wait === true;\n wait = args.pop();\n }\n }\n }\n\n wait = parseInt(wait, 10);\n return [target, method, args, wait, isImmediate];\n }\n\n var UUID = 0;\n var beginCount = 0;\n var endCount = 0;\n var beginEventCount = 0;\n var endEventCount = 0;\n var runCount = 0;\n var joinCount = 0;\n var deferCount = 0;\n var scheduleCount = 0;\n var scheduleIterableCount = 0;\n var deferOnceCount = 0;\n var scheduleOnceCount = 0;\n var setTimeoutCount = 0;\n var laterCount = 0;\n var throttleCount = 0;\n var debounceCount = 0;\n var cancelTimersCount = 0;\n var cancelCount = 0;\n var autorunsCreatedCount = 0;\n var autorunsCompletedCount = 0;\n var deferredActionQueuesCreatedCount = 0;\n var nestedDeferredActionQueuesCreated = 0;\n\n class 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\n if (typeof this.options.defaultQueue === 'string') {\n this._defaultQueue = this.options.defaultQueue;\n } else {\n this._defaultQueue = this.queueNames[0];\n }\n\n this._onBegin = this.options.onBegin || noop;\n this._onEnd = this.options.onEnd || noop;\n this._boundRunExpiredTimers = this._runExpiredTimers.bind(this);\n\n this._boundAutorunEnd = () => {\n autorunsCompletedCount++; // if the autorun was already flushed, do nothing\n\n if (this._autorun === false) {\n return;\n }\n\n this._autorun = false;\n this._autorunStack = null;\n\n this._end(true\n /* fromAutorun */\n );\n };\n\n var builder = this.options._buildPlatform || buildPlatform;\n this._platform = builder(this._boundAutorunEnd);\n }\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\n get defaultQueue() {\n return this._defaultQueue;\n }\n /*\n @method begin\n @return instantiated class DeferredActionQueues\n */\n\n\n begin() {\n beginCount++;\n var options = this.options;\n var previousInstance = this.currentInstance;\n var current;\n\n if (this._autorun !== false) {\n current = previousInstance;\n\n this._cancelAutorun();\n } else {\n if (previousInstance !== null) {\n nestedDeferredActionQueuesCreated++;\n this.instanceStack.push(previousInstance);\n }\n\n deferredActionQueuesCreatedCount++;\n current = this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n beginEventCount++;\n\n this._trigger('begin', current, previousInstance);\n }\n\n this._onBegin(current, previousInstance);\n\n return current;\n }\n\n end() {\n endCount++;\n\n this._end(false);\n }\n\n on(eventName, callback) {\n if (typeof callback !== 'function') {\n throw new TypeError(`Callback must be a function`);\n }\n\n var callbacks = this._eventCallbacks[eventName];\n\n if (callbacks !== undefined) {\n callbacks.push(callback);\n } else {\n throw new TypeError(`Cannot on() event ${eventName} because it does not exist`);\n }\n }\n\n off(eventName, callback) {\n var callbacks = this._eventCallbacks[eventName];\n\n if (!eventName || callbacks === undefined) {\n throw new TypeError(`Cannot off() event ${eventName} because it does not exist`);\n }\n\n var callbackFound = false;\n\n if (callback) {\n for (var 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\n if (!callbackFound) {\n throw new TypeError(`Cannot off() callback that does not exist`);\n }\n }\n\n run() {\n runCount++;\n var [target, method, args] = parseArgs(...arguments);\n return this._run(target, method, args);\n }\n\n join() {\n joinCount++;\n var [target, method, args] = parseArgs(...arguments);\n return this._join(target, method, args);\n }\n /**\n * @deprecated please use schedule instead.\n */\n\n\n defer(queueName, target, method, ...args) {\n deferCount++;\n return this.schedule(queueName, target, method, ...args);\n }\n\n schedule(queueName, ..._args) {\n scheduleCount++;\n var [target, method, args] = parseArgs(..._args);\n var 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 @method scheduleIterable\n @param {String} queueName\n @param {Iterable} an iterable of functions to execute\n @return method result\n */\n\n\n scheduleIterable(queueName, iterable) {\n scheduleIterableCount++;\n var 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\n\n deferOnce(queueName, target, method, ...args) {\n deferOnceCount++;\n return this.scheduleOnce(queueName, target, method, ...args);\n }\n\n scheduleOnce(queueName, ..._args) {\n scheduleOnceCount++;\n var [target, method, args] = parseArgs(..._args);\n var stack = this.DEBUG ? new Error() : undefined;\n return this._ensureInstance().schedule(queueName, target, method, args, true, stack);\n }\n\n setTimeout() {\n setTimeoutCount++;\n return this.later(...arguments);\n }\n\n later() {\n laterCount++;\n var [target, method, args, wait] = parseTimerArgs(...arguments);\n return this._later(target, method, args, wait);\n }\n\n throttle() {\n throttleCount++;\n var [target, method, args, wait, isImmediate = true] = parseDebounceArgs(...arguments);\n var index = findTimerItem(target, method, this._timers);\n var timerId;\n\n if (index === -1) {\n timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n\n if (isImmediate) {\n this._join(target, method, args);\n }\n } else {\n timerId = this._timers[index + 1];\n var argIndex = index + 4;\n\n if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n this._timers[argIndex] = args;\n }\n }\n\n return timerId;\n }\n\n debounce() {\n debounceCount++;\n var [target, method, args, wait, isImmediate = false] = parseDebounceArgs(...arguments);\n var _timers = this._timers;\n var index = findTimerItem(target, method, _timers);\n var timerId;\n\n if (index === -1) {\n timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n\n if (isImmediate) {\n this._join(target, method, args);\n }\n } else {\n var executeAt = this._platform.now() + wait;\n var argIndex = index + 4;\n\n if (_timers[argIndex] === DISABLE_SCHEDULE) {\n args = DISABLE_SCHEDULE;\n }\n\n timerId = _timers[index + 1];\n var i = binarySearch(executeAt, _timers);\n\n if (index + TIMERS_OFFSET === i) {\n _timers[index] = executeAt;\n _timers[argIndex] = args;\n } else {\n var stack = this._timers[index + 5];\n\n this._timers.splice(i, 0, executeAt, timerId, target, method, args, stack);\n\n this._timers.splice(index, TIMERS_OFFSET);\n }\n\n if (index === 0) {\n this._reinstallTimerTimeout();\n }\n }\n\n return timerId;\n }\n\n cancelTimers() {\n cancelTimersCount++;\n\n this._clearTimerTimeout();\n\n this._timers = [];\n\n this._cancelAutorun();\n }\n\n hasTimers() {\n return this._timers.length > 0 || this._autorun;\n }\n\n cancel(timer) {\n cancelCount++;\n\n if (timer === null || timer === undefined) {\n return false;\n }\n\n var timerType = typeof timer;\n\n if (timerType === 'number') {\n // we're cancelling a setTimeout or throttle or debounce\n return this._cancelLaterTimer(timer);\n } else if (timerType === 'object' && timer.queue && timer.method) {\n // we're cancelling a deferOnce\n return timer.queue.cancel(timer);\n }\n\n return false;\n }\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\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].map(deferredActionQueue => deferredActionQueue && deferredActionQueue._getDebugInfo(this.DEBUG))\n };\n }\n\n return undefined;\n }\n\n _end(fromAutorun) {\n var currentInstance = this.currentInstance;\n var nextInstance = null;\n\n if (currentInstance === null) {\n throw new Error(`end called without begin`);\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\n\n var finallyAlreadyCalled = false;\n var result;\n\n try {\n result = currentInstance.flush(fromAutorun);\n } finally {\n if (!finallyAlreadyCalled) {\n finallyAlreadyCalled = true;\n\n if (result === 1\n /* Pause */\n ) {\n var plannedNextQueue = this.queueNames[currentInstance.queueNameIndex];\n\n this._scheduleAutorun(plannedNextQueue);\n } else {\n this.currentInstance = null;\n\n if (this.instanceStack.length > 0) {\n nextInstance = this.instanceStack.pop();\n this.currentInstance = nextInstance;\n }\n\n this._trigger('end', currentInstance, nextInstance);\n\n this._onEnd(currentInstance, nextInstance);\n }\n }\n }\n }\n\n _join(target, method, args) {\n if (this.currentInstance === null) {\n return this._run(target, method, args);\n }\n\n if (target === undefined && args === undefined) {\n return method();\n } else {\n return method.apply(target, args);\n }\n }\n\n _run(target, method, args) {\n var onError = getOnError(this.options);\n this.begin();\n\n if (onError) {\n try {\n return method.apply(target, args);\n } catch (error) {\n onError(error);\n } finally {\n this.end();\n }\n } else {\n try {\n return method.apply(target, args);\n } finally {\n this.end();\n }\n }\n }\n\n _cancelAutorun() {\n if (this._autorun) {\n this._platform.clearNext();\n\n this._autorun = false;\n this._autorunStack = null;\n }\n }\n\n _later(target, method, args, wait) {\n var stack = this.DEBUG ? new Error() : undefined;\n var executeAt = this._platform.now() + wait;\n var id = UUID++;\n\n if (this._timers.length === 0) {\n this._timers.push(executeAt, id, target, method, args, stack);\n\n this._installTimerTimeout();\n } else {\n // find position to insert\n var i = binarySearch(executeAt, this._timers);\n\n this._timers.splice(i, 0, executeAt, id, target, method, args, stack); // always reinstall since it could be out of sync\n\n\n this._reinstallTimerTimeout();\n }\n\n return id;\n }\n\n _cancelLaterTimer(timer) {\n for (var i = 1; i < this._timers.length; i += TIMERS_OFFSET) {\n if (this._timers[i] === timer) {\n this._timers.splice(i - 1, TIMERS_OFFSET);\n\n if (i === 1) {\n this._reinstallTimerTimeout();\n }\n\n return true;\n }\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 @private\n @method _trigger\n @param {String} eventName\n @param {any} arg1\n @param {any} arg2\n */\n\n\n _trigger(eventName, arg1, arg2) {\n var callbacks = this._eventCallbacks[eventName];\n\n if (callbacks !== undefined) {\n for (var i = 0; i < callbacks.length; i++) {\n callbacks[i](arg1, arg2);\n }\n }\n }\n\n _runExpiredTimers() {\n this._timerTimeoutId = null;\n\n if (this._timers.length > 0) {\n this.begin();\n\n this._scheduleExpiredTimers();\n\n this.end();\n }\n }\n\n _scheduleExpiredTimers() {\n var timers = this._timers;\n var i = 0;\n var l = timers.length;\n var defaultQueue = this._defaultQueue;\n\n var n = this._platform.now();\n\n for (; i < l; i += TIMERS_OFFSET) {\n var executeAt = timers[i];\n\n if (executeAt > n) {\n break;\n }\n\n var args = timers[i + 4];\n\n if (args !== DISABLE_SCHEDULE) {\n var target = timers[i + 2];\n var method = timers[i + 3];\n var stack = timers[i + 5];\n this.currentInstance.schedule(defaultQueue, target, method, args, false, stack);\n }\n }\n\n timers.splice(0, i);\n\n this._installTimerTimeout();\n }\n\n _reinstallTimerTimeout() {\n this._clearTimerTimeout();\n\n this._installTimerTimeout();\n }\n\n _clearTimerTimeout() {\n if (this._timerTimeoutId === null) {\n return;\n }\n\n this._platform.clearTimeout(this._timerTimeoutId);\n\n this._timerTimeoutId = null;\n }\n\n _installTimerTimeout() {\n if (this._timers.length === 0) {\n return;\n }\n\n var minExpiresAt = this._timers[0];\n\n var n = this._platform.now();\n\n var wait = Math.max(0, minExpiresAt - n);\n this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n }\n\n _ensureInstance() {\n var currentInstance = this.currentInstance;\n\n if (currentInstance === null) {\n this._autorunStack = this.DEBUG ? new Error() : undefined;\n currentInstance = this.begin();\n\n this._scheduleAutorun(this.queueNames[0]);\n }\n\n return currentInstance;\n }\n\n _scheduleAutorun(plannedNextQueue) {\n autorunsCreatedCount++;\n var next = this._platform.next;\n var flush = this.options.flush;\n\n if (flush) {\n flush(plannedNextQueue, next);\n } else {\n next();\n }\n\n this._autorun = true;\n }\n\n }\n\n Backburner.Queue = Queue;\n Backburner.buildPlatform = buildPlatform;\n Backburner.buildNext = buildNext;\n var _default = Backburner;\n _exports.default = _default;\n});","define(\"dag-map\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\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 */\n var 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\n\n DAG.prototype.add = function (key, value, before, after) {\n if (!key) throw new Error('argument `key` is required');\n var vertices = this._vertices;\n var v = vertices.add(key);\n v.val = value;\n\n if (before) {\n if (typeof before === \"string\") {\n vertices.addEdge(v, vertices.add(before));\n } else {\n for (var i = 0; i < before.length; i++) {\n vertices.addEdge(v, vertices.add(before[i]));\n }\n }\n }\n\n if (after) {\n if (typeof after === \"string\") {\n vertices.addEdge(vertices.add(after), v);\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\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\n\n DAG.prototype.each = function (callback) {\n this._vertices.walk(callback);\n };\n /**\n * @deprecated please use each.\n */\n\n\n DAG.prototype.topsort = function (callback) {\n this.each(callback);\n };\n\n return DAG;\n }();\n\n var _default = DAG;\n /** @private */\n\n _exports.default = _default;\n\n var 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\n Vertices.prototype.add = function (key) {\n if (!key) throw new Error(\"missing key\");\n var l = this.length | 0;\n var vertex;\n\n for (var i = 0; i < l; i++) {\n vertex = this[i];\n if (vertex.key === key) return vertex;\n }\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\n Vertices.prototype.addEdge = function (v, w) {\n this.check(v, w.key);\n var l = w.length | 0;\n\n for (var i = 0; i < l; i++) {\n if (w[i] === v.idx) return;\n }\n\n w.length = l + 1;\n w[l] = v.idx;\n v.out = true;\n };\n\n Vertices.prototype.walk = function (cb) {\n this.reset();\n\n for (var i = 0; i < this.length; i++) {\n var vertex = this[i];\n if (vertex.out) continue;\n this.visit(vertex, \"\");\n }\n\n this.each(this.result, cb);\n };\n\n Vertices.prototype.check = function (v, w) {\n if (v.key === w) {\n throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n } // quick check\n\n\n if (v.length === 0) return; // shallow check\n\n for (var i = 0; i < v.length; i++) {\n var key = this[v[i]].key;\n\n if (key === w) {\n throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n }\n } // deep check\n\n\n this.reset();\n this.visit(v, w);\n\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\n Vertices.prototype.reset = function () {\n this.stack.length = 0;\n this.path.length = 0;\n this.result.length = 0;\n\n for (var i = 0, l = this.length; i < l; i++) {\n this[i].flag = false;\n }\n };\n\n Vertices.prototype.visit = function (start, search) {\n var _a = this,\n stack = _a.stack,\n path = _a.path,\n result = _a.result;\n\n stack.push(start.idx);\n\n while (stack.length) {\n var index = stack.pop() | 0;\n\n if (index >= 0) {\n // enter\n var vertex = this[index];\n if (vertex.flag) continue;\n vertex.flag = true;\n path.push(index);\n if (search === vertex.key) break; // push exit\n\n stack.push(~index);\n this.pushIncoming(vertex);\n } else {\n // exit\n path.pop();\n result.push(~index);\n }\n }\n };\n\n Vertices.prototype.pushIncoming = function (incomming) {\n var stack = this.stack;\n\n for (var i = incomming.length - 1; i >= 0; i--) {\n var index = incomming[i];\n\n if (!this[index].flag) {\n stack.push(index);\n }\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\n return Vertices;\n }();\n /** @private */\n\n\n var IntStack = function () {\n function IntStack() {\n this.length = 0;\n }\n\n IntStack.prototype.push = function (n) {\n this[this.length++] = n | 0;\n };\n\n IntStack.prototype.pop = function () {\n return this[--this.length] | 0;\n };\n\n return IntStack;\n }();\n});","define(\"ember-babel\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.wrapNativeSuper = wrapNativeSuper;\n _exports.classCallCheck = classCallCheck;\n _exports.inheritsLoose = inheritsLoose;\n _exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;\n _exports.createClass = createClass;\n _exports.assertThisInitialized = assertThisInitialized;\n _exports.possibleConstructorReturn = possibleConstructorReturn;\n _exports.objectDestructuringEmpty = objectDestructuringEmpty;\n _exports.createSuper = createSuper;\n _exports.createForOfIteratorHelperLoose = createForOfIteratorHelperLoose;\n\n /* globals Reflect */\n var setPrototypeOf = Object.setPrototypeOf;\n var getPrototypeOf = Object.getPrototypeOf;\n var hasReflectConstruct = typeof Reflect === 'object' && typeof Reflect.construct === 'function';\n var nativeWrapperCache = new Map(); // 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.\n\n function wrapNativeSuper(Class) {\n if (nativeWrapperCache.has(Class)) {\n return nativeWrapperCache.get(Class);\n }\n\n function Wrapper() {}\n\n Wrapper.prototype = Object.create(Class.prototype, {\n constructor: {\n value: Wrapper,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n nativeWrapperCache.set(Class, Wrapper);\n return setPrototypeOf(Wrapper, Class);\n }\n\n function classCallCheck(instance, Constructor) {\n if (true\n /* DEBUG */\n ) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\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 */\n\n\n function inheritsLoose(subClass, superClass) {\n if (true\n /* DEBUG */\n ) {\n if (typeof superClass !== 'function' && superClass !== null) {\n throw new TypeError('Super expression must either be null or a function');\n }\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\n if (superClass !== null) {\n setPrototypeOf(subClass, superClass);\n }\n }\n\n function taggedTemplateLiteralLoose(strings, raw) {\n if (!raw) {\n raw = strings.slice(0);\n }\n\n strings.raw = raw;\n return strings;\n }\n\n function _defineProperties(target, props) {\n for (var i = 0; i < props.length; i++) {\n var 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 Differs from default implementation by avoiding boolean coercion of\n `protoProps` and `staticProps`.\n */\n\n\n 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\n function assertThisInitialized(self) {\n if (true\n /* DEBUG */\n && self === void 0) {\n throw new ReferenceError(\"this hasn't been initialised - super() hasn't been called\");\n }\n\n return self;\n }\n /*\n Adds `DEBUG` guard to error being thrown, and avoids boolean coercion of `call`.\n */\n\n\n function possibleConstructorReturn(self, call) {\n if (typeof call === 'object' && call !== null || typeof call === 'function') {\n return call;\n }\n\n return assertThisInitialized(self);\n }\n\n function objectDestructuringEmpty(obj) {\n if (true\n /* DEBUG */\n && (obj === null || obj === undefined)) {\n throw new TypeError('Cannot destructure undefined');\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 */\n\n\n function createSuper(Derived) {\n return function () {\n var Super = getPrototypeOf(Derived);\n var result;\n\n if (hasReflectConstruct) {\n // NOTE: This doesn't work if this.__proto__.constructor has been modified.\n var 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 Does not differ from default implementation.\n */\n\n\n function arrayLikeToArray(arr, len) {\n if (len == null || len > arr.length) len = arr.length;\n var arr2 = new Array(len);\n\n for (var i = 0; i < len; i++) {\n arr2[i] = arr[i];\n }\n\n return arr2;\n }\n /*\n Does not differ from default implementation.\n */\n\n\n function unsupportedIterableToArray(o, minLen) {\n if (!o) return;\n if (typeof o === 'string') return arrayLikeToArray(o, minLen);\n var 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)) return arrayLikeToArray(o, minLen);\n }\n /*\n Does not differ from default implementation.\n */\n\n\n function createForOfIteratorHelperLoose(o) {\n var i = 0;\n\n if (typeof Symbol === 'undefined' || o[Symbol.iterator] == null) {\n // Fallback for engines without symbol support\n if (Array.isArray(o) || (o = unsupportedIterableToArray(o))) return function () {\n if (i >= o.length) return {\n done: true\n };\n return {\n done: false,\n value: o[i++]\n };\n };\n throw new TypeError('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});","define(\"ember-testing/index\", [\"exports\", \"ember-testing/lib/test\", \"ember-testing/lib/adapters/adapter\", \"ember-testing/lib/setup_for_testing\", \"ember-testing/lib/adapters/qunit\", \"ember-testing/lib/support\", \"ember-testing/lib/ext/application\", \"ember-testing/lib/ext/rsvp\", \"ember-testing/lib/helpers\", \"ember-testing/lib/initializers\"], function (_exports, _test, _adapter, _setup_for_testing, _qunit, _support, _application, _rsvp, _helpers, _initializers) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n Object.defineProperty(_exports, \"Test\", {\n enumerable: true,\n get: function () {\n return _test.default;\n }\n });\n Object.defineProperty(_exports, \"Adapter\", {\n enumerable: true,\n get: function () {\n return _adapter.default;\n }\n });\n Object.defineProperty(_exports, \"setupForTesting\", {\n enumerable: true,\n get: function () {\n return _setup_for_testing.default;\n }\n });\n Object.defineProperty(_exports, \"QUnitAdapter\", {\n enumerable: true,\n get: function () {\n return _qunit.default;\n }\n });\n});","define(\"ember-testing/lib/adapters/adapter\", [\"exports\", \"@ember/-internals/runtime\"], function (_exports, _runtime) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n function K() {\n return this;\n }\n /**\n @module @ember/test\n */\n\n /**\n The primary purpose of this class is to create hooks that can be implemented\n by an adapter for various test frameworks.\n \n @class TestAdapter\n @public\n */\n\n\n var _default = _runtime.Object.extend({\n /**\n This callback will be called whenever an async operation is about to start.\n Override this to call your framework's methods that handle async\n operations.\n @public\n @method asyncStart\n */\n asyncStart: K,\n\n /**\n This callback will be called whenever an async operation has completed.\n @public\n @method asyncEnd\n */\n asyncEnd: K,\n\n /**\n Override this method with your testing framework's false assertion.\n This function is called whenever an exception occurs causing the testing\n promise to fail.\n QUnit example:\n ```javascript\n exception: function(error) {\n ok(false, error);\n };\n ```\n @public\n @method exception\n @param {String} error The exception to be raised.\n */\n exception(error) {\n throw error;\n }\n\n });\n\n _exports.default = _default;\n});","define(\"ember-testing/lib/adapters/qunit\", [\"exports\", \"@ember/-internals/utils\", \"ember-testing/lib/adapters/adapter\"], function (_exports, _utils, _adapter) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /* globals QUnit */\n\n /**\n @module ember\n */\n\n /**\n This class implements the methods defined by TestAdapter for the\n QUnit testing framework.\n \n @class QUnitAdapter\n @namespace Ember.Test\n @extends TestAdapter\n @public\n */\n var _default = _adapter.default.extend({\n init() {\n this.doneCallbacks = [];\n },\n\n asyncStart() {\n if (typeof QUnit.stop === 'function') {\n // very old QUnit version\n QUnit.stop();\n } else {\n this.doneCallbacks.push(QUnit.config.current ? QUnit.config.current.assert.async() : null);\n }\n },\n\n asyncEnd() {\n // checking for QUnit.stop here (even though we _need_ QUnit.start) because\n // QUnit.start() still exists in QUnit 2.x (it just throws an error when calling\n // inside a test context)\n if (typeof QUnit.stop === 'function') {\n QUnit.start();\n } else {\n var done = this.doneCallbacks.pop(); // This can be null if asyncStart() was called outside of a test\n\n if (done) {\n done();\n }\n }\n },\n\n exception(error) {\n QUnit.config.current.assert.ok(false, (0, _utils.inspect)(error));\n }\n\n });\n\n _exports.default = _default;\n});","define(\"ember-testing/lib/events\", [\"exports\", \"@ember/runloop\", \"@ember/polyfills\", \"ember-testing/lib/helpers/-is-form-control\"], function (_exports, _runloop, _polyfills, _isFormControl) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.focus = focus;\n _exports.fireEvent = fireEvent;\n var DEFAULT_EVENT_OPTIONS = {\n canBubble: true,\n cancelable: true\n };\n var KEYBOARD_EVENT_TYPES = ['keydown', 'keypress', 'keyup'];\n var MOUSE_EVENT_TYPES = ['click', 'mousedown', 'mouseup', 'dblclick', 'mouseenter', 'mouseleave', 'mousemove', 'mouseout', 'mouseover'];\n\n function focus(el) {\n if (!el) {\n return;\n }\n\n if (el.isContentEditable || (0, _isFormControl.default)(el)) {\n var type = el.getAttribute('type');\n\n if (type !== 'checkbox' && type !== 'radio' && type !== 'hidden') {\n (0, _runloop.run)(null, function () {\n var browserIsNotFocused = document.hasFocus && !document.hasFocus(); // makes `document.activeElement` be `element`. If the browser is focused, it also fires a focus event\n\n el.focus(); // Firefox does not trigger the `focusin` event if the window\n // does not have focus. If the document does not have focus then\n // fire `focusin` event as well.\n\n if (browserIsNotFocused) {\n // if the browser is not focused the previous `el.focus()` didn't fire an event, so we simulate it\n fireEvent(el, 'focus', {\n bubbles: false\n });\n fireEvent(el, 'focusin');\n }\n });\n }\n }\n }\n\n function fireEvent(element, type, options = {}) {\n if (!element) {\n return;\n }\n\n var event;\n\n if (KEYBOARD_EVENT_TYPES.indexOf(type) > -1) {\n event = buildKeyboardEvent(type, options);\n } else if (MOUSE_EVENT_TYPES.indexOf(type) > -1) {\n var rect = element.getBoundingClientRect();\n var x = rect.left + 1;\n var y = rect.top + 1;\n var simulatedCoordinates = {\n screenX: x + 5,\n screenY: y + 95,\n clientX: x,\n clientY: y\n };\n event = buildMouseEvent(type, (0, _polyfills.assign)(simulatedCoordinates, options));\n } else {\n event = buildBasicEvent(type, options);\n }\n\n element.dispatchEvent(event);\n }\n\n function buildBasicEvent(type, options = {}) {\n var event = document.createEvent('Events'); // Event.bubbles is read only\n\n var bubbles = options.bubbles !== undefined ? options.bubbles : true;\n var cancelable = options.cancelable !== undefined ? options.cancelable : true;\n delete options.bubbles;\n delete options.cancelable;\n event.initEvent(type, bubbles, cancelable);\n (0, _polyfills.assign)(event, options);\n return event;\n }\n\n function buildMouseEvent(type, options = {}) {\n var event;\n\n try {\n event = document.createEvent('MouseEvents');\n var eventOpts = (0, _polyfills.assign)({}, DEFAULT_EVENT_OPTIONS, options);\n event.initMouseEvent(type, eventOpts.canBubble, eventOpts.cancelable, window, eventOpts.detail, eventOpts.screenX, eventOpts.screenY, eventOpts.clientX, eventOpts.clientY, eventOpts.ctrlKey, eventOpts.altKey, eventOpts.shiftKey, eventOpts.metaKey, eventOpts.button, eventOpts.relatedTarget);\n } catch (e) {\n event = buildBasicEvent(type, options);\n }\n\n return event;\n }\n\n function buildKeyboardEvent(type, options = {}) {\n var event;\n\n try {\n event = document.createEvent('KeyEvents');\n var eventOpts = (0, _polyfills.assign)({}, DEFAULT_EVENT_OPTIONS, options);\n event.initKeyEvent(type, eventOpts.canBubble, eventOpts.cancelable, window, eventOpts.ctrlKey, eventOpts.altKey, eventOpts.shiftKey, eventOpts.metaKey, eventOpts.keyCode, eventOpts.charCode);\n } catch (e) {\n event = buildBasicEvent(type, options);\n }\n\n return event;\n }\n});","define(\"ember-testing/lib/ext/application\", [\"@ember/application\", \"ember-testing/lib/setup_for_testing\", \"ember-testing/lib/test/helpers\", \"ember-testing/lib/test/promise\", \"ember-testing/lib/test/run\", \"ember-testing/lib/test/on_inject_helpers\", \"ember-testing/lib/test/adapter\"], function (_application, _setup_for_testing, _helpers, _promise, _run, _on_inject_helpers, _adapter) {\n \"use strict\";\n\n _application.default.reopen({\n /**\n This property contains the testing helpers for the current application. These\n are created once you call `injectTestHelpers` on your `Application`\n instance. The included helpers are also available on the `window` object by\n default, but can be used from this object on the individual application also.\n @property testHelpers\n @type {Object}\n @default {}\n @public\n */\n testHelpers: {},\n\n /**\n This property will contain the original methods that were registered\n on the `helperContainer` before `injectTestHelpers` is called.\n When `removeTestHelpers` is called, these methods are restored to the\n `helperContainer`.\n @property originalMethods\n @type {Object}\n @default {}\n @private\n @since 1.3.0\n */\n originalMethods: {},\n\n /**\n This property indicates whether or not this application is currently in\n testing mode. This is set when `setupForTesting` is called on the current\n application.\n @property testing\n @type {Boolean}\n @default false\n @since 1.3.0\n @public\n */\n testing: false,\n\n /**\n This hook defers the readiness of the application, so that you can start\n the app when your tests are ready to run. It also sets the router's\n location to 'none', so that the window's location will not be modified\n (preventing both accidental leaking of state between tests and interference\n with your testing framework). `setupForTesting` should only be called after\n setting a custom `router` class (for example `App.Router = Router.extend(`).\n Example:\n ```\n App.setupForTesting();\n ```\n @method setupForTesting\n @public\n */\n setupForTesting() {\n (0, _setup_for_testing.default)();\n this.testing = true;\n this.resolveRegistration('router:main').reopen({\n location: 'none'\n });\n },\n\n /**\n This will be used as the container to inject the test helpers into. By\n default the helpers are injected into `window`.\n @property helperContainer\n @type {Object} The object to be used for test helpers.\n @default window\n @since 1.2.0\n @private\n */\n helperContainer: null,\n\n /**\n This injects the test helpers into the `helperContainer` object. If an object is provided\n it will be used as the helperContainer. If `helperContainer` is not set it will default\n to `window`. If a function of the same name has already been defined it will be cached\n (so that it can be reset if the helper is removed with `unregisterHelper` or\n `removeTestHelpers`).\n Any callbacks registered with `onInjectHelpers` will be called once the\n helpers have been injected.\n Example:\n ```\n App.injectTestHelpers();\n ```\n @method injectTestHelpers\n @public\n */\n injectTestHelpers(helperContainer) {\n if (helperContainer) {\n this.helperContainer = helperContainer;\n } else {\n this.helperContainer = window;\n }\n\n this.reopen({\n willDestroy() {\n this._super(...arguments);\n\n this.removeTestHelpers();\n }\n\n });\n this.testHelpers = {};\n\n for (var name in _helpers.helpers) {\n this.originalMethods[name] = this.helperContainer[name];\n this.testHelpers[name] = this.helperContainer[name] = helper(this, name);\n protoWrap(_promise.default.prototype, name, helper(this, name), _helpers.helpers[name].meta.wait);\n }\n\n (0, _on_inject_helpers.invokeInjectHelpersCallbacks)(this);\n },\n\n /**\n This removes all helpers that have been registered, and resets and functions\n that were overridden by the helpers.\n Example:\n ```javascript\n App.removeTestHelpers();\n ```\n @public\n @method removeTestHelpers\n */\n removeTestHelpers() {\n if (!this.helperContainer) {\n return;\n }\n\n for (var name in _helpers.helpers) {\n this.helperContainer[name] = this.originalMethods[name];\n delete _promise.default.prototype[name];\n delete this.testHelpers[name];\n delete this.originalMethods[name];\n }\n }\n\n }); // This method is no longer needed\n // But still here for backwards compatibility\n // of helper chaining\n\n\n function protoWrap(proto, name, callback, isAsync) {\n proto[name] = function (...args) {\n if (isAsync) {\n return callback.apply(this, args);\n } else {\n return this.then(function () {\n return callback.apply(this, args);\n });\n }\n };\n }\n\n function helper(app, name) {\n var fn = _helpers.helpers[name].method;\n var meta = _helpers.helpers[name].meta;\n\n if (!meta.wait) {\n return (...args) => fn.apply(app, [app, ...args]);\n }\n\n return (...args) => {\n var lastPromise = (0, _run.default)(() => (0, _promise.resolve)((0, _promise.getLastPromise)())); // wait for last helper's promise to resolve and then\n // execute. To be safe, we need to tell the adapter we're going\n // asynchronous here, because fn may not be invoked before we\n // return.\n\n (0, _adapter.asyncStart)();\n return lastPromise.then(() => fn.apply(app, [app, ...args])).finally(_adapter.asyncEnd);\n };\n }\n});","define(\"ember-testing/lib/ext/rsvp\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"@ember/debug\", \"ember-testing/lib/test/adapter\"], function (_exports, _runtime, _runloop, _debug, _adapter) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n _runtime.RSVP.configure('async', function (callback, promise) {\n // if schedule will cause autorun, we need to inform adapter\n if ((0, _debug.isTesting)() && !_runloop.backburner.currentInstance) {\n (0, _adapter.asyncStart)();\n\n _runloop.backburner.schedule('actions', () => {\n (0, _adapter.asyncEnd)();\n callback(promise);\n });\n } else {\n _runloop.backburner.schedule('actions', () => callback(promise));\n }\n });\n\n var _default = _runtime.RSVP;\n _exports.default = _default;\n});","define(\"ember-testing/lib/helpers\", [\"ember-testing/lib/test/helpers\", \"ember-testing/lib/helpers/and_then\", \"ember-testing/lib/helpers/click\", \"ember-testing/lib/helpers/current_path\", \"ember-testing/lib/helpers/current_route_name\", \"ember-testing/lib/helpers/current_url\", \"ember-testing/lib/helpers/fill_in\", \"ember-testing/lib/helpers/find\", \"ember-testing/lib/helpers/find_with_assert\", \"ember-testing/lib/helpers/key_event\", \"ember-testing/lib/helpers/pause_test\", \"ember-testing/lib/helpers/trigger_event\", \"ember-testing/lib/helpers/visit\", \"ember-testing/lib/helpers/wait\"], function (_helpers, _and_then, _click, _current_path, _current_route_name, _current_url, _fill_in, _find, _find_with_assert, _key_event, _pause_test, _trigger_event, _visit, _wait) {\n \"use strict\";\n\n (0, _helpers.registerAsyncHelper)('visit', _visit.default);\n (0, _helpers.registerAsyncHelper)('click', _click.default);\n (0, _helpers.registerAsyncHelper)('keyEvent', _key_event.default);\n (0, _helpers.registerAsyncHelper)('fillIn', _fill_in.default);\n (0, _helpers.registerAsyncHelper)('wait', _wait.default);\n (0, _helpers.registerAsyncHelper)('andThen', _and_then.default);\n (0, _helpers.registerAsyncHelper)('pauseTest', _pause_test.pauseTest);\n (0, _helpers.registerAsyncHelper)('triggerEvent', _trigger_event.default);\n (0, _helpers.registerHelper)('find', _find.default);\n (0, _helpers.registerHelper)('findWithAssert', _find_with_assert.default);\n (0, _helpers.registerHelper)('currentRouteName', _current_route_name.default);\n (0, _helpers.registerHelper)('currentPath', _current_path.default);\n (0, _helpers.registerHelper)('currentURL', _current_url.default);\n (0, _helpers.registerHelper)('resumeTest', _pause_test.resumeTest);\n});","define(\"ember-testing/lib/helpers/-is-form-control\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = isFormControl;\n var FORM_CONTROL_TAGS = ['INPUT', 'BUTTON', 'SELECT', 'TEXTAREA'];\n /**\n @private\n @param {Element} element the element to check\n @returns {boolean} `true` when the element is a form control, `false` otherwise\n */\n\n function isFormControl(element) {\n var {\n tagName,\n type\n } = element;\n\n if (type === 'hidden') {\n return false;\n }\n\n return FORM_CONTROL_TAGS.indexOf(tagName) > -1;\n }\n});","define(\"ember-testing/lib/helpers/and_then\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = andThen;\n\n function andThen(app, callback) {\n return app.testHelpers.wait(callback(app));\n }\n});","define(\"ember-testing/lib/helpers/click\", [\"exports\", \"ember-testing/lib/events\"], function (_exports, _events) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = click;\n\n /**\n @module ember\n */\n\n /**\n Clicks an element and triggers any actions triggered by the element's `click`\n event.\n \n Example:\n \n ```javascript\n click('.some-jQuery-selector').then(function() {\n // assert something\n });\n ```\n \n @method click\n @param {String} selector jQuery selector for finding element on the DOM\n @param {Object} context A DOM Element, Document, or jQuery to use as context\n @return {RSVP.Promise<undefined>}\n @public\n */\n function click(app, selector, context) {\n var $el = app.testHelpers.findWithAssert(selector, context);\n var el = $el[0];\n (0, _events.fireEvent)(el, 'mousedown');\n (0, _events.focus)(el);\n (0, _events.fireEvent)(el, 'mouseup');\n (0, _events.fireEvent)(el, 'click');\n return app.testHelpers.wait();\n }\n});","define(\"ember-testing/lib/helpers/current_path\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = currentPath;\n\n /**\n @module ember\n */\n\n /**\n Returns the current path.\n \n Example:\n \n ```javascript\n function validateURL() {\n equal(currentPath(), 'some.path.index', \"correct path was transitioned into.\");\n }\n \n click('#some-link-id').then(validateURL);\n ```\n \n @method currentPath\n @return {Object} The currently active path.\n @since 1.5.0\n @public\n */\n function currentPath(app) {\n var routingService = app.__container__.lookup('service:-routing');\n\n return (0, _metal.get)(routingService, 'currentPath');\n }\n});","define(\"ember-testing/lib/helpers/current_route_name\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = currentRouteName;\n\n /**\n @module ember\n */\n\n /**\n Returns the currently active route name.\n \n Example:\n \n ```javascript\n function validateRouteName() {\n equal(currentRouteName(), 'some.path', \"correct route was transitioned into.\");\n }\n visit('/some/path').then(validateRouteName)\n ```\n \n @method currentRouteName\n @return {Object} The name of the currently active route.\n @since 1.5.0\n @public\n */\n function currentRouteName(app) {\n var routingService = app.__container__.lookup('service:-routing');\n\n return (0, _metal.get)(routingService, 'currentRouteName');\n }\n});","define(\"ember-testing/lib/helpers/current_url\", [\"exports\", \"@ember/-internals/metal\"], function (_exports, _metal) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = currentURL;\n\n /**\n @module ember\n */\n\n /**\n Returns the current URL.\n \n Example:\n \n ```javascript\n function validateURL() {\n equal(currentURL(), '/some/path', \"correct URL was transitioned into.\");\n }\n \n click('#some-link-id').then(validateURL);\n ```\n \n @method currentURL\n @return {Object} The currently active URL.\n @since 1.5.0\n @public\n */\n function currentURL(app) {\n var router = app.__container__.lookup('router:main');\n\n return (0, _metal.get)(router, 'location').getURL();\n }\n});","define(\"ember-testing/lib/helpers/fill_in\", [\"exports\", \"ember-testing/lib/events\", \"ember-testing/lib/helpers/-is-form-control\"], function (_exports, _events, _isFormControl) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = fillIn;\n\n /**\n @module ember\n */\n\n /**\n Fills in an input element with some text.\n \n Example:\n \n ```javascript\n fillIn('#email', 'you@example.com').then(function() {\n // assert something\n });\n ```\n \n @method fillIn\n @param {String} selector jQuery selector finding an input element on the DOM\n to fill text with\n @param {String} text text to place inside the input element\n @return {RSVP.Promise<undefined>}\n @public\n */\n function fillIn(app, selector, contextOrText, text) {\n var $el, el, context;\n\n if (text === undefined) {\n text = contextOrText;\n } else {\n context = contextOrText;\n }\n\n $el = app.testHelpers.findWithAssert(selector, context);\n el = $el[0];\n (0, _events.focus)(el);\n\n if ((0, _isFormControl.default)(el)) {\n el.value = text;\n } else {\n el.innerHTML = text;\n }\n\n (0, _events.fireEvent)(el, 'input');\n (0, _events.fireEvent)(el, 'change');\n return app.testHelpers.wait();\n }\n});","define(\"ember-testing/lib/helpers/find\", [\"exports\", \"@ember/-internals/metal\", \"@ember/debug\", \"@ember/-internals/views\"], function (_exports, _metal, _debug, _views) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = find;\n\n /**\n @module ember\n */\n\n /**\n Finds an element in the context of the app's container element. A simple alias\n for `app.$(selector)`.\n \n Example:\n \n ```javascript\n var $el = find('.my-selector');\n ```\n \n With the `context` param:\n \n ```javascript\n var $el = find('.my-selector', '.parent-element-class');\n ```\n \n @method find\n @param {String} selector jQuery selector for element lookup\n @param {String} [context] (optional) jQuery selector that will limit the selector\n argument to find only within the context's children\n @return {Object} DOM element representing the results of the query\n @public\n */\n function find(app, selector, context) {\n if (_views.jQueryDisabled) {\n (true && !(false) && (0, _debug.assert)('If jQuery is disabled, please import and use helpers from @ember/test-helpers [https://github.com/emberjs/ember-test-helpers]. Note: `find` is not an available helper.'));\n }\n\n var $el;\n context = context || (0, _metal.get)(app, 'rootElement');\n $el = app.$(selector, context);\n return $el;\n }\n});","define(\"ember-testing/lib/helpers/find_with_assert\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = findWithAssert;\n\n /**\n @module ember\n */\n\n /**\n Like `find`, but throws an error if the element selector returns no results.\n \n Example:\n \n ```javascript\n var $el = findWithAssert('.doesnt-exist'); // throws error\n ```\n \n With the `context` param:\n \n ```javascript\n var $el = findWithAssert('.selector-id', '.parent-element-class'); // assert will pass\n ```\n \n @method findWithAssert\n @param {String} selector jQuery selector string for finding an element within\n the DOM\n @param {String} [context] (optional) jQuery selector that will limit the\n selector argument to find only within the context's children\n @return {Object} jQuery object representing the results of the query\n @throws {Error} throws error if object returned has a length of 0\n @public\n */\n function findWithAssert(app, selector, context) {\n var $el = app.testHelpers.find(selector, context);\n\n if ($el.length === 0) {\n throw new Error('Element ' + selector + ' not found.');\n }\n\n return $el;\n }\n});","define(\"ember-testing/lib/helpers/key_event\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = keyEvent;\n\n /**\n @module ember\n */\n\n /**\n Simulates a key event, e.g. `keypress`, `keydown`, `keyup` with the desired keyCode\n Example:\n ```javascript\n keyEvent('.some-jQuery-selector', 'keypress', 13).then(function() {\n // assert something\n });\n ```\n @method keyEvent\n @param {String} selector jQuery selector for finding element on the DOM\n @param {String} type the type of key event, e.g. `keypress`, `keydown`, `keyup`\n @param {Number} keyCode the keyCode of the simulated key event\n @return {RSVP.Promise<undefined>}\n @since 1.5.0\n @public\n */\n function keyEvent(app, selector, contextOrType, typeOrKeyCode, keyCode) {\n var context, type;\n\n if (keyCode === undefined) {\n context = null;\n keyCode = typeOrKeyCode;\n type = contextOrType;\n } else {\n context = contextOrType;\n type = typeOrKeyCode;\n }\n\n return app.testHelpers.triggerEvent(selector, context, type, {\n keyCode,\n which: keyCode\n });\n }\n});","define(\"ember-testing/lib/helpers/pause_test\", [\"exports\", \"@ember/-internals/runtime\", \"@ember/debug\"], function (_exports, _runtime, _debug) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.resumeTest = resumeTest;\n _exports.pauseTest = pauseTest;\n\n /**\n @module ember\n */\n var resume;\n /**\n Resumes a test paused by `pauseTest`.\n \n @method resumeTest\n @return {void}\n @public\n */\n\n function resumeTest() {\n (true && !(resume) && (0, _debug.assert)('Testing has not been paused. There is nothing to resume.', resume));\n resume();\n resume = undefined;\n }\n /**\n Pauses the current test - this is useful for debugging while testing or for test-driving.\n It allows you to inspect the state of your application at any point.\n Example (The test will pause before clicking the button):\n \n ```javascript\n visit('/')\n return pauseTest();\n click('.btn');\n ```\n \n You may want to turn off the timeout before pausing.\n \n qunit (timeout available to use as of 2.4.0):\n \n ```\n visit('/');\n assert.timeout(0);\n return pauseTest();\n click('.btn');\n ```\n \n mocha (timeout happens automatically as of ember-mocha v0.14.0):\n \n ```\n visit('/');\n this.timeout(0);\n return pauseTest();\n click('.btn');\n ```\n \n \n @since 1.9.0\n @method pauseTest\n @return {Object} A promise that will never resolve\n @public\n */\n\n\n function pauseTest() {\n (0, _debug.info)('Testing paused. Use `resumeTest()` to continue.');\n return new _runtime.RSVP.Promise(resolve => {\n resume = resolve;\n }, 'TestAdapter paused promise');\n }\n});","define(\"ember-testing/lib/helpers/trigger_event\", [\"exports\", \"ember-testing/lib/events\"], function (_exports, _events) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = triggerEvent;\n\n /**\n @module ember\n */\n\n /**\n Triggers the given DOM event on the element identified by the provided selector.\n Example:\n ```javascript\n triggerEvent('#some-elem-id', 'blur');\n ```\n This is actually used internally by the `keyEvent` helper like so:\n ```javascript\n triggerEvent('#some-elem-id', 'keypress', { keyCode: 13 });\n ```\n @method triggerEvent\n @param {String} selector jQuery selector for finding element on the DOM\n @param {String} [context] jQuery selector that will limit the selector\n argument to find only within the context's children\n @param {String} type The event type to be triggered.\n @param {Object} [options] The options to be passed to jQuery.Event.\n @return {RSVP.Promise<undefined>}\n @since 1.5.0\n @public\n */\n function triggerEvent(app, selector, contextOrType, typeOrOptions, possibleOptions) {\n var arity = arguments.length;\n var context, type, options;\n\n if (arity === 3) {\n // context and options are optional, so this is\n // app, selector, type\n context = null;\n type = contextOrType;\n options = {};\n } else if (arity === 4) {\n // context and options are optional, so this is\n if (typeof typeOrOptions === 'object') {\n // either\n // app, selector, type, options\n context = null;\n type = contextOrType;\n options = typeOrOptions;\n } else {\n // or\n // app, selector, context, type\n context = contextOrType;\n type = typeOrOptions;\n options = {};\n }\n } else {\n context = contextOrType;\n type = typeOrOptions;\n options = possibleOptions;\n }\n\n var $el = app.testHelpers.findWithAssert(selector, context);\n var el = $el[0];\n (0, _events.fireEvent)(el, type, options);\n return app.testHelpers.wait();\n }\n});","define(\"ember-testing/lib/helpers/visit\", [\"exports\", \"@ember/runloop\"], function (_exports, _runloop) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = visit;\n\n /**\n Loads a route, sets up any controllers, and renders any templates associated\n with the route as though a real user had triggered the route change while\n using your app.\n \n Example:\n \n ```javascript\n visit('posts/index').then(function() {\n // assert something\n });\n ```\n \n @method visit\n @param {String} url the name of the route\n @return {RSVP.Promise<undefined>}\n @public\n */\n function visit(app, url) {\n var router = app.__container__.lookup('router:main');\n\n var shouldHandleURL = false;\n app.boot().then(() => {\n router.location.setURL(url);\n\n if (shouldHandleURL) {\n (0, _runloop.run)(app.__deprecatedInstance__, 'handleURL', url);\n }\n });\n\n if (app._readinessDeferrals > 0) {\n router.initialURL = url;\n (0, _runloop.run)(app, 'advanceReadiness');\n delete router.initialURL;\n } else {\n shouldHandleURL = true;\n }\n\n return app.testHelpers.wait();\n }\n});","define(\"ember-testing/lib/helpers/wait\", [\"exports\", \"ember-testing/lib/test/waiters\", \"@ember/-internals/runtime\", \"@ember/runloop\", \"ember-testing/lib/test/pending_requests\"], function (_exports, _waiters, _runtime, _runloop, _pending_requests) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = wait;\n\n /**\n @module ember\n */\n\n /**\n Causes the run loop to process any pending events. This is used to ensure that\n any async operations from other helpers (or your assertions) have been processed.\n \n This is most often used as the return value for the helper functions (see 'click',\n 'fillIn','visit',etc). However, there is a method to register a test helper which\n utilizes this method without the need to actually call `wait()` in your helpers.\n \n The `wait` helper is built into `registerAsyncHelper` by default. You will not need\n to `return app.testHelpers.wait();` - the wait behavior is provided for you.\n \n Example:\n \n ```javascript\n import { registerAsyncHelper } from '@ember/test';\n \n registerAsyncHelper('loginUser', function(app, username, password) {\n visit('secured/path/here')\n .fillIn('#username', username)\n .fillIn('#password', password)\n .click('.submit');\n });\n ```\n \n @method wait\n @param {Object} value The value to be returned.\n @return {RSVP.Promise<any>} Promise that resolves to the passed value.\n @public\n @since 1.0.0\n */\n function wait(app, value) {\n return new _runtime.RSVP.Promise(function (resolve) {\n var router = app.__container__.lookup('router:main'); // Every 10ms, poll for the async thing to have finished\n\n\n var watcher = setInterval(() => {\n // 1. If the router is loading, keep polling\n var routerIsLoading = router._routerMicrolib && Boolean(router._routerMicrolib.activeTransition);\n\n if (routerIsLoading) {\n return;\n } // 2. If there are pending Ajax requests, keep polling\n\n\n if ((0, _pending_requests.pendingRequests)()) {\n return;\n } // 3. If there are scheduled timers or we are inside of a run loop, keep polling\n\n\n if ((0, _runloop.hasScheduledTimers)() || (0, _runloop.getCurrentRunLoop)()) {\n return;\n }\n\n if ((0, _waiters.checkWaiters)()) {\n return;\n } // Stop polling\n\n\n clearInterval(watcher); // Synchronously resolve the promise\n\n (0, _runloop.run)(null, resolve, value);\n }, 10);\n });\n }\n});","define(\"ember-testing/lib/initializers\", [\"@ember/application\"], function (_application) {\n \"use strict\";\n\n var name = 'deferReadiness in `testing` mode';\n (0, _application.onLoad)('Ember.Application', function (Application) {\n if (!Application.initializers[name]) {\n Application.initializer({\n name: name,\n\n initialize(application) {\n if (application.testing) {\n application.deferReadiness();\n }\n }\n\n });\n }\n });\n});","define(\"ember-testing/lib/setup_for_testing\", [\"exports\", \"@ember/debug\", \"@ember/-internals/views\", \"ember-testing/lib/test/adapter\", \"ember-testing/lib/test/pending_requests\", \"ember-testing/lib/adapters/adapter\", \"ember-testing/lib/adapters/qunit\"], function (_exports, _debug, _views, _adapter, _pending_requests, _adapter2, _qunit) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = setupForTesting;\n\n /* global self */\n\n /**\n Sets Ember up for testing. This is useful to perform\n basic setup steps in order to unit test.\n \n Use `App.setupForTesting` to perform integration tests (full\n application testing).\n \n @method setupForTesting\n @namespace Ember\n @since 1.5.0\n @private\n */\n function setupForTesting() {\n (0, _debug.setTesting)(true);\n var adapter = (0, _adapter.getAdapter)(); // if adapter is not manually set default to QUnit\n\n if (!adapter) {\n (0, _adapter.setAdapter)(typeof self.QUnit === 'undefined' ? _adapter2.default.create() : _qunit.default.create());\n }\n\n if (!_views.jQueryDisabled) {\n (0, _views.jQuery)(document).off('ajaxSend', _pending_requests.incrementPendingRequests);\n (0, _views.jQuery)(document).off('ajaxComplete', _pending_requests.decrementPendingRequests);\n (0, _pending_requests.clearPendingRequests)();\n (0, _views.jQuery)(document).on('ajaxSend', _pending_requests.incrementPendingRequests);\n (0, _views.jQuery)(document).on('ajaxComplete', _pending_requests.decrementPendingRequests);\n }\n }\n});","define(\"ember-testing/lib/support\", [\"@ember/debug\", \"@ember/-internals/views\", \"@ember/-internals/browser-environment\"], function (_debug, _views, _browserEnvironment) {\n \"use strict\";\n\n /**\n @module ember\n */\n var $ = _views.jQuery;\n /**\n This method creates a checkbox and triggers the click event to fire the\n passed in handler. It is used to correct for a bug in older versions\n of jQuery (e.g 1.8.3).\n \n @private\n @method testCheckboxClick\n */\n\n function testCheckboxClick(handler) {\n var input = document.createElement('input');\n $(input).attr('type', 'checkbox').css({\n position: 'absolute',\n left: '-1000px',\n top: '-1000px'\n }).appendTo('body').on('click', handler).trigger('click').remove();\n }\n\n if (_browserEnvironment.hasDOM && !_views.jQueryDisabled) {\n $(function () {\n /*\n Determine whether a checkbox checked using jQuery's \"click\" method will have\n the correct value for its checked property.\n If we determine that the current jQuery version exhibits this behavior,\n patch it to work correctly as in the commit for the actual fix:\n https://github.com/jquery/jquery/commit/1fb2f92.\n */\n testCheckboxClick(function () {\n if (!this.checked && !$.event.special.click) {\n $.event.special.click = {\n // For checkbox, fire native event so checked state will be right\n trigger() {\n if (this.nodeName === 'INPUT' && this.type === 'checkbox' && this.click) {\n this.click();\n return false;\n }\n }\n\n };\n }\n }); // Try again to verify that the patch took effect or blow up.\n\n testCheckboxClick(function () {\n (true && (0, _debug.warn)(\"clicked checkboxes should be checked! the jQuery patch didn't work\", this.checked, {\n id: 'ember-testing.test-checkbox-click'\n }));\n });\n });\n }\n});","define(\"ember-testing/lib/test\", [\"exports\", \"ember-testing/lib/test/helpers\", \"ember-testing/lib/test/on_inject_helpers\", \"ember-testing/lib/test/promise\", \"ember-testing/lib/test/waiters\", \"ember-testing/lib/test/adapter\"], function (_exports, _helpers, _on_inject_helpers, _promise, _waiters, _adapter) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n\n /**\n @module ember\n */\n\n /**\n This is a container for an assortment of testing related functionality:\n \n * Choose your default test adapter (for your framework of choice).\n * Register/Unregister additional test helpers.\n * Setup callbacks to be fired when the test helpers are injected into\n your application.\n \n @class Test\n @namespace Ember\n @public\n */\n var Test = {\n /**\n Hash containing all known test helpers.\n @property _helpers\n @private\n @since 1.7.0\n */\n _helpers: _helpers.helpers,\n registerHelper: _helpers.registerHelper,\n registerAsyncHelper: _helpers.registerAsyncHelper,\n unregisterHelper: _helpers.unregisterHelper,\n onInjectHelpers: _on_inject_helpers.onInjectHelpers,\n Promise: _promise.default,\n promise: _promise.promise,\n resolve: _promise.resolve,\n registerWaiter: _waiters.registerWaiter,\n unregisterWaiter: _waiters.unregisterWaiter,\n checkWaiters: _waiters.checkWaiters\n };\n /**\n Used to allow ember-testing to communicate with a specific testing\n framework.\n \n You can manually set it before calling `App.setupForTesting()`.\n \n Example:\n \n ```javascript\n Ember.Test.adapter = MyCustomAdapter.create()\n ```\n \n If you do not set it, ember-testing will default to `Ember.Test.QUnitAdapter`.\n \n @public\n @for Ember.Test\n @property adapter\n @type {Class} The adapter to be used.\n @default Ember.Test.QUnitAdapter\n */\n\n Object.defineProperty(Test, 'adapter', {\n get: _adapter.getAdapter,\n set: _adapter.setAdapter\n });\n var _default = Test;\n _exports.default = _default;\n});","define(\"ember-testing/lib/test/adapter\", [\"exports\", \"@ember/-internals/error-handling\"], function (_exports, _errorHandling) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.getAdapter = getAdapter;\n _exports.setAdapter = setAdapter;\n _exports.asyncStart = asyncStart;\n _exports.asyncEnd = asyncEnd;\n var adapter;\n\n function getAdapter() {\n return adapter;\n }\n\n function setAdapter(value) {\n adapter = value;\n\n if (value && typeof value.exception === 'function') {\n (0, _errorHandling.setDispatchOverride)(adapterDispatch);\n } else {\n (0, _errorHandling.setDispatchOverride)(null);\n }\n }\n\n function asyncStart() {\n if (adapter) {\n adapter.asyncStart();\n }\n }\n\n function asyncEnd() {\n if (adapter) {\n adapter.asyncEnd();\n }\n }\n\n function adapterDispatch(error) {\n adapter.exception(error);\n console.error(error.stack); // eslint-disable-line no-console\n }\n});","define(\"ember-testing/lib/test/helpers\", [\"exports\", \"ember-testing/lib/test/promise\"], function (_exports, _promise) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.registerHelper = registerHelper;\n _exports.registerAsyncHelper = registerAsyncHelper;\n _exports.unregisterHelper = unregisterHelper;\n _exports.helpers = void 0;\n var helpers = {};\n /**\n @module @ember/test\n */\n\n /**\n `registerHelper` is used to register a test helper that will be injected\n when `App.injectTestHelpers` is called.\n \n The helper method will always be called with the current Application as\n the first parameter.\n \n For example:\n \n ```javascript\n import { registerHelper } from '@ember/test';\n import { run } from '@ember/runloop';\n \n registerHelper('boot', function(app) {\n run(app, app.advanceReadiness);\n });\n ```\n \n This helper can later be called without arguments because it will be\n called with `app` as the first parameter.\n \n ```javascript\n import Application from '@ember/application';\n \n App = Application.create();\n App.injectTestHelpers();\n boot();\n ```\n \n @public\n @for @ember/test\n @static\n @method registerHelper\n @param {String} name The name of the helper method to add.\n @param {Function} helperMethod\n @param options {Object}\n */\n\n _exports.helpers = helpers;\n\n function registerHelper(name, helperMethod) {\n helpers[name] = {\n method: helperMethod,\n meta: {\n wait: false\n }\n };\n }\n /**\n `registerAsyncHelper` is used to register an async test helper that will be injected\n when `App.injectTestHelpers` is called.\n \n The helper method will always be called with the current Application as\n the first parameter.\n \n For example:\n \n ```javascript\n import { registerAsyncHelper } from '@ember/test';\n import { run } from '@ember/runloop';\n \n registerAsyncHelper('boot', function(app) {\n run(app, app.advanceReadiness);\n });\n ```\n \n The advantage of an async helper is that it will not run\n until the last async helper has completed. All async helpers\n after it will wait for it complete before running.\n \n \n For example:\n \n ```javascript\n import { registerAsyncHelper } from '@ember/test';\n \n registerAsyncHelper('deletePost', function(app, postId) {\n click('.delete-' + postId);\n });\n \n // ... in your test\n visit('/post/2');\n deletePost(2);\n visit('/post/3');\n deletePost(3);\n ```\n \n @public\n @for @ember/test\n @method registerAsyncHelper\n @param {String} name The name of the helper method to add.\n @param {Function} helperMethod\n @since 1.2.0\n */\n\n\n function registerAsyncHelper(name, helperMethod) {\n helpers[name] = {\n method: helperMethod,\n meta: {\n wait: true\n }\n };\n }\n /**\n Remove a previously added helper method.\n \n Example:\n \n ```javascript\n import { unregisterHelper } from '@ember/test';\n \n unregisterHelper('wait');\n ```\n \n @public\n @method unregisterHelper\n @static\n @for @ember/test\n @param {String} name The helper to remove.\n */\n\n\n function unregisterHelper(name) {\n delete helpers[name];\n delete _promise.default.prototype[name];\n }\n});","define(\"ember-testing/lib/test/on_inject_helpers\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.onInjectHelpers = onInjectHelpers;\n _exports.invokeInjectHelpersCallbacks = invokeInjectHelpersCallbacks;\n _exports.callbacks = void 0;\n var callbacks = [];\n /**\n Used to register callbacks to be fired whenever `App.injectTestHelpers`\n is called.\n \n The callback will receive the current application as an argument.\n \n Example:\n \n ```javascript\n import $ from 'jquery';\n \n Ember.Test.onInjectHelpers(function() {\n $(document).ajaxSend(function() {\n Test.pendingRequests++;\n });\n \n $(document).ajaxComplete(function() {\n Test.pendingRequests--;\n });\n });\n ```\n \n @public\n @for Ember.Test\n @method onInjectHelpers\n @param {Function} callback The function to be called.\n */\n\n _exports.callbacks = callbacks;\n\n function onInjectHelpers(callback) {\n callbacks.push(callback);\n }\n\n function invokeInjectHelpersCallbacks(app) {\n for (var i = 0; i < callbacks.length; i++) {\n callbacks[i](app);\n }\n }\n});","define(\"ember-testing/lib/test/pending_requests\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.pendingRequests = pendingRequests;\n _exports.clearPendingRequests = clearPendingRequests;\n _exports.incrementPendingRequests = incrementPendingRequests;\n _exports.decrementPendingRequests = decrementPendingRequests;\n var requests = [];\n\n function pendingRequests() {\n return requests.length;\n }\n\n function clearPendingRequests() {\n requests.length = 0;\n }\n\n function incrementPendingRequests(_, xhr) {\n requests.push(xhr);\n }\n\n function decrementPendingRequests(_, xhr) {\n setTimeout(function () {\n for (var i = 0; i < requests.length; i++) {\n if (xhr === requests[i]) {\n requests.splice(i, 1);\n break;\n }\n }\n }, 0);\n }\n});","define(\"ember-testing/lib/test/promise\", [\"exports\", \"@ember/-internals/runtime\", \"ember-testing/lib/test/run\"], function (_exports, _runtime, _run) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.promise = promise;\n _exports.resolve = resolve;\n _exports.getLastPromise = getLastPromise;\n _exports.default = void 0;\n var lastPromise;\n\n class TestPromise extends _runtime.RSVP.Promise {\n constructor() {\n super(...arguments);\n lastPromise = this;\n }\n\n then(_onFulfillment, ...args) {\n var onFulfillment = typeof _onFulfillment === 'function' ? result => isolate(_onFulfillment, result) : undefined;\n return super.then(onFulfillment, ...args);\n }\n\n }\n /**\n This returns a thenable tailored for testing. It catches failed\n `onSuccess` callbacks and invokes the `Ember.Test.adapter.exception`\n callback in the last chained then.\n \n This method should be returned by async helpers such as `wait`.\n \n @public\n @for Ember.Test\n @method promise\n @param {Function} resolver The function used to resolve the promise.\n @param {String} label An optional string for identifying the promise.\n */\n\n\n _exports.default = TestPromise;\n\n function promise(resolver, label) {\n var fullLabel = `Ember.Test.promise: ${label || '<Unknown Promise>'}`;\n return new TestPromise(resolver, fullLabel);\n }\n /**\n Replacement for `Ember.RSVP.resolve`\n The only difference is this uses\n an instance of `Ember.Test.Promise`\n \n @public\n @for Ember.Test\n @method resolve\n @param {Mixed} The value to resolve\n @since 1.2.0\n */\n\n\n function resolve(result, label) {\n return TestPromise.resolve(result, label);\n }\n\n function getLastPromise() {\n return lastPromise;\n } // This method isolates nested async methods\n // so that they don't conflict with other last promises.\n //\n // 1. Set `Ember.Test.lastPromise` to null\n // 2. Invoke method\n // 3. Return the last promise created during method\n\n\n function isolate(onFulfillment, result) {\n // Reset lastPromise for nested helpers\n lastPromise = null;\n var value = onFulfillment(result);\n var promise = lastPromise;\n lastPromise = null; // If the method returned a promise\n // return that promise. If not,\n // return the last async helper's promise\n\n if (value && value instanceof TestPromise || !promise) {\n return value;\n } else {\n return (0, _run.default)(() => resolve(promise).then(() => value));\n }\n }\n});","define(\"ember-testing/lib/test/run\", [\"exports\", \"@ember/runloop\"], function (_exports, _runloop) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = run;\n\n function run(fn) {\n if (!(0, _runloop.getCurrentRunLoop)()) {\n return (0, _runloop.run)(fn);\n } else {\n return fn();\n }\n }\n});","define(\"ember-testing/lib/test/waiters\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.registerWaiter = registerWaiter;\n _exports.unregisterWaiter = unregisterWaiter;\n _exports.checkWaiters = checkWaiters;\n\n /**\n @module @ember/test\n */\n var contexts = [];\n var callbacks = [];\n /**\n This allows ember-testing to play nicely with other asynchronous\n events, such as an application that is waiting for a CSS3\n transition or an IndexDB transaction. The waiter runs periodically\n after each async helper (i.e. `click`, `andThen`, `visit`, etc) has executed,\n until the returning result is truthy. After the waiters finish, the next async helper\n is executed and the process repeats.\n \n For example:\n \n ```javascript\n import { registerWaiter } from '@ember/test';\n \n registerWaiter(function() {\n return myPendingTransactions() === 0;\n });\n ```\n The `context` argument allows you to optionally specify the `this`\n with which your callback will be invoked.\n \n For example:\n \n ```javascript\n import { registerWaiter } from '@ember/test';\n \n registerWaiter(MyDB, MyDB.hasPendingTransactions);\n ```\n \n @public\n @for @ember/test\n @static\n @method registerWaiter\n @param {Object} context (optional)\n @param {Function} callback\n @since 1.2.0\n */\n\n function registerWaiter(context, callback) {\n if (arguments.length === 1) {\n callback = context;\n context = null;\n }\n\n if (indexOf(context, callback) > -1) {\n return;\n }\n\n contexts.push(context);\n callbacks.push(callback);\n }\n /**\n `unregisterWaiter` is used to unregister a callback that was\n registered with `registerWaiter`.\n \n @public\n @for @ember/test\n @static\n @method unregisterWaiter\n @param {Object} context (optional)\n @param {Function} callback\n @since 1.2.0\n */\n\n\n function unregisterWaiter(context, callback) {\n if (!callbacks.length) {\n return;\n }\n\n if (arguments.length === 1) {\n callback = context;\n context = null;\n }\n\n var i = indexOf(context, callback);\n\n if (i === -1) {\n return;\n }\n\n contexts.splice(i, 1);\n callbacks.splice(i, 1);\n }\n /**\n Iterates through each registered test waiter, and invokes\n its callback. If any waiter returns false, this method will return\n true indicating that the waiters have not settled yet.\n \n This is generally used internally from the acceptance/integration test\n infrastructure.\n \n @public\n @for @ember/test\n @static\n @method checkWaiters\n */\n\n\n function checkWaiters() {\n if (!callbacks.length) {\n return false;\n }\n\n for (var i = 0; i < callbacks.length; i++) {\n var context = contexts[i];\n var callback = callbacks[i];\n\n if (!callback.call(context)) {\n return true;\n }\n }\n\n return false;\n }\n\n function indexOf(context, callback) {\n for (var i = 0; i < callbacks.length; i++) {\n if (callbacks[i] === callback && contexts[i] === context) {\n return i;\n }\n }\n\n return -1;\n }\n});","define(\"ember/index\", [\"exports\", \"require\", \"@ember/-internals/environment\", \"node-module\", \"@ember/-internals/utils\", \"@ember/-internals/container\", \"@ember/instrumentation\", \"@ember/-internals/meta\", \"@ember/-internals/metal\", \"@ember/canary-features\", \"@ember/debug\", \"backburner\", \"@ember/-internals/console\", \"@ember/controller\", \"@ember/controller/lib/controller_mixin\", \"@ember/string\", \"@ember/service\", \"@ember/object\", \"@ember/object/compat\", \"@ember/object/computed\", \"@ember/-internals/runtime\", \"@ember/-internals/glimmer\", \"ember/version\", \"@ember/-internals/views\", \"@ember/-internals/routing\", \"@ember/-internals/extension-support\", \"@ember/error\", \"@ember/runloop\", \"@ember/-internals/error-handling\", \"@ember/-internals/owner\", \"@ember/application\", \"@ember/application/globals-resolver\", \"@ember/application/instance\", \"@ember/engine\", \"@ember/engine/instance\", \"@ember/polyfills\", \"@ember/deprecated-features\", \"@ember/component/template-only\", \"@glimmer/runtime\"], function (_exports, _require, _environment, _nodeModule, utils, _container, instrumentation, _meta, metal, _canaryFeatures, EmberDebug, _backburner, _console, _controller, _controller_mixin, _string, _service, _object, _compat, _computed, _runtime, _glimmer, _version, views, routing, extensionSupport, _error, runloop, _errorHandling, _owner, _application, _globalsResolver, _instance, _engine, _instance2, _polyfills, _deprecatedFeatures, _templateOnly, _runtime2) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n // eslint-disable-next-line import/no-unresolved\n // ****@ember/-internals/environment****\n var Ember = typeof _environment.context.imports.Ember === 'object' && _environment.context.imports.Ember || {};\n Ember.isNamespace = true;\n\n Ember.toString = function () {\n return 'Ember';\n };\n\n Object.defineProperty(Ember, 'ENV', {\n get: _environment.getENV,\n enumerable: false\n });\n Object.defineProperty(Ember, 'lookup', {\n get: _environment.getLookup,\n set: _environment.setLookup,\n enumerable: false\n });\n\n if (_deprecatedFeatures.EMBER_EXTEND_PROTOTYPES) {\n Object.defineProperty(Ember, 'EXTEND_PROTOTYPES', {\n enumerable: false,\n\n get() {\n (true && !(false) && (0, EmberDebug.deprecate)('Accessing Ember.EXTEND_PROTOTYPES is deprecated, please migrate to Ember.ENV.EXTEND_PROTOTYPES', false, {\n id: 'ember-env.old-extend-prototypes',\n until: '4.0.0'\n }));\n return _environment.ENV.EXTEND_PROTOTYPES;\n }\n\n });\n } // ****@ember/application****\n\n\n Ember.getOwner = _owner.getOwner;\n Ember.setOwner = _owner.setOwner;\n Ember.Application = _application.default;\n Ember.ApplicationInstance = _instance.default;\n Object.defineProperty(Ember, 'Resolver', {\n get() {\n (true && !(false) && (0, EmberDebug.deprecate)('Using the globals resolver is deprecated. Use the ember-resolver package instead. See https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver', false, {\n id: 'ember.globals-resolver',\n until: '4.0.0',\n url: 'https://deprecations.emberjs.com/v3.x#toc_ember-deprecate-globals-resolver'\n }));\n return _globalsResolver.default;\n }\n\n });\n Object.defineProperty(Ember, 'DefaultResolver', {\n get() {\n return Ember.Resolver;\n }\n\n }); // ****@ember/engine****\n\n Ember.Engine = _engine.default;\n Ember.EngineInstance = _instance2.default; // ****@ember/polyfills****\n\n Ember.assign = _polyfills.assign;\n Ember.merge = _polyfills.merge; // ****@ember/-internals/utils****\n\n Ember.generateGuid = utils.generateGuid;\n Ember.GUID_KEY = utils.GUID_KEY;\n Ember.guidFor = utils.guidFor;\n Ember.inspect = utils.inspect;\n Ember.makeArray = utils.makeArray;\n Ember.canInvoke = utils.canInvoke;\n Ember.tryInvoke = utils.tryInvoke;\n Ember.wrap = utils.wrap;\n Ember.uuid = utils.uuid; // ****@ember/-internals/container****\n\n Ember.Container = _container.Container;\n Ember.Registry = _container.Registry; // ****@ember/debug****\n\n Ember.assert = EmberDebug.assert;\n Ember.warn = EmberDebug.warn;\n Ember.debug = EmberDebug.debug;\n Ember.deprecate = EmberDebug.deprecate;\n Ember.deprecateFunc = EmberDebug.deprecateFunc;\n Ember.runInDebug = EmberDebug.runInDebug; // ****@ember/error****\n\n Ember.Error = _error.default;\n /**\n @public\n @class Ember.Debug\n */\n\n Ember.Debug = {\n registerDeprecationHandler: EmberDebug.registerDeprecationHandler,\n registerWarnHandler: EmberDebug.registerWarnHandler,\n isComputed: metal.isComputed\n }; // ****@ember/instrumentation****\n\n Ember.instrument = instrumentation.instrument;\n Ember.subscribe = instrumentation.subscribe;\n Ember.Instrumentation = {\n instrument: instrumentation.instrument,\n subscribe: instrumentation.subscribe,\n unsubscribe: instrumentation.unsubscribe,\n reset: instrumentation.reset\n }; // ****@ember/runloop****\n // Using _globalsRun here so that mutating the function (adding\n // `next`, `later`, etc to it) is only available in globals builds\n\n Ember.run = runloop._globalsRun;\n Ember.run.backburner = runloop.backburner;\n Ember.run.begin = runloop.begin;\n Ember.run.bind = runloop.bind;\n Ember.run.cancel = runloop.cancel;\n Ember.run.debounce = runloop.debounce;\n Ember.run.end = runloop.end;\n Ember.run.hasScheduledTimers = runloop.hasScheduledTimers;\n Ember.run.join = runloop.join;\n Ember.run.later = runloop.later;\n Ember.run.next = runloop.next;\n Ember.run.once = runloop.once;\n Ember.run.schedule = runloop.schedule;\n Ember.run.scheduleOnce = runloop.scheduleOnce;\n Ember.run.throttle = runloop.throttle;\n Ember.run.cancelTimers = runloop.cancelTimers;\n Object.defineProperty(Ember.run, 'currentRunLoop', {\n get: runloop.getCurrentRunLoop,\n enumerable: false\n }); // ****@ember/-internals/metal****\n // Using _globalsComputed here so that mutating the function is only available\n // in globals builds\n\n var computed = metal._globalsComputed;\n Ember.computed = computed;\n Ember._descriptor = metal.nativeDescDecorator;\n Ember._tracked = metal.tracked;\n computed.alias = metal.alias;\n Ember.cacheFor = metal.getCachedValueFor;\n Ember.ComputedProperty = metal.ComputedProperty;\n Ember._setClassicDecorator = metal.setClassicDecorator;\n Ember.meta = _meta.meta;\n Ember.get = metal.get;\n Ember.getWithDefault = metal.getWithDefault;\n Ember._getPath = metal._getPath;\n Ember.set = metal.set;\n Ember.trySet = metal.trySet;\n Ember.FEATURES = (0, _polyfills.assign)({\n isEnabled: _canaryFeatures.isEnabled\n }, _canaryFeatures.FEATURES);\n Ember._Cache = utils.Cache;\n Ember.on = metal.on;\n Ember.addListener = metal.addListener;\n Ember.removeListener = metal.removeListener;\n Ember.sendEvent = metal.sendEvent;\n Ember.hasListeners = metal.hasListeners;\n Ember.isNone = metal.isNone;\n Ember.isEmpty = metal.isEmpty;\n Ember.isBlank = metal.isBlank;\n Ember.isPresent = metal.isPresent;\n Ember.notifyPropertyChange = metal.notifyPropertyChange;\n Ember.beginPropertyChanges = metal.beginPropertyChanges;\n Ember.endPropertyChanges = metal.endPropertyChanges;\n Ember.changeProperties = metal.changeProperties;\n Ember.platform = {\n defineProperty: true,\n hasPropertyAccessors: true\n };\n Ember.defineProperty = metal.defineProperty;\n Ember.destroy = _runtime2.destroy;\n Ember.libraries = metal.libraries;\n Ember.getProperties = metal.getProperties;\n Ember.setProperties = metal.setProperties;\n Ember.expandProperties = metal.expandProperties;\n Ember.addObserver = metal.addObserver;\n Ember.removeObserver = metal.removeObserver;\n Ember.aliasMethod = metal.aliasMethod;\n Ember.observer = metal.observer;\n Ember.mixin = metal.mixin;\n Ember.Mixin = metal.Mixin;\n\n if (false\n /* EMBER_CACHE_API */\n ) {\n Ember._createCache = metal.createCache;\n Ember._cacheGetValue = metal.getValue;\n Ember._cacheIsConst = metal.isConst;\n }\n /**\n A function may be assigned to `Ember.onerror` to be called when Ember\n internals encounter an error. This is useful for specialized error handling\n and reporting code.\n \n ```javascript\n import $ from 'jquery';\n \n Ember.onerror = function(error) {\n $.ajax('/report-error', 'POST', {\n stack: error.stack,\n otherInformation: 'whatever app state you want to provide'\n });\n };\n ```\n \n Internally, `Ember.onerror` is used as Backburner's error handler.\n \n @event onerror\n @for Ember\n @param {Exception} error the error object\n @public\n */\n\n\n Object.defineProperty(Ember, 'onerror', {\n get: _errorHandling.getOnerror,\n set: _errorHandling.setOnerror,\n enumerable: false\n });\n Object.defineProperty(Ember, 'testing', {\n get: EmberDebug.isTesting,\n set: EmberDebug.setTesting,\n enumerable: false\n });\n Ember._Backburner = _backburner.default; // ****@ember/-internals/console****\n\n if (_deprecatedFeatures.LOGGER) {\n Ember.Logger = _console.default;\n } // ****@ember/-internals/runtime****\n\n\n Ember.A = _runtime.A;\n Ember.String = {\n loc: _string.loc,\n w: _string.w,\n dasherize: _string.dasherize,\n decamelize: _string.decamelize,\n camelize: _string.camelize,\n classify: _string.classify,\n underscore: _string.underscore,\n capitalize: _string.capitalize\n };\n Ember.Object = _runtime.Object;\n Ember._RegistryProxyMixin = _runtime.RegistryProxyMixin;\n Ember._ContainerProxyMixin = _runtime.ContainerProxyMixin;\n Ember.compare = _runtime.compare;\n Ember.copy = _runtime.copy;\n Ember.isEqual = _runtime.isEqual;\n /**\n @module ember\n */\n\n /**\n Namespace for injection helper methods.\n \n @class inject\n @namespace Ember\n @static\n @public\n */\n\n Ember.inject = function inject() {\n (true && !(false) && (0, EmberDebug.assert)(`Injected properties must be created through helpers, see '${Object.keys(inject).map(k => `'inject.${k}'`).join(' or ')}'`));\n };\n\n Ember.inject.service = _service.inject;\n Ember.inject.controller = _controller.inject;\n Ember.Array = _runtime.Array;\n Ember.Comparable = _runtime.Comparable;\n Ember.Enumerable = _runtime.Enumerable;\n Ember.ArrayProxy = _runtime.ArrayProxy;\n Ember.ObjectProxy = _runtime.ObjectProxy;\n Ember.ActionHandler = _runtime.ActionHandler;\n Ember.CoreObject = _runtime.CoreObject;\n Ember.NativeArray = _runtime.NativeArray;\n Ember.Copyable = _runtime.Copyable;\n Ember.MutableEnumerable = _runtime.MutableEnumerable;\n Ember.MutableArray = _runtime.MutableArray;\n Ember.TargetActionSupport = _runtime.TargetActionSupport;\n Ember.Evented = _runtime.Evented;\n Ember.PromiseProxyMixin = _runtime.PromiseProxyMixin;\n Ember.Observable = _runtime.Observable;\n Ember.typeOf = _runtime.typeOf;\n Ember.isArray = _runtime.isArray;\n Ember.Object = _runtime.Object;\n Ember.onLoad = _application.onLoad;\n Ember.runLoadHooks = _application.runLoadHooks;\n Ember.Controller = _controller.default;\n Ember.ControllerMixin = _controller_mixin.default;\n Ember.Service = _service.default;\n Ember._ProxyMixin = _runtime._ProxyMixin;\n Ember.RSVP = _runtime.RSVP;\n Ember.Namespace = _runtime.Namespace;\n Ember._action = _object.action;\n Ember._dependentKeyCompat = _compat.dependentKeyCompat;\n computed.empty = _computed.empty;\n computed.notEmpty = _computed.notEmpty;\n computed.none = _computed.none;\n computed.not = _computed.not;\n computed.bool = _computed.bool;\n computed.match = _computed.match;\n computed.equal = _computed.equal;\n computed.gt = _computed.gt;\n computed.gte = _computed.gte;\n computed.lt = _computed.lt;\n computed.lte = _computed.lte;\n computed.oneWay = _computed.oneWay;\n computed.reads = _computed.oneWay;\n computed.readOnly = _computed.readOnly;\n computed.deprecatingAlias = _computed.deprecatingAlias;\n computed.and = _computed.and;\n computed.or = _computed.or;\n computed.sum = _computed.sum;\n computed.min = _computed.min;\n computed.max = _computed.max;\n computed.map = _computed.map;\n computed.sort = _computed.sort;\n computed.setDiff = _computed.setDiff;\n computed.mapBy = _computed.mapBy;\n computed.filter = _computed.filter;\n computed.filterBy = _computed.filterBy;\n computed.uniq = _computed.uniq;\n computed.uniqBy = _computed.uniqBy;\n computed.union = _computed.union;\n computed.intersect = _computed.intersect;\n computed.collect = _computed.collect;\n /**\n Defines the hash of localized strings for the current language. Used by\n the `String.loc` helper. To localize, add string values to this\n hash.\n \n @property STRINGS\n @for Ember\n @type Object\n @private\n */\n\n Object.defineProperty(Ember, 'STRINGS', {\n configurable: false,\n get: _string._getStrings,\n set: _string._setStrings\n });\n /**\n Whether searching on the global for new Namespace instances is enabled.\n \n This is only exported here as to not break any addons. Given the new\n visit API, you will have issues if you treat this as a indicator of\n booted.\n \n Internally this is only exposing a flag in Namespace.\n \n @property BOOTED\n @for Ember\n @type Boolean\n @private\n */\n\n Object.defineProperty(Ember, 'BOOTED', {\n configurable: false,\n enumerable: false,\n get: metal.isNamespaceSearchDisabled,\n set: metal.setNamespaceSearchDisabled\n }); // ****@ember/-internals/glimmer****\n\n Ember.Component = _glimmer.Component;\n _glimmer.Helper.helper = _glimmer.helper;\n Ember.Helper = _glimmer.Helper;\n Ember.Checkbox = _glimmer.Checkbox;\n Ember.TextField = _glimmer.TextField;\n Ember.TextArea = _glimmer.TextArea;\n Ember.LinkComponent = _glimmer.LinkComponent;\n Ember._setComponentManager = _glimmer.setComponentManager;\n Ember._componentManagerCapabilities = _glimmer.capabilities;\n Ember._setModifierManager = _glimmer.setModifierManager;\n Ember._modifierManagerCapabilities = _glimmer.modifierCapabilities;\n\n if (true\n /* EMBER_GLIMMER_SET_COMPONENT_TEMPLATE */\n ) {\n Ember._getComponentTemplate = _glimmer.getComponentTemplate;\n Ember._setComponentTemplate = _glimmer.setComponentTemplate;\n Ember._templateOnlyComponent = _templateOnly.default;\n }\n\n Ember._captureRenderTree = EmberDebug.captureRenderTree;\n Ember.Handlebars = {\n template: _glimmer.template,\n Utils: {\n escapeExpression: _glimmer.escapeExpression\n }\n };\n Ember.HTMLBars = {\n template: _glimmer.template\n };\n\n if (_environment.ENV.EXTEND_PROTOTYPES.String) {\n String.prototype.htmlSafe = function () {\n return (0, _glimmer.htmlSafe)(this);\n };\n }\n\n Ember.String.htmlSafe = _glimmer.htmlSafe;\n Ember.String.isHTMLSafe = _glimmer.isHTMLSafe;\n /**\n Global hash of shared templates. This will automatically be populated\n by the build tools so that you can store your Handlebars templates in\n separate files that get loaded into JavaScript at buildtime.\n \n @property TEMPLATES\n @for Ember\n @type Object\n @private\n */\n\n Object.defineProperty(Ember, 'TEMPLATES', {\n get: _glimmer.getTemplates,\n set: _glimmer.setTemplates,\n configurable: false,\n enumerable: false\n });\n /**\n The semantic version\n \n @property VERSION\n @type String\n @public\n */\n\n Ember.VERSION = _version.default; // ****@ember/-internals/views****\n\n if (_deprecatedFeatures.JQUERY_INTEGRATION && !views.jQueryDisabled) {\n Object.defineProperty(Ember, '$', {\n get() {\n (true && !(false) && (0, EmberDebug.deprecate)(\"Using Ember.$() has been deprecated, use `import jQuery from 'jquery';` instead\", false, {\n id: 'ember-views.curly-components.jquery-element',\n until: '4.0.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_jquery-apis'\n }));\n return views.jQuery;\n },\n\n configurable: true,\n enumerable: true\n });\n }\n\n Ember.ViewUtils = {\n isSimpleClick: views.isSimpleClick,\n getElementView: views.getElementView,\n getViewElement: views.getViewElement,\n getViewBounds: views.getViewBounds,\n getViewClientRects: views.getViewClientRects,\n getViewBoundingClientRect: views.getViewBoundingClientRect,\n getRootViews: views.getRootViews,\n getChildViews: views.getChildViews,\n isSerializationFirstNode: _glimmer.isSerializationFirstNode\n };\n Ember.TextSupport = views.TextSupport;\n Ember.ComponentLookup = views.ComponentLookup;\n Ember.EventDispatcher = views.EventDispatcher; // ****@ember/-internals/routing****\n\n Ember.Location = routing.Location;\n Ember.AutoLocation = routing.AutoLocation;\n Ember.HashLocation = routing.HashLocation;\n Ember.HistoryLocation = routing.HistoryLocation;\n Ember.NoneLocation = routing.NoneLocation;\n Ember.controllerFor = routing.controllerFor;\n Ember.generateControllerFactory = routing.generateControllerFactory;\n Ember.generateController = routing.generateController;\n Ember.RouterDSL = routing.RouterDSL;\n Ember.Router = routing.Router;\n Ember.Route = routing.Route;\n (0, _application.runLoadHooks)('Ember.Application', _application.default);\n Ember.DataAdapter = extensionSupport.DataAdapter;\n Ember.ContainerDebugAdapter = extensionSupport.ContainerDebugAdapter;\n\n if ((0, _require.has)('ember-template-compiler')) {\n (0, _require.default)(\"ember-template-compiler\");\n } // do this to ensure that Ember.Test is defined properly on the global\n // if it is present.\n\n\n if ((0, _require.has)('ember-testing')) {\n var testing = (0, _require.default)(\"ember-testing\");\n Ember.Test = testing.Test;\n Ember.Test.Adapter = testing.Adapter;\n Ember.Test.QUnitAdapter = testing.QUnitAdapter;\n Ember.setupForTesting = testing.setupForTesting;\n }\n\n (0, _application.runLoadHooks)('Ember');\n var _default = Ember;\n _exports.default = _default;\n\n if (_nodeModule.IS_NODE) {\n _nodeModule.module.exports = Ember;\n } else {\n _environment.context.exports.Ember = _environment.context.exports.Em = Ember;\n }\n /**\n @module jquery\n @public\n */\n\n /**\n @class jquery\n @public\n @static\n */\n\n /**\n Alias for jQuery\n \n @for jquery\n @method $\n @static\n @public\n */\n\n});","define(\"ember/version\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var _default = \"3.20.7\";\n _exports.default = _default;\n});","define(\"node-module/index\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.require = _exports.module = _exports.IS_NODE = void 0;\n\n /*global module */\n var IS_NODE = typeof module === 'object' && typeof module.require === 'function';\n _exports.IS_NODE = IS_NODE;\n var exportModule;\n _exports.module = exportModule;\n var exportRequire;\n _exports.require = exportRequire;\n\n if (IS_NODE) {\n _exports.module = exportModule = module;\n _exports.require = exportRequire = module.require;\n } else {\n _exports.module = exportModule = null;\n _exports.require = exportRequire = null;\n }\n});","define(\"route-recognizer\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.default = void 0;\n var createObject = Object.create;\n\n function createMap() {\n var map = createObject(null);\n map[\"__\"] = undefined;\n delete map[\"__\"];\n return map;\n }\n\n var Target = function Target(path, matcher, delegate) {\n this.path = path;\n this.matcher = matcher;\n this.delegate = delegate;\n };\n\n Target.prototype.to = function to(target, callback) {\n var delegate = this.delegate;\n\n if (delegate && delegate.willAddRoute) {\n target = delegate.willAddRoute(this.matcher.target, target);\n }\n\n this.matcher.add(this.path, target);\n\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\n this.matcher.addChild(this.path, target, callback, this.delegate);\n }\n };\n\n var Matcher = function Matcher(target) {\n this.routes = createMap();\n this.children = createMap();\n this.target = target;\n };\n\n Matcher.prototype.add = function add(path, target) {\n this.routes[path] = target;\n };\n\n Matcher.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\n if (delegate && delegate.contextEntered) {\n delegate.contextEntered(target, match);\n }\n\n callback(match);\n };\n\n function generateMatch(startingPath, matcher, delegate) {\n function match(path, callback) {\n var fullPath = startingPath + path;\n\n if (callback) {\n callback(generateMatch(fullPath, matcher, delegate));\n } else {\n return new Target(fullPath, matcher, delegate);\n }\n }\n\n return match;\n }\n\n function addRoute(routeArray, path, handler) {\n var len = 0;\n\n for (var i = 0; i < routeArray.length; i++) {\n len += routeArray[i].path.length;\n }\n\n path = path.substr(len);\n var route = {\n path: path,\n handler: handler\n };\n routeArray.push(route);\n }\n\n function eachRoute(baseRoute, matcher, callback, binding) {\n var routes = matcher.routes;\n var paths = Object.keys(routes);\n\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\n if (nested) {\n eachRoute(routeArray, nested, callback, binding);\n } else {\n callback.call(binding, routeArray);\n }\n }\n }\n\n var 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 } else {\n this.add(routes);\n }\n }, this);\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\n\n\n function normalizePath(path) {\n return path.split(\"/\").map(normalizeSegment).join(\"/\");\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\n\n\n var SEGMENT_RESERVED_CHARS = /%|\\//g;\n\n function normalizeSegment(segment) {\n if (segment.length < 3 || segment.indexOf(\"%\") === -1) {\n return segment;\n }\n\n return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\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'].\n\n\n var PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\n\n function encodePathSegment(str) {\n return encodeURIComponent(str).replace(PATH_SEGMENT_ENCODINGS, decodeURIComponent);\n }\n\n var escapeRegex = /(\\/|\\.|\\*|\\+|\\?|\\||\\(|\\)|\\[|\\]|\\{|\\}|\\\\)/g;\n var isArray = Array.isArray;\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n\n function 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\n if (!hasOwnProperty.call(params, key)) {\n throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n }\n\n var value = params[key];\n var str = typeof value === \"string\" ? value : \"\" + value;\n\n if (str.length === 0) {\n throw new Error(\"You must provide a param `\" + key + \"`.\");\n }\n\n return str;\n }\n\n var eachChar = [];\n\n eachChar[0\n /* Static */\n ] = function (segment, currentState) {\n var state = currentState;\n var value = segment.value;\n\n for (var i = 0; i < value.length; i++) {\n var ch = value.charCodeAt(i);\n state = state.put(ch, false, false);\n }\n\n return state;\n };\n\n eachChar[1\n /* Dynamic */\n ] = function (_, currentState) {\n return currentState.put(47\n /* SLASH */\n , true, true);\n };\n\n eachChar[2\n /* Star */\n ] = function (_, currentState) {\n return currentState.put(-1\n /* ANY */\n , false, true);\n };\n\n eachChar[4\n /* Epsilon */\n ] = function (_, currentState) {\n return currentState;\n };\n\n var regex = [];\n\n regex[0\n /* Static */\n ] = function (segment) {\n return segment.value.replace(escapeRegex, \"\\\\$1\");\n };\n\n regex[1\n /* Dynamic */\n ] = function () {\n return \"([^/]+)\";\n };\n\n regex[2\n /* Star */\n ] = function () {\n return \"(.+)\";\n };\n\n regex[4\n /* Epsilon */\n ] = function () {\n return \"\";\n };\n\n var generate = [];\n\n generate[0\n /* Static */\n ] = function (segment) {\n return segment.value;\n };\n\n generate[1\n /* Dynamic */\n ] = function (segment, params) {\n var value = getParam(params, segment.value);\n\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n return encodePathSegment(value);\n } else {\n return value;\n }\n };\n\n generate[2\n /* Star */\n ] = function (segment, params) {\n return getParam(params, segment.value);\n };\n\n generate[4\n /* Epsilon */\n ] = function () {\n return \"\";\n };\n\n var EmptyObject = Object.freeze({});\n var EmptyArray = Object.freeze([]); // 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.\n\n function 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\n /* SLASH */\n ) {\n route = route.substr(1);\n }\n\n var parts = route.split(\"/\");\n var names = undefined;\n var shouldDecodes = undefined;\n\n for (var i = 0; i < parts.length; i++) {\n var part = parts[i];\n var flags = 0;\n var type = 0;\n\n if (part === \"\") {\n type = 4\n /* Epsilon */\n ;\n } else if (part.charCodeAt(0) === 58\n /* COLON */\n ) {\n type = 1\n /* Dynamic */\n ;\n } else if (part.charCodeAt(0) === 42\n /* STAR */\n ) {\n type = 2\n /* Star */\n ;\n } else {\n type = 0\n /* Static */\n ;\n }\n\n flags = 2 << type;\n\n if (flags & 12\n /* Named */\n ) {\n part = part.slice(1);\n names = names || [];\n names.push(part);\n shouldDecodes = shouldDecodes || [];\n shouldDecodes.push((flags & 4\n /* Decoded */\n ) !== 0);\n }\n\n if (flags & 14\n /* Counted */\n ) {\n types[type]++;\n }\n\n segments.push({\n type: type,\n value: normalizeSegment(part)\n });\n }\n\n return {\n names: names || EmptyArray,\n shouldDecodes: shouldDecodes || EmptyArray\n };\n }\n\n function isEqualCharSpec(spec, char, negate) {\n return spec.char === char && spec.negate === negate;\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.\n\n\n var 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 };\n\n State.prototype.regex = function regex$1() {\n if (!this._regex) {\n this._regex = new RegExp(this.pattern);\n }\n\n return this._regex;\n };\n\n State.prototype.get = function get(char, negate) {\n var this$1 = this;\n var nextStates = this.nextStates;\n\n if (nextStates === null) {\n return;\n }\n\n if (isArray(nextStates)) {\n for (var i = 0; i < nextStates.length; i++) {\n var child = this$1.states[nextStates[i]];\n\n if (isEqualCharSpec(child, char, negate)) {\n return child;\n }\n }\n } else {\n var child$1 = this.states[nextStates];\n\n if (isEqualCharSpec(child$1, char, negate)) {\n return child$1;\n }\n }\n };\n\n State.prototype.put = function put(char, negate, repeat) {\n var state; // If the character specification already exists in a child of the current\n // state, just return that state.\n\n if (state = this.get(char, negate)) {\n return state;\n } // Make a new state for the character spec\n\n\n var states = this.states;\n state = new State(states, states.length, char, negate, repeat);\n states[states.length] = state; // Insert the new state as a child of the current state\n\n if (this.nextStates == null) {\n this.nextStates = state.id;\n } else if (isArray(this.nextStates)) {\n this.nextStates.push(state.id);\n } else {\n this.nextStates = [this.nextStates, state.id];\n } // Return the new state\n\n\n return state;\n }; // Find a list of child states matching the next character\n\n\n State.prototype.match = function match(ch) {\n var this$1 = this;\n var nextStates = this.nextStates;\n\n if (!nextStates) {\n return [];\n }\n\n var returned = [];\n\n if (isArray(nextStates)) {\n for (var i = 0; i < nextStates.length; i++) {\n var child = this$1.states[nextStates[i]];\n\n if (isMatch(child, ch)) {\n returned.push(child);\n }\n }\n } else {\n var child$1 = this.states[nextStates];\n\n if (isMatch(child$1, ch)) {\n returned.push(child$1);\n }\n }\n\n return returned;\n };\n\n function isMatch(spec, char) {\n return spec.negate ? spec.char !== char && spec.char !== -1\n /* ANY */\n : spec.char === char || spec.char === -1\n /* 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\n\n\n function 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\n if (astars !== bstars) {\n return astars - bstars;\n }\n\n if (astars) {\n if (astatics !== bstatics) {\n return bstatics - astatics;\n }\n\n if (adynamics !== bdynamics) {\n return bdynamics - adynamics;\n }\n }\n\n if (adynamics !== bdynamics) {\n return adynamics - bdynamics;\n }\n\n if (astatics !== bstatics) {\n return bstatics - astatics;\n }\n\n return 0;\n });\n }\n\n function recognizeChar(states, ch) {\n var nextStates = [];\n\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\n return nextStates;\n }\n\n var RecognizeResults = function RecognizeResults(queryParams) {\n this.length = 0;\n this.queryParams = queryParams || {};\n };\n\n RecognizeResults.prototype.splice = Array.prototype.splice;\n RecognizeResults.prototype.slice = Array.prototype.slice;\n RecognizeResults.prototype.push = Array.prototype.push;\n\n function findHandler(state, originalPath, queryParams) {\n var handlers = state.handlers;\n var regex = state.regex();\n\n if (!regex || !handlers) {\n throw new Error(\"state not initialized\");\n }\n\n var captures = originalPath.match(regex);\n var currentCapture = 1;\n var result = new RecognizeResults(queryParams);\n result.length = handlers.length;\n\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\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\n if (params === EmptyObject) {\n params = {};\n }\n\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS && shouldDecodes[j]) {\n params[name] = capture && decodeURIComponent(capture);\n } else {\n params[name] = capture;\n }\n }\n }\n\n result[i] = {\n handler: handler.handler,\n params: params,\n isDynamic: isDynamic\n };\n }\n\n return result;\n }\n\n function 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\n try {\n result = decodeURIComponent(part);\n } catch (error) {\n result = \"\";\n }\n\n return result;\n }\n\n var RouteRecognizer = function RouteRecognizer() {\n this.names = createMap();\n var states = [];\n var state = new State(states, 0, -1\n /* ANY */\n , true, false);\n states[0] = state;\n this.states = states;\n this.rootState = state;\n };\n\n RouteRecognizer.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\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; // preserve j so it points to the start of newly added segments\n\n for (; j < allSegments.length; j++) {\n var segment = allSegments[j];\n\n if (segment.type === 4\n /* Epsilon */\n ) {\n continue;\n }\n\n isEmpty = false; // Add a \"/\" for the new segment\n\n currentState = currentState.put(47\n /* SLASH */\n , false, false);\n pattern += \"/\"; // Add a representation of the segment to the NFA and regex\n\n currentState = eachChar[segment.type](segment, currentState);\n pattern += regex[segment.type](segment);\n }\n\n handlers[i] = {\n handler: route.handler,\n names: names,\n shouldDecodes: shouldDecodes\n };\n }\n\n if (isEmpty) {\n currentState = currentState.put(47\n /* SLASH */\n , false, false);\n pattern += \"/\";\n }\n\n currentState.handlers = handlers;\n currentState.pattern = pattern + \"$\";\n currentState.types = types;\n var name;\n\n if (typeof options === \"object\" && options !== null && options.as) {\n name = options.as;\n }\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 };\n\n RouteRecognizer.prototype.handlersFor = function handlersFor(name) {\n var route = this.names[name];\n\n if (!route) {\n throw new Error(\"There is no route named \" + name);\n }\n\n var result = new Array(route.handlers.length);\n\n for (var i = 0; i < route.handlers.length; i++) {\n var handler = route.handlers[i];\n result[i] = handler;\n }\n\n return result;\n };\n\n RouteRecognizer.prototype.hasRoute = function hasRoute(name) {\n return !!this.names[name];\n };\n\n RouteRecognizer.prototype.generate = function generate$1(name, params) {\n var route = this.names[name];\n var output = \"\";\n\n if (!route) {\n throw new Error(\"There is no route named \" + name);\n }\n\n var segments = route.segments;\n\n for (var i = 0; i < segments.length; i++) {\n var segment = segments[i];\n\n if (segment.type === 4\n /* Epsilon */\n ) {\n continue;\n }\n\n output += \"/\";\n output += generate[segment.type](segment, params);\n }\n\n if (output.charAt(0) !== \"/\") {\n output = \"/\" + output;\n }\n\n if (params && params.queryParams) {\n output += this.generateQueryString(params.queryParams);\n }\n\n return output;\n };\n\n RouteRecognizer.prototype.generateQueryString = function generateQueryString(params) {\n var pairs = [];\n var keys = Object.keys(params);\n keys.sort();\n\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = params[key];\n\n if (value == null) {\n continue;\n }\n\n var pair = encodeURIComponent(key);\n\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 } else {\n pair += \"=\" + encodeURIComponent(value);\n pairs.push(pair);\n }\n }\n\n if (pairs.length === 0) {\n return \"\";\n }\n\n return \"?\" + pairs.join(\"&\");\n };\n\n RouteRecognizer.prototype.parseQueryString = function parseQueryString(queryString) {\n var pairs = queryString.split(\"&\");\n var queryParams = {};\n\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i].split(\"=\"),\n key = decodeQueryParamPart(pair[0]),\n keyLength = key.length,\n isArray = false,\n value = void 0;\n\n if (pair.length === 1) {\n value = \"true\";\n } else {\n // Handle arrays\n if (keyLength > 2 && key.slice(keyLength - 2) === \"[]\") {\n isArray = true;\n key = key.slice(0, keyLength - 2);\n\n if (!queryParams[key]) {\n queryParams[key] = [];\n }\n }\n\n value = pair[1] ? decodeQueryParamPart(pair[1]) : \"\";\n }\n\n if (isArray) {\n queryParams[key].push(value);\n } else {\n queryParams[key] = value;\n }\n }\n\n return queryParams;\n };\n\n RouteRecognizer.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\n if (hashStart !== -1) {\n path = path.substr(0, hashStart);\n }\n\n var queryStart = path.indexOf(\"?\");\n\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\n if (path.charAt(0) !== \"/\") {\n path = \"/\" + path;\n }\n\n var originalPath = path;\n\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n path = normalizePath(path);\n } else {\n path = decodeURI(path);\n originalPath = decodeURI(originalPath);\n }\n\n var pathLen = path.length;\n\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\n for (var i = 0; i < path.length; i++) {\n states = recognizeChar(states, path.charCodeAt(i));\n\n if (!states.length) {\n break;\n }\n }\n\n var solutions = [];\n\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\n states = sortSolutions(solutions);\n var state = solutions[0];\n\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\n results = findHandler(state, originalPath, queryParams);\n }\n\n return results;\n };\n\n RouteRecognizer.VERSION = \"0.3.4\"; // Set to false to opt-out of encoding and decoding path segments.\n // See https://github.com/tildeio/route-recognizer/pull/55\n\n RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS = true;\n RouteRecognizer.Normalizer = {\n normalizeSegment: normalizeSegment,\n normalizePath: normalizePath,\n encodePathSegment: encodePathSegment\n };\n RouteRecognizer.prototype.map = map;\n var _default = RouteRecognizer;\n _exports.default = _default;\n});","define(\"router_js\", [\"exports\", \"@ember/polyfills\", \"rsvp\", \"route-recognizer\"], function (_exports, _polyfills, _rsvp, _routeRecognizer) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.logAbort = logAbort;\n _exports.InternalRouteInfo = _exports.TransitionError = _exports.TransitionState = _exports.QUERY_PARAMS_SYMBOL = _exports.PARAMS_SYMBOL = _exports.STATE_SYMBOL = _exports.InternalTransition = _exports.default = void 0;\n\n var TransitionAbortedError = function () {\n TransitionAbortedError.prototype = Object.create(Error.prototype);\n TransitionAbortedError.prototype.constructor = TransitionAbortedError;\n\n function TransitionAbortedError(message) {\n var error = Error.call(this, message);\n this.name = 'TransitionAborted';\n this.message = message || 'TransitionAborted';\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, TransitionAbortedError);\n } else {\n this.stack = error.stack;\n }\n }\n\n return TransitionAbortedError;\n }();\n\n var slice = Array.prototype.slice;\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n /**\n Determines if an object is Promise by checking if it is \"thenable\".\n **/\n\n function isPromise(p) {\n return p !== null && typeof p === 'object' && typeof p.then === 'function';\n }\n\n function merge(hash, other) {\n for (var 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 **/\n\n\n function extractQueryParams(array) {\n var len = array && array.length,\n head,\n queryParams;\n\n if (len && len > 0) {\n var obj = array[len - 1];\n\n if (isQueryParams(obj)) {\n queryParams = obj.queryParams;\n head = slice.call(array, 0, len - 1);\n return [head, queryParams];\n }\n }\n\n return [array, null];\n }\n\n function isQueryParams(obj) {\n return obj && hasOwnProperty.call(obj, 'queryParams');\n }\n /**\n @private\n \n Coerces query param properties and array elements into strings.\n **/\n\n\n function coerceQueryParamsToString(queryParams) {\n for (var key in queryParams) {\n var val = queryParams[key];\n\n if (typeof val === 'number') {\n queryParams[key] = '' + val;\n } else if (Array.isArray(val)) {\n for (var i = 0, l = val.length; i < l; i++) {\n val[i] = '' + val[i];\n }\n }\n }\n }\n /**\n @private\n */\n\n\n function log(router, ...args) {\n if (!router.log) {\n return;\n }\n\n if (args.length === 2) {\n var [sequence, msg] = args;\n router.log('Transition #' + sequence + ': ' + msg);\n } else {\n var [_msg] = args;\n router.log(_msg);\n }\n }\n\n function isParam(object) {\n return typeof object === 'string' || object instanceof String || typeof object === 'number' || object instanceof Number;\n }\n\n function forEach(array, callback) {\n for (var i = 0, l = array.length; i < l && callback(array[i]) !== false; i++) {// empty intentionally\n }\n }\n\n function getChangelist(oldObject, newObject) {\n var key;\n var results = {\n all: {},\n changed: {},\n removed: {}\n };\n merge(results.all, newObject);\n var didChange = false;\n coerceQueryParamsToString(oldObject);\n coerceQueryParamsToString(newObject); // Calculate removals\n\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 } // Calculate changes\n\n\n for (key in newObject) {\n if (hasOwnProperty.call(newObject, key)) {\n var oldElement = oldObject[key];\n var newElement = newObject[key];\n\n if (isArray(oldElement) && isArray(newElement)) {\n if (oldElement.length !== newElement.length) {\n results.changed[key] = newObject[key];\n didChange = true;\n } else {\n for (var 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 } else if (oldObject[key] !== newObject[key]) {\n results.changed[key] = newObject[key];\n didChange = true;\n }\n }\n }\n\n return didChange ? results : undefined;\n }\n\n function isArray(obj) {\n return Array.isArray(obj);\n }\n\n function promiseLabel(label) {\n return 'Router: ' + label;\n }\n\n var STATE_SYMBOL = `__STATE__-2619860001345920-3322w3`;\n _exports.STATE_SYMBOL = STATE_SYMBOL;\n var PARAMS_SYMBOL = `__PARAMS__-261986232992830203-23323`;\n _exports.PARAMS_SYMBOL = PARAMS_SYMBOL;\n var QUERY_PARAMS_SYMBOL = `__QPS__-2619863929824844-32323`;\n /**\n A Transition is a thennable (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 */\n\n _exports.QUERY_PARAMS_SYMBOL = QUERY_PARAMS_SYMBOL;\n\n class 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[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\n if (error) {\n this.promise = _rsvp.Promise.reject(error);\n this.error = error;\n return;\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\n\n this.isCausedByAbortingTransition = !!previousTransition;\n this.isCausedByInitialTransition = !!previousTransition && (previousTransition.isCausedByInitialTransition || previousTransition.sequence === 0); // Every transition in the chain is a replace\n\n this.isCausedByAbortingReplaceTransition = !!previousTransition && previousTransition.urlMethod === 'replace' && (!previousTransition.isCausedByAbortingTransition || previousTransition.isCausedByAbortingReplaceTransition);\n\n if (state) {\n this[PARAMS_SYMBOL] = state.params;\n this[QUERY_PARAMS_SYMBOL] = state.queryParams;\n this.routeInfos = state.routeInfos;\n var len = state.routeInfos.length;\n\n if (len) {\n this.targetName = state.routeInfos[len - 1].name;\n }\n\n for (var i = 0; i < len; ++i) {\n var handlerInfo = state.routeInfos[i]; // TODO: this all seems hacky\n\n if (!handlerInfo.isResolved) {\n break;\n }\n\n this.pivotHandler = handlerInfo.route;\n }\n\n this.sequence = router.currentSequence++;\n this.promise = state.resolve(() => {\n if (this.isAborted) {\n return _rsvp.Promise.reject(false, promiseLabel('Transition aborted - reject'));\n }\n\n return _rsvp.Promise.resolve(true);\n }, this).catch(result => {\n return _rsvp.Promise.reject(this.router.transitionDidError(result, this));\n }, promiseLabel('Handle Abort'));\n } else {\n this.promise = _rsvp.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 @property promise\n @type {Object}\n @public\n */\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 @property data\n @type {Object}\n @public\n */\n\n /**\n A standard promise hook that resolves if the transition\n succeeds and rejects if it fails/redirects/aborts.\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 @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\n\n then(onFulfilled, onRejected, label) {\n return this.promise.then(onFulfilled, onRejected, label);\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 @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\n\n catch(onRejection, label) {\n return this.promise.catch(onRejection, label);\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 @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\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 @method abort\n @return {Transition} this transition\n @public\n */\n\n\n abort() {\n this.rollback();\n var 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\n rollback() {\n if (!this.isAborted) {\n log(this.router, this.sequence, this.targetName + ': transition was aborted');\n\n if (this.intent !== undefined && this.intent !== null) {\n this.intent.preTransitionState = this.router.state;\n }\n\n this.isAborted = true;\n this.isActive = false;\n this.router.activeTransition = undefined;\n }\n }\n\n redirect(newTransition) {\n this.rollback();\n this.router.routeWillChange(newTransition);\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 @method retry\n @return {Transition} new transition\n @public\n */\n\n\n retry() {\n // TODO: add tests for merged state retry()s\n this.abort();\n var newTransition = this.router.transitionByIntent(this.intent, false); // 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\n if (this.urlMethod !== null) {\n newTransition.method(this.urlMethod);\n }\n\n return newTransition;\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 @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 @return {Transition} this transition\n @public\n */\n\n\n method(method) {\n this.urlMethod = method;\n return this;\n } // Alias 'trigger' as 'send'\n\n\n send(ignoreFailure = false, _name, err, transition, handler) {\n this.trigger(ignoreFailure, _name, err, transition, handler);\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 Note: This method is also aliased as `send`\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\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\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 @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\n\n followRedirects() {\n var router = this.router;\n return this.promise.catch(function (reason) {\n if (router.activeTransition) {\n return router.activeTransition.followRedirects();\n }\n\n return _rsvp.Promise.reject(reason);\n });\n }\n\n toString() {\n return 'Transition (sequence ' + this.sequence + ')';\n }\n /**\n @private\n */\n\n\n log(message) {\n log(this.router, this.sequence, message);\n }\n\n }\n /**\n @private\n \n Logs and returns an instance of TransitionAborted.\n */\n\n\n _exports.InternalTransition = Transition;\n\n function logAbort(transition) {\n log(transition.router, transition.sequence, 'detected abort.');\n return new TransitionAbortedError();\n }\n\n function isTransition(obj) {\n return typeof obj === 'object' && obj instanceof Transition && obj.isTransition;\n }\n\n function prepareResult(obj) {\n if (isTransition(obj)) {\n return null;\n }\n\n return obj;\n }\n\n var ROUTE_INFOS = new WeakMap();\n\n function toReadOnlyRouteInfo(routeInfos, queryParams = {}, includeAttributes = false) {\n return routeInfos.map((info, i) => {\n var {\n name,\n params,\n paramNames,\n context,\n route\n } = info;\n\n if (ROUTE_INFOS.has(info) && includeAttributes) {\n var _routeInfo = ROUTE_INFOS.get(info);\n\n _routeInfo = attachMetadata(route, _routeInfo);\n var routeInfoWithAttribute = createRouteInfoWithAttributes(_routeInfo, context);\n ROUTE_INFOS.set(info, routeInfoWithAttribute);\n return routeInfoWithAttribute;\n }\n\n var routeInfo = {\n find(predicate, thisArg) {\n var publicInfo;\n var arr = [];\n\n if (predicate.length === 3) {\n arr = routeInfos.map(info => ROUTE_INFOS.get(info));\n }\n\n for (var _i = 0; routeInfos.length > _i; _i++) {\n publicInfo = ROUTE_INFOS.get(routeInfos[_i]);\n\n if (predicate.call(thisArg, publicInfo, _i, arr)) {\n return publicInfo;\n }\n }\n\n return undefined;\n },\n\n get name() {\n return name;\n },\n\n get paramNames() {\n return paramNames;\n },\n\n get metadata() {\n return buildRouteInfoMetadata(info.route);\n },\n\n get parent() {\n var parent = routeInfos[i - 1];\n\n if (parent === undefined) {\n return null;\n }\n\n return ROUTE_INFOS.get(parent);\n },\n\n get child() {\n var child = routeInfos[i + 1];\n\n if (child === undefined) {\n return null;\n }\n\n return ROUTE_INFOS.get(child);\n },\n\n get localName() {\n var parts = this.name.split('.');\n return parts[parts.length - 1];\n },\n\n get params() {\n return params;\n },\n\n get queryParams() {\n return queryParams;\n }\n\n };\n\n if (includeAttributes) {\n routeInfo = createRouteInfoWithAttributes(routeInfo, context);\n }\n\n ROUTE_INFOS.set(info, routeInfo);\n return routeInfo;\n });\n }\n\n function createRouteInfoWithAttributes(routeInfo, context) {\n var attributes = {\n get attributes() {\n return context;\n }\n\n };\n\n if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('attributes')) {\n return Object.freeze((0, _polyfills.assign)({}, routeInfo, attributes));\n }\n\n return (0, _polyfills.assign)(routeInfo, attributes);\n }\n\n function buildRouteInfoMetadata(route) {\n if (route !== undefined && route !== null && route.buildRouteInfoMetadata !== undefined) {\n return route.buildRouteInfoMetadata();\n }\n\n return null;\n }\n\n function attachMetadata(route, routeInfo) {\n var metadata = {\n get metadata() {\n return buildRouteInfoMetadata(route);\n }\n\n };\n\n if (!Object.isExtensible(routeInfo) || routeInfo.hasOwnProperty('metadata')) {\n return Object.freeze((0, _polyfills.assign)({}, routeInfo, metadata));\n }\n\n return (0, _polyfills.assign)(routeInfo, metadata);\n }\n\n class 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\n if (route) {\n this._processRoute(route);\n }\n }\n\n getModel(_transition) {\n return _rsvp.Promise.resolve(this.context);\n }\n\n serialize(_context) {\n return this.params || {};\n }\n\n resolve(shouldContinue, transition) {\n return _rsvp.Promise.resolve(this.routePromise).then(route => this.checkForAbort(shouldContinue, route)).then(() => this.runBeforeModelHook(transition)).then(() => this.checkForAbort(shouldContinue, null)).then(() => this.getModel(transition)).then(resolvedModel => this.checkForAbort(shouldContinue, resolvedModel)).then(resolvedModel => this.runAfterModelHook(transition, resolvedModel)).then(resolvedModel => this.becomeResolved(transition, resolvedModel));\n }\n\n becomeResolved(transition, resolvedContext) {\n var params = this.serialize(resolvedContext);\n\n if (transition) {\n this.stashResolvedModel(transition, resolvedContext);\n transition[PARAMS_SYMBOL] = transition[PARAMS_SYMBOL] || {};\n transition[PARAMS_SYMBOL][this.name] = params;\n }\n\n var context;\n var contextsMatch = resolvedContext === this.context;\n\n if ('context' in this || !contextsMatch) {\n context = resolvedContext;\n }\n\n var cached = ROUTE_INFOS.get(this);\n var resolved = new ResolvedRouteInfo(this.router, this.name, this.paramNames, params, this.route, context);\n\n if (cached !== undefined) {\n ROUTE_INFOS.set(resolved, cached);\n }\n\n return resolved;\n }\n\n shouldSupercede(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\n var contextsMatch = routeInfo.context === this.context;\n return routeInfo.name !== this.name || 'context' in this && !contextsMatch || this.hasOwnProperty('params') && !paramsMatch(this.params, routeInfo.params);\n }\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\n return this.fetchRoute();\n }\n\n set route(route) {\n this._route = route;\n }\n\n get routePromise() {\n if (this._routePromise) {\n return this._routePromise;\n }\n\n this.fetchRoute();\n return this._routePromise;\n }\n\n set routePromise(routePromise) {\n this._routePromise = routePromise;\n }\n\n log(transition, message) {\n if (transition.log) {\n transition.log(this.name + ': ' + message);\n }\n }\n\n updateRoute(route) {\n route._internalName = this.name;\n return this.route = route;\n }\n\n runBeforeModelHook(transition) {\n if (transition.trigger) {\n transition.trigger(true, 'willResolveModel', transition, this.route);\n }\n\n var result;\n\n if (this.route) {\n if (this.route.beforeModel !== undefined) {\n result = this.route.beforeModel(transition);\n }\n }\n\n if (isTransition(result)) {\n result = null;\n }\n\n return _rsvp.Promise.resolve(result);\n }\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 var name = this.name;\n this.stashResolvedModel(transition, resolvedModel);\n var result;\n\n if (this.route !== undefined) {\n if (this.route.afterModel !== undefined) {\n result = this.route.afterModel(resolvedModel, transition);\n }\n }\n\n result = prepareResult(result);\n return _rsvp.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 return transition.resolvedModels[name];\n });\n }\n\n checkForAbort(shouldContinue, value) {\n return _rsvp.Promise.resolve(shouldContinue()).then(function () {\n // We don't care about shouldContinue's resolve value;\n // pass along the original value passed to this fn.\n return value;\n }, null);\n }\n\n stashResolvedModel(transition, resolvedModel) {\n transition.resolvedModels = transition.resolvedModels || {};\n transition.resolvedModels[this.name] = resolvedModel;\n }\n\n fetchRoute() {\n var route = this.router.getRoute(this.name);\n return this._processRoute(route);\n }\n\n _processRoute(route) {\n // Setup a routePromise so that we can wait for asynchronously loaded routes\n this.routePromise = _rsvp.Promise.resolve(route); // Wait until the 'route' property has been updated when chaining to a route\n // that is a promise\n\n if (isPromise(route)) {\n this.routePromise = this.routePromise.then(r => {\n return this.updateRoute(r);\n }); // set to undefined to avoid recursive loop in the route getter\n\n return this.route = undefined;\n } else if (route) {\n return this.updateRoute(route);\n }\n\n return undefined;\n }\n\n }\n\n _exports.InternalRouteInfo = InternalRouteInfo;\n\n class 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\n resolve(_shouldContinue, transition) {\n // A ResolvedRouteInfo just resolved with itself.\n if (transition && transition.resolvedModels) {\n transition.resolvedModels[this.name] = this.context;\n }\n\n return _rsvp.Promise.resolve(this);\n }\n\n }\n\n class UnresolvedRouteInfoByParam extends InternalRouteInfo {\n constructor(router, name, paramNames, params, route) {\n super(router, name, paramNames, route);\n this.params = {};\n this.params = params;\n }\n\n getModel(transition) {\n var fullParams = this.params;\n\n if (transition && transition[QUERY_PARAMS_SYMBOL]) {\n fullParams = {};\n merge(fullParams, this.params);\n fullParams.queryParams = transition[QUERY_PARAMS_SYMBOL];\n }\n\n var route = this.route;\n var result = undefined;\n\n if (route.deserialize) {\n result = route.deserialize(fullParams, transition);\n } else if (route.model) {\n result = route.model(fullParams, transition);\n }\n\n if (result && isTransition(result)) {\n result = undefined;\n }\n\n return _rsvp.Promise.resolve(result);\n }\n\n }\n\n class 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\n getModel(transition) {\n if (this.router.log !== undefined) {\n this.router.log(this.name + ': resolving provided model');\n }\n\n return super.getModel(transition);\n }\n /**\n @private\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 @param {Object} model the model to be serialized for this route\n */\n\n\n serialize(model) {\n var {\n paramNames,\n context\n } = this;\n\n if (!model) {\n model = context;\n }\n\n var object = {};\n\n if (isParam(model)) {\n object[paramNames[0]] = model;\n return object;\n } // Use custom serialize if it exists.\n\n\n if (this.serializer) {\n // invoke this.serializer unbound (getSerializer returns a stateless function)\n return this.serializer.call(null, model, paramNames);\n } else if (this.route !== undefined) {\n if (this.route.serialize) {\n return this.route.serialize(model, paramNames);\n }\n }\n\n if (paramNames.length !== 1) {\n return;\n }\n\n var name = paramNames[0];\n\n if (/_id$/.test(name)) {\n object[name] = model.id;\n } else {\n object[name] = model;\n }\n\n return object;\n }\n\n }\n\n function paramsMatch(a, b) {\n if (!a !== !b) {\n // Only one is null.\n return false;\n }\n\n if (!a) {\n // Both must be null.\n return true;\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\n\n for (var k in a) {\n if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n return false;\n }\n }\n\n return true;\n }\n\n class TransitionIntent {\n constructor(router, data = {}) {\n this.router = router;\n this.data = data;\n }\n\n }\n\n class TransitionState {\n constructor() {\n this.routeInfos = [];\n this.queryParams = {};\n this.params = {};\n }\n\n promiseLabel(label) {\n var targetName = '';\n forEach(this.routeInfos, function (routeInfo) {\n if (targetName !== '') {\n targetName += '.';\n }\n\n targetName += routeInfo.name;\n return true;\n });\n return promiseLabel(\"'\" + targetName + \"': \" + label);\n }\n\n resolve(shouldContinue, transition) {\n // First, calculate params for this state. This is useful\n // information to provide to the various route hooks.\n var params = this.params;\n forEach(this.routeInfos, routeInfo => {\n params[routeInfo.name] = routeInfo.params || {};\n return true;\n });\n transition.resolveIndex = 0;\n var currentState = this;\n var wasAborted = false; // The prelude RSVP.resolve() asyncs us into the promise land.\n\n return _rsvp.Promise.resolve(null, this.promiseLabel('Start transition')).then(resolveOneRouteInfo, null, this.promiseLabel('Resolve route')).catch(handleError, this.promiseLabel('Handle error'));\n\n function innerShouldContinue() {\n return _rsvp.Promise.resolve(shouldContinue(), currentState.promiseLabel('Check if should continue')).catch(function (reason) {\n // We distinguish between errors that occurred\n // during resolution (e.g. before\"Model/model/afterModel),\n // and aborts due to a rejecting promise from shouldContinue().\n wasAborted = true;\n return _rsvp.Promise.reject(reason);\n }, currentState.promiseLabel('Handle abort'));\n }\n\n function handleError(error) {\n // This is the only possible\n // reject value of TransitionState#resolve\n var routeInfos = currentState.routeInfos;\n var errorHandlerIndex = transition.resolveIndex >= routeInfos.length ? routeInfos.length - 1 : transition.resolveIndex;\n return _rsvp.Promise.reject(new TransitionError(error, currentState.routeInfos[errorHandlerIndex].route, wasAborted, currentState));\n }\n\n function proceed(resolvedRouteInfo) {\n var wasAlreadyResolved = currentState.routeInfos[transition.resolveIndex].isResolved; // Swap the previously unresolved routeInfo with\n // the resolved routeInfo\n\n currentState.routeInfos[transition.resolveIndex++] = resolvedRouteInfo;\n\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 var {\n route\n } = resolvedRouteInfo;\n\n if (route !== undefined) {\n if (route.redirect) {\n route.redirect(resolvedRouteInfo.context, transition);\n }\n }\n } // Proceed after ensuring that the redirect hook\n // didn't abort this transition by transitioning elsewhere.\n\n\n return innerShouldContinue().then(resolveOneRouteInfo, null, currentState.promiseLabel('Resolve route'));\n }\n\n function resolveOneRouteInfo() {\n if (transition.resolveIndex === currentState.routeInfos.length) {\n // This is is the only possible\n // fulfill value of TransitionState#resolve\n return currentState;\n }\n\n var routeInfo = currentState.routeInfos[transition.resolveIndex];\n return routeInfo.resolve(innerShouldContinue, transition).then(proceed, null, currentState.promiseLabel('Proceed'));\n }\n }\n\n }\n\n _exports.TransitionState = TransitionState;\n\n class 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 }\n\n _exports.TransitionError = TransitionError;\n\n class 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\n applyToState(oldState, isIntermediate) {\n // TODO: WTF fix me\n var partitionedArgs = extractQueryParams([this.name].concat(this.contexts)),\n pureArgs = partitionedArgs[0],\n handlers = this.router.recognizer.handlersFor(pureArgs[0]);\n var targetRouteName = handlers[handlers.length - 1].handler;\n return this.applyToHandlers(oldState, handlers, targetRouteName, isIntermediate, false);\n }\n\n applyToHandlers(oldState, parsedHandlers, targetRouteName, isIntermediate, checkingIfActive) {\n var i, len;\n var newState = new TransitionState();\n var objects = this.contexts.slice(0);\n var invalidateIndex = parsedHandlers.length; // Pivot handlers are provided for refresh transitions\n\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\n for (i = parsedHandlers.length - 1; i >= 0; --i) {\n var result = parsedHandlers[i];\n var name = result.handler;\n var oldHandlerInfo = oldState.routeInfos[i];\n var newHandlerInfo = null;\n\n if (result.names.length > 0) {\n if (i >= invalidateIndex) {\n newHandlerInfo = this.createParamHandlerInfo(name, result.names, objects, oldHandlerInfo);\n } else {\n newHandlerInfo = this.getHandlerInfoForDynamicSegment(name, result.names, objects, oldHandlerInfo, targetRouteName, i);\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\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, newHandlerInfo.context);\n var oldContext = oldHandlerInfo && oldHandlerInfo.context;\n\n if (result.names.length > 0 && oldHandlerInfo.context !== undefined && 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\n newHandlerInfo.context = oldContext;\n }\n\n var handlerToUse = oldHandlerInfo;\n\n if (i >= invalidateIndex || newHandlerInfo.shouldSupercede(oldHandlerInfo)) {\n invalidateIndex = Math.min(i, invalidateIndex);\n handlerToUse = newHandlerInfo;\n }\n\n if (isIntermediate && !checkingIfActive) {\n handlerToUse = handlerToUse.becomeResolved(null, handlerToUse.context);\n }\n\n newState.routeInfos.unshift(handlerToUse);\n }\n\n if (objects.length > 0) {\n throw new Error('More context objects were passed than there are dynamic segments for the route: ' + targetRouteName);\n }\n\n if (!isIntermediate) {\n this.invalidateChildren(newState.routeInfos, invalidateIndex);\n }\n\n merge(newState.queryParams, this.queryParams || {});\n return newState;\n }\n\n invalidateChildren(handlerInfos, invalidateIndex) {\n for (var i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n var handlerInfo = handlerInfos[i];\n\n if (handlerInfo.isResolved) {\n var {\n name,\n params,\n route,\n paramNames\n } = handlerInfos[i];\n handlerInfos[i] = new UnresolvedRouteInfoByParam(this.router, name, paramNames, params, route);\n }\n }\n }\n\n getHandlerInfoForDynamicSegment(name, names, objects, oldHandlerInfo, _targetRouteName, i) {\n var objectToUse;\n\n if (objects.length > 0) {\n // Use the objects provided for this transition.\n objectToUse = objects[objects.length - 1];\n\n if (isParam(objectToUse)) {\n return this.createParamHandlerInfo(name, names, objects, oldHandlerInfo);\n } else {\n objects.pop();\n }\n } else if (oldHandlerInfo && oldHandlerInfo.name === name) {\n // Reuse the matching oldHandlerInfo\n return oldHandlerInfo;\n } else {\n if (this.preTransitionState) {\n var preTransitionHandlerInfo = this.preTransitionState.routeInfos[i];\n objectToUse = preTransitionHandlerInfo && preTransitionHandlerInfo.context;\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\n return new UnresolvedRouteInfoByObject(this.router, name, names, objectToUse);\n }\n\n createParamHandlerInfo(name, names, objects, oldHandlerInfo) {\n var params = {}; // Soak up all the provided string/numbers\n\n var numNames = names.length;\n var missingParams = [];\n\n while (numNames--) {\n // Only use old params if the names match with the new handler\n var oldParams = oldHandlerInfo && name === oldHandlerInfo.name && oldHandlerInfo.params || {};\n var peek = objects[objects.length - 1];\n var paramName = names[numNames];\n\n if (isParam(peek)) {\n params[paramName] = '' + objects.pop();\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 } else {\n missingParams.push(paramName);\n }\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}.` + ` Missing params: ${missingParams}`);\n }\n\n return new UnresolvedRouteInfoByParam(this.router, name, names, params);\n }\n\n }\n\n var UnrecognizedURLError = function () {\n UnrecognizedURLError.prototype = Object.create(Error.prototype);\n UnrecognizedURLError.prototype.constructor = UnrecognizedURLError;\n\n function UnrecognizedURLError(message) {\n var error = Error.call(this, message);\n this.name = 'UnrecognizedURLError';\n this.message = message || 'UnrecognizedURL';\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, UnrecognizedURLError);\n } else {\n this.stack = error.stack;\n }\n }\n\n return UnrecognizedURLError;\n }();\n\n class URLTransitionIntent extends TransitionIntent {\n constructor(router, url, data) {\n super(router, data);\n this.url = url;\n this.preTransitionState = undefined;\n }\n\n applyToState(oldState) {\n var newState = new TransitionState();\n var results = this.router.recognizer.recognize(this.url),\n i,\n len;\n\n if (!results) {\n throw new UnrecognizedURLError(this.url);\n }\n\n var statesDiffer = false;\n var _url = this.url; // 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\n function checkHandlerAccessibility(handler) {\n if (handler && handler.inaccessibleByURL) {\n throw new UnrecognizedURLError(_url);\n }\n\n return handler;\n }\n\n for (i = 0, len = results.length; i < len; ++i) {\n var result = results[i];\n var name = result.handler;\n var paramNames = [];\n\n if (this.router.recognizer.hasRoute(name)) {\n paramNames = this.router.recognizer.handlersFor(name)[i].names;\n }\n\n var newRouteInfo = new UnresolvedRouteInfoByParam(this.router, name, paramNames, result.params);\n var route = newRouteInfo.route;\n\n if (route) {\n checkHandlerAccessibility(route);\n } else {\n // If the hanlder is being loaded asynchronously, check if we can\n // access it after it has resolved\n newRouteInfo.routePromise = newRouteInfo.routePromise.then(checkHandlerAccessibility);\n }\n\n var oldRouteInfo = oldState.routeInfos[i];\n\n if (statesDiffer || newRouteInfo.shouldSupercede(oldRouteInfo)) {\n statesDiffer = true;\n newState.routeInfos[i] = newRouteInfo;\n } else {\n newState.routeInfos[i] = oldRouteInfo;\n }\n }\n\n merge(newState.queryParams, results.queryParams);\n return newState;\n }\n\n }\n\n class 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.default();\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 This method extracts the String handler at the last `.to()`\n call and uses it as the name of the whole route.\n @param {Function} callback\n */\n\n\n map(callback) {\n this.recognizer.map(callback, function (recognizer, routes) {\n for (var i = routes.length - 1, proceed = true; i >= 0 && proceed; --i) {\n var route = routes[i];\n var handler = route.handler;\n recognizer.add(routes, {\n as: handler\n });\n proceed = route.path === '/' || route.path === '' || handler.slice(-6) === '.index';\n }\n });\n }\n\n hasRoute(route) {\n return this.recognizer.hasRoute(route);\n }\n\n queryParamsTransition(changelist, wasTransitioning, oldState, newState) {\n this.fireQueryParamDidChange(newState, changelist);\n\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 } 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 var 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\n this.didTransition(this.currentRouteInfos);\n this.toInfos(newTransition, newState.routeInfos, true);\n this.routeDidChange(newTransition);\n }\n\n return result;\n }, null, promiseLabel('Transition complete'));\n return newTransition;\n }\n }\n\n transitionByIntent(intent, isIntermediate) {\n try {\n return this.getTransitionByIntent(intent, isIntermediate);\n } catch (e) {\n return new Transition(this, intent, undefined, e, undefined);\n }\n }\n\n recognize(url) {\n var intent = new URLTransitionIntent(this, url);\n var newState = this.generateNewState(intent);\n\n if (newState === null) {\n return newState;\n }\n\n var readonlyInfos = toReadOnlyRouteInfo(newState.routeInfos, newState.queryParams);\n return readonlyInfos[readonlyInfos.length - 1];\n }\n\n recognizeAndLoad(url) {\n var intent = new URLTransitionIntent(this, url);\n var newState = this.generateNewState(intent);\n\n if (newState === null) {\n return _rsvp.Promise.reject(`URL ${url} was not recognized`);\n }\n\n var newTransition = new Transition(this, intent, newState, undefined);\n return newTransition.then(() => {\n var routeInfosWithAttributes = toReadOnlyRouteInfo(newState.routeInfos, newTransition[QUERY_PARAMS_SYMBOL], true);\n return routeInfosWithAttributes[routeInfosWithAttributes.length - 1];\n });\n }\n\n generateNewState(intent) {\n try {\n return intent.applyToState(this.state, false);\n } catch (e) {\n return null;\n }\n }\n\n getTransitionByIntent(intent, isIntermediate) {\n var wasTransitioning = !!this.activeTransition;\n var oldState = wasTransitioning ? this.activeTransition[STATE_SYMBOL] : this.state;\n var newTransition;\n var newState = intent.applyToState(oldState, isIntermediate);\n var queryParamChangelist = getChangelist(oldState.queryParams, newState.queryParams);\n\n if (routeInfosEqual(newState.routeInfos, oldState.routeInfos)) {\n // This is a no-op transition. See if query params changed.\n if (queryParamChangelist) {\n var _newTransition = this.queryParamsTransition(queryParamChangelist, wasTransitioning, oldState, newState);\n\n _newTransition.queryParamsOnly = true;\n return _newTransition;\n } // No-op. No need to create a new transition.\n\n\n return this.activeTransition || new Transition(this, undefined, undefined);\n }\n\n if (isIntermediate) {\n var transition = new Transition(this, undefined, undefined);\n this.toReadOnlyInfos(transition, newState);\n this.setupContexts(newState);\n this.routeWillChange(transition);\n return this.activeTransition;\n } // Create a new transition to the destination route.\n\n\n newTransition = new Transition(this, intent, newState, undefined, this.activeTransition); // transition is to same route with same params, only query params differ.\n // not caught above probably because refresh() has been used\n\n if (routeInfosSameExceptQueryParams(newState.routeInfos, oldState.routeInfos)) {\n newTransition.queryParamsOnly = true;\n }\n\n this.toReadOnlyInfos(newTransition, newState); // Abort and usurp any previously active transition.\n\n if (this.activeTransition) {\n this.activeTransition.redirect(newTransition);\n }\n\n this.activeTransition = newTransition; // 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\n newTransition.promise = newTransition.promise.then(result => {\n return this.finalizeTransition(newTransition, result);\n }, null, promiseLabel('Settle transition promise when transition is finalized'));\n\n if (!wasTransitioning) {\n this.notifyExistingHandlers(newState, newTransition);\n }\n\n this.fireQueryParamDidChange(newState, queryParamChangelist);\n return newTransition;\n }\n /**\n @private\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 @param {Router} router\n @param {Array[Object]} args arguments passed to transitionTo,\n replaceWith, or handleURL\n */\n\n\n doTransition(name, modelsArray = [], isIntermediate = false) {\n var lastArg = modelsArray[modelsArray.length - 1];\n var queryParams = {};\n\n if (lastArg !== undefined && lastArg.hasOwnProperty('queryParams')) {\n queryParams = modelsArray.pop().queryParams;\n }\n\n var intent;\n\n if (name === undefined) {\n log(this, 'Updating query params'); // A query param update is really just a transition\n // into the route you're already on.\n\n var {\n routeInfos\n } = this.state;\n intent = new NamedTransitionIntent(this, routeInfos[routeInfos.length - 1].name, undefined, [], queryParams);\n } else if (name.charAt(0) === '/') {\n log(this, 'Attempting URL transition to ' + name);\n intent = new URLTransitionIntent(this, name);\n } else {\n log(this, 'Attempting transition to ' + name);\n intent = new NamedTransitionIntent(this, name, undefined, modelsArray, queryParams);\n }\n\n return this.transitionByIntent(intent, isIntermediate);\n }\n /**\n @private\n Updates the URL (if necessary) and calls `setupContexts`\n to update the router's array of `currentRouteInfos`.\n */\n\n\n finalizeTransition(transition, newState) {\n try {\n log(transition.router, transition.sequence, 'Resolved all models on destination route; finalizing transition.');\n var routeInfos = newState.routeInfos; // Run all the necessary enter/setup/exit hooks\n\n this.setupContexts(newState, transition); // Check if a redirect occurred in enter/setup\n\n if (transition.isAborted) {\n // TODO: cleaner way? distinguish b/w targetRouteInfos?\n this.state.routeInfos = this.currentRouteInfos;\n return _rsvp.Promise.reject(logAbort(transition));\n }\n\n this._updateURL(transition, newState);\n\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.'); // Resolve with the final route.\n\n return routeInfos[routeInfos.length - 1].route;\n } catch (e) {\n if (!(e instanceof TransitionAbortedError)) {\n var infos = transition[STATE_SYMBOL].routeInfos;\n transition.trigger(true, 'error', e, transition, infos[infos.length - 1].route);\n transition.abort();\n }\n\n throw e;\n }\n }\n /**\n @private\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 For example, consider the following tree of routes. Each route is\n followed by the URL segment it handles.\n ```\n |~index (\"/\")\n | |~posts (\"/posts\")\n | | |-showPost (\"/:id\")\n | | |-newPost (\"/new\")\n | | |-editPost (\"/edit\")\n | |~about (\"/about/:id\")\n ```\n Consider the following transitions:\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 @param {Router} transition\n @param {TransitionState} newState\n */\n\n\n setupContexts(newState, transition) {\n var partition = this.partitionRoutes(this.state, newState);\n var i, l, route;\n\n for (i = 0, l = partition.exited.length; i < l; i++) {\n route = partition.exited[i].route;\n delete route.context;\n\n if (route !== undefined) {\n if (route._internalReset !== undefined) {\n route._internalReset(true, transition);\n }\n\n if (route.exit !== undefined) {\n route.exit(transition);\n }\n }\n }\n\n var oldState = this.oldState = this.state;\n this.state = newState;\n var currentRouteInfos = this.currentRouteInfos = partition.unchanged.slice();\n\n try {\n for (i = 0, l = partition.reset.length; i < l; i++) {\n route = partition.reset[i].route;\n\n if (route !== undefined) {\n if (route._internalReset !== undefined) {\n route._internalReset(false, transition);\n }\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\n for (i = 0, l = partition.entered.length; i < l; i++) {\n this.routeEnteredOrUpdated(currentRouteInfos, partition.entered[i], true, transition);\n }\n } catch (e) {\n this.state = oldState;\n this.currentRouteInfos = oldState.routeInfos;\n throw e;\n }\n\n this.state.queryParams = this.finalizeQueryParamChange(currentRouteInfos, newState.queryParams, transition);\n }\n /**\n @private\n Fires queryParamsDidChange event\n */\n\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', [queryParamChangelist.changed, queryParamChangelist.all, queryParamChangelist.removed]);\n this._changedQueryParams = undefined;\n }\n }\n /**\n @private\n Helper method used by setupContexts. Handles errors or redirects\n that may happen in enter/setup.\n */\n\n\n routeEnteredOrUpdated(currentRouteInfos, routeInfo, enter, transition) {\n var route = routeInfo.route,\n context = routeInfo.context;\n\n function _routeEnteredOrUpdated(route) {\n if (enter) {\n if (route.enter !== undefined) {\n route.enter(transition);\n }\n }\n\n if (transition && transition.isAborted) {\n throw new TransitionAbortedError();\n }\n\n route.context = context;\n\n if (route.contextDidChange !== undefined) {\n route.contextDidChange();\n }\n\n if (route.setup !== undefined) {\n route.setup(context, transition);\n }\n\n if (transition && transition.isAborted) {\n throw new TransitionAbortedError();\n }\n\n currentRouteInfos.push(routeInfo);\n return route;\n } // If the route doesn't exist, it means we haven't resolved the route promise yet\n\n\n if (route === undefined) {\n routeInfo.routePromise = routeInfo.routePromise.then(_routeEnteredOrUpdated);\n } else {\n _routeEnteredOrUpdated(route);\n }\n\n return true;\n }\n /**\n @private\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 Take a list of old routes and new routes and partition\n them into four buckets:\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 The PartitionedRoutes structure has four fields:\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 @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 @return {Partition}\n */\n\n\n partitionRoutes(oldState, newState) {\n var oldRouteInfos = oldState.routeInfos;\n var newRouteInfos = newState.routeInfos;\n var routes = {\n updatedContext: [],\n exited: [],\n entered: [],\n unchanged: [],\n reset: []\n };\n var routeChanged,\n contextChanged = false,\n i,\n l;\n\n for (i = 0, l = newRouteInfos.length; i < l; i++) {\n var oldRouteInfo = oldRouteInfos[i],\n newRouteInfo = newRouteInfos[i];\n\n if (!oldRouteInfo || oldRouteInfo.route !== newRouteInfo.route) {\n routeChanged = true;\n }\n\n if (routeChanged) {\n routes.entered.push(newRouteInfo);\n\n if (oldRouteInfo) {\n routes.exited.unshift(oldRouteInfo);\n }\n } else if (contextChanged || oldRouteInfo.context !== newRouteInfo.context) {\n contextChanged = true;\n routes.updatedContext.push(newRouteInfo);\n } else {\n routes.unchanged.push(oldRouteInfo);\n }\n }\n\n for (i = newRouteInfos.length, l = oldRouteInfos.length; i < l; i++) {\n routes.exited.unshift(oldRouteInfos[i]);\n }\n\n routes.reset = routes.updatedContext.slice();\n routes.reset.reverse();\n return routes;\n }\n\n _updateURL(transition, state) {\n var urlMethod = transition.urlMethod;\n\n if (!urlMethod) {\n return;\n }\n\n var {\n routeInfos\n } = state;\n var {\n name: routeName\n } = routeInfos[routeInfos.length - 1];\n var params = {};\n\n for (var i = routeInfos.length - 1; i >= 0; --i) {\n var routeInfo = routeInfos[i];\n merge(params, routeInfo.params);\n\n if (routeInfo.route.inaccessibleByURL) {\n urlMethod = null;\n }\n }\n\n if (urlMethod) {\n params.queryParams = transition._visibleQueryParams || state.queryParams;\n var url = this.recognizer.generate(routeName, params); // 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\n var initial = transition.isCausedByInitialTransition; // 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\n var replaceAndNotAborting = urlMethod === 'replace' && !transition.isCausedByAbortingTransition; // 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\n var isQueryParamsRefreshTransition = transition.queryParamsOnly && urlMethod === 'replace'; // 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\n var replacingReplace = urlMethod === 'replace' && transition.isCausedByAbortingReplaceTransition;\n\n if (initial || replaceAndNotAborting || isQueryParamsRefreshTransition || replacingReplace) {\n this.replaceURL(url);\n } else {\n this.updateURL(url);\n }\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 (var k in newQueryParams) {\n if (newQueryParams.hasOwnProperty(k) && newQueryParams[k] === null) {\n delete newQueryParams[k];\n }\n }\n\n var finalQueryParamsArray = [];\n this.triggerEvent(resolvedHandlers, true, 'finalizeQueryParamChange', [newQueryParams, finalQueryParamsArray, transition]);\n\n if (transition) {\n transition._visibleQueryParams = {};\n }\n\n var finalQueryParams = {};\n\n for (var i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n var qp = finalQueryParamsArray[i];\n finalQueryParams[qp.key] = qp.value;\n\n if (transition && qp.visible !== false) {\n transition._visibleQueryParams[qp.key] = qp.value;\n }\n }\n\n return finalQueryParams;\n }\n\n toReadOnlyInfos(newTransition, newState) {\n var oldRouteInfos = this.state.routeInfos;\n this.fromInfos(newTransition, oldRouteInfos);\n this.toInfos(newTransition, newState.routeInfos);\n this._lastQueryParams = newState.queryParams;\n }\n\n fromInfos(newTransition, oldRouteInfos) {\n if (newTransition !== undefined && oldRouteInfos.length > 0) {\n var fromInfos = toReadOnlyRouteInfo(oldRouteInfos, (0, _polyfills.assign)({}, this._lastQueryParams), true);\n newTransition.from = fromInfos[fromInfos.length - 1] || null;\n }\n }\n\n toInfos(newTransition, newRouteInfos, includeAttributes = false) {\n if (newTransition !== undefined && newRouteInfos.length > 0) {\n var toInfos = toReadOnlyRouteInfo(newRouteInfos, (0, _polyfills.assign)({}, newTransition[QUERY_PARAMS_SYMBOL]), includeAttributes);\n newTransition.to = toInfos[toInfos.length - 1] || null;\n }\n }\n\n notifyExistingHandlers(newState, newTransition) {\n var oldRouteInfos = this.state.routeInfos,\n i,\n oldRouteInfoLen,\n oldHandler,\n newRouteInfo;\n oldRouteInfoLen = oldRouteInfos.length;\n\n for (i = 0; i < oldRouteInfoLen; i++) {\n oldHandler = oldRouteInfos[i];\n newRouteInfo = newState.routeInfos[i];\n\n if (!newRouteInfo || oldHandler.name !== newRouteInfo.name) {\n break;\n }\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\n\n reset() {\n if (this.state) {\n forEach(this.state.routeInfos.slice().reverse(), function (routeInfo) {\n var route = routeInfo.route;\n\n if (route !== undefined) {\n if (route.exit !== undefined) {\n route.exit();\n }\n }\n\n return true;\n });\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 Returns an Array of handlers and the parameters associated\n with those parameters.\n @param {String} url a URL to process\n @return {Array} an Array of `[handler, parameter]` tuples\n */\n\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\n return this.doTransition(url).method(null);\n }\n /**\n Transition into the specified named route.\n If necessary, trigger the exit callback on any routes\n that are no longer represented by the target route.\n @param {String} name the name of the route\n */\n\n\n transitionTo(name, ...contexts) {\n if (typeof name === 'object') {\n contexts.push(name);\n return this.doTransition(undefined, contexts, false);\n }\n\n return this.doTransition(name, contexts);\n }\n\n intermediateTransitionTo(name, ...args) {\n return this.doTransition(name, args, true);\n }\n\n refresh(pivotRoute) {\n var previousTransition = this.activeTransition;\n var state = previousTransition ? previousTransition[STATE_SYMBOL] : this.state;\n var routeInfos = state.routeInfos;\n\n if (pivotRoute === undefined) {\n pivotRoute = routeInfos[0].route;\n }\n\n log(this, 'Starting a refresh transition');\n var name = routeInfos[routeInfos.length - 1].name;\n var intent = new NamedTransitionIntent(this, name, pivotRoute, [], this._changedQueryParams || state.queryParams);\n var newTransition = this.transitionByIntent(intent, false); // if the previous transition is a replace transition, that needs to be preserved\n\n if (previousTransition && previousTransition.urlMethod === 'replace') {\n newTransition.method(previousTransition.urlMethod);\n }\n\n return newTransition;\n }\n /**\n Identical to `transitionTo` except that the current URL will be replaced\n if possible.\n This method is intended primarily for use with `replaceState`.\n @param {String} name the name of the route\n */\n\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 @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 @return {String} a URL\n */\n\n\n generate(routeName, ...args) {\n var partitionedArgs = extractQueryParams(args),\n suppliedParams = partitionedArgs[0],\n queryParams = partitionedArgs[1]; // Construct a TransitionIntent with the provided params\n // and apply it to the present state of the router.\n\n var intent = new NamedTransitionIntent(this, routeName, undefined, suppliedParams);\n var state = intent.applyToState(this.state, false);\n var params = {};\n\n for (var i = 0, len = state.routeInfos.length; i < len; ++i) {\n var routeInfo = state.routeInfos[i];\n var routeParams = routeInfo.serialize();\n merge(params, routeParams);\n }\n\n params.queryParams = queryParams;\n return this.recognizer.generate(routeName, params);\n }\n\n applyIntent(routeName, contexts) {\n var intent = new NamedTransitionIntent(this, routeName, undefined, contexts);\n var state = this.activeTransition && this.activeTransition[STATE_SYMBOL] || this.state;\n return intent.applyToState(state, false);\n }\n\n isActiveIntent(routeName, contexts, queryParams, _state) {\n var state = _state || this.state,\n targetRouteInfos = state.routeInfos,\n routeInfo,\n len;\n\n if (!targetRouteInfos.length) {\n return false;\n }\n\n var targetHandler = targetRouteInfos[targetRouteInfos.length - 1].name;\n var recogHandlers = this.recognizer.handlersFor(targetHandler);\n var index = 0;\n\n for (len = recogHandlers.length; index < len; ++index) {\n routeInfo = targetRouteInfos[index];\n\n if (routeInfo.name === routeName) {\n break;\n }\n }\n\n if (index === recogHandlers.length) {\n // The provided route name isn't even in the route hierarchy.\n return false;\n }\n\n var testState = new TransitionState();\n testState.routeInfos = targetRouteInfos.slice(0, index + 1);\n recogHandlers = recogHandlers.slice(0, index + 1);\n var intent = new NamedTransitionIntent(this, targetHandler, undefined, contexts);\n var newState = intent.applyToHandlers(testState, recogHandlers, targetHandler, true, true);\n var routesEqual = routeInfosEqual(newState.routeInfos, testState.routeInfos);\n\n if (!queryParams || !routesEqual) {\n return routesEqual;\n } // Get a hash of QPs that will still be active on new route\n\n\n var activeQPsOnNewHandler = {};\n merge(activeQPsOnNewHandler, queryParams);\n var activeQueryParams = state.queryParams;\n\n for (var key in activeQueryParams) {\n if (activeQueryParams.hasOwnProperty(key) && activeQPsOnNewHandler.hasOwnProperty(key)) {\n activeQPsOnNewHandler[key] = activeQueryParams[key];\n }\n }\n\n return routesEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n }\n\n isActive(routeName, ...args) {\n var partitionedArgs = extractQueryParams(args);\n return this.isActiveIntent(routeName, partitionedArgs[0], partitionedArgs[1]);\n }\n\n trigger(name, ...args) {\n this.triggerEvent(this.currentRouteInfos, false, name, args);\n }\n\n }\n\n function routeInfosEqual(routeInfos, otherRouteInfos) {\n if (routeInfos.length !== otherRouteInfos.length) {\n return false;\n }\n\n for (var i = 0, len = routeInfos.length; i < len; ++i) {\n if (routeInfos[i] !== otherRouteInfos[i]) {\n return false;\n }\n }\n\n return true;\n }\n\n function routeInfosSameExceptQueryParams(routeInfos, otherRouteInfos) {\n if (routeInfos.length !== otherRouteInfos.length) {\n return false;\n }\n\n for (var i = 0, len = routeInfos.length; i < len; ++i) {\n if (routeInfos[i].name !== otherRouteInfos[i].name) {\n return false;\n }\n\n if (!paramsEqual(routeInfos[i].params, otherRouteInfos[i].params)) {\n return false;\n }\n }\n\n return true;\n }\n\n function paramsEqual(params, otherParams) {\n if (!params && !otherParams) {\n return true;\n } else if (!params && !!otherParams || !!params && !otherParams) {\n // one is falsy but other is not;\n return false;\n }\n\n var keys = Object.keys(params);\n var otherKeys = Object.keys(otherParams);\n\n if (keys.length !== otherKeys.length) {\n return false;\n }\n\n for (var i = 0, len = keys.length; i < len; ++i) {\n var key = keys[i];\n\n if (params[key] !== otherParams[key]) {\n return false;\n }\n }\n\n return true;\n }\n\n var _default = Router;\n _exports.default = _default;\n});","define(\"rsvp\", [\"exports\"], function (_exports) {\n \"use strict\";\n\n Object.defineProperty(_exports, \"__esModule\", {\n value: true\n });\n _exports.asap = asap;\n _exports.all = all$1;\n _exports.allSettled = allSettled;\n _exports.race = race$1;\n _exports.hash = hash;\n _exports.hashSettled = hashSettled;\n _exports.rethrow = rethrow;\n _exports.defer = defer;\n _exports.denodeify = denodeify;\n _exports.configure = configure;\n _exports.on = on;\n _exports.off = off;\n _exports.resolve = resolve$2;\n _exports.reject = reject$2;\n _exports.map = map;\n _exports.filter = filter;\n _exports.async = _exports.EventTarget = _exports.Promise = _exports.cast = _exports.default = void 0;\n\n function callbacksFor(object) {\n var callbacks = object._promiseCallbacks;\n\n if (!callbacks) {\n callbacks = object._promiseCallbacks = {};\n }\n\n return callbacks;\n }\n /**\n @class EventTarget\n @for rsvp\n @public\n */\n\n\n var EventTarget = {\n /**\n `EventTarget.mixin` extends an object with EventTarget methods. For\n Example:\n ```javascript\n import EventTarget from 'rsvp';\n let object = {};\n EventTarget.mixin(object);\n object.on('finished', function(event) {\n // handle event\n });\n object.trigger('finished', { detail: value });\n ```\n `EventTarget.mixin` also works with prototypes:\n ```javascript\n import EventTarget from 'rsvp';\n let Person = function() {};\n EventTarget.mixin(Person.prototype);\n let yehuda = new Person();\n let tom = new Person();\n yehuda.on('poke', function(event) {\n console.log('Yehuda says OW');\n });\n tom.on('poke', function(event) {\n console.log('Tom says OW');\n });\n yehuda.trigger('poke');\n tom.trigger('poke');\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 ```javascript\n object.on('event', function(eventInfo){\n // handle the event\n });\n object.trigger('event');\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 var allCallbacks = callbacksFor(this);\n var 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 ```javascript\n function doStuff() { // do stuff! }\n object.on('stuff', doStuff);\n object.trigger('stuff'); // doStuff will be called\n // Unregister ONLY the doStuff callback\n object.off('stuff', doStuff);\n object.trigger('stuff'); // doStuff will NOT be called\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 ```javascript\n let callback1 = function(){};\n let callback2 = function(){};\n object.on('stuff', callback1);\n object.on('stuff', callback2);\n object.trigger('stuff'); // callback1 and callback2 will be executed.\n object.off('stuff');\n object.trigger('stuff'); // callback1 and callback2 will not be executed!\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 var allCallbacks = callbacksFor(this);\n\n if (!callback) {\n allCallbacks[eventName] = [];\n return;\n }\n\n var callbacks = allCallbacks[eventName];\n var 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 ```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 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 ```javascript\n object.on('foo', function(value){\n console.log(value.name);\n });\n object.trigger('foo', { name: 'bar' });\n // 'bar' logged to the console\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 var allCallbacks = callbacksFor(this);\n var callbacks = allCallbacks[eventName];\n\n if (callbacks) {\n // Don't cache the callbacks.length since it may grow\n var callback;\n\n for (var i = 0; i < callbacks.length; i++) {\n callback = callbacks[i];\n callback(options, label);\n }\n }\n }\n\n };\n _exports.EventTarget = EventTarget;\n var config = {\n instrument: false\n };\n EventTarget['mixin'](config);\n\n function configure(name, value) {\n if (arguments.length === 2) {\n config[name] = value;\n } else {\n return config[name];\n }\n }\n\n var queue = [];\n\n function scheduleFlush() {\n setTimeout(() => {\n for (var i = 0; i < queue.length; i++) {\n var entry = queue[i];\n var payload = entry.payload;\n payload.guid = payload.key + payload.id;\n payload.childGuid = payload.key + payload.childId;\n\n if (payload.error) {\n payload.stack = payload.error.stack;\n }\n\n config['trigger'](entry.name, entry.payload);\n }\n\n queue.length = 0;\n }, 50);\n }\n\n function 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 })) {\n scheduleFlush();\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 */\n\n\n function resolve$$1(object, label) {\n /*jshint validthis:true */\n var Constructor = this;\n\n if (object && typeof object === 'object' && object.constructor === Constructor) {\n return object;\n }\n\n var promise = new Constructor(noop, label);\n resolve$1(promise, object);\n return promise;\n }\n\n function withOwnPromise() {\n return new TypeError('A promises callback cannot return that same promise.');\n }\n\n function objectOrFunction(x) {\n var type = typeof x;\n return x !== null && (type === 'object' || type === 'function');\n }\n\n function noop() {}\n\n var PENDING = void 0;\n var FULFILLED = 1;\n var REJECTED = 2;\n\n function tryThen(then$$1, value, fulfillmentHandler, rejectionHandler) {\n try {\n then$$1.call(value, fulfillmentHandler, rejectionHandler);\n } catch (e) {\n return e;\n }\n }\n\n function handleForeignThenable(promise, thenable, then$$1) {\n config.async(promise => {\n var sealed = false;\n var error = tryThen(then$$1, thenable, value => {\n if (sealed) {\n return;\n }\n\n sealed = true;\n\n if (thenable === value) {\n fulfill(promise, value);\n } else {\n resolve$1(promise, value);\n }\n }, reason => {\n if (sealed) {\n return;\n }\n\n sealed = true;\n reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n if (!sealed && error) {\n sealed = true;\n reject(promise, error);\n }\n }, promise);\n }\n\n function 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\n function handleMaybeThenable(promise, maybeThenable, then$$1) {\n var isOwnThenable = maybeThenable.constructor === promise.constructor && then$$1 === then && 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\n function resolve$1(promise, value) {\n if (promise === value) {\n fulfill(promise, value);\n } else if (objectOrFunction(value)) {\n var then$$1;\n\n try {\n then$$1 = value.then;\n } catch (error) {\n reject(promise, error);\n return;\n }\n\n handleMaybeThenable(promise, value, then$$1);\n } else {\n fulfill(promise, value);\n }\n }\n\n function publishRejection(promise) {\n if (promise._onError) {\n promise._onError(promise._result);\n }\n\n publish(promise);\n }\n\n function fulfill(promise, value) {\n if (promise._state !== PENDING) {\n return;\n }\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\n function reject(promise, reason) {\n if (promise._state !== PENDING) {\n return;\n }\n\n promise._state = REJECTED;\n promise._result = reason;\n config.async(publishRejection, promise);\n }\n\n function subscribe(parent, child, onFulfillment, onRejection) {\n var subscribers = parent._subscribers;\n var length = subscribers.length;\n parent._onError = null;\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\n function publish(promise) {\n var subscribers = promise._subscribers;\n var settled = promise._state;\n\n if (config.instrument) {\n instrument(settled === FULFILLED ? 'fulfilled' : 'rejected', promise);\n }\n\n if (subscribers.length === 0) {\n return;\n }\n\n var child,\n callback,\n result = promise._result;\n\n for (var 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\n function invokeCallback(state, promise, callback, result) {\n var hasCallback = typeof callback === 'function';\n var value,\n succeeded = true,\n 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) {// 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\n function initializePromise(promise, resolver) {\n var resolved = false;\n\n try {\n resolver(value => {\n if (resolved) {\n return;\n }\n\n resolved = true;\n resolve$1(promise, value);\n }, reason => {\n if (resolved) {\n return;\n }\n\n resolved = true;\n reject(promise, reason);\n });\n } catch (e) {\n reject(promise, e);\n }\n }\n\n function then(onFulfillment, onRejection, label) {\n var parent = this;\n var 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 var child = new parent.constructor(noop, label);\n var result = parent._result;\n config.instrument && instrument('chained', parent, child);\n\n if (state === PENDING) {\n subscribe(parent, child, onFulfillment, onRejection);\n } else {\n var callback = state === FULFILLED ? onFulfillment : onRejection;\n config.async(() => invokeCallback(state, child, callback, result));\n }\n\n return child;\n }\n\n class 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 var 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 var length = this.length;\n var promise = this.promise;\n\n for (var i = 0; promise._state === PENDING && i < length; i++) {\n this._eachEntry(input[i], i, true);\n }\n\n this._checkFullfillment();\n }\n\n _checkFullfillment() {\n if (this._remaining === 0) {\n var result = this._result;\n fulfill(this.promise, result);\n this._result = null;\n }\n }\n\n _settleMaybeThenable(entry, i, firstPass) {\n var c = this._instanceConstructor;\n\n if (this._isUsingOwnResolve) {\n var then$$1,\n error,\n succeeded = true;\n\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\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 var promise = new c(noop);\n\n if (succeeded === false) {\n reject(promise, error);\n } else {\n handleMaybeThenable(promise, entry, then$$1);\n\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 var 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\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(promise, undefined, value => this._settledAt(FULFILLED, i, value, firstPass), reason => this._settledAt(REJECTED, i, reason, firstPass));\n }\n\n }\n\n function setSettledResult(state, i, value) {\n this._remaining--;\n\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 `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 */\n\n\n function 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\n return new Enumerator(this, entries, true\n /* abort on reject */\n , label).promise;\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 */\n\n\n function race(entries, label) {\n /*jshint validthis:true */\n var Constructor = this;\n var 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 (var i = 0; promise._state === PENDING && i < entries.length; i++) {\n subscribe(Constructor.resolve(entries[i]), undefined, value => resolve$1(promise, value), reason => reject(promise, reason));\n }\n\n return promise;\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 */\n\n\n function reject$1(reason, label) {\n /*jshint validthis:true */\n var Constructor = this;\n var promise = new Constructor(noop, label);\n reject(promise, reason);\n return promise;\n }\n\n var guidKey = 'rsvp_' + Date.now() + '-';\n var counter = 0;\n\n function needsResolver() {\n throw new TypeError('You must pass a resolver function as the first argument to the promise constructor');\n }\n\n function 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 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 */\n\n\n class 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 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 `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\n\n catch(onRejection, label) {\n return this.then(undefined, onRejection, label);\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\n\n finally(callback, label) {\n var promise = this;\n var constructor = promise.constructor;\n\n if (typeof callback === 'function') {\n return promise.then(value => constructor.resolve(callback()).then(() => value), reason => constructor.resolve(callback()).then(() => {\n throw reason;\n }));\n }\n\n return promise.then(callback, callback);\n }\n\n }\n\n _exports.Promise = Promise;\n Promise.cast = resolve$$1; // deprecated\n\n Promise.all = all;\n Promise.race = race;\n Promise.resolve = resolve$$1;\n Promise.reject = reject$1;\n Promise.prototype._guidKey = guidKey;\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 */\n\n Promise.prototype.then = then;\n\n function makeObject(_, argumentNames) {\n var obj = {};\n var length = _.length;\n var args = new Array(length);\n\n for (var x = 0; x < length; x++) {\n args[x] = _[x];\n }\n\n for (var i = 0; i < argumentNames.length; i++) {\n var name = argumentNames[i];\n obj[name] = args[i + 1];\n }\n\n return obj;\n }\n\n function arrayResult(_) {\n var length = _.length;\n var args = new Array(length - 1);\n\n for (var i = 1; i < length; i++) {\n args[i - 1] = _[i];\n }\n\n return args;\n }\n\n function 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 */\n\n\n function denodeify(nodeFunc, options) {\n var fn = function () {\n var l = arguments.length;\n var args = new Array(l + 1);\n var promiseInput = false;\n\n for (var i = 0; i < l; ++i) {\n var arg = arguments[i]; // TODO: this code really needs to be cleaned up\n\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 var p = new Promise(noop);\n reject(p, error);\n return p;\n }\n }\n } else {\n promiseInput = false;\n }\n\n if (promiseInput && promiseInput !== true) {\n arg = wrapThenable(promiseInput, arg);\n }\n }\n\n args[i] = arg;\n }\n\n var 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 return fn;\n }\n\n function handleValueInput(promise, args, nodeFunc, self) {\n try {\n nodeFunc.apply(self, args);\n } catch (error) {\n reject(promise, error);\n }\n\n return promise;\n }\n\n function handlePromiseInput(promise, args, nodeFunc, self) {\n return Promise.all(args).then(args => handleValueInput(promise, args, nodeFunc, self));\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 */\n\n\n function all$1(array, label) {\n return Promise.all(array, label);\n }\n /**\n @module rsvp\n @public\n **/\n\n\n class AllSettled extends Enumerator {\n constructor(Constructor, entries, label) {\n super(Constructor, entries, false\n /* don't abort on reject */\n , label);\n }\n\n }\n\n AllSettled.prototype._setResultAt = setSettledResult;\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 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 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 ```javascript\n { state: 'fulfilled', value: value }\n or\n { state: 'rejected', reason: reason }\n ```\n Example:\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 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 @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\n function 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 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 */\n\n\n function race$1(array, label) {\n return Promise.race(array, label);\n }\n\n class 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\n this._enumerate(object);\n }\n\n _enumerate(input) {\n var keys = Object.keys(input);\n var length = keys.length;\n var promise = this.promise;\n this._remaining = length;\n var key, val;\n\n for (var i = 0; promise._state === PENDING && i < length; i++) {\n key = keys[i];\n val = input[key];\n\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 */\n\n\n function hash(object, label) {\n return Promise.resolve(object, label).then(function (object) {\n if (object === null || typeof object !== 'object') {\n throw new TypeError(\"Promise.hash must be called with an object\");\n }\n\n return new PromiseHash(Promise, object, label).promise;\n });\n }\n\n class HashSettled extends PromiseHash {\n constructor(Constructor, object, label) {\n super(Constructor, object, false, label);\n }\n\n }\n\n HashSettled.prototype._setResultAt = setSettledResult;\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\n function hashSettled(object, label) {\n return Promise.resolve(object, label).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 `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 */\n\n\n function rethrow(reason) {\n setTimeout(() => {\n throw reason;\n });\n throw reason;\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\n\n function defer(label) {\n var deferred = {\n resolve: undefined,\n reject: undefined\n };\n deferred.promise = new Promise((resolve, reject) => {\n deferred.resolve = resolve;\n deferred.reject = reject;\n }, label);\n return deferred;\n }\n\n class 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 var 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 `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 */\n\n\n function 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).then(function (promises) {\n if (!Array.isArray(promises)) {\n throw new TypeError(\"map must be called with an array\");\n }\n\n return new MapEnumerator(Promise, promises, mapFn, label).promise;\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 */\n\n\n function resolve$2(value, label) {\n return Promise.resolve(value, label);\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 */\n\n\n function reject$2(reason, label) {\n return Promise.reject(reason, label);\n }\n\n var EMPTY_OBJECT = {};\n\n class FilterEnumerator extends MapEnumerator {\n _checkFullfillment() {\n if (this._remaining === 0 && this._result !== null) {\n var result = this._result.filter(val => val !== EMPTY_OBJECT);\n\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 var val,\n succeeded = true;\n\n try {\n val = this._mapFn(value, i);\n } catch (error) {\n succeeded = false;\n\n this._settledAt(REJECTED, i, error, false);\n }\n\n if (succeeded) {\n this._eachEntry(val, i, false);\n }\n } else {\n this._remaining--;\n\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\n\n function 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).then(function (promises) {\n if (!Array.isArray(promises)) {\n throw new TypeError(\"filter must be called with an array\");\n }\n\n return new FilterEnumerator(Promise, promises, filterFn, label).promise;\n });\n }\n\n var len = 0;\n var vertxNext;\n\n function asap(callback, arg) {\n queue$1[len] = callback;\n queue$1[len + 1] = arg;\n len += 2;\n\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\n var browserWindow = typeof window !== 'undefined' ? window : undefined;\n var browserGlobal = browserWindow || {};\n var BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\n var isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]'; // test for web worker but not in IE10\n\n var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined'; // node\n\n function useNextTick() {\n var nextTick = process.nextTick; // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n // setImmediate should be used instead instead\n\n var version = process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);\n\n if (Array.isArray(version) && version[1] === '0' && version[2] === '10') {\n nextTick = setImmediate;\n }\n\n return () => nextTick(flush);\n } // vertx\n\n\n function useVertxTimer() {\n if (typeof vertxNext !== 'undefined') {\n return function () {\n vertxNext(flush);\n };\n }\n\n return useSetTimeout();\n }\n\n function useMutationObserver() {\n var iterations = 0;\n var observer = new BrowserMutationObserver(flush);\n var node = document.createTextNode('');\n observer.observe(node, {\n characterData: true\n });\n return () => node.data = iterations = ++iterations % 2;\n } // web worker\n\n\n function useMessageChannel() {\n var channel = new MessageChannel();\n channel.port1.onmessage = flush;\n return () => channel.port2.postMessage(0);\n }\n\n function useSetTimeout() {\n return () => setTimeout(flush, 1);\n }\n\n var queue$1 = new Array(1000);\n\n function flush() {\n for (var i = 0; i < len; i += 2) {\n var callback = queue$1[i];\n var arg = queue$1[i + 1];\n callback(arg);\n queue$1[i] = undefined;\n queue$1[i + 1] = undefined;\n }\n\n len = 0;\n }\n\n function attemptVertex() {\n try {\n var vertx = Function('return this')().require('vertx');\n\n vertxNext = vertx.runOnLoop || vertx.runOnContext;\n return useVertxTimer();\n } catch (e) {\n return useSetTimeout();\n }\n }\n\n var scheduleFlush$1; // Decide what async method to use to triggering processing of queued callbacks:\n\n if (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 } // defaults\n\n\n config.async = asap;\n\n config.after = cb => setTimeout(cb, 0);\n\n var cast = resolve$2;\n _exports.cast = cast;\n\n var async = (callback, arg) => config.async(callback, arg);\n\n _exports.async = async;\n\n function on() {\n config.on(...arguments);\n }\n\n function off() {\n config.off(...arguments);\n } // Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\n\n\n if (typeof window !== 'undefined' && typeof window['__PROMISE_INSTRUMENTATION__'] === 'object') {\n var callbacks = window['__PROMISE_INSTRUMENTATION__'];\n configure('instrument', true);\n\n for (var eventName in callbacks) {\n if (callbacks.hasOwnProperty(eventName)) {\n on(eventName, callbacks[eventName]);\n }\n }\n } // the default export here is for backwards compat:\n // https://github.com/tildeio/rsvp.js/issues/434\n\n\n var 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 var _default = rsvp;\n _exports.default = _default;\n});"],"names":[],"mappings":";AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7tCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvlTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpqBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACr+HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxSA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1OA;AACA;;ACDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrxEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3oDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzKA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvuDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/NA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/UA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC77BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp6BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3YA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACreA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/8BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACXA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpUA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7cA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9RA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjqCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACj6CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/wBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrtGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACthBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7rBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtvNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3aA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACz0BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxqCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxgBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp4BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACztEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;;;","file":"ember.js"}
\No newline at end of file