@angular/core 10.0.9 → 10.0.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundles/core-testing.umd.js +1 -1
- package/bundles/core-testing.umd.min.js +1 -1
- package/bundles/core-testing.umd.min.js.map +1 -1
- package/bundles/core.umd.js +52 -22
- package/bundles/core.umd.js.map +1 -1
- package/bundles/core.umd.min.js +4 -4
- package/bundles/core.umd.min.js.map +1 -1
- package/core.d.ts +1 -1
- package/core.metadata.json +1 -1
- package/esm2015/src/reflection/reflection_capabilities.js +38 -8
- package/esm2015/src/render3/node_manipulation.js +1 -11
- package/esm2015/src/render3/styling/styling_parser.js +3 -2
- package/esm2015/src/render3/view_engine_compatibility.js +13 -4
- package/esm2015/src/util/char_code.js +1 -1
- package/esm2015/src/version.js +1 -1
- package/fesm2015/core.js +52 -22
- package/fesm2015/core.js.map +1 -1
- package/fesm2015/testing.js +1 -1
- package/package.json +1 -1
- package/src/r3_symbols.d.ts +1 -1
- package/testing/testing.d.ts +1 -1
- package/testing.d.ts +1 -1
package/bundles/core.umd.min.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v10.0.
|
|
2
|
+
* @license Angular v10.0.10
|
|
3
3
|
* (c) 2010-2020 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -371,7 +371,7 @@ var So={};
|
|
|
371
371
|
*
|
|
372
372
|
* Use of this source code is governed by an MIT-style license that can be
|
|
373
373
|
* found in the LICENSE file at https://angular.io/license
|
|
374
|
-
*/var Ia,xa,Ea,Oa,ka=function(){function e(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){var e=this._lView;return null==e[0]?function e(t,n,r,o,i){for(void 0===i&&(i=!1);null!==r;){var a=n[r.index];if(null!==a&&o.push(It(a)),at(a))for(var s=10;s<a.length;s++){var l=a[s],c=l[1].firstChild;null!==c&&e(l[1],l,c,o)}var f=r.type;if(4===f||5===f)e(t,n,r.child,o);else if(1===f){var d=n[16],p=d[6].projection[r.projection];if(Array.isArray(p))o.push.apply(o,u(p));else{var h=Ro(d);e(h[1],h,p,o,!0)}}r=i?r.projectionNext:r.next}return o}(e[1],e,e[6].child,[]):[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._lView[8]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 256==(256&this._lView[2])},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}ia(this._lView[1],this._lView)},e.prototype.onDestroy=function(e){bi(this._lView[1],this._lView,null,e)},e.prototype.markForCheck=function(){Bi(this._cdRefInjectingView||this._lView)},e.prototype.detach=function(){this._lView[2]&=-129},e.prototype.reattach=function(){this._lView[2]|=128},e.prototype.detectChanges=function(){Qi(this._lView[1],this._lView,this.context)},e.prototype.checkNoChanges=function(){!function e(t,n,r){Gt(!0);try{Qi(t,n,r)}finally{Gt(!1)}}(this._lView[1],this._lView,this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null,function e(t,n){ma(t,n,n[11],2,null,null)}(this._lView[1],this._lView)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e}(),Pa=function(e){function t(t){var n=e.call(this,t)||this;return n._view=t,n}return o(t,e),t.prototype.detectChanges=function(){zi(this._view)},t.prototype.checkNoChanges=function(){!function e(t){Gt(!0);try{zi(t)}finally{Gt(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!1,configurable:!0}),t}(ka);function Na(e,t,n){return Ia||(Ia=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(e)),new Ia(Et(t,n))}function Ta(e,t,n,r){return xa||(xa=function(e){function t(t,n,r){var o=e.call(this)||this;return o._declarationView=t,o._declarationTContainer=n,o.elementRef=r,o}return o(t,e),t.prototype.createEmbeddedView=function(e){var t=this._declarationTContainer.tViews,n=si(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),ci(t,n,e),new ka(n)},t}(e)),0===n.type?new xa(r,n,Na(t,n,r)):null}function ja(e,t,n,r){var i;Ea||(Ea=function(e){function n(t,n,r){var o=e.call(this)||this;return o._lContainer=t,o._hostTNode=n,o._hostView=r,o}return o(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return Na(t,this._hostTNode,this._hostView)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new ar(this._hostTNode,this._hostView)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=Jn(this._hostTNode,this._hostView),t=Vn(e,this._hostView),n=function r(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,o=n.parent;null!=o.parent&&r==o.parent.injectorIndex;)o=o.parent;return o}for(var i=Rn(e),a=t,u=t[6];i>1;)u=(a=a[15])[6],i--;return u}(e,this._hostView,this._hostTNode);return An(e)&&null!=n?new ar(n,t):new ar(null,this._hostView)},enumerable:!1,configurable:!0}),n.prototype.clear=function(){for(;this.length>0;)this.remove(this.length-1)},n.prototype.get=function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer.length-10},enumerable:!1,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},n.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;if(!o&&null==e.ngModule&&i){var a=i.get(ke,null);a&&(o=a)}var u=e.create(i,r,void 0,o);return this.insert(u.hostView,t),u},n.prototype.insert=function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),function o(e){return at(e[3])}(n)){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var a=n[3],u=new Ea(a,a[6],a[3]);u.detach(u.indexOf(e))}}var s=this._adjustIndex(t);return function l(e,t,n,r){var o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],Re(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var a=t[17];null!==a&&n!==a&&function u(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,n,this._lContainer,s),na(r,n,!0,va(s,this._lContainer)),e.attachToViewContainerRef(this),Re(this._lContainer[8],s,e),e},n.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)},n.prototype.indexOf=function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1},n.prototype.remove=function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1);!function n(e,t){var n=oa(e,t);n&&ia(n[1],n)}(this._lContainer,t),Ve(this._lContainer[8],t)},n.prototype.detach=function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=oa(this._lContainer,t);return n&&null!=Ve(this._lContainer[8],t)?new ka(n):null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this.length+t:e},n.prototype.allocateContainerIfNeeded=function(){null===this._lContainer[8]&&(this._lContainer[8]=[])},n}(e));var a=r[n.index];if(at(a))i=a;else{var u=void 0;if(4===n.type)u=It(a);else if(u=r[11].createComment(""),ft(r)){var s=r[11],l=Et(n,r);la(s,da(s,l),u,function c(e,t){return wt(e)?e.nextSibling(t):t.nextSibling}(s,l))}else ha(r[1],r,u,n);r[n.index]=i=Mi(a,r,u,n),Li(r,i)}return new Ea(i,n,r)}function Da(e){return void 0===e&&(e=!1),function t(e,n,r){if(!r&&st(e)){var o=Nt(e.index,n);return new ka(o,o)}return 3===e.type||0===e.type||4===e.type||5===e.type?new ka(n[16],n):null}(zt(),Bt(),e)}(Oa=function Oa(){}).__NG_ELEMENT_ID__=function(){return Sa()};var Aa=Da,Sa=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Ra=Function;function Va(e){return"function"==typeof e}var Ma=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Fa=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Ha=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,La=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/,Ba=function(){function e(e){this._reflect=e||Y.Reflect}return e.prototype.isReflectionEnabled=function(){return!0},e.prototype.factory=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new(e.bind.apply(e,u([void 0],t)))}},e.prototype._zipTypesAndAnnotations=function(e,t){var n;n=Me(void 0===e?t.length:e.length);for(var r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]&&e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n},e.prototype._ownParameters=function(e,t){if(function n(e){return Ma.test(e)||La.test(e)||Fa.test(e)&&!Ha.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var o="function"==typeof r?r():r,i=o.map((function(e){return e&&e.type})),a=o.map((function(e){return e&&Ua(e.decorators)}));return this._zipTypesAndAnnotations(i,a)}var u=e.hasOwnProperty(c)&&e[c],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||u?this._zipTypesAndAnnotations(s,u):Me(e.length)},e.prototype.parameters=function(e){if(!Va(e))return[];var t=Qa(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]},e.prototype._ownAnnotations=function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?Ua(e.decorators):e.hasOwnProperty(l)?e[l]:null},e.prototype.annotations=function(e){if(!Va(e))return[];var t=Qa(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)},e.prototype._ownPropMetadata=function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,o={};return Object.keys(r).forEach((function(e){o[e]=Ua(r[e])})),o}return e.hasOwnProperty(f)?e[f]:null},e.prototype.propMetadata=function(e){if(!Va(e))return{};var t=Qa(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach((function(e){n[e]=r[e]}))}var o=this._ownPropMetadata(e,t);return o&&Object.keys(o).forEach((function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,u(n[e])),t.push.apply(t,u(o[e])),n[e]=t})),n},e.prototype.ownPropMetadata=function(e){return Va(e)&&this._ownPropMetadata(e,Qa(e))||{}},e.prototype.hasLifecycleHook=function(e,t){return e instanceof Ra&&t in e.prototype},e.prototype.guards=function(e){return{}},e.prototype.getter=function(e){return new Function("o","return o."+e+";")},e.prototype.setter=function(e){return new Function("o","v","return o."+e+" = v;")},e.prototype.method=function(e){return new Function("o","args","if (!o."+e+") throw new Error('\""+e+"\" is undefined');\n return o."+e+".apply(o, args);")},e.prototype.importUri=function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+F(e)},e.prototype.resourceUri=function(e){return"./"+F(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function Ua(e){return e?e.map((function(e){var t=e.type.annotationCls;return new(t.bind.apply(t,u([void 0],e.args?e.args:[])))})):[]}function Qa(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
|
|
374
|
+
*/var Ia,xa,Ea,Oa,ka=function(){function e(e,t){this._lView=e,this._cdRefInjectingView=t,this._appRef=null,this._viewContainerRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){var e=this._lView;return null==e[0]?function e(t,n,r,o,i){for(void 0===i&&(i=!1);null!==r;){var a=n[r.index];if(null!==a&&o.push(It(a)),at(a))for(var s=10;s<a.length;s++){var l=a[s],c=l[1].firstChild;null!==c&&e(l[1],l,c,o)}var f=r.type;if(4===f||5===f)e(t,n,r.child,o);else if(1===f){var d=n[16],p=d[6].projection[r.projection];if(Array.isArray(p))o.push.apply(o,u(p));else{var h=Ro(d);e(h[1],h,p,o,!0)}}r=i?r.projectionNext:r.next}return o}(e[1],e,e[6].child,[]):[]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._lView[8]},enumerable:!1,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 256==(256&this._lView[2])},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){if(this._appRef)this._appRef.detachView(this);else if(this._viewContainerRef){var e=this._viewContainerRef.indexOf(this);e>-1&&this._viewContainerRef.detach(e),this._viewContainerRef=null}ia(this._lView[1],this._lView)},e.prototype.onDestroy=function(e){bi(this._lView[1],this._lView,null,e)},e.prototype.markForCheck=function(){Bi(this._cdRefInjectingView||this._lView)},e.prototype.detach=function(){this._lView[2]&=-129},e.prototype.reattach=function(){this._lView[2]|=128},e.prototype.detectChanges=function(){Qi(this._lView[1],this._lView,this.context)},e.prototype.checkNoChanges=function(){!function e(t,n,r){Gt(!0);try{Qi(t,n,r)}finally{Gt(!1)}}(this._lView[1],this._lView,this.context)},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e.prototype.detachFromAppRef=function(){this._appRef=null,function e(t,n){ma(t,n,n[11],2,null,null)}(this._lView[1],this._lView)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e}(),Pa=function(e){function t(t){var n=e.call(this,t)||this;return n._view=t,n}return o(t,e),t.prototype.detectChanges=function(){zi(this._view)},t.prototype.checkNoChanges=function(){!function e(t){Gt(!0);try{zi(t)}finally{Gt(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!1,configurable:!0}),t}(ka);function Na(e,t,n){return Ia||(Ia=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(e)),new Ia(Et(t,n))}function Ta(e,t,n,r){return xa||(xa=function(e){function t(t,n,r){var o=e.call(this)||this;return o._declarationView=t,o._declarationTContainer=n,o.elementRef=r,o}return o(t,e),t.prototype.createEmbeddedView=function(e){var t=this._declarationTContainer.tViews,n=si(this._declarationView,t,e,16,null,t.node);n[17]=this._declarationView[this._declarationTContainer.index];var r=this._declarationView[19];return null!==r&&(n[19]=r.createEmbeddedView(t)),ci(t,n,e),new ka(n)},t}(e)),0===n.type?new xa(r,n,Na(t,n,r)):null}function ja(e,t,n,r){var i;Ea||(Ea=function(e){function n(t,n,r){var o=e.call(this)||this;return o._lContainer=t,o._hostTNode=n,o._hostView=r,o}return o(n,e),Object.defineProperty(n.prototype,"element",{get:function(){return Na(t,this._hostTNode,this._hostView)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"injector",{get:function(){return new ar(this._hostTNode,this._hostView)},enumerable:!1,configurable:!0}),Object.defineProperty(n.prototype,"parentInjector",{get:function(){var e=Jn(this._hostTNode,this._hostView),t=Vn(e,this._hostView),n=function r(e,t,n){if(n.parent&&-1!==n.parent.injectorIndex){for(var r=n.parent.injectorIndex,o=n.parent;null!=o.parent&&r==o.parent.injectorIndex;)o=o.parent;return o}for(var i=Rn(e),a=t,u=t[6];i>1;)u=(a=a[15])[6],i--;return u}(e,this._hostView,this._hostTNode);return An(e)&&null!=n?new ar(n,t):new ar(null,this._hostView)},enumerable:!1,configurable:!0}),n.prototype.clear=function(){for(;this.length>0;)this.remove(this.length-1)},n.prototype.get=function(e){return null!==this._lContainer[8]&&this._lContainer[8][e]||null},Object.defineProperty(n.prototype,"length",{get:function(){return this._lContainer.length-10},enumerable:!1,configurable:!0}),n.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},n.prototype.createComponent=function(e,t,n,r,o){var i=n||this.parentInjector;if(!o&&null==e.ngModule&&i){var a=i.get(ke,null);a&&(o=a)}var u=e.create(i,r,void 0,o);return this.insert(u.hostView,t),u},n.prototype.insert=function(e,t){var n=e._lView,r=n[1];if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");if(this.allocateContainerIfNeeded(),function o(e){return at(e[3])}(n)){var i=this.indexOf(e);if(-1!==i)this.detach(i);else{var a=n[3],u=new Ea(a,a[6],a[3]);u.detach(u.indexOf(e))}}var s=this._adjustIndex(t);return function l(e,t,n,r){var o=10+r,i=n.length;r>0&&(n[o-1][4]=t),r<i-10?(t[4]=n[o],Re(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;var a=t[17];null!==a&&n!==a&&function u(e,t){var n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);var s=t[19];null!==s&&s.insertView(e),t[2]|=128}(r,n,this._lContainer,s),na(r,n,!0,va(s,this._lContainer)),e.attachToViewContainerRef(this),Re(this._lContainer[8],s,e),e},n.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");return this.insert(e,t)},n.prototype.indexOf=function(e){var t=this._lContainer[8];return null!==t?t.indexOf(e):-1},n.prototype.remove=function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=oa(this._lContainer,t);n&&(Ve(this._lContainer[8],t),ia(n[1],n))},n.prototype.detach=function(e){this.allocateContainerIfNeeded();var t=this._adjustIndex(e,-1),n=oa(this._lContainer,t);return n&&null!=Ve(this._lContainer[8],t)?new ka(n):null},n.prototype._adjustIndex=function(e,t){return void 0===t&&(t=0),null==e?this.length+t:e},n.prototype.allocateContainerIfNeeded=function(){null===this._lContainer[8]&&(this._lContainer[8]=[])},n}(e));var a=r[n.index];if(at(a))i=a;else{var u=void 0;if(4===n.type)u=It(a);else if(u=r[11].createComment(""),ft(r)){var s=r[11],l=Et(n,r);la(s,da(s,l),u,function c(e,t){return wt(e)?e.nextSibling(t):t.nextSibling}(s,l))}else ha(r[1],r,u,n);r[n.index]=i=Mi(a,r,u,n),Li(r,i)}return new Ea(i,n,r)}function Da(e){return void 0===e&&(e=!1),function t(e,n,r){if(!r&&st(e)){var o=Nt(e.index,n);return new ka(o,o)}return 3===e.type||0===e.type||4===e.type||5===e.type?new ka(n[16],n):null}(zt(),Bt(),e)}(Oa=function Oa(){}).__NG_ELEMENT_ID__=function(){return Sa()};var Aa=Da,Sa=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Ra=Function;function Va(e){return"function"==typeof e}var Ma=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|[^()]+\(arguments\))\)/,Fa=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Ha=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,La=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/,Ba=function(){function e(e){this._reflect=e||Y.Reflect}return e.prototype.isReflectionEnabled=function(){return!0},e.prototype.factory=function(e){return function(){for(var t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];return new(e.bind.apply(e,u([void 0],t)))}},e.prototype._zipTypesAndAnnotations=function(e,t){var n;n=Me(void 0===e?t.length:e.length);for(var r=0;r<n.length;r++)n[r]=void 0===e?[]:e[r]&&e[r]!=Object?[e[r]]:[],t&&null!=t[r]&&(n[r]=n[r].concat(t[r]));return n},e.prototype._ownParameters=function(e,t){if(function n(e){return Ma.test(e)||La.test(e)||Fa.test(e)&&!Ha.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var o="function"==typeof r?r():r,i=o.map((function(e){return e&&e.type})),a=o.map((function(e){return e&&Ua(e.decorators)}));return this._zipTypesAndAnnotations(i,a)}var u=e.hasOwnProperty(c)&&e[c],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||u?this._zipTypesAndAnnotations(s,u):Me(e.length)},e.prototype.parameters=function(e){if(!Va(e))return[];var t=Qa(e),n=this._ownParameters(e,t);return n||t===Object||(n=this.parameters(t)),n||[]},e.prototype._ownAnnotations=function(e,t){if(e.annotations&&e.annotations!==t.annotations){var n=e.annotations;return"function"==typeof n&&n.annotations&&(n=n.annotations),n}return e.decorators&&e.decorators!==t.decorators?Ua(e.decorators):e.hasOwnProperty(l)?e[l]:null},e.prototype.annotations=function(e){if(!Va(e))return[];var t=Qa(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)},e.prototype._ownPropMetadata=function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,o={};return Object.keys(r).forEach((function(e){o[e]=Ua(r[e])})),o}return e.hasOwnProperty(f)?e[f]:null},e.prototype.propMetadata=function(e){if(!Va(e))return{};var t=Qa(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach((function(e){n[e]=r[e]}))}var o=this._ownPropMetadata(e,t);return o&&Object.keys(o).forEach((function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,u(n[e])),t.push.apply(t,u(o[e])),n[e]=t})),n},e.prototype.ownPropMetadata=function(e){return Va(e)&&this._ownPropMetadata(e,Qa(e))||{}},e.prototype.hasLifecycleHook=function(e,t){return e instanceof Ra&&t in e.prototype},e.prototype.guards=function(e){return{}},e.prototype.getter=function(e){return new Function("o","return o."+e+";")},e.prototype.setter=function(e){return new Function("o","v","return o."+e+" = v;")},e.prototype.method=function(e){return new Function("o","args","if (!o."+e+") throw new Error('\""+e+"\" is undefined');\n return o."+e+".apply(o, args);")},e.prototype.importUri=function(e){return"object"==typeof e&&e.filePath?e.filePath:"./"+F(e)},e.prototype.resourceUri=function(e){return"./"+F(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function Ua(e){return e?e.map((function(e){var t=e.type.annotationCls;return new(t.bind.apply(t,u([void 0],e.args?e.args:[])))})):[]}function Qa(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
|
|
375
375
|
/**
|
|
376
376
|
* @license
|
|
377
377
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -585,7 +585,7 @@ function u(e,t,n,r,o){var i=t.consts,a=St(i,r),u=li(t,n[6],e,4,"ng-container",a)
|
|
|
585
585
|
*
|
|
586
586
|
* Use of this source code is governed by an MIT-style license that can be
|
|
587
587
|
* found in the LICENSE file at https://angular.io/license
|
|
588
|
-
*/var Pl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nl(e){return e.substring(Pl.key,Pl.keyEnd)}function Tl(e){return e.substring(Pl.value,Pl.valueEnd)}function jl(e,t){var n=Pl.textEnd;return n===t?-1:(t=Pl.keyEnd=function r(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Pl.key=t,n),Sl(e,t,n))}function Dl(e,t){var n=Pl.textEnd,r=Pl.key=Sl(e,t,n);return n===r?-1:(r=Pl.keyEnd=function o(e,t,n){for(var r;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90);)t++;return t}(e,r,n),r=Rl(e,r,n),r=Pl.value=Sl(e,r,n),r=Pl.valueEnd=function i(e,t,n){for(var r=-1,o=-1,i=-1,a=t,u=a;a<n;){var s=e.charCodeAt(a++);if(59===s)return u;34===s||39===s?u=a=Vl(e,s,a,n):t===a-4&&85===i&&82===o&&76===r&&40===s?u=a=Vl(e,41,a,n):s>32&&(u=a),i=o,o=r,r=-33&s}return u}(e,r,n),Rl(e,r,n))}function Al(e){Pl.key=0,Pl.keyEnd=0,Pl.value=0,Pl.valueEnd=0,Pl.textEnd=e.length}function Sl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Rl(e,t,n,r){return(t=Sl(e,t,n))<n&&t++,t}function Vl(e,t,n,r){for(var o=-1,i=n;i<r;){var a=e.charCodeAt(i++);if(a==t&&92!==o)return i;o=92==a&&92===o?0:a}throw new Error}
|
|
588
|
+
*/var Pl={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function Nl(e){return e.substring(Pl.key,Pl.keyEnd)}function Tl(e){return e.substring(Pl.value,Pl.valueEnd)}function jl(e,t){var n=Pl.textEnd;return n===t?-1:(t=Pl.keyEnd=function r(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,Pl.key=t,n),Sl(e,t,n))}function Dl(e,t){var n=Pl.textEnd,r=Pl.key=Sl(e,t,n);return n===r?-1:(r=Pl.keyEnd=function o(e,t,n){for(var r;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=Rl(e,r,n),r=Pl.value=Sl(e,r,n),r=Pl.valueEnd=function i(e,t,n){for(var r=-1,o=-1,i=-1,a=t,u=a;a<n;){var s=e.charCodeAt(a++);if(59===s)return u;34===s||39===s?u=a=Vl(e,s,a,n):t===a-4&&85===i&&82===o&&76===r&&40===s?u=a=Vl(e,41,a,n):s>32&&(u=a),i=o,o=r,r=-33&s}return u}(e,r,n),Rl(e,r,n))}function Al(e){Pl.key=0,Pl.keyEnd=0,Pl.value=0,Pl.valueEnd=0,Pl.textEnd=e.length}function Sl(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function Rl(e,t,n,r){return(t=Sl(e,t,n))<n&&t++,t}function Vl(e,t,n,r){for(var o=-1,i=n;i<r;){var a=e.charCodeAt(i++);if(a==t&&92!==o)return i;o=92==a&&92===o?0:a}throw new Error}
|
|
589
589
|
/**
|
|
590
590
|
* @license
|
|
591
591
|
* Copyright Google LLC All Rights Reserved.
|
|
@@ -708,7 +708,7 @@ function jf(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}
|
|
|
708
708
|
* Use of this source code is governed by an MIT-style license that can be
|
|
709
709
|
* found in the LICENSE file at https://angular.io/license
|
|
710
710
|
*/
|
|
711
|
-
var Ff,Hf=new(Ff=function Ff(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")})("10.0.
|
|
711
|
+
var Ff,Hf=new(Ff=function Ff(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")})("10.0.10"),Lf=function(){function e(){}return e.prototype.supports=function(e){return ds(e)},e.prototype.create=function(e){return new Uf(e)},e}(),Bf=function(e,t){return t},Uf=function(){function e(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||Bf}return e.prototype.forEachItem=function(e){var t;for(t=this._itHead;null!==t;t=t._next)e(t)},e.prototype.forEachOperation=function(e){for(var t=this._itHead,n=this._removalsHead,r=0,o=null;t||n;){var i=!n||t&&t.currentIndex<Wf(n,r,o)?t:n,a=Wf(i,r,o),u=i.currentIndex;if(i===n)r--,n=n._nextRemoved;else if(t=t._next,null==i.previousIndex)r++;else{o||(o=[]);var s=a-r,l=u-r;if(s!=l){for(var c=0;c<s;c++){var f=c<o.length?o[c]:o[c]=0,d=f+c;l<=d&&d<s&&(o[c]=f+1)}o[i.previousIndex]=l-s}}a!==u&&e(i,a,u)}},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachMovedItem=function(e){var t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.forEachIdentityChange=function(e){var t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)},e.prototype.diff=function(e){if(null==e&&(e=[]),!ds(e))throw new Error("Error trying to diff '"+F(e)+"'. Only arrays and iterables are allowed");return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n,r,o,i=this._itHead,a=!1;if(Array.isArray(e)){this.length=e.length;for(var u=0;u<this.length;u++)o=this._trackByFn(u,r=e[u]),null!==i&&Object.is(i.trackById,o)?(a&&(i=this._verifyReinsertion(i,r,o,u)),Object.is(i.item,r)||this._addIdentityChange(i,r)):(i=this._mismatch(i,r,o,u),a=!0),i=i._next}else n=0,function s(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[ls()](),o=void 0;!(o=r.next()).done;)t(o.value)}(e,(function(e){o=t._trackByFn(n,e),null!==i&&Object.is(i.trackById,o)?(a&&(i=t._verifyReinsertion(i,e,o,n)),Object.is(i.item,e)||t._addIdentityChange(i,e)):(i=t._mismatch(i,e,o,n),a=!0),i=i._next,n++})),this.length=n;return this._truncate(i),this.collection=e,this.isDirty},Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead},enumerable:!1,configurable:!0}),e.prototype._reset=function(){if(this.isDirty){var e=void 0,t=void 0;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}},e.prototype._mismatch=function(e,t,n,r){var o;return null===e?o=this._itTail:(o=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,o,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(Object.is(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,o,r)):e=this._addAfter(new Qf(t,n),o,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var o=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==o?e=this._reinsertAfter(o,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e},e.prototype._truncate=function(e){for(;null!==e;){var t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)},e.prototype._reinsertAfter=function(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);var r=e._prevRemoved,o=e._nextRemoved;return null===r?this._removalsHead=o:r._nextRemoved=o,null===o?this._removalsTail=r:o._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._moveAfter=function(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e},e.prototype._addAfter=function(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e},e.prototype._insertAfter=function(e,t,n){var r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new qf),this._linkedRecords.put(e),e.currentIndex=n,e},e.prototype._remove=function(e){return this._addToRemovals(this._unlink(e))},e.prototype._unlink=function(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);var t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e},e.prototype._addToMoves=function(e,t){return e.previousIndex===t||(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e),e},e.prototype._addToRemovals=function(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new qf),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e},e.prototype._addIdentityChange=function(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e},e}(),Qf=function Qf(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null},zf=function(){function e(){this._head=null,this._tail=null}return e.prototype.add=function(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)},e.prototype.get=function(e,t){var n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&Object.is(n.trackById,e))return n;return null},e.prototype.remove=function(e){var t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head},e}(),qf=function(){function e(){this.map=new Map}return e.prototype.put=function(e){var t=e.trackById,n=this.map.get(t);n||(n=new zf,this.map.set(t,n)),n.add(e)},e.prototype.get=function(e,t){var n=this.map.get(e);return n?n.get(e,t):null},e.prototype.remove=function(e){var t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e},Object.defineProperty(e.prototype,"isEmpty",{get:function(){return 0===this.map.size},enumerable:!1,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function Wf(e,t,n){var r=e.previousIndex;if(null===r)return r;var o=0;return n&&r<n.length&&(o=n[r]),r+t+o}
|
|
712
712
|
/**
|
|
713
713
|
* @license
|
|
714
714
|
* Copyright Google LLC All Rights Reserved.
|