@angular/language-service 8.2.0 → 8.2.4
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/language-service.umd.js +37 -23
- package/bundles/language-service.umd.min.js +80 -79
- package/package.json +1 -1
- package/src/version.js +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* @license Angular v8.2.
|
|
2
|
+
* @license Angular v8.2.4
|
|
3
3
|
* (c) 2010-2019 Google LLC. https://angular.io/
|
|
4
4
|
* License: MIT
|
|
5
5
|
*/
|
|
@@ -375,7 +375,7 @@ function i(e){var t=e.type,n=e.bootstrap,r=e.declarations,i=e.imports,o=e.export
|
|
|
375
375
|
*
|
|
376
376
|
* Use of this source code is governed by an MIT-style license that can be
|
|
377
377
|
* found in the LICENSE file at https://angular.io/license
|
|
378
|
-
*/(e,t,n)},e.prototype.jitExpression=function(e,t,n,r){var i=f(r,[new Xe("$def",e,void 0,[ke.Exported])]);return this.jitEvaluator.evaluateStatements(n,i,new xo(t),!0).$def},e}(),Ic=Object.keys({useClass:null})[0],Mc=Object.keys({useFactory:null})[0],Oc=Object.keys({useValue:null})[0],Rc=Object.keys({useExisting:null})[0],Dc=function(e){var t=new Se(e);return{value:t,type:t}};function Lc(e){return a({},e,{predicate:Array.isArray(e.predicate)?e.predicate:new Se(e.predicate),read:e.read?new Se(e.read):null,static:e.static})}function Fc(e){var t=Uc(e.inputs||[]),n=Uc(e.outputs||[]),r=e.propMetadata,i={},o={},s=function(e){r.hasOwnProperty(e)&&r[e].forEach(function(t){!function n(e){return"Input"===e.ngMetadataName}(t)?function r(e){return"Output"===e.ngMetadataName}(t)&&(o[e]=t.bindingPropertyName||e):i[e]=t.bindingPropertyName?[t.bindingPropertyName,e]:e})};for(var u in r)s(u);return a({},e,{typeSourceSpan:e.typeSourceSpan,type:new Se(e.type),deps:Bc(e.deps),host:Hc(e.propMetadata,e.typeSourceSpan,e.host),inputs:a({},t,i),outputs:a({},n,o),queries:e.queries.map(Lc),providers:null!=e.providers?new Se(e.providers):null,viewQueries:e.viewQueries.map(Lc)})}function jc(e,t){return e.hasOwnProperty(t)?new Se(e[t]):void 0}function Vc(e){return{token:null===e.token?new Me(null):e.resolved===Bi.Attribute?new Me(e.token):new Se(e.token),resolved:e.resolved,host:e.host,optional:e.optional,self:e.self,skipSelf:e.skipSelf}}function Bc(e){return null==e?null:e.map(Vc)}function Hc(e,t,n){var r=function i(e){var t,n,r={},i={},o={},s={};try{for(var a=p(Object.keys(e)),u=a.next();!u.done;u=a.next()){var l=u.value,c=e[l],h=l.match(kc);if(null===h)switch(l){case"class":if("string"!=typeof c)throw new Error("Class binding must be string");s.classAttr=c;break;case"style":if("string"!=typeof c)throw new Error("Style binding must be string");s.styleAttr=c;break;default:r[l]="string"==typeof c?yt(c):c}else if(null!=h[1]){if("string"!=typeof c)throw new Error("Property binding must be string");o[h[1]]=c}else if(null!=h[2]){if("string"!=typeof c)throw new Error("Event binding must be string");i[h[2]]=c}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return{attributes:r,listeners:i,properties:o,specialAttributes:s}}(n||{}),o=function s(e,t){var n=Nc(e),r=cc();return r.createDirectiveHostEventAsts(n,t),r.createBoundHostProperties(n,t),r.errors}(r,t);if(o.length)throw new Error(o.map(function(e){return e.msg}).join("\n"));var a=function(t){e.hasOwnProperty(t)&&e[t].forEach(function(e){!function n(e){return"HostBinding"===e.ngMetadataName}(e)?function i(e){return"HostListener"===e.ngMetadataName}(e)&&(r.listeners[e.eventName||t]=t+"("+(e.args||[]).join(",")+")"):r.properties[e.hostPropertyName||t]=t})};for(var u in e)a(u);return r}function Uc(e){return e.reduce(function(e,t){var n=h(t.split(",").map(function(e){return e.trim()}),2),r=n[0];return e[r]=n[1]||r,e},{})}new Ft("8.2.
|
|
378
|
+
*/(e,t,n)},e.prototype.jitExpression=function(e,t,n,r){var i=f(r,[new Xe("$def",e,void 0,[ke.Exported])]);return this.jitEvaluator.evaluateStatements(n,i,new xo(t),!0).$def},e}(),Ic=Object.keys({useClass:null})[0],Mc=Object.keys({useFactory:null})[0],Oc=Object.keys({useValue:null})[0],Rc=Object.keys({useExisting:null})[0],Dc=function(e){var t=new Se(e);return{value:t,type:t}};function Lc(e){return a({},e,{predicate:Array.isArray(e.predicate)?e.predicate:new Se(e.predicate),read:e.read?new Se(e.read):null,static:e.static})}function Fc(e){var t=Uc(e.inputs||[]),n=Uc(e.outputs||[]),r=e.propMetadata,i={},o={},s=function(e){r.hasOwnProperty(e)&&r[e].forEach(function(t){!function n(e){return"Input"===e.ngMetadataName}(t)?function r(e){return"Output"===e.ngMetadataName}(t)&&(o[e]=t.bindingPropertyName||e):i[e]=t.bindingPropertyName?[t.bindingPropertyName,e]:e})};for(var u in r)s(u);return a({},e,{typeSourceSpan:e.typeSourceSpan,type:new Se(e.type),deps:Bc(e.deps),host:Hc(e.propMetadata,e.typeSourceSpan,e.host),inputs:a({},t,i),outputs:a({},n,o),queries:e.queries.map(Lc),providers:null!=e.providers?new Se(e.providers):null,viewQueries:e.viewQueries.map(Lc)})}function jc(e,t){return e.hasOwnProperty(t)?new Se(e[t]):void 0}function Vc(e){return{token:null===e.token?new Me(null):e.resolved===Bi.Attribute?new Me(e.token):new Se(e.token),resolved:e.resolved,host:e.host,optional:e.optional,self:e.self,skipSelf:e.skipSelf}}function Bc(e){return null==e?null:e.map(Vc)}function Hc(e,t,n){var r=function i(e){var t,n,r={},i={},o={},s={};try{for(var a=p(Object.keys(e)),u=a.next();!u.done;u=a.next()){var l=u.value,c=e[l],h=l.match(kc);if(null===h)switch(l){case"class":if("string"!=typeof c)throw new Error("Class binding must be string");s.classAttr=c;break;case"style":if("string"!=typeof c)throw new Error("Style binding must be string");s.styleAttr=c;break;default:r[l]="string"==typeof c?yt(c):c}else if(null!=h[1]){if("string"!=typeof c)throw new Error("Property binding must be string");o[h[1]]=c}else if(null!=h[2]){if("string"!=typeof c)throw new Error("Event binding must be string");i[h[2]]=c}}}catch(e){t={error:e}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(t)throw t.error}}return{attributes:r,listeners:i,properties:o,specialAttributes:s}}(n||{}),o=function s(e,t){var n=Nc(e),r=cc();return r.createDirectiveHostEventAsts(n,t),r.createBoundHostProperties(n,t),r.errors}(r,t);if(o.length)throw new Error(o.map(function(e){return e.msg}).join("\n"));var a=function(t){e.hasOwnProperty(t)&&e[t].forEach(function(e){!function n(e){return"HostBinding"===e.ngMetadataName}(e)?function i(e){return"HostListener"===e.ngMetadataName}(e)&&(r.listeners[e.eventName||t]=t+"("+(e.args||[]).join(",")+")"):r.properties[e.hostPropertyName||t]=t})};for(var u in e)a(u);return r}function Uc(e){return e.reduce(function(e,t){var n=h(t.split(",").map(function(e){return e.trim()}),2),r=n[0];return e[r]=n[1]||r,e},{})}new Ft("8.2.4");
|
|
379
379
|
/**
|
|
380
380
|
* @license
|
|
381
381
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -856,7 +856,7 @@ var zd,Wd=function(){function e(e,t){this._desc=e,this.ngMetadataName="Injection
|
|
|
856
856
|
*
|
|
857
857
|
* Use of this source code is governed by an MIT-style license that can be
|
|
858
858
|
* found in the LICENSE file at https://angular.io/license
|
|
859
|
-
*/(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"})(cv||(cv={})),function(e){e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed"}(pv||(pv={})),function(e){e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(hv||(hv={}));
|
|
859
|
+
*/function gv(e,t){null==e&&function n(e){throw new Error("ASSERTION ERROR: "+e)}(t)}(function(e){e[e.OnPush=0]="OnPush",e[e.Default=1]="Default"})(cv||(cv={})),function(e){e[e.CheckOnce=0]="CheckOnce",e[e.Checked=1]="Checked",e[e.CheckAlways=2]="CheckAlways",e[e.Detached=3]="Detached",e[e.Errored=4]="Errored",e[e.Destroyed=5]="Destroyed"}(pv||(pv={})),function(e){e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(hv||(hv={}));
|
|
860
860
|
/**
|
|
861
861
|
* @license
|
|
862
862
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -871,7 +871,7 @@ var zd,Wd=function(){function e(e,t){this._desc=e,this.ngMetadataName="Injection
|
|
|
871
871
|
* Use of this source code is governed by an MIT-style license that can be
|
|
872
872
|
* found in the LICENSE file at https://angular.io/license
|
|
873
873
|
*/
|
|
874
|
-
var
|
|
874
|
+
var _v=[],bv=Pd({ngComponentDef:Pd}),wv=(Pd({ngDirectiveDef:Pd}),Pd({ngPipeDef:Pd}),Pd({ngModuleDef:Pd})),xv=Pd({ngLocaleIdDef:Pd}),Ev=(Pd({ngBaseDef:Pd}),Pd({__NG_ELEMENT_ID__:Pd}));function Sv(e,t){var n=e[wv]||null;if(!n&&!0===t)throw new Error("Type "+Dd(e)+" does not have 'ngModuleDef' property.");return n}
|
|
875
875
|
/**
|
|
876
876
|
* @license
|
|
877
877
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -879,7 +879,7 @@ var gv=[],_v=Pd({ngComponentDef:Pd}),bv=(Pd({ngDirectiveDef:Pd}),Pd({ngPipeDef:P
|
|
|
879
879
|
* Use of this source code is governed by an MIT-style license that can be
|
|
880
880
|
* found in the LICENSE file at https://angular.io/license
|
|
881
881
|
*/
|
|
882
|
-
var
|
|
882
|
+
var Cv=0,Tv=1,Nv=2,kv=3,Pv=4,Av=5,Iv=6,Mv=7,Ov=8,Rv=9,Dv=10,Lv=11,Fv=12,jv=13,Vv=14,Bv=16,Hv=17,Uv=18,qv=19,Kv=1,zv=2,Wv=5,Qv=7,$v=9;
|
|
883
883
|
/**
|
|
884
884
|
* @license
|
|
885
885
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -887,7 +887,7 @@ var Sv=0,Cv=1,Tv=2,Nv=3,kv=4,Pv=5,Av=6,Iv=7,Mv=8,Ov=9,Rv=10,Dv=11,Lv=12,Fv=13,jv
|
|
|
887
887
|
* Use of this source code is governed by an MIT-style license that can be
|
|
888
888
|
* found in the LICENSE file at https://angular.io/license
|
|
889
889
|
*/
|
|
890
|
-
function
|
|
890
|
+
function Gv(e){return Array.isArray(e)&&"object"==typeof e[Kv]}function Xv(e){return Array.isArray(e)&&!0===e[Kv]}function Yv(e){return 1==(1&e.flags)}function Zv(e){return null!==e.template}
|
|
891
891
|
/**
|
|
892
892
|
* @license
|
|
893
893
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -895,14 +895,14 @@ function $v(e){return Array.isArray(e)&&"object"==typeof e[qv]}function Gv(e){re
|
|
|
895
895
|
* Use of this source code is governed by an MIT-style license that can be
|
|
896
896
|
* found in the LICENSE file at https://angular.io/license
|
|
897
897
|
*/
|
|
898
|
-
var
|
|
898
|
+
var Jv=8,em=8,tm=9,nm=-1,rm=function rm(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n};function im(e,t,n,r){n||om(e,t.preOrderHooks,t.preOrderCheckHooks,n,0,void 0!==r?r:null)}function om(e,t,n,r,i,o){if(!r){var s=(3&e[Nv])===i?t:n;s&&function a(e,t,n,r){for(var i=null!=r?r:-1,o=0,s=void 0!==r?65535&e[Uv]:0;s<t.length;s++)if("number"==typeof t[s+1]){if(o=t[s],null!=r&&o>=r)break}else t[s]<0&&(e[Uv]+=65536),(o<i||-1==i)&&(sm(e,n,t,s),e[Uv]=(4294901760&e[Uv])+s+2),s++}(e,s,i,o),null==o&&(3&e[Nv])===i&&3!==i&&(e[Nv]&=1023,e[Nv]+=1)}}function sm(e,t,n,r){var i=n[r]<0,o=n[r+1],s=e[i?-n[r]:n[r]];i?e[Nv]>>10<e[Uv]>>16&&(3&e[Nv])===t&&(e[Nv]+=1024,o.call(s)):o.call(s)}
|
|
899
899
|
/**
|
|
900
900
|
* @license
|
|
901
901
|
* Copyright Google Inc. All Rights Reserved.
|
|
902
902
|
*
|
|
903
903
|
* Use of this source code is governed by an MIT-style license that can be
|
|
904
904
|
* found in the LICENSE file at https://angular.io/license
|
|
905
|
-
*/var
|
|
905
|
+
*/var am,um,lm,cm=new Map,pm="__ngContext__";
|
|
906
906
|
/**
|
|
907
907
|
* @license
|
|
908
908
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -910,14 +910,14 @@ var Zv=8,Jv=8,em=9,tm=-1,nm=function nm(e,t,n){this.factory=e,this.resolving=!1,
|
|
|
910
910
|
* Use of this source code is governed by an MIT-style license that can be
|
|
911
911
|
* found in the LICENSE file at https://angular.io/license
|
|
912
912
|
*/
|
|
913
|
-
function
|
|
913
|
+
function hm(e){for(;Array.isArray(e);)e=e[Cv];return e}function fm(e,t){return hm(t[e.index])}function dm(e,t){var n=e.index;return-1==n?null:hm(t[n])}function vm(e,t){return t[Tv].data[e+qv]}function mm(e,t){var n=t[e];return Gv(n)?n:n[Cv]}function ym(e){return e[pm]}function gm(e){var t=ym(e);return t?Array.isArray(t)?t:t.lView:null}function _m(e){e[Uv]=0}
|
|
914
914
|
/**
|
|
915
915
|
* @license
|
|
916
916
|
* Copyright Google Inc. All Rights Reserved.
|
|
917
917
|
*
|
|
918
918
|
* Use of this source code is governed by an MIT-style license that can be
|
|
919
919
|
* found in the LICENSE file at https://angular.io/license
|
|
920
|
-
*/function
|
|
920
|
+
*/function bm(){return lm}function wm(){return am}function xm(e,t){am=e,um=t}function Em(e,t){am=e,lm=t}function Sm(){return um}function Cm(e){return void 0===e&&(e=lm),4==(4&e[Nv])}var Tm=!1;function Nm(){return Tm}function km(e){Tm=e}function Pm(e,t){var n=lm;return am=t,um=!0,lm=e,n}function Am(e,t){var n=lm[Tv];if(Cm(lm))lm[Nv]&=-5;else try{_m(lm),t&&om(lm,n.viewHooks,n.viewCheckHooks,Tm,2,void 0)}finally{lm[Nv]&=-73,lm[Mv]=n.bindingStartIndex}Pm(e,null)}var Im,Mm=null;function Om(){Mm=null}
|
|
921
921
|
/**
|
|
922
922
|
* @license
|
|
923
923
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -925,21 +925,21 @@ function pm(e){for(;Array.isArray(e);)e=e[Sv];return e}function hm(e,t){return p
|
|
|
925
925
|
* Use of this source code is governed by an MIT-style license that can be
|
|
926
926
|
* found in the LICENSE file at https://angular.io/license
|
|
927
927
|
*/
|
|
928
|
-
function
|
|
928
|
+
function Rm(e){return"string"==typeof e?e:null==e?"":""+e}function Dm(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Rm(e)}var Lm,Fm=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(Kd),jm="�";function Vm(e){return e.indexOf(jm)>=0}function Bm(e,t){return e[t+2]}function Hm(e,t){return(1&function n(e,t){return 1&e[t+0]}(e,t))>0}function Um(e,t){return e[t+0]>>1}function qm(e,t){return e[t+1]}function Km(e,t,n){return e[t+3+n]}function zm(e,t){return e[t+3+qm(e,t)-1]}function Wm(e){return null!=e&&""!==e}function Qm(e){return Array.isArray(e)&&e.length>=6&&"string"!=typeof e[1]}function $m(e,t){return e[t+0]}function Gm(e,t){return e[t+1]}
|
|
929
929
|
/**
|
|
930
930
|
* @license
|
|
931
931
|
* Copyright Google Inc. All Rights Reserved.
|
|
932
932
|
*
|
|
933
933
|
* Use of this source code is governed by an MIT-style license that can be
|
|
934
934
|
* found in the LICENSE file at https://angular.io/license
|
|
935
|
-
*/function
|
|
935
|
+
*/function Xm(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(Lm||(Lm={}));var Ym={createRenderer:function(e,t){return document}};function Zm(e){return 32767&e}function Jm(e,t){for(var n=function r(e){return e>>16}(e),i=t;n>0;)i=i[Bv],n--;return i}
|
|
936
936
|
/**
|
|
937
937
|
* @license
|
|
938
938
|
* Copyright Google Inc. All Rights Reserved.
|
|
939
939
|
*
|
|
940
940
|
* Use of this source code is governed by an MIT-style license that can be
|
|
941
941
|
* found in the LICENSE file at https://angular.io/license
|
|
942
|
-
*/function
|
|
942
|
+
*/function ey(e){var t=e[kv];return Xv(t)?t[kv]:t}function ty(e){for(var t=e[Iv];null!==t&&2===t.type;)t=(e=e[Bv])[Iv];return e}
|
|
943
943
|
/**
|
|
944
944
|
* @license
|
|
945
945
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -947,14 +947,14 @@ function Om(e){return"string"==typeof e?e:null==e?"":""+e}function Rm(e){return"
|
|
|
947
947
|
* Use of this source code is governed by an MIT-style license that can be
|
|
948
948
|
* found in the LICENSE file at https://angular.io/license
|
|
949
949
|
*/
|
|
950
|
-
var
|
|
950
|
+
var ny=!0;function ry(e){var t=ny;return ny=e,t}var iy=255,oy=0;function sy(e,t){e.push(0,0,0,0,0,0,0,0,t)}function ay(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+em]?-1:e.injectorIndex}function uy(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[Iv],r=1;n&&-1===n.injectorIndex;)n=(t=t[Bv])?t[Iv]:null,r++;return n?n.injectorIndex|r<<16:-1}function ly(e,t,n,r,i){if(void 0===r&&(r=Sd.Default),e){var o=function s(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[Ev];return"number"==typeof t&&t>0?t&iy:t}(n);if("function"==typeof o){var a=wm(),u=bm();Em(e,t);try{var l=o();if(null!=l||r&Sd.Optional)return l;throw new Error("No provider for "+Dm(n)+"!")}finally{Em(a,u)}}else if("number"==typeof o){if(-1===o)return new vy(e,t);var c=null,p=ay(e,t),h=nm,f=r&Sd.Host?ty(t)[Iv]:null;for((-1===p||r&Sd.SkipSelf)&&(h=-1===p?uy(e,t):t[p+em],dy(r,!1)?(c=t[Tv],p=Zm(h),t=Jm(h,t)):p=-1);-1!==p;){h=t[p+em];var d=t[Tv];if(fy(o,p,d.data)){var v=py(p,t,n,c,r,f);if(v!==cy)return v}dy(r,t[Tv].data[p+Jv]===f)&&fy(o,p,t)?(c=d,p=Zm(h),t=Jm(h,t)):p=-1}}}if(r&Sd.Optional&&void 0===i&&(i=null),0==(r&(Sd.Self|Sd.Host))){var m=t[Dv],y=rv(void 0);try{return m?m.get(n,i,r&Sd.Optional):ov(n,i,r&Sd.Optional)}finally{rv(y)}}if(r&Sd.Optional)return i;throw new Error("NodeInjector: NOT_FOUND ["+Dm(n)+"]")}var cy={};function py(e,t,n,r,i,o){var s=t[Tv],a=s.data[e+Jv],u=function l(e,t,n,r,i){for(var o=e.providerIndexes,s=t.data,a=65535&o,u=e.directiveStart,l=o>>16,c=i?a+l:e.directiveEnd,p=r?a:a+l;p<c;p++){var h=s[p];if(p<u&&n===h||p>=u&&h.type===n)return p}if(i){var f=s[u];if(f&&Zv(f)&&f.type===n)return u}return null}(a,s,n,null==r?Yv(a)&&ny:r!=s&&3===a.type,i&Sd.Host&&o===a);return null!==u?hy(s.data,t,u,a):cy}function hy(e,t,n,r){var i=t[n];if(function o(e){return null!==e&&"object"==typeof e&&Object.getPrototypeOf(e)==rm.prototype}
|
|
951
951
|
/**
|
|
952
952
|
* @license
|
|
953
953
|
* Copyright Google Inc. All Rights Reserved.
|
|
954
954
|
*
|
|
955
955
|
* Use of this source code is governed by an MIT-style license that can be
|
|
956
956
|
* found in the LICENSE file at https://angular.io/license
|
|
957
|
-
*/(i)){var s=i;if(s.resolving)throw new Error("Circular dep for "+
|
|
957
|
+
*/(i)){var s=i;if(s.resolving)throw new Error("Circular dep for "+Dm(e[n]));var a=ry(s.canSeeViewProviders);s.resolving=!0;var u=void 0;s.injectImpl&&(u=rv(s.injectImpl));var l=wm(),c=bm();Em(r,t);try{i=t[n]=s.factory(void 0,e,t,r)}finally{s.injectImpl&&rv(u),ry(a),s.resolving=!1,Em(l,c)}}return i}function fy(e,t,n){var r=64&e,i=32&e;return!!((128&e?r?i?n[t+7]:n[t+6]:i?n[t+5]:n[t+4]:r?i?n[t+3]:n[t+2]:i?n[t+1]:n[t])&1<<e)}function dy(e,t){return!(e&Sd.Self||e&Sd.Host&&t)}var vy=function(){function e(e,t){this._tNode=e,this._lView=t}return e.prototype.get=function(e,t){return ly(this._tNode,this._lView,e,void 0,t)},e}(),my="ngDebugContext",yy="ngOriginalError",gy="ngErrorLogger";
|
|
958
958
|
/**
|
|
959
959
|
* @license
|
|
960
960
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -969,14 +969,14 @@ var ty=!0;function ny(e){var t=ty;return ty=e,t}var ry=255,iy=0;function oy(e,t)
|
|
|
969
969
|
* Use of this source code is governed by an MIT-style license that can be
|
|
970
970
|
* found in the LICENSE file at https://angular.io/license
|
|
971
971
|
*/
|
|
972
|
-
function
|
|
972
|
+
function _y(e){return e[my]}function by(e){return e[yy]}function wy(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,f(t))}
|
|
973
973
|
/**
|
|
974
974
|
* @license
|
|
975
975
|
* Copyright Google Inc. All Rights Reserved.
|
|
976
976
|
*
|
|
977
977
|
* Use of this source code is governed by an MIT-style license that can be
|
|
978
978
|
* found in the LICENSE file at https://angular.io/license
|
|
979
|
-
*/var
|
|
979
|
+
*/var xy=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function i(e){return e[gy]||wy}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)},e.prototype._findContext=function(e){return e?_y(e)?_y(e):this._findContext(by(e)):null},e.prototype._findOriginalError=function(e){for(var t=by(e);t&&by(t);)t=by(t);return t},e}(),Ey=!0;
|
|
980
980
|
/**
|
|
981
981
|
* @license
|
|
982
982
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -997,7 +997,7 @@ function gy(e){return e[vy]}function _y(e){return e[my]}function by(e){for(var t
|
|
|
997
997
|
*
|
|
998
998
|
* Use of this source code is governed by an MIT-style license that can be
|
|
999
999
|
* found in the LICENSE file at https://angular.io/license
|
|
1000
|
-
*/function
|
|
1000
|
+
*/function Sy(){return Ey}
|
|
1001
1001
|
/**
|
|
1002
1002
|
* @license
|
|
1003
1003
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1018,7 +1018,7 @@ function gy(e){return e[vy]}function _y(e){return e[my]}function by(e){for(var t
|
|
|
1018
1018
|
*
|
|
1019
1019
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1020
1020
|
* found in the LICENSE file at https://angular.io/license
|
|
1021
|
-
*/function
|
|
1021
|
+
*/function Cy(e){var t,n,r={};try{for(var i=p(e.split(",")),o=i.next();!o.done;o=i.next())r[o.value]=!0}catch(e){t={error:e}}finally{try{o&&!o.done&&(n=i.return)&&n.call(i)}finally{if(t)throw t.error}}return r}function Ty(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var i={};try{for(var o=p(n),s=o.next();!s.done;s=o.next()){var a=s.value;for(var u in a)a.hasOwnProperty(u)&&(i[u]=!0)}}catch(t){e={error:t}}finally{try{s&&!s.done&&(t=o.return)&&t.call(o)}finally{if(e)throw e.error}}return i}var Ny,ky=Cy("area,br,col,hr,img,wbr"),Py=Cy("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ay=Cy("rp,rt"),Iy=Ty(Ay,Py),My=Ty(Py,Cy("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Oy=Ty(Ay,Cy("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video"));Ty(ky,My,Oy,Iy),Ty(Cy("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Cy("srcset"),Cy("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),Cy("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),Cy("script,style,template"),function(e){e[e.NONE=0]="NONE",e[e.HTML=1]="HTML",e[e.STYLE=2]="STYLE",e[e.SCRIPT=3]="SCRIPT",e[e.URL=4]="URL",e[e.RESOURCE_URL=5]="RESOURCE_URL"}(Ny||(Ny={}));var Ry=function Ry(){},Dy=/([A-Z])/g;
|
|
1022
1022
|
/**
|
|
1023
1023
|
* @license
|
|
1024
1024
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1039,21 +1039,21 @@ function gy(e){return e[vy]}function _y(e){return e[my]}function by(e){for(var t
|
|
|
1039
1039
|
*
|
|
1040
1040
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1041
1041
|
* found in the LICENSE file at https://angular.io/license
|
|
1042
|
-
*/function
|
|
1042
|
+
*/function Ly(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}
|
|
1043
1043
|
/**
|
|
1044
1044
|
* @license
|
|
1045
1045
|
* Copyright Google Inc. All Rights Reserved.
|
|
1046
1046
|
*
|
|
1047
1047
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1048
1048
|
* found in the LICENSE file at https://angular.io/license
|
|
1049
|
-
*/function
|
|
1049
|
+
*/function Fy(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function jy(e,t){e[pm]=t}function Vy(e,t){for(var n=e[Tv].firstChild;n;){if(dm(n,e)===t)return n.index;n=By(n)}return-1}function By(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function Hy(){throw new Error("Cannot mix multi providers and regular providers")}var Uy=null,qy={},Ky={marker:"element"},zy={marker:"comment"},Wy=function(e,t,n,r,i,o,s,a,u){var l=!1;if(qm(e,3)){var c=!0,p=!a;p&&-2&s&&(c=!1,l=!0),c&&(l=function e(t,n,r,i,o,s,a,u,l,c){var p=!1;if(l<qm(t,3)){for(var h=Km(t,3,l),f=i[h],d=function v(e){return e>=Gy.length&&Gy.push(1),Gy[e]}(l);d<f.length;){var m=$m(f,d),y=u&&m>u,g=!y&&m===u,_=Gm(f,d),b=Wm(_),w=e(t,n,r,i,o,s,y?a:Qy(a,b,g),y?u:m,l+1,c);if(y){p||(p=w);break}if(!w&&$y(a,g)){var x=g&&!b,E=x?c:_,S=x?h:null;o(n,r,m,s?s(m,E,3):E,S),w=!0}p=w&&g,d+=2}if(function C(e,t){Gy[e]=t}(l,d),1===f.length||!u)return e(t,n,r,i,o,s,a,u,l+1,c)}return p}(e,t,n,r,i,o,s,a||null,0,u||null)),p&&function h(){for(var e=0;e<Gy.length;e++)Gy[e]=1}()}return l};function Qy(e,t,n){var r=e;return t||4&e||!(n||1&e)?(r|=4,r&=-3):(r|=2,r&=-5),r}function $y(e,t){var n=(1&e)>0;return n?4&e&&t&&(n=!1):2&e&&(n=t),n}var Gy=[];function Xy(e){var t={};if(e)for(var n=1;n<e.length;n+=2){var r=$m(e,n),i=Gm(e,n);t[r]=i}return t}!function(){function e(e){this.context=e}Object.defineProperty(e.prototype,"isLocked",{get:function(){return function e(t){return(1&function n(e){return e[1]}(t))>0}(this.context)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"entries",{get:function(){for(var e=this.context,t={},n=3;n<e.length;){var r=qm(e,n);if(r){for(var i=Bm(e,n),o=Um(e,n),s=zm(e,n),a=Hm(e,n),u=n+3,l=[],c=0;c<r;c++)l.push(e[u+c]);t[i]={prop:i,guardMask:o,sanitizationRequired:a,valuesCount:r,defaultValue:s,sources:l}}n+=3+r}return t},enumerable:!0,configurable:!0})}();var Yy=function(){function e(e,t,n){this.context=e,this._data=t,this._isClassBased=n,this._sanitizer=null}return e.prototype.overrideSanitizer=function(e){this._sanitizer=e},Object.defineProperty(e.prototype,"summary",{get:function(){var e={};return this._mapValues(function(t,n,r){e[t]={prop:t,value:n,bindingIndex:r}}),e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"values",{get:function(){var e={};return this._mapValues(function(t,n){e[t]=n}),e},enumerable:!0,configurable:!0}),e.prototype._mapValues=function(e){qm(this.context,3)>0&&function t(){!function e(t){Uy=t}
|
|
1050
1050
|
/**
|
|
1051
1051
|
* @license
|
|
1052
1052
|
* Copyright Google Inc. All Rights Reserved.
|
|
1053
1053
|
*
|
|
1054
1054
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1055
1055
|
* found in the LICENSE file at https://angular.io/license
|
|
1056
|
-
*/(
|
|
1056
|
+
*/(Wy)}();var n=this._isClassBased?null:this._sanitizer||function r(){return Im}();!
|
|
1057
1057
|
/**
|
|
1058
1058
|
* @license
|
|
1059
1059
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1068,7 +1068,7 @@ function gy(e){return e[vy]}function _y(e){return e[my]}function by(e){for(var t
|
|
|
1068
1068
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1069
1069
|
* found in the LICENSE file at https://angular.io/license
|
|
1070
1070
|
*/
|
|
1071
|
-
function i(e,t,n,r,o,s,a){for(var u=function l(e){return!0===e?-1:!1===e?0:e}(o),c=function p(){return
|
|
1071
|
+
function i(e,t,n,r,o,s,a){for(var u=function l(e){return!0===e?-1:!1===e?0:e}(o),c=function p(){return Uy}(),h=(u&Um(e,3))>0?1:0,f=function d(e){return 6+e[4]}(e);f<e.length;){var v=qm(e,f);if(u&Um(e,f)){for(var m=!1,y=Bm(e,f),g=v-1,_=Km(e,f,g),b=0;b<g;b++){var w=Km(e,f,b),x=r[w];if(Wm(x)){s(t,n,y,a&&Hm(e,f)?a(y,x,2):x,w),m=!0;break}}if(c){var E=c(e,t,n,r,s,a,h|(m?4:2),y,_);m=m||E}m||s(t,n,y,_)}f+=3+v}c&&c(e,t,n,r,s,a,h)}(this.context,null,{},this._data,!0,function(t,n,r,i,o){e(r,i,o||null)},n)},e}();function Zy(e){if(e){var t=e.debug;return gv(t,"Object does not have a debug representation."),t}return e}function Jy(e,t){void 0===t&&(t=!1);var n=hm(e);if(n){var r=n.nodeType===Node.TEXT_NODE,i=(r?n.textContent:n.outerHTML)||"";return t||r?i:i.split(n.innerHTML)[0]||null}return null}function eg(e){for(;Array.isArray(e);){if(e.length>=qv-1)return e;e=e[Cv]}return null}!function(){function e(e,t,n,r,i,o,s,a,u,l,c,p,h,f,d,v,m,y,g,_,b,w,x,E){this.tView_=e,this.type=t,this.index=n,this.injectorIndex=r,this.directiveStart=i,this.directiveEnd=o,this.propertyMetadataStartIndex=s,this.propertyMetadataEndIndex=a,this.flags=u,this.providerIndexes=l,this.tagName=c,this.attrs=p,this.localNames=h,this.initialInputs=f,this.inputs=d,this.outputs=v,this.tViews=m,this.next=y,this.projectionNext=g,this.child=_,this.parent=b,this.projection=w,this.styles=x,this.classes=E}Object.defineProperty(e.prototype,"type_",{get:function(){switch(this.type){case 0:return"TNodeType.Container";case 3:return"TNodeType.Element";case 4:return"TNodeType.ElementContainer";case 5:return"TNodeType.IcuContainer";case 1:return"TNodeType.Projection";case 2:return"TNodeType.View";default:return"TNodeType.???"}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"flags_",{get:function(){var e=[];return 8&this.flags&&e.push("TNodeFlags.hasClassInput"),4&this.flags&&e.push("TNodeFlags.hasContentQuery"),16&this.flags&&e.push("TNodeFlags.hasStyleInput"),1&this.flags&&e.push("TNodeFlags.isComponent"),32&this.flags&&e.push("TNodeFlags.isDetached"),2&this.flags&&e.push("TNodeFlags.isProjected"),e.join("|")},enumerable:!0,configurable:!0})}(),function(){function e(e){this._raw_lView=e}Object.defineProperty(e.prototype,"flags",{get:function(){var e=this._raw_lView[Nv];return{__raw__flags__:e,initPhaseState:3&e,creationMode:!!(4&e),firstViewPass:!!(8&e),checkAlways:!!(16&e),dirty:!!(64&e),attached:!!(128&e),destroyed:!!(256&e),isRoot:!!(512&e),indexWithinInitPhase:e>>10}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return Zy(this._raw_lView[kv])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"host",{get:function(){return Jy(this._raw_lView[Cv],!0)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._raw_lView[Rv]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"nodes",{get:function(){var e=this._raw_lView;return function e(t,n){if(t){for(var r=[],i=t;i;){var o=n[t.index],s=hm(o),a=Zy(eg(o)),u=Qm(t.styles)?new Yy(t.styles,n):null,l=Qm(t.classes)?new Yy(t.classes,n,!0):null;r.push({html:Jy(s),native:s,styles:u,classes:l,nodes:e(t.child,n),component:a}),i=i.next}return r}return null}(e[Tv].firstChild,e)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__other__",{get:function(){return{tView:this._raw_lView[Tv],cleanup:this._raw_lView[Ov],injector:this._raw_lView[Dv],rendererFactory:this._raw_lView[Lv],renderer:this._raw_lView[Fv],sanitizer:this._raw_lView[jv],childHead:Zy(this._raw_lView[Vv]),next:Zy(this._raw_lView[Pv]),childTail:Zy(this._raw_lView[15]),declarationView:Zy(this._raw_lView[Bv]),queries:null,tHost:this._raw_lView[Iv],bindingIndex:this._raw_lView[Mv]}},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"childViews",{get:function(){for(var e=[],t=this.__other__.childHead;t;)e.push(t),t=t.__other__.next;return e},enumerable:!0,configurable:!0})}(),function(){function e(e){this._raw_lContainer=e}Object.defineProperty(e.prototype,"activeIndex",{get:function(){return this._raw_lContainer[zv]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"views",{get:function(){return this._raw_lContainer.slice($v).map(Zy)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parent",{get:function(){return Zy(this._raw_lContainer[kv])},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"movedViews",{get:function(){return this._raw_lContainer[Wv]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"host",{get:function(){return this._raw_lContainer[Cv]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"native",{get:function(){return this._raw_lContainer[Qv]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"__other__",{get:function(){return{next:Zy(this._raw_lContainer[Pv])}},enumerable:!0,configurable:!0})}();var tg=function(){function e(e,t,n,r){this.__raw_opCode=e,this._lView=t,this.nodeIndex=n,this.type=r}return Object.defineProperty(e.prototype,"tNode",{get:function(){return vm(this.nodeIndex,this._lView)},enumerable:!0,configurable:!0}),e}();function ng(e){var t=e[Tv],n=Cm(e);if(t.firstTemplatePass=!1,e[Mv]=t.bindingStartIndex,!n){var r=Nm();im(e,t,r,void 0),function i(e){for(var t=e[Vv];null!==t;t=t[Pv])if(-1===t[zv]&&Xv(t))for(var n=$v;n<t.length;n++){var r=t[n];og(r,r[Tv],r[Rv])}}(e),rg(t,e),_m(e),om(e,t.contentHooks,t.contentCheckHooks,r,1,void 0),function o(e,t){try{if(e.expandoInstructions)for(var n=t[Mv]=e.expandoStartIndex,r=-1,i=-1,o=0;o<e.expandoInstructions.length;o++){var s=e.expandoInstructions[o];if("number"==typeof s)if(s<=0){i=-s;var a=e.expandoInstructions[++o];r=n+=tm+a}else n+=s;else null!==s&&(t[Mv]=n,s(2,hm(t[r]),i)),r++}}finally{}}(t,e)}n&&t.staticContentQueries&&rg(t,e),n&&!t.staticViewQueries||mg(2,t,e[Rv]),function s(e,t){if(null!=t)for(var n=0;n<t.length;n++)pg(e,t[n])}(e,t.components)}function rg(e,t){var n=e.contentQueries;if(null!==n)for(var r=0;r<n.length;r+=2){var i=n[r+1];-1!==i&&e.data[i].contentQueries(2,t[i],i)}}function ig(e,t,n,r,i,o,s,a,u,l){var c=t.blueprint.slice();return c[Cv]=i,c[Nv]=140|r,_m(c),c[kv]=c[Bv]=e,c[Rv]=n,c[Lv]=s||e&&e[Lv],c[Fv]=a||e&&e[Fv],c[jv]=u||e&&e[jv]||null,c[Dv]=l||e&&e[Dv]||null,c[Iv]=o,c}function og(e,t,n){var r,i=Sm(),o=wm();if(512&e[Nv])hg(function s(e){return function t(e){for(var t=Gv(e)?e:gm(e);t&&!(512&t[Nv]);)t=ey(t);return t}(e)[Rv]}(e));else{var a=!1;try{xm(null,!0),r=Pm(e,e[Iv]),_m(e),ag(e,t.template,ug(e),n),t.firstTemplatePass=!1,ng(e),a=!0}finally{Am(r,a),xm(o,i)}}}function sg(e,t,n){var r=e[Lv],i=Pm(e,e[Iv]),o=!Nm(),s=Cm(e),a=!1;try{o&&!s&&r.begin&&r.begin(),s&&(n&&ag(e,n,1,t),ng(e),e[Nv]&=-5),_m(e),n&&ag(e,n,2,t),ng(e),a=!0}finally{o&&!s&&r.end&&r.end(),Am(i,a)}}function ag(e,t,n,r){Om();try{2&n&&
|
|
1072
1072
|
/**
|
|
1073
1073
|
* @license
|
|
1074
1074
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1076,14 +1076,14 @@ function i(e,t,n,r,o,s,a){for(var u=function l(e){return!0===e?-1:!1===e?0:e}(o)
|
|
|
1076
1076
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1077
1077
|
* found in the LICENSE file at https://angular.io/license
|
|
1078
1078
|
*/
|
|
1079
|
-
function i(e,t){
|
|
1079
|
+
function i(e,t){im(e,e[Tv],Nm(),t)}(e,0),t(n,r)}finally{}}function ug(e){return Cm(e)?1:2}function lg(e,t,n,r,i,o,s,a){var u=qv+n,l=u+r,c=function p(e,t){var n=new Array(t).fill(null,0,e).fill(qy,e);return n[Mv]=e,n}(u,l);return c[Tv]={id:e,blueprint:c,template:t,queries:null,viewQuery:s,node:null,data:c.slice().fill(null,u),bindingStartIndex:u,expandoStartIndex:l,expandoInstructions:null,firstTemplatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof o?o():o,firstChild:null,schemas:a}}function cg(e,t,n,r,i,o){return{type:n,index:r,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,propertyMetadataStartIndex:-1,propertyMetadataEndIndex:-1,flags:0,providerIndexes:0,tagName:i,attrs:o,localNames:null,initialInputs:void 0,inputs:void 0,outputs:void 0,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,classes:null}}function pg(e,t){var n=mm(t,e);(function r(e){return 128==(128&e[Nv])}(n)||Cm(e))&&80&n[Nv]&&(function i(e){for(var t=e[Tv],n=e.length;n<t.blueprint.length;n++)e[n]=t.blueprint[n]}(n),vg(n,n[Rv]))}function hg(e){for(var t=0;t<e.components.length;t++){var n=e.components[t];sg(gm(n),n)}}function fg(e,t){var n=e[Lv];n.begin&&n.begin();try{Cm(e)&&vg(e,t),vg(e,t)}catch(t){throw function r(e,t){var n=e[Dv],r=n?n.get(xy,null):null;r&&r.handleError(t)}
|
|
1080
1080
|
/**
|
|
1081
1081
|
* @license
|
|
1082
1082
|
* Copyright Google Inc. All Rights Reserved.
|
|
1083
1083
|
*
|
|
1084
1084
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1085
1085
|
* found in the LICENSE file at https://angular.io/license
|
|
1086
|
-
*/(e,t),t}finally{n.end&&n.end()}}function
|
|
1086
|
+
*/(e,t),t}finally{n.end&&n.end()}}function dg(e){hg(e[Rv])}function vg(e,t){var n=e[Tv],r=Pm(e,e[Iv]),i=n.template,o=Cm(e),s=!1;try{_m(e),o&&mg(1,n,t),ag(e,i,ug(e),t),ng(e),s=!0}finally{Am(r,s)}}function mg(e,t,n){var r=t.viewQuery;null!==r&&r(e,n)}Object.defineProperty(function yg(e,t){this.__raw_opCodes=e,this.__lView=t}.prototype,"operations",{get:function(){for(var e=this.__lView,t=this.__raw_opCodes,n=[],r=0;r<t.length;r++){var i=t[r],o=void 0;if("string"==typeof i&&(o={__raw_opCode:i,type:"Create Text Node",nodeIndex:t[++r],text:i}),"number"==typeof i)switch(7&i){case 1:o=new tg(i,e,i>>>17,"AppendChild");break;case 0:o=new tg(i,e,i>>>3,"Select");break;case 5:var s=i>>>3;o=new tg(i,e,s,"ElementEnd");break;case 4:(o=new tg(i,e,s=i>>>3,"Attr")).attrName=t[++r],o.attrValue=t[++r]}if(!o)switch(i){case zy:o={__raw_opCode:i,type:"COMMENT_MARKER",commentValue:t[++r],nodeIndex:t[++r]};break;case Ky:o={__raw_opCode:i,type:"ELEMENT_MARKER"}}o||(o={__raw_opCode:i,type:"Unknown Op Code",code:i}),n.push(o)}return n},enumerable:!0,configurable:!0}),Object.defineProperty(function gg(e,t,n){this.__raw_opCodes=e,this.icus=t,this.__lView=n}.prototype,"operations",{get:function(){for(var e=this.__lView,t=this.__raw_opCodes,n=this.icus,r=[],i=0;i<t.length;i++){for(var o=t[i],s=t[++i],a="",u=i+1;u<=i+s;u++){var l=t[u];if("string"==typeof l)a+=l;else if("number"==typeof l)if(l<0)a+="�"+(-l-1)+"�";else{var c=l>>>2,p=void 0,h=void 0;switch(3&l){case 1:var f=t[++u],d=t[++u];r.push({__raw_opCode:l,checkBit:o,type:"Attr",attrValue:a,attrName:f,sanitizeFn:d});break;case 0:r.push({__raw_opCode:l,checkBit:o,type:"Text",nodeIndex:c,text:a});break;case 2:h=n[p=t[++u]];var v=new tg(l,e,c,"IcuSwitch");v.tIcuIndex=p,v.checkBit=o,v.mainBinding=a,v.tIcu=h,r.push(v);break;case 3:h=n[p=t[++u]],(v=new tg(l,e,c,"IcuUpdate")).tIcuIndex=p,v.checkBit=o,v.tIcu=h,r.push(v)}}}i+=s}return r},enumerable:!0,configurable:!0});var _g=Promise.resolve(null);function bg(e,t,n,r,i){if(null!=r){var o=void 0,s=!1;Xv(r)?o=r:Gv(r)&&(s=!0,r=r[Cv]);var a=hm(r);0===e?function u(e,t,n,r){Xm(e)?e.insertBefore(t,n,r):t.insertBefore(n,r,!0)}(t,n,a,i||null):1===e?function l(e,t,n){var r=function i(e,t){return Xm(e)?e.parentNode(t):t.parentNode}(e,t);r&&function o(e,t,n,r){Xm(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):2===e&&t.destroyNode(a),null!=o&&function c(e,t,n,r,i){var o=n[Qv];o!==hm(n)&&bg(t,e,r,o,i);for(var s=$v;s<n.length;s++)Eg(e,t,n[s],r,o)}(t,e,o,n,i)}}function wg(e,t){var n;return Gv(e)&&(n=e[Iv])&&2===n.type?function r(e,t){var n=t[kv];return-1===e.index?Xv(n)?n:null:n}(n,e):e[kv]===t?null:e[kv]}function xg(e){if(Gv(e)&&!(256&e[Nv])){e[Nv]&=-129,e[Nv]|=256,function t(e){var t,n=e[Tv];if(null!=n&&null!=(t=n.destroyHooks))for(var r=0;r<t.length;r+=2){var i=e[t[r]];i instanceof rm||t[r+1].call(i)}}(e),function n(e){var t=e[Tv].cleanup;if(null!==t){for(var n=e[Ov],r=0;r<t.length-1;r+=2)if("string"==typeof t[r]){var i=t[r+1],o="function"==typeof i?i(e):hm(e[i]),s=t[r+3];"boolean"==typeof s?o.removeEventListener(t[r],n[t[r+2]],s):s>=0?n[s]():n[-s].unsubscribe(),r+=2}else t[r].call(n[t[r+1]]);e[Ov]=null}}(e);var r=e[Iv];r&&3===r.type&&Xm(e[Fv])&&e[Fv].destroy();var i=e[Hv];if(null!==i&&Xv(e[kv])){i!==e[kv]&&function o(e,t){var n=e[Wv],r=n.indexOf(t);n.splice(r,1)}(i,e);var s=e[Av];null!==s&&s.detachView(e[Tv])}}}function Eg(e,t,n,r,i){for(var o=n[Tv].node.child;null!==o;)Sg(e,t,n,o,r,i),o=o.next}function Sg(e,t,n,r,i,o){var s=r.type;32&r.flags||(4===s||5===s?function a(e,t,n,r,i,o){bg(t,e,i,n[r.index],o);for(var s=r.child;s;)Sg(e,t,n,s,i,o),s=s.next}(e,t,n,r,i,o):1===s?function u(e,t,n,r,i,o){var s=ty(n),a=s[Iv].projection[r.projection];if(void 0!==a)if(Array.isArray(a))for(var u=0;u<a.length;u++)bg(t,e,i,a[u],o);else for(var l=a,c=s[kv];null!==l;)Sg(e,t,c,l,i,o),l=l.projectionNext}(e,t,n,r,i,o):bg(t,e,i,n[r.index],o))}
|
|
1087
1087
|
/**
|
|
1088
1088
|
* @license
|
|
1089
1089
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1097,21 +1097,21 @@ function i(e,t){rm(e,e[Cv],Tm(),t)}(e,0),t(n,r)}finally{}}function ag(e){return
|
|
|
1097
1097
|
*
|
|
1098
1098
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1099
1099
|
* found in the LICENSE file at https://angular.io/license
|
|
1100
|
-
*/var
|
|
1100
|
+
*/var Cg,Tg=function(e){function t(t){var n=e.call(this,t,null,-1)||this;return n._view=t,n}return o(t,e),t.prototype.detectChanges=function(){dg(this._view)},t.prototype.checkNoChanges=function(){!function e(t){km(!0);try{dg(t)}finally{km(!1)}}(this._view)},Object.defineProperty(t.prototype,"context",{get:function(){return null},enumerable:!0,configurable:!0}),t}(function(){function e(e,t,n){this._context=t,this._componentIndex=n,this._appRef=null,this._viewContainerRef=null,this._tViewNode=null,this._lView=e}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return null==this._lView[Cv]?function e(t,n,r){for(var i=n.child;i;){var o=dm(i,t);if(o&&r.push(o),4===i.type)e(t,i,r);else if(1===i.type)for(var s=ty(t),a=s[Iv],u=ey(s),l=a.projection[i.projection];l&&u;)r.push(fm(l,u)),l=l.next;i=i.next}return r}
|
|
1101
1101
|
/**
|
|
1102
1102
|
* @license
|
|
1103
1103
|
* Copyright Google Inc. All Rights Reserved.
|
|
1104
1104
|
*
|
|
1105
1105
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1106
1106
|
* found in the LICENSE file at https://angular.io/license
|
|
1107
|
-
*/(this._lView,this._lView[
|
|
1107
|
+
*/(this._lView,this._lView[Iv],[]):[]},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._context?this._context:this._lookUpContext()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 256==(256&this._lView[Nv])},enumerable:!0,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}!function t(e){if(!(256&e[Nv])){var t=e[Fv];Xm(t)&&t.destroyNode&&Eg(t,2,e,null,null),function n(e){var t=e[Vv];if(!t)return xg(e);for(;t;){var n=null;if(Gv(t))n=t[Vv];else{var r=t[$v];r&&(n=r)}if(!n){for(;t&&!t[Pv]&&t!==e;)xg(t),t=wg(t,e);xg(t||e),n=t&&t[Pv]}t=n}}(e)}}(this._lView)},e.prototype.onDestroy=function(e){!function t(e,n){(function r(e){return e[Ov]||(e[Ov]=[])})(e).push(n),e[Tv].firstTemplatePass&&function i(e){return e[Tv].cleanup||(e[Tv].cleanup=[])}(e).push(e[Ov].length-1,null)}(this._lView,e)},e.prototype.markForCheck=function(){!function e(t){for(;t;){t[Nv]|=64;var n=ey(t);if(0!=(512&t[Nv])&&!n)return t;t=n}}(this._lView)},e.prototype.detach=function(){this._lView[Nv]&=-129},e.prototype.reattach=function(){this._lView[Nv]|=128},e.prototype.detectChanges=function(){fg(this._lView,this.context)},e.prototype.checkNoChanges=function(){!function e(t,n){km(!0);try{fg(t,n)}finally{km(!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){Eg(t[Fv],1,t,null,null)}(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.prototype._lookUpContext=function(){return this._context=ey(this._lView)[this._componentIndex]},e}()),Ng=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return kg()},e}(),kg=function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]},Pg=Function;function Ag(e){return"function"==typeof e}
|
|
1108
1108
|
/**
|
|
1109
1109
|
* @license
|
|
1110
1110
|
* Copyright Google Inc. All Rights Reserved.
|
|
1111
1111
|
*
|
|
1112
1112
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1113
1113
|
* found in the LICENSE file at https://angular.io/license
|
|
1114
|
-
*/var
|
|
1114
|
+
*/var Ig=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,Mg=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Og=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Rg=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/,Dg=function(){function e(e){this._reflect=e||Kd.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,f([void 0],t)))}},e.prototype._zipTypesAndAnnotations=function(e,t){var n;n=void 0===e?new Array(t.length):new Array(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 Ig.test(e)||Rg.test(e)||Mg.test(e)&&!Og.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 i="function"==typeof r?r():r,o=i.map(function(e){return e&&e.type}),s=i.map(function(e){return e&&Lg(e.decorators)});return this._zipTypesAndAnnotations(o,s)}var a=e.hasOwnProperty(gd)&&e[gd],u=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return u||a?this._zipTypesAndAnnotations(u,a):new Array(e.length).fill(void 0)},e.prototype.parameters=function(e){if(!Ag(e))return[];var t=Fg(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?Lg(e.decorators):e.hasOwnProperty(yd)?e[yd]:null},e.prototype.annotations=function(e){if(!Ag(e))return[];var t=Fg(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,i={};return Object.keys(r).forEach(function(e){i[e]=Lg(r[e])}),i}return e.hasOwnProperty(_d)?e[_d]:null},e.prototype.propMetadata=function(e){if(!Ag(e))return{};var t=Fg(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach(function(e){n[e]=r[e]})}var i=this._ownPropMetadata(e,t);return i&&Object.keys(i).forEach(function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,f(n[e])),t.push.apply(t,f(i[e])),n[e]=t}),n},e.prototype.ownPropMetadata=function(e){return Ag(e)&&this._ownPropMetadata(e,Fg(e))||{}},e.prototype.hasLifecycleHook=function(e,t){return e instanceof Pg&&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:"./"+Dd(e)},e.prototype.resourceUri=function(e){return"./"+Dd(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function Lg(e){return e?e.map(function(e){var t=e.type.annotationCls;return new(t.bind.apply(t,f([void 0],e.args?e.args:[])))}):[]}function Fg(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
|
|
1115
1115
|
/**
|
|
1116
1116
|
* @license
|
|
1117
1117
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1125,28 +1125,28 @@ function i(e,t){rm(e,e[Cv],Tm(),t)}(e,0),t(n,r)}finally{}}function ag(e){return
|
|
|
1125
1125
|
*
|
|
1126
1126
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1127
1127
|
* found in the LICENSE file at https://angular.io/license
|
|
1128
|
-
*/Pd({provide:String,useValue:Pd});var
|
|
1128
|
+
*/Pd({provide:String,useValue:Pd});var jg=Pd({provide:String,useValue:Pd}),Vg=[];function Bg(e,t){if(!t){var n=(u=new Dg).parameters(e);return function(){return new(e.bind.apply(e,f([void 0],sv(n))))}}if(jg in t){var r=t;return function(){return r.useValue}}if(t.useExisting){var i=t;return function(){return iv(i.useExisting)}}if(t.useFactory){var o=t;return function(){return o.useFactory.apply(o,f(sv(o.deps||Vg)))}}if(t.useClass){var s=t,a=t.deps;if(!a){var u=new Dg;a=u.parameters(e)}return function(){var e;return new((e=s.useClass).bind.apply(e,f([void 0],sv(a))))}}var l=t.deps;return l||(u=new Dg,l=u.parameters(e)),function(){return new(e.bind.apply(e,f([void 0],sv(l))))}}
|
|
1129
1129
|
/**
|
|
1130
1130
|
* @license
|
|
1131
1131
|
* Copyright Google Inc. All Rights Reserved.
|
|
1132
1132
|
*
|
|
1133
1133
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1134
1134
|
* found in the LICENSE file at https://angular.io/license
|
|
1135
|
-
*/var
|
|
1135
|
+
*/var Hg=bd("Injectable",void 0,void 0,void 0,function(e,t){return Ug(e,t)}),Ug=function qg(e,t){t&&void 0!==t.providedIn&&!Id(e)&&(e.ngInjectableDef=Ad({token:e,providedIn:t.providedIn,factory:Bg(e,t)}))},Kg=new Wd("The presence of this token marks an injector as being the root injector."),zg={},Wg={},Qg=[],$g=void 0;function Gg(){return void 0===$g&&($g=new av),$g}var Xg=function(){function e(e,t,n,r){var i=this;void 0===r&&(r=null),this.parent=n,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;var o=[];vv([e],function(e){return i.processInjectorType(e,[],o)}),t&&vv(t,function(n){return i.processProvider(n,e,t)}),this.records.set(Qd,Zg(void 0,this)),this.isRootInjector=this.records.has(Kg),this.injectorDefTypes.forEach(function(e){return i.get(e)}),this.source=r||("object"==typeof e?null:Dd(e))}return Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(function(e){return e.ngOnDestroy()})}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}},e.prototype.get=function(e,t,n){void 0===t&&(t=$d),void 0===n&&(n=Sd.Default),this.assertNotDestroyed();var r=nv(this);try{if(!(n&Sd.SkipSelf)){var i=this.records.get(e);if(void 0===i){var o=function s(e){return"function"==typeof e||"object"==typeof e&&e instanceof Wd}
|
|
1136
1136
|
/**
|
|
1137
1137
|
* @license
|
|
1138
1138
|
* Copyright Google Inc. All Rights Reserved.
|
|
1139
1139
|
*
|
|
1140
1140
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1141
1141
|
* found in the LICENSE file at https://angular.io/license
|
|
1142
|
-
*/(e)&&Id(e);o&&this.injectableDefInScope(o)&&(i=Yg(
|
|
1142
|
+
*/(e)&&Id(e);o&&this.injectableDefInScope(o)&&(i=Zg(Yg(e),zg),this.records.set(e,i))}if(void 0!==i)return this.hydrate(e,i)}return(n&Sd.Self?Gg():this.parent).get(e,n&Sd.Optional?null:t)}catch(t){if("NullInjectorError"===t.name){if((t[Gd]=t[Gd]||[]).unshift(Dd(e)),r)throw t;return uv(t,e,"R3InjectorError",this.source)}throw t}finally{nv(r)}},e.prototype.toString=function(){var e=[];return this.records.forEach(function(t,n){return e.push(Dd(n))}),"R3Injector["+e.join(", ")+"]"},e.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},e.prototype.processInjectorType=function(e,t,n){var r=this;if(!(e=jd(e)))return!1;var i=Md(e),o=null==i&&e.ngModule||void 0,s=void 0===o?e:o,a=-1!==n.indexOf(s);if(void 0!==o&&(i=Md(o)),null==i)return!1;if(this.injectorDefTypes.add(s),this.records.set(s,Zg(i.factory,zg)),null!=i.imports&&!a){var u;n.push(s);try{vv(i.imports,function(e){r.processInjectorType(e,t,n)&&(void 0===u&&(u=[]),u.push(e))})}finally{}if(void 0!==u)for(var l=function(e){var t=u[e],n=t.ngModule,i=t.providers;vv(i,function(e){return r.processProvider(e,n,i||Qg)})},c=0;c<u.length;c++)l(c)}var p=i.providers;if(null!=p&&!a){var h=e;vv(p,function(e){return r.processProvider(e,h,p)})}return void 0!==o&&void 0!==e.providers},e.prototype.processProvider=function(e,t,n){var r=e_(e=jd(e))?e:jd(e&&e.provide),i=function o(e,t,n){var r=function i(e,t,n){var r=void 0;if(e_(e))return Yg(jd(e));if(Jg(e))r=function(){return jd(e.useValue)};else if(function i(e){return!(!e||!e.useExisting)}(e))r=function(){return iv(jd(e.useExisting))};else if(function o(e){return!(!e||!e.useFactory)}(e))r=function(){return e.useFactory.apply(e,f(sv(e.deps||[])))};else{var s=jd(e&&(e.useClass||e.provide));if(s||function a(e,t,n){var r="";throw e&&t&&(r=" - only instances of Provider and Type are allowed, got: ["+t.map(function(e){return e==n?"?"+n+"?":"..."}).join(", ")+"]"),new Error("Invalid provider for the NgModule '"+Dd(e)+"'"+r)}(t,n,e),!function u(e){return!!e.deps}(e))return Yg(s);r=function(){return new(s.bind.apply(s,f([void 0],sv(e.deps))))}}return r}(e,t,n);return Jg(e)?Zg(void 0,e.useValue):Zg(r,zg)}(e,t,n);if(e_(e)||!0!==e.multi){var s=this.records.get(r);s&&void 0!==s.multi&&Hy()}else{var a=this.records.get(r);a?void 0===a.multi&&Hy():((a=Zg(void 0,zg,!0)).factory=function(){return sv(a.multi)},this.records.set(r,a)),r=e,a.multi.push(e)}this.records.set(r,i)},e.prototype.hydrate=function(e,t){return t.value===Wg?function n(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(Dd(e)):t.value===zg&&(t.value=Wg,t.value=t.factory()),"object"==typeof t.value&&t.value&&function r(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(t.value)&&this.onDestroy.add(t.value),t.value},e.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},e}();function Yg(e){var t=Id(e);if(null!==t)return t.factory;var n=Md(e);if(null!==n)return n.factory;if(e instanceof Wd)throw new Error("Token "+Dd(e)+" is missing an ngInjectableDef definition.");if(e instanceof Function)return function r(e){var t=e.length;if(t>0){var n=new Array(t).fill("?");throw new Error("Can't resolve all parameters for "+Dd(e)+": ("+n.join(", ")+").")}var r=function i(e){return e&&e[Od]?(console.warn('DEPRECATED: DI is instantiating a token "'+e.name+'" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in v10. Please add @Injectable() to the "'+e.name+'" class.'),e[Od]):null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function Zg(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function Jg(e){return null!==e&&"object"==typeof e&&ev in e}function e_(e){return"function"==typeof e}var t_=function n_(e,t,n){return new u_(e,t,n)},r_=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?t_(e,t,""):t_(e.providers,e.parent,e.name||"")},e.THROW_IF_NOT_FOUND=$d,e.NULL=new av,e.ngInjectableDef=Ad({token:e,providedIn:"any",factory:function(){return iv(Qd)}}),e.__NG_ELEMENT_ID__=-1,e}(),i_=function(e){return e},o_=[],s_=i_,a_=function(){return Array.prototype.slice.call(arguments)},u_=function(){function e(e,t,n){void 0===t&&(t=r_.NULL),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(r_,{token:r_,fn:i_,deps:o_,value:this,useNew:!1}),r.set(Qd,{token:Qd,fn:i_,deps:o_,value:this,useNew:!1}),function e(t,n){if(n)if((n=jd(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw c_("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw c_("Unexpected provider",n);var i=jd(n.provide),o=function s(e){var t=function n(e){var t=o_,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var i=6;if((u=jd(n[r]))instanceof Array)for(var o=0,s=u;o<s.length;o++){var a=s[o];a instanceof Td||a==Td?i|=1:a instanceof kd||a==kd?i&=-3:a instanceof Nd||a==Nd?i&=-5:u=a instanceof Cd?a.token:jd(a)}t.push({token:u,options:i})}}else if(e.useExisting){var u;t=[{token:u=jd(e.useExisting),options:6}]}else if(!(n||ev in e))throw c_("'deps' required",e);return t}(e),r=i_,i=o_,o=!1,s=jd(e.provide);if(ev in e)i=e.useValue;else if(e.useFactory)r=e.useFactory;else if(e.useExisting);else if(e.useClass)o=!0,r=jd(e.useClass);else{if("function"!=typeof s)throw c_("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);o=!0,r=s}return{deps:t,fn:r,useNew:o,value:i}}(n);if(!0===n.multi){var a=t.get(i);if(a){if(a.fn!==a_)throw l_(i)}else t.set(i,a={token:n.provide,deps:[],useNew:!1,fn:a_,value:o_});a.deps.push({token:i=n,options:6})}var u=t.get(i);if(u&&u.fn==a_)throw l_(i);t.set(i,o)}}(r,e)}return e.prototype.get=function(e,t,n){void 0===n&&(n=Sd.Default);var r=this._records.get(e);try{return function e(t,n,r,i,o,s){try{return function a(t,n,r,i,o,s){var a,u;if(!n||s&Sd.SkipSelf)s&Sd.Self||(u=i.get(t,o,Sd.Default));else{if((u=n.value)==s_)throw Error("ɵCircular dependency");if(u===o_){n.value=s_;var l=n.useNew,c=n.fn,p=n.deps,h=o_;if(p.length){h=[];for(var d=0;d<p.length;d++){var v=p[d],m=v.options,y=2&m?r.get(v.token):void 0;h.push(e(v.token,y,r,y||4&m?i:r_.NULL,1&m?null:r_.THROW_IF_NOT_FOUND,Sd.Default))}}n.value=u=l?new((a=c).bind.apply(a,f([void 0],h))):c.apply(void 0,h)}}return u}(t,n,r,i,o,s)}catch(e){throw e instanceof Error||(e=new Error(e)),(e[Gd]=e[Gd]||[]).unshift(t),n&&n.value==s_&&(n.value=o_),e}}(e,r,this._records,this.parent,t,n)}catch(t){return uv(t,e,"StaticInjectorError",this.source)}},e.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(Dd(n))}),"StaticInjector["+e.join(", ")+"]"},e}();function l_(e){return c_("Cannot mix multi providers and regular providers",e)}function c_(e,t){return new Error(lv(e,t,"StaticInjectorError"))}
|
|
1143
1143
|
/**
|
|
1144
1144
|
* @license
|
|
1145
1145
|
* Copyright Google Inc. All Rights Reserved.
|
|
1146
1146
|
*
|
|
1147
1147
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1148
1148
|
* found in the LICENSE file at https://angular.io/license
|
|
1149
|
-
*/function
|
|
1149
|
+
*/function p_(e){return e.length>1?" ("+function t(e){for(var t=[],n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(function(e){return Dd(e.token)}).join(" -> ")+")":""}function h_(e,t,n,r){var i=[t],o=n(i),s=r?function a(e,t){var n=e+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[yy]=t,r}(o,r):Error(o);return s.addKey=f_,s.keys=i,s.injectors=[e],s.constructResolvingMessage=n,s[yy]=r,s}function f_(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function d_(e,t){for(var n=[],r=0,i=t.length;r<i;r++){var o=t[r];n.push(o&&0!=o.length?o.map(Dd).join(" "):"?")}return Error("Cannot resolve all parameters for '"+Dd(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+Dd(e)+"' is decorated with Injectable.")}
|
|
1150
1150
|
/**
|
|
1151
1151
|
* @license
|
|
1152
1152
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1154,14 +1154,14 @@ function i(e,t){rm(e,e[Cv],Tm(),t)}(e,0),t(n,r)}finally{}}function ag(e){return
|
|
|
1154
1154
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1155
1155
|
* found in the LICENSE file at https://angular.io/license
|
|
1156
1156
|
*/
|
|
1157
|
-
var
|
|
1157
|
+
var v_=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=Dd(this.token)}return e.get=function(e){return m_.get(jd(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return m_.numberOfKeys},enumerable:!0,configurable:!0}),e}(),m_=new(function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof v_)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new v_(e,v_.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}()),y_=new(function(){function e(e){this.reflectionCapabilities=e}return e.prototype.updateCapabilities=function(e){this.reflectionCapabilities=e},e.prototype.factory=function(e){return this.reflectionCapabilities.factory(e)},e.prototype.parameters=function(e){return this.reflectionCapabilities.parameters(e)},e.prototype.annotations=function(e){return this.reflectionCapabilities.annotations(e)},e.prototype.propMetadata=function(e){return this.reflectionCapabilities.propMetadata(e)},e.prototype.hasLifecycleHook=function(e,t){return this.reflectionCapabilities.hasLifecycleHook(e,t)},e.prototype.getter=function(e){return this.reflectionCapabilities.getter(e)},e.prototype.setter=function(e){return this.reflectionCapabilities.setter(e)},e.prototype.method=function(e){return this.reflectionCapabilities.method(e)},e.prototype.importUri=function(e){return this.reflectionCapabilities.importUri(e)},e.prototype.resourceUri=function(e){return this.reflectionCapabilities.resourceUri(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return this.reflectionCapabilities.resolveIdentifier(e,t,n,r)},e.prototype.resolveEnum=function(e,t){return this.reflectionCapabilities.resolveEnum(e,t)},e}())(new Dg),g_=function(){function e(e,t,n){this.key=e,this.optional=t,this.visibility=n}return e.fromKey=function(t){return new e(t,!1,null)},e}(),__=[],b_=function b_(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},w_=function w_(e,t){this.factory=e,this.dependencies=t};function x_(e){var t,n;if(e.useClass){var r=jd(e.useClass);t=y_.factory(r),n=S_(r)}else e.useExisting?(t=function(e){return e},n=[g_.fromKey(v_.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function i(e,t){if(t){var n=t.map(function(e){return[e]});return t.map(function(t){return C_(e,t,n)})}return S_(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=__);return new w_(t,n)}function E_(e){return new b_(v_.get(e.provide),[x_(e)],e.multi||!1)}function S_(e){var t=y_.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw d_(e,t);return t.map(function(n){return C_(e,n,t)})}function C_(e,t,n){var r=null,i=!1;if(!Array.isArray(t))return T_(t instanceof Cd?t.token:t,i,null);for(var o=null,s=0;s<t.length;++s){var a=t[s];a instanceof Pg?r=a:a instanceof Cd?r=a.token:a instanceof Td?i=!0:a instanceof Nd||a instanceof kd?o=a:a instanceof Wd&&(r=a)}if(null!=(r=jd(r)))return T_(r,i,o);throw d_(e,n)}function T_(e,t,n){return new g_(v_.get(e),t,n)}
|
|
1158
1158
|
/**
|
|
1159
1159
|
* @license
|
|
1160
1160
|
* Copyright Google Inc. All Rights Reserved.
|
|
1161
1161
|
*
|
|
1162
1162
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1163
1163
|
* found in the LICENSE file at https://angular.io/license
|
|
1164
|
-
*/var
|
|
1164
|
+
*/var N_=new Object,k_=function(){function e(){}return e.resolve=function(e){return function t(e){var t=function n(e,t){for(var n=0;n<e.length;n++){var r=e[n],i=t.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+i+" "+r);if(r.multiProvider)for(var o=0;o<r.resolvedFactories.length;o++)i.resolvedFactories.push(r.resolvedFactories[o]);else t.set(r.key.id,r)}else{var s;s=r.multiProvider?new b_(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,s)}}return t}(function e(t,n){return t.forEach(function(t){if(t instanceof Pg)n.push({provide:t,useClass:t});else if(t&&"object"==typeof t&&void 0!==t.provide)n.push(t);else{if(!(t instanceof Array))throw function r(e){return Error("Invalid provider - only instances of Provider and Type are allowed, got: "+e)}(t);e(t,n)}}),n}(e,[]).map(E_),new Map);return Array.from(t.values())}(e)},e.resolveAndCreate=function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return new P_(e,t)},e}(),P_=function(){function e(e,t){this._constructionCounter=0,this._providers=e,this.parent=t||null;var n=e.length;this.keyIds=new Array(n),this.objs=new Array(n);for(var r=0;r<n;r++)this.keyIds[r]=e[r].key.id,this.objs[r]=N_}return e.prototype.get=function(e,t){return void 0===t&&(t=$d),this._getByKey(v_.get(e),null,t)},e.prototype.resolveAndCreateChild=function(e){var t=k_.resolve(e);return this.createChildFromResolved(t)},e.prototype.createChildFromResolved=function(t){var n=new e(t);return n.parent=this,n},e.prototype.resolveAndInstantiate=function(e){return this.instantiateResolved(k_.resolve([e])[0])},e.prototype.instantiateResolved=function(e){return this._instantiateProvider(e)},e.prototype.getProviderAtIndex=function(e){if(e<0||e>=this._providers.length)throw function t(e){return Error("Index "+e+" is out-of-bounds.")}(e);return this._providers[e]},e.prototype._new=function(e){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function t(e,n){return h_(e,n,function(e){return"Cannot instantiate cyclic dependency!"+p_(e)})}(this,e.key);return this._instantiateProvider(e)},e.prototype._getMaxNumberOfObjects=function(){return this.objs.length},e.prototype._instantiateProvider=function(e){if(e.multiProvider){for(var t=new Array(e.resolvedFactories.length),n=0;n<e.resolvedFactories.length;++n)t[n]=this._instantiate(e,e.resolvedFactories[n]);return t}return this._instantiate(e,e.resolvedFactories[0])},e.prototype._instantiate=function(e,t){var n,r,i=this,o=t.factory;try{n=t.dependencies.map(function(e){return i._getByReflectiveDependency(e)})}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{r=o.apply(void 0,f(n))}catch(t){throw function s(e,t,n,r){return h_(e,r,function(e){var n=Dd(e[0].token);return t.message+": Error during instantiation of "+n+"!"+p_(e)+"."},t)}(this,t,0,e.key)}return r},e.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:$d)},e.prototype._getByKey=function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof Nd?this._getByKeySelf(t,r):this._getByKeyDefault(t,r,n)},e.prototype._getObjByKeyId=function(e){for(var t=0;t<this.keyIds.length;t++)if(this.keyIds[t]===e)return this.objs[t]===N_&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return N_},e.prototype._throwOrNull=function(e,t){if(t!==$d)return t;throw function n(e,t){return h_(e,t,function(e){return"No provider for "+Dd(e[0].token)+"!"+p_(e)})}(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==N_?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,r){var i;for(i=r instanceof kd?this.parent:this;i instanceof e;){var o=i,s=o._getObjByKeyId(t.id);if(s!==N_)return s;i=o.parent}return null!==i?i.get(t.token,n):this._throwOrNull(t,n)},Object.defineProperty(e.prototype,"displayName",{get:function(){return"ReflectiveInjector(providers: ["+function e(t,n){for(var r=new Array(t._providers.length),i=0;i<t._providers.length;++i)r[i]=n(t.getProviderAtIndex(i));return r}
|
|
1165
1165
|
/**
|
|
1166
1166
|
* @license
|
|
1167
1167
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1182,7 +1182,7 @@ var d_=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
1182
1182
|
*
|
|
1183
1183
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1184
1184
|
* found in the LICENSE file at https://angular.io/license
|
|
1185
|
-
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=
|
|
1185
|
+
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=v_.get(r_),e}();new Wd("AnalyzeForEntryComponents");var A_,I_=(Ed("ContentChildren",function(e,t){return void 0===t&&(t={}),a({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)},A_=function A_(){}),Ed("ContentChild",function(e,t){return void 0===t&&(t={}),a({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},A_),Ed("ViewChildren",function(e,t){return void 0===t&&(t={}),a({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)},A_),Ed("ViewChild",function(e,t){return a({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},A_),null);function M_(){if(!I_){var e=Kd.Symbol;if(e&&e.iterator)I_=e.iterator;else for(var t=Object.getOwnPropertyNames(Map.prototype),n=0;n<t.length;++n){var r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(I_=r)}}return I_}
|
|
1186
1186
|
/**
|
|
1187
1187
|
* @license
|
|
1188
1188
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1196,14 +1196,14 @@ var d_=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
1196
1196
|
*
|
|
1197
1197
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1198
1198
|
* found in the LICENSE file at https://angular.io/license
|
|
1199
|
-
*/function
|
|
1199
|
+
*/function O_(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}
|
|
1200
1200
|
/**
|
|
1201
1201
|
* @license
|
|
1202
1202
|
* Copyright Google Inc. All Rights Reserved.
|
|
1203
1203
|
*
|
|
1204
1204
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1205
1205
|
* found in the LICENSE file at https://angular.io/license
|
|
1206
|
-
*/function
|
|
1206
|
+
*/function R_(e,t){var n=L_(e),r=L_(t);return n&&r?function i(e,t,n){for(var r=e[M_()](),i=t[M_()]();;){var o=r.next(),s=i.next();if(o.done&&s.done)return!0;if(o.done||s.done)return!1;if(!n(o.value,s.value))return!1}}(e,t,R_):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||O_(e,t)}var D_=function(){function e(e){this.wrapped=e}return e.wrap=function(t){return new e(t)},e.unwrap=function(t){return e.isWrapped(t)?t.wrapped:t},e.isWrapped=function(t){return t instanceof e},e}();function L_(e){return!!F_(e)&&(Array.isArray(e)||!(e instanceof Map)&&M_()in e)}function F_(e){return null!==e&&("function"==typeof e||"object"==typeof e)}
|
|
1207
1207
|
/**
|
|
1208
1208
|
* @license
|
|
1209
1209
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1280,7 +1280,7 @@ var d_=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
1280
1280
|
*
|
|
1281
1281
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1282
1282
|
* found in the LICENSE file at https://angular.io/license
|
|
1283
|
-
*/function
|
|
1283
|
+
*/function j_(e){return!!e&&"function"==typeof e.then}
|
|
1284
1284
|
/**
|
|
1285
1285
|
* @license
|
|
1286
1286
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1351,7 +1351,7 @@ var d_=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("
|
|
|
1351
1351
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1352
1352
|
* found in the LICENSE file at https://angular.io/license
|
|
1353
1353
|
*/
|
|
1354
|
-
function
|
|
1354
|
+
function V_(e){var t=H_(e);return void 0===t.component&&(t.component=function n(e,t){var n=t[Tv].data[e];return 1&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component}function B_(e,t){void 0===t&&(t=!0);var n=function r(e){var t=ym(e);if(t){if(Array.isArray(t)){var n=t,r=void 0,i=void 0,o=void 0;if(function s(e){return e&&e.constructor&&e.constructor.ngComponentDef}(e)){if(-1==(r=function a(e,t){var n=e[Tv].components;if(n)for(var r=0;r<n.length;r++){var i=n[r];if(mm(i,e)[Rv]===t)return i}else if(mm(qv,e)[Rv]===t)return qv;return-1}(n,e)))throw new Error("The provided component was not found in the application");i=e}else if(function u(e){return e&&e.constructor&&e.constructor.ngDirectiveDef}(e)){if(-1==(r=function l(e,t){for(var n=e[Tv].firstChild;n;){for(var r=n.directiveEnd,i=n.directiveStart;i<r;i++)if(e[i]===t)return n.index;n=By(n)}return-1}(n,e)))throw new Error("The provided directive was not found in the application");o=function c(e,t,n){var r=t[Tv].data[e],i=r.directiveStart;return 0==i?_v:(!n&&1&r.flags&&i++,t.slice(i,r.directiveEnd))}(r,n,!1)}else if(-1==(r=Vy(n,e)))return null;var p=ym(g=hm(n[r])),h=p&&!Array.isArray(p)?p:Fy(n,r,g);if(i&&void 0===h.component&&(h.component=i,jy(h.component,h)),o&&void 0===h.directives){h.directives=o;for(var f=0;f<o.length;f++)jy(o[f],h)}jy(h.native,h),t=h}}else for(var d=e,v=d;v=v.parentNode;){var m=ym(v);if(m){if(n=void 0,!(n=Array.isArray(m)?m:m.lView))return null;var y=Vy(n,d);if(y>=0){var g;jy(g=hm(n[y]),h=Fy(n,y,g)),t=h;break}}}return t||null}(e);if(!n&&t)throw new Error("Invalid ng target");return n}function H_(e){if(!(e instanceof Node))throw new Error("Expecting instance of DOM Node");return B_(e)}function U_(e){return"boolean"==typeof e.useCapture}function q_(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function K_(e,t){var n=gm(e)[Tv],r=n.data.length-1;!
|
|
1355
1355
|
/**
|
|
1356
1356
|
* @license
|
|
1357
1357
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1366,7 +1366,7 @@ function i(e,t,n,r,o,s){var a=t.onChanges,u=t.onInit,l=t.doCheck;o>=0&&(!n.preOr
|
|
|
1366
1366
|
*
|
|
1367
1367
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1368
1368
|
* found in the LICENSE file at https://angular.io/license
|
|
1369
|
-
*/var
|
|
1369
|
+
*/var z_=function(){function e(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}return e.prototype.isFirstChange=function(){return this.firstChange},e}(),W_=function W_(){},Q_=function Q_(){},$_=function(){function e(){}return e.prototype.resolveComponentFactory=function(e){
|
|
1370
1370
|
/**
|
|
1371
1371
|
* @license
|
|
1372
1372
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1374,7 +1374,7 @@ function i(e,t,n,r,o,s){var a=t.onChanges,u=t.onInit,l=t.doCheck;o>=0&&(!n.preOr
|
|
|
1374
1374
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1375
1375
|
* found in the LICENSE file at https://angular.io/license
|
|
1376
1376
|
*/
|
|
1377
|
-
throw function t(e){var t=Error("No component factory found for "+Dd(e)+". Did you add it to @NgModule.entryComponents?");return t.ngComponent=e,t}(e)},e}()
|
|
1377
|
+
throw function t(e){var t=Error("No component factory found for "+Dd(e)+". Did you add it to @NgModule.entryComponents?");return t.ngComponent=e,t}(e)},e}(),G_=function(){function e(){}return e.NULL=new $_,e}(),X_=function(e){function t(t,n){var r=e.call(this)||this;return r.factory=t,r.ngModule=n,r.selector=t.selector,r.componentType=t.componentType,r.ngContentSelectors=t.ngContentSelectors,r.inputs=t.inputs,r.outputs=t.outputs,r}return o(t,e),t.prototype.create=function(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)},t}(Q_);
|
|
1378
1378
|
/**
|
|
1379
1379
|
* @license
|
|
1380
1380
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1410,28 +1410,28 @@ throw function t(e){var t=Error("No component factory found for "+Dd(e)+". Did y
|
|
|
1410
1410
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1411
1411
|
* found in the LICENSE file at https://angular.io/license
|
|
1412
1412
|
*/
|
|
1413
|
-
function
|
|
1413
|
+
function Y_(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}
|
|
1414
1414
|
/**
|
|
1415
1415
|
* @license
|
|
1416
1416
|
* Copyright Google Inc. All Rights Reserved.
|
|
1417
1417
|
*
|
|
1418
1418
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1419
1419
|
* found in the LICENSE file at https://angular.io/license
|
|
1420
|
-
*/var
|
|
1420
|
+
*/var Z_,J_=function(){function e(e){this.nativeElement=e}return e.__NG_ELEMENT_ID__=function(){return eb(e)},e}(),eb=Y_,tb=function tb(){},nb=(new Wd("Renderer2Interceptor"),function nb(){});!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(Z_||(Z_={}));var rb=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return ib()},e}(),ib=Y_,ob=function Ft(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")},sb=new ob("8.2.4"),ab=function(){function e(){}return e.prototype.supports=function(e){return L_(e)},e.prototype.create=function(e){return new lb(e)},e}(),ub=function(e,t){return t},lb=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||ub}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,i=null;t||n;){var o=!n||t&&t.currentIndex<fb(n,r,i)?t:n,s=fb(o,r,i),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{i||(i=[]);var u=s-r,l=a-r;if(u!=l){for(var c=0;c<u;c++){var p=c<i.length?i[c]:i[c]=0,h=p+c;l<=h&&h<u&&(i[c]=p+1)}i[o.previousIndex]=l-u}}s!==a&&e(o,s,a)}},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=[]),!L_(e))throw new Error("Error trying to diff '"+Dd(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,i,o=this._itHead,s=!1;if(Array.isArray(e)){this.length=e.length;for(var a=0;a<this.length;a++)i=this._trackByFn(a,r=e[a]),null!==o&&O_(o.trackById,i)?(s&&(o=this._verifyReinsertion(o,r,i,a)),O_(o.item,r)||this._addIdentityChange(o,r)):(o=this._mismatch(o,r,i,a),s=!0),o=o._next}else n=0,function u(e,t){if(Array.isArray(e))for(var n=0;n<e.length;n++)t(e[n]);else for(var r=e[M_()](),i=void 0;!(i=r.next()).done;)t(i.value)}(e,function(e){i=t._trackByFn(n,e),null!==o&&O_(o.trackById,i)?(s&&(o=t._verifyReinsertion(o,e,i,n)),O_(o.item,e)||t._addIdentityChange(o,e)):(o=t._mismatch(o,e,i,n),s=!0),o=o._next,n++}),this.length=n;return this._truncate(o),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:!0,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 i;return null===e?i=this._itTail:(i=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(O_(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,i,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(O_(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,i,r)):e=this._addAfter(new cb(t,n),i,r),e},e.prototype._verifyReinsertion=function(e,t,n,r){var i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==i?e=this._reinsertAfter(i,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,i=e._nextRemoved;return null===r?this._removalsHead=i:r._nextRemoved=i,null===i?this._removalsTail=r:i._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 hb),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?e:(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 hb),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}(),cb=function cb(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},pb=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)&&O_(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}(),hb=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 pb,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:!0,configurable:!0}),e.prototype.clear=function(){this.map.clear()},e}();function fb(e,t,n){var r=e.previousIndex;if(null===r)return r;var i=0;return n&&r<n.length&&(i=n[r]),r+t+i}
|
|
1421
1421
|
/**
|
|
1422
1422
|
* @license
|
|
1423
1423
|
* Copyright Google Inc. All Rights Reserved.
|
|
1424
1424
|
*
|
|
1425
1425
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1426
1426
|
* found in the LICENSE file at https://angular.io/license
|
|
1427
|
-
*/var
|
|
1427
|
+
*/var db=function(){function e(){}return e.prototype.supports=function(e){return e instanceof Map||F_(e)},e.prototype.create=function(){return new vb},e}(),vb=function(){function e(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}return Object.defineProperty(e.prototype,"isDirty",{get:function(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead},enumerable:!0,configurable:!0}),e.prototype.forEachItem=function(e){var t;for(t=this._mapHead;null!==t;t=t._next)e(t)},e.prototype.forEachPreviousItem=function(e){var t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)},e.prototype.forEachChangedItem=function(e){var t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)},e.prototype.forEachAddedItem=function(e){var t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)},e.prototype.forEachRemovedItem=function(e){var t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)},e.prototype.diff=function(e){if(e){if(!(e instanceof Map||F_(e)))throw new Error("Error trying to diff '"+Dd(e)+"'. Only maps and objects are allowed")}else e=new Map;return this.check(e)?this:null},e.prototype.onDestroy=function(){},e.prototype.check=function(e){var t=this;this._reset();var n=this._mapHead;if(this._appendAfter=null,this._forEach(e,function(e,r){if(n&&n.key===r)t._maybeAddToChanges(n,e),t._appendAfter=n,n=n._next;else{var i=t._getOrCreateRecordForKey(r,e);n=t._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(var r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty},e.prototype._insertBeforeOrAppend=function(e,t){if(e){var n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null},e.prototype._getOrCreateRecordForKey=function(e,t){if(this._records.has(e)){var n=this._records.get(e);this._maybeAddToChanges(n,t);var r=n._prev,i=n._next;return r&&(r._next=i),i&&(i._prev=r),n._next=null,n._prev=null,n}var o=new mb(e);return this._records.set(e,o),o.currentValue=t,this._addToAdditions(o),o},e.prototype._reset=function(){if(this.isDirty){var e=void 0;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}},e.prototype._maybeAddToChanges=function(e,t){O_(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))},e.prototype._addToAdditions=function(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)},e.prototype._addToChanges=function(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)},e.prototype._forEach=function(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(function(n){return t(e[n],n)})},e}(),mb=function mb(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null},yb=function(){function e(e){this.factories=e}return e.create=function(t,n){if(null!=n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new kd,new Td]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(null!=t)return t;throw new Error("Cannot find a differ supporting object '"+e+"' of type '"+function n(e){return e.name||typeof e}
|
|
1428
1428
|
/**
|
|
1429
1429
|
* @license
|
|
1430
1430
|
* Copyright Google Inc. All Rights Reserved.
|
|
1431
1431
|
*
|
|
1432
1432
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1433
1433
|
* found in the LICENSE file at https://angular.io/license
|
|
1434
|
-
*/(e)+"'")},e.ngInjectableDef=Ad({token:e,providedIn:"root",factory:function(){return new e([new
|
|
1434
|
+
*/(e)+"'")},e.ngInjectableDef=Ad({token:e,providedIn:"root",factory:function(){return new e([new ab])}}),e}(),gb=function(){function e(e){this.factories=e}return e.create=function(t,n){if(n){var r=n.factories.slice();t=t.concat(r)}return new e(t)},e.extend=function(t){return{provide:e,useFactory:function(n){if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new kd,new Td]]}},e.prototype.find=function(e){var t=this.factories.find(function(t){return t.supports(e)});if(t)return t;throw new Error("Cannot find a differ supporting object '"+e+"'")},e.ngInjectableDef=Ad({token:e,providedIn:"root",factory:function(){return new e([new db])}}),e}(),_b=[new db],bb=new yb([new ab]),wb=new gb(_b),xb=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Eb(e,J_)},e}(),Eb=Y_,Sb=function(){function e(){}return e.__NG_ELEMENT_ID__=function(){return Cb(e,J_)},e}(),Cb=Y_;
|
|
1435
1435
|
/**
|
|
1436
1436
|
* @license
|
|
1437
1437
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1439,35 +1439,35 @@ function X_(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t]}
|
|
|
1439
1439
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1440
1440
|
* found in the LICENSE file at https://angular.io/license
|
|
1441
1441
|
*/
|
|
1442
|
-
function
|
|
1442
|
+
function Tb(e,t,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '"+t+"'. Current value: '"+n+"'.";return r&&(i+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function o(e,t){var n=new Error(e);return Nb(n,t),n}(i,e)}function Nb(e,t){e[my]=t,e[gy]=t.logError.bind(t)}function kb(e){return new Error("ViewDestroyedError: Attempt to use a destroyed view: "+e)}
|
|
1443
1443
|
/**
|
|
1444
1444
|
* @license
|
|
1445
1445
|
* Copyright Google Inc. All Rights Reserved.
|
|
1446
1446
|
*
|
|
1447
1447
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1448
1448
|
* found in the LICENSE file at https://angular.io/license
|
|
1449
|
-
*/function
|
|
1449
|
+
*/function Pb(e,t,n){var r=e.state,i=1792&r;return i===t?(e.state=-1793&r|n,e.initIndex=-1,!0):i===n}function Ab(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function Ib(e,t){return e.nodes[t]}function Mb(e,t){return e.nodes[t]}function Ob(e,t){return e.nodes[t]}function Rb(e,t){return e.nodes[t]}function Db(e,t){return e.nodes[t]}var Lb={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Fb=function(){},jb=new Map;
|
|
1450
1450
|
/**
|
|
1451
1451
|
* @license
|
|
1452
1452
|
* Copyright Google Inc. All Rights Reserved.
|
|
1453
1453
|
*
|
|
1454
1454
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1455
1455
|
* found in the LICENSE file at https://angular.io/license
|
|
1456
|
-
*/function
|
|
1456
|
+
*/function Vb(e){var t=jb.get(e);return t||(t=Dd(e)+"_"+jb.size,jb.set(e,t)),t}function Bb(e,t,n,r){return!(!(2&e.state)&&O_(e.oldValues[t.bindingIndex+n],r))}function Hb(e,t,n,r){return!!Bb(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function Ub(e,t,n,r){var i=e.oldValues[t.bindingIndex+n];if(1&e.state||!R_(i,r)){var o=t.bindings[n].name;throw Tb(Lb.createDebugContext(e,t.nodeIndex),o+": "+i,o+": "+r,0!=(1&e.state))}}function qb(e){for(var t=e;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Kb(e,t){for(var n=e;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function zb(e,t,n,r){try{return qb(33554432&e.def.nodes[t].flags?Mb(e,t).componentView:e),Lb.handleEvent(e,t,n,r)}catch(t){e.root.errorHandler.handleError(t)}}function Wb(e){return e.parent?Mb(e.parent,e.parentNodeDef.nodeIndex):null}function Qb(e){return e.parent?e.parentNodeDef.parent:null}function $b(e,t){switch(201347067&t.flags){case 1:return Mb(e,t.nodeIndex).renderElement;case 2:return Ib(e,t.nodeIndex).renderText}}function Gb(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function Xb(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function Yb(e,t){return e.map(function(e){var n,r,i;return Array.isArray(e)?(i=(n=h(e,2))[0],r=n[1]):(i=0,r=e),r&&("function"==typeof r||"object"==typeof r)&&t&&Object.defineProperty(r,Jd,{value:t,configurable:!0}),{flags:i,token:r,tokenKey:Vb(r)}})}function Zb(e,t,n){var r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===hv.Native?Mb(e,n.renderParent.nodeIndex).renderElement:void 0:t}var Jb=new WeakMap;function ew(e){var t=Jb.get(e);return t||((t=e(function(){return Fb})).factory=e,Jb.set(e,t)),t}function tw(e,t,n,r,i){3===t&&(n=e.renderer.parentNode($b(e,e.def.lastRenderRootNode))),nw(e,t,0,e.def.nodes.length-1,n,r,i)}function nw(e,t,n,r,i,o,s){for(var a=n;a<=r;a++){var u=e.def.nodes[a];11&u.flags&&iw(e,u,t,i,o,s),a+=u.childCount}}function rw(e,t,n,r,i,o){for(var s=e;s&&!Gb(s);)s=s.parent;for(var a=s.parent,u=Qb(s),l=u.nodeIndex+u.childCount,c=u.nodeIndex+1;c<=l;c++){var p=a.def.nodes[c];p.ngContentIndex===t&&iw(a,p,n,r,i,o),c+=p.childCount}if(!a.parent){var h=e.root.projectableNodes[t];if(h)for(c=0;c<h.length;c++)ow(e,h[c],n,r,i,o)}}function iw(e,t,n,r,i,o){if(8&t.flags)rw(e,t.ngContent.index,n,r,i,o);else{var s=$b(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&ow(e,s,n,r,i,o),32&t.bindingFlags&&ow(Mb(e,t.nodeIndex).componentView,s,n,r,i,o)):ow(e,s,n,r,i,o),16777216&t.flags)for(var a=Mb(e,t.nodeIndex).viewContainer._embeddedViews,u=0;u<a.length;u++)tw(a[u],n,r,i,o);1&t.flags&&!t.element.name&&nw(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,i,o)}}function ow(e,t,n,r,i,o){var s=e.renderer;switch(n){case 1:s.appendChild(r,t);break;case 2:s.insertBefore(r,t,i);break;case 3:s.removeChild(r,t);break;case 0:o.push(t)}}var sw=/^:([^:]+):(.+)$/;function aw(e){if(":"===e[0]){var t=e.match(sw);return[t[1],t[2]]}return["",e]}
|
|
1457
1457
|
/**
|
|
1458
1458
|
* @license
|
|
1459
1459
|
* Copyright Google Inc. All Rights Reserved.
|
|
1460
1460
|
*
|
|
1461
1461
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1462
1462
|
* found in the LICENSE file at https://angular.io/license
|
|
1463
|
-
*/var
|
|
1463
|
+
*/var uw=new Object,lw=Vb(r_),cw=Vb(Qd),pw=Vb(fv);function hw(e,t,n){void 0===n&&(n=r_.THROW_IF_NOT_FOUND);var r=nv(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);var i=t.tokenKey;switch(i){case lw:case cw:case pw:return e}var o,s=e._def.providersByKey[i];if(s){var a=e._providers[s.index];return void 0===a&&(a=e._providers[s.index]=fw(e,s)),a===uw?void 0:a}if((o=Id(t.token))&&function u(e,t){return null!=t.providedIn&&(function n(e,t){return e._def.modules.indexOf(t)>-1}(e,t.providedIn)||"root"===t.providedIn&&e._def.isRoot)}(e,o)){var l=e._providers.length;return e._def.providers[l]=e._def.providersByKey[t.tokenKey]={flags:5120,value:o.factory,deps:[],index:l,token:t.token},e._providers[l]=uw,e._providers[l]=fw(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{nv(r)}}function fw(e,t){var n;switch(201347067&t.flags){case 512:n=function r(e,t,n){var r=n.length;switch(r){case 0:return new t;case 1:return new t(hw(e,n[0]));case 2:return new t(hw(e,n[0]),hw(e,n[1]));case 3:return new t(hw(e,n[0]),hw(e,n[1]),hw(e,n[2]));default:for(var i=new Array(r),o=0;o<r;o++)i[o]=hw(e,n[o]);return new(t.bind.apply(t,f([void 0],i)))}}(e,t.value,t.deps);break;case 1024:n=function i(e,t,n){var r=n.length;switch(r){case 0:return t();case 1:return t(hw(e,n[0]));case 2:return t(hw(e,n[0]),hw(e,n[1]));case 3:return t(hw(e,n[0]),hw(e,n[1]),hw(e,n[2]));default:for(var i=Array(r),o=0;o<r;o++)i[o]=hw(e,n[o]);return t.apply(void 0,f(i))}}(e,t.value,t.deps);break;case 2048:n=hw(e,t.deps[0]);break;case 256:n=t.value}return n===uw||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?uw:n}function dw(e,t){var n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;var r=n[t];return r.viewContainerParent=null,yv(n,t),Lb.dirtyParentQueries(r),mw(r),r}function vw(e,t,n){var r=t?$b(t,t.def.lastRenderRootNode):e.renderElement,i=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);tw(n,2,i,o,void 0)}function mw(e){tw(e,3,null,null,void 0)}
|
|
1464
1464
|
/**
|
|
1465
1465
|
* @license
|
|
1466
1466
|
* Copyright Google Inc. All Rights Reserved.
|
|
1467
1467
|
*
|
|
1468
1468
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1469
1469
|
* found in the LICENSE file at https://angular.io/license
|
|
1470
|
-
*/var
|
|
1470
|
+
*/var yw=new Object;!function(e){function t(t,n,r,i,o,s){var a=e.call(this)||this;return a.selector=t,a.componentType=n,a._inputs=i,a._outputs=o,a.ngContentSelectors=s,a.viewDefFactory=r,a}o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){var e=[],t=this._inputs;for(var n in t)e.push({propName:n,templateName:t[n]});return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){var e=[];for(var t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){if(!r)throw new Error("ngModule should be provided");var i=ew(this.viewDefFactory),o=i.nodes[0].element.componentProvider.nodeIndex,s=Lb.createRootView(e,t||[],n,i,r,yw),a=Ob(s,o).instance;return n&&s.renderer.setAttribute(Mb(s,0).renderElement,"ng-version",sb.full),new gw(s,new xw(s),a)}}(Q_);var gw=function(e){function t(t,n,r){var i=e.call(this)||this;return i._view=t,i._viewRef=n,i._component=r,i._elDef=i._view.def.nodes[0],i.hostView=n,i.changeDetectorRef=n,i.instance=r,i}return o(t,e),Object.defineProperty(t.prototype,"location",{get:function(){return new J_(Mb(this._view,this._elDef.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"injector",{get:function(){return new Tw(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"componentType",{get:function(){return this._component.constructor},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this._viewRef.destroy()},t.prototype.onDestroy=function(e){this._viewRef.onDestroy(e)},t}(W_);function _w(e,t,n){return new bw(e,t,n)}var bw=function(){function e(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}return Object.defineProperty(e.prototype,"element",{get:function(){return new J_(this._data.renderElement)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return new Tw(this._view,this._elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"parentInjector",{get:function(){for(var e=this._view,t=this._elDef.parent;!t&&e;)t=Qb(e),e=e.parent;return e?new Tw(e,t):new Tw(this._view,null)},enumerable:!0,configurable:!0}),e.prototype.clear=function(){for(var e=this._embeddedViews.length-1;e>=0;e--){var t=dw(this._data,e);Lb.destroyView(t)}},e.prototype.get=function(e){var t=this._embeddedViews[e];if(t){var n=new xw(t);return n.attachToViewContainerRef(this),n}return null},Object.defineProperty(e.prototype,"length",{get:function(){return this._embeddedViews.length},enumerable:!0,configurable:!0}),e.prototype.createEmbeddedView=function(e,t,n){var r=e.createEmbeddedView(t||{});return this.insert(r,n),r},e.prototype.createComponent=function(e,t,n,r,i){var o=n||this.parentInjector;i||e instanceof X_||(i=o.get(fv));var s=e.create(o,r,void 0,i);return this.insert(s.hostView,t),s},e.prototype.insert=function(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");var n=e;
|
|
1471
1471
|
/**
|
|
1472
1472
|
* @license
|
|
1473
1473
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1475,21 +1475,21 @@ function Cb(e,t,n,r){var i="ExpressionChangedAfterItHasBeenCheckedError: Express
|
|
|
1475
1475
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1476
1476
|
* found in the LICENSE file at https://angular.io/license
|
|
1477
1477
|
*/
|
|
1478
|
-
return function r(e,t,n,i){var o=t.viewContainer._embeddedViews;null==n&&(n=o.length),i.viewContainerParent=e,mv(o,n,i),function s(e,t){var n=
|
|
1478
|
+
return function r(e,t,n,i){var o=t.viewContainer._embeddedViews;null==n&&(n=o.length),i.viewContainerParent=e,mv(o,n,i),function s(e,t){var n=Wb(t);if(n&&n!==e&&!(16&t.state)){t.state|=16;var r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function i(e,t){if(!(4&t.flags)){e.nodeFlags|=4,t.flags|=4;for(var n=t.parent;n;)n.childFlags|=4,n=n.parent}}(t.parent.def,t.parentNodeDef)}}(t,i),Lb.dirtyParentQueries(i),vw(t,n>0?o[n-1]:null,i)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e},e.prototype.move=function(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");var n=this._embeddedViews.indexOf(e._view);return function r(e,t,n){var r=e.viewContainer._embeddedViews,i=r[t];yv(r,t),null==n&&(n=r.length),mv(r,n,i),Lb.dirtyParentQueries(i),mw(i),vw(e,n>0?r[n-1]:null,i)}(this._data,n,t),e},e.prototype.indexOf=function(e){return this._embeddedViews.indexOf(e._view)},e.prototype.remove=function(e){var t=dw(this._data,e);t&&Lb.destroyView(t)},e.prototype.detach=function(e){var t=dw(this._data,e);return t?new xw(t):null},e}();function ww(e){return new xw(e)}var xw=function(){function e(e){this._view=e,this._viewContainerRef=null,this._appRef=null}return Object.defineProperty(e.prototype,"rootNodes",{get:function(){return function e(t){var n=[];return tw(t,0,void 0,void 0,n),n}(this._view)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._view.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"destroyed",{get:function(){return 0!=(128&this._view.state)},enumerable:!0,configurable:!0}),e.prototype.markForCheck=function(){qb(this._view)},e.prototype.detach=function(){this._view.state&=-5},e.prototype.detectChanges=function(){var e=this._view.root.rendererFactory;e.begin&&e.begin();try{Lb.checkAndUpdateView(this._view)}finally{e.end&&e.end()}},e.prototype.checkNoChanges=function(){Lb.checkNoChangesView(this._view)},e.prototype.reattach=function(){this._view.state|=4},e.prototype.onDestroy=function(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)},e.prototype.destroy=function(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),Lb.destroyView(this._view)},e.prototype.detachFromAppRef=function(){this._appRef=null,mw(this._view),Lb.dirtyParentQueries(this._view)},e.prototype.attachToAppRef=function(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e},e.prototype.attachToViewContainerRef=function(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e},e}();function Ew(e,t){return new Sw(e,t)}var Sw=function(e){function t(t,n){var r=e.call(this)||this;return r._parentView=t,r._def=n,r}return o(t,e),t.prototype.createEmbeddedView=function(e){return new xw(Lb.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))},Object.defineProperty(t.prototype,"elementRef",{get:function(){return new J_(Mb(this._parentView,this._def.nodeIndex).renderElement)},enumerable:!0,configurable:!0}),t}(xb);function Cw(e,t){return new Tw(e,t)}var Tw=function(){function e(e,t){this.view=e,this.elDef=t}return e.prototype.get=function(e,t){return void 0===t&&(t=r_.THROW_IF_NOT_FOUND),Lb.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Vb(e)},t)},e}();function Nw(e){return new kw(e.renderer)}var kw=function(){function e(e){this.delegate=e}return e.prototype.selectRootElement=function(e){return this.delegate.selectRootElement(e)},e.prototype.createElement=function(e,t){var n=h(aw(t),2),r=this.delegate.createElement(n[1],n[0]);return e&&this.delegate.appendChild(e,r),r},e.prototype.createViewRoot=function(e){return e},e.prototype.createTemplateAnchor=function(e){var t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t},e.prototype.createText=function(e,t){var n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n},e.prototype.projectNodes=function(e,t){for(var n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])},e.prototype.attachViewAfter=function(e,t){for(var n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e),i=0;i<t.length;i++)this.delegate.insertBefore(n,t[i],r)},e.prototype.detachView=function(e){for(var t=0;t<e.length;t++){var n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}},e.prototype.destroyView=function(e,t){for(var n=0;n<t.length;n++)this.delegate.destroyNode(t[n])},e.prototype.listen=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.listenGlobal=function(e,t,n){return this.delegate.listen(e,t,n)},e.prototype.setElementProperty=function(e,t,n){this.delegate.setProperty(e,t,n)},e.prototype.setElementAttribute=function(e,t,n){var r=h(aw(t),2),i=r[0],o=r[1];null!=n?this.delegate.setAttribute(e,o,n,i):this.delegate.removeAttribute(e,o,i)},e.prototype.setBindingDebugInfo=function(e,t,n){},e.prototype.setElementClass=function(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)},e.prototype.setElementStyle=function(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)},e.prototype.invokeElementMethod=function(e,t,n){e[t].apply(e,n)},e.prototype.setText=function(e,t){this.delegate.setValue(e,t)},e.prototype.animate=function(){throw new Error("Renderer.animate is no longer supported!")},e}();function Pw(e,t,n,r){return new Aw(e,t,n,r)}var Aw=function(){function e(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function i(e){for(var t=e._def,n=e._providers=new Array(t.providers.length),r=0;r<t.providers.length;r++){var i=t.providers[r];4096&i.flags||void 0===n[r]&&(n[r]=fw(e,i))}}(this)}return e.prototype.get=function(e,t,n){void 0===t&&(t=r_.THROW_IF_NOT_FOUND),void 0===n&&(n=Sd.Default);var r=0;return n&Sd.SkipSelf?r|=1:n&Sd.Self&&(r|=4),hw(this,{token:e,tokenKey:Vb(e),flags:r},t)},Object.defineProperty(e.prototype,"instance",{get:function(){return this.get(this._moduleType)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentFactoryResolver",{get:function(){return this.get(G_)},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The ng module "+Dd(this.instance.constructor)+" has already been destroyed.");this._destroyed=!0,function e(t,n){for(var r=t._def,i=new Set,o=0;o<r.providers.length;o++)if(131072&r.providers[o].flags){var s=t._providers[o];if(s&&s!==uw){var a=s.ngOnDestroy;"function"!=typeof a||i.has(s)||(a.apply(s),i.add(s))}}}(this),this._destroyListeners.forEach(function(e){return e()})},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},e}(),Iw=Vb(tb),Mw=Vb(rb),Ow=Vb(J_),Rw=Vb(Sb),Dw=Vb(xb),Lw=Vb(Ng),Fw=Vb(r_),jw=Vb(Qd);
|
|
1479
1479
|
/**
|
|
1480
1480
|
* @license
|
|
1481
1481
|
* Copyright Google Inc. All Rights Reserved.
|
|
1482
1482
|
*
|
|
1483
1483
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1484
1484
|
* found in the LICENSE file at https://angular.io/license
|
|
1485
|
-
*/function
|
|
1485
|
+
*/function Vw(e,t){return qw(e,t)}function Bw(e,t){for(var n=e;n.parent&&!Gb(n);)n=n.parent;return Kw(n.parent,Qb(n),!0,t.provider.value,t.provider.deps)}function Hw(e,t){var n,r=Kw(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(var i=0;i<t.outputs.length;i++){var o=t.outputs[i],s=r[o.propName];if(!(n=s)||"function"!=typeof n.subscribe)throw new Error("@Output "+o.propName+" not initialized in '"+r.constructor.name+"'.");var a=s.subscribe(Uw(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+i]=a.unsubscribe.bind(a)}return r}function Uw(e,t,n){return function(r){return zb(e,t,n,r)}}function qw(e,t){var n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Kw(e,t.parent,n,r.value,r.deps);case 1024:return function i(e,t,n,r,o){var s=o.length;switch(s){case 0:return r();case 1:return r(Ww(e,t,n,o[0]));case 2:return r(Ww(e,t,n,o[0]),Ww(e,t,n,o[1]));case 3:return r(Ww(e,t,n,o[0]),Ww(e,t,n,o[1]),Ww(e,t,n,o[2]));default:for(var a=Array(s),u=0;u<s;u++)a[u]=Ww(e,t,n,o[u]);return r.apply(void 0,f(a))}}(e,t.parent,n,r.value,r.deps);case 2048:return Ww(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Kw(e,t,n,r,i){var o=i.length;switch(o){case 0:return new r;case 1:return new r(Ww(e,t,n,i[0]));case 2:return new r(Ww(e,t,n,i[0]),Ww(e,t,n,i[1]));case 3:return new r(Ww(e,t,n,i[0]),Ww(e,t,n,i[1]),Ww(e,t,n,i[2]));default:for(var s=new Array(o),a=0;a<o;a++)s[a]=Ww(e,t,n,i[a]);return new(r.bind.apply(r,f([void 0],s)))}}var zw={};function Ww(e,t,n,r,i){if(void 0===i&&(i=r_.THROW_IF_NOT_FOUND),8&r.flags)return r.token;var o=e;2&r.flags&&(i=null);var s=r.tokenKey;s===Lw&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);for(var a=e;a;){if(t)switch(s){case Iw:return Nw(Qw(a,t,n));case Mw:return Qw(a,t,n).renderer;case Ow:return new J_(Mb(a,t.nodeIndex).renderElement);case Rw:return Mb(a,t.nodeIndex).viewContainer;case Dw:if(t.element.template)return Mb(a,t.nodeIndex).template;break;case Lw:return ww(Qw(a,t,n));case Fw:case jw:return Cw(a,t);default:var u=(n?t.element.allProviders:t.element.publicProviders)[s];if(u){var l=Ob(a,u.nodeIndex);return l||(l={instance:qw(a,u)},a.nodes[u.nodeIndex]=l),l.instance}}n=Gb(a),t=Qb(a),a=a.parent,4&r.flags&&(a=null)}var c=o.root.injector.get(r.token,zw);return c!==zw||i===zw?c:o.root.ngModule.injector.get(r.token,i)}function Qw(e,t,n){var r;if(n)r=Mb(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Gb(r);)r=r.parent;return r}function $w(e,t,n,r,i,o){if(32768&n.flags){var s=Mb(e,n.parent.nodeIndex).componentView;2&s.def.flags&&(s.state|=8)}if(t.instance[n.bindings[r].name]=i,524288&n.flags){o=o||{};var a=D_.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new z_(a,i,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=i,o}function Gw(e,t){if(e.def.nodeFlags&t)for(var n=e.def.nodes,r=0,i=0;i<n.length;i++){var o=n[i],s=o.parent;for(!s&&o.flags&t&&Yw(e,i,o.flags&t,r++),0==(o.childFlags&t)&&(i+=o.childCount);s&&1&s.flags&&i===s.nodeIndex+s.childCount;)s.directChildFlags&t&&(r=Xw(e,s,t,r)),s=s.parent}}function Xw(e,t,n,r){for(var i=t.nodeIndex+1;i<=t.nodeIndex+t.childCount;i++){var o=e.def.nodes[i];o.flags&n&&Yw(e,i,o.flags&n,r++),i+=o.childCount}return r}function Yw(e,t,n,r){var i=Ob(e,t);if(i){var o=i.instance;o&&(Lb.setCurrentNode(e,t),1048576&n&&Ab(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&Ab(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}}
|
|
1486
1486
|
/**
|
|
1487
1487
|
* @license
|
|
1488
1488
|
* Copyright Google Inc. All Rights Reserved.
|
|
1489
1489
|
*
|
|
1490
1490
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1491
1491
|
* found in the LICENSE file at https://angular.io/license
|
|
1492
|
-
*/var
|
|
1492
|
+
*/var Zw=function(e){function t(t){var n=e.call(this)||this;return n.ngModule=t,n}return o(t,e),t.prototype.resolveComponentFactory=function(e){var t=
|
|
1493
1493
|
/**
|
|
1494
1494
|
* @license
|
|
1495
1495
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1497,7 +1497,7 @@ return function r(e,t,n,i){var o=t.viewContainer._embeddedViews;null==n&&(n=o.le
|
|
|
1497
1497
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1498
1498
|
* found in the LICENSE file at https://angular.io/license
|
|
1499
1499
|
*/
|
|
1500
|
-
function n(e){return e[
|
|
1500
|
+
function n(e){return e[bv]||null}(e);return new nx(t,this.ngModule)},t}(G_);function Jw(e){var t=[];for(var n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}var ex,tx=new Wd("SCHEDULER_TOKEN",{providedIn:"root",factory:function(){return Fm}}),nx=function(e){function t(t,n){var r=e.call(this)||this;return r.componentDef=t,r.ngModule=n,r.componentType=t.type,r.selector=t.selectors[0][0]||"div",r.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],r.isBoundToModule=!!n,r}return o(t,e),Object.defineProperty(t.prototype,"inputs",{get:function(){return Jw(this.componentDef.inputs)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"outputs",{get:function(){return Jw(this.componentDef.outputs)},enumerable:!0,configurable:!0}),t.prototype.create=function(e,t,n,r){var i=(r=r||this.ngModule)?function s(e,t){return{get:function(n,r,i){var o=e.get(n,zw,i);return o!==zw||r===zw?o:t.get(n,r,i)}}}(e,r.injector):e,a=i.get(nb,Ym),u=i.get(Ry,null);Om();var l=n?function c(e,t){var n=e.createRenderer(null,null);return"string"==typeof t?Xm(n)?n.selectRootElement(t):n.querySelector(t):t}(a,n):function p(e,t){var n=t||bm()[Fv],r=function i(){return Mm}();return Xm(n)?n.createElement(e,r):null===r?n.createElement(e):n.createElementNS(r,e)}(this.selector,a.createRenderer(null,this.componentDef)),h=this.componentDef.onPush?576:528,f="string"==typeof n&&/^#root-ng-internal-isolated-\d+/.test(n),d=function v(e,t){return{components:[],scheduler:e||Fm,clean:_g,playerHandler:t||null,flags:0}}(),m=a.createRenderer(l,this.componentDef);n&&l&&(Xm(m)?m.setAttribute(l,"ng-version",sb.full):l.setAttribute("ng-version",sb.full));var y,g,_=ig(null,lg(-1,null,1,0,null,null,null,null),d,h,null,null,a,m,u,i),b=Pm(_,null),w=!1;try{var x=
|
|
1501
1501
|
/**
|
|
1502
1502
|
* @license
|
|
1503
1503
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1519,14 +1519,14 @@ function n(e){return e[_v]||null}(e);return new tx(t,this.ngModule)},t}($_);func
|
|
|
1519
1519
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1520
1520
|
* found in the LICENSE file at https://angular.io/license
|
|
1521
1521
|
*/
|
|
1522
|
-
function E(e,t,n,r,i,o){!function s(){
|
|
1522
|
+
function E(e,t,n,r,i,o){!function s(){um=!1,am=null,function e(t){Im=t}(null),function t(){cm.clear()}
|
|
1523
1523
|
/**
|
|
1524
1524
|
* @license
|
|
1525
1525
|
* Copyright Google Inc. All Rights Reserved.
|
|
1526
1526
|
*
|
|
1527
1527
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1528
1528
|
* found in the LICENSE file at https://angular.io/license
|
|
1529
|
-
*/()}();var a=n[
|
|
1529
|
+
*/()}();var a=n[Tv];n[0+qv]=e;var u=function l(e,t,n,r,i,o){var s=n+qv,a=e.data[s]||function u(e,t,n,r,i,o,s){var a=wm(),u=Sm(),l=u?a:a&&a.parent,c=e.data[n]=cg(0,l&&l!==t?l:null,r,n,i,o);return 0!==s&&e.firstChild||(e.firstChild=c),a&&(!u||null!=a.child||null===c.parent&&2!==a.type?u||(a.next=c):a.child=c),c}(e,t,s,r,i,o,n);return xm(a,!0),a}(a,null,0,3,null,null),c=ig(n,function p(e){return e.tView||(e.tView=lg(-1,e.template,e.consts,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas))}(t),null,t.onPush?64:16,n[qv],u,r,i,o);return a.firstTemplatePass&&(function f(e,t,n){!function r(e,t,n){var r="string"!=typeof n?n[Ev]:n.charCodeAt(0)||0;null==r&&(r=n[Ev]=oy++);var i=r&iy,o=1<<i,s=64&i,a=32&i,u=t.data;128&i?s?a?u[e+7]|=o:u[e+6]|=o:a?u[e+5]|=o:u[e+4]|=o:s?a?u[e+3]|=o:u[e+2]|=o:a?u[e+1]|=o:u[e]|=o}(e,t,n)}(function h(e,t){var n=ay(e,t);if(-1!==n)return n;var r=t[Tv];r.firstTemplatePass&&(e.injectorIndex=t.length,sy(r.data,e),sy(t,null),sy(r.blueprint,null));var i=uy(e,t),o=Zm(i),s=Jm(i,t),a=e.injectorIndex;if(
|
|
1530
1530
|
/**
|
|
1531
1531
|
* @license
|
|
1532
1532
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1534,21 +1534,22 @@ function E(e,t,n,r,i,o){!function s(){am=!1,sm=null,function e(t){Am=t}(null),fu
|
|
|
1534
1534
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1535
1535
|
* found in the LICENSE file at https://angular.io/license
|
|
1536
1536
|
*/
|
|
1537
|
-
function u(e){return e!==
|
|
1537
|
+
function u(e){return e!==nm}(i))for(var l=s[Tv].data,c=0;c<8;c++)t[a+c]=s[o+c]|l[o+c];return t[a+em]=i,a}(u,n),a,t.type),u.flags=1,function d(e,t,n){e.flags=1&e.flags,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}(u,n.length,1),function v(e){var t=bm()[Tv];(t.components||(t.components=[])).push(e.index)}(u)),n[qv]=c}(l,this.componentDef,_,a,m);g=vm(0,_),t&&(g.projection=t.map(function(e){return Array.from(e)})),y=function S(e,t,n,r,i){var o=n[Tv],s=function a(e,t,n){var r=wm();e.firstTemplatePass&&(n.providersResolver&&n.providersResolver(n),function i(e,t,n){var r=-(t.index-qv),i=e.data.length-(65535&t.providerIndexes);(e.expandoInstructions||(e.expandoInstructions=[])).push(r,i,n)}(e,r,1),function o(e,t,n,r){e.data.push(n);var i=new rm(r,Zv(n),null);e.blueprint.push(i),t.push(i)}(e,t,n,n.factory));var s=hy(e.data,t,t.length-1,r);return function a(e,t,n){var r=fm(t,e);jy(n,e),r&&jy(r,e)}(t,r,s),s}(o,n,t);r.components.push(s),e[Rv]=s,i&&i.forEach(function(e){return e(s,t)}),t.contentQueries&&t.contentQueries(1,s,n.length-1);var u=wm();return o.firstTemplatePass&&t.hostBindings&&function l(e,t,n,r,i){var o=t.length;e.hostBindings(1,n,r.index-qv),o===t.length&&i&&t.push(e.hostBindings)}(t,o.expandoInstructions,s,u,o.firstTemplatePass),s}(x,this.componentDef,_,d,[K_]),function C(e,t){e[Vv]?e[15][Pv]=t:e[Vv]=t,e[15]=t}(_,x),ng(_),w=!0}finally{Am(b,w)}var T=new rx(this.componentType,y,function N(e,t,n){return Cg||(Cg=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(e)),new Cg(fm(t,n))}
|
|
1538
1538
|
/**
|
|
1539
1539
|
* @license
|
|
1540
1540
|
* Copyright Google Inc. All Rights Reserved.
|
|
1541
1541
|
*
|
|
1542
1542
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1543
1543
|
* found in the LICENSE file at https://angular.io/license
|
|
1544
|
-
*/(
|
|
1544
|
+
*/(J_,g,_),_,g);return n&&!f||(T.hostView._tViewNode.child=g),T},t}(Q_),rx=(new Zw,function(e){function t(t,n,r,i,o){var s=e.call(this)||this;return s.location=r,s._rootLView=i,s._tNode=o,s.destroyCbs=[],s.instance=n,s.hostView=s.changeDetectorRef=new Tg(i),s.hostView._tViewNode=function a(e,t,n,r){var i=e.node;return null==i&&(e.node=i=cg(0,t,2,n,null,null)),r[Iv]=i}(i[Tv],null,-1,i),s.componentType=t,s}return o(t,e),Object.defineProperty(t.prototype,"injector",{get:function(){return new vy(this._tNode,this._rootLView)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){this.destroyCbs&&(this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null,!this.hostView.destroyed&&this.hostView.destroy())},t.prototype.onDestroy=function(e){this.destroyCbs&&this.destroyCbs.push(e)},t}(W_));!function(e){e[e.LocaleId=0]="LocaleId",e[e.DayPeriodsFormat=1]="DayPeriodsFormat",e[e.DayPeriodsStandalone=2]="DayPeriodsStandalone",e[e.DaysFormat=3]="DaysFormat",e[e.DaysStandalone=4]="DaysStandalone",e[e.MonthsFormat=5]="MonthsFormat",e[e.MonthsStandalone=6]="MonthsStandalone",e[e.Eras=7]="Eras",e[e.FirstDayOfWeek=8]="FirstDayOfWeek",e[e.WeekendRange=9]="WeekendRange",e[e.DateFormat=10]="DateFormat",e[e.TimeFormat=11]="TimeFormat",e[e.DateTimeFormat=12]="DateTimeFormat",e[e.NumberSymbols=13]="NumberSymbols",e[e.NumberFormats=14]="NumberFormats",e[e.CurrencySymbol=15]="CurrencySymbol",e[e.CurrencyName=16]="CurrencyName",e[e.Currencies=17]="Currencies",e[e.PluralCase=18]="PluralCase",e[e.ExtraData=19]="ExtraData"}(ex||(ex={}));
|
|
1545
1545
|
/**
|
|
1546
1546
|
* @license
|
|
1547
1547
|
* Copyright Google Inc. All Rights Reserved.
|
|
1548
1548
|
*
|
|
1549
1549
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1550
1550
|
* found in the LICENSE file at https://angular.io/license
|
|
1551
|
-
|
|
1551
|
+
*/
|
|
1552
|
+
var ix=new Map,ox={provide:G_,useClass:Zw,deps:[fv]},sx=function(e){function t(t,n){var r=e.call(this)||this;r._parent=n,r._bootstrapComponents=[],r.injector=r,r.destroyCbs=[];var i=Sv(t),o=function s(e){return e[xv]||null}(t);return o&&function a(e){gv(e,"Expected localeId to be defined"),"string"==typeof e&&e.toLowerCase().replace(/_/g,"-")}(o),r._bootstrapComponents=function u(e){return e instanceof Function?e():e}(i.bootstrap),r._r3Injector=function l(e,t,n,r){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Gg(),new Xg(e,n,t,r)}(t,n,[{provide:fv,useValue:r},ox],Dd(t)),r.instance=r.get(t),r}return o(t,e),t.prototype.get=function(e,t,n){return void 0===t&&(t=r_.THROW_IF_NOT_FOUND),void 0===n&&(n=Sd.Default),e===r_||e===fv||e===Qd?this:this._r3Injector.get(e,t,n)},Object.defineProperty(t.prototype,"componentFactoryResolver",{get:function(){return this.get(G_)},enumerable:!0,configurable:!0}),t.prototype.destroy=function(){var e=this._r3Injector;!e.destroyed&&e.destroy(),this.destroyCbs.forEach(function(e){return e()}),this.destroyCbs=null},t.prototype.onDestroy=function(e){this.destroyCbs.push(e)},t}(fv);
|
|
1552
1553
|
/**
|
|
1553
1554
|
* @license
|
|
1554
1555
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1570,7 +1571,7 @@ function u(e){return e!==tm}(i))for(var l=s[Cv].data,c=0;c<8;c++)t[a+c]=s[o+c]|l
|
|
|
1570
1571
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1571
1572
|
* found in the LICENSE file at https://angular.io/license
|
|
1572
1573
|
*/
|
|
1573
|
-
function ax(e){return"function"==typeof e}!function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,null!==
|
|
1574
|
+
function ax(e){return"function"==typeof e}!function(e){function t(t){var n=e.call(this)||this;return n.moduleType=t,null!==Sv(t)&&function e(t){if(null!==t.ngModuleDef.id){var n=t.ngModuleDef.id;!function r(e,t,n){if(t&&t!==n)throw new Error("Duplicate module registered for "+e+" - "+Dd(t)+" vs "+Dd(t.name))}(n,ix.get(n),t),ix.set(n,t)}var i=t.ngModuleDef.imports;i instanceof Function&&(i=i()),i&&i.forEach(function(t){return e(t)})}
|
|
1574
1575
|
/**
|
|
1575
1576
|
* @license
|
|
1576
1577
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1592,7 +1593,7 @@ var uE=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;ret
|
|
|
1592
1593
|
*
|
|
1593
1594
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1594
1595
|
* found in the LICENSE file at https://angular.io/license
|
|
1595
|
-
*/function lE(){return this._results[
|
|
1596
|
+
*/function lE(){return this._results[M_()]()}var cE=function(){function e(){this.dirty=!0,this._results=[],this.changes=new uE,this.length=0;var t=M_(),n=e.prototype;n[t]||(n[t]=lE)}return e.prototype.map=function(e){return this._results.map(e)},e.prototype.filter=function(e){return this._results.filter(e)},e.prototype.find=function(e){return this._results.find(e)},e.prototype.reduce=function(e,t){return this._results.reduce(e,t)},e.prototype.forEach=function(e){this._results.forEach(e)},e.prototype.some=function(e){return this._results.some(e)},e.prototype.toArray=function(){return this._results.slice()},e.prototype.toString=function(){return this._results.toString()},e.prototype.reset=function(e){this._results=
|
|
1596
1597
|
/**
|
|
1597
1598
|
* @license
|
|
1598
1599
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1600,7 +1601,7 @@ var uE=function(e){function t(t){void 0===t&&(t=!1);var n=e.call(this)||this;ret
|
|
|
1600
1601
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1601
1602
|
* found in the LICENSE file at https://angular.io/license
|
|
1602
1603
|
*/
|
|
1603
|
-
function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),pE=(function(){function e(e){void 0===e&&(e=[]),this.queries=e}e.prototype.elementStart=function(e,t){var n,r;try{for(var i=p(this.queries),o=i.next();!o.done;o=i.next())o.value.elementStart(e,t)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.elementEnd=function(e){var t,n;try{for(var r=p(this.queries),i=r.next();!i.done;i=r.next())i.value.elementEnd(e)}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.embeddedTView=function(t){for(var n=null,r=0;r<this.length;r++){var i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null},e.prototype.template=function(e,t){var n,r;try{for(var i=p(this.queries),o=i.next();!o.done;o=i.next())o.value.template(e,t)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.getByIndex=function(e){return this.queries[e]},Object.defineProperty(e.prototype,"length",{get:function(){return this.queries.length},enumerable:!0,configurable:!0}),e.prototype.track=function(e){this.queries.push(e)}}(),bd("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return fE(e,t)})),hE=(bd("Component",function(e){return void 0===e&&(e={}),a({changeDetection:cv.Default},e)},pE,void 0,function(e,t){return hE(e,t)}),bd("Pipe",function(e){return a({pure:!0},e)},void 0,void 0,function(e,t){return dE(e,t)}),Ed("Input",function(e){return{bindingPropertyName:e}}),Ed("Output",function(e){return{bindingPropertyName:e}}),Ed("HostBinding",function(e){return{hostPropertyName:e}}),Ed("HostListener",function(e,t){return{eventName:e,args:t}}),
|
|
1604
|
+
function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var i=t[r];Array.isArray(i)?(n===t&&(n=t.slice(0,r)),e(i,n)):n!==t&&n.push(i)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]},e.prototype.notifyOnChanges=function(){this.changes.emit(this)},e.prototype.setDirty=function(){this.dirty=!0},e.prototype.destroy=function(){this.changes.complete(),this.changes.unsubscribe()},e}(),pE=(function(){function e(e){void 0===e&&(e=[]),this.queries=e}e.prototype.elementStart=function(e,t){var n,r;try{for(var i=p(this.queries),o=i.next();!o.done;o=i.next())o.value.elementStart(e,t)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.elementEnd=function(e){var t,n;try{for(var r=p(this.queries),i=r.next();!i.done;i=r.next())i.value.elementEnd(e)}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=r.return)&&n.call(r)}finally{if(t)throw t.error}}},e.prototype.embeddedTView=function(t){for(var n=null,r=0;r<this.length;r++){var i=null!==n?n.length:0,o=this.getByIndex(r).embeddedTView(t,i);o&&(o.indexInDeclarationView=r,null!==n?n.push(o):n=[o])}return null!==n?new e(n):null},e.prototype.template=function(e,t){var n,r;try{for(var i=p(this.queries),o=i.next();!o.done;o=i.next())o.value.template(e,t)}catch(e){n={error:e}}finally{try{o&&!o.done&&(r=i.return)&&r.call(i)}finally{if(n)throw n.error}}},e.prototype.getByIndex=function(e){return this.queries[e]},Object.defineProperty(e.prototype,"length",{get:function(){return this.queries.length},enumerable:!0,configurable:!0}),e.prototype.track=function(e){this.queries.push(e)}}(),bd("Directive",function(e){return void 0===e&&(e={}),e},void 0,void 0,function(e,t){return fE(e,t)})),hE=(bd("Component",function(e){return void 0===e&&(e={}),a({changeDetection:cv.Default},e)},pE,void 0,function(e,t){return hE(e,t)}),bd("Pipe",function(e){return a({pure:!0},e)},void 0,void 0,function(e,t){return dE(e,t)}),Ed("Input",function(e){return{bindingPropertyName:e}}),Ed("Output",function(e){return{bindingPropertyName:e}}),Ed("HostBinding",function(e){return{hostPropertyName:e}}),Ed("HostListener",function(e,t){return{eventName:e,args:t}}),Y_),fE=Y_,dE=Y_,vE=bd("NgModule",function(e){return e},void 0,void 0,function(e,t){return mE(e,t)}),mE=function yE(e,t){var n=t&&t.imports||[];t&&t.exports&&(n=f(n,[t.exports])),e.ngInjectorDef=function r(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}({factory:Bg(e,{useClass:e}),providers:t&&t.providers,imports:n})};
|
|
1604
1605
|
/**
|
|
1605
1606
|
* @license
|
|
1606
1607
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1629,7 +1630,7 @@ function e(t,n){void 0===n&&(n=t);for(var r=0;r<t.length;r++){var i=t[r];Array.i
|
|
|
1629
1630
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1630
1631
|
* found in the LICENSE file at https://angular.io/license
|
|
1631
1632
|
*/
|
|
1632
|
-
var bE=new Wd("Application Initializer"),wE=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();
|
|
1633
|
+
var bE=new Wd("Application Initializer"),wE=function(){function e(e){var t=this;this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise(function(e,n){t.resolve=e,t.reject=n})}return e.prototype.runInitializers=function(){var e=this;if(!this.initialized){var t=[],n=function(){e.done=!0,e.resolve()};if(this.appInits)for(var r=0;r<this.appInits.length;r++){var i=this.appInits[r]();j_(i)&&t.push(i)}Promise.all(t).then(function(){n()}).catch(function(t){e.reject(t)}),0===t.length&&n(),this.initialized=!0}},u([Hg(),l(0,Cd(bE)),l(0,Td()),c("design:paramtypes",[Array])],e)}(),xE={provide:new Wd("AppId"),useFactory:function EE(){return""+SE()+SE()+SE()},deps:[]};function SE(){return String.fromCharCode(97+Math.floor(25*Math.random()))}new Wd("Platform Initializer");var CE,TE=new Wd("Platform ID"),NE=new Wd("appBootstrapListener"),kE=(new Wd("Application Packages Root URL"),function(){function e(){}return e.prototype.log=function(e){console.log(e)},e.prototype.warn=function(e){console.warn(e)},u([Hg()],e)}()),PE=new Wd("LocaleId");
|
|
1633
1634
|
/**
|
|
1634
1635
|
* @license
|
|
1635
1636
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1637,7 +1638,7 @@ var bE=new Wd("Application Initializer"),wE=function(){function e(e){var t=this;
|
|
|
1637
1638
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1638
1639
|
* found in the LICENSE file at https://angular.io/license
|
|
1639
1640
|
*/
|
|
1640
|
-
function AE(){throw new Error("Runtime compiler is not loaded")}new Wd("Translations"),new Wd("TranslationsFormat"),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(CE||(CE={}));var IE,ME,OE=AE,RE=AE,DE=AE,LE=AE,FE=function(){function e(){this.compileModuleSync=OE,this.compileModuleAsync=RE,this.compileModuleAndAllComponentsSync=DE,this.compileModuleAndAllComponentsAsync=LE}return e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},u([
|
|
1641
|
+
function AE(){throw new Error("Runtime compiler is not loaded")}new Wd("Translations"),new Wd("TranslationsFormat"),function(e){e[e.Error=0]="Error",e[e.Warning=1]="Warning",e[e.Ignore=2]="Ignore"}(CE||(CE={}));var IE,ME,OE=AE,RE=AE,DE=AE,LE=AE,FE=function(){function e(){this.compileModuleSync=OE,this.compileModuleAsync=RE,this.compileModuleAndAllComponentsSync=DE,this.compileModuleAndAllComponentsAsync=LE}return e.prototype.clearCache=function(){},e.prototype.clearCacheFor=function(e){},e.prototype.getModuleId=function(e){},u([Hg()],e)}(),jE=(new Wd("compilerOptions"),function jE(){}),VE=function BE(){var e=Kd.wtf;return!(!e||!(IE=e.trace)||(ME=IE.events,0))}();function HE(e,t){return null}var UE=VE?function qE(e,t){return void 0===t&&(t=null),ME.createScope(e,t)}:function(e,t){return HE},KE=VE?function zE(e,t){return IE.leaveScope(e,t),t}
|
|
1641
1642
|
/**
|
|
1642
1643
|
* @license
|
|
1643
1644
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1651,14 +1652,14 @@ function AE(){throw new Error("Runtime compiler is not loaded")}new Wd("Translat
|
|
|
1651
1652
|
*
|
|
1652
1653
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1653
1654
|
* found in the LICENSE file at https://angular.io/license
|
|
1654
|
-
*/var $E=function(){function e(e){var t=e.enableLongStackTrace,n=void 0!==t&&t;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new uE(!1),this.onMicrotaskEmpty=new uE(!1),this.onStable=new uE(!1),this.onError=new uE(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),function r(e){e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,i,o,s){try{return ZE(e),t.invokeTask(r,i,o,s)}finally{JE(e)}},onInvoke:function(t,n,r,i,o,s,a){try{return ZE(e),t.invoke(r,i,o,s,a)}finally{JE(e)}},onHasTask:function(t,n,r,i){t.hasTask(r,i),n===r&&("microTask"==i.change?(e.hasPendingMicrotasks=i.microTask,YE(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:function(t,n,r,i){return t.handleError(r,i),e.runOutsideAngular(function(){return e.onError.emit(i)}),!1}})}(this)}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,XE,GE,GE);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function GE(){}var XE={};function YE(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function ZE(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function JE(e){e._nesting--,YE(e)}var eS=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new uE,this.onMicrotaskEmpty=new uE,this.onStable=new uE,this.onError=new uE}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),tS=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){$E.assertNotInAngularZone(),QE(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())QE(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==i}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},u([
|
|
1655
|
+
*/var $E=function(){function e(e){var t=e.enableLongStackTrace,n=void 0!==t&&t;if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new uE(!1),this.onMicrotaskEmpty=new uE(!1),this.onStable=new uE(!1),this.onError=new uE(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),n&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),function r(e){e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:function(t,n,r,i,o,s){try{return ZE(e),t.invokeTask(r,i,o,s)}finally{JE(e)}},onInvoke:function(t,n,r,i,o,s,a){try{return ZE(e),t.invoke(r,i,o,s,a)}finally{JE(e)}},onHasTask:function(t,n,r,i){t.hasTask(r,i),n===r&&("microTask"==i.change?(e.hasPendingMicrotasks=i.microTask,YE(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:function(t,n,r,i){return t.handleError(r,i),e.runOutsideAngular(function(){return e.onError.emit(i)}),!1}})}(this)}return e.isInAngularZone=function(){return!0===Zone.current.get("isAngularZone")},e.assertInAngularZone=function(){if(!e.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")},e.assertNotInAngularZone=function(){if(e.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")},e.prototype.run=function(e,t,n){return this._inner.run(e,t,n)},e.prototype.runTask=function(e,t,n,r){var i=this._inner,o=i.scheduleEventTask("NgZoneEvent: "+r,e,XE,GE,GE);try{return i.runTask(o,t,n)}finally{i.cancelTask(o)}},e.prototype.runGuarded=function(e,t,n){return this._inner.runGuarded(e,t,n)},e.prototype.runOutsideAngular=function(e){return this._outer.run(e)},e}();function GE(){}var XE={};function YE(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(function(){return e.onStable.emit(null)})}finally{e.isStable=!0}}}function ZE(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function JE(e){e._nesting--,YE(e)}var eS=function(){function e(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new uE,this.onMicrotaskEmpty=new uE,this.onStable=new uE,this.onError=new uE}return e.prototype.run=function(e){return e()},e.prototype.runGuarded=function(e){return e()},e.prototype.runOutsideAngular=function(e){return e()},e.prototype.runTask=function(e){return e()},e}(),tS=function(){function e(e){var t=this;this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(function(){t.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}return e.prototype._watchAngularEvents=function(){var e=this;this._ngZone.onUnstable.subscribe({next:function(){e._didWork=!0,e._isZoneStable=!1}}),this._ngZone.runOutsideAngular(function(){e._ngZone.onStable.subscribe({next:function(){$E.assertNotInAngularZone(),QE(function(){e._isZoneStable=!0,e._runCallbacksIfReady()})}})})},e.prototype.increasePendingRequestCount=function(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount},e.prototype.decreasePendingRequestCount=function(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount},e.prototype.isStable=function(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks},e.prototype._runCallbacksIfReady=function(){var e=this;if(this.isStable())QE(function(){for(;0!==e._callbacks.length;){var t=e._callbacks.pop();clearTimeout(t.timeoutId),t.doneCb(e._didWork)}e._didWork=!1});else{var t=this.getPendingTasks();this._callbacks=this._callbacks.filter(function(e){return!e.updateCb||!e.updateCb(t)||(clearTimeout(e.timeoutId),!1)}),this._didWork=!0}},e.prototype.getPendingTasks=function(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(function(e){return{source:e.source,creationLocation:e.creationLocation,data:e.data}}):[]},e.prototype.addCallback=function(e,t,n){var r=this,i=-1;t&&t>0&&(i=setTimeout(function(){r._callbacks=r._callbacks.filter(function(e){return e.timeoutId!==i}),e(r._didWork,r.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:i,updateCb:n})},e.prototype.whenStable=function(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()},e.prototype.getPendingRequestCount=function(){return this._pendingCount},e.prototype.findProviders=function(e,t,n){return[]},u([Hg(),c("design:paramtypes",[$E])],e)}(),nS=function(){function e(){this._applications=new Map,rS.addToWindow(this)}return e.prototype.registerApplication=function(e,t){this._applications.set(e,t)},e.prototype.unregisterApplication=function(e){this._applications.delete(e)},e.prototype.unregisterAllApplications=function(){this._applications.clear()},e.prototype.getTestability=function(e){return this._applications.get(e)||null},e.prototype.getAllTestabilities=function(){return Array.from(this._applications.values())},e.prototype.getAllRootElements=function(){return Array.from(this._applications.keys())},e.prototype.findTestabilityInTree=function(e,t){return void 0===t&&(t=!0),rS.findTestabilityInTree(this,e,t)},u([Hg(),c("design:paramtypes",[])],e)}(),rS=new(function(){function e(){}return e.prototype.addToWindow=function(e){},e.prototype.findTestabilityInTree=function(e,t,n){return null},e}());
|
|
1655
1656
|
/**
|
|
1656
1657
|
* @license
|
|
1657
1658
|
* Copyright Google Inc. All Rights Reserved.
|
|
1658
1659
|
*
|
|
1659
1660
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1660
1661
|
* found in the LICENSE file at https://angular.io/license
|
|
1661
|
-
*/new Wd("AllowMultipleToken");var iS=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n=this,r=function i(e){return"noop"===e?new eS:("zone.js"===e?void 0:e)||new $E({enableLongStackTrace:
|
|
1662
|
+
*/new Wd("AllowMultipleToken");var iS=function(){function e(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}return e.prototype.bootstrapModuleFactory=function(e,t){var n=this,r=function i(e){return"noop"===e?new eS:("zone.js"===e?void 0:e)||new $E({enableLongStackTrace:Sy()})}(t?t.ngZone:void 0),o=[{provide:$E,useValue:r}];return r.run(function(){var t=r_.create({providers:o,parent:n.injector,name:e.moduleType.name}),i=e.create(t),s=i.injector.get(xy,null);if(!s)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return i.onDestroy(function(){return aS(n._modules,i)}),r.runOutsideAngular(function(){return r.onError.subscribe({next:function(e){s.handleError(e)}})}),function a(e,t,n){try{var r=n();return j_(r)?r.catch(function(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}):r}catch(n){throw t.runOutsideAngular(function(){return e.handleError(n)}),n}}(s,r,function(){var e=i.injector.get(wE);return e.runInitializers(),e.donePromise.then(function(){return n._moduleDoBootstrap(i),i})})})},e.prototype.bootstrapModule=function(e,t){var n=this;void 0===t&&(t=[]);var r=oS({},t);return function i(e,t,n){return e.get(jE).createCompiler([t]).compileModuleAsync(n)}(this.injector,r,e).then(function(e){return n.bootstrapModuleFactory(e,r)})},e.prototype._moduleDoBootstrap=function(e){var t=e.injector.get(sS);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(function(e){return t.bootstrap(e)});else{if(!e.instance.ngDoBootstrap)throw new Error("The module "+Dd(e.instance.constructor)+' was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.');e.instance.ngDoBootstrap(t)}this._modules.push(e)},e.prototype.onDestroy=function(e){this._destroyListeners.push(e)},Object.defineProperty(e.prototype,"injector",{get:function(){return this._injector},enumerable:!0,configurable:!0}),e.prototype.destroy=function(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(function(e){return e.destroy()}),this._destroyListeners.forEach(function(e){return e()}),this._destroyed=!0},Object.defineProperty(e.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),u([Hg(),c("design:paramtypes",[r_])],e)}();function oS(e,t){return Array.isArray(t)?t.reduce(oS,e):a({},e,t)}var sS=function(){function e(e,t,n,r,i,o){var s=this;this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=i,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=Sy(),this._zone.onMicrotaskEmpty.subscribe({next:function(){s._zone.run(function(){s.tick()})}});var a=new Ex(function(e){s._stable=s._zone.isStable&&!s._zone.hasPendingMacrotasks&&!s._zone.hasPendingMicrotasks,s._zone.runOutsideAngular(function(){e.next(s._stable),e.complete()})}),u=new Ex(function(e){var t;s._zone.runOutsideAngular(function(){t=s._zone.onStable.subscribe(function(){$E.assertNotInAngularZone(),QE(function(){s._stable||s._zone.hasPendingMacrotasks||s._zone.hasPendingMicrotasks||(s._stable=!0,e.next(!0))})})});var n=s._zone.onUnstable.subscribe(function(){$E.assertInAngularZone(),s._stable&&(s._stable=!1,s._zone.runOutsideAngular(function(){e.next(!1)}))});return function(){t.unsubscribe(),n.unsubscribe()}});this.isStable=function c(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return function i(e){return e&&"function"==typeof e.schedule}(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof Ex?e[0]:function o(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?i=>i.pipe(e((e,r)=>(function o(e,t){if(!t)return e instanceof Ex?e:new Ex(oE(e));if(null!=e){if(function n(e){return e&&"function"==typeof e[wx]}(e))return function r(e,t){return new Ex(t?n=>{const r=new mx;return r.add(t.schedule(()=>{const i=e[wx]();r.add(i.subscribe({next(e){r.add(t.schedule(()=>n.next(e)))},error(e){r.add(t.schedule(()=>n.error(e)))},complete(){r.add(t.schedule(()=>n.complete()))}}))})),r}:nE(e))}(e,t);if(iE(e))return function i(e,t){return new Ex(t?n=>{const r=new mx;return r.add(t.schedule(()=>e.then(e=>{r.add(t.schedule(()=>{n.next(e),r.add(t.schedule(()=>n.complete()))}))},e=>{r.add(t.schedule(()=>n.error(e)))}))),r}:Zx(e))}(e,t);if(rE(e))return Ux(e,t);if(function o(e){return e&&"function"==typeof e[Jx]}(e)||"string"==typeof e)return function s(e,t){if(!e)throw new Error("Iterable cannot be null");return new Ex(t?n=>{const r=new mx;let i;return r.add(()=>{i&&"function"==typeof i.return&&i.return()}),r.add(t.schedule(()=>{i=e[Jx](),r.add(t.schedule(function(){if(n.closed)return;let e,t;try{const r=i.next();e=r.value,t=r.done}catch(e){return void n.error(e)}t?n.complete():(n.next(e),this.schedule())}))})),r}:tE(e))}(e,t)}throw new TypeError((null!==e&&typeof e||e)+" is not observable")})(t(e,r)).pipe(function i(e,t){return function n(r){if("function"!=typeof e)throw new TypeError("argument is not a function. Are you looking for `mapTo()`?");return r.lift(new $x(e,t))}}((t,i)=>n(e,t,r,i))),r)):("number"==typeof n&&(r=n),e=>e.lift(new sE(t,r)))}(Qx,e)}(t)(Ux(e,n))}(a,u.pipe(function l(){return e=>Ix()(
|
|
1662
1663
|
/**
|
|
1663
1664
|
* @license
|
|
1664
1665
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1666,7 +1667,7 @@ function AE(){throw new Error("Runtime compiler is not loaded")}new Wd("Translat
|
|
|
1666
1667
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1667
1668
|
* found in the LICENSE file at https://angular.io/license
|
|
1668
1669
|
*/
|
|
1669
|
-
function t(e,n){return function t(r){let i;if(i="function"==typeof e?e:function t(){return e},"function"==typeof n)return r.lift(new gE(i,n));const o=Object.create(r,Dx);return o.source=r,o.subjectFactory=i,o}}(_E)(e))}()))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof
|
|
1670
|
+
function t(e,n){return function t(r){let i;if(i="function"==typeof e?e:function t(){return e},"function"==typeof n)return r.lift(new gE(i,n));const o=Object.create(r,Dx);return o.source=r,o.subjectFactory=i,o}}(_E)(e))}()))}var t;return t=e,e.prototype.bootstrap=function(e,t){var n,r=this;if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");n=e instanceof Q_?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);var i=function o(e){return e instanceof X_}(n)?null:this._injector.get(fv),s=n.create(r_.NULL,[],t||n.selector,i);s.onDestroy(function(){r._unloadComponent(s)});var a=s.injector.get(tS,null);return a&&s.injector.get(nS).registerApplication(s.location.nativeElement,a),this._loadComponent(s),Sy()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s},e.prototype.tick=function(){var e,n,r,i,o=this;if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");var s=t._tickScope();try{this._runningTick=!0;try{for(var a=p(this._views),u=a.next();!u.done;u=a.next())u.value.detectChanges()}catch(t){e={error:t}}finally{try{u&&!u.done&&(n=a.return)&&n.call(a)}finally{if(e)throw e.error}}if(this._enforceNoNewChanges)try{for(var l=p(this._views),c=l.next();!c.done;c=l.next())c.value.checkNoChanges()}catch(e){r={error:e}}finally{try{c&&!c.done&&(i=l.return)&&i.call(l)}finally{if(r)throw r.error}}}catch(e){this._zone.runOutsideAngular(function(){return o._exceptionHandler.handleError(e)})}finally{this._runningTick=!1,KE(s)}},e.prototype.attachView=function(e){var t=e;this._views.push(t),t.attachToAppRef(this)},e.prototype.detachView=function(e){var t=e;aS(this._views,t),t.detachFromAppRef()},e.prototype._loadComponent=function(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(NE,[]).concat(this._bootstrapListeners).forEach(function(t){return t(e)})},e.prototype._unloadComponent=function(e){this.detachView(e.hostView),aS(this.components,e)},e.prototype.ngOnDestroy=function(){this._views.slice().forEach(function(e){return e.destroy()})},Object.defineProperty(e.prototype,"viewCount",{get:function(){return this._views.length},enumerable:!0,configurable:!0}),e._tickScope=UE("ApplicationRef#tick()"),t=u([Hg(),c("design:paramtypes",[$E,kE,r_,xy,G_,wE])],e)}();function aS(e,t){var n=e.indexOf(t);n>-1&&e.splice(n,1)}
|
|
1670
1671
|
/**
|
|
1671
1672
|
* @license
|
|
1672
1673
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1701,7 +1702,7 @@ function t(e,n){return function t(r){let i;if(i="function"==typeof e?e:function
|
|
|
1701
1702
|
*
|
|
1702
1703
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1703
1704
|
* found in the LICENSE file at https://angular.io/license
|
|
1704
|
-
*/!function(){function e(e,t){this._compiler=e,this._config=t||cS}e.prototype.load=function(e){return this._compiler instanceof FE?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,n=h(e.split("#"),2),r=n[0],i=n[1];return void 0===i&&(i="default"),System.import(r).then(function(e){return e[i]}).then(function(e){return pS(e,r,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=h(e.split("#"),2),n=t[0],r=t[1],i="NgFactory";return void 0===r&&(r="default",i=""),System.import(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(e){return e[r+i]}).then(function(e){return pS(e,n,r)})},e=u([Bg(),l(1,Td()),c("design:paramtypes",[FE,lS])],e)}(),uS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Tg),o(function hS(){return null!==uS&&uS.apply(this,arguments)||this},uS);var fS=function fS(e,t){this.name=e,this.callback=t},dS=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof vS&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),vS=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=t,i}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,f([i+1,0],t)),t.forEach(function(t){t.parent&&t.parent.removeChild(t),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return mS(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return yS(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(dS);function mS(e,t,n){e.childNodes.forEach(function(e){e instanceof vS&&(t(e)&&n.push(e),mS(e,t,n))})}function yS(e,t,n){e instanceof vS&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof vS&&yS(e,t,n)})}var gS=function(){function e(e){this.nativeNode=e}return Object.defineProperty(e.prototype,"parent",{get:function(){var e=this.nativeNode.parentNode;return e?new _S(e):null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return function e(t){var n=V_(t);return new dy(n.lView[Cv].data[n.nodeIndex],n.lView)}(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){var e=this.nativeNode;return e&&(j_(e)||function t(e){for(var t,n=V_(e).lView;null===n[Sv]&&(t=Jm(n));)n=t;return 512&n[Tv]?null:n[Ov]}(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return j_(this.nativeNode)||function e(t){return B_(t).lView[Ov]}(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"listeners",{get:function(){return function e(t){var n=B_(t).lView,r=n[Mv],i=n[Cv].cleanup,o=[];if(i&&r)for(var s=0;s<i.length;){var a=i[s++],u=i[s++];if("string"==typeof a){var l=a,c=pm(n[u]),p=r[i[s++]],h=i[s++];t==c&&o.push({element:t,name:l,callback:p,useCapture:"boolean"==typeof h?h:!(h>=0)&&null})}}return o.sort(U_),o}(this.nativeNode).filter(H_)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return function e(t){var n=V_(t);return void 0===n.localRefs&&(n.localRefs=function r(e,t){var n=e[Cv].data[t];if(n&&n.localNames){for(var r={},i=n.index+1,o=0;o<n.localNames.length;o+=2)r[n.localNames[o]]=e[i],i++;return r}return null}(n.lView,n.nodeIndex)),n.localRefs||{}}(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return function e(t){var n=V_(t,!1);if(!n)return[];for(var r,i=n.lView[Cv],o=i.data[n.nodeIndex],s=[],a=o.directiveEnd,u=65535&o.providerIndexes;u<a;u++){var l=i.data[u];void 0!==(r=l).type&&void 0!==r.template&&void 0!==r.declaredInputs&&(l=l.type),s.push(l)}return s}(this.nativeNode)},enumerable:!0,configurable:!0}),e}(),_S=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"nativeElement",{get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.nativeElement.nodeName},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){var e=V_(this.nativeNode),t=e.lView,n=t[Cv].data,r=n[e.nodeIndex],i=function o(e,t,n){for(var r={},i=function o(e,t){for(var n=e-1,r=t[n];"string"==typeof r&&!jm(r);)r=t[--n];return n+1}(e.propertyMetadataStartIndex,n);i<e.propertyMetadataEndIndex;){for(var s=void 0,a=n[i];!jm(a);)s=(s||"")+Om(t[i])+n[i],a=n[++i];s=void 0===s?t[i]:s+=t[i];var u=a.split(Fm),l=u[0];l&&(r[l]=u[1]&&u[2]?u[1]+s+u[2]:s),i++}return r}(r,t,n),s=function u(e,t,n){for(var r={},i=e.directiveEnd,o=n[i];"string"==typeof o;)r[o.split(Fm)[0]]=t[i],o=n[++i];return r}(r,t,n),l=function c(e){var t,n,r=e.classes,i="";try{for(var o=p(Object.keys(r)),s=o.next();!s.done;s=o.next()){var a=s.value;r[a]&&(i=i?i+" "+a:a)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return i}(this),h=a({},i,s);return l&&(h.className=h.className?h.className+" "+l:l),h},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e={},t=this.nativeElement;if(!t)return e;var n=V_(t),r=n.lView[Cv].data[n.nodeIndex].attrs,i=[];if(r)for(var o=0;o<r.length;){var s=r[o];if("string"!=typeof s)break;e[s]=r[o+1],i.push(s.toLowerCase()),o+=2}var a=t.attributes;for(o=0;o<a.length;o++){var u=a[o];-1===i.indexOf(u.name)&&(e[u.name]=u.value)}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"styles",{get:function(){return bS(this.nativeElement,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classes",{get:function(){return bS(this.nativeElement,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){for(var e=this.nativeNode.childNodes,t=[],n=0;n<e.length;n++)t.push(NS(e[n]));return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){var e=this.nativeElement;if(!e)return[];for(var t=e.children,n=[],r=0;r<t.length;r++)n.push(NS(t[r]));return n},enumerable:!0,configurable:!0}),t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return wS(this,e,t,!0),t},t.prototype.queryAllNodes=function(e){var t=[];return wS(this,e,t,!1),t},t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name===e&&n.callback(t)})},t}(gS);function bS(e,t){if(e){var n=B_(e),r=n.lView,i=r[Cv].data[n.nodeIndex];return t?Wm(i.classes)?new Xy(i.classes,r,!0).values:Gy(i.classes):Wm(i.styles)?new Xy(i.styles,r,!1).values:Gy(i.styles)}return{}}function wS(e,t,n,r){var i=V_(e.nativeNode);xS(i.lView[Cv].data[i.nodeIndex],i.lView,t,n,r,e.nativeNode)}function xS(e,t,n,r,i,o){var s,a,u=fm(e,t);if(3===e.type||4===e.type){SS(u,n,r,i,o),Xv(e)?(h=vm(e.index,t))&&h[Cv].firstChild&&xS(h[Cv].firstChild,h,n,r,i,o):(e.child&&xS(e.child,t,n,r,i,o),u&&function e(t,n,r,i){for(var o=t.childNodes,s=o.length,a=0;a<s;a++){var u=o[a],l=kS(u);l&&(i&&l instanceof _S&&n(l)&&-1===r.indexOf(l)?r.push(l):!i&&n(l)&&-1===r.indexOf(l)&&r.push(l),e(u,n,r,i))}}(u,n,r,i));var l=t[e.index];Gv(l)&&ES(l,n,r,i,o)}else if(0===e.type){var c=t[e.index];SS(c[Wv],n,r,i,o),ES(c,n,r,i,o)}else if(1===e.type){var h,f=(h=ey(t))[Av].projection[e.projection];if(Array.isArray(f))try{for(var d=p(f),v=d.next();!v.done;v=d.next())SS(v.value,n,r,i,o)}catch(e){s={error:e}}finally{try{v&&!v.done&&(a=d.return)&&a.call(d)}finally{if(s)throw s.error}}else if(f){var m,y=h[Nv];xS(m=y[Cv].data[f.index],y,n,r,i,o)}}else e.child&&xS(e.child,t,n,r,i,o);o!==u&&(m=2&e.flags?e.projectionNext:e.next)&&xS(m,t,n,r,i,o)}function ES(e,t,n,r,i){for(var o=Qv;o<e.length;o++){var s=e[o];xS(s[Cv].node,s,t,n,r,i)}}function SS(e,t,n,r,i){if(i!==e){var o=kS(e);if(!o)return;r&&o instanceof _S&&t(o)&&-1===n.indexOf(o)?n.push(o):!r&&t(o)&&-1===n.indexOf(o)&&n.push(o)}}var CS=new Map,TS="__ng_debug__";function NS(e){return e instanceof Node?(e.hasOwnProperty(TS)||(e[TS]=e.nodeType==Node.ELEMENT_NODE?new _S(e):new gS(e)),e[TS]):null}var kS=function PS(e){return CS.get(e)||null};function AS(e){CS.set(e.nativeNode,e)}!function IS(e,t,n){void 0===n&&(n=[]);new Wd("Platform: "+t)}(0,"core",[{provide:TE,useValue:"unknown"},{provide:iS,deps:[n_]},{provide:nS,deps:[]},{provide:kE,deps:[]}]);var MS,OS=[{provide:sS,useClass:sS,deps:[$E,kE,n_,wy,$_,wE]},{provide:ex,deps:[$E],useFactory:function RS(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:wE,useClass:wE,deps:[[new Td,bE]]},{provide:FE,useClass:FE,deps:[]},xE,{provide:mb,useFactory:
|
|
1705
|
+
*/!function(){function e(e,t){this._compiler=e,this._config=t||cS}e.prototype.load=function(e){return this._compiler instanceof FE?this.loadFactory(e):this.loadAndCompile(e)},e.prototype.loadAndCompile=function(e){var t=this,n=h(e.split("#"),2),r=n[0],i=n[1];return void 0===i&&(i="default"),System.import(r).then(function(e){return e[i]}).then(function(e){return pS(e,r,i)}).then(function(e){return t._compiler.compileModuleAsync(e)})},e.prototype.loadFactory=function(e){var t=h(e.split("#"),2),n=t[0],r=t[1],i="NgFactory";return void 0===r&&(r="default",i=""),System.import(this._config.factoryPathPrefix+n+this._config.factoryPathSuffix).then(function(e){return e[r+i]}).then(function(e){return pS(e,n,r)})},e=u([Hg(),l(1,Td()),c("design:paramtypes",[FE,lS])],e)}(),uS=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t}(Ng),o(function hS(){return null!==uS&&uS.apply(this,arguments)||this},uS);var fS=function fS(e,t){this.name=e,this.callback=t},dS=function(){function e(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof vS&&t.addChild(this)}return Object.defineProperty(e.prototype,"injector",{get:function(){return this._debugContext.injector},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){return this._debugContext.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this._debugContext.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return this._debugContext.references},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return this._debugContext.providerTokens},enumerable:!0,configurable:!0}),e}(),vS=function(e){function t(t,n,r){var i=e.call(this,t,n,r)||this;return i.properties={},i.attributes={},i.classes={},i.styles={},i.childNodes=[],i.nativeElement=t,i}return o(t,e),t.prototype.addChild=function(e){e&&(this.childNodes.push(e),e.parent=this)},t.prototype.removeChild=function(e){var t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))},t.prototype.insertChildrenAfter=function(e,t){var n,r=this,i=this.childNodes.indexOf(e);-1!==i&&((n=this.childNodes).splice.apply(n,f([i+1,0],t)),t.forEach(function(t){t.parent&&t.parent.removeChild(t),e.parent=r}))},t.prototype.insertBefore=function(e,t){var n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))},t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return mS(this,e,t),t},t.prototype.queryAllNodes=function(e){var t=[];return yS(this,e,t),t},Object.defineProperty(t.prototype,"children",{get:function(){return this.childNodes.filter(function(e){return e instanceof t})},enumerable:!0,configurable:!0}),t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name==e&&n.callback(t)})},t}(dS);function mS(e,t,n){e.childNodes.forEach(function(e){e instanceof vS&&(t(e)&&n.push(e),mS(e,t,n))})}function yS(e,t,n){e instanceof vS&&e.childNodes.forEach(function(e){t(e)&&n.push(e),e instanceof vS&&yS(e,t,n)})}var gS=function(){function e(e){this.nativeNode=e}return Object.defineProperty(e.prototype,"parent",{get:function(){var e=this.nativeNode.parentNode;return e?new _S(e):null},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return function e(t){var n=B_(t);return new vy(n.lView[Tv].data[n.nodeIndex],n.lView)}(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentInstance",{get:function(){var e=this.nativeNode;return e&&(V_(e)||function t(e){for(var t,n=B_(e).lView;null===n[Cv]&&(t=ey(n));)n=t;return 512&n[Nv]?null:n[Rv]}(e))},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return V_(this.nativeNode)||function e(t){return H_(t).lView[Rv]}(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"listeners",{get:function(){return function e(t){var n=H_(t).lView,r=n[Ov],i=n[Tv].cleanup,o=[];if(i&&r)for(var s=0;s<i.length;){var a=i[s++],u=i[s++];if("string"==typeof a){var l=a,c=hm(n[u]),p=r[i[s++]],h=i[s++];t==c&&o.push({element:t,name:l,callback:p,useCapture:"boolean"==typeof h?h:!(h>=0)&&null})}}return o.sort(q_),o}(this.nativeNode).filter(U_)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){return function e(t){var n=B_(t);return void 0===n.localRefs&&(n.localRefs=function r(e,t){var n=e[Tv].data[t];if(n&&n.localNames){for(var r={},i=n.index+1,o=0;o<n.localNames.length;o+=2)r[n.localNames[o]]=e[i],i++;return r}return null}(n.lView,n.nodeIndex)),n.localRefs||{}}(this.nativeNode)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){return function e(t){var n=B_(t,!1);if(!n)return[];for(var r,i=n.lView[Tv],o=i.data[n.nodeIndex],s=[],a=o.directiveEnd,u=65535&o.providerIndexes;u<a;u++){var l=i.data[u];void 0!==(r=l).type&&void 0!==r.template&&void 0!==r.declaredInputs&&(l=l.type),s.push(l)}return s}(this.nativeNode)},enumerable:!0,configurable:!0}),e}(),_S=function(e){function t(t){return e.call(this,t)||this}return o(t,e),Object.defineProperty(t.prototype,"nativeElement",{get:function(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"name",{get:function(){return this.nativeElement.nodeName},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"properties",{get:function(){var e=B_(this.nativeNode),t=e.lView,n=t[Tv].data,r=n[e.nodeIndex],i=function o(e,t,n){for(var r={},i=function o(e,t){for(var n=e-1,r=t[n];"string"==typeof r&&!Vm(r);)r=t[--n];return n+1}(e.propertyMetadataStartIndex,n);i<e.propertyMetadataEndIndex;){for(var s=void 0,a=n[i];!Vm(a);)s=(s||"")+Rm(t[i])+n[i],a=n[++i];s=void 0===s?t[i]:s+=t[i];var u=a.split(jm),l=u[0];l&&(r[l]=u[1]&&u[2]?u[1]+s+u[2]:s),i++}return r}(r,t,n),s=function u(e,t,n){for(var r={},i=e.directiveEnd,o=n[i];"string"==typeof o;)r[o.split(jm)[0]]=t[i],o=n[++i];return r}(r,t,n),l=function c(e){var t,n,r=e.classes,i="";try{for(var o=p(Object.keys(r)),s=o.next();!s.done;s=o.next()){var a=s.value;r[a]&&(i=i?i+" "+a:a)}}catch(e){t={error:e}}finally{try{s&&!s.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return i}(this),h=a({},i,s);return l&&(h.className=h.className?h.className+" "+l:l),h},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"attributes",{get:function(){var e={},t=this.nativeElement;if(!t)return e;var n=B_(t),r=n.lView[Tv].data[n.nodeIndex].attrs,i=[];if(r)for(var o=0;o<r.length;){var s=r[o];if("string"!=typeof s)break;e[s]=r[o+1],i.push(s.toLowerCase()),o+=2}var a=t.attributes;for(o=0;o<a.length;o++){var u=a[o];-1===i.indexOf(u.name)&&(e[u.name]=u.value)}return e},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"styles",{get:function(){return bS(this.nativeElement,!1)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"classes",{get:function(){return bS(this.nativeElement,!0)},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"childNodes",{get:function(){for(var e=this.nativeNode.childNodes,t=[],n=0;n<e.length;n++)t.push(NS(e[n]));return t},enumerable:!0,configurable:!0}),Object.defineProperty(t.prototype,"children",{get:function(){var e=this.nativeElement;if(!e)return[];for(var t=e.children,n=[],r=0;r<t.length;r++)n.push(NS(t[r]));return n},enumerable:!0,configurable:!0}),t.prototype.query=function(e){return this.queryAll(e)[0]||null},t.prototype.queryAll=function(e){var t=[];return wS(this,e,t,!0),t},t.prototype.queryAllNodes=function(e){var t=[];return wS(this,e,t,!1),t},t.prototype.triggerEventHandler=function(e,t){this.listeners.forEach(function(n){n.name===e&&n.callback(t)})},t}(gS);function bS(e,t){if(e){var n=H_(e),r=n.lView,i=r[Tv].data[n.nodeIndex];return t?Qm(i.classes)?new Yy(i.classes,r,!0).values:Xy(i.classes):Qm(i.styles)?new Yy(i.styles,r,!1).values:Xy(i.styles)}return{}}function wS(e,t,n,r){var i=B_(e.nativeNode);xS(i.lView[Tv].data[i.nodeIndex],i.lView,t,n,r,e.nativeNode)}function xS(e,t,n,r,i,o){var s,a,u=dm(e,t);if(3===e.type||4===e.type){SS(u,n,r,i,o),Yv(e)?(h=mm(e.index,t))&&h[Tv].firstChild&&xS(h[Tv].firstChild,h,n,r,i,o):(e.child&&xS(e.child,t,n,r,i,o),u&&function e(t,n,r,i){for(var o=t.childNodes,s=o.length,a=0;a<s;a++){var u=o[a],l=kS(u);l&&(i&&l instanceof _S&&n(l)&&-1===r.indexOf(l)?r.push(l):!i&&n(l)&&-1===r.indexOf(l)&&r.push(l),e(u,n,r,i))}}(u,n,r,i));var l=t[e.index];Xv(l)&&ES(l,n,r,i,o)}else if(0===e.type){var c=t[e.index];SS(c[Qv],n,r,i,o),ES(c,n,r,i,o)}else if(1===e.type){var h,f=(h=ty(t))[Iv].projection[e.projection];if(Array.isArray(f))try{for(var d=p(f),v=d.next();!v.done;v=d.next())SS(v.value,n,r,i,o)}catch(e){s={error:e}}finally{try{v&&!v.done&&(a=d.return)&&a.call(d)}finally{if(s)throw s.error}}else if(f){var m,y=h[kv];xS(m=y[Tv].data[f.index],y,n,r,i,o)}}else e.child&&xS(e.child,t,n,r,i,o);o!==u&&(m=2&e.flags?e.projectionNext:e.next)&&xS(m,t,n,r,i,o)}function ES(e,t,n,r,i){for(var o=$v;o<e.length;o++){var s=e[o];xS(s[Tv].node,s,t,n,r,i)}}function SS(e,t,n,r,i){if(i!==e){var o=kS(e);if(!o)return;r&&o instanceof _S&&t(o)&&-1===n.indexOf(o)?n.push(o):!r&&t(o)&&-1===n.indexOf(o)&&n.push(o)}}var CS=new Map,TS="__ng_debug__";function NS(e){return e instanceof Node?(e.hasOwnProperty(TS)||(e[TS]=e.nodeType==Node.ELEMENT_NODE?new _S(e):new gS(e)),e[TS]):null}var kS=function PS(e){return CS.get(e)||null};function AS(e){CS.set(e.nativeNode,e)}!function IS(e,t,n){void 0===n&&(n=[]);new Wd("Platform: "+t)}(0,"core",[{provide:TE,useValue:"unknown"},{provide:iS,deps:[r_]},{provide:nS,deps:[]},{provide:kE,deps:[]}]);var MS,OS=[{provide:sS,useClass:sS,deps:[$E,kE,r_,xy,G_,wE]},{provide:tx,deps:[$E],useFactory:function RS(e){var t=[];return e.onStable.subscribe(function(){for(;t.length;)t.pop()()}),function(e){t.push(e)}}},{provide:wE,useClass:wE,deps:[[new Td,bE]]},{provide:FE,useClass:FE,deps:[]},xE,{provide:yb,useFactory:
|
|
1705
1706
|
/**
|
|
1706
1707
|
* @license
|
|
1707
1708
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1709,7 +1710,7 @@ function t(e,n){return function t(r){let i;if(i="function"==typeof e?e:function
|
|
|
1709
1710
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1710
1711
|
* found in the LICENSE file at https://angular.io/license
|
|
1711
1712
|
*/
|
|
1712
|
-
function DS(){return
|
|
1713
|
+
function DS(){return bb},deps:[]},{provide:gb,useFactory:function LS(){return wb},deps:[]},{provide:PE,useFactory:function FS(e){return e||"en-US"},deps:[[new Cd(PE),new Td,new kd]]}];
|
|
1713
1714
|
/**
|
|
1714
1715
|
* @license
|
|
1715
1716
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1717,21 +1718,21 @@ function DS(){return _b},deps:[]},{provide:yb,useFactory:function LS(){return bb
|
|
|
1717
1718
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1718
1719
|
* found in the LICENSE file at https://angular.io/license
|
|
1719
1720
|
*/
|
|
1720
|
-
function jS(e,t,n){var r,i=n.element,o=e.root.selectorOrNode,s=e.renderer;if(e.parent||!o){r=i.name?s.createElement(i.name,i.ns):s.createComment("");var a=
|
|
1721
|
+
function jS(e,t,n){var r,i=n.element,o=e.root.selectorOrNode,s=e.renderer;if(e.parent||!o){r=i.name?s.createElement(i.name,i.ns):s.createComment("");var a=Zb(e,t,n);a&&s.appendChild(a,r)}else r=s.selectRootElement(o,!!i.componentRendererType&&i.componentRendererType.encapsulation===hv.ShadowDom);if(i.attrs)for(var u=0;u<i.attrs.length;u++){var l=h(i.attrs[u],3);s.setAttribute(r,l[1],l[2],l[0])}return r}function VS(e,t,n,r){for(var i=0;i<n.outputs.length;i++){var o=n.outputs[i],s=BS(e,n.nodeIndex,(p=o.eventName,(c=o.target)?c+":"+p:p)),a=o.target,u=e;"component"===o.target&&(a=null,u=t);var l=u.renderer.listen(a||r,o.eventName,s);e.disposables[n.outputIndex+i]=l}var c,p}function BS(e,t,n){return function(r){return zb(e,t,n,r)}}function HS(e,t,n,r){if(!Hb(e,t,n,r))return!1;var i=t.bindings[n],o=Mb(e,t.nodeIndex),s=o.renderElement,a=i.name;switch(15&i.flags){case 1:!function u(e,t,n,r,i,o){var s=t.securityContext,a=s?e.root.sanitizer.sanitize(s,o):o;a=null!=a?a.toString():null;var u=e.renderer;null!=o?u.setAttribute(n,i,a,r):u.removeAttribute(n,i,r)}(e,i,s,i.ns,a,r);break;case 2:!function l(e,t,n,r){var i=e.renderer;r?i.addClass(t,n):i.removeClass(t,n)}(e,s,a,r);break;case 4:!function c(e,t,n,r,i){var o=e.root.sanitizer.sanitize(Ny.STYLE,i);if(null!=o){o=o.toString();var s=t.suffix;null!=s&&(o+=s)}else o=null;var a=e.renderer;null!=o?a.setStyle(n,r,o):a.removeStyle(n,r)}(e,i,s,a,r);break;case 8:!function p(e,t,n,r,i){var o=t.securityContext,s=o?e.root.sanitizer.sanitize(o,i):i;e.renderer.setProperty(n,r,s)}
|
|
1721
1722
|
/**
|
|
1722
1723
|
* @license
|
|
1723
1724
|
* Copyright Google Inc. All Rights Reserved.
|
|
1724
1725
|
*
|
|
1725
1726
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1726
1727
|
* found in the LICENSE file at https://angular.io/license
|
|
1727
|
-
*/(33554432&t.flags&&32&i.flags?o.componentView:e,i,s,a,r)}return!0}function US(e){for(var t=e.def.nodeMatchedQueries;e.parent&&
|
|
1728
|
+
*/(33554432&t.flags&&32&i.flags?o.componentView:e,i,s,a,r)}return!0}function US(e){for(var t=e.def.nodeMatchedQueries;e.parent&&Xb(e);){var n=e.parentNodeDef;e=e.parent;for(var r=n.nodeIndex+n.childCount,i=0;i<=r;i++)67108864&(o=e.def.nodes[i]).flags&&536870912&o.flags&&(o.query.filterId&t)===o.query.filterId&&Db(e,i).setDirty(),!(1&o.flags&&i+o.childCount<n.nodeIndex)&&67108864&o.childFlags&&536870912&o.childFlags||(i+=o.childCount)}if(134217728&e.def.nodeFlags)for(i=0;i<e.def.nodes.length;i++){var o;134217728&(o=e.def.nodes[i]).flags&&536870912&o.flags&&Db(e,i).setDirty(),i+=o.childCount}}function qS(e,t){var n=Db(e,t.nodeIndex);if(n.dirty){var r,i=void 0;if(67108864&t.flags){var o=t.parent.parent;i=KS(e,o.nodeIndex,o.nodeIndex+o.childCount,t.query,[]),r=Ob(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(i=KS(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(i);for(var s=t.query.bindings,a=!1,u=0;u<s.length;u++){var l=s[u],c=void 0;switch(l.bindingType){case 0:c=n.first;break;case 1:c=n,a=!0}r[l.propName]=c}a&&n.notifyOnChanges()}}function KS(e,t,n,r,i){for(var o=t;o<=n;o++){var s=e.def.nodes[o],a=s.matchedQueries[r.id];if(null!=a&&i.push(zS(e,s,a)),1&s.flags&&s.element.template&&(s.element.template.nodeMatchedQueries&r.filterId)===r.filterId){var u=Mb(e,o);if((s.childMatchedQueries&r.filterId)===r.filterId&&(KS(e,o+1,o+s.childCount,r,i),o+=s.childCount),16777216&s.flags)for(var l=u.viewContainer._embeddedViews,c=0;c<l.length;c++){var p=l[c],h=Wb(p);h&&h===u&&KS(p,0,p.def.nodes.length-1,r,i)}var f=u.template._projectedViews;if(f)for(c=0;c<f.length;c++){var d=f[c];KS(d,0,d.def.nodes.length-1,r,i)}}(s.childMatchedQueries&r.filterId)!==r.filterId&&(o+=s.childCount)}return i}function zS(e,t,n){if(null!=n)switch(n){case 1:return Mb(e,t.nodeIndex).renderElement;case 0:return new J_(Mb(e,t.nodeIndex).renderElement);case 2:return Mb(e,t.nodeIndex).template;case 3:return Mb(e,t.nodeIndex).viewContainer;case 4:return Ob(e,t.nodeIndex).instance}}
|
|
1728
1729
|
/**
|
|
1729
1730
|
* @license
|
|
1730
1731
|
* Copyright Google Inc. All Rights Reserved.
|
|
1731
1732
|
*
|
|
1732
1733
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1733
1734
|
* found in the LICENSE file at https://angular.io/license
|
|
1734
|
-
*/function WS(e,t,n){var r=
|
|
1735
|
+
*/function WS(e,t,n){var r=Zb(e,t,n);r&&rw(e,n.ngContent.index,1,r,null,void 0)}
|
|
1735
1736
|
/**
|
|
1736
1737
|
* @license
|
|
1737
1738
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1746,21 +1747,21 @@ function jS(e,t,n){var r,i=n.element,o=e.root.selectorOrNode,s=e.renderer;if(e.p
|
|
|
1746
1747
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1747
1748
|
* found in the LICENSE file at https://angular.io/license
|
|
1748
1749
|
*/
|
|
1749
|
-
function QS(e,t,n){var r,i=e.renderer;r=i.createText(n.text.prefix);var o=
|
|
1750
|
+
function QS(e,t,n){var r,i=e.renderer;r=i.createText(n.text.prefix);var o=Zb(e,t,n);return o&&i.appendChild(o,r),{renderText:r}}function $S(e,t){return(null!=e?e.toString():"")+t.suffix}
|
|
1750
1751
|
/**
|
|
1751
1752
|
* @license
|
|
1752
1753
|
* Copyright Google Inc. All Rights Reserved.
|
|
1753
1754
|
*
|
|
1754
1755
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1755
1756
|
* found in the LICENSE file at https://angular.io/license
|
|
1756
|
-
*/function GS(e,t,n,r){var i=ZS(e.root,e.renderer,e,t,n);return JS(i,e.component,r),eC(i),i}function XS(e,t,n){var r=ZS(e,e.renderer,null,null,t);return JS(r,n,n),eC(r),r}function YS(e,t,n,r){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,ZS(e.root,i,e,t.element.componentProvider,n)}function ZS(e,t,n,r,i){var o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function JS(e,t,n){e.component=t,e.context=n}function eC(e){var t
|
|
1757
|
+
*/function GS(e,t,n,r){var i=ZS(e.root,e.renderer,e,t,n);return JS(i,e.component,r),eC(i),i}function XS(e,t,n){var r=ZS(e,e.renderer,null,null,t);return JS(r,n,n),eC(r),r}function YS(e,t,n,r){var i,o=t.element.componentRendererType;return i=o?e.root.rendererFactory.createRenderer(r,o):e.root.renderer,ZS(e.root,i,e,t.element.componentProvider,n)}function ZS(e,t,n,r,i){var o=new Array(i.nodes.length),s=i.outputCount?new Array(i.outputCount):null;return{def:i,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(i.bindingCount),disposables:s,initIndex:-1}}function JS(e,t,n){e.component=t,e.context=n}function eC(e){var t;Gb(e)&&(t=Mb(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);for(var n=e.def,r=e.nodes,i=0;i<n.nodes.length;i++){var o=n.nodes[i];Lb.setCurrentNode(e,i);var s=void 0;switch(201347067&o.flags){case 1:var a=jS(e,t,o),u=void 0;if(33554432&o.flags){var l=ew(o.element.componentView);u=Lb.createComponentView(e,o,l,a)}VS(e,u,o,a),s={renderElement:a,componentView:u,viewContainer:null,template:o.element.template?Ew(e,o):void 0},16777216&o.flags&&(s.viewContainer=_w(e,o,s));break;case 2:s=QS(e,t,o);break;case 512:case 1024:case 2048:case 256:(s=r[i])||4096&o.flags||(s={instance:Vw(e,o)});break;case 16:s={instance:Bw(e,o)};break;case 16384:(s=r[i])||(s={instance:Hw(e,o)}),32768&o.flags&&JS(Mb(e,o.parent.nodeIndex).componentView,s.instance,s.instance);break;case 32:case 64:case 128:s={value:void 0};break;case 67108864:case 134217728:s=new cE;break;case 8:WS(e,t,o),s=void 0}r[i]=s}uC(e,MS.CreateViewNodes),hC(e,201326592,268435456,0)}function tC(e){iC(e),Lb.updateDirectives(e,1),lC(e,MS.CheckNoChanges),Lb.updateRenderer(e,1),uC(e,MS.CheckNoChanges),e.state&=-97}function nC(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,Pb(e,0,256),iC(e),Lb.updateDirectives(e,0),lC(e,MS.CheckAndUpdate),hC(e,67108864,536870912,0);var t=Pb(e,256,512);Gw(e,2097152|(t?1048576:0)),Lb.updateRenderer(e,0),uC(e,MS.CheckAndUpdate),hC(e,134217728,536870912,0),Gw(e,8388608|((t=Pb(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,Pb(e,768,1024)}function rC(e,t,n,r,i,o,s,a,u,l,c,p,h){return 0===n?function d(e,t,n,r,i,o,s,a,u,l,c,p){switch(201347067&t.flags){case 1:return function h(e,t,n,r,i,o,s,a,u,l,c,p){var h=t.bindings.length,f=!1;return h>0&&HS(e,t,0,n)&&(f=!0),h>1&&HS(e,t,1,r)&&(f=!0),h>2&&HS(e,t,2,i)&&(f=!0),h>3&&HS(e,t,3,o)&&(f=!0),h>4&&HS(e,t,4,s)&&(f=!0),h>5&&HS(e,t,5,a)&&(f=!0),h>6&&HS(e,t,6,u)&&(f=!0),h>7&&HS(e,t,7,l)&&(f=!0),h>8&&HS(e,t,8,c)&&(f=!0),h>9&&HS(e,t,9,p)&&(f=!0),f}(e,t,n,r,i,o,s,a,u,l,c,p);case 2:return function f(e,t,n,r,i,o,s,a,u,l,c,p){var h=!1,f=t.bindings,d=f.length;if(d>0&&Hb(e,t,0,n)&&(h=!0),d>1&&Hb(e,t,1,r)&&(h=!0),d>2&&Hb(e,t,2,i)&&(h=!0),d>3&&Hb(e,t,3,o)&&(h=!0),d>4&&Hb(e,t,4,s)&&(h=!0),d>5&&Hb(e,t,5,a)&&(h=!0),d>6&&Hb(e,t,6,u)&&(h=!0),d>7&&Hb(e,t,7,l)&&(h=!0),d>8&&Hb(e,t,8,c)&&(h=!0),d>9&&Hb(e,t,9,p)&&(h=!0),h){var v=t.text.prefix;d>0&&(v+=$S(n,f[0])),d>1&&(v+=$S(r,f[1])),d>2&&(v+=$S(i,f[2])),d>3&&(v+=$S(o,f[3])),d>4&&(v+=$S(s,f[4])),d>5&&(v+=$S(a,f[5])),d>6&&(v+=$S(u,f[6])),d>7&&(v+=$S(l,f[7])),d>8&&(v+=$S(c,f[8])),d>9&&(v+=$S(p,f[9]));var m=Ib(e,t.nodeIndex).renderText;e.renderer.setValue(m,v)}return h}(e,t,n,r,i,o,s,a,u,l,c,p);case 16384:return function d(e,t,n,r,i,o,s,a,u,l,c,p){var h=Ob(e,t.nodeIndex),f=h.instance,d=!1,v=void 0,m=t.bindings.length;return m>0&&Bb(e,t,0,n)&&(d=!0,v=$w(e,h,t,0,n,v)),m>1&&Bb(e,t,1,r)&&(d=!0,v=$w(e,h,t,1,r,v)),m>2&&Bb(e,t,2,i)&&(d=!0,v=$w(e,h,t,2,i,v)),m>3&&Bb(e,t,3,o)&&(d=!0,v=$w(e,h,t,3,o,v)),m>4&&Bb(e,t,4,s)&&(d=!0,v=$w(e,h,t,4,s,v)),m>5&&Bb(e,t,5,a)&&(d=!0,v=$w(e,h,t,5,a,v)),m>6&&Bb(e,t,6,u)&&(d=!0,v=$w(e,h,t,6,u,v)),m>7&&Bb(e,t,7,l)&&(d=!0,v=$w(e,h,t,7,l,v)),m>8&&Bb(e,t,8,c)&&(d=!0,v=$w(e,h,t,8,c,v)),m>9&&Bb(e,t,9,p)&&(d=!0,v=$w(e,h,t,9,p,v)),v&&f.ngOnChanges(v),65536&t.flags&&Ab(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),d}(e,t,n,r,i,o,s,a,u,l,c,p);case 32:case 64:case 128:return function v(e,t,n,r,i,o,s,a,u,l,c,p){var h=t.bindings,f=!1,d=h.length;if(d>0&&Hb(e,t,0,n)&&(f=!0),d>1&&Hb(e,t,1,r)&&(f=!0),d>2&&Hb(e,t,2,i)&&(f=!0),d>3&&Hb(e,t,3,o)&&(f=!0),d>4&&Hb(e,t,4,s)&&(f=!0),d>5&&Hb(e,t,5,a)&&(f=!0),d>6&&Hb(e,t,6,u)&&(f=!0),d>7&&Hb(e,t,7,l)&&(f=!0),d>8&&Hb(e,t,8,c)&&(f=!0),d>9&&Hb(e,t,9,p)&&(f=!0),f){var v=Rb(e,t.nodeIndex),m=void 0;switch(201347067&t.flags){case 32:m=new Array(h.length),d>0&&(m[0]=n),d>1&&(m[1]=r),d>2&&(m[2]=i),d>3&&(m[3]=o),d>4&&(m[4]=s),d>5&&(m[5]=a),d>6&&(m[6]=u),d>7&&(m[7]=l),d>8&&(m[8]=c),d>9&&(m[9]=p);break;case 64:m={},d>0&&(m[h[0].name]=n),d>1&&(m[h[1].name]=r),d>2&&(m[h[2].name]=i),d>3&&(m[h[3].name]=o),d>4&&(m[h[4].name]=s),d>5&&(m[h[5].name]=a),d>6&&(m[h[6].name]=u),d>7&&(m[h[7].name]=l),d>8&&(m[h[8].name]=c),d>9&&(m[h[9].name]=p);break;case 128:var y=n;switch(d){case 1:m=y.transform(n);break;case 2:m=y.transform(r);break;case 3:m=y.transform(r,i);break;case 4:m=y.transform(r,i,o);break;case 5:m=y.transform(r,i,o,s);break;case 6:m=y.transform(r,i,o,s,a);break;case 7:m=y.transform(r,i,o,s,a,u);break;case 8:m=y.transform(r,i,o,s,a,u,l);break;case 9:m=y.transform(r,i,o,s,a,u,l,c);break;case 10:m=y.transform(r,i,o,s,a,u,l,c,p)}}v.value=m}return f}(e,t,n,r,i,o,s,a,u,l,c,p);default:throw"unreachable"}}(e,t,r,i,o,s,a,u,l,c,p,h):function v(e,t,n){switch(201347067&t.flags){case 1:return function r(e,t,n){for(var r=!1,i=0;i<n.length;i++)HS(e,t,i,n[i])&&(r=!0);return r}(e,t,n);case 2:return function i(e,t,n){for(var r=t.bindings,i=!1,o=0;o<n.length;o++)Hb(e,t,o,n[o])&&(i=!0);if(i){var s="";for(o=0;o<n.length;o++)s+=$S(n[o],r[o]);s=t.text.prefix+s;var a=Ib(e,t.nodeIndex).renderText;e.renderer.setValue(a,s)}return i}(e,t,n);case 16384:return function o(e,t,n){for(var r=Ob(e,t.nodeIndex),i=r.instance,o=!1,s=void 0,a=0;a<n.length;a++)Bb(e,t,a,n[a])&&(o=!0,s=$w(e,r,t,a,n[a],s));return s&&i.ngOnChanges(s),65536&t.flags&&Ab(e,256,t.nodeIndex)&&i.ngOnInit(),262144&t.flags&&i.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function s(e,t,n){for(var r=t.bindings,i=!1,o=0;o<n.length;o++)Hb(e,t,o,n[o])&&(i=!0);if(i){var s=Rb(e,t.nodeIndex),a=void 0;switch(201347067&t.flags){case 32:a=n;break;case 64:for(a={},o=0;o<n.length;o++)a[r[o].name]=n[o];break;case 128:var u=n[0],l=n.slice(1);a=u.transform.apply(u,f(l))}s.value=a}return i}(e,t,n);default:throw"unreachable"}}(e,t,r)}function iC(e){var t=e.def;if(4&t.nodeFlags)for(var n=0;n<t.nodes.length;n++){var r=t.nodes[n];if(4&r.flags){var i=Mb(e,n).template._projectedViews;if(i)for(var o=0;o<i.length;o++){var s=i[o];s.state|=32,Kb(s,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function oC(e,t,n,r,i,o,s,a,u,l,c,p,h){return 0===n?function f(e,t,n,r,i,o,s,a,u,l,c,p){var h=t.bindings.length;h>0&&Ub(e,t,0,n),h>1&&Ub(e,t,1,r),h>2&&Ub(e,t,2,i),h>3&&Ub(e,t,3,o),h>4&&Ub(e,t,4,s),h>5&&Ub(e,t,5,a),h>6&&Ub(e,t,6,u),h>7&&Ub(e,t,7,l),h>8&&Ub(e,t,8,c),h>9&&Ub(e,t,9,p)}(e,t,r,i,o,s,a,u,l,c,p,h):function d(e,t,n){for(var r=0;r<n.length;r++)Ub(e,t,r,n[r])}(e,t,r),!1}function sC(e,t){if(Db(e,t.nodeIndex).dirty)throw Tb(Lb.createDebugContext(e,t.nodeIndex),"Query "+t.query.id+" not dirty","Query "+t.query.id+" dirty",0!=(1&e.state))}function aC(e){if(!(128&e.state)){if(lC(e,MS.Destroy),uC(e,MS.Destroy),Gw(e,131072),e.disposables)for(var t=0;t<e.disposables.length;t++)e.disposables[t]();!function n(e){if(16&e.state){var t=Wb(e);if(t){var n=t.template._projectedViews;n&&(yv(n,n.indexOf(e)),Lb.dirtyParentQueries(e))}}}(e),e.renderer.destroyNode&&function r(e){for(var t=e.def.nodes.length,n=0;n<t;n++){var r=e.def.nodes[n];1&r.flags?e.renderer.destroyNode(Mb(e,n).renderElement):2&r.flags?e.renderer.destroyNode(Ib(e,n).renderText):(67108864&r.flags||134217728&r.flags)&&Db(e,n).destroy()}}(e),Gb(e)&&e.renderer.destroy(),e.state|=128}}function uC(e,t){var n=e.def;if(33554432&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];33554432&i.flags?cC(Mb(e,r).componentView,t):0==(33554432&i.childFlags)&&(r+=i.childCount)}}function lC(e,t){var n=e.def;if(16777216&n.nodeFlags)for(var r=0;r<n.nodes.length;r++){var i=n.nodes[r];if(16777216&i.flags)for(var o=Mb(e,r).viewContainer._embeddedViews,s=0;s<o.length;s++)cC(o[s],t);else 0==(16777216&i.childFlags)&&(r+=i.childCount)}}function cC(e,t){var n=e.state;switch(t){case MS.CheckNoChanges:0==(128&n)&&(12==(12&n)?tC(e):64&n&&pC(e,MS.CheckNoChangesProjectedViews));break;case MS.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?tC(e):64&n&&pC(e,t));break;case MS.CheckAndUpdate:0==(128&n)&&(12==(12&n)?nC(e):64&n&&pC(e,MS.CheckAndUpdateProjectedViews));break;case MS.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?nC(e):64&n&&pC(e,t));break;case MS.Destroy:aC(e);break;case MS.CreateViewNodes:eC(e)}}function pC(e,t){lC(e,t),uC(e,t)}function hC(e,t,n,r){if(e.def.nodeFlags&t&&e.def.nodeFlags&n)for(var i=e.def.nodes.length,o=0;o<i;o++){var s=e.def.nodes[o];if(s.flags&t&&s.flags&n)switch(Lb.setCurrentNode(e,s.nodeIndex),r){case 0:qS(e,s);break;case 1:sC(e,s)}s.childFlags&t&&s.childFlags&n||(o+=s.childCount)}}
|
|
1757
1758
|
/**
|
|
1758
1759
|
* @license
|
|
1759
1760
|
* Copyright Google Inc. All Rights Reserved.
|
|
1760
1761
|
*
|
|
1761
1762
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1762
1763
|
* found in the LICENSE file at https://angular.io/license
|
|
1763
|
-
*/!function(){function e(e){}e=u([vE({providers:OS}),c("design:paramtypes",[sS])],e)}(),function(e){e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy"}(MS||(MS={}));var fC=!1;function dC(e,t,n,r,i,o){var s=i.injector.get(
|
|
1764
|
+
*/!function(){function e(e){}e=u([vE({providers:OS}),c("design:paramtypes",[sS])],e)}(),function(e){e[e.CreateViewNodes=0]="CreateViewNodes",e[e.CheckNoChanges=1]="CheckNoChanges",e[e.CheckNoChangesProjectedViews=2]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate=3]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews=4]="CheckAndUpdateProjectedViews",e[e.Destroy=5]="Destroy"}(MS||(MS={}));var fC=!1;function dC(e,t,n,r,i,o){var s=i.injector.get(nb);return XS(mC(e,i,s,t,n),r,o)}function vC(e,t,n,r,i,o){var s=i.injector.get(nb),a=mC(e,i,new $C(s),t,n),u=AC(r);return WC(bC.create,XS,null,[a,u,o])}function mC(e,t,n,r,i){var o=t.injector.get(Ry),s=t.injector.get(xy),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:i,sanitizer:o,rendererFactory:n,renderer:a,errorHandler:s}}function yC(e,t,n,r){var i=AC(n);return WC(bC.create,GS,null,[e,t,i,r])}function gC(e,t,n,r){return n=TC.get(t.element.componentProvider.provider.token)||AC(n),WC(bC.create,YS,null,[e,t,n,r])}function _C(e,t,n,r){return Pw(e,t,n,function i(e){var t=function n(e){var t=!1,n=!1;return 0===SC.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(function(e){var r=SC.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(function(e){CC.forEach(function(r,i){Id(i).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e),r=t.hasDeprecatedOverrides;return t.hasOverrides?(function i(e){for(var t=0;t<e.providers.length;t++){var n=e.providers[t];r&&(n.flags|=4096);var i=SC.get(n.token);i&&(n.flags=-3841&n.flags|i.flags,n.deps=Yb(i.deps),n.value=i.value)}if(CC.size>0){var o=new Set(e.modules);CC.forEach(function(t,n){if(o.has(Id(n).providedIn)){var i={token:n,flags:t.flags|(r?4096:0),deps:Yb(t.deps),value:t.value,index:e.providers.length};e.providers.push(i),e.providersByKey[Vb(n)]=i}})}}(e=e.factory(function(){return Fb})),e):e}(r))}var bC,wC,xC,EC,SC=new Map,CC=new Map,TC=new Map;function NC(e){var t;SC.set(e.token,e),"function"==typeof e.token&&(t=Id(e.token))&&"function"==typeof t.providedIn&&CC.set(e.token,e)}function kC(e,t){var n=ew(function r(e){return e.viewDefFactory}(t)),i=ew(n.nodes[0].element.componentView);TC.set(e,i)}function PC(){SC.clear(),CC.clear(),TC.clear()}function AC(e){if(0===SC.size)return e;var t=function n(e){for(var t=[],n=null,r=0;r<e.nodes.length;r++){var i=e.nodes[r];1&i.flags&&(n=i),n&&3840&i.flags&&SC.has(i.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(function(){return Fb});for(var r=0;r<t.length;r++)i(e,t[r]);return e;function i(e,t){for(var n=t+1;n<e.nodes.length;n++){var r=e.nodes[n];if(1&r.flags)return;if(3840&r.flags){var i=r.provider,o=SC.get(i.token);o&&(r.flags=-3841&r.flags|o.flags,i.deps=Yb(o.deps),i.value=o.value)}}}}function IC(e,t,n,r,i,o,s,a,u,l,c,p,h){var f=e.def.nodes[t];return rC(e,f,n,r,i,o,s,a,u,l,c,p,h),224&f.flags?Rb(e,t).value:void 0}function MC(e,t,n,r,i,o,s,a,u,l,c,p,h){var f=e.def.nodes[t];return oC(e,f,n,r,i,o,s,a,u,l,c,p,h),224&f.flags?Rb(e,t).value:void 0}function OC(e){return WC(bC.detectChanges,nC,null,[e])}function RC(e){return WC(bC.checkNoChanges,tC,null,[e])}function DC(e){return WC(bC.destroy,aC,null,[e])}function LC(e,t){xC=e,EC=t}function FC(e,t,n,r){return LC(e,t),WC(bC.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function jC(e,t){if(128&e.state)throw kb(bC[wC]);return LC(e,UC(e,0)),e.def.updateDirectives(function n(e,r,i){for(var o=[],s=3;s<arguments.length;s++)o[s-3]=arguments[s];var a=e.def.nodes[r];return 0===t?BC(e,a,i,o):HC(e,a,i,o),16384&a.flags&&LC(e,UC(e,r)),224&a.flags?Rb(e,a.nodeIndex).value:void 0},e)}function VC(e,t){if(128&e.state)throw kb(bC[wC]);return LC(e,qC(e,0)),e.def.updateRenderer(function n(e,r,i){for(var o=[],s=3;s<arguments.length;s++)o[s-3]=arguments[s];var a=e.def.nodes[r];return 0===t?BC(e,a,i,o):HC(e,a,i,o),3&a.flags&&LC(e,qC(e,r)),224&a.flags?Rb(e,a.nodeIndex).value:void 0},e)}function BC(e,t,n,r){if(rC.apply(void 0,f([e,t,n],r))){var i=1===n?r[0]:r;if(16384&t.flags){for(var o={},s=0;s<t.bindings.length;s++){var a=t.bindings[s],u=i[s];8&a.flags&&(o[(d=a.nonMinifiedName,"ng-reflect-"+function l(e){return e.replace(Dy,function(){for(var e=[],t=0;t<arguments.length;t++)e[t]=arguments[t];return"-"+e[1].toLowerCase()})}(d.replace(/[$@]/g,"_")))]=Ly(u))}var c=t.parent,p=Mb(e,c.nodeIndex).renderElement;if(c.element.name)for(var h in o)null!=(u=o[h])?e.renderer.setAttribute(p,h,u):e.renderer.removeAttribute(p,h);else e.renderer.setValue(p,"bindings="+JSON.stringify(o,null,2))}}
|
|
1764
1765
|
/**
|
|
1765
1766
|
* @license
|
|
1766
1767
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1768,7 +1769,7 @@ function QS(e,t,n){var r,i=e.renderer;r=i.createText(n.text.prefix);var o=Yb(e,t
|
|
|
1768
1769
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1769
1770
|
* found in the LICENSE file at https://angular.io/license
|
|
1770
1771
|
*/
|
|
1771
|
-
var d}function HC(e,t,n,r){oC.apply(void 0,f([e,t,n],r))}function UC(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function qC(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}!function(e){e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent"}(bC||(bC={}));var KC=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=
|
|
1772
|
+
var d}function HC(e,t,n,r){oC.apply(void 0,f([e,t,n],r))}function UC(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(16384&r.flags&&r.bindings&&r.bindings.length)return n}return null}function qC(e,t){for(var n=t;n<e.def.nodes.length;n++){var r=e.def.nodes[n];if(3&r.flags&&r.bindings&&r.bindings.length)return n}return null}!function(e){e[e.create=0]="create",e[e.detectChanges=1]="detectChanges",e[e.checkNoChanges=2]="checkNoChanges",e[e.destroy=3]="destroy",e[e.handleEvent=4]="handleEvent"}(bC||(bC={}));var KC=function(){function e(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];for(var n=this.nodeDef,r=e;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=Qb(r),r=r.parent;this.elDef=n,this.elView=r}return Object.defineProperty(e.prototype,"elOrCompView",{get:function(){return Mb(this.elView,this.elDef.nodeIndex).componentView||this.view},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"injector",{get:function(){return Cw(this.elView,this.elDef)},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"component",{get:function(){return this.elOrCompView.component},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"context",{get:function(){return this.elOrCompView.context},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"providerTokens",{get:function(){var e=[];if(this.elDef)for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"references",{get:function(){var e={};if(this.elDef){zC(this.elView,this.elDef,e);for(var t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){var n=this.elView.def.nodes[t];20224&n.flags&&zC(this.elView,n,e),t+=n.childCount}}return e},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"componentRenderElement",{get:function(){var e=function t(e){for(;e&&!Gb(e);)e=e.parent;return e.parent?Mb(e.parent,Qb(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"renderNode",{get:function(){return 2&this.nodeDef.flags?$b(this.view,this.nodeDef):$b(this.elView,this.elDef)},enumerable:!0,configurable:!0}),e.prototype.logError=function(e){for(var t,n,r=[],i=1;i<arguments.length;i++)r[i-1]=arguments[i];2&this.nodeDef.flags?(t=this.view.def,n=this.nodeDef.nodeIndex):(t=this.elView.def,n=this.elDef.nodeIndex);var o=function s(e,t){for(var n=-1,r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(t,n),a=-1;t.factory(function(){var t;return++a===o?(t=e.error).bind.apply(t,f([e],r)):Fb}),a<o&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error.apply(e,f(r)))},e}();function zC(e,t,n){for(var r in t.references)n[r]=zS(e,t,t.references[r])}function WC(e,t,n,r){var i=wC,o=xC,s=EC;try{wC=e;var a=t.apply(n,r);return xC=o,EC=s,wC=i,a}catch(e){if(function u(e){return!!_y(e)}(e)||!xC)throw e;throw function l(e,t){return e instanceof Error||(e=new Error(e.toString())),Nb(e,t),e}(e,QC())}}function QC(){return xC?new KC(xC,EC):null}var $C=function(){function e(e){this.delegate=e}return e.prototype.createRenderer=function(e,t){return new GC(this.delegate.createRenderer(e,t))},e.prototype.begin=function(){this.delegate.begin&&this.delegate.begin()},e.prototype.end=function(){this.delegate.end&&this.delegate.end()},e.prototype.whenRenderingDone=function(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)},e}(),GC=function(){function e(e){this.delegate=e,this.debugContextFactory=QC,this.data=this.delegate.data}return e.prototype.createDebugContext=function(e){return this.debugContextFactory(e)},e.prototype.destroyNode=function(e){var t=kS(e);!function n(e){CS.delete(e.nativeNode)}
|
|
1772
1773
|
/**
|
|
1773
1774
|
* @license
|
|
1774
1775
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1782,7 +1783,7 @@ var d}function HC(e,t,n,r){oC.apply(void 0,f([e,t,n],r))}function UC(e,t){for(va
|
|
|
1782
1783
|
*
|
|
1783
1784
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1784
1785
|
* found in the LICENSE file at https://angular.io/license
|
|
1785
|
-
*/(t),t instanceof dS&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var i=new vS(n,null,r);i.name=e,AS(i)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&AS(new dS(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&AS(new dS(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=kS(e),r=kS(t);n&&r&&n instanceof vS&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=kS(e),i=kS(t),o=kS(n);r&&i&&r instanceof vS&&r.insertBefore(o,i),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=kS(e),r=kS(t);n&&r&&n instanceof vS&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=QC();return r&&AS(new vS(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var i=kS(e);i&&i instanceof vS&&(i.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=kS(e);r&&r instanceof vS&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=kS(e);n&&n instanceof vS&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=kS(e);n&&n instanceof vS&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var i=kS(e);i&&i instanceof vS&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=kS(e);r&&r instanceof vS&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=kS(e);r&&r instanceof vS&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=kS(e);r&&r.listeners.push(new fS(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();!function(e){function t(t,n,r){var i=e.call(this)||this;return i.moduleType=t,i._bootstrapComponents=n,i._ngModuleDefFactory=r,i}o(t,e),t.prototype.create=function(e){!function t(){if(!fC){fC=!0;var e=
|
|
1786
|
+
*/(t),t instanceof dS&&(t.listeners.length=0),this.delegate.destroyNode&&this.delegate.destroyNode(e)},e.prototype.destroy=function(){this.delegate.destroy()},e.prototype.createElement=function(e,t){var n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){var i=new vS(n,null,r);i.name=e,AS(i)}return n},e.prototype.createComment=function(e){var t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&AS(new dS(t,null,n)),t},e.prototype.createText=function(e){var t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&AS(new dS(t,null,n)),t},e.prototype.appendChild=function(e,t){var n=kS(e),r=kS(t);n&&r&&n instanceof vS&&n.addChild(r),this.delegate.appendChild(e,t)},e.prototype.insertBefore=function(e,t,n){var r=kS(e),i=kS(t),o=kS(n);r&&i&&r instanceof vS&&r.insertBefore(o,i),this.delegate.insertBefore(e,t,n)},e.prototype.removeChild=function(e,t){var n=kS(e),r=kS(t);n&&r&&n instanceof vS&&n.removeChild(r),this.delegate.removeChild(e,t)},e.prototype.selectRootElement=function(e,t){var n=this.delegate.selectRootElement(e,t),r=QC();return r&&AS(new vS(n,null,r)),n},e.prototype.setAttribute=function(e,t,n,r){var i=kS(e);i&&i instanceof vS&&(i.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)},e.prototype.removeAttribute=function(e,t,n){var r=kS(e);r&&r instanceof vS&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)},e.prototype.addClass=function(e,t){var n=kS(e);n&&n instanceof vS&&(n.classes[t]=!0),this.delegate.addClass(e,t)},e.prototype.removeClass=function(e,t){var n=kS(e);n&&n instanceof vS&&(n.classes[t]=!1),this.delegate.removeClass(e,t)},e.prototype.setStyle=function(e,t,n,r){var i=kS(e);i&&i instanceof vS&&(i.styles[t]=n),this.delegate.setStyle(e,t,n,r)},e.prototype.removeStyle=function(e,t,n){var r=kS(e);r&&r instanceof vS&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)},e.prototype.setProperty=function(e,t,n){var r=kS(e);r&&r instanceof vS&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)},e.prototype.listen=function(e,t,n){if("string"!=typeof e){var r=kS(e);r&&r.listeners.push(new fS(t,n))}return this.delegate.listen(e,t,n)},e.prototype.parentNode=function(e){return this.delegate.parentNode(e)},e.prototype.nextSibling=function(e){return this.delegate.nextSibling(e)},e.prototype.setValue=function(e,t){return this.delegate.setValue(e,t)},e}();!function(e){function t(t,n,r){var i=e.call(this)||this;return i.moduleType=t,i._bootstrapComponents=n,i._ngModuleDefFactory=r,i}o(t,e),t.prototype.create=function(e){!function t(){if(!fC){fC=!0;var e=Sy()?function t(){return{setCurrentNode:LC,createRootView:vC,createEmbeddedView:yC,createComponentView:gC,createNgModuleRef:_C,overrideProvider:NC,overrideComponentView:kC,clearOverrides:PC,checkAndUpdateView:OC,checkNoChangesView:RC,destroyView:DC,createDebugContext:function(e,t){return new KC(e,t)},handleEvent:FC,updateDirectives:jC,updateRenderer:VC}}():function n(){return{setCurrentNode:function(){},createRootView:dC,createEmbeddedView:GS,createComponentView:YS,createNgModuleRef:Pw,overrideProvider:Fb,overrideComponentView:Fb,clearOverrides:Fb,checkAndUpdateView:nC,checkNoChangesView:tC,destroyView:aC,createDebugContext:function(e,t){return new KC(e,t)},handleEvent:function(e,t,n,r){return e.def.handleEvent(e,t,n,r)},updateDirectives:function(e,t){return e.def.updateDirectives(0===t?IC:MC,e)},updateRenderer:function(e,t){return e.def.updateRenderer(0===t?IC:MC,e)}}}();Lb.setCurrentNode=e.setCurrentNode,Lb.createRootView=e.createRootView,Lb.createEmbeddedView=e.createEmbeddedView,Lb.createComponentView=e.createComponentView,Lb.createNgModuleRef=e.createNgModuleRef,Lb.overrideProvider=e.overrideProvider,Lb.overrideComponentView=e.overrideComponentView,Lb.clearOverrides=e.clearOverrides,Lb.checkAndUpdateView=e.checkAndUpdateView,Lb.checkNoChangesView=e.checkNoChangesView,Lb.destroyView=e.destroyView,Lb.resolveDep=Ww,Lb.createDebugContext=e.createDebugContext,Lb.handleEvent=e.handleEvent,Lb.updateDirectives=e.updateDirectives,Lb.updateRenderer=e.updateRenderer,Lb.dirtyParentQueries=US}}();var n=
|
|
1786
1787
|
/**
|
|
1787
1788
|
* @license
|
|
1788
1789
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1790,7 +1791,7 @@ var d}function HC(e,t,n,r){oC.apply(void 0,f([e,t,n],r))}function UC(e,t){for(va
|
|
|
1790
1791
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1791
1792
|
* found in the LICENSE file at https://angular.io/license
|
|
1792
1793
|
*/
|
|
1793
|
-
function r(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(Jb(this._ngModuleDefFactory));return Db.createNgModuleRef(this.moduleType,e||n_.NULL,this._bootstrapComponents,n)}}(dv);var XC=function(){function e(e,t){var n=this;this.host=e,this.getProgram=t,this.metadataCollector=new kf({verboseInvalidExpression:!0}),e.directoryExists&&(this.directoryExists=function(e){return n.host.directoryExists(e)})}return e.prototype.fileExists=function(e){return!!this.host.getScriptSnapshot(e)},e.prototype.readFile=function(e){var t=this.host.getScriptSnapshot(e);if(t)return t.getText(0,t.getLength())},e.prototype.getSourceFileMetadata=function(e){var t=this.getProgram().getSourceFile(e);return t?this.metadataCollector.getMetadata(t):void 0},e.prototype.cacheMetadata=function(e){return e.endsWith(".d.ts")},e}(),YC=function(){function e(e,t,n){this.options=n,this.metadataReaderCache=function r(){return{data:new Map}}(),this.hostAdapter=new XC(t,e)}return e.prototype.getMetadataFor=function(e){return function t(e,n,r){var i=r&&r.data.get(e);if(i)return i;if(n.fileExists(e))if(If.test(e))(i=function o(e,t){var n=t.replace(If,".metadata.json");if(e.fileExists(n))try{var r=JSON.parse(e.readFile(n)),i=r?Array.isArray(r)?r:[r]:[];if(i.length){var o=i.reduce(function(e,t){return e.version>t.version?e:t});o.version<sf&&i.push(Mf(e,o,t))}return i}catch(e){throw console.error("Failed to read JSON file "+n),e}}(n,e))||(i=[Mf(n,{__symbolic:"module",version:1,metadata:{}},e)]);else{var s=n.getSourceFileMetadata(e);i=s?[s]:[]}return!r||n.cacheMetadata&&!n.cacheMetadata(e)||r.data.set(e,i),i}(e,this.hostAdapter,this.metadataReaderCache)},e.prototype.moduleNameToFileName=function(e,r){if(!r){if(0===e.indexOf("."))throw new Error("Resolution of relative paths requires a containing file.");r=t.join(this.options.basePath,"index.ts").replace(/\\/g,"/")}var i=n.resolveModuleName(e,r,this.options,this.hostAdapter).resolvedModule;return i?i.resolvedFileName:null},e.prototype.getOutputName=function(e){return e},e}(),ZC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.parse=function(){return new Sa([],[])},t}(ka),JC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.get=function(e){return Promise.resolve("")},t}(Pc),eT=function(){function e(e,t){this.host=e,this.tsService=t,this._staticSymbolCache=new Zt,this.modulesOutOfDate=!0,this.fileToComponent=new Map,this.collectedErrors=new Map,this.fileVersions=new Map}return Object.defineProperty(e.prototype,"resolver",{get:function(){var e=this;this.validate();var t=this._resolver;if(!t){var n=new jp(this.reflector),r=new $c(this.reflector),i=new Vp(this.reflector),o=new Pl,s=new JC,a=mh(),u=new ZC,l=new qc({defaultEncapsulation:hv.Emulated,useJit:!1}),c=new zc(s,a,u,l);t=this._resolver=new Op(l,u,n,r,i,new vh,o,c,new kE,this._staticSymbolCache,this.reflector,function(t,n){return e.collectError(t,n&&n.filePath)})}return t},enumerable:!0,configurable:!0}),e.prototype.getTemplateReferences=function(){return this.ensureTemplateMap(),this.templateReferences||[]},e.prototype.getTemplateAt=function(e,t){var n=this.getSourceFile(e);if(n){this.context=n.fileName;var r=this.findNode(n,t);if(r)return this.getSourceFromNode(e,this.host.getScriptVersion(n.fileName),r)}else{this.ensureTemplateMap();var i=this.fileToComponent.get(e);if(i)return this.getSourceFromType(e,this.host.getScriptVersion(e),i)}},e.prototype.getAnalyzedModules=function(){return this.updateAnalyzedModules(),this.ensureAnalyzedModules()},e.prototype.ensureAnalyzedModules=function(){var e=this.analyzedModules;return e||(e=0===this.host.getScriptFileNames().length?{files:[],ngModuleByPipeOrDirective:new Map,ngModules:[]}:function t(e,n,r,i){return function s(e){var t=[],n=new Map,r=new Set;e.forEach(function(e){e.ngModules.forEach(function(e){t.push(e),e.declaredDirectives.forEach(function(t){return n.set(t.reference,e)}),e.declaredPipes.forEach(function(t){return n.set(t.reference,e)})}),e.directives.forEach(function(e){return r.add(e)}),e.pipes.forEach(function(e){return r.add(e)})});var i=[];return r.forEach(function(e){n.has(e)||i.push(e)}),{ngModules:t,ngModuleByPipeOrDirective:n,symbolsMissingModule:i,files:e}}(function o(e,t,n,r){var i=new Set,o=[],s=function(e){if(i.has(e)||!t.isSourceFile(e))return!1;i.add(e);var a=function u(e,t,n,r){var i=[],o=[],s=[],a=[],u=t.hasDecorators(r),l=!1;return r.endsWith(".d.ts")&&!u||t.getSymbolsOf(r).forEach(function(r){var u=t.resolveSymbol(r).metadata;if(u&&"error"!==u.__symbolic){var c=!1;if("class"===u.__symbolic)if(n.isDirective(r))c=!0,i.push(r);else if(n.isPipe(r))c=!0,o.push(r);else if(n.isNgModule(r)){var p=n.getNgModuleMetadata(r,!1);p&&(c=!0,a.push(p))}else if(n.isInjectable(r)){c=!0;var h=n.getInjectableMetadata(r,null,!1);h&&s.push(h)}c||(l=l||function f(e,t){var n=!1,r=function(){function t(){}return t.prototype.visitArray=function(e,t){var n=this;e.forEach(function(e){return xt(e,n,t)})},t.prototype.visitStringMap=function(e,t){var n=this;Object.keys(e).forEach(function(r){return xt(e[r],n,t)})},t.prototype.visitPrimitive=function(e,t){},t.prototype.visitOther=function(t,r){t instanceof Yt&&!e.isSourceFile(t.filePath)&&(n=!0)},t}();return xt(t,new r,null),n}(e,u))}}),{fileName:r,directives:i,pipes:o,ngModules:a,injectables:s,exportsNonSourceFiles:l}}(t,n,r,e);o.push(a),a.ngModules.forEach(function(e){e.transitiveModule.modules.forEach(function(e){return s(e.reference.filePath)})})};return e.forEach(function(e){return s(e)}),o}(e,n,r,i))}(this.program.getSourceFiles().map(function(e){return e.fileName}),{isSourceFile:function(e){return!0}},this.staticSymbolResolver,this.resolver),this.analyzedModules=e),e},e.prototype.getTemplates=function(e){var t=this;if(this.ensureTemplateMap(),!this.fileToComponent.get(e)){var r=this.host.getScriptVersion(e),i=[],o=function(s){var a=t.getSourceFromNode(e,r,s);a?i.push(a):n.forEachChild(s,o)},s=this.getSourceFile(e);return s&&(this.context=s.path||s.fileName,n.forEachChild(s,o)),i.length?i:void 0}var a=this.getTemplateAt(e,0);if(a)return[a]},e.prototype.getDeclarations=function(e){var t=this,r=[],i=this.getSourceFile(e);if(i){var o=function(e){var s=t.getDeclarationFromNode(i,e);s?r.push(s):n.forEachChild(e,o)};n.forEachChild(i,o)}return r},e.prototype.getSourceFile=function(e){return this.tsService.getProgram().getSourceFile(e)},e.prototype.updateAnalyzedModules=function(){this.validate(),this.modulesOutOfDate&&(this.analyzedModules=null,this._reflector=null,this.templateReferences=null,this.fileToComponent.clear(),this.ensureAnalyzedModules(),this.modulesOutOfDate=!1)},Object.defineProperty(e.prototype,"program",{get:function(){return this.tsService.getProgram()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checker",{get:function(){var e=this._checker;return e||(e=this._checker=this.program.getTypeChecker()),e},enumerable:!0,configurable:!0}),e.prototype.validate=function(){var e,t,n=this,r=this.program;if(this.lastProgram!==r){var i=function(e){return n._staticSymbolResolver.invalidateFile(e)};this.clearCaches();var o=new Set;try{for(var s=p(this.program.getSourceFiles()),a=s.next();!a.done;a=s.next()){var u=a.value.fileName;o.add(u);var l=this.host.getScriptVersion(u);l!=this.fileVersions.get(u)&&(this.fileVersions.set(u,l),this._staticSymbolResolver&&i(u))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}var c=Array.from(this.fileVersions.keys()).filter(function(e){return!o.has(e)});c.forEach(function(e){return n.fileVersions.delete(e)}),this._staticSymbolResolver&&c.forEach(i),this.lastProgram=r}},e.prototype.clearCaches=function(){this._checker=null,this._resolver=null,this.collectedErrors.clear(),this.modulesOutOfDate=!0},e.prototype.ensureTemplateMap=function(){var e,t,n,r;if(!this.templateReferences){var i=[],o=this.getAnalyzedModules(),s=mh();try{for(var a=p(o.ngModules),u=a.next();!u.done;u=a.next()){var l=u.value;try{for(var c=(n=void 0,p(l.declaredDirectives)),h=c.next();!h.done;h=c.next()){var f=h.value,d=this.resolver.getNonNormalizedDirectiveMetadata(f.reference).metadata;if(d.isComponent&&d.template&&d.template.templateUrl){var v=s.resolve(this.reflector.componentModuleUrl(f.reference),d.template.templateUrl);this.fileToComponent.set(v,f.reference),i.push(v)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}this.templateReferences=i}},e.prototype.getSourceFromDeclaration=function(e,t,n,r,i,o,s,a){var u=void 0,l=this;if(o)return{version:t,source:n,span:r,type:i,get members(){return function e(t,n,r,i){var o=n.getTypeAtLocation(i);return new Bh(o,{node:r,program:t,checker:n}).members()}(l.program,l.checker,a,o)},get query(){if(!u){var t=[],n=l.getTemplateAstAtPosition(e,s.getStart());n&&(t=n.pipes),u=function r(e,t,n,i){return new Lh(e,t,n,i)}(l.program,l.checker,a,function(){return function e(t,n,r,i){return new $h(i,{program:n,checker:r,node:t})}(a,l.program,l.checker,t)})}return u}}},e.prototype.getSourceFromNode=function(e,t,r){switch(r.kind){case n.SyntaxKind.NoSubstitutionTemplateLiteral:case n.SyntaxKind.StringLiteral:var i=h(this.getTemplateClassDeclFromNode(r),2)[0];if(i&&i.name){var o=this.getSourceFile(e);if(o)return this.getSourceFromDeclaration(e,t,this.stringOf(r)||"",function s(e,t){return null==t&&(t=1),{start:e.start+t,end:e.end-t}}(tT(r)),this.reflector.getStaticSymbol(o.fileName,i.name.text),i,r,o)}}},e.prototype.getSourceFromType=function(e,t,n){var r=void 0,i=this.getTemplateClassFromStaticSymbol(n);if(i){var o=this.host.getScriptSnapshot(e);if(o){var s=o.getText(0,o.getLength());r=this.getSourceFromDeclaration(e,t,s,{start:0,end:s.length},n,i,i,i.getSourceFile())}}return r},Object.defineProperty(e.prototype,"reflectorHost",{get:function(){var e=this,n=this._reflectorHost;if(!n){if(!this.context){var i=this.host.getScriptFileNames();if(0===i.length)throw new Error("Internal error: no script file names found");this.context=i[0]}var o=this.tsService.getProgram().getSourceFile(this.context);if(!o)throw new Error("Internal error: no context could be determined");var s=function a(e){for(var n=t.dirname(e);r.existsSync(n);){var i=t.join(n,"tsconfig.json");if(r.existsSync(i))return i;var o=t.dirname(n);if(o===n)break;n=o}}(o.fileName),u=t.dirname(s||this.context),l={basePath:u,genDir:u},c=this.host.getCompilationSettings();c&&c.baseUrl&&(l.baseUrl=c.baseUrl),c&&c.paths&&(l.paths=c.paths),n=this._reflectorHost=new YC(function(){return e.tsService.getProgram()},this.host,l)}return n},enumerable:!0,configurable:!0}),e.prototype.collectError=function(e,t){if(t){var n=this.collectedErrors.get(t);n||this.collectedErrors.set(t,n=[]),n.push(e)}},Object.defineProperty(e.prototype,"staticSymbolResolver",{get:function(){var e=this,t=this._staticSymbolResolver;return t||(this._summaryResolver=new dh({loadSummary:function(e){return null},isSourceFile:function(e){return!0},toSummaryFileName:function(e){return e},fromSummaryFileName:function(e){return e}},this._staticSymbolCache),t=this._staticSymbolResolver=new Up(this.reflectorHost,this._staticSymbolCache,this._summaryResolver,function(t,n){return e.collectError(t,n)})),t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reflector",{get:function(){var e=this,t=this._reflector;return t||(t=this._reflector=new Jp(this._summaryResolver,this.staticSymbolResolver,[],[],function(t,n){return e.collectError(t,n)})),t},enumerable:!0,configurable:!0}),e.prototype.getTemplateClassFromStaticSymbol=function(e){var t=this.getSourceFile(e.filePath);if(t)return n.forEachChild(t,function(t){if(t.kind===n.SyntaxKind.ClassDeclaration&&null!=t.name&&t.name.text===e.name)return t})},e.prototype.getTemplateClassDeclFromNode=function(t){var r=t.parent;if(!r)return e.missingTemplate;if(r.kind!==n.SyntaxKind.PropertyAssignment)return e.missingTemplate;if("template"!==r.name.text)return e.missingTemplate;if(!(r=r.parent)||r.kind!==n.SyntaxKind.ObjectLiteralExpression)return e.missingTemplate;if(!(r=r.parent)||r.kind!==n.SyntaxKind.CallExpression)return e.missingTemplate;var i=r.parent;if(!i||i.kind!==n.SyntaxKind.Decorator)return e.missingTemplate;var o=i.parent;return o&&o.kind===n.SyntaxKind.ClassDeclaration?[o,r.expression]:e.missingTemplate},e.prototype.getCollectedErrors=function(e,t){var r=this.collectedErrors.get(t.fileName);return r&&r.map(function(r){var i=function o(e,t,r){if(null!=t&&null!=r){var i=n.getPositionOfLineAndCharacter(e,t,r),o=n.forEachChild(e,function e(t){if(t.kind>n.SyntaxKind.LastToken&&t.pos<=i&&t.end>i)return n.forEachChild(t,e)||t});if(o)return{start:o.getStart(),end:o.getEnd()}}}(t,r.line||r.position&&r.position.line,r.column||r.position&&r.position.column)||e;return function s(e){return!!e[Qp]}
|
|
1794
|
+
function r(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var i in e.providersByKey)r[i]=e.providersByKey[i];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(ew(this._ngModuleDefFactory));return Lb.createNgModuleRef(this.moduleType,e||r_.NULL,this._bootstrapComponents,n)}}(dv);var XC=function(){function e(e,t){var n=this;this.host=e,this.getProgram=t,this.metadataCollector=new kf({verboseInvalidExpression:!0}),e.directoryExists&&(this.directoryExists=function(e){return n.host.directoryExists(e)})}return e.prototype.fileExists=function(e){return!!this.host.getScriptSnapshot(e)},e.prototype.readFile=function(e){var t=this.host.getScriptSnapshot(e);if(t)return t.getText(0,t.getLength())},e.prototype.getSourceFileMetadata=function(e){var t=this.getProgram().getSourceFile(e);return t?this.metadataCollector.getMetadata(t):void 0},e.prototype.cacheMetadata=function(e){return e.endsWith(".d.ts")},e}(),YC=function(){function e(e,t,n){this.options=n,this.metadataReaderCache=function r(){return{data:new Map}}(),this.hostAdapter=new XC(t,e)}return e.prototype.getMetadataFor=function(e){return function t(e,n,r){var i=r&&r.data.get(e);if(i)return i;if(n.fileExists(e))if(If.test(e))(i=function o(e,t){var n=t.replace(If,".metadata.json");if(e.fileExists(n))try{var r=JSON.parse(e.readFile(n)),i=r?Array.isArray(r)?r:[r]:[];if(i.length){var o=i.reduce(function(e,t){return e.version>t.version?e:t});o.version<sf&&i.push(Mf(e,o,t))}return i}catch(e){throw console.error("Failed to read JSON file "+n),e}}(n,e))||(i=[Mf(n,{__symbolic:"module",version:1,metadata:{}},e)]);else{var s=n.getSourceFileMetadata(e);i=s?[s]:[]}return!r||n.cacheMetadata&&!n.cacheMetadata(e)||r.data.set(e,i),i}(e,this.hostAdapter,this.metadataReaderCache)},e.prototype.moduleNameToFileName=function(e,r){if(!r){if(0===e.indexOf("."))throw new Error("Resolution of relative paths requires a containing file.");r=t.join(this.options.basePath,"index.ts").replace(/\\/g,"/")}var i=n.resolveModuleName(e,r,this.options,this.hostAdapter).resolvedModule;return i?i.resolvedFileName:null},e.prototype.getOutputName=function(e){return e},e}(),ZC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.parse=function(){return new Sa([],[])},t}(ka),JC=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.get=function(e){return Promise.resolve("")},t}(Pc),eT=function(){function e(e,t){this.host=e,this.tsService=t,this._staticSymbolCache=new Zt,this.modulesOutOfDate=!0,this.fileToComponent=new Map,this.collectedErrors=new Map,this.fileVersions=new Map}return Object.defineProperty(e.prototype,"resolver",{get:function(){var e=this;this.validate();var t=this._resolver;if(!t){var n=new jp(this.reflector),r=new $c(this.reflector),i=new Vp(this.reflector),o=new Pl,s=new JC,a=mh(),u=new ZC,l=new qc({defaultEncapsulation:hv.Emulated,useJit:!1}),c=new zc(s,a,u,l);t=this._resolver=new Op(l,u,n,r,i,new vh,o,c,new kE,this._staticSymbolCache,this.reflector,function(t,n){return e.collectError(t,n&&n.filePath)})}return t},enumerable:!0,configurable:!0}),e.prototype.getTemplateReferences=function(){return this.ensureTemplateMap(),this.templateReferences||[]},e.prototype.getTemplateAt=function(e,t){var n=this.getSourceFile(e);if(n){this.context=n.fileName;var r=this.findNode(n,t);if(r)return this.getSourceFromNode(e,this.host.getScriptVersion(n.fileName),r)}else{this.ensureTemplateMap();var i=this.fileToComponent.get(e);if(i)return this.getSourceFromType(e,this.host.getScriptVersion(e),i)}},e.prototype.getAnalyzedModules=function(){return this.updateAnalyzedModules(),this.ensureAnalyzedModules()},e.prototype.ensureAnalyzedModules=function(){var e=this.analyzedModules;return e||(e=0===this.host.getScriptFileNames().length?{files:[],ngModuleByPipeOrDirective:new Map,ngModules:[]}:function t(e,n,r,i){return function s(e){var t=[],n=new Map,r=new Set;e.forEach(function(e){e.ngModules.forEach(function(e){t.push(e),e.declaredDirectives.forEach(function(t){return n.set(t.reference,e)}),e.declaredPipes.forEach(function(t){return n.set(t.reference,e)})}),e.directives.forEach(function(e){return r.add(e)}),e.pipes.forEach(function(e){return r.add(e)})});var i=[];return r.forEach(function(e){n.has(e)||i.push(e)}),{ngModules:t,ngModuleByPipeOrDirective:n,symbolsMissingModule:i,files:e}}(function o(e,t,n,r){var i=new Set,o=[],s=function(e){if(i.has(e)||!t.isSourceFile(e))return!1;i.add(e);var a=function u(e,t,n,r){var i=[],o=[],s=[],a=[],u=t.hasDecorators(r),l=!1;return r.endsWith(".d.ts")&&!u||t.getSymbolsOf(r).forEach(function(r){var u=t.resolveSymbol(r).metadata;if(u&&"error"!==u.__symbolic){var c=!1;if("class"===u.__symbolic)if(n.isDirective(r))c=!0,i.push(r);else if(n.isPipe(r))c=!0,o.push(r);else if(n.isNgModule(r)){var p=n.getNgModuleMetadata(r,!1);p&&(c=!0,a.push(p))}else if(n.isInjectable(r)){c=!0;var h=n.getInjectableMetadata(r,null,!1);h&&s.push(h)}c||(l=l||function f(e,t){var n=!1,r=function(){function t(){}return t.prototype.visitArray=function(e,t){var n=this;e.forEach(function(e){return xt(e,n,t)})},t.prototype.visitStringMap=function(e,t){var n=this;Object.keys(e).forEach(function(r){return xt(e[r],n,t)})},t.prototype.visitPrimitive=function(e,t){},t.prototype.visitOther=function(t,r){t instanceof Yt&&!e.isSourceFile(t.filePath)&&(n=!0)},t}();return xt(t,new r,null),n}(e,u))}}),{fileName:r,directives:i,pipes:o,ngModules:a,injectables:s,exportsNonSourceFiles:l}}(t,n,r,e);o.push(a),a.ngModules.forEach(function(e){e.transitiveModule.modules.forEach(function(e){return s(e.reference.filePath)})})};return e.forEach(function(e){return s(e)}),o}(e,n,r,i))}(this.program.getSourceFiles().map(function(e){return e.fileName}),{isSourceFile:function(e){return!0}},this.staticSymbolResolver,this.resolver),this.analyzedModules=e),e},e.prototype.getTemplates=function(e){var t=this;if(this.ensureTemplateMap(),!this.fileToComponent.get(e)){var r=this.host.getScriptVersion(e),i=[],o=function(s){var a=t.getSourceFromNode(e,r,s);a?i.push(a):n.forEachChild(s,o)},s=this.getSourceFile(e);return s&&(this.context=s.path||s.fileName,n.forEachChild(s,o)),i.length?i:void 0}var a=this.getTemplateAt(e,0);if(a)return[a]},e.prototype.getDeclarations=function(e){var t=this,r=[],i=this.getSourceFile(e);if(i){var o=function(e){var s=t.getDeclarationFromNode(i,e);s?r.push(s):n.forEachChild(e,o)};n.forEachChild(i,o)}return r},e.prototype.getSourceFile=function(e){return this.tsService.getProgram().getSourceFile(e)},e.prototype.updateAnalyzedModules=function(){this.validate(),this.modulesOutOfDate&&(this.analyzedModules=null,this._reflector=null,this.templateReferences=null,this.fileToComponent.clear(),this.ensureAnalyzedModules(),this.modulesOutOfDate=!1)},Object.defineProperty(e.prototype,"program",{get:function(){return this.tsService.getProgram()},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"checker",{get:function(){var e=this._checker;return e||(e=this._checker=this.program.getTypeChecker()),e},enumerable:!0,configurable:!0}),e.prototype.validate=function(){var e,t,n=this,r=this.program;if(this.lastProgram!==r){var i=function(e){return n._staticSymbolResolver.invalidateFile(e)};this.clearCaches();var o=new Set;try{for(var s=p(this.program.getSourceFiles()),a=s.next();!a.done;a=s.next()){var u=a.value.fileName;o.add(u);var l=this.host.getScriptVersion(u);l!=this.fileVersions.get(u)&&(this.fileVersions.set(u,l),this._staticSymbolResolver&&i(u))}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=s.return)&&t.call(s)}finally{if(e)throw e.error}}var c=Array.from(this.fileVersions.keys()).filter(function(e){return!o.has(e)});c.forEach(function(e){return n.fileVersions.delete(e)}),this._staticSymbolResolver&&c.forEach(i),this.lastProgram=r}},e.prototype.clearCaches=function(){this._checker=null,this._resolver=null,this.collectedErrors.clear(),this.modulesOutOfDate=!0},e.prototype.ensureTemplateMap=function(){var e,t,n,r;if(!this.templateReferences){var i=[],o=this.getAnalyzedModules(),s=mh();try{for(var a=p(o.ngModules),u=a.next();!u.done;u=a.next()){var l=u.value;try{for(var c=(n=void 0,p(l.declaredDirectives)),h=c.next();!h.done;h=c.next()){var f=h.value,d=this.resolver.getNonNormalizedDirectiveMetadata(f.reference).metadata;if(d.isComponent&&d.template&&d.template.templateUrl){var v=s.resolve(this.reflector.componentModuleUrl(f.reference),d.template.templateUrl);this.fileToComponent.set(v,f.reference),i.push(v)}}}catch(e){n={error:e}}finally{try{h&&!h.done&&(r=c.return)&&r.call(c)}finally{if(n)throw n.error}}}}catch(t){e={error:t}}finally{try{u&&!u.done&&(t=a.return)&&t.call(a)}finally{if(e)throw e.error}}this.templateReferences=i}},e.prototype.getSourceFromDeclaration=function(e,t,n,r,i,o,s,a){var u=void 0,l=this;if(o)return{version:t,source:n,span:r,type:i,get members(){return function e(t,n,r,i){var o=n.getTypeAtLocation(i);return new Bh(o,{node:r,program:t,checker:n}).members()}(l.program,l.checker,a,o)},get query(){if(!u){var t=[],n=l.getTemplateAstAtPosition(e,s.getStart());n&&(t=n.pipes),u=function r(e,t,n,i){return new Lh(e,t,n,i)}(l.program,l.checker,a,function(){return function e(t,n,r,i){return new $h(i,{program:n,checker:r,node:t})}(a,l.program,l.checker,t)})}return u}}},e.prototype.getSourceFromNode=function(e,t,r){switch(r.kind){case n.SyntaxKind.NoSubstitutionTemplateLiteral:case n.SyntaxKind.StringLiteral:var i=h(this.getTemplateClassDeclFromNode(r),2)[0];if(i&&i.name){var o=this.getSourceFile(e);if(o)return this.getSourceFromDeclaration(e,t,this.stringOf(r)||"",function s(e,t){return null==t&&(t=1),{start:e.start+t,end:e.end-t}}(tT(r)),this.reflector.getStaticSymbol(o.fileName,i.name.text),i,r,o)}}},e.prototype.getSourceFromType=function(e,t,n){var r=void 0,i=this.getTemplateClassFromStaticSymbol(n);if(i){var o=this.host.getScriptSnapshot(e);if(o){var s=o.getText(0,o.getLength());r=this.getSourceFromDeclaration(e,t,s,{start:0,end:s.length},n,i,i,i.getSourceFile())}}return r},Object.defineProperty(e.prototype,"reflectorHost",{get:function(){var e=this,n=this._reflectorHost;if(!n){if(!this.context){var i=this.host.getScriptFileNames();if(0===i.length)throw new Error("Internal error: no script file names found");this.context=i[0]}var o=this.tsService.getProgram().getSourceFile(this.context);if(!o)throw new Error("Internal error: no context could be determined");var s=function a(e){for(var n=t.dirname(e);r.existsSync(n);){var i=t.join(n,"tsconfig.json");if(r.existsSync(i))return i;var o=t.dirname(n);if(o===n)break;n=o}}(o.fileName),u=t.dirname(s||this.context),l={basePath:u,genDir:u},c=this.host.getCompilationSettings();c&&c.baseUrl&&(l.baseUrl=c.baseUrl),c&&c.paths&&(l.paths=c.paths),n=this._reflectorHost=new YC(function(){return e.tsService.getProgram()},this.host,l)}return n},enumerable:!0,configurable:!0}),e.prototype.collectError=function(e,t){if(t){var n=this.collectedErrors.get(t);n||this.collectedErrors.set(t,n=[]),n.push(e)}},Object.defineProperty(e.prototype,"staticSymbolResolver",{get:function(){var e=this,t=this._staticSymbolResolver;return t||(this._summaryResolver=new dh({loadSummary:function(e){return null},isSourceFile:function(e){return!0},toSummaryFileName:function(e){return e},fromSummaryFileName:function(e){return e}},this._staticSymbolCache),t=this._staticSymbolResolver=new Up(this.reflectorHost,this._staticSymbolCache,this._summaryResolver,function(t,n){return e.collectError(t,n)})),t},enumerable:!0,configurable:!0}),Object.defineProperty(e.prototype,"reflector",{get:function(){var e=this,t=this._reflector;return t||(t=this._reflector=new Jp(this._summaryResolver,this.staticSymbolResolver,[],[],function(t,n){return e.collectError(t,n)})),t},enumerable:!0,configurable:!0}),e.prototype.getTemplateClassFromStaticSymbol=function(e){var t=this.getSourceFile(e.filePath);if(t)return n.forEachChild(t,function(t){if(t.kind===n.SyntaxKind.ClassDeclaration&&null!=t.name&&t.name.text===e.name)return t})},e.prototype.getTemplateClassDeclFromNode=function(t){var r=t.parent;if(!r)return e.missingTemplate;if(r.kind!==n.SyntaxKind.PropertyAssignment)return e.missingTemplate;if("template"!==r.name.text)return e.missingTemplate;if(!(r=r.parent)||r.kind!==n.SyntaxKind.ObjectLiteralExpression)return e.missingTemplate;if(!(r=r.parent)||r.kind!==n.SyntaxKind.CallExpression)return e.missingTemplate;var i=r.parent;if(!i||i.kind!==n.SyntaxKind.Decorator)return e.missingTemplate;var o=i.parent;return o&&o.kind===n.SyntaxKind.ClassDeclaration?[o,r.expression]:e.missingTemplate},e.prototype.getCollectedErrors=function(e,t){var r=this.collectedErrors.get(t.fileName);return r&&r.map(function(r){var i=function o(e,t,r){if(null!=t&&null!=r){var i=n.getPositionOfLineAndCharacter(e,t,r),o=n.forEachChild(e,function e(t){if(t.kind>n.SyntaxKind.LastToken&&t.pos<=i&&t.end>i)return n.forEachChild(t,e)||t});if(o)return{start:o.getStart(),end:o.getEnd()}}}(t,r.line||r.position&&r.position.line,r.column||r.position&&r.position.column)||e;return function s(e){return!!e[Qp]}
|
|
1794
1795
|
/**
|
|
1795
1796
|
* @license
|
|
1796
1797
|
* Copyright Google Inc. All Rights Reserved.
|
|
@@ -1860,7 +1861,7 @@ function r(e){var t=Array.from(e.providers),n=Array.from(e.modules),r={};for(var
|
|
|
1860
1861
|
*
|
|
1861
1862
|
* Use of this source code is governed by an MIT-style license that can be
|
|
1862
1863
|
* found in the LICENSE file at https://angular.io/license
|
|
1863
|
-
*/function tT(e){return{start:e.getStart(),end:e.getEnd()}}function nT(e){return{message:e.message,next:e.next?nT(e.next):void 0}}var rT=new WeakMap,iT=new
|
|
1864
|
+
*/function tT(e){return{start:e.getStart(),end:e.getEnd()}}function nT(e){return{message:e.message,next:e.next?nT(e.next):void 0}}var rT=new WeakMap,iT=new ob("8.2.4");
|
|
1864
1865
|
/**
|
|
1865
1866
|
* @license
|
|
1866
1867
|
* Copyright Google Inc. All Rights Reserved.
|