ember-source 2.10.0.beta.1 → 2.10.0.beta.2
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 +113 -74
- data/dist/ember-template-compiler.js +274 -181
- data/dist/ember-testing.js +1 -1
- data/dist/ember.debug.js +258 -178
- data/dist/ember.js +258 -178
- data/dist/ember.min.js +14 -14
- data/dist/ember.prod.js +254 -174
- metadata +3 -4
- data/dist/test-template.js +0 -6
data/dist/ember-testing.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.10.0-beta.
|
9
|
+
* @version 2.10.0-beta.2
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, require, Ember;
|
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.10.0-beta.
|
9
|
+
* @version 2.10.0-beta.2
|
10
10
|
*/
|
11
11
|
|
12
12
|
var enifed, requireModule, require, Ember;
|
@@ -10881,6 +10881,10 @@ enifed('ember-glimmer/modifiers/action', ['exports', 'ember-utils', 'ember-metal
|
|
10881
10881
|
|
10882
10882
|
var actions = _emberViews.ActionManager.registeredActions[actionId];
|
10883
10883
|
|
10884
|
+
if (!actions) {
|
10885
|
+
return;
|
10886
|
+
}
|
10887
|
+
|
10884
10888
|
var index = actions.indexOf(actionState);
|
10885
10889
|
|
10886
10890
|
if (index !== -1) {
|
@@ -12743,7 +12747,7 @@ enifed('ember-glimmer/syntax/outlet', ['exports', 'ember-utils', 'glimmer-runtim
|
|
12743
12747
|
} else if (hasTemplate) {
|
12744
12748
|
return this.definition = new OutletComponentDefinition(outletName, newState.render.template);
|
12745
12749
|
} else {
|
12746
|
-
return null;
|
12750
|
+
return this.definition = null;
|
12747
12751
|
}
|
12748
12752
|
};
|
12749
12753
|
|
@@ -14674,7 +14678,7 @@ enifed('ember-glimmer/utils/to-bool', ['exports', 'ember-runtime', 'ember-metal'
|
|
14674
14678
|
return true;
|
14675
14679
|
}
|
14676
14680
|
});
|
14677
|
-
enifed('ember-glimmer/views/outlet', ['exports', 'ember-utils', 'glimmer-reference', 'ember-environment'], function (exports, _emberUtils, _glimmerReference, _emberEnvironment) {
|
14681
|
+
enifed('ember-glimmer/views/outlet', ['exports', 'ember-utils', 'glimmer-reference', 'ember-environment', 'ember-metal'], function (exports, _emberUtils, _glimmerReference, _emberEnvironment, _emberMetal) {
|
14678
14682
|
/**
|
14679
14683
|
@module ember
|
14680
14684
|
@submodule ember-glimmer
|
@@ -14811,7 +14815,6 @@ enifed('ember-glimmer/views/outlet', ['exports', 'ember-utils', 'glimmer-referen
|
|
14811
14815
|
this.owner = owner;
|
14812
14816
|
this.template = template;
|
14813
14817
|
this.outletState = null;
|
14814
|
-
this._renderResult = null;
|
14815
14818
|
this._tag = new _glimmerReference.DirtyableTag();
|
14816
14819
|
}
|
14817
14820
|
|
@@ -14825,14 +14828,10 @@ enifed('ember-glimmer/views/outlet', ['exports', 'ember-utils', 'glimmer-referen
|
|
14825
14828
|
target = selector;
|
14826
14829
|
}
|
14827
14830
|
|
14828
|
-
|
14831
|
+
_emberMetal.run.schedule('render', this.renderer, 'appendOutletView', this, target);
|
14829
14832
|
};
|
14830
14833
|
|
14831
|
-
OutletView.prototype.rerender = function rerender() {
|
14832
|
-
if (this._renderResult) {
|
14833
|
-
this.renderer.rerender(this);
|
14834
|
-
}
|
14835
|
-
};
|
14834
|
+
OutletView.prototype.rerender = function rerender() {};
|
14836
14835
|
|
14837
14836
|
OutletView.prototype.setOutletState = function setOutletState(state) {
|
14838
14837
|
this.outletState = {
|
@@ -14856,13 +14855,7 @@ enifed('ember-glimmer/views/outlet', ['exports', 'ember-utils', 'glimmer-referen
|
|
14856
14855
|
return new OutletStateReference(this);
|
14857
14856
|
};
|
14858
14857
|
|
14859
|
-
OutletView.prototype.destroy = function destroy() {
|
14860
|
-
if (this._renderResult) {
|
14861
|
-
var renderResult = this._renderResult;
|
14862
|
-
this._renderResult = null;
|
14863
|
-
renderResult.destroy();
|
14864
|
-
}
|
14865
|
-
};
|
14858
|
+
OutletView.prototype.destroy = function destroy() {};
|
14866
14859
|
|
14867
14860
|
return OutletView;
|
14868
14861
|
})();
|
@@ -15616,10 +15609,6 @@ enifed('ember-metal/chains', ['exports', 'ember-utils', 'ember-metal/property_ge
|
|
15616
15609
|
}
|
15617
15610
|
|
15618
15611
|
function addChainWatcher(obj, keyName, node) {
|
15619
|
-
if (!isObject(obj)) {
|
15620
|
-
return;
|
15621
|
-
}
|
15622
|
-
|
15623
15612
|
var m = _emberMetalMeta.meta(obj);
|
15624
15613
|
m.writableChainWatchers(makeChainWatcher).add(keyName, node);
|
15625
15614
|
_emberMetalWatch_key.watchKey(obj, keyName, m);
|
@@ -15666,10 +15655,15 @@ enifed('ember-metal/chains', ['exports', 'ember-utils', 'ember-metal/property_ge
|
|
15666
15655
|
this._value = value;
|
15667
15656
|
this._paths = {};
|
15668
15657
|
if (this._watching) {
|
15669
|
-
|
15670
|
-
|
15671
|
-
|
15658
|
+
var obj = parent.value();
|
15659
|
+
|
15660
|
+
if (!isObject(obj)) {
|
15661
|
+
return;
|
15672
15662
|
}
|
15663
|
+
|
15664
|
+
this._object = obj;
|
15665
|
+
|
15666
|
+
addChainWatcher(this._object, this._key, this);
|
15673
15667
|
}
|
15674
15668
|
}
|
15675
15669
|
|
@@ -15802,11 +15796,19 @@ enifed('ember-metal/chains', ['exports', 'ember-utils', 'ember-metal/property_ge
|
|
15802
15796
|
|
15803
15797
|
notify: function (revalidate, affected) {
|
15804
15798
|
if (revalidate && this._watching) {
|
15805
|
-
var
|
15806
|
-
|
15807
|
-
|
15808
|
-
this._object
|
15809
|
-
|
15799
|
+
var parentValue = this._parent.value();
|
15800
|
+
|
15801
|
+
if (parentValue !== this._object) {
|
15802
|
+
if (this._object) {
|
15803
|
+
removeChainWatcher(this._object, this._key, this);
|
15804
|
+
}
|
15805
|
+
|
15806
|
+
if (isObject(parentValue)) {
|
15807
|
+
this._object = parentValue;
|
15808
|
+
addChainWatcher(parentValue, this._key, this);
|
15809
|
+
} else {
|
15810
|
+
this._object = undefined;
|
15811
|
+
}
|
15810
15812
|
}
|
15811
15813
|
this._value = undefined;
|
15812
15814
|
}
|
@@ -17429,7 +17431,6 @@ enifed('ember-metal/index', ['exports', 'require', 'ember-metal/core', 'ember-me
|
|
17429
17431
|
exports.runInTransaction = _emberMetalTransaction.default;
|
17430
17432
|
exports.didRender = _emberMetalTransaction.didRender;
|
17431
17433
|
exports.assertNotRendered = _emberMetalTransaction.assertNotRendered;
|
17432
|
-
exports.IS_PROXY = _emberMetalIs_proxy.IS_PROXY;
|
17433
17434
|
exports.isProxy = _emberMetalIs_proxy.isProxy;
|
17434
17435
|
exports.descriptor = _emberMetalDescriptor.default;
|
17435
17436
|
|
@@ -17930,16 +17931,18 @@ enifed('ember-metal/is_present', ['exports', 'ember-metal/is_blank'], function (
|
|
17930
17931
|
return !_emberMetalIs_blank.default(obj);
|
17931
17932
|
}
|
17932
17933
|
});
|
17933
|
-
enifed('ember-metal/is_proxy', ['exports', 'ember-
|
17934
|
+
enifed('ember-metal/is_proxy', ['exports', 'ember-metal/meta'], function (exports, _emberMetalMeta) {
|
17934
17935
|
'use strict';
|
17935
17936
|
|
17936
17937
|
exports.isProxy = isProxy;
|
17937
|
-
var IS_PROXY = _emberUtils.symbol('IS_PROXY');
|
17938
|
-
|
17939
|
-
exports.IS_PROXY = IS_PROXY;
|
17940
17938
|
|
17941
17939
|
function isProxy(value) {
|
17942
|
-
|
17940
|
+
if (typeof value === 'object' && value) {
|
17941
|
+
var meta = _emberMetalMeta.peekMeta(value);
|
17942
|
+
return meta && meta.isProxy();
|
17943
|
+
}
|
17944
|
+
|
17945
|
+
return false;
|
17943
17946
|
}
|
17944
17947
|
});
|
17945
17948
|
enifed('ember-metal/libraries', ['exports', 'ember-metal/debug', 'ember-metal/features'], function (exports, _emberMetalDebug, _emberMetalFeatures) {
|
@@ -18599,9 +18602,11 @@ enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'e
|
|
18599
18602
|
tags: ownMap
|
18600
18603
|
};
|
18601
18604
|
|
18605
|
+
// FLAGS
|
18602
18606
|
var SOURCE_DESTROYING = 1 << 1;
|
18603
18607
|
var SOURCE_DESTROYED = 1 << 2;
|
18604
18608
|
var META_DESTROYED = 1 << 3;
|
18609
|
+
var IS_PROXY = 1 << 4;
|
18605
18610
|
|
18606
18611
|
if (true || false) {
|
18607
18612
|
members.lastRendered = ownMap;
|
@@ -18737,6 +18742,14 @@ enifed('ember-metal/meta', ['exports', 'ember-utils', 'ember-metal/features', 'e
|
|
18737
18742
|
this._flags |= META_DESTROYED;
|
18738
18743
|
};
|
18739
18744
|
|
18745
|
+
Meta.prototype.isProxy = function isProxy() {
|
18746
|
+
return (this._flags & IS_PROXY) !== 0;
|
18747
|
+
};
|
18748
|
+
|
18749
|
+
Meta.prototype.setProxy = function setProxy() {
|
18750
|
+
this._flags |= IS_PROXY;
|
18751
|
+
};
|
18752
|
+
|
18740
18753
|
// Implements a member that is a lazily created, non-inheritable
|
18741
18754
|
// POJO.
|
18742
18755
|
function ownMap(name, Meta) {
|
@@ -30546,8 +30559,6 @@ enifed('ember-runtime/mixins/-proxy', ['exports', 'glimmer-reference', 'ember-me
|
|
30546
30559
|
|
30547
30560
|
'use strict';
|
30548
30561
|
|
30549
|
-
var _Mixin$create;
|
30550
|
-
|
30551
30562
|
function contentPropertyWillChange(content, contentKey) {
|
30552
30563
|
var key = contentKey.slice(8); // remove "content."
|
30553
30564
|
if (key in this) {
|
@@ -30604,49 +30615,71 @@ enifed('ember-runtime/mixins/-proxy', ['exports', 'glimmer-reference', 'ember-me
|
|
30604
30615
|
return ProxyTag;
|
30605
30616
|
})(_glimmerReference.CachedTag);
|
30606
30617
|
|
30607
|
-
exports.default = _emberMetal.Mixin.create(
|
30608
|
-
|
30609
|
-
|
30610
|
-
|
30611
|
-
|
30612
|
-
|
30613
|
-
|
30614
|
-
|
30615
|
-
|
30616
|
-
}, _Mixin$create.didUnwatchProperty = function (key) {
|
30617
|
-
var contentKey = 'content.' + key;
|
30618
|
-
_emberMetal._removeBeforeObserver(this, contentKey, null, contentPropertyWillChange);
|
30619
|
-
_emberMetal.removeObserver(this, contentKey, null, contentPropertyDidChange);
|
30620
|
-
}, _Mixin$create.unknownProperty = function (key) {
|
30621
|
-
var content = _emberMetal.get(this, 'content');
|
30622
|
-
if (content) {
|
30623
|
-
_emberMetal.deprecate('You attempted to access `' + key + '` from `' + this + '`, but object proxying is deprecated. Please use `model.' + key + '` instead.', !this.isController, { id: 'ember-runtime.controller-proxy', until: '3.0.0' });
|
30624
|
-
return _emberMetal.get(content, key);
|
30625
|
-
}
|
30626
|
-
}, _Mixin$create.setUnknownProperty = function (key, value) {
|
30627
|
-
var m = _emberMetal.meta(this);
|
30628
|
-
if (m.proto === this) {
|
30629
|
-
// if marked as prototype then just defineProperty
|
30630
|
-
// rather than delegate
|
30631
|
-
_emberMetal.defineProperty(this, key, null, value);
|
30632
|
-
return value;
|
30633
|
-
}
|
30618
|
+
exports.default = _emberMetal.Mixin.create({
|
30619
|
+
/**
|
30620
|
+
The object whose properties will be forwarded.
|
30621
|
+
@property content
|
30622
|
+
@type Ember.Object
|
30623
|
+
@default null
|
30624
|
+
@private
|
30625
|
+
*/
|
30626
|
+
content: null,
|
30634
30627
|
|
30635
|
-
|
30636
|
-
|
30628
|
+
init: function () {
|
30629
|
+
this._super.apply(this, arguments);
|
30630
|
+
_emberMetal.meta(this).setProxy();
|
30631
|
+
},
|
30637
30632
|
|
30638
|
-
_emberMetal.
|
30639
|
-
|
30640
|
-
|
30641
|
-
});
|
30633
|
+
_initializeTag: _emberMetal.on('init', function () {
|
30634
|
+
_emberMetal.meta(this)._tag = new ProxyTag(this);
|
30635
|
+
}),
|
30642
30636
|
|
30643
|
-
|
30644
|
-
|
30645
|
-
|
30646
|
-
|
30647
|
-
|
30648
|
-
|
30649
|
-
|
30637
|
+
_contentDidChange: _emberMetal.observer('content', function () {
|
30638
|
+
_emberMetal.assert('Can\'t set Proxy\'s content to itself', _emberMetal.get(this, 'content') !== this);
|
30639
|
+
_emberMetal.tagFor(this).contentDidChange();
|
30640
|
+
}),
|
30641
|
+
|
30642
|
+
isTruthy: _emberRuntimeComputedComputed_macros.bool('content'),
|
30643
|
+
|
30644
|
+
_debugContainerKey: null,
|
30645
|
+
|
30646
|
+
willWatchProperty: function (key) {
|
30647
|
+
var contentKey = 'content.' + key;
|
30648
|
+
_emberMetal._addBeforeObserver(this, contentKey, null, contentPropertyWillChange);
|
30649
|
+
_emberMetal.addObserver(this, contentKey, null, contentPropertyDidChange);
|
30650
|
+
},
|
30651
|
+
|
30652
|
+
didUnwatchProperty: function (key) {
|
30653
|
+
var contentKey = 'content.' + key;
|
30654
|
+
_emberMetal._removeBeforeObserver(this, contentKey, null, contentPropertyWillChange);
|
30655
|
+
_emberMetal.removeObserver(this, contentKey, null, contentPropertyDidChange);
|
30656
|
+
},
|
30657
|
+
|
30658
|
+
unknownProperty: function (key) {
|
30659
|
+
var content = _emberMetal.get(this, 'content');
|
30660
|
+
if (content) {
|
30661
|
+
_emberMetal.deprecate('You attempted to access `' + key + '` from `' + this + '`, but object proxying is deprecated. Please use `model.' + key + '` instead.', !this.isController, { id: 'ember-runtime.controller-proxy', until: '3.0.0' });
|
30662
|
+
return _emberMetal.get(content, key);
|
30663
|
+
}
|
30664
|
+
},
|
30665
|
+
|
30666
|
+
setUnknownProperty: function (key, value) {
|
30667
|
+
var m = _emberMetal.meta(this);
|
30668
|
+
if (m.proto === this) {
|
30669
|
+
// if marked as prototype then just defineProperty
|
30670
|
+
// rather than delegate
|
30671
|
+
_emberMetal.defineProperty(this, key, null, value);
|
30672
|
+
return value;
|
30673
|
+
}
|
30674
|
+
|
30675
|
+
var content = _emberMetal.get(this, 'content');
|
30676
|
+
_emberMetal.assert('Cannot delegate set(\'' + key + '\', ' + value + ') to the \'content\' property of object proxy ' + this + ': its \'content\' is undefined.', content);
|
30677
|
+
|
30678
|
+
_emberMetal.deprecate('You attempted to set `' + key + '` from `' + this + '`, but object proxying is deprecated. Please use `model.' + key + '` instead.', !this.isController, { id: 'ember-runtime.controller-proxy', until: '3.0.0' });
|
30679
|
+
return _emberMetal.set(content, key, value);
|
30680
|
+
}
|
30681
|
+
});
|
30682
|
+
});
|
30650
30683
|
enifed('ember-runtime/mixins/action_handler', ['exports', 'ember-metal'], function (exports, _emberMetal) {
|
30651
30684
|
/**
|
30652
30685
|
@module ember
|
@@ -30978,20 +31011,19 @@ enifed('ember-runtime/mixins/array', ['exports', 'ember-utils', 'ember-metal', '
|
|
30978
31011
|
|
30979
31012
|
_emberMetal.sendEvent(array, '@array:change', [array, startIdx, removeAmt, addAmt]);
|
30980
31013
|
|
30981
|
-
var
|
30982
|
-
var
|
30983
|
-
var cachedLast = _emberMetal.cacheFor(array, 'lastObject');
|
30984
|
-
|
30985
|
-
if (objectAt(array, 0) !== cachedFirst) {
|
30986
|
-
_emberMetal.propertyWillChange(array, 'firstObject');
|
30987
|
-
_emberMetal.propertyDidChange(array, 'firstObject');
|
30988
|
-
}
|
31014
|
+
var meta = _emberMetal.peekMeta(array);
|
31015
|
+
var cache = meta && meta.readableCache();
|
30989
31016
|
|
30990
|
-
if (
|
30991
|
-
|
30992
|
-
|
31017
|
+
if (cache) {
|
31018
|
+
if (cache.firstObject !== undefined && objectAt(array, 0) !== _emberMetal.cacheFor.get(cache, 'firstObject')) {
|
31019
|
+
_emberMetal.propertyWillChange(array, 'firstObject');
|
31020
|
+
_emberMetal.propertyDidChange(array, 'firstObject');
|
31021
|
+
}
|
31022
|
+
if (cache.lastObject !== undefined && objectAt(array, _emberMetal.get(array, 'length') - 1) !== _emberMetal.cacheFor.get(cache, 'lastObject')) {
|
31023
|
+
_emberMetal.propertyWillChange(array, 'lastObject');
|
31024
|
+
_emberMetal.propertyDidChange(array, 'lastObject');
|
31025
|
+
}
|
30993
31026
|
}
|
30994
|
-
|
30995
31027
|
return array;
|
30996
31028
|
}
|
30997
31029
|
|
@@ -42418,7 +42450,7 @@ enifed('ember/index', ['exports', 'require', 'ember-environment', 'ember-utils',
|
|
42418
42450
|
enifed("ember/version", ["exports"], function (exports) {
|
42419
42451
|
"use strict";
|
42420
42452
|
|
42421
|
-
exports.default = "2.10.0-beta.
|
42453
|
+
exports.default = "2.10.0-beta.2";
|
42422
42454
|
});
|
42423
42455
|
enifed('internal-test-helpers/apply-mixins', ['exports', 'ember-utils'], function (exports, _emberUtils) {
|
42424
42456
|
'use strict';
|
@@ -46053,7 +46085,7 @@ enifed('glimmer-runtime/lib/compiled/expressions/value', ['exports', 'glimmer-ru
|
|
46053
46085
|
exports.ValueReference = ValueReference;
|
46054
46086
|
});
|
46055
46087
|
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsaW1tZXItcnVudGltZS9saWIvY29tcGlsZWQvZXhwcmVzc2lvbnMvdmFsdWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O1FBS0EsYUFBQTs4QkFBQSxhQUFBOztBQUlFLGlCQUpGLGFBQUEsQ0FJYyxLQUFVLEVBQUE7QUFDcEIsMENBQU8sQ0FBQztBQUpILGdCQUFBLENBQUEsSUFBSSxHQUFHLE9BQU8sQ0FBQztBQUtwQixnQkFBSSxDQUFDLFNBQVMsR0FBRyxJQUFJLGNBQWMsQ0FBQyxLQUFLLENBQUMsQ0FBQztTQUM1Qzs7QUFQSCxxQkFBQSxXQVNFLFFBQVEsR0FBQSxrQkFBQyxFQUFNLEVBQUE7QUFDYixtQkFBTyxJQUFJLENBQUMsU0FBUyxDQUFDO1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HtcbiAgICAgIGNoaWxkID0gY2hpbGRyZW5ba2V5XSA9IG5ldyBWYWx1ZVJlZmVyZW5jZSh0aGlzLmlubmVyW2tleV0pO1xuICAgIH1cblxuICAgIHJldHVybiBjaGlsZDtcbiAgfVxuXG4gIHZhbHVlKCk6IGFueSB7IHJldHVybiB0aGlzLmlubmVyOyB9XG59XG4iXX0=
|
46056
|
-
enifed('glimmer-runtime/lib/compiled/opcodes/builder', ['exports', 'glimmer-runtime/lib/compiled/opcodes/component', 'glimmer-runtime/lib/compiled/opcodes/content', 'glimmer-runtime/lib/compiled/opcodes/dom', 'glimmer-runtime/lib/compiled/opcodes/lists', 'glimmer-runtime/lib/compiled/opcodes/vm', 'glimmer-util', 'glimmer-runtime/lib/utils'], function (exports, _glimmerRuntimeLibCompiledOpcodesComponent, _glimmerRuntimeLibCompiledOpcodesContent, _glimmerRuntimeLibCompiledOpcodesDom, _glimmerRuntimeLibCompiledOpcodesLists, _glimmerRuntimeLibCompiledOpcodesVm, _glimmerUtil, _glimmerRuntimeLibUtils) {
|
46088
|
+
enifed('glimmer-runtime/lib/compiled/opcodes/builder', ['exports', 'glimmer-runtime/lib/compiled/opcodes/component', 'glimmer-runtime/lib/compiled/opcodes/partial', 'glimmer-runtime/lib/compiled/opcodes/content', 'glimmer-runtime/lib/compiled/opcodes/dom', 'glimmer-runtime/lib/compiled/opcodes/lists', 'glimmer-runtime/lib/compiled/opcodes/vm', 'glimmer-util', 'glimmer-runtime/lib/utils'], function (exports, _glimmerRuntimeLibCompiledOpcodesComponent, _glimmerRuntimeLibCompiledOpcodesPartial, _glimmerRuntimeLibCompiledOpcodesContent, _glimmerRuntimeLibCompiledOpcodesDom, _glimmerRuntimeLibCompiledOpcodesLists, _glimmerRuntimeLibCompiledOpcodesVm, _glimmerUtil, _glimmerRuntimeLibUtils) {
|
46057
46089
|
'use strict';
|
46058
46090
|
|
46059
46091
|
var StatementCompilationBufferProxy = (function () {
|
@@ -46150,6 +46182,20 @@ enifed('glimmer-runtime/lib/compiled/opcodes/builder', ['exports', 'glimmer-runt
|
|
46150
46182
|
return label;
|
46151
46183
|
};
|
46152
46184
|
|
46185
|
+
// partials
|
46186
|
+
|
46187
|
+
BasicOpcodeBuilder.prototype.putPartialDefinition = function putPartialDefinition(definition) {
|
46188
|
+
this.append(new _glimmerRuntimeLibCompiledOpcodesPartial.PutPartialDefinitionOpcode(definition));
|
46189
|
+
};
|
46190
|
+
|
46191
|
+
BasicOpcodeBuilder.prototype.putDynamicPartialDefinition = function putDynamicPartialDefinition() {
|
46192
|
+
this.append(new _glimmerRuntimeLibCompiledOpcodesPartial.PutDynamicPartialDefinitionOpcode(this.symbolTable));
|
46193
|
+
};
|
46194
|
+
|
46195
|
+
BasicOpcodeBuilder.prototype.evaluatePartial = function evaluatePartial() {
|
46196
|
+
this.append(new _glimmerRuntimeLibCompiledOpcodesPartial.EvaluatePartialOpcode(this.symbolTable));
|
46197
|
+
};
|
46198
|
+
|
46153
46199
|
// components
|
46154
46200
|
|
46155
46201
|
BasicOpcodeBuilder.prototype.putComponentDefinition = function putComponentDefinition(definition) {
|
@@ -46422,11 +46468,11 @@ enifed('glimmer-runtime/lib/compiled/opcodes/builder', ['exports', 'glimmer-runt
|
|
46422
46468
|
var templates = _ref.templates;
|
46423
46469
|
var args = _ref.args;
|
46424
46470
|
|
46471
|
+
if (args) this.putArgs(args);
|
46425
46472
|
this.startLabels();
|
46426
46473
|
this.startBlock(templates);
|
46427
46474
|
this.enter('BEGIN', 'END');
|
46428
46475
|
this.label('BEGIN');
|
46429
|
-
if (args) this.putArgs(args);
|
46430
46476
|
callback(this, 'BEGIN', 'END');
|
46431
46477
|
this.label('END');
|
46432
46478
|
this.exit();
|
@@ -46475,7 +46521,7 @@ enifed('glimmer-runtime/lib/compiled/opcodes/builder', ['exports', 'glimmer-runt
|
|
46475
46521
|
|
46476
46522
|
exports.default = OpcodeBuilder;
|
46477
46523
|
});
|
46478
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2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Ghpcy5zdGFydExhYmVscygpO1xuICAgIHRoaXMuc3RhcnRCbG9jayh0ZW1wbGF0ZXMpO1xuICAgIGNhbGxiYWNrKHRoaXMpO1xuICAgIHRoaXMuZW5kQmxvY2soKTtcbiAgICB0aGlzLnN0b3BMYWJlbHMoKTtcbiAgfVxufVxuXG5leHBvcnQgaW50ZXJmYWNlIFVuaXRPcHRpb25zIHtcbiAgdGVtcGxhdGVzOiBTeW50YXguVGVtcGxhdGVzO1xufVxuXG5leHBvcnQgaW50ZXJmYWNlIEJsb2NrT3B0aW9ucyBleHRlbmRzIFVuaXRPcHRpb25zIHtcbiAgYXJnczogU3ludGF4LkFyZ3M7XG59XG5leHBvcnQgdHlwZSBCbG9ja0NhbGxiYWNrID0gKGRzbDogT3Bjb2RlQnVpbGRlciwgQkVHSU46IExhYmVsLCBFTkQ6IExhYmVsKSA9PiB2b2lkO1xuIl19
|
46479
46525
|
enifed('glimmer-runtime/lib/compiled/opcodes/component', ['exports', 'glimmer-runtime/lib/opcodes', 'glimmer-runtime/lib/compiled/opcodes/vm', 'glimmer-reference'], function (exports, _glimmerRuntimeLibOpcodes, _glimmerRuntimeLibCompiledOpcodesVm, _glimmerReference) {
|
46480
46526
|
'use strict';
|
46481
46527
|
|
@@ -46891,11 +46937,11 @@ enifed('glimmer-runtime/lib/compiled/opcodes/content', ['exports', 'glimmer-runt
|
|
46891
46937
|
// expanded version that handles both cases. The compilation would look
|
46892
46938
|
// like this:
|
46893
46939
|
//
|
46940
|
+
// PutValue(expression)
|
46941
|
+
// Test(is-component-definition)
|
46894
46942
|
// Enter(BEGIN, END)
|
46895
46943
|
// BEGIN: Noop
|
46896
|
-
// Test(is-component-definition)
|
46897
46944
|
// JumpUnless(VALUE)
|
46898
|
-
// COMPONENT: Noop
|
46899
46945
|
// PutDynamicComponentDefinitionOpcode
|
46900
46946
|
// OpenComponent
|
46901
46947
|
// CloseComponent
|
@@ -46912,11 +46958,10 @@ enifed('glimmer-runtime/lib/compiled/opcodes/content', ['exports', 'glimmer-runt
|
|
46912
46958
|
// code on the update side (scroll down for the next big block of comment).
|
46913
46959
|
var buffer = new _glimmerRuntimeLibCompiler.CompileIntoList(env, null);
|
46914
46960
|
var dsl = new _glimmerRuntimeLibCompiledOpcodesBuilder.default(buffer, this.symbolTable, env);
|
46915
|
-
dsl.
|
46916
|
-
|
46917
|
-
|
46961
|
+
dsl.putValue(this.expression);
|
46962
|
+
dsl.test(IsComponentDefinitionReference.create);
|
46963
|
+
dsl.simpleBlock(function (dsl, BEGIN, END) {
|
46918
46964
|
dsl.jumpUnless('VALUE');
|
46919
|
-
dsl.label('COMPONENT');
|
46920
46965
|
dsl.putDynamicComponentDefinition();
|
46921
46966
|
dsl.openComponent(_glimmerRuntimeLibSyntaxCore.Args.empty());
|
46922
46967
|
dsl.closeComponent();
|
@@ -47079,11 +47124,12 @@ enifed('glimmer-runtime/lib/compiled/opcodes/content', ['exports', 'glimmer-runt
|
|
47079
47124
|
var state = this.state;
|
47080
47125
|
|
47081
47126
|
var appendOps = appendOpcode.deopt(vm.env);
|
47082
|
-
var enter = appendOps.head();
|
47127
|
+
var enter = appendOps.head().next.next;
|
47083
47128
|
var ops = enter.slice;
|
47084
47129
|
var tracker = new _glimmerRuntimeLibBuilder.UpdatableBlockTracker(bounds.parentElement());
|
47085
47130
|
tracker.newBounds(this.bounds);
|
47086
47131
|
var children = new _glimmerUtil.LinkedList();
|
47132
|
+
state.frame['condition'] = IsComponentDefinitionReference.create(state.frame['operand']);
|
47087
47133
|
var deopted = this.deopted = new _glimmerRuntimeLibVmUpdate.TryOpcode(ops, state, tracker, children);
|
47088
47134
|
this._tag.update(deopted.tag);
|
47089
47135
|
vm.evaluateOpcode(deopted);
|
@@ -47283,7 +47329,7 @@ enifed('glimmer-runtime/lib/compiled/opcodes/content', ['exports', 'glimmer-runt
|
|
47283
47329
|
return GuardedTrustingUpdateOpcode;
|
47284
47330
|
})(GuardedUpdateOpcode);
|
47285
47331
|
});
|
47286
|
-
//#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287
47333
|
enifed('glimmer-runtime/lib/compiled/opcodes/dom', ['exports', 'glimmer-runtime/lib/opcodes', 'glimmer-util', 'glimmer-reference', 'glimmer-runtime/lib/references', 'glimmer-runtime/lib/compiled/expressions/value', 'glimmer-runtime/lib/compiled/opcodes/vm'], function (exports, _glimmerRuntimeLibOpcodes, _glimmerUtil, _glimmerReference, _glimmerRuntimeLibReferences, _glimmerRuntimeLibCompiledExpressionsValue, _glimmerRuntimeLibCompiledOpcodesVm) {
|
47288
47334
|
'use strict';
|
47289
47335
|
|
@@ -49348,11 +49394,11 @@ enifed('glimmer-runtime/lib/compiler', ['exports', 'glimmer-util', 'glimmer-runt
|
|
49348
49394
|
var shadow = arguments.length <= 5 || arguments[5] === undefined ? _glimmerRuntimeLibUtils.EMPTY_ARRAY : arguments[5];
|
49349
49395
|
|
49350
49396
|
this.dsl.unit({ templates: templates }, function (dsl) {
|
49351
|
-
dsl.enter('BEGIN', 'END');
|
49352
|
-
dsl.label('BEGIN');
|
49353
49397
|
dsl.putArgs(definitionArgs);
|
49354
49398
|
dsl.putValue(_glimmerRuntimeLibCompiledExpressionsFunction.default(definition));
|
49355
49399
|
dsl.test('simple');
|
49400
|
+
dsl.enter('BEGIN', 'END');
|
49401
|
+
dsl.label('BEGIN');
|
49356
49402
|
dsl.jumpUnless('END');
|
49357
49403
|
dsl.putDynamicComponentDefinition();
|
49358
49404
|
dsl.openComponent(args, shadow);
|
@@ -49417,7 +49463,7 @@ enifed('glimmer-runtime/lib/compiler', ['exports', 'glimmer-util', 'glimmer-runt
|
|
49417
49463
|
|
49418
49464
|
exports.CompileIntoList = CompileIntoList;
|
49419
49465
|
});
|
49420
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsaW1tZXItcnVudGltZS9saWIvY29tcGlsZXIudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7Ozs7UUFrQ0EsUUFBQTtBQUlFLGlCQUpGLFFBQ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SkgPT09ICdudW1iZXInO1xuICB9XG5cbiAgZ2V0QmxvY2tTeW1ib2wobmFtZTogc3RyaW5nKTogbnVtYmVyIHtcbiAgICByZXR1cm4gdGhpcy5zeW1ib2xUYWJsZS5nZXRZaWVsZChuYW1lKTtcbiAgfVxuXG4gIGhhc0Jsb2NrU3ltYm9sKG5hbWU6IHN0cmluZyk6IGJvb2xlYW4ge1xuICAgIHJldHVybiB0eXBlb2YgdGhpcy5zeW1ib2xUYWJsZS5nZXRZaWVsZChuYW1lKSA9PT0gJ251bWJlcic7XG4gIH1cblxuICBnZXRQYXJ0aWFsQXJnc1N5bWJvbCgpOiBudW1iZXIge1xuICAgIHJldHVybiB0aGlzLnN5bWJvbFRhYmxlLmdldFBhcnRpYWxBcmdzKCk7XG4gIH1cblxuICBoYXNQYXJ0aWFsQXJnc1N5bWJvbCgpOiBib29sZWFuIHtcbiAgICByZXR1cm4gdHlwZW9mIHRoaXMuc3ltYm9sVGFibGUuZ2V0UGFydGlhbEFyZ3MoKSA9PT0gJ251bWJlcic7XG4gIH1cblxuICB0b09wU2VxKCk6IE9wU2VxIHtcbiAgICByZXR1cm4gdGhpcztcbiAgfVxufVxuIl19
|
49421
49467
|
enifed('glimmer-runtime/lib/component/interfaces', ['exports'], function (exports) {
|
49422
49468
|
'use strict';
|
49423
49469
|
|
@@ -50984,10 +51030,10 @@ enifed('glimmer-runtime/lib/syntax/builtins/if', ['exports', 'glimmer-runtime/li
|
|
50984
51030
|
}
|
50985
51031
|
|
50986
51032
|
IfSyntax.prototype.compile = function compile(dsl) {
|
50987
|
-
// Enter(BEGIN, END)
|
50988
|
-
// BEGIN: Noop
|
50989
51033
|
// PutArgs
|
50990
51034
|
// Test(Environment)
|
51035
|
+
// Enter(BEGIN, END)
|
51036
|
+
// BEGIN: Noop
|
50991
51037
|
// JumpUnless(ELSE)
|
50992
51038
|
// Evaluate(default)
|
50993
51039
|
// Jump(END)
|
@@ -50998,8 +51044,9 @@ enifed('glimmer-runtime/lib/syntax/builtins/if', ['exports', 'glimmer-runtime/li
|
|
50998
51044
|
var args = this.args;
|
50999
51045
|
var templates = this.templates;
|
51000
51046
|
|
51001
|
-
dsl.
|
51002
|
-
|
51047
|
+
dsl.putArgs(args);
|
51048
|
+
dsl.test('environment');
|
51049
|
+
dsl.block({ templates: templates }, function (dsl, BEGIN, END) {
|
51003
51050
|
if (templates.inverse) {
|
51004
51051
|
dsl.jumpUnless('ELSE');
|
51005
51052
|
dsl.evaluate('default');
|
@@ -51018,7 +51065,7 @@ enifed('glimmer-runtime/lib/syntax/builtins/if', ['exports', 'glimmer-runtime/li
|
|
51018
51065
|
|
51019
51066
|
exports.default = IfSyntax;
|
51020
51067
|
});
|
51021
|
-
//# sourceMappingURL=data:application/json;base64,
|
51068
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsaW1tZXItcnVudGltZS9saWIvc3ludGF4L2J1aWx0aW5zL2lmLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztRQVFBLFFBQUE7OEJBQUEsUUFBQTs7QUFPRSxpQkFQRixRQUFBLENBT2MsSUFBdUUsRUFBQTtnQkFBckUsSUFBSSxHQUFOLElBQXVFLENBQXJFLElBQUk7Z0JBQUUsU0FBUyxHQUFqQixJQUF1RSxDQUEvRCxTQUFTOztBQUMzQix1Q0FBTyxDQUFDO0FBUFYsZ0JBQUEsQ0FBQSxJQUFJLEdBQUcsY0FBYyxDQUFDO0FBSWYsZ0JBQUEsQ0FBQSxRQUFRLEdBQUcsS0FBSyxDQUFDO0FBSXRCLGdCQUFJLENBQUMsSUFBSSxHQUFHLElBQUksQ0FBQztBQUNqQixnQkFBSSxDQUFDLFNBQVMsR0FBRyxTQUFTLENBQUM7U0FDNUI7O0FBWEgsZ0JBQUEsV0FhRSxPQUFPLEdBQUEsaUJBQUMsR0FBcUIsRUFBQTs7Ozs7Ozs7Ozs7O2dCQWFyQixJQUFJLEdBQWdCLElB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ICBkc2wuYmxvY2soeyB0ZW1wbGF0ZXMgfSwgKGRzbCwgQkVHSU4sIEVORCkgPT4ge1xuICAgICAgaWYgKHRlbXBsYXRlcy5pbnZlcnNlKSB7XG4gICAgICAgIGRzbC5qdW1wVW5sZXNzKCdFTFNFJyk7XG4gICAgICAgIGRzbC5ldmFsdWF0ZSgnZGVmYXVsdCcpO1xuICAgICAgICBkc2wuanVtcChFTkQpO1xuICAgICAgICBkc2wubGFiZWwoJ0VMU0UnKTtcbiAgICAgICAgZHNsLmV2YWx1YXRlKCdpbnZlcnNlJyk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBkc2wuanVtcFVubGVzcyhFTkQpO1xuICAgICAgICBkc2wuZXZhbHVhdGUoJ2RlZmF1bHQnKTtcbiAgICAgIH1cbiAgICB9KTtcbiAgfVxufVxuIl19
|
51022
51069
|
enifed('glimmer-runtime/lib/syntax/builtins/in-element', ['exports', 'glimmer-runtime/lib/syntax'], function (exports, _glimmerRuntimeLibSyntax) {
|
51023
51070
|
'use strict';
|
51024
51071
|
|
@@ -51040,9 +51087,9 @@ enifed('glimmer-runtime/lib/syntax/builtins/in-element', ['exports', 'glimmer-ru
|
|
51040
51087
|
var args = this.args;
|
51041
51088
|
var templates = this.templates;
|
51042
51089
|
|
51043
|
-
dsl.
|
51044
|
-
|
51045
|
-
|
51090
|
+
dsl.putArgs(args);
|
51091
|
+
dsl.test('simple');
|
51092
|
+
dsl.block({ templates: templates }, function (dsl, BEGIN, END) {
|
51046
51093
|
dsl.jumpUnless(END);
|
51047
51094
|
dsl.pushRemoteElement();
|
51048
51095
|
dsl.evaluate('default');
|
@@ -51055,9 +51102,9 @@ enifed('glimmer-runtime/lib/syntax/builtins/in-element', ['exports', 'glimmer-ru
|
|
51055
51102
|
|
51056
51103
|
exports.default = InElementSyntax;
|
51057
51104
|
});
|
51058
|
-
//# sourceMappingURL=data:application/json;base64,
|
51059
|
-
enifed(
|
51060
|
-
|
51105
|
+
//# sourceMappingURL=data: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GFyZ3MsIHRlbXBsYXRlcyB9ID0gdGhpcztcblxuICAgIGRzbC5wdXRBcmdzKGFyZ3MpO1xuICAgIGRzbC50ZXN0KCdzaW1wbGUnKTtcblxuICAgIGRzbC5ibG9jayh7IHRlbXBsYXRlcyB9LCAoZHNsLCBCRUdJTiwgRU5EKSA9PiB7XG4gICAgICBkc2wuanVtcFVubGVzcyhFTkQpO1xuICAgICAgZHNsLnB1c2hSZW1vdGVFbGVtZW50KCk7XG4gICAgICBkc2wuZXZhbHVhdGUoJ2RlZmF1bHQnKTtcbiAgICAgIGRzbC5wb3BSZW1vdGVFbGVtZW50KCk7XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
51106
|
+
enifed("glimmer-runtime/lib/syntax/builtins/partial", ["exports", "glimmer-runtime/lib/syntax"], function (exports, _glimmerRuntimeLibSyntax) {
|
51107
|
+
"use strict";
|
51061
51108
|
|
51062
51109
|
var StaticPartialSyntax = (function (_StatementSyntax) {
|
51063
51110
|
babelHelpers.inherits(StaticPartialSyntax, _StatementSyntax);
|
@@ -51068,14 +51115,14 @@ enifed('glimmer-runtime/lib/syntax/builtins/partial', ['exports', 'glimmer-runti
|
|
51068
51115
|
this.type = "static-partial";
|
51069
51116
|
}
|
51070
51117
|
|
51071
|
-
StaticPartialSyntax.prototype.compile = function compile(
|
51118
|
+
StaticPartialSyntax.prototype.compile = function compile(dsl, env, symbolTable) {
|
51072
51119
|
var name = String(this.name.inner());
|
51073
51120
|
if (!env.hasPartial(name, symbolTable)) {
|
51074
|
-
throw new Error(
|
51121
|
+
throw new Error("Compile Error: " + name + " is not a partial");
|
51075
51122
|
}
|
51076
51123
|
var definition = env.lookupPartial(name, symbolTable);
|
51077
|
-
|
51078
|
-
|
51124
|
+
dsl.putPartialDefinition(definition);
|
51125
|
+
dsl.evaluatePartial();
|
51079
51126
|
};
|
51080
51127
|
|
51081
51128
|
return StaticPartialSyntax;
|
@@ -51092,30 +51139,20 @@ enifed('glimmer-runtime/lib/syntax/builtins/partial', ['exports', 'glimmer-runti
|
|
51092
51139
|
this.type = "dynamic-partial";
|
51093
51140
|
}
|
51094
51141
|
|
51095
|
-
DynamicPartialSyntax.prototype.compile = function compile(
|
51096
|
-
var name = this.name
|
51097
|
-
|
51098
|
-
|
51099
|
-
|
51100
|
-
|
51101
|
-
|
51102
|
-
|
51103
|
-
|
51104
|
-
|
51105
|
-
|
51106
|
-
|
51107
|
-
|
51108
|
-
|
51109
|
-
var END = new _glimmerRuntimeLibCompiledOpcodesVm.LabelOpcode("END");
|
51110
|
-
compiler.append(new _glimmerRuntimeLibCompiledOpcodesVm.EnterOpcode(BEGIN, END));
|
51111
|
-
compiler.append(BEGIN);
|
51112
|
-
compiler.append(new _glimmerRuntimeLibCompiledOpcodesVm.PutValueOpcode(name));
|
51113
|
-
compiler.append(new _glimmerRuntimeLibCompiledOpcodesVm.TestOpcode(_glimmerRuntimeLibCompiledOpcodesVm.SimpleTest));
|
51114
|
-
compiler.append(new _glimmerRuntimeLibCompiledOpcodesVm.JumpUnlessOpcode(END));
|
51115
|
-
compiler.append(new _glimmerRuntimeLibCompiledOpcodesPartial.PutDynamicPartialDefinitionOpcode(symbolTable));
|
51116
|
-
compiler.append(new _glimmerRuntimeLibCompiledOpcodesPartial.EvaluatePartialOpcode(symbolTable));
|
51117
|
-
compiler.append(END);
|
51118
|
-
compiler.append(new _glimmerRuntimeLibCompiledOpcodesVm.ExitOpcode());
|
51142
|
+
DynamicPartialSyntax.prototype.compile = function compile(dsl) {
|
51143
|
+
var name = this.name;
|
51144
|
+
|
51145
|
+
dsl.startLabels();
|
51146
|
+
dsl.putValue(name);
|
51147
|
+
dsl.test('simple');
|
51148
|
+
dsl.enter('BEGIN', 'END');
|
51149
|
+
dsl.label('BEGIN');
|
51150
|
+
dsl.jumpUnless('END');
|
51151
|
+
dsl.putDynamicPartialDefinition();
|
51152
|
+
dsl.evaluatePartial();
|
51153
|
+
dsl.label('END');
|
51154
|
+
dsl.exit();
|
51155
|
+
dsl.stopLabels();
|
51119
51156
|
};
|
51120
51157
|
|
51121
51158
|
return DynamicPartialSyntax;
|
@@ -51123,7 +51160,7 @@ enifed('glimmer-runtime/lib/syntax/builtins/partial', ['exports', 'glimmer-runti
|
|
51123
51160
|
|
51124
51161
|
exports.DynamicPartialSyntax = DynamicPartialSyntax;
|
51125
51162
|
});
|
51126
|
-
//# sourceMappingURL=data:application/json;base64,
|
51163
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsaW1tZXItcnVudGltZS9saWIvc3ludGF4L2J1aWx0aW5zL3BhcnRpYWwudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O1FBY0EsbUJBQUE7OEJBQUEsbUJBQUE7O0FBR0UsaUJBSEYsbUJBQUEsQ0FHc0IsSUFBdUIsRUFBQTtBQUN6Qyx1Q0FBTyxDQUFDO0FBRFUsZ0JBQUEsQ0FBQSxJQUFJLEdBQUosSUFBSSxDQUFtQjtBQUZwQyxnQkFBQSxDQUFBLElBQUksR0FBRyxnQkFBZ0IsQ0FBQztTQUk5Qjs7QUFMSCwyQkFBQSxXQU9FLE9BQU8sR0FBQSxpQkFBQyxHQUFxQixFQUFFLEdBQWdCLEVBQUUsV0FBd0IsRUFBQTtBQUN2RSxnQkFBSSxJQUFJLEdBQUcsTUFBTSxDQUFDLElBQUksQ0FBQyxJQUFJLENBQUMsS0FBSyxFQUFFLENBQUMsQ0FBQztBQUVyQyxnQkFBSSxDQUFDLEdBQUcsQ0FBQyxVQUFVLENBQUMsSUFBSSxFQUFFLFdBQVcsQ0FBQyxFQUFFO0FBQ3RDLHNCQUFNLElBQUksS0FBSyxxQkFBbUIsSUFBSSx1QkFBb0IsQ0FBQzthQUM1RDtBQUVELGdCQUFJLFVBQVUsR0FBRyxHQUFHLENBQUMsYUFBYSxDQUFDLElBQUksRUFBRSxXQUFXLENBQUMsQ0FBQztBQUV0RCxlQUFHLENBQUMsb0JBQW9CLEN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pYWwobmFtZSwgc3ltYm9sVGFibGUpO1xuXG4gICAgZHNsLnB1dFBhcnRpYWxEZWZpbml0aW9uKGRlZmluaXRpb24pO1xuICAgIGRzbC5ldmFsdWF0ZVBhcnRpYWwoKTtcbiAgfVxufVxuXG5leHBvcnQgY2xhc3MgRHluYW1pY1BhcnRpYWxTeW50YXggZXh0ZW5kcyBTdGF0ZW1lbnRTeW50YXgge1xuICBwdWJsaWMgdHlwZSA9IFwiZHluYW1pYy1wYXJ0aWFsXCI7XG5cbiAgY29uc3RydWN0b3IocHJpdmF0ZSBuYW1lOiBFeHByZXNzaW9uU3ludGF4PE9wYXF1ZT4pIHtcbiAgICBzdXBlcigpO1xuICB9XG5cbiAgY29tcGlsZShkc2w6IE9wY29kZUJ1aWxkZXJEU0wpIHtcbiAgICBsZXQgeyBuYW1lIH0gPSB0aGlzO1xuXG4gICAgZHNsLnN0YXJ0TGFiZWxzKCk7XG5cbiAgICBkc2wucHV0VmFsdWUobmFtZSk7XG4gICAgZHNsLnRlc3QoJ3NpbXBsZScpO1xuICAgIGRzbC5lbnRlcignQkVHSU4nLCAnRU5EJyk7XG4gICAgZHNsLmxhYmVsKCdCRUdJTicpO1xuICAgIGRzbC5qdW1wVW5sZXNzKCdFTkQnKTtcbiAgICBkc2wucHV0RHluYW1pY1BhcnRpYWxEZWZpbml0aW9uKCk7XG4gICAgZHNsLmV2YWx1YXRlUGFydGlhbCgpO1xuICAgIGRzbC5sYWJlbCgnRU5EJyk7XG4gICAgZHNsLmV4aXQoKTtcblxuICAgIGRzbC5zdG9wTGFiZWxzKCk7XG4gIH1cbn1cbiJdfQ==
|
51127
51164
|
enifed('glimmer-runtime/lib/syntax/builtins/unless', ['exports', 'glimmer-runtime/lib/syntax'], function (exports, _glimmerRuntimeLibSyntax) {
|
51128
51165
|
'use strict';
|
51129
51166
|
|
@@ -51142,9 +51179,9 @@ enifed('glimmer-runtime/lib/syntax/builtins/unless', ['exports', 'glimmer-runtim
|
|
51142
51179
|
}
|
51143
51180
|
|
51144
51181
|
UnlessSyntax.prototype.compile = function compile(dsl, env) {
|
51182
|
+
// PutArgs
|
51145
51183
|
// Enter(BEGIN, END)
|
51146
51184
|
// BEGIN: Noop
|
51147
|
-
// PutArgs
|
51148
51185
|
// Test(Environment)
|
51149
51186
|
// JumpIf(ELSE)
|
51150
51187
|
// Evaluate(default)
|
@@ -51156,8 +51193,9 @@ enifed('glimmer-runtime/lib/syntax/builtins/unless', ['exports', 'glimmer-runtim
|
|
51156
51193
|
var args = this.args;
|
51157
51194
|
var templates = this.templates;
|
51158
51195
|
|
51159
|
-
dsl.
|
51160
|
-
|
51196
|
+
dsl.putArgs(args);
|
51197
|
+
dsl.test('environment');
|
51198
|
+
dsl.block({ templates: templates }, function (dsl) {
|
51161
51199
|
if (templates.inverse) {
|
51162
51200
|
dsl.jumpIf('ELSE');
|
51163
51201
|
dsl.evaluate('default');
|
@@ -51176,7 +51214,7 @@ enifed('glimmer-runtime/lib/syntax/builtins/unless', ['exports', 'glimmer-runtim
|
|
51176
51214
|
|
51177
51215
|
exports.default = UnlessSyntax;
|
51178
51216
|
});
|
51179
|
-
//# sourceMappingURL=data:application/json;base64,
|
51217
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsaW1tZXItcnVudGltZS9saWIvc3ludGF4L2J1aWx0aW5zL3VubGVzcy50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiOzs7UUFVQSxZQUFBOzhCQUFBLFlBQUE7O0FBT0UsaUJBUEYsWUFBQSxDQU9jLElBQXVFLEVBQUE7Z0JBQXJFLElBQUksR0FBTixJQUF1RSxDQUFyRSxJQUFJO2dCQUFFLFNBQVMsR0FBakIsSUFBdUUsQ0FBL0QsU0FBUzs7QUFDM0IsdUNBQU8sQ0FBQztBQVBWLGdCQUFBLENBQUEsSUFBSSxHQUFHLGtCQUFrQixDQUFDO0FBSW5CLGdCQUFBLENBQUEsUUFBUSxHQUF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YWx1YXRlKGRlZmF1bHQpXG4gICAgLy8gICAgICAgIEp1bXAoRU5EKVxuICAgIC8vIEVMU0U6ICBOb29wXG4gICAgLy8gICAgICAgIEV2YWx1bGF0ZShpbnZlcnNlKVxuICAgIC8vIEVORDogICBOb29wXG4gICAgLy8gICAgICAgIEV4aXRcblxuICAgIGxldCB7IGFyZ3MsIHRlbXBsYXRlcyB9ID0gdGhpcztcblxuICAgIGRzbC5wdXRBcmdzKGFyZ3MpO1xuICAgIGRzbC50ZXN0KCdlbnZpcm9ubWVudCcpO1xuXG4gICAgZHNsLmJsb2NrKHsgdGVtcGxhdGVzIH0sIGRzbCA9PiB7XG4gICAgICBpZiAodGVtcGxhdGVzLmludmVyc2UpIHtcbiAgICAgICAgZHNsLmp1bXBJZignRUxTRScpO1xuICAgICAgICBkc2wuZXZhbHVhdGUoJ2RlZmF1bHQnKTtcbiAgICAgICAgZHNsLmp1bXAoJ0VORCcpO1xuICAgICAgICBkc2wubGFiZWwoJ0VMU0UnKTtcbiAgICAgICAgZHNsLmV2YWx1YXRlKCdpbnZlcnNlJyk7XG4gICAgICB9IGVsc2Uge1xuICAgICAgICBkc2wuanVtcElmKCdFTkQnKTtcbiAgICAgICAgZHNsLmV2YWx1YXRlKCdkZWZhdWx0Jyk7XG4gICAgICB9XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
51180
51218
|
enifed('glimmer-runtime/lib/syntax/builtins/with-dynamic-vars', ['exports', 'glimmer-runtime/lib/syntax'], function (exports, _glimmerRuntimeLibSyntax) {
|
51181
51219
|
'use strict';
|
51182
51220
|
|
@@ -51231,10 +51269,10 @@ enifed('glimmer-runtime/lib/syntax/builtins/with', ['exports', 'glimmer-runtime/
|
|
51231
51269
|
}
|
51232
51270
|
|
51233
51271
|
WithSyntax.prototype.compile = function compile(dsl, env) {
|
51234
|
-
// Enter(BEGIN, END)
|
51235
|
-
// BEGIN: Noop
|
51236
51272
|
// PutArgs
|
51237
51273
|
// Test(Environment)
|
51274
|
+
// Enter(BEGIN, END)
|
51275
|
+
// BEGIN: Noop
|
51238
51276
|
// JumpUnless(ELSE)
|
51239
51277
|
// Evaluate(default)
|
51240
51278
|
// Jump(END)
|
@@ -51245,8 +51283,9 @@ enifed('glimmer-runtime/lib/syntax/builtins/with', ['exports', 'glimmer-runtime/
|
|
51245
51283
|
var args = this.args;
|
51246
51284
|
var templates = this.templates;
|
51247
51285
|
|
51248
|
-
dsl.
|
51249
|
-
|
51286
|
+
dsl.putArgs(args);
|
51287
|
+
dsl.test('environment');
|
51288
|
+
dsl.block({ templates: templates }, function (dsl, BEGIN, END) {
|
51250
51289
|
if (templates.inverse) {
|
51251
51290
|
dsl.jumpUnless('ELSE');
|
51252
51291
|
dsl.evaluate('default');
|
@@ -51265,7 +51304,7 @@ enifed('glimmer-runtime/lib/syntax/builtins/with', ['exports', 'glimmer-runtime/
|
|
51265
51304
|
|
51266
51305
|
exports.default = WithSyntax;
|
51267
51306
|
});
|
51268
|
-
//# sourceMappingURL=data:application/json;base64,
|
51307
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsaW1tZXItcnVudGltZS9saWIvc3ludGF4L2J1aWx0aW5zL3dpdGgudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O1FBU0EsVUFBQTs4QkFBQSxVQUFBOztBQU9FLGlCQVBGLFVBQUEsQ0FPYyxJQUF1RSxFQUFBO2dCQUFyRSxJQUFJLEdBQU4sSUFBdUUsQ0FBckUsSUFBSTtnQkFBRSxTQUFTLEdBQWpCLElBQXVFLENBQS9ELFNBQVM7O0FBQzNCLHVDQUFPLENBQUM7QUFQVixnQkFBQSxDQUFBLElBQUksR0FBRyxnQkFBZ0IsQ0FBQztBQUlqQixnQkFBQSxDQUFBLFFBQVEsR0FBRyxLQUFLLENBQUM7QUFJdEIsZ0JBQUksQ0FBQyxJQUFJLEdBQUcsSUFBSSxDQUFDO0FBQ2pCLGdCQUFJL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LyBFTFNFOiAgTm9vcFxuICAgIC8vICAgICAgICBFdmFsdWF0ZShpbnZlcnNlKVxuICAgIC8vIEVORDogICBOb29wXG4gICAgLy8gICAgICAgIEV4aXRcblxuICAgIGxldCB7IGFyZ3MsIHRlbXBsYXRlcyB9ID0gdGhpcztcblxuICAgIGRzbC5wdXRBcmdzKGFyZ3MpO1xuICAgIGRzbC50ZXN0KCdlbnZpcm9ubWVudCcpO1xuXG4gICAgZHNsLmJsb2NrKHsgdGVtcGxhdGVzIH0sIChkc2wsIEJFR0lOLCBFTkQpID0+IHtcbiAgICAgIGlmICh0ZW1wbGF0ZXMuaW52ZXJzZSkge1xuICAgICAgICBkc2wuanVtcFVubGVzcygnRUxTRScpO1xuICAgICAgICBkc2wuZXZhbHVhdGUoJ2RlZmF1bHQnKTtcbiAgICAgICAgZHNsLmp1bXAoRU5EKTtcbiAgICAgICAgZHNsLmxhYmVsKCdFTFNFJyk7XG4gICAgICAgIGRzbC5ldmFsdWF0ZSgnaW52ZXJzZScpO1xuICAgICAgfSBlbHNlIHtcbiAgICAgICAgZHNsLmp1bXBVbmxlc3MoRU5EKTtcbiAgICAgICAgZHNsLmV2YWx1YXRlKCdkZWZhdWx0Jyk7XG4gICAgICB9XG4gICAgfSk7XG4gIH1cbn1cbiJdfQ==
|
51269
51308
|
enifed('glimmer-runtime/lib/syntax/core', ['exports', 'glimmer-runtime/lib/syntax', 'glimmer-runtime/lib/syntax/builtins/partial', 'glimmer-runtime/lib/opcodes', 'glimmer-runtime/lib/compiled/opcodes/vm', 'glimmer-runtime/lib/compiled/opcodes/component', 'glimmer-runtime/lib/compiled/opcodes/dom', 'glimmer-runtime/lib/syntax/expressions', 'glimmer-runtime/lib/compiled/expressions/args', 'glimmer-runtime/lib/compiled/expressions/value', 'glimmer-runtime/lib/compiled/expressions/lookups', 'glimmer-runtime/lib/compiled/expressions/has-block', 'glimmer-runtime/lib/compiled/expressions/has-block-params', 'glimmer-runtime/lib/compiled/expressions/helper', 'glimmer-runtime/lib/compiled/expressions/concat', 'glimmer-runtime/lib/utils', 'glimmer-runtime/lib/compiled/opcodes/content'], function (exports, _glimmerRuntimeLibSyntax, _glimmerRuntimeLibSyntaxBuiltinsPartial, _glimmerRuntimeLibOpcodes, _glimmerRuntimeLibCompiledOpcodesVm, _glimmerRuntimeLibCompiledOpcodesComponent, _glimmerRuntimeLibCompiledOpcodesDom, _glimmerRuntimeLibSyntaxExpressions, _glimmerRuntimeLibCompiledExpressionsArgs, _glimmerRuntimeLibCompiledExpressionsValue, _glimmerRuntimeLibCompiledExpressionsLookups, _glimmerRuntimeLibCompiledExpressionsHasBlock, _glimmerRuntimeLibCompiledExpressionsHasBlockParams, _glimmerRuntimeLibCompiledExpressionsHelper, _glimmerRuntimeLibCompiledExpressionsConcat, _glimmerRuntimeLibUtils, _glimmerRuntimeLibCompiledOpcodesContent) {
|
51270
51309
|
'use strict';
|
51271
51310
|
|
@@ -52860,7 +52899,8 @@ enifed('glimmer-runtime/lib/vm/append', ['exports', 'glimmer-runtime/lib/environ
|
|
52860
52899
|
return {
|
52861
52900
|
env: this.env,
|
52862
52901
|
scope: this.scope(),
|
52863
|
-
dynamicScope: this.dynamicScope()
|
52902
|
+
dynamicScope: this.dynamicScope(),
|
52903
|
+
frame: this.frame.capture()
|
52864
52904
|
};
|
52865
52905
|
};
|
52866
52906
|
|
@@ -53018,6 +53058,12 @@ enifed('glimmer-runtime/lib/vm/append', ['exports', 'glimmer-runtime/lib/environ
|
|
53018
53058
|
|
53019
53059
|
/// EXECUTION
|
53020
53060
|
|
53061
|
+
VM.prototype.resume = function resume(opcodes, frame) {
|
53062
|
+
return this.execute(opcodes, function (vm) {
|
53063
|
+
return vm.frame.restore(frame);
|
53064
|
+
});
|
53065
|
+
};
|
53066
|
+
|
53021
53067
|
VM.prototype.execute = function execute(opcodes, initialize) {
|
53022
53068
|
_glimmerUtil.LOGGER.debug("[VM] Begin program execution");
|
53023
53069
|
var elementStack = this.elementStack;
|
@@ -53123,30 +53169,52 @@ enifed('glimmer-runtime/lib/vm/append', ['exports', 'glimmer-runtime/lib/environ
|
|
53123
53169
|
|
53124
53170
|
exports.default = VM;
|
53125
53171
|
});
|
53126
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsaW1tZXItcnVudGltZS9saWIvdm0vYXBwZW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztRQXdDQSxFQUFBO0FBbUJFLGlCQW5CRixFQUFBLENBb0JXLEdBQWdCLEVBQ3ZCLEtBQVksRUFDWixZQUEwQixFQUNsQixZQUEwQixFQUFBO0FBSDNCLGdCQUFBLENBQUEsR0FBRyxHQUFILEdBQUcsQ0FBYTtBQUdmLGdCQUFBLENBQUEsWUFBWSxHQUFaLFlBQVksQ0FBYztBQXRCNUIsZ0JBQUEsQ0FBQSxpQkFBaUIsR0FBRyxpQkF2Q1IsS0FBSyxFQXVDNEIsQ0FBQztBQUM5QyxnQkFBQSxDQUFBLFVBQVUsR0FBRyxpQkF4Q0QsS0FBSyxFQXdDYyxDQUFDO0FBQ2pDLGdCQUFBLENBQUEsbUJBQW1CLEdBQUcsaUJBekNULEtBQUssRUF5QzJDLENBQUM7QUFDOUQsZ0JBQUEsQ0FBQSxXQUFXLEdBQUcsaUJBMUNELEtBQUssRUEwQ3VCLENBQUM7QUFDMUMsZ0JBQUEsQ0FBQSxjQUFjLEdBQUcsaUJBM0NKLEtBQUssRUEyQzJCLENBQUM7QUFDOUMsZ0JBQUEsQ0FBQSxLQUFLLEdBQUcsOEJBaENSLFVBQVUsRUFnQ2MsQ0FBQztBQW1COUIsZ0JBQUksQ0FBQyxHQUFHLEdBQUcsR0FBRyxDQUFDO0FBQ2YsZ0JBQUksQ0FBQyxZQUFZLEdBQUcsWUFBWSxDQUFDO0FBQ2pDLGdCQUFJLENBQUMsVUFBVSxDQUFDLElBQUksQ0FBQyxLQUFLLENBQUMsQ0FBQztBQUM1QixnQkFBS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ZXJSZXN1bHQ6IFJlbmRlclJlc3VsdCk7XG59XG4iXX0=
|
53127
|
-
enifed(
|
53128
|
-
|
53129
|
-
|
53130
|
-
var Frame = function Frame(ops) {
|
53131
|
-
var component = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];
|
53132
|
-
var manager = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];
|
53133
|
-
var shadow = arguments.length <= 3 || arguments[3] === undefined ? null : arguments[3];
|
53172
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsaW1tZXItcnVudGltZS9saWIvdm0vYXBwZW5kLnRzIl0sIm5hbWVzIjpbXSwibWFwcGluZ3MiOiI7OztRQXdDQSxFQUFBO0FBbUJFLGlCQW5CRixFQUFBLENBb0JXLEdBQWdCLEVBQ3ZCLEtBQVksRUFDWixZQUEwQixFQUNsQixZQUEwQixFQUFBO0FBSDNCLGdCQUFBLENBQUEsR0FBRyxHQUFILEdBQUcsQ0FBYTtBQUdmLGdCQUFBLENBQUEsWUFBWSxHQUFaLFlBQVksQ0FBYztBQXRCNUIsZ0JBQUEsQ0FBQSxpQkFBaUIsR0FBRyxpQkF2Q1IsS0FBSyxFQXVDNEIsQ0FBQztBQUM5QyxnQkFBQSxDQUFBLFVBQVUsR0FBRyxpQkF4Q0QsS0FBSyxFQXdDYyxDQUFDO0FBQ2pDLGdCQUFBLENBQUEsbUJBQW1CLEdBQUcsaUJBekNULEtBQUssRUF5QzJDLENBQUM7QUFDOUQsZ0JBQUEsQ0FBQSxXQUFXLEdBQUcsaUJBMUNELEtBQUssRUEwQ3VCLENBQUM7QUFDMUMsZ0JBQUEsQ0FBQSxjQUFjLEdBQUcsaUJBM0NKLEtBQUssRUEyQzJCLENBQUM7QUFDOUMsZ0JBQUEsQ0FBQSxLQUFLLEdBQUcsOEJBaENPLFVBQVUsRUFnQ0QsQ0FBQztBQW1COUIsZ0JBQUksQ0FBQyxHQUFHLEdBQUcsR0FB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vbDogbnVtYmVyKSB7XG4gICAgbGV0IGFyZ3MgPSB0aGlzLmZyYW1lLmdldEFyZ3MoKTtcblxuICAgIGFzc2VydChhcmdzLCBcIkNhbm5vdCBiaW5kIG5hbWVkIGFyZ3NcIik7XG5cbiAgICB0aGlzLnNjb3BlKCkuYmluZFN5bWJvbChzeW1ib2wsIGFyZ3MubmFtZWQpO1xuICB9XG5cbiAgYmluZER5bmFtaWNTY29wZShuYW1lczogc3RyaW5nW10pIHtcbiAgICBsZXQgYXJncyA9IHRoaXMuZnJhbWUuZ2V0QXJncygpO1xuXG4gICAgYXNzZXJ0KGFyZ3MsIFwiQ2Fubm90IGJpbmQgZHluYW1pYyBzY29wZVwiKTtcblxuICAgIGxldCBzY29wZSA9IHRoaXMuZHluYW1pY1Njb3BlKCk7XG5cbiAgICBmb3IobGV0IGk9MDsgaSA8IG5hbWVzLmxlbmd0aDsgaSsrKSB7XG4gICAgICBzY29wZS5zZXQobmFtZXNbaV0sIGFyZ3MubmFtZWQuZ2V0KG5hbWVzW2ldKSk7XG4gICAgfVxuICB9XG59XG5cbmludGVyZmFjZSBFeGNlcHRpb25IYW5kbGVyIHtcbiAgaGFuZGxlRXhjZXB0aW9uKGluaXRpYWxpemU/OiAodm06IFZNKSA9PiB2b2lkKTtcbn1cblxuaW50ZXJmYWNlIFJldHVybkhhbmRsZXIge1xuICBzZXRSZW5kZXJSZXN1bHQocmVuZGVyUmVzdWx0OiBSZW5kZXJSZXN1bHQpO1xufVxuIl19
|
53173
|
+
enifed('glimmer-runtime/lib/vm/frame', ['exports'], function (exports) {
|
53174
|
+
'use strict';
|
53134
53175
|
|
53135
|
-
|
53136
|
-
this.
|
53137
|
-
this.
|
53138
|
-
this.
|
53139
|
-
this.immediate = null;
|
53140
|
-
this.args = null;
|
53141
|
-
this.callerScope = null;
|
53142
|
-
this.blocks = null;
|
53143
|
-
this.condition = null;
|
53144
|
-
this.iterator = null;
|
53145
|
-
this.key = null;
|
53146
|
-
this.ops = ops;
|
53147
|
-
this.op = ops.head();
|
53176
|
+
var CapturedFrame = function CapturedFrame(operand, args, condition) {
|
53177
|
+
this.operand = operand;
|
53178
|
+
this.args = args;
|
53179
|
+
this.condition = condition;
|
53148
53180
|
};
|
53149
53181
|
|
53182
|
+
exports.CapturedFrame = CapturedFrame;
|
53183
|
+
|
53184
|
+
var Frame = (function () {
|
53185
|
+
function Frame(ops) {
|
53186
|
+
var component = arguments.length <= 1 || arguments[1] === undefined ? null : arguments[1];
|
53187
|
+
var manager = arguments.length <= 2 || arguments[2] === undefined ? null : arguments[2];
|
53188
|
+
var shadow = arguments.length <= 3 || arguments[3] === undefined ? null : arguments[3];
|
53189
|
+
|
53190
|
+
this.component = component;
|
53191
|
+
this.manager = manager;
|
53192
|
+
this.shadow = shadow;
|
53193
|
+
this.operand = null;
|
53194
|
+
this.immediate = null;
|
53195
|
+
this.args = null;
|
53196
|
+
this.callerScope = null;
|
53197
|
+
this.blocks = null;
|
53198
|
+
this.condition = null;
|
53199
|
+
this.iterator = null;
|
53200
|
+
this.key = null;
|
53201
|
+
this.ops = ops;
|
53202
|
+
this.op = ops.head();
|
53203
|
+
}
|
53204
|
+
|
53205
|
+
Frame.prototype.capture = function capture() {
|
53206
|
+
return new CapturedFrame(this.operand, this.args, this.condition);
|
53207
|
+
};
|
53208
|
+
|
53209
|
+
Frame.prototype.restore = function restore(frame) {
|
53210
|
+
this.operand = frame['operand'];
|
53211
|
+
this.args = frame['args'];
|
53212
|
+
this.condition = frame['condition'];
|
53213
|
+
};
|
53214
|
+
|
53215
|
+
return Frame;
|
53216
|
+
})();
|
53217
|
+
|
53150
53218
|
var FrameStack = (function () {
|
53151
53219
|
function FrameStack() {
|
53152
53220
|
this.frames = [];
|
@@ -53173,6 +53241,14 @@ enifed("glimmer-runtime/lib/vm/frame", ["exports"], function (exports) {
|
|
53173
53241
|
this.frame = frame === 0 ? undefined : frame - 1;
|
53174
53242
|
};
|
53175
53243
|
|
53244
|
+
FrameStack.prototype.capture = function capture() {
|
53245
|
+
return this.frames[this.frame].capture();
|
53246
|
+
};
|
53247
|
+
|
53248
|
+
FrameStack.prototype.restore = function restore(frame) {
|
53249
|
+
this.frames[this.frame].restore(frame);
|
53250
|
+
};
|
53251
|
+
|
53176
53252
|
FrameStack.prototype.getOps = function getOps() {
|
53177
53253
|
return this.frames[this.frame].ops;
|
53178
53254
|
};
|
@@ -53287,7 +53363,7 @@ enifed("glimmer-runtime/lib/vm/frame", ["exports"], function (exports) {
|
|
53287
53363
|
|
53288
53364
|
exports.FrameStack = FrameStack;
|
53289
53365
|
});
|
53290
|
-
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJzb3VyY2VzIjpbImdsaW1tZXItcnVudGltZS9saWIvdm0vZnJhbWUudHMiXSwibmFtZXMiOltdLCJtYXBwaW5ncyI6Ijs7O1FBUUEsS0FBQSxHQVlFLFNBWkYsS0FBQSxDQWFJLEdBQVUsRUFHb0I7WUFGdkIsU0FBUyx5REFBYyxJQUFJO1lBQzNCLE9BQU8seURBQWdDLElBQUk7WUFDM0MsTUFBTSx5REFBYSxJQUFJOztBQUZ2QixZQUFBLENBQUEsU0FBUyxHQUFULFNBQVMsQ0FBa0I7QUFDM0IsWUFBQSxDQUFBLE9BQU8sR0FBUCxPQUFPLENBQW9DO0FBQzNDLFlBQUEsQ0FBQSxNQUFNLEdBQU4sTUFBTSxDQUFpQjtBQWJoQyxZQUFBLENBQUEsT0FBTyxHQUF1QixJQUFJLENBQUM7QUFDbkMsWUFBQSxDQUFBLFNBQVMsR0FBUSxJQUFJLENBQUM7QUFDdEIsWUFBQSxDQUFBLElBQUksR0FBa0IsSUFBSSxDQUFDO0FBQzNCLFlBQUEsQ0FBQSxXQUFXLEdBQVUsSUFBSSxDQUFDO0FBQzFCLFlBQUEsQ0FBQSxNQUFNLEdBQVcsSUFBSSxDQUFDO0FBQ3RCLFlBQUEsQ0FBQSxTQUFTLEdBQXVCLElBQUksQ0FBQztBQUNyQyxZQUFBL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1xuICAgIH1cbiAgfVxufVxuIl19
|
53291
53367
|
enifed('glimmer-runtime/lib/vm/render-result', ['exports', 'glimmer-runtime/lib/bounds', 'glimmer-runtime/lib/vm/update'], function (exports, _glimmerRuntimeLibBounds, _glimmerRuntimeLibVmUpdate) {
|
53292
53368
|
'use strict';
|
53293
53369
|
|
@@ -53405,12 +53481,14 @@ enifed('glimmer-runtime/lib/vm/update', ['exports', 'glimmer-runtime/lib/bounds'
|
|
53405
53481
|
var env = state.env;
|
53406
53482
|
var scope = state.scope;
|
53407
53483
|
var dynamicScope = state.dynamicScope;
|
53484
|
+
var frame = state.frame;
|
53408
53485
|
|
53409
53486
|
this.ops = ops;
|
53410
53487
|
this.children = children;
|
53411
53488
|
this.env = env;
|
53412
53489
|
this.scope = scope;
|
53413
53490
|
this.dynamicScope = dynamicScope;
|
53491
|
+
this.frame = frame;
|
53414
53492
|
this.bounds = bounds;
|
53415
53493
|
}
|
53416
53494
|
|
@@ -53480,11 +53558,13 @@ enifed('glimmer-runtime/lib/vm/update', ['exports', 'glimmer-runtime/lib/bounds'
|
|
53480
53558
|
TryOpcode.prototype.handleException = function handleException() {
|
53481
53559
|
var env = this.env;
|
53482
53560
|
var scope = this.scope;
|
53561
|
+
var ops = this.ops;
|
53483
53562
|
var dynamicScope = this.dynamicScope;
|
53563
|
+
var frame = this.frame;
|
53484
53564
|
|
53485
53565
|
var elementStack = _glimmerRuntimeLibBuilder.ElementStack.resume(this.env, this.bounds, this.bounds.reset(env));
|
53486
53566
|
var vm = new _glimmerRuntimeLibVmAppend.default(env, scope, dynamicScope, elementStack);
|
53487
|
-
var result = vm.
|
53567
|
+
var result = vm.resume(ops, frame);
|
53488
53568
|
this.children = result.opcodes();
|
53489
53569
|
this.didInitializeChildren();
|
53490
53570
|
};
|
@@ -53670,7 +53750,7 @@ enifed('glimmer-runtime/lib/vm/update', ['exports', 'glimmer-runtime/lib/bounds'
|
|
53670
53750
|
return UpdatingVMFrame;
|
53671
53751
|
})();
|
53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247XG4gIH1cbn1cblxuY2xhc3MgVXBkYXRpbmdWTUZyYW1lIHtcbiAgcHJpdmF0ZSB2bTogVXBkYXRpbmdWTTtcbiAgcHJpdmF0ZSBvcHM6IFVwZGF0aW5nT3BTZXE7XG4gIHByaXZhdGUgY3VycmVudDogVXBkYXRpbmdPcGNvZGU7XG4gIHByaXZhdGUgZXhjZXB0aW9uSGFuZGxlcjogRXhjZXB0aW9uSGFuZGxlcjtcblxuICBjb25zdHJ1Y3Rvcih2bTogVXBkYXRpbmdWTSwgb3BzOiBVcGRhdGluZ09wU2VxLCBoYW5kbGVyOiBFeGNlcHRpb25IYW5kbGVyKSB7XG4gICAgdGhpcy52bSA9IHZtO1xuICAgIHRoaXMub3BzID0gb3BzO1xuICAgIHRoaXMuY3VycmVudCA9IG9wcy5oZWFkKCk7XG4gICAgdGhpcy5leGNlcHRpb25IYW5kbGVyID0gaGFuZGxlcjtcbiAgfVxuXG4gIGdvdG8ob3A6IFVwZGF0aW5nT3Bjb2RlKSB7XG4gICAgdGhpcy5jdXJyZW50ID0gb3A7XG4gIH1cblxuICBuZXh0U3RhdGVtZW50KCk6IFVwZGF0aW5nT3Bjb2RlIHtcbiAgICBsZXQgeyBjdXJyZW50LCBvcHMgfSA9IHRoaXM7XG4gICAgaWYgKGN1cnJlbnQpIHRoaXMuY3VycmVudCA9IG9wcy5uZXh0Tm9kZShjdXJyZW50KTtcbiAgICByZXR1cm4gY3VycmVudDtcbiAgfVxuXG4gIGhhbmRsZUV4Y2VwdGlvbigpIHtcbiAgICB0aGlzLmV4Y2VwdGlvbkhhbmRsZXIuaGFuZGxlRXhjZXB0aW9uKCk7XG4gIH1cbn1cbiJdfQ==
|
53674
53754
|
enifed('glimmer-util/index', ['exports', 'glimmer-util/lib/namespaces', 'glimmer-util/lib/platform-utils', 'glimmer-util/lib/assert', 'glimmer-util/lib/logger', 'glimmer-util/lib/object-utils', 'glimmer-util/lib/guid', 'glimmer-util/lib/collections', 'glimmer-util/lib/list-utils'], function (exports, _glimmerUtilLibNamespaces, _glimmerUtilLibPlatformUtils, _glimmerUtilLibAssert, _glimmerUtilLibLogger, _glimmerUtilLibObjectUtils, _glimmerUtilLibGuid, _glimmerUtilLibCollections, _glimmerUtilLibListUtils) {
|
53675
53755
|
'use strict';
|
53676
53756
|
|