@angular/core
Version:
Angular - the core framework
330 lines (328 loc) • 308 kB
JavaScript
/**
* @license Angular v9.1.11
* (c) 2010-2020 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";
/*! *****************************************************************************
Copyright (c) Microsoft Corporation. All rights reserved.
Licensed under the Apache License, Version 2.0 (the "License"); you may not use
this file except in compliance with the License. You may obtain a copy of the
License at http://www.apache.org/licenses/LICENSE-2.0
THIS CODE IS PROVIDED ON AN *AS IS* BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
KIND, EITHER EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION ANY IMPLIED
WARRANTIES OR CONDITIONS OF TITLE, FITNESS FOR A PARTICULAR PURPOSE,
MERCHANTABLITY OR NON-INFRINGEMENT.
See the Apache Version 2.0 License for specific language governing permissions
and limitations under the License.
***************************************************************************** */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&&Symbol.iterator,n=t&&e[t],r=0;if(n)return n.call(e);if(e&&"number"==typeof e.length)return{next:function(){return e&&r>=e.length&&(e=void 0),{value:e&&e[r++],done:!e}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}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
*/
function d(e){return{toString:e}.toString()}
/**
* @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 p="__annotations__",h="__parameters__",v="__prop__metadata__";function y(e,t,n,r,o){return d((function(){var i=g(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(p)?n[p]:Object.defineProperty(n,p,{value:[]})[p]).push(u),r&&r(n),n}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a}))}function g(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 m(e,t,n){return d((function(){var r=g(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(h)?e[h]:Object.defineProperty(e,h,{value:[]})[h];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 _(e,t,n,r){return d((function(){var o=g(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)));function u(e,n){var o=e.constructor,i=o.hasOwnProperty(v)?o[v]:Object.defineProperty(o,v,{value:{}})[v];i[n]=i.hasOwnProperty(n)&&i[n]||[],i[n].unshift(a),r&&r.apply(void 0,f([e,n],t))}return u}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,b=function(e){return{token:e}},C=m("Inject",b),I=m("Optional"),x=m("Self"),E=m("SkipSelf"),k=m("Host"),O=function(e){return{attributeName:e}},P=m("Attribute",O);
/**
* @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){for(var t in e)if(e[t]===N)return t;throw Error("Could not find renamed property on target object.")}function T(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 j(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
*/
w=e.InjectFlags||(e.InjectFlags={}))[w.Default=0]="Default",w[w.Host=1]="Host",w[w.Self=2]="Self",w[w.SkipSelf=4]="SkipSelf",w[w.Optional=8]="Optional";var D=j;function A(e){return{factory:e.factory,providers:e.providers||[],imports:e.imports||[]}}function S(e){return R(e,e[M])||R(e,e[L])}function R(e,t){return t&&t.token===e?t:null}function V(e){return e&&(e.hasOwnProperty(F)||e.hasOwnProperty(B))?e[F]:null}var M=N({"ɵprov":N}),F=N({"ɵinj":N}),H=N({"ɵprovFallback":N}),L=N({ngInjectableDef:N}),B=N({ngInjectorDef: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 U(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(U).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)}function Q(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+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
*/var z=N({__forward_ref__:N});function q(e){return e.__forward_ref__=q,e.toString=function(){return U(this())},e}function W(e){return Z(e)?e():e}function Z(e){return"function"==typeof e&&e.hasOwnProperty(z)&&e.__forward_ref__===q}
/**
* @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 K,G,J,Y="undefined"!=typeof globalThis&&globalThis,$="undefined"!=typeof window&&window,X="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,ee="undefined"!=typeof global&&global,te=Y||ee||$||X;
/**
* @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 ne(){var e=te.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",e[e.ChangeDetectorRef=2]="ChangeDetectorRef",e[e.Invalid=3]="Invalid"}(K||(K={})),function(e){e[e.Directive=0]="Directive",e[e.Component=1]="Component",e[e.Injectable=2]="Injectable",e[e.Pipe=3]="Pipe",e[e.NgModule=4]="NgModule"}(G||(G={})),function(e){e[e.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(J||(J={}));var re,oe=N({"ɵcmp":N}),ie=N({"ɵdir":N}),ae=N({"ɵpipe":N}),ue=N({"ɵmod":N}),se=N({"ɵloc":N}),le=N({"ɵfac":N}),ce=N({__NG_ELEMENT_ID__:N}),fe=function(){function e(e,t){this._desc=e,this.ngMetadataName="InjectionToken",this.ɵprov=void 0,"number"==typeof t?this.__NG_ELEMENT_ID__=t:void 0!==t&&(this.ɵprov=j({token:this,providedIn:t.providedIn||"root",factory:t.factory}))}return e.prototype.toString=function(){return"InjectionToken "+this._desc},e}(),de=new fe("INJECTOR",-1),pe={},he=/\n/gm,ve=N({provide:String,useValue:N}),ye=void 0;function ge(e){var t=ye;return ye=e,t}function me(e){var t=re;return re=e,t}function _e(t,n){if(void 0===n&&(n=e.InjectFlags.Default),void 0===ye)throw new Error("inject() must be called from an injection context");return null===ye?Ie(t,void 0,n):ye.get(t,n&e.InjectFlags.Optional?null:void 0,n)}function we(t,n){return void 0===n&&(n=e.InjectFlags.Default),(re||_e)(W(t),n)}function be(e){throw new Error("invalid")}var Ce=we;function Ie(t,n,r){var o=S(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 ["+U(t)+"]")}function xe(t){for(var n=[],r=0;r<t.length;r++){var o=W(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 I||"Optional"===s.ngMetadataName||s===I?a|=e.InjectFlags.Optional:s instanceof E||"SkipSelf"===s.ngMetadataName||s===E?a|=e.InjectFlags.SkipSelf:s instanceof x||"Self"===s.ngMetadataName||s===x?a|=e.InjectFlags.Self:i=s instanceof C||s===C?s.token:s}n.push(we(i,a))}else n.push(we(o))}return n}var Ee=function(){function e(){}return e.prototype.get=function(e,t){if(void 0===t&&(t=pe),t===pe){var n=new Error("NullInjectorError: No provider for "+U(e)+"!");throw n.name="NullInjectorError",n}return t},e}();function ke(e,t,n,r){var o=e.ngTempTokenPath;throw t.__source&&o.unshift(t.__source),e.message=Oe("\n"+e.message,o,n,r),e.ngTokenPath=o,e.ngTempTokenPath=null,e}function Oe(e,t,n,r){void 0===r&&(r=null),e=e&&"\n"===e.charAt(0)&&"ɵ"==e.charAt(1)?e.substr(2):e;var o=U(t);if(Array.isArray(t))o=t.map(U).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):U(u)))}o="{"+i.join(", ")+"}"}return n+(r?"("+r+")":"")+"["+o+"]: "+e.replace(he,"\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 Pe,Ne,Te={"ɵɵdefineInjectable":j,"ɵɵdefineInjector":A,"ɵɵinject":we,"ɵɵgetFactoryOf":function e(t){var n=t;if(Z(t))return function(){var t=e(W(n));return t?t():null};var r=S(n)||V(n);return r&&void 0!==r.factory?r.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
*/,"ɵɵinvalidFactoryDep":be},je=function je(){},De=function De(){};function Ae(e,t){null==e&&function n(e,t,r,o){throw new Error("ASSERTION ERROR: "+e+(null==o?"":" [Expected=> "+r+" "+o+" "+t+" <=Actual]"))}(t,e,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
*/
function Se(e,t){for(var n=0;n<e.length;n++)t.push(e[n])}function Re(e,t){void 0===t&&(t=e);for(var n=0;n<e.length;n++){var r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Re(r,t)):t!==e&&t.push(r)}return t}function Ve(e,t){e.forEach((function(e){return Array.isArray(e)?Ve(e,t):t(e)}))}function Me(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Fe(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function He(e,t){for(var n=[],r=0;r<e;r++)n.push(t);return n}function Le(e,t,n){var r=Ue(e,t);return r>=0?e[1|r]=n:function o(e,t,n,r){var o=e.length;if(o==t)e.push(n,r);else if(1===o)e.push(r,e[0]),e[0]=n;else{for(o--,e.push(e[o-1],e[o]);o>t;)e[o]=e[o-2],o--;e[t]=n,e[t+1]=r}}(e,r=~r,t,n),r}function Be(e,t){var n=Ue(e,t);if(n>=0)return e[1|n]}function Ue(e,t){return function n(e,t,r){for(var o=0,i=e.length>>r;i!==o;){var a=o+(i-o>>1),u=e[a<<r];if(t===u)return a<<r;u>t?i=a:o=a+1}return~(i<<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
*/(e,t,1)}(Pe=e.ChangeDetectionStrategy||(e.ChangeDetectionStrategy={}))[Pe.OnPush=0]="OnPush",Pe[Pe.Default=1]="Default",(Ne=e.ɵChangeDetectorStatus||(e.ɵChangeDetectorStatus={}))[Ne.CheckOnce=0]="CheckOnce",Ne[Ne.Checked=1]="Checked",Ne[Ne.CheckAlways=2]="CheckAlways",Ne[Ne.Detached=3]="Detached",Ne[Ne.Errored=4]="Errored",Ne[Ne.Destroyed=5]="Destroyed",
/**
* @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.Emulated=0]="Emulated",e[e.Native=1]="Native",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom"}(e.ViewEncapsulation||(e.ViewEncapsulation={}));
/**
* @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 Qe={},ze=[],qe=0;function We(t){return d((function(){var n=t.type,r=n.prototype,o={},i={type:n,providersResolver:null,decls:t.decls,vars:t.vars,factory:null,template:t.template||null,consts:t.consts||null,ngContentSelectors:t.ngContentSelectors,hostBindings:t.hostBindings||null,hostVars:t.hostVars||0,hostAttrs:t.hostAttrs||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||ze,viewQuery:t.viewQuery||null,features:t.features||null,data:t.data||{},encapsulation:t.encapsulation||e.ViewEncapsulation.Emulated,id:"c",styles:t.styles||ze,_:null,setInput:null,schemas:t.schemas||null,tView:null},a=t.directives,u=t.features,s=t.pipes;return i.id+=qe++,i.inputs=Xe(t.inputs,o),i.outputs=Xe(t.outputs),u&&u.forEach((function(e){return e(i)})),i.directiveDefs=a?function(){return("function"==typeof a?a():a).map(Ke)}:null,i.pipeDefs=s?function(){return("function"==typeof s?s():s).map(Ge)}:null,i}))}function Ze(e,t,n){var r=e.ɵcmp;r.directiveDefs=function(){return t.map(Ke)},r.pipeDefs=function(){return n.map(Ge)}}function Ke(e){return nt(e)||rt(e)}function Ge(e){return ot(e)}var Je={};function Ye(e){var t={type:e.type,bootstrap:e.bootstrap||ze,declarations:e.declarations||ze,imports:e.imports||ze,exports:e.exports||ze,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&d((function(){Je[e.id]=e.type})),t}function $e(e,t){return d((function(){var n=at(e,!0);n.declarations=t.declarations||ze,n.imports=t.imports||ze,n.exports=t.exports||ze}))}function Xe(e,t){if(null==e)return Qe;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}var et=We;function tt(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function nt(e){return e[oe]||null}function rt(e){return e[ie]||null}function ot(e){return e[ae]||null}function it(e,t){return e.hasOwnProperty(le)?e[le]:null}function at(e,t){var n=e[ue]||null;if(!n&&!0===t)throw new Error("Type "+U(e)+" does not have 'ɵmod' property.");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
*/
function ut(e){return Array.isArray(e)&&"object"==typeof e[1]}function st(e){return Array.isArray(e)&&!0===e[1]}function lt(e){return 0!=(8&e.flags)}function ct(e){return 2==(2&e.flags)}function ft(e){return 1==(1&e.flags)}function dt(e){return null!==e.template}function pt(e){return 0!=(512&e[2])}
/**
* @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
*/
var ht,vt=void 0;function yt(){return void 0!==vt?vt:"undefined"!=typeof document?document: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 gt(e){return!!e.listen}!function(e){e[e.Important=1]="Important",e[e.DashCase=2]="DashCase"}(ht||(ht={}));var mt={createRenderer:function(e,t){return yt()}};
/**
* @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(;Array.isArray(e);)e=e[0];return e}function wt(e,t){return _t(t[e+20])}function bt(e,t){return _t(t[e.index])}function Ct(e,t){var n=e.index;return-1!==n?_t(t[n]):null}function It(e,t){return e.data[t+20]}function xt(e,t){return e[t+20]}function Et(e,t){var n=t[e];return ut(n)?n:n[0]}function kt(e){return e.__ngContext__||null}function Ot(e){var t=kt(e);return t?Array.isArray(t)?t:t.lView:null}function Pt(e){return 4==(4&e[2])}function Nt(e){return 128==(128&e[2])}function Tt(e,t){return null===e||null==t?null:e[t]}function jt(e){e[18]=0}function Dt(e,t){e[5]+=t;for(var n=e,r=e[3];null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}
/**
* @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 At={lFrame:an(null),bindingsEnabled:!0,checkNoChangesMode:!1};function St(){return At.bindingsEnabled}function Rt(){At.bindingsEnabled=!0}function Vt(){At.bindingsEnabled=!1}function Mt(){return At.lFrame.lView}function Ft(){return At.lFrame.tView}function Ht(e){At.lFrame.contextLView=e}function Lt(){return At.lFrame.previousOrParentTNode}function Bt(e,t){At.lFrame.previousOrParentTNode=e,At.lFrame.isParent=t}function Ut(){return At.lFrame.isParent}function Qt(){At.lFrame.isParent=!1}function zt(){return At.checkNoChangesMode}function qt(e){At.checkNoChangesMode=e}function Wt(){var e=At.lFrame,t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function Zt(){return At.lFrame.bindingIndex}function Kt(e){return At.lFrame.bindingIndex=e}function Gt(){return At.lFrame.bindingIndex++}function Jt(e){var t=At.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function Yt(e,t){var n=At.lFrame;n.bindingIndex=n.bindingRootIndex=e,$t(t)}function $t(e){At.lFrame.currentDirectiveIndex=e}function Xt(e){var t=At.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function en(){return At.lFrame.currentQueryIndex}function tn(e){At.lFrame.currentQueryIndex=e}function nn(e,t){var n=on();At.lFrame=n,n.previousOrParentTNode=t,n.lView=e}function rn(e,t){var n=on(),r=e[1];At.lFrame=n,n.previousOrParentTNode=t,n.lView=e,n.tView=r,n.contextLView=e,n.bindingIndex=r.bindingStartIndex}function on(){var e=At.lFrame,t=null===e?null:e.child;return null===t?an(e):t}function an(e){var t={previousOrParentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:0,contextLView:null,elementDepthCount:0,currentNamespace:null,currentSanitizer:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null};return null!==e&&(e.child=t),t}function un(){var e=At.lFrame;return At.lFrame=e.parent,e.previousOrParentTNode=null,e.lView=null,e}var sn=un;function ln(){var e=un();e.isParent=!0,e.tView=null,e.selectedIndex=0,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.currentSanitizer=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function cn(e){return(At.lFrame.contextLView=function t(e,n){for(;e>0;)n=n[15],e--;return n}(e,At.lFrame.contextLView))[8]}function fn(){return At.lFrame.selectedIndex}function dn(e){At.lFrame.selectedIndex=e}function pn(){var e=At.lFrame;return It(e.tView,e.selectedIndex)}function hn(){At.lFrame.currentNamespace="http://www.w3.org/2000/svg"}function vn(){At.lFrame.currentNamespace="http://www.w3.org/1998/MathML/"}function yn(){!function e(){At.lFrame.currentNamespace=null}()}function gn(e,t){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 mn(e,t,n){bn(e,t,3,n)}function _n(e,t,n,r){(3&e[2])===n&&bn(e,t,n,r)}function wn(e,t){var n=e[2];(3&n)===t&&(n&=2047,e[2]=n+=1)}function bn(e,t,n,r){for(var o=null!=r?r:-1,i=0,a=void 0!==r?65535&e[18]: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[18]+=65536),(i<o||-1==o)&&(Cn(e,n,t,a),e[18]=(4294901760&e[18])+a+2),a++}function Cn(e,t,n,r){var o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];o?e[2]>>11<e[18]>>16&&(3&e[2])===t&&(e[2]+=2048,i.call(a)):i.call(a)}
/**
* @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 In=function In(e,t,n){this.factory=e,this.resolving=!1,this.canSeeViewProviders=t,this.injectImpl=n};function xn(e,t,n){for(var r=gt(e),o=0;o<n.length;){var i=n[o];if("number"==typeof i){if(0!==i)break;o++;var a=n[o++],u=n[o++],s=n[o++];r?e.setAttribute(t,u,s,a):t.setAttributeNS(a,u,s)}else s=n[++o],kn(u=i)?r&&e.setProperty(t,u,s):r?e.setAttribute(t,u,s):t.setAttribute(u,s),o++}return o}function En(e){return 3===e||4===e||6===e}function kn(e){return 64===e.charCodeAt(0)}function On(e,t){if(null===t||0===t.length);else if(null===e||0===e.length)e=t.slice();else for(var n=-1,r=0;r<t.length;r++){var o=t[r];"number"==typeof o?n=o:0===n||Pn(e,n,o,null,-1===n||2===n?t[++r]:null)}return e}function Pn(e,t,n,r,o){var i=0,a=e.length;if(-1===t)a=-1;else for(;i<e.length;){var u=e[i++];if("number"==typeof u){if(u===t){a=-1;break}if(u>t){a=i-1;break}}}for(;i<e.length;){var s=e[i];if("number"==typeof s)break;if(s===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==a&&(e.splice(a,0,t),i=a+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}
/**
* @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 Nn(e){return-1!==e}function Tn(e){return 32767&e}function jn(e){return e>>16}function Dn(e,t){for(var n=jn(e),r=t;n>0;)r=r[15],n--;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
*/function An(e){return"string"==typeof e?e:null==e?"":""+e}function Sn(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():An(e)}var Rn=("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(te);function Vn(e){return{name:"window",target:e.ownerDocument.defaultView}}function Mn(e){return{name:"document",target:e.ownerDocument}}function Fn(e){return{name:"body",target:e.ownerDocument.body}}function Hn(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 Ln=!0;function Bn(e){var t=Ln;return Ln=e,t}var Un=0;function Qn(e,t){var n=qn(e,t);if(-1!==n)return n;var r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,zn(r.data,e),zn(t,null),zn(r.blueprint,null));var o=Wn(e,t),i=e.injectorIndex;if(Nn(o))for(var a=Tn(o),u=Dn(o,t),s=u[1].data,l=0;l<8;l++)t[i+l]=u[a+l]|s[a+l];return t[i+8]=o,i}function zn(e,t){e.push(0,0,0,0,0,0,0,0,t)}function qn(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null==t[e.injectorIndex+8]?-1:e.injectorIndex}function Wn(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;for(var n=t[6],r=1;n&&-1===n.injectorIndex;)n=(t=t[15])?t[6]:null,r++;return n?n.injectorIndex|r<<16:-1}function Zn(e,t,n){!function r(e,t,n){var r="string"!=typeof n?n[ce]:n.charCodeAt(0)||0;null==r&&(r=n[ce]=Un++);var o=255&r,i=1<<o,a=64&o,u=32&o,s=t.data;128&o?a?u?s[e+7]|=i:s[e+6]|=i:u?s[e+5]|=i:s[e+4]|=i:a?u?s[e+3]|=i:s[e+2]|=i:u?s[e+1]|=i:s[e]|=i}(e,t,n)}function Kn(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;var n=e.attrs;if(n)for(var r=n.length,o=0;o<r;){var i=n[o];if(En(i))break;if(0===i)o+=2;else if("number"==typeof i)for(o++;o<r&&"string"==typeof n[o];)o++;else{if(i===t)return n[o+1];o+=2}}return null}function Gn(t,n,r,o,i){if(void 0===o&&(o=e.InjectFlags.Default),null!==t){var a=function u(e){if("string"==typeof e)return e.charCodeAt(0)||0;var t=e[ce];return"number"==typeof t&&t>0?255&t:t}(r);if("function"==typeof a){nn(n,t);try{var s=a();if(null!=s||o&e.InjectFlags.Optional)return s;throw new Error("No provider for "+Sn(r)+"!")}finally{sn()}}else if("number"==typeof a){if(-1===a)return new nr(t,n);var l=null,c=qn(t,n),f=-1,d=o&e.InjectFlags.Host?n[16][6]:null;for((-1===c||o&e.InjectFlags.SkipSelf)&&(f=-1===c?Wn(t,n):n[c+8],tr(o,!1)?(l=n[1],c=Tn(f),n=Dn(f,n)):c=-1);-1!==c;){f=n[c+8];var p=n[1];if(er(a,c,p.data)){var h=Yn(c,n,r,l,o,d);if(h!==Jn)return h}tr(o,n[1].data[c+8]===d)&&er(a,c,n)?(l=p,c=Tn(f),n=Dn(f,n)):c=-1}}}if(o&e.InjectFlags.Optional&&void 0===i&&(i=null),0==(o&(e.InjectFlags.Self|e.InjectFlags.Host))){var v=n[9],y=me(void 0);try{return v?v.get(r,i,o&e.InjectFlags.Optional):Ie(r,i,o&e.InjectFlags.Optional)}finally{me(y)}}if(o&e.InjectFlags.Optional)return i;throw new Error("NodeInjector: NOT_FOUND ["+Sn(r)+"]")}var Jn={};function Yn(t,n,r,o,i,a){var u=n[1],s=u.data[t+8],l=$n(s,u,r,null==o?ct(s)&&Ln:o!=u&&3===s.type,i&e.InjectFlags.Host&&a===s);return null!==l?Xn(n,u,l,s):Jn}function $n(e,t,n,r,o){for(var i=e.providerIndexes,a=t.data,u=65535&i,s=e.directiveStart,l=i>>16,c=o?u+l:e.directiveEnd,f=r?u:u+l;f<c;f++){var d=a[f];if(f<s&&n===d||f>=s&&d.type===n)return f}if(o){var p=a[s];if(p&&dt(p)&&p.type===n)return s}return null}function Xn(e,t,n,r){var o=e[n],i=t.data;if(function a(e){return e instanceof In}(o)){var u=o;if(u.resolving)throw new Error("Circular dep for "+Sn(i[n]));var s=Bn(u.canSeeViewProviders);u.resolving=!0;var l=void 0;u.injectImpl&&(l=me(u.injectImpl)),nn(e,r);try{o=e[n]=u.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&
/**
* @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 c(e,t,n){var r=t.onChanges,o=t.onInit,i=t.doCheck;r&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,r),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,r)),o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{u.injectImpl&&me(l),Bn(s),u.resolving=!1,sn()}}return o}function er(e,t,n){var r=64&e,o=32&e;return!!((128&e?r?o?n[t+7]:n[t+6]:o?n[t+5]:n[t+4]:r?o?n[t+3]:n[t+2]:o?n[t+1]:n[t])&1<<e)}function tr(t,n){return!(t&e.InjectFlags.Self||t&e.InjectFlags.Host&&n)}var nr=function(){function e(e,t){this._tNode=e,this._lView=t}return e.prototype.get=function(e,t){return Gn(this._tNode,this._lView,e,void 0,t)},e}();function rr(e){var t=e;if(Z(e))return function(){var e=rr(W(t));return e?e():null};var n=it(t);if(null===n){var r=V(t);n=r&&r.factory}return n||null}function or(e){return d((function(){var t=Object.getPrototypeOf(e.prototype).constructor,n=t[le]||rr(t);return null!==n?n:function(e){return new 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
*/function ir(e){return e.ngDebugContext}function ar(e){return e.ngOriginalError}function ur(e){for(var t=[],n=1;n<arguments.length;n++)t[n-1]=arguments[n];e.error.apply(e,f(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
*/var sr=function(){function e(){this._console=console}return e.prototype.handleError=function(e){var t=this._findOriginalError(e),n=this._findContext(e),r=function o(e){return e.ngErrorLogger||ur}(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?ir(e)?ir(e):this._findContext(ar(e)):null},e.prototype._findOriginalError=function(e){for(var t=ar(e);t&&ar(t);)t=ar(t);return t},e}(),lr=function(){function e(e){this.changingThisBreaksApplicationSecurity=e}return e.prototype.toString=function(){return"SafeValue must use [property]=binding: "+this.changingThisBreaksApplicationSecurity+" (see http://g.co/ng/security#xss)"},e}(),cr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"HTML"},t}(lr),fr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Style"},t}(lr),dr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"Script"},t}(lr),pr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"URL"},t}(lr),hr=function(e){function t(){return null!==e&&e.apply(this,arguments)||this}return o(t,e),t.prototype.getTypeName=function(){return"ResourceURL"},t}(lr);
/**
* @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 vr(e){return e instanceof lr?e.changingThisBreaksApplicationSecurity:e}function yr(e,t){var n=gr(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error("Required a safe "+t+", got a "+n+" (see http://g.co/ng/security#xss)")}return n===t}function gr(e){return e instanceof lr&&e.getTypeName()||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
*/
var mr=!0,_r=!1;function wr(){return _r=!0,mr}
/**
* @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 br=function(){function e(e){this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert");var t=this.inertDocument.body;if(null==t){var n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n),t=this.inertDocument.createElement("body"),n.appendChild(t)}t.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!t.querySelector||t.querySelector("svg")?(t.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=t.querySelector&&t.querySelector("svg img")&&function r(){try{return!!window.DOMParser}catch(e){return!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
*/()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}return e.prototype.getInertBodyElement_XHR=function(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(e){return null}var t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);var n=t.response.body;return n.removeChild(n.firstChild),n},e.prototype.getInertBodyElement_DOMParser=function(e){e="<body><remove></remove>"+e+"</body>";try{var t=(new window.DOMParser).parseFromString(e,"text/html").body;return t.removeChild(t.firstChild),t}catch(e){return null}},e.prototype.getInertBodyElement_InertDocument=function(e){var t=this.inertDocument.createElement("template");if("content"in t)return t.innerHTML=e,t;var n=this.inertDocument.createElement("body");return n.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(n),n},e.prototype.stripCustomNsAttrs=function(e){for(var t=e.attributes,n=t.length-1;0<n;n--){var r=t.item(n).name;"xmlns:ns1"!==r&&0!==r.indexOf("ns1:")||e.removeAttribute(r)}for(var o=e.firstChild;o;)o.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(o),o=o.nextSibling},e}(),Cr=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ir=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function xr(e){return(e=String(e)).match(Cr)||e.match(Ir)?e:(wr()&&console.warn("WARNING: sanitizing unsafe URL value "+e+" (see http://g.co/ng/security#xss)"),"unsafe:"+e)}function Er(e){return(e=String(e)).split(",").map((function(e){return xr(e.trim())})).join(", ")}
/**
* @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 kr(e){var t,n,r={};try{for(var o=l(e.split(",")),i=o.next();!i.done;i=o.next())r[i.value]=!0}catch(e){t={error:e}}finally{try{i&&!i.done&&(n=o.return)&&n.call(o)}finally{if(t)throw t.error}}return r}function Or(){for(var e,t,n=[],r=0;r<arguments.length;r++)n[r]=arguments[r];var o={};try{for(var i=l(n),a=i.next();!a.done;a=i.next()){var u=a.value;for(var s in u)u.hasOwnProperty(s)&&(o[s]=!0)}}catch(t){e={error:t}}finally{try{a&&!a.done&&(t=i.return)&&t.call(i)}finally{if(e)throw e.error}}return o}var Pr,Nr,Tr=kr("area,br,col,hr,img,wbr"),jr=kr("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Dr=kr("rp,rt"),Ar=Or(Dr,jr),Sr=Or(jr,kr("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")),Rr=Or(Dr,kr("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")),Vr=Or(Tr,Sr,Rr,Ar),Mr=kr("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Fr=kr("srcset"),Hr=kr("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"),Lr=kr("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"),Br=Or(Mr,Fr,Hr,Lr),Ur=kr("script,style,template"),Qr=function(){function e(){this.sanitizedSomething=!1,this.buf=[]}return e.prototype.sanitizeChildren=function(e){for(var t=e.firstChild,n=!0;t;)if(t.nodeType===Node.ELEMENT_NODE?n=this.startElement(t):t.nodeType===Node.TEXT_NODE?this.chars(t.nodeValue):this.sanitizedSomething=!0,n&&t.firstChild)t=t.firstChild;else for(;t;){t.nodeType===Node.ELEMENT_NODE&&this.endElement(t);var r=this.checkClobberedElement(t,t.nextSibling);if(r){t=r;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")},e.prototype.startElement=function(e){var t=e.nodeName.toLowerCase();if(!Vr.hasOwnProperty(t))return this.sanitizedSomething=!0,!Ur.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);for(var n=e.attributes,r=0;r<n.length;r++){var o=n.item(r),i=o.name,a=i.toLowerCase();if(Br.hasOwnProperty(a)){var u=o.value;Mr[a]&&(u=xr(u)),Fr[a]&&(u=Er(u)),this.buf.push(" ",i,'="',Wr(u),'"')}else this.sanitizedSomething=!0}return this.buf.push(">"),!0},e.prototype.endElement=function(e){var t=e.nodeName.toLowerCase();Vr.hasOwnProperty(t)&&!Tr.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))},e.prototype.chars=function(e){this.buf.push(Wr(e))},e.prototype.checkClobberedElement=function(e,t){if(t&&(e.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error("Failed to sanitize html because the element is clobbered: "+e.outerHTML);return t},e}(),zr=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,qr=/([^\#-~ |!])/g;function Wr(e){return e.replace(/&/g,"&").replace(zr,(function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"})).replace(qr,(function(e){return"&#"+e.charCodeAt(0)+";"})).replace(/</g,"<").replace(/>/g,">")}function Zr(e,t){var n=null;try{Pr=Pr||new br(e);var r=t?String(t):"";n=Pr.getInertBodyElement(r);var o=5,i=r;do{if(0===o)throw new Error("Failed to sanitize html because the input is unstable");o--,r=i,i=n.innerHTML,n=Pr.getInertBodyElement(r)}while(r!==i);var a=new Qr,u=a.sanitizeChildren(Kr(n)||n);return wr()&&a.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),u}finally{if(n)for(var s=Kr(n)||n;s.firstChild;)s.removeChild(s.firstChild)}}function Kr(e){return"content"in e&&function t(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}
/**
* @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)?e.content:null}(Nr=e.SecurityContext||(e.SecurityContext={}))[Nr.NONE=0]="NONE",Nr[Nr.HTML=1]="HTML",Nr[Nr.STYLE=2]="STYLE",Nr[Nr.SCRIPT=3]="SCRIPT",Nr[Nr.URL=4]="URL",Nr[Nr.RESOURCE_URL=5]="RESOURCE_URL";
/**
* @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 Gr=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|Z|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:attr|calc|var))\\([-0-9.%, #a-zA-Z]+\\))$","g"),Jr=/^url\(([^)]+)\)$/;function Yr(e){if(!(e=String(e).trim()))return"";var t=e.match(Jr);return t&&xr(t[1])===t[1]||e.match(Gr)&&function n(e){for(var t=!0,n=!0,r=0;r<e.length;r++){var o=e.charAt(r);"'"===o&&n?t=!t:'"'===o&&t&&(n=!n)}return t&&n}(e)?e:(wr()&&console.warn("WARNING: sanitizing unsafe style value "+e+" (see http://g.co/ng/security#xss)."),"unsafe")}
/**
* @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 $r(t){var n=uo();return n?n.sanitize(e.SecurityContext.HTML,t)||"":yr(t,"HTML")?vr(t):Zr(yt(),An(t))}function Xr(t){var n=uo();return n?n.sanitize(e.SecurityContext.STYLE,t)||"":yr(t,"Style")?vr(t):Yr(An(t))}function eo(t){var n=uo();return n?n.sanitize(e.SecurityContext.URL,t)||"":yr(t,"URL")?vr(t):xr(An(t))}function to(t){var n=uo();if(n)return n.sanitize(e.SecurityContext.RESOURCE_URL,t)||"";if(yr(t,"ResourceURL"))return vr(t);throw new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)")}function no(t){var n=uo();if(n)return n.sanitize(e.SecurityContext.SCRIPT,t)||"";if(yr(t,"Script"))return vr(t);throw new Error("unsafe value used in a script context")}function ro(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?to:eo}function oo(e,t,n){return ro(t,n)(e)}var io=function(e,t,n){if(void 0===t&&void 0===n)return Xr(e);var r=!0;return 1&(n=n||3)&&(r=ao(e)),2&n?r?Xr(t):vr(t):r};function ao(e){return"background-image"===e||"backgroundImage"===e||"background"===e||"border-image"===e||"borderImage"===e||"border-image-source"===e||"borderImageSource"===e||"filter"===e||"list-style"===e||"listStyle"===e||"list-style-image"===e||"listStyleImage"===e||"clip-path"===e||"clipPath"===e}function uo(){var e=Mt();return e&&e[12]}
/**
* @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 so=/([A-Z])/g;function lo(e){try{return null!=e?e.toString().slice(0,30):e}catch(e){return"[ERROR] Exception while trying to serialize the value"}}
/**
* @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 co(e){var t=kt(e);if(t){if(Array.isArray(t)){var n=t,r=void 0,o=void 0,i=void 0;if(function a(e){return e&&e.constructor&&e.constructor.ɵcmp}(e)){if(-1==(r=go(n,e)))throw new Error("The provided component was not found in the application");o=e}else if(function u(e){return e&&e.constructor&&e.constructor.ɵdir}(e)){if(-1==(r=function s(e,t){for(var n=e[1].firstChild;n;){for(var r=n.directiveEnd,o=n.directiveStart;o<r;o++)if(e[o]===t)return n.index;n=yo(n)}return-1}(n,e)))throw new Error("The provided directive was not found in the application");i=mo(r,n,!1)}else if(-1==(r=vo(n,e)))return null;var l=kt(y=_t(n[r])),c=l&&!Array.isArray(l)?l:fo(n,r,y);if(o&&void 0===c.component&&(c.component=o,ho(c.component,c)),i&&void 0===c.directives){c.directives=i;for(var f=0;f<i.length;f++)ho(i[f],c)}ho(c.native,c),t=c}}else for(var d=e,p=d;p=p.parentNode;){var h=kt(p);if(h){if(n=void 0,!(n=Array.isArray(h)?h:h.lView))return null;var v=vo(n,d);if(v>=0){var y;ho(y=_t(n[v]),c=fo(n,v,y)),t=c;break}}}return t||null}function fo(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function po(e){var t,n=kt(e);if(Array.isArray(n)){var r=go(n,e);(o=fo(n,r,(t=Et(r,n))[0])).component=e,ho(e,o),ho(o.native,o)}else{var o;t=Et((o=n).nodeIndex,o.lView)}return t}function ho(e,t){e.__ngContext__=t}function vo(e,t){for(var n=e[1].firstChild;n;){if(Ct(n,e)===t)return n.index;n=yo(n)}return-1}function yo(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 go(e,t){var n=e[1].components;if(n)for(var r=0;r<n.length;r++){var o=n[r];if(Et(o,e)[8]===t)return o}else if(Et(20,e)[8]===t)return 20;return-1}function mo(e,t,n){var r=t[1].data[e],o=r.directiveStart;return 0==o?ze:(!n&&2&r.flags&&o++,t.slice(o,r.directiveEnd))}function _o(e){throw new Error("Multiple components match node with tagname "+e.tagName)}function wo(){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
*/
function bo(e,t,n){for(var r=e.length;;){var o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){var i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+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 Co(e,t,n){for(var r=0;r<e.length;){var o=e[r++];if(n&&"class"===o){if(-1!==bo((o=e[r]).toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Io(e){return 0===e.type&&"ng-template"!==e.tagName}function xo(e,t,n){return t===(0!==e.type||n?e.tagName:"ng-template")}function Eo(e,t,n){for(var r=4,o=e.attrs||[],i=function a(e){for(var t=0;t<e.length;t++)if(En(e[t]))return t;return e.length}(o),u=!1,s=0;s<t.length;s++){var l=t[s];if("number"!=typeof l){if(!u)if(4&r){if(r=2|1&r,""!==l&&!xo(e,l,n)||""===l&&1===t.length){if(ko(r))return!1;u=!0}}else{var c=8&r?l:t[++s];if(8&r&&null!==e.attrs){if(!Co(e.attrs,c,n)){if(ko(r))return!1;u=!0}continue}var f=Oo(8&r?"class":l,o,Io(e),n);if(-1===f){if(ko(r))return!1;u=!0;continue}if(""!==c){var d;d=f>i?"":o[f+1].toLowerCase();var p=8&r?d:null;if(p&&-1!==bo(p,c,0)||2&r&&c!==d){if(ko(r))return!1;u=!0}}}}else{if(!u&&!ko(r)&&!ko(l))return!1;if(u&&ko(l))continue;u=!1,r=l|1&r}}return ko(r)||u}function ko(e){return 0==(1&e)}function Oo(e,t,n,r){if(null===t)return-1;var o=0;if(r||!n){for(var i=!1;o<t.length;){var a=t[o];if(a===e)return o;if(3===a||6===a)i=!0;else{if(1===a||2===a){for(var u=t[++o];"string"==typeof u;)u=t[++o];continue}if(4===a)break;if(0===a){o+=4;continue}}o+=i?1:2}return-1}return function s(e,t){var n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){var r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function Po(e,t,n){void 0===n&&(n=!1);for(var r=0;r<t.length;r++)if(Eo(e,t[r],n))return!0;return!1}funct