dist/ember.prod.map in discourse-ember-source-3.5.1.3 vs dist/ember.prod.map in discourse-ember-source-3.6.0.0

- old
+ new

@@ -1 +1 @@ -{"version":3,"sources":["license.js","loader.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/application/lib/validate-type.js","@ember/canary-features/index.js","@ember/controller/index.js","@ember/controller/lib/controller_mixin.js","@ember/debug/index.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/map/index.js","@ember/map/lib/ordered-set.js","@ember/map/lib/utils.js","@ember/map/with-default.js","@ember/object/computed.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/runloop/index.js","@ember/service/index.js","@ember/string/index.js","@ember/string/lib/string_registry.js","@glimmer/encoder.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/vm.js","@glimmer/wire-format.js","backburner.js","container.js","dag-map.js","ember-babel.js","ember-browser-environment.js","ember-console/index.js","ember-environment.js","ember-error-handling/index.js","ember-extension-support/index.js","ember-extension-support/lib/container_debug_adapter.js","ember-extension-support/lib/data_adapter.js","ember-glimmer.js","ember-meta/index.js","ember-meta/lib/meta.js","ember-metal.js","ember-owner/index.js","ember-routing/index.js","ember-routing/lib/ext/controller.js","ember-routing/lib/location/api.js","ember-routing/lib/location/auto_location.js","ember-routing/lib/location/hash_location.js","ember-routing/lib/location/history_location.js","ember-routing/lib/location/none_location.js","ember-routing/lib/location/util.js","ember-routing/lib/services/router.js","ember-routing/lib/services/routing.js","ember-routing/lib/system/cache.js","ember-routing/lib/system/controller_for.js","ember-routing/lib/system/dsl.js","ember-routing/lib/system/generate_controller.js","ember-routing/lib/system/query_params.js","ember-routing/lib/system/route.js","ember-routing/lib/system/router.js","ember-routing/lib/system/router_state.js","ember-routing/lib/system/transition.js","ember-routing/lib/utils.js","ember-runtime/index.js","ember-runtime/lib/compare.js","ember-runtime/lib/copy.js","ember-runtime/lib/ext/function.js","ember-runtime/lib/ext/rsvp.js","ember-runtime/lib/is-equal.js","ember-runtime/lib/mixins/-proxy.js","ember-runtime/lib/mixins/action_handler.js","ember-runtime/lib/mixins/array.js","ember-runtime/lib/mixins/comparable.js","ember-runtime/lib/mixins/container_proxy.js","ember-runtime/lib/mixins/copyable.js","ember-runtime/lib/mixins/enumerable.js","ember-runtime/lib/mixins/evented.js","ember-runtime/lib/mixins/mutable_enumerable.js","ember-runtime/lib/mixins/observable.js","ember-runtime/lib/mixins/promise_proxy.js","ember-runtime/lib/mixins/registry_proxy.js","ember-runtime/lib/mixins/target_action_support.js","ember-runtime/lib/system/array_proxy.js","ember-runtime/lib/system/core_object.js","ember-runtime/lib/system/namespace.js","ember-runtime/lib/system/object.js","ember-runtime/lib/system/object_proxy.js","ember-runtime/lib/type-of.js","ember-utils.js","ember-views/index.js","ember-views/lib/compat/attrs.js","ember-views/lib/compat/fallback-view-registry.js","ember-views/lib/component_lookup.js","ember-views/lib/mixins/action_support.js","ember-views/lib/mixins/child_views_support.js","ember-views/lib/mixins/class_names_support.js","ember-views/lib/mixins/text_support.js","ember-views/lib/mixins/view_state_support.js","ember-views/lib/mixins/view_support.js","ember-views/lib/system/action_manager.js","ember-views/lib/system/event_dispatcher.js","ember-views/lib/system/jquery.js","ember-views/lib/system/jquery_event_deprecation.js","ember-views/lib/system/lookup_partial.js","ember-views/lib/system/utils.js","ember-views/lib/utils/lookup-component.js","ember-views/lib/views/core_view.js","ember-views/lib/views/states.js","ember-views/lib/views/states/default.js","ember-views/lib/views/states/destroying.js","ember-views/lib/views/states/has_element.js","ember-views/lib/views/states/in_dom.js","ember-views/lib/views/states/pre_render.js","ember/index.js","ember/version.js","node-module.js","route-recognizer.js","router.js","rsvp.js","bootstrap"],"sourcesContent":["/*!\n * @overview Ember - JavaScript Application Framework\n * @copyright Copyright 2011-2018 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.5.1\n */\n","/*globals process */\nvar enifed, requireModule, Ember;\n\n// Used in ember-environment/lib/global.js\nmainContext = this; // eslint-disable-line no-undef\n\n(function() {\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] = requireModule;\n } else {\n reified[i] = internalRequire(deps[i], name);\n }\n }\n\n callback.apply(this, reified);\n\n return exports;\n }\n\n var isNode =\n typeof window === 'undefined' &&\n typeof process !== 'undefined' &&\n {}.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 var registry = {};\n var seen = {};\n\n enifed = 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 requireModule = function(name) {\n return internalRequire(name, null);\n };\n\n // setup `require` module\n requireModule['default'] = requireModule;\n\n requireModule.has = function registryHas(moduleName) {\n return !!registry[moduleName] || !!registry[moduleName + '/index'];\n };\n\n requireModule._eak_seen = registry;\n\n Ember.__loader = {\n define: enifed,\n require: requireModule,\n registry: registry,\n };\n } else {\n enifed = Ember.__loader.define;\n requireModule = Ember.__loader.require;\n }\n})();\n","enifed('@ember/application/globals-resolver', ['exports', 'ember-babel', 'ember-utils', 'ember-metal', '@ember/debug', '@ember/string', 'ember-runtime', '@ember/application/lib/validate-type', 'ember-glimmer'], function (exports, _emberBabel, _emberUtils, _emberMetal, _debug, _string, _emberRuntime, _validateType, _emberGlimmer) {\n 'use strict';\n\n var DefaultResolver = function (_EmberObject) {\n (0, _emberBabel.inherits)(DefaultResolver, _EmberObject);\n\n function DefaultResolver() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _EmberObject.apply(this, arguments));\n }\n\n DefaultResolver.create = function (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 _EmberObject.create.call(this, props);\n };\n\n DefaultResolver.prototype.init = function () {\n this._parseNameCache = (0, _emberUtils.dictionary)(null);\n };\n\n DefaultResolver.prototype.normalize = function (fullName) {\n var _fullName$split = fullName.split(':'),\n type = _fullName$split[0],\n name = _fullName$split[1],\n result;\n\n false && !(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 result = name.replace(/(\\.|_|-)./g, function (m) {\n return m.charAt(1).toUpperCase();\n });\n\n\n return type + ':' + result;\n } else {\n return fullName;\n }\n };\n\n DefaultResolver.prototype.resolve = function (fullName) {\n var parsedName = this.parseName(fullName);\n var resolveMethodName = parsedName.resolveMethodName;\n var resolved = void 0;\n\n if (this[resolveMethodName]) {\n resolved = this[resolveMethodName](parsedName);\n }\n\n resolved = resolved || this.resolveOther(parsedName);\n\n if (resolved) {\n (0, _validateType.default)(resolved, parsedName);\n }\n\n return resolved;\n };\n\n DefaultResolver.prototype.parseName = function (fullName) {\n return this._parseNameCache[fullName] || (this._parseNameCache[fullName] = this._parseName(fullName));\n };\n\n DefaultResolver.prototype._parseName = function (fullName) {\n var _fullName$split2 = fullName.split(':'),\n type = _fullName$split2[0],\n fullNameWithoutType = _fullName$split2[1],\n parts,\n namespaceName;\n\n var name = fullNameWithoutType;\n var namespace = (0, _emberMetal.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 parts = name.split('/');\n\n name = parts[parts.length - 1];\n namespaceName = (0, _string.capitalize)(parts.slice(0, -1).join('.'));\n\n root = (0, _emberMetal.findNamespace)(namespaceName);\n\n false && !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: fullName,\n type: type,\n fullNameWithoutType: fullNameWithoutType,\n dirname: dirname,\n name: name,\n root: root,\n resolveMethodName: 'resolve' + resolveMethodName\n };\n };\n\n DefaultResolver.prototype.lookupDescription = function (fullName) {\n var parsedName = this.parseName(fullName);\n var description = void 0;\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 DefaultResolver.prototype.makeToString = function (factory) {\n return factory.toString();\n };\n\n DefaultResolver.prototype.useRouterNaming = function (parsedName) {\n if (parsedName.name === 'basic') {\n parsedName.name = '';\n } else {\n parsedName.name = parsedName.name.replace(/\\./g, '_');\n }\n };\n\n DefaultResolver.prototype.resolveTemplate = function (parsedName) {\n var templateName = parsedName.fullNameWithoutType.replace(/\\./g, '/');\n\n return (0, _emberGlimmer.getTemplate)(templateName) || (0, _emberGlimmer.getTemplate)((0, _string.decamelize)(templateName));\n };\n\n DefaultResolver.prototype.resolveView = function (parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n };\n\n DefaultResolver.prototype.resolveController = function (parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n };\n\n DefaultResolver.prototype.resolveRoute = function (parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n };\n\n DefaultResolver.prototype.resolveModel = function (parsedName) {\n var className = (0, _string.classify)(parsedName.name);\n var factory = (0, _emberMetal.get)(parsedName.root, className);\n\n return factory;\n };\n\n DefaultResolver.prototype.resolveHelper = function (parsedName) {\n return this.resolveOther(parsedName);\n };\n\n DefaultResolver.prototype.resolveOther = function (parsedName) {\n var className = (0, _string.classify)(parsedName.name) + (0, _string.classify)(parsedName.type);\n var factory = (0, _emberMetal.get)(parsedName.root, className);\n return factory;\n };\n\n DefaultResolver.prototype.resolveMain = function (parsedName) {\n var className = (0, _string.classify)(parsedName.type);\n return (0, _emberMetal.get)(parsedName.root, className);\n };\n\n DefaultResolver.prototype.knownForType = function (type) {\n var namespace = (0, _emberMetal.get)(this, 'namespace'),\n index,\n name,\n containerName;\n var suffix = (0, _string.classify)(type);\n var typeRegexp = new RegExp(suffix + '$');\n\n var known = (0, _emberUtils.dictionary)(null);\n var knownKeys = Object.keys(namespace);\n for (index = 0; index < knownKeys.length; index++) {\n name = knownKeys[index];\n\n\n if (typeRegexp.test(name)) {\n containerName = this.translateToContainerFullname(type, name);\n\n\n known[containerName] = true;\n }\n }\n\n return known;\n };\n\n DefaultResolver.prototype.translateToContainerFullname = function (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\n return type + ':' + dasherizedName;\n };\n\n return DefaultResolver;\n }(_emberRuntime.Object);\n\n exports.default = DefaultResolver;\n});","enifed('@ember/application/index', ['exports', 'ember-owner', '@ember/application/lib/lazy_load', '@ember/application/lib/application'], function (exports, _emberOwner, _lazy_load, _application) {\n 'use strict';\n\n Object.defineProperty(exports, 'getOwner', {\n enumerable: true,\n get: function () {\n return _emberOwner.getOwner;\n }\n });\n Object.defineProperty(exports, 'setOwner', {\n enumerable: true,\n get: function () {\n return _emberOwner.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});","enifed('@ember/application/instance', ['exports', '@ember/polyfills', 'ember-metal', 'ember-browser-environment', 'ember-views', '@ember/engine/instance', 'ember-glimmer'], function (exports, _polyfills, _emberMetal, _emberBrowserEnvironment, _emberViews, _instance, _emberGlimmer) {\n 'use strict';\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\n /**\n @module @ember/application\n */\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: function () {\n this._super.apply(this, arguments);\n\n this.application._watchInstance(this);\n\n // Register this instance in the per-instance registry.\n //\n // Why do we need to register the instance in the first place?\n // Because we need a good way for the root route (a.k.a ApplicationRoute)\n // to notify us when it has created the root-most view. That view is then\n // appended to the rootElement, in the case of apps, to the fixture harness\n // in tests, or rendered to a string in the case of FastBoot.\n this.register('-application-instance:main', this, { instantiate: false });\n },\n _bootSync: function (options) {\n var router;\n\n if (this._booted) {\n return this;\n }\n\n options = new BootOptions(options);\n\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 router = (0, _emberMetal.get)(this, 'router');\n\n (0, _emberMetal.set)(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\n return this;\n },\n setupRegistry: function (options) {\n this.constructor.setupRegistry(this.__registry__, options);\n },\n\n router: (0, _emberMetal.computed)(function () {\n return this.lookup('router:main');\n }).readOnly(),\n\n didCreateRootView: function (view) {\n view.appendTo(this.rootElement);\n },\n startRouting: function () {\n var router = (0, _emberMetal.get)(this, 'router');\n router.startRouting();\n this._didSetupRouter = true;\n },\n setupRouter: function () {\n if (this._didSetupRouter) {\n return;\n }\n this._didSetupRouter = true;\n\n var router = (0, _emberMetal.get)(this, 'router');\n router.setupRouter();\n },\n handleURL: function (url) {\n var router = (0, _emberMetal.get)(this, 'router');\n\n this.setupRouter();\n return router.handleURL(url);\n },\n setupEventDispatcher: function () {\n var dispatcher = this.lookup('event_dispatcher:main');\n var applicationCustomEvents = (0, _emberMetal.get)(this.application, 'customEvents');\n var instanceCustomEvents = (0, _emberMetal.get)(this, 'customEvents');\n\n var customEvents = (0, _polyfills.assign)({}, applicationCustomEvents, instanceCustomEvents);\n dispatcher.setup(customEvents, this.rootElement);\n\n return dispatcher;\n },\n getURL: function () {\n return (0, _emberMetal.get)(this, 'router.url');\n },\n visit: function (url) {\n var _this = this;\n\n this.setupRouter();\n\n var bootOptions = this.__container__.lookup('-environment:main');\n\n var router = (0, _emberMetal.get)(this, 'router');\n\n var handleTransitionResolve = function () {\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, _emberGlimmer.renderSettled)().then(function () {\n return _this;\n });\n }\n };\n\n var handleTransitionReject = function (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, _emberMetal.get)(router, 'location');\n\n // Keeps the location adapter's internal URL in-sync\n location.setURL(url);\n\n // getURL returns the set url with the rootURL stripped off\n return router.handleURL(location.getURL()).then(handleTransitionResolve, handleTransitionReject);\n },\n willDestroy: function () {\n this._super.apply(this, arguments);\n this.application._unwatchInstance(this);\n }\n });\n\n ApplicationInstance.reopenClass({\n setupRegistry: function (registry) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\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 var BootOptions = function () {\n function BootOptions() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n\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 = _emberViews.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 this.isInteractive = _emberBrowserEnvironment.hasDOM; // This default is overridable below\n\n /**\n @property _renderMode\n @type string\n @default false\n @private\n */\n this._renderMode = options._renderMode;\n\n /**\n Run in a full browser environment.\n When this flag is set to `true`, 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 if (options.isBrowser !== undefined) {\n this.isBrowser = !!options.isBrowser;\n } else {\n this.isBrowser = _emberBrowserEnvironment.hasDOM;\n }\n\n if (!this.isBrowser) {\n this.jQuery = null;\n this.isInteractive = false;\n this.location = 'none';\n }\n\n /**\n Disable rendering completely.\n When this flag is set to `true`, 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 if (options.shouldRender !== undefined) {\n this.shouldRender = !!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 /**\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 if (options.document) {\n this.document = options.document;\n } else {\n this.document = typeof document !== 'undefined' ? document : null;\n }\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 if (options.rootElement) {\n this.rootElement = options.rootElement;\n }\n\n // Set these options last to give the user a chance to override the\n // defaults from the \"combo\" options like `isBrowser` (although in\n // practice, the resulting combination is probably invalid)\n\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 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 = !!options.isInteractive;\n }\n }\n\n BootOptions.prototype.toEnvironment = function () {\n // Do we really want to assign all of this!?\n var env = (0, _polyfills.assign)({}, _emberBrowserEnvironment);\n // For compatibility with existing code\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 return BootOptions;\n }();\n\n exports.default = ApplicationInstance;\n});","enifed('@ember/application/lib/application', ['exports', 'ember-babel', 'ember-utils', 'ember-environment', 'ember-browser-environment', '@ember/debug', '@ember/runloop', 'ember-metal', '@ember/application/lib/lazy_load', 'ember-runtime', 'ember-views', 'ember-routing', '@ember/application/instance', '@ember/engine', 'container', 'ember-glimmer'], function (exports, _emberBabel, _emberUtils, _emberEnvironment, _emberBrowserEnvironment, _debug, _runloop, _emberMetal, _lazy_load, _emberRuntime, _emberViews, _emberRouting, _instance, _engine, _container, _emberGlimmer) {\n 'use strict';\n\n var _templateObject = (0, _emberBabel.taggedTemplateLiteralLoose)(['-bucket-cache:main'], ['-bucket-cache:main']);\n\n var librariesRegistered = false;\n\n /**\n An instance of `Application` is the starting point for every Ember\n application. It helps to instantiate, initialize and coordinate the many\n objects that make up your app.\n \n Each Ember app has one and only one `Application` object. In fact, the\n very first thing you should do in your application is create the instance:\n \n ```javascript\n import Application from '@ember/application';\n \n window.App = Application.create();\n ```\n \n Typically, the application object is the only global variable. All other\n classes in your app should be properties on the `Application` instance,\n which highlights its first role: a global namespace.\n \n For example, if you define a view class, it might look like this:\n \n ```javascript\n import Application from '@ember/application';\n \n App.MyView = Ember.View.extend();\n ```\n \n By default, calling `Application.create()` will automatically initialize\n your application by calling the `Application.initialize()` method. If\n you need to delay initialization, you can call your app's `deferReadiness()`\n method. When you are ready for your app to be initialized, call its\n `advanceReadiness()` method.\n \n You can define a `ready` method on the `Application` instance, which\n will be run by Ember when the application is initialized.\n \n Because `Application` 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.\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 ```javascript\n import Application from '@ember/application';\n \n let App = Application.create({\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 ```javascript\n import Application from '@ember/application';\n \n let App = Application.create({\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 ```javascript\n import Application from '@ember/application';\n \n let App = Application.create({\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 Libraries on top of Ember can add initializers, like so:\n \n ```javascript\n import Application from '@ember/application';\n \n Application.initializer({\n name: 'api-adapter',\n \n initialize: function(application) {\n application.register('api-adapter:main', ApiAdapter);\n }\n });\n ```\n \n Initializers provide an opportunity to access the internal registry, which\n organizes the different components of an Ember application. Additionally\n they provide a chance to access the instantiated application. Beyond\n being used for libraries, initializers are also a great way to organize\n dependency injection or setup in your own application.\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 ```javascript\n import Application from '@ember/application';\n let App = Application.create({\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 ```javascript\n import Application from '@ember/application';\n let App = Application.create({\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: function () {\n // eslint-disable-line no-unused-vars\n this._super.apply(this, arguments);\n\n if (!this.$) {\n this.$ = _emberViews.jQuery;\n }\n\n registerLibraries();\n\n // Start off the number of deferrals at 1. This will be decremented by\n // the Application's own `boot` method.\n this._readinessDeferrals = 1;\n this._booted = false;\n this._applicationInstances = new Set();\n\n this.autoboot = this._globalsMode = !!this.autoboot;\n\n if (this._globalsMode) {\n this._prepareForGlobalsMode();\n }\n\n if (this.autoboot) {\n this.waitForDOMReady();\n }\n },\n buildInstance: function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n options.base = this;\n options.application = this;\n return _instance.default.create(options);\n },\n _watchInstance: function (instance) {\n this._applicationInstances.add(instance);\n },\n _unwatchInstance: function (instance) {\n return this._applicationInstances.delete(instance);\n },\n _prepareForGlobalsMode: function () {\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 || _emberRouting.Router).extend();\n\n this._buildDeprecatedInstance();\n },\n _buildDeprecatedInstance: function () {\n // Build a default instance\n var instance = this.buildInstance();\n\n // Legacy support for App.__container__ and other global methods\n // on App that rely on a single, default instance.\n this.__deprecatedInstance__ = instance;\n this.__container__ = instance.__container__;\n },\n waitForDOMReady: function () {\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 domReady: function () {\n if (this.isDestroyed) {\n return;\n }\n\n this._bootSync();\n\n // Continues to `didBecomeReady`\n },\n deferReadiness: function () {\n false && !(this instanceof Application) && (0, _debug.assert)('You must call deferReadiness on an instance of Application', this instanceof Application);\n false && !(this._readinessDeferrals > 0) && (0, _debug.assert)('You cannot defer readiness since the `ready()` hook has already been called.', this._readinessDeferrals > 0);\n\n this._readinessDeferrals++;\n },\n advanceReadiness: function () {\n false && !(this instanceof Application) && (0, _debug.assert)('You must call advanceReadiness on an instance of Application', this instanceof Application);\n\n this._readinessDeferrals--;\n\n if (this._readinessDeferrals === 0) {\n (0, _runloop.once)(this, this.didBecomeReady);\n }\n },\n boot: function () {\n if (this._bootPromise) {\n return this._bootPromise;\n }\n\n try {\n this._bootSync();\n } catch (_) {\n // Ignore the error: in the asynchronous boot path, the error is already reflected\n // in the promise rejection\n }\n\n return this._bootPromise;\n },\n _bootSync: function () {\n if (this._booted) {\n return;\n }\n\n // Even though this returns synchronously, we still need to make sure the\n // boot promise exists for book-keeping purposes: if anything went wrong in\n // the boot process, we need to store the error as a rejection on the boot\n // promise so that a future caller of `boot()` can tell what failed.\n var defer = this._bootResolver = _emberRuntime.RSVP.defer();\n this._bootPromise = defer.promise;\n\n try {\n this.runInitializers();\n (0, _lazy_load.runLoadHooks)('application', this);\n this.advanceReadiness();\n // Continues to `didBecomeReady`\n } catch (error) {\n // For the asynchronous boot path\n defer.reject(error);\n\n // For the synchronous boot path\n throw error;\n }\n },\n reset: function () {\n false && !(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\n var instance = this.__deprecatedInstance__;\n\n this._readinessDeferrals = 1;\n this._bootPromise = null;\n this._bootResolver = null;\n this._booted = false;\n\n (0, _runloop.join)(this, function () {\n (0, _runloop.run)(instance, 'destroy');\n this._buildDeprecatedInstance();\n (0, _runloop.schedule)('actions', this, '_bootSync');\n });\n },\n didBecomeReady: function () {\n var instance;\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, _emberMetal.processAllNamespaces)();\n (0, _emberMetal.setNamespaceSearchDisabled)(true);\n }\n\n // See documentation on `_autoboot()` for details\n if (this.autoboot) {\n instance = void 0;\n\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();\n\n // TODO: App.ready() is not called when autoboot is disabled, is this correct?\n this.ready();\n\n instance.startRouting();\n }\n\n // For the asynchronous boot path\n this._bootResolver.resolve(this);\n\n // For the synchronous boot path\n this._booted = true;\n } catch (error) {\n // For the asynchronous boot path\n this._bootResolver.reject(error);\n\n // For the synchronous boot path\n throw error;\n }\n },\n ready: function () {\n return this;\n },\n willDestroy: function () {\n this._super.apply(this, arguments);\n (0, _emberMetal.setNamespaceSearchDisabled)(false);\n this._booted = false;\n this._bootPromise = null;\n this._bootResolver = null;\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(function (i) {\n return i.destroy();\n });\n this._applicationInstances.clear();\n }\n },\n visit: function (url, options) {\n var _this = this;\n\n return this.boot().then(function () {\n var instance = _this.buildInstance();\n\n return instance.boot(options).then(function () {\n return instance.visit(url);\n }).catch(function (error) {\n (0, _runloop.run)(instance, 'destroy');\n throw error;\n });\n });\n }\n });\n\n Application.reopenClass({\n buildRegistry: function () {\n // eslint-disable-line no-unused-vars\n var registry = this._super.apply(this, arguments);\n\n commonSetupRegistry(registry);\n\n (0, _emberGlimmer.setupApplicationRegistry)(registry);\n\n return registry;\n }\n });\n\n function commonSetupRegistry(registry) {\n registry.register('router:main', _emberRouting.Router.extend());\n registry.register('-view-registry:main', {\n create: function () {\n return (0, _emberUtils.dictionary)(null);\n }\n });\n\n registry.register('route:basic', _emberRouting.Route);\n registry.register('event_dispatcher:main', _emberViews.EventDispatcher);\n\n registry.injection('router:main', 'namespace', 'application:main');\n\n registry.register('location:auto', _emberRouting.AutoLocation);\n registry.register('location:hash', _emberRouting.HashLocation);\n registry.register('location:history', _emberRouting.HistoryLocation);\n registry.register('location:none', _emberRouting.NoneLocation);\n\n registry.register((0, _container.privatize)(_templateObject), {\n create: function () {\n return new _emberRouting.BucketCache();\n }\n });\n\n registry.register('service:router', _emberRouting.RouterService);\n registry.injection('service:router', '_router', 'router:main');\n }\n\n function registerLibraries() {\n if (!librariesRegistered) {\n librariesRegistered = true;\n\n if (_emberBrowserEnvironment.hasDOM && !_emberViews.jQueryDisabled) {\n _emberMetal.libraries.registerCoreLibrary('jQuery', (0, _emberViews.jQuery)().jquery);\n }\n }\n }\n\n exports.default = Application;\n});","enifed('@ember/application/lib/lazy_load', ['exports', 'ember-environment', 'ember-browser-environment'], function (exports, _emberEnvironment, _emberBrowserEnvironment) {\n 'use strict';\n\n exports._loaded = undefined;\n exports.onLoad =\n\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 function (name, callback) {\n var object = loaded[name];\n\n loadHooks[name] = loadHooks[name] || [];\n loadHooks[name].push(callback);\n\n if (object) {\n callback(object);\n }\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 exports.runLoadHooks = function (name, object) {\n var event;\n\n loaded[name] = object;\n\n if (_emberBrowserEnvironment.window && typeof CustomEvent === 'function') {\n event = new CustomEvent(name, { detail: object, name: name });\n\n _emberBrowserEnvironment.window.dispatchEvent(event);\n }\n\n if (loadHooks[name]) {\n loadHooks[name].forEach(function (callback) {\n return callback(object);\n });\n }\n };\n\n /**\n @module @ember/application\n */\n\n /*globals CustomEvent */\n\n var loadHooks = _emberEnvironment.ENV.EMBER_LOAD_HOOKS || {};\n var loaded = {};\n exports._loaded = loaded;\n});","enifed('@ember/application/lib/validate-type', ['exports', '@ember/debug'], function (exports, _debug) {\n 'use strict';\n\n exports.default = function (resolvedType, parsedName) {\n var validationAttributes = VALIDATED_TYPES[parsedName.type];\n\n if (!validationAttributes) {\n return;\n }\n\n var factoryFlag = validationAttributes[1],\n expectedType = validationAttributes[2];\n false && !!!resolvedType[factoryFlag] && (0, _debug.assert)('Expected ' + parsedName.fullName + ' to resolve to an ' + expectedType + ' but ' + ('instead it was ' + resolvedType + '.'), !!resolvedType[factoryFlag]);\n };\n\n var VALIDATED_TYPES = {\n route: ['assert', 'isRouteFactory', 'Ember.Route'],\n component: ['deprecate', 'isComponentFactory', 'Ember.Component'],\n view: ['deprecate', 'isViewFactory', 'Ember.View'],\n service: ['deprecate', 'isServiceFactory', 'Ember.Service']\n };\n});","enifed('@ember/canary-features/index', ['exports', '@ember/polyfills', 'ember-environment'], function (exports, _polyfills, _emberEnvironment) {\n 'use strict';\n\n exports.EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION = exports.EMBER_TEMPLATE_BLOCK_LET_HELPER = exports.GLIMMER_CUSTOM_COMPONENT_MANAGER = exports.EMBER_METAL_TRACKED_PROPERTIES = exports.EMBER_MODULE_UNIFICATION = exports.EMBER_ENGINES_MOUNT_PARAMS = exports.EMBER_ROUTING_ROUTER_SERVICE = exports.EMBER_GLIMMER_NAMED_ARGUMENTS = exports.EMBER_IMPROVED_INSTRUMENTATION = exports.EMBER_LIBRARIES_ISREGISTERED = exports.FEATURES = exports.DEFAULT_FEATURES = undefined;\n exports.isEnabled =\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 @for Ember.FEATURES\n @since 1.1.0\n @public\n */\n function (feature) {\n var featureValue = FEATURES[feature];\n if (featureValue === true || featureValue === false) {\n return featureValue;\n } else if (_emberEnvironment.ENV.ENABLE_OPTIONAL_FEATURES) {\n return true;\n } else {\n return false;\n }\n };\n\n /**\n @module ember/canary-features\n @private\n */\n var DEFAULT_FEATURES = exports.DEFAULT_FEATURES = {\n EMBER_LIBRARIES_ISREGISTERED: false,\n EMBER_IMPROVED_INSTRUMENTATION: false,\n EMBER_GLIMMER_NAMED_ARGUMENTS: true,\n EMBER_ROUTING_ROUTER_SERVICE: true,\n EMBER_ENGINES_MOUNT_PARAMS: true,\n EMBER_MODULE_UNIFICATION: false,\n GLIMMER_CUSTOM_COMPONENT_MANAGER: true,\n EMBER_TEMPLATE_BLOCK_LET_HELPER: true,\n EMBER_METAL_TRACKED_PROPERTIES: false,\n EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION: true\n };\n /**\n The hash of enabled Canary features. Add to this, any canary features\n before creating your application.\n \n Alternatively (and recommended), you can also define `EmberENV.FEATURES`\n if you need to enable features flagged at runtime.\n \n @class FEATURES\n @namespace Ember\n @static\n @since 1.1.0\n @public\n */\n var FEATURES = exports.FEATURES = (0, _polyfills.assign)(DEFAULT_FEATURES, _emberEnvironment.ENV.FEATURES);\n function featureValue(value) {\n if (_emberEnvironment.ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n return true;\n }\n return value;\n }\n exports.EMBER_LIBRARIES_ISREGISTERED = featureValue(FEATURES.EMBER_LIBRARIES_ISREGISTERED);\n exports.EMBER_IMPROVED_INSTRUMENTATION = featureValue(FEATURES.EMBER_IMPROVED_INSTRUMENTATION);\n exports.EMBER_GLIMMER_NAMED_ARGUMENTS = featureValue(FEATURES.EMBER_GLIMMER_NAMED_ARGUMENTS);\n exports.EMBER_ROUTING_ROUTER_SERVICE = featureValue(FEATURES.EMBER_ROUTING_ROUTER_SERVICE);\n exports.EMBER_ENGINES_MOUNT_PARAMS = featureValue(FEATURES.EMBER_ENGINES_MOUNT_PARAMS);\n exports.EMBER_MODULE_UNIFICATION = featureValue(FEATURES.EMBER_MODULE_UNIFICATION);\n exports.EMBER_METAL_TRACKED_PROPERTIES = featureValue(FEATURES.EMBER_METAL_TRACKED_PROPERTIES);\n exports.GLIMMER_CUSTOM_COMPONENT_MANAGER = featureValue(FEATURES.GLIMMER_CUSTOM_COMPONENT_MANAGER);\n exports.EMBER_TEMPLATE_BLOCK_LET_HELPER = featureValue(FEATURES.EMBER_TEMPLATE_BLOCK_LET_HELPER);\n exports.EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION = featureValue(FEATURES.EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION);\n});","enifed('@ember/controller/index', ['exports', 'ember-runtime', '@ember/controller/lib/controller_mixin', 'ember-metal'], function (exports, _emberRuntime, _controller_mixin, _emberMetal) {\n 'use strict';\n\n exports.inject =\n\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 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\n reference 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\n to the property's name\n @return {Ember.InjectedProperty} injection descriptor instance\n @public\n */\n function (name, options) {\n return new _emberMetal.InjectedProperty('controller', name, options);\n };\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 = _emberRuntime.Object.extend(_controller_mixin.default);\n\n exports.default = Controller;\n});","enifed('@ember/controller/lib/controller_mixin', ['exports', 'ember-metal', 'ember-runtime'], function (exports, _emberMetal, _emberRuntime) {\n 'use strict';\n\n exports.default = _emberMetal.Mixin.create(_emberRuntime.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\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: null\n });\n});","enifed('@ember/debug/index', ['exports', '@ember/debug/lib/warn', '@ember/debug/lib/deprecate', '@ember/debug/lib/testing', '@ember/error', 'ember-browser-environment'], function (exports, _warn2, _deprecate2, _testing) {\n 'use strict';\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 = exports.setTesting = exports.isTesting = exports.registerDeprecationHandler = exports.registerWarnHandler = undefined;\n Object.defineProperty(exports, 'registerWarnHandler', {\n enumerable: true,\n get: function () {\n return _warn2.registerHandler;\n }\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\n // These are the default production build versions:\n var noop = function () {};\n\n exports.assert = noop;\n exports.info = noop;\n exports.warn = noop;\n exports.debug = noop;\n exports.deprecate = noop;\n exports.debugSeal = noop;\n exports.debugFreeze = noop;\n exports.runInDebug = noop;\n exports.deprecateFunc = function () {\n return arguments[arguments.length - 1];\n };\n exports.setDebugFunction = noop;\n exports.getDebugFunction = noop;\n exports._warnIfUsingStrippedFeatureFlags = void 0;\n});","enifed('@ember/debug/lib/deprecate', ['exports', '@ember/deprecated-features', 'ember-environment', '@ember/debug/index', '@ember/debug/lib/handlers'], function (exports) {\n 'use strict';\n\n exports.missingOptionsUntilDeprecation = exports.missingOptionsIdDeprecation = exports.missingOptionsDeprecation = exports.registerHandler = undefined;\n\n /**\n @module @ember/debug\n @public\n */\n /**\n Allows for runtime registration of handler functions that override the default deprecation behavior.\n Deprecations are invoked by calls to [@ember/application/deprecations/deprecate](https://emberjs.com/api/ember/release/classes/@ember%2Fapplication%2Fdeprecations/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\n exports.default = function () {};\n exports.registerHandler = function () {};\n exports.missingOptionsDeprecation = void 0;\n exports.missingOptionsIdDeprecation = void 0;\n exports.missingOptionsUntilDeprecation = void 0;\n});","enifed('@ember/debug/lib/handlers', ['exports'], function (exports) {\n 'use strict';\n\n exports.HANDLERS = {};\n\n exports.registerHandler = function () {};\n exports.invoke = function () {};\n});","enifed(\"@ember/debug/lib/testing\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.isTesting = isTesting;\n exports.setTesting = function (value) {\n testing = !!value;\n };\n var testing = false;\n function isTesting() {\n return testing;\n }\n});","enifed('@ember/debug/lib/warn', ['exports', 'ember-environment', '@ember/debug/index', '@ember/debug/lib/deprecate', '@ember/debug/lib/handlers'], function (exports) {\n 'use strict';\n\n exports.missingOptionsDeprecation = exports.missingOptionsIdDeprecation = exports.registerHandler = undefined;\n\n /**\n @module @ember/debug\n */\n exports.default = function () {};\n exports.registerHandler = function () {};\n exports.missingOptionsIdDeprecation = void 0;\n exports.missingOptionsDeprecation = void 0;\n});","enifed('@ember/deprecated-features/index', ['exports'], function (exports) {\n 'use strict';\n\n exports.SEND_ACTION = !!'3.4.0';\n exports.PROPERTY_BASED_DESCRIPTORS = !!'3.2.0';\n exports.EMBER_EXTEND_PROTOTYPES = !!'3.2.0-beta.5';\n exports.DEPRECATE_OPTIONS_MISSING = !!'2.1.0-beta.1';\n exports.DEPRECATE_ID_MISSING = !!'2.1.0-beta.1';\n exports.DEPRECATE_UNTIL_MISSING = !!'2.1.0-beta.1';\n exports.RUN_SYNC = !!'3.0.0-beta.4';\n exports.REGISTRY_RESOLVER_AS_FUNCTION = !!'2.3.0-beta.3';\n exports.LOGGER = !!'3.2.0-beta.1';\n exports.POSITIONAL_PARAM_CONFLICT = !!'3.1.0-beta.1';\n exports.DID_INIT_ATTRS = !!'2.6.0-beta.1';\n exports.PROPERTY_WILL_CHANGE = !!'3.1.0-beta.1';\n exports.PROPERTY_DID_CHANGE = !!'3.1.0-beta.1';\n exports.ROUTER_ROUTER = !!'3.2.0-beta.1';\n exports.ORPHAN_OUTLET_RENDER = !!'2.11.0-beta.1';\n exports.ARRAY_AT_EACH = !!'3.1.0-beta.1';\n exports.TARGET_OBJECT = !!'2.18.0-beta.1';\n exports.RENDER_HELPER = !!'2.11.0-beta.1';\n exports.BINDING_SUPPORT = !!'2.7.0-beta.1';\n exports.MAP = !!'3.3.0-beta.1';\n exports.ORDERED_SET = !!'3.3.0-beta.1';\n});","enifed('@ember/engine/index', ['exports', '@ember/engine/lib/engine-parent', 'ember-babel', 'ember-utils', '@ember/controller', 'ember-runtime', 'container', 'dag-map', '@ember/debug', 'ember-metal', '@ember/application/globals-resolver', '@ember/engine/instance', 'ember-routing', 'ember-extension-support', 'ember-views', 'ember-glimmer'], function (exports, _engineParent, _emberBabel, _emberUtils, _controller, _emberRuntime, _container, _dagMap, _debug, _emberMetal, _globalsResolver, _instance, _emberRouting, _emberExtensionSupport, _emberViews, _emberGlimmer) {\n 'use strict';\n\n exports.setEngineParent = exports.getEngineParent = undefined;\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\n var _templateObject = (0, _emberBabel.taggedTemplateLiteralLoose)(['-bucket-cache:main'], ['-bucket-cache:main']);\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 /**\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 var Engine = _emberRuntime.Namespace.extend(_emberRuntime.RegistryProxyMixin, {\n init: function () {\n this._super.apply(this, 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 ensureInitializers: function () {\n if (!this._initializersRan) {\n this.runInitializers();\n this._initializersRan = true;\n }\n },\n buildInstance: function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n this.ensureInitializers();\n options.base = this;\n return _instance.default.create(options);\n },\n buildRegistry: function () {\n var registry = this.__registry__ = this.constructor.buildRegistry(this);\n\n return registry;\n },\n initializer: function (options) {\n this.constructor.initializer(options);\n },\n instanceInitializer: function (options) {\n this.constructor.instanceInitializer(options);\n },\n runInitializers: function () {\n var _this = this;\n\n this._runInitializer('initializers', function (name, initializer) {\n false && !!!initializer && (0, _debug.assert)('No application initializer named \\'' + name + '\\'', !!initializer);\n\n initializer.initialize(_this);\n });\n },\n runInstanceInitializers: function (instance) {\n this._runInitializer('instanceInitializers', function (name, initializer) {\n false && !!!initializer && (0, _debug.assert)('No instance initializer named \\'' + name + '\\'', !!initializer);\n\n initializer.initialize(instance);\n });\n },\n _runInitializer: function (bucketName, cb) {\n var initializersByName = (0, _emberMetal.get)(this.constructor, bucketName),\n i;\n var initializers = props(initializersByName);\n var graph = new _dagMap.default();\n var initializer = void 0;\n\n for (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 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\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 buildRegistry: function (namespace) {\n var registry = new _container.Registry({\n resolver: resolverFor(namespace)\n });\n\n registry.set = _emberMetal.set;\n\n registry.register('application:main', namespace, { instantiate: false });\n\n commonSetupRegistry(registry);\n (0, _emberGlimmer.setupEngineRegistry)(registry);\n\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 /**\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 function resolverFor(namespace) {\n var ResolverClass = (0, _emberMetal.get)(namespace, 'Resolver') || _globalsResolver.default;\n\n return ResolverClass.create({ namespace: namespace });\n }\n\n function buildInitializerMethod(bucketName, humanName) {\n return function (initializer) {\n var attrs;\n\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 attrs = {};\n\n attrs[bucketName] = Object.create(this[bucketName]);\n this.reopenClass(attrs);\n }\n\n false && !!this[bucketName][initializer.name] && (0, _debug.assert)('The ' + humanName + ' \\'' + initializer.name + '\\' has already been registered', !this[bucketName][initializer.name]);\n false && !(0, _emberUtils.canInvoke)(initializer, 'initialize') && (0, _debug.assert)('An ' + humanName + ' cannot be registered without an initialize function', (0, _emberUtils.canInvoke)(initializer, 'initialize'));\n false && !(initializer.name !== undefined) && (0, _debug.assert)('An ' + humanName + ' cannot be registered without a name property', initializer.name !== undefined);\n\n this[bucketName][initializer.name] = initializer;\n };\n }\n\n function commonSetupRegistry(registry) {\n registry.optionsForType('component', { singleton: false });\n registry.optionsForType('view', { singleton: false });\n\n registry.register('controller:basic', _controller.default, { instantiate: false });\n\n registry.injection('view', '_viewRegistry', '-view-registry:main');\n registry.injection('renderer', '_viewRegistry', '-view-registry:main');\n registry.injection('event_dispatcher:main', '_viewRegistry', '-view-registry:main');\n\n registry.injection('route', '_topLevelViewTemplate', 'template:-outlet');\n\n registry.injection('view:-outlet', 'namespace', 'application:main');\n\n registry.injection('controller', 'target', 'router:main');\n registry.injection('controller', 'namespace', 'application:main');\n\n registry.injection('router', '_bucketCache', (0, _container.privatize)(_templateObject));\n registry.injection('route', '_bucketCache', (0, _container.privatize)(_templateObject));\n\n registry.injection('route', '_router', 'router:main');\n\n // Register the routing service...\n registry.register('service:-routing', _emberRouting.RoutingService);\n // Then inject the app router into it\n registry.injection('service:-routing', 'router', 'router:main');\n\n // DEBUGGING\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');\n // Custom resolver authors may want to register their own ContainerDebugAdapter with this key\n\n registry.register('container-debug-adapter:main', _emberExtensionSupport.ContainerDebugAdapter);\n\n registry.register('component-lookup:main', _emberViews.ComponentLookup);\n }\n\n exports.default = Engine;\n});","enifed('@ember/engine/instance', ['exports', 'ember-babel', 'ember-utils', 'ember-runtime', '@ember/debug', '@ember/error', 'container', '@ember/engine/lib/engine-parent'], function (exports, _emberBabel, _emberUtils, _emberRuntime, _debug, _error, _container, _engineParent) {\n 'use strict';\n\n var _templateObject = (0, _emberBabel.taggedTemplateLiteralLoose)(['-bucket-cache:main'], ['-bucket-cache:main']),\n _templateObject2 = (0, _emberBabel.taggedTemplateLiteralLoose)(['template-compiler:main'], ['template-compiler:main']);\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\n var EngineInstance = _emberRuntime.Object.extend(_emberRuntime.RegistryProxyMixin, _emberRuntime.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: function () {\n this._super.apply(this, arguments);\n\n (0, _emberUtils.guidFor)(this);\n\n var base = this.base;\n\n if (!base) {\n base = this.application;\n this.base = base;\n }\n\n // Create a per-instance registry that will use the application's registry\n // as a fallback for resolving registrations.\n var registry = this.__registry__ = new _container.Registry({\n fallback: base.__registry__\n });\n\n // Create a per-instance container from the instance's registry\n this.__container__ = registry.container({ owner: this });\n\n this._booted = false;\n },\n boot: function (options) {\n var _this = this;\n\n if (this._bootPromise) {\n return this._bootPromise;\n }\n\n this._bootPromise = new _emberRuntime.RSVP.Promise(function (resolve) {\n return resolve(_this._bootSync(options));\n });\n\n return this._bootPromise;\n },\n _bootSync: function (options) {\n if (this._booted) {\n return this;\n }\n\n false && !(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\n this.cloneParentDependencies();\n\n this.setupRegistry(options);\n\n this.base.runInstanceInitializers(this);\n\n this._booted = true;\n\n return this;\n },\n setupRegistry: function () {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.__container__.lookup('-environment:main');\n\n this.constructor.setupRegistry(this.__registry__, options);\n },\n unregister: function (fullName) {\n this.__container__.reset(fullName);\n this._super.apply(this, arguments);\n },\n buildChildEngineInstance: function (name) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\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\n (0, _engineParent.setEngineParent)(engineInstance, this);\n\n return engineInstance;\n },\n cloneParentDependencies: function () {\n var _this2 = this;\n\n var parent = (0, _engineParent.getEngineParent)(this);\n\n ['route:basic', 'service:-routing', 'service:-glimmer-environment'].forEach(function (key) {\n return _this2.register(key, parent.resolveRegistration(key));\n });\n\n var env = parent.lookup('-environment:main');\n this.register('-environment:main', env, { instantiate: false });\n\n var singletons = ['router:main', (0, _container.privatize)(_templateObject), '-view-registry:main', 'renderer:-' + (env.isInteractive ? 'dom' : 'inert'), 'service:-document', (0, _container.privatize)(_templateObject2)];\n\n if (env.isInteractive) {\n singletons.push('event_dispatcher:main');\n }\n\n singletons.forEach(function (key) {\n return _this2.register(key, parent.lookup(key), { instantiate: false });\n });\n\n this.inject('view', '_environment', '-environment:main');\n this.inject('route', '_environment', '-environment:main');\n }\n });\n\n EngineInstance.reopenClass({\n setupRegistry: function (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 exports.default = EngineInstance;\n});","enifed('@ember/engine/lib/engine-parent', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n 'use strict';\n\n exports.getEngineParent =\n\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 @module @ember/engine\n */\n function (engine) {\n return engine[ENGINE_PARENT];\n }\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 exports.setEngineParent = function (engine, parent) {\n engine[ENGINE_PARENT] = parent;\n };\n\n var ENGINE_PARENT = (0, _emberUtils.symbol)('ENGINE_PARENT');\n});","enifed(\"@ember/error/index\", [\"exports\", \"ember-babel\"], function (exports, _emberBabel) {\n \"use strict\";\n\n /**\n @module @ember/error\n */\n\n /**\n A subclass of the JavaScript Error object for use in Ember.\n \n @class EmberError\n @extends Error\n @constructor\n @public\n */\n\n var EmberError = function (_ExtendBuiltin) {\n (0, _emberBabel.inherits)(EmberError, _ExtendBuiltin);\n\n function EmberError(message) {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _ExtendBuiltin.call(this)),\n _ret;\n\n if (!(_this instanceof EmberError)) {\n\n return _ret = new EmberError(message), (0, _emberBabel.possibleConstructorReturn)(_this, _ret);\n }\n var error = Error.call(_this, message);\n _this.stack = error.stack;\n _this.description = error.description;\n _this.fileName = error.fileName;\n _this.lineNumber = error.lineNumber;\n _this.message = error.message;\n _this.name = error.name;\n _this.number = error.number;\n _this.code = error.code;\n return _this;\n }\n\n return EmberError;\n }(function (klass) {\n function ExtendableBuiltin() {\n klass.apply(this, arguments);\n }\n ExtendableBuiltin.prototype = Object.create(klass.prototype);\n ExtendableBuiltin.prototype.constructor = ExtendableBuiltin;\n return ExtendableBuiltin;\n }(Error));\n\n exports.default = EmberError;\n});","enifed('@ember/instrumentation/index', ['exports', 'ember-environment'], function (exports, _emberEnvironment) {\n 'use strict';\n\n exports.flaggedInstrument = exports.subscribers = undefined;\n exports.instrument = function (name, p1, p2, p3) {\n var payload = void 0;\n var callback = void 0;\n var binding = void 0;\n if (arguments.length <= 3 && typeof p1 === 'function') {\n payload = {};\n callback = p1;\n binding = p2;\n } else {\n payload = p1 || {};\n callback = p2;\n binding = p3;\n }\n if (subscribers.length === 0) {\n return callback.call(binding);\n }\n var finalizer = _instrumentStart(name, function () {\n return payload;\n });\n if (finalizer) {\n return withFinalizer(callback, finalizer, payload, binding);\n } else {\n return callback.call(binding);\n }\n };\n exports._instrumentStart = _instrumentStart;\n exports.subscribe =\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 function (pattern, object) {\n var paths = pattern.split('.'),\n i;\n var path = void 0;\n var regexes = [];\n for (i = 0; i < paths.length; i++) {\n path = paths[i];\n if (path === '*') {\n regexes.push('[^\\\\.]*');\n } else {\n regexes.push(path);\n }\n }\n var regex = regexes.join('\\\\.');\n regex = regex + '(\\\\..*)?';\n var subscriber = {\n pattern: pattern,\n regex: new RegExp('^' + regex + '$'),\n object: 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 exports.unsubscribe = function (subscriber) {\n var index = 0,\n i;\n for (i = 0; i < subscribers.length; i++) {\n if (subscribers[i] === subscriber) {\n index = i;\n }\n }\n subscribers.splice(index, 1);\n cache = {};\n }\n /**\n Resets `Instrumentation` by flushing list of subscribers.\n \n @method reset\n @for @ember/instrumentation\n @static\n @private\n */\n ;\n exports.reset = function () {\n subscribers.length = 0;\n cache = {};\n };\n\n /**\n @module @ember/instrumentation\n @private\n */\n /**\n The purpose of the Ember Instrumentation module is\n to provide efficient, general-purpose instrumentation\n for Ember.\n \n Subscribe to a listener by using `subscribe`:\n \n ```javascript\n import { subscribe } from '@ember/instrumentation';\n \n subscribe(\"render\", {\n before(name, timestamp, payload) {\n \n },\n \n after(name, timestamp, payload) {\n \n }\n });\n ```\n \n If you return a value from the `before` callback, that same\n value will be passed as a fourth parameter to the `after`\n callback.\n \n Instrument a block of code by using `instrument`:\n \n ```javascript\n import { instrument } from '@ember/instrumentation';\n \n instrument(\"render.handlebars\", payload, function() {\n // rendering logic\n }, binding);\n ```\n \n Event names passed to `instrument` are namespaced\n by periods, from more general to more specific. Subscribers\n can listen for events by whatever level of granularity they\n are interested in.\n \n In the above example, the event is `render.handlebars`,\n and the subscriber listened for all events beginning with\n `render`. It would receive callbacks for events named\n `render`, `render.handlebars`, `render.container`, or\n even `render.handlebars.layout`.\n \n @class Instrumentation\n @static\n @private\n */\n /* eslint no-console:off */\n /* global console */\n var subscribers = exports.subscribers = [];\n var cache = {};\n function populateListeners(name) {\n var listeners = [],\n i;\n var subscriber = void 0;\n for (i = 0; i < subscribers.length; i++) {\n subscriber = subscribers[i];\n if (subscriber.regex.test(name)) {\n listeners.push(subscriber.object);\n }\n }\n cache[name] = listeners;\n return listeners;\n }\n var time = function () {\n var perf = 'undefined' !== typeof window ? window.performance || {} : {};\n var fn = perf.now || perf.mozNow || perf.webkitNow || perf.msNow || perf.oNow;\n // fn.bind will be available in all the browsers that support the advanced window.performance... ;-)\n return fn ? fn.bind(perf) : function () {\n return +new Date();\n };\n }();\n\n var flaggedInstrument = void 0;\n\n exports.flaggedInstrument = flaggedInstrument = function (_name, _payload, callback) {\n return callback();\n };\n\n exports.flaggedInstrument = flaggedInstrument;\n\n function withFinalizer(callback, finalizer, payload, binding) {\n var result = void 0;\n try {\n result = callback.call(binding);\n } catch (e) {\n payload.exception = e;\n result = payload;\n } finally {\n finalizer();\n }\n return result;\n }\n function NOOP() {}\n function _instrumentStart(name, _payload, _payloadParam) {\n if (subscribers.length === 0) {\n return NOOP;\n }\n var listeners = cache[name];\n if (!listeners) {\n listeners = populateListeners(name);\n }\n if (listeners.length === 0) {\n return NOOP;\n }\n var payload = _payload(_payloadParam);\n var STRUCTURED_PROFILE = _emberEnvironment.ENV.STRUCTURED_PROFILE;\n var timeName = void 0;\n if (STRUCTURED_PROFILE) {\n timeName = name + ': ' + payload.object;\n console.time(timeName);\n }\n var beforeValues = new Array(listeners.length);\n var i = void 0;\n var listener = void 0;\n var timestamp = time();\n for (i = 0; i < listeners.length; i++) {\n listener = listeners[i];\n beforeValues[i] = listener.before(name, timestamp, payload);\n }\n return function () {\n var i = void 0;\n var listener = void 0;\n var timestamp = time();\n for (i = 0; i < listeners.length; i++) {\n listener = listeners[i];\n if (typeof listener.after === 'function') {\n listener.after(name, timestamp, payload, beforeValues[i]);\n }\n }\n if (STRUCTURED_PROFILE) {\n console.timeEnd(timeName);\n }\n };\n }\n});","enifed('@ember/map/index', ['exports', '@ember/debug', 'ember-utils', '@ember/map/lib/ordered-set', '@ember/map/lib/utils', '@ember/deprecated-features'], function (exports, _debug, _emberUtils, _orderedSet, _utils, _deprecatedFeatures) {\n 'use strict';\n\n /**\n @module @ember/map\n @private\n */\n\n var Map = void 0;\n\n if (_deprecatedFeatures.MAP) {\n /*\n JavaScript (before ES6) does not have a Map implementation. Objects,\n which are often used as dictionaries, may only have Strings as keys.\n Because Ember has a way to get a unique identifier for every object\n via `guidFor`, we can implement a performant Map with arbitrary\n keys. Because it is commonly used in low-level bookkeeping, Map is\n implemented as a pure JavaScript object for performance.\n This implementation follows the current iteration of the ES6 proposal for\n maps (http://wiki.ecmascript.org/doku.php?id=harmony:simple_maps_and_sets),\n with one exception: as we do not have the luxury of in-VM iteration, we implement a\n forEach method for iteration.\n Map is mocked out to look like an Ember object, so you can do\n `EmberMap.create()` for symmetry with other Ember classes.\n */\n\n /**\n A Map stores values indexed by keys. Unlike JavaScript's\n default Objects, the keys of a Map can be any JavaScript\n object.\n Internally, a Map has two data structures:\n 1. `keys`: an OrderedSet of all of the existing keys\n 2. `values`: a JavaScript Object indexed by the `guidFor(key)`\n When a key/value pair is added for the first time, we\n add the key to the `keys` OrderedSet, and create or\n replace an entry in `values`. When an entry is deleted,\n we delete its entry in `keys` and `values`.\n @class Map\n @private\n @constructor\n @deprecated use native `Map` instead.\n */\n Map = function () {\n function Map() {\n false && !false && (0, _debug.deprecate)('Use of @ember/Map is deprecated. Please use native `Map` instead', false, {\n id: 'ember-map-deprecation',\n until: '3.5.0'\n });\n\n this._keys = new _orderedSet.default();\n this._values = Object.create(null);\n this.size = 0;\n }\n\n /**\n @method create\n @static\n @private\n */\n\n Map.create = function () {\n var Constructor = this;\n return new Constructor();\n };\n\n Map.prototype.get = function (key) {\n if (this.size === 0) {\n return;\n }\n\n var values = this._values;\n var guid = (0, _emberUtils.guidFor)(key);\n\n return values[guid];\n };\n\n Map.prototype.set = function (key, value) {\n var keys = this._keys;\n var values = this._values;\n var guid = (0, _emberUtils.guidFor)(key);\n\n // ensure we don't store -0\n var k = key === -0 ? 0 : key; // eslint-disable-line no-compare-neg-zero\n\n keys.add(k, guid);\n\n values[guid] = value;\n\n this.size = keys.size;\n\n return this;\n };\n\n Map.prototype.delete = function (key) {\n if (this.size === 0) {\n return false;\n }\n // don't use ES6 \"delete\" because it will be annoying\n // to use in browsers that are not ES6 friendly;\n var keys = this._keys;\n var values = this._values;\n var guid = (0, _emberUtils.guidFor)(key);\n\n if (keys.delete(key, guid)) {\n delete values[guid];\n this.size = keys.size;\n return true;\n } else {\n return false;\n }\n };\n\n Map.prototype.has = function (key) {\n return this._keys.has(key);\n };\n\n Map.prototype.forEach = function (callback /*, ...thisArg*/) {\n false && !(typeof callback === 'function') && (0, _debug.assert)(Object.prototype.toString.call(callback) + ' is not a function', typeof callback === 'function');\n\n if (this.size === 0) {\n return;\n }\n\n var map = this;\n var cb = void 0,\n thisArg = void 0;\n\n if (arguments.length === 2) {\n thisArg = arguments[1];\n cb = function (key) {\n return callback.call(thisArg, map.get(key), key, map);\n };\n } else {\n cb = function (key) {\n return callback(map.get(key), key, map);\n };\n }\n\n this._keys.forEach(cb);\n };\n\n Map.prototype.clear = function () {\n this._keys.clear();\n this._values = Object.create(null);\n this.size = 0;\n };\n\n Map.prototype.copy = function () {\n return (0, _utils.copyMap)(this, new Map());\n };\n\n return Map;\n }();\n }\n\n exports.default = Map;\n});","enifed('@ember/map/lib/ordered-set', ['exports', 'ember-babel', '@ember/debug', 'ember-utils', '@ember/map/lib/utils', '@ember/deprecated-features'], function (exports, _emberBabel, _debug, _emberUtils, _utils, _deprecatedFeatures) {\n 'use strict';\n\n exports.__OrderedSet__ = undefined;\n\n /**\n This class is used internally by Ember and Ember Data.\n Please do not use it at this time. We plan to clean it up\n and add many tests soon.\n \n @class OrderedSet\n @namespace Ember\n @constructor\n @private\n @deprecated\n */\n var __OrderedSet__ = void 0,\n OrderedSet = void 0;\n /**\n * This is exported so it can be used by the OrderedSet library.\n * This is private do not use it.\n @private\n */\n\n if (_deprecatedFeatures.ORDERED_SET) {\n exports.__OrderedSet__ = __OrderedSet__ = function () {\n function __OrderedSet__() {\n\n this.clear();\n }\n /**\n @method create\n @static\n @return {Ember.OrderedSet}\n @private\n */\n\n __OrderedSet__.create = function () {\n var Constructor = this;\n return new Constructor();\n };\n\n /**\n @method clear\n @private\n */\n\n __OrderedSet__.prototype.clear = function () {\n this.presenceSet = Object.create(null);\n this.list = [];\n this.size = 0;\n };\n\n /**\n @method add\n @param obj\n @param guid (optional, and for internal use)\n @return {Ember.OrderedSet}\n @private\n */\n\n __OrderedSet__.prototype.add = function (obj, _guid) {\n var guid = _guid || (0, _emberUtils.guidFor)(obj);\n var presenceSet = this.presenceSet;\n var list = this.list;\n\n if (presenceSet[guid] !== true) {\n presenceSet[guid] = true;\n this.size = list.push(obj);\n }\n\n return this;\n };\n\n /**\n @since 1.8.0\n @method delete\n @param obj\n @param _guid (optional and for internal use only)\n @return {Boolean}\n @private\n */\n\n __OrderedSet__.prototype.delete = function (obj, _guid) {\n var guid = _guid || (0, _emberUtils.guidFor)(obj),\n index;\n var presenceSet = this.presenceSet;\n var list = this.list;\n\n if (presenceSet[guid] === true) {\n delete presenceSet[guid];\n index = list.indexOf(obj);\n\n if (index > -1) {\n list.splice(index, 1);\n }\n this.size = list.length;\n return true;\n } else {\n return false;\n }\n };\n\n /**\n @method isEmpty\n @return {Boolean}\n @private\n */\n\n __OrderedSet__.prototype.isEmpty = function () {\n return this.size === 0;\n };\n\n /**\n @method has\n @param obj\n @return {Boolean}\n @private\n */\n\n __OrderedSet__.prototype.has = function (obj) {\n if (this.size === 0) {\n return false;\n }\n\n var guid = (0, _emberUtils.guidFor)(obj);\n var presenceSet = this.presenceSet;\n\n return presenceSet[guid] === true;\n };\n\n /**\n @method forEach\n @param {Function} fn\n @param self\n @private\n */\n\n __OrderedSet__.prototype.forEach = function (fn /*, ...thisArg*/) {\n false && !(typeof fn === 'function') && (0, _debug.assert)(Object.prototype.toString.call(fn) + ' is not a function', typeof fn === 'function');\n\n if (this.size === 0) {\n return;\n }\n\n var list = this.list,\n i,\n _i;\n\n if (arguments.length === 2) {\n for (i = 0; i < list.length; i++) {\n fn.call(arguments[1], list[i]);\n }\n } else {\n for (_i = 0; _i < list.length; _i++) {\n fn(list[_i]);\n }\n }\n };\n\n /**\n @method toArray\n @return {Array}\n @private\n */\n\n __OrderedSet__.prototype.toArray = function () {\n return this.list.slice();\n };\n\n /**\n @method copy\n @return {Ember.OrderedSet}\n @private\n */\n\n __OrderedSet__.prototype.copy = function () {\n var Constructor = this.constructor;\n var set = new Constructor();\n\n set.presenceSet = (0, _utils.copyNull)(this.presenceSet);\n set.list = this.toArray();\n set.size = this.size;\n\n return set;\n };\n\n return __OrderedSet__;\n }();\n\n OrderedSet = function (_OrderedSet__) {\n (0, _emberBabel.inherits)(OrderedSet, _OrderedSet__);\n\n function OrderedSet() {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _OrderedSet__.call(this));\n\n false && !false && (0, _debug.deprecate)('Use of @ember/OrderedSet is deprecated. Please use native `Map` instead', false, {\n id: 'ember-map-deprecation',\n until: '3.5.0'\n });\n return _this;\n }\n\n return OrderedSet;\n }(__OrderedSet__);\n }\n\n exports.__OrderedSet__ = __OrderedSet__;\n exports.default = OrderedSet;\n});","enifed('@ember/map/lib/utils', ['exports', '@ember/deprecated-features'], function (exports, _deprecatedFeatures) {\n 'use strict';\n\n exports.copyNull = exports.copyMap = undefined;\n\n var copyNull = void 0,\n copyMap = void 0;\n\n if (_deprecatedFeatures.MAP || _deprecatedFeatures.ORDERED_SET) {\n exports.copyNull = copyNull = function (obj) {\n var output = Object.create(null);\n\n for (var prop in obj) {\n // hasOwnPropery is not needed because obj is Object.create(null);\n output[prop] = obj[prop];\n }\n\n return output;\n };\n\n exports.copyMap = copyMap = function (original, newObject) {\n var keys = original._keys.copy();\n var values = copyNull(original._values);\n\n newObject._keys = keys;\n newObject._values = values;\n newObject.size = original.size;\n\n return newObject;\n };\n }\n\n exports.copyMap = copyMap;\n exports.copyNull = copyNull;\n});","enifed('@ember/map/with-default', ['exports', 'ember-babel', '@ember/debug', '@ember/map/index', '@ember/map/lib/utils', '@ember/deprecated-features'], function (exports, _emberBabel, _debug, _index, _utils, _deprecatedFeatures) {\n 'use strict';\n\n var MapWithDefault = void 0;\n\n if (_deprecatedFeatures.MAP) {\n /**\n @class MapWithDefault\n @extends Map\n @private\n @constructor\n @param [options]\n @param {*} [options.defaultValue]\n */\n MapWithDefault = function (_Map) {\n (0, _emberBabel.inherits)(MapWithDefault, _Map);\n\n function MapWithDefault(options) {\n false && !false && (0, _debug.deprecate)('Use of @ember/MapWithDefault is deprecated. Please use native `Map` instead', false, {\n id: 'ember-map-deprecation',\n until: '3.5.0'\n });\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _Map.call(this));\n\n _this.defaultValue = options.defaultValue;\n return _this;\n }\n\n /**\n @method create\n @static\n @param [options]\n @param {*} [options.defaultValue]\n @return {MapWithDefault|Map} If options are passed, returns\n `MapWithDefault` otherwise returns `EmberMap`\n @private\n @deprecated use native `Map` instead\n */\n\n MapWithDefault.create = function (options) {\n if (options) {\n return new MapWithDefault(options);\n } else {\n return new _index.default();\n }\n };\n\n MapWithDefault.prototype.get = function (key) {\n var hasValue = this.has(key),\n defaultValue;\n\n if (hasValue) {\n return _Map.prototype.get.call(this, key);\n } else {\n defaultValue = this.defaultValue(key);\n\n this.set(key, defaultValue);\n return defaultValue;\n }\n };\n\n MapWithDefault.prototype.copy = function () {\n var Constructor = this.constructor;\n return (0, _utils.copyMap)(this, new Constructor({\n defaultValue: this.defaultValue\n }));\n };\n\n return MapWithDefault;\n }(_index.default);\n }\n\n exports.default = MapWithDefault;\n});","enifed('@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, '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});","enifed('@ember/object/lib/computed/computed_macros', ['exports', 'ember-metal', '@ember/debug'], function (exports, _emberMetal, _debug) {\n 'use strict';\n\n exports.or = exports.and = undefined;\n exports.empty =\n\n /**\n A computed property 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 { empty } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('isDone'); // false\n todoList.get('todos').clear();\n todoList.get('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\n the value of the dependent property is null, an empty string, empty array,\n or empty function and false if the underlying value is not empty.\n \n @public\n */\n function (dependentKey) {\n return (0, _emberMetal.computed)(dependentKey + '.length', function () {\n return (0, _emberMetal.isEmpty)((0, _emberMetal.get)(this, dependentKey));\n });\n }\n\n /**\n A computed property that returns true if the value of the dependent\n property is NOT null, an empty string, empty array, or empty function.\n \n Example\n \n ```javascript\n import { notEmpty } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasStuff: notEmpty('backpack')\n });\n \n let hamster = Hamster.create({ backpack: ['Food', 'Sleeping Bag', 'Tent'] });\n \n hamster.get('hasStuff'); // true\n hamster.get('backpack').clear(); // []\n hamster.get('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\n original value for property is not empty.\n @public\n */\n ;\n exports.notEmpty = function (dependentKey) {\n return (0, _emberMetal.computed)(dependentKey + '.length', function () {\n return !(0, _emberMetal.isEmpty)((0, _emberMetal.get)(this, dependentKey));\n });\n }\n\n /**\n A computed property that returns true if the value of the dependent\n property is null or undefined. This avoids errors from JSLint complaining\n about use of ==, which can be technically confusing.\n \n Example\n \n ```javascript\n import { none } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n isHungry: none('food')\n });\n \n let hamster = Hamster.create();\n \n hamster.get('isHungry'); // true\n hamster.set('food', 'Banana');\n hamster.get('isHungry'); // false\n hamster.set('food', null);\n hamster.get('isHungry'); // true\n ```\n \n @method none\n @static\n @for @ember/object/computed\n @param {String} dependentKey\n @return {ComputedProperty} computed property which\n returns true if original value for property is null or undefined.\n @public\n */\n ;\n exports.none = function (dependentKey) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.isNone)((0, _emberMetal.get)(this, dependentKey));\n });\n }\n\n /**\n A computed property that returns the inverse boolean value\n of the original value for the dependent property.\n \n Example\n \n ```javascript\n import { not } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n isAnonymous: not('loggedIn')\n });\n \n let user = User.create({loggedIn: false});\n \n user.get('isAnonymous'); // true\n user.set('loggedIn', true);\n user.get('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\n inverse of the original value for property\n @public\n */\n ;\n exports.not = function (dependentKey) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return !(0, _emberMetal.get)(this, dependentKey);\n });\n }\n\n /**\n A computed property that converts the provided dependent property\n into a boolean value.\n \n ```javascript\n import { bool } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasBananas: bool('numBananas')\n });\n \n let hamster = Hamster.create();\n \n hamster.get('hasBananas'); // false\n hamster.set('numBananas', 0);\n hamster.get('hasBananas'); // false\n hamster.set('numBananas', 1);\n hamster.get('hasBananas'); // true\n hamster.set('numBananas', null);\n hamster.get('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\n to boolean the original value for property\n @public\n */\n ;\n exports.bool = function (dependentKey) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return !!(0, _emberMetal.get)(this, dependentKey);\n });\n }\n\n /**\n A computed property which matches the original value for the\n dependent property against a given RegExp, returning `true`\n if the value matches the RegExp and `false` if it does not.\n \n Example\n \n ```javascript\n import { match } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n hasValidEmail: match('email', /^.+@.+\\..+$/)\n });\n \n let user = User.create({loggedIn: false});\n \n user.get('hasValidEmail'); // false\n user.set('email', '');\n user.get('hasValidEmail'); // false\n user.set('email', 'ember_hamster@example.com');\n user.get('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\n the original value for property against a given RegExp\n @public\n */\n ;\n exports.match = function (dependentKey, regexp) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n var value = (0, _emberMetal.get)(this, dependentKey);\n return regexp.test(value);\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is equal to the given value.\n \n Example\n \n ```javascript\n import { equal } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n satisfied: equal('percentCarrotsEaten', 100)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('satisfied'); // false\n hamster.set('percentCarrotsEaten', 100);\n hamster.get('satisfied'); // true\n hamster.set('percentCarrotsEaten', 50);\n hamster.get('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\n the original value for property is equal to the given value.\n @public\n */\n ;\n exports.equal = function (dependentKey, value) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.get)(this, dependentKey) === value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is greater than the provided value.\n \n Example\n \n ```javascript\n import { gt } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasTooManyBananas: gt('numBananas', 10)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 3);\n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 11);\n hamster.get('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\n the original value for property is greater than given value.\n @public\n */\n ;\n exports.gt = function (dependentKey, value) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.get)(this, dependentKey) > value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is greater than or equal to the provided value.\n \n Example\n \n ```javascript\n import { gte } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasTooManyBananas: gte('numBananas', 10)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 3);\n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 10);\n hamster.get('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\n the original value for property is greater or equal then given value.\n @public\n */\n ;\n exports.gte = function (dependentKey, value) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.get)(this, dependentKey) >= value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is less than the provided value.\n \n Example\n \n ```javascript\n import { lt } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n needsMoreBananas: lt('numBananas', 3)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('needsMoreBananas'); // true\n hamster.set('numBananas', 3);\n hamster.get('needsMoreBananas'); // false\n hamster.set('numBananas', 2);\n hamster.get('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\n the original value for property is less then given value.\n @public\n */\n ;\n exports.lt = function (dependentKey, value) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.get)(this, dependentKey) < value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is less than or equal to the provided value.\n \n Example\n \n ```javascript\n import { lte } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n needsMoreBananas: lte('numBananas', 3)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('needsMoreBananas'); // true\n hamster.set('numBananas', 5);\n hamster.get('needsMoreBananas'); // false\n hamster.set('numBananas', 3);\n hamster.get('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\n the original value for property is less or equal than given value.\n @public\n */\n ;\n exports.lte = function (dependentKey, value) {\n return (0, _emberMetal.computed)(dependentKey, function () {\n return (0, _emberMetal.get)(this, dependentKey) <= value;\n });\n }\n\n /**\n A computed property that performs a logical `and` on the\n original values for the provided dependent properties.\n \n You may pass in more than two properties and even use\n property brace expansion. The computed property will\n return the first falsy value or last truthy value\n just like JavaScript's `&&` operator.\n \n Example\n \n ```javascript\n import { and } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('readyForCamp'); // false\n tomster.set('hasTent', true);\n tomster.get('readyForCamp'); // false\n tomster.set('hasBackpack', true);\n tomster.get('readyForCamp'); // true\n tomster.set('hasBackpack', 'Yes');\n tomster.get('readyForCamp'); // 'Yes'\n tomster.set('hasWalkingStick', null);\n tomster.get('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\n a logical `and` on the values of all the original values for properties.\n @public\n */\n ;\n exports.oneWay =\n\n /**\n Creates a new property that is an alias for another property\n on an object. Calls to `get` or `set` this property behave as\n though they were called on the original property.\n \n ```javascript\n import { alias } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Person = EmberObject.extend({\n name: 'Alex Matchneer',\n nomen: alias('name')\n });\n \n let alex = Person.create();\n \n alex.get('nomen'); // 'Alex Matchneer'\n alex.get('name'); // 'Alex Matchneer'\n \n alex.set('nomen', '@machty');\n alex.get('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\n alias to the 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\n become the value set. This causes the downstream property to permanently\n diverge from the upstream property.\n \n Example\n \n ```javascript\n import { oneWay } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n firstName: null,\n lastName: null,\n nickName: oneWay('firstName')\n });\n \n let teddy = User.create({\n firstName: 'Teddy',\n lastName: 'Zeenny'\n });\n \n teddy.get('nickName'); // 'Teddy'\n teddy.set('nickName', 'TeddyBear'); // 'TeddyBear'\n teddy.get('firstName'); // 'Teddy'\n ```\n \n @method oneWay\n @static\n @for @ember/object/computed\n @param {String} dependentKey\n @return {ComputedProperty} computed property which creates a\n one way computed property to the original value for property.\n @public\n */\n function (dependentKey) {\n return (0, _emberMetal.alias)(dependentKey).oneWay();\n }\n\n /**\n This is a more semantically meaningful alias of `computed.oneWay`,\n whose name is somewhat ambiguous as to which direction the data flows.\n \n @method reads\n @static\n @for @ember/object/computed\n @param {String} dependentKey\n @return {ComputedProperty} computed property which creates a\n one way computed 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 { readOnly } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n firstName: null,\n lastName: null,\n nickName: readOnly('firstName')\n });\n \n let teddy = User.create({\n firstName: 'Teddy',\n lastName: 'Zeenny'\n });\n \n teddy.get('nickName'); // 'Teddy'\n teddy.set('nickName', 'TeddyBear'); // throws Exception\n // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n teddy.get('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\n one way computed property to the original value for property.\n @since 1.5.0\n @public\n */\n ;\n exports.readOnly = function (dependentKey) {\n return (0, _emberMetal.alias)(dependentKey).readOnly();\n }\n\n /**\n Creates a new property that is an alias for another property\n on an object. Calls to `get` or `set` this property behave as\n though they were called on the original property, but also\n print a deprecation warning.\n \n ```javascript\n import { deprecatingAlias } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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 hamster.set('bananaCount', 5); // Prints a deprecation warning.\n hamster.get('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\n alias with a deprecation to the original value for property.\n @since 1.7.0\n @public\n */\n ;\n exports.deprecatingAlias = function (dependentKey, options) {\n return (0, _emberMetal.computed)(dependentKey, {\n get: function (key) {\n false && !false && (0, _debug.deprecate)('Usage of `' + key + '` is deprecated, use `' + dependentKey + '` instead.', false, options);\n\n return (0, _emberMetal.get)(this, dependentKey);\n },\n set: function (key, value) {\n false && !false && (0, _debug.deprecate)('Usage of `' + key + '` is deprecated, use `' + dependentKey + '` instead.', false, options);\n\n (0, _emberMetal.set)(this, dependentKey, value);\n return value;\n }\n });\n };\n\n /**\n @module @ember/object\n */\n\n function expandPropertiesToArray(predicateName, properties) {\n var expandedProperties = [],\n i,\n property;\n\n function extractProperty(entry) {\n expandedProperties.push(entry);\n }\n\n for (i = 0; i < properties.length; i++) {\n property = properties[i];\n\n false && !(property.indexOf(' ') < 0) && (0, _debug.assert)('Dependent keys passed to computed.' + predicateName + '() can\\'t have spaces.', property.indexOf(' ') < 0);\n\n (0, _emberMetal.expandProperties)(property, extractProperty);\n }\n\n return expandedProperties;\n }\n\n function generateComputedWithPredicate(name, predicate) {\n return function () {\n for (_len = arguments.length, properties = Array(_len), _key = 0; _key < _len; _key++) {\n properties[_key] = arguments[_key];\n }\n\n var dependentKeys = expandPropertiesToArray(name, properties),\n _len,\n properties,\n _key;\n\n var computedFunc = new _emberMetal.ComputedProperty(function () {\n var lastIdx = dependentKeys.length - 1,\n i,\n value;\n\n for (i = 0; i < lastIdx; i++) {\n value = (0, _emberMetal.get)(this, dependentKeys[i]);\n\n if (!predicate(value)) {\n return value;\n }\n }\n\n return (0, _emberMetal.get)(this, dependentKeys[lastIdx]);\n }, { dependentKeys: dependentKeys });\n\n return computedFunc;\n };\n }exports.and = generateComputedWithPredicate('and', function (value) {\n return value;\n });\n\n /**\n A computed property which performs a logical `or` on the\n original values for the provided dependent properties.\n \n You may pass in more than two properties and even use\n property brace expansion. The computed property will\n return the first truthy value or last falsy value just\n like JavaScript's `||` operator.\n \n Example\n \n ```javascript\n import { or } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('readyForRain'); // undefined\n tomster.set('hasUmbrella', true);\n tomster.get('readyForRain'); // true\n tomster.set('hasJacket', 'Yes');\n tomster.get('readyForRain'); // 'Yes'\n tomster.set('hasSunscreen', 'Check');\n tomster.get('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\n a logical `or` on the values of all the original values for properties.\n @public\n */\n\n exports.or = generateComputedWithPredicate('or', function (value) {\n return !value;\n });\n});","enifed('@ember/object/lib/computed/reduce_computed_macros', ['exports', '@ember/debug', 'ember-metal', 'ember-runtime'], function (exports, _debug, _emberMetal, _emberRuntime) {\n 'use strict';\n\n exports.union = undefined;\n exports.sum =\n\n /**\n A computed property that returns the sum of the values\n in the dependent array.\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 dependentKey's array\n @since 1.4.0\n @public\n */\n function (dependentKey) {\n return reduceMacro(dependentKey, function (sum, item) {\n return sum + item;\n }, 0, 'sum');\n }\n\n /**\n A computed property that calculates the maximum value in the\n dependent array. This will return `-Infinity` when the dependent\n array is empty.\n \n ```javascript\n import { mapBy, max } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('maxChildAge'); // -Infinity\n lordByron.get('children').pushObject({\n name: 'Augusta Ada Byron', age: 7\n });\n lordByron.get('maxChildAge'); // 7\n lordByron.get('children').pushObjects([{\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }]);\n lordByron.get('maxChildAge'); // 8\n ```\n \n If the types of the arguments are not numbers,\n they will be converted to numbers and the type\n of the return value will always be `Number`.\n For example, the max of a list of Date objects will be\n 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 array\n @public\n */\n ;\n exports.max = function (dependentKey) {\n return reduceMacro(dependentKey, function (max, item) {\n return Math.max(max, item);\n }, -Infinity, 'max');\n }\n\n /**\n A computed property that calculates the minimum value in the\n dependent array. This will return `Infinity` when the dependent\n array is empty.\n \n ```javascript\n import { mapBy, min } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('minChildAge'); // Infinity\n lordByron.get('children').pushObject({\n name: 'Augusta Ada Byron', age: 7\n });\n lordByron.get('minChildAge'); // 7\n lordByron.get('children').pushObjects([{\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }]);\n lordByron.get('minChildAge'); // 5\n ```\n \n If the types of the arguments are not numbers,\n they will be converted to numbers and the type\n of the return value will always be `Number`.\n For example, the min of a list of Date objects will be\n 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 exports.min = function (dependentKey) {\n return reduceMacro(dependentKey, function (min, item) {\n return Math.min(min, item);\n }, Infinity, 'min');\n }\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(item, index);\n ```\n \n Example\n \n ```javascript\n import { map } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('excitingChores'); // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n ```\n \n @method map\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {Function} callback\n @return {ComputedProperty} an array mapped via the callback\n @public\n */\n ;\n exports.map = map;\n exports.mapBy =\n\n /**\n Returns an array mapped to the specified key.\n \n ```javascript\n import { mapBy } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Person = EmberObject.extend({\n childAges: mapBy('children', 'age')\n });\n \n let lordByron = Person.create({ children: [] });\n \n lordByron.get('childAges'); // []\n lordByron.get('children').pushObject({ name: 'Augusta Ada Byron', age: 7 });\n lordByron.get('childAges'); // [7]\n lordByron.get('children').pushObjects([{\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }]);\n lordByron.get('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 function (dependentKey, propertyKey) {\n false && !(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 false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)('Dependent key passed to `computed.mapBy` shouldn\\'t contain brace expanding pattern.', !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n return map(dependentKey + '.@each.' + propertyKey, function (item) {\n return (0, _emberMetal.get)(item, propertyKey);\n });\n }\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(item, index, array);\n ```\n \n ```javascript\n import { filter } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('remainingChores'); // [{name: 'write more unit tests', done: false}]\n ```\n \n You can also use `@each.property` in your dependent key, the callback will still use the underlying array:\n \n ```javascript\n import { A } from '@ember/array';\n import { filter } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n remainingChores: filter('chores.@each.done', function(chore, index, array) {\n return !chore.get('done');\n })\n });\n \n let hamster = Hamster.create({\n chores: A([\n EmberObject.create({ name: 'cook', done: true }),\n EmberObject.create({ name: 'clean', done: true }),\n EmberObject.create({ name: 'write more unit tests', done: false })\n ])\n });\n hamster.get('remainingChores'); // [{name: 'write more unit tests', done: false}]\n hamster.get('chores').objectAt(2).set('done', true);\n hamster.get('remainingChores'); // []\n ```\n \n \n @method filter\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {Function} callback\n @return {ComputedProperty} the filtered array\n @public\n */\n ;\n exports.filter = filter;\n exports.filterBy =\n\n /**\n Filters the array by the property and value\n \n ```javascript\n import { filterBy } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('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 function (dependentKey, propertyKey, value) {\n false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)('Dependent key passed to `computed.filterBy` shouldn\\'t contain brace expanding pattern.', !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n var callback = void 0;\n if (arguments.length === 2) {\n callback = function (item) {\n return (0, _emberMetal.get)(item, propertyKey);\n };\n } else {\n callback = function (item) {\n return (0, _emberMetal.get)(item, propertyKey) === value;\n };\n }\n\n return filter(dependentKey + '.@each.' + propertyKey, callback);\n }\n\n /**\n A computed property which returns a new array with all the unique\n elements from one or more dependent arrays.\n \n Example\n \n ```javascript\n import { uniq } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('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 exports.uniq = uniq;\n exports.uniqBy =\n\n /**\n A computed property which returns a new array with all the unique\n elements from an array, with uniqueness determined by specific key.\n \n Example\n \n ```javascript\n import { uniqBy } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n uniqueFruits: uniqBy('fruits', 'id')\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 hamster.get('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 function (dependentKey, propertyKey) {\n false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)('Dependent key passed to `computed.uniqBy` shouldn\\'t contain brace expanding pattern.', !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n var cp = new _emberMetal.ComputedProperty(function () {\n var list = (0, _emberMetal.get)(this, dependentKey);\n return (0, _emberRuntime.isArray)(list) ? (0, _emberRuntime.uniqBy)(list, propertyKey) : (0, _emberRuntime.A)();\n }, { dependentKeys: [dependentKey + '.[]'], readOnly: true });\n\n return cp;\n }\n\n /**\n A computed property which returns a new array with all the unique\n elements from one or more dependent arrays.\n \n Example\n \n ```javascript\n import { union } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('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\n unique elements from the dependent array\n @public\n */\n ;\n exports.intersect =\n\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 { intersect } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let obj = EmberObject.extend({\n friendsInCommon: intersect('adaFriends', 'charlesFriends')\n }).create({\n adaFriends: ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n charlesFriends: ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n });\n \n obj.get('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\n duplicated elements from the dependent arrays\n @public\n */\n function () {\n var _len2, args, _key2;\n\n for (_len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return multiArrayMacro(args, function (dependentKeys) {\n var _this2 = this;\n\n var arrays = dependentKeys.map(function (dependentKey) {\n var array = (0, _emberMetal.get)(_this2, dependentKey);\n return (0, _emberRuntime.isArray)(array) ? array : [];\n });\n\n var results = arrays.pop().filter(function (candidate) {\n var i, found, array, j;\n\n for (i = 0; i < arrays.length; i++) {\n found = false;\n array = arrays[i];\n\n for (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 }, 'intersect');\n\n return (0, _emberRuntime.A)(results);\n });\n }\n\n /**\n A computed property which returns a new array with all the\n properties from the first dependent array that are not in the second\n dependent array.\n \n Example\n \n ```javascript\n import { setDiff } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n likes: ['banana', 'grape', 'kale'],\n wants: setDiff('likes', 'fruits')\n });\n \n let hamster = Hamster.create({\n fruits: [\n 'grape',\n 'kale',\n ]\n });\n \n hamster.get('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\n items from the first dependent array that are not in the second\n dependent array\n @public\n */\n ;\n exports.setDiff = function (setAProperty, setBProperty) {\n false && !(arguments.length === 2) && (0, _debug.assert)('`computed.setDiff` requires exactly two dependent arrays.', arguments.length === 2);\n false && !(!/[\\[\\]\\{\\}]/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\n var cp = new _emberMetal.ComputedProperty(function () {\n var setA = this.get(setAProperty);\n var setB = this.get(setBProperty);\n\n if (!(0, _emberRuntime.isArray)(setA)) {\n return (0, _emberRuntime.A)();\n }\n if (!(0, _emberRuntime.isArray)(setB)) {\n return (0, _emberRuntime.A)(setA);\n }\n\n return setA.filter(function (x) {\n return setB.indexOf(x) === -1;\n });\n }, {\n dependentKeys: [setAProperty + '.[]', setBProperty + '.[]'],\n readOnly: true\n });\n\n return cp;\n }\n\n /**\n A computed property that returns the array of values\n for the provided dependent properties.\n \n Example\n \n ```javascript\n import { collect } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n clothes: collect('hat', 'shirt')\n });\n \n let hamster = Hamster.create();\n \n hamster.get('clothes'); // [null, null]\n hamster.set('hat', 'Camp Hat');\n hamster.set('shirt', 'Camp Shirt');\n hamster.get('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\n values of all passed in properties to an array.\n @public\n */\n ;\n exports.collect = function () {\n var _len3, dependentKeys, _key3;\n\n for (_len3 = arguments.length, dependentKeys = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n dependentKeys[_key3] = arguments[_key3];\n }\n\n return multiArrayMacro(dependentKeys, function () {\n var properties = (0, _emberMetal.getProperties)(this, dependentKeys);\n var res = (0, _emberRuntime.A)();\n for (var key in properties) {\n if (properties.hasOwnProperty(key)) {\n if (properties[key] === undefined) {\n res.push(null);\n } else {\n res.push(properties[key]);\n }\n }\n }\n return res;\n }, 'collect');\n }\n\n /**\n A computed property which returns a new array with all the\n properties from the first dependent array sorted based on a property\n or sort function.\n \n The callback method you provide should have the following signature:\n \n ```javascript\n function(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 come before\n `itemB`. It should return positive number (e.g. `1`) when `itemA` should come after\n `itemB`. If the `itemA` and `itemB` are equal this function should return `0`.\n \n Therefore, if this function is comparing some numeric values, simple `itemA - itemB` or\n `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of series of `if`.\n \n Example\n \n ```javascript\n import { sort } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let ToDoList = EmberObject.extend({\n // using standard ascending sort\n todosSorting: Object.freeze(['name']),\n sortedTodos: sort('todos', 'todosSorting'),\n \n // using descending sort\n todosSortingDesc: Object.freeze(['name:desc']),\n sortedTodosDesc: sort('todos', 'todosSortingDesc'),\n \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({todos: [\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n ]});\n \n todoList.get('sortedTodos'); // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\n todoList.get('sortedTodosDesc'); // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n todoList.get('priorityTodos'); // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n ```\n \n @method sort\n @for @ember/object/computed\n @static\n @param {String} itemsKey\n @param {String or Function} sortDefinition a dependent key to an\n array of sort properties (add `:desc` to the arrays sort properties to sort descending) or a function to use when sorting\n @return {ComputedProperty} computes a new sorted array based\n on the sort property array or callback function\n @public\n */\n ;\n exports.sort = function (itemsKey, sortDefinition) {\n false && !(arguments.length === 2) && (0, _debug.assert)('`computed.sort` requires two arguments: an array key to sort and ' + 'either a sort properties key or sort function', arguments.length === 2);\n\n if (typeof sortDefinition === 'function') {\n return customSort(itemsKey, sortDefinition);\n } else {\n return propertySort(itemsKey, sortDefinition);\n }\n };\n\n function reduceMacro(dependentKey, callback, initialValue, name) {\n false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)('Dependent key passed to `computed.' + name + '` shouldn\\'t contain brace expanding pattern.', !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n var cp = new _emberMetal.ComputedProperty(function () {\n var arr = (0, _emberMetal.get)(this, dependentKey);\n if (arr === null || typeof arr !== 'object') {\n return initialValue;\n }\n return arr.reduce(callback, initialValue, this);\n }, { dependentKeys: [dependentKey + '.[]'], readOnly: true });\n\n return cp;\n } /**\n @module @ember/object\n */\n\n function arrayMacro(dependentKey, callback) {\n // This is a bit ugly\n var propertyName = void 0;\n if (/@each/.test(dependentKey)) {\n propertyName = dependentKey.replace(/\\.@each.*$/, '');\n } else {\n propertyName = dependentKey;\n dependentKey += '.[]';\n }\n\n var cp = new _emberMetal.ComputedProperty(function () {\n var value = (0, _emberMetal.get)(this, propertyName);\n if ((0, _emberRuntime.isArray)(value)) {\n return (0, _emberRuntime.A)(callback.call(this, value));\n } else {\n return (0, _emberRuntime.A)();\n }\n }, { readOnly: true });\n\n cp.property(dependentKey); // this forces to expand properties GH #15855\n\n return cp;\n }\n\n function multiArrayMacro(_dependentKeys, callback, name) {\n false && !_dependentKeys.every(function (dependentKey) {\n return !/[\\[\\]\\{\\}]/g.test(dependentKey);\n }) && (0, _debug.assert)('Dependent keys passed to `computed.' + name + '` shouldn\\'t contain brace expanding pattern.', _dependentKeys.every(function (dependentKey) {\n return !/[\\[\\]\\{\\}]/g.test(dependentKey);\n }));\n\n var dependentKeys = _dependentKeys.map(function (key) {\n return key + '.[]';\n });\n\n var cp = new _emberMetal.ComputedProperty(function () {\n return (0, _emberRuntime.A)(callback.call(this, _dependentKeys));\n }, { dependentKeys: dependentKeys, readOnly: true });\n\n return cp;\n }function map(dependentKey, callback) {\n return arrayMacro(dependentKey, function (value) {\n return value.map(callback, this);\n });\n }function filter(dependentKey, callback) {\n return arrayMacro(dependentKey, function (value) {\n return value.filter(callback, this);\n });\n }function uniq() {\n var _len, args, _key;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return multiArrayMacro(args, function (dependentKeys) {\n var _this = this;\n\n var uniq = (0, _emberRuntime.A)();\n var seen = new Set();\n\n dependentKeys.forEach(function (dependentKey) {\n var value = (0, _emberMetal.get)(_this, dependentKey);\n if ((0, _emberRuntime.isArray)(value)) {\n value.forEach(function (item) {\n if (!seen.has(item)) {\n seen.add(item);\n uniq.push(item);\n }\n });\n }\n });\n\n return uniq;\n }, 'uniq');\n }exports.union = uniq;\n\n\n function customSort(itemsKey, comparator) {\n return arrayMacro(itemsKey, function (value) {\n var _this3 = this;\n\n return value.slice().sort(function (x, y) {\n return comparator.call(_this3, x, y);\n });\n });\n }\n\n // This one needs to dynamically set up and tear down observers on the itemsKey\n // depending on the sortProperties\n function propertySort(itemsKey, sortPropertiesKey) {\n var cp = new _emberMetal.ComputedProperty(function (key) {\n var _this4 = this,\n path;\n\n var sortProperties = (0, _emberMetal.get)(this, sortPropertiesKey);\n\n false && !((0, _emberRuntime.isArray)(sortProperties) && sortProperties.every(function (s) {\n return typeof s === 'string';\n })) && (0, _debug.assert)('The sort definition for \\'' + key + '\\' on ' + this + ' must be a function or an array of strings', (0, _emberRuntime.isArray)(sortProperties) && sortProperties.every(function (s) {\n return typeof s === 'string';\n }));\n\n // Add/remove property observers as required.\n var activeObserversMap = cp._activeObserverMap || (cp._activeObserverMap = new WeakMap());\n var activeObservers = activeObserversMap.get(this);\n\n if (activeObservers !== undefined) {\n activeObservers.forEach(function (args) {\n return _emberMetal.removeObserver.apply(undefined, args);\n });\n }\n\n function sortPropertyDidChange() {\n this.notifyPropertyChange(key);\n }\n\n var itemsKeyIsAtThis = itemsKey === '@this';\n var normalizedSortProperties = normalizeSortProperties(sortProperties);\n if (normalizedSortProperties.length === 0) {\n path = itemsKeyIsAtThis ? '[]' : itemsKey + '.[]';\n\n (0, _emberMetal.addObserver)(this, path, sortPropertyDidChange);\n activeObservers = [[this, path, sortPropertyDidChange]];\n } else {\n activeObservers = normalizedSortProperties.map(function (_ref) {\n var prop = _ref[0];\n\n var path = itemsKeyIsAtThis ? '@each.' + prop : itemsKey + '.@each.' + prop;\n (0, _emberMetal.addObserver)(_this4, path, sortPropertyDidChange);\n return [_this4, path, sortPropertyDidChange];\n });\n }\n\n activeObserversMap.set(this, activeObservers);\n\n var items = itemsKeyIsAtThis ? this : (0, _emberMetal.get)(this, itemsKey);\n if (!(0, _emberRuntime.isArray)(items)) {\n return (0, _emberRuntime.A)();\n }\n\n if (normalizedSortProperties.length === 0) {\n return (0, _emberRuntime.A)(items.slice());\n } else {\n return sortByNormalizedSortProperties(items, normalizedSortProperties);\n }\n }, { dependentKeys: [sortPropertiesKey + '.[]'], readOnly: true });\n\n cp._activeObserverMap = undefined;\n\n return cp;\n }\n\n function normalizeSortProperties(sortProperties) {\n return sortProperties.map(function (p) {\n var _p$split = p.split(':'),\n prop = _p$split[0],\n direction = _p$split[1];\n\n direction = direction || 'asc';\n\n return [prop, direction];\n });\n }\n\n function sortByNormalizedSortProperties(items, normalizedSortProperties) {\n return (0, _emberRuntime.A)(items.slice().sort(function (itemA, itemB) {\n var i, _normalizedSortProper, prop, direction, result;\n\n for (i = 0; i < normalizedSortProperties.length; i++) {\n _normalizedSortProper = normalizedSortProperties[i], prop = _normalizedSortProper[0], direction = _normalizedSortProper[1];\n result = (0, _emberRuntime.compare)((0, _emberMetal.get)(itemA, prop), (0, _emberMetal.get)(itemB, prop));\n\n if (result !== 0) {\n return direction === 'desc' ? -1 * result : result;\n }\n }\n return 0;\n }));\n }\n});","enifed('@ember/polyfills/index', ['exports', '@ember/polyfills/lib/assign', '@ember/polyfills/lib/merge'], function (exports, _assign, _merge) {\n 'use strict';\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, 'merge', {\n enumerable: true,\n get: function () {\n return _merge.default;\n }\n });\n});","enifed(\"@ember/polyfills/lib/assign\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.assign = assign;\n /**\n @module @ember/polyfills\n */\n /**\n Copy properties from a source object to a target object.\n \n ```javascript\n import { assign } from '@ember/polyfills';\n \n var a = { first: 'Yehuda' };\n var b = { last: 'Katz' };\n var c = { company: 'Tilde Inc.' };\n assign(a, b, c); // a === { first: 'Yehuda', last: 'Katz', company: 'Tilde Inc.' }, b === { last: 'Katz' }, c === { 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 var i, arg, updates, _i, prop;\n\n for (i = 1; i < arguments.length; i++) {\n arg = arguments[i];\n\n if (!arg) {\n continue;\n }\n updates = Object.keys(arg);\n\n for (_i = 0; _i < updates.length; _i++) {\n prop = updates[_i];\n\n target[prop] = arg[prop];\n }\n }\n return target;\n }\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 var _assign = Object.assign;\n exports.default = _assign || assign;\n});","enifed('@ember/polyfills/lib/merge', ['exports'], function (exports) {\n 'use strict';\n\n exports.default =\n /**\n @module @ember/polyfills\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 @public\n */\n function (original, updates) {\n if (updates === null || typeof updates !== 'object') {\n return original;\n }\n var props = Object.keys(updates),\n i;\n var prop = void 0;\n for (i = 0; i < props.length; i++) {\n prop = props[i];\n original[prop] = updates[prop];\n }\n return original;\n };\n});","enifed('@ember/runloop/index', ['exports', '@ember/debug', 'ember-error-handling', 'ember-metal', 'backburner', '@ember/deprecated-features'], function (exports, _debug, _emberErrorHandling, _emberMetal, _backburner, _deprecatedFeatures) {\n 'use strict';\n\n exports.bind = exports._globalsRun = exports.backburner = exports.queues = exports._rsvpErrorQueue = undefined;\n exports.getCurrentRunLoop = getCurrentRunLoop;\n exports.run = run;\n exports.join = join;\n exports.begin =\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 function () {\n backburner.begin();\n }\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 exports.end = function () {\n backburner.end();\n }\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('actions', this, function() {\n // this will be executed in the 'actions' queue, after bindings have synced.\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 sync queue\n // scheduled on actions 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 exports.schedule = function (queue /*, target, method */) {\n false && !(queue !== 'sync') && (0, _debug.deprecate)('Scheduling into the \\'' + queue + '\\' run loop queue is deprecated.', queue !== 'sync', {\n id: 'ember-metal.run.sync',\n until: '3.5.0'\n });\n\n return backburner.schedule.apply(backburner, arguments);\n }\n\n // Used by global test teardown\n ;\n exports.hasScheduledTimers = function () {\n return backburner.hasTimers();\n }\n\n // Used by global test teardown\n ;\n exports.cancelTimers = function () {\n backburner.cancelTimers();\n }\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 exports.later = function () /*target, method*/{\n return backburner.later.apply(backburner, arguments);\n }\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 exports.once = function () {\n var _len3, args, _key3;\n\n for (_len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n args.unshift('actions');\n return backburner.scheduleOnce.apply(backburner, args);\n }\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 exports.scheduleOnce = function (queue /*, target, method*/) {\n false && !(queue !== 'sync') && (0, _debug.deprecate)('Scheduling into the \\'' + queue + '\\' run loop queue is deprecated.', queue !== 'sync', {\n id: 'ember-metal.run.sync',\n until: '3.5.0'\n });\n\n return backburner.scheduleOnce.apply(backburner, arguments);\n }\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 exports.next = function () {\n var _len4, args, _key4;\n\n for (_len4 = arguments.length, args = Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {\n args[_key4] = arguments[_key4];\n }\n\n args.push(1);\n return backburner.later.apply(backburner, args);\n }\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 exports.cancel = function (timer) {\n return backburner.cancel(timer);\n }\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 exports.debounce = function () {\n return backburner.debounce.apply(backburner, arguments);\n }\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 exports.throttle = function () {\n return backburner.throttle.apply(backburner, arguments);\n };\n\n var currentRunLoop = null;\n function getCurrentRunLoop() {\n return currentRunLoop;\n }\n\n var _rsvpErrorQueue = exports._rsvpErrorQueue = ('' + Math.random() + Date.now()).replace('.', '');\n\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 var queues = exports.queues = ['actions',\n\n // used in router transitions to prevent unnecessary loading state entry\n // if all context promises resolve on the 'actions' queue first\n 'routerTransitions', 'render', 'afterRender', 'destroy',\n\n // used to re-throw unhandled RSVP rejection errors specifically in this\n // position to avoid breaking anything rendered in the other sections\n _rsvpErrorQueue];\n\n var backburnerOptions = {\n defaultQueue: 'actions',\n onBegin: function (current) {\n currentRunLoop = current;\n },\n onEnd: function (current, next) {\n currentRunLoop = next;\n },\n onErrorTarget: _emberErrorHandling.onErrorTarget,\n onErrorMethod: 'onerror'\n };\n\n if (_deprecatedFeatures.RUN_SYNC) {\n queues.unshift('sync');\n\n backburnerOptions.sync = {\n before: _emberMetal.beginPropertyChanges,\n after: _emberMetal.endPropertyChanges\n };\n }\n\n var backburner = exports.backburner = new _backburner.default(queues, backburnerOptions);\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 function run() {\n return backburner.run.apply(backburner, arguments);\n }\n\n // used for the Ember.run global only\n exports._globalsRun = run.bind(null);\n\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 function join() {\n return backburner.join.apply(backburner, arguments);\n }\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 exports.bind = function () {\n var _len, curried, _key;\n\n for (_len = arguments.length, curried = Array(_len), _key = 0; _key < _len; _key++) {\n curried[_key] = arguments[_key];\n }\n\n false && !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 type;\n\n if (length === 0) {\n return false;\n } else if (length === 1) {\n return typeof methodOrTarget === 'function';\n } else {\n type = typeof methodOrArg;\n\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 }.apply(undefined, curried) && (0, _debug.assert)('could not find a suitable method to bind', function (methodOrTarget, methodOrArg) {\n var length = arguments.length,\n type;if (length === 0) {\n return false;\n } else if (length === 1) {\n return typeof methodOrTarget === 'function';\n } else {\n type = typeof methodOrArg;\n return type === 'function' || methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || typeof methodOrTarget === 'function';\n }\n }.apply(undefined, curried));\n\n return function () {\n var _len2, args, _key2;\n\n for (_len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return join.apply(undefined, curried.concat(args));\n };\n };\n});","enifed('@ember/service/index', ['exports', 'ember-runtime', 'ember-metal'], function (exports, _emberRuntime, _emberMetal) {\n 'use strict';\n\n exports.inject =\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\n are 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 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\n accessible 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 {Ember.InjectedProperty} injection descriptor instance\n @public\n */\n function (name, options) {\n return new _emberMetal.InjectedProperty('service', name, options);\n }\n\n /**\n @class Service\n @extends EmberObject\n @since 1.10.0\n @public\n */\n ;var Service = _emberRuntime.Object.extend();\n\n Service.reopenClass({\n isServiceFactory: true\n });\n\n exports.default = Service;\n});","enifed('@ember/string/index', ['exports', '@ember/string/lib/string_registry', 'ember-environment', 'ember-utils'], function (exports, _string_registry, _emberEnvironment, _emberUtils) {\n 'use strict';\n\n exports._setStrings = exports._getStrings = undefined;\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 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\n var STRING_DASHERIZE_REGEXP = /[ _]/g;\n var STRING_DASHERIZE_CACHE = new _emberUtils.Cache(1000, function (key) {\n return decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-');\n });\n var STRING_CAMELIZE_REGEXP_1 = /(\\-|\\_|\\.|\\s)+(.)?/g;\n var STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\n var CAMELIZE_CACHE = new _emberUtils.Cache(1000, function (key) {\n return key.replace(STRING_CAMELIZE_REGEXP_1, function (_match, _separator, chr) {\n return chr ? chr.toUpperCase() : '';\n }).replace(STRING_CAMELIZE_REGEXP_2, function (match /*, separator, chr */) {\n return match.toLowerCase();\n });\n });\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 _emberUtils.Cache(1000, function (str) {\n var replace1 = function (_match, _separator, chr) {\n return chr ? '_' + chr.toUpperCase() : '';\n },\n i;\n var replace2 = function (_match, initialChar, _separator, chr) {\n return initialChar + (chr ? chr.toUpperCase() : '');\n };\n var parts = str.split('/');\n for (i = 0; i < parts.length; i++) {\n parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n }\n return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, function (match /*, separator, chr */) {\n return match.toUpperCase();\n });\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 _emberUtils.Cache(1000, function (str) {\n return str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase();\n });\n var STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n var CAPITALIZE_CACHE = new _emberUtils.Cache(1000, function (str) {\n return str.replace(STRING_CAPITALIZE_REGEXP, function (match /*, separator, chr */) {\n return match.toUpperCase();\n });\n });\n var STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n var DECAMELIZE_CACHE = new _emberUtils.Cache(1000, function (str) {\n return str.replace(STRING_DECAMELIZE_REGEXP, '$1_$2').toLowerCase();\n });\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 function _fmt(str, formats) {\n // first, replace any ORDERED replacements.\n var idx = 0; // the current index for non-numerical replacements\n return str.replace(/%@([0-9]+)?/g, function (_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 ? '' : '' + 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 function loc(str, formats) {\n if (!Array.isArray(formats) || arguments.length > 2) {\n formats = Array.prototype.slice.call(arguments, 1);\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 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 'innerHTML'.decamelize(); // 'inner_html'\n 'action_name'.decamelize(); // 'action_name'\n 'css-class-name'.decamelize(); // 'css-class-name'\n 'my favorite items'.decamelize(); // '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 function decamelize(str) {\n return DECAMELIZE_CACHE.get(str);\n }\n /**\n Replaces underscores, spaces, or camelCase with dashes.\n \n ```javascript\n 'innerHTML'.dasherize(); // 'inner-html'\n 'action_name'.dasherize(); // 'action-name'\n 'css-class-name'.dasherize(); // 'css-class-name'\n 'my favorite items'.dasherize(); // 'my-favorite-items'\n 'privateDocs/ownerInvoice'.dasherize(); // '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 function dasherize(str) {\n return STRING_DASHERIZE_CACHE.get(str);\n }\n /**\n Returns the lowerCamelCase form of a string.\n \n ```javascript\n 'innerHTML'.camelize(); // 'innerHTML'\n 'action_name'.camelize(); // 'actionName'\n 'css-class-name'.camelize(); // 'cssClassName'\n 'my favorite items'.camelize(); // 'myFavoriteItems'\n 'My Favorite Items'.camelize(); // 'myFavoriteItems'\n 'private-docs/owner-invoice'.camelize(); // '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 function camelize(str) {\n return CAMELIZE_CACHE.get(str);\n }\n /**\n Returns the UpperCamelCase form of a string.\n \n ```javascript\n 'innerHTML'.classify(); // 'InnerHTML'\n 'action_name'.classify(); // 'ActionName'\n 'css-class-name'.classify(); // 'CssClassName'\n 'my favorite items'.classify(); // 'MyFavoriteItems'\n 'private-docs/owner-invoice'.classify(); // '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 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 'innerHTML'.underscore(); // 'inner_html'\n 'action_name'.underscore(); // 'action_name'\n 'css-class-name'.underscore(); // 'css_class_name'\n 'my favorite items'.underscore(); // 'my_favorite_items'\n 'privateDocs/ownerInvoice'.underscore(); // '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 function underscore(str) {\n return UNDERSCORE_CACHE.get(str);\n }\n /**\n Returns the Capitalized form of a string\n \n ```javascript\n 'innerHTML'.capitalize() // 'InnerHTML'\n 'action_name'.capitalize() // 'Action_name'\n 'css-class-name'.capitalize() // 'Css-class-name'\n 'my favorite items'.capitalize() // 'My favorite items'\n 'privateDocs/ownerInvoice'.capitalize(); // '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 function capitalize(str) {\n return CAPITALIZE_CACHE.get(str);\n }\n if (_emberEnvironment.ENV.EXTEND_PROTOTYPES.String) {\n Object.defineProperties(String.prototype, {\n /**\n See [String.w](/api/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 value: function () {\n return w(this);\n }\n },\n /**\n See [String.loc](/api/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 value: function () {\n var _len, args, _key;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return loc(this, args);\n }\n },\n /**\n See [String.camelize](/api/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 value: function () {\n return camelize(this);\n }\n },\n /**\n See [String.decamelize](/api/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 value: function () {\n return decamelize(this);\n }\n },\n /**\n See [String.dasherize](/api/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 value: function () {\n return dasherize(this);\n }\n },\n /**\n See [String.underscore](/api/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 value: function () {\n return underscore(this);\n }\n },\n /**\n See [String.classify](/api/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 value: function () {\n return classify(this);\n }\n },\n /**\n See [String.capitalize](/api/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 value: function () {\n return capitalize(this);\n }\n }\n });\n }\n});","enifed(\"@ember/string/lib/string_registry\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.setStrings = function (strings) {\n STRINGS = strings;\n };\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 getStrings() {\n return STRINGS;\n }\n function getString(name) {\n return STRINGS[name];\n }\n});","enifed('@glimmer/encoder', ['exports'], function (exports) {\n 'use strict';\n\n exports.InstructionEncoder = undefined;\n\n var InstructionEncoder = function () {\n function InstructionEncoder(buffer) {\n\n this.buffer = buffer;\n this.typePos = 0;\n this.size = 0;\n }\n\n InstructionEncoder.prototype.encode = function (type, machine) {\n var i, op;\n\n if (type > 255 /* TYPE_SIZE */) {\n throw new Error('Opcode type over 8-bits. Got ' + type + '.');\n }\n this.buffer.push(type | machine | arguments.length - 2 << 8 /* ARG_SHIFT */);\n this.typePos = this.buffer.length - 1;\n for (i = 2; i < arguments.length; i++) {\n op = arguments[i];\n\n if (typeof op === 'number' && op > 65535 /* MAX_SIZE */) {\n throw new Error('Operand over 16-bits. Got ' + op + '.');\n }\n this.buffer.push(op);\n }\n this.size = this.buffer.length;\n };\n\n InstructionEncoder.prototype.patch = function (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 InstructionEncoder.prototype.patchWith = function (position, target, operand) {\n if (this.buffer[position + 1] === -1) {\n this.buffer[position + 1] = target;\n this.buffer[position + 2] = operand;\n } else {\n throw new Error('Trying to patch operand in populated slot instead of a reserved slot.');\n }\n };\n\n return InstructionEncoder;\n }();\n\n exports.InstructionEncoder = InstructionEncoder;\n});","enifed('@glimmer/low-level', ['exports'], function (exports) {\n 'use strict';\n\n exports.Stack = exports.Storage = undefined;\n\n var Storage = function () {\n function Storage() {\n\n this.array = [];\n this.next = 0;\n }\n\n Storage.prototype.add = function (element) {\n var slot = this.next,\n array = this.array,\n prev;\n\n if (slot === array.length) {\n this.next++;\n } else {\n prev = array[slot];\n\n this.next = prev;\n }\n this.array[slot] = element;\n return slot;\n };\n\n Storage.prototype.deref = function (pointer) {\n return this.array[pointer];\n };\n\n Storage.prototype.drop = function (pointer) {\n this.array[pointer] = this.next;\n this.next = pointer;\n };\n\n return Storage;\n }();\n\n var Stack = function () {\n function Stack() {\n var vec = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n\n\n this.vec = vec;\n }\n\n Stack.prototype.clone = function () {\n return new Stack(this.vec.slice());\n };\n\n Stack.prototype.sliceFrom = function (start) {\n return new Stack(this.vec.slice(start));\n };\n\n Stack.prototype.slice = function (start, end) {\n return new Stack(this.vec.slice(start, end));\n };\n\n Stack.prototype.copy = function (from, to) {\n this.vec[to] = this.vec[from];\n };\n\n Stack.prototype.writeRaw = function (pos, value) {\n // TODO: Grow?\n this.vec[pos] = value;\n };\n\n Stack.prototype.writeSmi = function (pos, value) {\n this.vec[pos] = encodeSmi(value);\n };\n\n Stack.prototype.getRaw = function (pos) {\n return this.vec[pos];\n };\n\n Stack.prototype.getSmi = function (pos) {\n return decodeSmi(this.vec[pos]);\n };\n\n Stack.prototype.reset = function () {\n this.vec.length = 0;\n };\n\n Stack.prototype.len = function () {\n return this.vec.length;\n };\n\n return Stack;\n }();\n\n function decodeSmi(smi) {\n switch (smi & 7) {\n case 0 /* NUMBER */:\n return smi >> 3;\n case 4 /* NEGATIVE */:\n return -(smi >> 3);\n default:\n throw new Error('unreachable');\n }\n }\n function encodeSmi(primitive) {\n if (primitive < 0) {\n return Math.abs(primitive) << 3 | 4 /* NEGATIVE */;\n } else {\n return primitive << 3 | 0 /* NUMBER */;\n }\n }\n\n exports.Storage = Storage;\n exports.Stack = Stack;\n});","enifed('@glimmer/node', ['exports', 'ember-babel', '@glimmer/runtime'], function (exports, _emberBabel, _runtime) {\n 'use strict';\n\n exports.serializeBuilder = exports.NodeDOMTreeConstruction = undefined;\n\n var NodeDOMTreeConstruction = function (_DOMTreeConstruction) {\n (0, _emberBabel.inherits)(NodeDOMTreeConstruction, _DOMTreeConstruction);\n\n function NodeDOMTreeConstruction(doc) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DOMTreeConstruction.call(this, doc));\n }\n // override to prevent usage of `this.document` until after the constructor\n\n\n NodeDOMTreeConstruction.prototype.setupUselessElement = function () {};\n\n NodeDOMTreeConstruction.prototype.insertHTMLBefore = function (parent, reference, html) {\n var prev = reference ? reference.previousSibling : parent.lastChild;\n var raw = this.document.createRawHTMLSection(html);\n parent.insertBefore(raw, reference);\n var first = prev ? prev.nextSibling : parent.firstChild;\n var last = reference ? reference.previousSibling : parent.lastChild;\n return new _runtime.ConcreteBounds(parent, first, last);\n };\n\n NodeDOMTreeConstruction.prototype.createElement = function (tag) {\n return this.document.createElement(tag);\n };\n\n NodeDOMTreeConstruction.prototype.setAttribute = function (element, name, value) {\n element.setAttribute(name, value);\n };\n\n return NodeDOMTreeConstruction;\n }(_runtime.DOMTreeConstruction);\n\n function currentNode(cursor) {\n var element = cursor.element,\n nextSibling = cursor.nextSibling;\n\n if (nextSibling === null) {\n return element.lastChild;\n } else {\n return nextSibling.previousSibling;\n }\n }\n\n var SerializeBuilder = function (_NewElementBuilder) {\n (0, _emberBabel.inherits)(SerializeBuilder, _NewElementBuilder);\n\n function SerializeBuilder() {\n\n var _this2 = (0, _emberBabel.possibleConstructorReturn)(this, _NewElementBuilder.apply(this, arguments));\n\n _this2.serializeBlockDepth = 0;\n return _this2;\n }\n\n SerializeBuilder.prototype.__openBlock = function () {\n var depth = this.serializeBlockDepth++;\n this.__appendComment('%+b:' + depth + '%');\n _NewElementBuilder.prototype.__openBlock.call(this);\n };\n\n SerializeBuilder.prototype.__closeBlock = function () {\n _NewElementBuilder.prototype.__closeBlock.call(this);\n this.__appendComment('%-b:' + --this.serializeBlockDepth + '%');\n };\n\n SerializeBuilder.prototype.__appendHTML = function (html) {\n // Do we need to run the html tokenizer here?\n var first = this.__appendComment('%glmr%'),\n openIndex,\n tr;\n if (this.element.tagName === 'TABLE') {\n openIndex = html.indexOf('<');\n\n if (openIndex > -1) {\n tr = html.slice(openIndex + 1, openIndex + 3);\n\n if (tr === 'tr') {\n html = '<tbody>' + html + '</tbody>';\n }\n }\n }\n if (html === '') {\n this.__appendComment('% %');\n } else {\n _NewElementBuilder.prototype.__appendHTML.call(this, html);\n }\n var last = this.__appendComment('%glmr%');\n return new _runtime.ConcreteBounds(this.element, first, last);\n };\n\n SerializeBuilder.prototype.__appendText = function (string) {\n var current = currentNode(this);\n if (string === '') {\n return this.__appendComment('% %');\n } else if (current && current.nodeType === 3) {\n this.__appendComment('%|%');\n }\n return _NewElementBuilder.prototype.__appendText.call(this, string);\n };\n\n SerializeBuilder.prototype.closeElement = function () {\n if (this.element['needsExtraClose'] === true) {\n this.element['needsExtraClose'] = false;\n _NewElementBuilder.prototype.closeElement.call(this);\n }\n _NewElementBuilder.prototype.closeElement.call(this);\n };\n\n SerializeBuilder.prototype.openElement = function (tag) {\n if (tag === 'tr') {\n if (this.element.tagName !== 'TBODY') {\n this.openElement('tbody');\n // 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 this.constructing['needsExtraClose'] = true;\n this.flushElement();\n }\n }\n return _NewElementBuilder.prototype.openElement.call(this, tag);\n };\n\n SerializeBuilder.prototype.pushRemoteElement = function (element, cursorId) {\n var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n var dom = this.dom;\n\n var script = dom.createElement('script');\n script.setAttribute('glmr', cursorId);\n dom.insertBefore(element, script, nextSibling);\n _NewElementBuilder.prototype.pushRemoteElement.call(this, element, cursorId, nextSibling);\n };\n\n return SerializeBuilder;\n }(_runtime.NewElementBuilder);\n\n exports.NodeDOMTreeConstruction = NodeDOMTreeConstruction;\n exports.serializeBuilder = function (env, cursor) {\n return SerializeBuilder.forInitialRender(env, cursor);\n };\n});","enifed('@glimmer/opcode-compiler', ['exports', '@ember/polyfills', 'ember-babel', '@glimmer/util', '@glimmer/vm', '@glimmer/wire-format', '@glimmer/encoder', '@glimmer/program'], function (exports, _polyfills, _emberBabel, _util, _vm, _wireFormat, _encoder, _program) {\n 'use strict';\n\n exports.PLACEHOLDER_HANDLE = exports.WrappedBuilder = exports.logOpcode = exports.debugSlice = exports.debug = exports.templateFactory = exports.PartialDefinition = exports.StdOpcodeBuilder = exports.OpcodeBuilder = exports.EagerOpcodeBuilder = exports.LazyOpcodeBuilder = exports.CompilableProgram = exports.CompilableBlock = exports.debugCompiler = exports.AbstractCompiler = exports.compile = exports.LazyCompiler = exports.Macros = exports.ATTRS_BLOCK = undefined;\n\n var Ops$1;\n (function (Ops$$1) {\n Ops$$1[Ops$$1[\"OpenComponentElement\"] = 0] = \"OpenComponentElement\";\n Ops$$1[Ops$$1[\"DidCreateElement\"] = 1] = \"DidCreateElement\";\n Ops$$1[Ops$$1[\"SetComponentAttrs\"] = 2] = \"SetComponentAttrs\";\n Ops$$1[Ops$$1[\"DidRenderLayout\"] = 3] = \"DidRenderLayout\";\n Ops$$1[Ops$$1[\"Debugger\"] = 4] = \"Debugger\";\n })(Ops$1 || (Ops$1 = {}));\n\n var Ops$2 = _wireFormat.Ops;\n var ATTRS_BLOCK = '&attrs';\n\n var Compilers = function () {\n function Compilers() {\n var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n\n this.offset = offset;\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n\n Compilers.prototype.add = function (name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n };\n\n Compilers.prototype.compile = function (sexp, builder) {\n var name = sexp[this.offset];\n var index = this.names[name];\n var func = this.funcs[index];\n\n func(sexp, builder);\n };\n\n return Compilers;\n }();\n\n var _statementCompiler = void 0;\n function statementCompiler() {\n if (_statementCompiler) {\n return _statementCompiler;\n }\n var STATEMENTS = _statementCompiler = new Compilers();\n STATEMENTS.add(Ops$2.Text, function (sexp, builder) {\n builder.text(sexp[1]);\n });\n STATEMENTS.add(Ops$2.Comment, function (sexp, builder) {\n builder.comment(sexp[1]);\n });\n STATEMENTS.add(Ops$2.CloseElement, function (_sexp, builder) {\n builder.closeElement();\n });\n STATEMENTS.add(Ops$2.FlushElement, function (_sexp, builder) {\n builder.flushElement();\n });\n STATEMENTS.add(Ops$2.Modifier, function (sexp, builder) {\n var referrer = builder.referrer;\n var name = sexp[1],\n params = sexp[2],\n hash = sexp[3];\n\n var handle = builder.compiler.resolveModifier(name, referrer);\n if (handle !== null) {\n builder.modifier(handle, params, hash);\n } else {\n throw new Error('Compile Error ' + name + ' is not a modifier: Helpers may not be used in the element form.');\n }\n });\n STATEMENTS.add(Ops$2.StaticAttr, function (sexp, builder) {\n var name = sexp[1],\n value = sexp[2],\n namespace = sexp[3];\n\n builder.staticAttr(name, namespace, value);\n });\n STATEMENTS.add(Ops$2.DynamicAttr, function (sexp, builder) {\n dynamicAttr(sexp, false, builder);\n });\n STATEMENTS.add(Ops$2.TrustingAttr, function (sexp, builder) {\n dynamicAttr(sexp, true, builder);\n });\n STATEMENTS.add(Ops$2.OpenElement, function (sexp, builder) {\n builder.openPrimitiveElement(sexp[1]);\n });\n STATEMENTS.add(Ops$2.OpenSplattedElement, function (sexp, builder) {\n builder.setComponentAttrs(true);\n builder.putComponentOperations();\n builder.openPrimitiveElement(sexp[1]);\n });\n STATEMENTS.add(Ops$2.DynamicComponent, function (sexp, builder) {\n var definition = sexp[1],\n attrs = sexp[2],\n args = sexp[3],\n template = sexp[4],\n wrappedAttrs;\n\n var block = builder.template(template);\n var attrsBlock = null;\n if (attrs.length > 0) {\n wrappedAttrs = [[Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, true]].concat(attrs, [[Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, false]]);\n\n attrsBlock = builder.inlineBlock({ statements: wrappedAttrs, parameters: _util.EMPTY_ARRAY });\n }\n builder.dynamicComponent(definition, attrsBlock, null, args, false, block, null);\n });\n STATEMENTS.add(Ops$2.Component, function (sexp, builder) {\n var tag = sexp[1],\n _attrs = sexp[2],\n args = sexp[3],\n block = sexp[4],\n attrs,\n attrsBlock,\n child;\n var referrer = builder.referrer;\n\n var _builder$compiler$res = builder.compiler.resolveLayoutForTag(tag, referrer),\n handle = _builder$compiler$res.handle,\n capabilities = _builder$compiler$res.capabilities,\n compilable = _builder$compiler$res.compilable;\n\n if (handle !== null && capabilities !== null) {\n attrs = [[Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, true]].concat(_attrs, [[Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, false]]);\n attrsBlock = builder.inlineBlock({ statements: attrs, parameters: _util.EMPTY_ARRAY });\n child = builder.template(block);\n\n if (compilable) {\n builder.pushComponentDefinition(handle);\n builder.invokeStaticComponent(capabilities, compilable, attrsBlock, null, args, false, child && child);\n } else {\n builder.pushComponentDefinition(handle);\n builder.invokeComponent(capabilities, attrsBlock, null, args, false, child && child);\n }\n } else {\n throw new Error('Compile Error: Cannot find component ' + tag);\n }\n });\n STATEMENTS.add(Ops$2.Partial, function (sexp, builder) {\n var name = sexp[1],\n evalInfo = sexp[2];\n var referrer = builder.referrer;\n\n builder.replayableIf({\n args: function () {\n builder.expr(name);\n builder.dup();\n return 2;\n },\n ifTrue: function () {\n builder.invokePartial(referrer, builder.evalSymbols(), evalInfo);\n builder.popScope();\n builder.popFrame(); // FIXME: WAT\n }\n });\n });\n STATEMENTS.add(Ops$2.Yield, function (sexp, builder) {\n var to = sexp[1],\n params = sexp[2];\n\n builder.yield(to, params);\n });\n STATEMENTS.add(Ops$2.AttrSplat, function (sexp, builder) {\n var to = sexp[1];\n\n builder.yield(to, []);\n builder.setComponentAttrs(false);\n });\n STATEMENTS.add(Ops$2.Debugger, function (sexp, builder) {\n var evalInfo = sexp[1];\n\n builder.debugger(builder.evalSymbols(), evalInfo);\n });\n STATEMENTS.add(Ops$2.ClientSideStatement, function (sexp, builder) {\n CLIENT_SIDE.compile(sexp, builder);\n });\n STATEMENTS.add(Ops$2.Append, function (sexp, builder) {\n var value = sexp[1],\n trusting = sexp[2];\n\n var returned = builder.compileInline(sexp) || value;\n if (returned === true) return;\n builder.guardedAppend(value, trusting);\n });\n STATEMENTS.add(Ops$2.Block, function (sexp, builder) {\n var name = sexp[1],\n params = sexp[2],\n hash = sexp[3],\n _template = sexp[4],\n _inverse = sexp[5];\n\n var template = builder.template(_template);\n var inverse = builder.template(_inverse);\n\n builder.compileBlock(name, params, hash, template && template, inverse && inverse);\n });\n var CLIENT_SIDE = new Compilers(1);\n CLIENT_SIDE.add(Ops$1.OpenComponentElement, function (sexp, builder) {\n builder.putComponentOperations();\n builder.openPrimitiveElement(sexp[2]);\n });\n CLIENT_SIDE.add(Ops$1.DidCreateElement, function (_sexp, builder) {\n builder.didCreateElement(_vm.Register.s0);\n });\n CLIENT_SIDE.add(Ops$1.SetComponentAttrs, function (sexp, builder) {\n builder.setComponentAttrs(sexp[2]);\n });\n CLIENT_SIDE.add(Ops$1.Debugger, function () {\n // tslint:disable-next-line:no-debugger\n debugger;\n });\n CLIENT_SIDE.add(Ops$1.DidRenderLayout, function (_sexp, builder) {\n builder.didRenderLayout(_vm.Register.s0);\n });\n return STATEMENTS;\n }\n function dynamicAttr(sexp, trusting, builder) {\n var name = sexp[1],\n value = sexp[2],\n namespace = sexp[3];\n\n builder.expr(value);\n if (namespace) {\n builder.dynamicAttr(name, namespace, trusting);\n } else {\n builder.dynamicAttr(name, null, trusting);\n }\n }\n var _expressionCompiler = void 0;\n function expressionCompiler() {\n if (_expressionCompiler) {\n return _expressionCompiler;\n }\n var EXPRESSIONS = _expressionCompiler = new Compilers();\n EXPRESSIONS.add(Ops$2.Unknown, function (sexp, builder) {\n var compiler = builder.compiler,\n referrer = builder.referrer,\n asPartial = builder.containingLayout.asPartial;\n\n var name = sexp[1];\n var handle = compiler.resolveHelper(name, referrer);\n if (handle !== null) {\n builder.helper(handle, null, null);\n } else if (asPartial) {\n builder.resolveMaybeLocal(name);\n } else {\n builder.getVariable(0);\n builder.getProperty(name);\n }\n });\n EXPRESSIONS.add(Ops$2.Concat, function (sexp, builder) {\n var parts = sexp[1],\n i;\n for (i = 0; i < parts.length; i++) {\n builder.expr(parts[i]);\n }\n builder.concat(parts.length);\n });\n EXPRESSIONS.add(Ops$2.Helper, function (sexp, builder) {\n var compiler = builder.compiler,\n referrer = builder.referrer,\n definition,\n restArgs;\n var name = sexp[1],\n params = sexp[2],\n hash = sexp[3];\n\n // TODO: triage this in the WF compiler\n if (name === 'component') {\n definition = params[0], restArgs = params.slice(1);\n\n\n builder.curryComponent(definition, restArgs, hash, true);\n return;\n }\n var handle = compiler.resolveHelper(name, referrer);\n if (handle !== null) {\n builder.helper(handle, params, hash);\n } else {\n throw new Error('Compile Error: ' + name + ' is not a helper');\n }\n });\n EXPRESSIONS.add(Ops$2.Get, function (sexp, builder) {\n var head = sexp[1],\n path = sexp[2],\n i;\n\n builder.getVariable(head);\n for (i = 0; i < path.length; i++) {\n builder.getProperty(path[i]);\n }\n });\n EXPRESSIONS.add(Ops$2.MaybeLocal, function (sexp, builder) {\n var path = sexp[1],\n head,\n i;\n\n if (builder.containingLayout.asPartial) {\n head = path[0];\n\n path = path.slice(1);\n builder.resolveMaybeLocal(head);\n } else {\n builder.getVariable(0);\n }\n for (i = 0; i < path.length; i++) {\n builder.getProperty(path[i]);\n }\n });\n EXPRESSIONS.add(Ops$2.Undefined, function (_sexp, builder) {\n return builder.pushPrimitiveReference(undefined);\n });\n EXPRESSIONS.add(Ops$2.HasBlock, function (sexp, builder) {\n builder.hasBlock(sexp[1]);\n });\n EXPRESSIONS.add(Ops$2.HasBlockParams, function (sexp, builder) {\n builder.hasBlockParams(sexp[1]);\n });\n return EXPRESSIONS;\n }\n\n var Blocks = function () {\n function Blocks() {\n\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n\n Blocks.prototype.add = function (name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n };\n\n Blocks.prototype.addMissing = function (func) {\n this.missing = func;\n };\n\n Blocks.prototype.compile = function (name, params, hash, template, inverse, builder) {\n var index = this.names[name],\n func,\n _func;\n if (index === undefined) {\n func = this.missing;\n func(name, params, hash, template, inverse, builder);\n } else {\n _func = this.funcs[index];\n\n _func(params, hash, template, inverse, builder);\n }\n };\n\n return Blocks;\n }();\n\n var Inlines = function () {\n function Inlines() {\n\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n\n Inlines.prototype.add = function (name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n };\n\n Inlines.prototype.addMissing = function (func) {\n this.missing = func;\n };\n\n Inlines.prototype.compile = function (sexp, builder) {\n var value = sexp[1],\n func,\n returned,\n _func2,\n _returned;\n // 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 if (!Array.isArray(value)) return ['expr', value];\n var name = void 0;\n var params = void 0;\n var hash = void 0;\n if (value[0] === Ops$2.Helper) {\n name = value[1];\n params = value[2];\n hash = value[3];\n } else if (value[0] === Ops$2.Unknown) {\n name = value[1];\n params = hash = null;\n } else {\n return ['expr', value];\n }\n var index = this.names[name];\n if (index === undefined && this.missing) {\n func = this.missing;\n returned = func(name, params, hash, builder);\n\n return returned === false ? ['expr', value] : returned;\n } else if (index !== undefined) {\n _func2 = this.funcs[index];\n _returned = _func2(name, params, hash, builder);\n\n return _returned === false ? ['expr', value] : _returned;\n } else {\n return ['expr', value];\n }\n };\n\n return Inlines;\n }();\n\n function populateBuiltins() {\n var blocks = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new Blocks();\n var inlines = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Inlines();\n\n blocks.add('if', function (params, _hash, template, inverse, builder) {\n // PutArgs\n // Test(Environment)\n // Enter(BEGIN, END)\n // BEGIN: Noop\n // JumpUnless(ELSE)\n // Evaluate(default)\n // Jump(END)\n // ELSE: Noop\n // Evalulate(inverse)\n // END: Noop\n // Exit\n if (!params || params.length !== 1) {\n throw new Error('SYNTAX ERROR: #if requires a single argument');\n }\n builder.replayableIf({\n args: function () {\n builder.expr(params[0]);\n builder.toBoolean();\n return 1;\n },\n ifTrue: function () {\n builder.invokeStaticBlock(template);\n },\n ifFalse: function () {\n if (inverse) {\n builder.invokeStaticBlock(inverse);\n }\n }\n });\n });\n blocks.add('unless', function (params, _hash, template, inverse, builder) {\n // PutArgs\n // Test(Environment)\n // Enter(BEGIN, END)\n // BEGIN: Noop\n // JumpUnless(ELSE)\n // Evaluate(default)\n // Jump(END)\n // ELSE: Noop\n // Evalulate(inverse)\n // END: Noop\n // Exit\n if (!params || params.length !== 1) {\n throw new Error('SYNTAX ERROR: #unless requires a single argument');\n }\n builder.replayableIf({\n args: function () {\n builder.expr(params[0]);\n builder.toBoolean();\n return 1;\n },\n ifTrue: function () {\n if (inverse) {\n builder.invokeStaticBlock(inverse);\n }\n },\n ifFalse: function () {\n builder.invokeStaticBlock(template);\n }\n });\n });\n blocks.add('with', function (params, _hash, template, inverse, builder) {\n // PutArgs\n // Test(Environment)\n // Enter(BEGIN, END)\n // BEGIN: Noop\n // JumpUnless(ELSE)\n // Evaluate(default)\n // Jump(END)\n // ELSE: Noop\n // Evalulate(inverse)\n // END: Noop\n // Exit\n if (!params || params.length !== 1) {\n throw new Error('SYNTAX ERROR: #with requires a single argument');\n }\n builder.replayableIf({\n args: function () {\n builder.expr(params[0]);\n builder.dup();\n builder.toBoolean();\n return 2;\n },\n ifTrue: function () {\n builder.invokeStaticBlock(template, 1);\n },\n ifFalse: function () {\n if (inverse) {\n builder.invokeStaticBlock(inverse);\n }\n }\n });\n });\n blocks.add('each', function (params, hash, template, inverse, builder) {\n // Enter(BEGIN, END)\n // BEGIN: Noop\n // PutArgs\n // PutIterable\n // JumpUnless(ELSE)\n // EnterList(BEGIN2, END2)\n // ITER: Noop\n // NextIter(BREAK)\n // BEGIN2: Noop\n // PushChildScope\n // Evaluate(default)\n // PopScope\n // END2: Noop\n // Exit\n // Jump(ITER)\n // BREAK: Noop\n // ExitList\n // Jump(END)\n // ELSE: Noop\n // Evalulate(inverse)\n // END: Noop\n // Exit\n builder.replayable({\n args: function () {\n if (hash && hash[0][0] === 'key') {\n builder.expr(hash[1][0]);\n } else {\n builder.pushPrimitiveReference(null);\n }\n builder.expr(params[0]);\n return 2;\n },\n body: function () {\n builder.putIterator();\n builder.jumpUnless('ELSE');\n builder.pushFrame();\n builder.dup(_vm.Register.fp, 1);\n builder.returnTo('ITER');\n builder.enterList('BODY');\n builder.label('ITER');\n builder.iterate('BREAK');\n builder.label('BODY');\n builder.invokeStaticBlock(template, 2);\n builder.pop(2);\n builder.jump('FINALLY');\n builder.label('BREAK');\n builder.exitList();\n builder.popFrame();\n builder.jump('FINALLY');\n builder.label('ELSE');\n if (inverse) {\n builder.invokeStaticBlock(inverse);\n }\n }\n });\n });\n blocks.add('in-element', function (params, hash, template, _inverse, builder) {\n if (!params || params.length !== 1) {\n throw new Error('SYNTAX ERROR: #in-element requires a single argument');\n }\n builder.replayableIf({\n args: function () {\n var keys = hash[0],\n values = hash[1],\n i,\n key;\n\n for (i = 0; i < keys.length; i++) {\n key = keys[i];\n\n if (key === 'nextSibling' || key === 'guid') {\n builder.expr(values[i]);\n } else {\n throw new Error('SYNTAX ERROR: #in-element does not take a `' + keys[0] + '` option');\n }\n }\n builder.expr(params[0]);\n builder.dup();\n return 4;\n },\n ifTrue: function () {\n builder.pushRemoteElement();\n builder.invokeStaticBlock(template);\n builder.popRemoteElement();\n }\n });\n });\n blocks.add('-with-dynamic-vars', function (_params, hash, template, _inverse, builder) {\n var names, expressions;\n\n if (hash) {\n names = hash[0], expressions = hash[1];\n\n\n builder.compileParams(expressions);\n builder.pushDynamicScope();\n builder.bindDynamicScope(names);\n builder.invokeStaticBlock(template);\n builder.popDynamicScope();\n } else {\n builder.invokeStaticBlock(template);\n }\n });\n blocks.add('component', function (_params, hash, template, inverse, builder) {\n\n var tag = _params[0],\n returned;\n if (typeof tag === 'string') {\n returned = builder.staticComponentHelper(_params[0], hash, template);\n\n if (returned) return;\n }\n\n var definition = _params[0],\n params = _params.slice(1);\n\n builder.dynamicComponent(definition, null, params, hash, true, template, inverse);\n });\n inlines.add('component', function (_name, _params, hash, builder) {\n\n var tag = _params && _params[0],\n returned;\n if (typeof tag === 'string') {\n returned = builder.staticComponentHelper(tag, hash, null);\n\n if (returned) return true;\n }\n\n var definition = _params[0],\n params = _params.slice(1);\n\n builder.dynamicComponent(definition, null, params, hash, true, null, null);\n return true;\n });\n return { blocks: blocks, inlines: inlines };\n }\n\n var PLACEHOLDER_HANDLE$1 = -1;\n\n var CompilableProgram = function () {\n function CompilableProgram(compiler, layout) {\n\n this.compiler = compiler;\n this.layout = layout;\n this.compiled = null;\n }\n\n CompilableProgram.prototype.compile = function () {\n if (this.compiled !== null) return this.compiled;\n this.compiled = PLACEHOLDER_HANDLE$1;\n var statements = this.layout.block.statements;\n\n return this.compiled = this.compiler.add(statements, this.layout);\n };\n\n (0, _emberBabel.createClass)(CompilableProgram, [{\n key: 'symbolTable',\n get: function () {\n return this.layout.block;\n }\n }]);\n return CompilableProgram;\n }();\n\n var CompilableBlock = function () {\n function CompilableBlock(compiler, parsed) {\n\n this.compiler = compiler;\n this.parsed = parsed;\n this.compiled = null;\n }\n\n CompilableBlock.prototype.compile = function () {\n if (this.compiled !== null) return this.compiled;\n // Track that compilation has started but not yet finished by temporarily\n // using a placeholder handle. In eager compilation mode, where compile()\n // may be called recursively, we use this as a signal that the handle cannot\n // be known synchronously and must be linked lazily.\n this.compiled = PLACEHOLDER_HANDLE$1;\n var _parsed = this.parsed,\n statements = _parsed.block.statements,\n containingLayout = _parsed.containingLayout;\n\n return this.compiled = this.compiler.add(statements, containingLayout);\n };\n\n (0, _emberBabel.createClass)(CompilableBlock, [{\n key: 'symbolTable',\n get: function () {\n return this.parsed.block;\n }\n }]);\n return CompilableBlock;\n }();\n\n function compile(statements, builder) {\n var sCompiler = statementCompiler(),\n i;\n for (i = 0; i < statements.length; i++) {\n sCompiler.compile(statements[i], builder);\n }\n var handle = builder.commit();\n return handle;\n }\n\n function json() {}\n\n function decodePrimitive(primitive, constants) {\n // 111\n var value = primitive >> 3;\n switch (primitive & 7) {\n case 0 /* NUMBER */:\n return value;\n case 1 /* FLOAT */:\n return constants.getNumber(value);\n case 2 /* STRING */:\n return constants.getString(value);\n case 3 /* BOOLEAN_OR_VOID */:\n switch (value) {\n case 0:\n return false;\n case 1:\n return true;\n case 2:\n return null;\n case 3:\n return undefined;\n }\n case 4 /* NEGATIVE */:\n return constants.getNumber(value);\n default:\n throw (0, _util.unreachable)();\n }\n }\n\n var StdLib = function () {\n function StdLib(main, trustingGuardedAppend, cautiousGuardedAppend) {\n\n this.main = main;\n this.trustingGuardedAppend = trustingGuardedAppend;\n this.cautiousGuardedAppend = cautiousGuardedAppend;\n }\n\n StdLib.compile = function (compiler) {\n var main = this.std(compiler, function (b) {\n return b.main();\n });\n var trustingGuardedAppend = this.std(compiler, function (b) {\n return b.stdAppend(true);\n });\n var cautiousGuardedAppend = this.std(compiler, function (b) {\n return b.stdAppend(false);\n });\n return new StdLib(main, trustingGuardedAppend, cautiousGuardedAppend);\n };\n\n StdLib.std = function (compiler, callback) {\n return StdOpcodeBuilder.build(compiler, callback);\n };\n\n StdLib.prototype.getAppend = function (trusting) {\n return trusting ? this.trustingGuardedAppend : this.cautiousGuardedAppend;\n };\n\n return StdLib;\n }();\n\n var AbstractCompiler = function () {\n function AbstractCompiler(macros, program, resolver) {\n\n this.macros = macros;\n this.program = program;\n this.resolver = resolver;\n this.initialize();\n }\n\n AbstractCompiler.prototype.initialize = function () {\n this.stdLib = StdLib.compile(this);\n };\n\n AbstractCompiler.prototype.compileInline = function (sexp, builder) {\n var inlines = this.macros.inlines;\n\n return inlines.compile(sexp, builder);\n };\n\n AbstractCompiler.prototype.compileBlock = function (name, params, hash, template, inverse, builder) {\n var blocks = this.macros.blocks;\n\n blocks.compile(name, params, hash, template, inverse, builder);\n };\n\n AbstractCompiler.prototype.add = function (statements, containingLayout) {\n return compile(statements, this.builderFor(containingLayout), this);\n };\n\n AbstractCompiler.prototype.commit = function (scopeSize, buffer) {\n var heap = this.program.heap,\n i,\n value;\n // TODO: change the whole malloc API and do something more efficient\n var handle = heap.malloc();\n for (i = 0; i < buffer.length; i++) {\n value = buffer[i];\n\n if (typeof value === 'function') {\n heap.pushPlaceholder(value);\n } else {\n heap.push(value);\n }\n }\n heap.finishMalloc(handle, scopeSize);\n return handle;\n };\n\n AbstractCompiler.prototype.resolveLayoutForTag = function (tag, referrer) {\n var resolver = this.resolver;\n\n var handle = resolver.lookupComponentDefinition(tag, referrer);\n if (handle === null) return { handle: null, capabilities: null, compilable: null };\n return this.resolveLayoutForHandle(handle);\n };\n\n AbstractCompiler.prototype.resolveLayoutForHandle = function (handle) {\n var resolver = this.resolver;\n\n var capabilities = resolver.getCapabilities(handle);\n var compilable = null;\n if (!capabilities.dynamicLayout) {\n compilable = resolver.getLayout(handle);\n }\n return {\n handle: handle,\n capabilities: capabilities,\n compilable: compilable\n };\n };\n\n AbstractCompiler.prototype.resolveModifier = function (name, referrer) {\n return this.resolver.lookupModifier(name, referrer);\n };\n\n AbstractCompiler.prototype.resolveHelper = function (name, referrer) {\n return this.resolver.lookupHelper(name, referrer);\n };\n\n (0, _emberBabel.createClass)(AbstractCompiler, [{\n key: 'constants',\n get: function () {\n return this.program.constants;\n }\n }]);\n return AbstractCompiler;\n }();\n\n var WrappedBuilder = function () {\n function WrappedBuilder(compiler, layout) {\n\n this.compiler = compiler;\n this.layout = layout;\n this.compiled = null;\n var block = layout.block;\n\n var symbols = block.symbols.slice();\n // ensure ATTRS_BLOCK is always included (only once) in the list of symbols\n var attrsBlockIndex = symbols.indexOf(ATTRS_BLOCK);\n if (attrsBlockIndex === -1) {\n this.attrsBlockNumber = symbols.push(ATTRS_BLOCK);\n } else {\n this.attrsBlockNumber = attrsBlockIndex + 1;\n }\n this.symbolTable = {\n hasEval: block.hasEval,\n symbols: symbols\n };\n }\n\n WrappedBuilder.prototype.compile = function () {\n if (this.compiled !== null) return this.compiled;\n //========DYNAMIC\n // PutValue(TagExpr)\n // Test\n // JumpUnless(BODY)\n // PutComponentOperations\n // OpenDynamicPrimitiveElement\n // DidCreateElement\n // ...attr statements...\n // FlushElement\n // BODY: Noop\n // ...body statements...\n // PutValue(TagExpr)\n // Test\n // JumpUnless(END)\n // CloseElement\n // END: Noop\n // DidRenderLayout\n // Exit\n //\n //========STATIC\n // OpenPrimitiveElementOpcode\n // DidCreateElement\n // ...attr statements...\n // FlushElement\n // ...body statements...\n // CloseElement\n // DidRenderLayout\n // Exit\n var compiler = this.compiler,\n layout = this.layout;\n\n var b = compiler.builderFor(layout);\n b.startLabels();\n b.fetch(_vm.Register.s1);\n b.getComponentTagName(_vm.Register.s0);\n b.primitiveReference();\n b.dup();\n b.load(_vm.Register.s1);\n b.jumpUnless('BODY');\n b.fetch(_vm.Register.s1);\n b.setComponentAttrs(true);\n b.putComponentOperations();\n b.openDynamicElement();\n b.didCreateElement(_vm.Register.s0);\n b.yield(this.attrsBlockNumber, []);\n b.setComponentAttrs(false);\n b.flushElement();\n b.label('BODY');\n b.invokeStaticBlock(blockFor(layout, compiler));\n b.fetch(_vm.Register.s1);\n b.jumpUnless('END');\n b.closeElement();\n b.label('END');\n b.load(_vm.Register.s1);\n b.stopLabels();\n var handle = b.commit();\n return this.compiled = handle;\n };\n\n return WrappedBuilder;\n }();\n\n function blockFor(layout, compiler) {\n return new CompilableBlock(compiler, {\n block: {\n statements: layout.block.statements,\n parameters: _util.EMPTY_ARRAY\n },\n containingLayout: layout\n });\n }\n\n var ComponentBuilder = function () {\n function ComponentBuilder(builder) {\n\n this.builder = builder;\n }\n\n ComponentBuilder.prototype.static = function (handle, args) {\n var params = args[0],\n hash = args[1],\n _default = args[2],\n inverse = args[3],\n _builder$compiler$res2,\n capabilities,\n compilable;\n var builder = this.builder;\n\n if (handle !== null) {\n _builder$compiler$res2 = builder.compiler.resolveLayoutForHandle(handle), capabilities = _builder$compiler$res2.capabilities, compilable = _builder$compiler$res2.compilable;\n\n\n if (compilable) {\n builder.pushComponentDefinition(handle);\n builder.invokeStaticComponent(capabilities, compilable, null, params, hash, false, _default, inverse);\n } else {\n builder.pushComponentDefinition(handle);\n builder.invokeComponent(capabilities, null, params, hash, false, _default, inverse);\n }\n }\n };\n\n return ComponentBuilder;\n }();\n\n var Labels = function () {\n function Labels() {\n\n this.labels = (0, _util.dict)();\n this.targets = [];\n }\n\n Labels.prototype.label = function (name, index) {\n this.labels[name] = index;\n };\n\n Labels.prototype.target = function (at, _target) {\n this.targets.push({ at: at, target: _target });\n };\n\n Labels.prototype.patch = function (encoder) {\n var targets = this.targets,\n labels = this.labels,\n i,\n _targets$i,\n at,\n target,\n address;\n\n for (i = 0; i < targets.length; i++) {\n _targets$i = targets[i], at = _targets$i.at, target = _targets$i.target;\n address = labels[target] - at;\n\n encoder.patch(at, address);\n }\n };\n\n return Labels;\n }();\n\n var StdOpcodeBuilder = function () {\n function StdOpcodeBuilder(compiler) {\n var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n\n this.size = size;\n this.encoder = new _encoder.InstructionEncoder([]);\n this.labelsStack = new _util.Stack();\n this.compiler = compiler;\n }\n\n StdOpcodeBuilder.build = function (compiler, callback) {\n var builder = new StdOpcodeBuilder(compiler);\n callback(builder);\n return builder.commit();\n };\n\n StdOpcodeBuilder.prototype.push = function (name) {\n switch (arguments.length) {\n case 1:\n return this.encoder.encode(name, 0);\n case 2:\n return this.encoder.encode(name, 0, arguments[1]);\n case 3:\n return this.encoder.encode(name, 0, arguments[1], arguments[2]);\n default:\n return this.encoder.encode(name, 0, arguments[1], arguments[2], arguments[3]);\n }\n };\n\n StdOpcodeBuilder.prototype.pushMachine = function (name) {\n switch (arguments.length) {\n case 1:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */);\n case 2:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */, arguments[1]);\n case 3:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */, arguments[1], arguments[2]);\n default:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */, arguments[1], arguments[2], arguments[3]);\n }\n };\n\n StdOpcodeBuilder.prototype.commit = function () {\n this.pushMachine(24 /* Return */);\n return this.compiler.commit(this.size, this.encoder.buffer);\n };\n\n StdOpcodeBuilder.prototype.reserve = function (name) {\n this.encoder.encode(name, 0, -1);\n };\n\n StdOpcodeBuilder.prototype.reserveWithOperand = function (name, operand) {\n this.encoder.encode(name, 0, -1, operand);\n };\n\n StdOpcodeBuilder.prototype.reserveMachine = function (name) {\n this.encoder.encode(name, 1024 /* MACHINE_MASK */, -1);\n };\n\n StdOpcodeBuilder.prototype.main = function () {\n this.push(68 /* Main */, _vm.Register.s0);\n this.invokePreparedComponent(false, false, true);\n };\n\n StdOpcodeBuilder.prototype.appendHTML = function () {\n this.push(28 /* AppendHTML */);\n };\n\n StdOpcodeBuilder.prototype.appendSafeHTML = function () {\n this.push(29 /* AppendSafeHTML */);\n };\n\n StdOpcodeBuilder.prototype.appendDocumentFragment = function () {\n this.push(30 /* AppendDocumentFragment */);\n };\n\n StdOpcodeBuilder.prototype.appendNode = function () {\n this.push(31 /* AppendNode */);\n };\n\n StdOpcodeBuilder.prototype.appendText = function () {\n this.push(32 /* AppendText */);\n };\n\n StdOpcodeBuilder.prototype.beginComponentTransaction = function () {\n this.push(91 /* BeginComponentTransaction */);\n };\n\n StdOpcodeBuilder.prototype.commitComponentTransaction = function () {\n this.push(92 /* CommitComponentTransaction */);\n };\n\n StdOpcodeBuilder.prototype.pushDynamicScope = function () {\n this.push(44 /* PushDynamicScope */);\n };\n\n StdOpcodeBuilder.prototype.popDynamicScope = function () {\n this.push(45 /* PopDynamicScope */);\n };\n\n StdOpcodeBuilder.prototype.pushRemoteElement = function () {\n this.push(41 /* PushRemoteElement */);\n };\n\n StdOpcodeBuilder.prototype.popRemoteElement = function () {\n this.push(42 /* PopRemoteElement */);\n };\n\n StdOpcodeBuilder.prototype.pushRootScope = function (symbols, bindCallerScope) {\n this.push(20 /* RootScope */, symbols, bindCallerScope ? 1 : 0);\n };\n\n StdOpcodeBuilder.prototype.pushVirtualRootScope = function (register) {\n this.push(21 /* VirtualRootScope */, register);\n };\n\n StdOpcodeBuilder.prototype.pushChildScope = function () {\n this.push(22 /* ChildScope */);\n };\n\n StdOpcodeBuilder.prototype.popScope = function () {\n this.push(23 /* PopScope */);\n };\n\n StdOpcodeBuilder.prototype.prepareArgs = function (state) {\n this.push(79 /* PrepareArgs */, state);\n };\n\n StdOpcodeBuilder.prototype.createComponent = function (state, hasDefault) {\n this.push(81 /* CreateComponent */, hasDefault | 0, state);\n };\n\n StdOpcodeBuilder.prototype.registerComponentDestructor = function (state) {\n this.push(82 /* RegisterComponentDestructor */, state);\n };\n\n StdOpcodeBuilder.prototype.putComponentOperations = function () {\n this.push(83 /* PutComponentOperations */);\n };\n\n StdOpcodeBuilder.prototype.getComponentSelf = function (state) {\n this.push(84 /* GetComponentSelf */, state);\n };\n\n StdOpcodeBuilder.prototype.getComponentTagName = function (state) {\n this.push(85 /* GetComponentTagName */, state);\n };\n\n StdOpcodeBuilder.prototype.getComponentLayout = function (state) {\n this.push(86 /* GetComponentLayout */, state);\n };\n\n StdOpcodeBuilder.prototype.setupForEval = function (state) {\n this.push(87 /* SetupForEval */, state);\n };\n\n StdOpcodeBuilder.prototype.invokeComponentLayout = function (state) {\n this.push(90 /* InvokeComponentLayout */, state);\n };\n\n StdOpcodeBuilder.prototype.didCreateElement = function (state) {\n this.push(93 /* DidCreateElement */, state);\n };\n\n StdOpcodeBuilder.prototype.didRenderLayout = function (state) {\n this.push(94 /* DidRenderLayout */, state);\n };\n\n StdOpcodeBuilder.prototype.pushFrame = function () {\n this.pushMachine(57 /* PushFrame */);\n };\n\n StdOpcodeBuilder.prototype.popFrame = function () {\n this.pushMachine(58 /* PopFrame */);\n };\n\n StdOpcodeBuilder.prototype.pushSmallFrame = function () {\n this.pushMachine(59 /* PushSmallFrame */);\n };\n\n StdOpcodeBuilder.prototype.popSmallFrame = function () {\n this.pushMachine(60 /* PopSmallFrame */);\n };\n\n StdOpcodeBuilder.prototype.invokeVirtual = function () {\n this.pushMachine(49 /* InvokeVirtual */);\n };\n\n StdOpcodeBuilder.prototype.invokeYield = function () {\n this.push(51 /* InvokeYield */);\n };\n\n StdOpcodeBuilder.prototype.toBoolean = function () {\n this.push(63 /* ToBoolean */);\n };\n\n StdOpcodeBuilder.prototype.invokePreparedComponent = function (hasBlock, bindableBlocks, bindableAtNames) {\n var populateLayout = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n this.beginComponentTransaction();\n this.pushDynamicScope();\n this.createComponent(_vm.Register.s0, hasBlock);\n // 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 if (populateLayout) populateLayout();\n this.registerComponentDestructor(_vm.Register.s0);\n this.getComponentSelf(_vm.Register.s0);\n this.pushVirtualRootScope(_vm.Register.s0);\n this.setVariable(0);\n this.setupForEval(_vm.Register.s0);\n if (bindableAtNames) this.setNamedVariables(_vm.Register.s0);\n if (bindableBlocks) this.setBlocks(_vm.Register.s0);\n this.pop();\n this.invokeComponentLayout(_vm.Register.s0);\n this.didRenderLayout(_vm.Register.s0);\n this.popFrame();\n this.popScope();\n this.popDynamicScope();\n this.commitComponentTransaction();\n };\n\n StdOpcodeBuilder.prototype.compileInline = function (sexp) {\n return this.compiler.compileInline(sexp, this);\n };\n\n StdOpcodeBuilder.prototype.compileBlock = function (name, params, hash, template, inverse) {\n this.compiler.compileBlock(name, params, hash, template, inverse, this);\n };\n\n StdOpcodeBuilder.prototype.label = function (name) {\n this.labels.label(name, this.nextPos);\n };\n\n StdOpcodeBuilder.prototype.startLabels = function () {\n this.labelsStack.push(new Labels());\n };\n\n StdOpcodeBuilder.prototype.stopLabels = function () {\n var label = this.labelsStack.pop();\n label.patch(this.encoder);\n };\n\n StdOpcodeBuilder.prototype.pushCurriedComponent = function () {\n this.push(74 /* PushCurriedComponent */);\n };\n\n StdOpcodeBuilder.prototype.pushDynamicComponentInstance = function () {\n this.push(73 /* PushDynamicComponentInstance */);\n };\n\n StdOpcodeBuilder.prototype.openDynamicElement = function () {\n this.push(34 /* OpenDynamicElement */);\n };\n\n StdOpcodeBuilder.prototype.flushElement = function () {\n this.push(38 /* FlushElement */);\n };\n\n StdOpcodeBuilder.prototype.closeElement = function () {\n this.push(39 /* CloseElement */);\n };\n\n StdOpcodeBuilder.prototype.putIterator = function () {\n this.push(66 /* PutIterator */);\n };\n\n StdOpcodeBuilder.prototype.enterList = function (start) {\n this.reserve(64 /* EnterList */);\n this.labels.target(this.pos, start);\n };\n\n StdOpcodeBuilder.prototype.exitList = function () {\n this.push(65 /* ExitList */);\n };\n\n StdOpcodeBuilder.prototype.iterate = function (breaks) {\n this.reserve(67 /* Iterate */);\n this.labels.target(this.pos, breaks);\n };\n\n StdOpcodeBuilder.prototype.setNamedVariables = function (state) {\n this.push(2 /* SetNamedVariables */, state);\n };\n\n StdOpcodeBuilder.prototype.setBlocks = function (state) {\n this.push(3 /* SetBlocks */, state);\n };\n\n StdOpcodeBuilder.prototype.setVariable = function (symbol) {\n this.push(4 /* SetVariable */, symbol);\n };\n\n StdOpcodeBuilder.prototype.setBlock = function (symbol) {\n this.push(5 /* SetBlock */, symbol);\n };\n\n StdOpcodeBuilder.prototype.getVariable = function (symbol) {\n this.push(6 /* GetVariable */, symbol);\n };\n\n StdOpcodeBuilder.prototype.getBlock = function (symbol) {\n this.push(8 /* GetBlock */, symbol);\n };\n\n StdOpcodeBuilder.prototype.hasBlock = function (symbol) {\n this.push(9 /* HasBlock */, symbol);\n };\n\n StdOpcodeBuilder.prototype.concat = function (size) {\n this.push(11 /* Concat */, size);\n };\n\n StdOpcodeBuilder.prototype.load = function (register) {\n this.push(18 /* Load */, register);\n };\n\n StdOpcodeBuilder.prototype.fetch = function (register) {\n this.push(19 /* Fetch */, register);\n };\n\n StdOpcodeBuilder.prototype.dup = function () {\n var register = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : _vm.Register.sp;\n var offset = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;\n\n return this.push(16 /* Dup */, register, offset);\n };\n\n StdOpcodeBuilder.prototype.pop = function () {\n var count = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n\n return this.push(17 /* Pop */, count);\n };\n\n StdOpcodeBuilder.prototype.returnTo = function (label) {\n this.reserveMachine(25 /* ReturnTo */);\n this.labels.target(this.pos, label);\n };\n\n StdOpcodeBuilder.prototype.primitiveReference = function () {\n this.push(14 /* PrimitiveReference */);\n };\n\n StdOpcodeBuilder.prototype.reifyU32 = function () {\n this.push(15 /* ReifyU32 */);\n };\n\n StdOpcodeBuilder.prototype.enter = function (args) {\n this.push(61 /* Enter */, args);\n };\n\n StdOpcodeBuilder.prototype.exit = function () {\n this.push(62 /* Exit */);\n };\n\n StdOpcodeBuilder.prototype.return = function () {\n this.pushMachine(24 /* Return */);\n };\n\n StdOpcodeBuilder.prototype.jump = function (target) {\n this.reserveMachine(52 /* Jump */);\n this.labels.target(this.pos, target);\n };\n\n StdOpcodeBuilder.prototype.jumpIf = function (target) {\n this.reserve(53 /* JumpIf */);\n this.labels.target(this.pos, target);\n };\n\n StdOpcodeBuilder.prototype.jumpUnless = function (target) {\n this.reserve(54 /* JumpUnless */);\n this.labels.target(this.pos, target);\n };\n\n StdOpcodeBuilder.prototype.jumpEq = function (value, target) {\n this.reserveWithOperand(55 /* JumpEq */, value);\n this.labels.target(this.pos, target);\n };\n\n StdOpcodeBuilder.prototype.assertSame = function () {\n this.push(56 /* AssertSame */);\n };\n\n StdOpcodeBuilder.prototype.pushEmptyArgs = function () {\n this.push(77 /* PushEmptyArgs */);\n };\n\n StdOpcodeBuilder.prototype.switch = function (_opcode, callback) {\n var _this = this,\n i,\n clause;\n\n // Setup the switch DSL\n var clauses = [];\n var count = 0;\n function when(match, callback) {\n clauses.push({ match: match, callback: callback, label: 'CLAUSE' + count++ });\n }\n // Call the callback\n callback(when);\n // Emit the opcodes for the switch\n this.enter(2);\n this.assertSame();\n this.reifyU32();\n this.startLabels();\n // First, emit the jump opcodes. We don't need a jump for the last\n // opcode, since it bleeds directly into its clause.\n clauses.slice(0, -1).forEach(function (clause) {\n return _this.jumpEq(clause.match, clause.label);\n });\n // Enumerate the clauses in reverse order. Earlier matches will\n // require fewer checks.\n for (i = clauses.length - 1; i >= 0; i--) {\n clause = clauses[i];\n\n this.label(clause.label);\n this.pop(2);\n clause.callback();\n // 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 if (i !== 0) {\n this.jump('END');\n }\n }\n this.label('END');\n this.stopLabels();\n this.exit();\n };\n\n StdOpcodeBuilder.prototype.stdAppend = function (trusting) {\n var _this2 = this;\n\n this.switch(this.contentType(), function (when) {\n when(1 /* String */, function () {\n if (trusting) {\n _this2.assertSame();\n _this2.appendHTML();\n } else {\n _this2.appendText();\n }\n });\n when(0 /* Component */, function () {\n _this2.pushCurriedComponent();\n _this2.pushDynamicComponentInstance();\n _this2.invokeBareComponent();\n });\n when(3 /* SafeString */, function () {\n _this2.assertSame();\n _this2.appendSafeHTML();\n });\n when(4 /* Fragment */, function () {\n _this2.assertSame();\n _this2.appendDocumentFragment();\n });\n when(5 /* Node */, function () {\n _this2.assertSame();\n _this2.appendNode();\n });\n });\n };\n\n StdOpcodeBuilder.prototype.populateLayout = function (state) {\n this.push(89 /* PopulateLayout */, state);\n };\n\n StdOpcodeBuilder.prototype.invokeBareComponent = function () {\n var _this3 = this;\n\n this.fetch(_vm.Register.s0);\n this.dup(_vm.Register.sp, 1);\n this.load(_vm.Register.s0);\n this.pushFrame();\n this.pushEmptyArgs();\n this.prepareArgs(_vm.Register.s0);\n this.invokePreparedComponent(false, false, true, function () {\n _this3.getComponentLayout(_vm.Register.s0);\n _this3.populateLayout(_vm.Register.s0);\n });\n this.load(_vm.Register.s0);\n };\n\n StdOpcodeBuilder.prototype.isComponent = function () {\n this.push(69 /* IsComponent */);\n };\n\n StdOpcodeBuilder.prototype.contentType = function () {\n this.push(70 /* ContentType */);\n };\n\n StdOpcodeBuilder.prototype.pushBlockScope = function () {\n this.push(47 /* PushBlockScope */);\n };\n\n (0, _emberBabel.createClass)(StdOpcodeBuilder, [{\n key: 'pos',\n get: function () {\n return this.encoder.typePos;\n }\n }, {\n key: 'nextPos',\n get: function () {\n return this.encoder.size;\n }\n }, {\n key: 'labels',\n get: function () {\n return this.labelsStack.current;\n }\n }]);\n return StdOpcodeBuilder;\n }();\n\n var OpcodeBuilder = function (_StdOpcodeBuilder) {\n (0, _emberBabel.inherits)(OpcodeBuilder, _StdOpcodeBuilder);\n\n function OpcodeBuilder(compiler, containingLayout) {\n\n var _this4 = (0, _emberBabel.possibleConstructorReturn)(this, _StdOpcodeBuilder.call(this, compiler, containingLayout ? containingLayout.block.symbols.length : 0));\n\n _this4.containingLayout = containingLayout;\n _this4.component = new ComponentBuilder(_this4);\n _this4.expressionCompiler = expressionCompiler();\n _this4.isComponentAttrs = false;\n _this4.constants = compiler.constants;\n _this4.stdLib = compiler.stdLib;\n return _this4;\n }\n /// MECHANICS\n\n\n OpcodeBuilder.prototype.setComponentAttrs = function (enabled) {\n this.isComponentAttrs = enabled;\n };\n\n OpcodeBuilder.prototype.expr = function (expression) {\n if (Array.isArray(expression)) {\n this.expressionCompiler.compile(expression, this);\n } else {\n this.pushPrimitiveReference(expression);\n }\n };\n\n OpcodeBuilder.prototype.pushArgs = function (names, flags) {\n var serialized = this.constants.stringArray(names);\n this.push(76 /* PushArgs */, serialized, flags);\n };\n\n OpcodeBuilder.prototype.pushYieldableBlock = function (block) {\n this.pushSymbolTable(block && block.symbolTable);\n this.pushBlockScope();\n this.pushBlock(block);\n };\n\n OpcodeBuilder.prototype.curryComponent = function (definition,\n /* TODO: attrs: Option<RawInlineBlock>, */params, hash, synthetic) {\n var referrer = this.containingLayout.referrer;\n this.pushFrame();\n this.compileArgs(params, hash, null, synthetic);\n this.push(80 /* CaptureArgs */);\n this.expr(definition);\n this.push(71 /* CurryComponent */, this.constants.serializable(referrer));\n this.popFrame();\n this.fetch(_vm.Register.v0);\n };\n\n OpcodeBuilder.prototype.pushSymbolTable = function (table) {\n var constant;\n\n if (table) {\n constant = this.constants.serializable(table);\n\n this.push(48 /* PushSymbolTable */, constant);\n } else {\n this.primitive(null);\n }\n };\n\n OpcodeBuilder.prototype.invokeComponent = function (capabilities, attrs, params, hash, synthetic, block) {\n var _this5 = this;\n\n var inverse = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : null;\n var layout = arguments[7];\n\n this.fetch(_vm.Register.s0);\n this.dup(_vm.Register.sp, 1);\n this.load(_vm.Register.s0);\n this.pushFrame();\n\n var bindableAtNames = capabilities === true || capabilities.prepareArgs || !!(hash && hash[0].length !== 0);\n\n this.compileArgs(params, hash, { main: block, else: inverse, attrs: attrs }, synthetic);\n this.prepareArgs(_vm.Register.s0);\n this.invokePreparedComponent(block !== null, !!(block || inverse || attrs), bindableAtNames, function () {\n if (layout) {\n _this5.pushSymbolTable(layout.symbolTable);\n _this5.pushLayout(layout);\n _this5.resolveLayout();\n } else {\n _this5.getComponentLayout(_vm.Register.s0);\n }\n _this5.populateLayout(_vm.Register.s0);\n });\n this.load(_vm.Register.s0);\n };\n\n OpcodeBuilder.prototype.invokeStaticComponent = function (capabilities, layout, attrs, params, hash, synthetic, block) {\n var inverse = arguments.length > 7 && arguments[7] !== undefined ? arguments[7] : null,\n i,\n symbol,\n callerBlock,\n keys,\n values,\n lookupName,\n index,\n _i,\n _bindings$_i,\n _symbol,\n isBlock;\n var symbolTable = layout.symbolTable;\n\n var bailOut = symbolTable.hasEval || capabilities.prepareArgs;\n if (bailOut) {\n this.invokeComponent(capabilities, attrs, params, hash, synthetic, block, inverse, layout);\n return;\n }\n this.fetch(_vm.Register.s0);\n this.dup(_vm.Register.sp, 1);\n this.load(_vm.Register.s0);\n var symbols = symbolTable.symbols;\n\n if (capabilities.createArgs) {\n this.pushFrame();\n this.compileArgs(null, hash, null, synthetic);\n }\n this.beginComponentTransaction();\n if (capabilities.dynamicScope) {\n this.pushDynamicScope();\n }\n if (capabilities.createInstance) {\n this.createComponent(_vm.Register.s0, block !== null);\n }\n if (capabilities.createArgs) {\n this.popFrame();\n }\n this.pushFrame();\n this.registerComponentDestructor(_vm.Register.s0);\n var bindings = [];\n this.getComponentSelf(_vm.Register.s0);\n bindings.push({ symbol: 0, isBlock: false });\n for (i = 0; i < symbols.length; i++) {\n symbol = symbols[i];\n\n switch (symbol.charAt(0)) {\n case '&':\n callerBlock = null;\n\n if (symbol === '&default') {\n callerBlock = block;\n } else if (symbol === '&inverse') {\n callerBlock = inverse;\n } else if (symbol === ATTRS_BLOCK) {\n callerBlock = attrs;\n } else {\n throw (0, _util.unreachable)();\n }\n if (callerBlock) {\n this.pushYieldableBlock(callerBlock);\n bindings.push({ symbol: i + 1, isBlock: true });\n } else {\n this.pushYieldableBlock(null);\n bindings.push({ symbol: i + 1, isBlock: true });\n }\n break;\n case '@':\n if (!hash) {\n break;\n }\n keys = hash[0], values = hash[1];\n lookupName = symbol;\n\n if (synthetic) {\n lookupName = symbol.slice(1);\n }\n index = keys.indexOf(lookupName);\n\n if (index !== -1) {\n this.expr(values[index]);\n bindings.push({ symbol: i + 1, isBlock: false });\n }\n break;\n }\n }\n this.pushRootScope(symbols.length + 1, !!(block || inverse || attrs));\n for (_i = bindings.length - 1; _i >= 0; _i--) {\n _bindings$_i = bindings[_i], _symbol = _bindings$_i.symbol, isBlock = _bindings$_i.isBlock;\n\n\n if (isBlock) {\n this.setBlock(_symbol);\n } else {\n this.setVariable(_symbol);\n }\n }\n this.invokeStatic(layout);\n if (capabilities.createInstance) {\n this.didRenderLayout(_vm.Register.s0);\n }\n this.popFrame();\n this.popScope();\n if (capabilities.dynamicScope) {\n this.popDynamicScope();\n }\n this.commitComponentTransaction();\n this.load(_vm.Register.s0);\n };\n\n OpcodeBuilder.prototype.dynamicComponent = function (definition, attrs, params, hash, synthetic, block) {\n var _this6 = this;\n\n var inverse = arguments.length > 6 && arguments[6] !== undefined ? arguments[6] : null;\n\n this.replayable({\n args: function () {\n _this6.expr(definition);\n _this6.dup();\n return 2;\n },\n body: function () {\n _this6.jumpUnless('ELSE');\n _this6.resolveDynamicComponent(_this6.containingLayout.referrer);\n _this6.pushDynamicComponentInstance();\n _this6.invokeComponent(true, attrs, params, hash, synthetic, block, inverse);\n _this6.label('ELSE');\n }\n });\n };\n\n OpcodeBuilder.prototype.yield = function (to, params) {\n this.compileArgs(params, null, null, false);\n this.getBlock(to);\n this.resolveBlock();\n this.invokeYield();\n this.popScope();\n this.popFrame();\n };\n\n OpcodeBuilder.prototype.guardedAppend = function (expression, trusting) {\n this.pushFrame();\n this.expr(expression);\n this.pushMachine(50 /* InvokeStatic */, this.stdLib.getAppend(trusting));\n this.popFrame();\n };\n\n OpcodeBuilder.prototype.invokeStaticBlock = function (block) {\n var callerCount = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0,\n i;\n var parameters = block.symbolTable.parameters;\n\n var calleeCount = parameters.length;\n var count = Math.min(callerCount, calleeCount);\n this.pushFrame();\n if (count) {\n this.pushChildScope();\n for (i = 0; i < count; i++) {\n this.dup(_vm.Register.fp, callerCount - i);\n this.setVariable(parameters[i]);\n }\n }\n this.pushBlock(block);\n this.resolveBlock();\n this.invokeVirtual();\n if (count) {\n this.popScope();\n }\n this.popFrame();\n };\n\n OpcodeBuilder.prototype.string = function (_string) {\n return this.constants.string(_string);\n };\n\n OpcodeBuilder.prototype.names = function (_names) {\n var names = [],\n i,\n n;\n for (i = 0; i < _names.length; i++) {\n n = _names[i];\n\n names[i] = this.constants.string(n);\n }\n return this.constants.array(names);\n };\n\n OpcodeBuilder.prototype.symbols = function (_symbols2) {\n return this.constants.array(_symbols2);\n };\n\n OpcodeBuilder.prototype.primitive = function (_primitive) {\n var type = 0 /* NUMBER */;\n var primitive = void 0;\n switch (typeof _primitive) {\n case 'number':\n if (_primitive % 1 === 0) {\n if (_primitive > -1) {\n primitive = _primitive;\n } else {\n primitive = this.constants.number(_primitive);\n type = 4 /* NEGATIVE */;\n }\n } else {\n primitive = this.constants.number(_primitive);\n type = 1 /* FLOAT */;\n }\n break;\n case 'string':\n primitive = this.string(_primitive);\n type = 2 /* STRING */;\n break;\n case 'boolean':\n primitive = _primitive | 0;\n type = 3 /* BOOLEAN_OR_VOID */;\n break;\n case 'object':\n // assume null\n primitive = 2;\n type = 3 /* BOOLEAN_OR_VOID */;\n break;\n case 'undefined':\n primitive = 3;\n type = 3 /* BOOLEAN_OR_VOID */;\n break;\n default:\n throw new Error('Invalid primitive passed to pushPrimitive');\n }\n var immediate = this.sizeImmediate(primitive << 3 | type, primitive);\n this.push(13 /* Primitive */, immediate);\n };\n\n OpcodeBuilder.prototype.sizeImmediate = function (shifted, primitive) {\n if (shifted >= 65535 /* MAX_SIZE */ || shifted < 0) {\n return this.constants.number(primitive) << 3 | 5 /* BIG_NUM */;\n }\n return shifted;\n };\n\n OpcodeBuilder.prototype.pushPrimitiveReference = function (primitive) {\n this.primitive(primitive);\n this.primitiveReference();\n };\n\n OpcodeBuilder.prototype.pushComponentDefinition = function (handle) {\n this.push(72 /* PushComponentDefinition */, this.constants.handle(handle));\n };\n\n OpcodeBuilder.prototype.resolveDynamicComponent = function (referrer) {\n this.push(75 /* ResolveDynamicComponent */, this.constants.serializable(referrer));\n };\n\n OpcodeBuilder.prototype.staticComponentHelper = function (tag, hash, template) {\n var _compiler$resolveLayo = this.compiler.resolveLayoutForTag(tag, this.referrer),\n handle = _compiler$resolveLayo.handle,\n capabilities = _compiler$resolveLayo.capabilities,\n compilable = _compiler$resolveLayo.compilable,\n i;\n\n if (handle !== null && capabilities !== null) {\n if (compilable) {\n if (hash) {\n for (i = 0; i < hash.length; i = i + 2) {\n hash[i][0] = '@' + hash[i][0];\n }\n }\n this.pushComponentDefinition(handle);\n this.invokeStaticComponent(capabilities, compilable, null, null, hash, false, template && template);\n return true;\n }\n }\n return false;\n };\n\n OpcodeBuilder.prototype.invokePartial = function (referrer, symbols, evalInfo) {\n var _meta = this.constants.serializable(referrer);\n var _symbols = this.constants.stringArray(symbols);\n var _evalInfo = this.constants.array(evalInfo);\n this.push(95 /* InvokePartial */, _meta, _symbols, _evalInfo);\n };\n\n OpcodeBuilder.prototype.resolveMaybeLocal = function (name) {\n this.push(96 /* ResolveMaybeLocal */, this.string(name));\n };\n\n OpcodeBuilder.prototype.debugger = function (symbols, evalInfo) {\n this.push(97 /* Debugger */, this.constants.stringArray(symbols), this.constants.array(evalInfo));\n };\n\n OpcodeBuilder.prototype.text = function (_text) {\n this.push(26 /* Text */, this.constants.string(_text));\n };\n\n OpcodeBuilder.prototype.openPrimitiveElement = function (tag) {\n this.push(33 /* OpenElement */, this.constants.string(tag));\n };\n\n OpcodeBuilder.prototype.modifier = function (locator, params, hash) {\n this.pushFrame();\n this.compileArgs(params, hash, null, true);\n this.push(40 /* Modifier */, this.constants.handle(locator));\n this.popFrame();\n };\n\n OpcodeBuilder.prototype.comment = function (_comment) {\n var comment = this.constants.string(_comment);\n this.push(27 /* Comment */, comment);\n };\n\n OpcodeBuilder.prototype.dynamicAttr = function (_name, _namespace, trusting) {\n var name = this.constants.string(_name);\n var namespace = _namespace ? this.constants.string(_namespace) : 0;\n if (this.isComponentAttrs) {\n this.push(37 /* ComponentAttr */, name, trusting === true ? 1 : 0, namespace);\n } else {\n this.push(36 /* DynamicAttr */, name, trusting === true ? 1 : 0, namespace);\n }\n };\n\n OpcodeBuilder.prototype.staticAttr = function (_name, _namespace, _value) {\n var name = this.constants.string(_name),\n value;\n var namespace = _namespace ? this.constants.string(_namespace) : 0;\n if (this.isComponentAttrs) {\n this.pushPrimitiveReference(_value);\n this.push(37 /* ComponentAttr */, name, 1, namespace);\n } else {\n value = this.constants.string(_value);\n\n this.push(35 /* StaticAttr */, name, value, namespace);\n }\n };\n\n OpcodeBuilder.prototype.hasBlockParams = function (to) {\n this.getBlock(to);\n this.resolveBlock();\n this.push(10 /* HasBlockParams */);\n };\n\n OpcodeBuilder.prototype.getProperty = function (key) {\n this.push(7 /* GetProperty */, this.string(key));\n };\n\n OpcodeBuilder.prototype.helper = function (_helper, params, hash) {\n this.pushFrame();\n this.compileArgs(params, hash, null, true);\n this.push(1 /* Helper */, this.constants.handle(_helper));\n this.popFrame();\n this.fetch(_vm.Register.v0);\n };\n\n OpcodeBuilder.prototype.bindDynamicScope = function (_names) {\n this.push(43 /* BindDynamicScope */, this.names(_names));\n };\n\n OpcodeBuilder.prototype.replayable = function (_ref) {\n var args = _ref.args,\n body = _ref.body;\n\n // Start a new label frame, to give END and RETURN\n // a unique meaning.\n this.startLabels();\n this.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 this.returnTo('ENDINITIAL');\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 count = args();\n // 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 this.enter(count);\n // 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();\n // 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 this.label('FINALLY');\n // Finalize the DOM.\n this.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 this.return();\n // Cleanup code for the block. Runs on initial execution\n // but not on updating.\n this.label('ENDINITIAL');\n this.popFrame();\n this.stopLabels();\n };\n\n OpcodeBuilder.prototype.replayableIf = function (_ref2) {\n var _this7 = this;\n\n var args = _ref2.args,\n ifTrue = _ref2.ifTrue,\n ifFalse = _ref2.ifFalse;\n\n this.replayable({\n args: args,\n body: function () {\n // If the conditional is false, jump to the ELSE label.\n _this7.jumpUnless('ELSE');\n // Otherwise, execute the code associated with the true branch.\n ifTrue();\n // 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 _this7.jump('FINALLY');\n _this7.label('ELSE');\n // 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 if (ifFalse) {\n ifFalse();\n }\n }\n });\n };\n\n OpcodeBuilder.prototype.inlineBlock = function (block) {\n return new CompilableBlock(this.compiler, {\n block: block,\n containingLayout: this.containingLayout\n });\n };\n\n OpcodeBuilder.prototype.evalSymbols = function () {\n var block = this.containingLayout.block;\n\n return block.hasEval ? block.symbols : null;\n };\n\n OpcodeBuilder.prototype.compileParams = function (params) {\n var i;\n\n if (!params) return 0;\n for (i = 0; i < params.length; i++) {\n this.expr(params[i]);\n }\n return params.length;\n };\n\n OpcodeBuilder.prototype.compileArgs = function (params, hash, blocks, synthetic) {\n if (blocks) {\n this.pushYieldableBlock(blocks.main);\n this.pushYieldableBlock(blocks.else);\n this.pushYieldableBlock(blocks.attrs);\n }\n var count = this.compileParams(params),\n val,\n i;\n var flags = count << 4;\n if (synthetic) flags |= 8;\n if (blocks) {\n flags |= 7;\n }\n var names = _util.EMPTY_ARRAY;\n if (hash) {\n names = hash[0];\n val = hash[1];\n\n for (i = 0; i < val.length; i++) {\n this.expr(val[i]);\n }\n }\n this.pushArgs(names, flags);\n };\n\n OpcodeBuilder.prototype.template = function (block) {\n if (!block) return null;\n return this.inlineBlock(block);\n };\n\n (0, _emberBabel.createClass)(OpcodeBuilder, [{\n key: 'referrer',\n get: function () {\n return this.containingLayout && this.containingLayout.referrer;\n }\n }]);\n return OpcodeBuilder;\n }(StdOpcodeBuilder);\n\n var LazyOpcodeBuilder = function (_OpcodeBuilder) {\n (0, _emberBabel.inherits)(LazyOpcodeBuilder, _OpcodeBuilder);\n\n function LazyOpcodeBuilder() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _OpcodeBuilder.apply(this, arguments));\n }\n\n LazyOpcodeBuilder.prototype.pushBlock = function (block) {\n if (block) {\n this.pushOther(block);\n } else {\n this.primitive(null);\n }\n };\n\n LazyOpcodeBuilder.prototype.resolveBlock = function () {\n this.push(46 /* CompileBlock */);\n };\n\n LazyOpcodeBuilder.prototype.pushLayout = function (layout) {\n if (layout) {\n this.pushOther(layout);\n } else {\n this.primitive(null);\n }\n };\n\n LazyOpcodeBuilder.prototype.resolveLayout = function () {\n this.push(46 /* CompileBlock */);\n };\n\n LazyOpcodeBuilder.prototype.invokeStatic = function (compilable) {\n this.pushOther(compilable);\n this.push(46 /* CompileBlock */);\n this.pushMachine(49 /* InvokeVirtual */);\n };\n\n LazyOpcodeBuilder.prototype.pushOther = function (value) {\n this.push(12 /* Constant */, this.other(value));\n };\n\n LazyOpcodeBuilder.prototype.other = function (value) {\n return this.constants.other(value);\n };\n\n return LazyOpcodeBuilder;\n }(OpcodeBuilder);\n\n var EagerOpcodeBuilder = function (_OpcodeBuilder2) {\n (0, _emberBabel.inherits)(EagerOpcodeBuilder, _OpcodeBuilder2);\n\n function EagerOpcodeBuilder() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _OpcodeBuilder2.apply(this, arguments));\n }\n\n EagerOpcodeBuilder.prototype.pushBlock = function (block) {\n var handle = block ? block.compile() : null;\n this.primitive(handle);\n };\n\n EagerOpcodeBuilder.prototype.resolveBlock = function () {};\n\n EagerOpcodeBuilder.prototype.pushLayout = function (layout) {\n if (layout) {\n this.primitive(layout.compile());\n } else {\n this.primitive(null);\n }\n };\n\n EagerOpcodeBuilder.prototype.resolveLayout = function () {};\n\n EagerOpcodeBuilder.prototype.invokeStatic = function (compilable) {\n var handle = compilable.compile();\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 if (handle === PLACEHOLDER_HANDLE$1) {\n this.pushMachine(50 /* InvokeStatic */, function () {\n return compilable.compile();\n });\n } else {\n this.pushMachine(50 /* InvokeStatic */, handle);\n }\n };\n\n return EagerOpcodeBuilder;\n }(OpcodeBuilder);\n\n var LazyCompiler = function (_AbstractCompiler) {\n (0, _emberBabel.inherits)(LazyCompiler, _AbstractCompiler);\n\n // FIXME: turn to static method\n function LazyCompiler(lookup, resolver, macros) {\n\n var constants = new _program.LazyConstants(resolver);\n var program = new _program.Program(constants);\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractCompiler.call(this, macros, program, lookup));\n }\n\n LazyCompiler.prototype.builderFor = function (containingLayout) {\n return new LazyOpcodeBuilder(this, containingLayout);\n };\n\n return LazyCompiler;\n }(AbstractCompiler);\n\n var PartialDefinition = function () {\n function PartialDefinition(name, // for debugging\n template) {\n\n this.name = name;\n this.template = template;\n }\n\n PartialDefinition.prototype.getPartial = function () {\n var partial = this.template.asPartial();\n var handle = partial.compile();\n return { symbolTable: partial.symbolTable, handle: handle };\n };\n\n return PartialDefinition;\n }();\n\n var clientId = 0;\n function templateFactory(_ref3) {\n var templateId = _ref3.id,\n meta = _ref3.meta,\n block = _ref3.block;\n\n var parsedBlock = void 0;\n var id = templateId || 'client-' + clientId++;\n var create = function (compiler, envMeta) {\n var newMeta = envMeta ? (0, _util.assign)({}, envMeta, meta) : meta;\n if (!parsedBlock) {\n parsedBlock = JSON.parse(block);\n }\n return new TemplateImpl(compiler, { id: id, block: parsedBlock, referrer: newMeta });\n };\n return { id: id, meta: meta, create: create };\n }\n\n var TemplateImpl = function () {\n function TemplateImpl(compiler, parsedLayout) {\n\n this.compiler = compiler;\n this.parsedLayout = parsedLayout;\n this.layout = null;\n this.partial = null;\n this.wrappedLayout = null;\n var block = parsedLayout.block;\n\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 TemplateImpl.prototype.asLayout = function () {\n if (this.layout) return this.layout;\n return this.layout = new CompilableProgram(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, { asPartial: false }));\n };\n\n TemplateImpl.prototype.asPartial = function () {\n if (this.partial) return this.partial;\n return this.layout = new CompilableProgram(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, { asPartial: true }));\n };\n\n TemplateImpl.prototype.asWrappedLayout = function () {\n if (this.wrappedLayout) return this.wrappedLayout;\n return this.wrappedLayout = new WrappedBuilder(this.compiler, (0, _polyfills.assign)({}, this.parsedLayout, { asPartial: false }));\n };\n\n return TemplateImpl;\n }();\n\n exports.ATTRS_BLOCK = ATTRS_BLOCK;\n exports.Macros = function () {\n\n var _populateBuiltins = populateBuiltins(),\n blocks = _populateBuiltins.blocks,\n inlines = _populateBuiltins.inlines;\n\n this.blocks = blocks;\n this.inlines = inlines;\n };\n exports.LazyCompiler = LazyCompiler;\n exports.compile = compile;\n exports.AbstractCompiler = AbstractCompiler;\n exports.debugCompiler = void 0;\n exports.CompilableBlock = CompilableBlock;\n exports.CompilableProgram = CompilableProgram;\n exports.LazyOpcodeBuilder = LazyOpcodeBuilder;\n exports.EagerOpcodeBuilder = EagerOpcodeBuilder;\n exports.OpcodeBuilder = OpcodeBuilder;\n exports.StdOpcodeBuilder = StdOpcodeBuilder;\n exports.PartialDefinition = PartialDefinition;\n exports.templateFactory = templateFactory;\n exports.debug = function (pos, c, op) {\n for (_len = arguments.length, operands = Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n operands[_key - 3] = arguments[_key];\n }\n\n var metadata = null,\n _len,\n operands,\n _key;\n\n throw (0, _util.unreachable)('Missing Opcode Metadata for ' + op);\n\n var out = (0, _util.dict)();\n };\n exports.debugSlice = function () {};\n exports.logOpcode = function (type, params) {\n var out = type,\n args;\n if (params) {\n args = Object.keys(params).map(function (p) {\n return ' ' + p + '=' + json(params[p]);\n }).join('');\n\n out += args;\n }\n return '(' + out + ')';\n };\n exports.WrappedBuilder = WrappedBuilder;\n exports.PLACEHOLDER_HANDLE = -1;\n});","enifed('@glimmer/program', ['exports', 'ember-babel', '@glimmer/util'], function (exports, _emberBabel) {\n 'use strict';\n\n exports.Opcode = exports.Program = exports.RuntimeProgram = exports.WriteOnlyProgram = exports.Heap = exports.LazyConstants = exports.Constants = exports.RuntimeConstants = exports.WriteOnlyConstants = exports.WELL_KNOWN_EMPTY_ARRAY_POSITION = undefined;\n\n var UNRESOLVED = {};\n var WELL_KNOWN_EMPTY_ARRAY_POSITION = 0;\n var WELL_KNOW_EMPTY_ARRAY = Object.freeze([]);\n\n var WriteOnlyConstants = function () {\n function WriteOnlyConstants() {\n\n // `0` means NULL\n this.strings = [];\n this.arrays = [WELL_KNOW_EMPTY_ARRAY];\n this.tables = [];\n this.handles = [];\n this.resolved = [];\n this.numbers = [];\n }\n\n WriteOnlyConstants.prototype.string = function (value) {\n var index = this.strings.indexOf(value);\n if (index > -1) {\n return index;\n }\n return this.strings.push(value) - 1;\n };\n\n WriteOnlyConstants.prototype.stringArray = function (strings) {\n var _strings = new Array(strings.length),\n i;\n for (i = 0; i < strings.length; i++) {\n _strings[i] = this.string(strings[i]);\n }\n return this.array(_strings);\n };\n\n WriteOnlyConstants.prototype.array = function (values) {\n if (values.length === 0) {\n return WELL_KNOWN_EMPTY_ARRAY_POSITION;\n }\n var index = this.arrays.indexOf(values);\n if (index > -1) {\n return index;\n }\n return this.arrays.push(values) - 1;\n };\n\n WriteOnlyConstants.prototype.handle = function (_handle) {\n var index = this.handles.indexOf(_handle);\n if (index > -1) {\n return index;\n }\n this.resolved.push(UNRESOLVED);\n return this.handles.push(_handle) - 1;\n };\n\n WriteOnlyConstants.prototype.serializable = function (value) {\n var str = JSON.stringify(value);\n var index = this.strings.indexOf(str);\n if (index > -1) {\n return index;\n }\n return this.strings.push(str) - 1;\n };\n\n WriteOnlyConstants.prototype.number = function (_number) {\n var index = this.numbers.indexOf(_number);\n if (index > -1) {\n return index;\n }\n return this.numbers.push(_number) - 1;\n };\n\n WriteOnlyConstants.prototype.toPool = function () {\n return {\n strings: this.strings,\n arrays: this.arrays,\n handles: this.handles,\n numbers: this.numbers\n };\n };\n\n return WriteOnlyConstants;\n }();\n\n var RuntimeConstants = function () {\n function RuntimeConstants(resolver, pool) {\n\n this.resolver = resolver;\n this.strings = pool.strings;\n this.arrays = pool.arrays;\n this.handles = pool.handles;\n this.resolved = this.handles.map(function () {\n return UNRESOLVED;\n });\n this.numbers = pool.numbers;\n }\n\n RuntimeConstants.prototype.getString = function (value) {\n return this.strings[value];\n };\n\n RuntimeConstants.prototype.getNumber = function (value) {\n return this.numbers[value];\n };\n\n RuntimeConstants.prototype.getStringArray = function (value) {\n var names = this.getArray(value),\n i,\n n;\n var _names = new Array(names.length);\n for (i = 0; i < names.length; i++) {\n n = names[i];\n\n _names[i] = this.getString(n);\n }\n return _names;\n };\n\n RuntimeConstants.prototype.getArray = function (value) {\n return this.arrays[value];\n };\n\n RuntimeConstants.prototype.resolveHandle = function (index) {\n var resolved = this.resolved[index],\n handle;\n if (resolved === UNRESOLVED) {\n handle = this.handles[index];\n\n resolved = this.resolved[index] = this.resolver.resolve(handle);\n }\n return resolved;\n };\n\n RuntimeConstants.prototype.getSerializable = function (s) {\n return JSON.parse(this.strings[s]);\n };\n\n return RuntimeConstants;\n }();\n\n var Constants = function (_WriteOnlyConstants) {\n (0, _emberBabel.inherits)(Constants, _WriteOnlyConstants);\n\n function Constants(resolver, pool) {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _WriteOnlyConstants.call(this));\n\n _this.resolver = resolver;\n if (pool) {\n _this.strings = pool.strings;\n _this.arrays = pool.arrays;\n _this.handles = pool.handles;\n _this.resolved = _this.handles.map(function () {\n return UNRESOLVED;\n });\n _this.numbers = pool.numbers;\n }\n return _this;\n }\n\n Constants.prototype.getNumber = function (value) {\n return this.numbers[value];\n };\n\n Constants.prototype.getString = function (value) {\n return this.strings[value];\n };\n\n Constants.prototype.getStringArray = function (value) {\n var names = this.getArray(value),\n i,\n n;\n var _names = new Array(names.length);\n for (i = 0; i < names.length; i++) {\n n = names[i];\n\n _names[i] = this.getString(n);\n }\n return _names;\n };\n\n Constants.prototype.getArray = function (value) {\n return this.arrays[value];\n };\n\n Constants.prototype.resolveHandle = function (index) {\n var resolved = this.resolved[index],\n handle;\n if (resolved === UNRESOLVED) {\n handle = this.handles[index];\n\n resolved = this.resolved[index] = this.resolver.resolve(handle);\n }\n return resolved;\n };\n\n Constants.prototype.getSerializable = function (s) {\n return JSON.parse(this.strings[s]);\n };\n\n return Constants;\n }(WriteOnlyConstants);\n\n var LazyConstants = function (_Constants) {\n (0, _emberBabel.inherits)(LazyConstants, _Constants);\n\n function LazyConstants() {\n\n var _this2 = (0, _emberBabel.possibleConstructorReturn)(this, _Constants.apply(this, arguments));\n\n _this2.others = [];\n _this2.serializables = [];\n return _this2;\n }\n\n LazyConstants.prototype.serializable = function (value) {\n var index = this.serializables.indexOf(value);\n if (index > -1) {\n return index;\n }\n return this.serializables.push(value) - 1;\n };\n\n LazyConstants.prototype.getSerializable = function (s) {\n return this.serializables[s];\n };\n\n LazyConstants.prototype.getOther = function (value) {\n return this.others[value - 1];\n };\n\n LazyConstants.prototype.other = function (_other) {\n return this.others.push(_other);\n };\n\n return LazyConstants;\n }(Constants);\n\n var Opcode = function () {\n function Opcode(heap) {\n\n this.heap = heap;\n this.offset = 0;\n }\n\n (0, _emberBabel.createClass)(Opcode, [{\n key: 'size',\n get: function () {\n var rawType = this.heap.getbyaddr(this.offset);\n return ((rawType & 768 /* OPERAND_LEN_MASK */) >> 8 /* ARG_SHIFT */) + 1;\n }\n }, {\n key: 'isMachine',\n get: function () {\n var rawType = this.heap.getbyaddr(this.offset);\n return rawType & 1024 /* MACHINE_MASK */;\n }\n }, {\n key: 'type',\n get: function () {\n return this.heap.getbyaddr(this.offset) & 255 /* TYPE_MASK */;\n }\n }, {\n key: 'op1',\n get: function () {\n return this.heap.getbyaddr(this.offset + 1);\n }\n }, {\n key: 'op2',\n get: function () {\n return this.heap.getbyaddr(this.offset + 2);\n }\n }, {\n key: 'op3',\n get: function () {\n return this.heap.getbyaddr(this.offset + 3);\n }\n }]);\n return Opcode;\n }();\n\n function encodeTableInfo(size, scopeSize, state) {\n return size | scopeSize << 16 | state << 30;\n }\n function changeState(info, newState) {\n return info | newState << 30;\n }\n var PAGE_SIZE = 0x100000;\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) |\n * | ... | Handle | Size | Scope Size | State |\n * | ... | 32-bits | 16b | 14b | 2b |\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 var Heap = function () {\n function Heap(serializedHeap) {\n var buffer, table, handle;\n\n\n this.placeholders = [];\n this.offset = 0;\n this.handle = 0;\n this.capacity = PAGE_SIZE;\n if (serializedHeap) {\n buffer = serializedHeap.buffer, table = serializedHeap.table, handle = serializedHeap.handle;\n\n\n this.heap = new Uint16Array(buffer);\n this.table = table;\n this.offset = this.heap.length;\n this.handle = handle;\n this.capacity = 0;\n } else {\n this.heap = new Uint16Array(PAGE_SIZE);\n this.table = [];\n }\n }\n\n Heap.prototype.push = function (item) {\n this.sizeCheck();\n this.heap[this.offset++] = item;\n };\n\n Heap.prototype.sizeCheck = function () {\n var heap;\n\n if (this.capacity === 0) {\n heap = slice(this.heap, 0, this.offset);\n\n this.heap = new Uint16Array(heap.length + PAGE_SIZE);\n this.heap.set(heap, 0);\n this.capacity = PAGE_SIZE;\n }\n this.capacity--;\n };\n\n Heap.prototype.getbyaddr = function (address) {\n return this.heap[address];\n };\n\n Heap.prototype.setbyaddr = function (address, value) {\n this.heap[address] = value;\n };\n\n Heap.prototype.malloc = function () {\n this.table.push(this.offset, 0);\n var handle = this.handle;\n this.handle += 2 /* ENTRY_SIZE */;\n return handle;\n };\n\n Heap.prototype.finishMalloc = function (handle, scopeSize) {\n var start = this.table[handle];\n var finish = this.offset;\n\n var info = encodeTableInfo(finish - start, scopeSize, 0 /* Allocated */);\n this.table[handle + 1 /* INFO_OFFSET */] = info;\n };\n\n Heap.prototype.size = function () {\n return this.offset;\n };\n\n Heap.prototype.getaddr = function (handle) {\n return this.table[handle];\n };\n\n Heap.prototype.gethandle = function (address) {\n this.table.push(address, encodeTableInfo(0, 0, 3 /* Pointer */));\n var handle = this.handle;\n this.handle += 2 /* ENTRY_SIZE */;\n return handle;\n };\n\n Heap.prototype.sizeof = function () {\n return -1;\n };\n\n Heap.prototype.scopesizeof = function (handle) {\n var info = this.table[handle + 1 /* INFO_OFFSET */];\n return (info & 1073676288 /* SCOPE_MASK */) >> 16;\n };\n\n Heap.prototype.free = function (handle) {\n var info = this.table[handle + 1 /* INFO_OFFSET */];\n this.table[handle + 1 /* INFO_OFFSET */] = changeState(info, 1 /* Freed */);\n };\n\n Heap.prototype.compact = function () {\n var compactedSize = 0,\n i,\n offset,\n info,\n size /* SIZE_MASK */,\n state,\n j;\n var table = this.table,\n length = this.table.length,\n heap = this.heap;\n\n for (i = 0; i < length; i += 2 /* ENTRY_SIZE */) {\n offset = table[i];\n info = table[i + 1 /* INFO_OFFSET */];\n size = info & 65535;\n state = info & 3221225472 /* STATE_MASK */ >> 30;\n\n if (state === 2 /* Purged */) {\n continue;\n } else if (state === 1 /* Freed */) {\n // transition to \"already freed\" aka \"purged\"\n // a good improvement would be to reuse\n // these slots\n table[i + 1 /* INFO_OFFSET */] = changeState(info, 2 /* Purged */);\n compactedSize += size;\n } else if (state === 0 /* Allocated */) {\n for (j = offset; j <= i + size; j++) {\n heap[j - compactedSize] = heap[j];\n }\n table[i] = offset - compactedSize;\n } else if (state === 3 /* Pointer */) {\n table[i] = offset - compactedSize;\n }\n }\n this.offset = this.offset - compactedSize;\n };\n\n Heap.prototype.pushPlaceholder = function (valueFunc) {\n this.sizeCheck();\n var address = this.offset++;\n this.heap[address] = 65535 /* MAX_SIZE */;\n this.placeholders.push([address, valueFunc]);\n };\n\n Heap.prototype.patchPlaceholders = function () {\n var placeholders = this.placeholders,\n i,\n _placeholders$i,\n address,\n getValue;\n\n for (i = 0; i < placeholders.length; i++) {\n _placeholders$i = placeholders[i], address = _placeholders$i[0], getValue = _placeholders$i[1];\n\n\n this.setbyaddr(address, getValue());\n }\n };\n\n Heap.prototype.capture = function () {\n var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.offset;\n\n this.patchPlaceholders();\n // Only called in eager mode\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 return Heap;\n }();\n\n var WriteOnlyProgram = function () {\n function WriteOnlyProgram() {\n var constants = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new WriteOnlyConstants();\n var heap = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Heap();\n\n\n this.constants = constants;\n this.heap = heap;\n this._opcode = new Opcode(this.heap);\n }\n\n WriteOnlyProgram.prototype.opcode = function (offset) {\n this._opcode.offset = offset;\n return this._opcode;\n };\n\n return WriteOnlyProgram;\n }();\n\n var RuntimeProgram = function () {\n function RuntimeProgram(constants, heap) {\n\n this.constants = constants;\n this.heap = heap;\n this._opcode = new Opcode(this.heap);\n }\n\n RuntimeProgram.hydrate = function (rawHeap, pool, resolver) {\n var heap = new Heap(rawHeap);\n var constants = new RuntimeConstants(resolver, pool);\n return new RuntimeProgram(constants, heap);\n };\n\n RuntimeProgram.prototype.opcode = function (offset) {\n this._opcode.offset = offset;\n return this._opcode;\n };\n\n return RuntimeProgram;\n }();\n\n var Program = function (_WriteOnlyProgram) {\n (0, _emberBabel.inherits)(Program, _WriteOnlyProgram);\n\n function Program() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _WriteOnlyProgram.apply(this, arguments));\n }\n\n return Program;\n }(WriteOnlyProgram);\n\n function slice(arr, start, end) {\n if (arr.slice !== undefined) {\n return arr.slice(start, end);\n }\n var ret = new Uint16Array(end);\n for (; start < end; start++) {\n ret[start] = arr[start];\n }\n return ret;\n }\n\n exports.WELL_KNOWN_EMPTY_ARRAY_POSITION = WELL_KNOWN_EMPTY_ARRAY_POSITION;\n exports.WriteOnlyConstants = WriteOnlyConstants;\n exports.RuntimeConstants = RuntimeConstants;\n exports.Constants = Constants;\n exports.LazyConstants = LazyConstants;\n exports.Heap = Heap;\n exports.WriteOnlyProgram = WriteOnlyProgram;\n exports.RuntimeProgram = RuntimeProgram;\n exports.Program = Program;\n exports.Opcode = Opcode;\n});","enifed('@glimmer/reference', ['exports', 'ember-babel', '@glimmer/util'], function (exports, _emberBabel, _util) {\n 'use strict';\n\n exports.isModified = exports.ReferenceCache = exports.map = exports.CachedReference = exports.UpdatableTag = exports.CachedTag = exports.combine = exports.combineSlice = exports.combineTagged = exports.DirtyableTag = exports.bump = exports.isConstTag = exports.isConst = exports.CURRENT_TAG = exports.VOLATILE_TAG = exports.CONSTANT_TAG = exports.TagWrapper = exports.RevisionTag = exports.VOLATILE = exports.INITIAL = exports.CONSTANT = exports.IteratorSynchronizer = exports.ReferenceIterator = exports.IterationArtifacts = exports.ListItem = exports.ConstReference = undefined;\n\n var CONSTANT = 0;\n var INITIAL = 1;\n var VOLATILE = NaN;\n\n var RevisionTag = function () {\n function RevisionTag() {}\n\n RevisionTag.prototype.validate = function (snapshot) {\n return this.value() === snapshot;\n };\n\n return RevisionTag;\n }();\n\n RevisionTag.id = 0;\n var VALUE = [];\n var VALIDATE = [];\n\n var TagWrapper = function () {\n function TagWrapper(type, inner) {\n\n this.type = type;\n this.inner = inner;\n }\n\n TagWrapper.prototype.value = function () {\n var func = VALUE[this.type];\n return func(this.inner);\n };\n\n TagWrapper.prototype.validate = function (snapshot) {\n var func = VALIDATE[this.type];\n return func(this.inner, snapshot);\n };\n\n return TagWrapper;\n }();\n\n function register(Type) {\n var type = VALUE.length;\n VALUE.push(function (tag) {\n return tag.value();\n });\n VALIDATE.push(function (tag, snapshot) {\n return tag.validate(snapshot);\n });\n Type.id = type;\n }\n ///\n // CONSTANT: 0\n VALUE.push(function () {\n return CONSTANT;\n });\n VALIDATE.push(function (_tag, snapshot) {\n return snapshot === CONSTANT;\n });\n var CONSTANT_TAG = new TagWrapper(0, null);\n // VOLATILE: 1\n VALUE.push(function () {\n return VOLATILE;\n });\n VALIDATE.push(function (_tag, snapshot) {\n return snapshot === VOLATILE;\n });\n var VOLATILE_TAG = new TagWrapper(1, null);\n // CURRENT: 2\n VALUE.push(function () {\n return $REVISION;\n });\n VALIDATE.push(function (_tag, snapshot) {\n return snapshot === $REVISION;\n });\n var CURRENT_TAG = new TagWrapper(2, null);\n\n ///\n var $REVISION = INITIAL;\n function bump() {\n $REVISION++;\n }\n\n var DirtyableTag = function (_RevisionTag) {\n (0, _emberBabel.inherits)(DirtyableTag, _RevisionTag);\n\n DirtyableTag.create = function () {\n var revision = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : $REVISION;\n\n return new TagWrapper(this.id, new DirtyableTag(revision));\n };\n\n function DirtyableTag() {\n var revision = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : $REVISION;\n\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _RevisionTag.call(this));\n\n _this.revision = revision;\n return _this;\n }\n\n DirtyableTag.prototype.value = function () {\n return this.revision;\n };\n\n DirtyableTag.prototype.dirty = function () {\n this.revision = ++$REVISION;\n };\n\n return DirtyableTag;\n }(RevisionTag);\n\n register(DirtyableTag);\n\n function _combine(tags) {\n switch (tags.length) {\n case 0:\n return CONSTANT_TAG;\n case 1:\n return tags[0];\n case 2:\n return TagsPair.create(tags[0], tags[1]);\n default:\n return TagsCombinator.create(tags);\n }\n }\n\n var CachedTag = function (_RevisionTag2) {\n (0, _emberBabel.inherits)(CachedTag, _RevisionTag2);\n\n function CachedTag() {\n\n var _this2 = (0, _emberBabel.possibleConstructorReturn)(this, _RevisionTag2.apply(this, arguments));\n\n _this2.lastChecked = null;\n _this2.lastValue = null;\n return _this2;\n }\n\n CachedTag.prototype.value = function () {\n var lastChecked = this.lastChecked,\n lastValue = this.lastValue;\n\n if (lastChecked !== $REVISION) {\n this.lastChecked = $REVISION;\n this.lastValue = lastValue = this.compute();\n }\n return this.lastValue;\n };\n\n CachedTag.prototype.invalidate = function () {\n this.lastChecked = null;\n };\n\n return CachedTag;\n }(RevisionTag);\n\n var TagsPair = function (_CachedTag) {\n (0, _emberBabel.inherits)(TagsPair, _CachedTag);\n\n TagsPair.create = function (first, second) {\n return new TagWrapper(this.id, new TagsPair(first, second));\n };\n\n function TagsPair(first, second) {\n\n var _this3 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedTag.call(this));\n\n _this3.first = first;\n _this3.second = second;\n return _this3;\n }\n\n TagsPair.prototype.compute = function () {\n return Math.max(this.first.value(), this.second.value());\n };\n\n return TagsPair;\n }(CachedTag);\n\n register(TagsPair);\n\n var TagsCombinator = function (_CachedTag2) {\n (0, _emberBabel.inherits)(TagsCombinator, _CachedTag2);\n\n TagsCombinator.create = function (tags) {\n return new TagWrapper(this.id, new TagsCombinator(tags));\n };\n\n function TagsCombinator(tags) {\n\n var _this4 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedTag2.call(this));\n\n _this4.tags = tags;\n return _this4;\n }\n\n TagsCombinator.prototype.compute = function () {\n var tags = this.tags,\n i,\n value;\n\n var max = -1;\n for (i = 0; i < tags.length; i++) {\n value = tags[i].value();\n\n max = Math.max(value, max);\n }\n return max;\n };\n\n return TagsCombinator;\n }(CachedTag);\n\n register(TagsCombinator);\n\n var UpdatableTag = function (_CachedTag3) {\n (0, _emberBabel.inherits)(UpdatableTag, _CachedTag3);\n\n UpdatableTag.create = function (tag) {\n return new TagWrapper(this.id, new UpdatableTag(tag));\n };\n\n function UpdatableTag(tag) {\n\n var _this5 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedTag3.call(this));\n\n _this5.tag = tag;\n _this5.lastUpdated = INITIAL;\n return _this5;\n }\n\n UpdatableTag.prototype.compute = function () {\n return Math.max(this.lastUpdated, this.tag.value());\n };\n\n UpdatableTag.prototype.update = function (tag) {\n if (tag !== this.tag) {\n this.tag = tag;\n this.lastUpdated = $REVISION;\n this.invalidate();\n }\n };\n\n return UpdatableTag;\n }(CachedTag);\n\n register(UpdatableTag);\n\n var CachedReference = function () {\n function CachedReference() {\n\n this.lastRevision = null;\n this.lastValue = null;\n }\n\n CachedReference.prototype.value = function () {\n var tag = this.tag,\n lastRevision = this.lastRevision,\n lastValue = this.lastValue;\n\n if (lastRevision === null || !tag.validate(lastRevision)) {\n lastValue = this.lastValue = this.compute();\n this.lastRevision = tag.value();\n }\n return lastValue;\n };\n\n CachedReference.prototype.invalidate = function () {\n this.lastRevision = null;\n };\n\n return CachedReference;\n }();\n\n var MapperReference = function (_CachedReference) {\n (0, _emberBabel.inherits)(MapperReference, _CachedReference);\n\n function MapperReference(reference, mapper) {\n\n var _this6 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference.call(this));\n\n _this6.tag = reference.tag;\n _this6.reference = reference;\n _this6.mapper = mapper;\n return _this6;\n }\n\n MapperReference.prototype.compute = function () {\n var reference = this.reference,\n mapper = this.mapper;\n\n return mapper(reference.value());\n };\n\n return MapperReference;\n }(CachedReference);\n\n //////////\n\n var ReferenceCache = function () {\n function ReferenceCache(reference) {\n\n this.lastValue = null;\n this.lastRevision = null;\n this.initialized = false;\n this.tag = reference.tag;\n this.reference = reference;\n }\n\n ReferenceCache.prototype.peek = function () {\n if (!this.initialized) {\n return this.initialize();\n }\n return this.lastValue;\n };\n\n ReferenceCache.prototype.revalidate = function () {\n if (!this.initialized) {\n return this.initialize();\n }\n var reference = this.reference,\n lastRevision = this.lastRevision;\n\n var tag = reference.tag;\n if (tag.validate(lastRevision)) return NOT_MODIFIED;\n this.lastRevision = tag.value();\n var lastValue = this.lastValue;\n\n var value = reference.value();\n if (value === lastValue) return NOT_MODIFIED;\n this.lastValue = value;\n return value;\n };\n\n ReferenceCache.prototype.initialize = function () {\n var reference = this.reference;\n\n var value = this.lastValue = reference.value();\n this.lastRevision = reference.tag.value();\n this.initialized = true;\n return value;\n };\n\n return ReferenceCache;\n }();\n\n var NOT_MODIFIED = 'adb3b78e-3d22-4e4b-877a-6317c2c5c145';\n\n\n var ConstReference = function () {\n function ConstReference(inner) {\n\n this.inner = inner;\n this.tag = CONSTANT_TAG;\n }\n\n ConstReference.prototype.value = function () {\n return this.inner;\n };\n\n return ConstReference;\n }();\n\n var ListItem = function (_ListNode) {\n (0, _emberBabel.inherits)(ListItem, _ListNode);\n\n function ListItem(iterable, result) {\n\n var _this7 = (0, _emberBabel.possibleConstructorReturn)(this, _ListNode.call(this, iterable.valueReferenceFor(result)));\n\n _this7.retained = false;\n _this7.seen = false;\n _this7.key = result.key;\n _this7.iterable = iterable;\n _this7.memo = iterable.memoReferenceFor(result);\n return _this7;\n }\n\n ListItem.prototype.update = function (item) {\n this.retained = true;\n this.iterable.updateValueReference(this.value, item);\n this.iterable.updateMemoReference(this.memo, item);\n };\n\n ListItem.prototype.shouldRemove = function () {\n return !this.retained;\n };\n\n ListItem.prototype.reset = function () {\n this.retained = false;\n this.seen = false;\n };\n\n return ListItem;\n }(_util.ListNode);\n\n var IterationArtifacts = function () {\n function IterationArtifacts(iterable) {\n\n this.iterator = null;\n this.map = (0, _util.dict)();\n this.list = new _util.LinkedList();\n this.tag = iterable.tag;\n this.iterable = iterable;\n }\n\n IterationArtifacts.prototype.isEmpty = function () {\n var iterator = this.iterator = this.iterable.iterate();\n return iterator.isEmpty();\n };\n\n IterationArtifacts.prototype.iterate = function () {\n var iterator = void 0;\n if (this.iterator === null) {\n iterator = this.iterable.iterate();\n } else {\n iterator = this.iterator;\n }\n this.iterator = null;\n return iterator;\n };\n\n IterationArtifacts.prototype.has = function (key) {\n return !!this.map[key];\n };\n\n IterationArtifacts.prototype.get = function (key) {\n return this.map[key];\n };\n\n IterationArtifacts.prototype.wasSeen = function (key) {\n var node = this.map[key];\n return node !== undefined && node.seen;\n };\n\n IterationArtifacts.prototype.append = function (item) {\n var map = this.map,\n list = this.list,\n iterable = this.iterable;\n\n var node = map[item.key] = new ListItem(iterable, item);\n list.append(node);\n return node;\n };\n\n IterationArtifacts.prototype.insertBefore = function (item, reference) {\n var map = this.map,\n list = this.list,\n iterable = this.iterable;\n\n var node = map[item.key] = new ListItem(iterable, item);\n node.retained = true;\n list.insertBefore(node, reference);\n return node;\n };\n\n IterationArtifacts.prototype.move = function (item, reference) {\n var list = this.list;\n\n item.retained = true;\n list.remove(item);\n list.insertBefore(item, reference);\n };\n\n IterationArtifacts.prototype.remove = function (item) {\n var list = this.list;\n\n list.remove(item);\n delete this.map[item.key];\n };\n\n IterationArtifacts.prototype.nextNode = function (item) {\n return this.list.nextNode(item);\n };\n\n IterationArtifacts.prototype.head = function () {\n return this.list.head();\n };\n\n return IterationArtifacts;\n }();\n\n var ReferenceIterator = function () {\n // if anyone needs to construct this object with something other than\n // an iterable, let @wycats know.\n function ReferenceIterator(iterable) {\n\n this.iterator = null;\n var artifacts = new IterationArtifacts(iterable);\n this.artifacts = artifacts;\n }\n\n ReferenceIterator.prototype.next = function () {\n var artifacts = this.artifacts;\n\n var iterator = this.iterator = this.iterator || artifacts.iterate();\n var item = iterator.next();\n if (item === null) return null;\n return artifacts.append(item);\n };\n\n return ReferenceIterator;\n }();\n\n var Phase;\n (function (Phase) {\n Phase[Phase[\"Append\"] = 0] = \"Append\";\n Phase[Phase[\"Prune\"] = 1] = \"Prune\";\n Phase[Phase[\"Done\"] = 2] = \"Done\";\n })(Phase || (Phase = {}));\n\n var IteratorSynchronizer = function () {\n function IteratorSynchronizer(_ref2) {\n var target = _ref2.target,\n artifacts = _ref2.artifacts;\n\n\n this.target = target;\n this.artifacts = artifacts;\n this.iterator = artifacts.iterate();\n this.current = artifacts.head();\n }\n\n IteratorSynchronizer.prototype.sync = function () {\n var phase = Phase.Append;\n while (true) {\n switch (phase) {\n case Phase.Append:\n phase = this.nextAppend();\n break;\n case Phase.Prune:\n phase = this.nextPrune();\n break;\n case Phase.Done:\n this.nextDone();\n return;\n }\n }\n };\n\n IteratorSynchronizer.prototype.advanceToKey = function (key) {\n var current = this.current,\n artifacts = this.artifacts;\n\n var seek = current;\n while (seek !== null && seek.key !== key) {\n seek.seen = true;\n seek = artifacts.nextNode(seek);\n }\n if (seek !== null) {\n this.current = artifacts.nextNode(seek);\n }\n };\n\n IteratorSynchronizer.prototype.nextAppend = function () {\n var iterator = this.iterator,\n current = this.current,\n artifacts = this.artifacts;\n\n var item = iterator.next();\n if (item === null) {\n return this.startPrune();\n }\n var key = item.key;\n\n if (current !== null && current.key === key) {\n this.nextRetain(item);\n } else if (artifacts.has(key)) {\n this.nextMove(item);\n } else {\n this.nextInsert(item);\n }\n return Phase.Append;\n };\n\n IteratorSynchronizer.prototype.nextRetain = function (item) {\n var artifacts = this.artifacts,\n current = this.current;\n\n current = current;\n current.update(item);\n this.current = artifacts.nextNode(current);\n this.target.retain(item.key, current.value, current.memo);\n };\n\n IteratorSynchronizer.prototype.nextMove = function (item) {\n var current = this.current,\n artifacts = this.artifacts,\n target = this.target;\n var key = item.key;\n\n var found = artifacts.get(item.key);\n found.update(item);\n if (artifacts.wasSeen(item.key)) {\n artifacts.move(found, current);\n target.move(found.key, found.value, found.memo, current ? current.key : null);\n } else {\n this.advanceToKey(key);\n }\n };\n\n IteratorSynchronizer.prototype.nextInsert = function (item) {\n var artifacts = this.artifacts,\n target = this.target,\n current = this.current;\n\n var node = artifacts.insertBefore(item, current);\n target.insert(node.key, node.value, node.memo, current ? current.key : null);\n };\n\n IteratorSynchronizer.prototype.startPrune = function () {\n this.current = this.artifacts.head();\n return Phase.Prune;\n };\n\n IteratorSynchronizer.prototype.nextPrune = function () {\n var artifacts = this.artifacts,\n target = this.target,\n current = this.current;\n\n if (current === null) {\n return Phase.Done;\n }\n var node = current;\n this.current = artifacts.nextNode(node);\n if (node.shouldRemove()) {\n artifacts.remove(node);\n target.delete(node.key);\n } else {\n node.reset();\n }\n return Phase.Prune;\n };\n\n IteratorSynchronizer.prototype.nextDone = function () {\n this.target.done();\n };\n\n return IteratorSynchronizer;\n }();\n\n exports.ConstReference = ConstReference;\n exports.ListItem = ListItem;\n exports.IterationArtifacts = IterationArtifacts;\n exports.ReferenceIterator = ReferenceIterator;\n exports.IteratorSynchronizer = IteratorSynchronizer;\n exports.CONSTANT = CONSTANT;\n exports.INITIAL = INITIAL;\n exports.VOLATILE = VOLATILE;\n exports.RevisionTag = RevisionTag;\n exports.TagWrapper = TagWrapper;\n exports.CONSTANT_TAG = CONSTANT_TAG;\n exports.VOLATILE_TAG = VOLATILE_TAG;\n exports.CURRENT_TAG = CURRENT_TAG;\n exports.isConst = function (_ref) {\n var tag = _ref.tag;\n\n return tag === CONSTANT_TAG;\n };\n exports.isConstTag = function (tag) {\n return tag === CONSTANT_TAG;\n };\n exports.bump = bump;\n exports.DirtyableTag = DirtyableTag;\n exports.combineTagged = function (tagged) {\n var optimized = [],\n i,\n l,\n tag;\n for (i = 0, l = tagged.length; i < l; i++) {\n tag = tagged[i].tag;\n\n if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n if (tag === CONSTANT_TAG) continue;\n optimized.push(tag);\n }\n return _combine(optimized);\n };\n exports.combineSlice = function (slice) {\n var optimized = [],\n tag;\n var node = slice.head();\n while (node !== null) {\n tag = node.tag;\n\n if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n if (tag !== CONSTANT_TAG) optimized.push(tag);\n node = slice.nextNode(node);\n }\n return _combine(optimized);\n };\n exports.combine = function (tags) {\n var optimized = [],\n i,\n l,\n tag;\n for (i = 0, l = tags.length; i < l; i++) {\n tag = tags[i];\n\n if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n if (tag === CONSTANT_TAG) continue;\n optimized.push(tag);\n }\n return _combine(optimized);\n };\n exports.CachedTag = CachedTag;\n exports.UpdatableTag = UpdatableTag;\n exports.CachedReference = CachedReference;\n exports.map = function (reference, mapper) {\n return new MapperReference(reference, mapper);\n };\n exports.ReferenceCache = ReferenceCache;\n exports.isModified = function (value) {\n return value !== NOT_MODIFIED;\n };\n});","enifed('@glimmer/runtime', ['exports', 'ember-babel', '@glimmer/util', '@glimmer/reference', '@glimmer/vm', '@glimmer/low-level'], function (exports, _emberBabel, _util, _reference, _vm2, _lowLevel) {\n 'use strict';\n\n exports.hasCapability = exports.capabilityFlagsFrom = exports.Cursor = exports.ConcreteBounds = exports.RehydrateBuilder = exports.rehydrationBuilder = exports.clientBuilder = exports.NewElementBuilder = exports.normalizeProperty = exports.insertHTMLBefore = exports.isWhitespace = exports.DOMTreeConstruction = exports.IDOMChanges = exports.SVG_NAMESPACE = exports.DOMChanges = exports.curry = exports.isCurriedComponentDefinition = exports.CurriedComponentDefinition = exports.MINIMAL_CAPABILITIES = exports.DEFAULT_CAPABILITIES = exports.DefaultEnvironment = exports.Environment = exports.Scope = exports.EMPTY_ARGS = exports.DynamicAttribute = exports.SimpleDynamicAttribute = exports.RenderResult = exports.UpdatingVM = exports.LowLevelVM = exports.getDynamicVar = exports.resetDebuggerCallback = exports.setDebuggerCallback = exports.ConditionalReference = exports.PrimitiveReference = exports.UNDEFINED_REFERENCE = exports.NULL_REFERENCE = exports.renderMain = undefined;\n\n var AppendOpcodes = function () {\n function AppendOpcodes() {\n\n this.evaluateOpcode = (0, _util.fillNulls)(98 /* Size */).slice();\n }\n\n AppendOpcodes.prototype.add = function (name, evaluate) {\n var kind = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 'syscall';\n\n this.evaluateOpcode[name] = { syscall: kind === 'syscall', evaluate: evaluate };\n };\n\n AppendOpcodes.prototype.debugBefore = function () {\n\n return { sp: void 0, state: void 0 };\n };\n\n AppendOpcodes.prototype.debugAfter = function (vm, opcode, type, pre) {\n var sp = pre.sp,\n state = pre.state;\n };\n\n AppendOpcodes.prototype.evaluate = function (vm, opcode, type) {\n var operation = this.evaluateOpcode[type];\n if (operation.syscall) {\n\n operation.evaluate(vm, opcode);\n } else {\n\n operation.evaluate(vm.inner, opcode);\n }\n };\n\n return AppendOpcodes;\n }();\n\n var APPEND_OPCODES = new AppendOpcodes();\n\n var UpdatingOpcode = function (_AbstractOpcode) {\n (0, _emberBabel.inherits)(UpdatingOpcode, _AbstractOpcode);\n\n function UpdatingOpcode() {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _AbstractOpcode.apply(this, arguments));\n\n _this.next = null;\n _this.prev = null;\n return _this;\n }\n\n return UpdatingOpcode;\n }(function () {\n\n (0, _util.initializeGuid)(this);\n });\n\n var PrimitiveReference = function (_ConstReference) {\n (0, _emberBabel.inherits)(PrimitiveReference, _ConstReference);\n\n function PrimitiveReference(value) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _ConstReference.call(this, value));\n }\n\n PrimitiveReference.create = function (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 PrimitiveReference.prototype.get = function () {\n return UNDEFINED_REFERENCE;\n };\n\n return PrimitiveReference;\n }(_reference.ConstReference);\n\n var StringReference = function (_PrimitiveReference) {\n (0, _emberBabel.inherits)(StringReference, _PrimitiveReference);\n\n function StringReference() {\n\n var _this3 = (0, _emberBabel.possibleConstructorReturn)(this, _PrimitiveReference.apply(this, arguments));\n\n _this3.lengthReference = null;\n return _this3;\n }\n\n StringReference.prototype.get = function (key) {\n var lengthReference;\n\n if (key === 'length') {\n lengthReference = this.lengthReference;\n\n\n if (lengthReference === null) {\n lengthReference = this.lengthReference = new ValueReference(this.inner.length);\n }\n return lengthReference;\n } else {\n return _PrimitiveReference.prototype.get.call(this, key);\n }\n };\n\n return StringReference;\n }(PrimitiveReference);\n\n var ValueReference = function (_PrimitiveReference2) {\n (0, _emberBabel.inherits)(ValueReference, _PrimitiveReference2);\n\n function ValueReference(value) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _PrimitiveReference2.call(this, value));\n }\n\n return ValueReference;\n }(PrimitiveReference);\n\n var UNDEFINED_REFERENCE = new ValueReference(undefined);\n var NULL_REFERENCE = new ValueReference(null);\n var TRUE_REFERENCE = new ValueReference(true);\n var FALSE_REFERENCE = new ValueReference(false);\n\n var ConditionalReference = function () {\n function ConditionalReference(inner) {\n\n this.inner = inner;\n this.tag = inner.tag;\n }\n\n ConditionalReference.prototype.value = function () {\n return this.toBool(this.inner.value());\n };\n\n ConditionalReference.prototype.toBool = function (value) {\n return !!value;\n };\n\n return ConditionalReference;\n }();\n\n var ConcatReference = function (_CachedReference) {\n (0, _emberBabel.inherits)(ConcatReference, _CachedReference);\n\n function ConcatReference(parts) {\n\n var _this5 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference.call(this));\n\n _this5.parts = parts;\n _this5.tag = (0, _reference.combineTagged)(parts);\n return _this5;\n }\n\n ConcatReference.prototype.compute = function () {\n var parts = new Array(),\n i,\n value;\n for (i = 0; i < this.parts.length; i++) {\n value = this.parts[i].value();\n\n if (value !== null && value !== undefined) {\n parts[i] = castToString(value);\n }\n }\n if (parts.length > 0) {\n return parts.join('');\n }\n return null;\n };\n\n return ConcatReference;\n }(_reference.CachedReference);\n\n function castToString(value) {\n if (typeof value.toString !== 'function') {\n return '';\n }\n return String(value);\n }\n\n APPEND_OPCODES.add(1 /* Helper */, function (vm, _ref) {\n var handle = _ref.op1;\n\n var stack = vm.stack;\n var helper = vm.constants.resolveHandle(handle);\n var args = stack.pop();\n var value = helper(vm, args);\n vm.loadValue(_vm2.Register.v0, value);\n });\n APPEND_OPCODES.add(6 /* GetVariable */, function (vm, _ref2) {\n var symbol = _ref2.op1;\n\n var expr = vm.referenceForSymbol(symbol);\n vm.stack.push(expr);\n });\n APPEND_OPCODES.add(4 /* SetVariable */, function (vm, _ref3) {\n var symbol = _ref3.op1;\n\n var expr = vm.stack.pop();\n vm.scope().bindSymbol(symbol, expr);\n });\n APPEND_OPCODES.add(5 /* SetBlock */, function (vm, _ref4) {\n var symbol = _ref4.op1;\n\n var handle = vm.stack.pop();\n var scope = vm.stack.pop(); // FIXME(mmun): shouldn't need to cast this\n var table = vm.stack.pop();\n var block = table ? [handle, scope, table] : null;\n vm.scope().bindBlock(symbol, block);\n });\n APPEND_OPCODES.add(96 /* ResolveMaybeLocal */, function (vm, _ref5) {\n var _name = _ref5.op1;\n\n var name = vm.constants.getString(_name);\n var locals = vm.scope().getPartialMap();\n var ref = locals[name];\n if (ref === undefined) {\n ref = vm.getSelf().get(name);\n }\n vm.stack.push(ref);\n });\n APPEND_OPCODES.add(20 /* RootScope */, function (vm, _ref6) {\n var symbols = _ref6.op1,\n bindCallerScope = _ref6.op2;\n\n vm.pushRootScope(symbols, !!bindCallerScope);\n });\n APPEND_OPCODES.add(7 /* GetProperty */, function (vm, _ref7) {\n var _key = _ref7.op1;\n\n var key = vm.constants.getString(_key);\n var expr = vm.stack.pop();\n vm.stack.push(expr.get(key));\n });\n APPEND_OPCODES.add(8 /* GetBlock */, function (vm, _ref8) {\n var _block = _ref8.op1;\n var stack = vm.stack;\n\n var block = vm.scope().getBlock(_block);\n if (block) {\n stack.push(block[2]);\n stack.push(block[1]);\n stack.push(block[0]);\n } else {\n stack.push(null);\n stack.push(null);\n stack.push(null);\n }\n });\n APPEND_OPCODES.add(9 /* HasBlock */, function (vm, _ref9) {\n var _block = _ref9.op1;\n\n var hasBlock = !!vm.scope().getBlock(_block);\n vm.stack.push(hasBlock ? TRUE_REFERENCE : FALSE_REFERENCE);\n });\n APPEND_OPCODES.add(10 /* HasBlockParams */, function (vm) {\n // FIXME(mmun): should only need to push the symbol table\n vm.stack.pop();\n vm.stack.pop();\n\n\n var table = vm.stack.pop();\n\n var hasBlockParams = table && table.parameters.length;\n vm.stack.push(hasBlockParams ? TRUE_REFERENCE : FALSE_REFERENCE);\n });\n APPEND_OPCODES.add(11 /* Concat */, function (vm, _ref10) {\n var count = _ref10.op1,\n i,\n offset;\n\n var out = new Array(count);\n for (i = count; i > 0; i--) {\n offset = i - 1;\n\n out[offset] = vm.stack.pop();\n }\n vm.stack.push(new ConcatReference(out));\n });\n\n var CURRIED_COMPONENT_DEFINITION_BRAND = 'CURRIED COMPONENT DEFINITION [id=6f00feb9-a0ef-4547-99ea-ac328f80acea]';\n function isCurriedComponentDefinition(definition) {\n return !!(definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND]);\n }\n function isComponentDefinition(definition) {\n return definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND];\n }\n\n var CurriedComponentDefinition = function () {\n /** @internal */\n function CurriedComponentDefinition(inner, args) {\n\n this.inner = inner;\n this.args = args;\n this[CURRIED_COMPONENT_DEFINITION_BRAND] = true;\n }\n\n CurriedComponentDefinition.prototype.unwrap = function (args) {\n args.realloc(this.offset);\n var definition = this,\n _definition,\n curriedArgs,\n inner;\n while (true) {\n _definition = definition, curriedArgs = _definition.args, inner = _definition.inner;\n\n\n if (curriedArgs) {\n args.positional.prepend(curriedArgs.positional);\n args.named.merge(curriedArgs.named);\n }\n if (!isCurriedComponentDefinition(inner)) {\n return inner;\n }\n definition = inner;\n }\n };\n\n (0, _emberBabel.createClass)(CurriedComponentDefinition, [{\n key: 'offset',\n get: function () {\n var inner = this.inner,\n args = this.args;\n\n var length = args ? args.positional.length : 0;\n return isCurriedComponentDefinition(inner) ? length + inner.offset : length;\n }\n }]);\n return CurriedComponentDefinition;\n }();\n\n function normalizeStringValue(value) {\n if (isEmpty(value)) {\n return '';\n }\n return String(value);\n }\n function shouldCoerce(value) {\n return isString(value) || isEmpty(value) || typeof value === 'boolean' || typeof value === 'number';\n }\n function isEmpty(value) {\n return value === null || value === undefined || typeof value.toString !== 'function';\n }\n function isSafeString(value) {\n return typeof value === 'object' && value !== null && typeof value.toHTML === 'function';\n }\n function isNode(value) {\n return typeof value === 'object' && value !== null && typeof value.nodeType === 'number';\n }\n function isFragment(value) {\n return isNode(value) && value.nodeType === 11;\n }\n function isString(value) {\n return typeof value === 'string';\n }\n\n var DynamicTextContent = function (_UpdatingOpcode) {\n (0, _emberBabel.inherits)(DynamicTextContent, _UpdatingOpcode);\n\n function DynamicTextContent(node, reference, lastValue) {\n\n var _this6 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode.call(this));\n\n _this6.node = node;\n _this6.reference = reference;\n _this6.lastValue = lastValue;\n _this6.type = 'dynamic-text';\n _this6.tag = reference.tag;\n _this6.lastRevision = _this6.tag.value();\n return _this6;\n }\n\n DynamicTextContent.prototype.evaluate = function () {\n var reference = this.reference,\n tag = this.tag;\n\n if (!tag.validate(this.lastRevision)) {\n this.lastRevision = tag.value();\n this.update(reference.value());\n }\n };\n\n DynamicTextContent.prototype.update = function (value) {\n var lastValue = this.lastValue,\n textNode;\n\n if (value === lastValue) return;\n var normalized = void 0;\n if (isEmpty(value)) {\n normalized = '';\n } else if (isString(value)) {\n normalized = value;\n } else {\n normalized = String(value);\n }\n if (normalized !== lastValue) {\n textNode = this.node;\n\n textNode.nodeValue = this.lastValue = normalized;\n }\n };\n\n return DynamicTextContent;\n }(UpdatingOpcode);\n\n var IsCurriedComponentDefinitionReference = function (_ConditionalReference) {\n (0, _emberBabel.inherits)(IsCurriedComponentDefinitionReference, _ConditionalReference);\n\n function IsCurriedComponentDefinitionReference() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _ConditionalReference.apply(this, arguments));\n }\n\n IsCurriedComponentDefinitionReference.create = function (inner) {\n return new IsCurriedComponentDefinitionReference(inner);\n };\n\n IsCurriedComponentDefinitionReference.prototype.toBool = function (value) {\n return isCurriedComponentDefinition(value);\n };\n\n return IsCurriedComponentDefinitionReference;\n }(ConditionalReference);\n\n var ContentTypeReference = function () {\n function ContentTypeReference(inner) {\n\n this.inner = inner;\n this.tag = inner.tag;\n }\n\n ContentTypeReference.prototype.value = function () {\n var value = this.inner.value();\n if (shouldCoerce(value)) {\n return 1 /* String */;\n } else if (isComponentDefinition(value)) {\n return 0 /* Component */;\n } else if (isSafeString(value)) {\n return 3 /* SafeString */;\n } else if (isFragment(value)) {\n return 4 /* Fragment */;\n } else if (isNode(value)) {\n return 5 /* Node */;\n } else {\n return 1 /* String */;\n }\n };\n\n return ContentTypeReference;\n }();\n\n APPEND_OPCODES.add(28 /* AppendHTML */, function (vm) {\n var reference = vm.stack.pop();\n var rawValue = reference.value();\n var value = isEmpty(rawValue) ? '' : String(rawValue);\n vm.elements().appendDynamicHTML(value);\n });\n APPEND_OPCODES.add(29 /* AppendSafeHTML */, function (vm) {\n var reference = vm.stack.pop();\n var rawValue = reference.value().toHTML();\n var value = isEmpty(rawValue) ? '' : rawValue;\n vm.elements().appendDynamicHTML(value);\n });\n APPEND_OPCODES.add(32 /* AppendText */, function (vm) {\n var reference = vm.stack.pop();\n var rawValue = reference.value();\n var value = isEmpty(rawValue) ? '' : String(rawValue);\n var node = vm.elements().appendDynamicText(value);\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(new DynamicTextContent(node, reference, value));\n }\n });\n APPEND_OPCODES.add(30 /* AppendDocumentFragment */, function (vm) {\n var reference = vm.stack.pop();\n var value = reference.value();\n vm.elements().appendDynamicFragment(value);\n });\n APPEND_OPCODES.add(31 /* AppendNode */, function (vm) {\n var reference = vm.stack.pop();\n var value = reference.value();\n vm.elements().appendDynamicNode(value);\n });\n\n APPEND_OPCODES.add(22 /* ChildScope */, function (vm) {\n return vm.pushChildScope();\n });\n APPEND_OPCODES.add(23 /* PopScope */, function (vm) {\n return vm.popScope();\n });\n APPEND_OPCODES.add(44 /* PushDynamicScope */, function (vm) {\n return vm.pushDynamicScope();\n });\n APPEND_OPCODES.add(45 /* PopDynamicScope */, function (vm) {\n return vm.popDynamicScope();\n });\n APPEND_OPCODES.add(12 /* Constant */, function (vm, _ref11) {\n var other = _ref11.op1;\n\n vm.stack.push(vm.constants.getOther(other));\n });\n APPEND_OPCODES.add(13 /* Primitive */, function (vm, _ref12) {\n var primitive = _ref12.op1;\n\n var stack = vm.stack;\n // 111\n var value = primitive >> 3;\n switch (primitive & 7) {\n case 0 /* NUMBER */:\n stack.push(value);\n break;\n case 1 /* FLOAT */:\n stack.push(vm.constants.getNumber(value));\n break;\n case 2 /* STRING */:\n stack.push(vm.constants.getString(value));\n break;\n case 3 /* BOOLEAN_OR_VOID */:\n stack.pushEncodedImmediate(primitive);\n break;\n case 4 /* NEGATIVE */:\n stack.push(vm.constants.getNumber(value));\n break;\n case 5 /* BIG_NUM */:\n stack.push(vm.constants.getNumber(value));\n break;\n }\n });\n APPEND_OPCODES.add(14 /* PrimitiveReference */, function (vm) {\n var stack = vm.stack;\n stack.push(PrimitiveReference.create(stack.pop()));\n });\n APPEND_OPCODES.add(15 /* ReifyU32 */, function (vm) {\n var stack = vm.stack;\n stack.push(stack.peek().value());\n });\n APPEND_OPCODES.add(16 /* Dup */, function (vm, _ref13) {\n var register = _ref13.op1,\n offset = _ref13.op2;\n\n var position = vm.fetchValue(register) - offset;\n vm.stack.dup(position);\n });\n APPEND_OPCODES.add(17 /* Pop */, function (vm, _ref14) {\n var count = _ref14.op1;\n\n vm.stack.pop(count);\n });\n APPEND_OPCODES.add(18 /* Load */, function (vm, _ref15) {\n var register = _ref15.op1;\n\n vm.load(register);\n });\n APPEND_OPCODES.add(19 /* Fetch */, function (vm, _ref16) {\n var register = _ref16.op1;\n\n vm.fetch(register);\n });\n APPEND_OPCODES.add(43 /* BindDynamicScope */, function (vm, _ref17) {\n var _names = _ref17.op1;\n\n var names = vm.constants.getArray(_names);\n vm.bindDynamicScope(names);\n });\n APPEND_OPCODES.add(61 /* Enter */, function (vm, _ref18) {\n var args = _ref18.op1;\n\n vm.enter(args);\n });\n APPEND_OPCODES.add(62 /* Exit */, function (vm) {\n vm.exit();\n });\n APPEND_OPCODES.add(48 /* PushSymbolTable */, function (vm, _ref19) {\n var _table = _ref19.op1;\n\n var stack = vm.stack;\n stack.push(vm.constants.getSerializable(_table));\n });\n APPEND_OPCODES.add(47 /* PushBlockScope */, function (vm) {\n var stack = vm.stack;\n stack.push(vm.scope());\n });\n APPEND_OPCODES.add(46 /* CompileBlock */, function (vm) {\n var stack = vm.stack;\n var block = stack.pop();\n if (block) {\n stack.pushSmi(block.compile());\n } else {\n stack.pushNull();\n }\n });\n APPEND_OPCODES.add(51 /* InvokeYield */, function (vm) {\n var stack = vm.stack,\n locals,\n localsCount,\n i;\n\n var handle = stack.pop();\n var scope = stack.pop(); // FIXME(mmun): shouldn't need to cast this\n var table = stack.pop();\n\n var args = stack.pop();\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 return;\n }\n var invokingScope = scope;\n // If necessary, create a child scope\n {\n locals = table.parameters;\n localsCount = locals.length;\n\n if (localsCount > 0) {\n invokingScope = invokingScope.child();\n for (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(53 /* JumpIf */, function (vm, _ref20) {\n var target = _ref20.op1,\n cache;\n\n var reference = vm.stack.pop();\n if ((0, _reference.isConst)(reference)) {\n if (reference.value()) {\n vm.goto(target);\n }\n } else {\n cache = new _reference.ReferenceCache(reference);\n\n if (cache.peek()) {\n vm.goto(target);\n }\n vm.updateWith(new Assert(cache));\n }\n });\n APPEND_OPCODES.add(54 /* JumpUnless */, function (vm, _ref21) {\n var target = _ref21.op1,\n cache;\n\n var reference = vm.stack.pop();\n if ((0, _reference.isConst)(reference)) {\n if (!reference.value()) {\n vm.goto(target);\n }\n } else {\n cache = new _reference.ReferenceCache(reference);\n\n if (!cache.peek()) {\n vm.goto(target);\n }\n vm.updateWith(new Assert(cache));\n }\n });\n APPEND_OPCODES.add(55 /* JumpEq */, function (vm, _ref22) {\n var target = _ref22.op1,\n comparison = _ref22.op2;\n\n var other = vm.stack.peek();\n if (other === comparison) {\n vm.goto(target);\n }\n });\n APPEND_OPCODES.add(56 /* AssertSame */, function (vm) {\n var reference = vm.stack.peek();\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(Assert.initialize(new _reference.ReferenceCache(reference)));\n }\n });\n APPEND_OPCODES.add(63 /* ToBoolean */, function (vm) {\n var env = vm.env,\n stack = vm.stack;\n\n stack.push(env.toConditionalReference(stack.pop()));\n });\n\n var Assert = function (_UpdatingOpcode2) {\n (0, _emberBabel.inherits)(Assert, _UpdatingOpcode2);\n\n function Assert(cache) {\n\n var _this8 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode2.call(this));\n\n _this8.type = 'assert';\n _this8.tag = cache.tag;\n _this8.cache = cache;\n return _this8;\n }\n\n Assert.initialize = function (cache) {\n var assert = new Assert(cache);\n cache.peek();\n return assert;\n };\n\n Assert.prototype.evaluate = function (vm) {\n var cache = this.cache;\n\n if ((0, _reference.isModified)(cache.revalidate())) {\n vm.throw();\n }\n };\n\n return Assert;\n }(UpdatingOpcode);\n\n var JumpIfNotModifiedOpcode = function (_UpdatingOpcode3) {\n (0, _emberBabel.inherits)(JumpIfNotModifiedOpcode, _UpdatingOpcode3);\n\n function JumpIfNotModifiedOpcode(tag, target) {\n\n var _this9 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode3.call(this));\n\n _this9.target = target;\n _this9.type = 'jump-if-not-modified';\n _this9.tag = tag;\n _this9.lastRevision = tag.value();\n return _this9;\n }\n\n JumpIfNotModifiedOpcode.prototype.evaluate = function (vm) {\n var tag = this.tag,\n target = this.target,\n lastRevision = this.lastRevision;\n\n if (!vm.alwaysRevalidate && tag.validate(lastRevision)) {\n vm.goto(target);\n }\n };\n\n JumpIfNotModifiedOpcode.prototype.didModify = function () {\n this.lastRevision = this.tag.value();\n };\n\n return JumpIfNotModifiedOpcode;\n }(UpdatingOpcode);\n\n var DidModifyOpcode = function (_UpdatingOpcode4) {\n (0, _emberBabel.inherits)(DidModifyOpcode, _UpdatingOpcode4);\n\n function DidModifyOpcode(target) {\n\n var _this10 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode4.call(this));\n\n _this10.target = target;\n _this10.type = 'did-modify';\n _this10.tag = _reference.CONSTANT_TAG;\n return _this10;\n }\n\n DidModifyOpcode.prototype.evaluate = function () {\n this.target.didModify();\n };\n\n return DidModifyOpcode;\n }(UpdatingOpcode);\n\n var LabelOpcode = function () {\n function LabelOpcode(label) {\n\n this.tag = _reference.CONSTANT_TAG;\n this.type = 'label';\n this.label = null;\n this.prev = null;\n this.next = null;\n (0, _util.initializeGuid)(this);\n this.label = label;\n }\n\n LabelOpcode.prototype.evaluate = function () {};\n\n LabelOpcode.prototype.inspect = function () {\n return this.label + ' [' + this._guid + ']';\n };\n\n return LabelOpcode;\n }();\n\n APPEND_OPCODES.add(26 /* Text */, function (vm, _ref23) {\n var text = _ref23.op1;\n\n vm.elements().appendText(vm.constants.getString(text));\n });\n APPEND_OPCODES.add(27 /* Comment */, function (vm, _ref24) {\n var text = _ref24.op1;\n\n vm.elements().appendComment(vm.constants.getString(text));\n });\n APPEND_OPCODES.add(33 /* OpenElement */, function (vm, _ref25) {\n var tag = _ref25.op1;\n\n vm.elements().openElement(vm.constants.getString(tag));\n });\n APPEND_OPCODES.add(34 /* OpenDynamicElement */, function (vm) {\n var tagName = vm.stack.pop().value();\n vm.elements().openElement(tagName);\n });\n APPEND_OPCODES.add(41 /* PushRemoteElement */, function (vm) {\n var elementRef = vm.stack.pop(),\n cache,\n _cache;\n var nextSiblingRef = vm.stack.pop();\n var guidRef = vm.stack.pop();\n var element = void 0;\n var nextSibling = void 0;\n var guid = guidRef.value();\n if ((0, _reference.isConst)(elementRef)) {\n element = elementRef.value();\n } else {\n cache = new _reference.ReferenceCache(elementRef);\n\n element = cache.peek();\n vm.updateWith(new Assert(cache));\n }\n if ((0, _reference.isConst)(nextSiblingRef)) {\n nextSibling = nextSiblingRef.value();\n } else {\n _cache = new _reference.ReferenceCache(nextSiblingRef);\n\n nextSibling = _cache.peek();\n vm.updateWith(new Assert(_cache));\n }\n vm.elements().pushRemoteElement(element, guid, nextSibling);\n });\n APPEND_OPCODES.add(42 /* PopRemoteElement */, function (vm) {\n vm.elements().popRemoteElement();\n });\n APPEND_OPCODES.add(38 /* FlushElement */, function (vm) {\n var operations = vm.fetchValue(_vm2.Register.t0);\n if (operations) {\n operations.flush(vm);\n vm.loadValue(_vm2.Register.t0, null);\n }\n vm.elements().flushElement();\n });\n APPEND_OPCODES.add(39 /* CloseElement */, function (vm) {\n vm.elements().closeElement();\n });\n APPEND_OPCODES.add(40 /* Modifier */, function (vm, _ref26) {\n var handle = _ref26.op1;\n\n var manager = vm.constants.resolveHandle(handle);\n var stack = vm.stack;\n var args = stack.pop();\n\n var _vm$elements = vm.elements(),\n element = _vm$elements.constructing,\n updateOperations = _vm$elements.updateOperations;\n\n var dynamicScope = vm.dynamicScope();\n var modifier = manager.create(element, args, dynamicScope, updateOperations);\n vm.env.scheduleInstallModifier(modifier, manager);\n var destructor = manager.getDestructor(modifier);\n if (destructor) {\n vm.newDestroyable(destructor);\n }\n var tag = manager.getTag(modifier);\n if (!(0, _reference.isConstTag)(tag)) {\n vm.updateWith(new UpdateModifierOpcode(tag, manager, modifier));\n }\n });\n\n var UpdateModifierOpcode = function (_UpdatingOpcode5) {\n (0, _emberBabel.inherits)(UpdateModifierOpcode, _UpdatingOpcode5);\n\n function UpdateModifierOpcode(tag, manager, modifier) {\n\n var _this11 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode5.call(this));\n\n _this11.tag = tag;\n _this11.manager = manager;\n _this11.modifier = modifier;\n _this11.type = 'update-modifier';\n _this11.lastUpdated = tag.value();\n return _this11;\n }\n\n UpdateModifierOpcode.prototype.evaluate = function (vm) {\n var manager = this.manager,\n modifier = this.modifier,\n tag = this.tag,\n lastUpdated = this.lastUpdated;\n\n if (!tag.validate(lastUpdated)) {\n vm.env.scheduleUpdateModifier(modifier, manager);\n this.lastUpdated = tag.value();\n }\n };\n\n return UpdateModifierOpcode;\n }(UpdatingOpcode);\n\n APPEND_OPCODES.add(35 /* StaticAttr */, function (vm, _ref27) {\n var _name = _ref27.op1,\n _value = _ref27.op2,\n _namespace = _ref27.op3;\n\n var name = vm.constants.getString(_name);\n var value = vm.constants.getString(_value);\n var namespace = _namespace ? vm.constants.getString(_namespace) : null;\n vm.elements().setStaticAttribute(name, value, namespace);\n });\n APPEND_OPCODES.add(36 /* DynamicAttr */, function (vm, _ref28) {\n var _name = _ref28.op1,\n trusting = _ref28.op2,\n _namespace = _ref28.op3;\n\n var name = vm.constants.getString(_name);\n var reference = vm.stack.pop();\n var value = reference.value();\n var namespace = _namespace ? vm.constants.getString(_namespace) : null;\n var attribute = vm.elements().setDynamicAttribute(name, value, !!trusting, namespace);\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\n }\n });\n\n var UpdateDynamicAttributeOpcode = function (_UpdatingOpcode6) {\n (0, _emberBabel.inherits)(UpdateDynamicAttributeOpcode, _UpdatingOpcode6);\n\n function UpdateDynamicAttributeOpcode(reference, attribute) {\n\n var _this12 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode6.call(this));\n\n _this12.reference = reference;\n _this12.attribute = attribute;\n _this12.type = 'patch-element';\n _this12.tag = reference.tag;\n _this12.lastRevision = _this12.tag.value();\n return _this12;\n }\n\n UpdateDynamicAttributeOpcode.prototype.evaluate = function (vm) {\n var attribute = this.attribute,\n reference = this.reference,\n tag = this.tag;\n\n if (!tag.validate(this.lastRevision)) {\n this.lastRevision = tag.value();\n attribute.update(reference.value(), vm.env);\n }\n };\n\n return UpdateDynamicAttributeOpcode;\n }(UpdatingOpcode);\n\n function resolveComponent(resolver, name, meta) {\n var definition = resolver.lookupComponentDefinition(name, meta);\n\n return definition;\n }\n\n var CurryComponentReference = function () {\n function CurryComponentReference(inner, resolver, meta, args) {\n\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 CurryComponentReference.prototype.value = function () {\n var inner = this.inner,\n lastValue = this.lastValue,\n resolver,\n meta;\n\n var value = inner.value();\n if (value === lastValue) {\n return this.lastDefinition;\n }\n var definition = null;\n if (isCurriedComponentDefinition(value)) {\n definition = value;\n } else if (typeof value === 'string' && value) {\n resolver = this.resolver, meta = this.meta;\n\n\n definition = resolveComponent(resolver, value, meta);\n }\n definition = this.curry(definition);\n this.lastValue = value;\n this.lastDefinition = definition;\n return definition;\n };\n\n CurryComponentReference.prototype.get = function () {\n return UNDEFINED_REFERENCE;\n };\n\n CurryComponentReference.prototype.curry = function (definition) {\n var args = this.args;\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 return CurryComponentReference;\n }();\n\n var ClassListReference = function () {\n function ClassListReference(list) {\n\n this.list = list;\n this.tag = (0, _reference.combineTagged)(list);\n this.list = list;\n }\n\n ClassListReference.prototype.value = function () {\n var ret = [],\n value,\n i;\n var list = this.list;\n\n for (i = 0; i < list.length; i++) {\n value = normalizeStringValue(list[i].value());\n\n if (value) ret.push(value);\n }\n return ret.length === 0 ? null : ret.join(' ');\n };\n\n return ClassListReference;\n }();\n\n /**\n * Converts a ComponentCapabilities object into a 32-bit integer representation.\n */\n function capabilityFlagsFrom(capabilities) {\n return 0 | (capabilities.dynamicLayout ? 1 /* DynamicLayout */ : 0) | (capabilities.dynamicTag ? 2 /* DynamicTag */ : 0) | (capabilities.prepareArgs ? 4 /* PrepareArgs */ : 0) | (capabilities.createArgs ? 8 /* CreateArgs */ : 0) | (capabilities.attributeHook ? 16 /* AttributeHook */ : 0) | (capabilities.elementHook ? 32 /* ElementHook */ : 0) | (capabilities.dynamicScope ? 64 /* DynamicScope */ : 0) | (capabilities.createCaller ? 128 /* CreateCaller */ : 0) | (capabilities.updateHook ? 256 /* UpdateHook */ : 0) | (capabilities.createInstance ? 512 /* CreateInstance */ : 0);\n }\n function hasCapability(capabilities, capability) {\n return !!(capabilities & capability);\n }\n\n APPEND_OPCODES.add(69 /* IsComponent */, function (vm) {\n var stack = vm.stack;\n var ref = stack.pop();\n stack.push(IsCurriedComponentDefinitionReference.create(ref));\n });\n APPEND_OPCODES.add(70 /* ContentType */, function (vm) {\n var stack = vm.stack;\n var ref = stack.peek();\n stack.push(new ContentTypeReference(ref));\n });\n APPEND_OPCODES.add(71 /* CurryComponent */, function (vm, _ref29) {\n var _meta = _ref29.op1;\n\n var stack = vm.stack;\n var definition = stack.pop();\n var capturedArgs = stack.pop();\n var meta = vm.constants.getSerializable(_meta);\n var resolver = vm.constants.resolver;\n vm.loadValue(_vm2.Register.v0, new CurryComponentReference(definition, resolver, meta, capturedArgs));\n // expectStackChange(vm.stack, -args.length - 1, 'CurryComponent');\n });\n APPEND_OPCODES.add(72 /* PushComponentDefinition */, function (vm, _ref30) {\n var handle = _ref30.op1;\n\n var definition = vm.constants.resolveHandle(handle);\n\n var manager = definition.manager;\n\n var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n\n vm.stack.push({\n definition: definition,\n manager: manager,\n capabilities: capabilities,\n state: null,\n handle: null,\n table: null,\n lookup: null\n });\n });\n APPEND_OPCODES.add(75 /* ResolveDynamicComponent */, function (vm, _ref31) {\n var _meta = _ref31.op1,\n resolver,\n resolvedDefinition;\n\n var stack = vm.stack;\n var component = stack.pop().value();\n var meta = vm.constants.getSerializable(_meta);\n vm.loadValue(_vm2.Register.t1, null); // Clear the temp register\n var definition = void 0;\n if (typeof component === 'string') {\n resolver = vm.constants.resolver;\n resolvedDefinition = resolveComponent(resolver, component, meta);\n\n definition = resolvedDefinition;\n } else if (isCurriedComponentDefinition(component)) {\n definition = component;\n } else {\n throw (0, _util.unreachable)();\n }\n stack.push(definition);\n });\n APPEND_OPCODES.add(73 /* PushDynamicComponentInstance */, function (vm) {\n var stack = vm.stack;\n\n var definition = stack.pop();\n var capabilities = void 0,\n manager = void 0;\n if (isCurriedComponentDefinition(definition)) {\n manager = capabilities = null;\n } else {\n manager = definition.manager;\n capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n }\n stack.push({ definition: definition, capabilities: capabilities, manager: manager, state: null, handle: null, table: null });\n });\n APPEND_OPCODES.add(74 /* PushCurriedComponent */, function (vm, _ref32) {\n _ref32.op1;\n\n\n var stack = vm.stack;\n var component = stack.pop().value();\n var definition = void 0;\n if (isCurriedComponentDefinition(component)) {\n definition = component;\n } else {\n throw (0, _util.unreachable)();\n }\n stack.push(definition);\n });\n APPEND_OPCODES.add(76 /* PushArgs */, function (vm, _ref33) {\n var _names = _ref33.op1,\n flags = _ref33.op2;\n\n var stack = vm.stack;\n var names = vm.constants.getStringArray(_names);\n\n var blockNames = [];\n if (flags & 4) blockNames.push('main');\n if (flags & 2) blockNames.push('else');\n if (flags & 1) blockNames.push('attrs');\n vm.args.setup(stack, names, blockNames, flags >> 4, !!(flags & 8));\n stack.push(vm.args);\n });\n APPEND_OPCODES.add(77 /* PushEmptyArgs */, function (vm) {\n var stack = vm.stack;\n\n stack.push(vm.args.empty(stack));\n });\n APPEND_OPCODES.add(80 /* CaptureArgs */, function (vm) {\n var stack = vm.stack;\n var args = stack.pop();\n var capturedArgs = args.capture();\n stack.push(capturedArgs);\n });\n APPEND_OPCODES.add(79 /* PrepareArgs */, function (vm, _ref34) {\n var _state = _ref34.op1,\n i,\n positional,\n named,\n positionalCount,\n _i,\n names,\n _i2;\n\n var stack = vm.stack;\n var instance = vm.fetchValue(_state);\n var args = stack.pop();\n var definition = instance.definition;\n\n if (isCurriedComponentDefinition(definition)) {\n\n definition = resolveCurriedComponentDefinition(instance, definition, args);\n }\n var _definition2 = definition,\n manager = _definition2.manager,\n state = _definition2.state;\n\n var capabilities = instance.capabilities;\n if (hasCapability(capabilities, 4 /* PrepareArgs */) !== true) {\n stack.push(args);\n return;\n }\n var blocks = args.blocks.values;\n var blockNames = args.blocks.names;\n var preparedArgs = manager.prepareArgs(state, args);\n if (preparedArgs) {\n args.clear();\n for (i = 0; i < blocks.length; i++) {\n stack.push(blocks[i]);\n }\n positional = preparedArgs.positional, named = preparedArgs.named;\n positionalCount = positional.length;\n\n for (_i = 0; _i < positionalCount; _i++) {\n stack.push(positional[_i]);\n }\n names = Object.keys(named);\n\n for (_i2 = 0; _i2 < names.length; _i2++) {\n stack.push(named[names[_i2]]);\n }\n args.setup(stack, names, blockNames, positionalCount, true);\n }\n stack.push(args);\n });\n function resolveCurriedComponentDefinition(instance, definition, args) {\n var unwrappedDefinition = instance.definition = definition.unwrap(args);\n var manager = unwrappedDefinition.manager,\n state = unwrappedDefinition.state;\n\n instance.manager = manager;\n instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n return unwrappedDefinition;\n }\n APPEND_OPCODES.add(81 /* CreateComponent */, function (vm, _ref35) {\n var flags = _ref35.op1,\n _state = _ref35.op2;\n\n var instance = vm.fetchValue(_state);\n var definition = instance.definition,\n manager = instance.manager;\n\n var capabilities = instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n var dynamicScope = null;\n if (hasCapability(capabilities, 64 /* DynamicScope */)) {\n dynamicScope = vm.dynamicScope();\n }\n\n var args = null;\n if (hasCapability(capabilities, 8 /* CreateArgs */)) {\n args = vm.stack.peek();\n }\n var self = null;\n if (hasCapability(capabilities, 128 /* CreateCaller */)) {\n self = vm.getSelf();\n }\n var state = manager.create(vm.env, definition.state, args, dynamicScope, self, !!(flags & 1));\n // We want to reuse the `state` POJO here, because we know that the opcodes\n // only transition at exactly one place.\n instance.state = state;\n var tag = manager.getTag(state);\n if (hasCapability(capabilities, 256 /* UpdateHook */) && !(0, _reference.isConstTag)(tag)) {\n vm.updateWith(new UpdateComponentOpcode(tag, state, manager, dynamicScope));\n }\n });\n APPEND_OPCODES.add(82 /* RegisterComponentDestructor */, function (vm, _ref36) {\n var _state = _ref36.op1;\n\n var _vm$fetchValue = vm.fetchValue(_state),\n manager = _vm$fetchValue.manager,\n state = _vm$fetchValue.state;\n\n var destructor = manager.getDestructor(state);\n if (destructor) vm.newDestroyable(destructor);\n });\n APPEND_OPCODES.add(91 /* BeginComponentTransaction */, function (vm) {\n vm.beginCacheGroup();\n vm.elements().pushSimpleBlock();\n });\n APPEND_OPCODES.add(83 /* PutComponentOperations */, function (vm) {\n vm.loadValue(_vm2.Register.t0, new ComponentElementOperations());\n });\n APPEND_OPCODES.add(37 /* ComponentAttr */, function (vm, _ref37) {\n var _name = _ref37.op1,\n trusting = _ref37.op2,\n _namespace = _ref37.op3;\n\n var name = vm.constants.getString(_name);\n var reference = vm.stack.pop();\n var namespace = _namespace ? vm.constants.getString(_namespace) : null;\n vm.fetchValue(_vm2.Register.t0).setAttribute(name, reference, !!trusting, namespace);\n });\n\n var ComponentElementOperations = function () {\n function ComponentElementOperations() {\n\n this.attributes = (0, _util.dict)();\n this.classes = [];\n }\n\n ComponentElementOperations.prototype.setAttribute = function (name, value, trusting, namespace) {\n if (name === 'class') {\n this.classes.push(value);\n }\n this.attributes[name] = { value: value, namespace: namespace, trusting: trusting };\n };\n\n ComponentElementOperations.prototype.flush = function (vm) {\n var attr, reference, namespace, trusting, attribute, type, _attribute;\n\n for (var name in this.attributes) {\n attr = this.attributes[name];\n\n var reference = attr.value,\n namespace = attr.namespace,\n trusting = attr.trusting;\n\n if (name === 'class') {\n reference = new ClassListReference(this.classes);\n }\n if (name === 'type') {\n continue;\n }\n attribute = vm.elements().setDynamicAttribute(name, reference.value(), trusting, namespace);\n\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\n }\n }\n if ('type' in this.attributes) {\n type = this.attributes.type;\n reference = type.value, namespace = type.namespace, trusting = type.trusting;\n _attribute = vm.elements().setDynamicAttribute('type', reference.value(), trusting, namespace);\n\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(new UpdateDynamicAttributeOpcode(reference, _attribute));\n }\n }\n };\n\n return ComponentElementOperations;\n }();\n\n APPEND_OPCODES.add(93 /* DidCreateElement */, function (vm, _ref38) {\n var _state = _ref38.op1;\n\n var _vm$fetchValue2 = vm.fetchValue(_state),\n definition = _vm$fetchValue2.definition,\n state = _vm$fetchValue2.state;\n\n var manager = definition.manager;\n\n var operations = vm.fetchValue(_vm2.Register.t0);\n\n manager.didCreateElement(state, vm.elements().expectConstructing('DidCreateElementOpcode#evaluate'), operations);\n });\n APPEND_OPCODES.add(84 /* GetComponentSelf */, function (vm, _ref39) {\n var _state = _ref39.op1;\n\n var _vm$fetchValue3 = vm.fetchValue(_state),\n definition = _vm$fetchValue3.definition,\n state = _vm$fetchValue3.state;\n\n var manager = definition.manager;\n\n vm.stack.push(manager.getSelf(state));\n });\n APPEND_OPCODES.add(85 /* GetComponentTagName */, function (vm, _ref40) {\n var _state = _ref40.op1;\n\n var _vm$fetchValue4 = vm.fetchValue(_state),\n definition = _vm$fetchValue4.definition,\n state = _vm$fetchValue4.state;\n\n var manager = definition.manager;\n\n vm.stack.push(manager.getTagName(state));\n });\n // Dynamic Invocation Only\n APPEND_OPCODES.add(86 /* GetComponentLayout */, function (vm, _ref41) {\n var _state = _ref41.op1;\n\n var instance = vm.fetchValue(_state);\n var manager = instance.manager,\n definition = instance.definition;\n var resolver = vm.constants.resolver,\n stack = vm.stack;\n var instanceState = instance.state,\n capabilities = instance.capabilities;\n var definitionState = definition.state;\n\n var invoke = void 0;\n if (hasStaticLayout(capabilities, manager)) {\n invoke = manager.getLayout(definitionState, resolver);\n } else if (hasDynamicLayout(capabilities, manager)) {\n invoke = manager.getDynamicLayout(instanceState, resolver);\n } else {\n throw (0, _util.unreachable)();\n }\n stack.push(invoke.symbolTable);\n stack.push(invoke.handle);\n });\n function hasStaticLayout(capabilities) {\n return hasCapability(capabilities, 1 /* DynamicLayout */) === false;\n }\n function hasDynamicLayout(capabilities) {\n return hasCapability(capabilities, 1 /* DynamicLayout */) === true;\n }\n APPEND_OPCODES.add(68 /* Main */, function (vm, _ref42) {\n var register = _ref42.op1;\n\n var definition = vm.stack.pop();\n var invocation = vm.stack.pop();\n var manager = definition.manager;\n\n var capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n var state = {\n definition: definition,\n manager: manager,\n capabilities: 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(89 /* PopulateLayout */, function (vm, _ref43) {\n var _state = _ref43.op1;\n var stack = vm.stack;\n\n var handle = stack.pop();\n var table = stack.pop();\n var state = vm.fetchValue(_state);\n state.handle = handle;\n state.table = table;\n });\n APPEND_OPCODES.add(21 /* VirtualRootScope */, function (vm, _ref44) {\n var _state = _ref44.op1;\n var symbols = vm.fetchValue(_state).table.symbols;\n\n vm.pushRootScope(symbols.length + 1, true);\n });\n APPEND_OPCODES.add(87 /* SetupForEval */, function (vm, _ref45) {\n var _state = _ref45.op1,\n lookup;\n\n var state = vm.fetchValue(_state);\n if (state.table.hasEval) {\n lookup = state.lookup = (0, _util.dict)();\n\n vm.scope().bindEvalScope(lookup);\n }\n });\n APPEND_OPCODES.add(2 /* SetNamedVariables */, function (vm, _ref46) {\n var _state = _ref46.op1,\n i,\n atName,\n symbol,\n value;\n\n var state = vm.fetchValue(_state);\n var scope = vm.scope();\n var args = vm.stack.peek();\n var callerNames = args.named.atNames;\n for (i = callerNames.length - 1; i >= 0; i--) {\n atName = callerNames[i];\n symbol = state.table.symbols.indexOf(callerNames[i]);\n value = args.named.get(atName, false);\n\n if (symbol !== -1) scope.bindSymbol(symbol + 1, value);\n if (state.lookup) state.lookup[atName] = value;\n }\n });\n function bindBlock(symbolName, blockName, state, blocks, vm) {\n var symbol = state.table.symbols.indexOf(symbolName);\n var block = blocks.get(blockName);\n if (symbol !== -1) {\n vm.scope().bindBlock(symbol + 1, block);\n }\n if (state.lookup) state.lookup[symbolName] = block;\n }\n APPEND_OPCODES.add(3 /* SetBlocks */, function (vm, _ref47) {\n var _state = _ref47.op1;\n\n var state = vm.fetchValue(_state);\n\n var _vm$stack$peek = vm.stack.peek(),\n blocks = _vm$stack$peek.blocks;\n\n bindBlock('&attrs', 'attrs', state, blocks, vm);\n bindBlock('&inverse', 'else', state, blocks, vm);\n bindBlock('&default', 'main', state, blocks, vm);\n });\n // Dynamic Invocation Only\n APPEND_OPCODES.add(90 /* InvokeComponentLayout */, function (vm, _ref48) {\n var _state = _ref48.op1;\n\n var state = vm.fetchValue(_state);\n vm.call(state.handle);\n });\n APPEND_OPCODES.add(94 /* DidRenderLayout */, function (vm, _ref49) {\n var _state = _ref49.op1;\n\n var _vm$fetchValue5 = vm.fetchValue(_state),\n manager = _vm$fetchValue5.manager,\n state = _vm$fetchValue5.state;\n\n var bounds = vm.elements().popBlock();\n\n manager.didRenderLayout(state, bounds);\n vm.env.didCreate(state, manager);\n vm.updateWith(new DidUpdateLayoutOpcode(manager, state, bounds));\n });\n APPEND_OPCODES.add(92 /* CommitComponentTransaction */, function (vm) {\n vm.commitCacheGroup();\n });\n\n var UpdateComponentOpcode = function (_UpdatingOpcode7) {\n (0, _emberBabel.inherits)(UpdateComponentOpcode, _UpdatingOpcode7);\n\n function UpdateComponentOpcode(tag, component, manager, dynamicScope) {\n\n var _this13 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode7.call(this));\n\n _this13.tag = tag;\n _this13.component = component;\n _this13.manager = manager;\n _this13.dynamicScope = dynamicScope;\n _this13.type = 'update-component';\n return _this13;\n }\n\n UpdateComponentOpcode.prototype.evaluate = function () {\n var component = this.component,\n manager = this.manager,\n dynamicScope = this.dynamicScope;\n\n manager.update(component, dynamicScope);\n };\n\n return UpdateComponentOpcode;\n }(UpdatingOpcode);\n\n var DidUpdateLayoutOpcode = function (_UpdatingOpcode8) {\n (0, _emberBabel.inherits)(DidUpdateLayoutOpcode, _UpdatingOpcode8);\n\n function DidUpdateLayoutOpcode(manager, component, bounds) {\n\n var _this14 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode8.call(this));\n\n _this14.manager = manager;\n _this14.component = component;\n _this14.bounds = bounds;\n _this14.type = 'did-update-layout';\n _this14.tag = _reference.CONSTANT_TAG;\n return _this14;\n }\n\n DidUpdateLayoutOpcode.prototype.evaluate = function (vm) {\n var manager = this.manager,\n component = this.component,\n bounds = this.bounds;\n\n manager.didUpdateLayout(component, bounds);\n vm.env.didUpdate(component, manager);\n };\n\n return DidUpdateLayoutOpcode;\n }(UpdatingOpcode);\n\n /* tslint:disable */\n function debugCallback(context, get) {\n console.info('Use `context`, and `get(<path>)` to debug this template.');\n // for example...\n context === get('this');\n debugger;\n }\n /* tslint:enable */\n var callback = debugCallback;\n // For testing purposes\n\n\n var ScopeInspector = function () {\n function ScopeInspector(scope, symbols, evalInfo) {\n var i, slot, name, ref;\n\n\n this.scope = scope;\n this.locals = (0, _util.dict)();\n for (i = 0; i < evalInfo.length; i++) {\n slot = evalInfo[i];\n name = symbols[slot - 1];\n ref = scope.getSymbol(slot);\n\n this.locals[name] = ref;\n }\n }\n\n ScopeInspector.prototype.get = function (path) {\n var scope = this.scope,\n locals = this.locals;\n\n var parts = path.split('.');\n\n var _path$split = path.split('.'),\n head = _path$split[0],\n tail = _path$split.slice(1);\n\n var evalScope = scope.getEvalScope();\n var ref = void 0;\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 return tail.reduce(function (r, part) {\n return r.get(part);\n }, ref);\n };\n\n return ScopeInspector;\n }();\n\n APPEND_OPCODES.add(97 /* Debugger */, function (vm, _ref50) {\n var _symbols = _ref50.op1,\n _evalInfo = _ref50.op2;\n\n var symbols = vm.constants.getStringArray(_symbols);\n var evalInfo = vm.constants.getArray(_evalInfo);\n var inspector = new ScopeInspector(vm.scope(), symbols, evalInfo);\n callback(vm.getSelf().value(), function (path) {\n return inspector.get(path).value();\n });\n });\n\n APPEND_OPCODES.add(95 /* InvokePartial */, function (vm, _ref51) {\n var _meta = _ref51.op1,\n _symbols = _ref51.op2,\n _evalInfo = _ref51.op3,\n partialSymbols,\n outerScope,\n partialScope,\n evalScope,\n locals,\n i,\n slot,\n _name2,\n ref,\n _i3,\n _name3,\n symbol,\n value;\n var constants = vm.constants,\n resolver = vm.constants.resolver,\n stack = vm.stack;\n\n var name = stack.pop().value();\n\n var meta = constants.getSerializable(_meta);\n var outerSymbols = constants.getStringArray(_symbols);\n var evalInfo = constants.getArray(_evalInfo);\n var handle = resolver.lookupPartial(name, meta);\n\n var definition = resolver.resolve(handle);\n\n var _definition$getPartia = definition.getPartial(),\n symbolTable = _definition$getPartia.symbolTable,\n vmHandle = _definition$getPartia.handle;\n\n {\n partialSymbols = symbolTable.symbols;\n outerScope = vm.scope();\n partialScope = vm.pushRootScope(partialSymbols.length, false);\n evalScope = outerScope.getEvalScope();\n\n partialScope.bindCallerScope(outerScope.getCallerScope());\n partialScope.bindEvalScope(evalScope);\n partialScope.bindSelf(outerScope.getSelf());\n locals = Object.create(outerScope.getPartialMap());\n\n for (i = 0; i < evalInfo.length; i++) {\n slot = evalInfo[i];\n _name2 = outerSymbols[slot - 1];\n ref = outerScope.getSymbol(slot);\n\n locals[_name2] = ref;\n }\n if (evalScope) {\n for (_i3 = 0; _i3 < partialSymbols.length; _i3++) {\n _name3 = partialSymbols[_i3];\n symbol = _i3 + 1;\n value = evalScope[_name3];\n\n if (value !== undefined) partialScope.bind(symbol, value);\n }\n }\n partialScope.bindPartialMap(locals);\n vm.pushFrame(); // sp += 2\n vm.call(vmHandle);\n }\n });\n\n var IterablePresenceReference = function () {\n function IterablePresenceReference(artifacts) {\n\n this.tag = artifacts.tag;\n this.artifacts = artifacts;\n }\n\n IterablePresenceReference.prototype.value = function () {\n return !this.artifacts.isEmpty();\n };\n\n return IterablePresenceReference;\n }();\n\n APPEND_OPCODES.add(66 /* PutIterator */, function (vm) {\n var stack = vm.stack;\n var listRef = stack.pop();\n var key = stack.pop();\n var iterable = vm.env.iterableFor(listRef, key.value());\n var iterator = new _reference.ReferenceIterator(iterable);\n stack.push(iterator);\n stack.push(new IterablePresenceReference(iterator.artifacts));\n });\n APPEND_OPCODES.add(64 /* EnterList */, function (vm, _ref52) {\n var relativeStart = _ref52.op1;\n\n vm.enterList(relativeStart);\n });\n APPEND_OPCODES.add(65 /* ExitList */, function (vm) {\n vm.exitList();\n });\n APPEND_OPCODES.add(67 /* Iterate */, function (vm, _ref53) {\n var breaks = _ref53.op1,\n tryOpcode;\n\n var stack = vm.stack;\n var item = stack.peek().next();\n if (item) {\n tryOpcode = vm.iterate(item.memo, item.value);\n\n vm.enterItem(item.key, tryOpcode);\n } else {\n vm.goto(breaks);\n }\n });\n\n var Cursor = function (element, nextSibling) {\n\n this.element = element;\n this.nextSibling = nextSibling;\n };\n\n var ConcreteBounds = function () {\n function ConcreteBounds(parentNode, first, last) {\n\n this.parentNode = parentNode;\n this.first = first;\n this.last = last;\n }\n\n ConcreteBounds.prototype.parentElement = function () {\n return this.parentNode;\n };\n\n ConcreteBounds.prototype.firstNode = function () {\n return this.first;\n };\n\n ConcreteBounds.prototype.lastNode = function () {\n return this.last;\n };\n\n return ConcreteBounds;\n }();\n\n var SingleNodeBounds = function () {\n function SingleNodeBounds(parentNode, node) {\n\n this.parentNode = parentNode;\n this.node = node;\n }\n\n SingleNodeBounds.prototype.parentElement = function () {\n return this.parentNode;\n };\n\n SingleNodeBounds.prototype.firstNode = function () {\n return this.node;\n };\n\n SingleNodeBounds.prototype.lastNode = function () {\n return this.node;\n };\n\n return SingleNodeBounds;\n }();\n\n function bounds(parent, first, last) {\n return new ConcreteBounds(parent, first, last);\n }\n function single(parent, node) {\n return new SingleNodeBounds(parent, node);\n }\n function _move(bounds, reference) {\n var parent = bounds.parentElement(),\n next;\n var first = bounds.firstNode();\n var last = bounds.lastNode();\n var node = first;\n while (node) {\n next = node.nextSibling;\n\n parent.insertBefore(node, reference);\n if (node === last) return next;\n node = next;\n }\n return null;\n }\n function clear(bounds) {\n var parent = bounds.parentElement(),\n next;\n var first = bounds.firstNode();\n var last = bounds.lastNode();\n var node = first;\n while (node) {\n next = node.nextSibling;\n\n parent.removeChild(node);\n if (node === last) return next;\n node = next;\n }\n return null;\n }\n\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 function applySVGInnerHTMLFix(document, DOMClass, svgNamespace) {\n if (!document) return DOMClass;\n if (!shouldApplyFix(document, svgNamespace)) {\n return DOMClass;\n }\n var div = document.createElement('div');\n return function (_DOMClass) {\n (0, _emberBabel.inherits)(DOMChangesWithSVGInnerHTMLFix, _DOMClass);\n\n function DOMChangesWithSVGInnerHTMLFix() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DOMClass.apply(this, arguments));\n }\n\n DOMChangesWithSVGInnerHTMLFix.prototype.insertHTMLBefore = function (parent, nextSibling, html) {\n if (parent.namespaceURI !== svgNamespace) {\n return _DOMClass.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n }\n return fixSVG(parent, div, html, nextSibling);\n };\n\n return DOMChangesWithSVGInnerHTMLFix;\n }(DOMClass);\n }\n function fixSVG(parent, div, html, reference) {\n var source = void 0;\n // This is important, because decendants of the <foreignObject> integration\n // point are parsed in the HTML namespace\n if (parent.tagName.toUpperCase() === 'FOREIGNOBJECT') {\n div.innerHTML = '<svg><foreignObject>' + (html || '<!---->') + '</foreignObject></svg>';\n // IE, Edge: also do not correctly support using `innerHTML` on SVG\n // namespaced elements. So here a wrapper is used.\n\n source = div.firstChild.firstChild;\n } else {\n div.innerHTML = '<svg>' + (html || '<!---->') + '</svg>';\n // IE, Edge: also do not correctly support using `innerHTML` on SVG\n // namespaced elements. So here a wrapper is used.\n\n source = div.firstChild;\n }\n\n var _moveNodesBefore = moveNodesBefore(source, parent, reference),\n first = _moveNodesBefore[0],\n last = _moveNodesBefore[1];\n\n return new ConcreteBounds(parent, first, last);\n }\n function shouldApplyFix(document, svgNamespace) {\n var svg = document.createElementNS(svgNamespace, 'svg');\n try {\n svg['insertAdjacentHTML']('beforeend', '<circle></circle>');\n } catch (e) {\n // 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 === 'http://www.w3.org/2000/svg') {\n // The test worked as expected, no fix required\n return false;\n }\n return true;\n }\n }\n\n // Patch: Adjacent text node merging fix\n // Browsers: IE, Edge, Firefox w/o inspector open\n // Reason: These browsers will merge adjacent text nodes. For 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 function applyTextNodeMergingFix(document, DOMClass) {\n if (!document) return DOMClass;\n if (!shouldApplyFix$1(document)) {\n return DOMClass;\n }\n return function (_DOMClass2) {\n (0, _emberBabel.inherits)(DOMChangesWithTextNodeMergingFix, _DOMClass2);\n\n function DOMChangesWithTextNodeMergingFix(document) {\n\n var _this16 = (0, _emberBabel.possibleConstructorReturn)(this, _DOMClass2.call(this, document));\n\n _this16.uselessComment = document.createComment('');\n return _this16;\n }\n\n DOMChangesWithTextNodeMergingFix.prototype.insertHTMLBefore = function (parent, nextSibling, html) {\n var didSetUselessComment = false;\n var nextPrevious = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n if (nextPrevious && nextPrevious instanceof Text) {\n didSetUselessComment = true;\n parent.insertBefore(this.uselessComment, nextSibling);\n }\n var bounds = _DOMClass2.prototype.insertHTMLBefore.call(this, parent, nextSibling, html);\n if (didSetUselessComment) {\n parent.removeChild(this.uselessComment);\n }\n return bounds;\n };\n\n return DOMChangesWithTextNodeMergingFix;\n }(DOMClass);\n }\n function shouldApplyFix$1(document) {\n var mergingTextDiv = document.createElement('div');\n mergingTextDiv.innerHTML = 'first';\n mergingTextDiv.insertAdjacentHTML('beforeend', 'second');\n if (mergingTextDiv.childNodes.length === 2) {\n // It worked as expected, no fix required\n return false;\n }\n return true;\n }\n\n var SVG_NAMESPACE$1 = 'http://www.w3.org/2000/svg';\n // http://www.w3.org/TR/html/syntax.html#html-integration-point\n var SVG_INTEGRATION_POINTS = { foreignObject: 1, desc: 1, 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 var BLACKLIST_TABLE = Object.create(null);\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(function (tag) {\n return BLACKLIST_TABLE[tag] = 1;\n });\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 moveNodesBefore(source, target, nextSibling) {\n var first = source.firstChild;\n var last = null;\n var current = first;\n while (current) {\n last = current;\n current = current.nextSibling;\n target.insertBefore(last, nextSibling);\n }\n return [first, last];\n }\n\n var DOMOperations = function () {\n function DOMOperations(document) {\n\n this.document = document;\n this.setupUselessElement();\n }\n // split into seperate method so that NodeDOMTreeConstruction\n // can override it.\n\n\n DOMOperations.prototype.setupUselessElement = function () {\n this.uselessElement = this.document.createElement('div');\n };\n\n DOMOperations.prototype.createElement = function (tag, context) {\n var isElementInSVGNamespace = void 0,\n isHTMLIntegrationPoint = void 0;\n if (context) {\n isElementInSVGNamespace = context.namespaceURI === SVG_NAMESPACE$1 || tag === 'svg';\n isHTMLIntegrationPoint = SVG_INTEGRATION_POINTS[context.tagName];\n } else {\n isElementInSVGNamespace = tag === 'svg';\n isHTMLIntegrationPoint = false;\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 return this.document.createElementNS(SVG_NAMESPACE$1, tag);\n } else {\n return this.document.createElement(tag);\n }\n };\n\n DOMOperations.prototype.insertBefore = function (parent, node, reference) {\n parent.insertBefore(node, reference);\n };\n\n DOMOperations.prototype.insertHTMLBefore = function (_parent, nextSibling, html) {\n return _insertHTMLBefore(this.uselessElement, _parent, nextSibling, html);\n };\n\n DOMOperations.prototype.createTextNode = function (text) {\n return this.document.createTextNode(text);\n };\n\n DOMOperations.prototype.createComment = function (data) {\n return this.document.createComment(data);\n };\n\n return DOMOperations;\n }();\n\n var DOM;\n (function (DOM) {\n var TreeConstruction = function (_DOMOperations) {\n (0, _emberBabel.inherits)(TreeConstruction, _DOMOperations);\n\n function TreeConstruction() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DOMOperations.apply(this, arguments));\n }\n\n TreeConstruction.prototype.createElementNS = function (namespace, tag) {\n return this.document.createElementNS(namespace, tag);\n };\n\n TreeConstruction.prototype.setAttribute = function (element, name, value) {\n var namespace = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n if (namespace) {\n element.setAttributeNS(namespace, name, value);\n } else {\n element.setAttribute(name, value);\n }\n };\n\n return TreeConstruction;\n }(DOMOperations);\n\n DOM.TreeConstruction = TreeConstruction;\n var appliedTreeContruction = TreeConstruction;\n appliedTreeContruction = applyTextNodeMergingFix(doc, appliedTreeContruction);\n appliedTreeContruction = applySVGInnerHTMLFix(doc, appliedTreeContruction, SVG_NAMESPACE$1);\n DOM.DOMTreeConstruction = appliedTreeContruction;\n })(DOM || (DOM = {}));\n\n var DOMChanges = function (_DOMOperations2) {\n (0, _emberBabel.inherits)(DOMChanges, _DOMOperations2);\n\n function DOMChanges(document) {\n\n var _this18 = (0, _emberBabel.possibleConstructorReturn)(this, _DOMOperations2.call(this, document));\n\n _this18.document = document;\n _this18.namespace = null;\n return _this18;\n }\n\n DOMChanges.prototype.setAttribute = function (element, name, value) {\n element.setAttribute(name, value);\n };\n\n DOMChanges.prototype.removeAttribute = function (element, name) {\n element.removeAttribute(name);\n };\n\n DOMChanges.prototype.insertAfter = function (element, node, reference) {\n this.insertBefore(element, node, reference.nextSibling);\n };\n\n return DOMChanges;\n }(DOMOperations);\n\n function _insertHTMLBefore(useless, _parent, _nextSibling, _html) {\n var parent = _parent;\n var nextSibling = _nextSibling;\n var prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n var last = void 0;\n var html = _html || '<!---->';\n if (nextSibling === null) {\n parent.insertAdjacentHTML('beforeend', 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 parent.insertBefore(useless, nextSibling);\n useless.insertAdjacentHTML('beforebegin', html);\n last = useless.previousSibling;\n parent.removeChild(useless);\n }\n var first = prev ? prev.nextSibling : parent.firstChild;\n return new ConcreteBounds(parent, first, last);\n }\n var helper = DOMChanges;\n helper = applyTextNodeMergingFix(doc, helper);\n helper = applySVGInnerHTMLFix(doc, helper, SVG_NAMESPACE$1);\n var helper$1 = helper;\n var DOMTreeConstruction = DOM.DOMTreeConstruction;\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 function has(array, item) {\n return array.indexOf(item) !== -1;\n }\n function checkURI(tagName, attribute) {\n return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n }\n function checkDataURI(tagName, attribute) {\n if (tagName === null) return false;\n return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n }\n function requiresSanitization(tagName, attribute) {\n return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n }\n function sanitizeAttributeValue(env, element, attribute, value) {\n var tagName = null,\n protocol;\n if (value === null || value === undefined) {\n return value;\n }\n if (isSafeString(value)) {\n return value.toHTML();\n }\n if (!element) {\n tagName = null;\n } else {\n tagName = element.tagName.toUpperCase();\n }\n var str = normalizeStringValue(value);\n if (checkURI(tagName, attribute)) {\n protocol = env.protocolForURL(str);\n\n if (has(badProtocols, protocol)) {\n return 'unsafe:' + str;\n }\n }\n if (checkDataURI(tagName, attribute)) {\n return 'unsafe:' + str;\n }\n return str;\n }\n\n /*\n * @method normalizeProperty\n * @param element {HTMLElement}\n * @param slotName {String}\n * @returns {Object} { name, type }\n */\n function normalizeProperty(element, slotName) {\n var type = void 0,\n normalized = void 0,\n lower;\n if (slotName in element) {\n normalized = slotName;\n type = 'prop';\n } else {\n 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 if (type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName, normalized))) {\n type = 'attr';\n }\n return { normalized: normalized, type: type };\n }\n // properties that MUST be set as attributes, due to:\n // * browser bug\n // * strange spec outlier\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: { form: true },\n OPTION: { form: true },\n TEXTAREA: { form: true },\n LABEL: { form: true },\n FIELDSET: { form: true },\n LEGEND: { form: true },\n OBJECT: { form: true },\n BUTTON: { form: true }\n };\n function preferAttr(tagName, propName) {\n var tag = ATTR_OVERRIDES[tagName.toUpperCase()];\n return tag && tag[propName.toLowerCase()] || false;\n }\n\n function dynamicAttribute(element, attr, namespace) {\n var tagName = element.tagName,\n namespaceURI = element.namespaceURI;\n\n var attribute = { element: element, name: attr, namespace: namespace };\n if (namespaceURI === SVG_NAMESPACE$1) {\n return buildDynamicAttribute(tagName, attr, attribute);\n }\n\n var _normalizeProperty = normalizeProperty(element, attr),\n type = _normalizeProperty.type,\n normalized = _normalizeProperty.normalized;\n\n if (type === 'attr') {\n return buildDynamicAttribute(tagName, normalized, attribute);\n } else {\n return buildDynamicProperty(tagName, normalized, attribute);\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 function buildDynamicProperty(tagName, name, attribute) {\n if (requiresSanitization(tagName, name)) {\n return new SafeDynamicProperty(name, attribute);\n }\n if (isUserInputValue(tagName, name)) {\n return new InputValueDynamicAttribute(name, attribute);\n }\n if (isOptionSelected(tagName, name)) {\n return new OptionSelectedDynamicAttribute(name, attribute);\n }\n return new DefaultDynamicProperty(name, attribute);\n }\n\n var DynamicAttribute = function (attribute) {\n\n this.attribute = attribute;\n };\n\n var SimpleDynamicAttribute = function (_DynamicAttribute) {\n (0, _emberBabel.inherits)(SimpleDynamicAttribute, _DynamicAttribute);\n\n function SimpleDynamicAttribute() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DynamicAttribute.apply(this, arguments));\n }\n\n SimpleDynamicAttribute.prototype.set = function (dom, value) {\n var normalizedValue = normalizeValue(value),\n _attribute2,\n name,\n namespace;\n if (normalizedValue !== null) {\n _attribute2 = this.attribute, name = _attribute2.name, namespace = _attribute2.namespace;\n\n\n dom.__setAttribute(name, normalizedValue, namespace);\n }\n };\n\n SimpleDynamicAttribute.prototype.update = function (value) {\n var normalizedValue = normalizeValue(value);\n var _attribute3 = this.attribute,\n element = _attribute3.element,\n name = _attribute3.name;\n\n if (normalizedValue === null) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, normalizedValue);\n }\n };\n\n return SimpleDynamicAttribute;\n }(DynamicAttribute);\n\n var DefaultDynamicProperty = function (_DynamicAttribute2) {\n (0, _emberBabel.inherits)(DefaultDynamicProperty, _DynamicAttribute2);\n\n function DefaultDynamicProperty(normalizedName, attribute) {\n\n var _this20 = (0, _emberBabel.possibleConstructorReturn)(this, _DynamicAttribute2.call(this, attribute));\n\n _this20.normalizedName = normalizedName;\n return _this20;\n }\n\n DefaultDynamicProperty.prototype.set = function (dom, value) {\n if (value !== null && value !== undefined) {\n this.value = value;\n dom.__setProperty(this.normalizedName, value);\n }\n };\n\n DefaultDynamicProperty.prototype.update = function (value) {\n var element = this.attribute.element;\n\n if (this.value !== value) {\n element[this.normalizedName] = this.value = value;\n if (value === null || value === undefined) {\n this.removeAttribute();\n }\n }\n };\n\n DefaultDynamicProperty.prototype.removeAttribute = function () {\n var _attribute4 = this.attribute,\n element = _attribute4.element,\n namespace = _attribute4.namespace;\n\n if (namespace) {\n element.removeAttributeNS(namespace, this.normalizedName);\n } else {\n element.removeAttribute(this.normalizedName);\n }\n };\n\n return DefaultDynamicProperty;\n }(DynamicAttribute);\n\n var SafeDynamicProperty = function (_DefaultDynamicProper) {\n (0, _emberBabel.inherits)(SafeDynamicProperty, _DefaultDynamicProper);\n\n function SafeDynamicProperty() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DefaultDynamicProper.apply(this, arguments));\n }\n\n SafeDynamicProperty.prototype.set = function (dom, value, env) {\n var _attribute5 = this.attribute,\n element = _attribute5.element,\n name = _attribute5.name;\n\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n _DefaultDynamicProper.prototype.set.call(this, dom, sanitized, env);\n };\n\n SafeDynamicProperty.prototype.update = function (value, env) {\n var _attribute6 = this.attribute,\n element = _attribute6.element,\n name = _attribute6.name;\n\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n _DefaultDynamicProper.prototype.update.call(this, sanitized, env);\n };\n\n return SafeDynamicProperty;\n }(DefaultDynamicProperty);\n\n var SafeDynamicAttribute = function (_SimpleDynamicAttribu) {\n (0, _emberBabel.inherits)(SafeDynamicAttribute, _SimpleDynamicAttribu);\n\n function SafeDynamicAttribute() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _SimpleDynamicAttribu.apply(this, arguments));\n }\n\n SafeDynamicAttribute.prototype.set = function (dom, value, env) {\n var _attribute7 = this.attribute,\n element = _attribute7.element,\n name = _attribute7.name;\n\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n _SimpleDynamicAttribu.prototype.set.call(this, dom, sanitized, env);\n };\n\n SafeDynamicAttribute.prototype.update = function (value, env) {\n var _attribute8 = this.attribute,\n element = _attribute8.element,\n name = _attribute8.name;\n\n var sanitized = sanitizeAttributeValue(env, element, name, value);\n _SimpleDynamicAttribu.prototype.update.call(this, sanitized, env);\n };\n\n return SafeDynamicAttribute;\n }(SimpleDynamicAttribute);\n\n var InputValueDynamicAttribute = function (_DefaultDynamicProper2) {\n (0, _emberBabel.inherits)(InputValueDynamicAttribute, _DefaultDynamicProper2);\n\n function InputValueDynamicAttribute() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DefaultDynamicProper2.apply(this, arguments));\n }\n\n InputValueDynamicAttribute.prototype.set = function (dom, value) {\n dom.__setProperty('value', normalizeStringValue(value));\n };\n\n InputValueDynamicAttribute.prototype.update = function (value) {\n var input = this.attribute.element;\n var currentValue = input.value;\n var normalizedValue = normalizeStringValue(value);\n if (currentValue !== normalizedValue) {\n input.value = normalizedValue;\n }\n };\n\n return InputValueDynamicAttribute;\n }(DefaultDynamicProperty);\n\n var OptionSelectedDynamicAttribute = function (_DefaultDynamicProper3) {\n (0, _emberBabel.inherits)(OptionSelectedDynamicAttribute, _DefaultDynamicProper3);\n\n function OptionSelectedDynamicAttribute() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _DefaultDynamicProper3.apply(this, arguments));\n }\n\n OptionSelectedDynamicAttribute.prototype.set = function (dom, value) {\n if (value !== null && value !== undefined && value !== false) {\n dom.__setProperty('selected', true);\n }\n };\n\n OptionSelectedDynamicAttribute.prototype.update = function (value) {\n var option = this.attribute.element;\n if (value) {\n option.selected = true;\n } else {\n option.selected = false;\n }\n };\n\n return OptionSelectedDynamicAttribute;\n }(DefaultDynamicProperty);\n\n function isOptionSelected(tagName, attribute) {\n return tagName === 'OPTION' && attribute === 'selected';\n }\n function isUserInputValue(tagName, attribute) {\n return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n }\n function normalizeValue(value) {\n if (value === false || value === undefined || value === null || typeof value.toString === 'undefined') {\n return null;\n }\n if (value === true) {\n return '';\n }\n // onclick function etc in SSR\n if (typeof value === 'function') {\n return null;\n }\n return String(value);\n }\n\n var Scope = function () {\n function Scope(\n // the 0th slot is `self`\n slots, callerScope,\n // named arguments and blocks passed to a layout that uses eval\n evalScope,\n // locals in scope when the partial was invoked\n partialMap) {\n\n this.slots = slots;\n this.callerScope = callerScope;\n this.evalScope = evalScope;\n this.partialMap = partialMap;\n }\n\n Scope.root = function (self) {\n var size = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0,\n i;\n\n var refs = new Array(size + 1);\n for (i = 0; i <= size; i++) {\n refs[i] = UNDEFINED_REFERENCE;\n }\n return new Scope(refs, null, null, null).init({ self: self });\n };\n\n Scope.sized = function () {\n var size = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0,\n i;\n\n var refs = new Array(size + 1);\n for (i = 0; i <= size; i++) {\n refs[i] = UNDEFINED_REFERENCE;\n }\n return new Scope(refs, null, null, null);\n };\n\n Scope.prototype.init = function (_ref54) {\n var self = _ref54.self;\n\n this.slots[0] = self;\n return this;\n };\n\n Scope.prototype.getSelf = function () {\n return this.get(0);\n };\n\n Scope.prototype.getSymbol = function (symbol) {\n return this.get(symbol);\n };\n\n Scope.prototype.getBlock = function (symbol) {\n var block = this.get(symbol);\n return block === UNDEFINED_REFERENCE ? null : block;\n };\n\n Scope.prototype.getEvalScope = function () {\n return this.evalScope;\n };\n\n Scope.prototype.getPartialMap = function () {\n return this.partialMap;\n };\n\n Scope.prototype.bind = function (symbol, value) {\n this.set(symbol, value);\n };\n\n Scope.prototype.bindSelf = function (self) {\n this.set(0, self);\n };\n\n Scope.prototype.bindSymbol = function (symbol, value) {\n this.set(symbol, value);\n };\n\n Scope.prototype.bindBlock = function (symbol, value) {\n this.set(symbol, value);\n };\n\n Scope.prototype.bindEvalScope = function (map) {\n this.evalScope = map;\n };\n\n Scope.prototype.bindPartialMap = function (map) {\n this.partialMap = map;\n };\n\n Scope.prototype.bindCallerScope = function (scope) {\n this.callerScope = scope;\n };\n\n Scope.prototype.getCallerScope = function () {\n return this.callerScope;\n };\n\n Scope.prototype.child = function () {\n return new Scope(this.slots.slice(), this.callerScope, this.evalScope, this.partialMap);\n };\n\n Scope.prototype.get = function (index) {\n if (index >= this.slots.length) {\n throw new RangeError('BUG: cannot get $' + index + ' from scope; length=' + this.slots.length);\n }\n return this.slots[index];\n };\n\n Scope.prototype.set = function (index, value) {\n if (index >= this.slots.length) {\n throw new RangeError('BUG: cannot get $' + index + ' from scope; length=' + this.slots.length);\n }\n this.slots[index] = value;\n };\n\n return Scope;\n }();\n\n var Transaction = function () {\n function Transaction() {\n\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 this.destructors = [];\n }\n\n Transaction.prototype.didCreate = function (component, manager) {\n this.createdComponents.push(component);\n this.createdManagers.push(manager);\n };\n\n Transaction.prototype.didUpdate = function (component, manager) {\n this.updatedComponents.push(component);\n this.updatedManagers.push(manager);\n };\n\n Transaction.prototype.scheduleInstallModifier = function (modifier, manager) {\n this.scheduledInstallManagers.push(manager);\n this.scheduledInstallModifiers.push(modifier);\n };\n\n Transaction.prototype.scheduleUpdateModifier = function (modifier, manager) {\n this.scheduledUpdateModifierManagers.push(manager);\n this.scheduledUpdateModifiers.push(modifier);\n };\n\n Transaction.prototype.didDestroy = function (d) {\n this.destructors.push(d);\n };\n\n Transaction.prototype.commit = function () {\n var createdComponents = this.createdComponents,\n createdManagers = this.createdManagers,\n i,\n component,\n manager,\n _i4,\n _component,\n _manager2,\n _i5,\n _i6,\n _manager3,\n modifier,\n _i7,\n _manager4,\n _modifier;\n\n for (i = 0; i < createdComponents.length; i++) {\n component = createdComponents[i];\n manager = createdManagers[i];\n\n manager.didCreate(component);\n }\n var updatedComponents = this.updatedComponents,\n updatedManagers = this.updatedManagers;\n\n for (_i4 = 0; _i4 < updatedComponents.length; _i4++) {\n _component = updatedComponents[_i4];\n _manager2 = updatedManagers[_i4];\n\n _manager2.didUpdate(_component);\n }\n var destructors = this.destructors;\n\n for (_i5 = 0; _i5 < destructors.length; _i5++) {\n destructors[_i5].destroy();\n }\n var scheduledInstallManagers = this.scheduledInstallManagers,\n scheduledInstallModifiers = this.scheduledInstallModifiers;\n\n for (_i6 = 0; _i6 < scheduledInstallManagers.length; _i6++) {\n _manager3 = scheduledInstallManagers[_i6];\n modifier = scheduledInstallModifiers[_i6];\n\n _manager3.install(modifier);\n }\n var scheduledUpdateModifierManagers = this.scheduledUpdateModifierManagers,\n scheduledUpdateModifiers = this.scheduledUpdateModifiers;\n\n for (_i7 = 0; _i7 < scheduledUpdateModifierManagers.length; _i7++) {\n _manager4 = scheduledUpdateModifierManagers[_i7];\n _modifier = scheduledUpdateModifiers[_i7];\n\n _manager4.update(_modifier);\n }\n };\n\n return Transaction;\n }();\n\n var Environment = function () {\n function Environment(_ref55) {\n var appendOperations = _ref55.appendOperations,\n updateOperations = _ref55.updateOperations;\n\n\n this._transaction = null;\n this.appendOperations = appendOperations;\n this.updateOperations = updateOperations;\n }\n\n Environment.prototype.toConditionalReference = function (reference) {\n return new ConditionalReference(reference);\n };\n\n Environment.prototype.getAppendOperations = function () {\n return this.appendOperations;\n };\n\n Environment.prototype.getDOM = function () {\n return this.updateOperations;\n };\n\n Environment.prototype.begin = function () {\n\n this._transaction = new Transaction();\n };\n\n Environment.prototype.didCreate = function (component, manager) {\n this.transaction.didCreate(component, manager);\n };\n\n Environment.prototype.didUpdate = function (component, manager) {\n this.transaction.didUpdate(component, manager);\n };\n\n Environment.prototype.scheduleInstallModifier = function (modifier, manager) {\n this.transaction.scheduleInstallModifier(modifier, manager);\n };\n\n Environment.prototype.scheduleUpdateModifier = function (modifier, manager) {\n this.transaction.scheduleUpdateModifier(modifier, manager);\n };\n\n Environment.prototype.didDestroy = function (d) {\n this.transaction.didDestroy(d);\n };\n\n Environment.prototype.commit = function () {\n var transaction = this.transaction;\n this._transaction = null;\n transaction.commit();\n };\n\n Environment.prototype.attributeFor = function (element, attr) {\n var namespace = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : null;\n\n return dynamicAttribute(element, attr, namespace);\n };\n\n (0, _emberBabel.createClass)(Environment, [{\n key: 'transaction',\n get: function () {\n return this._transaction;\n }\n }]);\n return Environment;\n }();\n\n var DefaultEnvironment = function (_Environment) {\n (0, _emberBabel.inherits)(DefaultEnvironment, _Environment);\n\n function DefaultEnvironment(options) {\n var _document, appendOperations, updateOperations;\n\n if (!options) {\n _document = window.document;\n appendOperations = new DOMTreeConstruction(_document);\n updateOperations = new DOMChanges(_document);\n\n options = { appendOperations: appendOperations, updateOperations: updateOperations };\n }\n return (0, _emberBabel.possibleConstructorReturn)(this, _Environment.call(this, options));\n }\n\n return DefaultEnvironment;\n }(Environment);\n\n var LowLevelVM = function () {\n function LowLevelVM(stack, heap, program, externs) {\n var pc = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : -1;\n var ra = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : -1;\n\n\n this.stack = stack;\n this.heap = heap;\n this.program = program;\n this.externs = externs;\n this.pc = pc;\n this.ra = ra;\n this.currentOpSize = 0;\n }\n // Start a new frame and save $ra and $fp on the stack\n\n\n LowLevelVM.prototype.pushFrame = function () {\n this.stack.pushSmi(this.ra);\n this.stack.pushSmi(this.stack.fp);\n this.stack.fp = this.stack.sp - 1;\n };\n\n LowLevelVM.prototype.popFrame = function () {\n this.stack.sp = this.stack.fp - 1;\n this.ra = this.stack.getSmi(0);\n this.stack.fp = this.stack.getSmi(1);\n };\n\n LowLevelVM.prototype.pushSmallFrame = function () {\n this.stack.pushSmi(this.ra);\n };\n\n LowLevelVM.prototype.popSmallFrame = function () {\n this.ra = this.stack.popSmi();\n };\n\n LowLevelVM.prototype.goto = function (offset) {\n var addr = this.pc + offset - this.currentOpSize;\n this.pc = addr;\n };\n\n LowLevelVM.prototype.call = function (handle) {\n this.ra = this.pc;\n this.pc = this.heap.getaddr(handle);\n };\n\n LowLevelVM.prototype.returnTo = function (offset) {\n var addr = this.pc + offset - this.currentOpSize;\n this.ra = addr;\n };\n\n LowLevelVM.prototype.return = function () {\n this.pc = this.ra;\n };\n\n LowLevelVM.prototype.nextStatement = function () {\n var pc = this.pc,\n program = this.program;\n\n if (pc === -1) {\n return null;\n }\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 var _program$opcode = this.program.opcode(pc),\n size = _program$opcode.size;\n\n var operationSize = this.currentOpSize = size;\n this.pc += operationSize;\n return program.opcode(pc);\n };\n\n LowLevelVM.prototype.evaluateOuter = function (opcode, vm) {\n {\n this.evaluateInner(opcode, vm);\n }\n };\n\n LowLevelVM.prototype.evaluateInner = function (opcode, vm) {\n if (opcode.isMachine) {\n this.evaluateMachine(opcode);\n } else {\n this.evaluateSyscall(opcode, vm);\n }\n };\n\n LowLevelVM.prototype.evaluateMachine = function (opcode) {\n switch (opcode.type) {\n case 57 /* PushFrame */:\n return this.pushFrame();\n case 58 /* PopFrame */:\n return this.popFrame();\n case 59 /* PushSmallFrame */:\n return this.pushSmallFrame();\n case 60 /* PopSmallFrame */:\n return this.popSmallFrame();\n case 50 /* InvokeStatic */:\n return this.call(opcode.op1);\n case 49 /* InvokeVirtual */:\n return this.call(this.stack.popSmi());\n case 52 /* Jump */:\n return this.goto(opcode.op1);\n case 24 /* Return */:\n return this.return();\n case 25 /* ReturnTo */:\n return this.returnTo(opcode.op1);\n }\n };\n\n LowLevelVM.prototype.evaluateSyscall = function (opcode, vm) {\n APPEND_OPCODES.evaluate(vm, opcode, opcode.type);\n };\n\n return LowLevelVM;\n }();\n\n var First = function () {\n function First(node) {\n\n this.node = node;\n }\n\n First.prototype.firstNode = function () {\n return this.node;\n };\n\n return First;\n }();\n\n var Last = function () {\n function Last(node) {\n\n this.node = node;\n }\n\n Last.prototype.lastNode = function () {\n return this.node;\n };\n\n return Last;\n }();\n\n var NewElementBuilder = function () {\n function NewElementBuilder(env, parentNode, nextSibling) {\n\n this.constructing = null;\n this.operations = null;\n this.cursorStack = 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 NewElementBuilder.forInitialRender = function (env, cursor) {\n var builder = new this(env, cursor.element, cursor.nextSibling);\n builder.pushSimpleBlock();\n return builder;\n };\n\n NewElementBuilder.resume = function (env, tracker, nextSibling) {\n var parentNode = tracker.parentElement();\n var stack = new this(env, parentNode, nextSibling);\n stack.pushSimpleBlock();\n stack.pushBlockTracker(tracker);\n return stack;\n };\n\n NewElementBuilder.prototype.expectConstructing = function () {\n return this.constructing;\n };\n\n NewElementBuilder.prototype.block = function () {\n return this.blockStack.current;\n };\n\n NewElementBuilder.prototype.popElement = function () {\n this.cursorStack.pop();\n this.cursorStack.current;\n };\n\n NewElementBuilder.prototype.pushSimpleBlock = function () {\n return this.pushBlockTracker(new SimpleBlockTracker(this.element));\n };\n\n NewElementBuilder.prototype.pushUpdatableBlock = function () {\n return this.pushBlockTracker(new UpdatableBlockTracker(this.element));\n };\n\n NewElementBuilder.prototype.pushBlockList = function (list) {\n return this.pushBlockTracker(new BlockListTracker(this.element, list));\n };\n\n NewElementBuilder.prototype.pushBlockTracker = function (tracker) {\n var isRemote = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n\n var current = this.blockStack.current;\n if (current !== null) {\n current.newDestroyable(tracker);\n if (!isRemote) {\n current.didAppendBounds(tracker);\n }\n }\n this.__openBlock();\n this.blockStack.push(tracker);\n return tracker;\n };\n\n NewElementBuilder.prototype.popBlock = function () {\n this.block().finalize(this);\n this.__closeBlock();\n return this.blockStack.pop();\n };\n\n NewElementBuilder.prototype.__openBlock = function () {};\n\n NewElementBuilder.prototype.__closeBlock = function () {};\n\n NewElementBuilder.prototype.openElement = function (tag) {\n var element = this.__openElement(tag);\n this.constructing = element;\n return element;\n };\n\n NewElementBuilder.prototype.__openElement = function (tag) {\n return this.dom.createElement(tag, this.element);\n };\n\n NewElementBuilder.prototype.flushElement = function () {\n var parent = this.element;\n var element = this.constructing;\n this.__flushElement(parent, element);\n this.constructing = null;\n this.operations = null;\n this.pushElement(element, null);\n this.didOpenElement(element);\n };\n\n NewElementBuilder.prototype.__flushElement = function (parent, constructing) {\n this.dom.insertBefore(parent, constructing, this.nextSibling);\n };\n\n NewElementBuilder.prototype.closeElement = function () {\n this.willCloseElement();\n this.popElement();\n };\n\n NewElementBuilder.prototype.pushRemoteElement = function (element, guid) {\n var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n this.__pushRemoteElement(element, guid, nextSibling);\n };\n\n NewElementBuilder.prototype.__pushRemoteElement = function (element, _guid, nextSibling) {\n this.pushElement(element, nextSibling);\n var tracker = new RemoteBlockTracker(element);\n this.pushBlockTracker(tracker, true);\n };\n\n NewElementBuilder.prototype.popRemoteElement = function () {\n this.popBlock();\n this.popElement();\n };\n\n NewElementBuilder.prototype.pushElement = function (element, nextSibling) {\n this.cursorStack.push(new Cursor(element, nextSibling));\n };\n\n NewElementBuilder.prototype.didAddDestroyable = function (d) {\n this.block().newDestroyable(d);\n };\n\n NewElementBuilder.prototype.didAppendBounds = function (bounds$$1) {\n this.block().didAppendBounds(bounds$$1);\n return bounds$$1;\n };\n\n NewElementBuilder.prototype.didAppendNode = function (node) {\n this.block().didAppendNode(node);\n return node;\n };\n\n NewElementBuilder.prototype.didOpenElement = function (element) {\n this.block().openElement(element);\n return element;\n };\n\n NewElementBuilder.prototype.willCloseElement = function () {\n this.block().closeElement();\n };\n\n NewElementBuilder.prototype.appendText = function (string) {\n return this.didAppendNode(this.__appendText(string));\n };\n\n NewElementBuilder.prototype.__appendText = function (text) {\n var dom = this.dom,\n element = this.element,\n nextSibling = this.nextSibling;\n\n var node = dom.createTextNode(text);\n dom.insertBefore(element, node, nextSibling);\n return node;\n };\n\n NewElementBuilder.prototype.__appendNode = function (node) {\n this.dom.insertBefore(this.element, node, this.nextSibling);\n return node;\n };\n\n NewElementBuilder.prototype.__appendFragment = function (fragment) {\n var first = fragment.firstChild,\n ret;\n if (first) {\n ret = bounds(this.element, first, fragment.lastChild);\n\n this.dom.insertBefore(this.element, fragment, this.nextSibling);\n return ret;\n } else {\n return single(this.element, this.__appendComment(''));\n }\n };\n\n NewElementBuilder.prototype.__appendHTML = function (html) {\n return this.dom.insertHTMLBefore(this.element, this.nextSibling, html);\n };\n\n NewElementBuilder.prototype.appendDynamicHTML = function (value) {\n var bounds$$1 = this.trustedContent(value);\n this.didAppendBounds(bounds$$1);\n };\n\n NewElementBuilder.prototype.appendDynamicText = function (value) {\n var node = this.untrustedContent(value);\n this.didAppendNode(node);\n return node;\n };\n\n NewElementBuilder.prototype.appendDynamicFragment = function (value) {\n var bounds$$1 = this.__appendFragment(value);\n this.didAppendBounds(bounds$$1);\n };\n\n NewElementBuilder.prototype.appendDynamicNode = function (value) {\n var node = this.__appendNode(value);\n var bounds$$1 = single(this.element, node);\n this.didAppendBounds(bounds$$1);\n };\n\n NewElementBuilder.prototype.trustedContent = function (value) {\n return this.__appendHTML(value);\n };\n\n NewElementBuilder.prototype.untrustedContent = function (value) {\n return this.__appendText(value);\n };\n\n NewElementBuilder.prototype.appendComment = function (string) {\n return this.didAppendNode(this.__appendComment(string));\n };\n\n NewElementBuilder.prototype.__appendComment = function (string) {\n var dom = this.dom,\n element = this.element,\n nextSibling = this.nextSibling;\n\n var node = dom.createComment(string);\n dom.insertBefore(element, node, nextSibling);\n return node;\n };\n\n NewElementBuilder.prototype.__setAttribute = function (name, value, namespace) {\n this.dom.setAttribute(this.constructing, name, value, namespace);\n };\n\n NewElementBuilder.prototype.__setProperty = function (name, value) {\n this.constructing[name] = value;\n };\n\n NewElementBuilder.prototype.setStaticAttribute = function (name, value, namespace) {\n this.__setAttribute(name, value, namespace);\n };\n\n NewElementBuilder.prototype.setDynamicAttribute = function (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 (0, _emberBabel.createClass)(NewElementBuilder, [{\n key: 'element',\n get: function () {\n return this.cursorStack.current.element;\n }\n }, {\n key: 'nextSibling',\n get: function () {\n return this.cursorStack.current.nextSibling;\n }\n }]);\n return NewElementBuilder;\n }();\n\n var SimpleBlockTracker = function () {\n function SimpleBlockTracker(parent) {\n\n this.parent = parent;\n this.first = null;\n this.last = null;\n this.destroyables = null;\n this.nesting = 0;\n }\n\n SimpleBlockTracker.prototype.destroy = function () {\n var destroyables = this.destroyables,\n i;\n\n if (destroyables && destroyables.length) {\n for (i = 0; i < destroyables.length; i++) {\n destroyables[i].destroy();\n }\n }\n };\n\n SimpleBlockTracker.prototype.parentElement = function () {\n return this.parent;\n };\n\n SimpleBlockTracker.prototype.firstNode = function () {\n return this.first && this.first.firstNode();\n };\n\n SimpleBlockTracker.prototype.lastNode = function () {\n return this.last && this.last.lastNode();\n };\n\n SimpleBlockTracker.prototype.openElement = function (element) {\n this.didAppendNode(element);\n this.nesting++;\n };\n\n SimpleBlockTracker.prototype.closeElement = function () {\n this.nesting--;\n };\n\n SimpleBlockTracker.prototype.didAppendNode = function (node) {\n if (this.nesting !== 0) return;\n if (!this.first) {\n this.first = new First(node);\n }\n this.last = new Last(node);\n };\n\n SimpleBlockTracker.prototype.didAppendBounds = function (bounds$$1) {\n if (this.nesting !== 0) return;\n if (!this.first) {\n this.first = bounds$$1;\n }\n this.last = bounds$$1;\n };\n\n SimpleBlockTracker.prototype.newDestroyable = function (d) {\n this.destroyables = this.destroyables || [];\n this.destroyables.push(d);\n };\n\n SimpleBlockTracker.prototype.finalize = function (stack) {\n if (this.first === null) {\n stack.appendComment('');\n }\n };\n\n return SimpleBlockTracker;\n }();\n\n var RemoteBlockTracker = function (_SimpleBlockTracker) {\n (0, _emberBabel.inherits)(RemoteBlockTracker, _SimpleBlockTracker);\n\n function RemoteBlockTracker() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _SimpleBlockTracker.apply(this, arguments));\n }\n\n RemoteBlockTracker.prototype.destroy = function () {\n _SimpleBlockTracker.prototype.destroy.call(this);\n clear(this);\n };\n\n return RemoteBlockTracker;\n }(SimpleBlockTracker);\n\n var UpdatableBlockTracker = function (_SimpleBlockTracker2) {\n (0, _emberBabel.inherits)(UpdatableBlockTracker, _SimpleBlockTracker2);\n\n function UpdatableBlockTracker() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _SimpleBlockTracker2.apply(this, arguments));\n }\n\n UpdatableBlockTracker.prototype.reset = function (env) {\n var destroyables = this.destroyables,\n i;\n\n if (destroyables && destroyables.length) {\n for (i = 0; i < destroyables.length; i++) {\n env.didDestroy(destroyables[i]);\n }\n }\n var nextSibling = clear(this);\n this.first = null;\n this.last = null;\n this.destroyables = null;\n this.nesting = 0;\n return nextSibling;\n };\n\n return UpdatableBlockTracker;\n }(SimpleBlockTracker);\n\n var BlockListTracker = function () {\n function BlockListTracker(parent, boundList) {\n\n this.parent = parent;\n this.boundList = boundList;\n this.parent = parent;\n this.boundList = boundList;\n }\n\n BlockListTracker.prototype.destroy = function () {\n this.boundList.forEachNode(function (node) {\n return node.destroy();\n });\n };\n\n BlockListTracker.prototype.parentElement = function () {\n return this.parent;\n };\n\n BlockListTracker.prototype.firstNode = function () {\n var head = this.boundList.head();\n return head && head.firstNode();\n };\n\n BlockListTracker.prototype.lastNode = function () {\n var tail = this.boundList.tail();\n return tail && tail.lastNode();\n };\n\n BlockListTracker.prototype.openElement = function () {};\n\n BlockListTracker.prototype.closeElement = function () {};\n\n BlockListTracker.prototype.didAppendNode = function () {};\n\n BlockListTracker.prototype.didAppendBounds = function () {};\n\n BlockListTracker.prototype.newDestroyable = function () {};\n\n BlockListTracker.prototype.finalize = function () {};\n\n return BlockListTracker;\n }();\n\n var HI = 0x80000000;\n\n\n var InnerStack = function () {\n function InnerStack() {\n var inner = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : new _lowLevel.Stack();\n var js = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n\n\n this.inner = inner;\n this.js = js;\n }\n\n InnerStack.prototype.slice = function (start, end) {\n var inner = void 0;\n if (typeof start === 'number' && typeof end === 'number') {\n inner = this.inner.slice(start, end);\n } else if (typeof start === 'number' && end === undefined) {\n inner = this.inner.sliceFrom(start);\n } else {\n inner = this.inner.clone();\n }\n return new InnerStack(inner, this.js.slice(start, end));\n };\n\n InnerStack.prototype.sliceInner = function (start, end) {\n var out = [],\n i;\n for (i = start; i < end; i++) {\n out.push(this.get(i));\n }\n return out;\n };\n\n InnerStack.prototype.copy = function (from, to) {\n this.inner.copy(from, to);\n };\n\n InnerStack.prototype.write = function (pos, value) {\n var idx;\n\n if (isImmediate(value)) {\n this.inner.writeRaw(pos, encodeImmediate(value));\n } else {\n idx = this.js.length;\n\n this.js.push(value);\n this.inner.writeRaw(pos, idx | HI);\n }\n };\n\n InnerStack.prototype.writeSmi = function (pos, value) {\n this.inner.writeSmi(pos, value);\n };\n\n InnerStack.prototype.writeImmediate = function (pos, value) {\n this.inner.writeRaw(pos, value);\n };\n\n InnerStack.prototype.get = function (pos) {\n var value = this.inner.getRaw(pos);\n if (value & HI) {\n return this.js[value & 0x7fffffff];\n } else {\n return decodeImmediate(value);\n }\n };\n\n InnerStack.prototype.getSmi = function (pos) {\n return this.inner.getSmi(pos);\n };\n\n InnerStack.prototype.reset = function () {\n this.inner.reset();\n this.js.length = 0;\n };\n\n (0, _emberBabel.createClass)(InnerStack, [{\n key: 'length',\n get: function () {\n return this.inner.len();\n }\n }]);\n return InnerStack;\n }();\n\n var EvaluationStack = function () {\n function EvaluationStack(stack, fp, sp) {\n\n this.stack = stack;\n this.fp = fp;\n this.sp = sp;\n }\n\n EvaluationStack.empty = function () {\n return new this(new InnerStack(), 0, -1);\n };\n\n EvaluationStack.restore = function (snapshot) {\n var stack = new InnerStack(),\n i;\n for (i = 0; i < snapshot.length; i++) {\n stack.write(i, snapshot[i]);\n }\n return new this(stack, 0, snapshot.length - 1);\n };\n\n EvaluationStack.prototype.push = function (value) {\n this.stack.write(++this.sp, value);\n };\n\n EvaluationStack.prototype.pushSmi = function (value) {\n this.stack.writeSmi(++this.sp, value);\n };\n\n EvaluationStack.prototype.pushImmediate = function (value) {\n this.stack.writeImmediate(++this.sp, encodeImmediate(value));\n };\n\n EvaluationStack.prototype.pushEncodedImmediate = function (value) {\n this.stack.writeImmediate(++this.sp, value);\n };\n\n EvaluationStack.prototype.pushNull = function () {\n this.stack.writeImmediate(++this.sp, 19 /* Null */);\n };\n\n EvaluationStack.prototype.dup = function () {\n var position = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.sp;\n\n this.stack.copy(position, ++this.sp);\n };\n\n EvaluationStack.prototype.copy = function (from, to) {\n this.stack.copy(from, to);\n };\n\n EvaluationStack.prototype.pop = function () {\n var n = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 1;\n\n var top = this.stack.get(this.sp);\n this.sp -= n;\n return top;\n };\n\n EvaluationStack.prototype.popSmi = function () {\n return this.stack.getSmi(this.sp--);\n };\n\n EvaluationStack.prototype.peek = function () {\n var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n return this.stack.get(this.sp - offset);\n };\n\n EvaluationStack.prototype.peekSmi = function () {\n var offset = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n\n return this.stack.getSmi(this.sp - offset);\n };\n\n EvaluationStack.prototype.get = function (offset) {\n var base = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.fp;\n\n return this.stack.get(base + offset);\n };\n\n EvaluationStack.prototype.getSmi = function (offset) {\n var base = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.fp;\n\n return this.stack.getSmi(base + offset);\n };\n\n EvaluationStack.prototype.set = function (value, offset) {\n var base = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : this.fp;\n\n this.stack.write(base + offset, value);\n };\n\n EvaluationStack.prototype.slice = function (start, end) {\n return this.stack.slice(start, end);\n };\n\n EvaluationStack.prototype.sliceArray = function (start, end) {\n return this.stack.sliceInner(start, end);\n };\n\n EvaluationStack.prototype.capture = function (items) {\n var end = this.sp + 1;\n\n return this.stack.sliceInner(end - items, end);\n };\n\n EvaluationStack.prototype.reset = function () {\n this.stack.reset();\n };\n\n EvaluationStack.prototype.toArray = function () {\n return this.stack.sliceInner(this.fp, this.sp + 1);\n };\n\n return EvaluationStack;\n }();\n\n function isImmediate(value) {\n var abs;\n\n if (value === null || value === undefined) return true;\n switch (typeof value) {\n case 'boolean':\n case 'undefined':\n return true;\n case 'number':\n // not an integer\n if (value % 1 !== 0) return false;\n abs = Math.abs(value);\n // too big\n\n if (abs > HI) return false;\n return true;\n default:\n return false;\n }\n }\n function encodeSmi(primitive) {\n if (primitive < 0) {\n return Math.abs(primitive) << 3 | 4 /* NEGATIVE */;\n } else {\n return primitive << 3 | 0 /* NUMBER */;\n }\n }\n function encodeImmediate(primitive) {\n switch (typeof primitive) {\n case 'number':\n return encodeSmi(primitive);\n case 'boolean':\n return primitive ? 11 /* True */ : 3 /* False */;\n case 'object':\n // assume null\n return 19 /* Null */;\n case 'undefined':\n return 27 /* Undef */;\n default:\n throw (0, _util.unreachable)();\n }\n }\n function decodeSmi(smi) {\n switch (smi & 7) {\n case 0 /* NUMBER */:\n return smi >> 3;\n case 4 /* NEGATIVE */:\n return -(smi >> 3);\n default:\n throw (0, _util.unreachable)();\n }\n }\n function decodeImmediate(immediate) {\n switch (immediate) {\n case 3 /* False */:\n return false;\n case 11 /* True */:\n return true;\n case 19 /* Null */:\n return null;\n case 27 /* Undef */:\n return undefined;\n default:\n return decodeSmi(immediate);\n }\n }\n\n var UpdatingVM = function () {\n function UpdatingVM(env, program, _ref56) {\n var _ref56$alwaysRevalida = _ref56.alwaysRevalidate,\n alwaysRevalidate = _ref56$alwaysRevalida === undefined ? false : _ref56$alwaysRevalida;\n\n\n this.frameStack = new _util.Stack();\n this.env = env;\n this.constants = program.constants;\n this.dom = env.getDOM();\n this.alwaysRevalidate = alwaysRevalidate;\n }\n\n UpdatingVM.prototype.execute = function (opcodes, handler) {\n var frameStack = this.frameStack,\n opcode;\n\n this.try(opcodes, handler);\n while (true) {\n if (frameStack.isEmpty()) break;\n opcode = this.frame.nextStatement();\n\n if (opcode === null) {\n this.frameStack.pop();\n continue;\n }\n opcode.evaluate(this);\n }\n };\n\n UpdatingVM.prototype.goto = function (op) {\n this.frame.goto(op);\n };\n\n UpdatingVM.prototype.try = function (ops, handler) {\n this.frameStack.push(new UpdatingVMFrame(ops, handler));\n };\n\n UpdatingVM.prototype.throw = function () {\n this.frame.handleException();\n this.frameStack.pop();\n };\n\n (0, _emberBabel.createClass)(UpdatingVM, [{\n key: 'frame',\n get: function () {\n return this.frameStack.current;\n }\n }]);\n return UpdatingVM;\n }();\n\n var BlockOpcode = function (_UpdatingOpcode9) {\n (0, _emberBabel.inherits)(BlockOpcode, _UpdatingOpcode9);\n\n function BlockOpcode(start, state, runtime, bounds$$1, children) {\n\n var _this28 = (0, _emberBabel.possibleConstructorReturn)(this, _UpdatingOpcode9.call(this));\n\n _this28.start = start;\n _this28.state = state;\n _this28.runtime = runtime;\n _this28.type = 'block';\n _this28.next = null;\n _this28.prev = null;\n _this28.children = children;\n _this28.bounds = bounds$$1;\n return _this28;\n }\n\n BlockOpcode.prototype.parentElement = function () {\n return this.bounds.parentElement();\n };\n\n BlockOpcode.prototype.firstNode = function () {\n return this.bounds.firstNode();\n };\n\n BlockOpcode.prototype.lastNode = function () {\n return this.bounds.lastNode();\n };\n\n BlockOpcode.prototype.evaluate = function (vm) {\n vm.try(this.children, null);\n };\n\n BlockOpcode.prototype.destroy = function () {\n this.bounds.destroy();\n };\n\n BlockOpcode.prototype.didDestroy = function () {\n this.runtime.env.didDestroy(this.bounds);\n };\n\n return BlockOpcode;\n }(UpdatingOpcode);\n\n var TryOpcode = function (_BlockOpcode) {\n (0, _emberBabel.inherits)(TryOpcode, _BlockOpcode);\n\n function TryOpcode(start, state, runtime, bounds$$1, children) {\n\n var _this29 = (0, _emberBabel.possibleConstructorReturn)(this, _BlockOpcode.call(this, start, state, runtime, bounds$$1, children));\n\n _this29.type = 'try';\n _this29.tag = _this29._tag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n return _this29;\n }\n\n TryOpcode.prototype.didInitializeChildren = function () {\n this._tag.inner.update((0, _reference.combineSlice)(this.children));\n };\n\n TryOpcode.prototype.evaluate = function (vm) {\n vm.try(this.children, this);\n };\n\n TryOpcode.prototype.handleException = function () {\n var _this30 = this;\n\n var state = this.state,\n bounds$$1 = this.bounds,\n children = this.children,\n start = this.start,\n prev = this.prev,\n next = this.next,\n runtime = this.runtime;\n\n children.clear();\n var elementStack = NewElementBuilder.resume(runtime.env, bounds$$1, bounds$$1.reset(runtime.env));\n var vm = VM.resume(state, runtime, elementStack);\n var updating = new _util.LinkedList();\n vm.execute(start, function (vm) {\n vm.stack = EvaluationStack.restore(state.stack);\n vm.updatingOpcodeStack.push(updating);\n vm.updateWith(_this30);\n vm.updatingOpcodeStack.push(children);\n });\n this.prev = prev;\n this.next = next;\n };\n\n return TryOpcode;\n }(BlockOpcode);\n\n var ListRevalidationDelegate = function () {\n function ListRevalidationDelegate(opcode, marker) {\n\n this.opcode = opcode;\n this.marker = marker;\n this.didInsert = false;\n this.didDelete = false;\n this.map = opcode.map;\n this.updating = opcode['children'];\n }\n\n ListRevalidationDelegate.prototype.insert = function (key, item, memo, before) {\n var map = this.map,\n opcode = this.opcode,\n updating = this.updating;\n\n var nextSibling = null;\n var reference = null;\n if (before) {\n reference = map[before];\n nextSibling = reference['bounds'].firstNode();\n } else {\n nextSibling = this.marker;\n }\n var vm = opcode.vmForInsertion(nextSibling);\n var tryOpcode = null;\n var start = opcode.start;\n\n vm.execute(start, function (vm) {\n map[key] = tryOpcode = vm.iterate(memo, item);\n vm.updatingOpcodeStack.push(new _util.LinkedList());\n vm.updateWith(tryOpcode);\n vm.updatingOpcodeStack.push(tryOpcode.children);\n });\n updating.insertBefore(tryOpcode, reference);\n this.didInsert = true;\n };\n\n ListRevalidationDelegate.prototype.retain = function () {};\n\n ListRevalidationDelegate.prototype.move = function (key, _item, _memo, before) {\n var map = this.map,\n updating = this.updating;\n\n var entry = map[key];\n var reference = map[before] || null;\n if (before) {\n _move(entry, reference.firstNode());\n } else {\n _move(entry, this.marker);\n }\n updating.remove(entry);\n updating.insertBefore(entry, reference);\n };\n\n ListRevalidationDelegate.prototype.delete = function (key) {\n var map = this.map;\n\n var opcode = map[key];\n opcode.didDestroy();\n clear(opcode);\n this.updating.remove(opcode);\n delete map[key];\n this.didDelete = true;\n };\n\n ListRevalidationDelegate.prototype.done = function () {\n this.opcode.didInitializeChildren(this.didInsert || this.didDelete);\n };\n\n return ListRevalidationDelegate;\n }();\n\n var ListBlockOpcode = function (_BlockOpcode2) {\n (0, _emberBabel.inherits)(ListBlockOpcode, _BlockOpcode2);\n\n function ListBlockOpcode(start, state, runtime, bounds$$1, children, artifacts) {\n\n var _this31 = (0, _emberBabel.possibleConstructorReturn)(this, _BlockOpcode2.call(this, start, state, runtime, bounds$$1, children));\n\n _this31.type = 'list-block';\n _this31.map = (0, _util.dict)();\n _this31.lastIterated = _reference.INITIAL;\n _this31.artifacts = artifacts;\n var _tag = _this31._tag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n _this31.tag = (0, _reference.combine)([artifacts.tag, _tag]);\n return _this31;\n }\n\n ListBlockOpcode.prototype.didInitializeChildren = function () {\n var listDidChange = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : true;\n\n this.lastIterated = this.artifacts.tag.value();\n if (listDidChange) {\n this._tag.inner.update((0, _reference.combineSlice)(this.children));\n }\n };\n\n ListBlockOpcode.prototype.evaluate = function (vm) {\n var artifacts = this.artifacts,\n lastIterated = this.lastIterated,\n bounds$$1,\n dom,\n marker,\n target,\n synchronizer;\n\n if (!artifacts.tag.validate(lastIterated)) {\n bounds$$1 = this.bounds;\n dom = vm.dom;\n marker = dom.createComment('');\n\n dom.insertAfter(bounds$$1.parentElement(), marker, bounds$$1.lastNode());\n target = new ListRevalidationDelegate(this, marker);\n synchronizer = new _reference.IteratorSynchronizer({ target: target, artifacts: artifacts });\n\n synchronizer.sync();\n this.parentElement().removeChild(marker);\n }\n // Run now-updated updating opcodes\n _BlockOpcode2.prototype.evaluate.call(this, vm);\n };\n\n ListBlockOpcode.prototype.vmForInsertion = function (nextSibling) {\n var bounds$$1 = this.bounds,\n state = this.state,\n runtime = this.runtime;\n\n var elementStack = NewElementBuilder.forInitialRender(runtime.env, {\n element: bounds$$1.parentElement(),\n nextSibling: nextSibling\n });\n return VM.resume(state, runtime, elementStack);\n };\n\n return ListBlockOpcode;\n }(BlockOpcode);\n\n var UpdatingVMFrame = function () {\n function UpdatingVMFrame(ops, exceptionHandler) {\n\n this.ops = ops;\n this.exceptionHandler = exceptionHandler;\n this.current = ops.head();\n }\n\n UpdatingVMFrame.prototype.goto = function (op) {\n this.current = op;\n };\n\n UpdatingVMFrame.prototype.nextStatement = function () {\n var current = this.current,\n ops = this.ops;\n\n if (current) this.current = ops.nextNode(current);\n return current;\n };\n\n UpdatingVMFrame.prototype.handleException = function () {\n if (this.exceptionHandler) {\n this.exceptionHandler.handleException();\n }\n };\n\n return UpdatingVMFrame;\n }();\n\n var RenderResult = function () {\n function RenderResult(env, program, updating, bounds$$1) {\n\n this.env = env;\n this.program = program;\n this.updating = updating;\n this.bounds = bounds$$1;\n }\n\n RenderResult.prototype.rerender = function () {\n var _ref57 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : { alwaysRevalidate: false },\n _ref57$alwaysRevalida = _ref57.alwaysRevalidate,\n alwaysRevalidate = _ref57$alwaysRevalida === undefined ? false : _ref57$alwaysRevalida;\n\n var env = this.env,\n program = this.program,\n updating = this.updating;\n\n var vm = new UpdatingVM(env, program, { alwaysRevalidate: alwaysRevalidate });\n vm.execute(updating, this);\n };\n\n RenderResult.prototype.parentElement = function () {\n return this.bounds.parentElement();\n };\n\n RenderResult.prototype.firstNode = function () {\n return this.bounds.firstNode();\n };\n\n RenderResult.prototype.lastNode = function () {\n return this.bounds.lastNode();\n };\n\n RenderResult.prototype.handleException = function () {\n throw 'this should never happen';\n };\n\n RenderResult.prototype.destroy = function () {\n this.bounds.destroy();\n clear(this.bounds);\n };\n\n return RenderResult;\n }();\n\n var Arguments = function () {\n function Arguments() {\n\n this.stack = null;\n this.positional = new PositionalArguments();\n this.named = new NamedArguments();\n this.blocks = new BlockArguments();\n }\n\n Arguments.prototype.empty = function (stack) {\n var base = stack.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 Arguments.prototype.setup = function (stack, names, blockNames, positionalCount, synthetic) {\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 var named = this.named;\n var namedCount = names.length;\n var namedBase = stack.sp - namedCount + 1;\n named.setup(stack, namedBase, namedCount, names, synthetic);\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\n blocks.setup(stack, positionalBase - blocksCount * 3, blocksCount, blockNames);\n };\n\n Arguments.prototype.at = function (pos) {\n return this.positional.at(pos);\n };\n\n Arguments.prototype.realloc = function (offset) {\n var stack = this.stack,\n positional,\n named,\n newBase,\n length,\n i;\n\n if (offset > 0 && stack !== null) {\n positional = this.positional, named = this.named;\n newBase = positional.base + offset;\n length = positional.length + named.length;\n\n for (i = length - 1; i >= 0; i--) {\n stack.copy(i + positional.base, i + newBase);\n }\n positional.base += offset;\n named.base += offset;\n stack.sp += offset;\n }\n };\n\n Arguments.prototype.capture = function () {\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 {\n tag: this.tag,\n length: this.length,\n positional: positional,\n named: named\n };\n };\n\n Arguments.prototype.clear = function () {\n var stack = this.stack,\n length = this.length;\n\n if (length > 0 && stack !== null) stack.pop(length);\n };\n\n (0, _emberBabel.createClass)(Arguments, [{\n key: 'tag',\n get: function () {\n return (0, _reference.combineTagged)([this.positional, this.named]);\n }\n }, {\n key: 'base',\n get: function () {\n return this.blocks.base;\n }\n }, {\n key: 'length',\n get: function () {\n return this.positional.length + this.named.length + this.blocks.length * 3;\n }\n }]);\n return Arguments;\n }();\n\n var PositionalArguments = function () {\n function PositionalArguments() {\n\n this.base = 0;\n this.length = 0;\n this.stack = null;\n this._tag = null;\n this._references = null;\n }\n\n PositionalArguments.prototype.empty = function (stack, base) {\n this.stack = stack;\n this.base = base;\n this.length = 0;\n this._tag = _reference.CONSTANT_TAG;\n this._references = _util.EMPTY_ARRAY;\n };\n\n PositionalArguments.prototype.setup = function (stack, base, length) {\n this.stack = stack;\n this.base = base;\n this.length = length;\n if (length === 0) {\n this._tag = _reference.CONSTANT_TAG;\n this._references = _util.EMPTY_ARRAY;\n } else {\n this._tag = null;\n this._references = null;\n }\n };\n\n PositionalArguments.prototype.at = function (position) {\n var base = this.base,\n length = this.length,\n stack = this.stack;\n\n if (position < 0 || position >= length) {\n return UNDEFINED_REFERENCE;\n }\n return stack.get(position, base);\n };\n\n PositionalArguments.prototype.capture = function () {\n return new CapturedPositionalArguments(this.tag, this.references);\n };\n\n PositionalArguments.prototype.prepend = function (other) {\n var additions = other.length,\n base,\n length,\n stack,\n i;\n if (additions > 0) {\n base = this.base, length = this.length, stack = this.stack;\n\n\n this.base = base = base - additions;\n this.length = length + additions;\n for (i = 0; i < additions; i++) {\n stack.set(other.at(i), i, base);\n }\n this._tag = null;\n this._references = null;\n }\n };\n\n (0, _emberBabel.createClass)(PositionalArguments, [{\n key: 'tag',\n get: function () {\n var tag = this._tag;\n if (!tag) {\n tag = this._tag = (0, _reference.combineTagged)(this.references);\n }\n return tag;\n }\n }, {\n key: 'references',\n get: function () {\n var references = this._references,\n stack,\n base,\n length;\n if (!references) {\n stack = this.stack, base = this.base, length = this.length;\n\n\n references = this._references = stack.sliceArray(base, base + length);\n }\n return references;\n }\n }]);\n return PositionalArguments;\n }();\n\n var CapturedPositionalArguments = function () {\n function CapturedPositionalArguments(tag, references) {\n var length = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : references.length;\n\n\n this.tag = tag;\n this.references = references;\n this.length = length;\n }\n\n CapturedPositionalArguments.empty = function () {\n return new CapturedPositionalArguments(_reference.CONSTANT_TAG, _util.EMPTY_ARRAY, 0);\n };\n\n CapturedPositionalArguments.prototype.at = function (position) {\n return this.references[position];\n };\n\n CapturedPositionalArguments.prototype.value = function () {\n return this.references.map(this.valueOf);\n };\n\n CapturedPositionalArguments.prototype.get = function (name) {\n var references = this.references,\n length = this.length,\n idx;\n\n if (name === 'length') {\n return PrimitiveReference.create(length);\n } else {\n 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 CapturedPositionalArguments.prototype.valueOf = function (reference) {\n return reference.value();\n };\n\n return CapturedPositionalArguments;\n }();\n\n var NamedArguments = function () {\n function NamedArguments() {\n\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 NamedArguments.prototype.empty = function (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 NamedArguments.prototype.setup = function (stack, base, length, names, synthetic) {\n this.stack = stack;\n this.base = base;\n this.length = length;\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 if (synthetic) {\n this._names = names;\n this._atNames = null;\n } else {\n this._names = null;\n this._atNames = names;\n }\n }\n };\n\n NamedArguments.prototype.has = function (name) {\n return this.names.indexOf(name) !== -1;\n };\n\n NamedArguments.prototype.get = function (name) {\n var synthetic = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n var base = this.base,\n stack = this.stack;\n\n var names = synthetic ? this.names : this.atNames;\n var idx = names.indexOf(name);\n if (idx === -1) {\n return UNDEFINED_REFERENCE;\n }\n return stack.get(idx, base);\n };\n\n NamedArguments.prototype.capture = function () {\n return new CapturedNamedArguments(this.tag, this.names, this.references);\n };\n\n NamedArguments.prototype.merge = function (other) {\n var extras = other.length,\n names,\n length,\n stack,\n extraNames,\n i,\n name,\n idx;\n\n if (extras > 0) {\n names = this.names, length = this.length, stack = this.stack;\n extraNames = other.names;\n\n\n if (Object.isFrozen(names) && names.length === 0) {\n names = [];\n }\n for (i = 0; i < extras; i++) {\n name = extraNames[i];\n idx = names.indexOf(name);\n\n if (idx === -1) {\n length = names.push(name);\n stack.push(other.references[i]);\n }\n }\n this.length = length;\n this._references = null;\n this._names = names;\n this._atNames = null;\n }\n };\n\n NamedArguments.prototype.toSyntheticName = function (name) {\n return name.slice(1);\n };\n\n NamedArguments.prototype.toAtName = function (name) {\n return '@' + name;\n };\n\n (0, _emberBabel.createClass)(NamedArguments, [{\n key: 'tag',\n get: function () {\n return (0, _reference.combineTagged)(this.references);\n }\n }, {\n key: 'names',\n get: function () {\n var names = this._names;\n if (!names) {\n names = this._names = this._atNames.map(this.toSyntheticName);\n }\n return names;\n }\n }, {\n key: 'atNames',\n get: function () {\n var atNames = this._atNames;\n if (!atNames) {\n atNames = this._atNames = this._names.map(this.toAtName);\n }\n return atNames;\n }\n }, {\n key: 'references',\n get: function () {\n var references = this._references,\n base,\n length,\n stack;\n if (!references) {\n base = this.base, length = this.length, stack = this.stack;\n\n\n references = this._references = stack.sliceArray(base, base + length);\n }\n return references;\n }\n }]);\n return NamedArguments;\n }();\n\n var CapturedNamedArguments = function () {\n function CapturedNamedArguments(tag, names, references) {\n\n this.tag = tag;\n this.names = names;\n this.references = references;\n this.length = names.length;\n this._map = null;\n }\n\n CapturedNamedArguments.prototype.has = function (name) {\n return this.names.indexOf(name) !== -1;\n };\n\n CapturedNamedArguments.prototype.get = function (name) {\n var names = this.names,\n references = this.references;\n\n var idx = names.indexOf(name);\n if (idx === -1) {\n return UNDEFINED_REFERENCE;\n } else {\n return references[idx];\n }\n };\n\n CapturedNamedArguments.prototype.value = function () {\n var names = this.names,\n references = this.references,\n i,\n name;\n\n var out = (0, _util.dict)();\n for (i = 0; i < names.length; i++) {\n name = names[i];\n\n out[name] = references[i].value();\n }\n return out;\n };\n\n (0, _emberBabel.createClass)(CapturedNamedArguments, [{\n key: 'map',\n get: function () {\n var map = this._map,\n names,\n references,\n i,\n name;\n if (!map) {\n names = this.names, references = this.references;\n\n\n map = this._map = (0, _util.dict)();\n for (i = 0; i < names.length; i++) {\n name = names[i];\n\n map[name] = references[i];\n }\n }\n return map;\n }\n }]);\n return CapturedNamedArguments;\n }();\n\n var BlockArguments = function () {\n function BlockArguments() {\n\n this.internalValues = null;\n this.internalTag = null;\n this.names = _util.EMPTY_ARRAY;\n this.length = 0;\n this.base = 0;\n }\n\n BlockArguments.prototype.empty = function (stack, base) {\n this.stack = stack;\n this.names = _util.EMPTY_ARRAY;\n this.base = base;\n this.length = 0;\n this.internalTag = _reference.CONSTANT_TAG;\n this.internalValues = _util.EMPTY_ARRAY;\n };\n\n BlockArguments.prototype.setup = function (stack, base, length, names) {\n this.stack = stack;\n this.names = names;\n this.base = base;\n this.length = length;\n if (length === 0) {\n this.internalTag = _reference.CONSTANT_TAG;\n this.internalValues = _util.EMPTY_ARRAY;\n } else {\n this.internalTag = null;\n this.internalValues = null;\n }\n };\n\n BlockArguments.prototype.has = function (name) {\n return this.names.indexOf(name) !== -1;\n };\n\n BlockArguments.prototype.get = function (name) {\n var base = this.base,\n stack = this.stack,\n names = this.names;\n\n var idx = names.indexOf(name);\n if (names.indexOf(name) === -1) {\n return null;\n }\n var table = stack.get(idx * 3, base);\n var scope = stack.get(idx * 3 + 1, base); // FIXME(mmun): shouldn't need to cast this\n var handle = stack.get(idx * 3 + 2, base);\n return handle === null ? null : [handle, scope, table];\n };\n\n BlockArguments.prototype.capture = function () {\n return new CapturedBlockArguments(this.names, this.values);\n };\n\n (0, _emberBabel.createClass)(BlockArguments, [{\n key: 'values',\n get: function () {\n var values = this.internalValues,\n base,\n length,\n stack;\n if (!values) {\n base = this.base, length = this.length, stack = this.stack;\n\n\n values = this.internalValues = stack.sliceArray(base, base + length * 3);\n }\n return values;\n }\n }]);\n return BlockArguments;\n }();\n\n var CapturedBlockArguments = function () {\n function CapturedBlockArguments(names, values) {\n\n this.names = names;\n this.values = values;\n this.length = names.length;\n }\n\n CapturedBlockArguments.prototype.has = function (name) {\n return this.names.indexOf(name) !== -1;\n };\n\n CapturedBlockArguments.prototype.get = function (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 return CapturedBlockArguments;\n }();\n\n var EMPTY_NAMED = new CapturedNamedArguments(_reference.CONSTANT_TAG, _util.EMPTY_ARRAY, _util.EMPTY_ARRAY);\n var EMPTY_POSITIONAL = new CapturedPositionalArguments(_reference.CONSTANT_TAG, _util.EMPTY_ARRAY);\n var EMPTY_ARGS = {\n tag: _reference.CONSTANT_TAG,\n length: 0,\n positional: EMPTY_POSITIONAL,\n named: EMPTY_NAMED\n };\n\n var VM = function () {\n function VM(runtime, scope, dynamicScope, elementStack) {\n var _this32 = this;\n\n this.runtime = runtime;\n this.elementStack = elementStack;\n this.dynamicScopeStack = new _util.Stack();\n this.scopeStack = new _util.Stack();\n this.updatingOpcodeStack = new _util.Stack();\n this.cacheGroups = new _util.Stack();\n this.listBlockStack = new _util.Stack();\n this.s0 = null;\n this.s1 = null;\n this.t0 = null;\n this.t1 = null;\n this.v0 = null;\n this.heap = this.program.heap;\n this.constants = this.program.constants;\n this.elementStack = elementStack;\n this.scopeStack.push(scope);\n this.dynamicScopeStack.push(dynamicScope);\n this.args = new Arguments();\n this.inner = new LowLevelVM(EvaluationStack.empty(), this.heap, runtime.program, {\n debugBefore: function (opcode) {\n return APPEND_OPCODES.debugBefore(_this32, opcode, opcode.type);\n },\n debugAfter: function (opcode, state) {\n APPEND_OPCODES.debugAfter(_this32, opcode, opcode.type, state);\n }\n });\n }\n\n VM.prototype.fetch = function (register) {\n this.stack.push(this[_vm2.Register[register]]);\n };\n\n VM.prototype.load = function (register) {\n this[_vm2.Register[register]] = this.stack.pop();\n };\n\n VM.prototype.fetchValue = function (register) {\n return this[_vm2.Register[register]];\n };\n\n VM.prototype.loadValue = function (register, value) {\n this[_vm2.Register[register]] = value;\n };\n\n VM.prototype.pushFrame = function () {\n this.inner.pushFrame();\n };\n\n VM.prototype.popFrame = function () {\n this.inner.popFrame();\n };\n\n VM.prototype.goto = function (offset) {\n this.inner.goto(offset);\n };\n\n VM.prototype.call = function (handle) {\n this.inner.call(handle);\n };\n\n VM.prototype.returnTo = function (offset) {\n this.inner.returnTo(offset);\n };\n\n VM.prototype.return = function () {\n this.inner.return();\n };\n\n VM.initial = function (program, env, self, dynamicScope, elementStack, handle) {\n var scopeSize = program.heap.scopesizeof(handle);\n var scope = Scope.root(self, scopeSize);\n var vm = new VM({ program: program, env: env }, scope, dynamicScope, elementStack);\n vm.pc = vm.heap.getaddr(handle);\n vm.updatingOpcodeStack.push(new _util.LinkedList());\n return vm;\n };\n\n VM.empty = function (program, env, elementStack) {\n var dynamicScope = {\n get: function () {\n return UNDEFINED_REFERENCE;\n },\n set: function () {\n return UNDEFINED_REFERENCE;\n },\n child: function () {\n return dynamicScope;\n }\n };\n var vm = new VM({ program: program, env: env }, Scope.root(UNDEFINED_REFERENCE, 0), dynamicScope, elementStack);\n vm.updatingOpcodeStack.push(new _util.LinkedList());\n return vm;\n };\n\n VM.resume = function (_ref58, runtime, stack) {\n var scope = _ref58.scope,\n dynamicScope = _ref58.dynamicScope;\n\n return new VM(runtime, scope, dynamicScope, stack);\n };\n\n VM.prototype.capture = function (args) {\n return {\n dynamicScope: this.dynamicScope(),\n scope: this.scope(),\n stack: this.stack.capture(args)\n };\n };\n\n VM.prototype.beginCacheGroup = function () {\n this.cacheGroups.push(this.updating().tail());\n };\n\n VM.prototype.commitCacheGroup = function () {\n // JumpIfNotModified(END)\n // (head)\n // (....)\n // (tail)\n // DidModify\n // END: Noop\n var END = new LabelOpcode('END');\n var opcodes = this.updating();\n var marker = this.cacheGroups.pop();\n var head = marker ? opcodes.nextNode(marker) : opcodes.head();\n var tail = opcodes.tail();\n var tag = (0, _reference.combineSlice)(new _util.ListSlice(head, tail));\n var guard = new JumpIfNotModifiedOpcode(tag, END);\n opcodes.insertBefore(guard, head);\n opcodes.append(new DidModifyOpcode(guard));\n opcodes.append(END);\n };\n\n VM.prototype.enter = function (args) {\n var updating = new _util.LinkedList();\n var state = this.capture(args);\n var tracker = this.elements().pushUpdatableBlock();\n var tryOpcode = new TryOpcode(this.heap.gethandle(this.pc), state, this.runtime, tracker, updating);\n this.didEnter(tryOpcode);\n };\n\n VM.prototype.iterate = function (memo, value) {\n var stack = this.stack;\n stack.push(value);\n stack.push(memo);\n var state = this.capture(2);\n var tracker = this.elements().pushUpdatableBlock();\n // let ip = this.ip;\n // this.ip = end + 4;\n // this.frames.push(ip);\n return new TryOpcode(this.heap.gethandle(this.pc), state, this.runtime, tracker, new _util.LinkedList());\n };\n\n VM.prototype.enterItem = function (key, opcode) {\n this.listBlock().map[key] = opcode;\n this.didEnter(opcode);\n };\n\n VM.prototype.enterList = function (relativeStart) {\n var updating = new _util.LinkedList();\n var state = this.capture(0);\n var tracker = this.elements().pushBlockList(updating);\n var artifacts = this.stack.peek().artifacts;\n var addr = this.pc + relativeStart - this.currentOpSize;\n var start = this.heap.gethandle(addr);\n var opcode = new ListBlockOpcode(start, state, this.runtime, tracker, updating, artifacts);\n this.listBlockStack.push(opcode);\n this.didEnter(opcode);\n };\n\n VM.prototype.didEnter = function (opcode) {\n this.updateWith(opcode);\n this.updatingOpcodeStack.push(opcode.children);\n };\n\n VM.prototype.exit = function () {\n this.elements().popBlock();\n this.updatingOpcodeStack.pop();\n var parent = this.updating().tail();\n parent.didInitializeChildren();\n };\n\n VM.prototype.exitList = function () {\n this.exit();\n this.listBlockStack.pop();\n };\n\n VM.prototype.updateWith = function (opcode) {\n this.updating().append(opcode);\n };\n\n VM.prototype.listBlock = function () {\n return this.listBlockStack.current;\n };\n\n VM.prototype.updating = function () {\n return this.updatingOpcodeStack.current;\n };\n\n VM.prototype.elements = function () {\n return this.elementStack;\n };\n\n VM.prototype.scope = function () {\n return this.scopeStack.current;\n };\n\n VM.prototype.dynamicScope = function () {\n return this.dynamicScopeStack.current;\n };\n\n VM.prototype.pushChildScope = function () {\n this.scopeStack.push(this.scope().child());\n };\n\n VM.prototype.pushDynamicScope = function () {\n var child = this.dynamicScope().child();\n this.dynamicScopeStack.push(child);\n return child;\n };\n\n VM.prototype.pushRootScope = function (size, bindCaller) {\n var scope = Scope.sized(size);\n if (bindCaller) scope.bindCallerScope(this.scope());\n this.scopeStack.push(scope);\n return scope;\n };\n\n VM.prototype.pushScope = function (scope) {\n this.scopeStack.push(scope);\n };\n\n VM.prototype.popScope = function () {\n this.scopeStack.pop();\n };\n\n VM.prototype.popDynamicScope = function () {\n this.dynamicScopeStack.pop();\n };\n\n VM.prototype.newDestroyable = function (d) {\n this.elements().didAddDestroyable(d);\n };\n\n VM.prototype.getSelf = function () {\n return this.scope().getSelf();\n };\n\n VM.prototype.referenceForSymbol = function (symbol) {\n return this.scope().getSymbol(symbol);\n };\n\n VM.prototype.execute = function (start, initialize) {\n this.pc = this.heap.getaddr(start);\n if (initialize) initialize(this);\n var result = void 0;\n while (true) {\n result = this.next();\n if (result.done) break;\n }\n return result.value;\n };\n\n VM.prototype.next = function () {\n var env = this.env,\n program = this.program,\n updatingOpcodeStack = this.updatingOpcodeStack,\n elementStack = this.elementStack;\n\n var opcode = this.inner.nextStatement();\n var result = void 0;\n if (opcode !== null) {\n this.inner.evaluateOuter(opcode, this);\n result = { done: false, value: null };\n } else {\n // Unload the stack\n this.stack.reset();\n result = {\n done: true,\n value: new RenderResult(env, program, updatingOpcodeStack.pop(), elementStack.popBlock())\n };\n }\n return result;\n };\n\n VM.prototype.bindDynamicScope = function (names) {\n var scope = this.dynamicScope(),\n i,\n name;\n for (i = names.length - 1; i >= 0; i--) {\n name = this.constants.getString(names[i]);\n\n scope.set(name, this.stack.pop());\n }\n };\n\n (0, _emberBabel.createClass)(VM, [{\n key: 'stack',\n get: function () {\n return this.inner.stack;\n },\n set: function (value) {\n this.inner.stack = value;\n }\n }, {\n key: 'currentOpSize',\n set: function (value) {\n this.inner.currentOpSize = value;\n },\n get: function () {\n return this.inner.currentOpSize;\n }\n }, {\n key: 'pc',\n get: function () {\n return this.inner.pc;\n },\n set: function (value) {\n\n this.inner.pc = value;\n }\n }, {\n key: 'ra',\n get: function () {\n return this.inner.ra;\n },\n set: function (value) {\n this.inner.ra = value;\n }\n }, {\n key: 'fp',\n get: function () {\n return this.stack.fp;\n },\n set: function (fp) {\n this.stack.fp = fp;\n }\n }, {\n key: 'sp',\n get: function () {\n return this.stack.sp;\n },\n set: function (sp) {\n this.stack.sp = sp;\n }\n }, {\n key: 'program',\n get: function () {\n return this.runtime.program;\n }\n }, {\n key: 'env',\n get: function () {\n return this.runtime.env;\n }\n }]);\n return VM;\n }();\n\n var TemplateIteratorImpl = function () {\n function TemplateIteratorImpl(vm) {\n\n this.vm = vm;\n }\n\n TemplateIteratorImpl.prototype.next = function () {\n return this.vm.next();\n };\n\n return TemplateIteratorImpl;\n }();\n\n var DynamicVarReference = function () {\n function DynamicVarReference(scope, nameRef) {\n\n this.scope = scope;\n this.nameRef = nameRef;\n var varTag = this.varTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([nameRef.tag, varTag]);\n }\n\n DynamicVarReference.prototype.value = function () {\n return this.getVar().value();\n };\n\n DynamicVarReference.prototype.get = function (key) {\n return this.getVar().get(key);\n };\n\n DynamicVarReference.prototype.getVar = function () {\n var name = String(this.nameRef.value());\n var ref = this.scope.get(name);\n this.varTag.inner.update(ref.tag);\n return ref;\n };\n\n return DynamicVarReference;\n }();\n\n /** @internal */\n\n\n var RehydratingCursor = function (_Cursor) {\n (0, _emberBabel.inherits)(RehydratingCursor, _Cursor);\n\n function RehydratingCursor(element, nextSibling, startingBlockDepth) {\n\n var _this33 = (0, _emberBabel.possibleConstructorReturn)(this, _Cursor.call(this, element, nextSibling));\n\n _this33.startingBlockDepth = startingBlockDepth;\n _this33.candidate = null;\n _this33.injectedOmittedNode = false;\n _this33.openBlockDepth = startingBlockDepth - 1;\n return _this33;\n }\n\n return RehydratingCursor;\n }(Cursor);\n\n var RehydrateBuilder = function (_NewElementBuilder) {\n (0, _emberBabel.inherits)(RehydrateBuilder, _NewElementBuilder);\n\n // private candidate: Option<Simple.Node> = null;\n function RehydrateBuilder(env, parentNode, nextSibling) {\n\n var _this34 = (0, _emberBabel.possibleConstructorReturn)(this, _NewElementBuilder.call(this, env, parentNode, nextSibling));\n\n _this34.unmatchedAttributes = null;\n _this34.blockDepth = 0;\n if (nextSibling) throw new Error('Rehydration with nextSibling not supported');\n var node = _this34.currentCursor.element.firstChild;\n while (node !== null) {\n if (isComment(node) && (0, _util.isSerializationFirstNode)(node)) {\n break;\n }\n node = node.nextSibling;\n }\n\n _this34.candidate = node;\n return _this34;\n }\n\n RehydrateBuilder.prototype.pushElement = function (element, nextSibling) {\n var _blockDepth = this.blockDepth,\n blockDepth = _blockDepth === undefined ? 0 : _blockDepth;\n\n var cursor = new RehydratingCursor(element, nextSibling, blockDepth);\n var currentCursor = this.currentCursor;\n if (currentCursor) {\n if (currentCursor.candidate) {\n /**\n * <div> <--------------- currentCursor.element\n * <!--%+b:1%-->\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 // where to rehydrate from if we are in rehydration mode\n cursor.candidate = element.firstChild;\n // where to continue when we pop\n currentCursor.candidate = element.nextSibling;\n }\n }\n this.cursorStack.push(cursor);\n };\n\n RehydrateBuilder.prototype.clearMismatch = function (candidate) {\n var current = candidate,\n openBlockDepth;\n var currentCursor = this.currentCursor;\n if (currentCursor !== null) {\n openBlockDepth = currentCursor.openBlockDepth;\n\n if (openBlockDepth >= currentCursor.startingBlockDepth) {\n while (current && !(isComment(current) && getCloseBlockDepth(current) === openBlockDepth)) {\n current = this.remove(current);\n }\n } else {\n while (current !== null) {\n current = this.remove(current);\n }\n }\n // current cursor parentNode should be openCandidate if element\n // or openCandidate.parentNode if comment\n currentCursor.nextSibling = current;\n // disable rehydration until we popElement or closeBlock for openBlockDepth\n currentCursor.candidate = null;\n }\n };\n\n RehydrateBuilder.prototype.__openBlock = function () {\n var currentCursor = this.currentCursor;\n\n if (currentCursor === null) return;\n var blockDepth = this.blockDepth;\n this.blockDepth++;\n var candidate = currentCursor.candidate;\n\n if (candidate === null) return;\n if (isComment(candidate) && getOpenBlockDepth(candidate) === blockDepth) {\n currentCursor.candidate = this.remove(candidate);\n currentCursor.openBlockDepth = blockDepth;\n } else {\n this.clearMismatch(candidate);\n }\n };\n\n RehydrateBuilder.prototype.__closeBlock = function () {\n var currentCursor = this.currentCursor;\n\n if (currentCursor === null) return;\n // openBlock is the last rehydrated open block\n var openBlockDepth = currentCursor.openBlockDepth;\n // this currently is the expected next open block depth\n this.blockDepth--;\n var candidate = currentCursor.candidate;\n\n // rehydrating\n if (candidate !== null) {\n\n if (isComment(candidate) && getCloseBlockDepth(candidate) === openBlockDepth) {\n currentCursor.candidate = this.remove(candidate);\n currentCursor.openBlockDepth--;\n } else {\n this.clearMismatch(candidate);\n }\n // if the openBlockDepth matches the blockDepth we just closed to\n // then restore rehydration\n }\n if (currentCursor.openBlockDepth === this.blockDepth) {\n\n currentCursor.candidate = this.remove(currentCursor.nextSibling);\n currentCursor.openBlockDepth--;\n }\n };\n\n RehydrateBuilder.prototype.__appendNode = function (node) {\n var candidate = this.candidate;\n\n // 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 if (candidate) {\n return candidate;\n } else {\n return _NewElementBuilder.prototype.__appendNode.call(this, node);\n }\n };\n\n RehydrateBuilder.prototype.__appendHTML = function (html) {\n var candidateBounds = this.markerBounds(),\n first,\n last,\n newBounds,\n possibleEmptyMarker;\n if (candidateBounds) {\n first = candidateBounds.firstNode();\n last = candidateBounds.lastNode();\n newBounds = bounds(this.element, first.nextSibling, last.previousSibling);\n possibleEmptyMarker = this.remove(first);\n\n this.remove(last);\n if (possibleEmptyMarker !== null && isEmpty$1(possibleEmptyMarker)) {\n this.candidate = this.remove(possibleEmptyMarker);\n if (this.candidate !== null) {\n this.clearMismatch(this.candidate);\n }\n }\n return newBounds;\n } else {\n return _NewElementBuilder.prototype.__appendHTML.call(this, html);\n }\n };\n\n RehydrateBuilder.prototype.remove = function (node) {\n var element = node.parentNode;\n var next = node.nextSibling;\n element.removeChild(node);\n return next;\n };\n\n RehydrateBuilder.prototype.markerBounds = function () {\n var _candidate = this.candidate,\n first,\n last;\n if (_candidate && isMarker(_candidate)) {\n first = _candidate;\n last = first.nextSibling;\n\n while (last && !isMarker(last)) {\n last = last.nextSibling;\n }\n return bounds(this.element, first, last);\n } else {\n return null;\n }\n };\n\n RehydrateBuilder.prototype.__appendText = function (string) {\n var candidate = this.candidate,\n next,\n text;\n\n if (candidate) {\n if (isTextNode(candidate)) {\n if (candidate.nodeValue !== string) {\n candidate.nodeValue = string;\n }\n this.candidate = candidate.nextSibling;\n return candidate;\n } else if (candidate && (isSeparator(candidate) || isEmpty$1(candidate))) {\n this.candidate = candidate.nextSibling;\n this.remove(candidate);\n return this.__appendText(string);\n } else if (isEmpty$1(candidate)) {\n next = this.remove(candidate);\n\n this.candidate = next;\n text = this.dom.createTextNode(string);\n\n this.dom.insertBefore(this.element, text, next);\n return text;\n } else {\n this.clearMismatch(candidate);\n return _NewElementBuilder.prototype.__appendText.call(this, string);\n }\n } else {\n return _NewElementBuilder.prototype.__appendText.call(this, string);\n }\n };\n\n RehydrateBuilder.prototype.__appendComment = function (string) {\n var _candidate = this.candidate;\n if (_candidate && isComment(_candidate)) {\n if (_candidate.nodeValue !== string) {\n _candidate.nodeValue = string;\n }\n this.candidate = _candidate.nextSibling;\n return _candidate;\n } else if (_candidate) {\n this.clearMismatch(_candidate);\n }\n return _NewElementBuilder.prototype.__appendComment.call(this, string);\n };\n\n RehydrateBuilder.prototype.__openElement = function (tag) {\n var _candidate = this.candidate;\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 this.clearMismatch(_candidate);\n }\n return _NewElementBuilder.prototype.__openElement.call(this, tag);\n };\n\n RehydrateBuilder.prototype.__setAttribute = function (name, value, namespace) {\n var unmatched = this.unmatchedAttributes,\n attr;\n if (unmatched) {\n attr = findByName(unmatched, name);\n\n if (attr) {\n if (attr.value !== value) {\n attr.value = value;\n }\n unmatched.splice(unmatched.indexOf(attr), 1);\n return;\n }\n }\n return _NewElementBuilder.prototype.__setAttribute.call(this, name, value, namespace);\n };\n\n RehydrateBuilder.prototype.__setProperty = function (name, value) {\n var unmatched = this.unmatchedAttributes,\n attr;\n if (unmatched) {\n attr = findByName(unmatched, name);\n\n if (attr) {\n if (attr.value !== value) {\n attr.value = value;\n }\n unmatched.splice(unmatched.indexOf(attr), 1);\n return;\n }\n }\n return _NewElementBuilder.prototype.__setProperty.call(this, name, value);\n };\n\n RehydrateBuilder.prototype.__flushElement = function (parent, constructing) {\n var unmatched = this.unmatchedAttributes,\n i;\n\n if (unmatched) {\n for (i = 0; i < unmatched.length; i++) {\n this.constructing.removeAttribute(unmatched[i].name);\n }\n this.unmatchedAttributes = null;\n } else {\n _NewElementBuilder.prototype.__flushElement.call(this, parent, constructing);\n }\n };\n\n RehydrateBuilder.prototype.willCloseElement = function () {\n var candidate = this.candidate,\n currentCursor = this.currentCursor;\n\n if (candidate !== null) {\n this.clearMismatch(candidate);\n }\n if (currentCursor && currentCursor.injectedOmittedNode) {\n this.popElement();\n }\n _NewElementBuilder.prototype.willCloseElement.call(this);\n };\n\n RehydrateBuilder.prototype.getMarker = function (element, guid) {\n var marker = element.querySelector('script[glmr=\"' + guid + '\"]');\n if (marker) {\n return marker;\n }\n throw new Error('Cannot find serialized cursor for `in-element`');\n };\n\n RehydrateBuilder.prototype.__pushRemoteElement = function (element, cursorId) {\n var nextSibling = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null,\n currentCursor,\n candidate,\n tracker;\n\n var marker = this.getMarker(element, cursorId);\n if (marker.parentNode === element) {\n currentCursor = this.currentCursor;\n candidate = currentCursor.candidate;\n\n this.pushElement(element, nextSibling);\n currentCursor.candidate = candidate;\n this.candidate = this.remove(marker);\n tracker = new RemoteBlockTracker(element);\n\n this.pushBlockTracker(tracker, true);\n }\n };\n\n RehydrateBuilder.prototype.didAppendBounds = function (bounds$$1) {\n var last;\n\n _NewElementBuilder.prototype.didAppendBounds.call(this, bounds$$1);\n if (this.candidate) {\n last = bounds$$1.lastNode();\n\n this.candidate = last && last.nextSibling;\n }\n return bounds$$1;\n };\n\n (0, _emberBabel.createClass)(RehydrateBuilder, [{\n key: 'currentCursor',\n get: function () {\n return this.cursorStack.current;\n }\n }, {\n key: 'candidate',\n get: function () {\n if (this.currentCursor) {\n return this.currentCursor.candidate;\n }\n return null;\n },\n set: function (node) {\n this.currentCursor.candidate = node;\n }\n }]);\n return RehydrateBuilder;\n }(NewElementBuilder);\n\n function isTextNode(node) {\n return node.nodeType === 3;\n }\n function isComment(node) {\n return node.nodeType === 8;\n }\n function getOpenBlockDepth(node) {\n var boundsDepth = node.nodeValue.match(/^%\\+b:(\\d+)%$/);\n if (boundsDepth && boundsDepth[1]) {\n return Number(boundsDepth[1]);\n } else {\n return null;\n }\n }\n function getCloseBlockDepth(node) {\n var boundsDepth = node.nodeValue.match(/^%\\-b:(\\d+)%$/);\n if (boundsDepth && boundsDepth[1]) {\n return Number(boundsDepth[1]);\n } else {\n return null;\n }\n }\n function isElement(node) {\n return node.nodeType === 1;\n }\n function isMarker(node) {\n return node.nodeType === 8 && node.nodeValue === '%glmr%';\n }\n function isSeparator(node) {\n return node.nodeType === 8 && node.nodeValue === '%|%';\n }\n function isEmpty$1(node) {\n return node.nodeType === 8 && node.nodeValue === '% %';\n }\n function isSameNodeType(candidate, tag) {\n if (candidate.namespaceURI === SVG_NAMESPACE$1) {\n return candidate.tagName === tag;\n }\n return candidate.tagName === tag.toUpperCase();\n }\n function findByName(array, name) {\n var i, attr;\n\n for (i = 0; i < array.length; i++) {\n attr = array[i];\n\n if (attr.name === name) return attr;\n }\n return undefined;\n }\n\n\n exports.renderMain = function (program, env, self, dynamicScope, builder, handle) {\n var vm = VM.initial(program, env, self, dynamicScope, builder, handle);\n return new TemplateIteratorImpl(vm);\n };\n exports.NULL_REFERENCE = NULL_REFERENCE;\n exports.UNDEFINED_REFERENCE = UNDEFINED_REFERENCE;\n exports.PrimitiveReference = PrimitiveReference;\n exports.ConditionalReference = ConditionalReference;\n exports.setDebuggerCallback = function (cb) {\n callback = cb;\n };\n exports.resetDebuggerCallback = function () {\n callback = debugCallback;\n };\n exports.getDynamicVar = function (vm, args) {\n var scope = vm.dynamicScope();\n var nameRef = args.positional.at(0);\n return new DynamicVarReference(scope, nameRef);\n };\n exports.LowLevelVM = VM;\n exports.UpdatingVM = UpdatingVM;\n exports.RenderResult = RenderResult;\n exports.SimpleDynamicAttribute = SimpleDynamicAttribute;\n exports.DynamicAttribute = DynamicAttribute;\n exports.EMPTY_ARGS = EMPTY_ARGS;\n exports.Scope = Scope;\n exports.Environment = Environment;\n exports.DefaultEnvironment = DefaultEnvironment;\n exports.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 };\n exports.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 };\n exports.CurriedComponentDefinition = CurriedComponentDefinition;\n exports.isCurriedComponentDefinition = isCurriedComponentDefinition;\n exports.curry = function (spec) {\n var args = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n return new CurriedComponentDefinition(spec, args);\n };\n exports.DOMChanges = helper$1;\n exports.SVG_NAMESPACE = SVG_NAMESPACE$1;\n exports.IDOMChanges = DOMChanges;\n exports.DOMTreeConstruction = DOMTreeConstruction;\n exports.isWhitespace = function (string) {\n return WHITESPACE.test(string);\n };\n exports.insertHTMLBefore = _insertHTMLBefore;\n exports.normalizeProperty = normalizeProperty;\n exports.NewElementBuilder = NewElementBuilder;\n exports.clientBuilder = function (env, cursor) {\n return NewElementBuilder.forInitialRender(env, cursor);\n };\n exports.rehydrationBuilder = function (env, cursor) {\n return RehydrateBuilder.forInitialRender(env, cursor);\n };\n exports.RehydrateBuilder = RehydrateBuilder;\n exports.ConcreteBounds = ConcreteBounds;\n exports.Cursor = Cursor;\n exports.capabilityFlagsFrom = capabilityFlagsFrom;\n exports.hasCapability = hasCapability;\n});","enifed('@glimmer/util', ['exports', 'ember-babel'], function (exports, _emberBabel) {\n 'use strict';\n\n exports.unreachable = exports.expect = exports.unwrap = exports.EMPTY_ARRAY = exports.ListSlice = exports.ListNode = exports.LinkedList = exports.EMPTY_SLICE = exports.dict = exports.DictSet = exports.Stack = exports.SERIALIZATION_FIRST_NODE_STRING = exports.isSerializationFirstNode = exports.initializeGuid = exports.ensureGuid = exports.fillNulls = exports.assign = exports.assert = undefined;\n\n // import Logger from './logger';\n // let alreadyWarned = false;\n\n\n var objKeys = Object.keys;\n\n var GUID = 0;\n function initializeGuid(object) {\n return object._guid = ++GUID;\n }\n function ensureGuid(object) {\n return object._guid || initializeGuid(object);\n }\n\n var SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n\n\n function dict() {\n return Object.create(null);\n }\n\n var DictSet = function () {\n function DictSet() {\n\n this.dict = dict();\n }\n\n DictSet.prototype.add = function (obj) {\n if (typeof obj === 'string') this.dict[obj] = obj;else this.dict[ensureGuid(obj)] = obj;\n return this;\n };\n\n DictSet.prototype.delete = function (obj) {\n if (typeof obj === 'string') delete this.dict[obj];else if (obj._guid) delete this.dict[obj._guid];\n };\n\n return DictSet;\n }();\n\n var Stack = function () {\n function Stack() {\n\n this.stack = [];\n this.current = null;\n }\n\n Stack.prototype.push = function (item) {\n this.current = item;\n this.stack.push(item);\n };\n\n Stack.prototype.pop = function () {\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 Stack.prototype.isEmpty = function () {\n return this.stack.length === 0;\n };\n\n (0, _emberBabel.createClass)(Stack, [{\n key: 'size',\n get: function () {\n return this.stack.length;\n }\n }]);\n return Stack;\n }();\n\n var LinkedList = function () {\n function LinkedList() {\n\n this.clear();\n }\n\n LinkedList.prototype.head = function () {\n return this._head;\n };\n\n LinkedList.prototype.tail = function () {\n return this._tail;\n };\n\n LinkedList.prototype.clear = function () {\n this._head = this._tail = null;\n };\n\n LinkedList.prototype.toArray = function () {\n var out = [];\n this.forEachNode(function (n) {\n return out.push(n);\n });\n return out;\n };\n\n LinkedList.prototype.nextNode = function (node) {\n return node.next;\n };\n\n LinkedList.prototype.forEachNode = function (callback) {\n var node = this._head;\n while (node !== null) {\n callback(node);\n node = node.next;\n }\n };\n\n LinkedList.prototype.insertBefore = function (node) {\n var reference = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n\n if (reference === null) return this.append(node);\n if (reference.prev) reference.prev.next = node;else this._head = node;\n node.prev = reference.prev;\n node.next = reference;\n reference.prev = node;\n return node;\n };\n\n LinkedList.prototype.append = function (node) {\n var tail = this._tail;\n if (tail) {\n tail.next = node;\n node.prev = tail;\n node.next = null;\n } else {\n this._head = node;\n }\n return this._tail = node;\n };\n\n LinkedList.prototype.remove = function (node) {\n if (node.prev) node.prev.next = node.next;else this._head = node.next;\n if (node.next) node.next.prev = node.prev;else this._tail = node.prev;\n return node;\n };\n\n return LinkedList;\n }();\n\n var ListSlice = function () {\n function ListSlice(head, tail) {\n\n this._head = head;\n this._tail = tail;\n }\n\n ListSlice.prototype.forEachNode = function (callback) {\n var node = this._head;\n while (node !== null) {\n callback(node);\n node = this.nextNode(node);\n }\n };\n\n ListSlice.prototype.head = function () {\n return this._head;\n };\n\n ListSlice.prototype.tail = function () {\n return this._tail;\n };\n\n ListSlice.prototype.toArray = function () {\n var out = [];\n this.forEachNode(function (n) {\n return out.push(n);\n });\n return out;\n };\n\n ListSlice.prototype.nextNode = function (node) {\n if (node === this._tail) return null;\n return node.next;\n };\n\n return ListSlice;\n }();\n\n var EMPTY_SLICE = new ListSlice(null, null);\n\n var EMPTY_ARRAY = Object.freeze([]);\n\n exports.assert = function (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 exports.assign = function (obj) {\n var i, assignment, keys, j, key;\n\n for (i = 1; i < arguments.length; i++) {\n assignment = arguments[i];\n\n if (assignment === null || typeof assignment !== 'object') continue;\n keys = objKeys(assignment);\n\n for (j = 0; j < keys.length; j++) {\n key = keys[j];\n\n obj[key] = assignment[key];\n }\n }\n return obj;\n };\n exports.fillNulls = function (count) {\n var arr = new Array(count),\n i;\n for (i = 0; i < count; i++) {\n arr[i] = null;\n }\n return arr;\n };\n exports.ensureGuid = ensureGuid;\n exports.initializeGuid = initializeGuid;\n exports.isSerializationFirstNode = function (node) {\n return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n };\n exports.SERIALIZATION_FIRST_NODE_STRING = SERIALIZATION_FIRST_NODE_STRING;\n exports.Stack = Stack;\n exports.DictSet = DictSet;\n exports.dict = dict;\n exports.EMPTY_SLICE = EMPTY_SLICE;\n exports.LinkedList = LinkedList;\n exports.ListNode = function (value) {\n\n this.next = null;\n this.prev = null;\n this.value = value;\n };\n exports.ListSlice = ListSlice;\n exports.EMPTY_ARRAY = EMPTY_ARRAY;\n exports.unwrap = function (val) {\n if (val === null || val === undefined) throw new Error('Expected value to be present');\n return val;\n };\n exports.expect = function (val, message) {\n if (val === null || val === undefined) throw new Error(message);\n return val;\n };\n exports.unreachable = function () {\n var message = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 'unreachable';\n\n return new Error(message);\n };\n});","enifed(\"@glimmer/vm\", [\"exports\"], function (exports) {\n \"use strict\";\n\n /**\n * Registers\n *\n * For the most part, these follows MIPS naming conventions, however the\n * register numbers are different.\n */\n\n var Register;\n (function (Register) {\n // $0 or $pc (program counter): pointer into `program` for the next insturction; -1 means exit\n Register[Register[\"pc\"] = 0] = \"pc\";\n // $1 or $ra (return address): pointer into `program` for the return\n Register[Register[\"ra\"] = 1] = \"ra\";\n // $2 or $fp (frame pointer): pointer into the `evalStack` for the base of the stack\n Register[Register[\"fp\"] = 2] = \"fp\";\n // $3 or $sp (stack pointer): pointer into the `evalStack` for the top of the stack\n Register[Register[\"sp\"] = 3] = \"sp\";\n // $4-$5 or $s0-$s1 (saved): callee saved general-purpose registers\n Register[Register[\"s0\"] = 4] = \"s0\";\n Register[Register[\"s1\"] = 5] = \"s1\";\n // $6-$7 or $t0-$t1 (temporaries): caller saved general-purpose registers\n Register[Register[\"t0\"] = 6] = \"t0\";\n Register[Register[\"t1\"] = 7] = \"t1\";\n // $8 or $v0 (return value)\n Register[Register[\"v0\"] = 8] = \"v0\";\n })(Register || (exports.Register = Register = {}));\n\n exports.Register = Register;\n});","enifed(\"@glimmer/wire-format\", [\"exports\"], function (exports) {\n \"use strict\";\n\n var Opcodes;\n (function (Opcodes) {\n // Statements\n Opcodes[Opcodes[\"Text\"] = 0] = \"Text\";\n Opcodes[Opcodes[\"Append\"] = 1] = \"Append\";\n Opcodes[Opcodes[\"Comment\"] = 2] = \"Comment\";\n Opcodes[Opcodes[\"Modifier\"] = 3] = \"Modifier\";\n Opcodes[Opcodes[\"Block\"] = 4] = \"Block\";\n Opcodes[Opcodes[\"Component\"] = 5] = \"Component\";\n Opcodes[Opcodes[\"DynamicComponent\"] = 6] = \"DynamicComponent\";\n Opcodes[Opcodes[\"OpenElement\"] = 7] = \"OpenElement\";\n Opcodes[Opcodes[\"OpenSplattedElement\"] = 8] = \"OpenSplattedElement\";\n Opcodes[Opcodes[\"FlushElement\"] = 9] = \"FlushElement\";\n Opcodes[Opcodes[\"CloseElement\"] = 10] = \"CloseElement\";\n Opcodes[Opcodes[\"StaticAttr\"] = 11] = \"StaticAttr\";\n Opcodes[Opcodes[\"DynamicAttr\"] = 12] = \"DynamicAttr\";\n Opcodes[Opcodes[\"AttrSplat\"] = 13] = \"AttrSplat\";\n Opcodes[Opcodes[\"Yield\"] = 14] = \"Yield\";\n Opcodes[Opcodes[\"Partial\"] = 15] = \"Partial\";\n Opcodes[Opcodes[\"DynamicArg\"] = 16] = \"DynamicArg\";\n Opcodes[Opcodes[\"StaticArg\"] = 17] = \"StaticArg\";\n Opcodes[Opcodes[\"TrustingAttr\"] = 18] = \"TrustingAttr\";\n Opcodes[Opcodes[\"Debugger\"] = 19] = \"Debugger\";\n Opcodes[Opcodes[\"ClientSideStatement\"] = 20] = \"ClientSideStatement\";\n // Expressions\n Opcodes[Opcodes[\"Unknown\"] = 21] = \"Unknown\";\n Opcodes[Opcodes[\"Get\"] = 22] = \"Get\";\n Opcodes[Opcodes[\"MaybeLocal\"] = 23] = \"MaybeLocal\";\n Opcodes[Opcodes[\"HasBlock\"] = 24] = \"HasBlock\";\n Opcodes[Opcodes[\"HasBlockParams\"] = 25] = \"HasBlockParams\";\n Opcodes[Opcodes[\"Undefined\"] = 26] = \"Undefined\";\n Opcodes[Opcodes[\"Helper\"] = 27] = \"Helper\";\n Opcodes[Opcodes[\"Concat\"] = 28] = \"Concat\";\n Opcodes[Opcodes[\"ClientSideExpression\"] = 29] = \"ClientSideExpression\";\n })(Opcodes || (exports.Ops = Opcodes = {}));\n\n function is(variant) {\n return function (value) {\n return Array.isArray(value) && value[0] === variant;\n };\n }\n // Statements\n var isModifier = is(Opcodes.Modifier);\n var isFlushElement = is(Opcodes.FlushElement);\n var isAttrSplat = is(Opcodes.AttrSplat);\n function isAttribute(val) {\n return val[0] === Opcodes.StaticAttr || val[0] === Opcodes.DynamicAttr || val[0] === Opcodes.TrustingAttr;\n }\n function isArgument(val) {\n return val[0] === Opcodes.StaticArg || val[0] === Opcodes.DynamicArg;\n }\n // Expressions\n var isGet = is(Opcodes.Get);\n var isMaybeLocal = is(Opcodes.MaybeLocal);\n\n exports.is = is;\n exports.isModifier = isModifier;\n exports.isFlushElement = isFlushElement;\n exports.isAttrSplat = isAttrSplat;\n exports.isAttribute = isAttribute;\n exports.isArgument = isArgument;\n exports.isGet = isGet;\n exports.isMaybeLocal = isMaybeLocal;\n exports.Ops = Opcodes;\n});","enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel) {\n 'use strict';\n\n exports.buildPlatform = undefined;\n var SET_TIMEOUT = setTimeout;\n var NOOP = function () {};\n function buildPlatform(flush) {\n var next = void 0,\n iterations,\n observer,\n node,\n autorunPromise;\n\n if (typeof MutationObserver === 'function') {\n iterations = 0;\n observer = new MutationObserver(flush);\n node = document.createTextNode('');\n\n observer.observe(node, { characterData: true });\n next = function () {\n iterations = ++iterations % 2;\n node.data = '' + iterations;\n return iterations;\n };\n } else if (typeof Promise === 'function') {\n autorunPromise = Promise.resolve();\n\n next = function () {\n return autorunPromise.then(flush);\n };\n } else {\n next = function () {\n return SET_TIMEOUT(flush, 0);\n };\n }\n return {\n setTimeout: function (fn, ms) {\n return setTimeout(fn, ms);\n },\n clearTimeout: function (timerId) {\n return clearTimeout(timerId);\n },\n now: function () {\n return Date.now();\n },\n\n next: next,\n clearNext: NOOP\n };\n }\n\n var NUMBER = /\\d+/;\n var TIMERS_OFFSET = 6;\n function isCoercableNumber(suspect) {\n var type = typeof suspect;\n return type === 'number' && suspect === suspect || type === 'string' && NUMBER.test(suspect);\n }\n function getOnError(options) {\n return options.onError || options.onErrorTarget && options.onErrorTarget[options.onErrorMethod];\n }\n function findItem(target, method, collection) {\n var index = -1,\n i,\n l;\n for (i = 0, l = collection.length; i < l; i += 4) {\n if (collection[i] === target && collection[i + 1] === method) {\n index = i;\n break;\n }\n }\n return index;\n }\n function findTimerItem(target, method, collection) {\n var index = -1,\n i,\n l;\n for (i = 2, l = collection.length; i < l; i += 6) {\n if (collection[i] === target && collection[i + 1] === method) {\n index = i - 2;\n break;\n }\n }\n return index;\n }\n function getQueueItems(items, queueItemLength) {\n var queueItemPositionOffset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0,\n i,\n maybeError,\n queueItem;\n\n var queueItems = [];\n for (i = 0; i < items.length; i += queueItemLength) {\n maybeError = items[i + 3 /* stack */ + queueItemPositionOffset];\n queueItem = {\n target: items[i + 0 /* target */ + queueItemPositionOffset],\n method: items[i + 1 /* method */ + queueItemPositionOffset],\n args: items[i + 2 /* args */ + queueItemPositionOffset],\n stack: maybeError !== undefined && 'stack' in maybeError ? maybeError.stack : ''\n };\n\n queueItems.push(queueItem);\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 = void 0;\n var l = void 0;\n while (start < end) {\n // since timers is an array of pairs 'l' will always\n // be an integer\n l = (end - start) / TIMERS_OFFSET;\n // compensate for the index in case even number\n // of pairs inside timers\n middle = start + l - l % TIMERS_OFFSET;\n if (time >= timers[middle]) {\n start = middle + TIMERS_OFFSET;\n } else {\n end = middle;\n }\n }\n return time >= timers[start] ? start + TIMERS_OFFSET : start;\n }\n\n var QUEUE_ITEM_LENGTH = 4;\n\n var Queue = function () {\n function Queue(name) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n var globalOptions = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n\n\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 Queue.prototype.stackFor = function (index) {\n var entry;\n\n if (index < this._queue.length) {\n 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 Queue.prototype.flush = function (sync) {\n var _options = this.options,\n before = _options.before,\n after = _options.after,\n onError,\n i;\n\n var target = void 0;\n var method = void 0;\n var args = void 0;\n var errorRecordedForStack = void 0;\n this.targetQueues.clear();\n if (this._queueBeingFlushed.length === 0) {\n this._queueBeingFlushed = this._queue;\n this._queue = [];\n }\n if (before !== undefined) {\n before();\n }\n var invoke = void 0;\n var queueItems = this._queueBeingFlushed;\n if (queueItems.length > 0) {\n onError = getOnError(this.globalOptions);\n\n invoke = onError ? this.invokeWithOnError : this.invoke;\n for (i = this.index; i < queueItems.length; i += QUEUE_ITEM_LENGTH) {\n this.index += QUEUE_ITEM_LENGTH;\n method = queueItems[i + 1];\n // method could have been nullified / canceled during flush\n if (method !== null) {\n //\n // ** Attention intrepid developer **\n //\n // To find out the stack of this task when it was scheduled onto\n // the run loop, add the following to your app.js:\n //\n // Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.\n //\n // Once that is in place, when you are at a breakpoint and navigate\n // here in the stack explorer, you can look at `errorRecordedForStack.stack`,\n // which will be the captured stack when this job was scheduled.\n //\n // One possible long-term solution is the following Chrome issue:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=332624\n //\n target = queueItems[i];\n args = queueItems[i + 2];\n errorRecordedForStack = queueItems[i + 3]; // Debugging assistance\n invoke(target, method, args, onError, errorRecordedForStack);\n }\n if (this.index !== this._queueBeingFlushed.length && this.globalOptions.mustYield && this.globalOptions.mustYield()) {\n return 1 /* Pause */;\n }\n }\n }\n if (after !== undefined) {\n after();\n }\n this._queueBeingFlushed.length = 0;\n this.index = 0;\n if (sync !== false && this._queue.length > 0) {\n // check if new items have been added\n this.flush(true);\n }\n };\n\n Queue.prototype.hasWork = function () {\n return this._queueBeingFlushed.length > 0 || this._queue.length > 0;\n };\n\n Queue.prototype.cancel = function (_ref) {\n var target = _ref.target,\n method = _ref.method;\n\n var queue = this._queue;\n var targetQueueMap = this.targetQueues.get(target);\n if (targetQueueMap !== undefined) {\n targetQueueMap.delete(method);\n }\n var index = findItem(target, method, queue);\n if (index > -1) {\n queue.splice(index, QUEUE_ITEM_LENGTH);\n return true;\n }\n // if not found in current queue\n // could be in the queue that is being flushed\n queue = this._queueBeingFlushed;\n index = findItem(target, method, queue);\n if (index > -1) {\n queue[index + 1] = null;\n return true;\n }\n return false;\n };\n\n Queue.prototype.push = function (target, method, args, stack) {\n this._queue.push(target, method, args, stack);\n return {\n queue: this,\n target: target,\n method: method\n };\n };\n\n Queue.prototype.pushUnique = function (target, method, args, stack) {\n var localQueueMap = this.targetQueues.get(target),\n queueIndex,\n queue;\n if (localQueueMap === undefined) {\n localQueueMap = new Map();\n this.targetQueues.set(target, localQueueMap);\n }\n var index = localQueueMap.get(method);\n if (index === undefined) {\n queueIndex = this._queue.push(target, method, args, stack) - QUEUE_ITEM_LENGTH;\n\n localQueueMap.set(method, queueIndex);\n } else {\n queue = this._queue;\n\n queue[index + 2] = args; // replace args\n queue[index + 3] = stack; // replace stack\n }\n return {\n queue: this,\n target: target,\n method: method\n };\n };\n\n Queue.prototype._getDebugInfo = function (debugEnabled) {\n var debugInfo;\n\n if (debugEnabled) {\n debugInfo = getQueueItems(this._queue, QUEUE_ITEM_LENGTH);\n\n return debugInfo;\n }\n return undefined;\n };\n\n Queue.prototype.invoke = function (target, method, args /*, onError, errorRecordedForStack */) {\n if (args === undefined) {\n method.call(target);\n } else {\n method.apply(target, args);\n }\n };\n\n Queue.prototype.invokeWithOnError = function (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 return Queue;\n }();\n\n var DeferredActionQueues = function () {\n function DeferredActionQueues() {\n var queueNames = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];\n var options = arguments[1];\n\n\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 DeferredActionQueues.prototype.schedule = function (queueName, target, method, args, onceFlag, stack) {\n var queues = this.queues;\n var queue = queues[queueName];\n if (queue === undefined) {\n throw new Error('You attempted to schedule an action in a queue (' + queueName + ') that doesn\\'t exist');\n }\n if (method === undefined || method === null) {\n throw new Error('You attempted to schedule an action in a queue (' + queueName + ') for a method that doesn\\'t exist');\n }\n this.queueNameIndex = 0;\n if (onceFlag) {\n return queue.pushUnique(target, method, args, stack);\n } else {\n return queue.push(target, method, args, stack);\n }\n };\n\n DeferredActionQueues.prototype.flush = function () {\n var fromAutorun = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n\n var queue = void 0;\n var queueName = void 0;\n var numberOfQueues = this.queueNames.length;\n while (this.queueNameIndex < numberOfQueues) {\n queueName = this.queueNames[this.queueNameIndex];\n queue = this.queues[queueName];\n if (queue.hasWork() === false) {\n this.queueNameIndex++;\n if (fromAutorun && this.queueNameIndex < numberOfQueues) {\n return 1 /* Pause */;\n }\n } else {\n if (queue.flush(false /* async */) === 1 /* Pause */) {\n return 1 /* Pause */;\n }\n }\n }\n };\n\n DeferredActionQueues.prototype._getDebugInfo = function (debugEnabled) {\n var debugInfo, queue, queueName, numberOfQueues, i;\n\n if (debugEnabled) {\n debugInfo = {};\n queue = void 0;\n queueName = void 0;\n numberOfQueues = this.queueNames.length;\n 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 return debugInfo;\n }\n };\n\n return DeferredActionQueues;\n }();\n\n function iteratorDrain(fn) {\n var iterator = fn();\n var result = iterator.next();\n while (result.done === false) {\n result.value();\n result = iterator.next();\n }\n }\n\n var noop = function () {};\n var DISABLE_SCHEDULE = Object.freeze([]);\n function parseArgs() {\n var length = arguments.length,\n argsIndex,\n methodOrTarget,\n methodOrArgs,\n type,\n len,\n i;\n var args = void 0;\n var method = void 0;\n var target = void 0;\n if (length === 0) {} else if (length === 1) {\n target = null;\n method = arguments[0];\n } else {\n argsIndex = 2;\n methodOrTarget = arguments[0];\n methodOrArgs = arguments[1];\n 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 if (length > argsIndex) {\n len = length - argsIndex;\n\n args = new Array(len);\n for (i = 0; i < len; i++) {\n args[i] = arguments[i + argsIndex];\n }\n }\n }\n return [target, method, args];\n }\n function parseTimerArgs() {\n var _parseArgs = parseArgs.apply(undefined, arguments),\n target = _parseArgs[0],\n method = _parseArgs[1],\n args = _parseArgs[2],\n last;\n\n var wait = 0;\n var length = args !== undefined ? args.length : 0;\n if (length > 0) {\n last = args[length - 1];\n\n if (isCoercableNumber(last)) {\n wait = parseInt(args.pop(), 10);\n }\n }\n return [target, method, args, wait];\n }\n function parseDebounceArgs() {\n var target = void 0,\n _parseArgs2;\n var method = void 0;\n var isImmediate = void 0;\n var args = void 0;\n var wait = void 0;\n if (arguments.length === 2) {\n method = arguments[0];\n wait = arguments[1];\n target = null;\n } else {\n _parseArgs2 = parseArgs.apply(undefined, arguments);\n\n\n target = _parseArgs2[0];\n method = _parseArgs2[1];\n args = _parseArgs2[2];\n\n if (args === undefined) {\n wait = 0;\n } else {\n wait = args.pop();\n if (!isCoercableNumber(wait)) {\n isImmediate = wait === true;\n wait = args.pop();\n }\n }\n }\n wait = parseInt(wait, 10);\n return [target, method, args, wait, isImmediate];\n }\n var UUID = 0;\n var beginCount = 0;\n var endCount = 0;\n var beginEventCount = 0;\n\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 var Backburner = function () {\n function Backburner(queueNames, options) {\n var _this = this;\n\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 = null;\n this.queueNames = queueNames;\n this.options = options || {};\n if (typeof this.options.defaultQueue === 'string') {\n this._defaultQueue = this.options.defaultQueue;\n } else {\n this._defaultQueue = this.queueNames[0];\n }\n this._onBegin = this.options.onBegin || noop;\n this._onEnd = this.options.onEnd || noop;\n this._boundRunExpiredTimers = this._runExpiredTimers.bind(this);\n this._boundAutorunEnd = function () {\n autorunsCompletedCount++;\n // if the autorun was already flushed, do nothing\n if (_this._autorun === null) {\n return;\n }\n _this._autorun = null;\n _this._end(true /* fromAutorun */);\n };\n var builder = this.options._buildPlatform || buildPlatform;\n this._platform = builder(this._boundAutorunEnd);\n }\n\n Backburner.prototype.begin = function () {\n beginCount++;\n var options = this.options;\n var previousInstance = this.currentInstance;\n var current = void 0;\n if (this._autorun !== null) {\n current = previousInstance;\n this._cancelAutorun();\n } else {\n if (previousInstance !== null) {\n nestedDeferredActionQueuesCreated++;\n this.instanceStack.push(previousInstance);\n }\n deferredActionQueuesCreatedCount++;\n current = this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n beginEventCount++;\n this._trigger('begin', current, previousInstance);\n }\n this._onBegin(current, previousInstance);\n return current;\n };\n\n Backburner.prototype.end = function () {\n endCount++;\n this._end(false);\n };\n\n Backburner.prototype.on = function (eventName, callback) {\n if (typeof callback !== 'function') {\n throw new TypeError('Callback must be a function');\n }\n var callbacks = this._eventCallbacks[eventName];\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 Backburner.prototype.off = function (eventName, callback) {\n var callbacks = this._eventCallbacks[eventName],\n i;\n if (!eventName || callbacks === undefined) {\n throw new TypeError('Cannot off() event ' + eventName + ' because it does not exist');\n }\n var callbackFound = false;\n if (callback) {\n for (i = 0; i < callbacks.length; i++) {\n if (callbacks[i] === callback) {\n callbackFound = true;\n callbacks.splice(i, 1);\n i--;\n }\n }\n }\n if (!callbackFound) {\n throw new TypeError('Cannot off() callback that does not exist');\n }\n };\n\n Backburner.prototype.run = function () {\n runCount++;\n\n var _parseArgs3 = parseArgs.apply(undefined, arguments),\n target = _parseArgs3[0],\n method = _parseArgs3[1],\n args = _parseArgs3[2];\n\n return this._run(target, method, args);\n };\n\n Backburner.prototype.join = function () {\n joinCount++;\n\n var _parseArgs4 = parseArgs.apply(undefined, arguments),\n target = _parseArgs4[0],\n method = _parseArgs4[1],\n args = _parseArgs4[2];\n\n return this._join(target, method, args);\n };\n\n Backburner.prototype.defer = function (queueName, target, method) {\n var _len, args, _key;\n\n deferCount++;\n\n for (_len = arguments.length, args = Array(_len > 3 ? _len - 3 : 0), _key = 3; _key < _len; _key++) {\n args[_key - 3] = arguments[_key];\n }\n\n return this.schedule.apply(this, [queueName, target, method].concat(args));\n };\n\n Backburner.prototype.schedule = function (queueName) {\n scheduleCount++;\n\n for (_len2 = arguments.length, _args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n _args[_key2 - 1] = arguments[_key2];\n }\n\n var _parseArgs5 = parseArgs.apply(undefined, _args),\n target = _parseArgs5[0],\n method = _parseArgs5[1],\n args = _parseArgs5[2],\n _len2,\n _args,\n _key2;\n\n var stack = this.DEBUG ? new Error() : undefined;\n return this._ensureInstance().schedule(queueName, target, method, args, false, stack);\n };\n\n Backburner.prototype.scheduleIterable = function (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 Backburner.prototype.deferOnce = function (queueName, target, method) {\n var _len3, args, _key3;\n\n deferOnceCount++;\n\n for (_len3 = arguments.length, args = Array(_len3 > 3 ? _len3 - 3 : 0), _key3 = 3; _key3 < _len3; _key3++) {\n args[_key3 - 3] = arguments[_key3];\n }\n\n return this.scheduleOnce.apply(this, [queueName, target, method].concat(args));\n };\n\n Backburner.prototype.scheduleOnce = function (queueName) {\n scheduleOnceCount++;\n\n for (_len4 = arguments.length, _args = Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n _args[_key4 - 1] = arguments[_key4];\n }\n\n var _parseArgs6 = parseArgs.apply(undefined, _args),\n target = _parseArgs6[0],\n method = _parseArgs6[1],\n args = _parseArgs6[2],\n _len4,\n _args,\n _key4;\n\n var stack = this.DEBUG ? new Error() : undefined;\n return this._ensureInstance().schedule(queueName, target, method, args, true, stack);\n };\n\n Backburner.prototype.setTimeout = function () {\n setTimeoutCount++;\n return this.later.apply(this, arguments);\n };\n\n Backburner.prototype.later = function () {\n laterCount++;\n\n var _parseTimerArgs = parseTimerArgs.apply(undefined, arguments),\n target = _parseTimerArgs[0],\n method = _parseTimerArgs[1],\n args = _parseTimerArgs[2],\n wait = _parseTimerArgs[3];\n\n return this._later(target, method, args, wait);\n };\n\n Backburner.prototype.throttle = function () {\n throttleCount++;\n\n var _parseDebounceArgs = parseDebounceArgs.apply(undefined, arguments),\n target = _parseDebounceArgs[0],\n method = _parseDebounceArgs[1],\n args = _parseDebounceArgs[2],\n wait = _parseDebounceArgs[3],\n _parseDebounceArgs$ = _parseDebounceArgs[4],\n isImmediate = _parseDebounceArgs$ === undefined ? true : _parseDebounceArgs$,\n argIndex;\n\n var index = findTimerItem(target, method, this._timers);\n var timerId = void 0;\n if (index === -1) {\n timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n if (isImmediate) {\n this._join(target, method, args);\n }\n } else {\n timerId = this._timers[index + 1];\n argIndex = index + 4;\n\n if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n this._timers[argIndex] = args;\n }\n }\n return timerId;\n };\n\n Backburner.prototype.debounce = function () {\n debounceCount++;\n\n var _parseDebounceArgs2 = parseDebounceArgs.apply(undefined, arguments),\n target = _parseDebounceArgs2[0],\n method = _parseDebounceArgs2[1],\n args = _parseDebounceArgs2[2],\n wait = _parseDebounceArgs2[3],\n _parseDebounceArgs2$ = _parseDebounceArgs2[4],\n isImmediate = _parseDebounceArgs2$ === undefined ? false : _parseDebounceArgs2$,\n executeAt,\n argIndex;\n\n var index = findTimerItem(target, method, this._timers);\n var timerId = void 0;\n if (index === -1) {\n timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n if (isImmediate) {\n this._join(target, method, args);\n }\n } else {\n executeAt = this._platform.now() + wait || this._timers[index];\n\n this._timers[index] = executeAt;\n argIndex = index + 4;\n\n if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n this._timers[argIndex] = args;\n }\n timerId = this._timers[index + 1];\n if (index === 0) {\n this._reinstallTimerTimeout();\n }\n }\n return timerId;\n };\n\n Backburner.prototype.cancelTimers = function () {\n cancelTimersCount++;\n this._clearTimerTimeout();\n this._timers = [];\n this._cancelAutorun();\n };\n\n Backburner.prototype.hasTimers = function () {\n return this._timers.length > 0 || this._autorun !== null;\n };\n\n Backburner.prototype.cancel = function (timer) {\n cancelCount++;\n if (timer === null || timer === undefined) {\n return false;\n }\n var timerType = typeof timer;\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 return false;\n };\n\n Backburner.prototype.ensureInstance = function () {\n this._ensureInstance();\n };\n\n Backburner.prototype.getDebugInfo = function () {\n var _this2 = this;\n\n if (this.DEBUG) {\n return {\n counters: this.counters,\n timers: getQueueItems(this._timers, TIMERS_OFFSET, 2),\n instanceStack: [this.currentInstance].concat(this.instanceStack).map(function (deferredActionQueue) {\n return deferredActionQueue && deferredActionQueue._getDebugInfo(_this2.DEBUG);\n })\n };\n }\n return undefined;\n };\n\n Backburner.prototype._end = function (fromAutorun) {\n var currentInstance = this.currentInstance;\n var nextInstance = null;\n if (currentInstance === null) {\n throw new Error('end called without begin');\n }\n // Prevent double-finally bug in Safari 6.0.2 and iOS 6\n // This bug appears to be resolved in Safari 6.0.5 and iOS 7\n var finallyAlreadyCalled = false;\n var result = void 0;\n try {\n result = currentInstance.flush(fromAutorun);\n } finally {\n if (!finallyAlreadyCalled) {\n finallyAlreadyCalled = true;\n if (result === 1 /* Pause */) {\n this._scheduleAutorun();\n } else {\n this.currentInstance = null;\n if (this.instanceStack.length > 0) {\n nextInstance = this.instanceStack.pop();\n this.currentInstance = nextInstance;\n }\n this._trigger('end', currentInstance, nextInstance);\n this._onEnd(currentInstance, nextInstance);\n }\n }\n }\n };\n\n Backburner.prototype._join = function (target, method, args) {\n if (this.currentInstance === null) {\n return this._run(target, method, args);\n }\n if (target === undefined && args === undefined) {\n return method();\n } else {\n return method.apply(target, args);\n }\n };\n\n Backburner.prototype._run = function (target, method, args) {\n var onError = getOnError(this.options);\n this.begin();\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 Backburner.prototype._cancelAutorun = function () {\n if (this._autorun !== null) {\n this._platform.clearNext(this._autorun);\n this._autorun = null;\n }\n };\n\n Backburner.prototype._later = function (target, method, args, wait) {\n var stack = this.DEBUG ? new Error() : undefined,\n i;\n var executeAt = this._platform.now() + wait;\n var id = UUID++;\n if (this._timers.length === 0) {\n this._timers.push(executeAt, id, target, method, args, stack);\n this._installTimerTimeout();\n } else {\n // find position to insert\n i = binarySearch(executeAt, this._timers);\n\n this._timers.splice(i, 0, executeAt, id, target, method, args, stack);\n // always reinstall since it could be out of sync\n this._reinstallTimerTimeout();\n }\n return id;\n };\n\n Backburner.prototype._cancelLaterTimer = function (timer) {\n var i;\n\n for (i = 1; i < this._timers.length; i += TIMERS_OFFSET) {\n if (this._timers[i] === timer) {\n this._timers.splice(i - 1, TIMERS_OFFSET);\n if (i === 0) {\n this._reinstallTimerTimeout();\n }\n return true;\n }\n }\n return false;\n };\n\n Backburner.prototype._trigger = function (eventName, arg1, arg2) {\n var callbacks = this._eventCallbacks[eventName],\n i;\n if (callbacks !== undefined) {\n for (i = 0; i < callbacks.length; i++) {\n callbacks[i](arg1, arg2);\n }\n }\n };\n\n Backburner.prototype._runExpiredTimers = function () {\n this._timerTimeoutId = null;\n if (this._timers.length > 0) {\n this.begin();\n this._scheduleExpiredTimers();\n this.end();\n }\n };\n\n Backburner.prototype._scheduleExpiredTimers = function () {\n var timers = this._timers,\n executeAt,\n _args2,\n target,\n method,\n stack;\n var i = 0;\n var l = timers.length;\n var defaultQueue = this._defaultQueue;\n var n = this._platform.now();\n for (; i < l; i += TIMERS_OFFSET) {\n executeAt = timers[i];\n\n if (executeAt > n) {\n break;\n }\n _args2 = timers[i + 4];\n\n if (_args2 !== DISABLE_SCHEDULE) {\n target = timers[i + 2];\n method = timers[i + 3];\n stack = timers[i + 5];\n\n this.currentInstance.schedule(defaultQueue, target, method, _args2, false, stack);\n }\n }\n timers.splice(0, i);\n this._installTimerTimeout();\n };\n\n Backburner.prototype._reinstallTimerTimeout = function () {\n this._clearTimerTimeout();\n this._installTimerTimeout();\n };\n\n Backburner.prototype._clearTimerTimeout = function () {\n if (this._timerTimeoutId === null) {\n return;\n }\n this._platform.clearTimeout(this._timerTimeoutId);\n this._timerTimeoutId = null;\n };\n\n Backburner.prototype._installTimerTimeout = function () {\n if (this._timers.length === 0) {\n return;\n }\n var minExpiresAt = this._timers[0];\n var n = this._platform.now();\n var wait = Math.max(0, minExpiresAt - n);\n this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n };\n\n Backburner.prototype._ensureInstance = function () {\n var currentInstance = this.currentInstance;\n if (currentInstance === null) {\n currentInstance = this.begin();\n this._scheduleAutorun();\n }\n return currentInstance;\n };\n\n Backburner.prototype._scheduleAutorun = function () {\n autorunsCreatedCount++;\n var next = this._platform.next;\n this._autorun = next();\n };\n\n (0, _emberBabel.createClass)(Backburner, [{\n key: 'counters',\n get: function () {\n return {\n begin: beginCount,\n end: endCount,\n events: {\n begin: beginEventCount,\n end: 0\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 key: 'defaultQueue',\n get: function () {\n return this._defaultQueue;\n }\n }]);\n return Backburner;\n }();\n\n Backburner.Queue = Queue;\n\n exports.default = Backburner;\n exports.buildPlatform = buildPlatform;\n});","enifed('container', ['exports', '@ember/debug', '@ember/polyfills', 'ember-owner', 'ember-utils', '@ember/deprecated-features', 'ember-environment'], function (exports, _debug, _polyfills, _emberOwner, _emberUtils, _deprecatedFeatures, _emberEnvironment) {\n 'use strict';\n\n exports.FACTORY_FOR = exports.Container = exports.privatize = exports.Registry = undefined;\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 var Container = function () {\n function Container(registry) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n\n this.registry = registry;\n this.owner = options.owner || null;\n this.cache = (0, _emberUtils.dictionary)(options.cache || null);\n this.factoryManagerCache = (0, _emberUtils.dictionary)(options.factoryManagerCache || null);\n this.isDestroyed = false;\n this.isDestroying = false;\n }\n /**\n @private\n @property registry\n @type Registry\n @since 1.11.0\n */\n /**\n @private\n @property cache\n @type InheritingDict\n */\n /**\n @private\n @property validationCache\n @type InheritingDict\n */\n /**\n Given a fullName return a corresponding instance.\n The default behavior is for lookup to return a singleton instance.\n The singleton is scoped to the container, allowing multiple containers\n to all have their own locally scoped singletons.\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter');\n twitter instanceof Twitter; // => true\n // by default the container will return singletons\n let twitter2 = container.lookup('api:twitter');\n twitter2 instanceof Twitter; // => true\n twitter === twitter2; //=> true\n ```\n If singletons are not wanted, an optional flag can be provided at lookup.\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter', { singleton: false });\n let twitter2 = container.lookup('api:twitter', { singleton: false });\n twitter === twitter2; //=> false\n ```\n @private\n @method lookup\n @param {String} fullName\n @param {Object} [options]\n @param {String} [options.source] The fullname of the request source (used for local lookup)\n @return {any}\n */\n\n Container.prototype.lookup = function (fullName, options) {\n false && !!this.isDestroyed && (0, _debug.assert)('expected container not to be destroyed', !this.isDestroyed);\n false && !this.registry.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(fullName));\n\n return _lookup(this, this.registry.normalize(fullName), options);\n };\n\n Container.prototype.destroy = function () {\n destroyDestroyables(this);\n this.isDestroying = true;\n };\n\n Container.prototype.finalizeDestroy = function () {\n resetCache(this);\n this.isDestroyed = true;\n };\n\n Container.prototype.reset = function (fullName) {\n if (this.isDestroyed) return;\n if (fullName === undefined) {\n destroyDestroyables(this);\n resetCache(this);\n } else {\n resetMember(this, this.registry.normalize(fullName));\n }\n };\n\n Container.prototype.ownerInjection = function () {\n var _ref;\n\n return _ref = {}, _ref[_emberOwner.OWNER] = this.owner, _ref;\n };\n\n Container.prototype.factoryFor = function (fullName) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n false && !!this.isDestroyed && (0, _debug.assert)('expected container not to be destroyed', !this.isDestroyed);\n\n var normalizedName = this.registry.normalize(fullName);\n false && !this.registry.isValidFullName(normalizedName) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(normalizedName));\n false && !(false || !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 if (!normalizedName) {\n return;\n }\n }\n return _factoryFor(this, normalizedName, fullName);\n };\n\n return Container;\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 function isSingleton(container, fullName) {\n return container.registry.getOption(fullName, 'singleton') !== false;\n }\n function isInstantiatable(container, fullName) {\n return container.registry.getOption(fullName, 'instantiate') !== false;\n }\n function _lookup(container, fullName) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {},\n cached;\n false && !(false || !options.namespace) && (0, _debug.assert)('EMBER_MODULE_UNIFICATION must be enabled to pass a namespace option to lookup', false || !options.namespace);\n\n var normalizedName = fullName;\n if (options.source || options.namespace) {\n normalizedName = container.registry.expandLocalLookup(fullName, options);\n if (!normalizedName) {\n return;\n }\n }\n if (options.singleton !== false) {\n cached = container.cache[normalizedName];\n\n if (cached !== undefined) {\n return cached;\n }\n }\n return instantiateFactory(container, normalizedName, fullName, options);\n }\n function _factoryFor(container, normalizedName, fullName) {\n var cached = container.factoryManagerCache[normalizedName];\n if (cached !== undefined) {\n return cached;\n }\n var factory = container.registry.resolve(normalizedName);\n if (factory === undefined) {\n return;\n }\n\n var manager = new FactoryManager(container, factory, fullName, normalizedName);\n\n container.factoryManagerCache[normalizedName] = manager;\n return manager;\n }\n function isSingletonClass(container, fullName, _ref2) {\n var instantiate = _ref2.instantiate,\n singleton = _ref2.singleton;\n\n return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n }\n function isSingletonInstance(container, fullName, _ref3) {\n var instantiate = _ref3.instantiate,\n singleton = _ref3.singleton;\n\n return singleton !== false && instantiate !== false && isSingleton(container, fullName) && isInstantiatable(container, fullName);\n }\n function isFactoryClass(container, fullname, _ref4) {\n var instantiate = _ref4.instantiate,\n singleton = _ref4.singleton;\n\n return instantiate === false && (singleton === false || !isSingleton(container, fullname)) && !isInstantiatable(container, fullname);\n }\n function isFactoryInstance(container, fullName, _ref5) {\n var instantiate = _ref5.instantiate,\n singleton = _ref5.singleton;\n\n return instantiate !== false && (singleton !== false || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n }\n function instantiateFactory(container, normalizedName, fullName, options) {\n var factoryManager = _factoryFor(container, normalizedName, fullName);\n if (factoryManager === undefined) {\n return;\n }\n // SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n // By default majority of objects fall into this case\n if (isSingletonInstance(container, fullName, options)) {\n return container.cache[normalizedName] = factoryManager.create();\n }\n // SomeClass { singleton: false, instantiate: true }\n if (isFactoryInstance(container, fullName, options)) {\n return factoryManager.create();\n }\n // SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\n if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n return factoryManager.class;\n }\n throw new Error('Could not create factory');\n }\n function processInjections(container, injections, result) {\n var hash = result.injections,\n i,\n _injections$i,\n property,\n specifier,\n source;\n if (hash === undefined) {\n hash = result.injections = {};\n }\n for (i = 0; i < injections.length; i++) {\n _injections$i = injections[i], property = _injections$i.property, specifier = _injections$i.specifier, source = _injections$i.source;\n\n\n if (source) {\n hash[property] = _lookup(container, specifier, { source: source });\n } else {\n hash[property] = _lookup(container, specifier);\n }\n if (!result.isDynamic) {\n result.isDynamic = !isSingleton(container, specifier);\n }\n }\n }\n function buildInjections(container, typeInjections, injections) {\n var result = {\n injections: undefined,\n isDynamic: false\n };\n if (typeInjections !== undefined) {\n processInjections(container, typeInjections, result);\n }\n if (injections !== undefined) {\n processInjections(container, injections, result);\n }\n return result;\n }\n function injectionsFor(container, fullName) {\n var registry = container.registry;\n\n var _fullName$split = fullName.split(':'),\n type = _fullName$split[0];\n\n var typeInjections = registry.getTypeInjections(type);\n var injections = registry.getInjections(fullName);\n return buildInjections(container, typeInjections, injections);\n }\n function destroyDestroyables(container) {\n var cache = container.cache,\n i,\n key,\n value;\n var keys = Object.keys(cache);\n for (i = 0; i < keys.length; i++) {\n key = keys[i];\n value = cache[key];\n\n if (value.destroy) {\n value.destroy();\n }\n }\n }\n function resetCache(container) {\n container.cache = (0, _emberUtils.dictionary)(null);\n container.factoryManagerCache = (0, _emberUtils.dictionary)(null);\n }\n function resetMember(container, fullName) {\n var member = container.cache[fullName];\n delete container.factoryManagerCache[fullName];\n if (member) {\n delete container.cache[fullName];\n if (member.destroy) {\n member.destroy();\n }\n }\n }\n var FACTORY_FOR = new WeakMap();\n\n var FactoryManager = function () {\n function FactoryManager(container, factory, fullName, normalizedName) {\n\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 FACTORY_FOR.set(this, this);\n }\n\n FactoryManager.prototype.toString = function () {\n if (this.madeToString === undefined) {\n this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n }\n return this.madeToString;\n };\n\n FactoryManager.prototype.create = function (options) {\n var injectionsCache = this.injections,\n _injectionsFor,\n injections,\n isDynamic;\n if (injectionsCache === undefined) {\n _injectionsFor = injectionsFor(this.container, this.normalizedName), injections = _injectionsFor.injections, isDynamic = _injectionsFor.isDynamic;\n\n\n injectionsCache = injections;\n if (!isDynamic) {\n this.injections = injections;\n }\n }\n var props = injectionsCache;\n if (options !== undefined) {\n props = (0, _polyfills.assign)({}, injectionsCache, options);\n }\n\n if (!this.class.create) {\n throw new Error('Failed to create an instance of \\'' + this.normalizedName + '\\'. Most likely an improperly defined class or' + ' an invalid module export.');\n }\n // required to allow access to things like\n // the customized toString, _debugContainerKey,\n // owner, etc. without a double extend and without\n // modifying the objects properties\n if (typeof this.class._initFactory === 'function') {\n this.class._initFactory(this);\n } else {\n // in the non-EmberObject case we need to still setOwner\n // this is required for supporting glimmer environment and\n // template instantiation which rely heavily on\n // `options[OWNER]` being passed into `create`\n // TODO: clean this up, and remove in future versions\n if (options === undefined || props === undefined) {\n // avoid mutating `props` here since they are the cached injections\n props = (0, _polyfills.assign)({}, props);\n }\n (0, _emberOwner.setOwner)(props, this.owner);\n }\n var instance = this.class.create(props);\n FACTORY_FOR.set(instance, this);\n return instance;\n };\n\n return FactoryManager;\n }();\n\n var VALID_FULL_NAME_REGEXP = /^[^:]+:[^:]+$/;\n var missingResolverFunctionsDeprecation = 'Passing a `resolver` function into a Registry is deprecated. Please pass in a Resolver object with a `resolve` method.';\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 var Registry = function () {\n function Registry() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n\n this.fallback = options.fallback || null;\n this.resolver = options.resolver || null;\n if (_emberEnvironment.ENV._ENABLE_RESOLVER_FUNCTION_SUPPORT !== true) {\n false && !(typeof this.resolver !== 'function') && (0, _debug.assert)(missingResolverFunctionsDeprecation, typeof this.resolver !== 'function');\n }\n if (_deprecatedFeatures.REGISTRY_RESOLVER_AS_FUNCTION && typeof this.resolver === 'function' && _emberEnvironment.ENV._ENABLE_RESOLVER_FUNCTION_SUPPORT === true) {\n false && !false && (0, _debug.deprecate)(missingResolverFunctionsDeprecation, false, {\n id: 'ember-application.registry-resolver-as-function',\n until: '3.0.0',\n url: 'https://emberjs.com/deprecations/v2.x#toc_registry-resolver-as-function'\n });\n\n this.resolver = { resolve: this.resolver };\n }\n this.registrations = (0, _emberUtils.dictionary)(options.registrations || null);\n this._typeInjections = (0, _emberUtils.dictionary)(null);\n this._injections = (0, _emberUtils.dictionary)(null);\n this._localLookupCache = Object.create(null);\n this._normalizeCache = (0, _emberUtils.dictionary)(null);\n this._resolveCache = (0, _emberUtils.dictionary)(null);\n this._failSet = new Set();\n this._options = (0, _emberUtils.dictionary)(null);\n this._typeOptions = (0, _emberUtils.dictionary)(null);\n }\n /**\n A backup registry for resolving registrations when no matches can be found.\n @private\n @property fallback\n @type Registry\n */\n /**\n An object that has a `resolve` method that resolves a name.\n @private\n @property resolver\n @type Resolver\n */\n /**\n @private\n @property registrations\n @type InheritingDict\n */\n /**\n @private\n @property _typeInjections\n @type InheritingDict\n */\n /**\n @private\n @property _injections\n @type InheritingDict\n */\n /**\n @private\n @property _normalizeCache\n @type InheritingDict\n */\n /**\n @private\n @property _resolveCache\n @type InheritingDict\n */\n /**\n @private\n @property _options\n @type InheritingDict\n */\n /**\n @private\n @property _typeOptions\n @type InheritingDict\n */\n /**\n Creates a container based on this registry.\n @private\n @method container\n @param {Object} options\n @return {Container} created container\n */\n\n Registry.prototype.container = function (options) {\n return new Container(this, options);\n };\n\n Registry.prototype.register = function (fullName, factory) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n false && !(factory !== undefined) && (0, _debug.assert)('Attempting to register an unknown factory: \\'' + fullName + '\\'', factory !== undefined);\n\n var normalizedName = this.normalize(fullName);\n false && !!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 this.registrations[normalizedName] = factory;\n this._options[normalizedName] = options;\n };\n\n Registry.prototype.unregister = function (fullName) {\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n\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 this._failSet.delete(normalizedName);\n };\n\n Registry.prototype.resolve = function (fullName, options) {\n var factory = _resolve(this, this.normalize(fullName), options),\n _fallback;\n if (factory === undefined && this.fallback !== null) {\n\n factory = (_fallback = this.fallback).resolve.apply(_fallback, arguments);\n }\n return factory;\n };\n\n Registry.prototype.describe = function (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 Registry.prototype.normalizeFullName = function (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 Registry.prototype.normalize = function (fullName) {\n return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this.normalizeFullName(fullName));\n };\n\n Registry.prototype.makeToString = function (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 Registry.prototype.has = function (fullName, options) {\n if (!this.isValidFullName(fullName)) {\n return false;\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 Registry.prototype.optionsForType = function (type, options) {\n this._typeOptions[type] = options;\n };\n\n Registry.prototype.getOptionsForType = function (type) {\n var optionsForType = this._typeOptions[type];\n if (optionsForType === undefined && this.fallback !== null) {\n optionsForType = this.fallback.getOptionsForType(type);\n }\n return optionsForType;\n };\n\n Registry.prototype.options = function (fullName, _options) {\n var normalizedName = this.normalize(fullName);\n this._options[normalizedName] = _options;\n };\n\n Registry.prototype.getOptions = function (fullName) {\n var normalizedName = this.normalize(fullName);\n var options = this._options[normalizedName];\n if (options === undefined && this.fallback !== null) {\n options = this.fallback.getOptions(fullName);\n }\n return options;\n };\n\n Registry.prototype.getOption = function (fullName, optionName) {\n var options = this._options[fullName];\n if (options !== undefined && options[optionName] !== undefined) {\n return options[optionName];\n }\n var type = fullName.split(':')[0];\n options = this._typeOptions[type];\n if (options && options[optionName] !== undefined) {\n return options[optionName];\n } else if (this.fallback !== null) {\n return this.fallback.getOption(fullName, optionName);\n }\n return undefined;\n };\n\n Registry.prototype.typeInjection = function (type, property, fullName) {\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n\n var fullNameType = fullName.split(':')[0];\n false && !(fullNameType !== type) && (0, _debug.assert)('Cannot inject a \\'' + fullName + '\\' on other ' + type + '(s).', fullNameType !== type);\n\n var injections = this._typeInjections[type] || (this._typeInjections[type] = []);\n injections.push({ property: property, specifier: fullName });\n };\n\n Registry.prototype.injection = function (fullName, property, injectionName) {\n false && !this.isValidFullName(injectionName) && (0, _debug.assert)('Invalid injectionName, expected: \\'type:name\\' got: ' + injectionName, this.isValidFullName(injectionName));\n\n var normalizedInjectionName = this.normalize(injectionName);\n if (fullName.indexOf(':') === -1) {\n return this.typeInjection(fullName, property, normalizedInjectionName);\n }\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n\n var normalizedName = this.normalize(fullName);\n var injections = this._injections[normalizedName] || (this._injections[normalizedName] = []);\n injections.push({ property: property, specifier: normalizedInjectionName });\n };\n\n Registry.prototype.knownForType = function (type) {\n var localKnown = (0, _emberUtils.dictionary)(null),\n index,\n fullName,\n itemType;\n var registeredNames = Object.keys(this.registrations);\n for (index = 0; index < registeredNames.length; index++) {\n fullName = registeredNames[index];\n itemType = fullName.split(':')[0];\n\n if (itemType === type) {\n localKnown[fullName] = true;\n }\n }\n var fallbackKnown = void 0,\n resolverKnown = void 0;\n if (this.fallback !== null) {\n fallbackKnown = this.fallback.knownForType(type);\n }\n if (this.resolver !== null && this.resolver.knownForType) {\n resolverKnown = this.resolver.knownForType(type);\n }\n return (0, _polyfills.assign)({}, fallbackKnown, localKnown, resolverKnown);\n };\n\n Registry.prototype.isValidFullName = function (fullName) {\n return VALID_FULL_NAME_REGEXP.test(fullName);\n };\n\n Registry.prototype.getInjections = function (fullName) {\n var injections = this._injections[fullName],\n fallbackInjections;\n if (this.fallback !== null) {\n fallbackInjections = this.fallback.getInjections(fullName);\n\n if (fallbackInjections !== undefined) {\n injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n }\n }\n return injections;\n };\n\n Registry.prototype.getTypeInjections = function (type) {\n var injections = this._typeInjections[type],\n fallbackInjections;\n if (this.fallback !== null) {\n fallbackInjections = this.fallback.getTypeInjections(type);\n\n if (fallbackInjections !== undefined) {\n injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n }\n }\n return injections;\n };\n\n Registry.prototype.expandLocalLookup = function (fullName, options) {\n var normalizedFullName, normalizedSource;\n\n if (this.resolver !== null && this.resolver.expandLocalLookup) {\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n false && !(!options.source || this.isValidFullName(options.source)) && (0, _debug.assert)('options.source must be a proper full name', !options.source || this.isValidFullName(options.source));\n\n normalizedFullName = this.normalize(fullName);\n normalizedSource = this.normalize(options.source);\n\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 return Registry;\n }();\n\n function _expandLocalLookup(registry, normalizedName, normalizedSource, namespace) {\n var cache = registry._localLookupCache;\n var normalizedNameCache = cache[normalizedName];\n if (!normalizedNameCache) {\n normalizedNameCache = cache[normalizedName] = Object.create(null);\n }\n var cacheKey = namespace || normalizedSource;\n var cached = normalizedNameCache[cacheKey];\n if (cached !== undefined) {\n return cached;\n }\n var expanded = registry.resolver.expandLocalLookup(normalizedName, normalizedSource, namespace);\n return normalizedNameCache[cacheKey] = expanded;\n }\n function _resolve(registry, _normalizedName, options) {\n var normalizedName = _normalizedName;\n // when `source` is provided expand normalizedName\n // and source into the full normalizedName\n if (options !== undefined && (options.source || options.namespace)) {\n normalizedName = registry.expandLocalLookup(_normalizedName, options);\n if (!normalizedName) {\n return;\n }\n }\n var cached = registry._resolveCache[normalizedName];\n if (cached !== undefined) {\n return cached;\n }\n if (registry._failSet.has(normalizedName)) {\n return;\n }\n var resolved = void 0;\n if (registry.resolver) {\n resolved = registry.resolver.resolve(normalizedName);\n }\n if (resolved === undefined) {\n resolved = registry.registrations[normalizedName];\n }\n if (resolved === undefined) {\n registry._failSet.add(normalizedName);\n } else {\n registry._resolveCache[normalizedName] = resolved;\n }\n return resolved;\n }\n function _has(registry, fullName, source, namespace) {\n return registry.resolve(fullName, { source: source, namespace: namespace }) !== undefined;\n }\n var privateNames = (0, _emberUtils.dictionary)(null);\n var privateSuffix = ('' + Math.random() + Date.now()).replace('.', '');\n\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 exports.Registry = Registry;\n exports.privatize = function (_ref6) {\n var fullName = _ref6[0];\n\n var name = privateNames[fullName];\n if (name) {\n return name;\n }\n\n var _fullName$split2 = fullName.split(':'),\n type = _fullName$split2[0],\n rawName = _fullName$split2[1];\n\n return privateNames[fullName] = (0, _emberUtils.intern)(type + ':' + rawName + '-' + privateSuffix);\n };\n exports.Container = Container;\n exports.FACTORY_FOR = FACTORY_FOR;\n});","enifed(\"dag-map\", [\"exports\"], function (exports) {\n \"use strict\";\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\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 DAG.prototype.add = function (key, value, before, after) {\n if (!key) throw new Error('argument `key` is required');\n var vertices = this._vertices,\n i;\n var v = vertices.add(key);\n v.val = value;\n if (before) {\n if (typeof before === \"string\") {\n vertices.addEdge(v, vertices.add(before));\n } else {\n for (var i = 0; i < before.length; i++) {\n vertices.addEdge(v, vertices.add(before[i]));\n }\n }\n }\n if (after) {\n if (typeof after === \"string\") {\n vertices.addEdge(vertices.add(after), v);\n } else {\n for (i = 0; i < after.length; i++) {\n vertices.addEdge(vertices.add(after[i]), v);\n }\n }\n }\n };\n /**\n * @deprecated please use add.\n */\n DAG.prototype.addEdges = function (key, value, before, after) {\n this.add(key, value, before, after);\n };\n /**\n * Visits key/value pairs in topological order.\n *\n * @public\n * @param callback The function to be invoked with each key/value.\n */\n DAG.prototype.each = function (callback) {\n this._vertices.walk(callback);\n };\n /**\n * @deprecated please use each.\n */\n DAG.prototype.topsort = function (callback) {\n this.each(callback);\n };\n return DAG;\n }();\n exports.default = DAG;\n\n /** @private */\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 Vertices.prototype.add = function (key) {\n if (!key) throw new Error(\"missing key\");\n var l = this.length | 0,\n i;\n var vertex;\n for (i = 0; i < l; i++) {\n vertex = this[i];\n if (vertex.key === key) return vertex;\n }\n this.length = l + 1;\n return this[l] = {\n idx: l,\n key: key,\n val: undefined,\n out: false,\n flag: false,\n length: 0\n };\n };\n Vertices.prototype.addEdge = function (v, w) {\n this.check(v, w.key);\n var l = w.length | 0,\n i;\n for (i = 0; i < l; i++) {\n if (w[i] === v.idx) return;\n }\n w.length = l + 1;\n w[l] = v.idx;\n v.out = true;\n };\n Vertices.prototype.walk = function (cb) {\n var i, vertex;\n\n this.reset();\n for (i = 0; i < this.length; i++) {\n vertex = this[i];\n\n if (vertex.out) continue;\n this.visit(vertex, \"\");\n }\n this.each(this.result, cb);\n };\n Vertices.prototype.check = function (v, w) {\n var i, key, msg_1;\n\n if (v.key === w) {\n throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n }\n // quick check\n if (v.length === 0) return;\n // shallow check\n for (i = 0; i < v.length; i++) {\n key = this[v[i]].key;\n\n if (key === w) {\n throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n }\n }\n // deep check\n this.reset();\n this.visit(v, w);\n if (this.path.length > 0) {\n msg_1 = \"cycle detected: \" + w;\n\n this.each(this.path, function (key) {\n msg_1 += \" <- \" + key;\n });\n throw new Error(msg_1);\n }\n };\n Vertices.prototype.reset = function () {\n var i, l;\n\n this.stack.length = 0;\n this.path.length = 0;\n this.result.length = 0;\n for (i = 0, l = this.length; i < l; i++) {\n this[i].flag = false;\n }\n };\n Vertices.prototype.visit = function (start, search) {\n var _a = this,\n stack = _a.stack,\n path = _a.path,\n result = _a.result,\n index,\n vertex;\n stack.push(start.idx);\n while (stack.length) {\n index = stack.pop() | 0;\n\n if (index >= 0) {\n // enter\n vertex = this[index];\n\n if (vertex.flag) continue;\n vertex.flag = true;\n path.push(index);\n if (search === vertex.key) break;\n // push exit\n stack.push(~index);\n this.pushIncoming(vertex);\n } else {\n // exit\n path.pop();\n result.push(~index);\n }\n }\n };\n Vertices.prototype.pushIncoming = function (incomming) {\n var stack = this.stack,\n i,\n index;\n for (i = incomming.length - 1; i >= 0; i--) {\n index = incomming[i];\n\n if (!this[index].flag) {\n stack.push(index);\n }\n }\n };\n Vertices.prototype.each = function (indices, cb) {\n var i, l, vertex;\n\n for (i = 0, l = indices.length; i < l; i++) {\n vertex = this[indices[i]];\n\n cb(vertex.key, vertex.val);\n }\n };\n return Vertices;\n }();\n /** @private */\n var IntStack = function () {\n function IntStack() {\n this.length = 0;\n }\n IntStack.prototype.push = function (n) {\n this[this.length++] = n | 0;\n };\n IntStack.prototype.pop = function () {\n return this[--this.length] | 0;\n };\n return IntStack;\n }();\n});","enifed('ember-babel', ['exports'], function (exports) {\n 'use strict';\n\n exports.classCallCheck = classCallCheck;\n exports.inherits = inherits;\n exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;\n exports.createClass = createClass;\n exports.possibleConstructorReturn = possibleConstructorReturn;\n var create = Object.create;\n var setPrototypeOf = Object.setPrototypeOf;\n var defineProperty = Object.defineProperty;\n\n function classCallCheck() {}\n\n function inherits(subClass, superClass) {\n subClass.prototype = create(superClass === null ? null : superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass !== null) setPrototypeOf(subClass, superClass);\n }\n\n function taggedTemplateLiteralLoose(strings, raw) {\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 defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n function createClass(Constructor, protoProps, staticProps) {\n if (protoProps !== undefined) defineProperties(Constructor.prototype, protoProps);\n if (staticProps !== undefined) defineProperties(Constructor, staticProps);\n return Constructor;\n }\n\n function possibleConstructorReturn(self, call) {\n return call !== null && typeof call === 'object' || typeof call === 'function' ? call : self;\n }\n});","enifed('ember-browser-environment', ['exports'], function (exports) {\n 'use strict';\n\n // check if window exists and actually is the global\n\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\n var window = hasDom ? self : null;\n var location$1 = hasDom ? self.location : null;\n var history$1 = hasDom ? self.history : null;\n var userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\n var isChrome = hasDom ? !!window.chrome && !window.opera : false;\n var isFirefox = hasDom ? typeof InstallTrigger !== 'undefined' : false;\n\n exports.window = window;\n exports.location = location$1;\n exports.history = history$1;\n exports.userAgent = userAgent;\n exports.isChrome = isChrome;\n exports.isFirefox = isFirefox;\n exports.hasDOM = hasDom;\n});","enifed('ember-console/index', ['exports', '@ember/debug', '@ember/deprecated-features'], function (exports, _debug, _deprecatedFeatures) {\n 'use strict';\n\n // Deliver message that the function is deprecated\n\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 var DEPRECATED_LOGGER = void 0;\n\n if (_deprecatedFeatures.LOGGER) {\n DEPRECATED_LOGGER = {\n log: function () {\n var _console;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return (_console = console).log.apply(_console, arguments); // eslint-disable-line no-console\n },\n warn: function () {\n var _console2;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return (_console2 = console).warn.apply(_console2, arguments); // eslint-disable-line no-console\n },\n error: function () {\n var _console3;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return (_console3 = console).error.apply(_console3, arguments); // eslint-disable-line no-console\n },\n info: function () {\n var _console4;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return (_console4 = console).info.apply(_console4, arguments); // eslint-disable-line no-console\n },\n debug: function () {\n var _console6, _console5;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n /* eslint-disable no-console */\n if (console.debug) {\n\n return (_console5 = console).debug.apply(_console5, arguments);\n }\n return (_console6 = console).info.apply(_console6, arguments);\n /* eslint-enable no-console */\n },\n assert: function () {\n var _console7;\n\n false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return (_console7 = console).assert.apply(_console7, arguments); // eslint-disable-line no-console\n }\n };\n }\n\n exports.default = DEPRECATED_LOGGER;\n});","enifed('ember-environment', ['exports'], function (exports) {\n 'use strict';\n\n // from lodash to catch fake globals\n\n function checkGlobal(value) {\n return value && value.Object === Object ? value : undefined;\n }\n // element ids can ruin global miss checks\n\n // export real global\n var global$1 = checkGlobal(function (value) {\n return value && value.nodeType === undefined ? value : undefined;\n }(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 // legacy imports/exports/lookup stuff (should we keep this??)\n var context = function (global, Ember) {\n return Ember === undefined ? { imports: global, exports: global, lookup: global } : {\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\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 var ENV = {\n ENABLE_OPTIONAL_FEATURES: false,\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 The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n a full stack trace during deprecation warnings.\n @property LOG_STACKTRACE_ON_DEPRECATION\n @type Boolean\n @default true\n @for EmberENV\n @public\n */\n LOG_STACKTRACE_ON_DEPRECATION: true,\n /**\n The `LOG_VERSION` property, when true, tells Ember to log versions of all\n dependent libraries in use.\n @property LOG_VERSION\n @type Boolean\n @default true\n @for EmberENV\n @public\n */\n LOG_VERSION: true,\n RAISE_ON_DEPRECATION: false,\n STRUCTURED_PROFILE: false,\n /**\n Whether to insert a `<div class=\"ember-view\" />` wrapper around the\n application template. See RFC #280.\n This is not intended to be set directly, as the implementation may change in\n the future. Use `@ember/optional-features` instead.\n @property _APPLICATION_TEMPLATE_WRAPPER\n @for EmberENV\n @type Boolean\n @default true\n @private\n */\n _APPLICATION_TEMPLATE_WRAPPER: true,\n /**\n Whether to use Glimmer Component semantics (as opposed to the classic \"Curly\"\n components semantics) for template-only components. See RFC #278.\n This is not intended to be set directly, as the implementation may change in\n the future. Use `@ember/optional-features` instead.\n @property _TEMPLATE_ONLY_GLIMMER_COMPONENTS\n @for EmberENV\n @type Boolean\n @default false\n @private\n */\n _TEMPLATE_ONLY_GLIMMER_COMPONENTS: false,\n /**\n Whether 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 // the following for addon support\n _ENABLE_EMBER_K_SUPPORT: false,\n _ENABLE_SAFE_STRING_SUPPORT: false,\n _ENABLE_ENUMERABLE_CONTAINS_SUPPORT: false,\n _ENABLE_UNDERSCORE_ACTIONS_SUPPORT: false,\n _ENABLE_REVERSED_OBSERVER_SUPPORT: false,\n _ENABLE_INITIALIZER_ARGUMENTS_SUPPORT: false,\n _ENABLE_ROUTER_RESOURCE: false,\n _ENABLE_CURRENT_WHEN_SUPPORT: false,\n _ENABLE_CONTROLLER_WRAPPED_SUPPORT: false,\n _ENABLE_DEPRECATED_REGISTRY_SUPPORT: false,\n _ENABLE_IMMEDIATE_OBSERVER_SUPPORT: false,\n _ENABLE_STRING_FMT_SUPPORT: false,\n _ENABLE_FREEZABLE_SUPPORT: false,\n _ENABLE_COMPONENT_DEFAULTLAYOUT_SUPPORT: false,\n _ENABLE_BINDING_SUPPORT: false,\n _ENABLE_INPUT_TRANSFORM_SUPPORT: false,\n _ENABLE_DEPRECATION_OPTIONS_SUPPORT: false,\n _ENABLE_ORPHANED_OUTLETS_SUPPORT: false,\n _ENABLE_WARN_OPTIONS_SUPPORT: false,\n _ENABLE_RESOLVER_FUNCTION_SUPPORT: false,\n _ENABLE_DID_INIT_ATTRS_SUPPORT: false,\n _ENABLE_RENDER_SUPPORT: false,\n _ENABLE_PROPERTY_REQUIRED_SUPPORT: false,\n EMBER_LOAD_HOOKS: {},\n FEATURES: {}\n };\n (function (EmberENV) {\n if (typeof EmberENV !== 'object' || EmberENV === null) return;\n for (var flag in EmberENV) {\n if (!EmberENV.hasOwnProperty(flag) || flag === 'EXTEND_PROTOTYPES' || flag === 'EMBER_LOAD_HOOKS') continue;\n 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 var EXTEND_PROTOTYPES = EmberENV.EXTEND_PROTOTYPES,\n defaultValue,\n isEnabled,\n hooks;\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 ENV.EXTEND_PROTOTYPES.Function = EXTEND_PROTOTYPES.Function !== false;\n ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES.Array !== false;\n } else {\n isEnabled = EXTEND_PROTOTYPES !== false;\n\n ENV.EXTEND_PROTOTYPES.String = isEnabled;\n ENV.EXTEND_PROTOTYPES.Function = isEnabled;\n ENV.EXTEND_PROTOTYPES.Array = isEnabled;\n }\n }\n // TODO this does not seem to be used by anything,\n // can we remove it? do we need to deprecate it?\n var EMBER_LOAD_HOOKS = EmberENV.EMBER_LOAD_HOOKS;\n\n if (typeof EMBER_LOAD_HOOKS === 'object' && EMBER_LOAD_HOOKS !== null) {\n for (var hookName in EMBER_LOAD_HOOKS) {\n if (!EMBER_LOAD_HOOKS.hasOwnProperty(hookName)) continue;\n hooks = EMBER_LOAD_HOOKS[hookName];\n\n if (Array.isArray(hooks)) {\n ENV.EMBER_LOAD_HOOKS[hookName] = hooks.filter(function (hook) {\n return typeof hook === 'function';\n });\n }\n }\n }\n var FEATURES = EmberENV.FEATURES;\n\n if (typeof FEATURES === 'object' && FEATURES !== null) {\n for (var feature in FEATURES) {\n if (!FEATURES.hasOwnProperty(feature)) continue;\n ENV.FEATURES[feature] = FEATURES[feature] === true;\n }\n }\n })(global$1.EmberENV || global$1.ENV);\n\n\n exports.global = global$1;\n exports.context = context;\n exports.getLookup = function () {\n return context.lookup;\n };\n exports.setLookup = function (value) {\n context.lookup = value;\n };\n exports.ENV = ENV;\n exports.getENV = function () {\n return ENV;\n };\n});","enifed(\"ember-error-handling/index\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.getOnerror = getOnerror;\n exports.setOnerror =\n // Ember.onerror setter\n function (handler) {\n onerror = handler;\n };\n exports.getDispatchOverride = getDispatchOverride;\n exports.setDispatchOverride = function (handler) {\n dispatchOverride = handler;\n };\n var onerror = void 0;\n exports.onErrorTarget = {\n get onerror() {\n return onerror;\n }\n };\n // Ember.onerror getter\n\n function getOnerror() {\n return onerror;\n }\n var dispatchOverride = void 0;\n // allows testing adapter to override dispatch\n function getDispatchOverride() {\n return dispatchOverride;\n }\n});","enifed('ember-extension-support/index', ['exports', 'ember-extension-support/lib/data_adapter', 'ember-extension-support/lib/container_debug_adapter'], function (exports, _data_adapter, _container_debug_adapter) {\n 'use strict';\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});","enifed('ember-extension-support/lib/container_debug_adapter', ['exports', '@ember/string', 'ember-runtime'], function (exports, _string, _emberRuntime) {\n 'use strict';\n\n exports.default = _emberRuntime.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: function (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: function (type) {\n var namespaces = (0, _emberRuntime.A)(_emberRuntime.Namespace.NAMESPACES);\n var types = (0, _emberRuntime.A)();\n var typeSuffixRegex = new RegExp((0, _string.classify)(type) + '$');\n\n namespaces.forEach(function (namespace) {\n var klass;\n\n for (var key in namespace) {\n if (!namespace.hasOwnProperty(key)) {\n continue;\n }\n if (typeSuffixRegex.test(key)) {\n klass = namespace[key];\n\n if ((0, _emberRuntime.typeOf)(klass) === 'class') {\n types.push((0, _string.dasherize)(key.replace(typeSuffixRegex, '')));\n }\n }\n }\n });\n return types;\n }\n });\n});","enifed('ember-extension-support/lib/data_adapter', ['exports', 'ember-owner', '@ember/runloop', 'ember-metal', '@ember/string', 'ember-runtime'], function (exports, _emberOwner, _runloop, _emberMetal, _string, _emberRuntime) {\n 'use strict';\n\n exports.default = _emberRuntime.Object.extend({\n init: function () {\n this._super.apply(this, arguments);\n this.releaseMethods = (0, _emberRuntime.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, _emberRuntime.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: function () {\n return (0, _emberRuntime.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: function (typesAdded, typesUpdated) {\n var _this = this;\n\n var modelTypes = this.getModelTypes();\n var releaseMethods = (0, _emberRuntime.A)();\n var typesToSend = void 0;\n\n typesToSend = modelTypes.map(function (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\n typesAdded(typesToSend);\n\n var release = function () {\n releaseMethods.forEach(function (fn) {\n return fn();\n });\n _this.releaseMethods.removeObject(release);\n };\n this.releaseMethods.pushObject(release);\n return release;\n },\n _nameToClass: function (type) {\n var owner, Factory;\n\n if (typeof type === 'string') {\n owner = (0, _emberOwner.getOwner)(this);\n Factory = owner.factoryFor('model:' + type);\n\n type = Factory && Factory.class;\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: function (modelName, recordsAdded, recordsUpdated, recordsRemoved) {\n var _this2 = this;\n\n var releaseMethods = (0, _emberRuntime.A)();\n var klass = this._nameToClass(modelName);\n var records = this.getRecords(klass, modelName);\n var release = void 0;\n\n function recordUpdated(updatedRecord) {\n recordsUpdated([updatedRecord]);\n }\n\n var recordsToSend = records.map(function (record) {\n releaseMethods.push(_this2.observeRecord(record, recordUpdated));\n return _this2.wrapRecord(record);\n });\n\n var observer = {\n didChange: function (array, idx, removedCount, addedCount) {\n var i, record, wrapped;\n\n for (i = idx; i < idx + addedCount; i++) {\n record = (0, _emberMetal.objectAt)(array, i);\n wrapped = _this2.wrapRecord(record);\n\n releaseMethods.push(_this2.observeRecord(record, recordUpdated));\n recordsAdded([wrapped]);\n }\n\n if (removedCount) {\n recordsRemoved(idx, removedCount);\n }\n },\n willChange: function () {\n return this;\n }\n };\n (0, _emberMetal.addArrayObserver)(records, this, observer);\n\n release = function () {\n releaseMethods.forEach(function (fn) {\n return fn();\n });\n (0, _emberMetal.removeArrayObserver)(records, _this2, observer);\n _this2.releaseMethods.removeObject(release);\n };\n\n recordsAdded(recordsToSend);\n\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: function () {\n this._super.apply(this, arguments);\n this.releaseMethods.forEach(function (fn) {\n return fn();\n });\n },\n\n /**\n Detect whether a class is a model.\n Test that against the model class\n of your persistence library.\n @private\n @method detect\n @return boolean Whether the class is a model class or not.\n */\n detect: function () {\n return false;\n },\n\n /**\n Get the columns for a given model type.\n @private\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: function () {\n return (0, _emberRuntime.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\n observeModelType: function (modelName, typesUpdated) {\n var _this3 = this;\n\n var klass = this._nameToClass(modelName);\n var records = this.getRecords(klass, modelName);\n\n function onChange() {\n typesUpdated([this.wrapModelType(klass, modelName)]);\n }\n\n var observer = {\n didChange: function (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 willChange: function () {\n return this;\n }\n };\n\n (0, _emberMetal.addArrayObserver)(records, this, observer);\n\n return function () {\n return (0, _emberMetal.removeArrayObserver)(records, _this3, observer);\n };\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: function (klass, name) {\n var records = this.getRecords(klass, name);\n var typeToSend = void 0;\n\n typeToSend = {\n name: name,\n count: (0, _emberMetal.get)(records, 'length'),\n columns: this.columnsForType(klass),\n object: klass\n };\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: function () {\n var _this4 = this;\n\n var containerDebugAdapter = this.get('containerDebugAdapter');\n var types = void 0;\n\n if (containerDebugAdapter.canCatalogEntriesByType('model')) {\n types = containerDebugAdapter.catalogEntriesByType('model');\n } else {\n types = this._getObjectsOnNamespaces();\n }\n\n // New adapters return strings instead of classes.\n types = (0, _emberRuntime.A)(types).map(function (name) {\n return {\n klass: _this4._nameToClass(name),\n name: name\n };\n });\n types = (0, _emberRuntime.A)(types).filter(function (type) {\n return _this4.detect(type.klass);\n });\n\n return (0, _emberRuntime.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: function () {\n var _this5 = this;\n\n var namespaces = (0, _emberRuntime.A)(_emberRuntime.Namespace.NAMESPACES);\n var types = (0, _emberRuntime.A)();\n\n namespaces.forEach(function (namespace) {\n var name;\n\n for (var key in namespace) {\n if (!namespace.hasOwnProperty(key)) {\n continue;\n }\n // Even though we will filter again in `getModelTypes`,\n // we should not call `lookupFactory` on non-models\n if (!_this5.detect(namespace[key])) {\n continue;\n }\n name = (0, _string.dasherize)(key);\n\n types.push(name);\n }\n });\n return types;\n },\n\n /**\n Fetches all loaded records for a given type.\n @private\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: function () {\n return (0, _emberRuntime.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: function (record) {\n var recordToSend = { 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\n return recordToSend;\n },\n\n /**\n Gets the values for each column.\n @private\n @method getRecordColumnValues\n @return {Object} Keys should match column names defined\n by the model type.\n */\n getRecordColumnValues: function () {\n return {};\n },\n\n /**\n Returns keywords to match when searching records.\n @private\n @method getRecordKeywords\n @return {Array} Relevant keywords for search.\n */\n getRecordKeywords: function () {\n return (0, _emberRuntime.A)();\n },\n\n /**\n Returns the values of filters defined by `getFilters`.\n @private\n @method getRecordFilterValues\n @param {Object} record The record instance.\n @return {Object} The filter values.\n */\n getRecordFilterValues: function () {\n return {};\n },\n\n /**\n Each record can have a color that represents its state.\n @private\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: function () {\n return null;\n },\n\n /**\n Observes all relevant properties and re-sends the wrapped record\n when a change occurs.\n @private\n @method observerRecord\n @return {Function} The function to call to remove all observers.\n */\n observeRecord: function () {\n return function () {};\n }\n });\n});","enifed('ember-glimmer', ['exports', '@glimmer/runtime', '@glimmer/util', '@glimmer/node', 'ember-babel', '@glimmer/opcode-compiler', 'ember-owner', '@glimmer/reference', 'ember-runtime', 'ember-utils', 'ember-metal', '@ember/debug', 'ember-views', 'ember-browser-environment', '@ember/instrumentation', '@ember/service', 'node-module', '@ember/polyfills', 'ember-environment', '@ember/string', '@glimmer/wire-format', '@ember/deprecated-features', 'container', '@ember/runloop', 'rsvp', 'ember-routing'], function (exports, _runtime, _util, _node, _emberBabel, _opcodeCompiler, _emberOwner, _reference, _emberRuntime, _emberUtils, _emberMetal, _debug, _emberViews, _emberBrowserEnvironment, _instrumentation, _service, _nodeModule, _polyfills, _emberEnvironment, _string, _wireFormat, _deprecatedFeatures, _container, _runloop, _rsvp, _emberRouting) {\n 'use strict';\n\n exports.getComponentManager = exports.setComponentManager = exports.capabilities = exports.OutletView = exports.DebugStack = exports.iterableFor = exports.INVOKE = exports.UpdatableReference = exports.AbstractComponentManager = exports._experimentalMacros = exports._registerMacros = exports.setupApplicationRegistry = exports.setupEngineRegistry = exports.setTemplates = exports.getTemplates = exports.hasTemplate = exports.setTemplate = exports.getTemplate = exports.renderSettled = exports._resetRenderers = exports.InteractiveRenderer = exports.InertRenderer = exports.Renderer = exports.isHTMLSafe = exports.htmlSafe = exports.escapeExpression = exports.SafeString = exports.Environment = exports.helper = exports.Helper = exports.ROOT_REF = exports.Component = exports.LinkComponent = exports.TextArea = exports.TextField = exports.Checkbox = exports.template = exports.RootTemplate = exports.NodeDOMTreeConstruction = exports.isSerializationFirstNode = exports.DOMTreeConstruction = exports.DOMChanges = undefined;\n Object.defineProperty(exports, 'DOMChanges', {\n enumerable: true,\n get: function () {\n return _runtime.DOMChanges;\n }\n });\n Object.defineProperty(exports, 'DOMTreeConstruction', {\n enumerable: true,\n get: function () {\n return _runtime.DOMTreeConstruction;\n }\n });\n Object.defineProperty(exports, 'isSerializationFirstNode', {\n enumerable: true,\n get: function () {\n return _util.isSerializationFirstNode;\n }\n });\n Object.defineProperty(exports, 'NodeDOMTreeConstruction', {\n enumerable: true,\n get: function () {\n return _node.NodeDOMTreeConstruction;\n }\n });\n\n var _templateObject = (0, _emberBabel.taggedTemplateLiteralLoose)(['template:components/-default'], ['template:components/-default']),\n _templateObject2 = (0, _emberBabel.taggedTemplateLiteralLoose)(['component:-default'], ['component:-default']),\n _templateObject3 = (0, _emberBabel.taggedTemplateLiteralLoose)(['template:-root'], ['template:-root']),\n _templateObject4 = (0, _emberBabel.taggedTemplateLiteralLoose)(['template-compiler:main'], ['template-compiler:main']),\n AbstractRenderManager,\n _CAPABILITIES,\n SingletonRenderManager,\n NONSINGLETON_CAPABILITIES,\n NonSingletonRenderManager;\n\n var _CoreView$extend;\n\n function template(json) {\n return new FactoryWrapper((0, _opcodeCompiler.templateFactory)(json));\n }\n\n var FactoryWrapper = function () {\n function FactoryWrapper(factory) {\n\n this.factory = factory;\n this.id = factory.id;\n this.meta = factory.meta;\n }\n\n FactoryWrapper.prototype.create = function (injections) {\n var owner = (0, _emberOwner.getOwner)(injections);\n return this.factory.create(injections.compiler, { owner: owner });\n };\n\n return FactoryWrapper;\n }();\n\n var RootTemplate = template({ \"id\": \"Zi0CBVtc\", \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[27,\\\"component\\\",[[22,0,[]]],null],false]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/ember-glimmer/lib/templates/root.hbs\" } });\n\n /**\n @module @ember/component\n */\n var RECOMPUTE_TAG = (0, _emberUtils.symbol)('RECOMPUTE_TAG');\n function isHelperFactory(helper) {\n return typeof helper === 'object' && helper !== null && helper.class && helper.class.isHelperFactory;\n }\n function isSimpleHelper(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 ```handlebars\n <div>{{format-currency cents currency=\"$\"}}</div>\n ```\n \n Additionally a helper can be called as a nested helper (sometimes called a\n subexpression). In this example, the computed value of a helper is passed\n to a component named `show-money`:\n \n ```handlebars\n {{show-money amount=(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 Helper.extend({\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 var Helper = _emberRuntime.FrameworkObject.extend({\n init: function () {\n this._super.apply(this, arguments);\n this[RECOMPUTE_TAG] = _reference.DirtyableTag.create();\n },\n recompute: function () {\n this[RECOMPUTE_TAG].inner.dirty();\n }\n });\n Helper.isHelperFactory = true;\n\n var Wrapper = function () {\n function Wrapper(compute) {\n\n this.compute = compute;\n this.isHelperFactory = true;\n }\n\n Wrapper.prototype.create = function () {\n // needs new instance or will leak containers\n return {\n compute: this.compute\n };\n };\n\n return Wrapper;\n }();\n\n /**\n In many cases, the ceremony of a full `Helper` class is not required.\n The `helper` method create pure-function helpers without instances. For\n example:\n \n ```app/helpers/format-currency.js\n import { helper } from '@ember/component/helper';\n \n export default helper(function(params, hash) {\n let cents = params[0];\n let currency = hash.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 function helper(helperFn) {\n return new Wrapper(helperFn);\n }\n\n function _toBool(predicate) {\n if ((0, _emberRuntime.isArray)(predicate)) {\n return predicate.length !== 0;\n } else {\n return !!predicate;\n }\n }\n\n var UPDATE = (0, _emberUtils.symbol)('UPDATE');\n var INVOKE = (0, _emberUtils.symbol)('INVOKE');\n var ACTION = (0, _emberUtils.symbol)('ACTION');\n\n\n var EmberPathReference = function () {\n function EmberPathReference() {}\n\n EmberPathReference.prototype.get = function (key) {\n return PropertyReference.create(this, key);\n };\n\n return EmberPathReference;\n }();\n\n var CachedReference$1 = function (_EmberPathReference) {\n (0, _emberBabel.inherits)(CachedReference$1, _EmberPathReference);\n\n function CachedReference$1() {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _EmberPathReference.call(this));\n\n _this._lastRevision = null;\n _this._lastValue = null;\n return _this;\n }\n\n CachedReference$1.prototype.value = function () {\n var tag = this.tag,\n _lastRevision = this._lastRevision,\n _lastValue = this._lastValue;\n\n if (_lastRevision === null || !tag.validate(_lastRevision)) {\n _lastValue = this._lastValue = this.compute();\n this._lastRevision = tag.value();\n }\n return _lastValue;\n };\n\n return CachedReference$1;\n }(EmberPathReference);\n\n var RootReference = function (_ConstReference) {\n (0, _emberBabel.inherits)(RootReference, _ConstReference);\n\n function RootReference(value) {\n\n var _this2 = (0, _emberBabel.possibleConstructorReturn)(this, _ConstReference.call(this, value));\n\n _this2.children = Object.create(null);\n return _this2;\n }\n\n RootReference.prototype.get = function (propertyKey) {\n var ref = this.children[propertyKey];\n if (ref === undefined) {\n ref = this.children[propertyKey] = new RootPropertyReference(this.inner, propertyKey);\n }\n return ref;\n };\n\n return RootReference;\n }(_reference.ConstReference);\n\n var PropertyReference = function (_CachedReference$) {\n (0, _emberBabel.inherits)(PropertyReference, _CachedReference$);\n\n function PropertyReference() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$.apply(this, arguments));\n }\n\n PropertyReference.create = function (parentReference, propertyKey) {\n if ((0, _reference.isConst)(parentReference)) {\n return new RootPropertyReference(parentReference.value(), propertyKey);\n } else {\n return new NestedPropertyReference(parentReference, propertyKey);\n }\n };\n\n PropertyReference.prototype.get = function (key) {\n return new NestedPropertyReference(this, key);\n };\n\n return PropertyReference;\n }(CachedReference$1);\n\n var RootPropertyReference = function (_PropertyReference) {\n (0, _emberBabel.inherits)(RootPropertyReference, _PropertyReference);\n\n function RootPropertyReference(parentValue, propertyKey) {\n\n var _this4 = (0, _emberBabel.possibleConstructorReturn)(this, _PropertyReference.call(this));\n\n _this4._parentValue = parentValue;\n _this4._propertyKey = propertyKey;\n\n _this4.tag = (0, _emberMetal.tagForProperty)(parentValue, propertyKey);\n\n return _this4;\n }\n\n RootPropertyReference.prototype.compute = function () {\n var _parentValue = this._parentValue,\n _propertyKey = this._propertyKey;\n\n return (0, _emberMetal.get)(_parentValue, _propertyKey);\n };\n\n RootPropertyReference.prototype[UPDATE] = function (value) {\n (0, _emberMetal.set)(this._parentValue, this._propertyKey, value);\n };\n\n return RootPropertyReference;\n }(PropertyReference);\n\n var NestedPropertyReference = function (_PropertyReference2) {\n (0, _emberBabel.inherits)(NestedPropertyReference, _PropertyReference2);\n\n function NestedPropertyReference(parentReference, propertyKey) {\n\n var _this5 = (0, _emberBabel.possibleConstructorReturn)(this, _PropertyReference2.call(this));\n\n var parentReferenceTag = parentReference.tag;\n var parentObjectTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n _this5._parentReference = parentReference;\n _this5._parentObjectTag = parentObjectTag;\n _this5._propertyKey = propertyKey;\n\n _this5.tag = (0, _reference.combine)([parentReferenceTag, parentObjectTag]);\n\n return _this5;\n }\n\n NestedPropertyReference.prototype.compute = function () {\n var _parentReference = this._parentReference,\n _parentObjectTag = this._parentObjectTag,\n _propertyKey = this._propertyKey;\n\n var parentValue = _parentReference.value();\n _parentObjectTag.inner.update((0, _emberMetal.tagForProperty)(parentValue, _propertyKey));\n var parentValueType = typeof parentValue;\n if (parentValueType === 'string' && _propertyKey === 'length') {\n return parentValue.length;\n }\n if (parentValueType === 'object' && parentValue !== null || parentValueType === 'function') {\n return (0, _emberMetal.get)(parentValue, _propertyKey);\n } else {\n return undefined;\n }\n };\n\n NestedPropertyReference.prototype[UPDATE] = function (value) {\n var parent = this._parentReference.value();\n (0, _emberMetal.set)(parent, this._propertyKey, value);\n };\n\n return NestedPropertyReference;\n }(PropertyReference);\n\n var UpdatableReference = function (_EmberPathReference2) {\n (0, _emberBabel.inherits)(UpdatableReference, _EmberPathReference2);\n\n function UpdatableReference(value) {\n\n var _this6 = (0, _emberBabel.possibleConstructorReturn)(this, _EmberPathReference2.call(this));\n\n _this6.tag = _reference.DirtyableTag.create();\n _this6._value = value;\n return _this6;\n }\n\n UpdatableReference.prototype.value = function () {\n return this._value;\n };\n\n UpdatableReference.prototype.update = function (value) {\n var _value = this._value;\n\n if (value !== _value) {\n this.tag.inner.dirty();\n this._value = value;\n }\n };\n\n return UpdatableReference;\n }(EmberPathReference);\n\n var ConditionalReference$1 = function (_ConditionalReference) {\n (0, _emberBabel.inherits)(ConditionalReference$1, _ConditionalReference);\n\n ConditionalReference$1.create = function (reference) {\n var value;\n\n if ((0, _reference.isConst)(reference)) {\n value = reference.value();\n\n if ((0, _emberUtils.isProxy)(value)) {\n return new RootPropertyReference(value, 'isTruthy');\n } else {\n return _runtime.PrimitiveReference.create(_toBool(value));\n }\n }\n return new ConditionalReference$1(reference);\n };\n\n function ConditionalReference$1(reference) {\n\n var _this7 = (0, _emberBabel.possibleConstructorReturn)(this, _ConditionalReference.call(this, reference));\n\n _this7.objectTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n _this7.tag = (0, _reference.combine)([reference.tag, _this7.objectTag]);\n return _this7;\n }\n\n ConditionalReference$1.prototype.toBool = function (predicate) {\n if ((0, _emberUtils.isProxy)(predicate)) {\n this.objectTag.inner.update((0, _emberMetal.tagForProperty)(predicate, 'isTruthy'));\n return (0, _emberMetal.get)(predicate, 'isTruthy');\n } else {\n this.objectTag.inner.update((0, _emberMetal.tagFor)(predicate));\n return _toBool(predicate);\n }\n };\n\n return ConditionalReference$1;\n }(_runtime.ConditionalReference);\n\n var SimpleHelperReference = function (_CachedReference$2) {\n (0, _emberBabel.inherits)(SimpleHelperReference, _CachedReference$2);\n\n SimpleHelperReference.create = function (helper$$1, args) {\n var positional, named, positionalValue, namedValue, result;\n\n if ((0, _reference.isConst)(args)) {\n positional = args.positional, named = args.named;\n positionalValue = positional.value();\n namedValue = named.value();\n result = helper$$1(positionalValue, namedValue);\n\n return valueToRef(result);\n } else {\n return new SimpleHelperReference(helper$$1, args);\n }\n };\n\n function SimpleHelperReference(helper$$1, args) {\n\n var _this8 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$2.call(this));\n\n _this8.tag = args.tag;\n _this8.helper = helper$$1;\n _this8.args = args;\n return _this8;\n }\n\n SimpleHelperReference.prototype.compute = function () {\n var helper$$1 = this.helper,\n _args2 = this.args,\n positional = _args2.positional,\n named = _args2.named;\n\n var positionalValue = positional.value();\n var namedValue = named.value();\n\n return helper$$1(positionalValue, namedValue);\n };\n\n return SimpleHelperReference;\n }(CachedReference$1);\n\n var ClassBasedHelperReference = function (_CachedReference$3) {\n (0, _emberBabel.inherits)(ClassBasedHelperReference, _CachedReference$3);\n\n ClassBasedHelperReference.create = function (instance, args) {\n return new ClassBasedHelperReference(instance, args);\n };\n\n function ClassBasedHelperReference(instance, args) {\n\n var _this9 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$3.call(this));\n\n _this9.tag = (0, _reference.combine)([instance[RECOMPUTE_TAG], args.tag]);\n _this9.instance = instance;\n _this9.args = args;\n return _this9;\n }\n\n ClassBasedHelperReference.prototype.compute = function () {\n var instance = this.instance,\n _args3 = this.args,\n positional = _args3.positional,\n named = _args3.named;\n\n var positionalValue = positional.value();\n var namedValue = named.value();\n\n return instance.compute(positionalValue, namedValue);\n };\n\n return ClassBasedHelperReference;\n }(CachedReference$1);\n\n var InternalHelperReference = function (_CachedReference$4) {\n (0, _emberBabel.inherits)(InternalHelperReference, _CachedReference$4);\n\n function InternalHelperReference(helper$$1, args) {\n\n var _this10 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$4.call(this));\n\n _this10.tag = args.tag;\n _this10.helper = helper$$1;\n _this10.args = args;\n return _this10;\n }\n\n InternalHelperReference.prototype.compute = function () {\n var helper$$1 = this.helper,\n args = this.args;\n\n return helper$$1(args);\n };\n\n return InternalHelperReference;\n }(CachedReference$1);\n\n var UnboundReference = function (_ConstReference2) {\n (0, _emberBabel.inherits)(UnboundReference, _ConstReference2);\n\n function UnboundReference() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _ConstReference2.apply(this, arguments));\n }\n\n UnboundReference.create = function (value) {\n return valueToRef(value, false);\n };\n\n UnboundReference.prototype.get = function (key) {\n return valueToRef((0, _emberMetal.get)(this.inner, key), false);\n };\n\n return UnboundReference;\n }(_reference.ConstReference);\n\n var ReadonlyReference = function (_CachedReference$5) {\n (0, _emberBabel.inherits)(ReadonlyReference, _CachedReference$5);\n\n function ReadonlyReference(inner) {\n\n var _this12 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$5.call(this));\n\n _this12.inner = inner;\n return _this12;\n }\n\n ReadonlyReference.prototype.compute = function () {\n return this.inner.value();\n };\n\n ReadonlyReference.prototype.get = function (key) {\n return this.inner.get(key);\n };\n\n (0, _emberBabel.createClass)(ReadonlyReference, [{\n key: 'tag',\n get: function () {\n return this.inner.tag;\n }\n }, {\n key: INVOKE,\n get: function () {\n return this.inner[INVOKE];\n }\n }]);\n return ReadonlyReference;\n }(CachedReference$1);\n\n function referenceFromParts(root, parts) {\n var reference = root,\n i;\n for (i = 0; i < parts.length; i++) {\n reference = reference.get(parts[i]);\n }\n return reference;\n }\n function valueToRef(value) {\n var bound = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n\n if (value !== null && typeof value === 'object') {\n // root of interop with ember objects\n return bound ? new RootReference(value) : new UnboundReference(value);\n }\n // ember doesn't do observing with functions\n if (typeof value === 'function') {\n return new UnboundReference(value);\n }\n return _runtime.PrimitiveReference.create(value);\n }\n\n var DIRTY_TAG = (0, _emberUtils.symbol)('DIRTY_TAG');\n var ARGS = (0, _emberUtils.symbol)('ARGS');\n var ROOT_REF = (0, _emberUtils.symbol)('ROOT_REF');\n var IS_DISPATCHING_ATTRS = (0, _emberUtils.symbol)('IS_DISPATCHING_ATTRS');\n var HAS_BLOCK = (0, _emberUtils.symbol)('HAS_BLOCK');\n var BOUNDS = (0, _emberUtils.symbol)('BOUNDS');\n /**\n @module @ember/component\n */\n /**\n A `Component` is a view that is completely\n isolated. Properties accessed in its templates go\n to the view object and actions are targeted at\n the view object. There is no access to the\n surrounding context or outer controller; all\n contextual information must be passed in.\n \n The easiest way to create a `Component` is via\n a template. If you name a template\n `app/components/my-foo.hbs`, you will be able to use\n `{{my-foo}}` in other templates, which will make\n an instance of the isolated component.\n \n ```app/components/my-foo.hbs\n {{person-profile person=currentUser}}\n ```\n \n ```app/components/person-profile.hbs\n <h1>{{person.title}}</h1>\n <img src={{person.avatar}}>\n <p class='signature'>{{person.signature}}</p>\n ```\n \n You can use `yield` inside a template to\n include the **contents** of any block attached to\n the component. The block will be executed in the\n context of the surrounding context or outer controller:\n \n ```handlebars\n {{#person-profile person=currentUser}}\n <p>Admin mode</p>\n {{! Executed in the controller's context. }}\n {{/person-profile}}\n ```\n \n ```app/components/person-profile.hbs\n <h1>{{person.title}}</h1>\n {{! Executed in the component's context. }}\n {{yield}} {{! block contents }}\n ```\n \n If you want to customize the component, in order to\n handle events or actions, you implement a subclass\n of `Component` named after the name of the\n component.\n \n For example, you could implement the action\n `hello` for the `person-profile` 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.title}}</h1>\n {{yield}} <!-- block contents -->\n <button {{action 'hello' person.name}}>\n Say Hello to {{person.name}}\n </button>\n ```\n \n Components must have a `-` in their name to avoid\n conflicts with built-in controls that wrap HTML\n elements. This is consistent with the same\n requirement in web components.\n \n ## HTML Tag\n \n The default HTML tag name used for a component's DOM representation is `div`.\n This can be customized by setting the `tagName` property.\n 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 Would result in instances with the following HTML:\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 Will result in component instances with an HTML representation of:\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 value\n of these properties will be added as part of the value for the components's `class`\n 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 classNameBindings: ['propertyA', 'propertyB'],\n \n propertyA: 'from-a',\n propertyB: computed(function() {\n if (someLogic) { return 'from-b'; }\n })\n });\n ```\n \n Will result in component instances with an HTML representation of:\n \n ```html\n <div id=\"ember1\" class=\"ember-view 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.\n The class name 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 Will result in component instances with an HTML representation of:\n \n ```html\n <div id=\"ember1\" class=\"ember-view hovered\"></div>\n ```\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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\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\n 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 Will result in component instances with an HTML representation of:\n \n ```html\n <div id=\"ember1\" class=\"ember-view\"></div>\n ```\n \n When the `isEnabled` property on the component is set to `false`, it will result\n in component instances with an HTML representation of:\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\n update 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 Both `classNames` and `classNameBindings` are concatenated properties. See\n [EmberObject](/api/ember/release/classes/EmberObject) documentation for more\n information about concatenated properties.\n \n ## 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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\n \n ```html\n <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n ```\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 Will result in component instances with an HTML representation of:\n \n ```html\n <use xlink:href=\"#triangle\"></use>\n ```\n \n If the return value of an `attributeBindings` monitored property is a boolean\n the 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 Will result in a component instance with an HTML representation of:\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 return value of the `attributeBindings` monitored property:\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 rendered HTML representation.\n `attributeBindings` is a concatenated property. See [EmberObject](/api/ember/release/classes/EmberObject)\n documentation for more information about concatenated properties.\n \n ## Layouts\n \n See [Ember.Templates.helpers.yield](/api/ember/release/classes/Ember.Templates.helpers/methods/yield?anchor=yield)\n for more information.\n \n Layout can be used to wrap content in a component. In addition\n to wrapping content in a Component's template, you can also use\n the public layout API in your Component JavaScript.\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 The above 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 ## Responding to Browser Events\n \n Components can respond to user-initiated events in one of three ways: method\n implementation, through an event manager, and through `{{action}}` helper use\n in their template or layout.\n \n ### Method Implementation\n \n Components can respond to user-initiated events by implementing a method that\n matches the event name. A `jQuery.Event` object will be passed as the\n argument to this method.\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n \n export default Component.extend({\n click(event) {\n // will be called when an instance's\n // rendered element is clicked\n }\n });\n ```\n \n ### `{{action}}` Helper\n \n See [Ember.Templates.helpers.action](/api/ember/release/classes/Ember.Templates.helpers/methods/yield?anchor=yield).\n \n ### Event Names\n \n All of the event handling approaches described above respond to the same set\n of events. The names of the built-in events are listed below. (The hash of\n built-in events exists in `Ember.EventDispatcher`.) Additional, custom events\n can be registered 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 * `mouseMove`\n * `focusIn`\n * `focusOut`\n * `mouseEnter`\n * `mouseLeave`\n \n Form events:\n \n * `submit`\n * `change`\n * `focusIn`\n * `focusOut`\n * `input`\n \n HTML5 drag and drop events:\n \n * `dragStart`\n * `drag`\n * `dragEnter`\n * `dragLeave`\n * `dragOver`\n * `dragEnd`\n * `drop`\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 var Component = _emberViews.CoreView.extend(_emberViews.ChildViewsSupport, _emberViews.ViewStateSupport, _emberViews.ClassNamesSupport, _emberRuntime.TargetActionSupport, _emberViews.ActionSupport, _emberViews.ViewMixin, (_CoreView$extend = {\n isComponent: true,\n init: function () {\n var _this13 = this;\n\n this._super.apply(this, arguments);\n this[IS_DISPATCHING_ATTRS] = false;\n this[DIRTY_TAG] = _reference.DirtyableTag.create();\n this[ROOT_REF] = new RootReference(this);\n this[BOUNDS] = null;\n // If in a tagless component, assert that no event handlers are defined\n false && !(this.tagName !== '' || !this.renderer._destinedForDOM || !function () {\n var eventDispatcher = (0, _emberOwner.getOwner)(_this13).lookup('event_dispatcher:main'),\n methodName;\n var events = eventDispatcher && eventDispatcher._finalEvents || {};\n // tslint:disable-next-line:forin\n for (var key in events) {\n methodName = events[key];\n\n if (typeof _this13[methodName] === 'function') {\n return true; // indicate that the assertion should be triggered\n }\n }\n return false;\n }()) && (0, _debug.assert)('You can not define a function that handles DOM events in the `' + this + '` tagless component since it doesn\\'t have any DOM element.', this.tagName !== '' || !this.renderer._destinedForDOM || !function () {\n var eventDispatcher = (0, _emberOwner.getOwner)(_this13).lookup('event_dispatcher:main'),\n methodName;var events = eventDispatcher && eventDispatcher._finalEvents || {};for (var key in events) {\n methodName = events[key];\n if (typeof _this13[methodName] === 'function') {\n return true;\n }\n }return false;\n }());\n },\n rerender: function () {\n this[DIRTY_TAG].inner.dirty();\n this._super();\n }\n }, _CoreView$extend[_emberMetal.PROPERTY_DID_CHANGE] = function (key) {\n if (this[IS_DISPATCHING_ATTRS]) {\n return;\n }\n var args = this[ARGS];\n var reference = args !== undefined ? args[key] : undefined;\n if (reference !== undefined && reference[UPDATE] !== undefined) {\n reference[UPDATE]((0, _emberMetal.get)(this, key));\n }\n }, _CoreView$extend.getAttr = function (key) {\n // TODO Intimate API should be deprecated\n return this.get(key);\n }, _CoreView$extend.readDOMAttr = function (name) {\n // TODO revisit this\n var element = (0, _emberViews.getViewElement)(this);\n var isSVG = element.namespaceURI === _runtime.SVG_NAMESPACE;\n\n var _normalizeProperty = (0, _runtime.normalizeProperty)(element, name),\n type = _normalizeProperty.type,\n normalized = _normalizeProperty.normalized;\n\n if (isSVG || type === 'attr') {\n return element.getAttribute(normalized);\n }\n return element[normalized];\n }, _CoreView$extend));\n Component.toString = function () {\n return '@ember/component';\n };\n Component.reopenClass({\n isComponentFactory: true,\n positionalParams: []\n });\n\n var layout = template({ \"id\": \"5jp2oO+o\", \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/ember-glimmer/lib/templates/empty.hbs\" } });\n\n /**\n @module @ember/component\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](/api/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 var Checkbox = Component.extend({\n layout: layout,\n classNames: ['ember-checkbox'],\n tagName: 'input',\n attributeBindings: ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form'],\n type: 'checkbox',\n disabled: false,\n indeterminate: false,\n didInsertElement: function () {\n this._super.apply(this, arguments);\n (0, _emberMetal.get)(this, 'element').indeterminate = !!(0, _emberMetal.get)(this, 'indeterminate');\n },\n change: function () {\n (0, _emberMetal.set)(this, 'checked', this.element.checked);\n }\n });\n Checkbox.toString = function () {\n return '@ember/component/checkbox';\n };\n\n /**\n @module @ember/component\n */\n var inputTypes = Object.create(null);\n function canSetTypeOfInput(type) {\n if (type in inputTypes) {\n return inputTypes[type];\n }\n // if running in outside of a browser always return the\n // original type\n if (!_emberBrowserEnvironment.hasDOM) {\n inputTypes[type] = type;\n return type;\n }\n var inputTypeTestElement = document.createElement('input');\n try {\n inputTypeTestElement.type = type;\n } catch (e) {\n // ignored\n }\n return inputTypes[type] = inputTypeTestElement.type === type;\n }\n /**\n \n The internal class used to create text inputs when the `{{input}}`\n helper is used with `type` of `text`.\n \n See [Ember.Templates.helpers.input](/api/ember/release/classes/Ember.Templates.helpers/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 var TextField = Component.extend(_emberViews.TextSupport, {\n layout: layout,\n classNames: ['ember-text-field'],\n tagName: 'input',\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 The `value` attribute of the input element. As the user inputs text, this\n property is updated live.\n @property value\n @type String\n @default \"\"\n @public\n */\n value: '',\n /**\n The `type` attribute of the input element.\n @property type\n @type String\n @default \"text\"\n @public\n */\n type: (0, _emberMetal.computed)({\n get: function () {\n return 'text';\n },\n set: function (_key, value) {\n var type = 'text';\n if (canSetTypeOfInput(value)) {\n type = value;\n }\n return type;\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 The `pattern` attribute of input element.\n @property pattern\n @type String\n @default null\n @public\n */\n pattern: null,\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 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 TextField.toString = function () {\n return '@ember/component/text-field';\n };\n\n /**\n @module @ember/component\n */\n /**\n `{{textarea}}` inserts a new instance of `<textarea>` tag into the template.\n The attributes of `{{textarea}}` match those of the native HTML tags as\n closely as possible.\n \n The following HTML attributes can be set:\n \n * `value`\n * `name`\n * `rows`\n * `cols`\n * `placeholder`\n * `disabled`\n * `maxlength`\n * `tabindex`\n * `selectionEnd`\n * `selectionStart`\n * `autocomplete`\n * `selectionDirection`\n * `wrap`\n * `readonly`\n * `autofocus`\n * `form`\n * `spellcheck`\n * `required`\n \n When set to a quoted string, these value will be directly applied to the HTML\n element. When left unquoted, these values will be bound to a property on the\n template's current rendering context (most typically a controller instance).\n \n Unbound:\n \n ```handlebars\n {{textarea value=\"Lots of static text that ISN'T bound\"}}\n ```\n \n Would result in the following HTML:\n \n ```html\n <textarea class=\"ember-text-area\">\n Lots of static text that ISN'T bound\n </textarea>\n ```\n \n Bound:\n \n In the following example, the `writtenWords` property on the application\n Controller will be updated live as the user types 'Lots of text that IS\n bound' into the text area of their browser's window.\n \n ```app/controllers/application.js\n import Controller from '@ember/controller';\n \n export default Controller.extend({\n 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 between the text area and a div tag\n somewhere else on your screen, you could use `oneWay`:\n \n ```app/controllers/application.js\n import Controller from '@ember/controller';\n import { oneWay } from '@ember/object/computed';\n \n export default Controller.extend({\n writtenWords: \"Lots of text that IS bound\",\n \n outputWrittenWords: oneWay(\"writtenWords\")\n });\n ```\n \n ```handlebars\n {{textarea value=writtenWords}}\n <div>\n {{outputWrittenWords}}\n </div>\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 <-- the following div will be updated in real time as you type -->\n <div>\n Lots of text that IS bound\n </div>\n ```\n \n Finally, this example really shows the power and ease of Ember when two\n properties are bound to eachother via `alias`. Type into\n either text area box and they'll both stay in sync. Note that\n `alias` costs more in terms of performance, so only use it when\n your really binding in both directions:\n \n ```app/controllers/application.js\n import Controller from '@ember/controller';\n import { alias } from '@ember/object/computed';\n \n export default Controller.extend({\n writtenWords: \"Lots of text that IS bound\",\n \n twoWayWrittenWords: alias(\"writtenWords\")\n });\n ```\n \n ```handlebars\n {{textarea value=writtenWords}}\n {{textarea value=twoWayWrittenWords}}\n ```\n \n ```html\n <textarea id=\"ember1\" class=\"ember-text-area\">\n Lots of text that IS bound\n </textarea>\n <-- both updated in real time -->\n <textarea id=\"ember2\" class=\"ember-text-area\">\n Lots of text that IS bound\n </textarea>\n ```\n \n ### Actions\n \n The helper can send multiple actions based on user events.\n The action property defines the action which is send when\n the user presses the return key.\n \n ```handlebars\n {{input action=\"submit\"}}\n ```\n \n The helper allows some user events to send actions.\n \n * `enter`\n * `insert-newline`\n * `escape-press`\n * `focus-in`\n * `focus-out`\n * `key-press`\n \n For example, if you desire an action to be sent when the input is blurred,\n you only need to setup the action name to the event name property.\n \n ```handlebars\n {{textarea focus-out=\"alertMessage\"}}\n ```\n \n See more about [Text Support Actions](/api/ember/release/classes/TextArea)\n \n ### Extension\n \n Internally, `{{textarea}}` creates an instance of `TextArea`, passing\n arguments from the helper to `TextArea`'s `create` method. You can\n extend the capabilities of text areas in your application by reopening this\n class. For example, if you are building a Bootstrap project where `data-*`\n attributes are used, you can globally add support for a `data-*` attribute\n on all `{{textarea}}`s' in your app by reopening `TextArea` or\n `TextSupport` and adding it to the `attributeBindings` concatenated\n property:\n \n ```javascript\n import TextArea from '@ember/component/text-area';\n \n TextArea.reopen({\n attributeBindings: ['data-error']\n });\n ```\n \n Keep in mind when writing `TextArea` subclasses that `TextArea`\n itself extends `Component`. Expect isolated component semantics, not\n legacy 1.x view semantics (like `controller` being present).\n \n See more about [Ember components](/api/ember/release/classes/Component)\n \n @method textarea\n @for Ember.Templates.helpers\n @param {Hash} options\n @public\n */\n /**\n The internal class used to create textarea element when the `{{textarea}}`\n helper is used.\n \n See [Ember.Templates.helpers.textarea](/api/ember/release/classes/Ember.Templates.helpers/methods/textarea?anchor=textarea) for usage details.\n \n ## 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 @class TextArea\n @extends Component\n @uses Ember.TextSupport\n @public\n */\n var TextArea = Component.extend(_emberViews.TextSupport, {\n classNames: ['ember-text-area'],\n layout: layout,\n tagName: 'textarea',\n attributeBindings: ['rows', 'cols', 'name', 'selectionEnd', 'selectionStart', 'autocomplete', 'wrap', 'lang', 'dir', 'value'],\n rows: null,\n cols: null\n });\n TextArea.toString = function () {\n return '@ember/component/text-area';\n };\n\n var layout$1 = template({ \"id\": \"/tT8MjC4\", \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,[\\\"linkTitle\\\"]]],null,{\\\"statements\\\":[[1,[21,\\\"linkTitle\\\"],false]],\\\"parameters\\\":[]},{\\\"statements\\\":[[14,1]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/ember-glimmer/lib/templates/link-to.hbs\" } });\n\n /**\n @module ember\n */\n /**\n @module @ember/routing\n */\n /**\n `LinkComponent` renders an element whose `click` event triggers a\n transition of the application's instance of `Router` to\n a supplied route by name.\n \n `LinkComponent` components are invoked with {{#link-to}}. Properties\n of this class can be overridden with `reopen` to customize application-wide\n behavior.\n \n @class LinkComponent\n @extends Component\n @see {Ember.Templates.helpers.link-to}\n @public\n **/\n var LinkComponent = Component.extend({\n layout: layout$1,\n tagName: 'a',\n /**\n Used to determine when this `LinkComponent` is active.\n @property current-when\n @public\n */\n 'current-when': null,\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 Sets the `rel` attribute of the `LinkComponent`'s HTML element.\n @property rel\n @default null\n @public\n **/\n rel: null,\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 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 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 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 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 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 By default the `{{link-to}}` component will bind to the `href` and\n `title` attributes. It's discouraged that you override these defaults,\n however you can push onto the array if needed.\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 By default the `{{link-to}}` component will bind to the `active`, `loading`,\n and `disabled` classes. It is discouraged to override these directly.\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 By default the `{{link-to}}` component responds to the `click` event. You\n can override this globally by setting this property to your custom\n event name.\n This is particularly useful on mobile when one wants to avoid the 300ms\n click delay using some sort of custom `tap` event.\n @property eventName\n @type String\n @default click\n @private\n */\n eventName: 'click',\n init: function () {\n this._super.apply(this, arguments);\n // Map desired event name to invoke function\n var eventName = (0, _emberMetal.get)(this, 'eventName');\n this.on(eventName, this, this._invoke);\n },\n\n _routing: (0, _service.inject)('-routing'),\n /**\n Accessed as a classname binding to apply the `LinkComponent`'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, _emberMetal.computed)({\n get: function () {\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 occured\n return false;\n },\n set: function (_key, value) {\n this._isDisabled = value;\n return value ? (0, _emberMetal.get)(this, 'disabledClass') : false;\n }\n }),\n _isActive: function (routerState) {\n if ((0, _emberMetal.get)(this, 'loading')) {\n return false;\n }\n var currentWhen = (0, _emberMetal.get)(this, 'current-when'),\n i;\n if (typeof currentWhen === 'boolean') {\n return currentWhen;\n }\n var isCurrentWhenSpecified = !!currentWhen;\n currentWhen = currentWhen || (0, _emberMetal.get)(this, 'qualifiedRouteName');\n currentWhen = currentWhen.split(' ');\n var routing = (0, _emberMetal.get)(this, '_routing');\n var models = (0, _emberMetal.get)(this, 'models');\n var resolvedQueryParams = (0, _emberMetal.get)(this, 'resolvedQueryParams');\n for (i = 0; i < currentWhen.length; i++) {\n if (routing.isActiveForRoute(models, resolvedQueryParams, currentWhen[i], routerState, isCurrentWhenSpecified)) {\n return true;\n }\n }\n return false;\n },\n\n /**\n Accessed as a classname binding to apply the `LinkComponent`'s `activeClass`\n CSS `class` to the element when the link is active.\n A `LinkComponent` is considered active when its `currentWhen` property is `true`\n or the application's current route is the route the `LinkComponent` 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, _emberMetal.computed)('activeClass', '_active', function () {\n return this.get('_active') ? (0, _emberMetal.get)(this, 'activeClass') : false;\n }),\n _active: (0, _emberMetal.computed)('_routing.currentState', 'attrs.params', function () {\n var currentState = (0, _emberMetal.get)(this, '_routing.currentState');\n if (!currentState) {\n return false;\n }\n return this._isActive(currentState);\n }),\n willBeActive: (0, _emberMetal.computed)('_routing.targetState', function () {\n var routing = (0, _emberMetal.get)(this, '_routing');\n var targetState = (0, _emberMetal.get)(routing, 'targetState');\n if ((0, _emberMetal.get)(routing, 'currentState') === targetState) {\n return;\n }\n return this._isActive(targetState);\n }),\n transitioningIn: (0, _emberMetal.computed)('active', 'willBeActive', function () {\n if ((0, _emberMetal.get)(this, 'willBeActive') === true && !(0, _emberMetal.get)(this, '_active')) {\n return 'ember-transitioning-in';\n } else {\n return false;\n }\n }),\n transitioningOut: (0, _emberMetal.computed)('active', 'willBeActive', function () {\n if ((0, _emberMetal.get)(this, 'willBeActive') === false && (0, _emberMetal.get)(this, '_active')) {\n return 'ember-transitioning-out';\n } else {\n return false;\n }\n }),\n _invoke: function (event) {\n if (!(0, _emberViews.isSimpleClick)(event)) {\n return true;\n }\n var preventDefault = (0, _emberMetal.get)(this, 'preventDefault');\n var targetAttribute = (0, _emberMetal.get)(this, 'target');\n if (preventDefault !== false) {\n if (!targetAttribute || targetAttribute === '_self') {\n event.preventDefault();\n }\n }\n if ((0, _emberMetal.get)(this, 'bubbles') === false) {\n event.stopPropagation();\n }\n if (this._isDisabled) {\n return false;\n }\n if ((0, _emberMetal.get)(this, 'loading')) {\n false && (0, _debug.warn)('This link-to is in an inactive loading state because at least one of its parameters presently has a null/undefined value, or the provided route name is invalid.', false, {\n id: 'ember-glimmer.link-to.inactive-loading-state'\n });\n\n return false;\n }\n if (targetAttribute && targetAttribute !== '_self') {\n return false;\n }\n var qualifiedRouteName = (0, _emberMetal.get)(this, 'qualifiedRouteName');\n var models = (0, _emberMetal.get)(this, 'models');\n var queryParams = (0, _emberMetal.get)(this, 'queryParams.values');\n var shouldReplace = (0, _emberMetal.get)(this, 'replace');\n var payload = {\n queryParams: queryParams,\n routeName: qualifiedRouteName\n };\n // tslint:disable-next-line:max-line-length\n (0, _instrumentation.flaggedInstrument)('interaction.link-to', payload, this._generateTransition(payload, qualifiedRouteName, models, queryParams, shouldReplace));\n return false;\n },\n _generateTransition: function (payload, qualifiedRouteName, models, queryParams, shouldReplace) {\n var routing = (0, _emberMetal.get)(this, '_routing');\n return function () {\n payload.transition = routing.transitionTo(qualifiedRouteName, models, queryParams, shouldReplace);\n };\n },\n\n queryParams: null,\n qualifiedRouteName: (0, _emberMetal.computed)('targetRouteName', '_routing.currentState', function () {\n var params = (0, _emberMetal.get)(this, 'params');\n var paramsLength = params.length;\n var lastParam = params[paramsLength - 1];\n if (lastParam && lastParam.isQueryParams) {\n paramsLength--;\n }\n var onlyQueryParamsSupplied = this[HAS_BLOCK] ? paramsLength === 0 : paramsLength === 1;\n if (onlyQueryParamsSupplied) {\n return (0, _emberMetal.get)(this, '_routing.currentRouteName');\n }\n return (0, _emberMetal.get)(this, 'targetRouteName');\n }),\n resolvedQueryParams: (0, _emberMetal.computed)('queryParams', function () {\n var resolvedQueryParams = {};\n var queryParams = (0, _emberMetal.get)(this, 'queryParams');\n if (!queryParams) {\n return resolvedQueryParams;\n }\n var values = queryParams.values;\n for (var key in values) {\n if (!values.hasOwnProperty(key)) {\n continue;\n }\n resolvedQueryParams[key] = values[key];\n }\n return resolvedQueryParams;\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, _emberMetal.computed)('models', 'qualifiedRouteName', function () {\n if ((0, _emberMetal.get)(this, 'tagName') !== 'a') {\n return;\n }\n var qualifiedRouteName = (0, _emberMetal.get)(this, 'qualifiedRouteName');\n var models = (0, _emberMetal.get)(this, 'models');\n if ((0, _emberMetal.get)(this, 'loading')) {\n return (0, _emberMetal.get)(this, 'loadingHref');\n }\n var routing = (0, _emberMetal.get)(this, '_routing');\n var queryParams = (0, _emberMetal.get)(this, 'queryParams.values');\n\n return routing.generateURL(qualifiedRouteName, models, queryParams);\n }),\n loading: (0, _emberMetal.computed)('_modelsAreLoaded', 'qualifiedRouteName', function () {\n var qualifiedRouteName = (0, _emberMetal.get)(this, 'qualifiedRouteName');\n var modelsAreLoaded = (0, _emberMetal.get)(this, '_modelsAreLoaded');\n if (!modelsAreLoaded || qualifiedRouteName === null || qualifiedRouteName === undefined) {\n return (0, _emberMetal.get)(this, 'loadingClass');\n }\n }),\n _modelsAreLoaded: (0, _emberMetal.computed)('models', function () {\n var models = (0, _emberMetal.get)(this, 'models'),\n i,\n model;\n for (i = 0; i < models.length; i++) {\n model = models[i];\n\n if (model === null || model === undefined) {\n return false;\n }\n }\n return true;\n }),\n _getModels: function (params) {\n var modelCount = params.length - 1,\n i,\n value;\n var models = new Array(modelCount);\n for (i = 0; i < modelCount; i++) {\n value = params[i + 1];\n\n models[i] = value;\n }\n return models;\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 didReceiveAttrs: function () {\n var queryParams = void 0;\n var params = (0, _emberMetal.get)(this, 'params');\n if (params) {\n // Do not mutate params in place\n params = params.slice();\n }\n false && !(params && params.length) && (0, _debug.assert)('You must provide one or more parameters to the link-to component.', params && params.length);\n\n var disabledWhen = (0, _emberMetal.get)(this, 'disabledWhen');\n if (disabledWhen !== undefined) {\n this.set('disabled', disabledWhen);\n }\n // Process the positional arguments, in order.\n // 1. Inline link title comes first, if present.\n if (!this[HAS_BLOCK]) {\n this.set('linkTitle', params.shift());\n }\n // 2. `targetRouteName` is now always at index 0.\n this.set('targetRouteName', params[0]);\n // 3. The last argument (if still remaining) is the `queryParams` object.\n var lastParam = params[params.length - 1];\n if (lastParam && lastParam.isQueryParams) {\n queryParams = params.pop();\n } else {\n queryParams = { values: {} };\n }\n this.set('queryParams', queryParams);\n // 4. Any remaining indices (excepting `targetRouteName` at 0) are `models`.\n if (params.length > 1) {\n this.set('models', this._getModels(params));\n } else {\n this.set('models', []);\n }\n }\n });\n LinkComponent.toString = function () {\n return '@ember/routing/link-component';\n };\n LinkComponent.reopenClass({\n positionalParams: 'params'\n });\n\n // @ts-check\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 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 ```javascript\n var developers = [{ name: 'Yehuda' },{ name: 'Tom' }, { name: 'Paul' }];\n ```\n \n ```handlebars\n {{#each developers key=\"name\" as |person|}}\n {{person.name}}\n {{! `this` is whatever it was outside the #each }}\n {{/each}}\n ```\n \n The same rules apply to arrays of primitives.\n \n ```javascript\n var developerNames = ['Yehuda', 'Tom', 'Paul']\n ```\n \n ```handlebars\n {{#each developerNames key=\"@index\" as |name|}}\n {{name}}\n {{/each}}\n ```\n \n During iteration, the index of each item in the array is provided as a second block parameter.\n \n ```handlebars\n <ul>\n {{#each people 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 The `key` option is used to tell Ember how to determine if the array being\n iterated over with `{{#each}}` has changed between renders. By helping Ember\n detect that some elements in the array are the same, DOM elements can be\n re-used, significantly improving rendering speed.\n \n For example, here's the `{{#each}}` helper with its `key` set to `id`:\n \n ```handlebars\n {{#each model key=\"id\" as |item|}}\n {{/each}}\n ```\n \n When this `{{#each}}` re-renders, Ember will match up the previously rendered\n items (and reorder the generated DOM elements) based on each item's `id`\n property.\n By default the item's own reference is used.\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 {{#each developers as |person|}}\n {{person.name}}\n {{else}}\n <p>Sorry, nobody is available for this task.</p>\n {{/each}}\n ```\n \n @method each\n @for Ember.Templates.helpers\n @public\n */\n /**\n The `{{each-in}}` helper loops over properties on an object.\n \n For example, given a `user` object that looks like:\n \n ```javascript\n {\n \"name\": \"Shelly Sails\",\n \"age\": 42\n }\n ```\n \n This template would display all properties on the `user`\n object in a list:\n \n ```handlebars\n <ul>\n {{#each-in user 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 var EACH_IN_REFERENCE = (0, _emberUtils.symbol)('EACH_IN');\n\n var EachInReference = function () {\n function EachInReference(inner) {\n\n this.inner = inner;\n this.tag = inner.tag;\n this[EACH_IN_REFERENCE] = true;\n }\n\n EachInReference.prototype.value = function () {\n return this.inner.value();\n };\n\n EachInReference.prototype.get = function (key) {\n return this.inner.get(key);\n };\n\n return EachInReference;\n }();\n\n function isEachIn(ref) {\n return ref !== null && typeof ref === 'object' && ref[EACH_IN_REFERENCE];\n }\n\n function _iterableFor(ref, keyPath) {\n if (isEachIn(ref)) {\n return new EachInIterable(ref, keyPath || '@key');\n } else {\n return new EachIterable(ref, keyPath || '@identity');\n }\n }\n\n var BoundedIterator = function () {\n function BoundedIterator(length, keyFor) {\n\n this.length = length;\n this.keyFor = keyFor;\n this.position = 0;\n }\n\n BoundedIterator.prototype.isEmpty = function () {\n return false;\n };\n\n BoundedIterator.prototype.memoFor = function (position) {\n return position;\n };\n\n BoundedIterator.prototype.next = function () {\n var length = this.length,\n keyFor = this.keyFor,\n position = this.position;\n\n if (position >= length) {\n return null;\n }\n var value = this.valueFor(position);\n var memo = this.memoFor(position);\n var key = keyFor(value, memo, position);\n this.position++;\n return { key: key, value: value, memo: memo };\n };\n\n return BoundedIterator;\n }();\n\n var ArrayIterator = function (_BoundedIterator) {\n (0, _emberBabel.inherits)(ArrayIterator, _BoundedIterator);\n\n function ArrayIterator(array, length, keyFor) {\n\n var _this16 = (0, _emberBabel.possibleConstructorReturn)(this, _BoundedIterator.call(this, length, keyFor));\n\n _this16.array = array;\n return _this16;\n }\n\n ArrayIterator.from = function (array, keyFor) {\n var length = array.length;\n\n if (length === 0) {\n return EMPTY_ITERATOR;\n } else {\n return new this(array, length, keyFor);\n }\n };\n\n ArrayIterator.fromForEachable = function (object, keyFor) {\n var array = [];\n object.forEach(function (item) {\n return array.push(item);\n });\n return this.from(array, keyFor);\n };\n\n ArrayIterator.prototype.valueFor = function (position) {\n return this.array[position];\n };\n\n return ArrayIterator;\n }(BoundedIterator);\n\n var EmberArrayIterator = function (_BoundedIterator2) {\n (0, _emberBabel.inherits)(EmberArrayIterator, _BoundedIterator2);\n\n function EmberArrayIterator(array, length, keyFor) {\n\n var _this17 = (0, _emberBabel.possibleConstructorReturn)(this, _BoundedIterator2.call(this, length, keyFor));\n\n _this17.array = array;\n return _this17;\n }\n\n EmberArrayIterator.from = function (array, keyFor) {\n var length = array.length;\n\n if (length === 0) {\n return EMPTY_ITERATOR;\n } else {\n return new this(array, length, keyFor);\n }\n };\n\n EmberArrayIterator.prototype.valueFor = function (position) {\n return (0, _emberMetal.objectAt)(this.array, position);\n };\n\n return EmberArrayIterator;\n }(BoundedIterator);\n\n var ObjectIterator = function (_BoundedIterator3) {\n (0, _emberBabel.inherits)(ObjectIterator, _BoundedIterator3);\n\n function ObjectIterator(keys, values, length, keyFor) {\n\n var _this18 = (0, _emberBabel.possibleConstructorReturn)(this, _BoundedIterator3.call(this, length, keyFor));\n\n _this18.keys = keys;\n _this18.values = values;\n return _this18;\n }\n\n ObjectIterator.fromIndexable = function (obj, keyFor) {\n var keys = Object.keys(obj),\n i;\n var values = [];\n var length = keys.length;\n\n for (i = 0; i < length; i++) {\n values.push((0, _emberMetal.get)(obj, keys[i]));\n }\n if (length === 0) {\n return EMPTY_ITERATOR;\n } else {\n return new this(keys, values, length, keyFor);\n }\n };\n\n ObjectIterator.fromForEachable = function (obj, keyFor) {\n var _arguments = arguments;\n\n var keys = [];\n var values = [];\n var length = 0;\n var isMapLike = false;\n obj.forEach(function (value, key) {\n isMapLike = isMapLike || _arguments.length >= 2;\n if (isMapLike) {\n keys.push(key);\n }\n values.push(value);\n length++;\n });\n if (length === 0) {\n return EMPTY_ITERATOR;\n } else if (isMapLike) {\n return new this(keys, values, length, keyFor);\n } else {\n return new ArrayIterator(values, length, keyFor);\n }\n };\n\n ObjectIterator.prototype.valueFor = function (position) {\n return this.values[position];\n };\n\n ObjectIterator.prototype.memoFor = function (position) {\n return this.keys[position];\n };\n\n return ObjectIterator;\n }(BoundedIterator);\n\n var NativeIterator = function () {\n function NativeIterator(iterable, result, keyFor) {\n\n this.iterable = iterable;\n this.result = result;\n this.keyFor = keyFor;\n this.position = 0;\n }\n\n NativeIterator.from = function (iterable, keyFor) {\n var iterator = iterable[Symbol.iterator]();\n var result = iterator.next();\n var value = result.value,\n done = result.done;\n\n if (done) {\n return EMPTY_ITERATOR;\n } else if (Array.isArray(value) && value.length === 2) {\n return new this(iterator, result, keyFor);\n } else {\n return new ArrayLikeNativeIterator(iterator, result, keyFor);\n }\n };\n\n NativeIterator.prototype.isEmpty = function () {\n return false;\n };\n\n NativeIterator.prototype.next = function () {\n var iterable = this.iterable,\n result = this.result,\n position = this.position,\n keyFor = this.keyFor;\n\n if (result.done) {\n return null;\n }\n var value = this.valueFor(result, position);\n var memo = this.memoFor(result, position);\n var key = keyFor(value, memo, position);\n this.position++;\n this.result = iterable.next();\n return { key: key, value: value, memo: memo };\n };\n\n return NativeIterator;\n }();\n\n var ArrayLikeNativeIterator = function (_NativeIterator) {\n (0, _emberBabel.inherits)(ArrayLikeNativeIterator, _NativeIterator);\n\n function ArrayLikeNativeIterator() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _NativeIterator.apply(this, arguments));\n }\n\n ArrayLikeNativeIterator.prototype.valueFor = function (result) {\n return result.value;\n };\n\n ArrayLikeNativeIterator.prototype.memoFor = function (_result, position) {\n return position;\n };\n\n return ArrayLikeNativeIterator;\n }(NativeIterator);\n\n var MapLikeNativeIterator = function (_NativeIterator2) {\n (0, _emberBabel.inherits)(MapLikeNativeIterator, _NativeIterator2);\n\n function MapLikeNativeIterator() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _NativeIterator2.apply(this, arguments));\n }\n\n MapLikeNativeIterator.prototype.valueFor = function (result) {\n return result.value[1];\n };\n\n MapLikeNativeIterator.prototype.memoFor = function (result) {\n return result.value[0];\n };\n\n return MapLikeNativeIterator;\n }(NativeIterator);\n\n var EMPTY_ITERATOR = {\n isEmpty: function () {\n return true;\n },\n next: function () {\n false && !false && (0, _debug.assert)('Cannot call next() on an empty iterator');\n\n return null;\n }\n };\n\n var EachInIterable = function () {\n function EachInIterable(ref, keyPath) {\n\n this.ref = ref;\n this.keyPath = keyPath;\n this.valueTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([ref.tag, this.valueTag]);\n }\n\n EachInIterable.prototype.iterate = function () {\n var ref = this.ref,\n valueTag = this.valueTag;\n\n var iterable = ref.value();\n var tag = (0, _emberMetal.tagFor)(iterable);\n if ((0, _emberUtils.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, _emberRuntime._contentFor)(iterable);\n }\n valueTag.inner.update(tag);\n if (!isIndexable(iterable)) {\n return EMPTY_ITERATOR;\n }\n if (Array.isArray(iterable) || (0, _emberRuntime.isEmberArray)(iterable)) {\n return ObjectIterator.fromIndexable(iterable, this.keyFor(true));\n } else if (_emberUtils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n return MapLikeNativeIterator.from(iterable, this.keyFor());\n } else if (hasForEach(iterable)) {\n return ObjectIterator.fromForEachable(iterable, this.keyFor());\n } else {\n return ObjectIterator.fromIndexable(iterable, this.keyFor(true));\n }\n };\n\n EachInIterable.prototype.valueReferenceFor = function (item) {\n return new UpdatableReference(item.value);\n };\n\n EachInIterable.prototype.updateValueReference = function (ref, item) {\n ref.update(item.value);\n };\n\n EachInIterable.prototype.memoReferenceFor = function (item) {\n return new UpdatableReference(item.memo);\n };\n\n EachInIterable.prototype.updateMemoReference = function (ref, item) {\n ref.update(item.memo);\n };\n\n EachInIterable.prototype.keyFor = function () {\n var hasUniqueKeys = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : false;\n var keyPath = this.keyPath;\n\n switch (keyPath) {\n case '@key':\n return hasUniqueKeys ? ObjectKey : Unique(MapKey);\n case '@index':\n return Index;\n case '@identity':\n return Unique(Identity);\n default:\n false && !(keyPath[0] !== '@') && (0, _debug.assert)('Invalid key: ' + keyPath, keyPath[0] !== '@');\n\n return Unique(KeyPath(keyPath));\n }\n };\n\n return EachInIterable;\n }();\n\n var EachIterable = function () {\n function EachIterable(ref, keyPath) {\n\n this.ref = ref;\n this.keyPath = keyPath;\n this.valueTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([ref.tag, this.valueTag]);\n }\n\n EachIterable.prototype.iterate = function () {\n var ref = this.ref,\n valueTag = this.valueTag;\n\n var iterable = ref.value();\n valueTag.inner.update((0, _emberMetal.tagForProperty)(iterable, '[]'));\n if (iterable === null || typeof iterable !== 'object') {\n return EMPTY_ITERATOR;\n }\n var keyFor = this.keyFor();\n if (Array.isArray(iterable)) {\n return ArrayIterator.from(iterable, keyFor);\n } else if ((0, _emberRuntime.isEmberArray)(iterable)) {\n return EmberArrayIterator.from(iterable, keyFor);\n } else if (_emberUtils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n return ArrayLikeNativeIterator.from(iterable, keyFor);\n } else if (hasForEach(iterable)) {\n return ArrayIterator.fromForEachable(iterable, keyFor);\n } else {\n return EMPTY_ITERATOR;\n }\n };\n\n EachIterable.prototype.valueReferenceFor = function (item) {\n return new UpdatableReference(item.value);\n };\n\n EachIterable.prototype.updateValueReference = function (ref, item) {\n ref.update(item.value);\n };\n\n EachIterable.prototype.memoReferenceFor = function (item) {\n return new UpdatableReference(item.memo);\n };\n\n EachIterable.prototype.updateMemoReference = function (ref, item) {\n ref.update(item.memo);\n };\n\n EachIterable.prototype.keyFor = function () {\n var keyPath = this.keyPath;\n\n switch (keyPath) {\n case '@index':\n return Index;\n case '@identity':\n return Unique(Identity);\n default:\n false && !(keyPath[0] !== '@') && (0, _debug.assert)('Invalid key: ' + keyPath, keyPath[0] !== '@');\n\n return Unique(KeyPath(keyPath));\n }\n };\n\n return EachIterable;\n }();\n\n function hasForEach(value) {\n return typeof value['forEach'] === 'function';\n }\n function isNativeIterable(value) {\n return typeof value[Symbol.iterator] === 'function';\n }\n function isIndexable(value) {\n return value !== null && (typeof value === 'object' || typeof value === 'function');\n }\n // Position in an array is guarenteed to be unique\n function Index(_value, _memo, position) {\n return String(position);\n }\n // Object.keys(...) is guarenteed to be strings and unique\n function ObjectKey(_value, memo) {\n return memo;\n }\n // Map keys can be any objects\n function MapKey(_value, memo) {\n return Identity(memo);\n }\n function Identity(value) {\n switch (typeof value) {\n case 'string':\n return value;\n case 'number':\n return String(value);\n default:\n return (0, _emberUtils.guidFor)(value);\n }\n }\n function KeyPath(keyPath) {\n return function (value) {\n return String((0, _emberMetal.get)(value, keyPath));\n };\n }\n function Unique(func) {\n var seen = {};\n return function (value, memo, position) {\n var key = func(value, memo, position);\n var count = seen[key];\n if (count === undefined) {\n seen[key] = 0;\n return key;\n } else {\n seen[key] = ++count;\n return '' + key + 'be277757-bbbe-4620-9fcb-213ef433cca2' + count;\n }\n };\n }\n\n /**\n @module @ember/string\n */\n\n var SafeString = function () {\n function SafeString(string) {\n\n this.string = string;\n }\n\n SafeString.prototype.toString = function () {\n return '' + this.string;\n };\n\n SafeString.prototype.toHTML = function () {\n return this.toString();\n };\n\n return SafeString;\n }();\n\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 function escapeChar(chr) {\n return escape[chr];\n }\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/string';\n \n htmlSafe('<div>someString</div>')\n ```\n \n @method htmlSafe\n @for @ember/template\n @static\n @return {Handlebars.SafeString} A string that will not be HTML escaped by Handlebars.\n @public\n */\n function htmlSafe(str) {\n if (str === null || str === undefined) {\n str = '';\n } else if (typeof str !== 'string') {\n str = '' + str;\n }\n return new SafeString(str);\n }\n /**\n Detects if a string was decorated using `htmlSafe`.\n \n ```javascript\n import { htmlSafe, isHTMLSafe } from '@ember/string';\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 function isHTMLSafe(str) {\n return str !== null && typeof str === 'object' && typeof str.toHTML === 'function';\n }\n\n /* globals module, URL */\n var nodeURL = void 0;\n var parsingNode = void 0;\n function installProtocolForURL(environment) {\n var protocol = void 0;\n if (_emberBrowserEnvironment.hasDOM) {\n protocol = browserProtocolForURL.call(environment, 'foobar:baz');\n }\n // Test to see if our DOM implementation parses\n // and normalizes URLs.\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 (_nodeModule.IS_NODE) {\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 = (0, _nodeModule.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 function browserProtocolForURL(url) {\n if (!parsingNode) {\n parsingNode = document.createElement('a');\n }\n parsingNode.href = url;\n return parsingNode.protocol;\n }\n function nodeProtocolForURL(url) {\n var protocol = null;\n if (typeof url === 'string') {\n protocol = nodeURL.parse(url).protocol;\n }\n return protocol === null ? ':' : protocol;\n }\n\n var Environment$1 = function (_Environment) {\n (0, _emberBabel.inherits)(Environment$1, _Environment);\n\n function Environment$1(injections) {\n\n var _this21 = (0, _emberBabel.possibleConstructorReturn)(this, _Environment.call(this, injections));\n\n _this21.inTransaction = false;\n _this21.owner = injections[_emberOwner.OWNER];\n _this21.isInteractive = _this21.owner.lookup('-environment:main').isInteractive;\n // can be removed once https://github.com/tildeio/glimmer/pull/305 lands\n _this21.destroyedComponents = [];\n installProtocolForURL(_this21);\n\n return _this21;\n }\n\n Environment$1.create = function (options) {\n return new this(options);\n };\n\n Environment$1.prototype.protocolForURL = function (s) {\n return s;\n };\n\n Environment$1.prototype.lookupComponent = function (name, meta) {\n return (0, _emberViews.lookupComponent)(meta.owner, name, meta);\n };\n\n Environment$1.prototype.toConditionalReference = function (reference) {\n return ConditionalReference$1.create(reference);\n };\n\n Environment$1.prototype.iterableFor = function (ref, key) {\n return _iterableFor(ref, key);\n };\n\n Environment$1.prototype.scheduleInstallModifier = function (modifier, manager) {\n if (this.isInteractive) {\n _Environment.prototype.scheduleInstallModifier.call(this, modifier, manager);\n }\n };\n\n Environment$1.prototype.scheduleUpdateModifier = function (modifier, manager) {\n if (this.isInteractive) {\n _Environment.prototype.scheduleUpdateModifier.call(this, modifier, manager);\n }\n };\n\n Environment$1.prototype.didDestroy = function (destroyable) {\n destroyable.destroy();\n };\n\n Environment$1.prototype.begin = function () {\n this.inTransaction = true;\n _Environment.prototype.begin.call(this);\n };\n\n Environment$1.prototype.commit = function () {\n var destroyedComponents = this.destroyedComponents,\n i;\n this.destroyedComponents = [];\n // components queued for destruction must be destroyed before firing\n // `didCreate` to prevent errors when removing and adding a component\n // with the same name (would throw an error when added to view registry)\n for (i = 0; i < destroyedComponents.length; i++) {\n destroyedComponents[i].destroy();\n }\n try {\n _Environment.prototype.commit.call(this);\n } finally {\n this.inTransaction = false;\n }\n };\n\n return Environment$1;\n }(_runtime.Environment);\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 var AbstractManager = function () {\n function AbstractManager() {\n\n this.debugStack = undefined;\n }\n\n AbstractManager.prototype.prepareArgs = function () {\n return null;\n };\n\n AbstractManager.prototype.didCreateElement = function () {}\n // noop\n\n // inheritors should also call `this.debugStack.pop()` to\n // ensure the rerendering assertion messages are properly\n // maintained\n ;\n\n AbstractManager.prototype.didRenderLayout = function () {\n // noop\n };\n\n AbstractManager.prototype.didCreate = function () {}\n // noop\n\n // inheritors should also call `this._pushToDebugStack`\n // to ensure the rerendering assertion messages are\n // properly maintained\n ;\n\n AbstractManager.prototype.update = function () {}\n // noop\n\n // inheritors should also call `this.debugStack.pop()` to\n // ensure the rerendering assertion messages are properly\n // maintained\n ;\n\n AbstractManager.prototype.didUpdateLayout = function () {\n // noop\n };\n\n AbstractManager.prototype.didUpdate = function () {\n // noop\n };\n\n return AbstractManager;\n }();\n\n function instrumentationPayload(def) {\n return { object: def.name + ':' + def.outlet };\n }\n var CAPABILITIES = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: false,\n attributeHook: false,\n elementHook: false,\n createCaller: true,\n dynamicScope: true,\n updateHook: true,\n createInstance: true\n };\n\n var OutletComponentManager = function (_AbstractManager) {\n (0, _emberBabel.inherits)(OutletComponentManager, _AbstractManager);\n\n function OutletComponentManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager.apply(this, arguments));\n }\n\n OutletComponentManager.prototype.create = function (environment, definition, _args, dynamicScope) {\n dynamicScope.outletState = definition.ref;\n // this is only used for render helper which is legacy\n if (dynamicScope.rootOutletState === undefined) {\n dynamicScope.rootOutletState = dynamicScope.outletState;\n }\n var controller = definition.controller;\n var self = controller === undefined ? _runtime.UNDEFINED_REFERENCE : new RootReference(controller);\n return {\n self: self,\n finalize: (0, _instrumentation._instrumentStart)('render.outlet', instrumentationPayload, definition)\n };\n };\n\n OutletComponentManager.prototype.layoutFor = function () {\n throw new Error('Method not implemented.');\n };\n\n OutletComponentManager.prototype.getLayout = function (_ref) {\n var template = _ref.template;\n\n // The router has already resolved the template\n var layout = template.asLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n };\n\n OutletComponentManager.prototype.getCapabilities = function () {\n return CAPABILITIES;\n };\n\n OutletComponentManager.prototype.getSelf = function (_ref2) {\n var self = _ref2.self;\n\n return self;\n };\n\n OutletComponentManager.prototype.getTag = function () {\n // an outlet has no hooks\n return _reference.CONSTANT_TAG;\n };\n\n OutletComponentManager.prototype.didRenderLayout = function (state) {\n state.finalize();\n };\n\n OutletComponentManager.prototype.getDestructor = function () {\n return null;\n };\n\n return OutletComponentManager;\n }(AbstractManager);\n\n var OUTLET_MANAGER = new OutletComponentManager();\n\n var OutletComponentDefinition = function (state) {\n var manager = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : OUTLET_MANAGER;\n\n\n this.state = state;\n this.manager = manager;\n };\n\n function createRootOutlet(outletView) {\n var WRAPPED_CAPABILITIES, WrappedOutletComponentManager, WRAPPED_OUTLET_MANAGER;\n\n if (_emberEnvironment.ENV._APPLICATION_TEMPLATE_WRAPPER) {\n WRAPPED_CAPABILITIES = (0, _polyfills.assign)({}, CAPABILITIES, {\n dynamicTag: true,\n elementHook: true\n });\n WrappedOutletComponentManager = function (_OutletComponentManag) {\n (0, _emberBabel.inherits)(WrappedOutletComponentManager, _OutletComponentManag);\n\n function WrappedOutletComponentManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _OutletComponentManag.apply(this, arguments));\n }\n\n WrappedOutletComponentManager.prototype.getTagName = function () {\n return 'div';\n };\n\n WrappedOutletComponentManager.prototype.getLayout = function (state) {\n // The router has already resolved the template\n var template = state.template;\n var layout = template.asWrappedLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n };\n\n WrappedOutletComponentManager.prototype.getCapabilities = function () {\n return WRAPPED_CAPABILITIES;\n };\n\n WrappedOutletComponentManager.prototype.didCreateElement = function (component, element) {\n // to add GUID id and class\n element.setAttribute('class', 'ember-view');\n element.setAttribute('id', (0, _emberUtils.guidFor)(component));\n };\n\n return WrappedOutletComponentManager;\n }(OutletComponentManager);\n WRAPPED_OUTLET_MANAGER = new WrappedOutletComponentManager();\n\n return new OutletComponentDefinition(outletView.state, WRAPPED_OUTLET_MANAGER);\n } else {\n return new OutletComponentDefinition(outletView.state);\n }\n }\n\n // tslint:disable-next-line:no-empty\n function NOOP() {}\n /**\n @module ember\n */\n /**\n Represents the internal state of the component.\n \n @class ComponentStateBucket\n @private\n */\n\n var ComponentStateBucket = function () {\n function ComponentStateBucket(environment, component, args, finalizer, hasWrappedElement) {\n\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 : args.tag.value();\n }\n\n ComponentStateBucket.prototype.destroy = function () {\n var component = this.component,\n environment = this.environment;\n\n if (environment.isInteractive) {\n component.trigger('willDestroyElement');\n component.trigger('willClearRender');\n }\n environment.destroyedComponents.push(component);\n };\n\n ComponentStateBucket.prototype.finalize = function () {\n var finalizer = this.finalizer;\n\n finalizer();\n this.finalizer = NOOP;\n };\n\n return ComponentStateBucket;\n }();\n\n function referenceForKey(component, key) {\n return component[ROOT_REF].get(key);\n }\n function referenceForParts(component, parts) {\n var isAttrs = parts[0] === 'attrs';\n // TODO deprecate this\n if (isAttrs) {\n parts.shift();\n if (parts.length === 1) {\n return referenceForKey(component, parts[0]);\n }\n }\n return referenceFromParts(component[ROOT_REF], parts);\n }\n // TODO we should probably do this transform at build time\n function wrapComponentClassAttribute(hash) {\n if (hash === null) {\n return;\n }\n var keys = hash[0],\n values = hash[1],\n value,\n type,\n path,\n propName;\n\n var index = keys === null ? -1 : keys.indexOf('class');\n if (index !== -1) {\n value = values[index];\n\n if (!Array.isArray(value)) {\n return;\n }\n type = value[0];\n\n\n if (type === _wireFormat.Ops.Get || type === _wireFormat.Ops.MaybeLocal) {\n path = value[value.length - 1];\n propName = path[path.length - 1];\n\n values[index] = [_wireFormat.Ops.Helper, '-class', [value, propName], null];\n }\n }\n }\n var AttributeBinding = {\n parse: function (microsyntax) {\n var colonIndex = microsyntax.indexOf(':'),\n prop,\n attribute;\n if (colonIndex === -1) {\n false && !(microsyntax !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', microsyntax !== 'class');\n\n return [microsyntax, microsyntax, true];\n } else {\n prop = microsyntax.substring(0, colonIndex);\n attribute = microsyntax.substring(colonIndex + 1);\n\n false && !(attribute !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', attribute !== 'class');\n\n return [prop, attribute, false];\n }\n },\n install: function (_element, component, parsed, operations) {\n var prop = parsed[0],\n attribute = parsed[1],\n isSimple = parsed[2],\n elementId;\n\n if (attribute === 'id') {\n elementId = (0, _emberMetal.get)(component, prop);\n\n if (elementId === undefined || elementId === null) {\n elementId = component.elementId;\n }\n elementId = _runtime.PrimitiveReference.create(elementId);\n operations.setAttribute('id', elementId, true, null);\n // operations.addStaticAttribute(element, 'id', elementId);\n return;\n }\n var isPath = prop.indexOf('.') > -1;\n var reference = isPath ? referenceForParts(component, prop.split('.')) : referenceForKey(component, prop);\n false && !!(isSimple && isPath) && (0, _debug.assert)('Illegal attributeBinding: \\'' + prop + '\\' is not a valid attribute name.', !(isSimple && isPath));\n\n if (attribute === 'style') {\n reference = new StyleBindingReference(reference, referenceForKey(component, 'isVisible'));\n }\n operations.setAttribute(attribute, reference, false, null);\n // operations.addDynamicAttribute(element, attribute, reference, false);\n }\n };\n var DISPLAY_NONE = 'display: none;';\n var SAFE_DISPLAY_NONE = htmlSafe(DISPLAY_NONE);\n\n var StyleBindingReference = function (_CachedReference) {\n (0, _emberBabel.inherits)(StyleBindingReference, _CachedReference);\n\n function StyleBindingReference(inner, isVisible) {\n\n var _this25 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference.call(this));\n\n _this25.inner = inner;\n _this25.isVisible = isVisible;\n _this25.tag = (0, _reference.combine)([inner.tag, isVisible.tag]);\n return _this25;\n }\n\n StyleBindingReference.prototype.compute = function () {\n var value = this.inner.value(),\n style;\n var isVisible = this.isVisible.value();\n if (isVisible !== false) {\n return value;\n } else if (!value) {\n return SAFE_DISPLAY_NONE;\n } else {\n style = value + ' ' + DISPLAY_NONE;\n\n return isHTMLSafe(value) ? htmlSafe(style) : style;\n }\n };\n\n return StyleBindingReference;\n }(_reference.CachedReference);\n\n var IsVisibleBinding = {\n install: function (_element, component, operations) {\n operations.setAttribute('style', (0, _reference.map)(referenceForKey(component, 'isVisible'), this.mapStyleValue), false, null);\n // // the upstream type for addDynamicAttribute's `value` argument\n // // appears to be incorrect. It is currently a Reference<string>, I\n // // think it should be a Reference<string|null>.\n // operations.addDynamicAttribute(element, 'style', ref as any as Reference<string>, false);\n },\n mapStyleValue: function (isVisible) {\n return isVisible === false ? SAFE_DISPLAY_NONE : null;\n }\n };\n var ClassNameBinding = {\n install: function (_element, component, microsyntax, operations) {\n var _microsyntax$split = microsyntax.split(':'),\n prop = _microsyntax$split[0],\n truthy = _microsyntax$split[1],\n falsy = _microsyntax$split[2],\n isPath,\n parts,\n value,\n ref;\n\n if (prop === '') {\n operations.setAttribute('class', _runtime.PrimitiveReference.create(truthy), true, null);\n } else {\n isPath = prop.indexOf('.') > -1;\n parts = isPath ? prop.split('.') : [];\n value = isPath ? referenceForParts(component, parts) : referenceForKey(component, prop);\n ref = void 0;\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 operations.setAttribute('class', ref, false, null);\n // // the upstream type for addDynamicAttribute's `value` argument\n // // appears to be incorrect. It is currently a Reference<string>, I\n // // think it should be a Reference<string|null>.\n // operations.addDynamicAttribute(element, 'class', ref as any as Reference<string>, false);\n }\n }\n };\n\n var SimpleClassNameBindingReference = function (_CachedReference2) {\n (0, _emberBabel.inherits)(SimpleClassNameBindingReference, _CachedReference2);\n\n function SimpleClassNameBindingReference(inner, path) {\n\n var _this26 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference2.call(this));\n\n _this26.inner = inner;\n _this26.path = path;\n _this26.tag = inner.tag;\n _this26.inner = inner;\n _this26.path = path;\n _this26.dasherizedPath = null;\n return _this26;\n }\n\n SimpleClassNameBindingReference.prototype.compute = function () {\n var value = this.inner.value(),\n path,\n dasherizedPath;\n if (value === true) {\n path = this.path, dasherizedPath = this.dasherizedPath;\n\n\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 return SimpleClassNameBindingReference;\n }(_reference.CachedReference);\n\n var ColonClassNameBindingReference = function (_CachedReference3) {\n (0, _emberBabel.inherits)(ColonClassNameBindingReference, _CachedReference3);\n\n function ColonClassNameBindingReference(inner) {\n var truthy = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n var falsy = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n\n var _this27 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference3.call(this));\n\n _this27.inner = inner;\n _this27.truthy = truthy;\n _this27.falsy = falsy;\n _this27.tag = inner.tag;\n return _this27;\n }\n\n ColonClassNameBindingReference.prototype.compute = function () {\n var inner = this.inner,\n truthy = this.truthy,\n falsy = this.falsy;\n\n return inner.value() ? truthy : falsy;\n };\n\n return ColonClassNameBindingReference;\n }(_reference.CachedReference);\n\n // ComponentArgs takes EvaluatedNamedArgs and converts them into the\n // inputs needed by CurlyComponents (attrs and props, with mutable\n // cells, etc).\n function processComponentArgs(namedArgs) {\n var keys = namedArgs.names,\n i,\n name,\n ref,\n value;\n var attrs = namedArgs.value();\n var props = Object.create(null);\n var args = Object.create(null);\n props[ARGS] = args;\n for (i = 0; i < keys.length; i++) {\n name = keys[i];\n ref = namedArgs.get(name);\n value = attrs[name];\n\n if (typeof value === 'function' && value[ACTION]) {\n attrs[name] = value;\n } else if (ref[UPDATE]) {\n attrs[name] = new MutableCell(ref, value);\n }\n args[name] = ref;\n props[name] = value;\n }\n props.attrs = attrs;\n return props;\n }\n var REF = (0, _emberUtils.symbol)('REF');\n\n var MutableCell = function () {\n function MutableCell(ref, value) {\n\n this[_emberViews.MUTABLE_CELL] = true;\n this[REF] = ref;\n this.value = value;\n }\n\n MutableCell.prototype.update = function (val) {\n this[REF][UPDATE](val);\n };\n\n return MutableCell;\n }();\n\n function aliasIdToElementId(args, props) {\n if (args.named.has('id')) {\n false && !!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\n props.elementId = props.id;\n }\n }\n function isTemplateFactory(template) {\n return typeof template.create === 'function';\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 function applyAttributeBindings(element, attributeBindings, component, operations) {\n var seen = [],\n binding,\n parsed,\n attribute,\n id;\n var i = attributeBindings.length - 1;\n while (i !== -1) {\n binding = attributeBindings[i];\n parsed = AttributeBinding.parse(binding);\n attribute = parsed[1];\n\n if (seen.indexOf(attribute) === -1) {\n seen.push(attribute);\n AttributeBinding.install(element, component, parsed, operations);\n }\n i--;\n }\n if (seen.indexOf('id') === -1) {\n id = component.elementId ? component.elementId : (0, _emberUtils.guidFor)(component);\n\n operations.setAttribute('id', _runtime.PrimitiveReference.create(id), false, null);\n }\n if (seen.indexOf('style') === -1) {\n IsVisibleBinding.install(element, component, operations);\n }\n }\n var DEFAULT_LAYOUT = (0, _container.privatize)(_templateObject);\n\n var CurlyComponentManager = function (_AbstractManager2) {\n (0, _emberBabel.inherits)(CurlyComponentManager, _AbstractManager2);\n\n function CurlyComponentManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager2.apply(this, arguments));\n }\n\n CurlyComponentManager.prototype.getLayout = function (state) {\n return {\n // TODO fix\n handle: state.handle,\n symbolTable: state.symbolTable\n };\n };\n\n CurlyComponentManager.prototype.templateFor = function (component, resolver) {\n var layout = (0, _emberMetal.get)(component, 'layout'),\n _template;\n if (layout !== undefined) {\n // This needs to be cached by template.id\n if (isTemplateFactory(layout)) {\n return resolver.createTemplate(layout, (0, _emberOwner.getOwner)(component));\n } else {\n // we were provided an instance already\n return layout;\n }\n }\n var owner = (0, _emberOwner.getOwner)(component);\n var layoutName = (0, _emberMetal.get)(component, 'layoutName');\n if (layoutName) {\n _template = owner.lookup('template:' + layoutName);\n\n if (_template) {\n return _template;\n }\n }\n return owner.lookup(DEFAULT_LAYOUT);\n };\n\n CurlyComponentManager.prototype.getDynamicLayout = function (_ref3, resolver) {\n var component = _ref3.component;\n\n var template = this.templateFor(component, resolver);\n var layout = template.asWrappedLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n };\n\n CurlyComponentManager.prototype.getTagName = function (state) {\n var component = state.component,\n hasWrappedElement = state.hasWrappedElement;\n\n if (!hasWrappedElement) {\n return null;\n }\n return component && component.tagName || 'div';\n };\n\n CurlyComponentManager.prototype.getCapabilities = function (state) {\n return state.capabilities;\n };\n\n CurlyComponentManager.prototype.prepareArgs = function (state, args) {\n var positionalParams = state.ComponentClass.class.positionalParams,\n _named,\n count,\n i,\n name;\n\n // early exits\n if (positionalParams === undefined || positionalParams === null || args.positional.length === 0) {\n return null;\n }\n var named = void 0;\n if (typeof positionalParams === 'string') {\n\n false && !!args.named.has(positionalParams) && (0, _debug.assert)('You cannot specify positional parameters and the hash argument `' + positionalParams + '`.', !args.named.has(positionalParams));\n\n named = (_named = {}, _named[positionalParams] = args.positional.capture(), _named);\n (0, _polyfills.assign)(named, args.named.capture().map);\n } else if (Array.isArray(positionalParams) && positionalParams.length > 0) {\n count = Math.min(positionalParams.length, args.positional.length);\n\n named = {};\n (0, _polyfills.assign)(named, args.named.capture().map);\n if (_deprecatedFeatures.POSITIONAL_PARAM_CONFLICT) {\n for (i = 0; i < count; i++) {\n name = positionalParams[i];\n\n false && !!args.named.has(name) && (0, _debug.deprecate)('You cannot specify both a positional param (at position ' + i + ') and the hash argument `' + name + '`.', !args.named.has(name), {\n id: 'ember-glimmer.positional-param-conflict',\n until: '3.5.0'\n });\n\n named[name] = args.positional.at(i);\n }\n }\n } else {\n return null;\n }\n return { positional: _util.EMPTY_ARRAY, named: named };\n };\n\n CurlyComponentManager.prototype.create = function (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;\n // Get the Ember.Component subclass to instantiate for this component.\n var factory = state.ComponentClass;\n // Capture the arguments, which tells Glimmer to give us our own, stable\n // copy of the Arguments object that is safe to hold on to between renders.\n var capturedArgs = args.named.capture();\n var props = processComponentArgs(capturedArgs);\n // Alias `id` argument to `elementId` property on the component instance.\n aliasIdToElementId(args, props);\n // Set component instance's parentView property to point to nearest concrete\n // component.\n props.parentView = parentView;\n // Set whether this component was invoked with a block\n // (`{{#my-component}}{{/my-component}}`) or without one\n // (`{{my-component}}`).\n props[HAS_BLOCK] = hasBlock;\n // Save the current `this` context of the template as the component's\n // `_targetObject`, so bubbled actions are routed to the right place.\n props._targetObject = callerSelfRef.value();\n // static layout asserts CurriedDefinition\n if (state.template) {\n props.layout = state.template;\n }\n // Now that we've built up all of the properties to set on the component instance,\n // actually create it.\n var component = factory.create(props);\n var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n // We become the new parentView for downstream components, so save our\n // component off on the dynamic scope.\n dynamicScope.view = component;\n // Unless we're the root component, we need to add ourselves to our parent\n // component's childViews array.\n if (parentView !== null && parentView !== undefined) {\n (0, _emberViews.addChildView)(parentView, component);\n }\n if (_emberEnvironment.ENV._ENABLE_DID_INIT_ATTRS_SUPPORT === true) {\n component.trigger('didInitAttrs');\n }\n component.trigger('didReceiveAttrs');\n var hasWrappedElement = component.tagName !== '';\n // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n if (!hasWrappedElement) {\n if (environment.isInteractive) {\n component.trigger('willRender');\n }\n component._transitionTo('hasElement');\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n }\n // Track additional lifecycle metadata about this component in a state bucket.\n // Essentially we're saving off all the state we'll need in the future.\n var bucket = new ComponentStateBucket(environment, component, capturedArgs, finalizer, hasWrappedElement);\n if (args.named.has('class')) {\n bucket.classRef = args.named.get('class');\n }\n\n if (environment.isInteractive && hasWrappedElement) {\n component.trigger('willRender');\n }\n return bucket;\n };\n\n CurlyComponentManager.prototype.getSelf = function (_ref4) {\n var component = _ref4.component;\n\n return component[ROOT_REF];\n };\n\n CurlyComponentManager.prototype.didCreateElement = function (_ref5, element, operations) {\n var component = _ref5.component,\n classRef = _ref5.classRef,\n environment = _ref5.environment,\n id,\n ref;\n\n (0, _emberViews.setViewElement)(component, element);\n var attributeBindings = component.attributeBindings,\n classNames = component.classNames,\n classNameBindings = component.classNameBindings;\n\n if (attributeBindings && attributeBindings.length) {\n applyAttributeBindings(element, attributeBindings, component, operations);\n } else {\n id = component.elementId ? component.elementId : (0, _emberUtils.guidFor)(component);\n\n operations.setAttribute('id', _runtime.PrimitiveReference.create(id), false, null);\n IsVisibleBinding.install(element, component, operations);\n }\n if (classRef) {\n ref = new SimpleClassNameBindingReference(classRef, classRef['_propertyKey']);\n\n operations.setAttribute('class', ref, false, null);\n }\n if (classNames && classNames.length) {\n classNames.forEach(function (name) {\n operations.setAttribute('class', _runtime.PrimitiveReference.create(name), false, null);\n });\n }\n if (classNameBindings && classNameBindings.length) {\n classNameBindings.forEach(function (binding) {\n ClassNameBinding.install(element, component, binding, operations);\n });\n }\n operations.setAttribute('class', _runtime.PrimitiveReference.create('ember-view'), false, null);\n if ('ariaRole' in component) {\n operations.setAttribute('role', referenceForKey(component, 'ariaRole'), false, null);\n }\n component._transitionTo('hasElement');\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n };\n\n CurlyComponentManager.prototype.didRenderLayout = function (bucket, bounds) {\n bucket.component[BOUNDS] = bounds;\n bucket.finalize();\n };\n\n CurlyComponentManager.prototype.getTag = function (_ref6) {\n var args = _ref6.args,\n component = _ref6.component;\n\n return args ? (0, _reference.combine)([args.tag, component[DIRTY_TAG]]) : component[DIRTY_TAG];\n };\n\n CurlyComponentManager.prototype.didCreate = function (_ref7) {\n var component = _ref7.component,\n environment = _ref7.environment;\n\n if (environment.isInteractive) {\n component._transitionTo('inDOM');\n component.trigger('didInsertElement');\n component.trigger('didRender');\n }\n };\n\n CurlyComponentManager.prototype.update = function (bucket) {\n var component = bucket.component,\n args = bucket.args,\n argsRevision = bucket.argsRevision,\n environment = bucket.environment,\n props;\n\n bucket.finalizer = (0, _instrumentation._instrumentStart)('render.component', rerenderInstrumentDetails, component);\n if (args && !args.tag.validate(argsRevision)) {\n props = processComponentArgs(args);\n\n bucket.argsRevision = args.tag.value();\n component[IS_DISPATCHING_ATTRS] = true;\n component.setProperties(props);\n component[IS_DISPATCHING_ATTRS] = false;\n component.trigger('didUpdateAttrs');\n component.trigger('didReceiveAttrs');\n }\n if (environment.isInteractive) {\n component.trigger('willUpdate');\n component.trigger('willRender');\n }\n };\n\n CurlyComponentManager.prototype.didUpdateLayout = function (bucket) {\n bucket.finalize();\n };\n\n CurlyComponentManager.prototype.didUpdate = function (_ref8) {\n var component = _ref8.component,\n environment = _ref8.environment;\n\n if (environment.isInteractive) {\n component.trigger('didUpdate');\n component.trigger('didRender');\n }\n };\n\n CurlyComponentManager.prototype.getDestructor = function (stateBucket) {\n return stateBucket;\n };\n\n return CurlyComponentManager;\n }(AbstractManager);\n\n function initialRenderInstrumentDetails(component) {\n return component.instrumentDetails({ initialRender: true });\n }\n function rerenderInstrumentDetails(component) {\n return component.instrumentDetails({ initialRender: false });\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 };\n var CURLY_COMPONENT_MANAGER = new CurlyComponentManager();\n\n var CurlyComponentDefinition =\n // tslint:disable-next-line:no-shadowed-variable\n function (name, ComponentClass, handle, template, args) {\n\n this.name = name;\n this.ComponentClass = ComponentClass;\n this.handle = handle;\n this.manager = CURLY_COMPONENT_MANAGER;\n var layout = template && template.asLayout();\n var symbolTable = layout ? layout.symbolTable : undefined;\n this.symbolTable = symbolTable;\n this.template = template;\n this.args = args;\n this.state = {\n name: name,\n ComponentClass: ComponentClass,\n handle: handle,\n template: template,\n capabilities: CURLY_CAPABILITIES,\n symbolTable: symbolTable\n };\n };\n\n var RootComponentManager = function (_CurlyComponentManage) {\n (0, _emberBabel.inherits)(RootComponentManager, _CurlyComponentManage);\n\n function RootComponentManager(component) {\n\n var _this29 = (0, _emberBabel.possibleConstructorReturn)(this, _CurlyComponentManage.call(this));\n\n _this29.component = component;\n return _this29;\n }\n\n RootComponentManager.prototype.getLayout = function (_state, resolver) {\n var template = this.templateFor(this.component, resolver);\n var layout = template.asWrappedLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n };\n\n RootComponentManager.prototype.create = function (environment, _state, _args, dynamicScope) {\n var component = this.component;\n\n var finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n dynamicScope.view = component;\n var hasWrappedElement = component.tagName !== '';\n // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n if (!hasWrappedElement) {\n if (environment.isInteractive) {\n component.trigger('willRender');\n }\n component._transitionTo('hasElement');\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n }\n\n return new ComponentStateBucket(environment, component, null, finalizer, hasWrappedElement);\n };\n\n return RootComponentManager;\n }(CurlyComponentManager);\n\n // ROOT is the top-level template it has nothing but one yield.\n // it is supposed to have a dummy element\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: false\n };\n\n var RootComponentDefinition = function () {\n function RootComponentDefinition(component) {\n\n this.component = component;\n var manager = new RootComponentManager(component);\n this.manager = manager;\n var factory = _container.FACTORY_FOR.get(component);\n this.state = {\n name: factory.fullName.slice(10),\n capabilities: ROOT_CAPABILITIES,\n ComponentClass: factory,\n handle: null\n };\n }\n\n RootComponentDefinition.prototype.getTag = function (_ref9) {\n var component = _ref9.component;\n\n return component[DIRTY_TAG];\n };\n\n return RootComponentDefinition;\n }();\n\n var DynamicScope = function () {\n function DynamicScope(view, outletState, rootOutletState) {\n\n this.view = view;\n this.outletState = outletState;\n this.rootOutletState = rootOutletState;\n }\n\n DynamicScope.prototype.child = function () {\n return new DynamicScope(this.view, this.outletState, this.rootOutletState);\n };\n\n DynamicScope.prototype.get = function (key) {\n false && !(key === 'outletState') && (0, _debug.assert)('Using `-get-dynamic-scope` is only supported for `outletState` (you used `' + key + '`).', key === 'outletState');\n\n return this.outletState;\n };\n\n DynamicScope.prototype.set = function (key, value) {\n false && !(key === 'outletState') && (0, _debug.assert)('Using `-with-dynamic-scope` is only supported for `outletState` (you used `' + key + '`).', key === 'outletState');\n\n this.outletState = value;\n return value;\n };\n\n return DynamicScope;\n }();\n\n var RootState = function () {\n function RootState(root, env, template, self, parentElement, dynamicScope, builder) {\n var _this30 = this;\n\n false && !(template !== undefined) && (0, _debug.assert)('You cannot render `' + self.value() + '` without a template.', template !== undefined);\n\n this.id = (0, _emberViews.getViewId)(root);\n this.env = env;\n this.root = root;\n this.result = undefined;\n this.shouldReflush = false;\n this.destroyed = false;\n var options = this.options = {\n alwaysRevalidate: false\n };\n this.render = function () {\n var layout = template.asLayout();\n var handle = layout.compile();\n var iterator = (0, _runtime.renderMain)(layout['compiler'].program, env, self, dynamicScope, builder(env, { element: parentElement, nextSibling: null }), handle);\n var iteratorResult = void 0;\n do {\n iteratorResult = iterator.next();\n } while (!iteratorResult.done);\n var result = _this30.result = iteratorResult.value;\n // override .render function after initial render\n _this30.render = function () {\n return result.rerender(options);\n };\n };\n }\n\n RootState.prototype.isFor = function (possibleRoot) {\n return this.root === possibleRoot;\n };\n\n RootState.prototype.destroy = function () {\n var result = this.result,\n env = this.env,\n needsTransaction;\n\n this.destroyed = true;\n this.env = undefined;\n this.root = null;\n this.result = undefined;\n this.render = undefined;\n if (result) {\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 needsTransaction = !env.inTransaction;\n\n if (needsTransaction) {\n env.begin();\n }\n try {\n result.destroy();\n } finally {\n if (needsTransaction) {\n env.commit();\n }\n }\n }\n };\n\n return RootState;\n }();\n\n var renderers = [];\n\n (0, _emberMetal.setHasViews)(function () {\n return renderers.length > 0;\n });\n function register(renderer) {\n false && !(renderers.indexOf(renderer) === -1) && (0, _debug.assert)('Cannot register the same renderer twice', renderers.indexOf(renderer) === -1);\n\n renderers.push(renderer);\n }\n function deregister(renderer) {\n var index = renderers.indexOf(renderer);\n false && !(index !== -1) && (0, _debug.assert)('Cannot deregister unknown unregistered renderer', index !== -1);\n\n renderers.splice(index, 1);\n }\n\n function K() {\n /* noop */\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 function renderSettled() {\n if (renderSettledDeferred === null) {\n renderSettledDeferred = _rsvp.default.defer();\n // if there is no current runloop, the promise created above will not have\n // a chance to resolve (because its resolved in backburner's \"end\" event)\n if (!(0, _runloop.getCurrentRunLoop)()) {\n // ensure a runloop has been kicked off\n _runloop.backburner.schedule('actions', null, K);\n }\n }\n return renderSettledDeferred.promise;\n }\n function resolveRenderPromise() {\n var resolve;\n\n if (renderSettledDeferred !== null) {\n resolve = renderSettledDeferred.resolve;\n\n renderSettledDeferred = null;\n _runloop.backburner.join(null, resolve);\n }\n }\n var loops = 0;\n function loopEnd() {\n var i;\n\n for (i = 0; i < renderers.length; i++) {\n if (!renderers[i]._isValid()) {\n if (loops > 10) {\n loops = 0;\n // TODO: do something better\n renderers[i].destroy();\n throw new Error('infinite rendering invalidation detected');\n }\n loops++;\n return _runloop.backburner.join(null, K);\n }\n }\n loops = 0;\n resolveRenderPromise();\n }\n _runloop.backburner.on('begin', function () {\n var i;\n\n for (i = 0; i < renderers.length; i++) {\n renderers[i]._scheduleRevalidate();\n }\n });\n _runloop.backburner.on('end', loopEnd);\n\n var Renderer = function () {\n function Renderer(env, rootTemplate) {\n var _viewRegistry = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : _emberViews.fallbackViewRegistry;\n\n var destinedForDOM = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : false;\n var builder = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : _runtime.clientBuilder;\n\n\n this._env = env;\n this._rootTemplate = rootTemplate;\n this._viewRegistry = _viewRegistry;\n this._destinedForDOM = destinedForDOM;\n this._destroyed = false;\n this._roots = [];\n this._lastRevision = -1;\n this._isRenderingRoots = false;\n this._removedRoots = [];\n this._builder = builder;\n }\n // renderer HOOKS\n\n\n Renderer.prototype.appendOutletView = function (view, target) {\n var definition = createRootOutlet(view);\n this._appendDefinition(view, (0, _runtime.curry)(definition), target);\n };\n\n Renderer.prototype.appendTo = function (view, target) {\n var definition = new RootComponentDefinition(view);\n this._appendDefinition(view, (0, _runtime.curry)(definition), target);\n };\n\n Renderer.prototype._appendDefinition = function (root, definition, target) {\n var self = new UnboundReference(definition);\n var dynamicScope = new DynamicScope(null, _runtime.UNDEFINED_REFERENCE);\n var rootState = new RootState(root, this._env, this._rootTemplate, self, target, dynamicScope, this._builder);\n this._renderRoot(rootState);\n };\n\n Renderer.prototype.rerender = function () {\n this._scheduleRevalidate();\n };\n\n Renderer.prototype.register = function (view) {\n var id = (0, _emberViews.getViewId)(view);\n false && !!this._viewRegistry[id] && (0, _debug.assert)('Attempted to register a view with an id already in use: ' + id, !this._viewRegistry[id]);\n\n this._viewRegistry[id] = view;\n };\n\n Renderer.prototype.unregister = function (view) {\n delete this._viewRegistry[(0, _emberViews.getViewId)(view)];\n };\n\n Renderer.prototype.remove = function (view) {\n view._transitionTo('destroying');\n this.cleanupRootFor(view);\n (0, _emberViews.setViewElement)(view, null);\n if (this._destinedForDOM) {\n view.trigger('didDestroyElement');\n }\n if (!view.isDestroying) {\n view.destroy();\n }\n };\n\n Renderer.prototype.cleanupRootFor = function (view) {\n // no need to cleanup roots if we have already been destroyed\n if (this._destroyed) {\n return;\n }\n var roots = this._roots,\n root;\n // traverse in reverse so we can remove items\n // without mucking up the index\n var i = this._roots.length;\n while (i--) {\n root = roots[i];\n\n if (root.isFor(view)) {\n root.destroy();\n roots.splice(i, 1);\n }\n }\n };\n\n Renderer.prototype.destroy = function () {\n if (this._destroyed) {\n return;\n }\n this._destroyed = true;\n this._clearAllRoots();\n };\n\n Renderer.prototype.getBounds = function (view) {\n var bounds = view[BOUNDS];\n var parentElement = bounds.parentElement();\n var firstNode = bounds.firstNode();\n var lastNode = bounds.lastNode();\n return { parentElement: parentElement, firstNode: firstNode, lastNode: lastNode };\n };\n\n Renderer.prototype.createElement = function (tagName) {\n return this._env.getAppendOperations().createElement(tagName);\n };\n\n Renderer.prototype._renderRoot = function (root) {\n var roots = this._roots;\n\n roots.push(root);\n if (roots.length === 1) {\n register(this);\n }\n this._renderRootsTransaction();\n };\n\n Renderer.prototype._renderRoots = function () {\n var roots = this._roots,\n env = this._env,\n removedRoots = this._removedRoots,\n i,\n root,\n shouldReflush,\n _root,\n rootIndex;\n\n var globalShouldReflush = void 0;\n var initialRootsLength = void 0;\n do {\n env.begin();\n try {\n // ensure that for the first iteration of the loop\n // each root is processed\n initialRootsLength = roots.length;\n globalShouldReflush = false;\n for (i = 0; i < roots.length; i++) {\n 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);\n // skip over roots that have been marked as destroyed\n continue;\n }\n shouldReflush = root.shouldReflush;\n\n // when processing non-initial reflush loops,\n // do not process more roots than needed\n\n if (i >= initialRootsLength && !shouldReflush) {\n continue;\n }\n root.options.alwaysRevalidate = shouldReflush;\n // track shouldReflush based on this roots render result\n shouldReflush = root.shouldReflush = (0, _emberMetal.runInTransaction)(root, 'render');\n // globalShouldReflush should be `true` if *any* of\n // the roots need to reflush\n globalShouldReflush = globalShouldReflush || shouldReflush;\n }\n this._lastRevision = _reference.CURRENT_TAG.value();\n } finally {\n env.commit();\n }\n } while (globalShouldReflush || roots.length > initialRootsLength);\n // remove any roots that were destroyed during this transaction\n while (removedRoots.length) {\n _root = removedRoots.pop();\n rootIndex = roots.indexOf(_root);\n\n roots.splice(rootIndex, 1);\n }\n if (this._roots.length === 0) {\n deregister(this);\n }\n };\n\n Renderer.prototype._renderRootsTransaction = function () {\n if (this._isRenderingRoots) {\n // currently rendering roots, a new root was added and will\n // be processed by the existing _renderRoots invocation\n return;\n }\n // used to prevent calling _renderRoots again (see above)\n // while we are actively rendering roots\n this._isRenderingRoots = true;\n var completedWithoutError = false;\n try {\n this._renderRoots();\n completedWithoutError = true;\n } finally {\n if (!completedWithoutError) {\n this._lastRevision = _reference.CURRENT_TAG.value();\n if (this._env.inTransaction === true) {\n this._env.commit();\n }\n }\n this._isRenderingRoots = false;\n }\n };\n\n Renderer.prototype._clearAllRoots = function () {\n var roots = this._roots,\n i,\n root;\n for (i = 0; i < roots.length; i++) {\n root = roots[i];\n\n root.destroy();\n }\n this._removedRoots.length = 0;\n this._roots = [];\n // if roots were present before destroying\n // deregister this renderer instance\n if (roots.length) {\n deregister(this);\n }\n };\n\n Renderer.prototype._scheduleRevalidate = function () {\n _runloop.backburner.scheduleOnce('render', this, this._revalidate);\n };\n\n Renderer.prototype._isValid = function () {\n return this._destroyed || this._roots.length === 0 || _reference.CURRENT_TAG.validate(this._lastRevision);\n };\n\n Renderer.prototype._revalidate = function () {\n if (this._isValid()) {\n return;\n }\n this._renderRootsTransaction();\n };\n\n return Renderer;\n }();\n\n var InertRenderer = function (_Renderer) {\n (0, _emberBabel.inherits)(InertRenderer, _Renderer);\n\n function InertRenderer() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _Renderer.apply(this, arguments));\n }\n\n InertRenderer.create = function (_ref10) {\n var env = _ref10.env,\n rootTemplate = _ref10.rootTemplate,\n _viewRegistry = _ref10._viewRegistry,\n builder = _ref10.builder;\n\n return new this(env, rootTemplate, _viewRegistry, false, builder);\n };\n\n InertRenderer.prototype.getElement = function () {\n throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');\n };\n\n return InertRenderer;\n }(Renderer);\n\n var InteractiveRenderer = function (_Renderer2) {\n (0, _emberBabel.inherits)(InteractiveRenderer, _Renderer2);\n\n function InteractiveRenderer() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _Renderer2.apply(this, arguments));\n }\n\n InteractiveRenderer.create = function (_ref11) {\n var env = _ref11.env,\n rootTemplate = _ref11.rootTemplate,\n _viewRegistry = _ref11._viewRegistry,\n builder = _ref11.builder;\n\n return new this(env, rootTemplate, _viewRegistry, true, builder);\n };\n\n InteractiveRenderer.prototype.getElement = function (view) {\n return (0, _emberViews.getViewElement)(view);\n };\n\n return InteractiveRenderer;\n }(Renderer);\n\n var TEMPLATES = {};\n\n function getTemplates() {\n return TEMPLATES;\n }\n function getTemplate(name) {\n if (TEMPLATES.hasOwnProperty(name)) {\n return TEMPLATES[name];\n }\n }\n function hasTemplate(name) {\n return TEMPLATES.hasOwnProperty(name);\n }\n function setTemplate(name, template) {\n return TEMPLATES[name] = template;\n }\n\n ///<reference path=\"./simple-dom.d.ts\" />\n\n /**\n @module ember\n */\n /**\n Calls [loc](/api/classes/Ember.String.html#method_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](/api/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 var loc$1 = helper(function (params) {\n return _string.loc.apply(null, params);\n });\n\n var CompileTimeLookup = function () {\n function CompileTimeLookup(resolver) {\n\n this.resolver = resolver;\n }\n\n CompileTimeLookup.prototype.getCapabilities = function (handle) {\n var definition = this.resolver.resolve(handle);\n var manager = definition.manager,\n state = definition.state;\n\n return manager.getCapabilities(state);\n };\n\n CompileTimeLookup.prototype.getLayout = function (handle) {\n var _resolver$resolve = this.resolver.resolve(handle),\n manager = _resolver$resolve.manager,\n state = _resolver$resolve.state;\n\n var capabilities = manager.getCapabilities(state);\n if (capabilities.dynamicLayout) {\n return null;\n }\n var invocation = manager.getLayout(state, this.resolver);\n return {\n compile: function () {\n return invocation.handle;\n },\n\n symbolTable: invocation.symbolTable\n };\n };\n\n CompileTimeLookup.prototype.lookupHelper = function (name, referrer) {\n return this.resolver.lookupHelper(name, referrer);\n };\n\n CompileTimeLookup.prototype.lookupModifier = function (name, referrer) {\n return this.resolver.lookupModifier(name, referrer);\n };\n\n CompileTimeLookup.prototype.lookupComponentDefinition = function (name, referrer) {\n return this.resolver.lookupComponentHandle(name, referrer);\n };\n\n CompileTimeLookup.prototype.lookupPartial = function (name, referrer) {\n return this.resolver.lookupPartial(name, referrer);\n };\n\n return CompileTimeLookup;\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 };\n\n function hasAsyncLifeCycleCallbacks(delegate) {\n return delegate.capabilities.asyncLifeCycleCallbacks;\n }\n function hasDestructors(delegate) {\n return delegate.capabilities.destructor;\n }\n function valueForCapturedArgs(args) {\n return {\n named: args.named.value(),\n positional: args.positional.value()\n };\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 var CustomComponentManager = function (_AbstractManager3) {\n (0, _emberBabel.inherits)(CustomComponentManager, _AbstractManager3);\n\n function CustomComponentManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager3.apply(this, arguments));\n }\n\n CustomComponentManager.prototype.create = function (_env, definition, args) {\n var delegate = definition.delegate;\n\n var capturedArgs = args.capture();\n var invocationArgs = valueForCapturedArgs(capturedArgs);\n var component = delegate.createComponent(definition.ComponentClass.class, invocationArgs);\n return new CustomComponentState(delegate, component, capturedArgs);\n };\n\n CustomComponentManager.prototype.update = function (_ref12) {\n var delegate = _ref12.delegate,\n component = _ref12.component,\n args = _ref12.args;\n\n delegate.updateComponent(component, valueForCapturedArgs(args));\n };\n\n CustomComponentManager.prototype.didCreate = function (_ref13) {\n var delegate = _ref13.delegate,\n component = _ref13.component;\n\n if (hasAsyncLifeCycleCallbacks(delegate)) {\n delegate.didCreateComponent(component);\n }\n };\n\n CustomComponentManager.prototype.didUpdate = function (_ref14) {\n var delegate = _ref14.delegate,\n component = _ref14.component;\n\n if (hasAsyncLifeCycleCallbacks(delegate)) {\n delegate.didUpdateComponent(component);\n }\n };\n\n CustomComponentManager.prototype.getContext = function (_ref15) {\n var delegate = _ref15.delegate,\n component = _ref15.component;\n\n delegate.getContext(component);\n };\n\n CustomComponentManager.prototype.getSelf = function (_ref16) {\n var delegate = _ref16.delegate,\n component = _ref16.component;\n\n var context = delegate.getContext(component);\n return new RootReference(context);\n };\n\n CustomComponentManager.prototype.getDestructor = function (state) {\n if (hasDestructors(state.delegate)) {\n return state;\n } else {\n return null;\n }\n };\n\n CustomComponentManager.prototype.getCapabilities = function () {\n return CAPABILITIES$1;\n };\n\n CustomComponentManager.prototype.getTag = function (_ref17) {\n var args = _ref17.args;\n\n return args.tag;\n };\n\n CustomComponentManager.prototype.didRenderLayout = function () {};\n\n CustomComponentManager.prototype.getLayout = function (state) {\n return {\n handle: state.template.asLayout().compile(),\n symbolTable: state.symbolTable\n };\n };\n\n return CustomComponentManager;\n }(AbstractManager);\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 var CustomComponentState = function () {\n function CustomComponentState(delegate, component, args) {\n\n this.delegate = delegate;\n this.component = component;\n this.args = args;\n }\n\n CustomComponentState.prototype.destroy = function () {\n var delegate = this.delegate,\n component = this.component;\n\n if (hasDestructors(delegate)) {\n delegate.destroyComponent(component);\n }\n };\n\n return CustomComponentState;\n }();\n\n var CustomManagerDefinition = function (name, ComponentClass, delegate, template) {\n\n this.name = name;\n this.ComponentClass = ComponentClass;\n this.delegate = delegate;\n this.template = template;\n this.manager = CUSTOM_COMPONENT_MANAGER;\n var layout = template.asLayout();\n var symbolTable = layout.symbolTable;\n this.symbolTable = symbolTable;\n this.state = {\n name: name,\n ComponentClass: ComponentClass,\n template: template,\n symbolTable: symbolTable,\n delegate: delegate\n };\n };\n\n var CAPABILITIES$2 = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: false,\n attributeHook: false,\n elementHook: false,\n createCaller: true,\n dynamicScope: true,\n updateHook: true,\n createInstance: true\n };\n\n var TemplateOnlyComponentManager = function (_AbstractManager4) {\n (0, _emberBabel.inherits)(TemplateOnlyComponentManager, _AbstractManager4);\n\n function TemplateOnlyComponentManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager4.apply(this, arguments));\n }\n\n TemplateOnlyComponentManager.prototype.getLayout = function (template) {\n var layout = template.asLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n };\n\n TemplateOnlyComponentManager.prototype.getCapabilities = function () {\n return CAPABILITIES$2;\n };\n\n TemplateOnlyComponentManager.prototype.create = function () {\n return null;\n };\n\n TemplateOnlyComponentManager.prototype.getSelf = function () {\n return _runtime.NULL_REFERENCE;\n };\n\n TemplateOnlyComponentManager.prototype.getTag = function () {\n return _reference.CONSTANT_TAG;\n };\n\n TemplateOnlyComponentManager.prototype.getDestructor = function () {\n return null;\n };\n\n return TemplateOnlyComponentManager;\n }(AbstractManager);\n\n var MANAGER = new TemplateOnlyComponentManager();\n\n var TemplateOnlyComponentDefinition = function (state) {\n\n this.state = state;\n this.manager = MANAGER;\n };\n\n function classHelper(_ref18) {\n var positional = _ref18.positional;\n\n var path = positional.at(0);\n var args = positional.length;\n var value = path.value();\n if (value === true) {\n if (args > 1) {\n return (0, _string.dasherize)(positional.at(1).value());\n }\n return null;\n }\n if (value === false) {\n if (args > 2) {\n return (0, _string.dasherize)(positional.at(2).value());\n }\n return null;\n }\n return value;\n }\n\n\n function htmlSafe$1(_ref19) {\n var positional = _ref19.positional;\n\n var path = positional.at(0);\n return new SafeString(path.value());\n }\n\n\n function inputTypeHelper(_ref20) {\n var positional = _ref20.positional;\n\n var type = positional.at(0).value();\n if (type === 'checkbox') {\n return '-checkbox';\n }\n return '-text-field';\n }\n\n\n function normalizeClass(_ref21) {\n var positional = _ref21.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 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\n /**\n @module ember\n */\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 '@ember/component';\n \n export default Component.extend({\n actions: {\n save() {\n this.get('model').save();\n }\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](/api/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/my-component.js\n import Component from '@ember/component';\n \n export default Component.extend({\n actions: {\n // Usage {{input on-input=(action (action 'setName' model) value=\"target.value\")}}\n setName(model, name) {\n model.set('name', name);\n }\n }\n });\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 '@ember/component';\n \n export default Component.extend({\n actions: {\n setName(model, name) {\n model.set('name', name);\n }\n }\n });\n ```\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\"](/api/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\"](/api/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 Controller.extend({\n someService: service()\n });\n ```\n \n @method action\n @for Ember.Templates.helpers\n @public\n */\n function action(_vm, args) {\n var named = args.named,\n positional = args.positional;\n\n var capturedArgs = positional.capture();\n // The first two argument slots are reserved.\n // pos[0] is the context (or `this`)\n // pos[1] is the action name or function\n // Anything else is an action argument.\n\n var _capturedArgs$referen = capturedArgs.references,\n context = _capturedArgs$referen[0],\n action = _capturedArgs$referen[1],\n restArgs = _capturedArgs$referen.slice(2);\n\n // TODO: Is there a better way of doing this?\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 = void 0;\n if (typeof action[INVOKE] === 'function') {\n fn = makeClosureAction(action, action, action[INVOKE], processArgs, debugKey);\n } else if ((0, _reference.isConst)(target) && (0, _reference.isConst)(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 fn[ACTION] = true;\n return new UnboundReference(fn);\n }\n function NOOP$1(args) {\n return args;\n }\n function makeArgsProcessor(valuePathRef, actionArgsRef) {\n var mergeArgs = void 0;\n if (actionArgsRef.length > 0) {\n mergeArgs = function (args) {\n return actionArgsRef.map(function (ref) {\n return ref.value();\n }).concat(args);\n };\n }\n var readValue = void 0;\n if (valuePathRef) {\n readValue = function (args) {\n var valuePath = valuePathRef.value();\n if (valuePath && args.length > 0) {\n args[0] = (0, _emberMetal.get)(args[0], valuePath);\n }\n return args;\n };\n }\n if (mergeArgs && readValue) {\n return function (args) {\n return readValue(mergeArgs(args));\n };\n } else {\n return mergeArgs || readValue || NOOP$1;\n }\n }\n function makeDynamicClosureAction(context, targetRef, actionRef, processArgs, debugKey) {\n return function () {\n return makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey).apply(undefined, arguments);\n };\n }\n function makeClosureAction(context, target, action, processArgs, debugKey) {\n var self = void 0,\n typeofAction;\n var fn = void 0;\n false && !(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 typeofAction = typeof action;\n\n if (typeofAction === 'string') {\n self = target;\n fn = target.actions && target.actions[action];\n false && !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 false && !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 return function () {\n for (_len = arguments.length, args = Array(_len), _key2 = 0; _key2 < _len; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var payload = { target: self, args: args, label: '@glimmer/closure-action' },\n _len,\n args,\n _key2;\n return (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n return _runloop.join.apply(undefined, [self, fn].concat(processArgs(args)));\n });\n };\n }\n\n var isEmpty = function (value) {\n return value === null || value === undefined || typeof value.toString !== 'function';\n };\n var normalizeTextValue = function (value) {\n if (isEmpty(value)) {\n return '';\n }\n return String(value);\n };\n /**\n @module ember\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 @public\n @method concat\n @for Ember.Templates.helpers\n @since 1.13.0\n */\n function concat(_ref22) {\n var positional = _ref22.positional;\n\n return positional.value().map(normalizeTextValue).join('');\n }\n\n /**\n @module ember\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 ```handlebars\n {{person.height}}\n {{get person \"height\"}}\n ```\n \n If there were several facts about a person, the `{{get}}` helper can dynamically\n pick one:\n \n ```handlebars\n {{get person 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 ```handlebars\n {{get person factName}}\n <button {{action (action (mut factName)) \"height\"}}>Show height</button>\n <button {{action (action (mut factName)) \"weight\"}}>Show weight</button>\n ```\n \n The `{{get}}` helper can also respect mutable values itself. For example:\n \n ```handlebars\n {{input value=(mut (get person factName)) type=\"text\"}}\n <button {{action (action (mut factName)) \"height\"}}>Show height</button>\n <button {{action (action (mut factName)) \"weight\"}}>Show weight</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 function referenceFromPath(source, path) {\n var innerReference = void 0;\n if (path === undefined || path === null || path === '') {\n innerReference = _runtime.NULL_REFERENCE;\n } else if (typeof path === 'string' && path.indexOf('.') > -1) {\n innerReference = referenceFromParts(source, path.split('.'));\n } else {\n innerReference = source.get(path);\n }\n return innerReference;\n }\n\n var GetHelperReference = function (_CachedReference$6) {\n (0, _emberBabel.inherits)(GetHelperReference, _CachedReference$6);\n\n GetHelperReference.create = function (sourceReference, pathReference) {\n var path;\n\n if ((0, _reference.isConst)(pathReference)) {\n path = pathReference.value();\n\n return referenceFromPath(sourceReference, path);\n } else {\n return new GetHelperReference(sourceReference, pathReference);\n }\n };\n\n function GetHelperReference(sourceReference, pathReference) {\n\n var _this35 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$6.call(this));\n\n _this35.sourceReference = sourceReference;\n _this35.pathReference = pathReference;\n _this35.lastPath = null;\n _this35.innerReference = _runtime.NULL_REFERENCE;\n var innerTag = _this35.innerTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n _this35.tag = (0, _reference.combine)([sourceReference.tag, pathReference.tag, innerTag]);\n return _this35;\n }\n\n GetHelperReference.prototype.compute = function () {\n var lastPath = this.lastPath,\n innerReference = this.innerReference,\n innerTag = this.innerTag;\n\n var path = this.pathReference.value();\n if (path !== lastPath) {\n innerReference = referenceFromPath(this.sourceReference, path);\n innerTag.inner.update(innerReference.tag);\n this.innerReference = innerReference;\n this.lastPath = path;\n }\n return innerReference.value();\n };\n\n GetHelperReference.prototype[UPDATE] = function (value) {\n (0, _emberMetal.set)(this.sourceReference.value(), this.pathReference.value(), value);\n };\n\n return GetHelperReference;\n }(CachedReference$1);\n\n /**\n @module ember\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 /**\n @module ember\n */\n\n var ConditionalHelperReference = function (_CachedReference$7) {\n (0, _emberBabel.inherits)(ConditionalHelperReference, _CachedReference$7);\n\n ConditionalHelperReference.create = function (_condRef, truthyRef, falsyRef) {\n var condRef = ConditionalReference$1.create(_condRef);\n if ((0, _reference.isConst)(condRef)) {\n return condRef.value() ? truthyRef : falsyRef;\n } else {\n return new ConditionalHelperReference(condRef, truthyRef, falsyRef);\n }\n };\n\n function ConditionalHelperReference(cond, truthy, falsy) {\n\n var _this36 = (0, _emberBabel.possibleConstructorReturn)(this, _CachedReference$7.call(this));\n\n _this36.branchTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n _this36.tag = (0, _reference.combine)([cond.tag, _this36.branchTag]);\n _this36.cond = cond;\n _this36.truthy = truthy;\n _this36.falsy = falsy;\n return _this36;\n }\n\n ConditionalHelperReference.prototype.compute = function () {\n var branch = this.cond.value() ? this.truthy : this.falsy;\n this.branchTag.inner.update(branch.tag);\n return branch.value();\n };\n\n return ConditionalHelperReference;\n }(CachedReference$1);\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 ```handlebars\n {{! will not render if foo is falsey}}\n {{#if foo}}\n Welcome to the {{foo.bar}}\n {{/if}}\n ```\n \n You can also specify a template to show if the property is falsey by using\n the `else` helper.\n \n ```handlebars\n {{! is it raining outside?}}\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 ```handlebars\n {{#if isMorning}}\n Good morning\n {{else if isAfternoon}}\n Good afternoon\n {{else}}\n Good night\n {{/if}}\n ```\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 ```handlebars\n {{if useLongGreeting \"Hello\" \"Hi\"}} Alex\n ```\n \n Will render:\n \n ```html\n Hello Alex\n ```\n \n ### Nested `if`\n \n You can use the `if` helper inside another helper as a nested helper:\n \n ```handlebars\n {{some-component height=(if isBig \"100\" \"10\")}}\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 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 ```handlebars\n {{unless useLongGreeting \"Hi\" \"Hello\"}} Ben\n ```\n \n You can use the `unless` helper inside another helper as a subexpression.\n \n ```handlebars\n {{some-component height=(unless isBig \"10\" \"100\")}}\n ```\n \n @method unless\n @for Ember.Templates.helpers\n @public\n */\n\n\n /**\n @module ember\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 function log(_ref25) {\n var _console;\n\n var positional = _ref25.positional;\n\n /* eslint-disable no-console */\n (_console = console).log.apply(_console, positional.value());\n /* eslint-enable no-console */\n }\n\n\n /**\n @module ember\n */\n /**\n The `mut` helper lets you __clearly specify__ that a child `Component` can update the\n (mutable) value passed to it, which will __change the value of the parent component__.\n \n To specify that a parameter is mutable, when invoking the child `Component`:\n \n ```handlebars\n {{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 `action` helper to\n mutate a value. For example:\n \n ```handlebars\n {{my-child childClickCount=totalClicks click-count-change=(action (mut totalClicks))}}\n ```\n \n The child `Component` would invoke the action 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 action argument.\n \n The `mut` helper, when used with `action`, will return a function that\n sets the value passed to `mut` to its first argument. This works like any other\n closure action and interacts with the other features `action` provides.\n As an example, we can create a button that increments a value passing the value\n directly to the `action`:\n \n ```handlebars\n {{! inc helper is not provided by Ember }}\n <button onclick={{action (mut count) (inc count)}}>\n Increment count\n </button>\n ```\n \n You can also use the `value` option:\n \n ```handlebars\n <input value={{name}} oninput={{action (mut name) value=\"target.value\"}}>\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 var MUT_REFERENCE = (0, _emberUtils.symbol)('MUT');\n var SOURCE = (0, _emberUtils.symbol)('SOURCE');\n function isMut(ref) {\n return ref && ref[MUT_REFERENCE];\n }\n function unMut(ref) {\n return ref[SOURCE] || ref;\n }\n\n\n /**\n @module ember\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\n \n ```handlebars\n {{#link-to 'posts' (query-params direction=\"asc\")}}Sort{{/link-to}}\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 function queryParams(_ref26) {\n var positional = _ref26.positional,\n named = _ref26.named;\n false && !(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\n return new _emberRouting.QueryParams((0, _polyfills.assign)({}, named.value()));\n }\n\n /**\n The `readonly` helper let's you specify that a binding is one-way only,\n instead of two-way.\n When you pass a `readonly` binding from an outer context (e.g. parent component),\n to to an inner context (e.g. child component), you are saying that changing that\n property in the inner context does not change the value in the outer context.\n \n To specify that a binding is read-only, when invoking the child `Component`:\n \n ```app/components/my-parent.js\n export default Component.extend({\n totalClicks: 3\n });\n ```\n \n ```app/templates/components/my-parent.hbs\n {{log totalClicks}} // -> 3\n {{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 {{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 {{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 {{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 /**\n @module ember\n */\n /**\n The `{{unbound}}` helper disconnects the one-way binding of a property,\n essentially freezing its value at the moment of rendering. For example,\n in this example the display of the variable `name` will not change even\n if it is set with a new value:\n \n ```handlebars\n {{unbound 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 name)}}\n {{! You can use any helper, including unbound, in a nested expression }}\n {{capitalize (unbound 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 var MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\n var POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\n function isAllowedEvent(event, allowedKeys) {\n var i;\n\n if (allowedKeys === null || allowedKeys === undefined) {\n if (POINTER_EVENT_TYPE_REGEX.test(event.type)) {\n return (0, _emberViews.isSimpleClick)(event);\n } else {\n allowedKeys = '';\n }\n }\n if (allowedKeys.indexOf('any') >= 0) {\n return true;\n }\n for (i = 0; i < MODIFIERS.length; i++) {\n if (event[MODIFIERS[i] + 'Key'] && allowedKeys.indexOf(MODIFIERS[i]) === -1) {\n return false;\n }\n }\n return true;\n }\n var ActionHelper = {\n // registeredActions is re-exported for compatibility with older plugins\n // that were using this undocumented API.\n registeredActions: _emberViews.ActionManager.registeredActions,\n registerAction: function (actionState) {\n var actionId = actionState.actionId;\n\n _emberViews.ActionManager.registeredActions[actionId] = actionState;\n return actionId;\n },\n unregisterAction: function (actionState) {\n var actionId = actionState.actionId;\n\n delete _emberViews.ActionManager.registeredActions[actionId];\n }\n };\n\n var ActionState = function () {\n function ActionState(element, actionId, actionName, actionArgs, namedArgs, positionalArgs, implicitTarget, dom, tag) {\n\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 }\n\n ActionState.prototype.getEventName = function () {\n return this.namedArgs.get('on').value() || 'click';\n };\n\n ActionState.prototype.getActionArgs = function () {\n var result = new Array(this.actionArgs.length),\n i;\n for (i = 0; i < this.actionArgs.length; i++) {\n result[i] = this.actionArgs[i].value();\n }\n return result;\n };\n\n ActionState.prototype.getTarget = function () {\n var implicitTarget = this.implicitTarget,\n namedArgs = this.namedArgs;\n\n var target = void 0;\n if (namedArgs.has('target')) {\n target = namedArgs.get('target').value();\n } else {\n target = implicitTarget.value();\n }\n return target;\n };\n\n ActionState.prototype.handler = function (event) {\n var _this37 = this;\n\n var actionName = this.actionName,\n namedArgs = this.namedArgs;\n\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 if (!isAllowedEvent(event, allowedKeys.value())) {\n return true;\n }\n if (preventDefault.value() !== false) {\n event.preventDefault();\n }\n if (!shouldBubble) {\n event.stopPropagation();\n }\n (0, _runloop.join)(function () {\n var args = _this37.getActionArgs();\n var payload = {\n args: args,\n target: target,\n name: null\n };\n if (typeof actionName[INVOKE] === 'function') {\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n actionName[INVOKE].apply(actionName, args);\n });\n return;\n }\n if (typeof actionName === 'function') {\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n actionName.apply(target, args);\n });\n return;\n }\n payload.name = actionName;\n if (target.send) {\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n target.send.apply(target, [actionName].concat(args));\n });\n } else {\n false && !(typeof target[actionName] === 'function') && (0, _debug.assert)('The action \\'' + actionName + '\\' did not exist on ' + target, typeof target[actionName] === 'function');\n\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, function () {\n target[actionName].apply(target, args);\n });\n }\n });\n return shouldBubble;\n };\n\n ActionState.prototype.destroy = function () {\n ActionHelper.unregisterAction(this);\n };\n\n return ActionState;\n }();\n\n var ActionModifierManager = function () {\n function ActionModifierManager() {}\n\n ActionModifierManager.prototype.create = function (element, args, _dynamicScope, dom) {\n var _args$capture = args.capture(),\n named = _args$capture.named,\n positional = _args$capture.positional,\n tag = _args$capture.tag,\n actionLabel,\n i;\n\n var implicitTarget = void 0;\n var actionName = void 0;\n var actionNameRef = void 0;\n if (positional.length > 1) {\n implicitTarget = positional.at(0);\n actionNameRef = positional.at(1);\n if (actionNameRef[INVOKE]) {\n actionName = actionNameRef;\n } else {\n actionLabel = actionNameRef._propertyKey;\n\n actionName = actionNameRef.value();\n false && !(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 var actionArgs = [];\n // The first two arguments are (1) `this` and (2) the action name.\n // Everything else is a param.\n for (i = 2; i < positional.length; i++) {\n actionArgs.push(positional.at(i));\n }\n var actionId = (0, _emberUtils.uuid)();\n return new ActionState(element, actionId, actionName, actionArgs, named, positional, implicitTarget, dom, tag);\n };\n\n ActionModifierManager.prototype.install = function (actionState) {\n var dom = actionState.dom,\n element = actionState.element,\n actionId = actionState.actionId;\n\n ActionHelper.registerAction(actionState);\n dom.setAttribute(element, 'data-ember-action', '');\n dom.setAttribute(element, 'data-ember-action-' + actionId, actionId);\n };\n\n ActionModifierManager.prototype.update = function (actionState) {\n var positional = actionState.positional;\n\n var actionNameRef = positional.at(1);\n if (!actionNameRef[INVOKE]) {\n actionState.actionName = actionNameRef.value();\n }\n actionState.eventName = actionState.getEventName();\n };\n\n ActionModifierManager.prototype.getTag = function (actionState) {\n return actionState.tag;\n };\n\n ActionModifierManager.prototype.getDestructor = function (modifier) {\n return modifier;\n };\n\n return ActionModifierManager;\n }();\n\n function hashToArgs(hash) {\n if (hash === null) return null;\n var names = hash[0].map(function (key) {\n return '@' + key;\n });\n return [names, hash[1]];\n }\n\n function textAreaMacro(_name, params, hash, builder) {\n var definition = builder.compiler['resolver'].lookupComponentDefinition('-text-area', builder.referrer);\n wrapComponentClassAttribute(hash);\n builder.component.static(definition, [params || [], hashToArgs(hash), null, null]);\n return true;\n }\n\n /**\n @module ember\n */\n function buildSyntax(type, params, hash, builder) {\n var definition = builder.compiler['resolver'].lookupComponentDefinition(type, builder.referrer);\n builder.component.static(definition, [params, hashToArgs(hash), null, null]);\n return true;\n }\n /**\n The `{{input}}` helper lets you create an HTML `<input />` component.\n It causes an `TextField` component to be rendered. For more info,\n see the [TextField](/api/ember/release/classes/TextField) docs and\n the [templates guide](https://guides.emberjs.com/release/templates/input-helpers/).\n \n ```handlebars\n {{input value=\"987\"}}\n ```\n \n renders as:\n \n ```HTML\n <input type=\"text\" value=\"987\" />\n ```\n \n ### Text field\n \n If no `type` option is specified, a default of type 'text' is used.\n Many of the standard HTML attributes may be passed to this helper.\n <table>\n <tr><td>`readonly`</td><td>`required`</td><td>`autofocus`</td></tr>\n <tr><td>`value`</td><td>`placeholder`</td><td>`disabled`</td></tr>\n <tr><td>`size`</td><td>`tabindex`</td><td>`maxlength`</td></tr>\n <tr><td>`name`</td><td>`min`</td><td>`max`</td></tr>\n <tr><td>`pattern`</td><td>`accept`</td><td>`autocomplete`</td></tr>\n <tr><td>`autosave`</td><td>`formaction`</td><td>`formenctype`</td></tr>\n <tr><td>`formmethod`</td><td>`formnovalidate`</td><td>`formtarget`</td></tr>\n <tr><td>`height`</td><td>`inputmode`</td><td>`multiple`</td></tr>\n <tr><td>`step`</td><td>`width`</td><td>`form`</td></tr>\n <tr><td>`selectionDirection`</td><td>`spellcheck`</td><td>&nbsp;</td></tr>\n </table>\n When set to a quoted string, these values will be directly applied to the HTML\n element. When left unquoted, these values will be bound to a property on the\n template's current rendering context (most typically a controller instance).\n A very common use of this helper is to bind the `value` of an input to an Object's attribute:\n \n ```handlebars\n Search:\n {{input value=searchWord}}\n ```\n \n In this example, the initial value in the `<input />` will be set to the value of `searchWord`.\n If the user changes the text, the value of `searchWord` will also be updated.\n \n ### Actions\n \n The helper can send multiple actions based on user events.\n The action property defines the action which is sent when\n the user presses the return key.\n \n ```handlebars\n {{input action=\"submit\"}}\n ```\n \n The helper allows some user events to send actions.\n \n * `enter`\n * `insert-newline`\n * `escape-press`\n * `focus-in`\n * `focus-out`\n * `key-press`\n * `key-up`\n \n For example, if you desire an action to be sent when the input is blurred,\n you only need to setup the action name to the event name property.\n \n ```handlebars\n {{input focus-out=\"alertMessage\"}}\n ```\n See more about [Text Support Actions](/api/ember/release/classes/TextField)\n \n ### Extending `TextField`\n \n Internally, `{{input type=\"text\"}}` creates an instance of `TextField`, passing\n arguments from the helper to `TextField`'s `create` method. You can extend the\n capabilities of text inputs in your applications by reopening this class. For example,\n if you are building a Bootstrap project where `data-*` attributes are used, you\n can add one to the `TextField`'s `attributeBindings` property:\n \n ```javascript\n import TextField from '@ember/component/text-field';\n TextField.reopen({\n attributeBindings: ['data-error']\n });\n ```\n \n Keep in mind when writing `TextField` subclasses that `TextField`\n itself extends `Component`. Expect isolated component semantics, not\n legacy 1.x view semantics (like `controller` being present).\n See more about [Ember components](/api/ember/release/classes/Component)\n \n ### Checkbox\n \n Checkboxes are special forms of the `{{input}}` helper. To create a `<checkbox />`:\n \n ```handlebars\n Emberize Everything:\n {{input type=\"checkbox\" name=\"isEmberized\" checked=isEmberized}}\n ```\n \n This will bind checked state of this checkbox to the value of `isEmberized` -- if either one changes,\n it will be reflected in the other.\n \n The following HTML attributes can be set via the helper:\n \n * `checked`\n * `disabled`\n * `tabindex`\n * `indeterminate`\n * `name`\n * `autofocus`\n * `form`\n \n ### Extending `Checkbox`\n \n Internally, `{{input type=\"checkbox\"}}` creates an instance of `Checkbox`, passing\n arguments from the helper to `Checkbox`'s `create` method. You can extend the\n capablilties of checkbox inputs in your applications by reopening this class. For example,\n if you wanted to add a css class to all checkboxes in your application:\n \n ```javascript\n import Checkbox from '@ember/component/checkbox';\n \n Checkbox.reopen({\n classNames: ['my-app-checkbox']\n });\n ```\n \n @method input\n @for Ember.Templates.helpers\n @param {Hash} options\n @public\n */\n function inputMacro(_name, params, hash, builder) {\n var keys, values, typeIndex, typeArg, inputTypeExpr;\n\n if (params === null) {\n params = [];\n }\n if (hash !== null) {\n keys = hash[0];\n values = hash[1];\n typeIndex = keys.indexOf('type');\n\n if (typeIndex > -1) {\n typeArg = values[typeIndex];\n\n if (Array.isArray(typeArg)) {\n // there is an AST plugin that converts this to an expression\n // it really should just compile in the component call too.\n inputTypeExpr = params[0];\n\n builder.dynamicComponent(inputTypeExpr, null, params.slice(1), hash, true, null, null);\n return true;\n }\n if (typeArg === 'checkbox') {\n false && !(keys.indexOf('value') === -1) && (0, _debug.assert)(\"{{input type='checkbox'}} does not support setting `value=someBooleanValue`; \" + 'you must use `checked=someBooleanValue` instead.', keys.indexOf('value') === -1);\n\n wrapComponentClassAttribute(hash);\n return buildSyntax('-checkbox', params, hash, builder);\n }\n }\n }\n return buildSyntax('-text-field', params, hash, builder);\n }\n\n /**\n @module ember\n */\n /**\n The `let` helper receives one or more positional arguments and yields\n them out as block params.\n \n This allows the developer to introduce shorter names for certain computations\n in the template.\n \n This is especially useful if you are passing properties to a component\n that receives a lot of options and you want to clean up the invocation.\n \n For the following example, the template receives a `post` object with\n `content` and `title` properties.\n \n We are going to call the `my-post` component, passing a title which is\n the title of the post suffixed with the name of the blog, the content\n of the post, and a series of options defined in-place.\n \n ```handlebars\n {{#let\n (concat post.title ' | The Ember.js Blog')\n post.content\n (hash\n theme=\"high-contrast\"\n enableComments=true\n )\n as |title content options|\n }}\n {{my-post title=title content=content options=options}}\n {{/let}}\n ```\n \n @method let\n @for Ember.Templates.helpers\n @public\n */\n function blockLetMacro(params, _hash, template, _inverse, builder) {\n if (template !== null) {\n if (params !== null) {\n builder.compileParams(params);\n builder.invokeStaticBlock(template, params.length);\n } else {\n builder.invokeStatic(template);\n }\n }\n return true;\n }\n\n var CAPABILITIES$3 = {\n dynamicLayout: true,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: false,\n attributeHook: false,\n elementHook: false,\n createCaller: true,\n dynamicScope: true,\n updateHook: true,\n createInstance: true\n };\n\n var MountManager = function (_AbstractManager5) {\n (0, _emberBabel.inherits)(MountManager, _AbstractManager5);\n\n function MountManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager5.apply(this, arguments));\n }\n\n MountManager.prototype.getDynamicLayout = function (state) {\n var template = state.engine.lookup('template:application');\n var layout = template.asLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n };\n\n MountManager.prototype.getCapabilities = function () {\n return CAPABILITIES$3;\n };\n\n MountManager.prototype.create = function (environment, state) {\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.owner.buildChildEngineInstance(state.name),\n model,\n modelRev;\n engine.boot();\n var applicationFactory = engine.factoryFor('controller:application');\n var controllerFactory = applicationFactory || (0, _emberRouting.generateControllerFactory)(engine, 'application');\n var controller = void 0;\n var self = void 0;\n var bucket = void 0;\n var tag = void 0;\n\n var modelRef = state.modelRef;\n if (modelRef === undefined) {\n controller = controllerFactory.create();\n self = new RootReference(controller);\n tag = _reference.CONSTANT_TAG;\n bucket = { engine: engine, controller: controller, self: self, tag: tag };\n } else {\n model = modelRef.value();\n modelRev = modelRef.tag.value();\n\n controller = controllerFactory.create({ model: model });\n self = new RootReference(controller);\n tag = modelRef.tag;\n bucket = { engine: engine, controller: controller, self: self, tag: tag, modelRef: modelRef, modelRev: modelRev };\n }\n\n return bucket;\n };\n\n MountManager.prototype.getSelf = function (_ref27) {\n var self = _ref27.self;\n\n return self;\n };\n\n MountManager.prototype.getTag = function (state) {\n return state.tag;\n };\n\n MountManager.prototype.getDestructor = function (_ref28) {\n var engine = _ref28.engine;\n\n return engine;\n };\n\n MountManager.prototype.didRenderLayout = function () {};\n\n MountManager.prototype.update = function (bucket) {\n var controller = bucket.controller,\n modelRef = bucket.modelRef,\n modelRev = bucket.modelRev,\n model;\n\n if (!modelRef.tag.validate(modelRev)) {\n model = modelRef.value();\n\n bucket.modelRev = modelRef.tag.value();\n controller.set('model', model);\n }\n };\n\n return MountManager;\n }(AbstractManager);\n\n var MOUNT_MANAGER = new MountManager();\n\n var MountDefinition = function (name, modelRef) {\n\n this.manager = MOUNT_MANAGER;\n this.state = { name: name, modelRef: modelRef };\n };\n\n /**\n @module ember\n */\n\n /**\n The `{{mount}}` helper lets you embed a routeless engine in a template.\n Mounting an engine will cause an instance to be booted and its `application`\n template to be rendered.\n \n For example, the following template mounts the `ember-chat` engine:\n \n ```handlebars\n {{! application.hbs }}\n {{mount \"ember-chat\"}}\n ```\n \n Additionally, you can also pass in a `model` argument that will be\n set as the engines model. This can be an existing object:\n \n ```\n <div>\n {{mount 'admin' model=userSettings}}\n </div>\n ```\n \n Or an inline `hash`, and you can even pass components:\n \n ```\n <div>\n <h1>Application template!</h1>\n {{mount 'admin' model=(hash\n title='Secret Admin'\n signInButton=(component 'sign-in-button')\n )}}\n </div>\n ```\n \n @method mount\n @param {String} name Name of the engine to mount.\n @param {Object} [model] Object that will be set as\n the model of the engine.\n @for Ember.Templates.helpers\n @category ember-application-engines\n @public\n */\n function mountMacro(_name, params, hash, builder) {\n false && !(params.length === 1) && (0, _debug.assert)('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', params.length === 1);\n\n var expr = [_wireFormat.Ops.Helper, '-mount', params || [], hash];\n builder.dynamicComponent(expr, null, [], null, false, null, null);\n return true;\n }\n\n var DynamicEngineReference = function () {\n function DynamicEngineReference(nameRef, env, modelRef) {\n\n this.tag = nameRef.tag;\n this.nameRef = nameRef;\n this.modelRef = modelRef;\n this.env = env;\n this._lastName = null;\n this._lastDef = null;\n }\n\n DynamicEngineReference.prototype.value = function () {\n var env = this.env,\n nameRef = this.nameRef,\n modelRef = this.modelRef;\n\n var name = nameRef.value();\n if (typeof name === 'string') {\n if (this._lastName === name) {\n return this._lastDef;\n }\n false && !env.owner.hasRegistration('engine:' + name) && (0, _debug.assert)('You used `{{mount \\'' + name + '\\'}}`, but the engine \\'' + name + '\\' can not be found.', env.owner.hasRegistration('engine:' + name));\n\n if (!env.owner.hasRegistration('engine:' + name)) {\n return null;\n }\n this._lastName = name;\n this._lastDef = (0, _runtime.curry)(new MountDefinition(name, modelRef));\n return this._lastDef;\n } else {\n false && !(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\n this._lastDef = null;\n this._lastName = null;\n return null;\n }\n };\n\n DynamicEngineReference.prototype.get = function () {\n return _runtime.UNDEFINED_REFERENCE;\n };\n\n return DynamicEngineReference;\n }();\n\n var RootOutletReference = function () {\n function RootOutletReference(outletState) {\n\n this.outletState = outletState;\n this.tag = _reference.DirtyableTag.create();\n }\n\n RootOutletReference.prototype.get = function (key) {\n return new PathReference(this, key);\n };\n\n RootOutletReference.prototype.value = function () {\n return this.outletState;\n };\n\n RootOutletReference.prototype.update = function (state) {\n this.outletState.outlets.main = state;\n this.tag.inner.dirty();\n };\n\n return RootOutletReference;\n }();\n\n var OutletReference = function () {\n function OutletReference(parentStateRef, outletNameRef) {\n\n this.parentStateRef = parentStateRef;\n this.outletNameRef = outletNameRef;\n this.tag = (0, _reference.combine)([parentStateRef.tag, outletNameRef.tag]);\n }\n\n OutletReference.prototype.value = function () {\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 OutletReference.prototype.get = function (key) {\n return new PathReference(this, key);\n };\n\n return OutletReference;\n }();\n\n var PathReference = function () {\n function PathReference(parent, key) {\n\n this.parent = parent;\n this.key = key;\n this.tag = parent.tag;\n }\n\n PathReference.prototype.get = function (key) {\n return new PathReference(this, key);\n };\n\n PathReference.prototype.value = function () {\n var parent = this.parent.value();\n return parent && parent[this.key];\n };\n\n return PathReference;\n }();\n\n var OrphanedOutletReference = function () {\n function OrphanedOutletReference(root, name) {\n\n this.root = root;\n this.name = name;\n this.tag = root.tag;\n }\n\n OrphanedOutletReference.prototype.value = function () {\n var rootState = this.root.value();\n var outletState = rootState && rootState.outlets.main;\n var outlets = outletState && outletState.outlets;\n outletState = outlets && outlets.__ember_orphans__;\n outlets = outletState && outletState.outlets;\n if (outlets === undefined) {\n return;\n }\n var matched = outlets[this.name];\n if (matched === undefined || matched.render === undefined) {\n return;\n }\n var state = Object.create(null);\n state[matched.render.outlet] = matched;\n matched.wasUsed = true;\n return { outlets: state, render: undefined };\n };\n\n OrphanedOutletReference.prototype.get = function (key) {\n return new PathReference(this, key);\n };\n\n return OrphanedOutletReference;\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 ```handlebars\n {{! app/templates/application.hbs }}\n <!-- header content goes here, and will always display -->\n {{my-header}}\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 <!-- footer content goes here, and will always display -->\n {{my-footer}}\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 ```handlebars\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 Route.extend({\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 function outletMacro(_name, params, hash, builder) {\n var expr = [_wireFormat.Ops.Helper, '-outlet', params || [], hash];\n builder.dynamicComponent(expr, null, [], null, false, null, null);\n return true;\n }\n\n var OutletComponentReference = function () {\n function OutletComponentReference(outletRef) {\n\n this.outletRef = outletRef;\n this.definition = null;\n this.lastState = null;\n // The router always dirties the root state.\n this.tag = outletRef.tag;\n }\n\n OutletComponentReference.prototype.value = function () {\n var state = stateFor(this.outletRef);\n if (validate(state, this.lastState)) {\n return this.definition;\n }\n this.lastState = state;\n var definition = null;\n if (state !== null) {\n definition = (0, _runtime.curry)(new OutletComponentDefinition(state));\n }\n return this.definition = definition;\n };\n\n OutletComponentReference.prototype.get = function () {\n return _runtime.UNDEFINED_REFERENCE;\n };\n\n return OutletComponentReference;\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 = render.template;\n if (template === undefined) return null;\n return {\n ref: ref,\n name: render.name,\n outlet: render.outlet,\n template: template,\n controller: render.controller\n };\n }\n function validate(state, lastState) {\n if (state === null) {\n return lastState === null;\n }\n if (lastState === null) {\n return false;\n }\n return state.template === lastState.template && state.controller === lastState.controller;\n }\n\n var NON_SINGLETON_RENDER_MANAGER = void 0;\n var SINGLETON_RENDER_MANAGER = void 0;\n var RenderDefinition = void 0;\n if (_deprecatedFeatures.RENDER_HELPER) {\n AbstractRenderManager = function (_AbstractManager6) {\n (0, _emberBabel.inherits)(AbstractRenderManager, _AbstractManager6);\n\n function AbstractRenderManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractManager6.apply(this, arguments));\n }\n\n AbstractRenderManager.prototype.create = function (env, definition, args, dynamicScope) {\n var name = definition.name;\n\n if (dynamicScope.rootOutletState) {\n dynamicScope.outletState = new OrphanedOutletReference(dynamicScope.rootOutletState, name);\n }\n return this.createRenderState(args, env.owner, name);\n };\n\n AbstractRenderManager.prototype.getLayout = function (_ref29) {\n var template = _ref29.template;\n\n var layout = template.asLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n };\n\n AbstractRenderManager.prototype.getSelf = function (_ref30) {\n var controller = _ref30.controller;\n\n return new RootReference(controller);\n };\n\n return AbstractRenderManager;\n }(AbstractManager);\n _CAPABILITIES = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: false,\n attributeHook: false,\n elementHook: false,\n createCaller: true,\n dynamicScope: true,\n updateHook: true,\n createInstance: true\n };\n SingletonRenderManager = function (_AbstractRenderManage) {\n (0, _emberBabel.inherits)(SingletonRenderManager, _AbstractRenderManage);\n\n function SingletonRenderManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractRenderManage.apply(this, arguments));\n }\n\n SingletonRenderManager.prototype.createRenderState = function (_args, owner, name) {\n var controller = owner.lookup('controller:' + name) || (0, _emberRouting.generateController)(owner, name);\n return { controller: controller };\n };\n\n SingletonRenderManager.prototype.getCapabilities = function () {\n return _CAPABILITIES;\n };\n\n SingletonRenderManager.prototype.getTag = function () {\n // todo this should be the tag of the state args\n return _reference.CONSTANT_TAG;\n };\n\n SingletonRenderManager.prototype.getDestructor = function () {\n return null;\n };\n\n return SingletonRenderManager;\n }(AbstractRenderManager);\n\n\n SINGLETON_RENDER_MANAGER = new SingletonRenderManager();\n NONSINGLETON_CAPABILITIES = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: true,\n attributeHook: false,\n elementHook: false,\n dynamicScope: true,\n createCaller: false,\n updateHook: true,\n createInstance: true\n };\n NonSingletonRenderManager = function (_AbstractRenderManage2) {\n (0, _emberBabel.inherits)(NonSingletonRenderManager, _AbstractRenderManage2);\n\n function NonSingletonRenderManager() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _AbstractRenderManage2.apply(this, arguments));\n }\n\n NonSingletonRenderManager.prototype.createRenderState = function (args, owner, name) {\n var model = args.positional.at(1);\n var factory = owner.factoryFor('controller:' + name) || (0, _emberRouting.generateControllerFactory)(owner, 'controller:' + name);\n var controller = factory.create({ model: model.value() });\n return { controller: controller, model: model };\n };\n\n NonSingletonRenderManager.prototype.update = function (_ref31) {\n var controller = _ref31.controller,\n model = _ref31.model;\n\n controller.set('model', model.value());\n };\n\n NonSingletonRenderManager.prototype.getCapabilities = function () {\n return NONSINGLETON_CAPABILITIES;\n };\n\n NonSingletonRenderManager.prototype.getTag = function (_ref32) {\n var model = _ref32.model;\n\n return model.tag;\n };\n\n NonSingletonRenderManager.prototype.getDestructor = function (_ref33) {\n var controller = _ref33.controller;\n\n return controller;\n };\n\n return NonSingletonRenderManager;\n }(AbstractRenderManager);\n\n\n NON_SINGLETON_RENDER_MANAGER = new NonSingletonRenderManager();\n RenderDefinition = function (name, template, manager) {\n\n this.manager = manager;\n this.state = {\n name: name,\n template: template\n };\n };\n }\n\n /**\n @module ember\n */\n var renderHelper = void 0;\n if (_deprecatedFeatures.RENDER_HELPER) {\n renderHelper = function (vm, args) {\n var env = vm.env,\n controllerNameRef,\n def,\n _def,\n captured;\n var nameRef = args.positional.at(0);\n false && !(0, _reference.isConst)(nameRef) && (0, _debug.assert)('The first argument of {{render}} must be quoted, e.g. {{render \"sidebar\"}}.', (0, _reference.isConst)(nameRef));\n false && !(args.positional.length === 1 || !(0, _reference.isConst)(args.positional.at(1))) && (0, _debug.assert)('The second argument of {{render}} must be a path, e.g. {{render \"post\" post}}.', args.positional.length === 1 || !(0, _reference.isConst)(args.positional.at(1)));\n\n var templateName = nameRef.value();\n // tslint:disable-next-line:max-line-length\n false && !env.owner.hasRegistration('template:' + templateName) && (0, _debug.assert)('You used `{{render \\'' + templateName + '\\'}}`, but \\'' + templateName + '\\' can not be found as a template.', env.owner.hasRegistration('template:' + templateName));\n\n var template = env.owner.lookup('template:' + templateName);\n var controllerName = void 0;\n if (args.named.has('controller')) {\n controllerNameRef = args.named.get('controller');\n // tslint:disable-next-line:max-line-length\n\n false && !(0, _reference.isConst)(controllerNameRef) && (0, _debug.assert)('The controller argument for {{render}} must be quoted, e.g. {{render \"sidebar\" controller=\"foo\"}}.', (0, _reference.isConst)(controllerNameRef));\n\n // TODO should be ensuring this to string here\n controllerName = controllerNameRef.value();\n // tslint:disable-next-line:max-line-length\n false && !env.owner.hasRegistration('controller:' + controllerName) && (0, _debug.assert)('The controller name you supplied \\'' + controllerName + '\\' did not resolve to a controller.', env.owner.hasRegistration('controller:' + controllerName));\n } else {\n controllerName = templateName;\n }\n if (args.positional.length === 1) {\n def = new RenderDefinition(controllerName, template, SINGLETON_RENDER_MANAGER);\n\n return UnboundReference.create((0, _runtime.curry)(def));\n } else {\n _def = new RenderDefinition(controllerName, template, NON_SINGLETON_RENDER_MANAGER);\n captured = args.capture();\n\n return UnboundReference.create((0, _runtime.curry)(_def, captured));\n }\n };\n }\n /**\n Calling ``{{render}}`` from within a template will insert another\n template that matches the provided name. The inserted template will\n access its properties on its own controller (rather than the controller\n of the parent template).\n \n If a view class with the same name exists, the view class also will be used.\n Note: A given controller may only be used *once* in your app in this manner.\n A singleton instance of the controller will be created for you.\n \n Example:\n \n ```app/controllers/navigation.js\n import Controller from '@ember/controller';\n \n export default Controller.extend({\n who: \"world\"\n });\n ```\n \n ```handlebars\n <!-- navigation.hbs -->\n Hello, {{who}}.\n ```\n \n ```handlebars\n <!-- application.hbs -->\n <h1>My great app</h1>\n {{render \"navigation\"}}\n ```\n \n ```html\n <h1>My great app</h1>\n <div class='ember-view'>\n Hello, world.\n </div>\n ```\n \n Optionally you may provide a second argument: a property path\n that will be bound to the `model` property of the controller.\n If a `model` property path is specified, then a new instance of the\n controller will be created and `{{render}}` can be used multiple times\n with the same name.\n \n For example if you had this `author` template.\n \n ```handlebars\n <div class=\"author\">\n Written by {{firstName}} {{lastName}}.\n Total Posts: {{postCount}}\n </div>\n ```\n \n You could render it inside the `post` template using the `render` helper.\n \n ```handlebars\n <div class=\"post\">\n <h1>{{title}}</h1>\n <div>{{body}}</div>\n {{render \"author\" author}}\n </div>\n ```\n \n @method render\n @for Ember.Templates.helpers\n @param {String} name\n @param {Object?} context\n @param {Hash} options\n @return {String} HTML string\n @public\n @deprecated Use a component instead\n */\n var renderMacro = void 0;\n if (_deprecatedFeatures.RENDER_HELPER) {\n renderMacro = function (_name, params, hash, builder) {\n var expr;\n\n if (_deprecatedFeatures.RENDER_HELPER && _emberEnvironment.ENV._ENABLE_RENDER_SUPPORT === true) {\n // TODO needs makeComponentDefinition a helper that returns a curried definition\n // TODO not sure all args are for definition or component\n // likely the controller name should be a arg to create?\n expr = [_wireFormat.Ops.Helper, '-render', params || [], hash];\n\n builder.dynamicComponent(expr, null, null, null, false, null, null);\n return true;\n }\n return false;\n };\n }\n\n function refineInlineSyntax(name, params, hash, builder) {\n false && !!(builder.compiler['resolver']['resolver']['builtInHelpers'][name] && builder.referrer.owner.hasRegistration('helper:' + name)) && (0, _debug.assert)('You attempted to overwrite the built-in helper \"' + name + '\" which is not allowed. Please rename the helper.', !(builder.compiler['resolver']['resolver']['builtInHelpers'][name] && builder.referrer.owner.hasRegistration('helper:' + name)));\n\n if (name.indexOf('-') === -1) {\n return false;\n }\n var handle = builder.compiler['resolver'].lookupComponentDefinition(name, builder.referrer);\n if (handle !== null) {\n builder.component.static(handle, [params === null ? [] : params, hashToArgs(hash), null, null]);\n return true;\n }\n return false;\n }\n function refineBlockSyntax(name, params, hash, template, inverse, builder) {\n if (name.indexOf('-') === -1) {\n return false;\n }\n var handle = builder.compiler['resolver'].lookupComponentDefinition(name, builder.referrer);\n if (handle !== null) {\n wrapComponentClassAttribute(hash);\n builder.component.static(handle, [params, hashToArgs(hash), template, inverse]);\n return true;\n }\n false && !builder.referrer.owner.hasRegistration('helper:' + name) && (0, _debug.assert)('A component or helper named \"' + name + '\" could not be found', builder.referrer.owner.hasRegistration('helper:' + name));\n false && !!function () {\n var resolver = builder.compiler['resolver']['resolver'];\n var _builder$referrer = builder.referrer,\n owner = _builder$referrer.owner,\n moduleName = _builder$referrer.moduleName;\n\n if (name === 'component' || resolver['builtInHelpers'][name]) {\n return true;\n }\n\n return owner.hasRegistration('helper:' + name, { source: 'template:' + moduleName }) || 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}}.', !function () {\n var resolver = builder.compiler['resolver']['resolver'];var _builder$referrer = builder.referrer,\n owner = _builder$referrer.owner,\n moduleName = _builder$referrer.moduleName;\n if (name === 'component' || resolver['builtInHelpers'][name]) {\n return true;\n }return owner.hasRegistration('helper:' + name, { source: 'template:' + moduleName }) || owner.hasRegistration('helper:' + name);\n }());\n\n return false;\n }\n var experimentalMacros = [];\n // 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 function populateMacros(macros) {\n var inlines = macros.inlines,\n blocks = macros.blocks,\n i,\n macro;\n\n inlines.add('outlet', outletMacro);\n if (_deprecatedFeatures.RENDER_HELPER) {\n inlines.add('render', renderMacro);\n }\n inlines.add('mount', mountMacro);\n inlines.add('input', inputMacro);\n inlines.add('textarea', textAreaMacro);\n inlines.addMissing(refineInlineSyntax);\n\n blocks.add('let', blockLetMacro);\n\n blocks.addMissing(refineBlockSyntax);\n for (i = 0; i < experimentalMacros.length; i++) {\n macro = experimentalMacros[i];\n\n macro(blocks, inlines);\n }\n return { blocks: blocks, inlines: inlines };\n }\n\n var getPrototypeOf = Object.getPrototypeOf;\n var MANAGERS = new WeakMap();\n\n function getComponentManager(obj) {\n var pointer = obj;\n while (pointer !== undefined && pointer !== null) {\n if (MANAGERS.has(pointer)) {\n return MANAGERS.get(pointer);\n }\n pointer = getPrototypeOf(pointer);\n }\n }\n\n function instrumentationPayload$1(name) {\n return { object: 'component:' + name };\n }\n function makeOptions(moduleName, namespace) {\n return {\n source: moduleName !== undefined ? 'template:' + moduleName : undefined,\n namespace: namespace\n };\n }\n var BUILTINS_HELPERS = {\n if: function (_vm, _ref23) {\n var positional = _ref23.positional;\n false && !(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\n return ConditionalHelperReference.create(positional.at(0), positional.at(1), positional.at(2));\n },\n action: action,\n concat: function (_vm, args) {\n return new InternalHelperReference(concat, args.capture());\n },\n get: function (_vm, args) {\n return GetHelperReference.create(args.positional.at(0), args.positional.at(1));\n },\n hash: function (_vm, args) {\n return args.named.capture();\n },\n log: function (_vm, args) {\n return new InternalHelperReference(log, args.capture());\n },\n mut: function (_vm, args) {\n var rawRef = args.positional.at(0);\n if (isMut(rawRef)) {\n return rawRef;\n }\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 false && !rawRef[UPDATE] && (0, _debug.assert)('You can only pass a path to mut', rawRef[UPDATE]);\n\n var wrappedRef = Object.create(rawRef);\n wrappedRef[SOURCE] = rawRef;\n wrappedRef[INVOKE] = rawRef[UPDATE];\n wrappedRef[MUT_REFERENCE] = true;\n return wrappedRef;\n },\n 'query-params': function (_vm, args) {\n return new InternalHelperReference(queryParams, args.capture());\n },\n readonly: function (_vm, args) {\n var ref = unMut(args.positional.at(0));\n return new ReadonlyReference(ref);\n },\n unbound: function (_vm, args) {\n false && !(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\n return UnboundReference.create(args.positional.at(0).value());\n },\n unless: function (_vm, _ref24) {\n var positional = _ref24.positional;\n false && !(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\n return ConditionalHelperReference.create(positional.at(0), positional.at(2), positional.at(1));\n },\n '-class': function (_vm, args) {\n return new InternalHelperReference(classHelper, args.capture());\n },\n '-each-in': function (_vm, args) {\n return new EachInReference(args.positional.at(0));\n },\n '-input-type': function (_vm, args) {\n return new InternalHelperReference(inputTypeHelper, args.capture());\n },\n '-normalize-class': function (_vm, args) {\n return new InternalHelperReference(normalizeClass, args.capture());\n },\n '-html-safe': function (_vm, args) {\n return new InternalHelperReference(htmlSafe$1, args.capture());\n },\n '-get-dynamic-var': _runtime.getDynamicVar,\n '-mount': function (vm, args) {\n var env = vm.env;\n var nameRef = args.positional.at(0);\n var modelRef = args.named.has('model') ? args.named.get('model') : undefined;\n return new DynamicEngineReference(nameRef, env, modelRef);\n },\n '-outlet': function (vm, args) {\n var scope = vm.dynamicScope();\n var nameRef = void 0;\n if (args.positional.length === 0) {\n nameRef = new _reference.ConstReference('main');\n } else {\n nameRef = args.positional.at(0);\n }\n return new OutletComponentReference(new OutletReference(scope.outletState, nameRef));\n }\n };\n if (_deprecatedFeatures.RENDER_HELPER) {\n BUILTINS_HELPERS['-render'] = renderHelper;\n }\n var BUILTIN_MODIFIERS = {\n action: new ActionModifierManager()\n };\n\n var RuntimeResolver = function () {\n function RuntimeResolver() {\n\n this.handles = [undefined];\n this.objToHandle = new WeakMap();\n this.builtInHelpers = BUILTINS_HELPERS;\n this.builtInModifiers = BUILTIN_MODIFIERS;\n // supports directly imported late bound layouts on component.prototype.layout\n this.templateCache = new Map();\n this.componentDefinitionCache = new Map();\n this.customManagerCache = new Map();\n this.templateCacheHits = 0;\n this.templateCacheMisses = 0;\n this.componentDefinitionCount = 0;\n this.helperDefinitionCount = 0;\n var macros = new _opcodeCompiler.Macros();\n populateMacros(macros);\n this.compiler = new _opcodeCompiler.LazyCompiler(new CompileTimeLookup(this), this, macros);\n }\n /*** IRuntimeResolver ***/\n /**\n * public componentDefHandleCount = 0;\n * Called while executing Append Op.PushDynamicComponentManager if string\n */\n\n RuntimeResolver.prototype.lookupComponentDefinition = function (name, meta) {\n false && !(name !== 'textarea') && (0, _debug.assert)('You cannot use `textarea` as a component name.', name !== 'textarea');\n false && !(name !== 'input') && (0, _debug.assert)('You cannot use `input` as a component name.', name !== 'input');\n\n var handle = this.lookupComponentHandle(name, meta);\n if (handle === null) {\n false && !false && (0, _debug.assert)('Could not find component named \"' + name + '\" (no component or template with that name was found)');\n\n return null;\n }\n return this.resolve(handle);\n };\n\n RuntimeResolver.prototype.lookupComponentHandle = function (name, meta) {\n var nextHandle = this.handles.length;\n var handle = this.handle(this._lookupComponentDefinition(name, meta));\n if (nextHandle === handle) {\n this.componentDefinitionCount++;\n }\n return handle;\n };\n\n RuntimeResolver.prototype.resolve = function (handle) {\n return this.handles[handle];\n };\n\n RuntimeResolver.prototype.lookupHelper = function (name, meta) {\n var nextHandle = this.handles.length,\n handle;\n var helper$$1 = this._lookupHelper(name, meta);\n if (helper$$1 !== null) {\n handle = this.handle(helper$$1);\n\n if (nextHandle === handle) {\n this.helperDefinitionCount++;\n }\n return handle;\n }\n return null;\n };\n\n RuntimeResolver.prototype.lookupModifier = function (name) {\n return this.handle(this._lookupModifier(name));\n };\n\n RuntimeResolver.prototype.lookupPartial = function (name, meta) {\n var partial = this._lookupPartial(name, meta);\n return this.handle(partial);\n };\n\n RuntimeResolver.prototype.createTemplate = function (factory, owner) {\n var cache = this.templateCache.get(owner),\n compiler,\n injections;\n if (cache === undefined) {\n cache = new Map();\n this.templateCache.set(owner, cache);\n }\n var template = cache.get(factory);\n if (template === undefined) {\n compiler = this.compiler;\n injections = { compiler: compiler };\n\n (0, _emberOwner.setOwner)(injections, owner);\n template = factory.create(injections);\n cache.set(factory, template);\n this.templateCacheMisses++;\n } else {\n this.templateCacheHits++;\n }\n return template;\n };\n\n RuntimeResolver.prototype.handle = function (obj) {\n if (obj === undefined || obj === null) {\n return null;\n }\n var handle = this.objToHandle.get(obj);\n if (handle === undefined) {\n handle = this.handles.push(obj) - 1;\n this.objToHandle.set(obj, handle);\n }\n return handle;\n };\n\n RuntimeResolver.prototype._lookupHelper = function (_name, meta) {\n var helper$$1 = this.builtInHelpers[_name];\n if (helper$$1 !== undefined) {\n return helper$$1;\n }\n var owner = meta.owner,\n moduleName = meta.moduleName;\n\n var name = _name;\n var namespace = undefined;\n\n var options = makeOptions(moduleName, namespace);\n var factory = owner.factoryFor('helper:' + name, options) || owner.factoryFor('helper:' + name);\n if (!isHelperFactory(factory)) {\n return null;\n }\n return function (vm, args) {\n var helper$$1 = factory.create();\n if (isSimpleHelper(helper$$1)) {\n return new SimpleHelperReference(helper$$1.compute, args.capture());\n }\n vm.newDestroyable(helper$$1);\n return ClassBasedHelperReference.create(helper$$1, args.capture());\n };\n };\n\n RuntimeResolver.prototype._lookupPartial = function (name, meta) {\n var template = (0, _emberViews.lookupPartial)(name, meta.owner);\n if (template) {\n return new _opcodeCompiler.PartialDefinition(name, template);\n } else {\n throw new Error(name + ' is not a partial');\n }\n };\n\n RuntimeResolver.prototype._lookupModifier = function (name) {\n return this.builtInModifiers[name];\n };\n\n RuntimeResolver.prototype._parseNameForNamespace = function (_name) {\n var name = _name;\n var namespace = undefined;\n var namespaceDelimiterOffset = _name.indexOf('::');\n if (namespaceDelimiterOffset !== -1) {\n name = _name.slice(namespaceDelimiterOffset + 2);\n namespace = _name.slice(0, namespaceDelimiterOffset);\n }\n return { name: name, namespace: namespace };\n };\n\n RuntimeResolver.prototype._lookupComponentDefinition = function (_name, meta) {\n var name = _name,\n _definition,\n managerId,\n manager,\n _definition2;\n var namespace = undefined;\n\n\n var _lookupComponent2 = (0, _emberViews.lookupComponent)(meta.owner, name, makeOptions(meta.moduleName, namespace)),\n layout = _lookupComponent2.layout,\n component = _lookupComponent2.component;\n\n var key = component === undefined ? layout : component;\n if (key === undefined) {\n return null;\n }\n var cachedComponentDefinition = this.componentDefinitionCache.get(key);\n if (cachedComponentDefinition !== undefined) {\n return cachedComponentDefinition;\n }\n var finalizer = (0, _instrumentation._instrumentStart)('render.getComponentDefinition', instrumentationPayload$1, name);\n if (layout && !component && _emberEnvironment.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n _definition = new TemplateOnlyComponentDefinition(layout);\n\n finalizer();\n this.componentDefinitionCache.set(key, _definition);\n return _definition;\n }\n if (true && component && component.class) {\n managerId = getComponentManager(component.class);\n\n if (managerId) {\n manager = this._lookupComponentManager(meta.owner, managerId);\n\n false && !!!manager && (0, _debug.assert)('Could not find custom component manager \\'' + managerId + '\\' which was specified by ' + component.class, !!manager);\n\n _definition2 = new CustomManagerDefinition(name, component, manager, layout || meta.owner.lookup((0, _container.privatize)(_templateObject)));\n\n finalizer();\n this.componentDefinitionCache.set(key, _definition2);\n return _definition2;\n }\n }\n var definition = layout || component ? new CurlyComponentDefinition(name, component || meta.owner.factoryFor((0, _container.privatize)(_templateObject2)), null, layout // TODO fix type\n ) : null;\n finalizer();\n this.componentDefinitionCache.set(key, definition);\n return definition;\n };\n\n RuntimeResolver.prototype._lookupComponentManager = function (owner, managerId) {\n if (this.customManagerCache.has(managerId)) {\n return this.customManagerCache.get(managerId);\n }\n var delegate = owner.lookup('component-manager:' + managerId);\n this.customManagerCache.set(managerId, delegate);\n return delegate;\n };\n\n return RuntimeResolver;\n }();\n\n // factory for DI\n var TemplateCompiler = {\n create: function () {\n return new RuntimeResolver().compiler;\n }\n };\n\n var ComponentTemplate = template({ \"id\": \"9QlMnd4c\", \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/ember-glimmer/lib/templates/component.hbs\" } });\n\n var OutletTemplate = template({ \"id\": \"qAsZ1L5U\", \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[21,\\\"outlet\\\"],false]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/ember-glimmer/lib/templates/outlet.hbs\" } });\n\n var TOP_LEVEL_NAME = '-top-level';\n var TOP_LEVEL_OUTLET = 'main';\n\n var OutletView = function () {\n function OutletView(_environment, renderer, owner, template) {\n\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: { main: undefined },\n render: {\n owner: owner,\n into: undefined,\n outlet: TOP_LEVEL_OUTLET,\n name: TOP_LEVEL_NAME,\n controller: undefined,\n template: template\n }\n });\n this.state = {\n ref: ref,\n name: TOP_LEVEL_NAME,\n outlet: TOP_LEVEL_OUTLET,\n template: template,\n controller: undefined\n };\n }\n\n OutletView.extend = function (injections) {\n return function (_OutletView) {\n (0, _emberBabel.inherits)(_class, _OutletView);\n\n function _class() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _OutletView.apply(this, arguments));\n }\n\n _class.create = function (options) {\n if (options) {\n return _OutletView.create.call(this, (0, _polyfills.assign)({}, injections, options));\n } else {\n return _OutletView.create.call(this, injections);\n }\n };\n\n return _class;\n }(OutletView);\n };\n\n OutletView.reopenClass = function (injections) {\n (0, _polyfills.assign)(this, injections);\n };\n\n OutletView.create = function (options) {\n var _environment = options._environment,\n renderer = options.renderer,\n template = options.template;\n\n var owner = options[_emberOwner.OWNER];\n return new OutletView(_environment, renderer, owner, template);\n };\n\n OutletView.prototype.appendTo = function (selector) {\n var target = void 0;\n if (this._environment.hasDOM) {\n target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n } else {\n target = selector;\n }\n (0, _runloop.schedule)('render', this.renderer, 'appendOutletView', this, target);\n };\n\n OutletView.prototype.rerender = function () {\n /**/\n };\n\n OutletView.prototype.setOutletState = function (state) {\n this.ref.update(state);\n };\n\n OutletView.prototype.destroy = function () {\n /**/\n };\n\n return OutletView;\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 {{name}}\n <div>{{name}}</div>\n <span data-name={{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 ```handlebars\n {{if name \"I have a name\" \"I have no name\"}}\n <span data-has-name={{if 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 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 firstName (\n if lastName (concat \" \" lastName) \"Doe\"\n )}}></span>\n ```\n \n Ember's built-in helpers are described under the [Ember.Templates.helpers](/api/ember/release/classes/Ember.Templates.helpers)\n namespace. Documentation on creating custom helpers can be found under\n [Helper](/api/classes/Ember.Helper.html).\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](/api/ember/release/classes/Component).\n \n @module @ember/component\n @main @ember/component\n @public\n */\n\n exports.RootTemplate = RootTemplate;\n exports.template = template;\n exports.Checkbox = Checkbox;\n exports.TextField = TextField;\n exports.TextArea = TextArea;\n exports.LinkComponent = LinkComponent;\n exports.Component = Component;\n exports.ROOT_REF = ROOT_REF;\n exports.Helper = Helper;\n exports.helper = helper;\n exports.Environment = Environment$1;\n exports.SafeString = SafeString;\n exports.escapeExpression = function (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 + '';\n }\n // Force a string conversion as this will be done by the append regardless and\n // the regex test will do this transparently behind the scenes, causing issues if\n // an object's to string has escaped characters in it.\n string = '' + string;\n }\n if (!possible.test(string)) {\n return string;\n }\n return string.replace(badChars, escapeChar);\n };\n exports.htmlSafe = htmlSafe;\n exports.isHTMLSafe = isHTMLSafe;\n exports.Renderer = Renderer;\n exports.InertRenderer = InertRenderer;\n exports.InteractiveRenderer = InteractiveRenderer;\n exports._resetRenderers = function () {\n renderers.length = 0;\n };\n exports.renderSettled = renderSettled;\n exports.getTemplate = getTemplate;\n exports.setTemplate = setTemplate;\n exports.hasTemplate = hasTemplate;\n exports.getTemplates = getTemplates;\n exports.setTemplates = function (templates) {\n TEMPLATES = templates;\n };\n exports.setupEngineRegistry = function (registry) {\n registry.register('view:-outlet', OutletView);\n registry.register('template:-outlet', OutletTemplate);\n registry.injection('view:-outlet', 'template', 'template:-outlet');\n registry.injection('service:-dom-changes', 'document', 'service:-document');\n registry.injection('service:-dom-tree-construction', 'document', 'service:-document');\n registry.register((0, _container.privatize)(_templateObject), ComponentTemplate);\n registry.register('service:-glimmer-environment', Environment$1);\n registry.register((0, _container.privatize)(_templateObject4), TemplateCompiler);\n registry.injection('template', 'compiler', (0, _container.privatize)(_templateObject4));\n registry.optionsForType('helper', { instantiate: false });\n registry.register('helper:loc', loc$1);\n registry.register('component:-text-field', TextField);\n registry.register('component:-text-area', TextArea);\n registry.register('component:-checkbox', Checkbox);\n registry.register('component:link-to', LinkComponent);\n if (!_emberEnvironment.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n registry.register((0, _container.privatize)(_templateObject2), Component);\n }\n };\n exports.setupApplicationRegistry = function (registry) {\n registry.injection('service:-glimmer-environment', 'appendOperations', 'service:-dom-tree-construction');\n registry.injection('renderer', 'env', 'service:-glimmer-environment');\n // because we are using injections we can't use instantiate false\n // we need to use bind() to copy the function so factory for\n // association won't leak\n registry.register('service:-dom-builder', {\n create: function (_ref34) {\n var bootOptions = _ref34.bootOptions;\n var _renderMode = bootOptions._renderMode;\n\n switch (_renderMode) {\n case 'serialize':\n return _node.serializeBuilder.bind(null);\n case 'rehydrate':\n return _runtime.rehydrationBuilder.bind(null);\n default:\n return _runtime.clientBuilder.bind(null);\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)(_templateObject3), RootTemplate);\n registry.injection('renderer', 'rootTemplate', (0, _container.privatize)(_templateObject3));\n registry.register('renderer:-dom', InteractiveRenderer);\n registry.register('renderer:-inert', InertRenderer);\n if (_emberBrowserEnvironment.hasDOM) {\n registry.injection('service:-glimmer-environment', 'updateOperations', 'service:-dom-changes');\n }\n registry.register('service:-dom-changes', {\n create: function (_ref35) {\n var document = _ref35.document;\n\n return new _runtime.DOMChanges(document);\n }\n });\n registry.register('service:-dom-tree-construction', {\n create: function (_ref36) {\n var document = _ref36.document;\n\n var Implementation = _emberBrowserEnvironment.hasDOM ? _runtime.DOMTreeConstruction : _node.NodeDOMTreeConstruction;\n return new Implementation(document);\n }\n });\n };\n exports._registerMacros = function (macro) {\n experimentalMacros.push(macro);\n };\n exports._experimentalMacros = experimentalMacros;\n exports.AbstractComponentManager = AbstractManager;\n exports.UpdatableReference = UpdatableReference;\n exports.INVOKE = INVOKE;\n exports.iterableFor = _iterableFor;\n exports.DebugStack = void 0;\n exports.OutletView = OutletView;\n exports.capabilities = function (managerAPI) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n false && !(managerAPI === '3.4') && (0, _debug.assert)('Invalid component manager compatibility specified', managerAPI === '3.4');\n\n return {\n asyncLifeCycleCallbacks: !!options.asyncLifecycleCallbacks,\n destructor: !!options.destructor\n };\n };\n exports.setComponentManager = function (managerId, obj) {\n MANAGERS.set(obj, managerId);\n return obj;\n };\n exports.getComponentManager = getComponentManager;\n});","enifed('ember-meta/index', ['exports', 'ember-meta/lib/meta'], function (exports, _meta) {\n 'use strict';\n\n Object.defineProperty(exports, 'counters', {\n enumerable: true,\n get: function () {\n return _meta.counters;\n }\n });\n Object.defineProperty(exports, 'deleteMeta', {\n enumerable: true,\n get: function () {\n return _meta.deleteMeta;\n }\n });\n Object.defineProperty(exports, 'descriptorFor', {\n enumerable: true,\n get: function () {\n return _meta.descriptorFor;\n }\n });\n Object.defineProperty(exports, 'isDescriptor', {\n enumerable: true,\n get: function () {\n return _meta.isDescriptor;\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});","enifed('ember-meta/lib/meta', ['exports', 'ember-babel', '@ember/debug', '@ember/deprecated-features', 'ember-environment', 'ember-utils'], function (exports, _emberBabel, _debug, _deprecatedFeatures, _emberEnvironment, _emberUtils) {\n 'use strict';\n\n exports.counters = exports.meta = exports.Meta = exports.UNDEFINED = undefined;\n exports.setMeta = setMeta;\n exports.peekMeta = peekMeta;\n exports.deleteMeta =\n /**\n Tears down the meta on an object so that it can be garbage collected.\n Multiple calls will have no effect.\n \n @method deleteMeta\n @for Ember\n @param {Object} obj the object to destroy\n @return {void}\n @private\n */\n function (obj) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `deleteMeta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `deleteMeta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)('Cannot call `deleteMeta` on ' + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n var meta = peekMeta(obj);\n if (meta !== undefined) {\n meta.destroy();\n }\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 exports.descriptorFor =\n /**\n Returns the CP descriptor assocaited with `obj` and `keyName`, if any.\n \n @method descriptorFor\n @param {Object} obj the object to check\n @param {String} keyName the key to check\n @return {Descriptor}\n @private\n */\n function (obj, keyName, _meta) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `descriptorFor` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `descriptorFor` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)('Cannot call `descriptorFor` on ' + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n var meta = _meta === undefined ? peekMeta(obj) : _meta;\n if (meta !== undefined) {\n return meta.peekDescriptors(keyName);\n }\n }\n /**\n Check whether a value is a CP descriptor.\n \n @method descriptorFor\n @param {any} possibleDesc the value to check\n @return {boolean}\n @private\n */\n ;\n exports.isDescriptor = function (possibleDesc) {\n // TODO make this return `possibleDesc is Descriptor`\n return possibleDesc !== undefined && possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor === true;\n };\n\n var objectPrototype = Object.prototype;\n\n /**\n @module ember\n */\n var UNDEFINED = exports.UNDEFINED = (0, _emberUtils.symbol)('undefined');\n // FLAGS\n var SOURCE_DESTROYING = 1 << 1;\n var SOURCE_DESTROYED = 1 << 2;\n var META_DESTROYED = 1 << 3;\n\n var Meta = exports.Meta = function () {\n function Meta(obj) {\n this._parent = undefined;\n this._descriptors = undefined;\n this._watching = undefined;\n this._mixins = undefined;\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT) {\n this._bindings = undefined;\n }\n this._deps = undefined;\n this._chainWatchers = undefined;\n this._chains = undefined;\n this._tag = undefined;\n this._tags = undefined;\n // initial value for all flags right now is false\n // see FLAGS const for detailed list of flags used\n this._flags = 0;\n // used only internally\n this.source = obj;\n // when meta(obj).proto === obj, the object is intended to be only a\n // prototype and doesn't need to actually be observable itself\n this.proto = obj.constructor === undefined ? undefined : obj.constructor.prototype;\n this._listeners = undefined;\n this._listenersFinalized = false;\n }\n\n Meta.prototype.isInitialized = function (obj) {\n return this.proto !== obj;\n };\n\n Meta.prototype.destroy = function () {\n if (this.isMetaDestroyed()) {\n return;\n }\n this.setMetaDestroyed();\n // remove chainWatchers to remove circular references that would prevent GC\n var chains = this.readableChains();\n if (chains !== undefined) {\n chains.destroy();\n }\n };\n\n Meta.prototype.isSourceDestroying = function () {\n return this._hasFlag(SOURCE_DESTROYING);\n };\n\n Meta.prototype.setSourceDestroying = function () {\n this._flags |= SOURCE_DESTROYING;\n };\n\n Meta.prototype.isSourceDestroyed = function () {\n return this._hasFlag(SOURCE_DESTROYED);\n };\n\n Meta.prototype.setSourceDestroyed = function () {\n this._flags |= SOURCE_DESTROYED;\n };\n\n Meta.prototype.isMetaDestroyed = function () {\n return this._hasFlag(META_DESTROYED);\n };\n\n Meta.prototype.setMetaDestroyed = function () {\n this._flags |= META_DESTROYED;\n };\n\n Meta.prototype._hasFlag = function (flag) {\n return (this._flags & flag) === flag;\n };\n\n Meta.prototype._getOrCreateOwnMap = function (key) {\n return this[key] || (this[key] = Object.create(null));\n };\n\n Meta.prototype._getOrCreateOwnSet = function (key) {\n return this[key] || (this[key] = new Set());\n };\n\n Meta.prototype._findInherited1 = function (key) {\n var pointer = this,\n map;\n while (pointer !== null) {\n map = pointer[key];\n\n if (map !== undefined) {\n return map;\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype._findInherited2 = function (key, subkey) {\n var pointer = this,\n map,\n value;\n while (pointer !== null) {\n map = pointer[key];\n\n if (map !== undefined) {\n value = map[subkey];\n\n if (value !== undefined) {\n return value;\n }\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype._findInherited3 = function (key, subkey, subsubkey) {\n var pointer = this,\n map,\n submap,\n value;\n while (pointer !== null) {\n map = pointer[key];\n\n if (map !== undefined) {\n submap = map[subkey];\n\n if (submap !== undefined) {\n value = submap[subsubkey];\n\n if (value !== undefined) {\n return value;\n }\n }\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype._hasInInheritedSet = function (key, value) {\n var pointer = this,\n set;\n while (pointer !== null) {\n set = pointer[key];\n\n if (set !== undefined && set.has(value)) {\n return true;\n }\n pointer = pointer.parent;\n }\n return false;\n };\n // Implements a member that provides a lazily created map of maps,\n // with inheritance at both levels.\n\n\n Meta.prototype.writeDeps = function (subkey, itemkey, count) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot modify dependent keys for `' + itemkey + '` on `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var outerMap = this._getOrCreateOwnMap('_deps');\n var innerMap = outerMap[subkey];\n if (innerMap === undefined) {\n innerMap = outerMap[subkey] = Object.create(null);\n }\n innerMap[itemkey] = count;\n };\n\n Meta.prototype.peekDeps = function (subkey, itemkey) {\n var val = this._findInherited3('_deps', subkey, itemkey);\n return val === undefined ? 0 : val;\n };\n\n Meta.prototype.hasDeps = function (subkey) {\n var val = this._findInherited2('_deps', subkey);\n return val !== undefined;\n };\n\n Meta.prototype.forEachInDeps = function (subkey, fn) {\n var pointer = this,\n map,\n innerMap,\n i;\n var seen = void 0;\n var calls = void 0;\n while (pointer !== null) {\n map = pointer._deps;\n\n if (map !== undefined) {\n innerMap = map[subkey];\n\n if (innerMap !== undefined) {\n for (var innerKey in innerMap) {\n seen = seen === undefined ? new Set() : seen;\n if (!seen.has(innerKey)) {\n seen.add(innerKey);\n if (innerMap[innerKey] > 0) {\n calls = calls || [];\n calls.push(innerKey);\n }\n }\n }\n }\n }\n pointer = pointer.parent;\n }\n if (calls !== undefined) {\n for (i = 0; i < calls.length; i++) {\n fn(calls[i]);\n }\n }\n };\n\n Meta.prototype.writableTags = function () {\n return this._getOrCreateOwnMap('_tags');\n };\n\n Meta.prototype.readableTags = function () {\n return this._tags;\n };\n\n Meta.prototype.writableTag = function (create) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot create a new tag for `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var ret = this._tag;\n if (ret === undefined) {\n ret = this._tag = create(this.source);\n }\n return ret;\n };\n\n Meta.prototype.readableTag = function () {\n return this._tag;\n };\n\n Meta.prototype.writableChainWatchers = function (create) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot create a new chain watcher for `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var ret = this._chainWatchers;\n if (ret === undefined) {\n ret = this._chainWatchers = create(this.source);\n }\n return ret;\n };\n\n Meta.prototype.readableChainWatchers = function () {\n return this._chainWatchers;\n };\n\n Meta.prototype.writableChains = function (create) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot create a new chains for `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n var ret = this._chains,\n parent,\n parentChains;\n\n if (ret === undefined) {\n this._chains = ret = create(this.source);\n parent = this.parent;\n\n\n if (parent !== null) {\n parentChains = parent.writableChains(create);\n\n parentChains.copyTo(ret);\n }\n }\n return ret;\n };\n\n Meta.prototype.readableChains = function () {\n return this._findInherited1('_chains');\n };\n\n Meta.prototype.writeWatching = function (subkey, value) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot update watchers for `' + subkey + '` on `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var map = this._getOrCreateOwnMap('_watching');\n map[subkey] = value;\n };\n\n Meta.prototype.peekWatching = function (subkey) {\n var count = this._findInherited2('_watching', subkey);\n return count === undefined ? 0 : count;\n };\n\n Meta.prototype.addMixin = function (mixin) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot add mixins of `' + (0, _emberUtils.toString)(mixin) + '` on `' + (0, _emberUtils.toString)(this.source) + '` call addMixin after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var set = this._getOrCreateOwnSet('_mixins');\n set.add(mixin);\n };\n\n Meta.prototype.hasMixin = function (mixin) {\n return this._hasInInheritedSet('_mixins', mixin);\n };\n\n Meta.prototype.forEachMixins = function (fn) {\n var pointer = this,\n set;\n var seen = void 0;\n while (pointer !== null) {\n set = pointer._mixins;\n\n if (set !== undefined) {\n seen = seen === undefined ? new Set() : seen;\n // TODO cleanup typing here\n set.forEach(function (mixin) {\n if (!seen.has(mixin)) {\n seen.add(mixin);\n fn(mixin);\n }\n });\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype.writeDescriptors = function (subkey, value) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot update descriptors for `' + subkey + '` on `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var map = this._getOrCreateOwnMap('_descriptors');\n map[subkey] = value;\n };\n\n Meta.prototype.peekDescriptors = function (subkey) {\n var possibleDesc = this._findInherited2('_descriptors', subkey);\n return possibleDesc === UNDEFINED ? undefined : possibleDesc;\n };\n\n Meta.prototype.removeDescriptors = function (subkey) {\n this.writeDescriptors(subkey, UNDEFINED);\n };\n\n Meta.prototype.forEachDescriptors = function (fn) {\n var pointer = this,\n map,\n value;\n var seen = void 0;\n while (pointer !== null) {\n map = pointer._descriptors;\n\n if (map !== undefined) {\n for (var key in map) {\n seen = seen === undefined ? new Set() : seen;\n if (!seen.has(key)) {\n seen.add(key);\n value = map[key];\n\n if (value !== UNDEFINED) {\n fn(key, value);\n }\n }\n }\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype.addToListeners = function (eventName, target, method, once) {\n if (this._listeners === undefined) {\n this._listeners = [];\n }\n this._listeners.push(eventName, target, method, once);\n };\n\n Meta.prototype._finalizeListeners = function () {\n if (this._listenersFinalized) {\n return;\n }\n if (this._listeners === undefined) {\n this._listeners = [];\n }\n var pointer = this.parent,\n listeners;\n while (pointer !== null) {\n listeners = pointer._listeners;\n\n if (listeners !== undefined) {\n this._listeners = this._listeners.concat(listeners);\n }\n if (pointer._listenersFinalized) {\n break;\n }\n pointer = pointer.parent;\n }\n this._listenersFinalized = true;\n };\n\n Meta.prototype.removeFromListeners = function (eventName, target, method) {\n var pointer = this,\n listeners,\n index;\n while (pointer !== null) {\n listeners = pointer._listeners;\n\n if (listeners !== undefined) {\n for (index = listeners.length - 4; index >= 0; index -= 4) {\n if (listeners[index] === eventName && (!method || listeners[index + 1] === target && listeners[index + 2] === method)) {\n if (pointer === this) {\n listeners.splice(index, 4); // we are modifying our own list, so we edit directly\n } else {\n // we are trying to remove an inherited listener, so we do\n // just-in-time copying to detach our own listeners from\n // our inheritance chain.\n this._finalizeListeners();\n return this.removeFromListeners(eventName, target, method);\n }\n }\n }\n }\n if (pointer._listenersFinalized) {\n break;\n }\n pointer = pointer.parent;\n }\n };\n\n Meta.prototype.matchingListeners = function (eventName) {\n var pointer = this,\n listeners,\n index;\n // fix type\n var result = void 0;\n while (pointer !== null) {\n listeners = pointer._listeners;\n\n if (listeners !== undefined) {\n for (index = 0; index < listeners.length; index += 4) {\n if (listeners[index] === eventName) {\n result = result || [];\n pushUniqueListener(result, listeners, index);\n }\n }\n }\n if (pointer._listenersFinalized) {\n break;\n }\n pointer = pointer.parent;\n }\n return result;\n };\n\n (0, _emberBabel.createClass)(Meta, [{\n key: 'parent',\n get: function () {\n var parent = this._parent,\n proto;\n if (parent === undefined) {\n proto = getPrototypeOf(this.source);\n\n this._parent = parent = proto === null || proto === objectPrototype ? null : meta(proto);\n }\n return parent;\n }\n }]);\n return Meta;\n }();\n\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT) {\n Meta.prototype.writeBindings = function (subkey, value) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot add a binding for `' + subkey + '` on `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n var map = this._getOrCreateOwnMap('_bindings');\n map[subkey] = value;\n };\n Meta.prototype.peekBindings = function (subkey) {\n return this._findInherited2('_bindings', subkey);\n };\n Meta.prototype.forEachBindings = function (fn) {\n var pointer = this,\n map;\n var seen = void 0;\n while (pointer !== null) {\n map = pointer._bindings;\n\n if (map !== undefined) {\n for (var key in map) {\n // cleanup typing\n seen = seen === undefined ? Object.create(null) : seen;\n if (seen[key] === undefined) {\n seen[key] = true;\n fn(key, map[key]);\n }\n }\n }\n pointer = pointer.parent;\n }\n };\n Meta.prototype.clearBindings = function () {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? 'Cannot clear bindings on `' + (0, _emberUtils.toString)(this.source) + '` after it has been destroyed.' : '', !this.isMetaDestroyed());\n\n this._bindings = undefined;\n };\n }\n\n var getPrototypeOf = Object.getPrototypeOf;\n var metaStore = new WeakMap();\n function setMeta(obj, meta) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `setMeta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `setMeta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)('Cannot call `setMeta` on ' + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n metaStore.set(obj, meta);\n }\n function peekMeta(obj) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `peekMeta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `peekMeta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)('Cannot call `peekMeta` on ' + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n var pointer = obj;\n var meta = void 0;\n while (pointer !== undefined && pointer !== null) {\n meta = metaStore.get(pointer);\n // jshint loopfunc:true\n\n if (meta !== undefined) {\n return meta;\n }\n pointer = getPrototypeOf(pointer);\n }\n }var meta = exports.meta = function (obj) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `meta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `meta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)('Cannot call `meta` on ' + typeof obj, typeof obj === 'object' || typeof obj === 'function');\n\n var maybeMeta = peekMeta(obj);\n // remove this code, in-favor of explicit parent\n if (maybeMeta !== undefined && maybeMeta.source === obj) {\n return maybeMeta;\n }\n var newMeta = new Meta(obj);\n setMeta(obj, newMeta);\n return newMeta;\n };\n exports.counters = void 0;\n\n /*\n When we render a rich template hierarchy, the set of events that\n *might* happen tends to be much larger than the set of events that\n actually happen. This implies that we should make listener creation &\n destruction cheap, even at the cost of making event dispatch more\n expensive.\n \n Thus we store a new listener with a single push and no new\n allocations, without even bothering to do deduplication -- we can\n save that for dispatch time, if an event actually happens.\n */\n function pushUniqueListener(destination, source, index) {\n var target = source[index + 1],\n destinationIndex;\n var method = source[index + 2];\n for (destinationIndex = 0; destinationIndex < destination.length; destinationIndex += 3) {\n if (destination[destinationIndex] === target && destination[destinationIndex + 1] === method) {\n return;\n }\n }\n destination.push(target, method, source[index + 3]);\n }\n});","enifed('ember-metal', ['exports', 'ember-babel', '@ember/polyfills', 'ember-utils', '@ember/debug', '@ember/deprecated-features', 'ember-environment', 'ember-meta', '@ember/runloop', '@glimmer/reference', '@ember/error', 'ember/version', 'ember-owner'], function (exports, _emberBabel, _polyfills, _emberUtils, _debug, _deprecatedFeatures, _emberEnvironment, _emberMeta, _runloop, _reference, _error, _version, _emberOwner) {\n 'use strict';\n\n exports.setNamespaceSearchDisabled = exports.isNamespaceSearchDisabled = exports.removeNamespace = exports.processAllNamespaces = exports.processNamespace = exports.findNamespaces = exports.findNamespace = exports.classToString = exports.addNamespace = exports.NAMESPACES_BY_ID = exports.NAMESPACES = exports.tracked = exports.descriptor = exports.assertNotRendered = exports.didRender = exports.runInTransaction = exports.markObjectAsDirty = exports.tagFor = exports.tagForProperty = exports.setHasViews = exports.InjectedProperty = exports.applyMixin = exports.observer = exports.mixin = exports.aliasMethod = exports.Mixin = exports.removeObserver = exports.addObserver = exports.expandProperties = exports.setProperties = exports.getProperties = exports.Libraries = exports.libraries = exports.watcherCount = exports.watch = exports.unwatch = exports.isWatching = exports.unwatchPath = exports.watchPath = exports.removeChainWatcher = exports.finishChains = exports.ChainNode = exports.unwatchKey = exports.watchKey = exports.Descriptor = exports.defineProperty = exports.PROPERTY_DID_CHANGE = exports.propertyWillChange = exports.propertyDidChange = exports.overrideChains = exports.notifyPropertyChange = exports.endPropertyChanges = exports.changeProperties = exports.beginPropertyChanges = exports.isPresent = exports.isBlank = exports.isEmpty = exports.isNone = exports.sendEvent = exports.removeListener = exports.on = exports.hasListeners = exports.addListener = exports.eachProxyArrayDidChange = exports.eachProxyArrayWillChange = exports.eachProxyFor = exports.arrayContentDidChange = exports.arrayContentWillChange = exports.removeArrayObserver = exports.addArrayObserver = exports.replaceInNativeArray = exports.replace = exports.objectAt = exports.trySet = exports.set = exports.getWithDefault = exports.get = exports._getPath = exports.PROXY_CONTENT = exports.deprecateProperty = exports.alias = exports.peekCacheFor = exports.getCachedValueFor = exports.getCacheFor = exports._globalsComputed = exports.ComputedProperty = exports.computed = undefined;\n\n var COMPUTED_PROPERTY_CACHED_VALUES = new WeakMap();\n undefined;\n /**\n Returns the cached value for a property, if one exists.\n This can be useful for peeking at the value of a computed\n property that is generated lazily, without accidentally causing\n it to be created.\n \n @method cacheFor\n @static\n @for @ember/object/internals\n @param {Object} obj the object whose property you want to check\n @param {String} key the name of the property whose cached value you want\n to return\n @return {Object} the cached value\n @public\n */\n\n function getCacheFor(obj) {\n var cache = COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n if (cache === undefined) {\n cache = new Map();\n\n COMPUTED_PROPERTY_CACHED_VALUES.set(obj, cache);\n }\n return cache;\n }\n function getCachedValueFor(obj, key) {\n var cache = COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n if (cache !== undefined) {\n return cache.get(key);\n }\n }\n\n function peekCacheFor(obj) {\n return COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n }\n\n var firstDotIndexCache = new _emberUtils.Cache(1000, function (key) {\n return key.indexOf('.');\n });\n function isPath(path) {\n return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;\n }\n\n function changeEvent(keyName) {\n return keyName + ':change';\n }\n\n /**\n @module @ember/object\n */\n /*\n The event system uses a series of nested hashes to store listeners on an\n object. When a listener is registered, or when an event arrives, these\n hashes are consulted to determine which target and action pair to invoke.\n \n The hashes are stored in the object's meta hash, and look like this:\n \n // Object's meta hash\n {\n listeners: { // variable name: `listenerSet`\n \"foo:change\": [ // variable name: `actions`\n target, method, once\n ]\n }\n }\n \n */\n /**\n Add an event listener\n \n @method addListener\n @static\n @for @ember/object/events\n @param obj\n @param {String} eventName\n @param {Object|Function} target A target object or a function\n @param {Function|String} method A function or the name of a function to be called on `target`\n @param {Boolean} once A flag whether a function should only be called once\n @public\n */\n function addListener(obj, eventName, target, method, once) {\n false && !(!!obj && !!eventName) && (0, _debug.assert)('You must pass at least an object and event name to addListener', !!obj && !!eventName);\n\n if (_deprecatedFeatures.DID_INIT_ATTRS && _emberEnvironment.ENV._ENABLE_DID_INIT_ATTRS_SUPPORT === true) {\n false && !(eventName !== 'didInitAttrs') && (0, _debug.deprecate)('didInitAttrs called in ' + (obj && obj.toString && obj.toString()) + '.', eventName !== 'didInitAttrs', {\n id: 'ember-views.did-init-attrs',\n until: '3.0.0',\n url: 'https://emberjs.com/deprecations/v2.x#toc_ember-component-didinitattrs'\n });\n } else {\n false && !(eventName !== 'didInitAttrs') && (0, _debug.assert)('didInitAttrs called in ' + (obj && obj.toString && obj.toString()) + ' is no longer supported.', eventName !== 'didInitAttrs');\n }\n if (!method && 'function' === typeof target) {\n method = target;\n target = null;\n }\n (0, _emberMeta.meta)(obj).addToListeners(eventName, target, method, once === true);\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 function removeListener(obj, eventName, target, method) {\n false && !(!!obj && !!eventName) && (0, _debug.assert)('You must pass at least an object and event name to removeListener', !!obj && !!eventName);\n\n if (!method && 'function' === typeof target) {\n method = target;\n target = null;\n }\n (0, _emberMeta.meta)(obj).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 true\n @public\n */\n function sendEvent(obj, eventName, params, actions, _meta) {\n var meta$$1, i, target, method, once;\n\n if (actions === undefined) {\n meta$$1 = _meta === undefined ? (0, _emberMeta.peekMeta)(obj) : _meta;\n\n actions = typeof meta$$1 === 'object' && meta$$1 !== null && meta$$1.matchingListeners(eventName);\n }\n if (actions === undefined || actions.length === 0) {\n return false;\n }\n for (i = actions.length - 3; i >= 0; i -= 3) {\n // looping in reverse for once listeners\n target = actions[i];\n method = actions[i + 1];\n once = actions[i + 2];\n\n if (!method) {\n continue;\n }\n if (once) {\n removeListener(obj, eventName, target, method);\n }\n if (!target) {\n target = obj;\n }\n if ('string' === typeof method) {\n method = target[method];\n }\n method.apply(target, params);\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 */\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 func\n @public\n */\n\n\n /**\n ObserverSet is a data structure used to keep track of observers\n that have been deferred.\n \n It ensures that observers are called in the same order that they\n were initially triggered.\n \n It also ensures that observers for any object-key pairs are called\n only once, even if they were triggered multiple times while\n deferred. In this case, the order that the observer is called in\n will depend on the first time the observer was triggered.\n \n @private\n @class ObserverSet\n */\n\n var ObserverSet = function () {\n function ObserverSet() {\n\n this.added = new Map();\n this.queue = [];\n }\n\n ObserverSet.prototype.add = function (object, key, event) {\n var keys = this.added.get(object);\n if (keys === undefined) {\n keys = new Set();\n this.added.set(object, keys);\n }\n if (!keys.has(key)) {\n this.queue.push(object, key, event);\n keys.add(key);\n }\n };\n\n ObserverSet.prototype.flush = function () {\n // The queue is saved off to support nested flushes.\n var queue = this.queue,\n i,\n object,\n key,\n event;\n this.added.clear();\n this.queue = [];\n for (i = 0; i < queue.length; i += 3) {\n object = queue[i];\n key = queue[i + 1];\n event = queue[i + 2];\n\n if (object.isDestroying || object.isDestroyed) {\n continue;\n }\n sendEvent(object, event, [object, key]);\n }\n };\n\n return ObserverSet;\n }();\n\n var hasViews = function () {\n return false;\n };\n\n function makeTag() {\n return _reference.DirtyableTag.create();\n }\n function tagForProperty(object, propertyKey, _meta) {\n if (typeof object !== 'object' || object === null) {\n return _reference.CONSTANT_TAG;\n }\n var meta$$1 = _meta === undefined ? (0, _emberMeta.meta)(object) : _meta;\n if ((0, _emberUtils.isProxy)(object)) {\n return tagFor(object, meta$$1);\n }\n var tags = meta$$1.writableTags();\n var tag = tags[propertyKey];\n if (tag) {\n return tag;\n }\n\n return tags[propertyKey] = makeTag();\n }\n function tagFor(object, _meta) {\n var meta$$1;\n\n if (typeof object === 'object' && object !== null) {\n meta$$1 = _meta === undefined ? (0, _emberMeta.meta)(object) : _meta;\n\n return meta$$1.writableTag(makeTag);\n } else {\n return _reference.CONSTANT_TAG;\n }\n }\n var dirty = void 0;\n\n dirty = function (tag) {\n tag.inner.dirty();\n };\n\n function markObjectAsDirty(obj, propertyKey, meta$$1) {\n var objectTag = meta$$1.readableTag();\n if (objectTag !== undefined) {\n if ((0, _emberUtils.isProxy)(obj)) {\n objectTag.inner.first.inner.dirty();\n } else {\n objectTag.inner.dirty();\n }\n }\n var tags = meta$$1.readableTags();\n var propertyTag = tags !== undefined ? tags[propertyKey] : undefined;\n if (propertyTag !== undefined) {\n dirty(propertyTag);\n }\n if (objectTag !== undefined || propertyTag !== undefined) {\n ensureRunloop();\n }\n }\n function ensureRunloop() {\n if (hasViews()) {\n _runloop.backburner.ensureInstance();\n }\n }\n\n var runInTransaction = void 0;\n\n // in production do nothing to detect reflushes\n\n // detect-backtracking-rerender by default is debug build only\n exports.runInTransaction = runInTransaction = function (context$$1, methodName) {\n context$$1[methodName]();\n return false;\n };\n\n\n /**\n @module ember\n @private\n */\n var PROPERTY_DID_CHANGE$1 = (0, _emberUtils.symbol)('PROPERTY_DID_CHANGE');\n var observerSet = new ObserverSet();\n var deferred = 0;\n // ..........................................................\n // PROPERTY CHANGES\n //\n /**\n @method propertyWillChange\n @for Ember\n @private\n */\n var propertyWillChange = void 0;\n if (_deprecatedFeatures.PROPERTY_WILL_CHANGE) {\n exports.propertyWillChange = propertyWillChange = function () {\n false && !false && (0, _debug.deprecate)('\\'propertyWillChange\\' is deprecated and has no effect. It is safe to remove this call.', false, {\n id: 'ember-metal.deprecate-propertyWillChange',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x/#toc_use-notifypropertychange-instead-of-propertywillchange-and-propertydidchange'\n });\n };\n }\n /**\n @method propertyDidChange\n @for Ember\n @private\n */\n var propertyDidChange = void 0;\n if (_deprecatedFeatures.PROPERTY_DID_CHANGE) {\n exports.propertyDidChange = propertyDidChange = function (obj, keyName, _meta) {\n false && !false && (0, _debug.deprecate)('\\'propertyDidChange\\' is deprecated in favor of \\'notifyPropertyChange\\'. It is safe to change this call to \\'notifyPropertyChange\\'.', false, {\n id: 'ember-metal.deprecate-propertyDidChange',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x/#toc_use-notifypropertychange-instead-of-propertywillchange-and-propertydidchange'\n });\n\n notifyPropertyChange(obj, keyName, _meta);\n };\n }\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\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 @return {void}\n @public\n */\n function notifyPropertyChange(obj, keyName, _meta) {\n var meta$$1 = _meta === undefined ? (0, _emberMeta.peekMeta)(obj) : _meta;\n var hasMeta = meta$$1 !== undefined;\n if (hasMeta && !meta$$1.isInitialized(obj)) {\n return;\n }\n var possibleDesc = (0, _emberMeta.descriptorFor)(obj, keyName, meta$$1);\n if (possibleDesc !== undefined && typeof possibleDesc.didChange === 'function') {\n possibleDesc.didChange(obj, keyName);\n }\n if (hasMeta && meta$$1.peekWatching(keyName) > 0) {\n dependentKeysDidChange(obj, keyName, meta$$1);\n chainsDidChange(obj, keyName, meta$$1);\n notifyObservers(obj, keyName, meta$$1);\n }\n if (PROPERTY_DID_CHANGE$1 in obj) {\n obj[PROPERTY_DID_CHANGE$1](keyName);\n }\n if (hasMeta) {\n if (meta$$1.isSourceDestroying()) {\n return;\n }\n markObjectAsDirty(obj, keyName, meta$$1);\n }\n }\n var SEEN_MAP = new Map();\n var IS_TOP_SEEN_MAP = true;\n // called whenever a property has just changed to update dependent keys\n function dependentKeysDidChange(obj, depKey, meta$$1) {\n if (meta$$1.isSourceDestroying() || !meta$$1.hasDeps(depKey)) {\n return;\n }\n\n var isTop = IS_TOP_SEEN_MAP;\n if (isTop) {\n IS_TOP_SEEN_MAP = false;\n }\n iterDeps(notifyPropertyChange, obj, depKey, SEEN_MAP, meta$$1);\n if (isTop) {\n SEEN_MAP.clear();\n IS_TOP_SEEN_MAP = true;\n }\n }\n function iterDeps(method, obj, depKey, seen, meta$$1) {\n var current = seen.get(obj);\n if (current === undefined) {\n current = new Set();\n seen.set(obj, current);\n }\n if (current.has(depKey)) {\n return;\n }\n var possibleDesc = void 0;\n meta$$1.forEachInDeps(depKey, function (key) {\n possibleDesc = (0, _emberMeta.descriptorFor)(obj, key, meta$$1);\n if (possibleDesc !== undefined && possibleDesc._suspended === obj) {\n return;\n }\n method(obj, key, meta$$1);\n });\n }\n function chainsDidChange(_obj, keyName, meta$$1) {\n var chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.notify(keyName, true, notifyPropertyChange);\n }\n }\n function overrideChains(_obj, keyName, meta$$1) {\n var chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.revalidate(keyName);\n }\n }\n /**\n @method beginPropertyChanges\n @chainable\n @private\n */\n function beginPropertyChanges() {\n deferred++;\n }\n /**\n @method endPropertyChanges\n @private\n */\n function endPropertyChanges() {\n deferred--;\n if (deferred <= 0) {\n observerSet.flush();\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 function changeProperties(callback) {\n beginPropertyChanges();\n try {\n callback();\n } finally {\n endPropertyChanges();\n }\n }\n function notifyObservers(obj, keyName, meta$$1) {\n if (meta$$1.isSourceDestroying()) {\n return;\n }\n var eventName = changeEvent(keyName);\n if (deferred > 0) {\n observerSet.add(obj, keyName, eventName);\n } else {\n sendEvent(obj, eventName, [obj, keyName]);\n }\n }\n\n /**\n @module @ember/object\n */\n // ..........................................................\n // DESCRIPTOR\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 var Descriptor = function () {\n function Descriptor() {\n\n this.isDescriptor = true;\n this.enumerable = true;\n }\n\n Descriptor.prototype.setup = function () {};\n\n Descriptor.prototype.teardown = function () {};\n\n return Descriptor;\n }();\n\n // ..........................................................\n // DEFINING PROPERTIES API\n //\n\n function DESCRIPTOR_GETTER_FUNCTION(name, descriptor) {\n return function () {\n return descriptor.get(this, name);\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 function defineProperty(obj, keyName, desc, data, meta$$1) {\n if (meta$$1 === undefined) {\n meta$$1 = (0, _emberMeta.meta)(obj);\n }\n var watching = meta$$1.peekWatching(keyName) > 0;\n var previousDesc = (0, _emberMeta.descriptorFor)(obj, keyName, meta$$1);\n var wasDescriptor = previousDesc !== undefined;\n if (wasDescriptor) {\n previousDesc.teardown(obj, keyName, meta$$1);\n meta$$1.removeDescriptors(keyName);\n }\n // used to track if the the property being defined be enumerable\n var enumerable = true;\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 // this is a hack, and we should stop mutating the array prototype by default 😫\n if (obj === Array.prototype) {\n enumerable = false;\n }\n var value = void 0;\n if (desc instanceof Descriptor) {\n value = desc;\n Object.defineProperty(obj, keyName, {\n configurable: true,\n enumerable: enumerable,\n get: DESCRIPTOR_GETTER_FUNCTION(keyName, value)\n });\n meta$$1.writeDescriptors(keyName, value);\n desc.setup(obj, keyName);\n } else if (desc === undefined || desc === null) {\n value = data;\n if (wasDescriptor || enumerable === false) {\n Object.defineProperty(obj, keyName, {\n configurable: true,\n enumerable: enumerable,\n writable: true,\n value: value\n });\n } else {\n obj[keyName] = data;\n }\n } else {\n value = desc;\n // fallback to ES5\n Object.defineProperty(obj, keyName, desc);\n }\n // if key is being watched, override chains that\n // were initialized with the prototype\n if (watching) {\n overrideChains(obj, keyName, meta$$1);\n }\n // The `value` passed to the `didDefineProperty` hook is\n // either the descriptor or data, whichever was passed.\n if (typeof obj.didDefineProperty === 'function') {\n obj.didDefineProperty(obj, keyName, value);\n }\n }\n\n function watchKey(obj, keyName, _meta) {\n var meta$$1 = _meta === undefined ? (0, _emberMeta.meta)(obj) : _meta,\n possibleDesc;\n var count = meta$$1.peekWatching(keyName);\n meta$$1.writeWatching(keyName, count + 1);\n if (count === 0) {\n // activate watching first time\n possibleDesc = (0, _emberMeta.descriptorFor)(obj, keyName, meta$$1);\n\n if (possibleDesc !== undefined && possibleDesc.willWatch !== undefined) {\n possibleDesc.willWatch(obj, keyName, meta$$1);\n }\n if (typeof obj.willWatchProperty === 'function') {\n obj.willWatchProperty(keyName);\n }\n }\n }\n\n function unwatchKey(obj, keyName, _meta) {\n var meta$$1 = _meta === undefined ? (0, _emberMeta.peekMeta)(obj) : _meta,\n possibleDesc,\n isDescriptor$$1;\n // do nothing of this object has already been destroyed\n if (meta$$1 === undefined || meta$$1.isSourceDestroyed()) {\n return;\n }\n var count = meta$$1.peekWatching(keyName);\n if (count === 1) {\n meta$$1.writeWatching(keyName, 0);\n possibleDesc = (0, _emberMeta.descriptorFor)(obj, keyName, meta$$1);\n isDescriptor$$1 = possibleDesc !== undefined;\n\n if (isDescriptor$$1 && possibleDesc.didUnwatch !== undefined) {\n possibleDesc.didUnwatch(obj, keyName, meta$$1);\n }\n if (typeof obj.didUnwatchProperty === 'function') {\n obj.didUnwatchProperty(keyName);\n }\n } else if (count > 1) {\n meta$$1.writeWatching(keyName, count - 1);\n }\n }\n\n var EACH_PROXIES = new WeakMap();\n function eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n var eachProxy = EACH_PROXIES.get(array);\n if (eachProxy !== undefined) {\n eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n }\n }\n function eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n var eachProxy = EACH_PROXIES.get(array);\n if (eachProxy !== undefined) {\n eachProxy.arrayDidChange(array, idx, removedCnt, addedCnt);\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 if (addAmt === undefined) {\n addAmt = -1;\n }\n }\n eachProxyArrayWillChange(array, startIdx, removeAmt, addAmt);\n sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n return array;\n }\n function arrayContentDidChange(array, startIdx, removeAmt, addAmt) {\n // if no args are passed assume everything changes\n if (startIdx === undefined) {\n startIdx = 0;\n removeAmt = addAmt = -1;\n } else {\n if (removeAmt === undefined) {\n removeAmt = -1;\n }\n if (addAmt === undefined) {\n addAmt = -1;\n }\n }\n var meta$$1 = (0, _emberMeta.peekMeta)(array),\n length,\n addedAmount,\n removedAmount,\n previousLength,\n normalStartIdx;\n if (addAmt < 0 || removeAmt < 0 || addAmt - removeAmt !== 0) {\n notifyPropertyChange(array, 'length', meta$$1);\n }\n notifyPropertyChange(array, '[]', meta$$1);\n eachProxyArrayDidChange(array, startIdx, removeAmt, addAmt);\n sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n var cache = peekCacheFor(array);\n if (cache !== undefined) {\n length = array.length;\n addedAmount = addAmt === -1 ? 0 : addAmt;\n removedAmount = removeAmt === -1 ? 0 : removeAmt;\n previousLength = length - (addedAmount - removedAmount);\n normalStartIdx = startIdx < 0 ? previousLength + startIdx : startIdx;\n\n if (cache.has('firstObject') && normalStartIdx === 0) {\n notifyPropertyChange(array, 'firstObject', meta$$1);\n }\n if (cache.has('lastObject')) {\n if (previousLength - 1 < normalStartIdx + removedAmount) {\n notifyPropertyChange(array, 'lastObject', meta$$1);\n }\n }\n }\n return array;\n }\n\n /**\n An object that that tracks @tracked properties that were consumed.\n \n @private\n */\n\n var Tracker = function () {\n function Tracker() {\n\n this.tags = new Set();\n this.last = null;\n }\n\n Tracker.prototype.add = function (tag) {\n this.tags.add(tag);\n this.last = tag;\n };\n\n Tracker.prototype.combine = function () {\n var tags;\n\n if (this.tags.size === 0) {\n return _reference.CONSTANT_TAG;\n } else if (this.tags.size === 1) {\n return this.last;\n } else {\n tags = [];\n\n this.tags.forEach(function (tag) {\n return tags.push(tag);\n });\n return (0, _reference.combine)(tags);\n }\n };\n\n (0, _emberBabel.createClass)(Tracker, [{\n key: 'size',\n get: function () {\n return this.tags.size;\n }\n }]);\n return Tracker;\n }();\n\n /**\n @decorator\n @private\n \n Marks a property as tracked.\n \n By default, a component's properties are expected to be static,\n meaning you are not able to update them and have the template update accordingly.\n Marking a property as tracked means that when that property changes,\n a rerender of the component is scheduled so the template is kept up to date.\n \n There are two usages for the `@tracked` decorator, shown below.\n \n @example No dependencies\n \n If you don't pass an argument to `@tracked`, only changes to that property\n will be tracked:\n \n ```typescript\n import Component, { tracked } from '@glimmer/component';\n \n export default class MyComponent extends Component {\n @tracked\n remainingApples = 10\n }\n ```\n \n When something changes the component's `remainingApples` property, the rerender\n will be scheduled.\n \n @example Dependents\n \n In the case that you have a computed property that depends other\n properties, you want to track both so that when one of the\n dependents change, a rerender is scheduled.\n \n In the following example we have two properties,\n `eatenApples`, and `remainingApples`.\n \n ```typescript\n import Component, { tracked } from '@glimmer/component';\n \n const totalApples = 100;\n \n export default class MyComponent extends Component {\n @tracked\n eatenApples = 0\n \n @tracked('eatenApples')\n get remainingApples() {\n return totalApples - this.eatenApples;\n }\n \n increment() {\n this.eatenApples = this.eatenApples + 1;\n }\n }\n ```\n \n @param dependencies Optional dependents to be tracked.\n */\n function tracked(_target, key, descriptor) {\n if ('value' in descriptor) {\n return descriptorForDataProperty(key, descriptor);\n } else {\n return descriptorForAccessor(key, descriptor);\n }\n }\n /**\n @private\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 var CURRENT_TRACKER = null;\n\n function descriptorForAccessor(key, descriptor) {\n var get = descriptor.get;\n var set = descriptor.set;\n function getter() {\n // Swap the parent tracker for a new tracker\n var old = CURRENT_TRACKER;\n var tracker = CURRENT_TRACKER = new Tracker();\n // Call the getter\n var ret = get.call(this);\n // Swap back the parent tracker\n CURRENT_TRACKER = old;\n // Combine the tags in the new tracker and add them to the parent tracker\n var tag = tracker.combine();\n if (CURRENT_TRACKER) CURRENT_TRACKER.add(tag);\n // Update the UpdatableTag for this property with the tag for all of the\n // consumed dependencies.\n (void 0)(tagForProperty(this, key), tag);\n return ret;\n }\n function setter() {\n dirty(tagForProperty(this, key));\n set.apply(this, arguments);\n }\n return {\n enumerable: true,\n configurable: false,\n get: get && getter,\n set: set && setter\n };\n }\n /**\n @private\n \n A getter/setter for change tracking for a particular key. The accessor\n acts just like a normal property, but it triggers the `propertyDidChange`\n hook when written to.\n \n Values are saved on the object using a \"shadow key,\" or a symbol based on the\n tracked property name. Sets write the value to the shadow key, and gets read\n from it.\n */\n function descriptorForDataProperty(key, descriptor) {\n var shadowKey = Symbol(key);\n return {\n enumerable: true,\n configurable: true,\n get: function () {\n if (CURRENT_TRACKER) CURRENT_TRACKER.add(tagForProperty(this, key));\n if (!(shadowKey in this)) {\n this[shadowKey] = descriptor.value;\n }\n return this[shadowKey];\n },\n set: function (newValue) {\n tagFor(this).inner['dirty']();\n dirty(tagForProperty(this, key));\n this[shadowKey] = newValue;\n propertyDidChange$1();\n }\n };\n }\n var propertyDidChange$1 = function () {};\n\n /**\n @module @ember/object\n */\n var PROXY_CONTENT = (0, _emberUtils.symbol)('PROXY_CONTENT');\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 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 function _get(obj, keyName) {\n false && !(arguments.length === 2) && (0, _debug.assert)('Get must be called with two arguments; an object and a property key', arguments.length === 2);\n false && !(obj !== undefined && obj !== null) && (0, _debug.assert)('Cannot call get with \\'' + keyName + '\\' on an undefined object.', obj !== undefined && obj !== null);\n false && !(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 false && !(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 var type = typeof obj;\n var isObject = type === 'object';\n\n var descriptor = void 0;\n var value = void 0;\n if (isObject || type === 'function') {\n descriptor = (0, _emberMeta.descriptorFor)(obj, keyName);\n if (descriptor !== undefined) {\n return descriptor.get(obj, keyName);\n }\n\n value = obj[keyName];\n\n if (_deprecatedFeatures.PROPERTY_BASED_DESCRIPTORS && (0, _emberMeta.isDescriptor)(value)) {\n false && !false && (0, _debug.deprecate)('[DEPRECATED] computed property \\'' + keyName + '\\' was not set on object \\'' + (0, _emberUtils.toString)(obj) + '\\' via \\'defineProperty\\'', false, {\n id: 'ember-meta.descriptor-on-object',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_use-defineProperty-to-define-computed-properties'\n });\n\n Object.defineProperty(obj, keyName, {\n configurable: true,\n enumerable: value.enumerable === false,\n get: function () {\n return value.get(this, keyName);\n }\n });\n (0, _emberMeta.meta)(obj).writeDescriptors(keyName, value);\n value.setup(obj, keyName);\n return value.get(obj, keyName);\n }\n } else {\n value = obj[keyName];\n }\n if (value === undefined) {\n if (isPath(keyName)) {\n return _getPath(obj, keyName);\n }\n if (isObject && !(keyName in obj) && typeof obj.unknownProperty === 'function') {\n return obj.unknownProperty(keyName);\n }\n }\n return value;\n }\n function _getPath(root, path) {\n var obj = root,\n i;\n var parts = path.split('.');\n for (i = 0; i < parts.length; i++) {\n if (obj === undefined || obj === null || obj.isDestroyed) {\n return undefined;\n }\n obj = _get(obj, parts[i]);\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 var EMPTY_ARRAY = Object.freeze([]);\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 var CHUNK_SIZE = 60000;\n // To avoid overflowing the stack, we splice up to CHUNK_SIZE items at a time.\n // See https://code.google.com/p/chromium/issues/detail?id=56588 for more details.\n function replaceInNativeArray(array, start, deleteCount, items) {\n var i, chunk;\n\n arrayContentWillChange(array, start, deleteCount, items.length);\n if (items.length <= CHUNK_SIZE) {\n array.splice.apply(array, [start, deleteCount].concat(items));\n } else {\n array.splice(start, deleteCount);\n for (i = 0; i < items.length; i += CHUNK_SIZE) {\n chunk = items.slice(i, i + CHUNK_SIZE);\n\n array.splice.apply(array, [start + i, 0].concat(chunk));\n }\n }\n arrayContentDidChange(array, start, deleteCount, items.length);\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 = _get(obj, 'hasArrayObservers');\n operation(obj, '@array:before', target, willChange);\n operation(obj, '@array:change', target, didChange);\n if (hasObservers === notify) {\n notifyPropertyChange(obj, 'hasArrayObservers');\n }\n return obj;\n }\n\n\n /**\n @module @ember/object\n */\n /**\n @method addObserver\n @static\n @for @ember/object/observers\n @param obj\n @param {String} path\n @param {Object|Function} target\n @param {Function|String} [method]\n @public\n */\n function addObserver(obj, path, target, method) {\n addListener(obj, changeEvent(path), target, method);\n watch(obj, path);\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 function removeObserver(obj, path, target, method) {\n unwatch(obj, path);\n removeListener(obj, changeEvent(path), target, method);\n }\n\n function eachProxyFor(array) {\n var eachProxy = EACH_PROXIES.get(array);\n if (eachProxy === undefined) {\n eachProxy = new EachProxy(array);\n EACH_PROXIES.set(array, eachProxy);\n }\n return eachProxy;\n }\n\n var EachProxy = function () {\n function EachProxy(content) {\n\n this._content = content;\n this._keys = undefined;\n (0, _emberMeta.meta)(this);\n }\n // ..........................................................\n // ARRAY CHANGES\n // Invokes whenever the content array itself changes.\n\n\n EachProxy.prototype.arrayWillChange = function (content, idx, removedCnt /*, addedCnt */) {\n // eslint-disable-line no-unused-vars\n var keys = this._keys;\n if (!keys) {\n return;\n }\n var lim = removedCnt > 0 ? idx + removedCnt : -1;\n if (lim > 0) {\n for (var key in keys) {\n removeObserverForContentKey(content, key, this, idx, lim);\n }\n }\n };\n\n EachProxy.prototype.arrayDidChange = function (content, idx, _removedCnt, addedCnt) {\n var keys = this._keys;\n if (!keys) {\n return;\n }\n var lim = addedCnt > 0 ? idx + addedCnt : -1;\n var meta$$1 = (0, _emberMeta.peekMeta)(this);\n for (var key in keys) {\n if (lim > 0) {\n addObserverForContentKey(content, key, this, idx, lim);\n }\n notifyPropertyChange(this, key, meta$$1);\n }\n };\n\n EachProxy.prototype.willWatchProperty = function (property) {\n this.beginObservingContentKey(property);\n };\n\n EachProxy.prototype.didUnwatchProperty = function (property) {\n this.stopObservingContentKey(property);\n };\n\n EachProxy.prototype.beginObservingContentKey = function (keyName) {\n var keys = this._keys,\n content,\n len;\n if (keys === undefined) {\n keys = this._keys = Object.create(null);\n }\n if (!keys[keyName]) {\n keys[keyName] = 1;\n content = this._content;\n len = content.length;\n\n addObserverForContentKey(content, keyName, this, 0, len);\n } else {\n keys[keyName]++;\n }\n };\n\n EachProxy.prototype.stopObservingContentKey = function (keyName) {\n var keys = this._keys,\n content,\n len;\n if (keys !== undefined && keys[keyName] > 0 && --keys[keyName] <= 0) {\n content = this._content;\n len = content.length;\n\n removeObserverForContentKey(content, keyName, this, 0, len);\n }\n };\n\n EachProxy.prototype.contentKeyDidChange = function (_obj, keyName) {\n notifyPropertyChange(this, keyName);\n };\n\n return EachProxy;\n }();\n\n function addObserverForContentKey(content, keyName, proxy, idx, loc) {\n var item;\n\n while (--loc >= idx) {\n item = objectAt(content, loc);\n\n if (item) {\n false && !(typeof item === 'object') && (0, _debug.assert)('When using @each to observe the array `' + content.toString() + '`, the array must return an object', typeof item === 'object');\n\n addObserver(item, keyName, proxy, 'contentKeyDidChange');\n }\n }\n }\n function removeObserverForContentKey(content, keyName, proxy, idx, loc) {\n var item;\n\n while (--loc >= idx) {\n item = objectAt(content, loc);\n\n if (item) {\n removeObserver(item, keyName, proxy, 'contentKeyDidChange');\n }\n }\n }\n\n function isObject(obj) {\n return typeof obj === 'object' && obj !== null;\n }\n function isVolatile(obj, keyName, meta$$1) {\n var desc = (0, _emberMeta.descriptorFor)(obj, keyName, meta$$1);\n return !(desc !== undefined && desc._volatile === false);\n }\n\n var ChainWatchers = function () {\n function ChainWatchers() {\n\n // chain nodes that reference a key in this obj by key\n // we only create ChainWatchers when we are going to add them\n // so create this upfront\n this.chains = Object.create(null);\n }\n\n ChainWatchers.prototype.add = function (key, node) {\n var nodes = this.chains[key];\n if (nodes === undefined) {\n this.chains[key] = [node];\n } else {\n nodes.push(node);\n }\n };\n\n ChainWatchers.prototype.remove = function (key, node) {\n var nodes = this.chains[key],\n i;\n if (nodes !== undefined) {\n for (i = 0; i < nodes.length; i++) {\n if (nodes[i] === node) {\n nodes.splice(i, 1);\n break;\n }\n }\n }\n };\n\n ChainWatchers.prototype.has = function (key, node) {\n var nodes = this.chains[key],\n i;\n if (nodes !== undefined) {\n for (i = 0; i < nodes.length; i++) {\n if (nodes[i] === node) {\n return true;\n }\n }\n }\n return false;\n };\n\n ChainWatchers.prototype.revalidateAll = function () {\n for (var key in this.chains) {\n this.notify(key, true, undefined);\n }\n };\n\n ChainWatchers.prototype.revalidate = function (key) {\n this.notify(key, true, undefined);\n };\n\n ChainWatchers.prototype.notify = function (key, revalidate, callback) {\n var nodes = this.chains[key],\n i,\n _i,\n obj,\n path;\n if (nodes === undefined || nodes.length === 0) {\n return;\n }\n var affected = undefined;\n if (callback !== undefined) {\n affected = [];\n }\n for (i = 0; i < nodes.length; i++) {\n nodes[i].notify(revalidate, affected);\n }\n if (callback === undefined) {\n return;\n }\n // we gather callbacks so we don't notify them during revalidation\n for (_i = 0; _i < affected.length; _i += 2) {\n obj = affected[_i];\n path = affected[_i + 1];\n\n callback(obj, path);\n }\n };\n\n return ChainWatchers;\n }();\n\n function makeChainWatcher() {\n return new ChainWatchers();\n }\n function makeChainNode(obj) {\n return new ChainNode(null, null, obj);\n }\n function addChainWatcher(obj, keyName, node) {\n var m = (0, _emberMeta.meta)(obj);\n m.writableChainWatchers(makeChainWatcher).add(keyName, node);\n watchKey(obj, keyName, m);\n }\n function removeChainWatcher(obj, keyName, node, _meta) {\n if (!isObject(obj)) {\n return;\n }\n var meta$$1 = _meta === undefined ? (0, _emberMeta.peekMeta)(obj) : _meta;\n if (meta$$1 === undefined || meta$$1.isSourceDestroying() || meta$$1.isMetaDestroyed() || meta$$1.readableChainWatchers() === undefined) {\n return;\n }\n // make meta writable\n meta$$1 = (0, _emberMeta.meta)(obj);\n meta$$1.readableChainWatchers().remove(keyName, node);\n unwatchKey(obj, keyName, meta$$1);\n }\n var NODE_STACK = [];\n function destroyRoot(root) {\n var node;\n\n pushChildren(root);\n while (NODE_STACK.length > 0) {\n node = NODE_STACK.pop();\n\n pushChildren(node);\n destroyOne(node);\n }\n }\n function destroyOne(node) {\n if (node.isWatching) {\n removeChainWatcher(node.object, node.key, node);\n node.isWatching = false;\n }\n }\n function pushChildren(node) {\n var nodes = node.chains;\n if (nodes !== undefined) {\n for (var key in nodes) {\n if (nodes[key] !== undefined) {\n NODE_STACK.push(nodes[key]);\n }\n }\n }\n }\n // A ChainNode watches a single key on an object. If you provide a starting\n // value for the key then the node won't actually watch it. For a root node\n // pass null for parent and key and object for value.\n\n var ChainNode = function () {\n function ChainNode(parent, key, value) {\n\n this.paths = undefined;\n this.isWatching = false;\n this.chains = undefined;\n this.object = undefined;\n this.count = 0;\n this.parent = parent;\n this.key = key;\n this.content = value;\n // It is false for the root of a chain (because we have no parent)\n var isWatching = this.isWatching = parent !== null,\n parentValue;\n if (isWatching) {\n parentValue = parent.value();\n\n if (isObject(parentValue)) {\n this.object = parentValue;\n addChainWatcher(parentValue, key, this);\n }\n }\n }\n\n ChainNode.prototype.value = function () {\n var obj;\n\n if (this.content === undefined && this.isWatching) {\n obj = this.parent.value();\n\n this.content = lazyGet(obj, this.key);\n }\n return this.content;\n };\n\n ChainNode.prototype.destroy = function () {\n // check if root\n if (this.parent === null) {\n destroyRoot(this);\n } else {\n destroyOne(this);\n }\n };\n\n ChainNode.prototype.copyTo = function (target) {\n var paths = this.paths,\n path;\n if (paths !== undefined) {\n path = void 0;\n\n for (path in paths) {\n if (paths[path] > 0) {\n target.add(path);\n }\n }\n }\n };\n\n ChainNode.prototype.add = function (path) {\n var paths = this.paths || (this.paths = {});\n paths[path] = (paths[path] || 0) + 1;\n var tails = path.split('.');\n this.chain(tails.shift(), tails);\n };\n\n ChainNode.prototype.remove = function (path) {\n var paths = this.paths;\n if (paths === undefined) {\n return;\n }\n if (paths[path] > 0) {\n paths[path]--;\n }\n var tails = path.split('.');\n this.unchain(tails.shift(), tails);\n };\n\n ChainNode.prototype.chain = function (key, tails) {\n var chains = this.chains;\n if (chains === undefined) {\n chains = this.chains = Object.create(null);\n }\n var node = chains[key];\n if (node === undefined) {\n node = chains[key] = new ChainNode(this, key, undefined);\n }\n node.count++; // count chains...\n // chain rest of path if there is one\n if (tails.length > 0) {\n node.chain(tails.shift(), tails);\n }\n };\n\n ChainNode.prototype.unchain = function (key, tails) {\n var chains = this.chains;\n var node = chains[key];\n // unchain rest of path first...\n if (tails.length > 0) {\n node.unchain(tails.shift(), tails);\n }\n // delete node if needed.\n node.count--;\n if (node.count <= 0) {\n chains[node.key] = undefined;\n node.destroy();\n }\n };\n\n ChainNode.prototype.notify = function (revalidate, affected) {\n if (revalidate && this.isWatching) {\n parentValue = this.parent.value();\n\n if (parentValue !== this.object) {\n removeChainWatcher(this.object, this.key, this);\n if (isObject(parentValue)) {\n this.object = parentValue;\n addChainWatcher(parentValue, this.key, this);\n } else {\n this.object = undefined;\n }\n }\n this.content = undefined;\n }\n // then notify chains...\n var chains = this.chains,\n parentValue,\n node;\n if (chains !== undefined) {\n node = void 0;\n\n for (var key in chains) {\n node = chains[key];\n if (node !== undefined) {\n node.notify(revalidate, affected);\n }\n }\n }\n if (affected !== undefined && this.parent !== null) {\n this.parent.populateAffected(this.key, 1, affected);\n }\n };\n\n ChainNode.prototype.populateAffected = function (path, depth, affected) {\n if (this.key) {\n path = this.key + '.' + path;\n }\n if (this.parent !== null) {\n this.parent.populateAffected(path, depth + 1, affected);\n } else if (depth > 1) {\n affected.push(this.value(), path);\n }\n };\n\n return ChainNode;\n }();\n\n function lazyGet(obj, key) {\n if (!isObject(obj)) {\n return;\n }\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n // check if object meant only to be a prototype\n if (meta$$1 !== undefined && meta$$1.proto === obj) {\n return;\n }\n // Use `get` if the return value is an EachProxy or an uncacheable value.\n if (key === '@each') {\n return eachProxyFor(obj);\n } else if (isVolatile(obj, key, meta$$1)) {\n return _get(obj, key);\n // Otherwise attempt to get the cached value of the computed property\n } else {\n return getCachedValueFor(obj, key);\n }\n }\n\n\n function watchPath(obj, keyPath, meta$$1) {\n var m = meta$$1 === undefined ? (0, _emberMeta.meta)(obj) : meta$$1;\n var counter = m.peekWatching(keyPath);\n m.writeWatching(keyPath, counter + 1);\n if (counter === 0) {\n // activate watching first time\n m.writableChains(makeChainNode).add(keyPath);\n }\n }\n function unwatchPath(obj, keyPath, meta$$1) {\n var m = meta$$1 === undefined ? (0, _emberMeta.peekMeta)(obj) : meta$$1;\n if (m === undefined) {\n return;\n }\n var counter = m.peekWatching(keyPath);\n if (counter > 0) {\n m.writeWatching(keyPath, counter - 1);\n if (counter === 1) {\n m.writableChains(makeChainNode).remove(keyPath);\n }\n }\n }\n\n /**\n @module ember\n */\n /**\n Starts watching a property on an object. Whenever the property changes,\n invokes `Ember.notifyPropertyChange`. This is the primitive used by observers\n and dependent keys; usually you will never call this method directly but instead\n use higher level methods like `addObserver()`.\n \n @private\n @method watch\n @for Ember\n @param obj\n @param {String} keyPath\n @param {Object} meta\n */\n function watch(obj, keyPath, meta$$1) {\n if (isPath(keyPath)) {\n watchPath(obj, keyPath, meta$$1);\n } else {\n watchKey(obj, keyPath, meta$$1);\n }\n }\n\n function watcherCount(obj, key) {\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n return meta$$1 !== undefined && meta$$1.peekWatching(key) || 0;\n }\n /**\n Stops watching a property on an object. Usually you will never call this method directly but instead\n use higher level methods like `removeObserver()`.\n \n @private\n @method unwatch\n @for Ember\n @param obj\n @param {String} keyPath\n @param {Object} meta\n */\n function unwatch(obj, keyPath, meta$$1) {\n if (isPath(keyPath)) {\n unwatchPath(obj, keyPath, meta$$1);\n } else {\n unwatchKey(obj, keyPath, meta$$1);\n }\n }\n\n // ..........................................................\n // DEPENDENT KEYS\n //\n function addDependentKeys(desc, obj, keyName, meta$$1) {\n // the descriptor has a list of dependent keys, so\n // add all of its dependent keys.\n var depKeys = desc._dependentKeys,\n idx,\n depKey;\n if (depKeys === null || depKeys === undefined) {\n return;\n }\n for (idx = 0; idx < depKeys.length; idx++) {\n depKey = depKeys[idx];\n // Increment the number of times depKey depends on keyName.\n\n meta$$1.writeDeps(depKey, keyName, meta$$1.peekDeps(depKey, keyName) + 1);\n // Watch the depKey\n watch(obj, depKey, meta$$1);\n }\n }\n function removeDependentKeys(desc, obj, keyName, meta$$1) {\n // the descriptor has a list of dependent keys, so\n // remove all of its dependent keys.\n var depKeys = desc._dependentKeys,\n idx,\n depKey;\n if (depKeys === null || depKeys === undefined) {\n return;\n }\n for (idx = 0; idx < depKeys.length; idx++) {\n depKey = depKeys[idx];\n // Decrement the number of times depKey depends on keyName.\n\n meta$$1.writeDeps(depKey, keyName, meta$$1.peekDeps(depKey, keyName) - 1);\n // Unwatch the depKey\n unwatch(obj, depKey, meta$$1);\n }\n }\n\n /**\n @module @ember/object\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 function expandProperties(pattern, callback) {\n false && !(typeof pattern === 'string') && (0, _debug.assert)('A computed property key must be a string, you passed ' + typeof pattern + ' ' + pattern, typeof pattern === 'string');\n false && !(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);\n false && !(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\n var start = pattern.indexOf('{');\n if (start < 0) {\n callback(pattern.replace(END_WITH_EACH_REGEX, '.[]'));\n } else {\n dive('', pattern, start, callback);\n }\n }\n function dive(prefix, pattern, start, callback) {\n var end = pattern.indexOf('}'),\n i = 0,\n newStart = void 0,\n arrayLength = void 0;\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 while (i < arrayLength) {\n newStart = after.indexOf('{');\n if (newStart < 0) {\n callback((prefix + tempArr[i++] + after).replace(END_WITH_EACH_REGEX, '.[]'));\n } else {\n dive(prefix + tempArr[i++], after, newStart, callback);\n }\n }\n }\n\n /**\n @module @ember/object\n */\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 function _set2(obj, keyName, value, tolerant) {\n false && !(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 false && !(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 false && !(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 false && !(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 false && !tolerant && (0, _debug.assert)('calling set on destroyed object: ' + (0, _emberUtils.toString)(obj) + '.' + keyName + ' = ' + (0, _emberUtils.toString)(value), tolerant);\n\n return;\n }\n if (isPath(keyName)) {\n return setPath(obj, keyName, value, tolerant);\n }\n var possibleDesc = (0, _emberMeta.descriptorFor)(obj, keyName),\n cv,\n meta$$1;\n if (possibleDesc !== undefined) {\n /* computed property */\n possibleDesc.set(obj, keyName, value);\n return value;\n }\n var currentValue = void 0;\n\n currentValue = obj[keyName];\n\n if (_deprecatedFeatures.PROPERTY_BASED_DESCRIPTORS && (0, _emberMeta.isDescriptor)(currentValue)) {\n false && !false && (0, _debug.deprecate)('[DEPRECATED] computed property \\'' + keyName + '\\' was not set on object \\'' + (0, _emberUtils.toString)(obj) + '\\' via \\'defineProperty\\'', false, {\n id: 'ember-meta.descriptor-on-object',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_use-defineProperty-to-define-computed-properties'\n });\n\n cv = currentValue;\n\n Object.defineProperty(obj, keyName, {\n configurable: true,\n enumerable: cv.enumerable === false,\n get: function () {\n return cv.get(this, keyName);\n }\n });\n (0, _emberMeta.meta)(obj).writeDescriptors(keyName, cv);\n cv.setup(obj, keyName);\n cv.set(obj, keyName, value);\n return value;\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 meta$$1 = (0, _emberMeta.peekMeta)(obj);\n\n obj[keyName] = value;\n\n if (currentValue !== value) {\n notifyPropertyChange(obj, keyName, meta$$1);\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 false && !(keyName.trim().length > 0) && (0, _debug.assert)('Property set failed: You passed an empty path', keyName.trim().length > 0);\n\n var newPath = parts.join('.');\n var newRoot = _getPath(root, newPath);\n if (newRoot !== null && newRoot !== undefined) {\n return _set2(newRoot, keyName, value);\n } else if (!tolerant) {\n throw new _error.default('Property set failed: object in path \"' + newPath + '\" 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 /**\n @module @ember/object\n */\n var DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\n function noop() {}\n /**\n A computed property transforms an object literal with object's accessor function(s) into a property.\n \n By default the function backing the computed property will only be called\n once and the result will be cached. You can specify various properties\n that your computed property depends on. This will force the cached\n result to be recomputed if the dependencies are modified.\n \n In the following example we declare a computed property - `fullName` - by calling\n `computed` with property dependencies (`firstName` and `lastName`) as leading arguments and getter accessor function. The `fullName` getter function\n will be called once (regardless of how many times it is accessed) as long\n as its dependencies have not changed. Once `firstName` or `lastName` are updated\n any future calls (or anything bound) to `fullName` will incorporate the new\n values.\n \n ```javascript\n import EmberObject, { computed } 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', function() {\n let firstName = this.get('firstName'),\n lastName = this.get('lastName');\n \n return `${firstName} ${lastName}`;\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 also define what Ember should do when setting a computed property by providing additional function (`set`) in hash argument.\n If you try to set a computed property, it will try to invoke setter accessor function with the key and\n value you want to set it to as arguments.\n \n ```javascript\n import EmberObject, { computed } 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(key) {\n let firstName = this.get('firstName'),\n lastName = this.get('lastName');\n \n return firstName + ' ' + lastName;\n },\n set(key, value) {\n let [firstName, lastName] = value.split(' ');\n \n this.set('firstName', firstName);\n this.set('lastName', lastName);\n \n return value;\n }\n })\n });\n \n let person = Person.create();\n \n person.set('fullName', 'Peter Wagenet');\n person.get('firstName'); // 'Peter'\n person.get('lastName'); // 'Wagenet'\n ```\n \n You can overwrite computed property with normal property (no longer computed), that won't change if dependencies change, if you set computed property and it won't have setter accessor function defined.\n \n You can also mark computed property as `.readOnly()` and block all attempts to set it.\n \n ```javascript\n import EmberObject, { computed } 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(key) {\n let firstName = this.get('firstName');\n let lastName = this.get('lastName');\n \n return firstName + ' ' + lastName;\n }\n }).readOnly()\n });\n \n let person = Person.create();\n person.set('fullName', 'Peter Wagenet'); // Uncaught Error: Cannot set read-only property \"fullName\" on object: <(...):emberXXX>\n ```\n \n Additional resources:\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 var ComputedProperty = function (_Descriptor) {\n (0, _emberBabel.inherits)(ComputedProperty, _Descriptor);\n\n function ComputedProperty(config, opts) {\n\n var _this = (0, _emberBabel.possibleConstructorReturn)(this, _Descriptor.call(this)),\n objectConfig;\n\n var hasGetterOnly = typeof config === 'function';\n if (hasGetterOnly) {\n _this._getter = config;\n } else {\n objectConfig = config;\n\n false && !(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 false && !Object.keys(objectConfig).every(function (key) {\n return key === 'get' || key === 'set';\n }) && (0, _debug.assert)('Config object passed to computed can only contain `get` and `set` keys.', Object.keys(objectConfig).every(function (key) {\n return key === 'get' || key === 'set';\n }));\n false && !(!!objectConfig.get || !!objectConfig.set) && (0, _debug.assert)('Computed properties must receive a getter or a setter, you passed none.', !!objectConfig.get || !!objectConfig.set);\n\n _this._getter = objectConfig.get || noop;\n _this._setter = objectConfig.set;\n }\n _this._suspended = undefined;\n _this._meta = undefined;\n _this._volatile = false;\n\n _this._dependentKeys = opts && opts.dependentKeys;\n _this._readOnly = !!opts && hasGetterOnly && opts.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 ```javascript\n import EmberObject, { computed } from '@ember/object';\n let outsideService = EmberObject.extend({\n value: computed(function() {\n return OutsideService.getValue();\n }).volatile()\n }).create();\n ```\n @method volatile\n @return {ComputedProperty} this\n @chainable\n @public\n */\n\n ComputedProperty.prototype.volatile = function () {\n this._volatile = true;\n return this;\n };\n\n ComputedProperty.prototype.readOnly = function () {\n this._readOnly = true;\n false && !!(this._readOnly && this._setter && this._setter !== this._getter) && (0, _debug.assert)('Computed properties that define a setter using the new syntax cannot be read-only', !(this._readOnly && this._setter && this._setter !== this._getter));\n\n return this;\n };\n\n ComputedProperty.prototype.property = function () {\n var args = [],\n _len2,\n passedArgs,\n _key2,\n i;\n function addArg(property) {\n false && (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, { id: 'ember-metal.computed-deep-each' });\n\n args.push(property);\n }\n\n for (_len2 = arguments.length, passedArgs = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n passedArgs[_key2] = arguments[_key2];\n }\n\n for (i = 0; i < passedArgs.length; i++) {\n expandProperties(passedArgs[i], addArg);\n }\n this._dependentKeys = args;\n return this;\n };\n\n ComputedProperty.prototype.meta = function (meta$$1) {\n if (arguments.length === 0) {\n return this._meta || {};\n } else {\n this._meta = meta$$1;\n return this;\n }\n };\n\n ComputedProperty.prototype.didChange = function (obj, keyName) {\n // _suspended is set via a CP.set to ensure we don't clear\n // the cached value set by the setter\n if (this._volatile || this._suspended === obj) {\n return;\n }\n // don't create objects just to invalidate\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n if (meta$$1 === undefined || meta$$1.source !== obj) {\n return;\n }\n var cache = peekCacheFor(obj);\n if (cache !== undefined && cache.delete(keyName)) {\n removeDependentKeys(this, obj, keyName, meta$$1);\n }\n };\n\n ComputedProperty.prototype.get = function (obj, keyName) {\n if (this._volatile) {\n return this._getter.call(obj, keyName);\n }\n var cache = getCacheFor(obj);\n\n if (cache.has(keyName)) {\n return cache.get(keyName);\n }\n\n var ret = this._getter.call(obj, keyName);\n\n cache.set(keyName, ret);\n var meta$$1 = (0, _emberMeta.meta)(obj);\n var chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.revalidate(keyName);\n }\n addDependentKeys(this, obj, keyName, meta$$1);\n return ret;\n };\n\n ComputedProperty.prototype.set = function (obj, keyName, value) {\n if (this._readOnly) {\n this._throwReadOnlyError(obj, keyName);\n }\n if (!this._setter) {\n return this.clobberSet(obj, keyName, value);\n }\n if (this._volatile) {\n return this.volatileSet(obj, keyName, value);\n }\n return this.setWithSuspend(obj, keyName, value);\n };\n\n ComputedProperty.prototype._throwReadOnlyError = function (obj, keyName) {\n throw new _error.default('Cannot set read-only property \"' + keyName + '\" on object: ' + (0, _emberUtils.inspect)(obj));\n };\n\n ComputedProperty.prototype.clobberSet = function (obj, keyName, value) {\n var cachedValue = getCachedValueFor(obj, keyName);\n defineProperty(obj, keyName, null, cachedValue);\n _set2(obj, keyName, value);\n return value;\n };\n\n ComputedProperty.prototype.volatileSet = function (obj, keyName, value) {\n return this._setter.call(obj, keyName, value);\n };\n\n ComputedProperty.prototype.setWithSuspend = function (obj, keyName, value) {\n var oldSuspended = this._suspended;\n this._suspended = obj;\n try {\n return this._set(obj, keyName, value);\n } finally {\n this._suspended = oldSuspended;\n }\n };\n\n ComputedProperty.prototype._set = function (obj, keyName, value) {\n var cache = getCacheFor(obj);\n var hadCachedValue = cache.has(keyName);\n var cachedValue = cache.get(keyName);\n var ret = this._setter.call(obj, keyName, value, cachedValue);\n // allows setter to return the same value that is cached already\n if (hadCachedValue && cachedValue === ret) {\n return ret;\n }\n var meta$$1 = (0, _emberMeta.meta)(obj);\n if (!hadCachedValue) {\n addDependentKeys(this, obj, keyName, meta$$1);\n }\n cache.set(keyName, ret);\n notifyPropertyChange(obj, keyName, meta$$1);\n\n return ret;\n };\n\n ComputedProperty.prototype.teardown = function (obj, keyName, meta$$1) {\n if (this._volatile) {\n return;\n }\n var cache = peekCacheFor(obj);\n if (cache !== undefined && cache.delete(keyName)) {\n removeDependentKeys(this, obj, keyName, meta$$1);\n }\n };\n\n return ComputedProperty;\n }(Descriptor);\n\n /**\n This helper returns a new property descriptor that wraps the passed\n computed property function. You can use this helper to define properties\n with mixins or via `defineProperty()`.\n \n If you pass a function as an argument, it will be used as a getter. A computed\n property defined in this way might look like this:\n \n ```js\n import EmberObject, { computed } from '@ember/object';\n \n let Person = EmberObject.extend({\n init() {\n this._super(...arguments);\n \n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n \n fullName: computed('firstName', 'lastName', function() {\n return `${this.get('firstName')} ${this.get('lastName')}`;\n })\n });\n \n let client = Person.create();\n \n client.get('fullName'); // 'Betty Jones'\n \n client.set('lastName', 'Fuller');\n client.get('fullName'); // 'Betty Fuller'\n ```\n \n You can pass a hash with two functions, `get` and `set`, as an\n argument to provide both a getter and setter:\n \n ```js\n import EmberObject, { computed } from '@ember/object';\n \n let Person = EmberObject.extend({\n init() {\n this._super(...arguments);\n \n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n \n fullName: computed('firstName', 'lastName', {\n get(key) {\n return `${this.get('firstName')} ${this.get('lastName')}`;\n },\n set(key, value) {\n let [firstName, lastName] = value.split(/\\s+/);\n this.setProperties({ firstName, lastName });\n return value;\n }\n })\n });\n \n let client = Person.create();\n client.get('firstName'); // 'Betty'\n \n client.set('fullName', 'Carroll Fuller');\n client.get('firstName'); // 'Carroll'\n ```\n \n The `set` function should accept two parameters, `key` and `value`. The value\n returned from `set` will be the new value of the property.\n \n _Note: This is the preferred way to define computed properties when writing third-party\n libraries that depend on or use Ember, since there is no guarantee that the user\n will have [prototype Extensions](https://guides.emberjs.com/release/configuring-ember/disabling-prototype-extensions/) enabled._\n \n The alternative syntax, with prototype extensions, might look like:\n \n ```js\n fullName: function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n }.property('firstName', 'lastName')\n ```\n \n @method computed\n @for @ember/object\n @static\n @param {String} [dependentKeys*] Optional dependent keys that trigger this computed property.\n @param {Function} func The computed property function.\n @return {ComputedProperty} property descriptor instance\n @public\n */\n function computed() {\n for (_len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n var func = args.pop(),\n _len3,\n args,\n _key3;\n var cp = new ComputedProperty(func);\n if (args.length > 0) {\n cp.property.apply(cp, args);\n }\n return cp;\n }\n // used for the Ember.computed global only\n var _globalsComputed = computed.bind(null);\n\n var CONSUMED = Object.freeze({});\n\n\n var AliasedProperty = function (_Descriptor2) {\n (0, _emberBabel.inherits)(AliasedProperty, _Descriptor2);\n\n function AliasedProperty(altKey) {\n\n var _this2 = (0, _emberBabel.possibleConstructorReturn)(this, _Descriptor2.call(this));\n\n _this2.altKey = altKey;\n _this2._dependentKeys = [altKey];\n return _this2;\n }\n\n AliasedProperty.prototype.setup = function (obj, keyName) {\n false && !(this.altKey !== keyName) && (0, _debug.assert)('Setting alias \\'' + keyName + '\\' on self', this.altKey !== keyName);\n\n var meta$$1 = (0, _emberMeta.meta)(obj);\n if (meta$$1.peekWatching(keyName) > 0) {\n this.consume(obj, keyName, meta$$1);\n }\n };\n\n AliasedProperty.prototype.teardown = function (obj, keyName, meta$$1) {\n this.unconsume(obj, keyName, meta$$1);\n };\n\n AliasedProperty.prototype.willWatch = function (obj, keyName, meta$$1) {\n this.consume(obj, keyName, meta$$1);\n };\n\n AliasedProperty.prototype.didUnwatch = function (obj, keyName, meta$$1) {\n this.unconsume(obj, keyName, meta$$1);\n };\n\n AliasedProperty.prototype.get = function (obj, keyName) {\n var ret = _get(obj, this.altKey);\n this.consume(obj, keyName, (0, _emberMeta.meta)(obj));\n return ret;\n };\n\n AliasedProperty.prototype.unconsume = function (obj, keyName, meta$$1) {\n var wasConsumed = getCachedValueFor(obj, keyName) === CONSUMED;\n if (wasConsumed || meta$$1.peekWatching(keyName) > 0) {\n removeDependentKeys(this, obj, keyName, meta$$1);\n }\n if (wasConsumed) {\n getCacheFor(obj).delete(keyName);\n }\n };\n\n AliasedProperty.prototype.consume = function (obj, keyName, meta$$1) {\n var cache = getCacheFor(obj);\n if (cache.get(keyName) !== CONSUMED) {\n cache.set(keyName, CONSUMED);\n addDependentKeys(this, obj, keyName, meta$$1);\n }\n };\n\n AliasedProperty.prototype.set = function (obj, _keyName, value) {\n return _set2(obj, this.altKey, value);\n };\n\n AliasedProperty.prototype.readOnly = function () {\n this.set = AliasedProperty_readOnlySet;\n return this;\n };\n\n AliasedProperty.prototype.oneWay = function () {\n this.set = AliasedProperty_oneWaySet;\n return this;\n };\n\n return AliasedProperty;\n }(Descriptor);\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, _emberUtils.inspect)(obj));\n }\n function AliasedProperty_oneWaySet(obj, keyName, value) {\n defineProperty(obj, keyName, null);\n return _set2(obj, keyName, value);\n }\n // Backwards compatibility with Ember Data.\n AliasedProperty.prototype._meta = undefined;\n AliasedProperty.prototype.meta = ComputedProperty.prototype.meta;\n\n /**\n @module ember\n */\n /**\n Used internally to allow changing properties in a backwards compatible way, and print a helpful\n deprecation warning.\n \n @method deprecateProperty\n @param {Object} object The object to add the deprecated property to.\n @param {String} deprecatedKey The property to add (and print deprecation warnings upon accessing).\n @param {String} newKey The property that will be aliased.\n @private\n @since 1.7.0\n */\n\n\n /**\n @module @ember/utils\n */\n /**\n Returns true if the passed value is null or undefined. This avoids errors\n from JSLint complaining about use of ==, which can be technically\n confusing.\n \n ```javascript\n isNone(); // 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 /**\n @module @ember/utils\n */\n /**\n Verifies that a value is `null` or `undefined`, an empty string, or an empty\n array.\n \n Constrains the rules on `isNone` by returning true for empty strings and\n empty arrays.\n \n If the value is an object with a `size` property of type number, it is used\n to check emptiness.\n \n ```javascript\n isEmpty(); // 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 function isEmpty(obj) {\n var none = obj === null || obj === undefined,\n size,\n length;\n if (none) {\n return none;\n }\n if (typeof obj.size === 'number') {\n return !obj.size;\n }\n var objectType = typeof obj;\n if (objectType === 'object') {\n size = _get(obj, 'size');\n\n if (typeof size === 'number') {\n return !size;\n }\n }\n if (typeof obj.length === 'number' && objectType !== 'function') {\n return !obj.length;\n }\n if (objectType === 'object') {\n length = _get(obj, 'length');\n\n if (typeof length === 'number') {\n return !length;\n }\n }\n return false;\n }\n\n /**\n @module @ember/utils\n */\n /**\n A value is blank if it is empty or a whitespace string.\n \n ```javascript\n import { isBlank } from '@ember/utils';\n \n isBlank(); // 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 function isBlank(obj) {\n return isEmpty(obj) || typeof obj === 'string' && /\\S/.test(obj) === false;\n }\n\n /**\n @module @ember/utils\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(false); // 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 /**\n @module ember\n */\n /**\n Helper class that allows you to register your library with Ember.\n \n Singleton created at `Ember.libraries`.\n \n @class Libraries\n @constructor\n @private\n */\n\n var Libraries = function () {\n function Libraries() {\n\n this._registry = [];\n this._coreLibIndex = 0;\n }\n\n Libraries.prototype._getLibraryByName = function (name) {\n var libs = this._registry,\n i;\n var count = libs.length;\n for (i = 0; i < count; i++) {\n if (libs[i].name === name) {\n return libs[i];\n }\n }\n return undefined;\n };\n\n Libraries.prototype.register = function (name, version, isCoreLibrary) {\n var index = this._registry.length;\n if (!this._getLibraryByName(name)) {\n if (isCoreLibrary) {\n index = this._coreLibIndex++;\n }\n this._registry.splice(index, 0, { name: name, version: version });\n } else {\n false && (0, _debug.warn)('Library \"' + name + '\" is already registered with Ember.', false, {\n id: 'ember-metal.libraries-register'\n });\n }\n };\n\n Libraries.prototype.registerCoreLibrary = function (name, version) {\n this.register(name, version, true);\n };\n\n Libraries.prototype.deRegister = function (name) {\n var lib = this._getLibraryByName(name);\n var index = void 0;\n if (lib) {\n index = this._registry.indexOf(lib);\n this._registry.splice(index, 1);\n }\n };\n\n return Libraries;\n }();\n\n var LIBRARIES = new Libraries();\n LIBRARIES.registerCoreLibrary('Ember', _version.default);\n\n /**\n @module @ember/object\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\n /**\n @module @ember/object\n */\n /**\n Set a list of properties on an object. These properties are set inside\n a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n observers will be buffered.\n \n ```javascript\n import EmberObject from '@ember/object';\n let anObject = EmberObject.create();\n \n anObject.setProperties({\n firstName: 'Stanley',\n lastName: 'Stuart',\n age: 21\n });\n ```\n \n @method setProperties\n @static\n @for @ember/object\n @param obj\n @param {Object} properties\n @return properties\n @public\n */\n\n\n // TODO, this only depends on context, otherwise it could be in utils\n // move into its own package\n // it is needed by Mixin for classToString\n // maybe move it into environment\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n var searchDisabled = false;\n var flags = {\n _set: 0,\n _unprocessedNamespaces: false,\n get unprocessedNamespaces() {\n return this._unprocessedNamespaces;\n },\n set unprocessedNamespaces(v) {\n this._set++;\n this._unprocessedNamespaces = v;\n }\n };\n var unprocessedMixins = false;\n var NAMESPACES = [];\n var NAMESPACES_BY_ID = Object.create(null);\n\n function removeNamespace(namespace) {\n var name = (0, _emberUtils.getName)(namespace);\n delete NAMESPACES_BY_ID[name];\n NAMESPACES.splice(NAMESPACES.indexOf(namespace), 1);\n if (name in _emberEnvironment.context.lookup && namespace === _emberEnvironment.context.lookup[name]) {\n _emberEnvironment.context.lookup[name] = undefined;\n }\n }\n function findNamespaces() {\n if (!flags.unprocessedNamespaces) {\n return;\n }\n var lookup = _emberEnvironment.context.lookup,\n i,\n key,\n obj;\n var keys = Object.keys(lookup);\n for (i = 0; i < keys.length; i++) {\n key = keys[i];\n // Only process entities that start with uppercase A-Z\n\n if (!isUppercase(key.charCodeAt(0))) {\n continue;\n }\n obj = tryIsNamespace(lookup, key);\n\n if (obj) {\n (0, _emberUtils.setName)(obj, key);\n }\n }\n }\n function findNamespace(name) {\n if (!searchDisabled) {\n processAllNamespaces();\n }\n return NAMESPACES_BY_ID[name];\n }\n function processNamespace(namespace) {\n _processNamespace([namespace.toString()], namespace, new Set());\n }\n function processAllNamespaces() {\n var unprocessedNamespaces = flags.unprocessedNamespaces,\n namespaces,\n i;\n if (unprocessedNamespaces) {\n findNamespaces();\n flags.unprocessedNamespaces = false;\n }\n if (unprocessedNamespaces || unprocessedMixins) {\n namespaces = NAMESPACES;\n\n for (i = 0; i < namespaces.length; i++) {\n processNamespace(namespaces[i]);\n }\n unprocessedMixins = false;\n }\n }\n function classToString() {\n var name = (0, _emberUtils.getName)(this);\n if (name !== void 0) {\n return name;\n }\n name = calculateToString(this);\n (0, _emberUtils.setName)(this, name);\n return name;\n }\n function isSearchDisabled() {\n return searchDisabled;\n }\n\n function setUnprocessedMixins() {\n unprocessedMixins = true;\n }\n function _processNamespace(paths, root, seen) {\n var idx = paths.length,\n obj;\n var id = paths.join('.');\n NAMESPACES_BY_ID[id] = root;\n (0, _emberUtils.setName)(root, id);\n // Loop over all of the keys in the namespace, looking for classes\n for (var key in root) {\n if (!hasOwnProperty.call(root, key)) {\n continue;\n }\n obj = root[key];\n // If we are processing the `Ember` namespace, for example, the\n // `paths` will start with `[\"Ember\"]`. Every iteration through\n // the loop will update the **second** element of this list with\n // the key, so processing `Ember.View` will make the Array\n // `['Ember', 'View']`.\n\n paths[idx] = key;\n // If we have found an unprocessed class\n if (obj && obj.toString === classToString && (0, _emberUtils.getName)(obj) === void 0) {\n // Replace the class' `toString` with the dot-separated path\n (0, _emberUtils.setName)(obj, paths.join('.'));\n // Support nested namespaces\n } else if (obj && obj.isNamespace) {\n // Skip aliased namespaces\n if (seen.has(obj)) {\n continue;\n }\n seen.add(obj);\n // Process the child namespace\n _processNamespace(paths, obj, seen);\n }\n }\n paths.length = idx; // cut out last item\n }\n function isUppercase(code) {\n return code >= 65 && code <= 90 // A\n ; // Z\n }\n function tryIsNamespace(lookup, prop) {\n var obj;\n\n try {\n obj = lookup[prop];\n\n return (obj !== null && typeof obj === 'object' || typeof obj === 'function') && obj.isNamespace && obj;\n } catch (e) {\n // continue\n }\n }\n function calculateToString(target) {\n var str = void 0,\n superclass;\n if (!searchDisabled) {\n processAllNamespaces();\n str = (0, _emberUtils.getName)(target);\n if (str !== void 0) {\n return str;\n }\n superclass = target;\n\n do {\n superclass = Object.getPrototypeOf(superclass);\n if (superclass === Function.prototype || superclass === Object.prototype) {\n break;\n }\n str = (0, _emberUtils.getName)(target);\n if (str !== void 0) {\n str = '(subclass of ' + str + ')';\n break;\n }\n } while (str === void 0);\n }\n return str || '(unknown)';\n }\n\n /**\n @module @ember/object\n */\n var a_concat = Array.prototype.concat;\n var isArray = Array.isArray;\n\n function isMethod(obj) {\n return 'function' === typeof obj && obj.isMethod !== false && obj !== Boolean && obj !== Object && obj !== Number && obj !== Array && obj !== Date && obj !== String;\n }\n var CONTINUE = {};\n function mixinProperties(mixinsMeta, mixin) {\n if (mixin instanceof Mixin) {\n if (mixinsMeta.hasMixin(mixin)) {\n return CONTINUE;\n }\n mixinsMeta.addMixin(mixin);\n return mixin.properties;\n } else {\n return mixin; // apply anonymous mixin 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 if (props[concatProp]) {\n concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n }\n return concats;\n }\n function giveDescriptorSuper(meta$$1, key, property, values, descs, base) {\n var superProperty = void 0;\n // Computed properties override methods, and do not call super to them\n if (values[key] === undefined) {\n // Find the original descriptor in a parent mixin\n superProperty = descs[key];\n }\n // If we didn't find the original descriptor in a parent mixin, find\n // it on the original object.\n if (!superProperty) {\n superProperty = (0, _emberMeta.descriptorFor)(base, key, meta$$1);\n }\n if (superProperty === undefined || !(superProperty instanceof ComputedProperty)) {\n return property;\n }\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 property = Object.create(property);\n property._getter = (0, _emberUtils.wrap)(property._getter, superProperty._getter);\n if (superProperty._setter) {\n if (property._setter) {\n property._setter = (0, _emberUtils.wrap)(property._setter, superProperty._setter);\n } else {\n property._setter = superProperty._setter;\n }\n }\n return property;\n }\n function giveMethodSuper(obj, key, method, values, descs) {\n // Methods overwrite computed properties, and do not call super to them.\n if (descs[key] !== undefined) {\n return method;\n }\n // Find the original method in a parent mixin\n var superMethod = values[key];\n // If we didn't find the original value in a parent mixin, find it in\n // the original object\n if (superMethod === undefined && (0, _emberMeta.descriptorFor)(obj, key) === undefined) {\n superMethod = obj[key];\n }\n // Only wrap the new method if the original method was a function\n if (typeof superMethod === 'function') {\n return (0, _emberUtils.wrap)(method, superMethod);\n }\n return method;\n }\n function applyConcatenatedProperties(obj, key, value, values) {\n var baseValue = values[key] || obj[key];\n var ret = (0, _emberUtils.makeArray)(baseValue).concat((0, _emberUtils.makeArray)(value));\n\n return ret;\n }\n function applyMergedProperties(obj, key, value, values) {\n var baseValue = values[key] || obj[key],\n propValue;\n false && !!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 var newBase = (0, _polyfills.assign)({}, baseValue);\n var hasFunction = false;\n for (var prop in value) {\n if (!value.hasOwnProperty(prop)) {\n continue;\n }\n propValue = value[prop];\n\n if (isMethod(propValue)) {\n // TODO: support for Computed Properties, etc?\n hasFunction = true;\n newBase[prop] = giveMethodSuper(obj, prop, propValue, baseValue, {});\n } else {\n newBase[prop] = propValue;\n }\n }\n if (hasFunction) {\n newBase._super = _emberUtils.ROOT;\n }\n return newBase;\n }\n function addNormalizedProperty(base, key, value, meta$$1, descs, values, concats, mergings) {\n if (value instanceof Descriptor) {\n // Wrap descriptor function to implement\n // _super() if needed\n if (value._getter) {\n value = giveDescriptorSuper(meta$$1, key, value, values, descs, base);\n }\n descs[key] = value;\n values[key] = undefined;\n } else {\n if (concats && concats.indexOf(key) >= 0 || key === 'concatenatedProperties' || key === 'mergedProperties') {\n value = applyConcatenatedProperties(base, key, value, values);\n } else if (mergings && mergings.indexOf(key) > -1) {\n value = applyMergedProperties(base, key, value, values);\n } else if (isMethod(value)) {\n value = giveMethodSuper(base, key, value, values, descs);\n }\n descs[key] = undefined;\n values[key] = value;\n }\n }\n function mergeMixins(mixins, meta$$1, descs, values, base, keys) {\n var currentMixin = void 0,\n props = void 0,\n key = void 0,\n concats = void 0,\n mergings = void 0,\n i;\n function removeKeys(keyName) {\n delete descs[keyName];\n delete values[keyName];\n }\n for (i = 0; i < mixins.length; i++) {\n currentMixin = mixins[i];\n false && !(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 props = mixinProperties(meta$$1, currentMixin);\n if (props === CONTINUE) {\n continue;\n }\n if (props) {\n // remove willMergeMixin after 3.4 as it was used for _actions\n if (base.willMergeMixin) {\n base.willMergeMixin(props);\n }\n concats = concatenatedMixinProperties('concatenatedProperties', props, values, base);\n mergings = concatenatedMixinProperties('mergedProperties', props, values, base);\n for (key in props) {\n if (!props.hasOwnProperty(key)) {\n continue;\n }\n keys.push(key);\n addNormalizedProperty(base, key, props[key], meta$$1, descs, values, concats, mergings);\n }\n // manually copy toString() because some JS engines do not enumerate it\n if (props.hasOwnProperty('toString')) {\n base.toString = props.toString;\n }\n } else if (currentMixin.mixins) {\n mergeMixins(currentMixin.mixins, meta$$1, descs, values, base, keys);\n if (currentMixin._without) {\n currentMixin._without.forEach(removeKeys);\n }\n }\n }\n }\n function followAlias(obj, desc, descs, values) {\n var altKey = desc.methodName;\n var value = void 0;\n var possibleDesc = void 0;\n if (descs[altKey] || values[altKey]) {\n value = values[altKey];\n desc = descs[altKey];\n } else if ((possibleDesc = (0, _emberMeta.descriptorFor)(obj, altKey)) !== undefined) {\n desc = possibleDesc;\n value = undefined;\n } else {\n desc = undefined;\n value = obj[altKey];\n }\n return { desc: desc, value: value };\n }\n function updateObserversAndListeners(obj, key, paths, updateMethod) {\n var i;\n\n if (paths) {\n for (i = 0; i < paths.length; i++) {\n updateMethod(obj, paths[i], null, key);\n }\n }\n }\n function replaceObserversAndListeners(obj, key, prev, next) {\n if (typeof prev === 'function') {\n updateObserversAndListeners(obj, key, (0, _emberUtils.getObservers)(prev), removeObserver);\n updateObserversAndListeners(obj, key, (0, _emberUtils.getListeners)(prev), removeListener);\n }\n if (typeof next === 'function') {\n updateObserversAndListeners(obj, key, (0, _emberUtils.getObservers)(next), addObserver);\n updateObserversAndListeners(obj, key, (0, _emberUtils.getListeners)(next), addListener);\n }\n }\n function applyMixin(obj, mixins, partial) {\n var descs = {},\n i,\n followed;\n var values = {};\n var meta$$1 = (0, _emberMeta.meta)(obj);\n var keys = [];\n var key = void 0,\n value = void 0,\n desc = void 0;\n obj._super = _emberUtils.ROOT;\n // Go through all mixins and hashes passed in, and:\n //\n // * Handle concatenated properties\n // * Handle merged properties\n // * Set up _super wrapping if necessary\n // * Set up computed property descriptors\n // * Copying `toString` in broken browsers\n mergeMixins(mixins, meta$$1, descs, values, obj, keys);\n for (i = 0; i < keys.length; i++) {\n key = keys[i];\n if (key === 'constructor' || !values.hasOwnProperty(key)) {\n continue;\n }\n desc = descs[key];\n value = values[key];\n while (desc && desc instanceof Alias) {\n followed = followAlias(obj, desc, descs, values);\n\n desc = followed.desc;\n value = followed.value;\n }\n if (desc === undefined && value === undefined) {\n continue;\n }\n if ((0, _emberMeta.descriptorFor)(obj, key) !== undefined) {\n replaceObserversAndListeners(obj, key, null, value);\n } else {\n replaceObserversAndListeners(obj, key, obj[key], value);\n }\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT && typeof Mixin.detectBinding === 'function' && Mixin.detectBinding(key)) {\n meta$$1.writeBindings(key, value);\n }\n defineProperty(obj, key, desc, value, meta$$1);\n }\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT && !partial && typeof Mixin.finishPartial === 'function') {\n Mixin.finishPartial(obj, meta$$1);\n }\n return obj;\n }\n /**\n @method mixin\n @param obj\n @param mixins*\n @return obj\n @private\n */\n\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 var Mixin = function () {\n function Mixin(mixins, properties) {\n\n this.properties = properties;\n this.mixins = buildMixinsArray(mixins);\n this.ownerConstructor = undefined;\n this._without = undefined;\n }\n /**\n @method create\n @for @ember/object/mixin\n @static\n @param arguments*\n @public\n */\n\n Mixin.create = function () {\n // ES6TODO: this relies on a global state?\n setUnprocessedMixins();\n var M = this,\n _len5,\n args,\n _key5;\n\n for (_len5 = arguments.length, args = Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {\n args[_key5] = arguments[_key5];\n }\n\n return new M(args, undefined);\n };\n\n Mixin.mixins = function (obj) {\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n var ret = [];\n if (meta$$1 === undefined) {\n return ret;\n }\n meta$$1.forEachMixins(function (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 Mixin.prototype.reopen = function () {\n var _len6, args, _key6, currentMixin;\n\n for (_len6 = arguments.length, args = Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {\n args[_key6] = arguments[_key6];\n }\n\n if (args.length === 0) {\n return;\n }\n if (this.properties) {\n currentMixin = new Mixin(undefined, this.properties);\n\n this.properties = undefined;\n this.mixins = [currentMixin];\n } else if (!this.mixins) {\n this.mixins = [];\n }\n this.mixins = this.mixins.concat(buildMixinsArray(args));\n return this;\n };\n\n Mixin.prototype.apply = function (obj) {\n return applyMixin(obj, [this], false);\n };\n\n Mixin.prototype.applyPartial = function (obj) {\n return applyMixin(obj, [this], true);\n };\n\n Mixin.prototype.detect = function (obj) {\n if (typeof obj !== 'object' || obj === null) {\n return false;\n }\n if (obj instanceof Mixin) {\n return _detect(obj, this);\n }\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n if (meta$$1 === undefined) {\n return false;\n }\n return meta$$1.hasMixin(this);\n };\n\n Mixin.prototype.without = function () {\n var ret = new Mixin([this]),\n _len7,\n args,\n _key7;\n\n for (_len7 = arguments.length, args = Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {\n args[_key7] = arguments[_key7];\n }\n\n ret._without = args;\n return ret;\n };\n\n Mixin.prototype.keys = function () {\n return _keys(this);\n };\n\n Mixin.prototype.toString = function () {\n return '(unknown mixin)';\n };\n\n return Mixin;\n }();\n\n function buildMixinsArray(mixins) {\n var length = mixins && mixins.length || 0,\n i,\n x;\n var m = undefined;\n if (length > 0) {\n m = new Array(length);\n for (i = 0; i < length; i++) {\n x = mixins[i];\n\n false && !(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 (x instanceof Mixin) {\n m[i] = x;\n } else {\n m[i] = new Mixin(undefined, x);\n }\n }\n }\n return m;\n }\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT) {\n // slotting this so that the legacy addon can add the function here\n // without triggering an error due to the Object.seal done below\n Mixin.finishPartial = null;\n Mixin.detectBinding = null;\n }\n Mixin.prototype.toString = classToString;\n\n function _detect(curMixin, targetMixin) {\n var seen = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new Set();\n\n if (seen.has(curMixin)) {\n return false;\n }\n seen.add(curMixin);\n if (curMixin === targetMixin) {\n return true;\n }\n var mixins = curMixin.mixins;\n if (mixins) {\n return mixins.some(function (mixin) {\n return _detect(mixin, targetMixin, seen);\n });\n }\n return false;\n }\n function _keys(mixin) {\n var ret = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : new Set(),\n props,\n i;\n var seen = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : new Set();\n\n if (seen.has(mixin)) {\n return;\n }\n seen.add(mixin);\n if (mixin.properties) {\n props = Object.keys(mixin.properties);\n\n for (i = 0; i < props.length; i++) {\n ret.add(props[i]);\n }\n } else if (mixin.mixins) {\n mixin.mixins.forEach(function (x) {\n return _keys(x, ret, seen);\n });\n }\n return ret;\n }\n\n var Alias = function (_Descriptor3) {\n (0, _emberBabel.inherits)(Alias, _Descriptor3);\n\n function Alias(methodName) {\n\n var _this3 = (0, _emberBabel.possibleConstructorReturn)(this, _Descriptor3.call(this));\n\n _this3.methodName = methodName;\n return _this3;\n }\n\n Alias.prototype.teardown = function () {\n throw new Error('Method not implemented.');\n };\n\n Alias.prototype.get = function () {\n throw new Error('Method not implemented.');\n };\n\n Alias.prototype.set = function () {\n throw new Error('Method not implemented.');\n };\n\n return Alias;\n }(Descriptor);\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 @for @ember/object\n @param {String} methodName name of the method to alias\n @public\n */\n\n // ..........................................................\n // OBSERVER HELPER\n //\n /**\n Specify a method that observes property changes.\n \n ```javascript\n import EmberObject from '@ember/object';\n import { observer } from '@ember/object';\n \n export default EmberObject.extend({\n valueObserver: observer('value', function() {\n // Executes whenever the \"value\" property changes\n })\n });\n ```\n \n Also available as `Function.prototype.observes` if prototype extensions are\n enabled.\n \n @method observer\n @for @ember/object\n @param {String} propertyNames*\n @param {Function} func\n @return func\n @public\n @static\n */\n\n\n /**\n @module ember\n @private\n */\n /**\n Read-only property that returns the result of a container lookup.\n \n @class InjectedProperty\n @namespace Ember\n @constructor\n @param {String} type The container type the property will lookup\n @param {String} name (optional) The name the property will lookup, defaults\n to the property's name\n @private\n */\n\n var InjectedProperty = function (_ComputedProperty) {\n (0, _emberBabel.inherits)(InjectedProperty, _ComputedProperty);\n\n function InjectedProperty(type, name) {\n\n var _this4 = (0, _emberBabel.possibleConstructorReturn)(this, _ComputedProperty.call(this, injectedPropertyGet));\n\n _this4.type = type;\n _this4.name = name;\n\n return _this4;\n }\n\n return InjectedProperty;\n }(ComputedProperty);\n\n function injectedPropertyGet(keyName) {\n var desc = (0, _emberMeta.descriptorFor)(this, keyName);\n var owner = (0, _emberOwner.getOwner)(this) || this.container; // fallback to `container` for backwards compat\n false && !(desc && desc.type) && (0, _debug.assert)('InjectedProperties should be defined with the inject computed property macros.', desc && desc.type);\n false && !!!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.', !!owner);\n\n var specifier = desc.type + ':' + (desc.name || keyName);\n return owner.lookup(specifier, {\n source: desc.source,\n namespace: desc.namespace\n });\n }\n\n /**\n A wrapper for a native ES5 descriptor. In an ideal world, we wouldn't need\n this at all, however, the way we currently flatten/merge our mixins require\n a special value to denote a descriptor.\n \n @class Descriptor\n @private\n */\n\n var Descriptor$1 = function (_Descriptor4) {\n (0, _emberBabel.inherits)(Descriptor$1, _Descriptor4);\n\n function Descriptor$1(desc) {\n\n var _this5 = (0, _emberBabel.possibleConstructorReturn)(this, _Descriptor4.call(this));\n\n _this5.desc = desc;\n _this5.enumerable = desc.enumerable !== false;\n return _this5;\n }\n\n Descriptor$1.prototype.setup = function (obj, key) {\n Object.defineProperty(obj, key, this.desc);\n };\n\n Descriptor$1.prototype.get = function (obj, key) {\n return obj[key];\n };\n\n Descriptor$1.prototype.set = function (obj, key, value) {\n return obj[key] = value;\n };\n\n return Descriptor$1;\n }(Descriptor);\n\n exports.computed = computed;\n exports.ComputedProperty = ComputedProperty;\n exports._globalsComputed = _globalsComputed;\n exports.getCacheFor = getCacheFor;\n exports.getCachedValueFor = getCachedValueFor;\n exports.peekCacheFor = peekCacheFor;\n exports.alias = function (altKey) {\n return new AliasedProperty(altKey);\n };\n exports.deprecateProperty = function (object, deprecatedKey, newKey, options) {\n function _deprecate() {\n false && !false && (0, _debug.deprecate)('Usage of `' + deprecatedKey + '` is deprecated, use `' + newKey + '` instead.', false, options);\n }\n Object.defineProperty(object, deprecatedKey, {\n configurable: true,\n enumerable: false,\n set: function (value) {\n _deprecate();\n _set2(this, newKey, value);\n },\n get: function () {\n _deprecate();\n return _get(this, newKey);\n }\n });\n };\n exports.PROXY_CONTENT = PROXY_CONTENT;\n exports._getPath = _getPath;\n exports.get = _get;\n exports.getWithDefault = function (root, key, defaultValue) {\n var value = _get(root, key);\n if (value === undefined) {\n return defaultValue;\n }\n return value;\n };\n exports.set = _set2;\n exports.trySet = function (root, path, value) {\n return _set2(root, path, value, true);\n };\n exports.objectAt = objectAt;\n exports.replace = function (array, start, deleteCount) {\n var items = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : EMPTY_ARRAY;\n\n if (Array.isArray(array)) {\n replaceInNativeArray(array, start, deleteCount, items);\n } else {\n array.replace(start, deleteCount, items);\n }\n };\n exports.replaceInNativeArray = replaceInNativeArray;\n exports.addArrayObserver = function (array, target, opts) {\n return arrayObserversHelper(array, target, opts, addListener, false);\n };\n exports.removeArrayObserver = function (array, target, opts) {\n return arrayObserversHelper(array, target, opts, removeListener, true);\n };\n exports.arrayContentWillChange = arrayContentWillChange;\n exports.arrayContentDidChange = arrayContentDidChange;\n exports.eachProxyFor = eachProxyFor;\n exports.eachProxyArrayWillChange = eachProxyArrayWillChange;\n exports.eachProxyArrayDidChange = eachProxyArrayDidChange;\n exports.addListener = addListener;\n exports.hasListeners = function (obj, eventName) {\n var meta$$1 = (0, _emberMeta.peekMeta)(obj);\n if (meta$$1 === undefined) {\n return false;\n }\n var matched = meta$$1.matchingListeners(eventName);\n return matched !== undefined && matched.length > 0;\n };\n exports.on = function () {\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n var func = args.pop(),\n _len,\n args,\n _key;\n var events = args;\n false && !(typeof func === 'function') && (0, _debug.assert)('on expects function as last argument', typeof func === 'function');\n false && !(events.length > 0 && events.every(function (p) {\n return typeof p === 'string' && p.length > 0;\n })) && (0, _debug.assert)('on called without valid event names', events.length > 0 && events.every(function (p) {\n return typeof p === 'string' && p.length > 0;\n }));\n\n (0, _emberUtils.setListeners)(func, events);\n return func;\n };\n exports.removeListener = removeListener;\n exports.sendEvent = sendEvent;\n exports.isNone = function (obj) {\n return obj === null || obj === undefined;\n };\n exports.isEmpty = isEmpty;\n exports.isBlank = isBlank;\n exports.isPresent = function (obj) {\n return !isBlank(obj);\n };\n exports.beginPropertyChanges = beginPropertyChanges;\n exports.changeProperties = changeProperties;\n exports.endPropertyChanges = endPropertyChanges;\n exports.notifyPropertyChange = notifyPropertyChange;\n exports.overrideChains = overrideChains;\n exports.propertyDidChange = propertyDidChange;\n exports.propertyWillChange = propertyWillChange;\n exports.PROPERTY_DID_CHANGE = PROPERTY_DID_CHANGE$1;\n exports.defineProperty = defineProperty;\n exports.Descriptor = Descriptor;\n exports.watchKey = watchKey;\n exports.unwatchKey = unwatchKey;\n exports.ChainNode = ChainNode;\n exports.finishChains = function (meta$$1) {\n // finish any current chains node watchers that reference obj\n var chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.revalidateAll();\n }\n // ensure that if we have inherited any chains they have been\n // copied onto our own meta.\n if (meta$$1.readableChains() !== undefined) {\n meta$$1.writableChains(makeChainNode);\n }\n };\n exports.removeChainWatcher = removeChainWatcher;\n exports.watchPath = watchPath;\n exports.unwatchPath = unwatchPath;\n exports.isWatching = function (obj, key) {\n return watcherCount(obj, key) > 0;\n };\n exports.unwatch = unwatch;\n exports.watch = watch;\n exports.watcherCount = watcherCount;\n exports.libraries = LIBRARIES;\n exports.Libraries = Libraries;\n exports.getProperties = function (obj) {\n var ret = {};\n var propertyNames = arguments;\n var i = 1;\n if (arguments.length === 2 && Array.isArray(arguments[1])) {\n i = 0;\n propertyNames = arguments[1];\n }\n for (; i < propertyNames.length; i++) {\n ret[propertyNames[i]] = _get(obj, propertyNames[i]);\n }\n return ret;\n };\n exports.setProperties = function (obj, properties) {\n if (properties === null || typeof properties !== 'object') {\n return properties;\n }\n changeProperties(function () {\n var props = Object.keys(properties),\n i;\n var propertyName = void 0;\n for (i = 0; i < props.length; i++) {\n propertyName = props[i];\n _set2(obj, propertyName, properties[propertyName]);\n }\n });\n return properties;\n };\n exports.expandProperties = expandProperties;\n exports.addObserver = addObserver;\n exports.removeObserver = removeObserver;\n exports.Mixin = Mixin;\n exports.aliasMethod = function (methodName) {\n return new Alias(methodName);\n };\n exports.mixin = function (obj) {\n var _len4, args, _key4;\n\n for (_len4 = arguments.length, args = Array(_len4 > 1 ? _len4 - 1 : 0), _key4 = 1; _key4 < _len4; _key4++) {\n args[_key4 - 1] = arguments[_key4];\n }\n\n applyMixin(obj, args, false);\n return obj;\n };\n exports.observer = function () {\n for (_len8 = arguments.length, args = Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {\n args[_key8] = arguments[_key8];\n }\n\n var func = args.pop(),\n _len8,\n args,\n _key8,\n i;\n var _paths = args;\n false && !(typeof func === 'function') && (0, _debug.assert)('observer called without a function', typeof func === 'function');\n false && !(_paths.length > 0 && _paths.every(function (p) {\n return typeof p === 'string' && !!p.length;\n })) && (0, _debug.assert)('observer called without valid path', _paths.length > 0 && _paths.every(function (p) {\n return typeof p === 'string' && !!p.length;\n }));\n\n var paths = [];\n var addWatchedProperty = function (path) {\n return paths.push(path);\n };\n for (i = 0; i < _paths.length; ++i) {\n expandProperties(_paths[i], addWatchedProperty);\n }\n (0, _emberUtils.setObservers)(func, paths);\n return func;\n };\n exports.applyMixin = applyMixin;\n exports.InjectedProperty = InjectedProperty;\n exports.setHasViews = function (fn) {\n hasViews = fn;\n };\n exports.tagForProperty = tagForProperty;\n exports.tagFor = tagFor;\n exports.markObjectAsDirty = markObjectAsDirty;\n exports.runInTransaction = runInTransaction;\n exports.didRender = void 0;\n exports.assertNotRendered = void 0;\n exports.descriptor = function (desc) {\n return new Descriptor$1(desc);\n };\n exports.tracked = tracked;\n exports.NAMESPACES = NAMESPACES;\n exports.NAMESPACES_BY_ID = NAMESPACES_BY_ID;\n exports.addNamespace = function (namespace) {\n flags.unprocessedNamespaces = true;\n NAMESPACES.push(namespace);\n };\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 = function (flag) {\n searchDisabled = !!flag;\n };\n});","enifed('ember-owner/index', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n 'use strict';\n\n exports.OWNER = undefined;\n exports.getOwner =\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 attribute:\n \n ```app/components/play-audio.js\n import Component from '@ember/component';\n import { computed } from '@ember/object';\n import { getOwner } from '@ember/application';\n \n // Usage:\n //\n // {{play-audio audioType=model.audioType audioFile=model.file}}\n //\n export default Component.extend({\n audioService: computed('audioType', function() {\n let owner = getOwner(this);\n return owner.lookup(`service:${this.get('audioType')}`);\n }),\n \n click() {\n let player = this.get('audioService');\n player.play(this.get('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 @module @ember/application\n */\n function (object) {\n return object[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 exports.setOwner = function (object, owner) {\n object[OWNER] = owner;\n };\n var OWNER = exports.OWNER = (0, _emberUtils.symbol)('OWNER');\n});","enifed('ember-routing/index', ['exports', 'ember-routing/lib/location/api', 'ember-routing/lib/location/none_location', 'ember-routing/lib/location/hash_location', 'ember-routing/lib/location/history_location', 'ember-routing/lib/location/auto_location', 'ember-routing/lib/system/generate_controller', 'ember-routing/lib/system/controller_for', 'ember-routing/lib/system/dsl', 'ember-routing/lib/system/router', 'ember-routing/lib/system/route', 'ember-routing/lib/system/query_params', 'ember-routing/lib/services/routing', 'ember-routing/lib/services/router', 'ember-routing/lib/system/cache', 'ember-routing/lib/ext/controller'], function (exports, _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 exports.BucketCache = exports.RouterService = exports.RoutingService = exports.QueryParams = exports.Route = exports.Router = exports.RouterDSL = exports.controllerFor = exports.generateControllerFactory = exports.generateController = exports.AutoLocation = exports.HistoryLocation = exports.HashLocation = exports.NoneLocation = exports.Location = undefined;\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});","enifed('ember-routing/lib/ext/controller', ['exports', 'ember-metal', '@ember/controller/lib/controller_mixin', 'ember-routing/lib/utils'], function (exports, _emberMetal, _controller_mixin, _utils) {\n 'use strict';\n\n /**\n @module ember\n */\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 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, _qpChanged: function (controller, _prop) {\n var prop = _prop.substr(0, _prop.length - 3);\n\n var delegate = controller._qpDelegate;\n var value = (0, _emberMetal.get)(controller, prop);\n delegate(prop, value);\n },\n transitionToRoute: function () {\n // target may be either another controller or a router\n var target = (0, _emberMetal.get)(this, 'target'),\n _len,\n args,\n _key;\n var method = target.transitionToRoute || target.transitionTo;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n },\n replaceRoute: function () {\n // target may be either another controller or a router\n var target = (0, _emberMetal.get)(this, 'target'),\n _len2,\n args,\n _key2;\n var method = target.replaceRoute || target.replaceWith;\n\n for (_len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n }\n });\n\n exports.default = _controller_mixin.default;\n});","enifed('ember-routing/lib/location/api', ['exports', '@ember/debug', 'ember-browser-environment', 'ember-routing/lib/location/util'], function (exports, _debug, _emberBrowserEnvironment, _util) {\n 'use strict';\n\n exports.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: function (options) {\n var implementation = options && options.implementation;\n false && !!!implementation && (0, _debug.assert)(\"Location.create: you must specify a 'implementation' option\", !!implementation);\n\n var implementationClass = this.implementations[implementation];\n false && !!!implementationClass && (0, _debug.assert)('Location.create: ' + implementation + ' is not a valid implementation', !!implementationClass);\n\n return implementationClass.create.apply(implementationClass, arguments);\n },\n\n implementations: {},\n _location: _emberBrowserEnvironment.location,\n\n /**\n Returns the current `location.hash` by parsing location.href since browsers\n inconsistently URL-decode `location.hash`.\n https://bugzilla.mozilla.org/show_bug.cgi?id=483304\n @private\n @method getHash\n @since 1.4.0\n */\n _getHash: function () {\n return (0, _util.getHash)(this.location);\n }\n };\n});","enifed('ember-routing/lib/location/auto_location', ['exports', 'ember-owner', 'ember-utils', 'ember-metal', '@ember/debug', 'ember-runtime', 'ember-browser-environment', 'ember-routing/lib/location/util'], function (exports, _emberOwner, _emberUtils, _emberMetal, _debug, _emberRuntime, _emberBrowserEnvironment, _util) {\n 'use strict';\n\n exports.getHistoryPath = getHistoryPath;\n exports.getHashPath = getHashPath;\n exports.default = _emberRuntime.Object.extend({\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: _emberBrowserEnvironment.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: _emberBrowserEnvironment.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: _emberBrowserEnvironment.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: _emberBrowserEnvironment.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 @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\n /**\n Called by the router to instruct the location to do any feature detection\n necessary. In the case of AutoLocation, we detect whether to use history\n or hash concrete implementations.\n @private\n */\n detect: function () {\n var rootURL = this.rootURL;\n\n false && !(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 var implementation = detectImplementation({\n location: this.location,\n history: this.history,\n userAgent: this.userAgent,\n rootURL: rootURL,\n documentMode: this.documentMode,\n global: this.global\n });\n\n if (implementation === false) {\n (0, _emberMetal.set)(this, 'cancelRouterSetup', true);\n implementation = 'none';\n }\n\n var concrete = (0, _emberOwner.getOwner)(this).lookup('location:' + implementation);\n (0, _emberMetal.set)(concrete, 'rootURL', rootURL);\n\n false && !!!concrete && (0, _debug.assert)('Could not find location \\'' + implementation + '\\'.', !!concrete);\n\n (0, _emberMetal.set)(this, 'concreteImplementation', concrete);\n },\n\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 willDestroy: function () {\n var concreteImplementation = (0, _emberMetal.get)(this, 'concreteImplementation');\n\n if (concreteImplementation) {\n concreteImplementation.destroy();\n }\n }\n });\n\n function delegateToConcreteImplementation(methodName) {\n return function () {\n var concreteImplementation = (0, _emberMetal.get)(this, 'concreteImplementation'),\n _len,\n args,\n _key;\n false && !!!concreteImplementation && (0, _debug.assert)(\"AutoLocation's detect() method should be called before calling any other hooks.\", !!concreteImplementation);\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return (0, _emberUtils.tryInvoke)(concreteImplementation, methodName, args);\n };\n }\n\n /*\n Given the browser's `location`, `history` and `userAgent`, and a configured\n root URL, this function detects whether the browser supports the [History\n API](https://developer.mozilla.org/en-US/docs/Web/API/History) and returns a\n string representing the Location object to use based on its determination.\n \n For example, if the page loads in an evergreen browser, this function would\n return the string \"history\", meaning the history API and thus HistoryLocation\n should be used. If the page is loaded in IE8, it will return the string\n \"hash,\" indicating that the History API should be simulated by manipulating the\n hash portion of the location.\n \n */\n\n function detectImplementation(options) {\n var location = options.location,\n userAgent = options.userAgent,\n history = options.history,\n documentMode = options.documentMode,\n global = options.global,\n rootURL = options.rootURL,\n historyPath,\n hashPath;\n\n var implementation = 'none';\n var cancelRouterSetup = false;\n var currentPath = (0, _util.getFullPath)(location);\n\n if ((0, _util.supportsHistory)(userAgent, history)) {\n historyPath = getHistoryPath(rootURL, location);\n\n // 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({ path: historyPath }, null, 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 hashPath = getHashPath(rootURL, location);\n\n // Be sure we're using a hashed path, otherwise let's switch over it to so\n // we start off clean and consistent. We'll count an index path with no\n // hash as \"good enough\" as well.\n\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 /**\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 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 = void 0,\n hashParts = void 0;\n\n false && !(rootURLIndex === 0) && (0, _debug.assert)('Path ' + path + ' does not start with the provided rootURL ' + rootURL, rootURLIndex === 0);\n\n // By convention, Ember.js routes using HashLocation are required to start\n // with `#/`. Anything else should NOT be considered a route and should\n // be passed straight through, without transformation.\n if (hash.substr(0, 2) === '#/') {\n // There could be extra hash segments after the route\n hashParts = hash.substr(1).split('#');\n // The first one is always the route url\n routeHash = hashParts.shift();\n\n // If the path already has a trailing slash, remove the one\n // from the hashed route so we don't double up.\n if (path.charAt(path.length - 1) === '/') {\n routeHash = routeHash.substr(1);\n }\n\n // This is the \"expected\" final order\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 /**\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 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});","enifed('ember-routing/lib/location/hash_location', ['exports', '@ember/runloop', 'ember-metal', 'ember-runtime', 'ember-routing/lib/location/api'], function (exports, _runloop, _emberMetal, _emberRuntime, _api) {\n 'use strict';\n\n exports.default = _emberRuntime.Object.extend({\n implementation: 'hash',\n\n init: function () {\n (0, _emberMetal.set)(this, 'location', (0, _emberMetal.get)(this, '_location') || window.location);\n\n this._hashchangeHandler = undefined;\n },\n\n /**\n @private\n Returns normalized location.hash\n @since 1.5.1\n @method getHash\n */\n getHash: _api.default._getHash,\n\n /**\n Returns the normalized URL, constructed from `location.hash`.\n e.g. `#/foo` => `/foo` as well as `#/foo#bar` => `/foo#bar`.\n By convention, hashed paths must begin with a forward slash, otherwise they\n are not treated as a path so we can distinguish intent.\n @private\n @method getURL\n */\n getURL: function () {\n var originalPath = this.getHash().substr(1);\n var outPath = originalPath;\n\n if (outPath[0] !== '/') {\n outPath = '/';\n\n // Only add the # if the path isn't empty.\n // We do NOT want `/#` since the ampersand\n // is only included (conventionally) when\n // the location.hash has a value\n if (originalPath) {\n outPath += '#' + originalPath;\n }\n }\n\n return outPath;\n },\n\n /**\n Set the `location.hash` and remembers what was set. This prevents\n `onUpdateURL` callbacks from triggering when the hash was set by\n `HashLocation`.\n @private\n @method setURL\n @param path {String}\n */\n setURL: function (path) {\n (0, _emberMetal.get)(this, 'location').hash = path;\n (0, _emberMetal.set)(this, 'lastSetURL', path);\n },\n\n /**\n Uses location.replace to update the url without a page reload\n or history modification.\n @private\n @method replaceURL\n @param path {String}\n */\n replaceURL: function (path) {\n (0, _emberMetal.get)(this, 'location').replace('#' + path);\n (0, _emberMetal.set)(this, 'lastSetURL', path);\n },\n\n /**\n Register a callback to be invoked when the hash changes. These\n callbacks will execute when the user presses the back or forward\n button, but not after `setURL` is invoked.\n @private\n @method onUpdateURL\n @param callback {Function}\n */\n onUpdateURL: function (callback) {\n this._removeEventListener();\n\n this._hashchangeHandler = (0, _runloop.bind)(this, function () {\n var path = this.getURL();\n if ((0, _emberMetal.get)(this, 'lastSetURL') === path) {\n return;\n }\n\n (0, _emberMetal.set)(this, 'lastSetURL', null);\n\n callback(path);\n });\n\n window.addEventListener('hashchange', this._hashchangeHandler);\n },\n\n /**\n Given a URL, formats it to be placed into the page as part\n of an element's `href` attribute.\n This is used, for example, when using the {{action}} helper\n to generate a URL based on an event.\n @private\n @method formatURL\n @param url {String}\n */\n formatURL: function (url) {\n return '#' + url;\n },\n\n /**\n Cleans up the HashLocation event listener.\n @private\n @method willDestroy\n */\n willDestroy: function () {\n this._removeEventListener();\n },\n _removeEventListener: function () {\n if (this._hashchangeHandler) {\n window.removeEventListener('hashchange', this._hashchangeHandler);\n }\n }\n });\n});","enifed('ember-routing/lib/location/history_location', ['exports', 'ember-metal', 'ember-runtime', 'ember-routing/lib/location/api'], function (exports, _emberMetal, _emberRuntime, _api) {\n 'use strict';\n\n /**\n @module @ember/routing\n */\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 /**\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 exports.default = _emberRuntime.Object.extend({\n implementation: 'history',\n\n init: function () {\n this._super.apply(this, arguments);\n\n var base = document.querySelector('base');\n var baseURL = '';\n if (base) {\n baseURL = base.getAttribute('href');\n }\n\n (0, _emberMetal.set)(this, 'baseURL', baseURL);\n (0, _emberMetal.set)(this, 'location', (0, _emberMetal.get)(this, 'location') || window.location);\n\n this._popstateHandler = undefined;\n },\n\n /**\n Used to set state on first call to setURL\n @private\n @method initState\n */\n initState: function () {\n var history = (0, _emberMetal.get)(this, 'history') || window.history;\n (0, _emberMetal.set)(this, 'history', history);\n\n if (history && 'state' in history) {\n this.supportsHistory = true;\n }\n\n var state = this.getState();\n var path = this.formatURL(this.getURL());\n if (state && state.path === path) {\n // preserve existing state\n // used for webkit workaround, since there will be no initial popstate event\n this._previousURL = this.getURL();\n } else {\n this.replaceState(path);\n }\n },\n\n /**\n Will be pre-pended to path upon state change\n @property rootURL\n @default '/'\n @private\n */\n rootURL: '/',\n\n /**\n Returns the current `location.pathname` without `rootURL` or `baseURL`\n @private\n @method getURL\n @return url {String}\n */\n getURL: function () {\n var location = (0, _emberMetal.get)(this, 'location');\n var path = location.pathname;\n\n var rootURL = (0, _emberMetal.get)(this, 'rootURL');\n var baseURL = (0, _emberMetal.get)(this, 'baseURL');\n\n // remove trailing slashes if they exists\n rootURL = rootURL.replace(/\\/$/, '');\n baseURL = baseURL.replace(/\\/$/, '');\n\n // remove baseURL and rootURL from start of path\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\n return url;\n },\n\n /**\n Uses `history.pushState` to update the url without a page reload.\n @private\n @method setURL\n @param path {String}\n */\n setURL: function (path) {\n var state = this.getState();\n path = this.formatURL(path);\n\n if (!state || state.path !== path) {\n this.pushState(path);\n }\n },\n\n /**\n Uses `history.replaceState` to update the url without a page reload\n or history modification.\n @private\n @method replaceURL\n @param path {String}\n */\n replaceURL: function (path) {\n var state = this.getState();\n path = this.formatURL(path);\n\n if (!state || state.path !== path) {\n this.replaceState(path);\n }\n },\n\n /**\n Get the current `history.state`. Checks for if a polyfill is\n required and if so fetches this._historyState. The state returned\n from getState may be null if an iframe has changed a window's\n history.\n The object returned will contain a `path` for the given state as well\n as a unique state `id`. The state index will allow the app to distinguish\n between two states with similar paths but should be unique from one another.\n @private\n @method getState\n @return state {Object}\n */\n getState: function () {\n if (this.supportsHistory) {\n return (0, _emberMetal.get)(this, 'history').state;\n }\n\n return this._historyState;\n },\n\n /**\n Pushes a new state.\n @private\n @method pushState\n @param path {String}\n */\n pushState: function (path) {\n var state = { path: path, uuid: _uuid() };\n\n (0, _emberMetal.get)(this, 'history').pushState(state, null, path);\n\n this._historyState = state;\n\n // used for webkit workaround\n this._previousURL = this.getURL();\n },\n\n /**\n Replaces the current state.\n @private\n @method replaceState\n @param path {String}\n */\n replaceState: function (path) {\n var state = { path: path, uuid: _uuid() };\n\n (0, _emberMetal.get)(this, 'history').replaceState(state, null, path);\n\n this._historyState = state;\n\n // used for webkit workaround\n this._previousURL = this.getURL();\n },\n\n /**\n Register a callback to be invoked whenever the browser\n history changes, including using forward and back buttons.\n @private\n @method onUpdateURL\n @param callback {Function}\n */\n onUpdateURL: function (callback) {\n var _this = this;\n\n this._removeEventListener();\n\n this._popstateHandler = function () {\n // Ignore initial page load popstate event in Chrome\n if (!popstateFired) {\n popstateFired = true;\n if (_this.getURL() === _this._previousURL) {\n return;\n }\n }\n callback(_this.getURL());\n };\n\n window.addEventListener('popstate', this._popstateHandler);\n },\n\n /**\n Used when using `{{action}}` helper. The url is always appended to the rootURL.\n @private\n @method formatURL\n @param url {String}\n @return formatted url {String}\n */\n formatURL: function (url) {\n var rootURL = (0, _emberMetal.get)(this, 'rootURL');\n var baseURL = (0, _emberMetal.get)(this, 'baseURL');\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 /**\n Cleans up the HistoryLocation event listener.\n @private\n @method willDestroy\n */\n willDestroy: function () {\n this._removeEventListener();\n },\n\n /**\n @private\n Returns normalized location.hash\n @method getHash\n */\n getHash: _api.default._getHash,\n\n _removeEventListener: function () {\n if (this._popstateHandler) {\n window.removeEventListener('popstate', this._popstateHandler);\n }\n }\n });\n});","enifed('ember-routing/lib/location/none_location', ['exports', 'ember-metal', '@ember/debug', 'ember-runtime'], function (exports, _emberMetal, _debug, _emberRuntime) {\n 'use strict';\n\n exports.default = _emberRuntime.Object.extend({\n implementation: 'none',\n path: '',\n\n detect: function () {\n var rootURL = this.rootURL;\n\n false && !(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 /**\n Will be pre-pended to path.\n @private\n @property rootURL\n @default '/'\n */\n rootURL: '/',\n\n /**\n Returns the current path without `rootURL`.\n @private\n @method getURL\n @return {String} path\n */\n getURL: function () {\n var path = (0, _emberMetal.get)(this, 'path');\n var rootURL = (0, _emberMetal.get)(this, 'rootURL');\n\n // remove trailing slashes if they exists\n rootURL = rootURL.replace(/\\/$/, '');\n\n // remove rootURL from url\n return path.replace(new RegExp('^' + rootURL + '(?=/|$)'), '');\n },\n\n /**\n Set the path and remembers what was set. Using this method\n to change the path will not invoke the `updateURL` callback.\n @private\n @method setURL\n @param path {String}\n */\n setURL: function (path) {\n (0, _emberMetal.set)(this, 'path', path);\n },\n\n /**\n Register a callback to be invoked when the path changes. These\n callbacks will execute when the user presses the back or forward\n button, but not after `setURL` is invoked.\n @private\n @method onUpdateURL\n @param callback {Function}\n */\n onUpdateURL: function (callback) {\n this.updateCallback = callback;\n },\n\n /**\n Sets the path and calls the `updateURL` callback.\n @private\n @method handleURL\n @param url {String}\n */\n handleURL: function (url) {\n (0, _emberMetal.set)(this, 'path', url);\n this.updateCallback(url);\n },\n\n /**\n Given a URL, formats it to be placed into the page as part\n of an element's `href` attribute.\n This is used, for example, when using the {{action}} helper\n to generate a URL based on an event.\n @private\n @method formatURL\n @param url {String}\n @return {String} url\n */\n formatURL: function (url) {\n var rootURL = (0, _emberMetal.get)(this, 'rootURL');\n\n if (url !== '') {\n // remove trailing slashes if they exists\n rootURL = rootURL.replace(/\\/$/, '');\n }\n\n return rootURL + url;\n }\n });\n});","enifed('ember-routing/lib/location/util', ['exports'], function (exports) {\n 'use strict';\n\n exports.getPath = getPath;\n exports.getQuery = getQuery;\n exports.getHash = getHash;\n exports.getFullPath = function (location) {\n return getPath(location) + getQuery(location) + getHash(location);\n };\n exports.getOrigin = getOrigin;\n exports.supportsHashChange = supportsHashChange;\n exports.supportsHistory = supportsHistory;\n exports.replacePath =\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 function (location, path) {\n location.replace(getOrigin(location) + path);\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;\n // Various versions of IE/Opera don't always return a leading slash\n if (pathname[0] !== '/') {\n pathname = '/' + pathname;\n }\n\n return pathname;\n }\n\n /**\n @private\n \n Returns the current `location.search`.\n */\n function getQuery(location) {\n return location.search;\n }\n\n /**\n @private\n \n Returns the current `location.hash` by parsing location.href since browsers\n inconsistently URL-decode `location.hash`.\n \n Should be passed the browser's `location` object as the first argument.\n \n https://bugzilla.mozilla.org/show_bug.cgi?id=483304\n */\n function getHash(location) {\n var href = location.href;\n var hashIndex = href.indexOf('#');\n\n if (hashIndex === -1) {\n return '';\n } else {\n return href.substr(hashIndex);\n }\n }\n\n function getOrigin(location) {\n var origin = location.origin;\n\n // Older browsers, especially IE, don't have origin\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 /*\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 function supportsHashChange(documentMode, global) {\n return 'onhashchange' in global && (documentMode === undefined || documentMode > 7);\n }\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 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\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 !!(history && 'pushState' in history);\n }\n});","enifed('ember-routing/lib/services/router', ['exports', '@ember/service', '@ember/object/computed', 'ember-routing/lib/utils'], function (exports, _service, _computed, _utils) {\n 'use strict';\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 ```javascript\n import Component from '@ember/component';\n import { inject as service } from '@ember/service';\n \n export default Component.extend({\n router: service(),\n \n actions: {\n next() {\n this.get('router').transitionTo('other.route');\n }\n }\n });\n ```\n \n Like any service, it can also be injected into helpers, routes, etc.\n \n @public\n @class RouterService\n @category ember-routing-router-service\n */\n\n var RouterService = _service.default.extend({\n /**\n Name of the current route.\n This property represent 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 represent 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 determines the type of URL's that your\n application will use.\n The following location types are currently available:\n * `auto`\n * `hash`\n * `history`\n * `none`\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 _router: null,\n\n transitionTo: function () {\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if ((0, _utils.resemblesURL)(args[0])) {\n return this._router._doURLTransition('transitionTo', args[0]);\n }\n\n var _extractRouteArgs = (0, _utils.extractRouteArgs)(args),\n routeName = _extractRouteArgs.routeName,\n models = _extractRouteArgs.models,\n queryParams = _extractRouteArgs.queryParams,\n _len,\n args,\n _key;\n\n var transition = this._router._doTransition(routeName, models, queryParams, true);\n transition._keepDefaultQueryParamValues = true;\n\n return transition;\n },\n replaceWith: function () /* routeNameOrUrl, ...models, options */{\n return this.transitionTo.apply(this, arguments).method('replace');\n },\n urlFor: function () /* routeName, ...models, options */{\n var _router;\n\n return (_router = this._router).generate.apply(_router, arguments);\n },\n isActive: function () {\n for (_len2 = arguments.length, args = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n args[_key2] = arguments[_key2];\n }\n\n var _extractRouteArgs2 = (0, _utils.extractRouteArgs)(args),\n routeName = _extractRouteArgs2.routeName,\n models = _extractRouteArgs2.models,\n queryParams = _extractRouteArgs2.queryParams,\n _len2,\n args,\n _key2;\n\n var routerMicrolib = this._router._routerMicrolib;\n\n if (!routerMicrolib.isActiveIntent(routeName, models, null)) {\n return false;\n }\n var hasQueryParams = Object.keys(queryParams).length > 0;\n\n if (hasQueryParams) {\n this._router._prepareQueryParams(routeName, models, queryParams, true /* fromRouterService */\n );\n return (0, _utils.shallowEqual)(queryParams, routerMicrolib.state.queryParams);\n }\n\n return true;\n }\n });\n\n exports.default = RouterService;\n});","enifed('ember-routing/lib/services/routing', ['exports', '@ember/polyfills', '@ember/service', '@ember/object/computed', 'ember-metal'], function (exports, _polyfills, _service, _computed, _emberMetal) {\n 'use strict';\n\n exports.default = _service.default.extend({\n router: null,\n\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 hasRoute: function (routeName) {\n return (0, _emberMetal.get)(this, 'router').hasRoute(routeName);\n },\n transitionTo: function (routeName, models, queryParams, shouldReplace) {\n var router = (0, _emberMetal.get)(this, 'router');\n\n var transition = router._doTransition(routeName, models, queryParams);\n\n if (shouldReplace) {\n transition.method('replace');\n }\n\n return transition;\n },\n normalizeQueryParams: function (routeName, models, queryParams) {\n (0, _emberMetal.get)(this, 'router')._prepareQueryParams(routeName, models, queryParams);\n },\n generateURL: function (routeName, models, queryParams) {\n var router = (0, _emberMetal.get)(this, 'router');\n // return early when the router microlib is not present, which is the case for {{link-to}} in integration tests\n if (!router._routerMicrolib) {\n return;\n }\n\n var visibleQueryParams = {};\n if (queryParams) {\n (0, _polyfills.assign)(visibleQueryParams, queryParams);\n this.normalizeQueryParams(routeName, models, visibleQueryParams);\n }\n\n return router.generate.apply(router, [routeName].concat(models, [{\n queryParams: visibleQueryParams\n }]));\n },\n isActiveForRoute: function (contexts, queryParams, routeName, routerState, isCurrentWhenSpecified) {\n var router = (0, _emberMetal.get)(this, 'router');\n\n var handlers = router._routerMicrolib.recognizer.handlersFor(routeName);\n var leafName = handlers[handlers.length - 1].handler;\n var maximumContexts = numberOfContextsAcceptedByHandler(routeName, handlers);\n\n // NOTE: any ugliness in the calculation of activeness is largely\n // due to the fact that we support automatic normalizing of\n // `resource` -> `resource.index`, even though there might be\n // dynamic segments / query params defined on `resource.index`\n // which complicates (and makes somewhat ambiguous) the calculation\n // of activeness for links that link to `resource` instead of\n // directly to `resource.index`.\n\n // if we don't have enough contexts revert back to full route name\n // this is because the leaf route will use one of the contexts\n if (contexts.length > maximumContexts) {\n routeName = leafName;\n }\n\n return routerState.isActiveIntent(routeName, contexts, queryParams, !isCurrentWhenSpecified);\n }\n });\n\n function numberOfContextsAcceptedByHandler(handler, handlerInfos) {\n var req = 0,\n i;\n for (i = 0; i < handlerInfos.length; i++) {\n req += handlerInfos[i].names.length;\n if (handlerInfos[i].handler === handler) {\n break;\n }\n }\n\n return req;\n }\n});","enifed(\"ember-routing/lib/system/cache\", [\"exports\"], function (exports) {\n \"use strict\";\n\n var BucketCache = function () {\n function BucketCache() {\n\n this.cache = new Map();\n }\n\n BucketCache.prototype.has = function (bucketKey) {\n return this.cache.has(bucketKey);\n };\n\n BucketCache.prototype.stash = function (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 BucketCache.prototype.lookup = function (bucketKey, prop, defaultValue) {\n if (!this.has(bucketKey)) {\n return defaultValue;\n }\n\n var bucket = this.cache.get(bucketKey);\n if (bucket.has(prop)) {\n return bucket.get(prop);\n } else {\n return defaultValue;\n }\n };\n\n return BucketCache;\n }();\n\n exports.default = BucketCache;\n});","enifed(\"ember-routing/lib/system/controller_for\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default =\n /**\n @module ember\n */\n\n /**\n Finds a controller instance.\n \n @for Ember\n @method controllerFor\n @private\n */\n function (container, controllerName, lookupOptions) {\n return container.lookup(\"controller:\" + controllerName, lookupOptions);\n };\n});","enifed('ember-routing/lib/system/dsl', ['exports', '@ember/polyfills', '@ember/debug'], function (exports, _polyfills, _debug) {\n 'use strict';\n\n var uuid = 0;\n\n var DSL = function () {\n function DSL(name, options) {\n\n this.parent = name;\n this.enableLoadingSubstates = options && options.enableLoadingSubstates;\n this.matches = [];\n this.explicitIndex = undefined;\n this.options = options;\n }\n\n DSL.prototype.route = function (name) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n fullName,\n dsl;\n var callback = arguments[2];\n\n var dummyErrorRoute = '/_unused_dummy_error_path_route_' + name + '/:error';\n if (arguments.length === 2 && typeof options === 'function') {\n callback = options;\n options = {};\n }\n\n false && !function () {\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.', function () {\n if (options.overrideNameAssertion === true) {\n return true;\n }return ['basic', 'application'].indexOf(name) === -1;\n }());\n false && !(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 fullName = getFullName(this, name, options.resetNamespace);\n dsl = new DSL(fullName, this.options);\n\n\n createRoute(dsl, 'loading');\n createRoute(dsl, 'error', { path: dummyErrorRoute });\n\n callback.call(dsl);\n\n createRoute(this, name, options, dsl.generate());\n } else {\n createRoute(this, name, options);\n }\n };\n\n DSL.prototype.push = function (url, name, callback, serialize) {\n var parts = name.split('.'),\n localFullName,\n routeInfo;\n\n if (this.options.engineInfo) {\n localFullName = name.slice(this.options.engineInfo.fullName.length + 1);\n routeInfo = (0, _polyfills.assign)({ localFullName: localFullName }, this.options.engineInfo);\n\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 DSL.prototype.generate = function () {\n var dslMatches = this.matches;\n\n if (!this.explicitIndex) {\n this.route('index', { path: '/' });\n }\n\n return function (match) {\n var i;\n\n for (i = 0; i < dslMatches.length; i += 3) {\n match(dslMatches[i]).to(dslMatches[i + 1], dslMatches[i + 2]);\n }\n };\n };\n\n DSL.prototype.mount = function (_name) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {},\n shouldResetEngineInfo,\n oldEngineInfo,\n optionsForChild,\n childDSL,\n substateName,\n _localFullName,\n _routeInfo;\n\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\n var engineInfo = {\n name: _name,\n instanceId: uuid++,\n mountPoint: fullName,\n fullName: fullName\n };\n\n var path = options.path;\n\n if (typeof path !== 'string') {\n path = '/' + name;\n }\n\n var callback = void 0;\n var dummyErrorRoute = '/_unused_dummy_error_path_route_' + name + '/:error';\n if (engineRouteMap) {\n shouldResetEngineInfo = false;\n oldEngineInfo = this.options.engineInfo;\n\n if (oldEngineInfo) {\n shouldResetEngineInfo = true;\n this.options.engineInfo = engineInfo;\n }\n\n optionsForChild = (0, _polyfills.assign)({ engineInfo: engineInfo }, this.options);\n childDSL = new DSL(fullName, optionsForChild);\n\n\n createRoute(childDSL, 'loading');\n createRoute(childDSL, 'error', { path: dummyErrorRoute });\n\n engineRouteMap.class.call(childDSL);\n\n callback = childDSL.generate();\n\n if (shouldResetEngineInfo) {\n this.options.engineInfo = oldEngineInfo;\n }\n }\n\n var routeInfo = (0, _polyfills.assign)({ localFullName: 'application' }, 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 substateName = name + '_loading';\n _localFullName = 'application_loading';\n _routeInfo = (0, _polyfills.assign)({ localFullName: _localFullName }, engineInfo);\n\n createRoute(this, substateName, {\n resetNamespace: options.resetNamespace\n });\n this.options.addRouteForEngine(substateName, _routeInfo);\n\n substateName = name + '_error';\n _localFullName = 'application_error';\n _routeInfo = (0, _polyfills.assign)({ localFullName: _localFullName }, 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\n this.push(path, fullName, callback);\n };\n\n return DSL;\n }();\n\n exports.default = DSL;\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) {\n var options = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : {};\n var callback = arguments[3];\n\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\n DSL.map = function (callback) {\n var dsl = new DSL();\n callback.call(dsl);\n return dsl;\n };\n});","enifed('ember-routing/lib/system/generate_controller', ['exports', 'ember-metal', '@ember/debug'], function (exports) {\n 'use strict';\n\n exports.generateControllerFactory = generateControllerFactory;\n exports.default =\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 function (owner, controllerName) {\n generateControllerFactory(owner, controllerName);\n\n var instance = owner.lookup('controller:' + controllerName);\n\n return instance;\n };\n\n /**\n @module ember\n */\n\n /**\n Generates a controller factory\n \n @for Ember\n @method generateControllerFactory\n @private\n */\n\n function generateControllerFactory(owner, controllerName) {\n var Factory = owner.factoryFor('controller:basic').class;\n\n Factory = Factory.extend({\n toString: function () {\n return '(generated ' + controllerName + ' controller)';\n }\n });\n\n owner.register('controller:' + controllerName, Factory);\n\n return Factory;\n }\n});","enifed(\"ember-routing/lib/system/query_params\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default = function () {\n var values = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n\n\n this.values = values;\n this.isQueryParams = true;\n };\n});","enifed('ember-routing/lib/system/route', ['exports', '@ember/polyfills', '@ember/deprecated-features', 'ember-owner', '@ember/runloop', 'ember-metal', '@ember/debug', '@ember/string', 'ember-runtime', 'ember-routing/lib/system/generate_controller', 'ember-routing/lib/utils'], function (exports, _polyfills, _deprecatedFeatures, _emberOwner, _runloop, _emberMetal, _debug, _string, _emberRuntime, _generate_controller, _utils) {\n 'use strict';\n\n exports.defaultSerialize = defaultSerialize;\n exports.hasDefaultSerialize = function (route) {\n return route.serialize === defaultSerialize;\n }\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 function K() {\n return this;\n }\n\n function defaultSerialize(model, params) {\n if (params.length < 1 || !model) {\n return;\n }\n\n var object = {},\n name;\n if (params.length === 1) {\n name = params[0];\n\n\n if (name in model) {\n object[name] = (0, _emberMetal.get)(model, name);\n } else if (/_id$/.test(name)) {\n object[name] = (0, _emberMetal.get)(model, 'id');\n }\n } else {\n object = (0, _emberMetal.getProperties)(model, params);\n }\n\n return object;\n }\n\n var Route = _emberRuntime.Object.extend(_emberRuntime.ActionHandler, _emberRuntime.Evented, {\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 router: _deprecatedFeatures.ROUTER_ROUTER ? (0, _emberMetal.computed)('_router', function () {\n false && !false && (0, _debug.deprecate)('Route#router is an intimate API that has been renamed to Route#_router. However you might want to consider using the router service', false, {\n id: 'ember-routing.route-router',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_ember-routing-route-router'\n });\n\n return this._router;\n }) : undefined,\n\n _setRouteName: function (name) {\n this.routeName = name;\n this.fullRouteName = getEngineRouteName((0, _emberOwner.getOwner)(this), name);\n },\n\n /**\n @private\n @property _qp\n */\n _qp: (0, _emberMetal.computed)(function () {\n var _this = this,\n controllerDefinedQueryParameterConfiguration,\n normalizedControllerQueryParameterConfiguration,\n desc,\n scope,\n parts,\n urlKey,\n defaultValue,\n type,\n defaultValueSerialized,\n scopedPropertyName,\n qp;\n\n var combinedQueryParameterConfiguration = void 0;\n\n var controllerName = this.controllerName || this.routeName;\n var owner = (0, _emberOwner.getOwner)(this);\n var controller = owner.lookup('controller:' + controllerName);\n var queryParameterConfiguraton = (0, _emberMetal.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\n controllerDefinedQueryParameterConfiguration = (0, _emberMetal.get)(controller, 'queryParams') || {};\n normalizedControllerQueryParameterConfiguration = (0, _utils.normalizeControllerQueryParams)(controllerDefinedQueryParameterConfiguration);\n\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 (!combinedQueryParameterConfiguration.hasOwnProperty(propName)) {\n continue;\n }\n\n // to support the dubious feature of using unknownProperty\n // on queryParams configuration\n if (propName === 'unknownProperty' || propName === '_super') {\n // possible todo: issue deprecation warning?\n continue;\n }\n\n desc = combinedQueryParameterConfiguration[propName];\n scope = desc.scope || 'model';\n parts = void 0;\n\n\n if (scope === 'controller') {\n parts = [];\n }\n\n urlKey = desc.as || this.serializeQueryParamKey(propName);\n defaultValue = (0, _emberMetal.get)(controller, propName);\n\n\n if (Array.isArray(defaultValue)) {\n defaultValue = (0, _emberRuntime.A)(defaultValue.slice());\n }\n\n type = desc.type || (0, _emberRuntime.typeOf)(defaultValue);\n defaultValueSerialized = this.serializeQueryParam(defaultValue, urlKey, type);\n scopedPropertyName = controllerName + ':' + propName;\n qp = {\n undecoratedDefaultValue: (0, _emberMetal.get)(controller, propName),\n defaultValue: defaultValue,\n serializedDefaultValue: defaultValueSerialized,\n serializedValue: defaultValueSerialized,\n\n type: type,\n urlKey: urlKey,\n prop: propName,\n scopedPropertyName: scopedPropertyName,\n controllerName: controllerName,\n route: this,\n parts: parts, // provided later when stashNames is called if 'model' scope\n values: null, // provided later when setup is called. no idea why.\n scope: scope\n };\n\n\n map[propName] = map[urlKey] = map[scopedPropertyName] = qp;\n qps.push(qp);\n propertyNames.push(propName);\n }\n\n return {\n qps: qps,\n map: map,\n propertyNames: 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: function (prop, value) {\n var qp = map[prop];\n _this._qpChanged(prop, value, qp);\n },\n /*\n Called when a query parameter changes in the URL, this route cares\n about that query parameter, and the route is currently\n in the active route hierarchy.\n */\n active: function (prop, value) {\n var qp = map[prop];\n _this._qpChanged(prop, value, qp);\n return _this._activeQPChanged(qp, value);\n },\n /*\n Called when a value of a query parameter this route handles changes in a controller\n and the route is currently in the active route hierarchy.\n */\n allowOverrides: function (prop, value) {\n var qp = map[prop];\n _this._qpChanged(prop, value, qp);\n return _this._updatingQPChanged(qp);\n }\n }\n };\n }),\n\n /**\n @private\n @property _names\n */\n _names: null,\n\n _stashNames: function (handlerInfo, dynamicParent) {\n if (this._names) {\n return;\n }\n var names = this._names = handlerInfo._names,\n a,\n i,\n qp;\n\n if (!names.length) {\n handlerInfo = dynamicParent;\n names = handlerInfo && handlerInfo._names || [];\n }\n\n var qps = (0, _emberMetal.get)(this, '_qp.qps');\n\n var namePaths = new Array(names.length);\n for (a = 0; a < names.length; ++a) {\n namePaths[a] = handlerInfo.name + '.' + names[a];\n }\n\n for (i = 0; i < qps.length; ++i) {\n qp = qps[i];\n\n if (qp.scope === 'model') {\n qp.parts = namePaths;\n }\n }\n },\n _activeQPChanged: function (qp, value) {\n this._router._activeQPChanged(qp.scopedPropertyName, value);\n },\n _updatingQPChanged: function (qp) {\n this._router._updatingQPChanged(qp.urlKey);\n },\n\n mergedProperties: ['queryParams'],\n\n paramsFor: function (name) {\n var _this2 = this;\n\n var route = (0, _emberOwner.getOwner)(this).lookup('route:' + name);\n\n if (!route) {\n return {};\n }\n\n var transition = this._router._routerMicrolib.activeTransition;\n var state = transition ? transition.state : this._router._routerMicrolib.state;\n\n var fullName = route.fullRouteName;\n var params = (0, _polyfills.assign)({}, state.params[fullName]);\n var queryParams = getQueryParamsFor(route, state);\n\n return Object.keys(queryParams).reduce(function (params, key) {\n false && !!params[key] && (0, _debug.assert)('The route \\'' + _this2.routeName + '\\' has both a dynamic segment and query param with name \\'' + key + '\\'. Please rename one to avoid collisions.', !params[key]);\n\n params[key] = queryParams[key];\n return params;\n }, params);\n },\n serializeQueryParamKey: function (controllerPropertyName) {\n return controllerPropertyName;\n },\n serializeQueryParam: function (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 deserializeQueryParam: function (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 _optionsForQueryParam: function (qp) {\n return (0, _emberMetal.get)(this, 'queryParams.' + qp.urlKey) || (0, _emberMetal.get)(this, 'queryParams.' + qp.prop) || {};\n },\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 Route.extend({\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n controller.set('page', 1);\n }\n }\n });\n ```\n @method resetController\n @param {Controller} controller instance\n @param {Boolean} isExiting\n @param {Object} transition\n @since 1.7.0\n @public\n */\n resetController: K,\n\n exit: function () {\n this.deactivate();\n this.trigger('deactivate');\n this.teardownViews();\n },\n _reset: function (isExiting, transition) {\n var controller = this.controller;\n controller._qpDelegate = (0, _emberMetal.get)(this, '_qp.states.inactive');\n\n this.resetController(controller, isExiting, transition);\n },\n enter: function () {\n this.connections = [];\n this.activate();\n this.trigger('activate');\n },\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 Route.extend({\n templateName: 'posts/list'\n });\n ```\n ```app/routes/posts/index.js\n import PostsList from '../posts/list';\n export default PostsList.extend();\n ```\n ```app/routes/posts/archived.js\n import PostsList from '../posts/list';\n export default PostsList.extend();\n ```\n @property templateName\n @type String\n @default null\n @since 1.4.0\n @public\n */\n templateName: 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 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 export default Route.extend({\n actions: {\n willTransition(transition) {\n if (this.controller.get('userHasEnteredData')) {\n this.controller.displayNavigationConfirm();\n transition.abort();\n }\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 export default Route.extend({\n actions: {\n didTransition() {\n this.controller.get('errors.base').clear();\n return true; // Bubble the didTransition event\n }\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 export default Route.extend({\n actions: {\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 ```\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 export default Route.extend({\n beforeModel() {\n return reject('bad things!');\n },\n actions: {\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 ```\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 export default Route.extend({\n actions: {\n error(error, transition) {\n this.controllerFor('banner').displayError(error.message);\n }\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 The controller associated with this route.\n Example\n ```app/routes/form.js\n import Route from '@ember/routing/route';\n export default Route.extend({\n actions: {\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 ```\n @property controller\n @type Controller\n @since 1.6.0\n @public\n */\n\n actions: {\n queryParamsDidChange: function (changed, totalPresent, removed) {\n var qpMap = (0, _emberMetal.get)(this, '_qp').map,\n i,\n qp;\n\n var totalChanged = Object.keys(changed).concat(Object.keys(removed));\n for (i = 0; i < totalChanged.length; ++i) {\n qp = qpMap[totalChanged[i]];\n\n if (qp && (0, _emberMetal.get)(this._optionsForQueryParam(qp), 'refreshModel') && this._router.currentState) {\n this.refresh();\n break;\n }\n }\n\n return true;\n },\n finalizeQueryParamChange: function (params, finalParams, transition) {\n if (this.fullRouteName !== 'application') {\n return true;\n }\n\n // Transition object is absent for intermediate transitions.\n if (!transition) {\n return;\n }\n\n var handlerInfos = transition.state.handlerInfos,\n i,\n qp,\n route,\n controller,\n presentKey,\n value,\n svalue,\n thisQueryParamChanged,\n options,\n replaceConfigValue,\n thisQueryParamHasDefaultValue;\n var router = this._router;\n var qpMeta = router._queryParamsFor(handlerInfos);\n var changes = router._qpUpdates;\n var replaceUrl = void 0;\n\n (0, _utils.stashParamNames)(router, handlerInfos);\n\n for (i = 0; i < qpMeta.qps.length; ++i) {\n qp = qpMeta.qps[i];\n route = qp.route;\n controller = route.controller;\n presentKey = qp.urlKey in params && qp.urlKey;\n\n // Do a reverse lookup to see if the changed query\n // param URL key corresponds to a QP property on\n // this controller.\n\n value = void 0, svalue = void 0;\n\n if (changes && qp.urlKey in changes) {\n // Value updated in/before setupController\n value = (0, _emberMetal.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, _emberMetal.get)(route, '_qp.states.inactive');\n\n thisQueryParamChanged = svalue !== qp.serializedValue;\n\n if (thisQueryParamChanged) {\n if (transition.queryParamsOnly && replaceUrl !== false) {\n options = route._optionsForQueryParam(qp);\n replaceConfigValue = (0, _emberMetal.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, _emberMetal.set)(controller, qp.prop, value);\n }\n\n // Stash current serialized value of controller.\n qp.serializedValue = svalue;\n\n 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 }\n\n if (replaceUrl) {\n transition.method('replace');\n }\n\n qpMeta.qps.forEach(function (qp) {\n var routeQpMeta = (0, _emberMetal.get)(qp.route, '_qp');\n var finalizedController = qp.route.controller;\n finalizedController._qpDelegate = (0, _emberMetal.get)(routeQpMeta, 'states.active');\n });\n\n router._qpUpdates = null;\n }\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 deactivate: K,\n\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 activate: K,\n\n transitionTo: function () /* name, context */{\n var _router;\n\n // eslint-disable-line no-unused-vars\n return (_router = this._router).transitionTo.apply(_router, (0, _utils.prefixRouteNameArg)(this, arguments));\n },\n intermediateTransitionTo: function () {\n var _router2;\n\n (_router2 = this._router).intermediateTransitionTo.apply(_router2, (0, _utils.prefixRouteNameArg)(this, arguments));\n },\n refresh: function () {\n return this._router._routerMicrolib.refresh(this);\n },\n replaceWith: function () {\n var _router3;\n\n return (_router3 = this._router).replaceWith.apply(_router3, (0, _utils.prefixRouteNameArg)(this, arguments));\n },\n send: function () {\n var _len, args, _key, _router4, name, action;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n false && !(!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\n (_router4 = this._router).send.apply(_router4, args);\n } else {\n name = args.shift();\n action = this.actions[name];\n\n if (action) {\n return action.apply(this, args);\n }\n }\n },\n setup: function (context, transition) {\n var controller = void 0,\n propNames,\n cache,\n params,\n allParams,\n qpValues;\n\n var controllerName = this.controllerName || this.routeName;\n var definedController = this.controllerFor(controllerName, true);\n\n if (definedController) {\n controller = definedController;\n } else {\n controller = this.generateController(controllerName);\n }\n\n // Assign the route's controller so that it can more easily be\n // referenced in action handlers. Side effects. Side effects everywhere.\n if (!this.controller) {\n propNames = (0, _emberMetal.get)(this, '_qp.propertyNames');\n\n addQueryParamsObservers(controller, propNames);\n this.controller = controller;\n }\n\n var queryParams = (0, _emberMetal.get)(this, '_qp');\n\n var states = queryParams.states;\n\n controller._qpDelegate = states.allowOverrides;\n\n if (transition) {\n // Update the model dep values used to calculate cache keys.\n (0, _utils.stashParamNames)(this._router, transition.state.handlerInfos);\n\n cache = this._bucketCache;\n params = transition.params;\n allParams = queryParams.propertyNames;\n\n\n allParams.forEach(function (prop) {\n var aQp = queryParams.map[prop];\n aQp.values = params;\n\n var cacheKey = (0, _utils.calculateCacheKey)(aQp.route.fullRouteName, aQp.parts, aQp.values);\n var value = cache.lookup(cacheKey, prop, aQp.undecoratedDefaultValue);\n (0, _emberMetal.set)(controller, prop, value);\n });\n\n qpValues = getQueryParamsFor(this, transition.state);\n\n (0, _emberMetal.setProperties)(controller, qpValues);\n }\n\n this.setupController(controller, context, transition);\n\n if (this._environment.options.shouldRender) {\n this.renderTemplate(controller, context);\n }\n },\n _qpChanged: function (prop, value, qp) {\n if (!qp) {\n return;\n }\n\n // Update model-dep cache\n var cache = this._bucketCache;\n var cacheKey = (0, _utils.calculateCacheKey)(qp.route.fullRouteName, qp.parts, qp.values);\n cache.stash(cacheKey, prop, value);\n },\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 beforeModel: K,\n\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 Route.extend({\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 afterModel: K,\n\n /**\n A hook you can implement to optionally redirect to another route.\n If you call `this.transitionTo` from inside of this hook, this route\n will not be entered in favor of the other hook.\n `redirect` and `afterModel` behave very similarly and are\n called almost at the same time, but they have an important\n distinction in the case that, from one of these hooks, a\n redirect into a child route of this route occurs: redirects\n from `afterModel` essentially invalidate the current attempt\n to enter this route, and will result in this route's `beforeModel`,\n `model`, and `afterModel` hooks being fired again within\n the new, redirecting transition. Redirects that occur within\n the `redirect` hook, on the other hand, will _not_ cause\n these hooks to be fired again the second time around; in\n other words, by the time the `redirect` hook has been called,\n both the resolved model and attempted entry into this route\n are considered to be fully validated.\n @method redirect\n @param {Object} model the model for this route\n @param {Transition} transition the transition object associated with the current transition\n @since 1.0.0\n @public\n */\n redirect: K,\n\n contextDidChange: function () {\n this.currentModel = this.context;\n },\n model: function (params, transition) {\n var name = void 0,\n sawParams = void 0,\n value = void 0,\n match;\n var queryParams = (0, _emberMetal.get)(this, '_qp.map');\n\n for (var prop in params) {\n if (prop === 'queryParams' || queryParams && prop in queryParams) {\n continue;\n }\n\n match = prop.match(/^(.*)_id$/);\n\n if (match !== null) {\n name = match[1];\n value = params[prop];\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 return transition.state.handlerInfos[transition.resolveIndex - 1].context;\n }\n }\n\n return this.findModel(name, value);\n },\n deserialize: function (params, transition) {\n return this.model(this.paramsFor(this.routeName), transition);\n },\n findModel: function () {\n var _get;\n\n return (_get = (0, _emberMetal.get)(this, 'store')).find.apply(_get, arguments);\n },\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 @method store\n @param {Object} store\n @private\n */\n store: (0, _emberMetal.computed)(function () {\n var owner = (0, _emberOwner.getOwner)(this);\n var routeName = this.routeName;\n var namespace = (0, _emberMetal.get)(this, '_router.namespace');\n\n return {\n find: function (name, value) {\n var modelClass = owner.factoryFor('model:' + name);\n\n false && !!!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.', !!modelClass);\n\n if (!modelClass) {\n return;\n }\n\n modelClass = modelClass.class;\n\n false && !(typeof modelClass.find === 'function') && (0, _debug.assert)((0, _string.classify)(name) + ' has no method `find`.', typeof modelClass.find === 'function');\n\n return modelClass.find(value);\n }\n };\n }),\n\n /**\n A hook you can implement to convert the route's model into parameters\n for the URL.\n ```app/router.js\n // ...\n Router.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n });\n ```\n ```app/routes/post.js\n import $ from 'jquery';\n import Route from '@ember/routing/route';\n export default Route.extend({\n model(params) {\n // the server returns `{ id: 12 }`\n return $.getJSON('/posts/' + params.post_id);\n },\n serialize(model) {\n // this will make the URL `/posts/12`\n return { post_id: model.id };\n }\n });\n ```\n The default `serialize` method will insert the model's `id` into the\n route's dynamic segment (in this case, `:post_id`) if the segment contains '_id'.\n If the route has multiple dynamic segments or does not contain '_id', `serialize`\n will return `getProperties(model, params)`\n This method is called when `transitionTo` is called with a context\n in order to populate the URL.\n @method serialize\n @param {Object} model the routes model\n @param {Array} params an Array of parameter names for the current\n route (in the example, `['post_id']`.\n @return {Object} the serialized parameters\n @since 1.0.0\n @public\n */\n serialize: defaultSerialize,\n\n setupController: function (controller, context /*, transition */) {\n // eslint-disable-line no-unused-vars\n if (controller && context !== undefined) {\n (0, _emberMetal.set)(controller, 'model', context);\n }\n },\n controllerFor: function (name, _skipAssert) {\n var owner = (0, _emberOwner.getOwner)(this);\n var route = owner.lookup('route:' + name);\n var controller = void 0;\n\n if (route && route.controllerName) {\n name = route.controllerName;\n }\n\n controller = owner.lookup('controller:' + name);\n\n // NOTE: We're specifically checking that skipAssert is true, because according\n // to the old API the second parameter was model. We do not want people who\n // passed a model to skip the assertion.\n false && !(controller || _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 || _skipAssert === true);\n\n return controller;\n },\n generateController: function (name) {\n var owner = (0, _emberOwner.getOwner)(this);\n\n return (0, _generate_controller.default)(owner, name);\n },\n modelFor: function (_name) {\n var name = void 0,\n modelLookupName;\n var owner = (0, _emberOwner.getOwner)(this);\n var transition = this._router && this._router._routerMicrolib ? this._router._routerMicrolib.activeTransition : null;\n\n // Only change the route name when there is an active transition.\n // Otherwise, use the passed in route name.\n if (owner.routable && transition !== null) {\n name = getEngineRouteName(owner, _name);\n } else {\n name = _name;\n }\n\n var route = owner.lookup('route:' + name);\n // If we are mid-transition, we want to try and look up\n // resolved parent contexts on the current transitionEvent.\n if (transition !== null) {\n modelLookupName = route && route.routeName || name;\n\n if (transition.resolvedModels.hasOwnProperty(modelLookupName)) {\n return transition.resolvedModels[modelLookupName];\n }\n }\n\n return route && route.currentModel;\n },\n renderTemplate: function () /* controller, model */{\n // eslint-disable-line no-unused-vars\n this.render();\n },\n render: function (_name, options) {\n var name = void 0;\n var isDefaultRender = arguments.length === 0;\n if (!isDefaultRender) {\n if (typeof _name === 'object' && !options) {\n name = this.templateName || this.routeName;\n options = _name;\n } else {\n false && !!(0, _emberMetal.isEmpty)(_name) && (0, _debug.assert)('The name in the given arguments is undefined or empty string', !(0, _emberMetal.isEmpty)(_name));\n\n name = _name;\n }\n }\n\n var renderOptions = buildRenderOptions(this, isDefaultRender, name, options);\n this.connections.push(renderOptions);\n (0, _runloop.once)(this._router, '_setOutlets');\n },\n disconnectOutlet: function (options) {\n var outletName = void 0,\n i;\n var parentView = void 0;\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\n false && !!('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 this._disconnectOutlet(outletName, parentView);\n var handlerInfos = this._router._routerMicrolib.currentHandlerInfos;\n for (i = 0; i < handlerInfos.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 handlerInfos[i].handler._disconnectOutlet(outletName, parentView);\n }\n },\n _disconnectOutlet: function (outletName, parentView) {\n var parent = parentRoute(this),\n i,\n connection;\n if (parent && parentView === parent.routeName) {\n parentView = undefined;\n }\n for (i = 0; i < this.connections.length; i++) {\n connection = this.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 this.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 };\n (0, _runloop.once)(this._router, '_setOutlets');\n }\n }\n },\n willDestroy: function () {\n this.teardownViews();\n },\n teardownViews: function () {\n if (this.connections && this.connections.length > 0) {\n this.connections = [];\n (0, _runloop.once)(this._router, '_setOutlets');\n }\n }\n });\n\n Route.reopenClass({\n isRouteFactory: true\n });\n\n function parentRoute(route) {\n var handlerInfo = handlerInfoFor(route, route._router._routerMicrolib.state.handlerInfos, -1);\n return handlerInfo && handlerInfo.handler;\n }\n\n function handlerInfoFor(route, handlerInfos) {\n var offset = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0,\n i;\n\n if (!handlerInfos) {\n return;\n }\n\n var current = void 0;\n for (i = 0; i < handlerInfos.length; i++) {\n current = handlerInfos[i].handler;\n if (current === route) {\n return handlerInfos[i + offset];\n }\n }\n }\n\n function buildRenderOptions(route, isDefaultRender, _name, options) {\n false && !(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\n var owner = (0, _emberOwner.getOwner)(route),\n controllerName;\n var name = void 0,\n templateName = void 0,\n into = void 0,\n outlet = void 0,\n controller = void 0,\n model = void 0;\n if (options) {\n into = options.into && options.into.replace(/\\//g, '.');\n outlet = options.outlet;\n controller = options.controller;\n model = options.model;\n }\n outlet = outlet || 'main';\n\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) {\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 controllerName = controller;\n\n controller = owner.lookup('controller:' + controllerName);\n false && !(isDefaultRender || controller) && (0, _debug.assert)('You passed `controller: \\'' + controllerName + '\\'` into the `render` method, but no such controller could be found.', isDefaultRender || controller);\n }\n\n if (model) {\n controller.set('model', model);\n }\n\n var template = owner.lookup('template:' + templateName);\n false && !(isDefaultRender || template) && (0, _debug.assert)('Could not find \"' + templateName + '\" template, view, or component.', isDefaultRender || template);\n\n var parent = void 0;\n if (into && (parent = parentRoute(route)) && into === parent.routeName) {\n into = undefined;\n }\n\n var renderOptions = {\n owner: owner,\n into: into,\n outlet: outlet,\n name: name,\n controller: controller,\n template: template || route._topLevelViewTemplate\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.handlerInfos, state.fullQueryParams);\n return state.fullQueryParams;\n }\n\n function getQueryParamsFor(route, state) {\n state.queryParamsFor = state.queryParamsFor || {};\n var name = route.fullRouteName,\n i,\n qp,\n qpValueWasPassedIn;\n\n if (state.queryParamsFor[name]) {\n return state.queryParamsFor[name];\n }\n\n var fullQueryParams = getFullQueryParams(route._router, state);\n\n var params = state.queryParamsFor[name] = {};\n\n // Copy over all the query params for this route/controller into params hash.\n var qpMeta = (0, _emberMetal.get)(route, '_qp');\n var qps = qpMeta.qps;\n for (i = 0; i < qps.length; ++i) {\n // Put deserialized qp on params hash.\n qp = qps[i];\n qpValueWasPassedIn = qp.prop in fullQueryParams;\n\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, _emberRuntime.A)(value.slice());\n }\n return value;\n }\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 function mergeEachQueryParams(controllerQP, routeQP) {\n var qps = {},\n newControllerParameterConfiguration,\n newRouteParameterConfiguration;\n var keysAlreadyMergedOrSkippable = {\n defaultValue: true,\n type: true,\n scope: true,\n as: true\n };\n\n // first loop over all controller qps, merging them with any matching route qps\n // into a new empty object to avoid mutating.\n for (var cqpName in controllerQP) {\n if (!controllerQP.hasOwnProperty(cqpName)) {\n continue;\n }\n\n newControllerParameterConfiguration = {};\n\n (0, _polyfills.assign)(newControllerParameterConfiguration, controllerQP[cqpName], routeQP[cqpName]);\n\n qps[cqpName] = newControllerParameterConfiguration;\n\n // allows us to skip this QP when we check route QPs.\n keysAlreadyMergedOrSkippable[cqpName] = true;\n }\n\n // loop over all route qps, skipping those that were merged in the first pass\n // because they also appear in controller qps\n for (var rqpName in routeQP) {\n if (!routeQP.hasOwnProperty(rqpName) || keysAlreadyMergedOrSkippable[rqpName]) {\n continue;\n }\n\n newRouteParameterConfiguration = {};\n\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(function (prop) {\n controller.addObserver(prop + '.[]', controller, controller._qpChanged);\n });\n }\n\n function getEngineRouteName(engine, routeName) {\n var prefix;\n\n if (engine.routable) {\n prefix = engine.mountPoint;\n\n\n if (routeName === 'application') {\n return prefix;\n } else {\n return prefix + '.' + routeName;\n }\n }\n\n return routeName;\n }\n\n exports.default = Route;\n});","enifed('ember-routing/lib/system/router', ['exports', 'ember-owner', '@ember/polyfills', '@ember/runloop', 'ember-metal', '@ember/error', '@ember/debug', 'ember-runtime', 'ember-routing/lib/system/route', 'ember-routing/lib/system/dsl', 'ember-routing/lib/location/api', 'ember-routing/lib/utils', 'ember-routing/lib/system/router_state', '@ember/deprecated-features', 'router'], function (exports, _emberOwner, _polyfills, _runloop, _emberMetal, _error2, _debug, _emberRuntime, _route, _dsl, _api, _utils, _router_state, _deprecatedFeatures, _router) {\n 'use strict';\n\n exports.triggerEvent = triggerEvent;\n\n function K() {\n return this;\n }\n\n /**\n @module @ember/routing\n */\n\n var slice = Array.prototype.slice;\n\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 var EmberRouter = _emberRuntime.Object.extend(_emberRuntime.Evented, {\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 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 _initRouterJs: function () {\n var routerMicrolib = this._routerMicrolib = new _router.default();\n routerMicrolib.triggerEvent = triggerEvent.bind(this);\n\n routerMicrolib._triggerWillChangeContext = K;\n routerMicrolib._triggerWillLeave = K;\n\n var dslCallbacks = this.constructor.dslCallbacks || [K];\n var dsl = this._buildDSL();\n\n dsl.route('application', { path: '/', resetNamespace: true, overrideNameAssertion: true }, function () {\n var i;\n\n for (i = 0; i < dslCallbacks.length; i++) {\n dslCallbacks[i].call(this);\n }\n });\n\n routerMicrolib.map(dsl.generate());\n },\n _buildDSL: function () {\n var enableLoadingSubstates = this._hasModuleBasedResolver();\n var options = { enableLoadingSubstates: enableLoadingSubstates };\n\n var owner = (0, _emberOwner.getOwner)(this);\n var router = this;\n\n options.resolveRouteMap = function (name) {\n return owner.factoryFor('route-map:' + name);\n };\n\n options.addRouteForEngine = function (name, engineInfo) {\n if (!router._engineInfoByRoute[name]) {\n router._engineInfoByRoute[name] = engineInfo;\n }\n };\n\n return new _dsl.default(null, options);\n },\n init: function () {\n this._super.apply(this, arguments);\n\n this.currentURL = null;\n this.currentRouteName = null;\n this.currentPath = null;\n\n this._qpCache = Object.create(null);\n this._resetQueuedQueryParameterChanges();\n this._handledErrors = new Set();\n this._engineInstances = Object.create(null);\n this._engineInfoByRoute = Object.create(null);\n },\n _resetQueuedQueryParameterChanges: function () {\n this._queuedQPChanges = {};\n },\n\n /**\n Represents the current URL.\n @method url\n @return {String} The current URL.\n @private\n */\n url: (0, _emberMetal.computed)(function () {\n return (0, _emberMetal.get)(this, 'location').getURL();\n }),\n\n _hasModuleBasedResolver: function () {\n var owner = (0, _emberOwner.getOwner)(this);\n if (!owner) {\n return false;\n }\n\n var resolver = (0, _emberMetal.get)(owner, 'application.__registry__.resolver.moduleBasedResolver');\n return !!resolver;\n },\n startRouting: function () {\n var initialURL = (0, _emberMetal.get)(this, 'initialURL'),\n initialTransition;\n\n if (this.setupRouter()) {\n if (initialURL === undefined) {\n initialURL = (0, _emberMetal.get)(this, 'location').getURL();\n }\n initialTransition = this.handleURL(initialURL);\n\n if (initialTransition && initialTransition.error) {\n throw initialTransition.error;\n }\n }\n },\n setupRouter: function () {\n var _this = this;\n\n this._initRouterJs();\n this._setupLocation();\n\n var location = (0, _emberMetal.get)(this, 'location');\n\n // Allow the Location class to cancel the router setup while it refreshes\n // the page\n if ((0, _emberMetal.get)(location, 'cancelRouterSetup')) {\n return false;\n }\n\n this._setupRouter(location);\n\n location.onUpdateURL(function (url) {\n _this.handleURL(url);\n });\n\n return true;\n },\n didTransition: function () {\n updatePaths(this);\n\n this._cancelSlowTransitionTimer();\n\n this.notifyPropertyChange('url');\n this.set('currentState', this.targetState);\n\n // Put this in the runloop so url will be accurate. Seems\n // less surprising than didTransition being out of sync.\n (0, _runloop.once)(this, this.trigger, 'didTransition');\n },\n _setOutlets: function () {\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 handlerInfos = this._routerMicrolib.currentHandlerInfos,\n i,\n connections,\n ownState,\n j,\n appended,\n owner,\n OutletView,\n instance;\n var route = void 0;\n var defaultParentState = void 0;\n var liveRoutes = null;\n\n if (!handlerInfos) {\n return;\n }\n\n for (i = 0; i < handlerInfos.length; i++) {\n route = handlerInfos[i].handler;\n connections = route.connections;\n ownState = void 0;\n\n for (j = 0; j < connections.length; j++) {\n appended = appendLiveRoute(liveRoutes, defaultParentState, connections[j]);\n\n liveRoutes = appended.liveRoutes;\n if (appended.ownState.render.name === route.routeName || appended.ownState.render.outlet === 'main') {\n ownState = appended.ownState;\n }\n }\n if (connections.length === 0) {\n ownState = representEmptyRoute(liveRoutes, defaultParentState, route);\n }\n defaultParentState = ownState;\n }\n\n // when a transitionTo happens after the validation phase\n // during the initial transition _setOutlets is called\n // when no routes are active. However, it will get called\n // again with the correct values during the next turn of\n // the runloop\n if (!liveRoutes) {\n return;\n }\n\n if (!this._toplevelView) {\n owner = (0, _emberOwner.getOwner)(this);\n OutletView = owner.factoryFor('view:-outlet');\n\n this._toplevelView = OutletView.create();\n this._toplevelView.setOutletState(liveRoutes);\n instance = owner.lookup('-application-instance:main');\n\n instance.didCreateRootView(this._toplevelView);\n } else {\n this._toplevelView.setOutletState(liveRoutes);\n }\n },\n willTransition: function (oldInfos, newInfos, transition) {\n (0, _runloop.once)(this, this.trigger, 'willTransition', transition);\n },\n handleURL: function (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 _doURLTransition: function (routerJsMethod, url) {\n var transition = this._routerMicrolib[routerJsMethod](url || '/');\n didBeginTransition(transition, this);\n return transition;\n },\n transitionTo: function () {\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n if ((0, _utils.resemblesURL)(args[0])) {\n false && !(!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\n return this._doURLTransition('transitionTo', args[0]);\n }\n\n var _extractRouteArgs = (0, _utils.extractRouteArgs)(args),\n routeName = _extractRouteArgs.routeName,\n models = _extractRouteArgs.models,\n queryParams = _extractRouteArgs.queryParams,\n _len,\n args,\n _key;\n\n false && !(!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\n return this._doTransition(routeName, models, queryParams);\n },\n intermediateTransitionTo: function () {\n var _routerMicrolib;\n\n (_routerMicrolib = this._routerMicrolib).intermediateTransitionTo.apply(_routerMicrolib, arguments);\n\n updatePaths(this);\n },\n replaceWith: function () {\n return this.transitionTo.apply(this, arguments).method('replace');\n },\n generate: function () {\n var _routerMicrolib2;\n\n var url = (_routerMicrolib2 = this._routerMicrolib).generate.apply(_routerMicrolib2, arguments);\n return this.location.formatURL(url);\n },\n isActive: function () {\n var _routerMicrolib3;\n\n return (_routerMicrolib3 = this._routerMicrolib).isActive.apply(_routerMicrolib3, arguments);\n },\n isActiveIntent: function (routeName, models, queryParams) {\n return this.currentState.isActiveIntent(routeName, models, queryParams);\n },\n send: function () {\n var _routerMicrolib4;\n\n /*name, context*/\n (_routerMicrolib4 = this._routerMicrolib).trigger.apply(_routerMicrolib4, arguments);\n },\n hasRoute: function (route) {\n return this._routerMicrolib.hasRoute(route);\n },\n reset: function () {\n if (this._routerMicrolib) {\n this._routerMicrolib.reset();\n }\n },\n willDestroy: function () {\n if (this._toplevelView) {\n this._toplevelView.destroy();\n this._toplevelView = null;\n }\n\n this._super.apply(this, arguments);\n\n this.reset();\n\n var instances = this._engineInstances;\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 _activeQPChanged: function (queryParameterName, newValue) {\n this._queuedQPChanges[queryParameterName] = newValue;\n (0, _runloop.once)(this, this._fireQueryParamTransition);\n },\n _updatingQPChanged: function (queryParameterName) {\n if (!this._qpUpdates) {\n this._qpUpdates = {};\n }\n this._qpUpdates[queryParameterName] = true;\n },\n _fireQueryParamTransition: function () {\n this.transitionTo({ queryParams: this._queuedQPChanges });\n this._resetQueuedQueryParameterChanges();\n },\n _setupLocation: function () {\n var location = (0, _emberMetal.get)(this, 'location'),\n resolvedLocation,\n options;\n var rootURL = (0, _emberMetal.get)(this, 'rootURL');\n var owner = (0, _emberOwner.getOwner)(this);\n\n if ('string' === typeof location && owner) {\n resolvedLocation = owner.lookup('location:' + location);\n\n\n if (resolvedLocation !== undefined) {\n location = (0, _emberMetal.set)(this, 'location', resolvedLocation);\n } else {\n // Allow for deprecated registration of custom location API's\n options = {\n implementation: location\n };\n\n\n location = (0, _emberMetal.set)(this, 'location', _api.default.create(options));\n }\n }\n\n if (location !== null && typeof location === 'object') {\n if (rootURL) {\n (0, _emberMetal.set)(location, 'rootURL', rootURL);\n }\n\n // Allow the location to do any feature detection, such as AutoLocation\n // detecting history support. This gives it a chance to set its\n // `cancelRouterSetup` property which aborts routing.\n if (typeof location.detect === 'function') {\n location.detect();\n }\n\n // ensure that initState is called AFTER the rootURL is set on\n // the location instance\n if (typeof location.initState === 'function') {\n location.initState();\n }\n }\n },\n _getHandlerFunction: function () {\n var _this2 = this;\n\n var seen = Object.create(null);\n var owner = (0, _emberOwner.getOwner)(this);\n\n return function (name) {\n var routeName = name,\n engineInstance,\n DefaultRoute;\n var routeOwner = owner;\n var engineInfo = _this2._engineInfoByRoute[routeName];\n\n if (engineInfo) {\n engineInstance = _this2._getEngineInstance(engineInfo);\n\n\n routeOwner = engineInstance;\n routeName = engineInfo.localFullName;\n }\n\n var fullRouteName = 'route:' + routeName;\n\n var handler = routeOwner.lookup(fullRouteName);\n\n if (seen[name]) {\n return handler;\n }\n\n seen[name] = true;\n\n if (!handler) {\n DefaultRoute = routeOwner.factoryFor('route:basic').class;\n\n routeOwner.register(fullRouteName, DefaultRoute.extend());\n handler = routeOwner.lookup(fullRouteName);\n }\n\n handler._setRouteName(routeName);\n\n if (engineInfo && !(0, _route.hasDefaultSerialize)(handler)) {\n throw new Error('Defining a custom serialize method on an Engine route is not supported.');\n }\n\n return handler;\n };\n },\n _getSerializerFunction: function () {\n var _this3 = this;\n\n return function (name) {\n var engineInfo = _this3._engineInfoByRoute[name];\n\n // If this is not an Engine route, we fall back to the handler for serialization\n if (!engineInfo) {\n return;\n }\n\n return engineInfo.serializeMethod || _route.defaultSerialize;\n };\n },\n _setupRouter: function (location) {\n var _this4 = this,\n doReplaceURL;\n\n var lastURL = void 0;\n var routerMicrolib = this._routerMicrolib;\n\n routerMicrolib.getHandler = this._getHandlerFunction();\n routerMicrolib.getSerializer = this._getSerializerFunction();\n\n var doUpdateURL = function () {\n location.setURL(lastURL);\n (0, _emberMetal.set)(_this4, 'currentURL', lastURL);\n };\n\n routerMicrolib.updateURL = function (path) {\n lastURL = path;\n (0, _runloop.once)(doUpdateURL);\n };\n\n if (location.replaceURL) {\n doReplaceURL = function () {\n location.replaceURL(lastURL);\n (0, _emberMetal.set)(_this4, 'currentURL', lastURL);\n };\n\n\n routerMicrolib.replaceURL = function (path) {\n lastURL = path;\n (0, _runloop.once)(doReplaceURL);\n };\n }\n\n routerMicrolib.didTransition = function (infos) {\n _this4.didTransition(infos);\n };\n\n routerMicrolib.willTransition = function (oldInfos, newInfos, transition) {\n _this4.willTransition(oldInfos, newInfos, transition);\n };\n },\n _serializeQueryParams: function (handlerInfos, queryParams) {\n var _this5 = this;\n\n forEachQueryParam(this, handlerInfos, queryParams, function (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) {} else {\n queryParams[key] = _this5._serializeQueryParam(value, (0, _emberRuntime.typeOf)(value));\n }\n });\n },\n _serializeQueryParam: function (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 _deserializeQueryParams: function (handlerInfos, queryParams) {\n forEachQueryParam(this, handlerInfos, queryParams, function (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 _deserializeQueryParam: function (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, _emberRuntime.A)(JSON.parse(value));\n }\n return value;\n },\n _pruneDefaultQueryParamValues: function (handlerInfos, queryParams) {\n var qps = this._queryParamsFor(handlerInfos),\n qp;\n for (var key in queryParams) {\n qp = qps.map[key];\n\n if (qp && qp.serializedDefaultValue === queryParams[key]) {\n delete queryParams[key];\n }\n }\n },\n _doTransition: function (_targetRouteName, models, _queryParams, _keepDefaultQueryParamValues) {\n var _routerMicrolib5;\n\n var targetRouteName = _targetRouteName || (0, _utils.getActiveTargetName)(this._routerMicrolib);\n false && !(targetRouteName && this._routerMicrolib.hasRoute(targetRouteName)) && (0, _debug.assert)('The route ' + targetRouteName + ' was not found', targetRouteName && this._routerMicrolib.hasRoute(targetRouteName));\n\n var queryParams = {};\n\n this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);\n\n (0, _polyfills.assign)(queryParams, _queryParams);\n this._prepareQueryParams(targetRouteName, models, queryParams, _keepDefaultQueryParamValues);\n\n var transition = (_routerMicrolib5 = this._routerMicrolib).transitionTo.apply(_routerMicrolib5, [targetRouteName].concat(models, [{ queryParams: queryParams }]));\n\n didBeginTransition(transition, this);\n\n return transition;\n },\n _processActiveTransitionQueryParams: function (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.queryParams;\n for (var key in params) {\n if (!qpUpdates[key]) {\n unchangedQPs[key] = params[key];\n }\n }\n\n // We need to fully scope queryParams so that we can create one object\n // that represents both passed-in queryParams and ones that aren't changed\n // from the active transition.\n this._fullyScopeQueryParams(targetRouteName, models, _queryParams);\n this._fullyScopeQueryParams(targetRouteName, models, unchangedQPs);\n (0, _polyfills.assign)(queryParams, unchangedQPs);\n },\n _prepareQueryParams: function (targetRouteName, models, queryParams, _fromRouterService) {\n var state = calculatePostTransitionState(this, targetRouteName, models);\n this._hydrateUnsuppliedQueryParams(state, queryParams, _fromRouterService);\n this._serializeQueryParams(state.handlerInfos, queryParams);\n\n if (!_fromRouterService) {\n this._pruneDefaultQueryParamValues(state.handlerInfos, queryParams);\n }\n },\n _getQPMeta: function (handlerInfo) {\n var route = handlerInfo.handler;\n return route && (0, _emberMetal.get)(route, '_qp');\n },\n _queryParamsFor: function (handlerInfos) {\n var handlerInfoLength = handlerInfos.length,\n i,\n qpMeta,\n _i,\n qp;\n var leafRouteName = handlerInfos[handlerInfoLength - 1].name;\n var cached = this._qpCache[leafRouteName];\n if (cached !== undefined) {\n return cached;\n }\n\n var shouldCache = true;\n var map = {};\n var qps = [];\n null;\n\n\n for (i = 0; i < handlerInfoLength; ++i) {\n qpMeta = this._getQPMeta(handlerInfos[i]);\n\n\n if (!qpMeta) {\n shouldCache = false;\n continue;\n }\n\n // Loop over each QP to make sure we don't have any collisions by urlKey\n for (_i = 0; _i < qpMeta.qps.length; _i++) {\n qp = qpMeta.qps[_i];\n\n\n qps.push(qp);\n }\n\n (0, _polyfills.assign)(map, qpMeta.map);\n }\n\n var finalQPMeta = { qps: qps, map: map };\n\n if (shouldCache) {\n this._qpCache[leafRouteName] = finalQPMeta;\n }\n\n return finalQPMeta;\n },\n _fullyScopeQueryParams: function (leafRouteName, contexts, queryParams) {\n var state = calculatePostTransitionState(this, leafRouteName, contexts),\n i,\n len,\n qpMeta,\n j,\n qpLen,\n qp,\n presentProp;\n var handlerInfos = state.handlerInfos;\n\n for (i = 0, len = handlerInfos.length; i < len; ++i) {\n qpMeta = this._getQPMeta(handlerInfos[i]);\n\n\n if (!qpMeta) {\n continue;\n }\n\n for (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\n if (presentProp) {\n if (presentProp !== qp.scopedPropertyName) {\n queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n delete queryParams[presentProp];\n }\n }\n }\n }\n },\n _hydrateUnsuppliedQueryParams: function (state, queryParams, _fromRouterService) {\n var handlerInfos = state.handlerInfos,\n i,\n qpMeta,\n j,\n qpLen,\n qp,\n presentProp,\n cacheKey;\n var appCache = this._bucketCache;\n\n for (i = 0; i < handlerInfos.length; ++i) {\n qpMeta = this._getQPMeta(handlerInfos[i]);\n\n\n if (!qpMeta) {\n continue;\n }\n\n for (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\n false && !function () {\n if (qp.urlKey === presentProp) {\n return true;\n }\n\n if (_fromRouterService && presentProp !== false) {\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) {\n return true;\n }if (_fromRouterService && presentProp !== false) {\n return false;\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 cacheKey = (0, _utils.calculateCacheKey)(qp.route.fullRouteName, qp.parts, state.params);\n\n queryParams[qp.scopedPropertyName] = appCache.lookup(cacheKey, qp.prop, qp.defaultValue);\n }\n }\n }\n },\n _scheduleLoadingEvent: function (transition, originRoute) {\n this._cancelSlowTransitionTimer();\n this._slowTransitionTimer = (0, _runloop.scheduleOnce)('routerTransitions', this, '_handleSlowTransition', transition, originRoute);\n },\n\n currentState: null,\n targetState: null,\n\n _handleSlowTransition: function (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 var targetState = new _router_state.default(this, this._routerMicrolib, this._routerMicrolib.activeTransition.state);\n this.set('targetState', targetState);\n\n transition.trigger(true, 'loading', transition, originRoute);\n },\n _cancelSlowTransitionTimer: function () {\n if (this._slowTransitionTimer) {\n (0, _runloop.cancel)(this._slowTransitionTimer);\n }\n this._slowTransitionTimer = null;\n },\n _markErrorAsHandled: function (error) {\n this._handledErrors.add(error);\n },\n _isErrorHandled: function (error) {\n return this._handledErrors.has(error);\n },\n _clearHandledError: function (error) {\n this._handledErrors.delete(error);\n },\n _getEngineInstance: function (_ref) {\n var name = _ref.name,\n instanceId = _ref.instanceId,\n mountPoint = _ref.mountPoint,\n owner;\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 owner = (0, _emberOwner.getOwner)(this);\n\n\n false && !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\n engineInstance = owner.buildChildEngineInstance(name, {\n routable: true,\n mountPoint: mountPoint\n });\n\n engineInstance.boot();\n\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 handlerInfos that are\n at or above the given origin route. Example: if `originRoute` === 'foo.bar'\n and the handlerInfos 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<HandlerInfo>} handlerInfos\n @param {Function} callback\n @return {Void}\n */\n function forEachRouteAbove(handlerInfos, callback) {\n var i, handlerInfo, route;\n\n for (i = handlerInfos.length - 1; i >= 0; --i) {\n handlerInfo = handlerInfos[i];\n route = handlerInfo.handler;\n\n // handlerInfo.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, handlerInfo) !== true) {\n return;\n }\n }\n }\n\n // These get invoked when an action bubbles above ApplicationRoute\n // and are not meant to be overridable.\n var defaultActionHandlers = {\n willResolveModel: function (handlerInfos, transition, originRoute) {\n this._scheduleLoadingEvent(transition, originRoute);\n },\n error: function (handlerInfos, error, transition) {\n var router = this;\n\n var handlerInfoWithError = handlerInfos[handlerInfos.length - 1];\n\n forEachRouteAbove(handlerInfos, function (route, handlerInfo) {\n // We don't check the leaf most handlerInfo since that would\n // technically be below where we're at in the route hierarchy.\n if (handlerInfo !== handlerInfoWithError) {\n // Check for the existence of an 'error' route.\n errorRouteName = findRouteStateName(route, 'error');\n\n if (errorRouteName) {\n router._markErrorAsHandled(error);\n router.intermediateTransitionTo(errorRouteName, error);\n return false;\n }\n }\n\n // Check for an 'error' substate route\n var errorSubstateName = findRouteSubstateName(route, 'error'),\n errorRouteName;\n if (errorSubstateName) {\n router._markErrorAsHandled(error);\n router.intermediateTransitionTo(errorSubstateName, error);\n return false;\n }\n\n return true;\n });\n\n logError(error, 'Error while processing route: ' + transition.targetName);\n },\n loading: function (handlerInfos, transition) {\n var router = this;\n\n var handlerInfoWithSlowLoading = handlerInfos[handlerInfos.length - 1];\n\n forEachRouteAbove(handlerInfos, function (route, handlerInfo) {\n // We don't check the leaf most handlerInfo since that would\n // technically be below where we're at in the route hierarchy.\n if (handlerInfo !== handlerInfoWithSlowLoading) {\n // Check for the existence of a 'loading' route.\n loadingRouteName = findRouteStateName(route, 'loading');\n\n if (loadingRouteName) {\n router.intermediateTransitionTo(loadingRouteName);\n return false;\n }\n }\n\n // Check for loading substate\n var loadingSubstateName = findRouteSubstateName(route, 'loading'),\n loadingRouteName;\n if (loadingSubstateName) {\n router.intermediateTransitionTo(loadingSubstateName);\n return false;\n }\n\n // Don't bubble above pivot route.\n return transition.pivotHandler !== route;\n });\n }\n };\n\n function logError(_error, initialMessage) {\n var _console;\n\n var errorArgs = [];\n var error = void 0;\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 if (error.stack) {\n errorArgs.push(error.stack);\n }\n\n if (typeof error === 'string') {\n errorArgs.push(error);\n }\n }\n\n (_console = console).error.apply(_console, errorArgs); //eslint-disable-line no-console\n }\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 function findRouteSubstateName(route, state) {\n var owner = (0, _emberOwner.getOwner)(route);\n var routeName = route.routeName,\n fullRouteName = route.fullRouteName,\n router = route._router;\n\n var substateNameFull = fullRouteName + '_' + state;\n\n return routeHasBeenDefined(owner, router, routeName + '_' + state, substateNameFull) ? substateNameFull : '';\n }\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 function findRouteStateName(route, state) {\n var owner = (0, _emberOwner.getOwner)(route);\n var routeName = route.routeName,\n fullRouteName = route.fullRouteName,\n router = route._router;\n\n var stateName = routeName === 'application' ? state : routeName + '.' + state;\n var stateNameFull = fullRouteName === 'application' ? state : fullRouteName + '.' + state;\n\n return routeHasBeenDefined(owner, router, stateName, stateNameFull) ? stateNameFull : '';\n }\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 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(handlerInfos, ignoreFailure, args) {\n var name = args.shift(),\n i;\n\n if (!handlerInfos) {\n if (ignoreFailure) {\n return;\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 handlerInfo = void 0,\n handler = void 0,\n actionHandler = void 0;\n\n for (i = handlerInfos.length - 1; i >= 0; i--) {\n handlerInfo = handlerInfos[i];\n handler = handlerInfo.handler;\n actionHandler = handler && handler.actions && handler.actions[name];\n if (actionHandler) {\n if (actionHandler.apply(handler, args) === true) {\n eventWasHandled = true;\n } else {\n // Should only hit here if a non-bubbling error action is triggered on a route.\n if (name === 'error') {\n handler._router._markErrorAsHandled(args[0]);\n }\n return;\n }\n }\n }\n\n var defaultHandler = defaultActionHandlers[name];\n if (defaultHandler) {\n defaultHandler.apply(this, [handlerInfos].concat(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 i,\n handlerInfo;\n var handlerInfos = state.handlerInfos,\n params = state.params;\n\n for (i = 0; i < handlerInfos.length; ++i) {\n handlerInfo = handlerInfos[i];\n\n // If the handlerInfo is not resolved, we serialize the context into params\n\n if (!handlerInfo.isResolved) {\n params[handlerInfo.name] = handlerInfo.serialize(handlerInfo.context);\n } else {\n params[handlerInfo.name] = handlerInfo.params;\n }\n }\n return state;\n }\n\n function updatePaths(router) {\n var infos = router._routerMicrolib.currentHandlerInfos;\n if (infos.length === 0) {\n return;\n }\n\n var path = EmberRouter._routePath(infos);\n var currentRouteName = infos[infos.length - 1].name;\n var currentURL = router.get('location').getURL();\n\n (0, _emberMetal.set)(router, 'currentPath', path);\n (0, _emberMetal.set)(router, 'currentRouteName', currentRouteName);\n (0, _emberMetal.set)(router, 'currentURL', currentURL);\n\n var appController = (0, _emberOwner.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 (!('currentPath' in appController)) {\n (0, _emberMetal.defineProperty)(appController, 'currentPath');\n }\n\n (0, _emberMetal.set)(appController, 'currentPath', path);\n\n if (!('currentRouteName' in appController)) {\n (0, _emberMetal.defineProperty)(appController, 'currentRouteName');\n }\n\n (0, _emberMetal.set)(appController, 'currentRouteName', currentRouteName);\n }\n\n EmberRouter.reopenClass({\n map: function (callback) {\n if (!this.dslCallbacks) {\n this.dslCallbacks = [];\n this.reopenClass({ dslCallbacks: this.dslCallbacks });\n }\n\n this.dslCallbacks.push(callback);\n\n return this;\n },\n _routePath: function (handlerInfos) {\n var path = [],\n i;\n\n // We have to handle coalescing resource names that\n // are prefixed with their parent's names, e.g.\n // ['foo', 'foo.bar.baz'] => 'foo.bar.baz', not 'foo.foo.bar.baz'\n\n function intersectionMatches(a1, a2) {\n var i;\n\n for (i = 0; i < a1.length; ++i) {\n if (a1[i] !== a2[i]) {\n return false;\n }\n }\n return true;\n }\n\n var name = void 0,\n nameParts = void 0,\n oldNameParts = void 0;\n for (i = 1; i < handlerInfos.length; i++) {\n name = handlerInfos[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 oldNameParts.shift();\n }\n\n path.push.apply(path, nameParts.slice(oldNameParts.length));\n }\n\n return path.join('.');\n }\n });\n\n function didBeginTransition(transition, router) {\n var routerState = new _router_state.default(router, router._routerMicrolib, transition.state);\n\n if (!router.currentState) {\n router.set('currentState', routerState);\n }\n router.set('targetState', routerState);\n\n transition.promise = transition.catch(function (error) {\n if (router._isErrorHandled(error)) {\n router._clearHandledError(error);\n } else {\n throw error;\n }\n });\n }\n\n function forEachQueryParam(router, handlerInfos, queryParams, callback) {\n var qpCache = router._queryParamsFor(handlerInfos),\n value,\n qp;\n\n for (var key in queryParams) {\n if (!queryParams.hasOwnProperty(key)) {\n continue;\n }\n value = queryParams[key];\n qp = qpCache.map[key];\n\n\n callback(key, value, qp);\n }\n }\n\n function findLiveRoute(liveRoutes, name) {\n if (!liveRoutes) {\n return;\n }\n var stack = [liveRoutes],\n test,\n outlets;\n while (stack.length > 0) {\n test = stack.shift();\n\n if (test.render.name === name) {\n return test;\n }\n outlets = test.outlets;\n\n for (var outletName in outlets) {\n stack.push(outlets[outletName]);\n }\n }\n }\n\n function appendLiveRoute(liveRoutes, defaultParentState, renderOptions) {\n var target = void 0;\n var myState = {\n render: renderOptions,\n outlets: Object.create(null),\n wasUsed: false\n };\n if (renderOptions.into) {\n target = findLiveRoute(liveRoutes, renderOptions.into);\n } else {\n target = defaultParentState;\n }\n if (target) {\n (0, _emberMetal.set)(target.outlets, renderOptions.outlet, myState);\n } else {\n if (_deprecatedFeatures.ORPHAN_OUTLET_RENDER && renderOptions.into) {\n false && !false && (0, _debug.deprecate)('Rendering into a {{render}} helper that resolves to an {{outlet}} is deprecated.', false, {\n id: 'ember-routing.top-level-render-helper',\n until: '3.0.0',\n url: 'https://emberjs.com/deprecations/v2.x/#toc_rendering-into-a-render-helper-that-resolves-to-an-outlet'\n });\n\n // Megahax time. Post-3.0-breaking-changes, we will just assert\n // right here that the user tried to target a nonexistent\n // thing. But for now we still need to support the `render`\n // helper, and people are allowed to target templates rendered\n // by the render helper. So instead we defer doing anyting with\n // these orphan renders until afterRender.\n if (!liveRoutes.outlets.__ember_orphans__) {\n liveRoutes.outlets.__ember_orphans__ = {\n render: {\n name: '__ember_orphans__'\n },\n outlets: Object.create(null)\n };\n }\n\n liveRoutes.outlets.__ember_orphans__.outlets[renderOptions.into] = myState;\n (0, _runloop.schedule)('afterRender', function () {\n false && !liveRoutes.outlets.__ember_orphans__.outlets[renderOptions.into].wasUsed && (0, _debug.assert)('You attempted to render into \\'' + renderOptions.into + '\\' but it was not found', liveRoutes.outlets.__ember_orphans__.outlets[renderOptions.into].wasUsed);\n });\n } else {\n liveRoutes = myState;\n }\n }\n return {\n liveRoutes: liveRoutes,\n ownState: myState\n };\n }\n\n function representEmptyRoute(liveRoutes, defaultParentState, route) {\n // the route didn't render anything\n var alreadyAppended = findLiveRoute(liveRoutes, route.routeName);\n if (alreadyAppended) {\n // But some other route has already rendered our default\n // template, so that becomes the default target for any\n // children we may have.\n return alreadyAppended;\n } else {\n // Create an entry to represent our default template name,\n // just so other routes can target it and inherit its place\n // in the outlet hierarchy.\n defaultParentState.outlets.main = {\n render: {\n name: route.routeName,\n outlet: 'main'\n },\n outlets: {}\n };\n return defaultParentState;\n }\n }\n\n exports.default = EmberRouter;\n});","enifed('ember-routing/lib/system/router_state', ['exports', '@ember/polyfills', 'ember-routing/lib/utils'], function (exports, _polyfills, _utils) {\n 'use strict';\n\n var RouterState = function () {\n function RouterState() {\n var emberRouter = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : null;\n var routerJs = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n var routerJsState = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : null;\n\n\n this.emberRouter = emberRouter;\n this.routerJs = routerJs;\n this.routerJsState = routerJsState;\n }\n\n RouterState.prototype.isActiveIntent = function (routeName, models, queryParams, queryParamsMustMatch) {\n var state = this.routerJsState,\n visibleQueryParams;\n if (!this.routerJs.isActiveIntent(routeName, models, null, state)) {\n return false;\n }\n\n if (queryParamsMustMatch && Object.keys(queryParams).length > 0) {\n visibleQueryParams = (0, _polyfills.assign)({}, queryParams);\n\n\n this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\n return (0, _utils.shallowEqual)(visibleQueryParams, state.queryParams);\n }\n\n return true;\n };\n\n return RouterState;\n }();\n\n exports.default = RouterState;\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/**\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 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*/\nenifed(\"ember-routing/lib/system/transition\", [], function () {\n \"use strict\";\n});","enifed('ember-routing/lib/utils', ['exports', 'ember-owner', '@ember/polyfills', 'ember-metal', '@ember/error'], function (exports, _emberOwner, _polyfills, _emberMetal, _error) {\n 'use strict';\n\n exports.extractRouteArgs = function (args) {\n args = args.slice();\n var possibleQueryParams = args[args.length - 1];\n\n var queryParams = void 0;\n if (possibleQueryParams && possibleQueryParams.hasOwnProperty('queryParams')) {\n queryParams = args.pop().queryParams;\n } else {\n queryParams = {};\n }\n\n var routeName = args.shift();\n\n return { routeName: routeName, models: args, queryParams: queryParams };\n };\n exports.getActiveTargetName = function (router) {\n var handlerInfos = router.activeTransition ? router.activeTransition.state.handlerInfos : router.state.handlerInfos;\n return handlerInfos[handlerInfos.length - 1].name;\n };\n exports.stashParamNames = function (router, handlerInfos) {\n if (handlerInfos._namesStashed) {\n return;\n }\n\n // This helper exists because router.js/route-recognizer.js awkwardly\n // keeps separate a handlerInfo'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 var targetRouteName = handlerInfos[handlerInfos.length - 1].name,\n i,\n handlerInfo,\n names,\n route;\n var recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n var dynamicParent = null;\n\n for (i = 0; i < handlerInfos.length; ++i) {\n handlerInfo = handlerInfos[i];\n names = recogHandlers[i].names;\n\n\n if (names.length) {\n dynamicParent = handlerInfo;\n }\n\n handlerInfo._names = names;\n\n route = handlerInfo.handler;\n\n route._stashNames(handlerInfo, dynamicParent);\n }\n\n handlerInfos._namesStashed = true;\n };\n exports.calculateCacheKey = calculateCacheKey;\n exports.normalizeControllerQueryParams =\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 function (queryParams) {\n var qpMap = {},\n i;\n\n for (i = 0; i < queryParams.length; ++i) {\n accumulateQueryParamDescriptors(queryParams[i], qpMap);\n }\n\n return qpMap;\n };\n exports.resemblesURL = resemblesURL;\n exports.prefixRouteNameArg =\n\n /*\n Returns an arguments array where the route name arg is prefixed based on the mount point\n \n @private\n */\n function (route, args) {\n var routeName = args[0];\n var owner = (0, _emberOwner.getOwner)(route);\n var prefix = owner.mountPoint;\n\n // only alter the routeName if it's actually referencing a route.\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 exports.shallowEqual = function (a, b) {\n var k = void 0;\n var aCount = 0;\n var bCount = 0;\n for (k in a) {\n if (a.hasOwnProperty(k)) {\n if (a[k] !== b[k]) {\n return false;\n }\n aCount++;\n }\n }\n\n for (k in b) {\n if (b.hasOwnProperty(k)) {\n bCount++;\n }\n }\n\n return aCount === bCount;\n };\n\n var ALL_PERIODS_REGEX = /\\./g;\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\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\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\n var prefixParts = prefix.split('.'),\n i,\n currPart;\n var currPrefix = '';\n\n for (i = 0; i < prefixParts.length; i++) {\n currPart = prefixParts.slice(0, i + 1).join('.');\n\n if (part.indexOf(currPart) !== 0) {\n break;\n }\n currPrefix = currPart;\n }\n\n return currPrefix;\n }\n\n /*\n Stolen from Controller\n */\n function calculateCacheKey(prefix) {\n var parts = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [],\n i,\n part,\n cacheValuePrefix,\n value,\n partRemovedPrefix;\n var values = arguments[2];\n\n var suffixes = '';\n for (i = 0; i < parts.length; ++i) {\n part = parts[i];\n cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n value = void 0;\n\n if (values) {\n if (cacheValuePrefix && cacheValuePrefix in values) {\n partRemovedPrefix = part.indexOf(cacheValuePrefix) === 0 ? part.substr(cacheValuePrefix.length + 1) : part;\n\n value = (0, _emberMetal.get)(values[cacheValuePrefix], partRemovedPrefix);\n } else {\n value = (0, _emberMetal.get)(values, part);\n }\n }\n suffixes += '::' + part + ':' + value;\n }\n return prefix + suffixes.replace(ALL_PERIODS_REGEX, '-');\n }\n\n function accumulateQueryParamDescriptors(_desc, accum) {\n var desc = _desc,\n singleDesc;\n var tmp = void 0;\n if (typeof desc === 'string') {\n tmp = {};\n tmp[desc] = { as: null };\n desc = tmp;\n }\n\n for (var key in desc) {\n if (!desc.hasOwnProperty(key)) {\n return;\n }\n\n singleDesc = desc[key];\n\n if (typeof singleDesc === 'string') {\n singleDesc = { as: singleDesc };\n }\n\n tmp = accum[key] || { as: null, scope: 'model' };\n (0, _polyfills.assign)(tmp, singleDesc);\n\n accum[key] = tmp;\n }\n }\n\n /*\n Check if a routeName resembles a url instead\n \n @private\n */\n function resemblesURL(str) {\n return typeof str === 'string' && (str === '' || str[0] === '/');\n }\n});","enifed('ember-runtime/index', ['exports', 'ember-runtime/lib/system/object', 'ember-runtime/lib/mixins/registry_proxy', 'ember-runtime/lib/mixins/container_proxy', 'ember-runtime/lib/copy', 'ember-runtime/lib/compare', 'ember-runtime/lib/is-equal', 'ember-runtime/lib/mixins/array', 'ember-runtime/lib/mixins/comparable', 'ember-runtime/lib/system/namespace', 'ember-runtime/lib/system/array_proxy', 'ember-runtime/lib/system/object_proxy', 'ember-runtime/lib/system/core_object', 'ember-runtime/lib/mixins/action_handler', 'ember-runtime/lib/mixins/copyable', 'ember-runtime/lib/mixins/enumerable', 'ember-runtime/lib/mixins/-proxy', 'ember-runtime/lib/mixins/observable', 'ember-runtime/lib/mixins/mutable_enumerable', 'ember-runtime/lib/mixins/target_action_support', 'ember-runtime/lib/mixins/evented', 'ember-runtime/lib/mixins/promise_proxy', 'ember-runtime/lib/ext/rsvp', 'ember-runtime/lib/type-of', 'ember-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) {\n 'use strict';\n\n exports.typeOf = exports.onerrorDefault = exports.RSVP = exports.PromiseProxyMixin = exports.Evented = exports.TargetActionSupport = exports.MutableEnumerable = exports.Observable = exports._contentFor = exports._ProxyMixin = exports.Enumerable = exports.Copyable = exports.ActionHandler = exports.CoreObject = exports.ObjectProxy = exports.ArrayProxy = exports.Namespace = exports.Comparable = exports.isArray = exports.uniqBy = exports.removeAt = exports.MutableArray = exports.A = exports.NativeArray = exports.isEmberArray = exports.Array = exports.isEqual = exports.compare = exports.copy = exports.ContainerProxyMixin = exports.RegistryProxyMixin = exports.FrameworkObject = exports.Object = undefined;\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, 'isEmberArray', {\n enumerable: true,\n get: function () {\n return _array.isEmberArray;\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});","enifed('ember-runtime/lib/compare', ['exports', 'ember-runtime/lib/type-of', 'ember-runtime/lib/mixins/comparable'], function (exports, _typeOf, _comparable) {\n 'use strict';\n\n exports.default = compare;\n\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\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 function spaceship(a, b) {\n var diff = a - b;\n return (diff > 0) - (diff < 0);\n }\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 function compare(v, w) {\n if (v === w) {\n return 0;\n }\n\n var type1 = (0, _typeOf.typeOf)(v),\n vLen,\n wLen,\n len,\n i,\n r;\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 }\n\n // types are equal - so we have to check values now\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 vLen = v.length;\n wLen = w.length;\n len = Math.min(vLen, wLen);\n\n\n for (i = 0; i < len; i++) {\n r = compare(v[i], w[i]);\n\n if (r !== 0) {\n return r;\n }\n }\n\n // all elements are equal now\n // shorter array should be ordered first\n return spaceship(vLen, wLen);\n }\n case 'instance':\n if (_comparable.default.detect(v)) {\n return v.compare(v, w);\n }\n return 0;\n\n case 'date':\n return spaceship(v.getTime(), w.getTime());\n\n default:\n return 0;\n }\n }\n});","enifed('ember-runtime/lib/copy', ['exports', '@ember/debug', 'ember-runtime/lib/system/object', 'ember-runtime/lib/mixins/copyable'], function (exports, _debug, _object, _copyable) {\n 'use strict';\n\n exports.default =\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 function (obj, deep) {\n false && !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 });\n\n // fast paths\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\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 = void 0,\n loc = void 0,\n key;\n\n // avoid cyclical loops\n if (deep && (loc = seen.indexOf(obj)) >= 0) {\n return copies[loc];\n }\n\n // IMPORTANT: this specific test will detect a native array only. Any other\n // object will need to implement Copyable.\n if (Array.isArray(obj)) {\n ret = obj.slice();\n\n if (deep) {\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 } else if (obj instanceof Date) {\n ret = new Date(obj.getTime());\n } else {\n false && !(!(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\n ret = {};\n key = void 0;\n\n for (key in obj) {\n // support Null prototype\n if (!Object.prototype.hasOwnProperty.call(obj, key)) {\n continue;\n }\n\n // Prevents browsers that don't respect non-enumerability from\n // copying internal Ember properties\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 if (deep) {\n seen.push(obj);\n copies.push(ret);\n }\n\n return ret;\n }\n});","enifed('ember-runtime/lib/ext/function', ['ember-environment', 'ember-metal'], function (_emberEnvironment, _emberMetal) {\n 'use strict';\n\n /**\n @module ember\n */\n\n if (_emberEnvironment.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](/api/ember/release/classes/ComputedProperty), [@ember/object/computed](/api/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 return _emberMetal.computed.apply(undefined, Array.prototype.slice.call(arguments).concat([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 return _emberMetal.observer.apply(undefined, Array.prototype.slice.call(arguments).concat([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\n on: {\n configurable: true,\n enumerable: false,\n writable: true,\n value: function () {\n return _emberMetal.on.apply(undefined, Array.prototype.slice.call(arguments).concat([this]));\n }\n }\n });\n }\n});","enifed('ember-runtime/lib/ext/rsvp', ['exports', 'rsvp', '@ember/runloop', 'ember-error-handling', '@ember/debug'], function (exports, _rsvp, _runloop, _emberErrorHandling, _debug) {\n 'use strict';\n\n exports.onerrorDefault = onerrorDefault;\n\n _rsvp.configure('async', function (callback, promise) {\n _runloop.backburner.schedule('actions', null, callback, promise);\n });\n\n _rsvp.configure('after', function (cb) {\n _runloop.backburner.schedule(_runloop._rsvpErrorQueue, null, cb);\n });\n\n _rsvp.on('error', onerrorDefault);\n\n function onerrorDefault(reason) {\n var error = errorFor(reason),\n overrideDispatch;\n if (error) {\n overrideDispatch = (0, _emberErrorHandling.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 false && !false && (0, _debug.assert)('The URL \\'' + reason.message + '\\' did not match any routes in your application', false);\n\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 if (typeof error === 'string') {\n error = new Error(error);\n }\n Object.defineProperty(error, '__reason_with_error_thrown__', {\n value: reason,\n enumerable: false\n });\n return error;\n }\n\n exports.default = _rsvp;\n});","enifed('ember-runtime/lib/is-equal', ['exports'], function (exports) {\n 'use strict';\n\n exports.default =\n /**\n @module @ember/utils\n */\n /**\n Compares two objects, returning true if they are equal.\n \n ```javascript\n import { isEqual } from '@ember/utils';\n \n isEqual('hello', 'hello'); // true\n isEqual(1, 2); // false\n ```\n \n `isEqual` is a more specific comparison than a triple equal comparison.\n It will call the `isEqual` instance method on the objects being\n compared, allowing finer control over when objects should be considered\n equal to each other.\n \n ```javascript\n import { isEqual } from '@ember/utils';\n import EmberObject from '@ember/object';\n \n let Person = EmberObject.extend({\n isEqual(other) { return this.ssn == other.ssn; }\n });\n \n let personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\n let personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n \n isEqual(personA, personB); // true\n ```\n \n Due to the expense of array comparisons, collections will never be equal to\n each other even if each of their items are equal to each other.\n \n ```javascript\n import { isEqual } from '@ember/utils';\n \n isEqual([4, 2], [4, 2]); // false\n ```\n \n @method isEqual\n @for @ember/utils\n @static\n @param {Object} a first object to compare\n @param {Object} b second object to compare\n @return {Boolean}\n @public\n */\n function (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});","enifed('ember-runtime/lib/mixins/-proxy', ['exports', '@glimmer/reference', 'ember-meta', 'ember-metal', 'ember-utils', '@ember/debug'], function (exports, _reference, _emberMeta, _emberMetal, _emberUtils, _debug) {\n 'use strict';\n\n exports.contentFor = contentFor;\n\n function contentPropertyDidChange(content, contentKey) {\n var key = contentKey.slice(8); // remove \"content.\"\n if (key in this) {\n return;\n } // if shadowed in proxy\n (0, _emberMetal.notifyPropertyChange)(this, key);\n } /**\n @module ember\n */\n\n function contentFor(proxy, m) {\n var content = (0, _emberMetal.get)(proxy, 'content');\n var tag = (m === undefined ? (0, _emberMeta.meta)(proxy) : m).readableTag();\n if (tag !== undefined) {\n tag.inner.second.inner.update((0, _emberMetal.tagFor)(content));\n }\n return content;\n }\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 exports.default = _emberMetal.Mixin.create({\n /**\n The object whose properties will be forwarded.\n @property content\n @type EmberObject\n @default null\n @private\n */\n content: null,\n\n init: function () {\n this._super.apply(this, arguments);\n (0, _emberUtils.setProxy)(this);\n var m = (0, _emberMeta.meta)(this);\n m.writableTag(function () {\n return (0, _reference.combine)([_reference.DirtyableTag.create(), _reference.UpdatableTag.create(_reference.CONSTANT_TAG)]);\n });\n },\n willDestroy: function () {\n this.set('content', null);\n this._super.apply(this, arguments);\n },\n\n isTruthy: (0, _emberMetal.computed)('content', function () {\n return !!(0, _emberMetal.get)(this, 'content');\n }),\n\n willWatchProperty: function (key) {\n (0, _emberMetal.addObserver)(this, 'content.' + key, null, contentPropertyDidChange);\n },\n didUnwatchProperty: function (key) {\n (0, _emberMetal.removeObserver)(this, 'content.' + key, null, contentPropertyDidChange);\n },\n unknownProperty: function (key) {\n var content = contentFor(this);\n if (content) {\n return (0, _emberMetal.get)(content, key);\n }\n },\n setUnknownProperty: function (key, value) {\n var m = (0, _emberMeta.meta)(this);\n\n if (m.proto === this) {\n // if marked as prototype then just defineProperty\n // rather than delegate\n (0, _emberMetal.defineProperty)(this, key, null, value);\n return value;\n }\n\n var content = contentFor(this, m);\n\n false && !content && (0, _debug.assert)('Cannot delegate set(\\'' + key + '\\', ' + value + ') to the \\'content\\' property of object proxy ' + this + ': its \\'content\\' is undefined.', content);\n\n return (0, _emberMetal.set)(content, key, value);\n }\n });\n});","enifed('ember-runtime/lib/mixins/action_handler', ['exports', 'ember-metal', '@ember/debug'], function (exports, _emberMetal, _debug) {\n 'use strict';\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 /**\n @module ember\n */\n\n var ActionHandler = _emberMetal.Mixin.create({\n mergedProperties: ['actions'],\n\n send: function (actionName) {\n for (_len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n false && !(!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 shouldBubble = this.actions[actionName].apply(this, args) === true;\n\n if (!shouldBubble) {\n return;\n }\n }\n\n var target = (0, _emberMetal.get)(this, 'target'),\n _len,\n args,\n _key,\n shouldBubble;\n if (target) {\n false && !(typeof target.send === 'function') && (0, _debug.assert)('The `target` for ' + this + ' (' + target + ') does not have a `send` method', typeof target.send === 'function');\n\n target.send.apply(target, arguments);\n }\n }\n });\n\n exports.default = ActionHandler;\n});","enifed('ember-runtime/lib/mixins/array', ['exports', '@ember/deprecated-features', 'ember-metal', 'ember-utils', '@ember/debug', 'ember-runtime/lib/mixins/enumerable', 'ember-runtime/lib/compare', 'ember-environment', 'ember-runtime/lib/mixins/observable', 'ember-runtime/lib/copy', '@ember/error', 'ember-runtime/lib/mixins/mutable_enumerable', 'ember-runtime/lib/type-of'], function (exports, _deprecatedFeatures, _emberMetal, _emberUtils, _debug, _enumerable, _compare, _emberEnvironment, _observable, _copy, _error, _mutable_enumerable, _typeOf) {\n 'use strict';\n\n exports.MutableArray = exports.NativeArray = exports.A = undefined;\n exports.isEmberArray = function (obj) {\n return obj && obj[EMBER_ARRAY];\n };\n exports.uniqBy = uniqBy;\n exports.isArray = isArray;\n exports.removeAt = removeAt;\n\n var _Mixin$create, _NativeArray;\n\n var EMPTY_ARRAY = Object.freeze([]);\n var EMBER_ARRAY = (0, _emberUtils.symbol)('EMBER_ARRAY');\n\n var identityFunction = function (item) {\n return item;\n };\n\n function uniqBy(array) {\n var key = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : identityFunction;\n false && !isArray(array) && (0, _debug.assert)('first argument passed to `uniqBy` should be array', isArray(array));\n\n var ret = A();\n var seen = new Set();\n var getter = typeof key === 'function' ? key : function (item) {\n return (0, _emberMetal.get)(item, key);\n };\n\n array.forEach(function (item) {\n var val = getter(item);\n if (!seen.has(val)) {\n seen.add(val);\n ret.push(item);\n }\n });\n\n return ret;\n }\n\n function iter(key, value) {\n var valueProvided = arguments.length === 2;\n return valueProvided ? function (item) {\n return value === (0, _emberMetal.get)(item, key);\n } : function (item) {\n return !!(0, _emberMetal.get)(item, key);\n };\n }\n\n function findIndex(array, predicate, startAt) {\n var len = array.length,\n index,\n item;\n for (index = startAt; index < len; index++) {\n item = (0, _emberMetal.objectAt)(array, index);\n\n if (predicate(item, index, array)) {\n return index;\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, _emberMetal.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 return findIndex(array, function (item, index, array) {\n return !cb(item, index, array);\n }, 0) === -1;\n }\n\n function indexOf(array, val) {\n var startAt = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n var withNaNCheck = arguments[3];\n\n var len = array.length;\n\n if (startAt < 0) {\n startAt += len;\n }\n\n // SameValueZero comparison (NaN !== NaN)\n var predicate = withNaNCheck && val !== val ? function (item) {\n return item !== item;\n } : function (item) {\n return item === val;\n };\n return findIndex(array, predicate, startAt);\n }\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 function isArray(_obj) {\n var obj = _obj;\n\n\n if (!obj || obj.setInterval) {\n return false;\n }\n if (Array.isArray(obj) || ArrayMixin.detect(obj)) {\n return true;\n }\n\n var type = (0, _typeOf.typeOf)(obj);\n if ('array' === type) {\n return true;\n }\n var length = obj.length;\n if (typeof length === 'number' && length === length && 'object' === type) {\n return true;\n }\n return false;\n }\n\n // ..........................................................\n // ARRAY\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 classes that can\n be instantiated to implement array-like behavior. Both of these classes use\n the Array Mixin by way of the MutableArray mixin, which allows observable\n changes to be made to the 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 a KVO-friendly way. You can also be notified whenever the\n 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 var ArrayMixin = _emberMetal.Mixin.create(_enumerable.default, (_Mixin$create = {}, _Mixin$create[EMBER_ARRAY] = true, _Mixin$create.objectsAt = function (indexes) {\n var _this = this;\n\n return indexes.map(function (idx) {\n return (0, _emberMetal.objectAt)(_this, idx);\n });\n }, _Mixin$create['[]'] = (0, _emberMetal.computed)({\n get: function () {\n return this;\n },\n set: function (key, value) {\n this.replace(0, this.length, value);\n return this;\n }\n }), _Mixin$create.firstObject = (0, _emberMetal.computed)(function () {\n return (0, _emberMetal.objectAt)(this, 0);\n }).readOnly(), _Mixin$create.lastObject = (0, _emberMetal.computed)(function () {\n return (0, _emberMetal.objectAt)(this, this.length - 1);\n }).readOnly(), _Mixin$create.slice = function () {\n var beginIndex = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;\n var endIndex = arguments[1];\n\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, _emberMetal.objectAt)(this, beginIndex++);\n }\n\n return ret;\n }, _Mixin$create.indexOf = function (object, startAt) {\n return indexOf(this, object, startAt, false);\n }, _Mixin$create.lastIndexOf = function (object, startAt) {\n var len = this.length,\n idx;\n\n if (startAt === undefined || startAt >= len) {\n startAt = len - 1;\n }\n\n if (startAt < 0) {\n startAt += len;\n }\n\n for (idx = startAt; idx >= 0; idx--) {\n if ((0, _emberMetal.objectAt)(this, idx) === object) {\n return idx;\n }\n }\n\n return -1;\n }, _Mixin$create.addArrayObserver = function (target, opts) {\n return (0, _emberMetal.addArrayObserver)(this, target, opts);\n }, _Mixin$create.removeArrayObserver = function (target, opts) {\n return (0, _emberMetal.removeArrayObserver)(this, target, opts);\n }, _Mixin$create.hasArrayObservers = (0, _emberMetal.computed)(function () {\n return (0, _emberMetal.hasListeners)(this, '@array:change') || (0, _emberMetal.hasListeners)(this, '@array:before');\n }), _Mixin$create.arrayContentWillChange = function (startIdx, removeAmt, addAmt) {\n return (0, _emberMetal.arrayContentWillChange)(this, startIdx, removeAmt, addAmt);\n }, _Mixin$create.arrayContentDidChange = function (startIdx, removeAmt, addAmt) {\n return (0, _emberMetal.arrayContentDidChange)(this, startIdx, removeAmt, addAmt);\n }, _Mixin$create.forEach = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null,\n index,\n item;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`forEach` expects a function as first argument.', typeof callback === 'function');\n\n var length = this.length;\n\n for (index = 0; index < length; index++) {\n item = this.objectAt(index);\n\n callback.call(target, item, index, this);\n }\n\n return this;\n }, _Mixin$create.getEach = (0, _emberMetal.aliasMethod)('mapBy'), _Mixin$create.setEach = function (key, value) {\n return this.forEach(function (item) {\n return (0, _emberMetal.set)(item, key, value);\n });\n }, _Mixin$create.map = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`map` expects a function as first argument.', typeof callback === 'function');\n\n var ret = A();\n\n this.forEach(function (x, idx, i) {\n return ret[idx] = callback.call(target, x, idx, i);\n });\n\n return ret;\n }, _Mixin$create.mapBy = function (key) {\n return this.map(function (next) {\n return (0, _emberMetal.get)(next, key);\n });\n }, _Mixin$create.filter = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`filter` expects a function as first argument.', typeof callback === 'function');\n\n var ret = A();\n\n this.forEach(function (x, idx, i) {\n if (callback.call(target, x, idx, i)) {\n ret.push(x);\n }\n });\n\n return ret;\n }, _Mixin$create.reject = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`reject` expects a function as first argument.', typeof callback === 'function');\n\n return this.filter(function () {\n return !callback.apply(target, arguments);\n });\n }, _Mixin$create.filterBy = function () {\n return this.filter(iter.apply(undefined, arguments));\n }, _Mixin$create.rejectBy = function () {\n return this.reject(iter.apply(undefined, arguments));\n }, _Mixin$create.find = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`find` expects a function as first argument.', typeof callback === 'function');\n\n return find(this, callback, target);\n }, _Mixin$create.findBy = function () {\n return find(this, iter.apply(undefined, arguments));\n }, _Mixin$create.every = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`every` expects a function as first argument.', typeof callback === 'function');\n\n return every(this, callback, target);\n }, _Mixin$create.isEvery = function () {\n return every(this, iter.apply(undefined, arguments));\n }, _Mixin$create.any = function (callback) {\n var target = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : null;\n false && !(typeof callback === 'function') && (0, _debug.assert)('`any` expects a function as first argument.', typeof callback === 'function');\n\n return any(this, callback, target);\n }, _Mixin$create.isAny = function () {\n return any(this, iter.apply(undefined, arguments));\n }, _Mixin$create.reduce = function (callback, initialValue) {\n false && !(typeof callback === 'function') && (0, _debug.assert)('`reduce` expects a function as first argument.', typeof callback === 'function');\n\n var ret = initialValue;\n\n this.forEach(function (item, i) {\n ret = callback(ret, item, i, this);\n }, this);\n\n return ret;\n }, _Mixin$create.invoke = function (methodName) {\n for (_len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n var ret = A(),\n _len,\n args,\n _key;\n\n this.forEach(function (item) {\n return ret.push((0, _emberUtils.tryInvoke)(item, methodName, args));\n });\n\n return ret;\n }, _Mixin$create.toArray = function () {\n return this.map(function (item) {\n return item;\n });\n }, _Mixin$create.compact = function () {\n return this.filter(function (value) {\n return value != null;\n });\n }, _Mixin$create.includes = function (object, startAt) {\n return indexOf(this, object, startAt, true) !== -1;\n }, _Mixin$create.sortBy = function () {\n var sortKeys = arguments;\n\n return this.toArray().sort(function (a, b) {\n var i, key, propA, propB, compareValue;\n\n for (i = 0; i < sortKeys.length; i++) {\n key = sortKeys[i];\n propA = (0, _emberMetal.get)(a, key);\n propB = (0, _emberMetal.get)(b, key);\n // return 1 or -1 else continue to the next sortKey\n\n compareValue = (0, _compare.default)(propA, propB);\n\n\n if (compareValue) {\n return compareValue;\n }\n }\n return 0;\n });\n }, _Mixin$create.uniq = function () {\n return uniqBy(this);\n }, _Mixin$create.uniqBy = function (key) {\n return uniqBy(this, key);\n }, _Mixin$create.without = function (value) {\n if (!this.includes(value)) {\n return this; // nothing to do\n }\n\n // SameValueZero comparison (NaN !== NaN)\n var predicate = value === value ? function (item) {\n return item !== value;\n } : function (item) {\n return item === item;\n };\n return this.filter(predicate);\n }, _Mixin$create['@each'] = _deprecatedFeatures.ARRAY_AT_EACH ? (0, _emberMetal.computed)(function () {\n false && !false && (0, _debug.deprecate)('Getting the \\'@each\\' property on object ' + (0, _emberUtils.toString)(this) + ' is deprecated', false, {\n id: 'ember-metal.getting-each',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_getting-the-each-property'\n });\n\n return (0, _emberMetal.eachProxyFor)(this);\n }).readOnly() : undefined, _Mixin$create));\n\n var OUT_OF_RANGE_EXCEPTION = 'Index out of range';\n\n function removeAt(array, start) {\n var len = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 1;\n\n if ('number' === typeof start) {\n if (start < 0 || start >= array.length) {\n throw new _error.default(OUT_OF_RANGE_EXCEPTION);\n }\n\n array.replace(start, len, EMPTY_ARRAY);\n }\n\n return array;\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 var MutableArray = _emberMetal.Mixin.create(ArrayMixin, _mutable_enumerable.default, {\n clear: function () {\n var len = this.length;\n if (len === 0) {\n return this;\n }\n\n this.replace(0, len, EMPTY_ARRAY);\n return this;\n },\n insertAt: function (idx, object) {\n if (idx > this.length) {\n throw new _error.default(OUT_OF_RANGE_EXCEPTION);\n }\n\n this.replace(idx, 0, [object]);\n return this;\n },\n removeAt: function (start, len) {\n return removeAt(this, start, len);\n },\n pushObject: function (obj) {\n this.insertAt(this.length, obj);\n return obj;\n },\n pushObjects: function (objects) {\n this.replace(this.length, 0, objects);\n return this;\n },\n popObject: function () {\n var len = this.length;\n if (len === 0) {\n return null;\n }\n\n var ret = (0, _emberMetal.objectAt)(this, len - 1);\n this.removeAt(len - 1, 1);\n return ret;\n },\n shiftObject: function () {\n if (this.length === 0) {\n return null;\n }\n\n var ret = (0, _emberMetal.objectAt)(this, 0);\n this.removeAt(0);\n return ret;\n },\n unshiftObject: function (obj) {\n this.insertAt(0, obj);\n return obj;\n },\n unshiftObjects: function (objects) {\n this.replace(0, 0, objects);\n return this;\n },\n reverseObjects: function () {\n var len = this.length;\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 setObjects: function (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 removeObject: function (obj) {\n var loc = this.length || 0,\n curObject;\n while (--loc >= 0) {\n curObject = (0, _emberMetal.objectAt)(this, loc);\n\n\n if (curObject === obj) {\n this.removeAt(loc);\n }\n }\n return this;\n },\n removeObjects: function (objects) {\n var i;\n\n (0, _emberMetal.beginPropertyChanges)();\n for (i = objects.length - 1; i >= 0; i--) {\n this.removeObject(objects[i]);\n }\n (0, _emberMetal.endPropertyChanges)();\n return this;\n },\n addObject: function (obj) {\n var included = this.includes(obj);\n\n if (!included) {\n this.pushObject(obj);\n }\n\n return this;\n },\n addObjects: function (objects) {\n var _this2 = this;\n\n (0, _emberMetal.beginPropertyChanges)();\n objects.forEach(function (obj) {\n return _this2.addObject(obj);\n });\n (0, _emberMetal.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\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 @module ember\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 var NativeArray = _emberMetal.Mixin.create(MutableArray, _observable.default, {\n objectAt: function (idx) {\n return this[idx];\n },\n replace: function (start, deleteCount) {\n var items = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : EMPTY_ARRAY;\n false && !Array.isArray(items) && (0, _debug.assert)('The third argument to replace needs to be an array.', Array.isArray(items));\n\n (0, _emberMetal.replaceInNativeArray)(this, start, deleteCount, items);\n\n return this;\n },\n copy: function (deep) {\n false && !false && (0, _debug.deprecate)('Using `NativeArray#copy` is deprecated', false, {\n id: 'ember-runtime.using-array-copy',\n until: '3.5.0'\n });\n\n if (deep) {\n return this.map(function (item) {\n return (0, _copy.default)(item, true);\n });\n }\n\n return this.slice();\n }\n });\n\n // Remove any methods implemented natively so we don't override them\n var ignore = ['length'];\n NativeArray.keys().forEach(function (methodName) {\n if (Array.prototype[methodName]) {\n ignore.push(methodName);\n }\n });\n\n exports.NativeArray = NativeArray = (_NativeArray = NativeArray).without.apply(_NativeArray, ignore);\n\n var A = void 0;\n\n if (_emberEnvironment.ENV.EXTEND_PROTOTYPES.Array) {\n NativeArray.apply(Array.prototype);\n exports.A = A = function (arr) {\n return arr || [];\n };\n } else {\n exports.A = A = function (arr) {\n if (!arr) {\n arr = [];\n }\n return ArrayMixin.detect(arr) ? arr : NativeArray.apply(arr);\n };\n }\n\n exports.A = A;\n exports.NativeArray = NativeArray;\n exports.MutableArray = MutableArray;\n exports.default = ArrayMixin;\n});","enifed('ember-runtime/lib/mixins/comparable', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.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});","enifed('ember-runtime/lib/mixins/container_proxy', ['exports', '@ember/runloop', 'ember-metal'], function (exports, _runloop, _emberMetal) {\n 'use strict';\n\n /**\n ContainerProxyMixin is used to provide public access to specific\n container functionality.\n \n @class ContainerProxyMixin\n @private\n */\n\n /**\n @module ember\n */\n exports.default = _emberMetal.Mixin.create({\n /**\n The container stores state.\n @private\n @property {Ember.Container} __container__\n */\n __container__: null,\n\n ownerInjection: function () {\n return this.__container__.ownerInjection();\n },\n lookup: function (fullName, options) {\n return this.__container__.lookup(fullName, options);\n },\n destroy: function () {\n var container = this.__container__;\n\n if (container) {\n (0, _runloop.join)(function () {\n container.destroy();\n (0, _runloop.schedule)('destroy', container, 'finalizeDestroy');\n });\n }\n\n this._super();\n },\n factoryFor: function (fullName) {\n var options = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\n return this.__container__.factoryFor(fullName, options);\n }\n });\n});","enifed('ember-runtime/lib/mixins/copyable', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.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});","enifed('ember-runtime/lib/mixins/enumerable', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.Mixin.create();\n});","enifed('ember-runtime/lib/mixins/evented', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.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 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} method The callback to execute\n @return this\n @public\n */\n on: function (name, target, method) {\n (0, _emberMetal.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. If this argument is passed then the 3rd argument\n becomes the function.\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} method The callback to execute\n @return this\n @public\n */\n one: function (name, target, method) {\n if (!method) {\n method = target;\n target = null;\n }\n\n (0, _emberMetal.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: function (name) {\n var _len, args, _key;\n\n for (_len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n (0, _emberMetal.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} method The function of the subscription\n @return this\n @public\n */\n off: function (name, target, method) {\n (0, _emberMetal.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: function (name) {\n return (0, _emberMetal.hasListeners)(this, name);\n }\n });\n});","enifed('ember-runtime/lib/mixins/mutable_enumerable', ['exports', 'ember-runtime/lib/mixins/enumerable', 'ember-metal'], function (exports, _enumerable, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.Mixin.create(_enumerable.default);\n});","enifed('ember-runtime/lib/mixins/observable', ['exports', 'ember-metal', '@ember/debug'], function (exports, _emberMetal, _debug) {\n 'use strict';\n\n exports.default = _emberMetal.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: function (keyName) {\n return (0, _emberMetal.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: function () {\n var _len, args, _key;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n return _emberMetal.getProperties.apply(undefined, [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: function (keyName, value) {\n return (0, _emberMetal.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: function (hash) {\n return (0, _emberMetal.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: function () {\n (0, _emberMetal.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: function () {\n (0, _emberMetal.endPropertyChanges)();\n return this;\n },\n\n /**\n @method propertyWillChange\n @private\n */\n propertyWillChange: function (keyName) {\n (0, _emberMetal.propertyWillChange)(this, keyName);\n return this;\n },\n\n /**\n @method propertyDidChange\n @private\n */\n propertyDidChange: function (keyName) {\n (0, _emberMetal.propertyDidChange)(this, keyName);\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: function (keyName) {\n (0, _emberMetal.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 ### 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 @return {Observable}\n @public\n */\n addObserver: function (key, target, method) {\n (0, _emberMetal.addObserver)(this, key, target, method);\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 @return {Observable}\n @public\n */\n removeObserver: function (key, target, method) {\n (0, _emberMetal.removeObserver)(this, key, target, method);\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: function (key) {\n return (0, _emberMetal.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: function (keyName, defaultValue) {\n return (0, _emberMetal.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: function (keyName) {\n var increment = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n false && !(!isNaN(parseFloat(increment)) && isFinite(increment)) && (0, _debug.assert)('Must pass a numeric value to incrementProperty', !isNaN(parseFloat(increment)) && isFinite(increment));\n\n return (0, _emberMetal.set)(this, keyName, (parseFloat((0, _emberMetal.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: function (keyName) {\n var decrement = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 1;\n false && !(!isNaN(parseFloat(decrement)) && isFinite(decrement)) && (0, _debug.assert)('Must pass a numeric value to decrementProperty', !isNaN(parseFloat(decrement)) && isFinite(decrement));\n\n return (0, _emberMetal.set)(this, keyName, ((0, _emberMetal.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: function (keyName) {\n return (0, _emberMetal.set)(this, keyName, !(0, _emberMetal.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: function (keyName) {\n return (0, _emberMetal.getCachedValueFor)(this, keyName);\n }\n });\n});","enifed('ember-runtime/lib/mixins/promise_proxy', ['exports', 'ember-metal', '@ember/error'], function (exports, _emberMetal, _error) {\n 'use strict';\n\n /**\n @module @ember/object\n */\n\n function tap(proxy, promise) {\n (0, _emberMetal.setProperties)(proxy, {\n isFulfilled: false,\n isRejected: false\n });\n\n return promise.then(function (value) {\n if (!proxy.isDestroyed && !proxy.isDestroying) {\n (0, _emberMetal.setProperties)(proxy, {\n content: value,\n isFulfilled: true\n });\n }\n return value;\n }, function (reason) {\n if (!proxy.isDestroyed && !proxy.isDestroying) {\n (0, _emberMetal.setProperties)(proxy, {\n reason: reason,\n isRejected: true\n });\n }\n throw reason;\n }, 'Ember: PromiseProxy');\n }\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 exports.default = _emberMetal.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, _emberMetal.computed)('isSettled', function () {\n return !(0, _emberMetal.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, _emberMetal.computed)('isRejected', 'isFulfilled', function () {\n return (0, _emberMetal.get)(this, 'isRejected') || (0, _emberMetal.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, _emberMetal.computed)({\n get: function () {\n throw new _error.default(\"PromiseProxy's promise must be set\");\n },\n set: function (key, promise) {\n return tap(this, promise);\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 function promiseAlias(name) {\n return function () {\n var promise = (0, _emberMetal.get)(this, 'promise');\n return promise[name].apply(promise, arguments);\n };\n }\n});","enifed('ember-runtime/lib/mixins/registry_proxy', ['exports', '@ember/debug', 'ember-metal'], function (exports, _debug, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.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: function (fullName, options) {\n false && !this.__registry__.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.__registry__.isValidFullName(fullName));\n\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 {Function} (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 function registryAlias(name) {\n return function () {\n var _registry__;\n\n return (_registry__ = this.__registry__)[name].apply(_registry__, arguments);\n };\n }\n});","enifed('ember-runtime/lib/mixins/target_action_support', ['exports', 'ember-environment', 'ember-metal', '@ember/debug', '@ember/deprecated-features'], function (exports, _emberEnvironment, _emberMetal, _debug, _deprecatedFeatures) {\n 'use strict';\n\n exports.default = _emberMetal.Mixin.create({\n target: null,\n targetObject: _deprecatedFeatures.TARGET_OBJECT ? (0, _emberMetal.descriptor)({\n configurable: true,\n enumerable: false,\n get: function () {\n var message = this + ' Usage of `targetObject` is deprecated. Please use `target` instead.';\n\n false && !false && (0, _debug.deprecate)(message, false, { id: 'ember-runtime.using-targetObject', until: '3.5.0' });\n\n return this._targetObject;\n },\n set: function (value) {\n var message = this + ' Usage of `targetObject` is deprecated. Please use `target` instead.';\n\n false && !false && (0, _debug.deprecate)(message, false, { id: 'ember-runtime.using-targetObject', until: '3.5.0' });\n\n this._targetObject = value;\n }\n }) : undefined,\n action: null,\n actionContext: null,\n\n actionContextObject: (0, _emberMetal.computed)('actionContext', function () {\n var actionContext = (0, _emberMetal.get)(this, 'actionContext'),\n value;\n\n if (typeof actionContext === 'string') {\n value = (0, _emberMetal.get)(this, actionContext);\n\n if (value === undefined) {\n value = (0, _emberMetal.get)(_emberEnvironment.context.lookup, actionContext);\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: function () {\n var opts = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},\n ret,\n _target,\n _target2;\n var action = opts.action,\n target = opts.target,\n actionContext = opts.actionContext;\n\n action = action || (0, _emberMetal.get)(this, 'action');\n target = target || getTarget(this);\n\n if (actionContext === undefined) {\n actionContext = (0, _emberMetal.get)(this, 'actionContextObject') || this;\n }\n\n if (target && action) {\n ret = void 0;\n\n\n if (target.send) {\n\n ret = (_target = target).send.apply(_target, [action].concat(actionContext));\n } else {\n\n false && !(typeof target[action] === 'function') && (0, _debug.assert)('The action \\'' + action + '\\' did not exist on ' + target, typeof target[action] === 'function');\n\n ret = (_target2 = target)[action].apply(_target2, [].concat(actionContext));\n }\n\n if (ret !== false) {\n return true;\n }\n }\n\n return false;\n }\n });\n\n function getTarget(instance) {\n var target = (0, _emberMetal.get)(instance, 'target'),\n value;\n if (target) {\n if (typeof target === 'string') {\n value = (0, _emberMetal.get)(instance, target);\n\n if (value === undefined) {\n value = (0, _emberMetal.get)(_emberEnvironment.context.lookup, target);\n }\n\n return value;\n } else {\n return target;\n }\n }\n\n // if a `targetObject` CP was provided, use it\n if (target) {\n return target;\n }\n\n // if _targetObject use it\n if (_deprecatedFeatures.TARGET_OBJECT && instance._targetObject) {\n return instance._targetObject;\n }\n\n return null;\n }\n});","enifed('ember-runtime/lib/system/array_proxy', ['exports', 'ember-babel', 'ember-metal', 'ember-runtime/lib/system/object', 'ember-runtime/lib/mixins/array', '@ember/debug'], function (exports, _emberBabel, _emberMetal, _object, _array, _debug) {\n 'use strict';\n\n /**\n @module @ember/array\n */\n\n var ARRAY_OBSERVER_MAPPING = {\n willChange: '_arrangedContentArrayWillChange',\n didChange: '_arrangedContentArrayDidChange'\n };\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 var ArrayProxy = function (_EmberObject) {\n (0, _emberBabel.inherits)(ArrayProxy, _EmberObject);\n\n function ArrayProxy() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _EmberObject.apply(this, arguments));\n }\n\n ArrayProxy.prototype.init = function () {\n var _EmberObject$prototyp;\n\n (_EmberObject$prototyp = _EmberObject.prototype.init).call.apply(_EmberObject$prototyp, [this].concat(Array.prototype.slice.call(arguments)));\n\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 this._objectsDirtyIndex = 0;\n this._objects = null;\n\n this._lengthDirty = true;\n this._length = 0;\n\n this._arrangedContent = null;\n this._addArrangedContentArrayObsever();\n };\n\n ArrayProxy.prototype.willDestroy = function () {\n this._removeArrangedContentArrayObsever();\n };\n\n ArrayProxy.prototype.objectAtContent = function (idx) {\n return (0, _emberMetal.objectAt)((0, _emberMetal.get)(this, 'arrangedContent'), idx);\n };\n\n ArrayProxy.prototype.replace = function (idx, amt, objects) {\n false && !((0, _emberMetal.get)(this, 'arrangedContent') === (0, _emberMetal.get)(this, 'content')) && (0, _debug.assert)('Mutating an arranged ArrayProxy is not allowed', (0, _emberMetal.get)(this, 'arrangedContent') === (0, _emberMetal.get)(this, 'content'));\n\n this.replaceContent(idx, amt, objects);\n };\n\n ArrayProxy.prototype.replaceContent = function (idx, amt, objects) {\n (0, _emberMetal.get)(this, 'content').replace(idx, amt, objects);\n };\n\n ArrayProxy.prototype.objectAt = function (idx) {\n var arrangedContent, length, i;\n\n if (this._objects === null) {\n this._objects = [];\n }\n\n if (this._objectsDirtyIndex !== -1 && idx >= this._objectsDirtyIndex) {\n arrangedContent = (0, _emberMetal.get)(this, 'arrangedContent');\n\n if (arrangedContent) {\n length = this._objects.length = (0, _emberMetal.get)(arrangedContent, 'length');\n\n\n for (i = this._objectsDirtyIndex; i < length; i++) {\n this._objects[i] = this.objectAtContent(i);\n }\n } else {\n this._objects.length = 0;\n }\n this._objectsDirtyIndex = -1;\n }\n\n return this._objects[idx];\n };\n\n ArrayProxy.prototype[_emberMetal.PROPERTY_DID_CHANGE] = function (key) {\n var oldLength, arrangedContent, newLength;\n\n if (key === 'arrangedContent') {\n oldLength = this._objects === null ? 0 : this._objects.length;\n arrangedContent = (0, _emberMetal.get)(this, 'arrangedContent');\n newLength = arrangedContent ? (0, _emberMetal.get)(arrangedContent, 'length') : 0;\n\n\n this._removeArrangedContentArrayObsever();\n this.arrayContentWillChange(0, oldLength, newLength);\n\n this._invalidate();\n\n this.arrayContentDidChange(0, oldLength, newLength);\n this._addArrangedContentArrayObsever();\n } else if (key === 'content') {\n this._invalidate();\n }\n };\n\n ArrayProxy.prototype._addArrangedContentArrayObsever = function () {\n var arrangedContent = (0, _emberMetal.get)(this, 'arrangedContent');\n if (arrangedContent) {\n false && !(arrangedContent !== this) && (0, _debug.assert)(\"Can't set ArrayProxy's content to itself\", arrangedContent !== this);\n false && !((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\n (0, _emberMetal.addArrayObserver)(arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n\n this._arrangedContent = arrangedContent;\n }\n };\n\n ArrayProxy.prototype._removeArrangedContentArrayObsever = function () {\n if (this._arrangedContent) {\n (0, _emberMetal.removeArrayObserver)(this._arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n }\n };\n\n ArrayProxy.prototype._arrangedContentArrayWillChange = function () {};\n\n ArrayProxy.prototype._arrangedContentArrayDidChange = function (proxy, idx, removedCnt, addedCnt) {\n this.arrayContentWillChange(idx, removedCnt, addedCnt);\n\n var dirtyIndex = idx,\n length;\n if (dirtyIndex < 0) {\n length = (0, _emberMetal.get)(this._arrangedContent, 'length');\n\n dirtyIndex += length + removedCnt - addedCnt;\n }\n\n if (this._objectsDirtyIndex === -1) {\n this._objectsDirtyIndex = dirtyIndex;\n } else {\n if (this._objectsDirtyIndex > dirtyIndex) {\n this._objectsDirtyIndex = dirtyIndex;\n }\n }\n\n this._lengthDirty = true;\n\n this.arrayContentDidChange(idx, removedCnt, addedCnt);\n };\n\n ArrayProxy.prototype._invalidate = function () {\n this._objectsDirtyIndex = 0;\n this._lengthDirty = true;\n };\n\n (0, _emberBabel.createClass)(ArrayProxy, [{\n key: 'length',\n get: function () {\n var arrangedContent;\n\n if (this._lengthDirty) {\n arrangedContent = (0, _emberMetal.get)(this, 'arrangedContent');\n\n this._length = arrangedContent ? (0, _emberMetal.get)(arrangedContent, 'length') : 0;\n this._lengthDirty = false;\n }\n\n return this._length;\n },\n set: function (value) {\n var length = this.length;\n var removedCount = length - value;\n var added = void 0;\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, _emberMetal.get)(this, 'content');\n if (content) {\n (0, _emberMetal.replace)(content, value, removedCount, added);\n\n this._invalidate();\n }\n }\n }]);\n return ArrayProxy;\n }(_object.default);\n\n exports.default = ArrayProxy;\n\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, _emberMetal.alias)('content')\n });\n});","enifed('ember-runtime/lib/system/core_object', ['exports', 'ember-babel', 'container', '@ember/deprecated-features', '@ember/polyfills', 'ember-utils', '@ember/runloop', 'ember-meta', 'ember-metal', 'ember-runtime/lib/mixins/action_handler', '@ember/debug', 'ember-environment'], function (exports, _emberBabel, _container, _deprecatedFeatures, _polyfills, _emberUtils, _runloop, _emberMeta, _emberMetal, _action_handler, _debug, _emberEnvironment) {\n 'use strict';\n\n /**\n @module @ember/object\n */\n\n var _reopen = _emberMetal.Mixin.prototype.reopen;\n\n var wasApplied = new _emberUtils.WeakSet();\n\n var factoryMap = new WeakMap();\n\n var prototypeMixinMap = new WeakMap();\n\n /**\n @class CoreObject\n @public\n */\n\n var CoreObject = function () {\n CoreObject._initFactory = function (factory) {\n factoryMap.set(this, factory);\n };\n\n function CoreObject(properties) {\n var _self, concatenatedProperties, mergedProperties, hasConcatenatedProps, hasMergedProps, keyNames, i, keyName, value, possibleDesc, isDescriptor, baseValue;\n\n // pluck off factory\n var initFactory = factoryMap.get(this.constructor);\n if (initFactory !== undefined) {\n factoryMap.delete(this.constructor);\n _container.FACTORY_FOR.set(this, initFactory);\n }\n\n // prepare prototype...\n this.constructor.proto();\n\n var self = this; // only used in debug builds to enable the proxy trap\n\n // using DEBUG here to avoid the extraneous variable when not needed\n\n\n var m = (0, _emberMeta.meta)(self);\n var proto = m.proto;\n m.proto = self;\n\n if (properties !== undefined) {\n false && !(typeof properties === 'object' && properties !== null) && (0, _debug.assert)('EmberObject.create only accepts objects.', typeof properties === 'object' && properties !== null);\n false && !!(properties instanceof _emberMetal.Mixin) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _emberMetal.Mixin));\n\n concatenatedProperties = self.concatenatedProperties;\n mergedProperties = self.mergedProperties;\n hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n keyNames = Object.keys(properties);\n\n\n for (i = 0; i < keyNames.length; i++) {\n keyName = keyNames[i];\n value = properties[keyName];\n\n\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT && _emberMetal.Mixin.detectBinding(keyName)) {\n m.writeBindings(keyName, value);\n }\n\n false && !!(value instanceof _emberMetal.ComputedProperty) && (0, _debug.assert)('EmberObject.create no longer supports defining computed ' + 'properties. Define computed properties using extend() or reopen() ' + 'before calling create().', !(value instanceof _emberMetal.ComputedProperty));\n false && !!(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 false && !!(keyName === 'actions' && _action_handler.default.detect(this)) && (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(this)));\n\n possibleDesc = (0, _emberMeta.descriptorFor)(self, keyName, m);\n isDescriptor = possibleDesc !== undefined;\n\n\n if (!isDescriptor) {\n baseValue = self[keyName];\n\n\n if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n if (baseValue) {\n value = (0, _emberUtils.makeArray)(baseValue).concat(value);\n } else {\n value = (0, _emberUtils.makeArray)(value);\n }\n }\n\n if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n value = (0, _polyfills.assign)({}, baseValue, value);\n }\n }\n\n if (isDescriptor) {\n possibleDesc.set(self, keyName, value);\n } else if (typeof self.setUnknownProperty === 'function' && !(keyName in self)) {\n self.setUnknownProperty(keyName, value);\n } else {\n self[keyName] = value;\n }\n }\n }\n\n if (_deprecatedFeatures.BINDING_SUPPORT && _emberEnvironment.ENV._ENABLE_BINDING_SUPPORT) {\n _emberMetal.Mixin.finishPartial(self, m);\n }\n\n // using DEBUG here to avoid the extraneous variable when not needed\n\n (_self = self).init.apply(_self, arguments);\n\n m.proto = proto;\n (0, _emberMetal.finishChains)(m);\n (0, _emberMetal.sendEvent)(self, 'init', undefined, undefined, undefined, m);\n\n // only return when in debug builds and `self` is the proxy created above\n }\n\n CoreObject.prototype.reopen = function () {\n var _len, args, _key;\n\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n (0, _emberMetal.applyMixin)(this, args, true);\n return this;\n };\n\n CoreObject.prototype.init = function () {};\n\n CoreObject.prototype.destroy = function () {\n var m = (0, _emberMeta.peekMeta)(this);\n if (m.isSourceDestroying()) {\n return;\n }\n\n m.setSourceDestroying();\n\n (0, _runloop.schedule)('actions', this, this.willDestroy);\n (0, _runloop.schedule)('destroy', this, this._scheduledDestroy, m);\n\n return this;\n };\n\n CoreObject.prototype.willDestroy = function () {};\n\n CoreObject.prototype._scheduledDestroy = function (m) {\n if (m.isSourceDestroyed()) {\n return;\n }\n (0, _emberMeta.deleteMeta)(this);\n m.setSourceDestroyed();\n };\n\n CoreObject.prototype.toString = function () {\n var hasToStringExtension = typeof this.toStringExtension === 'function';\n var extension = hasToStringExtension ? ':' + this.toStringExtension() : '';\n\n var ret = '<' + ((0, _emberUtils.getName)(this) || _container.FACTORY_FOR.get(this) || this.constructor.toString()) + ':' + (0, _emberUtils.guidFor)(this) + extension + '>';\n\n return ret;\n };\n\n CoreObject.extend = function () {\n var Class = function (_ref) {\n (0, _emberBabel.inherits)(Class, _ref);\n\n function Class() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _ref.apply(this, arguments));\n }\n\n return Class;\n }(this);\n _reopen.apply(Class.PrototypeMixin, arguments);\n return Class;\n };\n\n CoreObject.create = function (props, extra) {\n var C = this;\n\n if (extra === undefined) {\n return new C(props);\n } else {\n return new C(flattenProps.apply(this, arguments));\n }\n };\n\n CoreObject.reopen = function () {\n this.willReopen();\n _reopen.apply(this.PrototypeMixin, arguments);\n return this;\n };\n\n CoreObject.willReopen = function () {\n var p = this.prototype;\n if (wasApplied.has(p)) {\n wasApplied.delete(p);\n\n // If the base mixin already exists and was applied, create a new mixin to\n // make sure that it gets properly applied. Reusing the same mixin after\n // the first `proto` call will cause it to get skipped.\n if (prototypeMixinMap.has(this)) {\n prototypeMixinMap.set(this, _emberMetal.Mixin.create(this.PrototypeMixin));\n }\n }\n };\n\n CoreObject.reopenClass = function () {\n (0, _emberMetal.applyMixin)(this, arguments, false);\n return this;\n };\n\n CoreObject.detect = function (obj) {\n if ('function' !== typeof obj) {\n return false;\n }\n while (obj) {\n if (obj === this) {\n return true;\n }\n obj = obj.superclass;\n }\n return false;\n };\n\n CoreObject.detectInstance = function (obj) {\n return obj instanceof this;\n };\n\n CoreObject.metaForProperty = function (key) {\n var proto = this.proto(); // ensure prototype is initialized\n var possibleDesc = (0, _emberMeta.descriptorFor)(proto, key);\n\n false && !(possibleDesc !== undefined) && (0, _debug.assert)('metaForProperty() could not find a computed property with key \\'' + key + '\\'.', possibleDesc !== undefined);\n\n return possibleDesc._meta || {};\n };\n\n CoreObject.eachComputedProperty = function (callback) {\n var binding = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;\n\n this.proto(); // ensure prototype is initialized\n var empty = {};\n\n (0, _emberMeta.meta)(this.prototype).forEachDescriptors(function (name, descriptor) {\n var _meta;\n\n if (descriptor.enumerable) {\n _meta = descriptor._meta || empty;\n\n callback.call(binding, name, _meta);\n }\n });\n };\n\n CoreObject.proto = function () {\n var p = this.prototype,\n parent;\n if (!wasApplied.has(p)) {\n wasApplied.add(p);\n parent = this.superclass;\n\n if (parent) {\n parent.proto();\n }\n\n // If the prototype mixin exists, apply it. In the case of native classes,\n // it will not exist (unless the class has been reopened).\n if (prototypeMixinMap.has(this)) {\n this.PrototypeMixin.apply(p);\n }\n }\n return p;\n };\n\n (0, _emberBabel.createClass)(CoreObject, [{\n key: 'isDestroyed',\n get: function () {\n return (0, _emberMeta.peekMeta)(this).isSourceDestroyed();\n },\n set: function () {\n false && !false && (0, _debug.assert)('You cannot set `' + this + '.isDestroyed` directly, please use `.destroy()`.', false);\n }\n }, {\n key: 'isDestroying',\n get: function () {\n return (0, _emberMeta.peekMeta)(this).isSourceDestroying();\n },\n set: function () {\n false && !false && (0, _debug.assert)('You cannot set `' + this + '.isDestroying` directly, please use `.destroy()`.', false);\n }\n }], [{\n key: 'PrototypeMixin',\n get: function () {\n var prototypeMixin = prototypeMixinMap.get(this);\n if (prototypeMixin === undefined) {\n prototypeMixin = _emberMetal.Mixin.create();\n prototypeMixin.ownerConstructor = this;\n prototypeMixinMap.set(this, prototypeMixin);\n }\n return prototypeMixin;\n }\n }, {\n key: 'superclass',\n get: function () {\n var c = Object.getPrototypeOf(this);\n if (c !== Function.prototype) return c;\n }\n }]);\n return CoreObject;\n }();\n\n CoreObject.toString = _emberMetal.classToString;\n (0, _emberUtils.setName)(CoreObject, 'Ember.CoreObject');\n\n CoreObject.isClass = true;\n CoreObject.isMethod = false;\n\n function flattenProps() {\n var concatenatedProperties = this.concatenatedProperties,\n mergedProperties = this.mergedProperties,\n _len2,\n props,\n _key2,\n i,\n properties,\n keyNames,\n j,\n k,\n keyName,\n value,\n baseValue,\n _baseValue;\n\n var hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n var hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n\n var initProperties = {};\n\n for (_len2 = arguments.length, props = Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {\n props[_key2] = arguments[_key2];\n }\n\n for (i = 0; i < props.length; i++) {\n properties = props[i];\n\n\n false && !!(properties instanceof _emberMetal.Mixin) && (0, _debug.assert)('EmberObject.create no longer supports mixing in other ' + 'definitions, use .extend & .create separately instead.', !(properties instanceof _emberMetal.Mixin));\n\n keyNames = Object.keys(properties);\n\n\n for (j = 0, k = keyNames.length; j < k; j++) {\n keyName = keyNames[j];\n value = properties[keyName];\n\n\n if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n baseValue = initProperties[keyName];\n\n\n if (baseValue) {\n value = (0, _emberUtils.makeArray)(baseValue).concat(value);\n } else {\n value = (0, _emberUtils.makeArray)(value);\n }\n }\n\n if (hasMergedProps && mergedProperties.indexOf(keyName) > -1) {\n _baseValue = initProperties[keyName];\n\n\n value = (0, _polyfills.assign)({}, _baseValue, value);\n }\n\n initProperties[keyName] = value;\n }\n }\n\n return initProperties;\n }\n\n exports.default = CoreObject;\n});","enifed('ember-runtime/lib/system/namespace', ['exports', 'ember-babel', 'ember-metal', 'ember-utils', 'ember-runtime/lib/system/object'], function (exports, _emberBabel, _emberMetal, _emberUtils, _object) {\n 'use strict';\n\n var Namespace = function (_EmberObject) {\n (0, _emberBabel.inherits)(Namespace, _EmberObject);\n\n function Namespace() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _EmberObject.apply(this, arguments));\n }\n\n Namespace.prototype.init = function () {\n (0, _emberMetal.addNamespace)(this);\n };\n\n Namespace.prototype.toString = function () {\n var name = (0, _emberMetal.get)(this, 'name') || (0, _emberMetal.get)(this, 'modulePrefix');\n if (name) {\n return name;\n }\n (0, _emberMetal.findNamespaces)();\n name = (0, _emberUtils.getName)(this);\n if (name === undefined) {\n name = (0, _emberUtils.guidFor)(this);\n (0, _emberUtils.setName)(this, name);\n }\n return name;\n };\n\n Namespace.prototype.nameClasses = function () {\n (0, _emberMetal.processNamespace)(this);\n };\n\n Namespace.prototype.destroy = function () {\n (0, _emberMetal.removeNamespace)(this);\n _EmberObject.prototype.destroy.call(this);\n };\n\n return Namespace;\n }(_object.default);\n\n exports.default = Namespace;\n\n Namespace.prototype.isNamespace = true;\n Namespace.NAMESPACES = _emberMetal.NAMESPACES;\n Namespace.NAMESPACES_BY_ID = _emberMetal.NAMESPACES_BY_ID;\n Namespace.processAll = _emberMetal.processAllNamespaces;\n Namespace.byName = _emberMetal.findNamespace;\n});","enifed('ember-runtime/lib/system/object', ['exports', 'ember-babel', 'container', 'ember-owner', 'ember-utils', 'ember-metal', 'ember-runtime/lib/system/core_object', 'ember-runtime/lib/mixins/observable', '@ember/debug'], function (exports, _emberBabel, _container, _emberOwner, _emberUtils, _emberMetal, _core_object, _observable) {\n 'use strict';\n\n exports.FrameworkObject = undefined;\n\n var OVERRIDE_OWNER = (0, _emberUtils.symbol)('OVERRIDE_OWNER');\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 /**\n @module @ember/object\n */\n\n var EmberObject = function (_CoreObject) {\n (0, _emberBabel.inherits)(EmberObject, _CoreObject);\n\n function EmberObject() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _CoreObject.apply(this, arguments));\n }\n\n (0, _emberBabel.createClass)(EmberObject, [{\n key: '_debugContainerKey',\n get: function () {\n var factory = _container.FACTORY_FOR.get(this);\n return factory !== undefined && factory.fullName;\n }\n }, {\n key: _emberOwner.OWNER,\n get: function () {\n if (this[OVERRIDE_OWNER]) {\n return this[OVERRIDE_OWNER];\n }\n\n var factory = _container.FACTORY_FOR.get(this);\n return factory !== undefined && factory.owner;\n },\n set: function (value) {\n this[OVERRIDE_OWNER] = value;\n }\n }]);\n return EmberObject;\n }(_core_object.default);\n\n exports.default = EmberObject;\n\n (0, _emberUtils.setName)(EmberObject, 'Ember.Object');\n\n _observable.default.apply(EmberObject.prototype);\n\n exports.FrameworkObject = EmberObject;\n});","enifed('ember-runtime/lib/system/object_proxy', ['exports', 'ember-babel', 'ember-runtime/lib/system/object', 'ember-runtime/lib/mixins/-proxy'], function (exports, _emberBabel, _object, _proxy) {\n 'use strict';\n\n var ObjectProxy = function (_FrameworkObject) {\n (0, _emberBabel.inherits)(ObjectProxy, _FrameworkObject);\n\n function ObjectProxy() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _FrameworkObject.apply(this, arguments));\n }\n\n return ObjectProxy;\n }(_object.default);\n\n exports.default = ObjectProxy;\n\n ObjectProxy.PrototypeMixin.reopen(_proxy.default);\n});","enifed('ember-runtime/lib/type-of', ['exports', 'ember-runtime/lib/system/object'], function (exports, _object) {\n 'use strict';\n\n exports.typeOf =\n\n /**\n @module @ember/utils\n */\n /**\n Returns a consistent type for the passed object.\n \n Use this instead of the built-in `typeof` to get the type of an item.\n It will return the same result across all browsers and includes a bit\n more detail. Here is what will be returned:\n \n | Return Value | Meaning |\n |---------------|------------------------------------------------------|\n | 'string' | String primitive or String object. |\n | 'number' | Number primitive or Number object. |\n | 'boolean' | Boolean primitive or Boolean object. |\n | 'null' | Null value |\n | 'undefined' | Undefined value |\n | 'function' | A function |\n | 'array' | An instance of Array |\n | 'regexp' | An instance of RegExp |\n | 'date' | An instance of Date |\n | 'filelist' | An instance of FileList |\n | 'class' | An Ember class (created using EmberObject.extend()) |\n | 'instance' | An Ember object instance |\n | 'error' | An instance of the Error object |\n | 'object' | A JavaScript object not inheriting from EmberObject |\n \n Examples:\n \n ```javascript\n import { A } from '@ember/array';\n import { typeOf } from '@ember/utils';\n import EmberObject from '@ember/object';\n \n typeOf(); // 'undefined'\n typeOf(null); // 'null'\n typeOf(undefined); // 'undefined'\n typeOf('michael'); // 'string'\n typeOf(new String('michael')); // 'string'\n typeOf(101); // 'number'\n typeOf(new Number(101)); // 'number'\n typeOf(true); // 'boolean'\n typeOf(new Boolean(true)); // 'boolean'\n typeOf(A); // 'function'\n typeOf([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 function (item) {\n if (item === null) {\n return 'null';\n }\n if (item === undefined) {\n return 'undefined';\n }\n var ret = TYPE_MAP[toString.call(item)] || 'object';\n\n if (ret === 'function') {\n if (_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 _object.default) {\n ret = 'instance';\n } else if (item instanceof Date) {\n ret = 'date';\n }\n }\n\n return ret;\n };\n\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 Array]': 'array',\n '[object Date]': 'date',\n '[object RegExp]': 'regexp',\n '[object Object]': 'object',\n '[object FileList]': 'filelist'\n };\n\n var toString = Object.prototype.toString;\n});","enifed('ember-utils', ['exports'], function (exports) {\n 'use strict';\n\n exports.Cache = exports.setProxy = exports.isProxy = exports.WeakSet = exports.HAS_NATIVE_PROXY = exports.HAS_NATIVE_SYMBOL = exports.toString = exports.setName = exports.getName = exports.makeArray = exports.tryInvoke = exports.canInvoke = exports.lookupDescriptor = exports.inspect = exports.setListeners = exports.setObservers = exports.getListeners = exports.getObservers = exports.wrap = exports.ROOT = exports.checkHasSuper = exports.intern = exports.guidFor = exports.generateGuid = exports.GUID_KEY = exports.uuid = exports.dictionary = exports.isInternalSymbol = exports.symbol = exports.NAME_KEY = undefined;\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 for (var key in obj) {\n if (key === str) {\n return key;\n }\n }\n return str;\n }\n\n /**\n Returns whether Type(value) is Object.\n \n Useful for checking whether a value is a valid WeakMap key.\n \n Refs: https://tc39.github.io/ecma262/#sec-typeof-operator-runtime-semantics-evaluation\n https://tc39.github.io/ecma262/#sec-weakmap.prototype.set\n \n @private\n @function isObject\n */\n function isObject(value) {\n return value !== null && (typeof value === 'object' || typeof value === 'function');\n }\n\n /**\n @module @ember/object\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 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 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 var GUID_PREFIX = 'ember';\n // Used for guid generation...\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 var GUID_KEY = intern('__ember' + +new Date());\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 /**\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 var GENERATED_SYMBOLS = [];\n\n function symbol(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() * +new Date());\n var symbol = intern('__' + debugName + id + '__');\n GENERATED_SYMBOLS.push(symbol);\n return symbol;\n }\n\n // the delete is meant to hint at runtimes that this object should remain in\n // dictionary mode. This is clearly a runtime specific hack, but currently it\n // appears worthwhile in some usecases. Please note, these deletes do increase\n // the cost of creation dramatically over a plain Object.create. And as this\n // only makes sense for long-lived dictionaries that aren't instantiated often.\n\n\n /* globals WeakSet */\n var WeakSet$1 = typeof WeakSet === 'function' ? WeakSet : function () {\n function WeakSetPolyFill() {\n\n this._map = new WeakMap();\n }\n\n WeakSetPolyFill.prototype.add = function (val) {\n this._map.set(val, true);\n return this;\n };\n\n WeakSetPolyFill.prototype.delete = function (val) {\n return this._map.delete(val);\n };\n\n WeakSetPolyFill.prototype.has = function (val) {\n return this._map.has(val);\n };\n\n return WeakSetPolyFill;\n }();\n\n var HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\n var fnToString = Function.prototype.toString;\n var checkHasSuper = function () {\n var sourceAvailable = fnToString.call(function () {\n return this;\n }).indexOf('return this') > -1;\n if (sourceAvailable) {\n return function (func) {\n return HAS_SUPER_PATTERN.test(fnToString.call(func));\n };\n }\n return function () {\n return true;\n };\n }();\n var HAS_SUPER_MAP = new WeakMap();\n var ROOT = Object.freeze(function () {});\n HAS_SUPER_MAP.set(ROOT, false);\n function hasSuper(func) {\n var hasSuper = HAS_SUPER_MAP.get(func);\n if (hasSuper === undefined) {\n hasSuper = checkHasSuper(func);\n HAS_SUPER_MAP.set(func, hasSuper);\n }\n return hasSuper;\n }\n var OBSERVERS_MAP = new WeakMap();\n function setObservers(func, observers) {\n if (observers) {\n OBSERVERS_MAP.set(func, observers);\n }\n }\n function getObservers(func) {\n return OBSERVERS_MAP.get(func);\n }\n var LISTENERS_MAP = new WeakMap();\n function setListeners(func, listeners) {\n if (listeners) {\n LISTENERS_MAP.set(func, listeners);\n }\n }\n function getListeners(func) {\n return LISTENERS_MAP.get(func);\n }\n var IS_WRAPPED_FUNCTION_SET = new WeakSet$1();\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 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 IS_WRAPPED_FUNCTION_SET.add(superWrapper);\n setObservers(superWrapper, getObservers(func));\n setListeners(superWrapper, getListeners(func));\n return superWrapper;\n }\n\n var objectToString = Object.prototype.toString;\n var functionToString = Function.prototype.toString;\n var isArray = Array.isArray;\n var objectKeys = Object.keys;\n var stringify = JSON.stringify;\n\n var LIST_LIMIT = 100;\n var DEPTH_LIMIT = 4;\n var SAFE_KEY = /^[\\w$]+$/;\n /**\n @module @ember/debug\n */\n /**\n Convenience method to inspect an object. This method will attempt to\n convert the object into a useful string description.\n \n It is a pretty simple implementation. If you want something more robust,\n use something like JSDump: https://github.com/NV/jsDump\n \n @method inspect\n @static\n @param {Object} obj The object you want to inspect.\n @return {String} A description of the object\n @since 1.4.0\n @private\n */\n\n function inspectValue(value, depth, seen) {\n var valueIsArray = false;\n switch (typeof value) {\n case 'undefined':\n return 'undefined';\n case 'object':\n if (value === null) return 'null';\n if (isArray(value)) {\n valueIsArray = true;\n break;\n }\n // is toString Object.prototype.toString or undefined then traverse\n if (value.toString === objectToString || value.toString === undefined) {\n break;\n }\n // custom toString\n return value.toString();\n case 'function':\n return value.toString === functionToString ? value.name ? '[Function:' + value.name + ']' : '[Function]' : value.toString();\n case 'string':\n return stringify(value);\n case 'symbol':\n case 'boolean':\n case 'number':\n default:\n return value.toString();\n }\n if (seen === undefined) {\n seen = new WeakSet$1();\n } else {\n if (seen.has(value)) return '[Circular]';\n }\n seen.add(value);\n return valueIsArray ? inspectArray(value, depth + 1, seen) : inspectObject(value, depth + 1, seen);\n }\n function inspectKey(key) {\n return SAFE_KEY.test(key) ? key : stringify(key);\n }\n function inspectObject(obj, depth, seen) {\n if (depth > DEPTH_LIMIT) {\n return '[Object]';\n }\n var s = '{',\n i,\n key;\n var keys = objectKeys(obj);\n for (i = 0; i < keys.length; i++) {\n s += i === 0 ? ' ' : ', ';\n if (i >= LIST_LIMIT) {\n s += '... ' + (keys.length - LIST_LIMIT) + ' more keys';\n break;\n }\n key = keys[i];\n\n s += inspectKey(key) + ': ' + inspectValue(obj[key], depth, seen);\n }\n s += ' }';\n return s;\n }\n function inspectArray(arr, depth, seen) {\n if (depth > DEPTH_LIMIT) {\n return '[Array]';\n }\n var s = '[',\n i;\n for (i = 0; i < arr.length; i++) {\n s += i === 0 ? ' ' : ', ';\n if (i >= LIST_LIMIT) {\n s += '... ' + (arr.length - LIST_LIMIT) + ' more items';\n break;\n }\n s += inspectValue(arr[i], depth, seen);\n }\n s += ' ]';\n return s;\n }\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 function canInvoke(obj, methodName) {\n return obj !== null && obj !== undefined && typeof obj[methodName] === 'function';\n }\n /**\n @module @ember/utils\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 var isArray$1 = Array.isArray;\n\n var NAMES = new WeakMap();\n\n\n var objectToString$1 = Object.prototype.toString;\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 function toString(obj) {\n var r, k;\n\n if (typeof obj === 'string') {\n return obj;\n }\n if (null === obj) return 'null';\n if (undefined === obj) return 'undefined';\n if (Array.isArray(obj)) {\n // Reimplement Array.prototype.join according to spec (22.1.3.13)\n // Changing ToString(element) with this safe version of ToString.\n r = '';\n\n for (k = 0; k < obj.length; k++) {\n if (k > 0) {\n r += ',';\n }\n if (!isNone(obj[k])) {\n r += toString(obj[k]);\n }\n }\n return r;\n }\n if (typeof obj.toString === 'function') {\n return obj.toString();\n }\n return objectToString$1.call(obj);\n }\n\n var HAS_NATIVE_SYMBOL = function () {\n if (typeof Symbol !== 'function') {\n return false;\n }\n // use `Object`'s `.toString` directly to prevent us from detecting\n // polyfills as native\n return Object.prototype.toString.call(Symbol()) === '[object Symbol]';\n }();\n\n var HAS_NATIVE_PROXY = typeof Proxy === 'function';\n\n var PROXIES = new WeakSet$1();\n\n\n var Cache = function () {\n function Cache(limit, func, store) {\n\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 Cache.prototype.get = function (key) {\n var value = this.store.get(key);\n if (this.store.has(key)) {\n this.hits++;\n return this.store.get(key);\n } else {\n this.misses++;\n value = this.set(key, this.func(key));\n }\n return value;\n };\n\n Cache.prototype.set = function (key, value) {\n if (this.limit > this.size) {\n this.size++;\n this.store.set(key, value);\n }\n return value;\n };\n\n Cache.prototype.purge = function () {\n this.store.clear();\n this.size = 0;\n this.hits = 0;\n this.misses = 0;\n };\n\n return Cache;\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 var NAME_KEY = symbol('NAME_KEY');\n\n exports.NAME_KEY = NAME_KEY;\n exports.symbol = symbol;\n exports.isInternalSymbol = function (possibleSymbol) {\n return GENERATED_SYMBOLS.indexOf(possibleSymbol) !== -1;\n };\n exports.dictionary = function (parent) {\n var dict = Object.create(parent);\n dict['_dict'] = null;\n delete dict['_dict'];\n return dict;\n };\n exports.uuid = uuid;\n exports.GUID_KEY = GUID_KEY;\n exports.generateGuid = function (obj) {\n var prefix = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : GUID_PREFIX;\n\n var guid = prefix + uuid();\n if (isObject(obj)) {\n OBJECT_GUIDS.set(obj, guid);\n }\n return guid;\n };\n exports.guidFor = function (value) {\n var guid = void 0,\n type;\n if (isObject(value)) {\n guid = OBJECT_GUIDS.get(value);\n if (guid === undefined) {\n guid = GUID_PREFIX + uuid();\n OBJECT_GUIDS.set(value, guid);\n }\n } else {\n guid = NON_OBJECT_GUIDS.get(value);\n if (guid === undefined) {\n 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 NON_OBJECT_GUIDS.set(value, guid);\n }\n }\n return guid;\n };\n exports.intern = intern;\n exports.checkHasSuper = checkHasSuper;\n exports.ROOT = ROOT;\n exports.wrap = function (func, superFunc) {\n if (!hasSuper(func)) {\n return func;\n }\n // ensure an unwrapped super that calls _super is wrapped with a terminal _super\n if (!IS_WRAPPED_FUNCTION_SET.has(superFunc) && hasSuper(superFunc)) {\n return _wrap(func, _wrap(superFunc, ROOT));\n }\n return _wrap(func, superFunc);\n };\n exports.getObservers = getObservers;\n exports.getListeners = getListeners;\n exports.setObservers = setObservers;\n exports.setListeners = setListeners;\n exports.inspect = function (obj) {\n // detect Node util.inspect call inspect(depth: number, opts: object)\n if (typeof obj === 'number' && arguments.length === 2) {\n return this;\n }\n return inspectValue(obj, 0);\n };\n exports.lookupDescriptor = function (obj, keyName) {\n var current = obj,\n descriptor;\n do {\n descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n\n if (descriptor !== undefined) {\n return descriptor;\n }\n current = Object.getPrototypeOf(current);\n } while (current !== null);\n return null;\n };\n exports.canInvoke = canInvoke;\n exports.tryInvoke = function (obj, methodName, args) {\n var method;\n\n if (canInvoke(obj, methodName)) {\n method = obj[methodName];\n\n return method.apply(obj, args);\n }\n };\n exports.makeArray = function (obj) {\n if (obj === null || obj === undefined) {\n return [];\n }\n return isArray$1(obj) ? obj : [obj];\n };\n exports.getName = function (obj) {\n return NAMES.get(obj);\n };\n exports.setName = function (obj, name) {\n if (isObject(obj)) NAMES.set(obj, name);\n };\n exports.toString = toString;\n exports.HAS_NATIVE_SYMBOL = HAS_NATIVE_SYMBOL;\n exports.HAS_NATIVE_PROXY = HAS_NATIVE_PROXY;\n exports.WeakSet = WeakSet$1;\n exports.isProxy = function (object) {\n if (isObject(object)) {\n return PROXIES.has(object);\n }\n return false;\n };\n exports.setProxy = function (object) {\n if (isObject(object)) {\n PROXIES.add(object);\n }\n };\n exports.Cache = Cache;\n});","enifed('ember-views/index', ['exports', 'ember-views/lib/system/jquery', 'ember-views/lib/system/utils', 'ember-views/lib/system/event_dispatcher', 'ember-views/lib/component_lookup', 'ember-views/lib/mixins/text_support', 'ember-views/lib/views/core_view', 'ember-views/lib/mixins/class_names_support', 'ember-views/lib/mixins/child_views_support', 'ember-views/lib/mixins/view_state_support', 'ember-views/lib/mixins/view_support', 'ember-views/lib/mixins/action_support', 'ember-views/lib/compat/attrs', 'ember-views/lib/system/lookup_partial', 'ember-views/lib/utils/lookup-component', 'ember-views/lib/system/action_manager', 'ember-views/lib/compat/fallback-view-registry'], 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, _lookup_partial, _lookupComponent, _action_manager, _fallbackViewRegistry) {\n 'use strict';\n\n Object.defineProperty(exports, 'jQuery', {\n enumerable: true,\n get: function () {\n return _jquery.default;\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, 'getViewElement', {\n enumerable: true,\n get: function () {\n return _utils.getViewElement;\n }\n });\n Object.defineProperty(exports, 'setViewElement', {\n enumerable: true,\n get: function () {\n return _utils.setViewElement;\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, 'lookupPartial', {\n enumerable: true,\n get: function () {\n return _lookup_partial.default;\n }\n });\n Object.defineProperty(exports, 'hasPartial', {\n enumerable: true,\n get: function () {\n return _lookup_partial.hasPartial;\n }\n });\n Object.defineProperty(exports, 'lookupComponent', {\n enumerable: true,\n get: function () {\n return _lookupComponent.default;\n }\n });\n Object.defineProperty(exports, 'ActionManager', {\n enumerable: true,\n get: function () {\n return _action_manager.default;\n }\n });\n Object.defineProperty(exports, 'fallbackViewRegistry', {\n enumerable: true,\n get: function () {\n return _fallbackViewRegistry.default;\n }\n });\n});","enifed('ember-views/lib/compat/attrs', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n 'use strict';\n\n exports.MUTABLE_CELL = undefined;\n exports.MUTABLE_CELL = (0, _emberUtils.symbol)('MUTABLE_CELL');\n});","enifed('ember-views/lib/compat/fallback-view-registry', ['exports', 'ember-utils'], function (exports, _emberUtils) {\n 'use strict';\n\n exports.default = (0, _emberUtils.dictionary)(null);\n});","enifed('ember-views/lib/component_lookup', ['exports', '@ember/debug', 'ember-runtime'], function (exports, _debug, _emberRuntime) {\n 'use strict';\n\n exports.default = _emberRuntime.Object.extend({\n componentFor: function (name, owner, options) {\n false && !(name.indexOf('-') > -1 || true /* EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION */) && (0, _debug.assert)('You cannot use \\'' + name + '\\' as a component name. Component names must contain a hyphen' + /* EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION */' or start with a capital letter' + '.', name.indexOf('-') > -1 || true);\n\n return owner.factoryFor('component:' + name, options);\n },\n layoutFor: function (name, owner, options) {\n false && !(name.indexOf('-') > -1 || true /* EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION */) && (0, _debug.assert)('You cannot use \\'' + name + '\\' as a component name. Component names must contain a hyphen.', name.indexOf('-') > -1 || true);\n\n return owner.lookup('template:components/' + name, options);\n }\n });\n});","enifed('ember-views/lib/mixins/action_support', ['exports', 'ember-utils', 'ember-metal', '@ember/debug', 'ember-views/lib/compat/attrs', '@ember/deprecated-features'], function (exports, _emberUtils, _emberMetal, _debug, _attrs, _deprecatedFeatures) {\n 'use strict';\n\n var mixinObj = {\n send: function (actionName) {\n for (_len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n false && !(!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 var action = this.actions && this.actions[actionName],\n _len,\n args,\n _key,\n shouldBubble;\n\n if (action) {\n shouldBubble = action.apply(this, args) === true;\n\n if (!shouldBubble) {\n return;\n }\n }\n\n var target = (0, _emberMetal.get)(this, 'target');\n if (target) {\n false && !(typeof target.send === 'function') && (0, _debug.assert)('The `target` for ' + this + ' (' + target + ') does not have a `send` method', typeof target.send === 'function');\n\n target.send.apply(target, arguments);\n } else {\n false && !action && (0, _debug.assert)((0, _emberUtils.inspect)(this) + ' had no action handler for: ' + actionName, action);\n }\n }\n },\n sendAction,\n validateAction; /**\n @module ember\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 sendAction = function (action) {\n for (_len2 = arguments.length, contexts = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n contexts[_key2 - 1] = arguments[_key2];\n }\n\n false && !(!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 false && !false && (0, _debug.deprecate)('You called ' + (0, _emberUtils.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\n var actionName = void 0,\n _len2,\n contexts,\n _key2;\n\n // Send the default action\n if (action === undefined) {\n action = 'action';\n }\n actionName = (0, _emberMetal.get)(this, 'attrs.' + action) || (0, _emberMetal.get)(this, action);\n actionName = validateAction(this, actionName);\n\n // If no action name for that action could be found, just abort.\n if (actionName === undefined) {\n return;\n }\n\n if (typeof actionName === 'function') {\n actionName.apply(undefined, contexts);\n } else {\n this.triggerAction({\n action: actionName,\n actionContext: contexts\n });\n }\n };\n validateAction = function (component, actionName) {\n if (actionName && actionName[_attrs.MUTABLE_CELL]) {\n actionName = actionName.value;\n }\n\n false && !(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\n return actionName;\n };\n\n\n mixinObj.sendAction = sendAction;\n }\n\n /**\n @class ActionSupport\n @namespace Ember\n @private\n */\n exports.default = _emberMetal.Mixin.create(mixinObj);\n});","enifed('ember-views/lib/mixins/child_views_support', ['exports', 'ember-metal', 'ember-views/lib/system/utils'], function (exports, _emberMetal, _utils) {\n 'use strict';\n\n exports.default = _emberMetal.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, _emberMetal.descriptor)({\n configurable: false,\n enumerable: false,\n get: function () {\n return (0, _utils.getChildViews)(this);\n }\n }),\n\n appendChild: function (view) {\n (0, _utils.addChildView)(this, view);\n }\n });\n});","enifed('ember-views/lib/mixins/class_names_support', ['exports', 'ember-meta', 'ember-metal', '@ember/debug'], function (exports, _emberMeta, _emberMetal, _debug) {\n 'use strict';\n\n var EMPTY_ARRAY = Object.freeze([]);\n\n /**\n @class ClassNamesSupport\n @namespace Ember\n @private\n */\n /**\n @module ember\n */\n exports.default = _emberMetal.Mixin.create({\n concatenatedProperties: ['classNames', 'classNameBindings'],\n\n init: function () {\n this._super.apply(this, arguments);\n\n false && !((0, _emberMeta.descriptorFor)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings)) && (0, _debug.assert)('Only arrays are allowed for \\'classNameBindings\\'', (0, _emberMeta.descriptorFor)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings));\n false && !((0, _emberMeta.descriptorFor)(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, _emberMeta.descriptorFor)(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});","enifed('ember-views/lib/mixins/text_support', ['exports', 'ember-metal', 'ember-runtime', '@ember/debug', '@ember/deprecated-features'], function (exports, _emberMetal, _emberRuntime, _debug, _deprecatedFeatures) {\n 'use strict';\n\n /**\n @module ember\n */\n\n var KEY_EVENTS = {\n 13: 'insertNewline',\n 27: 'cancel'\n };\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 exports.default = _emberMetal.Mixin.create(_emberRuntime.TargetActionSupport, {\n value: '',\n\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: function () {\n this._super.apply(this, arguments);\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: function (event) {\n var method = KEY_EVENTS[event.keyCode];\n\n this._elementValueDidChange();\n if (method) {\n return this[method](event);\n }\n },\n _elementValueDidChange: function () {\n (0, _emberMetal.set)(this, 'value', this.element.value);\n },\n change: function (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: function (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: function (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: function (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: function (event) {\n this._elementValueDidChange(event);\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: function (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: function (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: function (event) {\n sendAction('key-down', this, event);\n }\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 function sendAction(eventName, view, event) {\n var actionName = (0, _emberMetal.get)(view, 'attrs.' + eventName) || (0, _emberMetal.get)(view, eventName);\n var value = (0, _emberMetal.get)(view, 'value');\n\n if (_deprecatedFeatures.SEND_ACTION && typeof actionName === 'string') {\n false && !false && (0, _debug.deprecate)('Passing actions to components as strings (like {{input ' + eventName + '=\"' + actionName + '\"}}) is deprecated. Please use closure actions instead ({{input ' + eventName + '=(action \"' + actionName + '\")}})', 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\n view.triggerAction({\n action: actionName,\n actionContext: [value, event]\n });\n } else if (typeof actionName === 'function') {\n actionName(value, event);\n }\n\n if (actionName && !(0, _emberMetal.get)(view, 'bubbles')) {\n event.stopPropagation();\n }\n }\n});","enifed('ember-views/lib/mixins/view_state_support', ['exports', 'ember-metal'], function (exports, _emberMetal) {\n 'use strict';\n\n exports.default = _emberMetal.Mixin.create({\n _transitionTo: function (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 if (currentState.enter) {\n currentState.enter(this);\n }\n }\n });\n});","enifed('ember-views/lib/mixins/view_support', ['exports', 'ember-utils', 'ember-meta', 'ember-metal', '@ember/debug', 'ember-browser-environment', 'ember-views/lib/system/utils', 'ember-views/lib/system/jquery'], function (exports, _emberUtils, _emberMeta, _emberMetal, _debug, _emberBrowserEnvironment, _utils, _jquery) {\n 'use strict';\n\n function K() {\n return this;\n }\n\n /**\n @class ViewMixin\n @namespace Ember\n @private\n */\n exports.default = _emberMetal.Mixin.create({\n /**\n A list of properties of the view to apply as attributes. If the property\n is a string value, the value of that string will be applied as the value\n for an attribute of the property's name.\n The following example creates a tag like `<div priority=\"high\" />`.\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n attributeBindings: ['priority'],\n priority: 'high'\n });\n ```\n If the value of the property is a Boolean, the attribute is treated as\n an HTML Boolean attribute. It will be present if the property is `true`\n and omitted if the property is `false`.\n The following example creates markup like `<div visible />`.\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n attributeBindings: ['visible'],\n visible: true\n });\n ```\n If you would prefer to use a custom value instead of the property name,\n you can create the same markup as the last example with a binding like\n this:\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n attributeBindings: ['isVisible:visible'],\n isVisible: true\n });\n ```\n This list of attributes is inherited from the component's superclasses,\n as well.\n @property attributeBindings\n @type Array\n @default []\n @public\n */\n concatenatedProperties: ['attributeBindings'],\n\n // ..........................................................\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: function (klass) {\n var view = this.parentView;\n var isOfType = klass instanceof _emberMetal.Mixin ? function (view) {\n return klass.detect(view);\n } : function (view) {\n return klass.detect(view.constructor);\n };\n\n while (view) {\n if (isOfType(view)) {\n return view;\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: function (property) {\n var view = this.parentView;\n\n while (view) {\n if (property in view) {\n return view;\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: function () {\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, _emberMetal.descriptor)({\n configurable: false,\n enumerable: false,\n get: function () {\n return this.renderer.getElement(this);\n }\n }),\n\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 */\n $: function (sel) {\n false && !(this.tagName !== '') && (0, _debug.assert)(\"You cannot access this.$() on a component with `tagName: ''` specified.\", this.tagName !== '');\n false && !!_jquery.jQueryDisabled && (0, _debug.assert)('You cannot access this.$() with `jQuery` disabled.', !_jquery.jQueryDisabled);\n\n if (this.element) {\n return sel ? (0, _jquery.default)(sel, this.element) : (0, _jquery.default)(this.element);\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: function (selector) {\n var target = void 0;\n\n if (_emberBrowserEnvironment.hasDOM) {\n target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n\n false && !target && (0, _debug.assert)('You tried to append to (' + selector + ') but that isn\\'t in the DOM', target);\n false && !!(0, _utils.matches)(target, '.ember-view') && (0, _debug.assert)('You cannot append to an existing Ember.View.', !(0, _utils.matches)(target, '.ember-view'));\n false && !function () {\n var node = target.parentNode;\n while (node) {\n if (node.nodeType !== 9 && (0, _utils.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.', function () {\n var node = target.parentNode;while (node) {\n if (node.nodeType !== 9 && (0, _utils.matches)(node, '.ember-view')) {\n return false;\n }node = node.parentNode;\n }return true;\n }());\n } else {\n target = selector;\n\n false && !(typeof target !== 'string') && (0, _debug.assert)('You tried to append to a selector string (' + selector + ') in an environment without jQuery', typeof target !== 'string');\n false && !(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\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: function () {\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 Attempts to discover the element in the parent element. The default\n implementation looks for an element with an ID of `elementId` (or the\n view's guid if `elementId` is null). You can override this method to\n provide your own form of lookup. For example, if you want to discover your\n element using a CSS class name instead of an ID.\n @method findElementInParentElement\n @param {DOMElement} parentElement The parent's DOM element\n @return {DOMElement} The discovered element\n @private\n */\n findElementInParentElement: function (parentElem) {\n var id = '#' + this.elementId;\n return (0, _jquery.default)(id)[0] || (0, _jquery.default)(id, parentElem)[0];\n },\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: function () {\n this._super.apply(this, arguments);\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 when the parentView property has changed.\n @event parentViewDidChange\n @private\n */\n parentViewDidChange: K,\n\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 @property tagName\n @type String\n @default null\n @public\n */\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: function () {\n this._super.apply(this, arguments);\n\n // tslint:disable-next-line:max-line-length\n false && !((0, _emberMeta.descriptorFor)(this, 'elementId') === undefined) && (0, _debug.assert)('You cannot use a computed property for the component\\'s `elementId` (' + this + ').', (0, _emberMeta.descriptorFor)(this, 'elementId') === undefined);\n\n // tslint:disable-next-line:max-line-length\n\n false && !((0, _emberMeta.descriptorFor)(this, 'tagName') === undefined) && (0, _debug.assert)('You cannot use a computed property for the component\\'s `tagName` (' + this + ').', (0, _emberMeta.descriptorFor)(this, 'tagName') === undefined);\n\n if (!this.elementId && this.tagName !== '') {\n this.elementId = (0, _emberUtils.guidFor)(this);\n }\n\n false && !!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: function (eventName, evt) {\n return this._currentState.handleEvent(this, eventName, evt);\n }\n });\n});","enifed(\"ember-views/lib/system/action_manager\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default = ActionManager;\n /**\n @module ember\n */\n\n function ActionManager() {}\n\n /**\n Global action id hash.\n \n @private\n @property registeredActions\n @type Object\n */\n ActionManager.registeredActions = {};\n});","enifed('ember-views/lib/system/event_dispatcher', ['exports', 'ember-owner', '@ember/polyfills', '@ember/debug', 'ember-metal', 'ember-runtime', 'ember-views/lib/system/jquery', 'ember-views/lib/system/action_manager', 'ember-views/lib/compat/fallback-view-registry', 'ember-views/lib/system/jquery_event_deprecation'], function (exports, _emberOwner, _polyfills, _debug, _emberMetal, _emberRuntime, _jquery, _action_manager, _fallbackViewRegistry, _jquery_event_deprecation) {\n 'use strict';\n\n /**\n @module ember\n */\n\n var ROOT_ELEMENT_CLASS = 'ember-application';\n var ROOT_ELEMENT_SELECTOR = '.' + ROOT_ELEMENT_CLASS;\n\n var EVENT_MAP = {\n mouseenter: 'mouseover',\n mouseleave: 'mouseout'\n };\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 exports.default = _emberRuntime.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: {\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 mousemove: 'mouseMove',\n focusin: 'focusIn',\n focusout: 'focusOut',\n mouseenter: 'mouseEnter',\n mouseleave: 'mouseLeave',\n submit: 'submit',\n input: 'input',\n change: 'change',\n dragstart: 'dragStart',\n drag: 'drag',\n dragenter: 'dragEnter',\n dragleave: 'dragLeave',\n dragover: 'dragOver',\n drop: 'drop',\n dragend: 'dragEnd'\n },\n\n /**\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: function () {\n var _this = this;\n\n this._super();\n\n false && !function () {\n var owner = (0, _emberOwner.getOwner)(_this);\n var environment = owner.lookup('-environment:main');\n\n return environment.isInteractive;\n }() && (0, _debug.assert)('EventDispatcher should never be instantiated in fastboot mode. Please report this as an Ember bug.', function () {\n var owner = (0, _emberOwner.getOwner)(_this);var environment = owner.lookup('-environment:main');return environment.isInteractive;\n }());\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: function (addedEvents, _rootElement) {\n var events = this._finalEvents = (0, _polyfills.assign)({}, (0, _emberMetal.get)(this, 'events'), addedEvents);\n\n if (_rootElement !== undefined && _rootElement !== null) {\n (0, _emberMetal.set)(this, 'rootElement', _rootElement);\n }\n\n var rootElementSelector = (0, _emberMetal.get)(this, 'rootElement');\n var rootElement = void 0;\n if (_jquery.jQueryDisabled) {\n if (typeof rootElementSelector !== 'string') {\n rootElement = rootElementSelector;\n } else {\n rootElement = document.querySelector(rootElementSelector);\n }\n\n false && !!rootElement.classList.contains(ROOT_ELEMENT_CLASS) && (0, _debug.assert)('You cannot use the same root element (' + ((0, _emberMetal.get)(this, 'rootElement') || rootElement.tagName) + ') multiple times in an Ember.Application', !rootElement.classList.contains(ROOT_ELEMENT_CLASS));\n false && !function () {\n var target = rootElement.parentNode;\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', function () {\n var target = rootElement.parentNode;do {\n if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n return false;\n }target = target.parentNode;\n } while (target && target.nodeType === 1);return true;\n }());\n false && !!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\n rootElement.classList.add(ROOT_ELEMENT_CLASS);\n\n false && !rootElement.classList.contains(ROOT_ELEMENT_CLASS) && (0, _debug.assert)('Unable to add \\'' + ROOT_ELEMENT_CLASS + '\\' class to root element (' + ((0, _emberMetal.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.default)(rootElementSelector);\n false && !!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 false && !!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 false && !!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\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 var viewRegistry = this._getViewRegistry();\n\n for (var event in events) {\n if (events.hasOwnProperty(event)) {\n this.setupHandler(rootElement, event, events[event], viewRegistry);\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 @param {Object} viewRegistry\n */\n setupHandler: function (rootElement, event, eventName, viewRegistry) {\n var viewHandler, actionHandler, mappedEventType, origEventType, createFakeEvent, handleMappedEvent, handleEvent;\n\n if (eventName === null) {\n return;\n }\n\n if (_jquery.jQueryDisabled) {\n viewHandler = function (target, event) {\n var view = viewRegistry[target.id];\n var result = true;\n\n if (view) {\n result = view.handleEvent(eventName, event);\n }\n\n return result;\n };\n actionHandler = function (target, event) {\n var actionId = target.getAttribute('data-ember-action'),\n attributes,\n attributeCount,\n i,\n attr,\n attrName,\n index,\n action;\n var actions = _action_manager.default.registeredActions[actionId];\n\n // In Glimmer2 this attribute is set to an empty string and an additional\n // attribute it set for each action on a given element. In this case, the\n // attributes need to be read so that a proper set of action handlers can\n // be coalesced.\n if (actionId === '') {\n attributes = target.attributes;\n attributeCount = attributes.length;\n\n\n actions = [];\n\n for (i = 0; i < attributeCount; i++) {\n attr = attributes.item(i);\n attrName = attr.name;\n\n\n if (attrName.indexOf('data-ember-action-') === 0) {\n actions = actions.concat(_action_manager.default.registeredActions[attr.value]);\n }\n }\n }\n\n // We have to check for actions here since in some cases, jQuery will trigger\n // an event on `removeChild` (i.e. focusout) after we've already torn down the\n // action handlers for the view.\n if (!actions) {\n return;\n }\n\n for (index = 0; index < actions.length; index++) {\n action = actions[index];\n\n\n if (action && action.eventName === eventName) {\n return action.handler(event);\n }\n }\n };\n\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 if (EVENT_MAP[event] !== undefined) {\n mappedEventType = EVENT_MAP[event];\n origEventType = event;\n createFakeEvent = function (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);\n\n // fake event.target as we don't dispatch the event\n Object.defineProperty(fakeEvent, 'target', { value: event.target, enumerable: true });\n\n return fakeEvent;\n };\n handleMappedEvent = this._eventHandlers[mappedEventType] = function (event) {\n var target = event.target;\n var related = event.relatedTarget;\n\n while (target && target.nodeType === 1 && (!related || related !== target && !target.contains(related))) {\n // mouseEnter/Leave don't bubble, so there is no logic to prevent it as with other events\n if (viewRegistry[target.id]) {\n viewHandler(target, createFakeEvent(origEventType, event));\n } else if (target.hasAttribute('data-ember-action')) {\n actionHandler(target, createFakeEvent(origEventType, event));\n }\n\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 target = target.parentNode;\n }\n };\n\n\n rootElement.addEventListener(mappedEventType, handleMappedEvent);\n } else {\n handleEvent = this._eventHandlers[event] = function (event) {\n var target = event.target;\n\n do {\n if (viewRegistry[target.id]) {\n if (viewHandler(target, event) === false) {\n event.preventDefault();\n event.stopPropagation();\n break;\n }\n } else if (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\n rootElement.addEventListener(event, handleEvent);\n }\n } else {\n rootElement.on(event + '.ember', '.ember-view', function (evt) {\n var view = viewRegistry[this.id];\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\n rootElement.on(event + '.ember', '[data-ember-action]', function (evt) {\n var attributes = evt.currentTarget.attributes,\n i,\n attr,\n attrName,\n action;\n var handledActions = [];\n\n evt = (0, _jquery_event_deprecation.default)(evt);\n\n for (i = 0; i < attributes.length; i++) {\n attr = attributes.item(i);\n attrName = attr.name;\n\n\n if (attrName.lastIndexOf('data-ember-action-', 0) !== -1) {\n action = _action_manager.default.registeredActions[attr.value];\n\n // 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);\n // 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 handledActions.push(action);\n }\n }\n }\n });\n }\n },\n _getViewRegistry: function () {\n var owner = (0, _emberOwner.getOwner)(this);\n var viewRegistry = owner && owner.lookup('-view-registry:main') || _fallbackViewRegistry.default;\n\n return viewRegistry;\n },\n destroy: function () {\n var rootElementSelector = (0, _emberMetal.get)(this, 'rootElement');\n var rootElement = void 0;\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 (_jquery.jQueryDisabled) {\n for (var event in this._eventHandlers) {\n rootElement.removeEventListener(event, this._eventHandlers[event]);\n }\n } else {\n (0, _jquery.default)(rootElementSelector).off('.ember', '**');\n }\n\n rootElement.classList.remove(ROOT_ELEMENT_CLASS);\n\n return this._super.apply(this, arguments);\n },\n toString: function () {\n return '(EventDispatcher)';\n }\n });\n});","enifed('ember-views/lib/system/jquery', ['exports', 'ember-environment', 'ember-browser-environment'], function (exports, _emberEnvironment, _emberBrowserEnvironment) {\n 'use strict';\n\n exports.jQueryDisabled = undefined;\n\n var jQuery = void 0;\n var jQueryDisabled = exports.jQueryDisabled = _emberEnvironment.ENV._JQUERY_INTEGRATION === false;\n\n if (_emberBrowserEnvironment.hasDOM) {\n jQuery = _emberEnvironment.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(function (eventName) {\n jQuery.event.fixHooks[eventName] = {\n props: ['dataTransfer']\n };\n });\n }\n } else {\n exports.jQueryDisabled = jQueryDisabled = true;\n }\n }\n\n exports.default = jQueryDisabled ? undefined : jQuery;\n});","enifed('ember-views/lib/system/jquery_event_deprecation', ['exports', '@ember/debug', 'ember-environment', 'ember-utils'], function (exports, _debug, _emberEnvironment) {\n 'use strict';\n\n /* global Proxy */\n exports.default = function (jqEvent) {\n return jqEvent;\n\n\n var boundFunctions = new Map();\n\n // 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});","enifed('ember-views/lib/system/lookup_partial', ['exports', '@ember/debug', '@ember/error'], function (exports, _debug, _error) {\n 'use strict';\n\n exports.default = function (templateName, owner) {\n if (templateName == null) {\n return;\n }\n\n var template = templateFor(owner, parseUnderscoredName(templateName), templateName);\n\n false && !!!template && (0, _debug.assert)('Unable to find partial with name \"' + templateName + '\"', !!template);\n\n return template;\n };\n exports.hasPartial = function (name, owner) {\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.hasRegistration('template:' + parseUnderscoredName(name)) || owner.hasRegistration('template:' + name);\n };\n\n function parseUnderscoredName(templateName) {\n var nameParts = templateName.split('/');\n var lastPart = nameParts[nameParts.length - 1];\n\n nameParts[nameParts.length - 1] = '_' + lastPart;\n\n return nameParts.join('/');\n }\n\n function templateFor(owner, underscored, name) {\n if (!name) {\n return;\n }\n false && !(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});","enifed('ember-views/lib/system/utils', ['exports', 'ember-owner', 'ember-utils'], function (exports, _emberOwner, _emberUtils) {\n 'use strict';\n\n exports.elMatches = undefined;\n exports.isSimpleClick =\n\n /**\n @module ember\n */\n\n function (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 /* globals Element */\n ;\n exports.constructStyleDeprecationMessage = function (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 /**\n @private\n @method getRootViews\n @param {Object} owner\n */\n ;\n exports.getRootViews = function (owner) {\n var registry = owner.lookup('-view-registry:main');\n\n var rootViews = [];\n\n Object.keys(registry).forEach(function (id) {\n var view = registry[id];\n\n if (view.parentView === null) {\n rootViews.push(view);\n }\n });\n\n return rootViews;\n }\n\n /**\n @private\n @method getViewId\n @param {Ember.View} view\n */\n ;\n exports.getViewId = getViewId;\n exports.getViewElement =\n\n /**\n @private\n @method getViewElement\n @param {Ember.View} view\n */\n function (view) {\n return view[VIEW_ELEMENT];\n };\n exports.initViewElement = function (view) {\n view[VIEW_ELEMENT] = null;\n };\n exports.setViewElement = function (view, element) {\n return view[VIEW_ELEMENT] = element;\n };\n exports.getChildViews =\n\n /**\n @private\n @method getChildViews\n @param {Ember.View} view\n */\n function (view) {\n var owner = (0, _emberOwner.getOwner)(view);\n var registry = owner.lookup('-view-registry:main');\n return collectChildViews(view, registry);\n };\n exports.initChildViews = initChildViews;\n exports.addChildView = function (parent, child) {\n var childViews = CHILD_VIEW_IDS.get(parent);\n if (childViews === undefined) {\n childViews = initChildViews(parent);\n }\n\n childViews.add(getViewId(child));\n };\n exports.collectChildViews = collectChildViews;\n exports.getViewBounds = getViewBounds;\n exports.getViewRange = getViewRange;\n exports.getViewClientRects =\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 function (view) {\n var range = getViewRange(view);\n return range.getClientRects();\n }\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 exports.getViewBoundingClientRect = function (view) {\n var range = getViewRange(view);\n return range.getBoundingClientRect();\n }\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 exports.matches = function (el, selector) {\n return elMatches.call(el, selector);\n };function getViewId(view) {\n if (view.tagName !== '' && view.elementId) {\n return view.elementId;\n } else {\n return (0, _emberUtils.guidFor)(view);\n }\n }\n\n var VIEW_ELEMENT = (0, _emberUtils.symbol)('VIEW_ELEMENT');\n\n var CHILD_VIEW_IDS = new WeakMap();\n\n function initChildViews(view) {\n var childViews = new Set();\n CHILD_VIEW_IDS.set(view, childViews);\n return childViews;\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(function (id) {\n var view = registry[id];\n if (view && !view.isDestroying && !view.isDestroyed) {\n views.push(view);\n }\n });\n }\n\n return views;\n }\n\n /**\n @private\n @method getViewBounds\n @param {Ember.View} view\n */\n function getViewBounds(view) {\n return view.renderer.getBounds(view);\n }\n\n /**\n @private\n @method getViewRange\n @param {Ember.View} view\n */\n function getViewRange(view) {\n var bounds = getViewBounds(view);\n\n var range = document.createRange();\n range.setStartBefore(bounds.firstNode);\n range.setEndAfter(bounds.lastNode);\n\n return range;\n }var elMatches = exports.elMatches = typeof Element !== 'undefined' && (Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector);\n});","enifed('ember-views/lib/utils/lookup-component', ['exports'], function (exports) {\n 'use strict';\n\n exports.default = function (owner, name, options) {\n var componentLookup = owner.lookup('component-lookup:main'),\n localResult;\n\n if (options && (options.source || options.namespace)) {\n localResult = lookupComponentPair(componentLookup, owner, name, options);\n\n\n if (localResult.component || localResult.layout) {\n return localResult;\n }\n }\n\n return lookupComponentPair(componentLookup, owner, name);\n };\n\n function lookupComponentPair(componentLookup, owner, name, options) {\n\n var component = componentLookup.componentFor(name, owner, options);\n var layout = componentLookup.layoutFor(name, owner, options);\n\n return { layout: layout, component: component };\n }\n});","enifed('ember-views/lib/views/core_view', ['exports', 'ember-runtime', 'ember-views/lib/system/utils', 'ember-views/lib/views/states'], function (exports, _emberRuntime, _utils, _states) {\n 'use strict';\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\n var CoreView = _emberRuntime.FrameworkObject.extend(_emberRuntime.Evented, _emberRuntime.ActionHandler, {\n isView: true,\n\n _states: (0, _states.cloneStates)(_states.states),\n\n init: function () {\n this._super.apply(this, arguments);\n this._state = 'preRender';\n this._currentState = this._states.preRender;\n\n (0, _utils.initViewElement)(this);\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: function (hash) {\n hash.object = this.toString();\n hash.containerKey = this._debugContainerKey;\n hash.view = this;\n return hash;\n },\n trigger: function (name) {\n for (_len = arguments.length, args = Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {\n args[_key - 1] = arguments[_key];\n }\n\n this._super.apply(this, arguments);\n var method = this[name],\n _len,\n args,\n _key;\n if (typeof method === 'function') {\n return method.apply(this, args);\n }\n },\n has: function (name) {\n return typeof this[name] === 'function' || this._super(name);\n }\n });\n\n CoreView.reopenClass({\n isViewFactory: true\n });\n\n exports.default = CoreView;\n});","enifed('ember-views/lib/views/states', ['exports', '@ember/polyfills', 'ember-views/lib/views/states/default', 'ember-views/lib/views/states/pre_render', 'ember-views/lib/views/states/has_element', 'ember-views/lib/views/states/in_dom', 'ember-views/lib/views/states/destroying'], function (exports, _polyfills, _default2, _pre_render, _has_element, _in_dom, _destroying) {\n 'use strict';\n\n exports.states = undefined;\n exports.cloneStates = function (from) {\n var into = {};\n\n into._default = {};\n into.preRender = Object.create(into._default);\n into.destroying = Object.create(into._default);\n into.hasElement = Object.create(into._default);\n into.inDOM = Object.create(into.hasElement);\n\n for (var stateName in from) {\n if (!from.hasOwnProperty(stateName)) {\n continue;\n }\n (0, _polyfills.assign)(into[stateName], from[stateName]);\n }\n\n return into;\n }\n\n /*\n Describe how the specified actions should behave in the various\n states that a view can exist in. Possible states:\n \n * preRender: when a view is first instantiated, and after its\n element was destroyed, it is in the preRender state\n * hasElement: the DOM representation of the view is created,\n and is ready to be inserted\n * inDOM: once a view has been inserted into the DOM it is in\n the inDOM state. A view spends the vast majority of its\n existence in this state.\n * destroyed: once a view has been destroyed (using the destroy\n method), it is in this state. No further actions can be invoked\n on a destroyed view.\n */\n ;\n exports.states = {\n _default: _default2.default,\n preRender: _pre_render.default,\n inDOM: _in_dom.default,\n hasElement: _has_element.default,\n destroying: _destroying.default\n };\n});","enifed(\"ember-views/lib/views/states/default\", [\"exports\", \"@ember/error\"], function (exports, _error) {\n \"use strict\";\n\n exports.default = {\n // appendChild is only legal while rendering the buffer.\n appendChild: function () {\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: function () {\n return true; // continue event propagation\n },\n rerender: function () {},\n destroy: function () {}\n };\n});","enifed('ember-views/lib/views/states/destroying', ['exports', '@ember/polyfills', '@ember/error', 'ember-views/lib/views/states/default'], function (exports, _polyfills, _error, _default2) {\n 'use strict';\n\n var destroying = Object.create(_default2.default);\n\n (0, _polyfills.assign)(destroying, {\n appendChild: function () {\n throw new _error.default(\"You can't call appendChild on a view being destroyed\");\n },\n rerender: function () {\n throw new _error.default(\"You can't call rerender on a view being destroyed\");\n }\n });\n\n exports.default = destroying;\n});","enifed('ember-views/lib/views/states/has_element', ['exports', '@ember/polyfills', 'ember-views/lib/views/states/default', '@ember/runloop', '@ember/instrumentation'], function (exports, _polyfills, _default2, _runloop, _instrumentation) {\n 'use strict';\n\n var hasElement = Object.create(_default2.default);\n\n (0, _polyfills.assign)(hasElement, {\n rerender: function (view) {\n view.renderer.rerender(view);\n },\n destroy: function (view) {\n view.renderer.remove(view);\n },\n handleEvent: function (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, { event: event, view: view }, function () {\n return (0, _runloop.join)(view, view.trigger, eventName, event);\n });\n } else {\n return true; // continue event propagation\n }\n }\n });\n\n exports.default = hasElement;\n});","enifed('ember-views/lib/views/states/in_dom', ['exports', '@ember/polyfills', 'ember-metal', '@ember/error', 'ember-views/lib/views/states/has_element'], function (exports, _polyfills, _emberMetal, _error, _has_element) {\n 'use strict';\n\n var inDOM = Object.create(_has_element.default);\n\n (0, _polyfills.assign)(inDOM, {\n enter: function (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 exit: function (view) {\n view.renderer.unregister(view);\n }\n });\n\n exports.default = inDOM;\n});","enifed('ember-views/lib/views/states/pre_render', ['exports', 'ember-views/lib/views/states/default'], function (exports, _default2) {\n 'use strict';\n\n exports.default = Object.create(_default2.default);\n});","enifed('ember/index', ['exports', 'require', 'ember-environment', 'node-module', 'ember-utils', 'container', '@ember/instrumentation', 'ember-meta', 'ember-metal', '@ember/canary-features', '@ember/debug', 'backburner', 'ember-console', '@ember/controller', '@ember/controller/lib/controller_mixin', '@ember/string', '@ember/service', '@ember/object/computed', 'ember-runtime', 'ember-glimmer', 'ember/version', 'ember-views', 'ember-routing', 'ember-extension-support', '@ember/error', '@ember/runloop', 'ember-error-handling', 'ember-owner', '@ember/application', '@ember/application/globals-resolver', '@ember/application/instance', '@ember/engine', '@ember/engine/instance', '@ember/map', '@ember/map/with-default', '@ember/map/lib/ordered-set', '@ember/polyfills', '@ember/deprecated-features'], function (exports, _require2, _emberEnvironment, _nodeModule, _emberUtils, _container, _instrumentation, _emberMeta, _emberMetal, _canaryFeatures, _debug, _backburner, _emberConsole, _controller, _controller_mixin, _string, _service, _computed, _emberRuntime, _emberGlimmer, _version, _emberViews, _emberRouting, _emberExtensionSupport, _error, _runloop, _emberErrorHandling, _emberOwner, _application, _globalsResolver, _instance, _engine, _instance2, _map, _withDefault, _orderedSet, _polyfills, _deprecatedFeatures) {\n 'use strict';\n\n // ****ember-environment****\n\n // eslint-disable-next-line import/no-unresolved\n\n var Ember = typeof _emberEnvironment.context.imports.Ember === 'object' && _emberEnvironment.context.imports.Ember || {},\n testing;\n\n Ember.isNamespace = true;\n Ember.toString = function () {\n return 'Ember';\n };\n\n Object.defineProperty(Ember, 'ENV', {\n get: _emberEnvironment.getENV,\n enumerable: false\n });\n\n Object.defineProperty(Ember, 'lookup', {\n get: _emberEnvironment.getLookup,\n set: _emberEnvironment.setLookup,\n enumerable: false\n });\n\n if (_deprecatedFeatures.EMBER_EXTEND_PROTOTYPES) {\n Object.defineProperty(Ember, 'EXTEND_PROTOTYPES', {\n enumerable: false,\n get: function () {\n false && !false && (0, _debug.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\n return _emberEnvironment.ENV.EXTEND_PROTOTYPES;\n }\n });\n }\n\n // ****@ember/application****\n Ember.getOwner = _emberOwner.getOwner;\n Ember.setOwner = _emberOwner.setOwner;\n Ember.Application = _application.default;\n Ember.DefaultResolver = Ember.Resolver = _globalsResolver.default;\n Ember.ApplicationInstance = _instance.default;\n\n // ****@ember/engine****\n Ember.Engine = _engine.default;\n Ember.EngineInstance = _instance2.default;\n\n // ****@ember/map****\n Ember.OrderedSet = _orderedSet.default;\n Ember.__OrderedSet__ = _orderedSet.__OrderedSet__;\n Ember.Map = _map.default;\n Ember.MapWithDefault = _withDefault.default;\n\n // ****@ember/polyfills****\n Ember.assign = _polyfills.assign;\n Ember.merge = _polyfills.merge;\n\n // ****ember-utils****\n Ember.generateGuid = _emberUtils.generateGuid;\n Ember.GUID_KEY = _emberUtils.GUID_KEY;\n Ember.guidFor = _emberUtils.guidFor;\n Ember.inspect = _emberUtils.inspect;\n Ember.makeArray = _emberUtils.makeArray;\n Ember.canInvoke = _emberUtils.canInvoke;\n Ember.tryInvoke = _emberUtils.tryInvoke;\n Ember.wrap = _emberUtils.wrap;\n Ember.uuid = _emberUtils.uuid;\n Ember.NAME_KEY = _emberUtils.NAME_KEY;\n Ember._Cache = _emberUtils.Cache;\n\n // ****container****\n Ember.Container = _container.Container;\n Ember.Registry = _container.Registry;\n\n // ****@ember/debug****\n Ember.assert = _debug.assert;\n Ember.warn = _debug.warn;\n Ember.debug = _debug.debug;\n Ember.deprecate = _debug.deprecate;\n Ember.deprecateFunc = _debug.deprecateFunc;\n Ember.runInDebug = _debug.runInDebug;\n\n // ****@ember/error****\n Ember.Error = _error.default;\n\n /**\n @public\n @class Ember.Debug\n */\n Ember.Debug = {\n registerDeprecationHandler: _debug.registerDeprecationHandler,\n registerWarnHandler: _debug.registerWarnHandler\n };\n\n // ****@ember/instrumentation****\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 };\n\n // ****@ember/runloop****\n\n // Using _globalsRun here so that mutating the function (adding\n // `next`, `later`, etc to it) is only available in globals builds\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 });\n\n // ****ember-metal****\n\n // Using _globalsComputed here so that mutating the function is only available\n // in globals builds\n var computed = _emberMetal._globalsComputed;\n Ember.computed = computed;\n computed.alias = _emberMetal.alias;\n Ember.ComputedProperty = _emberMetal.ComputedProperty;\n Ember.cacheFor = _emberMetal.getCachedValueFor;\n Ember.meta = _emberMeta.meta;\n Ember.get = _emberMetal.get;\n Ember.getWithDefault = _emberMetal.getWithDefault;\n Ember._getPath = _emberMetal._getPath;\n Ember.set = _emberMetal.set;\n Ember.trySet = _emberMetal.trySet;\n Ember.FEATURES = (0, _polyfills.assign)({ isEnabled: _canaryFeatures.isEnabled }, _canaryFeatures.FEATURES);\n Ember._Cache = _emberUtils.Cache;\n Ember.on = _emberMetal.on;\n Ember.addListener = _emberMetal.addListener;\n Ember.removeListener = _emberMetal.removeListener;\n Ember.sendEvent = _emberMetal.sendEvent;\n Ember.hasListeners = _emberMetal.hasListeners;\n Ember.isNone = _emberMetal.isNone;\n Ember.isEmpty = _emberMetal.isEmpty;\n Ember.isBlank = _emberMetal.isBlank;\n Ember.isPresent = _emberMetal.isPresent;\n if (_deprecatedFeatures.PROPERTY_WILL_CHANGE) {\n Ember.propertyWillChange = _emberMetal.propertyWillChange;\n }\n if (_deprecatedFeatures.PROPERTY_DID_CHANGE) {\n Ember.propertyDidChange = _emberMetal.propertyDidChange;\n }\n Ember.notifyPropertyChange = _emberMetal.notifyPropertyChange;\n Ember.overrideChains = _emberMetal.overrideChains;\n Ember.beginPropertyChanges = _emberMetal.beginPropertyChanges;\n Ember.endPropertyChanges = _emberMetal.endPropertyChanges;\n Ember.changeProperties = _emberMetal.changeProperties;\n Ember.platform = {\n defineProperty: true,\n hasPropertyAccessors: true\n };\n Ember.defineProperty = _emberMetal.defineProperty;\n Ember.watchKey = _emberMetal.watchKey;\n Ember.unwatchKey = _emberMetal.unwatchKey;\n Ember.removeChainWatcher = _emberMetal.removeChainWatcher;\n Ember._ChainNode = _emberMetal.ChainNode;\n Ember.finishChains = _emberMetal.finishChains;\n Ember.watchPath = _emberMetal.watchPath;\n Ember.unwatchPath = _emberMetal.unwatchPath;\n Ember.watch = _emberMetal.watch;\n Ember.isWatching = _emberMetal.isWatching;\n Ember.unwatch = _emberMetal.unwatch;\n Ember.destroy = _emberMeta.deleteMeta;\n Ember.libraries = _emberMetal.libraries;\n Ember.getProperties = _emberMetal.getProperties;\n Ember.setProperties = _emberMetal.setProperties;\n Ember.expandProperties = _emberMetal.expandProperties;\n Ember.addObserver = _emberMetal.addObserver;\n Ember.removeObserver = _emberMetal.removeObserver;\n Ember.aliasMethod = _emberMetal.aliasMethod;\n Ember.observer = _emberMetal.observer;\n Ember.mixin = _emberMetal.mixin;\n Ember.Mixin = _emberMetal.Mixin;\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 Object.defineProperty(Ember, 'onerror', {\n get: _emberErrorHandling.getOnerror,\n set: _emberErrorHandling.setOnerror,\n enumerable: false\n });\n\n Object.defineProperty(Ember, 'testing', {\n get: _debug.isTesting,\n set: _debug.setTesting,\n enumerable: false\n });\n\n Ember._Backburner = _backburner.default;\n\n // ****ember-console****\n if (_deprecatedFeatures.LOGGER) {\n Ember.Logger = _emberConsole.default;\n }\n\n // ****ember-runtime****\n Ember.A = _emberRuntime.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 = _emberRuntime.Object;\n Ember._RegistryProxyMixin = _emberRuntime.RegistryProxyMixin;\n Ember._ContainerProxyMixin = _emberRuntime.ContainerProxyMixin;\n Ember.compare = _emberRuntime.compare;\n Ember.copy = _emberRuntime.copy;\n Ember.isEqual = _emberRuntime.isEqual;\n\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 Ember.inject = function inject() {\n false && !false && (0, _debug.assert)('Injected properties must be created through helpers, see \\'' + Object.keys(inject).map(function (k) {\n return '\\'inject.' + k + '\\'';\n }).join(' or ') + '\\'');\n };\n Ember.inject.service = _service.inject;\n Ember.inject.controller = _controller.inject;\n\n Ember.Array = _emberRuntime.Array;\n Ember.Comparable = _emberRuntime.Comparable;\n Ember.Enumerable = _emberRuntime.Enumerable;\n Ember.ArrayProxy = _emberRuntime.ArrayProxy;\n Ember.ObjectProxy = _emberRuntime.ObjectProxy;\n Ember.ActionHandler = _emberRuntime.ActionHandler;\n Ember.CoreObject = _emberRuntime.CoreObject;\n Ember.NativeArray = _emberRuntime.NativeArray;\n Ember.Copyable = _emberRuntime.Copyable;\n Ember.MutableEnumerable = _emberRuntime.MutableEnumerable;\n Ember.MutableArray = _emberRuntime.MutableArray;\n Ember.TargetActionSupport = _emberRuntime.TargetActionSupport;\n Ember.Evented = _emberRuntime.Evented;\n Ember.PromiseProxyMixin = _emberRuntime.PromiseProxyMixin;\n Ember.Observable = _emberRuntime.Observable;\n Ember.typeOf = _emberRuntime.typeOf;\n Ember.isArray = _emberRuntime.isArray;\n Ember.Object = _emberRuntime.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 = _emberRuntime._ProxyMixin;\n Ember.RSVP = _emberRuntime.RSVP;\n Ember.Namespace = _emberRuntime.Namespace;\n\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\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\n computed.uniqBy = _computed.uniqBy;\n computed.union = _computed.union;\n computed.intersect = _computed.intersect;\n computed.collect = _computed.collect;\n\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 Object.defineProperty(Ember, 'STRINGS', {\n configurable: false,\n get: _string._getStrings,\n set: _string._setStrings\n });\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 Object.defineProperty(Ember, 'BOOTED', {\n configurable: false,\n enumerable: false,\n get: _emberMetal.isNamespaceSearchDisabled,\n set: _emberMetal.setNamespaceSearchDisabled\n });\n\n // ****ember-glimmer****\n Ember.Component = _emberGlimmer.Component;\n _emberGlimmer.Helper.helper = _emberGlimmer.helper;\n Ember.Helper = _emberGlimmer.Helper;\n Ember.Checkbox = _emberGlimmer.Checkbox;\n Ember.TextField = _emberGlimmer.TextField;\n Ember.TextArea = _emberGlimmer.TextArea;\n Ember.LinkComponent = _emberGlimmer.LinkComponent;\n Ember._setComponentManager = _emberGlimmer.setComponentManager;\n Ember._componentManagerCapabilities = _emberGlimmer.capabilities;\n Ember.Handlebars = {\n template: _emberGlimmer.template,\n Utils: {\n escapeExpression: _emberGlimmer.escapeExpression\n }\n };\n Ember.HTMLBars = {\n template: _emberGlimmer.template\n };\n\n if (_emberEnvironment.ENV.EXTEND_PROTOTYPES.String) {\n String.prototype.htmlSafe = function () {\n return (0, _emberGlimmer.htmlSafe)(this);\n };\n }\n Ember.String.htmlSafe = _emberGlimmer.htmlSafe;\n Ember.String.isHTMLSafe = _emberGlimmer.isHTMLSafe;\n\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 Object.defineProperty(Ember, 'TEMPLATES', {\n get: _emberGlimmer.getTemplates,\n set: _emberGlimmer.setTemplates,\n configurable: false,\n enumerable: false\n });\n\n /**\n The semantic version\n \n @property VERSION\n @type String\n @public\n */\n Ember.VERSION = _version.default;\n\n // ****ember-views****\n if (!_emberViews.jQueryDisabled) {\n Ember.$ = _emberViews.jQuery;\n }\n Ember.ViewUtils = {\n isSimpleClick: _emberViews.isSimpleClick,\n getViewElement: _emberViews.getViewElement,\n getViewBounds: _emberViews.getViewBounds,\n getViewClientRects: _emberViews.getViewClientRects,\n getViewBoundingClientRect: _emberViews.getViewBoundingClientRect,\n getRootViews: _emberViews.getRootViews,\n getChildViews: _emberViews.getChildViews,\n isSerializationFirstNode: _emberGlimmer.isSerializationFirstNode\n };\n Ember.TextSupport = _emberViews.TextSupport;\n Ember.ComponentLookup = _emberViews.ComponentLookup;\n Ember.EventDispatcher = _emberViews.EventDispatcher;\n\n // ****ember-routing****\n Ember.Location = _emberRouting.Location;\n Ember.AutoLocation = _emberRouting.AutoLocation;\n Ember.HashLocation = _emberRouting.HashLocation;\n Ember.HistoryLocation = _emberRouting.HistoryLocation;\n Ember.NoneLocation = _emberRouting.NoneLocation;\n Ember.controllerFor = _emberRouting.controllerFor;\n Ember.generateControllerFactory = _emberRouting.generateControllerFactory;\n Ember.generateController = _emberRouting.generateController;\n Ember.RouterDSL = _emberRouting.RouterDSL;\n Ember.Router = _emberRouting.Router;\n Ember.Route = _emberRouting.Route;\n\n (0, _application.runLoadHooks)('Ember.Application', _application.default);\n\n Ember.DataAdapter = _emberExtensionSupport.DataAdapter;\n Ember.ContainerDebugAdapter = _emberExtensionSupport.ContainerDebugAdapter;\n\n if ((0, _require2.has)('ember-template-compiler')) {\n (0, _require2.default)('ember-template-compiler');\n }\n\n // do this to ensure that Ember.Test is defined properly on the global\n // if it is present.\n if ((0, _require2.has)('ember-testing')) {\n testing = (0, _require2.default)('ember-testing');\n\n\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\n exports.default = Ember;\n\n if (_nodeModule.IS_NODE) {\n _nodeModule.module.exports = Ember;\n } else {\n _emberEnvironment.context.exports.Ember = _emberEnvironment.context.exports.Em = Ember;\n }\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});","enifed(\"ember/version\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default = \"3.5.1\";\n});","/*global enifed, module */\nenifed('node-module', ['exports'], function(_exports) {\n var IS_NODE = typeof module === 'object' && typeof module.require === 'function';\n if (IS_NODE) {\n _exports.require = module.require;\n _exports.module = module;\n _exports.IS_NODE = IS_NODE;\n } else {\n _exports.require = null;\n _exports.module = null;\n _exports.IS_NODE = IS_NODE;\n }\n});\n","enifed(\"route-recognizer\", [\"exports\"], function (exports) {\n \"use strict\";\n\n var createObject = Object.create;\n function createMap() {\n var map = createObject(null);\n map[\"__\"] = undefined;\n delete map[\"__\"];\n return map;\n }\n\n var Target = function (path, matcher, delegate) {\n this.path = path;\n this.matcher = matcher;\n this.delegate = delegate;\n };\n Target.prototype.to = function (target, callback) {\n var delegate = this.delegate;\n if (delegate && delegate.willAddRoute) {\n target = delegate.willAddRoute(this.matcher.target, target);\n }\n this.matcher.add(this.path, target);\n if (callback) {\n if (callback.length === 0) {\n throw new Error(\"You must have an argument in the function passed to `to`\");\n }\n this.matcher.addChild(this.path, target, callback, this.delegate);\n }\n };\n var Matcher = function (target) {\n this.routes = createMap();\n this.children = createMap();\n this.target = target;\n };\n Matcher.prototype.add = function (path, target) {\n this.routes[path] = target;\n };\n Matcher.prototype.addChild = function (path, target, callback, delegate) {\n var matcher = new Matcher(target);\n this.children[path] = matcher;\n var match = generateMatch(path, matcher, delegate);\n if (delegate && delegate.contextEntered) {\n delegate.contextEntered(target, match);\n }\n callback(match);\n };\n function generateMatch(startingPath, matcher, delegate) {\n\n return function (path, callback) {\n var fullPath = startingPath + path;\n if (callback) {\n callback(generateMatch(fullPath, matcher, delegate));\n } else {\n return new Target(fullPath, matcher, delegate);\n }\n };\n }\n function addRoute(routeArray, path, handler) {\n var len = 0,\n i;\n for (i = 0; i < routeArray.length; i++) {\n len += routeArray[i].path.length;\n }\n path = path.substr(len);\n var route = { path: path, handler: handler };\n routeArray.push(route);\n }\n function eachRoute(baseRoute, matcher, callback, binding) {\n var routes = matcher.routes,\n i,\n path,\n routeArray,\n nested;\n var paths = Object.keys(routes);\n for (i = 0; i < paths.length; i++) {\n path = paths[i];\n routeArray = baseRoute.slice();\n\n addRoute(routeArray, path, routes[path]);\n 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\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 function normalizePath(path) {\n return path.split(\"/\").map(normalizeSegment).join(\"/\");\n }\n // We want to ensure the characters \"%\" and \"/\" remain in percent-encoded\n // form when normalizing paths, so replace them with their encoded form after\n // decoding the rest of the path\n var SEGMENT_RESERVED_CHARS = /%|\\//g;\n function normalizeSegment(segment) {\n if (segment.length < 3 || segment.indexOf(\"%\") === -1) {\n return segment;\n }\n return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\n }\n // We do not want to encode these characters when generating dynamic path segments\n // See https://tools.ietf.org/html/rfc3986#section-3.3\n // sub-delims: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n // others allowed by RFC 3986: \":\", \"@\"\n //\n // First encode the entire path segment, then decode any of the encoded special chars.\n //\n // The chars \"!\", \"'\", \"(\", \")\", \"*\" do not get changed by `encodeURIComponent`,\n // so the possible encoded chars are:\n // ['%24', '%26', '%2B', '%2C', '%3B', '%3D', '%3A', '%40'].\n var PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\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 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 if (!hasOwnProperty.call(params, key)) {\n throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n }\n var value = params[key];\n var str = typeof value === \"string\" ? value : \"\" + value;\n if (str.length === 0) {\n throw new Error(\"You must provide a param `\" + key + \"`.\");\n }\n return str;\n }\n var eachChar = [];\n eachChar[0 /* Static */] = function (segment, currentState) {\n var state = currentState,\n i,\n ch;\n var value = segment.value;\n for (i = 0; i < value.length; i++) {\n ch = value.charCodeAt(i);\n\n state = state.put(ch, false, false);\n }\n return state;\n };\n eachChar[1 /* Dynamic */] = function (_, currentState) {\n return currentState.put(47 /* SLASH */, true, true);\n };\n eachChar[2 /* Star */] = function (_, currentState) {\n return currentState.put(-1 /* ANY */, false, true);\n };\n eachChar[4 /* Epsilon */] = function (_, currentState) {\n return currentState;\n };\n var regex = [];\n regex[0 /* Static */] = function (segment) {\n return segment.value.replace(escapeRegex, \"\\\\$1\");\n };\n regex[1 /* Dynamic */] = function () {\n return \"([^/]+)\";\n };\n regex[2 /* Star */] = function () {\n return \"(.+)\";\n };\n regex[4 /* Epsilon */] = function () {\n return \"\";\n };\n var generate = [];\n generate[0 /* Static */] = function (segment) {\n return segment.value;\n };\n generate[1 /* Dynamic */] = function (segment, params) {\n var value = getParam(params, segment.value);\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n return encodePathSegment(value);\n } else {\n return value;\n }\n };\n generate[2 /* Star */] = function (segment, params) {\n return getParam(params, segment.value);\n };\n generate[4 /* Epsilon */] = function () {\n return \"\";\n };\n var EmptyObject = Object.freeze({});\n var EmptyArray = Object.freeze([]);\n // The `names` will be populated with the paramter name for each dynamic/star\n // segment. `shouldDecodes` will be populated with a boolean for each dyanamic/star\n // segment, indicating whether it should be decoded during recognition.\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 /* SLASH */) {\n route = route.substr(1);\n }\n var parts = route.split(\"/\"),\n i,\n part,\n flags,\n type;\n var names = undefined;\n var shouldDecodes = undefined;\n for (i = 0; i < parts.length; i++) {\n part = parts[i];\n flags = 0;\n type = 0;\n\n if (part === \"\") {\n type = 4 /* Epsilon */;\n } else if (part.charCodeAt(0) === 58 /* COLON */) {\n type = 1 /* Dynamic */;\n } else if (part.charCodeAt(0) === 42 /* STAR */) {\n type = 2 /* Star */;\n } else {\n type = 0 /* Static */;\n }\n flags = 2 << type;\n if (flags & 12 /* Named */) {\n part = part.slice(1);\n names = names || [];\n names.push(part);\n shouldDecodes = shouldDecodes || [];\n shouldDecodes.push((flags & 4 /* Decoded */) !== 0);\n }\n if (flags & 14 /* Counted */) {\n types[type]++;\n }\n segments.push({\n type: type,\n value: normalizeSegment(part)\n });\n }\n return {\n names: names || EmptyArray,\n shouldDecodes: shouldDecodes || EmptyArray\n };\n }\n function isEqualCharSpec(spec, char, negate) {\n return spec.char === char && spec.negate === negate;\n }\n // A State has a character specification and (`charSpec`) and a list of possible\n // subsequent states (`nextStates`).\n //\n // If a State is an accepting state, it will also have several additional\n // properties:\n //\n // * `regex`: A regular expression that is used to extract parameters from paths\n // that reached this accepting state.\n // * `handlers`: Information on how to convert the list of captures into calls\n // to registered handlers with the specified parameters\n // * `types`: How many static, dynamic or star segments in this route. Used to\n // decide which route to use if multiple registered routes match a path.\n //\n // Currently, State is implemented naively by looping over `nextStates` and\n // comparing a character specification against a character. A more efficient\n // implementation would use a hash of keys pointing at one or more next states.\n var State = function (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 State.prototype.regex = function () {\n if (!this._regex) {\n this._regex = new RegExp(this.pattern);\n }\n return this._regex;\n };\n State.prototype.get = function (char, negate) {\n var this$1 = this,\n i,\n child,\n child$1;\n\n var nextStates = this.nextStates;\n if (nextStates === null) {\n return;\n }\n if (isArray(nextStates)) {\n for (i = 0; i < nextStates.length; i++) {\n child = this$1.states[nextStates[i]];\n\n if (isEqualCharSpec(child, char, negate)) {\n return child;\n }\n }\n } else {\n child$1 = this.states[nextStates];\n\n if (isEqualCharSpec(child$1, char, negate)) {\n return child$1;\n }\n }\n };\n State.prototype.put = function (char, negate, repeat) {\n var state;\n // If the character specification already exists in a child of the current\n // state, just return that state.\n if (state = this.get(char, negate)) {\n return state;\n }\n // Make a new state for the character spec\n var states = this.states;\n state = new State(states, states.length, char, negate, repeat);\n states[states.length] = state;\n // Insert the new state as a child of the current state\n if (this.nextStates == null) {\n this.nextStates = state.id;\n } else if (isArray(this.nextStates)) {\n this.nextStates.push(state.id);\n } else {\n this.nextStates = [this.nextStates, state.id];\n }\n // Return the new state\n return state;\n };\n // Find a list of child states matching the next character\n State.prototype.match = function (ch) {\n var this$1 = this,\n i,\n child,\n child$1;\n\n var nextStates = this.nextStates;\n if (!nextStates) {\n return [];\n }\n var returned = [];\n if (isArray(nextStates)) {\n for (i = 0; i < nextStates.length; i++) {\n child = this$1.states[nextStates[i]];\n\n if (isMatch(child, ch)) {\n returned.push(child);\n }\n }\n } else {\n child$1 = this.states[nextStates];\n\n if (isMatch(child$1, ch)) {\n returned.push(child$1);\n }\n }\n return returned;\n };\n function isMatch(spec, char) {\n return spec.negate ? spec.char !== char && spec.char !== -1 /* ANY */ : spec.char === char || spec.char === -1 /* ANY */;\n }\n // This is a somewhat naive strategy, but should work in a lot of cases\n // A better strategy would properly resolve /posts/:id/new and /posts/edit/:id.\n //\n // This strategy generally prefers more static and less dynamic matching.\n // Specifically, it\n //\n // * prefers fewer stars to more, then\n // * prefers using stars for less of the match to more, then\n // * prefers fewer dynamic segments to more, then\n // * prefers more static segments to more\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 if (astars !== bstars) {\n return astars - bstars;\n }\n if (astars) {\n if (astatics !== bstatics) {\n return bstatics - astatics;\n }\n if (adynamics !== bdynamics) {\n return bdynamics - adynamics;\n }\n }\n if (adynamics !== bdynamics) {\n return adynamics - bdynamics;\n }\n if (astatics !== bstatics) {\n return bstatics - astatics;\n }\n return 0;\n });\n }\n function recognizeChar(states, ch) {\n var nextStates = [],\n i,\n l,\n state;\n for (i = 0, l = states.length; i < l; i++) {\n state = states[i];\n\n nextStates = nextStates.concat(state.match(ch));\n }\n return nextStates;\n }\n var RecognizeResults = function (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 function findHandler(state, originalPath, queryParams) {\n var handlers = state.handlers,\n i,\n handler,\n names,\n shouldDecodes,\n params,\n isDynamic,\n j,\n name,\n capture;\n var regex = state.regex();\n if (!regex || !handlers) {\n throw new Error(\"state not initialized\");\n }\n var captures = originalPath.match(regex);\n var currentCapture = 1;\n var result = new RecognizeResults(queryParams);\n result.length = handlers.length;\n for (i = 0; i < handlers.length; i++) {\n handler = handlers[i];\n names = handler.names;\n shouldDecodes = handler.shouldDecodes;\n params = EmptyObject;\n isDynamic = false;\n\n if (names !== EmptyArray && shouldDecodes !== EmptyArray) {\n for (j = 0; j < names.length; j++) {\n isDynamic = true;\n name = names[j];\n capture = captures && captures[currentCapture++];\n\n if (params === EmptyObject) {\n params = {};\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 result[i] = {\n handler: handler.handler,\n params: params,\n isDynamic: isDynamic\n };\n }\n return result;\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 try {\n result = decodeURIComponent(part);\n } catch (error) {\n result = \"\";\n }\n return result;\n }\n var RouteRecognizer = function () {\n this.names = createMap();\n var states = [];\n var state = new State(states, 0, -1 /* ANY */, true, false);\n states[0] = state;\n this.states = states;\n this.rootState = state;\n };\n RouteRecognizer.prototype.add = function (routes, options) {\n var currentState = this.rootState,\n i,\n route,\n ref,\n names,\n shouldDecodes,\n segment;\n var pattern = \"^\";\n var types = [0, 0, 0];\n var handlers = new Array(routes.length);\n var allSegments = [];\n var isEmpty = true;\n var j = 0;\n for (i = 0; i < routes.length; i++) {\n route = routes[i];\n ref = parse(allSegments, route.path, types);\n names = ref.names;\n shouldDecodes = ref.shouldDecodes;\n // preserve j so it points to the start of newly added segments\n\n for (; j < allSegments.length; j++) {\n segment = allSegments[j];\n\n if (segment.type === 4 /* Epsilon */) {\n continue;\n }\n isEmpty = false;\n // Add a \"/\" for the new segment\n currentState = currentState.put(47 /* SLASH */, false, false);\n pattern += \"/\";\n // Add a representation of the segment to the NFA and regex\n currentState = eachChar[segment.type](segment, currentState);\n pattern += regex[segment.type](segment);\n }\n handlers[i] = {\n handler: route.handler,\n names: names,\n shouldDecodes: shouldDecodes\n };\n }\n if (isEmpty) {\n currentState = currentState.put(47 /* SLASH */, false, false);\n pattern += \"/\";\n }\n currentState.handlers = handlers;\n currentState.pattern = pattern + \"$\";\n currentState.types = types;\n var name;\n if (typeof options === \"object\" && options !== null && options.as) {\n name = options.as;\n }\n if (name) {\n // if (this.names[name]) {\n // throw new Error(\"You may not add a duplicate route named `\" + name + \"`.\");\n // }\n this.names[name] = {\n segments: allSegments,\n handlers: handlers\n };\n }\n };\n RouteRecognizer.prototype.handlersFor = function (name) {\n var route = this.names[name],\n i,\n handler;\n if (!route) {\n throw new Error(\"There is no route named \" + name);\n }\n var result = new Array(route.handlers.length);\n for (i = 0; i < route.handlers.length; i++) {\n handler = route.handlers[i];\n\n result[i] = handler;\n }\n return result;\n };\n RouteRecognizer.prototype.hasRoute = function (name) {\n return !!this.names[name];\n };\n RouteRecognizer.prototype.generate = function (name, params) {\n var route = this.names[name],\n i,\n segment;\n var output = \"\";\n if (!route) {\n throw new Error(\"There is no route named \" + name);\n }\n var segments = route.segments;\n for (i = 0; i < segments.length; i++) {\n segment = segments[i];\n\n if (segment.type === 4 /* Epsilon */) {\n continue;\n }\n output += \"/\";\n output += generate[segment.type](segment, params);\n }\n if (output.charAt(0) !== \"/\") {\n output = \"/\" + output;\n }\n if (params && params.queryParams) {\n output += this.generateQueryString(params.queryParams);\n }\n return output;\n };\n RouteRecognizer.prototype.generateQueryString = function (params) {\n var pairs = [],\n i,\n key,\n value,\n pair,\n j,\n arrayPair;\n var keys = Object.keys(params);\n keys.sort();\n for (i = 0; i < keys.length; i++) {\n key = keys[i];\n value = params[key];\n\n if (value == null) {\n continue;\n }\n pair = encodeURIComponent(key);\n\n if (isArray(value)) {\n for (j = 0; j < value.length; j++) {\n arrayPair = key + \"[]\" + \"=\" + encodeURIComponent(value[j]);\n\n pairs.push(arrayPair);\n }\n } else {\n pair += \"=\" + encodeURIComponent(value);\n pairs.push(pair);\n }\n }\n if (pairs.length === 0) {\n return \"\";\n }\n return \"?\" + pairs.join(\"&\");\n };\n RouteRecognizer.prototype.parseQueryString = function (queryString) {\n var pairs = queryString.split(\"&\"),\n i,\n pair,\n key,\n keyLength,\n isArray,\n value;\n var queryParams = {};\n for (i = 0; i < pairs.length; i++) {\n pair = pairs[i].split(\"=\"), key = decodeQueryParamPart(pair[0]), keyLength = key.length, isArray = false, 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 if (!queryParams[key]) {\n queryParams[key] = [];\n }\n }\n value = pair[1] ? decodeQueryParamPart(pair[1]) : \"\";\n }\n if (isArray) {\n queryParams[key].push(value);\n } else {\n queryParams[key] = value;\n }\n }\n return queryParams;\n };\n RouteRecognizer.prototype.recognize = function (path) {\n var results, queryString, i, i$1;\n var states = [this.rootState];\n var queryParams = {};\n var isSlashDropped = false;\n var hashStart = path.indexOf(\"#\");\n if (hashStart !== -1) {\n path = path.substr(0, hashStart);\n }\n var queryStart = path.indexOf(\"?\");\n if (queryStart !== -1) {\n queryString = path.substr(queryStart + 1, path.length);\n\n path = path.substr(0, queryStart);\n queryParams = this.parseQueryString(queryString);\n }\n if (path.charAt(0) !== \"/\") {\n path = \"/\" + path;\n }\n var originalPath = path;\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n path = normalizePath(path);\n } else {\n path = decodeURI(path);\n originalPath = decodeURI(originalPath);\n }\n var pathLen = path.length;\n if (pathLen > 1 && path.charAt(pathLen - 1) === \"/\") {\n path = path.substr(0, pathLen - 1);\n originalPath = originalPath.substr(0, originalPath.length - 1);\n isSlashDropped = true;\n }\n for (i = 0; i < path.length; i++) {\n states = recognizeChar(states, path.charCodeAt(i));\n if (!states.length) {\n break;\n }\n }\n var solutions = [];\n for (i$1 = 0; i$1 < states.length; i$1++) {\n if (states[i$1].handlers) {\n solutions.push(states[i$1]);\n }\n }\n states = sortSolutions(solutions);\n var state = solutions[0];\n if (state && state.handlers) {\n // if a trailing slash was dropped and a star segment is the last segment\n // specified, put the trailing slash back\n if (isSlashDropped && state.pattern && state.pattern.slice(-5) === \"(.+)$\") {\n originalPath = originalPath + \"/\";\n }\n results = findHandler(state, originalPath, queryParams);\n }\n return results;\n };\n RouteRecognizer.VERSION = \"0.3.3\";\n // Set to false to opt-out of encoding and decoding path segments.\n // See https://github.com/tildeio/route-recognizer/pull/55\n RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS = true;\n RouteRecognizer.Normalizer = {\n normalizeSegment: normalizeSegment, normalizePath: normalizePath, encodePathSegment: encodePathSegment\n };\n RouteRecognizer.prototype.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 };\n\n exports.default = RouteRecognizer;\n});","enifed('router', ['exports', 'ember-babel', 'rsvp', 'route-recognizer'], function (exports, _emberBabel, _rsvp, _routeRecognizer) {\n 'use strict';\n\n exports.Transition = undefined;\n\n var slice = Array.prototype.slice;\n var hasOwnProperty = Object.prototype.hasOwnProperty;\n\n /**\n Determines if an object is Promise by checking if it is \"thenable\".\n **/\n function isPromise(obj) {\n return (typeof obj === 'object' && obj !== null || typeof obj === 'function') && typeof obj.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 /**\n @private\n \n Extracts query params from the end of an array\n **/\n function extractQueryParams(array) {\n var len = array && array.length,\n head = void 0,\n queryParams = void 0;\n\n if (len && len > 0 && array[len - 1] && hasOwnProperty.call(array[len - 1], 'queryParams')) {\n queryParams = array[len - 1].queryParams;\n head = slice.call(array, 0, len - 1);\n return [head, queryParams];\n } else {\n return [array, null];\n }\n }\n\n /**\n @private\n \n Coerces query param properties and array elements into strings.\n **/\n function coerceQueryParamsToString(queryParams) {\n var val, i, l;\n\n for (var key in queryParams) {\n val = queryParams[key];\n\n if (typeof val === 'number') {\n queryParams[key] = '' + val;\n } else if (Array.isArray(val)) {\n for (i = 0, l = val.length; i < l; i++) {\n val[i] = '' + val[i];\n }\n }\n }\n }\n /**\n @private\n */\n function _log(router, sequence, msg) {\n if (!router.log) {\n return;\n }\n\n if (arguments.length === 3) {\n router.log('Transition #' + sequence + ': ' + msg);\n } else {\n msg = sequence;\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 var i, l;\n\n for (i = 0, l = array.length; i < l && false !== callback(array[i]); i++) {\n // empty intentionally\n }\n }\n\n function _trigger(router, handlerInfos, ignoreFailure, args) {\n if (router.triggerEvent) {\n router.triggerEvent(handlerInfos, ignoreFailure, args);\n return;\n }\n\n var name = args.shift(),\n i,\n handlerInfo,\n handler;\n\n if (!handlerInfos) {\n if (ignoreFailure) {\n return;\n }\n throw new Error(\"Could not trigger event '\" + name + \"'. There are no active handlers\");\n }\n\n var eventWasHandled = false;\n\n function delayedEvent(name, args, handler) {\n handler.events[name].apply(handler, args);\n }\n\n for (i = handlerInfos.length - 1; i >= 0; i--) {\n handlerInfo = handlerInfos[i], handler = handlerInfo.handler;\n\n // If there is no handler, it means the handler hasn't resolved yet which\n // means that we should trigger the event later when the handler is available\n\n if (!handler) {\n handlerInfo.handlerPromise.then(delayedEvent.bind(null, name, args));\n continue;\n }\n\n if (handler.events && handler.events[name]) {\n if (handler.events[name].apply(handler, args) === true) {\n eventWasHandled = true;\n } else {\n return;\n }\n }\n }\n\n // In the case that we got an UnrecognizedURLError as an event with no handler,\n // let it bubble up\n if (name === 'error' && args[0].name === 'UnrecognizedURLError') {\n throw args[0];\n } else if (!eventWasHandled && !ignoreFailure) {\n throw new Error(\"Nothing handled the event '\" + name + \"'.\");\n }\n }\n\n function getChangelist(oldObject, newObject) {\n var key = void 0,\n i,\n l;\n var results = {\n all: {},\n changed: {},\n removed: {}\n };\n\n merge(results.all, newObject);\n\n var didChange = false;\n coerceQueryParamsToString(oldObject);\n coerceQueryParamsToString(newObject);\n\n // Calculate removals\n for (key in oldObject) {\n if (hasOwnProperty.call(oldObject, key)) {\n if (!hasOwnProperty.call(newObject, key)) {\n didChange = true;\n results.removed[key] = oldObject[key];\n }\n }\n }\n\n // Calculate changes\n for (key in newObject) {\n if (hasOwnProperty.call(newObject, key)) {\n if (Array.isArray(oldObject[key]) && Array.isArray(newObject[key])) {\n if (oldObject[key].length !== newObject[key].length) {\n results.changed[key] = newObject[key];\n didChange = true;\n } else {\n for (i = 0, l = oldObject[key].length; i < l; i++) {\n if (oldObject[key][i] !== newObject[key][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 _promiseLabel(label) {\n return 'Router: ' + label;\n }\n\n function resolveHook(obj, hookName) {\n if (!obj) {\n return;\n }\n var underscored = '_' + hookName;\n return obj[underscored] && underscored || obj[hookName] && hookName;\n }\n\n function callHook(obj, _hookName, arg1, arg2) {\n var hookName = resolveHook(obj, _hookName);\n return hookName && obj[hookName].call(obj, arg1, arg2);\n }\n\n function applyHook(obj, _hookName, args) {\n var hookName = resolveHook(obj, _hookName);\n if (hookName) {\n if (args.length === 0) {\n return obj[hookName].call(obj);\n } else if (args.length === 1) {\n return obj[hookName].call(obj, args[0]);\n } else if (args.length === 2) {\n return obj[hookName].call(obj, args[0], args[1]);\n } else {\n return obj[hookName].apply(obj, args);\n }\n }\n }\n\n var TransitionState = function () {\n function TransitionState() {\n\n this.handlerInfos = [];\n this.queryParams = {};\n this.params = {};\n }\n\n TransitionState.prototype.promiseLabel = function (label) {\n var targetName = '';\n forEach(this.handlerInfos, function (handlerInfo) {\n if (targetName !== '') {\n targetName += '.';\n }\n targetName += handlerInfo.name;\n });\n return _promiseLabel(\"'\" + targetName + \"': \" + label);\n };\n\n TransitionState.prototype.resolve = function (shouldContinue) {\n var payload = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};\n\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.handlerInfos, function (handlerInfo) {\n params[handlerInfo.name] = handlerInfo.params || {};\n });\n\n payload.resolveIndex = 0;\n\n var currentState = this;\n var wasAborted = false;\n\n // The prelude RSVP.resolve() asyncs us into the promise land.\n return _rsvp.Promise.resolve(null, this.promiseLabel('Start transition')).then(resolveOneHandlerInfo, null, this.promiseLabel('Resolve handler')).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 handlerInfos = currentState.handlerInfos;\n var errorHandlerIndex = payload.resolveIndex >= handlerInfos.length ? handlerInfos.length - 1 : payload.resolveIndex;\n return _rsvp.Promise.reject({\n error: error,\n handlerWithError: currentState.handlerInfos[errorHandlerIndex].handler,\n wasAborted: wasAborted,\n state: currentState\n });\n }\n\n function proceed(resolvedHandlerInfo) {\n var wasAlreadyResolved = currentState.handlerInfos[payload.resolveIndex].isResolved,\n handler;\n\n // Swap the previously unresolved handlerInfo with\n // the resolved handlerInfo\n currentState.handlerInfos[payload.resolveIndex++] = resolvedHandlerInfo;\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 handler = resolvedHandlerInfo.handler;\n\n callHook(handler, 'redirect', resolvedHandlerInfo.context, payload);\n }\n\n // Proceed after ensuring that the redirect hook\n // didn't abort this transition by transitioning elsewhere.\n return innerShouldContinue().then(resolveOneHandlerInfo, null, currentState.promiseLabel('Resolve handler'));\n }\n\n function resolveOneHandlerInfo() {\n if (payload.resolveIndex === currentState.handlerInfos.length) {\n // This is is the only possible\n // fulfill value of TransitionState#resolve\n return {\n error: null,\n state: currentState\n };\n }\n\n var handlerInfo = currentState.handlerInfos[payload.resolveIndex];\n\n return handlerInfo.resolve(innerShouldContinue, payload).then(proceed, null, currentState.promiseLabel('Proceed'));\n }\n };\n\n return TransitionState;\n }();\n\n function TransitionAbortedError(message) {\n if (!(this instanceof TransitionAbortedError)) {\n return new TransitionAbortedError(message);\n }\n\n var error = Error.call(this, message);\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, TransitionAbortedError);\n } else {\n this.stack = error.stack;\n }\n\n this.description = error.description;\n this.fileName = error.fileName;\n this.lineNumber = error.lineNumber;\n this.message = error.message || 'TransitionAborted';\n this.name = 'TransitionAborted';\n this.number = error.number;\n this.code = error.code;\n }\n\n TransitionAbortedError.prototype = Object.create(Error.prototype);\n\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 var Transition = function () {\n function Transition(router, intent, state, error, previousTransition) {\n var _this = this,\n len,\n i,\n handlerInfo;\n\n this.state = state || router.state;\n this.intent = intent;\n this.router = router;\n this.data = this.intent && this.intent.data || {};\n this.resolvedModels = {};\n this.queryParams = {};\n this.promise = undefined;\n this.error = undefined;\n this.params = undefined;\n this.handlerInfos = undefined;\n this.targetName = undefined;\n this.pivotHandler = undefined;\n this.sequence = 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\n if (error) {\n this.promise = _rsvp.Promise.reject(error);\n this.error = error;\n return;\n }\n\n // if you're doing multiple redirects, need the new transition to know if it\n // is actually part of the first transition or not. Any further redirects\n // in the initial transition also need to know if they are part of the\n // initial transition\n this.isCausedByAbortingTransition = !!previousTransition;\n this.isCausedByInitialTransition = previousTransition && (previousTransition.isCausedByInitialTransition || previousTransition.sequence === 0);\n // Every transition in the chain is a replace\n this.isCausedByAbortingReplaceTransition = previousTransition && previousTransition.urlMethod == 'replace' && (!previousTransition.isCausedByAbortingTransition || previousTransition.isCausedByAbortingReplaceTransition);\n\n if (state) {\n this.params = state.params;\n this.queryParams = state.queryParams;\n this.handlerInfos = state.handlerInfos;\n\n len = state.handlerInfos.length;\n\n if (len) {\n this.targetName = state.handlerInfos[len - 1].name;\n }\n\n for (i = 0; i < len; ++i) {\n handlerInfo = state.handlerInfos[i];\n\n // TODO: this all seems hacky\n\n if (!handlerInfo.isResolved) {\n break;\n }\n this.pivotHandler = handlerInfo.handler;\n }\n\n this.sequence = router.currentSequence++;\n this.promise = state.resolve(function () {\n if (_this.isAborted) {\n return _rsvp.Promise.reject(undefined, _promiseLabel('Transition aborted - reject'));\n }\n }, this).catch(function (result) {\n if (result.wasAborted || _this.isAborted) {\n return _rsvp.Promise.reject(logAbort(_this));\n } else {\n _this.trigger('error', result.error, _this, result.handlerWithError);\n _this.abort();\n return _rsvp.Promise.reject(result.error);\n }\n }, _promiseLabel('Handle Abort'));\n } else {\n this.promise = _rsvp.Promise.resolve(this.state);\n this.params = {};\n }\n }\n\n Transition.prototype.isExiting = function (handler) {\n var handlerInfos = this.handlerInfos,\n i,\n len,\n handlerInfo;\n for (i = 0, len = handlerInfos.length; i < len; ++i) {\n handlerInfo = handlerInfos[i];\n\n if (handlerInfo.name === handler || handlerInfo.handler === handler) {\n return false;\n }\n }\n return true;\n };\n\n Transition.prototype.then = function (onFulfilled, onRejected, label) {\n return this.promise.then(onFulfilled, onRejected, label);\n };\n\n Transition.prototype.catch = function (onRejection, label) {\n return this.promise.catch(onRejection, label);\n };\n\n Transition.prototype.finally = function (callback, label) {\n return this.promise.finally(callback, label);\n };\n\n Transition.prototype.abort = function () {\n if (this.isAborted) {\n return this;\n }\n _log(this.router, this.sequence, this.targetName + ': transition was aborted');\n this.intent.preTransitionState = this.router.state;\n this.isAborted = true;\n this.isActive = false;\n this.router.activeTransition = null;\n return this;\n };\n\n Transition.prototype.retry = function () {\n // TODO: add tests for merged state retry()s\n this.abort();\n var newTransition = this.router.transitionByIntent(this.intent, false);\n\n // inheriting a `null` urlMethod is not valid\n // the urlMethod is only set to `null` when\n // the transition is initiated *after* the url\n // has been updated (i.e. `router.handleURL`)\n //\n // in that scenario, the url method cannot be\n // inherited for a new transition because then\n // the url would not update even though it should\n if (this.urlMethod !== null) {\n newTransition.method(this.urlMethod);\n }\n return newTransition;\n };\n\n Transition.prototype.method = function (_method) {\n this.urlMethod = _method;\n return this;\n };\n\n Transition.prototype.trigger = function (ignoreFailure) {\n var args = slice.call(arguments);\n if (typeof ignoreFailure === 'boolean') {\n args.shift();\n } else {\n // Throw errors on unhandled trigger events by default\n ignoreFailure = false;\n }\n _trigger(this.router, this.state.handlerInfos.slice(0, this.resolveIndex + 1), ignoreFailure, args);\n };\n\n Transition.prototype.followRedirects = function () {\n var router = this.router;\n return this.promise.catch(function (reason) {\n if (router.activeTransition) {\n return router.activeTransition.followRedirects();\n }\n return _rsvp.Promise.reject(reason);\n });\n };\n\n Transition.prototype.toString = function () {\n return 'Transition (sequence ' + this.sequence + ')';\n };\n\n Transition.prototype.log = function (message) {\n _log(this.router, this.sequence, message);\n };\n\n return Transition;\n }();\n\n // Alias 'trigger' as 'send'\n Transition.prototype.send = Transition.prototype.trigger;\n\n /**\n @private\n \n Logs and returns an instance of TransitionAborted.\n */\n function logAbort(transition) {\n _log(transition.router, transition.sequence, 'detected abort.');\n return new TransitionAbortedError();\n }\n\n var TransitionIntent = function () {\n\n this.data = this.data || {};\n };\n\n var DEFAULT_HANDLER = Object.freeze({});\n\n var HandlerInfo = function () {\n function HandlerInfo() {\n var props = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n\n // initialize local properties to ensure consistent object shape\n this._handler = DEFAULT_HANDLER;\n this._handlerPromise = null;\n this.factory = null; // Injected by the handler info factory\n this.name = props.name;\n\n for (var prop in props) {\n if (prop === 'handler') {\n this._processHandler(props.handler);\n } else {\n this[prop] = props[prop];\n }\n }\n }\n\n HandlerInfo.prototype.getHandler = function () {};\n\n HandlerInfo.prototype.fetchHandler = function () {\n var handler = this.getHandler(this.name);\n return this._processHandler(handler);\n };\n\n HandlerInfo.prototype._processHandler = function (handler) {\n var _this2 = this;\n\n // Setup a handlerPromise so that we can wait for asynchronously loaded handlers\n this.handlerPromise = _rsvp.Promise.resolve(handler);\n\n // Wait until the 'handler' property has been updated when chaining to a handler\n // that is a promise\n if (isPromise(handler)) {\n this.handlerPromise = this.handlerPromise.then(function (h) {\n return _this2.updateHandler(h);\n });\n // set to undefined to avoid recursive loop in the handler getter\n return this.handler = undefined;\n } else if (handler) {\n return this.updateHandler(handler);\n }\n };\n\n HandlerInfo.prototype.log = function (payload, message) {\n if (payload.log) {\n payload.log(this.name + ': ' + message);\n }\n };\n\n HandlerInfo.prototype.promiseLabel = function (label) {\n return _promiseLabel(\"'\" + this.name + \"' \" + label);\n };\n\n HandlerInfo.prototype.getUnresolved = function () {\n return this;\n };\n\n HandlerInfo.prototype.serialize = function () {\n return this.params || {};\n };\n\n HandlerInfo.prototype.updateHandler = function (handler) {\n // Store the name of the handler on the handler for easy checks later\n handler._handlerName = this.name;\n return this.handler = handler;\n };\n\n HandlerInfo.prototype.resolve = function (shouldContinue, payload) {\n var checkForAbort = this.checkForAbort.bind(this, shouldContinue);\n var beforeModel = this.runBeforeModelHook.bind(this, payload);\n var model = this.getModel.bind(this, payload);\n var afterModel = this.runAfterModelHook.bind(this, payload);\n var becomeResolved = this.becomeResolved.bind(this, payload);\n\n return _rsvp.Promise.resolve(this.handlerPromise, this.promiseLabel('Start handler')).then(checkForAbort, null, this.promiseLabel('Check for abort')).then(beforeModel, null, this.promiseLabel('Before model')).then(checkForAbort, null, this.promiseLabel(\"Check if aborted during 'beforeModel' hook\")).then(model, null, this.promiseLabel('Model')).then(checkForAbort, null, this.promiseLabel(\"Check if aborted in 'model' hook\")).then(afterModel, null, this.promiseLabel('After model')).then(checkForAbort, null, this.promiseLabel(\"Check if aborted in 'afterModel' hook\")).then(becomeResolved, null, this.promiseLabel('Become resolved'));\n };\n\n HandlerInfo.prototype.runBeforeModelHook = function (payload) {\n if (payload.trigger) {\n payload.trigger(true, 'willResolveModel', payload, this.handler);\n }\n return this.runSharedModelHook(payload, 'beforeModel', []);\n };\n\n HandlerInfo.prototype.runAfterModelHook = function (payload, 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(payload, resolvedModel);\n\n return this.runSharedModelHook(payload, 'afterModel', [resolvedModel]).then(function () {\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 payload.resolvedModels[name];\n }, null, this.promiseLabel('Ignore fulfillment value and return model value'));\n };\n\n HandlerInfo.prototype.runSharedModelHook = function (payload, hookName, args) {\n this.log(payload, 'calling ' + hookName + ' hook');\n\n if (this.queryParams) {\n args.push(this.queryParams);\n }\n args.push(payload);\n\n var result = applyHook(this.handler, hookName, args);\n\n if (result && result.isTransition) {\n result = null;\n }\n\n return _rsvp.Promise.resolve(result, this.promiseLabel('Resolve value returned from one of the model hooks'));\n };\n\n HandlerInfo.prototype.getModel = function () {};\n\n HandlerInfo.prototype.checkForAbort = function (shouldContinue, promiseValue) {\n return _rsvp.Promise.resolve(shouldContinue(), this.promiseLabel('Check for abort')).then(function () {\n // We don't care about shouldContinue's resolve value;\n // pass along the original value passed to this fn.\n return promiseValue;\n }, null, this.promiseLabel('Ignore fulfillment value and continue'));\n };\n\n HandlerInfo.prototype.stashResolvedModel = function (payload, resolvedModel) {\n payload.resolvedModels = payload.resolvedModels || {};\n payload.resolvedModels[this.name] = resolvedModel;\n };\n\n HandlerInfo.prototype.becomeResolved = function (payload, resolvedContext) {\n var params = this.serialize(resolvedContext);\n\n if (payload) {\n this.stashResolvedModel(payload, resolvedContext);\n payload.params = payload.params || {};\n payload.params[this.name] = params;\n }\n\n var resolution = {\n name: this.name,\n handler: this.handler,\n params: params\n };\n\n // Don't set a context on the resolution unless we actually have one.\n var contextsMatch = resolvedContext === this.context;\n if ('context' in this || !contextsMatch) {\n resolution.context = resolvedContext;\n }\n\n return this.factory('resolved', resolution);\n };\n\n HandlerInfo.prototype.shouldSupercede = function (other) {\n // Prefer this newer handlerInfo over `other` if:\n // 1) The other one doesn't exist\n // 2) The names don't match\n // 3) This handler has a context that doesn't match\n // the other one (or the other one doesn't have one).\n // 4) This handler has parameters that don't match the other.\n if (!other) {\n return true;\n }\n\n var contextsMatch = other.context === this.context;\n return other.name !== this.name || 'context' in this && !contextsMatch || this.hasOwnProperty('params') && !paramsMatch(this.params, other.params);\n };\n\n (0, _emberBabel.createClass)(HandlerInfo, [{\n key: 'handler',\n get: function () {\n // _handler could be set to either a handler object or undefined, so we\n // compare against a default reference to know when it's been set\n if (this._handler !== DEFAULT_HANDLER) {\n return this._handler;\n }\n\n return this.fetchHandler();\n },\n set: function (handler) {\n return this._handler = handler;\n }\n }, {\n key: 'handlerPromise',\n get: function () {\n if (this._handlerPromise !== null) {\n return this._handlerPromise;\n }\n\n this.fetchHandler();\n\n return this._handlerPromise;\n },\n set: function (handlerPromise) {\n this._handlerPromise = handlerPromise;\n\n return handlerPromise;\n }\n }]);\n return HandlerInfo;\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 }\n\n // Note: this assumes that both params have the same\n // number of keys, but since we're comparing the\n // same handlers, they should.\n for (var k in a) {\n if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n return false;\n }\n }\n return true;\n }\n\n var ResolvedHandlerInfo = function (_HandlerInfo) {\n (0, _emberBabel.inherits)(ResolvedHandlerInfo, _HandlerInfo);\n\n function ResolvedHandlerInfo(props) {\n\n var _this3 = (0, _emberBabel.possibleConstructorReturn)(this, _HandlerInfo.call(this, props));\n\n _this3.isResolved = true;\n return _this3;\n }\n\n ResolvedHandlerInfo.prototype.resolve = function (shouldContinue, payload) {\n // A ResolvedHandlerInfo just resolved with itself.\n if (payload && payload.resolvedModels) {\n payload.resolvedModels[this.name] = this.context;\n }\n return _rsvp.Promise.resolve(this, this.promiseLabel('Resolve'));\n };\n\n ResolvedHandlerInfo.prototype.getUnresolved = function () {\n return this.factory('param', {\n name: this.name,\n handler: this.handler,\n params: this.params\n });\n };\n\n return ResolvedHandlerInfo;\n }(HandlerInfo);\n\n var UnresolvedHandlerInfoByObject = function (_HandlerInfo2) {\n (0, _emberBabel.inherits)(UnresolvedHandlerInfoByObject, _HandlerInfo2);\n\n function UnresolvedHandlerInfoByObject(props) {\n\n var _this4 = (0, _emberBabel.possibleConstructorReturn)(this, _HandlerInfo2.call(this, props));\n\n _this4.names = _this4.names || [];\n return _this4;\n }\n\n UnresolvedHandlerInfoByObject.prototype.getModel = function (payload) {\n this.log(payload, this.name + ': resolving provided model');\n return _rsvp.Promise.resolve(this.context);\n };\n\n UnresolvedHandlerInfoByObject.prototype.serialize = function (_model) {\n var model = _model || this.context,\n names = this.names;\n\n var object = {};\n if (isParam(model)) {\n object[names[0]] = model;\n return object;\n }\n\n // Use custom serialize if it exists.\n if (this.serializer) {\n // invoke this.serializer unbound (getSerializer returns a stateless function)\n return this.serializer.call(null, model, names);\n } else if (this.handler && this.handler.serialize) {\n return this.handler.serialize(model, names);\n }\n\n if (names.length !== 1) {\n return;\n }\n\n var name = names[0];\n\n if (/_id$/.test(name)) {\n object[name] = model.id;\n } else {\n object[name] = model;\n }\n return object;\n };\n\n return UnresolvedHandlerInfoByObject;\n }(HandlerInfo);\n\n var UnresolvedHandlerInfoByParam = function (_HandlerInfo3) {\n (0, _emberBabel.inherits)(UnresolvedHandlerInfoByParam, _HandlerInfo3);\n\n function UnresolvedHandlerInfoByParam(props) {\n\n var _this5 = (0, _emberBabel.possibleConstructorReturn)(this, _HandlerInfo3.call(this, props));\n\n _this5.params = _this5.params || {};\n return _this5;\n }\n\n UnresolvedHandlerInfoByParam.prototype.getModel = function (payload) {\n var fullParams = this.params;\n if (payload && payload.queryParams) {\n fullParams = {};\n merge(fullParams, this.params);\n fullParams.queryParams = payload.queryParams;\n }\n\n var handler = this.handler;\n var hookName = resolveHook(handler, 'deserialize') || resolveHook(handler, 'model');\n\n return this.runSharedModelHook(payload, hookName, [fullParams]);\n };\n\n return UnresolvedHandlerInfoByParam;\n }(HandlerInfo);\n\n handlerInfoFactory.klasses = {\n resolved: ResolvedHandlerInfo,\n param: UnresolvedHandlerInfoByParam,\n object: UnresolvedHandlerInfoByObject\n };\n\n function handlerInfoFactory(name, props) {\n var klass = handlerInfoFactory.klasses[name];\n var handlerInfo = new klass(props || {});\n handlerInfo.factory = handlerInfoFactory;\n return handlerInfo;\n }\n\n var NamedTransitionIntent = function (_TransitionIntent) {\n (0, _emberBabel.inherits)(NamedTransitionIntent, _TransitionIntent);\n\n function NamedTransitionIntent(props) {\n\n var _this6 = (0, _emberBabel.possibleConstructorReturn)(this, _TransitionIntent.call(this, props));\n\n _this6.name = props.name;\n _this6.pivotHandler = props.pivotHandler;\n _this6.contexts = props.contexts || [];\n _this6.queryParams = props.queryParams;\n return _this6;\n }\n\n NamedTransitionIntent.prototype.applyToState = function (oldState, recognizer, getHandler, isIntermediate, getSerializer) {\n var partitionedArgs = extractQueryParams([this.name].concat(this.contexts)),\n pureArgs = partitionedArgs[0],\n handlers = recognizer.handlersFor(pureArgs[0]);\n\n var targetRouteName = handlers[handlers.length - 1].handler;\n\n return this.applyToHandlers(oldState, handlers, getHandler, targetRouteName, isIntermediate, null, getSerializer);\n };\n\n NamedTransitionIntent.prototype.applyToHandlers = function (oldState, handlers, getHandler, targetRouteName, isIntermediate, checkingIfActive, getSerializer) {\n var i, len, result, name, oldHandlerInfo, newHandlerInfo, serializer, oldContext, handlerToUse;\n var newState = new TransitionState();\n var objects = this.contexts.slice(0);\n\n var invalidateIndex = handlers.length;\n\n // Pivot handlers are provided for refresh transitions\n if (this.pivotHandler) {\n for (i = 0, len = handlers.length; i < len; ++i) {\n if (handlers[i].handler === this.pivotHandler._handlerName) {\n invalidateIndex = i;\n break;\n }\n }\n }\n\n for (i = handlers.length - 1; i >= 0; --i) {\n result = handlers[i];\n name = result.handler;\n oldHandlerInfo = oldState.handlerInfos[i];\n newHandlerInfo = null;\n\n\n if (result.names.length > 0) {\n if (i >= invalidateIndex) {\n newHandlerInfo = this.createParamHandlerInfo(name, getHandler, result.names, objects, oldHandlerInfo);\n } else {\n serializer = getSerializer(name);\n\n newHandlerInfo = this.getHandlerInfoForDynamicSegment(name, getHandler, result.names, objects, oldHandlerInfo, targetRouteName, i, serializer);\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, getHandler, 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 oldContext = oldHandlerInfo && oldHandlerInfo.context;\n\n if (result.names.length > 0 && 'context' in oldHandlerInfo && newHandlerInfo.context === oldContext) {\n // If contexts match in isActive test, assume params also match.\n // This allows for flexibility in not requiring that every last\n // handler provide a `serialize` method\n newHandlerInfo.params = oldHandlerInfo && oldHandlerInfo.params;\n }\n newHandlerInfo.context = oldContext;\n }\n\n 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.handlerInfos.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.handlerInfos, invalidateIndex);\n }\n\n merge(newState.queryParams, this.queryParams || {});\n\n return newState;\n };\n\n NamedTransitionIntent.prototype.invalidateChildren = function (handlerInfos, invalidateIndex) {\n var i, l, handlerInfo;\n\n for (i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n handlerInfo = handlerInfos[i];\n\n handlerInfos[i] = handlerInfo.getUnresolved();\n }\n };\n\n NamedTransitionIntent.prototype.getHandlerInfoForDynamicSegment = function (name, getHandler, names, objects, oldHandlerInfo, targetRouteName, i, serializer) {\n var objectToUse, preTransitionHandlerInfo;\n if (objects.length > 0) {\n // Use the objects provided for this transition.\n objectToUse = objects[objects.length - 1];\n if (isParam(objectToUse)) {\n return this.createParamHandlerInfo(name, getHandler, 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 preTransitionHandlerInfo = this.preTransitionState.handlerInfos[i];\n\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 handlerInfoFactory('object', {\n name: name,\n getHandler: getHandler,\n serializer: serializer,\n context: objectToUse,\n names: names\n });\n };\n\n NamedTransitionIntent.prototype.createParamHandlerInfo = function (name, getHandler, names, objects, oldHandlerInfo) {\n var params = {},\n oldParams,\n peek,\n paramName;\n\n // Soak up all the provided string/numbers\n var numNames = names.length;\n while (numNames--) {\n // Only use old params if the names match with the new handler\n oldParams = oldHandlerInfo && name === oldHandlerInfo.name && oldHandlerInfo.params || {};\n peek = objects[objects.length - 1];\n 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 throw new Error(\"You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route \" + name);\n }\n }\n }\n\n return handlerInfoFactory('param', {\n name: name,\n getHandler: getHandler,\n params: params\n });\n };\n\n return NamedTransitionIntent;\n }(TransitionIntent);\n\n function UnrecognizedURLError(message) {\n if (!(this instanceof UnrecognizedURLError)) {\n return new UnrecognizedURLError(message);\n }\n\n var error = Error.call(this, message);\n\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, UnrecognizedURLError);\n } else {\n this.stack = error.stack;\n }\n\n this.description = error.description;\n this.fileName = error.fileName;\n this.lineNumber = error.lineNumber;\n this.message = error.message || 'UnrecognizedURL';\n this.name = 'UnrecognizedURLError';\n this.number = error.number;\n this.code = error.code;\n }\n\n UnrecognizedURLError.prototype = Object.create(Error.prototype);\n\n var URLTransitionIntent = function (_TransitionIntent2) {\n (0, _emberBabel.inherits)(URLTransitionIntent, _TransitionIntent2);\n\n function URLTransitionIntent(props) {\n\n var _this7 = (0, _emberBabel.possibleConstructorReturn)(this, _TransitionIntent2.call(this, props));\n\n _this7.url = props.url;\n return _this7;\n }\n\n URLTransitionIntent.prototype.applyToState = function (oldState, recognizer, getHandler) {\n var newState = new TransitionState(),\n result,\n name,\n newHandlerInfo,\n handler,\n oldHandlerInfo;\n\n var results = 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;\n\n // Checks if a handler is accessible by URL. If it is not, an error is thrown.\n // For the case where the handler is loaded asynchronously, the error will be\n // thrown once it is loaded.\n function checkHandlerAccessibility(handler) {\n if (handler && handler.inaccessibleByURL) {\n throw new UnrecognizedURLError(url);\n }\n\n return handler;\n }\n\n for (i = 0, len = results.length; i < len; ++i) {\n result = results[i];\n name = result.handler;\n newHandlerInfo = handlerInfoFactory('param', {\n name: name,\n getHandler: getHandler,\n params: result.params\n });\n handler = newHandlerInfo.handler;\n\n\n if (handler) {\n checkHandlerAccessibility(handler);\n } else {\n // If the hanlder is being loaded asynchronously, check if we can\n // access it after it has resolved\n newHandlerInfo.handlerPromise = newHandlerInfo.handlerPromise.then(checkHandlerAccessibility);\n }\n\n oldHandlerInfo = oldState.handlerInfos[i];\n\n if (statesDiffer || newHandlerInfo.shouldSupercede(oldHandlerInfo)) {\n statesDiffer = true;\n newState.handlerInfos[i] = newHandlerInfo;\n } else {\n newState.handlerInfos[i] = oldHandlerInfo;\n }\n }\n\n merge(newState.queryParams, results.queryParams);\n\n return newState;\n };\n\n return URLTransitionIntent;\n }(TransitionIntent);\n\n var pop = Array.prototype.pop;\n\n var Router = function () {\n function Router() {\n var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};\n\n\n this.getHandler = options.getHandler || this.getHandler;\n this.getSerializer = options.getSerializer || this.getSerializer;\n this.updateURL = options.updateURL || this.updateURL;\n this.replaceURL = options.replaceURL || this.replaceURL;\n this.didTransition = options.didTransition || this.didTransition;\n this.willTransition = options.willTransition || this.willTransition;\n this.delegate = options.delegate || this.delegate;\n this.triggerEvent = options.triggerEvent || this.triggerEvent;\n this.log = options.log || this.log;\n this.dslCallBacks = []; // NOTE: set by Ember\n\n this.state = undefined;\n this.activeTransition = undefined;\n this._changedQueryParams = undefined;\n this.oldState = undefined;\n this.currentHandlerInfos = undefined;\n this.currentSequence = 0;\n\n this.recognizer = new _routeRecognizer.default();\n this.reset();\n }\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 Router.prototype.map = function (callback) {\n this.recognizer.delegate = this.delegate;\n\n this.recognizer.map(callback, function (recognizer, routes) {\n var i, proceed, route;\n\n for (i = routes.length - 1, proceed = true; i >= 0 && proceed; --i) {\n route = routes[i];\n\n recognizer.add(routes, { as: route.handler });\n proceed = route.path === '/' || route.path === '' || route.handler.slice(-6) === '.index';\n }\n });\n };\n\n Router.prototype.hasRoute = function (route) {\n return this.recognizer.hasRoute(route);\n };\n\n Router.prototype.getHandler = function () {};\n\n Router.prototype.getSerializer = function () {};\n\n Router.prototype.queryParamsTransition = function (changelist, wasTransitioning, oldState, newState) {\n var router = this,\n newTransition;\n\n fireQueryParamDidChange(this, newState, changelist);\n\n if (!wasTransitioning && this.activeTransition) {\n // One of the handlers 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\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 newTransition = new Transition(this);\n\n newTransition.queryParamsOnly = true;\n\n oldState.queryParams = finalizeQueryParamChange(this, newState.handlerInfos, newState.queryParams, newTransition);\n\n newTransition.promise = newTransition.promise.then(function (result) {\n updateURL(newTransition, oldState, true);\n if (router.didTransition) {\n router.didTransition(router.currentHandlerInfos);\n }\n return result;\n }, null, _promiseLabel('Transition complete'));\n return newTransition;\n }\n };\n\n Router.prototype.transitionByIntent = function (intent /*, isIntermediate*/) {\n try {\n return getTransitionByIntent.apply(this, arguments);\n } catch (e) {\n return new Transition(this, intent, null, e);\n }\n };\n\n Router.prototype.reset = function () {\n if (this.state) {\n forEach(this.state.handlerInfos.slice().reverse(), function (handlerInfo) {\n var handler = handlerInfo.handler;\n callHook(handler, 'exit');\n });\n }\n\n this.oldState = undefined;\n this.state = new TransitionState();\n this.currentHandlerInfos = null;\n };\n\n Router.prototype.handleURL = function () {\n for (_len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {\n args[_key] = arguments[_key];\n }\n\n // Perform a URL-based transition, but don't change\n // the URL afterward, since it already happened.\n var url = args[0],\n _len,\n args,\n _key;\n if (url.charAt(0) !== '/') {\n args[0] = '/' + url;\n }\n\n return doTransition(this, args).method(null);\n };\n\n Router.prototype.updateURL = function () {\n throw new Error('updateURL is not implemented');\n };\n\n Router.prototype.replaceURL = function (url) {\n this.updateURL(url);\n };\n\n Router.prototype.transitionTo = function () /*name*/{\n return doTransition(this, arguments);\n };\n\n Router.prototype.intermediateTransitionTo = function () /*name*/{\n return doTransition(this, arguments, true);\n };\n\n Router.prototype.refresh = function (pivotHandler) {\n var previousTransition = this.activeTransition;\n var state = previousTransition ? previousTransition.state : this.state;\n var handlerInfos = state.handlerInfos;\n\n _log(this, 'Starting a refresh transition');\n var intent = new NamedTransitionIntent({\n name: handlerInfos[handlerInfos.length - 1].name,\n pivotHandler: pivotHandler || handlerInfos[0].handler,\n contexts: [], // TODO collect contexts...?\n queryParams: this._changedQueryParams || state.queryParams || {}\n });\n\n var newTransition = this.transitionByIntent(intent, false);\n\n // if the previous transition is a replace transition, that needs to be preserved\n if (previousTransition && previousTransition.urlMethod === 'replace') {\n newTransition.method(previousTransition.urlMethod);\n }\n\n return newTransition;\n };\n\n Router.prototype.replaceWith = function () /*name*/{\n return doTransition(this, arguments).method('replace');\n };\n\n Router.prototype.generate = function (handlerName) {\n var partitionedArgs = extractQueryParams(slice.call(arguments, 1)),\n suppliedParams = partitionedArgs[0],\n queryParams = partitionedArgs[1],\n i,\n len,\n handlerInfo,\n handlerParams;\n\n // Construct a TransitionIntent with the provided params\n // and apply it to the present state of the router.\n var intent = new NamedTransitionIntent({\n name: handlerName,\n contexts: suppliedParams\n });\n var state = intent.applyToState(this.state, this.recognizer, this.getHandler, null, this.getSerializer);\n\n var params = {};\n for (i = 0, len = state.handlerInfos.length; i < len; ++i) {\n handlerInfo = state.handlerInfos[i];\n handlerParams = handlerInfo.serialize();\n\n merge(params, handlerParams);\n }\n params.queryParams = queryParams;\n\n return this.recognizer.generate(handlerName, params);\n };\n\n Router.prototype.applyIntent = function (handlerName, contexts) {\n var intent = new NamedTransitionIntent({\n name: handlerName,\n contexts: contexts\n });\n\n var state = this.activeTransition && this.activeTransition.state || this.state;\n\n return intent.applyToState(state, this.recognizer, this.getHandler, null, this.getSerializer);\n };\n\n Router.prototype.isActiveIntent = function (handlerName, contexts, queryParams, _state) {\n var state = _state || this.state,\n targetHandlerInfos = state.handlerInfos,\n handlerInfo = void 0,\n len = void 0;\n\n if (!targetHandlerInfos.length) {\n return false;\n }\n\n var targetHandler = targetHandlerInfos[targetHandlerInfos.length - 1].name;\n var recogHandlers = this.recognizer.handlersFor(targetHandler);\n\n var index = 0;\n for (len = recogHandlers.length; index < len; ++index) {\n handlerInfo = targetHandlerInfos[index];\n if (handlerInfo.name === handlerName) {\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.handlerInfos = targetHandlerInfos.slice(0, index + 1);\n recogHandlers = recogHandlers.slice(0, index + 1);\n\n var intent = new NamedTransitionIntent({\n name: targetHandler,\n contexts: contexts\n });\n\n var newState = intent.applyToHandlers(testState, recogHandlers, this.getHandler, targetHandler, true, true, this.getSerializer);\n\n var handlersEqual = handlerInfosEqual(newState.handlerInfos, testState.handlerInfos);\n if (!queryParams || !handlersEqual) {\n return handlersEqual;\n }\n\n // Get a hash of QPs that will still be active on new route\n var activeQPsOnNewHandler = {};\n merge(activeQPsOnNewHandler, queryParams);\n\n var activeQueryParams = state.queryParams;\n for (var key in activeQueryParams) {\n if (activeQueryParams.hasOwnProperty(key) && activeQPsOnNewHandler.hasOwnProperty(key)) {\n activeQPsOnNewHandler[key] = activeQueryParams[key];\n }\n }\n\n return handlersEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n };\n\n Router.prototype.isActive = function (handlerName) {\n for (_len2 = arguments.length, args = Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {\n args[_key2 - 1] = arguments[_key2];\n }\n\n var partitionedArgs = extractQueryParams(args),\n _len2,\n args,\n _key2;\n return this.isActiveIntent(handlerName, partitionedArgs[0], partitionedArgs[1]);\n };\n\n Router.prototype.trigger = function () {\n var _len3, args, _key3;\n\n for (_len3 = arguments.length, args = Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {\n args[_key3] = arguments[_key3];\n }\n\n _trigger(this, this.currentHandlerInfos, false, args);\n };\n\n return Router;\n }();\n\n function getTransitionByIntent(intent, isIntermediate) {\n var wasTransitioning = !!this.activeTransition;\n var oldState = wasTransitioning ? this.activeTransition.state : this.state;\n var newTransition;\n\n var newState = intent.applyToState(oldState, this.recognizer, this.getHandler, isIntermediate, this.getSerializer);\n var queryParamChangelist = getChangelist(oldState.queryParams, newState.queryParams);\n\n if (handlerInfosEqual(newState.handlerInfos, oldState.handlerInfos)) {\n // This is a no-op transition. See if query params changed.\n if (queryParamChangelist) {\n newTransition = this.queryParamsTransition(queryParamChangelist, wasTransitioning, oldState, newState);\n if (newTransition) {\n newTransition.queryParamsOnly = true;\n return newTransition;\n }\n }\n\n // No-op. No need to create a new transition.\n return this.activeTransition || new Transition(this);\n }\n\n if (isIntermediate) {\n setupContexts(this, newState);\n return;\n }\n\n // Create a new transition to the destination route.\n newTransition = new Transition(this, intent, newState, undefined, this.activeTransition);\n\n // transition is to same route with same params, only query params differ.\n // not caught above probably because refresh() has been used\n if (handlerInfosSameExceptQueryParams(newState.handlerInfos, oldState.handlerInfos)) {\n newTransition.queryParamsOnly = true;\n }\n\n // Abort and usurp any previously active transition.\n if (this.activeTransition) {\n this.activeTransition.abort();\n }\n this.activeTransition = newTransition;\n\n // Transition promises by default resolve with resolved state.\n // For our purposes, swap out the promise to resolve\n // after the transition has been finalized.\n newTransition.promise = newTransition.promise.then(function (result) {\n return finalizeTransition(newTransition, result.state);\n }, null, _promiseLabel('Settle transition promise when transition is finalized'));\n\n if (!wasTransitioning) {\n notifyExistingHandlers(this, newState, newTransition);\n }\n\n fireQueryParamDidChange(this, newState, queryParamChangelist);\n\n return newTransition;\n }\n\n /**\n @private\n \n Fires queryParamsDidChange event\n */\n function fireQueryParamDidChange(router, 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 router._changedQueryParams = queryParamChangelist.all;\n _trigger(router, newState.handlerInfos, true, ['queryParamsDidChange', queryParamChangelist.changed, queryParamChangelist.all, queryParamChangelist.removed]);\n router._changedQueryParams = null;\n }\n }\n\n /**\n @private\n \n Takes an Array of `HandlerInfo`s, figures out which ones are\n exiting, entering, or changing contexts, and calls the\n proper handler hooks.\n \n For example, consider the following tree of handlers. Each handler is\n followed by the URL segment it handles.\n \n ```\n |~index (\"/\")\n | |~posts (\"/posts\")\n | | |-showPost (\"/:id\")\n | | |-newPost (\"/new\")\n | | |-editPost (\"/edit\")\n | |~about (\"/about/:id\")\n ```\n \n Consider the following transitions:\n \n 1. A URL transition to `/posts/1`.\n 1. Triggers the `*model` callbacks on the\n `index`, `posts`, and `showPost` handlers\n 2. Triggers the `enter` callback on the same\n 3. Triggers the `setup` callback on the same\n 2. A direct transition to `newPost`\n 1. Triggers the `exit` callback on `showPost`\n 2. Triggers the `enter` callback on `newPost`\n 3. Triggers the `setup` callback on `newPost`\n 3. A direct transition to `about` with a specified\n context object\n 1. Triggers the `exit` callback on `newPost`\n and `posts`\n 2. Triggers the `serialize` callback on `about`\n 3. Triggers the `enter` callback on `about`\n 4. Triggers the `setup` callback on `about`\n \n @param {Router} transition\n @param {TransitionState} newState\n */\n function setupContexts(router, newState, transition) {\n var partition = partitionHandlers(router.state, newState);\n var i, l, handler;\n\n for (i = 0, l = partition.exited.length; i < l; i++) {\n handler = partition.exited[i].handler;\n delete handler.context;\n\n callHook(handler, 'reset', true, transition);\n callHook(handler, 'exit', transition);\n }\n\n var oldState = router.oldState = router.state;\n router.state = newState;\n var currentHandlerInfos = router.currentHandlerInfos = partition.unchanged.slice();\n\n try {\n for (i = 0, l = partition.reset.length; i < l; i++) {\n handler = partition.reset[i].handler;\n callHook(handler, 'reset', false, transition);\n }\n\n for (i = 0, l = partition.updatedContext.length; i < l; i++) {\n handlerEnteredOrUpdated(currentHandlerInfos, partition.updatedContext[i], false, transition);\n }\n\n for (i = 0, l = partition.entered.length; i < l; i++) {\n handlerEnteredOrUpdated(currentHandlerInfos, partition.entered[i], true, transition);\n }\n } catch (e) {\n router.state = oldState;\n router.currentHandlerInfos = oldState.handlerInfos;\n throw e;\n }\n\n router.state.queryParams = finalizeQueryParamChange(router, currentHandlerInfos, newState.queryParams, transition);\n }\n\n /**\n @private\n \n Helper method used by setupContexts. Handles errors or redirects\n that may happen in enter/setup.\n */\n function handlerEnteredOrUpdated(currentHandlerInfos, handlerInfo, enter, transition) {\n var handler = handlerInfo.handler,\n context = handlerInfo.context;\n\n function _handlerEnteredOrUpdated(handler) {\n if (enter) {\n callHook(handler, 'enter', transition);\n }\n\n if (transition && transition.isAborted) {\n throw new TransitionAbortedError();\n }\n\n handler.context = context;\n callHook(handler, 'contextDidChange');\n\n callHook(handler, 'setup', context, transition);\n if (transition && transition.isAborted) {\n throw new TransitionAbortedError();\n }\n\n currentHandlerInfos.push(handlerInfo);\n }\n\n // If the handler doesn't exist, it means we haven't resolved the handler promise yet\n if (!handler) {\n handlerInfo.handlerPromise = handlerInfo.handlerPromise.then(_handlerEnteredOrUpdated);\n } else {\n _handlerEnteredOrUpdated(handler);\n }\n\n return true;\n }\n\n /**\n @private\n \n This function is called when transitioning from one URL to\n another to determine which handlers are no longer active,\n which handlers are newly active, and which handlers remain\n active but have their context changed.\n \n Take a list of old handlers and new handlers and partition\n them into four buckets:\n \n * unchanged: the handler was active in both the old and\n new URL, and its context remains the same\n * updated context: the handler was active in both the\n old and new URL, but its context changed. The handler's\n `setup` method, if any, will be called with the new\n context.\n * exited: the handler was active in the old URL, but is\n no longer active.\n * entered: the handler was not active in the old URL, but\n is now active.\n \n The PartitionedHandlers structure has four fields:\n \n * `updatedContext`: a list of `HandlerInfo` objects that\n represent handlers that remain active but have a changed\n context\n * `entered`: a list of `HandlerInfo` objects that represent\n handlers that are newly active\n * `exited`: a list of `HandlerInfo` objects that are no\n longer active.\n * `unchanged`: a list of `HanderInfo` objects that remain active.\n \n @param {Array[HandlerInfo]} oldHandlers a list of the handler\n information for the previous URL (or `[]` if this is the\n first handled transition)\n @param {Array[HandlerInfo]} newHandlers a list of the handler\n information for the new URL\n \n @return {Partition}\n */\n function partitionHandlers(oldState, newState) {\n var oldHandlers = oldState.handlerInfos,\n oldHandler,\n newHandler;\n var newHandlers = newState.handlerInfos;\n\n var handlers = {\n updatedContext: [],\n exited: [],\n entered: [],\n unchanged: [],\n reset: undefined\n };\n\n var handlerChanged,\n contextChanged = false,\n i,\n l;\n\n for (i = 0, l = newHandlers.length; i < l; i++) {\n oldHandler = oldHandlers[i], newHandler = newHandlers[i];\n\n\n if (!oldHandler || oldHandler.handler !== newHandler.handler) {\n handlerChanged = true;\n }\n\n if (handlerChanged) {\n handlers.entered.push(newHandler);\n if (oldHandler) {\n handlers.exited.unshift(oldHandler);\n }\n } else if (contextChanged || oldHandler.context !== newHandler.context) {\n contextChanged = true;\n handlers.updatedContext.push(newHandler);\n } else {\n handlers.unchanged.push(oldHandler);\n }\n }\n\n for (i = newHandlers.length, l = oldHandlers.length; i < l; i++) {\n handlers.exited.unshift(oldHandlers[i]);\n }\n\n handlers.reset = handlers.updatedContext.slice();\n handlers.reset.reverse();\n\n return handlers;\n }\n\n function updateURL(transition, state /*, inputUrl*/) {\n var urlMethod = transition.urlMethod,\n i,\n handlerInfo,\n url,\n initial,\n replaceAndNotAborting,\n isQueryParamsRefreshTransition,\n replacingReplace;\n\n if (!urlMethod) {\n return;\n }\n\n var router = transition.router,\n handlerInfos = state.handlerInfos,\n handlerName = handlerInfos[handlerInfos.length - 1].name,\n params = {};\n\n for (i = handlerInfos.length - 1; i >= 0; --i) {\n handlerInfo = handlerInfos[i];\n\n merge(params, handlerInfo.params);\n if (handlerInfo.handler.inaccessibleByURL) {\n urlMethod = null;\n }\n }\n\n if (urlMethod) {\n params.queryParams = transition._visibleQueryParams || state.queryParams;\n url = router.recognizer.generate(handlerName, params);\n\n // transitions during the initial transition must always use replaceURL.\n // When the app boots, you are at a url, e.g. /foo. If some handler\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 initial = transition.isCausedByInitialTransition;\n\n // say you are at / and you click a link to route /foo. In /foo's\n // handler, 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 replaceAndNotAborting = urlMethod === 'replace' && !transition.isCausedByAbortingTransition;\n\n // because calling refresh causes an aborted transition, this needs to be\n // special cased - if the initial transition is a replace transition, the\n // urlMethod should be honored here.\n\n isQueryParamsRefreshTransition = transition.queryParamsOnly && urlMethod === 'replace';\n\n // say you are at / and you a `replaceWith(/foo)` is called. Then, that\n // transition is aborted with `replaceWith(/bar)`. At the end, we should\n // end up with /bar replacing /. We are replacing the replace. We only\n // will replace the initial route if all subsequent aborts are also\n // replaces. However, there is some ambiguity around the correct behavior\n // here.\n\n replacingReplace = urlMethod === 'replace' && transition.isCausedByAbortingReplaceTransition;\n\n\n if (initial || replaceAndNotAborting || isQueryParamsRefreshTransition || replacingReplace) {\n router.replaceURL(url);\n } else {\n router.updateURL(url);\n }\n }\n }\n\n /**\n @private\n \n Updates the URL (if necessary) and calls `setupContexts`\n to update the router's array of `currentHandlerInfos`.\n */\n function finalizeTransition(transition, newState) {\n var router, handlerInfos, infos;\n\n try {\n _log(transition.router, transition.sequence, 'Resolved all models on destination route; finalizing transition.');\n\n router = transition.router, handlerInfos = newState.handlerInfos;\n\n // Run all the necessary enter/setup/exit hooks\n\n setupContexts(router, newState, transition);\n\n // Check if a redirect occurred in enter/setup\n if (transition.isAborted) {\n // TODO: cleaner way? distinguish b/w targetHandlerInfos?\n router.state.handlerInfos = router.currentHandlerInfos;\n return _rsvp.Promise.reject(logAbort(transition));\n }\n\n updateURL(transition, newState, transition.intent.url);\n\n transition.isActive = false;\n router.activeTransition = null;\n\n _trigger(router, router.currentHandlerInfos, true, ['didTransition']);\n\n if (router.didTransition) {\n router.didTransition(router.currentHandlerInfos);\n }\n\n _log(router, transition.sequence, 'TRANSITION COMPLETE.');\n\n // Resolve with the final handler.\n return handlerInfos[handlerInfos.length - 1].handler;\n } catch (e) {\n if (!(e instanceof TransitionAbortedError)) {\n //var erroneousHandler = handlerInfos.pop();\n infos = transition.state.handlerInfos;\n\n transition.trigger(true, 'error', e, transition, infos[infos.length - 1].handler);\n transition.abort();\n }\n\n throw e;\n }\n }\n\n /**\n @private\n \n Begins and returns a Transition based on the provided\n arguments. Accepts arguments in the form of both URL\n transitions and named transitions.\n \n @param {Router} router\n @param {Array[Object]} args arguments passed to transitionTo,\n replaceWith, or handleURL\n */\n function doTransition(router, args, isIntermediate) {\n // Normalize blank transitions to root URL transitions.\n var name = args[0] || '/',\n handlerInfos;\n\n var lastArg = args[args.length - 1];\n var queryParams = {};\n if (lastArg && lastArg.hasOwnProperty('queryParams')) {\n queryParams = pop.call(args).queryParams;\n }\n\n var intent;\n if (args.length === 0) {\n _log(router, 'Updating query params');\n\n // A query param update is really just a transition\n // into the route you're already on.\n handlerInfos = router.state.handlerInfos;\n\n intent = new NamedTransitionIntent({\n name: handlerInfos[handlerInfos.length - 1].name,\n contexts: [],\n queryParams: queryParams\n });\n } else if (name.charAt(0) === '/') {\n _log(router, 'Attempting URL transition to ' + name);\n intent = new URLTransitionIntent({ url: name });\n } else {\n _log(router, 'Attempting transition to ' + name);\n intent = new NamedTransitionIntent({\n name: args[0],\n contexts: slice.call(args, 1),\n queryParams: queryParams\n });\n }\n\n return router.transitionByIntent(intent, isIntermediate);\n }\n\n function handlerInfosEqual(handlerInfos, otherHandlerInfos) {\n var i, len;\n\n if (handlerInfos.length !== otherHandlerInfos.length) {\n return false;\n }\n\n for (i = 0, len = handlerInfos.length; i < len; ++i) {\n if (handlerInfos[i] !== otherHandlerInfos[i]) {\n return false;\n }\n }\n return true;\n }\n\n function handlerInfosSameExceptQueryParams(handlerInfos, otherHandlerInfos) {\n var i, len;\n\n if (handlerInfos.length !== otherHandlerInfos.length) {\n return false;\n }\n\n for (i = 0, len = handlerInfos.length; i < len; ++i) {\n if (handlerInfos[i].name !== otherHandlerInfos[i].name) {\n return false;\n }\n\n if (!paramsEqual(handlerInfos[i].params, otherHandlerInfos[i].params)) {\n return false;\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 var keys = Object.keys(params),\n i,\n len,\n key;\n var otherKeys = Object.keys(otherParams);\n\n if (keys.length !== otherKeys.length) {\n return false;\n }\n\n for (i = 0, len = keys.length; i < len; ++i) {\n key = keys[i];\n\n\n if (params[key] !== otherParams[key]) {\n return false;\n }\n }\n\n return true;\n }\n\n function finalizeQueryParamChange(router, 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\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 i,\n len,\n qp;\n _trigger(router, resolvedHandlers, true, ['finalizeQueryParamChange', newQueryParams, finalQueryParamsArray, transition]);\n\n if (transition) {\n transition._visibleQueryParams = {};\n }\n\n var finalQueryParams = {};\n for (i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n qp = finalQueryParamsArray[i];\n\n finalQueryParams[qp.key] = qp.value;\n if (transition && qp.visible !== false) {\n transition._visibleQueryParams[qp.key] = qp.value;\n }\n }\n return finalQueryParams;\n }\n\n function notifyExistingHandlers(router, newState, newTransition) {\n var oldHandlers = router.state.handlerInfos,\n i,\n oldHandlerLen,\n oldHandler,\n newHandler;\n\n oldHandlerLen = oldHandlers.length;\n for (i = 0; i < oldHandlerLen; i++) {\n oldHandler = oldHandlers[i];\n newHandler = newState.handlerInfos[i];\n\n if (!newHandler || oldHandler.name !== newHandler.name) {\n break;\n }\n\n if (!newHandler.isResolved) {}\n }\n\n _trigger(router, oldHandlers, true, ['willTransition', newTransition]);\n\n if (router.willTransition) {\n router.willTransition(oldHandlers, newState.handlerInfos, newTransition);\n }\n }\n\n exports.default = Router;\n exports.Transition = Transition;\n});","enifed('rsvp', ['exports', 'ember-babel', 'node-module'], function (exports, _emberBabel, _nodeModule) {\n 'use strict';\n\n exports.filter = exports.async = exports.map = exports.reject = exports.resolve = exports.off = exports.on = exports.configure = exports.denodeify = exports.defer = exports.rethrow = exports.hashSettled = exports.hash = exports.race = exports.allSettled = exports.all = exports.EventTarget = exports.Promise = exports.cast = exports.asap = undefined;\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 /**\n @class RSVP.EventTarget\n */\n var EventTarget = {\n mixin: function (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 on: function (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 off: function (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 trigger: function (eventName, options, label) {\n var allCallbacks = callbacksFor(this),\n callback,\n i;\n\n var callbacks = allCallbacks[eventName];\n if (callbacks) {\n // Don't cache the callbacks.length since it may grow\n callback = void 0;\n\n for (i = 0; i < callbacks.length; i++) {\n callback = callbacks[i];\n callback(options, label);\n }\n }\n }\n },\n callbacks;\n\n var config = {\n instrument: false\n };\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(function () {\n var i, entry, payload;\n\n for (i = 0; i < queue.length; i++) {\n entry = queue[i];\n payload = entry.payload;\n\n\n payload.guid = payload.key + payload.id;\n payload.childGuid = payload.key + payload.childId;\n if (payload.error) {\n payload.stack = payload.error.stack;\n }\n\n config['trigger'](entry.name, entry.payload);\n }\n queue.length = 0;\n }, 50);\n }\n\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 scheduleFlush();\n }\n }\n\n /**\n `RSVP.Promise.resolve` returns a promise that will become resolved with the\n passed `value`. It is shorthand for the following:\n \n ```javascript\n let promise = new RSVP.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 let promise = RSVP.Promise.resolve(1);\n \n promise.then(function(value){\n // value === 1\n });\n ```\n \n @method resolve\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 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 var TRY_CATCH_ERROR = { error: null };\n\n function getThen(promise) {\n try {\n return promise.then;\n } catch (error) {\n TRY_CATCH_ERROR.error = error;\n return TRY_CATCH_ERROR;\n }\n }\n\n var tryCatchCallback = void 0;\n function tryCatcher() {\n var target;\n\n try {\n target = tryCatchCallback;\n\n tryCatchCallback = null;\n return target.apply(this, arguments);\n } catch (e) {\n TRY_CATCH_ERROR.error = e;\n return TRY_CATCH_ERROR;\n }\n }\n\n function tryCatch(fn) {\n tryCatchCallback = fn;\n return tryCatcher;\n }\n\n function handleForeignThenable(promise, thenable, then$$1) {\n config.async(function (promise) {\n var sealed = false,\n error;\n var result = tryCatch(then$$1).call(thenable, function (value) {\n if (sealed) {\n return;\n }\n sealed = true;\n if (thenable === value) {\n fulfill(promise, value);\n } else {\n resolve$1(promise, value);\n }\n }, function (reason) {\n if (sealed) {\n return;\n }\n sealed = true;\n\n reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n if (!sealed && result === TRY_CATCH_ERROR) {\n sealed = true;\n error = TRY_CATCH_ERROR.error;\n\n TRY_CATCH_ERROR.error = null;\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, function (value) {\n if (thenable === value) {\n fulfill(promise, value);\n } else {\n resolve$1(promise, value);\n }\n }, function (reason) {\n return reject(promise, reason);\n });\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 error;\n\n if (isOwnThenable) {\n handleOwnThenable(promise, maybeThenable);\n } else if (then$$1 === TRY_CATCH_ERROR) {\n error = TRY_CATCH_ERROR.error;\n\n TRY_CATCH_ERROR.error = null;\n reject(promise, error);\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 handleMaybeThenable(promise, value, getThen(value));\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 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\n parent._onError = null;\n\n subscribers[length] = child;\n subscribers[length + FULFILLED] = onFulfillment;\n subscribers[length + REJECTED] = onRejection;\n\n if (length === 0 && parent._state) {\n config.async(publish, parent);\n }\n }\n\n function publish(promise) {\n var subscribers = promise._subscribers,\n i;\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 = void 0,\n callback = void 0,\n result = promise._result;\n\n for (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 error;\n var value = void 0;\n\n if (hasCallback) {\n value = tryCatch(callback)(result);\n } else {\n value = result;\n }\n\n if (promise._state !== PENDING) {\n // noop\n } else if (value === promise) {\n reject(promise, withOwnPromise());\n } else if (value === TRY_CATCH_ERROR) {\n error = TRY_CATCH_ERROR.error;\n\n TRY_CATCH_ERROR.error = null; // release\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 try {\n resolver(function (value) {\n if (resolved) {\n return;\n }\n resolved = true;\n resolve$1(promise, value);\n }, function (reason) {\n if (resolved) {\n return;\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 callback;\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\n var child = new parent.constructor(noop, label);\n var result = parent._result;\n\n config.instrument && instrument('chained', parent, child);\n\n if (state === PENDING) {\n subscribe(parent, child, onFulfillment, onRejection);\n } else {\n callback = state === FULFILLED ? onFulfillment : onRejection;\n\n config.async(function () {\n return invokeCallback(state, child, callback, result);\n });\n }\n\n return child;\n }\n\n var Enumerator = function () {\n function Enumerator(Constructor, input, abortOnReject, label) {\n\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.apply(this, arguments);\n }\n\n Enumerator.prototype._init = function (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 Enumerator.prototype._enumerate = function (input) {\n var length = this.length,\n i;\n var promise = this.promise;\n\n for (i = 0; promise._state === PENDING && i < length; i++) {\n this._eachEntry(input[i], i, true);\n }\n this._checkFullfillment();\n };\n\n Enumerator.prototype._checkFullfillment = function () {\n var result;\n\n if (this._remaining === 0) {\n result = this._result;\n\n fulfill(this.promise, result);\n this._result = null;\n }\n };\n\n Enumerator.prototype._settleMaybeThenable = function (entry, i, firstPass) {\n var c = this._instanceConstructor,\n then$$1,\n promise;\n\n if (this._isUsingOwnResolve) {\n then$$1 = getThen(entry);\n\n\n if (then$$1 === then && entry._state !== PENDING) {\n entry._onError = null;\n this._settledAt(entry._state, i, entry._result, firstPass);\n } else if (typeof then$$1 !== 'function') {\n this._settledAt(FULFILLED, i, entry, firstPass);\n } else if (this._isUsingOwnPromise) {\n promise = new c(noop);\n\n handleMaybeThenable(promise, entry, then$$1);\n this._willSettleAt(promise, i, firstPass);\n } else {\n this._willSettleAt(new c(function (resolve) {\n return resolve(entry);\n }), i, firstPass);\n }\n } else {\n this._willSettleAt(c.resolve(entry), i, firstPass);\n }\n };\n\n Enumerator.prototype._eachEntry = function (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 Enumerator.prototype._settledAt = function (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 this._checkFullfillment();\n }\n }\n };\n\n Enumerator.prototype._setResultAt = function (state, i, value) {\n this._remaining--;\n this._result[i] = value;\n };\n\n Enumerator.prototype._willSettleAt = function (promise, i, firstPass) {\n var _this = this;\n\n subscribe(promise, undefined, function (value) {\n return _this._settledAt(FULFILLED, i, value, firstPass);\n }, function (reason) {\n return _this._settledAt(REJECTED, i, reason, firstPass);\n });\n };\n\n return Enumerator;\n }();\n\n function setSettledResult(state, i, value) {\n this._remaining--;\n if (state === FULFILLED) {\n this._result[i] = {\n state: 'fulfilled',\n value: value\n };\n } else {\n this._result[i] = {\n state: 'rejected',\n reason: value\n };\n }\n }\n\n /**\n `RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.resolve(2);\n let promise3 = RSVP.resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n \n RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.reject(new Error(\"2\"));\n let promise3 = RSVP.reject(new Error(\"3\"));\n let promises = [ promise1, promise2, promise3 ];\n \n RSVP.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 @static\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 /**\n `RSVP.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 let promise1 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n \n let promise2 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 2');\n }, 100);\n });\n \n RSVP.Promise.race([promise1, promise2]).then(function(result){\n // result === 'promise 2' because it was resolved before promise1\n // was resolved.\n });\n ```\n \n `RSVP.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 let promise1 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n \n let promise2 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n reject(new Error('promise 2'));\n }, 100);\n });\n \n RSVP.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 RSVP.Promise.race([ajax('foo.json'), timeout(5000)])\n ```\n \n @method race\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 /**\n `RSVP.Promise.reject` returns a promise rejected with the passed `reason`.\n It is shorthand for the following:\n \n ```javascript\n let promise = new RSVP.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 let promise = RSVP.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 @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 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 /**\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 RSVP.Promise\n @param {function} resolver\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @constructor\n */\n\n var Promise = function () {\n function Promise(resolver, label) {\n\n this._id = counter++;\n this._label = label;\n this._state = undefined;\n this._result = undefined;\n this._subscribers = [];\n\n config.instrument && instrument('created', this);\n\n if (noop !== resolver) {\n typeof resolver !== 'function' && needsResolver();\n this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n }\n }\n\n Promise.prototype._onError = function (reason) {\n var _this2 = this;\n\n config.after(function () {\n if (_this2._onError) {\n config.trigger('error', reason, _this2._label);\n }\n });\n };\n\n Promise.prototype.catch = function (onRejection, label) {\n return this.then(undefined, onRejection, label);\n };\n\n Promise.prototype.finally = function (callback, label) {\n var promise = this;\n var constructor = promise.constructor;\n\n return promise.then(function (value) {\n return constructor.resolve(callback()).then(function () {\n return value;\n });\n }, function (reason) {\n return constructor.resolve(callback()).then(function () {\n throw reason;\n });\n }, label);\n };\n\n return Promise;\n }();\n\n Promise.cast = resolve$$1; // deprecated\n Promise.all = function (entries, label) {\n if (!Array.isArray(entries)) {\n return this.reject(new TypeError(\"Promise.all must be called with an array\"), label);\n }\n return new Enumerator(this, entries, true /* abort on reject */, label).promise;\n };\n Promise.race = function (entries, label) {\n /*jshint validthis:true */\n var Constructor = this,\n i;\n\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 (i = 0; promise._state === PENDING && i < entries.length; i++) {\n subscribe(Constructor.resolve(entries[i]), undefined, function (value) {\n return resolve$1(promise, value);\n }, function (reason) {\n return reject(promise, reason);\n });\n }\n\n return promise;\n };\n Promise.resolve = resolve$$1;\n Promise.reject = function (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 Promise.prototype._guidKey = guidKey;\n\n /**\n The primary way of interacting with a promise is through its `then` method,\n which registers callbacks to receive either a promise's eventual value or the\n reason why the promise cannot be fulfilled.\n \n ```js\n findUser().then(function(user){\n // user is available\n }, function(reason){\n // user is unavailable, and you are given the reason why\n });\n ```\n \n Chaining\n --------\n \n The return value of `then` is itself a promise. This second, 'downstream'\n promise is resolved with the return value of the first promise's fulfillment\n or rejection handler, or rejected if the handler throws an exception.\n \n ```js\n findUser().then(function (user) {\n return user.name;\n }, function (reason) {\n return 'default name';\n }).then(function (userName) {\n // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n // will be `'default name'`\n });\n \n findUser().then(function (user) {\n throw new Error('Found user, but still unhappy');\n }, function (reason) {\n throw new Error('`findUser` rejected and we\\'re unhappy');\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n // If `findUser` rejected, `reason` will be '`findUser` rejected and we\\'re unhappy'.\n });\n ```\n If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n \n ```js\n findUser().then(function (user) {\n throw new PedagogicalException('Upstream error');\n }).then(function (value) {\n // never reached\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // The `PedgagocialException` is propagated all the way down to here\n });\n ```\n \n Assimilation\n ------------\n \n Sometimes the value you want to propagate to a downstream promise can only be\n retrieved asynchronously. This can be achieved by returning a promise in the\n fulfillment or rejection handler. The downstream promise will then be pending\n until the returned promise is settled. This is called *assimilation*.\n \n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // The user's comments are now available\n });\n ```\n \n If the assimliated promise rejects, then the downstream promise will also reject.\n \n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // If `findCommentsByAuthor` fulfills, we'll have the value here\n }, function (reason) {\n // If `findCommentsByAuthor` rejects, we'll have the reason here\n });\n ```\n \n Simple Example\n --------------\n \n Synchronous Example\n \n ```javascript\n let result;\n \n try {\n result = findResult();\n // success\n } catch(reason) {\n // failure\n }\n ```\n \n Errback Example\n \n ```js\n findResult(function(result, err){\n if (err) {\n // failure\n } else {\n // success\n }\n });\n ```\n \n Promise Example;\n \n ```javascript\n findResult().then(function(result){\n // success\n }, function(reason){\n // failure\n });\n ```\n \n Advanced Example\n --------------\n \n Synchronous Example\n \n ```javascript\n let author, books;\n \n try {\n author = findAuthor();\n books = findBooksByAuthor(author);\n // success\n } catch(reason) {\n // failure\n }\n ```\n \n Errback Example\n \n ```js\n \n function foundBooks(books) {\n \n }\n \n function failure(reason) {\n \n }\n \n findAuthor(function(author, err){\n if (err) {\n failure(err);\n // failure\n } else {\n try {\n findBoooksByAuthor(author, function(books, err) {\n if (err) {\n failure(err);\n } else {\n try {\n foundBooks(books);\n } catch(reason) {\n failure(reason);\n }\n }\n });\n } catch(error) {\n failure(err);\n }\n // success\n }\n });\n ```\n \n Promise Example;\n \n ```javascript\n findAuthor().\n then(findBooksByAuthor).\n then(function(books){\n // found books\n }).catch(function(reason){\n // something went wrong\n });\n ```\n \n @method then\n @param {Function} onFulfillment\n @param {Function} onRejection\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Promise}\n */\n Promise.prototype.then = then;\n\n function makeObject(_, argumentNames) {\n var obj = {},\n x,\n i,\n name;\n var length = _.length;\n var args = new Array(length);\n\n for (x = 0; x < length; x++) {\n args[x] = _[x];\n }\n\n for (i = 0; i < argumentNames.length; i++) {\n name = argumentNames[i];\n\n obj[name] = args[i + 1];\n }\n\n return obj;\n }\n\n function arrayResult(_) {\n var length = _.length,\n i;\n var args = new Array(length - 1);\n\n for (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: function (onFulFillment, onRejection) {\n return then.call(promise, onFulFillment, onRejection);\n }\n };\n }\n\n /**\n `RSVP.denodeify` takes a 'node-style' function and returns a function that\n will return an `RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.denodeify(fs.readFile);\n let writeFile = RSVP.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 @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 an\n `RSVP.Promise`\n @static\n */\n function denodeify(nodeFunc, options) {\n var fn = function () {\n var l = arguments.length,\n i,\n arg,\n error,\n p;\n var args = new Array(l + 1);\n var promiseInput = false;\n\n for (i = 0; i < l; ++i) {\n arg = arguments[i];\n\n\n if (!promiseInput) {\n // TODO: clean this up\n promiseInput = needsPromiseInput(arg);\n if (promiseInput === TRY_CATCH_ERROR) {\n error = TRY_CATCH_ERROR.error;\n\n TRY_CATCH_ERROR.error = null;\n p = new Promise(noop);\n\n reject(p, error);\n return p;\n } else if (promiseInput && promiseInput !== true) {\n arg = wrapThenable(promiseInput, arg);\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\n return fn;\n }\n\n function handleValueInput(promise, args, nodeFunc, self) {\n var result = tryCatch(nodeFunc).apply(self, args),\n error;\n if (result === TRY_CATCH_ERROR) {\n error = TRY_CATCH_ERROR.error;\n\n TRY_CATCH_ERROR.error = null;\n reject(promise, error);\n }\n return promise;\n }\n\n function handlePromiseInput(promise, args, nodeFunc, self) {\n return Promise.all(args).then(function (args) {\n return handleValueInput(promise, args, nodeFunc, self);\n });\n }\n\n function needsPromiseInput(arg) {\n if (arg !== null && typeof arg === 'object') {\n if (arg.constructor === Promise) {\n return true;\n } else {\n return getThen(arg);\n }\n } else {\n return false;\n }\n }\n\n /**\n This is a convenient alias for `RSVP.Promise.all`.\n \n @method all\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 function all$1(array, label) {\n return Promise.all(array, label);\n }\n\n var AllSettled = function (_Enumerator) {\n (0, _emberBabel.inherits)(AllSettled, _Enumerator);\n\n function AllSettled(Constructor, entries, label) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _Enumerator.call(this, Constructor, entries, false /* don't abort on reject */, label));\n }\n\n return AllSettled;\n }(Enumerator);\n\n AllSettled.prototype._setResultAt = setSettledResult;\n\n /**\n `RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing\n a fail-fast method, it waits until all the promises have returned and\n shows you all the results. This is useful if you want to handle multiple\n promises' failure states together as a set.\n 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 @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 /**\n This is a convenient alias for `RSVP.Promise.race`.\n \n @method race\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 function race$1(array, label) {\n return Promise.race(array, label);\n }\n\n var PromiseHash = function (_Enumerator2) {\n (0, _emberBabel.inherits)(PromiseHash, _Enumerator2);\n\n function PromiseHash(Constructor, object) {\n var abortOnReject = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : true;\n var label = arguments[3];\n\n return (0, _emberBabel.possibleConstructorReturn)(this, _Enumerator2.call(this, Constructor, object, abortOnReject, label));\n }\n\n PromiseHash.prototype._init = function (Constructor, object) {\n this._result = {};\n this._enumerate(object);\n };\n\n PromiseHash.prototype._enumerate = function (input) {\n var keys = Object.keys(input),\n i;\n\n var length = keys.length;\n var promise = this.promise;\n this._remaining = length;\n\n var key = void 0,\n val = void 0;\n for (i = 0; promise._state === PENDING && i < length; i++) {\n key = keys[i];\n val = input[key];\n this._eachEntry(val, key, true);\n }\n\n this._checkFullfillment();\n };\n\n return PromiseHash;\n }(Enumerator);\n\n /**\n `RSVP.hash` is similar to `RSVP.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: RSVP.resolve(1),\n yourPromise: RSVP.resolve(2),\n theirPromise: RSVP.resolve(3),\n notAPromise: 4\n };\n \n RSVP.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 `RSVP.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: RSVP.resolve(1),\n rejectedPromise: RSVP.reject(new Error('rejectedPromise')),\n anotherRejectedPromise: RSVP.reject(new Error('anotherRejectedPromise')),\n };\n \n RSVP.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: `RSVP.hash` is intended for plain JavaScript objects that\n are just a set of keys and values. `RSVP.hash` will NOT preserve prototype\n chains.\n \n Example:\n \n ```javascript\n function MyConstructor(){\n this.example = RSVP.resolve('Example');\n }\n \n MyConstructor.prototype = {\n protoProperty: RSVP.resolve('Proto Property')\n };\n \n let myObject = new MyConstructor();\n \n RSVP.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 @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 function hash(object, label) {\n if (object === null || typeof object !== 'object') {\n return Promise.reject(new TypeError(\"Promise.hash must be called with an object\"), label);\n }\n\n return new PromiseHash(Promise, object, label).promise;\n }\n\n var HashSettled = function (_PromiseHash) {\n (0, _emberBabel.inherits)(HashSettled, _PromiseHash);\n\n function HashSettled(Constructor, object, label) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _PromiseHash.call(this, Constructor, object, false, label));\n }\n\n return HashSettled;\n }(PromiseHash);\n\n HashSettled.prototype._setResultAt = setSettledResult;\n\n /**\n `RSVP.hashSettled` is similar to `RSVP.allSettled`, but takes an object\n instead of an array for its `promises` argument.\n \n Unlike `RSVP.all` or `RSVP.hash`, which implement a fail-fast method,\n but like `RSVP.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 let promises = {\n myPromise: RSVP.Promise.resolve(1),\n yourPromise: RSVP.Promise.resolve(2),\n theirPromise: RSVP.Promise.resolve(3),\n notAPromise: 4\n };\n \n RSVP.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 `RSVP.hash` are rejected, the state will\n be set to 'rejected' and the reason for rejection provided.\n \n Example:\n \n ```javascript\n let promises = {\n myPromise: RSVP.Promise.resolve(1),\n rejectedPromise: RSVP.Promise.reject(new Error('rejection')),\n anotherRejectedPromise: RSVP.Promise.reject(new Error('more rejection')),\n };\n \n RSVP.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: `RSVP.hashSettled` is intended for plain JavaScript objects that\n are just a set of keys and values. `RSVP.hashSettled` will NOT preserve prototype\n chains.\n \n Example:\n \n ```javascript\n function MyConstructor(){\n this.example = RSVP.Promise.resolve('Example');\n }\n \n MyConstructor.prototype = {\n protoProperty: RSVP.Promise.resolve('Proto Property')\n };\n \n let myObject = new MyConstructor();\n \n RSVP.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 @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 if (object === null || typeof object !== 'object') {\n return Promise.reject(new TypeError(\"RSVP.hashSettled must be called with an object\"), label);\n }\n\n return new HashSettled(Promise, object, false, label).promise;\n }\n\n /**\n `RSVP.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, `RSVP.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 function throws(){\n throw new Error('Whoops!');\n }\n \n let promise = new RSVP.Promise(function(resolve, reject){\n throws();\n });\n \n promise.catch(RSVP.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 @static\n @for RSVP\n @param {Error} reason reason the promise became rejected.\n @throws Error\n @static\n */\n function rethrow(reason) {\n setTimeout(function () {\n throw reason;\n });\n throw reason;\n }\n\n /**\n `RSVP.defer` returns an object similar to jQuery's `$.Deferred`.\n `RSVP.defer` should be used when porting over code reliant on `$.Deferred`'s\n interface. New code should use the `RSVP.Promise` constructor instead.\n \n The object returned from `RSVP.defer` is a plain object with three properties:\n \n * promise - an `RSVP.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 = RSVP.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 @static\n @for RSVP\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Object}\n */\n\n function defer(label) {\n var deferred = { resolve: undefined, reject: undefined };\n\n deferred.promise = new Promise(function (resolve, reject) {\n deferred.resolve = resolve;\n deferred.reject = reject;\n }, label);\n\n return deferred;\n }\n\n var MapEnumerator = function (_Enumerator3) {\n (0, _emberBabel.inherits)(MapEnumerator, _Enumerator3);\n\n function MapEnumerator(Constructor, entries, mapFn, label) {\n return (0, _emberBabel.possibleConstructorReturn)(this, _Enumerator3.call(this, Constructor, entries, true, label, mapFn));\n }\n\n MapEnumerator.prototype._init = function (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 MapEnumerator.prototype._setResultAt = function (state, i, value, firstPass) {\n var val;\n\n if (firstPass) {\n val = tryCatch(this._mapFn)(value, i);\n\n if (val === TRY_CATCH_ERROR) {\n this._settledAt(REJECTED, i, val.error, false);\n } else {\n this._eachEntry(val, i, false);\n }\n } else {\n this._remaining--;\n this._result[i] = value;\n }\n };\n\n return MapEnumerator;\n }(Enumerator);\n\n /**\n `RSVP.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 `RSVP.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 \n let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.resolve(2);\n let promise3 = RSVP.resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n \n let mapFn = function(item){\n return item + 1;\n };\n \n RSVP.map(promises, mapFn).then(function(result){\n // result is [ 2, 3, 4 ]\n });\n ```\n \n If any of the `promises` given to `RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.reject(new Error('2'));\n let promise3 = RSVP.reject(new Error('3'));\n let promises = [ promise1, promise2, promise3 ];\n \n let mapFn = function(item){\n return item + 1;\n };\n \n RSVP.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 `RSVP.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 \n let mapFn = function(blogPost){\n // getComments does some ajax and returns an RSVP.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 RSVP.Promise that is fulfilled\n // with some blog post data\n RSVP.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 @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 @static\n */\n function map(promises, mapFn, label) {\n if (!Array.isArray(promises)) {\n return Promise.reject(new TypeError(\"RSVP.map must be called with an array\"), label);\n }\n\n if (typeof mapFn !== 'function') {\n return Promise.reject(new TypeError(\"RSVP.map expects a function as a second argument\"), label);\n }\n\n return new MapEnumerator(Promise, promises, mapFn, label).promise;\n }\n\n /**\n This is a convenient alias for `RSVP.Promise.resolve`.\n \n @method resolve\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 function resolve$2(value, label) {\n return Promise.resolve(value, label);\n }\n\n /**\n This is a convenient alias for `RSVP.Promise.reject`.\n \n @method reject\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 function reject$2(reason, label) {\n return Promise.reject(reason, label);\n }\n\n var EMPTY_OBJECT = {};\n\n var FilterEnumerator = function (_MapEnumerator) {\n (0, _emberBabel.inherits)(FilterEnumerator, _MapEnumerator);\n\n function FilterEnumerator() {\n return (0, _emberBabel.possibleConstructorReturn)(this, _MapEnumerator.apply(this, arguments));\n }\n\n FilterEnumerator.prototype._checkFullfillment = function () {\n var result;\n\n if (this._remaining === 0 && this._result !== null) {\n result = this._result.filter(function (val) {\n return val !== EMPTY_OBJECT;\n });\n\n fulfill(this.promise, result);\n this._result = null;\n }\n };\n\n FilterEnumerator.prototype._setResultAt = function (state, i, value, firstPass) {\n var val;\n\n if (firstPass) {\n this._result[i] = value;\n val = tryCatch(this._mapFn)(value, i);\n\n if (val === TRY_CATCH_ERROR) {\n this._settledAt(REJECTED, i, val.error, false);\n } else {\n this._eachEntry(val, i, false);\n }\n } else {\n this._remaining--;\n if (!value) {\n this._result[i] = EMPTY_OBJECT;\n }\n }\n };\n\n return FilterEnumerator;\n }(MapEnumerator);\n\n /**\n `RSVP.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`. `RSVP.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 \n let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.resolve(2);\n let promise3 = RSVP.resolve(3);\n \n let promises = [promise1, promise2, promise3];\n \n let filterFn = function(item){\n return item > 1;\n };\n \n RSVP.filter(promises, filterFn).then(function(result){\n // result is [ 2, 3 ]\n });\n ```\n \n If any of the `promises` given to `RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.reject(new Error('2'));\n let promise3 = RSVP.reject(new Error('3'));\n let promises = [ promise1, promise2, promise3 ];\n \n let filterFn = function(item){\n return item > 1;\n };\n \n RSVP.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 `RSVP.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 \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 RSVP.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 RSVP.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 @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 function filter(promises, filterFn, label) {\n if (typeof filterFn !== 'function') {\n return Promise.reject(new TypeError(\"RSVP.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(\"RSVP.filter must be called with an array\");\n }\n return new FilterEnumerator(Promise, promises, filterFn, label).promise;\n });\n }\n\n var len = 0;\n var vertxNext = void 0;\n function asap(callback, arg) {\n queue$1[len] = callback;\n queue$1[len + 1] = arg;\n len += 2;\n if (len === 2) {\n // If len is 1, that means that we need to schedule an async flush.\n // If additional callbacks are queued before the queue is flushed, they\n // will be processed by this flush that we are scheduling.\n scheduleFlush$1();\n }\n }\n\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]';\n\n // test for web worker but not in IE10\n var isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n\n // node\n function useNextTick() {\n var nextTick = process.nextTick;\n // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n // setImmediate should be used instead instead\n var version = process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);\n if (Array.isArray(version) && version[1] === '0' && version[2] === '10') {\n nextTick = setImmediate;\n }\n return function () {\n return nextTick(flush);\n };\n }\n\n // vertx\n function useVertxTimer() {\n if (typeof vertxNext !== 'undefined') {\n return function () {\n vertxNext(flush);\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, { characterData: true });\n\n return function () {\n return node.data = iterations = ++iterations % 2;\n };\n }\n\n // web worker\n function useMessageChannel() {\n var channel = new MessageChannel();\n channel.port1.onmessage = flush;\n return function () {\n return channel.port2.postMessage(0);\n };\n }\n\n function useSetTimeout() {\n return function () {\n return setTimeout(flush, 1);\n };\n }\n\n var queue$1 = new Array(1000);\n\n function flush() {\n var i, callback, arg;\n\n for (i = 0; i < len; i += 2) {\n callback = queue$1[i];\n arg = queue$1[i + 1];\n\n\n callback(arg);\n\n queue$1[i] = undefined;\n queue$1[i + 1] = undefined;\n }\n\n len = 0;\n }\n\n function attemptVertex() {\n var vertx;\n\n try {\n 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 = void 0;\n // Decide what async method to use to triggering processing of queued callbacks:\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 _nodeModule.require === 'function') {\n scheduleFlush$1 = attemptVertex();\n } else {\n scheduleFlush$1 = useSetTimeout();\n }\n\n // defaults\n config.async = asap;\n config.after = function (cb) {\n return setTimeout(cb, 0);\n };\n var cast = resolve$2;\n\n var async = function (callback, arg) {\n return config.async(callback, arg);\n };\n\n function on() {\n config.on.apply(config, arguments);\n }\n\n function off() {\n config.off.apply(config, arguments);\n }\n\n // Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\n if (typeof window !== 'undefined' && typeof window['__PROMISE_INSTRUMENTATION__'] === 'object') {\n callbacks = window['__PROMISE_INSTRUMENTATION__'];\n\n configure('instrument', true);\n for (var eventName in callbacks) {\n if (callbacks.hasOwnProperty(eventName)) {\n on(eventName, callbacks[eventName]);\n }\n }\n }\n\n // the default export here is for backwards compat:\n // https://github.com/tildeio/rsvp.js/issues/434\n\n\n exports.default = {\n asap: asap,\n cast: cast,\n Promise: Promise,\n EventTarget: EventTarget,\n all: all$1,\n allSettled: allSettled,\n race: race$1,\n hash: hash,\n hashSettled: hashSettled,\n rethrow: rethrow,\n defer: defer,\n denodeify: denodeify,\n configure: configure,\n on: on,\n off: off,\n resolve: resolve$2,\n reject: reject$2,\n map: map,\n async: async,\n filter: filter\n };\n exports.asap = asap;\n exports.cast = cast;\n exports.Promise = Promise;\n exports.EventTarget = EventTarget;\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.async = async;\n exports.filter = filter;\n});","requireModule('ember')"],"names":[],"mappings":";AAAA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACxZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3kBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACpDA;AACA;AACA;AACA;AACA;AACA;AACA;;ACNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACVA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AClDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACzEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClvBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACt5BA;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;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtxBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/IA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5zEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACziBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9sBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACz2KA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9PA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9jCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9vBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrGA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvNA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/wOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChoBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/xHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACtLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtOA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACz5CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrwCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/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;;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;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/qBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACdA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrGA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvVA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzQA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9XA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACfA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7GA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9oBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1KA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;;ACHA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxKA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpSA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzYA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvZA;AACA;AACA;AACA;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;;ACbA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACfA;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;;ACzBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChBA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9fA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtjEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9xEA;;;","file":"ember.prod.js"} +{"version":3,"sources":["license.js","loader.js","@ember/-internals/browser-environment.js","@ember/-internals/console/index.js","@ember/-internals/container.js","@ember/-internals/environment.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.js","@ember/-internals/meta/index.js","@ember/-internals/meta/lib/meta.js","@ember/-internals/metal.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.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/lookup_partial.js","@ember/-internals/views/lib/system/utils.js","@ember/-internals/views/lib/utils/lookup-component.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/application/lib/validate-type.js","@ember/canary-features/index.js","@ember/controller/index.js","@ember/controller/lib/controller_mixin.js","@ember/debug/index.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/map/index.js","@ember/map/lib/ordered-set.js","@ember/map/lib/utils.js","@ember/map/with-default.js","@ember/object/computed.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/low-level.js","@glimmer/node.js","@glimmer/opcode-compiler.js","@glimmer/program.js","@glimmer/reference.js","@glimmer/runtime.js","@glimmer/util.js","@glimmer/vm.js","@glimmer/wire-format.js","backburner.js","dag-map.js","ember-babel.js","ember/index.js","ember/version.js","node-module.js","route-recognizer.js","router_js.js","rsvp.js","bootstrap"],"sourcesContent":["/*!\n * @overview Ember - JavaScript Application Framework\n * @copyright Copyright 2011-2018 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.6.0\n */\n","/*globals process */\nvar enifed, requireModule, Ember;\n\n// Used in @ember/-internals/environment/lib/global.js\nmainContext = this; // eslint-disable-line no-undef\n\n(function() {\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] = requireModule;\n } else {\n reified[i] = internalRequire(deps[i], name);\n }\n }\n\n callback.apply(this, reified);\n\n return exports;\n }\n\n var isNode =\n typeof window === 'undefined' &&\n typeof process !== 'undefined' &&\n {}.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 var registry = Object.create(null);\n var seen = Object.create(null);\n\n enifed = 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 requireModule = function(name) {\n return internalRequire(name, null);\n };\n\n // setup `require` module\n requireModule['default'] = requireModule;\n\n requireModule.has = function registryHas(moduleName) {\n return !!registry[moduleName] || !!registry[moduleName + '/index'];\n };\n\n requireModule._eak_seen = registry;\n\n Ember.__loader = {\n define: enifed,\n require: requireModule,\n registry: registry,\n };\n } else {\n enifed = Ember.__loader.define;\n requireModule = Ember.__loader.require;\n }\n})();\n","enifed('@ember/-internals/browser-environment', ['exports'], function (exports) {\n 'use strict';\n\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\n const window = hasDom ? self : null;\n const location$1 = hasDom ? self.location : null;\n const history$1 = hasDom ? self.history : null;\n const userAgent = hasDom ? self.navigator.userAgent : 'Lynx (textmode)';\n const isChrome = hasDom ? !!window.chrome && !window.opera : false;\n const isFirefox = hasDom ? typeof InstallTrigger !== 'undefined' : false;\n\n exports.window = window;\n exports.location = location$1;\n exports.history = history$1;\n exports.userAgent = userAgent;\n exports.isChrome = isChrome;\n exports.isFirefox = isFirefox;\n exports.hasDOM = hasDom;\n});","enifed('@ember/-internals/console/index', ['exports', '@ember/debug', '@ember/deprecated-features'], function (exports, _debug, _deprecatedFeatures) {\n 'use strict';\n\n // Deliver message that the function is deprecated\n\n const DEPRECATION_MESSAGE = 'Use of Ember.Logger is deprecated. Please use `console` for logging.';\n const DEPRECATION_ID = 'ember-console.deprecate-logger';\n const 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 let 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 false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\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 false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\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 false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\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 false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\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 false && !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 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 false && !false && (0, _debug.deprecate)(DEPRECATION_MESSAGE, false, {\n id: DEPRECATION_ID,\n until: '4.0.0',\n url: DEPRECATION_URL\n });\n\n return console.assert(...arguments); // eslint-disable-line no-console\n }\n };\n }\n\n exports.default = DEPRECATED_LOGGER;\n});","enifed('@ember/-internals/container', ['exports', '@ember/-internals/owner', '@ember/-internals/utils', '@ember/debug', '@ember/polyfills'], function (exports, _owner, _utils, _debug, _polyfills) {\n 'use strict';\n\n exports.FACTORY_FOR = exports.Container = exports.privatize = exports.Registry = undefined;\n\n\n let leakTracking;\n let containers;\n if (false /* DEBUG */) {\n // requires v8\n // chrome --js-flags=\"--allow-natives-syntax --expose-gc\"\n // node --allow-natives-syntax --expose-gc\n try {\n if (typeof gc === 'function') {\n leakTracking = (() => {\n // avoid syntax errors when --allow-natives-syntax not present\n let GetWeakSetValues = new Function('weakSet', 'return %GetWeakSetValues(weakSet, 0)');\n containers = new WeakSet();\n return {\n hasContainers() {\n gc();\n return GetWeakSetValues(containers).length > 0;\n },\n reset() {\n let values = GetWeakSetValues(containers);\n for (let i = 0; i < values.length; i++) {\n containers.delete(values[i]);\n }\n }\n };\n })();\n }\n } catch (e) {\n // ignore\n }\n }\n /**\n A container used to instantiate and cache objects.\n \n Every `Container` must be associated with a `Registry`, which is referenced\n to determine the factory and options that should be used to instantiate\n objects.\n \n The public API for `Container` is still in flux and should not be considered\n stable.\n \n @private\n @class Container\n */\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 if (false /* DEBUG */) {\n this.validationCache = (0, _utils.dictionary)(options.validationCache || null);\n if (containers !== undefined) {\n containers.add(this);\n }\n }\n }\n /**\n @private\n @property registry\n @type Registry\n @since 1.11.0\n */\n /**\n @private\n @property cache\n @type InheritingDict\n */\n /**\n @private\n @property validationCache\n @type InheritingDict\n */\n /**\n Given a fullName return a corresponding instance.\n The default behavior is for lookup to return a singleton instance.\n The singleton is scoped to the container, allowing multiple containers\n to all have their own locally scoped singletons.\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter');\n twitter instanceof Twitter; // => true\n // by default the container will return singletons\n let twitter2 = container.lookup('api:twitter');\n twitter2 instanceof Twitter; // => true\n twitter === twitter2; //=> true\n ```\n If singletons are not wanted, an optional flag can be provided at lookup.\n ```javascript\n let registry = new Registry();\n let container = registry.container();\n registry.register('api:twitter', Twitter);\n let twitter = container.lookup('api:twitter', { singleton: false });\n let twitter2 = container.lookup('api:twitter', { singleton: false });\n twitter === twitter2; //=> false\n ```\n @private\n @method lookup\n @param {String} fullName\n @param {Object} [options]\n @param {String} [options.source] The fullname of the request source (used for local lookup)\n @return {any}\n */\n lookup(fullName, options) {\n false && !!this.isDestroyed && (0, _debug.assert)('expected container not to be destroyed', !this.isDestroyed);\n false && !this.registry.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(fullName));\n\n return lookup(this, this.registry.normalize(fullName), options);\n }\n /**\n A depth first traversal, destroying the container, its descendant containers and all\n their managed objects.\n @private\n @method destroy\n */\n destroy() {\n destroyDestroyables(this);\n this.isDestroying = true;\n }\n finalizeDestroy() {\n resetCache(this);\n this.isDestroyed = true;\n }\n /**\n Clear either the entire cache or just the cache for a particular key.\n @private\n @method reset\n @param {String} fullName optional key to reset; if missing, resets everything\n */\n reset(fullName) {\n if (this.isDestroyed) return;\n if (fullName === undefined) {\n destroyDestroyables(this);\n resetCache(this);\n } else {\n resetMember(this, this.registry.normalize(fullName));\n }\n }\n /**\n Returns an object that can be used to provide an owner to a\n manually created instance.\n @private\n @method ownerInjection\n @returns { Object }\n */\n ownerInjection() {\n return { [_owner.OWNER]: this.owner };\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 factoryFor(fullName, options = {}) {\n false && !!this.isDestroyed && (0, _debug.assert)('expected container not to be destroyed', !this.isDestroyed);\n\n let normalizedName = this.registry.normalize(fullName);\n false && !this.registry.isValidFullName(normalizedName) && (0, _debug.assert)('fullName must be a proper full name', this.registry.isValidFullName(normalizedName));\n false && !(false /* EMBER_MODULE_UNIFICATION */ || !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 if (!normalizedName) {\n return;\n }\n }\n return factoryFor(this, normalizedName, fullName);\n }\n }\n if (false /* DEBUG */) {\n Container._leakTracking = leakTracking;\n }\n /*\n * Wrap a factory manager in a proxy which will not permit properties to be\n * set on the manager.\n */\n function wrapManagerInDeprecationProxy(manager) {\n if (_utils.HAS_NATIVE_PROXY) {\n let 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 let m = manager;\n let proxiedManager = {\n class: m.class,\n create(props) {\n return m.create(props);\n }\n };\n let proxy = new Proxy(proxiedManager, validator);\n FACTORY_FOR.set(proxy, manager);\n }\n return manager;\n }\n function isSingleton(container, fullName) {\n return container.registry.getOption(fullName, 'singleton') !== false;\n }\n function isInstantiatable(container, fullName) {\n return container.registry.getOption(fullName, 'instantiate') !== false;\n }\n function lookup(container, fullName, options = {}) {\n false && !(false /* EMBER_MODULE_UNIFICATION */ || !options.namespace) && (0, _debug.assert)('EMBER_MODULE_UNIFICATION must be enabled to pass a namespace option to lookup', false || !options.namespace);\n\n let normalizedName = fullName;\n if (options.source || options.namespace) {\n normalizedName = container.registry.expandLocalLookup(fullName, options);\n if (!normalizedName) {\n return;\n }\n }\n if (options.singleton !== false) {\n let cached = container.cache[normalizedName];\n if (cached !== undefined) {\n return cached;\n }\n }\n return instantiateFactory(container, normalizedName, fullName, options);\n }\n function factoryFor(container, normalizedName, fullName) {\n let cached = container.factoryManagerCache[normalizedName];\n if (cached !== undefined) {\n return cached;\n }\n let factory = container.registry.resolve(normalizedName);\n if (factory === undefined) {\n return;\n }\n if (false /* DEBUG */ && factory && typeof factory._onLookup === 'function') {\n factory._onLookup(fullName);\n }\n let manager = new FactoryManager(container, factory, fullName, normalizedName);\n if (false /* DEBUG */) {\n manager = wrapManagerInDeprecationProxy(manager);\n }\n container.factoryManagerCache[normalizedName] = manager;\n return manager;\n }\n function isSingletonClass(container, fullName, { instantiate, singleton }) {\n return singleton !== false && !instantiate && isSingleton(container, fullName) && !isInstantiatable(container, fullName);\n }\n function isSingletonInstance(container, fullName, { instantiate, singleton }) {\n return singleton !== false && instantiate !== false && isSingleton(container, fullName) && isInstantiatable(container, fullName);\n }\n function isFactoryClass(container, fullname, { instantiate, singleton }) {\n return instantiate === false && (singleton === false || !isSingleton(container, fullname)) && !isInstantiatable(container, fullname);\n }\n function isFactoryInstance(container, fullName, { instantiate, singleton }) {\n return instantiate !== false && (singleton !== false || isSingleton(container, fullName)) && isInstantiatable(container, fullName);\n }\n function instantiateFactory(container, normalizedName, fullName, options) {\n let factoryManager = factoryFor(container, normalizedName, fullName);\n if (factoryManager === undefined) {\n return;\n }\n // SomeClass { singleton: true, instantiate: true } | { singleton: true } | { instantiate: true } | {}\n // By default majority of objects fall into this case\n if (isSingletonInstance(container, fullName, options)) {\n return container.cache[normalizedName] = factoryManager.create();\n }\n // SomeClass { singleton: false, instantiate: true }\n if (isFactoryInstance(container, fullName, options)) {\n return factoryManager.create();\n }\n // SomeClass { singleton: true, instantiate: false } | { instantiate: false } | { singleton: false, instantiation: false }\n if (isSingletonClass(container, fullName, options) || isFactoryClass(container, fullName, options)) {\n return factoryManager.class;\n }\n throw new Error('Could not create factory');\n }\n function processInjections(container, injections, result) {\n if (false /* DEBUG */) {\n container.registry.validateInjections(injections);\n }\n let hash = result.injections;\n if (hash === undefined) {\n hash = result.injections = {};\n }\n for (let i = 0; i < injections.length; i++) {\n let { property, specifier, source } = injections[i];\n if (source) {\n hash[property] = lookup(container, specifier, { source });\n } else {\n hash[property] = lookup(container, specifier);\n }\n if (!result.isDynamic) {\n result.isDynamic = !isSingleton(container, specifier);\n }\n }\n }\n function buildInjections(container, typeInjections, injections) {\n let result = {\n injections: undefined,\n isDynamic: false\n };\n if (typeInjections !== undefined) {\n processInjections(container, typeInjections, result);\n }\n if (injections !== undefined) {\n processInjections(container, injections, result);\n }\n return result;\n }\n function injectionsFor(container, fullName) {\n let registry = container.registry;\n let [type] = fullName.split(':');\n let typeInjections = registry.getTypeInjections(type);\n let injections = registry.getInjections(fullName);\n return buildInjections(container, typeInjections, injections);\n }\n function destroyDestroyables(container) {\n let cache = container.cache;\n let keys = Object.keys(cache);\n for (let i = 0; i < keys.length; i++) {\n let key = keys[i];\n let value = cache[key];\n if (value.destroy) {\n value.destroy();\n }\n }\n }\n function resetCache(container) {\n container.cache = (0, _utils.dictionary)(null);\n container.factoryManagerCache = (0, _utils.dictionary)(null);\n }\n function resetMember(container, fullName) {\n let member = container.cache[fullName];\n delete container.factoryManagerCache[fullName];\n if (member) {\n delete container.cache[fullName];\n if (member.destroy) {\n member.destroy();\n }\n }\n }\n const FACTORY_FOR = new WeakMap();\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 FACTORY_FOR.set(this, this);\n }\n toString() {\n if (this.madeToString === undefined) {\n this.madeToString = this.container.registry.makeToString(this.class, this.fullName);\n }\n return this.madeToString;\n }\n create(options) {\n let injectionsCache = this.injections;\n if (injectionsCache === undefined) {\n let { injections, isDynamic } = injectionsFor(this.container, this.normalizedName);\n injectionsCache = injections;\n if (!isDynamic) {\n this.injections = injections;\n }\n }\n let props = injectionsCache;\n if (options !== undefined) {\n props = (0, _polyfills.assign)({}, injectionsCache, options);\n }\n if (false /* DEBUG */) {\n let lazyInjections;\n let validationCache = this.container.validationCache;\n // Ensure that all lazy injections are valid at instantiation time\n if (!validationCache[this.fullName] && this.class && typeof this.class._lazyInjections === 'function') {\n lazyInjections = this.class._lazyInjections();\n lazyInjections = this.container.registry.normalizeInjectionsHash(lazyInjections);\n this.container.registry.validateInjections(lazyInjections);\n }\n validationCache[this.fullName] = true;\n }\n if (!this.class.create) {\n throw new Error(`Failed to create an instance of '${this.normalizedName}'. Most likely an improperly defined class or` + ` an invalid module export.`);\n }\n // required to allow access to things like\n // the customized toString, _debugContainerKey,\n // owner, etc. without a double extend and without\n // modifying the objects properties\n if (typeof this.class._initFactory === 'function') {\n this.class._initFactory(this);\n } else {\n // in the non-EmberObject case we need to still setOwner\n // this is required for supporting glimmer environment and\n // template instantiation which rely heavily on\n // `options[OWNER]` being passed into `create`\n // TODO: clean this up, and remove in future versions\n if (options === undefined || props === undefined) {\n // avoid mutating `props` here since they are the cached injections\n props = (0, _polyfills.assign)({}, props);\n }\n (0, _owner.setOwner)(props, this.owner);\n }\n let instance = this.class.create(props);\n FACTORY_FOR.set(instance, this);\n return instance;\n }\n }\n\n const 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 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 An object that has a `resolve` method that resolves a name.\n @private\n @property resolver\n @type Resolver\n */\n /**\n @private\n @property registrations\n @type InheritingDict\n */\n /**\n @private\n @property _typeInjections\n @type InheritingDict\n */\n /**\n @private\n @property _injections\n @type InheritingDict\n */\n /**\n @private\n @property _normalizeCache\n @type InheritingDict\n */\n /**\n @private\n @property _resolveCache\n @type InheritingDict\n */\n /**\n @private\n @property _options\n @type InheritingDict\n */\n /**\n @private\n @property _typeOptions\n @type InheritingDict\n */\n /**\n Creates a container based on this registry.\n @private\n @method container\n @param {Object} options\n @return {Container} created container\n */\n container(options) {\n return new Container(this, options);\n }\n /**\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 register(fullName, factory, options = {}) {\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n false && !(factory !== undefined) && (0, _debug.assert)(`Attempting to register an unknown factory: '${fullName}'`, factory !== undefined);\n\n let normalizedName = this.normalize(fullName);\n false && !!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 this.registrations[normalizedName] = factory;\n this._options[normalizedName] = options;\n }\n /**\n Unregister a fullName\n ```javascript\n let registry = new Registry();\n registry.register('model:user', User);\n registry.resolve('model:user').create() instanceof User //=> true\n registry.unregister('model:user')\n registry.resolve('model:user') === undefined //=> true\n ```\n @private\n @method unregister\n @param {String} fullName\n */\n unregister(fullName) {\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n\n let 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 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 resolve(fullName, options) {\n let factory = resolve(this, this.normalize(fullName), options);\n if (factory === undefined && this.fallback !== null) {\n factory = this.fallback.resolve(...arguments);\n }\n return factory;\n }\n /**\n A hook that can be used to describe how the resolver will\n attempt to find the factory.\n For example, the default Ember `.describe` returns the full\n class name (including namespace) where Ember's resolver expects\n to find the `fullName`.\n @private\n @method describe\n @param {String} fullName\n @return {string} described fullName\n */\n describe(fullName) {\n if (this.resolver !== null && this.resolver.lookupDescription) {\n return this.resolver.lookupDescription(fullName);\n } else if (this.fallback !== null) {\n return this.fallback.describe(fullName);\n } else {\n return fullName;\n }\n }\n /**\n A hook to enable custom fullName normalization behavior\n @private\n @method normalizeFullName\n @param {String} fullName\n @return {string} normalized fullName\n */\n normalizeFullName(fullName) {\n if (this.resolver !== null && this.resolver.normalize) {\n return this.resolver.normalize(fullName);\n } else if (this.fallback !== null) {\n return this.fallback.normalizeFullName(fullName);\n } else {\n return fullName;\n }\n }\n /**\n Normalize a fullName based on the application's conventions\n @private\n @method normalize\n @param {String} fullName\n @return {string} normalized fullName\n */\n normalize(fullName) {\n return this._normalizeCache[fullName] || (this._normalizeCache[fullName] = this.normalizeFullName(fullName));\n }\n /**\n @method makeToString\n @private\n @param {any} factory\n @param {string} fullName\n @return {function} toString function\n */\n makeToString(factory, fullName) {\n 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 has(fullName, options) {\n if (!this.isValidFullName(fullName)) {\n return false;\n }\n let source = options && options.source && this.normalize(options.source);\n let 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 optionsForType(type, options) {\n this._typeOptions[type] = options;\n }\n getOptionsForType(type) {\n let optionsForType = this._typeOptions[type];\n if (optionsForType === undefined && this.fallback !== null) {\n optionsForType = this.fallback.getOptionsForType(type);\n }\n return optionsForType;\n }\n /**\n @private\n @method options\n @param {String} fullName\n @param {Object} options\n */\n options(fullName, options) {\n let normalizedName = this.normalize(fullName);\n this._options[normalizedName] = options;\n }\n getOptions(fullName) {\n let normalizedName = this.normalize(fullName);\n let options = this._options[normalizedName];\n if (options === undefined && this.fallback !== null) {\n options = this.fallback.getOptions(fullName);\n }\n return options;\n }\n getOption(fullName, optionName) {\n let options = this._options[fullName];\n if (options !== undefined && options[optionName] !== undefined) {\n return options[optionName];\n }\n let type = fullName.split(':')[0];\n options = this._typeOptions[type];\n if (options && options[optionName] !== undefined) {\n return options[optionName];\n } else if (this.fallback !== null) {\n return this.fallback.getOption(fullName, optionName);\n }\n return undefined;\n }\n /**\n 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 typeInjection(type, property, fullName) {\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n\n let fullNameType = fullName.split(':')[0];\n false && !(fullNameType !== type) && (0, _debug.assert)(`Cannot inject a '${fullName}' on other ${type}(s).`, fullNameType !== type);\n\n let injections = this._typeInjections[type] || (this._typeInjections[type] = []);\n injections.push({ property, specifier: fullName });\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 injection(fullName, property, injectionName) {\n false && !this.isValidFullName(injectionName) && (0, _debug.assert)(`Invalid injectionName, expected: 'type:name' got: ${injectionName}`, this.isValidFullName(injectionName));\n\n let normalizedInjectionName = this.normalize(injectionName);\n if (fullName.indexOf(':') === -1) {\n return this.typeInjection(fullName, property, normalizedInjectionName);\n }\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n\n let normalizedName = this.normalize(fullName);\n let injections = this._injections[normalizedName] || (this._injections[normalizedName] = []);\n injections.push({ property, specifier: normalizedInjectionName });\n }\n /**\n @private\n @method knownForType\n @param {String} type the type to iterate over\n */\n knownForType(type) {\n let localKnown = (0, _utils.dictionary)(null);\n let registeredNames = Object.keys(this.registrations);\n for (let index = 0; index < registeredNames.length; index++) {\n let fullName = registeredNames[index];\n let itemType = fullName.split(':')[0];\n if (itemType === type) {\n localKnown[fullName] = true;\n }\n }\n let fallbackKnown, resolverKnown;\n if (this.fallback !== null) {\n fallbackKnown = this.fallback.knownForType(type);\n }\n if (this.resolver !== null && this.resolver.knownForType) {\n resolverKnown = this.resolver.knownForType(type);\n }\n return (0, _polyfills.assign)({}, fallbackKnown, localKnown, resolverKnown);\n }\n isValidFullName(fullName) {\n return VALID_FULL_NAME_REGEXP.test(fullName);\n }\n getInjections(fullName) {\n let injections = this._injections[fullName];\n if (this.fallback !== null) {\n let fallbackInjections = this.fallback.getInjections(fullName);\n if (fallbackInjections !== undefined) {\n injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\n }\n }\n return injections;\n }\n getTypeInjections(type) {\n let injections = this._typeInjections[type];\n if (this.fallback !== null) {\n let fallbackInjections = this.fallback.getTypeInjections(type);\n if (fallbackInjections !== undefined) {\n injections = injections === undefined ? fallbackInjections : injections.concat(fallbackInjections);\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 expandLocalLookup(fullName, options) {\n if (this.resolver !== null && this.resolver.expandLocalLookup) {\n false && !this.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.isValidFullName(fullName));\n false && !(!options.source || this.isValidFullName(options.source)) && (0, _debug.assert)('options.source must be a proper full name', !options.source || this.isValidFullName(options.source));\n\n let normalizedFullName = this.normalize(fullName);\n let 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 if (false /* DEBUG */) {\n const proto = Registry.prototype;\n proto.normalizeInjectionsHash = function (hash) {\n let injections = [];\n for (let key in hash) {\n if (hash.hasOwnProperty(key)) {\n let { specifier, source, namespace } = hash[key];\n false && !this.isValidFullName(specifier) && (0, _debug.assert)(`Expected a proper full name, given '${specifier}'`, this.isValidFullName(specifier));\n\n injections.push({\n property: key,\n specifier,\n source,\n namespace\n });\n }\n }\n return injections;\n };\n proto.validateInjections = function (injections) {\n if (!injections) {\n return;\n }\n for (let i = 0; i < injections.length; i++) {\n let { specifier, source, namespace } = injections[i];\n false && !this.has(specifier, { source, namespace }) && (0, _debug.assert)(`Attempting to inject an unknown injection: '${specifier}'`, this.has(specifier, { source, namespace }));\n }\n };\n }\n function expandLocalLookup(registry, normalizedName, normalizedSource, namespace) {\n let cache = registry._localLookupCache;\n let normalizedNameCache = cache[normalizedName];\n if (!normalizedNameCache) {\n normalizedNameCache = cache[normalizedName] = Object.create(null);\n }\n let cacheKey = namespace || normalizedSource;\n let cached = normalizedNameCache[cacheKey];\n if (cached !== undefined) {\n return cached;\n }\n let expanded = registry.resolver.expandLocalLookup(normalizedName, normalizedSource, namespace);\n return normalizedNameCache[cacheKey] = expanded;\n }\n function resolve(registry, _normalizedName, options) {\n let normalizedName = _normalizedName;\n // when `source` is provided expand normalizedName\n // and source into the full normalizedName\n if (options !== undefined && (options.source || options.namespace)) {\n normalizedName = registry.expandLocalLookup(_normalizedName, options);\n if (!normalizedName) {\n return;\n }\n }\n let cached = registry._resolveCache[normalizedName];\n if (cached !== undefined) {\n return cached;\n }\n if (registry._failSet.has(normalizedName)) {\n return;\n }\n let resolved;\n if (registry.resolver) {\n resolved = registry.resolver.resolve(normalizedName);\n }\n if (resolved === undefined) {\n resolved = registry.registrations[normalizedName];\n }\n if (resolved === undefined) {\n registry._failSet.add(normalizedName);\n } else {\n registry._resolveCache[normalizedName] = resolved;\n }\n return resolved;\n }\n function has(registry, fullName, source, namespace) {\n return registry.resolve(fullName, { source, namespace }) !== undefined;\n }\n const privateNames = (0, _utils.dictionary)(null);\n const privateSuffix = `${Math.random()}${Date.now()}`.replace('.', '');\n function privatize([fullName]) {\n let name = privateNames[fullName];\n if (name) {\n return name;\n }\n let [type, rawName] = fullName.split(':');\n return privateNames[fullName] = (0, _utils.intern)(`${type}:${rawName}-${privateSuffix}`);\n }\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 exports.Registry = Registry;\n exports.privatize = privatize;\n exports.Container = Container;\n exports.FACTORY_FOR = FACTORY_FOR;\n});","enifed('@ember/-internals/environment', ['exports'], function (exports) {\n 'use strict';\n\n // from lodash to catch fake globals\n function checkGlobal(value) {\n return value && value.Object === Object ? value : undefined;\n }\n // element ids can ruin global miss checks\n function checkElementIdShadowing(value) {\n return value && value.nodeType === undefined ? value : undefined;\n }\n // export real global\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 // legacy imports/exports/lookup stuff (should we keep this??)\n const context = function (global, Ember) {\n return Ember === undefined ? { imports: global, exports: global, lookup: global } : {\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 function getLookup() {\n return context.lookup;\n }\n function setLookup(value) {\n context.lookup = value;\n }\n\n /**\n The hash of environment variables used to control various configuration\n settings. To specify your own or override default settings, add the\n desired properties to a global hash named `EmberENV` (or `ENV` for\n backwards compatibility with earlier versions of Ember). The `EmberENV`\n hash must be created before loading Ember.\n \n @class EmberENV\n @type Object\n @public\n */\n const ENV = {\n ENABLE_OPTIONAL_FEATURES: false,\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 The `LOG_STACKTRACE_ON_DEPRECATION` property, when true, tells Ember to log\n a full stack trace during deprecation warnings.\n @property LOG_STACKTRACE_ON_DEPRECATION\n @type Boolean\n @default true\n @for EmberENV\n @public\n */\n LOG_STACKTRACE_ON_DEPRECATION: true,\n /**\n The `LOG_VERSION` property, when true, tells Ember to log versions of all\n dependent libraries in use.\n @property LOG_VERSION\n @type Boolean\n @default true\n @for EmberENV\n @public\n */\n LOG_VERSION: true,\n RAISE_ON_DEPRECATION: false,\n STRUCTURED_PROFILE: false,\n /**\n Whether to insert a `<div class=\"ember-view\" />` wrapper around the\n application template. See RFC #280.\n This is not intended to be set directly, as the implementation may change in\n the future. Use `@ember/optional-features` instead.\n @property _APPLICATION_TEMPLATE_WRAPPER\n @for EmberENV\n @type Boolean\n @default true\n @private\n */\n _APPLICATION_TEMPLATE_WRAPPER: true,\n /**\n Whether to use Glimmer Component semantics (as opposed to the classic \"Curly\"\n components semantics) for template-only components. See RFC #278.\n This is not intended to be set directly, as the implementation may change in\n the future. Use `@ember/optional-features` instead.\n @property _TEMPLATE_ONLY_GLIMMER_COMPONENTS\n @for EmberENV\n @type Boolean\n @default false\n @private\n */\n _TEMPLATE_ONLY_GLIMMER_COMPONENTS: false,\n /**\n Whether 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 EMBER_LOAD_HOOKS: {},\n FEATURES: {}\n };\n (EmberENV => {\n if (typeof EmberENV !== 'object' || EmberENV === null) return;\n for (let flag in EmberENV) {\n if (!EmberENV.hasOwnProperty(flag) || flag === 'EXTEND_PROTOTYPES' || flag === 'EMBER_LOAD_HOOKS') continue;\n let defaultValue = ENV[flag];\n if (defaultValue === true) {\n ENV[flag] = EmberENV[flag] !== false;\n } else if (defaultValue === false) {\n ENV[flag] = EmberENV[flag] === true;\n }\n }\n let { EXTEND_PROTOTYPES } = EmberENV;\n if (EXTEND_PROTOTYPES !== undefined) {\n if (typeof EXTEND_PROTOTYPES === 'object' && EXTEND_PROTOTYPES !== null) {\n ENV.EXTEND_PROTOTYPES.String = EXTEND_PROTOTYPES.String !== false;\n ENV.EXTEND_PROTOTYPES.Function = EXTEND_PROTOTYPES.Function !== false;\n ENV.EXTEND_PROTOTYPES.Array = EXTEND_PROTOTYPES.Array !== false;\n } else {\n let isEnabled = EXTEND_PROTOTYPES !== false;\n ENV.EXTEND_PROTOTYPES.String = isEnabled;\n ENV.EXTEND_PROTOTYPES.Function = isEnabled;\n ENV.EXTEND_PROTOTYPES.Array = isEnabled;\n }\n }\n // TODO this does not seem to be used by anything,\n // can we remove it? do we need to deprecate it?\n let { EMBER_LOAD_HOOKS } = EmberENV;\n if (typeof EMBER_LOAD_HOOKS === 'object' && EMBER_LOAD_HOOKS !== null) {\n for (let hookName in EMBER_LOAD_HOOKS) {\n if (!EMBER_LOAD_HOOKS.hasOwnProperty(hookName)) continue;\n let hooks = EMBER_LOAD_HOOKS[hookName];\n if (Array.isArray(hooks)) {\n ENV.EMBER_LOAD_HOOKS[hookName] = hooks.filter(hook => typeof hook === 'function');\n }\n }\n }\n let { FEATURES } = EmberENV;\n if (typeof FEATURES === 'object' && FEATURES !== null) {\n for (let feature in FEATURES) {\n if (!FEATURES.hasOwnProperty(feature)) continue;\n ENV.FEATURES[feature] = FEATURES[feature] === true;\n }\n }\n })(global$1.EmberENV || global$1.ENV);\n function getENV() {\n return ENV;\n }\n\n exports.global = global$1;\n exports.context = context;\n exports.getLookup = getLookup;\n exports.setLookup = setLookup;\n exports.ENV = ENV;\n exports.getENV = getENV;\n});","enifed(\"@ember/-internals/error-handling/index\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.getOnerror = getOnerror;\n exports.setOnerror = setOnerror;\n exports.getDispatchOverride = getDispatchOverride;\n exports.setDispatchOverride = setDispatchOverride;\n let onerror;\n const onErrorTarget = exports.onErrorTarget = {\n get onerror() {\n return onerror;\n }\n };\n // Ember.onerror getter\n function getOnerror() {\n return onerror;\n }\n // Ember.onerror setter\n function setOnerror(handler) {\n onerror = handler;\n }\n let dispatchOverride;\n // allows testing adapter to override dispatch\n function getDispatchOverride() {\n return dispatchOverride;\n }\n function setDispatchOverride(handler) {\n dispatchOverride = handler;\n }\n});","enifed('@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, '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});","enifed('@ember/-internals/extension-support/lib/container_debug_adapter', ['exports', '@ember/string', '@ember/-internals/runtime'], function (exports, _string, _runtime) {\n 'use strict';\n\n exports.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 let namespaces = (0, _runtime.A)(_runtime.Namespace.NAMESPACES);\n let types = (0, _runtime.A)();\n let typeSuffixRegex = new RegExp(`${(0, _string.classify)(type)}$`);\n\n namespaces.forEach(namespace => {\n for (let key in namespace) {\n if (!namespace.hasOwnProperty(key)) {\n continue;\n }\n if (typeSuffixRegex.test(key)) {\n let klass = namespace[key];\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});","enifed('@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 exports.default = _runtime.Object.extend({\n init() {\n this._super(...arguments);\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 let modelTypes = this.getModelTypes();\n let releaseMethods = (0, _runtime.A)();\n let typesToSend;\n\n typesToSend = modelTypes.map(type => {\n let klass = type.klass;\n let wrapped = this.wrapModelType(klass, type.name);\n releaseMethods.push(this.observeModelType(type.name, typesUpdated));\n return wrapped;\n });\n\n typesAdded(typesToSend);\n\n let release = () => {\n releaseMethods.forEach(fn => fn());\n this.releaseMethods.removeObject(release);\n };\n this.releaseMethods.pushObject(release);\n return release;\n },\n\n _nameToClass(type) {\n if (typeof type === 'string') {\n let owner = (0, _owner.getOwner)(this);\n let Factory = owner.factoryFor(`model:${type}`);\n type = Factory && Factory.class;\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 let releaseMethods = (0, _runtime.A)();\n let klass = this._nameToClass(modelName);\n let records = this.getRecords(klass, modelName);\n let release;\n\n function recordUpdated(updatedRecord) {\n recordsUpdated([updatedRecord]);\n }\n\n let recordsToSend = records.map(record => {\n releaseMethods.push(this.observeRecord(record, recordUpdated));\n return this.wrapRecord(record);\n });\n\n let contentDidChange = (array, idx, removedCount, addedCount) => {\n for (let i = idx; i < idx + addedCount; i++) {\n let record = (0, _metal.objectAt)(array, i);\n let 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 let observer = {\n didChange: contentDidChange,\n willChange() {\n return this;\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\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 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 @private\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 @private\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\n observeModelType(modelName, typesUpdated) {\n let klass = this._nameToClass(modelName);\n let records = this.getRecords(klass, modelName);\n\n function onChange() {\n typesUpdated([this.wrapModelType(klass, modelName)]);\n }\n\n let 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 willChange() {\n return this;\n }\n };\n\n (0, _metal.addArrayObserver)(records, this, observer);\n\n let 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 let records = this.getRecords(klass, name);\n let typeToSend;\n\n typeToSend = {\n name,\n count: (0, _metal.get)(records, 'length'),\n columns: this.columnsForType(klass),\n object: klass\n };\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 let containerDebugAdapter = this.get('containerDebugAdapter');\n let types;\n\n if (containerDebugAdapter.canCatalogEntriesByType('model')) {\n types = containerDebugAdapter.catalogEntriesByType('model');\n } else {\n types = this._getObjectsOnNamespaces();\n }\n\n // New adapters return strings instead of classes.\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\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 let namespaces = (0, _runtime.A)(_runtime.Namespace.NAMESPACES);\n let types = (0, _runtime.A)();\n\n namespaces.forEach(namespace => {\n for (let key in namespace) {\n if (!namespace.hasOwnProperty(key)) {\n continue;\n }\n // Even though we will filter again in `getModelTypes`,\n // we should not call `lookupFactory` on non-models\n if (!this.detect(namespace[key])) {\n continue;\n }\n let name = (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 @private\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 let recordToSend = { 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\n return recordToSend;\n },\n\n /**\n Gets the values for each column.\n @private\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 @private\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 @private\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 @private\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 @private\n @method observerRecord\n @return {Function} The function to call to remove all observers.\n */\n observeRecord() {\n return function () {};\n }\n });\n});","enifed('@ember/-internals/glimmer', ['exports', '@glimmer/runtime', '@glimmer/util', '@glimmer/node', 'node-module', '@ember/-internals/owner', '@glimmer/opcode-compiler', '@ember/-internals/runtime', '@ember/-internals/utils', '@glimmer/reference', '@ember/-internals/metal', '@ember/-internals/views', '@ember/debug', '@ember/-internals/browser-environment', '@ember/instrumentation', '@ember/service', '@ember/-internals/environment', '@ember/polyfills', '@ember/string', '@glimmer/wire-format', '@ember/-internals/container', '@ember/deprecated-features', '@ember/runloop', 'rsvp', '@ember/-internals/routing'], function (exports, _runtime, _util, _node, _nodeModule, _owner, _opcodeCompiler, _runtime2, _utils, _reference, _metal, _views, _debug, _browserEnvironment, _instrumentation, _service, _environment2, _polyfills, _string, _wireFormat, _container, _deprecatedFeatures, _runloop, _rsvp, _routing) {\n 'use strict';\n\n exports.getComponentManager = exports.setComponentManager = exports.capabilities = exports.OutletView = exports.DebugStack = exports.iterableFor = exports.INVOKE = exports.UpdatableReference = exports.AbstractComponentManager = exports._experimentalMacros = exports._registerMacros = exports.setupApplicationRegistry = exports.setupEngineRegistry = exports.setTemplates = exports.getTemplates = exports.hasTemplate = exports.setTemplate = exports.getTemplate = exports.renderSettled = exports._resetRenderers = exports.InteractiveRenderer = exports.InertRenderer = exports.Renderer = exports.isHTMLSafe = exports.htmlSafe = exports.escapeExpression = exports.SafeString = exports.Environment = exports.helper = exports.Helper = exports.ROOT_REF = exports.Component = exports.LinkComponent = exports.TextArea = exports.TextField = exports.Checkbox = exports.template = exports.RootTemplate = exports.NodeDOMTreeConstruction = exports.isSerializationFirstNode = exports.DOMTreeConstruction = exports.DOMChanges = undefined;\n Object.defineProperty(exports, 'DOMChanges', {\n enumerable: true,\n get: function () {\n return _runtime.DOMChanges;\n }\n });\n Object.defineProperty(exports, 'DOMTreeConstruction', {\n enumerable: true,\n get: function () {\n return _runtime.DOMTreeConstruction;\n }\n });\n Object.defineProperty(exports, 'isSerializationFirstNode', {\n enumerable: true,\n get: function () {\n return _util.isSerializationFirstNode;\n }\n });\n Object.defineProperty(exports, 'NodeDOMTreeConstruction', {\n enumerable: true,\n get: function () {\n return _node.NodeDOMTreeConstruction;\n }\n });\n\n\n function template(json) {\n return new FactoryWrapper((0, _opcodeCompiler.templateFactory)(json));\n }\n class FactoryWrapper {\n constructor(factory) {\n this.factory = factory;\n this.id = factory.id;\n this.meta = factory.meta;\n }\n create(injections) {\n const owner = (0, _owner.getOwner)(injections);\n return this.factory.create(injections.compiler, { owner });\n }\n }\n\n var RootTemplate = template({ \"id\": \"HlDcU23A\", \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[27,\\\"component\\\",[[22,0,[]]],null],false]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/root.hbs\" } });\n\n /**\n @module @ember/component\n */\n const RECOMPUTE_TAG = (0, _utils.symbol)('RECOMPUTE_TAG');\n function isHelperFactory(helper) {\n return typeof helper === 'object' && helper !== null && helper.class && helper.class.isHelperFactory;\n }\n function isSimpleHelper(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 ```handlebars\n <div>{{format-currency cents currency=\"$\"}}</div>\n ```\n \n Additionally a helper can be called as a nested helper (sometimes called a\n subexpression). In this example, the computed value of a helper is passed\n to a component named `show-money`:\n \n ```handlebars\n {{show-money amount=(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 Helper.extend({\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 let Helper = _runtime2.FrameworkObject.extend({\n init() {\n this._super(...arguments);\n this[RECOMPUTE_TAG] = _reference.DirtyableTag.create();\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 this[RECOMPUTE_TAG].inner.dirty();\n }\n });\n Helper.isHelperFactory = true;\n class Wrapper {\n constructor(compute) {\n this.compute = compute;\n this.isHelperFactory = true;\n }\n create() {\n // needs new instance or will leak containers\n return {\n compute: this.compute\n };\n }\n }\n /**\n In many cases, the ceremony of a full `Helper` class is not required.\n The `helper` method create pure-function helpers without instances. For\n example:\n \n ```app/helpers/format-currency.js\n import { helper } from '@ember/component/helper';\n \n export default helper(function(params, hash) {\n let cents = params[0];\n let currency = hash.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 function helper(helperFn) {\n return new Wrapper(helperFn);\n }\n\n function toBool(predicate) {\n if ((0, _runtime2.isArray)(predicate)) {\n return predicate.length !== 0;\n } else {\n return !!predicate;\n }\n }\n\n const UPDATE = (0, _utils.symbol)('UPDATE');\n const INVOKE = (0, _utils.symbol)('INVOKE');\n const ACTION = (0, _utils.symbol)('ACTION');\n let maybeFreeze;\n if (false /* DEBUG */) {\n // gaurding this in a DEBUG gaurd (as well as all invocations)\n // so that it is properly stripped during the minification's\n // dead code elimination\n maybeFreeze = 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 }\n class EmberPathReference {\n get(key) {\n return PropertyReference.create(this, key);\n }\n }\n class CachedReference$1 extends EmberPathReference {\n constructor() {\n super();\n this._lastRevision = null;\n this._lastValue = null;\n }\n value() {\n let { tag, _lastRevision, _lastValue } = this;\n if (_lastRevision === null || !tag.validate(_lastRevision)) {\n _lastValue = this._lastValue = this.compute();\n this._lastRevision = tag.value();\n }\n return _lastValue;\n }\n }\n class RootReference extends _reference.ConstReference {\n constructor(value) {\n super(value);\n this.children = Object.create(null);\n }\n get(propertyKey) {\n let ref = this.children[propertyKey];\n if (ref === undefined) {\n ref = this.children[propertyKey] = new RootPropertyReference(this.inner, propertyKey);\n }\n return ref;\n }\n }\n let TwoWayFlushDetectionTag;\n if (false /* DEBUG */) {\n TwoWayFlushDetectionTag = class {\n static create(tag, key, ref) {\n return new _reference.TagWrapper(tag.type, new TwoWayFlushDetectionTag(tag, key, ref));\n }\n constructor(tag, key, ref) {\n this.tag = tag;\n this.parent = null;\n this.key = key;\n this.ref = ref;\n }\n value() {\n return this.tag.value();\n }\n validate(ticket) {\n let { parent, key } = this;\n let isValid = this.tag.validate(ticket);\n if (isValid && parent) {\n (0, _metal.didRender)(parent, key, this.ref);\n }\n return isValid;\n }\n didCompute(parent) {\n this.parent = parent;\n (0, _metal.didRender)(parent, this.key, this.ref);\n }\n };\n }\n class PropertyReference extends CachedReference$1 {\n static create(parentReference, propertyKey) {\n if ((0, _reference.isConst)(parentReference)) {\n return new RootPropertyReference(parentReference.value(), propertyKey);\n } else {\n return new NestedPropertyReference(parentReference, propertyKey);\n }\n }\n get(key) {\n return new NestedPropertyReference(this, key);\n }\n }\n class RootPropertyReference extends PropertyReference {\n constructor(parentValue, propertyKey) {\n super();\n this._parentValue = parentValue;\n this._propertyKey = propertyKey;\n if (false /* DEBUG */) {\n this.tag = TwoWayFlushDetectionTag.create((0, _metal.tagForProperty)(parentValue, propertyKey), propertyKey, this);\n } else {\n this.tag = (0, _metal.tagForProperty)(parentValue, propertyKey);\n }\n if (false /* DEBUG */) {\n (0, _metal.watchKey)(parentValue, propertyKey);\n }\n }\n compute() {\n let { _parentValue, _propertyKey } = this;\n if (false /* DEBUG */) {\n this.tag.inner.didCompute(_parentValue);\n }\n return (0, _metal.get)(_parentValue, _propertyKey);\n }\n [UPDATE](value) {\n (0, _metal.set)(this._parentValue, this._propertyKey, value);\n }\n }\n class NestedPropertyReference extends PropertyReference {\n constructor(parentReference, propertyKey) {\n super();\n let parentReferenceTag = parentReference.tag;\n let parentObjectTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this._parentReference = parentReference;\n this._parentObjectTag = parentObjectTag;\n this._propertyKey = propertyKey;\n if (false /* DEBUG */) {\n let tag = (0, _reference.combine)([parentReferenceTag, parentObjectTag]);\n this.tag = TwoWayFlushDetectionTag.create(tag, propertyKey, this);\n } else {\n this.tag = (0, _reference.combine)([parentReferenceTag, parentObjectTag]);\n }\n }\n compute() {\n let { _parentReference, _parentObjectTag, _propertyKey } = this;\n let parentValue = _parentReference.value();\n _parentObjectTag.inner.update((0, _metal.tagForProperty)(parentValue, _propertyKey));\n let parentValueType = typeof parentValue;\n if (parentValueType === 'string' && _propertyKey === 'length') {\n return parentValue.length;\n }\n if (parentValueType === 'object' && parentValue !== null || parentValueType === 'function') {\n if (false /* DEBUG */) {\n (0, _metal.watchKey)(parentValue, _propertyKey);\n }\n if (false /* DEBUG */) {\n this.tag.inner.didCompute(parentValue);\n }\n return (0, _metal.get)(parentValue, _propertyKey);\n } else {\n return undefined;\n }\n }\n [UPDATE](value) {\n let parent = this._parentReference.value();\n (0, _metal.set)(parent, this._propertyKey, value);\n }\n }\n class UpdatableReference extends EmberPathReference {\n constructor(value) {\n super();\n this.tag = _reference.DirtyableTag.create();\n this._value = value;\n }\n value() {\n return this._value;\n }\n update(value) {\n let { _value } = this;\n if (value !== _value) {\n this.tag.inner.dirty();\n this._value = value;\n }\n }\n }\n class ConditionalReference$1 extends _runtime.ConditionalReference {\n static create(reference) {\n if ((0, _reference.isConst)(reference)) {\n let value = reference.value();\n if ((0, _utils.isProxy)(value)) {\n return new RootPropertyReference(value, 'isTruthy');\n } else {\n return _runtime.PrimitiveReference.create(toBool(value));\n }\n }\n return new ConditionalReference$1(reference);\n }\n constructor(reference) {\n super(reference);\n this.objectTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([reference.tag, this.objectTag]);\n }\n toBool(predicate) {\n if ((0, _utils.isProxy)(predicate)) {\n this.objectTag.inner.update((0, _metal.tagForProperty)(predicate, 'isTruthy'));\n return (0, _metal.get)(predicate, 'isTruthy');\n } else {\n this.objectTag.inner.update((0, _metal.tagFor)(predicate));\n return toBool(predicate);\n }\n }\n }\n class SimpleHelperReference extends CachedReference$1 {\n static create(helper$$1, args) {\n if ((0, _reference.isConst)(args)) {\n let { positional, named } = args;\n let positionalValue = positional.value();\n let namedValue = named.value();\n if (false /* DEBUG */) {\n maybeFreeze(positionalValue);\n maybeFreeze(namedValue);\n }\n let result = helper$$1(positionalValue, namedValue);\n return valueToRef(result);\n } else {\n return new SimpleHelperReference(helper$$1, args);\n }\n }\n constructor(helper$$1, args) {\n super();\n this.tag = args.tag;\n this.helper = helper$$1;\n this.args = args;\n }\n compute() {\n let { helper: helper$$1, args: { positional, named } } = this;\n let positionalValue = positional.value();\n let namedValue = named.value();\n if (false /* DEBUG */) {\n maybeFreeze(positionalValue);\n maybeFreeze(namedValue);\n }\n return helper$$1(positionalValue, namedValue);\n }\n }\n class ClassBasedHelperReference extends CachedReference$1 {\n static create(instance, args) {\n return new ClassBasedHelperReference(instance, args);\n }\n constructor(instance, args) {\n super();\n this.tag = (0, _reference.combine)([instance[RECOMPUTE_TAG], args.tag]);\n this.instance = instance;\n this.args = args;\n }\n compute() {\n let { instance, args: { positional, named } } = this;\n let positionalValue = positional.value();\n let namedValue = named.value();\n if (false /* DEBUG */) {\n maybeFreeze(positionalValue);\n maybeFreeze(namedValue);\n }\n return instance.compute(positionalValue, namedValue);\n }\n }\n class InternalHelperReference extends CachedReference$1 {\n constructor(helper$$1, args) {\n super();\n this.tag = args.tag;\n this.helper = helper$$1;\n this.args = args;\n }\n compute() {\n let { helper: helper$$1, args } = this;\n return helper$$1(args);\n }\n }\n class UnboundReference extends _reference.ConstReference {\n static create(value) {\n return valueToRef(value, false);\n }\n get(key) {\n return valueToRef((0, _metal.get)(this.inner, key), false);\n }\n }\n class ReadonlyReference extends CachedReference$1 {\n constructor(inner) {\n super();\n this.inner = inner;\n }\n get tag() {\n return this.inner.tag;\n }\n get [INVOKE]() {\n return this.inner[INVOKE];\n }\n compute() {\n return this.inner.value();\n }\n get(key) {\n return this.inner.get(key);\n }\n }\n function referenceFromParts(root, parts) {\n let reference = root;\n for (let i = 0; i < parts.length; i++) {\n reference = reference.get(parts[i]);\n }\n return reference;\n }\n function valueToRef(value, bound = true) {\n if (value !== null && typeof value === 'object') {\n // root of interop with ember objects\n return bound ? new RootReference(value) : new UnboundReference(value);\n }\n // ember doesn't do observing with functions\n if (typeof value === 'function') {\n return new UnboundReference(value);\n }\n return _runtime.PrimitiveReference.create(value);\n }\n\n const DIRTY_TAG = (0, _utils.symbol)('DIRTY_TAG');\n const ARGS = (0, _utils.symbol)('ARGS');\n const ROOT_REF = (0, _utils.symbol)('ROOT_REF');\n const IS_DISPATCHING_ATTRS = (0, _utils.symbol)('IS_DISPATCHING_ATTRS');\n const HAS_BLOCK = (0, _utils.symbol)('HAS_BLOCK');\n const BOUNDS = (0, _utils.symbol)('BOUNDS');\n /**\n @module @ember/component\n */\n /**\n A `Component` is a view that is completely\n isolated. Properties accessed in its templates go\n to the view object and actions are targeted at\n the view object. There is no access to the\n surrounding context or outer controller; all\n contextual information must be passed in.\n \n The easiest way to create a `Component` is via\n a template. If you name a template\n `app/templates/components/my-foo.hbs`, you will be able to use\n `{{my-foo}}` in other templates, which will make\n an instance of the isolated component.\n \n ```app/templates/components/my-foo.hbs\n {{person-profile person=currentUser}}\n ```\n \n ```app/templates/components/person-profile.hbs\n <h1>{{person.title}}</h1>\n <img src={{person.avatar}}>\n <p class='signature'>{{person.signature}}</p>\n ```\n \n You can use `yield` inside a template to\n include the **contents** of any block attached to\n the component. The block will be executed in the\n context of the surrounding context or outer controller:\n \n ```handlebars\n {{#person-profile person=currentUser}}\n <p>Admin mode</p>\n {{! Executed in the controller's context. }}\n {{/person-profile}}\n ```\n \n ```app/templates/components/person-profile.hbs\n <h1>{{person.title}}</h1>\n {{! Executed in the component's context. }}\n {{yield}} {{! block contents }}\n ```\n \n If you want to customize the component, in order to\n handle events or actions, you implement a subclass\n of `Component` named after the name of the\n component.\n \n For example, you could implement the action\n `hello` for the `person-profile` 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.title}}</h1>\n {{yield}} <!-- block contents -->\n <button {{action 'hello' person.name}}>\n Say Hello to {{person.name}}\n </button>\n ```\n \n Components must have a `-` in their name to avoid\n conflicts with built-in controls that wrap HTML\n elements. This is consistent with the same\n requirement in web components.\n \n ## HTML Tag\n \n The default HTML tag name used for a component's DOM representation is `div`.\n This can be customized by setting the `tagName` property.\n 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 Would result in instances with the following HTML:\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 Will result in component instances with an HTML representation of:\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 value\n of these properties will be added as part of the value for the components's `class`\n 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 classNameBindings: ['propertyA', 'propertyB'],\n \n propertyA: 'from-a',\n propertyB: computed(function() {\n if (someLogic) { return 'from-b'; }\n })\n });\n ```\n \n Will result in component instances with an HTML representation of:\n \n ```html\n <div id=\"ember1\" class=\"ember-view 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.\n The class name 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 Will result in component instances with an HTML representation of:\n \n ```html\n <div id=\"ember1\" class=\"ember-view hovered\"></div>\n ```\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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\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\n 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 Will result in component instances with an HTML representation of:\n \n ```html\n <div id=\"ember1\" class=\"ember-view\"></div>\n ```\n \n When the `isEnabled` property on the component is set to `false`, it will result\n in component instances with an HTML representation of:\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\n update 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 Both `classNames` and `classNameBindings` are concatenated properties. See\n [EmberObject](/api/ember/release/classes/EmberObject) documentation for more\n information about concatenated properties.\n \n ## 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 Will result in component instances with an HTML representation of:\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 Will result in component instances with an HTML representation of:\n \n ```html\n <a id=\"ember1\" class=\"ember-view\" href=\"http://google.com\"></a>\n ```\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 Will result in component instances with an HTML representation of:\n \n ```html\n <use xlink:href=\"#triangle\"></use>\n ```\n \n If the return value of an `attributeBindings` monitored property is a boolean\n the 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 Will result in a component instance with an HTML representation of:\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 return value of the `attributeBindings` monitored property:\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 rendered HTML representation.\n `attributeBindings` is a concatenated property. See [EmberObject](/api/ember/release/classes/EmberObject)\n documentation for more information about concatenated properties.\n \n ## Layouts\n \n See [Ember.Templates.helpers.yield](/api/ember/release/classes/Ember.Templates.helpers/methods/yield?anchor=yield)\n for more information.\n \n Layout can be used to wrap content in a component. In addition\n to wrapping content in a Component's template, you can also use\n the public layout API in your Component JavaScript.\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 call the `person-profile` component like so:\n \n ```\n {{#person-profile}}\n <h2>Chief Basket Weaver</h2>\n <h3>Fisherman Industries</h3>\n {{/person-profile}}\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 ## Responding to Browser Events\n \n Components can respond to user-initiated events in one of three ways: method\n implementation, through an event manager, and through `{{action}}` helper use\n in their template or layout.\n \n ### Method Implementation\n \n Components can respond to user-initiated events by implementing a method that\n matches the event name. A `jQuery.Event` object will be passed as the\n argument to this method.\n \n ```app/components/my-widget.js\n import Component from '@ember/component';\n \n export default Component.extend({\n click(event) {\n // will be called when an instance's\n // rendered element is clicked\n }\n });\n ```\n \n ### `{{action}}` Helper\n \n See [Ember.Templates.helpers.action](/api/ember/release/classes/Ember.Templates.helpers/methods/yield?anchor=yield).\n \n ### Event Names\n \n All of the event handling approaches described above respond to the same set\n of events. The names of the built-in events are listed below. (The hash of\n built-in events exists in `Ember.EventDispatcher`.) Additional, custom events\n can be registered 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 * `mouseMove`\n * `focusIn`\n * `focusOut`\n * `mouseEnter`\n * `mouseLeave`\n \n Form events:\n \n * `submit`\n * `change`\n * `focusIn`\n * `focusOut`\n * `input`\n \n HTML5 drag and drop events:\n \n * `dragStart`\n * `drag`\n * `dragEnter`\n * `dragLeave`\n * `dragOver`\n * `dragEnd`\n * `drop`\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 const Component = _views.CoreView.extend(_views.ChildViewsSupport, _views.ViewStateSupport, _views.ClassNamesSupport, _runtime2.TargetActionSupport, _views.ActionSupport, _views.ViewMixin, {\n isComponent: true,\n init() {\n this._super(...arguments);\n this[IS_DISPATCHING_ATTRS] = false;\n this[DIRTY_TAG] = _reference.DirtyableTag.create();\n this[ROOT_REF] = new RootReference(this);\n this[BOUNDS] = null;\n // If in a tagless component, assert that no event handlers are defined\n false && !(this.tagName !== '' || !this.renderer._destinedForDOM || !(() => {\n let eventDispatcher = (0, _owner.getOwner)(this).lookup('event_dispatcher:main');\n let events = eventDispatcher && eventDispatcher._finalEvents || {};\n // tslint:disable-next-line:forin\n for (let key in events) {\n let methodName = events[key];\n if (typeof this[methodName] === 'function') {\n return true; // indicate that the assertion should be triggered\n }\n }\n return false;\n })()) && (0, _debug.assert)(\n // tslint:disable-next-line:max-line-length\n `You can not define a function that handles DOM events in the \\`${this}\\` tagless component since it doesn't have any DOM element.`, this.tagName !== '' || !this.renderer._destinedForDOM || !(() => {\n let eventDispatcher = (0, _owner.getOwner)(this).lookup('event_dispatcher:main');let events = eventDispatcher && eventDispatcher._finalEvents || {};for (let key in events) {\n let methodName = events[key];if (typeof this[methodName] === 'function') {\n return true;\n }\n }return false;\n })());\n },\n rerender() {\n this[DIRTY_TAG].inner.dirty();\n this._super();\n },\n [_metal.PROPERTY_DID_CHANGE](key) {\n if (this[IS_DISPATCHING_ATTRS]) {\n return;\n }\n let args = this[ARGS];\n let reference = args !== undefined ? args[key] : undefined;\n if (reference !== undefined && reference[UPDATE] !== undefined) {\n reference[UPDATE]((0, _metal.get)(this, key));\n }\n },\n getAttr(key) {\n // TODO Intimate API should be deprecated\n return this.get(key);\n },\n /**\n Normally, Ember's component model is \"write-only\". The component takes a\n bunch of attributes that it got passed in, and uses them to render its\n template.\n One nice thing about this model is that if you try to set a value to the\n same thing as last time, Ember (through HTMLBars) will avoid doing any\n work on the DOM.\n This is not just a performance optimization. If an attribute has not\n changed, it is important not to clobber the element's \"hidden state\".\n For example, if you set an input's `value` to the same value as before,\n it will clobber selection state and cursor position. In other words,\n setting an attribute is not **always** idempotent.\n This method provides a way to read an element's attribute and also\n update the last value Ember knows about at the same time. This makes\n setting an attribute idempotent.\n In particular, what this means is that if you get an `<input>` element's\n `value` attribute and then re-render the template with the same value,\n it will avoid clobbering the cursor and selection position.\n Since most attribute sets are idempotent in the browser, you typically\n can get away with reading attributes using jQuery, but the most reliable\n way to do so is through this method.\n @method readDOMAttr\n @param {String} name the name of the attribute\n @return String\n @public\n */\n readDOMAttr(name) {\n // TODO revisit this\n let element = (0, _views.getViewElement)(this);\n let isSVG = element.namespaceURI === _runtime.SVG_NAMESPACE;\n let { type, normalized } = (0, _runtime.normalizeProperty)(element, name);\n if (isSVG || type === 'attr') {\n return element.getAttribute(normalized);\n }\n return element[normalized];\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 [http://www.w3.org/TR/wai-aria/roles#roles_categorization](http://www.w3.org/TR/wai-aria/roles#roles_categorization)\n @property ariaRole\n @type String\n @default null\n @public\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 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 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 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 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 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 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 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 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 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 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 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 Component.toString = () => '@ember/component';\n Component.reopenClass({\n isComponentFactory: true,\n positionalParams: []\n });\n\n var layout = template({ \"id\": \"hvtsz7RF\", \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/empty.hbs\" } });\n\n /**\n @module @ember/component\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](/api/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 const Checkbox = Component.extend({\n layout,\n classNames: ['ember-checkbox'],\n tagName: 'input',\n attributeBindings: ['type', 'checked', 'indeterminate', 'disabled', 'tabindex', 'name', 'autofocus', 'required', 'form'],\n type: 'checkbox',\n disabled: false,\n indeterminate: false,\n didInsertElement() {\n this._super(...arguments);\n (0, _metal.get)(this, 'element').indeterminate = !!(0, _metal.get)(this, 'indeterminate');\n },\n change() {\n (0, _metal.set)(this, 'checked', this.element.checked);\n }\n });\n Checkbox.toString = () => '@ember/component/checkbox';\n\n /**\n @module @ember/component\n */\n const inputTypes = Object.create(null);\n function canSetTypeOfInput(type) {\n if (type in inputTypes) {\n return inputTypes[type];\n }\n // if running in outside of a browser always return the\n // original type\n if (!_browserEnvironment.hasDOM) {\n inputTypes[type] = type;\n return type;\n }\n let inputTypeTestElement = document.createElement('input');\n try {\n inputTypeTestElement.type = type;\n } catch (e) {\n // ignored\n }\n return inputTypes[type] = inputTypeTestElement.type === type;\n }\n /**\n \n The internal class used to create text inputs when the `{{input}}`\n helper is used with `type` of `text`.\n \n See [Ember.Templates.helpers.input](/api/ember/release/classes/Ember.Templates.helpers/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 const TextField = Component.extend(_views.TextSupport, {\n layout,\n classNames: ['ember-text-field'],\n tagName: 'input',\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 The `value` attribute of the input element. As the user inputs text, this\n property is updated live.\n @property value\n @type String\n @default \"\"\n @public\n */\n value: '',\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 set(_key, value) {\n let type = 'text';\n if (canSetTypeOfInput(value)) {\n type = value;\n }\n return type;\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 The `pattern` attribute of input element.\n @property pattern\n @type String\n @default null\n @public\n */\n pattern: null,\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 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 TextField.toString = () => '@ember/component/text-field';\n\n /**\n @module @ember/component\n */\n /**\n `{{textarea}}` inserts a new instance of `<textarea>` tag into the template.\n The attributes of `{{textarea}}` match those of the native HTML tags as\n closely as possible.\n \n The following HTML attributes can be set:\n \n * `value`\n * `name`\n * `rows`\n * `cols`\n * `placeholder`\n * `disabled`\n * `maxlength`\n * `tabindex`\n * `selectionEnd`\n * `selectionStart`\n * `autocomplete`\n * `selectionDirection`\n * `wrap`\n * `readonly`\n * `autofocus`\n * `form`\n * `spellcheck`\n * `required`\n \n When set to a quoted string, these value will be directly applied to the HTML\n element. When left unquoted, these values will be bound to a property on the\n template's current rendering context (most typically a controller instance).\n \n Unbound:\n \n ```handlebars\n {{textarea value=\"Lots of static text that ISN'T bound\"}}\n ```\n \n Would result in the following HTML:\n \n ```html\n <textarea class=\"ember-text-area\">\n Lots of static text that ISN'T bound\n </textarea>\n ```\n \n Bound:\n \n In the following example, the `writtenWords` property on the application\n Controller will be updated live as the user types 'Lots of text that IS\n bound' into the text area of their browser's window.\n \n ```app/controllers/application.js\n import Controller from '@ember/controller';\n \n export default Controller.extend({\n 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 between the text area and a div tag\n somewhere else on your screen, you could use `oneWay`:\n \n ```app/controllers/application.js\n import Controller from '@ember/controller';\n import { oneWay } from '@ember/object/computed';\n \n export default Controller.extend({\n writtenWords: \"Lots of text that IS bound\",\n \n outputWrittenWords: oneWay(\"writtenWords\")\n });\n ```\n \n ```handlebars\n {{textarea value=writtenWords}}\n <div>\n {{outputWrittenWords}}\n </div>\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 <-- the following div will be updated in real time as you type -->\n <div>\n Lots of text that IS bound\n </div>\n ```\n \n Finally, this example really shows the power and ease of Ember when two\n properties are bound to eachother via `alias`. Type into\n either text area box and they'll both stay in sync. Note that\n `alias` costs more in terms of performance, so only use it when\n your really binding in both directions:\n \n ```app/controllers/application.js\n import Controller from '@ember/controller';\n import { alias } from '@ember/object/computed';\n \n export default Controller.extend({\n writtenWords: \"Lots of text that IS bound\",\n \n twoWayWrittenWords: alias(\"writtenWords\")\n });\n ```\n \n ```handlebars\n {{textarea value=writtenWords}}\n {{textarea value=twoWayWrittenWords}}\n ```\n \n ```html\n <textarea id=\"ember1\" class=\"ember-text-area\">\n Lots of text that IS bound\n </textarea>\n <-- both updated in real time -->\n <textarea id=\"ember2\" class=\"ember-text-area\">\n Lots of text that IS bound\n </textarea>\n ```\n \n ### Actions\n \n The helper can send multiple actions based on user events.\n The action property defines the action which is send when\n the user presses the return key.\n \n ```handlebars\n {{input action=\"submit\"}}\n ```\n \n The helper allows some user events to send actions.\n \n * `enter`\n * `insert-newline`\n * `escape-press`\n * `focus-in`\n * `focus-out`\n * `key-press`\n \n For example, if you desire an action to be sent when the input is blurred,\n you only need to setup the action name to the event name property.\n \n ```handlebars\n {{textarea focus-out=\"alertMessage\"}}\n ```\n \n See more about [Text Support Actions](/api/ember/release/classes/TextArea)\n \n ### Extension\n \n Internally, `{{textarea}}` creates an instance of `TextArea`, passing\n arguments from the helper to `TextArea`'s `create` method. You can\n extend the capabilities of text areas in your application by reopening this\n class. For example, if you are building a Bootstrap project where `data-*`\n attributes are used, you can globally add support for a `data-*` attribute\n on all `{{textarea}}`s' in your app by reopening `TextArea` or\n `TextSupport` and adding it to the `attributeBindings` concatenated\n property:\n \n ```javascript\n import TextArea from '@ember/component/text-area';\n \n TextArea.reopen({\n attributeBindings: ['data-error']\n });\n ```\n \n Keep in mind when writing `TextArea` subclasses that `TextArea`\n itself extends `Component`. Expect isolated component semantics, not\n legacy 1.x view semantics (like `controller` being present).\n \n See more about [Ember components](/api/ember/release/classes/Component)\n \n @method textarea\n @for Ember.Templates.helpers\n @param {Hash} options\n @public\n */\n /**\n The internal class used to create textarea element when the `{{textarea}}`\n helper is used.\n \n See [Ember.Templates.helpers.textarea](/api/ember/release/classes/Ember.Templates.helpers/methods/textarea?anchor=textarea) for usage details.\n \n ## 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 @class TextArea\n @extends Component\n @uses Ember.TextSupport\n @public\n */\n const 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 TextArea.toString = () => '@ember/component/text-area';\n\n var layout$1 = template({ \"id\": \"r9g6x1y/\", \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[4,\\\"if\\\",[[23,[\\\"linkTitle\\\"]]],null,{\\\"statements\\\":[[1,[21,\\\"linkTitle\\\"],false]],\\\"parameters\\\":[]},{\\\"statements\\\":[[14,1]],\\\"parameters\\\":[]}]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/link-to.hbs\" } });\n\n /**\n @module ember\n */\n /**\n @module @ember/routing\n */\n /**\n `LinkComponent` renders an element whose `click` event triggers a\n transition of the application's instance of `Router` to\n a supplied route by name.\n \n `LinkComponent` components are invoked with {{#link-to}}. Properties\n of this class can be overridden with `reopen` to customize application-wide\n behavior.\n \n @class LinkComponent\n @extends Component\n @see {Ember.Templates.helpers.link-to}\n @public\n **/\n const LinkComponent = Component.extend({\n layout: layout$1,\n tagName: 'a',\n /**\n Used to determine when this `LinkComponent` is active.\n @property current-when\n @public\n */\n 'current-when': null,\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 Sets the `rel` attribute of the `LinkComponent`'s HTML element.\n @property rel\n @default null\n @public\n **/\n rel: null,\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 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 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 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 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 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 By default the `{{link-to}}` component will bind to the `href` and\n `title` attributes. It's discouraged that you override these defaults,\n however you can push onto the array if needed.\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 By default the `{{link-to}}` component will bind to the `active`, `loading`,\n and `disabled` classes. It is discouraged to override these directly.\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 By default the `{{link-to}}` component responds to the `click` event. You\n can override this globally by setting this property to your custom\n event name.\n This is particularly useful on mobile when one wants to avoid the 300ms\n click delay using some sort of custom `tap` event.\n @property eventName\n @type String\n @default click\n @private\n */\n eventName: 'click',\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 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 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);\n // Map desired event name to invoke function\n let eventName = (0, _metal.get)(this, 'eventName');\n this.on(eventName, this, this._invoke);\n },\n _routing: (0, _service.inject)('-routing'),\n /**\n Accessed as a classname binding to apply the `LinkComponent`'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 occured\n return false;\n },\n set(_key, value) {\n this._isDisabled = value;\n return value ? (0, _metal.get)(this, 'disabledClass') : false;\n }\n }),\n _isActive(routerState) {\n if ((0, _metal.get)(this, 'loading')) {\n return false;\n }\n let currentWhen = (0, _metal.get)(this, 'current-when');\n if (typeof currentWhen === 'boolean') {\n return currentWhen;\n }\n let isCurrentWhenSpecified = !!currentWhen;\n currentWhen = currentWhen || (0, _metal.get)(this, 'qualifiedRouteName');\n currentWhen = currentWhen.split(' ');\n let routing = (0, _metal.get)(this, '_routing');\n let models = (0, _metal.get)(this, 'models');\n let resolvedQueryParams = (0, _metal.get)(this, 'resolvedQueryParams');\n for (let i = 0; i < currentWhen.length; i++) {\n if (routing.isActiveForRoute(models, resolvedQueryParams, currentWhen[i], routerState, isCurrentWhenSpecified)) {\n return true;\n }\n }\n return false;\n },\n /**\n Accessed as a classname binding to apply the `LinkComponent`'s `activeClass`\n CSS `class` to the element when the link is active.\n A `LinkComponent` is considered active when its `currentWhen` property is `true`\n or the application's current route is the route the `LinkComponent` 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.get('_active') ? (0, _metal.get)(this, 'activeClass') : false;\n }),\n _active: (0, _metal.computed)('_routing.currentState', 'attrs.params', function computeLinkToComponentActive() {\n let currentState = (0, _metal.get)(this, '_routing.currentState');\n if (!currentState) {\n return false;\n }\n return this._isActive(currentState);\n }),\n willBeActive: (0, _metal.computed)('_routing.targetState', function computeLinkToComponentWillBeActive() {\n let routing = (0, _metal.get)(this, '_routing');\n let targetState = (0, _metal.get)(routing, 'targetState');\n if ((0, _metal.get)(routing, 'currentState') === targetState) {\n return;\n }\n return this._isActive(targetState);\n }),\n transitioningIn: (0, _metal.computed)('active', 'willBeActive', function computeLinkToComponentTransitioningIn() {\n if ((0, _metal.get)(this, 'willBeActive') === true && !(0, _metal.get)(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 ((0, _metal.get)(this, 'willBeActive') === false && (0, _metal.get)(this, '_active')) {\n return 'ember-transitioning-out';\n } else {\n return false;\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 let preventDefault = (0, _metal.get)(this, 'preventDefault');\n let targetAttribute = (0, _metal.get)(this, 'target');\n if (preventDefault !== false && (!targetAttribute || targetAttribute === '_self')) {\n event.preventDefault();\n }\n if ((0, _metal.get)(this, 'bubbles') === false) {\n event.stopPropagation();\n }\n if (this._isDisabled) {\n return false;\n }\n if ((0, _metal.get)(this, 'loading')) {\n // tslint:disable-next-line:max-line-length\n false && (0, _debug.warn)('This link-to is in an inactive loading state because at least one of its parameters presently has a null/undefined value, or the provided route name is invalid.', false, {\n id: 'ember-glimmer.link-to.inactive-loading-state'\n });\n\n return false;\n }\n if (targetAttribute && targetAttribute !== '_self') {\n return false;\n }\n let qualifiedRouteName = (0, _metal.get)(this, 'qualifiedRouteName');\n let models = (0, _metal.get)(this, 'models');\n let queryParams = (0, _metal.get)(this, 'queryParams.values');\n let shouldReplace = (0, _metal.get)(this, 'replace');\n let payload = {\n queryParams,\n routeName: qualifiedRouteName\n };\n // tslint:disable-next-line:max-line-length\n (0, _instrumentation.flaggedInstrument)('interaction.link-to', payload, this._generateTransition(payload, qualifiedRouteName, models, queryParams, shouldReplace));\n return false;\n },\n _generateTransition(payload, qualifiedRouteName, models, queryParams, shouldReplace) {\n let routing = (0, _metal.get)(this, '_routing');\n return () => {\n payload.transition = routing.transitionTo(qualifiedRouteName, models, queryParams, shouldReplace);\n };\n },\n queryParams: null,\n qualifiedRouteName: (0, _metal.computed)('targetRouteName', '_routing.currentState', function computeLinkToComponentQualifiedRouteName() {\n let params = (0, _metal.get)(this, 'params');\n let paramsLength = params.length;\n let lastParam = params[paramsLength - 1];\n if (lastParam && lastParam.isQueryParams) {\n paramsLength--;\n }\n let onlyQueryParamsSupplied = this[HAS_BLOCK] ? paramsLength === 0 : paramsLength === 1;\n if (onlyQueryParamsSupplied) {\n return (0, _metal.get)(this, '_routing.currentRouteName');\n }\n return (0, _metal.get)(this, 'targetRouteName');\n }),\n resolvedQueryParams: (0, _metal.computed)('queryParams', function computeLinkToComponentResolvedQueryParams() {\n let resolvedQueryParams = {};\n let queryParams = (0, _metal.get)(this, 'queryParams');\n if (!queryParams) {\n return resolvedQueryParams;\n }\n let values = queryParams.values;\n for (let key in values) {\n if (!values.hasOwnProperty(key)) {\n continue;\n }\n resolvedQueryParams[key] = values[key];\n }\n return resolvedQueryParams;\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)('models', 'qualifiedRouteName', function computeLinkToComponentHref() {\n if ((0, _metal.get)(this, 'tagName') !== 'a') {\n return;\n }\n let qualifiedRouteName = (0, _metal.get)(this, 'qualifiedRouteName');\n let models = (0, _metal.get)(this, 'models');\n if ((0, _metal.get)(this, 'loading')) {\n return (0, _metal.get)(this, 'loadingHref');\n }\n let routing = (0, _metal.get)(this, '_routing');\n let queryParams = (0, _metal.get)(this, 'queryParams.values');\n if (false /* DEBUG */) {\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 routing.generateURL(qualifiedRouteName, models, queryParams);\n } catch (e) {\n // tslint:disable-next-line:max-line-length\n false && !false && (0, _debug.assert)('You attempted to define a `{{link-to \"' + qualifiedRouteName + '\"}}` but did not pass the parameters required for generating its dynamic segments. ' + e.message);\n }\n }\n return routing.generateURL(qualifiedRouteName, models, queryParams);\n }),\n loading: (0, _metal.computed)('_modelsAreLoaded', 'qualifiedRouteName', function computeLinkToComponentLoading() {\n let qualifiedRouteName = (0, _metal.get)(this, 'qualifiedRouteName');\n let modelsAreLoaded = (0, _metal.get)(this, '_modelsAreLoaded');\n if (!modelsAreLoaded || qualifiedRouteName === null || qualifiedRouteName === undefined) {\n return (0, _metal.get)(this, 'loadingClass');\n }\n }),\n _modelsAreLoaded: (0, _metal.computed)('models', function computeLinkToComponentModelsAreLoaded() {\n let models = (0, _metal.get)(this, 'models');\n for (let i = 0; i < models.length; i++) {\n let model = models[i];\n if (model === null || model === undefined) {\n return false;\n }\n }\n return true;\n }),\n _getModels(params) {\n let modelCount = params.length - 1;\n let models = new Array(modelCount);\n for (let i = 0; i < modelCount; i++) {\n let value = params[i + 1];\n models[i] = value;\n }\n return models;\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 didReceiveAttrs() {\n let queryParams;\n let params = (0, _metal.get)(this, 'params');\n if (params) {\n // Do not mutate params in place\n params = params.slice();\n }\n false && !(params && params.length) && (0, _debug.assert)('You must provide one or more parameters to the link-to component.', params && params.length);\n\n let disabledWhen = (0, _metal.get)(this, 'disabledWhen');\n if (disabledWhen !== undefined) {\n this.set('disabled', disabledWhen);\n }\n // Process the positional arguments, in order.\n // 1. Inline link title comes first, if present.\n if (!this[HAS_BLOCK]) {\n this.set('linkTitle', params.shift());\n }\n // 2. `targetRouteName` is now always at index 0.\n this.set('targetRouteName', params[0]);\n // 3. The last argument (if still remaining) is the `queryParams` object.\n let lastParam = params[params.length - 1];\n if (lastParam && lastParam.isQueryParams) {\n queryParams = params.pop();\n } else {\n queryParams = { values: {} };\n }\n this.set('queryParams', queryParams);\n // 4. Any remaining indices (excepting `targetRouteName` at 0) are `models`.\n if (params.length > 1) {\n this.set('models', this._getModels(params));\n } else {\n this.set('models', []);\n }\n }\n });\n LinkComponent.toString = () => '@ember/routing/link-component';\n LinkComponent.reopenClass({\n positionalParams: 'params'\n });\n\n // @ts-check\n let DebugStack;\n if (false /* DEBUG */) {\n class Element {\n constructor(name) {\n this.name = name;\n }\n }\n class TemplateElement extends Element {}\n class EngineElement extends Element {}\n // tslint:disable-next-line:no-shadowed-variable\n DebugStack = class DebugStack {\n constructor() {\n this._stack = [];\n }\n push(name) {\n this._stack.push(new TemplateElement(name));\n }\n pushEngine(name) {\n this._stack.push(new EngineElement(name));\n }\n pop() {\n let element = this._stack.pop();\n if (element) {\n return element.name;\n }\n }\n peek() {\n let template = this._currentTemplate();\n let engine = this._currentEngine();\n if (engine) {\n return `\"${template}\" (in \"${engine}\")`;\n } else if (template) {\n return `\"${template}\"`;\n }\n }\n _currentTemplate() {\n return this._getCurrentByType(TemplateElement);\n }\n _currentEngine() {\n return this._getCurrentByType(EngineElement);\n }\n _getCurrentByType(type) {\n for (let i = this._stack.length; i >= 0; i--) {\n let element = this._stack[i];\n if (element instanceof type) {\n return element.name;\n }\n }\n }\n };\n }\n var DebugStack$1 = DebugStack;\n\n /**\n @module ember\n */\n /**\n The `{{#each}}` helper loops over elements in a collection. It is an extension\n of the base Handlebars `{{#each}}` helper.\n 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 ```javascript\n var developers = [{ name: 'Yehuda' },{ name: 'Tom' }, { name: 'Paul' }];\n ```\n \n ```handlebars\n {{#each developers key=\"name\" as |person|}}\n {{person.name}}\n {{! `this` is whatever it was outside the #each }}\n {{/each}}\n ```\n \n The same rules apply to arrays of primitives.\n \n ```javascript\n var developerNames = ['Yehuda', 'Tom', 'Paul']\n ```\n \n ```handlebars\n {{#each developerNames key=\"@index\" as |name|}}\n {{name}}\n {{/each}}\n ```\n \n During iteration, the index of each item in the array is provided as a second block parameter.\n \n ```handlebars\n <ul>\n {{#each people 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 The `key` option is used to tell Ember how to determine if the array being\n iterated over with `{{#each}}` has changed between renders. By helping Ember\n detect that some elements in the array are the same, DOM elements can be\n re-used, significantly improving rendering speed.\n \n For example, here's the `{{#each}}` helper with its `key` set to `id`:\n \n ```handlebars\n {{#each model key=\"id\" as |item|}}\n {{/each}}\n ```\n \n When this `{{#each}}` re-renders, Ember will match up the previously rendered\n items (and reorder the generated DOM elements) based on each item's `id`\n property.\n By default the item's own reference is used.\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 {{#each developers as |person|}}\n {{person.name}}\n {{else}}\n <p>Sorry, nobody is available for this task.</p>\n {{/each}}\n ```\n \n @method each\n @for Ember.Templates.helpers\n @public\n */\n /**\n The `{{each-in}}` helper loops over properties on an object.\n \n For example, given a `user` object that looks like:\n \n ```javascript\n {\n \"name\": \"Shelly Sails\",\n \"age\": 42\n }\n ```\n \n This template would display all properties on the `user`\n object in a list:\n \n ```handlebars\n <ul>\n {{#each-in user 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 const EACH_IN_REFERENCE = (0, _utils.symbol)('EACH_IN');\n class EachInReference {\n constructor(inner) {\n this.inner = inner;\n this.tag = inner.tag;\n this[EACH_IN_REFERENCE] = true;\n }\n value() {\n return this.inner.value();\n }\n get(key) {\n return this.inner.get(key);\n }\n }\n function isEachIn(ref) {\n return ref !== null && typeof ref === 'object' && ref[EACH_IN_REFERENCE];\n }\n function eachIn(_vm, args) {\n return new EachInReference(args.positional.at(0));\n }\n\n const ITERATOR_KEY_GUID = 'be277757-bbbe-4620-9fcb-213ef433cca2';\n function iterableFor(ref, keyPath) {\n if (isEachIn(ref)) {\n return new EachInIterable(ref, keyPath || '@key');\n } else {\n return new EachIterable(ref, keyPath || '@identity');\n }\n }\n class BoundedIterator {\n constructor(length, keyFor) {\n this.length = length;\n this.keyFor = keyFor;\n this.position = 0;\n }\n isEmpty() {\n return false;\n }\n memoFor(position) {\n return position;\n }\n next() {\n let { length, keyFor, position } = this;\n if (position >= length) {\n return null;\n }\n let value = this.valueFor(position);\n let memo = this.memoFor(position);\n let key = keyFor(value, memo, position);\n this.position++;\n return { key, value, memo };\n }\n }\n class ArrayIterator extends BoundedIterator {\n constructor(array, length, keyFor) {\n super(length, keyFor);\n this.array = array;\n }\n static from(array, keyFor) {\n let { length } = array;\n if (length === 0) {\n return EMPTY_ITERATOR;\n } else {\n return new this(array, length, keyFor);\n }\n }\n static fromForEachable(object, keyFor) {\n let array = [];\n object.forEach(item => array.push(item));\n return this.from(array, keyFor);\n }\n valueFor(position) {\n return this.array[position];\n }\n }\n class EmberArrayIterator extends BoundedIterator {\n constructor(array, length, keyFor) {\n super(length, keyFor);\n this.array = array;\n }\n static from(array, keyFor) {\n let { length } = array;\n if (length === 0) {\n return EMPTY_ITERATOR;\n } else {\n return new this(array, length, keyFor);\n }\n }\n valueFor(position) {\n return (0, _metal.objectAt)(this.array, position);\n }\n }\n class ObjectIterator extends BoundedIterator {\n constructor(keys, values, length, keyFor) {\n super(length, keyFor);\n this.keys = keys;\n this.values = values;\n }\n static fromIndexable(obj, keyFor) {\n let keys = Object.keys(obj);\n let values = [];\n let { length } = keys;\n for (let i = 0; i < length; i++) {\n values.push((0, _metal.get)(obj, keys[i]));\n }\n if (length === 0) {\n return EMPTY_ITERATOR;\n } else {\n return new this(keys, values, length, keyFor);\n }\n }\n static fromForEachable(obj, keyFor) {\n let keys = [];\n let values = [];\n let length = 0;\n let isMapLike = false;\n obj.forEach((value, key) => {\n isMapLike = isMapLike || arguments.length >= 2;\n if (isMapLike) {\n keys.push(key);\n }\n values.push(value);\n length++;\n });\n if (length === 0) {\n return EMPTY_ITERATOR;\n } else if (isMapLike) {\n return new this(keys, values, length, keyFor);\n } else {\n return new ArrayIterator(values, length, keyFor);\n }\n }\n valueFor(position) {\n return this.values[position];\n }\n memoFor(position) {\n return this.keys[position];\n }\n }\n class NativeIterator {\n constructor(iterable, result, keyFor) {\n this.iterable = iterable;\n this.result = result;\n this.keyFor = keyFor;\n this.position = 0;\n }\n static from(iterable, keyFor) {\n let iterator = iterable[Symbol.iterator]();\n let result = iterator.next();\n let { value, done } = result;\n if (done) {\n return EMPTY_ITERATOR;\n } else if (Array.isArray(value) && value.length === 2) {\n return new this(iterator, result, keyFor);\n } else {\n return new ArrayLikeNativeIterator(iterator, result, keyFor);\n }\n }\n isEmpty() {\n return false;\n }\n next() {\n let { iterable, result, position, keyFor } = this;\n if (result.done) {\n return null;\n }\n let value = this.valueFor(result, position);\n let memo = this.memoFor(result, position);\n let key = keyFor(value, memo, position);\n this.position++;\n this.result = iterable.next();\n return { key, value, memo };\n }\n }\n class ArrayLikeNativeIterator extends NativeIterator {\n valueFor(result) {\n return result.value;\n }\n memoFor(_result, position) {\n return position;\n }\n }\n class MapLikeNativeIterator extends NativeIterator {\n valueFor(result) {\n return result.value[1];\n }\n memoFor(result) {\n return result.value[0];\n }\n }\n const EMPTY_ITERATOR = {\n isEmpty() {\n return true;\n },\n next() {\n false && !false && (0, _debug.assert)('Cannot call next() on an empty iterator');\n\n return null;\n }\n };\n class EachInIterable {\n constructor(ref, keyPath) {\n this.ref = ref;\n this.keyPath = keyPath;\n this.valueTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([ref.tag, this.valueTag]);\n }\n iterate() {\n let { ref, valueTag } = this;\n let iterable = ref.value();\n let tag = (0, _metal.tagFor)(iterable);\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, _runtime2._contentFor)(iterable);\n }\n valueTag.inner.update(tag);\n if (!isIndexable(iterable)) {\n return EMPTY_ITERATOR;\n }\n if (Array.isArray(iterable) || (0, _runtime2.isEmberArray)(iterable)) {\n return ObjectIterator.fromIndexable(iterable, this.keyFor(true));\n } else if (_utils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n return MapLikeNativeIterator.from(iterable, this.keyFor());\n } else if (hasForEach(iterable)) {\n return ObjectIterator.fromForEachable(iterable, this.keyFor());\n } else {\n return ObjectIterator.fromIndexable(iterable, this.keyFor(true));\n }\n }\n valueReferenceFor(item) {\n return new UpdatableReference(item.value);\n }\n updateValueReference(ref, item) {\n ref.update(item.value);\n }\n memoReferenceFor(item) {\n return new UpdatableReference(item.memo);\n }\n updateMemoReference(ref, item) {\n ref.update(item.memo);\n }\n keyFor(hasUniqueKeys = false) {\n let { keyPath } = this;\n switch (keyPath) {\n case '@key':\n return hasUniqueKeys ? ObjectKey : Unique(MapKey);\n case '@index':\n return Index;\n case '@identity':\n return Unique(Identity);\n default:\n false && !(keyPath[0] !== '@') && (0, _debug.assert)(`Invalid key: ${keyPath}`, keyPath[0] !== '@');\n\n return Unique(KeyPath(keyPath));\n }\n }\n }\n class EachIterable {\n constructor(ref, keyPath) {\n this.ref = ref;\n this.keyPath = keyPath;\n this.valueTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([ref.tag, this.valueTag]);\n }\n iterate() {\n let { ref, valueTag } = this;\n let iterable = ref.value();\n valueTag.inner.update((0, _metal.tagForProperty)(iterable, '[]'));\n if (iterable === null || typeof iterable !== 'object') {\n return EMPTY_ITERATOR;\n }\n let keyFor = this.keyFor();\n if (Array.isArray(iterable)) {\n return ArrayIterator.from(iterable, keyFor);\n } else if ((0, _runtime2.isEmberArray)(iterable)) {\n return EmberArrayIterator.from(iterable, keyFor);\n } else if (_utils.HAS_NATIVE_SYMBOL && isNativeIterable(iterable)) {\n return ArrayLikeNativeIterator.from(iterable, keyFor);\n } else if (hasForEach(iterable)) {\n return ArrayIterator.fromForEachable(iterable, keyFor);\n } else {\n return EMPTY_ITERATOR;\n }\n }\n valueReferenceFor(item) {\n return new UpdatableReference(item.value);\n }\n updateValueReference(ref, item) {\n ref.update(item.value);\n }\n memoReferenceFor(item) {\n return new UpdatableReference(item.memo);\n }\n updateMemoReference(ref, item) {\n ref.update(item.memo);\n }\n keyFor() {\n let { keyPath } = this;\n switch (keyPath) {\n case '@index':\n return Index;\n case '@identity':\n return Unique(Identity);\n default:\n false && !(keyPath[0] !== '@') && (0, _debug.assert)(`Invalid key: ${keyPath}`, keyPath[0] !== '@');\n\n return Unique(KeyPath(keyPath));\n }\n }\n }\n function hasForEach(value) {\n return typeof value['forEach'] === 'function';\n }\n function isNativeIterable(value) {\n return typeof value[Symbol.iterator] === 'function';\n }\n function isIndexable(value) {\n return value !== null && (typeof value === 'object' || typeof value === 'function');\n }\n // Position in an array is guarenteed to be unique\n function Index(_value, _memo, position) {\n return String(position);\n }\n // Object.keys(...) is guarenteed to be strings and unique\n function ObjectKey(_value, memo) {\n return memo;\n }\n // Map keys can be any objects\n function MapKey(_value, memo) {\n return Identity(memo);\n }\n function Identity(value) {\n switch (typeof value) {\n case 'string':\n return value;\n case 'number':\n return String(value);\n default:\n return (0, _utils.guidFor)(value);\n }\n }\n function KeyPath(keyPath) {\n return value => String((0, _metal.get)(value, keyPath));\n }\n function Unique(func) {\n let seen = {};\n return (value, memo, position) => {\n let key = func(value, memo, position);\n let count = seen[key];\n if (count === undefined) {\n seen[key] = 0;\n return key;\n } else {\n seen[key] = ++count;\n return `${key}${ITERATOR_KEY_GUID}${count}`;\n }\n };\n }\n\n /**\n @module @ember/string\n */\n class SafeString {\n constructor(string) {\n this.string = string;\n }\n toString() {\n return `${this.string}`;\n }\n toHTML() {\n return this.toString();\n }\n }\n const escape = {\n '&': '&amp;',\n '<': '&lt;',\n '>': '&gt;',\n '\"': '&quot;',\n \"'\": '&#x27;',\n '`': '&#x60;',\n '=': '&#x3D;'\n };\n const possible = /[&<>\"'`=]/;\n const badChars = /[&<>\"'`=]/g;\n function escapeChar(chr) {\n return escape[chr];\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 + '';\n }\n // Force a string conversion as this will be done by the append regardless and\n // the regex test will do this transparently behind the scenes, causing issues if\n // an object's to string has escaped characters in it.\n string = '' + string;\n }\n if (!possible.test(string)) {\n return string;\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/string';\n \n htmlSafe('<div>someString</div>')\n ```\n \n @method htmlSafe\n @for @ember/template\n @static\n @return {Handlebars.SafeString} A string that will not be HTML escaped by Handlebars.\n @public\n */\n function htmlSafe(str) {\n if (str === null || str === undefined) {\n str = '';\n } else if (typeof str !== 'string') {\n str = '' + str;\n }\n return new SafeString(str);\n }\n /**\n Detects if a string was decorated using `htmlSafe`.\n \n ```javascript\n import { htmlSafe, isHTMLSafe } from '@ember/string';\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 function isHTMLSafe(str) {\n return str !== null && typeof str === 'object' && typeof str.toHTML === 'function';\n }\n\n /* globals module, URL */\n let nodeURL;\n let parsingNode;\n function installProtocolForURL(environment) {\n let protocol;\n if (_browserEnvironment.hasDOM) {\n protocol = browserProtocolForURL.call(environment, 'foobar:baz');\n }\n // Test to see if our DOM implementation parses\n // and normalizes URLs.\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 _nodeModule.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 = (0, _nodeModule.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 function browserProtocolForURL(url) {\n if (!parsingNode) {\n parsingNode = document.createElement('a');\n }\n parsingNode.href = url;\n return parsingNode.protocol;\n }\n function nodeProtocolForURL(url) {\n let protocol = null;\n if (typeof url === 'string') {\n protocol = nodeURL.parse(url).protocol;\n }\n return protocol === null ? ':' : protocol;\n }\n\n class Environment$1 extends _runtime.Environment {\n constructor(injections) {\n super(injections);\n this.inTransaction = false;\n this.owner = injections[_owner.OWNER];\n this.isInteractive = this.owner.lookup('-environment:main').isInteractive;\n // can be removed once https://github.com/tildeio/glimmer/pull/305 lands\n this.destroyedComponents = [];\n installProtocolForURL(this);\n if (false /* DEBUG */) {\n this.debugStack = new DebugStack$1();\n }\n }\n static create(options) {\n return new this(options);\n }\n // this gets clobbered by installPlatformSpecificProtocolForURL\n // it really should just delegate to a platform specific injection\n protocolForURL(s) {\n return s;\n }\n lookupComponent(name, meta) {\n return (0, _views.lookupComponent)(meta.owner, name, meta);\n }\n toConditionalReference(reference) {\n return ConditionalReference$1.create(reference);\n }\n iterableFor(ref, key) {\n return iterableFor(ref, key);\n }\n scheduleInstallModifier(modifier, manager) {\n if (this.isInteractive) {\n super.scheduleInstallModifier(modifier, manager);\n }\n }\n scheduleUpdateModifier(modifier, manager) {\n if (this.isInteractive) {\n super.scheduleUpdateModifier(modifier, manager);\n }\n }\n didDestroy(destroyable) {\n destroyable.destroy();\n }\n begin() {\n this.inTransaction = true;\n super.begin();\n }\n commit() {\n let destroyedComponents = this.destroyedComponents;\n this.destroyedComponents = [];\n // components queued for destruction must be destroyed before firing\n // `didCreate` to prevent errors when removing and adding a component\n // with the same name (would throw an error when added to view registry)\n for (let i = 0; i < destroyedComponents.length; i++) {\n destroyedComponents[i].destroy();\n }\n try {\n super.commit();\n } finally {\n this.inTransaction = false;\n }\n }\n }\n if (false /* DEBUG */) {\n class StyleAttributeManager extends _runtime.SimpleDynamicAttribute {\n set(dom, value, env) {\n false && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(value), (() => {\n if (value === null || value === undefined || isHTMLSafe(value)) {\n return true;\n }\n return false;\n })(), { id: 'ember-htmlbars.style-xss-warning' });\n\n super.set(dom, value, env);\n }\n update(value, env) {\n false && (0, _debug.warn)((0, _views.constructStyleDeprecationMessage)(value), (() => {\n if (value === null || value === undefined || isHTMLSafe(value)) {\n return true;\n }\n return false;\n })(), { id: 'ember-htmlbars.style-xss-warning' });\n\n super.update(value, env);\n }\n }\n Environment$1.prototype.attributeFor = function (element, attribute, isTrusting, namespace) {\n if (attribute === 'style' && !isTrusting) {\n return new StyleAttributeManager({ element, name: attribute, namespace });\n }\n return _runtime.Environment.prototype.attributeFor.call(this, element, attribute, isTrusting, namespace);\n };\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 class AbstractManager {\n constructor() {\n this.debugStack = undefined;\n }\n prepareArgs(_state, _args) {\n return null;\n }\n didCreateElement(_component, _element, _operations) {}\n // noop\n\n // inheritors should also call `this.debugStack.pop()` to\n // ensure the rerendering assertion messages are properly\n // maintained\n didRenderLayout(_component, _bounds) {\n // noop\n }\n didCreate(_bucket) {}\n // noop\n\n // inheritors should also call `this._pushToDebugStack`\n // to ensure the rerendering assertion messages are\n // properly maintained\n update(_bucket, _dynamicScope) {}\n // noop\n\n // inheritors should also call `this.debugStack.pop()` to\n // ensure the rerendering assertion messages are properly\n // maintained\n didUpdateLayout(_bucket, _bounds) {\n // noop\n }\n didUpdate(_bucket) {\n // noop\n }\n }\n if (false /* DEBUG */) {\n AbstractManager.prototype._pushToDebugStack = function (name, environment) {\n this.debugStack = environment.debugStack;\n this.debugStack.push(name);\n };\n AbstractManager.prototype._pushEngineToDebugStack = function (name, environment) {\n this.debugStack = environment.debugStack;\n this.debugStack.pushEngine(name);\n };\n }\n\n function instrumentationPayload(def) {\n return { object: `${def.name}:${def.outlet}` };\n }\n const CAPABILITIES = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: false,\n attributeHook: false,\n elementHook: false,\n createCaller: true,\n dynamicScope: true,\n updateHook: true,\n createInstance: true\n };\n class OutletComponentManager extends AbstractManager {\n create(environment, definition, _args, dynamicScope) {\n if (false /* DEBUG */) {\n this._pushToDebugStack(`template:${definition.template.referrer.moduleName}`, environment);\n }\n dynamicScope.outletState = definition.ref;\n let controller = definition.controller;\n let self = controller === undefined ? _runtime.UNDEFINED_REFERENCE : new RootReference(controller);\n return {\n self,\n finalize: (0, _instrumentation._instrumentStart)('render.outlet', instrumentationPayload, definition)\n };\n }\n layoutFor(_state, _component, _env) {\n throw new Error('Method not implemented.');\n }\n getLayout({ template }, _resolver) {\n // The router has already resolved the template\n const layout = template.asLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n }\n getCapabilities() {\n return CAPABILITIES;\n }\n getSelf({ self }) {\n return self;\n }\n getTag() {\n // an outlet has no hooks\n return _reference.CONSTANT_TAG;\n }\n didRenderLayout(state) {\n state.finalize();\n if (false /* DEBUG */) {\n this.debugStack.pop();\n }\n }\n getDestructor() {\n return null;\n }\n }\n const OUTLET_MANAGER = new OutletComponentManager();\n class OutletComponentDefinition {\n constructor(state, manager = OUTLET_MANAGER) {\n this.state = state;\n this.manager = manager;\n }\n }\n function createRootOutlet(outletView) {\n if (_environment2.ENV._APPLICATION_TEMPLATE_WRAPPER) {\n const WRAPPED_CAPABILITIES = (0, _polyfills.assign)({}, CAPABILITIES, {\n dynamicTag: true,\n elementHook: true\n });\n const WrappedOutletComponentManager = class extends OutletComponentManager {\n getTagName(_component) {\n return 'div';\n }\n getLayout(state) {\n // The router has already resolved the template\n const template = state.template;\n const layout = template.asWrappedLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n }\n getCapabilities() {\n return WRAPPED_CAPABILITIES;\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 const WRAPPED_OUTLET_MANAGER = new WrappedOutletComponentManager();\n return new OutletComponentDefinition(outletView.state, WRAPPED_OUTLET_MANAGER);\n } else {\n return new OutletComponentDefinition(outletView.state);\n }\n }\n\n // tslint:disable-next-line:no-empty\n function NOOP() {}\n /**\n @module ember\n */\n /**\n Represents the internal state of the component.\n \n @class ComponentStateBucket\n @private\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 : args.tag.value();\n }\n destroy() {\n let { component, environment } = this;\n if (environment.isInteractive) {\n component.trigger('willDestroyElement');\n component.trigger('willClearRender');\n }\n environment.destroyedComponents.push(component);\n }\n finalize() {\n let { finalizer } = this;\n finalizer();\n this.finalizer = NOOP;\n }\n }\n\n function referenceForKey(component, key) {\n return component[ROOT_REF].get(key);\n }\n function referenceForParts(component, parts) {\n let isAttrs = parts[0] === 'attrs';\n // TODO deprecate this\n if (isAttrs) {\n parts.shift();\n if (parts.length === 1) {\n return referenceForKey(component, parts[0]);\n }\n }\n return referenceFromParts(component[ROOT_REF], parts);\n }\n // TODO we should probably do this transform at build time\n function wrapComponentClassAttribute(hash) {\n if (hash === null) {\n return;\n }\n let [keys, values] = hash;\n let index = keys === null ? -1 : keys.indexOf('class');\n if (index !== -1) {\n let value = values[index];\n if (!Array.isArray(value)) {\n return;\n }\n let [type] = value;\n if (type === _wireFormat.Ops.Get || type === _wireFormat.Ops.MaybeLocal) {\n let path = value[value.length - 1];\n let propName = path[path.length - 1];\n values[index] = [_wireFormat.Ops.Helper, '-class', [value, propName], null];\n }\n }\n }\n const AttributeBinding = {\n parse(microsyntax) {\n let colonIndex = microsyntax.indexOf(':');\n if (colonIndex === -1) {\n false && !(microsyntax !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', microsyntax !== 'class');\n\n return [microsyntax, microsyntax, true];\n } else {\n let prop = microsyntax.substring(0, colonIndex);\n let attribute = microsyntax.substring(colonIndex + 1);\n false && !(attribute !== 'class') && (0, _debug.assert)('You cannot use class as an attributeBinding, use classNameBindings instead.', attribute !== 'class');\n\n return [prop, attribute, false];\n }\n },\n install(_element, component, parsed, operations) {\n let [prop, attribute, isSimple] = parsed;\n if (attribute === 'id') {\n let elementId = (0, _metal.get)(component, prop);\n if (elementId === undefined || elementId === null) {\n elementId = component.elementId;\n }\n elementId = _runtime.PrimitiveReference.create(elementId);\n operations.setAttribute('id', elementId, true, null);\n // operations.addStaticAttribute(element, 'id', elementId);\n return;\n }\n let isPath = prop.indexOf('.') > -1;\n let reference = isPath ? referenceForParts(component, prop.split('.')) : referenceForKey(component, prop);\n false && !!(isSimple && isPath) && (0, _debug.assert)(`Illegal attributeBinding: '${prop}' is not a valid attribute name.`, !(isSimple && isPath));\n\n if (attribute === 'style') {\n reference = new StyleBindingReference(reference, referenceForKey(component, 'isVisible'));\n }\n operations.setAttribute(attribute, reference, false, null);\n // operations.addDynamicAttribute(element, attribute, reference, false);\n }\n };\n const DISPLAY_NONE = 'display: none;';\n const SAFE_DISPLAY_NONE = htmlSafe(DISPLAY_NONE);\n class StyleBindingReference extends _reference.CachedReference {\n constructor(inner, isVisible) {\n super();\n this.inner = inner;\n this.isVisible = isVisible;\n this.tag = (0, _reference.combine)([inner.tag, isVisible.tag]);\n }\n compute() {\n let value = this.inner.value();\n let isVisible = this.isVisible.value();\n if (isVisible !== false) {\n return value;\n } else if (!value) {\n return SAFE_DISPLAY_NONE;\n } else {\n let style = value + ' ' + DISPLAY_NONE;\n return isHTMLSafe(value) ? htmlSafe(style) : style;\n }\n }\n }\n const IsVisibleBinding = {\n install(_element, component, operations) {\n operations.setAttribute('style', (0, _reference.map)(referenceForKey(component, 'isVisible'), this.mapStyleValue), false, null);\n // // the upstream type for addDynamicAttribute's `value` argument\n // // appears to be incorrect. It is currently a Reference<string>, I\n // // think it should be a Reference<string|null>.\n // operations.addDynamicAttribute(element, 'style', ref as any as Reference<string>, false);\n },\n mapStyleValue(isVisible) {\n return isVisible === false ? SAFE_DISPLAY_NONE : null;\n }\n };\n const ClassNameBinding = {\n install(_element, component, microsyntax, operations) {\n let [prop, truthy, falsy] = microsyntax.split(':');\n let isStatic = prop === '';\n if (isStatic) {\n operations.setAttribute('class', _runtime.PrimitiveReference.create(truthy), true, null);\n } else {\n let isPath = prop.indexOf('.') > -1;\n let parts = isPath ? prop.split('.') : [];\n let value = isPath ? referenceForParts(component, parts) : referenceForKey(component, prop);\n let ref;\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 operations.setAttribute('class', ref, false, null);\n // // the upstream type for addDynamicAttribute's `value` argument\n // // appears to be incorrect. It is currently a Reference<string>, I\n // // think it should be a Reference<string|null>.\n // operations.addDynamicAttribute(element, 'class', ref as any as Reference<string>, false);\n }\n }\n };\n class SimpleClassNameBindingReference extends _reference.CachedReference {\n constructor(inner, path) {\n super();\n this.inner = inner;\n this.path = path;\n this.tag = inner.tag;\n this.inner = inner;\n this.path = path;\n this.dasherizedPath = null;\n }\n compute() {\n let value = this.inner.value();\n if (value === true) {\n let { path, dasherizedPath } = 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 class ColonClassNameBindingReference extends _reference.CachedReference {\n constructor(inner, truthy = null, falsy = null) {\n super();\n this.inner = inner;\n this.truthy = truthy;\n this.falsy = falsy;\n this.tag = inner.tag;\n }\n compute() {\n let { inner, truthy, falsy } = this;\n return inner.value() ? truthy : falsy;\n }\n }\n\n // ComponentArgs takes EvaluatedNamedArgs and converts them into the\n // inputs needed by CurlyComponents (attrs and props, with mutable\n // cells, etc).\n function processComponentArgs(namedArgs) {\n let keys = namedArgs.names;\n let attrs = namedArgs.value();\n let props = Object.create(null);\n let args = Object.create(null);\n props[ARGS] = args;\n for (let i = 0; i < keys.length; i++) {\n let name = keys[i];\n let ref = namedArgs.get(name);\n let value = attrs[name];\n if (typeof value === 'function' && value[ACTION]) {\n attrs[name] = value;\n } else if (ref[UPDATE]) {\n attrs[name] = new MutableCell(ref, value);\n }\n args[name] = ref;\n props[name] = value;\n }\n props.attrs = attrs;\n return props;\n }\n const REF = (0, _utils.symbol)('REF');\n class MutableCell {\n constructor(ref, value) {\n this[_views.MUTABLE_CELL] = true;\n this[REF] = ref;\n this.value = value;\n }\n update(val) {\n this[REF][UPDATE](val);\n }\n }\n\n function aliasIdToElementId(args, props) {\n if (args.named.has('id')) {\n // tslint:disable-next-line:max-line-length\n false && !!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\n props.elementId = props.id;\n }\n }\n function isTemplateFactory(template) {\n return typeof template.create === 'function';\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 function applyAttributeBindings(element, attributeBindings, component, operations) {\n let seen = [];\n let i = attributeBindings.length - 1;\n while (i !== -1) {\n let binding = attributeBindings[i];\n let parsed = AttributeBinding.parse(binding);\n let attribute = parsed[1];\n if (seen.indexOf(attribute) === -1) {\n seen.push(attribute);\n AttributeBinding.install(element, component, parsed, operations);\n }\n i--;\n }\n if (seen.indexOf('id') === -1) {\n let id = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n operations.setAttribute('id', _runtime.PrimitiveReference.create(id), false, null);\n }\n if (seen.indexOf('style') === -1) {\n IsVisibleBinding.install(element, component, operations);\n }\n }\n const DEFAULT_LAYOUT = _container.privatize`template:components/-default`;\n class CurlyComponentManager extends AbstractManager {\n getLayout(state, _resolver) {\n return {\n // TODO fix\n handle: state.handle,\n symbolTable: state.symbolTable\n };\n }\n templateFor(component, resolver) {\n let layout = (0, _metal.get)(component, 'layout');\n if (layout !== undefined) {\n // This needs to be cached by template.id\n if (isTemplateFactory(layout)) {\n return resolver.createTemplate(layout, (0, _owner.getOwner)(component));\n } else {\n // we were provided an instance already\n return layout;\n }\n }\n let owner = (0, _owner.getOwner)(component);\n let layoutName = (0, _metal.get)(component, 'layoutName');\n if (layoutName) {\n let template = owner.lookup('template:' + layoutName);\n if (template) {\n return template;\n }\n }\n return owner.lookup(DEFAULT_LAYOUT);\n }\n getDynamicLayout({ component }, resolver) {\n const template = this.templateFor(component, resolver);\n const layout = template.asWrappedLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n }\n getTagName(state) {\n const { component, hasWrappedElement } = state;\n if (!hasWrappedElement) {\n return null;\n }\n return component && component.tagName || 'div';\n }\n getCapabilities(state) {\n return state.capabilities;\n }\n prepareArgs(state, args) {\n const { positionalParams } = state.ComponentClass.class;\n // early exits\n if (positionalParams === undefined || positionalParams === null || args.positional.length === 0) {\n return null;\n }\n let named;\n if (typeof positionalParams === 'string') {\n false && !!args.named.has(positionalParams) && (0, _debug.assert)(`You cannot specify positional parameters and the hash argument \\`${positionalParams}\\`.`, !args.named.has(positionalParams));\n\n named = { [positionalParams]: args.positional.capture() };\n (0, _polyfills.assign)(named, args.named.capture().map);\n } else if (Array.isArray(positionalParams) && positionalParams.length > 0) {\n const count = Math.min(positionalParams.length, args.positional.length);\n named = {};\n (0, _polyfills.assign)(named, args.named.capture().map);\n if (_deprecatedFeatures.POSITIONAL_PARAM_CONFLICT) {\n for (let i = 0; i < count; i++) {\n const name = positionalParams[i];\n false && !!args.named.has(name) && (0, _debug.deprecate)(`You cannot specify both a positional param (at position ${i}) and the hash argument \\`${name}\\`.`, !args.named.has(name), {\n id: 'ember-glimmer.positional-param-conflict',\n until: '3.5.0'\n });\n\n named[name] = args.positional.at(i);\n }\n }\n } else {\n return null;\n }\n return { positional: _util.EMPTY_ARRAY, named };\n }\n /*\n * This hook is responsible for actually instantiating the component instance.\n * It also is where we perform additional bookkeeping to support legacy\n * features like exposed by view mixins like ChildViewSupport, ActionSupport,\n * etc.\n */\n create(environment, state, args, dynamicScope, callerSelfRef, hasBlock) {\n if (false /* DEBUG */) {\n this._pushToDebugStack(`component:${state.name}`, environment);\n }\n // Get the nearest concrete component instance from the scope. \"Virtual\"\n // components will be skipped.\n let parentView = dynamicScope.view;\n // Get the Ember.Component subclass to instantiate for this component.\n let factory = state.ComponentClass;\n // Capture the arguments, which tells Glimmer to give us our own, stable\n // copy of the Arguments object that is safe to hold on to between renders.\n let capturedArgs = args.named.capture();\n let props = processComponentArgs(capturedArgs);\n // Alias `id` argument to `elementId` property on the component instance.\n aliasIdToElementId(args, props);\n // Set component instance's parentView property to point to nearest concrete\n // component.\n props.parentView = parentView;\n // Set whether this component was invoked with a block\n // (`{{#my-component}}{{/my-component}}`) or without one\n // (`{{my-component}}`).\n props[HAS_BLOCK] = hasBlock;\n // Save the current `this` context of the template as the component's\n // `_targetObject`, so bubbled actions are routed to the right place.\n props._targetObject = callerSelfRef.value();\n // static layout asserts CurriedDefinition\n if (state.template) {\n props.layout = state.template;\n }\n // Now that we've built up all of the properties to set on the component instance,\n // actually create it.\n let component = factory.create(props);\n let finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n // We become the new parentView for downstream components, so save our\n // component off on the dynamic scope.\n dynamicScope.view = component;\n // Unless we're the root component, we need to add ourselves to our parent\n // component's childViews array.\n if (parentView !== null && parentView !== undefined) {\n (0, _views.addChildView)(parentView, component);\n }\n component.trigger('didReceiveAttrs');\n let hasWrappedElement = component.tagName !== '';\n // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n if (!hasWrappedElement) {\n if (environment.isInteractive) {\n component.trigger('willRender');\n }\n component._transitionTo('hasElement');\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n }\n // Track additional lifecycle metadata about this component in a state bucket.\n // Essentially we're saving off all the state we'll need in the future.\n let bucket = new ComponentStateBucket(environment, component, capturedArgs, finalizer, hasWrappedElement);\n if (args.named.has('class')) {\n bucket.classRef = args.named.get('class');\n }\n if (false /* DEBUG */) {\n processComponentInitializationAssertions(component, props);\n }\n if (environment.isInteractive && hasWrappedElement) {\n component.trigger('willRender');\n }\n return bucket;\n }\n getSelf({ component }) {\n return component[ROOT_REF];\n }\n didCreateElement({ component, classRef, environment }, element, operations) {\n (0, _views.setViewElement)(component, element);\n let { attributeBindings, classNames, classNameBindings } = component;\n if (attributeBindings && attributeBindings.length) {\n applyAttributeBindings(element, attributeBindings, component, operations);\n } else {\n let id = component.elementId ? component.elementId : (0, _utils.guidFor)(component);\n operations.setAttribute('id', _runtime.PrimitiveReference.create(id), false, null);\n IsVisibleBinding.install(element, component, operations);\n }\n if (classRef) {\n const ref = new SimpleClassNameBindingReference(classRef, classRef['_propertyKey']);\n operations.setAttribute('class', ref, false, null);\n }\n if (classNames && classNames.length) {\n classNames.forEach(name => {\n operations.setAttribute('class', _runtime.PrimitiveReference.create(name), false, null);\n });\n }\n if (classNameBindings && classNameBindings.length) {\n classNameBindings.forEach(binding => {\n ClassNameBinding.install(element, component, binding, operations);\n });\n }\n operations.setAttribute('class', _runtime.PrimitiveReference.create('ember-view'), false, null);\n if ('ariaRole' in component) {\n operations.setAttribute('role', referenceForKey(component, 'ariaRole'), false, null);\n }\n component._transitionTo('hasElement');\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n }\n didRenderLayout(bucket, bounds) {\n bucket.component[BOUNDS] = bounds;\n bucket.finalize();\n if (false /* DEBUG */) {\n this.debugStack.pop();\n }\n }\n getTag({ args, component }) {\n return args ? (0, _reference.combine)([args.tag, component[DIRTY_TAG]]) : component[DIRTY_TAG];\n }\n didCreate({ component, environment }) {\n if (environment.isInteractive) {\n component._transitionTo('inDOM');\n component.trigger('didInsertElement');\n component.trigger('didRender');\n }\n }\n update(bucket) {\n let { component, args, argsRevision, environment } = bucket;\n if (false /* DEBUG */) {\n this._pushToDebugStack(component._debugContainerKey, environment);\n }\n bucket.finalizer = (0, _instrumentation._instrumentStart)('render.component', rerenderInstrumentDetails, component);\n if (args && !args.tag.validate(argsRevision)) {\n let props = processComponentArgs(args);\n bucket.argsRevision = args.tag.value();\n component[IS_DISPATCHING_ATTRS] = true;\n component.setProperties(props);\n component[IS_DISPATCHING_ATTRS] = false;\n component.trigger('didUpdateAttrs');\n component.trigger('didReceiveAttrs');\n }\n if (environment.isInteractive) {\n component.trigger('willUpdate');\n component.trigger('willRender');\n }\n }\n didUpdateLayout(bucket) {\n bucket.finalize();\n if (false /* DEBUG */) {\n this.debugStack.pop();\n }\n }\n didUpdate({ component, environment }) {\n if (environment.isInteractive) {\n component.trigger('didUpdate');\n component.trigger('didRender');\n }\n }\n getDestructor(stateBucket) {\n return stateBucket;\n }\n }\n function processComponentInitializationAssertions(component, props) {\n false && !(() => {\n let { classNameBindings } = component;\n for (let i = 0; i < classNameBindings.length; i++) {\n let binding = classNameBindings[i];\n if (typeof binding !== 'string' || binding.length === 0) {\n return false;\n }\n }\n return true;\n })() && (0, _debug.assert)(`classNameBindings must be non-empty strings: ${component}`, (() => {\n let { classNameBindings } = component;for (let i = 0; i < classNameBindings.length; i++) {\n let binding = classNameBindings[i];if (typeof binding !== 'string' || binding.length === 0) {\n return false;\n }\n }return true;\n })());\n false && !(() => {\n let { classNameBindings } = component;\n for (let i = 0; i < classNameBindings.length; i++) {\n let binding = classNameBindings[i];\n if (binding.split(' ').length > 1) {\n return false;\n }\n }\n return true;\n })() && (0, _debug.assert)(`classNameBindings must not have spaces in them: ${component}`, (() => {\n let { classNameBindings } = component;for (let i = 0; i < classNameBindings.length; i++) {\n let binding = classNameBindings[i];if (binding.split(' ').length > 1) {\n return false;\n }\n }return true;\n })());\n false && !(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 false && !(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 false && !(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 function initialRenderInstrumentDetails(component) {\n return component.instrumentDetails({ initialRender: true });\n }\n function rerenderInstrumentDetails(component) {\n return component.instrumentDetails({ initialRender: false });\n }\n const 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 };\n const CURLY_COMPONENT_MANAGER = new CurlyComponentManager();\n class CurlyComponentDefinition {\n // tslint:disable-next-line:no-shadowed-variable\n constructor(name, ComponentClass, handle, template, args) {\n this.name = name;\n this.ComponentClass = ComponentClass;\n this.handle = handle;\n this.manager = CURLY_COMPONENT_MANAGER;\n const layout = template && template.asLayout();\n const symbolTable = layout ? layout.symbolTable : undefined;\n this.symbolTable = symbolTable;\n this.template = template;\n this.args = args;\n this.state = {\n name,\n ComponentClass,\n handle,\n template,\n capabilities: CURLY_CAPABILITIES,\n symbolTable\n };\n }\n }\n\n class RootComponentManager extends CurlyComponentManager {\n constructor(component) {\n super();\n this.component = component;\n }\n getLayout(_state, resolver) {\n const template = this.templateFor(this.component, resolver);\n const layout = template.asWrappedLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n }\n create(environment, _state, _args, dynamicScope) {\n let component = this.component;\n if (false /* DEBUG */) {\n this._pushToDebugStack(component._debugContainerKey, environment);\n }\n let finalizer = (0, _instrumentation._instrumentStart)('render.component', initialRenderInstrumentDetails, component);\n dynamicScope.view = component;\n let hasWrappedElement = component.tagName !== '';\n // We usually do this in the `didCreateElement`, but that hook doesn't fire for tagless components\n if (!hasWrappedElement) {\n if (environment.isInteractive) {\n component.trigger('willRender');\n }\n component._transitionTo('hasElement');\n if (environment.isInteractive) {\n component.trigger('willInsertElement');\n }\n }\n if (false /* DEBUG */) {\n processComponentInitializationAssertions(component, {});\n }\n return new ComponentStateBucket(environment, component, null, finalizer, hasWrappedElement);\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 const 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: false\n };\n class RootComponentDefinition {\n constructor(component) {\n this.component = component;\n let manager = new RootComponentManager(component);\n this.manager = manager;\n let factory = _container.FACTORY_FOR.get(component);\n this.state = {\n name: factory.fullName.slice(10),\n capabilities: ROOT_CAPABILITIES,\n ComponentClass: factory,\n handle: null\n };\n }\n getTag({ component }) {\n return component[DIRTY_TAG];\n }\n }\n\n class DynamicScope {\n constructor(view, outletState) {\n this.view = view;\n this.outletState = outletState;\n }\n child() {\n return new DynamicScope(this.view, this.outletState);\n }\n get(key) {\n // tslint:disable-next-line:max-line-length\n false && !(key === 'outletState') && (0, _debug.assert)(`Using \\`-get-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`, key === 'outletState');\n\n return this.outletState;\n }\n set(key, value) {\n // tslint:disable-next-line:max-line-length\n false && !(key === 'outletState') && (0, _debug.assert)(`Using \\`-with-dynamic-scope\\` is only supported for \\`outletState\\` (you used \\`${key}\\`).`, key === 'outletState');\n\n this.outletState = value;\n return value;\n }\n }\n class RootState {\n constructor(root, env, template, self, parentElement, dynamicScope, builder) {\n false && !(template !== undefined) && (0, _debug.assert)(`You cannot render \\`${self.value()}\\` without a template.`, template !== undefined);\n\n this.id = (0, _views.getViewId)(root);\n this.env = env;\n this.root = root;\n this.result = undefined;\n this.shouldReflush = false;\n this.destroyed = false;\n let options = this.options = {\n alwaysRevalidate: false\n };\n this.render = () => {\n let layout = template.asLayout();\n let handle = layout.compile();\n let iterator = (0, _runtime.renderMain)(layout['compiler'].program, env, self, dynamicScope, builder(env, { element: parentElement, nextSibling: null }), handle);\n let iteratorResult;\n do {\n iteratorResult = iterator.next();\n } while (!iteratorResult.done);\n let result = this.result = iteratorResult.value;\n // override .render function after initial render\n this.render = () => result.rerender(options);\n };\n }\n isFor(possibleRoot) {\n return this.root === possibleRoot;\n }\n destroy() {\n let { result, env } = this;\n this.destroyed = true;\n this.env = undefined;\n this.root = null;\n this.result = undefined;\n this.render = undefined;\n if (result) {\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 let needsTransaction = !env.inTransaction;\n if (needsTransaction) {\n env.begin();\n }\n try {\n result.destroy();\n } finally {\n if (needsTransaction) {\n env.commit();\n }\n }\n }\n }\n }\n const renderers = [];\n function _resetRenderers() {\n renderers.length = 0;\n }\n (0, _metal.setHasViews)(() => renderers.length > 0);\n function register(renderer) {\n false && !(renderers.indexOf(renderer) === -1) && (0, _debug.assert)('Cannot register the same renderer twice', renderers.indexOf(renderer) === -1);\n\n renderers.push(renderer);\n }\n function deregister(renderer) {\n let index = renderers.indexOf(renderer);\n false && !(index !== -1) && (0, _debug.assert)('Cannot deregister unknown unregistered renderer', index !== -1);\n\n renderers.splice(index, 1);\n }\n function loopBegin() {\n for (let i = 0; i < renderers.length; i++) {\n renderers[i]._scheduleRevalidate();\n }\n }\n function K() {\n /* noop */\n }\n let 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 function renderSettled() {\n if (renderSettledDeferred === null) {\n renderSettledDeferred = _rsvp.default.defer();\n // if there is no current runloop, the promise created above will not have\n // a chance to resolve (because its resolved in backburner's \"end\" event)\n if (!(0, _runloop.getCurrentRunLoop)()) {\n // ensure a runloop has been kicked off\n _runloop.backburner.schedule('actions', null, K);\n }\n }\n return renderSettledDeferred.promise;\n }\n function resolveRenderPromise() {\n if (renderSettledDeferred !== null) {\n let resolve = renderSettledDeferred.resolve;\n renderSettledDeferred = null;\n _runloop.backburner.join(null, resolve);\n }\n }\n let loops = 0;\n function loopEnd() {\n for (let i = 0; i < renderers.length; i++) {\n if (!renderers[i]._isValid()) {\n if (loops > 10) {\n loops = 0;\n // TODO: do something better\n renderers[i].destroy();\n throw new Error('infinite rendering invalidation detected');\n }\n loops++;\n return _runloop.backburner.join(null, K);\n }\n }\n loops = 0;\n resolveRenderPromise();\n }\n _runloop.backburner.on('begin', loopBegin);\n _runloop.backburner.on('end', loopEnd);\n class Renderer {\n constructor(env, rootTemplate, _viewRegistry = _views.fallbackViewRegistry, destinedForDOM = false, builder = _runtime.clientBuilder) {\n this._env = env;\n this._rootTemplate = rootTemplate;\n this._viewRegistry = _viewRegistry;\n this._destinedForDOM = destinedForDOM;\n this._destroyed = false;\n this._roots = [];\n this._lastRevision = -1;\n this._isRenderingRoots = false;\n this._removedRoots = [];\n this._builder = builder;\n }\n // renderer HOOKS\n appendOutletView(view, target) {\n let definition = createRootOutlet(view);\n this._appendDefinition(view, (0, _runtime.curry)(definition), target);\n }\n appendTo(view, target) {\n let definition = new RootComponentDefinition(view);\n this._appendDefinition(view, (0, _runtime.curry)(definition), target);\n }\n _appendDefinition(root, definition, target) {\n let self = new UnboundReference(definition);\n let dynamicScope = new DynamicScope(null, _runtime.UNDEFINED_REFERENCE);\n let rootState = new RootState(root, this._env, this._rootTemplate, self, target, dynamicScope, this._builder);\n this._renderRoot(rootState);\n }\n rerender() {\n this._scheduleRevalidate();\n }\n register(view) {\n let id = (0, _views.getViewId)(view);\n false && !!this._viewRegistry[id] && (0, _debug.assert)('Attempted to register a view with an id already in use: ' + id, !this._viewRegistry[id]);\n\n this._viewRegistry[id] = view;\n }\n unregister(view) {\n delete this._viewRegistry[(0, _views.getViewId)(view)];\n }\n remove(view) {\n view._transitionTo('destroying');\n this.cleanupRootFor(view);\n (0, _views.setViewElement)(view, null);\n if (this._destinedForDOM) {\n view.trigger('didDestroyElement');\n }\n if (!view.isDestroying) {\n view.destroy();\n }\n }\n cleanupRootFor(view) {\n // no need to cleanup roots if we have already been destroyed\n if (this._destroyed) {\n return;\n }\n let roots = this._roots;\n // traverse in reverse so we can remove items\n // without mucking up the index\n let i = this._roots.length;\n while (i--) {\n let root = roots[i];\n if (root.isFor(view)) {\n root.destroy();\n roots.splice(i, 1);\n }\n }\n }\n destroy() {\n if (this._destroyed) {\n return;\n }\n this._destroyed = true;\n this._clearAllRoots();\n }\n getBounds(view) {\n let bounds = view[BOUNDS];\n let parentElement = bounds.parentElement();\n let firstNode = bounds.firstNode();\n let lastNode = bounds.lastNode();\n return { parentElement, firstNode, lastNode };\n }\n createElement(tagName) {\n return this._env.getAppendOperations().createElement(tagName);\n }\n _renderRoot(root) {\n let { _roots: roots } = this;\n roots.push(root);\n if (roots.length === 1) {\n register(this);\n }\n this._renderRootsTransaction();\n }\n _renderRoots() {\n let { _roots: roots, _env: env, _removedRoots: removedRoots } = this;\n let globalShouldReflush;\n let initialRootsLength;\n do {\n env.begin();\n try {\n // ensure that for the first iteration of the loop\n // each root is processed\n initialRootsLength = roots.length;\n globalShouldReflush = false;\n for (let i = 0; i < roots.length; i++) {\n let root = roots[i];\n if (root.destroyed) {\n // add to the list of roots to be removed\n // they will be removed from `this._roots` later\n removedRoots.push(root);\n // skip over roots that have been marked as destroyed\n continue;\n }\n let { shouldReflush } = root;\n // when processing non-initial reflush loops,\n // do not process more roots than needed\n if (i >= initialRootsLength && !shouldReflush) {\n continue;\n }\n root.options.alwaysRevalidate = shouldReflush;\n // track shouldReflush based on this roots render result\n shouldReflush = root.shouldReflush = (0, _metal.runInTransaction)(root, 'render');\n // globalShouldReflush should be `true` if *any* of\n // the roots need to reflush\n globalShouldReflush = globalShouldReflush || shouldReflush;\n }\n this._lastRevision = _reference.CURRENT_TAG.value();\n } finally {\n env.commit();\n }\n } while (globalShouldReflush || roots.length > initialRootsLength);\n // remove any roots that were destroyed during this transaction\n while (removedRoots.length) {\n let root = removedRoots.pop();\n let rootIndex = roots.indexOf(root);\n roots.splice(rootIndex, 1);\n }\n if (this._roots.length === 0) {\n deregister(this);\n }\n }\n _renderRootsTransaction() {\n if (this._isRenderingRoots) {\n // currently rendering roots, a new root was added and will\n // be processed by the existing _renderRoots invocation\n return;\n }\n // used to prevent calling _renderRoots again (see above)\n // while we are actively rendering roots\n this._isRenderingRoots = true;\n let completedWithoutError = false;\n try {\n this._renderRoots();\n completedWithoutError = true;\n } finally {\n if (!completedWithoutError) {\n this._lastRevision = _reference.CURRENT_TAG.value();\n if (this._env.inTransaction === true) {\n this._env.commit();\n }\n }\n this._isRenderingRoots = false;\n }\n }\n _clearAllRoots() {\n let roots = this._roots;\n for (let i = 0; i < roots.length; i++) {\n let root = roots[i];\n root.destroy();\n }\n this._removedRoots.length = 0;\n this._roots = [];\n // if roots were present before destroying\n // deregister this renderer instance\n if (roots.length) {\n deregister(this);\n }\n }\n _scheduleRevalidate() {\n _runloop.backburner.scheduleOnce('render', this, this._revalidate);\n }\n _isValid() {\n return this._destroyed || this._roots.length === 0 || _reference.CURRENT_TAG.validate(this._lastRevision);\n }\n _revalidate() {\n if (this._isValid()) {\n return;\n }\n this._renderRootsTransaction();\n }\n }\n class InertRenderer extends Renderer {\n static create({ env, rootTemplate, _viewRegistry, builder }) {\n return new this(env, rootTemplate, _viewRegistry, false, builder);\n }\n getElement(_view) {\n throw new Error('Accessing `this.element` is not allowed in non-interactive environments (such as FastBoot).');\n }\n }\n class InteractiveRenderer extends Renderer {\n static create({ env, rootTemplate, _viewRegistry, builder }) {\n return new this(env, rootTemplate, _viewRegistry, true, builder);\n }\n getElement(view) {\n return (0, _views.getViewElement)(view);\n }\n }\n\n let TEMPLATES = {};\n function setTemplates(templates) {\n TEMPLATES = templates;\n }\n function getTemplates() {\n return TEMPLATES;\n }\n function getTemplate(name) {\n if (TEMPLATES.hasOwnProperty(name)) {\n return TEMPLATES[name];\n }\n }\n function hasTemplate(name) {\n return TEMPLATES.hasOwnProperty(name);\n }\n function setTemplate(name, template) {\n return TEMPLATES[name] = template;\n }\n\n ///<reference path=\"./simple-dom.d.ts\" />\n\n /**\n @module ember\n */\n /**\n Calls [loc](/api/classes/Ember.String.html#method_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](/api/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 var loc$1 = helper(function (params) {\n return _string.loc.apply(null, params);\n });\n\n class CompileTimeLookup {\n constructor(resolver) {\n this.resolver = resolver;\n }\n getCapabilities(handle) {\n let definition = this.resolver.resolve(handle);\n let { manager, state } = definition;\n return manager.getCapabilities(state);\n }\n getLayout(handle) {\n const { manager, state } = this.resolver.resolve(handle);\n const capabilities = manager.getCapabilities(state);\n if (capabilities.dynamicLayout) {\n return null;\n }\n const invocation = manager.getLayout(state, this.resolver);\n return {\n // TODO: this seems weird, it already is compiled\n compile() {\n return invocation.handle;\n },\n symbolTable: invocation.symbolTable\n };\n }\n lookupHelper(name, referrer) {\n return this.resolver.lookupHelper(name, referrer);\n }\n lookupModifier(name, referrer) {\n return this.resolver.lookupModifier(name, referrer);\n }\n lookupComponentDefinition(name, referrer) {\n return this.resolver.lookupComponentHandle(name, referrer);\n }\n lookupPartial(name, referrer) {\n return this.resolver.lookupPartial(name, referrer);\n }\n }\n\n const 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 };\n function capabilities(managerAPI, options = {}) {\n false && !(managerAPI === '3.4') && (0, _debug.assert)('Invalid component manager compatibility specified', managerAPI === '3.4');\n\n return {\n asyncLifeCycleCallbacks: !!options.asyncLifecycleCallbacks,\n destructor: !!options.destructor\n };\n }\n function hasAsyncLifeCycleCallbacks(delegate) {\n return delegate.capabilities.asyncLifeCycleCallbacks;\n }\n function hasDestructors(delegate) {\n return delegate.capabilities.destructor;\n }\n function valueForCapturedArgs(args) {\n return {\n named: args.named.value(),\n positional: args.positional.value()\n };\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 class CustomComponentManager extends AbstractManager {\n create(_env, definition, args) {\n const { delegate } = definition;\n const capturedArgs = args.capture();\n let invocationArgs = valueForCapturedArgs(capturedArgs);\n const component = delegate.createComponent(definition.ComponentClass.class, invocationArgs);\n return new CustomComponentState(delegate, component, capturedArgs);\n }\n update({ delegate, component, args }) {\n delegate.updateComponent(component, valueForCapturedArgs(args));\n }\n didCreate({ delegate, component }) {\n if (hasAsyncLifeCycleCallbacks(delegate)) {\n delegate.didCreateComponent(component);\n }\n }\n didUpdate({ delegate, component }) {\n if (hasAsyncLifeCycleCallbacks(delegate)) {\n delegate.didUpdateComponent(component);\n }\n }\n getContext({ delegate, component }) {\n delegate.getContext(component);\n }\n getSelf({ delegate, component }) {\n const context = delegate.getContext(component);\n return new RootReference(context);\n }\n getDestructor(state) {\n if (hasDestructors(state.delegate)) {\n return state;\n } else {\n return null;\n }\n }\n getCapabilities() {\n return CAPABILITIES$1;\n }\n getTag({ args }) {\n return args.tag;\n }\n didRenderLayout() {}\n getLayout(state) {\n return {\n handle: state.template.asLayout().compile(),\n symbolTable: state.symbolTable\n };\n }\n }\n const CUSTOM_COMPONENT_MANAGER = new CustomComponentManager();\n /**\n * Stores internal state about a component instance after it's been created.\n */\n class CustomComponentState {\n constructor(delegate, component, args) {\n this.delegate = delegate;\n this.component = component;\n this.args = args;\n }\n destroy() {\n const { delegate, component } = this;\n if (hasDestructors(delegate)) {\n delegate.destroyComponent(component);\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 const layout = template.asLayout();\n const symbolTable = layout.symbolTable;\n this.symbolTable = symbolTable;\n this.state = {\n name,\n ComponentClass,\n template,\n symbolTable,\n delegate\n };\n }\n }\n\n const CAPABILITIES$2 = {\n dynamicLayout: false,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: false,\n attributeHook: false,\n elementHook: false,\n createCaller: true,\n dynamicScope: true,\n updateHook: true,\n createInstance: true\n };\n class TemplateOnlyComponentManager extends AbstractManager {\n getLayout(template) {\n const layout = template.asLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n }\n getCapabilities() {\n return CAPABILITIES$2;\n }\n create() {\n return null;\n }\n getSelf() {\n return _runtime.NULL_REFERENCE;\n }\n getTag() {\n return _reference.CONSTANT_TAG;\n }\n getDestructor() {\n return null;\n }\n }\n const MANAGER = new TemplateOnlyComponentManager();\n class TemplateOnlyComponentDefinition {\n constructor(state) {\n this.state = state;\n this.manager = MANAGER;\n }\n }\n\n class ComponentAssertionReference {\n constructor(component, message) {\n this.component = component;\n this.message = message;\n this.tag = component.tag;\n }\n value() {\n let value = this.component.value();\n if (typeof value === 'string') {\n throw new TypeError(this.message);\n }\n return value;\n }\n get(property) {\n return this.component.get(property);\n }\n }\n var componentAssertionHelper = (_vm, args) => {\n if (false /* DEBUG */) {\n return new ComponentAssertionReference(args.positional.at(0), args.positional.at(1).value());\n } else {\n return args.positional.at(0);\n }\n };\n\n function classHelper({ positional }) {\n let path = positional.at(0);\n let args = positional.length;\n let value = path.value();\n if (value === true) {\n if (args > 1) {\n return (0, _string.dasherize)(positional.at(1).value());\n }\n return null;\n }\n if (value === false) {\n if (args > 2) {\n return (0, _string.dasherize)(positional.at(2).value());\n }\n return null;\n }\n return value;\n }\n function classHelper$1(_vm, args) {\n return new InternalHelperReference(classHelper, args.capture());\n }\n\n function htmlSafe$1({ positional }) {\n let path = positional.at(0);\n return new SafeString(path.value());\n }\n function htmlSafeHelper(_vm, args) {\n return new InternalHelperReference(htmlSafe$1, args.capture());\n }\n\n function inputTypeHelper({ positional }) {\n let type = positional.at(0).value();\n if (type === 'checkbox') {\n return '-checkbox';\n }\n return '-text-field';\n }\n function inputTypeHelper$1(_vm, args) {\n return new InternalHelperReference(inputTypeHelper, args.capture());\n }\n\n function normalizeClass({ positional }) {\n let classNameParts = positional.at(0).value().split('.');\n let className = classNameParts[classNameParts.length - 1];\n let value = positional.at(1).value();\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 function normalizeClassHelper(_vm, args) {\n return new InternalHelperReference(normalizeClass, args.capture());\n }\n\n /**\n @module ember\n */\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 '@ember/component';\n \n export default Component.extend({\n actions: {\n save() {\n this.get('model').save();\n }\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](/api/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/my-component.js\n import Component from '@ember/component';\n \n export default Component.extend({\n actions: {\n // Usage {{input on-input=(action (action 'setName' model) value=\"target.value\")}}\n setName(model, name) {\n model.set('name', name);\n }\n }\n });\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 '@ember/component';\n \n export default Component.extend({\n actions: {\n setName(model, name) {\n model.set('name', name);\n }\n }\n });\n ```\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\"](/api/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\"](/api/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 Controller.extend({\n someService: service()\n });\n ```\n \n @method action\n @for Ember.Templates.helpers\n @public\n */\n function action(_vm, args) {\n let { named, positional } = args;\n let capturedArgs = positional.capture();\n // The first two argument slots are reserved.\n // pos[0] is the context (or `this`)\n // pos[1] is the action name or function\n // Anything else is an action argument.\n let [context, action, ...restArgs] = capturedArgs.references;\n // TODO: Is there a better way of doing this?\n let debugKey = action._propertyKey;\n let target = named.has('target') ? named.get('target') : context;\n let processArgs = makeArgsProcessor(named.has('value') && named.get('value'), restArgs);\n let fn;\n if (typeof action[INVOKE] === 'function') {\n fn = makeClosureAction(action, action, action[INVOKE], processArgs, debugKey);\n } else if ((0, _reference.isConst)(target) && (0, _reference.isConst)(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 fn[ACTION] = true;\n return new UnboundReference(fn);\n }\n function NOOP$1(args) {\n return args;\n }\n function makeArgsProcessor(valuePathRef, actionArgsRef) {\n let mergeArgs;\n if (actionArgsRef.length > 0) {\n mergeArgs = args => {\n return actionArgsRef.map(ref => ref.value()).concat(args);\n };\n }\n let readValue;\n if (valuePathRef) {\n readValue = args => {\n let valuePath = valuePathRef.value();\n if (valuePath && args.length > 0) {\n args[0] = (0, _metal.get)(args[0], valuePath);\n }\n return args;\n };\n }\n if (mergeArgs && readValue) {\n return args => {\n return readValue(mergeArgs(args));\n };\n } else {\n return mergeArgs || readValue || NOOP$1;\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 (false /* DEBUG */) {\n makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey);\n }\n return (...args) => {\n return makeClosureAction(context, targetRef.value(), actionRef.value(), processArgs, debugKey)(...args);\n };\n }\n function makeClosureAction(context, target, action, processArgs, debugKey) {\n let self;\n let fn;\n false && !(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 let typeofAction = typeof action;\n if (typeofAction === 'string') {\n self = target;\n fn = target.actions && target.actions[action];\n false && !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 false && !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 return (...args) => {\n let payload = { target: self, args, label: '@glimmer/closure-action' };\n return (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n return (0, _runloop.join)(self, fn, ...processArgs(args));\n });\n };\n }\n\n const isEmpty = value => {\n return value === null || value === undefined || typeof value.toString !== 'function';\n };\n const normalizeTextValue = value => {\n if (isEmpty(value)) {\n return '';\n }\n return String(value);\n };\n /**\n @module ember\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 @public\n @method concat\n @for Ember.Templates.helpers\n @since 1.13.0\n */\n function concat({ positional }) {\n return positional.value().map(normalizeTextValue).join('');\n }\n function concat$1(_vm, args) {\n return new InternalHelperReference(concat, args.capture());\n }\n\n /**\n @module ember\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 ```handlebars\n {{person.height}}\n {{get person \"height\"}}\n ```\n \n If there were several facts about a person, the `{{get}}` helper can dynamically\n pick one:\n \n ```handlebars\n {{get person 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 ```handlebars\n {{get person factName}}\n <button {{action (action (mut factName)) \"height\"}}>Show height</button>\n <button {{action (action (mut factName)) \"weight\"}}>Show weight</button>\n ```\n \n The `{{get}}` helper can also respect mutable values itself. For example:\n \n ```handlebars\n {{input value=(mut (get person factName)) type=\"text\"}}\n <button {{action (action (mut factName)) \"height\"}}>Show height</button>\n <button {{action (action (mut factName)) \"weight\"}}>Show weight</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 function get$1(_vm, args) {\n return GetHelperReference.create(args.positional.at(0), args.positional.at(1));\n }\n function referenceFromPath(source, path) {\n let innerReference;\n if (path === undefined || path === null || path === '') {\n innerReference = _runtime.NULL_REFERENCE;\n } else if (typeof path === 'string' && path.indexOf('.') > -1) {\n innerReference = referenceFromParts(source, path.split('.'));\n } else {\n innerReference = source.get(path);\n }\n return innerReference;\n }\n class GetHelperReference extends CachedReference$1 {\n static create(sourceReference, pathReference) {\n if ((0, _reference.isConst)(pathReference)) {\n let path = pathReference.value();\n return referenceFromPath(sourceReference, path);\n } else {\n return new GetHelperReference(sourceReference, pathReference);\n }\n }\n constructor(sourceReference, pathReference) {\n super();\n this.sourceReference = sourceReference;\n this.pathReference = pathReference;\n this.lastPath = null;\n this.innerReference = _runtime.NULL_REFERENCE;\n let innerTag = this.innerTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([sourceReference.tag, pathReference.tag, innerTag]);\n }\n compute() {\n let { lastPath, innerReference, innerTag } = this;\n let path = this.pathReference.value();\n if (path !== lastPath) {\n innerReference = referenceFromPath(this.sourceReference, path);\n innerTag.inner.update(innerReference.tag);\n this.innerReference = innerReference;\n this.lastPath = path;\n }\n return innerReference.value();\n }\n [UPDATE](value) {\n (0, _metal.set)(this.sourceReference.value(), this.pathReference.value(), value);\n }\n }\n\n /**\n @module ember\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 function hash(_vm, args) {\n return args.named.capture();\n }\n\n /**\n @module ember\n */\n class ConditionalHelperReference extends CachedReference$1 {\n static create(_condRef, truthyRef, falsyRef) {\n let condRef = ConditionalReference$1.create(_condRef);\n if ((0, _reference.isConst)(condRef)) {\n return condRef.value() ? truthyRef : falsyRef;\n } else {\n return new ConditionalHelperReference(condRef, truthyRef, falsyRef);\n }\n }\n constructor(cond, truthy, falsy) {\n super();\n this.branchTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([cond.tag, this.branchTag]);\n this.cond = cond;\n this.truthy = truthy;\n this.falsy = falsy;\n }\n compute() {\n let branch = this.cond.value() ? this.truthy : this.falsy;\n this.branchTag.inner.update(branch.tag);\n return branch.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 ```handlebars\n {{! will not render if foo is falsey}}\n {{#if foo}}\n Welcome to the {{foo.bar}}\n {{/if}}\n ```\n \n You can also specify a template to show if the property is falsey by using\n the `else` helper.\n \n ```handlebars\n {{! is it raining outside?}}\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 ```handlebars\n {{#if isMorning}}\n Good morning\n {{else if isAfternoon}}\n Good afternoon\n {{else}}\n Good night\n {{/if}}\n ```\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 ```handlebars\n {{if useLongGreeting \"Hello\" \"Hi\"}} Alex\n ```\n \n Will render:\n \n ```html\n Hello Alex\n ```\n \n ### Nested `if`\n \n You can use the `if` helper inside another helper as a nested helper:\n \n ```handlebars\n {{some-component height=(if isBig \"100\" \"10\")}}\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 function inlineIf(_vm, { positional }) {\n false && !(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\n return ConditionalHelperReference.create(positional.at(0), positional.at(1), positional.at(2));\n }\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 ```handlebars\n {{unless useLongGreeting \"Hi\" \"Hello\"}} Ben\n ```\n \n You can use the `unless` helper inside another helper as a subexpression.\n \n ```handlebars\n {{some-component height=(unless isBig \"10\" \"100\")}}\n ```\n \n @method unless\n @for Ember.Templates.helpers\n @public\n */\n function inlineUnless(_vm, { positional }) {\n false && !(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\n return ConditionalHelperReference.create(positional.at(0), positional.at(2), positional.at(1));\n }\n\n /**\n @module ember\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 function log({ positional }) {\n /* eslint-disable no-console */\n console.log(...positional.value());\n /* eslint-enable no-console */\n }\n function log$1(_vm, args) {\n return new InternalHelperReference(log, args.capture());\n }\n\n /**\n @module ember\n */\n /**\n The `mut` helper lets you __clearly specify__ that a child `Component` can update the\n (mutable) value passed to it, which will __change the value of the parent component__.\n \n To specify that a parameter is mutable, when invoking the child `Component`:\n \n ```handlebars\n {{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 `action` helper to\n mutate a value. For example:\n \n ```handlebars\n {{my-child childClickCount=totalClicks click-count-change=(action (mut totalClicks))}}\n ```\n \n The child `Component` would invoke the action 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 action argument.\n \n The `mut` helper, when used with `action`, will return a function that\n sets the value passed to `mut` to its first argument. This works like any other\n closure action and interacts with the other features `action` provides.\n As an example, we can create a button that increments a value passing the value\n directly to the `action`:\n \n ```handlebars\n {{! inc helper is not provided by Ember }}\n <button onclick={{action (mut count) (inc count)}}>\n Increment count\n </button>\n ```\n \n You can also use the `value` option:\n \n ```handlebars\n <input value={{name}} oninput={{action (mut name) value=\"target.value\"}}>\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 const MUT_REFERENCE = (0, _utils.symbol)('MUT');\n const SOURCE = (0, _utils.symbol)('SOURCE');\n function isMut(ref) {\n return ref && ref[MUT_REFERENCE];\n }\n function unMut(ref) {\n return ref[SOURCE] || ref;\n }\n function mut(_vm, args) {\n let rawRef = args.positional.at(0);\n if (isMut(rawRef)) {\n return rawRef;\n }\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 false && !rawRef[UPDATE] && (0, _debug.assert)('You can only pass a path to mut', rawRef[UPDATE]);\n\n let wrappedRef = Object.create(rawRef);\n wrappedRef[SOURCE] = rawRef;\n wrappedRef[INVOKE] = rawRef[UPDATE];\n wrappedRef[MUT_REFERENCE] = true;\n return wrappedRef;\n }\n\n /**\n @module ember\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\n \n ```handlebars\n {{#link-to 'posts' (query-params direction=\"asc\")}}Sort{{/link-to}}\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 function queryParams({ positional, named }) {\n // tslint:disable-next-line:max-line-length\n false && !(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\n return new _routing.QueryParams((0, _polyfills.assign)({}, named.value()));\n }\n function queryParams$1(_vm, args) {\n return new InternalHelperReference(queryParams, args.capture());\n }\n\n /**\n The `readonly` helper let's you specify that a binding is one-way only,\n instead of two-way.\n When you pass a `readonly` binding from an outer context (e.g. parent component),\n to to an inner context (e.g. child component), you are saying that changing that\n property in the inner context does not change the value in the outer context.\n \n To specify that a binding is read-only, when invoking the child `Component`:\n \n ```app/components/my-parent.js\n export default Component.extend({\n totalClicks: 3\n });\n ```\n \n ```app/templates/components/my-parent.hbs\n {{log totalClicks}} // -> 3\n {{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 {{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 {{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 {{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 function readonly(_vm, args) {\n let ref = unMut(args.positional.at(0));\n return new ReadonlyReference(ref);\n }\n\n /**\n @module ember\n */\n /**\n The `{{unbound}}` helper disconnects the one-way binding of a property,\n essentially freezing its value at the moment of rendering. For example,\n in this example the display of the variable `name` will not change even\n if it is set with a new value:\n \n ```handlebars\n {{unbound 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 name)}}\n {{! You can use any helper, including unbound, in a nested expression }}\n {{capitalize (unbound 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 function unbound(_vm, args) {\n false && !(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\n return UnboundReference.create(args.positional.at(0).value());\n }\n\n const MODIFIERS = ['alt', 'shift', 'meta', 'ctrl'];\n const POINTER_EVENT_TYPE_REGEX = /^click|mouse|touch/;\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 if (allowedKeys.indexOf('any') >= 0) {\n return true;\n }\n for (let i = 0; i < MODIFIERS.length; i++) {\n if (event[MODIFIERS[i] + 'Key'] && allowedKeys.indexOf(MODIFIERS[i]) === -1) {\n return false;\n }\n }\n return true;\n }\n let ActionHelper = {\n // registeredActions is re-exported for compatibility with older plugins\n // that were using this undocumented API.\n registeredActions: _views.ActionManager.registeredActions,\n registerAction(actionState) {\n let { actionId } = actionState;\n _views.ActionManager.registeredActions[actionId] = actionState;\n return actionId;\n },\n unregisterAction(actionState) {\n let { actionId } = actionState;\n delete _views.ActionManager.registeredActions[actionId];\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 }\n getEventName() {\n return this.namedArgs.get('on').value() || 'click';\n }\n getActionArgs() {\n let result = new Array(this.actionArgs.length);\n for (let i = 0; i < this.actionArgs.length; i++) {\n result[i] = this.actionArgs[i].value();\n }\n return result;\n }\n getTarget() {\n let { implicitTarget, namedArgs } = this;\n let target;\n if (namedArgs.has('target')) {\n target = namedArgs.get('target').value();\n } else {\n target = implicitTarget.value();\n }\n return target;\n }\n handler(event) {\n let { actionName, namedArgs } = this;\n let bubbles = namedArgs.get('bubbles');\n let preventDefault = namedArgs.get('preventDefault');\n let allowedKeys = namedArgs.get('allowedKeys');\n let target = this.getTarget();\n let shouldBubble = bubbles.value() !== false;\n if (!isAllowedEvent(event, allowedKeys.value())) {\n return true;\n }\n if (preventDefault.value() !== false) {\n event.preventDefault();\n }\n if (!shouldBubble) {\n event.stopPropagation();\n }\n (0, _runloop.join)(() => {\n let args = this.getActionArgs();\n let payload = {\n args,\n target,\n name: null\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 if (typeof actionName === 'function') {\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n actionName.apply(target, args);\n });\n return;\n }\n payload.name = actionName;\n if (target.send) {\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n target.send.apply(target, [actionName, ...args]);\n });\n } else {\n false && !(typeof target[actionName] === 'function') && (0, _debug.assert)(`The action '${actionName}' did not exist on ${target}`, typeof target[actionName] === 'function');\n\n (0, _instrumentation.flaggedInstrument)('interaction.ember-action', payload, () => {\n target[actionName].apply(target, args);\n });\n }\n });\n return shouldBubble;\n }\n destroy() {\n ActionHelper.unregisterAction(this);\n }\n }\n // implements ModifierManager<Action>\n class ActionModifierManager {\n create(element, _state, args, _dynamicScope, dom) {\n let { named, positional, tag } = args.capture();\n let implicitTarget;\n let actionName;\n let actionNameRef;\n if (positional.length > 1) {\n implicitTarget = positional.at(0);\n actionNameRef = positional.at(1);\n if (actionNameRef[INVOKE]) {\n actionName = actionNameRef;\n } else {\n let actionLabel = actionNameRef._propertyKey;\n actionName = actionNameRef.value();\n false && !(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 let actionArgs = [];\n // The first two arguments are (1) `this` and (2) the action name.\n // Everything else is a param.\n for (let i = 2; i < positional.length; i++) {\n actionArgs.push(positional.at(i));\n }\n let actionId = (0, _utils.uuid)();\n return new ActionState(element, actionId, actionName, actionArgs, named, positional, implicitTarget, dom, tag);\n }\n install(actionState) {\n let { dom, element, actionId } = actionState;\n ActionHelper.registerAction(actionState);\n dom.setAttribute(element, 'data-ember-action', '');\n dom.setAttribute(element, `data-ember-action-${actionId}`, actionId);\n }\n update(actionState) {\n let { positional } = actionState;\n let actionNameRef = positional.at(1);\n if (!actionNameRef[INVOKE]) {\n actionState.actionName = actionNameRef.value();\n }\n actionState.eventName = actionState.getEventName();\n }\n getTag(actionState) {\n return actionState.tag;\n }\n getDestructor(modifier) {\n return modifier;\n }\n }\n\n function hashToArgs(hash) {\n if (hash === null) return null;\n let names = hash[0].map(key => `@${key}`);\n return [names, hash[1]];\n }\n\n function textAreaMacro(_name, params, hash, builder) {\n let definition = builder.compiler['resolver'].lookupComponentDefinition('-text-area', builder.referrer);\n wrapComponentClassAttribute(hash);\n builder.component.static(definition, [params || [], hashToArgs(hash), null, null]);\n return true;\n }\n\n function buildSyntax(type, params, hash, builder) {\n let definition = builder.compiler['resolver'].lookupComponentDefinition(type, builder.referrer);\n builder.component.static(definition, [params, hashToArgs(hash), null, null]);\n return true;\n }\n /**\n The `{{input}}` helper lets you create an HTML `<input />` component.\n It causes an `TextField` component to be rendered. For more info,\n see the [TextField](/api/ember/release/classes/TextField) docs and\n the [templates guide](https://guides.emberjs.com/release/templates/input-helpers/).\n \n ```handlebars\n {{input value=\"987\"}}\n ```\n \n renders as:\n \n ```HTML\n <input type=\"text\" value=\"987\" />\n ```\n \n ### Text field\n \n If no `type` option is specified, a default of type 'text' is used.\n Many of the standard HTML attributes may be passed to this helper.\n <table>\n <tr><td>`readonly`</td><td>`required`</td><td>`autofocus`</td></tr>\n <tr><td>`value`</td><td>`placeholder`</td><td>`disabled`</td></tr>\n <tr><td>`size`</td><td>`tabindex`</td><td>`maxlength`</td></tr>\n <tr><td>`name`</td><td>`min`</td><td>`max`</td></tr>\n <tr><td>`pattern`</td><td>`accept`</td><td>`autocomplete`</td></tr>\n <tr><td>`autosave`</td><td>`formaction`</td><td>`formenctype`</td></tr>\n <tr><td>`formmethod`</td><td>`formnovalidate`</td><td>`formtarget`</td></tr>\n <tr><td>`height`</td><td>`inputmode`</td><td>`multiple`</td></tr>\n <tr><td>`step`</td><td>`width`</td><td>`form`</td></tr>\n <tr><td>`selectionDirection`</td><td>`spellcheck`</td><td>&nbsp;</td></tr>\n </table>\n When set to a quoted string, these values will be directly applied to the HTML\n element. When left unquoted, these values will be bound to a property on the\n template's current rendering context (most typically a controller instance).\n A very common use of this helper is to bind the `value` of an input to an Object's attribute:\n \n ```handlebars\n Search:\n {{input value=searchWord}}\n ```\n \n In this example, the initial value in the `<input />` will be set to the value of `searchWord`.\n If the user changes the text, the value of `searchWord` will also be updated.\n \n ### Actions\n \n The helper can send multiple actions based on user events.\n The action property defines the action which is sent when\n the user presses the return key.\n \n ```handlebars\n {{input action=\"submit\"}}\n ```\n \n The helper allows some user events to send actions.\n \n * `enter`\n * `insert-newline`\n * `escape-press`\n * `focus-in`\n * `focus-out`\n * `key-press`\n * `key-up`\n \n For example, if you desire an action to be sent when the input is blurred,\n you only need to setup the action name to the event name property.\n \n ```handlebars\n {{input focus-out=\"alertMessage\"}}\n ```\n See more about [Text Support Actions](/api/ember/release/classes/TextField)\n \n ### Extending `TextField`\n \n Internally, `{{input type=\"text\"}}` creates an instance of `TextField`, passing\n arguments from the helper to `TextField`'s `create` method. You can extend the\n capabilities of text inputs in your applications by reopening this class. For example,\n if you are building a Bootstrap project where `data-*` attributes are used, you\n can add one to the `TextField`'s `attributeBindings` property:\n \n ```javascript\n import TextField from '@ember/component/text-field';\n TextField.reopen({\n attributeBindings: ['data-error']\n });\n ```\n \n Keep in mind when writing `TextField` subclasses that `TextField`\n itself extends `Component`. Expect isolated component semantics, not\n legacy 1.x view semantics (like `controller` being present).\n See more about [Ember components](/api/ember/release/classes/Component)\n \n ### Checkbox\n \n Checkboxes are special forms of the `{{input}}` helper. To create a `<checkbox />`:\n \n ```handlebars\n Emberize Everything:\n {{input type=\"checkbox\" name=\"isEmberized\" checked=isEmberized}}\n ```\n \n This will bind checked state of this checkbox to the value of `isEmberized` -- if either one changes,\n it will be reflected in the other.\n \n The following HTML attributes can be set via the helper:\n \n * `checked`\n * `disabled`\n * `tabindex`\n * `indeterminate`\n * `name`\n * `autofocus`\n * `form`\n \n ### Extending `Checkbox`\n \n Internally, `{{input type=\"checkbox\"}}` creates an instance of `Checkbox`, passing\n arguments from the helper to `Checkbox`'s `create` method. You can extend the\n capablilties of checkbox inputs in your applications by reopening this class. For example,\n if you wanted to add a css class to all checkboxes in your application:\n \n ```javascript\n import Checkbox from '@ember/component/checkbox';\n \n Checkbox.reopen({\n classNames: ['my-app-checkbox']\n });\n ```\n \n @method input\n @for Ember.Templates.helpers\n @param {Hash} options\n @public\n */\n function inputMacro(_name, params, hash, builder) {\n if (params === null) {\n params = [];\n }\n if (hash !== null) {\n let keys = hash[0];\n let values = hash[1];\n let typeIndex = keys.indexOf('type');\n if (typeIndex > -1) {\n let typeArg = values[typeIndex];\n if (Array.isArray(typeArg)) {\n // there is an AST plugin that converts this to an expression\n // it really should just compile in the component call too.\n let inputTypeExpr = params[0];\n builder.dynamicComponent(inputTypeExpr, null, params.slice(1), hash, true, null, null);\n return true;\n }\n if (typeArg === 'checkbox') {\n false && !(keys.indexOf('value') === -1) && (0, _debug.assert)(\"{{input type='checkbox'}} does not support setting `value=someBooleanValue`; \" + 'you must use `checked=someBooleanValue` instead.', keys.indexOf('value') === -1);\n\n wrapComponentClassAttribute(hash);\n return buildSyntax('-checkbox', params, hash, builder);\n }\n }\n }\n return buildSyntax('-text-field', params, hash, builder);\n }\n\n /**\n @module ember\n */\n /**\n The `let` helper receives one or more positional arguments and yields\n them out as block params.\n \n This allows the developer to introduce shorter names for certain computations\n in the template.\n \n This is especially useful if you are passing properties to a component\n that receives a lot of options and you want to clean up the invocation.\n \n For the following example, the template receives a `post` object with\n `content` and `title` properties.\n \n We are going to call the `my-post` component, passing a title which is\n the title of the post suffixed with the name of the blog, the content\n of the post, and a series of options defined in-place.\n \n ```handlebars\n {{#let\n (concat post.title ' | The Ember.js Blog')\n post.content\n (hash\n theme=\"high-contrast\"\n enableComments=true\n )\n as |title content options|\n }}\n {{my-post title=title content=content options=options}}\n {{/let}}\n ```\n \n @method let\n @for Ember.Templates.helpers\n @public\n */\n function blockLetMacro(params, _hash, template, _inverse, builder) {\n if (template !== null) {\n if (params !== null) {\n builder.compileParams(params);\n builder.invokeStaticBlock(template, params.length);\n } else {\n builder.invokeStatic(template);\n }\n }\n return true;\n }\n\n const CAPABILITIES$3 = {\n dynamicLayout: true,\n dynamicTag: false,\n prepareArgs: false,\n createArgs: false,\n attributeHook: false,\n elementHook: false,\n createCaller: true,\n dynamicScope: true,\n updateHook: true,\n createInstance: true\n };\n class MountManager extends AbstractManager {\n getDynamicLayout(state, _) {\n let template = state.engine.lookup('template:application');\n let layout = template.asLayout();\n return {\n handle: layout.compile(),\n symbolTable: layout.symbolTable\n };\n }\n getCapabilities() {\n return CAPABILITIES$3;\n }\n create(environment, state) {\n if (false /* DEBUG */) {\n this._pushEngineToDebugStack(`engine:${state.name}`, environment);\n }\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 let engine = environment.owner.buildChildEngineInstance(state.name);\n engine.boot();\n let applicationFactory = engine.factoryFor(`controller:application`);\n let controllerFactory = applicationFactory || (0, _routing.generateControllerFactory)(engine, 'application');\n let controller;\n let self;\n let bucket;\n let tag;\n if (true /* EMBER_ENGINES_MOUNT_PARAMS */) {\n let modelRef = state.modelRef;\n if (modelRef === undefined) {\n controller = controllerFactory.create();\n self = new RootReference(controller);\n tag = _reference.CONSTANT_TAG;\n bucket = { engine, controller, self, tag };\n } else {\n let model = modelRef.value();\n let modelRev = modelRef.tag.value();\n controller = controllerFactory.create({ model });\n self = new RootReference(controller);\n tag = modelRef.tag;\n bucket = { engine, controller, self, tag, modelRef, modelRev };\n }\n } else {\n controller = controllerFactory.create();\n self = new RootReference(controller);\n tag = _reference.CONSTANT_TAG;\n bucket = { engine, controller, self, tag };\n }\n return bucket;\n }\n getSelf({ self }) {\n return self;\n }\n getTag(state) {\n return state.tag;\n }\n getDestructor({ engine }) {\n return engine;\n }\n didRenderLayout() {\n if (false /* DEBUG */) {\n this.debugStack.pop();\n }\n }\n update(bucket) {\n if (true /* EMBER_ENGINES_MOUNT_PARAMS */) {\n let { controller, modelRef, modelRev } = bucket;\n if (!modelRef.tag.validate(modelRev)) {\n let model = modelRef.value();\n bucket.modelRev = modelRef.tag.value();\n controller.set('model', model);\n }\n }\n }\n }\n const MOUNT_MANAGER = new MountManager();\n class MountDefinition {\n constructor(name, modelRef) {\n this.manager = MOUNT_MANAGER;\n this.state = { name, modelRef };\n }\n }\n\n function mountHelper(vm, args) {\n let env = vm.env;\n let nameRef = args.positional.at(0);\n let modelRef = args.named.has('model') ? args.named.get('model') : undefined;\n return new DynamicEngineReference(nameRef, env, modelRef);\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 @category ember-application-engines\n @public\n */\n function mountMacro(_name, params, hash, builder) {\n if (true /* EMBER_ENGINES_MOUNT_PARAMS */) {\n false && !(params.length === 1) && (0, _debug.assert)('You can only pass a single positional argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', params.length === 1);\n } else {\n false && !(params.length === 1 && hash === null) && (0, _debug.assert)('You can only pass a single argument to the {{mount}} helper, e.g. {{mount \"chat-engine\"}}.', params.length === 1 && hash === null);\n }\n let expr = [_wireFormat.Ops.Helper, '-mount', params || [], hash];\n builder.dynamicComponent(expr, null, [], null, false, null, null);\n return true;\n }\n class DynamicEngineReference {\n constructor(nameRef, env, modelRef) {\n this.tag = nameRef.tag;\n this.nameRef = nameRef;\n this.modelRef = modelRef;\n this.env = env;\n this._lastName = null;\n this._lastDef = null;\n }\n value() {\n let { env, nameRef, modelRef } = this;\n let name = nameRef.value();\n if (typeof name === 'string') {\n if (this._lastName === name) {\n return this._lastDef;\n }\n false && !env.owner.hasRegistration(`engine:${name}`) && (0, _debug.assert)(`You used \\`{{mount '${name}'}}\\`, but the engine '${name}' can not be found.`, env.owner.hasRegistration(`engine:${name}`));\n\n if (!env.owner.hasRegistration(`engine:${name}`)) {\n return null;\n }\n this._lastName = name;\n this._lastDef = (0, _runtime.curry)(new MountDefinition(name, modelRef));\n return this._lastDef;\n } else {\n false && !(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\n this._lastDef = null;\n this._lastName = null;\n return null;\n }\n }\n get() {\n return _runtime.UNDEFINED_REFERENCE;\n }\n }\n\n /**\n * Represents the root outlet.\n */\n class RootOutletReference {\n constructor(outletState) {\n this.outletState = outletState;\n this.tag = _reference.DirtyableTag.create();\n }\n get(key) {\n return new PathReference(this, key);\n }\n value() {\n return this.outletState;\n }\n update(state) {\n this.outletState.outlets.main = state;\n this.tag.inner.dirty();\n }\n }\n /**\n * Represents the connected outlet.\n */\n class OutletReference {\n constructor(parentStateRef, outletNameRef) {\n this.parentStateRef = parentStateRef;\n this.outletNameRef = outletNameRef;\n this.tag = (0, _reference.combine)([parentStateRef.tag, outletNameRef.tag]);\n }\n value() {\n let outletState = this.parentStateRef.value();\n let outlets = outletState === undefined ? undefined : outletState.outlets;\n return outlets === undefined ? undefined : outlets[this.outletNameRef.value()];\n }\n get(key) {\n return new PathReference(this, key);\n }\n }\n /**\n * Outlet state is dirtied from root.\n * This just using the parent tag for dirtiness.\n */\n class PathReference {\n constructor(parent, key) {\n this.parent = parent;\n this.key = key;\n this.tag = parent.tag;\n }\n get(key) {\n return new PathReference(this, key);\n }\n value() {\n let 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 ```handlebars\n {{! app/templates/application.hbs }}\n <!-- header content goes here, and will always display -->\n {{my-header}}\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 <!-- footer content goes here, and will always display -->\n {{my-footer}}\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 ```handlebars\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 Route.extend({\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 function outletHelper(vm, args) {\n let scope = vm.dynamicScope();\n let nameRef;\n if (args.positional.length === 0) {\n nameRef = new _reference.ConstReference('main');\n } else {\n nameRef = args.positional.at(0);\n }\n return new OutletComponentReference(new OutletReference(scope.outletState, nameRef));\n }\n function outletMacro(_name, params, hash, builder) {\n let expr = [_wireFormat.Ops.Helper, '-outlet', params || [], hash];\n builder.dynamicComponent(expr, null, [], null, false, null, null);\n return true;\n }\n class OutletComponentReference {\n constructor(outletRef) {\n this.outletRef = outletRef;\n this.definition = null;\n this.lastState = null;\n // The router always dirties the root state.\n this.tag = outletRef.tag;\n }\n value() {\n let state = stateFor(this.outletRef);\n if (validate(state, this.lastState)) {\n return this.definition;\n }\n this.lastState = state;\n let definition = null;\n if (state !== null) {\n definition = (0, _runtime.curry)(new OutletComponentDefinition(state));\n }\n return this.definition = definition;\n }\n get(_key) {\n return _runtime.UNDEFINED_REFERENCE;\n }\n }\n function stateFor(ref) {\n let outlet = ref.value();\n if (outlet === undefined) return null;\n let render = outlet.render;\n if (render === undefined) return null;\n let template = render.template;\n if (template === undefined) return null;\n return {\n ref,\n name: render.name,\n outlet: render.outlet,\n template,\n controller: render.controller\n };\n }\n function validate(state, lastState) {\n if (state === null) {\n return lastState === null;\n }\n if (lastState === null) {\n return false;\n }\n return state.template === lastState.template && state.controller === lastState.controller;\n }\n\n function refineInlineSyntax(name, params, hash, builder) {\n false && !!(builder.compiler['resolver']['resolver']['builtInHelpers'][name] && builder.referrer.owner.hasRegistration(`helper:${name}`)) && (0, _debug.assert)(`You attempted to overwrite the built-in helper \"${name}\" which is not allowed. Please rename the helper.`, !(builder.compiler['resolver']['resolver']['builtInHelpers'][name] && builder.referrer.owner.hasRegistration(`helper:${name}`)));\n\n if (name.indexOf('-') === -1) {\n return false;\n }\n let handle = builder.compiler['resolver'].lookupComponentDefinition(name, builder.referrer);\n if (handle !== null) {\n builder.component.static(handle, [params === null ? [] : params, hashToArgs(hash), null, null]);\n return true;\n }\n return false;\n }\n function refineBlockSyntax(name, params, hash, template, inverse, builder) {\n if (name.indexOf('-') === -1) {\n return false;\n }\n let handle = builder.compiler['resolver'].lookupComponentDefinition(name, builder.referrer);\n if (handle !== null) {\n wrapComponentClassAttribute(hash);\n builder.component.static(handle, [params, hashToArgs(hash), template, inverse]);\n return true;\n }\n false && !builder.referrer.owner.hasRegistration(`helper:${name}`) && (0, _debug.assert)(`A component or helper named \"${name}\" could not be found`, builder.referrer.owner.hasRegistration(`helper:${name}`));\n false && !!(() => {\n const resolver = builder.compiler['resolver']['resolver'];\n const { owner, moduleName } = builder.referrer;\n if (name === 'component' || resolver['builtInHelpers'][name]) {\n return true;\n }\n let options = { source: `template:${moduleName}` };\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 const resolver = builder.compiler['resolver']['resolver'];const { owner, moduleName } = builder.referrer;if (name === 'component' || resolver['builtInHelpers'][name]) {\n return true;\n }let options = { source: `template:${moduleName}` };return owner.hasRegistration(`helper:${name}`, options) || owner.hasRegistration(`helper:${name}`);\n })());\n\n return false;\n }\n const experimentalMacros = [];\n // 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 function registerMacros(macro) {\n experimentalMacros.push(macro);\n }\n function populateMacros(macros) {\n let { inlines, blocks } = macros;\n inlines.add('outlet', outletMacro);\n inlines.add('mount', mountMacro);\n inlines.add('input', inputMacro);\n inlines.add('textarea', textAreaMacro);\n inlines.addMissing(refineInlineSyntax);\n if (true /* EMBER_TEMPLATE_BLOCK_LET_HELPER */ === true) {\n blocks.add('let', blockLetMacro);\n }\n blocks.addMissing(refineBlockSyntax);\n for (let i = 0; i < experimentalMacros.length; i++) {\n let macro = experimentalMacros[i];\n macro(blocks, inlines);\n }\n return { blocks, inlines };\n }\n\n const getPrototypeOf = Object.getPrototypeOf;\n const MANAGERS = new WeakMap();\n function setComponentManager(managerId, obj) {\n MANAGERS.set(obj, managerId);\n return obj;\n }\n function getComponentManager(obj) {\n if (!true /* GLIMMER_CUSTOM_COMPONENT_MANAGER */) {\n return;\n }\n let pointer = obj;\n while (pointer !== undefined && pointer !== null) {\n if (MANAGERS.has(pointer)) {\n return MANAGERS.get(pointer);\n }\n pointer = getPrototypeOf(pointer);\n }\n return;\n }\n\n function instrumentationPayload$1(name) {\n return { object: `component:${name}` };\n }\n function makeOptions(moduleName, namespace) {\n return {\n source: moduleName !== undefined ? `template:${moduleName}` : undefined,\n namespace\n };\n }\n const BUILTINS_HELPERS = {\n if: inlineIf,\n action,\n concat: concat$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 '-class': classHelper$1,\n '-each-in': eachIn,\n '-input-type': inputTypeHelper$1,\n '-normalize-class': normalizeClassHelper,\n '-html-safe': htmlSafeHelper,\n '-get-dynamic-var': _runtime.getDynamicVar,\n '-mount': mountHelper,\n '-outlet': outletHelper,\n '-assert-implicit-component-helper-argument': componentAssertionHelper\n };\n const BUILTIN_MODIFIERS = {\n action: { manager: new ActionModifierManager(), state: null }\n };\n class RuntimeResolver {\n constructor() {\n this.handles = [undefined];\n this.objToHandle = new WeakMap();\n this.builtInHelpers = BUILTINS_HELPERS;\n this.builtInModifiers = BUILTIN_MODIFIERS;\n // supports directly imported late bound layouts on component.prototype.layout\n this.templateCache = new Map();\n this.componentDefinitionCache = new Map();\n this.customManagerCache = new Map();\n this.templateCacheHits = 0;\n this.templateCacheMisses = 0;\n this.componentDefinitionCount = 0;\n this.helperDefinitionCount = 0;\n let macros = new _opcodeCompiler.Macros();\n populateMacros(macros);\n this.compiler = new _opcodeCompiler.LazyCompiler(new CompileTimeLookup(this), this, macros);\n }\n /*** IRuntimeResolver ***/\n /**\n * public componentDefHandleCount = 0;\n * Called while executing Append Op.PushDynamicComponentManager if string\n */\n lookupComponentDefinition(name, meta) {\n false && !(name !== 'textarea') && (0, _debug.assert)('You cannot use `textarea` as a component name.', name !== 'textarea');\n false && !(name !== 'input') && (0, _debug.assert)('You cannot use `input` as a component name.', name !== 'input');\n\n let handle = this.lookupComponentHandle(name, meta);\n if (handle === null) {\n false && !false && (0, _debug.assert)(`Could not find component named \"${name}\" (no component or template with that name was found)`);\n\n return null;\n }\n return this.resolve(handle);\n }\n lookupComponentHandle(name, meta) {\n let nextHandle = this.handles.length;\n let handle = this.handle(this._lookupComponentDefinition(name, meta));\n if (nextHandle === handle) {\n this.componentDefinitionCount++;\n }\n return handle;\n }\n /**\n * Called by RuntimeConstants to lookup unresolved handles.\n */\n resolve(handle) {\n return this.handles[handle];\n }\n // End IRuntimeResolver\n /**\n * Called by CompileTimeLookup compiling Unknown or Helper OpCode\n */\n lookupHelper(name, meta) {\n let nextHandle = this.handles.length;\n let helper$$1 = this._lookupHelper(name, meta);\n if (helper$$1 !== null) {\n let handle = this.handle(helper$$1);\n if (nextHandle === handle) {\n this.helperDefinitionCount++;\n }\n return handle;\n }\n return null;\n }\n /**\n * Called by CompileTimeLookup compiling the\n */\n lookupModifier(name, _meta) {\n return this.handle(this._lookupModifier(name));\n }\n /**\n * Called by CompileTimeLookup to lookup partial\n */\n lookupPartial(name, meta) {\n let partial = this._lookupPartial(name, meta);\n return this.handle(partial);\n }\n // end CompileTimeLookup\n /**\n * Creates a template with injections from a directly imported template factory.\n * @param templateFactory the directly imported template factory.\n * @param owner the owner the template instance would belong to if resolved\n */\n createTemplate(factory, owner) {\n let cache = this.templateCache.get(owner);\n if (cache === undefined) {\n cache = new Map();\n this.templateCache.set(owner, cache);\n }\n let template = cache.get(factory);\n if (template === undefined) {\n const { compiler } = this;\n const injections = { compiler };\n (0, _owner.setOwner)(injections, owner);\n template = factory.create(injections);\n cache.set(factory, template);\n this.templateCacheMisses++;\n } else {\n this.templateCacheHits++;\n }\n return template;\n }\n // needed for lazy compile time lookup\n handle(obj) {\n if (obj === undefined || obj === null) {\n return null;\n }\n let handle = this.objToHandle.get(obj);\n if (handle === undefined) {\n handle = this.handles.push(obj) - 1;\n this.objToHandle.set(obj, handle);\n }\n return handle;\n }\n _lookupHelper(_name, meta) {\n const helper$$1 = this.builtInHelpers[_name];\n if (helper$$1 !== undefined) {\n return helper$$1;\n }\n const { owner, moduleName } = meta;\n let name = _name;\n let namespace = undefined;\n if (false /* EMBER_MODULE_UNIFICATION */) {\n const parsed = this._parseNameForNamespace(_name);\n name = parsed.name;\n namespace = parsed.namespace;\n }\n const options = makeOptions(moduleName, namespace);\n const factory = owner.factoryFor(`helper:${name}`, options) || owner.factoryFor(`helper:${name}`);\n if (!isHelperFactory(factory)) {\n return null;\n }\n return (vm, args) => {\n const helper$$1 = factory.create();\n if (isSimpleHelper(helper$$1)) {\n return new SimpleHelperReference(helper$$1.compute, args.capture());\n }\n vm.newDestroyable(helper$$1);\n return ClassBasedHelperReference.create(helper$$1, args.capture());\n };\n }\n _lookupPartial(name, meta) {\n const template = (0, _views.lookupPartial)(name, meta.owner);\n if (template) {\n return new _opcodeCompiler.PartialDefinition(name, template);\n } else {\n throw new Error(`${name} is not a partial`);\n }\n }\n _lookupModifier(name) {\n return this.builtInModifiers[name];\n }\n _parseNameForNamespace(_name) {\n let name = _name;\n let namespace = undefined;\n let namespaceDelimiterOffset = _name.indexOf('::');\n if (namespaceDelimiterOffset !== -1) {\n name = _name.slice(namespaceDelimiterOffset + 2);\n namespace = _name.slice(0, namespaceDelimiterOffset);\n }\n return { name, namespace };\n }\n _lookupComponentDefinition(_name, meta) {\n let name = _name;\n let namespace = undefined;\n if (false /* EMBER_MODULE_UNIFICATION */) {\n const parsed = this._parseNameForNamespace(_name);\n name = parsed.name;\n namespace = parsed.namespace;\n }\n let { layout, component } = (0, _views.lookupComponent)(meta.owner, name, makeOptions(meta.moduleName, namespace));\n let key = component === undefined ? layout : component;\n if (key === undefined) {\n return null;\n }\n let cachedComponentDefinition = this.componentDefinitionCache.get(key);\n if (cachedComponentDefinition !== undefined) {\n return cachedComponentDefinition;\n }\n let finalizer = (0, _instrumentation._instrumentStart)('render.getComponentDefinition', instrumentationPayload$1, name);\n if (layout && !component && _environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n let definition = new TemplateOnlyComponentDefinition(layout);\n finalizer();\n this.componentDefinitionCache.set(key, definition);\n return definition;\n }\n if (true /* GLIMMER_CUSTOM_COMPONENT_MANAGER */ && component && component.class) {\n let managerId = getComponentManager(component.class);\n if (managerId) {\n let manager = this._lookupComponentManager(meta.owner, managerId);\n false && !!!manager && (0, _debug.assert)(`Could not find custom component manager '${managerId}' which was specified by ${component.class}`, !!manager);\n\n let definition = new CustomManagerDefinition(name, component, manager, layout || meta.owner.lookup(_container.privatize`template:components/-default`));\n finalizer();\n this.componentDefinitionCache.set(key, definition);\n return definition;\n }\n }\n let definition = layout || component ? new CurlyComponentDefinition(name, component || meta.owner.factoryFor(_container.privatize`component:-default`), null, layout // TODO fix type\n ) : null;\n finalizer();\n this.componentDefinitionCache.set(key, definition);\n return definition;\n }\n _lookupComponentManager(owner, managerId) {\n if (this.customManagerCache.has(managerId)) {\n return this.customManagerCache.get(managerId);\n }\n let delegate = owner.lookup(`component-manager:${managerId}`);\n this.customManagerCache.set(managerId, delegate);\n return delegate;\n }\n }\n\n // factory for DI\n var TemplateCompiler = {\n create() {\n return new RuntimeResolver().compiler;\n }\n };\n\n var ComponentTemplate = template({ \"id\": \"chfQcH83\", \"block\": \"{\\\"symbols\\\":[\\\"&default\\\"],\\\"statements\\\":[[14,1]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/component.hbs\" } });\n\n var OutletTemplate = template({ \"id\": \"gK7R0/52\", \"block\": \"{\\\"symbols\\\":[],\\\"statements\\\":[[1,[21,\\\"outlet\\\"],false]],\\\"hasEval\\\":false}\", \"meta\": { \"moduleName\": \"packages/@ember/-internals/glimmer/lib/templates/outlet.hbs\" } });\n\n const TOP_LEVEL_NAME = '-top-level';\n const TOP_LEVEL_OUTLET = 'main';\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 let ref = this.ref = new RootOutletReference({\n outlets: { main: undefined },\n render: {\n owner: owner,\n into: undefined,\n outlet: TOP_LEVEL_OUTLET,\n name: TOP_LEVEL_NAME,\n controller: 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 };\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 static reopenClass(injections) {\n (0, _polyfills.assign)(this, injections);\n }\n static create(options) {\n let { _environment, renderer, template } = options;\n let owner = options[_owner.OWNER];\n return new OutletView(_environment, renderer, owner, template);\n }\n appendTo(selector) {\n let target;\n if (this._environment.hasDOM) {\n target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n } else {\n target = selector;\n }\n (0, _runloop.schedule)('render', this.renderer, 'appendOutletView', this, target);\n }\n rerender() {\n /**/\n }\n setOutletState(state) {\n this.ref.update(state);\n }\n destroy() {\n /**/\n }\n }\n\n function setupApplicationRegistry(registry) {\n registry.injection('service:-glimmer-environment', 'appendOperations', 'service:-dom-tree-construction');\n registry.injection('renderer', 'env', 'service:-glimmer-environment');\n // because we are using injections we can't use instantiate false\n // we need to use bind() to copy the function so factory for\n // association won't leak\n registry.register('service:-dom-builder', {\n create({ bootOptions }) {\n let { _renderMode } = bootOptions;\n switch (_renderMode) {\n case 'serialize':\n return _node.serializeBuilder.bind(null);\n case 'rehydrate':\n return _runtime.rehydrationBuilder.bind(null);\n default:\n return _runtime.clientBuilder.bind(null);\n }\n }\n });\n registry.injection('service:-dom-builder', 'bootOptions', '-environment:main');\n registry.injection('renderer', 'builder', 'service:-dom-builder');\n registry.register(_container.privatize`template:-root`, RootTemplate);\n registry.injection('renderer', 'rootTemplate', _container.privatize`template:-root`);\n registry.register('renderer:-dom', InteractiveRenderer);\n registry.register('renderer:-inert', InertRenderer);\n if (_browserEnvironment.hasDOM) {\n registry.injection('service:-glimmer-environment', 'updateOperations', 'service:-dom-changes');\n }\n registry.register('service:-dom-changes', {\n create({ document }) {\n return new _runtime.DOMChanges(document);\n }\n });\n registry.register('service:-dom-tree-construction', {\n create({ document }) {\n let Implementation = _browserEnvironment.hasDOM ? _runtime.DOMTreeConstruction : _node.NodeDOMTreeConstruction;\n return new Implementation(document);\n }\n });\n }\n function setupEngineRegistry(registry) {\n registry.register('view:-outlet', OutletView);\n registry.register('template:-outlet', OutletTemplate);\n registry.injection('view:-outlet', 'template', 'template:-outlet');\n registry.injection('service:-dom-changes', 'document', 'service:-document');\n registry.injection('service:-dom-tree-construction', 'document', 'service:-document');\n registry.register(_container.privatize`template:components/-default`, ComponentTemplate);\n registry.register('service:-glimmer-environment', Environment$1);\n registry.register(_container.privatize`template-compiler:main`, TemplateCompiler);\n registry.injection('template', 'compiler', _container.privatize`template-compiler:main`);\n registry.optionsForType('helper', { instantiate: false });\n registry.register('helper:loc', loc$1);\n registry.register('component:-text-field', TextField);\n registry.register('component:-text-area', TextArea);\n registry.register('component:-checkbox', Checkbox);\n registry.register('component:link-to', LinkComponent);\n if (!_environment2.ENV._TEMPLATE_ONLY_GLIMMER_COMPONENTS) {\n registry.register(_container.privatize`component:-default`, Component);\n }\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/templates/components/person-profile.hbs\n {{name}}\n <div>{{name}}</div>\n <span data-name={{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 ```handlebars\n {{if name \"I have a name\" \"I have no name\"}}\n <span data-has-name={{if 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 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 firstName (\n if lastName (concat \" \" lastName) \"Doe\"\n )}}></span>\n ```\n \n Ember's built-in helpers are described under the [Ember.Templates.helpers](/api/ember/release/classes/Ember.Templates.helpers)\n namespace. Documentation on creating custom helpers can be found under\n [Helper](/api/classes/Ember.Helper.html).\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](/api/ember/release/classes/Component).\n \n @module @ember/component\n @main @ember/component\n @public\n */\n\n exports.RootTemplate = RootTemplate;\n exports.template = template;\n exports.Checkbox = Checkbox;\n exports.TextField = TextField;\n exports.TextArea = TextArea;\n exports.LinkComponent = LinkComponent;\n exports.Component = Component;\n exports.ROOT_REF = ROOT_REF;\n exports.Helper = Helper;\n exports.helper = helper;\n exports.Environment = Environment$1;\n exports.SafeString = SafeString;\n exports.escapeExpression = escapeExpression;\n exports.htmlSafe = htmlSafe;\n exports.isHTMLSafe = isHTMLSafe;\n exports.Renderer = Renderer;\n exports.InertRenderer = InertRenderer;\n exports.InteractiveRenderer = InteractiveRenderer;\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._experimentalMacros = experimentalMacros;\n exports.AbstractComponentManager = AbstractManager;\n exports.UpdatableReference = UpdatableReference;\n exports.INVOKE = INVOKE;\n exports.iterableFor = iterableFor;\n exports.DebugStack = DebugStack$1;\n exports.OutletView = OutletView;\n exports.capabilities = capabilities;\n exports.setComponentManager = setComponentManager;\n exports.getComponentManager = getComponentManager;\n});","enifed('@ember/-internals/meta/index', ['exports', '@ember/-internals/meta/lib/meta'], function (exports, _meta) {\n 'use strict';\n\n Object.defineProperty(exports, 'counters', {\n enumerable: true,\n get: function () {\n return _meta.counters;\n }\n });\n Object.defineProperty(exports, 'deleteMeta', {\n enumerable: true,\n get: function () {\n return _meta.deleteMeta;\n }\n });\n Object.defineProperty(exports, 'descriptorFor', {\n enumerable: true,\n get: function () {\n return _meta.descriptorFor;\n }\n });\n Object.defineProperty(exports, 'isDescriptor', {\n enumerable: true,\n get: function () {\n return _meta.isDescriptor;\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});","enifed('@ember/-internals/meta/lib/meta', ['exports', '@ember/-internals/utils', '@ember/debug'], function (exports, _utils, _debug) {\n 'use strict';\n\n exports.counters = exports.meta = exports.Meta = exports.UNDEFINED = undefined;\n exports.setMeta = setMeta;\n exports.peekMeta = peekMeta;\n exports.deleteMeta = deleteMeta;\n exports.descriptorFor = descriptorFor;\n exports.isDescriptor = isDescriptor;\n\n\n const objectPrototype = Object.prototype;\n let counters;\n if (false /* DEBUG */) {\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 addToListenersCalls: 0,\n removeFromListenersCalls: 0,\n removeAllListenersCalls: 0,\n listenersInherited: 0,\n listenersFlattened: 0,\n parentListenersUsed: 0,\n flattenedListenersCalls: 0,\n reopensAfterFlatten: 0\n };\n }\n /**\n @module ember\n */\n const UNDEFINED = exports.UNDEFINED = (0, _utils.symbol)('undefined');\n let currentListenerVersion = 1;\n class Meta {\n constructor(obj) {\n this._listenersVersion = 1;\n this._inheritedEnd = -1;\n this._flattenedVersion = 0;\n if (false /* DEBUG */) {\n counters.metaInstantiated++;\n this._values = undefined;\n }\n this._parent = undefined;\n this._descriptors = undefined;\n this._watching = undefined;\n this._mixins = undefined;\n this._deps = undefined;\n this._chainWatchers = undefined;\n this._chains = undefined;\n this._tag = undefined;\n this._tags = undefined;\n // initial value for all flags right now is false\n // see FLAGS const for detailed list of flags used\n this._flags = 0 /* NONE */;\n // used only internally\n this.source = obj;\n this.proto = obj.constructor === undefined ? undefined : obj.constructor.prototype;\n this._listeners = undefined;\n }\n get parent() {\n let parent = this._parent;\n if (parent === undefined) {\n let proto = getPrototypeOf(this.source);\n this._parent = parent = proto === null || proto === objectPrototype ? null : meta(proto);\n }\n return parent;\n }\n setInitializing() {\n this._flags |= 8 /* INITIALIZING */;\n }\n unsetInitializing() {\n this._flags ^= 8 /* INITIALIZING */;\n }\n isInitializing() {\n return this._hasFlag(8 /* INITIALIZING */);\n }\n isPrototypeMeta(obj) {\n return this.proto === this.source && this.source === obj;\n }\n destroy() {\n if (this.isMetaDestroyed()) {\n return;\n }\n this.setMetaDestroyed();\n // remove chainWatchers to remove circular references that would prevent GC\n let chains = this.readableChains();\n if (chains !== undefined) {\n chains.destroy();\n }\n }\n isSourceDestroying() {\n return this._hasFlag(1 /* SOURCE_DESTROYING */);\n }\n setSourceDestroying() {\n this._flags |= 1 /* SOURCE_DESTROYING */;\n }\n isSourceDestroyed() {\n return this._hasFlag(2 /* SOURCE_DESTROYED */);\n }\n setSourceDestroyed() {\n this._flags |= 2 /* SOURCE_DESTROYED */;\n }\n isMetaDestroyed() {\n return this._hasFlag(4 /* META_DESTROYED */);\n }\n setMetaDestroyed() {\n this._flags |= 4 /* META_DESTROYED */;\n }\n _hasFlag(flag) {\n return (this._flags & flag) === flag;\n }\n _getOrCreateOwnMap(key) {\n return this[key] || (this[key] = Object.create(null));\n }\n _getOrCreateOwnSet(key) {\n return this[key] || (this[key] = new Set());\n }\n _findInherited1(key) {\n let pointer = this;\n while (pointer !== null) {\n let map = pointer[key];\n if (map !== undefined) {\n return map;\n }\n pointer = pointer.parent;\n }\n }\n _findInherited2(key, subkey) {\n let pointer = this;\n while (pointer !== null) {\n let map = pointer[key];\n if (map !== undefined) {\n let value = map[subkey];\n if (value !== undefined) {\n return value;\n }\n }\n pointer = pointer.parent;\n }\n }\n _findInherited3(key, subkey, subsubkey) {\n let pointer = this;\n while (pointer !== null) {\n let map = pointer[key];\n if (map !== undefined) {\n let submap = map[subkey];\n if (submap !== undefined) {\n let value = submap[subsubkey];\n if (value !== undefined) {\n return value;\n }\n }\n }\n pointer = pointer.parent;\n }\n }\n _hasInInheritedSet(key, value) {\n let pointer = this;\n while (pointer !== null) {\n let set = pointer[key];\n if (set !== undefined && set.has(value)) {\n return true;\n }\n pointer = pointer.parent;\n }\n return false;\n }\n // Implements a member that provides a lazily created map of maps,\n // with inheritance at both levels.\n writeDeps(subkey, itemkey, count) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot modify dependent keys for \\`${itemkey}\\` on \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !this.isMetaDestroyed());\n\n let outerMap = this._getOrCreateOwnMap('_deps');\n let innerMap = outerMap[subkey];\n if (innerMap === undefined) {\n innerMap = outerMap[subkey] = Object.create(null);\n }\n innerMap[itemkey] = count;\n }\n peekDeps(subkey, itemkey) {\n let val = this._findInherited3('_deps', subkey, itemkey);\n return val === undefined ? 0 : val;\n }\n hasDeps(subkey) {\n let val = this._findInherited2('_deps', subkey);\n return val !== undefined;\n }\n forEachInDeps(subkey, fn) {\n let pointer = this;\n let seen;\n let calls;\n while (pointer !== null) {\n let map = pointer._deps;\n if (map !== undefined) {\n let innerMap = map[subkey];\n if (innerMap !== undefined) {\n for (let innerKey in innerMap) {\n seen = seen === undefined ? new Set() : seen;\n if (!seen.has(innerKey)) {\n seen.add(innerKey);\n if (innerMap[innerKey] > 0) {\n calls = calls || [];\n calls.push(innerKey);\n }\n }\n }\n }\n }\n pointer = pointer.parent;\n }\n if (calls !== undefined) {\n for (let i = 0; i < calls.length; i++) {\n fn(calls[i]);\n }\n }\n }\n writableTags() {\n return this._getOrCreateOwnMap('_tags');\n }\n readableTags() {\n return this._tags;\n }\n writableTag(create) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot create a new tag for \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !this.isMetaDestroyed());\n\n let ret = this._tag;\n if (ret === undefined) {\n ret = this._tag = create(this.source);\n }\n return ret;\n }\n readableTag() {\n return this._tag;\n }\n writableChainWatchers(create) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot create a new chain watcher for \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !this.isMetaDestroyed());\n\n let ret = this._chainWatchers;\n if (ret === undefined) {\n ret = this._chainWatchers = create(this.source);\n }\n return ret;\n }\n readableChainWatchers() {\n return this._chainWatchers;\n }\n writableChains(create) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot create a new chains for \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !this.isMetaDestroyed());\n\n let { _chains: ret } = this;\n if (ret === undefined) {\n this._chains = ret = create(this.source);\n let { parent } = this;\n if (parent !== null) {\n let parentChains = parent.writableChains(create);\n parentChains.copyTo(ret);\n }\n }\n return ret;\n }\n readableChains() {\n return this._findInherited1('_chains');\n }\n writeWatching(subkey, value) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot update watchers for \\`${subkey}\\` on \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !this.isMetaDestroyed());\n\n let map = this._getOrCreateOwnMap('_watching');\n map[subkey] = value;\n }\n peekWatching(subkey) {\n let count = this._findInherited2('_watching', subkey);\n return count === undefined ? 0 : count;\n }\n addMixin(mixin) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot add mixins of \\`${(0, _utils.toString)(mixin)}\\` on \\`${(0, _utils.toString)(this.source)}\\` call addMixin after it has been destroyed.` : '', !this.isMetaDestroyed());\n\n let set = this._getOrCreateOwnSet('_mixins');\n set.add(mixin);\n }\n hasMixin(mixin) {\n return this._hasInInheritedSet('_mixins', mixin);\n }\n forEachMixins(fn) {\n let pointer = this;\n let seen;\n while (pointer !== null) {\n let set = pointer._mixins;\n if (set !== undefined) {\n seen = seen === undefined ? new Set() : seen;\n // TODO cleanup typing here\n set.forEach(mixin => {\n if (!seen.has(mixin)) {\n seen.add(mixin);\n fn(mixin);\n }\n });\n }\n pointer = pointer.parent;\n }\n }\n writeDescriptors(subkey, value) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot update descriptors for \\`${subkey}\\` on \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !this.isMetaDestroyed());\n\n let map = this._getOrCreateOwnMap('_descriptors');\n map[subkey] = value;\n }\n peekDescriptors(subkey) {\n let possibleDesc = this._findInherited2('_descriptors', subkey);\n return possibleDesc === UNDEFINED ? undefined : possibleDesc;\n }\n removeDescriptors(subkey) {\n this.writeDescriptors(subkey, UNDEFINED);\n }\n forEachDescriptors(fn) {\n let pointer = this;\n let seen;\n while (pointer !== null) {\n let map = pointer._descriptors;\n if (map !== undefined) {\n for (let key in map) {\n seen = seen === undefined ? new Set() : seen;\n if (!seen.has(key)) {\n seen.add(key);\n let value = map[key];\n if (value !== UNDEFINED) {\n fn(key, value);\n }\n }\n }\n }\n pointer = pointer.parent;\n }\n }\n addToListeners(eventName, target, method, once) {\n if (false /* DEBUG */) {\n counters.addToListenersCalls++;\n }\n this.pushListener(eventName, target, method, once ? 1 /* ONCE */ : 0 /* ADD */);\n }\n removeFromListeners(eventName, target, method) {\n if (false /* DEBUG */) {\n counters.removeFromListenersCalls++;\n }\n this.pushListener(eventName, target, method, 2 /* REMOVE */);\n }\n removeAllListeners(event) {\n false && !false && (0, _debug.deprecate)('The remove all functionality of removeListener and removeObserver has been deprecated. Remove each listener/observer individually instead.', false, {\n id: 'events.remove-all-listeners',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_events-remove-all-listeners'\n });\n\n if (false /* DEBUG */) {\n counters.removeAllListenersCalls++;\n }\n let listeners = this.writableListeners();\n let inheritedEnd = this._inheritedEnd;\n // remove all listeners of event name\n // adjusting the inheritedEnd if listener is below it\n for (let i = listeners.length - 1; i >= 0; i--) {\n let listener = listeners[i];\n if (listener.event === event) {\n listeners.splice(i, 1);\n if (i < inheritedEnd) {\n inheritedEnd--;\n }\n }\n }\n this._inheritedEnd = inheritedEnd;\n // we put remove alls at start because rare and easy to check there\n listeners.splice(inheritedEnd, 0, {\n event,\n target: null,\n method: null,\n kind: 3 /* REMOVE_ALL */\n });\n }\n pushListener(event, target, method, kind) {\n let listeners = this.writableListeners();\n let i = indexOfListener(listeners, event, target, method);\n // remove if found listener was inherited\n if (i !== -1 && i < this._inheritedEnd) {\n listeners.splice(i, 1);\n this._inheritedEnd--;\n i = -1;\n }\n // if not found, push. Note that we must always push if a listener is not\n // found, even in the case of a function listener remove, because we may be\n // attempting to add or remove listeners _before_ flattening has occured.\n if (i === -1) {\n false && !!(this.isPrototypeMeta(this.source) && typeof method === 'function') && (0, _debug.deprecate)('Adding function listeners to prototypes has been deprecated. Convert the listener to a string listener, or add it to the instance instead.', !(this.isPrototypeMeta(this.source) && typeof method === 'function'), {\n id: 'events.inherited-function-listeners',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_events-inherited-function-listeners'\n });\n false && !!(!this.isPrototypeMeta(this.source) && typeof method === 'function' && kind === 2 /* REMOVE */) && (0, _debug.deprecate)('You attempted to remove a function listener which did not exist on the instance, which means it was an inherited prototype listener, or you attempted to remove it before it was added. Prototype function listeners have been deprecated, and attempting to remove a non-existent function listener this will error in the future.', !(!this.isPrototypeMeta(this.source) && typeof method === 'function' && kind === 2), {\n id: 'events.inherited-function-listeners',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_events-inherited-function-listeners'\n });\n\n listeners.push({\n event,\n target,\n method,\n kind\n });\n } else {\n let listener = listeners[i];\n // If the listener is our own function listener and we are trying to\n // remove it, we want to splice it out entirely so we don't hold onto a\n // reference.\n if (kind === 2 /* REMOVE */ && listener.kind !== 2 /* REMOVE */ && typeof method === 'function') {\n listeners.splice(i, 1);\n } else {\n // update own listener\n listener.kind = kind;\n // TODO: Remove this when removing REMOVE_ALL, it won't be necessary\n listener.target = target;\n listener.method = method;\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 (false /* DEBUG */) {\n counters.reopensAfterFlatten++;\n }\n currentListenerVersion++;\n }\n // Inherited end has not been set, then we have never created our own\n // listeners, but may have cached the parent's\n if (this._inheritedEnd === -1) {\n this._inheritedEnd = 0;\n this._listeners = [];\n }\n return this._listeners;\n }\n /**\n Flattening is based on a global revision counter. If the revision has\n bumped it means that somewhere in a class inheritance chain something has\n changed, so we need to reflatten everything. This can only happen if:\n 1. A meta has been flattened (listener has been called)\n 2. The meta is a prototype meta with children who have inherited its\n listeners\n 3. A new listener is subsequently added to the meta (e.g. via `.reopen()`)\n This is a very rare occurence, so while the counter is global it shouldn't\n be updated very often in practice.\n */\n flattenedListeners() {\n if (false /* DEBUG */) {\n counters.flattenedListenersCalls++;\n }\n if (this._flattenedVersion < currentListenerVersion) {\n if (false /* DEBUG */) {\n counters.listenersFlattened++;\n }\n let parent = this.parent;\n if (parent !== null) {\n // compute\n let parentListeners = parent.flattenedListeners();\n if (parentListeners !== undefined) {\n if (this._listeners === undefined) {\n // If this instance doesn't have any of its own listeners (writableListeners\n // has never been called) then we don't need to do any flattening, return\n // the parent's listeners instead.\n if (false /* DEBUG */) {\n counters.parentListenersUsed++;\n }\n this._listeners = parentListeners;\n } else {\n let listeners = this._listeners;\n if (this._inheritedEnd > 0) {\n listeners.splice(0, this._inheritedEnd);\n this._inheritedEnd = 0;\n }\n for (let i = 0; i < parentListeners.length; i++) {\n let listener = parentListeners[i];\n let index = indexOfListener(listeners, listener.event, listener.target, listener.method);\n if (index === -1) {\n if (false /* DEBUG */) {\n counters.listenersInherited++;\n }\n listeners.unshift(listener);\n this._inheritedEnd++;\n }\n }\n }\n }\n }\n this._flattenedVersion = currentListenerVersion;\n }\n return this._listeners;\n }\n matchingListeners(eventName) {\n let listeners = this.flattenedListeners();\n let result;\n if (false /* DEBUG */) {\n counters.matchingListenersCalls++;\n }\n if (listeners !== undefined) {\n for (let index = 0; index < listeners.length; index++) {\n let listener = listeners[index];\n // REMOVE and REMOVE_ALL listeners are placeholders that tell us not to\n // inherit, so they never match. Only ADD and ONCE can match.\n if (listener.event === eventName && (listener.kind === 0 /* ADD */ || listener.kind === 1 /* ONCE */)) {\n if (result === undefined) {\n // we create this array only after we've found a listener that\n // matches to avoid allocations when no matches are found.\n result = [];\n }\n result.push(listener.target, listener.method, listener.kind === 1 /* ONCE */);\n }\n }\n }\n return result;\n }\n }\n exports.Meta = Meta;\n if (false /* DEBUG */) {\n Meta.prototype.writeValues = function (subkey, value) {\n false && !!this.isMetaDestroyed() && (0, _debug.assert)(this.isMetaDestroyed() ? `Cannot set the value of \\`${subkey}\\` on \\`${(0, _utils.toString)(this.source)}\\` after it has been destroyed.` : '', !this.isMetaDestroyed());\n\n let map = this._getOrCreateOwnMap('_values');\n map[subkey] = value;\n };\n Meta.prototype.peekValues = function (subkey) {\n return this._findInherited2('_values', subkey);\n };\n Meta.prototype.deleteFromValues = function (subkey) {\n delete this._getOrCreateOwnMap('_values')[subkey];\n };\n Meta.prototype.readInheritedValue = function (key, subkey) {\n let internalKey = `_${key}`;\n let pointer = this;\n while (pointer !== null) {\n let map = pointer[internalKey];\n if (map !== undefined) {\n let value = map[subkey];\n if (value !== undefined || subkey in map) {\n return value;\n }\n }\n pointer = pointer.parent;\n }\n return UNDEFINED;\n };\n Meta.prototype.writeValue = function (obj, key, value) {\n let descriptor = (0, _utils.lookupDescriptor)(obj, key);\n let isMandatorySetter = descriptor !== null && descriptor.set && descriptor.set.isMandatorySetter;\n if (isMandatorySetter) {\n this.writeValues(key, value);\n } else {\n obj[key] = value;\n }\n };\n }\n const getPrototypeOf = Object.getPrototypeOf;\n const metaStore = new WeakMap();\n function setMeta(obj, meta) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `setMeta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `setMeta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`setMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function');\n\n if (false /* DEBUG */) {\n counters.setCalls++;\n }\n metaStore.set(obj, meta);\n }\n function peekMeta(obj) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `peekMeta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `peekMeta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`peekMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function');\n\n if (false /* DEBUG */) {\n counters.peekCalls++;\n }\n let meta = metaStore.get(obj);\n if (meta !== undefined) {\n return meta;\n }\n let pointer = getPrototypeOf(obj);\n while (pointer !== undefined && pointer !== null) {\n if (false /* DEBUG */) {\n counters.peekPrototypeWalks++;\n }\n meta = metaStore.get(pointer);\n if (meta !== undefined) {\n if (meta.proto !== pointer) {\n // The meta was a prototype meta which was not marked as initializing.\n // This can happen when a prototype chain was created manually via\n // Object.create() and the source object does not have a constructor.\n meta.proto = pointer;\n }\n return meta;\n }\n pointer = getPrototypeOf(pointer);\n }\n }\n /**\n Tears down the meta on an object so that it can be garbage collected.\n Multiple calls will have no effect.\n \n @method deleteMeta\n @for Ember\n @param {Object} obj the object to destroy\n @return {void}\n @private\n */\n function deleteMeta(obj) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `deleteMeta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `deleteMeta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`deleteMeta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function');\n\n if (false /* DEBUG */) {\n counters.deleteCalls++;\n }\n let meta = peekMeta(obj);\n if (meta !== undefined) {\n meta.destroy();\n }\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 const meta = exports.meta = function meta(obj) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `meta` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `meta` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`meta\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function');\n\n if (false /* DEBUG */) {\n counters.metaCalls++;\n }\n let maybeMeta = peekMeta(obj);\n // remove this code, in-favor of explicit parent\n if (maybeMeta !== undefined && maybeMeta.source === obj) {\n return maybeMeta;\n }\n let newMeta = new Meta(obj);\n setMeta(obj, newMeta);\n return newMeta;\n };\n if (false /* DEBUG */) {\n meta._counters = counters;\n }\n /**\n Returns the CP descriptor assocaited with `obj` and `keyName`, if any.\n \n @method descriptorFor\n @param {Object} obj the object to check\n @param {String} keyName the key to check\n @return {Descriptor}\n @private\n */\n function descriptorFor(obj, keyName, _meta) {\n false && !(obj !== null) && (0, _debug.assert)('Cannot call `descriptorFor` on null', obj !== null);\n false && !(obj !== undefined) && (0, _debug.assert)('Cannot call `descriptorFor` on undefined', obj !== undefined);\n false && !(typeof obj === 'object' || typeof obj === 'function') && (0, _debug.assert)(`Cannot call \\`descriptorFor\\` on ${typeof obj}`, typeof obj === 'object' || typeof obj === 'function');\n\n let meta = _meta === undefined ? peekMeta(obj) : _meta;\n if (meta !== undefined) {\n return meta.peekDescriptors(keyName);\n }\n }\n /**\n Check whether a value is a CP descriptor.\n \n @method descriptorFor\n @param {any} possibleDesc the value to check\n @return {boolean}\n @private\n */\n function isDescriptor(possibleDesc) {\n // TODO make this return `possibleDesc is Descriptor`\n return possibleDesc !== undefined && possibleDesc !== null && typeof possibleDesc === 'object' && possibleDesc.isDescriptor === true;\n }\n exports.counters = counters;\n\n function indexOfListener(listeners, event, target, method) {\n for (let i = listeners.length - 1; i >= 0; i--) {\n let listener = listeners[i];\n if (listener.event === event && (listener.target === target && listener.method === method || listener.kind === 3 /* REMOVE_ALL */)) {\n return i;\n }\n }\n return -1;\n }\n});","enifed('@ember/-internals/metal', ['exports', '@ember/-internals/utils', '@ember/-internals/meta', '@ember/debug', '@ember/runloop', '@glimmer/reference', '@ember/deprecated-features', '@ember/error', 'ember/version', '@ember/-internals/environment', '@ember/polyfills', '@ember/-internals/owner'], function (exports, _utils, _meta2, _debug, _runloop, _reference, _deprecatedFeatures, _error, _version, _environment, _polyfills, _owner) {\n 'use strict';\n\n exports.setNamespaceSearchDisabled = exports.isNamespaceSearchDisabled = exports.removeNamespace = exports.processAllNamespaces = exports.processNamespace = exports.findNamespaces = exports.findNamespace = exports.classToString = exports.addNamespace = exports.NAMESPACES_BY_ID = exports.NAMESPACES = exports.tracked = exports.descriptor = exports.assertNotRendered = exports.didRender = exports.runInTransaction = exports.markObjectAsDirty = exports.tagFor = exports.tagForProperty = exports.setHasViews = exports.InjectedProperty = exports.applyMixin = exports.observer = exports.mixin = exports.aliasMethod = exports.Mixin = exports.removeObserver = exports.addObserver = exports.expandProperties = exports.setProperties = exports.getProperties = exports.Libraries = exports.libraries = exports.watcherCount = exports.watch = exports.unwatch = exports.isWatching = exports.unwatchPath = exports.watchPath = exports.removeChainWatcher = exports.finishChains = exports.ChainNode = exports.unwatchKey = exports.watchKey = exports.Descriptor = exports.defineProperty = exports.PROPERTY_DID_CHANGE = exports.propertyWillChange = exports.propertyDidChange = exports.overrideChains = exports.notifyPropertyChange = exports.endPropertyChanges = exports.changeProperties = exports.beginPropertyChanges = exports.isPresent = exports.isBlank = exports.isEmpty = exports.isNone = exports.sendEvent = exports.removeListener = exports.on = exports.hasListeners = exports.addListener = exports.eachProxyArrayDidChange = exports.eachProxyArrayWillChange = exports.eachProxyFor = exports.arrayContentDidChange = exports.arrayContentWillChange = exports.removeArrayObserver = exports.addArrayObserver = exports.replaceInNativeArray = exports.replace = exports.objectAt = exports.trySet = exports.set = exports.getWithDefault = exports.get = exports._getPath = exports.PROXY_CONTENT = exports.deprecateProperty = exports.alias = exports.peekCacheFor = exports.getCachedValueFor = exports.getCacheFor = exports._globalsComputed = exports.ComputedProperty = exports.computed = undefined;\n\n\n const COMPUTED_PROPERTY_CACHED_VALUES = new WeakMap();\n const COMPUTED_PROPERTY_LAST_REVISION = false /* EMBER_METAL_TRACKED_PROPERTIES */ ? new WeakMap() : undefined;\n /**\n Returns the cached value for a property, if one exists.\n This can be useful for peeking at the value of a computed\n property that is generated lazily, without accidentally causing\n it to be created.\n \n @method cacheFor\n @static\n @for @ember/object/internals\n @param {Object} obj the object whose property you want to check\n @param {String} key the name of the property whose cached value you want\n to return\n @return {Object} the cached value\n @public\n */\n function getCacheFor(obj) {\n let cache = COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n if (cache === undefined) {\n cache = new Map();\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n COMPUTED_PROPERTY_LAST_REVISION.set(obj, new Map());\n }\n COMPUTED_PROPERTY_CACHED_VALUES.set(obj, cache);\n }\n return cache;\n }\n function getCachedValueFor(obj, key) {\n let cache = COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n if (cache !== undefined) {\n return cache.get(key);\n }\n }\n let setLastRevisionFor;\n let getLastRevisionFor;\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n setLastRevisionFor = (obj, key, revision) => {\n let lastRevision = COMPUTED_PROPERTY_LAST_REVISION.get(obj);\n lastRevision.set(key, revision);\n };\n getLastRevisionFor = (obj, key) => {\n let cache = COMPUTED_PROPERTY_LAST_REVISION.get(obj);\n if (cache === undefined) {\n return 0;\n } else {\n let revision = cache.get(key);\n return revision === undefined ? 0 : revision;\n }\n };\n }\n function peekCacheFor(obj) {\n return COMPUTED_PROPERTY_CACHED_VALUES.get(obj);\n }\n\n const firstDotIndexCache = new _utils.Cache(1000, key => key.indexOf('.'));\n function isPath(path) {\n return typeof path === 'string' && firstDotIndexCache.get(path) !== -1;\n }\n\n const AFTER_OBSERVERS = ':change';\n function changeEvent(keyName) {\n return keyName + AFTER_OBSERVERS;\n }\n\n /**\n @module @ember/object\n */\n /*\n The event system uses a series of nested hashes to store listeners on an\n object. When a listener is registered, or when an event arrives, these\n hashes are consulted to determine which target and action pair to invoke.\n \n The hashes are stored in the object's meta hash, and look like this:\n \n // Object's meta hash\n {\n listeners: { // variable name: `listenerSet`\n \"foo:change\": [ // variable name: `actions`\n target, method, once\n ]\n }\n }\n \n */\n /**\n Add an event listener\n \n @method addListener\n @static\n @for @ember/object/events\n @param obj\n @param {String} eventName\n @param {Object|Function} target A target object or a function\n @param {Function|String} method A function or the name of a function to be called on `target`\n @param {Boolean} once A flag whether a function should only be called once\n @public\n */\n function addListener(obj, eventName, target, method, once) {\n false && !(!!obj && !!eventName) && (0, _debug.assert)('You must pass at least an object and event name to addListener', !!obj && !!eventName);\n\n if (!method && 'function' === typeof target) {\n method = target;\n target = null;\n }\n (0, _meta2.meta)(obj).addToListeners(eventName, target, method, once === true);\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 function removeListener(obj, eventName, target, method) {\n false && !(!!obj && !!eventName) && (0, _debug.assert)('You must pass at least an object and event name to removeListener', !!obj && !!eventName);\n\n if (!method && 'function' === typeof target) {\n method = target;\n target = null;\n }\n let m = (0, _meta2.meta)(obj);\n if (method === undefined) {\n m.removeAllListeners(eventName);\n } else {\n m.removeFromListeners(eventName, target, method);\n }\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 true\n @public\n */\n function sendEvent(obj, eventName, params, actions, _meta) {\n if (actions === undefined) {\n let meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n actions = typeof meta$$1 === 'object' && meta$$1 !== null && meta$$1.matchingListeners(eventName);\n }\n if (actions === undefined || actions.length === 0) {\n return false;\n }\n for (let i = actions.length - 3; i >= 0; i -= 3) {\n // looping in reverse for once listeners\n let target = actions[i];\n let method = actions[i + 1];\n let once = actions[i + 2];\n if (!method) {\n continue;\n }\n if (once) {\n removeListener(obj, eventName, target, method);\n }\n if (!target) {\n target = obj;\n }\n if ('string' === typeof method) {\n method = target[method];\n }\n method.apply(target, params);\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 */\n function hasListeners(obj, eventName) {\n let meta$$1 = (0, _meta2.peekMeta)(obj);\n if (meta$$1 === undefined) {\n return false;\n }\n let matched = meta$$1.matchingListeners(eventName);\n return matched !== undefined && matched.length > 0;\n }\n /**\n Define a property as a function that should be executed when\n a specified event or events are triggered.\n \n ``` javascript\n import EmberObject from '@ember/object';\n import { on } from '@ember/object/evented';\n import { sendEvent } from '@ember/object/events';\n \n let Job = EmberObject.extend({\n logCompleted: on('completed', function() {\n console.log('Job completed!');\n })\n });\n \n let job = Job.create();\n \n sendEvent(job, 'completed'); // Logs 'Job completed!'\n ```\n \n @method on\n @static\n @for @ember/object/evented\n @param {String} eventNames*\n @param {Function} func\n @return func\n @public\n */\n function on(...args) {\n let func = args.pop();\n let events = args;\n false && !(typeof func === 'function') && (0, _debug.assert)('on expects function as last argument', typeof func === 'function');\n false && !(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\n (0, _utils.setListeners)(func, events);\n return func;\n }\n\n /**\n ObserverSet is a data structure used to keep track of observers\n that have been deferred.\n \n It ensures that observers are called in the same order that they\n were initially triggered.\n \n It also ensures that observers for any object-key pairs are called\n only once, even if they were triggered multiple times while\n deferred. In this case, the order that the observer is called in\n will depend on the first time the observer was triggered.\n \n @private\n @class ObserverSet\n */\n class ObserverSet {\n constructor() {\n this.added = new Map();\n this.queue = [];\n }\n add(object, key, event) {\n let keys = this.added.get(object);\n if (keys === undefined) {\n keys = new Set();\n this.added.set(object, keys);\n }\n if (!keys.has(key)) {\n this.queue.push(object, key, event);\n keys.add(key);\n }\n }\n flush() {\n // The queue is saved off to support nested flushes.\n let queue = this.queue;\n this.added.clear();\n this.queue = [];\n for (let i = 0; i < queue.length; i += 3) {\n let object = queue[i];\n let key = queue[i + 1];\n let event = queue[i + 2];\n if (object.isDestroying || object.isDestroyed) {\n continue;\n }\n sendEvent(object, event, [object, key]);\n }\n }\n }\n\n let hasViews = () => false;\n function setHasViews(fn) {\n hasViews = fn;\n }\n function makeTag() {\n return _reference.DirtyableTag.create();\n }\n function tagForProperty(object, propertyKey, _meta) {\n if (typeof object !== 'object' || object === null) {\n return _reference.CONSTANT_TAG;\n }\n let meta$$1 = _meta === undefined ? (0, _meta2.meta)(object) : _meta;\n if ((0, _utils.isProxy)(object)) {\n return tagFor(object, meta$$1);\n }\n let tags = meta$$1.writableTags();\n let tag = tags[propertyKey];\n if (tag) {\n return tag;\n }\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n let pair = (0, _reference.combine)([makeTag(), _reference.UpdatableTag.create(_reference.CONSTANT_TAG)]);\n return tags[propertyKey] = pair;\n } else {\n return tags[propertyKey] = makeTag();\n }\n }\n function tagFor(object, _meta) {\n if (typeof object === 'object' && object !== null) {\n let meta$$1 = _meta === undefined ? (0, _meta2.meta)(object) : _meta;\n return meta$$1.writableTag(makeTag);\n } else {\n return _reference.CONSTANT_TAG;\n }\n }\n let dirty;\n let update;\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n dirty = tag => {\n tag.inner.first.inner.dirty();\n };\n update = (outer, inner) => {\n outer.inner.second.inner.update(inner);\n };\n } else {\n dirty = tag => {\n tag.inner.dirty();\n };\n }\n function markObjectAsDirty(obj, propertyKey, meta$$1) {\n let objectTag = meta$$1.readableTag();\n if (objectTag !== undefined) {\n if ((0, _utils.isProxy)(obj)) {\n objectTag.inner.first.inner.dirty();\n } else {\n objectTag.inner.dirty();\n }\n }\n let tags = meta$$1.readableTags();\n let propertyTag = tags !== undefined ? tags[propertyKey] : undefined;\n if (propertyTag !== undefined) {\n dirty(propertyTag);\n }\n if (objectTag !== undefined || propertyTag !== undefined) {\n ensureRunloop();\n }\n }\n function ensureRunloop() {\n if (hasViews()) {\n _runloop.backburner.ensureInstance();\n }\n }\n\n let runInTransaction;\n let didRender;\n let assertNotRendered;\n // detect-backtracking-rerender by default is debug build only\n if (false /* DEBUG */) {\n // there are 2 states\n // DEBUG\n // tracks lastRef and lastRenderedIn per rendered object and key during a transaction\n // release everything via normal weakmap semantics by just derefencing the weakmap\n // RELEASE\n // tracks transactionId per rendered object and key during a transaction\n // release everything via normal weakmap semantics by just derefencing the weakmap\n class TransactionRunner {\n constructor() {\n this.transactionId = 0;\n this.inTransaction = false;\n this.shouldReflush = false;\n this.weakMap = new WeakMap();\n if (false /* DEBUG */) {\n // track templates\n this.debugStack = undefined;\n }\n }\n runInTransaction(context$$1, methodName) {\n this.before(context$$1);\n try {\n context$$1[methodName]();\n } finally {\n this.after();\n }\n return this.shouldReflush;\n }\n didRender(object, key, reference) {\n if (!this.inTransaction) {\n return;\n }\n if (false /* DEBUG */) {\n this.setKey(object, key, {\n lastRef: reference,\n lastRenderedIn: this.debugStack.peek()\n });\n } else {\n this.setKey(object, key, this.transactionId);\n }\n }\n assertNotRendered(object, key) {\n if (!this.inTransaction) {\n return;\n }\n if (this.hasRendered(object, key)) {\n if (false /* DEBUG */) {\n let { lastRef, lastRenderedIn } = this.getKey(object, key);\n let currentlyIn = this.debugStack.peek();\n let parts = [];\n let label;\n if (lastRef !== undefined) {\n while (lastRef && lastRef._propertyKey) {\n parts.unshift(lastRef._propertyKey);\n lastRef = lastRef._parentReference;\n }\n label = parts.join('.');\n } else {\n label = 'the same value';\n }\n false && !false && (0, _debug.assert)(`You modified \"${label}\" twice on ${object} in a single render. It was rendered in ${lastRenderedIn} and modified in ${currentlyIn}. This was unreliable and slow in Ember 1.x and is no longer supported. See https://github.com/emberjs/ember.js/issues/13948 for more details.`, false);\n }\n this.shouldReflush = true;\n }\n }\n hasRendered(object, key) {\n if (!this.inTransaction) {\n return false;\n }\n if (false /* DEBUG */) {\n return this.getKey(object, key) !== undefined;\n }\n return this.getKey(object, key) === this.transactionId;\n }\n before(context$$1) {\n this.inTransaction = true;\n this.shouldReflush = false;\n if (false /* DEBUG */) {\n this.debugStack = context$$1.env.debugStack;\n }\n }\n after() {\n this.transactionId++;\n this.inTransaction = false;\n if (false /* DEBUG */) {\n this.debugStack = undefined;\n }\n this.clearObjectMap();\n }\n createMap(object) {\n let map = Object.create(null);\n this.weakMap.set(object, map);\n return map;\n }\n getOrCreateMap(object) {\n let map = this.weakMap.get(object);\n if (map === undefined) {\n map = this.createMap(object);\n }\n return map;\n }\n setKey(object, key, value) {\n let map = this.getOrCreateMap(object);\n map[key] = value;\n }\n getKey(object, key) {\n let map = this.weakMap.get(object);\n if (map !== undefined) {\n return map[key];\n }\n }\n clearObjectMap() {\n this.weakMap = new WeakMap();\n }\n }\n let runner = new TransactionRunner();\n exports.runInTransaction = runInTransaction = runner.runInTransaction.bind(runner);\n exports.didRender = didRender = runner.didRender.bind(runner);\n exports.assertNotRendered = assertNotRendered = runner.assertNotRendered.bind(runner);\n } else {\n // in production do nothing to detect reflushes\n exports.runInTransaction = runInTransaction = (context$$1, methodName) => {\n context$$1[methodName]();\n return false;\n };\n }\n\n /**\n @module ember\n @private\n */\n const PROPERTY_DID_CHANGE$1 = (0, _utils.symbol)('PROPERTY_DID_CHANGE');\n const observerSet = new ObserverSet();\n let deferred = 0;\n // ..........................................................\n // PROPERTY CHANGES\n //\n /**\n @method propertyWillChange\n @for Ember\n @private\n */\n let propertyWillChange;\n if (_deprecatedFeatures.PROPERTY_WILL_CHANGE) {\n exports.propertyWillChange = propertyWillChange = function propertyWillChange() {\n false && !false && (0, _debug.deprecate)(`'propertyWillChange' is deprecated and has no effect. It is safe to remove this call.`, false, {\n id: 'ember-metal.deprecate-propertyWillChange',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x/#toc_use-notifypropertychange-instead-of-propertywillchange-and-propertydidchange'\n });\n };\n }\n /**\n @method propertyDidChange\n @for Ember\n @private\n */\n let propertyDidChange;\n if (_deprecatedFeatures.PROPERTY_DID_CHANGE) {\n exports.propertyDidChange = propertyDidChange = function propertyDidChange(obj, keyName, _meta) {\n false && !false && (0, _debug.deprecate)(`'propertyDidChange' is deprecated in favor of 'notifyPropertyChange'. It is safe to change this call to 'notifyPropertyChange'.`, false, {\n id: 'ember-metal.deprecate-propertyDidChange',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x/#toc_use-notifypropertychange-instead-of-propertywillchange-and-propertydidchange'\n });\n\n notifyPropertyChange(obj, keyName, _meta);\n };\n }\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\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 @return {void}\n @public\n */\n function notifyPropertyChange(obj, keyName, _meta) {\n let meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n let hasMeta = meta$$1 !== undefined;\n if (hasMeta && (meta$$1.isInitializing() || meta$$1.isPrototypeMeta(obj))) {\n return;\n }\n let possibleDesc = (0, _meta2.descriptorFor)(obj, keyName, meta$$1);\n if (possibleDesc !== undefined && typeof possibleDesc.didChange === 'function') {\n possibleDesc.didChange(obj, keyName);\n }\n if (hasMeta && meta$$1.peekWatching(keyName) > 0) {\n dependentKeysDidChange(obj, keyName, meta$$1);\n chainsDidChange(obj, keyName, meta$$1);\n notifyObservers(obj, keyName, meta$$1);\n }\n if (PROPERTY_DID_CHANGE$1 in obj) {\n obj[PROPERTY_DID_CHANGE$1](keyName);\n }\n if (hasMeta) {\n if (meta$$1.isSourceDestroying()) {\n return;\n }\n markObjectAsDirty(obj, keyName, meta$$1);\n }\n if (false /* DEBUG */) {\n assertNotRendered(obj, keyName);\n }\n }\n const SEEN_MAP = new Map();\n let IS_TOP_SEEN_MAP = true;\n // called whenever a property has just changed to update dependent keys\n function dependentKeysDidChange(obj, depKey, meta$$1) {\n if (meta$$1.isSourceDestroying() || !meta$$1.hasDeps(depKey)) {\n return;\n }\n let seen = SEEN_MAP;\n let isTop = IS_TOP_SEEN_MAP;\n if (isTop) {\n IS_TOP_SEEN_MAP = false;\n }\n iterDeps(notifyPropertyChange, obj, depKey, seen, meta$$1);\n if (isTop) {\n SEEN_MAP.clear();\n IS_TOP_SEEN_MAP = true;\n }\n }\n function iterDeps(method, obj, depKey, seen, meta$$1) {\n let current = seen.get(obj);\n if (current === undefined) {\n current = new Set();\n seen.set(obj, current);\n }\n if (current.has(depKey)) {\n return;\n }\n let possibleDesc;\n meta$$1.forEachInDeps(depKey, key => {\n possibleDesc = (0, _meta2.descriptorFor)(obj, key, meta$$1);\n if (possibleDesc !== undefined && possibleDesc._suspended === obj) {\n return;\n }\n method(obj, key, meta$$1);\n });\n }\n function chainsDidChange(_obj, keyName, meta$$1) {\n let chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.notify(keyName, true, notifyPropertyChange);\n }\n }\n function overrideChains(_obj, keyName, meta$$1) {\n let chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.revalidate(keyName);\n }\n }\n /**\n @method beginPropertyChanges\n @chainable\n @private\n */\n function beginPropertyChanges() {\n deferred++;\n }\n /**\n @method endPropertyChanges\n @private\n */\n function endPropertyChanges() {\n deferred--;\n if (deferred <= 0) {\n observerSet.flush();\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 function changeProperties(callback) {\n beginPropertyChanges();\n try {\n callback();\n } finally {\n endPropertyChanges();\n }\n }\n function notifyObservers(obj, keyName, meta$$1) {\n if (meta$$1.isSourceDestroying()) {\n return;\n }\n let eventName = changeEvent(keyName);\n if (deferred > 0) {\n observerSet.add(obj, keyName, eventName);\n } else {\n sendEvent(obj, eventName, [obj, keyName]);\n }\n }\n\n /**\n @module @ember/object\n */\n // ..........................................................\n // DESCRIPTOR\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 class Descriptor {\n constructor() {\n this.isDescriptor = true;\n this.enumerable = true;\n this.configurable = true;\n }\n setup(obj, keyName, meta$$1) {\n Object.defineProperty(obj, keyName, {\n enumerable: this.enumerable,\n configurable: this.configurable,\n get: DESCRIPTOR_GETTER_FUNCTION(keyName, this)\n });\n meta$$1.writeDescriptors(keyName, this);\n }\n teardown(_obj, keyName, meta$$1) {\n meta$$1.removeDescriptors(keyName);\n }\n }\n // ..........................................................\n // DEFINING PROPERTIES API\n //\n function MANDATORY_SETTER_FUNCTION(name) {\n function SETTER_FUNCTION(value) {\n let m = (0, _meta2.peekMeta)(this);\n if (m.isInitializing() || m.isPrototypeMeta(this)) {\n m.writeValues(name, value);\n } else {\n false && !false && (0, _debug.assert)(`You must use set() to set the \\`${name}\\` property (of ${this}) to \\`${value}\\`.`, false);\n }\n }\n return Object.assign(SETTER_FUNCTION, { isMandatorySetter: true });\n }\n function DEFAULT_GETTER_FUNCTION(name) {\n return function GETTER_FUNCTION() {\n let meta$$1 = (0, _meta2.peekMeta)(this);\n if (meta$$1 !== undefined) {\n return meta$$1.peekValues(name);\n }\n };\n }\n function INHERITING_GETTER_FUNCTION(name) {\n function IGETTER_FUNCTION() {\n let meta$$1 = (0, _meta2.peekMeta)(this);\n let val;\n if (meta$$1 !== undefined) {\n val = meta$$1.readInheritedValue('values', name);\n }\n if (val === _meta2.UNDEFINED) {\n let proto = Object.getPrototypeOf(this);\n return proto && proto[name];\n } else {\n return val;\n }\n }\n return Object.assign(IGETTER_FUNCTION, {\n isInheritingGetter: true\n });\n }\n function DESCRIPTOR_GETTER_FUNCTION(name, descriptor) {\n return function CPGETTER_FUNCTION() {\n return descriptor.get(this, name);\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 @private\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 function defineProperty(obj, keyName, desc, data, meta$$1) {\n if (meta$$1 === undefined) {\n meta$$1 = (0, _meta2.meta)(obj);\n }\n let watching = meta$$1.peekWatching(keyName) > 0;\n let previousDesc = (0, _meta2.descriptorFor)(obj, keyName, meta$$1);\n let wasDescriptor = previousDesc !== undefined;\n if (wasDescriptor) {\n previousDesc.teardown(obj, keyName, meta$$1);\n }\n // used to track if the the property being defined be enumerable\n let enumerable = true;\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 // this is a hack, and we should stop mutating the array prototype by default 😫\n if (obj === Array.prototype) {\n enumerable = false;\n }\n let value;\n if (desc instanceof Descriptor) {\n value = desc;\n desc.setup(obj, keyName, meta$$1);\n } else if (desc === undefined || desc === null) {\n value = data;\n if (false /* DEBUG */ && watching) {\n meta$$1.writeValues(keyName, data);\n let defaultDescriptor = {\n configurable: true,\n enumerable,\n set: MANDATORY_SETTER_FUNCTION(keyName),\n get: DEFAULT_GETTER_FUNCTION(keyName)\n };\n Object.defineProperty(obj, keyName, defaultDescriptor);\n } else if (wasDescriptor || enumerable === false) {\n Object.defineProperty(obj, keyName, {\n configurable: true,\n enumerable,\n writable: true,\n value\n });\n } else {\n obj[keyName] = data;\n }\n } else {\n value = desc;\n // fallback to ES5\n Object.defineProperty(obj, keyName, desc);\n }\n // if key is being watched, override chains that\n // were initialized with the prototype\n if (watching) {\n overrideChains(obj, keyName, meta$$1);\n }\n // The `value` passed to the `didDefineProperty` hook is\n // either the descriptor or data, whichever was passed.\n if (typeof obj.didDefineProperty === 'function') {\n obj.didDefineProperty(obj, keyName, value);\n }\n }\n\n let handleMandatorySetter;\n function watchKey(obj, keyName, _meta) {\n let meta$$1 = _meta === undefined ? (0, _meta2.meta)(obj) : _meta;\n let count = meta$$1.peekWatching(keyName);\n meta$$1.writeWatching(keyName, count + 1);\n if (count === 0) {\n // activate watching first time\n let possibleDesc = (0, _meta2.descriptorFor)(obj, keyName, meta$$1);\n if (possibleDesc !== undefined && possibleDesc.willWatch !== undefined) {\n possibleDesc.willWatch(obj, keyName, meta$$1);\n }\n if (typeof obj.willWatchProperty === 'function') {\n obj.willWatchProperty(keyName);\n }\n if (false /* DEBUG */) {\n // NOTE: this is dropped for prod + minified builds\n handleMandatorySetter(meta$$1, obj, keyName);\n }\n }\n }\n if (false /* DEBUG */) {\n let hasOwnProperty = (obj, key) => Object.prototype.hasOwnProperty.call(obj, key);\n let propertyIsEnumerable = (obj, key) => Object.prototype.propertyIsEnumerable.call(obj, key);\n // Future traveler, although this code looks scary. It merely exists in\n // development to aid in development asertions. Production builds of\n // ember strip this entire block out\n handleMandatorySetter = function handleMandatorySetter(m, obj, keyName) {\n let descriptor = (0, _utils.lookupDescriptor)(obj, keyName);\n let hasDescriptor = descriptor !== null;\n let possibleDesc = hasDescriptor && descriptor.value;\n if ((0, _meta2.isDescriptor)(possibleDesc)) {\n return;\n }\n let configurable = hasDescriptor ? descriptor.configurable : true;\n let isWritable = hasDescriptor ? descriptor.writable : true;\n let hasValue = hasDescriptor ? 'value' in descriptor : true;\n // this x in Y deopts, so keeping it in this function is better;\n if (configurable && isWritable && hasValue && keyName in obj) {\n let desc = {\n configurable: true,\n set: MANDATORY_SETTER_FUNCTION(keyName),\n enumerable: propertyIsEnumerable(obj, keyName),\n get: undefined\n };\n if (hasOwnProperty(obj, keyName)) {\n m.writeValues(keyName, obj[keyName]);\n desc.get = DEFAULT_GETTER_FUNCTION(keyName);\n } else {\n desc.get = INHERITING_GETTER_FUNCTION(keyName);\n }\n Object.defineProperty(obj, keyName, desc);\n }\n };\n }\n function unwatchKey(obj, keyName, _meta) {\n let meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n // do nothing of this object has already been destroyed\n if (meta$$1 === undefined || meta$$1.isSourceDestroyed()) {\n return;\n }\n let count = meta$$1.peekWatching(keyName);\n if (count === 1) {\n meta$$1.writeWatching(keyName, 0);\n let possibleDesc = (0, _meta2.descriptorFor)(obj, keyName, meta$$1);\n let isDescriptor$$1 = possibleDesc !== undefined;\n if (isDescriptor$$1 && possibleDesc.didUnwatch !== undefined) {\n possibleDesc.didUnwatch(obj, keyName, meta$$1);\n }\n if (typeof obj.didUnwatchProperty === 'function') {\n obj.didUnwatchProperty(keyName);\n }\n if (false /* DEBUG */) {\n // It is true, the following code looks quite WAT. But have no fear, It\n // exists purely to improve development ergonomics and is removed from\n // ember.min.js and ember.prod.js builds.\n //\n // Some further context: Once a property is watched by ember, bypassing `set`\n // for mutation, will bypass observation. This code exists to assert when\n // that occurs, and attempt to provide more helpful feedback. The alternative\n // is tricky to debug partially observable properties.\n if (!isDescriptor$$1 && keyName in obj) {\n let maybeMandatoryDescriptor = (0, _utils.lookupDescriptor)(obj, keyName);\n if (maybeMandatoryDescriptor && maybeMandatoryDescriptor.set && maybeMandatoryDescriptor.set.isMandatorySetter) {\n if (maybeMandatoryDescriptor.get && maybeMandatoryDescriptor.get.isInheritingGetter) {\n let possibleValue = meta$$1.readInheritedValue('values', keyName);\n if (possibleValue === _meta2.UNDEFINED) {\n delete obj[keyName];\n return;\n }\n }\n Object.defineProperty(obj, keyName, {\n configurable: true,\n enumerable: Object.prototype.propertyIsEnumerable.call(obj, keyName),\n writable: true,\n value: meta$$1.peekValues(keyName)\n });\n meta$$1.deleteFromValues(keyName);\n }\n }\n }\n } else if (count > 1) {\n meta$$1.writeWatching(keyName, count - 1);\n }\n }\n\n const EACH_PROXIES = new WeakMap();\n function eachProxyArrayWillChange(array, idx, removedCnt, addedCnt) {\n let eachProxy = EACH_PROXIES.get(array);\n if (eachProxy !== undefined) {\n eachProxy.arrayWillChange(array, idx, removedCnt, addedCnt);\n }\n }\n function eachProxyArrayDidChange(array, idx, removedCnt, addedCnt) {\n let eachProxy = EACH_PROXIES.get(array);\n if (eachProxy !== undefined) {\n eachProxy.arrayDidChange(array, idx, removedCnt, addedCnt);\n }\n }\n\n 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 if (addAmt === undefined) {\n addAmt = -1;\n }\n }\n eachProxyArrayWillChange(array, startIdx, removeAmt, addAmt);\n sendEvent(array, '@array:before', [array, startIdx, removeAmt, addAmt]);\n return array;\n }\n function arrayContentDidChange(array, startIdx, removeAmt, addAmt) {\n // if no args are passed assume everything changes\n if (startIdx === undefined) {\n startIdx = 0;\n removeAmt = addAmt = -1;\n } else {\n if (removeAmt === undefined) {\n removeAmt = -1;\n }\n if (addAmt === undefined) {\n addAmt = -1;\n }\n }\n let meta$$1 = (0, _meta2.peekMeta)(array);\n if (addAmt < 0 || removeAmt < 0 || addAmt - removeAmt !== 0) {\n notifyPropertyChange(array, 'length', meta$$1);\n }\n notifyPropertyChange(array, '[]', meta$$1);\n eachProxyArrayDidChange(array, startIdx, removeAmt, addAmt);\n sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);\n let cache = peekCacheFor(array);\n if (cache !== undefined) {\n let length = array.length;\n let addedAmount = addAmt === -1 ? 0 : addAmt;\n let removedAmount = removeAmt === -1 ? 0 : removeAmt;\n let delta = addedAmount - removedAmount;\n let previousLength = length - delta;\n let normalStartIdx = startIdx < 0 ? previousLength + startIdx : startIdx;\n if (cache.has('firstObject') && normalStartIdx === 0) {\n notifyPropertyChange(array, 'firstObject', meta$$1);\n }\n if (cache.has('lastObject')) {\n let previousLastIndex = previousLength - 1;\n let lastAffectedIndex = normalStartIdx + removedAmount;\n if (previousLastIndex < lastAffectedIndex) {\n notifyPropertyChange(array, 'lastObject', meta$$1);\n }\n }\n }\n return array;\n }\n\n /**\n An object that that tracks @tracked properties that were consumed.\n \n @private\n */\n class Tracker {\n constructor() {\n this.tags = new Set();\n this.last = null;\n }\n add(tag) {\n this.tags.add(tag);\n this.last = tag;\n }\n get size() {\n return this.tags.size;\n }\n combine() {\n if (this.tags.size === 0) {\n return _reference.CONSTANT_TAG;\n } else if (this.tags.size === 1) {\n return this.last;\n } else {\n let tags = [];\n this.tags.forEach(tag => tags.push(tag));\n return (0, _reference.combine)(tags);\n }\n }\n }\n function tracked(...dependencies) {\n let [, key, descriptor] = dependencies;\n if (descriptor === undefined || 'initializer' in descriptor) {\n return descriptorForDataProperty(key, descriptor);\n } else {\n return descriptorForAccessor(key, descriptor);\n }\n }\n /**\n @private\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 let CURRENT_TRACKER = null;\n function getCurrentTracker() {\n return CURRENT_TRACKER;\n }\n function setCurrentTracker(tracker = new Tracker()) {\n return CURRENT_TRACKER = tracker;\n }\n function descriptorForAccessor(key, descriptor) {\n let get = descriptor.get;\n let set = descriptor.set;\n function getter() {\n // Swap the parent tracker for a new tracker\n let old = CURRENT_TRACKER;\n let tracker = CURRENT_TRACKER = new Tracker();\n // Call the getter\n let ret = get.call(this);\n // Swap back the parent tracker\n CURRENT_TRACKER = old;\n // Combine the tags in the new tracker and add them to the parent tracker\n let tag = tracker.combine();\n if (CURRENT_TRACKER) CURRENT_TRACKER.add(tag);\n // Update the UpdatableTag for this property with the tag for all of the\n // consumed dependencies.\n update(tagForProperty(this, key), tag);\n return ret;\n }\n function setter() {\n dirty(tagForProperty(this, key));\n set.apply(this, arguments);\n }\n return {\n enumerable: true,\n configurable: false,\n get: get && getter,\n set: set && setter\n };\n }\n /**\n @private\n \n A getter/setter for change tracking for a particular key. The accessor\n acts just like a normal property, but it triggers the `propertyDidChange`\n hook when written to.\n \n Values are saved on the object using a \"shadow key,\" or a symbol based on the\n tracked property name. Sets write the value to the shadow key, and gets read\n from it.\n */\n function descriptorForDataProperty(key, descriptor) {\n let shadowKey = Symbol(key);\n return {\n enumerable: true,\n configurable: true,\n get() {\n if (CURRENT_TRACKER) CURRENT_TRACKER.add(tagForProperty(this, key));\n if (!(shadowKey in this)) {\n this[shadowKey] = descriptor.value;\n }\n return this[shadowKey];\n },\n set(newValue) {\n tagFor(this).inner['dirty']();\n dirty(tagForProperty(this, key));\n this[shadowKey] = newValue;\n propertyDidChange$1();\n }\n };\n }\n let propertyDidChange$1 = function () {};\n\n /**\n @module @ember/object\n */\n const PROXY_CONTENT = (0, _utils.symbol)('PROXY_CONTENT');\n let getPossibleMandatoryProxyValue;\n if (false /* DEBUG */ && _utils.HAS_NATIVE_PROXY) {\n getPossibleMandatoryProxyValue = function getPossibleMandatoryProxyValue(obj, keyName) {\n let content = obj[PROXY_CONTENT];\n if (content === undefined) {\n return obj[keyName];\n } else {\n /* global Reflect */\n return Reflect.get(content, keyName, obj);\n }\n };\n }\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 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 function get(obj, keyName) {\n false && !(arguments.length === 2) && (0, _debug.assert)(`Get must be called with two arguments; an object and a property key`, arguments.length === 2);\n false && !(obj !== undefined && obj !== null) && (0, _debug.assert)(`Cannot call get with '${keyName}' on an undefined object.`, obj !== undefined && obj !== null);\n false && !(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 false && !(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 let type = typeof obj;\n let isObject = type === 'object';\n let isFunction = type === 'function';\n let isObjectLike = isObject || isFunction;\n let descriptor;\n let value;\n if (isObjectLike) {\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n let tracker = getCurrentTracker();\n if (tracker) tracker.add(tagForProperty(obj, keyName));\n }\n descriptor = (0, _meta2.descriptorFor)(obj, keyName);\n if (descriptor !== undefined) {\n return descriptor.get(obj, keyName);\n }\n if (false /* DEBUG */ && _utils.HAS_NATIVE_PROXY) {\n value = getPossibleMandatoryProxyValue(obj, keyName);\n } else {\n value = obj[keyName];\n }\n } else {\n value = obj[keyName];\n }\n if (value === undefined) {\n if (isPath(keyName)) {\n return _getPath(obj, keyName);\n }\n if (isObject && !(keyName in obj) && typeof obj.unknownProperty === 'function') {\n return obj.unknownProperty(keyName);\n }\n }\n return value;\n }\n function _getPath(root, path) {\n let obj = root;\n let parts = path.split('.');\n for (let i = 0; i < parts.length; i++) {\n if (obj === undefined || obj === null || obj.isDestroyed) {\n return undefined;\n }\n obj = get(obj, parts[i]);\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 function getWithDefault(root, key, defaultValue) {\n let value = get(root, key);\n if (value === undefined) {\n return defaultValue;\n }\n return value;\n }\n\n const EMPTY_ARRAY = Object.freeze([]);\n function objectAt(array, index) {\n if (Array.isArray(array)) {\n return array[index];\n } else {\n return array.objectAt(index);\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 const CHUNK_SIZE = 60000;\n // To avoid overflowing the stack, we splice up to CHUNK_SIZE items at a time.\n // See https://code.google.com/p/chromium/issues/detail?id=56588 for more details.\n function replaceInNativeArray(array, start, deleteCount, items) {\n arrayContentWillChange(array, start, deleteCount, items.length);\n if (items.length <= CHUNK_SIZE) {\n array.splice(start, deleteCount, ...items);\n } else {\n array.splice(start, deleteCount);\n for (let i = 0; i < items.length; i += CHUNK_SIZE) {\n let chunk = items.slice(i, i + CHUNK_SIZE);\n array.splice(start + i, 0, ...chunk);\n }\n }\n arrayContentDidChange(array, start, deleteCount, items.length);\n }\n function arrayObserversHelper(obj, target, opts, operation, notify) {\n let willChange = opts && opts.willChange || 'arrayWillChange';\n let didChange = opts && opts.didChange || 'arrayDidChange';\n let hasObservers = get(obj, 'hasArrayObservers');\n operation(obj, '@array:before', target, willChange);\n operation(obj, '@array:change', target, didChange);\n if (hasObservers === notify) {\n notifyPropertyChange(obj, 'hasArrayObservers');\n }\n return obj;\n }\n function addArrayObserver(array, target, opts) {\n return arrayObserversHelper(array, target, opts, addListener, false);\n }\n function removeArrayObserver(array, target, opts) {\n return arrayObserversHelper(array, target, opts, removeListener, true);\n }\n\n /**\n @module @ember/object\n */\n /**\n @method addObserver\n @static\n @for @ember/object/observers\n @param obj\n @param {String} path\n @param {Object|Function} target\n @param {Function|String} [method]\n @public\n */\n function addObserver(obj, path, target, method) {\n addListener(obj, changeEvent(path), target, method);\n watch(obj, path);\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 function removeObserver(obj, path, target, method) {\n unwatch(obj, path);\n removeListener(obj, changeEvent(path), target, method);\n }\n\n function eachProxyFor(array) {\n let eachProxy = EACH_PROXIES.get(array);\n if (eachProxy === undefined) {\n eachProxy = new EachProxy(array);\n EACH_PROXIES.set(array, eachProxy);\n }\n return eachProxy;\n }\n class EachProxy {\n constructor(content) {\n this._content = content;\n this._keys = undefined;\n (0, _meta2.meta)(this);\n }\n // ..........................................................\n // ARRAY CHANGES\n // Invokes whenever the content array itself changes.\n arrayWillChange(content, idx, removedCnt /*, addedCnt */) {\n // eslint-disable-line no-unused-vars\n let keys = this._keys;\n if (!keys) {\n return;\n }\n let lim = removedCnt > 0 ? idx + removedCnt : -1;\n if (lim > 0) {\n for (let key in keys) {\n removeObserverForContentKey(content, key, this, idx, lim);\n }\n }\n }\n arrayDidChange(content, idx, _removedCnt, addedCnt) {\n let keys = this._keys;\n if (!keys) {\n return;\n }\n let lim = addedCnt > 0 ? idx + addedCnt : -1;\n let meta$$1 = (0, _meta2.peekMeta)(this);\n for (let key in keys) {\n if (lim > 0) {\n addObserverForContentKey(content, key, this, idx, lim);\n }\n notifyPropertyChange(this, key, meta$$1);\n }\n }\n // ..........................................................\n // LISTEN FOR NEW OBSERVERS AND OTHER EVENT LISTENERS\n // Start monitoring keys based on who is listening...\n willWatchProperty(property) {\n this.beginObservingContentKey(property);\n }\n didUnwatchProperty(property) {\n this.stopObservingContentKey(property);\n }\n // ..........................................................\n // CONTENT KEY OBSERVING\n // Actual watch keys on the source content.\n beginObservingContentKey(keyName) {\n let keys = this._keys;\n if (keys === undefined) {\n keys = this._keys = Object.create(null);\n }\n if (!keys[keyName]) {\n keys[keyName] = 1;\n let content = this._content;\n let len = content.length;\n addObserverForContentKey(content, keyName, this, 0, len);\n } else {\n keys[keyName]++;\n }\n }\n stopObservingContentKey(keyName) {\n let keys = this._keys;\n if (keys !== undefined && keys[keyName] > 0 && --keys[keyName] <= 0) {\n let content = this._content;\n let len = content.length;\n removeObserverForContentKey(content, keyName, this, 0, len);\n }\n }\n contentKeyDidChange(_obj, keyName) {\n notifyPropertyChange(this, keyName);\n }\n }\n function addObserverForContentKey(content, keyName, proxy, idx, loc) {\n while (--loc >= idx) {\n let item = objectAt(content, loc);\n if (item) {\n false && !(typeof item === 'object') && (0, _debug.assert)(`When using @each to observe the array \\`${content.toString()}\\`, the array must return an object`, typeof item === 'object');\n\n addObserver(item, keyName, proxy, 'contentKeyDidChange');\n }\n }\n }\n function removeObserverForContentKey(content, keyName, proxy, idx, loc) {\n while (--loc >= idx) {\n let item = objectAt(content, loc);\n if (item) {\n removeObserver(item, keyName, proxy, 'contentKeyDidChange');\n }\n }\n }\n\n function isObject(obj) {\n return typeof obj === 'object' && obj !== null;\n }\n function isVolatile(obj, keyName, meta$$1) {\n let desc = (0, _meta2.descriptorFor)(obj, keyName, meta$$1);\n return !(desc !== undefined && desc._volatile === false);\n }\n class ChainWatchers {\n constructor() {\n // chain nodes that reference a key in this obj by key\n // we only create ChainWatchers when we are going to add them\n // so create this upfront\n this.chains = Object.create(null);\n }\n add(key, node) {\n let nodes = this.chains[key];\n if (nodes === undefined) {\n this.chains[key] = [node];\n } else {\n nodes.push(node);\n }\n }\n remove(key, node) {\n let nodes = this.chains[key];\n if (nodes !== undefined) {\n for (let i = 0; i < nodes.length; i++) {\n if (nodes[i] === node) {\n nodes.splice(i, 1);\n break;\n }\n }\n }\n }\n has(key, node) {\n let nodes = this.chains[key];\n if (nodes !== undefined) {\n for (let i = 0; i < nodes.length; i++) {\n if (nodes[i] === node) {\n return true;\n }\n }\n }\n return false;\n }\n revalidateAll() {\n for (let key in this.chains) {\n this.notify(key, true, undefined);\n }\n }\n revalidate(key) {\n this.notify(key, true, undefined);\n }\n // key: the string key that is part of a path changed\n // revalidate: boolean; the chains that are watching this value should revalidate\n // callback: function that will be called with the object and path that\n // will be/are invalidated by this key change, depending on\n // whether the revalidate flag is passed\n notify(key, revalidate, callback) {\n let nodes = this.chains[key];\n if (nodes === undefined || nodes.length === 0) {\n return;\n }\n let affected = undefined;\n if (callback !== undefined) {\n affected = [];\n }\n for (let i = 0; i < nodes.length; i++) {\n nodes[i].notify(revalidate, affected);\n }\n if (callback === undefined) {\n return;\n }\n // we gather callbacks so we don't notify them during revalidation\n for (let i = 0; i < affected.length; i += 2) {\n let obj = affected[i];\n let path = affected[i + 1];\n callback(obj, path);\n }\n }\n }\n function makeChainWatcher() {\n return new ChainWatchers();\n }\n function makeChainNode(obj) {\n return new ChainNode(null, null, obj);\n }\n function addChainWatcher(obj, keyName, node) {\n let m = (0, _meta2.meta)(obj);\n m.writableChainWatchers(makeChainWatcher).add(keyName, node);\n watchKey(obj, keyName, m);\n }\n function removeChainWatcher(obj, keyName, node, _meta) {\n if (!isObject(obj)) {\n return;\n }\n let meta$$1 = _meta === undefined ? (0, _meta2.peekMeta)(obj) : _meta;\n if (meta$$1 === undefined || meta$$1.isSourceDestroying() || meta$$1.isMetaDestroyed() || meta$$1.readableChainWatchers() === undefined) {\n return;\n }\n // make meta writable\n meta$$1 = (0, _meta2.meta)(obj);\n meta$$1.readableChainWatchers().remove(keyName, node);\n unwatchKey(obj, keyName, meta$$1);\n }\n const NODE_STACK = [];\n function destroyRoot(root) {\n pushChildren(root);\n while (NODE_STACK.length > 0) {\n let node = NODE_STACK.pop();\n pushChildren(node);\n destroyOne(node);\n }\n }\n function destroyOne(node) {\n if (node.isWatching) {\n removeChainWatcher(node.object, node.key, node);\n node.isWatching = false;\n }\n }\n function pushChildren(node) {\n let nodes = node.chains;\n if (nodes !== undefined) {\n for (let key in nodes) {\n if (nodes[key] !== undefined) {\n NODE_STACK.push(nodes[key]);\n }\n }\n }\n }\n // A ChainNode watches a single key on an object. If you provide a starting\n // value for the key then the node won't actually watch it. For a root node\n // pass null for parent and key and object for value.\n class ChainNode {\n constructor(parent, key, value) {\n this.paths = undefined;\n this.isWatching = false;\n this.chains = undefined;\n this.object = undefined;\n this.count = 0;\n this.parent = parent;\n this.key = key;\n this.content = value;\n // It is false for the root of a chain (because we have no parent)\n let isWatching = this.isWatching = parent !== null;\n if (isWatching) {\n let parentValue = parent.value();\n if (isObject(parentValue)) {\n this.object = parentValue;\n addChainWatcher(parentValue, key, this);\n }\n }\n }\n value() {\n if (this.content === undefined && this.isWatching) {\n let obj = this.parent.value();\n this.content = lazyGet(obj, this.key);\n }\n return this.content;\n }\n destroy() {\n // check if root\n if (this.parent === null) {\n destroyRoot(this);\n } else {\n destroyOne(this);\n }\n }\n // copies a top level object only\n copyTo(target) {\n let paths = this.paths;\n if (paths !== undefined) {\n let path;\n for (path in paths) {\n if (paths[path] > 0) {\n target.add(path);\n }\n }\n }\n }\n // called on the root node of a chain to setup watchers on the specified\n // path.\n add(path) {\n let paths = this.paths || (this.paths = {});\n paths[path] = (paths[path] || 0) + 1;\n let tails = path.split('.');\n this.chain(tails.shift(), tails);\n }\n // called on the root node of a chain to teardown watcher on the specified\n // path\n remove(path) {\n let paths = this.paths;\n if (paths === undefined) {\n return;\n }\n if (paths[path] > 0) {\n paths[path]--;\n }\n let tails = path.split('.');\n this.unchain(tails.shift(), tails);\n }\n chain(key, tails) {\n let chains = this.chains;\n if (chains === undefined) {\n chains = this.chains = Object.create(null);\n }\n let node = chains[key];\n if (node === undefined) {\n node = chains[key] = new ChainNode(this, key, undefined);\n }\n node.count++; // count chains...\n // chain rest of path if there is one\n if (tails.length > 0) {\n node.chain(tails.shift(), tails);\n }\n }\n unchain(key, tails) {\n let chains = this.chains;\n let node = chains[key];\n // unchain rest of path first...\n if (tails.length > 0) {\n node.unchain(tails.shift(), tails);\n }\n // delete node if needed.\n node.count--;\n if (node.count <= 0) {\n chains[node.key] = undefined;\n node.destroy();\n }\n }\n notify(revalidate, affected) {\n if (revalidate && this.isWatching) {\n let parentValue = this.parent.value();\n if (parentValue !== this.object) {\n removeChainWatcher(this.object, this.key, this);\n if (isObject(parentValue)) {\n this.object = parentValue;\n addChainWatcher(parentValue, this.key, this);\n } else {\n this.object = undefined;\n }\n }\n this.content = undefined;\n }\n // then notify chains...\n let chains = this.chains;\n if (chains !== undefined) {\n let node;\n for (let key in chains) {\n node = chains[key];\n if (node !== undefined) {\n node.notify(revalidate, affected);\n }\n }\n }\n if (affected !== undefined && this.parent !== null) {\n this.parent.populateAffected(this.key, 1, affected);\n }\n }\n populateAffected(path, depth, affected) {\n if (this.key) {\n path = `${this.key}.${path}`;\n }\n if (this.parent !== null) {\n this.parent.populateAffected(path, depth + 1, affected);\n } else if (depth > 1) {\n affected.push(this.value(), path);\n }\n }\n }\n function lazyGet(obj, key) {\n if (!isObject(obj)) {\n return;\n }\n let meta$$1 = (0, _meta2.peekMeta)(obj);\n // check if object meant only to be a prototype\n if (meta$$1 !== undefined && meta$$1.proto === obj) {\n return;\n }\n // Use `get` if the return value is an EachProxy or an uncacheable value.\n if (key === '@each') {\n return eachProxyFor(obj);\n } else if (isVolatile(obj, key, meta$$1)) {\n return get(obj, key);\n // Otherwise attempt to get the cached value of the computed property\n } else {\n return getCachedValueFor(obj, key);\n }\n }\n function finishChains(meta$$1) {\n // finish any current chains node watchers that reference obj\n let chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.revalidateAll();\n }\n // ensure that if we have inherited any chains they have been\n // copied onto our own meta.\n if (meta$$1.readableChains() !== undefined) {\n meta$$1.writableChains(makeChainNode);\n }\n }\n\n function watchPath(obj, keyPath, meta$$1) {\n let m = meta$$1 === undefined ? (0, _meta2.meta)(obj) : meta$$1;\n let counter = m.peekWatching(keyPath);\n m.writeWatching(keyPath, counter + 1);\n if (counter === 0) {\n // activate watching first time\n m.writableChains(makeChainNode).add(keyPath);\n }\n }\n function unwatchPath(obj, keyPath, meta$$1) {\n let m = meta$$1 === undefined ? (0, _meta2.peekMeta)(obj) : meta$$1;\n if (m === undefined) {\n return;\n }\n let counter = m.peekWatching(keyPath);\n if (counter > 0) {\n m.writeWatching(keyPath, counter - 1);\n if (counter === 1) {\n m.writableChains(makeChainNode).remove(keyPath);\n }\n }\n }\n\n /**\n @module ember\n */\n /**\n Starts watching a property on an object. Whenever the property changes,\n invokes `Ember.notifyPropertyChange`. This is the primitive used by observers\n and dependent keys; usually you will never call this method directly but instead\n use higher level methods like `addObserver()`.\n \n @private\n @method watch\n @for Ember\n @param obj\n @param {String} keyPath\n @param {Object} meta\n */\n function watch(obj, keyPath, meta$$1) {\n if (isPath(keyPath)) {\n watchPath(obj, keyPath, meta$$1);\n } else {\n watchKey(obj, keyPath, meta$$1);\n }\n }\n function isWatching(obj, key) {\n return watcherCount(obj, key) > 0;\n }\n function watcherCount(obj, key) {\n let meta$$1 = (0, _meta2.peekMeta)(obj);\n return meta$$1 !== undefined && meta$$1.peekWatching(key) || 0;\n }\n /**\n Stops watching a property on an object. Usually you will never call this method directly but instead\n use higher level methods like `removeObserver()`.\n \n @private\n @method unwatch\n @for Ember\n @param obj\n @param {String} keyPath\n @param {Object} meta\n */\n function unwatch(obj, keyPath, meta$$1) {\n if (isPath(keyPath)) {\n unwatchPath(obj, keyPath, meta$$1);\n } else {\n unwatchKey(obj, keyPath, meta$$1);\n }\n }\n\n // ..........................................................\n // DEPENDENT KEYS\n //\n function addDependentKeys(desc, obj, keyName, meta$$1) {\n // the descriptor has a list of dependent keys, so\n // add all of its dependent keys.\n let depKeys = desc._dependentKeys;\n if (depKeys === null || depKeys === undefined) {\n return;\n }\n for (let idx = 0; idx < depKeys.length; idx++) {\n let depKey = depKeys[idx];\n // Increment the number of times depKey depends on keyName.\n meta$$1.writeDeps(depKey, keyName, meta$$1.peekDeps(depKey, keyName) + 1);\n // Watch the depKey\n watch(obj, depKey, meta$$1);\n }\n }\n function removeDependentKeys(desc, obj, keyName, meta$$1) {\n // the descriptor has a list of dependent keys, so\n // remove all of its dependent keys.\n let depKeys = desc._dependentKeys;\n if (depKeys === null || depKeys === undefined) {\n return;\n }\n for (let idx = 0; idx < depKeys.length; idx++) {\n let depKey = depKeys[idx];\n // Decrement the number of times depKey depends on keyName.\n meta$$1.writeDeps(depKey, keyName, meta$$1.peekDeps(depKey, keyName) - 1);\n // Unwatch the depKey\n unwatch(obj, depKey, meta$$1);\n }\n }\n\n /**\n @module @ember/object\n */\n const 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 function expandProperties(pattern, callback) {\n false && !(typeof pattern === 'string') && (0, _debug.assert)(`A computed property key must be a string, you passed ${typeof pattern} ${pattern}`, typeof pattern === 'string');\n false && !(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);\n // regex to look for double open, double close, or unclosed braces\n\n false && !(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\n let start = pattern.indexOf('{');\n if (start < 0) {\n callback(pattern.replace(END_WITH_EACH_REGEX, '.[]'));\n } else {\n dive('', pattern, start, callback);\n }\n }\n function dive(prefix, pattern, start, callback) {\n let end = pattern.indexOf('}'),\n i = 0,\n newStart,\n arrayLength;\n let tempArr = pattern.substring(start + 1, end).split(',');\n let after = pattern.substring(end + 1);\n prefix = prefix + pattern.substring(0, start);\n arrayLength = tempArr.length;\n while (i < arrayLength) {\n newStart = after.indexOf('{');\n if (newStart < 0) {\n callback((prefix + tempArr[i++] + after).replace(END_WITH_EACH_REGEX, '.[]'));\n } else {\n dive(prefix + tempArr[i++], after, newStart, callback);\n }\n }\n }\n\n let setWithMandatorySetter;\n let makeEnumerable;\n /**\n @module @ember/object\n */\n /**\n Sets the value of a property on an object, respecting computed properties\n and notifying observers and other listeners of the change.\n If the specified property is not defined on the object and the object\n implements the `setUnknownProperty` method, then instead of setting the\n value of the property on the object, its `setUnknownProperty` handler\n will be invoked with the two parameters `keyName` and `value`.\n \n ```javascript\n import { set } from '@ember/object';\n set(obj, \"name\", value);\n ```\n \n @method set\n @static\n @for @ember/object\n @param {Object} obj The object to modify.\n @param {String} keyName The property key to set\n @param {Object} value The value to set\n @return {Object} the passed value.\n @public\n */\n function set(obj, keyName, value, tolerant) {\n false && !(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 false && !(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 false && !(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 false && !(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 false && !tolerant && (0, _debug.assert)(`calling set on destroyed object: ${(0, _utils.toString)(obj)}.${keyName} = ${(0, _utils.toString)(value)}`, tolerant);\n\n return;\n }\n if (isPath(keyName)) {\n return setPath(obj, keyName, value, tolerant);\n }\n let possibleDesc = (0, _meta2.descriptorFor)(obj, keyName);\n if (possibleDesc !== undefined) {\n /* computed property */\n possibleDesc.set(obj, keyName, value);\n return value;\n }\n let currentValue;\n if (false /* DEBUG */ && _utils.HAS_NATIVE_PROXY) {\n currentValue = getPossibleMandatoryProxyValue(obj, keyName);\n } else {\n currentValue = obj[keyName];\n }\n if (currentValue === undefined && 'object' === typeof obj && !(keyName in obj) && typeof obj.setUnknownProperty === 'function') {\n /* unknown property */\n obj.setUnknownProperty(keyName, value);\n } else {\n let meta$$1 = (0, _meta2.peekMeta)(obj);\n if (false /* DEBUG */) {\n setWithMandatorySetter(meta$$1, obj, keyName, value);\n } else {\n obj[keyName] = value;\n }\n if (currentValue !== value) {\n notifyPropertyChange(obj, keyName, meta$$1);\n }\n }\n return value;\n }\n if (false /* DEBUG */) {\n setWithMandatorySetter = (meta$$1, obj, keyName, value) => {\n if (meta$$1 !== undefined && meta$$1.peekWatching(keyName) > 0) {\n makeEnumerable(obj, keyName);\n meta$$1.writeValue(obj, keyName, value);\n } else {\n obj[keyName] = value;\n }\n };\n makeEnumerable = (obj, key) => {\n let desc = Object.getOwnPropertyDescriptor(obj, key);\n if (desc && desc.set && desc.set.isMandatorySetter) {\n desc.enumerable = true;\n Object.defineProperty(obj, key, desc);\n }\n };\n }\n function setPath(root, path, value, tolerant) {\n let parts = path.split('.');\n let keyName = parts.pop();\n false && !(keyName.trim().length > 0) && (0, _debug.assert)('Property set failed: You passed an empty path', keyName.trim().length > 0);\n\n let newPath = parts.join('.');\n let newRoot = _getPath(root, newPath);\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 \"${newPath}\" 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 function trySet(root, path, value) {\n return set(root, path, value, true);\n }\n\n /**\n @module @ember/object\n */\n const DEEP_EACH_REGEX = /\\.@each\\.[^.]+\\./;\n function noop() {}\n /**\n A computed property transforms an object literal with object's accessor function(s) into a property.\n \n By default the function backing the computed property will only be called\n once and the result will be cached. You can specify various properties\n that your computed property depends on. This will force the cached\n result to be recomputed if the dependencies are modified.\n \n In the following example we declare a computed property - `fullName` - by calling\n `computed` with property dependencies (`firstName` and `lastName`) as leading arguments and getter accessor function. The `fullName` getter function\n will be called once (regardless of how many times it is accessed) as long\n as its dependencies have not changed. Once `firstName` or `lastName` are updated\n any future calls (or anything bound) to `fullName` will incorporate the new\n values.\n \n ```javascript\n import EmberObject, { computed } 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', function() {\n let firstName = this.get('firstName'),\n lastName = this.get('lastName');\n \n return `${firstName} ${lastName}`;\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 also define what Ember should do when setting a computed property by providing additional function (`set`) in hash argument.\n If you try to set a computed property, it will try to invoke setter accessor function with the key and\n value you want to set it to as arguments.\n \n ```javascript\n import EmberObject, { computed } 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(key) {\n let firstName = this.get('firstName'),\n lastName = this.get('lastName');\n \n return firstName + ' ' + lastName;\n },\n set(key, value) {\n let [firstName, lastName] = value.split(' ');\n \n this.set('firstName', firstName);\n this.set('lastName', lastName);\n \n return value;\n }\n })\n });\n \n let person = Person.create();\n \n person.set('fullName', 'Peter Wagenet');\n person.get('firstName'); // 'Peter'\n person.get('lastName'); // 'Wagenet'\n ```\n \n You can overwrite computed property with normal property (no longer computed), that won't change if dependencies change, if you set computed property and it won't have setter accessor function defined.\n \n You can also mark computed property as `.readOnly()` and block all attempts to set it.\n \n ```javascript\n import EmberObject, { computed } 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(key) {\n let firstName = this.get('firstName');\n let lastName = this.get('lastName');\n \n return firstName + ' ' + lastName;\n }\n }).readOnly()\n });\n \n let person = Person.create();\n person.set('fullName', 'Peter Wagenet'); // Uncaught Error: Cannot set read-only property \"fullName\" on object: <(...):emberXXX>\n ```\n \n Additional resources:\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 class ComputedProperty extends Descriptor {\n constructor(config, opts) {\n super();\n let hasGetterOnly = typeof config === 'function';\n if (hasGetterOnly) {\n this._getter = config;\n } else {\n const objectConfig = config;\n false && !(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 false && !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 false && !(!!objectConfig.get || !!objectConfig.set) && (0, _debug.assert)('Computed properties must receive a getter or a setter, you passed none.', !!objectConfig.get || !!objectConfig.set);\n\n this._getter = objectConfig.get || noop;\n this._setter = objectConfig.set;\n }\n this._suspended = undefined;\n this._meta = undefined;\n this._volatile = false;\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n this._auto = false;\n }\n this._dependentKeys = opts && opts.dependentKeys;\n this._readOnly = !!opts && hasGetterOnly && opts.readOnly === true;\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 ```javascript\n import EmberObject, { computed } from '@ember/object';\n let outsideService = EmberObject.extend({\n value: computed(function() {\n return OutsideService.getValue();\n }).volatile()\n }).create();\n ```\n @method volatile\n @return {ComputedProperty} this\n @chainable\n @public\n */\n volatile() {\n this._volatile = true;\n return this;\n }\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 ```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 this._readOnly = true;\n false && !!(this._readOnly && this._setter && this._setter !== this._getter) && (0, _debug.assert)('Computed properties that define a setter using the new syntax cannot be read-only', !(this._readOnly && this._setter && this._setter !== this._getter));\n\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 ```javascript\n import EmberObject, { computed } from '@ember/object';\n let President = EmberObject.extend({\n fullName: computed('firstName', 'lastName', function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n // Tell Ember that this computed property depends on firstName\n // and lastName\n })\n });\n let president = President.create({\n firstName: 'Barack',\n lastName: 'Obama'\n });\n president.get('fullName'); // 'Barack Obama'\n ```\n @method property\n @param {String} path* zero or more property paths\n @return {ComputedProperty} this\n @chainable\n @public\n */\n property(...passedArgs) {\n let args = [];\n function addArg(property) {\n false && (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, { id: 'ember-metal.computed-deep-each' });\n\n args.push(property);\n }\n for (let i = 0; i < passedArgs.length; i++) {\n expandProperties(passedArgs[i], addArg);\n }\n this._dependentKeys = args;\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.\n You can pass a hash of these values to a computed property like this:\n ```\n import { computed } from '@ember/object';\n import Person from 'my-app/utils/person';\n person: computed(function() {\n let personId = this.get('personId');\n return Person.create({ id: personId });\n }).meta({ type: Person })\n ```\n The hash that you pass to the `meta()` function will be saved on the\n computed property descriptor under the `_meta` key. Ember runtime\n exposes a public API for retrieving these values from classes,\n via the `metaForProperty()` function.\n @method meta\n @param {Object} meta\n @chainable\n @public\n */\n meta(meta$$1) {\n if (arguments.length === 0) {\n return this._meta || {};\n } else {\n this._meta = meta$$1;\n return this;\n }\n }\n // invalidate cache when CP key changes\n didChange(obj, keyName) {\n // _suspended is set via a CP.set to ensure we don't clear\n // the cached value set by the setter\n if (this._volatile || this._suspended === obj) {\n return;\n }\n // don't create objects just to invalidate\n let meta$$1 = (0, _meta2.peekMeta)(obj);\n if (meta$$1 === undefined || meta$$1.source !== obj) {\n return;\n }\n let cache = peekCacheFor(obj);\n if (cache !== undefined && cache.delete(keyName)) {\n removeDependentKeys(this, obj, keyName, meta$$1);\n }\n }\n get(obj, keyName) {\n if (this._volatile) {\n return this._getter.call(obj, keyName);\n }\n let cache = getCacheFor(obj);\n let propertyTag;\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n propertyTag = tagForProperty(obj, keyName);\n if (cache.has(keyName)) {\n // special-case for computed with no dependent keys used to\n // trigger cacheable behavior.\n if (!this._auto && (!this._dependentKeys || this._dependentKeys.length === 0)) {\n return cache.get(keyName);\n }\n let lastRevision = getLastRevisionFor(obj, keyName);\n if (propertyTag.validate(lastRevision)) {\n return cache.get(keyName);\n }\n }\n } else {\n if (cache.has(keyName)) {\n return cache.get(keyName);\n }\n }\n let parent;\n let tracker;\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n parent = getCurrentTracker();\n tracker = setCurrentTracker();\n }\n let ret = this._getter.call(obj, keyName);\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n setCurrentTracker(parent);\n let tag = tracker.combine();\n if (parent) parent.add(tag);\n update(propertyTag, tag);\n setLastRevisionFor(obj, keyName, propertyTag.value());\n }\n cache.set(keyName, ret);\n let meta$$1 = (0, _meta2.meta)(obj);\n let chainWatchers = meta$$1.readableChainWatchers();\n if (chainWatchers !== undefined) {\n chainWatchers.revalidate(keyName);\n }\n addDependentKeys(this, obj, keyName, meta$$1);\n return ret;\n }\n set(obj, keyName, value) {\n if (this._readOnly) {\n this._throwReadOnlyError(obj, keyName);\n }\n if (!this._setter) {\n return this.clobberSet(obj, keyName, value);\n }\n if (this._volatile) {\n return this.volatileSet(obj, keyName, value);\n }\n return this.setWithSuspend(obj, keyName, value);\n }\n _throwReadOnlyError(obj, keyName) {\n throw new _error.default(`Cannot set read-only property \"${keyName}\" on object: ${(0, _utils.inspect)(obj)}`);\n }\n clobberSet(obj, keyName, value) {\n let cachedValue = getCachedValueFor(obj, keyName);\n defineProperty(obj, keyName, null, cachedValue);\n set(obj, keyName, value);\n return value;\n }\n volatileSet(obj, keyName, value) {\n return this._setter.call(obj, keyName, value);\n }\n setWithSuspend(obj, keyName, value) {\n let oldSuspended = this._suspended;\n this._suspended = obj;\n try {\n return this._set(obj, keyName, value);\n } finally {\n this._suspended = oldSuspended;\n }\n }\n _set(obj, keyName, value) {\n let cache = getCacheFor(obj);\n let hadCachedValue = cache.has(keyName);\n let cachedValue = cache.get(keyName);\n let ret = this._setter.call(obj, keyName, value, cachedValue);\n // allows setter to return the same value that is cached already\n if (hadCachedValue && cachedValue === ret) {\n return ret;\n }\n let meta$$1 = (0, _meta2.meta)(obj);\n if (!hadCachedValue) {\n addDependentKeys(this, obj, keyName, meta$$1);\n }\n cache.set(keyName, ret);\n notifyPropertyChange(obj, keyName, meta$$1);\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n let propertyTag = tagForProperty(obj, keyName);\n setLastRevisionFor(obj, keyName, propertyTag.value());\n }\n return ret;\n }\n /* called before property is overridden */\n teardown(obj, keyName, meta$$1) {\n if (this._volatile) {\n return;\n }\n let cache = peekCacheFor(obj);\n if (cache !== undefined && cache.delete(keyName)) {\n removeDependentKeys(this, obj, keyName, meta$$1);\n }\n super.teardown(obj, keyName, meta$$1);\n }\n }\n if (false /* EMBER_METAL_TRACKED_PROPERTIES */) {\n ComputedProperty.prototype.auto = function () {\n this._auto = true;\n return this;\n };\n }\n /**\n This helper returns a new property descriptor that wraps the passed\n computed property function. You can use this helper to define properties\n with mixins or via `defineProperty()`.\n \n If you pass a function as an argument, it will be used as a getter. A computed\n property defined in this way might look like this:\n \n ```js\n import EmberObject, { computed } from '@ember/object';\n \n let Person = EmberObject.extend({\n init() {\n this._super(...arguments);\n \n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n \n fullName: computed('firstName', 'lastName', function() {\n return `${this.get('firstName')} ${this.get('lastName')}`;\n })\n });\n \n let client = Person.create();\n \n client.get('fullName'); // 'Betty Jones'\n \n client.set('lastName', 'Fuller');\n client.get('fullName'); // 'Betty Fuller'\n ```\n \n You can pass a hash with two functions, `get` and `set`, as an\n argument to provide both a getter and setter:\n \n ```js\n import EmberObject, { computed } from '@ember/object';\n \n let Person = EmberObject.extend({\n init() {\n this._super(...arguments);\n \n this.firstName = 'Betty';\n this.lastName = 'Jones';\n },\n \n fullName: computed('firstName', 'lastName', {\n get(key) {\n return `${this.get('firstName')} ${this.get('lastName')}`;\n },\n set(key, value) {\n let [firstName, lastName] = value.split(/\\s+/);\n this.setProperties({ firstName, lastName });\n return value;\n }\n })\n });\n \n let client = Person.create();\n client.get('firstName'); // 'Betty'\n \n client.set('fullName', 'Carroll Fuller');\n client.get('firstName'); // 'Carroll'\n ```\n \n The `set` function should accept two parameters, `key` and `value`. The value\n returned from `set` will be the new value of the property.\n \n _Note: This is the preferred way to define computed properties when writing third-party\n libraries that depend on or use Ember, since there is no guarantee that the user\n will have [prototype Extensions](https://guides.emberjs.com/release/configuring-ember/disabling-prototype-extensions/) enabled._\n \n The alternative syntax, with prototype extensions, might look like:\n \n ```js\n fullName: function() {\n return this.get('firstName') + ' ' + this.get('lastName');\n }.property('firstName', 'lastName')\n ```\n \n @method computed\n @for @ember/object\n @static\n @param {String} [dependentKeys*] Optional dependent keys that trigger this computed property.\n @param {Function} func The computed property function.\n @return {ComputedProperty} property descriptor instance\n @public\n */\n function computed(...args) {\n let func = args.pop();\n let cp = new ComputedProperty(func);\n if (args.length > 0) {\n cp.property(...args);\n }\n return cp;\n }\n // used for the Ember.computed global only\n const _globalsComputed = computed.bind(null);\n\n const CONSUMED = Object.freeze({});\n function alias(altKey) {\n return new AliasedProperty(altKey);\n }\n class AliasedProperty extends Descriptor {\n constructor(altKey) {\n super();\n this.altKey = altKey;\n this._dependentKeys = [altKey];\n }\n setup(obj, keyName, meta$$1) {\n false && !(this.altKey !== keyName) && (0, _debug.assert)(`Setting alias '${keyName}' on self`, this.altKey !== keyName);\n\n super.setup(obj, keyName, meta$$1);\n if (meta$$1.peekWatching(keyName) > 0) {\n this.consume(obj, keyName, meta$$1);\n }\n }\n teardown(obj, keyName, meta$$1) {\n this.unconsume(obj, keyName, meta$$1);\n super.teardown(obj, keyName, meta$$1);\n }\n willWatch(obj, keyName, meta$$1) {\n this.consume(obj, keyName, meta$$1);\n }\n didUnwatch(obj, keyName, meta$$1) {\n this.unconsume(obj, keyName, meta$$1);\n }\n get(obj, keyName) {\n let ret = get(obj, this.altKey);\n this.consume(obj, keyName, (0, _meta2.meta)(obj));\n return ret;\n }\n unconsume(obj, keyName, meta$$1) {\n let wasConsumed = getCachedValueFor(obj, keyName) === CONSUMED;\n if (wasConsumed || meta$$1.peekWatching(keyName) > 0) {\n removeDependentKeys(this, obj, keyName, meta$$1);\n }\n if (wasConsumed) {\n getCacheFor(obj).delete(keyName);\n }\n }\n consume(obj, keyName, meta$$1) {\n let cache = getCacheFor(obj);\n if (cache.get(keyName) !== CONSUMED) {\n cache.set(keyName, CONSUMED);\n addDependentKeys(this, obj, keyName, meta$$1);\n }\n }\n set(obj, _keyName, value) {\n return set(obj, this.altKey, value);\n }\n readOnly() {\n this.set = AliasedProperty_readOnlySet;\n return this;\n }\n oneWay() {\n this.set = AliasedProperty_oneWaySet;\n return this;\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 function AliasedProperty_oneWaySet(obj, keyName, value) {\n defineProperty(obj, keyName, null);\n return set(obj, keyName, value);\n }\n // Backwards compatibility with Ember Data.\n AliasedProperty.prototype._meta = undefined;\n AliasedProperty.prototype.meta = ComputedProperty.prototype.meta;\n\n /**\n @module ember\n */\n /**\n Used internally to allow changing properties in a backwards compatible way, and print a helpful\n deprecation warning.\n \n @method deprecateProperty\n @param {Object} object The object to add the deprecated property to.\n @param {String} deprecatedKey The property to add (and print deprecation warnings upon accessing).\n @param {String} newKey The property that will be aliased.\n @private\n @since 1.7.0\n */\n function deprecateProperty(object, deprecatedKey, newKey, options) {\n function _deprecate() {\n false && !false && (0, _debug.deprecate)(`Usage of \\`${deprecatedKey}\\` is deprecated, use \\`${newKey}\\` instead.`, false, options);\n }\n Object.defineProperty(object, deprecatedKey, {\n configurable: true,\n enumerable: false,\n set(value) {\n _deprecate();\n set(this, newKey, value);\n },\n get() {\n _deprecate();\n return get(this, newKey);\n }\n });\n }\n\n /**\n @module @ember/utils\n */\n /**\n Returns true if the passed value is null or undefined. This avoids errors\n from JSLint complaining about use of ==, which can be technically\n confusing.\n \n ```javascript\n isNone(); // 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 function isNone(obj) {\n return obj === null || obj === undefined;\n }\n\n /**\n @module @ember/utils\n */\n /**\n Verifies that a value is `null` or `undefined`, an empty string, or an empty\n array.\n \n Constrains the rules on `isNone` by returning true for empty strings and\n empty arrays.\n \n If the value is an object with a `size` property of type number, it is used\n to check emptiness.\n \n ```javascript\n isEmpty(); // 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 function isEmpty(obj) {\n let none = obj === null || obj === undefined;\n if (none) {\n return none;\n }\n if (typeof obj.size === 'number') {\n return !obj.size;\n }\n let objectType = typeof obj;\n if (objectType === 'object') {\n let size = get(obj, 'size');\n if (typeof size === 'number') {\n return !size;\n }\n }\n if (typeof obj.length === 'number' && objectType !== 'function') {\n return !obj.length;\n }\n if (objectType === 'object') {\n let length = get(obj, 'length');\n if (typeof length === 'number') {\n return !length;\n }\n }\n return false;\n }\n\n /**\n @module @ember/utils\n */\n /**\n A value is blank if it is empty or a whitespace string.\n \n ```javascript\n import { isBlank } from '@ember/utils';\n \n isBlank(); // 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 function isBlank(obj) {\n return isEmpty(obj) || typeof obj === 'string' && /\\S/.test(obj) === false;\n }\n\n /**\n @module @ember/utils\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 function isPresent(obj) {\n return !isBlank(obj);\n }\n\n /**\n @module ember\n */\n /**\n Helper class that allows you to register your library with Ember.\n \n Singleton created at `Ember.libraries`.\n \n @class Libraries\n @constructor\n @private\n */\n class Libraries {\n constructor() {\n this._registry = [];\n this._coreLibIndex = 0;\n }\n _getLibraryByName(name) {\n let libs = this._registry;\n let count = libs.length;\n for (let i = 0; i < count; i++) {\n if (libs[i].name === name) {\n return libs[i];\n }\n }\n return undefined;\n }\n register(name, version, isCoreLibrary) {\n let index = this._registry.length;\n if (!this._getLibraryByName(name)) {\n if (isCoreLibrary) {\n index = this._coreLibIndex++;\n }\n this._registry.splice(index, 0, { name, version });\n } else {\n false && (0, _debug.warn)(`Library \"${name}\" is already registered with Ember.`, false, {\n id: 'ember-metal.libraries-register'\n });\n }\n }\n registerCoreLibrary(name, version) {\n this.register(name, version, true);\n }\n deRegister(name) {\n let lib = this._getLibraryByName(name);\n let index;\n if (lib) {\n index = this._registry.indexOf(lib);\n this._registry.splice(index, 1);\n }\n }\n }\n if (false /* EMBER_LIBRARIES_ISREGISTERED */) {\n Libraries.prototype.isRegistered = function (name) {\n return !!this._getLibraryByName(name);\n };\n }\n if (false /* DEBUG */) {\n Libraries.prototype.logVersions = function () {\n let libs = this._registry;\n let nameLengths = libs.map(item => get(item, 'name.length'));\n let maxNameLength = Math.max.apply(null, nameLengths);\n (0, _debug.debug)('-------------------------------');\n for (let i = 0; i < libs.length; i++) {\n let lib = libs[i];\n let spaces = new Array(maxNameLength - lib.name.length + 1).join(' ');\n (0, _debug.debug)([lib.name, spaces, ' : ', lib.version].join(''));\n }\n (0, _debug.debug)('-------------------------------');\n };\n }\n const LIBRARIES = new Libraries();\n LIBRARIES.registerCoreLibrary('Ember', _version.default);\n\n /**\n @module @ember/object\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 function getProperties(obj, keys) {\n let ret = {};\n let propertyNames = arguments;\n let i = 1;\n if (arguments.length === 2 && Array.isArray(keys)) {\n i = 0;\n propertyNames = arguments[1];\n }\n for (; i < propertyNames.length; i++) {\n ret[propertyNames[i]] = get(obj, propertyNames[i]);\n }\n return ret;\n }\n\n /**\n @module @ember/object\n */\n /**\n Set a list of properties on an object. These properties are set inside\n a single `beginPropertyChanges` and `endPropertyChanges` batch, so\n observers will be buffered.\n \n ```javascript\n import EmberObject from '@ember/object';\n let anObject = EmberObject.create();\n \n anObject.setProperties({\n firstName: 'Stanley',\n lastName: 'Stuart',\n age: 21\n });\n ```\n \n @method setProperties\n @static\n @for @ember/object\n @param obj\n @param {Object} properties\n @return properties\n @public\n */\n function setProperties(obj, properties) {\n if (properties === null || typeof properties !== 'object') {\n return properties;\n }\n changeProperties(() => {\n let props = Object.keys(properties);\n let propertyName;\n for (let i = 0; i < props.length; i++) {\n propertyName = props[i];\n set(obj, propertyName, properties[propertyName]);\n }\n });\n return properties;\n }\n\n // TODO, this only depends on context, otherwise it could be in utils\n // move into its own package\n // it is needed by Mixin for classToString\n // maybe move it into environment\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n let searchDisabled = false;\n const flags = {\n _set: 0,\n _unprocessedNamespaces: false,\n get unprocessedNamespaces() {\n return this._unprocessedNamespaces;\n },\n set unprocessedNamespaces(v) {\n this._set++;\n this._unprocessedNamespaces = v;\n }\n };\n let unprocessedMixins = false;\n const NAMESPACES = [];\n const NAMESPACES_BY_ID = Object.create(null);\n function addNamespace(namespace) {\n flags.unprocessedNamespaces = true;\n NAMESPACES.push(namespace);\n }\n function removeNamespace(namespace) {\n let name = (0, _utils.getName)(namespace);\n delete NAMESPACES_BY_ID[name];\n NAMESPACES.splice(NAMESPACES.indexOf(namespace), 1);\n if (name in _environment.context.lookup && namespace === _environment.context.lookup[name]) {\n _environment.context.lookup[name] = undefined;\n }\n }\n function findNamespaces() {\n if (!flags.unprocessedNamespaces) {\n return;\n }\n let lookup = _environment.context.lookup;\n let keys = Object.keys(lookup);\n for (let i = 0; i < keys.length; i++) {\n let key = keys[i];\n // Only process entities that start with uppercase A-Z\n if (!isUppercase(key.charCodeAt(0))) {\n continue;\n }\n let obj = tryIsNamespace(lookup, key);\n if (obj) {\n (0, _utils.setName)(obj, key);\n }\n }\n }\n function findNamespace(name) {\n if (!searchDisabled) {\n processAllNamespaces();\n }\n return NAMESPACES_BY_ID[name];\n }\n function processNamespace(namespace) {\n _processNamespace([namespace.toString()], namespace, new Set());\n }\n function processAllNamespaces() {\n let unprocessedNamespaces = flags.unprocessedNamespaces;\n if (unprocessedNamespaces) {\n findNamespaces();\n flags.unprocessedNamespaces = false;\n }\n if (unprocessedNamespaces || unprocessedMixins) {\n let namespaces = NAMESPACES;\n for (let i = 0; i < namespaces.length; i++) {\n processNamespace(namespaces[i]);\n }\n unprocessedMixins = false;\n }\n }\n function classToString() {\n let name = (0, _utils.getName)(this);\n if (name !== void 0) {\n return name;\n }\n name = calculateToString(this);\n (0, _utils.setName)(this, name);\n return name;\n }\n function isSearchDisabled() {\n return searchDisabled;\n }\n function setSearchDisabled(flag) {\n searchDisabled = !!flag;\n }\n function setUnprocessedMixins() {\n unprocessedMixins = true;\n }\n function _processNamespace(paths, root, seen) {\n let idx = paths.length;\n let id = paths.join('.');\n NAMESPACES_BY_ID[id] = root;\n (0, _utils.setName)(root, id);\n // Loop over all of the keys in the namespace, looking for classes\n for (let key in root) {\n if (!hasOwnProperty.call(root, key)) {\n continue;\n }\n let obj = root[key];\n // If we are processing the `Ember` namespace, for example, the\n // `paths` will start with `[\"Ember\"]`. Every iteration through\n // the loop will update the **second** element of this list with\n // the key, so processing `Ember.View` will make the Array\n // `['Ember', 'View']`.\n paths[idx] = key;\n // If we have found an unprocessed class\n if (obj && 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('.'));\n // Support nested namespaces\n } else if (obj && obj.isNamespace) {\n // Skip aliased namespaces\n if (seen.has(obj)) {\n continue;\n }\n seen.add(obj);\n // Process the child namespace\n _processNamespace(paths, obj, seen);\n }\n }\n paths.length = idx; // cut out last item\n }\n function isUppercase(code) {\n return code >= 65 && code <= 90 // A\n ; // Z\n }\n function tryIsNamespace(lookup, prop) {\n try {\n let obj = lookup[prop];\n return (obj !== null && typeof obj === 'object' || typeof obj === 'function') && obj.isNamespace && obj;\n } catch (e) {\n // continue\n }\n }\n function calculateToString(target) {\n let str;\n if (!searchDisabled) {\n processAllNamespaces();\n str = (0, _utils.getName)(target);\n if (str !== void 0) {\n return str;\n }\n let superclass = target;\n do {\n superclass = Object.getPrototypeOf(superclass);\n if (superclass === Function.prototype || superclass === Object.prototype) {\n break;\n }\n str = (0, _utils.getName)(target);\n if (str !== void 0) {\n str = `(subclass of ${str})`;\n break;\n }\n } while (str === void 0);\n }\n return str || '(unknown)';\n }\n\n /**\n @module @ember/object\n */\n const a_concat = Array.prototype.concat;\n const { isArray } = Array;\n function isMethod(obj) {\n return 'function' === typeof obj && obj.isMethod !== false && obj !== Boolean && obj !== Object && obj !== Number && obj !== Array && obj !== Date && obj !== String;\n }\n const CONTINUE = {};\n function mixinProperties(mixinsMeta, mixin) {\n if (mixin instanceof Mixin) {\n if (mixinsMeta.hasMixin(mixin)) {\n return CONTINUE;\n }\n mixinsMeta.addMixin(mixin);\n return mixin.properties;\n } else {\n return mixin; // apply anonymous mixin properties\n }\n }\n function concatenatedMixinProperties(concatProp, props, values, base) {\n // reset before adding each new mixin to pickup concats from previous\n let concats = values[concatProp] || base[concatProp];\n if (props[concatProp]) {\n concats = concats ? a_concat.call(concats, props[concatProp]) : props[concatProp];\n }\n return concats;\n }\n function giveDescriptorSuper(meta$$1, key, property, values, descs, base) {\n let superProperty;\n // Computed properties override methods, and do not call super to them\n if (values[key] === undefined) {\n // Find the original descriptor in a parent mixin\n superProperty = descs[key];\n }\n // If we didn't find the original descriptor in a parent mixin, find\n // it on the original object.\n if (!superProperty) {\n superProperty = (0, _meta2.descriptorFor)(base, key, meta$$1);\n }\n if (superProperty === undefined || !(superProperty instanceof ComputedProperty)) {\n return property;\n }\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 property = Object.create(property);\n property._getter = (0, _utils.wrap)(property._getter, superProperty._getter);\n if (superProperty._setter) {\n if (property._setter) {\n property._setter = (0, _utils.wrap)(property._setter, superProperty._setter);\n } else {\n property._setter = superProperty._setter;\n }\n }\n return property;\n }\n function giveMethodSuper(obj, key, method, values, descs) {\n // Methods overwrite computed properties, and do not call super to them.\n if (descs[key] !== undefined) {\n return method;\n }\n // Find the original method in a parent mixin\n let superMethod = values[key];\n // If we didn't find the original value in a parent mixin, find it in\n // the original object\n if (superMethod === undefined && (0, _meta2.descriptorFor)(obj, key) === undefined) {\n superMethod = obj[key];\n }\n // Only wrap the new method if the original method was a function\n if (typeof superMethod === 'function') {\n return (0, _utils.wrap)(method, superMethod);\n }\n return method;\n }\n function applyConcatenatedProperties(obj, key, value, values) {\n let baseValue = values[key] || obj[key];\n let ret = (0, _utils.makeArray)(baseValue).concat((0, _utils.makeArray)(value));\n if (false /* DEBUG */) {\n // it is possible to use concatenatedProperties with strings (which cannot be frozen)\n // only freeze objects...\n if (typeof ret === 'object' && ret !== null) {\n // prevent mutating `concatenatedProperties` array after it is applied\n Object.freeze(ret);\n }\n }\n return ret;\n }\n function applyMergedProperties(obj, key, value, values) {\n let baseValue = values[key] || obj[key];\n false && !!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 let newBase = (0, _polyfills.assign)({}, baseValue);\n let hasFunction = false;\n for (let prop in value) {\n if (!value.hasOwnProperty(prop)) {\n continue;\n }\n let propValue = value[prop];\n if (isMethod(propValue)) {\n // TODO: support for Computed Properties, etc?\n hasFunction = true;\n newBase[prop] = giveMethodSuper(obj, prop, propValue, baseValue, {});\n } else {\n newBase[prop] = propValue;\n }\n }\n if (hasFunction) {\n newBase._super = _utils.ROOT;\n }\n return newBase;\n }\n function addNormalizedProperty(base, key, value, meta$$1, descs, values, concats, mergings) {\n if (value instanceof Descriptor) {\n // Wrap descriptor function to implement\n // _super() if needed\n if (value._getter) {\n value = giveDescriptorSuper(meta$$1, key, value, values, descs, base);\n }\n descs[key] = value;\n values[key] = undefined;\n } else {\n if (concats && concats.indexOf(key) >= 0 || key === 'concatenatedProperties' || key === 'mergedProperties') {\n value = applyConcatenatedProperties(base, key, value, values);\n } else if (mergings && mergings.indexOf(key) > -1) {\n value = applyMergedProperties(base, key, value, values);\n } else if (isMethod(value)) {\n value = giveMethodSuper(base, key, value, values, descs);\n }\n descs[key] = undefined;\n values[key] = value;\n }\n }\n function mergeMixins(mixins, meta$$1, descs, values, base, keys) {\n let currentMixin, props, key, concats, mergings;\n function removeKeys(keyName) {\n delete descs[keyName];\n delete values[keyName];\n }\n for (let i = 0; i < mixins.length; i++) {\n currentMixin = mixins[i];\n false && !(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 props = mixinProperties(meta$$1, currentMixin);\n if (props === CONTINUE) {\n continue;\n }\n if (props) {\n // remove willMergeMixin after 3.4 as it was used for _actions\n if (base.willMergeMixin) {\n base.willMergeMixin(props);\n }\n concats = concatenatedMixinProperties('concatenatedProperties', props, values, base);\n mergings = concatenatedMixinProperties('mergedProperties', props, values, base);\n for (key in props) {\n if (!props.hasOwnProperty(key)) {\n continue;\n }\n keys.push(key);\n addNormalizedProperty(base, key, props[key], meta$$1, descs, values, concats, mergings);\n }\n // manually copy toString() because some JS engines do not enumerate it\n if (props.hasOwnProperty('toString')) {\n base.toString = props.toString;\n }\n } else if (currentMixin.mixins) {\n mergeMixins(currentMixin.mixins, meta$$1, descs, values, base, keys);\n if (currentMixin._without) {\n currentMixin._without.forEach(removeKeys);\n }\n }\n }\n }\n function followAlias(obj, desc, descs, values) {\n let altKey = desc.methodName;\n let value;\n let possibleDesc;\n if (descs[altKey] || values[altKey]) {\n value = values[altKey];\n desc = descs[altKey];\n } else if ((possibleDesc = (0, _meta2.descriptorFor)(obj, altKey)) !== undefined) {\n desc = possibleDesc;\n value = undefined;\n } else {\n desc = undefined;\n value = obj[altKey];\n }\n return { desc, value };\n }\n function updateObserversAndListeners(obj, key, paths, updateMethod) {\n if (paths) {\n for (let i = 0; i < paths.length; i++) {\n updateMethod(obj, paths[i], null, key);\n }\n }\n }\n function replaceObserversAndListeners(obj, key, prev, next) {\n if (typeof prev === 'function') {\n updateObserversAndListeners(obj, key, (0, _utils.getObservers)(prev), removeObserver);\n updateObserversAndListeners(obj, key, (0, _utils.getListeners)(prev), removeListener);\n }\n if (typeof next === 'function') {\n updateObserversAndListeners(obj, key, (0, _utils.getObservers)(next), addObserver);\n updateObserversAndListeners(obj, key, (0, _utils.getListeners)(next), addListener);\n }\n }\n function applyMixin(obj, mixins) {\n let descs = {};\n let values = {};\n let meta$$1 = (0, _meta2.meta)(obj);\n let keys = [];\n let key, value, desc;\n obj._super = _utils.ROOT;\n // Go through all mixins and hashes passed in, and:\n //\n // * Handle concatenated properties\n // * Handle merged properties\n // * Set up _super wrapping if necessary\n // * Set up computed property descriptors\n // * Copying `toString` in broken browsers\n mergeMixins(mixins, meta$$1, descs, values, obj, keys);\n for (let i = 0; i < keys.length; i++) {\n key = keys[i];\n if (key === 'constructor' || !values.hasOwnProperty(key)) {\n continue;\n }\n desc = descs[key];\n value = values[key];\n while (desc && desc instanceof Alias) {\n let followed = followAlias(obj, desc, descs, values);\n desc = followed.desc;\n value = followed.value;\n }\n if (desc === undefined && value === undefined) {\n continue;\n }\n if ((0, _meta2.descriptorFor)(obj, key) !== undefined) {\n replaceObserversAndListeners(obj, key, null, value);\n } else {\n replaceObserversAndListeners(obj, key, obj[key], value);\n }\n defineProperty(obj, key, desc, value, meta$$1);\n }\n return obj;\n }\n /**\n @method mixin\n @param obj\n @param mixins*\n @return obj\n @private\n */\n function mixin(obj, ...args) {\n applyMixin(obj, args);\n return obj;\n }\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 class Mixin {\n constructor(mixins, properties) {\n this.properties = properties;\n this.mixins = buildMixinsArray(mixins);\n this.ownerConstructor = undefined;\n this._without = undefined;\n if (false /* DEBUG */) {\n this[_utils.NAME_KEY] = undefined;\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 static create(...args) {\n // ES6TODO: this relies on a global state?\n setUnprocessedMixins();\n let M = this;\n return new M(args, undefined);\n }\n // returns the mixins currently applied to the specified object\n // TODO: Make `mixin`\n static mixins(obj) {\n let meta$$1 = (0, _meta2.peekMeta)(obj);\n let ret = [];\n if (meta$$1 === undefined) {\n return ret;\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 reopen(...args) {\n if (args.length === 0) {\n return;\n }\n if (this.properties) {\n let currentMixin = new Mixin(undefined, this.properties);\n this.properties = undefined;\n this.mixins = [currentMixin];\n } else if (!this.mixins) {\n this.mixins = [];\n }\n this.mixins = this.mixins.concat(buildMixinsArray(args));\n return this;\n }\n /**\n @method apply\n @param obj\n @return applied object\n @private\n */\n apply(obj) {\n return applyMixin(obj, [this]);\n }\n applyPartial(obj) {\n return applyMixin(obj, [this]);\n }\n /**\n @method detect\n @param obj\n @return {Boolean}\n @private\n */\n detect(obj) {\n if (typeof obj !== 'object' || obj === null) {\n return false;\n }\n if (obj instanceof Mixin) {\n return _detect(obj, this);\n }\n let meta$$1 = (0, _meta2.peekMeta)(obj);\n if (meta$$1 === undefined) {\n return false;\n }\n return meta$$1.hasMixin(this);\n }\n without(...args) {\n let ret = new Mixin([this]);\n ret._without = args;\n return ret;\n }\n keys() {\n return _keys(this);\n }\n toString() {\n return '(unknown mixin)';\n }\n }\n function buildMixinsArray(mixins) {\n let length = mixins && mixins.length || 0;\n let m = undefined;\n if (length > 0) {\n m = new Array(length);\n for (let i = 0; i < length; i++) {\n let x = mixins[i];\n false && !(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 (x instanceof Mixin) {\n m[i] = x;\n } else {\n m[i] = new Mixin(undefined, x);\n }\n }\n }\n return m;\n }\n Mixin.prototype.toString = classToString;\n if (false /* DEBUG */) {\n Mixin.prototype[_utils.NAME_KEY] = undefined;\n Object.seal(Mixin.prototype);\n }\n function _detect(curMixin, targetMixin, seen = new Set()) {\n if (seen.has(curMixin)) {\n return false;\n }\n seen.add(curMixin);\n if (curMixin === targetMixin) {\n return true;\n }\n let mixins = curMixin.mixins;\n if (mixins) {\n return mixins.some(mixin => _detect(mixin, targetMixin, seen));\n }\n return false;\n }\n function _keys(mixin, ret = new Set(), seen = new Set()) {\n if (seen.has(mixin)) {\n return;\n }\n seen.add(mixin);\n if (mixin.properties) {\n let props = Object.keys(mixin.properties);\n for (let 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 return ret;\n }\n class Alias extends Descriptor {\n constructor(methodName) {\n super();\n this.methodName = methodName;\n }\n teardown(_obj, _keyName, _meta) {\n throw new Error('Method not implemented.');\n }\n get(_obj, _keyName) {\n throw new Error('Method not implemented.');\n }\n set(_obj, _keyName, _value) {\n throw new Error('Method not implemented.');\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 @for @ember/object\n @param {String} methodName name of the method to alias\n @public\n */\n function aliasMethod(methodName) {\n return new Alias(methodName);\n }\n // ..........................................................\n // OBSERVER HELPER\n //\n /**\n Specify a method that observes property changes.\n \n ```javascript\n import EmberObject from '@ember/object';\n import { observer } from '@ember/object';\n \n export default EmberObject.extend({\n valueObserver: observer('value', function() {\n // Executes whenever the \"value\" property changes\n })\n });\n ```\n \n Also available as `Function.prototype.observes` if prototype extensions are\n enabled.\n \n @method observer\n @for @ember/object\n @param {String} propertyNames*\n @param {Function} func\n @return func\n @public\n @static\n */\n function observer(...args) {\n let func = args.pop();\n let _paths = args;\n false && !(typeof func === 'function') && (0, _debug.assert)('observer called without a function', typeof func === 'function');\n false && !(_paths.length > 0 && _paths.every(p => typeof p === 'string' && !!p.length)) && (0, _debug.assert)('observer called without valid path', _paths.length > 0 && _paths.every(p => typeof p === 'string' && !!p.length));\n\n let paths = [];\n let addWatchedProperty = path => paths.push(path);\n for (let i = 0; i < _paths.length; ++i) {\n expandProperties(_paths[i], addWatchedProperty);\n }\n (0, _utils.setObservers)(func, paths);\n return func;\n }\n\n /**\n @module ember\n @private\n */\n /**\n Read-only property that returns the result of a container lookup.\n \n @class InjectedProperty\n @namespace Ember\n @constructor\n @param {String} type The container type the property will lookup\n @param {String} name (optional) The name the property will lookup, defaults\n to the property's name\n @private\n */\n class InjectedProperty extends ComputedProperty {\n constructor(type, name, options) {\n super(injectedPropertyGet);\n this.type = type;\n this.name = name;\n if (false /* EMBER_MODULE_UNIFICATION */) {\n this.source = options ? options.source : undefined;\n this.namespace = undefined;\n if (name) {\n let namespaceDelimiterOffset = name.indexOf('::');\n if (namespaceDelimiterOffset === -1) {\n this.name = name;\n this.namespace = undefined;\n } else {\n this.name = name.slice(namespaceDelimiterOffset + 2);\n this.namespace = name.slice(0, namespaceDelimiterOffset);\n }\n }\n }\n }\n }\n function injectedPropertyGet(keyName) {\n let desc = (0, _meta2.descriptorFor)(this, keyName);\n let owner = (0, _owner.getOwner)(this) || this.container; // fallback to `container` for backwards compat\n false && !(desc && desc.type) && (0, _debug.assert)(`InjectedProperties should be defined with the inject computed property macros.`, desc && desc.type);\n false && !!!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.`, !!owner);\n\n let specifier = `${desc.type}:${desc.name || keyName}`;\n return owner.lookup(specifier, {\n source: desc.source,\n namespace: desc.namespace\n });\n }\n\n function descriptor(desc) {\n return new NativeDescriptor(desc);\n }\n /**\n A wrapper for a native ES5 descriptor. In an ideal world, we wouldn't need\n this at all, however, the way we currently flatten/merge our mixins require\n a special value to denote a descriptor.\n \n @class NativeDescriptor\n @private\n */\n class NativeDescriptor extends Descriptor {\n constructor(desc) {\n super();\n this.desc = desc;\n this.enumerable = desc.enumerable !== false;\n this.configurable = desc.configurable !== false;\n }\n setup(obj, key, meta$$1) {\n Object.defineProperty(obj, key, this.desc);\n meta$$1.writeDescriptors(key, this);\n }\n get(obj, key) {\n return obj[key];\n }\n set(obj, key, value) {\n return obj[key] = value;\n }\n }\n\n exports.computed = computed;\n exports.ComputedProperty = ComputedProperty;\n exports._globalsComputed = _globalsComputed;\n exports.getCacheFor = getCacheFor;\n exports.getCachedValueFor = getCachedValueFor;\n exports.peekCacheFor = peekCacheFor;\n exports.alias = alias;\n exports.deprecateProperty = deprecateProperty;\n exports.PROXY_CONTENT = PROXY_CONTENT;\n exports._getPath = _getPath;\n exports.get = get;\n exports.getWithDefault = getWithDefault;\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.eachProxyFor = eachProxyFor;\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.overrideChains = overrideChains;\n exports.propertyDidChange = propertyDidChange;\n exports.propertyWillChange = propertyWillChange;\n exports.PROPERTY_DID_CHANGE = PROPERTY_DID_CHANGE$1;\n exports.defineProperty = defineProperty;\n exports.Descriptor = Descriptor;\n exports.watchKey = watchKey;\n exports.unwatchKey = unwatchKey;\n exports.ChainNode = ChainNode;\n exports.finishChains = finishChains;\n exports.removeChainWatcher = removeChainWatcher;\n exports.watchPath = watchPath;\n exports.unwatchPath = unwatchPath;\n exports.isWatching = isWatching;\n exports.unwatch = unwatch;\n exports.watch = watch;\n exports.watcherCount = watcherCount;\n exports.libraries = LIBRARIES;\n exports.Libraries = Libraries;\n exports.getProperties = getProperties;\n exports.setProperties = setProperties;\n exports.expandProperties = expandProperties;\n exports.addObserver = addObserver;\n exports.removeObserver = removeObserver;\n exports.Mixin = Mixin;\n exports.aliasMethod = aliasMethod;\n exports.mixin = mixin;\n exports.observer = observer;\n exports.applyMixin = applyMixin;\n exports.InjectedProperty = InjectedProperty;\n exports.setHasViews = setHasViews;\n exports.tagForProperty = tagForProperty;\n exports.tagFor = tagFor;\n exports.markObjectAsDirty = markObjectAsDirty;\n exports.runInTransaction = runInTransaction;\n exports.didRender = didRender;\n exports.assertNotRendered = assertNotRendered;\n exports.descriptor = descriptor;\n exports.tracked = tracked;\n exports.NAMESPACES = NAMESPACES;\n exports.NAMESPACES_BY_ID = NAMESPACES_BY_ID;\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});","enifed('@ember/-internals/owner/index', ['exports', '@ember/-internals/utils'], function (exports, _utils) {\n 'use strict';\n\n exports.OWNER = undefined;\n exports.getOwner = getOwner;\n exports.setOwner = setOwner;\n const OWNER = exports.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 attribute:\n \n ```app/components/play-audio.js\n import Component from '@ember/component';\n import { computed } from '@ember/object';\n import { getOwner } from '@ember/application';\n \n // Usage:\n //\n // {{play-audio audioType=model.audioType audioFile=model.file}}\n //\n export default Component.extend({\n audioService: computed('audioType', function() {\n let owner = getOwner(this);\n return owner.lookup(`service:${this.get('audioType')}`);\n }),\n \n click() {\n let player = this.get('audioService');\n player.play(this.get('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 @module @ember/application\n */\n function getOwner(object) {\n return object[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 function setOwner(object, owner) {\n object[OWNER] = owner;\n }\n});","enifed('@ember/-internals/routing/index', ['exports', '@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', '@ember/-internals/routing/lib/ext/controller'], function (exports, _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 exports.BucketCache = exports.RouterService = exports.RoutingService = exports.QueryParams = exports.Route = exports.Router = exports.RouterDSL = exports.controllerFor = exports.generateControllerFactory = exports.generateController = exports.AutoLocation = exports.HistoryLocation = exports.HashLocation = exports.NoneLocation = exports.Location = undefined;\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});","enifed('@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 /**\n @module ember\n */\n _controller_mixin.default.reopen({\n concatenatedProperties: ['queryParams'],\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 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 This property is updated to various different callback functions depending on\n the current \"state\" of the backing route. It is used by\n `Controller.prototype._qpChanged`.\n The methods backing each state can be found in the `Route.prototype._qp` computed\n property return value (the `.states` property). The current values are listed here for\n the sanity of future travelers:\n * `inactive` - This state is used when this controller instance is not part of the active\n route hierarchy. Set in `Route.prototype._reset` (a `router.js` microlib hook) and\n `Route.prototype.actions.finalizeQueryParamChange`.\n * `active` - This state is used when this controller instance is part of the active\n route hierarchy. Set in `Route.prototype.actions.finalizeQueryParamChange`.\n * `allowOverrides` - This state is used in `Route.prototype.setup` (`route.js` microlib hook).\n @method _qpDelegate\n @private\n */\n _qpDelegate: null,\n /**\n During `Route#setup` observers are created to invoke this method\n when any of the query params declared in `Controller#queryParams` property\n are changed.\n When invoked this method uses the currently active query param update delegate\n (see `Controller.prototype._qpDelegate` for details) and invokes it with\n the QP key/value being changed.\n @method _qpChanged\n @private\n */\n _qpChanged(controller, _prop) {\n let prop = _prop.substr(0, _prop.length - 3);\n let delegate = controller._qpDelegate;\n let value = (0, _metal.get)(controller, prop);\n delegate(prop, value);\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 `/`). This is intended for testing and debugging purposes and\n should rarely be used in production code.\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](/api/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 let target = (0, _metal.get)(this, 'target');\n let method = target.transitionToRoute || target.transitionTo;\n return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\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 `/`). This is intended for testing and debugging purposes and\n should rarely be used in production code.\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 let target = (0, _metal.get)(this, 'target');\n let method = target.replaceRoute || target.replaceWith;\n return method.apply(target, (0, _utils.prefixRouteNameArg)(this, args));\n }\n });\n exports.default = _controller_mixin.default;\n});","enifed('@ember/-internals/routing/lib/location/api', ['exports', '@ember/-internals/browser-environment', '@ember/debug'], function (exports, _browserEnvironment, _debug) {\n 'use strict';\n\n exports.default = {\n /**\n This is deprecated in favor of using the container to lookup the location\n implementation as desired.\n For example:\n ```javascript\n // Given a location registered as follows:\n container.register('location:history-test', HistoryTestLocation);\n // You could create a new instance via:\n container.lookup('location:history-test');\n ```\n @method create\n @param {Object} options\n @return {Object} an instance of an implementation of the `location` API\n @deprecated Use the container to lookup the location implementation that you\n need.\n @private\n */\n create(options) {\n let implementation = options && options.implementation;\n false && !!!implementation && (0, _debug.assert)(\"Location.create: you must specify a 'implementation' option\", !!implementation);\n\n let implementationClass = this.implementations[implementation];\n false && !!!implementationClass && (0, _debug.assert)(`Location.create: ${implementation} is not a valid implementation`, !!implementationClass);\n\n return implementationClass.create(...arguments);\n },\n implementations: {},\n _location: _browserEnvironment.location\n };\n});","enifed('@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 exports.getHistoryPath = getHistoryPath;\n exports.getHashPath = getHashPath;\n\n /**\n @module @ember/routing\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 detect() {\n let rootURL = this.rootURL;\n false && !(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 let implementation = detectImplementation({\n location: this.location,\n history: this.history,\n userAgent: this.userAgent,\n rootURL,\n documentMode: this.documentMode,\n global: this.global\n });\n if (implementation === false) {\n (0, _metal.set)(this, 'cancelRouterSetup', true);\n implementation = 'none';\n }\n let concrete = (0, _owner.getOwner)(this).lookup(`location:${implementation}`);\n (0, _metal.set)(concrete, 'rootURL', rootURL);\n false && !!!concrete && (0, _debug.assert)(`Could not find location '${implementation}'.`, !!concrete);\n\n (0, _metal.set)(this, 'concreteImplementation', concrete);\n }\n willDestroy() {\n let concreteImplementation = (0, _metal.get)(this, 'concreteImplementation');\n if (concreteImplementation) {\n concreteImplementation.destroy();\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 @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 @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 @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 @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 @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 function delegateToConcreteImplementation(methodName) {\n return function (...args) {\n let concreteImplementation = (0, _metal.get)(this, 'concreteImplementation');\n false && !!!concreteImplementation && (0, _debug.assert)(\"AutoLocation's detect() method should be called before calling any other hooks.\", !!concreteImplementation);\n\n return (0, _utils.tryInvoke)(concreteImplementation, methodName, args);\n };\n }\n function detectImplementation(options) {\n let { location, userAgent, history, documentMode, global, rootURL } = options;\n let implementation = 'none';\n let cancelRouterSetup = false;\n let currentPath = (0, _util.getFullPath)(location);\n if ((0, _util.supportsHistory)(userAgent, history)) {\n let historyPath = getHistoryPath(rootURL, location);\n // If the browser supports history and we have a history path, we can use\n // the history location with no redirects.\n if (currentPath === historyPath) {\n implementation = 'history';\n } else if (currentPath.substr(0, 2) === '/#') {\n history.replaceState({ path: historyPath }, undefined, 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 let hashPath = getHashPath(rootURL, location);\n // Be sure we're using a hashed path, otherwise let's switch over it to so\n // we start off clean and consistent. We'll count an index path with no\n // hash as \"good enough\" as well.\n if (currentPath === hashPath || currentPath === '/' && hashPath === '/#/') {\n implementation = 'hash';\n } else {\n // Our URL isn't in the expected hash-supported format, so we want to\n // cancel the router setup and replace the URL to start off clean\n cancelRouterSetup = true;\n (0, _util.replacePath)(location, hashPath);\n }\n }\n if (cancelRouterSetup) {\n return false;\n }\n return implementation;\n }\n /**\n @private\n \n Returns the current path as it should appear for HistoryLocation supported\n browsers. This may very well differ from the real current path (e.g. if it\n starts off as a hashed URL)\n */\n function getHistoryPath(rootURL, location) {\n let path = (0, _util.getPath)(location);\n let hash = (0, _util.getHash)(location);\n let query = (0, _util.getQuery)(location);\n let rootURLIndex = path.indexOf(rootURL);\n let routeHash, hashParts;\n false && !(rootURLIndex === 0) && (0, _debug.assert)(`Path ${path} does not start with the provided rootURL ${rootURL}`, rootURLIndex === 0);\n // By convention, Ember.js routes using HashLocation are required to start\n // with `#/`. Anything else should NOT be considered a route and should\n // be passed straight through, without transformation.\n\n if (hash.substr(0, 2) === '#/') {\n // There could be extra hash segments after the route\n hashParts = hash.substr(1).split('#');\n // The first one is always the route url\n routeHash = hashParts.shift();\n // If the path already has a trailing slash, remove the one\n // from the hashed route so we don't double up.\n if (path.charAt(path.length - 1) === '/') {\n routeHash = routeHash.substr(1);\n }\n // This is the \"expected\" final order\n path += routeHash + query;\n if (hashParts.length) {\n path += `#${hashParts.join('#')}`;\n }\n } else {\n path += query + hash;\n }\n return path;\n }\n /**\n @private\n \n Returns the current path as it should appear for HashLocation supported\n browsers. This may very well differ from the real current path.\n \n @method _getHashPath\n */\n function getHashPath(rootURL, location) {\n let path = rootURL;\n let historyPath = getHistoryPath(rootURL, location);\n let routePath = historyPath.substr(rootURL.length);\n if (routePath !== '') {\n if (routePath[0] !== '/') {\n routePath = `/${routePath}`;\n }\n path += `#${routePath}`;\n }\n return path;\n }\n});","enifed('@ember/-internals/routing/lib/location/hash_location', ['exports', '@ember/-internals/metal', '@ember/runloop', '@ember/-internals/runtime', '@ember/-internals/routing/lib/location/util'], function (exports, _metal, _runloop, _runtime, _util) {\n 'use strict';\n\n /**\n @module @ember/routing\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 init() {\n (0, _metal.set)(this, 'location', (0, _metal.get)(this, '_location') || window.location);\n this._hashchangeHandler = undefined;\n }\n /**\n @private\n Returns normalized location.hash\n @since 1.5.1\n @method getHash\n */\n getHash() {\n return (0, _util.getHash)((0, _metal.get)(this, 'location'));\n }\n /**\n Returns the normalized URL, constructed from `location.hash`.\n e.g. `#/foo` => `/foo` as well as `#/foo#bar` => `/foo#bar`.\n By convention, hashed paths must begin with a forward slash, otherwise they\n are not treated as a path so we can distinguish intent.\n @private\n @method getURL\n */\n getURL() {\n let originalPath = this.getHash().substr(1);\n let outPath = originalPath;\n if (outPath[0] !== '/') {\n outPath = '/';\n // Only add the # if the path isn't empty.\n // We do NOT want `/#` since the ampersand\n // is only included (conventionally) when\n // the location.hash has a value\n if (originalPath) {\n outPath += `#${originalPath}`;\n }\n }\n return outPath;\n }\n /**\n Set the `location.hash` and remembers what was set. This prevents\n `onUpdateURL` callbacks from triggering when the hash was set by\n `HashLocation`.\n @private\n @method setURL\n @param path {String}\n */\n setURL(path) {\n (0, _metal.get)(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 replaceURL(path) {\n (0, _metal.get)(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 onUpdateURL(callback) {\n this._removeEventListener();\n this._hashchangeHandler = (0, _runloop.bind)(this, function () {\n let path = this.getURL();\n if ((0, _metal.get)(this, 'lastSetURL') === path) {\n return;\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 formatURL(url) {\n return `#${url}`;\n }\n /**\n Cleans up the HashLocation event listener.\n @private\n @method willDestroy\n */\n willDestroy() {\n this._removeEventListener();\n }\n _removeEventListener() {\n if (this._hashchangeHandler) {\n window.removeEventListener('hashchange', this._hashchangeHandler);\n }\n }\n }\n exports.default = HashLocation;\n});","enifed('@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 /**\n @module @ember/routing\n */\n let popstateFired = false;\n function _uuid() {\n return 'xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx'.replace(/[xy]/g, function (c) {\n let r, v;\n r = Math.random() * 16 | 0;\n v = c === 'x' ? r : r & 3 | 8;\n return v.toString(16);\n });\n }\n /**\n HistoryLocation implements the location API using the browser's\n history.pushState API.\n \n Using `HistoryLocation` results in URLs that are indistinguishable from a\n standard URL. This relies upon the browser's `history` API.\n \n Example:\n \n ```app/router.js\n Router.map(function() {\n this.route('posts', function() {\n this.route('new');\n });\n });\n \n Router.reopen({\n location: 'history'\n });\n ```\n \n This will result in a posts.new url of `/posts/new`.\n \n Keep in mind that your server must serve the Ember app at all the routes you\n define.\n \n @class HistoryLocation\n @extends EmberObject\n @protected\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 this.rootURL = '/';\n }\n /**\n @private\n Returns normalized location.hash\n @method getHash\n */\n getHash() {\n return (0, _util.getHash)((0, _metal.get)(this, 'location'));\n }\n init() {\n this._super(...arguments);\n let base = document.querySelector('base');\n let baseURL = '';\n if (base) {\n baseURL = base.getAttribute('href');\n }\n (0, _metal.set)(this, 'baseURL', baseURL);\n (0, _metal.set)(this, 'location', (0, _metal.get)(this, 'location') || window.location);\n this._popstateHandler = undefined;\n }\n /**\n Used to set state on first call to setURL\n @private\n @method initState\n */\n initState() {\n let history = (0, _metal.get)(this, 'history') || window.history;\n (0, _metal.set)(this, 'history', history);\n if (history && 'state' in history) {\n this.supportsHistory = true;\n }\n let state = this.getState();\n let path = this.formatURL(this.getURL());\n if (state && state.path === path) {\n // preserve existing state\n // used for webkit workaround, since there will be no initial popstate event\n this._previousURL = this.getURL();\n } else {\n this.replaceState(path);\n }\n }\n /**\n Returns the current `location.pathname` without `rootURL` or `baseURL`\n @private\n @method getURL\n @return url {String}\n */\n getURL() {\n let location = (0, _metal.get)(this, 'location');\n let path = location.pathname;\n let rootURL = (0, _metal.get)(this, 'rootURL');\n let baseURL = (0, _metal.get)(this, 'baseURL');\n // remove trailing slashes if they exists\n rootURL = rootURL.replace(/\\/$/, '');\n baseURL = baseURL.replace(/\\/$/, '');\n // remove baseURL and rootURL from start of path\n let url = path.replace(new RegExp(`^${baseURL}(?=/|$)`), '').replace(new RegExp(`^${rootURL}(?=/|$)`), '').replace(/\\/\\/$/g, '/'); // remove extra slashes\n let search = location.search || '';\n url += search + this.getHash();\n return url;\n }\n /**\n Uses `history.pushState` to update the url without a page reload.\n @private\n @method setURL\n @param path {String}\n */\n setURL(path) {\n let state = this.getState();\n path = this.formatURL(path);\n if (!state || state.path !== path) {\n this.pushState(path);\n }\n }\n /**\n Uses `history.replaceState` to update the url without a page reload\n or history modification.\n @private\n @method replaceURL\n @param path {String}\n */\n replaceURL(path) {\n let state = this.getState();\n path = this.formatURL(path);\n if (!state || state.path !== path) {\n this.replaceState(path);\n }\n }\n /**\n Get the current `history.state`. Checks for if a polyfill is\n required and if so fetches this._historyState. The state returned\n from getState may be null if an iframe has changed a window's\n history.\n The object returned will contain a `path` for the given state as well\n as a unique state `id`. The state index will allow the app to distinguish\n between two states with similar paths but should be unique from one another.\n @private\n @method getState\n @return state {Object}\n */\n getState() {\n if (this.supportsHistory) {\n return (0, _metal.get)(this, 'history').state;\n }\n return this._historyState;\n }\n /**\n Pushes a new state.\n @private\n @method pushState\n @param path {String}\n */\n pushState(path) {\n let state = { path, uuid: _uuid() };\n (0, _metal.get)(this, 'history').pushState(state, null, path);\n this._historyState = state;\n // used for webkit workaround\n this._previousURL = this.getURL();\n }\n /**\n Replaces the current state.\n @private\n @method replaceState\n @param path {String}\n */\n replaceState(path) {\n let state = { path, uuid: _uuid() };\n (0, _metal.get)(this, 'history').replaceState(state, null, path);\n this._historyState = state;\n // used for webkit workaround\n this._previousURL = this.getURL();\n }\n /**\n Register a callback to be invoked whenever the browser\n history changes, including using forward and back buttons.\n @private\n @method onUpdateURL\n @param callback {Function}\n */\n onUpdateURL(callback) {\n this._removeEventListener();\n this._popstateHandler = () => {\n // Ignore initial page load popstate event in Chrome\n if (!popstateFired) {\n popstateFired = true;\n if (this.getURL() === this._previousURL) {\n return;\n }\n }\n callback(this.getURL());\n };\n window.addEventListener('popstate', this._popstateHandler);\n }\n /**\n Used when using `{{action}}` helper. The url is always appended to the rootURL.\n @private\n @method formatURL\n @param url {String}\n @return formatted url {String}\n */\n formatURL(url) {\n let rootURL = (0, _metal.get)(this, 'rootURL');\n let baseURL = (0, _metal.get)(this, 'baseURL');\n if (url !== '') {\n // remove trailing slashes if they exists\n rootURL = rootURL.replace(/\\/$/, '');\n baseURL = baseURL.replace(/\\/$/, '');\n } else if (baseURL[0] === '/' && rootURL[0] === '/') {\n // if baseURL and rootURL both start with a slash\n // ... remove trailing slash from baseURL if it exists\n baseURL = baseURL.replace(/\\/$/, '');\n }\n return baseURL + rootURL + url;\n }\n /**\n Cleans up the HistoryLocation event listener.\n @private\n @method willDestroy\n */\n willDestroy() {\n this._removeEventListener();\n }\n _removeEventListener() {\n if (this._popstateHandler) {\n window.removeEventListener('popstate', this._popstateHandler);\n }\n }\n }\n exports.default = HistoryLocation;\n});","enifed('@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 /**\n @module @ember/routing\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 detect() {\n let rootURL = this.rootURL;\n false && !(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 getURL() {\n let path = (0, _metal.get)(this, 'path');\n let rootURL = (0, _metal.get)(this, 'rootURL');\n // remove trailing slashes if they exists\n rootURL = rootURL.replace(/\\/$/, '');\n // remove rootURL from url\n return path.replace(new RegExp(`^${rootURL}(?=/|$)`), '');\n }\n /**\n Set the path and remembers what was set. Using this method\n to change the path will not invoke the `updateURL` callback.\n @private\n @method setURL\n @param path {String}\n */\n setURL(path) {\n (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 onUpdateURL(callback) {\n this.updateCallback = callback;\n }\n /**\n Sets the path and calls the `updateURL` callback.\n @private\n @method handleURL\n @param url {String}\n */\n handleURL(url) {\n (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 formatURL(url) {\n let rootURL = (0, _metal.get)(this, 'rootURL');\n if (url !== '') {\n // remove trailing slashes if they exists\n rootURL = rootURL.replace(/\\/$/, '');\n }\n return rootURL + url;\n }\n }\n exports.default = NoneLocation;\n NoneLocation.reopen({\n path: '',\n /**\n Will be pre-pended to path.\n @private\n @property rootURL\n @default '/'\n */\n rootURL: '/'\n });\n});","enifed('@ember/-internals/routing/lib/location/util', ['exports'], function (exports) {\n 'use strict';\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 @private\n \n Returns the current `location.pathname`, normalized for IE inconsistencies.\n */\n function getPath(location) {\n let pathname = location.pathname;\n // Various versions of IE/Opera don't always return a leading slash\n if (pathname[0] !== '/') {\n pathname = `/${pathname}`;\n }\n return pathname;\n }\n /**\n @private\n \n Returns the current `location.search`.\n */\n function getQuery(location) {\n return location.search;\n }\n /**\n @private\n \n Returns the hash or empty string\n */\n function getHash(location) {\n if (location.hash !== undefined) {\n return location.hash.substr(0);\n }\n return '';\n }\n function getFullPath(location) {\n return getPath(location) + getQuery(location) + getHash(location);\n }\n function getOrigin(location) {\n let origin = location.origin;\n // Older browsers, especially IE, don't have origin\n if (!origin) {\n origin = `${location.protocol}//${location.hostname}`;\n if (location.port) {\n origin += `:${location.port}`;\n }\n }\n return origin;\n }\n /*\n `documentMode` only exist in Internet Explorer, and it's tested because IE8 running in\n IE7 compatibility mode claims to support `onhashchange` but actually does not.\n \n `global` is an object that may have an `onhashchange` property.\n \n @private\n @function supportsHashChange\n */\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 function supportsHistory(userAgent, history) {\n // Boosted from Modernizr: https://github.com/Modernizr/Modernizr/blob/master/feature-detects/history.js\n // The stock browser on Android 2.2 & 2.3, and 4.0.x returns positive on history support\n // Unfortunately support is really buggy and there is no clean way to detect\n // these bugs, so we fall back to a user agent sniff :(\n // We only want Android 2 and 4.0, stock browser, and not Chrome which identifies\n // itself as 'Mobile Safari' as well, nor Windows Phone.\n if ((userAgent.indexOf('Android 2.') !== -1 || userAgent.indexOf('Android 4.0') !== -1) && userAgent.indexOf('Mobile Safari') !== -1 && userAgent.indexOf('Chrome') === -1 && userAgent.indexOf('Windows Phone') === -1) {\n return false;\n }\n return !!(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 function replacePath(location, path) {\n location.replace(getOrigin(location) + path);\n }\n});","enifed('@ember/-internals/routing/lib/services/router', ['exports', '@ember/-internals/runtime', '@ember/debug', '@ember/object/computed', '@ember/service', '@ember/-internals/routing/lib/utils'], function (exports, _runtime, _debug, _computed, _service, _utils) {\n 'use strict';\n\n let freezeRouteInfo;\n if (false /* DEBUG */) {\n freezeRouteInfo = transition => {\n if (transition.from !== null && !Object.isFrozen(transition.from)) {\n Object.freeze(transition.from);\n }\n if (transition.to !== null && !Object.isFrozen(transition.to)) {\n Object.freeze(transition.to);\n }\n };\n }\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 ```javascript\n import Component from '@ember/component';\n import { inject as service } from '@ember/service';\n \n export default Component.extend({\n router: service(),\n \n actions: {\n next() {\n this.get('router').transitionTo('other.route');\n }\n }\n });\n ```\n \n Like any service, it can also be injected into helpers, routes, etc.\n \n @public\n @class RouterService\n */\n class RouterService extends _service.default {\n /**\n Transition the application into another route. The route may\n be either a single route or route path:\n See [transitionTo](/api/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 @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\n @return {Transition} the transition object associated with this\n attempted transition\n @public\n */\n transitionTo(...args) {\n if ((0, _utils.resemblesURL)(args[0])) {\n return this._router._doURLTransition('transitionTo', args[0]);\n }\n let { routeName, models, queryParams } = (0, _utils.extractRouteArgs)(args);\n let transition = this._router._doTransition(routeName, models, queryParams, true);\n transition['_keepDefaultQueryParamValues'] = true;\n return transition;\n }\n /**\n Transition into another route while replacing the current URL, if possible.\n The route may be either a single route or route path:\n See [replaceWith](/api/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 @method replaceWith\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\n @return {Transition} the transition object associated with this\n attempted transition\n @public\n */\n replaceWith() /* routeNameOrUrl, ...models, options */{\n return this.transitionTo(...arguments).method('replace');\n }\n /**\n Generate a URL based on the supplied route name.\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 urlFor(routeName, ...args) {\n return this._router.generate(routeName, ...args);\n }\n /**\n Determines whether a route is active.\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 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 {boolean} true if the provided routeName/models/queryParams are active\n @public\n */\n isActive(...args) {\n let { routeName, models, queryParams } = (0, _utils.extractRouteArgs)(args);\n let routerMicrolib = this._router._routerMicrolib;\n if (!routerMicrolib.isActiveIntent(routeName, models)) {\n return false;\n }\n let hasQueryParams = Object.keys(queryParams).length > 0;\n if (hasQueryParams) {\n this._router._prepareQueryParams(routeName, models, queryParams, true /* fromRouterService */);\n return (0, _utils.shallowEqual)(queryParams, routerMicrolib.state.queryParams);\n }\n return true;\n }\n }\n exports.default = RouterService;\n RouterService.reopen({\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 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 The `location` property determines the type of URL's that your\n application will use.\n The following location types are currently available:\n * `auto`\n * `hash`\n * `history`\n * `none`\n @property location\n @default 'hash'\n @see {Location}\n @public\n */\n location: (0, _computed.readOnly)('_router.location'),\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 if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n RouterService.reopen(_runtime.Evented, {\n init() {\n this._super(...arguments);\n this._router.on('routeWillChange', transition => {\n if (false /* DEBUG */) {\n freezeRouteInfo(transition);\n }\n this.trigger('routeWillChange', transition);\n });\n this._router.on('routeDidChange', transition => {\n if (false /* DEBUG */) {\n freezeRouteInfo(transition);\n }\n this.trigger('routeDidChange', transition);\n });\n },\n /**\n A RouteInfo that represents the current leaf route.\n It 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 @property currentRoute\n @type RouteInfo\n @category ember-routing-router-service\n @public\n */\n currentRoute: (0, _computed.readOnly)('_router.currentRoute'),\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 @method recognize\n @param {String} url\n @category ember-routing-router-service\n @public\n */\n recognize(url) {\n false && !(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\n let internalURL = cleanURL(url, this.rootURL);\n return this._router._routerMicrolib.recognize(internalURL);\n },\n /**\n Takes a string URL and returns a promise that resolves to a\n `RouteInfoWithAttributes` for the leafmost route represented by the URL.\n The promise rejects if the URL is not recognized or an unhandled exception\n is encountered. This method expects to receive the actual URL as seen by\n the browser including the app's `rootURL`.\n @method recognizeAndLoad\n @param {String} url\n @category ember-routing-router-service\n @public\n */\n recognizeAndLoad(url) {\n false && !(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\n let internalURL = cleanURL(url, this.rootURL);\n return this._router._routerMicrolib.recognizeAndLoad(internalURL);\n }\n });\n function cleanURL(url, rootURL) {\n if (rootURL === '/') {\n return url;\n }\n return url.substr(rootURL.length, url.length);\n }\n }\n});","enifed('@ember/-internals/routing/lib/services/routing', ['exports', '@ember/-internals/metal', '@ember/object/computed', '@ember/polyfills', '@ember/service'], function (exports, _metal, _computed, _polyfills, _service) {\n 'use strict';\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 /**\n @module ember\n */\n class RoutingService extends _service.default {\n hasRoute(routeName) {\n return (0, _metal.get)(this, 'router').hasRoute(routeName);\n }\n transitionTo(routeName, models, queryParams, shouldReplace) {\n let router = (0, _metal.get)(this, 'router');\n let transition = router._doTransition(routeName, models, queryParams);\n if (shouldReplace) {\n transition.method('replace');\n }\n return transition;\n }\n normalizeQueryParams(routeName, models, queryParams) {\n (0, _metal.get)(this, 'router')._prepareQueryParams(routeName, models, queryParams);\n }\n generateURL(routeName, models, queryParams) {\n let router = (0, _metal.get)(this, 'router');\n // return early when the router microlib is not present, which is the case for {{link-to}} in integration tests\n if (!router._routerMicrolib) {\n return;\n }\n let visibleQueryParams = {};\n if (queryParams) {\n (0, _polyfills.assign)(visibleQueryParams, queryParams);\n this.normalizeQueryParams(routeName, models, visibleQueryParams);\n }\n return router.generate(routeName, ...models, {\n queryParams: visibleQueryParams\n });\n }\n isActiveForRoute(contexts, queryParams, routeName, routerState, isCurrentWhenSpecified) {\n let router = (0, _metal.get)(this, 'router');\n let handlers = router._routerMicrolib.recognizer.handlersFor(routeName);\n let leafName = handlers[handlers.length - 1].handler;\n let maximumContexts = numberOfContextsAcceptedByHandler(routeName, handlers);\n // NOTE: any ugliness in the calculation of activeness is largely\n // due to the fact that we support automatic normalizing of\n // `resource` -> `resource.index`, even though there might be\n // dynamic segments / query params defined on `resource.index`\n // which complicates (and makes somewhat ambiguous) the calculation\n // of activeness for links that link to `resource` instead of\n // directly to `resource.index`.\n // if we don't have enough contexts revert back to full route name\n // this is because the leaf route will use one of the contexts\n if (contexts.length > maximumContexts) {\n routeName = leafName;\n }\n return routerState.isActiveIntent(routeName, contexts, queryParams, !isCurrentWhenSpecified);\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 function numberOfContextsAcceptedByHandler(handlerName, handlerInfos) {\n let req = 0;\n for (let i = 0; i < handlerInfos.length; i++) {\n req += handlerInfos[i].names.length;\n if (handlerInfos[i].handler === handlerName) {\n break;\n }\n }\n return req;\n }\n});","enifed(\"@ember/-internals/routing/lib/system/cache\", [\"exports\"], function (exports) {\n \"use strict\";\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 has(bucketKey) {\n return this.cache.has(bucketKey);\n }\n stash(bucketKey, key, value) {\n let bucket = this.cache.get(bucketKey);\n if (bucket === undefined) {\n bucket = new Map();\n this.cache.set(bucketKey, bucket);\n }\n bucket.set(key, value);\n }\n lookup(bucketKey, prop, defaultValue) {\n if (!this.has(bucketKey)) {\n return defaultValue;\n }\n let bucket = this.cache.get(bucketKey);\n if (bucket.has(prop)) {\n return bucket.get(prop);\n } else {\n return defaultValue;\n }\n }\n }\n exports.default = BucketCache;\n});","enifed(\"@ember/-internals/routing/lib/system/controller_for\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default = controllerFor;\n /**\n @module ember\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});","enifed('@ember/-internals/routing/lib/system/dsl', ['exports', '@ember/debug', '@ember/polyfills'], function (exports, _debug, _polyfills) {\n 'use strict';\n\n let uuid = 0;\n class DSL {\n constructor(name = null, options) {\n this.explicitIndex = false;\n this.parent = name;\n this.enableLoadingSubstates = !!(options && options.enableLoadingSubstates);\n this.matches = [];\n this.options = options;\n }\n route(name, options = {}, callback) {\n let dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n if (arguments.length === 2 && typeof options === 'function') {\n callback = options;\n options = {};\n }\n false && !(() => {\n if (options.overrideNameAssertion === true) {\n return true;\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 }return ['basic', 'application'].indexOf(name) === -1;\n })());\n false && !(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 if (callback) {\n let fullName = getFullName(this, name, options.resetNamespace);\n let dsl = new DSL(fullName, this.options);\n createRoute(dsl, 'loading');\n createRoute(dsl, 'error', { path: dummyErrorRoute });\n callback.call(dsl);\n createRoute(this, name, options, dsl.generate());\n } else {\n createRoute(this, name, options);\n }\n }\n push(url, name, callback, serialize) {\n let parts = name.split('.');\n if (this.options.engineInfo) {\n let localFullName = name.slice(this.options.engineInfo.fullName.length + 1);\n let routeInfo = (0, _polyfills.assign)({ localFullName }, this.options.engineInfo);\n if (serialize) {\n routeInfo.serializeMethod = serialize;\n }\n this.options.addRouteForEngine(name, routeInfo);\n } else if (serialize) {\n throw new Error(`Defining a route serializer on route '${name}' outside an Engine is not allowed.`);\n }\n if (url === '' || url === '/' || parts[parts.length - 1] === 'index') {\n this.explicitIndex = true;\n }\n this.matches.push(url, name, callback);\n }\n generate() {\n let dslMatches = this.matches;\n if (!this.explicitIndex) {\n this.route('index', { path: '/' });\n }\n return match => {\n for (let i = 0; i < dslMatches.length; i += 3) {\n match(dslMatches[i]).to(dslMatches[i + 1], dslMatches[i + 2]);\n }\n };\n }\n mount(_name, options = {}) {\n let engineRouteMap = this.options.resolveRouteMap(_name);\n let name = _name;\n if (options.as) {\n name = options.as;\n }\n let fullName = getFullName(this, name, options.resetNamespace);\n let engineInfo = {\n name: _name,\n instanceId: uuid++,\n mountPoint: fullName,\n fullName\n };\n let path = options.path;\n if (typeof path !== 'string') {\n path = `/${name}`;\n }\n let callback;\n let dummyErrorRoute = `/_unused_dummy_error_path_route_${name}/:error`;\n if (engineRouteMap) {\n let shouldResetEngineInfo = false;\n let oldEngineInfo = this.options.engineInfo;\n if (oldEngineInfo) {\n shouldResetEngineInfo = true;\n this.options.engineInfo = engineInfo;\n }\n let optionsForChild = (0, _polyfills.assign)({ engineInfo }, this.options);\n let childDSL = new DSL(fullName, optionsForChild);\n createRoute(childDSL, 'loading');\n createRoute(childDSL, 'error', { path: dummyErrorRoute });\n engineRouteMap.class.call(childDSL);\n callback = childDSL.generate();\n if (shouldResetEngineInfo) {\n this.options.engineInfo = oldEngineInfo;\n }\n }\n let localFullName = 'application';\n let routeInfo = (0, _polyfills.assign)({ localFullName }, engineInfo);\n if (this.enableLoadingSubstates) {\n // These values are important to register the loading routes under their\n // proper names for the Router and within the Engine's registry.\n let substateName = `${name}_loading`;\n let localFullName = `application_loading`;\n let routeInfo = (0, _polyfills.assign)({ localFullName }, engineInfo);\n createRoute(this, substateName, {\n resetNamespace: options.resetNamespace\n });\n this.options.addRouteForEngine(substateName, routeInfo);\n substateName = `${name}_error`;\n localFullName = `application_error`;\n routeInfo = (0, _polyfills.assign)({ localFullName }, engineInfo);\n createRoute(this, substateName, {\n resetNamespace: options.resetNamespace,\n path: dummyErrorRoute\n });\n this.options.addRouteForEngine(substateName, routeInfo);\n }\n this.options.addRouteForEngine(fullName, routeInfo);\n this.push(path, fullName, callback);\n }\n }\n exports.default = DSL;\n\n function canNest(dsl) {\n return dsl.parent !== 'application';\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 function createRoute(dsl, name, options = {}, callback) {\n let fullName = getFullName(dsl, name, options.resetNamespace);\n if (typeof options.path !== 'string') {\n options.path = `/${name}`;\n }\n dsl.push(options.path, fullName, callback, options.serialize);\n }\n});","enifed(\"@ember/-internals/routing/lib/system/engines\", [], function () {\n \"use strict\";\n});","enifed('@ember/-internals/routing/lib/system/generate_controller', ['exports', '@ember/-internals/metal', '@ember/debug'], function (exports, _metal, _debug) {\n 'use strict';\n\n exports.generateControllerFactory = generateControllerFactory;\n exports.default = generateController;\n\n\n /**\n @module ember\n */\n /**\n Generates a controller factory\n \n @for Ember\n @method generateControllerFactory\n @private\n */\n function generateControllerFactory(owner, controllerName) {\n let Factory = owner.factoryFor('controller:basic').class;\n Factory = Factory.extend({\n toString() {\n return `(generated ${controllerName} controller)`;\n }\n });\n let fullName = `controller:${controllerName}`;\n owner.register(fullName, Factory);\n return Factory;\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 function generateController(owner, controllerName) {\n generateControllerFactory(owner, controllerName);\n let fullName = `controller:${controllerName}`;\n let instance = owner.lookup(fullName);\n if (false /* DEBUG */) {\n if ((0, _metal.get)(instance, 'namespace.LOG_ACTIVE_GENERATION')) {\n (0, _debug.info)(`generated -> ${fullName}`, { fullName });\n }\n }\n return instance;\n }\n});","enifed(\"@ember/-internals/routing/lib/system/query_params\", [\"exports\"], function (exports) {\n \"use strict\";\n\n class QueryParams {\n constructor(values = null) {\n this.isQueryParams = true;\n this.values = values;\n }\n }\n exports.default = QueryParams;\n});","enifed(\"@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 with in 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 @category ember-routing-router-service\n @public\n */\n /**\n The dot-separated, fully-qualified name of the\n route, like \"people.index\".\n @property {String} name\n @category ember-routing-router-service\n @public\n */\n /**\n The final segment of the fully-qualified name of\n the route, like \"index\"\n @property {String} localName\n @category ember-routing-router-service\n @public\n */\n /**\n The values of the route's parametes. These are the\n same params that are recieved 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 @category ember-routing-router-service\n @public\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 @category ember-routing-router-service\n @public\n */\n /**\n The values of any queryParams on this route.\n @property {Object} queryParams\n @category ember-routing-router-service\n @public\n */\n /**\n This is the resolved return value from the\n route's model hook.\n @property {Object|Array|String} attributes\n @category ember-routing-router-service\n @public\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 @category ember-routing-router-service\n @public\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 @category ember-routing-router-service\n @public\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 @category ember-routing-router-service\n @public\n */\n /**\n A RouteInfo is an object that contains metadata\n about a specific route with in 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 @category ember-routing-router-service\n @public\n */\n /**\n The dot-separated, fully-qualified name of the\n route, like \"people.index\".\n @property {String} name\n @category ember-routing-router-service\n @public\n */\n /**\n The final segment of the fully-qualified name of\n the route, like \"index\"\n @property {String} localName\n @category ember-routing-router-service\n @public\n */\n /**\n The values of the route's parametes. These are the\n same params that are recieved 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 @category ember-routing-router-service\n @public\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 @category ember-routing-router-service\n @public\n */\n /**\n The values of any queryParams on this route.\n @property {Object} queryParams\n @category ember-routing-router-service\n @public\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 @category ember-routing-router-service\n @public\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 @category ember-routing-router-service\n @public\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 @category ember-routing-router-service\n @public\n */\n});","enifed('@ember/-internals/routing/lib/system/route', ['exports', '@ember/-internals/metal', '@ember/-internals/owner', '@ember/-internals/runtime', '@ember/debug', '@ember/deprecated-features', '@ember/polyfills', '@ember/runloop', '@ember/string', 'router_js', '@ember/-internals/routing/lib/utils', '@ember/-internals/routing/lib/system/generate_controller'], function (exports, _metal, _owner, _runtime, _debug, _deprecatedFeatures, _polyfills, _runloop, _string, _router_js, _utils, _generate_controller) {\n 'use strict';\n\n exports.ROUTER_EVENT_DEPRECATIONS = undefined;\n exports.defaultSerialize = defaultSerialize;\n exports.hasDefaultSerialize = hasDefaultSerialize;\n function defaultSerialize(model, params) {\n if (params.length < 1 || !model) {\n return;\n }\n let object = {};\n if (params.length === 1) {\n let [name] = params;\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 return object;\n }\n function hasDefaultSerialize(route) {\n return route.serialize === defaultSerialize;\n }\n /**\n @module @ember/routing\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 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 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 Sets the name for this route, including a fully resolved name for routes\n inside engines.\n @private\n @method _setRouteName\n @param {String} name\n */\n _setRouteName(name) {\n this.routeName = name;\n this.fullRouteName = getEngineRouteName((0, _owner.getOwner)(this), name);\n }\n /**\n @private\n @method _stashNames\n */\n _stashNames(routeInfo, dynamicParent) {\n if (this._names) {\n return;\n }\n let names = this._names = routeInfo['_names'];\n if (!names.length) {\n routeInfo = dynamicParent;\n names = routeInfo && routeInfo['_names'] || [];\n }\n let qps = (0, _metal.get)(this, '_qp.qps');\n let namePaths = new Array(names.length);\n for (let a = 0; a < names.length; ++a) {\n namePaths[a] = `${routeInfo.name}.${names[a]}`;\n }\n for (let i = 0; i < qps.length; ++i) {\n let qp = qps[i];\n if (qp.scope === 'model') {\n qp.parts = namePaths;\n }\n }\n }\n /**\n @private\n @property _activeQPChanged\n */\n _activeQPChanged(qp, value) {\n this._router._activeQPChanged(qp.scopedPropertyName, value);\n }\n /**\n @private\n @method _updatingQPChanged\n */\n _updatingQPChanged(qp) {\n this._router._updatingQPChanged(qp.urlKey);\n }\n /**\n Returns a hash containing the parameters of an ancestor route.\n 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 Route.extend({\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 Route.extend({\n queryParams: {\n interestQp: { refreshModel: true }\n },\n model() {\n return this.paramsFor('member');\n }\n });\n ```\n If we visit `/turing/maths?memberQp=member&interestQp=interest` the model for\n the `member.interest` route is a hash with:\n * `name`: `turing`\n * `memberQp`: `member`\n @method paramsFor\n @param {String} name\n @return {Object} hash containing the parameters of the route `name`\n @since 1.4.0\n @public\n */\n paramsFor(name) {\n let route = (0, _owner.getOwner)(this).lookup(`route:${name}`);\n if (!route) {\n return {};\n }\n let transition = this._router._routerMicrolib.activeTransition;\n let state = transition ? transition[_router_js.STATE_SYMBOL] : this._router._routerMicrolib.state;\n let fullName = route.fullRouteName;\n let params = (0, _polyfills.assign)({}, state.params[fullName]);\n let queryParams = getQueryParamsFor(route, state);\n return Object.keys(queryParams).reduce((params, key) => {\n false && !!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\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 serializeQueryParamKey(controllerPropertyName) {\n return controllerPropertyName;\n }\n /**\n Serializes value of the query parameter based on defaultValueType\n @method serializeQueryParam\n @param {Object} value\n @param {String} urlKey\n @param {String} defaultValueType\n @private\n */\n serializeQueryParam(value, _urlKey, defaultValueType) {\n // urlKey isn't used here, but anyone overriding\n // can use it to provide serialization specific\n // to a certain query param.\n return this._router._serializeQueryParam(value, defaultValueType);\n }\n /**\n Deserializes value of the query parameter based on defaultValueType\n @method deserializeQueryParam\n @param {Object} value\n @param {String} urlKey\n @param {String} defaultValueType\n @private\n */\n deserializeQueryParam(value, _urlKey, defaultValueType) {\n // urlKey isn't used here, but anyone overriding\n // can use it to provide deserialization specific\n // to a certain query param.\n return this._router._deserializeQueryParam(value, defaultValueType);\n }\n /**\n @private\n @property _optionsForQueryParam\n */\n _optionsForQueryParam(qp) {\n 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 Route.extend({\n resetController(controller, isExiting, transition) {\n if (isExiting && transition.targetName !== 'error') {\n controller.set('page', 1);\n }\n }\n });\n ```\n @method resetController\n @param {Controller} controller instance\n @param {Boolean} isExiting\n @param {Object} transition\n @since 1.7.0\n @public\n */\n resetController(_controller, _isExiting, _transition) {\n return this;\n }\n /**\n @private\n @method exit\n */\n exit() {\n this.deactivate();\n this.trigger('deactivate');\n this.teardownViews();\n }\n /**\n @private\n @method _internalReset\n @since 3.6.0\n */\n _internalReset(isExiting, transition) {\n let controller = this.controller;\n controller._qpDelegate = (0, _metal.get)(this, '_qp.states.inactive');\n this.resetController(controller, isExiting, transition);\n }\n /**\n @private\n @method enter\n */\n enter() {\n this.connections = [];\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 export default Route.extend({\n actions: {\n willTransition(transition) {\n if (this.controller.get('userHasEnteredData')) {\n this.controller.displayNavigationConfirm();\n transition.abort();\n }\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 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 export default Route.extend({\n actions: {\n didTransition() {\n this.controller.get('errors.base').clear();\n return true; // Bubble the didTransition event\n }\n }\n });\n ```\n @event didTransition\n @since 1.2.0\n @public\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 export default Route.extend({\n actions: {\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 ```\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 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 export default Route.extend({\n beforeModel() {\n return reject('bad things!');\n },\n actions: {\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 ```\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 export default Route.extend({\n actions: {\n error(error, transition) {\n this.controllerFor('banner').displayError(error.message);\n }\n }\n });\n ```\n @event error\n @param {Error} error\n @param {Transition} transition\n @since 1.0.0\n @public\n */\n /**\n This event is triggered when the router enters the route. It is\n not executed when the model for the route changes.\n ```app/routes/application.js\n import { on } from '@ember/object/evented';\n import Route from '@ember/routing/route';\n export default Route.extend({\n collectAnalytics: on('activate', function(){\n collectAnalytics();\n })\n });\n ```\n @event activate\n @since 1.9.0\n @public\n */\n /**\n This event is triggered when the router completely exits this\n route. It is not executed when the model for the route changes.\n ```app/routes/index.js\n import { on } from '@ember/object/evented';\n import Route from '@ember/routing/route';\n export default Route.extend({\n trackPageLeaveAnalytics: on('deactivate', function(){\n trackPageLeaveAnalytics();\n })\n });\n ```\n @event deactivate\n @since 1.9.0\n @public\n */\n /**\n This hook is executed when the router completely exits this route. It is\n not executed when the model for the route changes.\n @method deactivate\n @since 1.0.0\n @public\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 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 `/`). This is intended for testing and debugging purposes and\n should rarely be used in production code.\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 export Route.extend({\n actions: {\n moveToSecret(context) {\n if (authorized()) {\n this.transitionTo('secret', context);\n } else {\n this.transitionTo('fourOhFour');\n }\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 export default Route.extend({\n actions: {\n transitionToNewArticle() {\n this.transitionTo('articles.new');\n }\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 export default Route.extend({\n actions: {\n moveToChocolateCereal() {\n let cereal = { cerealId: 'ChocolateYumminess' };\n let breakfast = { breakfastId: 'CerealAndMilk' };\n this.transitionTo('breakfast.cereal', breakfast, cereal);\n }\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 Route.extend({\n actions: {\n transitionToApples() {\n this.transitionTo('fruits.apples', { queryParams: { color: 'red' } });\n }\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\n @return {Transition} the transition object associated with this\n attempted transition\n @since 1.0.0\n @public\n */\n transitionTo(...args) {\n // eslint-disable-line no-unused-vars\n return this._router.transitionTo(...(0, _utils.prefixRouteNameArg)(this, args));\n }\n /**\n Perform a synchronous transition into another route without attempting\n to resolve promises, update the URL, or abort any currently active\n asynchronous transitions (i.e. regular transitions caused by\n `transitionTo` or URL changes).\n This method is handy for performing intermediate transitions on the\n way to a final destination route, and is called internally by the\n default implementations of the `error` and `loading` handlers.\n @method intermediateTransitionTo\n @param {String} name the name of the route\n @param {...Object} models the model(s) to be used while transitioning\n to the route.\n @since 1.2.0\n @public\n */\n intermediateTransitionTo(...args) {\n let [name, ...preparedArgs] = (0, _utils.prefixRouteNameArg)(this, args);\n this._router.intermediateTransitionTo(name, ...preparedArgs);\n }\n /**\n Refresh the model on this route and any child routes, firing the\n `beforeModel`, `model`, and `afterModel` hooks in a similar fashion\n to how routes are entered when transitioning in from other route.\n The current route params (e.g. `article_id`) will be passed in\n to the respective model hooks, and if a different model is returned,\n `setupController` and associated route hooks will re-fire as well.\n An example usage of this method is re-querying the server for the\n latest information using the same parameters as when the route\n was first entered.\n Note that this will cause `model` hooks to fire even on routes\n that were provided a model object when the route was initially\n entered.\n @method refresh\n @return {Transition} the transition object associated with this\n attempted transition\n @since 1.4.0\n @public\n */\n refresh() {\n return this._router._routerMicrolib.refresh(this);\n }\n /**\n Transition into another route while replacing the current URL, if possible.\n This will replace the current history entry instead of adding a new one.\n Beside that, it is identical to `transitionTo` in all other respects. See\n 'transitionTo' for additional information regarding multiple models.\n Example\n ```app/router.js\n // ...\n Router.map(function() {\n this.route('index');\n this.route('secret');\n });\n export default Router;\n ```\n ```app/routes/secret.js\n import Route from '@ember/routing/route';\n export default Route.extend({\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 replaceWith(...args) {\n return this._router.replaceWith(...(0, _utils.prefixRouteNameArg)(this, args));\n }\n /**\n This hook is the entry point for router.js\n @private\n @method setup\n */\n setup(context, transition) {\n let controller;\n let controllerName = this.controllerName || this.routeName;\n let definedController = this.controllerFor(controllerName, true);\n if (definedController) {\n controller = definedController;\n } else {\n controller = this.generateController(controllerName);\n }\n // Assign the route's controller so that it can more easily be\n // referenced in action handlers. Side effects. Side effects everywhere.\n if (!this.controller) {\n let qp = (0, _metal.get)(this, '_qp');\n let propNames = qp !== undefined ? (0, _metal.get)(qp, 'propertyNames') : [];\n addQueryParamsObservers(controller, propNames);\n this.controller = controller;\n }\n let queryParams = (0, _metal.get)(this, '_qp');\n let states = queryParams.states;\n controller._qpDelegate = states.allowOverrides;\n if (transition) {\n // Update the model dep values used to calculate cache keys.\n (0, _utils.stashParamNames)(this._router, transition[_router_js.STATE_SYMBOL].routeInfos);\n let cache = this._bucketCache;\n let params = transition[_router_js.PARAMS_SYMBOL];\n let allParams = queryParams.propertyNames;\n allParams.forEach(prop => {\n let aQp = queryParams.map[prop];\n aQp.values = params;\n let cacheKey = (0, _utils.calculateCacheKey)(aQp.route.fullRouteName, aQp.parts, aQp.values);\n let value = cache.lookup(cacheKey, prop, aQp.undecoratedDefaultValue);\n (0, _metal.set)(controller, prop, value);\n });\n let qpValues = getQueryParamsFor(this, transition[_router_js.STATE_SYMBOL]);\n (0, _metal.setProperties)(controller, qpValues);\n }\n this.setupController(controller, context, transition);\n if (this._environment.options.shouldRender) {\n this.renderTemplate(controller, context);\n }\n }\n /*\n Called when a query parameter for this route changes, regardless of whether the route\n is currently part of the active route hierarchy. This will update the query parameter's\n value in the cache so if this route becomes active, the cache value has been updated.\n */\n _qpChanged(prop, value, qp) {\n if (!qp) {\n return;\n }\n // Update model-dep cache\n let cache = this._bucketCache;\n let cacheKey = (0, _utils.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 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 Route.extend({\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 afterModel() {}\n /**\n A hook you can implement to optionally redirect to another route.\n If you call `this.transitionTo` from inside of this hook, this route\n will not be entered in favor of the other hook.\n `redirect` and `afterModel` behave very similarly and are\n called almost at the same time, but they have an important\n distinction in the case that, from one of these hooks, a\n redirect into a child route of this route occurs: redirects\n from `afterModel` essentially invalidate the current attempt\n to enter this route, and will result in this route's `beforeModel`,\n `model`, and `afterModel` hooks being fired again within\n the new, redirecting transition. Redirects that occur within\n the `redirect` hook, on the other hand, will _not_ cause\n these hooks to be fired again the second time around; in\n other words, by the time the `redirect` hook has been called,\n both the resolved model and attempted entry into this route\n are considered to be fully validated.\n @method redirect\n @param {Object} model the model for this route\n @param {Transition} transition the transition object associated with the current transition\n @since 1.0.0\n @public\n */\n redirect() {}\n /**\n Called when the context is changed by router.js.\n @private\n @method contextDidChange\n */\n contextDidChange() {\n this.currentModel = this.context;\n }\n /**\n A hook you can implement to convert the URL into the model for\n this route.\n ```app/router.js\n // ...\n Router.map(function() {\n this.route('post', { path: '/posts/:post_id' });\n });\n export default Router;\n ```\n The model for the `post` route is `store.findRecord('post', params.post_id)`.\n By default, if your route has a dynamic segment ending in `_id`:\n * The model class is determined from the segment (`post_id`'s\n class is `App.Post`)\n * The find method is called on the model class with the value of\n the dynamic segment.\n Note that for routes with dynamic segments, this hook is not always\n executed. If the route is entered through a transition (e.g. when\n using the `link-to` Handlebars helper or the `transitionTo` method\n of routes), and a model context is already provided this hook\n is not called.\n A model context does not include a primitive string or number,\n which does cause the model hook to be called.\n Routes without dynamic segments will always execute the model hook.\n ```javascript\n // no dynamic segment, model hook always called\n this.transitionTo('posts');\n // model passed in, so model hook not called\n thePost = store.findRecord('post', 1);\n this.transitionTo('post', thePost);\n // integer passed in, model hook is called\n this.transitionTo('post', 1);\n // model id passed in, model hook is called\n // useful for forcing the hook to execute\n thePost = store.findRecord('post', 1);\n this.transitionTo('post', thePost.id);\n ```\n This hook follows the asynchronous/promise semantics\n described in the documentation for `beforeModel`. In particular,\n if a promise returned from `model` fails, the error will be\n handled by the `error` hook on `Route`.\n Example\n ```app/routes/post.js\n import Route from '@ember/routing/route';\n export default Route.extend({\n model(params) {\n return this.store.findRecord('post', params.post_id);\n }\n });\n ```\n @method model\n @param {Object} params the parameters extracted from the URL\n @param {Transition} transition\n @return {any | Promise<any>} the model for this route. If\n a promise is returned, the transition will pause until\n the promise resolves, and the resolved value of the promise\n will be used as the model for this route.\n @since 1.0.0\n @public\n */\n model(params, transition) {\n let name, sawParams, value;\n let queryParams = (0, _metal.get)(this, '_qp.map');\n for (let prop in params) {\n if (prop === 'queryParams' || queryParams && prop in queryParams) {\n continue;\n }\n let match = prop.match(/^(.*)_id$/);\n if (match !== null) {\n name = match[1];\n value = params[prop];\n }\n sawParams = true;\n }\n if (!name) {\n if (sawParams) {\n return Object.assign({}, params);\n } else {\n if (transition.resolveIndex < 1) {\n return;\n }\n return transition[_router_js.STATE_SYMBOL].routeInfos[transition.resolveIndex - 1].context;\n }\n }\n return this.findModel(name, value);\n }\n /**\n @private\n @method deserialize\n @param {Object} params the parameters extracted from the URL\n @param {Transition} transition\n @return {any | Promise<any>} the model for this route.\n Router.js hook.\n */\n deserialize(_params, transition) {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n return this.model(this._paramsFor(this.routeName, _params), transition);\n }\n return this.model(this.paramsFor(this.routeName), transition);\n }\n /**\n @method findModel\n @param {String} type the model type\n @param {Object} value the value passed to find\n @private\n */\n findModel(...args) {\n return (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 Route.extend({\n model() {\n return this.store.findAll('photo');\n },\n setupController(controller, model) {\n // Call _super for default behavior\n this._super(controller, model);\n // Implement your custom setup after\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 For the `post` route, a controller named `App.PostController` would\n be used if it is defined. If it is not defined, a basic `Controller`\n instance would be used.\n Example\n ```app/routes/post.js\n import Route from '@ember/routing/route';\n export default Route.extend({\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 @since 1.0.0\n @public\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 Route.extend({\n setupController(controller, post) {\n this._super(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 controllerFor(name, _skipAssert) {\n let owner = (0, _owner.getOwner)(this);\n let route = owner.lookup(`route:${name}`);\n let controller;\n if (route && route.controllerName) {\n name = route.controllerName;\n }\n controller = owner.lookup(`controller:${name}`);\n // NOTE: We're specifically checking that skipAssert is true, because according\n // to the old API the second parameter was model. We do not want people who\n // passed a model to skip the assertion.\n false && !(!!controller || _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 || _skipAssert === true);\n\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 Route.extend({\n setupController(controller, post) {\n this._super(controller, post);\n this.generateController('posts');\n }\n });\n ```\n @method generateController\n @param {String} name the name of the controller\n @private\n */\n generateController(name) {\n let owner = (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 Route.extend({\n model() {\n let post = this.modelFor('post');\n return post.get('comments');\n }\n });\n ```\n @method modelFor\n @param {String} name the name of the route\n @return {Object} the model object\n @since 1.0.0\n @public\n */\n modelFor(_name) {\n let name;\n let owner = (0, _owner.getOwner)(this);\n let transition = this._router && this._router._routerMicrolib ? this._router._routerMicrolib.activeTransition : undefined;\n // Only change the route name when there is an active transition.\n // Otherwise, use the passed in route name.\n if (owner.routable && transition !== undefined) {\n name = getEngineRouteName(owner, _name);\n } else {\n name = _name;\n }\n let route = owner.lookup(`route:${name}`);\n // If we are mid-transition, we want to try and look up\n // resolved parent contexts on the current transitionEvent.\n if (transition !== undefined && transition !== null) {\n let modelLookupName = route && route.routeName || name;\n if (transition.resolvedModels.hasOwnProperty(modelLookupName)) {\n return transition.resolvedModels[modelLookupName];\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 Route.extend({\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 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 Route.extend({\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 Route.extend({\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 Route.extend({\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 render(_name, options) {\n let name;\n let isDefaultRender = arguments.length === 0;\n if (!isDefaultRender) {\n if (typeof _name === 'object' && !options) {\n name = this.templateName || this.routeName;\n options = _name;\n } else {\n false && !!(0, _metal.isEmpty)(_name) && (0, _debug.assert)('The name in the given arguments is undefined or empty string', !(0, _metal.isEmpty)(_name));\n\n name = _name;\n }\n }\n let renderOptions = buildRenderOptions(this, isDefaultRender, name, options);\n this.connections.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 export default Route.extend({\n actions: {\n showModal(evt) {\n this.render(evt.modalName, {\n outlet: 'modal',\n into: 'application'\n });\n },\n hideModal(evt) {\n this.disconnectOutlet({\n outlet: 'modal',\n parentView: 'application'\n });\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 export default Route.extend({\n actions: {\n showModal(evt) {\n // ...\n },\n hideModal(evt) {\n this.disconnectOutlet('modal');\n }\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 disconnectOutlet(options) {\n let outletName;\n let parentView;\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 false && !!('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 outletName = outletName || 'main';\n this._disconnectOutlet(outletName, parentView);\n let routeInfos = this._router._routerMicrolib.currentRouteInfos;\n for (let 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 _disconnectOutlet(outletName, parentView) {\n let parent = parentRoute(this);\n if (parent && parentView === parent.routeName) {\n parentView = undefined;\n }\n for (let i = 0; i < this.connections.length; i++) {\n let connection = this.connections[i];\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 this.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 };\n (0, _runloop.once)(this._router, '_setOutlets');\n }\n }\n }\n willDestroy() {\n this.teardownViews();\n }\n /**\n @private\n @method teardownViews\n */\n teardownViews() {\n if (this.connections && this.connections.length > 0) {\n this.connections = [];\n (0, _runloop.once)(this._router, '_setOutlets');\n }\n }\n }\n Route.reopenClass({\n isRouteFactory: true\n });\n function parentRoute(route) {\n let routeInfo = routeInfoFor(route, route._router._routerMicrolib.state.routeInfos, -1);\n return routeInfo && routeInfo.route;\n }\n function routeInfoFor(route, routeInfos, offset = 0) {\n if (!routeInfos) {\n return;\n }\n let current;\n for (let i = 0; i < routeInfos.length; i++) {\n current = routeInfos[i].route;\n if (current === route) {\n return routeInfos[i + offset];\n }\n }\n return;\n }\n function buildRenderOptions(route, isDefaultRender, _name, options) {\n false && !(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\n let owner = (0, _owner.getOwner)(route);\n let name, templateName, into, outlet, controller, model;\n if (options) {\n into = options.into && options.into.replace(/\\//g, '.');\n outlet = options.outlet;\n controller = options.controller;\n model = options.model;\n }\n outlet = outlet || 'main';\n if (isDefaultRender) {\n name = route.routeName;\n templateName = route.templateName || name;\n } else {\n name = _name.replace(/\\//g, '.');\n templateName = name;\n }\n if (!controller) {\n if (isDefaultRender) {\n controller = route.controllerName || owner.lookup(`controller:${name}`);\n } else {\n controller = owner.lookup(`controller:${name}`) || route.controllerName || route.routeName;\n }\n }\n if (typeof controller === 'string') {\n let controllerName = controller;\n controller = owner.lookup(`controller:${controllerName}`);\n false && !(isDefaultRender || !!controller) && (0, _debug.assert)(`You passed \\`controller: '${controllerName}'\\` into the \\`render\\` method, but no such controller could be found.`, isDefaultRender || !!controller);\n }\n if (model) {\n controller.set('model', model);\n }\n let template = owner.lookup(`template:${templateName}`);\n false && !(isDefaultRender || !!template) && (0, _debug.assert)(`Could not find \"${templateName}\" template, view, or component.`, isDefaultRender || !!template);\n\n let parent;\n if (into && (parent = parentRoute(route)) && into === parent.routeName) {\n into = undefined;\n }\n let renderOptions = {\n owner,\n into,\n outlet,\n name,\n controller: controller,\n template: template || route._topLevelViewTemplate\n };\n if (false /* DEBUG */) {\n let LOG_VIEW_LOOKUPS = (0, _metal.get)(route._router, 'namespace.LOG_VIEW_LOOKUPS');\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 return renderOptions;\n }\n function getFullQueryParams(router, state) {\n if (state['fullQueryParams']) {\n return state['fullQueryParams'];\n }\n state['fullQueryParams'] = {};\n (0, _polyfills.assign)(state['fullQueryParams'], state.queryParams);\n router._deserializeQueryParams(state.routeInfos, state['fullQueryParams']);\n return state['fullQueryParams'];\n }\n function getQueryParamsFor(route, state) {\n state['queryParamsFor'] = state['queryParamsFor'] || {};\n let name = route.fullRouteName;\n if (state['queryParamsFor'][name]) {\n return state['queryParamsFor'][name];\n }\n let fullQueryParams = getFullQueryParams(route._router, state);\n let params = state['queryParamsFor'][name] = {};\n // Copy over all the query params for this route/controller into params hash.\n let qpMeta = (0, _metal.get)(route, '_qp');\n let qps = qpMeta.qps;\n for (let i = 0; i < qps.length; ++i) {\n // Put deserialized qp on params hash.\n let qp = qps[i];\n let qpValueWasPassedIn = qp.prop in fullQueryParams;\n params[qp.prop] = qpValueWasPassedIn ? fullQueryParams[qp.prop] : copyDefaultValue(qp.defaultValue);\n }\n return params;\n }\n function copyDefaultValue(value) {\n if (Array.isArray(value)) {\n return (0, _runtime.A)(value.slice());\n }\n return value;\n }\n /*\n Merges all query parameters from a controller with those from\n a route, returning a new object and avoiding any mutations to\n the existing objects.\n */\n function mergeEachQueryParams(controllerQP, routeQP) {\n let qps = {};\n let keysAlreadyMergedOrSkippable = {\n defaultValue: true,\n type: true,\n scope: true,\n as: true\n };\n // first loop over all controller qps, merging them with any matching route qps\n // into a new empty object to avoid mutating.\n for (let cqpName in controllerQP) {\n if (!controllerQP.hasOwnProperty(cqpName)) {\n continue;\n }\n let newControllerParameterConfiguration = {};\n (0, _polyfills.assign)(newControllerParameterConfiguration, controllerQP[cqpName], routeQP[cqpName]);\n qps[cqpName] = newControllerParameterConfiguration;\n // allows us to skip this QP when we check route QPs.\n keysAlreadyMergedOrSkippable[cqpName] = true;\n }\n // loop over all route qps, skipping those that were merged in the first pass\n // because they also appear in controller qps\n for (let rqpName in routeQP) {\n if (!routeQP.hasOwnProperty(rqpName) || keysAlreadyMergedOrSkippable[rqpName]) {\n continue;\n }\n let newRouteParameterConfiguration = {};\n (0, _polyfills.assign)(newRouteParameterConfiguration, routeQP[rqpName], controllerQP[rqpName]);\n qps[rqpName] = newRouteParameterConfiguration;\n }\n return qps;\n }\n function addQueryParamsObservers(controller, propNames) {\n propNames.forEach(prop => {\n controller.addObserver(`${prop}.[]`, controller, controller._qpChanged);\n });\n }\n function getEngineRouteName(engine, routeName) {\n if (engine.routable) {\n let prefix = engine.mountPoint;\n if (routeName === 'application') {\n return prefix;\n } else {\n return `${prefix}.${routeName}`;\n }\n }\n return routeName;\n }\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 $ from 'jquery';\n import Route from '@ember/routing/route';\n \n export default Route.extend({\n model(params) {\n // the server returns `{ id: 12 }`\n return $.getJSON('/posts/' + params.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 Route.prototype.serialize = defaultSerialize;\n Route.reopen(_runtime.ActionHandler, _runtime.Evented, {\n mergedProperties: ['queryParams'],\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 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 Route.extend({\n templateName: 'posts/list'\n });\n ```\n ```app/routes/posts/index.js\n import PostsList from '../posts/list';\n export default PostsList.extend();\n ```\n ```app/routes/posts/archived.js\n import PostsList from '../posts/list';\n export default PostsList.extend();\n ```\n @property templateName\n @type String\n @default null\n @since 1.4.0\n @public\n */\n templateName: null,\n /**\n @private\n @property _names\n */\n _names: null,\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 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 @method store\n @param {Object} store\n @private\n */\n store: (0, _metal.computed)(function () {\n let owner = (0, _owner.getOwner)(this);\n let routeName = this.routeName;\n let namespace = (0, _metal.get)(this, '_router.namespace');\n return {\n find(name, value) {\n let modelClass = owner.factoryFor(`model:${name}`);\n false && !!!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.`, !!modelClass);\n\n if (!modelClass) {\n return;\n }\n modelClass = modelClass.class;\n false && !(typeof modelClass.find === 'function') && (0, _debug.assert)(`${(0, _string.classify)(name)} has no method \\`find\\`.`, typeof modelClass.find === 'function');\n\n return modelClass.find(value);\n }\n };\n }),\n router: _deprecatedFeatures.ROUTER_ROUTER ? (0, _metal.computed)('_router', function () {\n false && !false && (0, _debug.deprecate)('Route#router is an intimate API that has been renamed to Route#_router. However you might want to consider using the router service', false, {\n id: 'ember-routing.route-router',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_ember-routing-route-router'\n });\n\n return this._router;\n }) : undefined,\n /**\n @private\n @property _qp\n */\n _qp: (0, _metal.computed)(function () {\n let combinedQueryParameterConfiguration;\n let controllerName = this.controllerName || this.routeName;\n let owner = (0, _owner.getOwner)(this);\n let controller = owner.lookup(`controller:${controllerName}`);\n let queryParameterConfiguraton = (0, _metal.get)(this, 'queryParams');\n let hasRouterDefinedQueryParams = Object.keys(queryParameterConfiguraton).length > 0;\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 let controllerDefinedQueryParameterConfiguration = (0, _metal.get)(controller, 'queryParams') || {};\n let normalizedControllerQueryParameterConfiguration = (0, _utils.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 let qps = [];\n let map = {};\n let propertyNames = [];\n for (let propName in combinedQueryParameterConfiguration) {\n if (!combinedQueryParameterConfiguration.hasOwnProperty(propName)) {\n continue;\n }\n // to support the dubious feature of using unknownProperty\n // on queryParams configuration\n if (propName === 'unknownProperty' || propName === '_super') {\n // possible todo: issue deprecation warning?\n continue;\n }\n let desc = combinedQueryParameterConfiguration[propName];\n let scope = desc.scope || 'model';\n let parts;\n if (scope === 'controller') {\n parts = [];\n }\n let urlKey = desc.as || this.serializeQueryParamKey(propName);\n let defaultValue = (0, _metal.get)(controller, propName);\n if (Array.isArray(defaultValue)) {\n defaultValue = (0, _runtime.A)(defaultValue.slice());\n }\n let type = desc.type || (0, _runtime.typeOf)(defaultValue);\n let defaultValueSerialized = this.serializeQueryParam(defaultValue, urlKey, type);\n let scopedPropertyName = `${controllerName}:${propName}`;\n let 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 return {\n qps,\n map,\n propertyNames,\n states: {\n /*\n Called when a query parameter changes in the URL, this route cares\n about that query parameter, but the route is not currently\n in the active route hierarchy.\n */\n inactive: (prop, value) => {\n let qp = map[prop];\n this._qpChanged(prop, value, qp);\n },\n /*\n Called when a query parameter changes in the URL, this route cares\n about that query parameter, and the route is currently\n in the active route hierarchy.\n */\n active: (prop, value) => {\n let qp = map[prop];\n this._qpChanged(prop, value, qp);\n return this._activeQPChanged(qp, value);\n },\n /*\n Called when a value of a query parameter this route handles changes in a controller\n and the route is currently in the active route hierarchy.\n */\n allowOverrides: (prop, value) => {\n let qp = map[prop];\n this._qpChanged(prop, value, qp);\n return this._updatingQPChanged(qp);\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 export default Route.extend({\n actions: {\n track(arg) {\n console.log(arg, 'was clicked');\n }\n }\n });\n ```\n ```app/routes/index.js\n import Route from '@ember/routing/route';\n export default Route.extend({\n actions: {\n trackIfDebug(arg) {\n if (debug) {\n this.send('track', arg);\n }\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 false && !(!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 let name = args.shift();\n let action = this.actions[name];\n if (action) {\n return action.apply(this, args);\n }\n }\n },\n /**\n The controller associated with this route.\n Example\n ```app/routes/form.js\n import Route from '@ember/routing/route';\n export default Route.extend({\n actions: {\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 ```\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 let qpMap = (0, _metal.get)(this, '_qp').map;\n let totalChanged = Object.keys(changed).concat(Object.keys(removed));\n for (let i = 0; i < totalChanged.length; ++i) {\n let qp = qpMap[totalChanged[i]];\n if (qp && (0, _metal.get)(this._optionsForQueryParam(qp), 'refreshModel') && this._router.currentState) {\n this.refresh();\n break;\n }\n }\n return true;\n },\n finalizeQueryParamChange(params, finalParams, transition) {\n if (this.fullRouteName !== 'application') {\n return true;\n }\n // Transition object is absent for intermediate transitions.\n if (!transition) {\n return;\n }\n let routeInfos = transition[_router_js.STATE_SYMBOL].routeInfos;\n let router = this._router;\n let qpMeta = router._queryParamsFor(routeInfos);\n let changes = router._qpUpdates;\n let replaceUrl;\n (0, _utils.stashParamNames)(router, routeInfos);\n for (let i = 0; i < qpMeta.qps.length; ++i) {\n let qp = qpMeta.qps[i];\n let route = qp.route;\n let controller = route.controller;\n let presentKey = qp.urlKey in params && qp.urlKey;\n // Do a reverse lookup to see if the changed query\n // param URL key corresponds to a QP property on\n // this controller.\n let value, svalue;\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 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 controller._qpDelegate = (0, _metal.get)(route, '_qp.states.inactive');\n let thisQueryParamChanged = svalue !== qp.serializedValue;\n if (thisQueryParamChanged) {\n if (transition.queryParamsOnly && replaceUrl !== false) {\n let options = route._optionsForQueryParam(qp);\n let replaceConfigValue = (0, _metal.get)(options, 'replace');\n if (replaceConfigValue) {\n replaceUrl = true;\n } else if (replaceConfigValue === false) {\n // Explicit pushState wins over any other replaceStates.\n replaceUrl = false;\n }\n }\n (0, _metal.set)(controller, qp.prop, value);\n }\n // Stash current serialized value of controller.\n qp.serializedValue = svalue;\n let thisQueryParamHasDefaultValue = qp.serializedDefaultValue === svalue;\n if (!thisQueryParamHasDefaultValue || transition._keepDefaultQueryParamValues) {\n finalParams.push({\n value: svalue,\n visible: true,\n key: presentKey || qp.urlKey\n });\n }\n }\n if (replaceUrl) {\n transition.method('replace');\n }\n qpMeta.qps.forEach(qp => {\n let routeQpMeta = (0, _metal.get)(qp.route, '_qp');\n let finalizedController = qp.route.controller;\n finalizedController._qpDelegate = (0, _metal.get)(routeQpMeta, 'states.active');\n });\n router._qpUpdates.clear();\n return;\n }\n }\n });\n let ROUTER_EVENT_DEPRECATIONS = exports.ROUTER_EVENT_DEPRECATIONS = undefined;\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */ && _deprecatedFeatures.ROUTER_EVENTS) {\n exports.ROUTER_EVENT_DEPRECATIONS = ROUTER_EVENT_DEPRECATIONS = {\n on(name) {\n this._super(...arguments);\n let hasDidTransition = name === 'didTransition';\n let hasWillTransition = name === 'willTransition';\n if (hasDidTransition) {\n false && !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 if (hasWillTransition) {\n false && !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 Route.reopen(ROUTER_EVENT_DEPRECATIONS, {\n _paramsFor(routeName, params) {\n let transition = this._router._routerMicrolib.activeTransition;\n if (transition !== undefined) {\n return this.paramsFor(routeName);\n }\n return params;\n }\n });\n }\n exports.default = Route;\n});","enifed('@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 exports.triggerEvent = triggerEvent;\n\n function defaultDidTransition(infos) {\n updatePaths(this);\n this._cancelSlowTransitionTimer();\n this.notifyPropertyChange('url');\n this.set('currentState', this.targetState);\n // Put this in the runloop so url will be accurate. Seems\n // less surprising than didTransition being out of sync.\n (0, _runloop.once)(this, this.trigger, 'didTransition');\n if (false /* DEBUG */) {\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 function defaultWillTransition(oldInfos, newInfos, transition) {\n (0, _runloop.once)(this, this.trigger, 'willTransition', transition);\n if (false /* DEBUG */) {\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 if (_deprecatedFeatures.TRANSITION_STATE) {\n Object.defineProperty(_router_js.InternalTransition.prototype, 'state', {\n get() {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n false && !false && (0, _debug.deprecate)('You attempted to read \"transition.state\" which is a private API. You should read the `RouteInfo` object on \"transition.to\" or \"transition.from\" which has the public state on it.', false, {\n id: 'transition-state',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_transition-state'\n });\n }\n return this[_router_js.STATE_SYMBOL];\n }\n });\n Object.defineProperty(_router_js.InternalTransition.prototype, 'queryParams', {\n get() {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n false && !false && (0, _debug.deprecate)('You attempted to read \"transition.queryParams\" which is a private API. You should read the `RouteInfo` object on \"transition.to\" or \"transition.from\" which has the queryParams on it.', false, {\n id: 'transition-state',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_transition-state'\n });\n }\n return this[_router_js.QUERY_PARAMS_SYMBOL];\n }\n });\n Object.defineProperty(_router_js.InternalTransition.prototype, 'params', {\n get() {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n false && !false && (0, _debug.deprecate)('You attempted to read \"transition.params\" which is a private API. You should read the `RouteInfo` object on \"transition.to\" or \"transition.from\" which has the params on it.', false, {\n id: 'transition-state',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_transition-state'\n });\n }\n return this[_router_js.PARAMS_SYMBOL];\n }\n });\n }\n if (_deprecatedFeatures.HANDLER_INFOS) {\n Object.defineProperty(_router_js.InternalRouteInfo.prototype, 'handler', {\n get() {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n false && !false && (0, _debug.deprecate)('You attempted to read \"handlerInfo.handler\" which is a private API that will be removed.', false, {\n id: 'remove-handler-infos',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_remove-handler-infos'\n });\n }\n return this.route;\n },\n set(value) {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n false && !false && (0, _debug.deprecate)('You attempted to set \"handlerInfo.handler\" which is a private API that will be removed.', false, {\n id: 'remove-handler-infos',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_remove-handler-infos'\n });\n }\n this.route = value;\n }\n });\n Object.defineProperty(_router_js.InternalTransition.prototype, 'handlerInfos', {\n get() {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n false && !false && (0, _debug.deprecate)('You attempted to use \"transition.handlerInfos\" which is a private API that will be removed.', false, {\n id: 'remove-handler-infos',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_remove-handler-infos'\n });\n }\n return this.routeInfos;\n }\n });\n Object.defineProperty(_router_js.TransitionState.prototype, 'handlerInfos', {\n get() {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n false && !false && (0, _debug.deprecate)('You attempted to use \"transition.state.handlerInfos\" which is a private API that will be removed.', false, {\n id: 'remove-handler-infos',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_remove-handler-infos'\n });\n }\n return this.routeInfos;\n }\n });\n Object.defineProperty(_router_js.default.prototype, 'currentHandlerInfos', {\n get() {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n false && !false && (0, _debug.deprecate)('You attempted to use \"_routerMicrolib.currentHandlerInfos\" which is a private API that will be removed.', false, {\n id: 'remove-handler-infos',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_remove-handler-infos'\n });\n }\n return this.currentRouteInfos;\n }\n });\n _router_js.default.prototype['getHandler'] = function (name) {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n false && !false && (0, _debug.deprecate)('You attempted to use \"_routerMicrolib.getHandler\" which is a private API that will be removed.', false, {\n id: 'remove-handler-infos',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_remove-handler-infos'\n });\n }\n return this.getRoute(name);\n };\n }\n function K() {\n return this;\n }\n const { slice } = 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 class EmberRouter extends _runtime.Object {\n constructor() {\n super(...arguments);\n this.currentState = null;\n this.targetState = null;\n }\n _initRouterJs() {\n let location = (0, _metal.get)(this, 'location');\n let router = this;\n let owner = (0, _owner.getOwner)(this);\n let seen = Object.create(null);\n class PrivateRouter extends _router_js.default {\n getRoute(name) {\n let routeName = name;\n let routeOwner = owner;\n let engineInfo = router._engineInfoByRoute[routeName];\n if (engineInfo) {\n let engineInstance = router._getEngineInstance(engineInfo);\n routeOwner = engineInstance;\n routeName = engineInfo.localFullName;\n }\n let fullRouteName = `route:${routeName}`;\n let route = routeOwner.lookup(fullRouteName);\n if (seen[name]) {\n return route;\n }\n seen[name] = true;\n if (!route) {\n let DefaultRoute = routeOwner.factoryFor('route:basic').class;\n routeOwner.register(fullRouteName, DefaultRoute.extend());\n route = routeOwner.lookup(fullRouteName);\n if (false /* DEBUG */) {\n if ((0, _metal.get)(router, 'namespace.LOG_ACTIVE_GENERATION')) {\n (0, _debug.info)(`generated -> ${fullRouteName}`, { fullName: fullRouteName });\n }\n }\n }\n route._setRouteName(routeName);\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 return route;\n }\n getSerializer(name) {\n let engineInfo = router._engineInfoByRoute[name];\n // If this is not an Engine route, we fall back to the handler for serialization\n if (!engineInfo) {\n return;\n }\n return engineInfo.serializeMethod || _route.defaultSerialize;\n }\n updateURL(path) {\n (0, _runloop.once)(() => {\n location.setURL(path);\n (0, _metal.set)(router, 'currentURL', path);\n });\n }\n didTransition(infos) {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */ && _deprecatedFeatures.ROUTER_EVENTS) {\n if (router.didTransition !== defaultDidTransition) {\n false && !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 router.didTransition(infos);\n }\n willTransition(oldInfos, newInfos, transition) {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */ && _deprecatedFeatures.ROUTER_EVENTS) {\n if (router.willTransition !== defaultWillTransition) {\n false && !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 router.willTransition(oldInfos, newInfos, transition);\n }\n triggerEvent(routeInfos, ignoreFailure, name, args) {\n return triggerEvent.bind(router)(routeInfos, ignoreFailure, name, args);\n }\n routeWillChange(transition) {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n router.trigger('routeWillChange', transition);\n }\n }\n routeDidChange(transition) {\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\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 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 _triggerWillChangeContext() {\n return router;\n }\n _triggerWillLeave() {\n return router;\n }\n replaceURL(url) {\n if (location.replaceURL) {\n let doReplaceURL = () => {\n location.replaceURL(url);\n (0, _metal.set)(router, 'currentURL', url);\n };\n (0, _runloop.once)(doReplaceURL);\n } else {\n this.updateURL(url);\n }\n }\n }\n let routerMicrolib = this._routerMicrolib = new PrivateRouter();\n let dslCallbacks = this.constructor.dslCallbacks || [K];\n let dsl = this._buildDSL();\n dsl.route('application', { path: '/', resetNamespace: true, overrideNameAssertion: true }, function () {\n for (let i = 0; i < dslCallbacks.length; i++) {\n dslCallbacks[i].call(this);\n }\n });\n if (false /* DEBUG */) {\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 routerMicrolib.map(dsl.generate());\n }\n _buildDSL() {\n let enableLoadingSubstates = this._hasModuleBasedResolver();\n let router = this;\n let owner = (0, _owner.getOwner)(this);\n let options = {\n enableLoadingSubstates,\n resolveRouteMap(name) {\n return owner.factoryFor(`route-map:${name}`);\n },\n addRouteForEngine(name, engineInfo) {\n if (!router._engineInfoByRoute[name]) {\n router._engineInfoByRoute[name] = engineInfo;\n }\n }\n };\n return new _dsl.default(null, options);\n }\n init() {\n this._super(...arguments);\n this.currentURL = null;\n this.currentRouteName = null;\n this.currentPath = null;\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */) {\n this.currentRoute = null;\n }\n this._qpCache = Object.create(null);\n this._qpUpdates = new Set();\n this._resetQueuedQueryParameterChanges();\n this._handledErrors = new Set();\n this._engineInstances = Object.create(null);\n this._engineInfoByRoute = Object.create(null);\n }\n /*\n Resets all pending query parameter changes.\n Called after transitioning to a new route\n based on query parameter changes.\n */\n _resetQueuedQueryParameterChanges() {\n this._queuedQPChanges = {};\n }\n _hasModuleBasedResolver() {\n let owner = (0, _owner.getOwner)(this);\n if (!owner) {\n return false;\n }\n let resolver = (0, _metal.get)(owner, 'application.__registry__.resolver.moduleBasedResolver');\n return !!resolver;\n }\n /**\n Initializes the current router instance and sets up the change handling\n event listeners used by the instances `location` implementation.\n A property named `initialURL` will be used to determine the initial URL.\n If no value is found `/` will be used.\n @method startRouting\n @private\n */\n startRouting() {\n let initialURL = (0, _metal.get)(this, 'initialURL');\n if (this.setupRouter()) {\n if (initialURL === undefined) {\n initialURL = (0, _metal.get)(this, 'location').getURL();\n }\n let initialTransition = this.handleURL(initialURL);\n if (initialTransition && initialTransition.error) {\n throw initialTransition.error;\n }\n }\n }\n setupRouter() {\n this._setupLocation();\n let location = (0, _metal.get)(this, 'location');\n // Allow the Location class to cancel the router setup while it refreshes\n // the page\n if ((0, _metal.get)(location, 'cancelRouterSetup')) {\n return false;\n }\n this._initRouterJs();\n location.onUpdateURL(url => {\n this.handleURL(url);\n });\n return true;\n }\n _setOutlets() {\n // This is triggered async during Route#willDestroy.\n // If the router is also being destroyed we do not want to\n // to create another this._toplevelView (and leak the renderer)\n if (this.isDestroying || this.isDestroyed) {\n return;\n }\n let routeInfos = this._routerMicrolib.currentRouteInfos;\n let route;\n let defaultParentState;\n let liveRoutes = null;\n if (!routeInfos) {\n return;\n }\n for (let i = 0; i < routeInfos.length; i++) {\n route = routeInfos[i].route;\n let connections = route.connections;\n let ownState;\n for (let j = 0; j < connections.length; j++) {\n let appended = appendLiveRoute(liveRoutes, defaultParentState, connections[j]);\n liveRoutes = appended.liveRoutes;\n if (appended.ownState.render.name === route.routeName || appended.ownState.render.outlet === 'main') {\n ownState = appended.ownState;\n }\n }\n if (connections.length === 0) {\n ownState = representEmptyRoute(liveRoutes, defaultParentState, route);\n }\n defaultParentState = ownState;\n }\n // when a transitionTo happens after the validation phase\n // during the initial transition _setOutlets is called\n // when no routes are active. However, it will get called\n // again with the correct values during the next turn of\n // the runloop\n if (!liveRoutes) {\n return;\n }\n if (!this._toplevelView) {\n let owner = (0, _owner.getOwner)(this);\n let OutletView = owner.factoryFor('view:-outlet');\n this._toplevelView = OutletView.create();\n this._toplevelView.setOutletState(liveRoutes);\n let instance = owner.lookup('-application-instance:main');\n instance.didCreateRootView(this._toplevelView);\n } else {\n this._toplevelView.setOutletState(liveRoutes);\n }\n }\n handleURL(url) {\n // Until we have an ember-idiomatic way of accessing #hashes, we need to\n // remove it because router.js doesn't know how to handle it.\n let _url = url.split(/#(.+)?/)[0];\n return this._doURLTransition('handleURL', _url);\n }\n _doURLTransition(routerJsMethod, url) {\n let transition = this._routerMicrolib[routerJsMethod](url || '/');\n didBeginTransition(transition, this);\n return transition;\n }\n /**\n Transition the application into another route. The route may\n be either a single route or route path:\n See [transitionTo](/api/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 transitionTo(...args) {\n if ((0, _utils.resemblesURL)(args[0])) {\n false && !(!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\n return this._doURLTransition('transitionTo', args[0]);\n }\n let { routeName, models, queryParams } = (0, _utils.extractRouteArgs)(args);\n false && !(!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\n return this._doTransition(routeName, models, queryParams);\n }\n intermediateTransitionTo(name, ...args) {\n this._routerMicrolib.intermediateTransitionTo(name, ...args);\n updatePaths(this);\n if (false /* DEBUG */) {\n let infos = this._routerMicrolib.currentRouteInfos;\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 replaceWith(...args) {\n return this.transitionTo(...args).method('replace');\n }\n generate(name, ...args) {\n let url = this._routerMicrolib.generate(name, ...args);\n return this.location.formatURL(url);\n }\n /**\n Determines if the supplied route is currently active.\n @method isActive\n @param routeName\n @return {Boolean}\n @private\n */\n isActive(routeName) {\n return this._routerMicrolib.isActive(routeName);\n }\n /**\n An alternative form of `isActive` that doesn't require\n manual concatenation of the arguments into a single\n array.\n @method isActiveIntent\n @param routeName\n @param models\n @param queryParams\n @return {Boolean}\n @private\n @since 1.7.0\n */\n isActiveIntent(routeName, models, queryParams) {\n return this.currentState.isActiveIntent(routeName, models, queryParams);\n }\n send(name, ...args) {\n /*name, context*/\n this._routerMicrolib.trigger(name, ...args);\n }\n /**\n Does this router instance have the given route.\n @method hasRoute\n @return {Boolean}\n @private\n */\n hasRoute(route) {\n return this._routerMicrolib.hasRoute(route);\n }\n /**\n Resets the state of the router by clearing the current route\n handlers and deactivating them.\n @private\n @method reset\n */\n reset() {\n if (this._routerMicrolib) {\n this._routerMicrolib.reset();\n }\n }\n willDestroy() {\n if (this._toplevelView) {\n this._toplevelView.destroy();\n this._toplevelView = null;\n }\n this._super(...arguments);\n this.reset();\n let instances = this._engineInstances;\n for (let name in instances) {\n for (let 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 _activeQPChanged(queryParameterName, newValue) {\n this._queuedQPChanges[queryParameterName] = newValue;\n (0, _runloop.once)(this, this._fireQueryParamTransition);\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 _fireQueryParamTransition() {\n this.transitionTo({ queryParams: this._queuedQPChanges });\n this._resetQueuedQueryParameterChanges();\n }\n _setupLocation() {\n let location = (0, _metal.get)(this, 'location');\n let rootURL = (0, _metal.get)(this, 'rootURL');\n let owner = (0, _owner.getOwner)(this);\n if ('string' === typeof location && owner) {\n let resolvedLocation = owner.lookup(`location:${location}`);\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 let options = {\n implementation: location\n };\n location = (0, _metal.set)(this, 'location', _api.default.create(options));\n }\n }\n if (location !== null && typeof location === 'object') {\n if (rootURL) {\n (0, _metal.set)(location, 'rootURL', rootURL);\n }\n // Allow the location to do any feature detection, such as AutoLocation\n // detecting history support. This gives it a chance to set its\n // `cancelRouterSetup` property which aborts routing.\n if (typeof location.detect === 'function') {\n location.detect();\n }\n // ensure that initState is called AFTER the rootURL is set on\n // the location instance\n if (typeof location.initState === 'function') {\n location.initState();\n }\n }\n }\n /**\n Serializes the given query params according to their QP meta information.\n @private\n @method _serializeQueryParams\n @param {Arrray<RouteInfo>} routeInfos\n @param {Object} queryParams\n @return {Void}\n */\n _serializeQueryParams(routeInfos, queryParams) {\n forEachQueryParam(this, routeInfos, queryParams, (key, value, qp) => {\n if (qp) {\n delete queryParams[key];\n queryParams[qp.urlKey] = qp.route.serializeQueryParam(value, qp.urlKey, qp.type);\n } else if (value === undefined) {\n return; // We don't serialize undefined values\n } else {\n queryParams[key] = this._serializeQueryParam(value, (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 _serializeQueryParam(value, type) {\n if (value === null || value === undefined) {\n return value;\n } else if (type === 'array') {\n return JSON.stringify(value);\n }\n return `${value}`;\n }\n /**\n Deserializes the given query params according to their QP meta information.\n @private\n @method _deserializeQueryParams\n @param {Array<RouteInfo>} routeInfos\n @param {Object} queryParams\n @return {Void}\n */\n _deserializeQueryParams(routeInfos, queryParams) {\n forEachQueryParam(this, routeInfos, queryParams, (key, value, qp) => {\n // If we don't have QP meta info for a given key, then we do nothing\n // because all values will be treated as strings\n if (qp) {\n delete queryParams[key];\n queryParams[qp.prop] = qp.route.deserializeQueryParam(value, qp.urlKey, qp.type);\n }\n });\n }\n /**\n Deserializes the value of a query parameter based on a default type\n @private\n @method _deserializeQueryParam\n @param {Object} value\n @param {String} defaultType\n */\n _deserializeQueryParam(value, defaultType) {\n if (value === null || value === undefined) {\n return value;\n } else if (defaultType === 'boolean') {\n return value === 'true';\n } else if (defaultType === 'number') {\n return Number(value).valueOf();\n } else if (defaultType === 'array') {\n return (0, _runtime.A)(JSON.parse(value));\n }\n return value;\n }\n /**\n Removes (prunes) any query params with default values from the given QP\n object. Default values are determined from the QP meta information per key.\n @private\n @method _pruneDefaultQueryParamValues\n @param {Array<RouteInfo>} routeInfos\n @param {Object} queryParams\n @return {Void}\n */\n _pruneDefaultQueryParamValues(routeInfos, queryParams) {\n let qps = this._queryParamsFor(routeInfos);\n for (let key in queryParams) {\n let qp = qps.map[key];\n if (qp && qp.serializedDefaultValue === queryParams[key]) {\n delete queryParams[key];\n }\n }\n }\n _doTransition(_targetRouteName, models, _queryParams, _keepDefaultQueryParamValues) {\n let targetRouteName = _targetRouteName || (0, _utils.getActiveTargetName)(this._routerMicrolib);\n false && !(!!targetRouteName && this._routerMicrolib.hasRoute(targetRouteName)) && (0, _debug.assert)(`The route ${targetRouteName} was not found`, !!targetRouteName && this._routerMicrolib.hasRoute(targetRouteName));\n\n let queryParams = {};\n this._processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams);\n (0, _polyfills.assign)(queryParams, _queryParams);\n this._prepareQueryParams(targetRouteName, models, queryParams, !!_keepDefaultQueryParamValues);\n let transition = this._routerMicrolib.transitionTo(targetRouteName, ...models, { queryParams });\n didBeginTransition(transition, this);\n return transition;\n }\n _processActiveTransitionQueryParams(targetRouteName, models, queryParams, _queryParams) {\n // merge in any queryParams from the active transition which could include\n // queryParams from the url on initial load.\n if (!this._routerMicrolib.activeTransition) {\n return;\n }\n let unchangedQPs = {};\n let qpUpdates = this._qpUpdates;\n let params = this._routerMicrolib.activeTransition[_router_js.QUERY_PARAMS_SYMBOL];\n for (let key in params) {\n if (!qpUpdates.has(key)) {\n unchangedQPs[key] = params[key];\n }\n }\n // We need to fully scope queryParams so that we can create one object\n // that represents both passed-in queryParams and ones that aren't changed\n // from the active transition.\n this._fullyScopeQueryParams(targetRouteName, models, _queryParams);\n this._fullyScopeQueryParams(targetRouteName, models, unchangedQPs);\n (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 _prepareQueryParams(targetRouteName, models, queryParams, _fromRouterService) {\n let state = calculatePostTransitionState(this, targetRouteName, models);\n this._hydrateUnsuppliedQueryParams(state, queryParams, !!_fromRouterService);\n this._serializeQueryParams(state.routeInfos, queryParams);\n if (!_fromRouterService) {\n this._pruneDefaultQueryParamValues(state.routeInfos, queryParams);\n }\n }\n /**\n Returns the meta information for the query params of a given route. This\n will be overridden to allow support for lazy routes.\n @private\n @method _getQPMeta\n @param {RouteInfo} routeInfo\n @return {Object}\n */\n _getQPMeta(routeInfo) {\n let route = routeInfo.route;\n return route && (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 _queryParamsFor(routeInfos) {\n let routeInfoLength = routeInfos.length;\n let leafRouteName = routeInfos[routeInfoLength - 1].name;\n let cached = this._qpCache[leafRouteName];\n if (cached !== undefined) {\n return cached;\n }\n let shouldCache = true;\n let map = {};\n let qps = [];\n let qpsByUrlKey = false /* DEBUG */ ? {} : null;\n let qpMeta;\n let qp;\n let urlKey;\n let qpOther;\n for (let i = 0; i < routeInfoLength; ++i) {\n qpMeta = this._getQPMeta(routeInfos[i]);\n if (!qpMeta) {\n shouldCache = false;\n continue;\n }\n // Loop over each QP to make sure we don't have any collisions by urlKey\n for (let i = 0; i < qpMeta.qps.length; i++) {\n qp = qpMeta.qps[i];\n if (false /* DEBUG */) {\n urlKey = qp.urlKey;\n qpOther = qpsByUrlKey[urlKey];\n if (qpOther && qpOther.controllerName !== qp.controllerName) {\n false && !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 qpsByUrlKey[urlKey] = qp;\n }\n qps.push(qp);\n }\n (0, _polyfills.assign)(map, qpMeta.map);\n }\n let finalQPMeta = { qps, map };\n if (shouldCache) {\n this._qpCache[leafRouteName] = finalQPMeta;\n }\n return finalQPMeta;\n }\n /**\n Maps all query param keys to their fully scoped property name of the form\n `controllerName:propName`.\n @private\n @method _fullyScopeQueryParams\n @param {String} leafRouteName\n @param {Array<Object>} contexts\n @param {Object} queryParams\n @return {Void}\n */\n _fullyScopeQueryParams(leafRouteName, contexts, queryParams) {\n let state = calculatePostTransitionState(this, leafRouteName, contexts);\n let routeInfos = state.routeInfos;\n let qpMeta;\n for (let i = 0, len = routeInfos.length; i < len; ++i) {\n qpMeta = this._getQPMeta(routeInfos[i]);\n if (!qpMeta) {\n continue;\n }\n let qp;\n let presentProp;\n for (let 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 if (presentProp) {\n if (presentProp !== qp.scopedPropertyName) {\n queryParams[qp.scopedPropertyName] = queryParams[presentProp];\n delete queryParams[presentProp];\n }\n }\n }\n }\n }\n /**\n Hydrates (adds/restores) any query params that have pre-existing values into\n the given queryParams hash. This is what allows query params to be \"sticky\"\n and restore their last known values for their scope.\n @private\n @method _hydrateUnsuppliedQueryParams\n @param {TransitionState} state\n @param {Object} queryParams\n @return {Void}\n */\n _hydrateUnsuppliedQueryParams(state, queryParams, _fromRouterService) {\n let routeInfos = state.routeInfos;\n let appCache = this._bucketCache;\n let qpMeta;\n let qp;\n let presentProp;\n for (let i = 0; i < routeInfos.length; ++i) {\n qpMeta = this._getQPMeta(routeInfos[i]);\n if (!qpMeta) {\n continue;\n }\n for (let 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 false && !function () {\n if (qp.urlKey === presentProp) {\n return true;\n }\n if (_fromRouterService && presentProp !== false) {\n return false;\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) {\n return true;\n }if (_fromRouterService && presentProp !== false) {\n return false;\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 let 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 _scheduleLoadingEvent(transition, originRoute) {\n this._cancelSlowTransitionTimer();\n this._slowTransitionTimer = (0, _runloop.scheduleOnce)('routerTransitions', this, '_handleSlowTransition', transition, originRoute);\n }\n _handleSlowTransition(transition, originRoute) {\n if (!this._routerMicrolib.activeTransition) {\n // Don't fire an event if we've since moved on from\n // the transition that put us in a loading state.\n return;\n }\n let targetState = new _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 _cancelSlowTransitionTimer() {\n if (this._slowTransitionTimer) {\n (0, _runloop.cancel)(this._slowTransitionTimer);\n }\n this._slowTransitionTimer = null;\n }\n // These three helper functions are used to ensure errors aren't\n // re-raised if they're handled in a route's error action.\n _markErrorAsHandled(error) {\n this._handledErrors.add(error);\n }\n _isErrorHandled(error) {\n return this._handledErrors.has(error);\n }\n _clearHandledError(error) {\n this._handledErrors.delete(error);\n }\n _getEngineInstance({ name, instanceId, mountPoint }) {\n let engineInstances = this._engineInstances;\n if (!engineInstances[name]) {\n engineInstances[name] = Object.create(null);\n }\n let engineInstance = engineInstances[name][instanceId];\n if (!engineInstance) {\n let owner = (0, _owner.getOwner)(this);\n false && !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\n engineInstance = owner.buildChildEngineInstance(name, {\n routable: true,\n mountPoint\n });\n engineInstance.boot();\n engineInstances[name][instanceId] = engineInstance;\n }\n return engineInstance;\n }\n }\n /*\n Helper function for iterating over routes in a set of routeInfos that are\n at or above the given origin route. Example: if `originRoute` === 'foo.bar'\n and the routeInfos given were for 'foo.bar.baz', then the given callback\n will be invoked with the routes for 'foo.bar', 'foo', and 'application'\n individually.\n \n If the callback returns anything other than `true`, then iteration will stop.\n \n @private\n @param {Route} originRoute\n @param {Array<RouteInfo>} routeInfos\n @param {Function} callback\n @return {Void}\n */\n function forEachRouteAbove(routeInfos, callback) {\n for (let i = routeInfos.length - 1; i >= 0; --i) {\n let routeInfo = routeInfos[i];\n let route = routeInfo.route;\n // routeInfo.handler being `undefined` generally means either:\n //\n // 1. an error occurred during creation of the route in question\n // 2. the route is across an async boundary (e.g. within an engine)\n //\n // In both of these cases, we cannot invoke the callback on that specific\n // route, because it just doesn't exist...\n if (route === undefined) {\n continue;\n }\n if (callback(route, routeInfo) !== true) {\n return;\n }\n }\n }\n // These get invoked when an action bubbles above ApplicationRoute\n // and are not meant to be overridable.\n let defaultActionHandlers = {\n willResolveModel(_routeInfos, transition, originRoute) {\n this._scheduleLoadingEvent(transition, originRoute);\n },\n // Attempt to find an appropriate error route or substate to enter.\n error(routeInfos, error, transition) {\n let router = this;\n let routeInfoWithError = routeInfos[routeInfos.length - 1];\n forEachRouteAbove(routeInfos, (route, routeInfo) => {\n // We don't check the leaf most routeInfo since that would\n // technically be below where we're at in the route hierarchy.\n if (routeInfo !== routeInfoWithError) {\n // Check for the existence of an 'error' route.\n let errorRouteName = findRouteStateName(route, 'error');\n if (errorRouteName) {\n router._markErrorAsHandled(error);\n router.intermediateTransitionTo(errorRouteName, error);\n return false;\n }\n }\n // Check for an 'error' substate route\n let errorSubstateName = findRouteSubstateName(route, 'error');\n if (errorSubstateName) {\n router._markErrorAsHandled(error);\n router.intermediateTransitionTo(errorSubstateName, error);\n return false;\n }\n return true;\n });\n logError(error, `Error while processing route: ${transition.targetName}`);\n },\n // Attempt to find an appropriate loading route or substate to enter.\n loading(routeInfos, transition) {\n let router = this;\n let routeInfoWithSlowLoading = routeInfos[routeInfos.length - 1];\n forEachRouteAbove(routeInfos, (route, routeInfo) => {\n // We don't check the leaf most routeInfos since that would\n // technically be below where we're at in the route hierarchy.\n if (routeInfo !== routeInfoWithSlowLoading) {\n // Check for the existence of a 'loading' route.\n let loadingRouteName = findRouteStateName(route, 'loading');\n if (loadingRouteName) {\n router.intermediateTransitionTo(loadingRouteName);\n return false;\n }\n }\n // Check for loading substate\n let loadingSubstateName = findRouteSubstateName(route, 'loading');\n if (loadingSubstateName) {\n router.intermediateTransitionTo(loadingSubstateName);\n return false;\n }\n // Don't bubble above pivot route.\n return transition.pivotHandler !== route;\n });\n }\n };\n function logError(_error, initialMessage) {\n let errorArgs = [];\n let error;\n if (_error && typeof _error === 'object' && typeof _error.errorThrown === 'object') {\n error = _error.errorThrown;\n } else {\n error = _error;\n }\n if (initialMessage) {\n errorArgs.push(initialMessage);\n }\n if (error) {\n if (error.message) {\n errorArgs.push(error.message);\n }\n if (error.stack) {\n errorArgs.push(error.stack);\n }\n if (typeof error === 'string') {\n errorArgs.push(error);\n }\n }\n console.error(...errorArgs); //eslint-disable-line no-console\n }\n /**\n Finds the name of the substate route if it exists for the given route. A\n substate route is of the form `route_state`, such as `foo_loading`.\n \n @private\n @param {Route} route\n @param {String} state\n @return {String}\n */\n function findRouteSubstateName(route, state) {\n let owner = (0, _owner.getOwner)(route);\n let { routeName, fullRouteName, _router: router } = route;\n let substateName = `${routeName}_${state}`;\n let substateNameFull = `${fullRouteName}_${state}`;\n return routeHasBeenDefined(owner, router, substateName, substateNameFull) ? substateNameFull : '';\n }\n /**\n Finds the name of the state route if it exists for the given route. A state\n route is of the form `route.state`, such as `foo.loading`. Properly Handles\n `application` named routes.\n \n @private\n @param {Route} route\n @param {String} state\n @return {String}\n */\n function findRouteStateName(route, state) {\n let owner = (0, _owner.getOwner)(route);\n let { routeName, fullRouteName, _router: router } = route;\n let stateName = routeName === 'application' ? state : `${routeName}.${state}`;\n let stateNameFull = fullRouteName === 'application' ? state : `${fullRouteName}.${state}`;\n return routeHasBeenDefined(owner, router, stateName, stateNameFull) ? stateNameFull : '';\n }\n /**\n Determines whether or not a route has been defined by checking that the route\n is in the Router's map and the owner has a registration for that route.\n \n @private\n @param {Owner} owner\n @param {Router} router\n @param {String} localName\n @param {String} fullName\n @return {Boolean}\n */\n function routeHasBeenDefined(owner, router, localName, fullName) {\n let routerHasRoute = router.hasRoute(fullName);\n let ownerHasRoute = owner.hasRegistration(`template:${localName}`) || owner.hasRegistration(`route:${localName}`);\n return routerHasRoute && ownerHasRoute;\n }\n function triggerEvent(routeInfos, ignoreFailure, name, args) {\n if (!routeInfos) {\n if (ignoreFailure) {\n return;\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 let eventWasHandled = false;\n let routeInfo, handler, actionHandler;\n for (let i = routeInfos.length - 1; i >= 0; i--) {\n routeInfo = routeInfos[i];\n handler = routeInfo.route;\n actionHandler = handler && handler.actions && handler.actions[name];\n if (actionHandler) {\n if (actionHandler.apply(handler, args) === true) {\n eventWasHandled = true;\n } else {\n // Should only hit here if a non-bubbling error action is triggered on a route.\n if (name === 'error') {\n handler._router._markErrorAsHandled(args[0]);\n }\n return;\n }\n }\n }\n let defaultHandler = defaultActionHandlers[name];\n if (defaultHandler) {\n defaultHandler.apply(this, [routeInfos, ...args]);\n return;\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 function calculatePostTransitionState(emberRouter, leafRouteName, contexts) {\n let state = emberRouter._routerMicrolib.applyIntent(leafRouteName, contexts);\n let { routeInfos, params } = state;\n for (let i = 0; i < routeInfos.length; ++i) {\n let routeInfo = routeInfos[i];\n // If the routeInfo is not resolved, we serialize the context into params\n if (!routeInfo.isResolved) {\n params[routeInfo.name] = routeInfo.serialize(routeInfo.context);\n } else {\n params[routeInfo.name] = routeInfo.params;\n }\n }\n return state;\n }\n function updatePaths(router) {\n let infos = router._routerMicrolib.currentRouteInfos;\n if (infos.length === 0) {\n return;\n }\n let path = EmberRouter._routePath(infos);\n let currentRouteName = infos[infos.length - 1].name;\n let 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 let appController = (0, _owner.getOwner)(router).lookup('controller:application');\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 if (!('currentPath' in appController)) {\n (0, _metal.defineProperty)(appController, 'currentPath');\n }\n (0, _metal.set)(appController, 'currentPath', path);\n if (!('currentRouteName' in appController)) {\n (0, _metal.defineProperty)(appController, 'currentRouteName');\n }\n (0, _metal.set)(appController, 'currentRouteName', currentRouteName);\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 For more detailed documentation and examples please see\n [the guides](https://guides.emberjs.com/release/routing/defining-your-routes/).\n @method map\n @param callback\n @public\n */\n map(callback) {\n if (!this.dslCallbacks) {\n this.dslCallbacks = [];\n this.reopenClass({ dslCallbacks: this.dslCallbacks });\n }\n this.dslCallbacks.push(callback);\n return this;\n },\n _routePath(routeInfos) {\n let path = [];\n // We have to handle coalescing resource names that\n // are prefixed with their parent's names, e.g.\n // ['foo', 'foo.bar.baz'] => 'foo.bar.baz', not 'foo.foo.bar.baz'\n function intersectionMatches(a1, a2) {\n for (let i = 0; i < a1.length; ++i) {\n if (a1[i] !== a2[i]) {\n return false;\n }\n }\n return true;\n }\n let name, nameParts, oldNameParts;\n for (let i = 1; i < routeInfos.length; i++) {\n name = routeInfos[i].name;\n nameParts = name.split('.');\n oldNameParts = slice.call(path);\n while (oldNameParts.length) {\n if (intersectionMatches(oldNameParts, nameParts)) {\n break;\n }\n oldNameParts.shift();\n }\n path.push(...nameParts.slice(oldNameParts.length));\n }\n return path.join('.');\n }\n });\n function didBeginTransition(transition, router) {\n let routerState = new _router_state.default(router, router._routerMicrolib, transition[_router_js.STATE_SYMBOL]);\n if (!router.currentState) {\n router.set('currentState', routerState);\n }\n router.set('targetState', routerState);\n transition.promise = transition.catch(error => {\n if (router._isErrorHandled(error)) {\n router._clearHandledError(error);\n } else {\n throw error;\n }\n }, 'Transition Error');\n }\n function forEachQueryParam(router, routeInfos, queryParams, callback) {\n let qpCache = router._queryParamsFor(routeInfos);\n for (let key in queryParams) {\n if (!queryParams.hasOwnProperty(key)) {\n continue;\n }\n let value = queryParams[key];\n let qp = qpCache.map[key];\n callback(key, value, qp);\n }\n }\n function findLiveRoute(liveRoutes, name) {\n if (!liveRoutes) {\n return;\n }\n let stack = [liveRoutes];\n while (stack.length > 0) {\n let test = stack.shift();\n if (test.render.name === name) {\n return test;\n }\n let outlets = test.outlets;\n for (let outletName in outlets) {\n stack.push(outlets[outletName]);\n }\n }\n return;\n }\n function appendLiveRoute(liveRoutes, defaultParentState, renderOptions) {\n let target;\n let myState = {\n render: renderOptions,\n outlets: Object.create(null),\n wasUsed: false\n };\n if (renderOptions.into) {\n target = findLiveRoute(liveRoutes, renderOptions.into);\n } else {\n target = defaultParentState;\n }\n if (target) {\n (0, _metal.set)(target.outlets, renderOptions.outlet, myState);\n } else {\n liveRoutes = myState;\n }\n return {\n liveRoutes,\n ownState: myState\n };\n }\n function representEmptyRoute(liveRoutes, defaultParentState, route) {\n // the route didn't render anything\n let alreadyAppended = findLiveRoute(liveRoutes, route.routeName);\n if (alreadyAppended) {\n // But some other route has already rendered our default\n // template, so that becomes the default target for any\n // children we may have.\n return alreadyAppended;\n } else {\n // Create an entry to represent our default template name,\n // just so other routes can target it and inherit its place\n // in the outlet hierarchy.\n defaultParentState.outlets.main = {\n render: {\n name: route.routeName,\n outlet: 'main'\n },\n outlets: {}\n };\n return defaultParentState;\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 let Router = EmberRouter.extend({\n location: config.locationType,\n didTransition: function() {\n this._super(...arguments);\n return ga('send', 'pageview', {\n 'page': this.get('url'),\n 'title': this.get('url')\n });\n }\n });\n ```\n @method didTransition\n @public\n @since 1.2.0\n */\n didTransition: defaultDidTransition,\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 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 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 Represents the current URL.\n @method url\n @return {String} The current URL.\n @private\n */\n url: (0, _metal.computed)(function () {\n return (0, _metal.get)(this, 'location').getURL();\n })\n });\n if (true /* EMBER_ROUTING_ROUTER_SERVICE */ && _deprecatedFeatures.ROUTER_EVENTS) {\n EmberRouter.reopen(_route.ROUTER_EVENT_DEPRECATIONS);\n }\n exports.default = EmberRouter;\n});","enifed('@ember/-internals/routing/lib/system/router_state', ['exports', '@ember/polyfills', '@ember/-internals/routing/lib/utils'], function (exports, _polyfills, _utils) {\n 'use strict';\n\n class RouterState {\n constructor(emberRouter, router, routerJsState) {\n this.emberRouter = emberRouter;\n this.router = router;\n this.routerJsState = routerJsState;\n }\n isActiveIntent(routeName, models, queryParams, queryParamsMustMatch) {\n let state = this.routerJsState;\n if (!this.router.isActiveIntent(routeName, models, undefined, state)) {\n return false;\n }\n if (queryParamsMustMatch && Object.keys(queryParams).length > 0) {\n let visibleQueryParams = (0, _polyfills.assign)({}, queryParams);\n this.emberRouter._prepareQueryParams(routeName, models, visibleQueryParams);\n return (0, _utils.shallowEqual)(visibleQueryParams, state.queryParams);\n }\n return true;\n }\n }\n exports.default = RouterState;\n});","enifed(\"@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 The Transition's internal promise. Calling `.then` on this property\n is that same as calling `.then` on the Transition object itself, but\n this property is exposed for when you want to pass around a\n Transition's promise, but not the Transition object itself, since\n Transition object can be externally `abort`ed, while the promise\n cannot.\n \n @property promise\n @type {Object}\n @public\n */\n /**\n Custom state can be stored on a Transition's `data` object.\n This can be useful for decorating a Transition within an earlier\n hook and shared with a later hook. Properties set on `data` will\n be copied to new transitions generated by calling `retry` on this\n transition.\n \n @property data\n @type {Object}\n @public\n */\n /**\n A standard promise hook that resolves if the transition\n succeeds and rejects if it fails/redirects/aborts.\n \n Forwards to the internal `promise` property which you can\n use in situations where you want to pass around a 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 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 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 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 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 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 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 * 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 is simply represents leafmost route.\n * @property {RouteInfo|RouteInfoWithAttributes} to\n * @public\n * @category ember-routing-router-service\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 is simply represents head node of the list.\n * In the case of an initial render, from will be set to\n * `null`.\n * @property {RouteInfoWithAttributes} from\n * @public\n * @category ember-routing-router-service\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});","enifed('@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 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\n const ALL_PERIODS_REGEX = /\\./g;\n function extractRouteArgs(args) {\n args = args.slice();\n let possibleQueryParams = args[args.length - 1];\n let queryParams;\n if (possibleQueryParams && possibleQueryParams.hasOwnProperty('queryParams')) {\n queryParams = args.pop().queryParams;\n } else {\n queryParams = {};\n }\n let routeName = args.shift();\n return { routeName, models: args, queryParams };\n }\n function getActiveTargetName(router) {\n let routeInfos = router.activeTransition ? router.activeTransition[_router_js.STATE_SYMBOL].routeInfos : router.state.routeInfos;\n return routeInfos[routeInfos.length - 1].name;\n }\n function stashParamNames(router, routeInfos) {\n if (routeInfos['_namesStashed']) {\n return;\n }\n // This helper exists because router.js/route-recognizer.js awkwardly\n // keeps separate a routeInfo's list of parameter names depending\n // on whether a URL transition or named transition is happening.\n // Hopefully we can remove this in the future.\n let targetRouteName = routeInfos[routeInfos.length - 1].name;\n let recogHandlers = router._routerMicrolib.recognizer.handlersFor(targetRouteName);\n let dynamicParent;\n for (let i = 0; i < routeInfos.length; ++i) {\n let routeInfo = routeInfos[i];\n let names = recogHandlers[i].names;\n if (names.length) {\n dynamicParent = routeInfo;\n }\n routeInfo['_names'] = names;\n let route = routeInfo.route;\n route._stashNames(routeInfo, dynamicParent);\n }\n routeInfos['_namesStashed'] = true;\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 let prefixParts = prefix.split('.');\n let currPrefix = '';\n for (let i = 0; i < prefixParts.length; i++) {\n let currPart = prefixParts.slice(0, i + 1).join('.');\n if (part.indexOf(currPart) !== 0) {\n break;\n }\n currPrefix = currPart;\n }\n return currPrefix;\n }\n /*\n Stolen from Controller\n */\n function calculateCacheKey(prefix, parts = [], values) {\n let suffixes = '';\n for (let i = 0; i < parts.length; ++i) {\n let part = parts[i];\n let cacheValuePrefix = _calculateCacheValuePrefix(prefix, part);\n let value;\n if (values) {\n if (cacheValuePrefix && cacheValuePrefix in values) {\n let partRemovedPrefix = part.indexOf(cacheValuePrefix) === 0 ? part.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 suffixes += `::${part}:${value}`;\n }\n return prefix + suffixes.replace(ALL_PERIODS_REGEX, '-');\n }\n /*\n Controller-defined query parameters can come in three shapes:\n \n Array\n queryParams: ['foo', 'bar']\n Array of simple objects where value is an alias\n queryParams: [\n {\n 'foo': 'rename_foo_to_this'\n },\n {\n 'bar': 'call_bar_this_instead'\n }\n ]\n Array of fully defined objects\n queryParams: [\n {\n 'foo': {\n as: 'rename_foo_to_this'\n },\n }\n {\n 'bar': {\n as: 'call_bar_this_instead',\n scope: 'controller'\n }\n }\n ]\n \n This helper normalizes all three possible styles into the\n 'Array of fully defined objects' style.\n */\n function normalizeControllerQueryParams(queryParams) {\n let qpMap = {};\n for (let i = 0; i < queryParams.length; ++i) {\n accumulateQueryParamDescriptors(queryParams[i], qpMap);\n }\n return qpMap;\n }\n function accumulateQueryParamDescriptors(_desc, accum) {\n let desc = _desc;\n let tmp;\n if (typeof desc === 'string') {\n tmp = {};\n tmp[desc] = { as: null };\n desc = tmp;\n }\n for (let key in desc) {\n if (!desc.hasOwnProperty(key)) {\n return;\n }\n let singleDesc = desc[key];\n if (typeof singleDesc === 'string') {\n singleDesc = { as: singleDesc };\n }\n tmp = accum[key] || { as: null, scope: 'model' };\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 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 function prefixRouteNameArg(route, args) {\n let routeName = args[0];\n let owner = (0, _owner.getOwner)(route);\n let prefix = owner.mountPoint;\n // only alter the routeName if it's actually referencing a route.\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 return args;\n }\n function shallowEqual(a, b) {\n let k;\n let aCount = 0;\n let bCount = 0;\n for (k in a) {\n if (a.hasOwnProperty(k)) {\n if (a[k] !== b[k]) {\n return false;\n }\n aCount++;\n }\n }\n for (k in b) {\n if (b.hasOwnProperty(k)) {\n bCount++;\n }\n }\n return aCount === bCount;\n }\n});","enifed('@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) {\n 'use strict';\n\n exports.typeOf = exports.onerrorDefault = exports.RSVP = exports.PromiseProxyMixin = exports.Evented = exports.TargetActionSupport = exports.MutableEnumerable = exports.Observable = exports._contentFor = exports._ProxyMixin = exports.Enumerable = exports.Copyable = exports.ActionHandler = exports.CoreObject = exports.ObjectProxy = exports.ArrayProxy = exports.Namespace = exports.Comparable = exports.isArray = exports.uniqBy = exports.removeAt = exports.MutableArray = exports.A = exports.NativeArray = exports.isEmberArray = exports.Array = exports.isEqual = exports.compare = exports.copy = exports.ContainerProxyMixin = exports.RegistryProxyMixin = exports.FrameworkObject = exports.Object = undefined;\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, 'isEmberArray', {\n enumerable: true,\n get: function () {\n return _array.isEmberArray;\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});","enifed('@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 exports.default = compare;\n\n\n const 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\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 function spaceship(a, b) {\n let diff = a - b;\n return (diff > 0) - (diff < 0);\n }\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 function compare(v, w) {\n if (v === w) {\n return 0;\n }\n\n let type1 = (0, _typeOf.typeOf)(v);\n let 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 let res = spaceship(TYPE_ORDER[type1], TYPE_ORDER[type2]);\n\n if (res !== 0) {\n return res;\n }\n\n // types are equal - so we have to check values now\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 let vLen = v.length;\n let wLen = w.length;\n let len = Math.min(vLen, wLen);\n\n for (let i = 0; i < len; i++) {\n let r = compare(v[i], w[i]);\n if (r !== 0) {\n return r;\n }\n }\n\n // all elements are equal now\n // shorter array should be ordered first\n return spaceship(vLen, wLen);\n }\n case 'instance':\n if (_comparable.default.detect(v)) {\n return v.compare(v, w);\n }\n return 0;\n\n case 'date':\n return spaceship(v.getTime(), w.getTime());\n\n default:\n return 0;\n }\n }\n});","enifed('@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 exports.default = copy;\n\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 let ret, loc;\n\n // avoid cyclical loops\n if (deep && (loc = seen.indexOf(obj)) >= 0) {\n return copies[loc];\n }\n\n if (deep) {\n seen.push(obj);\n }\n\n // IMPORTANT: this specific test will detect a native array only. Any other\n // object will need to implement Copyable.\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 if (deep) {\n copies.push(ret);\n }\n } else if (obj instanceof Date) {\n ret = new Date(obj.getTime());\n if (deep) {\n copies.push(ret);\n }\n } else {\n false && !(!(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\n ret = {};\n if (deep) {\n copies.push(ret);\n }\n\n let key;\n for (key in obj) {\n // support Null prototype\n if (!Object.prototype.hasOwnProperty.call(obj, key)) {\n continue;\n }\n\n // Prevents browsers that don't respect non-enumerability from\n // copying internal Ember properties\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 /**\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 function copy(obj, deep) {\n false && !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 });\n\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});","enifed('@ember/-internals/runtime/lib/ext/function', ['@ember/-internals/environment', '@ember/-internals/metal'], function (_environment, _metal) {\n 'use strict';\n\n /**\n @module ember\n */\n\n if (_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](/api/ember/release/classes/ComputedProperty), [@ember/object/computed](/api/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 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 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\n on: {\n configurable: true,\n enumerable: false,\n writable: true,\n value: function () {\n return (0, _metal.on)(...arguments, this);\n }\n }\n });\n }\n});","enifed('@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 exports.onerrorDefault = onerrorDefault;\n\n\n _rsvp.configure('async', (callback, promise) => {\n _runloop.backburner.schedule('actions', null, callback, promise);\n });\n\n _rsvp.configure('after', cb => {\n _runloop.backburner.schedule(_runloop._rsvpErrorQueue, null, cb);\n });\n\n _rsvp.on('error', onerrorDefault);\n\n function onerrorDefault(reason) {\n let error = errorFor(reason);\n if (error) {\n let overrideDispatch = (0, _errorHandling.getDispatchOverride)();\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 false && !false && (0, _debug.assert)(`The URL '${reason.message}' did not match any routes in your application`, false);\n\n return;\n }\n\n if (reason.name === 'TransitionAborted') {\n return;\n }\n\n return reason;\n }\n\n function unwrapErrorThrown(reason) {\n let error = reason.errorThrown;\n if (typeof error === 'string') {\n error = new Error(error);\n }\n Object.defineProperty(error, '__reason_with_error_thrown__', {\n value: reason,\n enumerable: false\n });\n return error;\n }\n\n exports.default = _rsvp;\n});","enifed('@ember/-internals/runtime/lib/is-equal', ['exports'], function (exports) {\n 'use strict';\n\n exports.default = isEqual;\n /**\n @module @ember/utils\n */\n /**\n Compares two objects, returning true if they are equal.\n \n ```javascript\n import { isEqual } from '@ember/utils';\n \n isEqual('hello', 'hello'); // true\n isEqual(1, 2); // false\n ```\n \n `isEqual` is a more specific comparison than a triple equal comparison.\n It will call the `isEqual` instance method on the objects being\n compared, allowing finer control over when objects should be considered\n equal to each other.\n \n ```javascript\n import { isEqual } from '@ember/utils';\n import EmberObject from '@ember/object';\n \n let Person = EmberObject.extend({\n isEqual(other) { return this.ssn == other.ssn; }\n });\n \n let personA = Person.create({name: 'Muhammad Ali', ssn: '123-45-6789'});\n let personB = Person.create({name: 'Cassius Clay', ssn: '123-45-6789'});\n \n isEqual(personA, personB); // true\n ```\n \n Due to the expense of array comparisons, collections will never be equal to\n each other even if each of their items are equal to each other.\n \n ```javascript\n import { isEqual } from '@ember/utils';\n \n isEqual([4, 2], [4, 2]); // false\n ```\n \n @method isEqual\n @for @ember/utils\n @static\n @param {Object} a first object to compare\n @param {Object} b second object to compare\n @return {Boolean}\n @public\n */\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});","enifed('@ember/-internals/runtime/lib/mixins/-proxy', ['exports', '@glimmer/reference', '@ember/-internals/meta', '@ember/-internals/metal', '@ember/-internals/utils', '@ember/debug'], function (exports, _reference, _meta, _metal, _utils, _debug) {\n 'use strict';\n\n exports.contentFor = contentFor;\n\n\n function contentPropertyDidChange(content, contentKey) {\n let key = contentKey.slice(8); // remove \"content.\"\n if (key in this) {\n return;\n } // if shadowed in proxy\n (0, _metal.notifyPropertyChange)(this, key);\n } /**\n @module ember\n */\n\n function contentFor(proxy, m) {\n let content = (0, _metal.get)(proxy, 'content');\n let tag = (m === undefined ? (0, _meta.meta)(proxy) : m).readableTag();\n if (tag !== undefined) {\n tag.inner.second.inner.update((0, _metal.tagFor)(content));\n }\n return content;\n }\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 exports.default = _metal.Mixin.create({\n /**\n The object whose properties will be forwarded.\n @property content\n @type EmberObject\n @default null\n @private\n */\n content: null,\n\n init() {\n this._super(...arguments);\n (0, _utils.setProxy)(this);\n let m = (0, _meta.meta)(this);\n m.writableTag(() => (0, _reference.combine)([_reference.DirtyableTag.create(), _reference.UpdatableTag.create(_reference.CONSTANT_TAG)]));\n },\n\n willDestroy() {\n this.set('content', null);\n this._super(...arguments);\n },\n\n isTruthy: (0, _metal.computed)('content', function () {\n return !!(0, _metal.get)(this, 'content');\n }),\n\n willWatchProperty(key) {\n let contentKey = `content.${key}`;\n (0, _metal.addObserver)(this, contentKey, null, contentPropertyDidChange);\n },\n\n didUnwatchProperty(key) {\n let contentKey = `content.${key}`;\n (0, _metal.removeObserver)(this, contentKey, null, contentPropertyDidChange);\n },\n\n unknownProperty(key) {\n let content = contentFor(this);\n if (content) {\n return (0, _metal.get)(content, key);\n }\n },\n\n setUnknownProperty(key, value) {\n let 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 let content = contentFor(this, m);\n\n false && !content && (0, _debug.assert)(`Cannot delegate set('${key}', ${value}) to the \\'content\\' property of object proxy ${this}: its 'content' is undefined.`, content);\n\n return (0, _metal.set)(content, key, value);\n }\n });\n});","enifed('@ember/-internals/runtime/lib/mixins/action_handler', ['exports', '@ember/-internals/metal', '@ember/debug'], function (exports, _metal, _debug) {\n 'use strict';\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 /**\n @module ember\n */\n\n const 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 false && !(!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 let shouldBubble = this.actions[actionName].apply(this, args) === true;\n if (!shouldBubble) {\n return;\n }\n }\n\n let target = (0, _metal.get)(this, 'target');\n if (target) {\n false && !(typeof target.send === 'function') && (0, _debug.assert)(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`, typeof target.send === 'function');\n\n target.send(...arguments);\n }\n }\n });\n\n exports.default = ActionHandler;\n});","enifed('@ember/-internals/runtime/lib/mixins/array', ['exports', '@ember/deprecated-features', '@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/copy', '@ember/-internals/runtime/lib/mixins/mutable_enumerable', '@ember/-internals/runtime/lib/type-of'], function (exports, _deprecatedFeatures, _metal, _utils, _debug, _enumerable, _compare, _environment, _observable, _copy, _mutable_enumerable, _typeOf) {\n 'use strict';\n\n exports.MutableArray = exports.NativeArray = exports.A = undefined;\n exports.isEmberArray = isEmberArray;\n exports.uniqBy = uniqBy;\n exports.removeAt = removeAt;\n exports.isArray = isArray;\n /**\n @module @ember/array\n */\n const EMPTY_ARRAY = Object.freeze([]);\n const EMBER_ARRAY = (0, _utils.symbol)('EMBER_ARRAY');\n\n function isEmberArray(obj) {\n return obj && obj[EMBER_ARRAY];\n }\n\n const identityFunction = item => item;\n\n function uniqBy(array, key = identityFunction) {\n false && !isArray(array) && (0, _debug.assert)(`first argument passed to \\`uniqBy\\` should be array`, isArray(array));\n\n let ret = A();\n let seen = new Set();\n let getter = typeof key === 'function' ? key : item => (0, _metal.get)(item, key);\n\n array.forEach(item => {\n let val = getter(item);\n if (!seen.has(val)) {\n seen.add(val);\n ret.push(item);\n }\n });\n\n return ret;\n }\n\n function iter(key, value) {\n let valueProvided = arguments.length === 2;\n return valueProvided ? item => value === (0, _metal.get)(item, key) : item => !!(0, _metal.get)(item, key);\n }\n\n function findIndex(array, predicate, startAt) {\n let len = array.length;\n for (let index = startAt; index < len; index++) {\n let item = (0, _metal.objectAt)(array, index);\n if (predicate(item, index, array)) {\n return index;\n }\n }\n return -1;\n }\n\n function find(array, callback, target) {\n let predicate = callback.bind(target);\n let index = findIndex(array, predicate, 0);\n return index === -1 ? undefined : (0, _metal.objectAt)(array, index);\n }\n\n function any(array, callback, target) {\n let predicate = callback.bind(target);\n return findIndex(array, predicate, 0) !== -1;\n }\n\n function every(array, callback, target) {\n let cb = callback.bind(target);\n let predicate = (item, index, array) => !cb(item, index, array);\n return findIndex(array, predicate, 0) === -1;\n }\n\n function indexOf(array, val, startAt = 0, withNaNCheck) {\n let len = array.length;\n\n if (startAt < 0) {\n startAt += len;\n }\n\n // SameValueZero comparison (NaN !== NaN)\n let predicate = withNaNCheck && val !== val ? item => item !== item : item => item === val;\n return findIndex(array, predicate, startAt);\n }\n\n function removeAt(array, index, len = 1) {\n false && !(index > -1 && index < array.length) && (0, _debug.assert)(`\\`removeAt\\` index provided is out of range`, index > -1 && index < array.length);\n\n (0, _metal.replace)(array, index, len, EMPTY_ARRAY);\n return array;\n }\n\n function insertAt(array, index, item) {\n false && !(index > -1 && index <= array.length) && (0, _debug.assert)(`\\`insertAt\\` index provided is out of range`, index > -1 && index <= array.length);\n\n (0, _metal.replace)(array, index, 0, [item]);\n return item;\n }\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 function isArray(_obj) {\n let obj = _obj;\n if (false /* DEBUG */ && _utils.HAS_NATIVE_PROXY && typeof _obj === 'object' && _obj !== null) {\n let possibleProxyContent = _obj[_metal.PROXY_CONTENT];\n if (possibleProxyContent !== undefined) {\n obj = possibleProxyContent;\n }\n }\n\n if (!obj || obj.setInterval) {\n return false;\n }\n if (Array.isArray(obj) || ArrayMixin.detect(obj)) {\n return true;\n }\n\n let type = (0, _typeOf.typeOf)(obj);\n if ('array' === type) {\n return true;\n }\n let length = obj.length;\n if (typeof length === 'number' && length === length && 'object' === type) {\n return true;\n }\n return false;\n }\n\n // ..........................................................\n // ARRAY\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 classes that can\n be instantiated to implement array-like behavior. Both of these classes use\n the Array Mixin by way of the MutableArray mixin, which allows observable\n changes to be made to the 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 a KVO-friendly way. You can also be notified whenever the\n 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 const ArrayMixin = _metal.Mixin.create(_enumerable.default, {\n [EMBER_ARRAY]: true,\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 @property []\n @return this\n @public\n */\n '[]': (0, _metal.computed)({\n get() {\n return this;\n },\n set(key, value) {\n this.replace(0, this.length, value);\n return this;\n }\n }),\n\n /**\n The first object in the array, or `undefined` if the array is empty.\n @property firstObject\n @return {Object | undefined} The first object in the array\n @public\n */\n firstObject: (0, _metal.computed)(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: (0, _metal.computed)(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 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 let ret = A();\n let 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 Returns the index of the given object's first occurrence.\n If no `startAt` argument is given, the starting location to\n search is 0. If it's negative, will count backward from\n the end of the array. Returns -1 if no match is found.\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\n arr.indexOf('b', 3); // -1\n arr.indexOf('a', 100); // -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\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. If it's negative, will count backward\n from the end of the array. 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('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, default 0\n @return {Number} index or -1 if not found\n @public\n */\n lastIndexOf(object, startAt) {\n let 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 (let 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 */\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 @property {Boolean} hasArrayObservers\n @public\n */\n hasArrayObservers: (0, _metal.computed)(function () {\n return (0, _metal.hasListeners)(this, '@array:change') || (0, _metal.hasListeners)(this, '@array:before');\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 @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 @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 @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 false && !(typeof callback === 'function') && (0, _debug.assert)('`forEach` expects a function as first argument.', typeof callback === 'function');\n\n let length = this.length;\n\n for (let index = 0; index < length; index++) {\n let item = this.objectAt(index);\n callback.call(target, item, index, this);\n }\n\n return this;\n },\n\n /**\n Alias for `mapBy`\n @method getEach\n @param {String} key name of the property\n @return {Array} The mapped array.\n @public\n */\n getEach: (0, _metal.aliasMethod)('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 @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 ```\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 false && !(typeof callback === 'function') && (0, _debug.assert)('`map` expects a function as first argument.', typeof callback === 'function');\n\n let ret = A();\n\n this.forEach((x, idx, i) => ret[idx] = callback.call(target, x, idx, i));\n\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 @method mapBy\n @param {String} key name of the property\n @return {Array} The mapped array.\n @public\n */\n mapBy(key) {\n return this.map(next => (0, _metal.get)(next, key));\n },\n\n /**\n Returns an array with all of the items in the enumeration that the passed\n function returns true for. This method corresponds to `filter()` 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 It should return `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 @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 false && !(typeof callback === 'function') && (0, _debug.assert)('`filter` expects a function as first argument.', typeof callback === 'function');\n\n let ret = A();\n\n this.forEach((x, idx, i) => {\n if (callback.call(target, x, idx, i)) {\n ret.push(x);\n }\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 @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 false && !(typeof callback === 'function') && (0, _debug.assert)('`reject` expects a function as first argument.', typeof callback === 'function');\n\n return this.filter(function () {\n return !callback.apply(target, arguments);\n });\n },\n\n /**\n Returns an array with just the items with the matched property. You\n can pass an optional second argument with the target value. Otherwise\n this will match any property that evaluates to `true`.\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\n key. You can pass an optional second argument with the target value. Otherwise\n this will match any property that evaluates to false.\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 @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 false && !(typeof callback === 'function') && (0, _debug.assert)('`find` expects a function as first argument.', typeof callback === 'function');\n\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 @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 `every()` method 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 ```\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` 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 Example Usage:\n ```javascript\n if (people.every(isEngineer)) {\n Paychecks.addBigBonus();\n }\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 false && !(typeof callback === 'function') && (0, _debug.assert)('`every` expects a function as first argument.', typeof callback === 'function');\n\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 @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 Returns `true` if the passed function returns true for any item in the\n enumeration.\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 object itself.\n It must return a truthy value (i.e. `true`) to include an item in the\n results. Any non-truthy return value will discard the item from the\n 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 Usage Example:\n ```javascript\n if (people.any(isManager)) {\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 false && !(typeof callback === 'function') && (0, _debug.assert)('`any` expects a function as first argument.', typeof callback === 'function');\n\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 @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 enumerator into a single value. It\n is a useful way to collect a summary value from an enumeration. 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 @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 false && !(typeof callback === 'function') && (0, _debug.assert)('`reduce` expects a function as first argument.', typeof callback === 'function');\n\n let ret = initialValue;\n\n this.forEach(function (item, i) {\n ret = callback(ret, item, i, this);\n }, this);\n\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 @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 let ret = A();\n\n this.forEach(item => ret.push((0, _utils.tryInvoke)(item, methodName, args)));\n\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 Returns `true` if the passed object can be found in the array.\n This method is a Polyfill for ES 2016 Array.includes.\n If no `startAt` argument is given, the starting location to\n search is 0. If it's negative, searches from the index of\n `this.length + startAt` by asc.\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 = [{name: 'red'}, {name: 'green'}, {name: 'blue'}];\n colors.sortBy('name'); // [{name: 'blue'}, {name: 'green'}, {name: 'red'}]\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 let sortKeys = arguments;\n\n return this.toArray().sort((a, b) => {\n for (let i = 0; i < sortKeys.length; i++) {\n let key = sortKeys[i];\n let propA = (0, _metal.get)(a, key);\n let propB = (0, _metal.get)(b, key);\n // return 1 or -1 else continue to the next sortKey\n let compareValue = (0, _compare.default)(propA, propB);\n\n if (compareValue) {\n return compareValue;\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\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 }\n\n // SameValueZero comparison (NaN !== NaN)\n let predicate = value === value ? item => item !== value : item => item === item;\n return this.filter(predicate);\n },\n\n /**\n Returns a special object that can be used to observe individual properties\n on the array. Just get an equivalent property on this object and it will\n return an array that maps automatically to the named key on the\n member objects.\n `@each` should only be used in a non-terminal context. Example:\n ```javascript\n myMethod: computed('posts.@each.author', function(){\n ...\n });\n ```\n If you merely want to watch for the array being changed, like an object being\n replaced, added or removed, use `[]` instead of `@each`.\n ```javascript\n myMethod: computed('posts.[]', function(){\n ...\n });\n ```\n @property @each\n @deprecated\n @public\n */\n '@each': _deprecatedFeatures.ARRAY_AT_EACH ? (0, _metal.computed)(function () {\n false && !false && (0, _debug.deprecate)(`Getting the '@each' property on object ${(0, _utils.toString)(this)} is deprecated`, false, {\n id: 'ember-metal.getting-each',\n until: '3.5.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_getting-the-each-property'\n });\n\n return (0, _metal.eachProxyFor)(this);\n }).readOnly() : undefined\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 const 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 let len = this.length;\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 let len = this.length;\n if (len === 0) {\n return null;\n }\n\n let 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 let 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 let len = this.length;\n if (len === 0) {\n return this;\n }\n\n let 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 let 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 let loc = this.length || 0;\n while (--loc >= 0) {\n let curObject = (0, _metal.objectAt)(this, loc);\n\n if (curObject === obj) {\n this.removeAt(loc);\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 for (let i = objects.length - 1; i >= 0; i--) {\n this.removeObject(objects[i]);\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 let 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\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 @module ember\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 let 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 false && !Array.isArray(items) && (0, _debug.assert)('The third argument to replace needs to be an array.', Array.isArray(items));\n\n (0, _metal.replaceInNativeArray)(this, start, deleteCount, items);\n\n return this;\n },\n\n copy(deep) {\n false && !false && (0, _debug.deprecate)(`Using \\`NativeArray#copy\\` is deprecated`, false, {\n id: 'ember-runtime.using-array-copy',\n until: '3.5.0'\n });\n\n if (deep) {\n return this.map(item => (0, _copy.default)(item, true));\n }\n\n return this.slice();\n }\n });\n\n // Remove any methods implemented natively so we don't override them\n const ignore = ['length'];\n NativeArray.keys().forEach(methodName => {\n if (Array.prototype[methodName]) {\n ignore.push(methodName);\n }\n });\n\n exports.NativeArray = NativeArray = NativeArray.without(...ignore);\n\n let A;\n\n if (_environment.ENV.EXTEND_PROTOTYPES.Array) {\n NativeArray.apply(Array.prototype);\n\n exports.A = A = function (arr) {\n false && !!(this instanceof A) && (0, _debug.deprecate)('`new A()` has been deprecated, please update to calling A as a function: `A()`', !(this instanceof A), {\n id: 'array.new-array-wrapper',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_array-new-array-wrapper'\n });\n\n return arr || [];\n };\n } else {\n exports.A = A = function (arr) {\n false && !!(this instanceof A) && (0, _debug.deprecate)('`new A()` has been deprecated, please update to calling A as a function: `A()`', !(this instanceof A), {\n id: 'array.new-array-wrapper',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_array-new-array-wrapper'\n });\n\n if (!arr) {\n arr = [];\n }\n\n return ArrayMixin.detect(arr) ? arr : NativeArray.apply(arr);\n };\n }\n\n exports.A = A;\n exports.NativeArray = NativeArray;\n exports.MutableArray = MutableArray;\n exports.default = ArrayMixin;\n});","enifed('@ember/-internals/runtime/lib/mixins/comparable', ['exports', '@ember/-internals/metal'], function (exports, _metal) {\n 'use strict';\n\n exports.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});","enifed('@ember/-internals/runtime/lib/mixins/container_proxy', ['exports', '@ember/runloop', '@ember/-internals/metal'], function (exports, _runloop, _metal) {\n 'use strict';\n\n /**\n ContainerProxyMixin is used to provide public access to specific\n container functionality.\n \n @class ContainerProxyMixin\n @private\n */\n let 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 let 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 @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 @module ember\n */\n exports.default = _metal.Mixin.create(containerProxyMixin);\n});","enifed('@ember/-internals/runtime/lib/mixins/copyable', ['exports', '@ember/-internals/metal'], function (exports, _metal) {\n 'use strict';\n\n exports.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});","enifed('@ember/-internals/runtime/lib/mixins/enumerable', ['exports', '@ember/-internals/metal'], function (exports, _metal) {\n 'use strict';\n\n exports.default = _metal.Mixin.create();\n});","enifed('@ember/-internals/runtime/lib/mixins/evented', ['exports', '@ember/-internals/metal'], function (exports, _metal) {\n 'use strict';\n\n exports.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 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} method The callback to execute\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. If this argument is passed then the 3rd argument\n becomes the function.\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} method The callback to execute\n @return this\n @public\n */\n one(name, target, method) {\n if (!method) {\n method = target;\n target = null;\n }\n\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} method The 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});","enifed('@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 exports.default = _metal.Mixin.create(_enumerable.default);\n});","enifed('@ember/-internals/runtime/lib/mixins/observable', ['exports', '@ember/-internals/metal', '@ember/debug'], function (exports, _metal, _debug) {\n 'use strict';\n\n exports.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 @method propertyWillChange\n @private\n */\n propertyWillChange(keyName) {\n (0, _metal.propertyWillChange)(this, keyName);\n return this;\n },\n\n /**\n @method propertyDidChange\n @private\n */\n propertyDidChange(keyName) {\n (0, _metal.propertyDidChange)(this, keyName);\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 ### 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 @return {Observable}\n @public\n */\n addObserver(key, target, method) {\n (0, _metal.addObserver)(this, key, target, method);\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 @return {Observable}\n @public\n */\n removeObserver(key, target, method) {\n (0, _metal.removeObserver)(this, key, target, method);\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 false && !(!isNaN(parseFloat(increment)) && isFinite(increment)) && (0, _debug.assert)('Must pass a numeric value to incrementProperty', !isNaN(parseFloat(increment)) && isFinite(increment));\n\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 false && !(!isNaN(parseFloat(decrement)) && isFinite(decrement)) && (0, _debug.assert)('Must pass a numeric value to decrementProperty', !isNaN(parseFloat(decrement)) && isFinite(decrement));\n\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 return (0, _metal.getCachedValueFor)(this, keyName);\n }\n });\n});","enifed('@ember/-internals/runtime/lib/mixins/promise_proxy', ['exports', '@ember/-internals/metal', '@ember/error'], function (exports, _metal, _error) {\n 'use strict';\n\n /**\n @module @ember/object\n */\n\n function tap(proxy, promise) {\n (0, _metal.setProperties)(proxy, {\n isFulfilled: false,\n isRejected: false\n });\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 return value;\n }, reason => {\n if (!proxy.isDestroyed && !proxy.isDestroying) {\n (0, _metal.setProperties)(proxy, {\n reason,\n isRejected: true\n });\n }\n throw reason;\n }, 'Ember: PromiseProxy');\n }\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 exports.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 set(key, promise) {\n return tap(this, promise);\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\n function promiseAlias(name) {\n return function () {\n let promise = (0, _metal.get)(this, 'promise');\n return promise[name](...arguments);\n };\n }\n});","enifed('@ember/-internals/runtime/lib/mixins/registry_proxy', ['exports', '@ember/debug', '@ember/-internals/metal'], function (exports, _debug, _metal) {\n 'use strict';\n\n exports.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 false && !this.__registry__.isValidFullName(fullName) && (0, _debug.assert)('fullName must be a proper full name', this.__registry__.isValidFullName(fullName));\n\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 {Function} (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\n function registryAlias(name) {\n return function () {\n return this.__registry__[name](...arguments);\n };\n }\n});","enifed('@ember/-internals/runtime/lib/mixins/target_action_support', ['exports', '@ember/-internals/environment', '@ember/-internals/metal', '@ember/debug', '@ember/deprecated-features'], function (exports, _environment, _metal, _debug, _deprecatedFeatures) {\n 'use strict';\n\n exports.default = _metal.Mixin.create({\n target: null,\n targetObject: _deprecatedFeatures.TARGET_OBJECT ? (0, _metal.descriptor)({\n configurable: true,\n enumerable: false,\n get() {\n let message = `${this} Usage of \\`targetObject\\` is deprecated. Please use \\`target\\` instead.`;\n let options = { id: 'ember-runtime.using-targetObject', until: '3.5.0' };\n false && !false && (0, _debug.deprecate)(message, false, options);\n\n return this._targetObject;\n },\n set(value) {\n let message = `${this} Usage of \\`targetObject\\` is deprecated. Please use \\`target\\` instead.`;\n let options = { id: 'ember-runtime.using-targetObject', until: '3.5.0' };\n false && !false && (0, _debug.deprecate)(message, false, options);\n\n this._targetObject = value;\n }\n }) : undefined,\n action: null,\n actionContext: null,\n\n actionContextObject: (0, _metal.computed)('actionContext', function () {\n let actionContext = (0, _metal.get)(this, 'actionContext');\n\n if (typeof actionContext === 'string') {\n let value = (0, _metal.get)(this, actionContext);\n if (value === undefined) {\n value = (0, _metal.get)(_environment.context.lookup, actionContext);\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 let { action, target, actionContext } = 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 let ret;\n\n if (target.send) {\n ret = target.send(...[action].concat(actionContext));\n } else {\n false && !(typeof target[action] === 'function') && (0, _debug.assert)(`The action '${action}' did not exist on ${target}`, typeof target[action] === 'function');\n\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 function getTarget(instance) {\n let target = (0, _metal.get)(instance, 'target');\n if (target) {\n if (typeof target === 'string') {\n let value = (0, _metal.get)(instance, target);\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 a `targetObject` CP was provided, use it\n if (target) {\n return target;\n }\n\n // if _targetObject use it\n if (_deprecatedFeatures.TARGET_OBJECT && instance._targetObject) {\n return instance._targetObject;\n }\n\n return null;\n }\n});","enifed('@ember/-internals/runtime/lib/system/array_proxy', ['exports', '@ember/-internals/metal', '@ember/-internals/runtime/lib/system/object', '@ember/-internals/runtime/lib/mixins/array', '@ember/debug'], function (exports, _metal, _object, _array, _debug) {\n 'use strict';\n\n /**\n @module @ember/array\n */\n\n const ARRAY_OBSERVER_MAPPING = {\n willChange: '_arrangedContentArrayWillChange',\n didChange: '_arrangedContentArrayDidChange'\n };\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 class ArrayProxy extends _object.default {\n init() {\n super.init(...arguments);\n\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 this._objectsDirtyIndex = 0;\n this._objects = null;\n\n this._lengthDirty = true;\n this._length = 0;\n\n this._arrangedContent = null;\n this._addArrangedContentArrayObsever();\n }\n\n willDestroy() {\n this._removeArrangedContentArrayObsever();\n }\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 objectAtContent(idx) {\n return (0, _metal.objectAt)((0, _metal.get)(this, 'arrangedContent'), idx);\n }\n\n // See additional docs for `replace` from `MutableArray`:\n // https://www.emberjs.com/api/ember/3.3/classes/MutableArray/methods/replace?anchor=replace\n replace(idx, amt, objects) {\n false && !((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\n this.replaceContent(idx, amt, objects);\n }\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 replaceContent(idx, amt, objects) {\n (0, _metal.get)(this, 'content').replace(idx, amt, objects);\n }\n\n // Overriding objectAt is not supported.\n objectAt(idx) {\n if (this._objects === null) {\n this._objects = [];\n }\n\n if (this._objectsDirtyIndex !== -1 && idx >= this._objectsDirtyIndex) {\n let arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n if (arrangedContent) {\n let length = this._objects.length = (0, _metal.get)(arrangedContent, 'length');\n\n for (let i = this._objectsDirtyIndex; i < length; i++) {\n this._objects[i] = this.objectAtContent(i);\n }\n } else {\n this._objects.length = 0;\n }\n this._objectsDirtyIndex = -1;\n }\n\n return this._objects[idx];\n }\n\n // Overriding length is not supported.\n get length() {\n if (this._lengthDirty) {\n let arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n this._length = arrangedContent ? (0, _metal.get)(arrangedContent, 'length') : 0;\n this._lengthDirty = false;\n }\n\n return this._length;\n }\n\n set length(value) {\n let length = this.length;\n let removedCount = length - value;\n let added;\n\n if (removedCount === 0) {\n return;\n } else if (removedCount < 0) {\n added = new Array(-removedCount);\n removedCount = 0;\n }\n\n let content = (0, _metal.get)(this, 'content');\n if (content) {\n (0, _metal.replace)(content, value, removedCount, added);\n\n this._invalidate();\n }\n }\n\n [_metal.PROPERTY_DID_CHANGE](key) {\n if (key === 'arrangedContent') {\n let oldLength = this._objects === null ? 0 : this._objects.length;\n let arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n let newLength = arrangedContent ? (0, _metal.get)(arrangedContent, 'length') : 0;\n\n this._removeArrangedContentArrayObsever();\n this.arrayContentWillChange(0, oldLength, newLength);\n\n this._invalidate();\n\n this.arrayContentDidChange(0, oldLength, newLength);\n this._addArrangedContentArrayObsever();\n } else if (key === 'content') {\n this._invalidate();\n }\n }\n\n _addArrangedContentArrayObsever() {\n let arrangedContent = (0, _metal.get)(this, 'arrangedContent');\n if (arrangedContent) {\n false && !(arrangedContent !== this) && (0, _debug.assert)(\"Can't set ArrayProxy's content to itself\", arrangedContent !== this);\n false && !((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\n (0, _metal.addArrayObserver)(arrangedContent, this, ARRAY_OBSERVER_MAPPING);\n\n this._arrangedContent = arrangedContent;\n }\n }\n\n _removeArrangedContentArrayObsever() {\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\n let dirtyIndex = idx;\n if (dirtyIndex < 0) {\n let length = (0, _metal.get)(this._arrangedContent, 'length');\n dirtyIndex += length + removedCnt - addedCnt;\n }\n\n if (this._objectsDirtyIndex === -1) {\n this._objectsDirtyIndex = dirtyIndex;\n } else {\n if (this._objectsDirtyIndex > dirtyIndex) {\n this._objectsDirtyIndex = dirtyIndex;\n }\n }\n\n this._lengthDirty = true;\n\n this.arrayContentDidChange(idx, removedCnt, addedCnt);\n }\n\n _invalidate() {\n this._objectsDirtyIndex = 0;\n this._lengthDirty = true;\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});","enifed('@ember/-internals/runtime/lib/system/core_object', ['exports', '@ember/-internals/container', '@ember/polyfills', '@ember/-internals/utils', '@ember/runloop', '@ember/-internals/meta', '@ember/-internals/metal', '@ember/-internals/runtime/lib/mixins/action_handler', '@ember/debug'], function (exports, _container, _polyfills, _utils, _runloop, _meta, _metal, _action_handler, _debug) {\n 'use strict';\n\n /**\n @module @ember/object\n */\n\n const reopen = _metal.Mixin.prototype.reopen;\n\n const wasApplied = new _polyfills._WeakSet();\n\n const factoryMap = new WeakMap();\n\n const prototypeMixinMap = new WeakMap();\n\n const DELAY_INIT = Object.freeze({});\n\n let initCalled; // only used in debug builds to enable the proxy trap\n\n // using DEBUG here to avoid the extraneous variable when not needed\n if (false /* DEBUG */) {\n initCalled = new _polyfills._WeakSet();\n }\n\n function initialize(obj, properties) {\n let m = (0, _meta.meta)(obj);\n\n if (properties !== undefined) {\n false && !(typeof properties === 'object' && properties !== null) && (0, _debug.assert)('EmberObject.create only accepts objects.', typeof properties === 'object' && properties !== null);\n false && !!(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\n let concatenatedProperties = obj.concatenatedProperties;\n let mergedProperties = obj.mergedProperties;\n let hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n let hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n\n let keyNames = Object.keys(properties);\n\n for (let i = 0; i < keyNames.length; i++) {\n let keyName = keyNames[i];\n let value = properties[keyName];\n\n false && !!(value instanceof _metal.ComputedProperty) && (0, _debug.assert)('EmberObject.create no longer supports defining computed ' + 'properties. Define computed properties using extend() or reopen() ' + 'before calling create().', !(value instanceof _metal.ComputedProperty));\n false && !!(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 false && !!(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\n let possibleDesc = (0, _meta.descriptorFor)(obj, keyName, m);\n let isDescriptor = possibleDesc !== undefined;\n\n if (!isDescriptor) {\n let baseValue = obj[keyName];\n\n if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\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 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 (false /* DEBUG */) {\n (0, _metal.defineProperty)(obj, keyName, null, value, m); // setup mandatory setter\n } else {\n obj[keyName] = value;\n }\n }\n }\n }\n\n // using DEBUG here to avoid the extraneous variable when not needed\n if (false /* DEBUG */) {\n initCalled.add(obj);\n }\n obj.init(properties);\n\n // re-enable chains\n m.unsetInitializing();\n (0, _metal.finishChains)(m);\n (0, _metal.sendEvent)(obj, 'init', undefined, undefined, undefined, m);\n }\n\n /**\n @class CoreObject\n @public\n */\n class CoreObject {\n static _initFactory(factory) {\n factoryMap.set(this, factory);\n }\n\n constructor(properties) {\n // pluck off factory\n let initFactory = factoryMap.get(this.constructor);\n if (initFactory !== undefined) {\n factoryMap.delete(this.constructor);\n _container.FACTORY_FOR.set(this, initFactory);\n }\n\n // prepare prototype...\n this.constructor.proto();\n\n let self = this;\n\n if (false /* DEBUG */ && _utils.HAS_NATIVE_PROXY && typeof self.unknownProperty === 'function') {\n let messageFor = (obj, property) => {\n return `You attempted to access the \\`${String(property)}\\` property (of ${obj}).\\n` + `Since Ember 3.1, this is usually fine as you no longer need to use \\`.get()\\`\\n` + `to access computed properties. However, in this case, the object in question\\n` + `is a special kind of Ember object (a proxy). Therefore, it is still necessary\\n` + `to use \\`.get('${String(property)}')\\` in this case.\\n\\n` + `If you encountered this error because of third-party code that you don't control,\\n` + `there is more information at https://github.com/emberjs/ember.js/issues/16148, and\\n` + `you can help us improve this error message by telling us more about what happened in\\n` + `this situation.`;\n };\n\n /* globals Proxy Reflect */\n self = new Proxy(this, {\n get(target, property, receiver) {\n if (property === _metal.PROXY_CONTENT) {\n return target;\n } else if (\n // init called will be set on the proxy, not the target, so get with the receiver\n !initCalled.has(receiver) || typeof property === 'symbol' || (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 let value = target.unknownProperty.call(receiver, property);\n\n if (typeof value !== 'function') {\n false && !(value === undefined || value === null) && (0, _debug.assert)(messageFor(receiver, property), value === undefined || value === null);\n }\n }\n });\n\n _container.FACTORY_FOR.set(self, initFactory);\n }\n\n // disable chains\n let m = (0, _meta.meta)(self);\n m.setInitializing();\n\n if (properties !== DELAY_INIT) {\n false && !false && (0, _debug.deprecate)('using `new` with EmberObject has been deprecated. Please use `create` instead, or consider using native classes without extending from EmberObject.', false, {\n id: 'object.new-constructor',\n until: '3.9.0',\n url: 'https://emberjs.com/deprecations/v3.x#toc_object-new-constructor'\n });\n\n initialize(self, properties);\n }\n\n // only return when in debug builds and `self` is the proxy created above\n if (false /* DEBUG */ && self !== this) {\n return self;\n }\n }\n\n reopen(...args) {\n (0, _metal.applyMixin)(this, args);\n return this;\n }\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 `Ember.View`,\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 @public\n */\n init() {}\n\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 `Ember.View`.\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 get isDestroyed() {\n return (0, _meta.peekMeta)(this).isSourceDestroyed();\n }\n\n set isDestroyed(value) {\n false && !false && (0, _debug.assert)(`You cannot set \\`${this}.isDestroyed\\` directly, please use \\`.destroy()\\`.`, false);\n }\n\n /**\n Destruction scheduled flag. The `destroy()` method has been called.\n The object stays intact until the end of the run loop at which point\n the `isDestroyed` flag is set.\n @property isDestroying\n @default false\n @public\n */\n get isDestroying() {\n return (0, _meta.peekMeta)(this).isSourceDestroying();\n }\n\n set isDestroying(value) {\n false && !false && (0, _debug.assert)(`You cannot set \\`${this}.isDestroying\\` directly, please use \\`.destroy()\\`.`, false);\n }\n\n /**\n Destroys an object by setting the `isDestroyed` flag and removing its\n metadata, which effectively destroys observers and bindings.\n If you try to set a property on a destroyed object, an exception will be\n raised.\n Note that destruction is scheduled for the end of the run loop and does not\n happen immediately. It will set an isDestroying flag immediately.\n @method destroy\n @return {EmberObject} receiver\n @public\n */\n destroy() {\n let m = (0, _meta.peekMeta)(this);\n if (m.isSourceDestroying()) {\n return;\n }\n\n m.setSourceDestroying();\n\n (0, _runloop.schedule)('actions', this, this.willDestroy);\n (0, _runloop.schedule)('destroy', this, this._scheduledDestroy, m);\n\n return this;\n }\n\n /**\n Override to implement teardown.\n @method willDestroy\n @public\n */\n willDestroy() {}\n\n /**\n Invoked by the run loop to actually destroy the object. This is\n scheduled for execution by the `destroy` method.\n @private\n @method _scheduledDestroy\n */\n _scheduledDestroy(m) {\n if (m.isSourceDestroyed()) {\n return;\n }\n (0, _meta.deleteMeta)(this);\n m.setSourceDestroyed();\n }\n\n /**\n Returns a string representation which attempts to provide more information\n than Javascript's `toString` typically does, in a generic way for all Ember\n objects.\n ```javascript\n import EmberObject from '@ember/object';\n const Person = EmberObject.extend();\n person = Person.create();\n person.toString(); //=> \"<Person:ember1024>\"\n ```\n If the object's class is not defined on an Ember namespace, it will\n indicate it is a subclass of the registered superclass:\n ```javascript\n const Student = Person.extend();\n let student = Student.create();\n student.toString(); //=> \"<(subclass of Person):ember1025>\"\n ```\n If the method `toStringExtension` is defined, its return value will be\n included in the output.\n ```javascript\n const Teacher = Person.extend({\n toStringExtension() {\n return this.get('fullName');\n }\n });\n teacher = Teacher.create();\n teacher.toString(); //=> \"<Teacher:ember1026:Tom Dale>\"\n ```\n @method toString\n @return {String} string representation\n @public\n */\n toString() {\n let hasToStringExtension = typeof this.toStringExtension === 'function';\n let extension = hasToStringExtension ? `:${this.toStringExtension()}` : '';\n\n let ret = `<${(0, _utils.getName)(this) || _container.FACTORY_FOR.get(this) || this.constructor.toString()}:${(0, _utils.guidFor)(this)}${extension}>`;\n\n return ret;\n }\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 static extend() {\n let Class = class extends this {};\n reopen.apply(Class.PrototypeMixin, arguments);\n return Class;\n }\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 static create(props, extra) {\n let C = this;\n let instance = new C(DELAY_INIT);\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 /**\n Augments a constructor's prototype with additional\n properties and functions:\n ```javascript\n import EmberObject from '@ember/object';\n const MyObject = EmberObject.extend({\n name: 'an object'\n });\n o = MyObject.create();\n o.get('name'); // 'an object'\n MyObject.reopen({\n say(msg) {\n console.log(msg);\n }\n });\n o2 = MyObject.create();\n o2.say('hello'); // logs \"hello\"\n o.say('goodbye'); // logs \"goodbye\"\n ```\n To add functions and properties to the constructor itself,\n see `reopenClass`\n @method reopen\n @for @ember/object\n @static\n @public\n */\n static reopen() {\n this.willReopen();\n reopen.apply(this.PrototypeMixin, arguments);\n return this;\n }\n\n static willReopen() {\n let p = this.prototype;\n if (wasApplied.has(p)) {\n wasApplied.delete(p);\n\n // If the base mixin already exists and was applied, create a new mixin to\n // make sure that it gets properly applied. Reusing the same mixin after\n // the first `proto` call will cause it to get skipped.\n if (prototypeMixinMap.has(this)) {\n prototypeMixinMap.set(this, _metal.Mixin.create(this.PrototypeMixin));\n }\n }\n }\n\n /**\n Augments a constructor's own properties and functions:\n ```javascript\n import EmberObject from '@ember/object';\n const MyObject = EmberObject.extend({\n name: 'an object'\n });\n MyObject.reopenClass({\n canBuild: false\n });\n MyObject.canBuild; // false\n o = MyObject.create();\n ```\n In other words, this creates static properties and functions for the class.\n These are only available on the class and not on any instance of that class.\n ```javascript\n import EmberObject from '@ember/object';\n const Person = EmberObject.extend({\n name: '',\n sayHello() {\n alert(`Hello. My name is ${this.get('name')}`);\n }\n });\n Person.reopenClass({\n species: 'Homo sapiens',\n createPerson(name) {\n return Person.create({ name });\n }\n });\n let tom = Person.create({\n name: 'Tom Dale'\n });\n let yehuda = Person.createPerson('Yehuda Katz');\n tom.sayHello(); // \"Hello. My name is Tom Dale\"\n yehuda.sayHello(); // \"Hello. My name is Yehuda Katz\"\n alert(Person.species); // \"Homo sapiens\"\n ```\n Note that `species` and `createPerson` are *not* valid on the `tom` and `yehuda`\n variables. They are only valid on `Person`.\n To add functions and properties to instances of\n a constructor by extending the constructor's prototype\n see `reopen`\n @method reopenClass\n @for @ember/object\n @static\n @public\n */\n static reopenClass() {\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 while (obj) {\n if (obj === this) {\n return true;\n }\n obj = obj.superclass;\n }\n return false;\n }\n\n static detectInstance(obj) {\n return obj instanceof this;\n }\n\n /**\n In some cases, you may want to annotate computed properties with additional\n metadata about how they function or what values they operate on. For\n example, computed property functions may close over variables that are then\n no longer available for introspection.\n You can pass a hash of these values to a computed property like this:\n ```javascript\n import { computed } from '@ember/object';\n person: computed(function() {\n let personId = this.get('personId');\n return Person.create({ id: personId });\n }).meta({ type: Person })\n ```\n Once you've done this, you can retrieve the values saved to the computed\n property from your class like this:\n ```javascript\n MyClass.metaForProperty('person');\n ```\n This will return the original hash that was passed to `meta()`.\n @static\n @method metaForProperty\n @param key {String} property name\n @private\n */\n static metaForProperty(key) {\n let proto = this.proto(); // ensure prototype is initialized\n let possibleDesc = (0, _meta.descriptorFor)(proto, key);\n\n false && !(possibleDesc !== undefined) && (0, _debug.assert)(`metaForProperty() could not find a computed property with key '${key}'.`, possibleDesc !== undefined);\n\n return possibleDesc._meta || {};\n }\n\n /**\n Iterate over each computed property for the class, passing its name\n and any associated metadata (see `metaForProperty`) to the callback.\n @static\n @method eachComputedProperty\n @param {Function} callback\n @param {Object} binding\n @private\n */\n static eachComputedProperty(callback, binding = this) {\n this.proto(); // ensure prototype is initialized\n let empty = {};\n\n (0, _meta.meta)(this.prototype).forEachDescriptors((name, descriptor) => {\n if (descriptor.enumerable) {\n let meta = descriptor._meta || empty;\n callback.call(binding, name, meta);\n }\n });\n }\n\n static get PrototypeMixin() {\n let prototypeMixin = prototypeMixinMap.get(this);\n if (prototypeMixin === undefined) {\n prototypeMixin = _metal.Mixin.create();\n prototypeMixin.ownerConstructor = this;\n prototypeMixinMap.set(this, prototypeMixin);\n }\n return prototypeMixin;\n }\n\n static get superclass() {\n let c = Object.getPrototypeOf(this);\n if (c !== Function.prototype) return c;\n }\n\n static proto() {\n let p = this.prototype;\n if (!wasApplied.has(p)) {\n wasApplied.add(p);\n let parent = this.superclass;\n if (parent) {\n parent.proto();\n }\n\n // If the prototype mixin exists, apply it. In the case of native classes,\n // it will not exist (unless the class has been reopened).\n if (prototypeMixinMap.has(this)) {\n this.PrototypeMixin.apply(p);\n }\n }\n return p;\n }\n }\n\n CoreObject.toString = _metal.classToString;\n (0, _utils.setName)(CoreObject, 'Ember.CoreObject');\n\n CoreObject.isClass = true;\n CoreObject.isMethod = false;\n\n function flattenProps(...props) {\n let { concatenatedProperties, mergedProperties } = this;\n let hasConcatenatedProps = concatenatedProperties !== undefined && concatenatedProperties.length > 0;\n let hasMergedProps = mergedProperties !== undefined && mergedProperties.length > 0;\n\n let initProperties = {};\n\n for (let i = 0; i < props.length; i++) {\n let properties = props[i];\n\n false && !!(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\n let keyNames = Object.keys(properties);\n\n for (let j = 0, k = keyNames.length; j < k; j++) {\n let keyName = keyNames[j];\n let value = properties[keyName];\n\n if (hasConcatenatedProps && concatenatedProperties.indexOf(keyName) > -1) {\n let 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 let baseValue = initProperties[keyName];\n\n value = (0, _polyfills.assign)({}, baseValue, value);\n }\n\n initProperties[keyName] = value;\n }\n }\n\n return initProperties;\n }\n\n if (false /* DEBUG */) {\n /**\n Provides lookup-time type validation for injected properties.\n @private\n @method _onLookup\n */\n CoreObject._onLookup = function injectedPropertyAssertion(debugContainerKey) {\n let [type] = debugContainerKey.split(':');\n let proto = this.proto();\n\n for (let key in proto) {\n let desc = (0, _meta.descriptorFor)(proto, key);\n if (desc instanceof _metal.InjectedProperty) {\n false && !(type === 'controller' || desc.type !== 'controller') && (0, _debug.assert)(`Defining \\`${key}\\` as an injected controller property on a non-controller (\\`${debugContainerKey}\\`) is not allowed.`, type === 'controller' || desc.type !== 'controller');\n }\n }\n };\n\n /**\n Returns a hash of property names and container names that injected\n properties will lookup on the container lazily.\n @method _lazyInjections\n @return {Object} Hash of all lazy injected property keys to container names\n @private\n */\n CoreObject._lazyInjections = function () {\n let injections = {};\n let proto = this.proto();\n let key;\n let desc;\n\n for (key in proto) {\n desc = (0, _meta.descriptorFor)(proto, key);\n if (desc instanceof _metal.InjectedProperty) {\n injections[key] = {\n namespace: desc.namespace,\n source: desc.source,\n specifier: `${desc.type}:${desc.name || key}`\n };\n }\n }\n\n return injections;\n };\n }\n\n exports.default = CoreObject;\n});","enifed('@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 /**\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 // Preloaded into namespaces\n class Namespace extends _object.default {\n init() {\n (0, _metal.addNamespace)(this);\n }\n\n toString() {\n let name = (0, _metal.get)(this, 'name') || (0, _metal.get)(this, 'modulePrefix');\n if (name) {\n return name;\n }\n (0, _metal.findNamespaces)();\n name = (0, _utils.getName)(this);\n if (name === undefined) {\n name = (0, _utils.guidFor)(this);\n (0, _utils.setName)(this, name);\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 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});","enifed('@ember/-internals/runtime/lib/system/object', ['exports', '@ember/-internals/container', '@ember/-internals/owner', '@ember/-internals/utils', '@ember/-internals/metal', '@ember/-internals/runtime/lib/system/core_object', '@ember/-internals/runtime/lib/mixins/observable', '@ember/debug'], function (exports, _container, _owner, _utils, _metal, _core_object, _observable, _debug) {\n 'use strict';\n\n exports.FrameworkObject = undefined;\n\n\n let OVERRIDE_OWNER = (0, _utils.symbol)('OVERRIDE_OWNER');\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 /**\n @module @ember/object\n */\n\n class EmberObject extends _core_object.default {\n get _debugContainerKey() {\n let factory = _container.FACTORY_FOR.get(this);\n return factory !== undefined && factory.fullName;\n }\n\n get [_owner.OWNER]() {\n if (this[OVERRIDE_OWNER]) {\n return this[OVERRIDE_OWNER];\n }\n\n let factory = _container.FACTORY_FOR.get(this);\n return factory !== undefined && factory.owner;\n }\n\n // we need a setter here largely to support\n // folks calling `owner.ownerInjection()` API\n set [_owner.OWNER](value) {\n this[OVERRIDE_OWNER] = value;\n }\n }\n\n exports.default = EmberObject;\n (0, _utils.setName)(EmberObject, 'Ember.Object');\n\n _observable.default.apply(EmberObject.prototype);\n\n let FrameworkObject = exports.FrameworkObject = EmberObject;\n\n if (false /* DEBUG */) {\n let INIT_WAS_CALLED = (0, _utils.symbol)('INIT_WAS_CALLED');\n let ASSERT_INIT_WAS_CALLED = (0, _utils.symbol)('ASSERT_INIT_WAS_CALLED');\n\n exports.FrameworkObject = FrameworkObject = class FrameworkObject extends EmberObject {\n init() {\n super.init(...arguments);\n this[INIT_WAS_CALLED] = true;\n }\n\n [ASSERT_INIT_WAS_CALLED]() {\n false && !this[INIT_WAS_CALLED] && (0, _debug.assert)(`You must call \\`this._super(...arguments);\\` when overriding \\`init\\` on a framework object. Please update ${this} to call \\`this._super(...arguments);\\` from \\`init\\`.`, this[INIT_WAS_CALLED]);\n }\n };\n\n (0, _metal.addListener)(FrameworkObject.prototype, 'init', null, ASSERT_INIT_WAS_CALLED);\n }\n});","enifed('@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 /**\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 object = EmberObject.create({\n name: 'Foo'\n });\n \n proxy = ObjectProxy.create({\n content: object\n });\n \n // Access and change existing properties\n proxy.get('name') // 'Foo'\n proxy.set('name', 'Bar');\n object.get('name') // 'Bar'\n \n // Create new 'description' property on `object`\n proxy.set('description', 'Foo is a whizboo baz');\n object.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 proxy = ObjectProxy.create({\n content: null,\n flag: null\n });\n proxy.set('flag', true);\n proxy.get('flag'); // true\n proxy.get('foo'); // undefined\n proxy.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 proxy = ProxyWithComputedProperty.create();\n \n proxy.get('fullName'); // undefined\n proxy.set('content', {\n firstName: 'Tom', lastName: 'Dale'\n }); // triggers property change for fullName on proxy\n \n proxy.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 exports.default = ObjectProxy;\n ObjectProxy.PrototypeMixin.reopen(_proxy.default);\n});","enifed('@ember/-internals/runtime/lib/type-of', ['exports', '@ember/-internals/runtime/lib/system/object'], function (exports, _object) {\n 'use strict';\n\n exports.typeOf = typeOf;\n\n\n // ........................................\n // TYPING & ARRAY MESSAGING\n //\n const TYPE_MAP = {\n '[object Boolean]': 'boolean',\n '[object Number]': 'number',\n '[object String]': 'string',\n '[object Function]': 'function',\n '[object Array]': 'array',\n '[object Date]': 'date',\n '[object RegExp]': 'regexp',\n '[object Object]': 'object',\n '[object FileList]': 'filelist'\n };\n\n const { toString } = Object.prototype;\n\n /**\n @module @ember/utils\n */\n /**\n Returns a consistent type for the passed object.\n \n Use this instead of the built-in `typeof` to get the type of an item.\n It will return the same result across all browsers and includes a bit\n more detail. Here is what will be returned:\n \n | Return Value | Meaning |\n |---------------|------------------------------------------------------|\n | 'string' | String primitive or String object. |\n | 'number' | Number primitive or Number object. |\n | 'boolean' | Boolean primitive or Boolean object. |\n | 'null' | Null value |\n | 'undefined' | Undefined value |\n | 'function' | A function |\n | 'array' | An instance of Array |\n | 'regexp' | An instance of RegExp |\n | 'date' | An instance of Date |\n | 'filelist' | An instance of FileList |\n | 'class' | An Ember class (created using EmberObject.extend()) |\n | 'instance' | An Ember object instance |\n | 'error' | An instance of the Error object |\n | 'object' | A JavaScript object not inheriting from EmberObject |\n \n Examples:\n \n ```javascript\n import { A } from '@ember/array';\n import { typeOf } from '@ember/utils';\n import EmberObject from '@ember/object';\n \n typeOf(); // 'undefined'\n typeOf(null); // 'null'\n typeOf(undefined); // 'undefined'\n typeOf('michael'); // 'string'\n typeOf(new String('michael')); // 'string'\n typeOf(101); // 'number'\n typeOf(new Number(101)); // 'number'\n typeOf(true); // 'boolean'\n typeOf(new Boolean(true)); // 'boolean'\n typeOf(A); // 'function'\n typeOf([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 function typeOf(item) {\n if (item === null) {\n return 'null';\n }\n if (item === undefined) {\n return 'undefined';\n }\n let ret = TYPE_MAP[toString.call(item)] || 'object';\n\n if (ret === 'function') {\n if (_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 _object.default) {\n ret = 'instance';\n } else if (item instanceof Date) {\n ret = 'date';\n }\n }\n\n return ret;\n }\n});","enifed('@ember/-internals/utils', ['exports', '@ember/polyfills'], function (exports, _polyfills) {\n 'use strict';\n\n exports.Cache = exports.setProxy = exports.isProxy = exports.HAS_NATIVE_PROXY = exports.HAS_NATIVE_SYMBOL = exports.toString = exports.setName = exports.getName = exports.makeArray = exports.tryInvoke = exports.canInvoke = exports.lookupDescriptor = exports.inspect = exports.setListeners = exports.setObservers = exports.getListeners = exports.getObservers = exports.wrap = exports.ROOT = exports.checkHasSuper = exports.intern = exports.guidFor = exports.generateGuid = exports.GUID_KEY = exports.uuid = exports.dictionary = exports.isInternalSymbol = exports.symbol = exports.NAME_KEY = undefined;\n\n\n /**\n Strongly hint runtimes to intern the provided string.\n \n When do I need to use this function?\n \n For the most part, never. Pre-mature optimization is bad, and often the\n runtime does exactly what you need it to, and more often the trade-off isn't\n worth it.\n \n Why?\n \n Runtimes store strings in at least 2 different representations:\n Ropes and Symbols (interned strings). The Rope provides a memory efficient\n data-structure for strings created from concatenation or some other string\n manipulation like splitting.\n \n Unfortunately checking equality of different ropes can be quite costly as\n runtimes must resort to clever string comparison algorithms. These\n algorithms typically cost in proportion to the length of the string.\n Luckily, this is where the Symbols (interned strings) shine. As Symbols are\n unique by their string content, equality checks can be done by pointer\n comparison.\n \n How do I know if my string is a rope or symbol?\n \n Typically (warning general sweeping statement, but truthy in runtimes at\n present) static strings created as part of the JS source are interned.\n Strings often used for comparisons can be interned at runtime if some\n criteria are met. One of these criteria can be the size of the entire rope.\n For example, in chrome 38 a rope longer then 12 characters will not\n intern, nor will segments of that rope.\n \n Some numbers: http://jsperf.com/eval-vs-keys/8\n \n Known Trick™\n \n @private\n @return {String} interned version of the provided string\n */\n function intern(str) {\n let obj = {};\n obj[str] = 1;\n for (let key in obj) {\n if (key === str) {\n return key;\n }\n }\n return str;\n }\n\n /**\n Returns whether Type(value) is Object.\n \n Useful for checking whether a value is a valid WeakMap key.\n \n Refs: https://tc39.github.io/ecma262/#sec-typeof-operator-runtime-semantics-evaluation\n https://tc39.github.io/ecma262/#sec-weakmap.prototype.set\n \n @private\n @function isObject\n */\n function isObject(value) {\n return value !== null && (typeof value === 'object' || typeof value === 'function');\n }\n\n /**\n @module @ember/object\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 let _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 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 const GUID_PREFIX = 'ember';\n // Used for guid generation...\n const OBJECT_GUIDS = new WeakMap();\n const 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 const GUID_KEY = intern(`__ember${+new Date()}`);\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 function generateGuid(obj, prefix = GUID_PREFIX) {\n let guid = prefix + uuid();\n if (isObject(obj)) {\n OBJECT_GUIDS.set(obj, guid);\n }\n return guid;\n }\n /**\n Returns a unique id for the object. If the object does not yet have a guid,\n one will be assigned to it. You can call this on any object,\n `EmberObject`-based or not.\n \n You can also use this method on DOM Element objects.\n \n @public\n @static\n @method guidFor\n @for @ember/object/internals\n @param {Object} obj any object, string, number, Element, or primitive\n @return {String} the unique guid for this instance.\n */\n function guidFor(value) {\n let guid;\n if (isObject(value)) {\n guid = OBJECT_GUIDS.get(value);\n if (guid === undefined) {\n guid = GUID_PREFIX + uuid();\n OBJECT_GUIDS.set(value, guid);\n }\n } else {\n guid = NON_OBJECT_GUIDS.get(value);\n if (guid === undefined) {\n let type = typeof value;\n if (type === 'string') {\n guid = 'st' + uuid();\n } else if (type === 'number') {\n guid = 'nu' + uuid();\n } else if (type === 'symbol') {\n guid = 'sy' + uuid();\n } else {\n guid = '(' + value + ')';\n }\n NON_OBJECT_GUIDS.set(value, guid);\n }\n }\n return guid;\n }\n\n const GENERATED_SYMBOLS = [];\n function isInternalSymbol(possibleSymbol) {\n return GENERATED_SYMBOLS.indexOf(possibleSymbol) !== -1;\n }\n function symbol(debugName) {\n // TODO: Investigate using platform symbols, but we do not\n // want to require non-enumerability for this API, which\n // would introduce a large cost.\n let id = GUID_KEY + Math.floor(Math.random() * +new Date());\n let symbol = intern(`__${debugName}${id}__`);\n GENERATED_SYMBOLS.push(symbol);\n return symbol;\n }\n\n // the delete is meant to hint at runtimes that this object should remain in\n // dictionary mode. This is clearly a runtime specific hack, but currently it\n // appears worthwhile in some usecases. Please note, these deletes do increase\n // the cost of creation dramatically over a plain Object.create. And as this\n // only makes sense for long-lived dictionaries that aren't instantiated often.\n function makeDictionary(parent) {\n let dict = Object.create(parent);\n dict['_dict'] = null;\n delete dict['_dict'];\n return dict;\n }\n\n const HAS_SUPER_PATTERN = /\\.(_super|call\\(this|apply\\(this)/;\n const fnToString = Function.prototype.toString;\n const checkHasSuper = (() => {\n let sourceAvailable = fnToString.call(function () {\n return this;\n }).indexOf('return this') > -1;\n if (sourceAvailable) {\n return function checkHasSuper(func) {\n return HAS_SUPER_PATTERN.test(fnToString.call(func));\n };\n }\n return function checkHasSuper() {\n return true;\n };\n })();\n const HAS_SUPER_MAP = new WeakMap();\n const ROOT = Object.freeze(function () {});\n HAS_SUPER_MAP.set(ROOT, false);\n function hasSuper(func) {\n let hasSuper = HAS_SUPER_MAP.get(func);\n if (hasSuper === undefined) {\n hasSuper = checkHasSuper(func);\n HAS_SUPER_MAP.set(func, hasSuper);\n }\n return hasSuper;\n }\n const OBSERVERS_MAP = new WeakMap();\n function setObservers(func, observers) {\n if (observers) {\n OBSERVERS_MAP.set(func, observers);\n }\n }\n function getObservers(func) {\n return OBSERVERS_MAP.get(func);\n }\n const LISTENERS_MAP = new WeakMap();\n function setListeners(func, listeners) {\n if (listeners) {\n LISTENERS_MAP.set(func, listeners);\n }\n }\n function getListeners(func) {\n return LISTENERS_MAP.get(func);\n }\n const 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 function wrap(func, superFunc) {\n if (!hasSuper(func)) {\n return func;\n }\n // ensure an unwrapped super that calls _super is wrapped with a terminal _super\n if (!IS_WRAPPED_FUNCTION_SET.has(superFunc) && hasSuper(superFunc)) {\n return _wrap(func, _wrap(superFunc, ROOT));\n }\n return _wrap(func, superFunc);\n }\n function _wrap(func, superFunc) {\n function superWrapper() {\n let orig = this._super;\n this._super = superFunc;\n let ret = func.apply(this, arguments);\n this._super = orig;\n return ret;\n }\n IS_WRAPPED_FUNCTION_SET.add(superWrapper);\n setObservers(superWrapper, getObservers(func));\n setListeners(superWrapper, getListeners(func));\n return superWrapper;\n }\n\n const { toString: objectToString } = Object.prototype;\n const { toString: functionToString } = Function.prototype;\n const { isArray } = Array;\n const { keys: objectKeys } = Object;\n const { stringify } = JSON;\n const LIST_LIMIT = 100;\n const DEPTH_LIMIT = 4;\n const SAFE_KEY = /^[\\w$]+$/;\n /**\n @module @ember/debug\n */\n /**\n Convenience method to inspect an object. This method will attempt to\n convert the object into a useful string description.\n \n It is a pretty simple implementation. If you want something more robust,\n use something like JSDump: https://github.com/NV/jsDump\n \n @method inspect\n @static\n @param {Object} obj The object you want to inspect.\n @return {String} A description of the object\n @since 1.4.0\n @private\n */\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 return inspectValue(obj, 0);\n }\n function inspectValue(value, depth, seen) {\n let valueIsArray = false;\n switch (typeof value) {\n case 'undefined':\n return 'undefined';\n case 'object':\n if (value === null) return 'null';\n if (isArray(value)) {\n valueIsArray = true;\n break;\n }\n // is toString Object.prototype.toString or undefined then traverse\n if (value.toString === objectToString || value.toString === undefined) {\n break;\n }\n // custom toString\n return value.toString();\n case 'function':\n return value.toString === functionToString ? value.name ? `[Function:${value.name}]` : `[Function]` : value.toString();\n case 'string':\n return stringify(value);\n case 'symbol':\n case 'boolean':\n case 'number':\n default:\n return value.toString();\n }\n if (seen === undefined) {\n seen = new _polyfills._WeakSet();\n } else {\n if (seen.has(value)) return `[Circular]`;\n }\n seen.add(value);\n return valueIsArray ? inspectArray(value, depth + 1, seen) : inspectObject(value, depth + 1, seen);\n }\n function inspectKey(key) {\n return SAFE_KEY.test(key) ? key : stringify(key);\n }\n function inspectObject(obj, depth, seen) {\n if (depth > DEPTH_LIMIT) {\n return '[Object]';\n }\n let s = '{';\n let keys = objectKeys(obj);\n for (let i = 0; i < keys.length; i++) {\n s += i === 0 ? ' ' : ', ';\n if (i >= LIST_LIMIT) {\n s += `... ${keys.length - LIST_LIMIT} more keys`;\n break;\n }\n let key = keys[i];\n s += inspectKey(key) + ': ' + inspectValue(obj[key], depth, seen);\n }\n s += ' }';\n return s;\n }\n function inspectArray(arr, depth, seen) {\n if (depth > DEPTH_LIMIT) {\n return '[Array]';\n }\n let s = '[';\n for (let i = 0; i < arr.length; i++) {\n s += i === 0 ? ' ' : ', ';\n if (i >= LIST_LIMIT) {\n s += `... ${arr.length - LIST_LIMIT} more items`;\n break;\n }\n s += inspectValue(arr[i], depth, seen);\n }\n s += ' ]';\n return s;\n }\n\n function lookupDescriptor(obj, keyName) {\n let current = obj;\n do {\n let descriptor = Object.getOwnPropertyDescriptor(current, keyName);\n if (descriptor !== undefined) {\n return descriptor;\n }\n current = Object.getPrototypeOf(current);\n } while (current !== null);\n return null;\n }\n\n /**\n Checks to see if the `methodName` exists on the `obj`.\n \n ```javascript\n let foo = { bar: function() { return 'bar'; }, baz: null };\n \n Ember.canInvoke(foo, 'bar'); // true\n Ember.canInvoke(foo, 'baz'); // false\n Ember.canInvoke(foo, 'bat'); // false\n ```\n \n @method canInvoke\n @for Ember\n @param {Object} obj The object to check for the method\n @param {String} methodName The method name to check for\n @return {Boolean}\n @private\n */\n function canInvoke(obj, methodName) {\n return obj !== null && obj !== undefined && typeof obj[methodName] === 'function';\n }\n /**\n @module @ember/utils\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 function tryInvoke(obj, methodName, args) {\n if (canInvoke(obj, methodName)) {\n let method = obj[methodName];\n return method.apply(obj, args);\n }\n }\n\n const { isArray: isArray$1 } = Array;\n function makeArray(obj) {\n if (obj === null || obj === undefined) {\n return [];\n }\n return isArray$1(obj) ? obj : [obj];\n }\n\n const NAMES = new WeakMap();\n function setName(obj, name) {\n if (isObject(obj)) NAMES.set(obj, name);\n }\n function getName(obj) {\n return NAMES.get(obj);\n }\n\n const objectToString$1 = Object.prototype.toString;\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 function toString(obj) {\n if (typeof obj === 'string') {\n return obj;\n }\n if (null === obj) return 'null';\n if (undefined === obj) return 'undefined';\n if (Array.isArray(obj)) {\n // Reimplement Array.prototype.join according to spec (22.1.3.13)\n // Changing ToString(element) with this safe version of ToString.\n let r = '';\n for (let k = 0; k < obj.length; k++) {\n if (k > 0) {\n r += ',';\n }\n if (!isNone(obj[k])) {\n r += toString(obj[k]);\n }\n }\n return r;\n }\n if (typeof obj.toString === 'function') {\n return obj.toString();\n }\n return objectToString$1.call(obj);\n }\n\n const HAS_NATIVE_SYMBOL = function () {\n if (typeof Symbol !== 'function') {\n return false;\n }\n // use `Object`'s `.toString` directly to prevent us from detecting\n // polyfills as native\n return Object.prototype.toString.call(Symbol()) === '[object Symbol]';\n }();\n\n const HAS_NATIVE_PROXY = typeof Proxy === 'function';\n\n const PROXIES = new _polyfills._WeakSet();\n function isProxy(object) {\n if (isObject(object)) {\n return PROXIES.has(object);\n }\n return false;\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 get(key) {\n let value = this.store.get(key);\n if (this.store.has(key)) {\n this.hits++;\n return this.store.get(key);\n } else {\n this.misses++;\n value = this.set(key, this.func(key));\n }\n return value;\n }\n set(key, value) {\n if (this.limit > this.size) {\n this.size++;\n this.store.set(key, value);\n }\n return value;\n }\n purge() {\n this.store.clear();\n this.size = 0;\n this.hits = 0;\n this.misses = 0;\n }\n }\n\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 const NAME_KEY = symbol('NAME_KEY');\n\n exports.NAME_KEY = NAME_KEY;\n exports.symbol = symbol;\n exports.isInternalSymbol = isInternalSymbol;\n exports.dictionary = makeDictionary;\n exports.uuid = uuid;\n exports.GUID_KEY = GUID_KEY;\n exports.generateGuid = generateGuid;\n exports.guidFor = guidFor;\n exports.intern = intern;\n exports.checkHasSuper = checkHasSuper;\n exports.ROOT = ROOT;\n exports.wrap = wrap;\n exports.getObservers = getObservers;\n exports.getListeners = getListeners;\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.HAS_NATIVE_SYMBOL = HAS_NATIVE_SYMBOL;\n exports.HAS_NATIVE_PROXY = HAS_NATIVE_PROXY;\n exports.isProxy = isProxy;\n exports.setProxy = setProxy;\n exports.Cache = Cache;\n});","enifed('@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/lookup_partial', '@ember/-internals/views/lib/utils/lookup-component', '@ember/-internals/views/lib/system/action_manager', '@ember/-internals/views/lib/compat/fallback-view-registry'], 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, _lookup_partial, _lookupComponent, _action_manager, _fallbackViewRegistry) {\n 'use strict';\n\n Object.defineProperty(exports, 'jQuery', {\n enumerable: true,\n get: function () {\n return _jquery.default;\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, 'getViewElement', {\n enumerable: true,\n get: function () {\n return _utils.getViewElement;\n }\n });\n Object.defineProperty(exports, 'setViewElement', {\n enumerable: true,\n get: function () {\n return _utils.setViewElement;\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, 'lookupPartial', {\n enumerable: true,\n get: function () {\n return _lookup_partial.default;\n }\n });\n Object.defineProperty(exports, 'hasPartial', {\n enumerable: true,\n get: function () {\n return _lookup_partial.hasPartial;\n }\n });\n Object.defineProperty(exports, 'lookupComponent', {\n enumerable: true,\n get: function () {\n return _lookupComponent.default;\n }\n });\n Object.defineProperty(exports, 'ActionManager', {\n enumerable: true,\n get: function () {\n return _action_manager.default;\n }\n });\n Object.defineProperty(exports, 'fallbackViewRegistry', {\n enumerable: true,\n get: function () {\n return _fallbackViewRegistry.default;\n }\n });\n});","enifed('@ember/-internals/views/lib/compat/attrs', ['exports', '@ember/-internals/utils'], function (exports, _utils) {\n 'use strict';\n\n exports.MUTABLE_CELL = undefined;\n let MUTABLE_CELL = exports.MUTABLE_CELL = (0, _utils.symbol)('MUTABLE_CELL');\n});","enifed('@ember/-internals/views/lib/compat/fallback-view-registry', ['exports', '@ember/-internals/utils'], function (exports, _utils) {\n 'use strict';\n\n exports.default = (0, _utils.dictionary)(null);\n});","enifed('@ember/-internals/views/lib/component_lookup', ['exports', '@ember/debug', '@ember/-internals/runtime'], function (exports, _debug, _runtime) {\n 'use strict';\n\n exports.default = _runtime.Object.extend({\n componentFor(name, owner, options) {\n false && !(name.indexOf('-') > -1 || true /* EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION */) && (0, _debug.assert)(`You cannot use '${name}' as a component name. Component names must contain a hyphen${true /* EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION */ ? ' or start with a capital letter' : ''}.`, name.indexOf('-') > -1 || true);\n\n let fullName = `component:${name}`;\n return owner.factoryFor(fullName, options);\n },\n\n layoutFor(name, owner, options) {\n false && !(name.indexOf('-') > -1 || true /* EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION */) && (0, _debug.assert)(`You cannot use '${name}' as a component name. Component names must contain a hyphen.`, name.indexOf('-') > -1 || true);\n\n let templateFullName = `template:components/${name}`;\n return owner.lookup(templateFullName, options);\n }\n });\n});","enifed('@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 const mixinObj = {\n send(actionName, ...args) {\n false && !(!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 let action = this.actions && this.actions[actionName];\n\n if (action) {\n let shouldBubble = action.apply(this, args) === true;\n if (!shouldBubble) {\n return;\n }\n }\n\n let target = (0, _metal.get)(this, 'target');\n if (target) {\n false && !(typeof target.send === 'function') && (0, _debug.assert)(`The \\`target\\` for ${this} (${target}) does not have a \\`send\\` method`, typeof target.send === 'function');\n\n target.send(...arguments);\n } else {\n false && !action && (0, _debug.assert)(`${(0, _utils.inspect)(this)} had no action handler for: ${actionName}`, action);\n }\n }\n }; /**\n @module ember\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 let sendAction = function sendAction(action, ...contexts) {\n false && !(!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 false && !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\n let actionName;\n\n // Send the default action\n if (action === undefined) {\n action = 'action';\n }\n actionName = (0, _metal.get)(this, `attrs.${action}`) || (0, _metal.get)(this, action);\n actionName = validateAction(this, actionName);\n\n // If no action name for that action could be found, just abort.\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 let validateAction = function validateAction(component, actionName) {\n if (actionName && actionName[_attrs.MUTABLE_CELL]) {\n actionName = actionName.value;\n }\n\n false && !(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\n return actionName;\n };\n\n mixinObj.sendAction = sendAction;\n }\n\n /**\n @class ActionSupport\n @namespace Ember\n @private\n */\n exports.default = _metal.Mixin.create(mixinObj);\n});","enifed('@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 exports.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.descriptor)({\n configurable: false,\n enumerable: false,\n get() {\n return (0, _utils.getChildViews)(this);\n }\n }),\n\n appendChild(view) {\n (0, _utils.addChildView)(this, view);\n }\n });\n});","enifed('@ember/-internals/views/lib/mixins/class_names_support', ['exports', '@ember/-internals/meta', '@ember/-internals/metal', '@ember/debug'], function (exports, _meta, _metal, _debug) {\n 'use strict';\n\n const EMPTY_ARRAY = Object.freeze([]);\n\n /**\n @class ClassNamesSupport\n @namespace Ember\n @private\n */\n /**\n @module ember\n */\n exports.default = _metal.Mixin.create({\n concatenatedProperties: ['classNames', 'classNameBindings'],\n\n init() {\n this._super(...arguments);\n\n false && !((0, _meta.descriptorFor)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings)) && (0, _debug.assert)(`Only arrays are allowed for 'classNameBindings'`, (0, _meta.descriptorFor)(this, 'classNameBindings') === undefined && Array.isArray(this.classNameBindings));\n false && !((0, _meta.descriptorFor)(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, _meta.descriptorFor)(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});","enifed('@ember/-internals/views/lib/mixins/text_support', ['exports', '@ember/-internals/metal', '@ember/-internals/runtime', '@ember/debug', '@ember/deprecated-features'], function (exports, _metal, _runtime, _debug, _deprecatedFeatures) {\n 'use strict';\n\n /**\n @module ember\n */\n\n const KEY_EVENTS = {\n 13: 'insertNewline',\n 27: 'cancel'\n };\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 exports.default = _metal.Mixin.create(_runtime.TargetActionSupport, {\n value: '',\n\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 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 let map = KEY_EVENTS;\n let method = map[event.keyCode];\n\n this._elementValueDidChange();\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 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\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 function sendAction(eventName, view, event) {\n let actionName = (0, _metal.get)(view, `attrs.${eventName}`) || (0, _metal.get)(view, eventName);\n let value = (0, _metal.get)(view, 'value');\n\n if (_deprecatedFeatures.SEND_ACTION && typeof actionName === 'string') {\n false && !false && (0, _debug.deprecate)(`Passing actions to components as strings (like {{input ${eventName}=\"${actionName}\"}}) is deprecated. Please use closure actions instead ({{input ${eventName}=(action \"${actionName}\")}})`, 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\n view.triggerAction({\n action: actionName,\n actionContext: [value, event]\n });\n } else if (typeof actionName === 'function') {\n actionName(value, event);\n }\n\n if (actionName && !(0, _metal.get)(view, 'bubbles')) {\n event.stopPropagation();\n }\n }\n});","enifed('@ember/-internals/views/lib/mixins/view_state_support', ['exports', '@ember/-internals/metal'], function (exports, _metal) {\n 'use strict';\n\n exports.default = _metal.Mixin.create({\n _transitionTo(state) {\n let priorState = this._currentState;\n let currentState = this._currentState = this._states[state];\n this._state = state;\n\n if (priorState && priorState.exit) {\n priorState.exit(this);\n }\n if (currentState.enter) {\n currentState.enter(this);\n }\n }\n });\n});","enifed('@ember/-internals/views/lib/mixins/view_support', ['exports', '@ember/-internals/utils', '@ember/-internals/meta', '@ember/-internals/metal', '@ember/debug', '@ember/-internals/browser-environment', '@ember/-internals/views/lib/system/utils', '@ember/-internals/views/lib/system/jquery'], function (exports, _utils, _meta, _metal, _debug, _browserEnvironment, _utils2, _jquery) {\n 'use strict';\n\n function K() {\n return this;\n }\n\n /**\n @class ViewMixin\n @namespace Ember\n @private\n */\n exports.default = _metal.Mixin.create({\n /**\n A list of properties of the view to apply as attributes. If the property\n is a string value, the value of that string will be applied as the value\n for an attribute of the property's name.\n The following example creates a tag like `<div priority=\"high\" />`.\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n attributeBindings: ['priority'],\n priority: 'high'\n });\n ```\n If the value of the property is a Boolean, the attribute is treated as\n an HTML Boolean attribute. It will be present if the property is `true`\n and omitted if the property is `false`.\n The following example creates markup like `<div visible />`.\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n attributeBindings: ['visible'],\n visible: true\n });\n ```\n If you would prefer to use a custom value instead of the property name,\n you can create the same markup as the last example with a binding like\n this:\n ```app/components/my-component.js\n import Component from '@ember/component';\n export default Component.extend({\n attributeBindings: ['isVisible:visible'],\n isVisible: true\n });\n ```\n This list of attributes is inherited from the component's superclasses,\n as well.\n @property attributeBindings\n @type Array\n @default []\n @public\n */\n concatenatedProperties: ['attributeBindings'],\n\n // ..........................................................\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 let view = this.parentView;\n let 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 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 let view = this.parentView;\n\n while (view) {\n if (property in view) {\n return view;\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.descriptor)({\n configurable: false,\n enumerable: false,\n get() {\n return this.renderer.getElement(this);\n }\n }),\n\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 */\n $(sel) {\n false && !(this.tagName !== '') && (0, _debug.assert)(\"You cannot access this.$() on a component with `tagName: ''` specified.\", this.tagName !== '');\n false && !!_jquery.jQueryDisabled && (0, _debug.assert)('You cannot access this.$() with `jQuery` disabled.', !_jquery.jQueryDisabled);\n\n if (this.element) {\n return sel ? (0, _jquery.default)(sel, this.element) : (0, _jquery.default)(this.element);\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 let target;\n\n if (_browserEnvironment.hasDOM) {\n target = typeof selector === 'string' ? document.querySelector(selector) : selector;\n\n false && !target && (0, _debug.assert)(`You tried to append to (${selector}) but that isn't in the DOM`, target);\n false && !!(0, _utils2.matches)(target, '.ember-view') && (0, _debug.assert)('You cannot append to an existing Ember.View.', !(0, _utils2.matches)(target, '.ember-view'));\n false && !(() => {\n let node = target.parentNode;\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 let node = target.parentNode;while (node) {\n if (node.nodeType !== 9 && (0, _utils2.matches)(node, '.ember-view')) {\n return false;\n }node = node.parentNode;\n }return true;\n })());\n } else {\n target = selector;\n\n false && !(typeof target !== 'string') && (0, _debug.assert)(`You tried to append to a selector string (${selector}) in an environment without jQuery`, typeof target !== 'string');\n false && !(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\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 Attempts to discover the element in the parent element. The default\n implementation looks for an element with an ID of `elementId` (or the\n view's guid if `elementId` is null). You can override this method to\n provide your own form of lookup. For example, if you want to discover your\n element using a CSS class name instead of an ID.\n @method findElementInParentElement\n @param {DOMElement} parentElement The parent's DOM element\n @return {DOMElement} The discovered element\n @private\n */\n findElementInParentElement(parentElem) {\n let id = `#${this.elementId}`;\n return (0, _jquery.default)(id)[0] || (0, _jquery.default)(id, parentElem)[0];\n },\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 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 // ..........................................................\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 @property tagName\n @type String\n @default null\n @public\n */\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);\n\n // tslint:disable-next-line:max-line-length\n false && !((0, _meta.descriptorFor)(this, 'elementId') === undefined) && (0, _debug.assert)(`You cannot use a computed property for the component's \\`elementId\\` (${this}).`, (0, _meta.descriptorFor)(this, 'elementId') === undefined);\n\n // tslint:disable-next-line:max-line-length\n\n false && !((0, _meta.descriptorFor)(this, 'tagName') === undefined) && (0, _debug.assert)(`You cannot use a computed property for the component's \\`tagName\\` (${this}).`, (0, _meta.descriptorFor)(this, 'tagName') === undefined);\n\n if (!this.elementId && this.tagName !== '') {\n this.elementId = (0, _utils.guidFor)(this);\n }\n\n false && !!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});","enifed(\"@ember/-internals/views/lib/system/action_manager\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default = ActionManager;\n /**\n @module ember\n */\n\n function ActionManager() {}\n\n /**\n Global action id hash.\n \n @private\n @property registeredActions\n @type Object\n */\n ActionManager.registeredActions = {};\n});","enifed('@ember/-internals/views/lib/system/event_dispatcher', ['exports', '@ember/-internals/owner', '@ember/polyfills', '@ember/debug', '@ember/-internals/metal', '@ember/-internals/runtime', '@ember/-internals/views/lib/system/jquery', '@ember/-internals/views/lib/system/action_manager', '@ember/-internals/views/lib/compat/fallback-view-registry', '@ember/-internals/views/lib/system/jquery_event_deprecation', '@ember/-internals/views/lib/system/utils'], function (exports, _owner, _polyfills, _debug, _metal, _runtime, _jquery, _action_manager, _fallbackViewRegistry, _jquery_event_deprecation, _utils) {\n 'use strict';\n\n /**\n @module ember\n */\n\n const ROOT_ELEMENT_CLASS = 'ember-application';\n const ROOT_ELEMENT_SELECTOR = `.${ROOT_ELEMENT_CLASS}`;\n\n const EVENT_MAP = {\n mouseenter: 'mouseover',\n mouseleave: 'mouseout'\n };\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 exports.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: {\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 mousemove: 'mouseMove',\n focusin: 'focusIn',\n focusout: 'focusOut',\n mouseenter: 'mouseEnter',\n mouseleave: 'mouseLeave',\n submit: 'submit',\n input: 'input',\n change: 'change',\n dragstart: 'dragStart',\n drag: 'drag',\n dragenter: 'dragEnter',\n dragleave: 'dragLeave',\n dragover: 'dragOver',\n drop: 'drop',\n dragend: 'dragEnd'\n },\n\n /**\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 false && !(() => {\n let owner = (0, _owner.getOwner)(this);\n let environment = owner.lookup('-environment:main');\n\n return environment.isInteractive;\n })() && (0, _debug.assert)('EventDispatcher should never be instantiated in fastboot mode. Please report this as an Ember bug.', (() => {\n let owner = (0, _owner.getOwner)(this);let environment = owner.lookup('-environment:main');return environment.isInteractive;\n })());\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 let 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 let rootElementSelector = (0, _metal.get)(this, 'rootElement');\n let rootElement;\n if (_jquery.jQueryDisabled) {\n if (typeof rootElementSelector !== 'string') {\n rootElement = rootElementSelector;\n } else {\n rootElement = document.querySelector(rootElementSelector);\n }\n\n false && !!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 false && !(() => {\n let target = rootElement.parentNode;\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 let target = rootElement.parentNode;do {\n if (target.classList.contains(ROOT_ELEMENT_CLASS)) {\n return false;\n }target = target.parentNode;\n } while (target && target.nodeType === 1);return true;\n })());\n false && !!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\n rootElement.classList.add(ROOT_ELEMENT_CLASS);\n\n false && !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.default)(rootElementSelector);\n false && !!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 false && !!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 false && !!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\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 let viewRegistry = this._getViewRegistry();\n\n for (let event in events) {\n if (events.hasOwnProperty(event)) {\n this.setupHandler(rootElement, event, events[event], viewRegistry);\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 @param {Object} viewRegistry\n */\n setupHandler(rootElement, event, eventName, viewRegistry) {\n if (eventName === null) {\n return;\n }\n\n if (_jquery.jQueryDisabled) {\n let viewHandler = (target, event) => {\n let view = viewRegistry[target.id];\n let result = true;\n\n if (view) {\n result = view.handleEvent(eventName, event);\n }\n\n return result;\n };\n\n let actionHandler = (target, event) => {\n let actionId = target.getAttribute('data-ember-action');\n let actions = _action_manager.default.registeredActions[actionId];\n\n // In Glimmer2 this attribute is set to an empty string and an additional\n // attribute it set for each action on a given element. In this case, the\n // attributes need to be read so that a proper set of action handlers can\n // be coalesced.\n if (actionId === '') {\n let attributes = target.attributes;\n let attributeCount = attributes.length;\n\n actions = [];\n\n for (let i = 0; i < attributeCount; i++) {\n let attr = attributes.item(i);\n let 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 }\n\n // We have to check for actions here since in some cases, jQuery will trigger\n // an event on `removeChild` (i.e. focusout) after we've already torn down the\n // action handlers for the view.\n if (!actions) {\n return;\n }\n\n for (let index = 0; index < actions.length; index++) {\n let action = actions[index];\n\n if (action && action.eventName === eventName) {\n return action.handler(event);\n }\n }\n };\n\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 if (EVENT_MAP[event] !== undefined) {\n let mappedEventType = EVENT_MAP[event];\n let origEventType = event;\n\n let createFakeEvent = (eventType, event) => {\n let 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);\n\n // fake event.target as we don't dispatch the event\n Object.defineProperty(fakeEvent, 'target', { value: event.target, enumerable: true });\n\n return fakeEvent;\n };\n\n let handleMappedEvent = this._eventHandlers[mappedEventType] = event => {\n let target = event.target;\n let 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 (viewRegistry[target.id]) {\n viewHandler(target, createFakeEvent(origEventType, event));\n } else if (target.hasAttribute('data-ember-action')) {\n actionHandler(target, createFakeEvent(origEventType, event));\n }\n\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 target = target.parentNode;\n }\n };\n\n rootElement.addEventListener(mappedEventType, handleMappedEvent);\n } else {\n let handleEvent = this._eventHandlers[event] = event => {\n let target = event.target;\n\n do {\n if (viewRegistry[target.id]) {\n if (viewHandler(target, event) === false) {\n event.preventDefault();\n event.stopPropagation();\n break;\n }\n } else if (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 let view = viewRegistry[this.id];\n let result = true;\n\n if (view) {\n result = view.handleEvent(eventName, (0, _jquery_event_deprecation.default)(evt));\n }\n\n return result;\n });\n\n rootElement.on(`${event}.ember`, '[data-ember-action]', evt => {\n let attributes = evt.currentTarget.attributes;\n let handledActions = [];\n\n evt = (0, _jquery_event_deprecation.default)(evt);\n\n for (let i = 0; i < attributes.length; i++) {\n let attr = attributes.item(i);\n let attrName = attr.name;\n\n if (attrName.lastIndexOf('data-ember-action-', 0) !== -1) {\n let action = _action_manager.default.registeredActions[attr.value];\n\n // 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 if (action && action.eventName === eventName && handledActions.indexOf(action) === -1) {\n action.handler(evt);\n // 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 handledActions.push(action);\n }\n }\n }\n });\n }\n },\n\n _getViewRegistry() {\n let owner = (0, _owner.getOwner)(this);\n let viewRegistry = owner && owner.lookup('-view-registry:main') || _fallbackViewRegistry.default;\n\n return viewRegistry;\n },\n\n destroy() {\n let rootElementSelector = (0, _metal.get)(this, 'rootElement');\n let rootElement;\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 (_jquery.jQueryDisabled) {\n for (let event in this._eventHandlers) {\n rootElement.removeEventListener(event, this._eventHandlers[event]);\n }\n } else {\n (0, _jquery.default)(rootElementSelector).off('.ember', '**');\n }\n\n rootElement.classList.remove(ROOT_ELEMENT_CLASS);\n\n return this._super(...arguments);\n },\n\n toString() {\n return '(EventDispatcher)';\n }\n });\n});","enifed('@ember/-internals/views/lib/system/jquery', ['exports', '@ember/-internals/environment', '@ember/-internals/browser-environment'], function (exports, _environment, _browserEnvironment) {\n 'use strict';\n\n exports.jQueryDisabled = undefined;\n\n\n let jQuery;\n let jQueryDisabled = exports.jQueryDisabled = _environment.ENV._JQUERY_INTEGRATION === false;\n\n if (_browserEnvironment.hasDOM) {\n 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.jQueryDisabled = jQueryDisabled = true;\n }\n }\n\n exports.default = jQueryDisabled ? undefined : jQuery;\n});","enifed('@ember/-internals/views/lib/system/jquery_event_deprecation', ['exports', '@ember/debug', '@ember/-internals/environment', '@ember/-internals/utils'], function (exports, _debug, _environment, _utils) {\n 'use strict';\n\n exports.default = addJQueryEventDeprecation;\n function addJQueryEventDeprecation(jqEvent) {\n if (!false /* DEBUG */ || !_utils.HAS_NATIVE_PROXY) {\n return jqEvent;\n }\n\n let boundFunctions = new Map();\n\n // 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 return new Proxy(jqEvent, {\n get(target, name) {\n switch (name) {\n case 'originalEvent':\n false && !(EmberENV => {\n // this deprecation is intentionally checking `global.EmberENV` /\n // `global.ENV` so that we can ensure we _only_ deprecate in the\n // case where jQuery integration is enabled implicitly (e.g.\n // \"defaulted\" to enabled) as opposed to when the user explicitly\n // opts in to using jQuery\n if (typeof EmberENV !== 'object' || EmberENV === null) return false;\n\n return EmberENV._JQUERY_INTEGRATION === true;\n })(_environment.global.EmberENV || _environment.global.ENV) && (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;return EmberENV._JQUERY_INTEGRATION === true;\n })(_environment.global.EmberENV || _environment.global.ENV), {\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\n return target[name];\n\n // provide an escape hatch for ember-jquery-legacy to access originalEvent without a deprecation\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 }\n // same for jQuery's getter functions for simple properties\n return target[name];\n }\n }\n });\n } /* global Proxy */\n});","enifed('@ember/-internals/views/lib/system/lookup_partial', ['exports', '@ember/debug', '@ember/error'], function (exports, _debug, _error) {\n 'use strict';\n\n exports.default = lookupPartial;\n exports.hasPartial = hasPartial;\n\n\n function parseUnderscoredName(templateName) {\n let nameParts = templateName.split('/');\n let lastPart = nameParts[nameParts.length - 1];\n\n nameParts[nameParts.length - 1] = `_${lastPart}`;\n\n return nameParts.join('/');\n }\n\n function lookupPartial(templateName, owner) {\n if (templateName == null) {\n return;\n }\n\n let template = templateFor(owner, parseUnderscoredName(templateName), templateName);\n\n false && !!!template && (0, _debug.assert)(`Unable to find partial with name \"${templateName}\"`, !!template);\n\n return template;\n }\n\n function hasPartial(name, owner) {\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.hasRegistration(`template:${parseUnderscoredName(name)}`) || owner.hasRegistration(`template:${name}`);\n }\n\n function templateFor(owner, underscored, name) {\n if (!name) {\n return;\n }\n false && !(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});","enifed('@ember/-internals/views/lib/system/utils', ['exports', '@ember/-internals/owner', '@ember/-internals/utils'], function (exports, _owner, _utils) {\n 'use strict';\n\n exports.elMatches = undefined;\n exports.isSimpleClick = isSimpleClick;\n exports.constructStyleDeprecationMessage = constructStyleDeprecationMessage;\n exports.getRootViews = getRootViews;\n exports.getViewId = getViewId;\n exports.getViewElement = getViewElement;\n exports.initViewElement = initViewElement;\n exports.setViewElement = setViewElement;\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\n\n /**\n @module ember\n */\n\n function isSimpleClick(event) {\n let modifier = event.shiftKey || event.metaKey || event.altKey || event.ctrlKey;\n let secondaryClick = event.which > 1; // IE9 may return undefined\n\n return !modifier && !secondaryClick;\n }\n /* globals Element */\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 /**\n @private\n @method getRootViews\n @param {Object} owner\n */\n function getRootViews(owner) {\n let registry = owner.lookup('-view-registry:main');\n\n let rootViews = [];\n\n Object.keys(registry).forEach(id => {\n let view = registry[id];\n\n if (view.parentView === null) {\n rootViews.push(view);\n }\n });\n\n return rootViews;\n }\n\n /**\n @private\n @method getViewId\n @param {Ember.View} view\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 const VIEW_ELEMENT = (0, _utils.symbol)('VIEW_ELEMENT');\n\n /**\n @private\n @method getViewElement\n @param {Ember.View} view\n */\n function getViewElement(view) {\n return view[VIEW_ELEMENT];\n }\n\n function initViewElement(view) {\n view[VIEW_ELEMENT] = null;\n }\n\n function setViewElement(view, element) {\n return view[VIEW_ELEMENT] = element;\n }\n\n const CHILD_VIEW_IDS = new WeakMap();\n\n /**\n @private\n @method getChildViews\n @param {Ember.View} view\n */\n function getChildViews(view) {\n let owner = (0, _owner.getOwner)(view);\n let registry = owner.lookup('-view-registry:main');\n return collectChildViews(view, registry);\n }\n\n function initChildViews(view) {\n let childViews = new Set();\n CHILD_VIEW_IDS.set(view, childViews);\n return childViews;\n }\n\n function addChildView(parent, child) {\n let childViews = CHILD_VIEW_IDS.get(parent);\n if (childViews === undefined) {\n childViews = initChildViews(parent);\n }\n\n childViews.add(getViewId(child));\n }\n\n function collectChildViews(view, registry) {\n let views = [];\n let childViews = CHILD_VIEW_IDS.get(view);\n\n if (childViews !== undefined) {\n childViews.forEach(id => {\n let view = registry[id];\n if (view && !view.isDestroying && !view.isDestroyed) {\n views.push(view);\n }\n });\n }\n\n return views;\n }\n\n /**\n @private\n @method getViewBounds\n @param {Ember.View} view\n */\n function getViewBounds(view) {\n return view.renderer.getBounds(view);\n }\n\n /**\n @private\n @method getViewRange\n @param {Ember.View} view\n */\n function getViewRange(view) {\n let bounds = getViewBounds(view);\n\n let range = document.createRange();\n range.setStartBefore(bounds.firstNode);\n range.setEndAfter(bounds.lastNode);\n\n return range;\n }\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 function getViewClientRects(view) {\n let range = getViewRange(view);\n return range.getClientRects();\n }\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 function getViewBoundingClientRect(view) {\n let range = getViewRange(view);\n return range.getBoundingClientRect();\n }\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 const elMatches = exports.elMatches = typeof Element !== 'undefined' && (Element.prototype.matches || Element.prototype.matchesSelector || Element.prototype.mozMatchesSelector || Element.prototype.msMatchesSelector || Element.prototype.oMatchesSelector || Element.prototype.webkitMatchesSelector);\n\n function matches(el, selector) {\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 while (b = b.parentNode) {\n if (b === a) {\n return true;\n }\n }\n return false;\n }\n});","enifed('@ember/-internals/views/lib/utils/lookup-component', ['exports'], function (exports) {\n 'use strict';\n\n exports.default = lookupComponent;\n\n\n function lookupModuleUnificationComponentPair(componentLookup, owner, name, options) {\n let localComponent = componentLookup.componentFor(name, owner, options);\n let localLayout = componentLookup.layoutFor(name, owner, options);\n\n let globalComponent = componentLookup.componentFor(name, owner);\n let globalLayout = componentLookup.layoutFor(name, owner);\n\n // TODO: we shouldn't have to recheck fallback, we should have a lookup that doesn't fallback\n if (localComponent !== undefined && globalComponent !== undefined && globalComponent.class === localComponent.class) {\n localComponent = undefined;\n }\n if (localLayout !== undefined && globalLayout !== undefined && localLayout.referrer.moduleName === globalLayout.referrer.moduleName) {\n localLayout = undefined;\n }\n\n if (localLayout !== undefined || localComponent !== undefined) {\n return { layout: localLayout, component: localComponent };\n }\n\n return { layout: globalLayout, component: globalComponent };\n }\n\n function lookupComponentPair(componentLookup, owner, name, options) {\n if (false /* EMBER_MODULE_UNIFICATION */) {\n return lookupModuleUnificationComponentPair(componentLookup, owner, name, options);\n }\n\n let component = componentLookup.componentFor(name, owner, options);\n let layout = componentLookup.layoutFor(name, owner, options);\n\n let result = { layout, component };\n\n return result;\n }\n\n function lookupComponent(owner, name, options) {\n let componentLookup = owner.lookup('component-lookup:main');\n\n if (options && (options.source || options.namespace)) {\n let localResult = lookupComponentPair(componentLookup, owner, name, options);\n\n if (localResult.component || localResult.layout) {\n return localResult;\n }\n }\n\n return lookupComponentPair(componentLookup, owner, name);\n }\n});","enifed('@ember/-internals/views/lib/views/core_view', ['exports', '@ember/-internals/runtime', '@ember/-internals/views/lib/system/utils', '@ember/-internals/views/lib/views/states'], function (exports, _runtime, _utils, _states) {\n 'use strict';\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 const CoreView = _runtime.FrameworkObject.extend(_runtime.Evented, _runtime.ActionHandler, {\n isView: true,\n\n _states: (0, _states.cloneStates)(_states.states),\n\n init() {\n this._super(...arguments);\n this._state = 'preRender';\n this._currentState = this._states.preRender;\n\n (0, _utils.initViewElement)(this);\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 let method = this[name];\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 CoreView.reopenClass({\n isViewFactory: true\n });\n\n exports.default = CoreView;\n});","enifed('@ember/-internals/views/lib/views/states', ['exports', '@ember/polyfills', '@ember/-internals/views/lib/views/states/default', '@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, _polyfills, _default2, _pre_render, _has_element, _in_dom, _destroying) {\n 'use strict';\n\n exports.states = undefined;\n exports.cloneStates = cloneStates;\n function cloneStates(from) {\n let into = {};\n\n into._default = {};\n into.preRender = Object.create(into._default);\n into.destroying = Object.create(into._default);\n into.hasElement = Object.create(into._default);\n into.inDOM = Object.create(into.hasElement);\n\n for (let stateName in from) {\n if (!from.hasOwnProperty(stateName)) {\n continue;\n }\n (0, _polyfills.assign)(into[stateName], from[stateName]);\n }\n\n return into;\n }\n\n /*\n Describe how the specified actions should behave in the various\n states that a view can exist in. Possible states:\n \n * preRender: when a view is first instantiated, and after its\n element was destroyed, it is in the preRender state\n * hasElement: the DOM representation of the view is created,\n and is ready to be inserted\n * inDOM: once a view has been inserted into the DOM it is in\n the inDOM state. A view spends the vast majority of its\n existence in this state.\n * destroyed: once a view has been destroyed (using the destroy\n method), it is in this state. No further actions can be invoked\n on a destroyed view.\n */\n let states = exports.states = {\n _default: _default2.default,\n preRender: _pre_render.default,\n inDOM: _in_dom.default,\n hasElement: _has_element.default,\n destroying: _destroying.default\n };\n});","enifed(\"@ember/-internals/views/lib/views/states/default\", [\"exports\", \"@ember/error\"], function (exports, _error) {\n \"use strict\";\n\n exports.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});","enifed('@ember/-internals/views/lib/views/states/destroying', ['exports', '@ember/polyfills', '@ember/error', '@ember/-internals/views/lib/views/states/default'], function (exports, _polyfills, _error, _default2) {\n 'use strict';\n\n const destroying = Object.create(_default2.default);\n\n (0, _polyfills.assign)(destroying, {\n appendChild() {\n throw new _error.default(\"You can't call appendChild on a view being destroyed\");\n },\n rerender() {\n throw new _error.default(\"You can't call rerender on a view being destroyed\");\n }\n });\n\n exports.default = destroying;\n});","enifed('@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, _default2, _runloop, _instrumentation) {\n 'use strict';\n\n const hasElement = Object.create(_default2.default);\n\n (0, _polyfills.assign)(hasElement, {\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}`, { event, view }, () => {\n return (0, _runloop.join)(view, view.trigger, eventName, event);\n });\n } else {\n return true; // continue event propagation\n }\n }\n });\n\n exports.default = hasElement;\n});","enifed('@ember/-internals/views/lib/views/states/in_dom', ['exports', '@ember/polyfills', '@ember/-internals/metal', '@ember/error', '@ember/-internals/views/lib/views/states/has_element'], function (exports, _polyfills, _metal, _error, _has_element) {\n 'use strict';\n\n const inDOM = Object.create(_has_element.default);\n\n (0, _polyfills.assign)(inDOM, {\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 (false /* DEBUG */) {\n (0, _metal.addObserver)(view, 'elementId', () => {\n throw new _error.default(\"Changing a view's elementId after creation is not allowed\");\n });\n }\n },\n\n exit(view) {\n view.renderer.unregister(view);\n }\n });\n\n exports.default = inDOM;\n});","enifed('@ember/-internals/views/lib/views/states/pre_render', ['exports', '@ember/-internals/views/lib/views/states/default'], function (exports, _default2) {\n 'use strict';\n\n exports.default = Object.create(_default2.default);\n});","enifed('@ember/application/globals-resolver', ['exports', '@ember/-internals/utils', '@ember/-internals/metal', '@ember/debug', '@ember/string', '@ember/-internals/runtime', '@ember/application/lib/validate-type', '@ember/-internals/glimmer'], function (exports, _utils, _metal, _debug, _string, _runtime, _validateType, _glimmer) {\n 'use strict';\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 */\n\n 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 /**\n This will be set to the Application instance when it is\n created.\n @property namespace\n @public\n */\n\n init() {\n this._parseNameCache = (0, _utils.dictionary)(null);\n }\n\n normalize(fullName) {\n let [type, name] = fullName.split(':');\n\n false && !(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 let result = name.replace(/(\\.|_|-)./g, m => m.charAt(1).toUpperCase());\n\n return `${type}:${result}`;\n } else {\n return fullName;\n }\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 resolve(fullName) {\n let parsedName = this.parseName(fullName);\n let resolveMethodName = parsedName.resolveMethodName;\n let resolved;\n\n if (this[resolveMethodName]) {\n resolved = this[resolveMethodName](parsedName);\n }\n\n resolved = resolved || this.resolveOther(parsedName);\n\n if (false /* DEBUG */) {\n if (parsedName.root && parsedName.root.LOG_RESOLVER) {\n this._logLookup(resolved, parsedName);\n }\n }\n\n if (resolved) {\n (0, _validateType.default)(resolved, parsedName);\n }\n\n return resolved;\n }\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 parseName(fullName) {\n return this._parseNameCache[fullName] || (this._parseNameCache[fullName] = this._parseName(fullName));\n }\n\n _parseName(fullName) {\n let [type, fullNameWithoutType] = fullName.split(':');\n\n let name = fullNameWithoutType;\n let namespace = (0, _metal.get)(this, 'namespace');\n let root = namespace;\n let lastSlashIndex = name.lastIndexOf('/');\n let dirname = lastSlashIndex !== -1 ? name.slice(0, lastSlashIndex) : null;\n\n if (type !== 'template' && lastSlashIndex !== -1) {\n let parts = name.split('/');\n name = parts[parts.length - 1];\n let namespaceName = (0, _string.capitalize)(parts.slice(0, -1).join('.'));\n root = (0, _metal.findNamespace)(namespaceName);\n\n false && !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 let 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 /**\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 lookupDescription(fullName) {\n let parsedName = this.parseName(fullName);\n let 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 /**\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 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 resolveTemplate(parsedName) {\n let templateName = parsedName.fullNameWithoutType.replace(/\\./g, '/');\n\n return (0, _glimmer.getTemplate)(templateName) || (0, _glimmer.getTemplate)((0, _string.decamelize)(templateName));\n }\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 resolveView(parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n }\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 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 resolveRoute(parsedName) {\n this.useRouterNaming(parsedName);\n return this.resolveOther(parsedName);\n }\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 resolveModel(parsedName) {\n let className = (0, _string.classify)(parsedName.name);\n let factory = (0, _metal.get)(parsedName.root, className);\n\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 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 resolveOther(parsedName) {\n let className = (0, _string.classify)(parsedName.name) + (0, _string.classify)(parsedName.type);\n let factory = (0, _metal.get)(parsedName.root, className);\n return factory;\n }\n\n resolveMain(parsedName) {\n let className = (0, _string.classify)(parsedName.type);\n return (0, _metal.get)(parsedName.root, className);\n }\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 knownForType(type) {\n let namespace = (0, _metal.get)(this, 'namespace');\n let suffix = (0, _string.classify)(type);\n let typeRegexp = new RegExp(`${suffix}$`);\n\n let known = (0, _utils.dictionary)(null);\n let knownKeys = Object.keys(namespace);\n for (let index = 0; index < knownKeys.length; index++) {\n let name = knownKeys[index];\n\n if (typeRegexp.test(name)) {\n let containerName = this.translateToContainerFullname(type, name);\n\n known[containerName] = true;\n }\n }\n\n return known;\n }\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 translateToContainerFullname(type, name) {\n let suffix = (0, _string.classify)(type);\n let namePrefix = name.slice(0, suffix.length * -1);\n let dasherizedName = (0, _string.dasherize)(namePrefix);\n\n return `${type}:${dasherizedName}`;\n }\n } /**\n @module @ember/application\n */\n\n exports.default = DefaultResolver;\n\n\n if (false /* DEBUG */) {\n /**\n @method _logLookup\n @param {Boolean} found\n @param {Object} parsedName\n @private\n */\n DefaultResolver.prototype._logLookup = function (found, parsedName) {\n let symbol = found ? '[✓]' : '[ ]';\n\n let padding;\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});","enifed('@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, '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});","enifed('@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, _browserEnvironment, _views, _instance, _glimmer) {\n 'use strict';\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\n /**\n @module @ember/application\n */\n\n const 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);\n\n // Register this instance in the per-instance registry.\n //\n // Why do we need to register the instance in the first place?\n // Because we need a good way for the root route (a.k.a ApplicationRoute)\n // to notify us when it has created the root-most view. That view is then\n // appended to the rootElement, in the case of apps, to the fixture harness\n // in tests, or rendered to a string in the case of FastBoot.\n this.register('-application-instance:main', this, { instantiate: false });\n },\n\n /**\n Overrides the base `EngineInstance._bootSync` method with concerns relevant\n to booting application (instead of engine) instances.\n This method should only contain synchronous boot concerns. Asynchronous\n boot concerns should eventually be moved to the `boot` method, which\n returns a promise.\n Until all boot code has been made asynchronous, we need to continue to\n expose this method for use *internally* in places where we need to boot an\n instance synchronously.\n @private\n */\n _bootSync(options) {\n if (this._booted) {\n return this;\n }\n\n options = new BootOptions(options);\n\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 let router = (0, _metal.get)(this, 'router');\n (0, _metal.set)(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\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 @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 let router = (0, _metal.get)(this, 'router');\n router.startRouting();\n this._didSetupRouter = true;\n },\n\n /**\n @private\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 setupRouter() {\n if (this._didSetupRouter) {\n return;\n }\n this._didSetupRouter = true;\n\n let router = (0, _metal.get)(this, 'router');\n 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 let router = (0, _metal.get)(this, 'router');\n\n this.setupRouter();\n return router.handleURL(url);\n },\n\n /**\n @private\n */\n setupEventDispatcher() {\n let dispatcher = this.lookup('event_dispatcher:main');\n let applicationCustomEvents = (0, _metal.get)(this.application, 'customEvents');\n let instanceCustomEvents = (0, _metal.get)(this, 'customEvents');\n\n let customEvents = (0, _polyfills.assign)({}, applicationCustomEvents, instanceCustomEvents);\n dispatcher.setup(customEvents, this.rootElement);\n\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 (0, _metal.get)(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 let bootOptions = this.__container__.lookup('-environment:main');\n\n let router = (0, _metal.get)(this, 'router');\n\n let handleTransitionResolve = () => {\n if (!bootOptions.options.shouldRender) {\n // No rendering is needed, and routing has completed, simply return.\n return this;\n } else {\n // Ensure that the visit promise resolves when all rendering has completed\n return (0, _glimmer.renderSettled)().then(() => this);\n }\n };\n\n let handleTransitionReject = error => {\n if (error.error) {\n throw error.error;\n } else if (error.name === 'TransitionAborted' && router._routerMicrolib.activeTransition) {\n return router._routerMicrolib.activeTransition.then(handleTransitionResolve, handleTransitionReject);\n } else if (error.name === 'TransitionAborted') {\n throw new Error(error.message);\n } else {\n throw error;\n }\n };\n\n let location = (0, _metal.get)(router, 'location');\n\n // Keeps the location adapter's internal URL in-sync\n location.setURL(url);\n\n // getURL returns the set url with the rootURL stripped off\n return router.handleURL(location.getURL()).then(handleTransitionResolve, handleTransitionReject);\n },\n\n willDestroy() {\n this._super(...arguments);\n this.application._unwatchInstance(this);\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 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 this.isInteractive = _browserEnvironment.hasDOM; // This default is overridable below\n\n /**\n @property _renderMode\n @type string\n @default false\n @private\n */\n this._renderMode = options._renderMode;\n\n /**\n Run in a full browser environment.\n When this flag is set to `true`, 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 if (options.isBrowser !== undefined) {\n this.isBrowser = !!options.isBrowser;\n } else {\n this.isBrowser = _browserEnvironment.hasDOM;\n }\n\n if (!this.isBrowser) {\n this.jQuery = null;\n this.isInteractive = false;\n this.location = 'none';\n }\n\n /**\n Disable rendering completely.\n When this flag is set to `true`, 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 if (options.shouldRender !== undefined) {\n this.shouldRender = !!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 /**\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 if (options.document) {\n this.document = options.document;\n } else {\n this.document = typeof document !== 'undefined' ? document : null;\n }\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 if (options.rootElement) {\n this.rootElement = options.rootElement;\n }\n\n // Set these options last to give the user a chance to override the\n // defaults from the \"combo\" options like `isBrowser` (although in\n // practice, the resulting combination is probably invalid)\n\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 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 = !!options.isInteractive;\n }\n }\n\n toEnvironment() {\n // Do we really want to assign all of this!?\n let env = (0, _polyfills.assign)({}, _browserEnvironment);\n // For compatibility with existing code\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 exports.default = ApplicationInstance;\n});","enifed('@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'], function (exports, _utils, _environment, _browserEnvironment, _debug, _runloop, _metal, _lazy_load, _runtime, _views, _routing, _instance, _engine, _container, _glimmer) {\n 'use strict';\n\n let librariesRegistered = false;\n\n /**\n An instance of `Application` is the starting point for every Ember\n application. It helps to instantiate, initialize and coordinate the many\n objects that make up your app.\n \n Each Ember app has one and only one `Application` object. In fact, the\n very first thing you should do in your application is create the instance:\n \n ```javascript\n import Application from '@ember/application';\n \n window.App = Application.create();\n ```\n \n Typically, the application object is the only global variable. All other\n classes in your app should be properties on the `Application` instance,\n which highlights its first role: a global namespace.\n \n For example, if you define a view class, it might look like this:\n \n ```javascript\n import Application from '@ember/application';\n \n App.MyView = Ember.View.extend();\n ```\n \n By default, calling `Application.create()` will automatically initialize\n your application by calling the `Application.initialize()` method. If\n you need to delay initialization, you can call your app's `deferReadiness()`\n method. When you are ready for your app to be initialized, call its\n `advanceReadiness()` method.\n \n You can define a `ready` method on the `Application` instance, which\n will be run by Ember when the application is initialized.\n \n Because `Application` 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.\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 ```javascript\n import Application from '@ember/application';\n \n let App = Application.create({\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 ```javascript\n import Application from '@ember/application';\n \n let App = Application.create({\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 ```javascript\n import Application from '@ember/application';\n \n let App = Application.create({\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 Libraries on top of Ember can add initializers, like so:\n \n ```javascript\n import Application from '@ember/application';\n \n Application.initializer({\n name: 'api-adapter',\n \n initialize: function(application) {\n application.register('api-adapter:main', ApiAdapter);\n }\n });\n ```\n \n Initializers provide an opportunity to access the internal registry, which\n organizes the different components of an Ember application. Additionally\n they provide a chance to access the instantiated application. Beyond\n being used for libraries, initializers are also a great way to organize\n dependency injection or setup in your own application.\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 /**\n @module @ember/application\n */\n\n const 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 ```javascript\n import Application from '@ember/application';\n let App = Application.create({\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 ```javascript\n import Application from '@ember/application';\n let App = Application.create({\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 (false /* DEBUG */) {\n if (_environment.ENV.LOG_VERSION) {\n // we only need to see this once per Application#init\n _environment.ENV.LOG_VERSION = false;\n _metal.libraries.logVersions();\n }\n }\n\n // Start off the number of deferrals at 1. This will be decremented by\n // the Application's own `boot` method.\n this._readinessDeferrals = 1;\n this._booted = false;\n this._applicationInstances = new Set();\n\n this.autoboot = this._globalsMode = !!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 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 let instance = this.buildInstance();\n\n // Legacy support for App.__container__ and other global methods\n // on App that rely on a single, default instance.\n this.__deprecatedInstance__ = instance;\n this.__container__ = instance.__container__;\n },\n\n /**\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.isDestroyed) {\n return;\n }\n\n this._bootSync();\n\n // Continues to `didBecomeReady`\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 false && !(this instanceof Application) && (0, _debug.assert)('You must call deferReadiness on an instance of Application', this instanceof Application);\n false && !(this._readinessDeferrals > 0) && (0, _debug.assert)('You cannot defer readiness since the `ready()` hook has already been called.', this._readinessDeferrals > 0);\n\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 false && !(this instanceof Application) && (0, _debug.assert)('You must call advanceReadiness on an instance of Application', this instanceof Application);\n\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 if (this._bootPromise) {\n return this._bootPromise;\n }\n\n try {\n this._bootSync();\n } catch (_) {\n // Ignore the error: in the asynchronous boot path, the error is already reflected\n // in the promise rejection\n }\n\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) {\n return;\n }\n\n // Even though this returns synchronously, we still need to make sure the\n // boot promise exists for book-keeping purposes: if anything went wrong in\n // the boot process, we need to store the error as a rejection on the boot\n // promise so that a future caller of `boot()` can tell what failed.\n let defer = this._bootResolver = _runtime.RSVP.defer();\n this._bootPromise = defer.promise;\n\n try {\n this.runInitializers();\n (0, _lazy_load.runLoadHooks)('application', this);\n this.advanceReadiness();\n // Continues to `didBecomeReady`\n } catch (error) {\n // For the asynchronous boot path\n defer.reject(error);\n\n // For the synchronous boot path\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 false && !(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\n let instance = this.__deprecatedInstance__;\n\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 this._buildDeprecatedInstance();\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 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 }\n\n // See documentation on `_autoboot()` for details\n if (this.autoboot) {\n let 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();\n\n // TODO: App.ready() is not called when autoboot is disabled, is this correct?\n this.ready();\n\n instance.startRouting();\n }\n\n // For the asynchronous boot path\n this._bootResolver.resolve(this);\n\n // For the synchronous boot path\n this._booted = true;\n } catch (error) {\n // For the asynchronous boot path\n this._bootResolver.reject(error);\n\n // For the synchronous boot path\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 (0, _metal.setNamespaceSearchDisabled)(false);\n this._booted = false;\n this._bootPromise = null;\n this._bootResolver = null;\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 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 return this.boot().then(() => {\n let instance = this.buildInstance();\n\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 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 let registry = this._super(...arguments);\n\n commonSetupRegistry(registry);\n\n (0, _glimmer.setupApplicationRegistry)(registry);\n\n return registry;\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\n registry.injection('router:main', 'namespace', 'application:main');\n\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\n registry.register(_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 (_browserEnvironment.hasDOM && !_views.jQueryDisabled) {\n _metal.libraries.registerCoreLibrary('jQuery', (0, _views.jQuery)().jquery);\n }\n }\n }\n\n exports.default = Application;\n});","enifed('@ember/application/lib/lazy_load', ['exports', '@ember/-internals/environment', '@ember/-internals/browser-environment'], function (exports, _environment, _browserEnvironment) {\n 'use strict';\n\n exports._loaded = undefined;\n exports.onLoad = onLoad;\n exports.runLoadHooks = runLoadHooks;\n\n\n /**\n @module @ember/application\n */\n\n /*globals CustomEvent */\n\n const loadHooks = _environment.ENV.EMBER_LOAD_HOOKS || {};\n const loaded = {};\n let _loaded = exports._loaded = loaded;\n\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 function onLoad(name, callback) {\n let object = loaded[name];\n\n loadHooks[name] = loadHooks[name] || [];\n loadHooks[name].push(callback);\n\n if (object) {\n callback(object);\n }\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 function runLoadHooks(name, object) {\n loaded[name] = object;\n\n if (_browserEnvironment.window && typeof CustomEvent === 'function') {\n let event = new CustomEvent(name, { detail: object, name });\n _browserEnvironment.window.dispatchEvent(event);\n }\n\n if (loadHooks[name]) {\n loadHooks[name].forEach(callback => callback(object));\n }\n }\n});","enifed('@ember/application/lib/validate-type', ['exports', '@ember/debug'], function (exports, _debug) {\n 'use strict';\n\n exports.default = validateType;\n\n\n const VALIDATED_TYPES = {\n route: ['assert', 'isRouteFactory', 'Ember.Route'],\n component: ['deprecate', 'isComponentFactory', 'Ember.Component'],\n view: ['deprecate', 'isViewFactory', 'Ember.View'],\n service: ['deprecate', 'isServiceFactory', 'Ember.Service']\n };\n\n function validateType(resolvedType, parsedName) {\n let validationAttributes = VALIDATED_TYPES[parsedName.type];\n\n if (!validationAttributes) {\n return;\n }\n\n let [, factoryFlag, expectedType] = validationAttributes;\n\n false && !!!resolvedType[factoryFlag] && (0, _debug.assert)(`Expected ${parsedName.fullName} to resolve to an ${expectedType} but ` + `instead it was ${resolvedType}.`, !!resolvedType[factoryFlag]);\n }\n});","enifed('@ember/canary-features/index', ['exports', '@ember/-internals/environment', '@ember/polyfills'], function (exports, _environment, _polyfills) {\n 'use strict';\n\n exports.EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION = exports.EMBER_TEMPLATE_BLOCK_LET_HELPER = exports.GLIMMER_CUSTOM_COMPONENT_MANAGER = exports.EMBER_METAL_TRACKED_PROPERTIES = exports.EMBER_MODULE_UNIFICATION = exports.EMBER_ENGINES_MOUNT_PARAMS = exports.EMBER_ROUTING_ROUTER_SERVICE = exports.EMBER_GLIMMER_NAMED_ARGUMENTS = exports.EMBER_IMPROVED_INSTRUMENTATION = exports.EMBER_LIBRARIES_ISREGISTERED = exports.FEATURES = exports.DEFAULT_FEATURES = undefined;\n exports.isEnabled = isEnabled;\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 const DEFAULT_FEATURES = exports.DEFAULT_FEATURES = {\n EMBER_LIBRARIES_ISREGISTERED: false,\n EMBER_IMPROVED_INSTRUMENTATION: false,\n EMBER_GLIMMER_NAMED_ARGUMENTS: true,\n EMBER_ROUTING_ROUTER_SERVICE: true,\n EMBER_ENGINES_MOUNT_PARAMS: true,\n EMBER_MODULE_UNIFICATION: false,\n GLIMMER_CUSTOM_COMPONENT_MANAGER: true,\n EMBER_TEMPLATE_BLOCK_LET_HELPER: true,\n EMBER_METAL_TRACKED_PROPERTIES: false,\n EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION: true\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 const FEATURES = exports.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 function isEnabled(feature) {\n let featureValue = FEATURES[feature];\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 function featureValue(value) {\n if (_environment.ENV.ENABLE_OPTIONAL_FEATURES && value === null) {\n return true;\n }\n return value;\n }\n const EMBER_LIBRARIES_ISREGISTERED = exports.EMBER_LIBRARIES_ISREGISTERED = featureValue(FEATURES.EMBER_LIBRARIES_ISREGISTERED);\n const EMBER_IMPROVED_INSTRUMENTATION = exports.EMBER_IMPROVED_INSTRUMENTATION = featureValue(FEATURES.EMBER_IMPROVED_INSTRUMENTATION);\n const EMBER_GLIMMER_NAMED_ARGUMENTS = exports.EMBER_GLIMMER_NAMED_ARGUMENTS = featureValue(FEATURES.EMBER_GLIMMER_NAMED_ARGUMENTS);\n const EMBER_ROUTING_ROUTER_SERVICE = exports.EMBER_ROUTING_ROUTER_SERVICE = featureValue(FEATURES.EMBER_ROUTING_ROUTER_SERVICE);\n const EMBER_ENGINES_MOUNT_PARAMS = exports.EMBER_ENGINES_MOUNT_PARAMS = featureValue(FEATURES.EMBER_ENGINES_MOUNT_PARAMS);\n const EMBER_MODULE_UNIFICATION = exports.EMBER_MODULE_UNIFICATION = featureValue(FEATURES.EMBER_MODULE_UNIFICATION);\n const EMBER_METAL_TRACKED_PROPERTIES = exports.EMBER_METAL_TRACKED_PROPERTIES = featureValue(FEATURES.EMBER_METAL_TRACKED_PROPERTIES);\n const GLIMMER_CUSTOM_COMPONENT_MANAGER = exports.GLIMMER_CUSTOM_COMPONENT_MANAGER = featureValue(FEATURES.GLIMMER_CUSTOM_COMPONENT_MANAGER);\n const EMBER_TEMPLATE_BLOCK_LET_HELPER = exports.EMBER_TEMPLATE_BLOCK_LET_HELPER = featureValue(FEATURES.EMBER_TEMPLATE_BLOCK_LET_HELPER);\n const EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION = exports.EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION = featureValue(FEATURES.EMBER_GLIMMER_ANGLE_BRACKET_INVOCATION);\n});","enifed('@ember/controller/index', ['exports', '@ember/-internals/runtime', '@ember/controller/lib/controller_mixin', '@ember/-internals/metal'], function (exports, _runtime, _controller_mixin, _metal) {\n 'use strict';\n\n exports.inject = inject;\n\n\n /**\n @module @ember/controller\n */\n\n /**\n @class Controller\n @extends EmberObject\n @uses Ember.ControllerMixin\n @public\n */\n const Controller = _runtime.Object.extend(_controller_mixin.default);\n\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 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\n reference 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\n to the property's name\n @return {Ember.InjectedProperty} injection descriptor instance\n @public\n */\n function inject(name, options) {\n return new _metal.InjectedProperty('controller', name, options);\n }\n\n exports.default = Controller;\n});","enifed('@ember/controller/lib/controller_mixin', ['exports', '@ember/-internals/metal', '@ember/-internals/runtime'], function (exports, _metal, _runtime) {\n 'use strict';\n\n exports.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\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: null\n });\n});","enifed('@ember/debug/index', ['exports', '@ember/debug/lib/warn', '@ember/debug/lib/deprecate', '@ember/debug/lib/testing', '@ember/-internals/browser-environment', '@ember/error'], function (exports, _warn2, _deprecate2, _testing, _browserEnvironment, _error) {\n 'use strict';\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 = exports.setTesting = exports.isTesting = exports.registerDeprecationHandler = exports.registerWarnHandler = undefined;\n Object.defineProperty(exports, 'registerWarnHandler', {\n enumerable: true,\n get: function () {\n return _warn2.registerHandler;\n }\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\n // These are the default production build versions:\n const noop = () => {};\n let assert = noop;\n let info = noop;\n let warn = noop;\n let debug = noop;\n let deprecate = noop;\n let debugSeal = noop;\n let debugFreeze = noop;\n let runInDebug = noop;\n let setDebugFunction = noop;\n let getDebugFunction = noop;\n let deprecateFunc = function () {\n return arguments[arguments.length - 1];\n };\n if (false /* DEBUG */) {\n exports.setDebugFunction = setDebugFunction = function (type, callback) {\n switch (type) {\n case 'assert':\n return exports.assert = assert = callback;\n case 'info':\n return exports.info = info = callback;\n case 'warn':\n return exports.warn = warn = callback;\n case 'debug':\n return exports.debug = debug = callback;\n case 'deprecate':\n return exports.deprecate = deprecate = callback;\n case 'debugSeal':\n return exports.debugSeal = debugSeal = callback;\n case 'debugFreeze':\n return exports.debugFreeze = debugFreeze = callback;\n case 'runInDebug':\n return exports.runInDebug = runInDebug = callback;\n case 'deprecateFunc':\n return exports.deprecateFunc = deprecateFunc = callback;\n }\n };\n exports.getDebugFunction = getDebugFunction = function (type) {\n switch (type) {\n case 'assert':\n return assert;\n case 'info':\n return info;\n case 'warn':\n return warn;\n case 'debug':\n return debug;\n case 'deprecate':\n return deprecate;\n case 'debugSeal':\n return debugSeal;\n case 'debugFreeze':\n return debugFreeze;\n case 'runInDebug':\n return runInDebug;\n case 'deprecateFunc':\n return deprecateFunc;\n }\n };\n }\n /**\n @module @ember/debug\n */\n if (false /* DEBUG */) {\n /**\n Verify that a certain expectation is met, or throw a exception otherwise.\n This is useful for communicating assumptions in the code to other human\n readers as well as catching bugs that accidentally violates these\n expectations.\n Assertions are removed from production builds, so they can be freely added\n for documentation and debugging purposes without worries of incuring any\n performance penalty. However, because of that, they should not be used for\n checks that could reasonably fail during normal usage. Furthermore, care\n should be taken to avoid accidentally relying on side-effects produced from\n evaluating the condition itself, since the code will not run in production.\n ```javascript\n import { assert } from '@ember/debug';\n // Test for truthiness\n assert('Must pass a string', typeof str === 'string');\n // Fail unconditionally\n assert('This code path should never be run');\n ```\n @method assert\n @static\n @for @ember/debug\n @param {String} description Describes the expectation. This will become the\n text of the Error thrown if the assertion fails.\n @param {Boolean} 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 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 Display an info notice.\n Calls to this function are removed from production builds, so they can be\n freely added for documentation and debugging purposes without worries of\n incuring any performance penalty.\n @method info\n @private\n */\n setDebugFunction('info', function info() {\n console.info(...arguments); /* eslint-disable-line no-console */\n });\n /**\n @module @ember/application\n @public\n */\n /**\n Alias an old, deprecated method with its new counterpart.\n Display a deprecation warning with the provided message and a stack trace\n (Chrome and Firefox only) when the assigned method is called.\n Calls to this function are removed from production builds, so they can be\n freely added for documentation and debugging purposes without worries of\n incuring any performance penalty.\n ```javascript\n import { deprecateFunc } from '@ember/application/deprecations';\n Ember.oldMethod = deprecateFunc('Please use the new, updated method', options, Ember.newMethod);\n ```\n @method deprecateFunc\n @static\n @for @ember/application/deprecations\n @param {String} message A description of the deprecation.\n @param {Object} [options] The options object for `deprecate`.\n @param {Function} func The new function called to replace its deprecated counterpart.\n @return {Function} A new function that wraps the original function with a deprecation warning\n @private\n */\n setDebugFunction('deprecateFunc', function deprecateFunc(...args) {\n if (args.length === 3) {\n let [message, options, func] = args;\n return function () {\n deprecate(message, false, options);\n return func.apply(this, arguments);\n };\n } else {\n let [message, func] = args;\n return function () {\n deprecate(message);\n return func.apply(this, arguments);\n };\n }\n });\n /**\n @module @ember/debug\n @public\n */\n /**\n Run a function meant for debugging.\n Calls to this function are removed from production builds, so they can be\n freely added for documentation and debugging purposes without worries of\n incuring any performance penalty.\n ```javascript\n import Component from '@ember/component';\n import { runInDebug } from '@ember/debug';\n runInDebug(() => {\n Component.reopen({\n didInsertElement() {\n console.log(\"I'm happy\");\n }\n });\n });\n ```\n @method runInDebug\n @for @ember/debug\n @static\n @param {Function} func The function to be executed.\n @since 1.5.0\n @public\n */\n setDebugFunction('runInDebug', function runInDebug(func) {\n func();\n });\n setDebugFunction('debugSeal', function debugSeal(obj) {\n Object.seal(obj);\n });\n setDebugFunction('debugFreeze', function debugFreeze(obj) {\n Object.freeze(obj);\n });\n setDebugFunction('deprecate', _deprecate2.default);\n setDebugFunction('warn', _warn2.default);\n }\n let _warnIfUsingStrippedFeatureFlags;\n if (false /* DEBUG */ && !(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 let downloadURL;\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 debug(`For more advanced debugging, install the Ember Inspector from ${downloadURL}`);\n }\n }, false);\n }\n }\n exports.assert = assert;\n exports.info = info;\n exports.warn = warn;\n exports.debug = debug;\n exports.deprecate = deprecate;\n exports.debugSeal = debugSeal;\n exports.debugFreeze = debugFreeze;\n exports.runInDebug = runInDebug;\n exports.deprecateFunc = deprecateFunc;\n exports.setDebugFunction = setDebugFunction;\n exports.getDebugFunction = getDebugFunction;\n exports._warnIfUsingStrippedFeatureFlags = _warnIfUsingStrippedFeatureFlags;\n});","enifed('@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 exports.missingOptionsUntilDeprecation = exports.missingOptionsIdDeprecation = exports.missingOptionsDeprecation = exports.registerHandler = undefined;\n\n /**\n @module @ember/debug\n @public\n */\n /**\n Allows for runtime registration of handler functions that override the default deprecation behavior.\n Deprecations are invoked by calls to [@ember/application/deprecations/deprecate](https://emberjs.com/api/ember/release/classes/@ember%2Fapplication%2Fdeprecations/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 let registerHandler = () => {};\n let missingOptionsDeprecation;\n let missingOptionsIdDeprecation;\n let missingOptionsUntilDeprecation;\n let deprecate = () => {};\n if (false /* DEBUG */) {\n exports.registerHandler = registerHandler = function registerHandler(handler) {\n (0, _handlers.registerHandler)('deprecate', handler);\n };\n let formatMessage = function formatMessage(_message, options) {\n let message = _message;\n if (options && options.id) {\n message = message + ` [deprecation id: ${options.id}]`;\n }\n if (options && options.url) {\n message += ` See ${options.url} for more details.`;\n }\n return message;\n };\n registerHandler(function logDeprecationToConsole(message, options) {\n let updatedMessage = formatMessage(message, options);\n console.warn(`DEPRECATION: ${updatedMessage}`); // eslint-disable-line no-console\n });\n let captureErrorForStack;\n if (new Error().stack) {\n captureErrorForStack = () => new Error();\n } else {\n captureErrorForStack = () => {\n try {\n __fail__.fail();\n } catch (e) {\n return e;\n }\n };\n }\n registerHandler(function logDeprecationStackTrace(message, options, next) {\n if (_environment.ENV.LOG_STACKTRACE_ON_DEPRECATION) {\n let stackStr = '';\n let error = captureErrorForStack();\n let stack;\n if (error.stack) {\n if (error['arguments']) {\n // Chrome\n stack = error.stack.replace(/^\\s+at\\s+/gm, '').replace(/^([^\\(]+?)([\\n$])/gm, '{anonymous}($1)$2').replace(/^Object.<anonymous>\\s*\\(([^\\)]+)\\)/gm, '{anonymous}($1)').split('\\n');\n stack.shift();\n } else {\n // Firefox\n stack = error.stack.replace(/(?:\\n@:0)?\\s+$/m, '').replace(/^\\(/gm, '{anonymous}(').split('\\n');\n }\n stackStr = `\\n ${stack.slice(2).join('\\n ')}`;\n }\n let updatedMessage = formatMessage(message, options);\n console.warn(`DEPRECATION: ${updatedMessage}${stackStr}`); // eslint-disable-line no-console\n } else {\n next(message, options);\n }\n });\n registerHandler(function raiseOnDeprecation(message, options, next) {\n if (_environment.ENV.RAISE_ON_DEPRECATION) {\n let 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/application\n @public\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/application/deprecations\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 deprecate = function deprecate(message, test, options) {\n (0, _index.assert)(missingOptionsDeprecation, !!(options && (options.id || options.until)));\n (0, _index.assert)(missingOptionsIdDeprecation, !!options.id);\n (0, _index.assert)(missingOptionsUntilDeprecation, !!options.until);\n (0, _handlers.invoke)('deprecate', message, test, options);\n };\n }\n exports.default = deprecate;\n exports.registerHandler = registerHandler;\n exports.missingOptionsDeprecation = missingOptionsDeprecation;\n exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n exports.missingOptionsUntilDeprecation = missingOptionsUntilDeprecation;\n});","enifed(\"@ember/debug/lib/handlers\", [\"exports\"], function (exports) {\n \"use strict\";\n\n let HANDLERS = exports.HANDLERS = {};\n let registerHandler = () => {};\n let invoke = () => {};\n if (false /* DEBUG */) {\n exports.registerHandler = registerHandler = function registerHandler(type, callback) {\n let nextHandler = HANDLERS[type] || (() => {});\n HANDLERS[type] = (message, options) => {\n callback(message, options, nextHandler);\n };\n };\n exports.invoke = invoke = function invoke(type, message, test, options) {\n if (test) {\n return;\n }\n let handlerForType = HANDLERS[type];\n if (handlerForType) {\n handlerForType(message, options);\n }\n };\n }\n exports.registerHandler = registerHandler;\n exports.invoke = invoke;\n});","enifed(\"@ember/debug/lib/testing\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.isTesting = isTesting;\n exports.setTesting = setTesting;\n let testing = false;\n function isTesting() {\n return testing;\n }\n function setTesting(value) {\n testing = !!value;\n }\n});","enifed('@ember/debug/lib/warn', ['exports', '@ember/debug/index', '@ember/debug/lib/handlers'], function (exports, _index, _handlers) {\n 'use strict';\n\n exports.missingOptionsDeprecation = exports.missingOptionsIdDeprecation = exports.registerHandler = undefined;\n\n let registerHandler = () => {};\n let warn = () => {};\n let missingOptionsDeprecation;\n let missingOptionsIdDeprecation;\n /**\n @module @ember/debug\n */\n if (false /* DEBUG */) {\n /**\n Allows for runtime registration of handler functions that override the default warning behavior.\n Warnings are invoked by calls made to [@ember/debug/warn](https://emberjs.com/api/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 registerHandler(function logWarning(message) {\n /* eslint-disable no-console */\n console.warn(`WARNING: ${message}`);\n if (console.trace) {\n console.trace();\n }\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 warn = function warn(message, test, options) {\n if (arguments.length === 2 && typeof test === 'object') {\n options = test;\n test = false;\n }\n (0, _index.assert)(missingOptionsDeprecation, !!options);\n (0, _index.assert)(missingOptionsIdDeprecation, !!(options && options.id));\n (0, _handlers.invoke)('warn', message, test, options);\n };\n }\n exports.default = warn;\n exports.registerHandler = registerHandler;\n exports.missingOptionsIdDeprecation = missingOptionsIdDeprecation;\n exports.missingOptionsDeprecation = missingOptionsDeprecation;\n});","enifed('@ember/deprecated-features/index', ['exports'], function (exports) {\n 'use strict';\n\n const SEND_ACTION = exports.SEND_ACTION = !!'3.4.0';\n const EMBER_EXTEND_PROTOTYPES = exports.EMBER_EXTEND_PROTOTYPES = !!'3.2.0-beta.5';\n const RUN_SYNC = exports.RUN_SYNC = !!'3.0.0-beta.4';\n const LOGGER = exports.LOGGER = !!'3.2.0-beta.1';\n const POSITIONAL_PARAM_CONFLICT = exports.POSITIONAL_PARAM_CONFLICT = !!'3.1.0-beta.1';\n const PROPERTY_WILL_CHANGE = exports.PROPERTY_WILL_CHANGE = !!'3.1.0-beta.1';\n const PROPERTY_DID_CHANGE = exports.PROPERTY_DID_CHANGE = !!'3.1.0-beta.1';\n const ROUTER_ROUTER = exports.ROUTER_ROUTER = !!'3.2.0-beta.1';\n const ARRAY_AT_EACH = exports.ARRAY_AT_EACH = !!'3.1.0-beta.1';\n const TARGET_OBJECT = exports.TARGET_OBJECT = !!'2.18.0-beta.1';\n const MAP = exports.MAP = !!'3.3.0-beta.1';\n const ORDERED_SET = exports.ORDERED_SET = !!'3.3.0-beta.1';\n const MERGE = exports.MERGE = !!'3.6.0-beta.1';\n const HANDLER_INFOS = exports.HANDLER_INFOS = !!'3.9.0';\n const ROUTER_EVENTS = exports.ROUTER_EVENTS = !!'3.9.0';\n const TRANSITION_STATE = exports.TRANSITION_STATE = !!'3.9.0';\n});","enifed('@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 exports.setEngineParent = exports.getEngineParent = undefined;\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\n\n function props(obj) {\n let properties = [];\n\n for (let key in obj) {\n properties.push(key);\n }\n\n return properties;\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 const 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 let registry = this.__registry__ = this.constructor.buildRegistry(this);\n\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 false && !!!initializer && (0, _debug.assert)(`No application initializer named '${name}'`, !!initializer);\n\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 false && !!!initializer && (0, _debug.assert)(`No instance initializer named '${name}'`, !!initializer);\n\n initializer.initialize(instance);\n });\n },\n\n _runInitializer(bucketName, cb) {\n let initializersByName = (0, _metal.get)(this.constructor, bucketName);\n let initializers = props(initializersByName);\n let graph = new _dagMap.default();\n let initializer;\n\n for (let 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 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\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 let registry = new _container.Registry({\n resolver: resolverFor(namespace)\n });\n\n registry.set = _metal.set;\n\n registry.register('application:main', namespace, { instantiate: false });\n\n commonSetupRegistry(registry);\n (0, _glimmer.setupEngineRegistry)(registry);\n\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 /**\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 function resolverFor(namespace) {\n let ResolverClass = (0, _metal.get)(namespace, 'Resolver') || _globalsResolver.default;\n let props = { namespace };\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 let attrs = {};\n attrs[bucketName] = Object.create(this[bucketName]);\n this.reopenClass(attrs);\n }\n\n false && !!this[bucketName][initializer.name] && (0, _debug.assert)(`The ${humanName} '${initializer.name}' has already been registered`, !this[bucketName][initializer.name]);\n false && !(0, _utils.canInvoke)(initializer, 'initialize') && (0, _debug.assert)(`An ${humanName} cannot be registered without an initialize function`, (0, _utils.canInvoke)(initializer, 'initialize'));\n false && !(initializer.name !== undefined) && (0, _debug.assert)(`An ${humanName} cannot be registered without a name property`, initializer.name !== undefined);\n\n this[bucketName][initializer.name] = initializer;\n };\n }\n\n function commonSetupRegistry(registry) {\n registry.optionsForType('component', { singleton: false });\n registry.optionsForType('view', { singleton: false });\n\n registry.register('controller:basic', _controller.default, { instantiate: false });\n\n registry.injection('view', '_viewRegistry', '-view-registry:main');\n registry.injection('renderer', '_viewRegistry', '-view-registry:main');\n registry.injection('event_dispatcher:main', '_viewRegistry', '-view-registry:main');\n\n registry.injection('route', '_topLevelViewTemplate', 'template:-outlet');\n\n registry.injection('view:-outlet', 'namespace', 'application:main');\n\n registry.injection('controller', 'target', 'router:main');\n registry.injection('controller', 'namespace', 'application:main');\n\n registry.injection('router', '_bucketCache', _container.privatize`-bucket-cache:main`);\n registry.injection('route', '_bucketCache', _container.privatize`-bucket-cache:main`);\n\n registry.injection('route', '_router', 'router:main');\n\n // Register the routing service...\n registry.register('service:-routing', _routing.RoutingService);\n // Then inject the app router into it\n registry.injection('service:-routing', 'router', 'router:main');\n\n // DEBUGGING\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');\n // Custom resolver authors may want to register their own ContainerDebugAdapter with this key\n\n registry.register('container-debug-adapter:main', _extensionSupport.ContainerDebugAdapter);\n\n registry.register('component-lookup:main', _views.ComponentLookup);\n }\n\n exports.default = Engine;\n});","enifed('@ember/engine/instance', ['exports', '@ember/-internals/utils', '@ember/-internals/runtime', '@ember/debug', '@ember/error', '@ember/-internals/container', '@ember/engine/lib/engine-parent'], function (exports, _utils, _runtime, _debug, _error, _container, _engineParent) {\n 'use strict';\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\n /**\n @module @ember/engine\n */\n\n const 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);\n\n (0, _utils.guidFor)(this);\n\n let base = this.base;\n\n if (!base) {\n base = this.application;\n this.base = base;\n }\n\n // Create a per-instance registry that will use the application's registry\n // as a fallback for resolving registrations.\n let registry = this.__registry__ = new _container.Registry({\n fallback: base.__registry__\n });\n\n // Create a per-instance container from the instance's registry\n this.__container__ = registry.container({ 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\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 false && !(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\n this.cloneParentDependencies();\n\n this.setupRegistry(options);\n\n this.base.runInstanceInitializers(this);\n\n this._booted = true;\n\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 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 let 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 let engineInstance = Engine.buildInstance(options);\n\n (0, _engineParent.setEngineParent)(engineInstance, this);\n\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 let parent = (0, _engineParent.getEngineParent)(this);\n\n let registrations = ['route:basic', 'service:-routing', 'service:-glimmer-environment'];\n\n registrations.forEach(key => this.register(key, parent.resolveRegistration(key)));\n\n let env = parent.lookup('-environment:main');\n this.register('-environment:main', env, { instantiate: false });\n\n let singletons = ['router:main', _container.privatize`-bucket-cache:main`, '-view-registry:main', `renderer:-${env.isInteractive ? 'dom' : 'inert'}`, 'service:-document', _container.privatize`template-compiler:main`];\n\n if (env.isInteractive) {\n singletons.push('event_dispatcher:main');\n }\n\n singletons.forEach(key => this.register(key, parent.lookup(key), { instantiate: false }));\n\n this.inject('view', '_environment', '-environment:main');\n this.inject('route', '_environment', '-environment:main');\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 exports.default = EngineInstance;\n});","enifed('@ember/engine/lib/engine-parent', ['exports', '@ember/-internals/utils'], function (exports, _utils) {\n 'use strict';\n\n exports.getEngineParent = getEngineParent;\n exports.setEngineParent = setEngineParent;\n\n\n const ENGINE_PARENT = (0, _utils.symbol)('ENGINE_PARENT');\n\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 @module @ember/engine\n */\n function getEngineParent(engine) {\n return engine[ENGINE_PARENT];\n }\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 function setEngineParent(engine, parent) {\n engine[ENGINE_PARENT] = parent;\n }\n});","enifed(\"@ember/error/index\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default = EmberError;\n /**\n A subclass of the JavaScript Error object for use in Ember.\n \n @class Error\n @namespace Ember\n @extends Error\n @constructor\n @public\n */\n function EmberError(message) {\n if (!(this instanceof EmberError)) {\n return new EmberError(message);\n }\n\n let error = Error.call(this, message);\n\n this.stack = error.stack;\n this.description = error.description;\n this.fileName = error.fileName;\n this.lineNumber = error.lineNumber;\n this.message = error.message;\n this.name = error.name;\n this.number = error.number;\n this.code = error.code;\n }\n\n EmberError.prototype = Object.create(Error.prototype);\n EmberError.prototype.constructor = EmberError;\n});","enifed('@ember/instrumentation/index', ['exports', '@ember/-internals/environment'], function (exports, _environment) {\n 'use strict';\n\n exports.flaggedInstrument = exports.subscribers = undefined;\n exports.instrument = instrument;\n exports._instrumentStart = _instrumentStart;\n exports.subscribe = subscribe;\n exports.unsubscribe = unsubscribe;\n exports.reset = reset;\n\n\n /**\n @module @ember/instrumentation\n @private\n */\n /**\n The purpose of the Ember Instrumentation module is\n to provide efficient, general-purpose instrumentation\n for Ember.\n \n Subscribe to a listener by using `subscribe`:\n \n ```javascript\n import { subscribe } from '@ember/instrumentation';\n \n subscribe(\"render\", {\n before(name, timestamp, payload) {\n \n },\n \n after(name, timestamp, payload) {\n \n }\n });\n ```\n \n If you return a value from the `before` callback, that same\n value will be passed as a fourth parameter to the `after`\n callback.\n \n Instrument a block of code by using `instrument`:\n \n ```javascript\n import { instrument } from '@ember/instrumentation';\n \n instrument(\"render.handlebars\", payload, function() {\n // rendering logic\n }, binding);\n ```\n \n Event names passed to `instrument` are namespaced\n by periods, from more general to more specific. Subscribers\n can listen for events by whatever level of granularity they\n are interested in.\n \n In the above example, the event is `render.handlebars`,\n and the subscriber listened for all events beginning with\n `render`. It would receive callbacks for events named\n `render`, `render.handlebars`, `render.container`, or\n even `render.handlebars.layout`.\n \n @class Instrumentation\n @static\n @private\n */\n let subscribers = exports.subscribers = []; /* eslint no-console:off */\n /* global console */\n\n let cache = {};\n function populateListeners(name) {\n let listeners = [];\n let subscriber;\n for (let i = 0; i < subscribers.length; i++) {\n subscriber = subscribers[i];\n if (subscriber.regex.test(name)) {\n listeners.push(subscriber.object);\n }\n }\n cache[name] = listeners;\n return listeners;\n }\n const time = (() => {\n let perf = 'undefined' !== typeof window ? window.performance || {} : {};\n let fn = perf.now || perf.mozNow || perf.webkitNow || perf.msNow || perf.oNow;\n // fn.bind will be available in all the browsers that support the advanced window.performance... ;-)\n return fn ? fn.bind(perf) : () => {\n return +new Date();\n };\n })();\n function instrument(name, p1, p2, p3) {\n let payload;\n let callback;\n let binding;\n if (arguments.length <= 3 && typeof p1 === 'function') {\n payload = {};\n callback = p1;\n binding = p2;\n } else {\n payload = p1 || {};\n callback = p2;\n binding = p3;\n }\n if (subscribers.length === 0) {\n return callback.call(binding);\n }\n let finalizer = _instrumentStart(name, () => payload);\n if (finalizer) {\n return withFinalizer(callback, finalizer, payload, binding);\n } else {\n return callback.call(binding);\n }\n }\n let flaggedInstrument;\n if (false /* EMBER_IMPROVED_INSTRUMENTATION */) {\n exports.flaggedInstrument = flaggedInstrument = instrument;\n } else {\n exports.flaggedInstrument = flaggedInstrument = (_name, _payload, callback) => callback();\n }\n exports.flaggedInstrument = flaggedInstrument;\n\n function withFinalizer(callback, finalizer, payload, binding) {\n let result;\n try {\n result = callback.call(binding);\n } catch (e) {\n payload.exception = e;\n result = payload;\n } finally {\n finalizer();\n }\n return result;\n }\n function NOOP() {}\n function _instrumentStart(name, _payload, _payloadParam) {\n if (subscribers.length === 0) {\n return NOOP;\n }\n let listeners = cache[name];\n if (!listeners) {\n listeners = populateListeners(name);\n }\n if (listeners.length === 0) {\n return NOOP;\n }\n let payload = _payload(_payloadParam);\n let STRUCTURED_PROFILE = _environment.ENV.STRUCTURED_PROFILE;\n let timeName;\n if (STRUCTURED_PROFILE) {\n timeName = `${name}: ${payload.object}`;\n console.time(timeName);\n }\n let beforeValues = new Array(listeners.length);\n let i;\n let listener;\n let timestamp = time();\n for (i = 0; i < listeners.length; i++) {\n listener = listeners[i];\n beforeValues[i] = listener.before(name, timestamp, payload);\n }\n return function _instrumentEnd() {\n let i;\n let listener;\n let timestamp = time();\n for (i = 0; i < listeners.length; i++) {\n listener = listeners[i];\n if (typeof listener.after === 'function') {\n listener.after(name, timestamp, payload, beforeValues[i]);\n }\n }\n if (STRUCTURED_PROFILE) {\n console.timeEnd(timeName);\n }\n };\n }\n /**\n Subscribes to a particular event or instrumented block of code.\n \n @method subscribe\n @for @ember/instrumentation\n @static\n \n @param {String} [pattern] Namespaced event name.\n @param {Object} [object] Before and After hooks.\n \n @return {Subscriber}\n @private\n */\n function subscribe(pattern, object) {\n let paths = pattern.split('.');\n let path;\n let regexes = [];\n for (let i = 0; i < paths.length; i++) {\n path = paths[i];\n if (path === '*') {\n regexes.push('[^\\\\.]*');\n } else {\n regexes.push(path);\n }\n }\n let regex = regexes.join('\\\\.');\n regex = `${regex}(\\\\..*)?`;\n let subscriber = {\n pattern,\n regex: new RegExp(`^${regex}$`),\n object\n };\n subscribers.push(subscriber);\n cache = {};\n return subscriber;\n }\n /**\n Unsubscribes from a particular event or instrumented block of code.\n \n @method unsubscribe\n @for @ember/instrumentation\n @static\n \n @param {Object} [subscriber]\n @private\n */\n function unsubscribe(subscriber) {\n let index = 0;\n for (let i = 0; i < subscribers.length; i++) {\n if (subscribers[i] === subscriber) {\n index = i;\n }\n }\n subscribers.splice(index, 1);\n cache = {};\n }\n /**\n Resets `Instrumentation` by flushing list of subscribers.\n \n @method reset\n @for @ember/instrumentation\n @static\n @private\n */\n function reset() {\n subscribers.length = 0;\n cache = {};\n }\n});","enifed('@ember/map/index', ['exports', '@ember/debug', '@ember/-internals/utils', '@ember/map/lib/ordered-set', '@ember/map/lib/utils', '@ember/deprecated-features'], function (exports, _debug, _utils, _orderedSet, _utils2, _deprecatedFeatures) {\n 'use strict';\n\n /**\n @module @ember/map\n @private\n */\n\n let Map;\n\n if (_deprecatedFeatures.MAP) {\n /*\n JavaScript (before ES6) does not have a Map implementation. Objects,\n which are often used as dictionaries, may only have Strings as keys.\n Because Ember has a way to get a unique identifier for every object\n via `guidFor`, we can implement a performant Map with arbitrary\n keys. Because it is commonly used in low-level bookkeeping, Map is\n implemented as a pure JavaScript object for performance.\n This implementation follows the current iteration of the ES6 proposal for\n maps (http://wiki.ecmascript.org/doku.php?id=harmony:simple_maps_and_sets),\n with one exception: as we do not have the luxury of in-VM iteration, we implement a\n forEach method for iteration.\n Map is mocked out to look like an Ember object, so you can do\n `EmberMap.create()` for symmetry with other Ember classes.\n */\n\n /**\n A Map stores values indexed by keys. Unlike JavaScript's\n default Objects, the keys of a Map can be any JavaScript\n object.\n Internally, a Map has two data structures:\n 1. `keys`: an OrderedSet of all of the existing keys\n 2. `values`: a JavaScript Object indexed by the `guidFor(key)`\n When a key/value pair is added for the first time, we\n add the key to the `keys` OrderedSet, and create or\n replace an entry in `values`. When an entry is deleted,\n we delete its entry in `keys` and `values`.\n @class Map\n @private\n @constructor\n @deprecated use native `Map` instead.\n */\n Map = class Map {\n constructor() {\n false && !false && (0, _debug.deprecate)('Use of @ember/Map is deprecated. Please use native `Map` instead', false, {\n id: 'ember-map-deprecation',\n until: '3.5.0'\n });\n\n this._keys = new _orderedSet.default();\n this._values = Object.create(null);\n this.size = 0;\n }\n\n /**\n @method create\n @static\n @private\n */\n static create() {\n let Constructor = this;\n return new Constructor();\n }\n\n /**\n Retrieve the value associated with a given key.\n @method get\n @param {*} key\n @return {*} the value associated with the key, or `undefined`\n @private\n */\n get(key) {\n if (this.size === 0) {\n return;\n }\n\n let values = this._values;\n let guid = (0, _utils.guidFor)(key);\n\n return values[guid];\n }\n\n /**\n Adds a value to the map. If a value for the given key has already been\n provided, the new value will replace the old value.\n @method set\n @param {*} key\n @param {*} value\n @return {Map}\n @private\n */\n set(key, value) {\n let keys = this._keys;\n let values = this._values;\n let guid = (0, _utils.guidFor)(key);\n\n // ensure we don't store -0\n let k = key === -0 ? 0 : key; // eslint-disable-line no-compare-neg-zero\n\n keys.add(k, guid);\n\n values[guid] = value;\n\n this.size = keys.size;\n\n return this;\n }\n\n /**\n Removes a value from the map for an associated key.\n @since 1.8.0\n @method delete\n @param {*} key\n @return {Boolean} true if an item was removed, false otherwise\n @private\n */\n delete(key) {\n if (this.size === 0) {\n return false;\n }\n // don't use ES6 \"delete\" because it will be annoying\n // to use in browsers that are not ES6 friendly;\n let keys = this._keys;\n let values = this._values;\n let guid = (0, _utils.guidFor)(key);\n\n if (keys.delete(key, guid)) {\n delete values[guid];\n this.size = keys.size;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n Check whether a key is present.\n @method has\n @param {*} key\n @return {Boolean} true if the item was present, false otherwise\n @private\n */\n has(key) {\n return this._keys.has(key);\n }\n\n /**\n Iterate over all the keys and values. Calls the function once\n for each key, passing in value, key, and the map being iterated over,\n in that order.\n The keys are guaranteed to be iterated over in insertion order.\n @method forEach\n @param {Function} callback\n @param {*} self if passed, the `this` value inside the\n callback. By default, `this` is the map.\n @private\n */\n forEach(callback /*, ...thisArg*/) {\n false && !(typeof callback === 'function') && (0, _debug.assert)(`${Object.prototype.toString.call(callback)} is not a function`, typeof callback === 'function');\n\n if (this.size === 0) {\n return;\n }\n\n let map = this;\n let cb, thisArg;\n\n if (arguments.length === 2) {\n thisArg = arguments[1];\n cb = key => callback.call(thisArg, map.get(key), key, map);\n } else {\n cb = key => callback(map.get(key), key, map);\n }\n\n this._keys.forEach(cb);\n }\n\n /**\n @method clear\n @private\n */\n clear() {\n this._keys.clear();\n this._values = Object.create(null);\n this.size = 0;\n }\n\n /**\n @method copy\n @return {Map}\n @private\n */\n copy() {\n return (0, _utils2.copyMap)(this, new Map());\n }\n };\n }\n\n exports.default = Map;\n});","enifed('@ember/map/lib/ordered-set', ['exports', '@ember/debug', '@ember/-internals/utils', '@ember/map/lib/utils', '@ember/deprecated-features'], function (exports, _debug, _utils, _utils2, _deprecatedFeatures) {\n 'use strict';\n\n exports.__OrderedSet__ = undefined;\n\n\n /**\n This class is used internally by Ember and Ember Data.\n Please do not use it at this time. We plan to clean it up\n and add many tests soon.\n \n @class OrderedSet\n @namespace Ember\n @constructor\n @private\n @deprecated\n */\n let __OrderedSet__, OrderedSet;\n /**\n * This is exported so it can be used by the OrderedSet library.\n * This is private do not use it.\n @private\n */\n\n if (_deprecatedFeatures.ORDERED_SET) {\n exports.__OrderedSet__ = __OrderedSet__ = class __OrderedSet__ {\n constructor() {\n this.clear();\n }\n /**\n @method create\n @static\n @return {Ember.OrderedSet}\n @private\n */\n static create() {\n let Constructor = this;\n return new Constructor();\n }\n\n /**\n @method clear\n @private\n */\n clear() {\n this.presenceSet = Object.create(null);\n this.list = [];\n this.size = 0;\n }\n\n /**\n @method add\n @param obj\n @param guid (optional, and for internal use)\n @return {Ember.OrderedSet}\n @private\n */\n add(obj, _guid) {\n let guid = _guid || (0, _utils.guidFor)(obj);\n let presenceSet = this.presenceSet;\n let list = this.list;\n\n if (presenceSet[guid] !== true) {\n presenceSet[guid] = true;\n this.size = list.push(obj);\n }\n\n return this;\n }\n\n /**\n @since 1.8.0\n @method delete\n @param obj\n @param _guid (optional and for internal use only)\n @return {Boolean}\n @private\n */\n delete(obj, _guid) {\n let guid = _guid || (0, _utils.guidFor)(obj);\n let presenceSet = this.presenceSet;\n let list = this.list;\n\n if (presenceSet[guid] === true) {\n delete presenceSet[guid];\n let index = list.indexOf(obj);\n if (index > -1) {\n list.splice(index, 1);\n }\n this.size = list.length;\n return true;\n } else {\n return false;\n }\n }\n\n /**\n @method isEmpty\n @return {Boolean}\n @private\n */\n isEmpty() {\n return this.size === 0;\n }\n\n /**\n @method has\n @param obj\n @return {Boolean}\n @private\n */\n has(obj) {\n if (this.size === 0) {\n return false;\n }\n\n let guid = (0, _utils.guidFor)(obj);\n let presenceSet = this.presenceSet;\n\n return presenceSet[guid] === true;\n }\n\n /**\n @method forEach\n @param {Function} fn\n @param self\n @private\n */\n forEach(fn /*, ...thisArg*/) {\n false && !(typeof fn === 'function') && (0, _debug.assert)(`${Object.prototype.toString.call(fn)} is not a function`, typeof fn === 'function');\n\n if (this.size === 0) {\n return;\n }\n\n let list = this.list;\n\n if (arguments.length === 2) {\n for (let i = 0; i < list.length; i++) {\n fn.call(arguments[1], list[i]);\n }\n } else {\n for (let i = 0; i < list.length; i++) {\n fn(list[i]);\n }\n }\n }\n\n /**\n @method toArray\n @return {Array}\n @private\n */\n toArray() {\n return this.list.slice();\n }\n\n /**\n @method copy\n @return {Ember.OrderedSet}\n @private\n */\n copy() {\n let Constructor = this.constructor;\n let set = new Constructor();\n\n set.presenceSet = (0, _utils2.copyNull)(this.presenceSet);\n set.list = this.toArray();\n set.size = this.size;\n\n return set;\n }\n };\n\n OrderedSet = class OrderedSet extends __OrderedSet__ {\n constructor() {\n super();\n false && !false && (0, _debug.deprecate)('Use of @ember/OrderedSet is deprecated. Please use native `Map` instead', false, {\n id: 'ember-map-deprecation',\n until: '3.5.0'\n });\n }\n };\n }\n\n exports.__OrderedSet__ = __OrderedSet__;\n exports.default = OrderedSet;\n});","enifed('@ember/map/lib/utils', ['exports', '@ember/deprecated-features'], function (exports, _deprecatedFeatures) {\n 'use strict';\n\n exports.copyNull = exports.copyMap = undefined;\n\n\n let copyNull, copyMap;\n\n if (_deprecatedFeatures.MAP || _deprecatedFeatures.ORDERED_SET) {\n exports.copyNull = copyNull = function copyNull(obj) {\n let output = Object.create(null);\n\n for (let prop in obj) {\n // hasOwnPropery is not needed because obj is Object.create(null);\n output[prop] = obj[prop];\n }\n\n return output;\n };\n\n exports.copyMap = copyMap = function copyMap(original, newObject) {\n let keys = original._keys.copy();\n let values = copyNull(original._values);\n\n newObject._keys = keys;\n newObject._values = values;\n newObject.size = original.size;\n\n return newObject;\n };\n }\n\n exports.copyMap = copyMap;\n exports.copyNull = copyNull;\n});","enifed('@ember/map/with-default', ['exports', '@ember/debug', '@ember/map/index', '@ember/map/lib/utils', '@ember/deprecated-features'], function (exports, _debug, _index, _utils, _deprecatedFeatures) {\n 'use strict';\n\n let MapWithDefault;\n\n if (_deprecatedFeatures.MAP) {\n /**\n @class MapWithDefault\n @extends Map\n @private\n @constructor\n @param [options]\n @param {*} [options.defaultValue]\n */\n MapWithDefault = class MapWithDefault extends _index.default {\n constructor(options) {\n false && !false && (0, _debug.deprecate)('Use of @ember/MapWithDefault is deprecated. Please use native `Map` instead', false, {\n id: 'ember-map-deprecation',\n until: '3.5.0'\n });\n\n super();\n this.defaultValue = options.defaultValue;\n }\n\n /**\n @method create\n @static\n @param [options]\n @param {*} [options.defaultValue]\n @return {MapWithDefault|Map} If options are passed, returns\n `MapWithDefault` otherwise returns `EmberMap`\n @private\n @deprecated use native `Map` instead\n */\n static create(options) {\n if (options) {\n return new MapWithDefault(options);\n } else {\n return new _index.default();\n }\n }\n\n /**\n Retrieve the value associated with a given key.\n @method get\n @param {*} key\n @return {*} the value associated with the key, or the default value\n @private\n */\n get(key) {\n let hasValue = this.has(key);\n\n if (hasValue) {\n return super.get(key);\n } else {\n let defaultValue = this.defaultValue(key);\n this.set(key, defaultValue);\n return defaultValue;\n }\n }\n\n /**\n @method copy\n @return {MapWithDefault}\n @private\n */\n copy() {\n let Constructor = this.constructor;\n return (0, _utils.copyMap)(this, new Constructor({\n defaultValue: this.defaultValue\n }));\n }\n };\n }\n\n exports.default = MapWithDefault;\n});","enifed('@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, '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});","enifed('@ember/object/lib/computed/computed_macros', ['exports', '@ember/-internals/metal', '@ember/debug'], function (exports, _metal, _debug) {\n 'use strict';\n\n exports.or = exports.and = undefined;\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\n\n /**\n @module @ember/object\n */\n\n function expandPropertiesToArray(predicateName, properties) {\n let expandedProperties = [];\n\n function extractProperty(entry) {\n expandedProperties.push(entry);\n }\n\n for (let i = 0; i < properties.length; i++) {\n let property = properties[i];\n false && !(property.indexOf(' ') < 0) && (0, _debug.assert)(`Dependent keys passed to computed.${predicateName}() can\\'t have spaces.`, property.indexOf(' ') < 0);\n\n (0, _metal.expandProperties)(property, extractProperty);\n }\n\n return expandedProperties;\n }\n\n function generateComputedWithPredicate(name, predicate) {\n return (...properties) => {\n let dependentKeys = expandPropertiesToArray(name, properties);\n\n let computedFunc = new _metal.ComputedProperty(function () {\n let lastIdx = dependentKeys.length - 1;\n\n for (let i = 0; i < lastIdx; i++) {\n let value = (0, _metal.get)(this, dependentKeys[i]);\n if (!predicate(value)) {\n return value;\n }\n }\n\n return (0, _metal.get)(this, dependentKeys[lastIdx]);\n }, { dependentKeys });\n\n return computedFunc;\n };\n }\n\n /**\n A computed property 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 { empty } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('isDone'); // false\n todoList.get('todos').clear();\n todoList.get('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\n the value of the dependent property is null, an empty string, empty array,\n or empty function and false if the underlying value is not empty.\n \n @public\n */\n function empty(dependentKey) {\n return (0, _metal.computed)(`${dependentKey}.length`, function () {\n return (0, _metal.isEmpty)((0, _metal.get)(this, dependentKey));\n });\n }\n\n /**\n A computed property that returns true if the value of the dependent\n property is NOT null, an empty string, empty array, or empty function.\n \n Example\n \n ```javascript\n import { notEmpty } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasStuff: notEmpty('backpack')\n });\n \n let hamster = Hamster.create({ backpack: ['Food', 'Sleeping Bag', 'Tent'] });\n \n hamster.get('hasStuff'); // true\n hamster.get('backpack').clear(); // []\n hamster.get('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\n original value for property is not empty.\n @public\n */\n function notEmpty(dependentKey) {\n return (0, _metal.computed)(`${dependentKey}.length`, function () {\n return !(0, _metal.isEmpty)((0, _metal.get)(this, dependentKey));\n });\n }\n\n /**\n A computed property that returns true if the value of the dependent\n property is null or undefined. This avoids errors from JSLint complaining\n about use of ==, which can be technically confusing.\n \n Example\n \n ```javascript\n import { none } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n isHungry: none('food')\n });\n \n let hamster = Hamster.create();\n \n hamster.get('isHungry'); // true\n hamster.set('food', 'Banana');\n hamster.get('isHungry'); // false\n hamster.set('food', null);\n hamster.get('isHungry'); // true\n ```\n \n @method none\n @static\n @for @ember/object/computed\n @param {String} dependentKey\n @return {ComputedProperty} computed property which\n returns true if original value for property is null or undefined.\n @public\n */\n function none(dependentKey) {\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.isNone)((0, _metal.get)(this, dependentKey));\n });\n }\n\n /**\n A computed property that returns the inverse boolean value\n of the original value for the dependent property.\n \n Example\n \n ```javascript\n import { not } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n isAnonymous: not('loggedIn')\n });\n \n let user = User.create({loggedIn: false});\n \n user.get('isAnonymous'); // true\n user.set('loggedIn', true);\n user.get('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\n inverse of the original value for property\n @public\n */\n function not(dependentKey) {\n return (0, _metal.computed)(dependentKey, function () {\n return !(0, _metal.get)(this, dependentKey);\n });\n }\n\n /**\n A computed property that converts the provided dependent property\n into a boolean value.\n \n ```javascript\n import { bool } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasBananas: bool('numBananas')\n });\n \n let hamster = Hamster.create();\n \n hamster.get('hasBananas'); // false\n hamster.set('numBananas', 0);\n hamster.get('hasBananas'); // false\n hamster.set('numBananas', 1);\n hamster.get('hasBananas'); // true\n hamster.set('numBananas', null);\n hamster.get('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\n to boolean the original value for property\n @public\n */\n function bool(dependentKey) {\n return (0, _metal.computed)(dependentKey, function () {\n return !!(0, _metal.get)(this, dependentKey);\n });\n }\n\n /**\n A computed property which matches the original value for the\n dependent property against a given RegExp, returning `true`\n if the value matches the RegExp and `false` if it does not.\n \n Example\n \n ```javascript\n import { match } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n hasValidEmail: match('email', /^.+@.+\\..+$/)\n });\n \n let user = User.create({loggedIn: false});\n \n user.get('hasValidEmail'); // false\n user.set('email', '');\n user.get('hasValidEmail'); // false\n user.set('email', 'ember_hamster@example.com');\n user.get('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\n the original value for property against a given RegExp\n @public\n */\n function match(dependentKey, regexp) {\n return (0, _metal.computed)(dependentKey, function () {\n let value = (0, _metal.get)(this, dependentKey);\n return regexp.test(value);\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is equal to the given value.\n \n Example\n \n ```javascript\n import { equal } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n satisfied: equal('percentCarrotsEaten', 100)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('satisfied'); // false\n hamster.set('percentCarrotsEaten', 100);\n hamster.get('satisfied'); // true\n hamster.set('percentCarrotsEaten', 50);\n hamster.get('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\n the original value for property is equal to the given value.\n @public\n */\n function equal(dependentKey, value) {\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.get)(this, dependentKey) === value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is greater than the provided value.\n \n Example\n \n ```javascript\n import { gt } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasTooManyBananas: gt('numBananas', 10)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 3);\n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 11);\n hamster.get('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\n the original value for property is greater than given value.\n @public\n */\n function gt(dependentKey, value) {\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.get)(this, dependentKey) > value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is greater than or equal to the provided value.\n \n Example\n \n ```javascript\n import { gte } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n hasTooManyBananas: gte('numBananas', 10)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 3);\n hamster.get('hasTooManyBananas'); // false\n hamster.set('numBananas', 10);\n hamster.get('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\n the original value for property is greater or equal then given value.\n @public\n */\n function gte(dependentKey, value) {\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.get)(this, dependentKey) >= value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is less than the provided value.\n \n Example\n \n ```javascript\n import { lt } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n needsMoreBananas: lt('numBananas', 3)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('needsMoreBananas'); // true\n hamster.set('numBananas', 3);\n hamster.get('needsMoreBananas'); // false\n hamster.set('numBananas', 2);\n hamster.get('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\n the original value for property is less then given value.\n @public\n */\n function lt(dependentKey, value) {\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.get)(this, dependentKey) < value;\n });\n }\n\n /**\n A computed property that returns true if the provided dependent property\n is less than or equal to the provided value.\n \n Example\n \n ```javascript\n import { lte } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n needsMoreBananas: lte('numBananas', 3)\n });\n \n let hamster = Hamster.create();\n \n hamster.get('needsMoreBananas'); // true\n hamster.set('numBananas', 5);\n hamster.get('needsMoreBananas'); // false\n hamster.set('numBananas', 3);\n hamster.get('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\n the original value for property is less or equal than given value.\n @public\n */\n function lte(dependentKey, value) {\n return (0, _metal.computed)(dependentKey, function () {\n return (0, _metal.get)(this, dependentKey) <= value;\n });\n }\n\n /**\n A computed property that performs a logical `and` on the\n original values for the provided dependent properties.\n \n You may pass in more than two properties and even use\n property brace expansion. The computed property will\n return the first falsy value or last truthy value\n just like JavaScript's `&&` operator.\n \n Example\n \n ```javascript\n import { and } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('readyForCamp'); // false\n tomster.set('hasTent', true);\n tomster.get('readyForCamp'); // false\n tomster.set('hasBackpack', true);\n tomster.get('readyForCamp'); // true\n tomster.set('hasBackpack', 'Yes');\n tomster.get('readyForCamp'); // 'Yes'\n tomster.set('hasWalkingStick', null);\n tomster.get('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\n a logical `and` on the values of all the original values for properties.\n @public\n */\n const and = exports.and = generateComputedWithPredicate('and', value => value);\n\n /**\n A computed property which performs a logical `or` on the\n original values for the provided dependent properties.\n \n You may pass in more than two properties and even use\n property brace expansion. The computed property will\n return the first truthy value or last falsy value just\n like JavaScript's `||` operator.\n \n Example\n \n ```javascript\n import { or } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('readyForRain'); // undefined\n tomster.set('hasUmbrella', true);\n tomster.get('readyForRain'); // true\n tomster.set('hasJacket', 'Yes');\n tomster.get('readyForRain'); // 'Yes'\n tomster.set('hasSunscreen', 'Check');\n tomster.get('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\n a logical `or` on the values of all the original values for properties.\n @public\n */\n const or = exports.or = generateComputedWithPredicate('or', value => !value);\n\n /**\n Creates a new property that is an alias for another property\n on an object. Calls to `get` or `set` this property behave as\n though they were called on the original property.\n \n ```javascript\n import { alias } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Person = EmberObject.extend({\n name: 'Alex Matchneer',\n nomen: alias('name')\n });\n \n let alex = Person.create();\n \n alex.get('nomen'); // 'Alex Matchneer'\n alex.get('name'); // 'Alex Matchneer'\n \n alex.set('nomen', '@machty');\n alex.get('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\n alias to the 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\n become the value set. This causes the downstream property to permanently\n diverge from the upstream property.\n \n Example\n \n ```javascript\n import { oneWay } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n firstName: null,\n lastName: null,\n nickName: oneWay('firstName')\n });\n \n let teddy = User.create({\n firstName: 'Teddy',\n lastName: 'Zeenny'\n });\n \n teddy.get('nickName'); // 'Teddy'\n teddy.set('nickName', 'TeddyBear'); // 'TeddyBear'\n teddy.get('firstName'); // 'Teddy'\n ```\n \n @method oneWay\n @static\n @for @ember/object/computed\n @param {String} dependentKey\n @return {ComputedProperty} computed property which creates a\n one way computed property to the original value for property.\n @public\n */\n function oneWay(dependentKey) {\n return (0, _metal.alias)(dependentKey).oneWay();\n }\n\n /**\n This is a more semantically meaningful alias of `computed.oneWay`,\n whose name is somewhat ambiguous as to which direction the data flows.\n \n @method reads\n @static\n @for @ember/object/computed\n @param {String} dependentKey\n @return {ComputedProperty} computed property which creates a\n one way computed 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 { readOnly } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let User = EmberObject.extend({\n firstName: null,\n lastName: null,\n nickName: readOnly('firstName')\n });\n \n let teddy = User.create({\n firstName: 'Teddy',\n lastName: 'Zeenny'\n });\n \n teddy.get('nickName'); // 'Teddy'\n teddy.set('nickName', 'TeddyBear'); // throws Exception\n // throw new EmberError('Cannot Set: nickName on: <User:ember27288>' );`\n teddy.get('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\n one way computed property to the original value for property.\n @since 1.5.0\n @public\n */\n function readOnly(dependentKey) {\n return (0, _metal.alias)(dependentKey).readOnly();\n }\n\n /**\n Creates a new property that is an alias for another property\n on an object. Calls to `get` or `set` this property behave as\n though they were called on the original property, but also\n print a deprecation warning.\n \n ```javascript\n import { deprecatingAlias } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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 hamster.set('bananaCount', 5); // Prints a deprecation warning.\n hamster.get('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\n alias with a deprecation to the original value for property.\n @since 1.7.0\n @public\n */\n function deprecatingAlias(dependentKey, options) {\n return (0, _metal.computed)(dependentKey, {\n get(key) {\n false && !false && (0, _debug.deprecate)(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options);\n\n return (0, _metal.get)(this, dependentKey);\n },\n set(key, value) {\n false && !false && (0, _debug.deprecate)(`Usage of \\`${key}\\` is deprecated, use \\`${dependentKey}\\` instead.`, false, options);\n\n (0, _metal.set)(this, dependentKey, value);\n return value;\n }\n });\n }\n});","enifed('@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 exports.union = undefined;\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\n\n function reduceMacro(dependentKey, callback, initialValue, name) {\n false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)(`Dependent key passed to \\`computed.${name}\\` shouldn't contain brace expanding pattern.`, !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n let cp = new _metal.ComputedProperty(function () {\n let arr = (0, _metal.get)(this, dependentKey);\n if (arr === null || typeof arr !== 'object') {\n return initialValue;\n }\n return arr.reduce(callback, initialValue, this);\n }, { dependentKeys: [`${dependentKey}.[]`], readOnly: true });\n\n return cp;\n } /**\n @module @ember/object\n */\n\n\n function arrayMacro(dependentKey, callback) {\n // This is a bit ugly\n let propertyName;\n if (/@each/.test(dependentKey)) {\n propertyName = dependentKey.replace(/\\.@each.*$/, '');\n } else {\n propertyName = dependentKey;\n dependentKey += '.[]';\n }\n\n let cp = new _metal.ComputedProperty(function () {\n let value = (0, _metal.get)(this, propertyName);\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: true });\n\n cp.property(dependentKey); // this forces to expand properties GH #15855\n\n return cp;\n }\n\n function multiArrayMacro(_dependentKeys, callback, name) {\n false && !_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 let dependentKeys = _dependentKeys.map(key => `${key}.[]`);\n\n let cp = new _metal.ComputedProperty(function () {\n return (0, _runtime.A)(callback.call(this, _dependentKeys));\n }, { dependentKeys, readOnly: true });\n\n return cp;\n }\n\n /**\n A computed property that returns the sum of the values\n in the dependent array.\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 dependentKey's array\n @since 1.4.0\n @public\n */\n function sum(dependentKey) {\n return reduceMacro(dependentKey, (sum, item) => sum + item, 0, 'sum');\n }\n\n /**\n A computed property that calculates the maximum value in the\n dependent array. This will return `-Infinity` when the dependent\n array is empty.\n \n ```javascript\n import { mapBy, max } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('maxChildAge'); // -Infinity\n lordByron.get('children').pushObject({\n name: 'Augusta Ada Byron', age: 7\n });\n lordByron.get('maxChildAge'); // 7\n lordByron.get('children').pushObjects([{\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }]);\n lordByron.get('maxChildAge'); // 8\n ```\n \n If the types of the arguments are not numbers,\n they will be converted to numbers and the type\n of the return value will always be `Number`.\n For example, the max of a list of Date objects will be\n 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 array\n @public\n */\n function max(dependentKey) {\n return reduceMacro(dependentKey, (max, item) => Math.max(max, item), -Infinity, 'max');\n }\n\n /**\n A computed property that calculates the minimum value in the\n dependent array. This will return `Infinity` when the dependent\n array is empty.\n \n ```javascript\n import { mapBy, min } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('minChildAge'); // Infinity\n lordByron.get('children').pushObject({\n name: 'Augusta Ada Byron', age: 7\n });\n lordByron.get('minChildAge'); // 7\n lordByron.get('children').pushObjects([{\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }]);\n lordByron.get('minChildAge'); // 5\n ```\n \n If the types of the arguments are not numbers,\n they will be converted to numbers and the type\n of the return value will always be `Number`.\n For example, the min of a list of Date objects will be\n 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 function min(dependentKey) {\n return reduceMacro(dependentKey, (min, item) => Math.min(min, item), Infinity, 'min');\n }\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(item, index);\n ```\n \n Example\n \n ```javascript\n import { map } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('excitingChores'); // ['CLEAN!', 'WRITE MORE UNIT TESTS!']\n ```\n \n @method map\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {Function} callback\n @return {ComputedProperty} an array mapped via the callback\n @public\n */\n function map(dependentKey, callback) {\n return arrayMacro(dependentKey, function (value) {\n return value.map(callback, this);\n });\n }\n\n /**\n Returns an array mapped to the specified key.\n \n ```javascript\n import { mapBy } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Person = EmberObject.extend({\n childAges: mapBy('children', 'age')\n });\n \n let lordByron = Person.create({ children: [] });\n \n lordByron.get('childAges'); // []\n lordByron.get('children').pushObject({ name: 'Augusta Ada Byron', age: 7 });\n lordByron.get('childAges'); // [7]\n lordByron.get('children').pushObjects([{\n name: 'Allegra Byron',\n age: 5\n }, {\n name: 'Elizabeth Medora Leigh',\n age: 8\n }]);\n lordByron.get('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 function mapBy(dependentKey, propertyKey) {\n false && !(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 false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)(`Dependent key passed to \\`computed.mapBy\\` shouldn't contain brace expanding pattern.`, !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n return map(`${dependentKey}.@each.${propertyKey}`, item => (0, _metal.get)(item, propertyKey));\n }\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(item, index, array);\n ```\n \n ```javascript\n import { filter } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('remainingChores'); // [{name: 'write more unit tests', done: false}]\n ```\n \n You can also use `@each.property` in your dependent key, the callback will still use the underlying array:\n \n ```javascript\n import { A } from '@ember/array';\n import { filter } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n remainingChores: filter('chores.@each.done', function(chore, index, array) {\n return !chore.get('done');\n })\n });\n \n let hamster = Hamster.create({\n chores: A([\n EmberObject.create({ name: 'cook', done: true }),\n EmberObject.create({ name: 'clean', done: true }),\n EmberObject.create({ name: 'write more unit tests', done: false })\n ])\n });\n hamster.get('remainingChores'); // [{name: 'write more unit tests', done: false}]\n hamster.get('chores').objectAt(2).set('done', true);\n hamster.get('remainingChores'); // []\n ```\n \n \n @method filter\n @for @ember/object/computed\n @static\n @param {String} dependentKey\n @param {Function} callback\n @return {ComputedProperty} the filtered array\n @public\n */\n function filter(dependentKey, callback) {\n return arrayMacro(dependentKey, function (value) {\n return value.filter(callback, this);\n });\n }\n\n /**\n Filters the array by the property and value\n \n ```javascript\n import { filterBy } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('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 function filterBy(dependentKey, propertyKey, value) {\n false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)(`Dependent key passed to \\`computed.filterBy\\` shouldn't contain brace expanding pattern.`, !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n let callback;\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 /**\n A computed property which returns a new array with all the unique\n elements from one or more dependent arrays.\n \n Example\n \n ```javascript\n import { uniq } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('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 function uniq(...args) {\n return multiArrayMacro(args, function (dependentKeys) {\n let uniq = (0, _runtime.A)();\n let seen = new Set();\n\n dependentKeys.forEach(dependentKey => {\n let value = (0, _metal.get)(this, dependentKey);\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\n return uniq;\n }, 'uniq');\n }\n\n /**\n A computed property which returns a new array with all the unique\n elements from an array, with uniqueness determined by specific key.\n \n Example\n \n ```javascript\n import { uniqBy } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n uniqueFruits: uniqBy('fruits', 'id')\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 hamster.get('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 function uniqBy(dependentKey, propertyKey) {\n false && !!/[\\[\\]\\{\\}]/g.test(dependentKey) && (0, _debug.assert)(`Dependent key passed to \\`computed.uniqBy\\` shouldn't contain brace expanding pattern.`, !/[\\[\\]\\{\\}]/g.test(dependentKey));\n\n let cp = new _metal.ComputedProperty(function () {\n let list = (0, _metal.get)(this, dependentKey);\n return (0, _runtime.isArray)(list) ? (0, _runtime.uniqBy)(list, propertyKey) : (0, _runtime.A)();\n }, { dependentKeys: [`${dependentKey}.[]`], readOnly: true });\n\n return cp;\n }\n\n /**\n A computed property which returns a new array with all the unique\n elements from one or more dependent arrays.\n \n Example\n \n ```javascript\n import { union } from '@ember/object/computed';\n import EmberObject from '@ember/object';\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.get('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\n unique elements from the dependent array\n @public\n */\n let union = exports.union = uniq;\n\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 { intersect } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let obj = EmberObject.extend({\n friendsInCommon: intersect('adaFriends', 'charlesFriends')\n }).create({\n adaFriends: ['Charles Babbage', 'John Hobhouse', 'William King', 'Mary Somerville'],\n charlesFriends: ['William King', 'Mary Somerville', 'Ada Lovelace', 'George Peacock']\n });\n \n obj.get('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\n duplicated elements from the dependent arrays\n @public\n */\n function intersect(...args) {\n return multiArrayMacro(args, function (dependentKeys) {\n let arrays = dependentKeys.map(dependentKey => {\n let array = (0, _metal.get)(this, dependentKey);\n return (0, _runtime.isArray)(array) ? array : [];\n });\n\n let results = arrays.pop().filter(candidate => {\n for (let i = 0; i < arrays.length; i++) {\n let found = false;\n let array = arrays[i];\n for (let 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 }, 'intersect');\n\n return (0, _runtime.A)(results);\n });\n }\n\n /**\n A computed property which returns a new array with all the\n properties from the first dependent array that are not in the second\n dependent array.\n \n Example\n \n ```javascript\n import { setDiff } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n likes: ['banana', 'grape', 'kale'],\n wants: setDiff('likes', 'fruits')\n });\n \n let hamster = Hamster.create({\n fruits: [\n 'grape',\n 'kale',\n ]\n });\n \n hamster.get('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\n items from the first dependent array that are not in the second\n dependent array\n @public\n */\n function setDiff(setAProperty, setBProperty) {\n false && !(arguments.length === 2) && (0, _debug.assert)('`computed.setDiff` requires exactly two dependent arrays.', arguments.length === 2);\n false && !(!/[\\[\\]\\{\\}]/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\n let cp = new _metal.ComputedProperty(function () {\n let setA = this.get(setAProperty);\n let setB = this.get(setBProperty);\n\n if (!(0, _runtime.isArray)(setA)) {\n return (0, _runtime.A)();\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 }, {\n dependentKeys: [`${setAProperty}.[]`, `${setBProperty}.[]`],\n readOnly: true\n });\n\n return cp;\n }\n\n /**\n A computed property that returns the array of values\n for the provided dependent properties.\n \n Example\n \n ```javascript\n import { collect } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let Hamster = EmberObject.extend({\n clothes: collect('hat', 'shirt')\n });\n \n let hamster = Hamster.create();\n \n hamster.get('clothes'); // [null, null]\n hamster.set('hat', 'Camp Hat');\n hamster.set('shirt', 'Camp Shirt');\n hamster.get('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\n values of all passed in properties to an array.\n @public\n */\n function collect(...dependentKeys) {\n return multiArrayMacro(dependentKeys, function () {\n let properties = (0, _metal.getProperties)(this, dependentKeys);\n let res = (0, _runtime.A)();\n for (let key in properties) {\n if (properties.hasOwnProperty(key)) {\n if (properties[key] === undefined) {\n res.push(null);\n } else {\n res.push(properties[key]);\n }\n }\n }\n return res;\n }, 'collect');\n }\n\n /**\n A computed property which returns a new array with all the\n properties from the first dependent array sorted based on a property\n or sort function.\n \n The callback method you provide should have the following signature:\n \n ```javascript\n function(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 come before\n `itemB`. It should return positive number (e.g. `1`) when `itemA` should come after\n `itemB`. If the `itemA` and `itemB` are equal this function should return `0`.\n \n Therefore, if this function is comparing some numeric values, simple `itemA - itemB` or\n `itemA.get( 'foo' ) - itemB.get( 'foo' )` can be used instead of series of `if`.\n \n Example\n \n ```javascript\n import { sort } from '@ember/object/computed';\n import EmberObject from '@ember/object';\n \n let ToDoList = EmberObject.extend({\n // using standard ascending sort\n todosSorting: Object.freeze(['name']),\n sortedTodos: sort('todos', 'todosSorting'),\n \n // using descending sort\n todosSortingDesc: Object.freeze(['name:desc']),\n sortedTodosDesc: sort('todos', 'todosSortingDesc'),\n \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({todos: [\n { name: 'Unit Test', priority: 2 },\n { name: 'Documentation', priority: 3 },\n { name: 'Release', priority: 1 }\n ]});\n \n todoList.get('sortedTodos'); // [{ name:'Documentation', priority:3 }, { name:'Release', priority:1 }, { name:'Unit Test', priority:2 }]\n todoList.get('sortedTodosDesc'); // [{ name:'Unit Test', priority:2 }, { name:'Release', priority:1 }, { name:'Documentation', priority:3 }]\n todoList.get('priorityTodos'); // [{ name:'Release', priority:1 }, { name:'Unit Test', priority:2 }, { name:'Documentation', priority:3 }]\n ```\n \n @method sort\n @for @ember/object/computed\n @static\n @param {String} itemsKey\n @param {String or Function} sortDefinition a dependent key to an\n array of sort properties (add `:desc` to the arrays sort properties to sort descending) or a function to use when sorting\n @return {ComputedProperty} computes a new sorted array based\n on the sort property array or callback function\n @public\n */\n function sort(itemsKey, sortDefinition) {\n false && !(arguments.length === 2) && (0, _debug.assert)('`computed.sort` requires two arguments: an array key to sort and ' + 'either a sort properties key or sort function', arguments.length === 2);\n\n if (typeof sortDefinition === 'function') {\n return customSort(itemsKey, sortDefinition);\n } else {\n return propertySort(itemsKey, sortDefinition);\n }\n }\n\n function customSort(itemsKey, comparator) {\n return arrayMacro(itemsKey, function (value) {\n return value.slice().sort((x, y) => comparator.call(this, x, y));\n });\n }\n\n // This one needs to dynamically set up and tear down observers on the itemsKey\n // depending on the sortProperties\n function propertySort(itemsKey, sortPropertiesKey) {\n let cp = new _metal.ComputedProperty(function (key) {\n let sortProperties = (0, _metal.get)(this, sortPropertiesKey);\n\n false && !((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\n // Add/remove property observers as required.\n\n let activeObserversMap = cp._activeObserverMap || (cp._activeObserverMap = new WeakMap());\n let activeObservers = activeObserversMap.get(this);\n\n let sortPropertyDidChangeMap = cp._sortPropertyDidChangeMap || (cp._sortPropertyDidChangeMap = new WeakMap());\n\n if (!sortPropertyDidChangeMap.has(this)) {\n sortPropertyDidChangeMap.set(this, function () {\n this.notifyPropertyChange(key);\n });\n }\n\n let sortPropertyDidChange = sortPropertyDidChangeMap.get(this);\n\n if (activeObservers !== undefined) {\n activeObservers.forEach(path => (0, _metal.removeObserver)(this, path, sortPropertyDidChange));\n }\n\n let itemsKeyIsAtThis = itemsKey === '@this';\n let normalizedSortProperties = normalizeSortProperties(sortProperties);\n if (normalizedSortProperties.length === 0) {\n let path = itemsKeyIsAtThis ? `[]` : `${itemsKey}.[]`;\n (0, _metal.addObserver)(this, path, sortPropertyDidChange);\n activeObservers = [path];\n } else {\n activeObservers = normalizedSortProperties.map(([prop]) => {\n let path = itemsKeyIsAtThis ? `@each.${prop}` : `${itemsKey}.@each.${prop}`;\n (0, _metal.addObserver)(this, path, sortPropertyDidChange);\n return path;\n });\n }\n\n activeObserversMap.set(this, activeObservers);\n\n let items = itemsKeyIsAtThis ? this : (0, _metal.get)(this, itemsKey);\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 }, { dependentKeys: [`${sortPropertiesKey}.[]`], readOnly: true });\n\n cp._activeObserverMap = undefined;\n cp._sortPropertyDidChangeMap = undefined;\n\n return cp;\n }\n\n function normalizeSortProperties(sortProperties) {\n return sortProperties.map(p => {\n let [prop, direction] = p.split(':');\n direction = direction || 'asc';\n\n return [prop, direction];\n });\n }\n\n function sortByNormalizedSortProperties(items, normalizedSortProperties) {\n return (0, _runtime.A)(items.slice().sort((itemA, itemB) => {\n for (let i = 0; i < normalizedSortProperties.length; i++) {\n let [prop, direction] = normalizedSortProperties[i];\n let result = (0, _runtime.compare)((0, _metal.get)(itemA, prop), (0, _metal.get)(itemB, prop));\n if (result !== 0) {\n return direction === 'desc' ? -1 * result : result;\n }\n }\n return 0;\n }));\n }\n});","enifed('@ember/polyfills/index', ['exports', '@ember/polyfills/lib/assign', '@ember/polyfills/lib/weak_set', '@ember/deprecated-features', '@ember/polyfills/lib/merge'], function (exports, _assign, _weak_set, _deprecatedFeatures, _merge) {\n 'use strict';\n\n exports.merge = exports._WeakSet = exports.assignPolyfill = exports.assign = undefined;\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\n let merge = _deprecatedFeatures.MERGE ? _merge.default : undefined;\n // Export `assignPolyfill` for testing\n exports.merge = merge;\n});","enifed(\"@ember/polyfills/lib/assign\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.assign = assign;\n /**\n @module @ember/polyfills\n */\n /**\n Copy properties from a source object to a target object.\n \n ```javascript\n import { assign } from '@ember/polyfills';\n \n var a = { first: 'Yehuda' };\n var b = { last: 'Katz' };\n var c = { company: 'Tilde Inc.' };\n assign(a, b, c); // a === { first: 'Yehuda', last: 'Katz', company: 'Tilde Inc.' }, b === { last: 'Katz' }, c === { 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 (let i = 1; i < arguments.length; i++) {\n let arg = arguments[i];\n if (!arg) {\n continue;\n }\n let updates = Object.keys(arg);\n for (let i = 0; i < updates.length; i++) {\n let prop = updates[i];\n target[prop] = arg[prop];\n }\n }\n return target;\n }\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 const { assign: _assign } = Object;\n exports.default = _assign || assign;\n});","enifed('@ember/polyfills/lib/merge', ['exports', '@ember/debug'], function (exports, _debug) {\n 'use strict';\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 @public\n */\n function merge(original, updates) {\n false && !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 let props = Object.keys(updates);\n let prop;\n for (let i = 0; i < props.length; i++) {\n prop = props[i];\n original[prop] = updates[prop];\n }\n return original;\n }\n});","enifed('@ember/polyfills/lib/weak_set', ['exports'], function (exports) {\n 'use strict';\n\n exports.default = typeof WeakSet === 'function' ? WeakSet : class WeakSetPolyFill {\n constructor() {\n this._map = new WeakMap();\n }\n add(val) {\n this._map.set(val, true);\n return this;\n }\n delete(val) {\n return this._map.delete(val);\n }\n has(val) {\n return this._map.has(val);\n }\n };\n});","enifed('@ember/runloop/index', ['exports', '@ember/debug', '@ember/-internals/error-handling', '@ember/-internals/metal', 'backburner', '@ember/deprecated-features'], function (exports, _debug, _errorHandling, _metal, _backburner, _deprecatedFeatures) {\n 'use strict';\n\n exports.bind = exports._globalsRun = exports.backburner = exports.queues = exports._rsvpErrorQueue = undefined;\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\n\n let currentRunLoop = null;\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 }\n\n const _rsvpErrorQueue = exports._rsvpErrorQueue = `${Math.random()}${Date.now()}`.replace('.', '');\n\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 const queues = exports.queues = ['actions',\n\n // used in router transitions to prevent unnecessary loading state entry\n // if all context promises resolve on the 'actions' queue first\n 'routerTransitions', 'render', 'afterRender', 'destroy',\n\n // used to re-throw unhandled RSVP rejection errors specifically in this\n // position to avoid breaking anything rendered in the other sections\n _rsvpErrorQueue];\n\n let backburnerOptions = {\n defaultQueue: 'actions',\n onBegin,\n onEnd,\n onErrorTarget: _errorHandling.onErrorTarget,\n onErrorMethod: 'onerror'\n };\n\n if (_deprecatedFeatures.RUN_SYNC) {\n queues.unshift('sync');\n\n backburnerOptions.sync = {\n before: _metal.beginPropertyChanges,\n after: _metal.endPropertyChanges\n };\n }\n\n const backburner = exports.backburner = new _backburner.default(queues, backburnerOptions);\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 function run() {\n return backburner.run(...arguments);\n }\n\n // used for the Ember.run global only\n const _globalsRun = exports._globalsRun = run.bind(null);\n\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 function join() {\n return backburner.join(...arguments);\n }\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 const bind = exports.bind = (...curried) => {\n false && !function (methodOrTarget, methodOrArg) {\n // Applies the same logic as backburner parseArgs for detecting if a method\n // is actually being passed.\n let length = arguments.length;\n\n if (length === 0) {\n return false;\n } else if (length === 1) {\n return typeof methodOrTarget === 'function';\n } else {\n let 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 let length = arguments.length;if (length === 0) {\n return false;\n } else if (length === 1) {\n return typeof methodOrTarget === 'function';\n } else {\n let type = typeof methodOrArg;return type === 'function' || methodOrTarget !== null && type === 'string' && methodOrArg in methodOrTarget || typeof methodOrTarget === 'function';\n }\n }(...curried));\n\n return (...args) => join(...curried.concat(args));\n };\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 function begin() {\n backburner.begin();\n }\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 function end() {\n backburner.end();\n }\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('actions', this, function() {\n // this will be executed in the 'actions' queue, after bindings have synced.\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 sync queue\n // scheduled on actions 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 function schedule(queue /*, target, method */) {\n false && !(queue !== 'sync') && (0, _debug.deprecate)(`Scheduling into the '${queue}' run loop queue is deprecated.`, queue !== 'sync', {\n id: 'ember-metal.run.sync',\n until: '3.5.0'\n });\n\n return backburner.schedule(...arguments);\n }\n\n // Used by global test teardown\n function hasScheduledTimers() {\n return backburner.hasTimers();\n }\n\n // Used by global test teardown\n function cancelTimers() {\n backburner.cancelTimers();\n }\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 function later() /*target, method*/{\n return backburner.later(...arguments);\n }\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 function once(...args) {\n args.unshift('actions');\n return backburner.scheduleOnce(...args);\n }\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 function scheduleOnce(queue /*, target, method*/) {\n false && !(queue !== 'sync') && (0, _debug.deprecate)(`Scheduling into the '${queue}' run loop queue is deprecated.`, queue !== 'sync', {\n id: 'ember-metal.run.sync',\n until: '3.5.0'\n });\n\n return backburner.scheduleOnce(...arguments);\n }\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 function next(...args) {\n args.push(1);\n return backburner.later(...args);\n }\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 function cancel(timer) {\n return backburner.cancel(timer);\n }\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 function debounce() {\n return backburner.debounce(...arguments);\n }\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 function throttle() {\n return backburner.throttle(...arguments);\n }\n});","enifed('@ember/service/index', ['exports', '@ember/-internals/runtime', '@ember/-internals/metal'], function (exports, _runtime, _metal) {\n 'use strict';\n\n exports.inject = inject;\n\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\n are 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 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\n accessible 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 {Ember.InjectedProperty} injection descriptor instance\n @public\n */\n function inject(name, options) {\n return new _metal.InjectedProperty('service', name, options);\n }\n\n /**\n @class Service\n @extends EmberObject\n @since 1.10.0\n @public\n */\n const Service = _runtime.Object.extend();\n\n Service.reopenClass({\n isServiceFactory: true\n });\n\n exports.default = Service;\n});","enifed('@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 exports._setStrings = exports._getStrings = undefined;\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 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\n const STRING_DASHERIZE_REGEXP = /[ _]/g;\n const STRING_DASHERIZE_CACHE = new _utils.Cache(1000, key => decamelize(key).replace(STRING_DASHERIZE_REGEXP, '-'));\n const STRING_CAMELIZE_REGEXP_1 = /(\\-|\\_|\\.|\\s)+(.)?/g;\n const STRING_CAMELIZE_REGEXP_2 = /(^|\\/)([A-Z])/g;\n const CAMELIZE_CACHE = new _utils.Cache(1000, key => key.replace(STRING_CAMELIZE_REGEXP_1, (_match, _separator, chr) => chr ? chr.toUpperCase() : '').replace(STRING_CAMELIZE_REGEXP_2, (match /*, separator, chr */) => match.toLowerCase()));\n const STRING_CLASSIFY_REGEXP_1 = /^(\\-|_)+(.)?/;\n const STRING_CLASSIFY_REGEXP_2 = /(.)(\\-|\\_|\\.|\\s)+(.)?/g;\n const STRING_CLASSIFY_REGEXP_3 = /(^|\\/|\\.)([a-z])/g;\n const CLASSIFY_CACHE = new _utils.Cache(1000, str => {\n let replace1 = (_match, _separator, chr) => chr ? `_${chr.toUpperCase()}` : '';\n let replace2 = (_match, initialChar, _separator, chr) => initialChar + (chr ? chr.toUpperCase() : '');\n let parts = str.split('/');\n for (let i = 0; i < parts.length; i++) {\n parts[i] = parts[i].replace(STRING_CLASSIFY_REGEXP_1, replace1).replace(STRING_CLASSIFY_REGEXP_2, replace2);\n }\n return parts.join('/').replace(STRING_CLASSIFY_REGEXP_3, (match /*, separator, chr */) => match.toUpperCase());\n });\n const STRING_UNDERSCORE_REGEXP_1 = /([a-z\\d])([A-Z]+)/g;\n const STRING_UNDERSCORE_REGEXP_2 = /\\-|\\s+/g;\n const UNDERSCORE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_UNDERSCORE_REGEXP_1, '$1_$2').replace(STRING_UNDERSCORE_REGEXP_2, '_').toLowerCase());\n const STRING_CAPITALIZE_REGEXP = /(^|\\/)([a-z\\u00C0-\\u024F])/g;\n const CAPITALIZE_CACHE = new _utils.Cache(1000, str => str.replace(STRING_CAPITALIZE_REGEXP, (match /*, separator, chr */) => match.toUpperCase()));\n const STRING_DECAMELIZE_REGEXP = /([a-z\\d])([A-Z])/g;\n const 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 function _fmt(str, formats) {\n // first, replace any ORDERED replacements.\n let idx = 0; // the current index for non-numerical replacements\n return str.replace(/%@([0-9]+)?/g, (_s, argIndex) => {\n let i = argIndex ? parseInt(argIndex, 10) - 1 : idx++;\n let r = i < formats.length ? formats[i] : undefined;\n return typeof r === 'string' ? r : r === null ? '(null)' : r === undefined ? '' : '' + 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 function loc(str, formats) {\n if (!Array.isArray(formats) || arguments.length > 2) {\n formats = Array.prototype.slice.call(arguments, 1);\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 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 'innerHTML'.decamelize(); // 'inner_html'\n 'action_name'.decamelize(); // 'action_name'\n 'css-class-name'.decamelize(); // 'css-class-name'\n 'my favorite items'.decamelize(); // '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 function decamelize(str) {\n return DECAMELIZE_CACHE.get(str);\n }\n /**\n Replaces underscores, spaces, or camelCase with dashes.\n \n ```javascript\n 'innerHTML'.dasherize(); // 'inner-html'\n 'action_name'.dasherize(); // 'action-name'\n 'css-class-name'.dasherize(); // 'css-class-name'\n 'my favorite items'.dasherize(); // 'my-favorite-items'\n 'privateDocs/ownerInvoice'.dasherize(); // '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 function dasherize(str) {\n return STRING_DASHERIZE_CACHE.get(str);\n }\n /**\n Returns the lowerCamelCase form of a string.\n \n ```javascript\n 'innerHTML'.camelize(); // 'innerHTML'\n 'action_name'.camelize(); // 'actionName'\n 'css-class-name'.camelize(); // 'cssClassName'\n 'my favorite items'.camelize(); // 'myFavoriteItems'\n 'My Favorite Items'.camelize(); // 'myFavoriteItems'\n 'private-docs/owner-invoice'.camelize(); // '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 function camelize(str) {\n return CAMELIZE_CACHE.get(str);\n }\n /**\n Returns the UpperCamelCase form of a string.\n \n ```javascript\n 'innerHTML'.classify(); // 'InnerHTML'\n 'action_name'.classify(); // 'ActionName'\n 'css-class-name'.classify(); // 'CssClassName'\n 'my favorite items'.classify(); // 'MyFavoriteItems'\n 'private-docs/owner-invoice'.classify(); // '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 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 'innerHTML'.underscore(); // 'inner_html'\n 'action_name'.underscore(); // 'action_name'\n 'css-class-name'.underscore(); // 'css_class_name'\n 'my favorite items'.underscore(); // 'my_favorite_items'\n 'privateDocs/ownerInvoice'.underscore(); // '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 function underscore(str) {\n return UNDERSCORE_CACHE.get(str);\n }\n /**\n Returns the Capitalized form of a string\n \n ```javascript\n 'innerHTML'.capitalize() // 'InnerHTML'\n 'action_name'.capitalize() // 'Action_name'\n 'css-class-name'.capitalize() // 'Css-class-name'\n 'my favorite items'.capitalize() // 'My favorite items'\n 'privateDocs/ownerInvoice'.capitalize(); // '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 function capitalize(str) {\n return CAPITALIZE_CACHE.get(str);\n }\n if (_environment.ENV.EXTEND_PROTOTYPES.String) {\n Object.defineProperties(String.prototype, {\n /**\n See [String.w](/api/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 value: function () {\n return w(this);\n }\n },\n /**\n See [String.loc](/api/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 value: function (...args) {\n return loc(this, args);\n }\n },\n /**\n See [String.camelize](/api/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 value: function () {\n return camelize(this);\n }\n },\n /**\n See [String.decamelize](/api/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 value: function () {\n return decamelize(this);\n }\n },\n /**\n See [String.dasherize](/api/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 value: function () {\n return dasherize(this);\n }\n },\n /**\n See [String.underscore](/api/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 value: function () {\n return underscore(this);\n }\n },\n /**\n See [String.classify](/api/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 value: function () {\n return classify(this);\n }\n },\n /**\n See [String.capitalize](/api/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 value: function () {\n return capitalize(this);\n }\n }\n });\n }\n});","enifed(\"@ember/string/lib/string_registry\", [\"exports\"], function (exports) {\n \"use strict\";\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 let STRINGS = {};\n function setStrings(strings) {\n STRINGS = strings;\n }\n function getStrings() {\n return STRINGS;\n }\n function getString(name) {\n return STRINGS[name];\n }\n});","enifed('@glimmer/encoder', ['exports'], function (exports) {\n 'use strict';\n\n class InstructionEncoder {\n constructor(buffer) {\n this.buffer = buffer;\n this.typePos = 0;\n this.size = 0;\n }\n encode(type, machine) {\n if (type > 255 /* TYPE_SIZE */) {\n throw new Error(`Opcode type over 8-bits. Got ${type}.`);\n }\n this.buffer.push(type | machine | arguments.length - 2 << 8 /* ARG_SHIFT */);\n this.typePos = this.buffer.length - 1;\n for (let i = 2; i < arguments.length; i++) {\n let op = arguments[i];\n if (typeof op === 'number' && op > 65535 /* MAX_SIZE */) {\n throw new Error(`Operand over 16-bits. Got ${op}.`);\n }\n this.buffer.push(op);\n }\n this.size = this.buffer.length;\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 patchWith(position, target, operand) {\n if (this.buffer[position + 1] === -1) {\n this.buffer[position + 1] = target;\n this.buffer[position + 2] = operand;\n } else {\n throw new Error('Trying to patch operand in populated slot instead of a reserved slot.');\n }\n }\n }\n\n exports.InstructionEncoder = InstructionEncoder;\n});","enifed('@glimmer/low-level', ['exports'], function (exports) {\n 'use strict';\n\n class Storage {\n constructor() {\n this.array = [];\n this.next = 0;\n }\n add(element) {\n let { next: slot, array } = this;\n if (slot === array.length) {\n this.next++;\n } else {\n let prev = array[slot];\n this.next = prev;\n }\n this.array[slot] = element;\n return slot;\n }\n deref(pointer) {\n return this.array[pointer];\n }\n drop(pointer) {\n this.array[pointer] = this.next;\n this.next = pointer;\n }\n }\n\n class Stack {\n constructor(vec = []) {\n this.vec = vec;\n }\n clone() {\n return new Stack(this.vec.slice());\n }\n sliceFrom(start) {\n return new Stack(this.vec.slice(start));\n }\n slice(start, end) {\n return new Stack(this.vec.slice(start, end));\n }\n copy(from, to) {\n this.vec[to] = this.vec[from];\n }\n // TODO: how to model u64 argument?\n writeRaw(pos, value) {\n // TODO: Grow?\n this.vec[pos] = value;\n }\n writeSmi(pos, value) {\n this.vec[pos] = encodeSmi(value);\n }\n // TODO: partially decoded enum?\n getRaw(pos) {\n return this.vec[pos];\n }\n getSmi(pos) {\n return decodeSmi(this.vec[pos]);\n }\n reset() {\n this.vec.length = 0;\n }\n len() {\n return this.vec.length;\n }\n }\n function decodeSmi(smi) {\n switch (smi & 0b111) {\n case 0 /* NUMBER */:\n return smi >> 3;\n case 4 /* NEGATIVE */:\n return -(smi >> 3);\n default:\n throw new Error('unreachable');\n }\n }\n function encodeSmi(primitive) {\n if (primitive < 0) {\n return Math.abs(primitive) << 3 | 4 /* NEGATIVE */;\n } else {\n return primitive << 3 | 0 /* NUMBER */;\n }\n }\n\n exports.Storage = Storage;\n exports.Stack = Stack;\n});","enifed('@glimmer/node', ['exports', '@glimmer/runtime'], function (exports, _runtime) {\n 'use strict';\n\n exports.serializeBuilder = exports.NodeDOMTreeConstruction = undefined;\n\n\n class NodeDOMTreeConstruction extends _runtime.DOMTreeConstruction {\n constructor(doc) {\n super(doc);\n }\n // override to prevent usage of `this.document` until after the constructor\n setupUselessElement() {}\n insertHTMLBefore(parent, reference, html) {\n let prev = reference ? reference.previousSibling : parent.lastChild;\n let raw = this.document.createRawHTMLSection(html);\n parent.insertBefore(raw, reference);\n let first = prev ? prev.nextSibling : parent.firstChild;\n let last = reference ? reference.previousSibling : parent.lastChild;\n return new _runtime.ConcreteBounds(parent, first, last);\n }\n // override to avoid SVG detection/work when in node (this is not needed in SSR)\n createElement(tag) {\n return this.document.createElement(tag);\n }\n // override to avoid namespace shenanigans when in node (this is not needed in SSR)\n setAttribute(element, name, value) {\n element.setAttribute(name, value);\n }\n }\n\n const TEXT_NODE = 3;\n function currentNode(cursor) {\n let { element, nextSibling } = cursor;\n if (nextSibling === null) {\n return element.lastChild;\n } else {\n return nextSibling.previousSibling;\n }\n }\n class SerializeBuilder extends _runtime.NewElementBuilder {\n constructor() {\n super(...arguments);\n this.serializeBlockDepth = 0;\n }\n __openBlock() {\n let depth = this.serializeBlockDepth++;\n this.__appendComment(`%+b:${depth}%`);\n super.__openBlock();\n }\n __closeBlock() {\n super.__closeBlock();\n this.__appendComment(`%-b:${--this.serializeBlockDepth}%`);\n }\n __appendHTML(html) {\n // Do we need to run the html tokenizer here?\n let first = this.__appendComment('%glmr%');\n if (this.element.tagName === 'TABLE') {\n let openIndex = html.indexOf('<');\n if (openIndex > -1) {\n let tr = html.slice(openIndex + 1, openIndex + 3);\n if (tr === 'tr') {\n html = `<tbody>${html}</tbody>`;\n }\n }\n }\n if (html === '') {\n this.__appendComment('% %');\n } else {\n super.__appendHTML(html);\n }\n let last = this.__appendComment('%glmr%');\n return new _runtime.ConcreteBounds(this.element, first, last);\n }\n __appendText(string) {\n let current = currentNode(this);\n if (string === '') {\n return this.__appendComment('% %');\n } else if (current && current.nodeType === TEXT_NODE) {\n this.__appendComment('%|%');\n }\n return super.__appendText(string);\n }\n closeElement() {\n if (this.element['needsExtraClose'] === true) {\n this.element['needsExtraClose'] = false;\n super.closeElement();\n }\n super.closeElement();\n }\n openElement(tag) {\n if (tag === 'tr') {\n if (this.element.tagName !== 'TBODY') {\n this.openElement('tbody');\n // 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 this.constructing['needsExtraClose'] = true;\n this.flushElement();\n }\n }\n return super.openElement(tag);\n }\n pushRemoteElement(element, cursorId, nextSibling = null) {\n let { dom } = this;\n let script = dom.createElement('script');\n script.setAttribute('glmr', cursorId);\n dom.insertBefore(element, script, nextSibling);\n super.pushRemoteElement(element, cursorId, nextSibling);\n }\n }\n function serializeBuilder(env, cursor) {\n return SerializeBuilder.forInitialRender(env, cursor);\n }\n\n exports.NodeDOMTreeConstruction = NodeDOMTreeConstruction;\n exports.serializeBuilder = serializeBuilder;\n});","enifed('@glimmer/opcode-compiler', ['exports', '@glimmer/util', '@glimmer/vm', '@glimmer/wire-format', '@glimmer/encoder', '@glimmer/program'], function (exports, _util, _vm, _wireFormat, _encoder, _program) {\n 'use strict';\n\n exports.PLACEHOLDER_HANDLE = exports.WrappedBuilder = exports.logOpcode = exports.debugSlice = exports.debug = exports.templateFactory = exports.PartialDefinition = exports.StdOpcodeBuilder = exports.OpcodeBuilder = exports.EagerOpcodeBuilder = exports.LazyOpcodeBuilder = exports.CompilableProgram = exports.CompilableBlock = exports.debugCompiler = exports.AbstractCompiler = exports.compile = exports.LazyCompiler = exports.Macros = exports.ATTRS_BLOCK = undefined;\n\n\n const PLACEHOLDER_HANDLE = -1;\n\n var Ops$1;\n (function (Ops$$1) {\n Ops$$1[Ops$$1[\"OpenComponentElement\"] = 0] = \"OpenComponentElement\";\n Ops$$1[Ops$$1[\"DidCreateElement\"] = 1] = \"DidCreateElement\";\n Ops$$1[Ops$$1[\"SetComponentAttrs\"] = 2] = \"SetComponentAttrs\";\n Ops$$1[Ops$$1[\"DidRenderLayout\"] = 3] = \"DidRenderLayout\";\n Ops$$1[Ops$$1[\"Debugger\"] = 4] = \"Debugger\";\n })(Ops$1 || (Ops$1 = {}));\n\n var Ops$2 = _wireFormat.Ops;\n const ATTRS_BLOCK = '&attrs';\n class Compilers {\n constructor(offset = 0) {\n this.offset = offset;\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n add(name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n }\n compile(sexp, builder) {\n let name = sexp[this.offset];\n let index = this.names[name];\n let func = this.funcs[index];\n\n func(sexp, builder);\n }\n }\n let _statementCompiler;\n function statementCompiler() {\n if (_statementCompiler) {\n return _statementCompiler;\n }\n const STATEMENTS = _statementCompiler = new Compilers();\n STATEMENTS.add(Ops$2.Text, (sexp, builder) => {\n builder.text(sexp[1]);\n });\n STATEMENTS.add(Ops$2.Comment, (sexp, builder) => {\n builder.comment(sexp[1]);\n });\n STATEMENTS.add(Ops$2.CloseElement, (_sexp, builder) => {\n builder.closeElement();\n });\n STATEMENTS.add(Ops$2.FlushElement, (_sexp, builder) => {\n builder.flushElement();\n });\n STATEMENTS.add(Ops$2.Modifier, (sexp, builder) => {\n let { referrer } = builder;\n let [, name, params, hash] = sexp;\n let handle = builder.compiler.resolveModifier(name, referrer);\n if (handle !== null) {\n builder.modifier(handle, params, hash);\n } else {\n throw new Error(`Compile Error ${name} is not a modifier: Helpers may not be used in the element form.`);\n }\n });\n STATEMENTS.add(Ops$2.StaticAttr, (sexp, builder) => {\n let [, name, value, namespace] = sexp;\n builder.staticAttr(name, namespace, value);\n });\n STATEMENTS.add(Ops$2.DynamicAttr, (sexp, builder) => {\n dynamicAttr(sexp, false, builder);\n });\n STATEMENTS.add(Ops$2.TrustingAttr, (sexp, builder) => {\n dynamicAttr(sexp, true, builder);\n });\n STATEMENTS.add(Ops$2.OpenElement, (sexp, builder) => {\n builder.openPrimitiveElement(sexp[1]);\n });\n STATEMENTS.add(Ops$2.OpenSplattedElement, (sexp, builder) => {\n builder.setComponentAttrs(true);\n builder.putComponentOperations();\n builder.openPrimitiveElement(sexp[1]);\n });\n STATEMENTS.add(Ops$2.DynamicComponent, (sexp, builder) => {\n let [, definition, attrs, args, template] = sexp;\n let block = builder.template(template);\n let attrsBlock = null;\n if (attrs.length > 0) {\n let wrappedAttrs = [[Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, true], ...attrs, [Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, false]];\n attrsBlock = builder.inlineBlock({ statements: wrappedAttrs, parameters: _util.EMPTY_ARRAY });\n }\n builder.dynamicComponent(definition, attrsBlock, null, args, false, block, null);\n });\n STATEMENTS.add(Ops$2.Component, (sexp, builder) => {\n let [, tag, _attrs, args, block] = sexp;\n let { referrer } = builder;\n let { handle, capabilities, compilable } = builder.compiler.resolveLayoutForTag(tag, referrer);\n if (handle !== null && capabilities !== null) {\n let attrs = [[Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, true], ..._attrs, [Ops$2.ClientSideStatement, Ops$1.SetComponentAttrs, false]];\n let attrsBlock = builder.inlineBlock({ statements: attrs, parameters: _util.EMPTY_ARRAY });\n let child = builder.template(block);\n if (compilable) {\n builder.pushComponentDefinition(handle);\n builder.invokeStaticComponent(capabilities, compilable, attrsBlock, null, args, false, child && child);\n } else {\n builder.pushComponentDefinition(handle);\n builder.invokeComponent(capabilities, attrsBlock, null, args, false, child && child);\n }\n } else {\n throw new Error(`Compile Error: Cannot find component ${tag}`);\n }\n });\n STATEMENTS.add(Ops$2.Partial, (sexp, builder) => {\n let [, name, evalInfo] = sexp;\n let { referrer } = builder;\n builder.replayableIf({\n args() {\n builder.expr(name);\n builder.dup();\n return 2;\n },\n ifTrue() {\n builder.invokePartial(referrer, builder.evalSymbols(), evalInfo);\n builder.popScope();\n builder.popFrame(); // FIXME: WAT\n }\n });\n });\n STATEMENTS.add(Ops$2.Yield, (sexp, builder) => {\n let [, to, params] = sexp;\n builder.yield(to, params);\n });\n STATEMENTS.add(Ops$2.AttrSplat, (sexp, builder) => {\n let [, to] = sexp;\n builder.yield(to, []);\n builder.setComponentAttrs(false);\n });\n STATEMENTS.add(Ops$2.Debugger, (sexp, builder) => {\n let [, evalInfo] = sexp;\n builder.debugger(builder.evalSymbols(), evalInfo);\n });\n STATEMENTS.add(Ops$2.ClientSideStatement, (sexp, builder) => {\n CLIENT_SIDE.compile(sexp, builder);\n });\n STATEMENTS.add(Ops$2.Append, (sexp, builder) => {\n let [, value, trusting] = sexp;\n let returned = builder.compileInline(sexp) || value;\n if (returned === true) return;\n builder.guardedAppend(value, trusting);\n });\n STATEMENTS.add(Ops$2.Block, (sexp, builder) => {\n let [, name, params, hash, _template, _inverse] = sexp;\n let template = builder.template(_template);\n let inverse = builder.template(_inverse);\n let templateBlock = template && template;\n let inverseBlock = inverse && inverse;\n builder.compileBlock(name, params, hash, templateBlock, inverseBlock);\n });\n const CLIENT_SIDE = new Compilers(1);\n CLIENT_SIDE.add(Ops$1.OpenComponentElement, (sexp, builder) => {\n builder.putComponentOperations();\n builder.openPrimitiveElement(sexp[2]);\n });\n CLIENT_SIDE.add(Ops$1.DidCreateElement, (_sexp, builder) => {\n builder.didCreateElement(_vm.Register.s0);\n });\n CLIENT_SIDE.add(Ops$1.SetComponentAttrs, (sexp, builder) => {\n builder.setComponentAttrs(sexp[2]);\n });\n CLIENT_SIDE.add(Ops$1.Debugger, () => {\n // tslint:disable-next-line:no-debugger\n debugger;\n });\n CLIENT_SIDE.add(Ops$1.DidRenderLayout, (_sexp, builder) => {\n builder.didRenderLayout(_vm.Register.s0);\n });\n return STATEMENTS;\n }\n function dynamicAttr(sexp, trusting, builder) {\n let [, name, value, namespace] = sexp;\n builder.expr(value);\n if (namespace) {\n builder.dynamicAttr(name, namespace, trusting);\n } else {\n builder.dynamicAttr(name, null, trusting);\n }\n }\n let _expressionCompiler;\n function expressionCompiler() {\n if (_expressionCompiler) {\n return _expressionCompiler;\n }\n const EXPRESSIONS = _expressionCompiler = new Compilers();\n EXPRESSIONS.add(Ops$2.Unknown, (sexp, builder) => {\n let { compiler, referrer, containingLayout: { asPartial } } = builder;\n let name = sexp[1];\n let handle = compiler.resolveHelper(name, referrer);\n if (handle !== null) {\n builder.helper(handle, null, null);\n } else if (asPartial) {\n builder.resolveMaybeLocal(name);\n } else {\n builder.getVariable(0);\n builder.getProperty(name);\n }\n });\n EXPRESSIONS.add(Ops$2.Concat, (sexp, builder) => {\n let parts = sexp[1];\n for (let i = 0; i < parts.length; i++) {\n builder.expr(parts[i]);\n }\n builder.concat(parts.length);\n });\n EXPRESSIONS.add(Ops$2.Helper, (sexp, builder) => {\n let { compiler, referrer } = builder;\n let [, name, params, hash] = sexp;\n // TODO: triage this in the WF compiler\n if (name === 'component') {\n\n let [definition, ...restArgs] = params;\n builder.curryComponent(definition, restArgs, hash, true);\n return;\n }\n let handle = compiler.resolveHelper(name, referrer);\n if (handle !== null) {\n builder.helper(handle, params, hash);\n } else {\n throw new Error(`Compile Error: ${name} is not a helper`);\n }\n });\n EXPRESSIONS.add(Ops$2.Get, (sexp, builder) => {\n let [, head, path] = sexp;\n builder.getVariable(head);\n for (let i = 0; i < path.length; i++) {\n builder.getProperty(path[i]);\n }\n });\n EXPRESSIONS.add(Ops$2.MaybeLocal, (sexp, builder) => {\n let [, path] = sexp;\n if (builder.containingLayout.asPartial) {\n let head = path[0];\n path = path.slice(1);\n builder.resolveMaybeLocal(head);\n } else {\n builder.getVariable(0);\n }\n for (let i = 0; i < path.length; i++) {\n builder.getProperty(path[i]);\n }\n });\n EXPRESSIONS.add(Ops$2.Undefined, (_sexp, builder) => {\n return builder.pushPrimitiveReference(undefined);\n });\n EXPRESSIONS.add(Ops$2.HasBlock, (sexp, builder) => {\n builder.hasBlock(sexp[1]);\n });\n EXPRESSIONS.add(Ops$2.HasBlockParams, (sexp, builder) => {\n builder.hasBlockParams(sexp[1]);\n });\n return EXPRESSIONS;\n }\n class Macros {\n constructor() {\n let { blocks, inlines } = populateBuiltins();\n this.blocks = blocks;\n this.inlines = inlines;\n }\n }\n class Blocks {\n constructor() {\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n add(name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n }\n addMissing(func) {\n this.missing = func;\n }\n compile(name, params, hash, template, inverse, builder) {\n let index = this.names[name];\n if (index === undefined) {\n\n let func = this.missing;\n let handled = func(name, params, hash, template, inverse, builder);\n } else {\n let func = this.funcs[index];\n func(params, hash, template, inverse, builder);\n }\n }\n }\n class Inlines {\n constructor() {\n this.names = (0, _util.dict)();\n this.funcs = [];\n }\n add(name, func) {\n this.funcs.push(func);\n this.names[name] = this.funcs.length - 1;\n }\n addMissing(func) {\n this.missing = func;\n }\n compile(sexp, builder) {\n let value = sexp[1];\n // 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 if (!Array.isArray(value)) return ['expr', value];\n let name;\n let params;\n let hash;\n if (value[0] === Ops$2.Helper) {\n name = value[1];\n params = value[2];\n hash = value[3];\n } else if (value[0] === Ops$2.Unknown) {\n name = value[1];\n params = hash = null;\n } else {\n return ['expr', value];\n }\n let index = this.names[name];\n if (index === undefined && this.missing) {\n let func = this.missing;\n let returned = func(name, params, hash, builder);\n return returned === false ? ['expr', value] : returned;\n } else if (index !== undefined) {\n let func = this.funcs[index];\n let returned = func(name, params, hash, builder);\n return returned === false ? ['expr', value] : returned;\n } else {\n return ['expr', value];\n }\n }\n }\n function populateBuiltins(blocks = new Blocks(), inlines = new Inlines()) {\n blocks.add('if', (params, _hash, template, inverse, builder) => {\n // PutArgs\n // Test(Environment)\n // Enter(BEGIN, END)\n // BEGIN: Noop\n // JumpUnless(ELSE)\n // Evaluate(default)\n // Jump(END)\n // ELSE: Noop\n // Evalulate(inverse)\n // END: Noop\n // Exit\n if (!params || params.length !== 1) {\n throw new Error(`SYNTAX ERROR: #if requires a single argument`);\n }\n builder.replayableIf({\n args() {\n builder.expr(params[0]);\n builder.toBoolean();\n return 1;\n },\n ifTrue() {\n builder.invokeStaticBlock(template);\n },\n ifFalse() {\n if (inverse) {\n builder.invokeStaticBlock(inverse);\n }\n }\n });\n });\n blocks.add('unless', (params, _hash, template, inverse, builder) => {\n // PutArgs\n // Test(Environment)\n // Enter(BEGIN, END)\n // BEGIN: Noop\n // JumpUnless(ELSE)\n // Evaluate(default)\n // Jump(END)\n // ELSE: Noop\n // Evalulate(inverse)\n // END: Noop\n // Exit\n if (!params || params.length !== 1) {\n throw new Error(`SYNTAX ERROR: #unless requires a single argument`);\n }\n builder.replayableIf({\n args() {\n builder.expr(params[0]);\n builder.toBoolean();\n return 1;\n },\n ifTrue() {\n if (inverse) {\n builder.invokeStaticBlock(inverse);\n }\n },\n ifFalse() {\n builder.invokeStaticBlock(template);\n }\n });\n });\n blocks.add('with', (params, _hash, template, inverse, builder) => {\n // PutArgs\n // Test(Environment)\n // Enter(BEGIN, END)\n // BEGIN: Noop\n // JumpUnless(ELSE)\n // Evaluate(default)\n // Jump(END)\n // ELSE: Noop\n // Evalulate(inverse)\n // END: Noop\n // Exit\n if (!params || params.length !== 1) {\n throw new Error(`SYNTAX ERROR: #with requires a single argument`);\n }\n builder.replayableIf({\n args() {\n builder.expr(params[0]);\n builder.dup();\n builder.toBoolean();\n return 2;\n },\n ifTrue() {\n builder.invokeStaticBlock(template, 1);\n },\n ifFalse() {\n if (inverse) {\n builder.invokeStaticBlock(inverse);\n }\n }\n });\n });\n blocks.add('each', (params, hash, template, inverse, builder) => {\n // Enter(BEGIN, END)\n // BEGIN: Noop\n // PutArgs\n // PutIterable\n // JumpUnless(ELSE)\n // EnterList(BEGIN2, END2)\n // ITER: Noop\n // NextIter(BREAK)\n // BEGIN2: Noop\n // PushChildScope\n // Evaluate(default)\n // PopScope\n // END2: Noop\n // Exit\n // Jump(ITER)\n // BREAK: Noop\n // ExitList\n // Jump(END)\n // ELSE: Noop\n // Evalulate(inverse)\n // END: Noop\n // Exit\n builder.replayable({\n args() {\n if (hash && hash[0][0] === 'key') {\n builder.expr(hash[1][0]);\n } else {\n builder.pushPrimitiveReference(null);\n }\n builder.expr(params[0]);\n return 2;\n },\n body() {\n builder.putIterator();\n builder.jumpUnless('ELSE');\n builder.pushFrame();\n builder.dup(_vm.Register.fp, 1);\n builder.returnTo('ITER');\n builder.enterList('BODY');\n builder.label('ITER');\n builder.iterate('BREAK');\n builder.label('BODY');\n builder.invokeStaticBlock(template, 2);\n builder.pop(2);\n builder.jump('FINALLY');\n builder.label('BREAK');\n builder.exitList();\n builder.popFrame();\n builder.jump('FINALLY');\n builder.label('ELSE');\n if (inverse) {\n builder.invokeStaticBlock(inverse);\n }\n }\n });\n });\n blocks.add('in-element', (params, hash, template, _inverse, builder) => {\n if (!params || params.length !== 1) {\n throw new Error(`SYNTAX ERROR: #in-element requires a single argument`);\n }\n builder.replayableIf({\n args() {\n let [keys, values] = hash;\n for (let i = 0; i < keys.length; i++) {\n let key = keys[i];\n if (key === 'nextSibling' || key === 'guid') {\n builder.expr(values[i]);\n } else {\n throw new Error(`SYNTAX ERROR: #in-element does not take a \\`${keys[0]}\\` option`);\n }\n }\n builder.expr(params[0]);\n builder.dup();\n return 4;\n },\n ifTrue() {\n builder.pushRemoteElement();\n builder.invokeStaticBlock(template);\n builder.popRemoteElement();\n }\n });\n });\n blocks.add('-with-dynamic-vars', (_params, hash, template, _inverse, builder) => {\n if (hash) {\n let [names, expressions] = hash;\n builder.compileParams(expressions);\n builder.pushDynamicScope();\n builder.bindDynamicScope(names);\n builder.invokeStaticBlock(template);\n builder.popDynamicScope();\n } else {\n builder.invokeStaticBlock(template);\n }\n });\n blocks.add('component', (_params, hash, template, inverse, builder) => {\n\n let tag = _params[0];\n if (typeof tag === 'string') {\n let returned = builder.staticComponentHelper(_params[0], hash, template);\n if (returned) return;\n }\n let [definition, ...params] = _params;\n builder.dynamicComponent(definition, null, params, hash, true, template, inverse);\n });\n inlines.add('component', (_name, _params, hash, builder) => {\n\n let tag = _params && _params[0];\n if (typeof tag === 'string') {\n let returned = builder.staticComponentHelper(tag, hash, null);\n if (returned) return true;\n }\n let [definition, ...params] = _params;\n builder.dynamicComponent(definition, null, params, hash, true, null, null);\n return true;\n });\n return { blocks, inlines };\n }\n\n const PLACEHOLDER_HANDLE$1 = -1;\n class CompilableProgram {\n constructor(compiler, layout) {\n this.compiler = compiler;\n this.layout = layout;\n this.compiled = null;\n }\n get symbolTable() {\n return this.layout.block;\n }\n compile() {\n if (this.compiled !== null) return this.compiled;\n this.compiled = PLACEHOLDER_HANDLE$1;\n let { block: { statements } } = this.layout;\n return this.compiled = this.compiler.add(statements, this.layout);\n }\n }\n class CompilableBlock {\n constructor(compiler, parsed) {\n this.compiler = compiler;\n this.parsed = parsed;\n this.compiled = null;\n }\n get symbolTable() {\n return this.parsed.block;\n }\n compile() {\n if (this.compiled !== null) return this.compiled;\n // Track that compilation has started but not yet finished by temporarily\n // using a placeholder handle. In eager compilation mode, where compile()\n // may be called recursively, we use this as a signal that the handle cannot\n // be known synchronously and must be linked lazily.\n this.compiled = PLACEHOLDER_HANDLE$1;\n let { block: { statements }, containingLayout } = this.parsed;\n return this.compiled = this.compiler.add(statements, containingLayout);\n }\n }\n\n function compile(statements, builder, compiler) {\n let sCompiler = statementCompiler();\n for (let i = 0; i < statements.length; i++) {\n sCompiler.compile(statements[i], builder);\n }\n let handle = builder.commit();\n return handle;\n }\n\n function debugSlice(program, start, end) {}\n function logOpcode(type, params) {\n let out = type;\n if (params) {\n let args = Object.keys(params).map(p => ` ${p}=${json(params[p])}`).join('');\n out += args;\n }\n return `(${out})`;\n }\n function json(param) {}\n function debug(pos, c, op, ...operands) {\n let metadata = null;\n if (!metadata) {\n throw (0, _util.unreachable)(`Missing Opcode Metadata for ${op}`);\n }\n let out = (0, _util.dict)();\n metadata.ops.forEach((operand, index) => {\n let op = operands[index];\n switch (operand.type) {\n case 'to':\n out[operand.name] = pos + op;\n break;\n case 'i32':\n case 'symbol':\n case 'block':\n out[operand.name] = op;\n break;\n case 'handle':\n out[operand.name] = c.resolveHandle(op);\n break;\n case 'str':\n out[operand.name] = c.getString(op);\n break;\n case 'option-str':\n out[operand.name] = op ? c.getString(op) : null;\n break;\n case 'str-array':\n out[operand.name] = c.getStringArray(op);\n break;\n case 'array':\n out[operand.name] = c.getArray(op);\n break;\n case 'bool':\n out[operand.name] = !!op;\n break;\n case 'primitive':\n out[operand.name] = decodePrimitive(op, c);\n break;\n case 'register':\n out[operand.name] = _vm.Register[op];\n break;\n case 'serializable':\n out[operand.name] = c.getSerializable(op);\n break;\n case 'lazy-constant':\n out[operand.name] = c.getOther(op);\n break;\n }\n });\n return [metadata.name, out];\n }\n function decodePrimitive(primitive, constants) {\n let flag = primitive & 7; // 111\n let value = primitive >> 3;\n switch (flag) {\n case 0 /* NUMBER */:\n return value;\n case 1 /* FLOAT */:\n return constants.getNumber(value);\n case 2 /* STRING */:\n return constants.getString(value);\n case 3 /* BOOLEAN_OR_VOID */:\n switch (value) {\n case 0:\n return false;\n case 1:\n return true;\n case 2:\n return null;\n case 3:\n return undefined;\n }\n case 4 /* NEGATIVE */:\n return constants.getNumber(value);\n default:\n throw (0, _util.unreachable)();\n }\n }\n\n class StdLib {\n constructor(main, trustingGuardedAppend, cautiousGuardedAppend) {\n this.main = main;\n this.trustingGuardedAppend = trustingGuardedAppend;\n this.cautiousGuardedAppend = cautiousGuardedAppend;\n }\n static compile(compiler) {\n let main = this.std(compiler, b => b.main());\n let trustingGuardedAppend = this.std(compiler, b => b.stdAppend(true));\n let cautiousGuardedAppend = this.std(compiler, b => b.stdAppend(false));\n return new StdLib(main, trustingGuardedAppend, cautiousGuardedAppend);\n }\n static std(compiler, callback) {\n return StdOpcodeBuilder.build(compiler, callback);\n }\n getAppend(trusting) {\n return trusting ? this.trustingGuardedAppend : this.cautiousGuardedAppend;\n }\n }\n class AbstractCompiler {\n constructor(macros, program, resolver) {\n this.macros = macros;\n this.program = program;\n this.resolver = resolver;\n this.initialize();\n }\n initialize() {\n this.stdLib = StdLib.compile(this);\n }\n get constants() {\n return this.program.constants;\n }\n compileInline(sexp, builder) {\n let { inlines } = this.macros;\n return inlines.compile(sexp, builder);\n }\n compileBlock(name, params, hash, template, inverse, builder) {\n let { blocks } = this.macros;\n blocks.compile(name, params, hash, template, inverse, builder);\n }\n add(statements, containingLayout) {\n return compile(statements, this.builderFor(containingLayout), this);\n }\n commit(scopeSize, buffer) {\n let heap = this.program.heap;\n // TODO: change the whole malloc API and do something more efficient\n let handle = heap.malloc();\n for (let i = 0; i < buffer.length; i++) {\n let value = buffer[i];\n if (typeof value === 'function') {\n heap.pushPlaceholder(value);\n } else {\n heap.push(value);\n }\n }\n heap.finishMalloc(handle, scopeSize);\n return handle;\n }\n resolveLayoutForTag(tag, referrer) {\n let { resolver } = this;\n let handle = resolver.lookupComponentDefinition(tag, referrer);\n if (handle === null) return { handle: null, capabilities: null, compilable: null };\n return this.resolveLayoutForHandle(handle);\n }\n resolveLayoutForHandle(handle) {\n let { resolver } = this;\n let capabilities = resolver.getCapabilities(handle);\n let compilable = null;\n if (!capabilities.dynamicLayout) {\n compilable = resolver.getLayout(handle);\n }\n return {\n handle,\n capabilities,\n compilable\n };\n }\n resolveModifier(name, referrer) {\n return this.resolver.lookupModifier(name, referrer);\n }\n resolveHelper(name, referrer) {\n return this.resolver.lookupHelper(name, referrer);\n }\n }\n let debugCompiler;\n\n class WrappedBuilder {\n constructor(compiler, layout) {\n this.compiler = compiler;\n this.layout = layout;\n this.compiled = null;\n let { block } = layout;\n let symbols = block.symbols.slice();\n // ensure ATTRS_BLOCK is always included (only once) in the list of symbols\n let attrsBlockIndex = symbols.indexOf(ATTRS_BLOCK);\n if (attrsBlockIndex === -1) {\n this.attrsBlockNumber = symbols.push(ATTRS_BLOCK);\n } else {\n this.attrsBlockNumber = attrsBlockIndex + 1;\n }\n this.symbolTable = {\n hasEval: block.hasEval,\n symbols\n };\n }\n compile() {\n if (this.compiled !== null) return this.compiled;\n //========DYNAMIC\n // PutValue(TagExpr)\n // Test\n // JumpUnless(BODY)\n // PutComponentOperations\n // OpenDynamicPrimitiveElement\n // DidCreateElement\n // ...attr statements...\n // FlushElement\n // BODY: Noop\n // ...body statements...\n // PutValue(TagExpr)\n // Test\n // JumpUnless(END)\n // CloseElement\n // END: Noop\n // DidRenderLayout\n // Exit\n //\n //========STATIC\n // OpenPrimitiveElementOpcode\n // DidCreateElement\n // ...attr statements...\n // FlushElement\n // ...body statements...\n // CloseElement\n // DidRenderLayout\n // Exit\n let { compiler, layout } = this;\n let b = compiler.builderFor(layout);\n b.startLabels();\n b.fetch(_vm.Register.s1);\n b.getComponentTagName(_vm.Register.s0);\n b.primitiveReference();\n b.dup();\n b.load(_vm.Register.s1);\n b.jumpUnless('BODY');\n b.fetch(_vm.Register.s1);\n b.setComponentAttrs(true);\n b.putComponentOperations();\n b.openDynamicElement();\n b.didCreateElement(_vm.Register.s0);\n b.yield(this.attrsBlockNumber, []);\n b.setComponentAttrs(false);\n b.flushElement();\n b.label('BODY');\n b.invokeStaticBlock(blockFor(layout, compiler));\n b.fetch(_vm.Register.s1);\n b.jumpUnless('END');\n b.closeElement();\n b.label('END');\n b.load(_vm.Register.s1);\n b.stopLabels();\n let handle = b.commit();\n return this.compiled = handle;\n }\n }\n function blockFor(layout, compiler) {\n return new CompilableBlock(compiler, {\n block: {\n statements: layout.block.statements,\n parameters: _util.EMPTY_ARRAY\n },\n containingLayout: layout\n });\n }\n class ComponentBuilder {\n constructor(builder) {\n this.builder = builder;\n }\n static(handle, args) {\n let [params, hash, _default, inverse] = args;\n let { builder } = this;\n if (handle !== null) {\n let { capabilities, compilable } = builder.compiler.resolveLayoutForHandle(handle);\n if (compilable) {\n builder.pushComponentDefinition(handle);\n builder.invokeStaticComponent(capabilities, compilable, null, params, hash, false, _default, inverse);\n } else {\n builder.pushComponentDefinition(handle);\n builder.invokeComponent(capabilities, null, params, hash, false, _default, inverse);\n }\n }\n }\n }\n\n class Labels {\n constructor() {\n this.labels = (0, _util.dict)();\n this.targets = [];\n }\n label(name, index) {\n this.labels[name] = index;\n }\n target(at, target) {\n this.targets.push({ at, target });\n }\n patch(encoder) {\n let { targets, labels } = this;\n for (let i = 0; i < targets.length; i++) {\n let { at, target } = targets[i];\n let address = labels[target] - at;\n encoder.patch(at, address);\n }\n }\n }\n class StdOpcodeBuilder {\n constructor(compiler, size = 0) {\n this.size = size;\n this.encoder = new _encoder.InstructionEncoder([]);\n this.labelsStack = new _util.Stack();\n this.compiler = compiler;\n }\n static build(compiler, callback) {\n let builder = new StdOpcodeBuilder(compiler);\n callback(builder);\n return builder.commit();\n }\n push(name) {\n switch (arguments.length) {\n case 1:\n return this.encoder.encode(name, 0);\n case 2:\n return this.encoder.encode(name, 0, arguments[1]);\n case 3:\n return this.encoder.encode(name, 0, arguments[1], arguments[2]);\n default:\n return this.encoder.encode(name, 0, arguments[1], arguments[2], arguments[3]);\n }\n }\n pushMachine(name) {\n switch (arguments.length) {\n case 1:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */);\n case 2:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */, arguments[1]);\n case 3:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */, arguments[1], arguments[2]);\n default:\n return this.encoder.encode(name, 1024 /* MACHINE_MASK */, arguments[1], arguments[2], arguments[3]);\n }\n }\n commit() {\n this.pushMachine(24 /* Return */);\n return this.compiler.commit(this.size, this.encoder.buffer);\n }\n reserve(name) {\n this.encoder.encode(name, 0, -1);\n }\n reserveWithOperand(name, operand) {\n this.encoder.encode(name, 0, -1, operand);\n }\n reserveMachine(name) {\n this.encoder.encode(name, 1024 /* MACHINE_MASK */, -1);\n }\n ///\n main() {\n this.push(68 /* Main */, _vm.Register.s0);\n this.invokePreparedComponent(false, false, true);\n }\n appendHTML() {\n this.push(28 /* AppendHTML */);\n }\n appendSafeHTML() {\n this.push(29 /* AppendSafeHTML */);\n }\n appendDocumentFragment() {\n this.push(30 /* AppendDocumentFragment */);\n }\n appendNode() {\n this.push(31 /* AppendNode */);\n }\n appendText() {\n this.push(32 /* AppendText */);\n }\n beginComponentTransaction() {\n this.push(91 /* BeginComponentTransaction */);\n }\n commitComponentTransaction() {\n this.push(92 /* CommitComponentTransaction */);\n }\n pushDynamicScope() {\n this.push(44 /* PushDynamicScope */);\n }\n popDynamicScope() {\n this.push(45 /* PopDynamicScope */);\n }\n pushRemoteElement() {\n this.push(41 /* PushRemoteElement */);\n }\n popRemoteElement() {\n this.push(42 /* PopRemoteElement */);\n }\n pushRootScope(symbols, bindCallerScope) {\n this.push(20 /* RootScope */, symbols, bindCallerScope ? 1 : 0);\n }\n pushVirtualRootScope(register) {\n this.push(21 /* VirtualRootScope */, register);\n }\n pushChildScope() {\n this.push(22 /* ChildScope */);\n }\n popScope() {\n this.push(23 /* PopScope */);\n }\n prepareArgs(state) {\n this.push(79 /* PrepareArgs */, state);\n }\n createComponent(state, hasDefault) {\n let flag = hasDefault | 0;\n this.push(81 /* CreateComponent */, flag, state);\n }\n registerComponentDestructor(state) {\n this.push(82 /* RegisterComponentDestructor */, state);\n }\n putComponentOperations() {\n this.push(83 /* PutComponentOperations */);\n }\n getComponentSelf(state) {\n this.push(84 /* GetComponentSelf */, state);\n }\n getComponentTagName(state) {\n this.push(85 /* GetComponentTagName */, state);\n }\n getComponentLayout(state) {\n this.push(86 /* GetComponentLayout */, state);\n }\n setupForEval(state) {\n this.push(87 /* SetupForEval */, state);\n }\n invokeComponentLayout(state) {\n this.push(90 /* InvokeComponentLayout */, state);\n }\n didCreateElement(state) {\n this.push(93 /* DidCreateElement */, state);\n }\n didRenderLayout(state) {\n this.push(94 /* DidRenderLayout */, state);\n }\n pushFrame() {\n this.pushMachine(57 /* PushFrame */);\n }\n popFrame() {\n this.pushMachine(58 /* PopFrame */);\n }\n pushSmallFrame() {\n this.pushMachine(59 /* PushSmallFrame */);\n }\n popSmallFrame() {\n this.pushMachine(60 /* PopSmallFrame */);\n }\n invokeVirtual() {\n this.pushMachine(49 /* InvokeVirtual */);\n }\n invokeYield() {\n this.push(51 /* InvokeYield */);\n }\n toBoolean() {\n this.push(63 /* ToBoolean */);\n }\n invokePreparedComponent(hasBlock, bindableBlocks, bindableAtNames, populateLayout = null) {\n this.beginComponentTransaction();\n this.pushDynamicScope();\n this.createComponent(_vm.Register.s0, hasBlock);\n // 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 if (populateLayout) populateLayout();\n this.registerComponentDestructor(_vm.Register.s0);\n this.getComponentSelf(_vm.Register.s0);\n this.pushVirtualRootScope(_vm.Register.s0);\n this.setVariable(0);\n this.setupForEval(_vm.Register.s0);\n if (bindableAtNames) this.setNamedVariables(_vm.Register.s0);\n if (bindableBlocks) this.setBlocks(_vm.Register.s0);\n this.pop();\n this.invokeComponentLayout(_vm.Register.s0);\n this.didRenderLayout(_vm.Register.s0);\n this.popFrame();\n this.popScope();\n this.popDynamicScope();\n this.commitComponentTransaction();\n }\n get pos() {\n return this.encoder.typePos;\n }\n get nextPos() {\n return this.encoder.size;\n }\n ///\n compileInline(sexp) {\n return this.compiler.compileInline(sexp, this);\n }\n compileBlock(name, params, hash, template, inverse) {\n this.compiler.compileBlock(name, params, hash, template, inverse, this);\n }\n label(name) {\n this.labels.label(name, this.nextPos);\n }\n // helpers\n get labels() {\n return this.labelsStack.current;\n }\n startLabels() {\n this.labelsStack.push(new Labels());\n }\n stopLabels() {\n let label = this.labelsStack.pop();\n label.patch(this.encoder);\n }\n // components\n pushCurriedComponent() {\n this.push(74 /* PushCurriedComponent */);\n }\n pushDynamicComponentInstance() {\n this.push(73 /* PushDynamicComponentInstance */);\n }\n // dom\n openDynamicElement() {\n this.push(34 /* OpenDynamicElement */);\n }\n flushElement() {\n this.push(38 /* FlushElement */);\n }\n closeElement() {\n this.push(39 /* CloseElement */);\n }\n // lists\n putIterator() {\n this.push(66 /* PutIterator */);\n }\n enterList(start) {\n this.reserve(64 /* EnterList */);\n this.labels.target(this.pos, start);\n }\n exitList() {\n this.push(65 /* ExitList */);\n }\n iterate(breaks) {\n this.reserve(67 /* Iterate */);\n this.labels.target(this.pos, breaks);\n }\n // expressions\n setNamedVariables(state) {\n this.push(2 /* SetNamedVariables */, state);\n }\n setBlocks(state) {\n this.push(3 /* SetBlocks */, state);\n }\n setVariable(symbol) {\n this.push(4 /* SetVariable */, symbol);\n }\n setBlock(symbol) {\n this.push(5 /* SetBlock */, symbol);\n }\n getVariable(symbol) {\n this.push(6 /* GetVariable */, symbol);\n }\n getBlock(symbol) {\n this.push(8 /* GetBlock */, symbol);\n }\n hasBlock(symbol) {\n this.push(9 /* HasBlock */, symbol);\n }\n concat(size) {\n this.push(11 /* Concat */, size);\n }\n load(register) {\n this.push(18 /* Load */, register);\n }\n fetch(register) {\n this.push(19 /* Fetch */, register);\n }\n dup(register = _vm.Register.sp, offset = 0) {\n return this.push(16 /* Dup */, register, offset);\n }\n pop(count = 1) {\n return this.push(17 /* Pop */, count);\n }\n // vm\n returnTo(label) {\n this.reserveMachine(25 /* ReturnTo */);\n this.labels.target(this.pos, label);\n }\n primitiveReference() {\n this.push(14 /* PrimitiveReference */);\n }\n reifyU32() {\n this.push(15 /* ReifyU32 */);\n }\n enter(args) {\n this.push(61 /* Enter */, args);\n }\n exit() {\n this.push(62 /* Exit */);\n }\n return() {\n this.pushMachine(24 /* Return */);\n }\n jump(target) {\n this.reserveMachine(52 /* Jump */);\n this.labels.target(this.pos, target);\n }\n jumpIf(target) {\n this.reserve(53 /* JumpIf */);\n this.labels.target(this.pos, target);\n }\n jumpUnless(target) {\n this.reserve(54 /* JumpUnless */);\n this.labels.target(this.pos, target);\n }\n jumpEq(value, target) {\n this.reserveWithOperand(55 /* JumpEq */, value);\n this.labels.target(this.pos, target);\n }\n assertSame() {\n this.push(56 /* AssertSame */);\n }\n pushEmptyArgs() {\n this.push(77 /* PushEmptyArgs */);\n }\n switch(_opcode, callback) {\n // Setup the switch DSL\n let clauses = [];\n let count = 0;\n function when(match, callback) {\n clauses.push({ match, callback, label: `CLAUSE${count++}` });\n }\n // Call the callback\n callback(when);\n // Emit the opcodes for the switch\n this.enter(2);\n this.assertSame();\n this.reifyU32();\n this.startLabels();\n // First, emit the jump opcodes. We don't need a jump for the last\n // opcode, since it bleeds directly into its clause.\n clauses.slice(0, -1).forEach(clause => this.jumpEq(clause.match, clause.label));\n // Enumerate the clauses in reverse order. Earlier matches will\n // require fewer checks.\n for (let i = clauses.length - 1; i >= 0; i--) {\n let clause = clauses[i];\n this.label(clause.label);\n this.pop(2);\n clause.callback();\n // 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 if (i !== 0) {\n this.jump('END');\n }\n }\n this.label('END');\n this.stopLabels();\n this.exit();\n }\n stdAppend(trusting) {\n this.switch(this.contentType(), when => {\n when(1 /* String */, () => {\n if (trusting) {\n this.assertSame();\n this.appendHTML();\n } else {\n this.appendText();\n }\n });\n when(0 /* Component */, () => {\n this.pushCurriedComponent();\n this.pushDynamicComponentInstance();\n this.invokeBareComponent();\n });\n when(3 /* SafeString */, () => {\n this.assertSame();\n this.appendSafeHTML();\n });\n when(4 /* Fragment */, () => {\n this.assertSame();\n this.appendDocumentFragment();\n });\n when(5 /* Node */, () => {\n this.assertSame();\n this.appendNode();\n });\n });\n }\n populateLayout(state) {\n this.push(89 /* PopulateLayout */, state);\n }\n invokeBareComponent() {\n this.fetch(_vm.Register.s0);\n this.dup(_vm.Register.sp, 1);\n this.load(_vm.Register.s0);\n this.pushFrame();\n this.pushEmptyArgs();\n this.prepareArgs(_vm.Register.s0);\n this.invokePreparedComponent(false, false, true, () => {\n this.getComponentLayout(_vm.Register.s0);\n this.populateLayout(_vm.Register.s0);\n });\n this.load(_vm.Register.s0);\n }\n isComponent() {\n this.push(69 /* IsComponent */);\n }\n contentType() {\n this.push(70 /* ContentType */);\n }\n pushBlockScope() {\n this.push(47 /* PushBlockScope */);\n }\n }\n class OpcodeBuilder extends StdOpcodeBuilder {\n constructor(compiler, containingLayout) {\n super(compiler, containingLayout ? containingLayout.block.symbols.length : 0);\n this.containingLayout = containingLayout;\n this.component = new ComponentBuilder(this);\n this.expressionCompiler = expressionCompiler();\n this.isComponentAttrs = false;\n this.constants = compiler.constants;\n this.stdLib = compiler.stdLib;\n }\n /// MECHANICS\n get referrer() {\n return this.containingLayout && this.containingLayout.referrer;\n }\n setComponentAttrs(enabled) {\n this.isComponentAttrs = enabled;\n }\n expr(expression) {\n if (Array.isArray(expression)) {\n this.expressionCompiler.compile(expression, this);\n } else {\n this.pushPrimitiveReference(expression);\n }\n }\n ///\n // args\n pushArgs(names, flags) {\n let serialized = this.constants.stringArray(names);\n this.push(76 /* PushArgs */, serialized, flags);\n }\n pushYieldableBlock(block) {\n this.pushSymbolTable(block && block.symbolTable);\n this.pushBlockScope();\n this.pushBlock(block);\n }\n curryComponent(definition,\n /* TODO: attrs: Option<RawInlineBlock>, */params, hash, synthetic) {\n let referrer = this.containingLayout.referrer;\n this.pushFrame();\n this.compileArgs(params, hash, null, synthetic);\n this.push(80 /* CaptureArgs */);\n this.expr(definition);\n this.push(71 /* CurryComponent */, this.constants.serializable(referrer));\n this.popFrame();\n this.fetch(_vm.Register.v0);\n }\n pushSymbolTable(table) {\n if (table) {\n let constant = this.constants.serializable(table);\n this.push(48 /* PushSymbolTable */, constant);\n } else {\n this.primitive(null);\n }\n }\n invokeComponent(capabilities, attrs, params, hash, synthetic, block, inverse = null, layout) {\n this.fetch(_vm.Register.s0);\n this.dup(_vm.Register.sp, 1);\n this.load(_vm.Register.s0);\n this.pushFrame();\n let bindableBlocks = !!(block || inverse || attrs);\n let bindableAtNames = capabilities === true || capabilities.prepareArgs || !!(hash && hash[0].length !== 0);\n let blocks = { main: block, else: inverse, attrs };\n this.compileArgs(params, hash, blocks, synthetic);\n this.prepareArgs(_vm.Register.s0);\n this.invokePreparedComponent(block !== null, bindableBlocks, bindableAtNames, () => {\n if (layout) {\n this.pushSymbolTable(layout.symbolTable);\n this.pushLayout(layout);\n this.resolveLayout();\n } else {\n this.getComponentLayout(_vm.Register.s0);\n }\n this.populateLayout(_vm.Register.s0);\n });\n this.load(_vm.Register.s0);\n }\n invokeStaticComponent(capabilities, layout, attrs, params, hash, synthetic, block, inverse = null) {\n let { symbolTable } = layout;\n let bailOut = symbolTable.hasEval || capabilities.prepareArgs;\n if (bailOut) {\n this.invokeComponent(capabilities, attrs, params, hash, synthetic, block, inverse, layout);\n return;\n }\n this.fetch(_vm.Register.s0);\n this.dup(_vm.Register.sp, 1);\n this.load(_vm.Register.s0);\n let { symbols } = symbolTable;\n if (capabilities.createArgs) {\n this.pushFrame();\n this.compileArgs(null, hash, null, synthetic);\n }\n this.beginComponentTransaction();\n if (capabilities.dynamicScope) {\n this.pushDynamicScope();\n }\n if (capabilities.createInstance) {\n this.createComponent(_vm.Register.s0, block !== null);\n }\n if (capabilities.createArgs) {\n this.popFrame();\n }\n this.pushFrame();\n this.registerComponentDestructor(_vm.Register.s0);\n let bindings = [];\n this.getComponentSelf(_vm.Register.s0);\n bindings.push({ symbol: 0, isBlock: false });\n for (let i = 0; i < symbols.length; i++) {\n let symbol = symbols[i];\n switch (symbol.charAt(0)) {\n case '&':\n let callerBlock = null;\n if (symbol === '&default') {\n callerBlock = block;\n } else if (symbol === '&inverse') {\n callerBlock = inverse;\n } else if (symbol === ATTRS_BLOCK) {\n callerBlock = attrs;\n } else {\n throw (0, _util.unreachable)();\n }\n if (callerBlock) {\n this.pushYieldableBlock(callerBlock);\n bindings.push({ symbol: i + 1, isBlock: true });\n } else {\n this.pushYieldableBlock(null);\n bindings.push({ symbol: i + 1, isBlock: true });\n }\n break;\n case '@':\n if (!hash) {\n break;\n }\n let [keys, values] = hash;\n let lookupName = symbol;\n if (synthetic) {\n lookupName = symbol.slice(1);\n }\n let index = keys.indexOf(lookupName);\n if (index !== -1) {\n this.expr(values[index]);\n bindings.push({ symbol: i + 1, isBlock: false });\n }\n break;\n }\n }\n this.pushRootScope(symbols.length + 1, !!(block || inverse || attrs));\n for (let i = bindings.length - 1; i >= 0; i--) {\n let { symbol, isBlock } = bindings[i];\n if (isBlock) {\n this.setBlock(symbol);\n } else {\n this.setVariable(symbol);\n }\n }\n this.invokeStatic(layout);\n if (capabilities.createInstance) {\n this.didRenderLayout(_vm.Register.s0);\n }\n this.popFrame();\n this.popScope();\n if (capabilities.dynamicScope) {\n this.popDynamicScope();\n }\n this.commitComponentTransaction();\n this.load(_vm.Register.s0);\n }\n dynamicComponent(definition, attrs, params, hash, synthetic, block, inverse = null) {\n this.replayable({\n args: () => {\n this.expr(definition);\n this.dup();\n return 2;\n },\n body: () => {\n this.jumpUnless('ELSE');\n this.resolveDynamicComponent(this.containingLayout.referrer);\n this.pushDynamicComponentInstance();\n this.invokeComponent(true, attrs, params, hash, synthetic, block, inverse);\n this.label('ELSE');\n }\n });\n }\n yield(to, params) {\n this.compileArgs(params, null, null, false);\n this.getBlock(to);\n this.resolveBlock();\n this.invokeYield();\n this.popScope();\n this.popFrame();\n }\n guardedAppend(expression, trusting) {\n this.pushFrame();\n this.expr(expression);\n this.pushMachine(50 /* InvokeStatic */, this.stdLib.getAppend(trusting));\n this.popFrame();\n }\n invokeStaticBlock(block, callerCount = 0) {\n let { parameters } = block.symbolTable;\n let calleeCount = parameters.length;\n let count = Math.min(callerCount, calleeCount);\n this.pushFrame();\n if (count) {\n this.pushChildScope();\n for (let i = 0; i < count; i++) {\n this.dup(_vm.Register.fp, callerCount - i);\n this.setVariable(parameters[i]);\n }\n }\n this.pushBlock(block);\n this.resolveBlock();\n this.invokeVirtual();\n if (count) {\n this.popScope();\n }\n this.popFrame();\n }\n /// CONVENIENCE\n // internal helpers\n string(_string) {\n return this.constants.string(_string);\n }\n names(_names) {\n let names = [];\n for (let i = 0; i < _names.length; i++) {\n let n = _names[i];\n names[i] = this.constants.string(n);\n }\n return this.constants.array(names);\n }\n symbols(symbols) {\n return this.constants.array(symbols);\n }\n // vm\n primitive(_primitive) {\n let type = 0 /* NUMBER */;\n let primitive;\n switch (typeof _primitive) {\n case 'number':\n if (_primitive % 1 === 0) {\n if (_primitive > -1) {\n primitive = _primitive;\n } else {\n primitive = this.constants.number(_primitive);\n type = 4 /* NEGATIVE */;\n }\n } else {\n primitive = this.constants.number(_primitive);\n type = 1 /* FLOAT */;\n }\n break;\n case 'string':\n primitive = this.string(_primitive);\n type = 2 /* STRING */;\n break;\n case 'boolean':\n primitive = _primitive | 0;\n type = 3 /* BOOLEAN_OR_VOID */;\n break;\n case 'object':\n // assume null\n primitive = 2;\n type = 3 /* BOOLEAN_OR_VOID */;\n break;\n case 'undefined':\n primitive = 3;\n type = 3 /* BOOLEAN_OR_VOID */;\n break;\n default:\n throw new Error('Invalid primitive passed to pushPrimitive');\n }\n let immediate = this.sizeImmediate(primitive << 3 | type, primitive);\n this.push(13 /* Primitive */, immediate);\n }\n sizeImmediate(shifted, primitive) {\n if (shifted >= 65535 /* MAX_SIZE */ || shifted < 0) {\n return this.constants.number(primitive) << 3 | 5 /* BIG_NUM */;\n }\n return shifted;\n }\n pushPrimitiveReference(primitive) {\n this.primitive(primitive);\n this.primitiveReference();\n }\n // components\n pushComponentDefinition(handle) {\n this.push(72 /* PushComponentDefinition */, this.constants.handle(handle));\n }\n resolveDynamicComponent(referrer) {\n this.push(75 /* ResolveDynamicComponent */, this.constants.serializable(referrer));\n }\n staticComponentHelper(tag, hash, template) {\n let { handle, capabilities, compilable } = this.compiler.resolveLayoutForTag(tag, this.referrer);\n if (handle !== null && capabilities !== null) {\n if (compilable) {\n if (hash) {\n for (let i = 0; i < hash.length; i = i + 2) {\n hash[i][0] = `@${hash[i][0]}`;\n }\n }\n this.pushComponentDefinition(handle);\n this.invokeStaticComponent(capabilities, compilable, null, null, hash, false, template && template);\n return true;\n }\n }\n return false;\n }\n // partial\n invokePartial(referrer, symbols, evalInfo) {\n let _meta = this.constants.serializable(referrer);\n let _symbols = this.constants.stringArray(symbols);\n let _evalInfo = this.constants.array(evalInfo);\n this.push(95 /* InvokePartial */, _meta, _symbols, _evalInfo);\n }\n resolveMaybeLocal(name) {\n this.push(96 /* ResolveMaybeLocal */, this.string(name));\n }\n // debugger\n debugger(symbols, evalInfo) {\n this.push(97 /* Debugger */, this.constants.stringArray(symbols), this.constants.array(evalInfo));\n }\n // dom\n text(text) {\n this.push(26 /* Text */, this.constants.string(text));\n }\n openPrimitiveElement(tag) {\n this.push(33 /* OpenElement */, this.constants.string(tag));\n }\n modifier(locator, params, hash) {\n this.pushFrame();\n this.compileArgs(params, hash, null, true);\n this.push(40 /* Modifier */, this.constants.handle(locator));\n this.popFrame();\n }\n comment(_comment) {\n let comment = this.constants.string(_comment);\n this.push(27 /* Comment */, comment);\n }\n dynamicAttr(_name, _namespace, trusting) {\n let name = this.constants.string(_name);\n let namespace = _namespace ? this.constants.string(_namespace) : 0;\n if (this.isComponentAttrs) {\n this.push(37 /* ComponentAttr */, name, trusting === true ? 1 : 0, namespace);\n } else {\n this.push(36 /* DynamicAttr */, name, trusting === true ? 1 : 0, namespace);\n }\n }\n staticAttr(_name, _namespace, _value) {\n let name = this.constants.string(_name);\n let namespace = _namespace ? this.constants.string(_namespace) : 0;\n if (this.isComponentAttrs) {\n this.pushPrimitiveReference(_value);\n this.push(37 /* ComponentAttr */, name, 1, namespace);\n } else {\n let value = this.constants.string(_value);\n this.push(35 /* StaticAttr */, name, value, namespace);\n }\n }\n // expressions\n hasBlockParams(to) {\n this.getBlock(to);\n this.resolveBlock();\n this.push(10 /* HasBlockParams */);\n }\n getProperty(key) {\n this.push(7 /* GetProperty */, this.string(key));\n }\n helper(helper, params, hash) {\n this.pushFrame();\n this.compileArgs(params, hash, null, true);\n this.push(1 /* Helper */, this.constants.handle(helper));\n this.popFrame();\n this.fetch(_vm.Register.v0);\n }\n bindDynamicScope(_names) {\n this.push(43 /* BindDynamicScope */, this.names(_names));\n }\n // convenience methods\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 replayable({ args, body }) {\n // Start a new label frame, to give END and RETURN\n // a unique meaning.\n this.startLabels();\n this.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 this.returnTo('ENDINITIAL');\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 let count = args();\n // 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 this.enter(count);\n // 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();\n // 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 this.label('FINALLY');\n // Finalize the DOM.\n this.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 this.return();\n // Cleanup code for the block. Runs on initial execution\n // but not on updating.\n this.label('ENDINITIAL');\n this.popFrame();\n this.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 replayableIf({ args, ifTrue, ifFalse }) {\n this.replayable({\n args,\n body: () => {\n // If the conditional is false, jump to the ELSE label.\n this.jumpUnless('ELSE');\n // Otherwise, execute the code associated with the true branch.\n ifTrue();\n // 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 this.jump('FINALLY');\n this.label('ELSE');\n // 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 if (ifFalse) {\n ifFalse();\n }\n }\n });\n }\n inlineBlock(block) {\n return new CompilableBlock(this.compiler, {\n block,\n containingLayout: this.containingLayout\n });\n }\n evalSymbols() {\n let { containingLayout: { block } } = this;\n return block.hasEval ? block.symbols : null;\n }\n compileParams(params) {\n if (!params) return 0;\n for (let i = 0; i < params.length; i++) {\n this.expr(params[i]);\n }\n return params.length;\n }\n compileArgs(params, hash, blocks, synthetic) {\n if (blocks) {\n this.pushYieldableBlock(blocks.main);\n this.pushYieldableBlock(blocks.else);\n this.pushYieldableBlock(blocks.attrs);\n }\n let count = this.compileParams(params);\n let flags = count << 4;\n if (synthetic) flags |= 0b1000;\n if (blocks) {\n flags |= 0b111;\n }\n let names = _util.EMPTY_ARRAY;\n if (hash) {\n names = hash[0];\n let val = hash[1];\n for (let i = 0; i < val.length; i++) {\n this.expr(val[i]);\n }\n }\n this.pushArgs(names, flags);\n }\n template(block) {\n if (!block) return null;\n return this.inlineBlock(block);\n }\n }\n class LazyOpcodeBuilder extends OpcodeBuilder {\n pushBlock(block) {\n if (block) {\n this.pushOther(block);\n } else {\n this.primitive(null);\n }\n }\n resolveBlock() {\n this.push(46 /* CompileBlock */);\n }\n pushLayout(layout) {\n if (layout) {\n this.pushOther(layout);\n } else {\n this.primitive(null);\n }\n }\n resolveLayout() {\n this.push(46 /* CompileBlock */);\n }\n invokeStatic(compilable) {\n this.pushOther(compilable);\n this.push(46 /* CompileBlock */);\n this.pushMachine(49 /* InvokeVirtual */);\n }\n pushOther(value) {\n this.push(12 /* Constant */, this.other(value));\n }\n other(value) {\n return this.constants.other(value);\n }\n }\n class EagerOpcodeBuilder extends OpcodeBuilder {\n pushBlock(block) {\n let handle = block ? block.compile() : null;\n this.primitive(handle);\n }\n resolveBlock() {\n return;\n }\n pushLayout(layout) {\n if (layout) {\n this.primitive(layout.compile());\n } else {\n this.primitive(null);\n }\n }\n resolveLayout() {}\n invokeStatic(compilable) {\n let handle = compilable.compile();\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 if (handle === PLACEHOLDER_HANDLE$1) {\n this.pushMachine(50 /* InvokeStatic */, () => compilable.compile());\n } else {\n this.pushMachine(50 /* InvokeStatic */, handle);\n }\n }\n }\n\n class LazyCompiler extends AbstractCompiler {\n // FIXME: turn to static method\n constructor(lookup, resolver, macros) {\n let constants = new _program.LazyConstants(resolver);\n let program = new _program.Program(constants);\n super(macros, program, lookup);\n }\n builderFor(containingLayout) {\n return new LazyOpcodeBuilder(this, containingLayout);\n }\n }\n\n class PartialDefinition {\n constructor(name, // for debugging\n template) {\n this.name = name;\n this.template = template;\n }\n getPartial() {\n let partial = this.template.asPartial();\n let handle = partial.compile();\n return { symbolTable: partial.symbolTable, handle };\n }\n }\n\n let clientId = 0;\n function templateFactory({ id: templateId, meta, block }) {\n let parsedBlock;\n let id = templateId || `client-${clientId++}`;\n let create = (compiler, envMeta) => {\n let newMeta = envMeta ? (0, _util.assign)({}, envMeta, meta) : meta;\n if (!parsedBlock) {\n parsedBlock = JSON.parse(block);\n }\n return new TemplateImpl(compiler, { id, block: parsedBlock, referrer: newMeta });\n };\n return { id, meta, create };\n }\n class TemplateImpl {\n constructor(compiler, parsedLayout) {\n this.compiler = compiler;\n this.parsedLayout = parsedLayout;\n this.layout = null;\n this.partial = null;\n this.wrappedLayout = null;\n let { block } = 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 asLayout() {\n if (this.layout) return this.layout;\n return this.layout = new CompilableProgram(this.compiler, Object.assign({}, this.parsedLayout, { asPartial: false }));\n }\n asPartial() {\n if (this.partial) return this.partial;\n return this.layout = new CompilableProgram(this.compiler, Object.assign({}, this.parsedLayout, { asPartial: true }));\n }\n asWrappedLayout() {\n if (this.wrappedLayout) return this.wrappedLayout;\n return this.wrappedLayout = new WrappedBuilder(this.compiler, Object.assign({}, this.parsedLayout, { asPartial: false }));\n }\n }\n\n exports.ATTRS_BLOCK = ATTRS_BLOCK;\n exports.Macros = Macros;\n exports.LazyCompiler = LazyCompiler;\n exports.compile = compile;\n exports.AbstractCompiler = AbstractCompiler;\n exports.debugCompiler = debugCompiler;\n exports.CompilableBlock = CompilableBlock;\n exports.CompilableProgram = CompilableProgram;\n exports.LazyOpcodeBuilder = LazyOpcodeBuilder;\n exports.EagerOpcodeBuilder = EagerOpcodeBuilder;\n exports.OpcodeBuilder = OpcodeBuilder;\n exports.StdOpcodeBuilder = StdOpcodeBuilder;\n exports.PartialDefinition = PartialDefinition;\n exports.templateFactory = templateFactory;\n exports.debug = debug;\n exports.debugSlice = debugSlice;\n exports.logOpcode = logOpcode;\n exports.WrappedBuilder = WrappedBuilder;\n exports.PLACEHOLDER_HANDLE = PLACEHOLDER_HANDLE;\n});","enifed('@glimmer/program', ['exports', '@glimmer/util'], function (exports) {\n 'use strict';\n\n exports.Opcode = exports.Program = exports.RuntimeProgram = exports.WriteOnlyProgram = exports.Heap = exports.LazyConstants = exports.Constants = exports.RuntimeConstants = exports.WriteOnlyConstants = exports.WELL_KNOWN_EMPTY_ARRAY_POSITION = undefined;\n\n\n const UNRESOLVED = {};\n const WELL_KNOWN_EMPTY_ARRAY_POSITION = 0;\n const WELL_KNOW_EMPTY_ARRAY = Object.freeze([]);\n class WriteOnlyConstants {\n constructor() {\n // `0` means NULL\n this.strings = [];\n this.arrays = [WELL_KNOW_EMPTY_ARRAY];\n this.tables = [];\n this.handles = [];\n this.resolved = [];\n this.numbers = [];\n }\n string(value) {\n let index = this.strings.indexOf(value);\n if (index > -1) {\n return index;\n }\n return this.strings.push(value) - 1;\n }\n stringArray(strings) {\n let _strings = new Array(strings.length);\n for (let i = 0; i < strings.length; i++) {\n _strings[i] = this.string(strings[i]);\n }\n return this.array(_strings);\n }\n array(values) {\n if (values.length === 0) {\n return WELL_KNOWN_EMPTY_ARRAY_POSITION;\n }\n let index = this.arrays.indexOf(values);\n if (index > -1) {\n return index;\n }\n return this.arrays.push(values) - 1;\n }\n handle(handle) {\n let index = this.handles.indexOf(handle);\n if (index > -1) {\n return index;\n }\n this.resolved.push(UNRESOLVED);\n return this.handles.push(handle) - 1;\n }\n serializable(value) {\n let str = JSON.stringify(value);\n let index = this.strings.indexOf(str);\n if (index > -1) {\n return index;\n }\n return this.strings.push(str) - 1;\n }\n number(number) {\n let index = this.numbers.indexOf(number);\n if (index > -1) {\n return index;\n }\n return this.numbers.push(number) - 1;\n }\n toPool() {\n return {\n strings: this.strings,\n arrays: this.arrays,\n handles: this.handles,\n numbers: this.numbers\n };\n }\n }\n class RuntimeConstants {\n constructor(resolver, pool) {\n this.resolver = resolver;\n this.strings = pool.strings;\n this.arrays = pool.arrays;\n this.handles = pool.handles;\n this.resolved = this.handles.map(() => UNRESOLVED);\n this.numbers = pool.numbers;\n }\n getString(value) {\n return this.strings[value];\n }\n getNumber(value) {\n return this.numbers[value];\n }\n getStringArray(value) {\n let names = this.getArray(value);\n let _names = new Array(names.length);\n for (let i = 0; i < names.length; i++) {\n let n = names[i];\n _names[i] = this.getString(n);\n }\n return _names;\n }\n getArray(value) {\n return this.arrays[value];\n }\n resolveHandle(index) {\n let resolved = this.resolved[index];\n if (resolved === UNRESOLVED) {\n let handle = this.handles[index];\n resolved = this.resolved[index] = this.resolver.resolve(handle);\n }\n return resolved;\n }\n getSerializable(s) {\n return JSON.parse(this.strings[s]);\n }\n }\n class Constants extends WriteOnlyConstants {\n constructor(resolver, pool) {\n super();\n this.resolver = resolver;\n if (pool) {\n this.strings = pool.strings;\n this.arrays = pool.arrays;\n this.handles = pool.handles;\n this.resolved = this.handles.map(() => UNRESOLVED);\n this.numbers = pool.numbers;\n }\n }\n getNumber(value) {\n return this.numbers[value];\n }\n getString(value) {\n return this.strings[value];\n }\n getStringArray(value) {\n let names = this.getArray(value);\n let _names = new Array(names.length);\n for (let i = 0; i < names.length; i++) {\n let n = names[i];\n _names[i] = this.getString(n);\n }\n return _names;\n }\n getArray(value) {\n return this.arrays[value];\n }\n resolveHandle(index) {\n let resolved = this.resolved[index];\n if (resolved === UNRESOLVED) {\n let handle = this.handles[index];\n resolved = this.resolved[index] = this.resolver.resolve(handle);\n }\n return resolved;\n }\n getSerializable(s) {\n return JSON.parse(this.strings[s]);\n }\n }\n class LazyConstants extends Constants {\n constructor() {\n super(...arguments);\n this.others = [];\n this.serializables = [];\n }\n serializable(value) {\n let index = this.serializables.indexOf(value);\n if (index > -1) {\n return index;\n }\n return this.serializables.push(value) - 1;\n }\n getSerializable(s) {\n return this.serializables[s];\n }\n getOther(value) {\n return this.others[value - 1];\n }\n other(other) {\n return this.others.push(other);\n }\n }\n\n class Opcode {\n constructor(heap) {\n this.heap = heap;\n this.offset = 0;\n }\n get size() {\n let rawType = this.heap.getbyaddr(this.offset);\n return ((rawType & 768 /* OPERAND_LEN_MASK */) >> 8 /* ARG_SHIFT */) + 1;\n }\n get isMachine() {\n let rawType = this.heap.getbyaddr(this.offset);\n return rawType & 1024 /* MACHINE_MASK */;\n }\n get type() {\n return this.heap.getbyaddr(this.offset) & 255 /* TYPE_MASK */;\n }\n get op1() {\n return this.heap.getbyaddr(this.offset + 1);\n }\n get op2() {\n return this.heap.getbyaddr(this.offset + 2);\n }\n get op3() {\n return this.heap.getbyaddr(this.offset + 3);\n }\n }\n\n function encodeTableInfo(size, scopeSize, state) {\n return size | scopeSize << 16 | state << 30;\n }\n function changeState(info, newState) {\n return info | newState << 30;\n }\n const PAGE_SIZE = 0x100000;\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) |\n * | ... | Handle | Size | Scope Size | State |\n * | ... | 32-bits | 16b | 14b | 2b |\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 class Heap {\n constructor(serializedHeap) {\n this.placeholders = [];\n this.offset = 0;\n this.handle = 0;\n this.capacity = PAGE_SIZE;\n if (serializedHeap) {\n let { buffer, table, handle } = serializedHeap;\n this.heap = new Uint16Array(buffer);\n this.table = table;\n this.offset = this.heap.length;\n this.handle = handle;\n this.capacity = 0;\n } else {\n this.heap = new Uint16Array(PAGE_SIZE);\n this.table = [];\n }\n }\n push(item) {\n this.sizeCheck();\n this.heap[this.offset++] = item;\n }\n sizeCheck() {\n if (this.capacity === 0) {\n let heap = slice(this.heap, 0, this.offset);\n this.heap = new Uint16Array(heap.length + PAGE_SIZE);\n this.heap.set(heap, 0);\n this.capacity = PAGE_SIZE;\n }\n this.capacity--;\n }\n getbyaddr(address) {\n return this.heap[address];\n }\n setbyaddr(address, value) {\n this.heap[address] = value;\n }\n malloc() {\n this.table.push(this.offset, 0);\n let handle = this.handle;\n this.handle += 2 /* ENTRY_SIZE */;\n return handle;\n }\n finishMalloc(handle, scopeSize) {\n let start = this.table[handle];\n let finish = this.offset;\n let instructionSize = finish - start;\n let info = encodeTableInfo(instructionSize, scopeSize, 0 /* Allocated */);\n this.table[handle + 1 /* INFO_OFFSET */] = info;\n }\n size() {\n return this.offset;\n }\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 getaddr(handle) {\n return this.table[handle];\n }\n gethandle(address) {\n this.table.push(address, encodeTableInfo(0, 0, 3 /* Pointer */));\n let handle = this.handle;\n this.handle += 2 /* ENTRY_SIZE */;\n return handle;\n }\n sizeof(handle) {\n return -1;\n }\n scopesizeof(handle) {\n let info = this.table[handle + 1 /* INFO_OFFSET */];\n return (info & 1073676288 /* SCOPE_MASK */) >> 16;\n }\n free(handle) {\n let info = this.table[handle + 1 /* INFO_OFFSET */];\n this.table[handle + 1 /* INFO_OFFSET */] = changeState(info, 1 /* Freed */);\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 compact() {\n let compactedSize = 0;\n let { table, table: { length }, heap } = this;\n for (let i = 0; i < length; i += 2 /* ENTRY_SIZE */) {\n let offset = table[i];\n let info = table[i + 1 /* INFO_OFFSET */];\n let size = info & 65535 /* SIZE_MASK */;\n let state = info & 3221225472 /* STATE_MASK */ >> 30;\n if (state === 2 /* Purged */) {\n continue;\n } else if (state === 1 /* Freed */) {\n // transition to \"already freed\" aka \"purged\"\n // a good improvement would be to reuse\n // these slots\n table[i + 1 /* INFO_OFFSET */] = changeState(info, 2 /* Purged */);\n compactedSize += size;\n } else if (state === 0 /* Allocated */) {\n for (let j = offset; j <= i + size; j++) {\n heap[j - compactedSize] = heap[j];\n }\n table[i] = offset - compactedSize;\n } else if (state === 3 /* Pointer */) {\n table[i] = offset - compactedSize;\n }\n }\n this.offset = this.offset - compactedSize;\n }\n pushPlaceholder(valueFunc) {\n this.sizeCheck();\n let address = this.offset++;\n this.heap[address] = 65535 /* MAX_SIZE */;\n this.placeholders.push([address, valueFunc]);\n }\n patchPlaceholders() {\n let { placeholders } = this;\n for (let i = 0; i < placeholders.length; i++) {\n let [address, getValue] = placeholders[i];\n\n this.setbyaddr(address, getValue());\n }\n }\n capture(offset = this.offset) {\n this.patchPlaceholders();\n // Only called in eager mode\n let buffer = slice(this.heap, 0, offset).buffer;\n return {\n handle: this.handle,\n table: this.table,\n buffer: buffer\n };\n }\n }\n class WriteOnlyProgram {\n constructor(constants = new WriteOnlyConstants(), heap = new Heap()) {\n this.constants = constants;\n this.heap = heap;\n this._opcode = new Opcode(this.heap);\n }\n opcode(offset) {\n this._opcode.offset = offset;\n return this._opcode;\n }\n }\n class RuntimeProgram {\n constructor(constants, heap) {\n this.constants = constants;\n this.heap = heap;\n this._opcode = new Opcode(this.heap);\n }\n static hydrate(rawHeap, pool, resolver) {\n let heap = new Heap(rawHeap);\n let constants = new RuntimeConstants(resolver, pool);\n return new RuntimeProgram(constants, heap);\n }\n opcode(offset) {\n this._opcode.offset = offset;\n return this._opcode;\n }\n }\n class Program extends WriteOnlyProgram {}\n function slice(arr, start, end) {\n if (arr.slice !== undefined) {\n return arr.slice(start, end);\n }\n let ret = new Uint16Array(end);\n for (; start < end; start++) {\n ret[start] = arr[start];\n }\n return ret;\n }\n\n exports.WELL_KNOWN_EMPTY_ARRAY_POSITION = WELL_KNOWN_EMPTY_ARRAY_POSITION;\n exports.WriteOnlyConstants = WriteOnlyConstants;\n exports.RuntimeConstants = RuntimeConstants;\n exports.Constants = Constants;\n exports.LazyConstants = LazyConstants;\n exports.Heap = Heap;\n exports.WriteOnlyProgram = WriteOnlyProgram;\n exports.RuntimeProgram = RuntimeProgram;\n exports.Program = Program;\n exports.Opcode = Opcode;\n});","enifed('@glimmer/reference', ['exports', '@glimmer/util'], function (exports, _util) {\n 'use strict';\n\n exports.isModified = exports.ReferenceCache = exports.map = exports.CachedReference = exports.UpdatableTag = exports.CachedTag = exports.combine = exports.combineSlice = exports.combineTagged = exports.DirtyableTag = exports.bump = exports.isConstTag = exports.isConst = exports.CURRENT_TAG = exports.VOLATILE_TAG = exports.CONSTANT_TAG = exports.TagWrapper = exports.RevisionTag = exports.VOLATILE = exports.INITIAL = exports.CONSTANT = exports.IteratorSynchronizer = exports.ReferenceIterator = exports.IterationArtifacts = exports.ListItem = exports.ConstReference = undefined;\n\n\n const CONSTANT = 0;\n const INITIAL = 1;\n const VOLATILE = NaN;\n class RevisionTag {\n validate(snapshot) {\n return this.value() === snapshot;\n }\n }\n RevisionTag.id = 0;\n const VALUE = [];\n const VALIDATE = [];\n class TagWrapper {\n constructor(type, inner) {\n this.type = type;\n this.inner = inner;\n }\n value() {\n let func = VALUE[this.type];\n return func(this.inner);\n }\n validate(snapshot) {\n let func = VALIDATE[this.type];\n return func(this.inner, snapshot);\n }\n }\n function register(Type) {\n let type = VALUE.length;\n VALUE.push(tag => tag.value());\n VALIDATE.push((tag, snapshot) => tag.validate(snapshot));\n Type.id = type;\n }\n ///\n // CONSTANT: 0\n VALUE.push(() => CONSTANT);\n VALIDATE.push((_tag, snapshot) => snapshot === CONSTANT);\n const CONSTANT_TAG = new TagWrapper(0, null);\n // VOLATILE: 1\n VALUE.push(() => VOLATILE);\n VALIDATE.push((_tag, snapshot) => snapshot === VOLATILE);\n const VOLATILE_TAG = new TagWrapper(1, null);\n // CURRENT: 2\n VALUE.push(() => $REVISION);\n VALIDATE.push((_tag, snapshot) => snapshot === $REVISION);\n const CURRENT_TAG = new TagWrapper(2, null);\n function isConst({ tag }) {\n return tag === CONSTANT_TAG;\n }\n function isConstTag(tag) {\n return tag === CONSTANT_TAG;\n }\n ///\n let $REVISION = INITIAL;\n function bump() {\n $REVISION++;\n }\n class DirtyableTag extends RevisionTag {\n static create(revision = $REVISION) {\n return new TagWrapper(this.id, new DirtyableTag(revision));\n }\n constructor(revision = $REVISION) {\n super();\n this.revision = revision;\n }\n value() {\n return this.revision;\n }\n dirty() {\n this.revision = ++$REVISION;\n }\n }\n register(DirtyableTag);\n function combineTagged(tagged) {\n let optimized = [];\n for (let i = 0, l = tagged.length; i < l; i++) {\n let tag = tagged[i].tag;\n if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n if (tag === CONSTANT_TAG) continue;\n optimized.push(tag);\n }\n return _combine(optimized);\n }\n function combineSlice(slice) {\n let optimized = [];\n let node = slice.head();\n while (node !== null) {\n let tag = node.tag;\n if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n if (tag !== CONSTANT_TAG) optimized.push(tag);\n node = slice.nextNode(node);\n }\n return _combine(optimized);\n }\n function combine(tags) {\n let optimized = [];\n for (let i = 0, l = tags.length; i < l; i++) {\n let tag = tags[i];\n if (tag === VOLATILE_TAG) return VOLATILE_TAG;\n if (tag === CONSTANT_TAG) continue;\n optimized.push(tag);\n }\n return _combine(optimized);\n }\n function _combine(tags) {\n switch (tags.length) {\n case 0:\n return CONSTANT_TAG;\n case 1:\n return tags[0];\n case 2:\n return TagsPair.create(tags[0], tags[1]);\n default:\n return TagsCombinator.create(tags);\n }\n }\n class CachedTag extends RevisionTag {\n constructor() {\n super(...arguments);\n this.lastChecked = null;\n this.lastValue = null;\n }\n value() {\n let { lastChecked, lastValue } = this;\n if (lastChecked !== $REVISION) {\n this.lastChecked = $REVISION;\n this.lastValue = lastValue = this.compute();\n }\n return this.lastValue;\n }\n invalidate() {\n this.lastChecked = null;\n }\n }\n class TagsPair extends CachedTag {\n static create(first, second) {\n return new TagWrapper(this.id, new TagsPair(first, second));\n }\n constructor(first, second) {\n super();\n this.first = first;\n this.second = second;\n }\n compute() {\n return Math.max(this.first.value(), this.second.value());\n }\n }\n register(TagsPair);\n class TagsCombinator extends CachedTag {\n static create(tags) {\n return new TagWrapper(this.id, new TagsCombinator(tags));\n }\n constructor(tags) {\n super();\n this.tags = tags;\n }\n compute() {\n let { tags } = this;\n let max = -1;\n for (let i = 0; i < tags.length; i++) {\n let value = tags[i].value();\n max = Math.max(value, max);\n }\n return max;\n }\n }\n register(TagsCombinator);\n class UpdatableTag extends CachedTag {\n static create(tag) {\n return new TagWrapper(this.id, new UpdatableTag(tag));\n }\n constructor(tag) {\n super();\n this.tag = tag;\n this.lastUpdated = INITIAL;\n }\n compute() {\n return Math.max(this.lastUpdated, this.tag.value());\n }\n update(tag) {\n if (tag !== this.tag) {\n this.tag = tag;\n this.lastUpdated = $REVISION;\n this.invalidate();\n }\n }\n }\n register(UpdatableTag);\n class CachedReference {\n constructor() {\n this.lastRevision = null;\n this.lastValue = null;\n }\n value() {\n let { tag, lastRevision, lastValue } = this;\n if (lastRevision === null || !tag.validate(lastRevision)) {\n lastValue = this.lastValue = this.compute();\n this.lastRevision = tag.value();\n }\n return lastValue;\n }\n invalidate() {\n this.lastRevision = null;\n }\n }\n class MapperReference extends CachedReference {\n constructor(reference, mapper) {\n super();\n this.tag = reference.tag;\n this.reference = reference;\n this.mapper = mapper;\n }\n compute() {\n let { reference, mapper } = this;\n return mapper(reference.value());\n }\n }\n function map(reference, mapper) {\n return new MapperReference(reference, mapper);\n }\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 peek() {\n if (!this.initialized) {\n return this.initialize();\n }\n return this.lastValue;\n }\n revalidate() {\n if (!this.initialized) {\n return this.initialize();\n }\n let { reference, lastRevision } = this;\n let tag = reference.tag;\n if (tag.validate(lastRevision)) return NOT_MODIFIED;\n this.lastRevision = tag.value();\n let { lastValue } = this;\n let value = reference.value();\n if (value === lastValue) return NOT_MODIFIED;\n this.lastValue = value;\n return value;\n }\n initialize() {\n let { reference } = this;\n let value = this.lastValue = reference.value();\n this.lastRevision = reference.tag.value();\n this.initialized = true;\n return value;\n }\n }\n const NOT_MODIFIED = 'adb3b78e-3d22-4e4b-877a-6317c2c5c145';\n function isModified(value) {\n return value !== NOT_MODIFIED;\n }\n\n class ConstReference {\n constructor(inner) {\n this.inner = inner;\n this.tag = CONSTANT_TAG;\n }\n value() {\n return this.inner;\n }\n }\n\n class ListItem extends _util.ListNode {\n constructor(iterable, result) {\n super(iterable.valueReferenceFor(result));\n this.retained = false;\n this.seen = false;\n this.key = result.key;\n this.iterable = iterable;\n this.memo = iterable.memoReferenceFor(result);\n }\n update(item) {\n this.retained = true;\n this.iterable.updateValueReference(this.value, item);\n this.iterable.updateMemoReference(this.memo, item);\n }\n shouldRemove() {\n return !this.retained;\n }\n reset() {\n this.retained = false;\n this.seen = false;\n }\n }\n class IterationArtifacts {\n constructor(iterable) {\n this.iterator = null;\n this.map = (0, _util.dict)();\n this.list = new _util.LinkedList();\n this.tag = iterable.tag;\n this.iterable = iterable;\n }\n isEmpty() {\n let iterator = this.iterator = this.iterable.iterate();\n return iterator.isEmpty();\n }\n iterate() {\n let iterator;\n if (this.iterator === null) {\n iterator = this.iterable.iterate();\n } else {\n iterator = this.iterator;\n }\n this.iterator = null;\n return iterator;\n }\n has(key) {\n return !!this.map[key];\n }\n get(key) {\n return this.map[key];\n }\n wasSeen(key) {\n let node = this.map[key];\n return node !== undefined && node.seen;\n }\n append(item) {\n let { map, list, iterable } = this;\n let node = map[item.key] = new ListItem(iterable, item);\n list.append(node);\n return node;\n }\n insertBefore(item, reference) {\n let { map, list, iterable } = this;\n let node = map[item.key] = new ListItem(iterable, item);\n node.retained = true;\n list.insertBefore(node, reference);\n return node;\n }\n move(item, reference) {\n let { list } = this;\n item.retained = true;\n list.remove(item);\n list.insertBefore(item, reference);\n }\n remove(item) {\n let { list } = this;\n list.remove(item);\n delete this.map[item.key];\n }\n nextNode(item) {\n return this.list.nextNode(item);\n }\n head() {\n return this.list.head();\n }\n }\n class ReferenceIterator {\n // if anyone needs to construct this object with something other than\n // an iterable, let @wycats know.\n constructor(iterable) {\n this.iterator = null;\n let artifacts = new IterationArtifacts(iterable);\n this.artifacts = artifacts;\n }\n next() {\n let { artifacts } = this;\n let iterator = this.iterator = this.iterator || artifacts.iterate();\n let item = iterator.next();\n if (item === null) return null;\n return artifacts.append(item);\n }\n }\n var Phase;\n (function (Phase) {\n Phase[Phase[\"Append\"] = 0] = \"Append\";\n Phase[Phase[\"Prune\"] = 1] = \"Prune\";\n Phase[Phase[\"Done\"] = 2] = \"Done\";\n })(Phase || (Phase = {}));\n class IteratorSynchronizer {\n constructor({ target, artifacts }) {\n this.target = target;\n this.artifacts = artifacts;\n this.iterator = artifacts.iterate();\n this.current = artifacts.head();\n }\n sync() {\n let phase = Phase.Append;\n while (true) {\n switch (phase) {\n case Phase.Append:\n phase = this.nextAppend();\n break;\n case Phase.Prune:\n phase = this.nextPrune();\n break;\n case Phase.Done:\n this.nextDone();\n return;\n }\n }\n }\n advanceToKey(key) {\n let { current, artifacts } = this;\n let seek = current;\n while (seek !== null && seek.key !== key) {\n seek.seen = true;\n seek = artifacts.nextNode(seek);\n }\n if (seek !== null) {\n this.current = artifacts.nextNode(seek);\n }\n }\n nextAppend() {\n let { iterator, current, artifacts } = this;\n let item = iterator.next();\n if (item === null) {\n return this.startPrune();\n }\n let { key } = item;\n if (current !== null && current.key === key) {\n this.nextRetain(item);\n } else if (artifacts.has(key)) {\n this.nextMove(item);\n } else {\n this.nextInsert(item);\n }\n return Phase.Append;\n }\n nextRetain(item) {\n let { artifacts, current } = this;\n current = current;\n current.update(item);\n this.current = artifacts.nextNode(current);\n this.target.retain(item.key, current.value, current.memo);\n }\n nextMove(item) {\n let { current, artifacts, target } = this;\n let { key } = item;\n let found = artifacts.get(item.key);\n found.update(item);\n if (artifacts.wasSeen(item.key)) {\n artifacts.move(found, current);\n target.move(found.key, found.value, found.memo, current ? current.key : null);\n } else {\n this.advanceToKey(key);\n }\n }\n nextInsert(item) {\n let { artifacts, target, current } = this;\n let node = artifacts.insertBefore(item, current);\n target.insert(node.key, node.value, node.memo, current ? current.key : null);\n }\n startPrune() {\n this.current = this.artifacts.head();\n return Phase.Prune;\n }\n nextPrune() {\n let { artifacts, target, current } = this;\n if (current === null) {\n return Phase.Done;\n }\n let node = current;\n this.current = artifacts.nextNode(node);\n if (node.shouldRemove()) {\n artifacts.remove(node);\n target.delete(node.key);\n } else {\n node.reset();\n }\n return Phase.Prune;\n }\n nextDone() {\n this.target.done();\n }\n }\n\n exports.ConstReference = ConstReference;\n exports.ListItem = ListItem;\n exports.IterationArtifacts = IterationArtifacts;\n exports.ReferenceIterator = ReferenceIterator;\n exports.IteratorSynchronizer = IteratorSynchronizer;\n exports.CONSTANT = CONSTANT;\n exports.INITIAL = INITIAL;\n exports.VOLATILE = VOLATILE;\n exports.RevisionTag = RevisionTag;\n exports.TagWrapper = TagWrapper;\n exports.CONSTANT_TAG = CONSTANT_TAG;\n exports.VOLATILE_TAG = VOLATILE_TAG;\n exports.CURRENT_TAG = CURRENT_TAG;\n exports.isConst = isConst;\n exports.isConstTag = isConstTag;\n exports.bump = bump;\n exports.DirtyableTag = DirtyableTag;\n exports.combineTagged = combineTagged;\n exports.combineSlice = combineSlice;\n exports.combine = combine;\n exports.CachedTag = CachedTag;\n exports.UpdatableTag = UpdatableTag;\n exports.CachedReference = CachedReference;\n exports.map = map;\n exports.ReferenceCache = ReferenceCache;\n exports.isModified = isModified;\n});","enifed('@glimmer/runtime', ['exports', '@glimmer/util', '@glimmer/reference', '@glimmer/vm', '@glimmer/low-level'], function (exports, _util, _reference, _vm2, _lowLevel) {\n 'use strict';\n\n exports.hasCapability = exports.capabilityFlagsFrom = exports.Cursor = exports.ConcreteBounds = exports.RehydrateBuilder = exports.rehydrationBuilder = exports.clientBuilder = exports.NewElementBuilder = exports.normalizeProperty = exports.insertHTMLBefore = exports.isWhitespace = exports.DOMTreeConstruction = exports.IDOMChanges = exports.SVG_NAMESPACE = exports.DOMChanges = exports.curry = exports.isCurriedComponentDefinition = exports.CurriedComponentDefinition = exports.MINIMAL_CAPABILITIES = exports.DEFAULT_CAPABILITIES = exports.DefaultEnvironment = exports.Environment = exports.Scope = exports.EMPTY_ARGS = exports.DynamicAttribute = exports.SimpleDynamicAttribute = exports.RenderResult = exports.UpdatingVM = exports.LowLevelVM = exports.getDynamicVar = exports.resetDebuggerCallback = exports.setDebuggerCallback = exports.ConditionalReference = exports.PrimitiveReference = exports.UNDEFINED_REFERENCE = exports.NULL_REFERENCE = exports.renderMain = undefined;\n\n\n // these import bindings will be stripped from build\n\n class AppendOpcodes {\n constructor() {\n this.evaluateOpcode = (0, _util.fillNulls)(98 /* Size */).slice();\n }\n add(name, evaluate, kind = 'syscall') {\n this.evaluateOpcode[name] = { syscall: kind === 'syscall', evaluate };\n }\n debugBefore(vm, opcode, type) {\n let sp;\n let state;\n\n return { sp: sp, state };\n }\n debugAfter(vm, opcode, type, pre) {\n let expectedChange;\n let { sp, state } = pre;\n let metadata = null;\n if (metadata !== null) {\n if (typeof metadata.stackChange === 'number') {\n expectedChange = metadata.stackChange;\n } else {\n expectedChange = metadata.stackChange({ opcode, constants: vm.constants, state });\n if (isNaN(expectedChange)) throw (0, _util.unreachable)();\n }\n }\n }\n evaluate(vm, opcode, type) {\n let operation = this.evaluateOpcode[type];\n if (operation.syscall) {\n\n operation.evaluate(vm, opcode);\n } else {\n\n operation.evaluate(vm.inner, opcode);\n }\n }\n }\n const APPEND_OPCODES = new AppendOpcodes();\n class AbstractOpcode {\n constructor() {\n (0, _util.initializeGuid)(this);\n }\n }\n class UpdatingOpcode extends AbstractOpcode {\n constructor() {\n super(...arguments);\n this.next = null;\n this.prev = null;\n }\n }\n\n class PrimitiveReference extends _reference.ConstReference {\n constructor(value) {\n super(value);\n }\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 get(_key) {\n return UNDEFINED_REFERENCE;\n }\n }\n class StringReference extends PrimitiveReference {\n constructor() {\n super(...arguments);\n this.lengthReference = null;\n }\n get(key) {\n if (key === 'length') {\n let { lengthReference } = this;\n if (lengthReference === null) {\n lengthReference = this.lengthReference = new ValueReference(this.inner.length);\n }\n return lengthReference;\n } else {\n return super.get(key);\n }\n }\n }\n class ValueReference extends PrimitiveReference {\n constructor(value) {\n super(value);\n }\n }\n const UNDEFINED_REFERENCE = new ValueReference(undefined);\n const NULL_REFERENCE = new ValueReference(null);\n const TRUE_REFERENCE = new ValueReference(true);\n const FALSE_REFERENCE = new ValueReference(false);\n class ConditionalReference {\n constructor(inner) {\n this.inner = inner;\n this.tag = inner.tag;\n }\n value() {\n return this.toBool(this.inner.value());\n }\n toBool(value) {\n return !!value;\n }\n }\n\n class ConcatReference extends _reference.CachedReference {\n constructor(parts) {\n super();\n this.parts = parts;\n this.tag = (0, _reference.combineTagged)(parts);\n }\n compute() {\n let parts = new Array();\n for (let i = 0; i < this.parts.length; i++) {\n let value = this.parts[i].value();\n if (value !== null && value !== undefined) {\n parts[i] = castToString(value);\n }\n }\n if (parts.length > 0) {\n return parts.join('');\n }\n return null;\n }\n }\n function castToString(value) {\n if (typeof value.toString !== 'function') {\n return '';\n }\n return String(value);\n }\n\n APPEND_OPCODES.add(1 /* Helper */, (vm, { op1: handle }) => {\n let stack = vm.stack;\n let helper = vm.constants.resolveHandle(handle);\n let args = stack.pop();\n let value = helper(vm, args);\n vm.loadValue(_vm2.Register.v0, value);\n });\n APPEND_OPCODES.add(6 /* GetVariable */, (vm, { op1: symbol }) => {\n let expr = vm.referenceForSymbol(symbol);\n vm.stack.push(expr);\n });\n APPEND_OPCODES.add(4 /* SetVariable */, (vm, { op1: symbol }) => {\n let expr = vm.stack.pop();\n vm.scope().bindSymbol(symbol, expr);\n });\n APPEND_OPCODES.add(5 /* SetBlock */, (vm, { op1: symbol }) => {\n let handle = vm.stack.pop();\n let scope = vm.stack.pop(); // FIXME(mmun): shouldn't need to cast this\n let table = vm.stack.pop();\n let block = table ? [handle, scope, table] : null;\n vm.scope().bindBlock(symbol, block);\n });\n APPEND_OPCODES.add(96 /* ResolveMaybeLocal */, (vm, { op1: _name }) => {\n let name = vm.constants.getString(_name);\n let locals = vm.scope().getPartialMap();\n let ref = locals[name];\n if (ref === undefined) {\n ref = vm.getSelf().get(name);\n }\n vm.stack.push(ref);\n });\n APPEND_OPCODES.add(20 /* RootScope */, (vm, { op1: symbols, op2: bindCallerScope }) => {\n vm.pushRootScope(symbols, !!bindCallerScope);\n });\n APPEND_OPCODES.add(7 /* GetProperty */, (vm, { op1: _key }) => {\n let key = vm.constants.getString(_key);\n let expr = vm.stack.pop();\n vm.stack.push(expr.get(key));\n });\n APPEND_OPCODES.add(8 /* GetBlock */, (vm, { op1: _block }) => {\n let { stack } = vm;\n let block = vm.scope().getBlock(_block);\n if (block) {\n stack.push(block[2]);\n stack.push(block[1]);\n stack.push(block[0]);\n } else {\n stack.push(null);\n stack.push(null);\n stack.push(null);\n }\n });\n APPEND_OPCODES.add(9 /* HasBlock */, (vm, { op1: _block }) => {\n let hasBlock = !!vm.scope().getBlock(_block);\n vm.stack.push(hasBlock ? TRUE_REFERENCE : FALSE_REFERENCE);\n });\n APPEND_OPCODES.add(10 /* HasBlockParams */, vm => {\n // FIXME(mmun): should only need to push the symbol table\n let block = vm.stack.pop();\n let scope = vm.stack.pop();\n\n let table = vm.stack.pop();\n\n let hasBlockParams = table && table.parameters.length;\n vm.stack.push(hasBlockParams ? TRUE_REFERENCE : FALSE_REFERENCE);\n });\n APPEND_OPCODES.add(11 /* Concat */, (vm, { op1: count }) => {\n let out = new Array(count);\n for (let i = count; i > 0; i--) {\n let offset = i - 1;\n out[offset] = vm.stack.pop();\n }\n vm.stack.push(new ConcatReference(out));\n });\n\n const CURRIED_COMPONENT_DEFINITION_BRAND = 'CURRIED COMPONENT DEFINITION [id=6f00feb9-a0ef-4547-99ea-ac328f80acea]';\n function isCurriedComponentDefinition(definition) {\n return !!(definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND]);\n }\n function isComponentDefinition(definition) {\n return definition && definition[CURRIED_COMPONENT_DEFINITION_BRAND];\n }\n class CurriedComponentDefinition {\n /** @internal */\n constructor(inner, args) {\n this.inner = inner;\n this.args = args;\n this[CURRIED_COMPONENT_DEFINITION_BRAND] = true;\n }\n unwrap(args) {\n args.realloc(this.offset);\n let definition = this;\n while (true) {\n let { args: curriedArgs, inner } = definition;\n if (curriedArgs) {\n args.positional.prepend(curriedArgs.positional);\n args.named.merge(curriedArgs.named);\n }\n if (!isCurriedComponentDefinition(inner)) {\n return inner;\n }\n definition = inner;\n }\n }\n /** @internal */\n get offset() {\n let { inner, args } = this;\n let length = args ? args.positional.length : 0;\n return isCurriedComponentDefinition(inner) ? length + inner.offset : length;\n }\n }\n function curry(spec, args = null) {\n return new CurriedComponentDefinition(spec, args);\n }\n\n function normalizeStringValue(value) {\n if (isEmpty(value)) {\n return '';\n }\n return String(value);\n }\n function shouldCoerce(value) {\n return isString(value) || isEmpty(value) || typeof value === 'boolean' || typeof value === 'number';\n }\n function isEmpty(value) {\n return value === null || value === undefined || typeof value.toString !== 'function';\n }\n function isSafeString(value) {\n return typeof value === 'object' && value !== null && typeof value.toHTML === 'function';\n }\n function isNode(value) {\n return typeof value === 'object' && value !== null && typeof value.nodeType === 'number';\n }\n function isFragment(value) {\n return isNode(value) && value.nodeType === 11;\n }\n function isString(value) {\n return typeof value === 'string';\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 = this.tag.value();\n }\n evaluate() {\n let { reference, tag } = this;\n if (!tag.validate(this.lastRevision)) {\n this.lastRevision = tag.value();\n this.update(reference.value());\n }\n }\n update(value) {\n let { lastValue } = this;\n if (value === lastValue) return;\n let normalized;\n if (isEmpty(value)) {\n normalized = '';\n } else if (isString(value)) {\n normalized = value;\n } else {\n normalized = String(value);\n }\n if (normalized !== lastValue) {\n let textNode = this.node;\n textNode.nodeValue = this.lastValue = normalized;\n }\n }\n }\n\n class IsCurriedComponentDefinitionReference extends ConditionalReference {\n static create(inner) {\n return new IsCurriedComponentDefinitionReference(inner);\n }\n toBool(value) {\n return isCurriedComponentDefinition(value);\n }\n }\n class ContentTypeReference {\n constructor(inner) {\n this.inner = inner;\n this.tag = inner.tag;\n }\n value() {\n let value = this.inner.value();\n if (shouldCoerce(value)) {\n return 1 /* String */;\n } else if (isComponentDefinition(value)) {\n return 0 /* Component */;\n } else if (isSafeString(value)) {\n return 3 /* SafeString */;\n } else if (isFragment(value)) {\n return 4 /* Fragment */;\n } else if (isNode(value)) {\n return 5 /* Node */;\n } else {\n return 1 /* String */;\n }\n }\n }\n APPEND_OPCODES.add(28 /* AppendHTML */, vm => {\n let reference = vm.stack.pop();\n let rawValue = reference.value();\n let value = isEmpty(rawValue) ? '' : String(rawValue);\n vm.elements().appendDynamicHTML(value);\n });\n APPEND_OPCODES.add(29 /* AppendSafeHTML */, vm => {\n let reference = vm.stack.pop();\n let rawValue = reference.value().toHTML();\n let value = isEmpty(rawValue) ? '' : rawValue;\n vm.elements().appendDynamicHTML(value);\n });\n APPEND_OPCODES.add(32 /* AppendText */, vm => {\n let reference = vm.stack.pop();\n let rawValue = reference.value();\n let value = isEmpty(rawValue) ? '' : String(rawValue);\n let node = vm.elements().appendDynamicText(value);\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(new DynamicTextContent(node, reference, value));\n }\n });\n APPEND_OPCODES.add(30 /* AppendDocumentFragment */, vm => {\n let reference = vm.stack.pop();\n let value = reference.value();\n vm.elements().appendDynamicFragment(value);\n });\n APPEND_OPCODES.add(31 /* AppendNode */, vm => {\n let reference = vm.stack.pop();\n let value = reference.value();\n vm.elements().appendDynamicNode(value);\n });\n\n APPEND_OPCODES.add(22 /* ChildScope */, vm => vm.pushChildScope());\n APPEND_OPCODES.add(23 /* PopScope */, vm => vm.popScope());\n APPEND_OPCODES.add(44 /* PushDynamicScope */, vm => vm.pushDynamicScope());\n APPEND_OPCODES.add(45 /* PopDynamicScope */, vm => vm.popDynamicScope());\n APPEND_OPCODES.add(12 /* Constant */, (vm, { op1: other }) => {\n vm.stack.push(vm.constants.getOther(other));\n });\n APPEND_OPCODES.add(13 /* Primitive */, (vm, { op1: primitive }) => {\n let stack = vm.stack;\n let flag = primitive & 7; // 111\n let value = primitive >> 3;\n switch (flag) {\n case 0 /* NUMBER */:\n stack.push(value);\n break;\n case 1 /* FLOAT */:\n stack.push(vm.constants.getNumber(value));\n break;\n case 2 /* STRING */:\n stack.push(vm.constants.getString(value));\n break;\n case 3 /* BOOLEAN_OR_VOID */:\n stack.pushEncodedImmediate(primitive);\n break;\n case 4 /* NEGATIVE */:\n stack.push(vm.constants.getNumber(value));\n break;\n case 5 /* BIG_NUM */:\n stack.push(vm.constants.getNumber(value));\n break;\n }\n });\n APPEND_OPCODES.add(14 /* PrimitiveReference */, vm => {\n let stack = vm.stack;\n stack.push(PrimitiveReference.create(stack.pop()));\n });\n APPEND_OPCODES.add(15 /* ReifyU32 */, vm => {\n let stack = vm.stack;\n stack.push(stack.peek().value());\n });\n APPEND_OPCODES.add(16 /* Dup */, (vm, { op1: register, op2: offset }) => {\n let position = vm.fetchValue(register) - offset;\n vm.stack.dup(position);\n });\n APPEND_OPCODES.add(17 /* Pop */, (vm, { op1: count }) => {\n vm.stack.pop(count);\n });\n APPEND_OPCODES.add(18 /* Load */, (vm, { op1: register }) => {\n vm.load(register);\n });\n APPEND_OPCODES.add(19 /* Fetch */, (vm, { op1: register }) => {\n vm.fetch(register);\n });\n APPEND_OPCODES.add(43 /* BindDynamicScope */, (vm, { op1: _names }) => {\n let names = vm.constants.getArray(_names);\n vm.bindDynamicScope(names);\n });\n APPEND_OPCODES.add(61 /* Enter */, (vm, { op1: args }) => {\n vm.enter(args);\n });\n APPEND_OPCODES.add(62 /* Exit */, vm => {\n vm.exit();\n });\n APPEND_OPCODES.add(48 /* PushSymbolTable */, (vm, { op1: _table }) => {\n let stack = vm.stack;\n stack.push(vm.constants.getSerializable(_table));\n });\n APPEND_OPCODES.add(47 /* PushBlockScope */, vm => {\n let stack = vm.stack;\n stack.push(vm.scope());\n });\n APPEND_OPCODES.add(46 /* CompileBlock */, vm => {\n let stack = vm.stack;\n let block = stack.pop();\n if (block) {\n stack.pushSmi(block.compile());\n } else {\n stack.pushNull();\n }\n });\n APPEND_OPCODES.add(51 /* InvokeYield */, vm => {\n let { stack } = vm;\n let handle = stack.pop();\n let scope = stack.pop(); // FIXME(mmun): shouldn't need to cast this\n let table = stack.pop();\n\n let args = stack.pop();\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 return;\n }\n let invokingScope = scope;\n // If necessary, create a child scope\n {\n let locals = table.parameters;\n let localsCount = locals.length;\n if (localsCount > 0) {\n invokingScope = invokingScope.child();\n for (let i = 0; i < localsCount; i++) {\n invokingScope.bindSymbol(locals[i], args.at(i));\n }\n }\n }\n vm.pushFrame();\n vm.pushScope(invokingScope);\n vm.call(handle);\n });\n APPEND_OPCODES.add(53 /* JumpIf */, (vm, { op1: target }) => {\n let reference = vm.stack.pop();\n if ((0, _reference.isConst)(reference)) {\n if (reference.value()) {\n vm.goto(target);\n }\n } else {\n let cache = new _reference.ReferenceCache(reference);\n if (cache.peek()) {\n vm.goto(target);\n }\n vm.updateWith(new Assert(cache));\n }\n });\n APPEND_OPCODES.add(54 /* JumpUnless */, (vm, { op1: target }) => {\n let reference = vm.stack.pop();\n if ((0, _reference.isConst)(reference)) {\n if (!reference.value()) {\n vm.goto(target);\n }\n } else {\n let cache = new _reference.ReferenceCache(reference);\n if (!cache.peek()) {\n vm.goto(target);\n }\n vm.updateWith(new Assert(cache));\n }\n });\n APPEND_OPCODES.add(55 /* JumpEq */, (vm, { op1: target, op2: comparison }) => {\n let other = vm.stack.peek();\n if (other === comparison) {\n vm.goto(target);\n }\n });\n APPEND_OPCODES.add(56 /* AssertSame */, vm => {\n let reference = vm.stack.peek();\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(Assert.initialize(new _reference.ReferenceCache(reference)));\n }\n });\n APPEND_OPCODES.add(63 /* ToBoolean */, vm => {\n let { env, stack } = vm;\n stack.push(env.toConditionalReference(stack.pop()));\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 static initialize(cache) {\n let assert = new Assert(cache);\n cache.peek();\n return assert;\n }\n evaluate(vm) {\n let { cache } = this;\n if ((0, _reference.isModified)(cache.revalidate())) {\n vm.throw();\n }\n }\n }\n class JumpIfNotModifiedOpcode extends UpdatingOpcode {\n constructor(tag, target) {\n super();\n this.target = target;\n this.type = 'jump-if-not-modified';\n this.tag = tag;\n this.lastRevision = tag.value();\n }\n evaluate(vm) {\n let { tag, target, lastRevision } = this;\n if (!vm.alwaysRevalidate && tag.validate(lastRevision)) {\n vm.goto(target);\n }\n }\n didModify() {\n this.lastRevision = this.tag.value();\n }\n }\n class DidModifyOpcode extends UpdatingOpcode {\n constructor(target) {\n super();\n this.target = target;\n this.type = 'did-modify';\n this.tag = _reference.CONSTANT_TAG;\n }\n evaluate() {\n this.target.didModify();\n }\n }\n class LabelOpcode {\n constructor(label) {\n this.tag = _reference.CONSTANT_TAG;\n this.type = 'label';\n this.label = null;\n this.prev = null;\n this.next = null;\n (0, _util.initializeGuid)(this);\n this.label = label;\n }\n evaluate() {}\n inspect() {\n return `${this.label} [${this._guid}]`;\n }\n }\n\n APPEND_OPCODES.add(26 /* Text */, (vm, { op1: text }) => {\n vm.elements().appendText(vm.constants.getString(text));\n });\n APPEND_OPCODES.add(27 /* Comment */, (vm, { op1: text }) => {\n vm.elements().appendComment(vm.constants.getString(text));\n });\n APPEND_OPCODES.add(33 /* OpenElement */, (vm, { op1: tag }) => {\n vm.elements().openElement(vm.constants.getString(tag));\n });\n APPEND_OPCODES.add(34 /* OpenDynamicElement */, vm => {\n let tagName = vm.stack.pop().value();\n vm.elements().openElement(tagName);\n });\n APPEND_OPCODES.add(41 /* PushRemoteElement */, vm => {\n let elementRef = vm.stack.pop();\n let nextSiblingRef = vm.stack.pop();\n let guidRef = vm.stack.pop();\n let element;\n let nextSibling;\n let guid = guidRef.value();\n if ((0, _reference.isConst)(elementRef)) {\n element = elementRef.value();\n } else {\n let cache = new _reference.ReferenceCache(elementRef);\n element = cache.peek();\n vm.updateWith(new Assert(cache));\n }\n if ((0, _reference.isConst)(nextSiblingRef)) {\n nextSibling = nextSiblingRef.value();\n } else {\n let cache = new _reference.ReferenceCache(nextSiblingRef);\n nextSibling = cache.peek();\n vm.updateWith(new Assert(cache));\n }\n vm.elements().pushRemoteElement(element, guid, nextSibling);\n });\n APPEND_OPCODES.add(42 /* PopRemoteElement */, vm => {\n vm.elements().popRemoteElement();\n });\n APPEND_OPCODES.add(38 /* FlushElement */, vm => {\n let operations = vm.fetchValue(_vm2.Register.t0);\n if (operations) {\n operations.flush(vm);\n vm.loadValue(_vm2.Register.t0, null);\n }\n vm.elements().flushElement();\n });\n APPEND_OPCODES.add(39 /* CloseElement */, vm => {\n vm.elements().closeElement();\n });\n APPEND_OPCODES.add(40 /* Modifier */, (vm, { op1: handle }) => {\n let { manager, state } = vm.constants.resolveHandle(handle);\n let stack = vm.stack;\n let args = stack.pop();\n let { element, updateOperations } = vm.elements();\n let dynamicScope = vm.dynamicScope();\n let modifier = manager.create(element, state, args, dynamicScope, updateOperations);\n vm.env.scheduleInstallModifier(modifier, manager);\n let destructor = manager.getDestructor(modifier);\n if (destructor) {\n vm.newDestroyable(destructor);\n }\n let tag = manager.getTag(modifier);\n if (!(0, _reference.isConstTag)(tag)) {\n vm.updateWith(new UpdateModifierOpcode(tag, manager, modifier));\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 = tag.value();\n }\n evaluate(vm) {\n let { manager, modifier, tag, lastUpdated } = this;\n if (!tag.validate(lastUpdated)) {\n vm.env.scheduleUpdateModifier(modifier, manager);\n this.lastUpdated = tag.value();\n }\n }\n }\n APPEND_OPCODES.add(35 /* StaticAttr */, (vm, { op1: _name, op2: _value, op3: _namespace }) => {\n let name = vm.constants.getString(_name);\n let value = vm.constants.getString(_value);\n let namespace = _namespace ? vm.constants.getString(_namespace) : null;\n vm.elements().setStaticAttribute(name, value, namespace);\n });\n APPEND_OPCODES.add(36 /* DynamicAttr */, (vm, { op1: _name, op2: trusting, op3: _namespace }) => {\n let name = vm.constants.getString(_name);\n let reference = vm.stack.pop();\n let value = reference.value();\n let namespace = _namespace ? vm.constants.getString(_namespace) : null;\n let attribute = vm.elements().setDynamicAttribute(name, value, !!trusting, namespace);\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\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 this.tag = reference.tag;\n this.lastRevision = this.tag.value();\n }\n evaluate(vm) {\n let { attribute, reference, tag } = this;\n if (!tag.validate(this.lastRevision)) {\n this.lastRevision = tag.value();\n attribute.update(reference.value(), vm.env);\n }\n }\n }\n\n function resolveComponent(resolver, name, meta) {\n let definition = resolver.lookupComponentDefinition(name, meta);\n\n return definition;\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 value() {\n let { inner, lastValue } = this;\n let value = inner.value();\n if (value === lastValue) {\n return this.lastDefinition;\n }\n let definition = null;\n if (isCurriedComponentDefinition(value)) {\n definition = value;\n } else if (typeof value === 'string' && value) {\n let { resolver, meta } = this;\n definition = resolveComponent(resolver, value, meta);\n }\n definition = this.curry(definition);\n this.lastValue = value;\n this.lastDefinition = definition;\n return definition;\n }\n get() {\n return UNDEFINED_REFERENCE;\n }\n curry(definition) {\n let { args } = this;\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 class ClassListReference {\n constructor(list) {\n this.list = list;\n this.tag = (0, _reference.combineTagged)(list);\n this.list = list;\n }\n value() {\n let ret = [];\n let { list } = this;\n for (let i = 0; i < list.length; i++) {\n let value = normalizeStringValue(list[i].value());\n if (value) ret.push(value);\n }\n return ret.length === 0 ? null : ret.join(' ');\n }\n }\n\n /**\n * Converts a ComponentCapabilities object into a 32-bit integer representation.\n */\n function capabilityFlagsFrom(capabilities) {\n return 0 | (capabilities.dynamicLayout ? 1 /* DynamicLayout */ : 0) | (capabilities.dynamicTag ? 2 /* DynamicTag */ : 0) | (capabilities.prepareArgs ? 4 /* PrepareArgs */ : 0) | (capabilities.createArgs ? 8 /* CreateArgs */ : 0) | (capabilities.attributeHook ? 16 /* AttributeHook */ : 0) | (capabilities.elementHook ? 32 /* ElementHook */ : 0) | (capabilities.dynamicScope ? 64 /* DynamicScope */ : 0) | (capabilities.createCaller ? 128 /* CreateCaller */ : 0) | (capabilities.updateHook ? 256 /* UpdateHook */ : 0) | (capabilities.createInstance ? 512 /* CreateInstance */ : 0);\n }\n function hasCapability(capabilities, capability) {\n return !!(capabilities & capability);\n }\n\n APPEND_OPCODES.add(69 /* IsComponent */, vm => {\n let stack = vm.stack;\n let ref = stack.pop();\n stack.push(IsCurriedComponentDefinitionReference.create(ref));\n });\n APPEND_OPCODES.add(70 /* ContentType */, vm => {\n let stack = vm.stack;\n let ref = stack.peek();\n stack.push(new ContentTypeReference(ref));\n });\n APPEND_OPCODES.add(71 /* CurryComponent */, (vm, { op1: _meta }) => {\n let stack = vm.stack;\n let definition = stack.pop();\n let capturedArgs = stack.pop();\n let meta = vm.constants.getSerializable(_meta);\n let resolver = vm.constants.resolver;\n vm.loadValue(_vm2.Register.v0, new CurryComponentReference(definition, resolver, meta, capturedArgs));\n // expectStackChange(vm.stack, -args.length - 1, 'CurryComponent');\n });\n APPEND_OPCODES.add(72 /* PushComponentDefinition */, (vm, { op1: handle }) => {\n let definition = vm.constants.resolveHandle(handle);\n\n let { manager } = definition;\n let capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n let instance = {\n definition,\n manager,\n capabilities,\n state: null,\n handle: null,\n table: null,\n lookup: null\n };\n vm.stack.push(instance);\n });\n APPEND_OPCODES.add(75 /* ResolveDynamicComponent */, (vm, { op1: _meta }) => {\n let stack = vm.stack;\n let component = stack.pop().value();\n let meta = vm.constants.getSerializable(_meta);\n vm.loadValue(_vm2.Register.t1, null); // Clear the temp register\n let definition;\n if (typeof component === 'string') {\n let { constants: { resolver } } = vm;\n let resolvedDefinition = resolveComponent(resolver, component, meta);\n definition = resolvedDefinition;\n } else if (isCurriedComponentDefinition(component)) {\n definition = component;\n } else {\n throw (0, _util.unreachable)();\n }\n stack.push(definition);\n });\n APPEND_OPCODES.add(73 /* PushDynamicComponentInstance */, vm => {\n let { stack } = vm;\n let definition = stack.pop();\n let capabilities, manager;\n if (isCurriedComponentDefinition(definition)) {\n manager = capabilities = null;\n } else {\n manager = definition.manager;\n capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n }\n stack.push({ definition, capabilities, manager, state: null, handle: null, table: null });\n });\n APPEND_OPCODES.add(74 /* PushCurriedComponent */, (vm, { op1: _meta }) => {\n let stack = vm.stack;\n let component = stack.pop().value();\n let definition;\n if (isCurriedComponentDefinition(component)) {\n definition = component;\n } else {\n throw (0, _util.unreachable)();\n }\n stack.push(definition);\n });\n APPEND_OPCODES.add(76 /* PushArgs */, (vm, { op1: _names, op2: flags }) => {\n let stack = vm.stack;\n let names = vm.constants.getStringArray(_names);\n let positionalCount = flags >> 4;\n let synthetic = flags & 0b1000;\n let blockNames = [];\n if (flags & 0b0100) blockNames.push('main');\n if (flags & 0b0010) blockNames.push('else');\n if (flags & 0b0001) blockNames.push('attrs');\n vm.args.setup(stack, names, blockNames, positionalCount, !!synthetic);\n stack.push(vm.args);\n });\n APPEND_OPCODES.add(77 /* PushEmptyArgs */, vm => {\n let { stack } = vm;\n stack.push(vm.args.empty(stack));\n });\n APPEND_OPCODES.add(80 /* CaptureArgs */, vm => {\n let stack = vm.stack;\n let args = stack.pop();\n let capturedArgs = args.capture();\n stack.push(capturedArgs);\n });\n APPEND_OPCODES.add(79 /* PrepareArgs */, (vm, { op1: _state }) => {\n let stack = vm.stack;\n let instance = vm.fetchValue(_state);\n let args = stack.pop();\n let { definition } = instance;\n if (isCurriedComponentDefinition(definition)) {\n\n definition = resolveCurriedComponentDefinition(instance, definition, args);\n }\n let { manager, state } = definition;\n let capabilities = instance.capabilities;\n if (hasCapability(capabilities, 4 /* PrepareArgs */) !== true) {\n stack.push(args);\n return;\n }\n let blocks = args.blocks.values;\n let blockNames = args.blocks.names;\n let preparedArgs = manager.prepareArgs(state, args);\n if (preparedArgs) {\n args.clear();\n for (let i = 0; i < blocks.length; i++) {\n stack.push(blocks[i]);\n }\n let { positional, named } = preparedArgs;\n let positionalCount = positional.length;\n for (let i = 0; i < positionalCount; i++) {\n stack.push(positional[i]);\n }\n let names = Object.keys(named);\n for (let i = 0; i < names.length; i++) {\n stack.push(named[names[i]]);\n }\n args.setup(stack, names, blockNames, positionalCount, true);\n }\n stack.push(args);\n });\n function resolveCurriedComponentDefinition(instance, definition, args) {\n let unwrappedDefinition = instance.definition = definition.unwrap(args);\n let { manager, state } = unwrappedDefinition;\n\n instance.manager = manager;\n instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(state));\n return unwrappedDefinition;\n }\n APPEND_OPCODES.add(81 /* CreateComponent */, (vm, { op1: flags, op2: _state }) => {\n let instance = vm.fetchValue(_state);\n let { definition, manager } = instance;\n let capabilities = instance.capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n let dynamicScope = null;\n if (hasCapability(capabilities, 64 /* DynamicScope */)) {\n dynamicScope = vm.dynamicScope();\n }\n let hasDefaultBlock = flags & 1;\n let args = null;\n if (hasCapability(capabilities, 8 /* CreateArgs */)) {\n args = vm.stack.peek();\n }\n let self = null;\n if (hasCapability(capabilities, 128 /* CreateCaller */)) {\n self = vm.getSelf();\n }\n let state = manager.create(vm.env, definition.state, args, dynamicScope, self, !!hasDefaultBlock);\n // We want to reuse the `state` POJO here, because we know that the opcodes\n // only transition at exactly one place.\n instance.state = state;\n let tag = manager.getTag(state);\n if (hasCapability(capabilities, 256 /* UpdateHook */) && !(0, _reference.isConstTag)(tag)) {\n vm.updateWith(new UpdateComponentOpcode(tag, state, manager, dynamicScope));\n }\n });\n APPEND_OPCODES.add(82 /* RegisterComponentDestructor */, (vm, { op1: _state }) => {\n let { manager, state } = vm.fetchValue(_state);\n let destructor = manager.getDestructor(state);\n if (destructor) vm.newDestroyable(destructor);\n });\n APPEND_OPCODES.add(91 /* BeginComponentTransaction */, vm => {\n vm.beginCacheGroup();\n vm.elements().pushSimpleBlock();\n });\n APPEND_OPCODES.add(83 /* PutComponentOperations */, vm => {\n vm.loadValue(_vm2.Register.t0, new ComponentElementOperations());\n });\n APPEND_OPCODES.add(37 /* ComponentAttr */, (vm, { op1: _name, op2: trusting, op3: _namespace }) => {\n let name = vm.constants.getString(_name);\n let reference = vm.stack.pop();\n let namespace = _namespace ? vm.constants.getString(_namespace) : null;\n vm.fetchValue(_vm2.Register.t0).setAttribute(name, reference, !!trusting, namespace);\n });\n class ComponentElementOperations {\n constructor() {\n this.attributes = (0, _util.dict)();\n this.classes = [];\n }\n setAttribute(name, value, trusting, namespace) {\n let deferred = { value, namespace, trusting };\n if (name === 'class') {\n this.classes.push(value);\n }\n this.attributes[name] = deferred;\n }\n flush(vm) {\n for (let name in this.attributes) {\n let attr = this.attributes[name];\n let { value: reference, namespace, trusting } = attr;\n if (name === 'class') {\n reference = new ClassListReference(this.classes);\n }\n if (name === 'type') {\n continue;\n }\n let attribute = vm.elements().setDynamicAttribute(name, reference.value(), trusting, namespace);\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\n }\n }\n if ('type' in this.attributes) {\n let type = this.attributes.type;\n let { value: reference, namespace, trusting } = type;\n let attribute = vm.elements().setDynamicAttribute('type', reference.value(), trusting, namespace);\n if (!(0, _reference.isConst)(reference)) {\n vm.updateWith(new UpdateDynamicAttributeOpcode(reference, attribute));\n }\n }\n }\n }\n APPEND_OPCODES.add(93 /* DidCreateElement */, (vm, { op1: _state }) => {\n let { definition, state } = vm.fetchValue(_state);\n let { manager } = definition;\n let operations = vm.fetchValue(_vm2.Register.t0);\n let action = 'DidCreateElementOpcode#evaluate';\n manager.didCreateElement(state, vm.elements().expectConstructing(action), operations);\n });\n APPEND_OPCODES.add(84 /* GetComponentSelf */, (vm, { op1: _state }) => {\n let { definition, state } = vm.fetchValue(_state);\n let { manager } = definition;\n vm.stack.push(manager.getSelf(state));\n });\n APPEND_OPCODES.add(85 /* GetComponentTagName */, (vm, { op1: _state }) => {\n let { definition, state } = vm.fetchValue(_state);\n let { manager } = definition;\n vm.stack.push(manager.getTagName(state));\n });\n // Dynamic Invocation Only\n APPEND_OPCODES.add(86 /* GetComponentLayout */, (vm, { op1: _state }) => {\n let instance = vm.fetchValue(_state);\n let { manager, definition } = instance;\n let { constants: { resolver }, stack } = vm;\n let { state: instanceState, capabilities } = instance;\n let { state: definitionState } = definition;\n let invoke;\n if (hasStaticLayout(capabilities, manager)) {\n invoke = manager.getLayout(definitionState, resolver);\n } else if (hasDynamicLayout(capabilities, manager)) {\n invoke = manager.getDynamicLayout(instanceState, resolver);\n } else {\n throw (0, _util.unreachable)();\n }\n stack.push(invoke.symbolTable);\n stack.push(invoke.handle);\n });\n function hasStaticLayout(capabilities, _manager) {\n return hasCapability(capabilities, 1 /* DynamicLayout */) === false;\n }\n function hasDynamicLayout(capabilities, _manager) {\n return hasCapability(capabilities, 1 /* DynamicLayout */) === true;\n }\n APPEND_OPCODES.add(68 /* Main */, (vm, { op1: register }) => {\n let definition = vm.stack.pop();\n let invocation = vm.stack.pop();\n let { manager } = definition;\n let capabilities = capabilityFlagsFrom(manager.getCapabilities(definition.state));\n let state = {\n definition,\n manager,\n capabilities,\n state: null,\n handle: invocation.handle,\n table: invocation.symbolTable,\n lookup: null\n };\n vm.loadValue(register, state);\n });\n APPEND_OPCODES.add(89 /* PopulateLayout */, (vm, { op1: _state }) => {\n let { stack } = vm;\n let handle = stack.pop();\n let table = stack.pop();\n let state = vm.fetchValue(_state);\n state.handle = handle;\n state.table = table;\n });\n APPEND_OPCODES.add(21 /* VirtualRootScope */, (vm, { op1: _state }) => {\n let { symbols } = vm.fetchValue(_state).table;\n vm.pushRootScope(symbols.length + 1, true);\n });\n APPEND_OPCODES.add(87 /* SetupForEval */, (vm, { op1: _state }) => {\n let state = vm.fetchValue(_state);\n if (state.table.hasEval) {\n let lookup = state.lookup = (0, _util.dict)();\n vm.scope().bindEvalScope(lookup);\n }\n });\n APPEND_OPCODES.add(2 /* SetNamedVariables */, (vm, { op1: _state }) => {\n let state = vm.fetchValue(_state);\n let scope = vm.scope();\n let args = vm.stack.peek();\n let callerNames = args.named.atNames;\n for (let i = callerNames.length - 1; i >= 0; i--) {\n let atName = callerNames[i];\n let symbol = state.table.symbols.indexOf(callerNames[i]);\n let value = args.named.get(atName, false);\n if (symbol !== -1) scope.bindSymbol(symbol + 1, value);\n if (state.lookup) state.lookup[atName] = value;\n }\n });\n function bindBlock(symbolName, blockName, state, blocks, vm) {\n let symbol = state.table.symbols.indexOf(symbolName);\n let block = blocks.get(blockName);\n if (symbol !== -1) {\n vm.scope().bindBlock(symbol + 1, block);\n }\n if (state.lookup) state.lookup[symbolName] = block;\n }\n APPEND_OPCODES.add(3 /* SetBlocks */, (vm, { op1: _state }) => {\n let state = vm.fetchValue(_state);\n let { blocks } = vm.stack.peek();\n bindBlock('&attrs', 'attrs', state, blocks, vm);\n bindBlock('&inverse', 'else', state, blocks, vm);\n bindBlock('&default', 'main', state, blocks, vm);\n });\n // Dynamic Invocation Only\n APPEND_OPCODES.add(90 /* InvokeComponentLayout */, (vm, { op1: _state }) => {\n let state = vm.fetchValue(_state);\n vm.call(state.handle);\n });\n APPEND_OPCODES.add(94 /* DidRenderLayout */, (vm, { op1: _state }) => {\n let { manager, state } = vm.fetchValue(_state);\n let bounds = vm.elements().popBlock();\n let 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(92 /* CommitComponentTransaction */, vm => {\n vm.commitCacheGroup();\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 evaluate(_vm) {\n let { component, manager, dynamicScope } = this;\n manager.update(component, dynamicScope);\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 = _reference.CONSTANT_TAG;\n }\n evaluate(vm) {\n let { manager, component, bounds } = this;\n manager.didUpdateLayout(component, bounds);\n vm.env.didUpdate(component, manager);\n }\n }\n\n /* tslint:disable */\n function debugCallback(context, get) {\n console.info('Use `context`, and `get(<path>)` to debug this template.');\n // for example...\n context === get('this');\n debugger;\n }\n /* tslint:enable */\n let callback = debugCallback;\n // For testing purposes\n function setDebuggerCallback(cb) {\n callback = cb;\n }\n function resetDebuggerCallback() {\n callback = debugCallback;\n }\n class ScopeInspector {\n constructor(scope, symbols, evalInfo) {\n this.scope = scope;\n this.locals = (0, _util.dict)();\n for (let i = 0; i < evalInfo.length; i++) {\n let slot = evalInfo[i];\n let name = symbols[slot - 1];\n let ref = scope.getSymbol(slot);\n this.locals[name] = ref;\n }\n }\n get(path) {\n let { scope, locals } = this;\n let parts = path.split('.');\n let [head, ...tail] = path.split('.');\n let evalScope = scope.getEvalScope();\n let ref;\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 return tail.reduce((r, part) => r.get(part), ref);\n }\n }\n APPEND_OPCODES.add(97 /* Debugger */, (vm, { op1: _symbols, op2: _evalInfo }) => {\n let symbols = vm.constants.getStringArray(_symbols);\n let evalInfo = vm.constants.getArray(_evalInfo);\n let inspector = new ScopeInspector(vm.scope(), symbols, evalInfo);\n callback(vm.getSelf().value(), path => inspector.get(path).value());\n });\n\n APPEND_OPCODES.add(95 /* InvokePartial */, (vm, { op1: _meta, op2: _symbols, op3: _evalInfo }) => {\n let { constants, constants: { resolver }, stack } = vm;\n let name = stack.pop().value();\n\n let meta = constants.getSerializable(_meta);\n let outerSymbols = constants.getStringArray(_symbols);\n let evalInfo = constants.getArray(_evalInfo);\n let handle = resolver.lookupPartial(name, meta);\n\n let definition = resolver.resolve(handle);\n let { symbolTable, handle: vmHandle } = definition.getPartial();\n {\n let partialSymbols = symbolTable.symbols;\n let outerScope = vm.scope();\n let partialScope = vm.pushRootScope(partialSymbols.length, false);\n let evalScope = outerScope.getEvalScope();\n partialScope.bindCallerScope(outerScope.getCallerScope());\n partialScope.bindEvalScope(evalScope);\n partialScope.bindSelf(outerScope.getSelf());\n let locals = Object.create(outerScope.getPartialMap());\n for (let i = 0; i < evalInfo.length; i++) {\n let slot = evalInfo[i];\n let name = outerSymbols[slot - 1];\n let ref = outerScope.getSymbol(slot);\n locals[name] = ref;\n }\n if (evalScope) {\n for (let i = 0; i < partialSymbols.length; i++) {\n let name = partialSymbols[i];\n let symbol = i + 1;\n let value = evalScope[name];\n if (value !== undefined) partialScope.bind(symbol, value);\n }\n }\n partialScope.bindPartialMap(locals);\n vm.pushFrame(); // sp += 2\n vm.call(vmHandle);\n }\n });\n\n class IterablePresenceReference {\n constructor(artifacts) {\n this.tag = artifacts.tag;\n this.artifacts = artifacts;\n }\n value() {\n return !this.artifacts.isEmpty();\n }\n }\n APPEND_OPCODES.add(66 /* PutIterator */, vm => {\n let stack = vm.stack;\n let listRef = stack.pop();\n let key = stack.pop();\n let iterable = vm.env.iterableFor(listRef, key.value());\n let iterator = new _reference.ReferenceIterator(iterable);\n stack.push(iterator);\n stack.push(new IterablePresenceReference(iterator.artifacts));\n });\n APPEND_OPCODES.add(64 /* EnterList */, (vm, { op1: relativeStart }) => {\n vm.enterList(relativeStart);\n });\n APPEND_OPCODES.add(65 /* ExitList */, vm => {\n vm.exitList();\n });\n APPEND_OPCODES.add(67 /* Iterate */, (vm, { op1: breaks }) => {\n let stack = vm.stack;\n let item = stack.peek().next();\n if (item) {\n let tryOpcode = vm.iterate(item.memo, item.value);\n vm.enterItem(item.key, tryOpcode);\n } else {\n vm.goto(breaks);\n }\n });\n\n class Cursor {\n constructor(element, nextSibling) {\n this.element = element;\n this.nextSibling = nextSibling;\n }\n }\n class ConcreteBounds {\n constructor(parentNode, first, last) {\n this.parentNode = parentNode;\n this.first = first;\n this.last = last;\n }\n parentElement() {\n return this.parentNode;\n }\n firstNode() {\n return this.first;\n }\n lastNode() {\n return this.last;\n }\n }\n class SingleNodeBounds {\n constructor(parentNode, node) {\n this.parentNode = parentNode;\n this.node = node;\n }\n parentElement() {\n return this.parentNode;\n }\n firstNode() {\n return this.node;\n }\n lastNode() {\n return this.node;\n }\n }\n function bounds(parent, first, last) {\n return new ConcreteBounds(parent, first, last);\n }\n function single(parent, node) {\n return new SingleNodeBounds(parent, node);\n }\n function move(bounds, reference) {\n let parent = bounds.parentElement();\n let first = bounds.firstNode();\n let last = bounds.lastNode();\n let node = first;\n while (node) {\n let next = node.nextSibling;\n parent.insertBefore(node, reference);\n if (node === last) return next;\n node = next;\n }\n return null;\n }\n function clear(bounds) {\n let parent = bounds.parentElement();\n let first = bounds.firstNode();\n let last = bounds.lastNode();\n let node = first;\n while (node) {\n let next = node.nextSibling;\n parent.removeChild(node);\n if (node === last) return next;\n node = next;\n }\n return null;\n }\n\n const SVG_NAMESPACE = 'http://www.w3.org/2000/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 function applySVGInnerHTMLFix(document, DOMClass, svgNamespace) {\n if (!document) return DOMClass;\n if (!shouldApplyFix(document, svgNamespace)) {\n return DOMClass;\n }\n let div = document.createElement('div');\n return class DOMChangesWithSVGInnerHTMLFix extends DOMClass {\n insertHTMLBefore(parent, nextSibling, html) {\n if (parent.namespaceURI !== svgNamespace) {\n return super.insertHTMLBefore(parent, nextSibling, html);\n }\n return fixSVG(parent, div, html, nextSibling);\n }\n };\n }\n function fixSVG(parent, div, html, reference) {\n let source;\n // This is important, because decendants of the <foreignObject> integration\n // point are parsed in the HTML namespace\n if (parent.tagName.toUpperCase() === 'FOREIGNOBJECT') {\n // IE, Edge: also do not correctly support using `innerHTML` on SVG\n // namespaced elements. So here a wrapper is used.\n let wrappedHtml = '<svg><foreignObject>' + (html || '<!---->') + '</foreignObject></svg>';\n div.innerHTML = wrappedHtml;\n source = div.firstChild.firstChild;\n } else {\n // IE, Edge: also do not correctly support using `innerHTML` on SVG\n // namespaced elements. So here a wrapper is used.\n let wrappedHtml = '<svg>' + (html || '<!---->') + '</svg>';\n div.innerHTML = wrappedHtml;\n source = div.firstChild;\n }\n let [first, last] = moveNodesBefore(source, parent, reference);\n return new ConcreteBounds(parent, first, last);\n }\n function shouldApplyFix(document, svgNamespace) {\n let svg = document.createElementNS(svgNamespace, 'svg');\n try {\n svg['insertAdjacentHTML']('beforeend', '<circle></circle>');\n } catch (e) {\n // 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 return true;\n }\n }\n\n // Patch: Adjacent text node merging fix\n // Browsers: IE, Edge, Firefox w/o inspector open\n // Reason: These browsers will merge adjacent text nodes. For 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 function applyTextNodeMergingFix(document, DOMClass) {\n if (!document) return DOMClass;\n if (!shouldApplyFix$1(document)) {\n return DOMClass;\n }\n return class DOMChangesWithTextNodeMergingFix extends DOMClass {\n constructor(document) {\n super(document);\n this.uselessComment = document.createComment('');\n }\n insertHTMLBefore(parent, nextSibling, html) {\n let didSetUselessComment = false;\n let nextPrevious = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n if (nextPrevious && nextPrevious instanceof Text) {\n didSetUselessComment = true;\n parent.insertBefore(this.uselessComment, nextSibling);\n }\n let bounds = super.insertHTMLBefore(parent, nextSibling, html);\n if (didSetUselessComment) {\n parent.removeChild(this.uselessComment);\n }\n return bounds;\n }\n };\n }\n function shouldApplyFix$1(document) {\n let mergingTextDiv = document.createElement('div');\n mergingTextDiv.innerHTML = 'first';\n mergingTextDiv.insertAdjacentHTML('beforeend', 'second');\n if (mergingTextDiv.childNodes.length === 2) {\n // It worked as expected, no fix required\n return false;\n }\n return true;\n }\n\n const SVG_NAMESPACE$1 = 'http://www.w3.org/2000/svg';\n // http://www.w3.org/TR/html/syntax.html#html-integration-point\n const SVG_INTEGRATION_POINTS = { foreignObject: 1, desc: 1, 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 const BLACKLIST_TABLE = Object.create(null);\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 const WHITESPACE = /[\\t-\\r \\xA0\\u1680\\u180E\\u2000-\\u200A\\u2028\\u2029\\u202F\\u205F\\u3000\\uFEFF]/;\n let doc = typeof document === 'undefined' ? null : document;\n function isWhitespace(string) {\n return WHITESPACE.test(string);\n }\n function moveNodesBefore(source, target, nextSibling) {\n let first = source.firstChild;\n let last = null;\n let current = first;\n while (current) {\n last = current;\n current = current.nextSibling;\n target.insertBefore(last, nextSibling);\n }\n return [first, last];\n }\n class DOMOperations {\n constructor(document) {\n this.document = document;\n this.setupUselessElement();\n }\n // split into seperate method so that NodeDOMTreeConstruction\n // can override it.\n setupUselessElement() {\n this.uselessElement = this.document.createElement('div');\n }\n createElement(tag, context) {\n let isElementInSVGNamespace, isHTMLIntegrationPoint;\n if (context) {\n isElementInSVGNamespace = context.namespaceURI === SVG_NAMESPACE$1 || tag === 'svg';\n isHTMLIntegrationPoint = SVG_INTEGRATION_POINTS[context.tagName];\n } else {\n isElementInSVGNamespace = tag === 'svg';\n isHTMLIntegrationPoint = false;\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 return this.document.createElementNS(SVG_NAMESPACE$1, tag);\n } else {\n return this.document.createElement(tag);\n }\n }\n insertBefore(parent, node, reference) {\n parent.insertBefore(node, reference);\n }\n insertHTMLBefore(_parent, nextSibling, html) {\n return insertHTMLBefore(this.uselessElement, _parent, nextSibling, html);\n }\n createTextNode(text) {\n return this.document.createTextNode(text);\n }\n createComment(data) {\n return this.document.createComment(data);\n }\n }\n var DOM;\n (function (DOM) {\n class TreeConstruction extends DOMOperations {\n createElementNS(namespace, tag) {\n return this.document.createElementNS(namespace, tag);\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 DOM.TreeConstruction = TreeConstruction;\n let appliedTreeContruction = TreeConstruction;\n appliedTreeContruction = applyTextNodeMergingFix(doc, appliedTreeContruction);\n appliedTreeContruction = applySVGInnerHTMLFix(doc, appliedTreeContruction, SVG_NAMESPACE$1);\n DOM.DOMTreeConstruction = appliedTreeContruction;\n })(DOM || (DOM = {}));\n class DOMChanges extends DOMOperations {\n constructor(document) {\n super(document);\n this.document = document;\n this.namespace = null;\n }\n setAttribute(element, name, value) {\n element.setAttribute(name, value);\n }\n removeAttribute(element, name) {\n element.removeAttribute(name);\n }\n insertAfter(element, node, reference) {\n this.insertBefore(element, node, reference.nextSibling);\n }\n }\n function insertHTMLBefore(useless, _parent, _nextSibling, _html) {\n let parent = _parent;\n let nextSibling = _nextSibling;\n let prev = nextSibling ? nextSibling.previousSibling : parent.lastChild;\n let last;\n let html = _html || '<!---->';\n if (nextSibling === null) {\n parent.insertAdjacentHTML('beforeend', 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 parent.insertBefore(useless, nextSibling);\n useless.insertAdjacentHTML('beforebegin', html);\n last = useless.previousSibling;\n parent.removeChild(useless);\n }\n let first = prev ? prev.nextSibling : parent.firstChild;\n return new ConcreteBounds(parent, first, last);\n }\n let helper = DOMChanges;\n helper = applyTextNodeMergingFix(doc, helper);\n helper = applySVGInnerHTMLFix(doc, helper, SVG_NAMESPACE$1);\n var helper$1 = helper;\n const DOMTreeConstruction = DOM.DOMTreeConstruction;\n\n const badProtocols = ['javascript:', 'vbscript:'];\n const badTags = ['A', 'BODY', 'LINK', 'IMG', 'IFRAME', 'BASE', 'FORM'];\n const badTagsForDataURI = ['EMBED'];\n const badAttributes = ['href', 'src', 'background', 'action'];\n const badAttributesForDataURI = ['src'];\n function has(array, item) {\n return array.indexOf(item) !== -1;\n }\n function checkURI(tagName, attribute) {\n return (tagName === null || has(badTags, tagName)) && has(badAttributes, attribute);\n }\n function checkDataURI(tagName, attribute) {\n if (tagName === null) return false;\n return has(badTagsForDataURI, tagName) && has(badAttributesForDataURI, attribute);\n }\n function requiresSanitization(tagName, attribute) {\n return checkURI(tagName, attribute) || checkDataURI(tagName, attribute);\n }\n function sanitizeAttributeValue(env, element, attribute, value) {\n let tagName = null;\n if (value === null || value === undefined) {\n return value;\n }\n if (isSafeString(value)) {\n return value.toHTML();\n }\n if (!element) {\n tagName = null;\n } else {\n tagName = element.tagName.toUpperCase();\n }\n let str = normalizeStringValue(value);\n if (checkURI(tagName, attribute)) {\n let protocol = env.protocolForURL(str);\n if (has(badProtocols, protocol)) {\n return `unsafe:${str}`;\n }\n }\n if (checkDataURI(tagName, attribute)) {\n return `unsafe:${str}`;\n }\n return str;\n }\n\n /*\n * @method normalizeProperty\n * @param element {HTMLElement}\n * @param slotName {String}\n * @returns {Object} { name, type }\n */\n function normalizeProperty(element, slotName) {\n let type, normalized;\n if (slotName in element) {\n normalized = slotName;\n type = 'prop';\n } else {\n let lower = slotName.toLowerCase();\n if (lower in element) {\n type = 'prop';\n normalized = lower;\n } else {\n type = 'attr';\n normalized = slotName;\n }\n }\n if (type === 'prop' && (normalized.toLowerCase() === 'style' || preferAttr(element.tagName, normalized))) {\n type = 'attr';\n }\n return { normalized, type };\n }\n // properties that MUST be set as attributes, due to:\n // * browser bug\n // * strange spec outlier\n const 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: { form: true },\n OPTION: { form: true },\n TEXTAREA: { form: true },\n LABEL: { form: true },\n FIELDSET: { form: true },\n LEGEND: { form: true },\n OBJECT: { form: true },\n BUTTON: { form: true }\n };\n function preferAttr(tagName, propName) {\n let tag = ATTR_OVERRIDES[tagName.toUpperCase()];\n return tag && tag[propName.toLowerCase()] || false;\n }\n\n function dynamicAttribute(element, attr, namespace) {\n let { tagName, namespaceURI } = element;\n let attribute = { element, name: attr, namespace };\n if (namespaceURI === SVG_NAMESPACE$1) {\n return buildDynamicAttribute(tagName, attr, attribute);\n }\n let { type, normalized } = normalizeProperty(element, attr);\n if (type === 'attr') {\n return buildDynamicAttribute(tagName, normalized, attribute);\n } else {\n return buildDynamicProperty(tagName, normalized, attribute);\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 function buildDynamicProperty(tagName, name, attribute) {\n if (requiresSanitization(tagName, name)) {\n return new SafeDynamicProperty(name, attribute);\n }\n if (isUserInputValue(tagName, name)) {\n return new InputValueDynamicAttribute(name, attribute);\n }\n if (isOptionSelected(tagName, name)) {\n return new OptionSelectedDynamicAttribute(name, attribute);\n }\n return new DefaultDynamicProperty(name, attribute);\n }\n class DynamicAttribute {\n constructor(attribute) {\n this.attribute = attribute;\n }\n }\n class SimpleDynamicAttribute extends DynamicAttribute {\n set(dom, value, _env) {\n let normalizedValue = normalizeValue(value);\n if (normalizedValue !== null) {\n let { name, namespace } = this.attribute;\n dom.__setAttribute(name, normalizedValue, namespace);\n }\n }\n update(value, _env) {\n let normalizedValue = normalizeValue(value);\n let { element, name } = this.attribute;\n if (normalizedValue === null) {\n element.removeAttribute(name);\n } else {\n element.setAttribute(name, normalizedValue);\n }\n }\n }\n class DefaultDynamicProperty extends DynamicAttribute {\n constructor(normalizedName, attribute) {\n super(attribute);\n this.normalizedName = normalizedName;\n }\n set(dom, value, _env) {\n if (value !== null && value !== undefined) {\n this.value = value;\n dom.__setProperty(this.normalizedName, value);\n }\n }\n update(value, _env) {\n let { element } = this.attribute;\n if (this.value !== value) {\n element[this.normalizedName] = this.value = value;\n if (value === null || value === undefined) {\n this.removeAttribute();\n }\n }\n }\n removeAttribute() {\n // TODO this sucks but to preserve properties first and to meet current\n // semantics we must do this.\n let { element, namespace } = this.attribute;\n if (namespace) {\n element.removeAttributeNS(namespace, this.normalizedName);\n } else {\n element.removeAttribute(this.normalizedName);\n }\n }\n }\n class SafeDynamicProperty extends DefaultDynamicProperty {\n set(dom, value, env) {\n let { element, name } = this.attribute;\n let sanitized = sanitizeAttributeValue(env, element, name, value);\n super.set(dom, sanitized, env);\n }\n update(value, env) {\n let { element, name } = this.attribute;\n let sanitized = sanitizeAttributeValue(env, element, name, value);\n super.update(sanitized, env);\n }\n }\n class SafeDynamicAttribute extends SimpleDynamicAttribute {\n set(dom, value, env) {\n let { element, name } = this.attribute;\n let sanitized = sanitizeAttributeValue(env, element, name, value);\n super.set(dom, sanitized, env);\n }\n update(value, env) {\n let { element, name } = this.attribute;\n let sanitized = sanitizeAttributeValue(env, element, name, value);\n super.update(sanitized, env);\n }\n }\n class InputValueDynamicAttribute extends DefaultDynamicProperty {\n set(dom, value) {\n dom.__setProperty('value', normalizeStringValue(value));\n }\n update(value) {\n let input = this.attribute.element;\n let currentValue = input.value;\n let normalizedValue = normalizeStringValue(value);\n if (currentValue !== normalizedValue) {\n input.value = normalizedValue;\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 update(value) {\n let option = this.attribute.element;\n if (value) {\n option.selected = true;\n } else {\n option.selected = false;\n }\n }\n }\n function isOptionSelected(tagName, attribute) {\n return tagName === 'OPTION' && attribute === 'selected';\n }\n function isUserInputValue(tagName, attribute) {\n return (tagName === 'INPUT' || tagName === 'TEXTAREA') && attribute === 'value';\n }\n function normalizeValue(value) {\n if (value === false || value === undefined || value === null || typeof value.toString === 'undefined') {\n return null;\n }\n if (value === true) {\n return '';\n }\n // onclick function etc in SSR\n if (typeof value === 'function') {\n return null;\n }\n return String(value);\n }\n\n class Scope {\n constructor(\n // the 0th slot is `self`\n slots, callerScope,\n // named arguments and blocks passed to a layout that uses eval\n evalScope,\n // 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 static root(self, size = 0) {\n let refs = new Array(size + 1);\n for (let i = 0; i <= size; i++) {\n refs[i] = UNDEFINED_REFERENCE;\n }\n return new Scope(refs, null, null, null).init({ self });\n }\n static sized(size = 0) {\n let refs = new Array(size + 1);\n for (let i = 0; i <= size; i++) {\n refs[i] = UNDEFINED_REFERENCE;\n }\n return new Scope(refs, null, null, null);\n }\n init({ self }) {\n this.slots[0] = self;\n return this;\n }\n getSelf() {\n return this.get(0);\n }\n getSymbol(symbol) {\n return this.get(symbol);\n }\n getBlock(symbol) {\n let block = this.get(symbol);\n return block === UNDEFINED_REFERENCE ? null : block;\n }\n getEvalScope() {\n return this.evalScope;\n }\n getPartialMap() {\n return this.partialMap;\n }\n bind(symbol, value) {\n this.set(symbol, value);\n }\n bindSelf(self) {\n this.set(0, self);\n }\n bindSymbol(symbol, value) {\n this.set(symbol, value);\n }\n bindBlock(symbol, value) {\n this.set(symbol, value);\n }\n bindEvalScope(map) {\n this.evalScope = map;\n }\n bindPartialMap(map) {\n this.partialMap = map;\n }\n bindCallerScope(scope) {\n this.callerScope = scope;\n }\n getCallerScope() {\n return this.callerScope;\n }\n child() {\n return new Scope(this.slots.slice(), this.callerScope, this.evalScope, this.partialMap);\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 return this.slots[index];\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 this.slots[index] = value;\n }\n }\n class Transaction {\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 this.destructors = [];\n }\n didCreate(component, manager) {\n this.createdComponents.push(component);\n this.createdManagers.push(manager);\n }\n didUpdate(component, manager) {\n this.updatedComponents.push(component);\n this.updatedManagers.push(manager);\n }\n scheduleInstallModifier(modifier, manager) {\n this.scheduledInstallManagers.push(manager);\n this.scheduledInstallModifiers.push(modifier);\n }\n scheduleUpdateModifier(modifier, manager) {\n this.scheduledUpdateModifierManagers.push(manager);\n this.scheduledUpdateModifiers.push(modifier);\n }\n didDestroy(d) {\n this.destructors.push(d);\n }\n commit() {\n let { createdComponents, createdManagers } = this;\n for (let i = 0; i < createdComponents.length; i++) {\n let component = createdComponents[i];\n let manager = createdManagers[i];\n manager.didCreate(component);\n }\n let { updatedComponents, updatedManagers } = this;\n for (let i = 0; i < updatedComponents.length; i++) {\n let component = updatedComponents[i];\n let manager = updatedManagers[i];\n manager.didUpdate(component);\n }\n let { destructors } = this;\n for (let i = 0; i < destructors.length; i++) {\n destructors[i].destroy();\n }\n let { scheduledInstallManagers, scheduledInstallModifiers } = this;\n for (let i = 0; i < scheduledInstallManagers.length; i++) {\n let manager = scheduledInstallManagers[i];\n let modifier = scheduledInstallModifiers[i];\n manager.install(modifier);\n }\n let { scheduledUpdateModifierManagers, scheduledUpdateModifiers } = this;\n for (let i = 0; i < scheduledUpdateModifierManagers.length; i++) {\n let manager = scheduledUpdateModifierManagers[i];\n let modifier = scheduledUpdateModifiers[i];\n manager.update(modifier);\n }\n }\n }\n class Environment {\n constructor({ appendOperations, updateOperations }) {\n this._transaction = null;\n this.appendOperations = appendOperations;\n this.updateOperations = updateOperations;\n }\n toConditionalReference(reference) {\n return new ConditionalReference(reference);\n }\n getAppendOperations() {\n return this.appendOperations;\n }\n getDOM() {\n return this.updateOperations;\n }\n begin() {\n\n this._transaction = new Transaction();\n }\n get transaction() {\n return this._transaction;\n }\n didCreate(component, manager) {\n this.transaction.didCreate(component, manager);\n }\n didUpdate(component, manager) {\n this.transaction.didUpdate(component, manager);\n }\n scheduleInstallModifier(modifier, manager) {\n this.transaction.scheduleInstallModifier(modifier, manager);\n }\n scheduleUpdateModifier(modifier, manager) {\n this.transaction.scheduleUpdateModifier(modifier, manager);\n }\n didDestroy(d) {\n this.transaction.didDestroy(d);\n }\n commit() {\n let transaction = this.transaction;\n this._transaction = null;\n transaction.commit();\n }\n attributeFor(element, attr, _isTrusting, namespace = null) {\n return dynamicAttribute(element, attr, namespace);\n }\n }\n class DefaultEnvironment extends Environment {\n constructor(options) {\n if (!options) {\n let document = window.document;\n let appendOperations = new DOMTreeConstruction(document);\n let updateOperations = new DOMChanges(document);\n options = { appendOperations, updateOperations };\n }\n super(options);\n }\n }\n\n class LowLevelVM {\n constructor(stack, heap, program, externs, pc = -1, ra = -1) {\n this.stack = stack;\n this.heap = heap;\n this.program = program;\n this.externs = externs;\n this.pc = pc;\n this.ra = ra;\n this.currentOpSize = 0;\n }\n // Start a new frame and save $ra and $fp on the stack\n pushFrame() {\n this.stack.pushSmi(this.ra);\n this.stack.pushSmi(this.stack.fp);\n this.stack.fp = this.stack.sp - 1;\n }\n // Restore $ra, $sp and $fp\n popFrame() {\n this.stack.sp = this.stack.fp - 1;\n this.ra = this.stack.getSmi(0);\n this.stack.fp = this.stack.getSmi(1);\n }\n pushSmallFrame() {\n this.stack.pushSmi(this.ra);\n }\n popSmallFrame() {\n this.ra = this.stack.popSmi();\n }\n // Jump to an address in `program`\n goto(offset) {\n let addr = this.pc + offset - this.currentOpSize;\n this.pc = addr;\n }\n // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n call(handle) {\n this.ra = this.pc;\n this.pc = this.heap.getaddr(handle);\n }\n // Put a specific `program` address in $ra\n returnTo(offset) {\n let addr = this.pc + offset - this.currentOpSize;\n this.ra = addr;\n }\n // Return to the `program` address stored in $ra\n return() {\n this.pc = this.ra;\n }\n nextStatement() {\n let { pc, program } = this;\n if (pc === -1) {\n return null;\n }\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 let { size } = this.program.opcode(pc);\n let operationSize = this.currentOpSize = size;\n this.pc += operationSize;\n return program.opcode(pc);\n }\n evaluateOuter(opcode, vm) {\n {\n this.evaluateInner(opcode, vm);\n }\n }\n evaluateInner(opcode, vm) {\n if (opcode.isMachine) {\n this.evaluateMachine(opcode);\n } else {\n this.evaluateSyscall(opcode, vm);\n }\n }\n evaluateMachine(opcode) {\n switch (opcode.type) {\n case 57 /* PushFrame */:\n return this.pushFrame();\n case 58 /* PopFrame */:\n return this.popFrame();\n case 59 /* PushSmallFrame */:\n return this.pushSmallFrame();\n case 60 /* PopSmallFrame */:\n return this.popSmallFrame();\n case 50 /* InvokeStatic */:\n return this.call(opcode.op1);\n case 49 /* InvokeVirtual */:\n return this.call(this.stack.popSmi());\n case 52 /* Jump */:\n return this.goto(opcode.op1);\n case 24 /* Return */:\n return this.return();\n case 25 /* ReturnTo */:\n return this.returnTo(opcode.op1);\n }\n }\n evaluateSyscall(opcode, vm) {\n APPEND_OPCODES.evaluate(vm, opcode, opcode.type);\n }\n }\n\n class First {\n constructor(node) {\n this.node = node;\n }\n firstNode() {\n return this.node;\n }\n }\n class Last {\n constructor(node) {\n this.node = node;\n }\n lastNode() {\n return this.node;\n }\n }\n class NewElementBuilder {\n constructor(env, parentNode, nextSibling) {\n this.constructing = null;\n this.operations = null;\n this.cursorStack = 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 static forInitialRender(env, cursor) {\n let builder = new this(env, cursor.element, cursor.nextSibling);\n builder.pushSimpleBlock();\n return builder;\n }\n static resume(env, tracker, nextSibling) {\n let parentNode = tracker.parentElement();\n let stack = new this(env, parentNode, nextSibling);\n stack.pushSimpleBlock();\n stack.pushBlockTracker(tracker);\n return stack;\n }\n get element() {\n return this.cursorStack.current.element;\n }\n get nextSibling() {\n return this.cursorStack.current.nextSibling;\n }\n expectConstructing(method) {\n return this.constructing;\n }\n block() {\n return this.blockStack.current;\n }\n popElement() {\n this.cursorStack.pop();\n this.cursorStack.current;\n }\n pushSimpleBlock() {\n return this.pushBlockTracker(new SimpleBlockTracker(this.element));\n }\n pushUpdatableBlock() {\n return this.pushBlockTracker(new UpdatableBlockTracker(this.element));\n }\n pushBlockList(list) {\n return this.pushBlockTracker(new BlockListTracker(this.element, list));\n }\n pushBlockTracker(tracker, isRemote = false) {\n let current = this.blockStack.current;\n if (current !== null) {\n current.newDestroyable(tracker);\n if (!isRemote) {\n current.didAppendBounds(tracker);\n }\n }\n this.__openBlock();\n this.blockStack.push(tracker);\n return tracker;\n }\n popBlock() {\n this.block().finalize(this);\n this.__closeBlock();\n return this.blockStack.pop();\n }\n __openBlock() {}\n __closeBlock() {}\n // todo return seems unused\n openElement(tag) {\n let element = this.__openElement(tag);\n this.constructing = element;\n return element;\n }\n __openElement(tag) {\n return this.dom.createElement(tag, this.element);\n }\n flushElement() {\n let parent = this.element;\n let element = this.constructing;\n this.__flushElement(parent, element);\n this.constructing = null;\n this.operations = null;\n this.pushElement(element, null);\n this.didOpenElement(element);\n }\n __flushElement(parent, constructing) {\n this.dom.insertBefore(parent, constructing, this.nextSibling);\n }\n closeElement() {\n this.willCloseElement();\n this.popElement();\n }\n pushRemoteElement(element, guid, nextSibling = null) {\n this.__pushRemoteElement(element, guid, nextSibling);\n }\n __pushRemoteElement(element, _guid, nextSibling) {\n this.pushElement(element, nextSibling);\n let tracker = new RemoteBlockTracker(element);\n this.pushBlockTracker(tracker, true);\n }\n popRemoteElement() {\n this.popBlock();\n this.popElement();\n }\n pushElement(element, nextSibling) {\n this.cursorStack.push(new Cursor(element, nextSibling));\n }\n didAddDestroyable(d) {\n this.block().newDestroyable(d);\n }\n didAppendBounds(bounds$$1) {\n this.block().didAppendBounds(bounds$$1);\n return bounds$$1;\n }\n didAppendNode(node) {\n this.block().didAppendNode(node);\n return node;\n }\n didOpenElement(element) {\n this.block().openElement(element);\n return element;\n }\n willCloseElement() {\n this.block().closeElement();\n }\n appendText(string) {\n return this.didAppendNode(this.__appendText(string));\n }\n __appendText(text) {\n let { dom, element, nextSibling } = this;\n let node = dom.createTextNode(text);\n dom.insertBefore(element, node, nextSibling);\n return node;\n }\n __appendNode(node) {\n this.dom.insertBefore(this.element, node, this.nextSibling);\n return node;\n }\n __appendFragment(fragment) {\n let first = fragment.firstChild;\n if (first) {\n let ret = bounds(this.element, first, fragment.lastChild);\n this.dom.insertBefore(this.element, fragment, this.nextSibling);\n return ret;\n } else {\n return single(this.element, this.__appendComment(''));\n }\n }\n __appendHTML(html) {\n return this.dom.insertHTMLBefore(this.element, this.nextSibling, html);\n }\n appendDynamicHTML(value) {\n let bounds$$1 = this.trustedContent(value);\n this.didAppendBounds(bounds$$1);\n }\n appendDynamicText(value) {\n let node = this.untrustedContent(value);\n this.didAppendNode(node);\n return node;\n }\n appendDynamicFragment(value) {\n let bounds$$1 = this.__appendFragment(value);\n this.didAppendBounds(bounds$$1);\n }\n appendDynamicNode(value) {\n let node = this.__appendNode(value);\n let bounds$$1 = single(this.element, node);\n this.didAppendBounds(bounds$$1);\n }\n trustedContent(value) {\n return this.__appendHTML(value);\n }\n untrustedContent(value) {\n return this.__appendText(value);\n }\n appendComment(string) {\n return this.didAppendNode(this.__appendComment(string));\n }\n __appendComment(string) {\n let { dom, element, nextSibling } = this;\n let node = dom.createComment(string);\n dom.insertBefore(element, node, nextSibling);\n return node;\n }\n __setAttribute(name, value, namespace) {\n this.dom.setAttribute(this.constructing, name, value, namespace);\n }\n __setProperty(name, value) {\n this.constructing[name] = value;\n }\n setStaticAttribute(name, value, namespace) {\n this.__setAttribute(name, value, namespace);\n }\n setDynamicAttribute(name, value, trusting, namespace) {\n let element = this.constructing;\n let attribute = this.env.attributeFor(element, name, trusting, namespace);\n attribute.set(this, value, this.env);\n return attribute;\n }\n }\n class SimpleBlockTracker {\n constructor(parent) {\n this.parent = parent;\n this.first = null;\n this.last = null;\n this.destroyables = null;\n this.nesting = 0;\n }\n destroy() {\n let { destroyables } = this;\n if (destroyables && destroyables.length) {\n for (let i = 0; i < destroyables.length; i++) {\n destroyables[i].destroy();\n }\n }\n }\n parentElement() {\n return this.parent;\n }\n firstNode() {\n return this.first && this.first.firstNode();\n }\n lastNode() {\n return this.last && this.last.lastNode();\n }\n openElement(element) {\n this.didAppendNode(element);\n this.nesting++;\n }\n closeElement() {\n this.nesting--;\n }\n didAppendNode(node) {\n if (this.nesting !== 0) return;\n if (!this.first) {\n this.first = new First(node);\n }\n this.last = new Last(node);\n }\n didAppendBounds(bounds$$1) {\n if (this.nesting !== 0) return;\n if (!this.first) {\n this.first = bounds$$1;\n }\n this.last = bounds$$1;\n }\n newDestroyable(d) {\n this.destroyables = this.destroyables || [];\n this.destroyables.push(d);\n }\n finalize(stack) {\n if (this.first === null) {\n stack.appendComment('');\n }\n }\n }\n class RemoteBlockTracker extends SimpleBlockTracker {\n destroy() {\n super.destroy();\n clear(this);\n }\n }\n class UpdatableBlockTracker extends SimpleBlockTracker {\n reset(env) {\n let { destroyables } = this;\n if (destroyables && destroyables.length) {\n for (let i = 0; i < destroyables.length; i++) {\n env.didDestroy(destroyables[i]);\n }\n }\n let nextSibling = clear(this);\n this.first = null;\n this.last = null;\n this.destroyables = null;\n this.nesting = 0;\n return nextSibling;\n }\n }\n class BlockListTracker {\n constructor(parent, boundList) {\n this.parent = parent;\n this.boundList = boundList;\n this.parent = parent;\n this.boundList = boundList;\n }\n destroy() {\n this.boundList.forEachNode(node => node.destroy());\n }\n parentElement() {\n return this.parent;\n }\n firstNode() {\n let head = this.boundList.head();\n return head && head.firstNode();\n }\n lastNode() {\n let tail = this.boundList.tail();\n return tail && tail.lastNode();\n }\n openElement(_element) {}\n closeElement() {}\n didAppendNode(_node) {}\n didAppendBounds(_bounds) {}\n newDestroyable(_d) {}\n finalize(_stack) {}\n }\n function clientBuilder(env, cursor) {\n return NewElementBuilder.forInitialRender(env, cursor);\n }\n\n const HI = 0x80000000;\n const MASK = 0x7fffffff;\n class InnerStack {\n constructor(inner = new _lowLevel.Stack(), js = []) {\n this.inner = inner;\n this.js = js;\n }\n slice(start, end) {\n let inner;\n if (typeof start === 'number' && typeof end === 'number') {\n inner = this.inner.slice(start, end);\n } else if (typeof start === 'number' && end === undefined) {\n inner = this.inner.sliceFrom(start);\n } else {\n inner = this.inner.clone();\n }\n return new InnerStack(inner, this.js.slice(start, end));\n }\n sliceInner(start, end) {\n let out = [];\n for (let i = start; i < end; i++) {\n out.push(this.get(i));\n }\n return out;\n }\n copy(from, to) {\n this.inner.copy(from, to);\n }\n write(pos, value) {\n if (isImmediate(value)) {\n this.inner.writeRaw(pos, encodeImmediate(value));\n } else {\n let idx = this.js.length;\n this.js.push(value);\n this.inner.writeRaw(pos, idx | HI);\n }\n }\n writeSmi(pos, value) {\n this.inner.writeSmi(pos, value);\n }\n writeImmediate(pos, value) {\n this.inner.writeRaw(pos, value);\n }\n get(pos) {\n let value = this.inner.getRaw(pos);\n if (value & HI) {\n return this.js[value & MASK];\n } else {\n return decodeImmediate(value);\n }\n }\n getSmi(pos) {\n return this.inner.getSmi(pos);\n }\n reset() {\n this.inner.reset();\n this.js.length = 0;\n }\n get length() {\n return this.inner.len();\n }\n }\n class EvaluationStack {\n constructor(stack, fp, sp) {\n this.stack = stack;\n this.fp = fp;\n this.sp = sp;\n }\n static empty() {\n return new this(new InnerStack(), 0, -1);\n }\n static restore(snapshot) {\n let stack = new InnerStack();\n for (let i = 0; i < snapshot.length; i++) {\n stack.write(i, snapshot[i]);\n }\n return new this(stack, 0, snapshot.length - 1);\n }\n push(value) {\n this.stack.write(++this.sp, value);\n }\n pushSmi(value) {\n this.stack.writeSmi(++this.sp, value);\n }\n pushImmediate(value) {\n this.stack.writeImmediate(++this.sp, encodeImmediate(value));\n }\n pushEncodedImmediate(value) {\n this.stack.writeImmediate(++this.sp, value);\n }\n pushNull() {\n this.stack.writeImmediate(++this.sp, 19 /* Null */);\n }\n dup(position = this.sp) {\n this.stack.copy(position, ++this.sp);\n }\n copy(from, to) {\n this.stack.copy(from, to);\n }\n pop(n = 1) {\n let top = this.stack.get(this.sp);\n this.sp -= n;\n return top;\n }\n popSmi() {\n return this.stack.getSmi(this.sp--);\n }\n peek(offset = 0) {\n return this.stack.get(this.sp - offset);\n }\n peekSmi(offset = 0) {\n return this.stack.getSmi(this.sp - offset);\n }\n get(offset, base = this.fp) {\n return this.stack.get(base + offset);\n }\n getSmi(offset, base = this.fp) {\n return this.stack.getSmi(base + offset);\n }\n set(value, offset, base = this.fp) {\n this.stack.write(base + offset, value);\n }\n slice(start, end) {\n return this.stack.slice(start, end);\n }\n sliceArray(start, end) {\n return this.stack.sliceInner(start, end);\n }\n capture(items) {\n let end = this.sp + 1;\n let start = end - items;\n return this.stack.sliceInner(start, end);\n }\n reset() {\n this.stack.reset();\n }\n toArray() {\n return this.stack.sliceInner(this.fp, this.sp + 1);\n }\n }\n function isImmediate(value) {\n let type = typeof value;\n if (value === null || value === undefined) return true;\n switch (type) {\n case 'boolean':\n case 'undefined':\n return true;\n case 'number':\n // not an integer\n if (value % 1 !== 0) return false;\n let abs = Math.abs(value);\n // too big\n if (abs > HI) return false;\n return true;\n default:\n return false;\n }\n }\n function encodeSmi(primitive) {\n if (primitive < 0) {\n return Math.abs(primitive) << 3 | 4 /* NEGATIVE */;\n } else {\n return primitive << 3 | 0 /* NUMBER */;\n }\n }\n function encodeImmediate(primitive) {\n switch (typeof primitive) {\n case 'number':\n return encodeSmi(primitive);\n case 'boolean':\n return primitive ? 11 /* True */ : 3 /* False */;\n case 'object':\n // assume null\n return 19 /* Null */;\n case 'undefined':\n return 27 /* Undef */;\n default:\n throw (0, _util.unreachable)();\n }\n }\n function decodeSmi(smi) {\n switch (smi & 0b111) {\n case 0 /* NUMBER */:\n return smi >> 3;\n case 4 /* NEGATIVE */:\n return -(smi >> 3);\n default:\n throw (0, _util.unreachable)();\n }\n }\n function decodeImmediate(immediate) {\n switch (immediate) {\n case 3 /* False */:\n return false;\n case 11 /* True */:\n return true;\n case 19 /* Null */:\n return null;\n case 27 /* Undef */:\n return undefined;\n default:\n return decodeSmi(immediate);\n }\n }\n\n class UpdatingVM {\n constructor(env, program, { alwaysRevalidate = false }) {\n this.frameStack = new _util.Stack();\n this.env = env;\n this.constants = program.constants;\n this.dom = env.getDOM();\n this.alwaysRevalidate = alwaysRevalidate;\n }\n execute(opcodes, handler) {\n let { frameStack } = this;\n this.try(opcodes, handler);\n while (true) {\n if (frameStack.isEmpty()) break;\n let opcode = this.frame.nextStatement();\n if (opcode === null) {\n this.frameStack.pop();\n continue;\n }\n opcode.evaluate(this);\n }\n }\n get frame() {\n return this.frameStack.current;\n }\n goto(op) {\n this.frame.goto(op);\n }\n try(ops, handler) {\n this.frameStack.push(new UpdatingVMFrame(ops, handler));\n }\n throw() {\n this.frame.handleException();\n this.frameStack.pop();\n }\n }\n class BlockOpcode extends UpdatingOpcode {\n constructor(start, state, runtime, bounds$$1, children) {\n super();\n this.start = start;\n this.state = state;\n this.runtime = runtime;\n this.type = 'block';\n this.next = null;\n this.prev = null;\n this.children = children;\n this.bounds = bounds$$1;\n }\n parentElement() {\n return this.bounds.parentElement();\n }\n firstNode() {\n return this.bounds.firstNode();\n }\n lastNode() {\n return this.bounds.lastNode();\n }\n evaluate(vm) {\n vm.try(this.children, null);\n }\n destroy() {\n this.bounds.destroy();\n }\n didDestroy() {\n this.runtime.env.didDestroy(this.bounds);\n }\n }\n class TryOpcode extends BlockOpcode {\n constructor(start, state, runtime, bounds$$1, children) {\n super(start, state, runtime, bounds$$1, children);\n this.type = 'try';\n this.tag = this._tag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n }\n didInitializeChildren() {\n this._tag.inner.update((0, _reference.combineSlice)(this.children));\n }\n evaluate(vm) {\n vm.try(this.children, this);\n }\n handleException() {\n let { state, bounds: bounds$$1, children, start, prev, next, runtime } = this;\n children.clear();\n let elementStack = NewElementBuilder.resume(runtime.env, bounds$$1, bounds$$1.reset(runtime.env));\n let vm = VM.resume(state, runtime, elementStack);\n let updating = new _util.LinkedList();\n vm.execute(start, vm => {\n vm.stack = EvaluationStack.restore(state.stack);\n vm.updatingOpcodeStack.push(updating);\n vm.updateWith(this);\n vm.updatingOpcodeStack.push(children);\n });\n this.prev = prev;\n this.next = next;\n }\n }\n class ListRevalidationDelegate {\n constructor(opcode, marker) {\n this.opcode = opcode;\n this.marker = marker;\n this.didInsert = false;\n this.didDelete = false;\n this.map = opcode.map;\n this.updating = opcode['children'];\n }\n insert(key, item, memo, before) {\n let { map, opcode, updating } = this;\n let nextSibling = null;\n let reference = null;\n if (typeof before === 'string') {\n reference = map[before];\n nextSibling = reference['bounds'].firstNode();\n } else {\n nextSibling = this.marker;\n }\n let vm = opcode.vmForInsertion(nextSibling);\n let tryOpcode = null;\n let { start } = opcode;\n vm.execute(start, vm => {\n map[key] = tryOpcode = vm.iterate(memo, item);\n vm.updatingOpcodeStack.push(new _util.LinkedList());\n vm.updateWith(tryOpcode);\n vm.updatingOpcodeStack.push(tryOpcode.children);\n });\n updating.insertBefore(tryOpcode, reference);\n this.didInsert = true;\n }\n retain(_key, _item, _memo) {}\n move(key, _item, _memo, before) {\n let { map, updating } = this;\n let entry = map[key];\n let reference = map[before] || null;\n if (typeof before === 'string') {\n move(entry, reference.firstNode());\n } else {\n move(entry, this.marker);\n }\n updating.remove(entry);\n updating.insertBefore(entry, reference);\n }\n delete(key) {\n let { map } = this;\n let opcode = map[key];\n opcode.didDestroy();\n clear(opcode);\n this.updating.remove(opcode);\n delete map[key];\n this.didDelete = true;\n }\n done() {\n this.opcode.didInitializeChildren(this.didInsert || this.didDelete);\n }\n }\n class ListBlockOpcode extends BlockOpcode {\n constructor(start, state, runtime, bounds$$1, children, artifacts) {\n super(start, state, runtime, bounds$$1, children);\n this.type = 'list-block';\n this.map = (0, _util.dict)();\n this.lastIterated = _reference.INITIAL;\n this.artifacts = artifacts;\n let _tag = this._tag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([artifacts.tag, _tag]);\n }\n didInitializeChildren(listDidChange = true) {\n this.lastIterated = this.artifacts.tag.value();\n if (listDidChange) {\n this._tag.inner.update((0, _reference.combineSlice)(this.children));\n }\n }\n evaluate(vm) {\n let { artifacts, lastIterated } = this;\n if (!artifacts.tag.validate(lastIterated)) {\n let { bounds: bounds$$1 } = this;\n let { dom } = vm;\n let marker = dom.createComment('');\n dom.insertAfter(bounds$$1.parentElement(), marker, bounds$$1.lastNode());\n let target = new ListRevalidationDelegate(this, marker);\n let synchronizer = new _reference.IteratorSynchronizer({ target, artifacts });\n synchronizer.sync();\n this.parentElement().removeChild(marker);\n }\n // Run now-updated updating opcodes\n super.evaluate(vm);\n }\n vmForInsertion(nextSibling) {\n let { bounds: bounds$$1, state, runtime } = this;\n let elementStack = NewElementBuilder.forInitialRender(runtime.env, {\n element: bounds$$1.parentElement(),\n nextSibling\n });\n return VM.resume(state, runtime, elementStack);\n }\n }\n class UpdatingVMFrame {\n constructor(ops, exceptionHandler) {\n this.ops = ops;\n this.exceptionHandler = exceptionHandler;\n this.current = ops.head();\n }\n goto(op) {\n this.current = op;\n }\n nextStatement() {\n let { current, ops } = this;\n if (current) this.current = ops.nextNode(current);\n return current;\n }\n handleException() {\n if (this.exceptionHandler) {\n this.exceptionHandler.handleException();\n }\n }\n }\n\n class RenderResult {\n constructor(env, program, updating, bounds$$1) {\n this.env = env;\n this.program = program;\n this.updating = updating;\n this.bounds = bounds$$1;\n }\n rerender({ alwaysRevalidate = false } = { alwaysRevalidate: false }) {\n let { env, program, updating } = this;\n let vm = new UpdatingVM(env, program, { alwaysRevalidate });\n vm.execute(updating, this);\n }\n parentElement() {\n return this.bounds.parentElement();\n }\n firstNode() {\n return this.bounds.firstNode();\n }\n lastNode() {\n return this.bounds.lastNode();\n }\n handleException() {\n throw 'this should never happen';\n }\n destroy() {\n this.bounds.destroy();\n clear(this.bounds);\n }\n }\n\n class Arguments {\n constructor() {\n this.stack = null;\n this.positional = new PositionalArguments();\n this.named = new NamedArguments();\n this.blocks = new BlockArguments();\n }\n empty(stack) {\n let base = stack.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 setup(stack, names, blockNames, positionalCount, synthetic) {\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 let named = this.named;\n let namedCount = names.length;\n let namedBase = stack.sp - namedCount + 1;\n named.setup(stack, namedBase, namedCount, names, synthetic);\n let positional = this.positional;\n let positionalBase = namedBase - positionalCount;\n positional.setup(stack, positionalBase, positionalCount);\n let blocks = this.blocks;\n let blocksCount = blockNames.length;\n let blocksBase = positionalBase - blocksCount * 3;\n blocks.setup(stack, blocksBase, blocksCount, blockNames);\n }\n get tag() {\n return (0, _reference.combineTagged)([this.positional, this.named]);\n }\n get base() {\n return this.blocks.base;\n }\n get length() {\n return this.positional.length + this.named.length + this.blocks.length * 3;\n }\n at(pos) {\n return this.positional.at(pos);\n }\n realloc(offset) {\n let { stack } = this;\n if (offset > 0 && stack !== null) {\n let { positional, named } = this;\n let newBase = positional.base + offset;\n let length = positional.length + named.length;\n for (let i = length - 1; i >= 0; i--) {\n stack.copy(i + positional.base, i + newBase);\n }\n positional.base += offset;\n named.base += offset;\n stack.sp += offset;\n }\n }\n capture() {\n let positional = this.positional.length === 0 ? EMPTY_POSITIONAL : this.positional.capture();\n let named = this.named.length === 0 ? EMPTY_NAMED : this.named.capture();\n return {\n tag: this.tag,\n length: this.length,\n positional,\n named\n };\n }\n clear() {\n let { stack, length } = this;\n if (length > 0 && stack !== null) stack.pop(length);\n }\n }\n class PositionalArguments {\n constructor() {\n this.base = 0;\n this.length = 0;\n this.stack = null;\n this._tag = null;\n this._references = null;\n }\n empty(stack, base) {\n this.stack = stack;\n this.base = base;\n this.length = 0;\n this._tag = _reference.CONSTANT_TAG;\n this._references = _util.EMPTY_ARRAY;\n }\n setup(stack, base, length) {\n this.stack = stack;\n this.base = base;\n this.length = length;\n if (length === 0) {\n this._tag = _reference.CONSTANT_TAG;\n this._references = _util.EMPTY_ARRAY;\n } else {\n this._tag = null;\n this._references = null;\n }\n }\n get tag() {\n let tag = this._tag;\n if (!tag) {\n tag = this._tag = (0, _reference.combineTagged)(this.references);\n }\n return tag;\n }\n at(position) {\n let { base, length, stack } = this;\n if (position < 0 || position >= length) {\n return UNDEFINED_REFERENCE;\n }\n return stack.get(position, base);\n }\n capture() {\n return new CapturedPositionalArguments(this.tag, this.references);\n }\n prepend(other) {\n let additions = other.length;\n if (additions > 0) {\n let { base, length, stack } = this;\n this.base = base = base - additions;\n this.length = length + additions;\n for (let i = 0; i < additions; i++) {\n stack.set(other.at(i), i, base);\n }\n this._tag = null;\n this._references = null;\n }\n }\n get references() {\n let references = this._references;\n if (!references) {\n let { stack, base, length } = this;\n references = this._references = stack.sliceArray(base, base + length);\n }\n return references;\n }\n }\n class CapturedPositionalArguments {\n constructor(tag, references, length = references.length) {\n this.tag = tag;\n this.references = references;\n this.length = length;\n }\n static empty() {\n return new CapturedPositionalArguments(_reference.CONSTANT_TAG, _util.EMPTY_ARRAY, 0);\n }\n at(position) {\n return this.references[position];\n }\n value() {\n return this.references.map(this.valueOf);\n }\n get(name) {\n let { references, length } = this;\n if (name === 'length') {\n return PrimitiveReference.create(length);\n } else {\n let idx = parseInt(name, 10);\n if (idx < 0 || idx >= length) {\n return UNDEFINED_REFERENCE;\n } else {\n return references[idx];\n }\n }\n }\n valueOf(reference) {\n return reference.value();\n }\n }\n class NamedArguments {\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 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 setup(stack, base, length, names, synthetic) {\n this.stack = stack;\n this.base = base;\n this.length = length;\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 if (synthetic) {\n this._names = names;\n this._atNames = null;\n } else {\n this._names = null;\n this._atNames = names;\n }\n }\n }\n get tag() {\n return (0, _reference.combineTagged)(this.references);\n }\n get names() {\n let names = this._names;\n if (!names) {\n names = this._names = this._atNames.map(this.toSyntheticName);\n }\n return names;\n }\n get atNames() {\n let atNames = this._atNames;\n if (!atNames) {\n atNames = this._atNames = this._names.map(this.toAtName);\n }\n return atNames;\n }\n has(name) {\n return this.names.indexOf(name) !== -1;\n }\n get(name, synthetic = true) {\n let { base, stack } = this;\n let names = synthetic ? this.names : this.atNames;\n let idx = names.indexOf(name);\n if (idx === -1) {\n return UNDEFINED_REFERENCE;\n }\n return stack.get(idx, base);\n }\n capture() {\n return new CapturedNamedArguments(this.tag, this.names, this.references);\n }\n merge(other) {\n let { length: extras } = other;\n if (extras > 0) {\n let { names, length, stack } = this;\n let { names: extraNames } = other;\n if (Object.isFrozen(names) && names.length === 0) {\n names = [];\n }\n for (let i = 0; i < extras; i++) {\n let name = extraNames[i];\n let idx = names.indexOf(name);\n if (idx === -1) {\n length = names.push(name);\n stack.push(other.references[i]);\n }\n }\n this.length = length;\n this._references = null;\n this._names = names;\n this._atNames = null;\n }\n }\n get references() {\n let references = this._references;\n if (!references) {\n let { base, length, stack } = this;\n references = this._references = stack.sliceArray(base, base + length);\n }\n return references;\n }\n toSyntheticName(name) {\n return name.slice(1);\n }\n toAtName(name) {\n return `@${name}`;\n }\n }\n class CapturedNamedArguments {\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 get map() {\n let map = this._map;\n if (!map) {\n let { names, references } = this;\n map = this._map = (0, _util.dict)();\n for (let i = 0; i < names.length; i++) {\n let name = names[i];\n map[name] = references[i];\n }\n }\n return map;\n }\n has(name) {\n return this.names.indexOf(name) !== -1;\n }\n get(name) {\n let { names, references } = this;\n let idx = names.indexOf(name);\n if (idx === -1) {\n return UNDEFINED_REFERENCE;\n } else {\n return references[idx];\n }\n }\n value() {\n let { names, references } = this;\n let out = (0, _util.dict)();\n for (let i = 0; i < names.length; i++) {\n let name = names[i];\n out[name] = references[i].value();\n }\n return out;\n }\n }\n class BlockArguments {\n constructor() {\n this.internalValues = null;\n this.internalTag = null;\n this.names = _util.EMPTY_ARRAY;\n this.length = 0;\n this.base = 0;\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.internalTag = _reference.CONSTANT_TAG;\n this.internalValues = _util.EMPTY_ARRAY;\n }\n setup(stack, base, length, names) {\n this.stack = stack;\n this.names = names;\n this.base = base;\n this.length = length;\n if (length === 0) {\n this.internalTag = _reference.CONSTANT_TAG;\n this.internalValues = _util.EMPTY_ARRAY;\n } else {\n this.internalTag = null;\n this.internalValues = null;\n }\n }\n get values() {\n let values = this.internalValues;\n if (!values) {\n let { base, length, stack } = this;\n values = this.internalValues = stack.sliceArray(base, base + length * 3);\n }\n return values;\n }\n has(name) {\n return this.names.indexOf(name) !== -1;\n }\n get(name) {\n let { base, stack, names } = this;\n let idx = names.indexOf(name);\n if (names.indexOf(name) === -1) {\n return null;\n }\n let table = stack.get(idx * 3, base);\n let scope = stack.get(idx * 3 + 1, base); // FIXME(mmun): shouldn't need to cast this\n let handle = stack.get(idx * 3 + 2, base);\n return handle === null ? null : [handle, scope, table];\n }\n capture() {\n return new CapturedBlockArguments(this.names, this.values);\n }\n }\n class CapturedBlockArguments {\n constructor(names, values) {\n this.names = names;\n this.values = values;\n this.length = names.length;\n }\n has(name) {\n return this.names.indexOf(name) !== -1;\n }\n get(name) {\n let idx = this.names.indexOf(name);\n if (idx === -1) return null;\n return [this.values[idx * 3 + 2], this.values[idx * 3 + 1], this.values[idx * 3]];\n }\n }\n const EMPTY_NAMED = new CapturedNamedArguments(_reference.CONSTANT_TAG, _util.EMPTY_ARRAY, _util.EMPTY_ARRAY);\n const EMPTY_POSITIONAL = new CapturedPositionalArguments(_reference.CONSTANT_TAG, _util.EMPTY_ARRAY);\n const EMPTY_ARGS = {\n tag: _reference.CONSTANT_TAG,\n length: 0,\n positional: EMPTY_POSITIONAL,\n named: EMPTY_NAMED\n };\n\n class VM {\n constructor(runtime, scope, dynamicScope, elementStack) {\n this.runtime = runtime;\n this.elementStack = elementStack;\n this.dynamicScopeStack = new _util.Stack();\n this.scopeStack = new _util.Stack();\n this.updatingOpcodeStack = new _util.Stack();\n this.cacheGroups = new _util.Stack();\n this.listBlockStack = new _util.Stack();\n this.s0 = null;\n this.s1 = null;\n this.t0 = null;\n this.t1 = null;\n this.v0 = null;\n this.heap = this.program.heap;\n this.constants = this.program.constants;\n this.elementStack = elementStack;\n this.scopeStack.push(scope);\n this.dynamicScopeStack.push(dynamicScope);\n this.args = new Arguments();\n this.inner = new LowLevelVM(EvaluationStack.empty(), this.heap, runtime.program, {\n debugBefore: opcode => {\n return APPEND_OPCODES.debugBefore(this, opcode, opcode.type);\n },\n debugAfter: (opcode, state) => {\n APPEND_OPCODES.debugAfter(this, opcode, opcode.type, state);\n }\n });\n }\n get stack() {\n return this.inner.stack;\n }\n set stack(value) {\n this.inner.stack = value;\n }\n /* Registers */\n set currentOpSize(value) {\n this.inner.currentOpSize = value;\n }\n get currentOpSize() {\n return this.inner.currentOpSize;\n }\n get pc() {\n return this.inner.pc;\n }\n set pc(value) {\n\n this.inner.pc = value;\n }\n get ra() {\n return this.inner.ra;\n }\n set ra(value) {\n this.inner.ra = value;\n }\n get fp() {\n return this.stack.fp;\n }\n set fp(fp) {\n this.stack.fp = fp;\n }\n get sp() {\n return this.stack.sp;\n }\n set sp(sp) {\n this.stack.sp = sp;\n }\n // Fetch a value from a register onto the stack\n fetch(register) {\n this.stack.push(this[_vm2.Register[register]]);\n }\n // Load a value from the stack into a register\n load(register) {\n this[_vm2.Register[register]] = this.stack.pop();\n }\n // Fetch a value from a register\n fetchValue(register) {\n return this[_vm2.Register[register]];\n }\n // Load a value into a register\n loadValue(register, value) {\n this[_vm2.Register[register]] = value;\n }\n /**\n * Migrated to Inner\n */\n // Start a new frame and save $ra and $fp on the stack\n pushFrame() {\n this.inner.pushFrame();\n }\n // Restore $ra, $sp and $fp\n popFrame() {\n this.inner.popFrame();\n }\n // Jump to an address in `program`\n goto(offset) {\n this.inner.goto(offset);\n }\n // Save $pc into $ra, then jump to a new address in `program` (jal in MIPS)\n call(handle) {\n this.inner.call(handle);\n }\n // Put a specific `program` address in $ra\n returnTo(offset) {\n this.inner.returnTo(offset);\n }\n // Return to the `program` address stored in $ra\n return() {\n this.inner.return();\n }\n /**\n * End of migrated.\n */\n static initial(program, env, self, dynamicScope, elementStack, handle) {\n let scopeSize = program.heap.scopesizeof(handle);\n let scope = Scope.root(self, scopeSize);\n let vm = new VM({ program, env }, scope, dynamicScope, elementStack);\n vm.pc = vm.heap.getaddr(handle);\n vm.updatingOpcodeStack.push(new _util.LinkedList());\n return vm;\n }\n static empty(program, env, elementStack) {\n let dynamicScope = {\n get() {\n return UNDEFINED_REFERENCE;\n },\n set() {\n return UNDEFINED_REFERENCE;\n },\n child() {\n return dynamicScope;\n }\n };\n let vm = new VM({ program, env }, Scope.root(UNDEFINED_REFERENCE, 0), dynamicScope, elementStack);\n vm.updatingOpcodeStack.push(new _util.LinkedList());\n return vm;\n }\n static resume({ scope, dynamicScope }, runtime, stack) {\n return new VM(runtime, scope, dynamicScope, stack);\n }\n get program() {\n return this.runtime.program;\n }\n get env() {\n return this.runtime.env;\n }\n capture(args) {\n return {\n dynamicScope: this.dynamicScope(),\n scope: this.scope(),\n stack: this.stack.capture(args)\n };\n }\n beginCacheGroup() {\n this.cacheGroups.push(this.updating().tail());\n }\n commitCacheGroup() {\n // JumpIfNotModified(END)\n // (head)\n // (....)\n // (tail)\n // DidModify\n // END: Noop\n let END = new LabelOpcode('END');\n let opcodes = this.updating();\n let marker = this.cacheGroups.pop();\n let head = marker ? opcodes.nextNode(marker) : opcodes.head();\n let tail = opcodes.tail();\n let tag = (0, _reference.combineSlice)(new _util.ListSlice(head, tail));\n let guard = new JumpIfNotModifiedOpcode(tag, END);\n opcodes.insertBefore(guard, head);\n opcodes.append(new DidModifyOpcode(guard));\n opcodes.append(END);\n }\n enter(args) {\n let updating = new _util.LinkedList();\n let state = this.capture(args);\n let tracker = this.elements().pushUpdatableBlock();\n let tryOpcode = new TryOpcode(this.heap.gethandle(this.pc), state, this.runtime, tracker, updating);\n this.didEnter(tryOpcode);\n }\n iterate(memo, value) {\n let stack = this.stack;\n stack.push(value);\n stack.push(memo);\n let state = this.capture(2);\n let tracker = this.elements().pushUpdatableBlock();\n // let ip = this.ip;\n // this.ip = end + 4;\n // this.frames.push(ip);\n return new TryOpcode(this.heap.gethandle(this.pc), state, this.runtime, tracker, new _util.LinkedList());\n }\n enterItem(key, opcode) {\n this.listBlock().map[key] = opcode;\n this.didEnter(opcode);\n }\n enterList(relativeStart) {\n let updating = new _util.LinkedList();\n let state = this.capture(0);\n let tracker = this.elements().pushBlockList(updating);\n let artifacts = this.stack.peek().artifacts;\n let addr = this.pc + relativeStart - this.currentOpSize;\n let start = this.heap.gethandle(addr);\n let opcode = new ListBlockOpcode(start, state, this.runtime, tracker, updating, artifacts);\n this.listBlockStack.push(opcode);\n this.didEnter(opcode);\n }\n didEnter(opcode) {\n this.updateWith(opcode);\n this.updatingOpcodeStack.push(opcode.children);\n }\n exit() {\n this.elements().popBlock();\n this.updatingOpcodeStack.pop();\n let parent = this.updating().tail();\n parent.didInitializeChildren();\n }\n exitList() {\n this.exit();\n this.listBlockStack.pop();\n }\n updateWith(opcode) {\n this.updating().append(opcode);\n }\n listBlock() {\n return this.listBlockStack.current;\n }\n updating() {\n return this.updatingOpcodeStack.current;\n }\n elements() {\n return this.elementStack;\n }\n scope() {\n return this.scopeStack.current;\n }\n dynamicScope() {\n return this.dynamicScopeStack.current;\n }\n pushChildScope() {\n this.scopeStack.push(this.scope().child());\n }\n pushDynamicScope() {\n let child = this.dynamicScope().child();\n this.dynamicScopeStack.push(child);\n return child;\n }\n pushRootScope(size, bindCaller) {\n let scope = Scope.sized(size);\n if (bindCaller) scope.bindCallerScope(this.scope());\n this.scopeStack.push(scope);\n return scope;\n }\n pushScope(scope) {\n this.scopeStack.push(scope);\n }\n popScope() {\n this.scopeStack.pop();\n }\n popDynamicScope() {\n this.dynamicScopeStack.pop();\n }\n newDestroyable(d) {\n this.elements().didAddDestroyable(d);\n }\n /// SCOPE HELPERS\n getSelf() {\n return this.scope().getSelf();\n }\n referenceForSymbol(symbol) {\n return this.scope().getSymbol(symbol);\n }\n /// EXECUTION\n execute(start, initialize) {\n this.pc = this.heap.getaddr(start);\n if (initialize) initialize(this);\n let result;\n while (true) {\n result = this.next();\n if (result.done) break;\n }\n return result.value;\n }\n next() {\n let { env, program, updatingOpcodeStack, elementStack } = this;\n let opcode = this.inner.nextStatement();\n let result;\n if (opcode !== null) {\n this.inner.evaluateOuter(opcode, this);\n result = { done: false, value: null };\n } else {\n // Unload the stack\n this.stack.reset();\n result = {\n done: true,\n value: new RenderResult(env, program, updatingOpcodeStack.pop(), elementStack.popBlock())\n };\n }\n return result;\n }\n bindDynamicScope(names) {\n let scope = this.dynamicScope();\n for (let i = names.length - 1; i >= 0; i--) {\n let name = this.constants.getString(names[i]);\n scope.set(name, this.stack.pop());\n }\n }\n }\n\n class TemplateIteratorImpl {\n constructor(vm) {\n this.vm = vm;\n }\n next() {\n return this.vm.next();\n }\n }\n function render(program, env, self, dynamicScope, builder, handle) {\n let vm = VM.initial(program, env, self, dynamicScope, builder, handle);\n return new TemplateIteratorImpl(vm);\n }\n\n class DynamicVarReference {\n constructor(scope, nameRef) {\n this.scope = scope;\n this.nameRef = nameRef;\n let varTag = this.varTag = _reference.UpdatableTag.create(_reference.CONSTANT_TAG);\n this.tag = (0, _reference.combine)([nameRef.tag, varTag]);\n }\n value() {\n return this.getVar().value();\n }\n get(key) {\n return this.getVar().get(key);\n }\n getVar() {\n let name = String(this.nameRef.value());\n let ref = this.scope.get(name);\n this.varTag.inner.update(ref.tag);\n return ref;\n }\n }\n function getDynamicVar(vm, args) {\n let scope = vm.dynamicScope();\n let nameRef = args.positional.at(0);\n return new DynamicVarReference(scope, nameRef);\n }\n\n /** @internal */\n const 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 };\n const 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 };\n\n class RehydratingCursor extends Cursor {\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 class RehydrateBuilder extends NewElementBuilder {\n // private candidate: Option<Simple.Node> = null;\n constructor(env, parentNode, nextSibling) {\n super(env, parentNode, nextSibling);\n this.unmatchedAttributes = null;\n this.blockDepth = 0;\n if (nextSibling) throw new Error('Rehydration with nextSibling not supported');\n let node = this.currentCursor.element.firstChild;\n while (node !== null) {\n if (isComment(node) && (0, _util.isSerializationFirstNode)(node)) {\n break;\n }\n node = node.nextSibling;\n }\n\n this.candidate = node;\n }\n get currentCursor() {\n return this.cursorStack.current;\n }\n get candidate() {\n if (this.currentCursor) {\n return this.currentCursor.candidate;\n }\n return null;\n }\n set candidate(node) {\n this.currentCursor.candidate = node;\n }\n pushElement(element, nextSibling) {\n let { blockDepth = 0 } = this;\n let cursor = new RehydratingCursor(element, nextSibling, blockDepth);\n let currentCursor = this.currentCursor;\n if (currentCursor) {\n if (currentCursor.candidate) {\n /**\n * <div> <--------------- currentCursor.element\n * <!--%+b:1%-->\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 // where to rehydrate from if we are in rehydration mode\n cursor.candidate = element.firstChild;\n // where to continue when we pop\n currentCursor.candidate = element.nextSibling;\n }\n }\n this.cursorStack.push(cursor);\n }\n clearMismatch(candidate) {\n let current = candidate;\n let currentCursor = this.currentCursor;\n if (currentCursor !== null) {\n let openBlockDepth = currentCursor.openBlockDepth;\n if (openBlockDepth >= currentCursor.startingBlockDepth) {\n while (current && !(isComment(current) && getCloseBlockDepth(current) === openBlockDepth)) {\n current = this.remove(current);\n }\n } else {\n while (current !== null) {\n current = this.remove(current);\n }\n }\n // current cursor parentNode should be openCandidate if element\n // or openCandidate.parentNode if comment\n currentCursor.nextSibling = current;\n // disable rehydration until we popElement or closeBlock for openBlockDepth\n currentCursor.candidate = null;\n }\n }\n __openBlock() {\n let { currentCursor } = this;\n if (currentCursor === null) return;\n let blockDepth = this.blockDepth;\n this.blockDepth++;\n let { candidate } = currentCursor;\n if (candidate === null) return;\n if (isComment(candidate) && getOpenBlockDepth(candidate) === blockDepth) {\n currentCursor.candidate = this.remove(candidate);\n currentCursor.openBlockDepth = blockDepth;\n } else {\n this.clearMismatch(candidate);\n }\n }\n __closeBlock() {\n let { currentCursor } = this;\n if (currentCursor === null) return;\n // openBlock is the last rehydrated open block\n let openBlockDepth = currentCursor.openBlockDepth;\n // this currently is the expected next open block depth\n this.blockDepth--;\n let { candidate } = currentCursor;\n // rehydrating\n if (candidate !== null) {\n\n if (isComment(candidate) && getCloseBlockDepth(candidate) === openBlockDepth) {\n currentCursor.candidate = this.remove(candidate);\n currentCursor.openBlockDepth--;\n } else {\n this.clearMismatch(candidate);\n }\n // if the openBlockDepth matches the blockDepth we just closed to\n // then restore rehydration\n }\n if (currentCursor.openBlockDepth === this.blockDepth) {\n\n currentCursor.candidate = this.remove(currentCursor.nextSibling);\n currentCursor.openBlockDepth--;\n }\n }\n __appendNode(node) {\n let { candidate } = this;\n // 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 if (candidate) {\n return candidate;\n } else {\n return super.__appendNode(node);\n }\n }\n __appendHTML(html) {\n let candidateBounds = this.markerBounds();\n if (candidateBounds) {\n let first = candidateBounds.firstNode();\n let last = candidateBounds.lastNode();\n let newBounds = bounds(this.element, first.nextSibling, last.previousSibling);\n let possibleEmptyMarker = this.remove(first);\n this.remove(last);\n if (possibleEmptyMarker !== null && isEmpty$1(possibleEmptyMarker)) {\n this.candidate = this.remove(possibleEmptyMarker);\n if (this.candidate !== null) {\n this.clearMismatch(this.candidate);\n }\n }\n return newBounds;\n } else {\n return super.__appendHTML(html);\n }\n }\n remove(node) {\n let element = node.parentNode;\n let next = node.nextSibling;\n element.removeChild(node);\n return next;\n }\n markerBounds() {\n let _candidate = this.candidate;\n if (_candidate && isMarker(_candidate)) {\n let first = _candidate;\n let last = first.nextSibling;\n while (last && !isMarker(last)) {\n last = last.nextSibling;\n }\n return bounds(this.element, first, last);\n } else {\n return null;\n }\n }\n __appendText(string) {\n let { candidate } = this;\n if (candidate) {\n if (isTextNode(candidate)) {\n if (candidate.nodeValue !== string) {\n candidate.nodeValue = string;\n }\n this.candidate = candidate.nextSibling;\n return candidate;\n } else if (candidate && (isSeparator(candidate) || isEmpty$1(candidate))) {\n this.candidate = candidate.nextSibling;\n this.remove(candidate);\n return this.__appendText(string);\n } else if (isEmpty$1(candidate)) {\n let next = this.remove(candidate);\n this.candidate = next;\n let text = this.dom.createTextNode(string);\n this.dom.insertBefore(this.element, text, next);\n return text;\n } else {\n this.clearMismatch(candidate);\n return super.__appendText(string);\n }\n } else {\n return super.__appendText(string);\n }\n }\n __appendComment(string) {\n let _candidate = this.candidate;\n if (_candidate && isComment(_candidate)) {\n if (_candidate.nodeValue !== string) {\n _candidate.nodeValue = string;\n }\n this.candidate = _candidate.nextSibling;\n return _candidate;\n } else if (_candidate) {\n this.clearMismatch(_candidate);\n }\n return super.__appendComment(string);\n }\n __openElement(tag) {\n let _candidate = this.candidate;\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 this.clearMismatch(_candidate);\n }\n return super.__openElement(tag);\n }\n __setAttribute(name, value, namespace) {\n let unmatched = this.unmatchedAttributes;\n if (unmatched) {\n let attr = findByName(unmatched, name);\n if (attr) {\n if (attr.value !== value) {\n attr.value = value;\n }\n unmatched.splice(unmatched.indexOf(attr), 1);\n return;\n }\n }\n return super.__setAttribute(name, value, namespace);\n }\n __setProperty(name, value) {\n let unmatched = this.unmatchedAttributes;\n if (unmatched) {\n let attr = findByName(unmatched, name);\n if (attr) {\n if (attr.value !== value) {\n attr.value = value;\n }\n unmatched.splice(unmatched.indexOf(attr), 1);\n return;\n }\n }\n return super.__setProperty(name, value);\n }\n __flushElement(parent, constructing) {\n let { unmatchedAttributes: unmatched } = this;\n if (unmatched) {\n for (let i = 0; i < unmatched.length; i++) {\n this.constructing.removeAttribute(unmatched[i].name);\n }\n this.unmatchedAttributes = null;\n } else {\n super.__flushElement(parent, constructing);\n }\n }\n willCloseElement() {\n let { candidate, currentCursor } = this;\n if (candidate !== null) {\n this.clearMismatch(candidate);\n }\n if (currentCursor && currentCursor.injectedOmittedNode) {\n this.popElement();\n }\n super.willCloseElement();\n }\n getMarker(element, guid) {\n let marker = element.querySelector(`script[glmr=\"${guid}\"]`);\n if (marker) {\n return marker;\n }\n throw new Error('Cannot find serialized cursor for `in-element`');\n }\n __pushRemoteElement(element, cursorId, nextSibling = null) {\n let marker = this.getMarker(element, cursorId);\n if (marker.parentNode === element) {\n let currentCursor = this.currentCursor;\n let candidate = currentCursor.candidate;\n this.pushElement(element, nextSibling);\n currentCursor.candidate = candidate;\n this.candidate = this.remove(marker);\n let tracker = new RemoteBlockTracker(element);\n this.pushBlockTracker(tracker, true);\n }\n }\n didAppendBounds(bounds$$1) {\n super.didAppendBounds(bounds$$1);\n if (this.candidate) {\n let last = bounds$$1.lastNode();\n this.candidate = last && last.nextSibling;\n }\n return bounds$$1;\n }\n }\n function isTextNode(node) {\n return node.nodeType === 3;\n }\n function isComment(node) {\n return node.nodeType === 8;\n }\n function getOpenBlockDepth(node) {\n let boundsDepth = node.nodeValue.match(/^%\\+b:(\\d+)%$/);\n if (boundsDepth && boundsDepth[1]) {\n return Number(boundsDepth[1]);\n } else {\n return null;\n }\n }\n function getCloseBlockDepth(node) {\n let boundsDepth = node.nodeValue.match(/^%\\-b:(\\d+)%$/);\n if (boundsDepth && boundsDepth[1]) {\n return Number(boundsDepth[1]);\n } else {\n return null;\n }\n }\n function isElement(node) {\n return node.nodeType === 1;\n }\n function isMarker(node) {\n return node.nodeType === 8 && node.nodeValue === '%glmr%';\n }\n function isSeparator(node) {\n return node.nodeType === 8 && node.nodeValue === '%|%';\n }\n function isEmpty$1(node) {\n return node.nodeType === 8 && node.nodeValue === '% %';\n }\n function isSameNodeType(candidate, tag) {\n if (candidate.namespaceURI === SVG_NAMESPACE$1) {\n return candidate.tagName === tag;\n }\n return candidate.tagName === tag.toUpperCase();\n }\n function findByName(array, name) {\n for (let i = 0; i < array.length; i++) {\n let attr = array[i];\n if (attr.name === name) return attr;\n }\n return undefined;\n }\n function rehydrationBuilder(env, cursor) {\n return RehydrateBuilder.forInitialRender(env, cursor);\n }\n\n exports.renderMain = render;\n exports.NULL_REFERENCE = NULL_REFERENCE;\n exports.UNDEFINED_REFERENCE = UNDEFINED_REFERENCE;\n exports.PrimitiveReference = PrimitiveReference;\n exports.ConditionalReference = ConditionalReference;\n exports.setDebuggerCallback = setDebuggerCallback;\n exports.resetDebuggerCallback = resetDebuggerCallback;\n exports.getDynamicVar = getDynamicVar;\n exports.LowLevelVM = VM;\n exports.UpdatingVM = UpdatingVM;\n exports.RenderResult = RenderResult;\n exports.SimpleDynamicAttribute = SimpleDynamicAttribute;\n exports.DynamicAttribute = DynamicAttribute;\n exports.EMPTY_ARGS = EMPTY_ARGS;\n exports.Scope = Scope;\n exports.Environment = Environment;\n exports.DefaultEnvironment = DefaultEnvironment;\n exports.DEFAULT_CAPABILITIES = DEFAULT_CAPABILITIES;\n exports.MINIMAL_CAPABILITIES = MINIMAL_CAPABILITIES;\n exports.CurriedComponentDefinition = CurriedComponentDefinition;\n exports.isCurriedComponentDefinition = isCurriedComponentDefinition;\n exports.curry = curry;\n exports.DOMChanges = helper$1;\n exports.SVG_NAMESPACE = SVG_NAMESPACE$1;\n exports.IDOMChanges = DOMChanges;\n exports.DOMTreeConstruction = DOMTreeConstruction;\n exports.isWhitespace = isWhitespace;\n exports.insertHTMLBefore = insertHTMLBefore;\n exports.normalizeProperty = normalizeProperty;\n exports.NewElementBuilder = NewElementBuilder;\n exports.clientBuilder = clientBuilder;\n exports.rehydrationBuilder = rehydrationBuilder;\n exports.RehydrateBuilder = RehydrateBuilder;\n exports.ConcreteBounds = ConcreteBounds;\n exports.Cursor = Cursor;\n exports.capabilityFlagsFrom = capabilityFlagsFrom;\n exports.hasCapability = hasCapability;\n});","enifed('@glimmer/util', ['exports'], function (exports) {\n 'use strict';\n\n function unwrap(val) {\n if (val === null || val === undefined) throw new Error(`Expected value to be present`);\n return val;\n }\n function expect(val, message) {\n if (val === null || val === undefined) throw new Error(message);\n return val;\n }\n function unreachable(message = 'unreachable') {\n return new Error(message);\n }\n\n // import Logger from './logger';\n // let alreadyWarned = false;\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 const { keys: objKeys } = Object;\n function assign(obj) {\n for (let i = 1; i < arguments.length; i++) {\n let assignment = arguments[i];\n if (assignment === null || typeof assignment !== 'object') continue;\n let keys = objKeys(assignment);\n for (let j = 0; j < keys.length; j++) {\n let key = keys[j];\n obj[key] = assignment[key];\n }\n }\n return obj;\n }\n function fillNulls(count) {\n let arr = new Array(count);\n for (let i = 0; i < count; i++) {\n arr[i] = null;\n }\n return arr;\n }\n\n let GUID = 0;\n function initializeGuid(object) {\n return object._guid = ++GUID;\n }\n function ensureGuid(object) {\n return object._guid || initializeGuid(object);\n }\n\n const SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';\n function isSerializationFirstNode(node) {\n return node.nodeValue === SERIALIZATION_FIRST_NODE_STRING;\n }\n\n function dict() {\n return Object.create(null);\n }\n class DictSet {\n constructor() {\n this.dict = dict();\n }\n add(obj) {\n if (typeof obj === 'string') this.dict[obj] = obj;else this.dict[ensureGuid(obj)] = obj;\n return this;\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 class Stack {\n constructor() {\n this.stack = [];\n this.current = null;\n }\n get size() {\n return this.stack.length;\n }\n push(item) {\n this.current = item;\n this.stack.push(item);\n }\n pop() {\n let item = this.stack.pop();\n let len = this.stack.length;\n this.current = len === 0 ? null : this.stack[len - 1];\n return item === undefined ? null : item;\n }\n isEmpty() {\n return this.stack.length === 0;\n }\n }\n\n class ListNode {\n constructor(value) {\n this.next = null;\n this.prev = null;\n this.value = value;\n }\n }\n class LinkedList {\n constructor() {\n this.clear();\n }\n head() {\n return this._head;\n }\n tail() {\n return this._tail;\n }\n clear() {\n this._head = this._tail = null;\n }\n toArray() {\n let out = [];\n this.forEachNode(n => out.push(n));\n return out;\n }\n nextNode(node) {\n return node.next;\n }\n forEachNode(callback) {\n let node = this._head;\n while (node !== null) {\n callback(node);\n node = node.next;\n }\n }\n insertBefore(node, reference = null) {\n if (reference === null) return this.append(node);\n if (reference.prev) reference.prev.next = node;else this._head = node;\n node.prev = reference.prev;\n node.next = reference;\n reference.prev = node;\n return node;\n }\n append(node) {\n let tail = this._tail;\n if (tail) {\n tail.next = node;\n node.prev = tail;\n node.next = null;\n } else {\n this._head = node;\n }\n return this._tail = node;\n }\n remove(node) {\n if (node.prev) node.prev.next = node.next;else this._head = node.next;\n if (node.next) node.next.prev = node.prev;else this._tail = node.prev;\n return node;\n }\n }\n class ListSlice {\n constructor(head, tail) {\n this._head = head;\n this._tail = tail;\n }\n forEachNode(callback) {\n let node = this._head;\n while (node !== null) {\n callback(node);\n node = this.nextNode(node);\n }\n }\n head() {\n return this._head;\n }\n tail() {\n return this._tail;\n }\n toArray() {\n let out = [];\n this.forEachNode(n => out.push(n));\n return out;\n }\n nextNode(node) {\n if (node === this._tail) return null;\n return node.next;\n }\n }\n const EMPTY_SLICE = new ListSlice(null, null);\n\n const EMPTY_ARRAY = Object.freeze([]);\n\n exports.assert = debugAssert;\n exports.assign = assign;\n exports.fillNulls = fillNulls;\n exports.ensureGuid = ensureGuid;\n exports.initializeGuid = initializeGuid;\n exports.isSerializationFirstNode = isSerializationFirstNode;\n exports.SERIALIZATION_FIRST_NODE_STRING = SERIALIZATION_FIRST_NODE_STRING;\n exports.Stack = Stack;\n exports.DictSet = DictSet;\n exports.dict = dict;\n exports.EMPTY_SLICE = EMPTY_SLICE;\n exports.LinkedList = LinkedList;\n exports.ListNode = ListNode;\n exports.ListSlice = ListSlice;\n exports.EMPTY_ARRAY = EMPTY_ARRAY;\n exports.unwrap = unwrap;\n exports.expect = expect;\n exports.unreachable = unreachable;\n});","enifed(\"@glimmer/vm\", [\"exports\"], function (exports) {\n \"use strict\";\n\n /**\n * Registers\n *\n * For the most part, these follows MIPS naming conventions, however the\n * register numbers are different.\n */\n var Register;\n (function (Register) {\n // $0 or $pc (program counter): pointer into `program` for the next insturction; -1 means exit\n Register[Register[\"pc\"] = 0] = \"pc\";\n // $1 or $ra (return address): pointer into `program` for the return\n Register[Register[\"ra\"] = 1] = \"ra\";\n // $2 or $fp (frame pointer): pointer into the `evalStack` for the base of the stack\n Register[Register[\"fp\"] = 2] = \"fp\";\n // $3 or $sp (stack pointer): pointer into the `evalStack` for the top of the stack\n Register[Register[\"sp\"] = 3] = \"sp\";\n // $4-$5 or $s0-$s1 (saved): callee saved general-purpose registers\n Register[Register[\"s0\"] = 4] = \"s0\";\n Register[Register[\"s1\"] = 5] = \"s1\";\n // $6-$7 or $t0-$t1 (temporaries): caller saved general-purpose registers\n Register[Register[\"t0\"] = 6] = \"t0\";\n Register[Register[\"t1\"] = 7] = \"t1\";\n // $8 or $v0 (return value)\n Register[Register[\"v0\"] = 8] = \"v0\";\n })(Register || (exports.Register = Register = {}));\n\n exports.Register = Register;\n});","enifed(\"@glimmer/wire-format\", [\"exports\"], function (exports) {\n \"use strict\";\n\n var Opcodes;\n (function (Opcodes) {\n // Statements\n Opcodes[Opcodes[\"Text\"] = 0] = \"Text\";\n Opcodes[Opcodes[\"Append\"] = 1] = \"Append\";\n Opcodes[Opcodes[\"Comment\"] = 2] = \"Comment\";\n Opcodes[Opcodes[\"Modifier\"] = 3] = \"Modifier\";\n Opcodes[Opcodes[\"Block\"] = 4] = \"Block\";\n Opcodes[Opcodes[\"Component\"] = 5] = \"Component\";\n Opcodes[Opcodes[\"DynamicComponent\"] = 6] = \"DynamicComponent\";\n Opcodes[Opcodes[\"OpenElement\"] = 7] = \"OpenElement\";\n Opcodes[Opcodes[\"OpenSplattedElement\"] = 8] = \"OpenSplattedElement\";\n Opcodes[Opcodes[\"FlushElement\"] = 9] = \"FlushElement\";\n Opcodes[Opcodes[\"CloseElement\"] = 10] = \"CloseElement\";\n Opcodes[Opcodes[\"StaticAttr\"] = 11] = \"StaticAttr\";\n Opcodes[Opcodes[\"DynamicAttr\"] = 12] = \"DynamicAttr\";\n Opcodes[Opcodes[\"AttrSplat\"] = 13] = \"AttrSplat\";\n Opcodes[Opcodes[\"Yield\"] = 14] = \"Yield\";\n Opcodes[Opcodes[\"Partial\"] = 15] = \"Partial\";\n Opcodes[Opcodes[\"DynamicArg\"] = 16] = \"DynamicArg\";\n Opcodes[Opcodes[\"StaticArg\"] = 17] = \"StaticArg\";\n Opcodes[Opcodes[\"TrustingAttr\"] = 18] = \"TrustingAttr\";\n Opcodes[Opcodes[\"Debugger\"] = 19] = \"Debugger\";\n Opcodes[Opcodes[\"ClientSideStatement\"] = 20] = \"ClientSideStatement\";\n // Expressions\n Opcodes[Opcodes[\"Unknown\"] = 21] = \"Unknown\";\n Opcodes[Opcodes[\"Get\"] = 22] = \"Get\";\n Opcodes[Opcodes[\"MaybeLocal\"] = 23] = \"MaybeLocal\";\n Opcodes[Opcodes[\"HasBlock\"] = 24] = \"HasBlock\";\n Opcodes[Opcodes[\"HasBlockParams\"] = 25] = \"HasBlockParams\";\n Opcodes[Opcodes[\"Undefined\"] = 26] = \"Undefined\";\n Opcodes[Opcodes[\"Helper\"] = 27] = \"Helper\";\n Opcodes[Opcodes[\"Concat\"] = 28] = \"Concat\";\n Opcodes[Opcodes[\"ClientSideExpression\"] = 29] = \"ClientSideExpression\";\n })(Opcodes || (exports.Ops = Opcodes = {}));\n\n function is(variant) {\n return function (value) {\n return Array.isArray(value) && value[0] === variant;\n };\n }\n // Statements\n const isFlushElement = is(Opcodes.FlushElement);\n const isAttrSplat = is(Opcodes.AttrSplat);\n function isAttribute(val) {\n return val[0] === Opcodes.StaticAttr || val[0] === Opcodes.DynamicAttr || val[0] === Opcodes.TrustingAttr;\n }\n function isArgument(val) {\n return val[0] === Opcodes.StaticArg || val[0] === Opcodes.DynamicArg;\n }\n // Expressions\n const isGet = is(Opcodes.Get);\n const isMaybeLocal = is(Opcodes.MaybeLocal);\n\n exports.is = is;\n exports.isFlushElement = isFlushElement;\n exports.isAttrSplat = isAttrSplat;\n exports.isAttribute = isAttribute;\n exports.isArgument = isArgument;\n exports.isGet = isGet;\n exports.isMaybeLocal = isMaybeLocal;\n exports.Ops = Opcodes;\n});","enifed('backburner', ['exports'], function (exports) {\n 'use strict';\n\n const SET_TIMEOUT = setTimeout;\n const NOOP = () => {};\n function buildPlatform(flush) {\n let next;\n let clearNext = NOOP;\n if (typeof MutationObserver === 'function') {\n let iterations = 0;\n let observer = new MutationObserver(flush);\n let node = document.createTextNode('');\n observer.observe(node, { characterData: true });\n next = () => {\n iterations = ++iterations % 2;\n node.data = '' + iterations;\n return iterations;\n };\n } else if (typeof Promise === 'function') {\n const autorunPromise = Promise.resolve();\n next = () => autorunPromise.then(flush);\n } else {\n next = () => SET_TIMEOUT(flush, 0);\n }\n return {\n setTimeout(fn, ms) {\n return setTimeout(fn, ms);\n },\n clearTimeout(timerId) {\n return clearTimeout(timerId);\n },\n now() {\n return Date.now();\n },\n next,\n clearNext\n };\n }\n\n const NUMBER = /\\d+/;\n const TIMERS_OFFSET = 6;\n function isCoercableNumber(suspect) {\n let type = typeof suspect;\n return type === 'number' && suspect === suspect || type === 'string' && NUMBER.test(suspect);\n }\n function getOnError(options) {\n return options.onError || options.onErrorTarget && options.onErrorTarget[options.onErrorMethod];\n }\n function findItem(target, method, collection) {\n let index = -1;\n for (let i = 0, l = collection.length; i < l; i += 4) {\n if (collection[i] === target && collection[i + 1] === method) {\n index = i;\n break;\n }\n }\n return index;\n }\n function findTimerItem(target, method, collection) {\n let index = -1;\n for (let i = 2, l = collection.length; i < l; i += 6) {\n if (collection[i] === target && collection[i + 1] === method) {\n index = i - 2;\n break;\n }\n }\n return index;\n }\n function getQueueItems(items, queueItemLength, queueItemPositionOffset = 0) {\n let queueItems = [];\n for (let i = 0; i < items.length; i += queueItemLength) {\n let maybeError = items[i + 3 /* stack */ + queueItemPositionOffset];\n let queueItem = {\n target: items[i + 0 /* target */ + queueItemPositionOffset],\n method: items[i + 1 /* method */ + queueItemPositionOffset],\n args: items[i + 2 /* args */ + queueItemPositionOffset],\n stack: maybeError !== undefined && 'stack' in maybeError ? maybeError.stack : ''\n };\n queueItems.push(queueItem);\n }\n return queueItems;\n }\n\n function binarySearch(time, timers) {\n let start = 0;\n let end = timers.length - TIMERS_OFFSET;\n let middle;\n let l;\n while (start < end) {\n // since timers is an array of pairs 'l' will always\n // be an integer\n l = (end - start) / TIMERS_OFFSET;\n // compensate for the index in case even number\n // of pairs inside timers\n middle = start + l - l % TIMERS_OFFSET;\n if (time >= timers[middle]) {\n start = middle + TIMERS_OFFSET;\n } else {\n end = middle;\n }\n }\n return time >= timers[start] ? start + TIMERS_OFFSET : start;\n }\n\n const QUEUE_ITEM_LENGTH = 4;\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 stackFor(index) {\n if (index < this._queue.length) {\n let entry = this._queue[index * 3 + QUEUE_ITEM_LENGTH];\n if (entry) {\n return entry.stack;\n } else {\n return null;\n }\n }\n }\n flush(sync) {\n let { before, after } = this.options;\n let target;\n let method;\n let args;\n let errorRecordedForStack;\n this.targetQueues.clear();\n if (this._queueBeingFlushed.length === 0) {\n this._queueBeingFlushed = this._queue;\n this._queue = [];\n }\n if (before !== undefined) {\n before();\n }\n let invoke;\n let queueItems = this._queueBeingFlushed;\n if (queueItems.length > 0) {\n let onError = getOnError(this.globalOptions);\n invoke = onError ? this.invokeWithOnError : this.invoke;\n for (let i = this.index; i < queueItems.length; i += QUEUE_ITEM_LENGTH) {\n this.index += QUEUE_ITEM_LENGTH;\n method = queueItems[i + 1];\n // method could have been nullified / canceled during flush\n if (method !== null) {\n //\n // ** Attention intrepid developer **\n //\n // To find out the stack of this task when it was scheduled onto\n // the run loop, add the following to your app.js:\n //\n // Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.\n //\n // Once that is in place, when you are at a breakpoint and navigate\n // here in the stack explorer, you can look at `errorRecordedForStack.stack`,\n // which will be the captured stack when this job was scheduled.\n //\n // One possible long-term solution is the following Chrome issue:\n // https://bugs.chromium.org/p/chromium/issues/detail?id=332624\n //\n target = queueItems[i];\n args = queueItems[i + 2];\n errorRecordedForStack = queueItems[i + 3]; // Debugging assistance\n invoke(target, method, args, onError, errorRecordedForStack);\n }\n if (this.index !== this._queueBeingFlushed.length && this.globalOptions.mustYield && this.globalOptions.mustYield()) {\n return 1 /* Pause */;\n }\n }\n }\n if (after !== undefined) {\n after();\n }\n this._queueBeingFlushed.length = 0;\n this.index = 0;\n if (sync !== false && this._queue.length > 0) {\n // check if new items have been added\n this.flush(true);\n }\n }\n hasWork() {\n return this._queueBeingFlushed.length > 0 || this._queue.length > 0;\n }\n cancel({ target, method }) {\n let queue = this._queue;\n let targetQueueMap = this.targetQueues.get(target);\n if (targetQueueMap !== undefined) {\n targetQueueMap.delete(method);\n }\n let index = findItem(target, method, queue);\n if (index > -1) {\n queue.splice(index, QUEUE_ITEM_LENGTH);\n return true;\n }\n // if not found in current queue\n // could be in the queue that is being flushed\n queue = this._queueBeingFlushed;\n index = findItem(target, method, queue);\n if (index > -1) {\n queue[index + 1] = null;\n return true;\n }\n return false;\n }\n push(target, method, args, stack) {\n this._queue.push(target, method, args, stack);\n return {\n queue: this,\n target,\n method\n };\n }\n pushUnique(target, method, args, stack) {\n let localQueueMap = this.targetQueues.get(target);\n if (localQueueMap === undefined) {\n localQueueMap = new Map();\n this.targetQueues.set(target, localQueueMap);\n }\n let index = localQueueMap.get(method);\n if (index === undefined) {\n let queueIndex = this._queue.push(target, method, args, stack) - QUEUE_ITEM_LENGTH;\n localQueueMap.set(method, queueIndex);\n } else {\n let queue = this._queue;\n queue[index + 2] = args; // replace args\n queue[index + 3] = stack; // replace stack\n }\n return {\n queue: this,\n target,\n method\n };\n }\n _getDebugInfo(debugEnabled) {\n if (debugEnabled) {\n let debugInfo = getQueueItems(this._queue, QUEUE_ITEM_LENGTH);\n return debugInfo;\n }\n return undefined;\n }\n invoke(target, method, args /*, onError, errorRecordedForStack */) {\n if (args === undefined) {\n method.call(target);\n } else {\n method.apply(target, args);\n }\n }\n invokeWithOnError(target, method, args, onError, errorRecordedForStack) {\n try {\n if (args === undefined) {\n method.call(target);\n } else {\n method.apply(target, args);\n }\n } catch (error) {\n onError(error, errorRecordedForStack);\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 schedule(queueName, target, method, args, onceFlag, stack) {\n let queues = this.queues;\n let queue = queues[queueName];\n if (queue === undefined) {\n throw new Error(`You attempted to schedule an action in a queue (${queueName}) that doesn\\'t exist`);\n }\n if (method === undefined || method === null) {\n throw new Error(`You attempted to schedule an action in a queue (${queueName}) for a method that doesn\\'t exist`);\n }\n this.queueNameIndex = 0;\n if (onceFlag) {\n return queue.pushUnique(target, method, args, stack);\n } else {\n return queue.push(target, method, args, stack);\n }\n }\n /**\n * DeferredActionQueues.flush() calls Queue.flush()\n *\n * @method flush\n * @param {Boolean} fromAutorun\n */\n flush(fromAutorun = false) {\n let queue;\n let queueName;\n let numberOfQueues = this.queueNames.length;\n while (this.queueNameIndex < numberOfQueues) {\n queueName = this.queueNames[this.queueNameIndex];\n queue = this.queues[queueName];\n if (queue.hasWork() === false) {\n this.queueNameIndex++;\n if (fromAutorun && this.queueNameIndex < numberOfQueues) {\n return 1 /* Pause */;\n }\n } else {\n if (queue.flush(false /* async */) === 1 /* Pause */) {\n return 1 /* Pause */;\n }\n }\n }\n }\n /**\n * Returns debug information for the current queues.\n *\n * @method _getDebugInfo\n * @param {Boolean} debugEnabled\n * @returns {IDebugInfo | undefined}\n */\n _getDebugInfo(debugEnabled) {\n if (debugEnabled) {\n let debugInfo = {};\n let queue;\n let queueName;\n let numberOfQueues = this.queueNames.length;\n let i = 0;\n while (i < numberOfQueues) {\n queueName = this.queueNames[i];\n queue = this.queues[queueName];\n debugInfo[queueName] = queue._getDebugInfo(debugEnabled);\n i++;\n }\n return debugInfo;\n }\n return;\n }\n }\n\n function iteratorDrain(fn) {\n let iterator = fn();\n let result = iterator.next();\n while (result.done === false) {\n result.value();\n result = iterator.next();\n }\n }\n\n const noop = function () {};\n const DISABLE_SCHEDULE = Object.freeze([]);\n function parseArgs() {\n let length = arguments.length;\n let args;\n let method;\n let target;\n if (length === 0) {} else if (length === 1) {\n target = null;\n method = arguments[0];\n } else {\n let argsIndex = 2;\n let methodOrTarget = arguments[0];\n let methodOrArgs = arguments[1];\n let type = typeof methodOrArgs;\n if (type === 'function') {\n target = methodOrTarget;\n method = methodOrArgs;\n } 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 if (length > argsIndex) {\n let len = length - argsIndex;\n args = new Array(len);\n for (let i = 0; i < len; i++) {\n args[i] = arguments[i + argsIndex];\n }\n }\n }\n return [target, method, args];\n }\n function parseTimerArgs() {\n let [target, method, args] = parseArgs(...arguments);\n let wait = 0;\n let length = args !== undefined ? args.length : 0;\n if (length > 0) {\n let last = args[length - 1];\n if (isCoercableNumber(last)) {\n wait = parseInt(args.pop(), 10);\n }\n }\n return [target, method, args, wait];\n }\n function parseDebounceArgs() {\n let target;\n let method;\n let isImmediate;\n let args;\n let wait;\n if (arguments.length === 2) {\n method = arguments[0];\n wait = arguments[1];\n target = null;\n } else {\n [target, method, args] = parseArgs(...arguments);\n if (args === undefined) {\n wait = 0;\n } else {\n wait = args.pop();\n if (!isCoercableNumber(wait)) {\n isImmediate = wait === true;\n wait = args.pop();\n }\n }\n }\n wait = parseInt(wait, 10);\n return [target, method, args, wait, isImmediate];\n }\n let UUID = 0;\n let beginCount = 0;\n let endCount = 0;\n let beginEventCount = 0;\n let endEventCount = 0;\n let runCount = 0;\n let joinCount = 0;\n let deferCount = 0;\n let scheduleCount = 0;\n let scheduleIterableCount = 0;\n let deferOnceCount = 0;\n let scheduleOnceCount = 0;\n let setTimeoutCount = 0;\n let laterCount = 0;\n let throttleCount = 0;\n let debounceCount = 0;\n let cancelTimersCount = 0;\n let cancelCount = 0;\n let autorunsCreatedCount = 0;\n let autorunsCompletedCount = 0;\n let deferredActionQueuesCreatedCount = 0;\n let nestedDeferredActionQueuesCreated = 0;\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 = null;\n this._autorunStack = null;\n this.queueNames = queueNames;\n this.options = options || {};\n if (typeof this.options.defaultQueue === 'string') {\n this._defaultQueue = this.options.defaultQueue;\n } else {\n this._defaultQueue = this.queueNames[0];\n }\n this._onBegin = this.options.onBegin || noop;\n this._onEnd = this.options.onEnd || noop;\n this._boundRunExpiredTimers = this._runExpiredTimers.bind(this);\n this._boundAutorunEnd = () => {\n autorunsCompletedCount++;\n // if the autorun was already flushed, do nothing\n if (this._autorun === null) {\n return;\n }\n this._autorun = null;\n this._autorunStack = null;\n this._end(true /* fromAutorun */);\n };\n let builder = this.options._buildPlatform || buildPlatform;\n this._platform = builder(this._boundAutorunEnd);\n }\n get counters() {\n return {\n begin: beginCount,\n end: endCount,\n events: {\n begin: beginEventCount,\n end: endEventCount\n },\n autoruns: {\n created: autorunsCreatedCount,\n completed: autorunsCompletedCount\n },\n run: runCount,\n join: joinCount,\n defer: deferCount,\n schedule: scheduleCount,\n scheduleIterable: scheduleIterableCount,\n deferOnce: deferOnceCount,\n scheduleOnce: scheduleOnceCount,\n setTimeout: setTimeoutCount,\n later: laterCount,\n throttle: throttleCount,\n debounce: debounceCount,\n cancelTimers: cancelTimersCount,\n cancel: cancelCount,\n loops: {\n total: deferredActionQueuesCreatedCount,\n nested: nestedDeferredActionQueuesCreated\n }\n };\n }\n get defaultQueue() {\n return this._defaultQueue;\n }\n /*\n @method begin\n @return instantiated class DeferredActionQueues\n */\n begin() {\n beginCount++;\n let options = this.options;\n let previousInstance = this.currentInstance;\n let current;\n if (this._autorun !== null) {\n current = previousInstance;\n this._cancelAutorun();\n } else {\n if (previousInstance !== null) {\n nestedDeferredActionQueuesCreated++;\n this.instanceStack.push(previousInstance);\n }\n deferredActionQueuesCreatedCount++;\n current = this.currentInstance = new DeferredActionQueues(this.queueNames, options);\n beginEventCount++;\n this._trigger('begin', current, previousInstance);\n }\n this._onBegin(current, previousInstance);\n return current;\n }\n end() {\n endCount++;\n this._end(false);\n }\n on(eventName, callback) {\n if (typeof callback !== 'function') {\n throw new TypeError(`Callback must be a function`);\n }\n let callbacks = this._eventCallbacks[eventName];\n if (callbacks !== undefined) {\n callbacks.push(callback);\n } else {\n throw new TypeError(`Cannot on() event ${eventName} because it does not exist`);\n }\n }\n off(eventName, callback) {\n let callbacks = this._eventCallbacks[eventName];\n if (!eventName || callbacks === undefined) {\n throw new TypeError(`Cannot off() event ${eventName} because it does not exist`);\n }\n let callbackFound = false;\n if (callback) {\n for (let i = 0; i < callbacks.length; i++) {\n if (callbacks[i] === callback) {\n callbackFound = true;\n callbacks.splice(i, 1);\n i--;\n }\n }\n }\n if (!callbackFound) {\n throw new TypeError(`Cannot off() callback that does not exist`);\n }\n }\n run() {\n runCount++;\n let [target, method, args] = parseArgs(...arguments);\n return this._run(target, method, args);\n }\n join() {\n joinCount++;\n let [target, method, args] = parseArgs(...arguments);\n return this._join(target, method, args);\n }\n /**\n * @deprecated please use schedule instead.\n */\n defer(queueName, target, method, ...args) {\n deferCount++;\n return this.schedule(queueName, target, method, ...args);\n }\n schedule(queueName, ..._args) {\n scheduleCount++;\n let [target, method, args] = parseArgs(..._args);\n let stack = this.DEBUG ? new Error() : undefined;\n return this._ensureInstance().schedule(queueName, target, method, args, false, stack);\n }\n /*\n Defer the passed iterable of functions to run inside the specified queue.\n @method scheduleIterable\n @param {String} queueName\n @param {Iterable} an iterable of functions to execute\n @return method result\n */\n scheduleIterable(queueName, iterable) {\n scheduleIterableCount++;\n let stack = this.DEBUG ? new Error() : undefined;\n return this._ensureInstance().schedule(queueName, null, iteratorDrain, [iterable], false, stack);\n }\n /**\n * @deprecated please use scheduleOnce instead.\n */\n deferOnce(queueName, target, method, ...args) {\n deferOnceCount++;\n return this.scheduleOnce(queueName, target, method, ...args);\n }\n scheduleOnce(queueName, ..._args) {\n scheduleOnceCount++;\n let [target, method, args] = parseArgs(..._args);\n let stack = this.DEBUG ? new Error() : undefined;\n return this._ensureInstance().schedule(queueName, target, method, args, true, stack);\n }\n setTimeout() {\n setTimeoutCount++;\n return this.later(...arguments);\n }\n later() {\n laterCount++;\n let [target, method, args, wait] = parseTimerArgs(...arguments);\n return this._later(target, method, args, wait);\n }\n throttle() {\n throttleCount++;\n let [target, method, args, wait, isImmediate = true] = parseDebounceArgs(...arguments);\n let index = findTimerItem(target, method, this._timers);\n let timerId;\n if (index === -1) {\n timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n if (isImmediate) {\n this._join(target, method, args);\n }\n } else {\n timerId = this._timers[index + 1];\n let argIndex = index + 4;\n if (this._timers[argIndex] !== DISABLE_SCHEDULE) {\n this._timers[argIndex] = args;\n }\n }\n return timerId;\n }\n debounce() {\n debounceCount++;\n let [target, method, args, wait, isImmediate = false] = parseDebounceArgs(...arguments);\n let _timers = this._timers;\n let index = findTimerItem(target, method, _timers);\n let timerId;\n if (index === -1) {\n timerId = this._later(target, method, isImmediate ? DISABLE_SCHEDULE : args, wait);\n if (isImmediate) {\n this._join(target, method, args);\n }\n } else {\n let executeAt = this._platform.now() + wait;\n let argIndex = index + 4;\n if (_timers[argIndex] === DISABLE_SCHEDULE) {\n args = DISABLE_SCHEDULE;\n }\n timerId = _timers[index + 1];\n let i = binarySearch(executeAt, _timers);\n if (index + TIMERS_OFFSET === i) {\n _timers[index] = executeAt;\n _timers[argIndex] = args;\n } else {\n let stack = this._timers[index + 5];\n this._timers.splice(i, 0, executeAt, timerId, target, method, args, stack);\n this._timers.splice(index, TIMERS_OFFSET);\n }\n if (index === 0) {\n this._reinstallTimerTimeout();\n }\n }\n return timerId;\n }\n cancelTimers() {\n cancelTimersCount++;\n this._clearTimerTimeout();\n this._timers = [];\n this._cancelAutorun();\n }\n hasTimers() {\n return this._timers.length > 0 || this._autorun !== null;\n }\n cancel(timer) {\n cancelCount++;\n if (timer === null || timer === undefined) {\n return false;\n }\n let timerType = typeof timer;\n if (timerType === 'number') {\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 return false;\n }\n ensureInstance() {\n this._ensureInstance();\n }\n /**\n * Returns debug information related to the current instance of Backburner\n *\n * @method getDebugInfo\n * @returns {Object | undefined} Will return and Object containing debug information if\n * the DEBUG flag is set to true on the current instance of Backburner, else undefined.\n */\n getDebugInfo() {\n if (this.DEBUG) {\n return {\n autorun: this._autorunStack,\n counters: this.counters,\n timers: getQueueItems(this._timers, TIMERS_OFFSET, 2),\n instanceStack: [this.currentInstance, ...this.instanceStack].map(deferredActionQueue => deferredActionQueue && deferredActionQueue._getDebugInfo(this.DEBUG))\n };\n }\n return undefined;\n }\n _end(fromAutorun) {\n let currentInstance = this.currentInstance;\n let nextInstance = null;\n if (currentInstance === null) {\n throw new Error(`end called without begin`);\n }\n // Prevent double-finally bug in Safari 6.0.2 and iOS 6\n // This bug appears to be resolved in Safari 6.0.5 and iOS 7\n let finallyAlreadyCalled = false;\n let result;\n try {\n result = currentInstance.flush(fromAutorun);\n } finally {\n if (!finallyAlreadyCalled) {\n finallyAlreadyCalled = true;\n if (result === 1 /* Pause */) {\n this._scheduleAutorun();\n } else {\n this.currentInstance = null;\n if (this.instanceStack.length > 0) {\n nextInstance = this.instanceStack.pop();\n this.currentInstance = nextInstance;\n }\n this._trigger('end', currentInstance, nextInstance);\n this._onEnd(currentInstance, nextInstance);\n }\n }\n }\n }\n _join(target, method, args) {\n if (this.currentInstance === null) {\n return this._run(target, method, args);\n }\n if (target === undefined && args === undefined) {\n return method();\n } else {\n return method.apply(target, args);\n }\n }\n _run(target, method, args) {\n let onError = getOnError(this.options);\n this.begin();\n if (onError) {\n try {\n return method.apply(target, args);\n } 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 _cancelAutorun() {\n if (this._autorun !== null) {\n this._platform.clearNext(this._autorun);\n this._autorun = null;\n this._autorunStack = null;\n }\n }\n _later(target, method, args, wait) {\n let stack = this.DEBUG ? new Error() : undefined;\n let executeAt = this._platform.now() + wait;\n let id = UUID++;\n if (this._timers.length === 0) {\n this._timers.push(executeAt, id, target, method, args, stack);\n this._installTimerTimeout();\n } else {\n // find position to insert\n let i = binarySearch(executeAt, this._timers);\n this._timers.splice(i, 0, executeAt, id, target, method, args, stack);\n // always reinstall since it could be out of sync\n this._reinstallTimerTimeout();\n }\n return id;\n }\n _cancelLaterTimer(timer) {\n for (let i = 1; i < this._timers.length; i += TIMERS_OFFSET) {\n if (this._timers[i] === timer) {\n this._timers.splice(i - 1, TIMERS_OFFSET);\n if (i === 1) {\n this._reinstallTimerTimeout();\n }\n return true;\n }\n }\n return false;\n }\n /**\n Trigger an event. Supports up to two arguments. Designed around\n triggering transition events from one run loop instance to the\n next, which requires an argument for the instance and then\n an argument for the next instance.\n @private\n @method _trigger\n @param {String} eventName\n @param {any} arg1\n @param {any} arg2\n */\n _trigger(eventName, arg1, arg2) {\n let callbacks = this._eventCallbacks[eventName];\n if (callbacks !== undefined) {\n for (let i = 0; i < callbacks.length; i++) {\n callbacks[i](arg1, arg2);\n }\n }\n }\n _runExpiredTimers() {\n this._timerTimeoutId = null;\n if (this._timers.length > 0) {\n this.begin();\n this._scheduleExpiredTimers();\n this.end();\n }\n }\n _scheduleExpiredTimers() {\n let timers = this._timers;\n let i = 0;\n let l = timers.length;\n let defaultQueue = this._defaultQueue;\n let n = this._platform.now();\n for (; i < l; i += TIMERS_OFFSET) {\n let executeAt = timers[i];\n if (executeAt > n) {\n break;\n }\n let args = timers[i + 4];\n if (args !== DISABLE_SCHEDULE) {\n let target = timers[i + 2];\n let method = timers[i + 3];\n let stack = timers[i + 5];\n this.currentInstance.schedule(defaultQueue, target, method, args, false, stack);\n }\n }\n timers.splice(0, i);\n this._installTimerTimeout();\n }\n _reinstallTimerTimeout() {\n this._clearTimerTimeout();\n this._installTimerTimeout();\n }\n _clearTimerTimeout() {\n if (this._timerTimeoutId === null) {\n return;\n }\n this._platform.clearTimeout(this._timerTimeoutId);\n this._timerTimeoutId = null;\n }\n _installTimerTimeout() {\n if (this._timers.length === 0) {\n return;\n }\n let minExpiresAt = this._timers[0];\n let n = this._platform.now();\n let wait = Math.max(0, minExpiresAt - n);\n this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);\n }\n _ensureInstance() {\n let currentInstance = this.currentInstance;\n if (currentInstance === null) {\n this._autorunStack = this.DEBUG ? new Error() : undefined;\n currentInstance = this.begin();\n this._scheduleAutorun();\n }\n return currentInstance;\n }\n _scheduleAutorun() {\n autorunsCreatedCount++;\n const next = this._platform.next;\n this._autorun = next();\n }\n }\n Backburner.Queue = Queue;\n\n exports.default = Backburner;\n exports.buildPlatform = buildPlatform;\n});","enifed(\"dag-map\", [\"exports\"], function (exports) {\n \"use strict\";\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 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 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 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 DAG.prototype.addEdges = function (key, value, before, after) {\n this.add(key, value, before, after);\n };\n /**\n * Visits key/value pairs in topological order.\n *\n * @public\n * @param callback The function to be invoked with each key/value.\n */\n DAG.prototype.each = function (callback) {\n this._vertices.walk(callback);\n };\n /**\n * @deprecated please use each.\n */\n DAG.prototype.topsort = function (callback) {\n this.each(callback);\n };\n return DAG;\n }();\n exports.default = DAG;\n\n /** @private */\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 Vertices.prototype.add = function (key) {\n if (!key) throw new Error(\"missing key\");\n var l = this.length | 0;\n var vertex;\n for (var i = 0; i < l; i++) {\n vertex = this[i];\n if (vertex.key === key) return vertex;\n }\n this.length = l + 1;\n return this[l] = {\n idx: l,\n key: key,\n val: undefined,\n out: false,\n flag: false,\n length: 0\n };\n };\n Vertices.prototype.addEdge = function (v, w) {\n this.check(v, w.key);\n var l = w.length | 0;\n for (var i = 0; i < l; i++) {\n if (w[i] === v.idx) return;\n }\n w.length = l + 1;\n w[l] = v.idx;\n v.out = true;\n };\n Vertices.prototype.walk = function (cb) {\n this.reset();\n for (var i = 0; i < this.length; i++) {\n var vertex = this[i];\n if (vertex.out) continue;\n this.visit(vertex, \"\");\n }\n this.each(this.result, cb);\n };\n Vertices.prototype.check = function (v, w) {\n if (v.key === w) {\n throw new Error(\"cycle detected: \" + w + \" <- \" + w);\n }\n // quick check\n if (v.length === 0) return;\n // shallow check\n for (var i = 0; i < v.length; i++) {\n var key = this[v[i]].key;\n if (key === w) {\n throw new Error(\"cycle detected: \" + w + \" <- \" + v.key + \" <- \" + w);\n }\n }\n // deep check\n this.reset();\n this.visit(v, w);\n if (this.path.length > 0) {\n var msg_1 = \"cycle detected: \" + w;\n this.each(this.path, function (key) {\n msg_1 += \" <- \" + key;\n });\n throw new Error(msg_1);\n }\n };\n Vertices.prototype.reset = function () {\n this.stack.length = 0;\n this.path.length = 0;\n this.result.length = 0;\n for (var i = 0, l = this.length; i < l; i++) {\n this[i].flag = false;\n }\n };\n Vertices.prototype.visit = function (start, search) {\n var _a = this,\n stack = _a.stack,\n path = _a.path,\n result = _a.result;\n stack.push(start.idx);\n while (stack.length) {\n var index = stack.pop() | 0;\n if (index >= 0) {\n // enter\n var vertex = this[index];\n if (vertex.flag) continue;\n vertex.flag = true;\n path.push(index);\n if (search === vertex.key) break;\n // push exit\n stack.push(~index);\n this.pushIncoming(vertex);\n } else {\n // exit\n path.pop();\n result.push(~index);\n }\n }\n };\n Vertices.prototype.pushIncoming = function (incomming) {\n var stack = this.stack;\n for (var i = incomming.length - 1; i >= 0; i--) {\n var index = incomming[i];\n if (!this[index].flag) {\n stack.push(index);\n }\n }\n };\n Vertices.prototype.each = function (indices, cb) {\n for (var i = 0, l = indices.length; i < l; i++) {\n var vertex = this[indices[i]];\n cb(vertex.key, vertex.val);\n }\n };\n return Vertices;\n }();\n /** @private */\n var IntStack = function () {\n function IntStack() {\n this.length = 0;\n }\n IntStack.prototype.push = function (n) {\n this[this.length++] = n | 0;\n };\n IntStack.prototype.pop = function () {\n return this[--this.length] | 0;\n };\n return IntStack;\n }();\n});","enifed('ember-babel', ['exports'], function (exports) {\n 'use strict';\n\n exports.classCallCheck = classCallCheck;\n exports.inherits = inherits;\n exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;\n exports.createClass = createClass;\n\n\n const create = Object.create;\n const setPrototypeOf = Object.setPrototypeOf;\n const defineProperty = Object.defineProperty;\n\n function classCallCheck(instance, Constructor) {\n if (false /* DEBUG */) {\n if (!(instance instanceof Constructor)) {\n throw new TypeError('Cannot call a class as a function');\n }\n }\n }\n\n function inherits(subClass, superClass) {\n if (false /* DEBUG */) {\n if (typeof superClass !== 'function' && superClass !== null) {\n throw new TypeError('Super expression must either be null or a function, not ' + typeof superClass);\n }\n }\n subClass.prototype = create(superClass === null ? null : superClass.prototype, {\n constructor: {\n value: subClass,\n enumerable: false,\n writable: true,\n configurable: true\n }\n });\n if (superClass !== null) setPrototypeOf(subClass, superClass);\n }\n\n function taggedTemplateLiteralLoose(strings, raw) {\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 defineProperty(target, descriptor.key, descriptor);\n }\n }\n\n function createClass(Constructor, protoProps, staticProps) {\n if (protoProps !== undefined) defineProperties(Constructor.prototype, protoProps);\n if (staticProps !== undefined) defineProperties(Constructor, staticProps);\n return Constructor;\n }\n\n const possibleConstructorReturn = exports.possibleConstructorReturn = function (self, call) {\n if (false /* DEBUG */) {\n if (!self) {\n throw new ReferenceError(`this hasn't been initialized - super() hasn't been called`);\n }\n }\n return call !== null && typeof call === 'object' || typeof call === 'function' ? call : self;\n };\n});","enifed('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/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/map', '@ember/map/with-default', '@ember/map/lib/ordered-set', '@ember/polyfills', '@ember/deprecated-features'], function (exports, _require2, _environment, _nodeModule, _utils, _container, _instrumentation, _meta, _metal, _canaryFeatures, _debug, _backburner, _console, _controller, _controller_mixin, _string, _service, _computed, _runtime, _glimmer, _version, _views, _routing, _extensionSupport, _error, _runloop, _errorHandling, _owner, _application, _globalsResolver, _instance, _engine, _instance2, _map, _withDefault, _orderedSet, _polyfills, _deprecatedFeatures) {\n 'use strict';\n\n // ****@ember/-internals/environment****\n\n // eslint-disable-next-line import/no-unresolved\n const Ember = typeof _environment.context.imports.Ember === 'object' && _environment.context.imports.Ember || {};\n\n Ember.isNamespace = true;\n Ember.toString = function () {\n return 'Ember';\n };\n\n Object.defineProperty(Ember, 'ENV', {\n get: _environment.getENV,\n enumerable: false\n });\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 get() {\n false && !false && (0, _debug.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\n return _environment.ENV.EXTEND_PROTOTYPES;\n }\n });\n }\n\n // ****@ember/application****\n Ember.getOwner = _owner.getOwner;\n Ember.setOwner = _owner.setOwner;\n Ember.Application = _application.default;\n Ember.DefaultResolver = Ember.Resolver = _globalsResolver.default;\n Ember.ApplicationInstance = _instance.default;\n\n // ****@ember/engine****\n Ember.Engine = _engine.default;\n Ember.EngineInstance = _instance2.default;\n\n // ****@ember/map****\n Ember.OrderedSet = _orderedSet.default;\n Ember.__OrderedSet__ = _orderedSet.__OrderedSet__;\n Ember.Map = _map.default;\n Ember.MapWithDefault = _withDefault.default;\n\n // ****@ember/polyfills****\n Ember.assign = _polyfills.assign;\n Ember.merge = _polyfills.merge;\n\n // ****@ember/-internals/utils****\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;\n Ember.NAME_KEY = _utils.NAME_KEY;\n Ember._Cache = _utils.Cache;\n\n // ****@ember/-internals/container****\n Ember.Container = _container.Container;\n Ember.Registry = _container.Registry;\n\n // ****@ember/debug****\n Ember.assert = _debug.assert;\n Ember.warn = _debug.warn;\n Ember.debug = _debug.debug;\n Ember.deprecate = _debug.deprecate;\n Ember.deprecateFunc = _debug.deprecateFunc;\n Ember.runInDebug = _debug.runInDebug;\n\n // ****@ember/error****\n Ember.Error = _error.default;\n\n /**\n @public\n @class Ember.Debug\n */\n Ember.Debug = {\n registerDeprecationHandler: _debug.registerDeprecationHandler,\n registerWarnHandler: _debug.registerWarnHandler\n };\n\n // ****@ember/instrumentation****\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 };\n\n // ****@ember/runloop****\n\n // Using _globalsRun here so that mutating the function (adding\n // `next`, `later`, etc to it) is only available in globals builds\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 });\n\n // ****@ember/-internals/metal****\n\n // Using _globalsComputed here so that mutating the function is only available\n // in globals builds\n const computed = _metal._globalsComputed;\n Ember.computed = computed;\n computed.alias = _metal.alias;\n Ember.ComputedProperty = _metal.ComputedProperty;\n Ember.cacheFor = _metal.getCachedValueFor;\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)({ isEnabled: _canaryFeatures.isEnabled }, _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 if (_deprecatedFeatures.PROPERTY_WILL_CHANGE) {\n Ember.propertyWillChange = _metal.propertyWillChange;\n }\n if (_deprecatedFeatures.PROPERTY_DID_CHANGE) {\n Ember.propertyDidChange = _metal.propertyDidChange;\n }\n Ember.notifyPropertyChange = _metal.notifyPropertyChange;\n Ember.overrideChains = _metal.overrideChains;\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.watchKey = _metal.watchKey;\n Ember.unwatchKey = _metal.unwatchKey;\n Ember.removeChainWatcher = _metal.removeChainWatcher;\n Ember._ChainNode = _metal.ChainNode;\n Ember.finishChains = _metal.finishChains;\n Ember.watchPath = _metal.watchPath;\n Ember.unwatchPath = _metal.unwatchPath;\n Ember.watch = _metal.watch;\n Ember.isWatching = _metal.isWatching;\n Ember.unwatch = _metal.unwatch;\n Ember.destroy = _meta.deleteMeta;\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 /**\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 Object.defineProperty(Ember, 'onerror', {\n get: _errorHandling.getOnerror,\n set: _errorHandling.setOnerror,\n enumerable: false\n });\n\n Object.defineProperty(Ember, 'testing', {\n get: _debug.isTesting,\n set: _debug.setTesting,\n enumerable: false\n });\n\n Ember._Backburner = _backburner.default;\n\n // ****@ember/-internals/console****\n if (_deprecatedFeatures.LOGGER) {\n Ember.Logger = _console.default;\n }\n\n // ****@ember/-internals/runtime****\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 /**\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 Ember.inject = function inject() {\n false && !false && (0, _debug.assert)(`Injected properties must be created through helpers, see '${Object.keys(inject).map(k => `'inject.${k}'`).join(' or ')}'`);\n };\n Ember.inject.service = _service.inject;\n Ember.inject.controller = _controller.inject;\n\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\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\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\n computed.uniqBy = _computed.uniqBy;\n computed.union = _computed.union;\n computed.intersect = _computed.intersect;\n computed.collect = _computed.collect;\n\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 Object.defineProperty(Ember, 'STRINGS', {\n configurable: false,\n get: _string._getStrings,\n set: _string._setStrings\n });\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 Object.defineProperty(Ember, 'BOOTED', {\n configurable: false,\n enumerable: false,\n get: _metal.isNamespaceSearchDisabled,\n set: _metal.setNamespaceSearchDisabled\n });\n\n // ****@ember/-internals/glimmer****\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.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 Ember.String.htmlSafe = _glimmer.htmlSafe;\n Ember.String.isHTMLSafe = _glimmer.isHTMLSafe;\n\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 Object.defineProperty(Ember, 'TEMPLATES', {\n get: _glimmer.getTemplates,\n set: _glimmer.setTemplates,\n configurable: false,\n enumerable: false\n });\n\n /**\n The semantic version\n \n @property VERSION\n @type String\n @public\n */\n Ember.VERSION = _version.default;\n\n // ****@ember/-internals/views****\n if (!_views.jQueryDisabled) {\n Ember.$ = _views.jQuery;\n }\n Ember.ViewUtils = {\n isSimpleClick: _views.isSimpleClick,\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;\n\n // ****@ember/-internals/routing****\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\n (0, _application.runLoadHooks)('Ember.Application', _application.default);\n\n Ember.DataAdapter = _extensionSupport.DataAdapter;\n Ember.ContainerDebugAdapter = _extensionSupport.ContainerDebugAdapter;\n\n if ((0, _require2.has)('ember-template-compiler')) {\n (0, _require2.default)('ember-template-compiler');\n }\n\n // do this to ensure that Ember.Test is defined properly on the global\n // if it is present.\n if ((0, _require2.has)('ember-testing')) {\n let testing = (0, _require2.default)('ember-testing');\n\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\n exports.default = Ember;\n\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 /**\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});","enifed(\"ember/version\", [\"exports\"], function (exports) {\n \"use strict\";\n\n exports.default = \"3.6.0\";\n});","/*global enifed, module */\nenifed('node-module', ['exports'], function(_exports) {\n var IS_NODE = typeof module === 'object' && typeof module.require === 'function';\n if (IS_NODE) {\n _exports.require = module.require;\n _exports.module = module;\n _exports.IS_NODE = IS_NODE;\n } else {\n _exports.require = null;\n _exports.module = null;\n _exports.IS_NODE = IS_NODE;\n }\n});\n","enifed(\"route-recognizer\", [\"exports\"], function (exports) {\n \"use strict\";\n\n var createObject = Object.create;\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 Target.prototype.to = function to(target, callback) {\n var delegate = this.delegate;\n if (delegate && delegate.willAddRoute) {\n target = delegate.willAddRoute(this.matcher.target, target);\n }\n this.matcher.add(this.path, target);\n if (callback) {\n if (callback.length === 0) {\n throw new Error(\"You must have an argument in the function passed to `to`\");\n }\n this.matcher.addChild(this.path, target, callback, this.delegate);\n }\n };\n var Matcher = function Matcher(target) {\n this.routes = createMap();\n this.children = createMap();\n this.target = target;\n };\n Matcher.prototype.add = function add(path, target) {\n this.routes[path] = target;\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 if (delegate && delegate.contextEntered) {\n delegate.contextEntered(target, match);\n }\n callback(match);\n };\n function generateMatch(startingPath, matcher, delegate) {\n function match(path, callback) {\n var fullPath = startingPath + path;\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 function addRoute(routeArray, path, handler) {\n var len = 0;\n for (var i = 0; i < routeArray.length; i++) {\n len += routeArray[i].path.length;\n }\n path = path.substr(len);\n var route = { path: path, handler: handler };\n routeArray.push(route);\n }\n function eachRoute(baseRoute, matcher, callback, binding) {\n var routes = matcher.routes;\n var paths = Object.keys(routes);\n for (var i = 0; i < paths.length; i++) {\n var path = paths[i];\n var routeArray = baseRoute.slice();\n addRoute(routeArray, path, routes[path]);\n var nested = matcher.children[path];\n if (nested) {\n eachRoute(routeArray, nested, callback, binding);\n } else {\n callback.call(binding, routeArray);\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 };\n\n // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n // values that are not reserved (i.e., unicode characters, emoji, etc). The reserved\n // chars are \"/\" and \"%\".\n // Safe to call multiple times on the same path.\n // Normalizes percent-encoded values in `path` to upper-case and decodes percent-encoded\n function normalizePath(path) {\n return path.split(\"/\").map(normalizeSegment).join(\"/\");\n }\n // We want to ensure the characters \"%\" and \"/\" remain in percent-encoded\n // form when normalizing paths, so replace them with their encoded form after\n // decoding the rest of the path\n var SEGMENT_RESERVED_CHARS = /%|\\//g;\n function normalizeSegment(segment) {\n if (segment.length < 3 || segment.indexOf(\"%\") === -1) {\n return segment;\n }\n return decodeURIComponent(segment).replace(SEGMENT_RESERVED_CHARS, encodeURIComponent);\n }\n // We do not want to encode these characters when generating dynamic path segments\n // See https://tools.ietf.org/html/rfc3986#section-3.3\n // sub-delims: \"!\", \"$\", \"&\", \"'\", \"(\", \")\", \"*\", \"+\", \",\", \";\", \"=\"\n // others allowed by RFC 3986: \":\", \"@\"\n //\n // First encode the entire path segment, then decode any of the encoded special chars.\n //\n // The chars \"!\", \"'\", \"(\", \")\", \"*\" do not get changed by `encodeURIComponent`,\n // so the possible encoded chars are:\n // ['%24', '%26', '%2B', '%2C', '%3B', '%3D', '%3A', '%40'].\n var PATH_SEGMENT_ENCODINGS = /%(?:2(?:4|6|B|C)|3(?:B|D|A)|40)/g;\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 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 if (!hasOwnProperty.call(params, key)) {\n throw new Error(\"You must provide param `\" + key + \"` to `generate`.\");\n }\n var value = params[key];\n var str = typeof value === \"string\" ? value : \"\" + value;\n if (str.length === 0) {\n throw new Error(\"You must provide a param `\" + key + \"`.\");\n }\n return str;\n }\n var eachChar = [];\n eachChar[0 /* Static */] = function (segment, currentState) {\n var state = currentState;\n var value = segment.value;\n for (var i = 0; i < value.length; i++) {\n var ch = value.charCodeAt(i);\n state = state.put(ch, false, false);\n }\n return state;\n };\n eachChar[1 /* Dynamic */] = function (_, currentState) {\n return currentState.put(47 /* SLASH */, true, true);\n };\n eachChar[2 /* Star */] = function (_, currentState) {\n return currentState.put(-1 /* ANY */, false, true);\n };\n eachChar[4 /* Epsilon */] = function (_, currentState) {\n return currentState;\n };\n var regex = [];\n regex[0 /* Static */] = function (segment) {\n return segment.value.replace(escapeRegex, \"\\\\$1\");\n };\n regex[1 /* Dynamic */] = function () {\n return \"([^/]+)\";\n };\n regex[2 /* Star */] = function () {\n return \"(.+)\";\n };\n regex[4 /* Epsilon */] = function () {\n return \"\";\n };\n var generate = [];\n generate[0 /* Static */] = function (segment) {\n return segment.value;\n };\n generate[1 /* Dynamic */] = function (segment, params) {\n var value = getParam(params, segment.value);\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n return encodePathSegment(value);\n } else {\n return value;\n }\n };\n generate[2 /* Star */] = function (segment, params) {\n return getParam(params, segment.value);\n };\n generate[4 /* Epsilon */] = function () {\n return \"\";\n };\n var EmptyObject = Object.freeze({});\n var EmptyArray = Object.freeze([]);\n // The `names` will be populated with the paramter name for each dynamic/star\n // segment. `shouldDecodes` will be populated with a boolean for each dyanamic/star\n // segment, indicating whether it should be decoded during recognition.\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 /* SLASH */) {\n route = route.substr(1);\n }\n var parts = route.split(\"/\");\n var names = undefined;\n var shouldDecodes = undefined;\n for (var i = 0; i < parts.length; i++) {\n var part = parts[i];\n var flags = 0;\n var type = 0;\n if (part === \"\") {\n type = 4 /* Epsilon */;\n } else if (part.charCodeAt(0) === 58 /* COLON */) {\n type = 1 /* Dynamic */;\n } else if (part.charCodeAt(0) === 42 /* STAR */) {\n type = 2 /* Star */;\n } else {\n type = 0 /* Static */;\n }\n flags = 2 << type;\n if (flags & 12 /* Named */) {\n part = part.slice(1);\n names = names || [];\n names.push(part);\n shouldDecodes = shouldDecodes || [];\n shouldDecodes.push((flags & 4 /* Decoded */) !== 0);\n }\n if (flags & 14 /* Counted */) {\n types[type]++;\n }\n segments.push({\n type: type,\n value: normalizeSegment(part)\n });\n }\n return {\n names: names || EmptyArray,\n shouldDecodes: shouldDecodes || EmptyArray\n };\n }\n function isEqualCharSpec(spec, char, negate) {\n return spec.char === char && spec.negate === negate;\n }\n // A State has a character specification and (`charSpec`) and a list of possible\n // subsequent states (`nextStates`).\n //\n // If a State is an accepting state, it will also have several additional\n // properties:\n //\n // * `regex`: A regular expression that is used to extract parameters from paths\n // that reached this accepting state.\n // * `handlers`: Information on how to convert the list of captures into calls\n // to registered handlers with the specified parameters\n // * `types`: How many static, dynamic or star segments in this route. Used to\n // decide which route to use if multiple registered routes match a path.\n //\n // Currently, State is implemented naively by looping over `nextStates` and\n // comparing a character specification against a character. A more efficient\n // implementation would use a hash of keys pointing at one or more next states.\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 State.prototype.regex = function regex$1() {\n if (!this._regex) {\n this._regex = new RegExp(this.pattern);\n }\n return this._regex;\n };\n State.prototype.get = function get(char, negate) {\n var this$1 = this;\n\n var nextStates = this.nextStates;\n if (nextStates === null) {\n return;\n }\n if (isArray(nextStates)) {\n for (var i = 0; i < nextStates.length; i++) {\n var child = this$1.states[nextStates[i]];\n if (isEqualCharSpec(child, char, negate)) {\n return child;\n }\n }\n } else {\n var child$1 = this.states[nextStates];\n if (isEqualCharSpec(child$1, char, negate)) {\n return child$1;\n }\n }\n };\n State.prototype.put = function put(char, negate, repeat) {\n var state;\n // If the character specification already exists in a child of the current\n // state, just return that state.\n if (state = this.get(char, negate)) {\n return state;\n }\n // Make a new state for the character spec\n var states = this.states;\n state = new State(states, states.length, char, negate, repeat);\n states[states.length] = state;\n // Insert the new state as a child of the current state\n if (this.nextStates == null) {\n this.nextStates = state.id;\n } else if (isArray(this.nextStates)) {\n this.nextStates.push(state.id);\n } else {\n this.nextStates = [this.nextStates, state.id];\n }\n // Return the new state\n return state;\n };\n // Find a list of child states matching the next character\n State.prototype.match = function match(ch) {\n var this$1 = this;\n\n var nextStates = this.nextStates;\n if (!nextStates) {\n return [];\n }\n var returned = [];\n if (isArray(nextStates)) {\n for (var i = 0; i < nextStates.length; i++) {\n var child = this$1.states[nextStates[i]];\n if (isMatch(child, ch)) {\n returned.push(child);\n }\n }\n } else {\n var child$1 = this.states[nextStates];\n if (isMatch(child$1, ch)) {\n returned.push(child$1);\n }\n }\n return returned;\n };\n function isMatch(spec, char) {\n return spec.negate ? spec.char !== char && spec.char !== -1 /* ANY */ : spec.char === char || spec.char === -1 /* ANY */;\n }\n // This is a somewhat naive strategy, but should work in a lot of cases\n // A better strategy would properly resolve /posts/:id/new and /posts/edit/:id.\n //\n // This strategy generally prefers more static and less dynamic matching.\n // Specifically, it\n //\n // * prefers fewer stars to more, then\n // * prefers using stars for less of the match to more, then\n // * prefers fewer dynamic segments to more, then\n // * prefers more static segments to more\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 if (astars !== bstars) {\n return astars - bstars;\n }\n if (astars) {\n if (astatics !== bstatics) {\n return bstatics - astatics;\n }\n if (adynamics !== bdynamics) {\n return bdynamics - adynamics;\n }\n }\n if (adynamics !== bdynamics) {\n return adynamics - bdynamics;\n }\n if (astatics !== bstatics) {\n return bstatics - astatics;\n }\n return 0;\n });\n }\n function recognizeChar(states, ch) {\n var nextStates = [];\n for (var i = 0, l = states.length; i < l; i++) {\n var state = states[i];\n nextStates = nextStates.concat(state.match(ch));\n }\n return nextStates;\n }\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 function findHandler(state, originalPath, queryParams) {\n var handlers = state.handlers;\n var regex = state.regex();\n if (!regex || !handlers) {\n throw new Error(\"state not initialized\");\n }\n var captures = originalPath.match(regex);\n var currentCapture = 1;\n var result = new RecognizeResults(queryParams);\n result.length = handlers.length;\n for (var i = 0; i < handlers.length; i++) {\n var handler = handlers[i];\n var names = handler.names;\n var shouldDecodes = handler.shouldDecodes;\n var params = EmptyObject;\n var isDynamic = false;\n if (names !== EmptyArray && shouldDecodes !== EmptyArray) {\n for (var j = 0; j < names.length; j++) {\n isDynamic = true;\n var name = names[j];\n var capture = captures && captures[currentCapture++];\n if (params === EmptyObject) {\n params = {};\n }\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS && shouldDecodes[j]) {\n params[name] = capture && decodeURIComponent(capture);\n } else {\n params[name] = capture;\n }\n }\n }\n result[i] = {\n handler: handler.handler,\n params: params,\n isDynamic: isDynamic\n };\n }\n return result;\n }\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 try {\n result = decodeURIComponent(part);\n } catch (error) {\n result = \"\";\n }\n return result;\n }\n var RouteRecognizer = function RouteRecognizer() {\n this.names = createMap();\n var states = [];\n var state = new State(states, 0, -1 /* ANY */, true, false);\n states[0] = state;\n this.states = states;\n this.rootState = state;\n };\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 for (var i = 0; i < routes.length; i++) {\n var route = routes[i];\n var ref = parse(allSegments, route.path, types);\n var names = ref.names;\n var shouldDecodes = ref.shouldDecodes;\n // preserve j so it points to the start of newly added segments\n for (; j < allSegments.length; j++) {\n var segment = allSegments[j];\n if (segment.type === 4 /* Epsilon */) {\n continue;\n }\n isEmpty = false;\n // Add a \"/\" for the new segment\n currentState = currentState.put(47 /* SLASH */, false, false);\n pattern += \"/\";\n // Add a representation of the segment to the NFA and regex\n currentState = eachChar[segment.type](segment, currentState);\n pattern += regex[segment.type](segment);\n }\n handlers[i] = {\n handler: route.handler,\n names: names,\n shouldDecodes: shouldDecodes\n };\n }\n if (isEmpty) {\n currentState = currentState.put(47 /* SLASH */, false, false);\n pattern += \"/\";\n }\n currentState.handlers = handlers;\n currentState.pattern = pattern + \"$\";\n currentState.types = types;\n var name;\n if (typeof options === \"object\" && options !== null && options.as) {\n name = options.as;\n }\n if (name) {\n // if (this.names[name]) {\n // throw new Error(\"You may not add a duplicate route named `\" + name + \"`.\");\n // }\n this.names[name] = {\n segments: allSegments,\n handlers: handlers\n };\n }\n };\n RouteRecognizer.prototype.handlersFor = function handlersFor(name) {\n var route = this.names[name];\n if (!route) {\n throw new Error(\"There is no route named \" + name);\n }\n var result = new Array(route.handlers.length);\n for (var i = 0; i < route.handlers.length; i++) {\n var handler = route.handlers[i];\n result[i] = handler;\n }\n return result;\n };\n RouteRecognizer.prototype.hasRoute = function hasRoute(name) {\n return !!this.names[name];\n };\n RouteRecognizer.prototype.generate = function generate$1(name, params) {\n var route = this.names[name];\n var output = \"\";\n if (!route) {\n throw new Error(\"There is no route named \" + name);\n }\n var segments = route.segments;\n for (var i = 0; i < segments.length; i++) {\n var segment = segments[i];\n if (segment.type === 4 /* Epsilon */) {\n continue;\n }\n output += \"/\";\n output += generate[segment.type](segment, params);\n }\n if (output.charAt(0) !== \"/\") {\n output = \"/\" + output;\n }\n if (params && params.queryParams) {\n output += this.generateQueryString(params.queryParams);\n }\n return output;\n };\n RouteRecognizer.prototype.generateQueryString = function generateQueryString(params) {\n var pairs = [];\n var keys = Object.keys(params);\n keys.sort();\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = params[key];\n if (value == null) {\n continue;\n }\n var pair = encodeURIComponent(key);\n if (isArray(value)) {\n for (var j = 0; j < value.length; j++) {\n var arrayPair = key + \"[]\" + \"=\" + encodeURIComponent(value[j]);\n pairs.push(arrayPair);\n }\n } else {\n pair += \"=\" + encodeURIComponent(value);\n pairs.push(pair);\n }\n }\n if (pairs.length === 0) {\n return \"\";\n }\n return \"?\" + pairs.join(\"&\");\n };\n RouteRecognizer.prototype.parseQueryString = function parseQueryString(queryString) {\n var pairs = queryString.split(\"&\");\n var queryParams = {};\n for (var i = 0; i < pairs.length; i++) {\n var pair = pairs[i].split(\"=\"),\n key = decodeQueryParamPart(pair[0]),\n keyLength = key.length,\n isArray = false,\n value = void 0;\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 if (!queryParams[key]) {\n queryParams[key] = [];\n }\n }\n value = pair[1] ? decodeQueryParamPart(pair[1]) : \"\";\n }\n if (isArray) {\n queryParams[key].push(value);\n } else {\n queryParams[key] = value;\n }\n }\n return queryParams;\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 if (hashStart !== -1) {\n path = path.substr(0, hashStart);\n }\n var queryStart = path.indexOf(\"?\");\n if (queryStart !== -1) {\n var queryString = path.substr(queryStart + 1, path.length);\n path = path.substr(0, queryStart);\n queryParams = this.parseQueryString(queryString);\n }\n if (path.charAt(0) !== \"/\") {\n path = \"/\" + path;\n }\n var originalPath = path;\n if (RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS) {\n path = normalizePath(path);\n } else {\n path = decodeURI(path);\n originalPath = decodeURI(originalPath);\n }\n var pathLen = path.length;\n if (pathLen > 1 && path.charAt(pathLen - 1) === \"/\") {\n path = path.substr(0, pathLen - 1);\n originalPath = originalPath.substr(0, originalPath.length - 1);\n isSlashDropped = true;\n }\n for (var i = 0; i < path.length; i++) {\n states = recognizeChar(states, path.charCodeAt(i));\n if (!states.length) {\n break;\n }\n }\n var solutions = [];\n for (var i$1 = 0; i$1 < states.length; i$1++) {\n if (states[i$1].handlers) {\n solutions.push(states[i$1]);\n }\n }\n states = sortSolutions(solutions);\n var state = solutions[0];\n if (state && state.handlers) {\n // if a trailing slash was dropped and a star segment is the last segment\n // specified, put the trailing slash back\n if (isSlashDropped && state.pattern && state.pattern.slice(-5) === \"(.+)$\") {\n originalPath = originalPath + \"/\";\n }\n results = findHandler(state, originalPath, queryParams);\n }\n return results;\n };\n RouteRecognizer.VERSION = \"0.3.4\";\n // Set to false to opt-out of encoding and decoding path segments.\n // See https://github.com/tildeio/route-recognizer/pull/55\n RouteRecognizer.ENCODE_AND_DECODE_PATH_SEGMENTS = true;\n RouteRecognizer.Normalizer = {\n normalizeSegment: normalizeSegment, normalizePath: normalizePath, encodePathSegment: encodePathSegment\n };\n RouteRecognizer.prototype.map = map;\n\n exports.default = RouteRecognizer;\n});","enifed('router_js', ['exports', 'rsvp', 'route-recognizer'], function (exports, _rsvp, _routeRecognizer) {\n 'use strict';\n\n exports.InternalRouteInfo = exports.TransitionError = exports.TransitionState = exports.QUERY_PARAMS_SYMBOL = exports.PARAMS_SYMBOL = exports.STATE_SYMBOL = exports.logAbort = exports.InternalTransition = undefined;\n\n\n const TransitionAbortedError = function () {\n TransitionAbortedError.prototype = Object.create(Error.prototype);\n TransitionAbortedError.prototype.constructor = TransitionAbortedError;\n function TransitionAbortedError(message) {\n let error = Error.call(this, message);\n this.name = 'TransitionAborted';\n this.message = message || 'TransitionAborted';\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, TransitionAbortedError);\n } else {\n this.stack = error.stack;\n }\n }\n return TransitionAbortedError;\n }();\n\n const slice = Array.prototype.slice;\n const hasOwnProperty = Object.prototype.hasOwnProperty;\n /**\n Determines if an object is Promise by checking if it is \"thenable\".\n **/\n function isPromise(p) {\n return p !== null && typeof p === 'object' && typeof p.then === 'function';\n }\n function merge(hash, other) {\n for (let prop in other) {\n if (hasOwnProperty.call(other, prop)) {\n hash[prop] = other[prop];\n }\n }\n }\n /**\n @private\n \n Extracts query params from the end of an array\n **/\n function extractQueryParams(array) {\n let len = array && array.length,\n head,\n queryParams;\n if (len && len > 0) {\n let obj = array[len - 1];\n if (isQueryParams(obj)) {\n queryParams = obj.queryParams;\n head = slice.call(array, 0, len - 1);\n return [head, queryParams];\n }\n }\n return [array, null];\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 function coerceQueryParamsToString(queryParams) {\n for (let key in queryParams) {\n let val = queryParams[key];\n if (typeof val === 'number') {\n queryParams[key] = '' + val;\n } else if (Array.isArray(val)) {\n for (let i = 0, l = val.length; i < l; i++) {\n val[i] = '' + val[i];\n }\n }\n }\n }\n /**\n @private\n */\n function log(router, ...args) {\n if (!router.log) {\n return;\n }\n if (arguments.length === 2) {\n let [sequence, msg] = args;\n router.log('Transition #' + sequence + ': ' + msg);\n } else {\n let [msg] = args;\n router.log(msg);\n }\n }\n function isParam(object) {\n return typeof object === 'string' || object instanceof String || typeof object === 'number' || object instanceof Number;\n }\n function forEach(array, callback) {\n for (let i = 0, l = array.length; i < l && callback(array[i]) !== false; i++) {\n // empty intentionally\n }\n }\n function getChangelist(oldObject, newObject) {\n let key;\n let results = {\n all: {},\n changed: {},\n removed: {}\n };\n merge(results.all, newObject);\n let didChange = false;\n coerceQueryParamsToString(oldObject);\n coerceQueryParamsToString(newObject);\n // Calculate removals\n for (key in oldObject) {\n if (hasOwnProperty.call(oldObject, key)) {\n if (!hasOwnProperty.call(newObject, key)) {\n didChange = true;\n results.removed[key] = oldObject[key];\n }\n }\n }\n // Calculate changes\n for (key in newObject) {\n if (hasOwnProperty.call(newObject, key)) {\n let oldElement = oldObject[key];\n let newElement = newObject[key];\n if (isArray(oldElement) && isArray(newElement)) {\n if (oldElement.length !== newElement.length) {\n results.changed[key] = newObject[key];\n didChange = true;\n } else {\n for (let i = 0, l = oldElement.length; i < l; i++) {\n if (oldElement[i] !== newElement[i]) {\n results.changed[key] = newObject[key];\n didChange = true;\n }\n }\n }\n } else if (oldObject[key] !== newObject[key]) {\n results.changed[key] = newObject[key];\n didChange = true;\n }\n }\n }\n return didChange ? results : undefined;\n }\n function isArray(obj) {\n return Array.isArray(obj);\n }\n function promiseLabel(label) {\n return 'Router: ' + label;\n }\n\n const STATE_SYMBOL = `__STATE__-2619860001345920-3322w3`;\n const PARAMS_SYMBOL = `__PARAMS__-261986232992830203-23323`;\n const 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 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 if (error) {\n this.promise = _rsvp.Promise.reject(error);\n this.error = error;\n return;\n }\n // if you're doing multiple redirects, need the new transition to know if it\n // is actually part of the first transition or not. Any further redirects\n // in the initial transition also need to know if they are part of the\n // initial transition\n this.isCausedByAbortingTransition = !!previousTransition;\n this.isCausedByInitialTransition = !!previousTransition && (previousTransition.isCausedByInitialTransition || previousTransition.sequence === 0);\n // Every transition in the chain is a replace\n this.isCausedByAbortingReplaceTransition = !!previousTransition && previousTransition.urlMethod === 'replace' && (!previousTransition.isCausedByAbortingTransition || previousTransition.isCausedByAbortingReplaceTransition);\n if (state) {\n this[PARAMS_SYMBOL] = state.params;\n this[QUERY_PARAMS_SYMBOL] = state.queryParams;\n this.routeInfos = state.routeInfos;\n let len = state.routeInfos.length;\n if (len) {\n this.targetName = state.routeInfos[len - 1].name;\n }\n for (let i = 0; i < len; ++i) {\n let handlerInfo = state.routeInfos[i];\n // TODO: this all seems hacky\n if (!handlerInfo.isResolved) {\n break;\n }\n this.pivotHandler = handlerInfo.route;\n }\n this.sequence = router.currentSequence++;\n this.promise = state.resolve(() => {\n if (this.isAborted) {\n return _rsvp.Promise.reject(false, promiseLabel('Transition aborted - reject'));\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 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 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 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 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 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 abort() {\n this.rollback();\n let transition = new Transition(this.router, undefined, undefined, undefined);\n transition.to = this.from;\n transition.from = this.from;\n transition.isAborted = true;\n this.router.routeWillChange(transition);\n this.router.routeDidChange(transition);\n return this;\n }\n rollback() {\n if (!this.isAborted) {\n log(this.router, this.sequence, this.targetName + ': transition was aborted');\n if (this.intent !== undefined && this.intent !== null) {\n this.intent.preTransitionState = this.router.state;\n }\n this.isAborted = true;\n this.isActive = false;\n this.router.activeTransition = undefined;\n }\n }\n redirect(newTransition) {\n this.rollback();\n this.router.routeWillChange(newTransition);\n }\n /**\n 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 retry() {\n // TODO: add tests for merged state retry()s\n this.abort();\n let newTransition = this.router.transitionByIntent(this.intent, false);\n // inheriting a `null` urlMethod is not valid\n // the urlMethod is only set to `null` when\n // the transition is initiated *after* the url\n // has been updated (i.e. `router.handleURL`)\n //\n // in that scenario, the url method cannot be\n // inherited for a new transition because then\n // the url would not update even though it should\n if (this.urlMethod !== null) {\n newTransition.method(this.urlMethod);\n }\n return newTransition;\n }\n /**\n 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 method(method) {\n this.urlMethod = method;\n return this;\n }\n // Alias 'trigger' as 'send'\n send(ignoreFailure, _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 trigger(ignoreFailure, name, ...args) {\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 followRedirects() {\n let router = this.router;\n return this.promise.catch(function (reason) {\n if (router.activeTransition) {\n return router.activeTransition.followRedirects();\n }\n return _rsvp.Promise.reject(reason);\n });\n }\n toString() {\n return 'Transition (sequence ' + this.sequence + ')';\n }\n /**\n @private\n */\n log(message) {\n log(this.router, this.sequence, message);\n }\n }\n /**\n @private\n \n Logs and returns an instance of TransitionAborted.\n */\n function logAbort(transition) {\n log(transition.router, transition.sequence, 'detected abort.');\n return new TransitionAbortedError();\n }\n function isTransition(obj) {\n return typeof obj === 'object' && obj instanceof Transition && obj.isTransition;\n }\n function prepareResult(obj) {\n if (isTransition(obj)) {\n return null;\n }\n return obj;\n }\n\n let ROUTE_INFOS = new WeakMap();\n function toReadOnlyRouteInfo(routeInfos, queryParams = {}, includeAttributes = false) {\n return routeInfos.map((info, i) => {\n let { name, params, paramNames, context } = info;\n if (ROUTE_INFOS.has(info) && includeAttributes) {\n let routeInfo = ROUTE_INFOS.get(info);\n let routeInfoWithAttribute = createRouteInfoWithAttributes(routeInfo, context);\n ROUTE_INFOS.set(info, routeInfoWithAttribute);\n return routeInfoWithAttribute;\n }\n let routeInfo = {\n find(predicate, thisArg) {\n let publicInfo;\n let arr = [];\n if (predicate.length === 3) {\n arr = routeInfos.map(info => ROUTE_INFOS.get(info));\n }\n for (let i = 0; routeInfos.length > i; i++) {\n publicInfo = ROUTE_INFOS.get(routeInfos[i]);\n if (predicate.call(thisArg, publicInfo, i, arr)) {\n return publicInfo;\n }\n }\n return undefined;\n },\n get name() {\n return name;\n },\n get paramNames() {\n return paramNames;\n },\n get parent() {\n let parent = routeInfos[i - 1];\n if (parent === undefined) {\n return null;\n }\n return ROUTE_INFOS.get(parent);\n },\n get child() {\n let child = routeInfos[i + 1];\n if (child === undefined) {\n return null;\n }\n return ROUTE_INFOS.get(child);\n },\n get localName() {\n let parts = this.name.split('.');\n return parts[parts.length - 1];\n },\n get params() {\n return params;\n },\n get queryParams() {\n return queryParams;\n }\n };\n if (includeAttributes) {\n routeInfo = createRouteInfoWithAttributes(routeInfo, context);\n }\n ROUTE_INFOS.set(info, routeInfo);\n return routeInfo;\n });\n }\n function createRouteInfoWithAttributes(routeInfo, context) {\n let attributes = {\n get attributes() {\n return context;\n }\n };\n if (Object.isFrozen(routeInfo) || routeInfo.hasOwnProperty('attributes')) {\n return Object.assign({}, routeInfo, attributes);\n }\n return Object.assign(routeInfo, attributes);\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 if (route) {\n this._processRoute(route);\n }\n }\n getModel(_transition) {\n return _rsvp.Promise.resolve(this.context);\n }\n serialize(_context) {\n return this.params || {};\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 becomeResolved(transition, resolvedContext) {\n let params = this.serialize(resolvedContext);\n if (transition) {\n this.stashResolvedModel(transition, resolvedContext);\n transition[PARAMS_SYMBOL] = transition[PARAMS_SYMBOL] || {};\n transition[PARAMS_SYMBOL][this.name] = params;\n }\n let context;\n let contextsMatch = resolvedContext === this.context;\n if ('context' in this || !contextsMatch) {\n context = resolvedContext;\n }\n let cached = ROUTE_INFOS.get(this);\n let resolved = new ResolvedRouteInfo(this.router, this.name, this.paramNames, params, this.route, context);\n if (cached !== undefined) {\n ROUTE_INFOS.set(resolved, cached);\n }\n return resolved;\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 let 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 get route() {\n // _route could be set to either a route object or undefined, so we\n // compare against null to know when it's been set\n if (this._route !== null) {\n return this._route;\n }\n return this.fetchRoute();\n }\n set route(route) {\n this._route = route;\n }\n get routePromise() {\n if (this._routePromise) {\n return this._routePromise;\n }\n this.fetchRoute();\n return this._routePromise;\n }\n set routePromise(routePromise) {\n this._routePromise = routePromise;\n }\n log(transition, message) {\n if (transition.log) {\n transition.log(this.name + ': ' + message);\n }\n }\n updateRoute(route) {\n return this.route = route;\n }\n runBeforeModelHook(transition) {\n if (transition.trigger) {\n transition.trigger(true, 'willResolveModel', transition, this.route);\n }\n let result;\n if (this.route) {\n if (this.route.beforeModel !== undefined) {\n result = this.route.beforeModel(transition);\n }\n }\n if (isTransition(result)) {\n result = null;\n }\n return _rsvp.Promise.resolve(result);\n }\n runAfterModelHook(transition, resolvedModel) {\n // Stash the resolved model on the payload.\n // This makes it possible for users to swap out\n // the resolved model in afterModel.\n let name = this.name;\n this.stashResolvedModel(transition, resolvedModel);\n let result;\n if (this.route !== undefined) {\n if (this.route.afterModel !== undefined) {\n result = this.route.afterModel(resolvedModel, transition);\n }\n }\n result = prepareResult(result);\n return _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 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 stashResolvedModel(transition, resolvedModel) {\n transition.resolvedModels = transition.resolvedModels || {};\n transition.resolvedModels[this.name] = resolvedModel;\n }\n fetchRoute() {\n let route = this.router.getRoute(this.name);\n return this._processRoute(route);\n }\n _processRoute(route) {\n // Setup a routePromise so that we can wait for asynchronously loaded routes\n this.routePromise = _rsvp.Promise.resolve(route);\n // Wait until the 'route' property has been updated when chaining to a route\n // that is a promise\n if (isPromise(route)) {\n this.routePromise = this.routePromise.then(r => {\n return this.updateRoute(r);\n });\n // set to undefined to avoid recursive loop in the route getter\n return this.route = undefined;\n } else if (route) {\n return this.updateRoute(route);\n }\n return undefined;\n }\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 resolve(_shouldContinue, transition) {\n // A ResolvedRouteInfo just resolved with itself.\n if (transition && transition.resolvedModels) {\n transition.resolvedModels[this.name] = this.context;\n }\n return _rsvp.Promise.resolve(this);\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 getModel(transition) {\n let fullParams = this.params;\n if (transition && transition[QUERY_PARAMS_SYMBOL]) {\n fullParams = {};\n merge(fullParams, this.params);\n fullParams.queryParams = transition[QUERY_PARAMS_SYMBOL];\n }\n let route = this.route;\n let result = undefined;\n if (route.deserialize) {\n result = route.deserialize(fullParams, transition);\n } else if (route.model) {\n result = route.model(fullParams, transition);\n }\n if (result && isTransition(result)) {\n result = undefined;\n }\n return _rsvp.Promise.resolve(result);\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 getModel(transition) {\n if (this.router.log !== undefined) {\n this.router.log(this.name + ': resolving provided model');\n }\n return super.getModel(transition);\n }\n /**\n @private\n 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 serialize(model) {\n let { paramNames, context } = this;\n if (!model) {\n model = context;\n }\n let object = {};\n if (isParam(model)) {\n object[paramNames[0]] = model;\n return object;\n }\n // Use custom serialize if it exists.\n if (this.serializer) {\n // invoke this.serializer unbound (getSerializer returns a stateless function)\n return this.serializer.call(null, model, paramNames);\n } else if (this.route !== undefined) {\n if (this.route.serialize) {\n return this.route.serialize(model, paramNames);\n }\n }\n if (paramNames.length !== 1) {\n return;\n }\n let name = paramNames[0];\n if (/_id$/.test(name)) {\n object[name] = model.id;\n } else {\n object[name] = model;\n }\n return object;\n }\n }\n function paramsMatch(a, b) {\n if (!a !== !b) {\n // Only one is null.\n return false;\n }\n if (!a) {\n // Both must be null.\n return true;\n }\n // Note: this assumes that both params have the same\n // number of keys, but since we're comparing the\n // same routes, they should.\n for (let k in a) {\n if (a.hasOwnProperty(k) && a[k] !== b[k]) {\n return false;\n }\n }\n return true;\n }\n\n class TransitionIntent {\n constructor(router, data = {}) {\n this.router = router;\n this.data = data;\n }\n }\n\n class TransitionState {\n constructor() {\n this.routeInfos = [];\n this.queryParams = {};\n this.params = {};\n }\n promiseLabel(label) {\n let targetName = '';\n forEach(this.routeInfos, function (routeInfo) {\n if (targetName !== '') {\n targetName += '.';\n }\n targetName += routeInfo.name;\n return true;\n });\n return promiseLabel(\"'\" + targetName + \"': \" + label);\n }\n resolve(shouldContinue, transition) {\n // First, calculate params for this state. This is useful\n // information to provide to the various route hooks.\n let params = this.params;\n forEach(this.routeInfos, routeInfo => {\n params[routeInfo.name] = routeInfo.params || {};\n return true;\n });\n transition.resolveIndex = 0;\n let currentState = this;\n let wasAborted = false;\n // The prelude RSVP.resolve() asyncs us into the promise land.\n return _rsvp.Promise.resolve(null, this.promiseLabel('Start transition')).then(resolveOneRouteInfo, null, this.promiseLabel('Resolve route')).catch(handleError, this.promiseLabel('Handle error'));\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 function handleError(error) {\n // This is the only possible\n // reject value of TransitionState#resolve\n let routeInfos = currentState.routeInfos;\n let errorHandlerIndex = transition.resolveIndex >= routeInfos.length ? routeInfos.length - 1 : transition.resolveIndex;\n return _rsvp.Promise.reject(new TransitionError(error, currentState.routeInfos[errorHandlerIndex].route, wasAborted, currentState));\n }\n function proceed(resolvedRouteInfo) {\n let wasAlreadyResolved = currentState.routeInfos[transition.resolveIndex].isResolved;\n // Swap the previously unresolved routeInfo with\n // the resolved routeInfo\n currentState.routeInfos[transition.resolveIndex++] = resolvedRouteInfo;\n if (!wasAlreadyResolved) {\n // Call the redirect hook. The reason we call it here\n // vs. afterModel is so that redirects into child\n // routes don't re-run the model hooks for this\n // already-resolved route.\n let { route } = resolvedRouteInfo;\n if (route !== undefined) {\n if (route.redirect) {\n route.redirect(resolvedRouteInfo.context, transition);\n }\n }\n }\n // Proceed after ensuring that the redirect hook\n // didn't abort this transition by transitioning elsewhere.\n return innerShouldContinue().then(resolveOneRouteInfo, null, currentState.promiseLabel('Resolve route'));\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 let routeInfo = currentState.routeInfos[transition.resolveIndex];\n return routeInfo.resolve(innerShouldContinue, transition).then(proceed, null, currentState.promiseLabel('Proceed'));\n }\n }\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 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 applyToState(oldState, isIntermediate) {\n // TODO: WTF fix me\n let partitionedArgs = extractQueryParams([this.name].concat(this.contexts)),\n pureArgs = partitionedArgs[0],\n handlers = this.router.recognizer.handlersFor(pureArgs[0]);\n let targetRouteName = handlers[handlers.length - 1].handler;\n return this.applyToHandlers(oldState, handlers, targetRouteName, isIntermediate, false);\n }\n applyToHandlers(oldState, parsedHandlers, targetRouteName, isIntermediate, checkingIfActive) {\n let i, len;\n let newState = new TransitionState();\n let objects = this.contexts.slice(0);\n let invalidateIndex = parsedHandlers.length;\n // Pivot handlers are provided for refresh transitions\n if (this.pivotHandler) {\n for (i = 0, len = parsedHandlers.length; i < len; ++i) {\n if (parsedHandlers[i].handler === this.pivotHandler.routeName) {\n invalidateIndex = i;\n break;\n }\n }\n }\n for (i = parsedHandlers.length - 1; i >= 0; --i) {\n let result = parsedHandlers[i];\n let name = result.handler;\n let oldHandlerInfo = oldState.routeInfos[i];\n let newHandlerInfo = null;\n if (result.names.length > 0) {\n if (i >= invalidateIndex) {\n newHandlerInfo = this.createParamHandlerInfo(name, result.names, objects, oldHandlerInfo);\n } 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 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 let oldContext = oldHandlerInfo && oldHandlerInfo.context;\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 newHandlerInfo.context = oldContext;\n }\n let handlerToUse = oldHandlerInfo;\n if (i >= invalidateIndex || newHandlerInfo.shouldSupercede(oldHandlerInfo)) {\n invalidateIndex = Math.min(i, invalidateIndex);\n handlerToUse = newHandlerInfo;\n }\n if (isIntermediate && !checkingIfActive) {\n handlerToUse = handlerToUse.becomeResolved(null, handlerToUse.context);\n }\n newState.routeInfos.unshift(handlerToUse);\n }\n if (objects.length > 0) {\n throw new Error('More context objects were passed than there are dynamic segments for the route: ' + targetRouteName);\n }\n if (!isIntermediate) {\n this.invalidateChildren(newState.routeInfos, invalidateIndex);\n }\n merge(newState.queryParams, this.queryParams || {});\n return newState;\n }\n invalidateChildren(handlerInfos, invalidateIndex) {\n for (let i = invalidateIndex, l = handlerInfos.length; i < l; ++i) {\n let handlerInfo = handlerInfos[i];\n if (handlerInfo.isResolved) {\n let { name, params, route, paramNames } = handlerInfos[i];\n handlerInfos[i] = new UnresolvedRouteInfoByParam(this.router, name, paramNames, params, route);\n }\n }\n }\n getHandlerInfoForDynamicSegment(name, names, objects, oldHandlerInfo, _targetRouteName, i) {\n let objectToUse;\n if (objects.length > 0) {\n // Use the objects provided for this transition.\n objectToUse = objects[objects.length - 1];\n if (isParam(objectToUse)) {\n return this.createParamHandlerInfo(name, names, objects, oldHandlerInfo);\n } 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 let 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 return new UnresolvedRouteInfoByObject(this.router, name, names, objectToUse);\n }\n createParamHandlerInfo(name, names, objects, oldHandlerInfo) {\n let params = {};\n // Soak up all the provided string/numbers\n let numNames = names.length;\n while (numNames--) {\n // Only use old params if the names match with the new handler\n let oldParams = oldHandlerInfo && name === oldHandlerInfo.name && oldHandlerInfo.params || {};\n let peek = objects[objects.length - 1];\n let paramName = names[numNames];\n if (isParam(peek)) {\n params[paramName] = '' + objects.pop();\n } 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 throw new Error(\"You didn't provide enough string/numeric parameters to satisfy all of the dynamic segments for route \" + name);\n }\n }\n }\n return new UnresolvedRouteInfoByParam(this.router, name, names, params);\n }\n }\n\n const UnrecognizedURLError = function () {\n UnrecognizedURLError.prototype = Object.create(Error.prototype);\n UnrecognizedURLError.prototype.constructor = UnrecognizedURLError;\n function UnrecognizedURLError(message) {\n let error = Error.call(this, message);\n this.name = 'UnrecognizedURLError';\n this.message = message || 'UnrecognizedURL';\n if (Error.captureStackTrace) {\n Error.captureStackTrace(this, UnrecognizedURLError);\n } else {\n this.stack = error.stack;\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 applyToState(oldState) {\n let newState = new TransitionState();\n let results = this.router.recognizer.recognize(this.url),\n i,\n len;\n if (!results) {\n throw new UnrecognizedURLError(this.url);\n }\n let statesDiffer = false;\n let _url = this.url;\n // Checks if a handler is accessible by URL. If it is not, an error is thrown.\n // For the case where the handler is loaded asynchronously, the error will be\n // thrown once it is loaded.\n function checkHandlerAccessibility(handler) {\n if (handler && handler.inaccessibleByURL) {\n throw new UnrecognizedURLError(_url);\n }\n return handler;\n }\n for (i = 0, len = results.length; i < len; ++i) {\n let result = results[i];\n let name = result.handler;\n let paramNames = [];\n if (this.router.recognizer.hasRoute(name)) {\n paramNames = this.router.recognizer.handlersFor(name)[i].names;\n }\n let newRouteInfo = new UnresolvedRouteInfoByParam(this.router, name, paramNames, result.params);\n let route = newRouteInfo.route;\n if (route) {\n checkHandlerAccessibility(route);\n } 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 let oldRouteInfo = oldState.routeInfos[i];\n if (statesDiffer || newRouteInfo.shouldSupercede(oldRouteInfo)) {\n statesDiffer = true;\n newState.routeInfos[i] = newRouteInfo;\n } else {\n newState.routeInfos[i] = oldRouteInfo;\n }\n }\n merge(newState.queryParams, results.queryParams);\n return newState;\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 map(callback) {\n this.recognizer.map(callback, function (recognizer, routes) {\n for (let i = routes.length - 1, proceed = true; i >= 0 && proceed; --i) {\n let route = routes[i];\n let handler = route.handler;\n recognizer.add(routes, { as: handler });\n proceed = route.path === '/' || route.path === '' || handler.slice(-6) === '.index';\n }\n });\n }\n hasRoute(route) {\n return this.recognizer.hasRoute(route);\n }\n queryParamsTransition(changelist, wasTransitioning, oldState, newState) {\n this.fireQueryParamDidChange(newState, changelist);\n if (!wasTransitioning && this.activeTransition) {\n // One of the routes in queryParamsDidChange\n // caused a transition. Just return that transition.\n return this.activeTransition;\n } else {\n // Running queryParamsDidChange didn't change anything.\n // Just update query params and be on our way.\n // We have to return a noop transition that will\n // perform a URL update at the end. This gives\n // the user the ability to set the url update\n // method (default is replaceState).\n let newTransition = new Transition(this, undefined, undefined);\n newTransition.queryParamsOnly = true;\n oldState.queryParams = this.finalizeQueryParamChange(newState.routeInfos, newState.queryParams, newTransition);\n newTransition[QUERY_PARAMS_SYMBOL] = newState.queryParams;\n this.toReadOnlyInfos(newTransition, newState);\n this.routeWillChange(newTransition);\n newTransition.promise = newTransition.promise.then(result => {\n this._updateURL(newTransition, oldState);\n this.didTransition(this.currentRouteInfos);\n this.toInfos(newTransition, newState.routeInfos, true);\n this.routeDidChange(newTransition);\n return result;\n }, null, promiseLabel('Transition complete'));\n return newTransition;\n }\n }\n transitionByIntent(intent, isIntermediate) {\n try {\n return this.getTransitionByIntent(intent, isIntermediate);\n } catch (e) {\n return new Transition(this, intent, undefined, e, undefined);\n }\n }\n recognize(url) {\n let intent = new URLTransitionIntent(this, url);\n let newState = this.generateNewState(intent);\n if (newState === null) {\n return newState;\n }\n let readonlyInfos = toReadOnlyRouteInfo(newState.routeInfos, newState.queryParams);\n return readonlyInfos[readonlyInfos.length - 1];\n }\n recognizeAndLoad(url) {\n let intent = new URLTransitionIntent(this, url);\n let newState = this.generateNewState(intent);\n if (newState === null) {\n return _rsvp.Promise.reject(`URL ${url} was not recognized`);\n }\n let newTransition = new Transition(this, intent, newState, undefined);\n return newTransition.then(() => {\n let routeInfosWithAttributes = toReadOnlyRouteInfo(newState.routeInfos, newTransition[QUERY_PARAMS_SYMBOL], true);\n return routeInfosWithAttributes[routeInfosWithAttributes.length - 1];\n });\n }\n generateNewState(intent) {\n try {\n return intent.applyToState(this.state, false);\n } catch (e) {\n return null;\n }\n }\n getTransitionByIntent(intent, isIntermediate) {\n let wasTransitioning = !!this.activeTransition;\n let oldState = wasTransitioning ? this.activeTransition[STATE_SYMBOL] : this.state;\n let newTransition;\n let newState = intent.applyToState(oldState, isIntermediate);\n let queryParamChangelist = getChangelist(oldState.queryParams, newState.queryParams);\n if (routeInfosEqual(newState.routeInfos, oldState.routeInfos)) {\n // This is a no-op transition. See if query params changed.\n if (queryParamChangelist) {\n let newTransition = this.queryParamsTransition(queryParamChangelist, wasTransitioning, oldState, newState);\n newTransition.queryParamsOnly = true;\n return newTransition;\n }\n // No-op. No need to create a new transition.\n return this.activeTransition || new Transition(this, undefined, undefined);\n }\n if (isIntermediate) {\n this.setupContexts(newState);\n let transition = this.activeTransition;\n if (!transition.isCausedByAbortingTransition) {\n transition = new Transition(this, undefined, undefined);\n transition.from = transition.from;\n }\n this.toInfos(transition, newState.routeInfos);\n this.routeWillChange(transition);\n return this.activeTransition;\n }\n // Create a new transition to the destination route.\n newTransition = new Transition(this, intent, newState, undefined, this.activeTransition);\n // transition is to same route with same params, only query params differ.\n // not caught above probably because refresh() has been used\n if (routeInfosSameExceptQueryParams(newState.routeInfos, oldState.routeInfos)) {\n newTransition.queryParamsOnly = true;\n }\n this.toReadOnlyInfos(newTransition, newState);\n // Abort and usurp any previously active transition.\n if (this.activeTransition) {\n this.activeTransition.redirect(newTransition);\n }\n this.activeTransition = newTransition;\n // Transition promises by default resolve with resolved state.\n // For our purposes, swap out the promise to resolve\n // after the transition has been finalized.\n newTransition.promise = newTransition.promise.then(result => {\n return this.finalizeTransition(newTransition, result);\n }, null, promiseLabel('Settle transition promise when transition is finalized'));\n if (!wasTransitioning) {\n this.notifyExistingHandlers(newState, newTransition);\n }\n this.fireQueryParamDidChange(newState, queryParamChangelist);\n return newTransition;\n }\n /**\n @private\n 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 doTransition(name, modelsArray = [], isIntermediate = false) {\n let lastArg = modelsArray[modelsArray.length - 1];\n let queryParams = {};\n if (lastArg !== undefined && lastArg.hasOwnProperty('queryParams')) {\n queryParams = modelsArray.pop().queryParams;\n }\n let intent;\n if (name === undefined) {\n log(this, 'Updating query params');\n // A query param update is really just a transition\n // into the route you're already on.\n let { routeInfos } = this.state;\n intent = new NamedTransitionIntent(this, routeInfos[routeInfos.length - 1].name, undefined, [], queryParams);\n } 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 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 finalizeTransition(transition, newState) {\n try {\n log(transition.router, transition.sequence, 'Resolved all models on destination route; finalizing transition.');\n let routeInfos = newState.routeInfos;\n // Run all the necessary enter/setup/exit hooks\n this.setupContexts(newState, transition);\n // Check if a redirect occurred in enter/setup\n if (transition.isAborted) {\n // TODO: cleaner way? distinguish b/w targetRouteInfos?\n this.state.routeInfos = this.currentRouteInfos;\n return _rsvp.Promise.reject(logAbort(transition));\n }\n this._updateURL(transition, newState);\n transition.isActive = false;\n this.activeTransition = undefined;\n this.triggerEvent(this.currentRouteInfos, true, 'didTransition', []);\n this.didTransition(this.currentRouteInfos);\n this.toInfos(transition, newState.routeInfos, true);\n this.routeDidChange(transition);\n log(this, transition.sequence, 'TRANSITION COMPLETE.');\n // Resolve with the final route.\n return routeInfos[routeInfos.length - 1].route;\n } catch (e) {\n if (!(e instanceof TransitionAbortedError)) {\n let infos = transition[STATE_SYMBOL].routeInfos;\n transition.trigger(true, 'error', e, transition, infos[infos.length - 1].route);\n transition.abort();\n }\n throw e;\n }\n }\n /**\n @private\n 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 setupContexts(newState, transition) {\n let partition = this.partitionRoutes(this.state, newState);\n let i, l, route;\n for (i = 0, l = partition.exited.length; i < l; i++) {\n route = partition.exited[i].route;\n delete route.context;\n if (route !== undefined) {\n if (route._internalReset !== undefined) {\n route._internalReset(true, transition);\n }\n if (route.exit !== undefined) {\n route.exit(transition);\n }\n }\n }\n let oldState = this.oldState = this.state;\n this.state = newState;\n let currentRouteInfos = this.currentRouteInfos = partition.unchanged.slice();\n try {\n for (i = 0, l = partition.reset.length; i < l; i++) {\n route = partition.reset[i].route;\n if (route !== undefined) {\n if (route._internalReset !== undefined) {\n route._internalReset(false, transition);\n }\n }\n }\n for (i = 0, l = partition.updatedContext.length; i < l; i++) {\n this.routeEnteredOrUpdated(currentRouteInfos, partition.updatedContext[i], false, transition);\n }\n for (i = 0, l = partition.entered.length; i < l; i++) {\n this.routeEnteredOrUpdated(currentRouteInfos, partition.entered[i], true, transition);\n }\n } catch (e) {\n this.state = oldState;\n this.currentRouteInfos = oldState.routeInfos;\n throw e;\n }\n this.state.queryParams = this.finalizeQueryParamChange(currentRouteInfos, newState.queryParams, transition);\n }\n /**\n @private\n Fires queryParamsDidChange event\n */\n fireQueryParamDidChange(newState, queryParamChangelist) {\n // If queryParams changed trigger event\n if (queryParamChangelist) {\n // This is a little hacky but we need some way of storing\n // changed query params given that no activeTransition\n // is guaranteed to have occurred.\n this._changedQueryParams = queryParamChangelist.all;\n this.triggerEvent(newState.routeInfos, true, 'queryParamsDidChange', [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 routeEnteredOrUpdated(currentRouteInfos, routeInfo, enter, transition) {\n let route = routeInfo.route,\n context = routeInfo.context;\n function _routeEnteredOrUpdated(route) {\n if (enter) {\n if (route.enter !== undefined) {\n route.enter(transition);\n }\n }\n if (transition && transition.isAborted) {\n throw new TransitionAbortedError();\n }\n route.context = context;\n if (route.contextDidChange !== undefined) {\n route.contextDidChange();\n }\n if (route.setup !== undefined) {\n route.setup(context, transition);\n }\n if (transition && transition.isAborted) {\n throw new TransitionAbortedError();\n }\n currentRouteInfos.push(routeInfo);\n return route;\n }\n // If the route doesn't exist, it means we haven't resolved the route promise yet\n if (route === undefined) {\n routeInfo.routePromise = routeInfo.routePromise.then(_routeEnteredOrUpdated);\n } else {\n _routeEnteredOrUpdated(route);\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 partitionRoutes(oldState, newState) {\n let oldRouteInfos = oldState.routeInfos;\n let newRouteInfos = newState.routeInfos;\n let routes = {\n updatedContext: [],\n exited: [],\n entered: [],\n unchanged: [],\n reset: []\n };\n let routeChanged,\n contextChanged = false,\n i,\n l;\n for (i = 0, l = newRouteInfos.length; i < l; i++) {\n let oldRouteInfo = oldRouteInfos[i],\n newRouteInfo = newRouteInfos[i];\n if (!oldRouteInfo || oldRouteInfo.route !== newRouteInfo.route) {\n routeChanged = true;\n }\n if (routeChanged) {\n routes.entered.push(newRouteInfo);\n if (oldRouteInfo) {\n routes.exited.unshift(oldRouteInfo);\n }\n } 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 for (i = newRouteInfos.length, l = oldRouteInfos.length; i < l; i++) {\n routes.exited.unshift(oldRouteInfos[i]);\n }\n routes.reset = routes.updatedContext.slice();\n routes.reset.reverse();\n return routes;\n }\n _updateURL(transition, state) {\n let urlMethod = transition.urlMethod;\n if (!urlMethod) {\n return;\n }\n let { routeInfos } = state;\n let { name: routeName } = routeInfos[routeInfos.length - 1];\n let params = {};\n for (let i = routeInfos.length - 1; i >= 0; --i) {\n let routeInfo = routeInfos[i];\n merge(params, routeInfo.params);\n if (routeInfo.route.inaccessibleByURL) {\n urlMethod = null;\n }\n }\n if (urlMethod) {\n params.queryParams = transition._visibleQueryParams || state.queryParams;\n let url = this.recognizer.generate(routeName, params);\n // transitions during the initial transition must always use replaceURL.\n // When the app boots, you are at a url, e.g. /foo. If some route\n // redirects to bar as part of the initial transition, you don't want to\n // add a history entry for /foo. If you do, pressing back will immediately\n // hit the redirect again and take you back to /bar, thus killing the back\n // button\n let initial = transition.isCausedByInitialTransition;\n // say you are at / and you click a link to route /foo. In /foo's\n // route, the transition is aborted using replacewith('/bar').\n // Because the current url is still /, the history entry for / is\n // removed from the history. Clicking back will take you to the page\n // you were on before /, which is often not even the app, thus killing\n // the back button. That's why updateURL is always correct for an\n // aborting transition that's not the initial transition\n let replaceAndNotAborting = urlMethod === 'replace' && !transition.isCausedByAbortingTransition;\n // because calling refresh causes an aborted transition, this needs to be\n // special cased - if the initial transition is a replace transition, the\n // urlMethod should be honored here.\n let isQueryParamsRefreshTransition = transition.queryParamsOnly && urlMethod === 'replace';\n // say you are at / and you a `replaceWith(/foo)` is called. Then, that\n // transition is aborted with `replaceWith(/bar)`. At the end, we should\n // end up with /bar replacing /. We are replacing the replace. We only\n // will replace the initial route if all subsequent aborts are also\n // replaces. However, there is some ambiguity around the correct behavior\n // here.\n let replacingReplace = urlMethod === 'replace' && transition.isCausedByAbortingReplaceTransition;\n if (initial || replaceAndNotAborting || isQueryParamsRefreshTransition || replacingReplace) {\n this.replaceURL(url);\n } else {\n this.updateURL(url);\n }\n }\n }\n finalizeQueryParamChange(resolvedHandlers, newQueryParams, transition) {\n // We fire a finalizeQueryParamChange event which\n // gives the new route hierarchy a chance to tell\n // us which query params it's consuming and what\n // their final values are. If a query param is\n // no longer consumed in the final route hierarchy,\n // its serialized segment will be removed\n // from the URL.\n for (let k in newQueryParams) {\n if (newQueryParams.hasOwnProperty(k) && newQueryParams[k] === null) {\n delete newQueryParams[k];\n }\n }\n let finalQueryParamsArray = [];\n this.triggerEvent(resolvedHandlers, true, 'finalizeQueryParamChange', [newQueryParams, finalQueryParamsArray, transition]);\n if (transition) {\n transition._visibleQueryParams = {};\n }\n let finalQueryParams = {};\n for (let i = 0, len = finalQueryParamsArray.length; i < len; ++i) {\n let qp = finalQueryParamsArray[i];\n finalQueryParams[qp.key] = qp.value;\n if (transition && qp.visible !== false) {\n transition._visibleQueryParams[qp.key] = qp.value;\n }\n }\n return finalQueryParams;\n }\n toReadOnlyInfos(newTransition, newState) {\n let oldRouteInfos = this.state.routeInfos;\n this.fromInfos(newTransition, oldRouteInfos);\n this.toInfos(newTransition, newState.routeInfos);\n this._lastQueryParams = newState.queryParams;\n }\n fromInfos(newTransition, oldRouteInfos) {\n if (newTransition !== undefined && oldRouteInfos.length > 0) {\n let fromInfos = toReadOnlyRouteInfo(oldRouteInfos, Object.assign({}, this._lastQueryParams), true);\n newTransition.from = fromInfos[fromInfos.length - 1] || null;\n }\n }\n toInfos(newTransition, newRouteInfos, includeAttributes = false) {\n if (newTransition !== undefined && newRouteInfos.length > 0) {\n let toInfos = toReadOnlyRouteInfo(newRouteInfos, Object.assign({}, newTransition[QUERY_PARAMS_SYMBOL]), includeAttributes);\n newTransition.to = toInfos[toInfos.length - 1] || null;\n }\n }\n notifyExistingHandlers(newState, newTransition) {\n let oldRouteInfos = this.state.routeInfos,\n i,\n oldRouteInfoLen,\n oldHandler,\n newRouteInfo;\n oldRouteInfoLen = oldRouteInfos.length;\n for (i = 0; i < oldRouteInfoLen; i++) {\n oldHandler = oldRouteInfos[i];\n newRouteInfo = newState.routeInfos[i];\n if (!newRouteInfo || oldHandler.name !== newRouteInfo.name) {\n break;\n }\n if (!newRouteInfo.isResolved) {}\n }\n this.triggerEvent(oldRouteInfos, true, 'willTransition', [newTransition]);\n this.routeWillChange(newTransition);\n this.willTransition(oldRouteInfos, newState.routeInfos, newTransition);\n }\n /**\n Clears the current and target route routes and triggers exit\n on each of them starting at the leaf and traversing up through\n its ancestors.\n */\n reset() {\n if (this.state) {\n forEach(this.state.routeInfos.slice().reverse(), function (routeInfo) {\n let route = routeInfo.route;\n if (route !== undefined) {\n if (route.exit !== undefined) {\n route.exit();\n }\n }\n return true;\n });\n }\n this.oldState = undefined;\n this.state = new TransitionState();\n this.currentRouteInfos = undefined;\n }\n /**\n let handler = routeInfo.handler;\n The entry point for handling a change to the URL (usually\n via the back and forward button).\n 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 handleURL(url) {\n // Perform a URL-based transition, but don't change\n // the URL afterward, since it already happened.\n if (url.charAt(0) !== '/') {\n url = '/' + url;\n }\n return this.doTransition(url).method(null);\n }\n /**\n Transition into the specified named route.\n 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 transitionTo(name, ...contexts) {\n if (typeof name === 'object') {\n contexts.push(name);\n return this.doTransition(undefined, contexts, false);\n }\n return this.doTransition(name, contexts);\n }\n intermediateTransitionTo(name, ...args) {\n return this.doTransition(name, args, true);\n }\n refresh(pivotRoute) {\n let previousTransition = this.activeTransition;\n let state = previousTransition ? previousTransition[STATE_SYMBOL] : this.state;\n let routeInfos = state.routeInfos;\n if (pivotRoute === undefined) {\n pivotRoute = routeInfos[0].route;\n }\n log(this, 'Starting a refresh transition');\n let name = routeInfos[routeInfos.length - 1].name;\n let intent = new NamedTransitionIntent(this, name, pivotRoute, [], this._changedQueryParams || state.queryParams);\n let newTransition = this.transitionByIntent(intent, false);\n // if the previous transition is a replace transition, that needs to be preserved\n if (previousTransition && previousTransition.urlMethod === 'replace') {\n newTransition.method(previousTransition.urlMethod);\n }\n return newTransition;\n }\n /**\n Identical to `transitionTo` except that the current URL will be replaced\n if possible.\n This method is intended primarily for use with `replaceState`.\n @param {String} name the name of the route\n */\n replaceWith(name) {\n return this.doTransition(name).method('replace');\n }\n /**\n Take a named route and context objects and generate a\n URL.\n @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 generate(routeName, ...args) {\n let partitionedArgs = extractQueryParams(args),\n suppliedParams = partitionedArgs[0],\n queryParams = partitionedArgs[1];\n // Construct a TransitionIntent with the provided params\n // and apply it to the present state of the router.\n let intent = new NamedTransitionIntent(this, routeName, undefined, suppliedParams);\n let state = intent.applyToState(this.state, false);\n let params = {};\n for (let i = 0, len = state.routeInfos.length; i < len; ++i) {\n let routeInfo = state.routeInfos[i];\n let routeParams = routeInfo.serialize();\n merge(params, routeParams);\n }\n params.queryParams = queryParams;\n return this.recognizer.generate(routeName, params);\n }\n applyIntent(routeName, contexts) {\n let intent = new NamedTransitionIntent(this, routeName, undefined, contexts);\n let state = this.activeTransition && this.activeTransition[STATE_SYMBOL] || this.state;\n return intent.applyToState(state, false);\n }\n isActiveIntent(routeName, contexts, queryParams, _state) {\n let state = _state || this.state,\n targetRouteInfos = state.routeInfos,\n routeInfo,\n len;\n if (!targetRouteInfos.length) {\n return false;\n }\n let targetHandler = targetRouteInfos[targetRouteInfos.length - 1].name;\n let recogHandlers = this.recognizer.handlersFor(targetHandler);\n let index = 0;\n for (len = recogHandlers.length; index < len; ++index) {\n routeInfo = targetRouteInfos[index];\n if (routeInfo.name === routeName) {\n break;\n }\n }\n if (index === recogHandlers.length) {\n // The provided route name isn't even in the route hierarchy.\n return false;\n }\n let testState = new TransitionState();\n testState.routeInfos = targetRouteInfos.slice(0, index + 1);\n recogHandlers = recogHandlers.slice(0, index + 1);\n let intent = new NamedTransitionIntent(this, targetHandler, undefined, contexts);\n let newState = intent.applyToHandlers(testState, recogHandlers, targetHandler, true, true);\n let routesEqual = routeInfosEqual(newState.routeInfos, testState.routeInfos);\n if (!queryParams || !routesEqual) {\n return routesEqual;\n }\n // Get a hash of QPs that will still be active on new route\n let activeQPsOnNewHandler = {};\n merge(activeQPsOnNewHandler, queryParams);\n let activeQueryParams = state.queryParams;\n for (let key in activeQueryParams) {\n if (activeQueryParams.hasOwnProperty(key) && activeQPsOnNewHandler.hasOwnProperty(key)) {\n activeQPsOnNewHandler[key] = activeQueryParams[key];\n }\n }\n return routesEqual && !getChangelist(activeQPsOnNewHandler, queryParams);\n }\n isActive(routeName, ...args) {\n let partitionedArgs = extractQueryParams(args);\n return this.isActiveIntent(routeName, partitionedArgs[0], partitionedArgs[1]);\n }\n trigger(name, ...args) {\n this.triggerEvent(this.currentRouteInfos, false, name, args);\n }\n }\n function routeInfosEqual(routeInfos, otherRouteInfos) {\n if (routeInfos.length !== otherRouteInfos.length) {\n return false;\n }\n for (let i = 0, len = routeInfos.length; i < len; ++i) {\n if (routeInfos[i] !== otherRouteInfos[i]) {\n return false;\n }\n }\n return true;\n }\n function routeInfosSameExceptQueryParams(routeInfos, otherRouteInfos) {\n if (routeInfos.length !== otherRouteInfos.length) {\n return false;\n }\n for (let i = 0, len = routeInfos.length; i < len; ++i) {\n if (routeInfos[i].name !== otherRouteInfos[i].name) {\n return false;\n }\n if (!paramsEqual(routeInfos[i].params, otherRouteInfos[i].params)) {\n return false;\n }\n }\n return true;\n }\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 let keys = Object.keys(params);\n let otherKeys = Object.keys(otherParams);\n if (keys.length !== otherKeys.length) {\n return false;\n }\n for (let i = 0, len = keys.length; i < len; ++i) {\n let key = keys[i];\n if (params[key] !== otherParams[key]) {\n return false;\n }\n }\n return true;\n }\n\n exports.default = Router;\n exports.InternalTransition = Transition;\n exports.logAbort = logAbort;\n exports.STATE_SYMBOL = STATE_SYMBOL;\n exports.PARAMS_SYMBOL = PARAMS_SYMBOL;\n exports.QUERY_PARAMS_SYMBOL = QUERY_PARAMS_SYMBOL;\n exports.TransitionState = TransitionState;\n exports.TransitionError = TransitionError;\n exports.InternalRouteInfo = InternalRouteInfo;\n});","enifed('rsvp', ['exports', 'node-module'], function (exports, _nodeModule) {\n 'use strict';\n\n exports.filter = exports.async = exports.map = exports.reject = exports.resolve = exports.off = exports.on = exports.configure = exports.denodeify = exports.defer = exports.rethrow = exports.hashSettled = exports.hash = exports.race = exports.allSettled = exports.all = exports.EventTarget = exports.Promise = exports.cast = exports.asap = undefined;\n function callbacksFor(object) {\n let callbacks = object._promiseCallbacks;\n\n if (!callbacks) {\n callbacks = object._promiseCallbacks = {};\n }\n\n return callbacks;\n }\n\n /**\n @class RSVP.EventTarget\n */\n var EventTarget = {\n\n /**\n `RSVP.EventTarget.mixin` extends an object with EventTarget methods. For\n Example:\n ```javascript\n let object = {};\n RSVP.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 let Person = function() {};\n RSVP.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.EventTarget\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 RSVP.EventTarget\n @private\n @param {String} eventName name of the event to listen for\n @param {Function} callback function to be called when the event is triggered.\n */\n on(eventName, callback) {\n if (typeof callback !== 'function') {\n throw new TypeError('Callback must be a function');\n }\n\n let allCallbacks = callbacksFor(this);\n let callbacks = allCallbacks[eventName];\n\n if (!callbacks) {\n callbacks = allCallbacks[eventName] = [];\n }\n\n if (callbacks.indexOf(callback) === -1) {\n callbacks.push(callback);\n }\n },\n\n /**\n You can use `off` to stop firing a particular callback for an event:\n ```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.EventTarget\n @private\n @param {String} eventName event to stop listening to\n @param {Function} callback optional argument. If given, only the function\n given will be removed from the event's callback queue. If no `callback`\n argument is given, all callbacks will be removed from the event's callback\n queue.\n */\n off(eventName, callback) {\n let allCallbacks = callbacksFor(this);\n\n if (!callback) {\n allCallbacks[eventName] = [];\n return;\n }\n\n let callbacks = allCallbacks[eventName];\n let index = callbacks.indexOf(callback);\n\n if (index !== -1) {\n callbacks.splice(index, 1);\n }\n },\n\n /**\n Use `trigger` to fire custom events. For example:\n ```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.EventTarget\n @private\n @param {String} eventName name of the event to be triggered\n @param {*} options optional value to be passed to any event handlers for\n the given `eventName`\n */\n trigger(eventName, options, label) {\n let allCallbacks = callbacksFor(this);\n\n let callbacks = allCallbacks[eventName];\n if (callbacks) {\n // Don't cache the callbacks.length since it may grow\n let callback;\n for (let i = 0; i < callbacks.length; i++) {\n callback = callbacks[i];\n callback(options, label);\n }\n }\n }\n };\n\n const config = {\n instrument: false\n };\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 const queue = [];\n\n function scheduleFlush() {\n setTimeout(() => {\n for (let i = 0; i < queue.length; i++) {\n let entry = queue[i];\n\n let payload = entry.payload;\n\n payload.guid = payload.key + payload.id;\n payload.childGuid = payload.key + payload.childId;\n if (payload.error) {\n payload.stack = payload.error.stack;\n }\n\n config['trigger'](entry.name, entry.payload);\n }\n queue.length = 0;\n }, 50);\n }\n\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 scheduleFlush();\n }\n }\n\n /**\n `RSVP.Promise.resolve` returns a promise that will become resolved with the\n passed `value`. It is shorthand for the following:\n \n ```javascript\n let promise = new RSVP.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 let promise = RSVP.Promise.resolve(1);\n \n promise.then(function(value){\n // value === 1\n });\n ```\n \n @method resolve\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 function resolve$$1(object, label) {\n /*jshint validthis:true */\n let Constructor = this;\n\n if (object && typeof object === 'object' && object.constructor === Constructor) {\n return object;\n }\n\n let promise = new Constructor(noop, label);\n resolve$1(promise, object);\n return promise;\n }\n\n function withOwnPromise() {\n return new TypeError('A promises callback cannot return that same promise.');\n }\n\n function objectOrFunction(x) {\n let type = typeof x;\n return x !== null && (type === 'object' || type === 'function');\n }\n\n function noop() {}\n\n const PENDING = void 0;\n const FULFILLED = 1;\n const REJECTED = 2;\n\n const TRY_CATCH_ERROR = { error: null };\n\n function getThen(promise) {\n try {\n return promise.then;\n } catch (error) {\n TRY_CATCH_ERROR.error = error;\n return TRY_CATCH_ERROR;\n }\n }\n\n let tryCatchCallback;\n function tryCatcher() {\n try {\n let target = tryCatchCallback;\n tryCatchCallback = null;\n return target.apply(this, arguments);\n } catch (e) {\n TRY_CATCH_ERROR.error = e;\n return TRY_CATCH_ERROR;\n }\n }\n\n function tryCatch(fn) {\n tryCatchCallback = fn;\n return tryCatcher;\n }\n\n function handleForeignThenable(promise, thenable, then$$1) {\n config.async(promise => {\n let sealed = false;\n let result = tryCatch(then$$1).call(thenable, value => {\n if (sealed) {\n return;\n }\n sealed = true;\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 sealed = true;\n\n reject(promise, reason);\n }, 'Settle: ' + (promise._label || ' unknown promise'));\n\n if (!sealed && result === TRY_CATCH_ERROR) {\n sealed = true;\n let error = TRY_CATCH_ERROR.error;\n TRY_CATCH_ERROR.error = null;\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 let isOwnThenable = maybeThenable.constructor === promise.constructor && then$$1 === then && promise.constructor.resolve === resolve$$1;\n\n if (isOwnThenable) {\n handleOwnThenable(promise, maybeThenable);\n } else if (then$$1 === TRY_CATCH_ERROR) {\n let error = TRY_CATCH_ERROR.error;\n TRY_CATCH_ERROR.error = null;\n reject(promise, error);\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 handleMaybeThenable(promise, value, getThen(value));\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 promise._state = REJECTED;\n promise._result = reason;\n config.async(publishRejection, promise);\n }\n\n function subscribe(parent, child, onFulfillment, onRejection) {\n let subscribers = parent._subscribers;\n let length = subscribers.length;\n\n parent._onError = null;\n\n subscribers[length] = child;\n subscribers[length + FULFILLED] = onFulfillment;\n subscribers[length + REJECTED] = onRejection;\n\n if (length === 0 && parent._state) {\n config.async(publish, parent);\n }\n }\n\n function publish(promise) {\n let subscribers = promise._subscribers;\n let settled = promise._state;\n\n if (config.instrument) {\n instrument(settled === FULFILLED ? 'fulfilled' : 'rejected', promise);\n }\n\n if (subscribers.length === 0) {\n return;\n }\n\n let child,\n callback,\n result = promise._result;\n\n for (let i = 0; i < subscribers.length; i += 3) {\n child = subscribers[i];\n callback = subscribers[i + settled];\n\n if (child) {\n invokeCallback(settled, child, callback, result);\n } else {\n callback(result);\n }\n }\n\n promise._subscribers.length = 0;\n }\n\n function invokeCallback(state, promise, callback, result) {\n let hasCallback = typeof callback === 'function';\n let value;\n\n if (hasCallback) {\n value = tryCatch(callback)(result);\n } else {\n value = result;\n }\n\n if (promise._state !== PENDING) {\n // noop\n } else if (value === promise) {\n reject(promise, withOwnPromise());\n } else if (value === TRY_CATCH_ERROR) {\n let error = TRY_CATCH_ERROR.error;\n TRY_CATCH_ERROR.error = null; // release\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 let resolved = false;\n try {\n resolver(value => {\n if (resolved) {\n return;\n }\n resolved = true;\n resolve$1(promise, value);\n }, reason => {\n if (resolved) {\n return;\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 let parent = this;\n let state = parent._state;\n\n if (state === FULFILLED && !onFulfillment || state === REJECTED && !onRejection) {\n config.instrument && instrument('chained', parent, parent);\n return parent;\n }\n\n parent._onError = null;\n\n let child = new parent.constructor(noop, label);\n let result = parent._result;\n\n config.instrument && instrument('chained', parent, child);\n\n if (state === PENDING) {\n subscribe(parent, child, onFulfillment, onRejection);\n } else {\n let callback = state === FULFILLED ? onFulfillment : onRejection;\n config.async(() => invokeCallback(state, child, callback, result));\n }\n\n return child;\n }\n\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 let len = input.length || 0;\n this.length = len;\n this._remaining = len;\n this._result = new Array(len);\n\n this._enumerate(input);\n }\n\n _enumerate(input) {\n let length = this.length;\n let promise = this.promise;\n\n for (let i = 0; promise._state === PENDING && i < length; i++) {\n this._eachEntry(input[i], i, true);\n }\n this._checkFullfillment();\n }\n\n _checkFullfillment() {\n if (this._remaining === 0) {\n let result = this._result;\n fulfill(this.promise, result);\n this._result = null;\n }\n }\n\n _settleMaybeThenable(entry, i, firstPass) {\n let c = this._instanceConstructor;\n\n if (this._isUsingOwnResolve) {\n let then$$1 = getThen(entry);\n\n if (then$$1 === then && entry._state !== PENDING) {\n entry._onError = null;\n this._settledAt(entry._state, i, entry._result, firstPass);\n } else if (typeof then$$1 !== 'function') {\n this._settledAt(FULFILLED, i, entry, firstPass);\n } else if (this._isUsingOwnPromise) {\n let promise = new c(noop);\n handleMaybeThenable(promise, entry, then$$1);\n this._willSettleAt(promise, i, firstPass);\n } else {\n this._willSettleAt(new c(resolve => resolve(entry)), i, firstPass);\n }\n } else {\n this._willSettleAt(c.resolve(entry), i, firstPass);\n }\n }\n\n _eachEntry(entry, i, firstPass) {\n if (entry !== null && typeof entry === 'object') {\n this._settleMaybeThenable(entry, i, firstPass);\n } else {\n this._setResultAt(FULFILLED, i, entry, firstPass);\n }\n }\n\n _settledAt(state, i, value, firstPass) {\n let promise = this.promise;\n\n if (promise._state === PENDING) {\n if (this._abortOnReject && state === REJECTED) {\n reject(promise, value);\n } else {\n this._setResultAt(state, i, value, firstPass);\n this._checkFullfillment();\n }\n }\n }\n\n _setResultAt(state, i, value, firstPass) {\n this._remaining--;\n this._result[i] = value;\n }\n\n _willSettleAt(promise, i, firstPass) {\n subscribe(promise, undefined, value => this._settledAt(FULFILLED, i, value, firstPass), reason => this._settledAt(REJECTED, i, reason, firstPass));\n }\n }\n\n function setSettledResult(state, i, value) {\n this._remaining--;\n if (state === FULFILLED) {\n this._result[i] = {\n state: 'fulfilled',\n value: value\n };\n } else {\n this._result[i] = {\n state: 'rejected',\n reason: value\n };\n }\n }\n\n /**\n `RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.resolve(2);\n let promise3 = RSVP.resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n \n RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.reject(new Error(\"2\"));\n let promise3 = RSVP.reject(new Error(\"3\"));\n let promises = [ promise1, promise2, promise3 ];\n \n RSVP.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 @static\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 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 return new Enumerator(this, entries, true /* abort on reject */, label).promise;\n }\n\n /**\n `RSVP.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 let promise1 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n \n let promise2 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 2');\n }, 100);\n });\n \n RSVP.Promise.race([promise1, promise2]).then(function(result){\n // result === 'promise 2' because it was resolved before promise1\n // was resolved.\n });\n ```\n \n `RSVP.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 let promise1 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n resolve('promise 1');\n }, 200);\n });\n \n let promise2 = new RSVP.Promise(function(resolve, reject){\n setTimeout(function(){\n reject(new Error('promise 2'));\n }, 100);\n });\n \n RSVP.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 RSVP.Promise.race([ajax('foo.json'), timeout(5000)])\n ```\n \n @method race\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 function race(entries, label) {\n /*jshint validthis:true */\n let Constructor = this;\n\n let promise = new Constructor(noop, label);\n\n if (!Array.isArray(entries)) {\n reject(promise, new TypeError('Promise.race must be called with an array'));\n return promise;\n }\n\n for (let i = 0; promise._state === PENDING && i < entries.length; i++) {\n subscribe(Constructor.resolve(entries[i]), undefined, value => resolve$1(promise, value), reason => reject(promise, reason));\n }\n\n return promise;\n }\n\n /**\n `RSVP.Promise.reject` returns a promise rejected with the passed `reason`.\n It is shorthand for the following:\n \n ```javascript\n let promise = new RSVP.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 let promise = RSVP.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 @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 function reject$1(reason, label) {\n /*jshint validthis:true */\n let Constructor = this;\n let promise = new Constructor(noop, label);\n reject(promise, reason);\n return promise;\n }\n\n const guidKey = 'rsvp_' + Date.now() + '-';\n let 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 /**\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 RSVP.Promise\n @param {function} resolver\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @constructor\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\n config.instrument && instrument('created', this);\n\n if (noop !== resolver) {\n typeof resolver !== 'function' && needsResolver();\n this instanceof Promise ? initializePromise(this, resolver) : needsNew();\n }\n }\n\n _onError(reason) {\n config.after(() => {\n if (this._onError) {\n config.trigger('error', reason, this._label);\n }\n });\n }\n\n /**\n `catch` is simply sugar for `then(undefined, onRejection)` which makes it the same\n as the catch block of a try/catch statement.\n \n ```js\n function findAuthor(){\n throw new Error('couldn\\'t find that author');\n }\n \n // synchronous\n try {\n findAuthor();\n } catch(reason) {\n // something went wrong\n }\n \n // async with promises\n findAuthor().catch(function(reason){\n // something went wrong\n });\n ```\n \n @method catch\n @param {Function} onRejection\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Promise}\n */\n catch(onRejection, label) {\n return this.then(undefined, onRejection, label);\n }\n\n /**\n `finally` will be invoked regardless of the promise's fate just as native\n try/catch/finally behaves\n \n Synchronous example:\n \n ```js\n findAuthor() {\n if (Math.random() > 0.5) {\n throw new Error();\n }\n return new Author();\n }\n \n try {\n return findAuthor(); // succeed or fail\n } catch(error) {\n return findOtherAuthor();\n } finally {\n // always runs\n // doesn't affect the return value\n }\n ```\n \n Asynchronous example:\n \n ```js\n findAuthor().catch(function(reason){\n return findOtherAuthor();\n }).finally(function(){\n // author was either found, or not\n });\n ```\n \n @method finally\n @param {Function} callback\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Promise}\n */\n finally(callback, label) {\n let promise = this;\n let constructor = promise.constructor;\n\n return promise.then(value => constructor.resolve(callback()).then(() => value), reason => constructor.resolve(callback()).then(() => {\n throw reason;\n }), label);\n }\n }\n\n Promise.cast = resolve$$1; // deprecated\n Promise.all = all;\n Promise.race = race;\n Promise.resolve = resolve$$1;\n Promise.reject = reject$1;\n\n Promise.prototype._guidKey = guidKey;\n\n /**\n The primary way of interacting with a promise is through its `then` method,\n which registers callbacks to receive either a promise's eventual value or the\n reason why the promise cannot be fulfilled.\n \n ```js\n findUser().then(function(user){\n // user is available\n }, function(reason){\n // user is unavailable, and you are given the reason why\n });\n ```\n \n Chaining\n --------\n \n The return value of `then` is itself a promise. This second, 'downstream'\n promise is resolved with the return value of the first promise's fulfillment\n or rejection handler, or rejected if the handler throws an exception.\n \n ```js\n findUser().then(function (user) {\n return user.name;\n }, function (reason) {\n return 'default name';\n }).then(function (userName) {\n // If `findUser` fulfilled, `userName` will be the user's name, otherwise it\n // will be `'default name'`\n });\n \n findUser().then(function (user) {\n throw new Error('Found user, but still unhappy');\n }, function (reason) {\n throw new Error('`findUser` rejected and we\\'re unhappy');\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // if `findUser` fulfilled, `reason` will be 'Found user, but still unhappy'.\n // If `findUser` rejected, `reason` will be '`findUser` rejected and we\\'re unhappy'.\n });\n ```\n If the downstream promise does not specify a rejection handler, rejection reasons will be propagated further downstream.\n \n ```js\n findUser().then(function (user) {\n throw new PedagogicalException('Upstream error');\n }).then(function (value) {\n // never reached\n }).then(function (value) {\n // never reached\n }, function (reason) {\n // The `PedgagocialException` is propagated all the way down to here\n });\n ```\n \n Assimilation\n ------------\n \n Sometimes the value you want to propagate to a downstream promise can only be\n retrieved asynchronously. This can be achieved by returning a promise in the\n fulfillment or rejection handler. The downstream promise will then be pending\n until the returned promise is settled. This is called *assimilation*.\n \n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // The user's comments are now available\n });\n ```\n \n If the assimliated promise rejects, then the downstream promise will also reject.\n \n ```js\n findUser().then(function (user) {\n return findCommentsByAuthor(user);\n }).then(function (comments) {\n // If `findCommentsByAuthor` fulfills, we'll have the value here\n }, function (reason) {\n // If `findCommentsByAuthor` rejects, we'll have the reason here\n });\n ```\n \n Simple Example\n --------------\n \n Synchronous Example\n \n ```javascript\n let result;\n \n try {\n result = findResult();\n // success\n } catch(reason) {\n // failure\n }\n ```\n \n Errback Example\n \n ```js\n findResult(function(result, err){\n if (err) {\n // failure\n } else {\n // success\n }\n });\n ```\n \n Promise Example;\n \n ```javascript\n findResult().then(function(result){\n // success\n }, function(reason){\n // failure\n });\n ```\n \n Advanced Example\n --------------\n \n Synchronous Example\n \n ```javascript\n let author, books;\n \n try {\n author = findAuthor();\n books = findBooksByAuthor(author);\n // success\n } catch(reason) {\n // failure\n }\n ```\n \n Errback Example\n \n ```js\n \n function foundBooks(books) {\n \n }\n \n function failure(reason) {\n \n }\n \n findAuthor(function(author, err){\n if (err) {\n failure(err);\n // failure\n } else {\n try {\n findBoooksByAuthor(author, function(books, err) {\n if (err) {\n failure(err);\n } else {\n try {\n foundBooks(books);\n } catch(reason) {\n failure(reason);\n }\n }\n });\n } catch(error) {\n failure(err);\n }\n // success\n }\n });\n ```\n \n Promise Example;\n \n ```javascript\n findAuthor().\n then(findBooksByAuthor).\n then(function(books){\n // found books\n }).catch(function(reason){\n // something went wrong\n });\n ```\n \n @method then\n @param {Function} onFulfillment\n @param {Function} onRejection\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Promise}\n */\n Promise.prototype.then = then;\n\n function makeObject(_, argumentNames) {\n let obj = {};\n let length = _.length;\n let args = new Array(length);\n\n for (let x = 0; x < length; x++) {\n args[x] = _[x];\n }\n\n for (let i = 0; i < argumentNames.length; i++) {\n let name = argumentNames[i];\n obj[name] = args[i + 1];\n }\n\n return obj;\n }\n\n function arrayResult(_) {\n let length = _.length;\n let args = new Array(length - 1);\n\n for (let i = 1; i < length; i++) {\n args[i - 1] = _[i];\n }\n\n return args;\n }\n\n function wrapThenable(then, promise) {\n return {\n then(onFulFillment, onRejection) {\n return then.call(promise, onFulFillment, onRejection);\n }\n };\n }\n\n /**\n `RSVP.denodeify` takes a 'node-style' function and returns a function that\n will return an `RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.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 = RSVP.denodeify(fs.readFile);\n let writeFile = RSVP.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 @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 an\n `RSVP.Promise`\n @static\n */\n function denodeify(nodeFunc, options) {\n let fn = function () {\n let l = arguments.length;\n let args = new Array(l + 1);\n let promiseInput = false;\n\n for (let i = 0; i < l; ++i) {\n let arg = arguments[i];\n\n if (!promiseInput) {\n // TODO: clean this up\n promiseInput = needsPromiseInput(arg);\n if (promiseInput === TRY_CATCH_ERROR) {\n let error = TRY_CATCH_ERROR.error;\n TRY_CATCH_ERROR.error = null;\n let p = new Promise(noop);\n reject(p, error);\n return p;\n } else if (promiseInput && promiseInput !== true) {\n arg = wrapThenable(promiseInput, arg);\n }\n }\n args[i] = arg;\n }\n\n let promise = new Promise(noop);\n\n args[l] = function (err, val) {\n if (err) {\n reject(promise, err);\n } else if (options === undefined) {\n resolve$1(promise, val);\n } else if (options === true) {\n resolve$1(promise, arrayResult(arguments));\n } else if (Array.isArray(options)) {\n resolve$1(promise, makeObject(arguments, options));\n } else {\n resolve$1(promise, val);\n }\n };\n\n if (promiseInput) {\n return handlePromiseInput(promise, args, nodeFunc, this);\n } else {\n return handleValueInput(promise, args, nodeFunc, this);\n }\n };\n\n fn.__proto__ = nodeFunc;\n\n return fn;\n }\n\n function handleValueInput(promise, args, nodeFunc, self) {\n let result = tryCatch(nodeFunc).apply(self, args);\n if (result === TRY_CATCH_ERROR) {\n let error = TRY_CATCH_ERROR.error;\n TRY_CATCH_ERROR.error = null;\n reject(promise, error);\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 function needsPromiseInput(arg) {\n if (arg !== null && typeof arg === 'object') {\n if (arg.constructor === Promise) {\n return true;\n } else {\n return getThen(arg);\n }\n } else {\n return false;\n }\n }\n\n /**\n This is a convenient alias for `RSVP.Promise.all`.\n \n @method all\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 function all$1(array, label) {\n return Promise.all(array, label);\n }\n\n class AllSettled extends Enumerator {\n constructor(Constructor, entries, label) {\n super(Constructor, entries, false /* don't abort on reject */, label);\n }\n }\n\n AllSettled.prototype._setResultAt = setSettledResult;\n\n /**\n `RSVP.allSettled` is similar to `RSVP.all`, but instead of implementing\n a fail-fast method, it waits until all the promises have returned and\n shows you all the results. This is useful if you want to handle multiple\n promises' failure states together as a set.\n 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 @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 /**\n This is a convenient alias for `RSVP.Promise.race`.\n \n @method race\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 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 this._enumerate(object);\n }\n\n _enumerate(input) {\n let keys = Object.keys(input);\n\n let length = keys.length;\n let promise = this.promise;\n this._remaining = length;\n\n let key, val;\n for (let i = 0; promise._state === PENDING && i < length; i++) {\n key = keys[i];\n val = input[key];\n this._eachEntry(val, key, true);\n }\n\n this._checkFullfillment();\n }\n }\n\n /**\n `RSVP.hash` is similar to `RSVP.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: RSVP.resolve(1),\n yourPromise: RSVP.resolve(2),\n theirPromise: RSVP.resolve(3),\n notAPromise: 4\n };\n \n RSVP.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 `RSVP.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: RSVP.resolve(1),\n rejectedPromise: RSVP.reject(new Error('rejectedPromise')),\n anotherRejectedPromise: RSVP.reject(new Error('anotherRejectedPromise')),\n };\n \n RSVP.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: `RSVP.hash` is intended for plain JavaScript objects that\n are just a set of keys and values. `RSVP.hash` will NOT preserve prototype\n chains.\n \n Example:\n \n ```javascript\n function MyConstructor(){\n this.example = RSVP.resolve('Example');\n }\n \n MyConstructor.prototype = {\n protoProperty: RSVP.resolve('Proto Property')\n };\n \n let myObject = new MyConstructor();\n \n RSVP.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 @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 function hash(object, label) {\n if (object === null || typeof object !== 'object') {\n return Promise.reject(new TypeError(\"Promise.hash must be called with an object\"), label);\n }\n\n return new PromiseHash(Promise, object, label).promise;\n }\n\n class HashSettled extends PromiseHash {\n constructor(Constructor, object, label) {\n super(Constructor, object, false, label);\n }\n }\n\n HashSettled.prototype._setResultAt = setSettledResult;\n\n /**\n `RSVP.hashSettled` is similar to `RSVP.allSettled`, but takes an object\n instead of an array for its `promises` argument.\n \n Unlike `RSVP.all` or `RSVP.hash`, which implement a fail-fast method,\n but like `RSVP.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 let promises = {\n myPromise: RSVP.Promise.resolve(1),\n yourPromise: RSVP.Promise.resolve(2),\n theirPromise: RSVP.Promise.resolve(3),\n notAPromise: 4\n };\n \n RSVP.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 `RSVP.hash` are rejected, the state will\n be set to 'rejected' and the reason for rejection provided.\n \n Example:\n \n ```javascript\n let promises = {\n myPromise: RSVP.Promise.resolve(1),\n rejectedPromise: RSVP.Promise.reject(new Error('rejection')),\n anotherRejectedPromise: RSVP.Promise.reject(new Error('more rejection')),\n };\n \n RSVP.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: `RSVP.hashSettled` is intended for plain JavaScript objects that\n are just a set of keys and values. `RSVP.hashSettled` will NOT preserve prototype\n chains.\n \n Example:\n \n ```javascript\n function MyConstructor(){\n this.example = RSVP.Promise.resolve('Example');\n }\n \n MyConstructor.prototype = {\n protoProperty: RSVP.Promise.resolve('Proto Property')\n };\n \n let myObject = new MyConstructor();\n \n RSVP.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 @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 if (object === null || typeof object !== 'object') {\n return Promise.reject(new TypeError(\"RSVP.hashSettled must be called with an object\"), label);\n }\n\n return new HashSettled(Promise, object, false, label).promise;\n }\n\n /**\n `RSVP.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, `RSVP.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 function throws(){\n throw new Error('Whoops!');\n }\n \n let promise = new RSVP.Promise(function(resolve, reject){\n throws();\n });\n \n promise.catch(RSVP.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 @static\n @for RSVP\n @param {Error} reason reason the promise became rejected.\n @throws Error\n @static\n */\n function rethrow(reason) {\n setTimeout(() => {\n throw reason;\n });\n throw reason;\n }\n\n /**\n `RSVP.defer` returns an object similar to jQuery's `$.Deferred`.\n `RSVP.defer` should be used when porting over code reliant on `$.Deferred`'s\n interface. New code should use the `RSVP.Promise` constructor instead.\n \n The object returned from `RSVP.defer` is a plain object with three properties:\n \n * promise - an `RSVP.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 = RSVP.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 @static\n @for RSVP\n @param {String} label optional string for labeling the promise.\n Useful for tooling.\n @return {Object}\n */\n\n function defer(label) {\n let deferred = { resolve: undefined, reject: undefined };\n\n deferred.promise = new Promise((resolve, reject) => {\n deferred.resolve = resolve;\n deferred.reject = reject;\n }, label);\n\n return deferred;\n }\n\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 let len = input.length || 0;\n this.length = len;\n this._remaining = len;\n this._result = new Array(len);\n this._mapFn = mapFn;\n\n this._enumerate(input);\n }\n\n _setResultAt(state, i, value, firstPass) {\n if (firstPass) {\n let val = tryCatch(this._mapFn)(value, i);\n if (val === TRY_CATCH_ERROR) {\n this._settledAt(REJECTED, i, val.error, false);\n } else {\n this._eachEntry(val, i, false);\n }\n } else {\n this._remaining--;\n this._result[i] = value;\n }\n }\n\n }\n\n /**\n `RSVP.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 `RSVP.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 \n let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.resolve(2);\n let promise3 = RSVP.resolve(3);\n let promises = [ promise1, promise2, promise3 ];\n \n let mapFn = function(item){\n return item + 1;\n };\n \n RSVP.map(promises, mapFn).then(function(result){\n // result is [ 2, 3, 4 ]\n });\n ```\n \n If any of the `promises` given to `RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.reject(new Error('2'));\n let promise3 = RSVP.reject(new Error('3'));\n let promises = [ promise1, promise2, promise3 ];\n \n let mapFn = function(item){\n return item + 1;\n };\n \n RSVP.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 `RSVP.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 \n let mapFn = function(blogPost){\n // getComments does some ajax and returns an RSVP.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 RSVP.Promise that is fulfilled\n // with some blog post data\n RSVP.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 @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 @static\n */\n function map(promises, mapFn, label) {\n if (!Array.isArray(promises)) {\n return Promise.reject(new TypeError(\"RSVP.map must be called with an array\"), label);\n }\n\n if (typeof mapFn !== 'function') {\n return Promise.reject(new TypeError(\"RSVP.map expects a function as a second argument\"), label);\n }\n\n return new MapEnumerator(Promise, promises, mapFn, label).promise;\n }\n\n /**\n This is a convenient alias for `RSVP.Promise.resolve`.\n \n @method resolve\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 function resolve$2(value, label) {\n return Promise.resolve(value, label);\n }\n\n /**\n This is a convenient alias for `RSVP.Promise.reject`.\n \n @method reject\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 function reject$2(reason, label) {\n return Promise.reject(reason, label);\n }\n\n const EMPTY_OBJECT = {};\n\n class FilterEnumerator extends MapEnumerator {\n\n _checkFullfillment() {\n if (this._remaining === 0 && this._result !== null) {\n let result = this._result.filter(val => val !== EMPTY_OBJECT);\n fulfill(this.promise, result);\n this._result = null;\n }\n }\n\n _setResultAt(state, i, value, firstPass) {\n if (firstPass) {\n this._result[i] = value;\n let val = tryCatch(this._mapFn)(value, i);\n if (val === TRY_CATCH_ERROR) {\n this._settledAt(REJECTED, i, val.error, false);\n } else {\n this._eachEntry(val, i, false);\n }\n } else {\n this._remaining--;\n if (!value) {\n this._result[i] = EMPTY_OBJECT;\n }\n }\n }\n }\n\n /**\n `RSVP.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`. `RSVP.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 \n let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.resolve(2);\n let promise3 = RSVP.resolve(3);\n \n let promises = [promise1, promise2, promise3];\n \n let filterFn = function(item){\n return item > 1;\n };\n \n RSVP.filter(promises, filterFn).then(function(result){\n // result is [ 2, 3 ]\n });\n ```\n \n If any of the `promises` given to `RSVP.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 let promise1 = RSVP.resolve(1);\n let promise2 = RSVP.reject(new Error('2'));\n let promise3 = RSVP.reject(new Error('3'));\n let promises = [ promise1, promise2, promise3 ];\n \n let filterFn = function(item){\n return item > 1;\n };\n \n RSVP.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 `RSVP.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 \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 RSVP.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 RSVP.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 @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 function filter(promises, filterFn, label) {\n if (typeof filterFn !== 'function') {\n return Promise.reject(new TypeError(\"RSVP.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(\"RSVP.filter must be called with an array\");\n }\n return new FilterEnumerator(Promise, promises, filterFn, label).promise;\n });\n }\n\n let len = 0;\n let vertxNext;\n function asap(callback, arg) {\n queue$1[len] = callback;\n queue$1[len + 1] = arg;\n len += 2;\n if (len === 2) {\n // If len is 1, that means that we need to schedule an async flush.\n // If additional callbacks are queued before the queue is flushed, they\n // will be processed by this flush that we are scheduling.\n scheduleFlush$1();\n }\n }\n\n const browserWindow = typeof window !== 'undefined' ? window : undefined;\n const browserGlobal = browserWindow || {};\n const BrowserMutationObserver = browserGlobal.MutationObserver || browserGlobal.WebKitMutationObserver;\n const isNode = typeof self === 'undefined' && typeof process !== 'undefined' && {}.toString.call(process) === '[object process]';\n\n // test for web worker but not in IE10\n const isWorker = typeof Uint8ClampedArray !== 'undefined' && typeof importScripts !== 'undefined' && typeof MessageChannel !== 'undefined';\n\n // node\n function useNextTick() {\n let nextTick = process.nextTick;\n // node version 0.10.x displays a deprecation warning when nextTick is used recursively\n // setImmediate should be used instead instead\n let version = process.versions.node.match(/^(?:(\\d+)\\.)?(?:(\\d+)\\.)?(\\*|\\d+)$/);\n if (Array.isArray(version) && version[1] === '0' && version[2] === '10') {\n nextTick = setImmediate;\n }\n return () => nextTick(flush);\n }\n\n // vertx\n function useVertxTimer() {\n if (typeof vertxNext !== 'undefined') {\n return function () {\n vertxNext(flush);\n };\n }\n return useSetTimeout();\n }\n\n function useMutationObserver() {\n let iterations = 0;\n let observer = new BrowserMutationObserver(flush);\n let node = document.createTextNode('');\n observer.observe(node, { characterData: true });\n\n return () => node.data = iterations = ++iterations % 2;\n }\n\n // web worker\n function useMessageChannel() {\n let 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 const queue$1 = new Array(1000);\n\n function flush() {\n for (let i = 0; i < len; i += 2) {\n let callback = queue$1[i];\n let arg = queue$1[i + 1];\n\n callback(arg);\n\n queue$1[i] = undefined;\n queue$1[i + 1] = undefined;\n }\n\n len = 0;\n }\n\n function attemptVertex() {\n try {\n const vertx = Function('return this')().require('vertx');\n vertxNext = vertx.runOnLoop || vertx.runOnContext;\n return useVertxTimer();\n } catch (e) {\n return useSetTimeout();\n }\n }\n\n let scheduleFlush$1;\n // Decide what async method to use to triggering processing of queued callbacks:\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 _nodeModule.require === 'function') {\n scheduleFlush$1 = attemptVertex();\n } else {\n scheduleFlush$1 = useSetTimeout();\n }\n\n // defaults\n config.async = asap;\n config.after = cb => setTimeout(cb, 0);\n const cast = resolve$2;\n\n const async = (callback, arg) => config.async(callback, arg);\n\n function on() {\n config.on(...arguments);\n }\n\n function off() {\n config.off(...arguments);\n }\n\n // Set up instrumentation through `window.__PROMISE_INTRUMENTATION__`\n if (typeof window !== 'undefined' && typeof window['__PROMISE_INSTRUMENTATION__'] === 'object') {\n let callbacks = window['__PROMISE_INSTRUMENTATION__'];\n configure('instrument', true);\n for (let eventName in callbacks) {\n if (callbacks.hasOwnProperty(eventName)) {\n on(eventName, callbacks[eventName]);\n }\n }\n }\n\n // the default export here is for backwards compat:\n // https://github.com/tildeio/rsvp.js/issues/434\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\n exports.default = rsvp;\n exports.asap = asap;\n exports.cast = cast;\n exports.Promise = Promise;\n exports.EventTarget = EventTarget;\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.async = async;\n exports.filter = filter;\n});","requireModule('ember')"],"names":[],"mappings":";AAAA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACh+BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpLA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9ZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7hNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrsBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACr0HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChCA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9PA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACzRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC7JA;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;;AC/CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACTA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACh/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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACh5CA;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;;AC/JA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/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;;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;;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;;AC5FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACz9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5HA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACdA;AACA;AACA;AACA;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC5MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjJA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACnRA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACp1BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtmBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1KA;AACA;AACA;AACA;AACA;;ACJA;AACA;AACA;AACA;;ACHA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvJA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5YA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtYA;AACA;AACA;AACA;AACA;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;;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;;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvNA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACrDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC7EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACjBA;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;;AC5BA;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;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvYA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtdA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACn9BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACzEA;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;;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;;ACnDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3QA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACxJA;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;;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;;AC1FA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9cA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;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;;AC/BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtMA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1LA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;AC5EA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACtLA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjuBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC51BA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC9CA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1CA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC3vBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC1WA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACrFA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACpHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC99DA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjaA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACvhIA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AChNA;AACA;AACA;AACA;AACA;AACA;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;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;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACt5BA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AC5MA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;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;;ACHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACZA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AClqBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACjzDA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;ACv0EA;;;","file":"ember.prod.js"} \ No newline at end of file