ember-source 2.15.0 → 2.15.1
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 +7 -10
- data/dist/ember-template-compiler.js +60 -58
- data/dist/ember-testing.js +1 -1
- data/dist/ember-tests.js +118 -41
- data/dist/ember-tests.prod.js +78 -41
- data/dist/ember.debug.js +50 -46
- data/dist/ember.min.js +176 -174
- data/dist/ember.prod.js +69 -59
- metadata +3 -3
data/dist/ember-tests.prod.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
7
7
|
* @license Licensed under MIT license
|
8
8
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
9
|
-
* @version 2.15.
|
9
|
+
* @version 2.15.1
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -7767,7 +7767,7 @@ enifed('ember-glimmer/tests/integration/application/engine-test', ['ember-babel'
|
|
7767
7767
|
return this.visit('/').then(function () {
|
7768
7768
|
_this12.assertText('Application');
|
7769
7769
|
return _this12.transitionTo('blog.post');
|
7770
|
-
}).
|
7770
|
+
}).then(function () {
|
7771
7771
|
_this12.assertText('ApplicationError! Oh, noes!');
|
7772
7772
|
});
|
7773
7773
|
};
|
@@ -7790,7 +7790,7 @@ enifed('ember-glimmer/tests/integration/application/engine-test', ['ember-babel'
|
|
7790
7790
|
return this.visit('/').then(function () {
|
7791
7791
|
_this13.assertText('Application');
|
7792
7792
|
return _this13.transitionTo('blog.post');
|
7793
|
-
}).
|
7793
|
+
}).then(function () {
|
7794
7794
|
_this13.assertText('ApplicationEngineError! Oh, noes!');
|
7795
7795
|
});
|
7796
7796
|
};
|
@@ -7813,7 +7813,7 @@ enifed('ember-glimmer/tests/integration/application/engine-test', ['ember-babel'
|
|
7813
7813
|
return this.visit('/').then(function () {
|
7814
7814
|
_this14.assertText('Application');
|
7815
7815
|
return _this14.transitionTo('blog.post');
|
7816
|
-
}).
|
7816
|
+
}).then(function () {
|
7817
7817
|
_this14.assertText('ApplicationEngineError! Oh, noes!');
|
7818
7818
|
});
|
7819
7819
|
};
|
@@ -7836,7 +7836,7 @@ enifed('ember-glimmer/tests/integration/application/engine-test', ['ember-babel'
|
|
7836
7836
|
return this.visit('/').then(function () {
|
7837
7837
|
_this15.assertText('Application');
|
7838
7838
|
return _this15.transitionTo('blog.post.comments');
|
7839
|
-
}).
|
7839
|
+
}).then(function () {
|
7840
7840
|
_this15.assertText('ApplicationEngineError! Oh, noes!');
|
7841
7841
|
});
|
7842
7842
|
};
|
@@ -42369,7 +42369,7 @@ enifed('ember-metal/tests/run_loop/debounce_test', ['ember-metal'], function (_e
|
|
42369
42369
|
ok(wasCalled, 'Ember.run.debounce used');
|
42370
42370
|
});
|
42371
42371
|
});
|
42372
|
-
enifed('ember-metal/tests/run_loop/later_test', ['ember-metal'], function (_emberMetal) {
|
42372
|
+
enifed('ember-metal/tests/run_loop/later_test', ['ember-utils', 'ember-metal'], function (_emberUtils, _emberMetal) {
|
42373
42373
|
'use strict';
|
42374
42374
|
|
42375
42375
|
var originalSetTimeout = window.setTimeout;
|
@@ -42576,7 +42576,7 @@ enifed('ember-metal/tests/run_loop/later_test', ['ember-metal'], function (_embe
|
|
42576
42576
|
// happens when an expired timer callback takes a while to run,
|
42577
42577
|
// which is what we simulate here.
|
42578
42578
|
var newSetTimeoutUsed = void 0;
|
42579
|
-
_emberMetal.run.backburner._platform = {
|
42579
|
+
_emberMetal.run.backburner._platform = (0, _emberUtils.assign)({}, originalPlatform, {
|
42580
42580
|
setTimeout: function () {
|
42581
42581
|
var wait = arguments[arguments.length - 1];
|
42582
42582
|
newSetTimeoutUsed = true;
|
@@ -42584,7 +42584,7 @@ enifed('ember-metal/tests/run_loop/later_test', ['ember-metal'], function (_embe
|
|
42584
42584
|
|
42585
42585
|
return originalPlatform.setTimeout.apply(originalPlatform, arguments);
|
42586
42586
|
}
|
42587
|
-
};
|
42587
|
+
});
|
42588
42588
|
|
42589
42589
|
var count = 0;
|
42590
42590
|
(0, _emberMetal.run)(function () {
|
@@ -63662,6 +63662,65 @@ enifed('ember/tests/controller_test', ['ember-babel', 'ember-runtime', 'internal
|
|
63662
63662
|
return _class;
|
63663
63663
|
}(_internalTestHelpers.ApplicationTestCase));
|
63664
63664
|
});
|
63665
|
+
enifed('ember/tests/error_handler_test', ['ember', 'ember-metal'], function (_ember, _emberMetal) {
|
63666
|
+
'use strict';
|
63667
|
+
|
63668
|
+
var ONERROR = _ember.default.onerror;
|
63669
|
+
var ADAPTER = _ember.default.Test && _ember.default.Test.adapter;
|
63670
|
+
var TESTING = _ember.default.testing;
|
63671
|
+
|
63672
|
+
QUnit.module('error_handler', {
|
63673
|
+
teardown: function () {
|
63674
|
+
_ember.default.onerror = ONERROR;
|
63675
|
+
_ember.default.testing = TESTING;
|
63676
|
+
if (_ember.default.Test) {
|
63677
|
+
_ember.default.Test.adapter = ADAPTER;
|
63678
|
+
}
|
63679
|
+
}
|
63680
|
+
});
|
63681
|
+
|
63682
|
+
function runThatThrows(message) {
|
63683
|
+
return (0, _emberMetal.run)(function () {
|
63684
|
+
throw new Error(message);
|
63685
|
+
});
|
63686
|
+
}
|
63687
|
+
|
63688
|
+
test('by default there is no onerror', function (assert) {
|
63689
|
+
_ember.default.onerror = undefined;
|
63690
|
+
assert.throws(runThatThrows, Error);
|
63691
|
+
assert.equal(_ember.default.onerror, undefined);
|
63692
|
+
});
|
63693
|
+
|
63694
|
+
test('when Ember.onerror is registered', function (assert) {
|
63695
|
+
assert.expect(2);
|
63696
|
+
_ember.default.onerror = function (error) {
|
63697
|
+
assert.ok(true, 'onerror called');
|
63698
|
+
throw error;
|
63699
|
+
};
|
63700
|
+
assert.throws(runThatThrows, Error);
|
63701
|
+
// Ember.onerror = ONERROR;
|
63702
|
+
});
|
63703
|
+
|
63704
|
+
QUnit.test('Ember.run does not swallow exceptions by default (Ember.testing = true)', function () {
|
63705
|
+
_ember.default.testing = true;
|
63706
|
+
var error = new Error('the error');
|
63707
|
+
throws(function () {
|
63708
|
+
_ember.default.run(function () {
|
63709
|
+
throw error;
|
63710
|
+
});
|
63711
|
+
}, error);
|
63712
|
+
});
|
63713
|
+
|
63714
|
+
QUnit.test('Ember.run does not swallow exceptions by default (Ember.testing = false)', function () {
|
63715
|
+
_ember.default.testing = false;
|
63716
|
+
var error = new Error('the error');
|
63717
|
+
throws(function () {
|
63718
|
+
_ember.default.run(function () {
|
63719
|
+
throw error;
|
63720
|
+
});
|
63721
|
+
}, error);
|
63722
|
+
});
|
63723
|
+
});
|
63665
63724
|
enifed('ember/tests/global-api-test', ['ember-metal', 'ember-runtime'], function (_emberMetal, _emberRuntime) {
|
63666
63725
|
'use strict';
|
63667
63726
|
|
@@ -69072,9 +69131,7 @@ enifed('ember/tests/routing/basic_test', ['ember-utils', 'ember-console', 'ember
|
|
69072
69131
|
}
|
69073
69132
|
});
|
69074
69133
|
|
69075
|
-
|
69076
|
-
return bootApplication();
|
69077
|
-
}, /More context objects were passed/);
|
69134
|
+
bootApplication();
|
69078
69135
|
|
69079
69136
|
equal((0, _emberViews.jQuery)('#error').length, 1, 'Error template was rendered.');
|
69080
69137
|
});
|
@@ -74130,7 +74187,7 @@ enifed('ember/tests/routing/substates_test', ['ember-runtime', 'ember-routing',
|
|
74130
74187
|
});
|
74131
74188
|
|
74132
74189
|
QUnit.test('Default error event moves into nested route', function () {
|
74133
|
-
expect(
|
74190
|
+
expect(5);
|
74134
74191
|
|
74135
74192
|
templates['grandma'] = 'GRANDMA {{outlet}}';
|
74136
74193
|
templates['grandma/error'] = 'ERROR: {{model.msg}}';
|
@@ -74162,11 +74219,7 @@ enifed('ember/tests/routing/substates_test', ['ember-runtime', 'ember-routing',
|
|
74162
74219
|
}
|
74163
74220
|
});
|
74164
74221
|
|
74165
|
-
|
74166
|
-
bootApplication('/grandma/mom/sally');
|
74167
|
-
}, function (err) {
|
74168
|
-
return err.msg === 'did it broke?';
|
74169
|
-
});
|
74222
|
+
bootApplication('/grandma/mom/sally');
|
74170
74223
|
|
74171
74224
|
step(3, 'App finished booting');
|
74172
74225
|
|
@@ -74548,7 +74601,7 @@ enifed('ember/tests/routing/substates_test', ['ember-runtime', 'ember-routing',
|
|
74548
74601
|
});
|
74549
74602
|
|
74550
74603
|
QUnit.test('Default error event moves into nested route, prioritizing more specifically named error route', function () {
|
74551
|
-
expect(
|
74604
|
+
expect(5);
|
74552
74605
|
|
74553
74606
|
templates['grandma'] = 'GRANDMA {{outlet}}';
|
74554
74607
|
templates['grandma/error'] = 'ERROR: {{model.msg}}';
|
@@ -74581,11 +74634,7 @@ enifed('ember/tests/routing/substates_test', ['ember-runtime', 'ember-routing',
|
|
74581
74634
|
}
|
74582
74635
|
});
|
74583
74636
|
|
74584
|
-
|
74585
|
-
bootApplication('/grandma/mom/sally');
|
74586
|
-
}, function (err) {
|
74587
|
-
return err.msg === 'did it broke?';
|
74588
|
-
});
|
74637
|
+
bootApplication('/grandma/mom/sally');
|
74589
74638
|
|
74590
74639
|
step(3, 'App finished booting');
|
74591
74640
|
|
@@ -74686,7 +74735,7 @@ enifed('ember/tests/routing/substates_test', ['ember-runtime', 'ember-routing',
|
|
74686
74735
|
});
|
74687
74736
|
|
74688
74737
|
QUnit.test('Prioritized error substate entry works with preserved-namespace nested routes', function () {
|
74689
|
-
expect(
|
74738
|
+
expect(1);
|
74690
74739
|
|
74691
74740
|
templates['foo/bar_error'] = 'FOOBAR ERROR: {{model.msg}}';
|
74692
74741
|
templates['foo/bar'] = 'YAY';
|
@@ -74707,11 +74756,7 @@ enifed('ember/tests/routing/substates_test', ['ember-runtime', 'ember-routing',
|
|
74707
74756
|
}
|
74708
74757
|
});
|
74709
74758
|
|
74710
|
-
|
74711
|
-
bootApplication('/foo/bar');
|
74712
|
-
}, function (err) {
|
74713
|
-
return err.msg === 'did it broke?';
|
74714
|
-
});
|
74759
|
+
bootApplication('/foo/bar');
|
74715
74760
|
|
74716
74761
|
equal((0, _emberViews.jQuery)('#app', '#qunit-fixture').text(), 'FOOBAR ERROR: did it broke?', 'foo.bar_error was entered (as opposed to something like foo/foo/bar_error)');
|
74717
74762
|
});
|
@@ -74753,7 +74798,7 @@ enifed('ember/tests/routing/substates_test', ['ember-runtime', 'ember-routing',
|
|
74753
74798
|
});
|
74754
74799
|
|
74755
74800
|
QUnit.test('Prioritized error substate entry works with auto-generated index routes', function () {
|
74756
|
-
expect(
|
74801
|
+
expect(1);
|
74757
74802
|
|
74758
74803
|
templates['foo/index_error'] = 'FOO ERROR: {{model.msg}}';
|
74759
74804
|
templates['foo/index'] = 'YAY';
|
@@ -74780,17 +74825,13 @@ enifed('ember/tests/routing/substates_test', ['ember-runtime', 'ember-routing',
|
|
74780
74825
|
}
|
74781
74826
|
});
|
74782
74827
|
|
74783
|
-
|
74784
|
-
return bootApplication('/foo');
|
74785
|
-
}, function (err) {
|
74786
|
-
return err.msg === 'did it broke?';
|
74787
|
-
});
|
74828
|
+
bootApplication('/foo');
|
74788
74829
|
|
74789
74830
|
equal((0, _emberViews.jQuery)('#app', '#qunit-fixture').text(), 'FOO ERROR: did it broke?', 'foo.index_error was entered');
|
74790
74831
|
});
|
74791
74832
|
|
74792
74833
|
QUnit.test('Rejected promises returned from ApplicationRoute transition into top-level application_error', function () {
|
74793
|
-
expect(
|
74834
|
+
expect(2);
|
74794
74835
|
|
74795
74836
|
templates['application_error'] = '<p id="toplevel-error">TOPLEVEL ERROR: {{model.msg}}</p>';
|
74796
74837
|
|
@@ -74805,11 +74846,7 @@ enifed('ember/tests/routing/substates_test', ['ember-runtime', 'ember-routing',
|
|
74805
74846
|
}
|
74806
74847
|
});
|
74807
74848
|
|
74808
|
-
|
74809
|
-
return bootApplication();
|
74810
|
-
}, function (err) {
|
74811
|
-
return err.msg === 'BAD NEWS BEARS';
|
74812
|
-
});
|
74849
|
+
bootApplication();
|
74813
74850
|
|
74814
74851
|
equal((0, _emberViews.jQuery)('#toplevel-error', '#qunit-fixture').text(), 'TOPLEVEL ERROR: BAD NEWS BEARS');
|
74815
74852
|
|
data/dist/ember.debug.js
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
* Portions Copyright 2008-2011 Apple Inc. All rights reserved.
|
7
7
|
* @license Licensed under MIT license
|
8
8
|
* See https://raw.github.com/emberjs/ember.js/master/LICENSE
|
9
|
-
* @version 2.15.
|
9
|
+
* @version 2.15.1
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, Ember;
|
@@ -9157,7 +9157,6 @@ enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel)
|
|
9157
9157
|
this.name = name;
|
9158
9158
|
this.options = options;
|
9159
9159
|
this.globalOptions = globalOptions;
|
9160
|
-
this.globalOptions.onError = getOnError(globalOptions);
|
9161
9160
|
}
|
9162
9161
|
|
9163
9162
|
Queue.prototype.push = function push(target, method, args, stack) {
|
@@ -9192,8 +9191,6 @@ enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel)
|
|
9192
9191
|
var method = void 0;
|
9193
9192
|
var args = void 0;
|
9194
9193
|
var errorRecordedForStack = void 0;
|
9195
|
-
var onError = this.globalOptions.onError;
|
9196
|
-
var invoke = onError ? this.invokeWithOnError : this.invoke;
|
9197
9194
|
this.targetQueues = Object.create(null);
|
9198
9195
|
var queueItems = void 0;
|
9199
9196
|
if (this._queueBeingFlushed.length > 0) {
|
@@ -9205,33 +9202,38 @@ enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel)
|
|
9205
9202
|
if (before) {
|
9206
9203
|
before();
|
9207
9204
|
}
|
9208
|
-
|
9209
|
-
|
9210
|
-
|
9211
|
-
|
9212
|
-
|
9213
|
-
|
9214
|
-
|
9215
|
-
|
9216
|
-
|
9217
|
-
|
9218
|
-
//
|
9219
|
-
|
9220
|
-
|
9221
|
-
|
9222
|
-
|
9223
|
-
|
9224
|
-
|
9225
|
-
|
9226
|
-
|
9227
|
-
|
9228
|
-
|
9229
|
-
|
9230
|
-
|
9231
|
-
|
9232
|
-
|
9233
|
-
|
9234
|
-
|
9205
|
+
var invoke = void 0;
|
9206
|
+
if (queueItems.length > 0) {
|
9207
|
+
var onError = getOnError(this.globalOptions);
|
9208
|
+
invoke = onError ? this.invokeWithOnError : this.invoke;
|
9209
|
+
for (var i = this.index; i < queueItems.length; i += 4) {
|
9210
|
+
this.index += 4;
|
9211
|
+
target = queueItems[i];
|
9212
|
+
method = queueItems[i + 1];
|
9213
|
+
args = queueItems[i + 2];
|
9214
|
+
errorRecordedForStack = queueItems[i + 3]; // Debugging assistance
|
9215
|
+
// method could have been nullified / canceled during flush
|
9216
|
+
if (method !== null) {
|
9217
|
+
//
|
9218
|
+
// ** Attention intrepid developer **
|
9219
|
+
//
|
9220
|
+
// To find out the stack of this task when it was scheduled onto
|
9221
|
+
// the run loop, add the following to your app.js:
|
9222
|
+
//
|
9223
|
+
// Ember.run.backburner.DEBUG = true; // NOTE: This slows your app, don't leave it on in production.
|
9224
|
+
//
|
9225
|
+
// Once that is in place, when you are at a breakpoint and navigate
|
9226
|
+
// here in the stack explorer, you can look at `errorRecordedForStack.stack`,
|
9227
|
+
// which will be the captured stack when this job was scheduled.
|
9228
|
+
//
|
9229
|
+
// One possible long-term solution is the following Chrome issue:
|
9230
|
+
// https://bugs.chromium.org/p/chromium/issues/detail?id=332624
|
9231
|
+
//
|
9232
|
+
invoke(target, method, args, onError, errorRecordedForStack);
|
9233
|
+
}
|
9234
|
+
if (this.index !== this._queueBeingFlushed.length && this.globalOptions.mustYield && this.globalOptions.mustYield()) {
|
9235
|
+
return 1 /* Pause */;
|
9236
|
+
}
|
9235
9237
|
}
|
9236
9238
|
}
|
9237
9239
|
if (after) {
|
@@ -9432,7 +9434,6 @@ enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel)
|
|
9432
9434
|
|
9433
9435
|
// accepts a function that when invoked will return an iterator
|
9434
9436
|
// iterator will drain until completion
|
9435
|
-
// accepts a function that when invoked will return an iterator
|
9436
9437
|
var iteratorDrain = function (fn) {
|
9437
9438
|
var iterator = fn();
|
9438
9439
|
var result = iterator.next();
|
@@ -9442,7 +9443,6 @@ enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel)
|
|
9442
9443
|
}
|
9443
9444
|
};
|
9444
9445
|
|
9445
|
-
var now = Date.now;
|
9446
9446
|
var noop = function () {};
|
9447
9447
|
|
9448
9448
|
var Backburner = function () {
|
@@ -9483,6 +9483,9 @@ enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel)
|
|
9483
9483
|
return platform.setTimeout(fn, 0);
|
9484
9484
|
};
|
9485
9485
|
platform.clearNext = _platform.clearNext || platform.clearTimeout;
|
9486
|
+
platform.now = _platform.now || function () {
|
9487
|
+
return Date.now();
|
9488
|
+
};
|
9486
9489
|
this._platform = platform;
|
9487
9490
|
this._boundRunExpiredTimers = function () {
|
9488
9491
|
_this._runExpiredTimers();
|
@@ -9768,7 +9771,7 @@ enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel)
|
|
9768
9771
|
}
|
9769
9772
|
}
|
9770
9773
|
var onError = getOnError(this.options);
|
9771
|
-
var executeAt = now() + wait;
|
9774
|
+
var executeAt = this._platform.now() + wait;
|
9772
9775
|
var fn = void 0;
|
9773
9776
|
if (onError) {
|
9774
9777
|
fn = function () {
|
@@ -9977,7 +9980,7 @@ enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel)
|
|
9977
9980
|
var l = timers.length;
|
9978
9981
|
var i = 0;
|
9979
9982
|
var defaultQueue = this.options.defaultQueue;
|
9980
|
-
var n = now();
|
9983
|
+
var n = this._platform.now();
|
9981
9984
|
for (; i < l; i += 2) {
|
9982
9985
|
var executeAt = timers[i];
|
9983
9986
|
if (executeAt <= n) {
|
@@ -10009,7 +10012,7 @@ enifed('backburner', ['exports', 'ember-babel'], function (exports, _emberBabel)
|
|
10009
10012
|
return;
|
10010
10013
|
}
|
10011
10014
|
var minExpiresAt = this._timers[0];
|
10012
|
-
var n = now();
|
10015
|
+
var n = this._platform.now();
|
10013
10016
|
var wait = Math.max(0, minExpiresAt - n);
|
10014
10017
|
this._timerTimeoutId = this._platform.setTimeout(this._boundRunExpiredTimers, wait);
|
10015
10018
|
};
|
@@ -26635,6 +26638,12 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26635
26638
|
};
|
26636
26639
|
|
26637
26640
|
var onerror = void 0;
|
26641
|
+
var onErrorTarget = {
|
26642
|
+
get onerror() {
|
26643
|
+
return dispatchOverride || onerror;
|
26644
|
+
}
|
26645
|
+
};
|
26646
|
+
|
26638
26647
|
// Ember.onerror getter
|
26639
26648
|
function getOnerror() {
|
26640
26649
|
return onerror;
|
@@ -26954,15 +26963,6 @@ enifed('ember-metal', ['exports', 'ember-environment', 'ember-utils', 'ember-deb
|
|
26954
26963
|
run$1.currentRunLoop = next;
|
26955
26964
|
}
|
26956
26965
|
|
26957
|
-
var onErrorTarget = {
|
26958
|
-
get onerror() {
|
26959
|
-
return dispatchError;
|
26960
|
-
},
|
26961
|
-
set onerror(handler) {
|
26962
|
-
return setOnerror(handler);
|
26963
|
-
}
|
26964
|
-
};
|
26965
|
-
|
26966
26966
|
var backburner = new Backburner(['sync', 'actions', 'destroy'], {
|
26967
26967
|
GUID_KEY: emberUtils.GUID_KEY,
|
26968
26968
|
sync: {
|
@@ -33866,6 +33866,8 @@ enifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console'
|
|
33866
33866
|
if (originRoute !== route) {
|
33867
33867
|
var errorRouteName = findRouteStateName(route, 'error');
|
33868
33868
|
if (errorRouteName) {
|
33869
|
+
var _errorId = (0, _emberUtils.guidFor)(error);
|
33870
|
+
router._markErrorAsHandled(_errorId);
|
33869
33871
|
router.intermediateTransitionTo(errorRouteName, error);
|
33870
33872
|
return false;
|
33871
33873
|
}
|
@@ -33874,6 +33876,8 @@ enifed('ember-routing/system/router', ['exports', 'ember-utils', 'ember-console'
|
|
33874
33876
|
// Check for an 'error' substate route
|
33875
33877
|
var errorSubstateName = findRouteSubstateName(route, 'error');
|
33876
33878
|
if (errorSubstateName) {
|
33879
|
+
var errorId = (0, _emberUtils.guidFor)(error);
|
33880
|
+
router._markErrorAsHandled(errorId);
|
33877
33881
|
router.intermediateTransitionTo(errorSubstateName, error);
|
33878
33882
|
return false;
|
33879
33883
|
}
|
@@ -48210,7 +48214,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'node-module',
|
|
48210
48214
|
enifed("ember/version", ["exports"], function (exports) {
|
48211
48215
|
"use strict";
|
48212
48216
|
|
48213
|
-
exports.default = "2.15.
|
48217
|
+
exports.default = "2.15.1";
|
48214
48218
|
});
|
48215
48219
|
enifed("handlebars", ["exports"], function (exports) {
|
48216
48220
|
"use strict";
|
data/dist/ember.min.js
CHANGED
@@ -758,12 +758,14 @@ break}return o}function c(e,t){var n,r=-1
|
|
758
758
|
for(n=2;n<t.length;n+=3)if(t[n]===e){r=n-2
|
759
759
|
break}return r}function l(e,t){for(var n=0,r=t.length-2,i=void 0,o=void 0;n<r;)o=(r-n)/2,i=n+o-o%2,e>=t[i]?n=i+2:r=i
|
760
760
|
return e>=t[n]?n+2:n}var p=/\d+/,h=function(){function e(e){var t=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
|
761
|
-
this._queue=[],this._queueBeingFlushed=[],this.targetQueues=Object.create(null),this.index=0,this.name=e,this.options=t,this.globalOptions=n
|
762
|
-
return i?this.pushUniqueWithGuid(i,e,t,n,r):this.pushUniqueWithoutGuid(e,t,n,r),{queue:this,target:e,method:t}},e.prototype.flush=function(e){var t,n=this.options,r
|
761
|
+
this._queue=[],this._queueBeingFlushed=[],this.targetQueues=Object.create(null),this.index=0,this.name=e,this.options=t,this.globalOptions=n}return e.prototype.push=function(e,t,n,r){return this._queue.push(e,t,n,r),{queue:this,target:e,method:t}},e.prototype.pushUnique=function(e,t,n,r){var i=this.guidForTarget(e)
|
762
|
+
return i?this.pushUniqueWithGuid(i,e,t,n,r):this.pushUniqueWithoutGuid(e,t,n,r),{queue:this,target:e,method:t}},e.prototype.flush=function(e){var t,n,r=this.options,i=r.before,o=r.after,s=void 0,u=void 0,c=void 0,l=void 0
|
763
763
|
this.targetQueues=Object.create(null)
|
764
764
|
var p=void 0
|
765
|
-
|
766
|
-
|
765
|
+
this._queueBeingFlushed.length>0?p=this._queueBeingFlushed:(p=this._queueBeingFlushed=this._queue,this._queue=[]),i&&i()
|
766
|
+
var h=void 0
|
767
|
+
if(p.length>0)for(t=a(this.globalOptions),h=t?this.invokeWithOnError:this.invoke,n=this.index;n<p.length;n+=4)if(this.index+=4,s=p[n],u=p[n+1],c=p[n+2],l=p[n+3],null!==u&&h(s,u,c,t,l),this.index!==this._queueBeingFlushed.length&&this.globalOptions.mustYield&&this.globalOptions.mustYield())return 1
|
768
|
+
o&&o(),this._queueBeingFlushed.length=0,this.index=0,e!==!1&&this._queue.length>0&&this.flush(!0)},e.prototype.hasWork=function(){return this._queueBeingFlushed.length>0||this._queue.length>0},e.prototype.cancel=function(e){var t=e.target,n=e.method,r=this._queue,i=void 0,o=void 0,s=void 0,a=void 0,u=void 0,c=this.guidForTarget(t),l=c?this.targetQueues[c]:void 0
|
767
769
|
if(void 0!==l)for(s=0,a=l.length;s<a;s+=2)u=l[s],u===n&&l.splice(s,1)
|
768
770
|
for(s=0,a=r.length;s<a;s+=4)if(i=r[s],o=r[s+1],i===t&&o===n)return r.splice(s,4),!0
|
769
771
|
for(r=this._queueBeingFlushed,s=0,a=r.length;s<a;s+=4)if(i=r[s],o=r[s+1],i===t&&o===n)return r[s+1]=null,!0
|
@@ -779,10 +781,10 @@ void 0!==o?this.targetQueue(o,t,n,r,i):this.targetQueues[e]=[n,this._queue.push(
|
|
779
781
|
this.queues={},this.queueNameIndex=0,this.queueNames=e,e.reduce(function(e,n){return e[n]=new h(n,t[n],t),e},this.queues)}return e.prototype.schedule=function(e,t,n,r,i,a){var u=this.queues,c=u[e]
|
780
782
|
return c||o(e),n||s(e),i?c.pushUnique(t,n,r,a):c.push(t,n,r,a)},e.prototype.flush=function(){for(var e=void 0,t=void 0,n=this.queueNames.length;this.queueNameIndex<n;)if(t=this.queueNames[this.queueNameIndex],e=this.queues[t],e.hasWork()===!1)this.queueNameIndex++
|
781
783
|
else{if(1===e.flush(!1))return 1
|
782
|
-
this.queueNameIndex=0}},e}(),d=function(e){for(var t=e(),n=t.next();n.done===!1;)n.value(),n=t.next()},m=
|
783
|
-
this.DEBUG=!1,this.currentInstance=null,this._timerTimeoutId=null,this._autorun=null,this.queueNames=e,this.options=n,this.options.defaultQueue||(this.options.defaultQueue=e[0]),this.instanceStack=[],this._timers=[],this._debouncees=[],this._throttlers=[],this._eventCallbacks={end:[],begin:[]},this._onBegin=this.options.onBegin||
|
784
|
+
this.queueNameIndex=0}},e}(),d=function(e){for(var t=e(),n=t.next();n.done===!1;)n.value(),n=t.next()},m=function(){},g=function(){function e(e){var t=this,n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
|
785
|
+
this.DEBUG=!1,this.currentInstance=null,this._timerTimeoutId=null,this._autorun=null,this.queueNames=e,this.options=n,this.options.defaultQueue||(this.options.defaultQueue=e[0]),this.instanceStack=[],this._timers=[],this._debouncees=[],this._throttlers=[],this._eventCallbacks={end:[],begin:[]},this._onBegin=this.options.onBegin||m,this._onEnd=this.options.onEnd||m
|
784
786
|
var r=this.options._platform||{},i=Object.create(null)
|
785
|
-
i.setTimeout=r.setTimeout||function(e,t){return setTimeout(e,t)},i.clearTimeout=r.clearTimeout||function(e){return clearTimeout(e)},i.next=r.next||function(e){return i.setTimeout(e,0)},i.clearNext=r.clearNext||i.clearTimeout,this._platform=i,this._boundRunExpiredTimers=function(){t._runExpiredTimers()},this._boundAutorunEnd=function(){t._autorun=null,t.end()}}return e.prototype.begin=function(){var e=this.options,t=this.currentInstance,n=void 0
|
787
|
+
i.setTimeout=r.setTimeout||function(e,t){return setTimeout(e,t)},i.clearTimeout=r.clearTimeout||function(e){return clearTimeout(e)},i.next=r.next||function(e){return i.setTimeout(e,0)},i.clearNext=r.clearNext||i.clearTimeout,i.now=r.now||function(){return Date.now()},this._platform=i,this._boundRunExpiredTimers=function(){t._runExpiredTimers()},this._boundAutorunEnd=function(){t._autorun=null,t.end()}}return e.prototype.begin=function(){var e=this.options,t=this.currentInstance,n=void 0
|
786
788
|
return null!==this._autorun?(n=t,this._cancelAutorun()):(null!==t&&this.instanceStack.push(t),n=this.currentInstance=new f(this.queueNames,e),this._trigger("begin",n,t)),this._onBegin(n,t),n},e.prototype.end=function(){var e,t=this.currentInstance,n=null
|
787
789
|
if(null===t)throw new Error("end called without begin")
|
788
790
|
var r=!1,i=void 0
|
@@ -815,8 +817,8 @@ var a=this.DEBUG?new Error:void 0
|
|
815
817
|
return this._ensureInstance().schedule(e,o,i,s,!0,a)},e.prototype.setTimeout=function(){return this.later.apply(this,arguments)},e.prototype.later=function(){for(e=arguments.length,r=Array(e),o=0;o<e;o++)r[o]=arguments[o]
|
816
818
|
var e,r,o,s,u=r.length,c=0,l=void 0,p=void 0,h=void 0,f=void 0,d=void 0
|
817
819
|
if(0!==u){1===u?l=r.shift():2===u?(h=r[0],f=r[1],n(f)?(p=r.shift(),l=r.shift()):null!==h&&t(f)&&f in h?(p=r.shift(),l=p[r.shift()]):i(f)?(l=r.shift(),c=parseInt(r.shift(),10)):l=r.shift()):(s=r[r.length-1],i(s)&&(c=parseInt(r.pop(),10)),h=r[0],d=r[1],n(d)?(p=r.shift(),l=r.shift()):null!==h&&t(d)&&d in h?(p=r.shift(),l=p[r.shift()]):l=r.shift())
|
818
|
-
var
|
819
|
-
return
|
820
|
+
var m=a(this.options),g=this._platform.now()+c,y=void 0
|
821
|
+
return y=m?function(){try{l.apply(p,r)}catch(e){m(e)}}:function(){l.apply(p,r)},this._setTimeout(y,g)}},e.prototype.throttle=function(e,t){var n,r=this,o=new Array(arguments.length)
|
820
822
|
for(n=0;n<arguments.length;n++)o[n]=arguments[n]
|
821
823
|
var s=o.pop(),a=void 0,l=void 0,p=void 0,h=void 0
|
822
824
|
return i(s)?(l=s,a=!0):(l=o.pop(),a=s===!0),l=parseInt(l,10),p=u(e,t,this._throttlers),p>-1?this._throttlers[p+2]:(h=this._platform.setTimeout(function(){a===!1&&r.run.apply(r,o),p=c(h,r._throttlers),p>-1&&r._throttlers.splice(p,3)},l),a&&this.join.apply(this,o),this._throttlers.push(e,t,h),h)},e.prototype.debounce=function(e,t){var n,r,o=this,s=new Array(arguments.length)
|
@@ -833,11 +835,11 @@ return this._timers.splice(n,0,t,e),0===n&&this._reinstallTimerTimeout(),e},e.pr
|
|
833
835
|
for(t=1;t<this._timers.length;t+=2)if(this._timers[t]===e)return t-=1,this._timers.splice(t,2),0===t&&this._reinstallTimerTimeout(),!0
|
834
836
|
return!1},e.prototype._cancelItem=function(e,t){var n=c(e,t)
|
835
837
|
return n>-1&&(t.splice(n,3),this._platform.clearTimeout(e),!0)},e.prototype._trigger=function(e,t,n){var r,i=this._eventCallbacks[e]
|
836
|
-
if(void 0!==i)for(r=0;r<i.length;r++)i[r](t,n)},e.prototype._runExpiredTimers=function(){this._timerTimeoutId=null,0!==this._timers.length&&(this.begin(),this._scheduleExpiredTimers(),this.end())},e.prototype._scheduleExpiredTimers=function(){for(var e,t,n=this._timers,r=n.length,i=0,o=this.options.defaultQueue,s=
|
837
|
-
n.splice(0,i),this._installTimerTimeout()},e.prototype._reinstallTimerTimeout=function(){this._clearTimerTimeout(),this._installTimerTimeout()},e.prototype._clearTimerTimeout=function(){null!==this._timerTimeoutId&&(this._platform.clearTimeout(this._timerTimeoutId),this._timerTimeoutId=null)},e.prototype._installTimerTimeout=function(){if(0!==this._timers.length){var e=this._timers[0],t=
|
838
|
+
if(void 0!==i)for(r=0;r<i.length;r++)i[r](t,n)},e.prototype._runExpiredTimers=function(){this._timerTimeoutId=null,0!==this._timers.length&&(this.begin(),this._scheduleExpiredTimers(),this.end())},e.prototype._scheduleExpiredTimers=function(){for(var e,t,n=this._timers,r=n.length,i=0,o=this.options.defaultQueue,s=this._platform.now();i<r&&(e=n[i],e<=s);i+=2)t=n[i+1],this.schedule(o,null,t)
|
839
|
+
n.splice(0,i),this._installTimerTimeout()},e.prototype._reinstallTimerTimeout=function(){this._clearTimerTimeout(),this._installTimerTimeout()},e.prototype._clearTimerTimeout=function(){null!==this._timerTimeoutId&&(this._platform.clearTimeout(this._timerTimeoutId),this._timerTimeoutId=null)},e.prototype._installTimerTimeout=function(){if(0!==this._timers.length){var e=this._timers[0],t=this._platform.now(),n=Math.max(0,e-t)
|
838
840
|
this._timerTimeoutId=this._platform.setTimeout(this._boundRunExpiredTimers,n)}},e.prototype._ensureInstance=function(){var e,t=this.currentInstance
|
839
841
|
return null===t&&(t=this.begin(),e=this._platform.next,this._autorun=e(this._boundAutorunEnd)),t},e}()
|
840
|
-
|
842
|
+
g.Queue=h,e["default"]=g}),e("container",["exports","ember-utils","ember-debug","ember-environment"],function(e,t,n){"use strict"
|
841
843
|
function r(e){var n=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}
|
842
844
|
this.registry=e,this.owner=n.owner||null,this.cache=(0,t.dictionary)(n.cache||null),this.factoryManagerCache=(0,t.dictionary)(n.factoryManagerCache||null),this[C]=void 0,this.isDestroyed=!1}function i(e,t){return e.registry.getOption(t,"singleton")!==!1}function o(e,t){return e.registry.getOption(t,"instantiate")!==!1}function s(e,t){var n,r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{}
|
843
845
|
if(r.source){if(n=e.registry.expandLocalLookup(t,r),!n)return
|
@@ -1525,11 +1527,11 @@ if(void 0!==p){var h=[]
|
|
1525
1527
|
for(i=p.length-3;i>=0;i-=3)o=p[i],s=p[i+1],a=p[i+2],u=l(r,o,s),u===-1&&(r.push(o,s,a),h.push(o,s,a))
|
1526
1528
|
return h}}}function h(e,t,n,r,i){r||"function"!=typeof n||(r=n,n=null)
|
1527
1529
|
var o=0
|
1528
|
-
i&&(o|=
|
1530
|
+
i&&(o|=gt),X(e).addToListeners(t,n,r,o),"function"==typeof e.didAddListener&&e.didAddListener(t,n,r)}function f(e,t,n,r){r||"function"!=typeof n||(r=n,n=null)
|
1529
1531
|
var i="function"==typeof e.didRemoveListener?e.didRemoveListener.bind(e):function(){}
|
1530
1532
|
X(e).removeFromListeners(t,n,r,i)}function d(e,t,n,r,i){return m(e,[t],n,r,i)}function m(e,t,n,r,i){return r||"function"!=typeof n||(r=n,n=null),X(e).suspendListeners(t,n,r,i)}function g(t,r,i,o,s){var a,u,c,l,p
|
1531
1533
|
if(void 0===o&&(a=s||e.peekMeta(t),o="object"==typeof a&&null!==a&&a.matchingListeners(r)),void 0===o||0===o.length)return!1
|
1532
|
-
for(u=o.length-3;u>=0;u-=3)c=o[u],l=o[u+1],p=o[u+2],l&&(p&
|
1534
|
+
for(u=o.length-3;u>=0;u-=3)c=o[u],l=o[u+1],p=o[u+2],l&&(p&yt||(p>&&f(t,r,c,l),c||(c=t),"string"==typeof l?i?n.applyStr(c,l,i):c[l]():i?l.apply(c,i):l.call(c)))
|
1533
1535
|
return!0}function y(t,n){var r,i,o,s=[],a=e.peekMeta(t),u=a&&a.matchingListeners(n)
|
1534
1536
|
if(!u)return s
|
1535
1537
|
for(r=0;r<u.length;r+=3)i=u[r],o=u[r+1],s.push([i,o])
|
@@ -1537,129 +1539,129 @@ return s}function v(){return new o.DirtyableTag}function b(e,t){var n
|
|
1537
1539
|
return"object"==typeof e&&null!==e?(n=t||X(e),n.writableTag(v)):o.CONSTANT_TAG}function _(e,t){var n=e.readableTag()
|
1538
1540
|
void 0!==n&&n.dirty()
|
1539
1541
|
var r=e.readableTags(),i=void 0!==r?r[t]:void 0
|
1540
|
-
void 0!==i&&i.dirty(),"content"===t&&e.isProxy()&&e.getTag().contentDidChange(),void 0===n&&void 0===i||w()}function w(){void 0===
|
1542
|
+
void 0!==i&&i.dirty(),"content"===t&&e.isProxy()&&e.getTag().contentDidChange(),void 0===n&&void 0===i||w()}function w(){void 0===_t&&(_t=s("ember-metal").run),bt()&&_t.backburner.ensureInstance()}function O(t,n,r){var i=r||e.peekMeta(t)
|
1541
1543
|
if(!i||i.isInitialized(t)){var o=i&&i.peekWatching(n)>0,s=t[n],a=null!==s&&"object"==typeof s&&s.isDescriptor
|
1542
1544
|
a&&s.willChange&&s.willChange(t,n),o&&(C(t,n,i),R(t,n,i),N(t,n,i))}}function E(t,n,r){var i=r||e.peekMeta(t),o=!!i
|
1543
1545
|
if(!o||i.isInitialized(t)){var s=t[n],a=null!==s&&"object"==typeof s&&s.isDescriptor
|
1544
|
-
if(a&&s.didChange&&s.didChange(t,n),o&&i.peekWatching(n)>0&&(i.hasDeps(n)&&!i.isSourceDestroying()&&x(t,n,i),P(t,n,i,!1),D(t,n,i)),t[
|
1546
|
+
if(a&&s.didChange&&s.didChange(t,n),o&&i.peekWatching(n)>0&&(i.hasDeps(n)&&!i.isSourceDestroying()&&x(t,n,i),P(t,n,i,!1),D(t,n,i)),t[Ot]&&t[Ot](n),o){if(i.isSourceDestroying())return
|
1545
1547
|
_(i,n)}}}function C(e,t,n){var r,i
|
1546
|
-
n.isSourceDestroying()||n.hasDeps(t)&&(r=
|
1547
|
-
i&&(r=
|
1548
|
+
n.isSourceDestroying()||n.hasDeps(t)&&(r=St,i=!r,i&&(r=St={}),S(O,e,t,r,n),i&&(St=null))}function x(e,t,n){var r=Rt,i=!r
|
1549
|
+
i&&(r=Rt={}),S(E,e,t,r,n),i&&(Rt=null)}function S(e,t,r,i,o){var s=void 0,a=void 0,u=n.guidFor(t),c=i[u]
|
1548
1550
|
c||(c=i[u]={}),c[r]||(c[r]=!0,o.forEachInDeps(r,function(n,r){r&&(s=t[n],a=null!==s&&"object"==typeof s&&s.isDescriptor,a&&s._suspended===t||e(t,n,o))}))}function R(e,t,n){var r=n.readableChainWatchers()
|
1549
1551
|
r&&r.notify(t,!1,O)}function P(e,t,n){var r=n.readableChainWatchers()
|
1550
1552
|
r&&r.notify(t,!0,E)}function A(e,t,n){var r=n.readableChainWatchers()
|
1551
|
-
r&&r.revalidate(t)}function T(){
|
1553
|
+
r&&r.revalidate(t)}function T(){xt++}function k(){xt--,xt<=0&&(Et.clear(),Ct.flush())}function j(e,t){T()
|
1552
1554
|
try{e.call(t)}finally{k.call(t)}}function N(e,t,n){if(!n.isSourceDestroying()){var r=t+":before",i=void 0,o=void 0
|
1553
|
-
|
1554
|
-
|
1555
|
+
xt?(i=Et.add(e,t,r),o=p(e,r,i),g(e,r,[e,t],o)):g(e,r,[e,t])}}function D(e,t,n){if(!n.isSourceDestroying()){var r=t+":change",i=void 0
|
1556
|
+
xt?(i=Ct.add(e,t,r),p(e,r,i)):g(e,r,[e,t])}}function M(){this.isDescriptor=!0}function I(e,t,n,r,i){i||(i=X(e))
|
1555
1557
|
var o=i.peekWatching(t),s=void 0!==o&&o>0,a=e[t],u=null!==a&&"object"==typeof a&&a.isDescriptor
|
1556
1558
|
u&&a.teardown(e,t,i)
|
1557
1559
|
var c=void 0
|
1558
|
-
return n instanceof M?(c=n,e[t]=c,L(e.constructor),"function"==typeof n.setup&&n.setup(e,t)):void 0===n||null===n?(c=r,e[t]=r):(c=n,Object.defineProperty(e,t,n)),s&&A(e,t,i),"function"==typeof e.didDefineProperty&&e.didDefineProperty(e,t,c),this}function L(e){if(
|
1560
|
+
return n instanceof M?(c=n,e[t]=c,L(e.constructor),"function"==typeof n.setup&&n.setup(e,t)):void 0===n||null===n?(c=r,e[t]=r):(c=n,Object.defineProperty(e,t,n)),s&&A(e,t,i),"function"==typeof e.didDefineProperty&&e.didDefineProperty(e,t,c),this}function L(e){if(Pt!==!1){var t=X(e).readableCache()
|
1559
1561
|
t&&void 0!==t._computedProperties&&(t._computedProperties=void 0)}}function F(e,t,n){if("object"==typeof e&&null!==e){var r,i,o=n||X(e),s=o.peekWatching(t)||0
|
1560
1562
|
o.writeWatching(t,s+1),0===s&&(r=e[t],i=null!==r&&"object"==typeof r&&r.isDescriptor,i&&r.willWatch&&r.willWatch(e,t),"function"==typeof e.willWatchProperty&&e.willWatchProperty(t))}}function U(t,n,r){if("object"==typeof t&&null!==t){var i,o,s=r||e.peekMeta(t)
|
1561
1563
|
if(s&&!s.isSourceDestroyed()){var a=s.peekWatching(n)
|
1562
|
-
1===a?(s.writeWatching(n,0),i=t[n],o=null!==i&&"object"==typeof i&&i.isDescriptor,o&&i.didUnwatch&&i.didUnwatch(t,n),"function"==typeof t.didUnwatchProperty&&t.didUnwatchProperty(n)):a>1&&s.writeWatching(n,a-1)}}}function B(e,t){return(t||X(e)).writableChains(z)}function z(e){return new
|
1564
|
+
1===a?(s.writeWatching(n,0),i=t[n],o=null!==i&&"object"==typeof i&&i.isDescriptor,o&&i.didUnwatch&&i.didUnwatch(t,n),"function"==typeof t.didUnwatchProperty&&t.didUnwatchProperty(n)):a>1&&s.writeWatching(n,a-1)}}}function B(e,t){return(t||X(e)).writableChains(z)}function z(e){return new kt(null,null,e)}function V(e,t,n){if("object"==typeof e&&null!==e){var r=n||X(e),i=r.peekWatching(t)||0
|
1563
1565
|
r.writeWatching(t,i+1),0===i&&B(e,r).add(t)}}function H(t,n,r){if("object"==typeof t&&null!==t){var i=r||e.peekMeta(t)
|
1564
1566
|
if(void 0!==i){var o=i.peekWatching(n)||0
|
1565
|
-
1===o?(i.writeWatching(n,0),B(t,i).remove(n)):o>1&&i.writeWatching(n,o-1)}}}function q(e){return e.match(
|
1567
|
+
1===o?(i.writeWatching(n,0),B(t,i).remove(n)):o>1&&i.writeWatching(n,o-1)}}}function q(e){return e.match(At)[0]}function W(e){return"object"==typeof e&&null!==e}function G(e){return!(W(e)&&e.isDescriptor&&e._volatile===!1)}function K(){return new Tt}function Q(e,t,n){var r=X(e)
|
1566
1568
|
r.writableChainWatchers(K).add(t,n),F(e,t,r)}function Y(t,n,r,i){if(W(t)){var o=i||e.peekMeta(t)
|
1567
1569
|
o&&o.readableChainWatchers()&&(o=X(t),o.readableChainWatchers().remove(n,r),U(t,n,o))}}function $(t,n){if(W(t)){var r,i=e.peekMeta(t)
|
1568
1570
|
if(void 0===i||i.proto!==t)return G(t[n])?re(t,n):(r=i.readableCache(),void 0!==r?ge.get(r,n):void 0)}}function J(t){var n=e.peekMeta(t)
|
1569
1571
|
void 0!==n&&n.destroy()}function X(t){var n=e.peekMeta(t),r=void 0
|
1570
1572
|
if(void 0!==n){if(n.source===t)return n
|
1571
|
-
r=n}var i=new
|
1572
|
-
return
|
1573
|
+
r=n}var i=new Ut(t,r)
|
1574
|
+
return Ht(t,i),i}function Z(e){return Qt.get(e)}function ee(e){return Yt.get(e)!==-1}function te(e){return $t.get(e)}function ne(e){return Jt.get(e)}function re(e,t){var n=e[t],r=null!==n&&"object"==typeof n&&n.isDescriptor
|
1573
1575
|
return r?n.get(e,t):ee(t)?ie(e,t):void 0!==n||"object"!=typeof e||t in e||"function"!=typeof e.unknownProperty?n:e.unknownProperty(t)}function ie(e,t){var n,r=e,i=t.split(".")
|
1574
1576
|
for(n=0;n<i.length;n++){if(!oe(r))return
|
1575
|
-
if(r=re(r,i[n]),r&&r.isDestroyed)return}return r}function oe(e){return void 0!==e&&null!==e&&
|
1577
|
+
if(r=re(r,i[n]),r&&r.isDestroyed)return}return r}function oe(e){return void 0!==e&&null!==e&&Xt[typeof e]}function se(t,n,r,i){if(ee(n))return ae(t,n,r,i)
|
1576
1578
|
var o,s=t[n],a=null!==s&&"object"==typeof s&&s.isDescriptor
|
1577
1579
|
return a?s.set(t,n,r):!t.setUnknownProperty||void 0!==s||n in t?s!==r&&(o=e.peekMeta(t),O(t,n,o),t[n]=r,E(t,n,o)):t.setUnknownProperty(n,r),r}function ae(e,t,n,i){var o=t.slice(t.lastIndexOf(".")+1)
|
1578
1580
|
if(t=t===o?o:t.slice(0,t.length-(o.length+1)),"this"!==t&&(e=ie(e,t)),!o||0===o.length)throw new r.Error("Property set failed: You passed an empty path")
|
1579
1581
|
if(!e){if(i)return
|
1580
1582
|
throw new r.Error('Property set failed: object in path "'+t+'" could not be found or was destroyed.')}return se(e,o,n)}function ue(e,t,n){return se(e,t,n,!0)}function ce(e,t){var n=e.indexOf("{")
|
1581
|
-
n<0?t(e.replace(
|
1582
|
-
for(e+=t.substring(0,n),a=u.length;o<a;)s=c.indexOf("{"),s<0?r((e+u[o++]+c).replace(
|
1583
|
+
n<0?t(e.replace(Zt,".[]")):le("",e,n,t)}function le(e,t,n,r){var i=t.indexOf("}"),o=0,s=void 0,a=void 0,u=t.substring(n+1,i).split(","),c=t.substring(i+1)
|
1584
|
+
for(e+=t.substring(0,n),a=u.length;o<a;)s=c.indexOf("{"),s<0?r((e+u[o++]+c).replace(Zt,".[]")):le(e+u[o++],c,s,r)}function pe(e,t,n){ee(t)?V(e,t,n):F(e,t,n)}function he(e,t,n){ee(t)?H(e,t,n):U(e,t,n)}function fe(e,t,n,r){var i=void 0,o=void 0,s=e._dependentKeys
|
1583
1585
|
if(s)for(i=0;i<s.length;i++)o=s[i],r.writeDeps(o,n,(r.peekDeps(o,n)||0)+1),pe(t,o,r)}function de(e,t,n,r){var i,o,s=e._dependentKeys
|
1584
1586
|
if(s)for(i=0;i<s.length;i++)o=s[i],r.writeDeps(o,n,(r.peekDeps(o,n)||0)-1),he(t,o,r)}function me(e,t){this.isDescriptor=!0,"function"==typeof e?this._getter=e:(this._getter=e.get,this._setter=e.set),this._suspended=void 0,this._meta=void 0,this._volatile=!1,this._dependentKeys=t&&t.dependentKeys,this._readOnly=!1}function ge(t,n){var r=e.peekMeta(t),i=r&&r.source===t&&r.readableCache(),o=i&&i[n]
|
1585
|
-
if(o!==
|
1586
|
-
for(t=0;t<
|
1587
|
-
return
|
1588
|
-
try{i=e.call(r)}catch(o){n.exception=o,i=n}finally{t()}return i}function we(){}function Oe(e,n,r){if(0===
|
1589
|
-
var i=
|
1587
|
+
if(o!==jt)return o}function ye(e,t){throw new r.Error("Cannot set read-only property '"+t+"' on object: "+n.inspect(e))}function ve(e,t,n){return I(e,t,null),se(e,t,n)}function be(e){var t,n=[],r=void 0
|
1588
|
+
for(t=0;t<rn.length;t++)r=rn[t],r.regex.test(e)&&n.push(r.object)
|
1589
|
+
return on[e]=n,n}function _e(e,t,n,r){var i=void 0
|
1590
|
+
try{i=e.call(r)}catch(o){n.exception=o,i=n}finally{t()}return i}function we(){}function Oe(e,n,r){if(0===rn.length)return we
|
1591
|
+
var i=on[e]
|
1590
1592
|
if(i||(i=be(e)),0===i.length)return we
|
1591
1593
|
var o=n(r),s=t.ENV.STRUCTURED_PROFILE,a=void 0
|
1592
1594
|
s&&(a=e+": "+o.object,console.time(a))
|
1593
|
-
var u=new Array(i.length),c=void 0,l=void 0,p=
|
1595
|
+
var u=new Array(i.length),c=void 0,l=void 0,p=sn()
|
1594
1596
|
for(c=0;c<i.length;c++)l=i[c],u[c]=l.before(e,p,o)
|
1595
|
-
return function(){var t=void 0,n=void 0,r=
|
1597
|
+
return function(){var t=void 0,n=void 0,r=sn()
|
1596
1598
|
for(t=0;t<i.length;t++)n=i[t],"function"==typeof n.after&&n.after(e,r,o,u[t])
|
1597
|
-
s&&console.timeEnd(a)}}function Ee(e){
|
1598
|
-
|
1599
|
-
if(!(this instanceof
|
1600
|
-
if(this._id=n.GUID_KEY+
|
1601
|
-
for(t=0;t<e.length;t++)r=e[t],i=r[0],o=r[1],this.set(i,o)}}function
|
1599
|
+
s&&console.timeEnd(a)}}function Ee(e){if(r.isTesting())throw e
|
1600
|
+
un?un(e):a.error(an(e))}function Ce(e){return"object"==typeof e&&null!==e||"function"==typeof e}function xe(e){var t,r,i,o
|
1601
|
+
if(!(this instanceof xe))throw new TypeError("Constructor WeakMap requires 'new'")
|
1602
|
+
if(this._id=n.GUID_KEY+pn++,null===e||void 0===e);else{if(!Array.isArray(e))throw new TypeError("The weak map constructor polyfill only supports an array argument")
|
1603
|
+
for(t=0;t<e.length;t++)r=e[t],i=r[0],o=r[1],this.set(i,o)}}function Se(e){return null===e||void 0===e}function Re(e){var t,n,r=Se(e)
|
1602
1604
|
if(r)return r
|
1603
1605
|
if("number"==typeof e.size)return!e.size
|
1604
1606
|
var i=typeof e
|
1605
|
-
return"object"===i&&(t=re(e,"size"),"number"==typeof t)?!t:"number"==typeof e.length&&"function"!==i?!e.length:"object"===i&&(n=re(e,"length"),"number"==typeof n)&&!n}function
|
1607
|
+
return"object"===i&&(t=re(e,"size"),"number"==typeof t)?!t:"number"==typeof e.length&&"function"!==i?!e.length:"object"===i&&(n=re(e,"length"),"number"==typeof n)&&!n}function Pe(e){return Re(e)||"string"==typeof e&&/\S/.test(e)===!1}function Ae(){return hn.run.apply(hn,arguments)}function Te(e){throw new TypeError(Object.prototype.toString.call(e)+" is not a function")}function ke(e){throw new TypeError("Constructor "+e+" requires 'new'")}function je(e){var t=Object.create(null)
|
1606
1608
|
for(var n in e)t[n]=e[n]
|
1607
|
-
return t}function
|
1608
|
-
return t._keys=n,t._values=r,t.size=e.size,t}function
|
1609
|
-
return t instanceof
|
1610
|
-
return t[e]&&(i=i?
|
1611
|
-
return void 0===i[t]&&(c=o[t]),c||(a=s[t],u=null!==a&&"object"==typeof a&&a.isDescriptor?a:void 0,c=u),void 0!==c&&c instanceof me?(r=Object.create(r),r._getter=n.wrap(r._getter,c._getter),c._setter&&(r._setter?r._setter=n.wrap(r._setter,c._setter):r._setter=c._setter),r):r}function
|
1612
|
-
return void 0===o[t]&&(s=i[t]),s=s||e[t],void 0===s||"function"!=typeof s?r:n.wrap(r,s)}function
|
1613
|
-
return s=null===o||void 0===o?n.makeArray(r):
|
1609
|
+
return t}function Ne(e,t){var n=e._keys.copy(),r=je(e._values)
|
1610
|
+
return t._keys=n,t._values=r,t.size=e.size,t}function De(){this instanceof De?this.clear():ke("OrderedSet")}function Me(){this instanceof Me?(this._keys=De.create(),this._values=Object.create(null),this.size=0):ke("Map")}function Ie(e){this._super$constructor(),this.defaultValue=e.defaultValue}function Le(e){return e+":change"}function Fe(e){return e+":before"}function Ue(e,t,n,r){return h(e,Le(t),n,r),pe(e,t),this}function Be(e,t,n,r){return he(e,t),f(e,Le(t),n,r),this}function ze(e,t,n,r){return h(e,Fe(t),n,r),pe(e,t),this}function Ve(e,t,n,r,i){return d(e,Le(t),n,r,i)}function He(e,t,n,r){return he(e,t),f(e,Fe(t),n,r),this}function qe(e,t,n,r,i,o){}function We(e){return"function"==typeof e&&e.isMethod!==!1&&e!==Boolean&&e!==Object&&e!==Number&&e!==Array&&e!==Date&&e!==String}function Ge(e,t){var r=void 0
|
1611
|
+
return t instanceof bn?(r=n.guidFor(t),e.peekMixins(r)?vn:(e.writeMixins(r,t),t.properties)):t}function Ke(e,t,n,r){var i=n[e]||r[e]
|
1612
|
+
return t[e]&&(i=i?gn.call(i,t[e]):t[e]),i}function Qe(e,t,r,i,o,s){var a,u,c=void 0
|
1613
|
+
return void 0===i[t]&&(c=o[t]),c||(a=s[t],u=null!==a&&"object"==typeof a&&a.isDescriptor?a:void 0,c=u),void 0!==c&&c instanceof me?(r=Object.create(r),r._getter=n.wrap(r._getter,c._getter),c._setter&&(r._setter?r._setter=n.wrap(r._setter,c._setter):r._setter=c._setter),r):r}function Ye(e,t,r,i,o){var s=void 0
|
1614
|
+
return void 0===o[t]&&(s=i[t]),s=s||e[t],void 0===s||"function"!=typeof s?r:n.wrap(r,s)}function $e(e,t,r,i){var o=i[t]||e[t],s=void 0
|
1615
|
+
return s=null===o||void 0===o?n.makeArray(r):yn(o)?null===r||void 0===r?o:gn.call(o,r):gn.call(n.makeArray(o),r)}function Je(e,t,r,i){var o,s=i[t]||e[t]
|
1614
1616
|
if(!s)return r
|
1615
1617
|
var a=n.assign({},s),u=!1
|
1616
|
-
for(var c in r)r.hasOwnProperty(c)&&(o=r[c],
|
1617
|
-
return u&&(a._super=n.ROOT),a}function
|
1618
|
-
n._getter&&(n
|
1619
|
-
for(a=0;a<e.length;a++)if(u=e[a],c=
|
1620
|
-
for(l in c)c.hasOwnProperty(l)&&(o.push(l),
|
1621
|
-
c.hasOwnProperty("toString")&&(i.toString=c.toString)}else u.mixins&&(
|
1622
|
-
return t>7&&66===e.charCodeAt(t-7)&&e.indexOf("inding",t-6)!==-1}function
|
1623
|
-
n&&(r=t.slice(0,-7),n instanceof
|
1624
|
-
return n[i]||r[i]?(o=r[i],t=n[i]):(s=e[i])&&null!==s&&"object"==typeof s&&s.isDescriptor?(t=s,o=void 0):(t=void 0,o=e[i]),{desc:t,value:o}}function
|
1625
|
-
if(s)for(o=0;o<s.length;o++)i(e,s[o],null,t)}function
|
1626
|
-
"function"==typeof r&&(
|
1627
|
-
for(e._super=n.ROOT,
|
1628
|
-
void 0===h&&void 0===p||(
|
1618
|
+
for(var c in r)r.hasOwnProperty(c)&&(o=r[c],We(o)?(u=!0,a[c]=Ye(e,c,o,s,{})):a[c]=o)
|
1619
|
+
return u&&(a._super=n.ROOT),a}function Xe(e,t,n,r,i,o,s,a){if(n instanceof M){if(n===On&&i[t])return vn
|
1620
|
+
n._getter&&(n=Qe(r,t,n,o,i,e)),i[t]=n,o[t]=void 0}else s&&s.indexOf(t)>=0||"concatenatedProperties"===t||"mergedProperties"===t?n=$e(e,t,n,o):a&&a.indexOf(t)>=0?n=Je(e,t,n,o):We(n)&&(n=Ye(e,t,n,o,i)),i[t]=void 0,o[t]=n}function Ze(e,t,n,r,i,o){function s(e){delete n[e],delete r[e]}var a,u=void 0,c=void 0,l=void 0,p=void 0,h=void 0
|
1621
|
+
for(a=0;a<e.length;a++)if(u=e[a],c=Ge(t,u),c!==vn)if(c){i.willMergeMixin&&i.willMergeMixin(c),p=Ke("concatenatedProperties",c,r,i),h=Ke("mergedProperties",c,r,i)
|
1622
|
+
for(l in c)c.hasOwnProperty(l)&&(o.push(l),Xe(i,l,c[l],t,n,r,p,h))
|
1623
|
+
c.hasOwnProperty("toString")&&(i.toString=c.toString)}else u.mixins&&(Ze(u.mixins,t,n,r,i,o),u._without&&u._without.forEach(s))}function et(e){var t=e.length
|
1624
|
+
return t>7&&66===e.charCodeAt(t-7)&&e.indexOf("inding",t-6)!==-1}function tt(e,t){t.forEachBindings(function(t,n){var r
|
1625
|
+
n&&(r=t.slice(0,-7),n instanceof mn?(n=n.copy(),n.to(r)):n=new mn(r,n),n.connect(e),e[t]=n)}),t.clearBindings()}function nt(e,t){return tt(e,t||X(e)),e}function rt(e,t,n,r){var i=t.methodName,o=void 0,s=void 0
|
1626
|
+
return n[i]||r[i]?(o=r[i],t=n[i]):(s=e[i])&&null!==s&&"object"==typeof s&&s.isDescriptor?(t=s,o=void 0):(t=void 0,o=e[i]),{desc:t,value:o}}function it(e,t,n,r,i){var o,s=n[r]
|
1627
|
+
if(s)for(o=0;o<s.length;o++)i(e,s[o],null,t)}function ot(e,t,n){var r=e[t]
|
1628
|
+
"function"==typeof r&&(it(e,t,r,"__ember_observesBefore__",He),it(e,t,r,"__ember_observes__",Be),it(e,t,r,"__ember_listens__",f)),"function"==typeof n&&(it(e,t,n,"__ember_observesBefore__",ze),it(e,t,n,"__ember_observes__",Ue),it(e,t,n,"__ember_listens__",h))}function st(e,t,r){var i,o,s={},a={},u=X(e),c=[],l=void 0,p=void 0,h=void 0
|
1629
|
+
for(e._super=n.ROOT,Ze(t,u,s,a,e,c),i=0;i<c.length;i++)if(l=c[i],"constructor"!==l&&a.hasOwnProperty(l)&&(h=s[l],p=a[l],h!==On)){for(;h&&h instanceof ct;)o=rt(e,h,s,a),h=o.desc,p=o.value
|
1630
|
+
void 0===h&&void 0===p||(ot(e,l,p),et(l)&&u.writeBindings(l,p),I(e,l,h,p,u))}return r||nt(e,u),e}function at(e,t,r){var i=n.guidFor(e)
|
1629
1631
|
if(r[i])return!1
|
1630
1632
|
if(r[i]=!0,e===t)return!0
|
1631
|
-
for(var o=e.mixins,s=o?o.length:0;--s>=0;)if(
|
1632
|
-
return!1}function
|
1633
|
+
for(var o=e.mixins,s=o?o.length:0;--s>=0;)if(at(o[s],t,r))return!0
|
1634
|
+
return!1}function ut(e,t,r){var i,o,s
|
1633
1635
|
if(!r[n.guidFor(t)])if(r[n.guidFor(t)]=!0,t.properties)for(i=Object.keys(t.properties),o=0;o<i.length;o++)s=i[o],e[s]=!0
|
1634
|
-
else t.mixins&&t.mixins.forEach(function(t){return
|
1636
|
+
else t.mixins&&t.mixins.forEach(function(t){return ut(e,t,r)})}function ct(e){this.isDescriptor=!0,this.methodName=e}function lt(){var e,t,n,r,i=void 0,o=void 0
|
1635
1637
|
for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
1636
1638
|
"function"!=typeof t[t.length-1]?(o=t.shift(),i=t):(o=t.pop(),i=t)
|
1637
1639
|
var s=[],a=function(e){return s.push(e)}
|
1638
1640
|
for(r=0;r<i.length;++r)ce(i[r],a)
|
1639
|
-
return o.__ember_observes__=s,o}function
|
1641
|
+
return o.__ember_observes__=s,o}function pt(e,t){this.type=e,this.name=t,this._super$Constructor(ht),xn.oneWay.call(this)}function ht(e){var t=this[e],r=n.getOwner(this)||this.container
|
1640
1642
|
return r.lookup(t.type+":"+(t.name||e))}s="default"in s?s["default"]:s,a="default"in a?a["default"]:a,u="default"in u?u["default"]:u
|
1641
|
-
var
|
1642
|
-
|
1643
|
-
var
|
1643
|
+
var ft,dt,mt="object"==typeof t.context.imports.Ember&&t.context.imports.Ember||{}
|
1644
|
+
mt.isNamespace=!0,mt.toString=function(){return"Ember"}
|
1645
|
+
var gt=1,yt=2,vt={addToListeners:function(e,t,n,r){void 0===this._listeners&&(this._listeners=[]),this._listeners.push(e,t,n,r)},_finalizeListeners:function(){if(!this._listenersFinalized){void 0===this._listeners&&(this._listeners=[])
|
1644
1646
|
for(var e,t=this.parent;void 0!==t&&(e=t._listeners,void 0!==e&&(this._listeners=this._listeners.concat(e)),!t._listenersFinalized);)t=t.parent
|
1645
1647
|
this._listenersFinalized=!0}},removeFromListeners:function(e,t,n,r){for(var i,o,s=this;void 0!==s;){if(i=s._listeners,void 0!==i)for(o=i.length-4;o>=0;o-=4)if(i[o]===e&&(!n||i[o+1]===t&&i[o+2]===n)){if(s!==this)return this._finalizeListeners(),this.removeFromListeners(e,t,n)
|
1646
1648
|
"function"==typeof r&&r(e,t,i[o+2]),i.splice(o,4)}if(s._listenersFinalized)break
|
1647
1649
|
s=s.parent}},matchingListeners:function(e){for(var t,n,r,i,o=this,s=void 0;void 0!==o;){if(t=o._listeners,void 0!==t)for(n=0;n<t.length;n+=4)t[n]===e&&(s=s||[],c(s,t,n))
|
1648
1650
|
if(o._listenersFinalized)break
|
1649
1651
|
o=o.parent}var a=this._suspendedListeners
|
1650
|
-
if(void 0!==a&&void 0!==s)for(r=0;r<a.length;r+=3)if(e===a[r])for(i=0;i<s.length;i+=3)s[i]===a[r+1]&&s[i+1]===a[r+2]&&(s[i+2]|=
|
1652
|
+
if(void 0!==a&&void 0!==s)for(r=0;r<a.length;r+=3)if(e===a[r])for(i=0;i<s.length;i+=3)s[i]===a[r+1]&&s[i+1]===a[r+2]&&(s[i+2]|=yt)
|
1651
1653
|
return s},suspendListeners:function(e,t,n,r){var i,o,s=this._suspendedListeners
|
1652
1654
|
for(void 0===s&&(s=this._suspendedListeners=[]),i=0;i<e.length;i++)s.push(e[i],t,n)
|
1653
1655
|
try{return r.call(t)}finally{if(s.length===e.length)this._suspendedListeners=void 0
|
1654
1656
|
else for(o=s.length-3;o>=0;o-=3)s[o+1]===t&&s[o+2]===n&&e.indexOf(s[o])!==-1&&s.splice(o,3)}},watchedEvents:function(){for(var e,t,n=this,r={};void 0!==n;){if(e=n._listeners,void 0!==e)for(t=0;t<e.length;t+=4)r[e[t]]=!0
|
1655
1657
|
if(n._listenersFinalized)break
|
1656
|
-
n=n.parent}return Object.keys(r)}},
|
1658
|
+
n=n.parent}return Object.keys(r)}},bt=function(){return!1},_t=void 0,wt=function(){function e(){this.clear()}return e.prototype.add=function(e,t,r){var i=this.observerSet,o=this.observers,s=n.guidFor(e),a=i[s],u=void 0
|
1657
1659
|
return a||(i[s]=a={}),u=a[t],void 0===u&&(u=o.push({sender:e,keyName:t,eventName:r,listeners:[]})-1,a[t]=u),o[u].listeners},e.prototype.flush=function(){var e=this.observers,t=void 0,n=void 0,r=void 0
|
1658
1660
|
for(this.clear(),t=0;t<e.length;++t)n=e[t],r=n.sender,r.isDestroying||r.isDestroyed||g(r,n.eventName,[r,n.keyName],n.listeners)},e.prototype.clear=function(){this.observerSet={},this.observers=[]},e}()
|
1659
1661
|
e.runInTransaction=void 0,e.runInTransaction=function(e,t){return e[t](),!1}
|
1660
|
-
var
|
1662
|
+
var Ot=n.symbol("PROPERTY_DID_CHANGE"),Et=new wt,Ct=new wt,xt=0,St=void 0,Rt=void 0;(function(){var e=Object.create(Object.prototype,{prop:{configurable:!0,value:1}})
|
1661
1663
|
return Object.defineProperty(e,"prop",{configurable:!0,value:2}),2===e.prop})()
|
1662
|
-
var
|
1664
|
+
var Pt=!1,At=/^([^\.]+)/,Tt=function(){function e(){this.chains=Object.create(null)}return e.prototype.add=function(e,t){var n=this.chains[e]
|
1663
1665
|
void 0===n?this.chains[e]=[t]:n.push(t)},e.prototype.remove=function(e,t){var n,r=this.chains[e]
|
1664
1666
|
if(void 0!==r)for(n=0;n<r.length;n++)if(r[n]===t){r.splice(n,1)
|
1665
1667
|
break}},e.prototype.has=function(e,t){var n,r=this.chains[e]
|
@@ -1667,7 +1669,7 @@ if(void 0!==r)for(n=0;n<r.length;n++)if(r[n]===t)return!0
|
|
1667
1669
|
return!1},e.prototype.revalidateAll=function(){for(var e in this.chains)this.notify(e,!0,void 0)},e.prototype.revalidate=function(e){this.notify(e,!0,void 0)},e.prototype.notify=function(e,t,n){var r,i,o,s,a=this.chains[e]
|
1668
1670
|
if(void 0!==a&&0!==a.length){var u=void 0
|
1669
1671
|
for(n&&(u=[]),r=0;r<a.length;r++)a[r].notify(t,u)
|
1670
|
-
if(void 0!==n)for(i=0;i<u.length;i+=2)o=u[i],s=u[i+1],n(o,s)}},e}(),
|
1672
|
+
if(void 0!==n)for(i=0;i<u.length;i+=2)o=u[i],s=u[i+1],n(o,s)}},e}(),kt=function(){function e(e,t,n){this._parent=e,this._key=t
|
1671
1673
|
var r,i=this._watching=void 0===n
|
1672
1674
|
if(this._chains=void 0,this._object=void 0,this.count=0,this._value=n,this._paths=void 0,i){if(r=e.value(),!W(r))return
|
1673
1675
|
this._object=r,Q(this._object,this._key,this)}}return e.prototype.value=function(){var e
|
@@ -1684,9 +1686,9 @@ void 0===r?r=this._chains=Object.create(null):i=r[t],void 0===i&&(i=r[t]=new e(t
|
|
1684
1686
|
t&&t.length>1&&(n=q(t),r=t.slice(n.length+1),o.unchain(n,r)),o.count--,o.count<=0&&(i[o._key]=void 0,o.destroy())},e.prototype.notify=function(e,t){e&&this._watching&&(n=this._parent.value(),n!==this._object&&(Y(this._object,this._key,this),W(n)?(this._object=n,Q(n,this._key,this)):this._object=void 0),this._value=void 0)
|
1685
1687
|
var n,r=this._chains,i=void 0
|
1686
1688
|
if(void 0!==r)for(var o in r)i=r[o],void 0!==i&&i.notify(e,t)
|
1687
|
-
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}(),
|
1688
|
-
if(o)for(
|
1689
|
-
o._watching&&(i=o._object,i&&(t=e.peekMeta(i),t&&!t.isSourceDestroying()&&Y(i,o._key,o,t)))}this.setMetaDestroyed()}},t.prototype.isSourceDestroying=function(){return 0!==(this._flags&
|
1689
|
+
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}(),jt=n.symbol("undefined"),Nt=2,Dt=4,Mt=8,It=16,Lt="__ember_meta__",Ft=[],Ut=function(){function t(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._factory=void 0,this._flags=0,this.source=e,this.proto=void 0,this.parent=t,this._listeners=void 0,this._listenersFinalized=!1,this._suspendedListeners=void 0}return t.prototype.isInitialized=function(e){return this.proto!==e},t.prototype.setTag=function(e){this._tag=e},t.prototype.getTag=function(){return this._tag},t.prototype.destroy=function(){if(!this.isMetaDestroyed()){var t,n=void 0,r=void 0,i=void 0,o=this.readableChains()
|
1690
|
+
if(o)for(Ft.push(o);Ft.length>0;){if(o=Ft.pop(),n=o._chains)for(r in n)void 0!==n[r]&&Ft.push(n[r])
|
1691
|
+
o._watching&&(i=o._object,i&&(t=e.peekMeta(i),t&&!t.isSourceDestroying()&&Y(i,o._key,o,t)))}this.setMetaDestroyed()}},t.prototype.isSourceDestroying=function(){return 0!==(this._flags&Nt)},t.prototype.setSourceDestroying=function(){this._flags|=Nt},t.prototype.isSourceDestroyed=function(){return 0!==(this._flags&Dt)},t.prototype.setSourceDestroyed=function(){this._flags|=Dt},t.prototype.isMetaDestroyed=function(){return 0!==(this._flags&Mt)},t.prototype.setMetaDestroyed=function(){this._flags|=Mt},t.prototype.isProxy=function(){return 0!==(this._flags&It)},t.prototype.setProxy=function(){this._flags|=It},t.prototype._getOrCreateOwnMap=function(e){return this[e]||(this[e]=Object.create(null))},t.prototype._getInherited=function(e){for(var t,n=this;void 0!==n;){if(t=n[e],void 0!==t)return t
|
1690
1692
|
n=n.parent}},t.prototype._findInherited=function(e,t){for(var n,r,i=this;void 0!==i;){if(n=i[e],void 0!==n&&(r=n[t],void 0!==r))return r
|
1691
1693
|
i=i.parent}},t.prototype.writeDeps=function(e,t,n){var r=this._getOrCreateOwnMap("_deps"),i=r[e]
|
1692
1694
|
void 0===i&&(i=r[e]=Object.create(null)),i[t]=n},t.prototype.peekDeps=function(e,t){for(var n,r,i,o=this;void 0!==o;){if(n=o._deps,void 0!==n&&(r=n[e],void 0!==r&&(i=r[t],void 0!==i)))return i
|
@@ -1702,173 +1704,173 @@ n=n.parent}},t.prototype.writeBindings=function(e,t){var n=this._getOrCreateOwnM
|
|
1702
1704
|
n[e]=t},t.prototype.peekBindings=function(e){return this._findInherited("_bindings",e)},t.prototype.forEachBindings=function(e){for(var t,n=this,r=void 0;void 0!==n;){if(t=n._bindings,void 0!==t)for(var i in t)r=r||Object.create(null),void 0===r[i]&&(r[i]=!0,e(i,t[i]))
|
1703
1705
|
n=n.parent}},t.prototype.clearBindings=function(){this._bindings=void 0},t.prototype.writeValues=function(e,t){var n=this._getOrCreateOwnMap("_values")
|
1704
1706
|
n[e]=t},t.prototype.peekValues=function(e){return this._findInherited("_values",e)},t.prototype.deleteFromValues=function(e){delete this._getOrCreateOwnMap("_values")[e]},i.createClass(t,[{key:"factory",set:function(e){this._factory=e},get:function(){return this._factory}}]),t}()
|
1705
|
-
for(var
|
1706
|
-
var
|
1707
|
-
e.peekMeta=void 0,n.HAS_NATIVE_WEAKMAP?(
|
1708
|
-
t=
|
1709
|
-
var
|
1710
|
-
return void 0===n?(this.misses++,n=this._set(t,this.func(e))):n===
|
1711
|
-
return this._set(n,t)},e.prototype._set=function(e,t){return this.limit>this.size&&(this.size++,void 0===t?this.store.set(e,
|
1712
|
-
new
|
1713
|
-
var
|
1714
|
-
return t===-1?e:e.slice(0,t)}),
|
1715
|
-
if(t!==-1)return e.slice(t+1)}),
|
1707
|
+
for(var Bt in vt)Ut.prototype[Bt]=vt[Bt]
|
1708
|
+
var zt={writable:!0,configurable:!0,enumerable:!1,value:null},Vt={name:Lt,descriptor:zt},Ht=void 0
|
1709
|
+
e.peekMeta=void 0,n.HAS_NATIVE_WEAKMAP?(ft=Object.getPrototypeOf,dt=new WeakMap,Ht=function(e,t){dt.set(e,t)},e.peekMeta=function(e){for(var t=e,n=void 0;void 0!==t&&null!==t;){if(n=dt.get(t),void 0!==n)return n
|
1710
|
+
t=ft(t)}}):(Ht=function(e,t){e.__defineNonEnumerable?e.__defineNonEnumerable(Vt):Object.defineProperty(e,Lt,zt),e[Lt]=t},e.peekMeta=function(e){return e[Lt]})
|
1711
|
+
var qt=function(){function e(e,t,n,r){this.size=0,this.misses=0,this.hits=0,this.limit=e,this.func=t,this.key=n,this.store=r||new Wt}return e.prototype.get=function(e){var t=void 0===this.key?e:this.key(e),n=this.store.get(t)
|
1712
|
+
return void 0===n?(this.misses++,n=this._set(t,this.func(e))):n===jt?(this.hits++,n=void 0):this.hits++,n},e.prototype.set=function(e,t){var n=void 0===this.key?e:this.key(e)
|
1713
|
+
return this._set(n,t)},e.prototype._set=function(e,t){return this.limit>this.size&&(this.size++,void 0===t?this.store.set(e,jt):this.store.set(e,t)),t},e.prototype.purge=function(){this.store.clear(),this.size=0,this.hits=0,this.misses=0},e}(),Wt=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}(),Gt=/^[A-Z$]/,Kt=/^[A-Z$].*[\.]/
|
1714
|
+
new qt(1e3,function(e){return Gt.test(e)})
|
1715
|
+
var Qt=new qt(1e3,function(e){return Kt.test(e)}),Yt=(new qt(1e3,function(e){return 0===e.lastIndexOf("this.",0)}),new qt(1e3,function(e){return e.indexOf(".")})),$t=new qt(1e3,function(e){var t=Yt.get(e)
|
1716
|
+
return t===-1?e:e.slice(0,t)}),Jt=new qt(1e3,function(e){var t=Yt.get(e)
|
1717
|
+
if(t!==-1)return e.slice(t+1)}),Xt={object:!0,"function":!0,string:!0},Zt=/\.@each$/
|
1716
1718
|
me.prototype=new M,me.prototype.constructor=me
|
1717
|
-
var
|
1718
|
-
|
1719
|
+
var en=me.prototype
|
1720
|
+
en["volatile"]=function(){return this._volatile=!0,this},en.readOnly=function(){return this._readOnly=!0,this},en.property=function(){function e(e){n.push(e)}var t,n=[]
|
1719
1721
|
for(t=0;t<arguments.length;t++)ce(arguments[t],e)
|
1720
|
-
return this._dependentKeys=n,this},
|
1722
|
+
return this._dependentKeys=n,this},en.meta=function(e){return 0===arguments.length?this._meta||{}:(this._meta=e,this)},en.didChange=function(t,n){if(!this._volatile&&this._suspended!==t){var r=e.peekMeta(t)
|
1721
1723
|
if(r&&r.source===t){var i=r.readableCache()
|
1722
|
-
i&&void 0!==i[n]&&(i[n]=void 0,de(this,t,n,r))}}},
|
1724
|
+
i&&void 0!==i[n]&&(i[n]=void 0,de(this,t,n,r))}}},en.get=function(e,t){if(this._volatile)return this._getter.call(e,t)
|
1723
1725
|
var n=X(e),r=n.writableCache(),i=r[t]
|
1724
|
-
if(i!==
|
1726
|
+
if(i!==jt){if(void 0!==i)return i
|
1725
1727
|
var o=this._getter.call(e,t)
|
1726
|
-
void 0===o?r[t]=
|
1728
|
+
void 0===o?r[t]=jt:r[t]=o
|
1727
1729
|
var s=n.readableChainWatchers()
|
1728
|
-
return s&&s.revalidate(t),fe(this,e,t,n),o}},
|
1729
|
-
return I(e,t,null,r),se(e,t,n),n},
|
1730
|
+
return s&&s.revalidate(t),fe(this,e,t,n),o}},en.set=function(e,t,n){return this._readOnly&&this._throwReadOnlyError(e,t),this._setter?this._volatile?this.volatileSet(e,t,n):this.setWithSuspend(e,t,n):this.clobberSet(e,t,n)},en._throwReadOnlyError=function(e,t){throw new r.Error('Cannot set read-only property "'+t+'" on object: '+n.inspect(e))},en.clobberSet=function(e,t,n){var r=ge(e,t)
|
1731
|
+
return I(e,t,null,r),se(e,t,n),n},en.volatileSet=function(e,t,n){return this._setter.call(e,t,n)},en.setWithSuspend=function(e,t,n){var r=this._suspended
|
1730
1732
|
this._suspended=e
|
1731
|
-
try{return this._set(e,t,n)}finally{this._suspended=r}},
|
1732
|
-
void 0!==i[t]&&(i[t]!==
|
1733
|
+
try{return this._set(e,t,n)}finally{this._suspended=r}},en._set=function(e,t,n){var r=X(e),i=r.writableCache(),o=!1,s=void 0
|
1734
|
+
void 0!==i[t]&&(i[t]!==jt&&(s=i[t]),o=!0)
|
1733
1735
|
var a=this._setter.call(e,t,n,s)
|
1734
|
-
return o&&s===a?a:(O(e,t,r),o?i[t]=void 0:fe(this,e,t,r),void 0===a?i[t]=
|
1735
|
-
void 0!==r&&void 0!==r[t]&&(de(this,e,t,n),r[t]=void 0)}},ge.set=function(e,t,n){void 0===n?e[t]=
|
1736
|
-
if(n!==
|
1737
|
-
var
|
1736
|
+
return o&&s===a?a:(O(e,t,r),o?i[t]=void 0:fe(this,e,t,r),void 0===a?i[t]=jt:i[t]=a,E(e,t,r),a)},en.teardown=function(e,t,n){if(!this._volatile){var r=n.readableCache()
|
1737
|
+
void 0!==r&&void 0!==r[t]&&(de(this,e,t,n),r[t]=void 0)}},ge.set=function(e,t,n){void 0===n?e[t]=jt:e[t]=n},ge.get=function(e,t){var n=e[t]
|
1738
|
+
if(n!==jt)return n},ge.remove=function(e,t){e[t]=void 0}
|
1739
|
+
var tn={},nn=function(e){function t(t){var n=i.possibleConstructorReturn(this,e.call(this))
|
1738
1740
|
return n.isDescriptor=!0,n.altKey=t,n._dependentKeys=[t],n}return i.inherits(t,e),t.prototype.setup=function(e,t){var n=X(e)
|
1739
1741
|
n.peekWatching(t)&&fe(this,e,t,n)},t.prototype.teardown=function(e,t,n){n&&n.peekWatching(t)&&de(this,e,t,n)},t.prototype.willWatch=function(e,t){fe(this,e,t,X(e))},t.prototype.didUnwatch=function(e,t){de(this,e,t,X(e))},t.prototype.get=function(e,t){var n=re(e,this.altKey),r=X(e),i=r.writableCache()
|
1740
|
-
return i[t]!==
|
1741
|
-
|
1742
|
-
var
|
1742
|
+
return i[t]!==tn&&(i[t]=tn,fe(this,e,t,r)),n},t.prototype.set=function(e,t,n){return se(e,this.altKey,n)},t.prototype.readOnly=function(){return this.set=ye,this},t.prototype.oneWay=function(){return this.set=ve,this},t}(M)
|
1743
|
+
nn.prototype._meta=void 0,nn.prototype.meta=me.prototype.meta
|
1744
|
+
var rn=[],on={},sn=function(){var e="undefined"!=typeof window?window.performance||{}:{},t=e.now||e.mozNow||e.webkitNow||e.msNow||e.oNow
|
1743
1745
|
return t?t.bind(e):function(){return+new Date}}()
|
1744
1746
|
e.flaggedInstrument=void 0,e.flaggedInstrument=function(e,t,n){return n()}
|
1745
|
-
var
|
1746
|
-
return t&&t.indexOf(n)===-1&&(t=n+"\n"+t),t},
|
1747
|
-
|
1748
|
-
if(r&&(n=r.readableWeak())){if(n[this._id]===
|
1749
|
-
return n[this._id]}}},
|
1750
|
-
return void 0===t&&(t=
|
1747
|
+
var an=function(e){var t=e.stack,n=e.message
|
1748
|
+
return t&&t.indexOf(n)===-1&&(t=n+"\n"+t),t},un=void 0,cn={get onerror(){return ln||un}},ln=void 0,pn=0
|
1749
|
+
xe.prototype.get=function(t){if(Ce(t)){var n,r=e.peekMeta(t)
|
1750
|
+
if(r&&(n=r.readableWeak())){if(n[this._id]===jt)return
|
1751
|
+
return n[this._id]}}},xe.prototype.set=function(e,t){if(!Ce(e))throw new TypeError("Invalid value used as weak map key")
|
1752
|
+
return void 0===t&&(t=jt),X(e).writableWeak()[this._id]=t,this},xe.prototype.has=function(t){if(!Ce(t))return!1
|
1751
1753
|
var n,r=e.peekMeta(t)
|
1752
|
-
return!(!r||!(n=r.readableWeak()))&&void 0!==n[this._id]},
|
1753
|
-
var
|
1754
|
-
|
1754
|
+
return!(!r||!(n=r.readableWeak()))&&void 0!==n[this._id]},xe.prototype["delete"]=function(e){return!!this.has(e)&&(delete X(e).writableWeak()[this._id],!0)},xe.prototype.toString=function(){return"[object WeakMap]"}
|
1755
|
+
var hn=new u(["sync","actions","destroy"],{GUID_KEY:n.GUID_KEY,sync:{before:T,after:k},defaultQueue:"actions",onBegin:function(e){Ae.currentRunLoop=e},onEnd:function(e,t){Ae.currentRunLoop=t},onErrorTarget:cn,onErrorMethod:"onerror"})
|
1756
|
+
Ae.join=function(){return hn.join.apply(hn,arguments)},Ae.bind=function(){var e,t,n
|
1755
1757
|
for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
1756
1758
|
return function(){var e,n,r
|
1757
1759
|
for(e=arguments.length,n=Array(e),r=0;r<e;r++)n[r]=arguments[r]
|
1758
|
-
return
|
1760
|
+
return Ae.join.apply(Ae,t.concat(n))}},Ae.backburner=hn,Ae.currentRunLoop=null,Ae.queues=hn.queueNames,Ae.begin=function(){hn.begin()},Ae.end=function(){hn.end()},Ae.schedule=function(){return hn.schedule.apply(hn,arguments)},Ae.hasScheduledTimers=function(){return hn.hasTimers()},Ae.cancelTimers=function(){hn.cancelTimers()},Ae.sync=function(){hn.currentInstance&&hn.currentInstance.queues.sync.flush()},Ae.later=function(){return hn.later.apply(hn,arguments)},Ae.once=function(){var e,t,n
|
1759
1761
|
for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
1760
|
-
return t.unshift("actions"),
|
1762
|
+
return t.unshift("actions"),hn.scheduleOnce.apply(hn,t)},Ae.scheduleOnce=function(){return hn.scheduleOnce.apply(hn,arguments)},Ae.next=function(){var e,t,n
|
1761
1763
|
for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
1762
|
-
return t.push(1),
|
1763
|
-
var
|
1764
|
-
|
1764
|
+
return t.push(1),hn.later.apply(hn,t)},Ae.cancel=function(e){return hn.cancel(e)},Ae.debounce=function(){return hn.debounce.apply(hn,arguments)},Ae.throttle=function(){return hn.throttle.apply(hn,arguments)},Ae._addQueue=function(e,t){Ae.queues.indexOf(e)===-1&&Ae.queues.splice(Ae.queues.indexOf(t)+1,0,e)}
|
1765
|
+
var fn=function(){function e(){this._registry=[],this._coreLibIndex=0}return e.prototype.isRegistered=function(e){return!!this._getLibraryByName(e)},e}()
|
1766
|
+
fn.prototype={constructor:fn,_getLibraryByName:function(e){var t,n=this._registry,r=n.length
|
1765
1767
|
for(t=0;t<r;t++)if(n[t].name===e)return n[t]},register:function(e,t,n){var r=this._registry.length
|
1766
1768
|
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
|
1767
1769
|
t&&(n=this._registry.indexOf(t),this._registry.splice(n,1))}}
|
1768
|
-
var
|
1769
|
-
|
1770
|
-
return new e},
|
1770
|
+
var dn=new fn
|
1771
|
+
De.create=function(){var e=this
|
1772
|
+
return new e},De.prototype={constructor:De,clear:function(){this.presenceSet=Object.create(null),this.list=[],this.size=0},add:function(e,t){var r=t||n.guidFor(e),i=this.presenceSet,o=this.list
|
1771
1773
|
return i[r]!==!0&&(i[r]=!0,this.size=o.push(e)),this},"delete":function(e,t){var r,i=t||n.guidFor(e),o=this.presenceSet,s=this.list
|
1772
1774
|
return o[i]===!0&&(delete o[i],r=s.indexOf(e),r>-1&&s.splice(r,1),this.size=s.length,!0)},isEmpty:function(){return 0===this.size},has:function(e){if(0===this.size)return!1
|
1773
1775
|
var t=n.guidFor(e),r=this.presenceSet
|
1774
|
-
return r[t]===!0},forEach:function(e){if("function"!=typeof e&&
|
1776
|
+
return r[t]===!0},forEach:function(e){if("function"!=typeof e&&Te(e),0!==this.size){var t,n,r=this.list
|
1775
1777
|
if(2===arguments.length)for(t=0;t<r.length;t++)e.call(arguments[1],r[t])
|
1776
1778
|
else for(n=0;n<r.length;n++)e(r[n])}},toArray:function(){return this.list.slice()},copy:function(){var e=this.constructor,t=new e
|
1777
|
-
return t.presenceSet=
|
1778
|
-
return new e},
|
1779
|
+
return t.presenceSet=je(this.presenceSet),t.list=this.toArray(),t.size=this.size,t}},Me.create=function(){var e=this
|
1780
|
+
return new e},Me.prototype={constructor:Me,size:0,get:function(e){if(0!==this.size){var t=this._values,r=n.guidFor(e)
|
1779
1781
|
return t[r]}},set:function(e,t){var r=this._keys,i=this._values,o=n.guidFor(e),s=e===-0?0:e
|
1780
1782
|
return r.add(s,o),i[o]=t,this.size=r.size,this},"delete":function(e){if(0===this.size)return!1
|
1781
1783
|
var t=this._keys,r=this._values,i=n.guidFor(e)
|
1782
|
-
return!!t["delete"](e,i)&&(delete r[i],this.size=t.size,!0)},has:function(e){return this._keys.has(e)},forEach:function(e){if("function"!=typeof e&&
|
1783
|
-
2===arguments.length?(r=arguments[1],n=function(n){return e.call(r,t.get(n),n,t)}):n=function(n){return e(t.get(n),n,t)},this._keys.forEach(n)}},clear:function(){this._keys.clear(),this._values=Object.create(null),this.size=0},copy:function(){return
|
1784
|
-
return n?this._super$get(e):(t=this.defaultValue(e),this.set(e,t),t)},
|
1785
|
-
return
|
1786
|
-
var
|
1784
|
+
return!!t["delete"](e,i)&&(delete r[i],this.size=t.size,!0)},has:function(e){return this._keys.has(e)},forEach:function(e){if("function"!=typeof e&&Te(e),0!==this.size){var t=this,n=void 0,r=void 0
|
1785
|
+
2===arguments.length?(r=arguments[1],n=function(n){return e.call(r,t.get(n),n,t)}):n=function(n){return e(t.get(n),n,t)},this._keys.forEach(n)}},clear:function(){this._keys.clear(),this._values=Object.create(null),this.size=0},copy:function(){return Ne(this,new Me)}},Ie.create=function(e){return e?new Ie(e):new Me},Ie.prototype=Object.create(Me.prototype),Ie.prototype.constructor=Ie,Ie.prototype._super$constructor=Me,Ie.prototype._super$get=Me.prototype.get,Ie.prototype.get=function(e){var t,n=this.has(e)
|
1786
|
+
return n?this._super$get(e):(t=this.defaultValue(e),this.set(e,t),t)},Ie.prototype.copy=function(){var e=this.constructor
|
1787
|
+
return Ne(this,new e({defaultValue:this.defaultValue}))}
|
1788
|
+
var mn=function(){function e(e,t){this._from=t,this._to=e,this._oneWay=void 0,this._direction=void 0,this._readyToSync=void 0,this._fromObj=void 0,this._fromPath=void 0,this._toObj=void 0}return e.prototype.copy=function(){var t=new e(this._to,this._from)
|
1787
1789
|
return this._oneWay&&(t._oneWay=!0),t},e.prototype.from=function(e){return this._from=e,this},e.prototype.to=function(e){return this._to=e,this},e.prototype.oneWay=function(){return this._oneWay=!0,this},e.prototype.toString=function(){var e=this._oneWay?"[oneWay]":""
|
1788
1790
|
return"Ember.Binding<"+n.guidFor(this)+">("+this._from+" -> "+this._to+")"+e},e.prototype.connect=function(e){var n,r=void 0,i=void 0,o=void 0
|
1789
|
-
return Z(this._from)&&(n=te(this._from),o=t.context.lookup[n],o&&(r=o,i=ne(this._from))),void 0===r&&(r=e,i=this._from),ue(e,this._to,re(r,i)),
|
1790
|
-
void 0===t&&(
|
1791
|
+
return Z(this._from)&&(n=te(this._from),o=t.context.lookup[n],o&&(r=o,i=ne(this._from))),void 0===r&&(r=e,i=this._from),ue(e,this._to,re(r,i)),Ue(r,i,this,"fromDidChange"),this._oneWay||Ue(e,this._to,this,"toDidChange"),h(e,"willDestroy",this,"disconnect"),qe(e,this._to,this._from,o,this._oneWay,!o&&!this._oneWay),this._readyToSync=!0,this._fromObj=r,this._fromPath=i,this._toObj=e,this},e.prototype.disconnect=function(){return Be(this._fromObj,this._fromPath,this,"fromDidChange"),this._oneWay||Be(this._toObj,this._to,this,"toDidChange"),this._readyToSync=!1,this},e.prototype.fromDidChange=function(){this._scheduleSync("fwd")},e.prototype.toDidChange=function(){this._scheduleSync("back")},e.prototype._scheduleSync=function(e){var t=this._direction
|
1792
|
+
void 0===t&&(Ae.schedule("sync",this,"_sync"),this._direction=e),"back"===t&&"fwd"===e&&(this._direction="fwd")},e.prototype._sync=function(){var e,n,r=t.ENV.LOG_BINDINGS,i=this._toObj
|
1791
1793
|
if(!i.isDestroyed&&this._readyToSync){var o=this._direction,s=this._fromObj,u=this._fromPath
|
1792
|
-
this._direction=void 0,"fwd"===o?(e=re(s,u),r&&a.log(" ",this.toString(),"->",e,s),this._oneWay?ue(i,this._to,e):
|
1794
|
+
this._direction=void 0,"fwd"===o?(e=re(s,u),r&&a.log(" ",this.toString(),"->",e,s),this._oneWay?ue(i,this._to,e):Ve(i,this._to,this,"toDidChange",function(){ue(i,this._to,e)})):"back"===o&&(n=re(i,this._to),r&&a.log(" ",this.toString(),"<-",n,i),Ve(s,u,this,"fromDidChange",function(){ue(s,u,n)}))}},e}();(function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(mn,{from:function(e){var t=this
|
1793
1795
|
return new t((void 0),e)},to:function(e){var t=this
|
1794
1796
|
return new t(e,(void 0))}})
|
1795
|
-
var
|
1796
|
-
|
1797
|
-
var
|
1797
|
+
var gn=Array.prototype.concat,yn=Array.isArray,vn={}
|
1798
|
+
et("notbound"),et("fooBinding")
|
1799
|
+
var bn=function(){function t(e,i){this.properties=i
|
1798
1800
|
var o,s,a,u=e&&e.length
|
1799
1801
|
if(u>0){for(o=new Array(u),s=0;s<u;s++)a=e[s],a instanceof t?o[s]=a:o[s]=new t((void 0),a)
|
1800
1802
|
this.mixins=o}else this.mixins=void 0
|
1801
1803
|
this.ownerConstructor=void 0,this._without=void 0,this[n.GUID_KEY]=null,this[n.NAME_KEY]=null,r.debugSeal(this)}return t.applyPartial=function(e){var t,n,r
|
1802
1804
|
for(t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r]
|
1803
|
-
return
|
1805
|
+
return st(e,n,!0)},t.create=function(){_n=!0
|
1804
1806
|
var e,t,n,r=this
|
1805
1807
|
for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
1806
1808
|
return new r(t,(void 0))},t.mixins=function(t){var n=e.peekMeta(t),r=[]
|
1807
1809
|
return n?(n.forEachMixins(function(e,t){t.properties||r.push(t)}),r):r},t}()
|
1808
|
-
|
1809
|
-
var
|
1810
|
-
|
1811
|
-
this.properties?(e=new
|
1810
|
+
bn._apply=st,bn.finishPartial=nt
|
1811
|
+
var _n=!1,wn=bn.prototype
|
1812
|
+
wn.reopen=function(){var e=void 0
|
1813
|
+
this.properties?(e=new bn((void 0),this.properties),this.properties=void 0,this.mixins=[e]):this.mixins||(this.mixins=[])
|
1812
1814
|
var t=this.mixins,n=void 0
|
1813
|
-
for(n=0;n<arguments.length;n++)e=arguments[n],e instanceof
|
1814
|
-
return this},
|
1815
|
-
if(t instanceof
|
1815
|
+
for(n=0;n<arguments.length;n++)e=arguments[n],e instanceof bn?t.push(e):t.push(new bn((void 0),e))
|
1816
|
+
return this},wn.apply=function(e){return st(e,[this],!1)},wn.applyPartial=function(e){return st(e,[this],!0)},wn.toString=Object.toString,wn.detect=function(t){if("object"!=typeof t||null===t)return!1
|
1817
|
+
if(t instanceof bn)return at(t,this,{})
|
1816
1818
|
var r=e.peekMeta(t)
|
1817
|
-
return!!r&&!!r.peekMixins(n.guidFor(this))},
|
1819
|
+
return!!r&&!!r.peekMixins(n.guidFor(this))},wn.without=function(){var e,t,n,r=new bn([this])
|
1818
1820
|
for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
1819
|
-
return r._without=t,r},
|
1820
|
-
|
1821
|
+
return r._without=t,r},wn.keys=function(){var e={}
|
1822
|
+
ut(e,this,{})
|
1821
1823
|
var t=Object.keys(e)
|
1822
|
-
return t},r.debugSeal(
|
1823
|
-
var
|
1824
|
-
|
1825
|
-
var
|
1826
|
-
|
1827
|
-
var
|
1824
|
+
return t},r.debugSeal(wn)
|
1825
|
+
var On=new M
|
1826
|
+
On.toString=function(){return"(Required Property)"},ct.prototype=new M,pt.prototype=Object.create(M.prototype)
|
1827
|
+
var En=pt.prototype,Cn=me.prototype,xn=nn.prototype
|
1828
|
+
En._super$Constructor=me,En.get=Cn.get,En.readOnly=Cn.readOnly,En.teardown=Cn.teardown
|
1829
|
+
var Sn=Array.prototype.splice,Rn=function(e){function t(t){var n=i.possibleConstructorReturn(this,e.call(this))
|
1828
1830
|
return n.desc=t,n}return i.inherits(t,e),t.prototype.setup=function(e,t){Object.defineProperty(e,t,this.desc)},t.prototype.teardown=function(){},t}(M)
|
1829
|
-
e["default"]=
|
1831
|
+
e["default"]=mt,e.computed=function(){for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
1830
1832
|
var e,t,n,r=t.pop(),i=new me(r)
|
1831
|
-
return t.length>0&&i.property.apply(i,t),i},e.cacheFor=ge,e.ComputedProperty=me,e.alias=function(e){return new
|
1833
|
+
return t.length>0&&i.property.apply(i,t),i},e.cacheFor=ge,e.ComputedProperty=me,e.alias=function(e){return new nn(e)},e.merge=function(e,t){if(!t||"object"!=typeof t)return e
|
1832
1834
|
var n,r=Object.keys(t),i=void 0
|
1833
1835
|
for(n=0;n<r.length;n++)i=r[n],e[i]=t[i]
|
1834
|
-
return e},e.deprecateProperty=function(e,t,n,r){function i(){}Object.defineProperty(e,t,{configurable:!0,enumerable:!1,set:function(e){i(),se(this,n,e)},get:function(){return i(),re(this,n)}})},e.instrument=function(e,t,n,r){if(arguments.length<=3&&"function"==typeof t&&(r=n,n=t,t=void 0),0===
|
1836
|
+
return e},e.deprecateProperty=function(e,t,n,r){function i(){}Object.defineProperty(e,t,{configurable:!0,enumerable:!1,set:function(e){i(),se(this,n,e)},get:function(){return i(),re(this,n)}})},e.instrument=function(e,t,n,r){if(arguments.length<=3&&"function"==typeof t&&(r=n,n=t,t=void 0),0===rn.length)return n.call(r)
|
1835
1837
|
var i=t||{},o=Oe(e,function(){return i})
|
1836
|
-
return o?_e(n,o,i,r):n.call(r)},e._instrumentStart=Oe,e.instrumentationReset=function(){
|
1838
|
+
return o?_e(n,o,i,r):n.call(r)},e._instrumentStart=Oe,e.instrumentationReset=function(){rn.length=0,on={}},e.instrumentationSubscribe=function(e,t){var n,r=e.split("."),i=void 0,o=[]
|
1837
1839
|
for(n=0;n<r.length;n++)i=r[n],"*"===i?o.push("[^\\.]*"):o.push(i)
|
1838
1840
|
o=o.join("\\."),o+="(\\..*)?"
|
1839
1841
|
var s={pattern:e,regex:new RegExp("^"+o+"$"),object:t}
|
1840
|
-
return
|
1841
|
-
for(t=0;t<
|
1842
|
-
|
1843
|
-
return void 0===r?n:r},e.set=se,e.trySet=ue,e.WeakMap=
|
1842
|
+
return rn.push(s),on={},s},e.instrumentationUnsubscribe=function(e){var t,n=void 0
|
1843
|
+
for(t=0;t<rn.length;t++)rn[t]===e&&(n=t)
|
1844
|
+
rn.splice(n,1),on={}},e.getOnerror=function(){return un},e.setOnerror=function(e){un=e},e.dispatchError=function(e){ln?ln(e):Ee(e)},e.setDispatchOverride=function(e){ln=e},e.getDispatchOverride=function(){return ln},e.META_DESC=zt,e.meta=X,e.Cache=qt,e._getPath=ie,e.get=re,e.getWithDefault=function(e,t,n){var r=re(e,t)
|
1845
|
+
return void 0===r?n:r},e.set=se,e.trySet=ue,e.WeakMap=xe,e.accumulateListeners=p,e.addListener=h,e.hasListeners=function(t,n){var r=e.peekMeta(t)
|
1844
1846
|
if(!r)return!1
|
1845
1847
|
var i=r.matchingListeners(n)
|
1846
1848
|
return void 0!==i&&i.length>0},e.listenersFor=y,e.on=function(){for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
1847
1849
|
var e,t,n,r=t.pop()
|
1848
1850
|
return r.__ember_listens__=t,r},e.removeListener=f,e.sendEvent=g,e.suspendListener=d,e.suspendListeners=m,e.watchedEvents=function(t){var n=e.peekMeta(t)
|
1849
|
-
return n&&n.watchedEvents()||[]},e.isNone=
|
1851
|
+
return n&&n.watchedEvents()||[]},e.isNone=Se,e.isEmpty=Re,e.isBlank=Pe,e.isPresent=function(e){return!Pe(e)},e.run=Ae,e.ObserverSet=wt,e.beginPropertyChanges=T,e.changeProperties=j,e.endPropertyChanges=k,e.overrideChains=A,e.propertyDidChange=E,e.propertyWillChange=O,e.PROPERTY_DID_CHANGE=Ot,e.defineProperty=I,e.Descriptor=M,e._hasCachedComputedProperties=function(){Pt=!0},e.watchKey=F,e.unwatchKey=U,e.ChainNode=kt,e.finishChains=function(e){var t=e.readableChainWatchers()
|
1850
1852
|
void 0!==t&&t.revalidateAll(),void 0!==e.readableChains()&&e.writableChains(z)},e.removeChainWatcher=Y,e.watchPath=V,e.unwatchPath=H,e.destroy=function(e){J(e)},e.isWatching=function(t,n){if("object"!=typeof t||null===t)return!1
|
1851
1853
|
var r=e.peekMeta(t)
|
1852
1854
|
return(r&&r.peekWatching(n))>0},e.unwatch=he,e.watch=pe,e.watcherCount=function(t,n){var r=e.peekMeta(t)
|
1853
|
-
return r&&r.peekWatching(n)||0},e.libraries=
|
1855
|
+
return r&&r.peekWatching(n)||0},e.libraries=dn,e.Libraries=fn,e.Map=Me,e.MapWithDefault=Ie,e.OrderedSet=De,e.getProperties=function(e){var t={},n=arguments,r=1
|
1854
1856
|
for(2===arguments.length&&Array.isArray(arguments[1])&&(r=0,n=arguments[1]);r<n.length;r++)t[n[r]]=re(e,n[r])
|
1855
1857
|
return t},e.setProperties=function(e,t){return t&&"object"==typeof t?(j(function(){var n,r=Object.keys(t),i=void 0
|
1856
|
-
for(n=0;n<r.length;n++)i=r[n],se(e,i,t[i])}),t):t},e.expandProperties=ce,e._suspendObserver=
|
1857
|
-
return m(e,o,n,r,i)},e.addObserver=
|
1858
|
+
for(n=0;n<r.length;n++)i=r[n],se(e,i,t[i])}),t):t},e.expandProperties=ce,e._suspendObserver=Ve,e._suspendObservers=function(e,t,n,r,i){var o=t.map(Le)
|
1859
|
+
return m(e,o,n,r,i)},e.addObserver=Ue,e.observersFor=function(e,t){return y(e,Le(t))},e.removeObserver=Be,e._addBeforeObserver=ze,e._removeBeforeObserver=He,e.Mixin=bn,e.aliasMethod=function(e){return new ct(e)},e._immediateObserver=function(){var e,t
|
1858
1860
|
for(e=0;e<arguments.length;e++)t=arguments[e]
|
1859
|
-
return
|
1861
|
+
return lt.apply(this,arguments)},e._beforeObserver=function(){for(e=arguments.length,t=Array(e),n=0;n<e;n++)t[n]=arguments[n]
|
1860
1862
|
var e,t,n,i,o=t[t.length-1],s=void 0,a=function(e){s.push(e)},u=t.slice(0,-1)
|
1861
1863
|
for("function"!=typeof o&&(o=t[0],u=t.slice(1)),s=[],i=0;i<u.length;++i)ce(u[i],a)
|
1862
1864
|
if("function"!=typeof o)throw new r.EmberError("_beforeObserver called without a function")
|
1863
1865
|
return o.__ember_observesBefore__=s,o},e.mixin=function(e){var t,n,r
|
1864
1866
|
for(t=arguments.length,n=Array(t>1?t-1:0),r=1;r<t;r++)n[r-1]=arguments[r]
|
1865
|
-
return
|
1867
|
+
return st(e,n,!1),e},e.observer=lt,e.required=function(){return On},e.REQUIRED=On,e.hasUnprocessedMixins=function(){return _n},e.clearUnprocessedMixins=function(){_n=!1},e.detectBinding=et,e.Binding=mn,e.bind=function(e,t,n){return new mn(t,n).connect(e)},e.isGlobalPath=Z,e.InjectedProperty=pt,e.setHasViews=function(e){bt=e},e.tagForProperty=function(e,t,n){if("object"!=typeof e||null===e)return o.CONSTANT_TAG
|
1866
1868
|
var r=n||X(e)
|
1867
1869
|
if(r.isProxy())return b(e,r)
|
1868
1870
|
var i=r.writableTags(),s=i[t]
|
1869
|
-
return s?s:i[t]=v()},e.tagFor=b,e.markObjectAsDirty=_,e.replace=function(e,t,n,r){for(var i=[].concat(r),o=[],s=6e4,a=t,u=n,c=void 0,l=void 0;i.length;)c=u>s?s:u,c<=0&&(c=0),l=i.splice(0,s),l=[a,c].concat(l),a+=s,u-=c,o=o.concat(
|
1871
|
+
return s?s:i[t]=v()},e.tagFor=b,e.markObjectAsDirty=_,e.replace=function(e,t,n,r){for(var i=[].concat(r),o=[],s=6e4,a=t,u=n,c=void 0,l=void 0;i.length;)c=u>s?s:u,c<=0&&(c=0),l=i.splice(0,s),l=[a,c].concat(l),a+=s,u-=c,o=o.concat(Sn.apply(e,l))
|
1870
1872
|
return o},e.didRender=void 0,e.assertNotRendered=void 0,e.isProxy=function(t){var n
|
1871
|
-
return"object"==typeof t&&null!==t&&(n=e.peekMeta(t),n&&n.isProxy())},e.descriptor=function(e){return new
|
1873
|
+
return"object"==typeof t&&null!==t&&(n=e.peekMeta(t),n&&n.isProxy())},e.descriptor=function(e){return new Rn(e)},Object.defineProperty(e,"__esModule",{value:!0})}),e("ember-routing/ext/controller",["exports","ember-metal","ember-runtime","ember-routing/utils"],function(e,t,n,r){"use strict"
|
1872
1874
|
n.ControllerMixin.reopen({concatenatedProperties:["queryParams"],queryParams:null,_qpDelegate:null,_qpChanged:function(e,n){var r=n.substr(0,n.length-3),i=e._qpDelegate,o=(0,t.get)(e,r)
|
1873
1875
|
i(r,o)},transitionToRoute:function(){var e,n,i,o=(0,t.get)(this,"target"),s=o.transitionToRoute||o.transitionTo
|
1874
1876
|
for(e=arguments.length,n=Array(e),i=0;i<e;i++)n[i]=arguments[i]
|
@@ -2124,10 +2126,10 @@ for(r=0,i=p.length;r<i;++r)if(o=this._getQPMeta(p[r]))for(s=0,a=o.qps.length;s<a
|
|
2124
2126
|
for(r=0;r<p.length;++r)if(i=this._getQPMeta(p[r]))for(o=0,s=i.qps.length;o<s;++o)a=i.qps[o],u=a.prop in t&&a.prop||a.scopedPropertyName in t&&a.scopedPropertyName||a.urlKey in t&&a.urlKey,u?u!==a.scopedPropertyName&&(t[a.scopedPropertyName]=t[u],delete t[u]):(l=(0,c.calculateCacheKey)(a.route.fullRouteName,a.parts,e.params),t[a.scopedPropertyName]=h.lookup(l,a.prop,a.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._routerMicrolib.activeTransition&&(this.set("targetState",l["default"].create({emberRouter:this,routerJs:this._routerMicrolib,routerJsState:this._routerMicrolib.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,r=e.name,i=e.instanceId,o=e.mountPoint,s=this._engineInstances
|
2125
2127
|
s[r]||(s[r]=Object.create(null))
|
2126
2128
|
var a=s[r][i]
|
2127
|
-
return a||(n=(0,t.getOwner)(this),a=n.buildChildEngineInstance(r,{routable:!0,mountPoint:o}),a.boot(),s[r][i]=a),a}}),T={willResolveModel:function(e,t){t.router._scheduleLoadingEvent(e,t)},error:function(e,
|
2128
|
-
f(
|
2129
|
-
var
|
2130
|
-
return!
|
2129
|
+
return a||(n=(0,t.getOwner)(this),a=n.buildChildEngineInstance(r,{routable:!0,mountPoint:o}),a.boot(),s[r][i]=a),a}}),T={willResolveModel:function(e,t){t.router._scheduleLoadingEvent(e,t)},error:function(e,n,r){var i=n.state.handlerInfos,o=r.router
|
2130
|
+
f(r,i,function(n){if(r!==n&&(i=g(n,"error")))return s=(0,t.guidFor)(e),o._markErrorAsHandled(s),o.intermediateTransitionTo(i,e),!1
|
2131
|
+
var i,s,a,u=m(n,"error")
|
2132
|
+
return!u||(a=(0,t.guidFor)(e),o._markErrorAsHandled(a),o.intermediateTransitionTo(u,e),!1)}),d(e,"Error while processing route: "+n.targetName)},loading:function(e,t){var n=e.state.handlerInfos,r=t.router
|
2131
2133
|
f(t,n,function(n){if(t!==n&&(i=g(n,"loading")))return r.intermediateTransitionTo(i),!1
|
2132
2134
|
var i,o=m(n,"loading")
|
2133
2135
|
return o?(r.intermediateTransitionTo(o),!1):e.pivotHandler!==n})}}
|
@@ -2621,7 +2623,7 @@ var b,_=s.computed
|
|
2621
2623
|
_.alias=s.alias,s["default"].computed=_,s["default"].ComputedProperty=s.ComputedProperty,s["default"].cacheFor=s.cacheFor,s["default"].assert=u.assert,s["default"].warn=u.warn,s["default"].debug=u.debug,s["default"].deprecate=u.deprecate,s["default"].deprecateFunc=u.deprecateFunc,s["default"].runInDebug=u.runInDebug,s["default"].Debug={registerDeprecationHandler:u.registerDeprecationHandler,registerWarnHandler:u.registerWarnHandler},s["default"].merge=s.merge,s["default"].instrument=s.instrument,s["default"].subscribe=s.instrumentationSubscribe,s["default"].Instrumentation={instrument:s.instrument,subscribe:s.instrumentationSubscribe,unsubscribe:s.instrumentationUnsubscribe,reset:s.instrumentationReset},s["default"].Error=u.Error,s["default"].META_DESC=s.META_DESC,s["default"].meta=s.meta,s["default"].get=s.get,s["default"].getWithDefault=s.getWithDefault,s["default"]._getPath=s._getPath,s["default"].set=s.set,s["default"].trySet=s.trySet,s["default"].FEATURES=a.FEATURES,s["default"].FEATURES.isEnabled=u.isFeatureEnabled,s["default"]._Cache=s.Cache,s["default"].on=s.on,s["default"].addListener=s.addListener,s["default"].removeListener=s.removeListener,s["default"]._suspendListener=s.suspendListener,s["default"]._suspendListeners=s.suspendListeners,s["default"].sendEvent=s.sendEvent,s["default"].hasListeners=s.hasListeners,s["default"].watchedEvents=s.watchedEvents,s["default"].listenersFor=s.listenersFor,s["default"].accumulateListeners=s.accumulateListeners,s["default"].isNone=s.isNone,s["default"].isEmpty=s.isEmpty,s["default"].isBlank=s.isBlank,s["default"].isPresent=s.isPresent,s["default"].run=s.run,s["default"]._ObserverSet=s.ObserverSet,s["default"].propertyWillChange=s.propertyWillChange,s["default"].propertyDidChange=s.propertyDidChange,s["default"].overrideChains=s.overrideChains,s["default"].beginPropertyChanges=s.beginPropertyChanges,s["default"].endPropertyChanges=s.endPropertyChanges,s["default"].changeProperties=s.changeProperties,s["default"].platform={defineProperty:!0,hasPropertyAccessors:!0},s["default"].defineProperty=s.defineProperty,s["default"].watchKey=s.watchKey,s["default"].unwatchKey=s.unwatchKey,s["default"].removeChainWatcher=s.removeChainWatcher,s["default"]._ChainNode=s.ChainNode,s["default"].finishChains=s.finishChains,s["default"].watchPath=s.watchPath,s["default"].unwatchPath=s.unwatchPath,s["default"].watch=s.watch,s["default"].isWatching=s.isWatching,s["default"].unwatch=s.unwatch,s["default"].destroy=s.destroy,s["default"].libraries=s.libraries,s["default"].OrderedSet=s.OrderedSet,s["default"].Map=s.Map,s["default"].MapWithDefault=s.MapWithDefault,s["default"].getProperties=s.getProperties,s["default"].setProperties=s.setProperties,s["default"].expandProperties=s.expandProperties,s["default"].NAME_KEY=i.NAME_KEY,s["default"].addObserver=s.addObserver,s["default"].observersFor=s.observersFor,s["default"].removeObserver=s.removeObserver,s["default"]._suspendObserver=s._suspendObserver,s["default"]._suspendObservers=s._suspendObservers,s["default"].required=s.required,s["default"].aliasMethod=s.aliasMethod,s["default"].observer=s.observer,s["default"].immediateObserver=s._immediateObserver,s["default"].mixin=s.mixin,s["default"].Mixin=s.Mixin,s["default"].bind=s.bind,s["default"].Binding=s.Binding,s["default"].isGlobalPath=s.isGlobalPath,Object.defineProperty(s["default"],"ENV",{get:function(){return n.ENV},enumerable:!1}),Object.defineProperty(s["default"],"lookup",{get:function(){return n.context.lookup},set:function(e){n.context.lookup=e},enumerable:!1}),s["default"].EXTEND_PROTOTYPES=n.ENV.EXTEND_PROTOTYPES,Object.defineProperty(s["default"],"LOG_STACKTRACE_ON_DEPRECATION",{get:function(){return n.ENV.LOG_STACKTRACE_ON_DEPRECATION},set:function(e){n.ENV.LOG_STACKTRACE_ON_DEPRECATION=!!e},enumerable:!1}),Object.defineProperty(s["default"],"LOG_VERSION",{get:function(){return n.ENV.LOG_VERSION},set:function(e){n.ENV.LOG_VERSION=!!e},enumerable:!1}),Object.defineProperty(s["default"],"LOG_BINDINGS",{get:function(){return n.ENV.LOG_BINDINGS},set:function(e){n.ENV.LOG_BINDINGS=!!e},enumerable:!1}),Object.defineProperty(s["default"],"onerror",{get:s.getOnerror,set:s.setOnerror,enumerable:!1}),Object.defineProperty(s["default"],"K",{get:function(){return v}}),Object.defineProperty(s["default"],"testing",{get:u.isTesting,set:u.setTesting,enumerable:!1}),s["default"]._Backburner=c["default"],s["default"].Logger=l["default"],s["default"].String=p.String,s["default"].Object=p.Object,s["default"]._RegistryProxyMixin=p.RegistryProxyMixin,s["default"]._ContainerProxyMixin=p.ContainerProxyMixin,s["default"].compare=p.compare,s["default"].copy=p.copy,s["default"].isEqual=p.isEqual,s["default"].inject=p.inject,s["default"].Array=p.Array,s["default"].Comparable=p.Comparable,s["default"].Enumerable=p.Enumerable,s["default"].ArrayProxy=p.ArrayProxy,s["default"].ObjectProxy=p.ObjectProxy,s["default"].ActionHandler=p.ActionHandler,s["default"].CoreObject=p.CoreObject,s["default"].NativeArray=p.NativeArray,s["default"].Copyable=p.Copyable,s["default"].Freezable=p.Freezable,s["default"].FROZEN_ERROR=p.FROZEN_ERROR,s["default"].MutableEnumerable=p.MutableEnumerable,s["default"].MutableArray=p.MutableArray,s["default"].TargetActionSupport=p.TargetActionSupport,s["default"].Evented=p.Evented,s["default"].PromiseProxyMixin=p.PromiseProxyMixin,s["default"].Observable=p.Observable,s["default"].typeOf=p.typeOf,s["default"].isArray=p.isArray,s["default"].Object=p.Object,s["default"].onLoad=p.onLoad,s["default"].runLoadHooks=p.runLoadHooks,s["default"].Controller=p.Controller,s["default"].ControllerMixin=p.ControllerMixin,s["default"].Service=p.Service,s["default"]._ProxyMixin=p._ProxyMixin,s["default"].RSVP=p.RSVP,s["default"].Namespace=p.Namespace,_.empty=p.empty,_.notEmpty=p.notEmpty,_.none=p.none,_.not=p.not,_.bool=p.bool,_.match=p.match,_.equal=p.equal,_.gt=p.gt,_.gte=p.gte,_.lt=p.lt,_.lte=p.lte,_.oneWay=p.oneWay,_.reads=p.oneWay,_.readOnly=p.readOnly,_.deprecatingAlias=p.deprecatingAlias,_.and=p.and,_.or=p.or,_.any=p.any,_.sum=p.sum,_.min=p.min,_.max=p.max,_.map=p.map,_.sort=p.sort,_.setDiff=p.setDiff,_.mapBy=p.mapBy,_.filter=p.filter,_.filterBy=p.filterBy,_.uniq=p.uniq,_.uniqBy=p.uniqBy,_.union=p.union,_.intersect=p.intersect,_.collect=p.collect,Object.defineProperty(s["default"],"STRINGS",{configurable:!1,get:p.getStrings,set:p.setStrings}),Object.defineProperty(s["default"],"BOOTED",{configurable:!1,enumerable:!1,get:p.isNamespaceSearchDisabled,set:p.setNamespaceSearchDisabled}),s["default"].Component=h.Component,h.Helper.helper=h.helper,s["default"].Helper=h.Helper,s["default"].Checkbox=h.Checkbox,s["default"].TextField=h.TextField,s["default"].TextArea=h.TextArea,s["default"].LinkComponent=h.LinkComponent,n.ENV.EXTEND_PROTOTYPES.String&&(String.prototype.htmlSafe=function(){return(0,h.htmlSafe)(this)})
|
2622
2624
|
var w=s["default"].Handlebars=s["default"].Handlebars||{},O=s["default"].HTMLBars=s["default"].HTMLBars||{},E=w.Utils=w.Utils||{}
|
2623
2625
|
Object.defineProperty(w,"SafeString",{get:h._getSafeString}),O.template=w.template=h.template,E.escapeExpression=h.escapeExpression,p.String.htmlSafe=h.htmlSafe,p.String.isHTMLSafe=h.isHTMLSafe,Object.defineProperty(s["default"],"TEMPLATES",{get:h.getTemplates,set:h.setTemplates,configurable:!1,enumerable:!1}),e.VERSION=f["default"],s["default"].VERSION=f["default"],s.libraries.registerCoreLibrary("Ember",f["default"]),s["default"].$=d.jQuery,s["default"].ViewTargetActionSupport=d.ViewTargetActionSupport,s["default"].ViewUtils={isSimpleClick:d.isSimpleClick,getViewElement:d.getViewElement,getViewBounds:d.getViewBounds,getViewClientRects:d.getViewClientRects,getViewBoundingClientRect:d.getViewBoundingClientRect,getRootViews:d.getRootViews,getChildViews:d.getChildViews},s["default"].TextSupport=d.TextSupport,s["default"].ComponentLookup=d.ComponentLookup,s["default"].EventDispatcher=d.EventDispatcher,s["default"].Location=m.Location,s["default"].AutoLocation=m.AutoLocation,s["default"].HashLocation=m.HashLocation,s["default"].HistoryLocation=m.HistoryLocation,s["default"].NoneLocation=m.NoneLocation,s["default"].controllerFor=m.controllerFor,s["default"].generateControllerFactory=m.generateControllerFactory,s["default"].generateController=m.generateController,s["default"].RouterDSL=m.RouterDSL,s["default"].Router=m.Router,s["default"].Route=m.Route,s["default"].Application=g.Application,s["default"].ApplicationInstance=g.ApplicationInstance,s["default"].Engine=g.Engine,s["default"].EngineInstance=g.EngineInstance,s["default"].DefaultResolver=s["default"].Resolver=g.Resolver,(0,p.runLoadHooks)("Ember.Application",g.Application),s["default"].DataAdapter=y.DataAdapter,s["default"].ContainerDebugAdapter=y.ContainerDebugAdapter,(0,t.has)("ember-template-compiler")&&(0,t["default"])("ember-template-compiler"),(0,t.has)("ember-testing")&&(b=(0,t["default"])("ember-testing"),s["default"].Test=b.Test,s["default"].Test.Adapter=b.Adapter,s["default"].Test.QUnitAdapter=b.QUnitAdapter,s["default"].setupForTesting=b.setupForTesting),(0,p.runLoadHooks)("Ember"),e["default"]=s["default"],r.IS_NODE?r.module.exports=s["default"]:n.context.exports.Ember=n.context.exports.Em=s["default"]}),e("ember/version",["exports"],function(e){"use strict"
|
2624
|
-
e["default"]="2.15.
|
2626
|
+
e["default"]="2.15.1"}),e("node-module",["exports"],function(e){var t="object"==typeof module&&"function"==typeof module.require
|
2625
2627
|
t?(e.require=module.require,e.module=module,e.IS_NODE=t):(e.require=null,e.module=null,e.IS_NODE=t)}),e("route-recognizer",["exports"],function(e){"use strict"
|
2626
2628
|
function t(){var e=g(null)
|
2627
2629
|
return e.__=void 0,delete e.__,e}function n(e,t,r){return function(i,o){var s=e+i
|