-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathmain.706ad2b6ebbbb40a1b96.js
1 lines (1 loc) · 109 KB
/
main.706ad2b6ebbbb40a1b96.js
1
(self.webpackChunkangular_crash=self.webpackChunkangular_crash||[]).push([[179],{255:jr=>{function en(Br){return Promise.resolve().then(()=>{var tn=new Error("Cannot find module '"+Br+"'");throw tn.code="MODULE_NOT_FOUND",tn})}en.keys=()=>[],en.resolve=en,en.id=255,jr.exports=en},808:(jr,en,Br)=>{"use strict";function tn(e){return"function"==typeof e}let $s=!1;const dt={Promise:void 0,set useDeprecatedSynchronousErrorHandling(e){if(e){const t=new Error;console.warn("DEPRECATED! RxJS was set to use deprecated synchronous error handling behavior by code at: \n"+t.stack)}else $s&&console.log("RxJS: Back to a better error behavior. Thank you. <3");$s=e},get useDeprecatedSynchronousErrorHandling(){return $s}};function Ln(e){setTimeout(()=>{throw e},0)}const ni={closed:!0,next(e){},error(e){if(dt.useDeprecatedSynchronousErrorHandling)throw e;Ln(e)},complete(){}},$y=Array.isArray||(e=>e&&"number"==typeof e.length);function pc(e){return null!==e&&"object"==typeof e}const ri=(()=>{function e(t){return Error.call(this),this.message=t?`${t.length} errors occurred during unsubscription:\n${t.map((n,r)=>`${r+1}) ${n.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=t,this}return e.prototype=Object.create(Error.prototype),e})();class ae{constructor(t){this.closed=!1,this._parentOrParents=null,this._subscriptions=null,t&&(this._ctorUnsubscribe=!0,this._unsubscribe=t)}unsubscribe(){let t;if(this.closed)return;let{_parentOrParents:n,_ctorUnsubscribe:r,_unsubscribe:o,_subscriptions:i}=this;if(this.closed=!0,this._parentOrParents=null,this._subscriptions=null,n instanceof ae)n.remove(this);else if(null!==n)for(let s=0;s<n.length;++s)n[s].remove(this);if(tn(o)){r&&(this._unsubscribe=void 0);try{o.call(this)}catch(s){t=s instanceof ri?gc(s.errors):[s]}}if($y(i)){let s=-1,a=i.length;for(;++s<a;){const u=i[s];if(pc(u))try{u.unsubscribe()}catch(l){t=t||[],l instanceof ri?t=t.concat(gc(l.errors)):t.push(l)}}}if(t)throw new ri(t)}add(t){let n=t;if(!t)return ae.EMPTY;switch(typeof t){case"function":n=new ae(t);case"object":if(n===this||n.closed||"function"!=typeof n.unsubscribe)return n;if(this.closed)return n.unsubscribe(),n;if(!(n instanceof ae)){const i=n;n=new ae,n._subscriptions=[i]}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 ae){if(r===this)return n;n._parentOrParents=[r,this]}else{if(-1!==r.indexOf(this))return n;r.push(this)}const o=this._subscriptions;return null===o?this._subscriptions=[n]:o.push(n),n}remove(t){const n=this._subscriptions;if(n){const r=n.indexOf(t);-1!==r&&n.splice(r,1)}}}var e;function gc(e){return e.reduce((t,n)=>t.concat(n instanceof ri?n.errors:n),[])}ae.EMPTY=((e=new ae).closed=!0,e);const oi="function"==typeof Symbol?Symbol("rxSubscriber"):"@@rxSubscriber_"+Math.random();class $e extends ae{constructor(t,n,r){switch(super(),this.syncErrorValue=null,this.syncErrorThrown=!1,this.syncErrorThrowable=!1,this.isStopped=!1,arguments.length){case 0:this.destination=ni;break;case 1:if(!t){this.destination=ni;break}if("object"==typeof t){t instanceof $e?(this.syncErrorThrowable=t.syncErrorThrowable,this.destination=t,t.add(this)):(this.syncErrorThrowable=!0,this.destination=new mc(this,t));break}default:this.syncErrorThrowable=!0,this.destination=new mc(this,t,n,r)}}[oi](){return this}static create(t,n,r){const o=new $e(t,n,r);return o.syncErrorThrowable=!1,o}next(t){this.isStopped||this._next(t)}error(t){this.isStopped||(this.isStopped=!0,this._error(t))}complete(){this.isStopped||(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe())}_next(t){this.destination.next(t)}_error(t){this.destination.error(t),this.unsubscribe()}_complete(){this.destination.complete(),this.unsubscribe()}_unsubscribeAndRecycle(){const{_parentOrParents:t}=this;return this._parentOrParents=null,this.unsubscribe(),this.closed=!1,this.isStopped=!1,this._parentOrParents=t,this}}class mc extends $e{constructor(t,n,r,o){super(),this._parentSubscriber=t;let i,s=this;tn(n)?i=n:n&&(i=n.next,r=n.error,o=n.complete,n!==ni&&(s=Object.create(n),tn(s.unsubscribe)&&this.add(s.unsubscribe.bind(s)),s.unsubscribe=this.unsubscribe.bind(this))),this._context=s,this._next=i,this._error=r,this._complete=o}next(t){if(!this.isStopped&&this._next){const{_parentSubscriber:n}=this;dt.useDeprecatedSynchronousErrorHandling&&n.syncErrorThrowable?this.__tryOrSetError(n,this._next,t)&&this.unsubscribe():this.__tryOrUnsub(this._next,t)}}error(t){if(!this.isStopped){const{_parentSubscriber:n}=this,{useDeprecatedSynchronousErrorHandling:r}=dt;if(this._error)r&&n.syncErrorThrowable?(this.__tryOrSetError(n,this._error,t),this.unsubscribe()):(this.__tryOrUnsub(this._error,t),this.unsubscribe());else if(n.syncErrorThrowable)r?(n.syncErrorValue=t,n.syncErrorThrown=!0):Ln(t),this.unsubscribe();else{if(this.unsubscribe(),r)throw t;Ln(t)}}}complete(){if(!this.isStopped){const{_parentSubscriber:t}=this;if(this._complete){const n=()=>this._complete.call(this._context);dt.useDeprecatedSynchronousErrorHandling&&t.syncErrorThrowable?(this.__tryOrSetError(t,n),this.unsubscribe()):(this.__tryOrUnsub(n),this.unsubscribe())}else this.unsubscribe()}}__tryOrUnsub(t,n){try{t.call(this._context,n)}catch(r){if(this.unsubscribe(),dt.useDeprecatedSynchronousErrorHandling)throw r;Ln(r)}}__tryOrSetError(t,n,r){if(!dt.useDeprecatedSynchronousErrorHandling)throw new Error("bad call");try{n.call(this._context,r)}catch(o){return dt.useDeprecatedSynchronousErrorHandling?(t.syncErrorValue=o,t.syncErrorThrown=!0,!0):(Ln(o),!0)}return!1}_unsubscribe(){const{_parentSubscriber:t}=this;this._context=null,this._parentSubscriber=null,t.unsubscribe()}}const Hr="function"==typeof Symbol&&Symbol.observable||"@@observable";function yc(e){return e}let Ve=(()=>{class e{constructor(n){this._isScalar=!1,n&&(this._subscribe=n)}lift(n){const r=new e;return r.source=this,r.operator=n,r}subscribe(n,r,o){const{operator:i}=this,s=function(e,t,n){if(e){if(e instanceof $e)return e;if(e[oi])return e[oi]()}return e||t||n?new $e(e,t,n):new $e(ni)}(n,r,o);if(s.add(i?i.call(s,this.source):this.source||dt.useDeprecatedSynchronousErrorHandling&&!s.syncErrorThrowable?this._subscribe(s):this._trySubscribe(s)),dt.useDeprecatedSynchronousErrorHandling&&s.syncErrorThrowable&&(s.syncErrorThrowable=!1,s.syncErrorThrown))throw s.syncErrorValue;return s}_trySubscribe(n){try{return this._subscribe(n)}catch(r){dt.useDeprecatedSynchronousErrorHandling&&(n.syncErrorThrown=!0,n.syncErrorValue=r),function(e){for(;e;){const{closed:t,destination:n,isStopped:r}=e;if(t||r)return!1;e=n&&n instanceof $e?n:null}return!0}(n)?n.error(r):console.warn(r)}}forEach(n,r){return new(r=Dc(r))((o,i)=>{let s;s=this.subscribe(a=>{try{n(a)}catch(u){i(u),s&&s.unsubscribe()}},i,o)})}_subscribe(n){const{source:r}=this;return r&&r.subscribe(n)}[Hr](){return this}pipe(...n){return 0===n.length?this:function(e){return 0===e.length?yc:1===e.length?e[0]:function(n){return e.reduce((r,o)=>o(r),n)}}(n)(this)}toPromise(n){return new(n=Dc(n))((r,o)=>{let i;this.subscribe(s=>i=s,s=>o(s),()=>r(i))})}}return e.create=t=>new e(t),e})();function Dc(e){if(e||(e=dt.Promise||Promise),!e)throw new Error("no Promise impl found");return e}const $r=(()=>{function e(){return Error.call(this),this.message="object unsubscribed",this.name="ObjectUnsubscribedError",this}return e.prototype=Object.create(Error.prototype),e})();class Gy extends ae{constructor(t,n){super(),this.subject=t,this.subscriber=n,this.closed=!1}unsubscribe(){if(this.closed)return;this.closed=!0;const t=this.subject,n=t.observers;if(this.subject=null,!n||0===n.length||t.isStopped||t.closed)return;const r=n.indexOf(this.subscriber);-1!==r&&n.splice(r,1)}}class Cc extends $e{constructor(t){super(t),this.destination=t}}let Us=(()=>{class e extends Ve{constructor(){super(),this.observers=[],this.closed=!1,this.isStopped=!1,this.hasError=!1,this.thrownError=null}[oi](){return new Cc(this)}lift(n){const r=new Ec(this,this);return r.operator=n,r}next(n){if(this.closed)throw new $r;if(!this.isStopped){const{observers:r}=this,o=r.length,i=r.slice();for(let s=0;s<o;s++)i[s].next(n)}}error(n){if(this.closed)throw new $r;this.hasError=!0,this.thrownError=n,this.isStopped=!0;const{observers:r}=this,o=r.length,i=r.slice();for(let s=0;s<o;s++)i[s].error(n);this.observers.length=0}complete(){if(this.closed)throw new $r;this.isStopped=!0;const{observers:n}=this,r=n.length,o=n.slice();for(let i=0;i<r;i++)o[i].complete();this.observers.length=0}unsubscribe(){this.isStopped=!0,this.closed=!0,this.observers=null}_trySubscribe(n){if(this.closed)throw new $r;return super._trySubscribe(n)}_subscribe(n){if(this.closed)throw new $r;return this.hasError?(n.error(this.thrownError),ae.EMPTY):this.isStopped?(n.complete(),ae.EMPTY):(this.observers.push(n),new Gy(this,n))}asObservable(){const n=new Ve;return n.source=this,n}}return e.create=(t,n)=>new Ec(t,n),e})();class Ec extends Us{constructor(t,n){super(),this.destination=t,this.source=n}next(t){const{destination:n}=this;n&&n.next&&n.next(t)}error(t){const{destination:n}=this;n&&n.error&&this.destination.error(t)}complete(){const{destination:t}=this;t&&t.complete&&this.destination.complete()}_subscribe(t){const{source:n}=this;return n?this.source.subscribe(t):ae.EMPTY}}class zy{constructor(t,n){this.project=t,this.thisArg=n}call(t,n){return n.subscribe(new Ky(t,this.project,this.thisArg))}}class Ky extends $e{constructor(t,n,r){super(t),this.project=n,this.count=0,this.thisArg=r||this}_next(t){let n;try{n=this.project.call(this.thisArg,t,this.count++)}catch(r){return void this.destination.error(r)}this.destination.next(n)}}const bc=e=>t=>{for(let n=0,r=e.length;n<r&&!t.closed;n++)t.next(e[n]);t.complete()},ii="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator",wc=e=>e&&"number"==typeof e.length&&"function"!=typeof e;function vc(e){return!!e&&"function"!=typeof e.subscribe&&"function"==typeof e.then}const Ic=e=>{if(e&&"function"==typeof e[Hr])return(e=>t=>{const n=e[Hr]();if("function"!=typeof n.subscribe)throw new TypeError("Provided object does not correctly implement Symbol.observable");return n.subscribe(t)})(e);if(wc(e))return bc(e);if(vc(e))return(e=>t=>(e.then(n=>{t.closed||(t.next(n),t.complete())},n=>t.error(n)).then(null,Ln),t))(e);if(e&&"function"==typeof e[ii])return(e=>t=>{const n=e[ii]();for(;;){let r;try{r=n.next()}catch(o){return t.error(o),t}if(r.done){t.complete();break}if(t.next(r.value),t.closed)break}return"function"==typeof n.return&&t.add(()=>{n.return&&n.return()}),t})(e);{const n=`You provided ${pc(e)?"an invalid object":`'${e}'`} where a stream was expected. You can provide an Observable, Promise, Array, or Iterable.`;throw new TypeError(n)}};function Tc(e,t){return new Ve(n=>{const r=new ae;let o=0;return r.add(t.schedule(function(){o!==e.length?(n.next(e[o++]),n.closed||r.add(this.schedule())):n.complete()})),r})}class a_ extends $e{constructor(t){super(),this.parent=t}_next(t){this.parent.notifyNext(t)}_error(t){this.parent.notifyError(t),this.unsubscribe()}_complete(){this.parent.notifyComplete(),this.unsubscribe()}}class u_ extends $e{notifyNext(t){this.destination.next(t)}notifyError(t){this.destination.error(t)}notifyComplete(){this.destination.complete()}}function Mc(e,t,n=Number.POSITIVE_INFINITY){return"function"==typeof t?r=>r.pipe(Mc((o,i)=>function(e,t){return e instanceof Ve?e:new Ve(Ic(e))}(e(o,i)).pipe(function(e,t){return function(r){return r.lift(new zy(e,undefined))}}((s,a)=>t(o,s,i,a))),n)):("number"==typeof t&&(n=t),r=>r.lift(new c_(e,n)))}class c_{constructor(t,n=Number.POSITIVE_INFINITY){this.project=t,this.concurrent=n}call(t,n){return n.subscribe(new d_(t,this.project,this.concurrent))}}class d_ extends u_{constructor(t,n,r=Number.POSITIVE_INFINITY){super(t),this.project=n,this.concurrent=r,this.hasCompleted=!1,this.buffer=[],this.active=0,this.index=0}_next(t){this.active<this.concurrent?this._tryNext(t):this.buffer.push(t)}_tryNext(t){let n;const r=this.index++;try{n=this.project(t,r)}catch(o){return void this.destination.error(o)}this.active++,this._innerSub(n)}_innerSub(t){const n=new a_(this),r=this.destination;r.add(n);const o=function(e,t){if(t.closed)return;if(e instanceof Ve)return e.subscribe(t);let n;try{n=Ic(e)(t)}catch(r){t.error(r)}return n}(t,n);o!==n&&r.add(o)}_complete(){this.hasCompleted=!0,0===this.active&&0===this.buffer.length&&this.destination.complete(),this.unsubscribe()}notifyNext(t){this.destination.next(t)}notifyComplete(){const t=this.buffer;this.active--,t.length>0?this._next(t.shift()):0===this.active&&this.hasCompleted&&this.destination.complete()}}function Sc(){return function(t){return t.lift(new g_(t))}}class g_{constructor(t){this.connectable=t}call(t,n){const{connectable:r}=this;r._refCount++;const o=new m_(t,r),i=n.subscribe(o);return o.closed||(o.connection=r.connect()),i}}class m_ extends $e{constructor(t,n){super(t),this.connectable=n}_unsubscribe(){const{connectable:t}=this;if(!t)return void(this.connection=null);this.connectable=null;const n=t._refCount;if(n<=0)return void(this.connection=null);if(t._refCount=n-1,n>1)return void(this.connection=null);const{connection:r}=this,o=t._connection;this.connection=null,o&&(!r||o===r)&&o.unsubscribe()}}class y_ extends Ve{constructor(t,n){super(),this.source=t,this.subjectFactory=n,this._refCount=0,this._isComplete=!1}_subscribe(t){return this.getSubject().subscribe(t)}getSubject(){const t=this._subject;return(!t||t.isStopped)&&(this._subject=this.subjectFactory()),this._subject}connect(){let t=this._connection;return t||(this._isComplete=!1,t=this._connection=new ae,t.add(this.source.subscribe(new D_(this.getSubject(),this))),t.closed&&(this._connection=null,t=ae.EMPTY)),t}refCount(){return Sc()(this)}}const __=(()=>{const e=y_.prototype;return{operator:{value:null},_refCount:{value:0,writable:!0},_subject:{value:null,writable:!0},_connection:{value:null,writable:!0},_subscribe:{value:e._subscribe},_isComplete:{value:e._isComplete,writable:!0},getSubject:{value:e.getSubject},connect:{value:e.connect},refCount:{value:e.refCount}}})();class D_ extends Cc{constructor(t,n){super(t),this.connectable=n}_error(t){this._unsubscribe(),super._error(t)}_complete(){this.connectable._isComplete=!0,this._unsubscribe(),super._complete()}_unsubscribe(){const t=this.connectable;if(t){this.connectable=null;const n=t._connection;t._refCount=0,t._subject=null,t._connection=null,n&&n.unsubscribe()}}}function w_(){return new Us}function $(e){for(let t in e)if(e[t]===$)return t;throw Error("Could not find renamed property on target object.")}function O(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(O).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)}function Gs(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const I_=$({__forward_ref__:$});function qs(e){return e.__forward_ref__=qs,e.toString=function(){return O(this())},e}function w(e){return function(e){return"function"==typeof e&&e.hasOwnProperty(I_)&&e.__forward_ref__===qs}(e)?e():e}class mn extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function R(e){return"string"==typeof e?e:null==e?"":String(e)}function Ae(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():R(e)}function si(e,t){const n=t?` in ${t}`:"";throw new mn("201",`No provider for ${Ae(e)} found${n}`)}function We(e,t){null==e&&function(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}(t,e,null,"!=")}function G(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}function yn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Wt(e){return Nc(e,ai)||Nc(e,Rc)}function Nc(e,t){return e.hasOwnProperty(t)?e[t]:null}function xc(e){return e&&(e.hasOwnProperty(zs)||e.hasOwnProperty(R_))?e[zs]:null}const ai=$({\u0275prov:$}),zs=$({\u0275inj:$}),Rc=$({ngInjectableDef:$}),R_=$({ngInjectorDef:$});var T=(()=>((T=T||{})[T.Default=0]="Default",T[T.Host=1]="Host",T[T.Self=2]="Self",T[T.SkipSelf=4]="SkipSelf",T[T.Optional=8]="Optional",T))();let Ks;function nn(e){const t=Ks;return Ks=e,t}function Pc(e,t,n){const r=Wt(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&T.Optional?null:void 0!==t?t:void si(O(e),"Injector")}function rn(e){return{toString:e}.toString()}var Ze=(()=>((Ze=Ze||{})[Ze.OnPush=0]="OnPush",Ze[Ze.Default=1]="Default",Ze))(),he=(()=>((he=he||{})[he.Emulated=0]="Emulated",he[he.None=2]="None",he[he.ShadowDom=3]="ShadowDom",he))();const F_="undefined"!=typeof globalThis&&globalThis,O_="undefined"!=typeof window&&window,k_="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,L_="undefined"!=typeof global&&global,U=F_||L_||O_||k_,Vn={},q=[],ui=$({\u0275cmp:$}),Ys=$({\u0275dir:$}),Zs=$({\u0275pipe:$}),Fc=$({\u0275mod:$}),V_=$({\u0275loc:$}),Gt=$({\u0275fac:$}),Ur=$({__NG_ELEMENT_ID__:$});let j_=0;function Wr(e){return rn(()=>{const n={},r={type:e.type,providersResolver:null,decls:e.decls,vars:e.vars,factory:null,template:e.template||null,consts:e.consts||null,ngContentSelectors:e.ngContentSelectors,hostBindings:e.hostBindings||null,hostVars:e.hostVars||0,hostAttrs:e.hostAttrs||null,contentQueries:e.contentQueries||null,declaredInputs:n,inputs:null,outputs:null,exportAs:e.exportAs||null,onPush:e.changeDetection===Ze.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||q,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||he.Emulated,id:"c",styles:e.styles||q,_:null,setInput:null,schemas:e.schemas||null,tView:null},o=e.directives,i=e.features,s=e.pipes;return r.id+=j_++,r.inputs=Vc(e.inputs,n),r.outputs=Vc(e.outputs),i&&i.forEach(a=>a(r)),r.directiveDefs=o?()=>("function"==typeof o?o():o).map(Oc):null,r.pipeDefs=s?()=>("function"==typeof s?s():s).map(kc):null,r})}function Oc(e){return Ne(e)||function(e){return e[Ys]||null}(e)}function kc(e){return function(e){return e[Zs]||null}(e)}const Lc={};function Gr(e){return rn(()=>{const t={type:e.type,bootstrap:e.bootstrap||q,declarations:e.declarations||q,imports:e.imports||q,exports:e.exports||q,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(Lc[e.id]=e.type),t})}function Vc(e,t){if(null==e)return Vn;const n={};for(const r in e)if(e.hasOwnProperty(r)){let o=e[r],i=o;Array.isArray(o)&&(i=o[1],o=o[0]),n[o]=r,t&&(t[o]=i)}return n}function Ne(e){return e[ui]||null}function Xe(e,t){const n=e[Fc]||null;if(!n&&!0===t)throw new Error(`Type ${O(e)} does not have '\u0275mod' property.`);return n}const P=11,K=20;function At(e){return Array.isArray(e)&&"object"==typeof e[1]}function ht(e){return Array.isArray(e)&&!0===e[1]}function ea(e){return 0!=(8&e.flags)}function fi(e){return 2==(2&e.flags)}function hi(e){return 1==(1&e.flags)}function pt(e){return null!==e.template}function q_(e){return 0!=(512&e[2])}function bn(e,t){return e.hasOwnProperty(Gt)?e[Gt]:null}class Bc{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function Hc(e){return e.type.prototype.ngOnChanges&&(e.setInput=Y_),K_}function K_(){const e=Uc(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Vn)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Y_(e,t,n,r){const o=Uc(e)||function(e,t){return e[$c]=t}(e,{previous:Vn,current:null}),i=o.current||(o.current={}),s=o.previous,a=this.declaredInputs[n],u=s[a];i[a]=new Bc(u&&u.currentValue,t,s===Vn),e[r]=t}const $c="__ngSimpleChanges__";function Uc(e){return e[$c]||null}let ra;function oe(e){return!!e.listen}const qc={createRenderer:(e,t)=>void 0!==ra?ra:"undefined"!=typeof document?document:void 0};function ce(e){for(;Array.isArray(e);)e=e[0];return e}function nt(e,t){return ce(t[e.index])}function ia(e,t){return e.data[t]}function qe(e,t){const n=t[e];return At(n)?n:n[0]}function sa(e){return 128==(128&e[2])}function sn(e,t){return null==t?null:e[t]}function zc(e){e[18]=0}function aa(e,t){e[5]+=t;let n=e,r=e[3];for(;null!==r&&(1===t&&1===n[5]||-1===t&&0===n[5]);)r[5]+=t,n=r,r=r[3]}const S={lFrame:nd(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function Kc(){return S.bindingsEnabled}function _(){return S.lFrame.lView}function H(){return S.lFrame.tView}function pe(){let e=Yc();for(;null!==e&&64===e.type;)e=e.parent;return e}function Yc(){return S.lFrame.currentTNode}function Nt(e,t){const n=S.lFrame;n.currentTNode=e,n.isParent=t}function ua(){return S.lFrame.isParent}function mi(){return S.isInCheckNoChangesMode}function yi(e){S.isInCheckNoChangesMode=e}function Wn(){return S.lFrame.bindingIndex++}function fD(e,t){const n=S.lFrame;n.bindingIndex=n.bindingRootIndex=e,ca(t)}function ca(e){S.lFrame.currentDirectiveIndex=e}function fa(e){S.lFrame.currentQueryIndex=e}function pD(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function ed(e,t,n){if(n&T.SkipSelf){let o=t,i=e;for(;!(o=o.parent,null!==o||n&T.Host||(o=pD(i),null===o||(i=i[15],10&o.type))););if(null===o)return!1;t=o,e=i}const r=S.lFrame=td();return r.currentTNode=t,r.lView=e,!0}function _i(e){const t=td(),n=e[1];S.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function td(){const e=S.lFrame,t=null===e?null:e.child;return null===t?nd(e):t}function nd(e){const t={currentTNode:null,isParent:!0,lView:null,tView:null,selectedIndex:-1,contextLView:null,elementDepthCount:0,currentNamespace:null,currentDirectiveIndex:-1,bindingRootIndex:-1,bindingIndex:-1,currentQueryIndex:0,parent:e,child:null,inI18n:!1};return null!==e&&(e.child=t),t}function rd(){const e=S.lFrame;return S.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const od=rd;function Di(){const e=rd();e.isParent=!0,e.tView=null,e.selectedIndex=-1,e.contextLView=null,e.elementDepthCount=0,e.currentDirectiveIndex=-1,e.currentNamespace=null,e.bindingRootIndex=-1,e.bindingIndex=-1,e.currentQueryIndex=0}function Re(){return S.lFrame.selectedIndex}function an(e){S.lFrame.selectedIndex=e}function Ci(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const i=e.data[n].type.prototype,{ngAfterContentInit:s,ngAfterContentChecked:a,ngAfterViewInit:u,ngAfterViewChecked:l,ngOnDestroy:c}=i;s&&(e.contentHooks||(e.contentHooks=[])).push(-n,s),a&&((e.contentHooks||(e.contentHooks=[])).push(n,a),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,a)),u&&(e.viewHooks||(e.viewHooks=[])).push(-n,u),l&&((e.viewHooks||(e.viewHooks=[])).push(n,l),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,l)),null!=c&&(e.destroyHooks||(e.destroyHooks=[])).push(n,c)}}function Ei(e,t,n){id(e,t,3,n)}function bi(e,t,n,r){(3&e[2])===n&&id(e,t,n,r)}function ha(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function id(e,t,n,r){const i=null!=r?r:-1,s=t.length-1;let a=0;for(let u=void 0!==r?65535&e[18]:0;u<s;u++)if("number"==typeof t[u+1]){if(a=t[u],null!=r&&a>=r)break}else t[u]<0&&(e[18]+=65536),(a<i||-1==i)&&(wD(e,n,t,u),e[18]=(4294901760&e[18])+u+2),u++}function wD(e,t,n,r){const o=n[r]<0,i=n[r+1],a=e[o?-n[r]:n[r]];if(o){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048;try{i.call(a)}finally{}}}else try{i.call(a)}finally{}}class Yr{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function wi(e,t,n){const r=oe(e);let o=0;for(;o<n.length;){const i=n[o];if("number"==typeof i){if(0!==i)break;o++;const s=n[o++],a=n[o++],u=n[o++];r?e.setAttribute(t,a,u,s):t.setAttributeNS(s,a,u)}else{const s=i,a=n[++o];ga(s)?r&&e.setProperty(t,s,a):r?e.setAttribute(t,s,a):t.setAttribute(s,a),o++}}return o}function sd(e){return 3===e||4===e||6===e}function ga(e){return 64===e.charCodeAt(0)}function vi(e,t){if(null!==t&&0!==t.length)if(null===e||0===e.length)e=t.slice();else{let n=-1;for(let r=0;r<t.length;r++){const o=t[r];"number"==typeof o?n=o:0===n||ad(e,n,o,null,-1===n||2===n?t[++r]:null)}}return e}function ad(e,t,n,r,o){let i=0,s=e.length;if(-1===t)s=-1;else for(;i<e.length;){const a=e[i++];if("number"==typeof a){if(a===t){s=-1;break}if(a>t){s=i-1;break}}}for(;i<e.length;){const a=e[i];if("number"==typeof a)break;if(a===n){if(null===r)return void(null!==o&&(e[i+1]=o));if(r===e[i+1])return void(e[i+2]=o)}i++,null!==r&&i++,null!==o&&i++}-1!==s&&(e.splice(s,0,t),i=s+1),e.splice(i++,0,n),null!==r&&e.splice(i++,0,r),null!==o&&e.splice(i++,0,o)}function Gn(e){return 32767&e}function qn(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let ma=!0;function Ii(e){const t=ma;return ma=e,t}let AD=0;function Jr(e,t){const n=_a(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,ya(r.data,e),ya(t,null),ya(r.blueprint,null));const o=Ti(e,t),i=e.injectorIndex;if(function(e){return-1!==e}(o)){const s=Gn(o),a=qn(o,t),u=a[1].data;for(let l=0;l<8;l++)t[i+l]=a[s+l]|u[s+l]}return t[i+8]=o,i}function ya(e,t){e.push(0,0,0,0,0,0,0,0,t)}function _a(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Ti(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,o=t;for(;null!==o;){const i=o[1],s=i.type;if(r=2===s?i.declTNode:1===s?o[6]:null,null===r)return-1;if(n++,o=o[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function Mi(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(Ur)&&(r=n[Ur]),null==r&&(r=n[Ur]=AD++);const o=255&r;t.data[e+(o>>5)]|=1<<o}(e,t,n)}function dd(e,t,n){if(n&T.Optional)return e;si(t,"NodeInjector")}function fd(e,t,n,r){if(n&T.Optional&&void 0===r&&(r=null),0==(n&(T.Self|T.Host))){const o=e[9],i=nn(void 0);try{return o?o.get(t,r,n&T.Optional):Pc(t,r,n&T.Optional)}finally{nn(i)}}return dd(r,t,n)}const pd={};function RD(){return new Qn(pe(),_())}function PD(e,t,n,r,o,i){const s=t[1],a=s.data[e+8],c=function(e,t,n,r,o){const i=e.providerIndexes,s=t.data,a=1048575&i,u=e.directiveStart,c=i>>20,f=o?a+c:e.directiveEnd;for(let h=r?a:a+c;h<f;h++){const p=s[h];if(h<u&&n===p||h>=u&&p.type===n)return h}if(o){const h=s[u];if(h&&pt(h)&&h.type===n)return u}return null}(a,s,n,null==r?fi(a)&&ma:r!=s&&0!=(3&a.type),o&T.Host&&i===a);return null!==c?Xr(t,s,c,a):pd}function Xr(e,t,n,r){let o=e[n];const i=t.data;if(function(e){return e instanceof Yr}(o)){const s=o;s.resolving&&function(e,t){throw new mn("200",`Circular dependency in DI detected for ${e}`)}(Ae(i[n]));const a=Ii(s.canSeeViewProviders);s.resolving=!0;const u=s.injectImpl?nn(s.injectImpl):null;ed(e,r,T.Default);try{o=e[n]=s.factory(void 0,i,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:o,ngDoCheck:i}=t.type.prototype;if(r){const s=Hc(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s)}o&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,o),i&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,i),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,i))}(n,i[n],t)}finally{null!==u&&nn(u),Ii(a),s.resolving=!1,od()}}return o}function gd(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function md(e,t){return!(e&T.Self||e&T.Host&&t)}class Qn{constructor(t,n){this._tNode=t,this._lView=n}get(t,n){return function(e,t,n,r=T.Default,o){if(null!==e){const i=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(Ur)?e[Ur]:void 0;return"number"==typeof t?t>=0?255&t:RD:t}(n);if("function"==typeof i){if(!ed(t,e,r))return r&T.Host?dd(o,n,r):fd(t,n,r,o);try{const s=i(r);if(null!=s||r&T.Optional)return s;si(n)}finally{od()}}else if("number"==typeof i){let s=null,a=_a(e,t),u=-1,l=r&T.Host?t[16][6]:null;for((-1===a||r&T.SkipSelf)&&(u=-1===a?Ti(e,t):t[a+8],-1!==u&&md(r,!1)?(s=t[1],a=Gn(u),t=qn(u,t)):a=-1);-1!==a;){const c=t[1];if(gd(i,a,c.data)){const d=PD(a,t,n,s,r,l);if(d!==pd)return d}u=t[a+8],-1!==u&&md(r,t[1].data[a+8]===l)&&gd(i,a,t)?(s=c,a=Gn(u),t=qn(u,t)):a=-1}}}return fd(t,n,r,o)}(this._tNode,this._lView,t,void 0,n)}}const Kn="__parameters__";function wn(e,t,n){return rn(()=>{const r=function(e){return function(...n){if(e){const r=e(...n);for(const o in r)this[o]=r[o]}}}(t);function o(...i){if(this instanceof o)return r.apply(this,i),this;const s=new o(...i);return a.annotation=s,a;function a(u,l,c){const d=u.hasOwnProperty(Kn)?u[Kn]:Object.defineProperty(u,Kn,{value:[]})[Kn];for(;d.length<=c;)d.push(null);return(d[c]=d[c]||[]).push(s),u}}return n&&(o.prototype=Object.create(n.prototype)),o.prototype.ngMetadataName=e,o.annotationCls=o,o})}class Q{constructor(t,n){this._desc=t,this.ngMetadataName="InjectionToken",this.\u0275prov=void 0,"number"==typeof n?this.__NG_ELEMENT_ID__=n:void 0!==n&&(this.\u0275prov=G({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}function Rt(e,t){e.forEach(n=>Array.isArray(n)?Rt(n,t):t(n))}function vn(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}const ro={},Ia="__NG_DI_FLAG__",Jn="ngTempTokenPath",QD=/\n/gm,Ta="__source",Ma=$({provide:String,useValue:$});let oo;function Xn(e){const t=oo;return oo=e,t}function KD(e,t=T.Default){if(void 0===oo)throw new Error("inject() must be called from an injection context");return null===oo?Pc(e,void 0,t):oo.get(e,t&T.Optional?null:void 0,t)}function j(e,t=T.Default){return(Ks||KD)(w(e),t)}function In(e){const t=[];for(let n=0;n<e.length;n++){const r=w(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let o,i=T.Default;for(let s=0;s<r.length;s++){const a=r[s],u=YD(a);"number"==typeof u?-1===u?o=a.token:i|=u:o=a}t.push(j(o,i))}else t.push(j(r))}return t}function io(e,t){return e[Ia]=t,e.prototype[Ia]=t,e}function YD(e){return e[Ia]}function bd(e,t,n,r){const o=e[Jn];throw t[Ta]&&o.unshift(t[Ta]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let o=O(t);if(Array.isArray(t))o=t.map(O).join(" -> ");else if("object"==typeof t){let i=[];for(let s in t)if(t.hasOwnProperty(s)){let a=t[s];i.push(s+":"+("string"==typeof a?JSON.stringify(a):O(a)))}o=`{${i.join(", ")}}`}return`${n}${r?"("+r+")":""}[${o}]: ${e.replace(QD,"\n ")}`}("\n"+e.message,o,n,r),e.ngTokenPath=o,e[Jn]=null,e}const so=io(wn("Inject",e=>({token:e})),-1),Pt=io(wn("Optional"),8),Tn=io(wn("SkipSelf"),4),$d="__ngContext__";function Ie(e,t){e[$d]=t}function ka(e){const t=function(e){return e[$d]||null}(e);return t?Array.isArray(t)?t:t.lView:null}function Li(e){return e.ngOriginalError}function UC(e,...t){e.error(...t)}class Sn{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=this._findContext(t),o=function(e){return e&&e.ngErrorLogger||UC}(t);o(this._console,"ERROR",t),n&&o(this._console,"ORIGINAL ERROR",n),r&&o(this._console,"ERROR CONTEXT",r)}_findContext(t){return t?function(e){return e.ngDebugContext}(t)||this._findContext(Li(t)):null}_findOriginalError(t){let n=t&&Li(t);for(;n&&Li(n);)n=Li(n);return n||null}}const Zd=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(U))();function kt(e){return e instanceof Function?e():e}var Ke=(()=>((Ke=Ke||{})[Ke.Important=1]="Important",Ke[Ke.DashCase=2]="DashCase",Ke))();function ja(e,t){return undefined(e,t)}function ho(e){const t=e[3];return ht(t)?t[3]:t}function Ba(e){return nf(e[13])}function Ha(e){return nf(e[4])}function nf(e){for(;null!==e&&!ht(e);)e=e[4];return e}function rr(e,t,n,r,o){if(null!=r){let i,s=!1;ht(r)?i=r:At(r)&&(s=!0,r=r[0]);const a=ce(r);0===e&&null!==n?null==o?lf(t,n,a):An(t,n,a,o||null,!0):1===e&&null!==n?An(t,n,a,o||null,!0):2===e?function(e,t,n){const r=function(e,t){return oe(e)?e.parentNode(t):t.parentNode}(e,t);r&&function(e,t,n,r){oe(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}(t,a,s):3===e&&t.destroyNode(a),null!=i&&function(e,t,n,r,o){const i=n[7];i!==ce(n)&&rr(t,e,r,i,o);for(let a=10;a<n.length;a++){const u=n[a];po(u[1],u,e,t,r,i)}}(t,e,i,n,o)}}function Ua(e,t,n){return oe(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function of(e,t){const n=e[9],r=n.indexOf(t),o=t[3];1024&t[2]&&(t[2]&=-1025,aa(o,-1)),n.splice(r,1)}function Ga(e,t){if(!(256&t[2])){t[2]&=-129,t[2]|=256,function(e,t){let n;if(null!=e&&null!=(n=e.destroyHooks))for(let r=0;r<n.length;r+=2){const o=t[n[r]];if(!(o instanceof Yr)){const i=n[r+1];if(Array.isArray(i))for(let s=0;s<i.length;s+=2){const a=o[i[s]],u=i[s+1];try{u.call(a)}finally{}}else try{i.call(o)}finally{}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let o=-1;if(null!==n)for(let i=0;i<n.length-1;i+=2)if("string"==typeof n[i]){const s=n[i+1],a="function"==typeof s?s(t):ce(t[s]),u=r[o=n[i+2]],l=n[i+3];"boolean"==typeof l?a.removeEventListener(n[i],u,l):l>=0?r[o=l]():r[o=-l].unsubscribe(),i+=2}else{const s=r[o=n[i+1]];n[i].call(s)}if(null!==r){for(let i=o+1;i<r.length;i++)r[i]();t[7]=null}}(e,t),1===t[1].type&&oe(t[P])&&t[P].destroy();const n=t[17];if(null!==n&&ht(t[3])){n!==t[3]&&of(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function af(e,t,n){return function(e,t,n){let r=t;for(;null!==r&&40&r.type;)r=(t=r).parent;if(null===r)return n[0];if(2&r.flags){const o=e.data[r.directiveStart].encapsulation;if(o===he.None||o===he.Emulated)return null}return nt(r,n)}(e,t.parent,n)}function An(e,t,n,r,o){oe(e)?e.insertBefore(t,n,r,o):t.insertBefore(n,r,o)}function lf(e,t,n){oe(e)?e.appendChild(t,n):t.appendChild(n)}function cf(e,t,n,r,o){null!==r?An(e,t,n,r,o):lf(e,t,n)}let hf=function(e,t,n){return 40&e.type?nt(e,n):null};function Bi(e,t,n,r){const o=af(e,r,t),i=t[P],a=function(e,t,n){return hf(e,t,n)}(r.parent||t[6],r,t);if(null!=o)if(Array.isArray(n))for(let u=0;u<n.length;u++)cf(i,o,n[u],a,!1);else cf(i,o,n,a,!1)}function gf(e,t){return null!==t?e[16][6].projection[t.projection]:null}function za(e,t,n,r,o,i,s){for(;null!=n;){const a=r[n.index],u=n.type;if(s&&0===t&&(a&&Ie(ce(a),r),n.flags|=4),64!=(64&n.flags))if(8&u)za(e,t,n.child,r,o,i,!1),rr(t,e,o,a,i);else if(32&u){const l=ja(n,r);let c;for(;c=l();)rr(t,e,o,c,i);rr(t,e,o,a,i)}else 16&u?yf(e,t,r,n,o,i):rr(t,e,o,a,i);n=s?n.projectionNext:n.next}}function po(e,t,n,r,o,i){za(n,r,e.firstChild,t,o,i,!1)}function yf(e,t,n,r,o,i){const s=n[16],u=s[6].projection[r.projection];if(Array.isArray(u))for(let l=0;l<u.length;l++)rr(t,e,o,u[l],i);else za(e,t,u,s[3],o,i,!0)}function _f(e,t,n){oe(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function Ka(e,t,n){oe(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function Df(e,t,n){let r=e.length;for(;;){const o=e.indexOf(t,n);if(-1===o)return o;if(0===o||e.charCodeAt(o-1)<=32){const i=t.length;if(o+i===r||e.charCodeAt(o+i)<=32)return o}n=o+1}}const Cf="ng-template";function gE(e,t,n){let r=0;for(;r<e.length;){let o=e[r++];if(n&&"class"===o){if(o=e[r],-1!==Df(o.toLowerCase(),t,0))return!0}else if(1===o){for(;r<e.length&&"string"==typeof(o=e[r++]);)if(o.toLowerCase()===t)return!0;return!1}}return!1}function Ef(e){return 4===e.type&&e.value!==Cf}function mE(e,t,n){return t===(4!==e.type||n?e.value:Cf)}function yE(e,t,n){let r=4;const o=e.attrs||[],i=function(e){for(let t=0;t<e.length;t++)if(sd(e[t]))return t;return e.length}(o);let s=!1;for(let a=0;a<t.length;a++){const u=t[a];if("number"!=typeof u){if(!s)if(4&r){if(r=2|1&r,""!==u&&!mE(e,u,n)||""===u&&1===t.length){if(gt(r))return!1;s=!0}}else{const l=8&r?u:t[++a];if(8&r&&null!==e.attrs){if(!gE(e.attrs,l,n)){if(gt(r))return!1;s=!0}continue}const d=_E(8&r?"class":u,o,Ef(e),n);if(-1===d){if(gt(r))return!1;s=!0;continue}if(""!==l){let f;f=d>i?"":o[d+1].toLowerCase();const h=8&r?f:null;if(h&&-1!==Df(h,l,0)||2&r&&l!==f){if(gt(r))return!1;s=!0}}}}else{if(!s&&!gt(r)&&!gt(u))return!1;if(s&>(u))continue;s=!1,r=u|1&r}}return gt(r)||s}function gt(e){return 0==(1&e)}function _E(e,t,n,r){if(null===t)return-1;let o=0;if(r||!n){let i=!1;for(;o<t.length;){const s=t[o];if(s===e)return o;if(3===s||6===s)i=!0;else{if(1===s||2===s){let a=t[++o];for(;"string"==typeof a;)a=t[++o];continue}if(4===s)break;if(0===s){o+=4;continue}}o+=i?1:2}return-1}return function(e,t){let n=e.indexOf(4);if(n>-1)for(n++;n<e.length;){const r=e[n];if("number"==typeof r)return-1;if(r===t)return n;n++}return-1}(t,e)}function bf(e,t,n=!1){for(let r=0;r<t.length;r++)if(yE(e,t[r],n))return!0;return!1}function wf(e,t){return e?":not("+t.trim()+")":t}function wE(e){let t=e[0],n=1,r=2,o="",i=!1;for(;n<e.length;){let s=e[n];if("string"==typeof s)if(2&r){const a=e[++n];o+="["+s+(a.length>0?'="'+a+'"':"")+"]"}else 8&r?o+="."+s:4&r&&(o+=" "+s);else""!==o&&!gt(s)&&(t+=wf(i,o),o=""),r=s,i=i||!gt(r);n++}return""!==o&&(t+=wf(i,o)),t}const N={};function go(e){vf(H(),_(),Re()+e,mi())}function vf(e,t,n,r){if(!r)if(3==(3&t[2])){const i=e.preOrderCheckHooks;null!==i&&Ei(t,i,n)}else{const i=e.preOrderHooks;null!==i&&bi(t,i,0,n)}an(n)}function Ff(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const o=n[r],i=n[r+1];if(-1!==i){const s=e.data[i];fa(o),s.contentQueries(2,t[i],i)}}}function mo(e,t,n,r,o,i,s,a,u,l){const c=t.blueprint.slice();return c[0]=o,c[2]=140|r,zc(c),c[3]=c[15]=e,c[8]=n,c[10]=s||e&&e[10],c[P]=a||e&&e[P],c[12]=u||e&&e[12]||null,c[9]=l||e&&e[9]||null,c[6]=i,c[16]=2==t.type?e[16]:c,c}function or(e,t,n,r,o){let i=e.data[t];if(null===i)i=function(e,t,n,r,o){const i=Yc(),s=ua(),u=e.data[t]=function(e,t,n,r,o,i){return{type:n,index:r,insertBeforeIndex:null,injectorIndex:t?t.injectorIndex:-1,directiveStart:-1,directiveEnd:-1,directiveStylingLast:-1,propertyBindings:null,flags:0,providerIndexes:0,value:o,attrs:i,mergedAttrs:null,localNames:null,initialInputs:void 0,inputs:null,outputs:null,tViews:null,next:null,projectionNext:null,child:null,parent:t,projection:null,styles:null,stylesWithoutHost:null,residualStyles:void 0,classes:null,classesWithoutHost:null,residualClasses:void 0,classBindings:0,styleBindings:0}}(0,s?i:i&&i.parent,n,t,r,o);return null===e.firstChild&&(e.firstChild=u),null!==i&&(s?null==i.child&&null!==u.parent&&(i.child=u):null===i.next&&(i.next=u)),u}(e,t,n,r,o),S.lFrame.inI18n&&(i.flags|=64);else if(64&i.type){i.type=n,i.value=r,i.attrs=o;const s=function(){const e=S.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}();i.injectorIndex=null===s?-1:s.injectorIndex}return Nt(i,!0),i}function ir(e,t,n,r){if(0===n)return-1;const o=t.length;for(let i=0;i<n;i++)t.push(r),e.blueprint.push(r),e.data.push(null);return o}function yo(e,t,n){_i(t);try{const r=e.viewQuery;null!==r&&pu(1,r,n);const o=e.template;null!==o&&Of(e,t,o,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Ff(e,t),e.staticViewQueries&&pu(2,e.viewQuery,n);const i=e.components;null!==i&&function(e,t){for(let n=0;n<t.length;n++)nb(e,t[n])}(t,i)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Di()}}function sr(e,t,n,r){const o=t[2];if(256==(256&o))return;_i(t);const i=mi();try{zc(t),function(e){S.lFrame.bindingIndex=e}(e.bindingStartIndex),null!==n&&Of(e,t,n,2,r);const s=3==(3&o);if(!i)if(s){const l=e.preOrderCheckHooks;null!==l&&Ei(t,l,null)}else{const l=e.preOrderHooks;null!==l&&bi(t,l,0,null),ha(t,0)}if(function(e){for(let t=Ba(e);null!==t;t=Ha(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const o=n[r],i=o[3];0==(1024&o[2])&&aa(i,1),o[2]|=1024}}}(t),function(e){for(let t=Ba(e);null!==t;t=Ha(t))for(let n=10;n<t.length;n++){const r=t[n],o=r[1];sa(r)&&sr(o,r,o.template,r[8])}}(t),null!==e.contentQueries&&Ff(e,t),!i)if(s){const l=e.contentCheckHooks;null!==l&&Ei(t,l)}else{const l=e.contentHooks;null!==l&&bi(t,l,1),ha(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const o=n[r];if(o<0)an(~o);else{const i=o,s=n[++r],a=n[++r];fD(s,i),a(2,t[i])}}}finally{an(-1)}}(e,t);const a=e.components;null!==a&&function(e,t){for(let n=0;n<t.length;n++)tb(e,t[n])}(t,a);const u=e.viewQuery;if(null!==u&&pu(2,u,r),!i)if(s){const l=e.viewCheckHooks;null!==l&&Ei(t,l)}else{const l=e.viewHooks;null!==l&&bi(t,l,2),ha(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),i||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,aa(t[3],-1))}finally{Di()}}function kE(e,t,n,r){const o=t[10],i=!mi(),s=function(e){return 4==(4&e[2])}(t);try{i&&!s&&o.begin&&o.begin(),s&&yo(e,t,r),sr(e,t,n,r)}finally{i&&!s&&o.end&&o.end()}}function Of(e,t,n,r,o){const i=Re(),s=2&r;try{an(-1),s&&t.length>K&&vf(e,t,K,mi()),n(r,o)}finally{an(i)}}function Lf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=Gi(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function Gi(e,t,n,r,o,i,s,a,u,l){const c=K+r,d=c+o,f=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:N);return n}(c,d),h="function"==typeof l?l():l;return f[1]={type:e,blueprint:f,template:n,queries:null,viewQuery:a,declTNode:t,data:f.slice().fill(null,c),bindingStartIndex:c,expandoStartIndex:d,hostBindingOpCodes:null,firstCreatePass:!0,firstUpdatePass:!0,staticViewQueries:!1,staticContentQueries:!1,preOrderHooks:null,preOrderCheckHooks:null,contentHooks:null,contentCheckHooks:null,viewHooks:null,viewCheckHooks:null,destroyHooks:null,cleanup:null,contentQueries:null,components:null,directiveRegistry:"function"==typeof i?i():i,pipeRegistry:"function"==typeof s?s():s,firstChild:null,schemas:u,consts:h,incompleteFirstPass:!1}}function Hf(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const o=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,o):n[r]=[t,o]}return n}function Uf(e,t,n,r,o,i){const s=i.hostBindings;if(s){let a=e.hostBindingOpCodes;null===a&&(a=e.hostBindingOpCodes=[]);const u=~t.index;(function(e){let t=e.length;for(;t>0;){const n=e[--t];if("number"==typeof n&&n<0)return n}return 0})(a)!=u&&a.push(u),a.push(r,o,s)}}function Wf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Gf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function KE(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;pt(t)&&(n[""]=e)}}function qf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function Qf(e,t,n,r,o){e.data[r]=o;const i=o.factory||(o.factory=bn(o.type)),s=new Yr(i,pt(o),null);e.blueprint[r]=s,n[r]=s,Uf(e,t,0,r,ir(e,n,o.hostVars,N),o)}function YE(e,t,n){const r=nt(t,e),o=Lf(n),i=e[10],s=qi(e,mo(e,o,null,n.onPush?64:16,r,t,i,i.createRenderer(r,n),null,null));e[t.index]=s}function ZE(e,t,n,r,o,i){const s=i[t];if(null!==s){const a=r.setInput;for(let u=0;u<s.length;){const l=s[u++],c=s[u++],d=s[u++];null!==a?r.setInput(n,d,l,c):n[c]=d}}}function JE(e,t){let n=null,r=0;for(;r<t.length;){const o=t[r];if(0!==o)if(5!==o){if("number"==typeof o)break;e.hasOwnProperty(o)&&(null===n&&(n=[]),n.push(o,e[o],t[r+1])),r+=2}else r+=2;else r+=4}return n}function tb(e,t){const n=qe(t,e);if(sa(n)){const r=n[1];80&n[2]?sr(r,n,r.template,n[8]):n[5]>0&&cu(n)}}function cu(e){for(let r=Ba(e);null!==r;r=Ha(r))for(let o=10;o<r.length;o++){const i=r[o];if(1024&i[2]){const s=i[1];sr(s,i,s.template,i[8])}else i[5]>0&&cu(i)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const o=qe(n[r],e);sa(o)&&o[5]>0&&cu(o)}}function nb(e,t){const n=qe(t,e),r=n[1];(function(e,t){for(let n=t.length;n<e.blueprint.length;n++)t.push(e.blueprint[n])})(r,n),yo(r,n,n[8])}function qi(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function du(e){for(;e;){e[2]|=64;const t=ho(e);if(q_(e)&&!t)return e;e=t}return null}function hu(e,t,n){const r=t[10];r.begin&&r.begin();try{sr(e,t,e.template,n)}catch(o){throw Xf(t,o),o}finally{r.end&&r.end()}}function Kf(e){!function(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=ka(n),o=r[1];kE(o,r,o.template,n)}}(e[8])}function pu(e,t,n){fa(0),t(e,n)}const ab=(()=>Promise.resolve(null))();function Yf(e){return e[7]||(e[7]=[])}function Zf(e){return e.cleanup||(e.cleanup=[])}function Xf(e,t){const n=e[9],r=n?n.get(Sn,null):null;r&&r.handleError(t)}function eh(e,t,n,r,o){for(let i=0;i<n.length;){const s=n[i++],a=n[i++],u=t[s],l=e.data[s];null!==l.setInput?l.setInput(u,o,r,a):u[a]=o}}function Kt(e,t,n){const r=function(e,t){return ce(t[e])}(t,e);!function(e,t,n){oe(e)?e.setValue(t,n):t.textContent=n}(e[P],r,n)}function Qi(e,t,n){let r=n?e.styles:null,o=n?e.classes:null,i=0;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:1==i?o=Gs(o,a):2==i&&(r=Gs(r,a+": "+t[++s]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=o:e.classesWithoutHost=o}const ar=new Q("INJECTOR",-1);class th{get(t,n=ro){if(n===ro){const r=new Error(`NullInjectorError: No provider for ${O(t)}!`);throw r.name="NullInjectorError",r}return n}}const _o=new Q("Set Injector scope."),Do={},cb={};let gu;function nh(){return void 0===gu&&(gu=new th),gu}function rh(e,t=null,n=null,r){return new fb(e,n,t||nh(),r)}class fb{constructor(t,n,r,o=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const i=[];n&&Rt(n,a=>this.processProvider(a,t,n)),Rt([t],a=>this.processInjectorType(a,[],i)),this.records.set(ar,ur(void 0,this));const s=this.records.get(_o);this.scope=null!=s?s.value:null,this.source=o||("object"==typeof t?null:O(t))}get destroyed(){return this._destroyed}destroy(){this.assertNotDestroyed(),this._destroyed=!0;try{this.onDestroy.forEach(t=>t.ngOnDestroy())}finally{this.records.clear(),this.onDestroy.clear(),this.injectorDefTypes.clear()}}get(t,n=ro,r=T.Default){this.assertNotDestroyed();const o=Xn(this),i=nn(void 0);try{if(!(r&T.SkipSelf)){let a=this.records.get(t);if(void 0===a){const u=function(e){return"function"==typeof e||"object"==typeof e&&e instanceof Q}(t)&&Wt(t);a=u&&this.injectableDefInScope(u)?ur(mu(t),Do):null,this.records.set(t,a)}if(null!=a)return this.hydrate(t,a)}return(r&T.Self?nh():this.parent).get(t,n=r&T.Optional&&n===ro?null:n)}catch(s){if("NullInjectorError"===s.name){if((s[Jn]=s[Jn]||[]).unshift(O(t)),o)throw s;return bd(s,t,"R3InjectorError",this.source)}throw s}finally{nn(i),Xn(o)}}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,o)=>t.push(O(o))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=w(t)))return!1;let o=xc(t);const i=null==o&&t.ngModule||void 0,s=void 0===i?t:i,a=-1!==r.indexOf(s);if(void 0!==i&&(o=xc(i)),null==o)return!1;if(null!=o.imports&&!a){let c;r.push(s);try{Rt(o.imports,d=>{this.processInjectorType(d,n,r)&&(void 0===c&&(c=[]),c.push(d))})}finally{}if(void 0!==c)for(let d=0;d<c.length;d++){const{ngModule:f,providers:h}=c[d];Rt(h,p=>this.processProvider(p,f,h||q))}}this.injectorDefTypes.add(s);const u=bn(s)||(()=>new s);this.records.set(s,ur(u,Do));const l=o.providers;if(null!=l&&!a){const c=t;Rt(l,d=>this.processProvider(d,c,l))}return void 0!==i&&void 0!==t.providers}processProvider(t,n,r){let o=lr(t=w(t))?t:w(t&&t.provide);const i=function(e,t,n){return ih(e)?ur(void 0,e.useValue):ur(function(e,t,n){let r;if(lr(e)){const o=w(e);return bn(o)||mu(o)}if(ih(e))r=()=>w(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...In(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>j(w(e.useExisting));else{const o=w(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return bn(o)||mu(o);r=()=>new o(...In(e.deps))}return r}(e),Do)}(t);if(lr(t)||!0!==t.multi)this.records.get(o);else{let s=this.records.get(o);s||(s=ur(void 0,Do,!0),s.factory=()=>In(s.multi),this.records.set(o,s)),o=t,s.multi.push(t)}this.records.set(o,i)}hydrate(t,n){return n.value===Do&&(n.value=cb,n.value=n.factory()),"object"==typeof n.value&&n.value&&function(e){return null!==e&&"object"==typeof e&&"function"==typeof e.ngOnDestroy}(n.value)&&this.onDestroy.add(n.value),n.value}injectableDefInScope(t){if(!t.providedIn)return!1;const n=w(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function mu(e){const t=Wt(e),n=null!==t?t.factory:bn(e);if(null!==n)return n;if(e instanceof Q)throw new Error(`Token ${O(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=function(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}(t,"?");throw new Error(`Can't resolve all parameters for ${O(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[ai]||e[Rc]);if(t){const n=function(e){if(e.hasOwnProperty("name"))return e.name;const t=(""+e).match(/^function\s*([^\s(]+)/);return null===t?"":t[1]}(e);return console.warn(`DEPRECATED: DI is instantiating a token "${n}" that inherits its @Injectable decorator but does not provide one itself.\nThis will become an error in a future version of Angular. Please add @Injectable() to the "${n}" class.`),t}return null}(e);return null!==n?()=>n.factory(e):()=>new e}(e);throw new Error("unreachable")}function ur(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ih(e){return null!==e&&"object"==typeof e&&Ma in e}function lr(e){return"function"==typeof e}const sh=function(e,t,n){return function(e,t=null,n=null,r){const o=rh(e,t,n,r);return o._resolveInjectorDefTypes(),o}({name:n},t,e,n)};let te=(()=>{class e{static create(n,r){return Array.isArray(n)?sh(n,r,""):sh(n.providers,n.parent,n.name||"")}}return e.THROW_IF_NOT_FOUND=ro,e.NULL=new th,e.\u0275prov=G({token:e,providedIn:"any",factory:()=>j(ar)}),e.__NG_ELEMENT_ID__=-1,e})();function Pb(e,t){Ci(ka(e)[1],pe())}let zi=null;function cr(){if(!zi){const e=U.Symbol;if(e&&e.iterator)zi=e.iterator;else{const t=Object.getOwnPropertyNames(Map.prototype);for(let n=0;n<t.length;++n){const r=t[n];"entries"!==r&&"size"!==r&&Map.prototype[r]===Map.prototype.entries&&(zi=r)}}}return zi}function Eo(e){return!!wu(e)&&(Array.isArray(e)||!(e instanceof Map)&&cr()in e)}function wu(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function Te(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Su(e,t,n){const r=_();return Te(r,Wn(),t)&&function(e,t,n,r,o,i,s,a){const u=nt(t,n);let c,l=t.inputs;!a&&null!=l&&(c=l[r])?(eh(e,n,c,r,o),fi(t)&&function(e,t){const n=qe(t,e);16&n[2]||(n[2]|=64)}(n,t.index)):3&t.type&&(r=function(e){return"class"===e?"className":"for"===e?"htmlFor":"formaction"===e?"formAction":"innerHtml"===e?"innerHTML":"readonly"===e?"readOnly":"tabindex"===e?"tabIndex":e}(r),o=null!=s?s(o,t.value||"",r):o,oe(i)?i.setProperty(u,r,o):ga(r)||(u.setProperty?u.setProperty(r,o):u[r]=o))}(H(),function(){const e=S.lFrame;return ia(e.tView,e.selectedIndex)}(),r,e,t,r[P],n,!1),Su}function Au(e,t,n,r,o){const s=o?"class":"style";eh(e,n,t.inputs[s],s,r)}function J(e,t,n,r){const o=_(),i=H(),s=K+e,a=o[P],u=o[s]=Ua(a,t,S.lFrame.currentNamespace),l=i.firstCreatePass?function(e,t,n,r,o,i,s){const a=t.consts,l=or(t,e,2,o,sn(a,i));return function(e,t,n,r){let o=!1;if(Kc()){const i=function(e,t,n){const r=e.directiveRegistry;let o=null;if(r)for(let i=0;i<r.length;i++){const s=r[i];bf(n,s.selectors,!1)&&(o||(o=[]),Mi(Jr(n,t),e,s.type),pt(s)?(Gf(e,n),o.unshift(s)):o.push(s))}return o}(e,t,n),s=null===r?null:{"":-1};if(null!==i){o=!0,qf(n,e.data.length,i.length);for(let c=0;c<i.length;c++){const d=i[c];d.providersResolver&&d.providersResolver(d)}let a=!1,u=!1,l=ir(e,t,i.length,null);for(let c=0;c<i.length;c++){const d=i[c];n.mergedAttrs=vi(n.mergedAttrs,d.hostAttrs),Qf(e,n,t,l,d),KE(l,d,s),null!==d.contentQueries&&(n.flags|=8),(null!==d.hostBindings||null!==d.hostAttrs||0!==d.hostVars)&&(n.flags|=128);const f=d.type.prototype;!a&&(f.ngOnChanges||f.ngOnInit||f.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),a=!0),!u&&(f.ngOnChanges||f.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),u=!0),l++}!function(e,t){const r=t.directiveEnd,o=e.data,i=t.attrs,s=[];let a=null,u=null;for(let l=t.directiveStart;l<r;l++){const c=o[l],d=c.inputs,f=null===i||Ef(t)?null:JE(d,i);s.push(f),a=Hf(d,l,a),u=Hf(c.outputs,l,u)}null!==a&&(a.hasOwnProperty("class")&&(t.flags|=16),a.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=s,t.inputs=a,t.outputs=u}(e,n)}s&&function(e,t,n){if(t){const r=e.localNames=[];for(let o=0;o<t.length;o+=2){const i=n[t[o+1]];if(null==i)throw new mn("301",`Export of name '${t[o+1]}' not found!`);r.push(t[o],i)}}}(n,r,s)}n.mergedAttrs=vi(n.mergedAttrs,n.attrs)}(t,n,l,sn(a,s)),null!==l.attrs&&Qi(l,l.attrs,!1),null!==l.mergedAttrs&&Qi(l,l.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,l),l}(s,i,o,0,t,n,r):i.data[s];Nt(l,!0);const c=l.mergedAttrs;null!==c&&wi(a,u,c);const d=l.classes;null!==d&&Ka(a,u,d);const f=l.styles;null!==f&&_f(a,u,f),64!=(64&l.flags)&&Bi(i,o,u,l),0===S.lFrame.elementDepthCount&&Ie(u,o),S.lFrame.elementDepthCount++,hi(l)&&(function(e,t,n){!Kc()||(function(e,t,n,r){const o=n.directiveStart,i=n.directiveEnd;e.firstCreatePass||Jr(n,t),Ie(r,t);const s=n.initialInputs;for(let a=o;a<i;a++){const u=e.data[a],l=pt(u);l&&YE(t,n,u);const c=Xr(t,e,a,n);Ie(c,t),null!==s&&ZE(0,a-o,c,u,0,s),l&&(qe(n.index,t)[8]=c)}}(e,t,n,nt(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,o=n.directiveEnd,s=n.index,a=S.lFrame.currentDirectiveIndex;try{an(s);for(let u=r;u<o;u++){const l=e.data[u],c=t[u];ca(u),(null!==l.hostBindings||0!==l.hostVars||null!==l.hostAttrs)&&Wf(l,c)}}finally{an(-1),ca(a)}}(e,t,n))}(i,o,l),function(e,t,n){if(ea(t)){const o=t.directiveEnd;for(let i=t.directiveStart;i<o;i++){const s=e.data[i];s.contentQueries&&s.contentQueries(1,n[i],i)}}}(i,l,o)),null!==r&&function(e,t,n=nt){const r=t.localNames;if(null!==r){let o=t.index+1;for(let i=0;i<r.length;i+=2){const s=r[i+1],a=-1===s?n(t,e):e[s];e[o++]=a}}}(o,l)}function X(){let e=pe();ua()?S.lFrame.isParent=!1:(e=e.parent,Nt(e,!1));const t=e;S.lFrame.elementDepthCount--;const n=H();n.firstCreatePass&&(Ci(n,e),ea(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&Au(n,t,_(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&Au(n,t,_(),t.stylesWithoutHost,!1)}function Zi(e,t,n,r){J(e,t,n,r),X()}function Nu(e){return!!e&&"function"==typeof e.then}const Kh=function(e){return!!e&&"function"==typeof e.subscribe};function Ce(e,t,n,r){const o=_(),i=H(),s=pe();return function(e,t,n,r,o,i,s,a){const u=hi(r),c=e.firstCreatePass&&Zf(e),d=t[8],f=Yf(t);let h=!0;if(3&r.type||a){const g=nt(r,t),D=a?a(g):g,y=f.length,b=a?v=>a(ce(v[r.index])):r.index;if(oe(n)){let v=null;if(!a&&u&&(v=function(e,t,n,r){const o=e.cleanup;if(null!=o)for(let i=0;i<o.length-1;i+=2){const s=o[i];if(s===n&&o[i+1]===r){const a=t[7],u=o[i+2];return a.length>u?a[u]:null}"string"==typeof s&&(i+=2)}return null}(e,t,o,r.index)),null!==v)(v.__ngLastListenerFn__||v).__ngNextListenerFn__=i,v.__ngLastListenerFn__=i,h=!1;else{i=xu(r,t,d,i,!1);const k=n.listen(D,o,i);f.push(i,k),c&&c.push(o,b,y,y+1)}}else i=xu(r,t,d,i,!0),D.addEventListener(o,i,s),f.push(i),c&&c.push(o,b,y,s)}else i=xu(r,t,d,i,!1);const p=r.outputs;let m;if(h&&null!==p&&(m=p[o])){const g=m.length;if(g)for(let D=0;D<g;D+=2){const _e=t[m[D]][m[D+1]].subscribe(i),ct=f.length;f.push(i,_e),c&&c.push(o,r.index,ct,-(ct+1))}}}(i,o,o[P],s,e,t,!!n,r),Ce}function Jh(e,t,n,r){try{return!1!==n(r)}catch(o){return Xf(e,o),!1}}function xu(e,t,n,r,o){return function i(s){if(s===Function)return r;const a=2&e.flags?qe(e.index,t):t;0==(32&t[2])&&du(a);let u=Jh(t,0,r,s),l=i.__ngNextListenerFn__;for(;l;)u=Jh(t,0,l,s)&&u,l=l.__ngNextListenerFn__;return o&&!1===u&&(s.preventDefault(),s.returnValue=!1),u}}function vo(e,t=""){const n=_(),r=H(),o=e+K,i=r.firstCreatePass?or(r,o,1,t,null):r.data[o],s=n[o]=function(e,t){return oe(e)?e.createText(t):e.createTextNode(t)}(n[P],t);Bi(r,n,s,i),Nt(i,!1)}function Io(e){return Fu("",e,""),Io}function Fu(e,t,n){const r=_(),o=function(e,t,n,r){return Te(e,Wn(),n)?t+R(n)+r:N}(r,e,t,n);return o!==N&&Kt(r,Re(),o),Fu}const xn=void 0;var uv=["en",[["a","p"],["AM","PM"],xn],[["AM","PM"],xn,xn],[["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"]],xn,[["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"]],xn,[["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}",xn,"{1} 'at' {0}",xn],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const t=Math.floor(Math.abs(e)),n=e.toString().replace(/^[^.]*\.?/,"").length;return 1===t&&0===n?1:5}];let br={};function Up(e){return e in br||(br[e]=U.ng&&U.ng.common&&U.ng.common.locales&&U.ng.common.locales[e]),br[e]}var E=(()=>((E=E||{})[E.LocaleId=0]="LocaleId",E[E.DayPeriodsFormat=1]="DayPeriodsFormat",E[E.DayPeriodsStandalone=2]="DayPeriodsStandalone",E[E.DaysFormat=3]="DaysFormat",E[E.DaysStandalone=4]="DaysStandalone",E[E.MonthsFormat=5]="MonthsFormat",E[E.MonthsStandalone=6]="MonthsStandalone",E[E.Eras=7]="Eras",E[E.FirstDayOfWeek=8]="FirstDayOfWeek",E[E.WeekendRange=9]="WeekendRange",E[E.DateFormat=10]="DateFormat",E[E.TimeFormat=11]="TimeFormat",E[E.DateTimeFormat=12]="DateTimeFormat",E[E.NumberSymbols=13]="NumberSymbols",E[E.NumberFormats=14]="NumberFormats",E[E.CurrencyCode=15]="CurrencyCode",E[E.CurrencySymbol=16]="CurrencySymbol",E[E.CurrencyName=17]="CurrencyName",E[E.Currencies=18]="Currencies",E[E.Directionality=19]="Directionality",E[E.PluralCase=20]="PluralCase",E[E.ExtraData=21]="ExtraData",E))();const Xi="en-US";let Wp=Xi;function Ou(e){We(e,"Expected localeId to be defined"),"string"==typeof e&&(Wp=e.toLowerCase().replace(/_/g,"-"))}class gg{}const yg="ngComponent";class l0{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${O(e)}. Did you add it to @NgModule.entryComponents?`);return t[yg]=e,t}(t)}}let vr=(()=>{class e{}return e.NULL=new l0,e})();function os(...e){}function Ir(e,t){return new Et(nt(e,t))}const f0=function(){return Ir(pe(),_())};let Et=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=f0,e})();class is{}let Uu=(()=>{class e{}return e.\u0275prov=G({token:e,providedIn:"root",factory:()=>null}),e})();class Wu{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const Cg=new Wu("12.2.6");class Eg{constructor(){}supports(t){return Eo(t)}create(t){return new _0(t)}}const y0=(e,t)=>t;class _0{constructor(t){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=t||y0}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,o=0,i=null;for(;n||r;){const s=!r||n&&n.currentIndex<wg(r,o,i)?n:r,a=wg(s,o,i),u=s.currentIndex;if(s===r)o--,r=r._nextRemoved;else if(n=n._next,null==s.previousIndex)o++;else{i||(i=[]);const l=a-o,c=u-o;if(l!=c){for(let f=0;f<l;f++){const h=f<i.length?i[f]:i[f]=0,p=h+f;c<=p&&p<l&&(i[f]=h+1)}i[s.previousIndex]=c-l}}a!==u&&t(s,a,u)}}forEachPreviousItem(t){let n;for(n=this._previousItHead;null!==n;n=n._nextPrevious)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachMovedItem(t){let n;for(n=this._movesHead;null!==n;n=n._nextMoved)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}forEachIdentityChange(t){let n;for(n=this._identityChangesHead;null!==n;n=n._nextIdentityChange)t(n)}diff(t){if(null==t&&(t=[]),!Eo(t))throw new Error(`Error trying to diff '${O(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let o,i,s,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let a=0;a<this.length;a++)i=t[a],s=this._trackByFn(a,i),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,i,s,a)),Object.is(n.item,i)||this._addIdentityChange(n,i)):(n=this._mismatch(n,i,s,a),r=!0),n=n._next}else o=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[cr()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,a=>{s=this._trackByFn(o,a),null!==n&&Object.is(n.trackById,s)?(r&&(n=this._verifyReinsertion(n,a,s,o)),Object.is(n.item,a)||this._addIdentityChange(n,a)):(n=this._mismatch(n,a,s,o),r=!0),n=n._next,o++}),this.length=o;return this._truncate(n),this.collection=t,this.isDirty}get isDirty(){return null!==this._additionsHead||null!==this._movesHead||null!==this._removalsHead||null!==this._identityChangesHead}_reset(){if(this.isDirty){let t;for(t=this._previousItHead=this._itHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._additionsHead;null!==t;t=t._nextAdded)t.previousIndex=t.currentIndex;for(this._additionsHead=this._additionsTail=null,t=this._movesHead;null!==t;t=t._nextMoved)t.previousIndex=t.currentIndex;this._movesHead=this._movesTail=null,this._removalsHead=this._removalsTail=null,this._identityChangesHead=this._identityChangesTail=null}}_mismatch(t,n,r,o){let i;return null===t?i=this._itTail:(i=t._prev,this._remove(t)),null!==(t=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._reinsertAfter(t,i,o)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,o))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,i,o)):t=this._addAfter(new D0(n,r),i,o),t}_verifyReinsertion(t,n,r,o){let i=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==i?t=this._reinsertAfter(i,t._prev,o):t.currentIndex!=o&&(t.currentIndex=o,this._addToMoves(t,o)),t}_truncate(t){for(;null!==t;){const n=t._next;this._addToRemovals(this._unlink(t)),t=n}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(t,n,r){null!==this._unlinkedRecords&&this._unlinkedRecords.remove(t);const o=t._prevRemoved,i=t._nextRemoved;return null===o?this._removalsHead=i:o._nextRemoved=i,null===i?this._removalsTail=o:i._prevRemoved=o,this._insertAfter(t,n,r),this._addToMoves(t,r),t}_moveAfter(t,n,r){return this._unlink(t),this._insertAfter(t,n,r),this._addToMoves(t,r),t}_addAfter(t,n,r){return this._insertAfter(t,n,r),this._additionsTail=null===this._additionsTail?this._additionsHead=t:this._additionsTail._nextAdded=t,t}_insertAfter(t,n,r){const o=null===n?this._itHead:n._next;return t._next=o,t._prev=n,null===o?this._itTail=t:o._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new bg),this._linkedRecords.put(t),t.currentIndex=r,t}_remove(t){return this._addToRemovals(this._unlink(t))}_unlink(t){null!==this._linkedRecords&&this._linkedRecords.remove(t);const n=t._prev,r=t._next;return null===n?this._itHead=r:n._next=r,null===r?this._itTail=n:r._prev=n,t}_addToMoves(t,n){return t.previousIndex===n||(this._movesTail=null===this._movesTail?this._movesHead=t:this._movesTail._nextMoved=t),t}_addToRemovals(t){return null===this._unlinkedRecords&&(this._unlinkedRecords=new bg),this._unlinkedRecords.put(t),t.currentIndex=null,t._nextRemoved=null,null===this._removalsTail?(this._removalsTail=this._removalsHead=t,t._prevRemoved=null):(t._prevRemoved=this._removalsTail,this._removalsTail=this._removalsTail._nextRemoved=t),t}_addIdentityChange(t,n){return t.item=n,this._identityChangesTail=null===this._identityChangesTail?this._identityChangesHead=t:this._identityChangesTail._nextIdentityChange=t,t}}class D0{constructor(t,n){this.item=t,this.trackById=n,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 C0{constructor(){this._head=null,this._tail=null}add(t){null===this._head?(this._head=this._tail=t,t._nextDup=null,t._prevDup=null):(this._tail._nextDup=t,t._prevDup=this._tail,t._nextDup=null,this._tail=t)}get(t,n){let r;for(r=this._head;null!==r;r=r._nextDup)if((null===n||n<=r.currentIndex)&&Object.is(r.trackById,t))return r;return null}remove(t){const n=t._prevDup,r=t._nextDup;return null===n?this._head=r:n._nextDup=r,null===r?this._tail=n:r._prevDup=n,null===this._head}}class bg{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new C0,this.map.set(n,r)),r.add(t)}get(t,n){const o=this.map.get(t);return o?o.get(t,n):null}remove(t){const n=t.trackById;return this.map.get(n).remove(t)&&this.map.delete(n),t}get isEmpty(){return 0===this.map.size}clear(){this.map.clear()}}function wg(e,t,n){const r=e.previousIndex;if(null===r)return r;let o=0;return n&&r<n.length&&(o=n[r]),r+t+o}class vg{constructor(){}supports(t){return t instanceof Map||wu(t)}create(){return new E0}}class E0{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(t){let n;for(n=this._mapHead;null!==n;n=n._next)t(n)}forEachPreviousItem(t){let n;for(n=this._previousMapHead;null!==n;n=n._nextPrevious)t(n)}forEachChangedItem(t){let n;for(n=this._changesHead;null!==n;n=n._nextChanged)t(n)}forEachAddedItem(t){let n;for(n=this._additionsHead;null!==n;n=n._nextAdded)t(n)}forEachRemovedItem(t){let n;for(n=this._removalsHead;null!==n;n=n._nextRemoved)t(n)}diff(t){if(t){if(!(t instanceof Map||wu(t)))throw new Error(`Error trying to diff '${O(t)}'. Only maps and objects are allowed`)}else t=new Map;return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let n=this._mapHead;if(this._appendAfter=null,this._forEach(t,(r,o)=>{if(n&&n.key===o)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const i=this._getOrCreateRecordForKey(o,r);n=this._insertBeforeOrAppend(n,i)}}),n){n._prev&&(n._prev._next=null),this._removalsHead=n;for(let r=n;null!==r;r=r._nextRemoved)r===this._mapHead&&(this._mapHead=null),this._records.delete(r.key),r._nextRemoved=r._next,r.previousValue=r.currentValue,r.currentValue=null,r._prev=null,r._next=null}return this._changesTail&&(this._changesTail._nextChanged=null),this._additionsTail&&(this._additionsTail._nextAdded=null),this.isDirty}_insertBeforeOrAppend(t,n){if(t){const r=t._prev;return n._next=t,n._prev=r,t._prev=n,r&&(r._next=n),t===this._mapHead&&(this._mapHead=n),this._appendAfter=t,t}return this._appendAfter?(this._appendAfter._next=n,n._prev=this._appendAfter):this._mapHead=n,this._appendAfter=n,null}_getOrCreateRecordForKey(t,n){if(this._records.has(t)){const o=this._records.get(t);this._maybeAddToChanges(o,n);const i=o._prev,s=o._next;return i&&(i._next=s),s&&(s._prev=i),o._next=null,o._prev=null,o}const r=new b0(t);return this._records.set(t,r),r.currentValue=n,this._addToAdditions(r),r}_reset(){if(this.isDirty){let t;for(this._previousMapHead=this._mapHead,t=this._previousMapHead;null!==t;t=t._next)t._nextPrevious=t._next;for(t=this._changesHead;null!==t;t=t._nextChanged)t.previousValue=t.currentValue;for(t=this._additionsHead;null!=t;t=t._nextAdded)t.previousValue=t.currentValue;this._changesHead=this._changesTail=null,this._additionsHead=this._additionsTail=null,this._removalsHead=null}}_maybeAddToChanges(t,n){Object.is(n,t.currentValue)||(t.previousValue=t.currentValue,t.currentValue=n,this._addToChanges(t))}_addToAdditions(t){null===this._additionsHead?this._additionsHead=this._additionsTail=t:(this._additionsTail._nextAdded=t,this._additionsTail=t)}_addToChanges(t){null===this._changesHead?this._changesHead=this._changesTail=t:(this._changesTail._nextChanged=t,this._changesTail=t)}_forEach(t,n){t instanceof Map?t.forEach(n):Object.keys(t).forEach(r=>n(t[r],r))}}class b0{constructor(t){this.key=t,this.previousValue=null,this.currentValue=null,this._nextPrevious=null,this._next=null,this._prev=null,this._nextAdded=null,this._nextRemoved=null,this._nextChanged=null}}function Ig(){return new No([new Eg])}let No=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Ig()),deps:[[e,new Tn,new Pt]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(null!=r)return r;throw new Error(`Cannot find a differ supporting object '${n}' of type '${function(e){return e.name||typeof e}(n)}'`)}}return e.\u0275prov=G({token:e,providedIn:"root",factory:Ig}),e})();function Tg(){return new Tr([new vg])}let Tr=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const o=r.factories.slice();n=n.concat(o)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||Tg()),deps:[[e,new Tn,new Pt]]}}find(n){const r=this.factories.find(o=>o.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=G({token:e,providedIn:"root",factory:Tg}),e})();function ss(e,t,n,r,o=!1){for(;null!==n;){const i=t[n.index];if(null!==i&&r.push(ce(i)),ht(i))for(let a=10;a<i.length;a++){const u=i[a],l=u[1].firstChild;null!==l&&ss(u[1],u,l,r)}const s=n.type;if(8&s)ss(e,t,n.child,r);else if(32&s){const a=ja(n,t);let u;for(;u=a();)r.push(u)}else if(16&s){const a=gf(t,n);if(Array.isArray(a))r.push(...a);else{const u=ho(t[16]);ss(u[1],u,a,r,!0)}}n=o?n.projectionNext:n.next}return r}class v0 extends class{constructor(t,n){this._lView=t,this._cdRefInjectingView=n,this._appRef=null,this._attachedToViewContainer=!1}get rootNodes(){const t=this._lView,n=t[1];return ss(n,t,n.firstChild,[])}get context(){return this._lView[8]}set context(t){this._lView[8]=t}get destroyed(){return 256==(256&this._lView[2])}destroy(){if(this._appRef)this._appRef.detachView(this);else if(this._attachedToViewContainer){const t=this._lView[3];if(ht(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(function(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const o=r[17];null!==o&&o!==e&&of(o,r),t>0&&(e[n-1][4]=r[4]);const i=vn(e,10+t);!function(e,t){po(e,t,t[P],2,null,null),t[0]=null,t[6]=null}(r[1],r);const s=i[19];null!==s&&s.detachView(i[1]),r[3]=null,r[4]=null,r[2]&=-129}}(t,r),vn(n,r))}this._attachedToViewContainer=!1}!function(e,t){if(!(256&t[2])){const n=t[P];oe(n)&&n.destroyNode&&po(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return Ga(e[1],e);for(;t;){let n=null;if(At(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)At(t)&&Ga(t[1],t),t=t[3];null===t&&(t=e),At(t)&&Ga(t[1],t),n=t&&t[4]}t=n}}(t)}}(this._lView[1],this._lView)}onDestroy(t){!function(e,t,n,r){const o=Yf(t);null===n?o.push(r):(o.push(n),e.firstCreatePass&&Zf(e).push(r,o.length-1))}(this._lView[1],this._lView,null,t)}markForCheck(){du(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){hu(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){yi(!0);try{hu(e,t,n)}finally{yi(!1)}}(this._lView[1],this._lView,this.context)}attachToViewContainerRef(){if(this._appRef)throw new Error("This view is already attached directly to the ApplicationRef!");this._attachedToViewContainer=!0}detachFromAppRef(){this._appRef=null,function(e,t){po(e,t,t[P],2,null,null)}(this._lView[1],this._lView)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}{constructor(t){super(t),this._view=t}detectChanges(){Kf(this._view)}checkNoChanges(){!function(e){yi(!0);try{Kf(e)}finally{yi(!1)}}(this._view)}get context(){return null}}const N0=[new vg],R0=new No([new Eg]),P0=new Tr(N0);class Rn{}const Nr={};class Kg extends vr{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ne(t);return new Zg(n,this.ngModule)}}function Yg(e){const t=[];for(let n in e)e.hasOwnProperty(n)&&t.push({propName:e[n],templateName:n});return t}const jI=new Q("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Zd});class Zg extends gg{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=function(e){return e.map(wE).join(",")}(t.selectors),this.ngContentSelectors=t.ngContentSelectors?t.ngContentSelectors:[],this.isBoundToModule=!!n}get inputs(){return Yg(this.componentDef.inputs)}get outputs(){return Yg(this.componentDef.outputs)}create(t,n,r,o){const i=(o=o||this.ngModule)?function(e,t){return{get:(n,r,o)=>{const i=e.get(n,Nr,o);return i!==Nr||r===Nr?i:t.get(n,r,o)}}}(t,o.injector):t,s=i.get(is,qc),a=i.get(Uu,null),u=s.createRenderer(null,this.componentDef),l=this.componentDef.selectors[0][0]||"div",c=r?function(e,t,n){if(oe(e))return e.selectRootElement(t,n===he.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}(u,r,this.componentDef.encapsulation):Ua(s.createRenderer(null,this.componentDef),l,function(e){const t=e.toLowerCase();return"svg"===t?"http://www.w3.org/2000/svg":"math"===t?"http://www.w3.org/1998/MathML/":null}(l)),d=this.componentDef.onPush?576:528,f=function(e,t){return{components:[],scheduler:e||Zd,clean:ab,playerHandler:t||null,flags:0}}(),h=Gi(0,null,null,1,0,null,null,null,null,null),p=mo(null,h,f,d,null,null,s,u,a,i);let m,g;_i(p);try{const D=function(e,t,n,r,o,i){const s=n[1];n[20]=e;const u=or(s,20,2,"#host",null),l=u.mergedAttrs=t.hostAttrs;null!==l&&(Qi(u,l,!0),null!==e&&(wi(o,e,l),null!==u.classes&&Ka(o,e,u.classes),null!==u.styles&&_f(o,e,u.styles)));const c=r.createRenderer(e,t),d=mo(n,Lf(t),null,t.onPush?64:16,n[20],u,r,c,i||null,null);return s.firstCreatePass&&(Mi(Jr(u,n),s,t.type),Gf(s,u),qf(u,n.length,1)),qi(n,d),n[20]=d}(c,this.componentDef,p,s,u);if(c)if(r)wi(u,c,["ng-version",Cg.full]);else{const{attrs:y,classes:b}=function(e){const t=[],n=[];let r=1,o=2;for(;r<e.length;){let i=e[r];if("string"==typeof i)2===o?""!==i&&t.push(i,e[++r]):8===o&&n.push(i);else{if(!gt(o))break;o=i}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);y&&wi(u,c,y),b&&b.length>0&&Ka(u,c,b.join(" "))}if(g=ia(h,K),void 0!==n){const y=g.projection=[];for(let b=0;b<this.ngContentSelectors.length;b++){const v=n[b];y.push(null!=v?Array.from(v):null)}}m=function(e,t,n,r,o){const i=n[1],s=function(e,t,n){const r=pe();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),Qf(e,r,t,ir(e,t,1,null),n));const o=Xr(t,e,r.directiveStart,r);Ie(o,t);const i=nt(r,t);return i&&Ie(i,t),o}(i,n,t);if(r.components.push(s),e[8]=s,o&&o.forEach(u=>u(s,t)),t.contentQueries){const u=pe();t.contentQueries(1,s,u.directiveStart)}const a=pe();return!i.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(an(a.index),Uf(n[1],a,0,a.directiveStart,a.directiveEnd,t),Wf(t,s)),s}(D,this.componentDef,p,f,[Pb]),yo(h,p,null)}finally{Di()}return new $I(this.componentType,m,Ir(g,p),p,g)}}class $I extends class{}{constructor(t,n,r,o,i){super(),this.location=r,this._rootLView=o,this._tNode=i,this.instance=n,this.hostView=this.changeDetectorRef=new v0(o),this.componentType=t}get injector(){return new Qn(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}const xr=new Map;class GI extends Rn{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new Kg(this);const r=Xe(t),o=function(e){return e[V_]||null}(t);o&&Ou(o),this._bootstrapComponents=kt(r.bootstrap),this._r3Injector=rh(t,n,[{provide:Rn,useValue:this},{provide:vr,useValue:this.componentFactoryResolver}],O(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=te.THROW_IF_NOT_FOUND,r=T.Default){return t===te||t===Rn||t===ar?this:this._r3Injector.get(t,n,r)}destroy(){const t=this._r3Injector;!t.destroyed&&t.destroy(),this.destroyCbs.forEach(n=>n()),this.destroyCbs=null}onDestroy(t){this.destroyCbs.push(t)}}class ol extends class{}{constructor(t){super(),this.moduleType=t,null!==Xe(t)&&function(e){const t=new Set;!function n(r){const o=Xe(r,!0),i=o.id;null!==i&&(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${O(t)} vs ${O(t.name)}`)}(i,xr.get(i),r),xr.set(i,r));const s=kt(o.imports);for(const a of s)t.has(a)||(t.add(a),n(a))}(e)}(t)}create(t){return new GI(this.moduleType,t)}}function il(e){return t=>{setTimeout(e,void 0,t)}}const $t=class extends Us{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var o,i,s;let a=t,u=n||(()=>null),l=r;if(t&&"object"==typeof t){const d=t;a=null===(o=d.next)||void 0===o?void 0:o.bind(d),u=null===(i=d.error)||void 0===i?void 0:i.bind(d),l=null===(s=d.complete)||void 0===s?void 0:s.bind(d)}this.__isAsync&&(u=il(u),a&&(a=il(a)),l&&(l=il(l)));const c=super.subscribe({next:a,error:u,complete:l});return t instanceof ae&&t.add(c),c}};Symbol;const gs=new Q("Application Initializer");let Pr=(()=>{class e{constructor(n){this.appInits=n,this.resolve=os,this.reject=os,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,o)=>{this.resolve=r,this.reject=o})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let o=0;o<this.appInits.length;o++){const i=this.appInits[o]();if(Nu(i))n.push(i);else if(Kh(i)){const s=new Promise((a,u)=>{i.subscribe({complete:a,error:u})});n.push(s)}}Promise.all(n).then(()=>{r()}).catch(o=>{this.reject(o)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(j(gs,8))},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();const Uo=new Q("AppId"),YT={provide:Uo,useFactory:function(){return`${ml()}${ml()}${ml()}`},deps:[]};function ml(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Mm=new Q("Platform Initializer"),yl=new Q("Platform ID"),ZT=new Q("appBootstrapListener");let _l=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();const hn=new Q("LocaleId"),Sm=new Q("DefaultCurrencyCode");class XT{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}const Dl=function(e){return new ol(e)},eM=Dl,tM=function(e){return Promise.resolve(Dl(e))},Am=function(e){const t=Dl(e),r=kt(Xe(e).declarations).reduce((o,i)=>{const s=Ne(i);return s&&o.push(new Zg(s)),o},[]);return new XT(t,r)},nM=Am,rM=function(e){return Promise.resolve(Am(e))};let ys=(()=>{class e{constructor(){this.compileModuleSync=eM,this.compileModuleAsync=tM,this.compileModuleAndAllComponentsSync=nM,this.compileModuleAndAllComponentsAsync=rM}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();const sM=(()=>Promise.resolve(0))();function Cl(e){"undefined"==typeof Zone?sM.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class we{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new $t(!1),this.onMicrotaskEmpty=new $t(!1),this.onStable=new $t(!1),this.onError=new $t(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const o=this;o._nesting=0,o._outer=o._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(o._inner=o._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(o._inner=o._inner.fork(Zone.longStackTraceZoneSpec)),o.shouldCoalesceEventChangeDetection=!r&&n,o.shouldCoalesceRunChangeDetection=r,o.lastRequestAnimationFrameId=-1,o.nativeRequestAnimationFrame=function(){let e=U.requestAnimationFrame,t=U.cancelAnimationFrame;if("undefined"!=typeof Zone&&e&&t){const n=e[Zone.__symbol__("OriginalDelegate")];n&&(e=n);const r=t[Zone.__symbol__("OriginalDelegate")];r&&(t=r)}return{nativeRequestAnimationFrame:e,nativeCancelAnimationFrame:t}}().nativeRequestAnimationFrame,function(e){const t=()=>{!function(e){e.isCheckStableRunning||-1!==e.lastRequestAnimationFrameId||(e.lastRequestAnimationFrameId=e.nativeRequestAnimationFrame.call(U,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,bl(e),e.isCheckStableRunning=!0,El(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),bl(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,o,i,s,a)=>{try{return Nm(e),n.invokeTask(o,i,s,a)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===i.type||e.shouldCoalesceRunChangeDetection)&&t(),xm(e)}},onInvoke:(n,r,o,i,s,a,u)=>{try{return Nm(e),n.invoke(o,i,s,a,u)}finally{e.shouldCoalesceRunChangeDetection&&t(),xm(e)}},onHasTask:(n,r,o,i)=>{n.hasTask(o,i),r===o&&("microTask"==i.change?(e._hasPendingMicrotasks=i.microTask,bl(e),El(e)):"macroTask"==i.change&&(e.hasPendingMacrotasks=i.macroTask))},onHandleError:(n,r,o,i)=>(n.handleError(o,i),e.runOutsideAngular(()=>e.onError.emit(i)),!1)})}(o)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!we.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(we.isInAngularZone())throw new Error("Expected to not be in Angular Zone, but it is!")}run(t,n,r){return this._inner.run(t,n,r)}runTask(t,n,r,o){const i=this._inner,s=i.scheduleEventTask("NgZoneEvent: "+o,t,uM,os,os);try{return i.runTask(s,n,r)}finally{i.cancelTask(s)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const uM={};function El(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 bl(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Nm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xm(e){e._nesting--,El(e)}class dM{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new $t,this.onMicrotaskEmpty=new $t,this.onStable=new $t,this.onError=new $t}run(t,n,r){return t.apply(n,r)}runGuarded(t,n,r){return t.apply(n,r)}runOutsideAngular(t){return t()}runTask(t,n,r,o){return t.apply(n,r)}}let wl=(()=>{class e{constructor(n){this._ngZone=n,this._pendingCount=0,this._isZoneStable=!0,this._didWork=!1,this._callbacks=[],this.taskTrackingZone=null,this._watchAngularEvents(),n.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:()=>{we.assertNotInAngularZone(),Cl(()=>{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())Cl(()=>{for(;0!==this._callbacks.length;){let n=this._callbacks.pop();clearTimeout(n.timeoutId),n.doneCb(this._didWork)}this._didWork=!1});else{let n=this.getPendingTasks();this._callbacks=this._callbacks.filter(r=>!r.updateCb||!r.updateCb(n)||(clearTimeout(r.timeoutId),!1)),this._didWork=!0}}getPendingTasks(){return this.taskTrackingZone?this.taskTrackingZone.macroTasks.map(n=>({source:n.source,creationLocation:n.creationLocation,data:n.data})):[]}addCallback(n,r,o){let i=-1;r&&r>0&&(i=setTimeout(()=>{this._callbacks=this._callbacks.filter(s=>s.timeoutId!==i),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:i,updateCb:o})}whenStable(n,r,o){if(o&&!this.taskTrackingZone)throw new Error('Task tracking zone is required when passing an update callback to whenStable(). Is "zone.js/plugins/task-tracking" loaded?');this.addCallback(n,r,o),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,o){return[]}}return e.\u0275fac=function(n){return new(n||e)(j(we))},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})(),Rm=(()=>{class e{constructor(){this._applications=new Map,vl.addToWindow(this)}registerApplication(n,r){this._applications.set(n,r)}unregisterApplication(n){this._applications.delete(n)}unregisterAllApplications(){this._applications.clear()}getTestability(n){return this._applications.get(n)||null}getAllTestabilities(){return Array.from(this._applications.values())}getAllRootElements(){return Array.from(this._applications.keys())}findTestabilityInTree(n,r=!0){return vl.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();class fM{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}let vl=new fM,Pm=!0,Fm=!1;let vt;const km=new Q("AllowMultipleToken");function Lm(e,t,n=[]){const r=`Platform: ${t}`,o=new Q(r);return(i=[])=>{let s=Vm();if(!s||s.injector.get(km,!1))if(e)e(n.concat(i).concat({provide:o,useValue:!0}));else{const a=n.concat(i).concat({provide:o,useValue:!0},{provide:_o,useValue:"platform"});!function(e){if(vt&&!vt.destroyed&&!vt.injector.get(km,!1))throw new Error("There can be only one platform. Destroy the previous one to create a new one.");vt=e.get(jm);const t=e.get(Mm,null);t&&t.forEach(n=>n())}(te.create({providers:a,name:r}))}return function(e){const t=Vm();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}(o)}}function Vm(){return vt&&!vt.destroyed?vt:null}let jm=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const a=function(e,t){let n;return n="noop"===e?new dM:("zone.js"===e?void 0:e)||new we({enableLongStackTrace:(Fm=!0,Pm),shouldCoalesceEventChangeDetection:!!(null==t?void 0:t.ngZoneEventCoalescing),shouldCoalesceRunChangeDetection:!!(null==t?void 0:t.ngZoneRunCoalescing)}),n}(r?r.ngZone:void 0,{ngZoneEventCoalescing:r&&r.ngZoneEventCoalescing||!1,ngZoneRunCoalescing:r&&r.ngZoneRunCoalescing||!1}),u=[{provide:we,useValue:a}];return a.run(()=>{const l=te.create({providers:u,parent:this.injector,name:n.moduleType.name}),c=n.create(l),d=c.injector.get(Sn,null);if(!d)throw new Error("No ErrorHandler. Is platform module (BrowserModule) included?");return a.runOutsideAngular(()=>{const f=a.onError.subscribe({next:h=>{d.handleError(h)}});c.onDestroy(()=>{Il(this._modules,c),f.unsubscribe()})}),function(e,t,n){try{const r=n();return Nu(r)?r.catch(o=>{throw t.runOutsideAngular(()=>e.handleError(o)),o}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(d,a,()=>{const f=c.injector.get(Pr);return f.runInitializers(),f.donePromise.then(()=>(Ou(c.injector.get(hn,Xi)||Xi),this._moduleDoBootstrap(c),c))})})}bootstrapModule(n,r=[]){const o=Bm({},r);return function(e,t,n){const r=new ol(n);return Promise.resolve(r)}(0,0,n).then(i=>this.bootstrapModuleFactory(i,o))}_moduleDoBootstrap(n){const r=n.injector.get(Wo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(o=>r.bootstrap(o));else{if(!n.instance.ngDoBootstrap)throw new Error(`The module ${O(n.instance.constructor)} was bootstrapped, but it does not declare "@NgModule.bootstrap" components nor a "ngDoBootstrap" method. Please define one of these.`);n.instance.ngDoBootstrap(r)}this._modules.push(n)}onDestroy(n){this._destroyListeners.push(n)}get injector(){return this._injector}destroy(){if(this._destroyed)throw new Error("The platform has already been destroyed!");this._modules.slice().forEach(n=>n.destroy()),this._destroyListeners.forEach(n=>n()),this._destroyed=!0}get destroyed(){return this._destroyed}}return e.\u0275fac=function(n){return new(n||e)(j(te))},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();function Bm(e,t){return Array.isArray(t)?t.reduce(Bm,e):Object.assign(Object.assign({},e),t)}let Wo=(()=>{class e{constructor(n,r,o,i,s){this._zone=n,this._injector=r,this._exceptionHandler=o,this._componentFactoryResolver=i,this._initStatus=s,this._bootstrapListeners=[],this._views=[],this._runningTick=!1,this._stable=!0,this.componentTypes=[],this.components=[],this._onMicrotaskEmptySubscription=this._zone.onMicrotaskEmpty.subscribe({next:()=>{this._zone.run(()=>{this.tick()})}});const a=new Ve(l=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{l.next(this._stable),l.complete()})}),u=new Ve(l=>{let c;this._zone.runOutsideAngular(()=>{c=this._zone.onStable.subscribe(()=>{we.assertNotInAngularZone(),Cl(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,l.next(!0))})})});const d=this._zone.onUnstable.subscribe(()=>{we.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{l.next(!1)}))});return()=>{c.unsubscribe(),d.unsubscribe()}});this.isStable=function(...e){let t=Number.POSITIVE_INFINITY,n=null,r=e[e.length-1];return function(e){return e&&"function"==typeof e.schedule}(r)?(n=e.pop(),e.length>1&&"number"==typeof e[e.length-1]&&(t=e.pop())):"number"==typeof r&&(t=e.pop()),null===n&&1===e.length&&e[0]instanceof Ve?e[0]:function(e=Number.POSITIVE_INFINITY){return Mc(yc,e)}(t)(function(e,t){return t?Tc(e,t):new Ve(bc(e))}(e,n))}(a,u.pipe(e=>Sc()(function(e,t){return function(r){let o;o="function"==typeof e?e:function(){return e};const i=Object.create(r,__);return i.source=r,i.subjectFactory=o,i}}(w_)(e))))}bootstrap(n,r){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 o;o=n instanceof gg?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(o.componentType);const i=function(e){return e.isBoundToModule}(o)?void 0:this._injector.get(Rn),a=o.create(te.NULL,[],r||o.selector,i),u=a.location.nativeElement,l=a.injector.get(wl,null),c=l&&a.injector.get(Rm);return l&&c&&c.registerApplication(u,l),a.onDestroy(()=>{this.detachView(a.hostView),Il(this.components,a),c&&c.unregisterApplication(u)}),this._loadComponent(a),a}tick(){if(this._runningTick)throw new Error("ApplicationRef.tick is called recursively");try{this._runningTick=!0;for(let n of this._views)n.detectChanges()}catch(n){this._zone.runOutsideAngular(()=>this._exceptionHandler.handleError(n))}finally{this._runningTick=!1}}attachView(n){const r=n;this._views.push(r),r.attachToAppRef(this)}detachView(n){const r=n;Il(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(ZT,[]).concat(this._bootstrapListeners).forEach(o=>o(n))}ngOnDestroy(){this._views.slice().forEach(n=>n.destroy()),this._onMicrotaskEmptySubscription.unsubscribe()}get viewCount(){return this._views.length}}return e.\u0275fac=function(n){return new(n||e)(j(we),j(te),j(Sn),j(vr),j(Pr))},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();function Il(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}const jM=Lm(null,"core",[{provide:yl,useValue:"unknown"},{provide:jm,deps:[te]},{provide:Rm,deps:[]},{provide:_l,deps:[]}]),WM=[{provide:Wo,useClass:Wo,deps:[we,te,Sn,vr,Pr]},{provide:jI,deps:[we],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Pr,useClass:Pr,deps:[[new Pt,gs]]},{provide:ys,useClass:ys,deps:[]},YT,{provide:No,useFactory:function(){return R0},deps:[]},{provide:Tr,useFactory:function(){return P0},deps:[]},{provide:hn,useFactory:function(e){return Ou(e=e||"undefined"!=typeof $localize&&$localize.locale||Xi),e},deps:[[new so(hn),new Pt,new Tn]]},{provide:Sm,useValue:"USD"}];let qM=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(j(Wo))},e.\u0275mod=Gr({type:e}),e.\u0275inj=yn({providers:WM}),e})(),Ms=null;function Ko(){return Ms}const Le=new Q("DocumentToken");var de=(()=>((de=de||{})[de.Zero=0]="Zero",de[de.One=1]="One",de[de.Two=2]="Two",de[de.Few=3]="Few",de[de.Many=4]="Many",de[de.Other=5]="Other",de))();const eA=function(e){return function(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=Up(t);if(n)return n;const r=t.split("-")[0];if(n=Up(r),n)return n;if("en"===r)return uv;throw new Error(`Missing locale data for the locale "${e}".`)}(e)[E.PluralCase]};class Ls{}let AA=(()=>{class e extends Ls{constructor(n){super(),this.locale=n}getPluralCategory(n,r){switch(eA(r||this.locale)(n)){case de.Zero:return"zero";case de.One:return"one";case de.Two:return"two";case de.Few:return"few";case de.Many:return"many";default:return"other"}}}return e.\u0275fac=function(n){return new(n||e)(j(hn))},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})(),l1=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Gr({type:e}),e.\u0275inj=yn({providers:[{provide:Ls,useClass:AA}]}),e})();class Jl extends class extends class{}{constructor(){super(...arguments),this.supportsDOMEvents=!0}}{static makeCurrent(){!function(e){Ms||(Ms=e)}(new Jl)}onAndCancel(t,n,r){return t.addEventListener(n,r,!1),()=>{t.removeEventListener(n,r,!1)}}dispatchEvent(t,n){t.dispatchEvent(n)}remove(t){t.parentNode&&t.parentNode.removeChild(t)}createElement(t,n){return(n=n||this.getDefaultDocument()).createElement(t)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(t){return t.nodeType===Node.ELEMENT_NODE}isShadowRoot(t){return t instanceof DocumentFragment}getGlobalEventTarget(t,n){return"window"===n?window:"document"===n?t:"body"===n?t.body:null}getBaseHref(t){const n=(Jo=Jo||document.querySelector("base"),Jo?Jo.getAttribute("href"):null);return null==n?null:function(e){Vs=Vs||document.createElement("a"),Vs.setAttribute("href",e);const t=Vs.pathname;return"/"===t.charAt(0)?t:`/${t}`}(n)}resetBaseElement(){Jo=null}getUserAgent(){return window.navigator.userAgent}getCookie(t){return function(e,t){t=encodeURIComponent(t);for(const n of e.split(";")){const r=n.indexOf("="),[o,i]=-1==r?[n,""]:[n.slice(0,r),n.slice(r+1)];if(o.trim()===t)return decodeURIComponent(i)}return null}(document.cookie,t)}}let Vs,Jo=null;const Ny=new Q("TRANSITION_ID"),D1=[{provide:gs,useFactory:function(e,t,n){return()=>{n.get(Pr).donePromise.then(()=>{const r=Ko(),o=t.querySelectorAll(`style[ng-transition="${e}"]`);for(let i=0;i<o.length;i++)r.remove(o[i])})}},deps:[Ny,Le,te],multi:!0}];class Xl{static init(){!function(e){vl=e}(new Xl)}addToWindow(t){U.getAngularTestability=(r,o=!0)=>{const i=t.findTestabilityInTree(r,o);if(null==i)throw new Error("Could not find testability for element.");return i},U.getAllAngularTestabilities=()=>t.getAllTestabilities(),U.getAllAngularRootElements=()=>t.getAllRootElements(),U.frameworkStabilizers||(U.frameworkStabilizers=[]),U.frameworkStabilizers.push(r=>{const o=U.getAllAngularTestabilities();let i=o.length,s=!1;const a=function(u){s=s||u,i--,0==i&&r(s)};o.forEach(function(u){u.whenStable(a)})})}findTestabilityInTree(t,n,r){if(null==n)return null;const o=t.getTestability(n);return null!=o?o:r?Ko().isShadowRoot(n)?this.findTestabilityInTree(t,n.host,!0):this.findTestabilityInTree(t,n.parentElement,!0):null}}let C1=(()=>{class e{build(){return new XMLHttpRequest}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();const Xo=new Q("EventManagerPlugins");let Bs=(()=>{class e{constructor(n,r){this._zone=r,this._eventNameToPlugin=new Map,n.forEach(o=>o.manager=this),this._plugins=n.slice().reverse()}addEventListener(n,r,o){return this._findPluginFor(r).addEventListener(n,r,o)}addGlobalEventListener(n,r,o){return this._findPluginFor(r).addGlobalEventListener(n,r,o)}getZone(){return this._zone}_findPluginFor(n){const r=this._eventNameToPlugin.get(n);if(r)return r;const o=this._plugins;for(let i=0;i<o.length;i++){const s=o[i];if(s.supports(n))return this._eventNameToPlugin.set(n,s),s}throw new Error(`No event manager plugin found for event ${n}`)}}return e.\u0275fac=function(n){return new(n||e)(j(Xo),j(we))},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();class ec{constructor(t){this._doc=t}addGlobalEventListener(t,n,r){const o=Ko().getGlobalEventTarget(this._doc,t);if(!o)throw new Error(`Unsupported event target ${o} for event ${n}`);return this.addEventListener(o,n,r)}}let Ry=(()=>{class e{constructor(){this._stylesSet=new Set}addStyles(n){const r=new Set;n.forEach(o=>{this._stylesSet.has(o)||(this._stylesSet.add(o),r.add(o))}),this.onStylesAdded(r)}onStylesAdded(n){}getAllStyles(){return Array.from(this._stylesSet)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})(),ei=(()=>{class e extends Ry{constructor(n){super(),this._doc=n,this._hostNodes=new Map,this._hostNodes.set(n.head,[])}_addStylesToHost(n,r,o){n.forEach(i=>{const s=this._doc.createElement("style");s.textContent=i,o.push(r.appendChild(s))})}addHost(n){const r=[];this._addStylesToHost(this._stylesSet,n,r),this._hostNodes.set(n,r)}removeHost(n){const r=this._hostNodes.get(n);r&&r.forEach(Py),this._hostNodes.delete(n)}onStylesAdded(n){this._hostNodes.forEach((r,o)=>{this._addStylesToHost(n,o,r)})}ngOnDestroy(){this._hostNodes.forEach(n=>n.forEach(Py))}}return e.\u0275fac=function(n){return new(n||e)(j(Le))},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();function Py(e){Ko().remove(e)}const tc={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/"},nc=/%COMP%/g;function Hs(e,t,n){for(let r=0;r<t.length;r++){let o=t[r];Array.isArray(o)?Hs(e,o,n):(o=o.replace(nc,e),n.push(o))}return n}function ky(e){return t=>{if("__ngUnwrap__"===t)return e;!1===e(t)&&(t.preventDefault(),t.returnValue=!1)}}let rc=(()=>{class e{constructor(n,r,o){this.eventManager=n,this.sharedStylesHost=r,this.appId=o,this.rendererByCompId=new Map,this.defaultRenderer=new oc(n)}createRenderer(n,r){if(!n||!r)return this.defaultRenderer;switch(r.encapsulation){case he.Emulated:{let o=this.rendererByCompId.get(r.id);return o||(o=new O1(this.eventManager,this.sharedStylesHost,r,this.appId),this.rendererByCompId.set(r.id,o)),o.applyToHost(n),o}case 1:case he.ShadowDom:return new k1(this.eventManager,this.sharedStylesHost,n,r);default:if(!this.rendererByCompId.has(r.id)){const o=Hs(r.id,r.styles,[]);this.sharedStylesHost.addStyles(o),this.rendererByCompId.set(r.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return e.\u0275fac=function(n){return new(n||e)(j(Bs),j(ei),j(Uo))},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();class oc{constructor(t){this.eventManager=t,this.data=Object.create(null)}destroy(){}createElement(t,n){return n?document.createElementNS(tc[n]||n,t):document.createElement(t)}createComment(t){return document.createComment(t)}createText(t){return document.createTextNode(t)}appendChild(t,n){t.appendChild(n)}insertBefore(t,n,r){t&&t.insertBefore(n,r)}removeChild(t,n){t&&t.removeChild(n)}selectRootElement(t,n){let r="string"==typeof t?document.querySelector(t):t;if(!r)throw new Error(`The selector "${t}" did not match any elements`);return n||(r.textContent=""),r}parentNode(t){return t.parentNode}nextSibling(t){return t.nextSibling}setAttribute(t,n,r,o){if(o){n=o+":"+n;const i=tc[o];i?t.setAttributeNS(i,n,r):t.setAttribute(n,r)}else t.setAttribute(n,r)}removeAttribute(t,n,r){if(r){const o=tc[r];o?t.removeAttributeNS(o,n):t.removeAttribute(`${r}:${n}`)}else t.removeAttribute(n)}addClass(t,n){t.classList.add(n)}removeClass(t,n){t.classList.remove(n)}setStyle(t,n,r,o){o&(Ke.DashCase|Ke.Important)?t.style.setProperty(n,r,o&Ke.Important?"important":""):t.style[n]=r}removeStyle(t,n,r){r&Ke.DashCase?t.style.removeProperty(n):t.style[n]=""}setProperty(t,n,r){t[n]=r}setValue(t,n){t.nodeValue=n}listen(t,n,r){return"string"==typeof t?this.eventManager.addGlobalEventListener(t,n,ky(r)):this.eventManager.addEventListener(t,n,ky(r))}}class O1 extends oc{constructor(t,n,r,o){super(t),this.component=r;const i=Hs(o+"-"+r.id,r.styles,[]);n.addStyles(i),this.contentAttr=function(e){return"_ngcontent-%COMP%".replace(nc,e)}(o+"-"+r.id),this.hostAttr=function(e){return"_nghost-%COMP%".replace(nc,e)}(o+"-"+r.id)}applyToHost(t){super.setAttribute(t,this.hostAttr,"")}createElement(t,n){const r=super.createElement(t,n);return super.setAttribute(r,this.contentAttr,""),r}}class k1 extends oc{constructor(t,n,r,o){super(t),this.sharedStylesHost=n,this.hostEl=r,this.shadowRoot=r.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const i=Hs(o.id,o.styles,[]);for(let s=0;s<i.length;s++){const a=document.createElement("style");a.textContent=i[s],this.shadowRoot.appendChild(a)}}nodeOrShadowRoot(t){return t===this.hostEl?this.shadowRoot:t}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(t,n){return super.appendChild(this.nodeOrShadowRoot(t),n)}insertBefore(t,n,r){return super.insertBefore(this.nodeOrShadowRoot(t),n,r)}removeChild(t,n){return super.removeChild(this.nodeOrShadowRoot(t),n)}parentNode(t){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(t)))}}let L1=(()=>{class e extends ec{constructor(n){super(n)}supports(n){return!0}addEventListener(n,r,o){return n.addEventListener(r,o,!1),()=>this.removeEventListener(n,r,o)}removeEventListener(n,r,o){return n.removeEventListener(r,o)}}return e.\u0275fac=function(n){return new(n||e)(j(Le))},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();const jy=["alt","control","meta","shift"],W1={"\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"},By={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"},G1={alt:e=>e.altKey,control:e=>e.ctrlKey,meta:e=>e.metaKey,shift:e=>e.shiftKey};let q1=(()=>{class e extends ec{constructor(n){super(n)}supports(n){return null!=e.parseEventName(n)}addEventListener(n,r,o){const i=e.parseEventName(r),s=e.eventCallback(i.fullKey,o,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>Ko().onAndCancel(n,i.domEventName,s))}static parseEventName(n){const r=n.toLowerCase().split("."),o=r.shift();if(0===r.length||"keydown"!==o&&"keyup"!==o)return null;const i=e._normalizeKey(r.pop());let s="";if(jy.forEach(u=>{const l=r.indexOf(u);l>-1&&(r.splice(l,1),s+=u+".")}),s+=i,0!=r.length||0===i.length)return null;const a={};return a.domEventName=o,a.fullKey=s,a}static getEventFullKey(n){let r="",o=function(e){let t=e.key;if(null==t){if(t=e.keyIdentifier,null==t)return"Unidentified";t.startsWith("U+")&&(t=String.fromCharCode(parseInt(t.substring(2),16)),3===e.location&&By.hasOwnProperty(t)&&(t=By[t]))}return W1[t]||t}(n);return o=o.toLowerCase()," "===o?o="space":"."===o&&(o="dot"),jy.forEach(i=>{i!=o&&G1[i](n)&&(r+=i+".")}),r+=o,r}static eventCallback(n,r,o){return i=>{e.getEventFullKey(i)===n&&o.runGuarded(()=>r(i))}}static _normalizeKey(n){switch(n){case"esc":return"escape";default:return n}}}return e.\u0275fac=function(n){return new(n||e)(j(Le))},e.\u0275prov=G({token:e,factory:e.\u0275fac}),e})();const eN=Lm(jM,"browser",[{provide:yl,useValue:"browser"},{provide:Mm,useValue:function(){Jl.makeCurrent(),Xl.init()},multi:!0},{provide:Le,useFactory:function(){return function(e){ra=e}(document),document},deps:[]}]),tN=[[],{provide:_o,useValue:"root"},{provide:Sn,useFactory:function(){return new Sn},deps:[]},{provide:Xo,useClass:L1,multi:!0,deps:[Le,we,yl]},{provide:Xo,useClass:q1,multi:!0,deps:[Le]},[],{provide:rc,useClass:rc,deps:[Bs,ei,Uo]},{provide:is,useExisting:rc},{provide:Ry,useExisting:ei},{provide:ei,useClass:ei,deps:[Le]},{provide:wl,useClass:wl,deps:[we]},{provide:Bs,useClass:Bs,deps:[Xo,we]},{provide:class{},useClass:C1,deps:[]},[]];let nN=(()=>{class e{constructor(n){if(n)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(n){return{ngModule:e,providers:[{provide:Uo,useValue:n.appId},{provide:Ny,useExisting:Uo},D1]}}}return e.\u0275fac=function(n){return new(n||e)(j(e,12))},e.\u0275mod=Gr({type:e}),e.\u0275inj=yn({providers:tN,imports:[l1,qM]}),e})();"undefined"!=typeof window&&window;let cN=(()=>{class e{constructor(){this.dataSend1=new $t}ngOnInit(){}valueChange(){this.dataSend=this.dataSend1}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wr({type:e,selectors:[["app-output"]],inputs:{dataSend:"dataSend"},outputs:{dataSend1:"dataSend1"},decls:3,vars:1,consts:[[1,"outputCont"]],template:function(n,r){1&n&&(J(0,"div",0),J(1,"p"),vo(2),X(),X()),2&n&&(go(2),Io(r.dataSend))},styles:[".outputCont[_ngcontent-%COMP%]{position:relative;min-height:40px;height:auto;width:80%;border:2px solid black;font-size:1.2vw;border-radius:10px;margin-bottom:20px}"]}),e})(),dN=(()=>{class e{constructor(){}ngOnInit(){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wr({type:e,selectors:[["app-button"]],inputs:{btnValue:"btnValue"},decls:2,vars:1,consts:[[1,"calcBtn"]],template:function(n,r){1&n&&(J(0,"button",0),vo(1),X()),2&n&&(go(1),Io(r.btnValue))},styles:[".calcBtn[_ngcontent-%COMP%]{position:relative;border:2px solid black;color:#000;border-radius:10px;padding:10px;font-size:1.2vw;background-color:#fff;margin:10px}.calcBtn[_ngcontent-%COMP%]:hover{background-color:gray;color:#fff}.calcBtn[_ngcontent-%COMP%]:active{background-color:#000;color:#fff}"]}),e})(),fN=(()=>{class e{constructor(){this.title="angular",this.operatorValue="",this.secondValue="",this.tempValue="",this.afterOpr="",this.leftVal="",this.calAgainFlag=0}parentFunction(n){""==this.secondValue?(this.secondValue=n,this.tempValue=this.secondValue):n!=this.secondValue?(this.secondValue=n,this.tempValue=this.tempValue+this.secondValue):this.tempValue=this.tempValue+this.secondValue}operatorFunction(n){""==this.leftVal&&(this.leftVal=this.tempValue,this.tempValue=""),this.operatorValue=n,1==this.calAgainFlag&&(this.leftVal=this.tempValue,this.calAgainFlag=0)}resultFunction(){""==this.afterOpr&&(this.afterOpr=this.tempValue),this.leftValNum=Number(this.leftVal),this.rightValNum=Number(this.afterOpr),"+"==this.operatorValue?(this.tempValue=this.leftValNum+this.rightValNum,this.calAgain()):"-"==this.operatorValue?(this.tempValue=this.leftValNum-this.rightValNum,this.calAgain()):"*"==this.operatorValue?(this.tempValue=this.leftValNum*this.rightValNum,this.calAgain()):"/"==this.operatorValue&&(this.tempValue=this.leftValNum/this.rightValNum,this.calAgain())}calAgain(){this.afterOpr="",this.secondValue="",this.operatorValue="",this.calAgainFlag=1}clearInput(){this.tempValue="clear",this.afterOpr="",this.secondValue="",this.operatorValue="",this.leftVal="",this.calAgainFlag=0}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275cmp=Wr({type:e,selectors:[["app-root"]],decls:25,vars:2,consts:[[1,"calculatorContainer"],[3,"dataSend"],[1,"operatorDiv"],[1,"operators"],["btnValue","0",3,"click"],["btnValue","1",3,"click"],["btnValue","2",3,"click"],["btnValue","3",3,"click"],["btnValue","AC",3,"click"],["btnValue","4",3,"click"],["btnValue","5",3,"click"],["btnValue","6",3,"click"],["btnValue","7",3,"click"],["btnValue","8",3,"click"],["btnValue","9",3,"click"],["btnValue","+",3,"click"],["btnValue","-",3,"click"],["btnValue","*",3,"click"],["btnValue","/",3,"click"],["btnValue","=",3,"click"]],template:function(n,r){1&n&&(J(0,"h3"),vo(1,"Simple Calculator"),X(),J(2,"div",0),Zi(3,"app-output",1),J(4,"div",2),vo(5),X(),J(6,"div",3),J(7,"app-button",4),Ce("click",function(){return r.parentFunction("0")}),X(),J(8,"app-button",5),Ce("click",function(){return r.parentFunction("1")}),X(),J(9,"app-button",6),Ce("click",function(){return r.parentFunction("2")}),X(),J(10,"app-button",7),Ce("click",function(){return r.parentFunction("3")}),X(),J(11,"app-button",8),Ce("click",function(){return r.clearInput()}),X(),J(12,"app-button",9),Ce("click",function(){return r.parentFunction("4")}),X(),J(13,"app-button",10),Ce("click",function(){return r.parentFunction("5")}),X(),J(14,"app-button",11),Ce("click",function(){return r.parentFunction("6")}),X(),J(15,"app-button",12),Ce("click",function(){return r.parentFunction("7")}),X(),Zi(16,"br"),J(17,"app-button",13),Ce("click",function(){return r.parentFunction("8")}),X(),J(18,"app-button",14),Ce("click",function(){return r.parentFunction("9")}),X(),J(19,"app-button",15),Ce("click",function(){return r.operatorFunction("+")}),X(),J(20,"app-button",16),Ce("click",function(){return r.operatorFunction("-")}),X(),Zi(21,"br"),J(22,"app-button",17),Ce("click",function(){return r.operatorFunction("*")}),X(),J(23,"app-button",18),Ce("click",function(){return r.operatorFunction("/")}),X(),J(24,"app-button",19),Ce("click",function(){return r.resultFunction()}),X(),X(),X()),2&n&&(go(3),Su("dataSend",r.tempValue),go(2),Io(r.operatorValue))},directives:[cN,dN],styles:[".calculatorContainer[_ngcontent-%COMP%]{position:relative;padding:20px;border:2px solid red;height:20%;width:20%}.operators[_ngcontent-%COMP%]{position:relative;border:2px solid black;border-radius:20px;padding:10px;justify-content:left;text-align:left}.operatorDiv[_ngcontent-%COMP%]{position:absolute;left:85%;justify-content:center;text-align:center;top:5%;font-size:2vw;height:40px;width:40px;border:2px solid black;border-radius:20px}"]}),e})(),hN=(()=>{class e{}return e.\u0275fac=function(n){return new(n||e)},e.\u0275mod=Gr({type:e,bootstrap:[fN]}),e.\u0275inj=yn({providers:[],imports:[[nN]]}),e})();(function(){if(Fm)throw new Error("Cannot enable prod mode after platform setup.");Pm=!1})(),eN().bootstrapModule(hN).catch(e=>console.error(e))}},jr=>{jr(jr.s=808)}]);