@angular/core
Version:
Angular - the core framework
300 lines • 304 kB
JavaScript
/**
* @license Angular v8.1.3
* (c) 2010-2019 Google LLC. https://angular.io/
* License: MIT
*/
!function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports,require("rxjs"),require("rxjs/operators")):"function"==typeof define&&define.amd?define("@angular/core",["exports","rxjs","rxjs/operators"],t):t(((e=e||self).ng=e.ng||{},e.ng.core={}),e.rxjs,e.rxjs.operators)}(this,function(e,t,n){"use strict";var r=function(e,t){return(r=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,t){e.__proto__=t}||function(e,t){for(var n in t)t.hasOwnProperty(n)&&(e[n]=t[n])})(e,t)};function o(e,t){function n(){this.constructor=e}r(e,t),e.prototype=null===t?Object.create(t):(n.prototype=t.prototype,new n)}var i=function(){return(i=Object.assign||function e(t){for(var n,r=1,o=arguments.length;r<o;r++)for(var i in n=arguments[r])Object.prototype.hasOwnProperty.call(n,i)&&(t[i]=n[i]);return t}).apply(this,arguments)};function a(e,t,n,r){var o,i=arguments.length,a=i<3?t:null===r?r=Object.getOwnPropertyDescriptor(t,n):r;if("object"==typeof Reflect&&"function"==typeof Reflect.decorate)a=Reflect.decorate(e,t,n,r);else for(var u=e.length-1;u>=0;u--)(o=e[u])&&(a=(i<3?o(a):i>3?o(t,n,a):o(t,n))||a);return i>3&&a&&Object.defineProperty(t,n,a),a}function u(e,t){return function(n,r){t(n,r,e)}}function s(e,t){if("object"==typeof Reflect&&"function"==typeof Reflect.metadata)return Reflect.metadata(e,t)}function l(e){var t="function"==typeof Symbol&&e[Symbol.iterator],n=0;return t?t.call(e):{next:function(){return e&&n>=e.length&&(e=void 0),{value:e&&e[n++],done:!e}}}}function c(e,t){var n="function"==typeof Symbol&&e[Symbol.iterator];if(!n)return e;var r,o,i=n.call(e),a=[];try{for(;(void 0===t||t-- >0)&&!(r=i.next()).done;)a.push(r.value)}catch(e){o={error:e}}finally{try{r&&!r.done&&(n=i.return)&&n.call(i)}finally{if(o)throw o.error}}return a}function f(){for(var e=[],t=0;t<arguments.length;t++)e=e.concat(c(arguments[t]));return e}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var d="__annotations__",p="__parameters__",h="__prop__metadata__";function v(e,t,n,r,o){var i=y(t);function a(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof a)return i.call.apply(i,f([this],t)),this;var u=new((e=a).bind.apply(e,f([void 0],t)));return function e(n){return o&&o.apply(void 0,f([n],t)),(n.hasOwnProperty(d)?n[d]:Object.defineProperty(n,d,{value:[]})[d]).push(u),r&&r(n),n}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}function y(e){return function t(){for(var n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];if(e){var o=e.apply(void 0,f(n));for(var i in o)this[i]=o[i]}}}function g(e,t,n){var r=y(t);function o(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof o)return r.apply(this,t),this;var i=new((e=o).bind.apply(e,f([void 0],t)));return a.annotation=i,a;function a(e,t,n){for(var r=e.hasOwnProperty(p)?e[p]:Object.defineProperty(e,p,{value:[]})[p];r.length<=n;)r.push(null);return(r[n]=r[n]||[]).push(i),e}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o}function m(e,t,n,r){var o=y(t);function i(){for(var e,t=[],n=0;n<arguments.length;n++)t[n]=arguments[n];if(this instanceof i)return o.apply(this,t),this;var a=new((e=i).bind.apply(e,f([void 0],t)));return function u(e,n){var o=e.constructor,i=o.hasOwnProperty(h)?o[h]:Object.defineProperty(o,h,{value:{}})[h];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(a),r&&r.apply(void 0,f([e,n],t))}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var _,w=function(e){return{token:e}},b=g("Inject",w),C=g("Optional"),I=g("Self"),x=g("SkipSelf"),E=g("Host"),k=function(e){return{attributeName:e}},O=g("Attribute",k);
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function T(e){for(var t in e)if(e[t]===T)return t;throw Error("Could not find renamed property on target object.")}function P(e,t){for(var n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function N(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}(
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
_=e.InjectFlags||(e.InjectFlags={}))[_.Default=0]="Default",_[_.Host=1]="Host",_[_.Self=2]="Self",_[_.SkipSelf=4]="SkipSelf",_[_.Optional=8]="Optional";var D=N;function j(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function A(e){var t=e[R];return t&&t.token===e?t:null}function S(e){return e&&e.hasOwnProperty(V)?e[V]:null}var R=T({ngInjectableDef:T}),V=T({ngInjectorDef:T});
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function M(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(M).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return""+e.overriddenName;if(e.name)return""+e.name;var t=e.toString();if(null==t)return""+t;var n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var F=T({__forward_ref__:T});function H(e){return e.__forward_ref__=H,e.toString=function(){return M(this())},e}function L(e){var t=e;return"function"==typeof t&&t.hasOwnProperty(F)&&t.__forward_ref__===H?t():e}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var B,Q="undefined"!=typeof globalThis&&globalThis,z="undefined"!=typeof window&&window,U="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,Z="undefined"!=typeof global&&global,q=Q||Z||z||U;
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function W(){var e=q.ng;if(!e||!e.ɵcompilerFacade)throw new Error("Angular JIT compilation failed: '@angular/compiler' not loaded!\n - JIT compilation is discouraged for production use-cases! Consider AOT mode instead.\n - Did you bootstrap using '@angular/platform-browser-dynamic' or '@angular/platform-server'?\n - Alternatively provide the compiler with 'import \"@angular/compiler\";' before bootstrapping.");return e.ɵcompilerFacade}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/!function(e){e[e.Token=0]="Token",e[e.Attribute=1]="Attribute"}(B||(B={}));var K,G=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ngInjectableDef=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ngInjectableDef=N({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),J=new G("INJECTOR",-1),Y=new Object,$="ngTempTokenPath",X="ngTokenPath",ee=/\n/gm,te="ɵ",ne="__source",re=T({provide:String,useValue:T}),oe=void 0;
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function ie(e){var t=oe;return oe=e,t}function ae(e){var t=K;return K=e,t}function ue(t,n){if(void 0===n&&(n=e.InjectFlags.Default),void 0===oe)throw new Error("inject() must be called from an injection context");return null===oe?ce(t,void 0,n):oe.get(t,n&e.InjectFlags.Optional?null:void 0,n)}function se(t,n){return void 0===n&&(n=e.InjectFlags.Default),(K||ue)(t,n)}var le=se;function ce(t,n,r){var o=A(t);if(o&&"root"==o.providedIn)return void 0===o.value?o.value=o.factory():o.value;if(r&e.InjectFlags.Optional)return null;if(void 0!==n)return n;throw new Error("Injector: NOT_FOUND ["+M(t)+"]")}function fe(t){for(var n=[],r=0;r<t.length;r++){var o=L(t[r]);if(Array.isArray(o)){if(0===o.length)throw new Error("Arguments array must have arguments.");for(var i=void 0,a=e.InjectFlags.Default,u=0;u<o.length;u++){var s=o[u];s instanceof C||"Optional"===s.ngMetadataName||s===C?a|=e.InjectFlags.Optional:s instanceof x||"SkipSelf"===s.ngMetadataName||s===x?a|=e.InjectFlags.SkipSelf:s instanceof I||"Self"===s.ngMetadataName||s===I?a|=e.InjectFlags.Self:i=s instanceof b||s===b?s.token:s}n.push(se(i,a))}else n.push(se(o))}return n}var de=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=Y),t===Y){var n=new Error("NullInjectorError: No provider for "+M(e)+"!");throw n.name="NullInjectorError",n}return t},e}();function pe(e,t,n,r){var o=e[$];throw t[ne]&&o.unshift(t[ne]),e.message=he("\n"+e.message,o,n,r),e[X]=o,e[$]=null,e}function he(e,t,n,r){void 0===r&&(r=null),e=e&&"\n"===e.charAt(0)&&e.charAt(1)==te?e.substr(2):e;var o=M(t);if(t instanceof Array)o=t.map(M).join(" -> ");else if("object"==typeof t){var i=[];for(var a in t)if(t.hasOwnProperty(a)){var u=t[a];i.push(a+":"+("string"==typeof u?JSON.stringify(u):M(u)))}o="{"+i.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+o+"]: "+e.replace(ee,"\n ")}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var ve={"ɵɵdefineInjectable":N,"ɵɵdefineInjector":j,"ɵɵinject":se,"ɵɵgetFactoryOf":function ye(e){var t=e,n=A(t)||S(t);return n&&void 0!==n.factory?n.factory:null}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/},ge=Function;function me(e){return"function"==typeof e}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var _e=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*arguments\)/,we=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,be=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Ce=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s+super\(\.\.\.arguments\)/,Ie=function(){function e(e){this._reflect=e||q.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 _e.test(e)||Ce.test(e)||we.test(e)&&!be.test(e)}(e.toString()))return null;if(e.parameters&&e.parameters!==t.parameters)return e.parameters;var r=e.ctorParameters;if(r&&r!==t.ctorParameters){var o="function"==typeof r?r():r,i=o.map(function(e){return e&&e.type}),a=o.map(function(e){return e&&xe(e.decorators)});return this._zipTypesAndAnnotations(i,a)}var u=e.hasOwnProperty(p)&&e[p],s=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",e);return s||u?this._zipTypesAndAnnotations(s,u):new Array(e.length).fill(void 0)},e.prototype.parameters=function(e){if(!me(e))return[];var t=Ee(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?xe(e.decorators):e.hasOwnProperty(d)?e[d]:null},e.prototype.annotations=function(e){if(!me(e))return[];var t=Ee(e),n=this._ownAnnotations(e,t)||[];return(t!==Object?this.annotations(t):[]).concat(n)},e.prototype._ownPropMetadata=function(e,t){if(e.propMetadata&&e.propMetadata!==t.propMetadata){var n=e.propMetadata;return"function"==typeof n&&n.propMetadata&&(n=n.propMetadata),n}if(e.propDecorators&&e.propDecorators!==t.propDecorators){var r=e.propDecorators,o={};return Object.keys(r).forEach(function(e){o[e]=xe(r[e])}),o}return e.hasOwnProperty(h)?e[h]:null},e.prototype.propMetadata=function(e){if(!me(e))return{};var t=Ee(e),n={};if(t!==Object){var r=this.propMetadata(t);Object.keys(r).forEach(function(e){n[e]=r[e]})}var o=this._ownPropMetadata(e,t);return o&&Object.keys(o).forEach(function(e){var t=[];n.hasOwnProperty(e)&&t.push.apply(t,f(n[e])),t.push.apply(t,f(o[e])),n[e]=t}),n},e.prototype.ownPropMetadata=function(e){return me(e)&&this._ownPropMetadata(e,Ee(e))||{}},e.prototype.hasLifecycleHook=function(e,t){return e instanceof ge&&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:"./"+M(e)},e.prototype.resourceUri=function(e){return"./"+M(e)},e.prototype.resolveIdentifier=function(e,t,n,r){return r},e.prototype.resolveEnum=function(e,t){return e[t]},e}();function xe(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 Ee(e){var t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var ke=null;function Oe(){return ke=ke||new Ie}function Te(e){return Pe(Oe().parameters(e))}function Pe(e){var t=W();return e.map(function(e){return function n(e,t){var n={token:null,host:!1,optional:!1,resolved:e.R3ResolvedDependencyType.Token,self:!1,skipSelf:!1};function r(t){n.resolved=e.R3ResolvedDependencyType.Token,n.token=t}if(Array.isArray(t)){if(0===t.length)throw new Error("Dependency array must have arguments.");for(var o=0;o<t.length;o++){var i=t[o];if(void 0!==i)if(i instanceof C||"Optional"===i.__proto__.ngMetadataName)n.optional=!0;else if(i instanceof x||"SkipSelf"===i.__proto__.ngMetadataName)n.skipSelf=!0;else if(i instanceof I||"Self"===i.__proto__.ngMetadataName)n.self=!0;else if(i instanceof E||"Host"===i.__proto__.ngMetadataName)n.host=!0;else if(i instanceof b)n.token=i.token;else if(i instanceof O){if(void 0===i.attributeName)throw new Error("Attribute name must be defined.");n.token=i.attributeName,n.resolved=e.R3ResolvedDependencyType.Attribute}else r(i)}}else r(t);return n}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(t,e)})}function Ne(e,t){var n=null;e.hasOwnProperty(R)||Object.defineProperty(e,R,{get:function(){if(null===n){var r=t||{providedIn:null},o=je(r)||Se(r)||Ae(r)||Re(r),i={name:e.name,type:e,typeArgumentCount:0,providedIn:r.providedIn,ctorDeps:Te(e),userDeps:void 0};if((je(r)||Se(r))&&void 0!==r.deps&&(i.userDeps=Pe(r.deps)),o)if(je(r))i.useClass=r.useClass;else if(Ae(r))i.useValue=r.useValue;else if(Se(r))i.useFactory=r.useFactory;else{if(!Re(r))throw new Error("Unreachable state.");i.useExisting=r.useExisting}else i.useClass=e;n=W().compileInjectable(ve,"ng:///"+e.name+"/ngInjectableDef.js",i)}return n}})}var De=T({provide:String,useValue:T});function je(e){return void 0!==e.useClass}function Ae(e){return De in e}function Se(e){return void 0!==e.useFactory}function Re(e){return void 0!==e.useExisting}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Ve=T({provide:String,useValue:T}),Me=[];function Fe(e,t){if(!t){var n=(s=new Ie).parameters(e);return function(){return new(e.bind.apply(e,f([void 0],fe(n))))}}if(Ve in t){var r=t;return function(){return r.useValue}}if(t.useExisting){var o=t;return function(){return se(o.useExisting)}}if(t.useFactory){var i=t;return function(){return i.useFactory.apply(i,f(fe(i.deps||Me)))}}if(t.useClass){var a=t,u=t.deps;if(!u){var s=new Ie;u=s.parameters(e)}return function(){var e;return new((e=a.useClass).bind.apply(e,f([void 0],fe(u))))}}var l=t.deps;return l||(s=new Ie,l=s.parameters(e)),function(){return new(e.bind.apply(e,f([void 0],fe(l))))}}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var He=v("Injectable",void 0,void 0,void 0,function(e,t){return Be(e,t)}),Le=Ne,Be=function Qe(e,t){t&&void 0!==t.providedIn&&!A(e)&&(e.ngInjectableDef=N({token:e,providedIn:t.providedIn,factory:Fe(e,t)}))};function ze(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function Ue(){throw new Error("Cannot mix multi providers and regular providers")}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ze=new G("The presence of this token marks an injector as being the root injector."),qe={},We={},Ke=[],Ge=void 0;
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/function Je(){return void 0===Ge&&(Ge=new de),Ge}function Ye(e,t,n,r){return void 0===t&&(t=null),void 0===n&&(n=null),t=t||Je(),new $e(e,n,t,r)}var $e=function(){function t(e,t,n,r){var o=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 i=[];nt([e],function(e){return o.processInjectorType(e,[],i)}),t&&nt(t,function(n){return o.processProvider(n,e,t)}),this.records.set(J,tt(void 0,this)),this.isRootInjector=this.records.has(Ze),this.injectorDefTypes.forEach(function(e){return o.get(e)}),this.source=r||("object"==typeof e?null:M(e))}return Object.defineProperty(t.prototype,"destroyed",{get:function(){return this._destroyed},enumerable:!0,configurable:!0}),t.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()}},t.prototype.get=function(t,n,r){void 0===n&&(n=Y),void 0===r&&(r=e.InjectFlags.Default),this.assertNotDestroyed();var o=ie(this);try{if(!(r&e.InjectFlags.SkipSelf)){var i=this.records.get(t);if(void 0===i){var a=function u(e){return"function"==typeof e||"object"==typeof e&&e instanceof G}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(t)&&A(t);a&&this.injectableDefInScope(a)&&(i=tt(Xe(t),qe),this.records.set(t,i))}if(void 0!==i)return this.hydrate(t,i)}return(r&e.InjectFlags.Self?Je():this.parent).get(t,r&e.InjectFlags.Optional?null:n)}catch(e){if("NullInjectorError"===e.name){if((e[$]=e[$]||[]).unshift(M(t)),o)throw e;return pe(e,t,"R3InjectorError",this.source)}throw e}finally{ie(o)}},t.prototype.toString=function(){var e=[];return this.records.forEach(function(t,n){return e.push(M(n))}),"R3Injector["+e.join(", ")+"]"},t.prototype.assertNotDestroyed=function(){if(this._destroyed)throw new Error("Injector has already been destroyed.")},t.prototype.processInjectorType=function(e,t,n){var r=this;if(!(e=L(e)))return!1;var o=S(e),i=null==o&&e.ngModule||void 0,a=void 0===i?e:i,u=-1!==n.indexOf(a);if(void 0!==i&&(o=S(i)),null==o)return!1;if(this.injectorDefTypes.add(a),this.records.set(a,tt(o.factory,qe)),null!=o.imports&&!u){var s;n.push(a);try{nt(o.imports,function(e){r.processInjectorType(e,t,n)&&(void 0===s&&(s=[]),s.push(e))})}finally{}if(void 0!==s)for(var l=function(e){var t=s[e],n=t.ngModule,o=t.providers;nt(o,function(e){return r.processProvider(e,n,o||Ke)})},c=0;c<s.length;c++)l(c)}var f=o.providers;if(null!=f&&!u){var d=e;nt(f,function(e){return r.processProvider(e,d,f)})}return void 0!==i&&void 0!==e.providers},t.prototype.processProvider=function(e,t,n){var r=ot(e=L(e))?e:L(e&&e.provide),o=function i(e,t,n){var r=et(e,t,n);return rt(e)?tt(void 0,e.useValue):tt(r,qe)}(e,t,n);if(ot(e)||!0!==e.multi){var a=this.records.get(r);a&&void 0!==a.multi&&Ue()}else{var u=this.records.get(r);u?void 0===u.multi&&Ue():((u=tt(void 0,qe,!0)).factory=function(){return fe(u.multi)},this.records.set(r,u)),r=e,u.multi.push(e)}this.records.set(r,o)},t.prototype.hydrate=function(e,t){return t.value===We?function n(e){throw new Error("Cannot instantiate cyclic dependency! "+e)}(M(e)):t.value===qe&&(t.value=We,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},t.prototype.injectableDefInScope=function(e){return!!e.providedIn&&("string"==typeof e.providedIn?"any"===e.providedIn||"root"===e.providedIn&&this.isRootInjector:this.injectorDefTypes.has(e.providedIn))},t}();function Xe(e){var t=A(e);if(null!==t)return t.factory;var n=S(e);if(null!==n)return n.factory;if(e instanceof G)throw new Error("Token "+M(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 "+M(e)+": ("+n.join(", ")+").")}var r=function o(e){return e&&e[R]?(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[R]):null}(e);return null!==r?function(){return r.factory(e)}:function(){return new e}}(e);throw new Error("unreachable")}function et(e,t,n){var r=void 0;if(ot(e))return Xe(L(e));if(rt(e))r=function(){return L(e.useValue)};else if(function o(e){return!(!e||!e.useExisting)}(e))r=function(){return se(L(e.useExisting))};else if(function i(e){return!(!e||!e.useFactory)}(e))r=function(){return e.useFactory.apply(e,f(fe(e.deps||[])))};else{var a=L(e&&(e.useClass||e.provide));if(a||function u(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 '"+M(e)+"'"+r)}(t,n,e),!function s(e){return!!e.deps}(e))return Xe(a);r=function(){return new(a.bind.apply(a,f([void 0],fe(e.deps))))}}return r}function tt(e,t,n){return void 0===n&&(n=!1),{factory:e,value:t,multi:n?[]:void 0}}function nt(e,t){e.forEach(function(e){return Array.isArray(e)?nt(e,t):t(e)})}function rt(e){return null!==e&&"object"==typeof e&&re in e}function ot(e){return"function"==typeof e}var it=function at(e,t,n){return new dt(e,t,n)},ut=function(){function e(){}return e.create=function(e,t){return Array.isArray(e)?it(e,t,""):it(e.providers,e.parent,e.name||"")},e.THROW_IF_NOT_FOUND=Y,e.NULL=new de,e.ngInjectableDef=N({token:e,providedIn:"any",factory:function(){return se(J)}}),e.__NG_ELEMENT_ID__=-1,e}(),st=function(e){return e},lt=[],ct=st,ft=function(){return Array.prototype.slice.call(arguments)},dt=function(){function t(e,t,n){void 0===t&&(t=ut.NULL),void 0===n&&(n=null),this.parent=t,this.source=n;var r=this._records=new Map;r.set(ut,{token:ut,fn:st,deps:lt,value:this,useNew:!1}),r.set(J,{token:J,fn:st,deps:lt,value:this,useNew:!1}),function e(t,n){if(n)if((n=L(n))instanceof Array)for(var r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw ht("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw ht("Unexpected provider",n);var o=L(n.provide),i=function a(e){var t=function n(e){var t=lt,n=e.deps;if(n&&n.length){t=[];for(var r=0;r<n.length;r++){var o=6;if((s=L(n[r]))instanceof Array)for(var i=0,a=s;i<a.length;i++){var u=a[i];u instanceof C||u==C?o|=1:u instanceof x||u==x?o&=-3:u instanceof I||u==I?o&=-5:s=u instanceof b?u.token:L(u)}t.push({token:s,options:o})}}else if(e.useExisting){var s;t=[{token:s=L(e.useExisting),options:6}]}else if(!(n||re in e))throw ht("'deps' required",e);return t}(e),r=st,o=lt,i=!1,a=L(e.provide);if(re in e)o=e.useValue;else if(e.useFactory)r=e.useFactory;else if(e.useExisting);else if(e.useClass)i=!0,r=L(e.useClass);else{if("function"!=typeof a)throw ht("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);i=!0,r=a}return{deps:t,fn:r,useNew:i,value:o}}(n);if(!0===n.multi){var u=t.get(o);if(u){if(u.fn!==ft)throw pt(o)}else t.set(o,u={token:n.provide,deps:[],useNew:!1,fn:ft,value:lt});u.deps.push({token:o=n,options:6})}var s=t.get(o);if(s&&s.fn==ft)throw pt(o);t.set(o,i)}}(r,e)}return t.prototype.get=function(t,n,r){void 0===r&&(r=e.InjectFlags.Default);var o=this._records.get(t);try{return function t(n,r,o,i,a,u){try{return function s(n,r,o,i,a,u){var s,l;if(!r||u&e.InjectFlags.SkipSelf)u&e.InjectFlags.Self||(l=i.get(n,a,e.InjectFlags.Default));else{if((l=r.value)==ct)throw Error("ɵCircular dependency");if(l===lt){r.value=ct;var c=r.useNew,d=r.fn,p=r.deps,h=lt;if(p.length){h=[];for(var v=0;v<p.length;v++){var y=p[v],g=y.options,m=2&g?o.get(y.token):void 0;h.push(t(y.token,m,o,m||4&g?i:ut.NULL,1&g?null:ut.THROW_IF_NOT_FOUND,e.InjectFlags.Default))}}r.value=l=c?new((s=d).bind.apply(s,f([void 0],h))):d.apply(void 0,h)}}return l}(n,r,o,i,a,u)}catch(e){throw e instanceof Error||(e=new Error(e)),(e[$]=e[$]||[]).unshift(n),r&&r.value==ct&&(r.value=lt),e}}(t,o,this._records,this.parent,n,r)}catch(e){return pe(e,t,"StaticInjectorError",this.source)}},t.prototype.toString=function(){var e=[];return this._records.forEach(function(t,n){return e.push(M(n))}),"StaticInjector["+e.join(", ")+"]"},t}();function pt(e){return ht("Cannot mix multi providers and regular providers",e)}function ht(e,t){return new Error(he(e,t,"StaticInjectorError"))}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var vt="ngDebugContext",yt="ngOriginalError",gt="ngErrorLogger";function mt(e){return e.length>1?" ("+
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
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 M(e.token)}).join(" -> ")+")":""}function _t(e,t,n,r){var o=[t],i=n(o),a=r?function u(e,t){var n=e+" caused by: "+(t instanceof Error?t.message:t),r=Error(n);return r[yt]=t,r}(i,r):Error(i);return a.addKey=wt,a.keys=o,a.injectors=[e],a.constructResolvingMessage=n,a[yt]=r,a}function wt(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function bt(e,t){for(var n=[],r=0,o=t.length;r<o;r++){var i=t[r];n.push(i&&0!=i.length?i.map(M).join(" "):"?")}return Error("Cannot resolve all parameters for '"+M(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+M(e)+"' is decorated with Injectable.")}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var Ct=function(){function e(e,t){if(this.token=e,this.id=t,!e)throw new Error("Token must be defined!");this.displayName=M(this.token)}return e.get=function(e){return It.get(L(e))},Object.defineProperty(e,"numberOfKeys",{get:function(){return It.numberOfKeys},enumerable:!0,configurable:!0}),e}(),It=new(function(){function e(){this._allKeys=new Map}return e.prototype.get=function(e){if(e instanceof Ct)return e;if(this._allKeys.has(e))return this._allKeys.get(e);var t=new Ct(e,Ct.numberOfKeys);return this._allKeys.set(e,t),t},Object.defineProperty(e.prototype,"numberOfKeys",{get:function(){return this._allKeys.size},enumerable:!0,configurable:!0}),e}()),xt=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 Ie),Et=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}(),kt=[],Ot=function Ot(e,t,n){this.key=e,this.resolvedFactories=t,this.multiProvider=n,this.resolvedFactory=this.resolvedFactories[0]},Tt=function Tt(e,t){this.factory=e,this.dependencies=t};function Pt(e){var t,n;if(e.useClass){var r=L(e.useClass);t=xt.factory(r),n=jt(r)}else e.useExisting?(t=function(e){return e},n=[Et.fromKey(Ct.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function o(e,t){if(t){var n=t.map(function(e){return[e]});return t.map(function(t){return At(e,t,n)})}return jt(e)}(e.useFactory,e.deps)):(t=function(){return e.useValue},n=kt);return new Tt(t,n)}function Nt(e){return new Ot(Ct.get(e.provide),[Pt(e)],e.multi||!1)}function Dt(e){var t=function n(e,t){for(var n=0;n<e.length;n++){var r=e[n],o=t.get(r.key.id);if(o){if(r.multiProvider!==o.multiProvider)throw Error("Cannot mix multi providers and regular providers, got: "+o+" "+r);if(r.multiProvider)for(var i=0;i<r.resolvedFactories.length;i++)o.resolvedFactories.push(r.resolvedFactories[i]);else t.set(r.key.id,r)}else{var a;a=r.multiProvider?new Ot(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,a)}}return t}(function e(t,n){return t.forEach(function(t){if(t instanceof ge)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(Nt),new Map);return Array.from(t.values())}function jt(e){var t=xt.parameters(e);if(!t)return[];if(t.some(function(e){return null==e}))throw bt(e,t);return t.map(function(n){return At(e,n,t)})}function At(e,t,n){var r=null,o=!1;if(!Array.isArray(t))return St(t instanceof b?t.token:t,o,null);for(var i=null,a=0;a<t.length;++a){var u=t[a];u instanceof ge?r=u:u instanceof b?r=u.token:u instanceof C?o=!0:u instanceof I||u instanceof x?i=u:u instanceof G&&(r=u)}if(null!=(r=L(r)))return St(r,o,i);throw bt(e,n)}function St(e,t,n){return new Et(Ct.get(e),t,n)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Rt,Vt,Mt,Ft=new Object,Ht=function(){function e(){}return e.resolve=function(e){return Dt(e)},e.resolveAndCreate=function(t,n){var r=e.resolve(t);return e.fromResolvedProviders(r,n)},e.fromResolvedProviders=function(e,t){return new Lt(e,t)},e}(),Lt=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]=Ft}return e.prototype.get=function(e,t){return void 0===t&&(t=Y),this._getByKey(Ct.get(e),null,t)},e.prototype.resolveAndCreateChild=function(e){var t=Ht.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(Ht.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 _t(e,n,function(e){return"Cannot instantiate cyclic dependency!"+mt(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,o=this,i=t.factory;try{n=t.dependencies.map(function(e){return o._getByReflectiveDependency(e)})}catch(t){throw t.addKey&&t.addKey(this,e.key),t}try{r=i.apply(void 0,f(n))}catch(t){throw function a(e,t,n,r){return _t(e,r,function(e){var n=M(e[0].token);return t.message+": Error during instantiation of "+n+"!"+mt(e)+"."},t)}(this,t,0,e.key)}return r},e.prototype._getByReflectiveDependency=function(e){return this._getByKey(e.key,e.visibility,e.optional?null:Y)},e.prototype._getByKey=function(t,n,r){return t===e.INJECTOR_KEY?this:n instanceof I?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]===Ft&&(this.objs[t]=this._new(this._providers[t])),this.objs[t];return Ft},e.prototype._throwOrNull=function(e,t){if(t!==Y)return t;throw function n(e,t){return _t(e,t,function(e){return"No provider for "+M(e[0].token)+"!"+mt(e)})}(this,e)},e.prototype._getByKeySelf=function(e,t){var n=this._getObjByKeyId(e.id);return n!==Ft?n:this._throwOrNull(e,t)},e.prototype._getByKeyDefault=function(t,n,r){var o;for(o=r instanceof x?this.parent:this;o instanceof e;){var i=o,a=i._getObjByKeyId(t.id);if(a!==Ft)return a;o=i.parent}return null!==o?o.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),o=0;o<t._providers.length;++o)r[o]=n(t.getProviderAtIndex(o));return r}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(this,function(e){return' "'+e.key.displayName+'" '}).join(", ")+"])"},enumerable:!0,configurable:!0}),e.prototype.toString=function(){return this.displayName},e.INJECTOR_KEY=Ct.get(ut),e}(),Bt=new G("AnalyzeForEntryComponents"),Qt=m("ContentChildren",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!1,isViewQuery:!1,descendants:!1},t)},Mt=function Mt(){}),zt=m("ContentChild",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!0,isViewQuery:!1,descendants:!0},t)},Mt),Ut=m("ViewChildren",function(e,t){return void 0===t&&(t={}),i({selector:e,first:!1,isViewQuery:!0,descendants:!0},t)},Mt),Zt=m("ViewChild",function(e,t){return i({selector:e,first:!0,isViewQuery:!0,descendants:!0},t)},Mt);
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function qt(e){var t=[],n=new Map;function r(t){var r=n.get(t);if(!r){var o=e(t);n.set(t,r=o.then($t))}return r}return Kt.forEach(function(e,n){var o=[];e.templateUrl&&o.push(r(e.templateUrl).then(function(t){e.template=t}));var i=e.styleUrls,a=e.styles||(e.styles=[]),u=e.styles.length;i&&i.forEach(function(t,n){a.push(""),o.push(r(t).then(function(r){a[u+n]=r,i.splice(i.indexOf(t),1),0==i.length&&(e.styleUrls=void 0)}))});var s=Promise.all(o).then(function(){return function e(t){Gt.delete(t)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(n)});t.push(s)}),Yt(),Promise.all(t).then(function(){})}(
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Rt=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[Rt.OnPush=0]="OnPush",Rt[Rt.Default=1]="Default",(Vt=e.ɵChangeDetectorStatus||(e.ɵChangeDetectorStatus={}))[Vt.CheckOnce=0]="CheckOnce",Vt[Vt.Checked=1]="Checked",Vt[Vt.CheckAlways=2]="CheckAlways",Vt[Vt.Detached=3]="Detached",Vt[Vt.Errored=4]="Errored",Vt[Vt.Destroyed=5]="Destroyed";var Wt,Kt=new Map,Gt=new Set;function Jt(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Yt(){var e=Kt;return Kt=new Map,e}function $t(e){return"string"==typeof e?e:e.text()}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function Xt(e){return""+{toString:e}}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/(
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
Wt=e.ViewEncapsulation||(e.ViewEncapsulation={}))[Wt.Emulated=0]="Emulated",Wt[Wt.Native=1]="Native",Wt[Wt.None=2]="None",Wt[Wt.ShadowDom=3]="ShadowDom";var en={},tn=[],nn=T({ngComponentDef:T}),rn=T({ngDirectiveDef:T}),on=T({ngPipeDef:T}),an=T({ngModuleDef:T}),un=T({ngLocaleIdDef:T}),sn=T({ngBaseDef:T}),ln=T({__NG_ELEMENT_ID__:T}),cn=0;function fn(t){var n=t.type,r=n.prototype,o={},i={type:n,providersResolver:null,consts:t.consts,vars:t.vars,factory:t.factory,template:t.template||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,contentQueries:t.contentQueries||null,declaredInputs:o,inputs:null,outputs:null,exportAs:t.exportAs||null,onChanges:null,onInit:r.ngOnInit||null,doCheck:r.ngDoCheck||null,afterContentInit:r.ngAfterContentInit||null,afterContentChecked:r.ngAfterContentChecked||null,afterViewInit:r.ngAfterViewInit||null,afterViewChecked:r.ngAfterViewChecked||null,onDestroy:r.ngOnDestroy||null,onPush:t.changeDetection===e.ChangeDetectionStrategy.OnPush,directiveDefs:null,pipeDefs:null,selectors:t.selectors,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||e.ViewEncapsulation.Emulated,id:"c",styles:t.styles||tn,_:null,setInput:null,schemas:t.schemas||null,tView:null};return i._=Xt(function(){var e=t.directives,r=t.features,a=t.pipes;i.id+=cn++,i.inputs=gn(t.inputs,o),i.outputs=gn(t.outputs),r&&r.forEach(function(e){return e(i)}),i.directiveDefs=e?function(){return("function"==typeof e?e():e).map(pn)}:null,i.pipeDefs=a?function(){return("function"==typeof a?a():a).map(hn)}:null,n.hasOwnProperty(R)||(n[R]=N({token:n,factory:t.factory}))}),i}function dn(e,t,n){var r=e.ngComponentDef;r.directiveDefs=function(){return t.map(pn)},r.pipeDefs=function(){return n.map(hn)}}function pn(e){return bn(e)||Cn(e)}function hn(e){return In(e)}function vn(e){return{type:e.type,bootstrap:e.bootstrap||tn,declarations:e.declarations||tn,imports:e.imports||tn,exports:e.exports||tn,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null}}function yn(e,t){return Xt(function(){var n=En(e,!0);n.declarations=t.declarations||tn,n.imports=t.imports||tn,n.exports=t.exports||tn})}function gn(e,t){if(null==e)return en;var n={};for(var r in e)if(e.hasOwnProperty(r)){var o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function mn(e){var t={};return{inputs:gn(e.inputs,t),declaredInputs:t,outputs:gn(e.outputs),viewQuery:e.viewQuery||null,contentQueries:e.contentQueries||null,hostBindings:e.hostBindings||null}}var _n=fn;function wn(e){return{name:e.name,factory:e.factory,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function bn(e){return e[nn]||null}function Cn(e){return e[rn]||null}function In(e){return e[on]||null}function xn(e){return e[sn]||null}function En(e,t){var n=e[an]||null;if(!n&&!0===t)throw new Error("Type "+M(e)+" does not have 'ngModuleDef' property.");return n}function kn(e){return"string"==typeof e?e:null==e?"":""+e}function On(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():kn(e)}var Tn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(q);function Pn(e){return{name:"window",target:e.ownerDocument.defaultView}}function Nn(e){return{name:"document",target:e.ownerDocument}}function Dn(e){return{name:"body",target:e.ownerDocument.body}}var jn="�";function An(e){return e.indexOf(jn)>=0}function Sn(e){return e instanceof Function?e():e}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var Rn=0,Vn=1,Mn=2,Fn=3,Hn=4,Ln=5,Bn=6,Qn=7,zn=8,Un=9,Zn=10,qn=11,Wn=12,Kn=13,Gn=14,Jn=15,Yn=16,$n=17,Xn=18,er=20;function tr(e){throw new Error("ASSERTION ERROR: "+e)}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
var nr=1,rr=2,or=7,ir=9,ar="__ngContext__";
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function ur(e){for(;Array.isArray(e);)e=e[Rn];return e}function sr(e){return Array.isArray(e)&&"object"==typeof e[nr]}function lr(e){return Array.isArray(e)&&!0===e[nr]}function cr(e){return Array.isArray(e)&&"number"==typeof e[nr]}function fr(e,t){return ur(t[e+er])}function dr(e,t){return ur(t[e.index])}function pr(e,t){return t[Vn].data[e+er]}function hr(e,t){return e[t+er]}function vr(e,t){var n=t[e];return sr(n)?n:n[Rn]}function yr(e){return 0!=(4&e.flags)}function gr(e){return 1==(1&e.flags)}function mr(e){return null!==e.template}function _r(e){return 0!=(512&e[Mn])}function wr(e){return e[ar]}function br(e){var t=wr(e);return t?Array.isArray(t)?t:t.lView:null}function Cr(e){return lr(e[Fn])}function Ir(e){e[Xn]=0}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/
function xr(e,t,n,r,o,i){var a=t.onChanges,u=t.onInit,s=t.doCheck;o>=0&&(!n.preOrderHooks||o===n.preOrderHooks.length)&&(a||u||s)&&(n.preOrderHooks||(n.preOrderHooks=[])).push(r),i>=0&&(!n.preOrderCheckHooks||i===n.preOrderCheckHooks.length)&&(a||s)&&(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(r),a&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)),u&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,u),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}function Er(e,t){if(e.firstTemplatePass)for(var n=t.directiveStart,r=t.directiveEnd;n<r;n++){var o=e.data[n];o.afterContentInit&&(e.contentHooks||(e.contentHooks=[])).push(-n,o.afterContentInit),o.afterContentChecked&&((e.contentHooks||(e.contentHooks=[])).push(n,o.afterContentChecked),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,o.afterContentChecked)),o.afterViewInit&&(e.viewHooks||(e.viewHooks=[])).push(-n,o.afterViewInit),o.afterViewChecked&&((e.viewHooks||(e.viewHooks=[])).push(n,o.afterViewChecked),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,o.afterViewChecked)),null!=o.onDestroy&&(e.destroyHooks||(e.destroyHooks=[])).push(n,o.onDestroy)}}function kr(e,t,n,r){n||Or(e,t.preOrderHooks,t.preOrderCheckHooks,n,0,void 0!==r?r:null)}function Or(e,t,n,r,o,i){if(!r){var a=(3&e[Mn])===o?t:n;a&&function u(e,t,n,r){for(var o=null!=r?r:-1,i=0,a=void 0!==r?65535&e[Xn]:0;a<t.length;a++)if("number"==typeof t[a+1]){if(i=t[a],null!=r&&i>=r)break}else t[a]<0&&(e[Xn]+=65536),(i<o||-1==o)&&(Tr(e,n,t,a),e[Xn]=(4294901760&e[Xn])+a+2),a++}(e,a,o,i),null==i&&(3&e[Mn])===o&&3!==o&&(e[Mn]&=1023,e[Mn]+=1)}}function Tr(e,t,n,r){var o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[Mn]>>10<e[Xn]>>16&&(3&e[Mn])===t&&(e[Mn]+=1024,i.call(a)):i.call(a)}var Pr,Nr=null;function Dr(e){Nr=e}
/**
* @license
* Copyright Google Inc. All Rights Reserved.
*
* Use of this source code is governed by an MIT-style license that can be
* found in the LICENSE file at https://angular.io/license
*/var jr,Ar=null;function Sr(e){Ar=e}function Rr(){jr=!0}function Vr(){jr=!1}function Mr(){return Lr}var Fr,Hr,Lr,Br=1,Qr=Br,zr=0,Ur=0;function Zr(e){void 0===e&&(e=null),mo!==e&&(wo(null==e?-1:e),Qr=null==e?0:Br,zr=0,Ur=0)}function qr(){return Qr}function Wr(){Qr+=1+Ur,zr=0,Ur=0}function Kr(e){zr+=e,Ur=Math.max(Ur,zr)}function Gr(){return Ur}function Jr(){return zr}function Yr(e){oo=e}function $r(){return Fr}function Xr(e,t){Fr=e,Hr=t}function eo(e,t){Fr=e,Lr=t}function to(){return Hr}function no(){Hr=!1}function ro(e){return void 0===e&&(e=Lr),4==(4&e[Mn])}var oo=null,io=!1;function ao(){return io}function uo(e){io=e}var so=-1;function lo(){return so}function co(e){so=e}var fo=0;function po(){return fo}function ho(e){fo=e}function vo(e,t){var n=Lr;return e&&(so=e[Vn].bindingStartIndex),Fr=t,Hr=!0,Lr=oo=e,n}function yo(e){return void 0===e&&(e=1),(oo=function t(e,n){for(;e>0;)n=n[$n],e--;return n}(e,oo))[Un]}function go(e,t){var n=Lr[Vn];if(ro(Lr))Lr[Mn]&=-5;else try{Ir(Lr),t&&Or(Lr,n.viewHooks,n.viewCheckHooks,io,2,void 0)}finally{Lr[M