homebridge-nest-cam-ft
Version:
Nest cam plugin for homebridge: https://homebridge.io/
1 lines • 435 kB
JavaScript
(self.webpackChunkhomebridge_ui=self.webpackChunkhomebridge_ui||[]).push([[179],{852:(We,ce)=>{"use strict";Object.defineProperty(ce,"__esModule",{value:!0})},818:(We,ce,L)=>{"use strict";L.d(ce,{y:()=>ie});var p=L(3),N=L(813),ae=L(122),he=L(330);var Ee=L(46),V=L(975),de=L(519);let ie=(()=>{class me{constructor(oe){oe&&(this._subscribe=oe)}lift(oe){const ne=new me;return ne.source=this,ne.operator=oe,ne}subscribe(oe,ne,ge){const X=function(me){return me&&me instanceof p.Lv||function(me){return me&&(0,V.m)(me.next)&&(0,V.m)(me.error)&&(0,V.m)(me.complete)}(me)&&(0,N.Nn)(me)}(oe)?oe:new p.Hp(oe,ne,ge);return(0,de.x)(()=>{const{operator:Ce,source:W}=this;X.add(Ce?Ce.call(X,W):W?this._subscribe(X):this._trySubscribe(X))}),X}_trySubscribe(oe){try{return this._subscribe(oe)}catch(ne){oe.error(ne)}}forEach(oe,ne){return new(ne=fe(ne))((ge,X)=>{const Ce=new p.Hp({next:W=>{try{oe(W)}catch($){X($),Ce.unsubscribe()}},error:X,complete:ge});this.subscribe(Ce)})}_subscribe(oe){var ne;return null===(ne=this.source)||void 0===ne?void 0:ne.subscribe(oe)}[ae.L](){return this}pipe(...oe){return function(me){return 0===me.length?he.y:1===me.length?me[0]:function(oe){return me.reduce((ne,ge)=>ge(ne),oe)}}(oe)(this)}toPromise(oe){return new(oe=fe(oe))((ne,ge)=>{let X;this.subscribe(Ce=>X=Ce,Ce=>ge(Ce),()=>ne(X))})}}return me.create=J=>new me(J),me})();function fe(me){var J;return null!==(J=null!=me?me:Ee.v.Promise)&&void 0!==J?J:Promise}},3:(We,ce,L)=>{"use strict";L.d(ce,{Hp:()=>Ke,Lv:()=>qe});var p=L(975),N=L(813),ae=L(46),he=L(922);function pe(){}const Q=de("C",void 0,void 0);function de(ge,X,Ce){return{kind:ge,value:X,error:Ce}}var ie=L(146),fe=L(519);class qe extends N.w0{constructor(X){super(),this.isStopped=!1,X?(this.destination=X,(0,N.Nn)(X)&&X.add(this)):this.destination=ne}static create(X,Ce,W){return new Ke(X,Ce,W)}next(X){this.isStopped?oe(de("N",X,void 0),this):this._next(X)}error(X){this.isStopped?oe(de("E",void 0,X),this):(this.isStopped=!0,this._error(X))}complete(){this.isStopped?oe(Q,this):(this.isStopped=!0,this._complete())}unsubscribe(){this.closed||(this.isStopped=!0,super.unsubscribe(),this.destination=null)}_next(X){this.destination.next(X)}_error(X){try{this.destination.error(X)}finally{this.unsubscribe()}}_complete(){try{this.destination.complete()}finally{this.unsubscribe()}}}class Ke extends qe{constructor(X,Ce,W){let $;if(super(),(0,p.m)(X))$=X;else if(X){let we;({next:$,error:Ce,complete:W}=X),this&&ae.v.useDeprecatedNextContext?(we=Object.create(X),we.unsubscribe=()=>this.unsubscribe()):we=X,$=null==$?void 0:$.bind(we),Ce=null==Ce?void 0:Ce.bind(we),W=null==W?void 0:W.bind(we)}this.destination={next:$?me($):pe,error:me(null!=Ce?Ce:J),complete:W?me(W):pe}}}function me(ge,X){return(...Ce)=>{try{ge(...Ce)}catch(W){ae.v.useDeprecatedSynchronousErrorHandling?(0,fe.O)(W):(0,he.h)(W)}}}function J(ge){throw ge}function oe(ge,X){const{onStoppedNotification:Ce}=ae.v;Ce&&ie.z.setTimeout(()=>Ce(ge,X))}const ne={closed:!0,next:pe,error:J,complete:pe}},813:(We,ce,L)=>{"use strict";L.d(ce,{Lc:()=>Q,w0:()=>pe,Nn:()=>Ee});var p=L(975);const ae=(0,L(776).d)(de=>function(fe){de(this),this.message=fe?`${fe.length} errors occurred during unsubscription:\n${fe.map((qe,Ke)=>`${Ke+1}) ${qe.toString()}`).join("\n ")}`:"",this.name="UnsubscriptionError",this.errors=fe});var he=L(308);class pe{constructor(ie){this.initialTeardown=ie,this.closed=!1,this._parentage=null,this._teardowns=null}unsubscribe(){let ie;if(!this.closed){this.closed=!0;const{_parentage:fe}=this;if(fe)if(this._parentage=null,Array.isArray(fe))for(const me of fe)me.remove(this);else fe.remove(this);const{initialTeardown:qe}=this;if((0,p.m)(qe))try{qe()}catch(me){ie=me instanceof ae?me.errors:[me]}const{_teardowns:Ke}=this;if(Ke){this._teardowns=null;for(const me of Ke)try{V(me)}catch(J){ie=null!=ie?ie:[],J instanceof ae?ie=[...ie,...J.errors]:ie.push(J)}}if(ie)throw new ae(ie)}}add(ie){var fe;if(ie&&ie!==this)if(this.closed)V(ie);else{if(ie instanceof pe){if(ie.closed||ie._hasParent(this))return;ie._addParent(this)}(this._teardowns=null!==(fe=this._teardowns)&&void 0!==fe?fe:[]).push(ie)}}_hasParent(ie){const{_parentage:fe}=this;return fe===ie||Array.isArray(fe)&&fe.includes(ie)}_addParent(ie){const{_parentage:fe}=this;this._parentage=Array.isArray(fe)?(fe.push(ie),fe):fe?[fe,ie]:ie}_removeParent(ie){const{_parentage:fe}=this;fe===ie?this._parentage=null:Array.isArray(fe)&&(0,he.P)(fe,ie)}remove(ie){const{_teardowns:fe}=this;fe&&(0,he.P)(fe,ie),ie instanceof pe&&ie._removeParent(this)}}pe.EMPTY=(()=>{const de=new pe;return de.closed=!0,de})();const Q=pe.EMPTY;function Ee(de){return de instanceof pe||de&&"closed"in de&&(0,p.m)(de.remove)&&(0,p.m)(de.add)&&(0,p.m)(de.unsubscribe)}function V(de){(0,p.m)(de)?de():de.unsubscribe()}},46:(We,ce,L)=>{"use strict";L.d(ce,{v:()=>p});const p={onUnhandledError:null,onStoppedNotification:null,Promise:void 0,useDeprecatedSynchronousErrorHandling:!1,useDeprecatedNextContext:!1}},985:(We,ce,L)=>{"use strict";L.d(ce,{D:()=>ot});var p=L(955),N=L(903),ae=L(85),he=L(499);function pe(Re,He=0){return(0,ae.e)((H,U)=>{H.subscribe(new he.Q(U,j=>(0,N.f)(U,Re,()=>U.next(j),He),()=>(0,N.f)(U,Re,()=>U.complete(),He),j=>(0,N.f)(U,Re,()=>U.error(j),He)))})}function Q(Re,He=0){return(0,ae.e)((H,U)=>{U.add(Re.schedule(()=>H.subscribe(U),He))})}var de=L(818),fe=L(565),qe=L(975);function me(Re,He){if(!Re)throw new Error("Iterable cannot be null");return new de.y(H=>{(0,N.f)(H,He,()=>{const U=Re[Symbol.asyncIterator]();(0,N.f)(H,He,()=>{U.next().then(j=>{j.done?H.complete():H.next(j.value)})},0,!0)})})}var J=L(21),oe=L(450),ne=L(602),ge=L(920),X=L(604),Ce=L(626),W=L(559);function ot(Re,He){return He?function(Re,He){if(null!=Re){if((0,J.c)(Re))return function(Re,He){return(0,p.Xf)(Re).pipe(Q(He),pe(He))}(Re,He);if((0,ne.z)(Re))return function(Re,He){return new de.y(H=>{let U=0;return He.schedule(function(){U===Re.length?H.complete():(H.next(Re[U++]),H.closed||this.schedule())})})}(Re,He);if((0,oe.t)(Re))return function(Re,He){return(0,p.Xf)(Re).pipe(Q(He),pe(He))}(Re,He);if((0,X.D)(Re))return me(Re,He);if((0,ge.T)(Re))return function(Re,He){return new de.y(H=>{let U;return(0,N.f)(H,He,()=>{U=Re[fe.h](),(0,N.f)(H,He,()=>{let j,K;try{({value:j,done:K}=U.next())}catch(z){return void H.error(z)}K?H.complete():H.next(j)},0,!0)}),()=>(0,qe.m)(null==U?void 0:U.return)&&U.return()})}(Re,He);if((0,W.L)(Re))return function(Re,He){return me((0,W.Q)(Re),He)}(Re,He)}throw(0,Ce.z)(Re)}(Re,He):(0,p.Xf)(Re)}},955:(We,ce,L)=>{"use strict";L.d(ce,{Xf:()=>Ke});var p=L(762),N=L(602),ae=L(450),he=L(818),pe=L(21),Q=L(604),Ee=L(626),V=L(920),de=L(559),ie=L(975),fe=L(922),qe=L(122);function Ke(W){if(W instanceof he.y)return W;if(null!=W){if((0,pe.c)(W))return function(W){return new he.y($=>{const we=W[qe.L]();if((0,ie.m)(we.subscribe))return we.subscribe($);throw new TypeError("Provided object does not correctly implement Symbol.observable")})}(W);if((0,N.z)(W))return function(W){return new he.y($=>{for(let we=0;we<W.length&&!$.closed;we++)$.next(W[we]);$.complete()})}(W);if((0,ae.t)(W))return function(W){return new he.y($=>{W.then(we=>{$.closed||($.next(we),$.complete())},we=>$.error(we)).then(null,fe.h)})}(W);if((0,Q.D)(W))return ge(W);if((0,V.T)(W))return function(W){return new he.y($=>{for(const we of W)if($.next(we),$.closed)return;$.complete()})}(W);if((0,de.L)(W))return function(W){return ge((0,de.Q)(W))}(W)}throw(0,Ee.z)(W)}function ge(W){return new he.y($=>{(function(W,$){var we,ot,Re,He;return(0,p.mG)(this,void 0,void 0,function*(){try{for(we=(0,p.KL)(W);!(ot=yield we.next()).done;)if($.next(ot.value),$.closed)return}catch(H){Re={error:H}}finally{try{ot&&!ot.done&&(He=we.return)&&(yield He.call(we))}finally{if(Re)throw Re.error}}$.complete()})})(W,$).catch(we=>$.error(we))})}},499:(We,ce,L)=>{"use strict";L.d(ce,{Q:()=>N});var p=L(3);class N extends p.Lv{constructor(he,pe,Q,Ee,V){super(he),this.onFinalize=V,this._next=pe?function(de){try{pe(de)}catch(ie){he.error(ie)}}:super._next,this._error=Ee?function(de){try{Ee(de)}catch(ie){he.error(ie)}finally{this.unsubscribe()}}:super._error,this._complete=Q?function(){try{Q()}catch(de){he.error(de)}finally{this.unsubscribe()}}:super._complete}unsubscribe(){var he;const{closed:pe}=this;super.unsubscribe(),!pe&&(null===(he=this.onFinalize)||void 0===he||he.call(this))}}},969:(We,ce,L)=>{"use strict";L.d(ce,{U:()=>ae});var p=L(85),N=L(499);function ae(he,pe){return(0,p.e)((Q,Ee)=>{let V=0;Q.subscribe(new N.Q(Ee,de=>{Ee.next(he.call(pe,de,V++))}))})}},146:(We,ce,L)=>{"use strict";L.d(ce,{z:()=>p});const p={setTimeout(...N){const{delegate:ae}=p;return((null==ae?void 0:ae.setTimeout)||setTimeout)(...N)},clearTimeout(N){const{delegate:ae}=p;return((null==ae?void 0:ae.clearTimeout)||clearTimeout)(N)},delegate:void 0}},565:(We,ce,L)=>{"use strict";L.d(ce,{h:()=>N});const N="function"==typeof Symbol&&Symbol.iterator?Symbol.iterator:"@@iterator"},122:(We,ce,L)=>{"use strict";L.d(ce,{L:()=>p});const p="function"==typeof Symbol&&Symbol.observable||"@@observable"},635:(We,ce,L)=>{"use strict";L.d(ce,{_6:()=>Q,jO:()=>he,yG:()=>pe});var p=L(975);function ae(Ee){return Ee[Ee.length-1]}function he(Ee){return(0,p.m)(ae(Ee))?Ee.pop():void 0}function pe(Ee){return function(Ee){return Ee&&(0,p.m)(Ee.schedule)}(ae(Ee))?Ee.pop():void 0}function Q(Ee,V){return"number"==typeof ae(Ee)?Ee.pop():V}},308:(We,ce,L)=>{"use strict";function p(N,ae){if(N){const he=N.indexOf(ae);0<=he&&N.splice(he,1)}}L.d(ce,{P:()=>p})},776:(We,ce,L)=>{"use strict";function p(N){const he=N(pe=>{Error.call(pe),pe.stack=(new Error).stack});return he.prototype=Object.create(Error.prototype),he.prototype.constructor=he,he}L.d(ce,{d:()=>p})},519:(We,ce,L)=>{"use strict";L.d(ce,{x:()=>ae,O:()=>he});var p=L(46);let N=null;function ae(pe){if(p.v.useDeprecatedSynchronousErrorHandling){const Q=!N;if(Q&&(N={errorThrown:!1,error:null}),pe(),Q){const{errorThrown:Ee,error:V}=N;if(N=null,Ee)throw V}}else pe()}function he(pe){p.v.useDeprecatedSynchronousErrorHandling&&N&&(N.errorThrown=!0,N.error=pe)}},903:(We,ce,L)=>{"use strict";function p(N,ae,he,pe=0,Q=!1){const Ee=ae.schedule(function(){he(),Q?N.add(this.schedule(null,pe)):this.unsubscribe()},pe);if(N.add(Ee),!Q)return Ee}L.d(ce,{f:()=>p})},330:(We,ce,L)=>{"use strict";function p(N){return N}L.d(ce,{y:()=>p})},602:(We,ce,L)=>{"use strict";L.d(ce,{z:()=>p});const p=N=>N&&"number"==typeof N.length&&"function"!=typeof N},604:(We,ce,L)=>{"use strict";L.d(ce,{D:()=>N});var p=L(975);function N(ae){return Symbol.asyncIterator&&(0,p.m)(null==ae?void 0:ae[Symbol.asyncIterator])}},975:(We,ce,L)=>{"use strict";function p(N){return"function"==typeof N}L.d(ce,{m:()=>p})},21:(We,ce,L)=>{"use strict";L.d(ce,{c:()=>ae});var p=L(122),N=L(975);function ae(he){return(0,N.m)(he[p.L])}},920:(We,ce,L)=>{"use strict";L.d(ce,{T:()=>ae});var p=L(565),N=L(975);function ae(he){return(0,N.m)(null==he?void 0:he[p.h])}},450:(We,ce,L)=>{"use strict";L.d(ce,{t:()=>N});var p=L(975);function N(ae){return(0,p.m)(null==ae?void 0:ae.then)}},559:(We,ce,L)=>{"use strict";L.d(ce,{Q:()=>ae,L:()=>he});var p=L(762),N=L(975);function ae(pe){return(0,p.FC)(this,arguments,function*(){const Ee=pe.getReader();try{for(;;){const{value:V,done:de}=yield(0,p.qq)(Ee.read());if(de)return yield(0,p.qq)(void 0);yield yield(0,p.qq)(V)}}finally{Ee.releaseLock()}})}function he(pe){return(0,N.m)(null==pe?void 0:pe.getReader)}},85:(We,ce,L)=>{"use strict";L.d(ce,{e:()=>ae});var p=L(975);function ae(he){return pe=>{if(function(he){return(0,p.m)(null==he?void 0:he.lift)}(pe))return pe.lift(function(Q){try{return he(Q,this)}catch(Ee){this.error(Ee)}});throw new TypeError("Unable to lift unknown Observable type")}}},922:(We,ce,L)=>{"use strict";L.d(ce,{h:()=>ae});var p=L(46),N=L(146);function ae(he){N.z.setTimeout(()=>{const{onUnhandledError:pe}=p.v;if(!pe)throw he;pe(he)})}},626:(We,ce,L)=>{"use strict";function p(N){return new TypeError(`You provided ${null!==N&&"object"==typeof N?"an invalid object":`'${N}'`} where a stream was expected. You can provide an Observable, Promise, ReadableStream, Array, AsyncIterable, or Iterable.`)}L.d(ce,{z:()=>p})},506:function(We,ce,L){"use strict";var p=L(52).default,N=this&&this.__createBinding||(Object.create?function(me,J,oe,ne){void 0===ne&&(ne=oe),Object.defineProperty(me,ne,{enumerable:!0,get:function(){return J[oe]}})}:function(me,J,oe,ne){void 0===ne&&(ne=oe),me[ne]=J[oe]}),ae=this&&this.__setModuleDefault||(Object.create?function(me,J){Object.defineProperty(me,"default",{enumerable:!0,value:J})}:function(me,J){me.default=J}),he=this&&this.__importStar||function(me){if(me&&me.__esModule)return me;var J={};if(null!=me)for(var oe in me)"default"!==oe&&Object.prototype.hasOwnProperty.call(me,oe)&&N(J,me,oe);return ae(J,me),J};Object.defineProperty(ce,"__esModule",{value:!0}),ce.AppComponent=void 0;const pe=L(19);L(852);const Q=he(L(999)),Ee=he(L(48)),V=he(L(32));function de(me,J){if(1&me){const oe=Q.\u0275\u0275getCurrentView();Q.\u0275\u0275elementStart(0,"div",3),Q.\u0275\u0275elementStart(1,"app-login",4),Q.\u0275\u0275listener("authEvent",function(ge){return Q.\u0275\u0275restoreView(oe),Q.\u0275\u0275nextContext().setAuthenticated(ge)}),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementEnd()}2&me&&Q.\u0275\u0275property("@opacity",void 0)}function ie(me,J){1&me&&(Q.\u0275\u0275elementStart(0,"span"),Q.\u0275\u0275text(1,"Field Test Mode"),Q.\u0275\u0275elementEnd())}function fe(me,J){if(1&me){const oe=Q.\u0275\u0275getCurrentView();Q.\u0275\u0275elementStart(0,"div",7),Q.\u0275\u0275elementStart(1,"div",8),Q.\u0275\u0275elementStart(2,"div",9),Q.\u0275\u0275elementStart(3,"div",10),Q.\u0275\u0275template(4,ie,2,0,"span",2),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementStart(5,"div",11),Q.\u0275\u0275elementStart(6,"p",12),Q.\u0275\u0275text(7),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementStart(8,"p",13),Q.\u0275\u0275text(9),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementStart(10,"div",14),Q.\u0275\u0275element(11,"img",15),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementStart(12,"div",14),Q.\u0275\u0275elementStart(13,"button",16),Q.\u0275\u0275listener("click",function(){return Q.\u0275\u0275restoreView(oe),Q.\u0275\u0275nextContext(2).signout()}),Q.\u0275\u0275element(14,"i",17),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementEnd()}if(2&me){const oe=Q.\u0275\u0275nextContext(2);Q.\u0275\u0275property("@opacity",void 0),Q.\u0275\u0275advance(4),Q.\u0275\u0275property("ngIf",oe.ft),Q.\u0275\u0275advance(3),Q.\u0275\u0275textInterpolate(oe.profile.name),Q.\u0275\u0275advance(2),Q.\u0275\u0275textInterpolate(oe.profile.email),Q.\u0275\u0275advance(2),Q.\u0275\u0275propertyInterpolate("src",oe.profile.img,Q.\u0275\u0275sanitizeUrl)}}function qe(me,J){if(1&me&&(Q.\u0275\u0275elementStart(0,"div"),Q.\u0275\u0275elementStart(1,"div",5),Q.\u0275\u0275template(2,fe,15,5,"div",6),Q.\u0275\u0275elementEnd(),Q.\u0275\u0275elementEnd()),2&me){const oe=Q.\u0275\u0275nextContext();Q.\u0275\u0275advance(2),Q.\u0275\u0275property("ngIf",oe.initialized)}}class Ke{constructor(){var J;this.title="homebridge-ui",this.authenticated=!0,this.initialized=!1,this.ft=!1,this.homebridge=window.homebridge,null===(J=this.homebridge)||void 0===J||J.showSpinner()}setAuthenticated(J){var oe=this;return p(function*(){if(oe.initialized=!1,oe.authenticated=J,J){oe.showForm();const ne=yield oe.homebridge.request("/owner");ne&&(oe.profile={name:ne.name,email:ne.email,img:ne.profile_image_url})}oe.initialized=!0})()}showForm(J){var oe=this;return p(function*(){var ne;const ge=oe;J||(J=(yield oe.homebridge.getPluginConfig())[0]);let X=(yield oe.homebridge.getPluginConfigSchema()).schema;if(X){X=yield oe.modifySchema(X);for(const Ce in Object.keys(J))X[Ce]||delete J[Ce];oe.form=oe.homebridge.createForm({schema:X},J),null===(ne=oe.homebridge)||void 0===ne||ne.hideSpinner(),oe.form.onChange(function(){var Ce=p(function*(W){yield ge.homebridge.updatePluginConfig([W])});return function(W){return Ce.apply(this,arguments)}}())}})()}signout(){var J=this;return p(function*(){var oe;J.authenticated=!1,null===(oe=J.form)||void 0===oe||oe.end();const ne=(yield J.homebridge.getPluginConfig())[0];ne&&(ne.refreshToken="",yield self.homebridge.updatePluginConfig([ne]),yield J.homebridge.savePluginConfig()),yield J.homebridge.request("/logout")})()}ngOnInit(){var J=this;return p(function*(){var oe,ne,ge,X;if(!J.homebridge)return;const Ce=(yield J.homebridge.getPluginConfig())[0];if(!Ce)return J.authenticated=!1,void(null===(oe=J.homebridge)||void 0===oe||oe.hideSpinner());const W=Ce.refreshToken;if(J.ft=(null===(ne=Ce.options)||void 0===ne?void 0:ne.fieldTest)||!1,W)if(J.authenticated=yield J.homebridge.request("/auth",{refreshToken:W,ft:J.ft}),J.authenticated){J.showForm();const $=yield J.homebridge.request("/owner");$&&(J.profile={name:$.name,email:$.email,img:$.profile_image_url})}else null===(ge=J.homebridge)||void 0===ge||ge.hideSpinner();else J.authenticated=!1,null===(X=J.homebridge)||void 0===X||X.hideSpinner();J.initialized=!0})()}modifySchema(J){var oe=this;return p(function*(){const ne=yield oe.homebridge.request("/cameras");if(ne&&ne.length>0&&J&&J.options&&J.options.properties){const ge=ne.some(W=>W.capabilities.includes("indoor_chime")),X=ne.some(W=>W.capabilities.includes("detectors.on_camera")),Ce=ne.some(W=>W.capabilities.includes("stranger_detection"));if(ge||(delete J.options.properties.doorbellAlerts,delete J.options.properties.doorbellSwitch,delete J.options.properties.chimeSwitch),X||(delete J.options.properties.alertCheckRate,delete J.options.properties.alertCooldownRate,delete J.options.properties.alertTypes,delete J.options.properties.importantOnly,delete J.options.properties.motionDetection),!Ce&&J.options.properties.alertTypes&&J.options.properties.alertTypes.items&&(J.options.properties.alertTypes.items.oneOf=J.options.properties.alertTypes.items.oneOf.filter($=>{const we=$.title;return"Package Retrieved"!==we&&"Package Delivered"!==we&&"Face"!==we})),Ce&&J.options.properties.alertTypes&&J.options.properties.alertTypes.items){const W=yield oe.homebridge.request("/faces"),$=J.options.properties.alertTypes.items.oneOf;$.push({title:"Face - Unknown",enum:["Face - Unknown"]}),J.options.properties.alertTypes.items.oneOf=$.concat(null==W?void 0:W.filter(we=>we.name).map(we=>({title:`Face - ${we.name}`,enum:[`Face - ${we.name}`]}))).filter(we=>"Face"!==we.title)}if(J.options.properties.alertTypes&&J.options.properties.alertTypes.items){const W=yield oe.homebridge.request("/zones");J.options.properties.alertTypes.items.oneOf=J.options.properties.alertTypes.items.oneOf.concat(null==W?void 0:W.filter(we=>we.label).map(we=>({title:`Zone - ${we.label}`,enum:[`Zone - ${we.label}`]}))).filter(we=>"Zone"!==we.title)}if(J.options.properties.structures&&J.options.properties.structures.items){const W=yield oe.homebridge.request("/structures");W&&W.length>1?J.options.properties.structures.items.oneOf=W:delete J.options.properties.structures}J.options.properties.cameras&&J.options.properties.cameras.items&&(ne.length>1?J.options.properties.cameras.items.oneOf=ne.map(W=>({title:W.name,enum:[W.uuid]})):delete J.options.properties.cameras)}return J})()}}ce.AppComponent=Ke,Ke.\u0275fac=function(J){return new(J||Ke)},Ke.\u0275cmp=Q.\u0275\u0275defineComponent({type:Ke,selectors:[["app-root"]],decls:3,vars:2,consts:[[1,"content","hb-plugin-settings-modal"],["class","card card-body",4,"ngIf"],[4,"ngIf"],[1,"card","card-body"],[3,"authEvent"],[2,"height","44px"],["class","container-fluid overflow-hidden",4,"ngIf"],[1,"container-fluid","overflow-hidden"],[1,"profile-container"],[1,"row"],[1,"col-md"],[1,"col-md","text-right"],[1,"profile-name","m-0"],[1,"profile-email","m-0"],[1,"col-md-1","text-right"],["width","36","height","36",1,"profile-img",3,"src"],[1,"btn","btn-danger","m-0",3,"click"],[1,"fas","fa-sign-out-alt"]],template:function(J,oe){1&J&&(Q.\u0275\u0275elementStart(0,"div",0),Q.\u0275\u0275template(1,de,2,1,"div",1),Q.\u0275\u0275template(2,qe,3,1,"div",2),Q.\u0275\u0275elementEnd()),2&J&&(Q.\u0275\u0275advance(1),Q.\u0275\u0275property("ngIf",!oe.authenticated),Q.\u0275\u0275advance(1),Q.\u0275\u0275property("ngIf",oe.authenticated))},directives:[Ee.NgIf,V.LoginComponent],styles:[".profile-img[_ngcontent-%COMP%]{border-radius:18px}.profile-name[_ngcontent-%COMP%]{font-weight:bolder}.profile-email[_ngcontent-%COMP%]{font-size:small}"],data:{animation:[(0,pe.trigger)("profileTrigger",[(0,pe.transition)(":enter",[(0,pe.style)({height:0,opacity:0}),(0,pe.animate)("200ms",(0,pe.style)({height:43,opacity:1}))]),(0,pe.transition)(":leave",[(0,pe.animate)("200ms",(0,pe.style)({height:0,opacity:0}))])]),(0,pe.trigger)("opacity",[(0,pe.transition)(":enter",[(0,pe.style)({opacity:0}),(0,pe.animate)("200ms",(0,pe.style)({opacity:1}))])])]}})},175:function(We,ce,L){"use strict";var p=this&&this.__createBinding||(Object.create?function(ie,fe,qe,Ke){void 0===Ke&&(Ke=qe),Object.defineProperty(ie,Ke,{enumerable:!0,get:function(){return fe[qe]}})}:function(ie,fe,qe,Ke){void 0===Ke&&(Ke=qe),ie[Ke]=fe[qe]}),N=this&&this.__setModuleDefault||(Object.create?function(ie,fe){Object.defineProperty(ie,"default",{enumerable:!0,value:fe})}:function(ie,fe){ie.default=fe}),ae=this&&this.__importStar||function(ie){if(ie&&ie.__esModule)return ie;var fe={};if(null!=ie)for(var qe in ie)"default"!==qe&&Object.prototype.hasOwnProperty.call(ie,qe)&&p(fe,ie,qe);return N(fe,ie),fe};Object.defineProperty(ce,"__esModule",{value:!0}),ce.AppModule=void 0;const he=L(800),pe=L(562),Q=L(278),Ee=L(506),V=ae(L(999));class de{}ce.AppModule=de,de.\u0275fac=function(fe){return new(fe||de)},de.\u0275mod=V.\u0275\u0275defineNgModule({type:de,bootstrap:[Ee.AppComponent]}),de.\u0275inj=V.\u0275\u0275defineInjector({providers:[],imports:[[he.BrowserModule,pe.FormsModule,pe.ReactiveFormsModule,Q.BrowserAnimationsModule]]})},32:function(We,ce,L){"use strict";var p=L(52).default,N=this&&this.__createBinding||(Object.create?function(ne,ge,X,Ce){void 0===Ce&&(Ce=X),Object.defineProperty(ne,Ce,{enumerable:!0,get:function(){return ge[X]}})}:function(ne,ge,X,Ce){void 0===Ce&&(Ce=X),ne[Ce]=ge[X]}),ae=this&&this.__setModuleDefault||(Object.create?function(ne,ge){Object.defineProperty(ne,"default",{enumerable:!0,value:ge})}:function(ne,ge){ne.default=ge}),he=this&&this.__importStar||function(ne){if(ne&&ne.__esModule)return ne;var ge={};if(null!=ne)for(var X in ne)"default"!==X&&Object.prototype.hasOwnProperty.call(ne,X)&&N(ge,ne,X);return ae(ge,ne),ge};Object.defineProperty(ce,"__esModule",{value:!0}),ce.LoginComponent=void 0;const pe=L(999),Q=L(19),Ee=L(562);L(852);const V=he(L(999)),de=he(L(48)),ie=he(L(562)),fe=he(L(809));function qe(ne,ge){if(1&ne){const X=V.\u0275\u0275getCurrentView();V.\u0275\u0275elementStart(0,"div"),V.\u0275\u0275elementStart(1,"div"),V.\u0275\u0275elementStart(2,"ol"),V.\u0275\u0275elementStart(3,"li"),V.\u0275\u0275text(4,"Click "),V.\u0275\u0275elementStart(5,"a",3),V.\u0275\u0275text(6,"HERE"),V.\u0275\u0275elementEnd(),V.\u0275\u0275text(7," to open the Nest login page."),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementStart(8,"li"),V.\u0275\u0275text(9,"Copy and paste the code below: "),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementStart(10,"div",4),V.\u0275\u0275elementStart(11,"div",5),V.\u0275\u0275elementStart(12,"label",6),V.\u0275\u0275text(13,"Code "),V.\u0275\u0275elementStart(14,"strong",7),V.\u0275\u0275text(15,"*"),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementEnd(),V.\u0275\u0275element(16,"input",8),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementStart(17,"div",9),V.\u0275\u0275elementStart(18,"button",10),V.\u0275\u0275listener("click",function(){return V.\u0275\u0275restoreView(X),V.\u0275\u0275nextContext().doLogin()}),V.\u0275\u0275text(19,"Log In"),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementEnd()}if(2&ne){const X=V.\u0275\u0275nextContext();V.\u0275\u0275property("@opacity",void 0),V.\u0275\u0275advance(5),V.\u0275\u0275propertyInterpolate("href",X.url,V.\u0275\u0275sanitizeUrl),V.\u0275\u0275advance(5),V.\u0275\u0275property("formGroup",X.form),V.\u0275\u0275advance(8),V.\u0275\u0275property("disabled",!(null!=X.form&&X.form.valid))}}function Ke(ne,ge){if(1&ne){const X=V.\u0275\u0275getCurrentView();V.\u0275\u0275elementStart(0,"div"),V.\u0275\u0275elementStart(1,"div",9),V.\u0275\u0275element(2,"progress-bar",11),V.\u0275\u0275elementStart(3,"div"),V.\u0275\u0275elementStart(4,"p"),V.\u0275\u0275text(5,"Loggin in. Please wait..."),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementStart(6,"p",7),V.\u0275\u0275text(7),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementStart(8,"button",12),V.\u0275\u0275listener("click",function(){return V.\u0275\u0275restoreView(X),V.\u0275\u0275nextContext().restart()}),V.\u0275\u0275text(9,"Restart "),V.\u0275\u0275element(10,"i",13),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementEnd(),V.\u0275\u0275elementEnd()}if(2&ne){const X=V.\u0275\u0275nextContext();V.\u0275\u0275property("@opacity",void 0),V.\u0275\u0275advance(2),V.\u0275\u0275property("progress",X.progress)("color",X.color),V.\u0275\u0275advance(5),V.\u0275\u0275textInterpolate(X.errMsg)}}class oe{constructor(){var X,Ce,ge=this;this.waiting=!1,this.url="",this.progress=0,this.color="blue",this.homebridge=window.homebridge,this.errMsg="",this.authEvent=new pe.EventEmitter,null===(X=this.homebridge)||void 0===X||X.addEventListener("error",W=>{this.errMsg=W.data,this.color="red"}),null===(Ce=this.homebridge)||void 0===Ce||Ce.addEventListener("credentials",function(){var W=p(function*($){yield ge.checkAuthentication($.data)});return function($){return W.apply(this,arguments)}}()),this.generateForm()}resetLoginUI(){this.waiting=!0,this.color="blue",this.progress=0,this.errMsg=""}generateForm(){this.form=new Ee.FormGroup({code:new Ee.FormControl("",[Ee.Validators.required,("/",ge=>ge.value.includes("/")?null:{contains:{value:ge.value}})])})}ngOnInit(){var ge=this;return p(function*(){var X;const W=null===(X=((yield ge.homebridge.getPluginConfig())[0]||{}).options)||void 0===X?void 0:X.fieldTest;ge.url=yield ge.homebridge.request("/generateToken",{ft:W})})()}checkAuthentication(ge){var X=this;return p(function*(){var Ce;const W=(yield X.homebridge.getPluginConfig())[0]||{};(yield X.homebridge.request("/auth",{refreshToken:ge,ft:null===(Ce=W.options)||void 0===Ce?void 0:Ce.fieldTest}))?(X.progress=100,X.color="green",yield(500,new Promise(ge=>setTimeout(ge,500))),W.refreshToken=ge,yield X.homebridge.updatePluginConfig([W]),yield X.homebridge.savePluginConfig(),X.authEvent.emit(!0),X.waiting=!1,X.homebridge.showSpinner()):(X.errMsg="Unable to authenticate via the provided refresh token",X.color="red")})()}doLogin(){var ge=this;return p(function*(){var X,Ce;ge.resetLoginUI();const $=null===(X=((yield ge.homebridge.getPluginConfig())[0]||{}).options)||void 0===X?void 0:X.fieldTest,we=null===(Ce=ge.form)||void 0===Ce?void 0:Ce.controls.code.value,ot=yield ge.homebridge.request("/getRefreshToken",{code:we,ft:$});ot&&(yield ge.checkAuthentication(ot))})()}restart(){var ge=this;return p(function*(){ge.waiting=!1})()}}ce.LoginComponent=oe,oe.\u0275fac=function(ge){return new(ge||oe)},oe.\u0275cmp=V.\u0275\u0275defineComponent({type:oe,selectors:[["app-login"]],outputs:{authEvent:"authEvent"},decls:9,vars:2,consts:[[1,"help-block"],["href","https://github.com/Brandawg93/homebridge-nest-cam/wiki/Manual-Authentication","target","_blank"],[4,"ngIf"],["target","_blank","rel","noopener noreferrer",3,"href"],[3,"formGroup"],[1,"schema-form-text","form-group"],[1,"control-label"],[1,"text-danger"],["type","text","formControlName","code",1,"form-control"],[1,"text-center"],["type","button",1,"btn","btn-primary",3,"disabled","click"],[3,"progress","color"],[1,"btn","btn-danger",3,"click"],[1,"fas","fa-undo-alt"]],template:function(ge,X){1&ge&&(V.\u0275\u0275elementStart(0,"p",0),V.\u0275\u0275elementStart(1,"strong"),V.\u0275\u0275text(2,"Note: "),V.\u0275\u0275elementEnd(),V.\u0275\u0275text(3,"This UI only works with Google accounts. Please close this page and set up your config.json manually. Instruction can be found on the "),V.\u0275\u0275elementStart(4,"a",1),V.\u0275\u0275text(5,"wiki"),V.\u0275\u0275elementEnd(),V.\u0275\u0275text(6,"."),V.\u0275\u0275elementEnd(),V.\u0275\u0275template(7,qe,20,4,"div",2),V.\u0275\u0275template(8,Ke,11,4,"div",2)),2&ge&&(V.\u0275\u0275advance(7),V.\u0275\u0275property("ngIf",!X.waiting),V.\u0275\u0275advance(1),V.\u0275\u0275property("ngIf",X.waiting))},directives:[de.NgIf,ie.NgControlStatusGroup,ie.FormGroupDirective,ie.DefaultValueAccessor,ie.NgControlStatus,ie.FormControlName,fe.ProgressBarComponent],styles:[""],data:{animation:[(0,Q.trigger)("opacity",[(0,Q.transition)(":enter",[(0,Q.style)({opacity:0}),(0,Q.animate)("200ms",(0,Q.style)({opacity:1}))])])]}})},809:function(We,ce,L){"use strict";var p=this&&this.__createBinding||(Object.create?function(V,de,ie,fe){void 0===fe&&(fe=ie),Object.defineProperty(V,fe,{enumerable:!0,get:function(){return de[ie]}})}:function(V,de,ie,fe){void 0===fe&&(fe=ie),V[fe]=de[ie]}),N=this&&this.__setModuleDefault||(Object.create?function(V,de){Object.defineProperty(V,"default",{enumerable:!0,value:de})}:function(V,de){V.default=de}),ae=this&&this.__importStar||function(V){if(V&&V.__esModule)return V;var de={};if(null!=V)for(var ie in V)"default"!==ie&&Object.prototype.hasOwnProperty.call(V,ie)&&p(de,V,ie);return N(de,V),de};Object.defineProperty(ce,"__esModule",{value:!0}),ce.ProgressBarComponent=void 0;const he=ae(L(999)),pe=ae(L(48)),Q=function(V){return{width:V}};class Ee{constructor(){this.color="blue",0===this.total?this.total=this.progress:this.total||(this.total=100),this.progress&&this.total&&(this.progress>this.total&&(this.progress=100,this.total=100),this.progress=this.progress/this.total*100)}}ce.ProgressBarComponent=Ee,Ee.\u0275fac=function(de){return new(de||Ee)},Ee.\u0275cmp=he.\u0275\u0275defineComponent({type:Ee,selectors:[["progress-bar"]],inputs:{progress:"progress",total:"total",color:"color"},decls:2,vars:6,consts:[[1,"progress-bar-container"],[3,"ngStyle"]],template:function(de,ie){1&de&&(he.\u0275\u0275elementStart(0,"div",0),he.\u0275\u0275element(1,"div",1),he.\u0275\u0275elementEnd()),2&de&&(he.\u0275\u0275advance(1),he.\u0275\u0275classMapInterpolate1("progress-bar ",ie.color,""),he.\u0275\u0275property("ngStyle",he.\u0275\u0275pureFunction1(4,Q,ie.progress+"%")))},directives:[pe.NgStyle],styles:[".progress-bar-container[_ngcontent-%COMP%]{background-color:#eee;border-radius:3px}.progress-bar[_ngcontent-%COMP%]{height:6px;width:0;border-radius:3px}.progress-bar.green[_ngcontent-%COMP%]{background-color:green}.progress-bar.blue[_ngcontent-%COMP%]{background-color:#00f}.progress-bar.red[_ngcontent-%COMP%]{background-color:red}"]})},496:(We,ce)=>{"use strict";Object.defineProperty(ce,"__esModule",{value:!0}),ce.environment=void 0,ce.environment={production:!0}},835:function(We,ce,L){"use strict";var p=this&&this.__createBinding||(Object.create?function(V,de,ie,fe){void 0===fe&&(fe=ie),Object.defineProperty(V,fe,{enumerable:!0,get:function(){return de[ie]}})}:function(V,de,ie,fe){void 0===fe&&(fe=ie),V[fe]=de[ie]}),N=this&&this.__setModuleDefault||(Object.create?function(V,de){Object.defineProperty(V,"default",{enumerable:!0,value:de})}:function(V,de){V.default=de}),ae=this&&this.__importStar||function(V){if(V&&V.__esModule)return V;var de={};if(null!=V)for(var ie in V)"default"!==ie&&Object.prototype.hasOwnProperty.call(V,ie)&&p(de,V,ie);return N(de,V),de};Object.defineProperty(ce,"__esModule",{value:!0});const he=ae(L(800)),pe=L(999),Q=L(175);L(496).environment.production&&(0,pe.enableProdMode)(),he.platformBrowser().bootstrapModule(Q.AppModule).catch(V=>console.error(V))},52:We=>{function ce(p,N,ae,he,pe,Q,Ee){try{var V=p[Q](Ee),de=V.value}catch(ie){return void ae(ie)}V.done?N(de):Promise.resolve(de).then(he,pe)}We.exports=function(p){return function(){var N=this,ae=arguments;return new Promise(function(he,pe){var Q=p.apply(N,ae);function Ee(de){ce(Q,he,pe,Ee,V,"next",de)}function V(de){ce(Q,he,pe,Ee,V,"throw",de)}Ee(void 0)})}},We.exports.default=We.exports,We.exports.__esModule=!0},762:(We,ce,L)=>{"use strict";function V(H,U,j,K){return new(j||(j=Promise))(function(G,Ne){function rt(St){try{$e(K.next(St))}catch(vt){Ne(vt)}}function Se(St){try{$e(K.throw(St))}catch(vt){Ne(vt)}}function $e(St){St.done?G(St.value):function(G){return G instanceof j?G:new j(function(Ne){Ne(G)})}(St.value).then(rt,Se)}$e((K=K.apply(H,U||[])).next())})}function ne(H){return this instanceof ne?(this.v=H,this):new ne(H)}function ge(H,U,j){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var z,K=j.apply(H,U||[]),G=[];return z={},Ne("next"),Ne("throw"),Ne("return"),z[Symbol.asyncIterator]=function(){return this},z;function Ne(Dt){K[Dt]&&(z[Dt]=function(on){return new Promise(function(Ie,Et){G.push([Dt,on,Ie,Et])>1||rt(Dt,on)})})}function rt(Dt,on){try{!function(Dt){Dt.value instanceof ne?Promise.resolve(Dt.value.v).then($e,St):vt(G[0][2],Dt)}(K[Dt](on))}catch(Ie){vt(G[0][3],Ie)}}function $e(Dt){rt("next",Dt)}function St(Dt){rt("throw",Dt)}function vt(Dt,on){Dt(on),G.shift(),G.length&&rt(G[0][0],G[0][1])}}function Ce(H){if(!Symbol.asyncIterator)throw new TypeError("Symbol.asyncIterator is not defined.");var j,U=H[Symbol.asyncIterator];return U?U.call(H):(H=function(H){var U="function"==typeof Symbol&&Symbol.iterator,j=U&&H[U],K=0;if(j)return j.call(H);if(H&&"number"==typeof H.length)return{next:function(){return H&&K>=H.length&&(H=void 0),{value:H&&H[K++],done:!H}}};throw new TypeError(U?"Object is not iterable.":"Symbol.iterator is not defined.")}(H),j={},K("next"),K("throw"),K("return"),j[Symbol.asyncIterator]=function(){return this},j);function K(G){j[G]=H[G]&&function(Ne){return new Promise(function(rt,Se){!function(G,Ne,rt,Se){Promise.resolve(Se).then(function($e){G({value:$e,done:rt})},Ne)}(rt,Se,(Ne=H[G](Ne)).done,Ne.value)})}}}L.d(ce,{mG:()=>V,qq:()=>ne,FC:()=>ge,KL:()=>Ce})},19:(We,ce,L)=>{"use strict";L.r(ce),L.d(ce,{AUTO_STYLE:()=>ae,AnimationBuilder:()=>p,AnimationFactory:()=>N,NoopAnimationPlayer:()=>ge,animate:()=>pe,animateChild:()=>Ke,animation:()=>qe,group:()=>Q,keyframes:()=>ie,query:()=>J,sequence:()=>Ee,stagger:()=>oe,state:()=>de,style:()=>V,transition:()=>fe,trigger:()=>he,useAnimation:()=>me,\u0275AnimationGroupPlayer:()=>X,\u0275PRE_STYLE:()=>Ce});class p{}class N{}const ae="*";function he(W,$){return{type:7,name:W,definitions:$,options:{}}}function pe(W,$=null){return{type:4,styles:$,timings:W}}function Q(W,$=null){return{type:3,steps:W,options:$}}function Ee(W,$=null){return{type:2,steps:W,options:$}}function V(W){return{type:6,styles:W,offset:null}}function de(W,$,we){return{type:0,name:W,styles:$,options:we}}function ie(W){return{type:5,steps:W}}function fe(W,$,we=null){return{type:1,expr:W,animation:$,options:we}}function qe(W,$=null){return{type:8,animation:W,options:$}}function Ke(W=null){return{type:9,options:W}}function me(W,$=null){return{type:10,animation:W,options:$}}function J(W,$,we=null){return{type:11,selector:W,animation:$,options:we}}function oe(W,$){return{type:12,timings:W,animation:$}}function ne(W){Promise.resolve(null).then(W)}class ge{constructor($=0,we=0){this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._started=!1,this._destroyed=!1,this._finished=!1,this._position=0,this.parentPlayer=null,this.totalTime=$+we}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}onStart($){this._onStartFns.push($)}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}init(){}play(){this.hasStarted()||(this._onStart(),this.triggerMicrotask()),this._started=!0}triggerMicrotask(){ne(()=>this._onFinish())}_onStart(){this._onStartFns.forEach($=>$()),this._onStartFns=[]}pause(){}restart(){}finish(){this._onFinish()}destroy(){this._destroyed||(this._destroyed=!0,this.hasStarted()||this._onStart(),this.finish(),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this._started=!1}setPosition($){this._position=this.totalTime?$*this.totalTime:1}getPosition(){return this.totalTime?this._position/this.totalTime:1}triggerCallback($){const we="start"==$?this._onStartFns:this._onDoneFns;we.forEach(ot=>ot()),we.length=0}}class X{constructor($){this._onDoneFns=[],this._onStartFns=[],this._finished=!1,this._started=!1,this._destroyed=!1,this._onDestroyFns=[],this.parentPlayer=null,this.totalTime=0,this.players=$;let we=0,ot=0,Re=0;const He=this.players.length;0==He?ne(()=>this._onFinish()):this.players.forEach(H=>{H.onDone(()=>{++we==He&&this._onFinish()}),H.onDestroy(()=>{++ot==He&&this._onDestroy()}),H.onStart(()=>{++Re==He&&this._onStart()})}),this.totalTime=this.players.reduce((H,U)=>Math.max(H,U.totalTime),0)}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach($=>$()),this._onDoneFns=[])}init(){this.players.forEach($=>$.init())}onStart($){this._onStartFns.push($)}_onStart(){this.hasStarted()||(this._started=!0,this._onStartFns.forEach($=>$()),this._onStartFns=[])}onDone($){this._onDoneFns.push($)}onDestroy($){this._onDestroyFns.push($)}hasStarted(){return this._started}play(){this.parentPlayer||this.init(),this._onStart(),this.players.forEach($=>$.play())}pause(){this.players.forEach($=>$.pause())}restart(){this.players.forEach($=>$.restart())}finish(){this._onFinish(),this.players.forEach($=>$.finish())}destroy(){this._onDestroy()}_onDestroy(){this._destroyed||(this._destroyed=!0,this._onFinish(),this.players.forEach($=>$.destroy()),this._onDestroyFns.forEach($=>$()),this._onDestroyFns=[])}reset(){this.players.forEach($=>$.reset()),this._destroyed=!1,this._finished=!1,this._started=!1}setPosition($){const we=$*this.totalTime;this.players.forEach(ot=>{const Re=ot.totalTime?Math.min(1,we/ot.totalTime):1;ot.setPosition(Re)})}getPosition(){const $=this.players.reduce((we,ot)=>null===we||ot.totalTime>we.totalTime?ot:we,null);return null!=$?$.getPosition():0}beforeDestroy(){this.players.forEach($=>{$.beforeDestroy&&$.beforeDestroy()})}triggerCallback($){const we="start"==$?this._onStartFns:this._onDoneFns;we.forEach(ot=>ot()),we.length=0}}const Ce="!"},48:(We,ce,L)=>{"use strict";L.r(ce),L.d(ce,{APP_BASE_HREF:()=>X,AsyncPipe:()=>Rn,CommonModule:()=>ks,CurrencyPipe:()=>Ar,DATE_PIPE_DEFAULT_TIMEZONE:()=>xn,DOCUMENT:()=>Ee,DatePipe:()=>an,DecimalPipe:()=>Mr,FormStyle:()=>j,FormatWidth:()=>z,HashLocationStrategy:()=>W,I18nPluralPipe:()=>bi,I18nSelectPipe:()=>Cr,JsonPipe:()=>fn,KeyValuePipe:()=>wr,LOCATION_INITIALIZED:()=>ie,Location:()=>$,LocationStrategy:()=>ne,LowerCasePipe:()=>Er,NgClass:()=>Ft,NgComponentOutlet:()=>_n,NgForOf:()=>$t,NgForOfContext:()=>Zn,NgIf:()=>qt,NgIfContext:()=>Dr,NgLocaleLocalization:()=>vr,NgLocalization:()=>Un,NgPlural:()=>ht,NgPluralCase:()=>Lt,NgStyle:()=>Yn,NgSwitch:()=>Xr,NgSwitchCase:()=>rn,NgSwitchDefault:()=>Me,NgTemplateOutlet:()=>Nt,NumberFormatStyle:()=>H,NumberSymbol:()=>G,PathLocationStrategy:()=>Ce,PercentPipe:()=>vn,PlatformLocation:()=>V,Plural:()=>U,SlicePipe:()=>Ir,TitleCasePipe:()=>Ot,TranslationWidth:()=>K,UpperCasePipe:()=>sr,VERSION:()=>Ii,ViewportScroller:()=>Qi,WeekDay:()=>Ne,XhrFactory:()=>Si,formatCurrency:()=>bn,formatDate:()=>Rr,formatNumber:()=>Lr,formatPercent:()=>yn,getCurrencySymbol:()=>Bt,getLocaleCurrencyCode:()=>Pr,getLocaleCurrencyName:()=>Wt,getLocaleCurrencySymbol:()=>wn,getLocaleDateFormat:()=>Ie,getLocaleDateTimeFormat:()=>cn,getLocaleDayNames:()=>$e,getLocaleDayPeriods:()=>Se,getLocaleDirection:()=>di,getLocaleEraNames:()=>vt,getLocaleExtraDayPeriodRules:()=>qr,getLocaleExtraDayPeriods:()=>Kn,getLocaleFirstDayOfWeek:()=>Dt,getLocaleId:()=>rt,getLocaleMonthNames:()=>St,getLocaleNumberFormat:()=>dn,getLocaleNumberSymbol:()=>bt,getLocalePluralCase:()=>Jn,getLocaleTimeFormat:()=>Et,getLocaleWeekEndRange:()=>on,getNumberOfCurrencyDigits:()=>fr,isPlatformBrowser:()=>pi,isPlatformServer:()=>Vi,isPlatformWorkerApp:()=>gi,isPlatformWorkerUi:()=>qi,registerLocaleData:()=>Vr,\u0275BrowserPlatformLocation:()=>fe,\u0275DomAdapter:()=>Q,\u0275NullViewportScroller:()=>yi,\u0275PLATFORM_BROWSER_ID:()=>ti,\u0275PLATFORM_SERVER_ID:()=>Mi,\u0275PLATFORM_WORKER_APP_ID:()=>hi,\u0275PLATFORM_WORKER_UI_ID:()=>Ai,\u0275getDOM:()=>ae,\u0275parseCookieValue:()=>On,\u0275setRootDomAdapter:()=>pe});var p=L(999);let N=null;function ae(){return N}function pe(g){N||(N=g)}class Q{}const Ee=new p.InjectionToken("DocumentToken");let V=(()=>{class g{historyGo(m){throw new Error("Not implemented")}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275prov=p.\u0275\u0275defineInjectable({token:g,factory:function(){return(0,p.\u0275\u0275inject)(fe)},providedIn:"platform"}),g})();const ie=new p.InjectionToken("Location Initialized");let fe=(()=>{class g extends V{constructor(m){super(),this._doc=m,this._init()}_init(){this.location=window.location,this._history=window.history}getBaseHrefFromDOM(){return ae().getBaseHref(this._doc)}onPopState(m){const b=ae().getGlobalEventTarget(this._doc,"window");return b.addEventListener("popstate",m,!1),()=>b.removeEventListener("popstate",m)}onHashChange(m){const b=ae().getGlobalEventTarget(this._doc,"window");return b.addEventListener("hashchange",m,!1),()=>b.removeEventListener("hashchange",m)}get href(){return this.location.href}get protocol(){return this.location.protocol}get hostname(){return this.location.hostname}get port(){return this.location.port}get pathname(){return this.location.pathname}get search(){return this.location.search}get hash(){return this.location.hash}set pathname(m){this.location.pathname=m}pushState(m,b,P){qe()?this._history.pushState(m,b,P):this.location.hash=P}replaceState(m,b,P){qe()?this._history.replaceState(m,b,P):this.location.hash=P}forward(){this._history.forward()}back(){this._history.back()}historyGo(m=0){this._history.go(m)}getState(){return this._history.state}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275inject(Ee))},g.\u0275prov=p.\u0275\u0275defineInjectable({token:g,factory:function(){return new fe((0,p.\u0275\u0275inject)(Ee))},providedIn:"platform"}),g})();function qe(){return!!window.history.pushState}function me(g,C){if(0==g.length)return C;if(0==C.length)return g;let m=0;return g.endsWith("/")&&m++,C.startsWith("/")&&m++,2==m?g+C.substring(1):1==m?g+C:g+"/"+C}function J(g){const C=g.match(/#|\?|$/),m=C&&C.index||g.length;return g.slice(0,m-("/"===g[m-1]?1:0))+g.slice(m)}function oe(g){return g&&"?"!==g[0]?"?"+g:g}let ne=(()=>{class g{historyGo(m){throw new Error("Not implemented")}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275prov=p.\u0275\u0275defineInjectable({token:g,factory:function(){return function(g){const C=(0,p.\u0275\u0275inject)(Ee).location;return new Ce((0,p.\u0275\u0275inject)(V),C&&C.origin||"")}()},providedIn:"root"}),g})();const X=new p.InjectionToken("appBaseHref");let Ce=(()=>{class g extends ne{constructor(m,b){if(super(),this._platformLocation=m,this._removeListenerFns=[],null==b&&(b=this._platformLocation.getBaseHrefFromDOM()),null==b)throw new Error("No base href set. Please provide a value for the APP_BASE_HREF token or add a base element to the document.");this._baseHref=b}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}prepareExternalUrl(m){return me(this._baseHref,m)}path(m=!1){const b=this._platformLocation.pathname+oe(this._platformLocation.search),P=this._platformLocation.hash;return P&&m?`${b}${P}`:b}pushState(m,b,P,q){const le=this.prepareExternalUrl(P+oe(q));this._platformLocation.pushState(m,b,le)}replaceState(m,b,P,q){const le=this.prepareExternalUrl(P+oe(q));this._platformLocation.replaceState(m,b,le)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(m=0){var b,P;null===(P=(b=this._platformLocation).historyGo)||void 0===P||P.call(b,m)}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275inject(V),p.\u0275\u0275inject(X,8))},g.\u0275prov=p.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac}),g})(),W=(()=>{class g extends ne{constructor(m,b){super(),this._platformLocation=m,this._baseHref="",this._removeListenerFns=[],null!=b&&(this._baseHref=b)}ngOnDestroy(){for(;this._removeListenerFns.length;)this._removeListenerFns.pop()()}onPopState(m){this._removeListenerFns.push(this._platformLocation.onPopState(m),this._platformLocation.onHashChange(m))}getBaseHref(){return this._baseHref}path(m=!1){let b=this._platformLocation.hash;return null==b&&(b="#"),b.length>0?b.substring(1):b}prepareExternalUrl(m){const b=me(this._baseHref,m);return b.length>0?"#"+b:b}pushState(m,b,P,q){let le=this.prepareExternalUrl(P+oe(q));0==le.length&&(le=this._platformLocation.pathname),this._platformLocation.pushState(m,b,le)}replaceState(m,b,P,q){let le=this.prepareExternalUrl(P+oe(q));0==le.length&&(le=this._platformLocation.pathname),this._platformLocation.replaceState(m,b,le)}forward(){this._platformLocation.forward()}back(){this._platformLocation.back()}historyGo(m=0){var b,P;null===(P=(b=this._platformLocation).historyGo)||void 0===P||P.call(b,m)}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275inject(V),p.\u0275\u0275inject(X,8))},g.\u0275prov=p.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac}),g})(),$=(()=>{class g{constructor(m,b){this._subject=new p.EventEmitter,this._urlChangeListeners=[],this._platformStrategy=m;const P=this._platformStrategy.getBaseHref();this._platformLocation=b,this._baseHref=J(Re(P)),this._platformStrategy.onPopState(q=>{this._subject.emit({url:this.path(!0),pop:!0,state:q.state,type:q.type})})}path(m=!1){return this.normalize(this._platformStrategy.path(m))}getState(){return this._platformLocation.getState()}isCurrentPathEqualTo(m,b=""){return this.path()==this.normalize(m+oe(b))}normalize(m){return g.stripTrailingSlash(function(g,C){return g&&C.startsWith(g)?C.substring(g.length):C}(this._baseHref,Re(m)))}prepareExternalUrl(m){return m&&"/"!==m[0]&&(m="/"+m),this._platformStrategy.prepareExternalUrl(m)}go(m,b="",P=null){this._platformStrategy.pushState(P,"",m,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+oe(b)),P)}replaceState(m,b="",P=null){this._platformStrategy.replaceState(P,"",m,b),this._notifyUrlChangeListeners(this.prepareExternalUrl(m+oe(b)),P)}forward(){this._platformStrategy.forward()}back(){this._platformStrategy.back()}historyGo(m=0){var b,P;null===(P=(b=this._platformStrategy).historyGo)||void 0===P||P.call(b,m)}onUrlChange(m){this._urlChangeListeners.push(m),this._urlChangeSubscription||(this._urlChangeSubscription=this.subscribe(b=>{this._notifyUrlChangeListeners(b.url,b.state)}))}_notifyUrlChangeListeners(m="",b){this._urlChangeListeners.forEach(P=>P(m,b))}subscribe(m,b,P){return this._subject.subscribe({next:m,error:b,complete:P})}}return g.normalizeQueryParams=oe,g.joinWithSlash=me,g.stripTrailingSlash=J,g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275inject(ne),p.\u0275\u0275inject(V))},g.\u0275prov=p.\u0275\u0275defineInjectable({token:g,factory:function(){return new $((0,p.\u0275\u0275inject)(ne),(0,p.\u0275\u0275inject)(V))},providedIn:"root"}),g})();function Re(g){return g.replace(/\/index.html$/,"")}const He={ADP:[void 0,void 0,0],AFN:[void 0,"\u060b",0],ALL:[void 0,void 0,0],AMD:[void 0,"\u058f",2],AOA:[void 0,"Kz"],ARS:[void 0,"$"],AUD:["A$","$"],AZN:[void 0,"\u20bc"],BAM:[void 0,"KM"],BBD:[void 0,"$"],BDT:[void 0,"\u09f3"],BHD:[void 0,void 0,3],BIF:[void 0,void 0,0],BMD:[void 0,"$"],BND:[void 0,"$"],BOB:[void 0,"Bs"],BRL:["R$"],BSD:[void 0,"$"],BWP:[void 0,"P"],BYN:[void 0,"\u0440.",2],BYR:[void 0,void 0,0],BZD:[void 0,"$"],CAD:["CA$","$",2],CHF:[void 0,void 0,2],CLF:[void 0,void 0,4],CLP:[void 0,"$",0],CNY:["CN\xa5","\xa5"],COP:[void 0,"$",2],CRC:[void 0,"\u20a1",2],CUC:[void 0,"$"],CUP:[void 0,"$"],CZK:[void 0,"K\u010d",2],DJF:[void 0,void 0,0],DKK:[void 0,"kr",2],DOP:[void 0,"$"],EGP:[void 0,"E\xa3"],ESP:[void 0,"\u20a7",0],EUR:["\u20ac"],FJD:[void 0,"$"],FKP:[void 0,"\xa3"],GBP:["\xa3"],GEL:[void 0,"\u20be"],GHS:[void 0,"GH\u20b5"],GIP:[void 0,"\xa3"],GNF:[void 0,"FG",0],GTQ:[void 0,"Q"],GYD:[void 0,"$",2],HKD:["HK$","$"],HNL:[void 0,"L"],HRK:[void 0,"kn"],HUF:[void 0,"Ft",2],IDR:[void 0,"Rp",2],ILS:["\u20aa"],INR:["\u20b9"],IQD:[void 0,void 0,0],IRR:[void 0,void 0,0],ISK:[void 0,"kr",0],ITL:[void 0,void 0,0],JMD:[void 0,"$"],JOD:[void 0,void 0,3],JPY:["\xa5",void 0,0],KHR:[void 0,"\u17db"],KMF:[void 0,"CF",0],KPW:[void 0,"\u20a9",0],KRW:["\u20a9",void 0,0],KWD:[void 0,void 0,3],KYD:[void 0,"$"],KZT:[void 0,"\u20b8"],LAK:[void 0,"\u20ad",0],LBP:[void 0,"L\xa3",0],LKR:[void 0,"Rs"],LRD:[void 0,"$"],LTL:[void 0,"Lt"],LUF:[void 0,void 0,0],LVL:[void 0,"Ls"],LYD:[void 0,void 0,3],MGA:[void 0,"Ar",0],MGF:[void 0,void 0,0],MMK:[void 0,"K",0],MNT:[void 0,"\u20ae",2],MRO:[void 0,void 0,0],MUR:[void 0,"Rs",2],MXN:["MX$","$"],MYR:[void 0,"RM"],NAD:[void 0,"$"],NGN:[void 0,"\u20a6"],NIO:[void 0,"C$"],NOK:[void 0,"kr",2],NPR:[void 0,"Rs"],NZD:["NZ$","$"],OMR:[void 0,void 0,3],PHP:["\u20b1"],PKR:[void 0,"Rs",2],PLN:[void 0,"z\u0142"],PYG:[void 0,"\u20b2",0],RON:[void 0,"lei"],RSD:[void 0,void 0,0],RUB:[void 0,"\u20bd"],RUR:[void 0,"\u0440."],RWF:[void 0,"RF",0],SBD:[void 0,"$"],SEK:[void 0,"kr",2],SGD:[void 0,"$"],SHP:[void 0,"\xa3"],SLL:[void 0,void 0,0],SOS:[void 0,void 0,0],SRD:[void 0,"$"],SSP:[void 0,"\xa3"],STD:[void 0,void 0,0],STN:[void 0,"Db"],SYP:[void 0,"\xa3",0],THB:[void 0,"\u0e3f"],TMM:[void 0,void 0,0],TND:[void 0,void 0,3],TOP:[void 0,"T$"],TRL:[void 0,void 0,0],TRY:[void 0,"\u20ba"],TTD:[void 0,"$"],TWD:["NT$","$",2],TZS:[void 0,void 0,2],UAH:[void 0,"\u20b4"],UGX:[void 0,void 0,0],USD:["$"],UYI:[void 0,void 0,0],UYU:[void 0,"$"],UYW:[void 0,void 0,4],UZS:[void 0,void 0,2],VEF:[void 0,"Bs",2],VND:["\u20ab",void 0,0],VUV:[void 0,void 0,0],XAF:["FCFA",void 0,0],XCD:["EC$","$"],XOF:["F\u202fCFA",void 0,0],XPF:["CFPF",void 0,0],XXX:["\xa4"],YER:[void 0,void 0,0],ZAR:[void 0,"R"],ZMK:[void 0,void 0,0],ZMW:[void 0,"ZK"],ZWD:[void 0,void 0,0]};var H=(()=>((H=H||{})[H.Decimal=0]="Decimal",H[H.Percent=1]="Percent",H[H.Currency=2]="Currency",H[H.Scientific=3]="Scientific",H))(),U=(()=>((U=U||{})[U.Zero=0]="Zero",U[U.One=1]="One",U[U.Two=2]="Two",U[U.Few=3]="Few",U[U.Many=4]="Many",U[U.Other=5]="Other",U))(),j=(()=>((j=j||{})[j.Format=0]="Format",j[j.Standalone=1]="Standalone",j))(),K=(()=>((K=K||{})[K.Narrow=0]="Narrow",K[K.Abbreviated=1]="Abbreviated",K[K.Wide=2]="Wide",K[K.Short=3]="Short",K))(),z=(()=>((z=z||{})[z.Short=0]="Short",z[z.Medium=1]="Medium",z[z.Long=2]="Long",z[z.Full=3]="Full",z))(),G=(()=>((G=G||{})[G.Decimal=0]="Decimal",G[G.Group=1]="Group",G[G.List=2]="List",G[G.PercentSign=3]="PercentSign",G[G.PlusSign=4]="PlusSign",G[G.MinusSign=5]="MinusSign",G[G.Exponential=6]="Exponential",G[G.SuperscriptingExponent=7]="SuperscriptingExponent",G[G.PerMille=8]="PerMille",G[G.Infinity=9]="Infinity",G[G.NaN=10]="NaN",G[G.TimeSeparator=11]="TimeSeparator",G[G.CurrencyDecimal=12]="CurrencyDecimal",G[G.CurrencyGroup=13]="CurrencyGroup",G))(),Ne=(()=>((Ne=Ne||{})[Ne.Sunday=0]="Sunday",Ne[Ne.Monday=1]="Monday",Ne[Ne.Tuesday=2]="Tuesday",Ne[Ne.Wednesday=3]="Wednesday",Ne[Ne.Thursday=4]="Thursday",Ne[Ne.Friday=5]="Friday",Ne[Ne.Saturday=6]="Saturday",Ne))();function rt(g){return(0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.LocaleId]}function Se(g,C,m){const b=(0,p.\u0275findLocaleData)(g),q=en([b[p.\u0275LocaleDataIndex.DayPeriodsFormat],b[p.\u0275LocaleDataIndex.DayPeriodsStandalone]],C);return en(q,m)}function $e(g,C,m){const b=(0,p.\u0275findLocaleData)(g),q=en([b[p.\u0275LocaleDataIndex.DaysFormat],b[p.\u0275LocaleDataIndex.DaysStandalone]],C);return en(q,m)}function St(g,C,m){const b=(0,p.\u0275findLocaleData)(g),q=en([b[p.\u0275LocaleDataIndex.MonthsFormat],b[p.\u0275LocaleDataIndex.MonthsStandalone]],C);return en(q,m)}function vt(g,C){return en((0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.Eras],C)}function Dt(g){return(0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.FirstDayOfWeek]}function on(g){return(0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.WeekendRange]}function Ie(g,C){return en((0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.DateFormat],C)}function Et(g,C){return en((0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.TimeFormat],C)}function cn(g,C){return en((0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.DateTimeFormat],C)}function bt(g,C){const m=(0,p.\u0275findLocaleData)(g),b=m[p.\u0275LocaleDataIndex.NumberSymbols][C];if(void 0===b){if(C===G.CurrencyDecimal)return m[p.\u0275LocaleDataIndex.NumberSymbols][G.Decimal];if(C===G.CurrencyGroup)return m[p.\u0275LocaleDataIndex.NumberSymbols][G.Group]}return b}function dn(g,C){return(0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.NumberFormats][C]}function wn(g){return(0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.CurrencySymbol]||null}function Wt(g){return(0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.CurrencyName]||null}function Pr(g){return(0,p.\u0275getLocaleCurrencyCode)(g)}const Jn=p.\u0275getLocalePluralCase;function kt(g){if(!g[p.\u0275LocaleDataIndex.ExtraData])throw new Error(`Missing extra locale data for the locale "${g[p.\u0275LocaleDataIndex.LocaleId]}". Use "registerLocaleData" to load new data. See the "I18n guide" on angular.io to know more.`)}function qr(g){const C=(0,p.\u0275findLocaleData)(g);return kt(C),(C[p.\u0275LocaleDataIndex.ExtraData][2]||[]).map(b=>"string"==typeof b?qn(b):[qn(b[0]),qn(b[1])])}function Kn(g,C,m){const b=(0,p.\u0275findLocaleData)(g);kt(b);const q=en([b[p.\u0275LocaleDataIndex.ExtraData][0],b[p.\u0275LocaleDataIndex.ExtraData][1]],C)||[];return en(q,m)||[]}function di(g){return(0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.Directionality]}function en(g,C){for(let m=C;m>-1;m--)if(void 0!==g[m])return g[m];throw new Error("Locale data API: locale data undefined")}function qn(g){const[C,m]=g.split(":");return{hours:+C,minutes:+m}}function Bt(g,C,m="en"){const b=function(g){return(0,p.\u0275findLocaleData)(g)[p.\u0275LocaleDataIndex.Currencies]}(m)[g]||He[g]||[],P=b[1];return"narrow"===C&&"string"==typeof P?P:b[0]||g}function fr(g){let C;const m=He[g];return m&&(C=m[2]),"number"==typeof C?C:2}const tn=/^(\d{4})-?(\d\d)-?(\d\d)(?:T(\d\d)(?::?(\d\d)(?::?(\d\d)(?:\.(\d+))?)?)?(Z|([+-])(\d\d):?(\d\d))?)?$/,nt={},jt=/((?:[^BEGHLMOSWYZabcdhmswyz']+)|(?:'(?:[^']|'')*')|(?:G{1,5}|y{1,4}|Y{1,4}|M{1,5}|L{1,5}|w{1,2}|W{1}|d{1,2}|E{1,6}|c{1,6}|a{1,5}|b{1,5}|B{1,5}|h{1,2}|H{1,2}|m{1,2}|s{1,2}|S{1,3}|z{1,4}|Z{1,5}|O{1,4}))([\s\S]*)/;var Ye=(()=>((Ye=Ye||{})[Ye.Short=0]="Short",Ye[Ye.ShortGMT=1]="ShortGMT",Ye[Ye.Long=2]="Long",Ye[Ye.Extended=3]="Extended",Ye))(),xe=(()=>((xe=xe||{})[xe.FullYear=0]="FullYear",xe[xe.Month=1]="Month",xe[xe.Date=2]="Date",xe[xe.Hours=3]="Hours",xe[xe.Minutes=4]="Minutes",xe[xe.Seconds=5]="Seconds",xe[xe.FractionalSeconds=6]="FractionalSeconds",xe[xe.Day=7]="Day",xe))(),Te=(()=>((Te=Te||{})[Te.DayPeriods=0]="DayPeriods",Te[Te.Days=1]="Days",Te[Te.Months=2]="Months",Te[Te.Eras=3]="Eras",Te))();function Rr(g,C,m,b){let P=function(g){if(R(g))return g;if("number"==typeof g&&!isNaN(g))return new Date(g);if("string"==typeof g){if(g=g.trim(),/^(\d{4}(-\d{1,2}(-\d{1,2})?)?)$/.test(g)){const[P,q=1,le=1]=g.split("-").map(Fe=>+Fe);return Tn(P,q-1,le)}const m=parseFloat(g);if(!isNaN(g-m))return new Date(m);let b;if(b=g.match(tn))return function(g){const C=new Date(0);let m=0,b=0;const P=g[8]?C.setUTCFullYear:C.setFullYear,q=g[8]?C.setUTCHours:C.setHours;g[9]&&(m=Number(g[9]+g[10]),b=Number(g[9]+g[11])),P.call(C,Number(g[1]),Number(g[2])-1,Number(g[3]));const le=Number(g[4]||0)-m,Fe=Number(g[5]||0)-b,Ct=Number(g[6]||0),pt=Math.floor(1e3*parseFloat("0."+(g[7]||0)));return q.call(C,le,Fe,Ct,pt),C}(b)}const C=new Date(g);if(!R(C))throw new Error(`Unable to convert "${g}" into a date`);return C}(g);C=Ht(m,C)||C;let Fe,le=[];for(;C;){if(Fe=jt.exec(C),!Fe){le.push(C);break}{le=le.concat(Fe.slice(1));const wt=le.pop();if(!wt)break;C=wt}}let Ct=P.getTimezoneOffset();b&&(Ct=Pt(b,Ct),P=function(g,C,m){const P=g.getTimezoneOffset();return function(g,C){return(g=new Date(g.getTime())).setMinutes(g.getMinutes()+C),g}(g,-1*(Pt(C,P)-P))}(P,b));let pt="";return le.forEach(wt=>{const et=function(g){if(Ut[g])return Ut[g];let C;switch(g){case"G":case"GG":case"GGG":C=ct(Te.Eras,K.Abbreviated);break;case"GGGG":C=ct(Te.Eras,K.Wide);break;case"GGGGG":C=ct(Te.Eras,K.Narrow);break;case"y":C=mt(xe.FullYear,1,0,!1,!0);break;case"yy":C=mt(xe.FullYear,2,0,!0,!0);break;case"yyy":C=mt(xe.FullYear,3,0,!1,!0);break;case"yyyy":C=mt(xe.FullYear,4,0,!1,!0);break;case"Y":C=jn(1);break;case"YY":C=jn(2,!0);break;case"YYY":C=jn(3);break;case"YYYY":C=jn(4);break;case"M":case"L":C=mt(xe.Month,1,1);break;case"MM":case"LL":C=mt(xe.Month,2,1);break;case"MMM":C=ct(Te.Months,K.Abbreviated);break;case"MMMM":C=ct(Te.Months,K.Wide);break;case"MMMMM":C=ct(Te.Months,K.Narrow);break;case"LLL":C=ct(Te.Months,K.Abbreviated,j.Standalone);break;case"LLLL":C=ct(Te.Months,K.Wide,j.Standalone);break;case"LLLLL":C=ct(Te.Months,K.Narrow,j.Standalone);break;case"w":C=Nn(1);break;case"ww":C=Nn(2);break;case"W":C=Nn(1,!0);break;case"d":C=mt(xe.Date,1);break;case"dd":C=mt(xe.Date,2);break;case"c":case"cc":C=mt(xe.Day,1);break;case"ccc":C=ct(Te.Days,K.Abbreviated,j.Standalone);break;case"cccc":C=ct(Te.Days,K.Wide,j.Standalone);break;case"ccccc":C=ct(Te.Days,K.Narrow,j.Standalone);break;case"cccccc":C=ct(Te.Days,K.Short,j.Standalone);break;case"E":case"EE":case"EEE":C=ct(Te.Days,K.Abbreviated);break;case"EEEE":C=ct(Te.Days,K.Wide);break;case"EEEEE":C=ct(Te.Days,K.Narrow);break;case"EEEEEE":C=ct(Te.Days,K.Short);break;case"a":case"aa":case"aaa":C=ct(Te.DayPeriods,K.Abbreviated);break;case"aaaa":C=ct(Te.DayPeriods,K.Wide);break;case"aaaaa":C=ct(Te.DayPeriods,K.Narrow);break;case"b":case"bb":case"bbb":C=ct(Te.DayPeriods,K.Abbreviated,j.Standalone,!0);break;case"bbbb":C=ct(Te.DayPeriods,K.Wide,j.Standalone,!0);break;case"bbbbb":C=ct(Te.DayPeriods,K.Narrow,j.Standalone,!0);break;case"B":case"BB":case"BBB":C=ct(Te.DayPeriods,K.Abbreviated,j.Format,!0);break;case"BBBB":C=ct(Te.DayPeriods,K.Wide,j.Format,!0);break;case"BBBBB":C=ct(Te.DayPeriods,K.Narrow,j.Format,!0);break;case"h":C=mt(xe.Hours,1,-12);break;case"hh":C=mt(xe.Hours,2,-12);break;case"H":C=mt(xe.Hours,1);break;case"HH":C=mt(xe.Hours,2);break;case"m":C=mt(xe.Minutes,1);break;case"mm":C=mt(xe.Minutes,2);break;case"s":C=mt(xe.Seconds,1);break;case"ss":C=mt(xe.Seconds,2);break;case"S":C=mt(xe.FractionalSeconds,1);break;case"SS":C=mt(xe.FractionalSeconds,2);break;case"SSS":C=mt(xe.FractionalSeconds,3);break;case"Z":case"ZZ":case"ZZZ":C=xr(Ye.Short);break;case"ZZZZZ":C=xr(Ye.Extended);break;case"O":case"OO":case"OOO":case"z":case"zz":case"zzz":C=xr(Ye.ShortGMT);break;case"OOOO":case"ZZZZ":case"zzzz":C=xr(Ye.Long);break;default:return null}return Ut[g]=C,C}(wt);pt+=et?et(P,m,Ct):"''"===wt?"'":wt.replace(/(^'|'$)/g,"").replace(/''/g,"'")}),pt}function Tn(g,C,m){const b=new Date(0);return b.setFullYear(g,C,m),b.setHours(0,0,0),b}function Ht(g,C){const m=rt(g);if(nt[m]=nt[m]||{},nt[m][C])return nt[m][C];let b="";switch(C){case"shortDate":b=Ie(g,z.Short);break;case"mediumDate":b=Ie(g,z.Medium);break;case"longDate":b=Ie(g,z.Long);break;case"fullDate":b=Ie(g,z.Full);break;case"shortTime":b=Et(g,z.Short);break;case"mediumTime":b=Et(g,z.Medium);break;case"longTime":b=Et(g,z.Long);break;case"fullTime":b=Et(g,z.Full);break;case"short":const P=Ht(g,"shortTime"),q=Ht(g,"shortDate");b=Fn(cn(g,z.Short),[P,q]);break;case"medium":const le=Ht(g,"mediumTime"),Fe=Ht(g,"mediumDate");b=Fn(cn(g,z.Medium),[le,Fe]);break;case"long":const Ct=Ht(g,"longTime"),pt=Ht(g,"longDate");b=Fn(cn(g,z.Long),[Ct,pt]);break;case"full":const wt=Ht(g,"fullTime"),et=Ht(g,"fullDate");b=Fn(cn(g,z.Full),[wt,et])}return b&&(nt[m][C]=b),b}function Fn(g,C){return C&&(g=g.replace(/\{([^}]+)}/g,function(m,b){return null!=C&&b in C?C[b]:m})),g}function Kt(g,C,m="-",b,P){let q="";(g<0||P&&g<=0)&&(P?g=1-g:(g=-g,q=m));let le=String(g);for(;le.length<C;)le="0"+le;return b&&(le=le.substr(le.length-C)),q+le}function mt(g,C,m=0,b=!1,P=!1){return function(q,le){let Fe=function(g,C){switch(g){case xe.FullYear:return C.getFullYear();case xe.Month:return C.getMonth();case xe.Date:return C.getDate();case xe.Hours:return C.getHours();case xe.Minutes:return C.getMinutes();case xe.Seconds:return C.getSeconds();case xe.FractionalSeconds:return C.getMilliseconds();case xe.Day:return C.getDay();default:throw new Error(`Unknown DateType value "${g}".`)}}(g,q);if((m>0||Fe>-m)&&(Fe+=m),g===xe.Hours)0===Fe&&-12===m&&(Fe=12);else if(g===xe.FractionalSeconds)return function(g,C){return Kt(g,3).substr(0,C)}(Fe,C);const Ct=bt(le,G.MinusSign);return Kt(Fe,C,Ct,b,P)}}function ct(g,C,m=j.Format,b=!1){return function(P,q){return function(g,C,m,b,P,q){switch(m){case Te.Months:return St(C,P,b)[g.getMonth()];case Te.Days:return $e(C,P,b)[g.getDay()];case Te.DayPeriods:const le=g.getHours(),Fe=g.getMinutes();if(q){const pt=qr(C),wt=Kn(C,P,b),et=pt.findIndex(Qt=>{if(Array.isArray(Qt)){const[tt,Zt]=Qt,y=le>=tt.hours&&Fe>=tt.minutes,h=le<Zt.hours||le===Zt.hours&&Fe<Zt.minutes;if(tt.hours<Zt.hours){if(y&&h)return!0}else if(y||h)return!0}else if(Qt.hours===le&&Qt.minutes===Fe)return!0;return!1});if(-1!==et)return wt[et]}return Se(C,P,b)[le<12?0:1];case Te.Eras:return vt(C,b)[g.getFullYear()<=0?0:1];default:throw new Error(`unexpected translation type ${m}`)}}(P,q,g,C,m,b)}}function xr(g){return function(C,m,b){const P=-1*b,q=bt(m,G.MinusSign),le=P>0?Math.floor(P/60):Math.ceil(P/60);switch(g){case Ye.Short:return(P>=0?"+":"")+Kt(le,2,q)+Kt(Math.abs(P%60),2,q);case Ye.ShortGMT:return"GMT"+(P>=0?"+":"")+Kt(le,1,q);case Ye.Long:return"GMT"+(P>=0?"+":"")+Kt(le,2,q)+":"+Kt(Math.abs(P%60),2,q);case Ye.Extended:return 0===b?"Z":(P>=0?"+":"")+Kt(le,2,q)+":"+Kt(Math.abs(P%60),2,q);default:throw new Error(`Unknown zone width "${g}"`)}}}function nn(g){return Tn(g.getFullYear(),g.getMonth(),g.getDate()+(4-g.getDay()))}function Nn(g,C=!1){return function(m,b){let P;if(C){const q=new Date(m.getFullYear(),m.getMonth(),1).getDay()-1,le=m.getDate();P=1+Math.floor((le+q)/7)}else{const q=nn(m),le=function(g){const C=Tn(g,0,1).getDay();return Tn(g,0,1+(C<=4?4:11)-C)}(q.getFullYear()),Fe=q.getTime()-le.getTime();P=1+Math.round(Fe/6048e5)}return Kt(P,g,bt(b,G.MinusSign))}}function jn(g,C=!1){return function(m,b){return Kt(nn(m).getFullYear(),g,bt(b,G.MinusSign),C)}}const Ut={};function Pt(g,C){g=g.replace(/:/g,"");const m=Date.parse("Jan 01, 1970 00:00:00 "+g)/6e4;return isNaN(m)?C:m}function R(g){return g instanceof Date&&!isNaN(g.valueOf())}const te=/^(\d+)?\.((\d+)(-(\d+))?)?$/;function Hn(g,C,m,b,P,q,le=!1){let Fe="",Ct=!1;if(isFinite(g)){let pt=function(g){let b,P,q,le,Fe,C=Math.abs(g)+"",m=0;for((P=C.indexOf("."))>-1&&(C=C.replace(".","")),(q=C.search(/e/i))>0?(P<0&&(P=q),P+=+C.slice(q+1),C=C.substring(0,q)):P<0&&(P=C.length),q=0;"0"===C.charAt(q);q++);if(q===(Fe=C.length))b=[0],P=1;else{for(Fe--;"0"===C.charAt(Fe);)Fe--;for(P-=q,b=[],le=0;q<=Fe;q++,le++)b[le]=Number(C.charAt(q))}return P>22&&(b=b.splice(0,21),m=P-1,P=1),{digits:b,exponent:m,integerLen:P}}(g);le&&(pt=function(g){if(0===g.digits[0])return g;const C=g.digits.length-g.integerLen;return g.exponent?g.exponent+=2:(0===C?g.digits.push(0,0):1===C&&g.digits.push(0),g.integerLen+=2),g}(pt));let wt=C.minInt,et=C.minFrac,Qt=C.maxFrac;if(q){const w=q.match(te);if(null===w)throw new Error(`${q} is not a valid digit info`);const Z=w[1],ye=w[3],yt=w[5];null!=Z&&(wt=_r(Z)),null!=ye&&(et=_r(ye)),null!=yt?Qt=_r(yt):null!=ye&&et>Qt&&(Qt=et)}!function(g,C,m){if(C>m)throw new Error(`The minimum number of digits after fraction (${C}) is higher than the maximum (${m}).`);let b=g.digits,P=b.length-g.integerLen;const q=Math.min(Math.max(C,P),m);let le=q+g.integerLen,Fe=b[le];if(le>0){b.splice(Math.max(g.integerLen,le));for(let et=le;et<b.length;et++)b[et]=0}else{P=Math.max(0,P),g.integerLen=1,b.length=Math.max(1,le=q+1),b[0]=0;for(let et=1;et<le;et++)b[et]=0}if(Fe>=5)if(le-1<0){for(let et=0;et>le;et--)b.unshift(0),g.integerLen++;b.unshift(1),g.integerLen++}else b[le-1]++;for(;P<Math.max(0,q);P++)b.push(0);let Ct=0!==q;const pt=C+g.integerLen,wt=b.reduceRight(function(et,Qt,tt,Zt){return Zt[tt]=(Qt+=et)<10?Qt:Qt-10,Ct&&(0===Zt[tt]&&tt>=pt?Zt.pop():Ct=!1),Qt>=10?1:0},0);wt&&(b.unshift(wt),g.integerLen++)}(pt,et,Qt);let tt=pt.digits,Zt=pt.integerLen;const y=pt.exponent;let h=[];for(Ct=tt.every(w=>!w);Zt<wt;Zt++)tt.unshift(0);for(;Zt<0;Zt++)tt.unshift(0);Zt>0?h=tt.splice(Zt,tt.length):(h=tt,tt=[0]);const f=[];for(tt.length>=C.lgSize&&f.unshift(tt.splice(-C.lgSize,tt.length).join(""));tt.length>C.gSize;)f.unshift(tt.splice(-C.gSize,tt.length).join(""));tt.length&&f.unshift(tt.join("")),Fe=f.join(bt(m,b)),h.length&&(Fe+=bt(m,P)+h.join("")),y&&(Fe+=bt(m,G.Exponential)+"+"+y)}else Fe=bt(m,G.Infinity);return Fe=g<0&&!Ct?C.negPre+Fe+C.negSuf:C.posPre+Fe+C.posSuf,Fe}function bn(g,C,m,b,P){const le=Pn(dn(C,H.Currency),bt(C,G.MinusSign));return le.minFrac=fr(b),le.maxFrac=le.minFrac,Hn(g,le,C,G.CurrencyGroup,G.CurrencyDecimal,P).replace("\xa4",m).replace("\xa4","").trim()}function yn(g,C,m){return Hn(g,Pn(dn(C,H.Percent),bt(C,G.MinusSign)),C,G.Group,G.Decimal,m,!0).replace(new RegExp("%","g"),bt(C,G.PercentSign))}function Lr(g,C,m){return Hn(g,Pn(dn(C,H.Decimal),bt(C,G.MinusSign)),C,G.Group,G.Decimal,m)}function Pn(g,C="-"){const m={minInt:1,minFrac:0,maxFrac:0,posPre:"",posSuf:"",negPre:"",negSuf:"",gSize:0,lgSize:0},b=g.split(";"),P=b[0],q=b[1],le=-1!==P.indexOf(".")?P.split("."):[P.substring(0,P.lastIndexOf("0")+1),P.substring(P.lastIndexOf("0")+1)],Fe=le[0],Ct=le[1]||"";m.posPre=Fe.substr(0,Fe.indexOf("#"));for(let wt=0;wt<Ct.length;wt++){const et=Ct.charAt(wt);"0"===et?m.minFrac=m.maxFrac=wt+1:"#"===et?m.maxFrac=wt+1:m.posSuf+=et}const pt=Fe.split(",");if(m.gSize=pt[1]?pt[1].length:0,m.lgSize=pt[2]||pt[1]?(pt[2]||pt[1]).length:0,q){const wt=P.length-m.posPre.length-m.posSuf.length,et=q.indexOf("#");m.negPre=q.substr(0,et).replace(/'/g,""),m.negSuf=q.substr(et+wt).replace(/'/g,"")}else m.negPre=C+m.posPre,m.negSuf=m.posSuf;return m}function _r(g){const C=parseInt(g);if(isNaN(C))throw new Error("Invalid integer literal when parsing "+g);return C}class Un{}function Zr(g,C,m,b){let P=`=${g}`;if(C.indexOf(P)>-1||(P=m.getPluralCategory(g,b),C.indexOf(P)>-1))return P;if(C.indexOf("other")>-1)return"other";throw new Error(`No plural message found for value "${g}"`)}let vr=(()=>{class g extends Un{constructor(m){super(),this.locale=m}getPluralCategory(m,b){switch(Jn(b||this.locale)(m)){case U.Zero:return"zero";case U.One:return"one";case U.Two:return"two";case U.Few:return"few";case U.Many:return"many";default:return"other"}}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275inject(p.LOCALE_ID))},g.\u0275prov=p.\u0275\u0275defineInjectable({token:g,factory:g.\u0275fac}),g})();function Vr(g,C,m){return(0,p.\u0275registerLocaleData)(g,C,m)}function On(g,C){C=encodeURIComponent(C);for(const m of g.split(";")){const b=m.indexOf("="),[P,q]=-1==b?[m,""]:[m.slice(0,b),m.slice(b+1)];if(P.trim()===C)return decodeURIComponent(q)}return null}let Ft=(()=>{class g{constructor(m,b,P,q){this._iterableDiffers=m,this._keyValueDiffers=b,this._ngEl=P,this._renderer=q,this._iterableDiffer=null,this._keyValueDiffer=null,this._initialClasses=[],this._rawClass=null}set klass(m){this._removeClasses(this._initialClasses),this._initialClasses="string"==typeof m?m.split(/\s+/):[],this._applyClasses(this._initialClasses),this._applyClasses(this._rawClass)}set ngClass(m){this._removeClasses(this._rawClass),this._applyClasses(this._initialClasses),this._iterableDiffer=null,this._keyValueDiffer=null,this._rawClass="string"==typeof m?m.split(/\s+/):m,this._rawClass&&((0,p.\u0275isListLikeIterable)(this._rawClass)?this._iterableDiffer=this._iterableDiffers.find(this._rawClass).create():this._keyValueDiffer=this._keyValueDiffers.find(this._rawClass).create())}ngDoCheck(){if(this._iterableDiffer){const m=this._iterableDiffer.diff(this._rawClass);m&&this._applyIterableChanges(m)}else if(this._keyValueDiffer){const m=this._keyValueDiffer.diff(this._rawClass);m&&this._applyKeyValueChanges(m)}}_applyKeyValueChanges(m){m.forEachAddedItem(b=>this._toggleClass(b.key,b.currentValue)),m.forEachChangedItem(b=>this._toggleClass(b.key,b.currentValue)),m.forEachRemovedItem(b=>{b.previousValue&&this._toggleClass(b.key,!1)})}_applyIterableChanges(m){m.forEachAddedItem(b=>{if("string"!=typeof b.item)throw new Error(`NgClass can only toggle CSS classes expressed as strings, got ${(0,p.\u0275stringify)(b.item)}`);this._toggleClass(b.item,!0)}),m.forEachRemovedItem(b=>this._toggleClass(b.item,!1))}_applyClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach(b=>this._toggleClass(b,!0)):Object.keys(m).forEach(b=>this._toggleClass(b,!!m[b])))}_removeClasses(m){m&&(Array.isArray(m)||m instanceof Set?m.forEach(b=>this._toggleClass(b,!1)):Object.keys(m).forEach(b=>this._toggleClass(b,!1)))}_toggleClass(m,b){(m=m.trim())&&m.split(/\s+/g).forEach(P=>{b?this._renderer.addClass(this._ngEl.nativeElement,P):this._renderer.removeClass(this._ngEl.nativeElement,P)})}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.IterableDiffers),p.\u0275\u0275directiveInject(p.KeyValueDiffers),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(p.Renderer2))},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngClass",""]],inputs:{klass:["class","klass"],ngClass:"ngClass"}}),g})(),_n=(()=>{class g{constructor(m){this._viewContainerRef=m,this._componentRef=null,this._moduleRef=null}ngOnChanges(m){if(this._viewContainerRef.clear(),this._componentRef=null,this.ngComponentOutlet){const b=this.ngComponentOutletInjector||this._viewContainerRef.parentInjector;if(m.ngComponentOutletNgModuleFactory)if(this._moduleRef&&this._moduleRef.destroy(),this.ngComponentOutletNgModuleFactory){const le=b.get(p.NgModuleRef);this._moduleRef=this.ngComponentOutletNgModuleFactory.create(le.injector)}else this._moduleRef=null;const q=(this._moduleRef?this._moduleRef.componentFactoryResolver:b.get(p.ComponentFactoryResolver)).resolveComponentFactory(this.ngComponentOutlet);this._componentRef=this._viewContainerRef.createComponent(q,this._viewContainerRef.length,b,this.ngComponentOutletContent)}}ngOnDestroy(){this._moduleRef&&this._moduleRef.destroy()}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.ViewContainerRef))},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngComponentOutlet",""]],inputs:{ngComponentOutlet:"ngComponentOutlet",ngComponentOutletInjector:"ngComponentOutletInjector",ngComponentOutletContent:"ngComponentOutletContent",ngComponentOutletNgModuleFactory:"ngComponentOutletNgModuleFactory"},features:[p.\u0275\u0275NgOnChangesFeature]}),g})();class Zn{constructor(C,m,b,P){this.$implicit=C,this.ngForOf=m,this.index=b,this.count=P}get first(){return 0===this.index}get last(){return this.index===this.count-1}get even(){return this.index%2==0}get odd(){return!this.even}}let $t=(()=>{class g{constructor(m,b,P){this._viewContainer=m,this._template=b,this._differs=P,this._ngForOf=null,this._ngForOfDirty=!0,this._differ=null}set ngForOf(m){this._ngForOf=m,this._ngForOfDirty=!0}set ngForTrackBy(m){this._trackByFn=m}get ngForTrackBy(){return this._trackByFn}set ngForTemplate(m){m&&(this._template=m)}ngDoCheck(){if(this._ngForOfDirty){this._ngForOfDirty=!1;const m=this._ngForOf;!this._differ&&m&&(this._differ=this._differs.find(m).create(this.ngForTrackBy))}if(this._differ){const m=this._differ.diff(this._ngForOf);m&&this._applyChanges(m)}}_applyChanges(m){const b=this._viewContainer;m.forEachOperation((P,q,le)=>{if(null==P.previousIndex)b.createEmbeddedView(this._template,new Zn(P.item,this._ngForOf,-1,-1),null===le?void 0:le);else if(null==le)b.remove(null===q?void 0:q);else if(null!==q){const Fe=b.get(q);b.move(Fe,le),$n(Fe,P)}});for(let P=0,q=b.length;P<q;P++){const Fe=b.get(P).context;Fe.index=P,Fe.count=q,Fe.ngForOf=this._ngForOf}m.forEachIdentityChange(P=>{$n(b.get(P.currentIndex),P)})}static ngTemplateContextGuard(m,b){return!0}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.ViewContainerRef),p.\u0275\u0275directiveInject(p.TemplateRef),p.\u0275\u0275directiveInject(p.IterableDiffers))},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngFor","","ngForOf",""]],inputs:{ngForOf:"ngForOf",ngForTrackBy:"ngForTrackBy",ngForTemplate:"ngForTemplate"}}),g})();function $n(g,C){g.context.$implicit=C.item}let qt=(()=>{class g{constructor(m,b){this._viewContainer=m,this._context=new Dr,this._thenTemplateRef=null,this._elseTemplateRef=null,this._thenViewRef=null,this._elseViewRef=null,this._thenTemplateRef=b}set ngIf(m){this._context.$implicit=this._context.ngIf=m,this._updateView()}set ngIfThen(m){Mn("ngIfThen",m),this._thenTemplateRef=m,this._thenViewRef=null,this._updateView()}set ngIfElse(m){Mn("ngIfElse",m),this._elseTemplateRef=m,this._elseViewRef=null,this._updateView()}_updateView(){this._context.$implicit?this._thenViewRef||(this._viewContainer.clear(),this._elseViewRef=null,this._thenTemplateRef&&(this._thenViewRef=this._viewContainer.createEmbeddedView(this._thenTemplateRef,this._context))):this._elseViewRef||(this._viewContainer.clear(),this._thenViewRef=null,this._elseTemplateRef&&(this._elseViewRef=this._viewContainer.createEmbeddedView(this._elseTemplateRef,this._context)))}static ngTemplateContextGuard(m,b){return!0}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.ViewContainerRef),p.\u0275\u0275directiveInject(p.TemplateRef))},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngIf",""]],inputs:{ngIf:"ngIf",ngIfThen:"ngIfThen",ngIfElse:"ngIfElse"}}),g})();class Dr{constructor(){this.$implicit=null,this.ngIf=null}}function Mn(g,C){if(C&&!C.createEmbeddedView)throw new Error(`${g} must be a TemplateRef, but received '${(0,p.\u0275stringify)(C)}'.`)}class Rt{constructor(C,m){this._viewContainerRef=C,this._templateRef=m,this._created=!1}create(){this._created=!0,this._viewContainerRef.createEmbeddedView(this._templateRef)}destroy(){this._created=!1,this._viewContainerRef.clear()}enforceState(C){C&&!this._created?this.create():!C&&this._created&&this.destroy()}}let Xr=(()=>{class g{constructor(){this._defaultUsed=!1,this._caseCount=0,this._lastCaseCheckIndex=0,this._lastCasesMatched=!1}set ngSwitch(m){this._ngSwitch=m,0===this._caseCount&&this._updateDefaultCases(!0)}_addCase(){return this._caseCount++}_addDefault(m){this._defaultViews||(this._defaultViews=[]),this._defaultViews.push(m)}_matchCase(m){const b=m==this._ngSwitch;return this._lastCasesMatched=this._lastCasesMatched||b,this._lastCaseCheckIndex++,this._lastCaseCheckIndex===this._caseCount&&(this._updateDefaultCases(!this._lastCasesMatched),this._lastCaseCheckIndex=0,this._lastCasesMatched=!1),b}_updateDefaultCases(m){if(this._defaultViews&&m!==this._defaultUsed){this._defaultUsed=m;for(let b=0;b<this._defaultViews.length;b++)this._defaultViews[b].enforceState(m)}}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngSwitch",""]],inputs:{ngSwitch:"ngSwitch"}}),g})(),rn=(()=>{class g{constructor(m,b,P){this.ngSwitch=P,P._addCase(),this._view=new Rt(m,b)}ngDoCheck(){this._view.enforceState(this.ngSwitch._matchCase(this.ngSwitchCase))}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.ViewContainerRef),p.\u0275\u0275directiveInject(p.TemplateRef),p.\u0275\u0275directiveInject(Xr,9))},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngSwitchCase",""]],inputs:{ngSwitchCase:"ngSwitchCase"}}),g})(),Me=(()=>{class g{constructor(m,b,P){P._addDefault(new Rt(m,b))}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.ViewContainerRef),p.\u0275\u0275directiveInject(p.TemplateRef),p.\u0275\u0275directiveInject(Xr,9))},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngSwitchDefault",""]]}),g})(),ht=(()=>{class g{constructor(m){this._localization=m,this._caseViews={}}set ngPlural(m){this._switchValue=m,this._updateView()}addCase(m,b){this._caseViews[m]=b}_updateView(){this._clearViews();const m=Object.keys(this._caseViews),b=Zr(this._switchValue,m,this._localization);this._activateView(this._caseViews[b])}_clearViews(){this._activeView&&this._activeView.destroy()}_activateView(m){m&&(this._activeView=m,this._activeView.create())}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(Un))},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngPlural",""]],inputs:{ngPlural:"ngPlural"}}),g})(),Lt=(()=>{class g{constructor(m,b,P,q){this.value=m;const le=!isNaN(Number(m));q.addCase(le?`=${m}`:m,new Rt(P,b))}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275injectAttribute("ngPluralCase"),p.\u0275\u0275directiveInject(p.TemplateRef),p.\u0275\u0275directiveInject(p.ViewContainerRef),p.\u0275\u0275directiveInject(ht,1))},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngPluralCase",""]]}),g})(),Yn=(()=>{class g{constructor(m,b,P){this._ngEl=m,this._differs=b,this._renderer=P,this._ngStyle=null,this._differ=null}set ngStyle(m){this._ngStyle=m,!this._differ&&m&&(this._differ=this._differs.find(m).create())}ngDoCheck(){if(this._differ){const m=this._differ.diff(this._ngStyle);m&&this._applyChanges(m)}}_setStyle(m,b){const[P,q]=m.split(".");null!=(b=null!=b&&q?`${b}${q}`:b)?this._renderer.setStyle(this._ngEl.nativeElement,P,b):this._renderer.removeStyle(this._ngEl.nativeElement,P)}_applyChanges(m){m.forEachRemovedItem(b=>this._setStyle(b.key,null)),m.forEachAddedItem(b=>this._setStyle(b.key,b.currentValue)),m.forEachChangedItem(b=>this._setStyle(b.key,b.currentValue))}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(p.KeyValueDiffers),p.\u0275\u0275directiveInject(p.Renderer2))},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngStyle",""]],inputs:{ngStyle:"ngStyle"}}),g})(),Nt=(()=>{class g{constructor(m){this._viewContainerRef=m,this._viewRef=null,this.ngTemplateOutletContext=null,this.ngTemplateOutlet=null}ngOnChanges(m){if(m.ngTemplateOutlet){const b=this._viewContainerRef;this._viewRef&&b.remove(b.indexOf(this._viewRef)),this._viewRef=this.ngTemplateOutlet?b.createEmbeddedView(this.ngTemplateOutlet,this.ngTemplateOutletContext):null}else this._viewRef&&m.ngTemplateOutletContext&&this.ngTemplateOutletContext&&(this._viewRef.context=this.ngTemplateOutletContext)}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.ViewContainerRef))},g.\u0275dir=p.\u0275\u0275defineDirective({type:g,selectors:[["","ngTemplateOutlet",""]],inputs:{ngTemplateOutletContext:"ngTemplateOutletContext",ngTemplateOutlet:"ngTemplateOutlet"},features:[p.\u0275\u0275NgOnChangesFeature]}),g})();function lt(g,C){return Error(`InvalidPipeArgument: '${C}' for pipe '${(0,p.\u0275stringify)(g)}'`)}class Gt{createSubscription(C,m){return C.subscribe({next:m,error:b=>{throw b}})}dispose(C){C.unsubscribe()}onDestroy(C){C.unsubscribe()}}class An{createSubscription(C,m){return C.then(m,b=>{throw b})}dispose(C){}onDestroy(C){}}const ze=new An,Jr=new Gt;let Rn=(()=>{class g{constructor(m){this._ref=m,this._latestValue=null,this._subscription=null,this._obj=null,this._strategy=null}ngOnDestroy(){this._subscription&&this._dispose()}transform(m){return this._obj?m!==this._obj?(this._dispose(),this.transform(m)):this._latestValue:(m&&this._subscribe(m),this._latestValue)}_subscribe(m){this._obj=m,this._strategy=this._selectStrategy(m),this._subscription=this._strategy.createSubscription(m,b=>this._updateLatestValue(m,b))}_selectStrategy(m){if((0,p.\u0275isPromise)(m))return ze;if((0,p.\u0275isSubscribable)(m))return Jr;throw lt(g,m)}_dispose(){this._strategy.dispose(this._subscription),this._latestValue=null,this._subscription=null,this._obj=null}_updateLatestValue(m,b){m===this._obj&&(this._latestValue=b,this._ref.markForCheck())}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.ChangeDetectorRef,16))},g.\u0275pipe=p.\u0275\u0275definePipe({name:"async",type:g,pure:!1}),g})(),Er=(()=>{class g{transform(m){if(null==m)return null;if("string"!=typeof m)throw lt(g,m);return m.toLowerCase()}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=p.\u0275\u0275definePipe({name:"lowercase",type:g,pure:!0}),g})();const ir=/(?:[0-9A-Za-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\u0531-\u0556\u0559\u0560-\u0588\u05D0-\u05EA\u05EF-\u05F2\u0620-\u064A\u066E\u066F\u0671-\u06D3\u06D5\u06E5\u06E6\u06EE\u06EF\u06FA-\u06FC\u06FF\u0710\u0712-\u072F\u074D-\u07A5\u07B1\u07CA-\u07EA\u07F4\u07F5\u07FA\u0800-\u0815\u081A\u0824\u0828\u0840-\u0858\u0860-\u086A\u0870-\u0887\u0889-\u088E\u08A0-\u08C9\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BD\u09CE\u09DC\u09DD\u09DF-\u09E1\u09F0\u09F1\u09FC\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A59-\u0A5C\u0A5E\u0A72-\u0A74\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABD\u0AD0\u0AE0\u0AE1\u0AF9\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3D\u0B5C\u0B5D\u0B5F-\u0B61\u0B71\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BD0\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D\u0C58-\u0C5A\u0C5D\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D04-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\u0D61\u0D7A-\u0D7F\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0E01-\u0E30\u0E32\u0E33\u0E40-\u0E46\u0E81\u0E82\u0E84\u0E86-\u0E8A\u0E8C-\u0EA3\u0EA5\u0EA7-\u0EB0\u0EB2\u0EB3\u0EBD\u0EC0-\u0EC4\u0EC6\u0EDC-\u0EDF\u0F00\u0F40-\u0F47\u0F49-\u0F6C\u0F88-\u0F8C\u1000-\u102A\u103F\u1050-\u1055\u105A-\u105D\u1061\u1065\u1066\u106E-\u1070\u1075-\u1081\u108E\u10A0-\u10C5\u10C7\u10CD\u10D0-\u10FA\u10FC-\u1248\u124A-\u124D\u1250-\u1256\u1258\u125A-\u125D\u1260-\u1288\u128A-\u128D\u1290-\u12B0\u12B2-\u12B5\u12B8-\u12BE\u12C0\u12C2-\u12C5\u12C8-\u12D6\u12D8-\u1310\u1312-\u1315\u1318-\u135A\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16F1-\u16F8\u1700-\u1711\u171F-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1878\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4C\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\u1C90-\u1CBA\u1CBD-\u1CBF\u1CE9-\u1CEC\u1CEE-\u1CF3\u1CF5\u1CF6\u1CFA\u1D00-\u1DBF\u1E00-\u1F15\u1F18-\u1F1D\u1F20-\u1F45\u1F48-\u1F4D\u1F50-\u1F57\u1F59\u1F5B\u1F5D\u1F5F-\u1F7D\u1F80-\u1FB4\u1FB6-\u1FBC\u1FBE\u1FC2-\u1FC4\u1FC6-\u1FCC\u1FD0-\u1FD3\u1FD6-\u1FDB\u1FE0-\u1FEC\u1FF2-\u1FF4\u1FF6-\u1FFC\u2071\u207F\u2090-\u209C\u2102\u2107\u210A-\u2113\u2115\u2119-\u211D\u2124\u2126\u2128\u212A-\u212D\u212F-\u2139\u213C-\u213F\u2145-\u2149\u214E\u2183\u2184\u2C00-\u2CE4\u2CEB-\u2CEE\u2CF2\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D80-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2E2F\u3005\u3006\u3031-\u3035\u303B\u303C\u3041-\u3096\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312F\u3131-\u318E\u31A0-\u31BF\u31F0-\u31FF\u3400-\u4DBF\u4E00-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6E5\uA717-\uA71F\uA722-\uA788\uA78B-\uA7CA\uA7D0\uA7D1\uA7D3\uA7D5-\uA7D9\uA7F2-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA8FE\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB69\uAB70-\uABE2\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D\uFB1F-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE70-\uFE74\uFE76-\uFEFC\uFF21-\uFF3A\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]|\uD800[\uDC00-\uDC0B\uDC0D-\uDC26\uDC28-\uDC3A\uDC3C\uDC3D\uDC3F-\uDC4D\uDC50-\uDC5D\uDC80-\uDCFA\uDE80-\uDE9C\uDEA0-\uDED0\uDF00-\uDF1F\uDF2D-\uDF40\uDF42-\uDF49\uDF50-\uDF75\uDF80-\uDF9D\uDFA0-\uDFC3\uDFC8-\uDFCF]|\uD801[\uDC00-\uDC9D\uDCB0-\uDCD3\uDCD8-\uDCFB\uDD00-\uDD27\uDD30-\uDD63\uDD70-\uDD7A\uDD7C-\uDD8A\uDD8C-\uDD92\uDD94\uDD95\uDD97-\uDDA1\uDDA3-\uDDB1\uDDB3-\uDDB9\uDDBB\uDDBC\uDE00-\uDF36\uDF40-\uDF55\uDF60-\uDF67\uDF80-\uDF85\uDF87-\uDFB0\uDFB2-\uDFBA]|\uD802[\uDC00-\uDC05\uDC08\uDC0A-\uDC35\uDC37\uDC38\uDC3C\uDC3F-\uDC55\uDC60-\uDC76\uDC80-\uDC9E\uDCE0-\uDCF2\uDCF4\uDCF5\uDD00-\uDD15\uDD20-\uDD39\uDD80-\uDDB7\uDDBE\uDDBF\uDE00\uDE10-\uDE13\uDE15-\uDE17\uDE19-\uDE35\uDE60-\uDE7C\uDE80-\uDE9C\uDEC0-\uDEC7\uDEC9-\uDEE4\uDF00-\uDF35\uDF40-\uDF55\uDF60-\uDF72\uDF80-\uDF91]|\uD803[\uDC00-\uDC48\uDC80-\uDCB2\uDCC0-\uDCF2\uDD00-\uDD23\uDE80-\uDEA9\uDEB0\uDEB1\uDF00-\uDF1C\uDF27\uDF30-\uDF45\uDF70-\uDF81\uDFB0-\uDFC4\uDFE0-\uDFF6]|\uD804[\uDC03-\uDC37\uDC71\uDC72\uDC75\uDC83-\uDCAF\uDCD0-\uDCE8\uDD03-\uDD26\uDD44\uDD47\uDD50-\uDD72\uDD76\uDD83-\uDDB2\uDDC1-\uDDC4\uDDDA\uDDDC\uDE00-\uDE11\uDE13-\uDE2B\uDE80-\uDE86\uDE88\uDE8A-\uDE8D\uDE8F-\uDE9D\uDE9F-\uDEA8\uDEB0-\uDEDE\uDF05-\uDF0C\uDF0F\uDF10\uDF13-\uDF28\uDF2A-\uDF30\uDF32\uDF33\uDF35-\uDF39\uDF3D\uDF50\uDF5D-\uDF61]|\uD805[\uDC00-\uDC34\uDC47-\uDC4A\uDC5F-\uDC61\uDC80-\uDCAF\uDCC4\uDCC5\uDCC7\uDD80-\uDDAE\uDDD8-\uDDDB\uDE00-\uDE2F\uDE44\uDE80-\uDEAA\uDEB8\uDF00-\uDF1A\uDF40-\uDF46]|\uD806[\uDC00-\uDC2B\uDCA0-\uDCDF\uDCFF-\uDD06\uDD09\uDD0C-\uDD13\uDD15\uDD16\uDD18-\uDD2F\uDD3F\uDD41\uDDA0-\uDDA7\uDDAA-\uDDD0\uDDE1\uDDE3\uDE00\uDE0B-\uDE32\uDE3A\uDE50\uDE5C-\uDE89\uDE9D\uDEB0-\uDEF8]|\uD807[\uDC00-\uDC08\uDC0A-\uDC2E\uDC40\uDC72-\uDC8F\uDD00-\uDD06\uDD08\uDD09\uDD0B-\uDD30\uDD46\uDD60-\uDD65\uDD67\uDD68\uDD6A-\uDD89\uDD98\uDEE0-\uDEF2\uDFB0]|\uD808[\uDC00-\uDF99]|\uD809[\uDC80-\uDD43]|\uD80B[\uDF90-\uDFF0]|[\uD80C\uD81C-\uD820\uD822\uD840-\uD868\uD86A-\uD86C\uD86F-\uD872\uD874-\uD879\uD880-\uD883][\uDC00-\uDFFF]|\uD80D[\uDC00-\uDC2E]|\uD811[\uDC00-\uDE46]|\uD81A[\uDC00-\uDE38\uDE40-\uDE5E\uDE70-\uDEBE\uDED0-\uDEED\uDF00-\uDF2F\uDF40-\uDF43\uDF63-\uDF77\uDF7D-\uDF8F]|\uD81B[\uDE40-\uDE7F\uDF00-\uDF4A\uDF50\uDF93-\uDF9F\uDFE0\uDFE1\uDFE3]|\uD821[\uDC00-\uDFF7]|\uD823[\uDC00-\uDCD5\uDD00-\uDD08]|\uD82B[\uDFF0-\uDFF3\uDFF5-\uDFFB\uDFFD\uDFFE]|\uD82C[\uDC00-\uDD22\uDD50-\uDD52\uDD64-\uDD67\uDD70-\uDEFB]|\uD82F[\uDC00-\uDC6A\uDC70-\uDC7C\uDC80-\uDC88\uDC90-\uDC99]|\uD835[\uDC00-\uDC54\uDC56-\uDC9C\uDC9E\uDC9F\uDCA2\uDCA5\uDCA6\uDCA9-\uDCAC\uDCAE-\uDCB9\uDCBB\uDCBD-\uDCC3\uDCC5-\uDD05\uDD07-\uDD0A\uDD0D-\uDD14\uDD16-\uDD1C\uDD1E-\uDD39\uDD3B-\uDD3E\uDD40-\uDD44\uDD46\uDD4A-\uDD50\uDD52-\uDEA5\uDEA8-\uDEC0\uDEC2-\uDEDA\uDEDC-\uDEFA\uDEFC-\uDF14\uDF16-\uDF34\uDF36-\uDF4E\uDF50-\uDF6E\uDF70-\uDF88\uDF8A-\uDFA8\uDFAA-\uDFC2\uDFC4-\uDFCB]|\uD837[\uDF00-\uDF1E]|\uD838[\uDD00-\uDD2C\uDD37-\uDD3D\uDD4E\uDE90-\uDEAD\uDEC0-\uDEEB]|\uD839[\uDFE0-\uDFE6\uDFE8-\uDFEB\uDFED\uDFEE\uDFF0-\uDFFE]|\uD83A[\uDC00-\uDCC4\uDD00-\uDD43\uDD4B]|\uD83B[\uDE00-\uDE03\uDE05-\uDE1F\uDE21\uDE22\uDE24\uDE27\uDE29-\uDE32\uDE34-\uDE37\uDE39\uDE3B\uDE42\uDE47\uDE49\uDE4B\uDE4D-\uDE4F\uDE51\uDE52\uDE54\uDE57\uDE59\uDE5B\uDE5D\uDE5F\uDE61\uDE62\uDE64\uDE67-\uDE6A\uDE6C-\uDE72\uDE74-\uDE77\uDE79-\uDE7C\uDE7E\uDE80-\uDE89\uDE8B-\uDE9B\uDEA1-\uDEA3\uDEA5-\uDEA9\uDEAB-\uDEBB]|\uD869[\uDC00-\uDEDF\uDF00-\uDFFF]|\uD86D[\uDC00-\uDF38\uDF40-\uDFFF]|\uD86E[\uDC00-\uDC1D\uDC20-\uDFFF]|\uD873[\uDC00-\uDEA1\uDEB0-\uDFFF]|\uD87A[\uDC00-\uDFE0]|\uD87E[\uDC00-\uDE1D]|\uD884[\uDC00-\uDF4A])\S*/g;let Ot=(()=>{class g{transform(m){if(null==m)return null;if("string"!=typeof m)throw lt(g,m);return m.replace(ir,b=>b[0].toUpperCase()+b.substr(1).toLowerCase())}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=p.\u0275\u0275definePipe({name:"titlecase",type:g,pure:!0}),g})(),sr=(()=>{class g{transform(m){if(null==m)return null;if("string"!=typeof m)throw lt(g,m);return m.toUpperCase()}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=p.\u0275\u0275definePipe({name:"uppercase",type:g,pure:!0}),g})();const xn=new p.InjectionToken("DATE_PIPE_DEFAULT_TIMEZONE");let an=(()=>{class g{constructor(m,b){this.locale=m,this.defaultTimezone=b}transform(m,b="mediumDate",P,q){var le;if(null==m||""===m||m!=m)return null;try{return Rr(m,b,q||this.locale,null!==(le=null!=P?P:this.defaultTimezone)&&void 0!==le?le:void 0)}catch(Fe){throw lt(g,Fe.message)}}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.LOCALE_ID,16),p.\u0275\u0275directiveInject(xn,24))},g.\u0275pipe=p.\u0275\u0275definePipe({name:"date",type:g,pure:!0}),g})();const ft=/#/g;let bi=(()=>{class g{constructor(m){this._localization=m}transform(m,b,P){if(null==m)return"";if("object"!=typeof b||null===b)throw lt(g,b);return b[Zr(m,Object.keys(b),this._localization,P)].replace(ft,m.toString())}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(Un,16))},g.\u0275pipe=p.\u0275\u0275definePipe({name:"i18nPlural",type:g,pure:!0}),g})(),Cr=(()=>{class g{transform(m,b){if(null==m)return"";if("object"!=typeof b||"string"!=typeof m)throw lt(g,b);return b.hasOwnProperty(m)?b[m]:b.hasOwnProperty("other")?b.other:""}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=p.\u0275\u0275definePipe({name:"i18nSelect",type:g,pure:!0}),g})(),fn=(()=>{class g{transform(m){return JSON.stringify(m,null,2)}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=p.\u0275\u0275definePipe({name:"json",type:g,pure:!1}),g})(),wr=(()=>{class g{constructor(m){this.differs=m,this.keyValues=[],this.compareFn=br}transform(m,b=br){if(!m||!(m instanceof Map)&&"object"!=typeof m)return null;this.differ||(this.differ=this.differs.find(m).create());const P=this.differ.diff(m),q=b!==this.compareFn;return P&&(this.keyValues=[],P.forEachItem(le=>{this.keyValues.push(function(g,C){return{key:g,value:C}}(le.key,le.currentValue))})),(P||q)&&(this.keyValues.sort(b),this.compareFn=b),this.keyValues}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.KeyValueDiffers,16))},g.\u0275pipe=p.\u0275\u0275definePipe({name:"keyvalue",type:g,pure:!1}),g})();function br(g,C){const m=g.key,b=C.key;if(m===b)return 0;if(void 0===m)return 1;if(void 0===b)return-1;if(null===m)return 1;if(null===b)return-1;if("string"==typeof m&&"string"==typeof b)return m<b?-1:1;if("number"==typeof m&&"number"==typeof b)return m-b;if("boolean"==typeof m&&"boolean"==typeof b)return m<b?-1:1;const P=String(m),q=String(b);return P==q?0:P<q?-1:1}let Mr=(()=>{class g{constructor(m){this._locale=m}transform(m,b,P){if(!kr(m))return null;P=P||this._locale;try{return Lr(ei(m),P,b)}catch(q){throw lt(g,q.message)}}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.LOCALE_ID,16))},g.\u0275pipe=p.\u0275\u0275definePipe({name:"number",type:g,pure:!0}),g})(),vn=(()=>{class g{constructor(m){this._locale=m}transform(m,b,P){if(!kr(m))return null;P=P||this._locale;try{return yn(ei(m),P,b)}catch(q){throw lt(g,q.message)}}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.LOCALE_ID,16))},g.\u0275pipe=p.\u0275\u0275definePipe({name:"percent",type:g,pure:!0}),g})(),Ar=(()=>{class g{constructor(m,b="USD"){this._locale=m,this._defaultCurrencyCode=b}transform(m,b=this._defaultCurrencyCode,P="symbol",q,le){if(!kr(m))return null;le=le||this._locale,"boolean"==typeof P&&(P=P?"symbol":"code");let Fe=b||this._defaultCurrencyCode;"code"!==P&&(Fe="symbol"===P||"symbol-narrow"===P?Bt(Fe,"symbol"===P?"wide":"narrow",le):P);try{return bn(ei(m),le,Fe,b,q)}catch(Ct){throw lt(g,Ct.message)}}}return g.\u0275fac=function(m){return new(m||g)(p.\u0275\u0275directiveInject(p.LOCALE_ID,16),p.\u0275\u0275directiveInject(p.DEFAULT_CURRENCY_CODE,16))},g.\u0275pipe=p.\u0275\u0275definePipe({name:"currency",type:g,pure:!0}),g})();function kr(g){return!(null==g||""===g||g!=g)}function ei(g){if("string"==typeof g&&!isNaN(Number(g)-parseFloat(g)))return Number(g);if("number"!=typeof g)throw new Error(`${g} is not a number`);return g}let Ir=(()=>{class g{transform(m,b,P){if(null==m)return null;if(!this.supports(m))throw lt(g,m);return m.slice(b,P)}supports(m){return"string"==typeof m||Array.isArray(m)}}return g.\u0275fac=function(m){return new(m||g)},g.\u0275pipe=p.\u0275\u0275definePipe({name:"slice",type:g,pure:!1}),g})(),ks=(()=>{class g{}return g.\u0275fac=function(m){return new(m||g)},g.\u0275mod=p.\u0275\u0275defineNgModule({type:g}),g.\u0275inj=p.\u0275\u0275defineInjector({providers:[{provide:Un,useClass:vr}]}),g})();const ti="browser",Mi="server",hi="browserWorkerApp",Ai="browserWorkerUi";function pi(g){return g===ti}function Vi(g){return g===Mi}function gi(g){return g===hi}function qi(g){return g===Ai}const Ii=new p.Version("13.1.1");let Qi=(()=>{class g{}return g.\u0275prov=(0,p.\u0275\u0275defineInjectable)({token:g,providedIn:"root",factory:()=>new ki((0,p.\u0275\u0275inject)(Ee),window)}),g})();class ki{constructor(C,m){this.document=C,this.window=m,this.offset=()=>[0,0]}setOffset(C){this.offset=Array.isArray(C)?()=>C:C}getScrollPosition(){return this.supportsScrolling()?[this.window.pageXOffset,this.window.pageYOffset]:[0,0]}scrollToPosition(C){this.supportsScrolling()&&this.window.scrollTo(C[0],C[1])}scrollToAnchor(C){if(!this.supportsScrolling())return;const m=function(g,C){const m=g.getElementById(C)||g.getElementsByName(C)[0];if(m)return m;if("function"==typeof g.createTreeWalker&&g.body&&(g.body.createShadowRoot||g.body.attachShadow)){const b=g.createTreeWalker(g.body,NodeFilter.SHOW_ELEMENT);let P=b.currentNode;for(;P;){const q=P.shadowRoot;if(q){const le=q.getElementById(C)||q.querySelector(`[name="${C}"]`);if(le)return le}P=b.nextNode()}}return null}(this.document,C);m&&(this.scrollToElement(m),this.attemptFocus(m))}setHistoryScrollRestoration(C){if(this.supportScrollRestoration()){const m=this.window.history;m&&m.scrollRestoration&&(m.scrollRestoration=C)}}scrollToElement(C){const m=C.getBoundingClientRect(),b=m.left+this.window.pageXOffset,P=m.top+this.window.pageYOffset,q=this.offset();this.window.scrollTo(b-q[0],P-q[1])}attemptFocus(C){return C.focus(),this.document.activeElement===C}supportScrollRestoration(){try{if(!this.supportsScrolling())return!1;const C=mi(this.window.history)||mi(Object.getPrototypeOf(this.window.history));return!(!C||!C.writable&&!C.set)}catch(C){return!1}}supportsScrolling(){try{return!!this.window&&!!this.window.scrollTo&&"pageXOffset"in this.window}catch(C){return!1}}}function mi(g){return Object.getOwnPropertyDescriptor(g,"scrollRestoration")}class yi{setOffset(C){}getScrollPosition(){return[0,0]}scrollToPosition(C){}scrollToAnchor(C){}setHistoryScrollRestoration(C){}}class Si{}},999:(We,ce,L)=>{"use strict";L.r(ce),L.d(ce,{ANALYZE_FOR_ENTRY_COMPONENTS:()=>Ay,APP_BOOTSTRAP_LISTENER:()=>Tm,APP_ID:()=>Mm,APP_INITIALIZER:()=>Dc,ApplicationInitStatus:()=>Vs,ApplicationModule:()=>sb,ApplicationRef:()=>Mo,Attribute:()=>pd,COMPILER_OPTIONS:()=>Om,CUSTOM_ELEMENTS_SCHEMA:()=>Zd,ChangeDetectionStrategy:()=>xt,ChangeDetectorRef:()=>qm,Compiler:()=>Cc,CompilerFactory:()=>gw,Component:()=>iw,ComponentFactory:()=>ga,ComponentFactoryResolver:()=>_o,ComponentRef:()=>cg,ContentChild:()=>Sy,ContentChildren:()=>Iy,DEFAULT_CURRENCY_CODE:()=>Nm,DebugElement:()=>$w,DebugEventListener:()=>xw,DebugNode:()=>Uw,DefaultIterableDiffer:()=>ey,Directive:()=>bm,ElementRef:()=>vo,EmbeddedViewRef:()=>Rw,ErrorHandler:()=>to,EventEmitter:()=>ui,Host:()=>Ed,HostBinding:()=>lw,HostListener:()=>uw,INJECTOR:()=>ia,Inject:()=>Qs,InjectFlags:()=>Ve,Injectable:()=>FD,InjectionToken:()=>Xt,Injector:()=>ur,Input:()=>ow,IterableDiffers:()=>Ia,KeyValueDiffers:()=>Sa,LOCALE_ID:()=>Ma,MissingTranslationStrategy:()=>ci,ModuleWithComponentFactories:()=>Pm,NO_ERRORS_SCHEMA:()=>Yd,NgModule:()=>cw,NgModuleFactory:()=>Dg,NgModuleRef:()=>Rs,NgProbeToken:()=>bw,NgZone:()=>cr,Optional:()=>ji,Output:()=>aw,PACKAGE_ROOT_URL:()=>fw,PLATFORM_ID:()=>Sm,PLATFORM_INITIALIZER:()=>Im,Pipe:()=>sw,PlatformRef:()=>Fc,Query:()=>Gs,QueryList:()=>Da,ReflectiveInjector:()=>Ss,ReflectiveKey:()=>Ci,Renderer2:()=>vC,RendererFactory2:()=>fg,RendererStyleFlags2:()=>si,ResolvedReflectiveFactory:()=>jh,Sanitizer:()=>hg,SecurityContext:()=>sn,Self:()=>Go,SimpleChange:()=>b,SkipSelf:()=>Hi,TRANSLATIONS:()=>hw,TRANSLATIONS_FORMAT:()=>pw,TemplateRef:()=>Co,Testability:()=>Vm,TestabilityRegistry:()=>Ac,Type:()=>jo,VERSION:()=>gg,Version:()=>pg,ViewChild:()=>Fy,ViewChildren:()=>Ty,ViewContainerRef:()=>Ca,ViewEncapsulation:()=>O,ViewRef:()=>Zm,asNativeElements:()=>Lw,assertPlatform:()=>Um,createNgModuleRef:()=>IC,createPlatform:()=>jm,createPlatformFactory:()=>Hm,defineInjectable:()=>Rr,destroyPlatform:()=>Mw,enableProdMode:()=>Fw,forwardRef:()=>rt,getDebugNode:()=>Aa,getModuleFactory:()=>Nw,getNgModuleById:()=>Pw,getPlatform:()=>Tc,inject:()=>Gy,isDevMode:()=>Tw,platformCore:()=>Xw,resolveForwardRef:()=>Se,setTestabilityGetter:()=>Cw,\u0275ALLOW_MULTIPLE_PLATFORMS:()=>Sc,\u0275APP_ID_RANDOM_PROVIDER:()=>Am,\u0275ChangeDetectorStatus:()=>Pt,\u0275ComponentFactory:()=>ga,\u0275Console:()=>Fm,\u0275DEFAULT_LOCALE_ID:()=>ho,\u0275INJECTOR_SCOPE:()=>kl,\u0275LifecycleHooksFeature:()=>Ah,\u0275LocaleDataIndex:()=>Ue,\u0275NG_COMP_DEF:()=>nr,\u0275NG_DIR_DEF:()=>gr,\u0275NG_ELEMENT_ID:()=>yn,\u0275NG_INJ_DEF:()=>ct,\u0275NG_MOD_DEF:()=>Hn,\u0275NG_PIPE_DEF:()=>mr,\u0275NG_PROV_DEF:()=>er,\u0275NOT_FOUND_CHECK_ONLY_ELEMENT_INJECTOR:()=>ma,\u0275NO_CHANGE:()=>Ze,\u0275NgModuleFactory:()=>va,\u0275NoopNgZone:()=>Lm,\u0275ReflectionCapabilities:()=>ja,\u0275Render3ComponentFactory:()=>_a,\u0275Render3ComponentRef:()=>_g,\u0275Render3NgModuleRef:()=>sc,\u0275RuntimeError:()=>vt,\u0275ViewRef:()=>Os,\u0275_sanitizeHtml:()=>kd,\u0275_sanitizeUrl:()=>Ys,\u0275allowSanitizationBypassAndThrow:()=>cs,\u0275bypassSanitizationTrustHtml:()=>o_,\u0275bypassSanitizationTrustResourceUrl:()=>c_,\u0275bypassSanitizationTrustScript:()=>l_,\u0275bypassSanitizationTrustStyle:()=>a_,\u0275bypassSanitizationTrustUrl:()=>u_,\u0275clearResolutionOfComponentResourcesQueue:()=>Ad,\u0275compileComponent:()=>fm,\u0275compileDirective:()=>vc,\u0275compileNgModule:()=>om,\u0275compileNgModuleDefs:()=>am,\u0275compileNgModuleFactory:()=>km,\u0275compilePipe:()=>Cm,\u0275createInjector:()=>jl,\u0275defaultIterableDiffers:()=>oy,\u0275defaultKeyValueDiffers:()=>ay,\u0275detectChanges:()=>lh,\u0275devModeEqual:()=>Th,\u0275findLocaleData:()=>Qu,\u0275flushModuleScopingQueueAsMuchAsPossible:()=>im,\u0275getDebugNode:()=>Aa,\u0275getDebugNodeR2:()=>Hw,\u0275getDirectives:()=>vh,\u0275getHostElement:()=>$l,\u0275getInjectableDef:()=>Ht,\u0275getLContext:()=>Vn,\u0275getLocaleCurrencyCode:()=>vE,\u0275getLocalePluralCase:()=>Rp,\u0275getSanitizationBypassType:()=>Fd,\u0275global:()=>be,\u0275injectChangeDetectorRef:()=>Qm,\u0275isBoundToModule:()=>Bm,\u0275isDefaultChangeDetectionStrategy:()=>tr,\u0275isListLikeIterable:()=>ao,\u0275isObservable:()=>Qh,\u0275isPromise:()=>hu,\u0275isSubscribable:()=>qh,\u0275ivyEnabled:()=>ob,\u0275makeDecorator:()=>ss,\u0275markDirty:()=>uh,\u0275noSideEffects:()=>Ut,\u0275patchComponentDefWithScope:()=>mc,\u0275publishDefaultGlobalUtils:()=>hD,\u0275publishGlobalUtil:()=>Fr,\u0275registerLocaleData:()=>_E,\u0275registerNgModuleType:()=>Cg,\u0275renderComponent:()=>pD,\u0275resetCompiledComponents:()=>qC,\u0275resetJitOptions:()=>WC,\u0275resolveComponentResources:()=>bd,\u0275setClassMetadata:()=>vg,\u0275setCurrentInjector:()=>$a,\u0275setDocument:()=>f,\u0275setLocaleId:()=>Vp,\u0275store:()=>Nh,\u0275stringify:()=>z,\u0275transitiveScopesFor:()=>bo,\u0275unregisterLocaleData:()=>DE,\u0275unwrapSafeValue:()=>vi,\u0275whenRendered:()=>gD,\u0275\u0275CopyDefinitionFeature:()=>Sh,\u0275\u0275FactoryTarget:()=>hn,\u0275\u0275InheritDefinitionFeature:()=>zl,\u0275\u0275NgOnChangesFeature:()=>P,\u0275\u0275ProvidersFeature:()=>ug,\u0275\u0275advance:()=>Tf,\u0275\u0275attribute:()=>ql,\u0275\u0275attributeInterpolate1:()=>Ql,\u0275\u0275attributeInterpolate2:()=>Zl,\u0275\u0275attributeInterpolate3:()=>Yl,\u0275\u0275attributeInterpolate4:()=>Xl,\u0275\u0275attributeInterpolate5:()=>Jl,\u0275\u0275attributeInterpolate6:()=>eu,\u0275\u0275attributeInterpolate7:()=>tu,\u0275\u0275attributeInterpolate8:()=>nu,\u0275\u0275attributeInterpolateV:()=>ru,\u0275\u0275classMap:()=>lp,\u0275\u0275classMapInterpolate1:()=>mp,\u0275\u0275classMapInterpolate2:()=>yp,\u0275\u0275classMapInterpolate3:()=>_p,\u0275\u0275classMapInterpolate4:()=>vp,\u0275\u0275classMapInterpolate5:()=>Dp,\u0275\u0275classMapInterpolate6:()=>Ep,\u0275\u0275classMapInterpolate7:()=>Cp,\u0275\u0275classMapInterpolate8:()=>wp,\u0275\u0275classMapInterpolateV:()=>bp,\u0275\u0275classProp:()=>Iu,\u0275\u0275contentQuery:()=>Xg,\u0275\u0275defineComponent:()=>Pn,\u0275\u0275defineDirective:()=>Vr,\u0275\u0275defineInjectable:()=>Te,\u0275\u0275defineInjector:()=>Tn,\u0275\u0275defineNgModule:()=>Un,\u0275\u0275definePipe:()=>On,\u0275\u0275directiveInject:()=>co,\u0275\u0275disableBindings:()=>or,\u0275\u0275element:()=>zh,\u0275\u0275elementContainer:()=>Wh,\u0275\u0275elementContainerEnd:()=>fu,\u0275\u0275elementContainerStart:()=>du,\u0275\u0275elementEnd:()=>cu,\u0275\u0275elementStart:()=>uu,\u0275\u0275enableBindings:()=>_i,\u0275\u0275getCurrentView:()=>Kh,\u0275\u0275getInheritedFactory:()=>hd,\u0275\u0275hostProperty:()=>Ku,\u0275\u0275i18n:()=>ig,\u0275\u0275i18nApply:()=>og,\u0275\u0275i18nAttributes:()=>sg,\u0275\u0275i18nEnd:()=>Ju,\u0275\u0275i18nExp:()=>ec,\u0275\u0275i18nPostprocess:()=>ag,\u0275\u0275i18nStart:()=>Xu,\u0275\u0275inject:()=>Cn,\u0275\u0275injectAttribute:()=>Va,\u0275\u0275invalidFactory:()=>Gh,\u0275\u0275invalidFactoryDep:()=>Ga,\u0275\u0275listener:()=>pu,\u0275\u0275loadQuery:()=>Jg,\u0275\u0275namespaceHTML:()=>ed,\u0275\u0275namespaceMathML:()=>Jc,\u0275\u0275namespaceSVG:()=>Xc,\u0275\u0275nextContext:()=>Xh,\u0275\u0275ngDeclareClassMetadata:()=>lb,\u0275\u0275ngDeclareComponent:()=>ub,\u0275\u0275ngDeclareDirective:()=>ab,\u0275\u0275ngDeclareFactory:()=>cb,\u0275\u0275ngDeclareInjectable:()=>fb,\u0275\u0275ngDeclareInjector:()=>hb,\u0275\u0275ngDeclareNgModule:()=>pb,\u0275\u0275ngDeclarePipe:()=>gb,\u0275\u0275pipe:()=>Bg,\u0275\u0275pipeBind1:()=>jg,\u0275\u0275pipeBind2:()=>Hg,\u0275\u0275pipeBind3:()=>Ug,\u0275\u0275pipeBind4:()=>$g,\u0275\u0275pipeBindV:()=>Gg,\u0275\u0275projection:()=>ep,\u0275\u0275projectionDef:()=>Jh,\u0275\u0275property:()=>au,\u0275\u0275propertyInterpolate:()=>yu,\u0275\u0275propertyInterpolate1:()=>la,\u0275\u0275propertyInterpolate2:()=>_u,\u0275\u0275propertyInterpolate3:()=>vu,\u0275\u0275propertyInterpolate4:()=>Du,\u0275\u0275propertyInterpolate5:()=>Eu,\u0275\u0275propertyInterpolate6:()=>Cu,\u0275\u0275propertyInterpolate7:()=>wu,\u0275\u0275propertyInterpolate8:()=>bu,\u0275\u0275propertyInterpolateV:()=>Mu,\u0275\u0275pureFunction0:()=>bg,\u0275\u0275pureFunction1:()=>Mg,\u0275\u0275pureFunction2:()=>Ag,\u0275\u0275pureFunction3:()=>Ig,\u0275\u0275pureFunction4:()=>Sg,\u0275\u0275pureFunction5:()=>Tg,\u0275\u0275pureFunction6:()=>Fg,\u0275\u0275pureFunction7:()=>Ng,\u0275\u0275pureFunction8:()=>Pg,\u0275\u0275pureFunctionV:()=>Og,\u0275\u0275queryRefresh:()=>Zg,\u0275\u0275reference:()=>Ph,\u0275\u0275resolveBody:()=>nf,\u0275\u0275resolveDocument:()=>tf,\u0275\u0275resolveWindow:()=>ef,\u0275\u0275restoreView:()=>Sr,\u0275\u0275sanitizeHtml:()=>Bd,\u0275\u0275sanitizeResourceUrl:()=>el,\u0275\u0275sanitizeScript:()=>Hd,\u0275\u0275sanitizeStyle:()=>jd,\u0275\u0275sanitizeUrl:()=>Ja,\u0275\u0275sanitizeUrlOrResourceUrl:()=>Gd,\u0275\u0275setComponentScope:()=>yr,\u0275\u0275setNgModuleScope:()=>Zr,\u0275\u0275styleMap:()=>Gr,\u0275\u0275styleMapInterpolate1:()=>Mp,\u0275\u0275styleMapInterpolate2:()=>Ap,\u0275\u0275styleMapInterpolate3:()=>Ip,\u0275\u0275styleMapInterpolate4:()=>Sp,\u0275\u0275styleMapInterpolate5:()=>Tp,\u0275\u0275styleMapInterpolate6:()=>Fp,\u0275\u0275styleMapInterpolate7:()=>Np,\u0275\u0275styleMapInterpolate8:()=>Pp,\u0275\u0275styleMapInterpolateV:()=>Op,\u0275\u0275styleProp:()=>Au,\u0275\u0275stylePropInterpolate1:()=>ku,\u0275\u0275stylePropInterpolate2:()=>Bu,\u0275\u0275stylePropInterpolate3:()=>ju,\u0275\u0275stylePropInterpolate4:()=>Hu,\u0275\u0275stylePropInterpolate5:()=>Uu,\u0275\u0275stylePropInterpolate6:()=>$u,\u0275\u0275stylePropInterpolate7:()=>Gu,\u0275\u0275stylePropInterpolate8:()=>zu,\u0275\u0275stylePropInterpolateV:()=>Wu,\u0275\u0275syntheticHostListener:()=>gu,\u0275\u0275syntheticHostProperty:()=>qu,\u0275\u0275template:()=>Fh,\u0275\u0275templateRefExtractor:()=>rm,\u0275\u0275text:()=>gp,\u0275\u0275textInterpolate:()=>Tu,\u0275\u0275textInterpolate1:()=>ca,\u0275\u0275textInterpolate2:()=>Fu,\u0275\u0275textInterpolate3:()=>Nu,\u0275\u0275textInterpolate4:()=>Pu,\u0275\u0275textInterpolate5:()=>Ou,\u0275\u0275textInterpolate6:()=>Ru,\u0275\u0275textInterpolate7:()=>xu,\u0275\u0275textInterpolate8:()=>Lu,\u0275\u0275textInterpolateV:()=>Vu,\u0275\u0275trustConstantHtml:()=>Ud,\u0275\u0275trustConstantResourceUrl:()=>$d,\u0275\u0275viewQuery:()=>Yg});var p=L(818),N=L(813);const he=(0,L(776).d)(e=>function(){e(this),this.name="ObjectUnsubscribedError",this.message="object unsubscribed"});var pe=L(308),Q=L(519);let Ee=(()=>{class e extends p.y{constructor(){super(),this.closed=!1,this.observers=[],this.isStopped=!1,this.hasError=!1,this.thrownError=null}lift(n){const r=new V(this,this);return r.operator=n,r}_throwIfClosed(){if(this.closed)throw new he}next(n){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){const r=this.observers.slice();for(const i of r)i.next(n)}})}error(n){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.hasError=this.isStopped=!0,this.thrownError=n;const{observers:r}=this;for(;r.length;)r.shift().error(n)}})}complete(){(0,Q.x)(()=>{if(this._throwIfClosed(),!this.isStopped){this.isStopped=!0;const{observers:n}=this;for(;n.length;)n.shift().complete()}})}unsubscribe(){this.isStopped=this.closed=!0,this.observers=null}get observed(){var n;return(null===(n=this.observers)||void 0===n?void 0:n.length)>0}_trySubscribe(n){return this._throwIfClosed(),super._trySubscribe(n)}_subscribe(n){return this._throwIfClosed(),this._checkFinalizedStatuses(n),this._innerSubscribe(n)}_innerSubscribe(n){const{hasError:r,isStopped:i,observers:s}=this;return r||i?N.Lc:(s.push(n),new N.w0(()=>(0,pe.P)(s,n)))}_checkFinalizedStatuses(n){const{hasError:r,thrownError:i,isStopped:s}=this;r?n.error(i):s&&n.complete()}asObservable(){const n=new p.y;return n.source=this,n}}return e.create=(t,n)=>new V(t,n),e})();class V extends Ee{constructor(t,n){super(),this.destination=t,this.source=n}next(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.next)||void 0===r||r.call(n,t)}error(t){var n,r;null===(r=null===(n=this.destination)||void 0===n?void 0:n.error)||void 0===r||r.call(n,t)}complete(){var t,n;null===(n=null===(t=this.destination)||void 0===t?void 0:t.complete)||void 0===n||n.call(t)}_subscribe(t){var n,r;return null!==(r=null===(n=this.source)||void 0===n?void 0:n.subscribe(t))&&void 0!==r?r:N.Lc}}var de=L(969),ie=L(955),fe=L(85),Ke=(L(903),L(499)),J=L(975);function oe(e,t,n=1/0){return(0,J.m)(t)?oe((r,i)=>(0,de.U)((s,a)=>t(r,s,i,a))((0,ie.Xf)(e(r,i))),n):("number"==typeof t&&(n=t),(0,fe.e)((r,i)=>function(e,t,n,r,i,s,a,u){const c=[];let _=0,E=0,I=!1;const F=()=>{I&&!c.length&&!_&&t.complete()},k=ue=>_<r?Y(ue):c.push(ue),Y=ue=>{_++;let De=!1;(0,ie.Xf)(n(ue,E++)).subscribe(new Ke.Q(t,Ae=>{t.next(Ae)},()=>{De=!0},void 0,()=>{if(De)try{for(_--;c.length&&_<r;){const Ae=c.shift();Y(Ae)}F()}catch(Ae){t.error(Ae)}}))};return e.subscribe(new Ke.Q(t,k,()=>{I=!0,F()})),()=>{}}(r,i,e,n)))}var ne=L(330);const X=new p.y(e=>e.complete());var $=L(635),we=L(985);function ot(...e){const t=(0,$.yG)(e),n=(0,$._6)(e,1/0),r=e;return r.length?1===r.length?(0,ie.Xf)(r[0]):function(e=1/0){return oe(ne.y,e)}(n)((0,we.D)(r,t)):X}var He=L(3);function U(e,t,...n){return!0===t?(e(),null):!1===t?null:t(...n).pipe((0,fe.e)((t,n)=>{let r=0;t.subscribe(new Ke.Q(n,i=>{++r<=1&&(n.next(i),1<=r&&n.complete())}))})).subscribe(()=>e())}function j(e){for(let t in e)if(e[t]===j)return t;throw Error("Could not find renamed property on target object.")}function K(e,t){for(const n in t)t.hasOwnProperty(n)&&!e.hasOwnProperty(n)&&(e[n]=t[n])}function z(e){if("string"==typeof e)return e;if(Array.isArray(e))return"["+e.map(z).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 G(e,t){return null==e||""===e?null===t?"":t:null==t||""===t?e:e+" "+t}const Ne=j({__forward_ref__:j});function rt(e){return e.__forward_ref__=rt,e.toString=function(){return z(this())},e}function Se(e){return $e(e)?e():e}function $e(e){return"function"==typeof e&&e.hasOwnProperty(Ne)&&e.__forward_ref__===rt}class vt extends Error{constructor(t,n){super(function(e,t){return`${e?`NG0${e}: `:""}${t}`}(t,n)),this.code=t}}function Ie(e){return"string"==typeof e?e:null==e?"":String(e)}function Et(e){return"function"==typeof e?e.name||e.toString():"object"==typeof e&&null!=e&&"function"==typeof e.type?e.type.name||e.type.toString():Ie(e)}function wn(e,t){const n=t?` in ${t}`:"";throw new vt("201",`No provider for ${Et(e)} found${n}`)}function nt(e,t,n,r){throw new Error(`ASSERTION ERROR: ${e}`+(null==r?"":` [Expected=> ${n} ${r} ${t} <=Actual]`))}function Te(e){return{token:e.token,providedIn:e.providedIn||null,factory:e.factory,value:void 0}}const Rr=Te;function Tn(e){return{providers:e.providers||[],imports:e.imports||[]}}function Ht(e){return Fn(e,er)||Fn(e,hr)}function Fn(e,t){return e.hasOwnProperty(t)?e[t]:null}function mt(e){return e&&(e.hasOwnProperty(ct)||e.hasOwnProperty(xr))?e[ct]:null}const er=j({\u0275prov:j}),ct=j({\u0275inj:j}),hr=j({ngInjectableDef:j}),xr=j({ngInjectorDef:j});var Ve=(()=>((Ve=Ve||{})[Ve.Default=0]="Default",Ve[Ve.Host=1]="Host",Ve[Ve.Self=2]="Self",Ve[Ve.SkipSelf=4]="SkipSelf",Ve[Ve.Optional=8]="Optional",Ve))();let mn;function nn(e){const t=mn;return mn=e,t}function Nn(e,t,n){const r=Ht(e);return r&&"root"==r.providedIn?void 0===r.value?r.value=r.factory():r.value:n&Ve.Optional?null:void 0!==t?t:void wn(z(e),"Injector")}function Ut(e){return{toString:e}.toString()}var xt=(()=>((xt=xt||{})[xt.OnPush=0]="OnPush",xt[xt.Default=1]="Default",xt))(),Pt=(()=>((Pt=Pt||{})[Pt.CheckOnce=0]="CheckOnce",Pt[Pt.Checked=1]="Checked",Pt[Pt.CheckAlways=2]="CheckAlways",Pt[Pt.Detached=3]="Detached",Pt[Pt.Errored=4]="Errored",Pt[Pt.Destroyed=5]="Destroyed",Pt))();function tr(e){return null==e||e===xt.Default}var O=(()=>{return(e=O||(O={}))[e.Emulated=0]="Emulated",e[e.None=2]="None",e[e.ShadowDom=3]="ShadowDom",O;var e})();const x="undefined"!=typeof globalThis&&globalThis,A="undefined"!=typeof window&&window,R="undefined"!=typeof self&&"undefined"!=typeof WorkerGlobalScope&&self instanceof WorkerGlobalScope&&self,be=x||"undefined"!=typeof global&&global||A||R,Tt={},at=[],nr=j({\u0275cmp:j}),gr=j({\u0275dir:j}),mr=j({\u0275pipe:j}),Hn=j({\u0275mod:j}),bn=j({\u0275fac:j}),yn=j({__NG_ELEMENT_ID__:j});let Lr=0;function Pn(e){return Ut(()=>{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===xt.OnPush,directiveDefs:null,pipeDefs:null,selectors:e.selectors||at,viewQuery:e.viewQuery||null,features:e.features||null,data:e.data||{},encapsulation:e.encapsulation||O.Emulated,id:"c",styles:e.styles||at,_:null,setInput:null,schemas:e.schemas||null,tView:null},i=e.directives,s=e.features,a=e.pipes;return r.id+=Lr++,r.inputs=vr(e.inputs,n),r.outputs=vr(e.outputs),s&&s.forEach(u=>u(r)),r.directiveDefs=i?()=>("function"==typeof i?i():i).map(wi):null,r.pipeDefs=a?()=>("function"==typeof a?a():a).map(Qr):null,r})}function yr(e,t,n){const r=e.\u0275cmp;r.directiveDefs=()=>t.map(wi),r.pipeDefs=()=>n.map(Qr)}function wi(e){return Ft(e)||_n(e)}function Qr(e){return Zn(e)}const _r={};function Un(e){return Ut(()=>{const t={type:e.type,bootstrap:e.bootstrap||at,declarations:e.declarations||at,imports:e.imports||at,exports:e.exports||at,transitiveCompileScopes:null,schemas:e.schemas||null,id:e.id||null};return null!=e.id&&(_r[e.id]=e.type),t})}function Zr(e,t){return Ut(()=>{const n=$t(e,!0);n.declarations=t.declarations||at,n.imports=t.imports||at,n.exports=t.exports||at})}function vr(e,t){if(null==e)return Tt;const n={};for(const r in e)if(e.hasOwnProperty(r)){let i=e[r],s=i;Array.isArray(i)&&(s=i[1],i=i[0]),n[i]=r,t&&(t[i]=s)}return n}const Vr=Pn;function On(e){return{type:e.type,name:e.name,factory:null,pure:!1!==e.pure,onDestroy:e.type.prototype.ngOnDestroy||null}}function Ft(e){return e[nr]||null}function _n(e){return e[gr]||null}function Zn(e){return e[mr]||null}function $t(e,t){const n=e[Hn]||null;if(!n&&!0===t)throw new Error(`Type ${z(e)} does not have '\u0275mod' property.`);return n}function fn(e){return Array.isArray(e)&&"object"==typeof e[1]}function In(e){return Array.isArray(e)&&!0===e[1]}function wr(e){return 0!=(8&e.flags)}function br(e){return 2==(2&e.flags)}function Mr(e){return 1==(1&e.flags)}function vn(e){return null!==e.template}function Ar(e){return 0!=(512&e[2])}function m(e,t){return e.hasOwnProperty(bn)?e[bn]:null}class b{constructor(t,n,r){this.previousValue=t,this.currentValue=n,this.firstChange=r}isFirstChange(){return this.firstChange}}function P(){return q}function q(e){return e.type.prototype.ngOnChanges&&(e.setInput=Fe),le}function le(){const e=pt(this),t=null==e?void 0:e.current;if(t){const n=e.previous;if(n===Tt)e.previous=t;else for(let r in t)n[r]=t[r];e.current=null,this.ngOnChanges(t)}}function Fe(e,t,n,r){const i=pt(e)||function(e,t){return e[Ct]=t}(e,{previous:Tt,current:null}),s=i.current||(i.current={}),a=i.previous,u=this.declaredInputs[n],c=a[u];s[u]=new b(c&&c.currentValue,t,a===Tt),e[r]=t}P.ngInherit=!0;const Ct="__ngSimpleChanges__";function pt(e){return e[Ct]||null}let et=null;const Qt=e=>{et=e},tt=function(e,t,n){null!=et&&et(e,t,n)},Zt="http://www.w3.org/2000/svg",y="http://www.w3.org/1998/MathML/";let h;function f(e){h=e}function w(){return void 0!==h?h:"undefined"!=typeof document?document:void 0}function ye(e){return!!e.listen}const yt={createRenderer:(e,t)=>w()};function v(e){for(;Array.isArray(e);)e=e[0];return e}function d(e,t){return v(t[e])}function D(e,t){return v(t[e.index])}function S(e,t){return e.data[t]}function T(e,t){return e[t]}function B(e,t){const n=t[e];return fn(n)?n:n[0]}function ee(e){return 4==(4&e[2])}function ve(e){return 128==(128&e[2])}function je(e,t){return null==t?null:e[t]}function it(e){e[18]=0}function Le(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 _e={lFrame:Qc(null),bindingsEnabled:!0,isInCheckNoChangesMode:!1};function ln(){return _e.bindingsEnabled}function _i(){_e.bindingsEnabled=!0}function or(){_e.bindingsEnabled=!1}function re(){return _e.lFrame.lView}function Je(){return _e.lFrame.tView}function Sr(e){return _e.lFrame.contextLView=e,e[8]}function It(){let e=Bs();for(;null!==e&&64===e.type;)e=e.parent;return e}function Bs(){return _e.lFrame.currentTNode}function jr(){const e=_e.lFrame,t=e.currentTNode;return e.isParent?t:t.parent}function En(e,t){const n=_e.lFrame;n.currentTNode=e,n.isParent=t}function Zi(){return _e.lFrame.isParent}function Yi(){_e.lFrame.isParent=!1}function Ge(){return _e.isInCheckNoChangesMode}function st(e){_e.isInCheckNoChangesMode=e}function gt(){const e=_e.lFrame;let t=e.bindingRootIndex;return-1===t&&(t=e.bindingRootIndex=e.tView.bindingStartIndex),t}function un(){return _e.lFrame.bindingIndex}function Ln(e){return _e.lFrame.bindingIndex=e}function Gn(){return _e.lFrame.bindingIndex++}function _t(e){const t=_e.lFrame,n=t.bindingIndex;return t.bindingIndex=t.bindingIndex+e,n}function So(e){_e.lFrame.inI18n=e}function Xn(e,t){const n=_e.lFrame;n.bindingIndex=n.bindingRootIndex=e,Ti(t)}function Ti(e){_e.lFrame.currentDirectiveIndex=e}function Hr(e){const t=_e.lFrame.currentDirectiveIndex;return-1===t?null:e[t]}function Xi(){return _e.lFrame.currentQueryIndex}function Ta(e){_e.lFrame.currentQueryIndex=e}function ly(e){const t=e[1];return 2===t.type?t.declTNode:1===t.type?e[6]:null}function Kc(e,t,n){if(n&Ve.SkipSelf){let i=t,s=e;for(;!(i=i.parent,null!==i||n&Ve.Host||(i=ly(s),null===i||(s=s[15],10&i.type))););if(null===i)return!1;t=i,e=s}const r=_e.lFrame=qc();return r.currentTNode=t,r.lView=e,!0}function To(e){const t=qc(),n=e[1];_e.lFrame=t,t.currentTNode=n.firstChild,t.lView=e,t.tView=n,t.contextLView=e,t.bindingIndex=n.bindingStartIndex,t.inI18n=!1}function qc(){const e=_e.lFrame,t=null===e?null:e.child;return null===t?Qc(e):t}function Qc(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 Zc(){const e=_e.lFrame;return _e.lFrame=e.parent,e.currentTNode=null,e.lView=null,e}const Yc=Zc;function Fo(){const e=Zc();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 zn(){return _e.lFrame.selectedIndex}function Fi(e){_e.lFrame.selectedIndex=e}function Yt(){const e=_e.lFrame;return S(e.tView,e.selectedIndex)}function Xc(){_e.lFrame.currentNamespace=Zt}function Jc(){_e.lFrame.currentNamespace=y}function ed(){_e.lFrame.currentNamespace=null}function No(e,t){for(let n=t.directiveStart,r=t.directiveEnd;n<r;n++){const s=e.data[n].type.prototype,{ngAfterContentInit:a,ngAfterContentChecked:u,ngAfterViewInit:c,ngAfterViewChecked:_,ngOnDestroy:E}=s;a&&(e.contentHooks||(e.contentHooks=[])).push(-n,a),u&&((e.contentHooks||(e.contentHooks=[])).push(n,u),(e.contentCheckHooks||(e.contentCheckHooks=[])).push(n,u)),c&&(e.viewHooks||(e.viewHooks=[])).push(-n,c),_&&((e.viewHooks||(e.viewHooks=[])).push(n,_),(e.viewCheckHooks||(e.viewCheckHooks=[])).push(n,_)),null!=E&&(e.destroyHooks||(e.destroyHooks=[])).push(n,E)}}function Po(e,t,n){td(e,t,3,n)}function Oo(e,t,n,r){(3&e[2])===n&&td(e,t,n,r)}function Fa(e,t){let n=e[2];(3&n)===t&&(n&=2047,n+=1,e[2]=n)}function td(e,t,n,r){const s=null!=r?r:-1,a=t.length-1;let u=0;for(let c=void 0!==r?65535&e[18]:0;c<a;c++)if("number"==typeof t[c+1]){if(u=t[c],null!=r&&u>=r)break}else t[c]<0&&(e[18]+=65536),(u<s||-1==s)&&(py(e,n,t,c),e[18]=(4294901760&e[18])+c+2),c++}function py(e,t,n,r){const i=n[r]<0,s=n[r+1],u=e[i?-n[r]:n[r]];if(i){if(e[2]>>11<e[18]>>16&&(3&e[2])===t){e[2]+=2048,tt(4,u,s);try{s.call(u)}finally{tt(5,u,s)}}}else{tt(4,u,s);try{s.call(u)}finally{tt(5,u,s)}}}class js{constructor(t,n,r){this.factory=t,this.resolving=!1,this.canSeeViewProviders=n,this.injectImpl=r}}function Ro(e,t,n){const r=ye(e);let i=0;for(;i<n.length;){const s=n[i];if("number"==typeof s){if(0!==s)break;i++;const a=n[i++],u=n[i++],c=n[i++];r?e.setAttribute(t,u,c,a):t.setAttributeNS(a,u,c)}else{const a=s,u=n[++i];Pa(a)?r&&e.setProperty(t,a,u):r?e.setAttribute(t,a,u):t.setAttribute(a,u),i++}}return i}function nd(e){return 3===e||4===e||6===e}function Pa(e){return 64===e.charCodeAt(0)}function xo(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 i=t[r];"number"==typeof i?n=i:0===n||rd(e,n,i,null,-1===n||2===n?t[++r]:null)}}return e}function rd(e,t,n,r,i){let s=0,a=e.length;if(-1===t)a=-1;else for(;s<e.length;){const u=e[s++];if("number"==typeof u){if(u===t){a=-1;break}if(u>t){a=s-1;break}}}for(;s<e.length;){const u=e[s];if("number"==typeof u)break;if(u===n){if(null===r)return void(null!==i&&(e[s+1]=i));if(r===e[s+1])return void(e[s+2]=i)}s++,null!==r&&s++,null!==i&&s++}-1!==a&&(e.splice(a,0,t),s=a+1),e.splice(s++,0,n),null!==r&&e.splice(s++,0,r),null!==i&&e.splice(s++,0,i)}function id(e){return-1!==e}function Ji(e){return 32767&e}function es(e,t){let n=function(e){return e>>16}(e),r=t;for(;n>0;)r=r[15],n--;return r}let Oa=!0;function Lo(e){const t=Oa;return Oa=e,t}let Dy=0;function Us(e,t){const n=xa(e,t);if(-1!==n)return n;const r=t[1];r.firstCreatePass&&(e.injectorIndex=t.length,Ra(r.data,e),Ra(t,null),Ra(r.blueprint,null));const i=Vo(e,t),s=e.injectorIndex;if(id(i)){const a=Ji(i),u=es(i,t),c=u[1].data;for(let _=0;_<8;_++)t[s+_]=u[a+_]|c[a+_]}return t[s+8]=i,s}function Ra(e,t){e.push(0,0,0,0,0,0,0,0,t)}function xa(e,t){return-1===e.injectorIndex||e.parent&&e.parent.injectorIndex===e.injectorIndex||null===t[e.injectorIndex+8]?-1:e.injectorIndex}function Vo(e,t){if(e.parent&&-1!==e.parent.injectorIndex)return e.parent.injectorIndex;let n=0,r=null,i=t;for(;null!==i;){const s=i[1],a=s.type;if(r=2===a?s.declTNode:1===a?i[6]:null,null===r)return-1;if(n++,i=i[15],-1!==r.injectorIndex)return r.injectorIndex|n<<16}return-1}function ko(e,t,n){!function(e,t,n){let r;"string"==typeof n?r=n.charCodeAt(0)||0:n.hasOwnProperty(yn)&&(r=n[yn]),null==r&&(r=n[yn]=Dy++);const i=255&r;t.data[e+(i>>5)]|=1<<i}(e,t,n)}function ad(e,t,n){if(n&Ve.Optional)return e;wn(t,"NodeInjector")}function ld(e,t,n,r){if(n&Ve.Optional&&void 0===r&&(r=null),0==(n&(Ve.Self|Ve.Host))){const i=e[9],s=nn(void 0);try{return i?i.get(t,r,n&Ve.Optional):Nn(t,r,n&Ve.Optional)}finally{nn(s)}}return ad(r,t,n)}function ud(e,t,n,r=Ve.Default,i){if(null!==e){const s=function(e){if("string"==typeof e)return e.charCodeAt(0)||0;const t=e.hasOwnProperty(yn)?e[yn]:void 0;return"number"==typeof t?t>=0?255&t:wy:t}(n);if("function"==typeof s){if(!Kc(t,e,r))return r&Ve.Host?ad(i,n,r):ld(t,n,r,i);try{const a=s(r);if(null!=a||r&Ve.Optional)return a;wn(n)}finally{Yc()}}else if("number"==typeof s){let a=null,u=xa(e,t),c=-1,_=r&Ve.Host?t[16][6]:null;for((-1===u||r&Ve.SkipSelf)&&(c=-1===u?Vo(e,t):t[u+8],-1!==c&&fd(r,!1)?(a=t[1],u=Ji(c),t=es(c,t)):u=-1);-1!==u;){const E=t[1];if(dd(s,u,E.data)){const I=by(u,t,n,a,r,_);if(I!==cd)return I}c=t[u+8],-1!==c&&fd(r,t[1].data[u+8]===_)&&dd(s,u,t)?(a=E,u=Ji(c),t=es(c,t)):u=-1}}}return ld(t,n,r,i)}const cd={};function wy(){return new ts(It(),re())}function by(e,t,n,r,i,s){const a=t[1],u=a.data[e+8],E=Bo(u,a,n,null==r?br(u)&&Oa:r!=a&&0!=(3&u.type),i&Ve.Host&&s===u);return null!==E?$s(t,a,E,u):cd}function Bo(e,t,n,r,i){const s=e.providerIndexes,a=t.data,u=1048575&s,c=e.directiveStart,E=s>>20,F=i?u+E:e.directiveEnd;for(let k=r?u:u+E;k<F;k++){const Y=a[k];if(k<c&&n===Y||k>=c&&Y.type===n)return k}if(i){const k=a[c];if(k&&vn(k)&&k.type===n)return c}return null}function $s(e,t,n,r){let i=e[n];const s=t.data;if(function(e){return e instanceof js}(i)){const a=i;a.resolving&&function(e,t){throw new vt("200",`Circular dependency in DI detected for ${e}`)}(Et(s[n]));const u=Lo(a.canSeeViewProviders);a.resolving=!0;const c=a.injectImpl?nn(a.injectImpl):null;Kc(e,r,Ve.Default);try{i=e[n]=a.factory(void 0,s,e,r),t.firstCreatePass&&n>=r.directiveStart&&function(e,t,n){const{ngOnChanges:r,ngOnInit:i,ngDoCheck:s}=t.type.prototype;if(r){const a=q(t);(n.preOrderHooks||(n.preOrderHooks=[])).push(e,a),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,a)}i&&(n.preOrderHooks||(n.preOrderHooks=[])).push(0-e,i),s&&((n.preOrderHooks||(n.preOrderHooks=[])).push(e,s),(n.preOrderCheckHooks||(n.preOrderCheckHooks=[])).push(e,s))}(n,s[n],t)}finally{null!==c&&nn(c),Lo(u),a.resolving=!1,Yc()}}return i}function dd(e,t,n){return!!(n[t+(e>>5)]&1<<e)}function fd(e,t){return!(e&Ve.Self||e&Ve.Host&&t)}class ts{constructor(t,n){this._tNode=t,this._lView=n}get(t,n,r){return ud(this._tNode,this._lView,t,r,n)}}function hd(e){return Ut(()=>{const t=e.prototype.constructor,n=t[bn]||La(t),r=Object.prototype;let i=Object.getPrototypeOf(e.prototype).constructor;for(;i&&i!==r;){const s=i[bn]||La(i);if(s&&s!==n)return s;i=Object.getPrototypeOf(i)}return s=>new s})}function La(e){return $e(e)?()=>{const t=La(Se(e));return t&&t()}:m(e)}function Va(e){return function(e,t){if("class"===t)return e.classes;if("style"===t)return e.styles;const n=e.attrs;if(n){const r=n.length;let i=0;for(;i<r;){const s=n[i];if(nd(s))break;if(0===s)i+=2;else if("number"==typeof s)for(i++;i<r&&"string"==typeof n[i];)i++;else{if(s===t)return n[i+1];i+=2}}}return null}(It(),e)}const ns="__annotations__",rs="__parameters__",is="__prop__metadata__";function ss(e,t,n,r,i){return Ut(()=>{const s=ka(t);function a(...u){if(this instanceof a)return s.call(this,...u),this;const c=new a(...u);return function(E){return i&&i(E,...u),(E.hasOwnProperty(ns)?E[ns]:Object.defineProperty(E,ns,{value:[]})[ns]).push(c),r&&r(E),E}}return n&&(a.prototype=Object.create(n.prototype)),a.prototype.ngMetadataName=e,a.annotationCls=a,a})}function ka(e){return function(...n){if(e){const r=e(...n);for(const i in r)this[i]=r[i]}}}function os(e,t,n){return Ut(()=>{const r=ka(t);function i(...s){if(this instanceof i)return r.apply(this,s),this;const a=new i(...s);return u.annotation=a,u;function u(c,_,E){const I=c.hasOwnProperty(rs)?c[rs]:Object.defineProperty(c,rs,{value:[]})[rs];for(;I.length<=E;)I.push(null);return(I[E]=I[E]||[]).push(a),c}}return n&&(i.prototype=Object.create(n.prototype)),i.prototype.ngMetadataName=e,i.annotationCls=i,i})}function Pi(e,t,n,r){return Ut(()=>{const i=ka(t);function s(...a){if(this instanceof s)return i.apply(this,a),this;const u=new s(...a);return function(_,E){const I=_.constructor,F=I.hasOwnProperty(is)?I[is]:Object.defineProperty(I,is,{value:{}})[is];F[E]=F.hasOwnProperty(E)&&F[E]||[],F[E].unshift(u),r&&r(_,E,...a)}}return n&&(s.prototype=Object.create(n.prototype)),s.prototype.ngMetadataName=e,s.annotationCls=s,s})}const pd=os("Attribute",e=>({attributeName:e,__NG_ELEMENT_ID__:()=>Va(e)}));class Xt{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=Te({token:this,providedIn:n.providedIn||"root",factory:n.factory}))}toString(){return`InjectionToken ${this._desc}`}}const Ay=new Xt("AnalyzeForEntryComponents");class Gs{}const Iy=Pi("ContentChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!1,descendants:!1,emitDistinctChangesOnly:!0},t),Gs),Sy=Pi("ContentChild",(e,t={})=>Object.assign({selector:e,first:!0,isViewQuery:!1,descendants:!0},t),Gs),Ty=Pi("ViewChildren",(e,t={})=>Object.assign({selector:e,first:!1,isViewQuery:!0,descendants:!0,emitDistinctChangesOnly:!0},t),Gs),Fy=Pi("ViewChild",(e,t)=>Object.assign({selector:e,first:!0,isViewQuery:!0,descendants:!0},t),Gs);var hn=(()=>((hn=hn||{})[hn.Directive=0]="Directive",hn[hn.Component=1]="Component",hn[hn.Injectable=2]="Injectable",hn[hn.Pipe=3]="Pipe",hn[hn.NgModule=4]="NgModule",hn))();function pn(e){const t=be.ng;if(t&&t.\u0275compilerFacade)return t.\u0275compilerFacade;throw new Error("JIT compiler unavailable")}const jo=Function;function zs(e){return"function"==typeof e}function Tr(e,t){void 0===t&&(t=e);for(let n=0;n<e.length;n++){let r=e[n];Array.isArray(r)?(t===e&&(t=e.slice(0,n)),Tr(r,t)):t!==e&&t.push(r)}return t}function ni(e,t){e.forEach(n=>Array.isArray(n)?ni(n,t):t(n))}function md(e,t,n){t>=e.length?e.push(n):e.splice(t,0,n)}function Ho(e,t){return t>=e.length-1?e.pop():e.splice(t,1)[0]}function Ws(e,t){const n=[];for(let r=0;r<e;r++)n.push(t);return n}function ar(e,t,n){let r=as(e,t);return r>=0?e[1|r]=n:(r=~r,function(e,t,n,r){let i=e.length;if(i==t)e.push(n,r);else if(1===i)e.push(r,e[0]),e[0]=n;else{for(i--,e.push(e[i-1],e[i]);i>t;)e[i]=e[i-2],i--;e[t]=n,e[t+1]=r}}(e,r,t,n)),r}function Ba(e,t){const n=as(e,t);if(n>=0)return e[1|n]}function as(e,t){return function(e,t,n){let r=0,i=e.length>>n;for(;i!==r;){const s=r+(i-r>>1),a=e[s<<n];if(t===a)return s<<n;a>t?i=s:r=s+1}return~(i<<n)}(e,t,1)}const Ry=/^function\s+\S+\(\)\s*{[\s\S]+\.apply\(this,\s*(arguments|(?:[^()]+\(\[\],)?[^()]+\(arguments\).*)\)/,xy=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{/,Ly=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(/,Vy=/^class\s+[A-Za-z\d$_]*\s*extends\s+[^{]+{[\s\S]*constructor\s*\(\)\s*{\s*super\(\.\.\.arguments\)/;class ja{constructor(t){this._reflect=t||be.Reflect}isReflectionEnabled(){return!0}factory(t){return(...n)=>new t(...n)}_zipTypesAndAnnotations(t,n){let r;r=Ws(void 0===t?n.length:t.length);for(let i=0;i<r.length;i++)r[i]=void 0===t?[]:t[i]&&t[i]!=Object?[t[i]]:[],n&&null!=n[i]&&(r[i]=r[i].concat(n[i]));return r}_ownParameters(t,n){const r=t.toString();if(Ry.test(e=r)||Vy.test(e)||xy.test(e)&&!Ly.test(e))return null;var e;if(t.parameters&&t.parameters!==n.parameters)return t.parameters;const i=t.ctorParameters;if(i&&i!==n.ctorParameters){const u="function"==typeof i?i():i,c=u.map(E=>E&&E.type),_=u.map(E=>E&&Ha(E.decorators));return this._zipTypesAndAnnotations(c,_)}const s=t.hasOwnProperty(rs)&&t[rs],a=this._reflect&&this._reflect.getOwnMetadata&&this._reflect.getOwnMetadata("design:paramtypes",t);return a||s?this._zipTypesAndAnnotations(a,s):Ws(t.length)}parameters(t){if(!zs(t))return[];const n=Uo(t);let r=this._ownParameters(t,n);return!r&&n!==Object&&(r=this.parameters(n)),r||[]}_ownAnnotations(t,n){if(t.annotations&&t.annotations!==n.annotations){let r=t.annotations;return"function"==typeof r&&r.annotations&&(r=r.annotations),r}return t.decorators&&t.decorators!==n.decorators?Ha(t.decorators):t.hasOwnProperty(ns)?t[ns]:null}annotations(t){if(!zs(t))return[];const n=Uo(t),r=this._ownAnnotations(t,n)||[];return(n!==Object?this.annotations(n):[]).concat(r)}_ownPropMetadata(t,n){if(t.propMetadata&&t.propMetadata!==n.propMetadata){let r=t.propMetadata;return"function"==typeof r&&r.propMetadata&&(r=r.propMetadata),r}if(t.propDecorators&&t.propDecorators!==n.propDecorators){const r=t.propDecorators,i={};return Object.keys(r).forEach(s=>{i[s]=Ha(r[s])}),i}return t.hasOwnProperty(is)?t[is]:null}propMetadata(t){if(!zs(t))return{};const n=Uo(t),r={};if(n!==Object){const s=this.propMetadata(n);Object.keys(s).forEach(a=>{r[a]=s[a]})}const i=this._ownPropMetadata(t,n);return i&&Object.keys(i).forEach(s=>{const a=[];r.hasOwnProperty(s)&&a.push(...r[s]),a.push(...i[s]),r[s]=a}),r}ownPropMetadata(t){return zs(t)&&this._ownPropMetadata(t,Uo(t))||{}}hasLifecycleHook(t,n){return t instanceof jo&&n in t.prototype}guards(t){return{}}getter(t){return new Function("o","return o."+t+";")}setter(t){return new Function("o","v","return o."+t+" = v;")}method(t){return new Function("o","args",`if (!o.${t}) throw new Error('"${t}" is undefined');\n return o.${t}.apply(o, args);`)}importUri(t){return"object"==typeof t&&t.filePath?t.filePath:`./${z(t)}`}resourceUri(t){return`./${z(t)}`}resolveIdentifier(t,n,r,i){return i}resolveEnum(t,n){return t[n]}}function Ha(e){return e?e.map(t=>new(0,t.type.annotationCls)(...t.args?t.args:[])):[]}function Uo(e){const t=e.prototype?Object.getPrototypeOf(e.prototype):null;return(t?t.constructor:null)||Object}const Oi={},Ua="__NG_DI_FLAG__",$o="ngTempTokenPath",jy=/\n/gm,Dd="__source",Uy=j({provide:String,useValue:j});let Ks;function $a(e){const t=Ks;return Ks=e,t}function $y(e,t=Ve.Default){if(void 0===Ks)throw new Error("inject() must be called from an injection context");return null===Ks?Nn(e,void 0,t):Ks.get(e,t&Ve.Optional?null:void 0,t)}function Cn(e,t=Ve.Default){return(mn||$y)(Se(e),t)}function Ga(e){throw new Error("invalid")}const Gy=Cn;function za(e){const t=[];for(let n=0;n<e.length;n++){const r=Se(e[n]);if(Array.isArray(r)){if(0===r.length)throw new Error("Arguments array must have arguments.");let i,s=Ve.Default;for(let a=0;a<r.length;a++){const u=r[a],c=zy(u);"number"==typeof c?-1===c?i=u.token:s|=c:i=u}t.push(Cn(i,s))}else t.push(Cn(r))}return t}function qs(e,t){return e[Ua]=t,e.prototype[Ua]=t,e}function zy(e){return e[Ua]}const Qs=qs(os("Inject",e=>({token:e})),-1),ji=qs(os("Optional"),8),Go=qs(os("Self"),2),Hi=qs(os("SkipSelf"),4),Ed=qs(os("Host"),1);let Cd=null;function Wa(){return Cd=Cd||new ja}function zo(e){return wd(Wa().parameters(e))}function wd(e){return e.map(t=>function(e){const t={token:null,attribute:null,host:!1,optional:!1,self:!1,skipSelf:!1};if(Array.isArray(e)&&e.length>0)for(let n=0;n<e.length;n++){const r=e[n];if(void 0===r)continue;const i=Object.getPrototypeOf(r);if(r instanceof ji||"Optional"===i.ngMetadataName)t.optional=!0;else if(r instanceof Hi||"SkipSelf"===i.ngMetadataName)t.skipSelf=!0;else if(r instanceof Go||"Self"===i.ngMetadataName)t.self=!0;else if(r instanceof Ed||"Host"===i.ngMetadataName)t.host=!0;else if(r instanceof Qs)t.token=r.token;else if(r instanceof pd){if(void 0===r.attributeName)throw new Error("Attribute name must be defined.");t.attribute=r.attributeName}else t.token=r}else t.token=void 0===e||Array.isArray(e)&&0===e.length?null:e;return t}(t))}function bd(e){const t=[],n=new Map;function r(i){let s=n.get(i);if(!s){const a=e(i);n.set(i,s=a.then(Yy))}return s}return ls.forEach((i,s)=>{const a=[];i.templateUrl&&a.push(r(i.templateUrl).then(I=>{i.template=I}));const u=i.styleUrls,c=i.styles||(i.styles=[]),_=i.styles.length;u&&u.forEach((I,F)=>{c.push(""),a.push(r(I).then(k=>{c[_+F]=k,u.splice(u.indexOf(I),1),0==u.length&&(i.styleUrls=void 0)}))});const E=Promise.all(a).then(()=>function(e){Zs.delete(e)}(s));t.push(E)}),Ad(),Promise.all(t).then(()=>{})}let ls=new Map;const Zs=new Set;function Md(e){return!!(e.templateUrl&&!e.hasOwnProperty("template")||e.styleUrls&&e.styleUrls.length)}function Ad(){const e=ls;return ls=new Map,e}function Yy(e){return"string"==typeof e?e:e.text()}let Wo,Ko;function Ka(){if(void 0===Wo&&(Wo=null,be.trustedTypes))try{Wo=be.trustedTypes.createPolicy("angular",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Wo}function us(e){var t;return(null===(t=Ka())||void 0===t?void 0:t.createHTML(e))||e}function qa(){if(void 0===Ko&&(Ko=null,be.trustedTypes))try{Ko=be.trustedTypes.createPolicy("angular#unsafe-bypass",{createHTML:e=>e,createScript:e=>e,createScriptURL:e=>e})}catch(e){}return Ko}function Id(e){var t;return(null===(t=qa())||void 0===t?void 0:t.createHTML(e))||e}function Sd(e){var t;return(null===(t=qa())||void 0===t?void 0:t.createScript(e))||e}function Td(e){var t;return(null===(t=qa())||void 0===t?void 0:t.createScriptURL(e))||e}class Ui{constructor(t){this.changingThisBreaksApplicationSecurity=t}toString(){return`SafeValue must use [property]=binding: ${this.changingThisBreaksApplicationSecurity} (see https://g.co/ng/security#xss)`}}class t_ extends Ui{getTypeName(){return"HTML"}}class n_ extends Ui{getTypeName(){return"Style"}}class r_ extends Ui{getTypeName(){return"Script"}}class i_ extends Ui{getTypeName(){return"URL"}}class s_ extends Ui{getTypeName(){return"ResourceURL"}}function vi(e){return e instanceof Ui?e.changingThisBreaksApplicationSecurity:e}function cs(e,t){const n=Fd(e);if(null!=n&&n!==t){if("ResourceURL"===n&&"URL"===t)return!0;throw new Error(`Required a safe ${t}, got a ${n} (see https://g.co/ng/security#xss)`)}return n===t}function Fd(e){return e instanceof Ui&&e.getTypeName()||null}function o_(e){return new t_(e)}function a_(e){return new n_(e)}function l_(e){return new r_(e)}function u_(e){return new i_(e)}function c_(e){return new s_(e)}function Nd(e){const t=new f_(e);return function(){try{return!!(new window.DOMParser).parseFromString(us(""),"text/html")}catch(e){return!1}}()?new d_(t):t}class d_{constructor(t){this.inertDocumentHelper=t}getInertBodyElement(t){t="<body><remove></remove>"+t;try{const n=(new window.DOMParser).parseFromString(us(t),"text/html").body;return null===n?this.inertDocumentHelper.getInertBodyElement(t):(n.removeChild(n.firstChild),n)}catch(n){return null}}}class f_{constructor(t){if(this.defaultDoc=t,this.inertDocument=this.defaultDoc.implementation.createHTMLDocument("sanitization-inert"),null==this.inertDocument.body){const n=this.inertDocument.createElement("html");this.inertDocument.appendChild(n);const r=this.inertDocument.createElement("body");n.appendChild(r)}}getInertBodyElement(t){const n=this.inertDocument.createElement("template");if("content"in n)return n.innerHTML=us(t),n;const r=this.inertDocument.createElement("body");return r.innerHTML=us(t),this.defaultDoc.documentMode&&this.stripCustomNsAttrs(r),r}stripCustomNsAttrs(t){const n=t.attributes;for(let i=n.length-1;0<i;i--){const a=n.item(i).name;("xmlns:ns1"===a||0===a.indexOf("ns1:"))&&t.removeAttribute(a)}let r=t.firstChild;for(;r;)r.nodeType===Node.ELEMENT_NODE&&this.stripCustomNsAttrs(r),r=r.nextSibling}}const p_=/^(?:(?:https?|mailto|ftp|tel|file|sms):|[^&:/?#]*(?:[/?#]|$))/gi,g_=/^data:(?:image\/(?:bmp|gif|jpeg|jpg|png|tiff|webp)|video\/(?:mpeg|mp4|ogg|webm)|audio\/(?:mp3|oga|ogg|opus));base64,[a-z0-9+\/]+=*$/i;function Ys(e){return(e=String(e)).match(p_)||e.match(g_)?e:"unsafe:"+e}function Pd(e){return(e=String(e)).split(",").map(t=>Ys(t.trim())).join(", ")}function ri(e){const t={};for(const n of e.split(","))t[n]=!0;return t}function Xs(...e){const t={};for(const n of e)for(const r in n)n.hasOwnProperty(r)&&(t[r]=!0);return t}const Od=ri("area,br,col,hr,img,wbr"),Rd=ri("colgroup,dd,dt,li,p,tbody,td,tfoot,th,thead,tr"),xd=ri("rp,rt"),Qa=Xs(Od,Xs(Rd,ri("address,article,aside,blockquote,caption,center,del,details,dialog,dir,div,dl,figure,figcaption,footer,h1,h2,h3,h4,h5,h6,header,hgroup,hr,ins,main,map,menu,nav,ol,pre,section,summary,table,ul")),Xs(xd,ri("a,abbr,acronym,audio,b,bdi,bdo,big,br,cite,code,del,dfn,em,font,i,img,ins,kbd,label,map,mark,picture,q,ruby,rp,rt,s,samp,small,source,span,strike,strong,sub,sup,time,track,tt,u,var,video")),Xs(xd,Rd)),Za=ri("background,cite,href,itemtype,longdesc,poster,src,xlink:href"),Ya=ri("srcset"),Ld=Xs(Za,Ya,ri("abbr,accesskey,align,alt,autoplay,axis,bgcolor,border,cellpadding,cellspacing,class,clear,color,cols,colspan,compact,controls,coords,datetime,default,dir,download,face,headers,height,hidden,hreflang,hspace,ismap,itemscope,itemprop,kind,label,lang,language,loop,media,muted,nohref,nowrap,open,preload,rel,rev,role,rows,rowspan,rules,scope,scrolling,shape,size,sizes,span,srclang,start,summary,tabindex,target,title,translate,type,usemap,valign,value,vspace,width"),ri("aria-activedescendant,aria-atomic,aria-autocomplete,aria-busy,aria-checked,aria-colcount,aria-colindex,aria-colspan,aria-controls,aria-current,aria-describedby,aria-details,aria-disabled,aria-dropeffect,aria-errormessage,aria-expanded,aria-flowto,aria-grabbed,aria-haspopup,aria-hidden,aria-invalid,aria-keyshortcuts,aria-label,aria-labelledby,aria-level,aria-live,aria-modal,aria-multiline,aria-multiselectable,aria-orientation,aria-owns,aria-placeholder,aria-posinset,aria-pressed,aria-readonly,aria-relevant,aria-required,aria-roledescription,aria-rowcount,aria-rowindex,aria-rowspan,aria-selected,aria-setsize,aria-sort,aria-valuemax,aria-valuemin,aria-valuenow,aria-valuetext")),m_=ri("script,style,template");class y_{constructor(){this.sanitizedSomething=!1,this.buf=[]}sanitizeChildren(t){let n=t.firstChild,r=!0;for(;n;)if(n.nodeType===Node.ELEMENT_NODE?r=this.startElement(n):n.nodeType===Node.TEXT_NODE?this.chars(n.nodeValue):this.sanitizedSomething=!0,r&&n.firstChild)n=n.firstChild;else for(;n;){n.nodeType===Node.ELEMENT_NODE&&this.endElement(n);let i=this.checkClobberedElement(n,n.nextSibling);if(i){n=i;break}n=this.checkClobberedElement(n,n.parentNode)}return this.buf.join("")}startElement(t){const n=t.nodeName.toLowerCase();if(!Qa.hasOwnProperty(n))return this.sanitizedSomething=!0,!m_.hasOwnProperty(n);this.buf.push("<"),this.buf.push(n);const r=t.attributes;for(let i=0;i<r.length;i++){const s=r.item(i),a=s.name,u=a.toLowerCase();if(!Ld.hasOwnProperty(u)){this.sanitizedSomething=!0;continue}let c=s.value;Za[u]&&(c=Ys(c)),Ya[u]&&(c=Pd(c)),this.buf.push(" ",a,'="',Vd(c),'"')}return this.buf.push(">"),!0}endElement(t){const n=t.nodeName.toLowerCase();Qa.hasOwnProperty(n)&&!Od.hasOwnProperty(n)&&(this.buf.push("</"),this.buf.push(n),this.buf.push(">"))}chars(t){this.buf.push(Vd(t))}checkClobberedElement(t,n){if(n&&(t.compareDocumentPosition(n)&Node.DOCUMENT_POSITION_CONTAINED_BY)===Node.DOCUMENT_POSITION_CONTAINED_BY)throw new Error(`Failed to sanitize html because the element is clobbered: ${t.outerHTML}`);return n}}const __=/[\uD800-\uDBFF][\uDC00-\uDFFF]/g,v_=/([^\#-~ |!])/g;function Vd(e){return e.replace(/&/g,"&").replace(__,function(t){return"&#"+(1024*(t.charCodeAt(0)-55296)+(t.charCodeAt(1)-56320)+65536)+";"}).replace(v_,function(t){return"&#"+t.charCodeAt(0)+";"}).replace(/</g,"<").replace(/>/g,">")}let qo;function kd(e,t){let n=null;try{qo=qo||Nd(e);let r=t?String(t):"";n=qo.getInertBodyElement(r);let i=5,s=r;do{if(0===i)throw new Error("Failed to sanitize html because the input is unstable");i--,r=s,s=n.innerHTML,n=qo.getInertBodyElement(r)}while(r!==s);return us((new y_).sanitizeChildren(Xa(n)||n))}finally{if(n){const r=Xa(n)||n;for(;r.firstChild;)r.removeChild(r.firstChild)}}}function Xa(e){return"content"in e&&function(e){return e.nodeType===Node.ELEMENT_NODE&&"TEMPLATE"===e.nodeName}(e)?e.content:null}var sn=(()=>((sn=sn||{})[sn.NONE=0]="NONE",sn[sn.HTML=1]="HTML",sn[sn.STYLE=2]="STYLE",sn[sn.SCRIPT=3]="SCRIPT",sn[sn.URL=4]="URL",sn[sn.RESOURCE_URL=5]="RESOURCE_URL",sn))();function Bd(e){const t=Js();return t?Id(t.sanitize(sn.HTML,e)||""):cs(e,"HTML")?Id(vi(e)):kd(w(),Ie(e))}function jd(e){const t=Js();return t?t.sanitize(sn.STYLE,e)||"":cs(e,"Style")?vi(e):Ie(e)}function Ja(e){const t=Js();return t?t.sanitize(sn.URL,e)||"":cs(e,"URL")?vi(e):Ys(Ie(e))}function el(e){const t=Js();if(t)return Td(t.sanitize(sn.RESOURCE_URL,e)||"");if(cs(e,"ResourceURL"))return Td(vi(e));throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)")}function Hd(e){const t=Js();if(t)return Sd(t.sanitize(sn.SCRIPT,e)||"");if(cs(e,"Script"))return Sd(vi(e));throw new Error("unsafe value used in a script context")}function Ud(e){return us(e[0])}function $d(e){return function(e){var t;return(null===(t=Ka())||void 0===t?void 0:t.createScriptURL(e))||e}(e[0])}function Gd(e,t,n){return function(e,t){return"src"===t&&("embed"===e||"frame"===e||"iframe"===e||"media"===e||"script"===e)||"href"===t&&("base"===e||"link"===e)?el:Ja}(t,n)(e)}function Js(){const e=re();return e&&e[12]}function Vn(e){let t=eo(e);if(t){if(Array.isArray(t)){const n=t;let r,i,s;if(function(e){return e&&e.constructor&&e.constructor.\u0275cmp}(e)){if(r=qd(n,e),-1==r)throw new Error("The provided component was not found in the application");i=e}else if(function(e){return e&&e.constructor&&e.constructor.\u0275dir}(e)){if(r=function(e,t){let n=e[1].firstChild;for(;n;){const i=n.directiveEnd;for(let s=n.directiveStart;s<i;s++)if(e[s]===t)return n.index;n=b_(n)}return-1}(n,e),-1==r)throw new Error("The provided directive was not found in the application");s=Qd(r,n,!1)}else if(r=Kd(n,e),-1==r)return null;const a=v(n[r]),u=eo(a),c=u&&!Array.isArray(u)?u:tl(n,r,a);if(i&&void 0===c.component&&(c.component=i,kn(c.component,c)),s&&void 0===c.directives){c.directives=s;for(let _=0;_<s.length;_++)kn(s[_],c)}kn(c.native,c),t=c}}else{const n=e;let r=n;for(;r=r.parentNode;){const i=eo(r);if(i){let s;if(s=Array.isArray(i)?i:i.lView,!s)return null;const a=Kd(s,n);if(a>=0){const u=v(s[a]),c=tl(s,a,u);kn(u,c),t=c;break}}}}return t||null}function tl(e,t,n){return{lView:e,nodeIndex:t,native:n,component:void 0,directives:void 0,localRefs:void 0}}function zd(e){let n,t=eo(e);if(Array.isArray(t)){const r=qd(t,e);n=B(r,t);const i=tl(t,r,n[0]);i.component=e,kn(e,i),kn(i.native,i)}else n=B(t.nodeIndex,t.lView);return n}const Wd="__ngContext__";function kn(e,t){e[Wd]=t}function eo(e){return e[Wd]||null}function nl(e){const t=eo(e);return t?Array.isArray(t)?t:t.lView:null}function Kd(e,t){const n=e[1];for(let r=20;r<n.bindingStartIndex;r++)if(v(e[r])===t)return r;return-1}function b_(e){if(e.child)return e.child;if(e.next)return e.next;for(;e.parent&&!e.parent.next;)e=e.parent;return e.parent&&e.parent.next}function qd(e,t){const n=e[1].components;if(n)for(let r=0;r<n.length;r++){const i=n[r];if(B(i,e)[8]===t)return i}else if(B(20,e)[8]===t)return 20;return-1}function Qd(e,t,n){const r=t[1].data[e];let i=r.directiveStart;return 0==i?at:(!n&&2&r.flags&&i++,t.slice(i,r.directiveEnd))}const rl="ngOriginalError";function il(e){return e[rl]}function P_(e,...t){e.error(...t)}class to{constructor(){this._console=console}handleError(t){const n=this._findOriginalError(t),r=(e=t)&&e.ngErrorLogger||P_;var e;r(this._console,"ERROR",t),n&&r(this._console,"ORIGINAL ERROR",n)}_findOriginalError(t){let n=t&&il(t);for(;n&&il(n);)n=il(n);return n||null}}const Zd={name:"custom-elements"},Yd={name:"no-errors-schema"},O_=/^>|^->|<!--|-->|--!>|<!-$/g,R_=/(<|>)/;const Jd=(()=>("undefined"!=typeof requestAnimationFrame&&requestAnimationFrame||setTimeout).bind(be))();function ef(e){return e.ownerDocument.defaultView}function tf(e){return e.ownerDocument}function nf(e){return e.ownerDocument.body}function ii(e){return e instanceof Function?e():e}var si=(()=>((si=si||{})[si.Important=1]="Important",si[si.DashCase=2]="DashCase",si))();let sl;function ol(e,t){return sl(e,t)}function no(e){const t=e[3];return In(t)?t[3]:t}function af(e){return function(e){let t=fn(e)?e:nl(e);for(;t&&!(512&t[2]);)t=no(t);return t}(e)[8]}function al(e){return lf(e[13])}function ll(e){return lf(e[4])}function lf(e){for(;null!==e&&!In(e);)e=e[4];return e}function fs(e,t,n,r,i){if(null!=r){let s,a=!1;In(r)?s=r:fn(r)&&(a=!0,r=r[0]);const u=v(r);0===e&&null!==n?null==i?pf(t,n,u):$i(t,n,u,i||null,!0):1===e&&null!==n?$i(t,n,u,i||null,!0):2===e?Ef(t,u,a):3===e&&t.destroyNode(u),null!=s&&function(e,t,n,r,i){const s=n[7];s!==v(n)&&fs(t,e,r,s,i);for(let u=10;u<n.length;u++){const c=n[u];ro(c[1],c,e,t,r,s)}}(t,e,s,n,i)}}function ul(e,t){return ye(e)?e.createText(t):e.createTextNode(t)}function uf(e,t,n){ye(e)?e.setValue(t,n):t.textContent=n}function H_(e,t){return e.createComment(function(e){return e.replace(O_,t=>t.replace(R_,"\u200b$1\u200b"))}(t))}function cl(e,t,n){return ye(e)?e.createElement(t,n):null===n?e.createElement(t):e.createElementNS(n,t)}function cf(e,t){const n=e[9],r=n.indexOf(t),i=t[3];1024&t[2]&&(t[2]&=-1025,Le(i,-1)),n.splice(r,1)}function dl(e,t){if(e.length<=10)return;const n=10+t,r=e[n];if(r){const i=r[17];null!==i&&i!==e&&cf(i,r),t>0&&(e[n-1][4]=r[4]);const s=Ho(e,10+t);!function(e,t){ro(e,t,t[11],2,null,null),t[0]=null,t[6]=null}(r[1],r);const a=s[19];null!==a&&a.detachView(s[1]),r[3]=null,r[4]=null,r[2]&=-129}return r}function df(e,t){if(!(256&t[2])){const n=t[11];ye(n)&&n.destroyNode&&ro(e,t,n,3,null,null),function(e){let t=e[13];if(!t)return fl(e[1],e);for(;t;){let n=null;if(fn(t))n=t[13];else{const r=t[10];r&&(n=r)}if(!n){for(;t&&!t[4]&&t!==e;)fn(t)&&fl(t[1],t),t=t[3];null===t&&(t=e),fn(t)&&fl(t[1],t),n=t&&t[4]}t=n}}(t)}}function fl(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 i=t[n[r]];if(!(i instanceof js)){const s=n[r+1];if(Array.isArray(s))for(let a=0;a<s.length;a+=2){const u=i[s[a]],c=s[a+1];tt(4,u,c);try{c.call(u)}finally{tt(5,u,c)}}else{tt(4,i,s);try{s.call(i)}finally{tt(5,i,s)}}}}}(e,t),function(e,t){const n=e.cleanup,r=t[7];let i=-1;if(null!==n)for(let s=0;s<n.length-1;s+=2)if("string"==typeof n[s]){const a=n[s+1],u="function"==typeof a?a(t):v(t[a]),c=r[i=n[s+2]],_=n[s+3];"boolean"==typeof _?u.removeEventListener(n[s],c,_):_>=0?r[i=_]():r[i=-_].unsubscribe(),s+=2}else{const a=r[i=n[s+1]];n[s].call(a)}if(null!==r){for(let s=i+1;s<r.length;s++)r[s]();t[7]=null}}(e,t),1===t[1].type&&ye(t[11])&&t[11].destroy();const n=t[17];if(null!==n&&In(t[3])){n!==t[3]&&cf(n,t);const r=t[19];null!==r&&r.detachView(e)}}}function ff(e,t,n){return hf(e,t.parent,n)}function hf(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 i=e.data[r.directiveStart].encapsulation;if(i===O.None||i===O.Emulated)return null}return D(r,n)}function $i(e,t,n,r,i){ye(e)?e.insertBefore(t,n,r,i):t.insertBefore(n,r,i)}function pf(e,t,n){ye(e)?e.appendChild(t,n):t.appendChild(n)}function gf(e,t,n,r,i){null!==r?$i(e,t,n,r,i):pf(e,t,n)}function Qo(e,t){return ye(e)?e.parentNode(t):t.parentNode}function mf(e,t,n){return _f(e,t,n)}function yf(e,t,n){return 40&e.type?D(e,n):null}let hl,_f=yf;function vf(e,t){_f=e,hl=t}function Zo(e,t,n,r){const i=ff(e,r,t),s=t[11],u=mf(r.parent||t[6],r,t);if(null!=i)if(Array.isArray(n))for(let c=0;c<n.length;c++)gf(s,i,n[c],u,!1);else gf(s,i,n,u,!1);void 0!==hl&&hl(s,r,t,n,i)}function Yo(e,t){if(null!==t){const n=t.type;if(3&n)return D(t,e);if(4&n)return pl(-1,e[t.index]);if(8&n){const r=t.child;if(null!==r)return Yo(e,r);{const i=e[t.index];return In(i)?pl(-1,i):v(i)}}if(32&n)return ol(t,e)()||v(e[t.index]);{const r=Df(e,t);return null!==r?Array.isArray(r)?r[0]:Yo(no(e[16]),r):Yo(e,t.next)}}return null}function Df(e,t){return null!==t?e[16][6].projection[t.projection]:null}function pl(e,t){const n=10+e+1;if(n<t.length){const r=t[n],i=r[1].firstChild;if(null!==i)return Yo(r,i)}return t[7]}function Ef(e,t,n){const r=Qo(e,t);r&&function(e,t,n,r){ye(e)?e.removeChild(t,n,r):t.removeChild(n)}(e,r,t,n)}function gl(e,t,n,r,i,s,a){for(;null!=n;){const u=r[n.index],c=n.type;if(a&&0===t&&(u&&kn(v(u),r),n.flags|=4),64!=(64&n.flags))if(8&c)gl(e,t,n.child,r,i,s,!1),fs(t,e,i,u,s);else if(32&c){const _=ol(n,r);let E;for(;E=_();)fs(t,e,i,E,s);fs(t,e,i,u,s)}else 16&c?Cf(e,t,r,n,i,s):fs(t,e,i,u,s);n=a?n.projectionNext:n.next}}function ro(e,t,n,r,i,s){gl(n,r,e.firstChild,t,i,s,!1)}function Cf(e,t,n,r,i,s){const a=n[16],c=a[6].projection[r.projection];if(Array.isArray(c))for(let _=0;_<c.length;_++)fs(t,e,i,c[_],s);else gl(e,t,c,a[3],i,s,!0)}function wf(e,t,n){ye(e)?e.setAttribute(t,"style",n):t.style.cssText=n}function ml(e,t,n){ye(e)?""===n?e.removeAttribute(t,"class"):e.setAttribute(t,"class",n):t.className=n}function bf(e,t,n){let r=e.length;for(;;){const i=e.indexOf(t,n);if(-1===i)return i;if(0===i||e.charCodeAt(i-1)<=32){const s=t.length;if(i+s===r||e.charCodeAt(i+s)<=32)return i}n=i+1}}const Mf="ng-template";function tv(e,t,n){let r=0;for(;r<e.length;){let i=e[r++];if(n&&"class"===i){if(i=e[r],-1!==bf(i.toLowerCase(),t,0))return!0}else if(1===i){for(;r<e.length&&"string"==typeof(i=e[r++]);)if(i.toLowerCase()===t)return!0;return!1}}return!1}function Af(e){return 4===e.type&&e.value!==Mf}function nv(e,t,n){return t===(4!==e.type||n?e.value:Mf)}function rv(e,t,n){let r=4;const i=e.attrs||[],s=function(e){for(let t=0;t<e.length;t++)if(nd(e[t]))return t;return e.length}(i);let a=!1;for(let u=0;u<t.length;u++){const c=t[u];if("number"!=typeof c){if(!a)if(4&r){if(r=2|1&r,""!==c&&!nv(e,c,n)||""===c&&1===t.length){if(Ur(r))return!1;a=!0}}else{const _=8&r?c:t[++u];if(8&r&&null!==e.attrs){if(!tv(e.attrs,_,n)){if(Ur(r))return!1;a=!0}continue}const I=iv(8&r?"class":c,i,Af(e),n);if(-1===I){if(Ur(r))return!1;a=!0;continue}if(""!==_){let F;F=I>s?"":i[I+1].toLowerCase();const k=8&r?F:null;if(k&&-1!==bf(k,_,0)||2&r&&_!==F){if(Ur(r))return!1;a=!0}}}}else{if(!a&&!Ur(r)&&!Ur(c))return!1;if(a&&Ur(c))continue;a=!1,r=c|1&r}}return Ur(r)||a}function Ur(e){return 0==(1&e)}function iv(e,t,n,r){if(null===t)return-1;let i=0;if(r||!n){let s=!1;for(;i<t.length;){const a=t[i];if(a===e)return i;if(3===a||6===a)s=!0;else{if(1===a||2===a){let u=t[++i];for(;"string"==typeof u;)u=t[++i];continue}if(4===a)break;if(0===a){i+=4;continue}}i+=s?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 If(e,t,n=!1){for(let r=0;r<t.length;r++)if(rv(e,t[r],n))return!0;return!1}function lv(e,t){e:for(let n=0;n<t.length;n++){const r=t[n];if(e.length===r.length){for(let i=0;i<e.length;i++)if(e[i]!==r[i])continue e;return!0}}return!1}function Sf(e,t){return e?":not("+t.trim()+")":t}function uv(e){let t=e[0],n=1,r=2,i="",s=!1;for(;n<e.length;){let a=e[n];if("string"==typeof a)if(2&r){const u=e[++n];i+="["+a+(u.length>0?'="'+u+'"':"")+"]"}else 8&r?i+="."+a:4&r&&(i+=" "+a);else""!==i&&!Ur(a)&&(t+=Sf(s,i),i=""),r=a,s=s||!Ur(r);n++}return""!==i&&(t+=Sf(s,i)),t}const Ze={};function Tf(e){Ff(Je(),re(),zn()+e,Ge())}function Ff(e,t,n,r){if(!r)if(3==(3&t[2])){const s=e.preOrderCheckHooks;null!==s&&Po(t,s,n)}else{const s=e.preOrderHooks;null!==s&&Oo(t,s,0,n)}Fi(n)}function Xo(e,t){return e<<17|t<<2}function $r(e){return e>>17&32767}function yl(e){return 2|e}function Di(e){return(131068&e)>>2}function _l(e,t){return-131069&e|t<<2}function vl(e){return 1|e}const Il=(()=>Promise.resolve(null))();function Hf(e,t){const n=e.contentQueries;if(null!==n)for(let r=0;r<n.length;r+=2){const i=n[r],s=n[r+1];if(-1!==s){const a=e.data[s];Ta(i),a.contentQueries(2,t[s],s)}}}function io(e,t,n,r,i,s,a,u,c,_){const E=t.blueprint.slice();return E[0]=i,E[2]=140|r,it(E),E[3]=E[15]=e,E[8]=n,E[10]=a||e&&e[10],E[11]=u||e&&e[11],E[12]=c||e&&e[12]||null,E[9]=_||e&&e[9]||null,E[6]=s,E[16]=2==t.type?e[16]:E,E}function hs(e,t,n,r,i){let s=e.data[t];if(null===s)s=Sl(e,t,n,r,i),_e.lFrame.inI18n&&(s.flags|=64);else if(64&s.type){s.type=n,s.value=r,s.attrs=i;const a=jr();s.injectorIndex=null===a?-1:a.injectorIndex}return En(s,!0),s}function Sl(e,t,n,r,i){const s=Bs(),a=Zi(),c=e.data[t]=function(e,t,n,r,i,s){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:i,attrs:s,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,a?s:s&&s.parent,n,t,r,i);return null===e.firstChild&&(e.firstChild=c),null!==s&&(a?null==s.child&&null!==c.parent&&(s.child=c):null===s.next&&(s.next=c)),c}function ps(e,t,n,r){if(0===n)return-1;const i=t.length;for(let s=0;s<n;s++)t.push(r),e.blueprint.push(r),e.data.push(null);return i}function so(e,t,n){To(t);try{const r=e.viewQuery;null!==r&&Vl(1,r,n);const i=e.template;null!==i&&Uf(e,t,i,1,n),e.firstCreatePass&&(e.firstCreatePass=!1),e.staticContentQueries&&Hf(e,t),e.staticViewQueries&&Vl(2,e.viewQuery,n);const s=e.components;null!==s&&function(e,t){for(let n=0;n<t.length;n++)zv(e,t[n])}(t,s)}catch(r){throw e.firstCreatePass&&(e.incompleteFirstPass=!0,e.firstCreatePass=!1),r}finally{t[2]&=-5,Fo()}}function gs(e,t,n,r){const i=t[2];if(256==(256&i))return;To(t);const s=Ge();try{it(t),Ln(e.bindingStartIndex),null!==n&&Uf(e,t,n,2,r);const a=3==(3&i);if(!s)if(a){const _=e.preOrderCheckHooks;null!==_&&Po(t,_,null)}else{const _=e.preOrderHooks;null!==_&&Oo(t,_,0,null),Fa(t,0)}if(function(e){for(let t=al(e);null!==t;t=ll(t)){if(!t[2])continue;const n=t[9];for(let r=0;r<n.length;r++){const i=n[r],s=i[3];0==(1024&i[2])&&Le(s,1),i[2]|=1024}}}(t),function(e){for(let t=al(e);null!==t;t=ll(t))for(let n=10;n<t.length;n++){const r=t[n],i=r[1];ve(r)&&gs(i,r,i.template,r[8])}}(t),null!==e.contentQueries&&Hf(e,t),!s)if(a){const _=e.contentCheckHooks;null!==_&&Po(t,_)}else{const _=e.contentHooks;null!==_&&Oo(t,_,1),Fa(t,1)}!function(e,t){const n=e.hostBindingOpCodes;if(null!==n)try{for(let r=0;r<n.length;r++){const i=n[r];if(i<0)Fi(~i);else{const s=i,a=n[++r],u=n[++r];Xn(a,s),u(2,t[s])}}}finally{Fi(-1)}}(e,t);const u=e.components;null!==u&&function(e,t){for(let n=0;n<t.length;n++)Gv(e,t[n])}(t,u);const c=e.viewQuery;if(null!==c&&Vl(2,c,r),!s)if(a){const _=e.viewCheckHooks;null!==_&&Po(t,_)}else{const _=e.viewHooks;null!==_&&Oo(t,_,2),Fa(t,2)}!0===e.firstUpdatePass&&(e.firstUpdatePass=!1),s||(t[2]&=-73),1024&t[2]&&(t[2]&=-1025,Le(t[3],-1))}finally{Fo()}}function Mv(e,t,n,r){const i=t[10],s=!Ge(),a=ee(t);try{s&&!a&&i.begin&&i.begin(),a&&so(e,t,r),gs(e,t,n,r)}finally{s&&!a&&i.end&&i.end()}}function Uf(e,t,n,r,i){const s=zn(),a=2&r;try{Fi(-1),a&&t.length>20&&Ff(e,t,20,Ge()),tt(a?2:0,i),n(r,i)}finally{Fi(s),tt(a?3:1,i)}}function $f(e,t,n){if(wr(t)){const i=t.directiveEnd;for(let s=t.directiveStart;s<i;s++){const a=e.data[s];a.contentQueries&&a.contentQueries(1,n[s],s)}}}function Tl(e,t,n){!ln()||(function(e,t,n,r){const i=n.directiveStart,s=n.directiveEnd;e.firstCreatePass||Us(n,t),kn(r,t);const a=n.initialInputs;for(let u=i;u<s;u++){const c=e.data[u],_=vn(c);_&&Bv(t,n,c);const E=$s(t,e,u,n);kn(E,t),null!==a&&jv(0,u-i,E,c,0,a),_&&(B(n.index,t)[8]=E)}}(e,t,n,D(n,t)),128==(128&n.flags)&&function(e,t,n){const r=n.directiveStart,i=n.directiveEnd,a=n.index,u=_e.lFrame.currentDirectiveIndex;try{Fi(a);for(let c=r;c<i;c++){const _=e.data[c],E=t[c];Ti(c),(null!==_.hostBindings||0!==_.hostVars||null!==_.hostAttrs)&&Yf(_,E)}}finally{Fi(-1),Ti(u)}}(e,t,n))}function Fl(e,t,n=D){const r=t.localNames;if(null!==r){let i=t.index+1;for(let s=0;s<r.length;s+=2){const a=r[s+1],u=-1===a?n(t,e):e[a];e[i++]=u}}}function Gf(e){const t=e.tView;return null===t||t.incompleteFirstPass?e.tView=ta(1,null,e.template,e.decls,e.vars,e.directiveDefs,e.pipeDefs,e.viewQuery,e.schemas,e.consts):t}function ta(e,t,n,r,i,s,a,u,c,_){const E=20+r,I=E+i,F=function(e,t){const n=[];for(let r=0;r<t;r++)n.push(r<e?null:Ze);return n}(E,I),k="function"==typeof _?_():_;return F[1]={type:e,blueprint:F,template:n,queries:null,viewQuery:u,declTNode:t,data:F.slice().fill(null,E),bindingStartIndex:E,expandoStartIndex:I,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 s?s():s,pipeRegistry:"function"==typeof a?a():a,firstChild:null,schemas:c,consts:k,incompleteFirstPass:!1}}function Wf(e,t,n){if(ye(e))return e.selectRootElement(t,n===O.ShadowDom);let r="string"==typeof t?e.querySelector(t):t;return r.textContent="",r}function Kf(e,t,n,r){const i=rh(t);null===n?i.push(r):(i.push(n),e.firstCreatePass&&ih(e).push(r,i.length-1))}function qf(e,t,n){for(let r in e)if(e.hasOwnProperty(r)){const i=e[r];(n=null===n?{}:n).hasOwnProperty(r)?n[r].push(t,i):n[r]=[t,i]}return n}function lr(e,t,n,r,i,s,a,u){const c=D(t,n);let E,_=t.inputs;!u&&null!=_&&(E=_[r])?(ah(e,n,E,r,i),br(t)&&function(e,t){const n=B(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),i=null!=a?a(i,t.value||"",r):i,ye(s)?s.setProperty(c,r,i):Pa(r)||(c.setProperty?c.setProperty(r,i):c[r]=i))}function Nl(e,t,n,r){let i=!1;if(ln()){const s=function(e,t,n){const r=e.directiveRegistry;let i=null;if(r)for(let s=0;s<r.length;s++){const a=r[s];If(n,a.selectors,!1)&&(i||(i=[]),ko(Us(n,t),e,a.type),vn(a)?(Xf(e,n),i.unshift(a)):i.push(a))}return i}(e,t,n),a=null===r?null:{"":-1};if(null!==s){i=!0,Jf(n,e.data.length,s.length);for(let E=0;E<s.length;E++){const I=s[E];I.providersResolver&&I.providersResolver(I)}let u=!1,c=!1,_=ps(e,t,s.length,null);for(let E=0;E<s.length;E++){const I=s[E];n.mergedAttrs=xo(n.mergedAttrs,I.hostAttrs),eh(e,n,t,_,I),kv(_,I,a),null!==I.contentQueries&&(n.flags|=8),(null!==I.hostBindings||null!==I.hostAttrs||0!==I.hostVars)&&(n.flags|=128);const F=I.type.prototype;!u&&(F.ngOnChanges||F.ngOnInit||F.ngDoCheck)&&((e.preOrderHooks||(e.preOrderHooks=[])).push(n.index),u=!0),!c&&(F.ngOnChanges||F.ngDoCheck)&&((e.preOrderCheckHooks||(e.preOrderCheckHooks=[])).push(n.index),c=!0),_++}!function(e,t){const r=t.directiveEnd,i=e.data,s=t.attrs,a=[];let u=null,c=null;for(let _=t.directiveStart;_<r;_++){const E=i[_],I=E.inputs,F=null===s||Af(t)?null:Hv(I,s);a.push(F),u=qf(I,_,u),c=qf(E.outputs,_,c)}null!==u&&(u.hasOwnProperty("class")&&(t.flags|=16),u.hasOwnProperty("style")&&(t.flags|=32)),t.initialInputs=a,t.inputs=u,t.outputs=c}(e,n)}a&&function(e,t,n){if(t){const r=e.localNames=[];for(let i=0;i<t.length;i+=2){const s=n[t[i+1]];if(null==s)throw new vt("301",`Export of name '${t[i+1]}' not found!`);r.push(t[i],s)}}}(n,r,a)}return n.mergedAttrs=xo(n.mergedAttrs,n.attrs),i}function Zf(e,t,n,r,i,s){const a=s.hostBindings;if(a){let u=e.hostBindingOpCodes;null===u&&(u=e.hostBindingOpCodes=[]);const c=~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})(u)!=c&&u.push(c),u.push(r,i,a)}}function Yf(e,t){null!==e.hostBindings&&e.hostBindings(1,t)}function Xf(e,t){t.flags|=2,(e.components||(e.components=[])).push(t.index)}function kv(e,t,n){if(n){if(t.exportAs)for(let r=0;r<t.exportAs.length;r++)n[t.exportAs[r]]=e;vn(t)&&(n[""]=e)}}function Jf(e,t,n){e.flags|=1,e.directiveStart=t,e.directiveEnd=t+n,e.providerIndexes=t}function eh(e,t,n,r,i){e.data[r]=i;const s=i.factory||(i.factory=m(i.type)),a=new js(s,vn(i),null);e.blueprint[r]=a,n[r]=a,Zf(e,t,0,r,ps(e,n,i.hostVars,Ze),i)}function Bv(e,t,n){const r=D(t,e),i=Gf(n),s=e[10],a=na(e,io(e,i,null,n.onPush?64:16,r,t,s,s.createRenderer(r,n),null,null));e[t.index]=a}function oi(e,t,n,r,i,s){const a=D(e,t);Pl(t[11],a,s,e.value,n,r,i)}function Pl(e,t,n,r,i,s,a){if(null==s)ye(e)?e.removeAttribute(t,i,n):t.removeAttribute(i);else{const u=null==a?Ie(s):a(s,r||"",i);ye(e)?e.setAttribute(t,i,u,n):n?t.setAttributeNS(n,i,u):t.setAttribute(i,u)}}function jv(e,t,n,r,i,s){const a=s[t];if(null!==a){const u=r.setInput;for(let c=0;c<a.length;){const _=a[c++],E=a[c++],I=a[c++];null!==u?r.setInput(n,I,_,E):n[E]=I}}}function Hv(e,t){let n=null,r=0;for(;r<t.length;){const i=t[r];if(0!==i)if(5!==i){if("number"==typeof i)break;e.hasOwnProperty(i)&&(null===n&&(n=[]),n.push(i,e[i],t[r+1])),r+=2}else r+=2;else r+=4}return n}function th(e,t,n,r){return new Array(e,!0,!1,t,null,0,r,n,null,null)}function Gv(e,t){const n=B(t,e);if(ve(n)){const r=n[1];80&n[2]?gs(r,n,r.template,n[8]):n[5]>0&&Ol(n)}}function Ol(e){for(let r=al(e);null!==r;r=ll(r))for(let i=10;i<r.length;i++){const s=r[i];if(1024&s[2]){const a=s[1];gs(a,s,a.template,s[8])}else s[5]>0&&Ol(s)}const n=e[1].components;if(null!==n)for(let r=0;r<n.length;r++){const i=B(n[r],e);ve(i)&&i[5]>0&&Ol(i)}}function zv(e,t){const n=B(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),so(r,n,n[8])}function na(e,t){return e[13]?e[14][4]=t:e[13]=t,e[14]=t,t}function Rl(e){for(;e;){e[2]|=64;const t=no(e);if(Ar(e)&&!t)return e;e=t}return null}function xl(e){for(let t=0;t<e.components.length;t++){const n=e.components[t],r=nl(n),i=r[1];Mv(i,r,i.template,n)}}function Ll(e,t,n){const r=t[10];r.begin&&r.begin();try{gs(e,t,e.template,n)}catch(i){throw oh(t,i),i}finally{r.end&&r.end()}}function nh(e){xl(e[8])}function Vl(e,t,n){Ta(0),t(e,n)}const Zv=Il;function rh(e){return e[7]||(e[7]=[])}function ih(e){return e.cleanup||(e.cleanup=[])}function sh(e,t,n){return(null===e||vn(e))&&(n=function(e){for(;Array.isArray(e);){if("object"==typeof e[1])return e;e=e[0]}return null}(n[t.index])),n[11]}function oh(e,t){const n=e[9],r=n?n.get(to,null):null;r&&r.handleError(t)}function ah(e,t,n,r,i){for(let s=0;s<n.length;){const a=n[s++],u=n[s++],c=t[a],_=e.data[a];null!==_.setInput?_.setInput(c,i,r,u):c[u]=i}}function Ei(e,t,n){const r=d(t,e);uf(e[11],r,n)}function ra(e,t,n){let r=n?e.styles:null,i=n?e.classes:null,s=0;if(null!==t)for(let a=0;a<t.length;a++){const u=t[a];"number"==typeof u?s=u:1==s?i=G(i,u):2==s&&(r=G(r,u+": "+t[++a]+";"))}n?e.styles=r:e.stylesWithoutHost=r,n?e.classes=i:e.classesWithoutHost=i}function lh(e){const t=zd(e);Ll(t[1],t,e)}function uh(e){!function(e,t){if(0===e.flags&&e.clean==Il){let r;e.flags|=1,e.clean=new Promise(i=>r=i),e.scheduler(()=>{if(1&e.flags&&(e.flags&=-2,xl(e)),2&e.flags){e.flags&=-3;const i=e.playerHandler;i&&i.flushPlayers()}e.clean=Il,r(null)})}}(Rl(zd(e))[8])}const ia=new Xt("INJECTOR",-1);class ch{get(t,n=Oi){if(n===Oi){const r=new Error(`NullInjectorError: No provider for ${z(t)}!`);throw r.name="NullInjectorError",r}return n}}const kl=new Xt("Set Injector scope."),oo={},Yv={};let Bl;function dh(){return void 0===Bl&&(Bl=new ch),Bl}function jl(e,t=null,n=null,r){const i=fh(e,t,n,r);return i._resolveInjectorDefTypes(),i}function fh(e,t=null,n=null,r){return new Xv(e,n,t||dh(),r)}class Xv{constructor(t,n,r,i=null){this.parent=r,this.records=new Map,this.injectorDefTypes=new Set,this.onDestroy=new Set,this._destroyed=!1;const s=[];n&&ni(n,u=>this.processProvider(u,t,n)),ni([t],u=>this.processInjectorType(u,[],s)),this.records.set(ia,ms(void 0,this));const a=this.records.get(kl);this.scope=null!=a?a.value:null,this.source=i||("object"==typeof t?null:z(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=Oi,r=Ve.Default){this.assertNotDestroyed();const i=$a(this),s=nn(void 0);try{if(!(r&Ve.SkipSelf)){let u=this.records.get(t);if(void 0===u){const c=("function"==typeof(e=t)||"object"==typeof e&&e instanceof Xt)&&Ht(t);u=c&&this.injectableDefInScope(c)?ms(Hl(t),oo):null,this.records.set(t,u)}if(null!=u)return this.hydrate(t,u)}return(r&Ve.Self?dh():this.parent).get(t,n=r&Ve.Optional&&n===Oi?null:n)}catch(a){if("NullInjectorError"===a.name){if((a[$o]=a[$o]||[]).unshift(z(t)),i)throw a;return function(e,t,n,r){const i=e[$o];throw t[Dd]&&i.unshift(t[Dd]),e.message=function(e,t,n,r=null){e=e&&"\n"===e.charAt(0)&&"\u0275"==e.charAt(1)?e.substr(2):e;let i=z(t);if(Array.isArray(t))i=t.map(z).join(" -> ");else if("object"==typeof t){let s=[];for(let a in t)if(t.hasOwnProperty(a)){let u=t[a];s.push(a+":"+("string"==typeof u?JSON.stringify(u):z(u)))}i=`{${s.join(", ")}}`}return`${n}${r?"("+r+")":""}[${i}]: ${e.replace(jy,"\n ")}`}("\n"+e.message,i,n,r),e.ngTokenPath=i,e[$o]=null,e}(a,t,"R3InjectorError",this.source)}throw a}finally{nn(s),$a(i)}var e}_resolveInjectorDefTypes(){this.injectorDefTypes.forEach(t=>this.get(t))}toString(){const t=[];return this.records.forEach((r,i)=>t.push(z(i))),`R3Injector[${t.join(", ")}]`}assertNotDestroyed(){if(this._destroyed)throw new Error("Injector has already been destroyed.")}processInjectorType(t,n,r){if(!(t=Se(t)))return!1;let i=mt(t);const s=null==i&&t.ngModule||void 0,a=void 0===s?t:s,u=-1!==r.indexOf(a);if(void 0!==s&&(i=mt(s)),null==i)return!1;if(null!=i.imports&&!u){let E;r.push(a);try{ni(i.imports,I=>{this.processInjectorType(I,n,r)&&(void 0===E&&(E=[]),E.push(I))})}finally{}if(void 0!==E)for(let I=0;I<E.length;I++){const{ngModule:F,providers:k}=E[I];ni(k,Y=>this.processProvider(Y,F,k||at))}}this.injectorDefTypes.add(a);const c=m(a)||(()=>new a);this.records.set(a,ms(c,oo));const _=i.providers;if(null!=_&&!u){const E=t;ni(_,I=>this.processProvider(I,E,_))}return void 0!==s&&void 0!==t.providers}processProvider(t,n,r){let i=ys(t=Se(t))?t:Se(t&&t.provide);const s=(e=t,ph(e)?ms(void 0,e.useValue):ms(hh(e),oo));var e;if(ys(t)||!0!==t.multi)this.records.get(i);else{let a=this.records.get(i);a||(a=ms(void 0,oo,!0),a.factory=()=>za(a.multi),this.records.set(i,a)),i=t,a.multi.push(t)}this.records.set(i,s)}hydrate(t,n){return n.value===oo&&(n.value=Yv,n.value=n.factory()),"object"==typeof n.value&&n.value&&null!==(e=n.value)&&"object"==typeof e&&"function"==typeof e.ngOnDestroy&&this.onDestroy.add(n.value),n.value;var e}injectableDefInScope(t){if(!t.providedIn)return!1;const n=Se(t.providedIn);return"string"==typeof n?"any"===n||n===this.scope:this.injectorDefTypes.has(n)}}function Hl(e){const t=Ht(e),n=null!==t?t.factory:m(e);if(null!==n)return n;if(e instanceof Xt)throw new Error(`Token ${z(e)} is missing a \u0275prov definition.`);if(e instanceof Function)return function(e){const t=e.length;if(t>0){const r=Ws(t,"?");throw new Error(`Can't resolve all parameters for ${z(e)}: (${r.join(", ")}).`)}const n=function(e){const t=e&&(e[er]||e[hr]);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 hh(e,t,n){let r;if(ys(e)){const i=Se(e);return m(i)||Hl(i)}if(ph(e))r=()=>Se(e.useValue);else if(function(e){return!(!e||!e.useFactory)}(e))r=()=>e.useFactory(...za(e.deps||[]));else if(function(e){return!(!e||!e.useExisting)}(e))r=()=>Cn(Se(e.useExisting));else{const i=Se(e&&(e.useClass||e.provide));if(!function(e){return!!e.deps}(e))return m(i)||Hl(i);r=()=>new i(...za(e.deps))}return r}function ms(e,t,n=!1){return{factory:e,value:t,multi:n?[]:void 0}}function ph(e){return null!==e&&"object"==typeof e&&Uy in e}function ys(e){return"function"==typeof e}let ur=(()=>{class e{static create(n,r){var i;if(Array.isArray(n))return jl({name:""},r,n,"");{const s=null!==(i=n.name)&&void 0!==i?i:"";return jl({name:s},n.parent,n.providers,s)}}}return e.THROW_IF_NOT_FOUND=Oi,e.NULL=new ch,e.\u0275prov=Te({token:e,providedIn:"any",factory:()=>Cn(ia)}),e.__NG_ELEMENT_ID__=-1,e})();function Ul(e){Gl(e);const t=Vn(e);return null===t?null:(void 0===t.component&&(t.component=function(e,t){const n=t[1].data[e];return 2&n.flags?t[n.directiveStart]:null}(t.nodeIndex,t.lView)),t.component)}function gh(e){Gl(e);const t=Vn(e);return null===t?null:t.lView[8]}function mh(e){const t=Vn(e);if(null===t)return null;let r,n=t.lView;for(;2===n[1].type&&(r=no(n));)n=r;return 512&n[2]?null:n[8]}function yh(e){return[...af(e).components]}function _h(e){const t=Vn(e);return null===t?ur.NULL:new ts(t.lView[1].data[t.nodeIndex],t.lView)}function vh(e){if(e instanceof Text)return[];const t=Vn(e);if(null===t)return[];const n=t.lView,r=n[1],i=t.nodeIndex;return(null==r?void 0:r.data[i])?(void 0===t.directives&&(t.directives=Qd(i,n,!1)),null===t.directives?[]:[...t.directives]):[]}function lD(e){const{constructor:t}=e;if(!t)throw new Error("Unable to find the instance constructor");const n=Ft(t);if(n)return{inputs:n.inputs,outputs:n.outputs,encapsulation:n.encapsulation,changeDetection:n.onPush?xt.OnPush:xt.Default};const r=_n(t);return r?{inputs:r.inputs,outputs:r.outputs}:null}function $l(e){return Vn(e).native}function Dh(e){Gl(e);const t=Vn(e);if(null===t)return[];const n=t.lView,i=n[7],s=n[1].cleanup,a=[];if(s&&i)for(let u=0;u<s.length;){const c=s[u++],_=s[u++];if("string"==typeof c){const E=c,I=v(n[_]),F=i[s[u++]],k=s[u++],Y="boolean"==typeof k||k>=0?"dom":"output",ue="boolean"==typeof k&&k;e==I&&a.push({element:e,name:E,callback:F,useCapture:ue,type:Y})}}return a.sort(cD),a}function cD(e,t){return e.name==t.name?0:e.name<t.name?-1:1}function dD(e){return void 0!==e.type&&void 0!==e.template&&void 0!==e.declaredInputs}function Gl(e){if("undefined"!=typeof Element&&!(e instanceof Element))throw new Error("Expecting instance of DOM Element")}function fD(e){uh(e),yh(e).forEach(t=>lh(t))}let Ch=!1;function hD(){Ch||(Ch=!0,Fr("\u0275setProfiler",Qt),Fr("getDirectiveMetadata",lD),Fr("getComponent",Ul),Fr("getContext",gh),Fr("getListeners",Dh),Fr("getOwningComponent",mh),Fr("getHostElement",$l),Fr("getInjector",_h),Fr("getRootComponents",yh),Fr("getDirectives",vh),Fr("applyChanges",fD))}function Fr(e,t){if("undefined"==typeof COMPILED||!COMPILED){const n=be;if(n){let r=n.ng;r||(r=n.ng={}),r[e]=t}}}function pD(e,t={}){const n=t.rendererFactory||yt,r=t.sanitizer||null,i=Ft(e);i.type!=e&&(i.type=e);const s=i.selectors[0][0],u=Wf(n.createRenderer(null,null),t.host||s,i.encapsulation),c=i.onPush?576:528,_=Mh(t.scheduler,t.playerHandler),E=n.createRenderer(u,i),I=ta(0,null,null,1,0,null,null,null,null,null),F=io(null,I,_,c,null,null,n,E,null,t.injector||null);let k;To(F);try{n.begin&&n.begin(),k=bh(wh(u,i,F,n,E,r),i,F,_,t.hostFeatures||null),so(I,F,null),gs(I,F,null,null)}finally{Fo(),n.end&&n.end()}return k}function wh(e,t,n,r,i,s){const a=n[1];n[20]=e;const c=hs(a,20,2,"#host",null),_=c.mergedAttrs=t.hostAttrs;null!==_&&(ra(c,_,!0),null!==e&&(Ro(i,e,_),null!==c.classes&&ml(i,e,c.classes),null!==c.styles&&wf(i,e,c.styles)));const E=r.createRenderer(e,t),I=io(n,Gf(t),null,t.onPush?64:16,n[20],c,r,E,s||null,null);return a.firstCreatePass&&(ko(Us(c,n),a,t.type),Xf(a,c),Jf(c,n.length,1)),na(n,I),n[20]=I}function bh(e,t,n,r,i){const s=n[1],a=function(e,t,n){const r=It();e.firstCreatePass&&(n.providersResolver&&n.providersResolver(n),eh(e,r,t,ps(e,t,1,null),n));const i=$s(t,e,r.directiveStart,r);kn(i,t);const s=D(r,t);return s&&kn(s,t),i}(s,n,t);if(r.components.push(a),e[8]=a,i&&i.forEach(c=>c(a,t)),t.contentQueries){const c=It();t.contentQueries(1,a,c.directiveStart)}const u=It();return!s.firstCreatePass||null===t.hostBindings&&null===t.hostAttrs||(Fi(u.index),Zf(n[1],u,0,u.directiveStart,u.directiveEnd,t),Yf(t,a)),a}function Mh(e,t){return{components:[],scheduler:e||Jd,clean:Zv,playerHandler:t||null,flags:0}}function Ah(e,t){No(nl(e)[1],It())}function gD(e){return af(e).clean}function Ih(e){return Object.getPrototypeOf(e.prototype).constructor}function zl(e){let t=Ih(e.type),n=!0;const r=[e];for(;t;){let i;if(vn(e))i=t.\u0275cmp||t.\u0275dir;else{if(t.\u0275cmp)throw new Error("Directives cannot inherit Components");i=t.\u0275dir}if(i){if(n){r.push(i);const a=e;a.inputs=Wl(e.inputs),a.declaredInputs=Wl(e.declaredInputs),a.outputs=Wl(e.outputs);const u=i.hostBindings;u&&vD(e,u);const c=i.viewQuery,_=i.contentQueries;if(c&&yD(e,c),_&&_D(e,_),K(e.inputs,i.inputs),K(e.declaredInputs,i.declaredInputs),K(e.outputs,i.outputs),vn(i)&&i.data.animation){const E=e.data;E.animation=(E.animation||[]).concat(i.data.animation)}}const s=i.features;if(s)for(let a=0;a<s.length;a++){const u=s[a];u&&u.ngInherit&&u(e),u===zl&&(n=!1)}}t=Object.getPrototypeOf(t)}!function(e){let t=0,n=null;for(let r=e.length-1;r>=0;r--){const i=e[r];i.hostVars=t+=i.hostVars,i.hostAttrs=xo(i.hostAttrs,n=xo(n,i.hostAttrs))}}(r)}function Wl(e){return e===Tt?{}:e===at?[]:e}function yD(e,t){const n=e.viewQuery;e.viewQuery=n?(r,i)=>{t(r,i),n(r,i)}:t}function _D(e,t){const n=e.contentQueries;e.contentQueries=n?(r,i,s)=>{t(r,i,s),n(r,i,s)}:t}function vD(e,t){const n=e.hostBindings;e.hostBindings=n?(r,i)=>{t(r,i),n(r,i)}:t}const DD=["providersResolver"],ED=["template","decls","consts","vars","onPush","ngContentSelectors","styles","encapsulation","schemas"];function Sh(e){let n,t=Ih(e.type);n=vn(e)?t.\u0275cmp:t.\u0275dir;const r=e;for(const i of DD)r[i]=n[i];if(vn(n))for(const i of ED)r[i]=n[i]}let sa=null;function _s(){if(!sa){const e=be.Symbol;if(e&&e.iterator)sa=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&&(sa=r)}}}return sa}function Th(e,t){const n=ao(e),r=ao(t);return n&&r?function(e,t,n){const r=e[_s()](),i=t[_s()]();for(;;){const s=r.next(),a=i.next();if(s.done&&a.done)return!0;if(s.done||a.done||!n(s.value,a.value))return!1}}(e,t,Th):!(n||!e||"object"!=typeof e&&"function"!=typeof e||r||!t||"object"!=typeof t&&"function"!=typeof t)||Object.is(e,t)}function ao(e){return!!Kl(e)&&(Array.isArray(e)||!(e instanceof Map)&&_s()in e)}function Kl(e){return null!==e&&("function"==typeof e||"object"==typeof e)}function ai(e,t,n){return e[t]=n}function lo(e,t){return e[t]}function Bn(e,t,n){return!Object.is(e[t],n)&&(e[t]=n,!0)}function Gi(e,t,n,r){const i=Bn(e,t,n);return Bn(e,t+1,r)||i}function oa(e,t,n,r,i){const s=Gi(e,t,n,r);return Bn(e,t+2,i)||s}function Nr(e,t,n,r,i,s){const a=Gi(e,t,n,r);return Gi(e,t+2,i,s)||a}function ql(e,t,n,r){const i=re();return Bn(i,Gn(),t)&&(Je(),oi(Yt(),i,e,t,n,r)),ql}function vs(e,t){let n=!1,r=un();for(let s=1;s<t.length;s+=2)n=Bn(e,r++,t[s])||n;if(Ln(r),!n)return Ze;let i=t[0];for(let s=1;s<t.length;s+=2)i+=Ie(t[s])+t[s+1];return i}function Ds(e,t,n,r){return Bn(e,Gn(),n)?t+Ie(n)+r:Ze}function Es(e,t,n,r,i,s){const u=Gi(e,un(),n,i);return _t(2),u?t+Ie(n)+r+Ie(i)+s:Ze}function Cs(e,t,n,r,i,s,a,u){const _=oa(e,un(),n,i,a);return _t(3),_?t+Ie(n)+r+Ie(i)+s+Ie(a)+u:Ze}function ws(e,t,n,r,i,s,a,u,c,_){const I=Nr(e,un(),n,i,a,c);return _t(4),I?t+Ie(n)+r+Ie(i)+s+Ie(a)+u+Ie(c)+_:Ze}function bs(e,t,n,r,i,s,a,u,c,_,E,I){const F=un();let k=Nr(e,F,n,i,a,c);return k=Bn(e,F+4,E)||k,_t(5),k?t+Ie(n)+r+Ie(i)+s+Ie(a)+u+Ie(c)+_+Ie(E)+I:Ze}function Ms(e,t,n,r,i,s,a,u,c,_,E,I,F,k){const Y=un();let ue=Nr(e,Y,n,i,a,c);return ue=Gi(e,Y+4,E,F)||ue,_t(6),ue?t+Ie(n)+r+Ie(i)+s+Ie(a)+u+Ie(c)+_+Ie(E)+I+Ie(F)+k:Ze}function As(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue){const De=un();let Ae=Nr(e,De,n,i,a,c);return Ae=oa(e,De+4,E,F,Y)||Ae,_t(7),Ae?t+Ie(n)+r+Ie(i)+s+Ie(a)+u+Ie(c)+_+Ie(E)+I+Ie(F)+k+Ie(Y)+ue:Ze}function Is(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De,Ae){const se=un();let Be=Nr(e,se,n,i,a,c);return Be=Nr(e,se+4,E,F,Y,De)||Be,_t(8),Be?t+Ie(n)+r+Ie(i)+s+Ie(a)+u+Ie(c)+_+Ie(E)+I+Ie(F)+k+Ie(Y)+ue+Ie(De)+Ae:Ze}function Ql(e,t,n,r,i,s){const a=re(),u=Ds(a,t,n,r);return u!==Ze&&oi(Yt(),a,e,u,i,s),Ql}function Zl(e,t,n,r,i,s,a,u){const c=re(),_=Es(c,t,n,r,i,s);return _!==Ze&&oi(Yt(),c,e,_,a,u),Zl}function Yl(e,t,n,r,i,s,a,u,c,_){const E=re(),I=Cs(E,t,n,r,i,s,a,u);return I!==Ze&&oi(Yt(),E,e,I,c,_),Yl}function Xl(e,t,n,r,i,s,a,u,c,_,E,I){const F=re(),k=ws(F,t,n,r,i,s,a,u,c,_);return k!==Ze&&oi(Yt(),F,e,k,E,I),Xl}function Jl(e,t,n,r,i,s,a,u,c,_,E,I,F,k){const Y=re(),ue=bs(Y,t,n,r,i,s,a,u,c,_,E,I);return ue!==Ze&&oi(Yt(),Y,e,ue,F,k),Jl}function eu(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue){const De=re(),Ae=Ms(De,t,n,r,i,s,a,u,c,_,E,I,F,k);return Ae!==Ze&&oi(Yt(),De,e,Ae,Y,ue),eu}function tu(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De,Ae){const se=re(),Be=As(se,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue);return Be!==Ze&&oi(Yt(),se,e,Be,De,Ae),tu}function nu(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De,Ae,se,Be){const ut=re(),At=Is(ut,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De,Ae);return At!==Ze&&oi(Yt(),ut,e,At,se,Be),nu}function ru(e,t,n,r){const i=re(),s=vs(i,t);return s!==Ze&&oi(Yt(),i,e,s,n,r),ru}function Fh(e,t,n,r,i,s,a,u){const c=re(),_=Je(),E=e+20,I=_.firstCreatePass?function(e,t,n,r,i,s,a,u,c){const _=t.consts,E=hs(t,e,4,a||null,je(_,u));Nl(t,n,E,je(_,c)),No(t,E);const I=E.tViews=ta(2,E,r,i,s,t.directiveRegistry,t.pipeRegistry,null,t.schemas,_);return null!==t.queries&&(t.queries.template(t,E),I.queries=t.queries.embeddedTView(E)),E}(E,_,c,t,n,r,i,s,a):_.data[E];En(I,!1);const F=c[11].createComment("");Zo(_,c,F,I),kn(F,c),na(c,c[E]=th(F,c,F,I)),Mr(I)&&Tl(_,c,I),null!=a&&Fl(c,I,u)}function Nh(e,t,n,r){n>=e.data.length&&(e.data[n]=null,e.blueprint[n]=null),t[n]=r}function Ph(e){return T(_e.lFrame.contextLView,20+e)}const Oh={\u0275\u0275defineInjectable:Te,\u0275\u0275defineInjector:Tn,\u0275\u0275inject:Cn,\u0275\u0275invalidFactoryDep:Ga,resolveForwardRef:Se};const AD=j({provide:String,useValue:j});function Rh(e){return void 0!==e.useClass}function xh(e){return void 0!==e.useFactory}const FD=ss("Injectable",void 0,void 0,void 0,(e,t)=>function(e,t){let n=null,r=null;e.hasOwnProperty(er)||Object.defineProperty(e,er,{get:()=>(null===n&&(n=pn().compileInjectable(Oh,`ng:///${e.name}/\u0275prov.js`,function(e,t){const n=t||{providedIn:null},r={name:e.name,type:e,typeArgumentCount:0,providedIn:n.providedIn};return(Rh(n)||xh(n))&&void 0!==n.deps&&(r.deps=wd(n.deps)),Rh(n)?r.useClass=n.useClass:function(e){return AD in e}(n)?r.useValue=n.useValue:xh(n)?r.useFactory=n.useFactory:function(e){return void 0!==e.useExisting}(n)&&(r.useExisting=n.useExisting),r}(e,t))),n)}),e.hasOwnProperty(bn)||Object.defineProperty(e,bn,{get:()=>{if(null===r){const i=pn();r=i.compileFactory(Oh,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,typeArgumentCount:0,deps:zo(e),target:i.FactoryTarget.Injectable})}return r},configurable:!0})}(e,t));function iu(e){return e.length>1?" ("+function(e){const t=[];for(let n=0;n<e.length;++n){if(t.indexOf(e[n])>-1)return t.push(e[n]),t;t.push(e[n])}return t}(e.slice().reverse()).map(r=>z(r.token)).join(" -> ")+")":""}function su(e,t,n,r){const i=[t],s=n(i),a=r?function(e,t){const n=`${e} caused by: ${t instanceof Error?t.message:t}`,r=Error(n);return r[rl]=t,r}(s,r):Error(s);return a.addKey=PD,a.keys=i,a.injectors=[e],a.constructResolvingMessage=n,a[rl]=r,a}function PD(e,t){this.injectors.push(e),this.keys.push(t),this.message=this.constructResolvingMessage(this.keys)}function Lh(e,t){const n=[];for(let r=0,i=t.length;r<i;r++){const s=t[r];n.push(s&&0!=s.length?s.map(z).join(" "):"?")}return Error("Cannot resolve all parameters for '"+z(e)+"'("+n.join(", ")+"). Make sure that all the parameters are decorated with Inject or have valid type annotations and that '"+z(e)+"' is decorated with Injectable.")}function kD(e,t){return Error(`Cannot mix multi providers and regular providers, got: ${e} ${t}`)}class Ci{constructor(t,n){if(this.token=t,this.id=n,!t)throw new Error("Token must be defined!");this.displayName=z(this.token)}static get(t){return Vh.get(Se(t))}static get numberOfKeys(){return Vh.numberOfKeys}}class BD{constructor(){this._allKeys=new Map}get(t){if(t instanceof Ci)return t;if(this._allKeys.has(t))return this._allKeys.get(t);const n=new Ci(t,Ci.numberOfKeys);return this._allKeys.set(t,n),n}get numberOfKeys(){return this._allKeys.size}}const Vh=new BD;class jD{constructor(t){this.reflectionCapabilities=t}updateCapabilities(t){this.reflectionCapabilities=t}factory(t){return this.reflectionCapabilities.factory(t)}parameters(t){return this.reflectionCapabilities.parameters(t)}annotations(t){return this.reflectionCapabilities.annotations(t)}propMetadata(t){return this.reflectionCapabilities.propMetadata(t)}hasLifecycleHook(t,n){return this.reflectionCapabilities.hasLifecycleHook(t,n)}getter(t){return this.reflectionCapabilities.getter(t)}setter(t){return this.reflectionCapabilities.setter(t)}method(t){return this.reflectionCapabilities.method(t)}importUri(t){return this.reflectionCapabilities.importUri(t)}resourceUri(t){return this.reflectionCapabilities.resourceUri(t)}resolveIdentifier(t,n,r,i){return this.reflectionCapabilities.resolveIdentifier(t,n,r,i)}resolveEnum(t,n){return this.reflectionCapabilities.resolveEnum(t,n)}}const kh=new jD(new ja);class aa{constructor(t,n,r){this.key=t,this.optional=n,this.visibility=r}static fromKey(t){return new aa(t,!1,null)}}const HD=[];class Bh{constructor(t,n,r){this.key=t,this.resolvedFactories=n,this.multiProvider=r,this.resolvedFactory=this.resolvedFactories[0]}}class jh{constructor(t,n){this.factory=t,this.dependencies=n}}function UD(e){let t,n;if(e.useClass){const r=Se(e.useClass);t=kh.factory(r),n=Uh(r)}else e.useExisting?(t=r=>r,n=[aa.fromKey(Ci.get(e.useExisting))]):e.useFactory?(t=e.useFactory,n=function(e,t){if(t){const n=t.map(r=>[r]);return t.map(r=>$h(e,r,n))}return Uh(e)}(e.useFactory,e.deps)):(t=()=>e.useValue,n=HD);return new jh(t,n)}function $D(e){return new Bh(Ci.get(e.provide),[UD(e)],e.multi||!1)}function GD(e){const r=function(e,t){for(let n=0;n<e.length;n++){const r=e[n],i=t.get(r.key.id);if(i){if(r.multiProvider!==i.multiProvider)throw kD(i,r);if(r.multiProvider)for(let s=0;s<r.resolvedFactories.length;s++)i.resolvedFactories.push(r.resolvedFactories[s]);else t.set(r.key.id,r)}else{let s;s=r.multiProvider?new Bh(r.key,r.resolvedFactories.slice(),r.multiProvider):r,t.set(r.key.id,s)}}return t}(Hh(e,[]).map($D),new Map);return Array.from(r.values())}function Hh(e,t){return e.forEach(n=>{if(n instanceof jo)t.push({provide:n,useClass:n});else if(n&&"object"==typeof n&&void 0!==n.provide)t.push(n);else{if(!Array.isArray(n))throw function(e){return Error(`Invalid provider - only instances of Provider and Type are allowed, got: ${e}`)}(n);Hh(n,t)}}),t}function Uh(e){const t=kh.parameters(e);if(!t)return[];if(t.some(n=>null==n))throw Lh(e,t);return t.map(n=>$h(e,n,t))}function $h(e,t,n){let r=null,i=!1;if(!Array.isArray(t))return ou(t instanceof Qs?t.token:t,i,null);let s=null;for(let a=0;a<t.length;++a){const u=t[a];u instanceof jo?r=u:u instanceof Qs?r=u.token:u instanceof ji?i=!0:u instanceof Go||u instanceof Hi?s=u:u instanceof Xt&&(r=u)}if(r=Se(r),null!=r)return ou(r,i,s);throw Lh(e,n)}function ou(e,t,n){return new aa(Ci.get(e),t,n)}const uo={};class Ss{static resolve(t){return GD(t)}static resolveAndCreate(t,n){const r=Ss.resolve(t);return Ss.fromResolvedProviders(r,n)}static fromResolvedProviders(t,n){return new KD(t,n)}}let KD=(()=>{class e{constructor(n,r){this._constructionCounter=0,this._providers=n,this.parent=r||null;const i=n.length;this.keyIds=[],this.objs=[];for(let s=0;s<i;s++)this.keyIds[s]=n[s].key.id,this.objs[s]=uo}get(n,r=Oi){return this._getByKey(Ci.get(n),null,r)}resolveAndCreateChild(n){const r=Ss.resolve(n);return this.createChildFromResolved(r)}createChildFromResolved(n){const r=new e(n);return r.parent=this,r}resolveAndInstantiate(n){return this.instantiateResolved(Ss.resolve([n])[0])}instantiateResolved(n){return this._instantiateProvider(n)}getProviderAtIndex(n){if(n<0||n>=this._providers.length)throw function(e){return Error(`Index ${e} is out-of-bounds.`)}(n);return this._providers[n]}_new(n){if(this._constructionCounter++>this._getMaxNumberOfObjects())throw function(e,t){return su(e,t,function(n){return`Cannot instantiate cyclic dependency!${iu(n)}`})}(this,n.key);return this._instantiateProvider(n)}_getMaxNumberOfObjects(){return this.objs.length}_instantiateProvider(n){if(n.multiProvider){const r=[];for(let i=0;i<n.resolvedFactories.length;++i)r[i]=this._instantiate(n,n.resolvedFactories[i]);return r}return this._instantiate(n,n.resolvedFactories[0])}_instantiate(n,r){const i=r.factory;let s,a;try{s=r.dependencies.map(u=>this._getByReflectiveDependency(u))}catch(u){throw u.addKey&&u.addKey(this,n.key),u}try{a=i(...s)}catch(u){throw function(e,t,n,r){return su(e,r,function(i){const s=z(i[0].token);return`${t.message}: Error during instantiation of ${s}!${iu(i)}.`},t)}(this,u,0,n.key)}return a}_getByReflectiveDependency(n){return this._getByKey(n.key,n.visibility,n.optional?null:Oi)}_getByKey(n,r,i){return n===e.INJECTOR_KEY?this:r instanceof Go?this._getByKeySelf(n,i):this._getByKeyDefault(n,i,r)}_getObjByKeyId(n){for(let r=0;r<this.keyIds.length;r++)if(this.keyIds[r]===n)return this.objs[r]===uo&&(this.objs[r]=this._new(this._providers[r])),this.objs[r];return uo}_throwOrNull(n,r){if(r!==Oi)return r;throw function(e,t){return su(e,t,function(n){return`No provider for ${z(n[0].token)}!${iu(n)}`})}(this,n)}_getByKeySelf(n,r){const i=this._getObjByKeyId(n.id);return i!==uo?i:this._throwOrNull(n,r)}_getByKeyDefault(n,r,i){let s;for(s=i instanceof Hi?this.parent:this;s instanceof e;){const a=s,u=a._getObjByKeyId(n.id);if(u!==uo)return u;s=a.parent}return null!==s?s.get(n.token,r):this._throwOrNull(n,r)}get displayName(){return`ReflectiveInjector(providers: [${function(e,t){const n=[];for(let r=0;r<e._providers.length;++r)n[r]=t(e.getProviderAtIndex(r));return n}(this,r=>' "'+r.key.displayName+'" ').join(", ")}])`}toString(){return this.displayName}}return e.INJECTOR_KEY=Ci.get(ur),e})();function co(e,t=Ve.Default){const n=re();return null===n?Cn(e,t):ud(It(),n,Se(e),t)}function Gh(){throw new Error("invalid")}function au(e,t,n){const r=re();return Bn(r,Gn(),t)&&lr(Je(),Yt(),r,e,t,r[11],n,!1),au}function lu(e,t,n,r,i){const a=i?"class":"style";ah(e,n,t.inputs[a],a,r)}function uu(e,t,n,r){const i=re(),s=Je(),a=20+e,u=i[11],c=i[a]=cl(u,t,_e.lFrame.currentNamespace),_=s.firstCreatePass?function(e,t,n,r,i,s,a){const u=t.consts,_=hs(t,e,2,i,je(u,s));return Nl(t,n,_,je(u,a)),null!==_.attrs&&ra(_,_.attrs,!1),null!==_.mergedAttrs&&ra(_,_.mergedAttrs,!0),null!==t.queries&&t.queries.elementStart(t,_),_}(a,s,i,0,t,n,r):s.data[a];En(_,!0);const E=_.mergedAttrs;null!==E&&Ro(u,c,E);const I=_.classes;null!==I&&ml(u,c,I);const F=_.styles;null!==F&&wf(u,c,F),64!=(64&_.flags)&&Zo(s,i,c,_),0===_e.lFrame.elementDepthCount&&kn(c,i),_e.lFrame.elementDepthCount++,Mr(_)&&(Tl(s,i,_),$f(s,_,i)),null!==r&&Fl(i,_)}function cu(){let e=It();Zi()?Yi():(e=e.parent,En(e,!1));const t=e;_e.lFrame.elementDepthCount--;const n=Je();n.firstCreatePass&&(No(n,e),wr(e)&&n.queries.elementEnd(e)),null!=t.classesWithoutHost&&function(e){return 0!=(16&e.flags)}(t)&&lu(n,t,re(),t.classesWithoutHost,!0),null!=t.stylesWithoutHost&&function(e){return 0!=(32&e.flags)}(t)&&lu(n,t,re(),t.stylesWithoutHost,!1)}function zh(e,t,n,r){uu(e,t,n,r),cu()}function du(e,t,n){const r=re(),i=Je(),s=e+20,a=i.firstCreatePass?function(e,t,n,r,i){const s=t.consts,a=je(s,r),u=hs(t,e,8,"ng-container",a);return null!==a&&ra(u,a,!0),Nl(t,n,u,je(s,i)),null!==t.queries&&t.queries.elementStart(t,u),u}(s,i,r,t,n):i.data[s];En(a,!0);const u=r[s]=r[11].createComment("");Zo(i,r,u,a),kn(u,r),Mr(a)&&(Tl(i,r,a),$f(i,a,r)),null!=n&&Fl(r,a)}function fu(){let e=It();const t=Je();Zi()?Yi():(e=e.parent,En(e,!1)),t.firstCreatePass&&(No(t,e),wr(e)&&t.queries.elementEnd(e))}function Wh(e,t,n){du(e,t,n),fu()}function Kh(){return re()}function hu(e){return!!e&&"function"==typeof e.then}function qh(e){return!!e&&"function"==typeof e.subscribe}const Qh=qh;function pu(e,t,n,r){const i=re(),s=Je(),a=It();return Zh(s,i,i[11],a,e,t,!!n,r),pu}function gu(e,t){const n=It(),r=re(),i=Je();return Zh(i,r,sh(Hr(i.data),n,r),n,e,t,!1),gu}function Zh(e,t,n,r,i,s,a,u){const c=Mr(r),E=e.firstCreatePass&&ih(e),I=t[8],F=rh(t);let k=!0;if(3&r.type||u){const De=D(r,t),Ae=u?u(De):De,se=F.length,Be=u?ut=>u(v(ut[r.index])):r.index;if(ye(n)){let ut=null;if(!u&&c&&(ut=function(e,t,n,r){const i=e.cleanup;if(null!=i)for(let s=0;s<i.length-1;s+=2){const a=i[s];if(a===n&&i[s+1]===r){const u=t[7],c=i[s+2];return u.length>c?u[c]:null}"string"==typeof a&&(s+=2)}return null}(e,t,i,r.index)),null!==ut)(ut.__ngLastListenerFn__||ut).__ngNextListenerFn__=s,ut.__ngLastListenerFn__=s,k=!1;else{s=mu(r,t,I,s,!1);const At=n.listen(Ae,i,s);F.push(s,At),E&&E.push(i,Be,se,se+1)}}else s=mu(r,t,I,s,!0),Ae.addEventListener(i,s,a),F.push(s),E&&E.push(i,Be,se,a)}else s=mu(r,t,I,s,!1);const Y=r.outputs;let ue;if(k&&null!==Y&&(ue=Y[i])){const De=ue.length;if(De)for(let Ae=0;Ae<De;Ae+=2){const dr=t[ue[Ae]][ue[Ae+1]].subscribe(s),Ki=F.length;F.push(s,dr),E&&E.push(i,r.index,Ki,-(Ki+1))}}}function Yh(e,t,n,r){try{return tt(6,t,n),!1!==n(r)}catch(i){return oh(e,i),!1}finally{tt(7,t,n)}}function mu(e,t,n,r,i){return function s(a){if(a===Function)return r;const u=2&e.flags?B(e.index,t):t;0==(32&t[2])&&Rl(u);let c=Yh(t,n,r,a),_=s.__ngNextListenerFn__;for(;_;)c=Yh(t,n,_,a)&&c,_=_.__ngNextListenerFn__;return i&&!1===c&&(a.preventDefault(),a.returnValue=!1),c}}function Xh(e=1){return function(e){return(_e.lFrame.contextLView=function(e,t){for(;e>0;)t=t[15],e--;return t}(e,_e.lFrame.contextLView))[8]}(e)}function XD(e,t){let n=null;const r=function(e){const t=e.attrs;if(null!=t){const n=t.indexOf(5);if(0==(1&n))return t[n+1]}return null}(e);for(let i=0;i<t.length;i++){const s=t[i];if("*"!==s){if(null===r?If(e,s,!0):lv(r,s))return i}else n=i}return n}function Jh(e){const t=re()[16][6];if(!t.projection){const r=t.projection=Ws(e?e.length:1,null),i=r.slice();let s=t.child;for(;null!==s;){const a=e?XD(s,e):0;null!==a&&(i[a]?i[a].projectionNext=s:r[a]=s,i[a]=s),s=s.next}}}function ep(e,t=0,n){const r=re(),i=Je(),s=hs(i,20+e,16,null,n||null);null===s.projection&&(s.projection=t),Yi(),64!=(64&s.flags)&&function(e,t,n){Cf(t[11],0,t,n,ff(e,n,t),mf(n.parent||t[6],n,t))}(i,r,s)}function yu(e,t,n){return la(e,"",t,"",n),yu}function la(e,t,n,r,i){const s=re(),a=Ds(s,t,n,r);return a!==Ze&&lr(Je(),Yt(),s,e,a,s[11],i,!1),la}function _u(e,t,n,r,i,s,a){const u=re(),c=Es(u,t,n,r,i,s);return c!==Ze&&lr(Je(),Yt(),u,e,c,u[11],a,!1),_u}function vu(e,t,n,r,i,s,a,u,c){const _=re(),E=Cs(_,t,n,r,i,s,a,u);return E!==Ze&&lr(Je(),Yt(),_,e,E,_[11],c,!1),vu}function Du(e,t,n,r,i,s,a,u,c,_,E){const I=re(),F=ws(I,t,n,r,i,s,a,u,c,_);return F!==Ze&&lr(Je(),Yt(),I,e,F,I[11],E,!1),Du}function Eu(e,t,n,r,i,s,a,u,c,_,E,I,F){const k=re(),Y=bs(k,t,n,r,i,s,a,u,c,_,E,I);return Y!==Ze&&lr(Je(),Yt(),k,e,Y,k[11],F,!1),Eu}function Cu(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y){const ue=re(),De=Ms(ue,t,n,r,i,s,a,u,c,_,E,I,F,k);return De!==Ze&&lr(Je(),Yt(),ue,e,De,ue[11],Y,!1),Cu}function wu(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De){const Ae=re(),se=As(Ae,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue);return se!==Ze&&lr(Je(),Yt(),Ae,e,se,Ae[11],De,!1),wu}function bu(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De,Ae,se){const Be=re(),ut=Is(Be,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De,Ae);return ut!==Ze&&lr(Je(),Yt(),Be,e,ut,Be[11],se,!1),bu}function Mu(e,t,n){const r=re(),i=vs(r,t);return i!==Ze&&lr(Je(),Yt(),r,e,i,r[11],n,!1),Mu}function tp(e,t,n,r,i){const s=e[n+1],a=null===t;let u=r?$r(s):Di(s),c=!1;for(;0!==u&&(!1===c||a);){const E=e[u+1];tE(e[u],t)&&(c=!0,e[u+1]=r?vl(E):yl(E)),u=r?$r(E):Di(E)}c&&(e[n+1]=r?yl(s):vl(s))}function tE(e,t){return null===e||null==t||(Array.isArray(e)?e[1]:e)===t||!(!Array.isArray(e)||"string"!=typeof t)&&as(e,t)>=0}const gn={textEnd:0,key:0,keyEnd:0,value:0,valueEnd:0};function np(e){return e.substring(gn.key,gn.keyEnd)}function nE(e){return e.substring(gn.value,gn.valueEnd)}function rp(e,t){const n=gn.textEnd;return n===t?-1:(t=gn.keyEnd=function(e,t,n){for(;t<n&&e.charCodeAt(t)>32;)t++;return t}(e,gn.key=t,n),Ts(e,t,n))}function ip(e,t){const n=gn.textEnd;let r=gn.key=Ts(e,t,n);return n===r?-1:(r=gn.keyEnd=function(e,t,n){let r;for(;t<n&&(45===(r=e.charCodeAt(t))||95===r||(-33&r)>=65&&(-33&r)<=90||r>=48&&r<=57);)t++;return t}(e,r,n),r=op(e,r,n),r=gn.value=Ts(e,r,n),r=gn.valueEnd=function(e,t,n){let r=-1,i=-1,s=-1,a=t,u=a;for(;a<n;){const c=e.charCodeAt(a++);if(59===c)return u;34===c||39===c?u=a=ap(e,c,a,n):t===a-4&&85===s&&82===i&&76===r&&40===c?u=a=ap(e,41,a,n):c>32&&(u=a),s=i,i=r,r=-33&c}return u}(e,r,n),op(e,r,n))}function sp(e){gn.key=0,gn.keyEnd=0,gn.value=0,gn.valueEnd=0,gn.textEnd=e.length}function Ts(e,t,n){for(;t<n&&e.charCodeAt(t)<=32;)t++;return t}function op(e,t,n,r){return(t=Ts(e,t,n))<n&&t++,t}function ap(e,t,n,r){let i=-1,s=n;for(;s<r;){const a=e.charCodeAt(s++);if(a==t&&92!==i)return s;i=92==a&&92===i?0:a}throw new Error}function Au(e,t,n){return zr(e,t,n,!1),Au}function Iu(e,t){return zr(e,t,null,!0),Iu}function Gr(e){Wr(dp,lE,e,!1)}function lE(e,t){for(let n=function(e){return sp(e),ip(e,Ts(e,0,gn.textEnd))}(t);n>=0;n=ip(t,n))dp(e,np(t),nE(t))}function lp(e){Wr(ar,li,e,!0)}function li(e,t){for(let n=function(e){return sp(e),rp(e,Ts(e,0,gn.textEnd))}(t);n>=0;n=rp(t,n))ar(e,np(t),!0)}function zr(e,t,n,r){const i=re(),s=Je(),a=_t(2);s.firstUpdatePass&&cp(s,e,a,r),t!==Ze&&Bn(i,a,t)&&fp(s,s.data[zn()],i,i[11],e,i[a+1]=function(e,t){return null==e||("string"==typeof t?e+=t:"object"==typeof e&&(e=z(vi(e)))),e}(t,n),r,a)}function Wr(e,t,n,r){const i=Je(),s=_t(2);i.firstUpdatePass&&cp(i,null,s,r);const a=re();if(n!==Ze&&Bn(a,s,n)){const u=i.data[zn()];if(pp(u,r)&&!up(i,s)){let c=r?u.classesWithoutHost:u.stylesWithoutHost;null!==c&&(n=G(c,n||"")),lu(i,u,a,n,r)}else!function(e,t,n,r,i,s,a,u){i===Ze&&(i=at);let c=0,_=0,E=0<i.length?i[0]:null,I=0<s.length?s[0]:null;for(;null!==E||null!==I;){const F=c<i.length?i[c+1]:void 0,k=_<s.length?s[_+1]:void 0;let ue,Y=null;E===I?(c+=2,_+=2,F!==k&&(Y=I,ue=k)):null===I||null!==E&&E<I?(c+=2,Y=E):(_+=2,Y=I,ue=k),null!==Y&&fp(e,t,n,r,Y,ue,a,u),E=c<i.length?i[c]:null,I=_<s.length?s[_]:null}}(i,u,a,a[11],a[s+1],a[s+1]=function(e,t,n){if(null==n||""===n)return at;const r=[],i=vi(n);if(Array.isArray(i))for(let s=0;s<i.length;s++)e(r,i[s],!0);else if("object"==typeof i)for(const s in i)i.hasOwnProperty(s)&&e(r,s,i[s]);else"string"==typeof i&&t(r,i);return r}(e,t,n),r,s)}}function up(e,t){return t>=e.expandoStartIndex}function cp(e,t,n,r){const i=e.data;if(null===i[n+1]){const s=i[zn()],a=up(e,n);pp(s,r)&&null===t&&!a&&(t=!1),t=function(e,t,n,r){const i=Hr(e);let s=r?t.residualClasses:t.residualStyles;if(null===i)0===(r?t.classBindings:t.styleBindings)&&(n=fo(n=Su(null,e,t,n,r),t.attrs,r),s=null);else{const a=t.directiveStylingLast;if(-1===a||e[a]!==i)if(n=Su(i,e,t,n,r),null===s){let c=function(e,t,n){const r=n?t.classBindings:t.styleBindings;if(0!==Di(r))return e[$r(r)]}(e,t,r);void 0!==c&&Array.isArray(c)&&(c=Su(null,e,t,c[1],r),c=fo(c,t.attrs,r),function(e,t,n,r){e[$r(n?t.classBindings:t.styleBindings)]=r}(e,t,r,c))}else s=function(e,t,n){let r;const i=t.directiveEnd;for(let s=1+t.directiveStylingLast;s<i;s++)r=fo(r,e[s].hostAttrs,n);return fo(r,t.attrs,n)}(e,t,r)}return void 0!==s&&(r?t.residualClasses=s:t.residualStyles=s),n}(i,s,t,r),function(e,t,n,r,i,s){let a=s?t.classBindings:t.styleBindings,u=$r(a),c=Di(a);e[r]=n;let E,_=!1;if(Array.isArray(n)){const I=n;E=I[1],(null===E||as(I,E)>0)&&(_=!0)}else E=n;if(i)if(0!==c){const F=$r(e[u+1]);e[r+1]=Xo(F,u),0!==F&&(e[F+1]=_l(e[F+1],r)),e[u+1]=function(e,t){return 131071&e|t<<17}(e[u+1],r)}else e[r+1]=Xo(u,0),0!==u&&(e[u+1]=_l(e[u+1],r)),u=r;else e[r+1]=Xo(c,0),0===u?u=r:e[c+1]=_l(e[c+1],r),c=r;_&&(e[r+1]=yl(e[r+1])),tp(e,E,r,!0),tp(e,E,r,!1),function(e,t,n,r,i){const s=i?e.residualClasses:e.residualStyles;null!=s&&"string"==typeof t&&as(s,t)>=0&&(n[r+1]=vl(n[r+1]))}(t,E,e,r,s),a=Xo(u,c),s?t.classBindings=a:t.styleBindings=a}(i,s,t,n,a,r)}}function Su(e,t,n,r,i){let s=null;const a=n.directiveEnd;let u=n.directiveStylingLast;for(-1===u?u=n.directiveStart:u++;u<a&&(s=t[u],r=fo(r,s.hostAttrs,i),s!==e);)u++;return null!==e&&(n.directiveStylingLast=u),r}function fo(e,t,n){const r=n?1:2;let i=-1;if(null!==t)for(let s=0;s<t.length;s++){const a=t[s];"number"==typeof a?i=a:i===r&&(Array.isArray(e)||(e=void 0===e?[]:["",e]),ar(e,a,!!n||t[++s]))}return void 0===e?null:e}function dp(e,t,n){ar(e,t,vi(n))}function fp(e,t,n,r,i,s,a,u){if(!(3&t.type))return;const c=e.data,_=c[u+1];ua(function(e){return 1==(1&e)}(_)?hp(c,t,n,i,Di(_),a):void 0)||(ua(s)||function(e){return 2==(2&e)}(_)&&(s=hp(c,null,n,i,u,a)),function(e,t,n,r,i){const s=ye(e);if(t)i?s?e.addClass(n,r):n.classList.add(r):s?e.removeClass(n,r):n.classList.remove(r);else{let a=-1===r.indexOf("-")?void 0:si.DashCase;if(null==i)s?e.removeStyle(n,r,a):n.style.removeProperty(r);else{const u="string"==typeof i&&i.endsWith("!important");u&&(i=i.slice(0,-10),a|=si.Important),s?e.setStyle(n,r,i,a):n.style.setProperty(r,i,u?"important":"")}}}(r,a,d(zn(),n),i,s))}function hp(e,t,n,r,i,s){const a=null===t;let u;for(;i>0;){const c=e[i],_=Array.isArray(c),E=_?c[1]:c,I=null===E;let F=n[i+1];F===Ze&&(F=I?at:void 0);let k=I?Ba(F,r):E===r?F:void 0;if(_&&!ua(k)&&(k=Ba(c,r)),ua(k)&&(u=k,a))return u;const Y=e[i+1];i=a?$r(Y):Di(Y)}if(null!==t){let c=s?t.residualClasses:t.residualStyles;null!=c&&(u=Ba(c,r))}return u}function ua(e){return void 0!==e}function pp(e,t){return 0!=(e.flags&(t?16:32))}function gp(e,t=""){const n=re(),r=Je(),i=e+20,s=r.firstCreatePass?hs(r,i,1,t,null):r.data[i],a=n[i]=ul(n[11],t);Zo(r,n,a,s),En(s,!1)}function Tu(e){return ca("",e,""),Tu}function ca(e,t,n){const r=re(),i=Ds(r,e,t,n);return i!==Ze&&Ei(r,zn(),i),ca}function Fu(e,t,n,r,i){const s=re(),a=Es(s,e,t,n,r,i);return a!==Ze&&Ei(s,zn(),a),Fu}function Nu(e,t,n,r,i,s,a){const u=re(),c=Cs(u,e,t,n,r,i,s,a);return c!==Ze&&Ei(u,zn(),c),Nu}function Pu(e,t,n,r,i,s,a,u,c){const _=re(),E=ws(_,e,t,n,r,i,s,a,u,c);return E!==Ze&&Ei(_,zn(),E),Pu}function Ou(e,t,n,r,i,s,a,u,c,_,E){const I=re(),F=bs(I,e,t,n,r,i,s,a,u,c,_,E);return F!==Ze&&Ei(I,zn(),F),Ou}function Ru(e,t,n,r,i,s,a,u,c,_,E,I,F){const k=re(),Y=Ms(k,e,t,n,r,i,s,a,u,c,_,E,I,F);return Y!==Ze&&Ei(k,zn(),Y),Ru}function xu(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y){const ue=re(),De=As(ue,e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y);return De!==Ze&&Ei(ue,zn(),De),xu}function Lu(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De){const Ae=re(),se=Is(Ae,e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De);return se!==Ze&&Ei(Ae,zn(),se),Lu}function Vu(e){const t=re(),n=vs(t,e);return n!==Ze&&Ei(t,zn(),n),Vu}function mp(e,t,n){Wr(ar,li,Ds(re(),e,t,n),!0)}function yp(e,t,n,r,i){Wr(ar,li,Es(re(),e,t,n,r,i),!0)}function _p(e,t,n,r,i,s,a){Wr(ar,li,Cs(re(),e,t,n,r,i,s,a),!0)}function vp(e,t,n,r,i,s,a,u,c){Wr(ar,li,ws(re(),e,t,n,r,i,s,a,u,c),!0)}function Dp(e,t,n,r,i,s,a,u,c,_,E){Wr(ar,li,bs(re(),e,t,n,r,i,s,a,u,c,_,E),!0)}function Ep(e,t,n,r,i,s,a,u,c,_,E,I,F){Wr(ar,li,Ms(re(),e,t,n,r,i,s,a,u,c,_,E,I,F),!0)}function Cp(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y){Wr(ar,li,As(re(),e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y),!0)}function wp(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De){Wr(ar,li,Is(re(),e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De),!0)}function bp(e){Wr(ar,li,vs(re(),e),!0)}function Mp(e,t,n){Gr(Ds(re(),e,t,n))}function Ap(e,t,n,r,i){Gr(Es(re(),e,t,n,r,i))}function Ip(e,t,n,r,i,s,a){Gr(Cs(re(),e,t,n,r,i,s,a))}function Sp(e,t,n,r,i,s,a,u,c){Gr(ws(re(),e,t,n,r,i,s,a,u,c))}function Tp(e,t,n,r,i,s,a,u,c,_,E){Gr(bs(re(),e,t,n,r,i,s,a,u,c,_,E))}function Fp(e,t,n,r,i,s,a,u,c,_,E,I,F){Gr(Ms(re(),e,t,n,r,i,s,a,u,c,_,E,I,F))}function Np(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y){Gr(As(re(),e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y))}function Pp(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De){Gr(Is(re(),e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De))}function Op(e){Gr(vs(re(),e))}function ku(e,t,n,r,i){return zr(e,Ds(re(),t,n,r),i,!1),ku}function Bu(e,t,n,r,i,s,a){return zr(e,Es(re(),t,n,r,i,s),a,!1),Bu}function ju(e,t,n,r,i,s,a,u,c){return zr(e,Cs(re(),t,n,r,i,s,a,u),c,!1),ju}function Hu(e,t,n,r,i,s,a,u,c,_,E){return zr(e,ws(re(),t,n,r,i,s,a,u,c,_),E,!1),Hu}function Uu(e,t,n,r,i,s,a,u,c,_,E,I,F){return zr(e,bs(re(),t,n,r,i,s,a,u,c,_,E,I),F,!1),Uu}function $u(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y){return zr(e,Ms(re(),t,n,r,i,s,a,u,c,_,E,I,F,k),Y,!1),$u}function Gu(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De){return zr(e,As(re(),t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue),De,!1),Gu}function zu(e,t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De,Ae,se){return zr(e,Is(re(),t,n,r,i,s,a,u,c,_,E,I,F,k,Y,ue,De,Ae),se,!1),zu}function Wu(e,t,n){return zr(e,vs(re(),t),n,!1),Wu}function Ku(e,t,n){const r=re();return Bn(r,Gn(),t)&&lr(Je(),Yt(),r,e,t,r[11],n,!0),Ku}function qu(e,t,n){const r=re();if(Bn(r,Gn(),t)){const s=Je(),a=Yt();lr(s,a,r,e,t,sh(Hr(s.data),a,r),n,!0)}return qu}const zi=void 0;var yE=["en",[["a","p"],["AM","PM"],zi],[["AM","PM"],zi,zi],[["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"]],zi,[["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"]],zi,[["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}",zi,"{1} 'at' {0}",zi],[".",",",";","%","+","-","E","\xd7","\u2030","\u221e","NaN",":"],["#,##0.###","#,##0%","\xa4#,##0.00","#E0"],"USD","$","US Dollar",{},"ltr",function(e){const n=Math.floor(Math.abs(e)),r=e.toString().replace(/^[^.]*\.?/,"").length;return 1===n&&0===r?1:5}];let Fs={};function _E(e,t,n){"string"!=typeof t&&(n=t,t=e[Ue.LocaleId]),t=t.toLowerCase().replace(/_/g,"-"),Fs[t]=e,n&&(Fs[t][Ue.ExtraData]=n)}function Qu(e){const t=function(e){return e.toLowerCase().replace(/_/g,"-")}(e);let n=xp(t);if(n)return n;const r=t.split("-")[0];if(n=xp(r),n)return n;if("en"===r)return yE;throw new Error(`Missing locale data for the locale "${e}".`)}function vE(e){return Qu(e)[Ue.CurrencyCode]||null}function Rp(e){return Qu(e)[Ue.PluralCase]}function xp(e){return e in Fs||(Fs[e]=be.ng&&be.ng.common&&be.ng.common.locales&&be.ng.common.locales[e]),Fs[e]}function DE(){Fs={}}var Ue=(()=>((Ue=Ue||{})[Ue.LocaleId=0]="LocaleId",Ue[Ue.DayPeriodsFormat=1]="DayPeriodsFormat",Ue[Ue.DayPeriodsStandalone=2]="DayPeriodsStandalone",Ue[Ue.DaysFormat=3]="DaysFormat",Ue[Ue.DaysStandalone=4]="DaysStandalone",Ue[Ue.MonthsFormat=5]="MonthsFormat",Ue[Ue.MonthsStandalone=6]="MonthsStandalone",Ue[Ue.Eras=7]="Eras",Ue[Ue.FirstDayOfWeek=8]="FirstDayOfWeek",Ue[Ue.WeekendRange=9]="WeekendRange",Ue[Ue.DateFormat=10]="DateFormat",Ue[Ue.TimeFormat=11]="TimeFormat",Ue[Ue.DateTimeFormat=12]="DateTimeFormat",Ue[Ue.NumberSymbols=13]="NumberSymbols",Ue[Ue.NumberFormats=14]="NumberFormats",Ue[Ue.CurrencyCode=15]="CurrencyCode",Ue[Ue.CurrencySymbol=16]="CurrencySymbol",Ue[Ue.CurrencyName=17]="CurrencyName",Ue[Ue.Currencies=18]="Currencies",Ue[Ue.Directionality=19]="Directionality",Ue[Ue.PluralCase=20]="PluralCase",Ue[Ue.ExtraData=21]="ExtraData",Ue))();const CE=["zero","one","two","few","many"],ho="en-US",da={marker:"element"},fa={marker:"ICU"};var Jt=(()=>((Jt=Jt||{})[Jt.SHIFT=2]="SHIFT",Jt[Jt.APPEND_EAGERLY=1]="APPEND_EAGERLY",Jt[Jt.COMMENT=2]="COMMENT",Jt))();let Lp=ho;function Vp(e){(function(e,t){null==e&&nt(t,e,null,"!=")})(e,"Expected localeId to be defined"),"string"==typeof e&&(Lp=e.toLowerCase().replace(/_/g,"-"))}function kp(e,t,n){const r=t.insertBeforeIndex,i=Array.isArray(r)?r[0]:r;return null===i?yf(e,0,n):v(n[i])}function Bp(e,t,n,r,i){const s=t.insertBeforeIndex;if(Array.isArray(s)){let a=r,u=null;if(3&t.type||(u=a,a=i),null!==a&&0==(2&t.flags))for(let c=1;c<s.length;c++)$i(e,a,n[s[c]],u,!1)}}function jp(e,t){if(e.push(t),e.length>1)for(let n=e.length-2;n>=0;n--){const r=e[n];Hp(r)||AE(r,t)&&null===IE(r)&&SE(r,t.index)}}function Hp(e){return!(64&e.type)}function AE(e,t){return Hp(t)||e.index>t.index}function IE(e){const t=e.insertBeforeIndex;return Array.isArray(t)?t[0]:t}function SE(e,t){const n=e.insertBeforeIndex;Array.isArray(n)?n[0]=t:(vf(kp,Bp),e.insertBeforeIndex=t)}function po(e,t){const n=e.data[t];return null===n||"string"==typeof n?null:n.hasOwnProperty("currentCaseLViewIndex")?n:n.value}function NE(e,t,n){const r=Sl(e,n,64,null,null);return jp(t,r),r}function ha(e,t){const n=t[e.currentCaseLViewIndex];return null===n?n:n<0?~n:n}function Up(e){return e>>>17}function $p(e){return(131070&e)>>>1}let go=0,mo=0;function zp(e,t,n,r){const i=n[11];let a,s=null;for(let u=0;u<t.length;u++){const c=t[u];if("string"==typeof c){const _=t[++u];null===n[_]&&(n[_]=ul(i,c))}else if("number"==typeof c)switch(1&c){case 0:const _=Up(c);let E,I;if(null===s&&(s=_,a=Qo(i,r)),_===s?(E=r,I=a):(E=null,I=v(n[_])),null!==I){const ue=$p(c);$i(i,I,n[ue],E,!1);const Ae=po(e,ue);if(null!==Ae&&"object"==typeof Ae){const se=ha(Ae,n);null!==se&&zp(e,Ae.create[se],n,n[Ae.anchorIdx])}}break;case 1:const k=t[++u],Y=t[++u];Pl(i,d(c>>>1,n),null,null,k,Y,null);break;default:throw new Error(`Unable to determine the type of mutate operation for "${c}"`)}else switch(c){case fa:const _=t[++u],E=t[++u];null===n[E]&&kn(n[E]=H_(i,_),n);break;case da:const I=t[++u],F=t[++u];null===n[F]&&kn(n[F]=cl(i,I,null),n)}}}function Wp(e,t,n,r,i){for(let s=0;s<n.length;s++){const a=n[s],u=n[++s];if(a&i){let c="";for(let _=s+1;_<=s+u;_++){const E=n[_];if("string"==typeof E)c+=E;else if("number"==typeof E)if(E<0)c+=Ie(t[r-E]);else{const I=E>>>2;switch(3&E){case 1:const F=n[++_],k=n[++_],Y=e.data[I];"string"==typeof Y?Pl(t[11],t[I],null,Y,F,c,k):lr(e,Y,t,F,c,t[11],k,!1);break;case 0:const ue=t[I];null!==ue&&uf(t[11],ue,c);break;case 2:LE(e,po(e,I),t,c);break;case 3:Kp(e,po(e,I),r,t)}}}}else{const c=n[s+1];if(c>0&&3==(3&c)){const E=po(e,c>>>2);t[E.currentCaseLViewIndex]<0&&Kp(e,E,r,t)}}s+=u}}function Kp(e,t,n,r){let i=r[t.currentCaseLViewIndex];if(null!==i){let s=go;i<0&&(i=r[t.currentCaseLViewIndex]=~i,s=-1),Wp(e,r,t.update[i],n,s)}}function LE(e,t,n,r){const i=function(e,t){let n=e.cases.indexOf(t);if(-1===n)switch(e.type){case 1:{const r=function(e,t){const n=Rp(t)(parseInt(e,10)),r=CE[n];return void 0!==r?r:"other"}(t,Lp);n=e.cases.indexOf(r),-1===n&&"other"!==r&&(n=e.cases.indexOf("other"));break}case 0:n=e.cases.indexOf("other")}return-1===n?null:n}(t,r);if(ha(t,n)!==i&&(qp(e,t,n),n[t.currentCaseLViewIndex]=null===i?null:~i,null!==i)){const a=n[t.anchorIdx];a&&zp(e,t.create[i],n,a)}}function qp(e,t,n){let r=ha(t,n);if(null!==r){const i=t.remove[r];for(let s=0;s<i.length;s++){const a=i[s];if(a>0){const u=d(a,n);null!==u&&Ef(n[11],u)}else qp(e,po(e,~a),n)}}}function kE(){const e=[];let n,r,t=-1;function s(u,c){t=0;const _=ha(u,c);r=null!==_?u.remove[_]:at}function a(){if(t<r.length){const u=r[t++];return u>0?n[u]:(e.push(t,r),s(n[1].data[~u],n),a())}return 0===e.length?null:(r=e.pop(),t=e.pop(),a())}return function(u,c){for(n=c;e.length;)e.pop();return s(u.value,c),a}}const pa=/\ufffd(\d+):?\d*\ufffd/gi,BE=/({\s*\ufffd\d+:?\d*\ufffd\s*,\s*\S{6}\s*,[\s\S]*})/gi,jE=/\ufffd(\d+)\ufffd/,Zp=/^\s*(\ufffd\d+:?\d*\ufffd)\s*,\s*(select|plural)\s*,/,HE=/\ufffd\/?\*(\d+:\d+)\ufffd/gi,UE=/\ufffd(\/?[#*]\d+):?\d*\ufffd/gi,$E=/\uE500/g;function Yp(e,t,n,r,i,s,a){const u=ps(e,r,1,null);let c=u<<Jt.SHIFT,_=jr();t===_&&(_=null),null===_&&(c|=Jt.APPEND_EAGERLY),a&&(c|=Jt.COMMENT,function(e){void 0===sl&&(sl=e())}(kE)),i.push(c,null===s?"":s);const E=Sl(e,u,a?32:1,null===s?"":s,null);jp(n,E);const I=E.index;return En(E,!1),null!==_&&t!==_&&function(e,t){let n=e.insertBeforeIndex;null===n?(vf(kp,Bp),n=e.insertBeforeIndex=[null,t]):(function(e,t,n){e!=t&&nt(n,e,t,"==")}(Array.isArray(n),!0,"Expecting array here"),n.push(t))}(_,I),E}function WE(e,t,n,r,i,s,a){const u=a.match(pa),c=Yp(e,t,n,s,r,u?null:a,!1);u&&Ns(i,a,c.index,null,0,null)}function Ns(e,t,n,r,i,s){const a=e.length,u=a+1;e.push(null,null);const c=a+2,_=t.split(pa);let E=0;for(let I=0;I<_.length;I++){const F=_[I];if(1&I){const k=i+parseInt(F,10);e.push(-1-k),E|=Xp(k)}else""!==F&&e.push(F)}return e.push(n<<2|(r?1:0)),r&&e.push(r,s),e[a]=E,e[u]=e.length-c,E}function qE(e){let t=0;for(let n=0;n<e.length;n++){const r=e[n];"number"==typeof r&&r<0&&t++}return t}function Xp(e){return 1<<Math.min(e,31)}function Jp(e){let t,s,n="",r=0,i=!1;for(;null!==(t=HE.exec(e));)i?t[0]===`\ufffd/*${s}\ufffd`&&(r=t.index,i=!1):(n+=e.substring(r,t.index+t[0].length),s=t[1],i=!0);return n+=e.substr(r),n}function eg(e,t,n,r,i,s){let a=0;const u={type:i.type,currentCaseLViewIndex:ps(e,t,1,null),anchorIdx:s,cases:[],create:[],remove:[],update:[]};(function(e,t,n){e.push(Xp(t.mainBinding),2,-1-t.mainBinding,n<<2|2)})(n,i,s),function(e,t,n){const r=e.data[t];null===r?e.data[t]=n:r.value=n}(e,s,u);const c=i.values;for(let _=0;_<c.length;_++){const E=c[_],I=[];for(let F=0;F<E.length;F++){const k=E[F];if("string"!=typeof k){const Y=I.push(k)-1;E[F]=`\x3c!--\ufffd${Y}\ufffd--\x3e`}}a=XE(e,u,t,n,r,i.cases[_],E.join(""),I)|a}a&&function(e,t,n){e.push(t,1,n<<2|3)}(n,a,s)}function YE(e){const t=[],n=[];let r=1,i=0;const s=Zu(e=e.replace(Zp,function(a,u,c){return r="select"===c?0:1,i=parseInt(u.substr(1),10),""}));for(let a=0;a<s.length;){let u=s[a++].trim();1===r&&(u=u.replace(/\s*(?:=)?(\w+)\s*/,"$1")),u.length&&t.push(u);const c=Zu(s[a++]);t.length>n.length&&n.push(c)}return{type:r,mainBinding:i,cases:t,values:n}}function Zu(e){if(!e)return[];let t=0;const n=[],r=[],i=/[{}]/g;let s;for(i.lastIndex=0;s=i.exec(e);){const u=s.index;if("}"==s[0]){if(n.pop(),0==n.length){const c=e.substring(t,u);Zp.test(c)?r.push(YE(c)):r.push(c),t=u+1}}else{if(0==n.length){const c=e.substring(t,u);r.push(c),t=u+1}n.push("{")}}const a=e.substring(t);return r.push(a),r}function XE(e,t,n,r,i,s,a,u){const c=[],_=[],E=[];t.cases.push(s),t.create.push(c),t.remove.push(_),t.update.push(E);const F=Nd(w()).getInertBodyElement(a),k=Xa(F)||F;return k?tg(e,t,n,r,c,_,E,k,i,u,0):0}function tg(e,t,n,r,i,s,a,u,c,_,E){let I=0,F=u.firstChild;for(;F;){const k=ps(e,n,1,null);switch(F.nodeType){case Node.ELEMENT_NODE:const Y=F,ue=Y.tagName.toLowerCase();if(Qa.hasOwnProperty(ue)){Yu(i,da,ue,c,k),e.data[k]=ue;const Be=Y.attributes;for(let ut=0;ut<Be.length;ut++){const At=Be.item(ut),dr=At.name.toLowerCase();At.value.match(pa)?Ld.hasOwnProperty(dr)&&Ns(a,At.value,k,At.name,0,Za[dr]?Ys:Ya[dr]?Pd:null):nC(i,k,At)}I=tg(e,t,n,r,i,s,a,F,k,_,E+1)|I,ng(s,k,E)}break;case Node.TEXT_NODE:const De=F.textContent||"",Ae=De.match(pa);Yu(i,null,Ae?"":De,c,k),ng(s,k,E),Ae&&(I=Ns(a,De,k,null,0,null)|I);break;case Node.COMMENT_NODE:const se=jE.exec(F.textContent||"");if(se){const ut=_[parseInt(se[1],10)];Yu(i,fa,"",c,k),eg(e,n,r,c,ut,k),JE(s,k,E)}}F=F.nextSibling}return I}function ng(e,t,n){0===n&&e.push(t)}function JE(e,t,n){0===n&&(e.push(~t),e.push(t))}function Yu(e,t,n,r,i){null!==t&&e.push(t),e.push(n,i,function(e,t,n){return 0|t<<17|n<<1}(0,r,i))}function nC(e,t,n){e.push(t<<1|1,n.name,n.value)}const rC=/\[(\ufffd.+?\ufffd?)\]/,iC=/\[(\ufffd.+?\ufffd?)\]|(\ufffd\/?\*\d+:\d+\ufffd)/g,sC=/({\s*)(VAR_(PLURAL|SELECT)(_\d+)?)(\s*,)/g,oC=/{([A-Z0-9_]+)}/g,aC=/\ufffdI18N_EXP_(ICU(_\d+)?)\ufffd/g,lC=/\/\*/,uC=/\d+\:(\d+)/;function Xu(e,t,n=-1){const r=Je(),i=re(),s=20+e,a=je(r.consts,t),u=jr();r.firstCreatePass&&function(e,t,n,r,i,s){const a=jr(),u=[],c=[],_=[[]];i=function(e,t){if(function(e){return-1===e}(t))return Jp(e);{const n=e.indexOf(`:${t}\ufffd`)+2+t.toString().length,r=e.search(new RegExp(`\ufffd\\/\\*\\d+:${t}\ufffd`));return Jp(e.substring(n,r))}}(i,s);const E=function(e){return e.replace($E," ")}(i).split(UE);for(let I=0;I<E.length;I++){let F=E[I];if(0==(1&I)){const k=Zu(F);for(let Y=0;Y<k.length;Y++){let ue=k[Y];if(0==(1&Y)){const De=ue;""!==De&&WE(e,a,_[0],u,c,n,De)}else{const De=ue;if("object"!=typeof De)throw new Error(`Unable to parse ICU expression in "${i}" message.`);eg(e,n,c,t,De,Yp(e,a,_[0],n,u,"",!0).index)}}}else{const k=47===F.charCodeAt(0),ue=(F.charCodeAt(k?1:0),20+Number.parseInt(F.substring(k?2:1)));if(k)_.shift(),En(jr(),!1);else{const De=NE(e,_[0],ue);_.unshift([]),En(De,!0)}}}e.data[r]={create:u,update:c}}(r,null===u?0:u.index,i,s,a,n);const c=r.data[s],E=hf(r,u===i[6]?null:u,i);(function(e,t,n,r){const i=e[11];for(let s=0;s<t.length;s++){const a=t[s++],u=t[s],c=(a&Jt.COMMENT)===Jt.COMMENT,_=(a&Jt.APPEND_EAGERLY)===Jt.APPEND_EAGERLY,E=a>>>Jt.SHIFT;let I=e[E];null===I&&(I=e[E]=c?i.createComment(u):ul(i,u)),_&&null!==n&&$i(i,n,I,r,!1)}})(i,c.create,E,u&&8&u.type?i[u.index]:null),So(!0)}function Ju(){So(!1)}function ig(e,t,n){Xu(e,t,n),Ju()}function sg(e,t){const n=Je();!function(e,t,n){const i=It().index,s=[];if(e.firstCreatePass&&null===e.data[t]){for(let a=0;a<n.length;a+=2){const u=n[a],c=n[a+1];if(""!==c){if(BE.test(c))throw new Error(`ICU expressions are not supported in attributes. Message: "${c}".`);Ns(s,c,i,u,qE(s),null)}}e.data[t]=s}}(n,e+20,je(n.consts,t))}function ec(e){return function(e){e&&(go|=1<<Math.min(mo,31)),mo++}(Bn(re(),Gn(),e)),ec}function og(e){!function(e,t,n){if(mo>0){const r=e.data[n];Wp(e,t,Array.isArray(r)?r:r.update,un()-mo-1,go)}go=0,mo=0}(Je(),re(),e+20)}function ag(e,t={}){return function(e,t={}){let n=e;if(rC.test(e)){const r={},i=[0];n=n.replace(iC,(s,a,u)=>{const c=a||u,_=r[c]||[];if(_.length||(c.split("|").forEach(ue=>{const De=ue.match(uC),Ae=De?parseInt(De[1],10):0,se=lC.test(ue);_.push([Ae,se,ue])}),r[c]=_),!_.length)throw new Error(`i18n postprocess: unmatched placeholder - ${c}`);const E=i[i.length-1];let I=0;for(let ue=0;ue<_.length;ue++)if(_[ue][0]===E){I=ue;break}const[F,k,Y]=_[I];return k?i.pop():E!==F&&i.push(F),_.splice(I,1),Y})}return Object.keys(t).length&&(n=n.replace(sC,(r,i,s,a,u,c)=>t.hasOwnProperty(s)?`${i}${t[s]}${c}`:r),n=n.replace(oC,(r,i)=>t.hasOwnProperty(i)?t[i]:r),n=n.replace(aC,(r,i)=>{if(t.hasOwnProperty(i)){const s=t[i];if(!s.length)throw new Error(`i18n postprocess: unmatched ICU - ${r} with key: ${i}`);return s.shift()}return r})),n}(e,t)}function tc(e,t,n,r,i){if(e=Se(e),Array.isArray(e))for(let s=0;s<e.length;s++)tc(e[s],t,n,r,i);else{const s=Je(),a=re();let u=ys(e)?e:Se(e.provide),c=hh(e);const _=It(),E=1048575&_.providerIndexes,I=_.directiveStart,F=_.providerIndexes>>20;if(ys(e)||!e.multi){const k=new js(c,i,co),Y=rc(u,t,i?E:E+F,I);-1===Y?(ko(Us(_,a),s,u),nc(s,e,t.length),t.push(u),_.directiveStart++,_.directiveEnd++,i&&(_.providerIndexes+=1048576),n.push(k),a.push(k)):(n[Y]=k,a[Y]=k)}else{const k=rc(u,t,E+F,I),Y=rc(u,t,E,E+F),ue=k>=0&&n[k],De=Y>=0&&n[Y];if(i&&!De||!i&&!ue){ko(Us(_,a),s,u);const Ae=function(e,t,n,r,i){const s=new js(e,n,co);return s.multi=[],s.index=t,s.componentProviders=0,lg(s,i,r&&!n),s}(i?hC:fC,n.length,i,r,c);!i&&De&&(n[Y].providerFactory=Ae),nc(s,e,t.length,0),t.push(u),_.directiveStart++,_.directiveEnd++,i&&(_.providerIndexes+=1048576),n.push(Ae),a.push(Ae)}else nc(s,e,k>-1?k:Y,lg(n[i?Y:k],c,!i&&r));!i&&r&&De&&n[Y].componentProviders++}}}function nc(e,t,n,r){const i=ys(t),s=function(e){return!!e.useClass}(t);if(i||s){const c=(s?Se(t.useClass):t).prototype.ngOnDestroy;if(c){const _=e.destroyHooks||(e.destroyHooks=[]);if(!i&&t.multi){const E=_.indexOf(n);-1===E?_.push(n,[r,c]):_[E+1].push(r,c)}else _.push(n,c)}}}function lg(e,t,n){return n&&e.componentProviders++,e.multi.push(t)-1}function rc(e,t,n,r){for(let i=n;i<r;i++)if(t[i]===e)return i;return-1}function fC(e,t,n,r){return ic(this.multi,[])}function hC(e,t,n,r){const i=this.multi;let s;if(this.providerFactory){const a=this.providerFactory.componentProviders,u=$s(n,n[1],this.providerFactory.index,r);s=u.slice(0,a),ic(i,s);for(let c=a;c<u.length;c++)s.push(u[c])}else s=[],ic(i,s);return s}function ic(e,t){for(let n=0;n<e.length;n++)t.push((0,e[n])());return t}function ug(e,t=[]){return n=>{n.providersResolver=(r,i)=>function(e,t,n){const r=Je();if(r.firstCreatePass){const i=vn(e);tc(n,r.data,r.blueprint,i,!0),tc(t,r.data,r.blueprint,i,!1)}}(r,i?i(e):e,t)}}class cg{}class ga{}class mC{resolveComponentFactory(t){throw function(e){const t=Error(`No component factory found for ${z(e)}. Did you add it to @NgModule.entryComponents?`);return t.ngComponent=e,t}(t)}}let _o=(()=>{class e{}return e.NULL=new mC,e})();function yC(){return Ps(It(),re())}function Ps(e,t){return new vo(D(e,t))}let vo=(()=>{class e{constructor(n){this.nativeElement=n}}return e.__NG_ELEMENT_ID__=yC,e})();function _C(e){return e instanceof vo?e.nativeElement:e}class fg{}let vC=(()=>{class e{}return e.__NG_ELEMENT_ID__=()=>function(){const e=re(),n=B(It().index,e);return function(e){return e[11]}(fn(n)?n:e)}(),e})(),hg=(()=>{class e{}return e.\u0275prov=Te({token:e,providedIn:"root",factory:()=>null}),e})();class pg{constructor(t){this.full=t,this.major=t.split(".")[0],this.minor=t.split(".")[1],this.patch=t.split(".").slice(2).join(".")}}const gg=new pg("13.1.1"),ma={};function ya(e,t,n,r,i=!1){for(;null!==n;){const s=t[n.index];if(null!==s&&r.push(v(s)),In(s))for(let u=10;u<s.length;u++){const c=s[u],_=c[1].firstChild;null!==_&&ya(c[1],c,_,r)}const a=n.type;if(8&a)ya(e,t,n.child,r);else if(32&a){const u=ol(n,t);let c;for(;c=u();)r.push(c)}else if(16&a){const u=Df(t,n);if(Array.isArray(u))r.push(...u);else{const c=no(t[16]);ya(c[1],c,u,r,!0)}}n=i?n.projectionNext:n.next}return r}class Os{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 ya(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(In(t)){const n=t[8],r=n?n.indexOf(this):-1;r>-1&&(dl(t,r),Ho(n,r))}this._attachedToViewContainer=!1}df(this._lView[1],this._lView)}onDestroy(t){Kf(this._lView[1],this._lView,null,t)}markForCheck(){Rl(this._cdRefInjectingView||this._lView)}detach(){this._lView[2]&=-129}reattach(){this._lView[2]|=128}detectChanges(){Ll(this._lView[1],this._lView,this.context)}checkNoChanges(){!function(e,t,n){st(!0);try{Ll(e,t,n)}finally{st(!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(){var t;this._appRef=null,ro(this._lView[1],t=this._lView,t[11],2,null,null)}attachToAppRef(t){if(this._attachedToViewContainer)throw new Error("This view is already attached to a ViewContainer!");this._appRef=t}}class CC extends Os{constructor(t){super(t),this._view=t}detectChanges(){nh(this._view)}checkNoChanges(){!function(e){st(!0);try{nh(e)}finally{st(!1)}}(this._view)}get context(){return null}}class mg extends _o{constructor(t){super(),this.ngModule=t}resolveComponentFactory(t){const n=Ft(t);return new _a(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 bC=new Xt("SCHEDULER_TOKEN",{providedIn:"root",factory:()=>Jd});class _a extends ga{constructor(t,n){super(),this.componentDef=t,this.ngModule=n,this.componentType=t.type,this.selector=t.selectors.map(uv).join(","),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,i){const s=(i=i||this.ngModule)?function(e,t){return{get:(n,r,i)=>{const s=e.get(n,ma,i);return s!==ma||r===ma?s:t.get(n,r,i)}}}(t,i.injector):t,a=s.get(fg,yt),u=s.get(hg,null),c=a.createRenderer(null,this.componentDef),_=this.componentDef.selectors[0][0]||"div",E=r?Wf(c,r,this.componentDef.encapsulation):cl(a.createRenderer(null,this.componentDef),_,function(e){const t=e.toLowerCase();return"svg"===t?Zt:"math"===t?y:null}(_)),I=this.componentDef.onPush?576:528,F=Mh(),k=ta(0,null,null,1,0,null,null,null,null,null),Y=io(null,k,F,I,null,null,a,c,u,s);let ue,De;To(Y);try{const Ae=wh(E,this.componentDef,Y,a,c);if(E)if(r)Ro(c,E,["ng-version",gg.full]);else{const{attrs:se,classes:Be}=function(e){const t=[],n=[];let r=1,i=2;for(;r<e.length;){let s=e[r];if("string"==typeof s)2===i?""!==s&&t.push(s,e[++r]):8===i&&n.push(s);else{if(!Ur(i))break;i=s}r++}return{attrs:t,classes:n}}(this.componentDef.selectors[0]);se&&Ro(c,E,se),Be&&Be.length>0&&ml(c,E,Be.join(" "))}if(De=S(k,20),void 0!==n){const se=De.projection=[];for(let Be=0;Be<this.ngContentSelectors.length;Be++){const ut=n[Be];se.push(null!=ut?Array.from(ut):null)}}ue=bh(Ae,this.componentDef,Y,F,[Ah]),so(k,Y,null)}finally{Fo()}return new _g(this.componentType,ue,Ps(De,Y),Y,De)}}class _g extends cg{constructor(t,n,r,i,s){super(),this.location=r,this._rootLView=i,this._tNode=s,this.instance=n,this.hostView=this.changeDetectorRef=new CC(i),this.componentType=t}get injector(){return new ts(this._tNode,this._rootLView)}destroy(){this.hostView.destroy()}onDestroy(t){this.hostView.onDestroy(t)}}function vg(e,t,n,r){return Ut(()=>{const i=e;null!==t&&(i.hasOwnProperty("decorators")&&void 0!==i.decorators?i.decorators.push(...t):i.decorators=t),null!==n&&(i.ctorParameters=n),null!==r&&(i.propDecorators=i.hasOwnProperty("propDecorators")&&void 0!==i.propDecorators?Object.assign(Object.assign({},i.propDecorators),r):r)})}class Rs{}class Dg{}const xs=new Map;function Cg(e){const t=new Set;!function n(r){const i=$t(r,!0),s=i.id;if(null!==s){(function(e,t,n){if(t&&t!==n)throw new Error(`Duplicate module registered for ${e} - ${z(t)} vs ${z(t.name)}`)})(s,xs.get(s),r),xs.set(s,r)}const a=ii(i.imports);for(const u of a)t.has(u)||(t.add(u),n(u))}(e)}function wg(e){return xs.get(e)||_r[e]}function IC(e,t){return new sc(e,null!=t?t:null)}class sc extends Rs{constructor(t,n){super(),this._parent=n,this._bootstrapComponents=[],this.injector=this,this.destroyCbs=[],this.componentFactoryResolver=new mg(this);const r=$t(t);this._bootstrapComponents=ii(r.bootstrap),this._r3Injector=fh(t,n,[{provide:Rs,useValue:this},{provide:_o,useValue:this.componentFactoryResolver}],z(t)),this._r3Injector._resolveInjectorDefTypes(),this.instance=this.get(t)}get(t,n=ur.THROW_IF_NOT_FOUND,r=Ve.Default){return t===ur||t===Rs||t===ia?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 va extends Dg{constructor(t){super(),this.moduleType=t,null!==$t(t)&&Cg(t)}create(t){return new sc(this.moduleType,t)}}function bg(e,t,n){const r=gt()+e,i=re();return i[r]===Ze?ai(i,r,n?t.call(n):t()):lo(i,r)}function Mg(e,t,n,r){return Rg(re(),gt(),e,t,n,r)}function Ag(e,t,n,r,i){return xg(re(),gt(),e,t,n,r,i)}function Ig(e,t,n,r,i,s){return Lg(re(),gt(),e,t,n,r,i,s)}function Sg(e,t,n,r,i,s,a){return Vg(re(),gt(),e,t,n,r,i,s,a)}function Tg(e,t,n,r,i,s,a,u){const c=gt()+e,_=re(),E=Nr(_,c,n,r,i,s);return Bn(_,c+4,a)||E?ai(_,c+5,u?t.call(u,n,r,i,s,a):t(n,r,i,s,a)):lo(_,c+5)}function Fg(e,t,n,r,i,s,a,u,c){const _=gt()+e,E=re(),I=Nr(E,_,n,r,i,s);return Gi(E,_+4,a,u)||I?ai(E,_+6,c?t.call(c,n,r,i,s,a,u):t(n,r,i,s,a,u)):lo(E,_+6)}function Ng(e,t,n,r,i,s,a,u,c,_){const E=gt()+e,I=re();let F=Nr(I,E,n,r,i,s);return oa(I,E+4,a,u,c)||F?ai(I,E+7,_?t.call(_,n,r,i,s,a,u,c):t(n,r,i,s,a,u,c)):lo(I,E+7)}function Pg(e,t,n,r,i,s,a,u,c,_,E){const I=gt()+e,F=re(),k=Nr(F,I,n,r,i,s);return Nr(F,I+4,a,u,c,_)||k?ai(F,I+8,E?t.call(E,n,r,i,s,a,u,c,_):t(n,r,i,s,a,u,c,_)):lo(F,I+8)}function Og(e,t,n,r){return kg(re(),gt(),e,t,n,r)}function Do(e,t){const n=e[t];return n===Ze?void 0:n}function Rg(e,t,n,r,i,s){const a=t+n;return Bn(e,a,i)?ai(e,a+1,s?r.call(s,i):r(i)):Do(e,a+1)}function xg(e,t,n,r,i,s,a){const u=t+n;return Gi(e,u,i,s)?ai(e,u+2,a?r.call(a,i,s):r(i,s)):Do(e,u+2)}function Lg(e,t,n,r,i,s,a,u){const c=t+n;return oa(e,c,i,s,a)?ai(e,c+3,u?r.call(u,i,s,a):r(i,s,a)):Do(e,c+3)}function Vg(e,t,n,r,i,s,a,u,c){const _=t+n;return Nr(e,_,i,s,a,u)?ai(e,_+4,c?r.call(c,i,s,a,u):r(i,s,a,u)):Do(e,_+4)}function kg(e,t,n,r,i,s){let a=t+n,u=!1;for(let c=0;c<i.length;c++)Bn(e,a++,i[c])&&(u=!0);return u?ai(e,a,r.apply(s,i)):Do(e,a)}function Bg(e,t){const n=Je();let r;const i=e+20;n.firstCreatePass?(r=function(e,t){if(t)for(let n=t.length-1;n>=0;n--){const r=t[n];if(e===r.name)return r}}(t,n.pipeRegistry),n.data[i]=r,r.onDestroy&&(n.destroyHooks||(n.destroyHooks=[])).push(i,r.onDestroy)):r=n.data[i];const s=r.factory||(r.factory=m(r.type)),a=nn(co);try{const u=Lo(!1),c=s();return Lo(u),Nh(n,re(),i,c),c}finally{nn(a)}}function jg(e,t,n){const r=e+20,i=re(),s=T(i,r);return Eo(i,r)?Rg(i,gt(),t,s.transform,n,s):s.transform(n)}function Hg(e,t,n,r){const i=e+20,s=re(),a=T(s,i);return Eo(s,i)?xg(s,gt(),t,a.transform,n,r,a):a.transform(n,r)}function Ug(e,t,n,r,i){const s=e+20,a=re(),u=T(a,s);return Eo(a,s)?Lg(a,gt(),t,u.transform,n,r,i,u):u.transform(n,r,i)}function $g(e,t,n,r,i,s){const a=e+20,u=re(),c=T(u,a);return Eo(u,a)?Vg(u,gt(),t,c.transform,n,r,i,s,c):c.transform(n,r,i,s)}function Gg(e,t,n){const r=e+20,i=re(),s=T(i,r);return Eo(i,r)?kg(i,gt(),t,s.transform,n,s):s.transform.apply(s,n)}function Eo(e,t){return e[1].data[t].pure}function oc(e){return t=>{setTimeout(e,void 0,t)}}const ui=class extends Ee{constructor(t=!1){super(),this.__isAsync=t}emit(t){super.next(t)}subscribe(t,n,r){var i,s,a;let u=t,c=n||(()=>null),_=r;if(t&&"object"==typeof t){const I=t;u=null===(i=I.next)||void 0===i?void 0:i.bind(I),c=null===(s=I.error)||void 0===s?void 0:s.bind(I),_=null===(a=I.complete)||void 0===a?void 0:a.bind(I)}this.__isAsync&&(c=oc(c),u&&(u=oc(u)),_&&(_=oc(_)));const E=super.subscribe({next:u,error:c,complete:_});return t instanceof N.w0&&t.add(E),E}};function FC(){return this._results[_s()]()}class Da{constructor(t=!1){this._emitDistinctChangesOnly=t,this.dirty=!0,this._results=[],this._changesDetected=!1,this._changes=null,this.length=0,this.first=void 0,this.last=void 0;const n=_s(),r=Da.prototype;r[n]||(r[n]=FC)}get changes(){return this._changes||(this._changes=new ui)}get(t){return this._results[t]}map(t){return this._results.map(t)}filter(t){return this._results.filter(t)}find(t){return this._results.find(t)}reduce(t,n){return this._results.reduce(t,n)}forEach(t){this._results.forEach(t)}some(t){return this._results.some(t)}toArray(){return this._results.slice()}toString(){return this._results.toString()}reset(t,n){const r=this;r.dirty=!1;const i=Tr(t);(this._changesDetected=!function(e,t,n){if(e.length!==t.length)return!1;for(let r=0;r<e.length;r++){let i=e[r],s=t[r];if(n&&(i=n(i),s=n(s)),s!==i)return!1}return!0}(r._results,i,n))&&(r._results=i,r.length=i.length,r.last=i[this.length-1],r.first=i[0])}notifyOnChanges(){this._changes&&(this._changesDetected||!this._emitDistinctChangesOnly)&&this._changes.emit(this)}setDirty(){this.dirty=!0}destroy(){this.changes.complete(),this.changes.unsubscribe()}}Symbol;let Co=(()=>{class e{}return e.__NG_ELEMENT_ID__=OC,e})();const NC=Co,PC=class extends NC{constructor(t,n,r){super(),this._declarationLView=t,this._declarationTContainer=n,this.elementRef=r}createEmbeddedView(t){const n=this._declarationTContainer.tViews,r=io(this._declarationLView,n,t,16,null,n.declTNode,null,null,null,null);r[17]=this._declarationLView[this._declarationTContainer.index];const s=this._declarationLView[19];return null!==s&&(r[19]=s.createEmbeddedView(n)),so(n,r,t),new Os(r)}};function OC(){return Ea(It(),re())}function Ea(e,t){return 4&e.type?new PC(t,e,Ps(e,t)):null}let Ca=(()=>{class e{}return e.__NG_ELEMENT_ID__=RC,e})();function RC(){return Kg(It(),re())}const xC=Ca,zg=class extends xC{constructor(t,n,r){super(),this._lContainer=t,this._hostTNode=n,this._hostLView=r}get element(){return Ps(this._hostTNode,this._hostLView)}get injector(){return new ts(this._hostTNode,this._hostLView)}get parentInjector(){const t=Vo(this._hostTNode,this._hostLView);if(id(t)){const n=es(t,this._hostLView),r=Ji(t);return new ts(n[1].data[r+8],n)}return new ts(null,this._hostLView)}clear(){for(;this.length>0;)this.remove(this.length-1)}get(t){const n=Wg(this._lContainer);return null!==n&&n[t]||null}get length(){return this._lContainer.length-10}createEmbeddedView(t,n,r){const i=t.createEmbeddedView(n||{});return this.insert(i,r),i}createComponent(t,n,r,i,s){const a=t&&!zs(t);let u;if(a)u=n;else{const I=n||{};u=I.index,r=I.injector,i=I.projectableNodes,s=I.ngModuleRef}const c=a?t:new _a(Ft(t)),_=r||this.parentInjector;if(!s&&null==c.ngModule&&_){const I=_.get(Rs,null);I&&(s=I)}const E=c.create(_,i,void 0,s);return this.insert(E.hostView,u),E}insert(t,n){const r=t._lView,i=r[1];if(In(r[3])){const E=this.indexOf(t);if(-1!==E)this.detach(E);else{const I=r[3],F=new zg(I,I[6],I[3]);F.detach(F.indexOf(t))}}const s=this._adjustIndex(n),a=this._lContainer;!function(e,t,n,r){const i=10+r,s=n.length;r>0&&(n[i-1][4]=t),r<s-10?(t[4]=n[i],md(n,10+r,t)):(n.push(t),t[4]=null),t[3]=n;const a=t[17];null!==a&&n!==a&&function(e,t){const n=e[9];t[16]!==t[3][3][16]&&(e[2]=!0),null===n?e[9]=[t]:n.push(t)}(a,t);const u=t[19];null!==u&&u.insertView(e),t[2]|=128}(i,r,a,s);const u=pl(s,a),c=r[11],_=Qo(c,a[7]);return null!==_&&function(e,t,n,r,i,s){r[0]=i,r[6]=t,ro(e,r,n,1,i,s)}(i,a[6],c,r,_,u),t.attachToViewContainerRef(),md(ac(a),s,t),t}move(t,n){return this.insert(t,n)}indexOf(t){const n=Wg(this._lContainer);return null!==n?n.indexOf(t):-1}remove(t){const n=this._adjustIndex(t,-1),r=dl(this._lContainer,n);r&&(Ho(ac(this._lContainer),n),df(r[1],r))}detach(t){const n=this._adjustIndex(t,-1),r=dl(this._lContainer,n);return r&&null!=Ho(ac(this._lContainer),n)?new Os(r):null}_adjustIndex(t,n=0){return null==t?this.length+n:t}};function Wg(e){return e[8]}function ac(e){return e[8]||(e[8]=[])}function Kg(e,t){let n;const r=t[e.index];if(In(r))n=r;else{let i;if(8&e.type)i=v(r);else{const s=t[11];i=s.createComment("");const a=D(e,t);$i(s,Qo(s,a),i,function(e,t){return ye(e)?e.nextSibling(t):t.nextSibling}(s,a),!1)}t[e.index]=n=th(r,t,i,e),na(t,n)}return new zg(n,e,t)}class lc{constructor(t){this.queryList=t,this.matches=null}clone(){return new lc(this.queryList)}setDirty(){this.queryList.setDirty()}}class uc{constructor(t=[]){this.queries=t}createEmbeddedView(t){const n=t.queries;if(null!==n){const r=null!==t.contentQueries?t.contentQueries[0]:n.length,i=[];for(let s=0;s<r;s++){const a=n.getByIndex(s);i.push(this.queries[a.indexInDeclarationView].clone())}return new uc(i)}return null}insertView(t){this.dirtyQueriesWithMatches(t)}detachView(t){this.dirtyQueriesWithMatches(t)}dirtyQueriesWithMatches(t){for(let n=0;n<this.queries.length;n++)null!==nm(t,n).matches&&this.queries[n].setDirty()}}class qg{constructor(t,n,r=null){this.predicate=t,this.flags=n,this.read=r}}class cc{constructor(t=[]){this.queries=t}elementStart(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].elementStart(t,n)}elementEnd(t){for(let n=0;n<this.queries.length;n++)this.queries[n].elementEnd(t)}embeddedTView(t){let n=null;for(let r=0;r<this.length;r++){const i=null!==n?n.length:0,s=this.getByIndex(r).embeddedTView(t,i);s&&(s.indexInDeclarationView=r,null!==n?n.push(s):n=[s])}return null!==n?new cc(n):null}template(t,n){for(let r=0;r<this.queries.length;r++)this.queries[r].template(t,n)}getByIndex(t){return this.queries[t]}get length(){return this.queries.length}track(t){this.queries.push(t)}}class dc{constructor(t,n=-1){this.metadata=t,this.matches=null,this.indexInDeclarationView=-1,this.crossesNgTemplate=!1,this._appliesToNextNode=!0,this._declarationNodeIndex=n}elementStart(t,n){this.isApplyingToNode(n)&&this.matchTNode(t,n)}elementEnd(t){this._declarationNodeIndex===t.index&&(this._appliesToNextNode=!1)}template(t,n){this.elementStart(t,n)}embeddedTView(t,n){return this.isApplyingToNode(t)?(this.crossesNgTemplate=!0,this.addMatch(-t.index,n),new dc(this.metadata)):null}isApplyingToNode(t){if(this._appliesToNextNode&&1!=(1&this.metadata.flags)){const n=this._declarationNodeIndex;let r=t.parent;for(;null!==r&&8&r.type&&r.index!==n;)r=r.parent;return n===(null!==r?r.index:-1)}return this._appliesToNextNode}matchTNode(t,n){const r=this.metadata.predicate;if(Array.isArray(r))for(let i=0;i<r.length;i++){const s=r[i];this.matchTNodeWithReadOption(t,n,kC(n,s)),this.matchTNodeWithReadOption(t,n,Bo(n,t,s,!1,!1))}else r===Co?4&n.type&&this.matchTNodeWithReadOption(t,n,-1):this.matchTNodeWithReadOption(t,n,Bo(n,t,r,!1,!1))}matchTNodeWithReadOption(t,n,r){if(null!==r){const i=this.metadata.read;if(null!==i)if(i===vo||i===Ca||i===Co&&4&n.type)this.addMatch(n.index,-2);else{const s=Bo(n,t,i,!1,!1);null!==s&&this.addMatch(n.index,s)}else this.addMatch(n.index,r)}}addMatch(t,n){null===this.matches?this.matches=[t,n]:this.matches.push(t,n)}}function kC(e,t){const n=e.localNames;if(null!==n)for(let r=0;r<n.length;r+=2)if(n[r]===t)return n[r+1];return null}function jC(e,t,n,r){return-1===n?function(e,t){return 11&e.type?Ps(e,t):4&e.type?Ea(e,t):null}(t,e):-2===n?function(e,t,n){return n===vo?Ps(t,e):n===Co?Ea(t,e):n===Ca?Kg(t,e):void 0}(e,t,r):$s(e,e[1],n,t)}function Qg(e,t,n,r){const i=t[19].queries[r];if(null===i.matches){const s=e.data,a=n.matches,u=[];for(let c=0;c<a.length;c+=2){const _=a[c];u.push(_<0?null:jC(t,s[_],a[c+1],n.metadata.read))}i.matches=u}return i.matches}function fc(e,t,n,r){const i=e.queries.getByIndex(n),s=i.matches;if(null!==s){const a=Qg(e,t,i,n);for(let u=0;u<s.length;u+=2){const c=s[u];if(c>0)r.push(a[u/2]);else{const _=s[u+1],E=t[-c];for(let I=10;I<E.length;I++){const F=E[I];F[17]===F[3]&&fc(F[1],F,_,r)}if(null!==E[9]){const I=E[9];for(let F=0;F<I.length;F++){const k=I[F];fc(k[1],k,_,r)}}}}}return r}function Zg(e){const t=re(),n=Je(),r=Xi();Ta(r+1);const i=nm(n,r);if(e.dirty&&ee(t)===(2==(2&i.metadata.flags))){if(null===i.matches)e.reset([]);else{const s=i.crossesNgTemplate?fc(n,t,r,[]):Qg(n,t,i,r);e.reset(s,_C),e.notifyOnChanges()}return!0}return!1}function Yg(e,t,n){const r=Je();r.firstCreatePass&&(tm(r,new qg(e,t,n),-1),2==(2&t)&&(r.staticViewQueries=!0)),em(r,re(),t)}function Xg(e,t,n,r){const i=Je();if(i.firstCreatePass){const s=It();tm(i,new qg(t,n,r),s.index),function(e,t){const n=e.contentQueries||(e.contentQueries=[]);t!==(n.length?n[n.length-1]:-1)&&n.push(e.queries.length-1,t)}(i,e),2==(2&n)&&(i.staticContentQueries=!0)}em(i,re(),n)}function Jg(){return e=re(),t=Xi(),e[19].queries[t].queryList;var e,t}function em(e,t,n){const r=new Da(4==(4&n));Kf(e,t,r,r.destroy),null===t[19]&&(t[19]=new uc),t[19].queries.push(new lc(r))}function tm(e,t,n){null===e.queries&&(e.queries=new cc),e.queries.track(new dc(t,n))}function nm(e,t){return e.queries.getByIndex(t)}function rm(e,t){return Ea(e,t)}const Wn=(()=>({\u0275\u0275attribute:ql,\u0275\u0275attributeInterpolate1:Ql,\u0275\u0275attributeInterpolate2:Zl,\u0275\u0275attributeInterpolate3:Yl,\u0275\u0275attributeInterpolate4:Xl,\u0275\u0275attributeInterpolate5:Jl,\u0275\u0275attributeInterpolate6:eu,\u0275\u0275attributeInterpolate7:tu,\u0275\u0275attributeInterpolate8:nu,\u0275\u0275attributeInterpolateV:ru,\u0275\u0275defineComponent:Pn,\u0275\u0275defineDirective:Vr,\u0275\u0275defineInjectable:Te,\u0275\u0275defineInjector:Tn,\u0275\u0275defineNgModule:Un,\u0275\u0275definePipe:On,\u0275\u0275directiveInject:co,\u0275\u0275getInheritedFactory:hd,\u0275\u0275inject:Cn,\u0275\u0275injectAttribute:Va,\u0275\u0275invalidFactory:Gh,\u0275\u0275invalidFactoryDep:Ga,\u0275\u0275templateRefExtractor:rm,\u0275\u0275NgOnChangesFeature:P,\u0275\u0275ProvidersFeature:ug,\u0275\u0275CopyDefinitionFeature:Sh,\u0275\u0275InheritDefinitionFeature:zl,\u0275\u0275nextContext:Xh,\u0275\u0275namespaceHTML:ed,\u0275\u0275namespaceMathML:Jc,\u0275\u0275namespaceSVG:Xc,\u0275\u0275enableBindings:_i,\u0275\u0275disableBindings:or,\u0275\u0275elementStart:uu,\u0275\u0275elementEnd:cu,\u0275\u0275element:zh,\u0275\u0275elementContainerStart:du,\u0275\u0275elementContainerEnd:fu,\u0275\u0275elementContainer:Wh,\u0275\u0275pureFunction0:bg,\u0275\u0275pureFunction1:Mg,\u0275\u0275pureFunction2:Ag,\u0275\u0275pureFunction3:Ig,\u0275\u0275pureFunction4:Sg,\u0275\u0275pureFunction5:Tg,\u0275\u0275pureFunction6:Fg,\u0275\u0275pureFunction7:Ng,\u0275\u0275pureFunction8:Pg,\u0275\u0275pureFunctionV:Og,\u0275\u0275getCurrentView:Kh,\u0275\u0275restoreView:Sr,\u0275\u0275listener:pu,\u0275\u0275projection:ep,\u0275\u0275syntheticHostProperty:qu,\u0275\u0275syntheticHostListener:gu,\u0275\u0275pipeBind1:jg,\u0275\u0275pipeBind2:Hg,\u0275\u0275pipeBind3:Ug,\u0275\u0275pipeBind4:$g,\u0275\u0275pipeBindV:Gg,\u0275\u0275projectionDef:Jh,\u0275\u0275hostProperty:Ku,\u0275\u0275property:au,\u0275\u0275propertyInterpolate:yu,\u0275\u0275propertyInterpolate1:la,\u0275\u0275propertyInterpolate2:_u,\u0275\u0275propertyInterpolate3:vu,\u0275\u0275propertyInterpolate4:Du,\u0275\u0275propertyInterpolate5:Eu,\u0275\u0275propertyInterpolate6:Cu,\u0275\u0275propertyInterpolate7:wu,\u0275\u0275propertyInterpolate8:bu,\u0275\u0275propertyInterpolateV:Mu,\u0275\u0275pipe:Bg,\u0275\u0275queryRefresh:Zg,\u0275\u0275viewQuery:Yg,\u0275\u0275loadQuery:Jg,\u0275\u0275contentQuery:Xg,\u0275\u0275reference:Ph,\u0275\u0275classMap:lp,\u0275\u0275classMapInterpolate1:mp,\u0275\u0275classMapInterpolate2:yp,\u0275\u0275classMapInterpolate3:_p,\u0275\u0275classMapInterpolate4:vp,\u0275\u0275classMapInterpolate5:Dp,\u0275\u0275classMapInterpolate6:Ep,\u0275\u0275classMapInterpolate7:Cp,\u0275\u0275classMapInterpolate8:wp,\u0275\u0275classMapInterpolateV:bp,\u0275\u0275styleMap:Gr,\u0275\u0275styleMapInterpolate1:Mp,\u0275\u0275styleMapInterpolate2:Ap,\u0275\u0275styleMapInterpolate3:Ip,\u0275\u0275styleMapInterpolate4:Sp,\u0275\u0275styleMapInterpolate5:Tp,\u0275\u0275styleMapInterpolate6:Fp,\u0275\u0275styleMapInterpolate7:Np,\u0275\u0275styleMapInterpolate8:Pp,\u0275\u0275styleMapInterpolateV:Op,\u0275\u0275styleProp:Au,\u0275\u0275stylePropInterpolate1:ku,\u0275\u0275stylePropInterpolate2:Bu,\u0275\u0275stylePropInterpolate3:ju,\u0275\u0275stylePropInterpolate4:Hu,\u0275\u0275stylePropInterpolate5:Uu,\u0275\u0275stylePropInterpolate6:$u,\u0275\u0275stylePropInterpolate7:Gu,\u0275\u0275stylePropInterpolate8:zu,\u0275\u0275stylePropInterpolateV:Wu,\u0275\u0275classProp:Iu,\u0275\u0275advance:Tf,\u0275\u0275template:Fh,\u0275\u0275text:gp,\u0275\u0275textInterpolate:Tu,\u0275\u0275textInterpolate1:ca,\u0275\u0275textInterpolate2:Fu,\u0275\u0275textInterpolate3:Nu,\u0275\u0275textInterpolate4:Pu,\u0275\u0275textInterpolate5:Ou,\u0275\u0275textInterpolate6:Ru,\u0275\u0275textInterpolate7:xu,\u0275\u0275textInterpolate8:Lu,\u0275\u0275textInterpolateV:Vu,\u0275\u0275i18n:ig,\u0275\u0275i18nAttributes:sg,\u0275\u0275i18nExp:ec,\u0275\u0275i18nStart:Xu,\u0275\u0275i18nEnd:Ju,\u0275\u0275i18nApply:og,\u0275\u0275i18nPostprocess:ag,\u0275\u0275resolveWindow:ef,\u0275\u0275resolveDocument:tf,\u0275\u0275resolveBody:nf,\u0275\u0275setComponentScope:yr,\u0275\u0275setNgModuleScope:Zr,\u0275\u0275sanitizeHtml:Bd,\u0275\u0275sanitizeStyle:jd,\u0275\u0275sanitizeResourceUrl:el,\u0275\u0275sanitizeScript:Hd,\u0275\u0275sanitizeUrl:Ja,\u0275\u0275sanitizeUrlOrResourceUrl:Gd,\u0275\u0275trustConstantHtml:Ud,\u0275\u0275trustConstantResourceUrl:$d,forwardRef:rt,resolveForwardRef:Se}))();let Ls=null;function WC(){Ls=null}const wo=[];let hc=!1;function im(){if(!hc){hc=!0;try{for(let e=wo.length-1;e>=0;e--){const{moduleType:t,ngModule:n}=wo[e];n.declarations&&n.declarations.every(sm)&&(wo.splice(e,1),QC(t,n))}}finally{hc=!1}}}function sm(e){return Array.isArray(e)?e.every(sm):!!Se(e)}function om(e,t={}){am(e,t),function(e,t){wo.push({moduleType:e,ngModule:t})}(e,t)}function am(e,t,n=!1){const r=Tr(t.declarations||at);let i=null;Object.defineProperty(e,Hn,{configurable:!0,get:()=>(null===i&&(i=pn().compileNgModule(Wn,`ng:///${e.name}/\u0275mod.js`,{type:e,bootstrap:Tr(t.bootstrap||at).map(Se),declarations:r.map(Se),imports:Tr(t.imports||at).map(Se).map(dm),exports:Tr(t.exports||at).map(Se).map(dm),schemas:t.schemas?Tr(t.schemas):null,id:t.id||null}),i.schemas||(i.schemas=[])),i)});let s=null;Object.defineProperty(e,bn,{get:()=>{if(null===s){const u=pn();s=u.compileFactory(Wn,`ng:///${e.name}/\u0275fac.js`,{name:e.name,type:e,deps:zo(e),target:u.FactoryTarget.NgModule,typeArgumentCount:0})}return s},configurable:!1});let a=null;Object.defineProperty(e,ct,{get:()=>{if(null===a){const u={name:e.name,type:e,providers:t.providers||at,imports:[(t.imports||at).map(Se),(t.exports||at).map(Se)]};a=pn().compileInjector(Wn,`ng:///${e.name}/\u0275inj.js`,u)}return a},configurable:!1})}let wa=new WeakMap,gc=new WeakMap;function qC(){wa=new WeakMap,gc=new WeakMap,wo.length=0}function QC(e,t){const n=Tr(t.declarations||at),r=bo(e);n.forEach(i=>{i.hasOwnProperty(nr)?mc(Ft(i),r):!i.hasOwnProperty(gr)&&!i.hasOwnProperty(mr)&&(i.ngSelectorScope=e)})}function mc(e,t){e.directiveDefs=()=>Array.from(t.compilation.directives).map(n=>n.hasOwnProperty(nr)?Ft(n):_n(n)).filter(n=>!!n),e.pipeDefs=()=>Array.from(t.compilation.pipes).map(n=>Zn(n)),e.schemas=t.schemas,e.tView=null}function bo(e){if(!yc(e))throw new Error(`${e.name} does not have a module def (\u0275mod property)`);const t=$t(e);if(null!==t.transitiveCompileScopes)return t.transitiveCompileScopes;const n={schemas:t.schemas||null,compilation:{directives:new Set,pipes:new Set},exported:{directives:new Set,pipes:new Set}};return ii(t.imports).forEach(r=>{const i=r;if(!yc(i))throw new Error(`Importing ${i.name} which does not have a \u0275mod property`);const s=bo(i);s.exported.directives.forEach(a=>n.compilation.directives.add(a)),s.exported.pipes.forEach(a=>n.compilation.pipes.add(a))}),ii(t.declarations).forEach(r=>{Zn(r)?n.compilation.pipes.add(r):n.compilation.directives.add(r)}),ii(t.exports).forEach(r=>{const i=r;if(yc(i)){const s=bo(i);s.exported.directives.forEach(a=>{n.compilation.directives.add(a),n.exported.directives.add(a)}),s.exported.pipes.forEach(a=>{n.compilation.pipes.add(a),n.exported.pipes.add(a)})}else Zn(i)?n.exported.pipes.add(i):n.exported.directives.add(i)}),t.transitiveCompileScopes=n,n}function dm(e){return function(e){return void 0!==e.ngModule}(e)?e.ngModule:e}function yc(e){return!!$t(e)}let _c=0;function fm(e,t){let n=null;(function(e,t){Md(t)&&(ls.set(e,t),Zs.add(e))})(e,t),pm(e,t),Object.defineProperty(e,nr,{get:()=>{if(null===n){const r=pn();if(Md(t)){const _=[`Component '${e.name}' is not resolved:`];throw t.templateUrl&&_.push(` - templateUrl: ${t.templateUrl}`),t.styleUrls&&t.styleUrls.length&&_.push(` - styleUrls: ${JSON.stringify(t.styleUrls)}`),_.push("Did you run and wait for 'resolveComponentResources()'?"),new Error(_.join("\n"))}const i=Ls;let s=t.preserveWhitespaces;void 0===s&&(s=null!==i&&void 0!==i.preserveWhitespaces&&i.preserveWhitespaces);let a=t.encapsulation;void 0===a&&(a=null!==i&&void 0!==i.defaultEncapsulation?i.defaultEncapsulation:O.Emulated);const u=t.templateUrl||`ng:///${e.name}/template.html`,c=Object.assign(Object.assign({},gm(e,t)),{typeSourceSpan:r.createParseSourceSpan("Component",e.name,u),template:t.template||"",preserveWhitespaces:s,styles:t.styles||at,animations:t.animations,directives:[],changeDetection:t.changeDetection,pipes:new Map,encapsulation:a,interpolation:t.interpolation,viewProviders:t.viewProviders||null});_c++;try{c.usesInheritance&&mm(e),n=r.compileComponent(Wn,u,c)}finally{_c--}if(0===_c&&im(),function(e){return void 0!==e.ngSelectorScope}(e)){const _=bo(e.ngSelectorScope);mc(n,_)}}return n},configurable:!1})}function vc(e,t){let n=null;pm(e,t||{}),Object.defineProperty(e,gr,{get:()=>{if(null===n){const r=hm(e,t||{});n=pn().compileDirective(Wn,r.sourceMapUrl,r.metadata)}return n},configurable:!1})}function hm(e,t){const n=e&&e.name,r=`ng:///${n}/\u0275dir.js`,i=pn(),s=gm(e,t);return s.typeSourceSpan=i.createParseSourceSpan("Directive",n,r),s.usesInheritance&&mm(e),{metadata:s,sourceMapUrl:r}}function pm(e,t){let n=null;Object.defineProperty(e,bn,{get:()=>{if(null===n){const r=hm(e,t),i=pn();n=i.compileFactory(Wn,`ng:///${e.name}/\u0275fac.js`,{name:r.metadata.name,type:r.metadata.type,typeArgumentCount:0,deps:zo(e),target:i.FactoryTarget.Directive})}return n},configurable:!1})}function XC(e){return Object.getPrototypeOf(e.prototype)===Object.prototype}function gm(e,t){const n=Wa(),r=n.ownPropMetadata(e);return{name:e.name,type:e,selector:void 0!==t.selector?t.selector:null,host:t.host||Tt,propMetadata:r,inputs:t.inputs||at,outputs:t.outputs||at,queries:ym(e,r,_m),lifecycle:{usesOnChanges:n.hasLifecycleHook(e,"ngOnChanges")},typeSourceSpan:null,usesInheritance:!XC(e),exportAs:tw(t.exportAs),providers:t.providers||null,viewQueries:ym(e,r,vm)}}function mm(e){const t=Object.prototype;let n=Object.getPrototypeOf(e.prototype).constructor;for(;n&&n!==t;)!_n(n)&&!Ft(n)&&rw(n)&&vc(n,null),n=Object.getPrototypeOf(n)}function JC(e){return"string"==typeof e?Em(e):Se(e)}function ew(e,t){return{propertyName:e,predicate:JC(t.selector),descendants:t.descendants,first:t.first,read:t.read?t.read:null,static:!!t.static,emitDistinctChangesOnly:!!t.emitDistinctChangesOnly}}function ym(e,t,n){const r=[];for(const i in t)if(t.hasOwnProperty(i)){const s=t[i];s.forEach(a=>{if(n(a)){if(!a.selector)throw new Error(`Can't construct a query for the property "${i}" of "${Et(e)}" since the query selector wasn't defined.`);if(s.some(Dm))throw new Error("Cannot combine @Input decorators with query decorators");r.push(ew(i,a))}})}return r}function tw(e){return void 0===e?null:Em(e)}function _m(e){const t=e.ngMetadataName;return"ContentChild"===t||"ContentChildren"===t}function vm(e){const t=e.ngMetadataName;return"ViewChild"===t||"ViewChildren"===t}function Dm(e){return"Input"===e.ngMetadataName}function Em(e){return e.split(",").map(t=>t.trim())}const nw=["ngOnChanges","ngOnInit","ngOnDestroy","ngDoCheck","ngAfterViewInit","ngAfterViewChecked","ngAfterContentInit","ngAfterContentChecked"];function rw(e){const t=Wa();if(nw.some(r=>t.hasLifecycleHook(e,r)))return!0;const n=t.propMetadata(e);for(const r in n){const i=n[r];for(let s=0;s<i.length;s++){const a=i[s],u=a.ngMetadataName;if(Dm(a)||_m(a)||vm(a)||"Output"===u||"HostBinding"===u||"HostListener"===u)return!0}}return!1}function Cm(e,t){let n=null,r=null;Object.defineProperty(e,bn,{get:()=>{if(null===r){const i=wm(e,t),s=pn();r=s.compileFactory(Wn,`ng:///${i.name}/\u0275fac.js`,{name:i.name,type:i.type,typeArgumentCount:0,deps:zo(e),target:s.FactoryTarget.Pipe})}return r},configurable:!1}),Object.defineProperty(e,mr,{get:()=>{if(null===n){const i=wm(e,t);n=pn().compilePipe(Wn,`ng:///${i.name}/\u0275pipe.js`,i)}return n},configurable:!1})}function wm(e,t){return{type:e,name:e.name,pipeName:t.name,pure:void 0===t.pure||t.pure}}const bm=ss("Directive",(e={})=>e,void 0,void 0,(e,t)=>vc(e,t)),iw=ss("Component",(e={})=>Object.assign({changeDetection:xt.Default},e),bm,void 0,(e,t)=>fm(e,t)),sw=ss("Pipe",e=>Object.assign({pure:!0},e),void 0,void 0,(e,t)=>Cm(e,t)),ow=Pi("Input",e=>({bindingPropertyName:e})),aw=Pi("Output",e=>({bindingPropertyName:e})),lw=Pi("HostBinding",e=>({hostPropertyName:e})),uw=Pi("HostListener",(e,t)=>({eventName:e,args:t})),cw=ss("NgModule",e=>e,void 0,void 0,(e,t)=>om(e,t));function ba(...e){}const Dc=new Xt("Application Initializer");let Vs=(()=>{class e{constructor(n){this.appInits=n,this.resolve=ba,this.reject=ba,this.initialized=!1,this.done=!1,this.donePromise=new Promise((r,i)=>{this.resolve=r,this.reject=i})}runInitializers(){if(this.initialized)return;const n=[],r=()=>{this.done=!0,this.resolve()};if(this.appInits)for(let i=0;i<this.appInits.length;i++){const s=this.appInits[i]();if(hu(s))n.push(s);else if(Qh(s)){const a=new Promise((u,c)=>{s.subscribe({complete:u,error:c})});n.push(a)}}Promise.all(n).then(()=>{r()}).catch(i=>{this.reject(i)}),0===n.length&&r(),this.initialized=!0}}return e.\u0275fac=function(n){return new(n||e)(Cn(Dc,8))},e.\u0275prov=Te({token:e,factory:e.\u0275fac}),e})();const Mm=new Xt("AppId"),Am={provide:Mm,useFactory:function(){return`${Ec()}${Ec()}${Ec()}`},deps:[]};function Ec(){return String.fromCharCode(97+Math.floor(25*Math.random()))}const Im=new Xt("Platform Initializer"),Sm=new Xt("Platform ID"),Tm=new Xt("appBootstrapListener"),fw=new Xt("Application Packages Root URL");let Fm=(()=>{class e{log(n){console.log(n)}warn(n){console.warn(n)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Te({token:e,factory:e.\u0275fac}),e})();const Ma=new Xt("LocaleId"),Nm=new Xt("DefaultCurrencyCode"),hw=new Xt("Translations"),pw=new Xt("TranslationsFormat");var ci=(()=>((ci=ci||{})[ci.Error=0]="Error",ci[ci.Warning=1]="Warning",ci[ci.Ignore=2]="Ignore",ci))();class Pm{constructor(t,n){this.ngModuleFactory=t,this.componentFactories=n}}let Cc=(()=>{class e{compileModuleSync(n){return new va(n)}compileModuleAsync(n){return Promise.resolve(this.compileModuleSync(n))}compileModuleAndAllComponentsSync(n){const r=this.compileModuleSync(n),s=ii($t(n).declarations).reduce((a,u)=>{const c=Ft(u);return c&&a.push(new _a(c)),a},[]);return new Pm(r,s)}compileModuleAndAllComponentsAsync(n){return Promise.resolve(this.compileModuleAndAllComponentsSync(n))}clearCache(){}clearCacheFor(n){}getModuleId(n){}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Te({token:e,factory:e.\u0275fac}),e})();const Om=new Xt("compilerOptions");class gw{}const mw=(()=>Promise.resolve(0))();function wc(e){"undefined"==typeof Zone?mw.then(()=>{e&&e.apply(null,null)}):Zone.current.scheduleMicroTask("scheduleMicrotask",e)}class cr{constructor({enableLongStackTrace:t=!1,shouldCoalesceEventChangeDetection:n=!1,shouldCoalesceRunChangeDetection:r=!1}){if(this.hasPendingMacrotasks=!1,this.hasPendingMicrotasks=!1,this.isStable=!0,this.onUnstable=new ui(!1),this.onMicrotaskEmpty=new ui(!1),this.onStable=new ui(!1),this.onError=new ui(!1),"undefined"==typeof Zone)throw new Error("In this configuration Angular requires Zone.js");Zone.assertZonePatched();const i=this;i._nesting=0,i._outer=i._inner=Zone.current,Zone.TaskTrackingZoneSpec&&(i._inner=i._inner.fork(new Zone.TaskTrackingZoneSpec)),t&&Zone.longStackTraceZoneSpec&&(i._inner=i._inner.fork(Zone.longStackTraceZoneSpec)),i.shouldCoalesceEventChangeDetection=!r&&n,i.shouldCoalesceRunChangeDetection=r,i.lastRequestAnimationFrameId=-1,i.nativeRequestAnimationFrame=function(){let e=be.requestAnimationFrame,t=be.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(be,()=>{e.fakeTopEventTask||(e.fakeTopEventTask=Zone.root.scheduleEventTask("fakeTopEventTask",()=>{e.lastRequestAnimationFrameId=-1,Mc(e),e.isCheckStableRunning=!0,bc(e),e.isCheckStableRunning=!1},void 0,()=>{},()=>{})),e.fakeTopEventTask.invoke()}),Mc(e))}(e)};e._inner=e._inner.fork({name:"angular",properties:{isAngularZone:!0},onInvokeTask:(n,r,i,s,a,u)=>{try{return Rm(e),n.invokeTask(i,s,a,u)}finally{(e.shouldCoalesceEventChangeDetection&&"eventTask"===s.type||e.shouldCoalesceRunChangeDetection)&&t(),xm(e)}},onInvoke:(n,r,i,s,a,u,c)=>{try{return Rm(e),n.invoke(i,s,a,u,c)}finally{e.shouldCoalesceRunChangeDetection&&t(),xm(e)}},onHasTask:(n,r,i,s)=>{n.hasTask(i,s),r===i&&("microTask"==s.change?(e._hasPendingMicrotasks=s.microTask,Mc(e),bc(e)):"macroTask"==s.change&&(e.hasPendingMacrotasks=s.macroTask))},onHandleError:(n,r,i,s)=>(n.handleError(i,s),e.runOutsideAngular(()=>e.onError.emit(s)),!1)})}(i)}static isInAngularZone(){return!0===Zone.current.get("isAngularZone")}static assertInAngularZone(){if(!cr.isInAngularZone())throw new Error("Expected to be in Angular Zone, but it is not!")}static assertNotInAngularZone(){if(cr.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,i){const s=this._inner,a=s.scheduleEventTask("NgZoneEvent: "+i,t,_w,ba,ba);try{return s.runTask(a,n,r)}finally{s.cancelTask(a)}}runGuarded(t,n,r){return this._inner.runGuarded(t,n,r)}runOutsideAngular(t){return this._outer.run(t)}}const _w={};function bc(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 Mc(e){e.hasPendingMicrotasks=!!(e._hasPendingMicrotasks||(e.shouldCoalesceEventChangeDetection||e.shouldCoalesceRunChangeDetection)&&-1!==e.lastRequestAnimationFrameId)}function Rm(e){e._nesting++,e.isStable&&(e.isStable=!1,e.onUnstable.emit(null))}function xm(e){e._nesting--,bc(e)}class Lm{constructor(){this.hasPendingMicrotasks=!1,this.hasPendingMacrotasks=!1,this.isStable=!0,this.onUnstable=new ui,this.onMicrotaskEmpty=new ui,this.onStable=new ui,this.onError=new ui}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,i){return t.apply(n,r)}}let Vm=(()=>{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:()=>{cr.assertNotInAngularZone(),wc(()=>{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())wc(()=>{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,i){let s=-1;r&&r>0&&(s=setTimeout(()=>{this._callbacks=this._callbacks.filter(a=>a.timeoutId!==s),n(this._didWork,this.getPendingTasks())},r)),this._callbacks.push({doneCb:n,timeoutId:s,updateCb:i})}whenStable(n,r,i){if(i&&!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,i),this._runCallbacksIfReady()}getPendingRequestCount(){return this._pendingCount}findProviders(n,r,i){return[]}}return e.\u0275fac=function(n){return new(n||e)(Cn(cr))},e.\u0275prov=Te({token:e,factory:e.\u0275fac}),e})(),Ac=(()=>{class e{constructor(){this._applications=new Map,Ic.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 Ic.findTestabilityInTree(this,n,r)}}return e.\u0275fac=function(n){return new(n||e)},e.\u0275prov=Te({token:e,factory:e.\u0275fac}),e})();class Ew{addToWindow(t){}findTestabilityInTree(t,n,r){return null}}function Cw(e){Ic=e}let Kr,Ic=new Ew;function km(e,t,n){const r=new va(n);return Promise.resolve(r)}function Bm(e){return e.isBoundToModule}const Sc=new Xt("AllowMultipleToken");class bw{constructor(t,n){this.name=t,this.token=n}}function jm(e){if(Kr&&!Kr.destroyed&&!Kr.injector.get(Sc,!1))throw new vt("400","");Kr=e.get(Fc);const t=e.get(Im,null);return t&&t.forEach(n=>n()),Kr}function Hm(e,t,n=[]){const r=`Platform: ${t}`,i=new Xt(r);return(s=[])=>{let a=Tc();if(!a||a.injector.get(Sc,!1))if(e)e(n.concat(s).concat({provide:i,useValue:!0}));else{const u=n.concat(s).concat({provide:i,useValue:!0},{provide:kl,useValue:"platform"});jm(ur.create({providers:u,name:r}))}return Um()}}function Um(e){const t=Tc();if(!t)throw new vt("401","");return t}function Mw(){Kr&&!Kr.destroyed&&Kr.destroy()}function Tc(){return Kr&&!Kr.destroyed?Kr:null}let Fc=(()=>{class e{constructor(n){this._injector=n,this._modules=[],this._destroyListeners=[],this._destroyed=!1}bootstrapModuleFactory(n,r){const u=function(e,t){let n;return n="noop"===e?new Lm:("zone.js"===e?void 0:e)||new cr({enableLongStackTrace:!1,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}),c=[{provide:cr,useValue:u}];return u.run(()=>{const _=ur.create({providers:c,parent:this.injector,name:n.moduleType.name}),E=n.create(_),I=E.injector.get(to,null);if(!I)throw new vt("402","");return u.runOutsideAngular(()=>{const F=u.onError.subscribe({next:k=>{I.handleError(k)}});E.onDestroy(()=>{Nc(this._modules,E),F.unsubscribe()})}),function(e,t,n){try{const r=n();return hu(r)?r.catch(i=>{throw t.runOutsideAngular(()=>e.handleError(i)),i}):r}catch(r){throw t.runOutsideAngular(()=>e.handleError(r)),r}}(I,u,()=>{const F=E.injector.get(Vs);return F.runInitializers(),F.donePromise.then(()=>(Vp(E.injector.get(Ma,ho)||ho),this._moduleDoBootstrap(E),E))})})}bootstrapModule(n,r=[]){const i=$m({},r);return km(0,0,n).then(s=>this.bootstrapModuleFactory(s,i))}_moduleDoBootstrap(n){const r=n.injector.get(Mo);if(n._bootstrapComponents.length>0)n._bootstrapComponents.forEach(i=>r.bootstrap(i));else{if(!n.instance.ngDoBootstrap)throw new vt("403","");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 vt("404","");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)(Cn(ur))},e.\u0275prov=Te({token:e,factory:e.\u0275fac}),e})();function $m(e,t){return Array.isArray(t)?t.reduce($m,e):Object.assign(Object.assign({},e),t)}let Mo=(()=>{class e{constructor(n,r,i,s,a){this._zone=n,this._injector=r,this._exceptionHandler=i,this._componentFactoryResolver=s,this._initStatus=a,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 u=new p.y(_=>{this._stable=this._zone.isStable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks,this._zone.runOutsideAngular(()=>{_.next(this._stable),_.complete()})}),c=new p.y(_=>{let E;this._zone.runOutsideAngular(()=>{E=this._zone.onStable.subscribe(()=>{cr.assertNotInAngularZone(),wc(()=>{!this._stable&&!this._zone.hasPendingMacrotasks&&!this._zone.hasPendingMicrotasks&&(this._stable=!0,_.next(!0))})})});const I=this._zone.onUnstable.subscribe(()=>{cr.assertInAngularZone(),this._stable&&(this._stable=!1,this._zone.runOutsideAngular(()=>{_.next(!1)}))});return()=>{E.unsubscribe(),I.unsubscribe()}});this.isStable=ot(u,c.pipe(function(e={}){const{connector:t=(()=>new Ee),resetOnError:n=!0,resetOnComplete:r=!0,resetOnRefCountZero:i=!0}=e;return s=>{let a=null,u=null,c=null,_=0,E=!1,I=!1;const F=()=>{null==u||u.unsubscribe(),u=null},k=()=>{F(),a=c=null,E=I=!1},Y=()=>{const ue=a;k(),null==ue||ue.unsubscribe()};return(0,fe.e)((ue,De)=>{_++,!I&&!E&&F();const Ae=c=null!=c?c:t();De.add(()=>{_--,0===_&&!I&&!E&&(u=U(Y,i))}),Ae.subscribe(De),a||(a=new He.Hp({next:se=>Ae.next(se),error:se=>{I=!0,F(),u=U(k,n,se),Ae.error(se)},complete:()=>{E=!0,F(),u=U(k,r),Ae.complete()}}),(0,we.D)(ue).subscribe(a))})(s)}}()))}bootstrap(n,r){if(!this._initStatus.done)throw new vt("405","");let i;i=n instanceof ga?n:this._componentFactoryResolver.resolveComponentFactory(n),this.componentTypes.push(i.componentType);const s=Bm(i)?void 0:this._injector.get(Rs),u=i.create(ur.NULL,[],r||i.selector,s),c=u.location.nativeElement,_=u.injector.get(Vm,null),E=_&&u.injector.get(Ac);return _&&E&&E.registerApplication(c,_),u.onDestroy(()=>{this.detachView(u.hostView),Nc(this.components,u),E&&E.unregisterApplication(c)}),this._loadComponent(u),u}tick(){if(this._runningTick)throw new vt("101","");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;Nc(this._views,r),r.detachFromAppRef()}_loadComponent(n){this.attachView(n.hostView),this.tick(),this.components.push(n),this._injector.get(Tm,[]).concat(this._bootstrapListeners).forEach(i=>i(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)(Cn(cr),Cn(ur),Cn(to),Cn(_o),Cn(Vs))},e.\u0275prov=Te({token:e,factory:e.\u0275fac}),e})();function Nc(e,t){const n=e.indexOf(t);n>-1&&e.splice(n,1)}let zm=!0,Wm=!1;function Tw(){return Wm=!0,zm}function Fw(){if(Wm)throw new Error("Cannot enable prod mode after platform setup.");zm=!1}function Nw(e){const t=wg(e);if(!t)throw Km(e);return new va(t)}function Pw(e){const t=wg(e);if(!t)throw Km(e);return t}function Km(e){return new Error(`No module with ID ${e} loaded`)}let qm=(()=>{class e{}return e.__NG_ELEMENT_ID__=Qm,e})();function Qm(e){return function(e,t,n){if(br(e)&&!n){const r=B(e.index,t);return new Os(r,r)}return 47&e.type?new Os(t[16],t):null}(It(),re(),16==(16&e))}class Zm extends qm{}class Rw extends Zm{}class xw{constructor(t,n){this.name=t,this.callback=n}}function Lw(e){return e.map(t=>t.nativeElement)}class Pc{constructor(t){this.nativeNode=t}get parent(){const t=this.nativeNode.parentNode;return t?new Ao(t):null}get injector(){return _h(this.nativeNode)}get componentInstance(){const t=this.nativeNode;return t&&(Ul(t)||mh(t))}get context(){return Ul(this.nativeNode)||gh(this.nativeNode)}get listeners(){return Dh(this.nativeNode).filter(t=>"dom"===t.type)}get references(){return function(e){const t=Vn(e);return null===t?{}:(void 0===t.localRefs&&(t.localRefs=function(e,t){const n=e[1].data[t];if(n&&n.localNames){const r={};let i=n.index+1;for(let s=0;s<n.localNames.length;s+=2)r[n.localNames[s]]=e[i],i++;return r}return null}(t.lView,t.nodeIndex)),t.localRefs||{})}(this.nativeNode)}get providerTokens(){return function(e){const t=Vn(e);if(null===t)return[];const r=t.lView[1],i=r.data[t.nodeIndex],s=[],u=i.directiveEnd;for(let c=1048575&i.providerIndexes;c<u;c++){let _=r.data[c];dD(_)&&(_=_.type),s.push(_)}return s}(this.nativeNode)}}class Ao extends Pc{constructor(t){super(t)}get nativeElement(){return this.nativeNode.nodeType==Node.ELEMENT_NODE?this.nativeNode:null}get name(){const t=Vn(this.nativeNode);return null!==t?t.lView[1].data[t.nodeIndex].value:this.nativeNode.nodeName}get properties(){const t=Vn(this.nativeNode);if(null===t)return{};const n=t.lView,r=n[1].data,i=r[t.nodeIndex],s={};return function(e,t){if(e){let n=Object.getPrototypeOf(e);const r=Node.prototype;for(;null!==n&&n!==r;){const i=Object.getOwnPropertyDescriptors(n);for(let s in i)if(!s.startsWith("__")&&!s.startsWith("on")){const a=e[s];kw(a)&&(t[s]=a)}n=Object.getPrototypeOf(n)}}}(this.nativeElement,s),function(e,t,n,r){let i=t.propertyBindings;if(null!==i)for(let s=0;s<i.length;s++){const a=i[s],c=r[a].split("\ufffd"),_=c[0];if(c.length>1){let E=c[1];for(let I=1;I<c.length-1;I++)E+=Ie(n[a+I-1])+c[I+1];e[_]=E}else e[_]=n[a]}}(s,i,n,r),s}get attributes(){const t={},n=this.nativeElement;if(!n)return t;const r=Vn(n);if(null===r)return{};const s=r.lView[1].data[r.nodeIndex].attrs,a=[];if(s){let c=0;for(;c<s.length;){const _=s[c];if("string"!=typeof _)break;t[_]=s[c+1],a.push(_.toLowerCase()),c+=2}}const u=n.attributes;for(let c=0;c<u.length;c++){const _=u[c],E=_.name.toLowerCase();-1===a.indexOf(E)&&(t[E]=_.value)}return t}get styles(){return this.nativeElement&&this.nativeElement.style?this.nativeElement.style:{}}get classes(){const t={},r=this.nativeElement.className;return("string"!=typeof r?r.baseVal.split(" "):r.split(" ")).forEach(s=>t[s]=!0),t}get childNodes(){const t=this.nativeNode.childNodes,n=[];for(let r=0;r<t.length;r++)n.push(Vc(t[r]));return n}get children(){const t=this.nativeElement;if(!t)return[];const n=t.children,r=[];for(let i=0;i<n.length;i++)r.push(Vc(n[i]));return r}query(t){return this.queryAll(t)[0]||null}queryAll(t){const n=[];return Ym(this,t,n,!0),n}queryAllNodes(t){const n=[];return Ym(this,t,n,!1),n}triggerEventHandler(t,n){const r=this.nativeNode,i=[];this.listeners.forEach(s=>{if(s.name===t){const a=s.callback;a.call(r,n),i.push(a)}}),"function"==typeof r.eventListeners&&r.eventListeners(t).forEach(s=>{if(-1!==s.toString().indexOf("__ngUnwrap__")){const a=s("__ngUnwrap__");return-1===i.indexOf(a)&&a.call(r,n)}})}}function kw(e){return"string"==typeof e||"boolean"==typeof e||"number"==typeof e||null===e}function Ym(e,t,n,r){const i=Vn(e.nativeNode);null!==i?Wi(i.lView[1].data[i.nodeIndex],i.lView,t,n,r,e.nativeNode):Rc(e.nativeNode,t,n,r)}function Wi(e,t,n,r,i,s){const a=function(e,t){const n=null===e?-1:e.index;return-1!==n?v(t[n]):null}(e,t);if(11&e.type){if(Oc(a,n,r,i,s),br(e)){const c=B(e.index,t);c&&c[1].firstChild&&Wi(c[1].firstChild,c,n,r,i,s)}else e.child&&Wi(e.child,t,n,r,i,s),a&&Rc(a,n,r,i);const u=t[e.index];In(u)&&Xm(u,n,r,i,s)}else if(4&e.type){const u=t[e.index];Oc(u[7],n,r,i,s),Xm(u,n,r,i,s)}else if(16&e.type){const u=t[16],_=u[6].projection[e.projection];if(Array.isArray(_))for(let E of _)Oc(E,n,r,i,s);else if(_){const E=u[3];Wi(E[1].data[_.index],E,n,r,i,s)}}else e.child&&Wi(e.child,t,n,r,i,s);if(s!==a){const u=4&e.flags?e.projectionNext:e.next;u&&Wi(u,t,n,r,i,s)}}function Xm(e,t,n,r,i){for(let s=10;s<e.length;s++){const a=e[s],u=a[1].firstChild;u&&Wi(u,a,t,n,r,i)}}function Oc(e,t,n,r,i){if(i!==e){const s=Aa(e);if(!s)return;(r&&s instanceof Ao&&t(s)&&-1===n.indexOf(s)||!r&&t(s)&&-1===n.indexOf(s))&&n.push(s)}}function Rc(e,t,n,r){const i=e.childNodes,s=i.length;for(let a=0;a<s;a++){const u=i[a],c=Aa(u);c&&((r&&c instanceof Ao&&t(c)&&-1===n.indexOf(c)||!r&&t(c)&&-1===n.indexOf(c))&&n.push(c),Rc(u,t,n,r))}}const Lc="__ng_debug__";function Vc(e){return e instanceof Node?(e.hasOwnProperty(Lc)||(e[Lc]=e.nodeType==Node.ELEMENT_NODE?new Ao(e):new Pc(e)),e[Lc]):null}const Aa=Vc,Hw=function(e){return null},Uw=Pc,$w=Ao;class Jm{constructor(){}supports(t){return ao(t)}create(t){return new ey(t)}}const Gw=(e,t)=>t;class ey{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||Gw}forEachItem(t){let n;for(n=this._itHead;null!==n;n=n._next)t(n)}forEachOperation(t){let n=this._itHead,r=this._removalsHead,i=0,s=null;for(;n||r;){const a=!r||n&&n.currentIndex<ny(r,i,s)?n:r,u=ny(a,i,s),c=a.currentIndex;if(a===r)i--,r=r._nextRemoved;else if(n=n._next,null==a.previousIndex)i++;else{s||(s=[]);const _=u-i,E=c-i;if(_!=E){for(let F=0;F<_;F++){const k=F<s.length?s[F]:s[F]=0,Y=k+F;E<=Y&&Y<_&&(s[F]=k+1)}s[a.previousIndex]=E-_}}u!==c&&t(a,u,c)}}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=[]),!ao(t))throw new Error(`Error trying to diff '${z(t)}'. Only arrays and iterables are allowed`);return this.check(t)?this:null}onDestroy(){}check(t){this._reset();let i,s,a,n=this._itHead,r=!1;if(Array.isArray(t)){this.length=t.length;for(let u=0;u<this.length;u++)s=t[u],a=this._trackByFn(u,s),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,s,a,u)),Object.is(n.item,s)||this._addIdentityChange(n,s)):(n=this._mismatch(n,s,a,u),r=!0),n=n._next}else i=0,function(e,t){if(Array.isArray(e))for(let n=0;n<e.length;n++)t(e[n]);else{const n=e[_s()]();let r;for(;!(r=n.next()).done;)t(r.value)}}(t,u=>{a=this._trackByFn(i,u),null!==n&&Object.is(n.trackById,a)?(r&&(n=this._verifyReinsertion(n,u,a,i)),Object.is(n.item,u)||this._addIdentityChange(n,u)):(n=this._mismatch(n,u,a,i),r=!0),n=n._next,i++}),this.length=i;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,i){let s;return null===t?s=this._itTail:(s=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,s,i)):null!==(t=null===this._linkedRecords?null:this._linkedRecords.get(r,i))?(Object.is(t.item,n)||this._addIdentityChange(t,n),this._moveAfter(t,s,i)):t=this._addAfter(new zw(n,r),s,i),t}_verifyReinsertion(t,n,r,i){let s=null===this._unlinkedRecords?null:this._unlinkedRecords.get(r,null);return null!==s?t=this._reinsertAfter(s,t._prev,i):t.currentIndex!=i&&(t.currentIndex=i,this._addToMoves(t,i)),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 i=t._prevRemoved,s=t._nextRemoved;return null===i?this._removalsHead=s:i._nextRemoved=s,null===s?this._removalsTail=i:s._prevRemoved=i,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 i=null===n?this._itHead:n._next;return t._next=i,t._prev=n,null===i?this._itTail=t:i._prev=t,null===n?this._itHead=t:n._next=t,null===this._linkedRecords&&(this._linkedRecords=new ty),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 ty),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 zw{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 Ww{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 ty{constructor(){this.map=new Map}put(t){const n=t.trackById;let r=this.map.get(n);r||(r=new Ww,this.map.set(n,r)),r.add(t)}get(t,n){const i=this.map.get(t);return i?i.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 ny(e,t,n){const r=e.previousIndex;if(null===r)return r;let i=0;return n&&r<n.length&&(i=n[r]),r+t+i}class ry{constructor(){}supports(t){return t instanceof Map||Kl(t)}create(){return new Kw}}class Kw{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||Kl(t)))throw new Error(`Error trying to diff '${z(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,i)=>{if(n&&n.key===i)this._maybeAddToChanges(n,r),this._appendAfter=n,n=n._next;else{const s=this._getOrCreateRecordForKey(i,r);n=this._insertBeforeOrAppend(n,s)}}),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 i=this._records.get(t);this._maybeAddToChanges(i,n);const s=i._prev,a=i._next;return s&&(s._next=a),a&&(a._prev=s),i._next=null,i._prev=null,i}const r=new qw(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 qw{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 iy(){return new Ia([new Jm])}let Ia=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(null!=r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||iy()),deps:[[e,new Hi,new ji]]}}find(n){const r=this.factories.find(i=>i.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=Te({token:e,providedIn:"root",factory:iy}),e})();function sy(){return new Sa([new ry])}let Sa=(()=>{class e{constructor(n){this.factories=n}static create(n,r){if(r){const i=r.factories.slice();n=n.concat(i)}return new e(n)}static extend(n){return{provide:e,useFactory:r=>e.create(n,r||sy()),deps:[[e,new Hi,new ji]]}}find(n){const r=this.factories.find(i=>i.supports(n));if(r)return r;throw new Error(`Cannot find a differ supporting object '${n}'`)}}return e.\u0275prov=Te({token:e,providedIn:"root",factory:sy}),e})();const Zw=[new ry],oy=new Ia([new Jm]),ay=new Sa(Zw),Xw=Hm(null,"core",[{provide:Sm,useValue:"unknown"},{provide:Fc,deps:[ur]},{provide:Ac,deps:[]},{provide:Fm,deps:[]}]),rb=[{provide:Mo,useClass:Mo,deps:[cr,ur,to,_o,Vs]},{provide:bC,deps:[cr],useFactory:function(e){let t=[];return e.onStable.subscribe(()=>{for(;t.length;)t.pop()()}),function(n){t.push(n)}}},{provide:Vs,useClass:Vs,deps:[[new ji,Dc]]},{provide:Cc,useClass:Cc,deps:[]},Am,{provide:Ia,useFactory:function(){return oy},deps:[]},{provide:Sa,useFactory:function(){return ay},deps:[]},{provide:Ma,useFactory:function(e){return e||"undefined"!=typeof $localize&&$localize.locale||ho},deps:[[new Qs(Ma),new ji,new Hi]]},{provide:Nm,useValue:"USD"}];let sb=(()=>{class e{constructor(n){}}return e.\u0275fac=function(n){return new(n||e)(Cn(Mo))},e.\u0275mod=Un({type:e}),e.\u0275inj=Tn({providers:rb}),e})();const ob=!0;function ab(e){return pn().compileDirectiveDeclaration(Wn,`ng:///${e.type.name}/\u0275fac.js`,e)}function lb(e){var t,n;vg(e.type,e.decorators,null!==(t=e.ctorParameters)&&void 0!==t?t:null,null!==(n=e.propDecorators)&&void 0!==n?n:null)}function ub(e){return pn().compileComponentDeclaration(Wn,`ng:///${e.type.name}/\u0275cmp.js`,e)}function cb(e){return pn(function(e){switch(e){case hn.Directive:return"directive";case hn.Component:return"component";case hn.Injectable:return"injectable";case hn.Pipe:return"pipe";case hn.NgModule:;}}(e.target)).compileFactoryDeclaration(Wn,`ng:///${e.type.name}/\u0275fac.js`,e)}function fb(e){return pn().compileInjectableDeclaration(Wn,`ng:///${e.type.name}/\u0275prov.js`,e)}function hb(e){return pn().compileInjectorDeclaration(Wn,`ng:///${e.type.name}/\u0275inj.js`,e)}function pb(e){return pn().compileNgModuleDeclaration(Wn,`ng:///${e.type.name}/\u0275mod.js`,e)}function gb(e){return pn().compilePipeDeclaration(Wn,`ng:///${e.type.name}/\u0275pipe.js`,e)}},562:(We,ce,L)=>{"use strict";L.r(ce),L.d(ce,{AbstractControl:()=>Vr,AbstractControlDirective:()=>nt,AbstractFormGroupDirective:()=>Yr,COMPOSITION_BUFFER_MODE:()=>H,CheckboxControlValueAccessor:()=>ot,CheckboxRequiredValidator:()=>Br,ControlContainer:()=>Ye,DefaultValueAccessor:()=>U,EmailValidator:()=>Si,FormArray:()=>_n,FormArrayName:()=>Cr,FormBuilder:()=>tt,FormControl:()=>On,FormControlDirective:()=>Ot,FormControlName:()=>wr,FormGroup:()=>Ft,FormGroupDirective:()=>xn,FormGroupName:()=>ft,FormsModule:()=>wt,MaxLengthValidator:()=>b,MaxValidator:()=>gi,MinLengthValidator:()=>C,MinValidator:()=>Ii,NG_ASYNC_VALIDATORS:()=>G,NG_VALIDATORS:()=>z,NG_VALUE_ACCESSOR:()=>$,NgControl:()=>jt,NgControlStatus:()=>Tn,NgControlStatusGroup:()=>Ht,NgForm:()=>$n,NgModel:()=>ht,NgModelGroup:()=>rn,NgSelectOption:()=>kr,NumberValueAccessor:()=>Nt,PatternValidator:()=>q,RadioControlValueAccessor:()=>ze,RangeValueAccessor:()=>Rn,ReactiveFormsModule:()=>et,RequiredValidator:()=>mi,SelectControlValueAccessor:()=>Ar,SelectMultipleControlValueAccessor:()=>ti,VERSION:()=>Zt,Validators:()=>rt,\u0275InternalFormsSharedModule:()=>pt,\u0275NgNoValidate:()=>Lt,\u0275NgSelectMultipleOption:()=>Mi});var p=L(999),N=L(48),ae=L(818);const{isArray:he}=Array,{getPrototypeOf:pe,prototype:Q,keys:Ee}=Object;var ie=L(955),fe=L(635),qe=L(499),Ke=L(969);const{isArray:me}=Array;function ne(y,h){return y.reduce((f,w,Z)=>(f[w]=h[Z],f),{})}var X=L(985);let Ce=(()=>{class y{constructor(f,w){this._renderer=f,this._elementRef=w,this.onChange=Z=>{},this.onTouched=()=>{}}setProperty(f,w){this._renderer.setProperty(this._elementRef.nativeElement,f,w)}registerOnTouched(f){this.onTouched=f}registerOnChange(f){this.onChange=f}setDisabledState(f){this.setProperty("disabled",f)}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(p.Renderer2),p.\u0275\u0275directiveInject(p.ElementRef))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y}),y})(),W=(()=>{class y extends Ce{}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,features:[p.\u0275\u0275InheritDefinitionFeature]}),y})();const $=new p.InjectionToken("NgValueAccessor"),we={provide:$,useExisting:(0,p.forwardRef)(()=>ot),multi:!0};let ot=(()=>{class y extends W{writeValue(f){this.setProperty("checked",f)}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["input","type","checkbox","formControlName",""],["input","type","checkbox","formControl",""],["input","type","checkbox","ngModel",""]],hostBindings:function(f,w){1&f&&p.\u0275\u0275listener("change",function(ye){return w.onChange(ye.target.checked)})("blur",function(){return w.onTouched()})},features:[p.\u0275\u0275ProvidersFeature([we]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const Re={provide:$,useExisting:(0,p.forwardRef)(()=>U),multi:!0},H=new p.InjectionToken("CompositionEventMode");let U=(()=>{class y extends Ce{constructor(f,w,Z){super(f,w),this._compositionMode=Z,this._composing=!1,null==this._compositionMode&&(this._compositionMode=!function(){const y=(0,N.\u0275getDOM)()?(0,N.\u0275getDOM)().getUserAgent():"";return/android (\d+)/.test(y.toLowerCase())}())}writeValue(f){this.setProperty("value",null==f?"":f)}_handleInput(f){(!this._compositionMode||this._compositionMode&&!this._composing)&&this.onChange(f)}_compositionStart(){this._composing=!0}_compositionEnd(f){this._composing=!1,this._compositionMode&&this.onChange(f)}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(p.Renderer2),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(H,8))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["input","formControlName","",3,"type","checkbox"],["textarea","formControlName",""],["input","formControl","",3,"type","checkbox"],["textarea","formControl",""],["input","ngModel","",3,"type","checkbox"],["textarea","ngModel",""],["","ngDefaultControl",""]],hostBindings:function(f,w){1&f&&p.\u0275\u0275listener("input",function(ye){return w._handleInput(ye.target.value)})("blur",function(){return w.onTouched()})("compositionstart",function(){return w._compositionStart()})("compositionend",function(ye){return w._compositionEnd(ye.target.value)})},features:[p.\u0275\u0275ProvidersFeature([Re]),p.\u0275\u0275InheritDefinitionFeature]}),y})();function j(y){return null==y||0===y.length}function K(y){return null!=y&&"number"==typeof y.length}const z=new p.InjectionToken("NgValidators"),G=new p.InjectionToken("NgAsyncValidators"),Ne=/^(?=.{1,254}$)(?=.{1,64}@)[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+(?:\.[a-zA-Z0-9!#$%&'*+/=?^_`{|}~-]+)*@[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)*$/;class rt{static min(h){return Se(h)}static max(h){return $e(h)}static required(h){return St(h)}static requiredTrue(h){return vt(h)}static email(h){return Dt(h)}static minLength(h){return on(h)}static maxLength(h){return Ie(h)}static pattern(h){return Et(h)}static nullValidator(h){return null}static compose(h){return Jn(h)}static composeAsync(h){return qr(h)}}function Se(y){return h=>{if(j(h.value)||j(y))return null;const f=parseFloat(h.value);return!isNaN(f)&&f<y?{min:{min:y,actual:h.value}}:null}}function $e(y){return h=>{if(j(h.value)||j(y))return null;const f=parseFloat(h.value);return!isNaN(f)&&f>y?{max:{max:y,actual:h.value}}:null}}function St(y){return j(y.value)?{required:!0}:null}function vt(y){return!0===y.value?null:{required:!0}}function Dt(y){return j(y.value)||Ne.test(y.value)?null:{email:!0}}function on(y){return h=>j(h.value)||!K(h.value)?null:h.value.length<y?{minlength:{requiredLength:y,actualLength:h.value.length}}:null}function Ie(y){return h=>K(h.value)&&h.value.length>y?{maxlength:{requiredLength:y,actualLength:h.value.length}}:null}function Et(y){if(!y)return cn;let h,f;return"string"==typeof y?(f="","^"!==y.charAt(0)&&(f+="^"),f+=y,"$"!==y.charAt(y.length-1)&&(f+="$"),h=new RegExp(f)):(f=y.toString(),h=y),w=>{if(j(w.value))return null;const Z=w.value;return h.test(Z)?null:{pattern:{requiredPattern:f,actualValue:Z}}}}function cn(y){return null}function bt(y){return null!=y}function dn(y){const h=(0,p.\u0275isPromise)(y)?(0,X.D)(y):y;return(0,p.\u0275isObservable)(h),h}function wn(y){let h={};return y.forEach(f=>{h=null!=f?Object.assign(Object.assign({},h),f):h}),0===Object.keys(h).length?null:h}function Wt(y,h){return h.map(f=>f(y))}function Or(y){return y.map(h=>function(y){return!y.validate}(h)?h:f=>h.validate(f))}function Jn(y){if(!y)return null;const h=y.filter(bt);return 0==h.length?null:function(f){return wn(Wt(f,h))}}function kt(y){return null!=y?Jn(Or(y)):null}function qr(y){if(!y)return null;const h=y.filter(bt);return 0==h.length?null:function(f){return function(...y){const h=(0,fe.jO)(y),{args:f,keys:w}=function(y){if(1===y.length){const h=y[0];if(he(h))return{args:h,keys:null};if(function(y){return y&&"object"==typeof y&&pe(y)===Q}(h)){const f=Ee(h);return{args:f.map(w=>h[w]),keys:f}}}return{args:y,keys:null}}(y),Z=new ae.y(ye=>{const{length:yt}=f;if(!yt)return void ye.complete();const Dn=new Array(yt);let v=yt,o=yt;for(let l=0;l<yt;l++){let d=!1;(0,ie.Xf)(f[l]).subscribe(new qe.Q(ye,D=>{d||(d=!0,o--),Dn[l]=D},()=>v--,void 0,()=>{(!v||!d)&&(o||ye.next(w?ne(w,Dn):Dn),ye.complete())}))}});return h?Z.pipe(function(y){return(0,Ke.U)(h=>function(y,h){return me(h)?y(...h):y(h)}(y,h))}(h)):Z}(Wt(f,h).map(dn)).pipe((0,Ke.U)(wn))}}function Kn(y){return null!=y?qr(Or(y)):null}function di(y,h){return null===y?[h]:Array.isArray(y)?[...y,h]:[y,h]}function en(y){return y._rawValidators}function qn(y){return y._rawAsyncValidators}function Bt(y){return y?Array.isArray(y)?y:[y]:[]}function Qn(y,h){return Array.isArray(y)?y.includes(h):y===h}function fr(y,h){const f=Bt(h);return Bt(y).forEach(Z=>{Qn(f,Z)||f.push(Z)}),f}function tn(y,h){return Bt(h).filter(f=>!Qn(y,f))}class nt{constructor(){this._rawValidators=[],this._rawAsyncValidators=[],this._onDestroyCallbacks=[]}get value(){return this.control?this.control.value:null}get valid(){return this.control?this.control.valid:null}get invalid(){return this.control?this.control.invalid:null}get pending(){return this.control?this.control.pending:null}get disabled(){return this.control?this.control.disabled:null}get enabled(){return this.control?this.control.enabled:null}get errors(){return this.control?this.control.errors:null}get pristine(){return this.control?this.control.pristine:null}get dirty(){return this.control?this.control.dirty:null}get touched(){return this.control?this.control.touched:null}get status(){return this.control?this.control.status:null}get untouched(){return this.control?this.control.untouched:null}get statusChanges(){return this.control?this.control.statusChanges:null}get valueChanges(){return this.control?this.control.valueChanges:null}get path(){return null}_setValidators(h){this._rawValidators=h||[],this._composedValidatorFn=kt(this._rawValidators)}_setAsyncValidators(h){this._rawAsyncValidators=h||[],this._composedAsyncValidatorFn=Kn(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn||null}get asyncValidator(){return this._composedAsyncValidatorFn||null}_registerOnDestroy(h){this._onDestroyCallbacks.push(h)}_invokeOnDestroyCallbacks(){this._onDestroyCallbacks.forEach(h=>h()),this._onDestroyCallbacks=[]}reset(h){this.control&&this.control.reset(h)}hasError(h,f){return!!this.control&&this.control.hasError(h,f)}getError(h,f){return this.control?this.control.getError(h,f):null}}class jt extends nt{constructor(){super(...arguments),this._parent=null,this.name=null,this.valueAccessor=null}}class Ye extends nt{get formDirective(){return null}get path(){return null}}class xe{constructor(h){this._cd=h}is(h){var f,w,Z;return"submitted"===h?!!(null===(f=this._cd)||void 0===f?void 0:f.submitted):!!(null===(Z=null===(w=this._cd)||void 0===w?void 0:w.control)||void 0===Z?void 0:Z[h])}}let Tn=(()=>{class y extends xe{constructor(f){super(f)}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(jt,2))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","formControlName",""],["","ngModel",""],["","formControl",""]],hostVars:14,hostBindings:function(f,w){2&f&&p.\u0275\u0275classProp("ng-untouched",w.is("untouched"))("ng-touched",w.is("touched"))("ng-pristine",w.is("pristine"))("ng-dirty",w.is("dirty"))("ng-valid",w.is("valid"))("ng-invalid",w.is("invalid"))("ng-pending",w.is("pending"))},features:[p.\u0275\u0275InheritDefinitionFeature]}),y})(),Ht=(()=>{class y extends xe{constructor(f){super(f)}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(Ye,10))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","formGroupName",""],["","formArrayName",""],["","ngModelGroup",""],["","formGroup",""],["form",3,"ngNoForm",""],["","ngForm",""]],hostVars:16,hostBindings:function(f,w){2&f&&p.\u0275\u0275classProp("ng-untouched",w.is("untouched"))("ng-touched",w.is("touched"))("ng-pristine",w.is("pristine"))("ng-dirty",w.is("dirty"))("ng-valid",w.is("valid"))("ng-invalid",w.is("invalid"))("ng-pending",w.is("pending"))("ng-submitted",w.is("submitted"))},features:[p.\u0275\u0275InheritDefinitionFeature]}),y})();function Nn(y,h){return[...h.path,y]}function jn(y,h){tr(y,h),h.valueAccessor.writeValue(y.value),function(y,h){h.valueAccessor.registerOnChange(f=>{y._pendingValue=f,y._pendingChange=!0,y._pendingDirty=!0,"change"===y.updateOn&&R(y,h)})}(y,h),function(y,h){const f=(w,Z)=>{h.valueAccessor.writeValue(w),Z&&h.viewToModelUpdate(w)};y.registerOnChange(f),h._registerOnDestroy(()=>{y._unregisterOnChange(f)})}(y,h),function(y,h){h.valueAccessor.registerOnTouched(()=>{y._pendingTouched=!0,"blur"===y.updateOn&&y._pendingChange&&R(y,h),"submit"!==y.updateOn&&y.markAsTouched()})}(y,h),function(y,h){if(h.valueAccessor.setDisabledState){const f=w=>{h.valueAccessor.setDisabledState(w)};y.registerOnDisabledChange(f),h._registerOnDestroy(()=>{y._unregisterOnDisabledChange(f)})}}(y,h)}function Ut(y,h,f=!0){const w=()=>{};h.valueAccessor&&(h.valueAccessor.registerOnChange(w),h.valueAccessor.registerOnTouched(w)),O(y,h),y&&(h._invokeOnDestroyCallbacks(),y._registerOnCollectionChange(()=>{}))}function xt(y,h){y.forEach(f=>{f.registerOnValidatorChange&&f.registerOnValidatorChange(h)})}function tr(y,h){const f=en(y);null!==h.validator?y.setValidators(di(f,h.validator)):"function"==typeof f&&y.setValidators([f]);const w=qn(y);null!==h.asyncValidator?y.setAsyncValidators(di(w,h.asyncValidator)):"function"==typeof w&&y.setAsyncValidators([w]);const Z=()=>y.updateValueAndValidity();xt(h._rawValidators,Z),xt(h._rawAsyncValidators,Z)}function O(y,h){let f=!1;if(null!==y){if(null!==h.validator){const Z=en(y);if(Array.isArray(Z)&&Z.length>0){const ye=Z.filter(yt=>yt!==h.validator);ye.length!==Z.length&&(f=!0,y.setValidators(ye))}}if(null!==h.asyncValidator){const Z=qn(y);if(Array.isArray(Z)&&Z.length>0){const ye=Z.filter(yt=>yt!==h.asyncValidator);ye.length!==Z.length&&(f=!0,y.setAsyncValidators(ye))}}}const w=()=>{};return xt(h._rawValidators,w),xt(h._rawAsyncValidators,w),f}function R(y,h){y._pendingDirty&&y.markAsDirty(),y.setValue(y._pendingValue,{emitModelToViewChange:!1}),h.viewToModelUpdate(y._pendingValue),y._pendingChange=!1}function be(y,h){tr(y,h)}function at(y,h){if(!y.hasOwnProperty("model"))return!1;const f=y.model;return!!f.isFirstChange()||!Object.is(h,f.currentValue)}function gr(y,h){y._syncPendingControls(),h.forEach(f=>{const w=f.control;"submit"===w.updateOn&&w._pendingChange&&(f.viewToModelUpdate(w._pendingValue),w._pendingChange=!1)})}function mr(y,h){if(!h)return null;let f,w,Z;return Array.isArray(h),h.forEach(ye=>{ye.constructor===U?f=ye:function(y){return Object.getPrototypeOf(y.constructor)===W}(ye)?w=ye:Z=ye}),Z||w||f||null}function Hn(y,h){const f=y.indexOf(h);f>-1&&y.splice(f,1)}const yn="VALID",Lr="INVALID",Pn="PENDING",yr="DISABLED";function Qr(y){return(vr(y)?y.validators:y)||null}function _r(y){return Array.isArray(y)?kt(y):y||null}function Un(y,h){return(vr(h)?h.asyncValidators:y)||null}function Zr(y){return Array.isArray(y)?Kn(y):y||null}function vr(y){return null!=y&&!Array.isArray(y)&&"object"==typeof y}class Vr{constructor(h,f){this._pendingDirty=!1,this._hasOwnPendingAsyncValidator=!1,this._pendingTouched=!1,this._onCollectionChange=()=>{},this._parent=null,this.pristine=!0,this.touched=!1,this._onDisabledChange=[],this._rawValidators=h,this._rawAsyncValidators=f,this._composedValidatorFn=_r(this._rawValidators),this._composedAsyncValidatorFn=Zr(this._rawAsyncValidators)}get validator(){return this._composedValidatorFn}set validator(h){this._rawValidators=this._composedValidatorFn=h}get asyncValidator(){return this._composedAsyncValidatorFn}set asyncValidator(h){this._rawAsyncValidators=this._composedAsyncValidatorFn=h}get parent(){return this._parent}get valid(){return this.status===yn}get invalid(){return this.status===Lr}get pending(){return this.status==Pn}get disabled(){return this.status===yr}get enabled(){return this.status!==yr}get dirty(){return!this.pristine}get untouched(){return!this.touched}get updateOn(){return this._updateOn?this._updateOn:this.parent?this.parent.updateOn:"change"}setValidators(h){this._rawValidators=h,this._composedValidatorFn=_r(h)}setAsyncValidators(h){this._rawAsyncValidators=h,this._composedAsyncValidatorFn=Zr(h)}addValidators(h){this.setValidators(fr(h,this._rawValidators))}addAsyncValidators(h){this.setAsyncValidators(fr(h,this._rawAsyncValidators))}removeValidators(h){this.setValidators(tn(h,this._rawValidators))}removeAsyncValidators(h){this.setAsyncValidators(tn(h,this._rawAsyncValidators))}hasValidator(h){return Qn(this._rawValidators,h)}hasAsyncValidator(h){return Qn(this._rawAsyncValidators,h)}clearValidators(){this.validator=null}clearAsyncValidators(){this.asyncValidator=null}markAsTouched(h={}){this.touched=!0,this._parent&&!h.onlySelf&&this._parent.markAsTouched(h)}markAllAsTouched(){this.markAsTouched({onlySelf:!0}),this._forEachChild(h=>h.markAllAsTouched())}markAsUntouched(h={}){this.touched=!1,this._pendingTouched=!1,this._forEachChild(f=>{f.markAsUntouched({onlySelf:!0})}),this._parent&&!h.onlySelf&&this._parent._updateTouched(h)}markAsDirty(h={}){this.pristine=!1,this._parent&&!h.onlySelf&&this._parent.markAsDirty(h)}markAsPristine(h={}){this.pristine=!0,this._pendingDirty=!1,this._forEachChild(f=>{f.markAsPristine({onlySelf:!0})}),this._parent&&!h.onlySelf&&this._parent._updatePristine(h)}markAsPending(h={}){this.status=Pn,!1!==h.emitEvent&&this.statusChanges.emit(this.status),this._parent&&!h.onlySelf&&this._parent.markAsPending(h)}disable(h={}){const f=this._parentMarkedDirty(h.onlySelf);this.status=yr,this.errors=null,this._forEachChild(w=>{w.disable(Object.assign(Object.assign({},h),{onlySelf:!0}))}),this._updateValue(),!1!==h.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._updateAncestors(Object.assign(Object.assign({},h),{skipPristineCheck:f})),this._onDisabledChange.forEach(w=>w(!0))}enable(h={}){const f=this._parentMarkedDirty(h.onlySelf);this.status=yn,this._forEachChild(w=>{w.enable(Object.assign(Object.assign({},h),{onlySelf:!0}))}),this.updateValueAndValidity({onlySelf:!0,emitEvent:h.emitEvent}),this._updateAncestors(Object.assign(Object.assign({},h),{skipPristineCheck:f})),this._onDisabledChange.forEach(w=>w(!1))}_updateAncestors(h){this._parent&&!h.onlySelf&&(this._parent.updateValueAndValidity(h),h.skipPristineCheck||this._parent._updatePristine(),this._parent._updateTouched())}setParent(h){this._parent=h}updateValueAndValidity(h={}){this._setInitialStatus(),this._updateValue(),this.enabled&&(this._cancelExistingSubscription(),this.errors=this._runValidator(),this.status=this._calculateStatus(),(this.status===yn||this.status===Pn)&&this._runAsyncValidator(h.emitEvent)),!1!==h.emitEvent&&(this.valueChanges.emit(this.value),this.statusChanges.emit(this.status)),this._parent&&!h.onlySelf&&this._parent.updateValueAndValidity(h)}_updateTreeValidity(h={emitEvent:!0}){this._forEachChild(f=>f._updateTreeValidity(h)),this.updateValueAndValidity({onlySelf:!0,emitEvent:h.emitEvent})}_setInitialStatus(){this.status=this._allControlsDisabled()?yr:yn}_runValidator(){return this.validator?this.validator(this):null}_runAsyncValidator(h){if(this.asyncValidator){this.status=Pn,this._hasOwnPendingAsyncValidator=!0;const f=dn(this.asyncValidator(this));this._asyncValidationSubscription=f.subscribe(w=>{this._hasOwnPendingAsyncValidator=!1,this.setErrors(w,{emitEvent:h})})}}_cancelExistingSubscription(){this._asyncValidationSubscription&&(this._asyncValidationSubscription.unsubscribe(),this._hasOwnPendingAsyncValidator=!1)}setErrors(h,f={}){this.errors=h,this._updateControlsErrors(!1!==f.emitEvent)}get(h){return function(y,h,f){if(null==h||(Array.isArray(h)||(h=h.split(".")),Array.isArray(h)&&0===h.length))return null;let w=y;return h.forEach(Z=>{w=w instanceof Ft?w.controls.hasOwnProperty(Z)?w.controls[Z]:null:w instanceof _n&&w.at(Z)||null}),w}(this,h)}getError(h,f){const w=f?this.get(f):this;return w&&w.errors?w.errors[h]:null}hasError(h,f){return!!this.getError(h,f)}get root(){let h=this;for(;h._parent;)h=h._parent;return h}_updateControlsErrors(h){this.status=this._calculateStatus(),h&&this.statusChanges.emit(this.status),this._parent&&this._parent._updateControlsErrors(h)}_initObservables(){this.valueChanges=new p.EventEmitter,this.statusChanges=new p.EventEmitter}_calculateStatus(){return this._allControlsDisabled()?yr:this.errors?Lr:this._hasOwnPendingAsyncValidator||this._anyControlsHaveStatus(Pn)?Pn:this._anyControlsHaveStatus(Lr)?Lr:yn}_anyControlsHaveStatus(h){return this._anyControls(f=>f.status===h)}_anyControlsDirty(){return this._anyControls(h=>h.dirty)}_anyControlsTouched(){return this._anyControls(h=>h.touched)}_updatePristine(h={}){this.pristine=!this._anyControlsDirty(),this._parent&&!h.onlySelf&&this._parent._updatePristine(h)}_updateTouched(h={}){this.touched=this._anyControlsTouched(),this._parent&&!h.onlySelf&&this._parent._updateTouched(h)}_isBoxedValue(h){return"object"==typeof h&&null!==h&&2===Object.keys(h).length&&"value"in h&&"disabled"in h}_registerOnCollectionChange(h){this._onCollectionChange=h}_setUpdateStrategy(h){vr(h)&&null!=h.updateOn&&(this._updateOn=h.updateOn)}_parentMarkedDirty(h){return!h&&!(!this._parent||!this._parent.dirty)&&!this._parent._anyControlsDirty()}}class On extends Vr{constructor(h=null,f,w){super(Qr(f),Un(w,f)),this._onChange=[],this._pendingChange=!1,this._applyFormState(h),this._setUpdateStrategy(f),this._initObservables(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}setValue(h,f={}){this.value=this._pendingValue=h,this._onChange.length&&!1!==f.emitModelToViewChange&&this._onChange.forEach(w=>w(this.value,!1!==f.emitViewToModelChange)),this.updateValueAndValidity(f)}patchValue(h,f={}){this.setValue(h,f)}reset(h=null,f={}){this._applyFormState(h),this.markAsPristine(f),this.markAsUntouched(f),this.setValue(this.value,f),this._pendingChange=!1}_updateValue(){}_anyControls(h){return!1}_allControlsDisabled(){return this.disabled}registerOnChange(h){this._onChange.push(h)}_unregisterOnChange(h){Hn(this._onChange,h)}registerOnDisabledChange(h){this._onDisabledChange.push(h)}_unregisterOnDisabledChange(h){Hn(this._onDisabledChange,h)}_forEachChild(h){}_syncPendingControls(){return!("submit"!==this.updateOn||(this._pendingDirty&&this.markAsDirty(),this._pendingTouched&&this.markAsTouched(),!this._pendingChange)||(this.setValue(this._pendingValue,{onlySelf:!0,emitModelToViewChange:!1}),0))}_applyFormState(h){this._isBoxedValue(h)?(this.value=this._pendingValue=h.value,h.disabled?this.disable({onlySelf:!0,emitEvent:!1}):this.enable({onlySelf:!0,emitEvent:!1})):this.value=this._pendingValue=h}}class Ft extends Vr{constructor(h,f,w){super(Qr(f),Un(w,f)),this.controls=h,this._initObservables(),this._setUpdateStrategy(f),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}registerControl(h,f){return this.controls[h]?this.controls[h]:(this.controls[h]=f,f.setParent(this),f._registerOnCollectionChange(this._onCollectionChange),f)}addControl(h,f,w={}){this.registerControl(h,f),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}removeControl(h,f={}){this.controls[h]&&this.controls[h]._registerOnCollectionChange(()=>{}),delete this.controls[h],this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}setControl(h,f,w={}){this.controls[h]&&this.controls[h]._registerOnCollectionChange(()=>{}),delete this.controls[h],f&&this.registerControl(h,f),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}contains(h){return this.controls.hasOwnProperty(h)&&this.controls[h].enabled}setValue(h,f={}){this._checkAllValuesPresent(h),Object.keys(h).forEach(w=>{this._throwIfControlMissing(w),this.controls[w].setValue(h[w],{onlySelf:!0,emitEvent:f.emitEvent})}),this.updateValueAndValidity(f)}patchValue(h,f={}){null!=h&&(Object.keys(h).forEach(w=>{this.controls[w]&&this.controls[w].patchValue(h[w],{onlySelf:!0,emitEvent:f.emitEvent})}),this.updateValueAndValidity(f))}reset(h={},f={}){this._forEachChild((w,Z)=>{w.reset(h[Z],{onlySelf:!0,emitEvent:f.emitEvent})}),this._updatePristine(f),this._updateTouched(f),this.updateValueAndValidity(f)}getRawValue(){return this._reduceChildren({},(h,f,w)=>(h[w]=f instanceof On?f.value:f.getRawValue(),h))}_syncPendingControls(){let h=this._reduceChildren(!1,(f,w)=>!!w._syncPendingControls()||f);return h&&this.updateValueAndValidity({onlySelf:!0}),h}_throwIfControlMissing(h){if(!Object.keys(this.controls).length)throw new Error("\n There are no form controls registered with this group yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.controls[h])throw new Error(`Cannot find form control with name: ${h}.`)}_forEachChild(h){Object.keys(this.controls).forEach(f=>{const w=this.controls[f];w&&h(w,f)})}_setUpControls(){this._forEachChild(h=>{h.setParent(this),h._registerOnCollectionChange(this._onCollectionChange)})}_updateValue(){this.value=this._reduceValue()}_anyControls(h){for(const f of Object.keys(this.controls)){const w=this.controls[f];if(this.contains(f)&&h(w))return!0}return!1}_reduceValue(){return this._reduceChildren({},(h,f,w)=>((f.enabled||this.disabled)&&(h[w]=f.value),h))}_reduceChildren(h,f){let w=h;return this._forEachChild((Z,ye)=>{w=f(w,Z,ye)}),w}_allControlsDisabled(){for(const h of Object.keys(this.controls))if(this.controls[h].enabled)return!1;return Object.keys(this.controls).length>0||this.disabled}_checkAllValuesPresent(h){this._forEachChild((f,w)=>{if(void 0===h[w])throw new Error(`Must supply a value for form control with name: '${w}'.`)})}}class _n extends Vr{constructor(h,f,w){super(Qr(f),Un(w,f)),this.controls=h,this._initObservables(),this._setUpdateStrategy(f),this._setUpControls(),this.updateValueAndValidity({onlySelf:!0,emitEvent:!!this.asyncValidator})}at(h){return this.controls[h]}push(h,f={}){this.controls.push(h),this._registerControl(h),this.updateValueAndValidity({emitEvent:f.emitEvent}),this._onCollectionChange()}insert(h,f,w={}){this.controls.splice(h,0,f),this._registerControl(f),this.updateValueAndValidity({emitEvent:w.emitEvent})}removeAt(h,f={}){this.controls[h]&&this.controls[h]._registerOnCollectionChange(()=>{}),this.controls.splice(h,1),this.updateValueAndValidity({emitEvent:f.emitEvent})}setControl(h,f,w={}){this.controls[h]&&this.controls[h]._registerOnCollectionChange(()=>{}),this.controls.splice(h,1),f&&(this.controls.splice(h,0,f),this._registerControl(f)),this.updateValueAndValidity({emitEvent:w.emitEvent}),this._onCollectionChange()}get length(){return this.controls.length}setValue(h,f={}){this._checkAllValuesPresent(h),h.forEach((w,Z)=>{this._throwIfControlMissing(Z),this.at(Z).setValue(w,{onlySelf:!0,emitEvent:f.emitEvent})}),this.updateValueAndValidity(f)}patchValue(h,f={}){null!=h&&(h.forEach((w,Z)=>{this.at(Z)&&this.at(Z).patchValue(w,{onlySelf:!0,emitEvent:f.emitEvent})}),this.updateValueAndValidity(f))}reset(h=[],f={}){this._forEachChild((w,Z)=>{w.reset(h[Z],{onlySelf:!0,emitEvent:f.emitEvent})}),this._updatePristine(f),this._updateTouched(f),this.updateValueAndValidity(f)}getRawValue(){return this.controls.map(h=>h instanceof On?h.value:h.getRawValue())}clear(h={}){this.controls.length<1||(this._forEachChild(f=>f._registerOnCollectionChange(()=>{})),this.controls.splice(0),this.updateValueAndValidity({emitEvent:h.emitEvent}))}_syncPendingControls(){let h=this.controls.reduce((f,w)=>!!w._syncPendingControls()||f,!1);return h&&this.updateValueAndValidity({onlySelf:!0}),h}_throwIfControlMissing(h){if(!this.controls.length)throw new Error("\n There are no form controls registered with this array yet. If you're using ngModel,\n you may want to check next tick (e.g. use setTimeout).\n ");if(!this.at(h))throw new Error(`Cannot find form control at index ${h}`)}_forEachChild(h){this.controls.forEach((f,w)=>{h(f,w)})}_updateValue(){this.value=this.controls.filter(h=>h.enabled||this.disabled).map(h=>h.value)}_anyControls(h){return this.controls.some(f=>f.enabled&&h(f))}_setUpControls(){this._forEachChild(h=>this._registerControl(h))}_checkAllValuesPresent(h){this._forEachChild((f,w)=>{if(void 0===h[w])throw new Error(`Must supply a value for form control at index: ${w}.`)})}_allControlsDisabled(){for(const h of this.controls)if(h.enabled)return!1;return this.controls.length>0||this.disabled}_registerControl(h){h.setParent(this),h._registerOnCollectionChange(this._onCollectionChange)}}const Zn={provide:Ye,useExisting:(0,p.forwardRef)(()=>$n)},$t=(()=>Promise.resolve(null))();let $n=(()=>{class y extends Ye{constructor(f,w){super(),this.submitted=!1,this._directives=[],this.ngSubmit=new p.EventEmitter,this.form=new Ft({},kt(f),Kn(w))}ngAfterViewInit(){this._setUpdateStrategy()}get formDirective(){return this}get control(){return this.form}get path(){return[]}get controls(){return this.form.controls}addControl(f){$t.then(()=>{const w=this._findContainer(f.path);f.control=w.registerControl(f.name,f.control),jn(f.control,f),f.control.updateValueAndValidity({emitEvent:!1}),this._directives.push(f)})}getControl(f){return this.form.get(f.path)}removeControl(f){$t.then(()=>{const w=this._findContainer(f.path);w&&w.removeControl(f.name),Hn(this._directives,f)})}addFormGroup(f){$t.then(()=>{const w=this._findContainer(f.path),Z=new Ft({});be(Z,f),w.registerControl(f.name,Z),Z.updateValueAndValidity({emitEvent:!1})})}removeFormGroup(f){$t.then(()=>{const w=this._findContainer(f.path);w&&w.removeControl(f.name)})}getFormGroup(f){return this.form.get(f.path)}updateModel(f,w){$t.then(()=>{this.form.get(f.path).setValue(w)})}setValue(f){this.control.setValue(f)}onSubmit(f){return this.submitted=!0,gr(this.form,this._directives),this.ngSubmit.emit(f),!1}onReset(){this.resetForm()}resetForm(f){this.form.reset(f),this.submitted=!1}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.form._updateOn=this.options.updateOn)}_findContainer(f){return f.pop(),f.length?this.form.get(f):this.form}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(z,10),p.\u0275\u0275directiveInject(G,10))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["form",3,"ngNoForm","",3,"formGroup",""],["ng-form"],["","ngForm",""]],hostBindings:function(f,w){1&f&&p.\u0275\u0275listener("submit",function(ye){return w.onSubmit(ye)})("reset",function(){return w.onReset()})},inputs:{options:["ngFormOptions","options"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[p.\u0275\u0275ProvidersFeature([Zn]),p.\u0275\u0275InheritDefinitionFeature]}),y})(),Yr=(()=>{class y extends Ye{ngOnInit(){this._checkParentType(),this.formDirective.addFormGroup(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormGroup(this)}get control(){return this.formDirective.getFormGroup(this)}get path(){return Nn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,features:[p.\u0275\u0275InheritDefinitionFeature]}),y})();const Xr={provide:Ye,useExisting:(0,p.forwardRef)(()=>rn)};let rn=(()=>{class y extends Yr{constructor(f,w,Z){super(),this._parent=f,this._setValidators(w),this._setAsyncValidators(Z)}_checkParentType(){}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(Ye,5),p.\u0275\u0275directiveInject(z,10),p.\u0275\u0275directiveInject(G,10))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","ngModelGroup",""]],inputs:{name:["ngModelGroup","name"]},exportAs:["ngModelGroup"],features:[p.\u0275\u0275ProvidersFeature([Xr]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const Me={provide:jt,useExisting:(0,p.forwardRef)(()=>ht)},Xe=(()=>Promise.resolve(null))();let ht=(()=>{class y extends jt{constructor(f,w,Z,ye){super(),this.control=new On,this._registered=!1,this.update=new p.EventEmitter,this._parent=f,this._setValidators(w),this._setAsyncValidators(Z),this.valueAccessor=mr(0,ye)}ngOnChanges(f){this._checkForErrors(),this._registered||this._setUpControl(),"isDisabled"in f&&this._updateDisabled(f),at(f,this.viewModel)&&(this._updateValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}get path(){return this._parent?Nn(this.name,this._parent):[this.name]}get formDirective(){return this._parent?this._parent.formDirective:null}viewToModelUpdate(f){this.viewModel=f,this.update.emit(f)}_setUpControl(){this._setUpdateStrategy(),this._isStandalone()?this._setUpStandalone():this.formDirective.addControl(this),this._registered=!0}_setUpdateStrategy(){this.options&&null!=this.options.updateOn&&(this.control._updateOn=this.options.updateOn)}_isStandalone(){return!this._parent||!(!this.options||!this.options.standalone)}_setUpStandalone(){jn(this.control,this),this.control.updateValueAndValidity({emitEvent:!1})}_checkForErrors(){this._isStandalone()||this._checkParentType(),this._checkName()}_checkParentType(){}_checkName(){this.options&&this.options.name&&(this.name=this.options.name),this._isStandalone()}_updateValue(f){Xe.then(()=>{this.control.setValue(f,{emitViewToModelChange:!1})})}_updateDisabled(f){const w=f.isDisabled.currentValue,Z=""===w||w&&"false"!==w;Xe.then(()=>{Z&&!this.control.disabled?this.control.disable():!Z&&this.control.disabled&&this.control.enable()})}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(Ye,9),p.\u0275\u0275directiveInject(z,10),p.\u0275\u0275directiveInject(G,10),p.\u0275\u0275directiveInject($,10))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","ngModel","",3,"formControlName","",3,"formControl",""]],inputs:{name:"name",isDisabled:["disabled","isDisabled"],model:["ngModel","model"],options:["ngModelOptions","options"]},outputs:{update:"ngModelChange"},exportAs:["ngModel"],features:[p.\u0275\u0275ProvidersFeature([Me]),p.\u0275\u0275InheritDefinitionFeature,p.\u0275\u0275NgOnChangesFeature]}),y})(),Lt=(()=>{class y{}return y.\u0275fac=function(f){return new(f||y)},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["form",3,"ngNoForm","",3,"ngNativeValidate",""]],hostAttrs:["novalidate",""]}),y})();const Yn={provide:$,useExisting:(0,p.forwardRef)(()=>Nt),multi:!0};let Nt=(()=>{class y extends W{writeValue(f){this.setProperty("value",null==f?"":f)}registerOnChange(f){this.onChange=w=>{f(""==w?null:parseFloat(w))}}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["input","type","number","formControlName",""],["input","type","number","formControl",""],["input","type","number","ngModel",""]],hostBindings:function(f,w){1&f&&p.\u0275\u0275listener("input",function(ye){return w.onChange(ye.target.value)})("blur",function(){return w.onTouched()})},features:[p.\u0275\u0275ProvidersFeature([Yn]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const rr={provide:$,useExisting:(0,p.forwardRef)(()=>ze),multi:!0};let Gt=(()=>{class y{}return y.\u0275fac=function(f){return new(f||y)},y.\u0275mod=p.\u0275\u0275defineNgModule({type:y}),y.\u0275inj=p.\u0275\u0275defineInjector({}),y})(),An=(()=>{class y{constructor(){this._accessors=[]}add(f,w){this._accessors.push([f,w])}remove(f){for(let w=this._accessors.length-1;w>=0;--w)if(this._accessors[w][1]===f)return void this._accessors.splice(w,1)}select(f){this._accessors.forEach(w=>{this._isSameGroup(w,f)&&w[1]!==f&&w[1].fireUncheck(f.value)})}_isSameGroup(f,w){return!!f[0].control&&f[0]._parent===w._control._parent&&f[1].name===w.name}}return y.\u0275fac=function(f){return new(f||y)},y.\u0275prov=p.\u0275\u0275defineInjectable({token:y,factory:y.\u0275fac,providedIn:Gt}),y})(),ze=(()=>{class y extends W{constructor(f,w,Z,ye){super(f,w),this._registry=Z,this._injector=ye,this.onChange=()=>{}}ngOnInit(){this._control=this._injector.get(jt),this._checkName(),this._registry.add(this._control,this)}ngOnDestroy(){this._registry.remove(this)}writeValue(f){this._state=f===this.value,this.setProperty("checked",this._state)}registerOnChange(f){this._fn=f,this.onChange=()=>{f(this.value),this._registry.select(this)}}fireUncheck(f){this.writeValue(f)}_checkName(){!this.name&&this.formControlName&&(this.name=this.formControlName)}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(p.Renderer2),p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(An),p.\u0275\u0275directiveInject(p.Injector))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["input","type","radio","formControlName",""],["input","type","radio","formControl",""],["input","type","radio","ngModel",""]],hostBindings:function(f,w){1&f&&p.\u0275\u0275listener("change",function(){return w.onChange()})("blur",function(){return w.onTouched()})},inputs:{name:"name",formControlName:"formControlName",value:"value"},features:[p.\u0275\u0275ProvidersFeature([rr]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const Jr={provide:$,useExisting:(0,p.forwardRef)(()=>Rn),multi:!0};let Rn=(()=>{class y extends W{writeValue(f){this.setProperty("value",parseFloat(f))}registerOnChange(f){this.onChange=w=>{f(""==w?null:parseFloat(w))}}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["input","type","range","formControlName",""],["input","type","range","formControl",""],["input","type","range","ngModel",""]],hostBindings:function(f,w){1&f&&p.\u0275\u0275listener("change",function(ye){return w.onChange(ye.target.value)})("input",function(ye){return w.onChange(ye.target.value)})("blur",function(){return w.onTouched()})},features:[p.\u0275\u0275ProvidersFeature([Jr]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const Er=new p.InjectionToken("NgModelWithFormControlWarning"),ir={provide:jt,useExisting:(0,p.forwardRef)(()=>Ot)};let Ot=(()=>{class y extends jt{constructor(f,w,Z,ye){super(),this._ngModelWarningConfig=ye,this.update=new p.EventEmitter,this._ngModelWarningSent=!1,this._setValidators(f),this._setAsyncValidators(w),this.valueAccessor=mr(0,Z)}set isDisabled(f){}ngOnChanges(f){if(this._isControlChanged(f)){const w=f.form.previousValue;w&&Ut(w,this,!1),jn(this.form,this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this.form.updateValueAndValidity({emitEvent:!1})}at(f,this.viewModel)&&(this.form.setValue(this.model),this.viewModel=this.model)}ngOnDestroy(){this.form&&Ut(this.form,this,!1)}get path(){return[]}get control(){return this.form}viewToModelUpdate(f){this.viewModel=f,this.update.emit(f)}_isControlChanged(f){return f.hasOwnProperty("form")}}return y._ngModelWarningSentOnce=!1,y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(z,10),p.\u0275\u0275directiveInject(G,10),p.\u0275\u0275directiveInject($,10),p.\u0275\u0275directiveInject(Er,8))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","formControl",""]],inputs:{form:["formControl","form"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},exportAs:["ngForm"],features:[p.\u0275\u0275ProvidersFeature([ir]),p.\u0275\u0275InheritDefinitionFeature,p.\u0275\u0275NgOnChangesFeature]}),y})();const sr={provide:Ye,useExisting:(0,p.forwardRef)(()=>xn)};let xn=(()=>{class y extends Ye{constructor(f,w){super(),this.validators=f,this.asyncValidators=w,this.submitted=!1,this._onCollectionChange=()=>this._updateDomValue(),this.directives=[],this.form=null,this.ngSubmit=new p.EventEmitter,this._setValidators(f),this._setAsyncValidators(w)}ngOnChanges(f){this._checkFormPresent(),f.hasOwnProperty("form")&&(this._updateValidators(),this._updateDomValue(),this._updateRegistrations(),this._oldForm=this.form)}ngOnDestroy(){this.form&&(O(this.form,this),this.form._onCollectionChange===this._onCollectionChange&&this.form._registerOnCollectionChange(()=>{}))}get formDirective(){return this}get control(){return this.form}get path(){return[]}addControl(f){const w=this.form.get(f.path);return jn(w,f),w.updateValueAndValidity({emitEvent:!1}),this.directives.push(f),w}getControl(f){return this.form.get(f.path)}removeControl(f){Ut(f.control||null,f,!1),Hn(this.directives,f)}addFormGroup(f){this._setUpFormContainer(f)}removeFormGroup(f){this._cleanUpFormContainer(f)}getFormGroup(f){return this.form.get(f.path)}addFormArray(f){this._setUpFormContainer(f)}removeFormArray(f){this._cleanUpFormContainer(f)}getFormArray(f){return this.form.get(f.path)}updateModel(f,w){this.form.get(f.path).setValue(w)}onSubmit(f){return this.submitted=!0,gr(this.form,this.directives),this.ngSubmit.emit(f),!1}onReset(){this.resetForm()}resetForm(f){this.form.reset(f),this.submitted=!1}_updateDomValue(){this.directives.forEach(f=>{const w=f.control,Z=this.form.get(f.path);w!==Z&&(Ut(w||null,f),Z instanceof On&&(jn(Z,f),f.control=Z))}),this.form._updateTreeValidity({emitEvent:!1})}_setUpFormContainer(f){const w=this.form.get(f.path);be(w,f),w.updateValueAndValidity({emitEvent:!1})}_cleanUpFormContainer(f){if(this.form){const w=this.form.get(f.path);w&&function(y,h){return O(y,h)}(w,f)&&w.updateValueAndValidity({emitEvent:!1})}}_updateRegistrations(){this.form._registerOnCollectionChange(this._onCollectionChange),this._oldForm&&this._oldForm._registerOnCollectionChange(()=>{})}_updateValidators(){tr(this.form,this),this._oldForm&&O(this._oldForm,this)}_checkFormPresent(){}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(z,10),p.\u0275\u0275directiveInject(G,10))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","formGroup",""]],hostBindings:function(f,w){1&f&&p.\u0275\u0275listener("submit",function(ye){return w.onSubmit(ye)})("reset",function(){return w.onReset()})},inputs:{form:["formGroup","form"]},outputs:{ngSubmit:"ngSubmit"},exportAs:["ngForm"],features:[p.\u0275\u0275ProvidersFeature([sr]),p.\u0275\u0275InheritDefinitionFeature,p.\u0275\u0275NgOnChangesFeature]}),y})();const an={provide:Ye,useExisting:(0,p.forwardRef)(()=>ft)};let ft=(()=>{class y extends Yr{constructor(f,w,Z){super(),this._parent=f,this._setValidators(w),this._setAsyncValidators(Z)}_checkParentType(){fn(this._parent)}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(Ye,13),p.\u0275\u0275directiveInject(z,10),p.\u0275\u0275directiveInject(G,10))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","formGroupName",""]],inputs:{name:["formGroupName","name"]},features:[p.\u0275\u0275ProvidersFeature([an]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const bi={provide:Ye,useExisting:(0,p.forwardRef)(()=>Cr)};let Cr=(()=>{class y extends Ye{constructor(f,w,Z){super(),this._parent=f,this._setValidators(w),this._setAsyncValidators(Z)}ngOnInit(){this._checkParentType(),this.formDirective.addFormArray(this)}ngOnDestroy(){this.formDirective&&this.formDirective.removeFormArray(this)}get control(){return this.formDirective.getFormArray(this)}get formDirective(){return this._parent?this._parent.formDirective:null}get path(){return Nn(null==this.name?this.name:this.name.toString(),this._parent)}_checkParentType(){fn(this._parent)}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(Ye,13),p.\u0275\u0275directiveInject(z,10),p.\u0275\u0275directiveInject(G,10))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","formArrayName",""]],inputs:{name:["formArrayName","name"]},features:[p.\u0275\u0275ProvidersFeature([bi]),p.\u0275\u0275InheritDefinitionFeature]}),y})();function fn(y){return!(y instanceof ft||y instanceof xn||y instanceof Cr)}const In={provide:jt,useExisting:(0,p.forwardRef)(()=>wr)};let wr=(()=>{class y extends jt{constructor(f,w,Z,ye,yt){super(),this._ngModelWarningConfig=yt,this._added=!1,this.update=new p.EventEmitter,this._ngModelWarningSent=!1,this._parent=f,this._setValidators(w),this._setAsyncValidators(Z),this.valueAccessor=mr(0,ye)}set isDisabled(f){}ngOnChanges(f){this._added||this._setUpControl(),at(f,this.viewModel)&&(this.viewModel=this.model,this.formDirective.updateModel(this,this.model))}ngOnDestroy(){this.formDirective&&this.formDirective.removeControl(this)}viewToModelUpdate(f){this.viewModel=f,this.update.emit(f)}get path(){return Nn(null==this.name?this.name:this.name.toString(),this._parent)}get formDirective(){return this._parent?this._parent.formDirective:null}_checkParentType(){}_setUpControl(){this._checkParentType(),this.control=this.formDirective.addControl(this),this.control.disabled&&this.valueAccessor.setDisabledState&&this.valueAccessor.setDisabledState(!0),this._added=!0}}return y._ngModelWarningSentOnce=!1,y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(Ye,13),p.\u0275\u0275directiveInject(z,10),p.\u0275\u0275directiveInject(G,10),p.\u0275\u0275directiveInject($,10),p.\u0275\u0275directiveInject(Er,8))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","formControlName",""]],inputs:{name:["formControlName","name"],isDisabled:["disabled","isDisabled"],model:["ngModel","model"]},outputs:{update:"ngModelChange"},features:[p.\u0275\u0275ProvidersFeature([In]),p.\u0275\u0275InheritDefinitionFeature,p.\u0275\u0275NgOnChangesFeature]}),y})();const br={provide:$,useExisting:(0,p.forwardRef)(()=>Ar),multi:!0};function Mr(y,h){return null==y?`${h}`:(h&&"object"==typeof h&&(h="Object"),`${y}: ${h}`.slice(0,50))}let Ar=(()=>{class y extends W{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(f){this._compareWith=f}writeValue(f){this.value=f;const w=this._getOptionId(f);null==w&&this.setProperty("selectedIndex",-1);const Z=Mr(w,f);this.setProperty("value",Z)}registerOnChange(f){this.onChange=w=>{this.value=this._getOptionValue(w),f(this.value)}}_registerOption(){return(this._idCounter++).toString()}_getOptionId(f){for(const w of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(w),f))return w;return null}_getOptionValue(f){const w=function(y){return y.split(":")[0]}(f);return this._optionMap.has(w)?this._optionMap.get(w):f}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["select","formControlName","",3,"multiple",""],["select","formControl","",3,"multiple",""],["select","ngModel","",3,"multiple",""]],hostBindings:function(f,w){1&f&&p.\u0275\u0275listener("change",function(ye){return w.onChange(ye.target.value)})("blur",function(){return w.onTouched()})},inputs:{compareWith:"compareWith"},features:[p.\u0275\u0275ProvidersFeature([br]),p.\u0275\u0275InheritDefinitionFeature]}),y})(),kr=(()=>{class y{constructor(f,w,Z){this._element=f,this._renderer=w,this._select=Z,this._select&&(this.id=this._select._registerOption())}set ngValue(f){null!=this._select&&(this._select._optionMap.set(this.id,f),this._setElementValue(Mr(this.id,f)),this._select.writeValue(this._select.value))}set value(f){this._setElementValue(f),this._select&&this._select.writeValue(this._select.value)}_setElementValue(f){this._renderer.setProperty(this._element.nativeElement,"value",f)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(p.Renderer2),p.\u0275\u0275directiveInject(Ar,9))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),y})();const ei={provide:$,useExisting:(0,p.forwardRef)(()=>ti),multi:!0};function Ir(y,h){return null==y?`${h}`:("string"==typeof h&&(h=`'${h}'`),h&&"object"==typeof h&&(h="Object"),`${y}: ${h}`.slice(0,50))}let ti=(()=>{class y extends W{constructor(){super(...arguments),this._optionMap=new Map,this._idCounter=0,this._compareWith=Object.is}set compareWith(f){this._compareWith=f}writeValue(f){let w;if(this.value=f,Array.isArray(f)){const Z=f.map(ye=>this._getOptionId(ye));w=(ye,yt)=>{ye._setSelected(Z.indexOf(yt.toString())>-1)}}else w=(Z,ye)=>{Z._setSelected(!1)};this._optionMap.forEach(w)}registerOnChange(f){this.onChange=w=>{const Z=[],ye=w.selectedOptions;if(void 0!==ye){const yt=ye;for(let Dn=0;Dn<yt.length;Dn++){const o=this._getOptionValue(yt[Dn].value);Z.push(o)}}else{const yt=w.options;for(let Dn=0;Dn<yt.length;Dn++){const v=yt[Dn];if(v.selected){const o=this._getOptionValue(v.value);Z.push(o)}}}this.value=Z,f(Z)}}_registerOption(f){const w=(this._idCounter++).toString();return this._optionMap.set(w,f),w}_getOptionId(f){for(const w of Array.from(this._optionMap.keys()))if(this._compareWith(this._optionMap.get(w)._value,f))return w;return null}_getOptionValue(f){const w=function(y){return y.split(":")[0]}(f);return this._optionMap.has(w)?this._optionMap.get(w)._value:f}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["select","multiple","","formControlName",""],["select","multiple","","formControl",""],["select","multiple","","ngModel",""]],hostBindings:function(f,w){1&f&&p.\u0275\u0275listener("change",function(ye){return w.onChange(ye.target)})("blur",function(){return w.onTouched()})},inputs:{compareWith:"compareWith"},features:[p.\u0275\u0275ProvidersFeature([ei]),p.\u0275\u0275InheritDefinitionFeature]}),y})(),Mi=(()=>{class y{constructor(f,w,Z){this._element=f,this._renderer=w,this._select=Z,this._select&&(this.id=this._select._registerOption(this))}set ngValue(f){null!=this._select&&(this._value=f,this._setElementValue(Ir(this.id,f)),this._select.writeValue(this._select.value))}set value(f){this._select?(this._value=f,this._setElementValue(Ir(this.id,f)),this._select.writeValue(this._select.value)):this._setElementValue(f)}_setElementValue(f){this._renderer.setProperty(this._element.nativeElement,"value",f)}_setSelected(f){this._renderer.setProperty(this._element.nativeElement,"selected",f)}ngOnDestroy(){this._select&&(this._select._optionMap.delete(this.id),this._select.writeValue(this._select.value))}}return y.\u0275fac=function(f){return new(f||y)(p.\u0275\u0275directiveInject(p.ElementRef),p.\u0275\u0275directiveInject(p.Renderer2),p.\u0275\u0275directiveInject(ti,9))},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["option"]],inputs:{ngValue:"ngValue",value:"value"}}),y})();function hi(y){return"number"==typeof y?y:parseInt(y,10)}function Ai(y){return"number"==typeof y?y:parseFloat(y)}let pi=(()=>{class y{constructor(){this._validator=cn}ngOnChanges(f){if(this.inputName in f){const w=this.normalizeInput(f[this.inputName].currentValue);this._validator=this.enabled()?this.createValidator(w):cn,this._onChange&&this._onChange()}}validate(f){return this._validator(f)}registerOnValidatorChange(f){this._onChange=f}enabled(){return null!=this[this.inputName]}}return y.\u0275fac=function(f){return new(f||y)},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,features:[p.\u0275\u0275NgOnChangesFeature]}),y})();const Vi={provide:z,useExisting:(0,p.forwardRef)(()=>gi),multi:!0};let gi=(()=>{class y extends pi{constructor(){super(...arguments),this.inputName="max",this.normalizeInput=f=>Ai(f),this.createValidator=f=>$e(f)}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["input","type","number","max","","formControlName",""],["input","type","number","max","","formControl",""],["input","type","number","max","","ngModel",""]],hostVars:1,hostBindings:function(f,w){2&f&&p.\u0275\u0275attribute("max",w.enabled()?w.max:null)},inputs:{max:"max"},features:[p.\u0275\u0275ProvidersFeature([Vi]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const qi={provide:z,useExisting:(0,p.forwardRef)(()=>Ii),multi:!0};let Ii=(()=>{class y extends pi{constructor(){super(...arguments),this.inputName="min",this.normalizeInput=f=>Ai(f),this.createValidator=f=>Se(f)}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["input","type","number","min","","formControlName",""],["input","type","number","min","","formControl",""],["input","type","number","min","","ngModel",""]],hostVars:1,hostBindings:function(f,w){2&f&&p.\u0275\u0275attribute("min",w.enabled()?w.min:null)},inputs:{min:"min"},features:[p.\u0275\u0275ProvidersFeature([qi]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const Qi={provide:z,useExisting:(0,p.forwardRef)(()=>mi),multi:!0},ki={provide:z,useExisting:(0,p.forwardRef)(()=>Br),multi:!0};let mi=(()=>{class y{constructor(){this._required=!1}get required(){return this._required}set required(f){this._required=null!=f&&!1!==f&&"false"!=`${f}`,this._onChange&&this._onChange()}validate(f){return this.required?St(f):null}registerOnValidatorChange(f){this._onChange=f}}return y.\u0275fac=function(f){return new(f||y)},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","required","","formControlName","",3,"type","checkbox"],["","required","","formControl","",3,"type","checkbox"],["","required","","ngModel","",3,"type","checkbox"]],hostVars:1,hostBindings:function(f,w){2&f&&p.\u0275\u0275attribute("required",w.required?"":null)},inputs:{required:"required"},features:[p.\u0275\u0275ProvidersFeature([Qi])]}),y})(),Br=(()=>{class y extends mi{validate(f){return this.required?vt(f):null}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["input","type","checkbox","required","","formControlName",""],["input","type","checkbox","required","","formControl",""],["input","type","checkbox","required","","ngModel",""]],hostVars:1,hostBindings:function(f,w){2&f&&p.\u0275\u0275attribute("required",w.required?"":null)},features:[p.\u0275\u0275ProvidersFeature([ki]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const yi={provide:z,useExisting:(0,p.forwardRef)(()=>Si),multi:!0};let Si=(()=>{class y{constructor(){this._enabled=!1}set email(f){this._enabled=""===f||!0===f||"true"===f,this._onChange&&this._onChange()}validate(f){return this._enabled?Dt(f):null}registerOnValidatorChange(f){this._onChange=f}}return y.\u0275fac=function(f){return new(f||y)},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","email","","formControlName",""],["","email","","formControl",""],["","email","","ngModel",""]],inputs:{email:"email"},features:[p.\u0275\u0275ProvidersFeature([yi])]}),y})();const g={provide:z,useExisting:(0,p.forwardRef)(()=>C),multi:!0};let C=(()=>{class y extends pi{constructor(){super(...arguments),this.inputName="minlength",this.normalizeInput=f=>hi(f),this.createValidator=f=>on(f)}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","minlength","","formControlName",""],["","minlength","","formControl",""],["","minlength","","ngModel",""]],hostVars:1,hostBindings:function(f,w){2&f&&p.\u0275\u0275attribute("minlength",w.enabled()?w.minlength:null)},inputs:{minlength:"minlength"},features:[p.\u0275\u0275ProvidersFeature([g]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const m={provide:z,useExisting:(0,p.forwardRef)(()=>b),multi:!0};let b=(()=>{class y extends pi{constructor(){super(...arguments),this.inputName="maxlength",this.normalizeInput=f=>hi(f),this.createValidator=f=>Ie(f)}}return y.\u0275fac=function(){let h;return function(w){return(h||(h=p.\u0275\u0275getInheritedFactory(y)))(w||y)}}(),y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","maxlength","","formControlName",""],["","maxlength","","formControl",""],["","maxlength","","ngModel",""]],hostVars:1,hostBindings:function(f,w){2&f&&p.\u0275\u0275attribute("maxlength",w.enabled()?w.maxlength:null)},inputs:{maxlength:"maxlength"},features:[p.\u0275\u0275ProvidersFeature([m]),p.\u0275\u0275InheritDefinitionFeature]}),y})();const P={provide:z,useExisting:(0,p.forwardRef)(()=>q),multi:!0};let q=(()=>{class y{constructor(){this._validator=cn}ngOnChanges(f){"pattern"in f&&(this._createValidator(),this._onChange&&this._onChange())}validate(f){return this._validator(f)}registerOnValidatorChange(f){this._onChange=f}_createValidator(){this._validator=Et(this.pattern)}}return y.\u0275fac=function(f){return new(f||y)},y.\u0275dir=p.\u0275\u0275defineDirective({type:y,selectors:[["","pattern","","formControlName",""],["","pattern","","formControl",""],["","pattern","","ngModel",""]],hostVars:1,hostBindings:function(f,w){2&f&&p.\u0275\u0275attribute("pattern",w.pattern?w.pattern:null)},inputs:{pattern:"pattern"},features:[p.\u0275\u0275ProvidersFeature([P]),p.\u0275\u0275NgOnChangesFeature]}),y})(),pt=(()=>{class y{}return y.\u0275fac=function(f){return new(f||y)},y.\u0275mod=p.\u0275\u0275defineNgModule({type:y}),y.\u0275inj=p.\u0275\u0275defineInjector({imports:[[Gt]]}),y})(),wt=(()=>{class y{}return y.\u0275fac=function(f){return new(f||y)},y.\u0275mod=p.\u0275\u0275defineNgModule({type:y}),y.\u0275inj=p.\u0275\u0275defineInjector({imports:[pt]}),y})(),et=(()=>{class y{static withConfig(f){return{ngModule:y,providers:[{provide:Er,useValue:f.warnOnNgModelWithFormControl}]}}}return y.\u0275fac=function(f){return new(f||y)},y.\u0275mod=p.\u0275\u0275defineNgModule({type:y}),y.\u0275inj=p.\u0275\u0275defineInjector({imports:[pt]}),y})(),tt=(()=>{class y{group(f,w=null){const Z=this._reduceControls(f);let Dn,ye=null,yt=null;return null!=w&&(function(y){return void 0!==y.asyncValidators||void 0!==y.validators||void 0!==y.updateOn}(w)?(ye=null!=w.validators?w.validators:null,yt=null!=w.asyncValidators?w.asyncValidators:null,Dn=null!=w.updateOn?w.updateOn:void 0):(ye=null!=w.validator?w.validator:null,yt=null!=w.asyncValidator?w.asyncValidator:null)),new Ft(Z,{asyncValidators:yt,updateOn:Dn,validators:ye})}control(f,w,Z){return new On(f,w,Z)}array(f,w,Z){const ye=f.map(yt=>this._createControl(yt));return new _n(ye,w,Z)}_reduceControls(f){const w={};return Object.keys(f).forEach(Z=>{w[Z]=this._createControl(f[Z])}),w}_createControl(f){return f instanceof On||f instanceof Ft||f instanceof _n?f:Array.isArray(f)?this.control(f[0],f.length>1?f[1]:null,f.length>2?f[2]:null):this.control(f)}}return y.\u0275fac=function(f){return new(f||y)},y.\u0275prov=p.\u0275\u0275defineInjectable({token:y,factory:y.\u0275fac,providedIn:et}),y})();const Zt=new p.Version("13.1.1")},278:(We,ce,L)=>{"use strict";L.r(ce),L.d(ce,{ANIMATION_MODULE_TYPE:()=>f,BrowserAnimationsModule:()=>yt,NoopAnimationsModule:()=>Dn,\u0275AnimationRenderer:()=>wt,\u0275AnimationRendererFactory:()=>Ct,\u0275BrowserAnimationBuilder:()=>m,\u0275BrowserAnimationFactory:()=>b,\u0275InjectableAnimationEngine:()=>tt});var p=L(999),N=L(800),ae=L(19);function he(){return"undefined"!=typeof window&&void 0!==window.document}function pe(){return"undefined"!=typeof process&&"[object process]"==={}.toString.call(process)}function Q(v){switch(v.length){case 0:return new ae.NoopAnimationPlayer;case 1:return v[0];default:return new ae.\u0275AnimationGroupPlayer(v)}}function Ee(v,o,l,d,D={},M={}){const S=[],T=[];let B=-1,ee=null;if(d.forEach(ve=>{const Pe=ve.offset,je=Pe==B,it=je&&ee||{};Object.keys(ve).forEach(Le=>{let _e=Le,dt=ve[Le];if("offset"!==Le)switch(_e=o.normalizePropertyName(_e,S),dt){case ae.\u0275PRE_STYLE:dt=D[Le];break;case ae.AUTO_STYLE:dt=M[Le];break;default:dt=o.normalizeStyleValue(Le,_e,dt,S)}it[_e]=dt}),je||T.push(it),ee=it,B=Pe}),S.length){const ve="\n - ";throw new Error(`Unable to animate due to the following errors:${ve}${S.join(ve)}`)}return T}function V(v,o,l,d){switch(o){case"start":v.onStart(()=>d(l&&de(l,"start",v)));break;case"done":v.onDone(()=>d(l&&de(l,"done",v)));break;case"destroy":v.onDestroy(()=>d(l&&de(l,"destroy",v)))}}function de(v,o,l){const d=l.totalTime,M=ie(v.element,v.triggerName,v.fromState,v.toState,o||v.phaseName,null==d?v.totalTime:d,!!l.disabled),S=v._data;return null!=S&&(M._data=S),M}function ie(v,o,l,d,D="",M=0,S){return{element:v,triggerName:o,fromState:l,toState:d,phaseName:D,totalTime:M,disabled:!!S}}function fe(v,o,l){let d;return v instanceof Map?(d=v.get(o),d||v.set(o,d=l)):(d=v[o],d||(d=v[o]=l)),d}function qe(v){const o=v.indexOf(":");return[v.substring(1,o),v.substr(o+1)]}let Ke=(v,o)=>!1,me=(v,o,l)=>[];(pe()||"undefined"!=typeof Element)&&(Ke=he()?(v,o)=>{for(;o&&o!==document.documentElement;){if(o===v)return!0;o=o.parentNode||o.host}return!1}:(v,o)=>v.contains(o),me=(v,o,l)=>{let d=[];if(l){const D=v.querySelectorAll(o);for(let M=0;M<D.length;M++)d.push(D[M])}else{const D=v.querySelector(o);D&&d.push(D)}return d});let ne=null,ge=!1;function X(v){ne||(ne=("undefined"!=typeof document?document.body:null)||{},ge=!!ne.style&&"WebkitAppearance"in ne.style);let o=!0;return ne.style&&!function(v){return"ebkit"==v.substring(1,6)}(v)&&(o=v in ne.style,!o&&ge&&(o="Webkit"+v.charAt(0).toUpperCase()+v.substr(1)in ne.style)),o}const W=Ke,$=me;function we(v){const o={};return Object.keys(v).forEach(l=>{const d=l.replace(/([a-z])([A-Z])/g,"$1-$2");o[d]=v[l]}),o}let ot=(()=>{class v{validateStyleProperty(l){return X(l)}matchesElement(l,d){return!1}containsElement(l,d){return W(l,d)}query(l,d,D){return $(l,d,D)}computeStyle(l,d,D){return D||""}animate(l,d,D,M,S,T=[],B){return new ae.NoopAnimationPlayer(D,M)}}return v.\u0275fac=function(l){return new(l||v)},v.\u0275prov=p.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac}),v})(),Re=(()=>{class v{}return v.NOOP=new ot,v})();const j="ng-enter",K="ng-leave",z="ng-trigger",G=".ng-trigger",Ne="ng-animating",rt=".ng-animating";function Se(v){if("number"==typeof v)return v;const o=v.match(/^(-?[\.\d]+)(m?s)/);return!o||o.length<2?0:$e(parseFloat(o[1]),o[2])}function $e(v,o){return"s"===o?1e3*v:v}function St(v,o,l){return v.hasOwnProperty("duration")?v:function(v,o,l){let D,M=0,S="";if("string"==typeof v){const T=v.match(/^(-?[\.\d]+)(m?s)(?:\s+(-?[\.\d]+)(m?s))?(?:\s+([-a-z]+(?:\(.+?\))?))?$/i);if(null===T)return o.push(`The provided timing value "${v}" is invalid.`),{duration:0,delay:0,easing:""};D=$e(parseFloat(T[1]),T[2]);const B=T[3];null!=B&&(M=$e(parseFloat(B),T[4]));const ee=T[5];ee&&(S=ee)}else D=v;if(!l){let T=!1,B=o.length;D<0&&(o.push("Duration values below 0 are not allowed for this animation step."),T=!0),M<0&&(o.push("Delay values below 0 are not allowed for this animation step."),T=!0),T&&o.splice(B,0,`The provided timing value "${v}" is invalid.`)}return{duration:D,delay:M,easing:S}}(v,o,l)}function Dt(v,o={}){return Object.keys(v).forEach(l=>{o[l]=v[l]}),o}function Ie(v,o,l={}){if(o)for(let d in v)l[d]=v[d];else Dt(v,l);return l}function Et(v,o,l){return l?o+":"+l+";":""}function cn(v){let o="";for(let l=0;l<v.style.length;l++){const d=v.style.item(l);o+=Et(0,d,v.style.getPropertyValue(d))}for(const l in v.style)v.style.hasOwnProperty(l)&&!l.startsWith("_")&&(o+=Et(0,di(l),v.style[l]));v.setAttribute("style",o)}function bt(v,o,l){v.style&&(Object.keys(o).forEach(d=>{const D=Kn(d);l&&!l.hasOwnProperty(d)&&(l[d]=v.style[D]),v.style[D]=o[d]}),pe()&&cn(v))}function dn(v,o){v.style&&(Object.keys(o).forEach(l=>{const d=Kn(l);v.style[d]=""}),pe()&&cn(v))}function wn(v){return Array.isArray(v)?1==v.length?v[0]:(0,ae.sequence)(v):v}const Pr=new RegExp("{{\\s*(.+?)\\s*}}","g");function Or(v){let o=[];if("string"==typeof v){let l;for(;l=Pr.exec(v);)o.push(l[1]);Pr.lastIndex=0}return o}function Jn(v,o,l){const d=v.toString(),D=d.replace(Pr,(M,S)=>{let T=o[S];return o.hasOwnProperty(S)||(l.push(`Please provide a value for the animation param ${S}`),T=""),T.toString()});return D==d?v:D}function kt(v){const o=[];let l=v.next();for(;!l.done;)o.push(l.value),l=v.next();return o}const qr=/-+([a-z0-9])/g;function Kn(v){return v.replace(qr,(...o)=>o[1].toUpperCase())}function di(v){return v.replace(/([a-z])([A-Z])/g,"$1-$2").toLowerCase()}function en(v,o){return 0===v||0===o}function qn(v,o,l){const d=Object.keys(l);if(d.length&&o.length){let M=o[0],S=[];if(d.forEach(T=>{M.hasOwnProperty(T)||S.push(T),M[T]=l[T]}),S.length)for(var D=1;D<o.length;D++){let T=o[D];S.forEach(function(B){T[B]=Qn(v,B)})}}return o}function Bt(v,o,l){switch(o.type){case 7:return v.visitTrigger(o,l);case 0:return v.visitState(o,l);case 1:return v.visitTransition(o,l);case 2:return v.visitSequence(o,l);case 3:return v.visitGroup(o,l);case 4:return v.visitAnimate(o,l);case 5:return v.visitKeyframes(o,l);case 6:return v.visitStyle(o,l);case 8:return v.visitReference(o,l);case 9:return v.visitAnimateChild(o,l);case 10:return v.visitAnimateRef(o,l);case 11:return v.visitQuery(o,l);case 12:return v.visitStagger(o,l);default:throw new Error(`Unable to resolve animation metadata node #${o.type}`)}}function Qn(v,o){return window.getComputedStyle(v)[o]}function tn(v,o){const l=[];return"string"==typeof v?v.split(/\s*,\s*/).forEach(d=>function(v,o,l){if(":"==v[0]){const B=function(v,o){switch(v){case":enter":return"void => *";case":leave":return"* => void";case":increment":return(l,d)=>parseFloat(d)>parseFloat(l);case":decrement":return(l,d)=>parseFloat(d)<parseFloat(l);default:return o.push(`The transition alias value "${v}" is not supported`),"* => *"}}(v,l);if("function"==typeof B)return void o.push(B);v=B}const d=v.match(/^(\*|[-\w]+)\s*(<?[=-]>)\s*(\*|[-\w]+)$/);if(null==d||d.length<4)return l.push(`The provided transition expression "${v}" is not supported`),o;const D=d[1],M=d[2],S=d[3];o.push(Te(D,S));"<"==M[0]&&!("*"==D&&"*"==S)&&o.push(Te(S,D))}(d,l,o)):l.push(v),l}const Ye=new Set(["true","1"]),xe=new Set(["false","0"]);function Te(v,o){const l=Ye.has(v)||xe.has(v),d=Ye.has(o)||xe.has(o);return(D,M)=>{let S="*"==v||v==D,T="*"==o||o==M;return!S&&l&&"boolean"==typeof D&&(S=D?Ye.has(v):xe.has(v)),!T&&d&&"boolean"==typeof M&&(T=M?Ye.has(o):xe.has(o)),S&&T}}const Tn=new RegExp("s*:selfs*,?","g");function Ht(v,o,l){return new Kt(v).build(o,l)}class Kt{constructor(o){this._driver=o}build(o,l){const d=new er(l);return this._resetContextStyleTimingState(d),Bt(this,wn(o),d)}_resetContextStyleTimingState(o){o.currentQuerySelector="",o.collectedStyles={},o.collectedStyles[""]={},o.currentTime=0}visitTrigger(o,l){let d=l.queryCount=0,D=l.depCount=0;const M=[],S=[];return"@"==o.name.charAt(0)&&l.errors.push("animation triggers cannot be prefixed with an `@` sign (e.g. trigger('@foo', [...]))"),o.definitions.forEach(T=>{if(this._resetContextStyleTimingState(l),0==T.type){const B=T,ee=B.name;ee.toString().split(/\s*,\s*/).forEach(ve=>{B.name=ve,M.push(this.visitState(B,l))}),B.name=ee}else if(1==T.type){const B=this.visitTransition(T,l);d+=B.queryCount,D+=B.depCount,S.push(B)}else l.errors.push("only state() and transition() definitions can sit inside of a trigger()")}),{type:7,name:o.name,states:M,transitions:S,queryCount:d,depCount:D,options:null}}visitState(o,l){const d=this.visitStyle(o.styles,l),D=o.options&&o.options.params||null;if(d.containsDynamicStyles){const M=new Set,S=D||{};if(d.styles.forEach(T=>{if(hr(T)){const B=T;Object.keys(B).forEach(ee=>{Or(B[ee]).forEach(ve=>{S.hasOwnProperty(ve)||M.add(ve)})})}}),M.size){const T=kt(M.values());l.errors.push(`state("${o.name}", ...) must define default values for all the following style substitutions: ${T.join(", ")}`)}}return{type:0,name:o.name,style:d,options:D?{params:D}:null}}visitTransition(o,l){l.queryCount=0,l.depCount=0;const d=Bt(this,wn(o.animation),l);return{type:1,matchers:tn(o.expr,l.errors),animation:d,queryCount:l.queryCount,depCount:l.depCount,options:Ve(o.options)}}visitSequence(o,l){return{type:2,steps:o.steps.map(d=>Bt(this,d,l)),options:Ve(o.options)}}visitGroup(o,l){const d=l.currentTime;let D=0;const M=o.steps.map(S=>{l.currentTime=d;const T=Bt(this,S,l);return D=Math.max(D,l.currentTime),T});return l.currentTime=D,{type:3,steps:M,options:Ve(o.options)}}visitAnimate(o,l){const d=function(v,o){let l=null;if(v.hasOwnProperty("duration"))l=v;else if("number"==typeof v)return mn(St(v,o).duration,0,"");const d=v;if(d.split(/\s+/).some(M=>"{"==M.charAt(0)&&"{"==M.charAt(1))){const M=mn(0,0,"");return M.dynamic=!0,M.strValue=d,M}return l=l||St(d,o),mn(l.duration,l.delay,l.easing)}(o.timings,l.errors);l.currentAnimateTimings=d;let D,M=o.styles?o.styles:(0,ae.style)({});if(5==M.type)D=this.visitKeyframes(M,l);else{let S=o.styles,T=!1;if(!S){T=!0;const ee={};d.easing&&(ee.easing=d.easing),S=(0,ae.style)(ee)}l.currentTime+=d.duration+d.delay;const B=this.visitStyle(S,l);B.isEmptyStep=T,D=B}return l.currentAnimateTimings=null,{type:4,timings:d,style:D,options:null}}visitStyle(o,l){const d=this._makeStyleAst(o,l);return this._validateStyleAst(d,l),d}_makeStyleAst(o,l){const d=[];Array.isArray(o.styles)?o.styles.forEach(S=>{"string"==typeof S?S==ae.AUTO_STYLE?d.push(S):l.errors.push(`The provided style string value ${S} is not allowed.`):d.push(S)}):d.push(o.styles);let D=!1,M=null;return d.forEach(S=>{if(hr(S)){const T=S,B=T.easing;if(B&&(M=B,delete T.easing),!D)for(let ee in T)if(T[ee].toString().indexOf("{{")>=0){D=!0;break}}}),{type:6,styles:d,easing:M,offset:o.offset,containsDynamicStyles:D,options:null}}_validateStyleAst(o,l){const d=l.currentAnimateTimings;let D=l.currentTime,M=l.currentTime;d&&M>0&&(M-=d.duration+d.delay),o.styles.forEach(S=>{"string"!=typeof S&&Object.keys(S).forEach(T=>{if(!this._driver.validateStyleProperty(T))return void l.errors.push(`The provided animation property "${T}" is not a supported CSS property for animations`);const B=l.collectedStyles[l.currentQuerySelector],ee=B[T];let ve=!0;ee&&(M!=D&&M>=ee.startTime&&D<=ee.endTime&&(l.errors.push(`The CSS property "${T}" that exists between the times of "${ee.startTime}ms" and "${ee.endTime}ms" is also being animated in a parallel animation between the times of "${M}ms" and "${D}ms"`),ve=!1),M=ee.startTime),ve&&(B[T]={startTime:M,endTime:D}),l.options&&function(v,o,l){const d=o.params||{},D=Or(v);D.length&&D.forEach(M=>{d.hasOwnProperty(M)||l.push(`Unable to resolve the local animation param ${M} in the given list of values`)})}(S[T],l.options,l.errors)})})}visitKeyframes(o,l){const d={type:5,styles:[],options:null};if(!l.currentAnimateTimings)return l.errors.push("keyframes() must be placed inside of a call to animate()"),d;let M=0;const S=[];let T=!1,B=!1,ee=0;const ve=o.steps.map(Vt=>{const zt=this._makeStyleAst(Vt,l);let Sn=null!=zt.offset?zt.offset:function(v){if("string"==typeof v)return null;let o=null;if(Array.isArray(v))v.forEach(l=>{if(hr(l)&&l.hasOwnProperty("offset")){const d=l;o=parseFloat(d.offset),delete d.offset}});else if(hr(v)&&v.hasOwnProperty("offset")){const l=v;o=parseFloat(l.offset),delete l.offset}return o}(zt.styles),ln=0;return null!=Sn&&(M++,ln=zt.offset=Sn),B=B||ln<0||ln>1,T=T||ln<ee,ee=ln,S.push(ln),zt});B&&l.errors.push("Please ensure that all keyframe offsets are between 0 and 1"),T&&l.errors.push("Please ensure that all keyframe offsets are in order");const Pe=o.steps.length;let je=0;M>0&&M<Pe?l.errors.push("Not all style() steps within the declared keyframes() contain offsets"):0==M&&(je=1/(Pe-1));const it=Pe-1,Le=l.currentTime,_e=l.currentAnimateTimings,dt=_e.duration;return ve.forEach((Vt,zt)=>{const Sn=je>0?zt==it?1:je*zt:S[zt],ln=Sn*dt;l.currentTime=Le+_e.delay+ln,_e.duration=ln,this._validateStyleAst(Vt,l),Vt.offset=Sn,d.styles.push(Vt)}),d}visitReference(o,l){return{type:8,animation:Bt(this,wn(o.animation),l),options:Ve(o.options)}}visitAnimateChild(o,l){return l.depCount++,{type:9,options:Ve(o.options)}}visitAnimateRef(o,l){return{type:10,animation:this.visitReference(o.animation,l),options:Ve(o.options)}}visitQuery(o,l){const d=l.currentQuerySelector,D=o.options||{};l.queryCount++,l.currentQuery=o;const[M,S]=function(v){const o=!!v.split(/\s*,\s*/).find(l=>":self"==l);return o&&(v=v.replace(Tn,"")),v=v.replace(/@\*/g,G).replace(/@\w+/g,l=>G+"-"+l.substr(1)).replace(/:animating/g,rt),[v,o]}(o.selector);l.currentQuerySelector=d.length?d+" "+M:M,fe(l.collectedStyles,l.currentQuerySelector,{});const T=Bt(this,wn(o.animation),l);return l.currentQuery=null,l.currentQuerySelector=d,{type:11,selector:M,limit:D.limit||0,optional:!!D.optional,includeSelf:S,animation:T,originalSelector:o.selector,options:Ve(o.options)}}visitStagger(o,l){l.currentQuery||l.errors.push("stagger() can only be used inside of query()");const d="full"===o.timings?{duration:0,delay:0,easing:"full"}:St(o.timings,l.errors,!0);return{type:12,animation:Bt(this,wn(o.animation),l),timings:d,options:null}}}class er{constructor(o){this.errors=o,this.queryCount=0,this.depCount=0,this.currentTransition=null,this.currentQuery=null,this.currentQuerySelector=null,this.currentAnimateTimings=null,this.currentTime=0,this.collectedStyles={},this.options=null}}function hr(v){return!Array.isArray(v)&&"object"==typeof v}function Ve(v){return v?(v=Dt(v)).params&&(v.params=function(v){return v?Dt(v):null}(v.params)):v={},v}function mn(v,o,l){return{duration:v,delay:o,easing:l}}function pr(v,o,l,d,D,M,S=null,T=!1){return{type:1,element:v,keyframes:o,preStyleProps:l,postStyleProps:d,duration:D,delay:M,totalTime:D+M,easing:S,subTimeline:T}}class nn{constructor(){this._map=new Map}get(o){return this._map.get(o)||[]}append(o,l){let d=this._map.get(o);d||this._map.set(o,d=[]),d.push(...l)}has(o){return this._map.has(o)}clear(){this._map.clear()}}const Ut=new RegExp(":enter","g"),Pt=new RegExp(":leave","g");function tr(v,o,l,d,D,M={},S={},T,B,ee=[]){return(new O).buildKeyframes(v,o,l,d,D,M,S,T,B,ee)}class O{buildKeyframes(o,l,d,D,M,S,T,B,ee,ve=[]){ee=ee||new nn;const Pe=new A(o,l,ee,D,M,ve,[]);Pe.options=B,Pe.currentTimeline.setStyles([S],null,Pe.errors,B),Bt(this,d,Pe);const je=Pe.timelines.filter(it=>it.containsAnimation());if(je.length&&Object.keys(T).length){const it=je[je.length-1];it.allowOnlyTimelineStyles()||it.setStyles([T],null,Pe.errors,B)}return je.length?je.map(it=>it.buildKeyframes()):[pr(l,[],[],[],0,0,"",!1)]}visitTrigger(o,l){}visitState(o,l){}visitTransition(o,l){}visitAnimateChild(o,l){const d=l.subInstructions.get(l.element);if(d){const D=l.createSubContext(o.options),M=l.currentTimeline.currentTime,S=this._visitSubInstructions(d,D,D.options);M!=S&&l.transformIntoNewTimeline(S)}l.previousNode=o}visitAnimateRef(o,l){const d=l.createSubContext(o.options);d.transformIntoNewTimeline(),this.visitReference(o.animation,d),l.transformIntoNewTimeline(d.currentTimeline.currentTime),l.previousNode=o}_visitSubInstructions(o,l,d){let M=l.currentTimeline.currentTime;const S=null!=d.duration?Se(d.duration):null,T=null!=d.delay?Se(d.delay):null;return 0!==S&&o.forEach(B=>{const ee=l.appendInstructionToTimeline(B,S,T);M=Math.max(M,ee.duration+ee.delay)}),M}visitReference(o,l){l.updateOptions(o.options,!0),Bt(this,o.animation,l),l.previousNode=o}visitSequence(o,l){const d=l.subContextCount;let D=l;const M=o.options;if(M&&(M.params||M.delay)&&(D=l.createSubContext(M),D.transformIntoNewTimeline(),null!=M.delay)){6==D.previousNode.type&&(D.currentTimeline.snapshotCurrentStyles(),D.previousNode=x);const S=Se(M.delay);D.delayNextStep(S)}o.steps.length&&(o.steps.forEach(S=>Bt(this,S,D)),D.currentTimeline.applyStylesToKeyframe(),D.subContextCount>d&&D.transformIntoNewTimeline()),l.previousNode=o}visitGroup(o,l){const d=[];let D=l.currentTimeline.currentTime;const M=o.options&&o.options.delay?Se(o.options.delay):0;o.steps.forEach(S=>{const T=l.createSubContext(o.options);M&&T.delayNextStep(M),Bt(this,S,T),D=Math.max(D,T.currentTimeline.currentTime),d.push(T.currentTimeline)}),d.forEach(S=>l.currentTimeline.mergeTimelineCollectedStyles(S)),l.transformIntoNewTimeline(D),l.previousNode=o}_visitTiming(o,l){if(o.dynamic){const d=o.strValue;return St(l.params?Jn(d,l.params,l.errors):d,l.errors)}return{duration:o.duration,delay:o.delay,easing:o.easing}}visitAnimate(o,l){const d=l.currentAnimateTimings=this._visitTiming(o.timings,l),D=l.currentTimeline;d.delay&&(l.incrementTime(d.delay),D.snapshotCurrentStyles());const M=o.style;5==M.type?this.visitKeyframes(M,l):(l.incrementTime(d.duration),this.visitStyle(M,l),D.applyStylesToKeyframe()),l.currentAnimateTimings=null,l.previousNode=o}visitStyle(o,l){const d=l.currentTimeline,D=l.currentAnimateTimings;!D&&d.getCurrentStyleProperties().length&&d.forwardFrame();const M=D&&D.easing||o.easing;o.isEmptyStep?d.applyEmptyStep(M):d.setStyles(o.styles,M,l.errors,l.options),l.previousNode=o}visitKeyframes(o,l){const d=l.currentAnimateTimings,D=l.currentTimeline.duration,M=d.duration,T=l.createSubContext().currentTimeline;T.easing=d.easing,o.styles.forEach(B=>{T.forwardTime((B.offset||0)*M),T.setStyles(B.styles,B.easing,l.errors,l.options),T.applyStylesToKeyframe()}),l.currentTimeline.mergeTimelineCollectedStyles(T),l.transformIntoNewTimeline(D+M),l.previousNode=o}visitQuery(o,l){const d=l.currentTimeline.currentTime,D=o.options||{},M=D.delay?Se(D.delay):0;M&&(6===l.previousNode.type||0==d&&l.currentTimeline.getCurrentStyleProperties().length)&&(l.currentTimeline.snapshotCurrentStyles(),l.previousNode=x);let S=d;const T=l.invokeQuery(o.selector,o.originalSelector,o.limit,o.includeSelf,!!D.optional,l.errors);l.currentQueryTotal=T.length;let B=null;T.forEach((ee,ve)=>{l.currentQueryIndex=ve;const Pe=l.createSubContext(o.options,ee);M&&Pe.delayNextStep(M),ee===l.element&&(B=Pe.currentTimeline),Bt(this,o.animation,Pe),Pe.currentTimeline.applyStylesToKeyframe(),S=Math.max(S,Pe.currentTimeline.currentTime)}),l.currentQueryIndex=0,l.currentQueryTotal=0,l.transformIntoNewTimeline(S),B&&(l.currentTimeline.mergeTimelineCollectedStyles(B),l.currentTimeline.snapshotCurrentStyles()),l.previousNode=o}visitStagger(o,l){const d=l.parentContext,D=l.currentTimeline,M=o.timings,S=Math.abs(M.duration),T=S*(l.currentQueryTotal-1);let B=S*l.currentQueryIndex;switch(M.duration<0?"reverse":M.easing){case"reverse":B=T-B;break;case"full":B=d.currentStaggerTime}const ve=l.currentTimeline;B&&ve.delayNextStep(B);const Pe=ve.currentTime;Bt(this,o.animation,l),l.previousNode=o,d.currentStaggerTime=D.currentTime-Pe+(D.startTime-d.currentTimeline.startTime)}}const x={};class A{constructor(o,l,d,D,M,S,T,B){this._driver=o,this.element=l,this.subInstructions=d,this._enterClassName=D,this._leaveClassName=M,this.errors=S,this.timelines=T,this.parentContext=null,this.currentAnimateTimings=null,this.previousNode=x,this.subContextCount=0,this.options={},this.currentQueryIndex=0,this.currentQueryTotal=0,this.currentStaggerTime=0,this.currentTimeline=B||new R(this._driver,l,0),T.push(this.currentTimeline)}get params(){return this.options.params}updateOptions(o,l){if(!o)return;const d=o;let D=this.options;null!=d.duration&&(D.duration=Se(d.duration)),null!=d.delay&&(D.delay=Se(d.delay));const M=d.params;if(M){let S=D.params;S||(S=this.options.params={}),Object.keys(M).forEach(T=>{(!l||!S.hasOwnProperty(T))&&(S[T]=Jn(M[T],S,this.errors))})}}_copyOptions(){const o={};if(this.options){const l=this.options.params;if(l){const d=o.params={};Object.keys(l).forEach(D=>{d[D]=l[D]})}}return o}createSubContext(o=null,l,d){const D=l||this.element,M=new A(this._driver,D,this.subInstructions,this._enterClassName,this._leaveClassName,this.errors,this.timelines,this.currentTimeline.fork(D,d||0));return M.previousNode=this.previousNode,M.currentAnimateTimings=this.currentAnimateTimings,M.options=this._copyOptions(),M.updateOptions(o),M.currentQueryIndex=this.currentQueryIndex,M.currentQueryTotal=this.currentQueryTotal,M.parentContext=this,this.subContextCount++,M}transformIntoNewTimeline(o){return this.previousNode=x,this.currentTimeline=this.currentTimeline.fork(this.element,o),this.timelines.push(this.currentTimeline),this.currentTimeline}appendInstructionToTimeline(o,l,d){const D={duration:null!=l?l:o.duration,delay:this.currentTimeline.currentTime+(null!=d?d:0)+o.delay,easing:""},M=new te(this._driver,o.element,o.keyframes,o.preStyleProps,o.postStyleProps,D,o.stretchStartingKeyframe);return this.timelines.push(M),D}incrementTime(o){this.currentTimeline.forwardTime(this.currentTimeline.duration+o)}delayNextStep(o){o>0&&this.currentTimeline.delayNextStep(o)}invokeQuery(o,l,d,D,M,S){let T=[];if(D&&T.push(this.element),o.length>0){o=(o=o.replace(Ut,"."+this._enterClassName)).replace(Pt,"."+this._leaveClassName);let ee=this._driver.query(this.element,o,1!=d);0!==d&&(ee=d<0?ee.slice(ee.length+d,ee.length):ee.slice(0,d)),T.push(...ee)}return!M&&0==T.length&&S.push(`\`query("${l}")\` returned zero elements. (Use \`query("${l}", { optional: true })\` if you wish to allow this.)`),T}}class R{constructor(o,l,d,D){this._driver=o,this.element=l,this.startTime=d,this._elementTimelineStylesLookup=D,this.duration=0,this._previousKeyframe={},this._currentKeyframe={},this._keyframes=new Map,this._styleSummary={},this._pendingStyles={},this._backFill={},this._currentEmptyStepKeyframe=null,this._elementTimelineStylesLookup||(this._elementTimelineStylesLookup=new Map),this._localTimelineStyles=Object.create(this._backFill,{}),this._globalTimelineStyles=this._elementTimelineStylesLookup.get(l),this._globalTimelineStyles||(this._globalTimelineStyles=this._localTimelineStyles,this._elementTimelineStylesLookup.set(l,this._localTimelineStyles)),this._loadKeyframe()}containsAnimation(){switch(this._keyframes.size){case 0:return!1;case 1:return this.getCurrentStyleProperties().length>0;default:return!0}}getCurrentStyleProperties(){return Object.keys(this._currentKeyframe)}get currentTime(){return this.startTime+this.duration}delayNextStep(o){const l=1==this._keyframes.size&&Object.keys(this._pendingStyles).length;this.duration||l?(this.forwardTime(this.currentTime+o),l&&this.snapshotCurrentStyles()):this.startTime+=o}fork(o,l){return this.applyStylesToKeyframe(),new R(this._driver,o,l||this.currentTime,this._elementTimelineStylesLookup)}_loadKeyframe(){this._currentKeyframe&&(this._previousKeyframe=this._currentKeyframe),this._currentKeyframe=this._keyframes.get(this.duration),this._currentKeyframe||(this._currentKeyframe=Object.create(this._backFill,{}),this._keyframes.set(this.duration,this._currentKeyframe))}forwardFrame(){this.duration+=1,this._loadKeyframe()}forwardTime(o){this.applyStylesToKeyframe(),this.duration=o,this._loadKeyframe()}_updateStyle(o,l){this._localTimelineStyles[o]=l,this._globalTimelineStyles[o]=l,this._styleSummary[o]={time:this.currentTime,value:l}}allowOnlyTimelineStyles(){return this._currentEmptyStepKeyframe!==this._currentKeyframe}applyEmptyStep(o){o&&(this._previousKeyframe.easing=o),Object.keys(this._globalTimelineStyles).forEach(l=>{this._backFill[l]=this._globalTimelineStyles[l]||ae.AUTO_STYLE,this._currentKeyframe[l]=ae.AUTO_STYLE}),this._currentEmptyStepKeyframe=this._currentKeyframe}setStyles(o,l,d,D){l&&(this._previousKeyframe.easing=l);const M=D&&D.params||{},S=function(v,o){const l={};let d;return v.forEach(D=>{"*"===D?(d=d||Object.keys(o),d.forEach(M=>{l[M]=ae.AUTO_STYLE})):Ie(D,!1,l)}),l}(o,this._globalTimelineStyles);Object.keys(S).forEach(T=>{const B=Jn(S[T],M,d);this._pendingStyles[T]=B,this._localTimelineStyles.hasOwnProperty(T)||(this._backFill[T]=this._globalTimelineStyles.hasOwnProperty(T)?this._globalTimelineStyles[T]:ae.AUTO_STYLE),this._updateStyle(T,B)})}applyStylesToKeyframe(){const o=this._pendingStyles,l=Object.keys(o);0!=l.length&&(this._pendingStyles={},l.forEach(d=>{this._currentKeyframe[d]=o[d]}),Object.keys(this._localTimelineStyles).forEach(d=>{this._currentKeyframe.hasOwnProperty(d)||(this._currentKeyframe[d]=this._localTimelineStyles[d])}))}snapshotCurrentStyles(){Object.keys(this._localTimelineStyles).forEach(o=>{const l=this._localTimelineStyles[o];this._pendingStyles[o]=l,this._updateStyle(o,l)})}getFinalKeyframe(){return this._keyframes.get(this.duration)}get properties(){const o=[];for(let l in this._currentKeyframe)o.push(l);return o}mergeTimelineCollectedStyles(o){Object.keys(o._styleSummary).forEach(l=>{const d=this._styleSummary[l],D=o._styleSummary[l];(!d||D.time>d.time)&&this._updateStyle(l,D.value)})}buildKeyframes(){this.applyStylesToKeyframe();const o=new Set,l=new Set,d=1===this._keyframes.size&&0===this.duration;let D=[];this._keyframes.forEach((T,B)=>{const ee=Ie(T,!0);Object.keys(ee).forEach(ve=>{const Pe=ee[ve];Pe==ae.\u0275PRE_STYLE?o.add(ve):Pe==ae.AUTO_STYLE&&l.add(ve)}),d||(ee.offset=B/this.duration),D.push(ee)});const M=o.size?kt(o.values()):[],S=l.size?kt(l.values()):[];if(d){const T=D[0],B=Dt(T);T.offset=0,B.offset=1,D=[T,B]}return pr(this.element,D,M,S,this.duration,this.startTime,this.easing,!1)}}class te extends R{constructor(o,l,d,D,M,S,T=!1){super(o,l,S.delay),this.keyframes=d,this.preStyleProps=D,this.postStyleProps=M,this._stretchStartingKeyframe=T,this.timings={duration:S.duration,delay:S.delay,easing:S.easing}}containsAnimation(){return this.keyframes.length>1}buildKeyframes(){let o=this.keyframes,{delay:l,duration:d,easing:D}=this.timings;if(this._stretchStartingKeyframe&&l){const M=[],S=d+l,T=l/S,B=Ie(o[0],!1);B.offset=0,M.push(B);const ee=Ie(o[0],!1);ee.offset=be(T),M.push(ee);const ve=o.length-1;for(let Pe=1;Pe<=ve;Pe++){let je=Ie(o[Pe],!1);je.offset=be((l+je.offset*d)/S),M.push(je)}d=S,l=0,D="",o=M}return pr(this.element,o,this.preStyleProps,this.postStyleProps,d,l,D,!0)}}function be(v,o=3){const l=Math.pow(10,o-1);return Math.round(v*l)/l}class Tt{}class nr extends Tt{normalizePropertyName(o,l){return Kn(o)}normalizeStyleValue(o,l,d,D){let M="";const S=d.toString().trim();if(gr[l]&&0!==d&&"0"!==d)if("number"==typeof d)M="px";else{const T=d.match(/^[+-]?[\d\.]+([a-z]*)$/);T&&0==T[1].length&&D.push(`Please provide a CSS unit value for ${o}:${d}`)}return S+M}}const gr=(()=>function(v){const o={};return v.forEach(l=>o[l]=!0),o}("width,height,minWidth,minHeight,maxWidth,maxHeight,left,top,bottom,right,fontSize,outlineWidth,outlineOffset,paddingTop,paddingLeft,paddingBottom,paddingRight,marginTop,marginLeft,marginBottom,marginRight,borderRadius,borderWidth,borderTopWidth,borderLeftWidth,borderRightWidth,borderBottomWidth,textIndent,perspective".split(",")))();function Hn(v,o,l,d,D,M,S,T,B,ee,ve,Pe,je){return{type:0,element:v,triggerName:o,isRemovalTransition:D,fromState:l,fromStyles:M,toState:d,toStyles:S,timelines:T,queriedElements:B,preStyleProps:ee,postStyleProps:ve,totalTime:Pe,errors:je}}const bn={};class yn{constructor(o,l,d){this._triggerName=o,this.ast=l,this._stateStyles=d}match(o,l,d,D){return function(v,o,l,d,D){return v.some(M=>M(o,l,d,D))}(this.ast.matchers,o,l,d,D)}buildStyles(o,l,d){const D=this._stateStyles["*"],M=this._stateStyles[o],S=D?D.buildStyles(l,d):{};return M?M.buildStyles(l,d):S}build(o,l,d,D,M,S,T,B,ee,ve){const Pe=[],je=this.ast.options&&this.ast.options.params||bn,Le=this.buildStyles(d,T&&T.params||bn,Pe),_e=B&&B.params||bn,dt=this.buildStyles(D,_e,Pe),Vt=new Set,zt=new Map,Sn=new Map,ln="void"===D,_i={params:Object.assign(Object.assign({},je),_e)},or=ve?[]:tr(o,l,this.ast.animation,M,S,Le,dt,_i,ee,Pe);let re=0;if(or.forEach(Sr=>{re=Math.max(Sr.duration+Sr.delay,re)}),Pe.length)return Hn(l,this._triggerName,d,D,ln,Le,dt,[],[],zt,Sn,re,Pe);or.forEach(Sr=>{const It=Sr.element,Bs=fe(zt,It,{});Sr.preStyleProps.forEach(En=>Bs[En]=!0);const jr=fe(Sn,It,{});Sr.postStyleProps.forEach(En=>jr[En]=!0),It!==l&&Vt.add(It)});const Je=kt(Vt.values());return Hn(l,this._triggerName,d,D,ln,Le,dt,or,Je,zt,Sn,re)}}class Pn{constructor(o,l,d){this.styles=o,this.defaultParams=l,this.normalizer=d}buildStyles(o,l){const d={},D=Dt(this.defaultParams);return Object.keys(o).forEach(M=>{const S=o[M];null!=S&&(D[M]=S)}),this.styles.styles.forEach(M=>{if("string"!=typeof M){const S=M;Object.keys(S).forEach(T=>{let B=S[T];B.length>1&&(B=Jn(B,D,l));const ee=this.normalizer.normalizePropertyName(T,l);B=this.normalizer.normalizeStyleValue(T,ee,B,l),d[ee]=B})}}),d}}class wi{constructor(o,l,d){this.name=o,this.ast=l,this._normalizer=d,this.transitionFactories=[],this.states={},l.states.forEach(D=>{this.states[D.name]=new Pn(D.style,D.options&&D.options.params||{},d)}),_r(this.states,"true","1"),_r(this.states,"false","0"),l.transitions.forEach(D=>{this.transitionFactories.push(new yn(o,D,this.states))}),this.fallbackTransition=function(v,o,l){return new yn(v,{type:1,animation:{type:2,steps:[],options:null},matchers:[(S,T)=>!0],options:null,queryCount:0,depCount:0},o)}(o,this.states)}get containsQueries(){return this.ast.queryCount>0}matchTransition(o,l,d,D){return this.transitionFactories.find(S=>S.match(o,l,d,D))||null}matchStyles(o,l,d){return this.fallbackTransition.buildStyles(o,l,d)}}function _r(v,o,l){v.hasOwnProperty(o)?v.hasOwnProperty(l)||(v[l]=v[o]):v.hasOwnProperty(l)&&(v[o]=v[l])}const Un=new nn;class Zr{constructor(o,l,d){this.bodyNode=o,this._driver=l,this._normalizer=d,this._animations={},this._playersById={},this.players=[]}register(o,l){const d=[],D=Ht(this._driver,l,d);if(d.length)throw new Error(`Unable to build the animation due to the following errors: ${d.join("\n")}`);this._animations[o]=D}_buildPlayer(o,l,d){const D=o.element,M=Ee(0,this._normalizer,0,o.keyframes,l,d);return this._driver.animate(D,M,o.duration,o.delay,o.easing,[],!0)}create(o,l,d={}){const D=[],M=this._animations[o];let S;const T=new Map;if(M?(S=tr(this._driver,l,M,j,K,{},{},d,Un,D),S.forEach(ve=>{const Pe=fe(T,ve.element,{});ve.postStyleProps.forEach(je=>Pe[je]=null)})):(D.push("The requested animation doesn't exist or has already been destroyed"),S=[]),D.length)throw new Error(`Unable to create the animation due to the following errors: ${D.join("\n")}`);T.forEach((ve,Pe)=>{Object.keys(ve).forEach(je=>{ve[je]=this._driver.computeStyle(Pe,je,ae.AUTO_STYLE)})});const ee=Q(S.map(ve=>{const Pe=T.get(ve.element);return this._buildPlayer(ve,{},Pe)}));return this._playersById[o]=ee,ee.onDestroy(()=>this.destroy(o)),this.players.push(ee),ee}destroy(o){const l=this._getPlayer(o);l.destroy(),delete this._playersById[o];const d=this.players.indexOf(l);d>=0&&this.players.splice(d,1)}_getPlayer(o){const l=this._playersById[o];if(!l)throw new Error(`Unable to find the timeline player referenced by ${o}`);return l}listen(o,l,d,D){const M=ie(l,"","","");return V(this._getPlayer(o),d,M,D),()=>{}}command(o,l,d,D){if("register"==d)return void this.register(o,D[0]);if("create"==d)return void this.create(o,l,D[0]||{});const M=this._getPlayer(o);switch(d){case"play":M.play();break;case"pause":M.pause();break;case"reset":M.reset();break;case"restart":M.restart();break;case"finish":M.finish();break;case"init":M.init();break;case"setPosition":M.setPosition(parseFloat(D[0]));break;case"destroy":this.destroy(o)}}}const vr="ng-animate-queued",On="ng-animate-disabled",$t=[],$n={namespaceId:"",setForRemoval:!1,setForMove:!1,hasAnimation:!1,removedBeforeQueried:!1},Yr={namespaceId:"",setForMove:!1,setForRemoval:!1,hasAnimation:!1,removedBeforeQueried:!0},qt="__ng_removed";class Dr{constructor(o,l=""){this.namespaceId=l;const d=o&&o.hasOwnProperty("value");if(this.value=null!=(v=d?o.value:o)?v:null,d){const M=Dt(o);delete M.value,this.options=M}else this.options={};var v;this.options.params||(this.options.params={})}get params(){return this.options.params}absorbOptions(o){const l=o.params;if(l){const d=this.options.params;Object.keys(l).forEach(D=>{null==d[D]&&(d[D]=l[D])})}}}const Mn="void",Rt=new Dr(Mn);class Xr{constructor(o,l,d){this.id=o,this.hostElement=l,this._engine=d,this.players=[],this._triggers={},this._queue=[],this._elementListeners=new Map,this._hostClassName="ng-tns-"+o,Gt(l,this._hostClassName)}listen(o,l,d,D){if(!this._triggers.hasOwnProperty(l))throw new Error(`Unable to listen on the animation trigger event "${d}" because the animation trigger "${l}" doesn't exist!`);if(null==d||0==d.length)throw new Error(`Unable to listen on the animation trigger "${l}" because the provided event is undefined!`);if("start"!=(v=d)&&"done"!=v)throw new Error(`The provided animation trigger event "${d}" for the animation trigger "${l}" is not supported!`);var v;const M=fe(this._elementListeners,o,[]),S={name:l,phase:d,callback:D};M.push(S);const T=fe(this._engine.statesByElement,o,{});return T.hasOwnProperty(l)||(Gt(o,z),Gt(o,z+"-"+l),T[l]=Rt),()=>{this._engine.afterFlush(()=>{const B=M.indexOf(S);B>=0&&M.splice(B,1),this._triggers[l]||delete T[l]})}}register(o,l){return!this._triggers[o]&&(this._triggers[o]=l,!0)}_getTrigger(o){const l=this._triggers[o];if(!l)throw new Error(`The provided animation trigger "${o}" has not been registered!`);return l}trigger(o,l,d,D=!0){const M=this._getTrigger(l),S=new Me(this.id,l,o);let T=this._engine.statesByElement.get(o);T||(Gt(o,z),Gt(o,z+"-"+l),this._engine.statesByElement.set(o,T={}));let B=T[l];const ee=new Dr(d,this.id);if(!(d&&d.hasOwnProperty("value"))&&B&&ee.absorbOptions(B.options),T[l]=ee,B||(B=Rt),ee.value!==Mn&&B.value===ee.value){if(!function(v,o){const l=Object.keys(v),d=Object.keys(o);if(l.length!=d.length)return!1;for(let D=0;D<l.length;D++){const M=l[D];if(!o.hasOwnProperty(M)||v[M]!==o[M])return!1}return!0}(B.params,ee.params)){const _e=[],dt=M.matchStyles(B.value,B.params,_e),Vt=M.matchStyles(ee.value,ee.params,_e);_e.length?this._engine.reportError(_e):this._engine.afterFlush(()=>{dn(o,dt),bt(o,Vt)})}return}const je=fe(this._engine.playersByElement,o,[]);je.forEach(_e=>{_e.namespaceId==this.id&&_e.triggerName==l&&_e.queued&&_e.destroy()});let it=M.matchTransition(B.value,ee.value,o,ee.params),Le=!1;if(!it){if(!D)return;it=M.fallbackTransition,Le=!0}return this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:l,transition:it,fromState:B,toState:ee,player:S,isFallbackTransition:Le}),Le||(Gt(o,vr),S.onStart(()=>{An(o,vr)})),S.onDone(()=>{let _e=this.players.indexOf(S);_e>=0&&this.players.splice(_e,1);const dt=this._engine.playersByElement.get(o);if(dt){let Vt=dt.indexOf(S);Vt>=0&&dt.splice(Vt,1)}}),this.players.push(S),je.push(S),S}deregister(o){delete this._triggers[o],this._engine.statesByElement.forEach((l,d)=>{delete l[o]}),this._elementListeners.forEach((l,d)=>{this._elementListeners.set(d,l.filter(D=>D.name!=o))})}clearElementCache(o){this._engine.statesByElement.delete(o),this._elementListeners.delete(o);const l=this._engine.playersByElement.get(o);l&&(l.forEach(d=>d.destroy()),this._engine.playersByElement.delete(o))}_signalRemovalForInnerTriggers(o,l){const d=this._engine.driver.query(o,G,!0);d.forEach(D=>{if(D[qt])return;const M=this._engine.fetchNamespacesByElement(D);M.size?M.forEach(S=>S.triggerLeaveAnimation(D,l,!1,!0)):this.clearElementCache(D)}),this._engine.afterFlushAnimationsDone(()=>d.forEach(D=>this.clearElementCache(D)))}triggerLeaveAnimation(o,l,d,D){const M=this._engine.statesByElement.get(o);if(M){const S=[];if(Object.keys(M).forEach(T=>{if(this._triggers[T]){const B=this.trigger(o,T,Mn,D);B&&S.push(B)}}),S.length)return this._engine.markElementAsRemoved(this.id,o,!0,l),d&&Q(S).onDone(()=>this._engine.processLeaveNode(o)),!0}return!1}prepareLeaveAnimationListeners(o){const l=this._elementListeners.get(o),d=this._engine.statesByElement.get(o);if(l&&d){const D=new Set;l.forEach(M=>{const S=M.name;if(D.has(S))return;D.add(S);const B=this._triggers[S].fallbackTransition,ee=d[S]||Rt,ve=new Dr(Mn),Pe=new Me(this.id,S,o);this._engine.totalQueuedPlayers++,this._queue.push({element:o,triggerName:S,transition:B,fromState:ee,toState:ve,player:Pe,isFallbackTransition:!0})})}}removeNode(o,l){const d=this._engine;if(o.childElementCount&&this._signalRemovalForInnerTriggers(o,l),this.triggerLeaveAnimation(o,l,!0))return;let D=!1;if(d.totalAnimations){const M=d.players.length?d.playersByQueriedElement.get(o):[];if(M&&M.length)D=!0;else{let S=o;for(;S=S.parentNode;)if(d.statesByElement.get(S)){D=!0;break}}}if(this.prepareLeaveAnimationListeners(o),D)d.markElementAsRemoved(this.id,o,!1,l);else{const M=o[qt];(!M||M===$n)&&(d.afterFlush(()=>this.clearElementCache(o)),d.destroyInnerAnimations(o),d._onRemovalComplete(o,l))}}insertNode(o,l){Gt(o,this._hostClassName)}drainQueuedTransitions(o){const l=[];return this._queue.forEach(d=>{const D=d.player;if(D.destroyed)return;const M=d.element,S=this._elementListeners.get(M);S&&S.forEach(T=>{if(T.name==d.triggerName){const B=ie(M,d.triggerName,d.fromState.value,d.toState.value);B._data=o,V(d.player,T.phase,B,T.callback)}}),D.markedForDestroy?this._engine.afterFlush(()=>{D.destroy()}):l.push(d)}),this._queue=[],l.sort((d,D)=>{const M=d.transition.ast.depCount,S=D.transition.ast.depCount;return 0==M||0==S?M-S:this._engine.driver.containsElement(d.element,D.element)?1:-1})}destroy(o){this.players.forEach(l=>l.destroy()),this._signalRemovalForInnerTriggers(this.hostElement,o)}elementContainsData(o){let l=!1;return this._elementListeners.has(o)&&(l=!0),l=!!this._queue.find(d=>d.element===o)||l,l}}class rn{constructor(o,l,d){this.bodyNode=o,this.driver=l,this._normalizer=d,this.players=[],this.newHostElements=new Map,this.playersByElement=new Map,this.playersByQueriedElement=new Map,this.statesByElement=new Map,this.disabledNodes=new Set,this.totalAnimations=0,this.totalQueuedPlayers=0,this._namespaceLookup={},this._namespaceList=[],this._flushFns=[],this._whenQuietFns=[],this.namespacesByHostElement=new Map,this.collectedEnterElements=[],this.collectedLeaveElements=[],this.onRemovalComplete=(D,M)=>{}}_onRemovalComplete(o,l){this.onRemovalComplete(o,l)}get queuedPlayers(){const o=[];return this._namespaceList.forEach(l=>{l.players.forEach(d=>{d.queued&&o.push(d)})}),o}createNamespace(o,l){const d=new Xr(o,l,this);return this.bodyNode&&this.driver.containsElement(this.bodyNode,l)?this._balanceNamespaceList(d,l):(this.newHostElements.set(l,d),this.collectEnterElement(l)),this._namespaceLookup[o]=d}_balanceNamespaceList(o,l){const d=this._namespaceList.length-1;if(d>=0){let D=!1;for(let M=d;M>=0;M--)if(this.driver.containsElement(this._namespaceList[M].hostElement,l)){this._namespaceList.splice(M+1,0,o),D=!0;break}D||this._namespaceList.splice(0,0,o)}else this._namespaceList.push(o);return this.namespacesByHostElement.set(l,o),o}register(o,l){let d=this._namespaceLookup[o];return d||(d=this.createNamespace(o,l)),d}registerTrigger(o,l,d){let D=this._namespaceLookup[o];D&&D.register(l,d)&&this.totalAnimations++}destroy(o,l){if(!o)return;const d=this._fetchNamespace(o);this.afterFlush(()=>{this.namespacesByHostElement.delete(d.hostElement),delete this._namespaceLookup[o];const D=this._namespaceList.indexOf(d);D>=0&&this._namespaceList.splice(D,1)}),this.afterFlushAnimationsDone(()=>d.destroy(l))}_fetchNamespace(o){return this._namespaceLookup[o]}fetchNamespacesByElement(o){const l=new Set,d=this.statesByElement.get(o);if(d){const D=Object.keys(d);for(let M=0;M<D.length;M++){const S=d[D[M]].namespaceId;if(S){const T=this._fetchNamespace(S);T&&l.add(T)}}}return l}trigger(o,l,d,D){if(Lt(l)){const M=this._fetchNamespace(o);if(M)return M.trigger(l,d,D),!0}return!1}insertNode(o,l,d,D){if(!Lt(l))return;const M=l[qt];if(M&&M.setForRemoval){M.setForRemoval=!1,M.setForMove=!0;const S=this.collectedLeaveElements.indexOf(l);S>=0&&this.collectedLeaveElements.splice(S,1)}if(o){const S=this._fetchNamespace(o);S&&S.insertNode(l,d)}D&&this.collectEnterElement(l)}collectEnterElement(o){this.collectedEnterElements.push(o)}markElementAsDisabled(o,l){l?this.disabledNodes.has(o)||(this.disabledNodes.add(o),Gt(o,On)):this.disabledNodes.has(o)&&(this.disabledNodes.delete(o),An(o,On))}removeNode(o,l,d,D){if(Lt(l)){const M=o?this._fetchNamespace(o):null;if(M?M.removeNode(l,D):this.markElementAsRemoved(o,l,!1,D),d){const S=this.namespacesByHostElement.get(l);S&&S.id!==o&&S.removeNode(l,D)}}else this._onRemovalComplete(l,D)}markElementAsRemoved(o,l,d,D){this.collectedLeaveElements.push(l),l[qt]={namespaceId:o,setForRemoval:D,hasAnimation:d,removedBeforeQueried:!1}}listen(o,l,d,D,M){return Lt(l)?this._fetchNamespace(o).listen(l,d,D,M):()=>{}}_buildInstruction(o,l,d,D,M){return o.transition.build(this.driver,o.element,o.fromState.value,o.toState.value,d,D,o.fromState.options,o.toState.options,l,M)}destroyInnerAnimations(o){let l=this.driver.query(o,G,!0);l.forEach(d=>this.destroyActiveAnimationsForElement(d)),0!=this.playersByQueriedElement.size&&(l=this.driver.query(o,rt,!0),l.forEach(d=>this.finishActiveQueriedAnimationOnElement(d)))}destroyActiveAnimationsForElement(o){const l=this.playersByElement.get(o);l&&l.forEach(d=>{d.queued?d.markedForDestroy=!0:d.destroy()})}finishActiveQueriedAnimationOnElement(o){const l=this.playersByQueriedElement.get(o);l&&l.forEach(d=>d.finish())}whenRenderingDone(){return new Promise(o=>{if(this.players.length)return Q(this.players).onDone(()=>o());o()})}processLeaveNode(o){var l;const d=o[qt];if(d&&d.setForRemoval){if(o[qt]=$n,d.namespaceId){this.destroyInnerAnimations(o);const D=this._fetchNamespace(d.namespaceId);D&&D.clearElementCache(o)}this._onRemovalComplete(o,d.setForRemoval)}(null===(l=o.classList)||void 0===l?void 0:l.contains(On))&&this.markElementAsDisabled(o,!1),this.driver.query(o,".ng-animate-disabled",!0).forEach(D=>{this.markElementAsDisabled(D,!1)})}flush(o=-1){let l=[];if(this.newHostElements.size&&(this.newHostElements.forEach((d,D)=>this._balanceNamespaceList(d,D)),this.newHostElements.clear()),this.totalAnimations&&this.collectedEnterElements.length)for(let d=0;d<this.collectedEnterElements.length;d++)Gt(this.collectedEnterElements[d],"ng-star-inserted");if(this._namespaceList.length&&(this.totalQueuedPlayers||this.collectedLeaveElements.length)){const d=[];try{l=this._flushAnimations(d,o)}finally{for(let D=0;D<d.length;D++)d[D]()}}else for(let d=0;d<this.collectedLeaveElements.length;d++)this.processLeaveNode(this.collectedLeaveElements[d]);if(this.totalQueuedPlayers=0,this.collectedEnterElements.length=0,this.collectedLeaveElements.length=0,this._flushFns.forEach(d=>d()),this._flushFns=[],this._whenQuietFns.length){const d=this._whenQuietFns;this._whenQuietFns=[],l.length?Q(l).onDone(()=>{d.forEach(D=>D())}):d.forEach(D=>D())}}reportError(o){throw new Error(`Unable to process animations due to the following failed trigger transitions\n ${o.join("\n")}`)}_flushAnimations(o,l){const d=new nn,D=[],M=new Map,S=[],T=new Map,B=new Map,ee=new Map,ve=new Set;this.disabledNodes.forEach(Oe=>{ve.add(Oe);const ke=this.driver.query(Oe,".ng-animate-queued",!0);for(let Ge=0;Ge<ke.length;Ge++)ve.add(ke[Ge])});const Pe=this.bodyNode,je=Array.from(this.statesByElement.keys()),it=lt(je,this.collectedEnterElements),Le=new Map;let _e=0;it.forEach((Oe,ke)=>{const Ge=j+_e++;Le.set(ke,Ge),Oe.forEach(st=>Gt(st,Ge))});const dt=[],Vt=new Set,zt=new Set;for(let Oe=0;Oe<this.collectedLeaveElements.length;Oe++){const ke=this.collectedLeaveElements[Oe],Ge=ke[qt];Ge&&Ge.setForRemoval&&(dt.push(ke),Vt.add(ke),Ge.hasAnimation?this.driver.query(ke,".ng-star-inserted",!0).forEach(st=>Vt.add(st)):zt.add(ke))}const Sn=new Map,ln=lt(je,Array.from(Vt));ln.forEach((Oe,ke)=>{const Ge=K+_e++;Sn.set(ke,Ge),Oe.forEach(st=>Gt(st,Ge))}),o.push(()=>{it.forEach((Oe,ke)=>{const Ge=Le.get(ke);Oe.forEach(st=>An(st,Ge))}),ln.forEach((Oe,ke)=>{const Ge=Sn.get(ke);Oe.forEach(st=>An(st,Ge))}),dt.forEach(Oe=>{this.processLeaveNode(Oe)})});const _i=[],or=[];for(let Oe=this._namespaceList.length-1;Oe>=0;Oe--)this._namespaceList[Oe].drainQueuedTransitions(l).forEach(Ge=>{const st=Ge.player,gt=Ge.element;if(_i.push(st),this.collectedEnterElements.length){const Xn=gt[qt];if(Xn&&Xn.setForMove)return void st.destroy()}const un=!Pe||!this.driver.containsElement(Pe,gt),Ln=Sn.get(gt),Gn=Le.get(gt),_t=this._buildInstruction(Ge,d,Gn,Ln,un);if(_t.errors&&_t.errors.length)return void or.push(_t);if(un)return st.onStart(()=>dn(gt,_t.fromStyles)),st.onDestroy(()=>bt(gt,_t.toStyles)),void D.push(st);if(Ge.isFallbackTransition)return st.onStart(()=>dn(gt,_t.fromStyles)),st.onDestroy(()=>bt(gt,_t.toStyles)),void D.push(st);const Io=[];_t.timelines.forEach(Xn=>{Xn.stretchStartingKeyframe=!0,this.disabledNodes.has(Xn.element)||Io.push(Xn)}),_t.timelines=Io,d.append(gt,_t.timelines),S.push({instruction:_t,player:st,element:gt}),_t.queriedElements.forEach(Xn=>fe(T,Xn,[]).push(st)),_t.preStyleProps.forEach((Xn,Bi)=>{const Ti=Object.keys(Xn);if(Ti.length){let Hr=B.get(Bi);Hr||B.set(Bi,Hr=new Set),Ti.forEach(Xi=>Hr.add(Xi))}}),_t.postStyleProps.forEach((Xn,Bi)=>{const Ti=Object.keys(Xn);let Hr=ee.get(Bi);Hr||ee.set(Bi,Hr=new Set),Ti.forEach(Xi=>Hr.add(Xi))})});if(or.length){const Oe=[];or.forEach(ke=>{Oe.push(`@${ke.triggerName} has failed due to:\n`),ke.errors.forEach(Ge=>Oe.push(`- ${Ge}\n`))}),_i.forEach(ke=>ke.destroy()),this.reportError(Oe)}const re=new Map,Je=new Map;S.forEach(Oe=>{const ke=Oe.element;d.has(ke)&&(Je.set(ke,ke),this._beforeAnimationBuild(Oe.player.namespaceId,Oe.instruction,re))}),D.forEach(Oe=>{const ke=Oe.element;this._getPreviousPlayers(ke,!1,Oe.namespaceId,Oe.triggerName,null).forEach(st=>{fe(re,ke,[]).push(st),st.destroy()})});const Sr=dt.filter(Oe=>ir(Oe,B,ee)),It=new Map;rr(It,this.driver,zt,ee,ae.AUTO_STYLE).forEach(Oe=>{ir(Oe,B,ee)&&Sr.push(Oe)});const jr=new Map;it.forEach((Oe,ke)=>{rr(jr,this.driver,new Set(Oe),B,ae.\u0275PRE_STYLE)}),Sr.forEach(Oe=>{const ke=It.get(Oe),Ge=jr.get(Oe);It.set(Oe,Object.assign(Object.assign({},ke),Ge))});const En=[],Zi=[],Yi={};S.forEach(Oe=>{const{element:ke,player:Ge,instruction:st}=Oe;if(d.has(ke)){if(ve.has(ke))return Ge.onDestroy(()=>bt(ke,st.toStyles)),Ge.disabled=!0,Ge.overrideTotalTime(st.totalTime),void D.push(Ge);let gt=Yi;if(Je.size>1){let Ln=ke;const Gn=[];for(;Ln=Ln.parentNode;){const _t=Je.get(Ln);if(_t){gt=_t;break}Gn.push(Ln)}Gn.forEach(_t=>Je.set(_t,gt))}const un=this._buildAnimation(Ge.namespaceId,st,re,M,jr,It);if(Ge.setRealPlayer(un),gt===Yi)En.push(Ge);else{const Ln=this.playersByElement.get(gt);Ln&&Ln.length&&(Ge.parentPlayer=Q(Ln)),D.push(Ge)}}else dn(ke,st.fromStyles),Ge.onDestroy(()=>bt(ke,st.toStyles)),Zi.push(Ge),ve.has(ke)&&D.push(Ge)}),Zi.forEach(Oe=>{const ke=M.get(Oe.element);if(ke&&ke.length){const Ge=Q(ke);Oe.setRealPlayer(Ge)}}),D.forEach(Oe=>{Oe.parentPlayer?Oe.syncPlayerEvents(Oe.parentPlayer):Oe.destroy()});for(let Oe=0;Oe<dt.length;Oe++){const ke=dt[Oe],Ge=ke[qt];if(An(ke,K),Ge&&Ge.hasAnimation)continue;let st=[];if(T.size){let un=T.get(ke);un&&un.length&&st.push(...un);let Ln=this.driver.query(ke,rt,!0);for(let Gn=0;Gn<Ln.length;Gn++){let _t=T.get(Ln[Gn]);_t&&_t.length&&st.push(..._t)}}const gt=st.filter(un=>!un.destroyed);gt.length?ze(this,ke,gt):this.processLeaveNode(ke)}return dt.length=0,En.forEach(Oe=>{this.players.push(Oe),Oe.onDone(()=>{Oe.destroy();const ke=this.players.indexOf(Oe);this.players.splice(ke,1)}),Oe.play()}),En}elementContainsData(o,l){let d=!1;const D=l[qt];return D&&D.setForRemoval&&(d=!0),this.playersByElement.has(l)&&(d=!0),this.playersByQueriedElement.has(l)&&(d=!0),this.statesByElement.has(l)&&(d=!0),this._fetchNamespace(o).elementContainsData(l)||d}afterFlush(o){this._flushFns.push(o)}afterFlushAnimationsDone(o){this._whenQuietFns.push(o)}_getPreviousPlayers(o,l,d,D,M){let S=[];if(l){const T=this.playersByQueriedElement.get(o);T&&(S=T)}else{const T=this.playersByElement.get(o);if(T){const B=!M||M==Mn;T.forEach(ee=>{ee.queued||!B&&ee.triggerName!=D||S.push(ee)})}}return(d||D)&&(S=S.filter(T=>!(d&&d!=T.namespaceId||D&&D!=T.triggerName))),S}_beforeAnimationBuild(o,l,d){const M=l.element,S=l.isRemovalTransition?void 0:o,T=l.isRemovalTransition?void 0:l.triggerName;for(const B of l.timelines){const ee=B.element,ve=ee!==M,Pe=fe(d,ee,[]);this._getPreviousPlayers(ee,ve,S,T,l.toState).forEach(it=>{const Le=it.getRealPlayer();Le.beforeDestroy&&Le.beforeDestroy(),it.destroy(),Pe.push(it)})}dn(M,l.fromStyles)}_buildAnimation(o,l,d,D,M,S){const T=l.triggerName,B=l.element,ee=[],ve=new Set,Pe=new Set,je=l.timelines.map(Le=>{const _e=Le.element;ve.add(_e);const dt=_e[qt];if(dt&&dt.removedBeforeQueried)return new ae.NoopAnimationPlayer(Le.duration,Le.delay);const Vt=_e!==B,zt=function(v){const o=[];return Rn(v,o),o}((d.get(_e)||$t).map(re=>re.getRealPlayer())).filter(re=>!!re.element&&re.element===_e),Sn=M.get(_e),ln=S.get(_e),_i=Ee(0,this._normalizer,0,Le.keyframes,Sn,ln),or=this._buildPlayer(Le,_i,zt);if(Le.subTimeline&&D&&Pe.add(_e),Vt){const re=new Me(o,T,_e);re.setRealPlayer(or),ee.push(re)}return or});ee.forEach(Le=>{fe(this.playersByQueriedElement,Le.element,[]).push(Le),Le.onDone(()=>function(v,o,l){let d;if(v instanceof Map){if(d=v.get(o),d){if(d.length){const D=d.indexOf(l);d.splice(D,1)}0==d.length&&v.delete(o)}}else if(d=v[o],d){if(d.length){const D=d.indexOf(l);d.splice(D,1)}0==d.length&&delete v[o]}return d}(this.playersByQueriedElement,Le.element,Le))}),ve.forEach(Le=>Gt(Le,Ne));const it=Q(je);return it.onDestroy(()=>{ve.forEach(Le=>An(Le,Ne)),bt(B,l.toStyles)}),Pe.forEach(Le=>{fe(D,Le,[]).push(it)}),it}_buildPlayer(o,l,d){return l.length>0?this.driver.animate(o.element,l,o.duration,o.delay,o.easing,d):new ae.NoopAnimationPlayer(o.duration,o.delay)}}class Me{constructor(o,l,d){this.namespaceId=o,this.triggerName=l,this.element=d,this._player=new ae.NoopAnimationPlayer,this._containsRealPlayer=!1,this._queuedCallbacks={},this.destroyed=!1,this.markedForDestroy=!1,this.disabled=!1,this.queued=!0,this.totalTime=0}setRealPlayer(o){this._containsRealPlayer||(this._player=o,Object.keys(this._queuedCallbacks).forEach(l=>{this._queuedCallbacks[l].forEach(d=>V(o,l,void 0,d))}),this._queuedCallbacks={},this._containsRealPlayer=!0,this.overrideTotalTime(o.totalTime),this.queued=!1)}getRealPlayer(){return this._player}overrideTotalTime(o){this.totalTime=o}syncPlayerEvents(o){const l=this._player;l.triggerCallback&&o.onStart(()=>l.triggerCallback("start")),o.onDone(()=>this.finish()),o.onDestroy(()=>this.destroy())}_queueEvent(o,l){fe(this._queuedCallbacks,o,[]).push(l)}onDone(o){this.queued&&this._queueEvent("done",o),this._player.onDone(o)}onStart(o){this.queued&&this._queueEvent("start",o),this._player.onStart(o)}onDestroy(o){this.queued&&this._queueEvent("destroy",o),this._player.onDestroy(o)}init(){this._player.init()}hasStarted(){return!this.queued&&this._player.hasStarted()}play(){!this.queued&&this._player.play()}pause(){!this.queued&&this._player.pause()}restart(){!this.queued&&this._player.restart()}finish(){this._player.finish()}destroy(){this.destroyed=!0,this._player.destroy()}reset(){!this.queued&&this._player.reset()}setPosition(o){this.queued||this._player.setPosition(o)}getPosition(){return this.queued?0:this._player.getPosition()}triggerCallback(o){const l=this._player;l.triggerCallback&&l.triggerCallback(o)}}function Lt(v){return v&&1===v.nodeType}function Nt(v,o){const l=v.style.display;return v.style.display=null!=o?o:"none",l}function rr(v,o,l,d,D){const M=[];l.forEach(B=>M.push(Nt(B)));const S=[];d.forEach((B,ee)=>{const ve={};B.forEach(Pe=>{const je=ve[Pe]=o.computeStyle(ee,Pe,D);(!je||0==je.length)&&(ee[qt]=Yr,S.push(ee))}),v.set(ee,ve)});let T=0;return l.forEach(B=>Nt(B,M[T++])),S}function lt(v,o){const l=new Map;if(v.forEach(T=>l.set(T,[])),0==o.length)return l;const D=new Set(o),M=new Map;function S(T){if(!T)return 1;let B=M.get(T);if(B)return B;const ee=T.parentNode;return B=l.has(ee)?ee:D.has(ee)?1:S(ee),M.set(T,B),B}return o.forEach(T=>{const B=S(T);1!==B&&l.get(B).push(T)}),l}function Gt(v,o){var l;null===(l=v.classList)||void 0===l||l.add(o)}function An(v,o){var l;null===(l=v.classList)||void 0===l||l.remove(o)}function ze(v,o,l){Q(l).onDone(()=>v.processLeaveNode(o))}function Rn(v,o){for(let l=0;l<v.length;l++){const d=v[l];d instanceof ae.\u0275AnimationGroupPlayer?Rn(d.players,o):o.push(d)}}function ir(v,o,l){const d=l.get(v);if(!d)return!1;let D=o.get(v);return D?d.forEach(M=>D.add(M)):o.set(v,d),l.delete(v),!0}class Ot{constructor(o,l,d){this.bodyNode=o,this._driver=l,this._normalizer=d,this._triggerCache={},this.onRemovalComplete=(D,M)=>{},this._transitionEngine=new rn(o,l,d),this._timelineEngine=new Zr(o,l,d),this._transitionEngine.onRemovalComplete=(D,M)=>this.onRemovalComplete(D,M)}registerTrigger(o,l,d,D,M){const S=o+"-"+D;let T=this._triggerCache[S];if(!T){const B=[],ee=Ht(this._driver,M,B);if(B.length)throw new Error(`The animation trigger "${D}" has failed to build due to the following errors:\n - ${B.join("\n - ")}`);T=function(v,o,l){return new wi(v,o,l)}(D,ee,this._normalizer),this._triggerCache[S]=T}this._transitionEngine.registerTrigger(l,D,T)}register(o,l){this._transitionEngine.register(o,l)}destroy(o,l){this._transitionEngine.destroy(o,l)}onInsert(o,l,d,D){this._transitionEngine.insertNode(o,l,d,D)}onRemove(o,l,d,D){this._transitionEngine.removeNode(o,l,D||!1,d)}disableAnimations(o,l){this._transitionEngine.markElementAsDisabled(o,l)}process(o,l,d,D){if("@"==d.charAt(0)){const[M,S]=qe(d);this._timelineEngine.command(M,l,S,D)}else this._transitionEngine.trigger(o,l,d,D)}listen(o,l,d,D,M){if("@"==d.charAt(0)){const[S,T]=qe(d);return this._timelineEngine.listen(S,l,T,M)}return this._transitionEngine.listen(o,l,d,D,M)}flush(o=-1){this._transitionEngine.flush(o)}get players(){return this._transitionEngine.players.concat(this._timelineEngine.players)}whenRenderingDone(){return this._transitionEngine.whenRenderingDone()}}function sr(v,o){let l=null,d=null;return Array.isArray(o)&&o.length?(l=an(o[0]),o.length>1&&(d=an(o[o.length-1]))):o&&(l=an(o)),l||d?new xn(v,l,d):null}let xn=(()=>{class v{constructor(l,d,D){this._element=l,this._startStyles=d,this._endStyles=D,this._state=0;let M=v.initialStylesByElement.get(l);M||v.initialStylesByElement.set(l,M={}),this._initialStyles=M}start(){this._state<1&&(this._startStyles&&bt(this._element,this._startStyles,this._initialStyles),this._state=1)}finish(){this.start(),this._state<2&&(bt(this._element,this._initialStyles),this._endStyles&&(bt(this._element,this._endStyles),this._endStyles=null),this._state=1)}destroy(){this.finish(),this._state<3&&(v.initialStylesByElement.delete(this._element),this._startStyles&&(dn(this._element,this._startStyles),this._endStyles=null),this._endStyles&&(dn(this._element,this._endStyles),this._endStyles=null),bt(this._element,this._initialStyles),this._state=3)}}return v.initialStylesByElement=new WeakMap,v})();function an(v){let o=null;const l=Object.keys(v);for(let d=0;d<l.length;d++){const D=l[d];ft(D)&&(o=o||{},o[D]=v[D])}return o}function ft(v){return"display"===v||"position"===v}const Cr="animation",fn="animationend";class wr{constructor(o,l,d,D,M,S,T){this._element=o,this._name=l,this._duration=d,this._delay=D,this._easing=M,this._fillMode=S,this._onDoneFn=T,this._finished=!1,this._destroyed=!1,this._startTime=0,this._position=0,this._eventFn=B=>this._handleCallback(B)}apply(){(function(v,o){const l=Li(v,"").trim();let d=0;l.length&&(function(v,o){let l=0;for(let d=0;d<v.length;d++)","===v.charAt(d)&&l++;return l}(l)+1,o=`${l}, ${o}`),Ir(v,"",o)})(this._element,`${this._duration}ms ${this._easing} ${this._delay}ms 1 normal ${this._fillMode} ${this._name}`),ei(this._element,this._eventFn,!1),this._startTime=Date.now()}pause(){br(this._element,this._name,"paused")}resume(){br(this._element,this._name,"running")}setPosition(o){const l=Ar(this._element,this._name);this._position=o*this._duration,Ir(this._element,"Delay",`-${this._position}ms`,l)}getPosition(){return this._position}_handleCallback(o){const l=o._ngTestManualTimestamp||Date.now(),d=1e3*parseFloat(o.elapsedTime.toFixed(3));o.animationName==this._name&&Math.max(l-this._startTime,0)>=this._delay&&d>=this._duration&&this.finish()}finish(){this._finished||(this._finished=!0,this._onDoneFn(),ei(this._element,this._eventFn,!0))}destroy(){this._destroyed||(this._destroyed=!0,this.finish(),function(v,o){const d=Li(v,"").split(","),D=kr(d,o);D>=0&&(d.splice(D,1),Ir(v,"",d.join(",")))}(this._element,this._name))}}function br(v,o,l){Ir(v,"PlayState",l,Ar(v,o))}function Ar(v,o){const l=Li(v,"");return l.indexOf(",")>0?kr(l.split(","),o):kr([l],o)}function kr(v,o){for(let l=0;l<v.length;l++)if(v[l].indexOf(o)>=0)return l;return-1}function ei(v,o,l){l?v.removeEventListener(fn,o):v.addEventListener(fn,o)}function Ir(v,o,l,d){const D=Cr+o;if(null!=d){const M=v.style[D];if(M.length){const S=M.split(",");S[d]=l,l=S.join(",")}}v.style[D]=l}function Li(v,o){return v.style[Cr+o]||""}class hi{constructor(o,l,d,D,M,S,T,B){this.element=o,this.keyframes=l,this.animationName=d,this._duration=D,this._delay=M,this._finalStyles=T,this._specialStyles=B,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this.currentSnapshot={},this._state=0,this.easing=S||"linear",this.totalTime=D+M,this._buildStyler()}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}destroy(){this.init(),!(this._state>=4)&&(this._state=4,this._styler.destroy(),this._flushStartFns(),this._flushDoneFns(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}_flushDoneFns(){this._onDoneFns.forEach(o=>o()),this._onDoneFns=[]}_flushStartFns(){this._onStartFns.forEach(o=>o()),this._onStartFns=[]}finish(){this.init(),!(this._state>=3)&&(this._state=3,this._styler.finish(),this._flushStartFns(),this._specialStyles&&this._specialStyles.finish(),this._flushDoneFns())}setPosition(o){this._styler.setPosition(o)}getPosition(){return this._styler.getPosition()}hasStarted(){return this._state>=2}init(){this._state>=1||(this._state=1,this._styler.apply(),this._delay&&this._styler.pause())}play(){this.init(),this.hasStarted()||(this._flushStartFns(),this._state=2,this._specialStyles&&this._specialStyles.start()),this._styler.resume()}pause(){this.init(),this._styler.pause()}restart(){this.reset(),this.play()}reset(){this._state=0,this._styler.destroy(),this._buildStyler(),this._styler.apply()}_buildStyler(){this._styler=new wr(this.element,this.animationName,this._duration,this._delay,this.easing,"forwards",()=>this.finish())}triggerCallback(o){const l="start"==o?this._onStartFns:this._onDoneFns;l.forEach(d=>d()),l.length=0}beforeDestroy(){this.init();const o={};if(this.hasStarted()){const l=this._state>=3;Object.keys(this._finalStyles).forEach(d=>{"offset"!=d&&(o[d]=l?this._finalStyles[d]:Qn(this.element,d))})}this.currentSnapshot=o}}class Ai extends ae.NoopAnimationPlayer{constructor(o,l){super(),this.element=o,this._startingStyles={},this.__initialized=!1,this._styles=we(l)}init(){this.__initialized||!this._startingStyles||(this.__initialized=!0,Object.keys(this._styles).forEach(o=>{this._startingStyles[o]=this.element.style[o]}),super.init())}play(){!this._startingStyles||(this.init(),Object.keys(this._styles).forEach(o=>this.element.style.setProperty(o,this._styles[o])),super.play())}destroy(){!this._startingStyles||(Object.keys(this._startingStyles).forEach(o=>{const l=this._startingStyles[o];l?this.element.style.setProperty(o,l):this.element.style.removeProperty(o)}),this._startingStyles=null,super.destroy())}}class gi{constructor(){this._count=0}validateStyleProperty(o){return X(o)}matchesElement(o,l){return!1}containsElement(o,l){return W(o,l)}query(o,l,d){return $(o,l,d)}computeStyle(o,l,d){return window.getComputedStyle(o)[l]}buildKeyframeElement(o,l,d){d=d.map(T=>we(T));let D=`@keyframes ${l} {\n`,M="";d.forEach(T=>{M=" ";const B=parseFloat(T.offset);D+=`${M}${100*B}% {\n`,M+=" ",Object.keys(T).forEach(ee=>{const ve=T[ee];switch(ee){case"offset":return;case"easing":return void(ve&&(D+=`${M}animation-timing-function: ${ve};\n`));default:return void(D+=`${M}${ee}: ${ve};\n`)}}),D+=`${M}}\n`}),D+="}\n";const S=document.createElement("style");return S.textContent=D,S}animate(o,l,d,D,M,S=[],T){const B=S.filter(dt=>dt instanceof hi),ee={};en(d,D)&&B.forEach(dt=>{let Vt=dt.currentSnapshot;Object.keys(Vt).forEach(zt=>ee[zt]=Vt[zt])});const ve=function(v){let o={};return v&&(Array.isArray(v)?v:[v]).forEach(d=>{Object.keys(d).forEach(D=>{"offset"==D||"easing"==D||(o[D]=d[D])})}),o}(l=qn(o,l,ee));if(0==d)return new Ai(o,ve);const Pe="gen_css_kf_"+this._count++,je=this.buildKeyframeElement(o,Pe,l);(function(v){var o;const l=null===(o=v.getRootNode)||void 0===o?void 0:o.call(v);return"undefined"!=typeof ShadowRoot&&l instanceof ShadowRoot?l:document.head})(o).appendChild(je);const Le=sr(o,l),_e=new hi(o,l,Pe,d,D,M,ve,Le);return _e.onDestroy(()=>{var v;(v=je).parentNode.removeChild(v)}),_e}}class Br{constructor(o,l,d,D){this.element=o,this.keyframes=l,this.options=d,this._specialStyles=D,this._onDoneFns=[],this._onStartFns=[],this._onDestroyFns=[],this._initialized=!1,this._finished=!1,this._started=!1,this._destroyed=!1,this.time=0,this.parentPlayer=null,this.currentSnapshot={},this._duration=d.duration,this._delay=d.delay||0,this.time=this._duration+this._delay}_onFinish(){this._finished||(this._finished=!0,this._onDoneFns.forEach(o=>o()),this._onDoneFns=[])}init(){this._buildPlayer(),this._preparePlayerBeforeStart()}_buildPlayer(){if(this._initialized)return;this._initialized=!0;const o=this.keyframes;this.domPlayer=this._triggerWebAnimation(this.element,o,this.options),this._finalKeyframe=o.length?o[o.length-1]:{},this.domPlayer.addEventListener("finish",()=>this._onFinish())}_preparePlayerBeforeStart(){this._delay?this._resetDomPlayerState():this.domPlayer.pause()}_triggerWebAnimation(o,l,d){return o.animate(l,d)}onStart(o){this._onStartFns.push(o)}onDone(o){this._onDoneFns.push(o)}onDestroy(o){this._onDestroyFns.push(o)}play(){this._buildPlayer(),this.hasStarted()||(this._onStartFns.forEach(o=>o()),this._onStartFns=[],this._started=!0,this._specialStyles&&this._specialStyles.start()),this.domPlayer.play()}pause(){this.init(),this.domPlayer.pause()}finish(){this.init(),this._specialStyles&&this._specialStyles.finish(),this._onFinish(),this.domPlayer.finish()}reset(){this._resetDomPlayerState(),this._destroyed=!1,this._finished=!1,this._started=!1}_resetDomPlayerState(){this.domPlayer&&this.domPlayer.cancel()}restart(){this.reset(),this.play()}hasStarted(){return this._started}destroy(){this._destroyed||(this._destroyed=!0,this._resetDomPlayerState(),this._onFinish(),this._specialStyles&&this._specialStyles.destroy(),this._onDestroyFns.forEach(o=>o()),this._onDestroyFns=[])}setPosition(o){void 0===this.domPlayer&&this.init(),this.domPlayer.currentTime=o*this.time}getPosition(){return this.domPlayer.currentTime/this.time}get totalTime(){return this._delay+this._duration}beforeDestroy(){const o={};if(this.hasStarted()){const l=this._finalKeyframe;Object.keys(l).forEach(d=>{"offset"!=d&&(o[d]=this._finished?l[d]:Qn(this.element,d))})}this.currentSnapshot=o}triggerCallback(o){const l="start"==o?this._onStartFns:this._onDoneFns;l.forEach(d=>d()),l.length=0}}class yi{constructor(){this._isNativeImpl=/\{\s*\[native\s+code\]\s*\}/.test(g().toString()),this._cssKeyframesDriver=new gi}validateStyleProperty(o){return X(o)}matchesElement(o,l){return!1}containsElement(o,l){return W(o,l)}query(o,l,d){return $(o,l,d)}computeStyle(o,l,d){return window.getComputedStyle(o)[l]}overrideWebAnimationsSupport(o){this._isNativeImpl=o}animate(o,l,d,D,M,S=[],T){if(!T&&!this._isNativeImpl)return this._cssKeyframesDriver.animate(o,l,d,D,M,S);const ve={duration:d,delay:D,fill:0==D?"both":"forwards"};M&&(ve.easing=M);const Pe={},je=S.filter(Le=>Le instanceof Br);en(d,D)&&je.forEach(Le=>{let _e=Le.currentSnapshot;Object.keys(_e).forEach(dt=>Pe[dt]=_e[dt])});const it=sr(o,l=qn(o,l=l.map(Le=>Ie(Le,!1)),Pe));return new Br(o,l,ve,it)}}function g(){return he()&&Element.prototype.animate||{}}var C=L(48);let m=(()=>{class v extends ae.AnimationBuilder{constructor(l,d){super(),this._nextAnimationId=0,this._renderer=l.createRenderer(d.body,{id:"0",encapsulation:p.ViewEncapsulation.None,styles:[],data:{animation:[]}})}build(l){const d=this._nextAnimationId.toString();this._nextAnimationId++;const D=Array.isArray(l)?(0,ae.sequence)(l):l;return q(this._renderer,null,d,"register",[D]),new b(d,this._renderer)}}return v.\u0275fac=function(l){return new(l||v)(p.\u0275\u0275inject(p.RendererFactory2),p.\u0275\u0275inject(C.DOCUMENT))},v.\u0275prov=p.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac}),v})();class b extends ae.AnimationFactory{constructor(o,l){super(),this._id=o,this._renderer=l}create(o,l){return new P(this._id,o,l||{},this._renderer)}}class P{constructor(o,l,d,D){this.id=o,this.element=l,this._renderer=D,this.parentPlayer=null,this._started=!1,this.totalTime=0,this._command("create",d)}_listen(o,l){return this._renderer.listen(this.element,`@@${this.id}:${o}`,l)}_command(o,...l){return q(this._renderer,this.element,this.id,o,l)}onDone(o){this._listen("done",o)}onStart(o){this._listen("start",o)}onDestroy(o){this._listen("destroy",o)}init(){this._command("init")}hasStarted(){return this._started}play(){this._command("play"),this._started=!0}pause(){this._command("pause")}restart(){this._command("restart")}finish(){this._command("finish")}destroy(){this._command("destroy")}reset(){this._command("reset"),this._started=!1}setPosition(o){this._command("setPosition",o)}getPosition(){var o,l;return null!==(l=null===(o=this._renderer.engine.players[+this.id])||void 0===o?void 0:o.getPosition())&&void 0!==l?l:0}}function q(v,o,l,d,D){return v.setProperty(o,`@@${l}:${d}`,D)}const Fe="@.disabled";let Ct=(()=>{class v{constructor(l,d,D){this.delegate=l,this.engine=d,this._zone=D,this._currentId=0,this._microtaskId=1,this._animationCallbacksBuffer=[],this._rendererCache=new Map,this._cdRecurDepth=0,this.promise=Promise.resolve(0),d.onRemovalComplete=(M,S)=>{const T=null==S?void 0:S.parentNode(M);T&&S.removeChild(T,M)}}createRenderer(l,d){const M=this.delegate.createRenderer(l,d);if(!(l&&d&&d.data&&d.data.animation)){let ve=this._rendererCache.get(M);return ve||(ve=new pt("",M,this.engine),this._rendererCache.set(M,ve)),ve}const S=d.id,T=d.id+"-"+this._currentId;this._currentId++,this.engine.register(T,l);const B=ve=>{Array.isArray(ve)?ve.forEach(B):this.engine.registerTrigger(S,T,l,ve.name,ve)};return d.data.animation.forEach(B),new wt(this,T,M,this.engine)}begin(){this._cdRecurDepth++,this.delegate.begin&&this.delegate.begin()}_scheduleCountTask(){this.promise.then(()=>{this._microtaskId++})}scheduleListenerCallback(l,d,D){l>=0&&l<this._microtaskId?this._zone.run(()=>d(D)):(0==this._animationCallbacksBuffer.length&&Promise.resolve(null).then(()=>{this._zone.run(()=>{this._animationCallbacksBuffer.forEach(M=>{const[S,T]=M;S(T)}),this._animationCallbacksBuffer=[]})}),this._animationCallbacksBuffer.push([d,D]))}end(){this._cdRecurDepth--,0==this._cdRecurDepth&&this._zone.runOutsideAngular(()=>{this._scheduleCountTask(),this.engine.flush(this._microtaskId)}),this.delegate.end&&this.delegate.end()}whenRenderingDone(){return this.engine.whenRenderingDone()}}return v.\u0275fac=function(l){return new(l||v)(p.\u0275\u0275inject(p.RendererFactory2),p.\u0275\u0275inject(Ot),p.\u0275\u0275inject(p.NgZone))},v.\u0275prov=p.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac}),v})();class pt{constructor(o,l,d){this.namespaceId=o,this.delegate=l,this.engine=d,this.destroyNode=this.delegate.destroyNode?D=>l.destroyNode(D):null}get data(){return this.delegate.data}destroy(){this.engine.destroy(this.namespaceId,this.delegate),this.delegate.destroy()}createElement(o,l){return this.delegate.createElement(o,l)}createComment(o){return this.delegate.createComment(o)}createText(o){return this.delegate.createText(o)}appendChild(o,l){this.delegate.appendChild(o,l),this.engine.onInsert(this.namespaceId,l,o,!1)}insertBefore(o,l,d,D=!0){this.delegate.insertBefore(o,l,d),this.engine.onInsert(this.namespaceId,l,o,D)}removeChild(o,l,d){this.engine.onRemove(this.namespaceId,l,this.delegate,d)}selectRootElement(o,l){return this.delegate.selectRootElement(o,l)}parentNode(o){return this.delegate.parentNode(o)}nextSibling(o){return this.delegate.nextSibling(o)}setAttribute(o,l,d,D){this.delegate.setAttribute(o,l,d,D)}removeAttribute(o,l,d){this.delegate.removeAttribute(o,l,d)}addClass(o,l){this.delegate.addClass(o,l)}removeClass(o,l){this.delegate.removeClass(o,l)}setStyle(o,l,d,D){this.delegate.setStyle(o,l,d,D)}removeStyle(o,l,d){this.delegate.removeStyle(o,l,d)}setProperty(o,l,d){"@"==l.charAt(0)&&l==Fe?this.disableAnimations(o,!!d):this.delegate.setProperty(o,l,d)}setValue(o,l){this.delegate.setValue(o,l)}listen(o,l,d){return this.delegate.listen(o,l,d)}disableAnimations(o,l){this.engine.disableAnimations(o,l)}}class wt extends pt{constructor(o,l,d,D){super(l,d,D),this.factory=o,this.namespaceId=l}setProperty(o,l,d){"@"==l.charAt(0)?"."==l.charAt(1)&&l==Fe?this.disableAnimations(o,d=void 0===d||!!d):this.engine.process(this.namespaceId,o,l.substr(1),d):this.delegate.setProperty(o,l,d)}listen(o,l,d){if("@"==l.charAt(0)){const D=function(v){switch(v){case"body":return document.body;case"document":return document;case"window":return window;default:return v}}(o);let M=l.substr(1),S="";return"@"!=M.charAt(0)&&([M,S]=function(v){const o=v.indexOf(".");return[v.substring(0,o),v.substr(o+1)]}(M)),this.engine.listen(this.namespaceId,D,M,S,T=>{this.factory.scheduleListenerCallback(T._data||-1,d,T)})}return this.delegate.listen(o,l,d)}}let tt=(()=>{class v extends Ot{constructor(l,d,D){super(l.body,d,D)}ngOnDestroy(){this.flush()}}return v.\u0275fac=function(l){return new(l||v)(p.\u0275\u0275inject(C.DOCUMENT),p.\u0275\u0275inject(Re),p.\u0275\u0275inject(Tt))},v.\u0275prov=p.\u0275\u0275defineInjectable({token:v,factory:v.\u0275fac}),v})();const f=new p.InjectionToken("AnimationModuleType"),w=[{provide:ae.AnimationBuilder,useClass:m},{provide:Tt,useFactory:function(){return new nr}},{provide:Ot,useClass:tt},{provide:p.RendererFactory2,useFactory:function(v,o,l){return new Ct(v,o,l)},deps:[N.\u0275DomRendererFactory2,Ot,p.NgZone]}],Z=[{provide:Re,useFactory:function(){return"function"==typeof g()?new yi:new gi}},{provide:f,useValue:"BrowserAnimations"},...w],ye=[{provide:Re,useClass:ot},{provide:f,useValue:"NoopAnimations"},...w];let yt=(()=>{class v{static withConfig(l){return{ngModule:v,providers:l.disableAnimations?ye:Z}}}return v.\u0275fac=function(l){return new(l||v)},v.\u0275mod=p.\u0275\u0275defineNgModule({type:v}),v.\u0275inj=p.\u0275\u0275defineInjector({providers:Z,imports:[N.BrowserModule]}),v})(),Dn=(()=>{class v{}return v.\u0275fac=function(l){return new(l||v)},v.\u0275mod=p.\u0275\u0275defineNgModule({type:v}),v.\u0275inj=p.\u0275\u0275defineInjector({providers:ye,imports:[N.BrowserModule]}),v})()},800:(We,ce,L)=>{"use strict";L.r(ce),L.d(ce,{\u0275getDOM:()=>p.\u0275getDOM,BrowserModule:()=>kt,BrowserTransferStateModule:()=>ct,By:()=>hr,DomSanitizer:()=>Ut,EVENT_MANAGER_PLUGINS:()=>me,EventManager:()=>J,HAMMER_GESTURE_CONFIG:()=>mn,HAMMER_LOADER:()=>pr,HammerGestureConfig:()=>nn,HammerModule:()=>jn,Meta:()=>Kn,Title:()=>qn,TransferState:()=>mt,VERSION:()=>tr,disableDebugTools:()=>Ht,enableDebugTools:()=>Tn,makeStateKey:()=>fi,platformBrowser:()=>Or,\u0275BrowserDomAdapter:()=>he,\u0275BrowserGetTestability:()=>qe,\u0275DomEventsPlugin:()=>St,\u0275DomRendererFactory2:()=>z,\u0275DomSanitizerImpl:()=>Pt,\u0275DomSharedStylesHost:()=>ge,\u0275HammerGesturesPlugin:()=>Nn,\u0275INTERNAL_BROWSER_PLATFORM_PROVIDERS:()=>Pr,\u0275KeyEventsPlugin:()=>cn,\u0275NAMESPACE_URIS:()=>Ce,\u0275SharedStylesHost:()=>ne,\u0275TRANSITION_ID:()=>de,\u0275escapeHtml:()=>Fn,\u0275flattenStyles:()=>U,\u0275initDomAdapter:()=>dn,\u0275shimContentAttribute:()=>He,\u0275shimHostAttribute:()=>H});var p=L(48),N=L(999);class ae extends p.\u0275DomAdapter{constructor(){super(...arguments),this.supportsDOMEvents=!0}}class he extends ae{static makeCurrent(){(0,p.\u0275setRootDomAdapter)(new he)}onAndCancel(x,A,R){return x.addEventListener(A,R,!1),()=>{x.removeEventListener(A,R,!1)}}dispatchEvent(x,A){x.dispatchEvent(A)}remove(x){x.parentNode&&x.parentNode.removeChild(x)}createElement(x,A){return(A=A||this.getDefaultDocument()).createElement(x)}createHtmlDocument(){return document.implementation.createHTMLDocument("fakeTitle")}getDefaultDocument(){return document}isElementNode(x){return x.nodeType===Node.ELEMENT_NODE}isShadowRoot(x){return x instanceof DocumentFragment}getGlobalEventTarget(x,A){return"window"===A?window:"document"===A?x:"body"===A?x.body:null}getBaseHref(x){const A=(pe=pe||document.querySelector("base"),pe?pe.getAttribute("href"):null);return null==A?null:function(O){Ee=Ee||document.createElement("a"),Ee.setAttribute("href",O);const x=Ee.pathname;return"/"===x.charAt(0)?x:`/${x}`}(A)}resetBaseElement(){pe=null}getUserAgent(){return window.navigator.userAgent}getCookie(x){return(0,p.\u0275parseCookieValue)(document.cookie,x)}}let Ee,pe=null;const de=new N.InjectionToken("TRANSITION_ID"),fe=[{provide:N.APP_INITIALIZER,useFactory:function(O,x,A){return()=>{A.get(N.ApplicationInitStatus).donePromise.then(()=>{const R=(0,p.\u0275getDOM)(),te=x.querySelectorAll(`style[ng-transition="${O}"]`);for(let be=0;be<te.length;be++)R.remove(te[be])})}},deps:[de,p.DOCUMENT,N.Injector],multi:!0}];class qe{static init(){(0,N.setTestabilityGetter)(new qe)}addToWindow(x){N.\u0275global.getAngularTestability=(R,te=!0)=>{const be=x.findTestabilityInTree(R,te);if(null==be)throw new Error("Could not find testability for element.");return be},N.\u0275global.getAllAngularTestabilities=()=>x.getAllTestabilities(),N.\u0275global.getAllAngularRootElements=()=>x.getAllRootElements(),N.\u0275global.frameworkStabilizers||(N.\u0275global.frameworkStabilizers=[]),N.\u0275global.frameworkStabilizers.push(R=>{const te=N.\u0275global.getAllAngularTestabilities();let be=te.length,Qe=!1;const Mt=function(Tt){Qe=Qe||Tt,be--,0==be&&R(Qe)};te.forEach(function(Tt){Tt.whenStable(Mt)})})}findTestabilityInTree(x,A,R){if(null==A)return null;const te=x.getTestability(A);return null!=te?te:R?(0,p.\u0275getDOM)().isShadowRoot(A)?this.findTestabilityInTree(x,A.host,!0):this.findTestabilityInTree(x,A.parentElement,!0):null}}let Ke=(()=>{class O{build(){return new XMLHttpRequest}}return O.\u0275fac=function(A){return new(A||O)},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})();const me=new N.InjectionToken("EventManagerPlugins");let J=(()=>{class O{constructor(A,R){this._zone=R,this._eventNameToPlugin=new Map,A.forEach(te=>te.manager=this),this._plugins=A.slice().reverse()}addEventListener(A,R,te){return this._findPluginFor(R).addEventListener(A,R,te)}addGlobalEventListener(A,R,te){return this._findPluginFor(R).addGlobalEventListener(A,R,te)}getZone(){return this._zone}_findPluginFor(A){const R=this._eventNameToPlugin.get(A);if(R)return R;const te=this._plugins;for(let be=0;be<te.length;be++){const Qe=te[be];if(Qe.supports(A))return this._eventNameToPlugin.set(A,Qe),Qe}throw new Error(`No event manager plugin found for event ${A}`)}}return O.\u0275fac=function(A){return new(A||O)(N.\u0275\u0275inject(me),N.\u0275\u0275inject(N.NgZone))},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})();class oe{constructor(x){this._doc=x}addGlobalEventListener(x,A,R){const te=(0,p.\u0275getDOM)().getGlobalEventTarget(this._doc,x);if(!te)throw new Error(`Unsupported event target ${te} for event ${A}`);return this.addEventListener(te,A,R)}}let ne=(()=>{class O{constructor(){this._stylesSet=new Set}addStyles(A){const R=new Set;A.forEach(te=>{this._stylesSet.has(te)||(this._stylesSet.add(te),R.add(te))}),this.onStylesAdded(R)}onStylesAdded(A){}getAllStyles(){return Array.from(this._stylesSet)}}return O.\u0275fac=function(A){return new(A||O)},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),ge=(()=>{class O extends ne{constructor(A){super(),this._doc=A,this._hostNodes=new Map,this._hostNodes.set(A.head,[])}_addStylesToHost(A,R,te){A.forEach(be=>{const Qe=this._doc.createElement("style");Qe.textContent=be,te.push(R.appendChild(Qe))})}addHost(A){const R=[];this._addStylesToHost(this._stylesSet,A,R),this._hostNodes.set(A,R)}removeHost(A){const R=this._hostNodes.get(A);R&&R.forEach(X),this._hostNodes.delete(A)}onStylesAdded(A){this._hostNodes.forEach((R,te)=>{this._addStylesToHost(A,te,R)})}ngOnDestroy(){this._hostNodes.forEach(A=>A.forEach(X))}}return O.\u0275fac=function(A){return new(A||O)(N.\u0275\u0275inject(p.DOCUMENT))},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})();function X(O){(0,p.\u0275getDOM)().remove(O)}const Ce={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/"},W=/%COMP%/g;function He(O){return"_ngcontent-%COMP%".replace(W,O)}function H(O){return"_nghost-%COMP%".replace(W,O)}function U(O,x,A){for(let R=0;R<x.length;R++){let te=x[R];Array.isArray(te)?U(O,te,A):(te=te.replace(W,O),A.push(te))}return A}function j(O){return x=>{if("__ngUnwrap__"===x)return O;!1===O(x)&&(x.preventDefault(),x.returnValue=!1)}}let z=(()=>{class O{constructor(A,R,te){this.eventManager=A,this.sharedStylesHost=R,this.appId=te,this.rendererByCompId=new Map,this.defaultRenderer=new G(A)}createRenderer(A,R){if(!A||!R)return this.defaultRenderer;switch(R.encapsulation){case N.ViewEncapsulation.Emulated:{let te=this.rendererByCompId.get(R.id);return te||(te=new Se(this.eventManager,this.sharedStylesHost,R,this.appId),this.rendererByCompId.set(R.id,te)),te.applyToHost(A),te}case 1:case N.ViewEncapsulation.ShadowDom:return new $e(this.eventManager,this.sharedStylesHost,A,R);default:if(!this.rendererByCompId.has(R.id)){const te=U(R.id,R.styles,[]);this.sharedStylesHost.addStyles(te),this.rendererByCompId.set(R.id,this.defaultRenderer)}return this.defaultRenderer}}begin(){}end(){}}return O.\u0275fac=function(A){return new(A||O)(N.\u0275\u0275inject(J),N.\u0275\u0275inject(ge),N.\u0275\u0275inject(N.APP_ID))},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})();class G{constructor(x){this.eventManager=x,this.data=Object.create(null),this.destroyNode=null}destroy(){}createElement(x,A){return A?document.createElementNS(Ce[A]||A,x):document.createElement(x)}createComment(x){return document.createComment(x)}createText(x){return document.createTextNode(x)}appendChild(x,A){x.appendChild(A)}insertBefore(x,A,R){x&&x.insertBefore(A,R)}removeChild(x,A){x&&x.removeChild(A)}selectRootElement(x,A){let R="string"==typeof x?document.querySelector(x):x;if(!R)throw new Error(`The selector "${x}" did not match any elements`);return A||(R.textContent=""),R}parentNode(x){return x.parentNode}nextSibling(x){return x.nextSibling}setAttribute(x,A,R,te){if(te){A=te+":"+A;const be=Ce[te];be?x.setAttributeNS(be,A,R):x.setAttribute(A,R)}else x.setAttribute(A,R)}removeAttribute(x,A,R){if(R){const te=Ce[R];te?x.removeAttributeNS(te,A):x.removeAttribute(`${R}:${A}`)}else x.removeAttribute(A)}addClass(x,A){x.classList.add(A)}removeClass(x,A){x.classList.remove(A)}setStyle(x,A,R,te){te&(N.RendererStyleFlags2.DashCase|N.RendererStyleFlags2.Important)?x.style.setProperty(A,R,te&N.RendererStyleFlags2.Important?"important":""):x.style[A]=R}removeStyle(x,A,R){R&N.RendererStyleFlags2.DashCase?x.style.removeProperty(A):x.style[A]=""}setProperty(x,A,R){x[A]=R}setValue(x,A){x.nodeValue=A}listen(x,A,R){return"string"==typeof x?this.eventManager.addGlobalEventListener(x,A,j(R)):this.eventManager.addEventListener(x,A,j(R))}}class Se extends G{constructor(x,A,R,te){super(x),this.component=R;const be=U(te+"-"+R.id,R.styles,[]);A.addStyles(be),this.contentAttr=He(te+"-"+R.id),this.hostAttr=H(te+"-"+R.id)}applyToHost(x){super.setAttribute(x,this.hostAttr,"")}createElement(x,A){const R=super.createElement(x,A);return super.setAttribute(R,this.contentAttr,""),R}}class $e extends G{constructor(x,A,R,te){super(x),this.sharedStylesHost=A,this.hostEl=R,this.shadowRoot=R.attachShadow({mode:"open"}),this.sharedStylesHost.addHost(this.shadowRoot);const be=U(te.id,te.styles,[]);for(let Qe=0;Qe<be.length;Qe++){const Mt=document.createElement("style");Mt.textContent=be[Qe],this.shadowRoot.appendChild(Mt)}}nodeOrShadowRoot(x){return x===this.hostEl?this.shadowRoot:x}destroy(){this.sharedStylesHost.removeHost(this.shadowRoot)}appendChild(x,A){return super.appendChild(this.nodeOrShadowRoot(x),A)}insertBefore(x,A,R){return super.insertBefore(this.nodeOrShadowRoot(x),A,R)}removeChild(x,A){return super.removeChild(this.nodeOrShadowRoot(x),A)}parentNode(x){return this.nodeOrShadowRoot(super.parentNode(this.nodeOrShadowRoot(x)))}}let St=(()=>{class O extends oe{constructor(A){super(A)}supports(A){return!0}addEventListener(A,R,te){return A.addEventListener(R,te,!1),()=>this.removeEventListener(A,R,te)}removeEventListener(A,R,te){return A.removeEventListener(R,te)}}return O.\u0275fac=function(A){return new(A||O)(N.\u0275\u0275inject(p.DOCUMENT))},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})();const vt=["alt","control","meta","shift"],on={"\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"},Ie={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"},Et={alt:O=>O.altKey,control:O=>O.ctrlKey,meta:O=>O.metaKey,shift:O=>O.shiftKey};let cn=(()=>{class O extends oe{constructor(A){super(A)}supports(A){return null!=O.parseEventName(A)}addEventListener(A,R,te){const be=O.parseEventName(R),Qe=O.eventCallback(be.fullKey,te,this.manager.getZone());return this.manager.getZone().runOutsideAngular(()=>(0,p.\u0275getDOM)().onAndCancel(A,be.domEventName,Qe))}static parseEventName(A){const R=A.toLowerCase().split("."),te=R.shift();if(0===R.length||"keydown"!==te&&"keyup"!==te)return null;const be=O._normalizeKey(R.pop());let Qe="";if(vt.forEach(Tt=>{const at=R.indexOf(Tt);at>-1&&(R.splice(at,1),Qe+=Tt+".")}),Qe+=be,0!=R.length||0===be.length)return null;const Mt={};return Mt.domEventName=te,Mt.fullKey=Qe,Mt}static getEventFullKey(A){let R="",te=function(O){let x=O.key;if(null==x){if(x=O.keyIdentifier,null==x)return"Unidentified";x.startsWith("U+")&&(x=String.fromCharCode(parseInt(x.substring(2),16)),3===O.location&&Ie.hasOwnProperty(x)&&(x=Ie[x]))}return on[x]||x}(A);return te=te.toLowerCase()," "===te?te="space":"."===te&&(te="dot"),vt.forEach(be=>{be!=te&&Et[be](A)&&(R+=be+".")}),R+=te,R}static eventCallback(A,R,te){return be=>{O.getEventFullKey(be)===A&&te.runGuarded(()=>R(be))}}static _normalizeKey(A){return"esc"===A?"escape":A}}return O.\u0275fac=function(A){return new(A||O)(N.\u0275\u0275inject(p.DOCUMENT))},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})();function dn(){he.makeCurrent(),qe.init()}const Pr=[{provide:N.PLATFORM_ID,useValue:p.\u0275PLATFORM_BROWSER_ID},{provide:N.PLATFORM_INITIALIZER,useValue:dn,multi:!0},{provide:p.DOCUMENT,useFactory:function(){return(0,N.\u0275setDocument)(document),document},deps:[]}],Or=(0,N.createPlatformFactory)(N.platformCore,"browser",Pr),Jn=[{provide:N.\u0275INJECTOR_SCOPE,useValue:"root"},{provide:N.ErrorHandler,useFactory:function(){return new N.ErrorHandler},deps:[]},{provide:me,useClass:St,multi:!0,deps:[p.DOCUMENT,N.NgZone,N.PLATFORM_ID]},{provide:me,useClass:cn,multi:!0,deps:[p.DOCUMENT]},{provide:z,useClass:z,deps:[J,ge,N.APP_ID]},{provide:N.RendererFactory2,useExisting:z},{provide:ne,useExisting:ge},{provide:ge,useClass:ge,deps:[p.DOCUMENT]},{provide:N.Testability,useClass:N.Testability,deps:[N.NgZone]},{provide:J,useClass:J,deps:[me,N.NgZone]},{provide:p.XhrFactory,useClass:Ke,deps:[]}];let kt=(()=>{class O{constructor(A){if(A)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(A){return{ngModule:O,providers:[{provide:N.APP_ID,useValue:A.appId},{provide:de,useExisting:N.APP_ID},fe]}}}return O.\u0275fac=function(A){return new(A||O)(N.\u0275\u0275inject(O,12))},O.\u0275mod=N.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=N.\u0275\u0275defineInjector({providers:Jn,imports:[p.CommonModule,N.ApplicationModule]}),O})(),Kn=(()=>{class O{constructor(A){this._doc=A,this._dom=(0,p.\u0275getDOM)()}addTag(A,R=!1){return A?this._getOrCreateElement(A,R):null}addTags(A,R=!1){return A?A.reduce((te,be)=>(be&&te.push(this._getOrCreateElement(be,R)),te),[]):[]}getTag(A){return A&&this._doc.querySelector(`meta[${A}]`)||null}getTags(A){if(!A)return[];const R=this._doc.querySelectorAll(`meta[${A}]`);return R?[].slice.call(R):[]}updateTag(A,R){if(!A)return null;R=R||this._parseSelector(A);const te=this.getTag(R);return te?this._setMetaElementAttributes(A,te):this._getOrCreateElement(A,!0)}removeTag(A){this.removeTagElement(this.getTag(A))}removeTagElement(A){A&&this._dom.remove(A)}_getOrCreateElement(A,R=!1){if(!R){const Qe=this._parseSelector(A),Mt=this.getTags(Qe).filter(Tt=>this._containsAttributes(A,Tt))[0];if(void 0!==Mt)return Mt}const te=this._dom.createElement("meta");return this._setMetaElementAttributes(A,te),this._doc.getElementsByTagName("head")[0].appendChild(te),te}_setMetaElementAttributes(A,R){return Object.keys(A).forEach(te=>R.setAttribute(this._getMetaKeyMap(te),A[te])),R}_parseSelector(A){const R=A.name?"name":"property";return`${R}="${A[R]}"`}_containsAttributes(A,R){return Object.keys(A).every(te=>R.getAttribute(this._getMetaKeyMap(te))===A[te])}_getMetaKeyMap(A){return di[A]||A}}return O.\u0275fac=function(A){return new(A||O)(N.\u0275\u0275inject(p.DOCUMENT))},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:function(A){let R=null;return R=A?new A:new Kn((0,N.\u0275\u0275inject)(p.DOCUMENT)),R},providedIn:"root"}),O})();const di={httpEquiv:"http-equiv"};let qn=(()=>{class O{constructor(A){this._doc=A}getTitle(){return this._doc.title}setTitle(A){this._doc.title=A||""}}return O.\u0275fac=function(A){return new(A||O)(N.\u0275\u0275inject(p.DOCUMENT))},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:function(A){let R=null;return R=A?new A:new qn((0,N.\u0275\u0275inject)(p.DOCUMENT)),R},providedIn:"root"}),O})();function nt(O,x){"undefined"!=typeof COMPILED&&COMPILED||((N.\u0275global.ng=N.\u0275global.ng||{})[O]=x)}const jt="undefined"!=typeof window&&window||{};class Ye{constructor(x,A){this.msPerTick=x,this.numTicks=A}}class xe{constructor(x){this.appRef=x.injector.get(N.ApplicationRef)}timeChangeDetection(x){const A=x&&x.record,R="Change Detection",te=null!=jt.console.profile;A&&te&&jt.console.profile(R);const be=Te();let Qe=0;for(;Qe<5||Te()-be<500;)this.appRef.tick(),Qe++;const Mt=Te();A&&te&&jt.console.profileEnd(R);const Tt=(Mt-be)/Qe;return jt.console.log(`ran ${Qe} change detection cycles`),jt.console.log(`${Tt.toFixed(2)} ms per check`),new Ye(Tt,Qe)}}function Te(){return jt.performance&&jt.performance.now?jt.performance.now():(new Date).getTime()}const Rr="profiler";function Tn(O){return nt(Rr,new xe(O)),O}function Ht(){nt(Rr,null)}function Fn(O){const x={"&":"&a;",'"':"&q;","'":"&s;","<":"&l;",">":"&g;"};return O.replace(/[&"'<>]/g,A=>x[A])}function fi(O){return O}let mt=(()=>{class O{constructor(){this.store={},this.onSerializeCallbacks={}}static init(A){const R=new O;return R.store=A,R}get(A,R){return void 0!==this.store[A]?this.store[A]:R}set(A,R){this.store[A]=R}remove(A){delete this.store[A]}hasKey(A){return this.store.hasOwnProperty(A)}onSerialize(A,R){this.onSerializeCallbacks[A]=R}toJson(){for(const A in this.onSerializeCallbacks)if(this.onSerializeCallbacks.hasOwnProperty(A))try{this.store[A]=this.onSerializeCallbacks[A]()}catch(R){console.warn("Exception in onSerialize callback: ",R)}return JSON.stringify(this.store)}}return O.\u0275fac=function(A){return new(A||O)},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})();function er(O,x){const A=O.getElementById(x+"-state");let R={};if(A&&A.textContent)try{R=JSON.parse(function(O){const x={"&a;":"&","&q;":'"',"&s;":"'","&l;":"<","&g;":">"};return O.replace(/&[^;]+;/g,A=>x[A])}(A.textContent))}catch(te){console.warn("Exception while restoring TransferState for app "+x,te)}return mt.init(R)}let ct=(()=>{class O{}return O.\u0275fac=function(A){return new(A||O)},O.\u0275mod=N.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=N.\u0275\u0275defineInjector({providers:[{provide:mt,useFactory:er,deps:[p.DOCUMENT,N.APP_ID]}]}),O})();class hr{static all(){return()=>!0}static css(x){return A=>null!=A.nativeElement&&function(O,x){return!!(0,p.\u0275getDOM)().isElementNode(O)&&(O.matches&&O.matches(x)||O.msMatchesSelector&&O.msMatchesSelector(x)||O.webkitMatchesSelector&&O.webkitMatchesSelector(x))}(A.nativeElement,x)}static directive(x){return A=>-1!==A.providerTokens.indexOf(x)}}const Ve={pan:!0,panstart:!0,panmove:!0,panend:!0,pancancel:!0,panleft:!0,panright:!0,panup:!0,pandown:!0,pinch:!0,pinchstart:!0,pinchmove:!0,pinchend:!0,pinchcancel:!0,pinchin:!0,pinchout:!0,press:!0,pressup:!0,rotate:!0,rotatestart:!0,rotatemove:!0,rotateend:!0,rotatecancel:!0,swipe:!0,swipeleft:!0,swiperight:!0,swipeup:!0,swipedown:!0,tap:!0,doubletap:!0},mn=new N.InjectionToken("HammerGestureConfig"),pr=new N.InjectionToken("HammerLoader");let nn=(()=>{class O{constructor(){this.events=[],this.overrides={}}buildHammer(A){const R=new Hammer(A,this.options);R.get("pinch").set({enable:!0}),R.get("rotate").set({enable:!0});for(const te in this.overrides)R.get(te).set(this.overrides[te]);return R}}return O.\u0275fac=function(A){return new(A||O)},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),Nn=(()=>{class O extends oe{constructor(A,R,te,be){super(A),this._config=R,this.console=te,this.loader=be,this._loaderPromise=null}supports(A){return!(!Ve.hasOwnProperty(A.toLowerCase())&&!this.isCustomEvent(A)||!window.Hammer&&!this.loader)}addEventListener(A,R,te){const be=this.manager.getZone();if(R=R.toLowerCase(),!window.Hammer&&this.loader){this._loaderPromise=this._loaderPromise||this.loader();let Qe=!1,Mt=()=>{Qe=!0};return this._loaderPromise.then(()=>{window.Hammer?Qe||(Mt=this.addEventListener(A,R,te)):Mt=()=>{}}).catch(()=>{Mt=()=>{}}),()=>{Mt()}}return be.runOutsideAngular(()=>{const Qe=this._config.buildHammer(A),Mt=function(Tt){be.runGuarded(function(){te(Tt)})};return Qe.on(R,Mt),()=>{Qe.off(R,Mt),"function"==typeof Qe.destroy&&Qe.destroy()}})}isCustomEvent(A){return this._config.events.indexOf(A)>-1}}return O.\u0275fac=function(A){return new(A||O)(N.\u0275\u0275inject(p.DOCUMENT),N.\u0275\u0275inject(mn),N.\u0275\u0275inject(N.\u0275Console),N.\u0275\u0275inject(pr,8))},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:O.\u0275fac}),O})(),jn=(()=>{class O{}return O.\u0275fac=function(A){return new(A||O)},O.\u0275mod=N.\u0275\u0275defineNgModule({type:O}),O.\u0275inj=N.\u0275\u0275defineInjector({providers:[{provide:me,useClass:Nn,multi:!0,deps:[p.DOCUMENT,mn,N.\u0275Console,[new N.Optional,pr]]},{provide:mn,useClass:nn,deps:[]}]}),O})(),Ut=(()=>{class O{}return O.\u0275fac=function(A){return new(A||O)},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:function(A){let R=null;return R=A?new(A||O):N.\u0275\u0275inject(Pt),R},providedIn:"root"}),O})(),Pt=(()=>{class O extends Ut{constructor(A){super(),this._doc=A}sanitize(A,R){if(null==R)return null;switch(A){case N.SecurityContext.NONE:return R;case N.SecurityContext.HTML:return(0,N.\u0275allowSanitizationBypassAndThrow)(R,"HTML")?(0,N.\u0275unwrapSafeValue)(R):(0,N.\u0275_sanitizeHtml)(this._doc,String(R)).toString();case N.SecurityContext.STYLE:return(0,N.\u0275allowSanitizationBypassAndThrow)(R,"Style")?(0,N.\u0275unwrapSafeValue)(R):R;case N.SecurityContext.SCRIPT:if((0,N.\u0275allowSanitizationBypassAndThrow)(R,"Script"))return(0,N.\u0275unwrapSafeValue)(R);throw new Error("unsafe value used in a script context");case N.SecurityContext.URL:return(0,N.\u0275getSanitizationBypassType)(R),(0,N.\u0275allowSanitizationBypassAndThrow)(R,"URL")?(0,N.\u0275unwrapSafeValue)(R):(0,N.\u0275_sanitizeUrl)(String(R));case N.SecurityContext.RESOURCE_URL:if((0,N.\u0275allowSanitizationBypassAndThrow)(R,"ResourceURL"))return(0,N.\u0275unwrapSafeValue)(R);throw new Error("unsafe value used in a resource URL context (see https://g.co/ng/security#xss)");default:throw new Error(`Unexpected SecurityContext ${A} (see https://g.co/ng/security#xss)`)}}bypassSecurityTrustHtml(A){return(0,N.\u0275bypassSanitizationTrustHtml)(A)}bypassSecurityTrustStyle(A){return(0,N.\u0275bypassSanitizationTrustStyle)(A)}bypassSecurityTrustScript(A){return(0,N.\u0275bypassSanitizationTrustScript)(A)}bypassSecurityTrustUrl(A){return(0,N.\u0275bypassSanitizationTrustUrl)(A)}bypassSecurityTrustResourceUrl(A){return(0,N.\u0275bypassSanitizationTrustResourceUrl)(A)}}return O.\u0275fac=function(A){return new(A||O)(N.\u0275\u0275inject(p.DOCUMENT))},O.\u0275prov=N.\u0275\u0275defineInjectable({token:O,factory:function(A){let R=null;return R=A?new A:function(O){return new Pt(O.get(p.DOCUMENT))}(N.\u0275\u0275inject(N.Injector)),R},providedIn:"root"}),O})();const tr=new N.Version("13.1.1")}},We=>{We(We.s=835)}]);