ember-source 2.12.0.beta.3 → 2.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/dist/ember-runtime.js +91 -40
- data/dist/ember-template-compiler.js +42 -65
- data/dist/ember-testing.js +1 -1
- data/dist/ember-tests.js +33 -26
- data/dist/ember-tests.prod.js +33 -26
- data/dist/ember.debug.js +121 -100
- data/dist/ember.js +121 -100
- data/dist/ember.min.js +133 -130
- data/dist/ember.prod.js +120 -100
- metadata +4 -4
data/dist/ember.min.js
CHANGED
@@ -94,7 +94,7 @@ return!(n.length<3)&&(i=e(n[0],n[1],t),i>-1&&(r=t[i],r[2]===n[2])&&(t.splice(i,1
|
|
94
94
|
if(!(i<=e))break
|
95
95
|
this.schedule(this.options.defaultQueue,null,o)}t.splice(0,n),this._installTimerTimeout()},_reinstallTimerTimeout:function(){this._clearTimerTimeout(),this._installTimerTimeout()},_clearTimerTimeout:function(){this._timerTimeoutId&&(this._platform.clearTimeout(this._timerTimeoutId),this._timerTimeoutId=void 0)},_installTimerTimeout:function(){if(this._timers.length){var e=this._timers[0],t=Date.now(),n=Math.max(0,e-t)
|
96
96
|
this._timerTimeoutId=this._platform.setTimeout(this._boundRunExpiredTimers,n)}}},p.prototype.schedule=p.prototype.defer,p.prototype.scheduleOnce=p.prototype.deferOnce,p.prototype.later=p.prototype.setTimeout,e.default=p,Object.defineProperty(e,"__esModule",{value:!0})}),s("container/container",["exports","ember-utils","ember-environment","ember-metal"],function(e,t,n,r){"use strict"
|
97
|
-
function i(e,n){this.registry=e,this.owner=n&&n.owner?n.owner:null,this.cache=t.dictionary(n&&n.cache?n.cache:null),this.factoryCache=t.dictionary(n&&n.factoryCache?n.factoryCache:null),this.validationCache=t.dictionary(n&&n.validationCache?n.validationCache:null),this._fakeContainerToInject=S(this),this[A]=void 0,this.isDestroyed=!1}function o(e,t){return e.registry.getOption(t,"singleton")!==!1}function s(e,t){return e.registry.getOption(t,"instantiate")!==!1}function a(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2]
|
97
|
+
function i(e,n){this.registry=e,this.owner=n&&n.owner?n.owner:null,this.cache=t.dictionary(n&&n.cache?n.cache:null),this.factoryCache=t.dictionary(n&&n.factoryCache?n.factoryCache:null),this.factoryManagerCache=t.dictionary(n&&n.factoryManagerCache?n.factoryManagerCache:null),this.validationCache=t.dictionary(n&&n.validationCache?n.validationCache:null),this._fakeContainerToInject=S(this),this[A]=void 0,this.isDestroyed=!1}function o(e,t){return e.registry.getOption(t,"singleton")!==!1}function s(e,t){return e.registry.getOption(t,"instantiate")!==!1}function a(e,t){var n=arguments.length<=2||void 0===arguments[2]?{}:arguments[2]
|
98
98
|
if(!n.source||(t=e.registry.expandLocalLookup(t,n))){if(void 0!==e.cache[t]&&n.singleton!==!1)return e.cache[t]
|
99
99
|
return h(e,t,n)}}function u(e,t,n){var r=n.instantiate,i=n.singleton
|
100
100
|
return i!==!1&&o(e,t)&&!r&&!s(e,t)}function l(e,t,n){var r=n.instantiate,i=n.singleton
|
@@ -124,8 +124,8 @@ o=r.validationCache,o[i]=!0
|
|
124
124
|
var s=void 0
|
125
125
|
if("function"==typeof e.extend)s=e.create(n)
|
126
126
|
else{var a=g(r,i)
|
127
|
-
a.container=r._fakeContainerToInject,s=e.create(t.assign({},a,n))
|
128
|
-
return o._debugContainerKey=t,o}function _(e,t){Object.defineProperty(e,"container",{configurable:!0,enumerable:!1,get:function(){return this[A]||t},set:function(e){return this[A]=e,e}})}function w(e,t){for(var n=e.cache,r=Object.keys(n),i=0;i<r.length;i++){var o=r[i],s=n[o]
|
127
|
+
a.container=r._fakeContainerToInject,s=e.create(t.assign({},a,n)),Object.isFrozen(s)||_(s,r)}return s}}function b(e,t){var n=e.registry,r=t.split(":"),i=r[0],o=d(e,n.getFactoryTypeInjections(i),n.getFactoryInjections(t))
|
128
|
+
return o._debugContainerKey=t,o}function _(e,t){"container"in e||Object.defineProperty(e,"container",{configurable:!0,enumerable:!1,get:function(){return this[A]||t},set:function(e){return this[A]=e,e}})}function w(e,t){for(var n=e.cache,r=Object.keys(n),i=0;i<r.length;i++){var o=r[i],s=n[o]
|
129
129
|
e.registry.getOption(o,"instantiate")!==!1&&t(s)}}function E(e){w(e,function(e){e.destroy&&e.destroy()}),e.cache.dict=t.dictionary(null)}function O(e,t){var n=e.cache[t]
|
130
130
|
delete e.factoryCache[t],n&&(delete e.cache[t],n.destroy&&n.destroy())}function S(e){var t={},n={lookup:"lookup",lookupFactory:"_lookupFactory"}
|
131
131
|
for(var r in n)t[r]=C(e,r,n[r])
|
@@ -138,20 +138,23 @@ e.LOOKUP_FACTORY=k,i.prototype=(x={owner:null,registry:null,cache:null,factoryCa
|
|
138
138
|
if(void 0!==n){var r=new R(this,n,e)
|
139
139
|
return r}},x.destroy=function(){w(this,function(e){e.destroy&&e.destroy()}),this.isDestroyed=!0},x.reset=function(e){arguments.length>0?O(this,this.registry.normalize(e)):E(this)},x.ownerInjection=function(){var e
|
140
140
|
return e={},e[t.OWNER]=this.owner,e},x),i.prototype.factoryFor=function(e){var t=arguments.length<=1||void 0===arguments[1]?{}:arguments[1],n=this.registry.normalize(e)
|
141
|
-
if(!t.source||(n=this.registry.expandLocalLookup(e,t))){var r=this.
|
142
|
-
if(
|
143
|
-
|
141
|
+
if(!t.source||(n=this.registry.expandLocalLookup(e,t))){var r=this.factoryManagerCache[n]
|
142
|
+
if(r)return r
|
143
|
+
var i=this.registry.resolve(n)
|
144
|
+
if(void 0!==i){var o=new N(this,i,e,n)
|
145
|
+
return this.factoryManagerCache[n]=o,o}}}
|
144
146
|
var R=function(){function e(e,t,n){this.container=e,this.class=t,this.fullName=n}return e.prototype.create=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0]
|
145
|
-
return y(this.class,e,this.container,this.fullName)},e}(),N=function(){function e(e,t,n,r){this.container=e,this.class=t,this.fullName=n,this.normalizedName=r}return e.prototype.create=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=g(this.container,this.normalizedName),r=t.assign({},n,e)
|
146
|
-
if(r[t.NAME_KEY]=this.container.registry.makeToString(this.class,this.fullName),!this.class.create)throw new Error("Failed to create an instance of '"+this.normalizedName+"'. Most likely an improperly defined class or an invalid module export.")
|
147
|
-
|
147
|
+
return y(this.class,e,this.container,this.fullName)},e}(),N=function(){function e(e,t,n,r){this.container=e,this.class=t,this.fullName=n,this.normalizedName=r,this.madeToString=void 0}return e.prototype.create=function(){var e=arguments.length<=0||void 0===arguments[0]?{}:arguments[0],n=g(this.container,this.normalizedName),r=t.assign({},n,e)
|
148
|
+
if(r[t.NAME_KEY]=this.madeToString||(this.madeToString=this.container.registry.makeToString(this.class,this.fullName)),!this.class.create)throw new Error("Failed to create an instance of '"+this.normalizedName+"'. Most likely an improperly defined class or an invalid module export.")
|
149
|
+
var i=this.class.prototype
|
150
|
+
return i&&_(i,this.container),this.class.create(r)},e}()}),s("container/index",["exports","container/registry","container/container"],function(e,t,n){"use strict"
|
148
151
|
e.Registry=t.default,e.privatize=t.privatize,e.Container=n.default,e.buildFakeContainerWithDeprecations=n.buildFakeContainerWithDeprecations,e.FACTORY_FOR=n.FACTORY_FOR,e.LOOKUP_FACTORY=n.LOOKUP_FACTORY}),s("container/registry",["exports","ember-utils","ember-metal","container/container"],function(e,t,n,r){"use strict"
|
149
|
-
function i(e){this.fallback=e&&e.fallback?e.fallback:null,e&&e.resolver&&(this.resolver=e.resolver,"function"==typeof this.resolver&&o(this)),this.registrations=t.dictionary(e&&e.registrations?e.registrations:null),this._typeInjections=t.dictionary(null),this._injections=t.dictionary(null),this._factoryTypeInjections=t.dictionary(null),this._factoryInjections=t.dictionary(null),this._localLookupCache=
|
150
|
-
|
151
|
-
var
|
152
|
-
if(void 0!==
|
153
|
-
var
|
154
|
-
return
|
152
|
+
function i(e){this.fallback=e&&e.fallback?e.fallback:null,e&&e.resolver&&(this.resolver=e.resolver,"function"==typeof this.resolver&&o(this)),this.registrations=t.dictionary(e&&e.registrations?e.registrations:null),this._typeInjections=t.dictionary(null),this._injections=t.dictionary(null),this._factoryTypeInjections=t.dictionary(null),this._factoryInjections=t.dictionary(null),this._localLookupCache=Object.create(null),this._normalizeCache=t.dictionary(null),this._resolveCache=t.dictionary(null),this._failCache=t.dictionary(null),this._options=t.dictionary(null),this._typeOptions=t.dictionary(null)}function o(e){e.resolver={resolve:e.resolver}}function s(e,t,n){var r=e._localLookupCache,i=r[t]
|
153
|
+
i||(i=r[t]=Object.create(null))
|
154
|
+
var o=i[n]
|
155
|
+
if(void 0!==o)return o
|
156
|
+
var s=e.resolver.expandLocalLookup(t,n)
|
157
|
+
return i[n]=s}function a(e,t,n){if(!n||!n.source||(t=e.expandLocalLookup(t,n))){var r=e._resolveCache[t]
|
155
158
|
if(void 0!==r)return r
|
156
159
|
if(!e._failCache[t]){var i=void 0
|
157
160
|
return e.resolver&&(i=e.resolver.resolve(t)),void 0===i&&(i=e.registrations[t]),void 0===i?e._failCache[t]=!0:e._resolveCache[t]=i,i}}}function u(e,t,n){return void 0!==e.resolve(t,{source:n})}function l(e){var n=e[0],r=p[n]
|
@@ -163,8 +166,8 @@ i.prototype={fallback:null,resolver:null,registrations:null,_typeInjections:null
|
|
163
166
|
if(void 0===t)throw new TypeError("Attempting to register an unknown factory: '"+e+"'")
|
164
167
|
var r=this.normalize(e)
|
165
168
|
if(this._resolveCache[r])throw new Error("Cannot re-register: '"+e+"', as it has already been resolved.")
|
166
|
-
delete this._failCache[r],this.registrations[r]=t,this._options[r]=n},unregister:function(e){var
|
167
|
-
this._localLookupCache=
|
169
|
+
delete this._failCache[r],this.registrations[r]=t,this._options[r]=n},unregister:function(e){var t=this.normalize(e)
|
170
|
+
this._localLookupCache=Object.create(null),delete this.registrations[t],delete this._resolveCache[t],delete this._failCache[t],delete this._options[t]},resolve:function(e,t){var n=a(this,this.normalize(e),t)
|
168
171
|
if(void 0===n&&this.fallback){var r
|
169
172
|
n=(r=this.fallback).resolve.apply(r,arguments)}return n},describe:function(e){return this.resolver&&this.resolver.lookupDescription?this.resolver.lookupDescription(e):this.fallback?this.fallback.describe(e):e},normalizeFullName:function(e){return this.resolver&&this.resolver.normalize?this.resolver.normalize(e):this.fallback?this.fallback.normalizeFullName(e):e},normalize:function(e){return this._normalizeCache[e]||(this._normalizeCache[e]=this.normalizeFullName(e))},makeToString:function(e,t){return this.resolver&&this.resolver.makeToString?this.resolver.makeToString(e,t):this.fallback?this.fallback.makeToString(e,t):e.toString()},has:function(e,t){if(!this.isValidFullName(e))return!1
|
170
173
|
var n=t&&t.source&&this.normalize(t.source)
|
@@ -287,7 +290,7 @@ return this.ensureInitializers(),e.base=this,a.default.create(e)},buildRegistry:
|
|
287
290
|
return e},initializer:function(e){this.constructor.initializer(e)},instanceInitializer:function(e){this.constructor.instanceInitializer(e)},runInitializers:function(){var e=this
|
288
291
|
this._runInitializer("initializers",function(t,n){2===n.initialize.length?n.initialize(e.__registry__,e):n.initialize(e)})},runInstanceInitializers:function(e){this._runInitializer("instanceInitializers",function(t,n){n.initialize(e)})},_runInitializer:function(e,t){for(var n=o.get(this.constructor,e),r=f(n),s=new i.default,a=void 0,u=0;u<r.length;u++)a=n[r[u]],s.add(a.name,a,a.before,a.after)
|
289
292
|
s.topsort(t)}})
|
290
|
-
y.reopenClass({initializers:
|
293
|
+
y.reopenClass({initializers:Object.create(null),instanceInitializers:Object.create(null),initializer:d("initializers","initializer"),instanceInitializer:d("instanceInitializers","instance initializer"),buildRegistry:function(e){var t=(arguments.length<=1||void 0===arguments[1]?{}:arguments[1],new r.Registry({resolver:m(e)}))
|
291
294
|
return t.set=o.set,t.register("application:main",e,{instantiate:!1}),v(t),h.setupEngineRegistry(t),t},resolver:null,Resolver:null}),e.default=y}),s("ember-application/system/resolver",["exports","ember-utils","ember-metal","ember-runtime","ember-application/utils/validate-type","ember-glimmer"],function(e,t,n,r,i,o){"use strict"
|
292
295
|
var s=r.Object.extend({namespace:null,normalize:null,resolve:null,parseName:null,lookupDescription:null,makeToString:null,resolveOther:null,_logLookup:null})
|
293
296
|
e.Resolver=s,e.default=r.Object.extend({namespace:null,init:function(){this._parseNameCache=t.dictionary(null)},normalize:function(e){var t=e.split(":",2),n=t[0],r=t[1]
|
@@ -397,13 +400,13 @@ void 0!==r&&this.set("disabled",r),this[s.HAS_BLOCK]||this.set("linkTitle",t.shi
|
|
397
400
|
var i=t[t.length-1]
|
398
401
|
e=i&&i.isQueryParams?t.pop():{values:{}},this.set("queryParams",e),t.length>1?this.set("models",this._getModels(t)):this.set("models",[])}})
|
399
402
|
a.toString=function(){return"LinkComponent"},a.reopenClass({positionalParams:"params"}),e.default=a}),s("ember-glimmer/components/text_area",["exports","ember-glimmer/component","ember-views","ember-glimmer/templates/empty"],function(e,t,n,r){"use strict"
|
400
|
-
e.default=t.default.extend(n.TextSupport,{classNames:["ember-text-area"],layout:r.default,tagName:"textarea",attributeBindings:["rows","cols","name","selectionEnd","selectionStart","wrap","lang","dir","value"],rows:null,cols:null})}),s("ember-glimmer/components/text_field",["exports","ember-
|
401
|
-
function
|
402
|
-
if(!
|
403
|
-
|
404
|
-
try{
|
405
|
-
e.default=
|
406
|
-
return
|
403
|
+
e.default=t.default.extend(n.TextSupport,{classNames:["ember-text-area"],layout:r.default,tagName:"textarea",attributeBindings:["rows","cols","name","selectionEnd","selectionStart","wrap","lang","dir","value"],rows:null,cols:null})}),s("ember-glimmer/components/text_field",["exports","ember-metal","ember-environment","ember-glimmer/component","ember-glimmer/templates/empty","ember-views"],function(e,t,n,r,i,o){"use strict"
|
404
|
+
function s(e){if(e in u)return u[e]
|
405
|
+
if(!n.environment.hasDOM)return u[e]=e,e
|
406
|
+
a||(a=document.createElement("input"))
|
407
|
+
try{a.type=e}catch(e){}return u[e]=a.type===e}var a=void 0,u=Object.create(null)
|
408
|
+
e.default=r.default.extend(o.TextSupport,{layout:i.default,classNames:["ember-text-field"],tagName:"input",attributeBindings:["accept","autocomplete","autosave","dir","formaction","formenctype","formmethod","formnovalidate","formtarget","height","inputmode","lang","list","max","min","multiple","name","pattern","size","step","type","value","width"],value:"",type:t.computed({get:function(){return"text"},set:function(e,t){var n="text"
|
409
|
+
return s(t)&&(n=t),n}}),size:null,pattern:null,min:null,max:null})}),s("ember-glimmer/dom",["exports","glimmer-runtime","glimmer-node"],function(e,t,n){"use strict"
|
407
410
|
e.DOMChanges=t.DOMChanges,e.DOMTreeConstruction=t.DOMTreeConstruction,e.NodeDOMTreeConstruction=n.NodeDOMTreeConstruction}),s("ember-glimmer/environment",["exports","ember-utils","ember-metal","ember-views","glimmer-runtime","ember-glimmer/syntax/curly-component","ember-glimmer/syntax","ember-glimmer/syntax/dynamic-component","ember-glimmer/utils/iterable","ember-glimmer/utils/references","ember-glimmer/utils/debug-stack","ember-glimmer/helpers/if-unless","ember-glimmer/utils/bindings","ember-glimmer/helpers/action","ember-glimmer/helpers/component","ember-glimmer/helpers/concat","ember-glimmer/helpers/debugger","ember-glimmer/helpers/get","ember-glimmer/helpers/hash","ember-glimmer/helpers/loc","ember-glimmer/helpers/log","ember-glimmer/helpers/mut","ember-glimmer/helpers/readonly","ember-glimmer/helpers/unbound","ember-glimmer/helpers/-class","ember-glimmer/helpers/-input-type","ember-glimmer/helpers/query-param","ember-glimmer/helpers/each-in","ember-glimmer/helpers/-normalize-class","ember-glimmer/helpers/-html-safe","ember-glimmer/protocol-for-url","container","ember-glimmer/modifiers/action"],function(e,t,n,r,i,o,s,a,u,l,p,h,f,m,d,v,g,y,b,_,w,E,O,S,C,x,A,T,k,R,N,P,D){"use strict"
|
408
411
|
var I={textarea:"-text-area"},L=function(e){function p(s){var a=this,u=s[t.OWNER]
|
409
412
|
e.apply(this,arguments),this.owner=u,this.isInteractive=u.lookup("-environment:main").isInteractive,this.destroyedComponents=[],N.default(this),this._definitionCache=new n.Cache(2e3,function(e){var t=e.name,n=e.source,i=e.owner,s=r.lookupComponent(i,t,{source:n}),a=s.component,u=s.layout
|
@@ -752,13 +755,13 @@ case"@identity":case void 0:case null:return p
|
|
752
755
|
default:return function(t){return n.get(t,e)}}}function c(e,t){return String(t)}function p(e){switch(typeof e){case"string":case"number":return String(e)
|
753
756
|
default:return t.guidFor(e)}}function h(e,t){var n=e[t]
|
754
757
|
return n?(e[t]++,""+t+f+n):(e[t]=1,t)}e.default=a
|
755
|
-
var f="be277757-bbbe-4620-9fcb-213ef433cca2",m=function(){function e(e,
|
758
|
+
var f="be277757-bbbe-4620-9fcb-213ef433cca2",m=function(){function e(e,t){this.array=e,this.length=e.length,this.keyFor=t,this.position=0,this.seen=Object.create(null)}return e.prototype.isEmpty=function(){return!1},e.prototype.next=function(){var e=this.array,t=this.length,n=this.keyFor,r=this.position,i=this.seen
|
756
759
|
if(r>=t)return null
|
757
760
|
var o=e[r],s=r,a=h(i,n(o,s))
|
758
|
-
return this.position++,{key:a,value:o,memo:s}},e}(),d=function(){function e(e,
|
761
|
+
return this.position++,{key:a,value:o,memo:s}},e}(),d=function(){function e(e,t){this.array=e,this.length=n.get(e,"length"),this.keyFor=t,this.position=0,this.seen=Object.create(null)}return e.prototype.isEmpty=function(){return 0===this.length},e.prototype.next=function(){var e=this.array,t=this.length,n=this.keyFor,i=this.position,o=this.seen
|
759
762
|
if(i>=t)return null
|
760
763
|
var s=r.objectAt(e,i),a=i,u=h(o,n(s,a))
|
761
|
-
return this.position++,{key:u,value:s,memo:a}},e}(),v=function(){function e(e,n
|
764
|
+
return this.position++,{key:u,value:s,memo:a}},e}(),v=function(){function e(e,t,n){this.keys=e,this.values=t,this.keyFor=n,this.position=0,this.seen=Object.create(null)}return e.prototype.isEmpty=function(){return 0===this.keys.length},e.prototype.next=function(){var e=this.keys,t=this.values,n=this.keyFor,r=this.position,i=this.seen
|
762
765
|
if(r>=e.length)return null
|
763
766
|
var o=t[r],s=e[r],a=h(i,n(o,s))
|
764
767
|
return this.position++,{key:a,value:o,memo:s}},e}(),g=function(){function e(){}return e.prototype.isEmpty=function(){return!0},e.prototype.next=function(){throw new Error("Cannot call next() on an empty iterator")},e}(),y=new g,b=function(){function e(e,t){this.ref=e,this.keyFor=t
|
@@ -787,10 +790,10 @@ return i&&i.length>0&&t.length>0&&(e="string"==typeof i?h(e,t,i):f(e,t,i)),a.Eva
|
|
787
790
|
return i[r]=a.EvaluatedPositionalArgs.create(n),i}function f(e,n,r){for(var i=t.assign({},e),o=Math.min(n.length,r.length),s=0;s<o;s++){var a=r[s]
|
788
791
|
i[a]=n[s]}return i}e.gatherArgs=u
|
789
792
|
var m={tag:n.CONSTANT_TAG,value:function(){var e
|
790
|
-
return{attrs:{},props:(e={attrs:{}},e[r.ARGS]={},e)}}},d=function(){function e(e){this.tag=e.tag,this.namedArgs=e}return e.create=function(t){return 0===t.named.keys.length?m:new e(t.named)},e.prototype.value=function e(){var
|
791
|
-
|
792
|
-
for(var
|
793
|
-
"function"==typeof e&&e[s.ACTION]?
|
793
|
+
return{attrs:{},props:(e={attrs:{}},e[r.ARGS]={},e)}}},d=function(){function e(e){this.tag=e.tag,this.namedArgs=e}return e.create=function(t){return 0===t.named.keys.length?m:new e(t.named)},e.prototype.value=function e(){var t=this.namedArgs,n=t.keys,o=t.value(),a=Object.create(null),u=Object.create(null)
|
794
|
+
a[r.ARGS]=u
|
795
|
+
for(var l=0,c=n.length;l<c;l++){var p=n[l],h=t.get(p),e=o[p]
|
796
|
+
"function"==typeof e&&e[s.ACTION]?o[p]=e:h[i.UPDATE]&&(o[p]=new g(h,e)),u[p]=h,a[p]=e}return a.attrs=o,{attrs:o,props:a}},e}()
|
794
797
|
e.ComponentArgs=d
|
795
798
|
var v=t.symbol("REF"),g=function(){function e(e,t){this[o.MUTABLE_CELL]=!0,this[v]=e,this.value=t}return e.prototype.update=function(e){this[v][i.UPDATE](e)},e}()}),s("ember-glimmer/utils/references",["exports","ember-utils","ember-metal","glimmer-reference","glimmer-runtime","ember-glimmer/utils/to-bool","ember-glimmer/helper"],function(e,t,n,r,i,o,s){"use strict"
|
796
799
|
var a=t.symbol("UPDATE")
|
@@ -798,8 +801,8 @@ e.UPDATE=a,e.NULL_REFERENCE=i.NULL_REFERENCE,e.UNDEFINED_REFERENCE=i.UNDEFINED_R
|
|
798
801
|
var u=function(){function e(){}return e.prototype.get=function(e){return h.create(this,e)},e}(),l=function(e){function t(){e.call(this),this._lastRevision=null,this._lastValue=null}return c.inherits(t,e),t.prototype.value=function(){var e=this.tag,t=this._lastRevision,n=this._lastValue
|
799
802
|
return t&&e.validate(t)||(n=this._lastValue=this.compute(),this._lastRevision=e.value()),n},t}(u)
|
800
803
|
e.CachedReference=l
|
801
|
-
var p=function(e){function
|
802
|
-
return t||(t=this.children[e]=new f(this.inner,e)),t},
|
804
|
+
var p=function(e){function t(t){e.call(this,t),this.children=Object.create(null)}return c.inherits(t,e),t.prototype.get=function(e){var t=this.children[e]
|
805
|
+
return t||(t=this.children[e]=new f(this.inner,e)),t},t}(r.ConstReference)
|
803
806
|
e.RootReference=p
|
804
807
|
var h=function(e){function t(){e.apply(this,arguments)}return c.inherits(t,e),t.create=function(e,t){return r.isConst(e)?new f(e.value(),t):new m(e,t)},t.prototype.get=function(e){return new m(this,e)},t}(l)
|
805
808
|
e.PropertyReference=h
|
@@ -842,12 +845,12 @@ var a=function(){function e(e){this.string=e}return e.prototype.toString=functio
|
|
842
845
|
e.SafeString=a
|
843
846
|
var u={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="},l=/[&<>"'`=]/,c=/[&<>"'`=]/g}),s("ember-glimmer/utils/to-bool",["exports","ember-runtime","ember-metal"],function(e,t,n){"use strict"
|
844
847
|
function r(e){return!!e&&(e===!0||(!t.isArray(e)||0!==n.get(e,"length")))}e.default=r}),s("ember-glimmer/views/outlet",["exports","ember-utils","glimmer-reference","ember-environment","ember-metal"],function(e,t,n,r,i){"use strict"
|
845
|
-
var o=function(){function e(e){this.outletView=e,this.tag=e._tag}return e.prototype.get=function(e){return new a(this,e)},e.prototype.value=function(){return this.outletView.outletState},e.prototype.getOrphan=function(e){return new s(this,e)},e.prototype.update=function(e){this.outletView.setOutletState(e)},e}(),s=function(e){function
|
848
|
+
var o=function(){function e(e){this.outletView=e,this.tag=e._tag}return e.prototype.get=function(e){return new a(this,e)},e.prototype.value=function(){return this.outletView.outletState},e.prototype.getOrphan=function(e){return new s(this,e)},e.prototype.update=function(e){this.outletView.setOutletState(e)},e}(),s=function(e){function t(t,n){e.call(this,t.outletView),this.root=t,this.name=n}return c.inherits(t,e),t.prototype.value=function(){var e=this.root.value(),t=e.outlets.main.outlets.__ember_orphans__
|
849
|
+
if(!t)return null
|
850
|
+
var n=t.outlets[this.name]
|
846
851
|
if(!n)return null
|
847
|
-
var r=
|
848
|
-
|
849
|
-
var i=new t.EmptyObject
|
850
|
-
return i[r.render.outlet]=r,r.wasUsed=!0,{outlets:i}},n}(o),a=function(){function e(e,t){this.parent=e,this.key=t,this.tag=e.tag}return e.prototype.get=function(t){return new e(this,t)},e.prototype.value=function(){return this.parent.value()[this.key]},e}(),u=function(){function e(e,t,r,i){this._environment=e,this.renderer=t,this.owner=r,this.template=i,this.outletState=null,this._tag=new n.DirtyableTag}return e.extend=function(n){return function(e){function r(){e.apply(this,arguments)}return c.inherits(r,e),r.create=function(r){return r?e.create.call(this,t.assign({},n,r)):e.create.call(this,n)},r}(e)},e.reopenClass=function(e){t.assign(this,e)},e.create=function(n){var r=n._environment,i=n.renderer,o=n.template,s=n[t.OWNER]
|
852
|
+
var r=Object.create(null)
|
853
|
+
return r[n.render.outlet]=n,n.wasUsed=!0,{outlets:r}},t}(o),a=function(){function e(e,t){this.parent=e,this.key=t,this.tag=e.tag}return e.prototype.get=function(t){return new e(this,t)},e.prototype.value=function(){return this.parent.value()[this.key]},e}(),u=function(){function e(e,t,r,i){this._environment=e,this.renderer=t,this.owner=r,this.template=i,this.outletState=null,this._tag=new n.DirtyableTag}return e.extend=function(n){return function(e){function r(){e.apply(this,arguments)}return c.inherits(r,e),r.create=function(r){return r?e.create.call(this,t.assign({},n,r)):e.create.call(this,n)},r}(e)},e.reopenClass=function(e){t.assign(this,e)},e.create=function(n){var r=n._environment,i=n.renderer,o=n.template,s=n[t.OWNER]
|
851
854
|
return new e(r,i,s,o)},e.prototype.appendTo=function(e){var t=this._environment||r.environment,n=void 0
|
852
855
|
n=t.hasDOM&&"string"==typeof e?document.querySelector(e):e,i.run.schedule("render",this.renderer,"appendOutletView",this,n)},e.prototype.rerender=function(){},e.prototype.setOutletState=function(e){this.outletState={outlets:{main:e},render:{owner:void 0,into:void 0,outlet:"main",name:"-top-level",controller:void 0,ViewClass:void 0,template:void 0}},this._tag.dirty()},e.prototype.toReference=function(){return new o(this)},e.prototype.destroy=function(){},e}()
|
853
856
|
e.default=u}),s("ember-metal/alias",["exports","ember-utils","ember-metal/debug","ember-metal/property_get","ember-metal/property_set","ember-metal/error","ember-metal/properties","ember-metal/computed","ember-metal/meta","ember-metal/dependent_keys"],function(e,t,n,r,i,o,s,a,u,l){"use strict"
|
@@ -870,22 +873,22 @@ t&&n.default.log(" ",e.toString(),"->",r,u),e._oneWay?a.trySet(i,e._to,r):l._sus
|
|
870
873
|
t&&n.default.log(" ",e.toString(),"<-",r,i),l._suspendObserver(u,c,e,"fromDidChange",function(){a.trySet(u,c,r)})}()}},e}()
|
871
874
|
h(m,{from:function(e){var t=this
|
872
875
|
return new t(void 0,e)},to:function(e){var t=this
|
873
|
-
return new t(e,void 0)}}),e.Binding=m}),s("ember-metal/cache",["exports","ember-
|
874
|
-
var
|
875
|
-
return void 0===r?(this.misses++,r=this._set(
|
876
|
-
return this._set(n,t)},e.prototype._set=function(e,
|
877
|
-
e.default=
|
878
|
-
var
|
879
|
-
function
|
880
|
-
o.writableChainWatchers(
|
881
|
-
s&&s.readableChainWatchers()&&(s=
|
882
|
-
if(!
|
883
|
-
var s=
|
884
|
-
return s?
|
885
|
-
if(t){t=
|
886
|
-
var
|
887
|
-
|
888
|
-
var
|
876
|
+
return new t(e,void 0)}}),e.Binding=m}),s("ember-metal/cache",["exports","ember-metal/meta"],function(e,t){"use strict"
|
877
|
+
var n=function(){function e(e,t,n,i){this.size=0,this.misses=0,this.hits=0,this.limit=e,this.func=t,this.key=n,this.store=i||new r}return e.prototype.get=function(e){var n=void 0===this.key?e:this.key(e),r=this.store.get(n)
|
878
|
+
return void 0===r?(this.misses++,r=this._set(n,this.func(e))):r===t.UNDEFINED?(this.hits++,r=void 0):this.hits++,r},e.prototype.set=function(e,t){var n=void 0===this.key?e:this.key(e)
|
879
|
+
return this._set(n,t)},e.prototype._set=function(e,n){return this.limit>this.size&&(this.size++,void 0===n?this.store.set(e,t.UNDEFINED):this.store.set(e,n)),n},e.prototype.purge=function(){this.store.clear(),this.size=0,this.hits=0,this.misses=0},e}()
|
880
|
+
e.default=n
|
881
|
+
var r=function(){function e(){this.data=Object.create(null)}return e.prototype.get=function(e){return this.data[e]},e.prototype.set=function(e,t){this.data[e]=t},e.prototype.clear=function(){this.data=Object.create(null)},e}()}),s("ember-metal/chains",["exports","ember-metal/property_get","ember-metal/meta","ember-metal/watch_key","ember-metal/computed","ember-metal/watch_path"],function(e,t,n,r,i,o){"use strict"
|
882
|
+
function s(e){return e.match(m)[0]}function a(e){return"object"==typeof e&&e}function u(e){return!(a(e)&&e.isDescriptor&&e._volatile===!1)}function l(){return new d}function c(e,t,i){var o=n.meta(e)
|
883
|
+
o.writableChainWatchers(l).add(t,i),r.watchKey(e,t,o)}function p(e,t,i,o){if(a(e)){var s=o||n.peekMeta(e)
|
884
|
+
s&&s.readableChainWatchers()&&(s=n.meta(e),s.readableChainWatchers().remove(t,i),r.unwatchKey(e,t,s))}}function h(e,r){if(a(e)){var o=n.peekMeta(e)
|
885
|
+
if(!o||o.proto!==e){if(u(e[r]))return t.get(e,r)
|
886
|
+
var s=o.readableCache()
|
887
|
+
return s?i.cacheFor.get(s,r):void 0}}}function f(e){var t=n.peekMeta(e)
|
888
|
+
if(t){t=n.meta(e)
|
889
|
+
var r=t.readableChainWatchers()
|
890
|
+
r&&r.revalidateAll(),t.readableChains()&&t.writableChains(o.makeChainNode)}}e.finishChains=f
|
891
|
+
var m=/^([^\.]+)/,d=function(){function e(){this.chains=Object.create(null)}return e.prototype.add=function(e,t){var n=this.chains[e]
|
889
892
|
void 0===n?this.chains[e]=[t]:n.push(t)},e.prototype.remove=function(e,t){var n=this.chains[e]
|
890
893
|
if(n)for(var r=0;r<n.length;r++)if(n[r]===t){n.splice(r,1)
|
891
894
|
break}},e.prototype.has=function(e,t){var n=this.chains[e]
|
@@ -895,26 +898,26 @@ if(void 0!==r&&0!==r.length){var i=void 0
|
|
895
898
|
n&&(i=[])
|
896
899
|
for(var o=0;o<r.length;o++)r[o].notify(t,i)
|
897
900
|
if(void 0!==n)for(var o=0;o<i.length;o+=2){var s=i[o],a=i[o+1]
|
898
|
-
n(s,a)}}},e}(),
|
899
|
-
if(!
|
900
|
-
this._object=r,
|
901
|
-
this._value=
|
902
|
-
e&&
|
901
|
+
n(s,a)}}},e}(),v=function(){function e(e,t,n){if(this._parent=e,this._key=t,this._watching=void 0===n,this._chains=void 0,this._object=void 0,this.count=0,this._value=n,this._paths={},this._watching){var r=e.value()
|
902
|
+
if(!a(r))return
|
903
|
+
this._object=r,c(this._object,this._key,this)}}return e.prototype.value=function(){if(void 0===this._value&&this._watching){var e=this._parent.value()
|
904
|
+
this._value=h(e,this._key)}return this._value},e.prototype.destroy=function(){if(this._watching){var e=this._object
|
905
|
+
e&&p(e,this._key,this),this._watching=!1}},e.prototype.copy=function(t){var n=new e(null,null,t),r=this._paths,i=void 0
|
903
906
|
for(i in r)r[i]<=0||n.add(i)
|
904
907
|
return n},e.prototype.add=function(e){var t=this._paths
|
905
908
|
t[e]=(t[e]||0)+1
|
906
|
-
var n=
|
909
|
+
var n=s(e),r=e.slice(n.length+1)
|
907
910
|
this.chain(n,r)},e.prototype.remove=function(e){var t=this._paths
|
908
911
|
t[e]>0&&t[e]--
|
909
|
-
var n=
|
910
|
-
this.unchain(n,r)},e.prototype.chain=function(n
|
911
|
-
void 0===
|
912
|
-
if(t&&t.length>1){var i=
|
912
|
+
var n=s(e),r=e.slice(n.length+1)
|
913
|
+
this.unchain(n,r)},e.prototype.chain=function(t,n){var r=this._chains,i=void 0
|
914
|
+
void 0===r?r=this._chains=Object.create(null):i=r[t],void 0===i&&(i=r[t]=new e(this,t,void 0)),i.count++,n&&(t=s(n),n=n.slice(t.length+1),i.chain(t,n))},e.prototype.unchain=function(e,t){var n=this._chains,r=n[e]
|
915
|
+
if(t&&t.length>1){var i=s(t),o=t.slice(i.length+1)
|
913
916
|
r.unchain(i,o)}r.count--,r.count<=0&&(n[r._key]=void 0,r.destroy())},e.prototype.notify=function(e,t){if(e&&this._watching){var n=this._parent.value()
|
914
|
-
n!==this._object&&(this._object&&
|
917
|
+
n!==this._object&&(this._object&&p(this._object,this._key,this),a(n)?(this._object=n,c(n,this._key,this)):this._object=void 0),this._value=void 0}var r=this._chains,i=void 0
|
915
918
|
if(r)for(var o in r)i=r[o],void 0!==i&&i.notify(e,t)
|
916
919
|
t&&this._parent&&this._parent.populateAffected(this._key,1,t)},e.prototype.populateAffected=function(e,t,n){this._key&&(e=this._key+"."+e),this._parent?this._parent.populateAffected(e,t+1,n):t>1&&n.push(this.value(),e)},e}()
|
917
|
-
e.removeChainWatcher=
|
920
|
+
e.removeChainWatcher=p,e.ChainNode=v}),s("ember-metal/computed",["exports","ember-utils","ember-metal/debug","ember-metal/property_set","ember-metal/meta","ember-metal/expand_properties","ember-metal/error","ember-metal/properties","ember-metal/property_events","ember-metal/dependent_keys"],function(e,t,n,r,i,o,s,a,u,l){"use strict"
|
918
921
|
function c(e,t){this.isDescriptor=!0,"function"==typeof e?this._getter=e:(this._getter=e.get,this._setter=e.set),this._dependentKeys=void 0,this._suspended=void 0,this._meta=void 0,this._volatile=!1,this._dependentKeys=t&&t.dependentKeys,this._readOnly=!1}function p(e){var t=void 0
|
919
922
|
arguments.length>1&&(t=[].slice.call(arguments),e=t.pop())
|
920
923
|
var n=new c(e)
|
@@ -1040,11 +1043,11 @@ var r=function(){function e(){this._registry=[],this._coreLibIndex=0}return e.pr
|
|
1040
1043
|
e.Libraries=r,r.prototype={constructor:r,_getLibraryByName:function(e){for(var t=this._registry,n=t.length,r=0;r<n;r++)if(t[r].name===e)return t[r]},register:function(e,t,n){var r=this._registry.length
|
1041
1044
|
this._getLibraryByName(e)||(n&&(r=this._coreLibIndex++),this._registry.splice(r,0,{name:e,version:t}))},registerCoreLibrary:function(e,t){this.register(e,t,!0)},deRegister:function(e){var t=this._getLibraryByName(e),n=void 0
|
1042
1045
|
t&&(n=this._registry.indexOf(t),this._registry.splice(n,1))}},e.default=new r}),s("ember-metal/map",["exports","ember-utils"],function(e,t){"use strict"
|
1043
|
-
function n(e){throw new TypeError(Object.prototype.toString.call(e)+" is not a function")}function r(e){throw new TypeError("Constructor "+e+" requires 'new'")}function i(e){var
|
1044
|
-
for(var
|
1045
|
-
return
|
1046
|
-
return t._keys=n,t._values=r,t.size=e.size,t}function s(){this instanceof s?(this.clear(),this._silenceRemoveDeprecation=!1):r("OrderedSet")}function a(){this instanceof a?(this._keys=s.create(),this._keys._silenceRemoveDeprecation=!0,this._values=
|
1047
|
-
return new e},s.prototype={constructor:s,clear:function(){this.presenceSet=
|
1046
|
+
function n(e){throw new TypeError(Object.prototype.toString.call(e)+" is not a function")}function r(e){throw new TypeError("Constructor "+e+" requires 'new'")}function i(e){var t=Object.create(null)
|
1047
|
+
for(var n in e)t[n]=e[n]
|
1048
|
+
return t}function o(e,t){var n=e._keys.copy(),r=i(e._values)
|
1049
|
+
return t._keys=n,t._values=r,t.size=e.size,t}function s(){this instanceof s?(this.clear(),this._silenceRemoveDeprecation=!1):r("OrderedSet")}function a(){this instanceof a?(this._keys=s.create(),this._keys._silenceRemoveDeprecation=!0,this._values=Object.create(null),this.size=0):r("Map")}function u(e){this._super$constructor(),this.defaultValue=e.defaultValue}s.create=function(){var e=this
|
1050
|
+
return new e},s.prototype={constructor:s,clear:function(){this.presenceSet=Object.create(null),this.list=[],this.size=0},add:function(e,n){var r=n||t.guidFor(e),i=this.presenceSet,o=this.list
|
1048
1051
|
return i[r]!==!0&&(i[r]=!0,this.size=o.push(e)),this},delete:function(e,n){var r=n||t.guidFor(e),i=this.presenceSet,o=this.list
|
1049
1052
|
if(i[r]===!0){delete i[r]
|
1050
1053
|
var s=o.indexOf(e)
|
@@ -1059,7 +1062,7 @@ return n[r]}},set:function(e,n){var r=this._keys,i=this._values,o=t.guidFor(e),s
|
|
1059
1062
|
return r.add(s,o),i[o]=n,this.size=r.size,this},delete:function(e){if(0===this.size)return!1
|
1060
1063
|
var n=this._keys,r=this._values,i=t.guidFor(e)
|
1061
1064
|
return!!n.delete(e,i)&&(delete r[i],this.size=n.size,!0)},has:function(e){return this._keys.has(e)},forEach:function(e){if("function"!=typeof e&&n(e),0!==this.size){var t=this,r=void 0,i=void 0
|
1062
|
-
2===arguments.length?(i=arguments[1],r=function(n){return e.call(i,t.get(n),n,t)}):r=function(n){return e(t.get(n),n,t)},this._keys.forEach(r)}},clear:function(){this._keys.clear(),this._values=
|
1065
|
+
2===arguments.length?(i=arguments[1],r=function(n){return e.call(i,t.get(n),n,t)}):r=function(n){return e(t.get(n),n,t)},this._keys.forEach(r)}},clear:function(){this._keys.clear(),this._values=Object.create(null),this.size=0},copy:function(){return o(this,new a)}},u.create=function(e){return e?new u(e):new a},u.prototype=Object.create(a.prototype),u.prototype.constructor=u,u.prototype._super$constructor=a,u.prototype._super$get=a.prototype.get,u.prototype.get=function(e){var t=this.has(e)
|
1063
1066
|
if(t)return this._super$get(e)
|
1064
1067
|
var n=this.defaultValue(e)
|
1065
1068
|
return this.set(e,n),n},u.prototype.copy=function(){var e=this.constructor
|
@@ -1068,11 +1071,11 @@ function t(e,t){if(!t||"object"!=typeof t)return e
|
|
1068
1071
|
for(var n=Object.keys(t),r=void 0,i=0;i<n.length;i++)r=n[i],e[r]=t[r]
|
1069
1072
|
return e}e.default=t}),s("ember-metal/meta",["exports","ember-utils","ember-metal/features","ember-metal/meta_listeners","ember-metal/debug","ember-metal/chains","require"],function(e,t,n,r,i,o,s){"no use strict"
|
1070
1073
|
function a(e,t){var n=p(e),r=h(e)
|
1071
|
-
t.prototype["writable"+r]=function(){return this._getOrCreateOwnMap(n)},t.prototype["readable"+r]=function(){return this[n]}}function u(e,
|
1072
|
-
|
1073
|
-
|
1074
|
-
if(
|
1075
|
-
|
1074
|
+
t.prototype["writable"+r]=function(){return this._getOrCreateOwnMap(n)},t.prototype["readable"+r]=function(){return this[n]}}function u(e,t){var n=p(e),r=h(e)
|
1075
|
+
t.prototype["write"+r]=function(e,t){var r=this._getOrCreateOwnMap(n)
|
1076
|
+
r[e]=t},t.prototype["peek"+r]=function(e){return this._findInherited(n,e)},t.prototype["forEach"+r]=function(e){for(var t=this,r=void 0;void 0!==t;){var i=t[n]
|
1077
|
+
if(i)for(var o in i)r=r||Object.create(null),r[o]||(r[o]=!0,e(o,i[o]))
|
1078
|
+
t=t.parent}},t.prototype["clear"+r]=function(){this[n]=void 0},t.prototype["deleteFrom"+r]=function(e){delete this._getOrCreateOwnMap(n)[e]},t.prototype["hasIn"+r]=function(e){return void 0!==this._findInherited(n,e)}}function l(e,t){var n=p(e),r=h(e)
|
1076
1079
|
t.prototype["writable"+r]=function(e){var t=this[n]
|
1077
1080
|
return t||(t=this[n]=e(this.source)),t},t.prototype["readable"+r]=function(){return this[n]}}function c(e,t){var n=p(e),r=h(e)
|
1078
1081
|
t.prototype["writable"+r]=function(e){var t=this[n]
|
@@ -1084,19 +1087,21 @@ return k(e,r),r}e.deleteMeta=f,e.meta=m
|
|
1084
1087
|
var d={peekCalls:0,peekParentCalls:0,peekPrototypeWalks:0,setCalls:0,deleteCalls:0,metaCalls:0,metaInstantiated:0},v={cache:a,weak:a,watching:u,mixins:u,bindings:u,values:u,chainWatchers:l,chains:c,tag:l,tags:a},g=2,y=4,b=8,_=16,w=Object.keys(v),E="__ember_meta__",O=function(){function e(e,t){this._cache=void 0,this._weak=void 0,this._watching=void 0,this._mixins=void 0,this._bindings=void 0,this._values=void 0,this._deps=void 0,this._chainWatchers=void 0,this._chains=void 0,this._tag=void 0,this._tags=void 0,this._flags=0,this.source=e,this.proto=void 0,this.parent=t,this._initializeListeners()}return e.prototype.isInitialized=function(e){return this.proto!==e},e.prototype.destroy=function(){if(!this.isMetaDestroyed()){var e=void 0,t=void 0,n=void 0,r=this.readableChains()
|
1085
1088
|
if(r)for(S.push(r);S.length>0;){if(r=S.pop(),e=r._chains)for(t in e)void 0!==e[t]&&S.push(e[t])
|
1086
1089
|
if(r._watching&&(n=r._object)){var i=R(n)
|
1087
|
-
i&&!i.isSourceDestroying()&&o.removeChainWatcher(n,r._key,r,i)}}this.setMetaDestroyed()}},e.prototype.isSourceDestroying=function(){return 0!==(this._flags&g)},e.prototype.setSourceDestroying=function(){this._flags|=g},e.prototype.isSourceDestroyed=function(){return 0!==(this._flags&y)},e.prototype.setSourceDestroyed=function(){this._flags|=y},e.prototype.isMetaDestroyed=function(){return 0!==(this._flags&b)},e.prototype.setMetaDestroyed=function(){this._flags|=b},e.prototype.isProxy=function(){return 0!==(this._flags&_)},e.prototype.setProxy=function(){this._flags|=_},e.prototype._getOrCreateOwnMap=function(e){return this[e]||(this[e]=
|
1090
|
+
i&&!i.isSourceDestroying()&&o.removeChainWatcher(n,r._key,r,i)}}this.setMetaDestroyed()}},e.prototype.isSourceDestroying=function(){return 0!==(this._flags&g)},e.prototype.setSourceDestroying=function(){this._flags|=g},e.prototype.isSourceDestroyed=function(){return 0!==(this._flags&y)},e.prototype.setSourceDestroyed=function(){this._flags|=y},e.prototype.isMetaDestroyed=function(){return 0!==(this._flags&b)},e.prototype.setMetaDestroyed=function(){this._flags|=b},e.prototype.isProxy=function(){return 0!==(this._flags&_)},e.prototype.setProxy=function(){this._flags|=_},e.prototype._getOrCreateOwnMap=function(e){return this[e]||(this[e]=Object.create(null))},e.prototype._getInherited=function(e){for(var t=this;void 0!==t;){var n=t[e]
|
1091
|
+
if(n)return n
|
1088
1092
|
t=t.parent}},e.prototype._findInherited=function(e,t){for(var n=this;void 0!==n;){var r=n[e]
|
1089
1093
|
if(r){var i=r[t]
|
1090
|
-
if(void 0!==i)return i}n=n.parent}},e.prototype.writeDeps=function(e,n
|
1091
|
-
|
1094
|
+
if(void 0!==i)return i}n=n.parent}},e.prototype.writeDeps=function(e,t,n){var r=this._getOrCreateOwnMap("_deps"),i=r[e]
|
1095
|
+
i||(i=r[e]=Object.create(null)),i[t]=n},e.prototype.peekDeps=function(e,t){for(var n=this;void 0!==n;){var r=n._deps
|
1092
1096
|
if(r){var i=r[e]
|
1093
|
-
if(i&&void 0!==i[t])return i[t]}n=n.parent}},e.prototype.hasDeps=function(e){for(var t=this;void 0!==t;){if(t._deps&&t._deps[e])return!0
|
1094
|
-
t=t.parent}return!1},e.prototype.forEachInDeps=function(e,t){return this._forEachIn("_deps",e,t)},e.prototype._forEachIn=function(e,n,r){for(var i=this,o=new t.EmptyObject,s=[];void 0!==i;){var a=i[e]
|
1095
|
-
if(a){var u=a[n]
|
1096
|
-
if(u)for(var l in u)o[l]||(o[l]=!0,s.push([l,u[l]]))}i=i.parent}for(var c=0;c<s.length;c++){var p=s[c],l=p[0],h=p[1]
|
1097
|
-
r(l,h)}},e.prototype.readInheritedValue=function(e,t){for(var n="_"+e,r=this;void 0!==r;){var i=r[n]
|
1098
1097
|
if(i){var o=i[t]
|
1099
|
-
if(void 0!==o
|
1098
|
+
if(void 0!==o)return o}}n=n.parent}},e.prototype.hasDeps=function(e){for(var t=this;void 0!==t;){if(t._deps&&t._deps[e])return!0
|
1099
|
+
t=t.parent}return!1},e.prototype.forEachInDeps=function(e,t){return this._forEachIn("_deps",e,t)},e.prototype._forEachIn=function(e,t,n){for(var r=this,i=void 0,o=void 0;void 0!==r;){var s=r[e]
|
1100
|
+
if(s){var a=s[t]
|
1101
|
+
if(a)for(var u in a)i=i||Object.create(null),i[u]||(i[u]=!0,o=o||[],o.push([u,a[u]]))}r=r.parent}if(o)for(var l=0;l<o.length;l++){var c=o[l],u=c[0],p=c[1]
|
1102
|
+
n(u,p)}},e.prototype.readInheritedValue=function(e,t){for(var n="_"+e,r=this;void 0!==r;){var i=r[n]
|
1103
|
+
if(i){var o=i[t]
|
1104
|
+
if(void 0!==o||t in i)return o}r=r.parent}return x},e.prototype.writeValue=function(e,n,r){var i=t.lookupDescriptor(e,n),o=i&&i.set&&i.set.isMandatorySetter
|
1100
1105
|
o?this.writeValues(n,r):e[n]=r},e}()
|
1101
1106
|
e.Meta=O
|
1102
1107
|
var S=[]
|
@@ -1363,9 +1368,9 @@ if(s.router){var a={}
|
|
1363
1368
|
t.assign(a,o),this.normalizeQueryParams(e,n,a)
|
1364
1369
|
var u=i.routeArgs(e,n,a)
|
1365
1370
|
return s.generate.apply(s,u)}},isActiveForRoute:function(e,t,n,i,s){var a=r.get(this,"router"),u=a.router.recognizer.handlersFor(n),l=u[u.length-1].handler,c=o(n,u)
|
1366
|
-
return e.length>c&&(n=l),i.isActiveIntent(n,e,t,!s)}})}),s("ember-routing/system/cache",["exports","ember-
|
1367
|
-
e.default=
|
1368
|
-
|
1371
|
+
return e.length>c&&(n=l),i.isActiveIntent(n,e,t,!s)}})}),s("ember-routing/system/cache",["exports","ember-runtime"],function(e,t){"use strict"
|
1372
|
+
e.default=t.Object.extend({init:function(){this.cache=Object.create(null)},has:function(e){return!!this.cache[e]},stash:function(e,t,n){var r=this.cache[e]
|
1373
|
+
r||(r=this.cache[e]=Object.create(null)),r[t]=n},lookup:function(e,t,n){var r=this.cache
|
1369
1374
|
if(!this.has(e))return n
|
1370
1375
|
var i=r[e]
|
1371
1376
|
return t in i&&void 0!==i[t]?i[t]:n}})}),s("ember-routing/system/controller_for",["exports"],function(e){"use strict"
|
@@ -1525,14 +1530,14 @@ for(var o in n)if(n.hasOwnProperty(o)){var s=n[o],a=i.map[o]
|
|
1525
1530
|
r(o,s,a)}}function S(e,t){if(e)for(var n=[e];n.length>0;){var r=n.shift()
|
1526
1531
|
if(r.render.name===t)return r
|
1527
1532
|
var i=r.outlets
|
1528
|
-
for(var o in i)n.push(i[o])}}function C(e,n
|
1529
|
-
return
|
1533
|
+
for(var o in i)n.push(i[o])}}function C(e,t,n){var i=void 0,o={render:n,outlets:Object.create(null),wasUsed:!1}
|
1534
|
+
return i=n.into?S(e,n.into):t,i?r.set(i.outlets,n.outlet,o):n.into?x(e,n.into,o):e=o,{liveRoutes:e,ownState:o}}function x(e,t,n){e.outlets.__ember_orphans__||(e.outlets.__ember_orphans__={render:{name:"__ember_orphans__"},outlets:Object.create(null)}),e.outlets.__ember_orphans__.outlets[t]=n,r.run.schedule("afterRender",function(){})}function A(e,t,n){var r=S(e,n.routeName)
|
1530
1535
|
return r?r:(t.outlets.main={render:{name:n.routeName,outlet:"main"},outlets:{}},t)}e.triggerEvent=y
|
1531
1536
|
var T=Array.prototype.slice,k=i.Object.extend(i.Evented,{location:"hash",rootURL:"/",_initRouterJs:function(){var e=this.router=new p.default
|
1532
1537
|
e.triggerEvent=y,e._triggerWillChangeContext=h,e._triggerWillLeave=h
|
1533
1538
|
var t=this.constructor.dslCallbacks||[h],i=this._buildDSL()
|
1534
1539
|
i.route("application",{path:"/",resetNamespace:!0,overrideNameAssertion:!0},function(){for(var e=0;e<t.length;e++)t[e].call(this)}),r.get(this,"namespace.LOG_TRANSITIONS_INTERNAL")&&(e.log=n.default.debug),e.map(i.generate())},_buildDSL:function(){var e=this._hasModuleBasedResolver(),n={enableLoadingSubstates:!!e},r=t.getOwner(this),i=this
|
1535
|
-
return n.resolveRouteMap=function(e){return r[c.FACTORY_FOR]("route-map:"+e)},n.addRouteForEngine=function(e,t){i._engineInfoByRoute[e]||(i._engineInfoByRoute[e]=t)},new s.default(null,n)},init:function(){this._super.apply(this,arguments),this._qpCache=
|
1540
|
+
return n.resolveRouteMap=function(e){return r[c.FACTORY_FOR]("route-map:"+e)},n.addRouteForEngine=function(e,t){i._engineInfoByRoute[e]||(i._engineInfoByRoute[e]=t)},new s.default(null,n)},init:function(){this._super.apply(this,arguments),this._qpCache=Object.create(null),this._resetQueuedQueryParameterChanges(),this._handledErrors=t.dictionary(null),this._engineInstances=Object.create(null),this._engineInfoByRoute=Object.create(null)},_resetQueuedQueryParameterChanges:function(){this._queuedQPChanges={}},url:r.computed(function(){return r.get(this,"location").getURL()}),_hasModuleBasedResolver:function(){var e=t.getOwner(this)
|
1536
1541
|
if(!e)return!1
|
1537
1542
|
var n=e.application&&e.application.__registry__&&e.application.__registry__.resolver
|
1538
1543
|
return!!n&&!!n.moduleBasedResolver},startRouting:function(){var e=r.get(this,"initialURL")
|
@@ -1564,7 +1569,7 @@ for(var t in e)for(var n in e[t])r.run(e[t][n],"destroy")},_activeQPChanged:func
|
|
1564
1569
|
if("string"==typeof e&&i){var o=i.lookup("location:"+e)
|
1565
1570
|
if("undefined"!=typeof o)e=r.set(this,"location",o)
|
1566
1571
|
else{var s={implementation:e}
|
1567
|
-
e=r.set(this,"location",a.default.create(s))}}null!==e&&"object"==typeof e&&(n&&r.set(e,"rootURL",n),"function"==typeof e.detect&&e.detect(),"function"==typeof e.initState&&e.initState())},_getHandlerFunction:function(){var e=this,n=
|
1572
|
+
e=r.set(this,"location",a.default.create(s))}}null!==e&&"object"==typeof e&&(n&&r.set(e,"rootURL",n),"function"==typeof e.detect&&e.detect(),"function"==typeof e.initState&&e.initState())},_getHandlerFunction:function(){var e=this,n=Object.create(null),i=t.getOwner(this)
|
1568
1573
|
return function(t){var s=t,a=i,u=e._engineInfoByRoute[s]
|
1569
1574
|
if(u){var l=e._getEngineInstance(u)
|
1570
1575
|
a=l,s=u.localFullName}var p="route:"+s,h=a.lookup(p)
|
@@ -1601,7 +1606,7 @@ if(o)for(var s=0,a=o.qps.length;s<a;++s){var l=o.qps[s],c=l.prop in t&&l.prop||l
|
|
1601
1606
|
if(c)c!==l.scopedPropertyName&&(t[l.scopedPropertyName]=t[c],delete t[c])
|
1602
1607
|
else{var p=u.calculateCacheKey(l.route.fullRouteName,l.parts,e.params)
|
1603
1608
|
t[l.scopedPropertyName]=r.lookup(p,l.prop,l.defaultValue)}}}},_scheduleLoadingEvent:function(e,t){this._cancelSlowTransitionTimer(),this._slowTransitionTimer=r.run.scheduleOnce("routerTransitions",this,"_handleSlowTransition",e,t)},currentState:null,targetState:null,_handleSlowTransition:function(e,t){this.router.activeTransition&&(this.set("targetState",l.default.create({emberRouter:this,routerJs:this.router,routerJsState:this.router.activeTransition.state})),e.trigger(!0,"loading",e,t))},_cancelSlowTransitionTimer:function(){this._slowTransitionTimer&&r.run.cancel(this._slowTransitionTimer),this._slowTransitionTimer=null},_markErrorAsHandled:function(e){this._handledErrors[e]=!0},_isErrorHandled:function(e){return this._handledErrors[e]},_clearHandledError:function(e){delete this._handledErrors[e]},_getEngineInstance:function(e){var n=e.name,r=e.instanceId,i=e.mountPoint,o=this._engineInstances
|
1604
|
-
o[n]||(o[n]=
|
1609
|
+
o[n]||(o[n]=Object.create(null))
|
1605
1610
|
var s=o[n][r]
|
1606
1611
|
if(!s){var a=t.getOwner(this)
|
1607
1612
|
s=a.buildChildEngineInstance(n,{routable:!0,mountPoint:i}),s.boot(),o[n][r]=s}return s}}),R={willResolveModel:function(e,t){t.router._scheduleLoadingEvent(e,t)},error:function(e,t,n){var r=t.state.handlerInfos,i=n.router
|
@@ -1674,7 +1679,7 @@ return r.push(function(){return o.A(t.call(this,e))}),n.computed.apply(this,r).r
|
|
1674
1679
|
return i=2===arguments.length?function(e){return n.get(e,t)}:function(e){return n.get(e,t)===r},m(e+".@each."+t,i)}function v(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]
|
1675
1680
|
return u(t,function(e){var t=this,r=o.A()
|
1676
1681
|
return e.forEach(function(e){var o=n.get(t,e)
|
1677
|
-
i.isArray(o)&&o.forEach(function(e){r.indexOf(e)===-1&&r.push(e)})}),r})}function g(e,r){return n.computed(e+".[]",function(){var s=o.A(),a=
|
1682
|
+
i.isArray(o)&&o.forEach(function(e){r.indexOf(e)===-1&&r.push(e)})}),r})}function g(e,r){return n.computed(e+".[]",function(){var s=o.A(),a=Object.create(null),u=n.get(this,e)
|
1678
1683
|
return i.isArray(u)&&u.forEach(function(e){var i=t.guidFor(n.get(e,r))
|
1679
1684
|
i in a||(a[i]=!0,s.push(e))}),s}).readOnly()}function y(){for(var e=arguments.length,t=Array(e),r=0;r<e;r++)t[r]=arguments[r]
|
1680
1685
|
return u(t,function(e){var t=this,r=e.map(function(e){var r=n.get(t,e)
|
@@ -1825,7 +1830,7 @@ return o&&n.propertyWillChange(this,"hasEnumerableObservers"),n.removeListener(t
|
|
1825
1830
|
return r="number"==typeof e?e:e?n.get(e,"length"):e=-1,i="number"==typeof t?t:t?n.get(t,"length"):t=-1,o=i<0||r<0||i-r!==0,e===-1&&(e=null),t===-1&&(t=null),n.propertyWillChange(this,"[]"),o&&n.propertyWillChange(this,"length"),n.sendEvent(this,"@enumerable:before",[this,e,t]),this},enumerableContentDidChange:function(e,t){var r=void 0,i=void 0,o=void 0
|
1826
1831
|
return r="number"==typeof e?e:e?n.get(e,"length"):e=-1,i="number"==typeof t?t:t?n.get(t,"length"):t=-1,o=i<0||r<0||i-r!==0,e===-1&&(e=null),t===-1&&(t=null),n.sendEvent(this,"@enumerable:change",[this,e,t]),o&&n.propertyDidChange(this,"length"),n.propertyDidChange(this,"[]"),this},sortBy:function(){var e=arguments
|
1827
1832
|
return this.toArray().sort(function(t,i){for(var o=0;o<e.length;o++){var s=e[o],a=n.get(t,s),u=n.get(i,s),l=r.default(a,u)
|
1828
|
-
if(l)return l}return 0})},uniqBy:function(e){var r=o(),i=
|
1833
|
+
if(l)return l}return 0})},uniqBy:function(e){var r=o(),i=Object.create(null)
|
1829
1834
|
return this.forEach(function(o){var s=t.guidFor(n.get(o,e))
|
1830
1835
|
s in i||(i[s]=!0,r.push(o))}),r},includes:function(e){var t=n.get(this,"length"),r=void 0,i=void 0,o=null,u=!1,l=s()
|
1831
1836
|
for(r=0;r<t&&!u;r++)i=this.nextObject(r,o,l),u=e===i||e!==e&&i!==i,o=i
|
@@ -1943,18 +1948,18 @@ for(r in t)i=t[r],i instanceof n.InjectedProperty&&(e[r]=i.type+":"+(i.name||r))
|
|
1943
1948
|
return e}
|
1944
1949
|
var v=n.Mixin.create(d)
|
1945
1950
|
v.ownerConstructor=m,m.ClassMixin=v,v.apply(m),m.reopen({didDefineProperty:function(e,t,r){if(h!==!1&&r instanceof n.ComputedProperty){var i=n.meta(this.constructor).readableCache()
|
1946
|
-
i&&void 0!==i._computedProperties&&(i._computedProperties=void 0)}}}),e.default=m}),s("ember-runtime/system/each_proxy",["exports","ember-
|
1947
|
-
function
|
1948
|
-
a&&(
|
1949
|
-
a&&(
|
1950
|
-
for(var u in
|
1951
|
-
for(var u in s)a>0&&
|
1952
|
-
if(
|
1953
|
-
else{
|
1954
|
-
var
|
1955
|
-
|
1956
|
-
if(
|
1957
|
-
|
1951
|
+
i&&void 0!==i._computedProperties&&(i._computedProperties=void 0)}}}),e.default=m}),s("ember-runtime/system/each_proxy",["exports","ember-metal","ember-runtime/mixins/array"],function(e,t,n){"use strict"
|
1952
|
+
function r(e){this._content=e,this._keys=void 0,this.__ember_meta__=null}function i(e,r,i,o,s){for(;--s>=o;){var a=n.objectAt(e,s)
|
1953
|
+
a&&(t._addBeforeObserver(a,r,i,"contentKeyWillChange"),t.addObserver(a,r,i,"contentKeyDidChange"))}}function o(e,r,i,o,s){for(;--s>=o;){var a=n.objectAt(e,s)
|
1954
|
+
a&&(t._removeBeforeObserver(a,r,i,"contentKeyWillChange"),t.removeObserver(a,r,i,"contentKeyDidChange"))}}e.default=r,r.prototype={__defineNonEnumerable:function(e){this[e.name]=e.descriptor.value},arrayWillChange:function(e,n,r,i){var s=this._keys,a=r>0?n+r:-1
|
1955
|
+
for(var u in s)a>0&&o(e,u,this,n,a),t.propertyWillChange(this,u)},arrayDidChange:function(e,n,r,o){var s=this._keys,a=o>0?n+o:-1
|
1956
|
+
for(var u in s)a>0&&i(e,u,this,n,a),t.propertyDidChange(this,u)},willWatchProperty:function(e){this.beginObservingContentKey(e)},didUnwatchProperty:function(e){this.stopObservingContentKey(e)},beginObservingContentKey:function(e){var n=this._keys
|
1957
|
+
if(n||(n=this._keys=Object.create(null)),n[e])n[e]++
|
1958
|
+
else{n[e]=1
|
1959
|
+
var r=this._content,o=t.get(r,"length")
|
1960
|
+
i(r,e,this,0,o)}},stopObservingContentKey:function(e){var n=this._keys
|
1961
|
+
if(n&&n[e]>0&&--n[e]<=0){var r=this._content,i=t.get(r,"length")
|
1962
|
+
o(r,e,this,0,i)}},contentKeyWillChange:function(e,n){t.propertyWillChange(this,n)},contentKeyDidChange:function(e,n){t.propertyDidChange(this,n)}}}),s("ember-runtime/system/lazy_load",["exports","ember-environment"],function(e,t){"use strict"
|
1958
1963
|
function n(e,t){var n=o[e]
|
1959
1964
|
i[e]=i[e]||[],i[e].push(t),n&&t(n)}function r(e,n){o[e]=n
|
1960
1965
|
var r=t.environment.window
|
@@ -2024,12 +2029,10 @@ default:return e[t].apply(e,n)}}e.default=t}),s("ember-utils/assign",["exports"]
|
|
2024
2029
|
function t(e){for(var t=1;t<arguments.length;t++){var n=arguments[t]
|
2025
2030
|
if(n)for(var r=Object.keys(n),i=0;i<r.length;i++){var o=r[i]
|
2026
2031
|
e[o]=n[o]}}return e}e.default=t})
|
2027
|
-
s("ember-utils/dictionary",["exports"
|
2028
|
-
function
|
2029
|
-
return
|
2030
|
-
s("ember-utils/
|
2031
|
-
function t(){}var n=Object.create(null,{constructor:{value:void 0,enumerable:!1,writable:!0}})
|
2032
|
-
t.prototype=n,e.default=t}),s("ember-utils/guid",["exports","ember-utils/intern"],function(e,t){"use strict"
|
2032
|
+
s("ember-utils/dictionary",["exports"],function(e){"use strict"
|
2033
|
+
function t(e){var t=Object.create(e)
|
2034
|
+
return t._dict=null,delete t._dict,t}e.default=t})
|
2035
|
+
s("ember-utils/guid",["exports","ember-utils/intern"],function(e,t){"use strict"
|
2033
2036
|
function n(){return++o}function r(e,t){t||(t=s)
|
2034
2037
|
var r=t+n()
|
2035
2038
|
return e&&(null===e[l]?e[l]=r:(c.value=r,e.__defineNonEnumerable?e.__defineNonEnumerable(h):Object.defineProperty(e,l,c))),r}function i(e){var t=typeof e,r="object"===t&&null!==e,i="function"===t
|
@@ -2046,8 +2049,8 @@ e.GUID_KEY=l
|
|
2046
2049
|
var c={writable:!0,configurable:!0,enumerable:!1,value:null}
|
2047
2050
|
e.GUID_DESC=c
|
2048
2051
|
var p={configurable:!0,writable:!0,enumerable:!1,value:null},h={name:l,descriptor:p}
|
2049
|
-
e.GUID_KEY_PROPERTY=h}),s("ember-utils/index",["exports","ember-utils/symbol","ember-utils/owner","ember-utils/assign","ember-utils/
|
2050
|
-
e.symbol=t.default,e.getOwner=n.getOwner,e.setOwner=n.setOwner,e.OWNER=n.OWNER,e.assign=r.default,e.
|
2052
|
+
e.GUID_KEY_PROPERTY=h}),s("ember-utils/index",["exports","ember-utils/symbol","ember-utils/owner","ember-utils/assign","ember-utils/dictionary","ember-utils/guid","ember-utils/intern","ember-utils/super","ember-utils/inspect","ember-utils/lookup-descriptor","ember-utils/invoke","ember-utils/make-array","ember-utils/apply-str","ember-utils/name","ember-utils/to-string","ember-utils/weak-map-utils","ember-utils/proxy-utils"],function(e,t,n,r,i,o,s,a,u,l,c,p,h,f,m,d,v){"use strict"
|
2053
|
+
e.symbol=t.default,e.getOwner=n.getOwner,e.setOwner=n.setOwner,e.OWNER=n.OWNER,e.assign=r.default,e.dictionary=i.default,e.uuid=o.uuid,e.GUID_KEY=o.GUID_KEY,e.GUID_DESC=o.GUID_DESC,e.GUID_KEY_PROPERTY=o.GUID_KEY_PROPERTY,e.generateGuid=o.generateGuid,e.guidFor=o.guidFor,e.intern=s.default,e.checkHasSuper=a.checkHasSuper,e.ROOT=a.ROOT,e.wrap=a.wrap,e.inspect=u.default,e.lookupDescriptor=l.default,e.canInvoke=c.canInvoke,e.tryInvoke=c.tryInvoke,e.makeArray=p.default,e.applyStr=h.default,e.NAME_KEY=f.default,e.toString=m.default,e.HAS_NATIVE_WEAKMAP=d.HAS_NATIVE_WEAKMAP,e.HAS_NATIVE_PROXY=v.HAS_NATIVE_PROXY}),s("ember-utils/inspect",["exports"],function(e){"use strict"
|
2051
2054
|
function t(e){if(null===e)return"null"
|
2052
2055
|
if(void 0===e)return"undefined"
|
2053
2056
|
if(Array.isArray(e))return"["+e+"]"
|
@@ -2142,8 +2145,7 @@ function n(e){var t=e.split("/"),n=t[t.length-1]
|
|
2142
2145
|
return t[t.length-1]="_"+n,t.join("/")}function r(e,t){if(null!=e){var r=o(t,n(e),e)
|
2143
2146
|
return r}}function i(e,r){if(!r)throw new t.Error("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")
|
2144
2147
|
return r.hasRegistration("template:"+n(e))||r.hasRegistration("template:"+e)}function o(e,n,r){if(r){if(!e)throw new t.Error("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")
|
2145
|
-
return e.lookup("template:"+n)||e.lookup("template:"+r)}}e.default=r,e.hasPartial=i})
|
2146
|
-
s("ember-views/system/utils",["exports","ember-utils"],function(e,t){"use strict"
|
2148
|
+
return e.lookup("template:"+n)||e.lookup("template:"+r)}}e.default=r,e.hasPartial=i}),s("ember-views/system/utils",["exports","ember-utils"],function(e,t){"use strict"
|
2147
2149
|
function n(e){var t=e.shiftKey||e.metaKey||e.altKey||e.ctrlKey,n=e.which>1
|
2148
2150
|
return!t&&!n}function r(e){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 http://emberjs.com/deprecations/v1.x/#toc_binding-style-attributes. Style affected: "'+e+'"'}function i(e){var t=e.lookup("-view-registry:main"),n=[]
|
2149
2151
|
return Object.keys(t).forEach(function(e){var r=t[e]
|
@@ -2161,7 +2163,8 @@ function n(e,n,r,o){var s=e.componentFor(r,n,o),a=e.layoutFor(r,n,o),u={layout:a
|
|
2161
2163
|
return a&&!s&&(u.component=n[t.FACTORY_FOR](t.privatize(i))),u}function r(e,t,r){var i=e.lookup("component-lookup:main"),o=r&&r.source
|
2162
2164
|
if(o){var s=n(i,e,t,r)
|
2163
2165
|
if(s.component||s.layout)return s}return n(i,e,t)}e.default=r
|
2164
|
-
var i=c.taggedTemplateLiteralLoose(["component:-default"],["component:-default"])})
|
2166
|
+
var i=c.taggedTemplateLiteralLoose(["component:-default"],["component:-default"])})
|
2167
|
+
s("ember-views/views/core_view",["exports","ember-runtime","ember-views/system/utils","ember-views/views/states"],function(e,t,n,r){"use strict"
|
2165
2168
|
var i=t.FrameworkObject.extend(t.Evented,t.ActionHandler,{isView:!0,_states:r.cloneStates(r.states),init:function(){if(this._super.apply(this,arguments),this._state="preRender",this._currentState=this._states.preRender,n.initViewElement(this),!this.renderer)throw new Error("Cannot instantiate a component without a renderer. Please ensure that you are creating "+this+" with a proper container/registry.")},parentView:null,instrumentDetails:function(e){return e.object=this.toString(),e.containerKey=this._debugContainerKey,e.view=this,e},trigger:function(){this._super.apply(this,arguments)
|
2166
2169
|
var e=arguments[0],t=this[e]
|
2167
2170
|
if(t){for(var n=new Array(arguments.length-1),r=1;r<arguments.length;r++)n[r-1]=arguments[r]
|
@@ -2198,7 +2201,7 @@ v.setDiff=u.setDiff,v.mapBy=u.mapBy,v.filter=u.filter,v.filterBy=u.filterBy,v.un
|
|
2198
2201
|
var g=o.default.Handlebars=o.default.Handlebars||{},y=o.default.HTMLBars=o.default.HTMLBars||{},b=g.Utils=g.Utils||{}
|
2199
2202
|
if(Object.defineProperty(g,"SafeString",{get:l._getSafeString}),y.template=g.template=l.template,b.escapeExpression=l.escapeExpression,u.String.htmlSafe=l.htmlSafe,u.String.isHTMLSafe=l.isHTMLSafe,y.makeBoundHelper=l.makeBoundHelper,Object.defineProperty(o.default,"TEMPLATES",{get:l.getTemplates,set:l.setTemplates,configurable:!1,enumerable:!1}),e.VERSION=c.default,o.default.VERSION=c.default,o.libraries.registerCoreLibrary("Ember",c.default),o.default.create=o.deprecateFunc("Ember.create is deprecated in favor of Object.create",{id:"ember-metal.ember-create",until:"3.0.0"},Object.create),o.default.keys=o.deprecateFunc("Ember.keys is deprecated in favor of Object.keys",{id:"ember-metal.ember.keys",until:"3.0.0"},Object.keys),o.default.$=p.jQuery,o.default.ViewTargetActionSupport=p.ViewTargetActionSupport,o.default.ViewUtils={isSimpleClick:p.isSimpleClick,getViewElement:p.getViewElement,getViewBounds:p.getViewBounds,getViewClientRects:p.getViewClientRects,getViewBoundingClientRect:p.getViewBoundingClientRect,getRootViews:p.getRootViews,getChildViews:p.getChildViews},o.default.TextSupport=p.TextSupport,o.default.ComponentLookup=p.ComponentLookup,o.default.EventDispatcher=p.EventDispatcher,o.default.Location=h.Location,o.default.AutoLocation=h.AutoLocation,o.default.HashLocation=h.HashLocation,o.default.HistoryLocation=h.HistoryLocation,o.default.NoneLocation=h.NoneLocation,o.default.controllerFor=h.controllerFor,o.default.generateControllerFactory=h.generateControllerFactory,o.default.generateController=h.generateController,o.default.RouterDSL=h.RouterDSL,o.default.Router=h.Router,o.default.Route=h.Route,o.default.Application=f.Application,o.default.ApplicationInstance=f.ApplicationInstance,o.default.Engine=f.Engine,o.default.EngineInstance=f.EngineInstance,o.default.DefaultResolver=o.default.Resolver=f.Resolver,u.runLoadHooks("Ember.Application",f.Application),o.default.DataAdapter=m.DataAdapter,o.default.ContainerDebugAdapter=m.ContainerDebugAdapter,t.has("ember-template-compiler")&&t.default("ember-template-compiler"),t.has("ember-testing")){var _=t.default("ember-testing")
|
2200
2203
|
o.default.Test=_.Test,o.default.Test.Adapter=_.Adapter,o.default.Test.QUnitAdapter=_.QUnitAdapter,o.default.setupForTesting=_.setupForTesting}u.runLoadHooks("Ember"),e.default=o.default,"object"==typeof module&&module.exports?module.exports=o.default:n.context.exports.Ember=n.context.exports.Em=o.default}),s("ember/version",["exports"],function(e){"use strict"
|
2201
|
-
e.default="2.12.0
|
2204
|
+
e.default="2.12.0"}),s("internal-test-helpers/apply-mixins",["exports","ember-utils"],function(e,t){"use strict"
|
2202
2205
|
function n(e){return Array.isArray(e.cases)&&"function"==typeof e.generate}function r(e){for(var r=arguments.length,i=Array(r>1?r-1:0),o=1;o<r;o++)i[o-1]=arguments[o]
|
2203
2206
|
return i.forEach(function(r){var i=void 0
|
2204
2207
|
n(r)?function(){var e=r
|
@@ -2301,15 +2304,15 @@ var r=function(e){function n(){e.call(this)
|
|
2301
2304
|
var n=this.owner
|
2302
2305
|
this.env=n.lookup("service:-glimmer-environment"),n.register("component-lookup:main",t.ComponentLookup),n.registerOptionsForType("helper",{instantiate:!1}),n.registerOptionsForType("component",{singleton:!1})}return c.inherits(n,e),n}(n.default)
|
2303
2306
|
e.default=r}),s("internal-test-helpers/test-groups",["exports","ember-environment","ember-metal"],function(e,t,n){"use strict"
|
2304
|
-
function r(e,r){function i(e,t){return n.get(e,t)}function o(e,t,r){return n.set(e,t,r)}function s(e,t){return e[t]}function a(e,t,n){return e[t]=n}QUnit.test(e+" using getFromEmberMetal()/Ember.set()",function(){r(i,o)}),QUnit.test(e+" using accessors",function(){t.ENV.USES_ACCESSORS?r(s,a):ok("SKIPPING ACCESSORS")})}function i(e,r){function i(e,t){return n.get(e,t)}function o(e,t,r){return n.getWithDefault(e,t,r)}function s(e,t,n){return e.getWithDefault(t,n)}function a(e,t,r){return n.set(e,t,r)}function u(e,t){return e[t]}function l(e,t,n){return e[t]=n}QUnit.test(e+" using obj.get()",function(){r(i,a)}),QUnit.test(e+" using obj.getWithDefault()",function(){r(s,a)}),QUnit.test(e+" using getFromEmberMetal()",function(){r(i,a)}),QUnit.test(e+" using Ember.getWithDefault()",function(){r(o,a)}),QUnit.test(e+" using accessors",function(){t.ENV.USES_ACCESSORS?r(u,l):ok("SKIPPING ACCESSORS")})}e.testBoth=r,e.testWithDefault=i})
|
2305
|
-
s("glimmer-node/index",["exports","glimmer-node/lib/node-dom-helper"],function(e,t){"use strict"
|
2307
|
+
function r(e,r){function i(e,t){return n.get(e,t)}function o(e,t,r){return n.set(e,t,r)}function s(e,t){return e[t]}function a(e,t,n){return e[t]=n}QUnit.test(e+" using getFromEmberMetal()/Ember.set()",function(){r(i,o)}),QUnit.test(e+" using accessors",function(){t.ENV.USES_ACCESSORS?r(s,a):ok("SKIPPING ACCESSORS")})}function i(e,r){function i(e,t){return n.get(e,t)}function o(e,t,r){return n.getWithDefault(e,t,r)}function s(e,t,n){return e.getWithDefault(t,n)}function a(e,t,r){return n.set(e,t,r)}function u(e,t){return e[t]}function l(e,t,n){return e[t]=n}QUnit.test(e+" using obj.get()",function(){r(i,a)}),QUnit.test(e+" using obj.getWithDefault()",function(){r(s,a)}),QUnit.test(e+" using getFromEmberMetal()",function(){r(i,a)}),QUnit.test(e+" using Ember.getWithDefault()",function(){r(o,a)}),QUnit.test(e+" using accessors",function(){t.ENV.USES_ACCESSORS?r(u,l):ok("SKIPPING ACCESSORS")})}e.testBoth=r,e.testWithDefault=i}),s("glimmer-node/index",["exports","glimmer-node/lib/node-dom-helper"],function(e,t){"use strict"
|
2306
2308
|
e.NodeDOMTreeConstruction=t.default})
|
2307
2309
|
s("glimmer-node/lib/node-dom-helper",["exports","glimmer-runtime"],function(e,t){"use strict"
|
2308
2310
|
var n=function(e){function n(t){e.call(this,t)}return c.inherits(n,e),n.prototype.setupUselessElement=function(){},n.prototype.insertHTMLBefore=function(e,n,r){var i=r?r.previousSibling:e.lastChild,o=this.document.createRawHTMLSection(n)
|
2309
2311
|
e.insertBefore(o,r)
|
2310
2312
|
var s=i?i.nextSibling:e.firstChild,a=r?r.previousSibling:e.lastChild
|
2311
2313
|
return new t.ConcreteBounds(e,s,a)},n.prototype.createElement=function(e){return this.document.createElement(e)},n.prototype.setAttribute=function(e,t,n){e.setAttribute(t,n)},n}(t.DOMTreeConstruction)
|
2312
|
-
e.default=n})
|
2314
|
+
e.default=n})
|
2315
|
+
s("glimmer-reference/index",["exports","glimmer-reference/lib/reference","glimmer-reference/lib/const","glimmer-reference/lib/validators","glimmer-reference/lib/utils","glimmer-reference/lib/iterable"],function(e,t,n,r,i,o){"use strict"
|
2313
2316
|
e.BasicReference=t.Reference,e.BasicPathReference=t.PathReference,e.ConstReference=n.ConstReference,e.isConst=n.isConst,c.defaults(e,c.interopExportWildcard(r,c.defaults)),e.Reference=r.VersionedReference,e.PathReference=r.VersionedPathReference,e.referenceFromParts=i.referenceFromParts,e.IterationItem=o.IterationItem,e.Iterator=o.Iterator,e.Iterable=o.Iterable,e.OpaqueIterator=o.OpaqueIterator,e.OpaqueIterable=o.OpaqueIterable,e.AbstractIterator=o.AbstractIterator,e.AbstractIterable=o.AbstractIterable,e.IterationArtifacts=o.IterationArtifacts,e.ReferenceIterator=o.ReferenceIterator,e.IteratorSynchronizer=o.IteratorSynchronizer,e.IteratorSynchronizerDelegate=o.IteratorSynchronizerDelegate}),s("glimmer-reference/lib/const",["exports","glimmer-reference/lib/validators"],function(e,t){"use strict"
|
2314
2317
|
function n(e){return e.tag===t.CONSTANT_TAG}e.isConst=n
|
2315
2318
|
var r=function(){function e(e){this.inner=e,this.tag=t.CONSTANT_TAG}return e.prototype.value=function(){return this.inner},e}()
|
@@ -2756,8 +2759,7 @@ var s=function(e){function t(t){e.call(this),this.definition=t,this.type="put-pa
|
|
2756
2759
|
e.PutPartialDefinitionOpcode=s
|
2757
2760
|
var a=function(e){function n(n){e.call(this),this.symbolTable=n,this.type="evaluate-partial",this.cache=t.dict()}return c.inherits(n,e),n.prototype.evaluate=function(e){var t=e.frame.getImmediate(),n=t.template,r=this.cache[n.id]
|
2758
2761
|
r||(r=n.asPartial(this.symbolTable)),e.invokePartial(r)},n.prototype.toJSON=function(){return{guid:this._guid,type:this.type,args:["$OPERAND"]}},n}(r.Opcode)
|
2759
|
-
e.EvaluatePartialOpcode=a})
|
2760
|
-
s("glimmer-runtime/lib/compiled/opcodes/vm",["exports","glimmer-runtime/lib/opcodes","glimmer-runtime/lib/references","glimmer-reference","glimmer-util"],function(e,t,n,r,i){"use strict"
|
2762
|
+
e.EvaluatePartialOpcode=a}),s("glimmer-runtime/lib/compiled/opcodes/vm",["exports","glimmer-runtime/lib/opcodes","glimmer-runtime/lib/references","glimmer-reference","glimmer-util"],function(e,t,n,r,i){"use strict"
|
2761
2763
|
var o=function(e){function t(){e.apply(this,arguments),this.type="push-child-scope"}return c.inherits(t,e),t.prototype.evaluate=function(e){e.pushChildScope()},t}(t.Opcode)
|
2762
2764
|
e.PushChildScopeOpcode=o
|
2763
2765
|
var s=function(e){function t(){e.apply(this,arguments),this.type="pop-scope"}return c.inherits(t,e),t.prototype.evaluate=function(e){e.popScope()},t}(t.Opcode)
|
@@ -2857,7 +2859,8 @@ this.dsl.unit(function(n){n.putComponentDefinition(e),n.openComponent(t,i),n.clo
|
|
2857
2859
|
this.dsl.unit(function(n){n.putArgs(e),n.putValue(o.default(t)),n.test("simple"),n.enter("BEGIN","END"),n.label("BEGIN"),n.jumpUnless("END"),n.putDynamicComponentDefinition(),n.openComponent(r,s),n.closeComponent(),n.label("END"),n.exit()})},e}(),w=function(e){function t(t,n){e.call(this),this.env=t,this.symbolTable=n
|
2858
2860
|
var r=new s.default(this,n,t)
|
2859
2861
|
this.component=new _(r)}return c.inherits(t,e),t.prototype.getLocalSymbol=function(e){return this.symbolTable.getLocal(e)},t.prototype.hasLocalSymbol=function(e){return"number"==typeof this.symbolTable.getLocal(e)},t.prototype.getNamedSymbol=function(e){return this.symbolTable.getNamed(e)},t.prototype.hasNamedSymbol=function(e){return"number"==typeof this.symbolTable.getNamed(e)},t.prototype.getBlockSymbol=function(e){return this.symbolTable.getYield(e)},t.prototype.hasBlockSymbol=function(e){return"number"==typeof this.symbolTable.getYield(e)},t.prototype.getPartialArgsSymbol=function(){return this.symbolTable.getPartialArgs()},t.prototype.hasPartialArgsSymbol=function(){return"number"==typeof this.symbolTable.getPartialArgs()},t.prototype.toOpSeq=function(){return this},t}(t.LinkedList)
|
2860
|
-
e.CompileIntoList=w})
|
2862
|
+
e.CompileIntoList=w})
|
2863
|
+
s("glimmer-runtime/lib/component/interfaces",["exports"],function(e){"use strict"
|
2861
2864
|
function t(e){return"object"==typeof e&&e&&e[n]}e.isComponentDefinition=t
|
2862
2865
|
var n="COMPONENT DEFINITION [id=e59c754e-61eb-4392-8c4a-2c0ac72bfcd4]",r=function(e,t,n){this["COMPONENT DEFINITION [id=e59c754e-61eb-4392-8c4a-2c0ac72bfcd4]"]=!0,this.name=e,this.manager=t,this.ComponentClass=n}
|
2863
2866
|
e.ComponentDefinition=r}),s("glimmer-runtime/lib/dom/attribute-managers",["exports","glimmer-runtime/lib/dom/sanitized-values","glimmer-runtime/lib/dom/props","glimmer-runtime/lib/dom/helper","glimmer-runtime/lib/compiled/opcodes/content"],function(e,t,n,r,i){"use strict"
|
@@ -3226,8 +3229,7 @@ e.EMPTY_ARRAY=r
|
|
3226
3229
|
var i=n?Object.freeze(t.dict()):t.dict()
|
3227
3230
|
e.EMPTY_DICT=i
|
3228
3231
|
var o=function(){function e(e,t,n){this.list=e,this.start=t,this.end=n}return e.prototype.at=function(e){return e>=this.list.length?null:this.list[e]},e.prototype.min=function(){return this.start},e.prototype.max=function(){return this.end},e}()
|
3229
|
-
e.ListRange=o})
|
3230
|
-
s("glimmer-runtime/lib/vm",["exports","glimmer-runtime/lib/vm/append","glimmer-runtime/lib/vm/update","glimmer-runtime/lib/vm/render-result"],function(e,t,n,r){"use strict"
|
3232
|
+
e.ListRange=o}),s("glimmer-runtime/lib/vm",["exports","glimmer-runtime/lib/vm/append","glimmer-runtime/lib/vm/update","glimmer-runtime/lib/vm/render-result"],function(e,t,n,r){"use strict"
|
3231
3233
|
e.VM=t.default,e.PublicVM=t.PublicVM,e.UpdatingVM=n.default,e.RenderResult=r.default})
|
3232
3234
|
s("glimmer-runtime/lib/vm/append",["exports","glimmer-runtime/lib/environment","glimmer-util","glimmer-reference","glimmer-runtime/lib/compiled/opcodes/vm","glimmer-runtime/lib/vm/update","glimmer-runtime/lib/vm/render-result","glimmer-runtime/lib/vm/frame"],function(e,t,n,r,i,o,s,a){"use strict"
|
3233
3235
|
var u=function(){function e(e,t,r,i){this.env=e,this.elementStack=i,this.dynamicScopeStack=new n.Stack,this.scopeStack=new n.Stack,this.updatingOpcodeStack=new n.Stack,this.cacheGroups=new n.Stack,this.listBlockStack=new n.Stack,this.frame=new a.FrameStack,this.env=e,this.elementStack=i,this.scopeStack.push(t),this.dynamicScopeStack.push(r)}return e.initial=function(n,r,i,o,s){var a=t.Scope.root(r,s)
|
@@ -3255,7 +3257,8 @@ n.assert(t,"Cannot bind named args"),r.bindPartialArgs(e,t)},e.prototype.bindCal
|
|
3255
3257
|
n.assert(e,"Cannot bind caller scope"),t.bindCallerScope(e)},e.prototype.bindDynamicScope=function(e){var t=this.frame.getArgs(),r=this.dynamicScope()
|
3256
3258
|
n.assert(t,"Cannot bind dynamic scope")
|
3257
3259
|
for(var i=0;i<e.length;i++)r.set(e[i],t.named.get(e[i]))},e}()
|
3258
|
-
e.default=u})
|
3260
|
+
e.default=u})
|
3261
|
+
s("glimmer-runtime/lib/vm/frame",["exports"],function(e){"use strict"
|
3259
3262
|
var t=function(e,t,n){this.operand=e,this.args=t,this.condition=n}
|
3260
3263
|
e.CapturedFrame=t
|
3261
3264
|
var n=function(){function e(e){var t=arguments.length<=1||void 0===arguments[1]?null:arguments[1],n=arguments.length<=2||void 0===arguments[2]?null:arguments[2],r=arguments.length<=3||void 0===arguments[3]?null:arguments[3]
|