text: (window.webpackJsonp=window.webpackJsonp||[]).push([[1],{0:function(e,t,n){e.exports=n("zUnb")},KS1m:function(e,t,n){var r,s,o;!function(i){if("object"==typeof e.exports){var a=i(0,t);void 0!==a&&(e.exports=a)}else s=[n,t],void 0===(o="function"==typeof(r=i)?r.apply(t,s):r)||(e.exports=o)}(function(e,t){"use strict";Object.defineProperty(t,"__esModule",{value:!0});var n=void 0;t.default=["hi",[["\u092a\u0942","\u0905"],["\u092a\u0942\u0930\u094d\u0935\u093e\u0939\u094d\u0928","\u0905\u092a\u0930\u093e\u0939\u094d\u0928"],n],n,[["\u0930","\u0938\u094b","\u092e\u0902","\u092c\u0941","\u0917\u0941","\u0936\u0941","\u0936"],["\u0930\u0935\u093f","\u0938\u094b\u092e","\u092e\u0902\u0917\u0932","\u092c\u0941\u0927","\u0917\u0941\u0930\u0941","\u0936\u0941\u0915\u094d\u0930","\u0936\u0928\u093f"],["\u0930\u0935\u093f\u0935\u093e\u0930","\u0938\u094b\u092e\u0935\u093e\u0930","\u092e\u0902\u0917\u0932\u0935\u093e\u0930","\u092c\u0941\u0927\u0935\u093e\u0930","\u0917\u0941\u0930\u0941\u0935\u093e\u0930","\u0936\u0941\u0915\u094d\u0930\u0935\u093e\u0930","\u0936\u0928\u093f\u0935\u093e\u0930"],["\u0930","\u0938\u094b","\u092e\u0902","\u092c\u0941","\u0917\u0941","\u0936\u0941","\u0936"]],n,[["\u091c","\u092b\u093c","\u092e\u093e","\u0905","\u092e","\u091c\u0942","\u091c\u0941","\u0905","\u0938\u093f","\u0905","\u0928","\u0926\u093f"],["\u091c\u0928\u0970","\u092b\u093c\u0930\u0970","\u092e\u093e\u0930\u094d\u091a","\u0905\u092a\u094d\u0930\u0948\u0932","\u092e\u0908","\u091c\u0942\u0928","\u091c\u0941\u0932\u0970","\u0905\u0917\u0970","\u0938\u093f\u0924\u0970","\u0905\u0915\u094d\u0924\u0942\u0970","\u0928\u0935\u0970","\u0926\u093f\u0938\u0970"],["\u091c\u0928\u0935\u0930\u0940","\u092b\u093c\u0930\u0935\u0930\u0940","\u092e\u093e\u0930\u094d\u091a","\u0905\u092a\u094d\u0930\u0948\u0932","\u092e\u0908","\u091c\u0942\u0928","\u091c\u0941\u0932\u093e\u0908","\u0905\u0917\u0938\u094d\u0924","\u0938\u093f\u0924\u0902\u092c\u0930","\u0905\u0915\u094d\u0924\u0942\u092c\u0930","\u0928\u0935\u0902\u092c\u0930","\u0926\u093f\u0938\u0902\u092c\u0930"]],n,[["\u0908\u0938\u093e-\u092a\u0942\u0930\u094d\u0935","\u0908\u0938\u094d\u0935\u0940"],n,["\u0908\u0938\u093e-\u092a\u0942\u0930\u094d\u0935","\u0908\u0938\u0935\u0940 \u0938\u0928"]],0,[0,0],["d/M/yy","d MMM y","d MMMM y","EEEE, d MMMM y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",n,"{1} \u0915\u094b {0}",n],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##,##0.###","#,##,##0%","\xa4#,##,##0.00","[#E0]"],"\u20b9","\u092d\u093e\u0930\u0924\u0940\u092f \u0930\u0941\u092a\u092f\u093e",{JPY:["JP\xa5","\xa5"],RON:[n,"\u0932\u0947\u0908"],THB:["\u0e3f"],TWD:["NT$"]},function(e){return 0===Math.floor(Math.abs(e))||1===e?1:5}]})},crnd:function(e,t){function n(e){return Promise.resolve().then(function(){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t})}n.keys=function(){return[]},n.resolve=n,e.exports=n,n.id="crnd"},zUnb:function(e,t,n){"use strict";n.r(t);var r=n("KS1m"),s=n.n(r);function o(e){return"function"==typeof e}let i=!1;const a={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){i=e},get useDeprecatedSynchronousErrorHandling(){return i}};function l(e){setTimeout(()=>{throw e},0)}const c={closed:!0,next(e){},error(e){if(a.useDeprecatedSynchronousErrorHandling)throw e;l(e)},complete(){}},u=Array.isArray||(e=>e&&"number"==typeof e.length);function d(e){return null!==e&&"object"==typeof e}function h(e){return Error.call(this),this.message=e?`${e.length} errors occurred during unsubscription:\n${e.map((e,t)=>`${t+1}) ${e.toString()}`).join("\n  ")}`:"",this.name="UnsubscriptionError",this.errors=e,this}h.prototype=Object.create(Error.prototype);const f=h,p=(()=>{class e{constructor(e){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,e&&(this._unsubscribe=e)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_unsubscribe:r,_subscriptions:s}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof e)n.remove(this);else if(null!==n)for(let e=0;e<n.length;++e)n[e].remove(this);if(o(r))try{r.call(this)}catch(i){t=i instanceof f?g(i.errors):[i]}if(u(s)){let e=-1,n=s.length;for(;++e<n;){const n=s[e];if(d(n))try{n.unsubscribe()}catch(i){t=t||[],i instanceof f?t=t.concat(g(i.errors)):t.push(i)}}}if(t)throw new f(t)}add(t){let n=t;if(!t)return e.EMPTY;switch(typeof t){case"function":n=new e(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof e)){const t=n;(n=new e)._subscriptions=[t]}break;default:throw new Error("unrecognized teardown "+t+" added to Subscription.")}let{_parentOrParents:r}=n;if(null===r)n._parentOrParents=this;else if(r instanceof e){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const s=this._subscriptions;return null===s?this._subscriptions=[n]:s.push(n),n}remove(e){const t=this._subscriptions;if(t){const n=t.indexOf(e);-1!==n&&t.splice(n,1)}}}return e.EMPTY=function(e){return e.closed=!0,e}(new e),e})();function g(e){return e.reduce((e,t)=>e.concat(t instanceof f?t.errors:t),[])}const m="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class _ extends p{constructor(e,t,n){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=c;break;case 1:if(!e){this.destination=c;break}if("object"==typeof e){e instanceof _?(this.syncErrorThrowable=e.syncErrorThrowable,this.destination=e,e.add(this)):(this.syncErrorThrowable=!0,this.destination=new y(this,e));break}default:this.syncErrorThrowable=!0,this.destination=new y(this,e,t,n)}}[m](){return this}static create(e,t,n){const r=new _(e,t,n);return r.syncErrorThrowable=!1,r}next(e){this.isStopped||this._next(e)}error(e){this.isStopped||(this.isStopped=!0,this._error(e))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(e){this.destination.next(e)}_error(e){this.destination.error(e),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:e}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=e,this}}class y extends _{constructor(e,t,n,r){let s;super(),this._parentSubscriber=e;let i=this;o(t)?s=t:t&&(s=t.next,n=t.error,r=t.complete,t!==c&&(o((i=Object.create(t)).unsubscribe)&&this.add(i.unsubscribe.bind(i)),i.unsubscribe=this.unsubscribe.bind(this))),this._context=i,this._next=s,this._error=n,this._complete=r}next(e){if(!this.isStopped&&this._next){const{_parentSubscriber:t}=this;a.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?this.__tryOrSetError(t,this._next,e)&&this.unsubscribe():this.__tryOrUnsub(this._next,e)}}error(e){if(!this.isStopped){const{_parentSubscriber:t}=this,{useDeprecatedSynchronousErrorHandling:n}=a;if(this._error)n&&t.syncErrorThrowable?(this.__tryOrSetError(t,this._error,e),this.unsubscribe()):(this.__tryOrUnsub(this._error,e),this.unsubscribe());else if(t.syncErrorThrowable)n?(t.syncErrorValue=e,t.syncErrorThrown=!0):l(e),this.unsubscribe();else{if(this.unsubscribe(),n)throw e;l(e)}}}complete(){if(!this.isStopped){const{_parentSubscriber:e}=this;if(this._complete){const t=()=>this._complete.call(this._context);a.useDeprecatedSynchronousErrorHandling&&e.syncErrorThrowable?(this.__tryOrSetError(e,t),this.unsubscribe()):(this.__tryOrUnsub(t),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(e,t){try{e.call(this._context,t)}catch(n){if(this.unsubscribe(),a.useDeprecatedSynchronousErrorHandling)throw n;l(n)}}__tryOrSetError(e,t,n){if(!a.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{t.call(this._context,n)}catch(r){return a.useDeprecatedSynchronousErrorHandling?(e.syncErrorValue=r,e.syncErrorThrown=!0,!0):(l(r),!0)}return!1}_unsubscribe(){const{_parentSubscriber:e}=this;this._context=null,this._parentSubscriber=null,e.unsubscribe()}}const w="function"==typeof Symbol&&Symbol.observable||"@@observable";const b=(()=>{class e{constructor(e){this._isScalar=!1,e&&(this._subscribe=e)}lift(t){const n=new e;return n.source=this,n.operator=t,n}subscribe(e,t,n){const{operator:r}=this,s=function(e,t,n){if(e){if(e instanceof _)return e;if(e[m])return e[m]()}return e||t||n?new _(e,t,n):new _(c)}(e,t,n);if(s.add(r?r.call(s,this.source):this.source||a.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),a.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(e){try{return this._subscribe(e)}catch(t){a.useDeprecatedSynchronousErrorHandling&&(e.syncErrorThrown=!0,e.syncErrorValue=t),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof _?n:null}return!0}(e)?e.error(t):console.warn(t)}}forEach(e,t){return new(t=v(t))((t,n)=>{let r;r=this.subscribe(t=>{try{e(t)}catch(s){n(s),r&&r.unsubscribe()}},n,t)})}_subscribe(e){const{source:t}=this;return t&&t.subscribe(e)}[w](){return this}pipe(...e){return 0===e.length?this:((t=e)?1===t.length?t[0]:function(e){return t.reduce((e,t)=>t(e),e)}:function(){})(this);var t}toPromise(e){return new(e=v(e))((e,t)=>{let n;this.subscribe(e=>n=e,e=>t(e),()=>e(n))})}}return e.create=(t=>new e(t)),e})();function v(e){if(e||(e=a.Promise||Promise),!e)throw new Error("no Promise impl found");return e}function E(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}E.prototype=Object.create(Error.prototype);const C=E;class x extends p{constructor(e,t){super(),this.subject=e,this.subscriber=t,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const e=this.subject,t=e.observers;if(this.subject=null,!t||0===t.length||e.isStopped||e.closed)return;const n=t.indexOf(this.subscriber);-1!==n&&t.splice(n,1)}}class T extends _{constructor(e){super(e),this.destination=e}}const k=(()=>{class e extends b{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[m](){return new T(this)}lift(e){const t=new N(this,this);return t.operator=e,t}next(e){if(this.closed)throw new C;if(!this.isStopped){const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].next(e)}}error(e){if(this.closed)throw new C;this.hasError=!0,this.thrownError=e,this.isStopped=!0;const{observers:t}=this,n=t.length,r=t.slice();for(let s=0;s<n;s++)r[s].error(e);this.observers.length=0}complete(){if(this.closed)throw new C;this.isStopped=!0;const{observers:e}=this,t=e.length,n=e.slice();for(let r=0;r<t;r++)n[r].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(e){if(this.closed)throw new C;return super._trySubscribe(e)}_subscribe(e){if(this.closed)throw new C;return this.hasError?(e.error(this.thrownError),p.EMPTY):this.isStopped?(e.complete(),p.EMPTY):(this.observers.push(e),new x(this,e))}asObservable(){const e=new b;return e.source=this,e}}return e.create=((e,t)=>new N(e,t)),e})();class N extends k{constructor(e,t){super(),this.destination=e,this.source=t}next(e){const{destination:t}=this;t&&t.next&&t.next(e)}error(e){const{destination:t}=this;t&&t.error&&this.destination.error(e)}complete(){const{destination:e}=this;e&&e.complete&&this.destination.complete()}_subscribe(e){const{source:t}=this;return t?this.source.subscribe(e):p.EMPTY}}class I extends _{constructor(e,t,n){super(),this.parent=e,this.outerValue=t,this.outerIndex=n,this.index=0}_next(e){this.parent.notifyNext(this.outerValue,e,this.outerIndex,this.index++,this)}_error(e){this.parent.notifyError(e,this),this.unsubscribe()}_complete(){this.parent.notifyComplete(this),this.unsubscribe()}}const S=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()};function A(){return"function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"}const D=A();const M=e=>{if(e&&"function"==typeof e[w])return(e=>t=>{const n=e[w]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)})(e);if((e=>e&&"number"==typeof e.length&&"function"!=typeof e)(e))return S(e);if(function(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}(e))return(e=>t=>(e.then(e=>{t.closed||(t.next(e),t.complete())},e=>t.error(e)).then(null,l),t))(e);if(e&&"function"==typeof e[D])return(e=>t=>{const n=e[D]();for(;;){const e=n.next();if(e.done){t.complete();break}if(t.next(e.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t})(e);{const t=d(e)?"an invalid object":`'${e}'`;throw new TypeError(`You provided ${t} where a stream was expected.`+" You can provide an Observable, Promise, Array, or Iterable.")}};class R extends _{notifyNext(e,t,n,r,s){this.destination.next(t)}notifyError(e,t){this.destination.error(e)}notifyComplete(e){this.destination.complete()}}class O{constructor(e,t){this.project=e,this.thisArg=t}call(e,t){return t.subscribe(new P(e,this.project,this.thisArg))}}class P extends _{constructor(e,t,n){super(e),this.project=t,this.count=0,this.thisArg=n||this}_next(e){let t;try{t=this.project.call(this.thisArg,e,this.count++)}catch(n){return void this.destination.error(n)}this.destination.next(t)}}class V{constructor(e,t=Number.POSITIVE_INFINITY){this.project=e,this.concurrent=t}call(e,t){return t.subscribe(new H(e,this.project,this.concurrent))}}class H extends R{constructor(e,t,n=Number.POSITIVE_INFINITY){super(e),this.project=t,this.concurrent=n,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(e){this.active<this.concurrent?this._tryNext(e):this.buffer.push(e)}_tryNext(e){let t;const n=this.index++;try{t=this.project(e,n)}catch(r){return void this.destination.error(r)}this.active++,this._innerSub(t,e,n)}_innerSub(e,t,n){const r=new I(this,void 0,void 0);this.destination.add(r),function(e,t,n,r,s=new I(e,n,r)){s.closed||(t instanceof b?t.subscribe(s):M(t)(s))}(this,e,t,n,r)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(e,t,n,r,s){this.destination.next(t)}notifyComplete(e){const t=this.buffer;this.remove(e),this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function F(e){return e}function j(){return function(e){return e.lift(new L(e))}}class L{constructor(e){this.connectable=e}call(e,t){const{connectable:n}=this;n._refCount++;const r=new B(e,n),s=t.subscribe(r);return r.closed||(r.connection=n.connect()),s}}class B extends _{constructor(e,t){super(e),this.connectable=t}_unsubscribe(){const{connectable:e}=this;if(!e)return void(this.connection=null);this.connectable=null;const t=e._refCount;if(t<=0)return void(this.connection=null);if(e._refCount=t-1,t>1)return void(this.connection=null);const{connection:n}=this,r=e._connection;this.connection=null,!r||n&&r!==n||r.unsubscribe()}}const z=class extends b{constructor(e,t){super(),this.source=e,this.subjectFactory=t,this._refCount=0,this._isComplete=!1}_subscribe(e){return this.getSubject().subscribe(e)}getSubject(){const e=this._subject;return e&&!e.isStopped||(this._subject=this.subjectFactory()),this._subject}connect(){let e=this._connection;return e||(this._isComplete=!1,(e=this._connection=new p).add(this.source.subscribe(new U(this.getSubject(),this))),e.closed&&(this._connection=null,e=p.EMPTY)),e}refCount(){return j()(this)}}.prototype,$={operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:z._subscribe},_isComplete:{value:z._isComplete,writable:!0},getSubject:{value:z.getSubject},connect:{value:z.connect},refCount:{value:z.refCount}};class U extends T{constructor(e,t){super(e),this.connectable=t}_error(e){this._unsubscribe(),super._error(e)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const e=this.connectable;if(e){this.connectable=null;const t=e._connection;e._refCount=0,e._subject=null,e._connection=null,t&&t.unsubscribe()}}}function Z(){return new k}const Q="__parameters__";function q(e,t,n){const r=function(e){return function(...t){if(e){const n=e(...t);for(const e in n)this[e]=n[e]}}}(t);function s(...e){if(this instanceof s)return r.apply(this,e),this;const t=new s(...e);return n.annotation=t,n;function n(e,n,r){const s=e.hasOwnProperty(Q)?e[Q]:Object.defineProperty(e,Q,{value:[]})[Q];for(;s.length<=r;)s.push(null);return(s[r]=s[r]||[]).push(t),e}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s}const K=q("Inject",e=>({token:e})),G=q("Optional"),W=q("Self"),Y=q("SkipSelf");var J=function(e){return e[e.Default=0]="Default",e[e.Host=1]="Host",e[e.Self=2]="Self",e[e.SkipSelf=4]="SkipSelf",e[e.Optional=8]="Optional",e}({});function X(e){for(let t in e)if(e[t]===X)return t;throw Error("Could not find renamed property on target object.")}function ee(e){return{providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function te(e){return e&&e.hasOwnProperty(ne)?e[ne]:null}const ne=X({ngInjectableDef:X});function re(e){if("string"==typeof e)return e;if(e instanceof Array)return"["+e.map(re).join(", ")+"]";if(null==e)return""+e;if(e.overriddenName)return`${e.overriddenName}`;if(e.name)return`${e.name}`;const t=e.toString();if(null==t)return""+t;const n=t.indexOf("\n");return-1===n?t:t.substring(0,n)}const se=X({__forward_ref__:X});function oe(e){return e.__forward_ref__=oe,e.toString=function(){return re(this())},e}function ie(e){const t=e;return"function"==typeof t&&t.hasOwnProperty(se)&&t.__forward_ref__===oe?t():e}function ae(){const e="undefined"!=typeof globalThis&&globalThis,t="undefined"!=typeof window&&window,n="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,r="undefined"!=typeof global&&global;return e||r||t||n}const le=ae();let ce,ue=void 0;function de(e){const t=ue;return ue=e,t}class he{constructor(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=ee({providedIn:t.providedIn||"root",factory:t.factory}))}toString(){return`InjectionToken ${this._desc}`}}const fe="__source",pe=new Object,ge=new he("INJECTOR",-1);class me{get(e,t=pe){if(t===pe){const t=new Error(`NullInjectorError: No provider for ${re(e)}!`);throw t.name="NullInjectorError",t}return t}}const _e=(()=>{class e{static create(e,t){return Array.isArray(e)?new Ne(e,t):new Ne(e.providers,e.parent,e.name||null)}}return e.THROW_IF_NOT_FOUND=pe,e.NULL=new me,e.ngInjectableDef=ee({providedIn:"any",factory:()=>(function(e,t=J.Default){return(ce||function(e,t=J.Default){if(void 0===ue)throw new Error("inject() must be called from an injection context");return null===ue?function(e,t,n){const r=te(e);if(r&&"root"==r.providedIn)return void 0===r.value?r.value=r.factory():r.value;if(n&J.Optional)return null;throw new Error(`Injector: NOT_FOUND [${re(e)}]`)}(e,0,t):ue.get(e,t&J.Optional?null:void 0,t)})(e,t)})(ge)}),e.__NG_ELEMENT_ID__=-1,e})(),ye=function(e){return e},we=[],be=ye,ve=function(){return Array.prototype.slice.call(arguments)},Ee=X({provide:String,useValue:X}),Ce="ngTokenPath",xe="ngTempTokenPath",Te=/\n/gm,ke="\u0275";class Ne{constructor(e,t=_e.NULL,n=null){this.parent=t,this.source=n;const r=this._records=new Map;r.set(_e,{token:_e,fn:ye,deps:we,value:this,useNew:!1}),r.set(ge,{token:ge,fn:ye,deps:we,value:this,useNew:!1}),function e(t,n){if(n)if((n=ie(n))instanceof Array)for(let r=0;r<n.length;r++)e(t,n[r]);else{if("function"==typeof n)throw Ae("Function/Class not supported",n);if(!n||"object"!=typeof n||!n.provide)throw Ae("Unexpected provider",n);{let e=ie(n.provide);const r=function(e){const t=function(e){let t=we;const n=e.deps;if(n&&n.length){t=[];for(let e=0;e<n.length;e++){let r=6,s=ie(n[e]);if(s instanceof Array)for(let e=0,t=s;e<t.length;e++){const n=t[e];n instanceof G||n==G?r|=1:n instanceof Y||n==Y?r&=-3:n instanceof W||n==W?r&=-5:s=n instanceof K?n.token:ie(n)}t.push({token:s,options:r})}}else if(e.useExisting)t=[{token:ie(e.useExisting),options:6}];else if(!(n||Ee in e))throw Ae("'deps' required",e);return t}(e);let n=ye,r=we,s=!1,o=ie(e.provide);if(Ee in e)r=e.useValue;else if(e.useFactory)n=e.useFactory;else if(e.useExisting);else if(e.useClass)s=!0,n=ie(e.useClass);else{if("function"!=typeof o)throw Ae("StaticProvider does not have [useValue|useFactory|useExisting|useClass] or [provide] is not newable",e);s=!0,n=o}return{deps:t,fn:n,useNew:s,value:r}}(n);if(!0===n.multi){let r=t.get(e);if(r){if(r.fn!==ve)throw Ie(e)}else t.set(e,r={token:n.provide,deps:[],useNew:!1,fn:ve,value:we});r.deps.push({token:e=n,options:6})}const s=t.get(e);if(s&&s.fn==ve)throw Ie(e);t.set(e,r)}}}(r,e)}get(e,t,n=J.Default){const r=this._records.get(e);try{return function e(t,n,r,s,o,i){try{return function(t,n,r,s,o,i){let a;if(!n||i&J.SkipSelf)i&J.Self||(a=s.get(t,o,J.Default));else{if((a=n.value)==be)throw Error(ke+"Circular dependency");if(a===we){n.value=be;let t=void 0,o=n.useNew,i=n.fn,l=n.deps,c=we;if(l.length){c=[];for(let t=0;t<l.length;t++){const n=l[t],o=n.options,i=2&o?r.get(n.token):void 0;c.push(e(n.token,i,r,i||4&o?s:_e.NULL,1&o?null:_e.THROW_IF_NOT_FOUND,J.Default))}}n.value=a=o?new i(...c):i.apply(t,c)}}return a}(t,n,r,s,o,i)}catch(a){throw a instanceof Error||(a=new Error(a)),(a[xe]=a[xe]||[]).unshift(t),n&&n.value==be&&(n.value=we),a}}(e,r,this._records,this.parent,t,n)}catch(s){return function(e,t,n,r){const s=e[xe];throw t[fe]&&s.unshift(t[fe]),e.message=Se("\n"+e.message,s,"StaticInjectorError",r),e[Ce]=s,e[xe]=null,e}(s,e,0,this.source)}}toString(){const e=[];return this._records.forEach((t,n)=>e.push(re(n))),`StaticInjector[${e.join(", ")}]`}}function Ie(e){return Ae("Cannot mix multi providers and regular providers",e)}function Se(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&e.charAt(1)==ke?e.substr(2):e;let s=re(t);if(t instanceof Array)s=t.map(re).join(" -> ");else if("object"==typeof t){let e=[];for(let n in t)if(t.hasOwnProperty(n)){let r=t[n];e.push(n+":"+("string"==typeof r?JSON.stringify(r):re(r)))}s=`{${e.join(", ")}}`}return`${n}${r?"("+r+")":""}[${s}]: ${e.replace(Te,"\n  ")}`}function Ae(e,t){return new Error(Se(e,t,"StaticInjectorError"))}const De="ngDebugContext",Me="ngOriginalError",Re="ngErrorLogger",Oe=function(){var e={Emulated:0,Native:1,None:2,ShadowDom:3};return e[e.Emulated]="Emulated",e[e.Native]="Native",e[e.None]="None",e[e.ShadowDom]="ShadowDom",e}(),Pe=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(le))();function Ve(e){return e[De]}function He(e){return e[Me]}function Fe(e,...t){e.error(...t)}class je{constructor(){this._console=console}handleError(e){const t=this._findOriginalError(e),n=this._findContext(e),r=function(e){return e[Re]||Fe}(e);r(this._console,"ERROR",e),t&&r(this._console,"ORIGINAL ERROR",t),n&&r(this._console,"ERROR CONTEXT",n)}_findContext(e){return e?Ve(e)?Ve(e):this._findContext(He(e)):null}_findOriginalError(e){let t=He(e);for(;t&&He(t);)t=He(t);return t}}let Le=!0,Be=!1;function ze(){return Be=!0,Le}class $e{constructor(e){if(this.defaultDoc=e,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),this.inertBodyElement=this.inertDocument.body,null==this.inertBodyElement){const e=this.inertDocument.createElement("html");this.inertDocument.appendChild(e),this.inertBodyElement=this.inertDocument.createElement("body"),e.appendChild(this.inertBodyElement)}this.inertBodyElement.innerHTML='<svg><g onload="this.parentNode.remove()"></g></svg>',!this.inertBodyElement.querySelector||this.inertBodyElement.querySelector("svg")?(this.inertBodyElement.innerHTML='<svg><p><style><img src="</style><img src=x onerror=alert(1)//">',this.getInertBodyElement=this.inertBodyElement.querySelector&&this.inertBodyElement.querySelector("svg img")&&function(){try{return!!window.DOMParser}catch(e){return!1}}()?this.getInertBodyElement_DOMParser:this.getInertBodyElement_InertDocument):this.getInertBodyElement=this.getInertBodyElement_XHR}getInertBodyElement_XHR(e){e="<body><remove></remove>"+e+"</body>";try{e=encodeURI(e)}catch(r){return null}const t=new XMLHttpRequest;t.responseType="document",t.open("GET","data:text/html;charset=utf-8,"+e,!1),t.send(void 0);const n=t.response.body;return n.removeChild(n.firstChild),n}getInertBodyElement_DOMParser(e){e="<body><remove></remove>"+e+"</body>";try{const n=(new window.DOMParser).parseFromString(e,"text/html").body;return n.removeChild(n.firstChild),n}catch(t){return null}}getInertBodyElement_InertDocument(e){const t=this.inertDocument.createElement("template");return"content"in t?(t.innerHTML=e,t):(this.inertBodyElement.innerHTML=e,this.defaultDoc.documentMode&&this.stripCustomNsAttrs(this.inertBodyElement),this.inertBodyElement)}stripCustomNsAttrs(e){const t=e.attributes;for(let r=t.length-1;0<r;r--){const n=t.item(r).name;"xmlns:ns1"!==n&&0!==n.indexOf("ns1:")||e.removeAttribute(n)}let n=e.firstChild;for(;n;)n.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(n),n=n.nextSibling}}const Ue=/^(?:(?:https?|mailto|ftp|tel|file):|[^&:/?#]*(?:[/?#]|$))/gi,Ze=/^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 Qe(e){return(e=String(e)).match(Ue)||e.match(Ze)?e:(ze()&&console.warn(`WARNING: sanitizing unsafe URL value ${e} (see http://g.co/ng/security#xss)`),"unsafe:"+e)}function qe(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Ke(...e){const t={};for(const n of e)for(const e in n)n.hasOwnProperty(e)&&(t[e]=!0);return t}const Ge=qe("area,br,col,hr,img,wbr"),We=qe("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),Ye=qe("rp,rt"),Je=Ke(Ye,We),Xe=Ke(Ge,Ke(We,qe("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")),Ke(Ye,qe("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")),Je),et=qe("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),tt=qe("srcset"),nt=Ke(et,tt,qe("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"),qe("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")),rt=qe("script,style,template");class st{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(e){let t=e.firstChild,n=!0;for(;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);let e=this.checkClobberedElement(t,t.nextSibling);if(e){t=e;break}t=this.checkClobberedElement(t,t.parentNode)}return this.buf.join("")}startElement(e){const t=e.nodeName.toLowerCase();if(!Xe.hasOwnProperty(t))return this.sanitizedSomething=!0,!rt.hasOwnProperty(t);this.buf.push("<"),this.buf.push(t);const n=e.attributes;for(let s=0;s<n.length;s++){const e=n.item(s),t=e.name,o=t.toLowerCase();if(!nt.hasOwnProperty(o)){this.sanitizedSomething=!0;continue}let i=e.value;et[o]&&(i=Qe(i)),tt[o]&&(r=i,i=(r=String(r)).split(",").map(e=>Qe(e.trim())).join(", ")),this.buf.push(" ",t,'="',at(i),'"')}var r;return this.buf.push(">"),!0}endElement(e){const t=e.nodeName.toLowerCase();Xe.hasOwnProperty(t)&&!Ge.hasOwnProperty(t)&&(this.buf.push("</"),this.buf.push(t),this.buf.push(">"))}chars(e){this.buf.push(at(e))}checkClobberedElement(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}}const ot=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,it=/([^\#-~ |!])/g;function at(e){return e.replace(/&/g,"&amp;").replace(ot,function(e){return"&#"+(1024*(e.charCodeAt(0)-55296)+(e.charCodeAt(1)-56320)+65536)+";"}).replace(it,function(e){return"&#"+e.charCodeAt(0)+";"}).replace(/</g,"&lt;").replace(/>/g,"&gt;")}let lt;function ct(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}const ut=function(){var e={NONE:0,HTML:1,STYLE:2,SCRIPT:3,URL:4,RESOURCE_URL:5};return e[e.NONE]="NONE",e[e.HTML]="HTML",e[e.STYLE]="STYLE",e[e.SCRIPT]="SCRIPT",e[e.URL]="URL",e[e.RESOURCE_URL]="RESOURCE_URL",e}();class dt{}const ht=new RegExp("^([-,.\"'%_!# a-zA-Z0-9]+|(?:(?:matrix|translate|scale|rotate|skew|perspective)(?:X|Y|3d)?|(?:rgb|hsl)a?|(?:repeating-)?(?:linear|radial)-gradient|(?:calc|attr))\\([-0-9.%, #a-zA-Z]+\\))$","g"),ft=/^url\(([^)]+)\)$/,pt=/([A-Z])/g;function gt(e){try{return null!=e?e.toString().slice(0,30):e}catch(t){return"[ERROR] Exception while trying to serialize the value"}}function mt(e){return!!e&&"function"==typeof e.then}let _t=null;function yt(){if(!_t){const e=le.Symbol;if(e&&e.iterator)_t=e.iterator;else{const e=Object.getOwnPropertyNames(Map.prototype);for(let t=0;t<e.length;++t){const n=e[t];"entries"!==n&&"size"!==n&&Map.prototype[n]===Map.prototype.entries&&(_t=n)}}}return _t}function wt(e,t){return e===t||"number"==typeof e&&"number"==typeof t&&isNaN(e)&&isNaN(t)}function bt(e,t){const n=Et(e),r=Et(t);if(n&&r)return function(e,t,n){const r=e[yt()](),s=t[yt()]();for(;;){const e=r.next(),t=s.next();if(e.done&&t.done)return!0;if(e.done||t.done)return!1;if(!n(e.value,t.value))return!1}}(e,t,bt);{const s=e&&("object"==typeof e||"function"==typeof e),o=t&&("object"==typeof t||"function"==typeof t);return!(n||!s||r||!o)||wt(e,t)}}class vt{constructor(e){this.wrapped=e}static wrap(e){return new vt(e)}static unwrap(e){return vt.isWrapped(e)?e.wrapped:e}static isWrapped(e){return e instanceof vt}}function Et(e){return!!Ct(e)&&(Array.isArray(e)||!(e instanceof Map)&&yt()in e)}function Ct(e){return null!==e&&("function"==typeof e||"object"==typeof e)}class xt{constructor(e,t,n){this.previousValue=e,this.currentValue=t,this.firstChange=n}isFirstChange(){return this.firstChange}}const Tt=new he("The presence of this token marks an injector as being the root injector.");class kt{}class Nt{}function It(e){const t=Error(`No component factory found for ${re(e)}. Did you add it to @NgModule.entryComponents?`);return t[St]=e,t}const St="ngComponent";class At{resolveComponentFactory(e){throw It(e)}}const Dt=(()=>{class e{}return e.NULL=new At,e})();class Mt{constructor(e,t,n){this._parent=t,this._ngModule=n,this._factories=new Map;for(let r=0;r<e.length;r++){const t=e[r];this._factories.set(t.componentType,t)}}resolveComponentFactory(e){let t=this._factories.get(e);if(!t&&this._parent&&(t=this._parent.resolveComponentFactory(e)),!t)throw It(e);return new Rt(t,this._ngModule)}}class Rt extends Nt{constructor(e,t){super(),this.factory=e,this.ngModule=t,this.selector=e.selector,this.componentType=e.componentType,this.ngContentSelectors=e.ngContentSelectors,this.inputs=e.inputs,this.outputs=e.outputs}create(e,t,n,r){return this.factory.create(e,t,n,r||this.ngModule)}}class Ot{}class Pt{}function Vt(...e){}const Ht=(()=>{class e{constructor(e){this.nativeElement=e}}return e.__NG_ELEMENT_ID__=(()=>Ft(e)),e})(),Ft=Vt;class jt{}class Lt{}const Bt=function(){var e={Important:1,DashCase:2};return e[e.Important]="Important",e[e.DashCase]="DashCase",e}(),zt=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>$t()),e})(),$t=Vt;class Ut{constructor(e){this.full=e,this.major=e.split(".")[0],this.minor=e.split(".")[1],this.patch=e.split(".").slice(2).join(".")}}const Zt=new Ut("8.0.0");class Qt{constructor(){}supports(e){return Et(e)}create(e){return new Kt(e)}}const qt=(e,t)=>t;class Kt{constructor(e){this.length=0,this._linkedRecords=null,this._unlinkedRecords=null,this._previousItHead=null,this._itHead=null,this._itTail=null,this._additionsHead=null,this._additionsTail=null,this._movesHead=null,this._movesTail=null,this._removalsHead=null,this._removalsTail=null,this._identityChangesHead=null,this._identityChangesTail=null,this._trackByFn=e||qt}forEachItem(e){let t;for(t=this._itHead;null!==t;t=t._next)e(t)}forEachOperation(e){let t=this._itHead,n=this._removalsHead,r=0,s=null;for(;t||n;){const o=!n||t&&t.currentIndex<Jt(n,r,s)?t:n,i=Jt(o,r,s),a=o.currentIndex;if(o===n)r--,n=n._nextRemoved;else if(t=t._next,null==o.previousIndex)r++;else{s||(s=[]);const e=i-r,t=a-r;if(e!=t){for(let n=0;n<e;n++){const r=n<s.length?s[n]:s[n]=0,o=r+n;t<=o&&o<e&&(s[n]=r+1)}s[o.previousIndex]=t-e}}i!==a&&e(o,i,a)}}forEachPreviousItem(e){let t;for(t=this._previousItHead;null!==t;t=t._nextPrevious)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachMovedItem(e){let t;for(t=this._movesHead;null!==t;t=t._nextMoved)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}forEachIdentityChange(e){let t;for(t=this._identityChangesHead;null!==t;t=t._nextIdentityChange)e(t)}diff(e){if(null==e&&(e=[]),!Et(e))throw new Error(`Error trying to diff '${re(e)}'. Only arrays and iterables are allowed`);return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t,n,r,s=this._itHead,o=!1;if(Array.isArray(e)){this.length=e.length;for(let t=0;t<this.length;t++)r=this._trackByFn(t,n=e[t]),null!==s&&wt(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,n,r,t)),wt(s.item,n)||this._addIdentityChange(s,n)):(s=this._mismatch(s,n,r,t),o=!0),s=s._next}else t=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[yt()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(e,e=>{r=this._trackByFn(t,e),null!==s&&wt(s.trackById,r)?(o&&(s=this._verifyReinsertion(s,e,r,t)),wt(s.item,e)||this._addIdentityChange(s,e)):(s=this._mismatch(s,e,r,t),o=!0),s=s._next,t++}),this.length=t;return this._truncate(s),this.collection=e,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let e,t;for(e=this._previousItHead=this._itHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._additionsHead;null!==e;e=e._nextAdded)e.previousIndex=e.currentIndex;for(this._additionsHead=this._additionsTail=null,e=this._movesHead;null!==e;e=t)e.previousIndex=e.currentIndex,t=e._nextMoved;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(e,t,n,r){let s;return null===e?s=this._itTail:(s=e._prev,this._remove(e)),null!==(e=null===this._linkedRecords?null:this._linkedRecords.get(n,r))?(wt(e.item,t)||this._addIdentityChange(e,t),this._moveAfter(e,s,r)):null!==(e=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null))?(wt(e.item,t)||this._addIdentityChange(e,t),this._reinsertAfter(e,s,r)):e=this._addAfter(new Gt(t,n),s,r),e}_verifyReinsertion(e,t,n,r){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(n,null);return null!==s?e=this._reinsertAfter(s,e._prev,r):e.currentIndex!=r&&(e.currentIndex=r,this._addToMoves(e,r)),e}_truncate(e){for(;null!==e;){const t=e._next;this._addToRemovals(this._unlink(e)),e=t}null!==this._unlinkedRecords&&this._unlinkedRecords.clear(),null!==this._additionsTail&&(this._additionsTail._nextAdded=null),null!==this._movesTail&&(this._movesTail._nextMoved=null),null!==this._itTail&&(this._itTail._next=null),null!==this._removalsTail&&(this._removalsTail._nextRemoved=null),null!==this._identityChangesTail&&(this._identityChangesTail._nextIdentityChange=null)}_reinsertAfter(e,t,n){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(e);const r=e._prevRemoved,s=e._nextRemoved;return null===r?this._removalsHead=s:r._nextRemoved=s,null===s?this._removalsTail=r:s._prevRemoved=r,this._insertAfter(e,t,n),this._addToMoves(e,n),e}_moveAfter(e,t,n){return this._unlink(e),this._insertAfter(e,t,n),this._addToMoves(e,n),e}_addAfter(e,t,n){return this._insertAfter(e,t,n),this._additionsTail=null===this._additionsTail?this._additionsHead=e:this._additionsTail._nextAdded=e,e}_insertAfter(e,t,n){const r=null===t?this._itHead:t._next;return e._next=r,e._prev=t,null===r?this._itTail=e:r._prev=e,null===t?this._itHead=e:t._next=e,null===this._linkedRecords&&(this._linkedRecords=new Yt),this._linkedRecords.put(e),e.currentIndex=n,e}_remove(e){return this._addToRemovals(this._unlink(e))}_unlink(e){null!==this._linkedRecords&&this._linkedRecords.remove(e);const t=e._prev,n=e._next;return null===t?this._itHead=n:t._next=n,null===n?this._itTail=t:n._prev=t,e}_addToMoves(e,t){return e.previousIndex===t?e:(this._movesTail=null===this._movesTail?this._movesHead=e:this._movesTail._nextMoved=e,e)}_addToRemovals(e){return null===this._unlinkedRecords&&(this._unlinkedRecords=new Yt),this._unlinkedRecords.put(e),e.currentIndex=null,e._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=e,e._prevRemoved=null):(e._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=e),e}_addIdentityChange(e,t){return e.item=t,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=e:this._identityChangesTail._nextIdentityChange=e,e}}class Gt{constructor(e,t){this.item=e,this.trackById=t,this.currentIndex=null,this.previousIndex=null,this._nextPrevious=null,this._prev=null,this._next=null,this._prevDup=null,this._nextDup=null,this._prevRemoved=null,this._nextRemoved=null,this._nextAdded=null,this._nextMoved=null,this._nextIdentityChange=null}}class Wt{constructor(){this._head=null,this._tail=null}add(e){null===this._head?(this._head=this._tail=e,e._nextDup=null,e._prevDup=null):(this._tail._nextDup=e,e._prevDup=this._tail,e._nextDup=null,this._tail=e)}get(e,t){let n;for(n=this._head;null!==n;n=n._nextDup)if((null===t||t<=n.currentIndex)&&wt(n.trackById,e))return n;return null}remove(e){const t=e._prevDup,n=e._nextDup;return null===t?this._head=n:t._nextDup=n,null===n?this._tail=t:n._prevDup=t,null===this._head}}class Yt{constructor(){this.map=new Map}put(e){const t=e.trackById;let n=this.map.get(t);n||(n=new Wt,this.map.set(t,n)),n.add(e)}get(e,t){const n=this.map.get(e);return n?n.get(e,t):null}remove(e){const t=e.trackById;return this.map.get(t).remove(e)&&this.map.delete(t),e}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function Jt(e,t,n){const r=e.previousIndex;if(null===r)return r;let s=0;return n&&r<n.length&&(s=n[r]),r+t+s}class Xt{constructor(){}supports(e){return e instanceof Map||Ct(e)}create(){return new en}}class en{constructor(){this._records=new Map,this._mapHead=null,this._appendAfter=null,this._previousMapHead=null,this._changesHead=null,this._changesTail=null,this._additionsHead=null,this._additionsTail=null,this._removalsHead=null,this._removalsTail=null}get isDirty(){return null!==this._additionsHead||null!==this._changesHead||null!==this._removalsHead}forEachItem(e){let t;for(t=this._mapHead;null!==t;t=t._next)e(t)}forEachPreviousItem(e){let t;for(t=this._previousMapHead;null!==t;t=t._nextPrevious)e(t)}forEachChangedItem(e){let t;for(t=this._changesHead;null!==t;t=t._nextChanged)e(t)}forEachAddedItem(e){let t;for(t=this._additionsHead;null!==t;t=t._nextAdded)e(t)}forEachRemovedItem(e){let t;for(t=this._removalsHead;null!==t;t=t._nextRemoved)e(t)}diff(e){if(e){if(!(e instanceof Map||Ct(e)))throw new Error(`Error trying to diff '${re(e)}'. Only maps and objects are allowed`)}else e=new Map;return this.check(e)?this:null}onDestroy(){}check(e){this._reset();let t=this._mapHead;if(this._appendAfter=null,this._forEach(e,(e,n)=>{if(t&&t.key===n)this._maybeAddToChanges(t,e),this._appendAfter=t,t=t._next;else{const r=this._getOrCreateRecordForKey(n,e);t=this._insertBeforeOrAppend(t,r)}}),t){t._prev&&(t._prev._next=null),this._removalsHead=t;for(let e=t;null!==e;e=e._nextRemoved)e===this._mapHead&&(this._mapHead=null),this._records.delete(e.key),e._nextRemoved=e._next,e.previousValue=e.currentValue,e.currentValue=null,e._prev=null,e._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(e,t){if(e){const n=e._prev;return t._next=e,t._prev=n,e._prev=t,n&&(n._next=t),e===this._mapHead&&(this._mapHead=t),this._appendAfter=e,e}return this._appendAfter?(this._appendAfter._next=t,t._prev=this._appendAfter):this._mapHead=t,this._appendAfter=t,null}_getOrCreateRecordForKey(e,t){if(this._records.has(e)){const n=this._records.get(e);this._maybeAddToChanges(n,t);const r=n._prev,s=n._next;return r&&(r._next=s),s&&(s._prev=r),n._next=null,n._prev=null,n}const n=new tn(e);return this._records.set(e,n),n.currentValue=t,this._addToAdditions(n),n}_reset(){if(this.isDirty){let e;for(this._previousMapHead=this._mapHead,e=this._previousMapHead;null!==e;e=e._next)e._nextPrevious=e._next;for(e=this._changesHead;null!==e;e=e._nextChanged)e.previousValue=e.currentValue;for(e=this._additionsHead;null!=e;e=e._nextAdded)e.previousValue=e.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(e,t){wt(t,e.currentValue)||(e.previousValue=e.currentValue,e.currentValue=t,this._addToChanges(e))}_addToAdditions(e){null===this._additionsHead?this._additionsHead=this._additionsTail=e:(this._additionsTail._nextAdded=e,this._additionsTail=e)}_addToChanges(e){null===this._changesHead?this._changesHead=this._changesTail=e:(this._changesTail._nextChanged=e,this._changesTail=e)}_forEach(e,t){e instanceof Map?e.forEach(t):Object.keys(e).forEach(n=>t(e[n],n))}}class tn{constructor(e){this.key=e,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}const nn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(null!=n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend IterableDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Y,new G]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(null!=t)return t;throw new Error(`Cannot find a differ supporting object '${e}' of type '${n=e,n.name||typeof n}'`);var n}}return e.ngInjectableDef=ee({providedIn:"root",factory:()=>new e([new Qt])}),e})(),rn=(()=>{class e{constructor(e){this.factories=e}static create(t,n){if(n){const e=n.factories.slice();t=t.concat(e)}return new e(t)}static extend(t){return{provide:e,useFactory:n=>{if(!n)throw new Error("Cannot extend KeyValueDiffers without a parent injector");return e.create(t,n)},deps:[[e,new Y,new G]]}}find(e){const t=this.factories.find(t=>t.supports(e));if(t)return t;throw new Error(`Cannot find a differ supporting object '${e}'`)}}return e.ngInjectableDef=ee({providedIn:"root",factory:()=>new e([new Xt])}),e})(),sn=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>on()),e})(),on=(...e)=>{},an=[new Xt],ln=new nn([new Qt]),cn=new rn(an),un=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>dn(e,Ht)),e})(),dn=Vt,hn=(()=>{class e{}return e.__NG_ELEMENT_ID__=(()=>fn(e,Ht)),e})(),fn=Vt;function pn(e,t,n,r){let s=`ExpressionChangedAfterItHasBeenCheckedError: Expression has changed after it was checked. Previous value: '${t}'. Current value: '${n}'.`;return r&&(s+=" It seems like the view has been created after its parent and its children have been dirty checked. Has it been created in a change detection hook ?"),function(e,t){const n=new Error(e);return gn(n,t),n}(s,e)}function gn(e,t){e[De]=t,e[Re]=t.logError.bind(t)}function mn(e){return new Error(`ViewDestroyedError: Attempt to use a destroyed view: ${e}`)}function _n(e,t,n){const r=e.state,s=1792&r;return s===t?(e.state=-1793&r|n,e.initIndex=-1,!0):s===n}function yn(e,t,n){return(1792&e.state)===t&&e.initIndex<=n&&(e.initIndex=n+1,!0)}function wn(e,t){return e.nodes[t]}function bn(e,t){return e.nodes[t]}function vn(e,t){return e.nodes[t]}function En(e,t){return e.nodes[t]}function Cn(e,t){return e.nodes[t]}const xn={setCurrentNode:void 0,createRootView:void 0,createEmbeddedView:void 0,createComponentView:void 0,createNgModuleRef:void 0,overrideProvider:void 0,overrideComponentView:void 0,clearOverrides:void 0,checkAndUpdateView:void 0,checkNoChangesView:void 0,destroyView:void 0,resolveDep:void 0,createDebugContext:void 0,handleEvent:void 0,updateDirectives:void 0,updateRenderer:void 0,dirtyParentQueries:void 0},Tn=()=>{},kn=new Map;function Nn(e){let t=kn.get(e);return t||(t=re(e)+"_"+kn.size,kn.set(e,t)),t}const In="$$undefined",Sn="$$empty";function An(e){return{id:In,styles:e.styles,encapsulation:e.encapsulation,data:e.data}}let Dn=0;function Mn(e,t,n,r){return!(!(2&e.state)&&wt(e.oldValues[t.bindingIndex+n],r))}function Rn(e,t,n,r){return!!Mn(e,t,n,r)&&(e.oldValues[t.bindingIndex+n]=r,!0)}function On(e,t,n,r){const s=e.oldValues[t.bindingIndex+n];if(1&e.state||!bt(s,r)){const o=t.bindings[n].name;throw pn(xn.createDebugContext(e,t.nodeIndex),`${o}: ${s}`,`${o}: ${r}`,0!=(1&e.state))}}function Pn(e){let t=e;for(;t;)2&t.def.flags&&(t.state|=8),t=t.viewContainerParent||t.parent}function Vn(e,t){let n=e;for(;n&&n!==t;)n.state|=64,n=n.viewContainerParent||n.parent}function Hn(e,t,n,r){try{return Pn(33554432&e.def.nodes[t].flags?bn(e,t).componentView:e),xn.handleEvent(e,t,n,r)}catch(s){e.root.errorHandler.handleError(s)}}function Fn(e){return e.parent?bn(e.parent,e.parentNodeDef.nodeIndex):null}function jn(e){return e.parent?e.parentNodeDef.parent:null}function Ln(e,t){switch(201347067&t.flags){case 1:return bn(e,t.nodeIndex).renderElement;case 2:return wn(e,t.nodeIndex).renderText}}function Bn(e){return!!e.parent&&!!(32768&e.parentNodeDef.flags)}function zn(e){return!(!e.parent||32768&e.parentNodeDef.flags)}function $n(e){const t={};let n=0;const r={};return e&&e.forEach(([e,s])=>{"number"==typeof e?(t[e]=s,n|=function(e){return 1<<e%32}(e)):r[e]=s}),{matchedQueries:t,references:r,matchedQueryIds:n}}function Un(e,t){return e.map(e=>{let n,r;return Array.isArray(e)?[r,n]=e:(r=0,n=e),n&&("function"==typeof n||"object"==typeof n)&&t&&Object.defineProperty(n,fe,{value:t,configurable:!0}),{flags:r,token:n,tokenKey:Nn(n)}})}function Zn(e,t,n){let r=n.renderParent;return r?0==(1&r.flags)||0==(33554432&r.flags)||r.element.componentRendererType&&r.element.componentRendererType.encapsulation===Oe.Native?bn(e,n.renderParent.nodeIndex).renderElement:void 0:t}const Qn=new WeakMap;function qn(e){let t=Qn.get(e);return t||((t=e(()=>Tn)).factory=e,Qn.set(e,t)),t}function Kn(e,t,n,r,s){3===t&&(n=e.renderer.parentNode(Ln(e,e.def.lastRenderRootNode))),Gn(e,t,0,e.def.nodes.length-1,n,r,s)}function Gn(e,t,n,r,s,o,i){for(let a=n;a<=r;a++){const n=e.def.nodes[a];11&n.flags&&Yn(e,n,t,s,o,i),a+=n.childCount}}function Wn(e,t,n,r,s,o){let i=e;for(;i&&!Bn(i);)i=i.parent;const a=i.parent,l=jn(i),c=l.nodeIndex+l.childCount;for(let u=l.nodeIndex+1;u<=c;u++){const e=a.def.nodes[u];e.ngContentIndex===t&&Yn(a,e,n,r,s,o),u+=e.childCount}if(!a.parent){const i=e.root.projectableNodes[t];if(i)for(let t=0;t<i.length;t++)Jn(e,i[t],n,r,s,o)}}function Yn(e,t,n,r,s,o){if(8&t.flags)Wn(e,t.ngContent.index,n,r,s,o);else{const i=Ln(e,t);if(3===n&&33554432&t.flags&&48&t.bindingFlags?(16&t.bindingFlags&&Jn(e,i,n,r,s,o),32&t.bindingFlags&&Jn(bn(e,t.nodeIndex).componentView,i,n,r,s,o)):Jn(e,i,n,r,s,o),16777216&t.flags){const i=bn(e,t.nodeIndex).viewContainer._embeddedViews;for(let e=0;e<i.length;e++)Kn(i[e],n,r,s,o)}1&t.flags&&!t.element.name&&Gn(e,n,t.nodeIndex+1,t.nodeIndex+t.childCount,r,s,o)}}function Jn(e,t,n,r,s,o){const i=e.renderer;switch(n){case 1:i.appendChild(r,t);break;case 2:i.insertBefore(r,t,s);break;case 3:i.removeChild(r,t);break;case 0:o.push(t)}}const Xn=/^:([^:]+):(.+)$/;function er(e){if(":"===e[0]){const t=e.match(Xn);return[t[1],t[2]]}return["",e]}function tr(e){let t=0;for(let n=0;n<e.length;n++)t|=e[n].flags;return t}const nr=new Object,rr=Nn(_e),sr=Nn(ge),or=Nn(Ot);function ir(e,t,n,r){return n=ie(n),{index:-1,deps:Un(r,re(t)),flags:e,token:t,value:n}}function ar(e,t,n=_e.THROW_IF_NOT_FOUND){const r=de(e);try{if(8&t.flags)return t.token;if(2&t.flags&&(n=null),1&t.flags)return e._parent.get(t.token,n);const i=t.tokenKey;switch(i){case rr:case sr:case or:return e}const a=e._def.providersByKey[i];let l;if(a){let t=e._providers[a.index];return void 0===t&&(t=e._providers[a.index]=lr(e,a)),t===nr?void 0:t}if((l=te(t.token))&&(s=e,null!=(o=l).providedIn&&(function(e,t){return e._def.modules.indexOf(o.providedIn)>-1}(s)||"root"===o.providedIn&&s._def.isRoot))){const n=e._providers.length;return e._def.providers[n]=e._def.providersByKey[t.tokenKey]={flags:5120,value:l.factory,deps:[],index:n,token:t.token},e._providers[n]=nr,e._providers[n]=lr(e,e._def.providersByKey[t.tokenKey])}return 4&t.flags?n:e._parent.get(t.token,n)}finally{de(r)}var s,o}function lr(e,t){let n;switch(201347067&t.flags){case 512:n=function(e,t,n){const r=n.length;switch(r){case 0:return new t;case 1:return new t(ar(e,n[0]));case 2:return new t(ar(e,n[0]),ar(e,n[1]));case 3:return new t(ar(e,n[0]),ar(e,n[1]),ar(e,n[2]));default:const s=new Array(r);for(let t=0;t<r;t++)s[t]=ar(e,n[t]);return new t(...s)}}(e,t.value,t.deps);break;case 1024:n=function(e,t,n){const r=n.length;switch(r){case 0:return t();case 1:return t(ar(e,n[0]));case 2:return t(ar(e,n[0]),ar(e,n[1]));case 3:return t(ar(e,n[0]),ar(e,n[1]),ar(e,n[2]));default:const s=Array(r);for(let t=0;t<r;t++)s[t]=ar(e,n[t]);return t(...s)}}(e,t.value,t.deps);break;case 2048:n=ar(e,t.deps[0]);break;case 256:n=t.value}return n===nr||null===n||"object"!=typeof n||131072&t.flags||"function"!=typeof n.ngOnDestroy||(t.flags|=131072),void 0===n?nr:n}function cr(e,t){const n=e.viewContainer._embeddedViews;if((null==t||t>=n.length)&&(t=n.length-1),t<0)return null;const r=n[t];return r.viewContainerParent=null,fr(n,t),xn.dirtyParentQueries(r),dr(r),r}function ur(e,t,n){const r=t?Ln(t,t.def.lastRenderRootNode):e.renderElement,s=n.renderer.parentNode(r),o=n.renderer.nextSibling(r);Kn(n,2,s,o,void 0)}function dr(e){Kn(e,3,null,null,void 0)}function hr(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function fr(e,t){t>=e.length-1?e.pop():e.splice(t,1)}const pr=new Object;function gr(e,t,n,r,s,o){return new mr(e,t,n,r,s,o)}class mr extends Nt{constructor(e,t,n,r,s,o){super(),this.selector=e,this.componentType=t,this._inputs=r,this._outputs=s,this.ngContentSelectors=o,this.viewDefFactory=n}get inputs(){const e=[],t=this._inputs;for(let n in t)e.push({propName:n,templateName:t[n]});return e}get outputs(){const e=[];for(let t in this._outputs)e.push({propName:t,templateName:this._outputs[t]});return e}create(e,t,n,r){if(!r)throw new Error("ngModule should be provided");const s=qn(this.viewDefFactory),o=s.nodes[0].element.componentProvider.nodeIndex,i=xn.createRootView(e,t||[],n,s,r,pr),a=vn(i,o).instance;return n&&i.renderer.setAttribute(bn(i,0).renderElement,"ng-version",Zt.full),new _r(i,new vr(i),a)}}class _r extends kt{constructor(e,t,n){super(),this._view=e,this._viewRef=t,this._component=n,this._elDef=this._view.def.nodes[0],this.hostView=t,this.changeDetectorRef=t,this.instance=n}get location(){return new Ht(bn(this._view,this._elDef.nodeIndex).renderElement)}get injector(){return new Tr(this._view,this._elDef)}get componentType(){return this._component.constructor}destroy(){this._viewRef.destroy()}onDestroy(e){this._viewRef.onDestroy(e)}}function yr(e,t,n){return new wr(e,t,n)}class wr{constructor(e,t,n){this._view=e,this._elDef=t,this._data=n,this._embeddedViews=[]}get element(){return new Ht(this._data.renderElement)}get injector(){return new Tr(this._view,this._elDef)}get parentInjector(){let e=this._view,t=this._elDef.parent;for(;!t&&e;)t=jn(e),e=e.parent;return e?new Tr(e,t):new Tr(this._view,null)}clear(){for(let e=this._embeddedViews.length-1;e>=0;e--){const t=cr(this._data,e);xn.destroyView(t)}}get(e){const t=this._embeddedViews[e];if(t){const e=new vr(t);return e.attachToViewContainerRef(this),e}return null}get length(){return this._embeddedViews.length}createEmbeddedView(e,t,n){const r=e.createEmbeddedView(t||{});return this.insert(r,n),r}createComponent(e,t,n,r,s){const o=n||this.parentInjector;s||e instanceof Rt||(s=o.get(Ot));const i=e.create(o,r,void 0,s);return this.insert(i.hostView,t),i}insert(e,t){if(e.destroyed)throw new Error("Cannot insert a destroyed View in a ViewContainer!");const n=e;return function(e,t,n,r){let s=t.viewContainer._embeddedViews;null==n&&(n=s.length),r.viewContainerParent=e,hr(s,n,r),function(e,t){const n=Fn(t);if(!n||n===e||16&t.state)return;t.state|=16;let r=n.template._projectedViews;r||(r=n.template._projectedViews=[]),r.push(t),function(e,n){if(4&n.flags)return;t.parent.def.nodeFlags|=4,n.flags|=4;let r=n.parent;for(;r;)r.childFlags|=4,r=r.parent}(0,t.parentNodeDef)}(t,r),xn.dirtyParentQueries(r),ur(t,n>0?s[n-1]:null,r)}(this._view,this._data,t,n._view),n.attachToViewContainerRef(this),e}move(e,t){if(e.destroyed)throw new Error("Cannot move a destroyed View in a ViewContainer!");const n=this._embeddedViews.indexOf(e._view);return function(e,t,r){const s=e.viewContainer._embeddedViews,o=s[n];fr(s,n),null==r&&(r=s.length),hr(s,r,o),xn.dirtyParentQueries(o),dr(o),ur(e,r>0?s[r-1]:null,o)}(this._data,0,t),e}indexOf(e){return this._embeddedViews.indexOf(e._view)}remove(e){const t=cr(this._data,e);t&&xn.destroyView(t)}detach(e){const t=cr(this._data,e);return t?new vr(t):null}}function br(e){return new vr(e)}class vr{constructor(e){this._view=e,this._viewContainerRef=null,this._appRef=null}get rootNodes(){return function(e){const t=[];return Kn(e,0,void 0,void 0,t),t}(this._view)}get context(){return this._view.context}get destroyed(){return 0!=(128&this._view.state)}markForCheck(){Pn(this._view)}detach(){this._view.state&=-5}detectChanges(){const e=this._view.root.rendererFactory;e.begin&&e.begin();try{xn.checkAndUpdateView(this._view)}finally{e.end&&e.end()}}checkNoChanges(){xn.checkNoChangesView(this._view)}reattach(){this._view.state|=4}onDestroy(e){this._view.disposables||(this._view.disposables=[]),this._view.disposables.push(e)}destroy(){this._appRef?this._appRef.detachView(this):this._viewContainerRef&&this._viewContainerRef.detach(this._viewContainerRef.indexOf(this)),xn.destroyView(this._view)}detachFromAppRef(){this._appRef=null,dr(this._view),xn.dirtyParentQueries(this._view)}attachToAppRef(e){if(this._viewContainerRef)throw new Error("This view is already attached to a ViewContainer!");this._appRef=e}attachToViewContainerRef(e){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._viewContainerRef=e}}function Er(e,t){return new Cr(e,t)}class Cr extends un{constructor(e,t){super(),this._parentView=e,this._def=t}createEmbeddedView(e){return new vr(xn.createEmbeddedView(this._parentView,this._def,this._def.element.template,e))}get elementRef(){return new Ht(bn(this._parentView,this._def.nodeIndex).renderElement)}}function xr(e,t){return new Tr(e,t)}class Tr{constructor(e,t){this.view=e,this.elDef=t}get(e,t=_e.THROW_IF_NOT_FOUND){return xn.resolveDep(this.view,this.elDef,!!this.elDef&&0!=(33554432&this.elDef.flags),{flags:0,token:e,tokenKey:Nn(e)},t)}}function kr(e){return new Nr(e.renderer)}class Nr{constructor(e){this.delegate=e}selectRootElement(e){return this.delegate.selectRootElement(e)}createElement(e,t){const[n,r]=er(t),s=this.delegate.createElement(r,n);return e&&this.delegate.appendChild(e,s),s}createViewRoot(e){return e}createTemplateAnchor(e){const t=this.delegate.createComment("");return e&&this.delegate.appendChild(e,t),t}createText(e,t){const n=this.delegate.createText(t);return e&&this.delegate.appendChild(e,n),n}projectNodes(e,t){for(let n=0;n<t.length;n++)this.delegate.appendChild(e,t[n])}attachViewAfter(e,t){const n=this.delegate.parentNode(e),r=this.delegate.nextSibling(e);for(let s=0;s<t.length;s++)this.delegate.insertBefore(n,t[s],r)}detachView(e){for(let t=0;t<e.length;t++){const n=e[t],r=this.delegate.parentNode(n);this.delegate.removeChild(r,n)}}destroyView(e,t){for(let n=0;n<t.length;n++)this.delegate.destroyNode(t[n])}listen(e,t,n){return this.delegate.listen(e,t,n)}listenGlobal(e,t,n){return this.delegate.listen(e,t,n)}setElementProperty(e,t,n){this.delegate.setProperty(e,t,n)}setElementAttribute(e,t,n){const[r,s]=er(t);null!=n?this.delegate.setAttribute(e,s,n,r):this.delegate.removeAttribute(e,s,r)}setBindingDebugInfo(e,t,n){}setElementClass(e,t,n){n?this.delegate.addClass(e,t):this.delegate.removeClass(e,t)}setElementStyle(e,t,n){null!=n?this.delegate.setStyle(e,t,n):this.delegate.removeStyle(e,t)}invokeElementMethod(e,t,n){e[t].apply(e,n)}setText(e,t){this.delegate.setValue(e,t)}animate(){throw new Error("Renderer.animate is no longer supported!")}}function Ir(e,t,n,r){return new Sr(e,t,n,r)}class Sr{constructor(e,t,n,r){this._moduleType=e,this._parent=t,this._bootstrapComponents=n,this._def=r,this._destroyListeners=[],this._destroyed=!1,this.injector=this,function(e){const t=e._def,n=e._providers=new Array(t.providers.length);for(let r=0;r<t.providers.length;r++){const s=t.providers[r];4096&s.flags||void 0===n[r]&&(n[r]=lr(e,s))}}(this)}get(e,t=_e.THROW_IF_NOT_FOUND,n=J.Default){let r=0;return n&J.SkipSelf?r|=1:n&J.Self&&(r|=4),ar(this,{token:e,tokenKey:Nn(e),flags:r},t)}get instance(){return this.get(this._moduleType)}get componentFactoryResolver(){return this.get(Dt)}destroy(){if(this._destroyed)throw new Error(`The ng module ${re(this.instance.constructor)} has already been destroyed.`);this._destroyed=!0,function(e,t){const n=e._def,r=new Set;for(let s=0;s<n.providers.length;s++)if(131072&n.providers[s].flags){const t=e._providers[s];if(t&&t!==nr){const e=t.ngOnDestroy;"function"!=typeof e||r.has(t)||(e.apply(t),r.add(t))}}}(this),this._destroyListeners.forEach(e=>e())}onDestroy(e){this._destroyListeners.push(e)}}const Ar=Nn(jt),Dr=Nn(zt),Mr=Nn(Ht),Rr=Nn(hn),Or=Nn(un),Pr=Nn(sn),Vr=Nn(_e),Hr=Nn(ge);function Fr(e,t,n,r,s,o,i,a){const l=[];if(i)for(let u in i){const[e,t]=i[u];l[e]={flags:8,name:u,nonMinifiedName:t,ns:null,securityContext:null,suffix:null}}const c=[];if(a)for(let u in a)c.push({type:1,propName:u,target:null,eventName:a[u]});return function(e,t,n,r,s,o,i,a,l){const{matchedQueries:c,references:u,matchedQueryIds:d}=$n(n);l||(l=[]),a||(a=[]),o=ie(o);const h=Un(i,re(s));return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:c,matchedQueryIds:d,references:u,ngContentIndex:-1,childCount:r,bindings:a,bindingFlags:tr(a),outputs:l,element:null,provider:{token:s,value:o,deps:h},text:null,query:null,ngContent:null}}(e,t|=16384,n,r,s,s,o,l,c)}function jr(e,t){return $r(e,t)}function Lr(e,t){let n=e;for(;n.parent&&!Bn(n);)n=n.parent;return Ur(n.parent,jn(n),!0,t.provider.value,t.provider.deps)}function Br(e,t){const n=Ur(e,t.parent,(32768&t.flags)>0,t.provider.value,t.provider.deps);if(t.outputs.length)for(let s=0;s<t.outputs.length;s++){const o=t.outputs[s],i=n[o.propName];if(!(r=i)||"function"!=typeof r.subscribe)throw new Error(`@Output ${o.propName} not initialized in '${n.constructor.name}'.`);{const n=i.subscribe(zr(e,t.parent.nodeIndex,o.eventName));e.disposables[t.outputIndex+s]=n.unsubscribe.bind(n)}}var r;return n}function zr(e,t,n){return r=>Hn(e,t,n,r)}function $r(e,t){const n=(8192&t.flags)>0,r=t.provider;switch(201347067&t.flags){case 512:return Ur(e,t.parent,n,r.value,r.deps);case 1024:return function(e,t,n,r,s){const o=s.length;switch(o){case 0:return r();case 1:return r(Qr(e,t,n,s[0]));case 2:return r(Qr(e,t,n,s[0]),Qr(e,t,n,s[1]));case 3:return r(Qr(e,t,n,s[0]),Qr(e,t,n,s[1]),Qr(e,t,n,s[2]));default:const i=Array(o);for(let r=0;r<o;r++)i[r]=Qr(e,t,n,s[r]);return r(...i)}}(e,t.parent,n,r.value,r.deps);case 2048:return Qr(e,t.parent,n,r.deps[0]);case 256:return r.value}}function Ur(e,t,n,r,s){const o=s.length;switch(o){case 0:return new r;case 1:return new r(Qr(e,t,n,s[0]));case 2:return new r(Qr(e,t,n,s[0]),Qr(e,t,n,s[1]));case 3:return new r(Qr(e,t,n,s[0]),Qr(e,t,n,s[1]),Qr(e,t,n,s[2]));default:const i=new Array(o);for(let r=0;r<o;r++)i[r]=Qr(e,t,n,s[r]);return new r(...i)}}const Zr={};function Qr(e,t,n,r,s=_e.THROW_IF_NOT_FOUND){if(8&r.flags)return r.token;const o=e;2&r.flags&&(s=null);const i=r.tokenKey;i===Pr&&(n=!(!t||!t.element.componentView)),t&&1&r.flags&&(n=!1,t=t.parent);let a=e;for(;a;){if(t)switch(i){case Ar:return kr(qr(a,t,n));case Dr:return qr(a,t,n).renderer;case Mr:return new Ht(bn(a,t.nodeIndex).renderElement);case Rr:return bn(a,t.nodeIndex).viewContainer;case Or:if(t.element.template)return bn(a,t.nodeIndex).template;break;case Pr:return br(qr(a,t,n));case Vr:case Hr:return xr(a,t);default:const e=(n?t.element.allProviders:t.element.publicProviders)[i];if(e){let t=vn(a,e.nodeIndex);return t||(t={instance:$r(a,e)},a.nodes[e.nodeIndex]=t),t.instance}}n=Bn(a),t=jn(a),a=a.parent,4&r.flags&&(a=null)}const l=o.root.injector.get(r.token,Zr);return l!==Zr||s===Zr?l:o.root.ngModule.injector.get(r.token,s)}function qr(e,t,n){let r;if(n)r=bn(e,t.nodeIndex).componentView;else for(r=e;r.parent&&!Bn(r);)r=r.parent;return r}function Kr(e,t,n,r,s,o){if(32768&n.flags){const t=bn(e,n.parent.nodeIndex).componentView;2&t.def.flags&&(t.state|=8)}if(t.instance[n.bindings[r].name]=s,524288&n.flags){o=o||{};const t=vt.unwrap(e.oldValues[n.bindingIndex+r]);o[n.bindings[r].nonMinifiedName]=new xt(t,s,0!=(2&e.state))}return e.oldValues[n.bindingIndex+r]=s,o}function Gr(e,t){if(!(e.def.nodeFlags&t))return;const n=e.def.nodes;let r=0;for(let s=0;s<n.length;s++){const o=n[s];let i=o.parent;for(!i&&o.flags&t&&Yr(e,s,o.flags&t,r++),0==(o.childFlags&t)&&(s+=o.childCount);i&&1&i.flags&&s===i.nodeIndex+i.childCount;)i.directChildFlags&t&&(r=Wr(e,i,t,r)),i=i.parent}}function Wr(e,t,n,r){for(let s=t.nodeIndex+1;s<=t.nodeIndex+t.childCount;s++){const t=e.def.nodes[s];t.flags&n&&Yr(e,s,t.flags&n,r++),s+=t.childCount}return r}function Yr(e,t,n,r){const s=vn(e,t);if(!s)return;const o=s.instance;o&&(xn.setCurrentNode(e,t),1048576&n&&yn(e,512,r)&&o.ngAfterContentInit(),2097152&n&&o.ngAfterContentChecked(),4194304&n&&yn(e,768,r)&&o.ngAfterViewInit(),8388608&n&&o.ngAfterViewChecked(),131072&n&&o.ngOnDestroy())}const Jr=new he("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Pe});class Xr extends k{constructor(e=!1){super(),this.__isAsync=e}emit(e){super.next(e)}subscribe(e,t,n){let r,s=e=>null,o=()=>null;e&&"object"==typeof e?(r=this.__isAsync?t=>{setTimeout(()=>e.next(t))}:t=>{e.next(t)},e.error&&(s=this.__isAsync?t=>{setTimeout(()=>e.error(t))}:t=>{e.error(t)}),e.complete&&(o=this.__isAsync?()=>{setTimeout(()=>e.complete())}:()=>{e.complete()})):(r=this.__isAsync?t=>{setTimeout(()=>e(t))}:t=>{e(t)},t&&(s=this.__isAsync?e=>{setTimeout(()=>t(e))}:e=>{t(e)}),n&&(o=this.__isAsync?()=>{setTimeout(()=>n())}:()=>{n()}));const i=super.subscribe(r,s,o);return e instanceof p&&e.add(i),i}}class es{constructor(){this.dirty=!0,this._results=[],this.changes=new Xr,this.length=0}map(e){return this._results.map(e)}filter(e){return this._results.filter(e)}find(e){return this._results.find(e)}reduce(e,t){return this._results.reduce(e,t)}forEach(e){this._results.forEach(e)}some(e){return this._results.some(e)}toArray(){return this._results.slice()}[yt()](){return this._results[yt()]()}toString(){return this._results.toString()}reset(e){this._results=function e(t,n){void 0===n&&(n=t);for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?(n===t&&(n=t.slice(0,r)),e(s,n)):n!==t&&n.push(s)}return n}(e),this.dirty=!1,this.length=this._results.length,this.last=this._results[this.length-1],this.first=this._results[0]}notifyOnChanges(){this.changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}const ts=new he("Application Initializer"),ns=(()=>(class{constructor(e){this.appInits=e,this.initialized=!1,this.done=!1,this.donePromise=new Promise((e,t)=>{this.resolve=e,this.reject=t})}runInitializers(){if(this.initialized)return;const e=[],t=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let n=0;n<this.appInits.length;n++){const t=this.appInits[n]();mt(t)&&e.push(t)}Promise.all(e).then(()=>{t()}).catch(e=>{this.reject(e)}),0===e.length&&t(),this.initialized=!0}}))(),rs=new he("AppId");function ss(){return`${os()}${os()}${os()}`}function os(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const is=new he("Platform Initializer"),as=new he("Platform ID"),ls=new he("appBootstrapListener"),cs=(()=>(class{log(e){console.log(e)}warn(e){console.warn(e)}}))();function us(){throw new Error("Runtime compiler is not loaded")}const ds=us,hs=us,fs=us,ps=us,gs=(()=>(class{constructor(){this.compileModuleSync=ds,this.compileModuleAsync=hs,this.compileModuleAndAllComponentsSync=fs,this.compileModuleAndAllComponentsAsync=ps}clearCache(){}clearCacheFor(e){}getModuleId(e){}}))();class ms{}let _s,ys;function ws(){const e=le.wtf;return!(!e||!(_s=e.trace)||(ys=_s.events,0))}const bs=ws(),vs=bs?function(e,t=null){return ys.createScope(e,t)}:(e,t)=>(function(e,t){return null}),Es=bs?function(e,t){return _s.leaveScope(e,t),t}:(e,t)=>t,Cs=(()=>Promise.resolve(0))();function xs(e){"undefined"==typeof Zone?Cs.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class Ts{constructor({enableLongStackTrace:e=!1}){if(this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Xr(!1),this.onMicrotaskEmpty=new Xr(!1),this.onStable=new Xr(!1),this.onError=new Xr(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");var t;Zone.assertZonePatched(),this._nesting=0,this._outer=this._inner=Zone.current,Zone.wtfZoneSpec&&(this._inner=this._inner.fork(Zone.wtfZoneSpec)),Zone.TaskTrackingZoneSpec&&(this._inner=this._inner.fork(new Zone.TaskTrackingZoneSpec)),e&&Zone.longStackTraceZoneSpec&&(this._inner=this._inner.fork(Zone.longStackTraceZoneSpec)),(t=this)._inner=t._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(e,n,r,s,o,i)=>{try{return Ss(t),e.invokeTask(r,s,o,i)}finally{As(t)}},onInvoke:(e,n,r,s,o,i,a)=>{try{return Ss(t),e.invoke(r,s,o,i,a)}finally{As(t)}},onHasTask:(e,n,r,s)=>{e.hasTask(r,s),n===r&&("microTask"==s.change?(t.hasPendingMicrotasks=s.microTask,Is(t)):"macroTask"==s.change&&(t.hasPendingMacrotasks=s.macroTask))},onHandleError:(e,n,r,s)=>(e.handleError(r,s),t.runOutsideAngular(()=>t.onError.emit(s)),!1)})}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!Ts.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(Ts.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(e,t,n){return this._inner.run(e,t,n)}runTask(e,t,n,r){const s=this._inner,o=s.scheduleEventTask("NgZoneEvent: "+r,e,Ns,ks,ks);try{return s.runTask(o,t,n)}finally{s.cancelTask(o)}}runGuarded(e,t,n){return this._inner.runGuarded(e,t,n)}runOutsideAngular(e){return this._outer.run(e)}}function ks(){}const Ns={};function Is(e){if(0==e._nesting&&!e.hasPendingMicrotasks&&!e.isStable)try{e._nesting++,e.onMicrotaskEmpty.emit(null)}finally{if(e._nesting--,!e.hasPendingMicrotasks)try{e.runOutsideAngular(()=>e.onStable.emit(null))}finally{e.isStable=!0}}}function Ss(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function As(e){e._nesting--,Is(e)}class Ds{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new Xr,this.onMicrotaskEmpty=new Xr,this.onStable=new Xr,this.onError=new Xr}run(e){return e()}runGuarded(e){return e()}runOutsideAngular(e){return e()}runTask(e){return e()}}const Ms=(()=>(class{constructor(e){this._ngZone=e,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),e.run(()=>{this.taskTrackingZone="undefined"==typeof Zone?null:Zone.current.get("TaskTrackingZone")})}_watchAngularEvents(){this._ngZone.onUnstable.subscribe({next:()=>{this._didWork=!0,this._isZoneStable=!1}}),this._ngZone.runOutsideAngular(()=>{this._ngZone.onStable.subscribe({next:()=>{Ts.assertNotInAngularZone(),xs(()=>{this._isZoneStable=!0,this._runCallbacksIfReady()})}})})}increasePendingRequestCount(){return this._pendingCount+=1,this._didWork=!0,this._pendingCount}decreasePendingRequestCount(){if(this._pendingCount-=1,this._pendingCount<0)throw new Error("pending async requests below zero");return this._runCallbacksIfReady(),this._pendingCount}isStable(){return this._isZoneStable&&0===this._pendingCount&&!this._ngZone.hasPendingMacrotasks}_runCallbacksIfReady(){if(this.isStable())xs(()=>{for(;0!==this._callbacks.length;){let e=this._callbacks.pop();clearTimeout(e.timeoutId),e.doneCb(this._didWork)}this._didWork=!1});else{let e=this.getPendingTasks();this._callbacks=this._callbacks.filter(t=>!t.updateCb||!t.updateCb(e)||(clearTimeout(t.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(e=>({source:e.source,creationLocation:e.creationLocation,data:e.data})):[]}addCallback(e,t,n){let r=-1;t&&t>0&&(r=setTimeout(()=>{this._callbacks=this._callbacks.filter(e=>e.timeoutId!==r),e(this._didWork,this.getPendingTasks())},t)),this._callbacks.push({doneCb:e,timeoutId:r,updateCb:n})}whenStable(e,t,n){if(n&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/dist/task-tracking.js" loaded?');this.addCallback(e,t,n),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(e,t,n){return[]}}))(),Rs=(()=>{class e{constructor(){this._applications=new Map,Vs.addToWindow(this)}registerApplication(e,t){this._applications.set(e,t)}unregisterApplication(e){this._applications.delete(e)}unregisterAllApplications(){this._applications.clear()}getTestability(e){return this._applications.get(e)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(e,t=!0){return Vs.findTestabilityInTree(this,e,t)}}return e.ctorParameters=(()=>[]),e})();class Os{addToWindow(e){}findTestabilityInTree(e,t,n){return null}}let Ps,Vs=new Os,Hs=function(e){return e instanceof Rt};const Fs=new he("AllowMultipleToken");class js{constructor(e,t){this.name=e,this.token=t}}function Ls(e,t,n=[]){const r=`Platform: ${t}`,s=new he(r);return(t=[])=>{let o=Bs();if(!o||o.injector.get(Fs,!1))if(e)e(n.concat(t).concat({provide:s,useValue:!0}));else{const e=n.concat(t).concat({provide:s,useValue:!0});!function(e){if(Ps&&!Ps.destroyed&&!Ps.injector.get(Fs,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");Ps=e.get(zs);const t=e.get(is,null);t&&t.forEach(e=>e())}(_e.create({providers:e,name:r}))}return function(e){const t=Bs();if(!t)throw new Error("No platform exists!");if(!t.injector.get(e,null))throw new Error("A platform with a different configuration has been created. Please destroy it first.");return t}(s)}}function Bs(){return Ps&&!Ps.destroyed?Ps:null}const zs=(()=>(class{constructor(e){this._injector=e,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(e,t){const n="noop"===(s=t?t.ngZone:void 0)?new Ds:("zone.js"===s?void 0:s)||new Ts({enableLongStackTrace:ze()}),r=[{provide:Ts,useValue:n}];var s;return n.run(()=>{const t=_e.create({providers:r,parent:this.injector,name:e.moduleType.name}),s=e.create(t),o=s.injector.get(je,null);if(!o)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return s.onDestroy(()=>Zs(this._modules,s)),n.runOutsideAngular(()=>n.onError.subscribe({next:e=>{o.handleError(e)}})),function(e,t,n){try{const s=n();return mt(s)?s.catch(n=>{throw t.runOutsideAngular(()=>e.handleError(n)),n}):s}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(o,n,()=>{const e=s.injector.get(ns);return e.runInitializers(),e.donePromise.then(()=>(this._moduleDoBootstrap(s),s))})})}bootstrapModule(e,t=[]){const n=$s({},t);return function(e,t,n){return e.get(ms).createCompiler([t]).compileModuleAsync(n)}(this.injector,n,e).then(e=>this.bootstrapModuleFactory(e,n))}_moduleDoBootstrap(e){const t=e.injector.get(Us);if(e._bootstrapComponents.length>0)e._bootstrapComponents.forEach(e=>t.bootstrap(e));else{if(!e.instance.ngDoBootstrap)throw new Error(`The module ${re(e.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. `+"Please define one of these.");e.instance.ngDoBootstrap(t)}this._modules.push(e)}onDestroy(e){this._destroyListeners.push(e)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(e=>e.destroy()),this._destroyListeners.forEach(e=>e()),this._destroyed=!0}get destroyed(){return this._destroyed}}))();function $s(e,t){return Array.isArray(t)?t.reduce($s,e):Object.assign({},e,t)}const Us=(()=>{class e{constructor(e,t,n,r,s,o){this._zone=e,this._console=t,this._injector=n,this._exceptionHandler=r,this._componentFactoryResolver=s,this._initStatus=o,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._enforceNoNewChanges=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._enforceNoNewChanges=ze(),this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const i=new b(e=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{e.next(this._stable),e.complete()})}),a=new b(e=>{let t;this._zone.runOutsideAngular(()=>{t=this._zone.onStable.subscribe(()=>{Ts.assertNotInAngularZone(),xs(()=>{this._stable||this._zone.hasPendingMacrotasks||this._zone.hasPendingMicrotasks||(this._stable=!0,e.next(!0))})})});const n=this._zone.onUnstable.subscribe(()=>{Ts.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{e.next(!1)}))});return()=>{t.unsubscribe(),n.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];var s;return(s=r)&&"function"==typeof s.schedule?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof b?e[0]:function(e=Number.POSITIVE_INFINITY){return function e(t,n,r=Number.POSITIVE_INFINITY){return"function"==typeof n?s=>s.pipe(e((e,r)=>(function(e,t){return e instanceof b?e:new b(M(e))})(t(e,r)).pipe(function(e,t){return function(t){return t.lift(new O(e,void 0))}}((t,s)=>n(e,t,r,s))),r)):("number"==typeof n&&(r=n),e=>e.lift(new V(t,r)))}(F,e)}(t)(function(e,t){return t?function(e,t){return new b(n=>{const r=new p;let s=0;return r.add(t.schedule(function(){s!==e.length?(n.next(e[s++]),n.closed||r.add(this.schedule())):n.complete()})),r})}(e,t):new b(S(e))}(e,n))}(i,a.pipe(e=>j()(function(e,t){return function(t){let n;n="function"==typeof e?e:function(){return e};const r=Object.create(t,$);return r.source=t,r.subjectFactory=n,r}}(Z)(e))))}bootstrap(e,t){if(!this._initStatus.done)throw new Error("Cannot bootstrap as there are still asynchronous initializers running. Bootstrap components in the `ngDoBootstrap` method of the root module.");let n;n=e instanceof Nt?e:this._componentFactoryResolver.resolveComponentFactory(e),this.componentTypes.push(n.componentType);const r=Hs(n)?null:this._injector.get(Ot),s=n.create(_e.NULL,[],t||n.selector,r);s.onDestroy(()=>{this._unloadComponent(s)});const o=s.injector.get(Ms,null);return o&&s.injector.get(Rs).registerApplication(s.location.nativeElement,o),this._loadComponent(s),ze()&&this._console.log("Angular is running in the development mode. Call enableProdMode() to enable the production mode."),s}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");const t=e._tickScope();try{this._runningTick=!0;for(let e of this._views)e.detectChanges();if(this._enforceNoNewChanges)for(let e of this._views)e.checkNoChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1,Es(t)}}attachView(e){const t=e;this._views.push(t),t.attachToAppRef(this)}detachView(e){const t=e;Zs(this._views,t),t.detachFromAppRef()}_loadComponent(e){this.attachView(e.hostView),this.tick(),this.components.push(e),this._injector.get(ls,[]).concat(this._bootstrapListeners).forEach(t=>t(e))}_unloadComponent(e){this.detachView(e.hostView),Zs(this.components,e)}ngOnDestroy(){this._views.slice().forEach(e=>e.destroy())}get viewCount(){return this._views.length}}return e._tickScope=vs("ApplicationRef#tick()"),e})();function Zs(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}class Qs{constructor(e,t){this.name=e,this.callback=t}}class qs{constructor(e,t,n){this.listeners=[],this.parent=null,this._debugContext=n,this.nativeNode=e,t&&t instanceof Ks&&t.addChild(this)}get injector(){return this._debugContext.injector}get componentInstance(){return this._debugContext.component}get context(){return this._debugContext.context}get references(){return this._debugContext.references}get providerTokens(){return this._debugContext.providerTokens}}class Ks extends qs{constructor(e,t,n){super(e,t,n),this.properties={},this.attributes={},this.classes={},this.styles={},this.childNodes=[],this.nativeElement=e}addChild(e){e&&(this.childNodes.push(e),e.parent=this)}removeChild(e){const t=this.childNodes.indexOf(e);-1!==t&&(e.parent=null,this.childNodes.splice(t,1))}insertChildrenAfter(e,t){const n=this.childNodes.indexOf(e);-1!==n&&(this.childNodes.splice(n+1,0,...t),t.forEach(t=>{t.parent&&t.parent.removeChild(t),e.parent=this}))}insertBefore(e,t){const n=this.childNodes.indexOf(e);-1===n?this.addChild(t):(t.parent&&t.parent.removeChild(t),t.parent=this,this.childNodes.splice(n,0,t))}query(e){return this.queryAll(e)[0]||null}queryAll(e){const t=[];return function e(t,n,r){t.childNodes.forEach(t=>{t instanceof Ks&&(n(t)&&r.push(t),e(t,n,r))})}(this,e,t),t}queryAllNodes(e){const t=[];return function e(t,n,r){t instanceof Ks&&t.childNodes.forEach(t=>{n(t)&&r.push(t),t instanceof Ks&&e(t,n,r)})}(this,e,t),t}get children(){return this.childNodes.filter(e=>e instanceof Ks)}triggerEventHandler(e,t){this.listeners.forEach(n=>{n.name==e&&n.callback(t)})}}const Gs=new Map,Ws=function(e){return Gs.get(e)||null};function Ys(e){Gs.set(e.nativeNode,e)}const Js=Ls(null,"core",[{provide:as,useValue:"unknown"},{provide:zs,deps:[_e]},{provide:Rs,deps:[]},{provide:cs,deps:[]}]),Xs=new he("LocaleId"),eo=new he("TranslationsFormat");function to(){return ln}function no(){return cn}function ro(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(e){t.push(e)}}const so=(()=>(class{constructor(e){}}))();function oo(e,t,n,r,s,o){e|=1;const{matchedQueries:i,references:a,matchedQueryIds:l}=$n(t);return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,flags:e,checkIndex:-1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:i,matchedQueryIds:l,references:a,ngContentIndex:n,childCount:r,bindings:[],bindingFlags:0,outputs:[],element:{ns:null,name:null,attrs:null,template:o?qn(o):null,componentProvider:null,componentView:null,componentRendererType:null,publicProviders:null,allProviders:null,handleEvent:s||Tn},provider:null,text:null,query:null,ngContent:null}}function io(e,t,n,r,s,o,i=[],a,l,c,u,d){c||(c=Tn);const{matchedQueries:h,references:f,matchedQueryIds:p}=$n(n);let g=null,m=null;o&&([g,m]=er(o)),a=a||[];const _=new Array(a.length);for(let b=0;b<a.length;b++){const[e,t,n]=a[b],[r,s]=er(t);let o=void 0,i=void 0;switch(15&e){case 4:i=n;break;case 1:case 8:o=n}_[b]={flags:e,ns:r,name:s,nonMinifiedName:s,securityContext:o,suffix:i}}l=l||[];const y=new Array(l.length);for(let b=0;b<l.length;b++){const[e,t]=l[b];y[b]={type:0,target:e,eventName:t,propName:null}}const w=(i=i||[]).map(([e,t])=>{const[n,r]=er(e);return[n,r,t]});return d=function(e){if(e&&e.id===In){const t=null!=e.encapsulation&&e.encapsulation!==Oe.None||e.styles.length||Object.keys(e.data).length;e.id=t?`c${Dn++}`:Sn}return e&&e.id===Sn&&(e=null),e||null}(d),u&&(t|=33554432),{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:t|=1,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:h,matchedQueryIds:p,references:f,ngContentIndex:r,childCount:s,bindings:_,bindingFlags:tr(_),outputs:y,element:{ns:g,name:m,attrs:w,template:null,componentProvider:null,componentView:u||null,componentRendererType:d,publicProviders:null,allProviders:null,handleEvent:c||Tn},provider:null,text:null,query:null,ngContent:null}}function ao(e,t,n){const r=n.element,s=e.root.selectorOrNode,o=e.renderer;let i;if(e.parent||!s){i=r.name?o.createElement(r.name,r.ns):o.createComment("");const s=Zn(e,t,n);s&&o.appendChild(s,i)}else i=o.selectRootElement(s,!!r.componentRendererType&&r.componentRendererType.encapsulation===Oe.ShadowDom);if(r.attrs)for(let a=0;a<r.attrs.length;a++){const[e,t,n]=r.attrs[a];o.setAttribute(i,t,n,e)}return i}function lo(e,t,n,r){for(let i=0;i<n.outputs.length;i++){const a=n.outputs[i],l=co(e,n.nodeIndex,(o=a.eventName,(s=a.target)?`${s}:${o}`:o));let c=a.target,u=e;"component"===a.target&&(c=null,u=t);const d=u.renderer.listen(c||r,a.eventName,l);e.disposables[n.outputIndex+i]=d}var s,o}function co(e,t,n){return r=>Hn(e,t,n,r)}function uo(e,t,n,r){if(!Rn(e,t,n,r))return!1;const s=t.bindings[n],o=bn(e,t.nodeIndex),i=o.renderElement,a=s.name;switch(15&s.flags){case 1:!function(e,t,n,r,s,o){const i=t.securityContext;let a=i?e.root.sanitizer.sanitize(i,o):o;a=null!=a?a.toString():null;const l=e.renderer;null!=o?l.setAttribute(n,s,a,r):l.removeAttribute(n,s,r)}(e,s,i,s.ns,a,r);break;case 2:!function(e,t,n,r){const s=e.renderer;r?s.addClass(t,n):s.removeClass(t,n)}(e,i,a,r);break;case 4:!function(e,t,n,r,s){let o=e.root.sanitizer.sanitize(ut.STYLE,s);if(null!=o){o=o.toString();const e=t.suffix;null!=e&&(o+=e)}else o=null;const i=e.renderer;null!=o?i.setStyle(n,r,o):i.removeStyle(n,r)}(e,s,i,a,r);break;case 8:!function(e,t,n,r,s){const o=t.securityContext;let i=o?e.root.sanitizer.sanitize(o,s):s;e.renderer.setProperty(n,r,i)}(33554432&t.flags&&32&s.flags?o.componentView:e,s,i,a,r)}return!0}function ho(e){const t=e.def.nodeMatchedQueries;for(;e.parent&&zn(e);){let n=e.parentNodeDef;e=e.parent;const r=n.nodeIndex+n.childCount;for(let s=0;s<=r;s++){const r=e.def.nodes[s];67108864&r.flags&&536870912&r.flags&&(r.query.filterId&t)===r.query.filterId&&Cn(e,s).setDirty(),!(1&r.flags&&s+r.childCount<n.nodeIndex)&&67108864&r.childFlags&&536870912&r.childFlags||(s+=r.childCount)}}if(134217728&e.def.nodeFlags)for(let n=0;n<e.def.nodes.length;n++){const t=e.def.nodes[n];134217728&t.flags&&536870912&t.flags&&Cn(e,n).setDirty(),n+=t.childCount}}function fo(e,t){const n=Cn(e,t.nodeIndex);if(!n.dirty)return;let r,s=void 0;if(67108864&t.flags){const n=t.parent.parent;s=po(e,n.nodeIndex,n.nodeIndex+n.childCount,t.query,[]),r=vn(e,t.parent.nodeIndex).instance}else 134217728&t.flags&&(s=po(e,0,e.def.nodes.length-1,t.query,[]),r=e.component);n.reset(s);const o=t.query.bindings;let i=!1;for(let a=0;a<o.length;a++){const e=o[a];let t;switch(e.bindingType){case 0:t=n.first;break;case 1:t=n,i=!0}r[e.propName]=t}i&&n.notifyOnChanges()}function po(e,t,n,r,s){for(let o=t;o<=n;o++){const t=e.def.nodes[o],n=t.matchedQueries[r.id];if(null!=n&&s.push(go(e,t,n)),1&t.flags&&t.element.template&&(t.element.template.nodeMatchedQueries&r.filterId)===r.filterId){const n=bn(e,o);if((t.childMatchedQueries&r.filterId)===r.filterId&&(po(e,o+1,o+t.childCount,r,s),o+=t.childCount),16777216&t.flags){const e=n.viewContainer._embeddedViews;for(let t=0;t<e.length;t++){const o=e[t],i=Fn(o);i&&i===n&&po(o,0,o.def.nodes.length-1,r,s)}}const i=n.template._projectedViews;if(i)for(let e=0;e<i.length;e++){const t=i[e];po(t,0,t.def.nodes.length-1,r,s)}}(t.childMatchedQueries&r.filterId)!==r.filterId&&(o+=t.childCount)}return s}function go(e,t,n){if(null!=n)switch(n){case 1:return bn(e,t.nodeIndex).renderElement;case 0:return new Ht(bn(e,t.nodeIndex).renderElement);case 2:return bn(e,t.nodeIndex).template;case 3:return bn(e,t.nodeIndex).viewContainer;case 4:return vn(e,t.nodeIndex).instance}}function mo(e,t,n){const r=Zn(e,t,n);r&&Wn(e,n.ngContent.index,1,r,null,void 0)}function _o(e,t,n){const r=new Array(n.length-1);for(let s=1;s<n.length;s++)r[s-1]={flags:8,name:null,ns:null,nonMinifiedName:null,securityContext:null,suffix:n[s]};return{nodeIndex:-1,parent:null,renderParent:null,bindingIndex:-1,outputIndex:-1,checkIndex:e,flags:2,childFlags:0,directChildFlags:0,childMatchedQueries:0,matchedQueries:{},matchedQueryIds:0,references:{},ngContentIndex:t,childCount:0,bindings:r,bindingFlags:8,outputs:[],element:null,provider:null,text:{prefix:n[0]},query:null,ngContent:null}}function yo(e,t,n){let r;const s=e.renderer;r=s.createText(n.text.prefix);const o=Zn(e,t,n);return o&&s.appendChild(o,r),{renderText:r}}function wo(e,t){return(null!=e?e.toString():"")+t.suffix}function bo(e,t,n,r){let s=0,o=0,i=0,a=0,l=0,c=null,u=null,d=!1,h=!1,f=null;for(let p=0;p<t.length;p++){const e=t[p];if(e.nodeIndex=p,e.parent=c,e.bindingIndex=s,e.outputIndex=o,e.renderParent=u,i|=e.flags,l|=e.matchedQueryIds,e.element){const t=e.element;t.publicProviders=c?c.element.publicProviders:Object.create(null),t.allProviders=t.publicProviders,d=!1,h=!1,e.element.template&&(l|=e.element.template.nodeMatchedQueries)}if(Eo(c,e,t.length),s+=e.bindings.length,o+=e.outputs.length,!u&&3&e.flags&&(f=e),20224&e.flags){d||(d=!0,c.element.publicProviders=Object.create(c.element.publicProviders),c.element.allProviders=c.element.publicProviders);const t=0!=(32768&e.flags);0==(8192&e.flags)||t?c.element.publicProviders[Nn(e.provider.token)]=e:(h||(h=!0,c.element.allProviders=Object.create(c.element.publicProviders)),c.element.allProviders[Nn(e.provider.token)]=e),t&&(c.element.componentProvider=e)}if(c?(c.childFlags|=e.flags,c.directChildFlags|=e.flags,c.childMatchedQueries|=e.matchedQueryIds,e.element&&e.element.template&&(c.childMatchedQueries|=e.element.template.nodeMatchedQueries)):a|=e.flags,e.childCount>0)c=e,vo(e)||(u=e);else for(;c&&p===c.nodeIndex+c.childCount;){const e=c.parent;e&&(e.childFlags|=c.childFlags,e.childMatchedQueries|=c.childMatchedQueries),u=(c=e)&&vo(c)?c.renderParent:c}}return{factory:null,nodeFlags:i,rootNodeFlags:a,nodeMatchedQueries:l,flags:e,nodes:t,updateDirectives:n||Tn,updateRenderer:r||Tn,handleEvent:(e,n,r,s)=>t[n].element.handleEvent(e,r,s),bindingCount:s,outputCount:o,lastRenderRootNode:f}}function vo(e){return 0!=(1&e.flags)&&null===e.element.name}function Eo(e,t,n){const r=t.element&&t.element.template;if(r){if(!r.lastRenderRootNode)throw new Error("Illegal State: Embedded templates without nodes are not allowed!");if(r.lastRenderRootNode&&16777216&r.lastRenderRootNode.flags)throw new Error(`Illegal State: Last root node of a template can't have embedded views, at index ${t.nodeIndex}!`)}if(20224&t.flags&&0==(1&(e?e.flags:0)))throw new Error(`Illegal State: StaticProvider/Directive nodes need to be children of elements or anchors, at index ${t.nodeIndex}!`);if(t.query){if(67108864&t.flags&&(!e||0==(16384&e.flags)))throw new Error(`Illegal State: Content Query nodes need to be children of directives, at index ${t.nodeIndex}!`);if(134217728&t.flags&&e)throw new Error(`Illegal State: View Query nodes have to be top level nodes, at index ${t.nodeIndex}!`)}if(t.childCount){const r=e?e.nodeIndex+e.childCount:n-1;if(t.nodeIndex<=r&&t.nodeIndex+t.childCount>r)throw new Error(`Illegal State: childCount of node leads outside of parent, at index ${t.nodeIndex}!`)}}function Co(e,t,n,r){const s=ko(e.root,e.renderer,e,t,n);return No(s,e.component,r),Io(s),s}function xo(e,t,n){const r=ko(e,e.renderer,null,null,t);return No(r,n,n),Io(r),r}function To(e,t,n,r){const s=t.element.componentRendererType;let o;return o=s?e.root.rendererFactory.createRenderer(r,s):e.root.renderer,ko(e.root,o,e,t.element.componentProvider,n)}function ko(e,t,n,r,s){const o=new Array(s.nodes.length),i=s.outputCount?new Array(s.outputCount):null;return{def:s,parent:n,viewContainerParent:null,parentNodeDef:r,context:null,component:null,nodes:o,state:13,root:e,renderer:t,oldValues:new Array(s.bindingCount),disposables:i,initIndex:-1}}function No(e,t,n){e.component=t,e.context=n}function Io(e){let t;Bn(e)&&(t=bn(e.parent,e.parentNodeDef.parent.nodeIndex).renderElement);const n=e.def,r=e.nodes;for(let s=0;s<n.nodes.length;s++){const o=n.nodes[s];let i;switch(xn.setCurrentNode(e,s),201347067&o.flags){case 1:const n=ao(e,t,o);let a=void 0;if(33554432&o.flags){const t=qn(o.element.componentView);a=xn.createComponentView(e,o,t,n)}lo(e,a,o,n),i={renderElement:n,componentView:a,viewContainer:null,template:o.element.template?Er(e,o):void 0},16777216&o.flags&&(i.viewContainer=yr(e,o,i));break;case 2:i=yo(e,t,o);break;case 512:case 1024:case 2048:case 256:(i=r[s])||4096&o.flags||(i={instance:jr(e,o)});break;case 16:i={instance:Lr(e,o)};break;case 16384:(i=r[s])||(i={instance:Br(e,o)}),32768&o.flags&&No(bn(e,o.parent.nodeIndex).componentView,i.instance,i.instance);break;case 32:case 64:case 128:i={value:void 0};break;case 67108864:case 134217728:i=new es;break;case 8:mo(e,t,o),i=void 0}r[s]=i}Ho(e,Vo.CreateViewNodes),Bo(e,201326592,268435456,0)}function So(e){Mo(e),xn.updateDirectives(e,1),Fo(e,Vo.CheckNoChanges),xn.updateRenderer(e,1),Ho(e,Vo.CheckNoChanges),e.state&=-97}function Ao(e){1&e.state?(e.state&=-2,e.state|=2):e.state&=-3,_n(e,0,256),Mo(e),xn.updateDirectives(e,0),Fo(e,Vo.CheckAndUpdate),Bo(e,67108864,536870912,0);let t=_n(e,256,512);Gr(e,2097152|(t?1048576:0)),xn.updateRenderer(e,0),Ho(e,Vo.CheckAndUpdate),Bo(e,134217728,536870912,0),Gr(e,8388608|((t=_n(e,512,768))?4194304:0)),2&e.def.flags&&(e.state&=-9),e.state&=-97,_n(e,768,1024)}function Do(e,t,n,r,s,o,i,a,l,c,u,d,h){return 0===n?function(e,t,n,r,s,o,i,a,l,c,u,d){switch(201347067&t.flags){case 1:return function(e,t,n,r,s,o,i,a,l,c,u,d){const h=t.bindings.length;let f=!1;return h>0&&uo(e,t,0,n)&&(f=!0),h>1&&uo(e,t,1,r)&&(f=!0),h>2&&uo(e,t,2,s)&&(f=!0),h>3&&uo(e,t,3,o)&&(f=!0),h>4&&uo(e,t,4,i)&&(f=!0),h>5&&uo(e,t,5,a)&&(f=!0),h>6&&uo(e,t,6,l)&&(f=!0),h>7&&uo(e,t,7,c)&&(f=!0),h>8&&uo(e,t,8,u)&&(f=!0),h>9&&uo(e,t,9,d)&&(f=!0),f}(e,t,n,r,s,o,i,a,l,c,u,d);case 2:return function(e,t,n,r,s,o,i,a,l,c,u,d){let h=!1;const f=t.bindings,p=f.length;if(p>0&&Rn(e,t,0,n)&&(h=!0),p>1&&Rn(e,t,1,r)&&(h=!0),p>2&&Rn(e,t,2,s)&&(h=!0),p>3&&Rn(e,t,3,o)&&(h=!0),p>4&&Rn(e,t,4,i)&&(h=!0),p>5&&Rn(e,t,5,a)&&(h=!0),p>6&&Rn(e,t,6,l)&&(h=!0),p>7&&Rn(e,t,7,c)&&(h=!0),p>8&&Rn(e,t,8,u)&&(h=!0),p>9&&Rn(e,t,9,d)&&(h=!0),h){let h=t.text.prefix;p>0&&(h+=wo(n,f[0])),p>1&&(h+=wo(r,f[1])),p>2&&(h+=wo(s,f[2])),p>3&&(h+=wo(o,f[3])),p>4&&(h+=wo(i,f[4])),p>5&&(h+=wo(a,f[5])),p>6&&(h+=wo(l,f[6])),p>7&&(h+=wo(c,f[7])),p>8&&(h+=wo(u,f[8])),p>9&&(h+=wo(d,f[9]));const g=wn(e,t.nodeIndex).renderText;e.renderer.setValue(g,h)}return h}(e,t,n,r,s,o,i,a,l,c,u,d);case 16384:return function(e,t,n,r,s,o,i,a,l,c,u,d){const h=vn(e,t.nodeIndex),f=h.instance;let p=!1,g=void 0;const m=t.bindings.length;return m>0&&Mn(e,t,0,n)&&(p=!0,g=Kr(e,h,t,0,n,g)),m>1&&Mn(e,t,1,r)&&(p=!0,g=Kr(e,h,t,1,r,g)),m>2&&Mn(e,t,2,s)&&(p=!0,g=Kr(e,h,t,2,s,g)),m>3&&Mn(e,t,3,o)&&(p=!0,g=Kr(e,h,t,3,o,g)),m>4&&Mn(e,t,4,i)&&(p=!0,g=Kr(e,h,t,4,i,g)),m>5&&Mn(e,t,5,a)&&(p=!0,g=Kr(e,h,t,5,a,g)),m>6&&Mn(e,t,6,l)&&(p=!0,g=Kr(e,h,t,6,l,g)),m>7&&Mn(e,t,7,c)&&(p=!0,g=Kr(e,h,t,7,c,g)),m>8&&Mn(e,t,8,u)&&(p=!0,g=Kr(e,h,t,8,u,g)),m>9&&Mn(e,t,9,d)&&(p=!0,g=Kr(e,h,t,9,d,g)),g&&f.ngOnChanges(g),65536&t.flags&&yn(e,256,t.nodeIndex)&&f.ngOnInit(),262144&t.flags&&f.ngDoCheck(),p}(e,t,n,r,s,o,i,a,l,c,u,d);case 32:case 64:case 128:return function(e,t,n,r,s,o,i,a,l,c,u,d){const h=t.bindings;let f=!1;const p=h.length;if(p>0&&Rn(e,t,0,n)&&(f=!0),p>1&&Rn(e,t,1,r)&&(f=!0),p>2&&Rn(e,t,2,s)&&(f=!0),p>3&&Rn(e,t,3,o)&&(f=!0),p>4&&Rn(e,t,4,i)&&(f=!0),p>5&&Rn(e,t,5,a)&&(f=!0),p>6&&Rn(e,t,6,l)&&(f=!0),p>7&&Rn(e,t,7,c)&&(f=!0),p>8&&Rn(e,t,8,u)&&(f=!0),p>9&&Rn(e,t,9,d)&&(f=!0),f){const f=En(e,t.nodeIndex);let g;switch(201347067&t.flags){case 32:g=new Array(h.length),p>0&&(g[0]=n),p>1&&(g[1]=r),p>2&&(g[2]=s),p>3&&(g[3]=o),p>4&&(g[4]=i),p>5&&(g[5]=a),p>6&&(g[6]=l),p>7&&(g[7]=c),p>8&&(g[8]=u),p>9&&(g[9]=d);break;case 64:g={},p>0&&(g[h[0].name]=n),p>1&&(g[h[1].name]=r),p>2&&(g[h[2].name]=s),p>3&&(g[h[3].name]=o),p>4&&(g[h[4].name]=i),p>5&&(g[h[5].name]=a),p>6&&(g[h[6].name]=l),p>7&&(g[h[7].name]=c),p>8&&(g[h[8].name]=u),p>9&&(g[h[9].name]=d);break;case 128:const e=n;switch(p){case 1:g=e.transform(n);break;case 2:g=e.transform(r);break;case 3:g=e.transform(r,s);break;case 4:g=e.transform(r,s,o);break;case 5:g=e.transform(r,s,o,i);break;case 6:g=e.transform(r,s,o,i,a);break;case 7:g=e.transform(r,s,o,i,a,l);break;case 8:g=e.transform(r,s,o,i,a,l,c);break;case 9:g=e.transform(r,s,o,i,a,l,c,u);break;case 10:g=e.transform(r,s,o,i,a,l,c,u,d)}}f.value=g}return f}(e,t,n,r,s,o,i,a,l,c,u,d);default:throw"unreachable"}}(e,t,r,s,o,i,a,l,c,u,d,h):function(e,t,n){switch(201347067&t.flags){case 1:return function(e,t,n){let r=!1;for(let s=0;s<n.length;s++)uo(e,t,s,n[s])&&(r=!0);return r}(e,t,n);case 2:return function(e,t,n){const r=t.bindings;let s=!1;for(let o=0;o<n.length;o++)Rn(e,t,o,n[o])&&(s=!0);if(s){let s="";for(let e=0;e<n.length;e++)s+=wo(n[e],r[e]);s=t.text.prefix+s;const o=wn(e,t.nodeIndex).renderText;e.renderer.setValue(o,s)}return s}(e,t,n);case 16384:return function(e,t,n){const r=vn(e,t.nodeIndex),s=r.instance;let o=!1,i=void 0;for(let a=0;a<n.length;a++)Mn(e,t,a,n[a])&&(o=!0,i=Kr(e,r,t,a,n[a],i));return i&&s.ngOnChanges(i),65536&t.flags&&yn(e,256,t.nodeIndex)&&s.ngOnInit(),262144&t.flags&&s.ngDoCheck(),o}(e,t,n);case 32:case 64:case 128:return function(e,t,n){const r=t.bindings;let s=!1;for(let o=0;o<n.length;o++)Rn(e,t,o,n[o])&&(s=!0);if(s){const s=En(e,t.nodeIndex);let o;switch(201347067&t.flags){case 32:o=n;break;case 64:o={};for(let t=0;t<n.length;t++)o[r[t].name]=n[t];break;case 128:const e=n[0],s=n.slice(1);o=e.transform(...s)}s.value=o}return s}(e,t,n);default:throw"unreachable"}}(e,t,r)}function Mo(e){const t=e.def;if(4&t.nodeFlags)for(let n=0;n<t.nodes.length;n++){const r=t.nodes[n];if(4&r.flags){const t=bn(e,n).template._projectedViews;if(t)for(let n=0;n<t.length;n++){const r=t[n];r.state|=32,Vn(r,e)}}else 0==(4&r.childFlags)&&(n+=r.childCount)}}function Ro(e,t,n,r,s,o,i,a,l,c,u,d,h){return 0===n?function(e,t,n,r,s,o,i,a,l,c,u,d){const h=t.bindings.length;h>0&&On(e,t,0,n),h>1&&On(e,t,1,r),h>2&&On(e,t,2,s),h>3&&On(e,t,3,o),h>4&&On(e,t,4,i),h>5&&On(e,t,5,a),h>6&&On(e,t,6,l),h>7&&On(e,t,7,c),h>8&&On(e,t,8,u),h>9&&On(e,t,9,d)}(e,t,r,s,o,i,a,l,c,u,d,h):function(e,t,n){for(let r=0;r<n.length;r++)On(e,t,r,n[r])}(e,t,r),!1}function Oo(e,t){if(Cn(e,t.nodeIndex).dirty)throw pn(xn.createDebugContext(e,t.nodeIndex),`Query ${t.query.id} not dirty`,`Query ${t.query.id} dirty`,0!=(1&e.state))}function Po(e){if(!(128&e.state)){if(Fo(e,Vo.Destroy),Ho(e,Vo.Destroy),Gr(e,131072),e.disposables)for(let t=0;t<e.disposables.length;t++)e.disposables[t]();!function(e){if(!(16&e.state))return;const t=Fn(e);if(t){const n=t.template._projectedViews;n&&(fr(n,n.indexOf(e)),xn.dirtyParentQueries(e))}}(e),e.renderer.destroyNode&&function(e){const t=e.def.nodes.length;for(let n=0;n<t;n++){const t=e.def.nodes[n];1&t.flags?e.renderer.destroyNode(bn(e,n).renderElement):2&t.flags?e.renderer.destroyNode(wn(e,n).renderText):(67108864&t.flags||134217728&t.flags)&&Cn(e,n).destroy()}}(e),Bn(e)&&e.renderer.destroy(),e.state|=128}}const Vo=function(){var e={CreateViewNodes:0,CheckNoChanges:1,CheckNoChangesProjectedViews:2,CheckAndUpdate:3,CheckAndUpdateProjectedViews:4,Destroy:5};return e[e.CreateViewNodes]="CreateViewNodes",e[e.CheckNoChanges]="CheckNoChanges",e[e.CheckNoChangesProjectedViews]="CheckNoChangesProjectedViews",e[e.CheckAndUpdate]="CheckAndUpdate",e[e.CheckAndUpdateProjectedViews]="CheckAndUpdateProjectedViews",e[e.Destroy]="Destroy",e}();function Ho(e,t){const n=e.def;if(33554432&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];33554432&s.flags?jo(bn(e,r).componentView,t):0==(33554432&s.childFlags)&&(r+=s.childCount)}}function Fo(e,t){const n=e.def;if(16777216&n.nodeFlags)for(let r=0;r<n.nodes.length;r++){const s=n.nodes[r];if(16777216&s.flags){const n=bn(e,r).viewContainer._embeddedViews;for(let e=0;e<n.length;e++)jo(n[e],t)}else 0==(16777216&s.childFlags)&&(r+=s.childCount)}}function jo(e,t){const n=e.state;switch(t){case Vo.CheckNoChanges:0==(128&n)&&(12==(12&n)?So(e):64&n&&Lo(e,Vo.CheckNoChangesProjectedViews));break;case Vo.CheckNoChangesProjectedViews:0==(128&n)&&(32&n?So(e):64&n&&Lo(e,t));break;case Vo.CheckAndUpdate:0==(128&n)&&(12==(12&n)?Ao(e):64&n&&Lo(e,Vo.CheckAndUpdateProjectedViews));break;case Vo.CheckAndUpdateProjectedViews:0==(128&n)&&(32&n?Ao(e):64&n&&Lo(e,t));break;case Vo.Destroy:Po(e);break;case Vo.CreateViewNodes:Io(e)}}function Lo(e,t){Fo(e,t),Ho(e,t)}function Bo(e,t,n,r){if(!(e.def.nodeFlags&t&&e.def.nodeFlags&n))return;const s=e.def.nodes.length;for(let o=0;o<s;o++){const s=e.def.nodes[o];if(s.flags&t&&s.flags&n)switch(xn.setCurrentNode(e,s.nodeIndex),r){case 0:fo(e,s);break;case 1:Oo(e,s)}s.childFlags&t&&s.childFlags&n||(o+=s.childCount)}}let zo=!1;function $o(e,t,n,r,s,o){const i=s.injector.get(Lt);return xo(Zo(e,s,i,t,n),r,o)}function Uo(e,t,n,r,s,o){const i=s.injector.get(Lt),a=Zo(e,s,new Ci(i),t,n),l=ti(r);return vi(ai.create,xo,null,[a,l,o])}function Zo(e,t,n,r,s){const o=t.injector.get(dt),i=t.injector.get(je),a=n.createRenderer(null,null);return{ngModule:t,injector:e,projectableNodes:r,selectorOrNode:s,sanitizer:o,rendererFactory:n,renderer:a,errorHandler:i}}function Qo(e,t,n,r){const s=ti(n);return vi(ai.create,Co,null,[e,t,s,r])}function qo(e,t,n,r){return n=Yo.get(t.element.componentProvider.provider.token)||ti(n),vi(ai.create,To,null,[e,t,n,r])}function Ko(e,t,n,r){return Ir(e,t,n,function(e){const{hasOverrides:t,hasDeprecatedOverrides:n}=function(e){let t=!1,n=!1;return 0===Go.size?{hasOverrides:t,hasDeprecatedOverrides:n}:(e.providers.forEach(e=>{const r=Go.get(e.token);3840&e.flags&&r&&(t=!0,n=n||r.deprecatedBehavior)}),e.modules.forEach(e=>{Wo.forEach((r,s)=>{te(s).providedIn===e&&(t=!0,n=n||r.deprecatedBehavior)})}),{hasOverrides:t,hasDeprecatedOverrides:n})}(e);return t?(function(e){for(let t=0;t<e.providers.length;t++){const r=e.providers[t];n&&(r.flags|=4096);const s=Go.get(r.token);s&&(r.flags=-3841&r.flags|s.flags,r.deps=Un(s.deps),r.value=s.value)}if(Wo.size>0){let t=new Set(e.modules);Wo.forEach((r,s)=>{if(t.has(te(s).providedIn)){let t={token:s,flags:r.flags|(n?4096:0),deps:Un(r.deps),value:r.value,index:e.providers.length};e.providers.push(t),e.providersByKey[Nn(s)]=t}})}}(e=e.factory(()=>Tn)),e):e}(r))}const Go=new Map,Wo=new Map,Yo=new Map;function Jo(e){let t;Go.set(e.token,e),"function"==typeof e.token&&(t=te(e.token))&&"function"==typeof t.providedIn&&Wo.set(e.token,e)}function Xo(e,t){const n=qn(t.viewDefFactory),r=qn(n.nodes[0].element.componentView);Yo.set(e,r)}function ei(){Go.clear(),Wo.clear(),Yo.clear()}function ti(e){if(0===Go.size)return e;const t=function(e){const t=[];let n=null;for(let r=0;r<e.nodes.length;r++){const s=e.nodes[r];1&s.flags&&(n=s),n&&3840&s.flags&&Go.has(s.provider.token)&&(t.push(n.nodeIndex),n=null)}return t}(e);if(0===t.length)return e;e=e.factory(()=>Tn);for(let r=0;r<t.length;r++)n(e,t[r]);return e;function n(e,t){for(let n=t+1;n<e.nodes.length;n++){const t=e.nodes[n];if(1&t.flags)return;if(3840&t.flags){const e=t.provider,n=Go.get(e.token);n&&(t.flags=-3841&t.flags|n.flags,e.deps=Un(n.deps),e.value=n.value)}}}}function ni(e,t,n,r,s,o,i,a,l,c,u,d,h){const f=e.def.nodes[t];return Do(e,f,n,r,s,o,i,a,l,c,u,d,h),224&f.flags?En(e,t).value:void 0}function ri(e,t,n,r,s,o,i,a,l,c,u,d,h){const f=e.def.nodes[t];return Ro(e,f,n,r,s,o,i,a,l,c,u,d,h),224&f.flags?En(e,t).value:void 0}function si(e){return vi(ai.detectChanges,Ao,null,[e])}function oi(e){return vi(ai.checkNoChanges,So,null,[e])}function ii(e){return vi(ai.destroy,Po,null,[e])}const ai=function(){var e={create:0,detectChanges:1,checkNoChanges:2,destroy:3,handleEvent:4};return e[e.create]="create",e[e.detectChanges]="detectChanges",e[e.checkNoChanges]="checkNoChanges",e[e.destroy]="destroy",e[e.handleEvent]="handleEvent",e}();let li,ci,ui;function di(e,t){ci=e,ui=t}function hi(e,t,n,r){return di(e,t),vi(ai.handleEvent,e.def.handleEvent,null,[e,t,n,r])}function fi(e,t){if(128&e.state)throw mn(ai[li]);return di(e,_i(e,0)),e.def.updateDirectives(function(e,n,r,...s){const o=e.def.nodes[n];return 0===t?gi(e,o,r,s):mi(e,o,r,s),16384&o.flags&&di(e,_i(e,n)),224&o.flags?En(e,o.nodeIndex).value:void 0},e)}function pi(e,t){if(128&e.state)throw mn(ai[li]);return di(e,yi(e,0)),e.def.updateRenderer(function(e,n,r,...s){const o=e.def.nodes[n];return 0===t?gi(e,o,r,s):mi(e,o,r,s),3&o.flags&&di(e,yi(e,n)),224&o.flags?En(e,o.nodeIndex).value:void 0},e)}function gi(e,t,n,r){if(Do(e,t,n,...r)){const i=1===n?r[0]:r;if(16384&t.flags){const n={};for(let e=0;e<t.bindings.length;e++){const r=t.bindings[e],a=i[e];8&r.flags&&(n[(s=r.nonMinifiedName,o=void 0,o=s.replace(/[$@]/g,"_"),`ng-reflect-${s=o.replace(pt,(...e)=>"-"+e[1].toLowerCase())}`)]=gt(a))}const r=t.parent,a=bn(e,r.nodeIndex).renderElement;if(r.element.name)for(let t in n){const r=n[t];null!=r?e.renderer.setAttribute(a,t,r):e.renderer.removeAttribute(a,t)}else e.renderer.setValue(a,`bindings=${JSON.stringify(n,null,2)}`)}}var s,o}function mi(e,t,n,r){Ro(e,t,n,...r)}function _i(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(16384&t.flags&&t.bindings&&t.bindings.length)return n}return null}function yi(e,t){for(let n=t;n<e.def.nodes.length;n++){const t=e.def.nodes[n];if(3&t.flags&&t.bindings&&t.bindings.length)return n}return null}class wi{constructor(e,t){this.view=e,this.nodeIndex=t,null==t&&(this.nodeIndex=t=0),this.nodeDef=e.def.nodes[t];let n=this.nodeDef,r=e;for(;n&&0==(1&n.flags);)n=n.parent;if(!n)for(;!n&&r;)n=jn(r),r=r.parent;this.elDef=n,this.elView=r}get elOrCompView(){return bn(this.elView,this.elDef.nodeIndex).componentView||this.view}get injector(){return xr(this.elView,this.elDef)}get component(){return this.elOrCompView.component}get context(){return this.elOrCompView.context}get providerTokens(){const e=[];if(this.elDef)for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&e.push(n.provider.token),t+=n.childCount}return e}get references(){const e={};if(this.elDef){bi(this.elView,this.elDef,e);for(let t=this.elDef.nodeIndex+1;t<=this.elDef.nodeIndex+this.elDef.childCount;t++){const n=this.elView.def.nodes[t];20224&n.flags&&bi(this.elView,n,e),t+=n.childCount}}return e}get componentRenderElement(){const e=function(e){for(;e&&!Bn(e);)e=e.parent;return e.parent?bn(e.parent,jn(e).nodeIndex):null}(this.elOrCompView);return e?e.renderElement:void 0}get renderNode(){return 2&this.nodeDef.flags?Ln(this.view,this.nodeDef):Ln(this.elView,this.elDef)}logError(e,...t){let n,r;2&this.nodeDef.flags?(n=this.view.def,r=this.nodeDef.nodeIndex):(n=this.elView.def,r=this.elDef.nodeIndex);const s=function(e,t){let n=-1;for(let r=0;r<=t;r++)3&e.nodes[r].flags&&n++;return n}(n,r);let o=-1;n.factory(()=>++o===s?e.error.bind(e,...t):Tn),o<s&&(e.error("Illegal state: the ViewDefinitionFactory did not call the logger!"),e.error(...t))}}function bi(e,t,n){for(let r in t.references)n[r]=go(e,t,t.references[r])}function vi(e,t,n,r){const s=li,o=ci,i=ui;try{li=e;const l=t.apply(n,r);return ci=o,ui=i,li=s,l}catch(a){if(Ve(a)||!ci)throw a;throw function(e,t){return e instanceof Error||(e=new Error(e.toString())),gn(e,t),e}(a,Ei())}}function Ei(){return ci?new wi(ci,ui):null}class Ci{constructor(e){this.delegate=e}createRenderer(e,t){return new xi(this.delegate.createRenderer(e,t))}begin(){this.delegate.begin&&this.delegate.begin()}end(){this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.delegate.whenRenderingDone?this.delegate.whenRenderingDone():Promise.resolve(null)}}class xi{constructor(e){this.delegate=e,this.debugContextFactory=Ei,this.data=this.delegate.data}createDebugContext(e){return this.debugContextFactory(e)}destroyNode(e){!function(e){Gs.delete(e.nativeNode)}(Ws(e)),this.delegate.destroyNode&&this.delegate.destroyNode(e)}destroy(){this.delegate.destroy()}createElement(e,t){const n=this.delegate.createElement(e,t),r=this.createDebugContext(n);if(r){const t=new Ks(n,null,r);t.name=e,Ys(t)}return n}createComment(e){const t=this.delegate.createComment(e),n=this.createDebugContext(t);return n&&Ys(new qs(t,null,n)),t}createText(e){const t=this.delegate.createText(e),n=this.createDebugContext(t);return n&&Ys(new qs(t,null,n)),t}appendChild(e,t){const n=Ws(e),r=Ws(t);n&&r&&n instanceof Ks&&n.addChild(r),this.delegate.appendChild(e,t)}insertBefore(e,t,n){const r=Ws(e),s=Ws(t),o=Ws(n);r&&s&&r instanceof Ks&&r.insertBefore(o,s),this.delegate.insertBefore(e,t,n)}removeChild(e,t){const n=Ws(e),r=Ws(t);n&&r&&n instanceof Ks&&n.removeChild(r),this.delegate.removeChild(e,t)}selectRootElement(e,t){const n=this.delegate.selectRootElement(e,t),r=Ei();return r&&Ys(new Ks(n,null,r)),n}setAttribute(e,t,n,r){const s=Ws(e);s&&s instanceof Ks&&(s.attributes[r?r+":"+t:t]=n),this.delegate.setAttribute(e,t,n,r)}removeAttribute(e,t,n){const r=Ws(e);r&&r instanceof Ks&&(r.attributes[n?n+":"+t:t]=null),this.delegate.removeAttribute(e,t,n)}addClass(e,t){const n=Ws(e);n&&n instanceof Ks&&(n.classes[t]=!0),this.delegate.addClass(e,t)}removeClass(e,t){const n=Ws(e);n&&n instanceof Ks&&(n.classes[t]=!1),this.delegate.removeClass(e,t)}setStyle(e,t,n,r){const s=Ws(e);s&&s instanceof Ks&&(s.styles[t]=n),this.delegate.setStyle(e,t,n,r)}removeStyle(e,t,n){const r=Ws(e);r&&r instanceof Ks&&(r.styles[t]=null),this.delegate.removeStyle(e,t,n)}setProperty(e,t,n){const r=Ws(e);r&&r instanceof Ks&&(r.properties[t]=n),this.delegate.setProperty(e,t,n)}listen(e,t,n){if("string"!=typeof e){const r=Ws(e);r&&r.listeners.push(new Qs(t,n))}return this.delegate.listen(e,t,n)}parentNode(e){return this.delegate.parentNode(e)}nextSibling(e){return this.delegate.nextSibling(e)}setValue(e,t){return this.delegate.setValue(e,t)}}function Ti(e,t,n){return new ki(e,t,n)}class ki extends Pt{constructor(e,t,n){super(),this.moduleType=e,this._bootstrapComponents=t,this._ngModuleDefFactory=n}create(e){!function(){if(zo)return;zo=!0;const e=ze()?{setCurrentNode:di,createRootView:Uo,createEmbeddedView:Qo,createComponentView:qo,createNgModuleRef:Ko,overrideProvider:Jo,overrideComponentView:Xo,clearOverrides:ei,checkAndUpdateView:si,checkNoChangesView:oi,destroyView:ii,createDebugContext:(e,t)=>new wi(e,t),handleEvent:hi,updateDirectives:fi,updateRenderer:pi}:{setCurrentNode:()=>{},createRootView:$o,createEmbeddedView:Co,createComponentView:To,createNgModuleRef:Ir,overrideProvider:Tn,overrideComponentView:Tn,clearOverrides:Tn,checkAndUpdateView:Ao,checkNoChangesView:So,destroyView:Po,createDebugContext:(e,t)=>new wi(e,t),handleEvent:(e,t,n,r)=>e.def.handleEvent(e,t,n,r),updateDirectives:(e,t)=>e.def.updateDirectives(0===t?ni:ri,e),updateRenderer:(e,t)=>e.def.updateRenderer(0===t?ni:ri,e)};xn.setCurrentNode=e.setCurrentNode,xn.createRootView=e.createRootView,xn.createEmbeddedView=e.createEmbeddedView,xn.createComponentView=e.createComponentView,xn.createNgModuleRef=e.createNgModuleRef,xn.overrideProvider=e.overrideProvider,xn.overrideComponentView=e.overrideComponentView,xn.clearOverrides=e.clearOverrides,xn.checkAndUpdateView=e.checkAndUpdateView,xn.checkNoChangesView=e.checkNoChangesView,xn.destroyView=e.destroyView,xn.resolveDep=Qr,xn.createDebugContext=e.createDebugContext,xn.handleEvent=e.handleEvent,xn.updateDirectives=e.updateDirectives,xn.updateRenderer=e.updateRenderer,xn.dirtyParentQueries=ho}();const t=function(e){const t=Array.from(e.providers),n=Array.from(e.modules),r={};for(const s in e.providersByKey)r[s]=e.providersByKey[s];return{factory:e.factory,isRoot:e.isRoot,providers:t,modules:n,providersByKey:r}}(qn(this._ngModuleDefFactory));return xn.createNgModuleRef(this.moduleType,e||_e.NULL,this._bootstrapComponents,t)}}class Ni{}const Ii=void 0;var Si=["en",[["a","p"],["AM","PM"],Ii],[["AM","PM"],Ii,Ii],[["S","M","T","W","T","F","S"],["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"],["Su","Mo","Tu","We","Th","Fr","Sa"]],Ii,[["J","F","M","A","M","J","J","A","S","O","N","D"],["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],["January","February","March","April","May","June","July","August","September","October","November","December"]],Ii,[["B","A"],["BC","AD"],["Before Christ","Anno Domini"]],0,[6,0],["M/d/yy","MMM d, y","MMMM d, y","EEEE, MMMM d, y"],["h:mm a","h:mm:ss a","h:mm:ss a z","h:mm:ss a zzzz"],["{1}, {0}",Ii,"{1} 'at' {0}",Ii],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"$","US Dollar",{},function(e){let t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];const Ai={},Di=function(){var e={Zero:0,One:1,Two:2,Few:3,Many:4,Other:5};return e[e.Zero]="Zero",e[e.One]="One",e[e.Two]="Two",e[e.Few]="Few",e[e.Many]="Many",e[e.Other]="Other",e}(),Mi=new he("UseV4Plurals");class Ri{}const Oi=(()=>(class extends Ri{constructor(e,t){super(),this.locale=e,this.deprecatedPluralFn=t}getPluralCategory(e,t){switch(this.deprecatedPluralFn?this.deprecatedPluralFn(t||this.locale,e):function(e){return function(e){const t=e.toLowerCase().replace(/_/g,"-");let n=Ai[t];if(n)return n;const r=t.split("-")[0];if(n=Ai[r])return n;if("en"===r)return Si;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[18]}(t||this.locale)(e)){case Di.Zero:return"zero";case Di.One:return"one";case Di.Two:return"two";case Di.Few:return"few";case Di.Many:return"many";default:return"other"}}}))();class Pi{constructor(e,t,n,r){this.$implicit=e,this.ngForOf=t,this.index=n,this.count=r}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}const Vi=(()=>(class{constructor(e,t,n){this._viewContainer=e,this._template=t,this._differs=n,this._ngForOfDirty=!0,this._differ=null}set ngForOf(e){this._ngForOf=e,this._ngForOfDirty=!0}set ngForTrackBy(e){ze()&&null!=e&&"function"!=typeof e&&console&&console.warn&&console.warn(`trackBy must be a function, but received ${JSON.stringify(e)}. `+"See https://angular.io/docs/ts/latest/api/common/index/NgFor-directive.html#!#change-propagation for more information."),this._trackByFn=e}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(e){e&&(this._template=e)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const n=this._ngForOf;if(!this._differ&&n)try{this._differ=this._differs.find(n).create(this.ngForTrackBy)}catch(t){throw new Error(`Cannot find a differ supporting object '${n}' of type '${e=n,e.name||typeof e}'. NgFor only supports binding to Iterables such as Arrays.`)}}var e;if(this._differ){const e=this._differ.diff(this._ngForOf);e&&this._applyChanges(e)}}_applyChanges(e){const t=[];e.forEachOperation((e,n,r)=>{if(null==e.previousIndex){const n=this._viewContainer.createEmbeddedView(this._template,new Pi(null,this._ngForOf,-1,-1),r),s=new Hi(e,n);t.push(s)}else if(null==r)this._viewContainer.remove(n);else{const s=this._viewContainer.get(n);this._viewContainer.move(s,r);const o=new Hi(e,s);t.push(o)}});for(let n=0;n<t.length;n++)this._perViewChange(t[n].view,t[n].record);for(let n=0,r=this._viewContainer.length;n<r;n++){const e=this._viewContainer.get(n);e.context.index=n,e.context.count=r,e.context.ngForOf=this._ngForOf}e.forEachIdentityChange(e=>{this._viewContainer.get(e.currentIndex).context.$implicit=e.item})}_perViewChange(e,t){e.context.$implicit=t.item}static ngTemplateContextGuard(e,t){return!0}}))();class Hi{constructor(e,t){this.record=e,this.view=t}}const Fi=(()=>(class{}))(),ji=new he("DocumentToken");class Li{}class Bi{constructor(e){this.localeId=e,this.title="i18nDemo",this.languageList=[{code:"en",label:"English"},{code:"hi",label:"\u0939\u093f\u0902\u0926\u0940"},{code:"es",label:"Espanol"}]}}var zi=An({encapsulation:0,styles:[[".button[_ngcontent-%COMP%]{background-color:#483d8b;border-radius:5px;color:#fff;padding:5px;width:10%;margin:5px;text-decoration:none;cursor:pointer}"]],data:{}});function $i(e){return bo(0,[(e()(),io(0,0,null,null,3,null,null,null,null,null,null,null)),(e()(),io(1,0,null,null,2,"a",[],[[8,"href",4]],null,null,null,null)),(e()(),io(2,0,null,null,1,"button",[["class","button"]],null,null,null,null,null)),(e()(),_o(3,null,["",""]))],null,function(e,t){var n;e(t,1,0,("/","/"+(null!=(n=t.context.$implicit.code)?n.toString():"")+"/")),e(t,3,0,t.context.$implicit.label)})}function Ui(e){return bo(0,[(e()(),io(0,0,null,null,1,"h1",[],null,null,null,null,null)),(e()(),_o(-1,null,["Localization Demo in Angular using i18n"])),(e()(),io(2,0,null,null,1,"h3",[],null,null,null,null,null)),(e()(),_o(-1,null,["\u0939\u0947\u0932\u094b, \u092e\u0947\u0930\u093e \u0928\u093e\u092e \u0905\u0902\u0915\u093f\u0924 \u0939\u0948"])),(e()(),io(4,0,null,null,1,"p",[],null,null,null,null,null)),(e()(),_o(-1,null,["This text will remain same in all languages"])),(e()(),io(6,0,null,null,0,"hr",[],null,null,null,null,null)),(e()(),oo(16777216,null,null,1,null,$i)),Fr(8,278528,null,0,Vi,[hn,un,nn],{ngForOf:[0,"ngForOf"]},null)],function(e,t){e(t,8,0,t.component.languageList)},null)}function Zi(e){return bo(0,[(e()(),io(0,0,null,null,1,"app-root",[],null,null,null,Ui,zi)),Fr(1,49152,null,0,Bi,[Xs],null,null)],null,null)}var Qi=gr("app-root",Bi,Zi,{},{},[]);let qi=null;function Ki(){return qi}class Gi{constructor(){this.resourceLoaderType=null}get attrToPropMap(){return this._attrToPropMap}set attrToPropMap(e){this._attrToPropMap=e}}class Wi extends Gi{constructor(){super(),this._animationPrefix=null,this._transitionEnd=null;try{const t=this.createElement("div",document);if(null!=this.getStyle(t,"animationName"))this._animationPrefix="";else{const e=["Webkit","Moz","O","ms"];for(let n=0;n<e.length;n++)if(null!=this.getStyle(t,e[n]+"AnimationName")){this._animationPrefix="-"+e[n].toLowerCase()+"-";break}}const n={WebkitTransition:"webkitTransitionEnd",MozTransition:"transitionend",OTransition:"oTransitionEnd otransitionend",transition:"transitionend"};Object.keys(n).forEach(e=>{null!=this.getStyle(t,e)&&(this._transitionEnd=n[e])})}catch(e){this._animationPrefix=null,this._transitionEnd=null}}getDistributedNodes(e){return e.getDistributedNodes()}resolveAndSetHref(e,t,n){e.href=null==n?t:t+"/../"+n}supportsDOMEvents(){return!0}supportsNativeShadowDOM(){return"function"==typeof document.body.createShadowRoot}getAnimationPrefix(){return this._animationPrefix?this._animationPrefix:""}getTransitionEnd(){return this._transitionEnd?this._transitionEnd:""}supportsAnimation(){return null!=this._animationPrefix&&null!=this._transitionEnd}}const Yi={class:"className",innerHtml:"innerHTML",readonly:"readOnly",tabindex:"tabIndex"},Ji=3,Xi={"\b":"Backspace","\t":"Tab","\x7f":"Delete","\x1b":"Escape",Del:"Delete",Esc:"Escape",Left:"ArrowLeft",Right:"ArrowRight",Up:"ArrowUp",Down:"ArrowDown",Menu:"ContextMenu",Scroll:"ScrollLock",Win:"OS"},ea={A:"1",B:"2",C:"3",D:"4",E:"5",F:"6",G:"7",H:"8",I:"9",J:"*",K:"+",M:"-",N:".",O:"/","`":"0","\x90":"NumLock"},ta=(()=>{if(le.Node)return le.Node.prototype.contains||function(e){return!!(16&this.compareDocumentPosition(e))}})();class na extends Wi{parse(e){throw new Error("parse not implemented")}static makeCurrent(){var e;e=new na,qi||(qi=e)}hasProperty(e,t){return t in e}setProperty(e,t,n){e[t]=n}getProperty(e,t){return e[t]}invoke(e,t,n){e[t](...n)}logError(e){window.console&&(console.error?console.error(e):console.log(e))}log(e){window.console&&window.console.log&&window.console.log(e)}logGroup(e){window.console&&window.console.group&&window.console.group(e)}logGroupEnd(){window.console&&window.console.groupEnd&&window.console.groupEnd()}get attrToPropMap(){return Yi}contains(e,t){return ta.call(e,t)}querySelector(e,t){return e.querySelector(t)}querySelectorAll(e,t){return e.querySelectorAll(t)}on(e,t,n){e.addEventListener(t,n,!1)}onAndCancel(e,t,n){return e.addEventListener(t,n,!1),()=>{e.removeEventListener(t,n,!1)}}dispatchEvent(e,t){e.dispatchEvent(t)}createMouseEvent(e){const t=this.getDefaultDocument().createEvent("MouseEvent");return t.initEvent(e,!0,!0),t}createEvent(e){const t=this.getDefaultDocument().createEvent("Event");return t.initEvent(e,!0,!0),t}preventDefault(e){e.preventDefault(),e.returnValue=!1}isPrevented(e){return e.defaultPrevented||null!=e.returnValue&&!e.returnValue}getInnerHTML(e){return e.innerHTML}getTemplateContent(e){return"content"in e&&this.isTemplateElement(e)?e.content:null}getOuterHTML(e){return e.outerHTML}nodeName(e){return e.nodeName}nodeValue(e){return e.nodeValue}type(e){return e.type}content(e){return this.hasProperty(e,"content")?e.content:e}firstChild(e){return e.firstChild}nextSibling(e){return e.nextSibling}parentElement(e){return e.parentNode}childNodes(e){return e.childNodes}childNodesAsList(e){const t=e.childNodes,n=new Array(t.length);for(let r=0;r<t.length;r++)n[r]=t[r];return n}clearNodes(e){for(;e.firstChild;)e.removeChild(e.firstChild)}appendChild(e,t){e.appendChild(t)}removeChild(e,t){e.removeChild(t)}replaceChild(e,t,n){e.replaceChild(t,n)}remove(e){return e.parentNode&&e.parentNode.removeChild(e),e}insertBefore(e,t,n){e.insertBefore(n,t)}insertAllBefore(e,t,n){n.forEach(n=>e.insertBefore(n,t))}insertAfter(e,t,n){e.insertBefore(n,t.nextSibling)}setInnerHTML(e,t){e.innerHTML=t}getText(e){return e.textContent}setText(e,t){e.textContent=t}getValue(e){return e.value}setValue(e,t){e.value=t}getChecked(e){return e.checked}setChecked(e,t){e.checked=t}createComment(e){return this.getDefaultDocument().createComment(e)}createTemplate(e){const t=this.getDefaultDocument().createElement("template");return t.innerHTML=e,t}createElement(e,t){return(t=t||this.getDefaultDocument()).createElement(e)}createElementNS(e,t,n){return(n=n||this.getDefaultDocument()).createElementNS(e,t)}createTextNode(e,t){return(t=t||this.getDefaultDocument()).createTextNode(e)}createScriptTag(e,t,n){const r=(n=n||this.getDefaultDocument()).createElement("SCRIPT");return r.setAttribute(e,t),r}createStyleElement(e,t){const n=(t=t||this.getDefaultDocument()).createElement("style");return this.appendChild(n,this.createTextNode(e,t)),n}createShadowRoot(e){return e.createShadowRoot()}getShadowRoot(e){return e.shadowRoot}getHost(e){return e.host}clone(e){return e.cloneNode(!0)}getElementsByClassName(e,t){return e.getElementsByClassName(t)}getElementsByTagName(e,t){return e.getElementsByTagName(t)}classList(e){return Array.prototype.slice.call(e.classList,0)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}hasClass(e,t){return e.classList.contains(t)}setStyle(e,t,n){e.style[t]=n}removeStyle(e,t){e.style[t]=""}getStyle(e,t){return e.style[t]}hasStyle(e,t,n){const r=this.getStyle(e,t)||"";return n?r==n:r.length>0}tagName(e){return e.tagName}attributeMap(e){const t=new Map,n=e.attributes;for(let r=0;r<n.length;r++){const e=n.item(r);t.set(e.name,e.value)}return t}hasAttribute(e,t){return e.hasAttribute(t)}hasAttributeNS(e,t,n){return e.hasAttributeNS(t,n)}getAttribute(e,t){return e.getAttribute(t)}getAttributeNS(e,t,n){return e.getAttributeNS(t,n)}setAttribute(e,t,n){e.setAttribute(t,n)}setAttributeNS(e,t,n,r){e.setAttributeNS(t,n,r)}removeAttribute(e,t){e.removeAttribute(t)}removeAttributeNS(e,t,n){e.removeAttributeNS(t,n)}templateAwareRoot(e){return this.isTemplateElement(e)?this.content(e):e}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}getBoundingClientRect(e){try{return e.getBoundingClientRect()}catch(t){return{top:0,bottom:0,left:0,right:0,width:0,height:0}}}getTitle(e){return e.title}setTitle(e,t){e.title=t||""}elementMatches(e,t){return!!this.isElementNode(e)&&(e.matches&&e.matches(t)||e.msMatchesSelector&&e.msMatchesSelector(t)||e.webkitMatchesSelector&&e.webkitMatchesSelector(t))}isTemplateElement(e){return this.isElementNode(e)&&"TEMPLATE"===e.nodeName}isTextNode(e){return e.nodeType===Node.TEXT_NODE}isCommentNode(e){return e.nodeType===Node.COMMENT_NODE}isElementNode(e){return e.nodeType===Node.ELEMENT_NODE}hasShadowRoot(e){return null!=e.shadowRoot&&e instanceof HTMLElement}isShadowRoot(e){return e instanceof DocumentFragment}importIntoDoc(e){return document.importNode(this.templateAwareRoot(e),!0)}adoptNode(e){return document.adoptNode(e)}getHref(e){return e.getAttribute("href")}getEventKey(e){let t=e.key;if(null==t){if(null==(t=e.keyIdentifier))return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),e.location===Ji&&ea.hasOwnProperty(t)&&(t=ea[t]))}return Xi[t]||t}getGlobalEventTarget(e,t){return"window"===t?window:"document"===t?e:"body"===t?e.body:null}getHistory(){return window.history}getLocation(){return window.location}getBaseHref(e){const t=sa||(sa=document.querySelector("base"))?sa.getAttribute("href"):null;return null==t?null:(n=t,ra||(ra=document.createElement("a")),ra.setAttribute("href",n),"/"===ra.pathname.charAt(0)?ra.pathname:"/"+ra.pathname);var n}resetBaseElement(){sa=null}getUserAgent(){return window.navigator.userAgent}setData(e,t,n){this.setAttribute(e,"data-"+t,n)}getData(e,t){return this.getAttribute(e,"data-"+t)}getComputedStyle(e){return getComputedStyle(e)}supportsWebAnimation(){return"function"==typeof Element.prototype.animate}performanceNow(){return window.performance&&window.performance.now?window.performance.now():(new Date).getTime()}supportsCookies(){return!0}getCookie(e){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const e=n.indexOf("="),[r,s]=-1==e?[n,""]:[n.slice(0,e),n.slice(e+1)];if(r.trim()===t)return decodeURIComponent(s)}return null}(document.cookie,e)}setCookie(e,t){document.cookie=encodeURIComponent(e)+"="+encodeURIComponent(t)}}let ra,sa=null;function oa(){return!!window.history.pushState}const ia=(()=>{class e extends Ni{constructor(e){super(),this._doc=e,this._init()}_init(){this.location=Ki().getLocation(),this._history=Ki().getHistory()}getBaseHrefFromDOM(){return Ki().getBaseHref(this._doc)}onPopState(e){Ki().getGlobalEventTarget(this._doc,"window").addEventListener("popstate",e,!1)}onHashChange(e){Ki().getGlobalEventTarget(this._doc,"window").addEventListener("hashchange",e,!1)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(e){this.location.pathname=e}pushState(e,t,n){oa()?this._history.pushState(e,t,n):this.location.hash=n}replaceState(e,t,n){oa()?this._history.replaceState(e,t,n):this.location.hash=n}forward(){this._history.forward()}back(){this._history.back()}getState(){return this._history.state}}return e.ctorParameters=(()=>[{type:void 0,decorators:[{type:K,args:[ji]}]}]),e})(),aa=new he("TRANSITION_ID"),la=[{provide:ts,useFactory:function(e,t,n){return()=>{n.get(ns).donePromise.then(()=>{const n=Ki();Array.prototype.slice.apply(n.querySelectorAll(t,"style[ng-transition]")).filter(t=>n.getAttribute(t,"ng-transition")===e).forEach(e=>n.remove(e))})}},deps:[aa,ji,_e],multi:!0}];class ca{static init(){var e;e=new ca,Vs=e}addToWindow(e){le.getAngularTestability=((t,n=!0)=>{const r=e.findTestabilityInTree(t,n);if(null==r)throw new Error("Could not find testability for element.");return r}),le.getAllAngularTestabilities=(()=>e.getAllTestabilities()),le.getAllAngularRootElements=(()=>e.getAllRootElements()),le.frameworkStabilizers||(le.frameworkStabilizers=[]),le.frameworkStabilizers.push(e=>{const t=le.getAllAngularTestabilities();let n=t.length,r=!1;const s=function(t){r=r||t,0==--n&&e(r)};t.forEach(function(e){e.whenStable(s)})})}findTestabilityInTree(e,t,n){if(null==t)return null;const r=e.getTestability(t);return null!=r?r:n?Ki().isShadowRoot(t)?this.findTestabilityInTree(e,Ki().getHost(t),!0):this.findTestabilityInTree(e,Ki().parentElement(t),!0):null}}function ua(e,t){"undefined"!=typeof COMPILED&&COMPILED||((le.ng=le.ng||{})[e]=t)}const da=(()=>({ApplicationRef:Us,NgZone:Ts}))();function ha(e){return Ws(e)}const fa=new he("EventManagerPlugins"),pa=(()=>(class{constructor(e,t){this._zone=t,this._eventNameToPlugin=new Map,e.forEach(e=>e.manager=this),this._plugins=e.slice().reverse()}addEventListener(e,t,n){return this._findPluginFor(t).addEventListener(e,t,n)}addGlobalEventListener(e,t,n){return this._findPluginFor(t).addGlobalEventListener(e,t,n)}getZone(){return this._zone}_findPluginFor(e){const t=this._eventNameToPlugin.get(e);if(t)return t;const n=this._plugins;for(let r=0;r<n.length;r++){const t=n[r];if(t.supports(e))return this._eventNameToPlugin.set(e,t),t}throw new Error(`No event manager plugin found for event ${e}`)}}))();class ga{constructor(e){this._doc=e}addGlobalEventListener(e,t,n){const r=Ki().getGlobalEventTarget(this._doc,e);if(!r)throw new Error(`Unsupported event target ${r} for event ${t}`);return this.addEventListener(r,t,n)}}const ma=(()=>(class{constructor(){this._stylesSet=new Set}addStyles(e){const t=new Set;e.forEach(e=>{this._stylesSet.has(e)||(this._stylesSet.add(e),t.add(e))}),this.onStylesAdded(t)}onStylesAdded(e){}getAllStyles(){return Array.from(this._stylesSet)}}))(),_a=(()=>(class extends ma{constructor(e){super(),this._doc=e,this._hostNodes=new Set,this._styleNodes=new Set,this._hostNodes.add(e.head)}_addStylesToHost(e,t){e.forEach(e=>{const n=this._doc.createElement("style");n.textContent=e,this._styleNodes.add(t.appendChild(n))})}addHost(e){this._addStylesToHost(this._stylesSet,e),this._hostNodes.add(e)}removeHost(e){this._hostNodes.delete(e)}onStylesAdded(e){this._hostNodes.forEach(t=>this._addStylesToHost(e,t))}ngOnDestroy(){this._styleNodes.forEach(e=>Ki().remove(e))}}))(),ya={svg:"http://www.w3.org/2000/svg",xhtml:"http://www.w3.org/1999/xhtml",xlink:"http://www.w3.org/1999/xlink",xml:"http://www.w3.org/XML/1998/namespace",xmlns:"http://www.w3.org/2000/xmlns/"},wa=/%COMP%/g,ba="_nghost-%COMP%",va="_ngcontent-%COMP%";function Ea(e,t,n){for(let r=0;r<t.length;r++){let s=t[r];Array.isArray(s)?Ea(e,s,n):(s=s.replace(wa,e),n.push(s))}return n}function Ca(e){return t=>{!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}const xa=(()=>(class{constructor(e,t,n){this.eventManager=e,this.sharedStylesHost=t,this.appId=n,this.rendererByCompId=new Map,this.defaultRenderer=new Ta(e)}createRenderer(e,t){if(!e||!t)return this.defaultRenderer;switch(t.encapsulation){case Oe.Emulated:{let n=this.rendererByCompId.get(t.id);return n||(n=new Ia(this.eventManager,this.sharedStylesHost,t,this.appId),this.rendererByCompId.set(t.id,n)),n.applyToHost(e),n}case Oe.Native:case Oe.ShadowDom:return new Sa(this.eventManager,this.sharedStylesHost,e,t);default:if(!this.rendererByCompId.has(t.id)){const e=Ea(t.id,t.styles,[]);this.sharedStylesHost.addStyles(e),this.rendererByCompId.set(t.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}))();class Ta{constructor(e){this.eventManager=e,this.data=Object.create(null)}destroy(){}createElement(e,t){return t?document.createElementNS(ya[t]||t,e):document.createElement(e)}createComment(e){return document.createComment(e)}createText(e){return document.createTextNode(e)}appendChild(e,t){e.appendChild(t)}insertBefore(e,t,n){e&&e.insertBefore(t,n)}removeChild(e,t){e&&e.removeChild(t)}selectRootElement(e,t){let n="string"==typeof e?document.querySelector(e):e;if(!n)throw new Error(`The selector "${e}" did not match any elements`);return t||(n.textContent=""),n}parentNode(e){return e.parentNode}nextSibling(e){return e.nextSibling}setAttribute(e,t,n,r){if(r){t=`${r}:${t}`;const s=ya[r];s?e.setAttributeNS(s,t,n):e.setAttribute(t,n)}else e.setAttribute(t,n)}removeAttribute(e,t,n){if(n){const r=ya[n];r?e.removeAttributeNS(r,t):e.removeAttribute(`${n}:${t}`)}else e.removeAttribute(t)}addClass(e,t){e.classList.add(t)}removeClass(e,t){e.classList.remove(t)}setStyle(e,t,n,r){r&Bt.DashCase?e.style.setProperty(t,n,r&Bt.Important?"important":""):e.style[t]=n}removeStyle(e,t,n){n&Bt.DashCase?e.style.removeProperty(t):e.style[t]=""}setProperty(e,t,n){Na(t,"property"),e[t]=n}setValue(e,t){e.nodeValue=t}listen(e,t,n){return Na(t,"listener"),"string"==typeof e?this.eventManager.addGlobalEventListener(e,t,Ca(n)):this.eventManager.addEventListener(e,t,Ca(n))}}const ka=(()=>"@".charCodeAt(0))();function Na(e,t){if(e.charCodeAt(0)===ka)throw new Error(`Found the synthetic ${t} ${e}. Please include either "BrowserAnimationsModule" or "NoopAnimationsModule" in your application.`)}class Ia extends Ta{constructor(e,t,n,r){super(e),this.component=n;const s=Ea(r+"-"+n.id,n.styles,[]);t.addStyles(s),this.contentAttr=va.replace(wa,r+"-"+n.id),this.hostAttr=ba.replace(wa,r+"-"+n.id)}applyToHost(e){super.setAttribute(e,this.hostAttr,"")}createElement(e,t){const n=super.createElement(e,t);return super.setAttribute(n,this.contentAttr,""),n}}class Sa extends Ta{constructor(e,t,n,r){super(e),this.sharedStylesHost=t,this.hostEl=n,this.component=r,this.shadowRoot=r.encapsulation===Oe.ShadowDom?n.attachShadow({mode:"open"}):n.createShadowRoot(),this.sharedStylesHost.addHost(this.shadowRoot);const s=Ea(r.id,r.styles,[]);for(let o=0;o<s.length;o++){const e=document.createElement("style");e.textContent=s[o],this.shadowRoot.appendChild(e)}}nodeOrShadowRoot(e){return e===this.hostEl?this.shadowRoot:e}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(e,t){return super.appendChild(this.nodeOrShadowRoot(e),t)}insertBefore(e,t,n){return super.insertBefore(this.nodeOrShadowRoot(e),t,n)}removeChild(e,t){return super.removeChild(this.nodeOrShadowRoot(e),t)}parentNode(e){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(e)))}}const Aa=(()=>"undefined"!=typeof Zone&&Zone.__symbol__||function(e){return"__zone_symbol__"+e})(),Da=Aa("addEventListener"),Ma=Aa("removeEventListener"),Ra={},Oa="__zone_symbol__propagationStopped",Pa=(()=>{const e="undefined"!=typeof Zone&&Zone[Aa("BLACK_LISTED_EVENTS")];if(e){const t={};return e.forEach(e=>{t[e]=e}),t}})(),Va=function(e){return!!Pa&&Pa.hasOwnProperty(e)},Ha=function(e){const t=Ra[e.type];if(!t)return;const n=this[t];if(!n)return;const r=[e];if(1===n.length){const e=n[0];return e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}{const t=n.slice();for(let n=0;n<t.length&&!0!==e[Oa];n++){const e=t[n];e.zone!==Zone.current?e.zone.run(e.handler,this,r):e.handler.apply(this,r)}}},Fa=(()=>(class extends ga{constructor(e,t,n){super(e),this.ngZone=t,n&&function(e){return"server"===e}(n)||this.patchEvent()}patchEvent(){if("undefined"==typeof Event||!Event||!Event.prototype)return;if(Event.prototype.__zone_symbol__stopImmediatePropagation)return;const e=Event.prototype.__zone_symbol__stopImmediatePropagation=Event.prototype.stopImmediatePropagation;Event.prototype.stopImmediatePropagation=function(){this&&(this[Oa]=!0),e&&e.apply(this,arguments)}}supports(e){return!0}addEventListener(e,t,n){let r=n;if(!e[Da]||Ts.isInAngularZone()&&!Va(t))e.addEventListener(t,r,!1);else{let n=Ra[t];n||(n=Ra[t]=Aa("ANGULAR"+t+"FALSE"));let s=e[n];const o=s&&s.length>0;s||(s=e[n]=[]);const i=Va(t)?Zone.root:Zone.current;if(0===s.length)s.push({zone:i,handler:r});else{let e=!1;for(let t=0;t<s.length;t++)if(s[t].handler===r){e=!0;break}e||s.push({zone:i,handler:r})}o||e[Da](t,Ha,!1)}return()=>this.removeEventListener(e,t,r)}removeEventListener(e,t,n){let r=e[Ma];if(!r)return e.removeEventListener.apply(e,[t,n,!1]);let s=Ra[t],o=s&&e[s];if(!o)return e.removeEventListener.apply(e,[t,n,!1]);let i=!1;for(let a=0;a<o.length;a++)if(o[a].handler===n){i=!0,o.splice(a,1);break}i?0===o.length&&r.apply(e,[t,Ha,!1]):e.removeEventListener.apply(e,[t,n,!1])}}))(),ja={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0},La=new he("HammerGestureConfig"),Ba=new he("HammerLoader"),za=(()=>(class{constructor(){this.events=[],this.overrides={}}buildHammer(e){const t=new Hammer(e,this.options);t.get("pinch").set({enable:!0}),t.get("rotate").set({enable:!0});for(const n in this.overrides)t.get(n).set(this.overrides[n]);return t}}))(),$a=(()=>(class extends ga{constructor(e,t,n,r){super(e),this._config=t,this.console=n,this.loader=r}supports(e){return!(!ja.hasOwnProperty(e.toLowerCase())&&!this.isCustomEvent(e)||!window.Hammer&&!this.loader&&(this.console.warn(`The "${e}" event cannot be bound because Hammer.JS is not `+"loaded and no custom loader has been specified."),1))}addEventListener(e,t,n){const r=this.manager.getZone();if(t=t.toLowerCase(),!window.Hammer&&this.loader){let r=!1,s=()=>{r=!0};return this.loader().then(()=>{if(!window.Hammer)return this.console.warn("The custom HAMMER_LOADER completed, but Hammer.JS is not present."),void(s=(()=>{}));r||(s=this.addEventListener(e,t,n))}).catch(()=>{this.console.warn(`The "${t}" event cannot be bound because the custom `+"Hammer.JS loader failed."),s=(()=>{})}),()=>{s()}}return r.runOutsideAngular(()=>{const s=this._config.buildHammer(e),o=function(e){r.runGuarded(function(){n(e)})};return s.on(t,o),()=>{s.off(t,o),"function"==typeof s.destroy&&s.destroy()}})}isCustomEvent(e){return this._config.events.indexOf(e)>-1}}))(),Ua=["alt","control","meta","shift"],Za={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey},Qa=(()=>{class e extends ga{constructor(e){super(e)}supports(t){return null!=e.parseEventName(t)}addEventListener(t,n,r){const s=e.parseEventName(n),o=e.eventCallback(s.fullKey,r,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ki().onAndCancel(t,s.domEventName,o))}static parseEventName(t){const n=t.toLowerCase().split("."),r=n.shift();if(0===n.length||"keydown"!==r&&"keyup"!==r)return null;const s=e._normalizeKey(n.pop());let o="";if(Ua.forEach(e=>{const t=n.indexOf(e);t>-1&&(n.splice(t,1),o+=e+".")}),o+=s,0!=n.length||0===s.length)return null;const i={};return i.domEventName=r,i.fullKey=o,i}static getEventFullKey(e){let t="",n=Ki().getEventKey(e);return" "===(n=n.toLowerCase())?n="space":"."===n&&(n="dot"),Ua.forEach(r=>{r!=n&&(0,Za[r])(e)&&(t+=r+".")}),t+=n}static eventCallback(t,n,r){return s=>{e.getEventFullKey(s)===t&&r.runGuarded(()=>n(s))}}static _normalizeKey(e){switch(e){case"esc":return"escape";default:return e}}}return e})();class qa{}const Ka=(()=>(class extends qa{constructor(e){super(),this._doc=e}sanitize(e,t){if(null==t)return null;switch(e){case ut.NONE:return t;case ut.HTML:return t instanceof Wa?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"HTML"),function(e,t){let n=null;try{lt=lt||new $e(e);let r=t?String(t):"";n=lt.getInertBodyElement(r);let s=5,o=r;do{if(0===s)throw new Error("Failed to sanitize html because the input is unstable");s--,r=o,o=n.innerHTML,n=lt.getInertBodyElement(r)}while(r!==o);const i=new st,a=i.sanitizeChildren(ct(n)||n);return ze()&&i.sanitizedSomething&&console.warn("WARNING: sanitizing HTML stripped some content, see http://g.co/ng/security#xss"),a}finally{if(n){const e=ct(n)||n;for(;e.firstChild;)e.removeChild(e.firstChild)}}}(this._doc,String(t)));case ut.STYLE:return t instanceof Ya?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"Style"),function(e){if(!(e=String(e).trim()))return"";const t=e.match(ft);return t&&Qe(t[1])===t[1]||e.match(ht)&&function(e){let t=!0,n=!0;for(let r=0;r<e.length;r++){const s=e.charAt(r);"'"===s&&n?t=!t:'"'===s&&t&&(n=!n)}return t&&n}(e)?e:(ze()&&console.warn(`WARNING: sanitizing unsafe style value ${e} (see http://g.co/ng/security#xss).`),"unsafe")}(t));case ut.SCRIPT:if(t instanceof Ja)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"Script"),new Error("unsafe value used in a script context");case ut.URL:return t instanceof el||t instanceof Xa?t.changingThisBreaksApplicationSecurity:(this.checkNotSafeValue(t,"URL"),Qe(String(t)));case ut.RESOURCE_URL:if(t instanceof el)return t.changingThisBreaksApplicationSecurity;throw this.checkNotSafeValue(t,"ResourceURL"),new Error("unsafe value used in a resource URL context (see http://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${e} (see http://g.co/ng/security#xss)`)}}checkNotSafeValue(e,t){if(e instanceof Ga)throw new Error(`Required a safe ${t}, got a ${e.getTypeName()} `+"(see http://g.co/ng/security#xss)")}bypassSecurityTrustHtml(e){return new Wa(e)}bypassSecurityTrustStyle(e){return new Ya(e)}bypassSecurityTrustScript(e){return new Ja(e)}bypassSecurityTrustUrl(e){return new Xa(e)}bypassSecurityTrustResourceUrl(e){return new el(e)}}))();class Ga{constructor(e){this.changingThisBreaksApplicationSecurity=e}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity}`+" (see http://g.co/ng/security#xss)"}}class Wa extends Ga{getTypeName(){return"HTML"}}class Ya extends Ga{getTypeName(){return"Style"}}class Ja extends Ga{getTypeName(){return"Script"}}class Xa extends Ga{getTypeName(){return"URL"}}class el extends Ga{getTypeName(){return"ResourceURL"}}const tl=Ls(Js,"browser",[{provide:as,useValue:"browser"},{provide:is,useValue:function(){na.makeCurrent(),ca.init()},multi:!0},{provide:Ni,useClass:ia,deps:[ji]},{provide:ji,useFactory:function(){return document},deps:[]}]);function nl(){return new je}const rl=(()=>{class e{constructor(e){if(e)throw new Error("BrowserModule has already been loaded. If you need access to common directives such as NgIf and NgFor from a lazy loaded module, import CommonModule instead.")}static withServerTransition(t){return{ngModule:e,providers:[{provide:rs,useValue:t.appId},{provide:aa,useExisting:rs},la]}}}return e})();"undefined"!=typeof window&&window;var sl,ol,il,al=Ti(Li,[Bi],function(e){return function(e){const t={},n=[];let r=!1;for(let s=0;s<e.length;s++){const o=e[s];o.token===Tt&&!0===o.value&&(r=!0),1073741824&o.flags&&n.push(o.token),o.index=s,t[Nn(o.token)]=o}return{factory:null,providersByKey:t,providers:e,modules:n,isRoot:r}}([ir(512,Dt,Mt,[[8,[Qi]],[3,Dt],Ot]),ir(4352,Xs,"hi",[]),ir(4608,Ri,Oi,[Xs,[2,Mi]]),ir(5120,Jr,ro,[Ts]),ir(4608,gs,gs,[]),ir(5120,rs,ss,[]),ir(5120,nn,to,[]),ir(5120,rn,no,[]),ir(4608,qa,Ka,[ji]),ir(6144,dt,null,[qa]),ir(4608,La,za,[]),ir(5120,fa,function(e,t,n,r,s,o,i,a){return[new Fa(e,t,n),new Qa(r),new $a(s,o,i,a)]},[ji,Ts,as,ji,ji,La,cs,[2,Ba]]),ir(4608,pa,pa,[fa,Ts]),ir(135680,_a,_a,[ji]),ir(4608,xa,xa,[pa,_a,rs]),ir(6144,Lt,null,[xa]),ir(6144,ma,null,[_a]),ir(4608,Ms,Ms,[Ts]),ir(1073742336,Fi,Fi,[]),ir(1024,je,nl,[]),ir(1024,ts,function(e){return[(t=e,ua("probe",ha),ua("coreTokens",Object.assign({},da,(t||[]).reduce((e,t)=>(e[t.name]=t.token,e),{}))),()=>ha)];var t},[[2,js]]),ir(512,ns,ns,[[2,ts]]),ir(131584,Us,Us,[Ts,cs,_e,je,Dt,ns]),ir(1073742336,so,so,[Us]),ir(1073742336,rl,rl,[[3,rl]]),ir(1073742336,Li,Li,[]),ir(256,Tt,!0,[]),ir(256,eo,"xlf",[])])});sl=s.a,"string"!=typeof ol&&(il=ol,ol=sl[0]),ol=ol.toLowerCase().replace(/_/g,"-"),Ai[ol]=sl,il&&(Ai[ol][19]=il),function(){if(Be)throw new Error("Cannot enable prod mode after platform setup.");Le=!1}(),tl().bootstrapModuleFactory(al).catch(e=>console.error(e))}},[[0,0]]]);